diff --git a/5911.84a8d8dc.async.js b/5911.84a8d8dc.async.js new file mode 100644 index 0000000000..56a819e7e3 --- /dev/null +++ b/5911.84a8d8dc.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5911],{85911:function(Tn,Fe,He){He.r(Fe),He.d(Fe,{default:function(){return Yt}});const{entries:ze,setPrototypeOf:Ge,isFrozen:Ot,getPrototypeOf:Dt,getOwnPropertyDescriptor:yt}=Object;let{freeze:g,seal:y,create:me}=Object,{apply:pe,construct:de}=typeof Reflect!="undefined"&&Reflect;g||(g=function(o){return o}),y||(y=function(o){return o}),pe||(pe=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O1?l-1:0),c=1;c1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:te;Ge&&Ge(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Ot(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Mt(s){for(let o=0;o/gm),vt=y(/\$\{[\w\W]*/gm),Ut=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ft=y(/^aria-[\-\w]+$/),Ve=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ht=y(/^(?:\w+script|data):/i),zt=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$e=y(/^html$/i),Gt=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var qe=Object.freeze({__proto__:null,ARIA_ATTR:Ft,ATTR_WHITESPACE:zt,CUSTOM_ELEMENT:Gt,DATA_ATTR:Ut,DOCTYPE_NAME:$e,ERB_EXPR:kt,IS_ALLOWED_URI:Ve,IS_SCRIPT_OR_DATA:Ht,MUSTACHE_EXPR:Pt,TMPLIT_EXPR:vt});const V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Wt=function(){return typeof window=="undefined"?null:window},Bt=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(k){return k},createScriptURL(k){return k}})}catch(k){return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Ke=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ze(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt();const o=i=>Ze(i);if(o.version="3.3.1",o.removed=[],!s||!s.document||s.document.nodeType!==V.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:k,Node:Se,Element:Je,NodeFilter:$,NamedNodeMap:Xt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Vt,trustedTypes:oe}=s,q=Je.prototype,$t=j(q,"cloneNode"),qt=j(q,"remove"),Kt=j(q,"nextSibling"),Zt=j(q,"childNodes"),ie=j(q,"parentNode");if(typeof k=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,K="";const{implementation:Re,createNodeIterator:Jt,createDocumentFragment:Qt,getElementsByTagName:en}=l,{importNode:tn}=a;let R=Ke();o.isSupported=typeof ze=="function"&&typeof ie=="function"&&Re&&Re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Oe,ERB_EXPR:De,TMPLIT_EXPR:ye,DATA_ATTR:nn,ARIA_ATTR:on,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Qe,CUSTOM_ELEMENT:rn}=qe;let{IS_ALLOWED_URI:et}=qe,d=null;const tt=r({},[...Be,..._e,...ge,...he,...Ye]);let T=null;const nt=r({},[...Xe,...Ae,...je,...ne]);let u=Object.seal(me(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,be=null;const v=Object.seal(me(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ot=!0,Le=!0,it=!1,at=!0,U=!1,ae=!0,x=!1,Ne=!1,Ce=!1,F=!1,re=!1,se=!1,rt=!0,st=!1;const sn="user-content-";let Ie=!0,J=!1,H={},N=null;const Me=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const ct=r({},["audio","video","img","source","image","track"]);let we=null;const ft=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),le="http://www.w3.org/1998/Math/MathML",ce="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let z=I,xe=!1,Pe=null;const ln=r({},[le,ce,I],Te);let fe=r({},["mi","mo","mn","ms","mtext"]),ue=r({},["annotation-xml"]);const cn=r({},["title","style","font","a","script"]);let Q=null;const fn=["application/xhtml+xml","text/html"],un="text/html";let p=null,G=null;const mn=l.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},ke=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=L(e),Q=fn.indexOf(e.PARSER_MEDIA_TYPE)===-1?un:e.PARSER_MEDIA_TYPE,p=Q==="application/xhtml+xml"?Te:te,d=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):tt,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):nt,Pe=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Te):ln,we=b(e,"ADD_URI_SAFE_ATTR")?r(L(ft),e.ADD_URI_SAFE_ATTR,p):ft,lt=b(e,"ADD_DATA_URI_TAGS")?r(L(ct),e.ADD_DATA_URI_TAGS,p):ct,N=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Me,Z=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):L({}),be=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):L({}),H=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,ot=e.ALLOW_ARIA_ATTR!==!1,Le=e.ALLOW_DATA_ATTR!==!1,it=e.ALLOW_UNKNOWN_PROTOCOLS||!1,at=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,ae=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,se=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,rt=e.SANITIZE_DOM!==!1,st=e.SANITIZE_NAMED_PROPS||!1,Ie=e.KEEP_CONTENT!==!1,J=e.IN_PLACE||!1,et=e.ALLOWED_URI_REGEXP||Ve,z=e.NAMESPACE||I,fe=e.MATHML_TEXT_INTEGRATION_POINTS||fe,ue=e.HTML_INTEGRATION_POINTS||ue,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(Le=!1),re&&(F=!0),H&&(d=r({},Ye),T=[],H.html===!0&&(r(d,Be),r(T,Xe)),H.svg===!0&&(r(d,_e),r(T,Ae),r(T,ne)),H.svgFilters===!0&&(r(d,ge),r(T,Ae),r(T,ne)),H.mathMl===!0&&(r(d,he),r(T,je),r(T,ne))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(d===tt&&(d=L(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===nt&&(T=L(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(we,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.ADD_FORBID_CONTENTS,p)),Ie&&(d["#text"]=!0),x&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,K=S.createHTML("")}else S===void 0&&(S=Bt(oe,c)),S!==null&&typeof K=="string"&&(K=S.createHTML(""));g&&g(e),G=e}},mt=r({},[..._e,...ge,...wt]),pt=r({},[...he,...xt]),pn=function(e){let t=ie(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=te(e.tagName),f=te(t.tagName);return Pe[e.namespaceURI]?e.namespaceURI===ce?t.namespaceURI===I?n==="svg":t.namespaceURI===le?n==="svg"&&(f==="annotation-xml"||fe[f]):!!mt[n]:e.namespaceURI===le?t.namespaceURI===I?n==="math":t.namespaceURI===ce?n==="math"&&ue[f]:!!pt[n]:e.namespaceURI===I?t.namespaceURI===ce&&!ue[f]||t.namespaceURI===le&&!fe[f]?!1:!pt[n]&&(cn[n]||!mt[n]):!!(Q==="application/xhtml+xml"&&Pe[e.namespaceURI]):!1},C=function(e){B(o.removed,{element:e});try{ie(e).removeChild(e)}catch(t){qt(e)}},P=function(e,t){try{B(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){B(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||re)try{C(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},dt=function(e){let t=null,n=null;if(Ce)e=""+e;else{const m=Ee(e,/^[\r\n\t ]+/);n=m&&m[0]}Q==="application/xhtml+xml"&&z===I&&(e=''+e+"");const f=S?S.createHTML(e):e;if(z===I)try{t=new Vt().parseFromString(f,Q)}catch(m){}if(!t||!t.documentElement){t=Re.createDocument(z,"template",null);try{t.documentElement.innerHTML=xe?K:f}catch(m){}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===I?en.call(t,x?"html":"body")[0]:x?t.documentElement:_},Tt=function(e){return Jt.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ve=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Xt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Et=function(e){return typeof Se=="function"&&e instanceof Se};function M(i,e,t){ee(i,n=>{n.call(o,e,t,G)})}const _t=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),ve(e))return C(e),!0;const n=p(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:d}),ae&&e.hasChildNodes()&&!Et(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===V.progressingInstruction||ae&&e.nodeType===V.comment&&h(/<[/\w]/g,e.data))return C(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!d[n]||Z[n])){if(!Z[n]&&ht(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ie&&!N[n]){const f=ie(e)||e.parentNode,_=Zt(e)||e.childNodes;if(_&&f){const m=_.length;for(let D=m-1;D>=0;--D){const w=$t(_[D],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Kt(e))}}}return C(e),!0}return e instanceof Je&&!pn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(C(e),!0):(U&&e.nodeType===V.text&&(t=e.textContent,ee([Oe,De,ye],f=>{t=Y(t,f," ")}),e.textContent!==t&&(B(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},gt=function(e,t,n){if(rt&&(t==="id"||t==="name")&&(n in l||n in mn))return!1;if(!(Le&&!be[t]&&h(nn,t))){if(!(ot&&h(on,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if(!T[t]||be[t]){if(!(ht(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!we[t]){if(!h(et,Y(n,Qe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(n,"data:")===0&<[e])){if(!(it&&!h(an,Y(n,Qe,"")))){if(n)return!1}}}}}}}return!0},ht=function(e){return e!=="annotation-xml"&&Ee(e,rn)},At=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ve(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:D,value:w}=_,W=p(m),Ue=w;let E=m==="value"?Ue:Ct(Ue);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,st&&(W==="id"||W==="name")&&(P(m,e),E=sn+E),ae&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){P(m,e);continue}if(W==="attributename"&&Ee(E,"href")){P(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){P(m,e);continue}if(!at&&h(/\/>/i,E)){P(m,e);continue}U&&ee([Oe,De,ye],Rt=>{E=Y(E,Rt," ")});const St=p(e.nodeName);if(!gt(St,W,E)){P(m,e);continue}if(S&&typeof oe=="object"&&typeof oe.getAttributeType=="function"&&!D)switch(oe.getAttributeType(St,W)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==Ue)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),ve(e)?C(e):We(o.removed)}catch(Rt){P(m,e)}}M(R.afterSanitizeAttributes,e,null)},dn=function i(e){let t=null;const n=Tt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),_t(t),At(t),t.content instanceof O&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(xe=!i,xe&&(i=""),typeof i!="string"&&!Et(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw X("dirty is not a string, aborting")}else throw X("toString is not a function");if(!o.isSupported)return i;if(Ne||ke(e),o.removed=[],typeof i=="string"&&(J=!1),J){if(i.nodeName){const w=p(i.nodeName);if(!d[w]||Z[w])throw X("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Se)t=dt(""),n=t.ownerDocument.importNode(i,!0),n.nodeType===V.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!x&&i.indexOf("<")===-1)return S&&se?S.createHTML(i):i;if(t=dt(i),!t)return F?null:se?K:""}t&&Ce&&C(t.firstChild);const m=Tt(J?i:t);for(;f=m.nextNode();)_t(f),At(f),f.content instanceof O&&dn(f.content);if(J)return i;if(F){if(re)for(_=Qt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=tn.call(a,_,!0)),_}let D=x?t.outerHTML:t.innerHTML;return x&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h($e,t.ownerDocument.doctype.name)&&(D=" +`+D),U&&ee([Oe,De,ye],w=>{D=Y(D,w," ")}),S&&se?S.createHTML(D):D},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ke(i),Ne=!0},o.clearConfig=function(){G=null,Ne=!1},o.isValidAttribute=function(i,e,t){G||ke({});const n=p(i),f=p(e);return gt(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&B(R[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=bt(R[i],e);return t===-1?void 0:Lt(R[i],t,1)[0]}return We(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R=Ke()},o}var Yt=Ze()}}]); diff --git a/7573.97f85034.async.js b/7573.97f85034.async.js deleted file mode 100644 index ecde49b8eb..0000000000 --- a/7573.97f85034.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7573],{7573:function(Tn,Ue,Fe){Fe.r(Ue),Fe.d(Ue,{default:function(){return Yt}});const{entries:He,setPrototypeOf:ze,isFrozen:Ot,getPrototypeOf:yt,getOwnPropertyDescriptor:bt}=Object;let{freeze:g,seal:b,create:me}=Object,{apply:pe,construct:de}=typeof Reflect!="undefined"&&Reflect;g||(g=function(o){return o}),b||(b=function(o){return o}),pe||(pe=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O1?l-1:0),c=1;c1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:te;ze&&ze(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Ot(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Mt(s){for(let o=0;o/gm),vt=b(/\$\{[\w\W]*/gm),Ut=b(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ft=b(/^aria-[\-\w]+$/),je=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ht=b(/^(?:\w+script|data):/i),zt=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ve=b(/^html$/i),Gt=b(/^[a-z][.\w]*(-[.\w]+)+$/i);var $e=Object.freeze({__proto__:null,ARIA_ATTR:Ft,ATTR_WHITESPACE:zt,CUSTOM_ELEMENT:Gt,DATA_ATTR:Ut,DOCTYPE_NAME:Ve,ERB_EXPR:kt,IS_ALLOWED_URI:je,IS_SCRIPT_OR_DATA:Ht,MUSTACHE_EXPR:Pt,TMPLIT_EXPR:vt});const V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Wt=function(){return typeof window=="undefined"?null:window},Bt=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(P){return P},createScriptURL(P){return P}})}catch(P){return console.warn("TrustedTypes policy "+O+" could not be created."),null}},qe=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ke(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt();const o=i=>Ke(i);if(o.version="3.3.0",o.removed=[],!s||!s.document||s.document.nodeType!==V.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:P,Node:Se,Element:Ze,NodeFilter:$,NamedNodeMap:Xt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Vt,trustedTypes:oe}=s,q=Ze.prototype,$t=j(q,"cloneNode"),qt=j(q,"remove"),Kt=j(q,"nextSibling"),Zt=j(q,"childNodes"),ie=j(q,"parentNode");if(typeof P=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,K="";const{implementation:Re,createNodeIterator:Jt,createDocumentFragment:Qt,getElementsByTagName:en}=l,{importNode:tn}=a;let R=qe();o.isSupported=typeof He=="function"&&typeof ie=="function"&&Re&&Re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Oe,ERB_EXPR:ye,TMPLIT_EXPR:be,DATA_ATTR:nn,ARIA_ATTR:on,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Je,CUSTOM_ELEMENT:rn}=$e;let{IS_ALLOWED_URI:Qe}=$e,p=null;const et=r({},[...We,..._e,...ge,...he,...Be]);let T=null;const tt=r({},[...Ye,...Ae,...Xe,...ne]);let u=Object.seal(me(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,Le=null;const k=Object.seal(me(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let nt=!0,De=!0,ot=!1,it=!0,v=!1,ae=!0,w=!1,Ne=!1,Ce=!1,U=!1,re=!1,se=!1,at=!0,rt=!1;const sn="user-content-";let Ie=!0,J=!1,F={},H=null;const st=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const ct=r({},["audio","video","img","source","image","track"]);let Me=null;const ft=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),le="http://www.w3.org/1998/Math/MathML",ce="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let z=C,we=!1,xe=null;const ln=r({},[le,ce,C],Te);let fe=r({},["mi","mo","mn","ms","mtext"]),ue=r({},["annotation-xml"]);const cn=r({},["title","style","font","a","script"]);let Q=null;const fn=["application/xhtml+xml","text/html"],un="text/html";let d=null,G=null;const mn=l.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=N(e),Q=fn.indexOf(e.PARSER_MEDIA_TYPE)===-1?un:e.PARSER_MEDIA_TYPE,d=Q==="application/xhtml+xml"?Te:te,p=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,d):et,T=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,d):tt,xe=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Te):ln,Me=L(e,"ADD_URI_SAFE_ATTR")?r(N(ft),e.ADD_URI_SAFE_ATTR,d):ft,lt=L(e,"ADD_DATA_URI_TAGS")?r(N(ct),e.ADD_DATA_URI_TAGS,d):ct,H=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,d):st,Z=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,d):N({}),Le=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,d):N({}),F=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,nt=e.ALLOW_ARIA_ATTR!==!1,De=e.ALLOW_DATA_ATTR!==!1,ot=e.ALLOW_UNKNOWN_PROTOCOLS||!1,it=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,v=e.SAFE_FOR_TEMPLATES||!1,ae=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,se=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,at=e.SANITIZE_DOM!==!1,rt=e.SANITIZE_NAMED_PROPS||!1,Ie=e.KEEP_CONTENT!==!1,J=e.IN_PLACE||!1,Qe=e.ALLOWED_URI_REGEXP||je,z=e.NAMESPACE||C,fe=e.MATHML_TEXT_INTEGRATION_POINTS||fe,ue=e.HTML_INTEGRATION_POINTS||ue,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),v&&(De=!1),re&&(U=!0),F&&(p=r({},Be),T=[],F.html===!0&&(r(p,We),r(T,Ye)),F.svg===!0&&(r(p,_e),r(T,Ae),r(T,ne)),F.svgFilters===!0&&(r(p,ge),r(T,Ae),r(T,ne)),F.mathMl===!0&&(r(p,he),r(T,Xe),r(T,ne))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(p===et&&(p=N(p)),r(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(T===tt&&(T=N(T)),r(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&r(Me,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===st&&(H=N(H)),r(H,e.FORBID_CONTENTS,d)),Ie&&(p["#text"]=!0),w&&r(p,["html","head","body"]),p.table&&(r(p,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,K=S.createHTML("")}else S===void 0&&(S=Bt(oe,c)),S!==null&&typeof K=="string"&&(K=S.createHTML(""));g&&g(e),G=e}},mt=r({},[..._e,...ge,...wt]),pt=r({},[...he,...xt]),pn=function(e){let t=ie(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=te(e.tagName),f=te(t.tagName);return xe[e.namespaceURI]?e.namespaceURI===ce?t.namespaceURI===C?n==="svg":t.namespaceURI===le?n==="svg"&&(f==="annotation-xml"||fe[f]):!!mt[n]:e.namespaceURI===le?t.namespaceURI===C?n==="math":t.namespaceURI===ce?n==="math"&&ue[f]:!!pt[n]:e.namespaceURI===C?t.namespaceURI===ce&&!ue[f]||t.namespaceURI===le&&!fe[f]?!1:!pt[n]&&(cn[n]||!mt[n]):!!(Q==="application/xhtml+xml"&&xe[e.namespaceURI]):!1},D=function(e){B(o.removed,{element:e});try{ie(e).removeChild(e)}catch(t){qt(e)}},x=function(e,t){try{B(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){B(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||re)try{D(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},dt=function(e){let t=null,n=null;if(Ce)e=""+e;else{const m=Ee(e,/^[\r\n\t ]+/);n=m&&m[0]}Q==="application/xhtml+xml"&&z===C&&(e=''+e+"");const f=S?S.createHTML(e):e;if(z===C)try{t=new Vt().parseFromString(f,Q)}catch(m){}if(!t||!t.documentElement){t=Re.createDocument(z,"template",null);try{t.documentElement.innerHTML=we?K:f}catch(m){}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===C?en.call(t,w?"html":"body")[0]:w?t.documentElement:_},Tt=function(e){return Jt.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ke=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Xt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Et=function(e){return typeof Se=="function"&&e instanceof Se};function I(i,e,t){ee(i,n=>{n.call(o,e,t,G)})}const _t=function(e){let t=null;if(I(R.beforeSanitizeElements,e,null),ke(e))return D(e),!0;const n=d(e.nodeName);if(I(R.uponSanitizeElement,e,{tagName:n,allowedTags:p}),ae&&e.hasChildNodes()&&!Et(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===V.progressingInstruction||ae&&e.nodeType===V.comment&&h(/<[/\w]/g,e.data))return D(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(n))&&(!p[n]||Z[n])){if(!Z[n]&&ht(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ie&&!H[n]){const f=ie(e)||e.parentNode,_=Zt(e)||e.childNodes;if(_&&f){const m=_.length;for(let y=m-1;y>=0;--y){const M=$t(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,f.insertBefore(M,Kt(e))}}}return D(e),!0}return e instanceof Ze&&!pn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(v&&e.nodeType===V.text&&(t=e.textContent,ee([Oe,ye,be],f=>{t=Y(t,f," ")}),e.textContent!==t&&(B(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(R.afterSanitizeElements,e,null),!1)},gt=function(e,t,n){if(at&&(t==="id"||t==="name")&&(n in l||n in mn))return!1;if(!(De&&!Le[t]&&h(nn,t))){if(!(nt&&h(on,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!T[t]||Le[t]){if(!(ht(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Me[t]){if(!h(Qe,Y(n,Je,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(n,"data:")===0&<[e])){if(!(ot&&!h(an,Y(n,Je,"")))){if(n)return!1}}}}}}}return!0},ht=function(e){return e!=="annotation-xml"&&Ee(e,rn)},At=function(e){I(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ke(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:y,value:M}=_,W=d(m),ve=M;let E=m==="value"?ve:Ct(ve);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(R.uponSanitizeAttribute,e,n),E=n.attrValue,rt&&(W==="id"||W==="name")&&(x(m,e),E=sn+E),ae&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Ee(E,"href")){x(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(m,e);continue}if(!it&&h(/\/>/i,E)){x(m,e);continue}v&&ee([Oe,ye,be],Rt=>{E=Y(E,Rt," ")});const St=d(e.nodeName);if(!gt(St,W,E)){x(m,e);continue}if(S&&typeof oe=="object"&&typeof oe.getAttributeType=="function"&&!y)switch(oe.getAttributeType(St,W)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==ve)try{y?e.setAttributeNS(y,m,E):e.setAttribute(m,E),ke(e)?D(e):Ge(o.removed)}catch(Rt){x(m,e)}}I(R.afterSanitizeAttributes,e,null)},dn=function i(e){let t=null;const n=Tt(e);for(I(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(R.uponSanitizeShadowNode,t,null),_t(t),At(t),t.content instanceof O&&i(t.content);I(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(we=!i,we&&(i=""),typeof i!="string"&&!Et(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw X("dirty is not a string, aborting")}else throw X("toString is not a function");if(!o.isSupported)return i;if(Ne||Pe(e),o.removed=[],typeof i=="string"&&(J=!1),J){if(i.nodeName){const M=d(i.nodeName);if(!p[M]||Z[M])throw X("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Se)t=dt(""),n=t.ownerDocument.importNode(i,!0),n.nodeType===V.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!U&&!v&&!w&&i.indexOf("<")===-1)return S&&se?S.createHTML(i):i;if(t=dt(i),!t)return U?null:se?K:""}t&&Ce&&D(t.firstChild);const m=Tt(J?i:t);for(;f=m.nextNode();)_t(f),At(f),f.content instanceof O&&dn(f.content);if(J)return i;if(U){if(re)for(_=Qt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=tn.call(a,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(Ve,t.ownerDocument.doctype.name)&&(y=" -`+y),v&&ee([Oe,ye,be],M=>{y=Y(y,M," ")}),S&&se?S.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Pe(i),Ne=!0},o.clearConfig=function(){G=null,Ne=!1},o.isValidAttribute=function(i,e,t){G||Pe({});const n=d(i),f=d(e);return gt(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&B(R[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=Lt(R[i],e);return t===-1?void 0:Dt(R[i],t,1)[0]}return Ge(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R=qe()},o}var Yt=Ke()}}]); diff --git a/p__Account__Profile__Edit__index.8c386aae.async.js b/p__Account__Profile__Edit__index.7dfe94a7.async.js similarity index 84% rename from p__Account__Profile__Edit__index.8c386aae.async.js rename to p__Account__Profile__Edit__index.7dfe94a7.async.js index bcdaa11f9d..482c006ec1 100644 --- a/p__Account__Profile__Edit__index.8c386aae.async.js +++ b/p__Account__Profile__Edit__index.7dfe94a7.async.js @@ -1,13 +1,13 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[576],{89489:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},59477:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},40001:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},26227:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},49198:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},84105:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},41464:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},18785:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},73331:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},15277:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},52671:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},8657:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},56082:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},33853:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},15075:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},62772:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},43531:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},61485:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},47472:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},65030:function(an,_e,t){t.d(_e,{Z:function(){return G}});var e=t(33885),d=t(42978),i=t(75931),L=t(43403),x=t(92310),D=t.n(x),E=t(29301),Z=t(76846),K=t(96452),r=t(6089),_=t(80402),M=t(34280),P=t(49658),pe=t(59301),it=t(54476),Fe=t(77900),Pe=t(8654);function Ye(R){var V=R.prefixCls,g=R.align,fe=R.arrow,z=R.arrowPos,o=fe||{},f=o.className,se=o.content,q=z.x,$=q===void 0?0:q,N=z.y,U=N===void 0?0:N,ue=pe.useRef();if(!g||!g.points)return null;var c={position:"absolute"};if(g.autoArrow!==!1){var C=g.points[0],Xe=g.points[1],X=C[0],Le=C[1],Ke=Xe[0],nt=Xe[1];X===Ke||!["t","b"].includes(X)?c.top=U:X==="t"?c.top=0:c.bottom=0,Le===nt||!["l","r"].includes(Le)?c.left=$:Le==="l"?c.left=0:c.right=0}return pe.createElement("div",{ref:ue,className:D()("".concat(V,"-arrow"),f),style:c},se)}function b(R){var V=R.prefixCls,g=R.open,fe=R.zIndex,z=R.mask,o=R.motion;return z?pe.createElement(Fe.default,(0,it.Z)({},o,{motionAppear:!0,visible:g,removeOnLeave:!0}),function(f){var se=f.className;return pe.createElement("div",{style:{zIndex:fe},className:D()("".concat(V,"-mask"),se)})}):null}var Ce=pe.memo(function(R){var V=R.children;return V},function(R,V){return V.cache}),s=Ce,p=pe.forwardRef(function(R,V){var g=R.popup,fe=R.className,z=R.prefixCls,o=R.style,f=R.target,se=R.onVisibleChanged,q=R.open,$=R.keepDom,N=R.fresh,U=R.onClick,ue=R.mask,c=R.arrow,C=R.arrowPos,Xe=R.align,X=R.motion,Le=R.maskMotion,Ke=R.forceRender,nt=R.getPopupContainer,lt=R.autoDestroy,et=R.portal,w=R.zIndex,ge=R.onMouseEnter,Ze=R.onMouseLeave,Ve=R.onPointerEnter,ot=R.onPointerDownCapture,Tt=R.ready,ct=R.offsetX,dt=R.offsetY,Rt=R.offsetR,Vt=R.offsetB,Ht=R.onAlign,Xt=R.onPrepare,wt=R.stretch,Ut=R.targetWidth,yt=R.targetHeight,Bt=typeof g=="function"?g():g,Pt=q||$,kt=(nt==null?void 0:nt.length)>0,Wt=pe.useState(!nt||!kt),pt=(0,d.Z)(Wt,2),Lt=pt[0],ln=pt[1];if((0,M.Z)(function(){!Lt&&kt&&f&&ln(!0)},[Lt,kt,f]),!Lt)return null;var rn="auto",xn={left:"-1000vw",top:"-1000vh",right:rn,bottom:rn};if(Tt||!q){var Dn,Mn=Xe.points,tn=Xe.dynamicInset||((Dn=Xe._experimental)===null||Dn===void 0?void 0:Dn.dynamicInset),Nn=tn&&Mn[0][1]==="r",Pn=tn&&Mn[0][0]==="b";Nn?(xn.right=Rt,xn.left=rn):(xn.left=ct,xn.right=rn),Pn?(xn.bottom=Vt,xn.top=rn):(xn.top=dt,xn.bottom=rn)}var bn={};return wt&&(wt.includes("height")&&yt?bn.height=yt:wt.includes("minHeight")&&yt&&(bn.minHeight=yt),wt.includes("width")&&Ut?bn.width=Ut:wt.includes("minWidth")&&Ut&&(bn.minWidth=Ut)),q||(bn.pointerEvents="none"),pe.createElement(et,{open:Ke||Pt,getContainer:nt&&function(){return nt(f)},autoDestroy:lt},pe.createElement(b,{prefixCls:z,open:q,zIndex:w,mask:ue,motion:Le}),pe.createElement(E.Z,{onResize:Ht,disabled:!q},function(Fn){return pe.createElement(Fe.default,(0,it.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ke,leavedClassName:"".concat(z,"-hidden")},X,{onAppearPrepare:Xt,onEnterPrepare:Xt,visible:q,onVisibleChanged:function(Jn){var Be;X==null||(Be=X.onVisibleChanged)===null||Be===void 0||Be.call(X,Jn),se(Jn)}}),function(_n,Jn){var Be=_n.className,Ie=_n.style,I=D()(z,Be,fe);return pe.createElement("div",{ref:(0,Pe.sQ)(Fn,V,Jn),className:I,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(C.x||0,"px"),"--arrow-y":"".concat(C.y||0,"px")},xn),bn),Ie),{},{boxSizing:"border-box",zIndex:w},o),onMouseEnter:ge,onMouseLeave:Ze,onPointerEnter:Ve,onClick:U,onPointerDownCapture:ot},c&&pe.createElement(Ye,{prefixCls:z,arrow:c,arrowPos:C,align:Xe}),pe.createElement(s,{cache:!q&&!N},Bt))})}))}),ae=p,le=pe.forwardRef(function(R,V){var g=R.children,fe=R.getTriggerDOMNode,z=(0,Pe.Yr)(g),o=pe.useCallback(function(se){(0,Pe.mH)(V,fe?fe(se):se)},[fe]),f=(0,Pe.x1)(o,(0,Pe.C4)(g));return z?pe.cloneElement(g,{ref:f}):g}),y=le,He=pe.createContext(null),Oe=He;function ne(R){return R?Array.isArray(R)?R:[R]:[]}function Re(R,V,g,fe){return pe.useMemo(function(){var z=ne(g!=null?g:V),o=ne(fe!=null?fe:V),f=new Set(z),se=new Set(o);return R&&(f.has("hover")&&(f.delete("hover"),f.add("click")),se.has("hover")&&(se.delete("hover"),se.add("click"))),[f,se]},[R,V,g,fe])}var de=t(29194);function H(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=arguments.length>2?arguments[2]:void 0;return g?R[0]===V[0]:R[0]===V[0]&&R[1]===V[1]}function n(R,V,g,fe){for(var z=g.points,o=Object.keys(R),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(R)?V:R}function We(R){return xe(parseFloat(R),0)}function st(R,V){var g=(0,e.Z)({},R);return(V||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var z=T(fe).getComputedStyle(fe),o=z.overflow,f=z.overflowClipMargin,se=z.borderTopWidth,q=z.borderBottomWidth,$=z.borderLeftWidth,N=z.borderRightWidth,U=fe.getBoundingClientRect(),ue=fe.offsetHeight,c=fe.clientHeight,C=fe.offsetWidth,Xe=fe.clientWidth,X=We(se),Le=We(q),Ke=We($),nt=We(N),lt=xe(Math.round(U.width/C*1e3)/1e3),et=xe(Math.round(U.height/ue*1e3)/1e3),w=(C-Xe-Ke-nt)*lt,ge=(ue-c-X-Le)*et,Ze=X*et,Ve=Le*et,ot=Ke*lt,Tt=nt*lt,ct=0,dt=0;if(o==="clip"){var Rt=We(f);ct=Rt*lt,dt=Rt*et}var Vt=U.x+ot-ct,Ht=U.y+Ze-dt,Xt=Vt+U.width+2*ct-ot-Tt-w,wt=Ht+U.height+2*dt-Ze-Ve-ge;g.left=Math.max(g.left,Vt),g.top=Math.max(g.top,Ht),g.right=Math.min(g.right,Xt),g.bottom=Math.min(g.bottom,wt)}}),g}function at(R){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g="".concat(V),fe=g.match(/^(.*)\%$/);return fe?R*(parseFloat(fe[1])/100):parseFloat(g)}function Ae(R,V){var g=V||[],fe=(0,d.Z)(g,2),z=fe[0],o=fe[1];return[at(R.width,z),at(R.height,o)]}function tt(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[R[0],R[1]]}function J(R,V){var g=V[0],fe=V[1],z,o;return g==="t"?o=R.y:g==="b"?o=R.y+R.height:o=R.y+R.height/2,fe==="l"?z=R.x:fe==="r"?z=R.x+R.width:z=R.x+R.width/2,{x:z,y:o}}function Se(R,V){var g={t:"b",b:"t",l:"r",r:"l"};return R.map(function(fe,z){return z===V?g[fe]||"c":fe}).join("")}function me(R,V,g,fe,z,o,f){var se=pe.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:z[fe]||{}}),q=(0,d.Z)(se,2),$=q[0],N=q[1],U=pe.useRef(0),ue=pe.useMemo(function(){return V?ze(V):[]},[V]),c=pe.useRef({}),C=function(){c.current={}};R||C();var Xe=(0,r.Z)(function(){if(V&&g&&R){let Or=function(qr,Vn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,kn=Pt.x+qr,zn=Pt.y+Vn,cr=kn+Pn,pr=zn+Nn,eo=Math.max(kn,sr.left),In=Math.max(zn,sr.top),tr=Math.min(cr,sr.right),Dr=Math.min(pr,sr.bottom);return Math.max(0,(tr-eo)*(Dr-In))},zr=function(){fn=Pt.y+ft,Zt=fn+Nn,Qt=Pt.x+ht,Ft=Qt+Pn};var Ke,nt,lt,et,w=V,ge=w.ownerDocument,Ze=T(w),Ve=Ze.getComputedStyle(w),ot=Ve.position,Tt=w.style.left,ct=w.style.top,dt=w.style.right,Rt=w.style.bottom,Vt=w.style.overflow,Ht=(0,e.Z)((0,e.Z)({},z[fe]),o),Xt=ge.createElement("div");(Ke=w.parentElement)===null||Ke===void 0||Ke.appendChild(Xt),Xt.style.left="".concat(w.offsetLeft,"px"),Xt.style.top="".concat(w.offsetTop,"px"),Xt.style.position=ot,Xt.style.height="".concat(w.offsetHeight,"px"),Xt.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var wt;if(Array.isArray(g))wt={x:g[0],y:g[1],width:0,height:0};else{var Ut,yt,Bt=g.getBoundingClientRect();Bt.x=(Ut=Bt.x)!==null&&Ut!==void 0?Ut:Bt.left,Bt.y=(yt=Bt.y)!==null&&yt!==void 0?yt:Bt.top,wt={x:Bt.x,y:Bt.y,width:Bt.width,height:Bt.height}}var Pt=w.getBoundingClientRect(),kt=Ze.getComputedStyle(w),Wt=kt.height,pt=kt.width;Pt.x=(nt=Pt.x)!==null&&nt!==void 0?nt:Pt.left,Pt.y=(lt=Pt.y)!==null&<!==void 0?lt:Pt.top;var Lt=ge.documentElement,ln=Lt.clientWidth,rn=Lt.clientHeight,xn=Lt.scrollWidth,Dn=Lt.scrollHeight,Mn=Lt.scrollTop,tn=Lt.scrollLeft,Nn=Pt.height,Pn=Pt.width,bn=wt.height,Fn=wt.width,_n={left:0,top:0,right:ln,bottom:rn},Jn={left:-tn,top:-Mn,right:xn-tn,bottom:Dn-Mn},Be=Ht.htmlRegion,Ie="visible",I="visibleFirst";Be!=="scroll"&&Be!==I&&(Be=Ie);var k=Be===I,be=st(Jn,ue),ye=st(_n,ue),m=Be===Ie?ye:be,re=k?ye:m;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var De=w.getBoundingClientRect();w.style.left=Tt,w.style.top=ct,w.style.right=dt,w.style.bottom=Rt,w.style.overflow=Vt,(et=w.parentElement)===null||et===void 0||et.removeChild(Xt);var u=xe(Math.round(Pn/parseFloat(pt)*1e3)/1e3),S=xe(Math.round(Nn/parseFloat(Wt)*1e3)/1e3);if(u===0||S===0||(0,Z.Sh)(g)&&!(0,de.Z)(g))return;var A=Ht.offset,ve=Ht.targetOffset,j=Ae(Pt,A),O=(0,d.Z)(j,2),W=O[0],ee=O[1],oe=Ae(wt,ve),h=(0,d.Z)(oe,2),v=h[0],B=h[1];wt.x-=v,wt.y-=B;var te=Ht.points||[],we=(0,d.Z)(te,2),Ne=we[0],ut=we[1],Ge=tt(ut),Y=tt(Ne),he=J(wt,Ge),Me=J(Pt,Y),ke=(0,e.Z)({},Ht),ht=he.x-Me.x+W,ft=he.y-Me.y+ee,Ct=Or(ht,ft),It=Or(ht,ft,ye),Dt=J(wt,["t","l"]),Mt=J(Pt,["t","l"]),$t=J(wt,["b","r"]),Et=J(Pt,["b","r"]),Jt=Ht.overflow||{},At=Jt.adjustX,sn=Jt.adjustY,Gt=Jt.shiftX,Yt=Jt.shiftY,nn=function(Vn){return typeof Vn=="boolean"?Vn:Vn>=0},fn,Zt,Qt,Ft;zr();var qe=nn(sn),mt=Y[0]===Ge[0];if(qe&&Y[0]==="t"&&(Zt>re.bottom||c.current.bt)){var Kt=ft;mt?Kt-=Nn-bn:Kt=Dt.y-Et.y-ee;var jt=Or(ht,Kt),qt=Or(ht,Kt,ye);jt>Ct||jt===Ct&&(!k||qt>=It)?(c.current.bt=!0,ft=Kt,ee=-ee,ke.points=[Se(Y,0),Se(Ge,0)]):c.current.bt=!1}if(qe&&Y[0]==="b"&&(fnCt||on===Ct&&(!k||en>=It)?(c.current.tb=!0,ft=un,ee=-ee,ke.points=[Se(Y,0),Se(Ge,0)]):c.current.tb=!1}var cn=nn(At),Rn=Y[1]===Ge[1];if(cn&&Y[1]==="l"&&(Ft>re.right||c.current.rl)){var Bn=ht;Rn?Bn-=Pn-Fn:Bn=Dt.x-Et.x-W;var yn=Or(Bn,ft),dn=Or(Bn,ft,ye);yn>Ct||yn===Ct&&(!k||dn>=It)?(c.current.rl=!0,ht=Bn,W=-W,ke.points=[Se(Y,1),Se(Ge,1)]):c.current.rl=!1}if(cn&&Y[1]==="r"&&(QtCt||Xn===Ct&&(!k||ar>=It)?(c.current.lr=!0,ht=Kn,W=-W,ke.points=[Se(Y,1),Se(Ge,1)]):c.current.lr=!1}zr();var $n=Gt===!0?0:Gt;typeof $n=="number"&&(Qtye.right&&(ht-=Ft-ye.right-W,wt.x>ye.right-$n&&(ht+=wt.x-ye.right+$n)));var er=Yt===!0?0:Yt;typeof er=="number"&&(fnye.bottom&&(ft-=Zt-ye.bottom-ee,wt.y>ye.bottom-er&&(ft+=wt.y-ye.bottom+er)));var Wn=Pt.x+ht,Sr=Wn+Pn,Fr=Pt.y+ft,$r=Fr+Nn,Cr=wt.x,vr=Cr+Fn,En=wt.y,Hn=En+bn,lr=Math.max(Wn,Cr),fr=Math.min(Sr,vr),Gn=(lr+fr)/2,ur=Gn-Wn,yr=Math.max(Fr,En),gr=Math.min($r,Hn),br=(yr+gr)/2,Br=br-Fr;f==null||f(V,ke);var wr=De.right-Pt.x-(ht+Pt.width),Tr=De.bottom-Pt.y-(ft+Pt.height);u===1&&(ht=Math.round(ht),wr=Math.round(wr)),S===1&&(ft=Math.round(ft),Tr=Math.round(Tr));var Qr={ready:!0,offsetX:ht/u,offsetY:ft/S,offsetR:wr/u,offsetB:Tr/S,arrowX:ur/u,arrowY:Br/S,scaleX:u,scaleY:S,align:ke};N(Qr)}}),X=function(){U.current+=1;var nt=U.current;Promise.resolve().then(function(){U.current===nt&&Xe()})},Le=function(){N(function(nt){return(0,e.Z)((0,e.Z)({},nt),{},{ready:!1})})};return(0,M.Z)(Le,[fe]),(0,M.Z)(function(){R||Le()},[R]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,X]}var Qe=t(94480);function ie(R,V,g,fe,z){(0,M.Z)(function(){if(R&&V&&g){let U=function(){fe(),z()};var o=V,f=g,se=ze(o),q=ze(f),$=T(f),N=new Set([$].concat((0,Qe.Z)(se),(0,Qe.Z)(q)));return N.forEach(function(ue){ue.addEventListener("scroll",U,{passive:!0})}),$.addEventListener("resize",U,{passive:!0}),fe(),function(){N.forEach(function(ue){ue.removeEventListener("scroll",U),$.removeEventListener("resize",U)})}}},[R,V,g])}var Je=t(48736);function je(R,V,g,fe,z,o,f,se){var q=pe.useRef(R);q.current=R;var $=pe.useRef(!1);pe.useEffect(function(){if(V&&fe&&(!z||o)){var U=function(){$.current=!1},ue=function(lt){var et;q.current&&!f(((et=lt.composedPath)===null||et===void 0||(et=et.call(lt))===null||et===void 0?void 0:et[0])||lt.target)&&!$.current&&se(!1)},c=T(fe);c.addEventListener("pointerdown",U,!0),c.addEventListener("mousedown",ue,!0),c.addEventListener("contextmenu",ue,!0);var C=(0,K.A)(g);if(C&&(C.addEventListener("mousedown",ue,!0),C.addEventListener("contextmenu",ue,!0)),0)var Xe,X,Le,Ke;return function(){c.removeEventListener("pointerdown",U,!0),c.removeEventListener("mousedown",ue,!0),c.removeEventListener("contextmenu",ue,!0),C&&(C.removeEventListener("mousedown",ue,!0),C.removeEventListener("contextmenu",ue,!0))}}},[V,g,fe,z,o]);function N(){$.current=!0}return N}var bt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Te(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L.Z,V=pe.forwardRef(function(g,fe){var z=g.prefixCls,o=z===void 0?"rc-trigger-popup":z,f=g.children,se=g.action,q=se===void 0?"hover":se,$=g.showAction,N=g.hideAction,U=g.popupVisible,ue=g.defaultPopupVisible,c=g.onPopupVisibleChange,C=g.afterPopupVisibleChange,Xe=g.mouseEnterDelay,X=g.mouseLeaveDelay,Le=X===void 0?.1:X,Ke=g.focusDelay,nt=g.blurDelay,lt=g.mask,et=g.maskClosable,w=et===void 0?!0:et,ge=g.getPopupContainer,Ze=g.forceRender,Ve=g.autoDestroy,ot=g.destroyPopupOnHide,Tt=g.popup,ct=g.popupClassName,dt=g.popupStyle,Rt=g.popupPlacement,Vt=g.builtinPlacements,Ht=Vt===void 0?{}:Vt,Xt=g.popupAlign,wt=g.zIndex,Ut=g.stretch,yt=g.getPopupClassNameFromAlign,Bt=g.fresh,Pt=g.alignPoint,kt=g.onPopupClick,Wt=g.onPopupAlign,pt=g.arrow,Lt=g.popupMotion,ln=g.maskMotion,rn=g.popupTransitionName,xn=g.popupAnimation,Dn=g.maskTransitionName,Mn=g.maskAnimation,tn=g.className,Nn=g.getTriggerDOMNode,Pn=(0,i.Z)(g,bt),bn=Ve||ot||!1,Fn=pe.useState(!1),_n=(0,d.Z)(Fn,2),Jn=_n[0],Be=_n[1];(0,M.Z)(function(){Be((0,P.Z)())},[]);var Ie=pe.useRef({}),I=pe.useContext(Oe),k=pe.useMemo(function(){return{registerSubPopup:function(tr,Dr){Ie.current[tr]=Dr,I==null||I.registerSubPopup(tr,Dr)}}},[I]),be=(0,_.Z)(),ye=pe.useState(null),m=(0,d.Z)(ye,2),re=m[0],De=m[1],u=pe.useRef(null),S=(0,r.Z)(function(In){u.current=In,(0,Z.Sh)(In)&&re!==In&&De(In),I==null||I.registerSubPopup(be,In)}),A=pe.useState(null),ve=(0,d.Z)(A,2),j=ve[0],O=ve[1],W=pe.useRef(null),ee=(0,r.Z)(function(In){(0,Z.Sh)(In)&&j!==In&&(O(In),W.current=In)}),oe=pe.Children.only(f),h=(oe==null?void 0:oe.props)||{},v={},B=(0,r.Z)(function(In){var tr,Dr,kr=j;return(kr==null?void 0:kr.contains(In))||((tr=(0,K.A)(kr))===null||tr===void 0?void 0:tr.host)===In||In===kr||(re==null?void 0:re.contains(In))||((Dr=(0,K.A)(re))===null||Dr===void 0?void 0:Dr.host)===In||In===re||Object.values(Ie.current).some(function(Ur){return(Ur==null?void 0:Ur.contains(In))||In===Ur})}),te=ce(o,Lt,xn,rn),we=ce(o,ln,Mn,Dn),Ne=pe.useState(ue||!1),ut=(0,d.Z)(Ne,2),Ge=ut[0],Y=ut[1],he=U!=null?U:Ge,Me=(0,r.Z)(function(In){U===void 0&&Y(In)});(0,M.Z)(function(){Y(U||!1)},[U]);var ke=pe.useRef(he);ke.current=he;var ht=pe.useRef([]);ht.current=[];var ft=(0,r.Z)(function(In){var tr;Me(In),((tr=ht.current[ht.current.length-1])!==null&&tr!==void 0?tr:he)!==In&&(ht.current.push(In),c==null||c(In))}),Ct=pe.useRef(),It=function(){clearTimeout(Ct.current)},Dt=function(tr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;It(),Dr===0?ft(tr):Ct.current=setTimeout(function(){ft(tr)},Dr*1e3)};pe.useEffect(function(){return It},[]);var Mt=pe.useState(!1),$t=(0,d.Z)(Mt,2),Et=$t[0],Jt=$t[1];(0,M.Z)(function(In){(!In||he)&&Jt(!0)},[he]);var At=pe.useState(null),sn=(0,d.Z)(At,2),Gt=sn[0],Yt=sn[1],nn=pe.useState(null),fn=(0,d.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(tr){Qt([tr.clientX,tr.clientY])},qe=me(he,re,Pt&&Zt!==null?Zt:j,Rt,Ht,Xt,Wt),mt=(0,d.Z)(qe,11),Kt=mt[0],jt=mt[1],qt=mt[2],un=mt[3],on=mt[4],en=mt[5],cn=mt[6],Rn=mt[7],Bn=mt[8],yn=mt[9],dn=mt[10],Kn=Re(Jn,q,$,N),Xn=(0,d.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ar.has("click"),Wn=$n.has("click")||$n.has("contextMenu"),Sr=(0,r.Z)(function(){Et||dn()}),Fr=function(){ke.current&&Pt&&Wn&&Dt(!1)};ie(he,j,re,Sr,Fr),(0,M.Z)(function(){Sr()},[Zt,Rt]),(0,M.Z)(function(){he&&!(Ht!=null&&Ht[Rt])&&Sr()},[JSON.stringify(Xt)]);var $r=pe.useMemo(function(){var In=n(Ht,o,yn,Pt);return D()(In,yt==null?void 0:yt(yn))},[yn,yt,Ht,o,Pt]);pe.useImperativeHandle(fe,function(){return{nativeElement:W.current,popupElement:u.current,forceAlign:Sr}});var Cr=pe.useState(0),vr=(0,d.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=pe.useState(0),fr=(0,d.Z)(lr,2),Gn=fr[0],ur=fr[1],yr=function(){if(Ut&&j){var tr=j.getBoundingClientRect();Hn(tr.width),ur(tr.height)}},gr=function(){yr(),Sr()},br=function(tr){Jt(!1),dn(),C==null||C(tr)},Br=function(){return new Promise(function(tr){yr(),Yt(function(){return tr})})};(0,M.Z)(function(){Gt&&(dn(),Gt(),Yt(null))},[Gt]);function wr(In,tr,Dr,kr){v[In]=function(Ur){var Uo;kr==null||kr(Ur),Dt(tr,Dr);for(var $o=arguments.length,Yo=new Array($o>1?$o-1:0),wo=1;wo<$o;wo++)Yo[wo-1]=arguments[wo];(Uo=h[In])===null||Uo===void 0||Uo.call.apply(Uo,[h,Ur].concat(Yo))}}(er||Wn)&&(v.onClick=function(In){var tr;ke.current&&Wn?Dt(!1):!ke.current&&er&&(Ft(In),Dt(!0));for(var Dr=arguments.length,kr=new Array(Dr>1?Dr-1:0),Ur=1;Ur1?Dr-1:0),Ur=1;Ur{var Ye={};for(var b in Fe)r.call(Fe,b)&&Pe.indexOf(b)<0&&(Ye[b]=Fe[b]);if(Fe!=null&&K)for(var b of K(Fe))Pe.indexOf(b)<0&&_.call(Fe,b)&&(Ye[b]=Fe[b]);return Ye},P=(Fe,Pe,Ye)=>new Promise((b,Ce)=>{var s=le=>{try{ae(Ye.next(le))}catch(y){Ce(y)}},p=le=>{try{ae(Ye.throw(le))}catch(y){Ce(y)}},ae=le=>le.done?b(le.value):Promise.resolve(le.value).then(s,p);ae((Ye=Ye.apply(Fe,Pe)).next())});const pe=i.default.TextArea,it=Fe=>{var Pe=Fe,{account:Ye,globalSetting:b,loading:Ce,dispatch:s,schoolName:p,departmentName:ae,visible:le,onClose:y=()=>{},onSuccess:He=()=>{}}=Pe,Oe=M(Pe,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[ne]=L.default.useForm(),Re=(0,e.useRef)(),[de,H]=(0,e.useState)(!1);(0,e.useEffect)(()=>{Re.current=Oe.schoolId},[Oe.schoolId]),(0,e.useEffect)(()=>{ne.setFieldsValue({department:ae})},[ae]);const n=ce=>P(void 0,null,function*(){var T,ze,xe;const{department:We,remarks:st}=ce||{};H(!0);const at=yield(0,Z.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:We,school_id:Re.current}});H(!1);const Ae=()=>P(void 0,null,function*(){const tt=yield s({type:"account/appplyDepartment",payload:{school_id:Re.current,name:We,remarks:st}});(tt==null?void 0:tt.status)===0&&(x.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),He(We),y())});if((at==null?void 0:at.status)===0){if((T=at==null?void 0:at.data)!=null&&T.name){D.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement("div",null,e.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),e.createElement(E.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(ze=at==null?void 0:at.data)==null?void 0:ze.name,size:(xe=at==null?void 0:at.data)==null?void 0:xe.size}],pagination:!1})),onOk:()=>{He(We),y()}});return}Ae()}});return e.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:y,onOk:()=>ne.submit(),confirmLoading:de},e.createElement(L.default,{form:ne,labelCol:{span:4},wrapperCol:{span:20},onFinish:n},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},p),e.createElement(L.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},e.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},e.createElement(pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};_e.Z=(0,d.connect)(({account:Fe,loading:Pe,globalSetting:Ye})=>({account:Fe,globalSetting:Ye,loading:Pe.effects}))(it)},28210:function(an,_e,t){var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(6767),D=t(62957),E=t(98280),Z=t(59301),K=Object.defineProperty,r=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,P=(b,Ce,s)=>Ce in b?K(b,Ce,{enumerable:!0,configurable:!0,writable:!0,value:s}):b[Ce]=s,pe=(b,Ce)=>{for(var s in Ce||(Ce={}))_.call(Ce,s)&&P(b,s,Ce[s]);if(r)for(var s of r(Ce))M.call(Ce,s)&&P(b,s,Ce[s]);return b},it=(b,Ce)=>{var s={};for(var p in b)_.call(b,p)&&Ce.indexOf(p)<0&&(s[p]=b[p]);if(b!=null&&r)for(var p of r(b))Ce.indexOf(p)<0&&M.call(b,p)&&(s[p]=b[p]);return s},Fe=(b,Ce,s)=>new Promise((p,ae)=>{var le=Oe=>{try{He(s.next(Oe))}catch(ne){ae(ne)}},y=Oe=>{try{He(s.throw(Oe))}catch(ne){ae(ne)}},He=Oe=>Oe.done?p(Oe.value):Promise.resolve(Oe.value).then(le,y);He((s=s.apply(b,Ce)).next())});const Pe=i.default.TextArea,Ye=b=>{var Ce=b,{account:s,globalSetting:p,loading:ae,dispatch:le,departmentName:y,majorName:He,visible:Oe,onClose:ne=()=>{},onSuccess:Re=()=>{}}=Ce,de=it(Ce,["account","globalSetting","loading","dispatch","departmentName","majorName","visible","onClose","onSuccess"]);const[H]=L.default.useForm(),n=(0,e.useRef)(),[ce,T]=(0,e.useState)(!1);(0,e.useEffect)(()=>{n.current=de.departmentId},[de.departmentId]),(0,e.useEffect)(()=>{H.setFieldsValue({name:He})},[He]);const ze=xe=>Fe(void 0,null,function*(){yield H.validateFields(),(yield(0,E.ZP)(`/api/departments/${n.current}/majors.json`,{method:"post",body:pe({},H.getFieldsValue())})).status===0&&(x.ZP.success("\u7533\u8BF7\u6210\u529F\uFF01"),Re(H.getFieldValue("name")),H.resetFields(),ne())});return Z.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Oe,title:"\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0",width:"600px",onCancel:ne,onOk:()=>H.submit(),confirmLoading:ce},Z.createElement(L.default,{form:H,labelCol:{span:4},wrapperCol:{span:20},onFinish:ze},Z.createElement(L.default.Item,{label:"\u9662\u7CFB\u540D\u79F0\uFF1A"},y),Z.createElement(L.default.Item,{label:"\u4E13\u4E1A\u540D\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},Z.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",showCount:!0,maxLength:20})),Z.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},Z.createElement(Pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};_e.Z=(0,d.connect)(({account:b,loading:Ce,globalSetting:s})=>({account:b,globalSetting:s,loading:Ce.effects}))(Ye)},98679:function(an,_e,t){t.d(_e,{Z:function(){return L}});var e=t(59301),d=t(59195),i=t(75786),L=()=>{const[x,D]=(0,e.useState)(""),[E,Z]=(0,e.useState)(0);let[K,r]=(0,e.useState)(),[_,M]=(0,e.useState)();const[P,pe]=(0,e.useState)(!1),it=(0,e.useRef)("");(0,e.useEffect)(()=>d.Z.subscribe("preview-image",He=>{D(He),console.log(ae.current)}),[]),(0,e.useEffect)(()=>(document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}),[]),(0,e.useEffect)(()=>{it.current=x},[x]);function Fe(y){console.log("e====",y),y.keyCode==27&&it.current&&Pe()}function Pe(){document.body.style.overflow="auto",r(void 0),M(void 0),Z(0),D("")}function Ye(){Z(E+90)}function b(){K=ae.current.width*1.1,_=ae.current.height*1.1,M(_),r(K)}function Ce(){K=ae.current.width/1.1,_=ae.current.height/1.1,M(_),r(K)}const s=(0,e.useRef)(),p=(0,e.useRef)(),ae=(0,e.useRef)(),le=y=>{(y.nativeEvent.target===s.current||y.nativeEvent.target===p.current)&&Pe()};return e.createElement(e.Fragment,null,x?e.createElement("div",null,e.createElement("div",{className:"preview-wrp-group",ref:p},e.createElement(i.Z,{className:"image-preview",src:x,style:{display:"none"},preview:{visible:!0,src:x,onVisibleChange:y=>{D("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57792:function(an,_e,t){var e=t(59301),d=t(75790),i=t(82326),L=t(94968),x=t(28284),D=t(6767),E=t(62957),Z=t(29787),K=t(77019),r=t(5269),_=t(37568),M=t(25399),P=t(1560),pe=t(7939),it=t(67585),Fe=t(56739),Pe=t(49647),Ye=t(51941),b=t(26294),Ce=t(19374),s=t(89392),p=t.n(s),ae=t(28210),le=t(98280),y=t(59301),He=Object.defineProperty,Oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,n=(Ae,tt,J)=>tt in Ae?He(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:J}):Ae[tt]=J,ce=(Ae,tt)=>{for(var J in tt||(tt={}))de.call(tt,J)&&n(Ae,J,tt[J]);if(Re)for(var J of Re(tt))H.call(tt,J)&&n(Ae,J,tt[J]);return Ae},T=(Ae,tt)=>Oe(Ae,ne(tt)),ze=(Ae,tt)=>{var J={};for(var Se in Ae)de.call(Ae,Se)&&tt.indexOf(Se)<0&&(J[Se]=Ae[Se]);if(Ae!=null&&Re)for(var Se of Re(Ae))tt.indexOf(Se)<0&&H.call(Ae,Se)&&(J[Se]=Ae[Se]);return J},xe=(Ae,tt,J)=>new Promise((Se,me)=>{var Qe=je=>{try{Je(J.next(je))}catch(bt){me(bt)}},ie=je=>{try{Je(J.throw(je))}catch(bt){me(bt)}},Je=je=>je.done?Se(je.value):Promise.resolve(je.value).then(Qe,ie);Je((J=J.apply(Ae,tt)).next())});const We=i.default.Option,st=L.default.Dragger,at=Ae=>{var tt=Ae,{user:J,account:Se,globalSetting:me,loading:Qe,dispatch:ie}=tt,Je=ze(tt,["user","account","globalSetting","loading","dispatch"]),je,bt,Te;const[G]=x.default.useForm(),[R,V]=(0,e.useState)({}),[g,fe]=(0,e.useState)([]),[z,o]=(0,e.useState)([]),[f,se]=(0,e.useState)([]),[q,$]=(0,e.useState)([]),[N,U]=(0,e.useState)([]),[ue,c]=(0,e.useState)([]),[C,Xe]=(0,e.useState)(),[X,Le]=(0,e.useState)(),[Ke,nt]=(0,e.useState)(),[lt,et]=(0,e.useState)(),[w,ge]=(0,e.useState)(),[Ze,Ve]=(0,e.useState)();(0,e.useEffect)(()=>{var pt,Lt,ln,rn;Se.actionTabs.key==="Account-ProfessionalAuth"&&(pt=Se.basicInfo)!=null&&pt.school_id&&(ct((Lt=Se.basicInfo)==null?void 0:Lt.school_id),fe([{id:(ln=Se.basicInfo)==null?void 0:ln.school_id,name:(rn=Se.basicInfo)==null?void 0:rn.school_name}]))},[Se.actionTabs.key]);const ot=(0,e.useRef)((0,s.throttle)(pt=>Tt(pt),1200,{leading:!0,trailing:!0})).current,Tt=pt=>xe(void 0,null,function*(){var Lt,ln;const rn=yield ie({type:"account/getSchoolOption",payload:{keyword:pt,limit:10}});fe(rn==null?void 0:rn.schools),pt&&pt!=""&&(o((Lt=rn==null?void 0:rn.schools)==null?void 0:Lt.filter(Dn=>Dn.name.includes(pt))),(((ln=rn==null?void 0:rn.schools)==null?void 0:ln.find(Dn=>Dn.name===pt))||{}).id?Xt(pt,null,rn==null?void 0:rn.schools):(G.setFieldsValue(T(ce({},G.getFieldsValue()),{department:""})),V(ce(ce({},G.getFieldsValue()),{school:pt,department:""}))))}),ct=pt=>xe(void 0,null,function*(){if(!pt)return;const Lt=yield ie({type:"account/getDepartmentOption",payload:{id:pt}});return se(Lt==null?void 0:Lt.departments),Lt});(0,e.useEffect)(()=>{if(!Se.basicInfo)return;const{basicInfo:pt}=Se,Lt={identity:pt.identity,school:pt.school_name,department:pt.department_name,major_name:pt.major_name,studentNo:pt.student_id,jobTitle:pt.identity=="teacher"?pt.technical_title:"\u6559\u6388",manager:pt.identity=="professional"?pt.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",code_type:2};G.setFieldsValue(Lt),V(Lt)},[Se.basicInfo]);const dt=()=>{et(!0)},Rt=()=>{if(!g.find(pt=>pt.name===R.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}ge(!0)},Vt=()=>{if(!f.find(pt=>pt.name===R.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}Ve(!0)},Ht=pt=>{V(ce({},G.getFieldsValue())),"identity"in pt&&V(T(ce({},G.getFieldsValue()),{code_type:2})),"school"in pt&&(o(g.filter(ln=>ln.name.includes(pt.school))),(g.find(ln=>ln.name===pt.school)||{}).id?Xt(pt.school):(G.setFieldValue("department",""),V(ce(ce({},R),{school:pt.school,department:""}))))},Xt=(pt,Lt,ln)=>xe(void 0,null,function*(){var rn,xn,Dn;const Mn=(rn=(ln||g).find(Pn=>Pn.name===pt))==null?void 0:rn.id,tn=(yield ct(Mn))||{},Nn=Lt||((Dn=(xn=tn==null?void 0:tn.departments)==null?void 0:xn[0])==null?void 0:Dn.name);G.setFieldsValue(T(ce({},G.getFieldsValue()),{department:Nn})),V(ce(ce({},G.getFieldsValue()),{school:pt,department:Nn}))});(0,e.useEffect)(()=>{wt()},[f]);const wt=()=>xe(void 0,null,function*(){var pt,Lt;let ln=(pt=g.find(xn=>xn.name===G.getFieldValue("school")))==null?void 0:pt.id,rn=(Lt=f.find(xn=>xn.name===G.getFieldValue("department")))==null?void 0:Lt.id;if(rn){const xn=yield(0,le.ZP)(`/api/schools/${ln}/departments/${rn}/major_option.json`,{method:"get"});(xn==null?void 0:xn.status)==0&&U(xn==null?void 0:xn.majors)}}),Ut=pt=>xe(void 0,null,function*(){yield Tt(),G.setFieldsValue(T(ce({},G.getFieldsValue()),{school:pt,department:""})),V(ce(ce({},G.getFieldsValue()),{school:pt,department:""}))}),yt=pt=>{var Lt;if(pt.file.status==="uploading"){nt(!0);return}pt.file.status==="done"&&(console.log(pt.file,pt.file.response),Le((Lt=pt.file.response)==null?void 0:Lt.id),(0,Ce.y3)(pt.file.originFileObj,ln=>{Xe(ln),nt(!1)}))},Bt=pt=>xe(void 0,null,function*(){var Lt,ln,rn,xn,Dn,Mn,tn,Nn,Pn,bn;const{school:Fn,department:_n,identity:Jn,studentNo:Be,jobTitle:Ie,manager:I,code_type:k,code:be,major_name:ye}=pt||{};if(!C){D.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const m=(Lt=g.find(A=>A.name===Fn))==null?void 0:Lt.id,re=(ln=f.find(A=>A.name===_n))==null?void 0:ln.id,De=Jn==="student"?(rn=N.find(A=>A.name===ye))==null?void 0:rn.id:null;let u;if(Jn==="student"?u=Be:Jn==="teacher"?u=Ie:u=I,!m){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(xn=me==null?void 0:me.setting)==null?void 0:xn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),y.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(Dn=me==null?void 0:me.setting)==null?void 0:Dn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(_n&&!re){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement(y.Fragment,null,y.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u9662\u7CFB/\u90E8\u95E8\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u90E8\u95E8\uFF1F")),onOk:Rt,onCancel:()=>{A.destroy()}});return}if(Jn==="student"&&ye&&!De){if(G.getFieldValue("identity")=="teacher"){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement(y.Fragment,null,y.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u4E13\u4E1A\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u4E13\u4E1A\uFF1F")),onOk:Vt,onCancel:()=>{A.destroy()}})}else E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(Mn=me==null?void 0:me.setting)==null?void 0:Mn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),y.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(tn=me==null?void 0:me.setting)==null?void 0:tn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const S=yield ie({type:"account/applyProfessionalAuth",payload:{id:((Nn=Se.basicInfo)==null?void 0:Nn.id)||((Pn=J.userInfo)==null?void 0:Pn.login),school_id:m,department_id:re,major_id:De,identity:Jn,extra:u,code:be,code_type:k,attachment_ids:[X]}});Pt(),(S==null?void 0:S.status)===0&&(be?D.ZP.info("\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u901A\u8FC7"):D.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838\uFF01"),Xe(""),ie({type:"account/getBasicInfo",payload:{login:(bn=J.userInfo)==null?void 0:bn.login}}))}),Pt=()=>{G.setFieldValue("code",""),ie({type:"account/setActionTabs",payload:{}})},kt={data:{type:"professional"},multiple:!0,withCredentials:!0,showUploadList:!1,action:`${Pe.Z.API_SERVER}/api/attachments.json`,className:b.Z.uploader,onChange:yt,beforeUpload:pt=>{const Lt=pt.type==="image/jpeg"||pt.type==="image/png"||pt.type==="image/jpg"||pt.type==="image/bmp";return Lt||D.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),Lt}},Wt=()=>{var pt,Lt,ln,rn;E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",R.identity==="teacher"?(pt=me==null?void 0:me.setting)==null?void 0:pt.homepage_tea_qq_number:(Lt=me==null?void 0:me.setting)==null?void 0:Lt.homepage_stu_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),y.createElement("img",{src:R.identity==="teacher"?`${Pe.Z.IMG_SERVER}/${(ln=me==null?void 0:me.setting)==null?void 0:ln.homepage_tea_qq_qrcode_url}`:`${Pe.Z.IMG_SERVER}/${(rn=me==null?void 0:me.setting)==null?void 0:rn.homepage_stu_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return y.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,forceRender:!0,className:b.Z.modal,open:Se.actionTabs.key==="Account-ProfessionalAuth",title:y.createElement("div",null,y.createElement("i",{className:`iconfont icon-zhiyerenzheng font18 mr5 ${b.Z.colorBlue}`}),"\u804C\u4E1A\u8BA4\u8BC1"),width:"660px",footer:null},y.createElement(Z.Z,{spinning:!!Ke},y.createElement(x.default,{form:G,layout:"horizontal",size:"large",scrollToFirstError:!0,className:b.Z.formWrap,onValuesChange:Ht,onFinish:Bt},y.createElement(K.Z,{gutter:[10,0]},y.createElement(r.Z,{flex:"300px"},y.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},y.createElement(i.default,null,y.createElement(We,{value:"teacher"},"\u6559\u5E08"),y.createElement(We,{value:"student"},"\u5B66\u751F"),y.createElement(We,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),R.identity==="student"&&y.createElement(y.Fragment,null,y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.studentNo,name:"studentNo",rules:[{required:!0,message:"\u8BF7\u5148\u8F93\u5165\u5B66\u53F7"}]},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7"}))),y.createElement(r.Z,{flex:0},y.createElement("div",{className:b.Z.tooltipWrapper},y.createElement(M.Z,{title:"\u5355\u4F4D\u7BA1\u7406\u5458\u53EF\u7BA1\u7406\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u5B66\u751F\u8D26\u53F7\u4FE1\u606F\uFF08\u5305\u542B\u521D\u59CB\u5316\u5BC6\u7801\uFF09"},y.createElement("span",{className:b.Z.tips},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"})))))),R.identity==="teacher"&&y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},y.createElement(i.default,null,y.createElement(We,{value:"\u6559\u6388"},"\u6559\u6388"),y.createElement(We,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),y.createElement(We,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),y.createElement(We,{value:"\u52A9\u6559"},"\u52A9\u6559")))),R.identity==="professional"&&y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},y.createElement(i.default,null,y.createElement(We,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),y.createElement(We,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),y.createElement(We,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),y.createElement(We,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),y.createElement(We,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),y.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:R.school&&!(g!=null&&g.find(pt=>pt.name===R.school))&&y.createElement("div",{className:b.Z.schoolHintWrap},y.createElement("span",{className:b.Z.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",R.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},y.createElement(P.Z,{showSearch:!0,onSearch:ot},z.map((pt,Lt)=>y.createElement(We,{key:Lt,value:pt.name},pt.name)))),y.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",extra:R.department&&!(f!=null&&f.find(pt=>pt.name===R.department))&&y.createElement("div",{className:b.Z.schoolHintWrap},y.createElement("span",{className:b.Z.colorCDCDCD},R.department?`\u672A\u627E\u5230\u5305\u542B\u201C${R.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),y.createElement("span",{className:b.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u9662\u7CFB/\u90E8\u95E8"}]},y.createElement(P.Z,{showSearch:!0,onChange:pt=>{wt(),$(f.filter(Lt=>Lt.name.includes(pt)))}},q.map((pt,Lt)=>y.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&y.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))))),R.identity==="student"&&y.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",extra:G.getFieldValue("major_name")&&!(N!=null&&N.find(pt=>pt.name==G.getFieldValue("major_name")))&&y.createElement("div",{className:b.Z.schoolHintWrap},G.getFieldValue("identity")=="teacher"?y.createElement(y.Fragment,null,y.createElement("span",{className:b.Z.colorCDCDCD},`\u672A\u67E5\u8BE2\u5230\u201C${G.getFieldValue("major_name")}\u201D\u4E13\u4E1A\uFF0C`),y.createElement("span",{className:b.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")):y.createElement("span",{className:b.Z.colorCDCDCD},"\u672A\u627E\u5230\u201C",G.getFieldValue("major_name"),"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[G.getFieldValue("identity")=="teacher"&&{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u4E13\u4E1A"}]},y.createElement(P.Z,{size:"large",onChange:pt=>{c(N.filter(Lt=>Lt.name.includes(pt)))}},ue.map(function(pt,Lt){return y.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&y.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),R.identity==="student"&&y.createElement(K.Z,{gutter:[10,0],wrap:!1},y.createElement(r.Z,{flex:"240px"},y.createElement(x.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code_type",initialValue:2},y.createElement(i.default,null,y.createElement(We,{value:2},"\u624B\u673A\u53F7"),y.createElement(We,{value:1},"\u9080\u8BF7\u7801")))),y.createElement(r.Z,{flex:1},R.code_type===1?y.createElement(x.default.Item,{name:"code"},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u7684\u9080\u8BF7\u7801",maxLength:10})):y.createElement(x.default.Item,{name:"code"},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u4E2D\u6559\u5E08\u7684\u624B\u673A\u53F7\u540E\u516D\u4F4D",maxLength:10}))),y.createElement(M.Z,{title:"\u5F53\u524D\u8D26\u53F7\u7533\u8BF7\u8BA4\u8BC1\u7684\u5355\u4F4D\u4E0E\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u6240\u5C5E\u5355\u4F4D\u9700\u76F8\u540C"},y.createElement(r.Z,{style:{paddingTop:"10px"}},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2 primary-hover font14",style:{cursor:"pointer"}})))),y.createElement(x.default.Item,{label:"\u804C\u4E1A\u8BC1\u4E0A\u4F20",required:!0},y.createElement("div",{className:b.Z.flexRow},y.createElement("div",{className:`${b.Z.flexColumn} ${b.Z.example}`},y.createElement("span",{className:b.Z.exampleImg},y.createElement("img",{src:Ye})),y.createElement("span",{className:"tc"},y.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),y.createElement("p",{className:`${b.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))),y.createElement("div",{className:b.Z.flexColumn},y.createElement(st,T(ce({},kt),{accept:".png,.jpg,.bmp,.jpeg"}),C?y.createElement("img",{src:C,className:b.Z.uploadImg}):y.createElement("div",{className:b.Z.imageTip},y.createElement("p",null,y.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${b.Z.uploadTipIcon}`})),y.createElement("p",{className:b.Z.uploadTip},y.createElement("a",{className:b.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),y.createElement("span",{className:"tc"},y.createElement("p",{className:b.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))))),y.createElement("div",{className:b.Z.footerWrap},y.createElement(x.default.Item,null,y.createElement(pe.ZP,{className:"mr5",size:"middle",onClick:Pt},"\u53D6\u6D88"),y.createElement(pe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qe["account/applyProfessionalAuth"]},"\u63D0\u4EA4"))),y.createElement("div",{className:b.Z.note},y.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),y.createElement("p",null,"1.\u6839\u636E\u804C\u4E1A\u4E0A\u4F20\u76F8\u5E94\u7684\u8BC1\u4EF6\u7167\uFF1A\u6559\u5E08\uFF08\u6559\u5E08\u8BC1\uFF09\uFF0C\u4E13\u4E1A\u4EBA\u58EB\uFF08\u5458\u5DE5\u8BC1\uFF09\u3001\u5B66\u751F\uFF08\u5B66\u751F\u8BC1\uFF09\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u5185\u5BB9\u5B8C\u6574\u5E76\u4E14\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),y.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u804C\u4E1A\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),y.createElement("p",null,"3.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B\u804C\u4E1A\u53D8\u66F4\u8BF7\u9009\u62E9\u91CD\u65B0\u8BA4\u8BC1\uFF1B"),y.createElement("p",null,"4.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),y.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),y.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u5B66\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u804C\u4E1A\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3",!((je=me==null?void 0:me.setting)!=null&&je.is_local)&&"EduCoder","\u8D26\u53F7\u3002"),y.createElement("p",null,"7.\u975E\u8001\u5E08\u8EAB\u4EFD\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u804C\u4E1A\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))),y.createElement(it.Z,{visible:lt,onClose:()=>et(!1),schoolName:R.school,onSuccess:Ut}),y.createElement(Fe.Z,{visible:w,onClose:()=>ge(!1),schoolId:(bt=g.find(pt=>pt.name===R.school))==null?void 0:bt.id,schoolName:R.school,departmentName:R.department,onSuccess:pt=>Xt(R.school,pt)}),y.createElement(ae.Z,{visible:Ze,onClose:()=>Ve(!1),departmentId:(Te=f.find(pt=>pt.name===R.department))==null?void 0:Te.id,departmentName:R.department,majorName:G.getFieldValue("major_name"),onSuccess:pt=>{G.setFieldsValue({major_name:pt}),V(ce(ce({},G.getFieldsValue()),{major_name:pt})),wt()}}))};_e.Z=(0,d.connect)(({user:Ae,account:tt,loading:J,globalSetting:Se})=>({user:Ae,account:tt,globalSetting:Se,loading:J.effects}))(at)},44770:function(an,_e,t){t.r(_e),t.d(_e,{default:function(){return Je},identityMap:function(){return Se}});var e=t(59301),d=t(75790),i=t(82326),L=t(37568),x=t(28284),D=t(6767),E=t(62957),Z=t(77019),K=t(5269),r=t(25399),_=t(1560),M=t(47889),P=t(94968),pe=t(7939),it={wrap:"wrap___isQuw",content:"content___Gh5i7",hint:"hint___dh6_r",title:"title___Txz11",titleWrap:"titleWrap___p75TL",formWrap:"formWrap___tyQRy",identityWrap:"identityWrap___RmEwo",schoolHintWrap:"schoolHintWrap___WnTDr",colorCDCDCD:"colorCDCDCD___Xq4Mx",color0152d9:"color0152d9___lAjmo",submitButton:"submitButton___LHi3i",submitButtondiv:"submitButtondiv___J6VbH",glow:"glow___jcndc",staffidInput:"staffidInput___M9rEi",selecticon:"selecticon___T9WXy"},Fe=t(67585),Pe=t(56739),Ye=t(57792),b=t(32637),Ce=t(19374),s=t(63497),p=t(58617),ae=t(62772),le=t(98679),y=t(59195),He=t(98280),Oe=t(89392),ne=t(29831),Re=t(75694),de=t(49647),H=t(28210),n=t(59301),ce=Object.defineProperty,T=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,We=(je,bt,Te)=>bt in je?ce(je,bt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):je[bt]=Te,st=(je,bt)=>{for(var Te in bt||(bt={}))ze.call(bt,Te)&&We(je,Te,bt[Te]);if(T)for(var Te of T(bt))xe.call(bt,Te)&&We(je,Te,bt[Te]);return je},at=(je,bt)=>{var Te={};for(var G in je)ze.call(je,G)&&bt.indexOf(G)<0&&(Te[G]=je[G]);if(je!=null&&T)for(var G of T(je))bt.indexOf(G)<0&&xe.call(je,G)&&(Te[G]=je[G]);return Te},Ae=(je,bt,Te)=>new Promise((G,R)=>{var V=z=>{try{fe(Te.next(z))}catch(o){R(o)}},g=z=>{try{fe(Te.throw(z))}catch(o){R(o)}},fe=z=>z.done?G(z.value):Promise.resolve(z.value).then(V,g);fe((Te=Te.apply(je,bt)).next())});const tt=i.default.Option,{TextArea:J}=L.default,Se={teacher:"\u6559\u5E08",student:"\u5B66\u751F",professional:"\u4E13\u4E1A\u4EBA\u58EB"},me=20,Qe=20,ie=je=>{var bt=je,{user:Te,account:G,globalSetting:R,shixunHomeworks:V,loading:g,dispatch:fe}=bt,z=at(bt,["user","account","globalSetting","shixunHomeworks","loading","dispatch"]),o,f,se,q,$;const[N]=x.default.useForm(),[U]=x.default.useForm(),[ue,c]=(0,e.useState)({}),[C,Xe]=(0,e.useState)(!1),[X,Le]=(0,e.useState)({}),[Ke,nt]=(0,e.useState)([]),[lt,et]=(0,e.useState)([]),[w,ge]=(0,e.useState)([]),[Ze,Ve]=(0,e.useState)([]),[ot,Tt]=(0,e.useState)([]),[ct,dt]=(0,e.useState)([]),[Rt,Vt]=(0,e.useState)(!0),[Ht,Xt]=(0,e.useState)(!1),[wt,Ut]=(0,e.useState)(),[yt,Bt]=(0,e.useState)(null),[Pt,kt]=(0,e.useState)(!0),[Wt,pt]=(0,e.useState)(),[Lt,ln]=(0,e.useState)(!1),[rn,xn]=(0,e.useState)([]),[Dn,Mn]=(0,e.useState)(!0),[tn,Nn]=(0,e.useState)(!1),Pn=(0,e.useRef)(!0),[bn,Fn]=(0,e.useState)(""),[_n,Jn]=(0,e.useState)(""),[Be,Ie]=(0,e.useState)(""),I=(0,e.useRef)((0,Oe.throttle)(Y=>re(Y),1200,{leading:!0,trailing:!0})).current,{basicInfo:k={}}=G,be=k&&k.professional_certification=="certified",ye=be?{visible:!1}:{visible:!1};(0,e.useEffect)(()=>{var Y,he;(Y=G.basicInfo)!=null&&Y.school_name&&re((he=G.basicInfo)==null?void 0:he.school_name)},[(o=G.basicInfo)==null?void 0:o.school_name]),(0,e.useEffect)(()=>{Dn&&(N.setFieldsValue({studentNo:X.studentNo}),N.validateFields(["studentNo"]))},[X.studentNo]),(0,e.useEffect)(()=>{X.identity==="student"&&!Dn&&N.validateFields(["studentNo"])},[X.identity]),(0,e.useEffect)(()=>{!Pt&&X.school&&!Ke.find(Y=>Y.name===X.school)?Fn("error"):Fn("")},[Pt,X.school,Ke]),(0,e.useEffect)(()=>{!Pt&&X.department&&!w.find(Y=>Y.name===X.department)?Jn("error"):Jn("")},[Pt,X.department,w]),(0,e.useEffect)(()=>{!Pt&&X.major_name&&(ot==null?void 0:ot.length)>0&&!ot.find(Y=>Y.name===X.major_name)&&Ie("error")},[Pt,X.major_name]);const m=Y=>{var he,Me;return(Me=(he=Ce.jh)==null?void 0:he.find(ke=>ke.name===Y))==null?void 0:Me.id},re=Y=>Ae(void 0,null,function*(){var he,Me;kt(!0);const ke=yield fe({type:"account/getSchoolOption",payload:{keyword:Y,limit:99999,display_aliases:!0}});nt(ke==null?void 0:ke.schools),et(ke==null?void 0:ke.schools),Y&&Y!=""?(et((he=ke==null?void 0:ke.schools)==null?void 0:he.filter(ft=>ft.name.includes(Y))),(((Me=ke==null?void 0:ke.schools)==null?void 0:Me.find(ft=>ft.name===Y))||{}).id?yield O(Y,k==null?void 0:k.department_name,ke==null?void 0:ke.schools):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{school:Y,department:"",major_name:""})),ge([]),Ve([]),Tt([]),dt([]),Jn(""),Ie(""))):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{department:"",major_name:""})),ge([]),Ve([]),Tt([]),dt([]),Jn(""),Ie("")),kt(!1)}),De=Y=>{if(Y)return fe({type:"account/getDepartmentOption",payload:{id:Y}})};(0,e.useEffect)(()=>{var Y,he;if(!G.basicInfo)return;const{basicInfo:Me}=G,ke={nickname:Me.nickname,name:Me.show_realname?Me.name:(0,Ce.YA)(Me.name),gender:Me.gender,city:[Me.location,Me.location_city],identity:Me.identity,school:Me.school_name,department:Me.department_name,major_name:Me.major_name,studentNo:Me.student_id,edu_entry_year:Me.edu_entry_year,edu_background:m(Me.edu_background),brief_introduction:Me.brief_introduction,jobTitle:Me.identity=="teacher"?Me.technical_title:"\u6559\u6388",manager:Me.identity=="professional"?Me.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",staff_id:Me.staff_id};Me!=null&&Me.face_image&&xn([{uid:"111",name:"111",url:de.Z.API_SERVER+Me.face_image,response:{id:(he=(Y=Me==null?void 0:Me.face_image)==null?void 0:Y.split("/"))==null?void 0:he[3]}}]),Ut(Me.name),Vt(Me.show_realname),Bt(Me.identity),N.setFieldsValue(ke),Le(ke)},[G.basicInfo]);const u=()=>{fe({type:"account/setActionTabs",payload:{key:"Account-AppplySchool"}})},S=()=>{if(!Ke.find(Y=>Y.name===X.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyDepartment"}})},A=()=>{if(!w.find(Y=>Y.name===X.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyProfession"}})},ve=Y=>{var he;Le(st({},N.getFieldsValue())),((he=Y==null?void 0:Y.nickname)==null?void 0:he.length)<=0&&(Vt(!0),N.setFieldsValue({name:wt})),"name"in Y&&Ut(Y.name),"identity"in Y&&N.setFieldsValue({staff_id:""})},j=()=>{const Y=!Rt;Vt(Y);const he=Y?wt:(0,Ce.YA)(wt);N.setFieldsValue({name:he})},O=(Y,he,Me)=>Ae(void 0,null,function*(){var ke,ht;console.log(he),console.log(Pn);const ft=(ke=(Me||Ke).find(Dt=>Dt.name===Y))==null?void 0:ke.id,Ct=(yield De(ft))||{},It=Pn.current?he:(ht=Ct==null?void 0:Ct.departments[0])==null?void 0:ht.name;N.setFieldsValue({department:It}),Le(st(st({},N.getFieldsValue()),{school:Y,department:It})),ge([...Ct==null?void 0:Ct.departments]),Ve([...Ct==null?void 0:Ct.departments]),Ie(""),W(Pn.current,[...Ct==null?void 0:Ct.departments],Me)}),W=(Y=!1,he,Me)=>Ae(void 0,null,function*(){var ke,ht,ft;console.log(N.getFieldsValue()),console.log(X),console.log(Ke),Pn.current=!1;let Ct=(ke=Me.find(Dt=>Dt.name===N.getFieldValue("school")))==null?void 0:ke.id,It=(ht=he.find(Dt=>Dt.name===N.getFieldValue("department")))==null?void 0:ht.id;if(It){const Dt=yield(0,He.ZP)(`/api/schools/${Ct}/departments/${It}/major_option.json`,{method:"get"});if((Dt==null?void 0:Dt.status)==0){Tt([...Dt==null?void 0:Dt.majors]),dt([...Dt==null?void 0:Dt.majors]);const Mt=Y?k==null?void 0:k.major_name:(ft=Dt==null?void 0:Dt.majors[0])==null?void 0:ft.name;N.setFieldsValue({major_name:Mt}),Le(st(st({},N.getFieldsValue()),{major_name:Mt}))}}}),ee=()=>Ae(void 0,null,function*(){var Y,he,Me,ke;let ht=(Y=Ke.find(Ct=>Ct.name===N.getFieldValue("school")))==null?void 0:Y.id,ft=(he=w.find(Ct=>Ct.name===N.getFieldValue("department")))==null?void 0:he.id;if(ft){Ie("");const Ct=yield(0,He.ZP)(`/api/schools/${ht}/departments/${ft}/major_option.json`,{method:"get"});if((Ct==null?void 0:Ct.status)==0){Tt([...Ct==null?void 0:Ct.majors]),dt([...Ct==null?void 0:Ct.majors]);const It=(ke=(Me=Ct==null?void 0:Ct.majors)==null?void 0:Me[0])==null?void 0:ke.name;N.setFieldsValue({major_name:It}),Le(st(st({},N.getFieldsValue()),{major_name:It}))}}}),oe=Y=>Ae(void 0,null,function*(){yield re(),N.setFieldsValue({school:Y,department:""}),Le(st(st({},X),{school:Y,department:""}))}),h=Y=>Ae(void 0,null,function*(){E.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:Y?"\u60A8\u5DF2\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u59D3\u540D\u9700\u8981\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?":"\u60A8\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u4FE1\u606F\u9700\u8981\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?",onOk:()=>Ae(void 0,null,function*(){var he,Me,ke;(Y?yield(0,s.RA)({login:(he=Te.userInfo)==null?void 0:he.login}):yield(0,s.kN)({login:(Me=Te.userInfo)==null?void 0:Me.login}))&&(D.ZP.success(Y?"\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\u6210\u529F":"\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\u6210\u529F"),fe({type:"account/getBasicInfo",payload:{login:(ke=Te.userInfo)==null?void 0:ke.login}}))})})}),v=()=>{const Y=new Date().getFullYear();return Array(31).fill({}).map(function(he,Me){return n.createElement(tt,{key:Me,value:Y-Me},n.createElement("span",null,Y-Me))})},B=Y=>{var he,Me,ke,ht;if(Y==="number")return X.identity==="teacher"?`${(he=R==null?void 0:R.setting)==null?void 0:he.homepage_tea_qq_number}`:`${(Me=R==null?void 0:R.setting)==null?void 0:Me.homepage_stu_qq_number}`;if(Y==="code")return X.identity==="teacher"?`${de.Z.IMG_SERVER}/${(ke=R==null?void 0:R.setting)==null?void 0:ke.homepage_tea_qq_qrcode_url}`:`${de.Z.IMG_SERVER}/${(ht=R==null?void 0:R.setting)==null?void 0:ht.homepage_stu_qq_qrcode_url}`},te=Y=>Ae(void 0,null,function*(){var he,Me,ke,ht,ft,Ct,It,Dt;const{nickname:Mt,gender:$t,identity:Et,studentNo:Jt,jobTitle:At,manager:sn,school:Gt,department:Yt,edu_background:nn,edu_entry_year:fn,brief_introduction:Zt,face_image:Qt,staff_id:Ft,major_name:qe}=Y,mt=(he=w.find(en=>en.name===Yt))==null?void 0:he.id,Kt=(Me=Ke.find(en=>en.name===Gt))==null?void 0:Me.id,jt=Et==="student"?(ke=ot.find(en=>en.name===qe))==null?void 0:ke.id:null,{basicInfo:qt}=G;console.log("B",Y,qt);let un=[];qt.authentication!="uncertified"&&(wt!=qt.name&&un.push("\u59D3\u540D"),$t!=qt.gender&&un.push("\u6027\u522B"));let on=[];if(be&&(Et!=qt.identity?on.push("\u804C\u4E1A"):(X.identity,X.identity==="teacher"&&At!=qt.technical_title&&on.push("\u804C\u4E1A"),X.identity==="professional"&&sn!=qt.technical_title&&on.push("\u804C\u4E1A")),Gt!=qt.school_name&&on.push("\u5B66\u6821/\u5355\u4F4D"),Yt!=qt.department_name&&on.push("\u9662\u7CFB/\u90E8\u95E8"),Et==="student"&&qe!=qt.major_name&&on.push("\u4E13\u4E1A")),!Kt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Yt&&!mt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Et==="student"&&qe&&!jt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(un.length>0||on.length>0)E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",null,`\u672C\u6B21\u4FEE\u6539\u6D89\u53CA${un.toString().replaceAll(",","\u3001")}${un.length>0&&on.length>0?"\u3001":""}${on.toString().replaceAll(",","\u3001")}\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C${un.length>0?"\u5B9E\u540D\u8BA4\u8BC1":""}${un.length>0&&on.length>0?"\u548C":""}${on.length>0?"\u804C\u4E1A\u8BA4\u8BC1":""}\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539`),onOk:()=>Ae(void 0,null,function*(){var en,cn,Rn,Bn,yn,dn,Kn;un.length>0&&(yield(0,s.RA)({login:(en=Te.userInfo)==null?void 0:en.login})),on.length>0&&(yield(0,s.kN)({login:(cn=Te.userInfo)==null?void 0:cn.login}));const Xn=yield fe({type:"account/updateAccount",payload:{id:(Rn=G.basicInfo)==null?void 0:Rn.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(yn=(Bn=rn==null?void 0:rn[0])==null?void 0:Bn.response)==null?void 0:yn.id}});if((Xn==null?void 0:Xn.status)!==-1&&Xn){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(dn=G.basicInfo)!=null&&dn.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Kn=Te.userInfo)==null?void 0:Kn.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}})});else{const en=yield fe({type:"account/updateAccount",payload:{id:(ht=G.basicInfo)==null?void 0:ht.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,staff_id:Ft,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(Ct=(ft=rn==null?void 0:rn[0])==null?void 0:ft.response)==null?void 0:Ct.id}});if((en==null?void 0:en.status)===-1)return;if(en){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(It=G.basicInfo)!=null&&It.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Dt=Te.userInfo)==null?void 0:Dt.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}}}),we=()=>{Xt(!1),d.history.push("/account/profile")},Ne=n.createElement("div",null,Lt?n.createElement(p.Z,null):n.createElement(ae.Z,null),n.createElement("div",{style:{marginTop:8}},"\u4E0A\u4F20")),ut=(Y,he)=>{const Me=new FileReader;Me.addEventListener("load",()=>he(Me.result)),Me.readAsDataURL(Y)},Ge=()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return n.createElement("section",{className:it.wrap},n.createElement("div",{className:it.content},n.createElement("div",{className:it.titleWrap},n.createElement("div",{className:it.title},"\u57FA\u672C\u4FE1\u606F")),n.createElement(x.default,{form:N,className:it.formWrap,layout:"horizontal",onValuesChange:ve,onFinish:te,scrollToFirstError:!0},n.createElement(x.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${me}\u4E2A\u5B57\u7B26`},{validator:Ce.HJ}],extra:n.createElement("span",null,X.nickname?Rt?"\u663E\u793A\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D":"\u9690\u85CF\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u4F60\u7684\u6635\u79F0":"\u586B\u5199\u6635\u79F0\u540E\u53EF\u8BBE\u7F6E\u59D3\u540D\u8FDB\u884C\u9690\u85CF\uFF08\u5F53\u8FDB\u884C\u59D3\u540D\u641C\u7D22\u65F6\uFF0C\u4F1A\u5C55\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D\uFF09")},n.createElement(L.default,{style:{height:40},disabled:X.nickname?!Rt:!1,placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${me}\u4E2A\u5B57\u7B26`,maxLength:me,suffix:X.nickname?n.createElement("i",{style:{lineHeight:"26px"},className:`iconfont ${Rt?"icon-xianshi":"icon-yincang"} font18 ${it.color0152d9}`,onClick:j}):null})),n.createElement(Z.Z,{gutter:[10,0]},n.createElement(K.Z,null,n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},n.createElement(i.default,{style:{width:135},size:"large"},n.createElement(tt,{value:"teacher"},"\u6559\u5E08"),n.createElement(tt,{value:"student"},"\u5B66\u751F"),n.createElement(tt,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB"))))),n.createElement(K.Z,null,X.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:X.studentNo,name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(Y,he)=>Ae(void 0,null,function*(){var Me,ke;Mn(!1);const ht=yield(0,He.ZP)(`/api/users/accounts/${(Me=Te==null?void 0:Te.userInfo)==null?void 0:Me.user_id}/valid_student_id`,{method:"get",params:{school_id:((ke=Ke==null?void 0:Ke.find(ft=>ft.name===X.school))==null?void 0:ke.id)||(k==null?void 0:k.school_id),student_id:he}});return(ht==null?void 0:ht.status)<-1&&tn&&(Xe(!0),Nn(!1)),(ht==null?void 0:ht.status)<-1?Promise.reject(n.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",n.createElement("a",{onClick:()=>{Xe(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},n.createElement(L.default,{size:"large",style:{width:320},type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",showCount:!0,maxLength:20}))),X.identity==="teacher"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:X.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u6559\u6388"},"\u6559\u6388"),n.createElement(tt,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),n.createElement(tt,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),X.identity==="professional"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:X.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),(X.identity==="teacher"||X.identity==="professional")&&n.createElement(K.Z,{flex:1},n.createElement(x.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",labelCol:{span:4},rules:[{validator:(Y,he)=>he===null||he===""||he===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(he)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):he.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},n.createElement(L.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",className:it.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",wrapperCol:{span:10},extra:!Pt&&X.school&&!(Ke!=null&&Ke.find(Y=>Y.name===X.school))&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",X.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",X.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:X.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},n.createElement(_.Z,{status:bn,size:"large",showSearch:!0,onChange:I,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"},lt.map((Y,he)=>n.createElement(tt,{key:he,value:Y.name},Y.name)))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",wrapperCol:{span:10},extra:!Pt&&X.department&&!(w!=null&&w.find(Y=>Y.name===X.department))&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},X.department?`\u672A\u627E\u5230\u5305\u542B\u201C${X.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),n.createElement("span",{className:it.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Ge()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(_.Z,{status:_n,size:"large",placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",onChange:Y=>{Y==""&&(N.setFieldsValue({major_name:""}),Le(st(st({},N.getFieldsValue()),{major_name:""})),Tt([]),dt([]),Ie("")),ee(),Ve(w.filter(he=>he.name.includes(Y)))}},Ze.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.name},Y.name,(Y==null?void 0:Y.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),X.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",wrapperCol:{span:10},extra:Be==="error"&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},"\u672A\u627E\u5230\u201C",X.major_name,"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",X.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:X.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(_.Z,{status:Be,size:"large",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",onChange:Y=>{if(dt(ot.filter(he=>he.name.includes(Y))),Y&&(ot==null?void 0:ot.length)==0){Ie("error");return}if(Y==""){Ie("");return}if(Y&&(ot==null?void 0:ot.length)>0&&ot.find(he=>he.name===Y)){Ie("");return}}},ct.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.name},Y.name,(Y==null?void 0:Y.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(x.default.Item,{label:"\u6635\u79F0",name:"nickname",rules:[{message:"\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0"},{validator:Ce.G7}],validateTrigger:"onSubmit"},n.createElement(L.default,{style:{height:40},placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0\uFF0C\u6700\u5927\u9650\u5236${Qe}\u4E2A\u5B57\u7B26`,maxLength:Qe,suffix:`${((f=X.nickname)==null?void 0:f.length)||0}/${Qe}`})),n.createElement(x.default.Item,{labelCol:{span:3},wrapperCol:{span:4},label:"\u6027\u522B",className:"mb0"},n.createElement(x.default.Item,{name:"gender"},n.createElement(M.ZP.Group,null,n.createElement(M.ZP,{value:0},"\u7537"),n.createElement(M.ZP,{value:1},"\u5973")))),n.createElement(x.default.Item,{label:"\u5165\u5B66\u5E74\u4EFD",name:"edu_entry_year",wrapperCol:{span:10}},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u5165\u5B66\u5E74\u4EFD",size:"large"},v())),n.createElement(x.default.Item,{label:"\u6700\u9AD8\u5B66\u5386",wrapperCol:{span:10},name:"edu_background"},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u6700\u9AD8\u5B66\u5386",size:"large"},Ce.jh.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.id},Y.name)}))),n.createElement("div",{style:{display:"flex"}},n.createElement(x.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167",wrapperCol:{span:10},name:"face_image"},n.createElement(P.default,{listType:"picture-card",withCredentials:!0,className:"avatar-uploader",fileList:rn,onPreview:Y=>{y.Z.publish("preview-image",Y.thumbUrl||Y.url)},action:`${de.Z.API_SERVER}/api/attachments.json`,beforeUpload:Y=>{const he=Y.type==="image/jpeg"||Y.type==="image/png";if(!he)return D.ZP.error("\u60A8\u4E0A\u4F20\u7684\u4E0D\u662FJPG/PNG\u7C7B\u578B\u6587\u4EF6"),Promise.reject();const Me=Y.size/1024/1024<1;return Me?he&&Me:(D.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E1MB"),Promise.reject())},onChange:Y=>{xn([...Y.fileList])}},(rn==null?void 0:rn.length)>0?null:Ne)),n.createElement("div",{style:{marginLeft:16,color:"#666666",display:"flex",flexDirection:"column",marginTop:5}},n.createElement("span",null,"\u8981\u6C42\uFF1A"),n.createElement("span",null,"1.\u5B66\u751F\u7167\u7247\u5FC5\u987B\u4E3A\u9AD8\u6E05\u7684\u4EBA\u8138\u7167"),n.createElement("span",null,"2.\u6309\u7167 \u59D3\u540D-\u5B66\u53F7 \u7684\u65B9\u5F0F\u6765\u547D\u540D\u7167\u7247"),n.createElement("span",null,"3.\u56FE\u7247\u5927\u5C0F\u57281MB\u4EE5\u5185"))),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u7B80\u4ECB",name:"brief_introduction",rules:[{required:!1}]},n.createElement(J,{maxLength:500,rows:6})),n.createElement("div",{style:{position:"absolute",bottom:10,right:10}},(se=N.getFieldValue("brief_introduction"))==null?void 0:se.length,"/500")),n.createElement(x.default.Item,null,n.createElement(pe.ZP,{className:`${V.actionTabs.type===2?it.submitButtondiv:it.submitButton} ml100`,size:"middle",type:"primary",onClick:()=>{Nn(!0),N.submit()},loading:g["account/editAccount"]},"\u4FDD\u5B58"),n.createElement(pe.ZP,{className:it.submitButton,size:"middle",onClick:()=>d.history.push("/account/profile")},"\u53D6\u6D88")))),n.createElement("div",{className:`${it.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),n.createElement(Fe.Z,{visible:G.actionTabs.key==="Account-AppplySchool",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolName:X.school,onSuccess:oe}),n.createElement(Pe.Z,{visible:G.actionTabs.key==="Account-AppplyDepartment",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolId:(q=Ke.find(Y=>Y.name===X.school))==null?void 0:q.id,schoolName:X.school,departmentName:X.department,onSuccess:Y=>O(X.school,Y)}),n.createElement(H.Z,{visible:G.actionTabs.key==="Account-AppplyProfession",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},departmentId:($=w.find(Y=>Y.name===X.department))==null?void 0:$.id,departmentName:X.department,majorName:X.major_name,onSuccess:Y=>{N.setFieldsValue({major_name:Y}),Le(st(st({},N.getFieldsValue()),{major_name:Y})),ee()}}),n.createElement(E.default,{centered:!0,destroyOnClose:!0,open:Ht,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:560,footer:null,onCancel:()=>{Xt(!1)}},n.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},n.createElement("aside",{style:{letterSpacing:1}},"\u57FA\u4E8E\u60A8\u6240\u5728\u9662\u6821\u4E0E\u5E73\u53F0\u6709\u6DF1\u5EA6\u5408\u4F5C\uFF0C\u6211\u4EEC\u7279\u610F\u4E3A\u60A8\u914D\u5907\u4E86\u5E73\u53F0\u76841\u5BF91\u52A9\u6559\uFF0C\u60A8\u53EF\u4EE5\u626B\u63CF\u4E0B\u65B9\u4E8C\u7EF4\u7801\u6DFB\u52A0\u52A9\u7406\u5FAE\u4FE1\uFF0C\u6211\u4EEC\u5C067*24\u5C0F\u65F6\u4E3A\u60A8\u7B54\u7591\u89E3\u60D1\u3002"),n.createElement("img",{className:"mt20 mb20",src:b,width:162,height:162}))),n.createElement(E.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:C,centered:!0,destroyOnClose:!0,onCancel:()=>{Xe(!1),U.resetFields()},onOk:()=>{U.submit()}},n.createElement(x.default,{form:U,size:"large",onValuesChange:(Y,he)=>{c(he)},onFinish:Y=>Ae(void 0,null,function*(){var he,Me;(yield(0,He.ZP)(`/api/users/accounts/${(he=Te==null?void 0:Te.userInfo)==null?void 0:he.user_id}/unbind_student_id.json`,{method:"post",body:st({student_id:X.studentNo,school_id:((Me=Ke==null?void 0:Ke.find(ht=>ht.name===X.school))==null?void 0:Me.id)||(k==null?void 0:k.school_id),check_type:4},Y)})).status==0&&(D.ZP.success("\u89E3\u7ED1\u6210\u529F"),N.validateFields(),U.resetFields(),Xe(!1))})},n.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",X.studentNo||N.getFieldValue("studentNo"),"\uFF09\u5728",X.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",n.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),n.createElement(x.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${X==null?void 0:X.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},n.createElement(L.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${X==null?void 0:X.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),n.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",n.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),n.createElement(le.Z,null),n.createElement(Ye.Z,null))};var Je=(0,d.connect)(({user:je,account:bt,loading:Te,globalSetting:G,shixunHomeworks:R})=>({user:je,account:bt,globalSetting:G,loading:Te.effects,shixunHomeworks:R}))(ie)},67585:function(an,_e,t){t.d(_e,{Z:function(){return y}});var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(62957),D=t(70858),E=t(6767),Z=t(79939),K=t(7939),r=t(29679),_=t(19248),M=t(26221),P={flexRow:"flexRow___qRWfN",flexColumn:"flexColumn___qUHfF",formWrap:"formWrap___kSgvX",example:"example___D0a_H",footerWrap:"footerWrap___kTeYf"},pe=Object.defineProperty,it=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ye=(He,Oe,ne)=>Oe in He?pe(He,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ne}):He[Oe]=ne,b=(He,Oe)=>{for(var ne in Oe||(Oe={}))Fe.call(Oe,ne)&&Ye(He,ne,Oe[ne]);if(it)for(var ne of it(Oe))Pe.call(Oe,ne)&&Ye(He,ne,Oe[ne]);return He},Ce=(He,Oe)=>{var ne={};for(var Re in He)Fe.call(He,Re)&&Oe.indexOf(Re)<0&&(ne[Re]=He[Re]);if(He!=null&&it)for(var Re of it(He))Oe.indexOf(Re)<0&&Pe.call(He,Re)&&(ne[Re]=He[Re]);return ne},s=(He,Oe,ne)=>new Promise((Re,de)=>{var H=T=>{try{ce(ne.next(T))}catch(ze){de(ze)}},n=T=>{try{ce(ne.throw(T))}catch(ze){de(ze)}},ce=T=>T.done?Re(T.value):Promise.resolve(T.value).then(H,n);ce((ne=ne.apply(He,Oe)).next())});const p=(He,Oe)=>Oe.some(ne=>ne.label.toLowerCase().indexOf(He.toLowerCase())>-1),ae=i.default.TextArea,le=He=>{var Oe=He,{account:ne,globalSetting:Re,loading:de,dispatch:H,schoolName:n,visible:ce,onClose:T=()=>{},onSuccess:ze=()=>{}}=Oe,xe=Ce(Oe,["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"]);const[We]=L.default.useForm();(0,e.useEffect)(()=>{We.setFieldsValue({name:n})},[n]);const st=at=>s(void 0,null,function*(){const{name:Ae,city:tt=[],address:J,remarks:Se}=at||{},me=yield H({type:"account/appplySchool",payload:{name:Ae,province:tt[0],city:tt[1],address:J,remarks:Se}});if((me==null?void 0:me.status)==2){const Qe=x.default.confirm({icon:null,width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement(e.Fragment,null,e.createElement("p",null,"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u5355\u4F4D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u5355\u4F4D\uFF1F"),e.createElement(D.default,{columns:[{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"name"},{title:"\u7528\u6237\u6570",width:150,dataIndex:"users_count"}],dataSource:[b({},me)],pagination:!1})),onOk:()=>s(void 0,null,function*(){yield ze(Ae),Qe.destroy(),T()}),onCancel:()=>{Qe.destroy()}});return}T(),me.status==0&&(E.ZP.success("\u65B0\u589E\u5B66\u6821/\u5355\u4F4D\u6210\u529F\uFF01"),ze(Ae))});return e.createElement(x.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce,title:"\u7533\u8BF7\u6DFB\u52A0\u5355\u4F4D\u540D\u79F0",width:"600px",footer:null},e.createElement(L.default,{className:P.formWrap,form:We,labelCol:{span:4},wrapperCol:{span:20},onFinish:st},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u5168\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"}]},e.createElement(i.default,{placeholder:"\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"})),e.createElement("div",{className:`${P.flexRow} ${P.example}`},e.createElement("div",null,"\u793A\u4F8B\uFF1A"),e.createElement("div",{className:P.flexColumn},e.createElement("div",null,e.createElement(r.Z,{style:{color:"rgb(82, 196, 26)"}}),e.createElement("span",{className:"font14 ml5"},"\u6B63\u786E\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u6784")),e.createElement("div",null,e.createElement(_.Z,{style:{color:"red"}}),e.createElement("span",{className:"font14 ml5"},"\u9519\u8BEF\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u67842019\u6625")))),e.createElement(L.default.Item,{label:"\u5730\u533A\uFF1A",name:"city"},e.createElement(Z.Z,{allowClear:!0,size:"middle",options:M.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",showSearch:{matchInputWidth:!0,filter:p}})),e.createElement(L.default.Item,{label:"\u8BE6\u7EC6\u5730\u5740\uFF1A",name:"address"},e.createElement(i.default,{placeholder:"\u8BF7\u586B\u5199\u5B8C\u6574\u7684\u5730\u5740\u4FE1\u606F"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks"},e.createElement(ae,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"})),e.createElement("div",{className:P.footerWrap},e.createElement(L.default.Item,null,e.createElement(K.ZP,{className:"mr5",size:"middle",onClick:()=>{T()}},"\u53D6\u6D88"),e.createElement(K.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:de["account/appplySchool"]},"\u4FDD\u5B58")))))};var y=(0,d.connect)(({account:He,loading:Oe,globalSetting:ne})=>({account:He,globalSetting:ne,loading:Oe.effects}))(le)},26221:function(an,_e,t){t.d(_e,{P:function(){return e}});const e=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},29509:function(an,_e,t){t.d(_e,{o2:function(){return x},yT:function(){return D}});var e=t(94480),d=t(34998);const i=d.i.map(E=>`${E}-inverse`),L=["success","processing","error","default","warning"];function x(E){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(i),(0,e.Z)(d.i)).includes(E):d.i.includes(E)}function D(E){return L.includes(E)}},9981:function(an,_e){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let d=1;d{const x=i[L];x!==void 0&&(e[L]=x)})}return e};_e.Z=t},99402:function(an,_e,t){t.d(_e,{T:function(){return d},n:function(){return e}});function e(i){return["small","middle","large"].includes(i)}function d(i){return i?typeof i=="number"&&!Number.isNaN(i):!1}},86013:function(an,_e,t){var e=t(59301),d=t(19248);const i=L=>{let x;return typeof L=="object"&&(L!=null&&L.clearIcon)?x=L:L&&(x={clearIcon:e.createElement(d.Z,null)}),x};_e.Z=i},97224:function(an,_e,t){t.d(_e,{F:function(){return e}});function e(i){return i!=null&&i===i.window}const d=i=>{var L,x;if(typeof window=="undefined")return 0;let D=0;return e(i)?D=i.pageYOffset:i instanceof Document?D=i.documentElement.scrollTop:(i instanceof HTMLElement||i)&&(D=i.scrollTop),i&&!e(i)&&typeof D!="number"&&(D=(x=((L=i.ownerDocument)!==null&&L!==void 0?L:i).documentElement)===null||x===void 0?void 0:x.scrollTop),D};_e.Z=d},52838:function(an,_e,t){t.d(_e,{Z:function(){return D}});var e=t(37645);function d(E,Z,K,r){if(r===!1)return{adjustX:!1,adjustY:!1};const _=r&&typeof r=="object"?r:{},M={};switch(E){case"top":case"bottom":M.shiftX=Z.arrowOffsetHorizontal*2+K,M.shiftY=!0,M.adjustY=!0;break;case"left":case"right":M.shiftY=Z.arrowOffsetVertical*2+K,M.shiftX=!0,M.adjustX=!0;break}const P=Object.assign(Object.assign({},M),_);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},L={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},x=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(E){const{arrowWidth:Z,autoAdjustOverflow:K,arrowPointAtCenter:r,offset:_,borderRadius:M,visibleFirst:P}=E,pe=Z/2,it={};return Object.keys(i).forEach(Fe=>{const Pe=r&&L[Fe]||i[Fe],Ye=Object.assign(Object.assign({},Pe),{offset:[0,0],dynamicInset:!0});switch(it[Fe]=Ye,x.has(Fe)&&(Ye.autoArrow=!1),Fe){case"top":case"topLeft":case"topRight":Ye.offset[1]=-pe-_;break;case"bottom":case"bottomLeft":case"bottomRight":Ye.offset[1]=pe+_;break;case"left":case"leftTop":case"leftBottom":Ye.offset[0]=-pe-_;break;case"right":case"rightTop":case"rightBottom":Ye.offset[0]=pe+_;break}const b=(0,e.wZ)({contentRadius:M,limitVerticalRadius:!0});if(r)switch(Fe){case"topLeft":case"bottomLeft":Ye.offset[0]=-b.arrowOffsetHorizontal-pe;break;case"topRight":case"bottomRight":Ye.offset[0]=b.arrowOffsetHorizontal+pe;break;case"leftTop":case"rightTop":Ye.offset[1]=-b.arrowOffsetHorizontal*2+pe;break;case"leftBottom":case"rightBottom":Ye.offset[1]=b.arrowOffsetHorizontal*2-pe;break}Ye.overflow=d(Fe,b,Z,K),P&&(Ye.htmlRegion="visibleFirst")}),it}},83010:function(an,_e,t){t.d(_e,{Z:function(){return L}});var e=t(16089);function d(x,D,E,Z){const K=E-D;return x/=Z/2,x<1?K/2*x*x*x+D:K/2*((x-=2)*x*x+2)+D}var i=t(97224);function L(x){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:E=()=>window,callback:Z,duration:K=450}=D,r=E(),_=(0,i.Z)(r),M=Date.now(),P=()=>{const it=Date.now()-M,Fe=d(it>K?K:it,_,x,K);(0,i.F)(r)?r.scrollTo(window.pageXOffset,Fe):r instanceof Document||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=Fe:r.scrollTop=Fe,itE||D},1560:function(an,_e,t){t.d(_e,{Z:function(){return Ye}});var e=t(2738),d=t(45915),i=t(82326),L=t(59301),x=t(92310),D=t.n(x),E=t(11592),Z=t(75030),K=t(48755);const{Option:r}=i.default;function _(b){return(b==null?void 0:b.type)&&(b.type.isSelectOption||b.type.isSelectOptGroup)}const M=(b,Ce)=>{var s;const{prefixCls:p,className:ae,popupClassName:le,dropdownClassName:y,children:He,dataSource:Oe}=b,ne=(0,E.Z)(He);let Re;ne.length===1&&L.isValidElement(ne[0])&&!_(ne[0])&&([Re]=ne);const de=Re?()=>Re:void 0;let H;ne.length&&_(ne[0])?H=He:H=Oe?Oe.map(ze=>{if(L.isValidElement(ze))return ze;switch(typeof ze){case"string":return L.createElement(r,{key:ze,value:ze},ze);case"object":{const{value:xe}=ze;return L.createElement(r,{key:xe,value:xe},ze.text)}default:return}}):[];const{getPrefixCls:n}=L.useContext(K.E_),ce=n("select",p),[T]=(0,Z.Cn)("SelectLike",(s=b.dropdownStyle)===null||s===void 0?void 0:s.zIndex);return L.createElement(i.default,Object.assign({ref:Ce,suffixIcon:null},(0,e.Z)(b,["dataSource","dropdownClassName"]),{prefixCls:ce,popupClassName:le||y,dropdownStyle:Object.assign(Object.assign({},b.dropdownStyle),{zIndex:T}),className:D()(`${ce}-auto-complete`,ae),mode:i.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:de}),H)};var pe=L.forwardRef(M);const{Option:it}=i.default,Fe=(0,d.Z)(pe,"dropdownAlign",b=>(0,e.Z)(b,["visible"])),Pe=pe;Pe.Option=it,Pe._InternalPanelDoNotUseOrYouWillBeFired=Fe;var Ye=Pe},79939:function(an,_e,t){t.d(_e,{Z:function(){return De}});var e=t(94480),d=t(59301),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(42978),Z=t(75931),K=t(37463),r=t(6551),_=t(6089),M=t(18929),P=d.createContext({}),pe=P,it=t(76190),Fe=t(20068),Pe="__rc_cascader_search_mark__",Ye=function(S,A,ve){var j=ve.label,O=j===void 0?"":j;return A.some(function(W){return String(W[O]).toLowerCase().includes(S.toLowerCase())})},b=function(S,A,ve,j){return A.map(function(O){return O[j.label]}).join(" / ")},Ce=function(S,A,ve,j,O,W){var ee=O.filter,oe=ee===void 0?Ye:ee,h=O.render,v=h===void 0?b:h,B=O.limit,te=B===void 0?50:B,we=O.sort;return d.useMemo(function(){var Ne=[];if(!S)return[];function ut(Ge,Y){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ge.forEach(function(Me){if(!(!we&&te!==!1&&te>0&&Ne.length>=te)){var ke=[].concat((0,e.Z)(Y),[Me]),ht=Me[ve.children],ft=he||Me.disabled;if((!ht||ht.length===0||W)&&oe(S,ke,{label:ve.label})){var Ct;Ne.push((0,D.Z)((0,D.Z)({},Me),{},(Ct={disabled:ft},(0,Fe.Z)(Ct,ve.label,v(S,ke,j,ve)),(0,Fe.Z)(Ct,Pe,ke),(0,Fe.Z)(Ct,ve.children,void 0),Ct)))}ht&&ut(Me[ve.children],ke,ft)}})}return ut(A,[]),we&&Ne.sort(function(Ge,Y){return we(Ge[Pe],Y[Pe],S,ve)}),te!==!1&&te>0?Ne.slice(0,te):Ne},[S,A,ve,j,v,W,oe,we,te])},s=Ce,p="__RC_CASCADER_SPLIT__",ae="SHOW_PARENT",le="SHOW_CHILD";function y(u){return u.join(p)}function He(u){return u.map(y)}function Oe(u){return u.split(p)}function ne(u){var S=u||{},A=S.label,ve=S.value,j=S.children,O=ve||"value";return{label:A||"label",value:O,key:O,children:j||"children"}}function Re(u,S){var A,ve;return(A=u.isLeaf)!==null&&A!==void 0?A:!((ve=u[S.children])!==null&&ve!==void 0&&ve.length)}function de(u){var S=u.parentElement;if(S){var A=u.offsetTop-S.offsetTop;A-S.scrollTop<0?S.scrollTo({top:A}):A+u.offsetHeight-S.scrollTop>S.offsetHeight&&S.scrollTo({top:A+u.offsetHeight-S.offsetHeight})}}function H(u,S){return u.map(function(A){var ve;return(ve=A[Pe])===null||ve===void 0?void 0:ve.map(function(j){return j[S.value]})})}function n(u){return Array.isArray(u)&&Array.isArray(u[0])}function ce(u){return u?n(u)?u:(u.length===0?[]:[u]).map(function(S){return Array.isArray(S)?S:[S]}):[]}function T(u,S,A){var ve=new Set(u),j=S();return u.filter(function(O){var W=j[O],ee=W?W.parent:null,oe=W?W.children:null;return W&&W.node.disabled?!0:A===le?!(oe&&oe.some(function(h){return h.key&&ve.has(h.key)})):!(ee&&!ee.node.disabled&&ve.has(ee.key))})}function ze(u,S,A){for(var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,j=S,O=[],W=function(){var h,v,B,te=u[ee],we=(h=j)===null||h===void 0?void 0:h.findIndex(function(ut){var Ge=ut[A.value];return ve?String(Ge)===String(te):Ge===te}),Ne=we!==-1?(v=j)===null||v===void 0?void 0:v[we]:null;O.push({value:(B=Ne==null?void 0:Ne[A.value])!==null&&B!==void 0?B:te,index:we,option:Ne}),j=Ne==null?void 0:Ne[A.children]},ee=0;ee1){var Ct=Ne.slice(0,-1);he(Ct)}else h(!1)},ht=function(){var Ct,It=((Ct=Ge[ut])===null||Ct===void 0?void 0:Ct[A.children])||[],Dt=It.find(function($t){return!$t.disabled});if(Dt){var Mt=[].concat((0,e.Z)(Ne),[Dt[A.value]]);he(Mt)}};d.useImperativeHandle(u,function(){return{onKeyDown:function(Ct){var It=Ct.which;switch(It){case V.Z.UP:case V.Z.DOWN:{var Dt=0;It===V.Z.UP?Dt=-1:It===V.Z.DOWN&&(Dt=1),Dt!==0&&Me(Dt);break}case V.Z.LEFT:{if(oe)break;B?ht():ke();break}case V.Z.RIGHT:{if(oe)break;B?ke():ht();break}case V.Z.BACKSPACE:{oe||ke();break}case V.Z.ENTER:{if(Ne.length){var Mt=Ge[ut],$t=(Mt==null?void 0:Mt[Pe])||[];$t.length?O($t.map(function(Et){return Et[A.value]}),$t[$t.length-1]):O(Ne,Ge[ut])}break}case V.Z.ESC:h(!1),v&&Ct.stopPropagation()}},onKeyUp:function(){}}})},fe=d.forwardRef(function(u,S){var A,ve,j,O=u.prefixCls,W=u.multiple,ee=u.searchValue,oe=u.toggleOpen,h=u.notFoundContent,v=u.direction,B=u.open,te=u.disabled,we=d.useRef(null),Ne=v==="rtl",ut=d.useContext(pe),Ge=ut.options,Y=ut.values,he=ut.halfValues,Me=ut.fieldNames,ke=ut.changeOnSelect,ht=ut.onSelect,ft=ut.searchOptions,Ct=ut.dropdownPrefixCls,It=ut.loadData,Dt=ut.expandTrigger,Mt=Ct||O,$t=d.useState([]),Et=(0,E.Z)($t,2),Jt=Et[0],At=Et[1],sn=function(yn){if(!(!It||ee)){var dn=ze(yn,Ge,Me),Kn=dn.map(function($n){var er=$n.option;return er}),Xn=Kn[Kn.length-1];if(Xn&&!Re(Xn,Me)){var ar=y(yn);At(function($n){return[].concat((0,e.Z)($n),[ar])}),It(Kn)}}};d.useEffect(function(){Jt.length&&Jt.forEach(function(Bn){var yn=Oe(Bn),dn=ze(yn,Ge,Me,!0).map(function(Xn){var ar=Xn.option;return ar}),Kn=dn[dn.length-1];(!Kn||Kn[Me.children]||Re(Kn,Me))&&At(function(Xn){return Xn.filter(function(ar){return ar!==Bn})})})},[Ge,Jt,Me]);var Gt=d.useMemo(function(){return new Set(He(Y))},[Y]),Yt=d.useMemo(function(){return new Set(He(he))},[he]),nn=R(W,B),fn=(0,E.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(yn){Qt(yn),sn(yn)},qe=function(yn){if(te)return!1;var dn=yn.disabled,Kn=Re(yn,Me);return!dn&&(Kn||ke||W)},mt=function(yn,dn){var Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ht(yn),!W&&(dn||ke&&(Dt==="hover"||Kn))&&oe(!1)},Kt=d.useMemo(function(){return ee?ft:Ge},[ee,ft,Ge]),jt=d.useMemo(function(){for(var Bn=[{options:Kt}],yn=Kt,dn=H(yn,Me),Kn=function(){var $n=Zt[Xn],er=yn.find(function(Sr,Fr){return(dn[Fr]?y(dn[Fr]):Sr[Me.value])===$n}),Wn=er==null?void 0:er[Me.children];if(!(Wn!=null&&Wn.length))return 1;yn=Wn,Bn.push({options:Wn})},Xn=0;Xn":Y,Me=A.loadingIcon,ke=A.direction,ht=A.notFoundContent,ft=ht===void 0?"Not Found":ht,Ct=A.disabled,It=!!oe,Dt=(0,se.C8)(h,{value:v,postState:ce}),Mt=(0,E.Z)(Dt,2),$t=Mt[0],Et=Mt[1],Jt=d.useMemo(function(){return ne(B)},[JSON.stringify(B)]),At=Ae(Jt,ee),sn=(0,E.Z)(At,3),Gt=sn[0],Yt=sn[1],nn=sn[2],fn=We(Gt,Jt),Zt=Qe(It,$t,Yt,nn,fn),Qt=(0,E.Z)(Zt,3),Ft=Qt[0],qe=Qt[1],mt=Qt[2],Kt=(0,se.zX)(function(cn){if(Et(cn),we){var Rn=ce(cn),Bn=Rn.map(function(Kn){return ze(Kn,Gt,Jt).map(function(Xn){return Xn.option})}),yn=It?Rn:Rn[0],dn=It?Bn:Bn[0];we(yn,dn)}}),jt=me(It,Kt,Ft,qe,mt,Yt,nn,Ne),qt=(0,se.zX)(function(cn){jt(cn)}),un=d.useMemo(function(){return{options:Gt,fieldNames:Jt,values:Ft,halfValues:qe,changeOnSelect:te,onSelect:qt,checkable:oe,searchOptions:[],dropdownPrefixCls:void 0,loadData:ut,expandTrigger:Ge,expandIcon:he,loadingIcon:Me,dropdownMenuColumnStyle:void 0}},[Gt,Jt,Ft,qe,te,qt,oe,ut,Ge,he,Me]),on="".concat(j,"-panel"),en=!Gt.length;return d.createElement(pe.Provider,{value:un},d.createElement("div",{className:L()(on,(S={},(0,Fe.Z)(S,"".concat(on,"-rtl"),ke==="rtl"),(0,Fe.Z)(S,"".concat(on,"-empty"),en),S),W),style:O},en?ft:d.createElement(z,{prefixCls:j,searchValue:"",multiple:It,toggleOpen:q,open:!0,direction:ke,disabled:Ct})))}function N(u){var S=u.onPopupVisibleChange,A=u.popupVisible,ve=u.popupClassName,j=u.popupPlacement;warning(!S,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(A===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ve===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(j===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function U(u,S){if(u){var A=function ve(j){for(var O=0;O":sn,Yt=u.loadingIcon,nn=u.children,fn=u.dropdownMatchSelectWidth,Zt=fn===void 0?!1:fn,Qt=u.showCheckedStrategy,Ft=Qt===void 0?ae:Qt,qe=u.optionRender,mt=(0,Z.Z)(u,c),Kt=(0,r.ZP)(A),jt=!!B,qt=(0,M.Z)(W,{value:ee,postState:ce}),un=(0,E.Z)(qt,2),on=un[0],en=un[1],cn=d.useMemo(function(){return ne(O)},[JSON.stringify(O)]),Rn=Ae(cn,he),Bn=(0,E.Z)(Rn,3),yn=Bn[0],dn=Bn[1],Kn=Bn[2],Xn=(0,M.Z)("",{value:Ne,postState:function(cr){return cr||""}}),ar=(0,E.Z)(Xn,2),$n=ar[0],er=ar[1],Wn=function(cr,pr){er(cr),pr.source!=="blur"&&ut&&ut(cr)},Sr=J(Ge),Fr=(0,E.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=s($n,yn,cn,Me||j,Cr,oe||jt),En=We(yn,cn),Hn=Qe(jt,on,dn,Kn,En),lr=(0,E.Z)(Hn,3),fr=lr[0],Gn=lr[1],ur=lr[2],yr=d.useMemo(function(){var zn=He(fr),cr=T(zn,dn,Ft);return[].concat((0,e.Z)(ur),(0,e.Z)(Kn(cr)))},[fr,dn,Kn,ur,Ft]),gr=xe(yr,yn,cn,jt,v),br=(0,_.Z)(function(zn){if(en(zn),h){var cr=ce(zn),pr=cr.map(function(tr){return ze(tr,yn,cn).map(function(Dr){return Dr.option})}),eo=jt?cr:cr[0],In=jt?pr:pr[0];h(eo,In)}}),Br=me(jt,br,fr,Gn,ur,dn,Kn,Ft),wr=(0,_.Z)(function(zn){(!jt||we)&&er(""),Br(zn)}),Tr=function(cr,pr){if(pr.type==="clear"){br([]);return}var eo=pr.values[0],In=eo.valueCells;wr(In)},Qr=ft!==void 0?ft:ht,Or=It||Ct,zr=Et||$t,qr=function(cr){Jt==null||Jt(cr),At==null||At(cr)},Vn=d.useMemo(function(){return{options:yn,fieldNames:cn,values:fr,halfValues:Gn,changeOnSelect:oe,onSelect:wr,checkable:B,searchOptions:vr,dropdownPrefixCls:Me,loadData:ke,expandTrigger:Y,expandIcon:Gt,loadingIcon:Yt,dropdownMenuColumnStyle:Dt,optionRender:qe}},[yn,cn,fr,Gn,oe,wr,B,vr,Me,ke,Y,Gt,Yt,Dt,qe]),sr=!($n?vr:yn).length,kn=$n&&Cr.matchInputWidth||sr?{}:{minWidth:"auto"};return d.createElement(pe.Provider,{value:Vn},d.createElement(K.Ac,(0,x.Z)({},mt,{ref:S,id:Kt,prefixCls:j,autoClearSearchValue:we,dropdownMatchSelectWidth:Zt,dropdownStyle:(0,D.Z)((0,D.Z)({},kn),Mt),displayValues:gr,onDisplayValuesChange:Tr,mode:jt?"multiple":void 0,searchValue:$n,onSearch:Wn,showSearch:$r,OptionList:f,emptyOptions:sr,open:Qr,dropdownClassName:Or,placement:zr,onDropdownVisibleChange:qr,getRawInputElement:function(){return nn}})))});C.SHOW_PARENT=ae,C.SHOW_CHILD=le,C.Panel=$;var Xe=C,X=Xe,Le=t(2738),Ke=t(75030),nt=t(86641),lt=t(45915),et=t(82855),w=t(48755),ge=t(38406),Ze=t(2171),Ve=t(83397),ot=t(31756),Tt=t(56553),ct=t(24971),dt=t(1722),Rt=t(90376),Vt=t(68525),Ht=t(90005),Xt=t(70045);function wt(u,S){const{getPrefixCls:A,direction:ve,renderEmpty:j}=d.useContext(w.E_),O=S||ve,W=A("select",u),ee=A("cascader",u);return[W,ee,O,j]}var Ut=wt;function yt(u,S){return d.useMemo(()=>S?d.createElement("span",{className:`${u}-checkbox-inner`}):!1,[S])}var Bt=t(33853),Pt=t(58617),kt=t(38819),pt=(u,S,A)=>{let ve=A;A||(ve=S?d.createElement(Bt.Z,null):d.createElement(kt.Z,null));const j=d.createElement("span",{className:`${u}-menu-item-loading-icon`},d.createElement(Pt.Z,{spin:!0}));return d.useMemo(()=>[ve,j],[ve])},Lt=t(56119),ln=t(16931),rn=t(36237),xn=t(36170),Dn=t(63356),tn=u=>{const{prefixCls:S,componentCls:A}=u,ve=`${A}-menu-item`,j=` +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[576],{89489:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},59477:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},40001:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},26227:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},49198:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},84105:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},41464:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},18785:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},73331:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},15277:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},52671:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},8657:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},56082:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},33853:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},15075:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},62772:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},43531:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},61485:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},47472:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},L=i,x=t(7657),D=function(r,_){return d.createElement(x.Z,(0,e.Z)({},r,{ref:_,icon:L}))},E=d.forwardRef(D),Z=E},65030:function(an,_e,t){t.d(_e,{Z:function(){return G}});var e=t(33885),d=t(42978),i=t(75931),L=t(43403),x=t(92310),D=t.n(x),E=t(29301),Z=t(76846),K=t(96452),r=t(6089),_=t(80402),M=t(34280),P=t(49658),pe=t(59301),it=t(54476),Fe=t(77900),Pe=t(8654);function Ye(R){var U=R.prefixCls,g=R.align,fe=R.arrow,z=R.arrowPos,o=fe||{},f=o.className,se=o.content,q=z.x,$=q===void 0?0:q,N=z.y,X=N===void 0?0:N,ue=pe.useRef();if(!g||!g.points)return null;var c={position:"absolute"};if(g.autoArrow!==!1){var C=g.points[0],Xe=g.points[1],W=C[0],Le=C[1],Ke=Xe[0],nt=Xe[1];W===Ke||!["t","b"].includes(W)?c.top=X:W==="t"?c.top=0:c.bottom=0,Le===nt||!["l","r"].includes(Le)?c.left=$:Le==="l"?c.left=0:c.right=0}return pe.createElement("div",{ref:ue,className:D()("".concat(U,"-arrow"),f),style:c},se)}function b(R){var U=R.prefixCls,g=R.open,fe=R.zIndex,z=R.mask,o=R.motion;return z?pe.createElement(Fe.default,(0,it.Z)({},o,{motionAppear:!0,visible:g,removeOnLeave:!0}),function(f){var se=f.className;return pe.createElement("div",{style:{zIndex:fe},className:D()("".concat(U,"-mask"),se)})}):null}var Ce=pe.memo(function(R){var U=R.children;return U},function(R,U){return U.cache}),s=Ce,p=pe.forwardRef(function(R,U){var g=R.popup,fe=R.className,z=R.prefixCls,o=R.style,f=R.target,se=R.onVisibleChanged,q=R.open,$=R.keepDom,N=R.fresh,X=R.onClick,ue=R.mask,c=R.arrow,C=R.arrowPos,Xe=R.align,W=R.motion,Le=R.maskMotion,Ke=R.forceRender,nt=R.getPopupContainer,lt=R.autoDestroy,et=R.portal,w=R.zIndex,ge=R.onMouseEnter,Ze=R.onMouseLeave,Ve=R.onPointerEnter,ot=R.onPointerDownCapture,Tt=R.ready,ct=R.offsetX,dt=R.offsetY,Rt=R.offsetR,Vt=R.offsetB,Ht=R.onAlign,Xt=R.onPrepare,wt=R.stretch,Ut=R.targetWidth,yt=R.targetHeight,Bt=typeof g=="function"?g():g,Pt=q||$,kt=(nt==null?void 0:nt.length)>0,Wt=pe.useState(!nt||!kt),pt=(0,d.Z)(Wt,2),Lt=pt[0],ln=pt[1];if((0,M.Z)(function(){!Lt&&kt&&f&&ln(!0)},[Lt,kt,f]),!Lt)return null;var rn="auto",xn={left:"-1000vw",top:"-1000vh",right:rn,bottom:rn};if(Tt||!q){var Dn,Mn=Xe.points,tn=Xe.dynamicInset||((Dn=Xe._experimental)===null||Dn===void 0?void 0:Dn.dynamicInset),Nn=tn&&Mn[0][1]==="r",Pn=tn&&Mn[0][0]==="b";Nn?(xn.right=Rt,xn.left=rn):(xn.left=ct,xn.right=rn),Pn?(xn.bottom=Vt,xn.top=rn):(xn.top=dt,xn.bottom=rn)}var bn={};return wt&&(wt.includes("height")&&yt?bn.height=yt:wt.includes("minHeight")&&yt&&(bn.minHeight=yt),wt.includes("width")&&Ut?bn.width=Ut:wt.includes("minWidth")&&Ut&&(bn.minWidth=Ut)),q||(bn.pointerEvents="none"),pe.createElement(et,{open:Ke||Pt,getContainer:nt&&function(){return nt(f)},autoDestroy:lt},pe.createElement(b,{prefixCls:z,open:q,zIndex:w,mask:ue,motion:Le}),pe.createElement(E.Z,{onResize:Ht,disabled:!q},function(Fn){return pe.createElement(Fe.default,(0,it.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ke,leavedClassName:"".concat(z,"-hidden")},W,{onAppearPrepare:Xt,onEnterPrepare:Xt,visible:q,onVisibleChanged:function(Jn){var Be;W==null||(Be=W.onVisibleChanged)===null||Be===void 0||Be.call(W,Jn),se(Jn)}}),function(_n,Jn){var Be=_n.className,Ie=_n.style,I=D()(z,Be,fe);return pe.createElement("div",{ref:(0,Pe.sQ)(Fn,U,Jn),className:I,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(C.x||0,"px"),"--arrow-y":"".concat(C.y||0,"px")},xn),bn),Ie),{},{boxSizing:"border-box",zIndex:w},o),onMouseEnter:ge,onMouseLeave:Ze,onPointerEnter:Ve,onClick:X,onPointerDownCapture:ot},c&&pe.createElement(Ye,{prefixCls:z,arrow:c,arrowPos:C,align:Xe}),pe.createElement(s,{cache:!q&&!N},Bt))})}))}),ae=p,le=pe.forwardRef(function(R,U){var g=R.children,fe=R.getTriggerDOMNode,z=(0,Pe.Yr)(g),o=pe.useCallback(function(se){(0,Pe.mH)(U,fe?fe(se):se)},[fe]),f=(0,Pe.x1)(o,(0,Pe.C4)(g));return z?pe.cloneElement(g,{ref:f}):g}),y=le,He=pe.createContext(null),Oe=He;function ne(R){return R?Array.isArray(R)?R:[R]:[]}function Re(R,U,g,fe){return pe.useMemo(function(){var z=ne(g!=null?g:U),o=ne(fe!=null?fe:U),f=new Set(z),se=new Set(o);return R&&(f.has("hover")&&(f.delete("hover"),f.add("click")),se.has("hover")&&(se.delete("hover"),se.add("click"))),[f,se]},[R,U,g,fe])}var de=t(29194);function H(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=arguments.length>2?arguments[2]:void 0;return g?R[0]===U[0]:R[0]===U[0]&&R[1]===U[1]}function n(R,U,g,fe){for(var z=g.points,o=Object.keys(R),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(R)?U:R}function We(R){return xe(parseFloat(R),0)}function st(R,U){var g=(0,e.Z)({},R);return(U||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var z=T(fe).getComputedStyle(fe),o=z.overflow,f=z.overflowClipMargin,se=z.borderTopWidth,q=z.borderBottomWidth,$=z.borderLeftWidth,N=z.borderRightWidth,X=fe.getBoundingClientRect(),ue=fe.offsetHeight,c=fe.clientHeight,C=fe.offsetWidth,Xe=fe.clientWidth,W=We(se),Le=We(q),Ke=We($),nt=We(N),lt=xe(Math.round(X.width/C*1e3)/1e3),et=xe(Math.round(X.height/ue*1e3)/1e3),w=(C-Xe-Ke-nt)*lt,ge=(ue-c-W-Le)*et,Ze=W*et,Ve=Le*et,ot=Ke*lt,Tt=nt*lt,ct=0,dt=0;if(o==="clip"){var Rt=We(f);ct=Rt*lt,dt=Rt*et}var Vt=X.x+ot-ct,Ht=X.y+Ze-dt,Xt=Vt+X.width+2*ct-ot-Tt-w,wt=Ht+X.height+2*dt-Ze-Ve-ge;g.left=Math.max(g.left,Vt),g.top=Math.max(g.top,Ht),g.right=Math.min(g.right,Xt),g.bottom=Math.min(g.bottom,wt)}}),g}function at(R){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,g="".concat(U),fe=g.match(/^(.*)\%$/);return fe?R*(parseFloat(fe[1])/100):parseFloat(g)}function Ae(R,U){var g=U||[],fe=(0,d.Z)(g,2),z=fe[0],o=fe[1];return[at(R.width,z),at(R.height,o)]}function tt(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[R[0],R[1]]}function J(R,U){var g=U[0],fe=U[1],z,o;return g==="t"?o=R.y:g==="b"?o=R.y+R.height:o=R.y+R.height/2,fe==="l"?z=R.x:fe==="r"?z=R.x+R.width:z=R.x+R.width/2,{x:z,y:o}}function Se(R,U){var g={t:"b",b:"t",l:"r",r:"l"};return R.map(function(fe,z){return z===U?g[fe]||"c":fe}).join("")}function me(R,U,g,fe,z,o,f){var se=pe.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:z[fe]||{}}),q=(0,d.Z)(se,2),$=q[0],N=q[1],X=pe.useRef(0),ue=pe.useMemo(function(){return U?ze(U):[]},[U]),c=pe.useRef({}),C=function(){c.current={}};R||C();var Xe=(0,r.Z)(function(){if(U&&g&&R){let Or=function(qr,Vn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,kn=Pt.x+qr,zn=Pt.y+Vn,cr=kn+Pn,pr=zn+Nn,eo=Math.max(kn,sr.left),In=Math.max(zn,sr.top),tr=Math.min(cr,sr.right),Dr=Math.min(pr,sr.bottom);return Math.max(0,(tr-eo)*(Dr-In))},zr=function(){fn=Pt.y+ft,Zt=fn+Nn,Qt=Pt.x+ht,Ft=Qt+Pn};var Ke,nt,lt,et,w=U,ge=w.ownerDocument,Ze=T(w),Ve=Ze.getComputedStyle(w),ot=Ve.position,Tt=w.style.left,ct=w.style.top,dt=w.style.right,Rt=w.style.bottom,Vt=w.style.overflow,Ht=(0,e.Z)((0,e.Z)({},z[fe]),o),Xt=ge.createElement("div");(Ke=w.parentElement)===null||Ke===void 0||Ke.appendChild(Xt),Xt.style.left="".concat(w.offsetLeft,"px"),Xt.style.top="".concat(w.offsetTop,"px"),Xt.style.position=ot,Xt.style.height="".concat(w.offsetHeight,"px"),Xt.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var wt;if(Array.isArray(g))wt={x:g[0],y:g[1],width:0,height:0};else{var Ut,yt,Bt=g.getBoundingClientRect();Bt.x=(Ut=Bt.x)!==null&&Ut!==void 0?Ut:Bt.left,Bt.y=(yt=Bt.y)!==null&&yt!==void 0?yt:Bt.top,wt={x:Bt.x,y:Bt.y,width:Bt.width,height:Bt.height}}var Pt=w.getBoundingClientRect(),kt=Ze.getComputedStyle(w),Wt=kt.height,pt=kt.width;Pt.x=(nt=Pt.x)!==null&&nt!==void 0?nt:Pt.left,Pt.y=(lt=Pt.y)!==null&<!==void 0?lt:Pt.top;var Lt=ge.documentElement,ln=Lt.clientWidth,rn=Lt.clientHeight,xn=Lt.scrollWidth,Dn=Lt.scrollHeight,Mn=Lt.scrollTop,tn=Lt.scrollLeft,Nn=Pt.height,Pn=Pt.width,bn=wt.height,Fn=wt.width,_n={left:0,top:0,right:ln,bottom:rn},Jn={left:-tn,top:-Mn,right:xn-tn,bottom:Dn-Mn},Be=Ht.htmlRegion,Ie="visible",I="visibleFirst";Be!=="scroll"&&Be!==I&&(Be=Ie);var k=Be===I,be=st(Jn,ue),ye=st(_n,ue),m=Be===Ie?ye:be,re=k?ye:m;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var De=w.getBoundingClientRect();w.style.left=Tt,w.style.top=ct,w.style.right=dt,w.style.bottom=Rt,w.style.overflow=Vt,(et=w.parentElement)===null||et===void 0||et.removeChild(Xt);var u=xe(Math.round(Pn/parseFloat(pt)*1e3)/1e3),S=xe(Math.round(Nn/parseFloat(Wt)*1e3)/1e3);if(u===0||S===0||(0,Z.Sh)(g)&&!(0,de.Z)(g))return;var A=Ht.offset,ve=Ht.targetOffset,j=Ae(Pt,A),O=(0,d.Z)(j,2),V=O[0],ee=O[1],oe=Ae(wt,ve),h=(0,d.Z)(oe,2),v=h[0],B=h[1];wt.x-=v,wt.y-=B;var te=Ht.points||[],we=(0,d.Z)(te,2),Ne=we[0],ut=we[1],Ge=tt(ut),Y=tt(Ne),he=J(wt,Ge),Me=J(Pt,Y),ke=(0,e.Z)({},Ht),ht=he.x-Me.x+V,ft=he.y-Me.y+ee,Ct=Or(ht,ft),It=Or(ht,ft,ye),Dt=J(wt,["t","l"]),Mt=J(Pt,["t","l"]),$t=J(wt,["b","r"]),Et=J(Pt,["b","r"]),Jt=Ht.overflow||{},At=Jt.adjustX,sn=Jt.adjustY,Gt=Jt.shiftX,Yt=Jt.shiftY,nn=function(Vn){return typeof Vn=="boolean"?Vn:Vn>=0},fn,Zt,Qt,Ft;zr();var qe=nn(sn),mt=Y[0]===Ge[0];if(qe&&Y[0]==="t"&&(Zt>re.bottom||c.current.bt)){var Kt=ft;mt?Kt-=Nn-bn:Kt=Dt.y-Et.y-ee;var jt=Or(ht,Kt),qt=Or(ht,Kt,ye);jt>Ct||jt===Ct&&(!k||qt>=It)?(c.current.bt=!0,ft=Kt,ee=-ee,ke.points=[Se(Y,0),Se(Ge,0)]):c.current.bt=!1}if(qe&&Y[0]==="b"&&(fnCt||on===Ct&&(!k||en>=It)?(c.current.tb=!0,ft=un,ee=-ee,ke.points=[Se(Y,0),Se(Ge,0)]):c.current.tb=!1}var cn=nn(At),Rn=Y[1]===Ge[1];if(cn&&Y[1]==="l"&&(Ft>re.right||c.current.rl)){var Bn=ht;Rn?Bn-=Pn-Fn:Bn=Dt.x-Et.x-V;var yn=Or(Bn,ft),dn=Or(Bn,ft,ye);yn>Ct||yn===Ct&&(!k||dn>=It)?(c.current.rl=!0,ht=Bn,V=-V,ke.points=[Se(Y,1),Se(Ge,1)]):c.current.rl=!1}if(cn&&Y[1]==="r"&&(QtCt||Xn===Ct&&(!k||ar>=It)?(c.current.lr=!0,ht=Kn,V=-V,ke.points=[Se(Y,1),Se(Ge,1)]):c.current.lr=!1}zr();var $n=Gt===!0?0:Gt;typeof $n=="number"&&(Qtye.right&&(ht-=Ft-ye.right-V,wt.x>ye.right-$n&&(ht+=wt.x-ye.right+$n)));var er=Yt===!0?0:Yt;typeof er=="number"&&(fnye.bottom&&(ft-=Zt-ye.bottom-ee,wt.y>ye.bottom-er&&(ft+=wt.y-ye.bottom+er)));var Wn=Pt.x+ht,Sr=Wn+Pn,Fr=Pt.y+ft,$r=Fr+Nn,Cr=wt.x,vr=Cr+Fn,En=wt.y,Hn=En+bn,lr=Math.max(Wn,Cr),fr=Math.min(Sr,vr),Gn=(lr+fr)/2,ur=Gn-Wn,yr=Math.max(Fr,En),gr=Math.min($r,Hn),br=(yr+gr)/2,Br=br-Fr;f==null||f(U,ke);var wr=De.right-Pt.x-(ht+Pt.width),Tr=De.bottom-Pt.y-(ft+Pt.height);u===1&&(ht=Math.round(ht),wr=Math.round(wr)),S===1&&(ft=Math.round(ft),Tr=Math.round(Tr));var Qr={ready:!0,offsetX:ht/u,offsetY:ft/S,offsetR:wr/u,offsetB:Tr/S,arrowX:ur/u,arrowY:Br/S,scaleX:u,scaleY:S,align:ke};N(Qr)}}),W=function(){X.current+=1;var nt=X.current;Promise.resolve().then(function(){X.current===nt&&Xe()})},Le=function(){N(function(nt){return(0,e.Z)((0,e.Z)({},nt),{},{ready:!1})})};return(0,M.Z)(Le,[fe]),(0,M.Z)(function(){R||Le()},[R]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,W]}var Qe=t(94480);function ie(R,U,g,fe,z){(0,M.Z)(function(){if(R&&U&&g){let X=function(){fe(),z()};var o=U,f=g,se=ze(o),q=ze(f),$=T(f),N=new Set([$].concat((0,Qe.Z)(se),(0,Qe.Z)(q)));return N.forEach(function(ue){ue.addEventListener("scroll",X,{passive:!0})}),$.addEventListener("resize",X,{passive:!0}),fe(),function(){N.forEach(function(ue){ue.removeEventListener("scroll",X),$.removeEventListener("resize",X)})}}},[R,U,g])}var Je=t(48736);function je(R,U,g,fe,z,o,f,se){var q=pe.useRef(R);q.current=R;var $=pe.useRef(!1);pe.useEffect(function(){if(U&&fe&&(!z||o)){var X=function(){$.current=!1},ue=function(lt){var et;q.current&&!f(((et=lt.composedPath)===null||et===void 0||(et=et.call(lt))===null||et===void 0?void 0:et[0])||lt.target)&&!$.current&&se(!1)},c=T(fe);c.addEventListener("pointerdown",X,!0),c.addEventListener("mousedown",ue,!0),c.addEventListener("contextmenu",ue,!0);var C=(0,K.A)(g);if(C&&(C.addEventListener("mousedown",ue,!0),C.addEventListener("contextmenu",ue,!0)),0)var Xe,W,Le,Ke;return function(){c.removeEventListener("pointerdown",X,!0),c.removeEventListener("mousedown",ue,!0),c.removeEventListener("contextmenu",ue,!0),C&&(C.removeEventListener("mousedown",ue,!0),C.removeEventListener("contextmenu",ue,!0))}}},[U,g,fe,z,o]);function N(){$.current=!0}return N}var bt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Te(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L.Z,U=pe.forwardRef(function(g,fe){var z=g.prefixCls,o=z===void 0?"rc-trigger-popup":z,f=g.children,se=g.action,q=se===void 0?"hover":se,$=g.showAction,N=g.hideAction,X=g.popupVisible,ue=g.defaultPopupVisible,c=g.onPopupVisibleChange,C=g.afterPopupVisibleChange,Xe=g.mouseEnterDelay,W=g.mouseLeaveDelay,Le=W===void 0?.1:W,Ke=g.focusDelay,nt=g.blurDelay,lt=g.mask,et=g.maskClosable,w=et===void 0?!0:et,ge=g.getPopupContainer,Ze=g.forceRender,Ve=g.autoDestroy,ot=g.destroyPopupOnHide,Tt=g.popup,ct=g.popupClassName,dt=g.popupStyle,Rt=g.popupPlacement,Vt=g.builtinPlacements,Ht=Vt===void 0?{}:Vt,Xt=g.popupAlign,wt=g.zIndex,Ut=g.stretch,yt=g.getPopupClassNameFromAlign,Bt=g.fresh,Pt=g.alignPoint,kt=g.onPopupClick,Wt=g.onPopupAlign,pt=g.arrow,Lt=g.popupMotion,ln=g.maskMotion,rn=g.popupTransitionName,xn=g.popupAnimation,Dn=g.maskTransitionName,Mn=g.maskAnimation,tn=g.className,Nn=g.getTriggerDOMNode,Pn=(0,i.Z)(g,bt),bn=Ve||ot||!1,Fn=pe.useState(!1),_n=(0,d.Z)(Fn,2),Jn=_n[0],Be=_n[1];(0,M.Z)(function(){Be((0,P.Z)())},[]);var Ie=pe.useRef({}),I=pe.useContext(Oe),k=pe.useMemo(function(){return{registerSubPopup:function(tr,Dr){Ie.current[tr]=Dr,I==null||I.registerSubPopup(tr,Dr)}}},[I]),be=(0,_.Z)(),ye=pe.useState(null),m=(0,d.Z)(ye,2),re=m[0],De=m[1],u=pe.useRef(null),S=(0,r.Z)(function(In){u.current=In,(0,Z.Sh)(In)&&re!==In&&De(In),I==null||I.registerSubPopup(be,In)}),A=pe.useState(null),ve=(0,d.Z)(A,2),j=ve[0],O=ve[1],V=pe.useRef(null),ee=(0,r.Z)(function(In){(0,Z.Sh)(In)&&j!==In&&(O(In),V.current=In)}),oe=pe.Children.only(f),h=(oe==null?void 0:oe.props)||{},v={},B=(0,r.Z)(function(In){var tr,Dr,kr=j;return(kr==null?void 0:kr.contains(In))||((tr=(0,K.A)(kr))===null||tr===void 0?void 0:tr.host)===In||In===kr||(re==null?void 0:re.contains(In))||((Dr=(0,K.A)(re))===null||Dr===void 0?void 0:Dr.host)===In||In===re||Object.values(Ie.current).some(function(Ur){return(Ur==null?void 0:Ur.contains(In))||In===Ur})}),te=ce(o,Lt,xn,rn),we=ce(o,ln,Mn,Dn),Ne=pe.useState(ue||!1),ut=(0,d.Z)(Ne,2),Ge=ut[0],Y=ut[1],he=X!=null?X:Ge,Me=(0,r.Z)(function(In){X===void 0&&Y(In)});(0,M.Z)(function(){Y(X||!1)},[X]);var ke=pe.useRef(he);ke.current=he;var ht=pe.useRef([]);ht.current=[];var ft=(0,r.Z)(function(In){var tr;Me(In),((tr=ht.current[ht.current.length-1])!==null&&tr!==void 0?tr:he)!==In&&(ht.current.push(In),c==null||c(In))}),Ct=pe.useRef(),It=function(){clearTimeout(Ct.current)},Dt=function(tr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;It(),Dr===0?ft(tr):Ct.current=setTimeout(function(){ft(tr)},Dr*1e3)};pe.useEffect(function(){return It},[]);var Mt=pe.useState(!1),$t=(0,d.Z)(Mt,2),Et=$t[0],Jt=$t[1];(0,M.Z)(function(In){(!In||he)&&Jt(!0)},[he]);var At=pe.useState(null),sn=(0,d.Z)(At,2),Gt=sn[0],Yt=sn[1],nn=pe.useState(null),fn=(0,d.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(tr){Qt([tr.clientX,tr.clientY])},qe=me(he,re,Pt&&Zt!==null?Zt:j,Rt,Ht,Xt,Wt),mt=(0,d.Z)(qe,11),Kt=mt[0],jt=mt[1],qt=mt[2],un=mt[3],on=mt[4],en=mt[5],cn=mt[6],Rn=mt[7],Bn=mt[8],yn=mt[9],dn=mt[10],Kn=Re(Jn,q,$,N),Xn=(0,d.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ar.has("click"),Wn=$n.has("click")||$n.has("contextMenu"),Sr=(0,r.Z)(function(){Et||dn()}),Fr=function(){ke.current&&Pt&&Wn&&Dt(!1)};ie(he,j,re,Sr,Fr),(0,M.Z)(function(){Sr()},[Zt,Rt]),(0,M.Z)(function(){he&&!(Ht!=null&&Ht[Rt])&&Sr()},[JSON.stringify(Xt)]);var $r=pe.useMemo(function(){var In=n(Ht,o,yn,Pt);return D()(In,yt==null?void 0:yt(yn))},[yn,yt,Ht,o,Pt]);pe.useImperativeHandle(fe,function(){return{nativeElement:V.current,popupElement:u.current,forceAlign:Sr}});var Cr=pe.useState(0),vr=(0,d.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=pe.useState(0),fr=(0,d.Z)(lr,2),Gn=fr[0],ur=fr[1],yr=function(){if(Ut&&j){var tr=j.getBoundingClientRect();Hn(tr.width),ur(tr.height)}},gr=function(){yr(),Sr()},br=function(tr){Jt(!1),dn(),C==null||C(tr)},Br=function(){return new Promise(function(tr){yr(),Yt(function(){return tr})})};(0,M.Z)(function(){Gt&&(dn(),Gt(),Yt(null))},[Gt]);function wr(In,tr,Dr,kr){v[In]=function(Ur){var Uo;kr==null||kr(Ur),Dt(tr,Dr);for(var $o=arguments.length,Yo=new Array($o>1?$o-1:0),wo=1;wo<$o;wo++)Yo[wo-1]=arguments[wo];(Uo=h[In])===null||Uo===void 0||Uo.call.apply(Uo,[h,Ur].concat(Yo))}}(er||Wn)&&(v.onClick=function(In){var tr;ke.current&&Wn?Dt(!1):!ke.current&&er&&(Ft(In),Dt(!0));for(var Dr=arguments.length,kr=new Array(Dr>1?Dr-1:0),Ur=1;Ur1?Dr-1:0),Ur=1;Ur{var Ye={};for(var b in Fe)r.call(Fe,b)&&Pe.indexOf(b)<0&&(Ye[b]=Fe[b]);if(Fe!=null&&K)for(var b of K(Fe))Pe.indexOf(b)<0&&_.call(Fe,b)&&(Ye[b]=Fe[b]);return Ye},P=(Fe,Pe,Ye)=>new Promise((b,Ce)=>{var s=le=>{try{ae(Ye.next(le))}catch(y){Ce(y)}},p=le=>{try{ae(Ye.throw(le))}catch(y){Ce(y)}},ae=le=>le.done?b(le.value):Promise.resolve(le.value).then(s,p);ae((Ye=Ye.apply(Fe,Pe)).next())});const pe=i.default.TextArea,it=Fe=>{var Pe=Fe,{account:Ye,globalSetting:b,loading:Ce,dispatch:s,schoolName:p,departmentName:ae,visible:le,onClose:y=()=>{},onSuccess:He=()=>{}}=Pe,Oe=M(Pe,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[ne]=L.default.useForm(),Re=(0,e.useRef)(),[de,H]=(0,e.useState)(!1);(0,e.useEffect)(()=>{Re.current=Oe.schoolId},[Oe.schoolId]),(0,e.useEffect)(()=>{ne.setFieldsValue({department:ae})},[ae]);const n=ce=>P(void 0,null,function*(){var T,ze,xe;const{department:We,remarks:st}=ce||{};H(!0);const at=yield(0,Z.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:We,school_id:Re.current}});H(!1);const Ae=()=>P(void 0,null,function*(){const tt=yield s({type:"account/appplyDepartment",payload:{school_id:Re.current,name:We,remarks:st}});(tt==null?void 0:tt.status)===0&&(x.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),He(We),y())});if((at==null?void 0:at.status)===0){if((T=at==null?void 0:at.data)!=null&&T.name){D.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement("div",null,e.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),e.createElement(E.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(ze=at==null?void 0:at.data)==null?void 0:ze.name,size:(xe=at==null?void 0:at.data)==null?void 0:xe.size}],pagination:!1})),onOk:()=>{He(We),y()}});return}Ae()}});return e.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:y,onOk:()=>ne.submit(),confirmLoading:de},e.createElement(L.default,{form:ne,labelCol:{span:4},wrapperCol:{span:20},onFinish:n},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},p),e.createElement(L.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},e.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},e.createElement(pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};_e.Z=(0,d.connect)(({account:Fe,loading:Pe,globalSetting:Ye})=>({account:Fe,globalSetting:Ye,loading:Pe.effects}))(it)},28210:function(an,_e,t){var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(6767),D=t(62957),E=t(98280),Z=t(59301),K=Object.defineProperty,r=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,P=(b,Ce,s)=>Ce in b?K(b,Ce,{enumerable:!0,configurable:!0,writable:!0,value:s}):b[Ce]=s,pe=(b,Ce)=>{for(var s in Ce||(Ce={}))_.call(Ce,s)&&P(b,s,Ce[s]);if(r)for(var s of r(Ce))M.call(Ce,s)&&P(b,s,Ce[s]);return b},it=(b,Ce)=>{var s={};for(var p in b)_.call(b,p)&&Ce.indexOf(p)<0&&(s[p]=b[p]);if(b!=null&&r)for(var p of r(b))Ce.indexOf(p)<0&&M.call(b,p)&&(s[p]=b[p]);return s},Fe=(b,Ce,s)=>new Promise((p,ae)=>{var le=Oe=>{try{He(s.next(Oe))}catch(ne){ae(ne)}},y=Oe=>{try{He(s.throw(Oe))}catch(ne){ae(ne)}},He=Oe=>Oe.done?p(Oe.value):Promise.resolve(Oe.value).then(le,y);He((s=s.apply(b,Ce)).next())});const Pe=i.default.TextArea,Ye=b=>{var Ce=b,{account:s,globalSetting:p,loading:ae,dispatch:le,departmentName:y,majorName:He,visible:Oe,onClose:ne=()=>{},onSuccess:Re=()=>{}}=Ce,de=it(Ce,["account","globalSetting","loading","dispatch","departmentName","majorName","visible","onClose","onSuccess"]);const[H]=L.default.useForm(),n=(0,e.useRef)(),[ce,T]=(0,e.useState)(!1);(0,e.useEffect)(()=>{n.current=de.departmentId},[de.departmentId]),(0,e.useEffect)(()=>{H.setFieldsValue({name:He})},[He]);const ze=xe=>Fe(void 0,null,function*(){yield H.validateFields(),(yield(0,E.ZP)(`/api/departments/${n.current}/majors.json`,{method:"post",body:pe({},H.getFieldsValue())})).status===0&&(x.ZP.success("\u7533\u8BF7\u6210\u529F\uFF01"),Re(H.getFieldValue("name")),H.resetFields(),ne())});return Z.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Oe,title:"\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0",width:"600px",onCancel:ne,onOk:()=>H.submit(),confirmLoading:ce},Z.createElement(L.default,{form:H,labelCol:{span:4},wrapperCol:{span:20},onFinish:ze},Z.createElement(L.default.Item,{label:"\u9662\u7CFB\u540D\u79F0\uFF1A"},y),Z.createElement(L.default.Item,{label:"\u4E13\u4E1A\u540D\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},Z.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",showCount:!0,maxLength:20})),Z.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},Z.createElement(Pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};_e.Z=(0,d.connect)(({account:b,loading:Ce,globalSetting:s})=>({account:b,globalSetting:s,loading:Ce.effects}))(Ye)},98679:function(an,_e,t){t.d(_e,{Z:function(){return L}});var e=t(59301),d=t(59195),i=t(75786),L=()=>{const[x,D]=(0,e.useState)(""),[E,Z]=(0,e.useState)(0);let[K,r]=(0,e.useState)(),[_,M]=(0,e.useState)();const[P,pe]=(0,e.useState)(!1),it=(0,e.useRef)("");(0,e.useEffect)(()=>d.Z.subscribe("preview-image",He=>{D(He),console.log(ae.current)}),[]),(0,e.useEffect)(()=>(document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}),[]),(0,e.useEffect)(()=>{it.current=x},[x]);function Fe(y){console.log("e====",y),y.keyCode==27&&it.current&&Pe()}function Pe(){document.body.style.overflow="auto",r(void 0),M(void 0),Z(0),D("")}function Ye(){Z(E+90)}function b(){K=ae.current.width*1.1,_=ae.current.height*1.1,M(_),r(K)}function Ce(){K=ae.current.width/1.1,_=ae.current.height/1.1,M(_),r(K)}const s=(0,e.useRef)(),p=(0,e.useRef)(),ae=(0,e.useRef)(),le=y=>{(y.nativeEvent.target===s.current||y.nativeEvent.target===p.current)&&Pe()};return e.createElement(e.Fragment,null,x?e.createElement("div",null,e.createElement("div",{className:"preview-wrp-group",ref:p},e.createElement(i.Z,{className:"image-preview",src:x,style:{display:"none"},preview:{visible:!0,src:x,onVisibleChange:y=>{D("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57792:function(an,_e,t){var e=t(59301),d=t(75790),i=t(82326),L=t(94968),x=t(28284),D=t(6767),E=t(62957),Z=t(29787),K=t(77019),r=t(5269),_=t(37568),M=t(25399),P=t(1560),pe=t(7939),it=t(67585),Fe=t(56739),Pe=t(49647),Ye=t(51941),b=t(26294),Ce=t(19374),s=t(89392),p=t.n(s),ae=t(28210),le=t(98280),y=t(59301),He=Object.defineProperty,Oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,n=(Ae,tt,J)=>tt in Ae?He(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:J}):Ae[tt]=J,ce=(Ae,tt)=>{for(var J in tt||(tt={}))de.call(tt,J)&&n(Ae,J,tt[J]);if(Re)for(var J of Re(tt))H.call(tt,J)&&n(Ae,J,tt[J]);return Ae},T=(Ae,tt)=>Oe(Ae,ne(tt)),ze=(Ae,tt)=>{var J={};for(var Se in Ae)de.call(Ae,Se)&&tt.indexOf(Se)<0&&(J[Se]=Ae[Se]);if(Ae!=null&&Re)for(var Se of Re(Ae))tt.indexOf(Se)<0&&H.call(Ae,Se)&&(J[Se]=Ae[Se]);return J},xe=(Ae,tt,J)=>new Promise((Se,me)=>{var Qe=je=>{try{Je(J.next(je))}catch(bt){me(bt)}},ie=je=>{try{Je(J.throw(je))}catch(bt){me(bt)}},Je=je=>je.done?Se(je.value):Promise.resolve(je.value).then(Qe,ie);Je((J=J.apply(Ae,tt)).next())});const We=i.default.Option,st=L.default.Dragger,at=Ae=>{var tt=Ae,{user:J,account:Se,globalSetting:me,loading:Qe,dispatch:ie}=tt,Je=ze(tt,["user","account","globalSetting","loading","dispatch"]),je,bt,Te;const[G]=x.default.useForm(),[R,U]=(0,e.useState)({}),[g,fe]=(0,e.useState)([]),[z,o]=(0,e.useState)([]),[f,se]=(0,e.useState)([]),[q,$]=(0,e.useState)([]),[N,X]=(0,e.useState)([]),[ue,c]=(0,e.useState)([]),[C,Xe]=(0,e.useState)(),[W,Le]=(0,e.useState)(),[Ke,nt]=(0,e.useState)(),[lt,et]=(0,e.useState)(),[w,ge]=(0,e.useState)(),[Ze,Ve]=(0,e.useState)();(0,e.useEffect)(()=>{var pt,Lt,ln,rn;Se.actionTabs.key==="Account-ProfessionalAuth"&&(pt=Se.basicInfo)!=null&&pt.school_id&&(ct((Lt=Se.basicInfo)==null?void 0:Lt.school_id),fe([{id:(ln=Se.basicInfo)==null?void 0:ln.school_id,name:(rn=Se.basicInfo)==null?void 0:rn.school_name}]))},[Se.actionTabs.key]);const ot=(0,e.useRef)((0,s.throttle)(pt=>Tt(pt),1200,{leading:!0,trailing:!0})).current,Tt=pt=>xe(void 0,null,function*(){var Lt,ln;const rn=yield ie({type:"account/getSchoolOption",payload:{keyword:pt,limit:10}});fe(rn==null?void 0:rn.schools),pt&&pt!=""&&(o((Lt=rn==null?void 0:rn.schools)==null?void 0:Lt.filter(Dn=>Dn.name.includes(pt))),(((ln=rn==null?void 0:rn.schools)==null?void 0:ln.find(Dn=>Dn.name===pt))||{}).id?Xt(pt,null,rn==null?void 0:rn.schools):(G.setFieldsValue(T(ce({},G.getFieldsValue()),{department:""})),U(ce(ce({},G.getFieldsValue()),{school:pt,department:""}))))}),ct=pt=>xe(void 0,null,function*(){if(!pt)return;const Lt=yield ie({type:"account/getDepartmentOption",payload:{id:pt}});return se(Lt==null?void 0:Lt.departments),Lt});(0,e.useEffect)(()=>{if(!Se.basicInfo)return;const{basicInfo:pt}=Se,Lt={identity:pt.identity,school:pt.school_name,department:pt.department_name,major_name:pt.major_name,studentNo:pt.student_id,jobTitle:pt.identity=="teacher"?pt.technical_title:"\u6559\u6388",manager:pt.identity=="professional"?pt.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",code_type:2};G.setFieldsValue(Lt),U(Lt)},[Se.basicInfo]);const dt=()=>{et(!0)},Rt=()=>{if(!g.find(pt=>pt.name===R.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}ge(!0)},Vt=()=>{if(!f.find(pt=>pt.name===R.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}Ve(!0)},Ht=pt=>{U(ce({},G.getFieldsValue())),"identity"in pt&&U(T(ce({},G.getFieldsValue()),{code_type:2})),"school"in pt&&(o(g.filter(ln=>ln.name.includes(pt.school))),(g.find(ln=>ln.name===pt.school)||{}).id?Xt(pt.school):(G.setFieldValue("department",""),U(ce(ce({},R),{school:pt.school,department:""}))))},Xt=(pt,Lt,ln)=>xe(void 0,null,function*(){var rn,xn,Dn;const Mn=(rn=(ln||g).find(Pn=>Pn.name===pt))==null?void 0:rn.id,tn=(yield ct(Mn))||{},Nn=Lt||((Dn=(xn=tn==null?void 0:tn.departments)==null?void 0:xn[0])==null?void 0:Dn.name);G.setFieldsValue(T(ce({},G.getFieldsValue()),{department:Nn})),U(ce(ce({},G.getFieldsValue()),{school:pt,department:Nn}))});(0,e.useEffect)(()=>{wt()},[f]);const wt=()=>xe(void 0,null,function*(){var pt,Lt;let ln=(pt=g.find(xn=>xn.name===G.getFieldValue("school")))==null?void 0:pt.id,rn=(Lt=f.find(xn=>xn.name===G.getFieldValue("department")))==null?void 0:Lt.id;if(rn){const xn=yield(0,le.ZP)(`/api/schools/${ln}/departments/${rn}/major_option.json`,{method:"get"});(xn==null?void 0:xn.status)==0&&X(xn==null?void 0:xn.majors)}}),Ut=pt=>xe(void 0,null,function*(){yield Tt(),G.setFieldsValue(T(ce({},G.getFieldsValue()),{school:pt,department:""})),U(ce(ce({},G.getFieldsValue()),{school:pt,department:""}))}),yt=pt=>{var Lt;if(pt.file.status==="uploading"){nt(!0);return}pt.file.status==="done"&&(console.log(pt.file,pt.file.response),Le((Lt=pt.file.response)==null?void 0:Lt.id),(0,Ce.y3)(pt.file.originFileObj,ln=>{Xe(ln),nt(!1)}))},Bt=pt=>xe(void 0,null,function*(){var Lt,ln,rn,xn,Dn,Mn,tn,Nn,Pn,bn;const{school:Fn,department:_n,identity:Jn,studentNo:Be,jobTitle:Ie,manager:I,code_type:k,code:be,major_name:ye}=pt||{};if(!C){D.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const m=(Lt=g.find(A=>A.name===Fn))==null?void 0:Lt.id,re=(ln=f.find(A=>A.name===_n))==null?void 0:ln.id,De=Jn==="student"?(rn=N.find(A=>A.name===ye))==null?void 0:rn.id:null;let u;if(Jn==="student"?u=Be:Jn==="teacher"?u=Ie:u=I,!m){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(xn=me==null?void 0:me.setting)==null?void 0:xn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),y.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(Dn=me==null?void 0:me.setting)==null?void 0:Dn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(_n&&!re){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement(y.Fragment,null,y.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u9662\u7CFB/\u90E8\u95E8\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u90E8\u95E8\uFF1F")),onOk:Rt,onCancel:()=>{A.destroy()}});return}if(Jn==="student"&&ye&&!De){if(G.getFieldValue("identity")=="teacher"){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement(y.Fragment,null,y.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u4E13\u4E1A\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u4E13\u4E1A\uFF1F")),onOk:Vt,onCancel:()=>{A.destroy()}})}else E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(Mn=me==null?void 0:me.setting)==null?void 0:Mn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),y.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(tn=me==null?void 0:me.setting)==null?void 0:tn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const S=yield ie({type:"account/applyProfessionalAuth",payload:{id:((Nn=Se.basicInfo)==null?void 0:Nn.id)||((Pn=J.userInfo)==null?void 0:Pn.login),school_id:m,department_id:re,major_id:De,identity:Jn,extra:u,code:be,code_type:k,attachment_ids:[W]}});Pt(),(S==null?void 0:S.status)===0&&(be?D.ZP.info("\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u901A\u8FC7"):D.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838\uFF01"),Xe(""),ie({type:"account/getBasicInfo",payload:{login:(bn=J.userInfo)==null?void 0:bn.login}}))}),Pt=()=>{G.setFieldValue("code",""),ie({type:"account/setActionTabs",payload:{}})},kt={data:{type:"professional"},multiple:!0,withCredentials:!0,showUploadList:!1,action:`${Pe.Z.API_SERVER}/api/attachments.json`,className:b.Z.uploader,onChange:yt,beforeUpload:pt=>{const Lt=pt.type==="image/jpeg"||pt.type==="image/png"||pt.type==="image/jpg"||pt.type==="image/bmp";return Lt||D.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),Lt}},Wt=()=>{var pt,Lt,ln,rn;E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",R.identity==="teacher"?(pt=me==null?void 0:me.setting)==null?void 0:pt.homepage_tea_qq_number:(Lt=me==null?void 0:me.setting)==null?void 0:Lt.homepage_stu_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),y.createElement("img",{src:R.identity==="teacher"?`${Pe.Z.IMG_SERVER}/${(ln=me==null?void 0:me.setting)==null?void 0:ln.homepage_tea_qq_qrcode_url}`:`${Pe.Z.IMG_SERVER}/${(rn=me==null?void 0:me.setting)==null?void 0:rn.homepage_stu_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return y.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,forceRender:!0,className:b.Z.modal,open:Se.actionTabs.key==="Account-ProfessionalAuth",title:y.createElement("div",null,y.createElement("i",{className:`iconfont icon-zhiyerenzheng font18 mr5 ${b.Z.colorBlue}`}),"\u804C\u4E1A\u8BA4\u8BC1"),width:"660px",footer:null},y.createElement(Z.Z,{spinning:!!Ke},y.createElement(x.default,{form:G,layout:"horizontal",size:"large",scrollToFirstError:!0,className:b.Z.formWrap,onValuesChange:Ht,onFinish:Bt},y.createElement(K.Z,{gutter:[10,0]},y.createElement(r.Z,{flex:"300px"},y.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},y.createElement(i.default,null,y.createElement(We,{value:"teacher"},"\u6559\u5E08"),y.createElement(We,{value:"student"},"\u5B66\u751F"),y.createElement(We,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),R.identity==="student"&&y.createElement(y.Fragment,null,y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.studentNo,name:"studentNo",rules:[{required:!0,message:"\u8BF7\u5148\u8F93\u5165\u5B66\u53F7"}]},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7"}))),y.createElement(r.Z,{flex:0},y.createElement("div",{className:b.Z.tooltipWrapper},y.createElement(M.Z,{title:"\u5355\u4F4D\u7BA1\u7406\u5458\u53EF\u7BA1\u7406\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u5B66\u751F\u8D26\u53F7\u4FE1\u606F\uFF08\u5305\u542B\u521D\u59CB\u5316\u5BC6\u7801\uFF09"},y.createElement("span",{className:b.Z.tips},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"})))))),R.identity==="teacher"&&y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},y.createElement(i.default,null,y.createElement(We,{value:"\u6559\u6388"},"\u6559\u6388"),y.createElement(We,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),y.createElement(We,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),y.createElement(We,{value:"\u52A9\u6559"},"\u52A9\u6559")))),R.identity==="professional"&&y.createElement(r.Z,{flex:1},y.createElement(x.default.Item,{initialValue:R.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},y.createElement(i.default,null,y.createElement(We,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),y.createElement(We,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),y.createElement(We,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),y.createElement(We,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),y.createElement(We,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),y.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:R.school&&!(g!=null&&g.find(pt=>pt.name===R.school))&&y.createElement("div",{className:b.Z.schoolHintWrap},y.createElement("span",{className:b.Z.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",R.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},y.createElement(P.Z,{showSearch:!0,onSearch:ot},z.map((pt,Lt)=>y.createElement(We,{key:Lt,value:pt.name},pt.name)))),y.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",extra:R.department&&!(f!=null&&f.find(pt=>pt.name===R.department))&&y.createElement("div",{className:b.Z.schoolHintWrap},y.createElement("span",{className:b.Z.colorCDCDCD},R.department?`\u672A\u627E\u5230\u5305\u542B\u201C${R.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),y.createElement("span",{className:b.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u9662\u7CFB/\u90E8\u95E8"}]},y.createElement(P.Z,{showSearch:!0,onChange:pt=>{wt(),$(f.filter(Lt=>Lt.name.includes(pt)))}},q.map((pt,Lt)=>y.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&y.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))))),R.identity==="student"&&y.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",extra:G.getFieldValue("major_name")&&!(N!=null&&N.find(pt=>pt.name==G.getFieldValue("major_name")))&&y.createElement("div",{className:b.Z.schoolHintWrap},G.getFieldValue("identity")=="teacher"?y.createElement(y.Fragment,null,y.createElement("span",{className:b.Z.colorCDCDCD},`\u672A\u67E5\u8BE2\u5230\u201C${G.getFieldValue("major_name")}\u201D\u4E13\u4E1A\uFF0C`),y.createElement("span",{className:b.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")):y.createElement("span",{className:b.Z.colorCDCDCD},"\u672A\u627E\u5230\u201C",G.getFieldValue("major_name"),"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",y.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[G.getFieldValue("identity")=="teacher"&&{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u4E13\u4E1A"}]},y.createElement(P.Z,{size:"large",onChange:pt=>{c(N.filter(Lt=>Lt.name.includes(pt)))}},ue.map(function(pt,Lt){return y.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&y.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),R.identity==="student"&&y.createElement(K.Z,{gutter:[10,0],wrap:!1},y.createElement(r.Z,{flex:"240px"},y.createElement(x.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code_type",initialValue:2},y.createElement(i.default,null,y.createElement(We,{value:2},"\u624B\u673A\u53F7"),y.createElement(We,{value:1},"\u9080\u8BF7\u7801")))),y.createElement(r.Z,{flex:1},R.code_type===1?y.createElement(x.default.Item,{name:"code"},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u7684\u9080\u8BF7\u7801",maxLength:10})):y.createElement(x.default.Item,{name:"code"},y.createElement(_.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u4E2D\u6559\u5E08\u7684\u624B\u673A\u53F7\u540E\u516D\u4F4D",maxLength:10}))),y.createElement(M.Z,{title:"\u5F53\u524D\u8D26\u53F7\u7533\u8BF7\u8BA4\u8BC1\u7684\u5355\u4F4D\u4E0E\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u6240\u5C5E\u5355\u4F4D\u9700\u76F8\u540C"},y.createElement(r.Z,{style:{paddingTop:"10px"}},y.createElement("i",{className:"iconfont icon-a-wenhaobeifen2 primary-hover font14",style:{cursor:"pointer"}})))),y.createElement(x.default.Item,{label:"\u804C\u4E1A\u8BC1\u4E0A\u4F20",required:!0},y.createElement("div",{className:b.Z.flexRow},y.createElement("div",{className:`${b.Z.flexColumn} ${b.Z.example}`},y.createElement("span",{className:b.Z.exampleImg},y.createElement("img",{src:Ye})),y.createElement("span",{className:"tc"},y.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),y.createElement("p",{className:`${b.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))),y.createElement("div",{className:b.Z.flexColumn},y.createElement(st,T(ce({},kt),{accept:".png,.jpg,.bmp,.jpeg"}),C?y.createElement("img",{src:C,className:b.Z.uploadImg}):y.createElement("div",{className:b.Z.imageTip},y.createElement("p",null,y.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${b.Z.uploadTipIcon}`})),y.createElement("p",{className:b.Z.uploadTip},y.createElement("a",{className:b.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),y.createElement("span",{className:"tc"},y.createElement("p",{className:b.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))))),y.createElement("div",{className:b.Z.footerWrap},y.createElement(x.default.Item,null,y.createElement(pe.ZP,{className:"mr5",size:"middle",onClick:Pt},"\u53D6\u6D88"),y.createElement(pe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qe["account/applyProfessionalAuth"]},"\u63D0\u4EA4"))),y.createElement("div",{className:b.Z.note},y.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),y.createElement("p",null,"1.\u6839\u636E\u804C\u4E1A\u4E0A\u4F20\u76F8\u5E94\u7684\u8BC1\u4EF6\u7167\uFF1A\u6559\u5E08\uFF08\u6559\u5E08\u8BC1\uFF09\uFF0C\u4E13\u4E1A\u4EBA\u58EB\uFF08\u5458\u5DE5\u8BC1\uFF09\u3001\u5B66\u751F\uFF08\u5B66\u751F\u8BC1\uFF09\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u5185\u5BB9\u5B8C\u6574\u5E76\u4E14\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),y.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u804C\u4E1A\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),y.createElement("p",null,"3.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B\u804C\u4E1A\u53D8\u66F4\u8BF7\u9009\u62E9\u91CD\u65B0\u8BA4\u8BC1\uFF1B"),y.createElement("p",null,"4.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),y.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),y.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u5B66\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u804C\u4E1A\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3",!((je=me==null?void 0:me.setting)!=null&&je.is_local)&&"EduCoder","\u8D26\u53F7\u3002"),y.createElement("p",null,"7.\u975E\u8001\u5E08\u8EAB\u4EFD\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u804C\u4E1A\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))),y.createElement(it.Z,{visible:lt,onClose:()=>et(!1),schoolName:R.school,onSuccess:Ut}),y.createElement(Fe.Z,{visible:w,onClose:()=>ge(!1),schoolId:(bt=g.find(pt=>pt.name===R.school))==null?void 0:bt.id,schoolName:R.school,departmentName:R.department,onSuccess:pt=>Xt(R.school,pt)}),y.createElement(ae.Z,{visible:Ze,onClose:()=>Ve(!1),departmentId:(Te=f.find(pt=>pt.name===R.department))==null?void 0:Te.id,departmentName:R.department,majorName:G.getFieldValue("major_name"),onSuccess:pt=>{G.setFieldsValue({major_name:pt}),U(ce(ce({},G.getFieldsValue()),{major_name:pt})),wt()}}))};_e.Z=(0,d.connect)(({user:Ae,account:tt,loading:J,globalSetting:Se})=>({user:Ae,account:tt,globalSetting:Se,loading:J.effects}))(at)},44770:function(an,_e,t){t.r(_e),t.d(_e,{default:function(){return Je},identityMap:function(){return Se}});var e=t(59301),d=t(75790),i=t(82326),L=t(37568),x=t(28284),D=t(6767),E=t(62957),Z=t(77019),K=t(5269),r=t(25399),_=t(1560),M=t(47889),P=t(94968),pe=t(7939),it={wrap:"wrap___isQuw",content:"content___Gh5i7",hint:"hint___dh6_r",title:"title___Txz11",titleWrap:"titleWrap___p75TL",formWrap:"formWrap___tyQRy",identityWrap:"identityWrap___RmEwo",schoolHintWrap:"schoolHintWrap___WnTDr",colorCDCDCD:"colorCDCDCD___Xq4Mx",color0152d9:"color0152d9___lAjmo",submitButton:"submitButton___LHi3i",submitButtondiv:"submitButtondiv___J6VbH",glow:"glow___jcndc",staffidInput:"staffidInput___M9rEi",selecticon:"selecticon___T9WXy"},Fe=t(67585),Pe=t(56739),Ye=t(57792),b=t(32637),Ce=t(19374),s=t(63497),p=t(58617),ae=t(62772),le=t(98679),y=t(59195),He=t(98280),Oe=t(89392),ne=t(29831),Re=t(75694),de=t(49647),H=t(28210),n=t(59301),ce=Object.defineProperty,T=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,We=(je,bt,Te)=>bt in je?ce(je,bt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):je[bt]=Te,st=(je,bt)=>{for(var Te in bt||(bt={}))ze.call(bt,Te)&&We(je,Te,bt[Te]);if(T)for(var Te of T(bt))xe.call(bt,Te)&&We(je,Te,bt[Te]);return je},at=(je,bt)=>{var Te={};for(var G in je)ze.call(je,G)&&bt.indexOf(G)<0&&(Te[G]=je[G]);if(je!=null&&T)for(var G of T(je))bt.indexOf(G)<0&&xe.call(je,G)&&(Te[G]=je[G]);return Te},Ae=(je,bt,Te)=>new Promise((G,R)=>{var U=z=>{try{fe(Te.next(z))}catch(o){R(o)}},g=z=>{try{fe(Te.throw(z))}catch(o){R(o)}},fe=z=>z.done?G(z.value):Promise.resolve(z.value).then(U,g);fe((Te=Te.apply(je,bt)).next())});const tt=i.default.Option,{TextArea:J}=L.default,Se={teacher:"\u6559\u5E08",student:"\u5B66\u751F",professional:"\u4E13\u4E1A\u4EBA\u58EB"},me=20,Qe=20,ie=je=>{var bt=je,{user:Te,account:G,globalSetting:R,shixunHomeworks:U,loading:g,dispatch:fe}=bt,z=at(bt,["user","account","globalSetting","shixunHomeworks","loading","dispatch"]),o,f,se,q,$;const[N]=x.default.useForm(),[X]=x.default.useForm(),[ue,c]=(0,e.useState)({}),[C,Xe]=(0,e.useState)(!1),[W,Le]=(0,e.useState)({}),[Ke,nt]=(0,e.useState)([]),[lt,et]=(0,e.useState)([]),[w,ge]=(0,e.useState)([]),[Ze,Ve]=(0,e.useState)([]),[ot,Tt]=(0,e.useState)([]),[ct,dt]=(0,e.useState)([]),[Rt,Vt]=(0,e.useState)(!0),[Ht,Xt]=(0,e.useState)(!1),[wt,Ut]=(0,e.useState)(),[yt,Bt]=(0,e.useState)(null),[Pt,kt]=(0,e.useState)(!0),[Wt,pt]=(0,e.useState)(),[Lt,ln]=(0,e.useState)(!1),[rn,xn]=(0,e.useState)([]),[Dn,Mn]=(0,e.useState)(!0),[tn,Nn]=(0,e.useState)(!1),Pn=(0,e.useRef)(!0),[bn,Fn]=(0,e.useState)(""),[_n,Jn]=(0,e.useState)(""),[Be,Ie]=(0,e.useState)(""),I=(0,e.useRef)((0,Oe.throttle)(Y=>re(Y),1200,{leading:!0,trailing:!0})).current,{basicInfo:k={}}=G,be=k&&k.professional_certification=="certified",ye=be?{visible:!1}:{visible:!1};(0,e.useEffect)(()=>{var Y,he;(Y=G.basicInfo)!=null&&Y.school_name&&re((he=G.basicInfo)==null?void 0:he.school_name)},[(o=G.basicInfo)==null?void 0:o.school_name]),(0,e.useEffect)(()=>{Dn&&(N.setFieldsValue({studentNo:W.studentNo}),N.validateFields(["studentNo"]))},[W.studentNo]),(0,e.useEffect)(()=>{W.identity==="student"&&!Dn&&N.validateFields(["studentNo"])},[W.identity]),(0,e.useEffect)(()=>{!Pt&&W.school&&!Ke.find(Y=>Y.name===W.school)?Fn("error"):Fn("")},[Pt,W.school,Ke]),(0,e.useEffect)(()=>{!Pt&&W.department&&!w.find(Y=>Y.name===W.department)?Jn("error"):Jn("")},[Pt,W.department,w]),(0,e.useEffect)(()=>{!Pt&&W.major_name&&(ot==null?void 0:ot.length)>0&&!ot.find(Y=>Y.name===W.major_name)&&Ie("error")},[Pt,W.major_name]);const m=Y=>{var he,Me;return(Me=(he=Ce.jh)==null?void 0:he.find(ke=>ke.name===Y))==null?void 0:Me.id},re=Y=>Ae(void 0,null,function*(){var he,Me;kt(!0);const ke=yield fe({type:"account/getSchoolOption",payload:{keyword:Y,limit:99999,display_aliases:!0}});nt(ke==null?void 0:ke.schools),et(ke==null?void 0:ke.schools),Y&&Y!=""?(et((he=ke==null?void 0:ke.schools)==null?void 0:he.filter(ft=>ft.name.includes(Y))),(((Me=ke==null?void 0:ke.schools)==null?void 0:Me.find(ft=>ft.name===Y))||{}).id?yield O(Y,k==null?void 0:k.department_name,ke==null?void 0:ke.schools):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{school:Y,department:"",major_name:""})),ge([]),Ve([]),Tt([]),dt([]),Jn(""),Ie(""))):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{department:"",major_name:""})),ge([]),Ve([]),Tt([]),dt([]),Jn(""),Ie("")),kt(!1)}),De=Y=>{if(Y)return fe({type:"account/getDepartmentOption",payload:{id:Y}})};(0,e.useEffect)(()=>{var Y,he;if(!G.basicInfo)return;const{basicInfo:Me}=G,ke={nickname:Me.nickname,name:Me.show_realname?Me.name:(0,Ce.YA)(Me.name),gender:Me.gender,city:[Me.location,Me.location_city],identity:Me.identity,school:Me.school_name,department:Me.department_name,major_name:Me.major_name,studentNo:Me.student_id,edu_entry_year:Me.edu_entry_year,edu_background:m(Me.edu_background),brief_introduction:Me.brief_introduction,jobTitle:Me.identity=="teacher"?Me.technical_title:"\u6559\u6388",manager:Me.identity=="professional"?Me.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",staff_id:Me.staff_id};Me!=null&&Me.face_image&&xn([{uid:"111",name:"111",url:de.Z.API_SERVER+Me.face_image,response:{id:(he=(Y=Me==null?void 0:Me.face_image)==null?void 0:Y.split("/"))==null?void 0:he[3]}}]),Ut(Me.name),Vt(Me.show_realname),Bt(Me.identity),N.setFieldsValue(ke),Le(ke)},[G.basicInfo]);const u=()=>{fe({type:"account/setActionTabs",payload:{key:"Account-AppplySchool"}})},S=()=>{if(!Ke.find(Y=>Y.name===W.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyDepartment"}})},A=()=>{if(!w.find(Y=>Y.name===W.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyProfession"}})},ve=Y=>{var he;Le(st({},N.getFieldsValue())),((he=Y==null?void 0:Y.nickname)==null?void 0:he.length)<=0&&(Vt(!0),N.setFieldsValue({name:wt})),"name"in Y&&Ut(Y.name),"identity"in Y&&N.setFieldsValue({staff_id:""})},j=()=>{const Y=!Rt;Vt(Y);const he=Y?wt:(0,Ce.YA)(wt);N.setFieldsValue({name:he})},O=(Y,he,Me)=>Ae(void 0,null,function*(){var ke,ht;console.log(he),console.log(Pn);const ft=(ke=(Me||Ke).find(Dt=>Dt.name===Y))==null?void 0:ke.id,Ct=(yield De(ft))||{},It=Pn.current?he:(ht=Ct==null?void 0:Ct.departments[0])==null?void 0:ht.name;N.setFieldsValue({department:It}),Le(st(st({},N.getFieldsValue()),{school:Y,department:It})),ge([...Ct==null?void 0:Ct.departments]),Ve([...Ct==null?void 0:Ct.departments]),Ie(""),V(Pn.current,[...Ct==null?void 0:Ct.departments],Me)}),V=(Y=!1,he,Me)=>Ae(void 0,null,function*(){var ke,ht,ft;console.log(N.getFieldsValue()),console.log(W),console.log(Ke),Pn.current=!1;let Ct=(ke=Me.find(Dt=>Dt.name===N.getFieldValue("school")))==null?void 0:ke.id,It=(ht=he.find(Dt=>Dt.name===N.getFieldValue("department")))==null?void 0:ht.id;if(It){const Dt=yield(0,He.ZP)(`/api/schools/${Ct}/departments/${It}/major_option.json`,{method:"get"});if((Dt==null?void 0:Dt.status)==0){Tt([...Dt==null?void 0:Dt.majors]),dt([...Dt==null?void 0:Dt.majors]);const Mt=Y?k==null?void 0:k.major_name:(ft=Dt==null?void 0:Dt.majors[0])==null?void 0:ft.name;N.setFieldsValue({major_name:Mt}),Le(st(st({},N.getFieldsValue()),{major_name:Mt}))}}}),ee=()=>Ae(void 0,null,function*(){var Y,he,Me,ke;let ht=(Y=Ke.find(Ct=>Ct.name===N.getFieldValue("school")))==null?void 0:Y.id,ft=(he=w.find(Ct=>Ct.name===N.getFieldValue("department")))==null?void 0:he.id;if(ft){Ie("");const Ct=yield(0,He.ZP)(`/api/schools/${ht}/departments/${ft}/major_option.json`,{method:"get"});if((Ct==null?void 0:Ct.status)==0){Tt([...Ct==null?void 0:Ct.majors]),dt([...Ct==null?void 0:Ct.majors]);const It=(ke=(Me=Ct==null?void 0:Ct.majors)==null?void 0:Me[0])==null?void 0:ke.name;N.setFieldsValue({major_name:It}),Le(st(st({},N.getFieldsValue()),{major_name:It}))}}}),oe=Y=>Ae(void 0,null,function*(){yield re(),N.setFieldsValue({school:Y,department:""}),Le(st(st({},W),{school:Y,department:""}))}),h=Y=>Ae(void 0,null,function*(){E.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:Y?"\u60A8\u5DF2\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u59D3\u540D\u9700\u8981\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?":"\u60A8\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u4FE1\u606F\u9700\u8981\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?",onOk:()=>Ae(void 0,null,function*(){var he,Me,ke;(Y?yield(0,s.RA)({login:(he=Te.userInfo)==null?void 0:he.login}):yield(0,s.kN)({login:(Me=Te.userInfo)==null?void 0:Me.login}))&&(D.ZP.success(Y?"\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\u6210\u529F":"\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\u6210\u529F"),fe({type:"account/getBasicInfo",payload:{login:(ke=Te.userInfo)==null?void 0:ke.login}}))})})}),v=()=>{const Y=new Date().getFullYear();return Array(31).fill({}).map(function(he,Me){return n.createElement(tt,{key:Me,value:Y-Me},n.createElement("span",null,Y-Me))})},B=Y=>{var he,Me,ke,ht;if(Y==="number")return W.identity==="teacher"?`${(he=R==null?void 0:R.setting)==null?void 0:he.homepage_tea_qq_number}`:`${(Me=R==null?void 0:R.setting)==null?void 0:Me.homepage_stu_qq_number}`;if(Y==="code")return W.identity==="teacher"?`${de.Z.IMG_SERVER}/${(ke=R==null?void 0:R.setting)==null?void 0:ke.homepage_tea_qq_qrcode_url}`:`${de.Z.IMG_SERVER}/${(ht=R==null?void 0:R.setting)==null?void 0:ht.homepage_stu_qq_qrcode_url}`},te=Y=>Ae(void 0,null,function*(){var he,Me,ke,ht,ft,Ct,It,Dt;const{nickname:Mt,gender:$t,identity:Et,studentNo:Jt,jobTitle:At,manager:sn,school:Gt,department:Yt,edu_background:nn,edu_entry_year:fn,brief_introduction:Zt,face_image:Qt,staff_id:Ft,major_name:qe}=Y,mt=(he=w.find(en=>en.name===Yt))==null?void 0:he.id,Kt=(Me=Ke.find(en=>en.name===Gt))==null?void 0:Me.id,jt=Et==="student"?(ke=ot.find(en=>en.name===qe))==null?void 0:ke.id:null,{basicInfo:qt}=G;console.log("B",Y,qt);let un=[];qt.authentication!="uncertified"&&(wt!=qt.name&&un.push("\u59D3\u540D"),$t!=qt.gender&&un.push("\u6027\u522B"));let on=[];if(be&&(Et!=qt.identity?on.push("\u804C\u4E1A"):(W.identity,W.identity==="teacher"&&At!=qt.technical_title&&on.push("\u804C\u4E1A"),W.identity==="professional"&&sn!=qt.technical_title&&on.push("\u804C\u4E1A")),Gt!=qt.school_name&&on.push("\u5B66\u6821/\u5355\u4F4D"),Yt!=qt.department_name&&on.push("\u9662\u7CFB/\u90E8\u95E8"),Et==="student"&&qe!=qt.major_name&&on.push("\u4E13\u4E1A")),!Kt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Yt&&!mt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Et==="student"&&qe&&!jt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(un.length>0||on.length>0)E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",null,`\u672C\u6B21\u4FEE\u6539\u6D89\u53CA${un.toString().replaceAll(",","\u3001")}${un.length>0&&on.length>0?"\u3001":""}${on.toString().replaceAll(",","\u3001")}\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C${un.length>0?"\u5B9E\u540D\u8BA4\u8BC1":""}${un.length>0&&on.length>0?"\u548C":""}${on.length>0?"\u804C\u4E1A\u8BA4\u8BC1":""}\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539`),onOk:()=>Ae(void 0,null,function*(){var en,cn,Rn,Bn,yn,dn,Kn;un.length>0&&(yield(0,s.RA)({login:(en=Te.userInfo)==null?void 0:en.login})),on.length>0&&(yield(0,s.kN)({login:(cn=Te.userInfo)==null?void 0:cn.login}));const Xn=yield fe({type:"account/updateAccount",payload:{id:(Rn=G.basicInfo)==null?void 0:Rn.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(yn=(Bn=rn==null?void 0:rn[0])==null?void 0:Bn.response)==null?void 0:yn.id}});if((Xn==null?void 0:Xn.status)!==-1&&Xn){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(dn=G.basicInfo)!=null&&dn.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Kn=Te.userInfo)==null?void 0:Kn.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}})});else{const en=yield fe({type:"account/updateAccount",payload:{id:(ht=G.basicInfo)==null?void 0:ht.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,staff_id:Ft,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(Ct=(ft=rn==null?void 0:rn[0])==null?void 0:ft.response)==null?void 0:Ct.id}});if((en==null?void 0:en.status)===-1)return;if(en){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(It=G.basicInfo)!=null&&It.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Dt=Te.userInfo)==null?void 0:Dt.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}}}),we=()=>{Xt(!1),d.history.push("/account/profile")},Ne=n.createElement("div",null,Lt?n.createElement(p.Z,null):n.createElement(ae.Z,null),n.createElement("div",{style:{marginTop:8}},"\u4E0A\u4F20")),ut=(Y,he)=>{const Me=new FileReader;Me.addEventListener("load",()=>he(Me.result)),Me.readAsDataURL(Y)},Ge=()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return n.createElement("section",{className:it.wrap},n.createElement("div",{className:it.content},n.createElement("div",{className:it.titleWrap},n.createElement("div",{className:it.title},"\u57FA\u672C\u4FE1\u606F")),n.createElement(x.default,{form:N,className:it.formWrap,layout:"horizontal",onValuesChange:ve,onFinish:te,scrollToFirstError:!0},n.createElement(x.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${me}\u4E2A\u5B57\u7B26`},{validator:Ce.HJ}],extra:n.createElement("span",null,W.nickname?Rt?"\u663E\u793A\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D":"\u9690\u85CF\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u4F60\u7684\u6635\u79F0":"\u586B\u5199\u6635\u79F0\u540E\u53EF\u8BBE\u7F6E\u59D3\u540D\u8FDB\u884C\u9690\u85CF\uFF08\u5F53\u8FDB\u884C\u59D3\u540D\u641C\u7D22\u65F6\uFF0C\u4F1A\u5C55\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D\uFF09")},n.createElement(L.default,{style:{height:40},disabled:W.nickname?!Rt:!1,placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${me}\u4E2A\u5B57\u7B26`,maxLength:me,suffix:W.nickname?n.createElement("i",{style:{lineHeight:"26px"},className:`iconfont ${Rt?"icon-xianshi":"icon-yincang"} font18 ${it.color0152d9}`,onClick:j}):null})),n.createElement(Z.Z,{gutter:[10,0]},n.createElement(K.Z,null,n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},n.createElement(i.default,{style:{width:135},size:"large"},n.createElement(tt,{value:"teacher"},"\u6559\u5E08"),n.createElement(tt,{value:"student"},"\u5B66\u751F"),n.createElement(tt,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB"))))),n.createElement(K.Z,null,W.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.studentNo,name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(Y,he)=>Ae(void 0,null,function*(){var Me,ke;Mn(!1);const ht=yield(0,He.ZP)(`/api/users/accounts/${(Me=Te==null?void 0:Te.userInfo)==null?void 0:Me.user_id}/valid_student_id`,{method:"get",params:{school_id:((ke=Ke==null?void 0:Ke.find(ft=>ft.name===W.school))==null?void 0:ke.id)||(k==null?void 0:k.school_id),student_id:he}});return(ht==null?void 0:ht.status)<-1&&tn&&(Xe(!0),Nn(!1)),(ht==null?void 0:ht.status)<-1?Promise.reject(n.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",n.createElement("a",{onClick:()=>{Xe(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},n.createElement(L.default,{size:"large",style:{width:320},type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",showCount:!0,maxLength:20}))),W.identity==="teacher"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u6559\u6388"},"\u6559\u6388"),n.createElement(tt,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),n.createElement(tt,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),W.identity==="professional"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),(W.identity==="teacher"||W.identity==="professional")&&n.createElement(K.Z,{flex:1},n.createElement(x.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",labelCol:{span:4},rules:[{validator:(Y,he)=>he===null||he===""||he===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(he)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):he.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},n.createElement(L.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",className:it.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",wrapperCol:{span:10},extra:!Pt&&W.school&&!(Ke!=null&&Ke.find(Y=>Y.name===W.school))&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",W.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",W.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:W.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},n.createElement(_.Z,{status:bn,size:"large",showSearch:!0,onChange:I,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"},lt.map((Y,he)=>n.createElement(tt,{key:he,value:Y.name},Y.name)))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",wrapperCol:{span:10},extra:!Pt&&W.department&&!(w!=null&&w.find(Y=>Y.name===W.department))&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},W.department?`\u672A\u627E\u5230\u5305\u542B\u201C${W.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),n.createElement("span",{className:it.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Ge()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(_.Z,{status:_n,size:"large",placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",onChange:Y=>{Y==""&&(N.setFieldsValue({major_name:""}),Le(st(st({},N.getFieldsValue()),{major_name:""})),Tt([]),dt([]),Ie("")),ee(),Ve(w.filter(he=>he.name.includes(Y)))}},Ze.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.name},Y.name,(Y==null?void 0:Y.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),W.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",wrapperCol:{span:10},extra:Be==="error"&&n.createElement("div",{className:it.schoolHintWrap},n.createElement("span",{className:it.colorCDCDCD},"\u672A\u627E\u5230\u201C",W.major_name,"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",W.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:W.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(_.Z,{status:Be,size:"large",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",onChange:Y=>{if(dt(ot.filter(he=>he.name.includes(Y))),Y&&(ot==null?void 0:ot.length)==0){Ie("error");return}if(Y==""){Ie("");return}if(Y&&(ot==null?void 0:ot.length)>0&&ot.find(he=>he.name===Y)){Ie("");return}}},ct.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.name},Y.name,(Y==null?void 0:Y.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:it.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(x.default.Item,{label:"\u6635\u79F0",name:"nickname",rules:[{message:"\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0"},{validator:Ce.G7}],validateTrigger:"onSubmit"},n.createElement(L.default,{style:{height:40},placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0\uFF0C\u6700\u5927\u9650\u5236${Qe}\u4E2A\u5B57\u7B26`,maxLength:Qe,suffix:`${((f=W.nickname)==null?void 0:f.length)||0}/${Qe}`})),n.createElement(x.default.Item,{labelCol:{span:3},wrapperCol:{span:4},label:"\u6027\u522B",className:"mb0"},n.createElement(x.default.Item,{name:"gender"},n.createElement(M.ZP.Group,null,n.createElement(M.ZP,{value:0},"\u7537"),n.createElement(M.ZP,{value:1},"\u5973")))),n.createElement(x.default.Item,{label:(W==null?void 0:W.identity)==="student"?"\u5165\u5B66\u5E74\u4EFD":"\u5165\u804C\u65F6\u95F4",name:"edu_entry_year",wrapperCol:{span:10}},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u5165\u5B66\u5E74\u4EFD",size:"large"},v())),n.createElement(x.default.Item,{label:"\u6700\u9AD8\u5B66\u5386",wrapperCol:{span:10},name:"edu_background"},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u6700\u9AD8\u5B66\u5386",size:"large"},Ce.jh.map(function(Y,he){return n.createElement(tt,{key:he,value:Y.id},Y.name)}))),n.createElement("div",{style:{display:"flex"}},n.createElement(x.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167",wrapperCol:{span:10},name:"face_image"},n.createElement(P.default,{listType:"picture-card",withCredentials:!0,className:"avatar-uploader",fileList:rn,onPreview:Y=>{y.Z.publish("preview-image",Y.thumbUrl||Y.url)},action:`${de.Z.API_SERVER}/api/attachments.json`,beforeUpload:Y=>{const he=Y.type==="image/jpeg"||Y.type==="image/png";if(!he)return D.ZP.error("\u60A8\u4E0A\u4F20\u7684\u4E0D\u662FJPG/PNG\u7C7B\u578B\u6587\u4EF6"),Promise.reject();const Me=Y.size/1024/1024<1;return Me?he&&Me:(D.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E1MB"),Promise.reject())},onChange:Y=>{xn([...Y.fileList])}},(rn==null?void 0:rn.length)>0?null:Ne)),n.createElement("div",{style:{marginLeft:16,color:"#666666",display:"flex",flexDirection:"column",marginTop:5}},n.createElement("span",null,"\u8981\u6C42\uFF1A"),n.createElement("span",null,"1.",(W==null?void 0:W.identity)==="student"?"\u5B66\u751F":"\u8BC1\u4EF6","\u7167\u7247\u5FC5\u987B\u4E3A\u9AD8\u6E05\u7684\u4EBA\u8138\u7167"),n.createElement("span",null,"2.\u6309\u7167 \u59D3\u540D-",(W==null?void 0:W.identity)==="student"?"\u5B66\u53F7":"\u5DE5\u53F7"," \u7684\u65B9\u5F0F\u6765\u547D\u540D\u7167\u7247"),n.createElement("span",null,"3.\u56FE\u7247\u5927\u5C0F\u57281MB\u4EE5\u5185"))),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u7B80\u4ECB",name:"brief_introduction",rules:[{required:!1}]},n.createElement(J,{maxLength:500,rows:6})),n.createElement("div",{style:{position:"absolute",bottom:10,right:10}},(se=N.getFieldValue("brief_introduction"))==null?void 0:se.length,"/500")),n.createElement(x.default.Item,null,n.createElement(pe.ZP,{className:`${U.actionTabs.type===2?it.submitButtondiv:it.submitButton} ml100`,size:"middle",type:"primary",onClick:()=>{Nn(!0),N.submit()},loading:g["account/editAccount"]},"\u4FDD\u5B58"),n.createElement(pe.ZP,{className:it.submitButton,size:"middle",onClick:()=>d.history.push("/account/profile")},"\u53D6\u6D88")))),n.createElement("div",{className:`${it.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),n.createElement(Fe.Z,{visible:G.actionTabs.key==="Account-AppplySchool",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolName:W.school,onSuccess:oe}),n.createElement(Pe.Z,{visible:G.actionTabs.key==="Account-AppplyDepartment",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolId:(q=Ke.find(Y=>Y.name===W.school))==null?void 0:q.id,schoolName:W.school,departmentName:W.department,onSuccess:Y=>O(W.school,Y)}),n.createElement(H.Z,{visible:G.actionTabs.key==="Account-AppplyProfession",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},departmentId:($=w.find(Y=>Y.name===W.department))==null?void 0:$.id,departmentName:W.department,majorName:W.major_name,onSuccess:Y=>{N.setFieldsValue({major_name:Y}),Le(st(st({},N.getFieldsValue()),{major_name:Y})),ee()}}),n.createElement(E.default,{centered:!0,destroyOnClose:!0,open:Ht,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:560,footer:null,onCancel:()=>{Xt(!1)}},n.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},n.createElement("aside",{style:{letterSpacing:1}},"\u57FA\u4E8E\u60A8\u6240\u5728\u9662\u6821\u4E0E\u5E73\u53F0\u6709\u6DF1\u5EA6\u5408\u4F5C\uFF0C\u6211\u4EEC\u7279\u610F\u4E3A\u60A8\u914D\u5907\u4E86\u5E73\u53F0\u76841\u5BF91\u52A9\u6559\uFF0C\u60A8\u53EF\u4EE5\u626B\u63CF\u4E0B\u65B9\u4E8C\u7EF4\u7801\u6DFB\u52A0\u52A9\u7406\u5FAE\u4FE1\uFF0C\u6211\u4EEC\u5C067*24\u5C0F\u65F6\u4E3A\u60A8\u7B54\u7591\u89E3\u60D1\u3002"),n.createElement("img",{className:"mt20 mb20",src:b,width:162,height:162}))),n.createElement(E.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:C,centered:!0,destroyOnClose:!0,onCancel:()=>{Xe(!1),X.resetFields()},onOk:()=>{X.submit()}},n.createElement(x.default,{form:X,size:"large",onValuesChange:(Y,he)=>{c(he)},onFinish:Y=>Ae(void 0,null,function*(){var he,Me;(yield(0,He.ZP)(`/api/users/accounts/${(he=Te==null?void 0:Te.userInfo)==null?void 0:he.user_id}/unbind_student_id.json`,{method:"post",body:st({student_id:W.studentNo,school_id:((Me=Ke==null?void 0:Ke.find(ht=>ht.name===W.school))==null?void 0:Me.id)||(k==null?void 0:k.school_id),check_type:4},Y)})).status==0&&(D.ZP.success("\u89E3\u7ED1\u6210\u529F"),N.validateFields(),X.resetFields(),Xe(!1))})},n.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",W.studentNo||N.getFieldValue("studentNo"),"\uFF09\u5728",W.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",n.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),n.createElement(x.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${W==null?void 0:W.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},n.createElement(L.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${W==null?void 0:W.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),n.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",n.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),n.createElement(le.Z,null),n.createElement(Ye.Z,null))};var Je=(0,d.connect)(({user:je,account:bt,loading:Te,globalSetting:G,shixunHomeworks:R})=>({user:je,account:bt,globalSetting:G,loading:Te.effects,shixunHomeworks:R}))(ie)},67585:function(an,_e,t){t.d(_e,{Z:function(){return y}});var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(62957),D=t(70858),E=t(6767),Z=t(79939),K=t(7939),r=t(29679),_=t(19248),M=t(26221),P={flexRow:"flexRow___qRWfN",flexColumn:"flexColumn___qUHfF",formWrap:"formWrap___kSgvX",example:"example___D0a_H",footerWrap:"footerWrap___kTeYf"},pe=Object.defineProperty,it=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ye=(He,Oe,ne)=>Oe in He?pe(He,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ne}):He[Oe]=ne,b=(He,Oe)=>{for(var ne in Oe||(Oe={}))Fe.call(Oe,ne)&&Ye(He,ne,Oe[ne]);if(it)for(var ne of it(Oe))Pe.call(Oe,ne)&&Ye(He,ne,Oe[ne]);return He},Ce=(He,Oe)=>{var ne={};for(var Re in He)Fe.call(He,Re)&&Oe.indexOf(Re)<0&&(ne[Re]=He[Re]);if(He!=null&&it)for(var Re of it(He))Oe.indexOf(Re)<0&&Pe.call(He,Re)&&(ne[Re]=He[Re]);return ne},s=(He,Oe,ne)=>new Promise((Re,de)=>{var H=T=>{try{ce(ne.next(T))}catch(ze){de(ze)}},n=T=>{try{ce(ne.throw(T))}catch(ze){de(ze)}},ce=T=>T.done?Re(T.value):Promise.resolve(T.value).then(H,n);ce((ne=ne.apply(He,Oe)).next())});const p=(He,Oe)=>Oe.some(ne=>ne.label.toLowerCase().indexOf(He.toLowerCase())>-1),ae=i.default.TextArea,le=He=>{var Oe=He,{account:ne,globalSetting:Re,loading:de,dispatch:H,schoolName:n,visible:ce,onClose:T=()=>{},onSuccess:ze=()=>{}}=Oe,xe=Ce(Oe,["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"]);const[We]=L.default.useForm();(0,e.useEffect)(()=>{We.setFieldsValue({name:n})},[n]);const st=at=>s(void 0,null,function*(){const{name:Ae,city:tt=[],address:J,remarks:Se}=at||{},me=yield H({type:"account/appplySchool",payload:{name:Ae,province:tt[0],city:tt[1],address:J,remarks:Se}});if((me==null?void 0:me.status)==2){const Qe=x.default.confirm({icon:null,width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement(e.Fragment,null,e.createElement("p",null,"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u5355\u4F4D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u5355\u4F4D\uFF1F"),e.createElement(D.default,{columns:[{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"name"},{title:"\u7528\u6237\u6570",width:150,dataIndex:"users_count"}],dataSource:[b({},me)],pagination:!1})),onOk:()=>s(void 0,null,function*(){yield ze(Ae),Qe.destroy(),T()}),onCancel:()=>{Qe.destroy()}});return}T(),me.status==0&&(E.ZP.success("\u65B0\u589E\u5B66\u6821/\u5355\u4F4D\u6210\u529F\uFF01"),ze(Ae))});return e.createElement(x.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce,title:"\u7533\u8BF7\u6DFB\u52A0\u5355\u4F4D\u540D\u79F0",width:"600px",footer:null},e.createElement(L.default,{className:P.formWrap,form:We,labelCol:{span:4},wrapperCol:{span:20},onFinish:st},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u5168\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"}]},e.createElement(i.default,{placeholder:"\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"})),e.createElement("div",{className:`${P.flexRow} ${P.example}`},e.createElement("div",null,"\u793A\u4F8B\uFF1A"),e.createElement("div",{className:P.flexColumn},e.createElement("div",null,e.createElement(r.Z,{style:{color:"rgb(82, 196, 26)"}}),e.createElement("span",{className:"font14 ml5"},"\u6B63\u786E\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u6784")),e.createElement("div",null,e.createElement(_.Z,{style:{color:"red"}}),e.createElement("span",{className:"font14 ml5"},"\u9519\u8BEF\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u67842019\u6625")))),e.createElement(L.default.Item,{label:"\u5730\u533A\uFF1A",name:"city"},e.createElement(Z.Z,{allowClear:!0,size:"middle",options:M.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",showSearch:{matchInputWidth:!0,filter:p}})),e.createElement(L.default.Item,{label:"\u8BE6\u7EC6\u5730\u5740\uFF1A",name:"address"},e.createElement(i.default,{placeholder:"\u8BF7\u586B\u5199\u5B8C\u6574\u7684\u5730\u5740\u4FE1\u606F"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks"},e.createElement(ae,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"})),e.createElement("div",{className:P.footerWrap},e.createElement(L.default.Item,null,e.createElement(K.ZP,{className:"mr5",size:"middle",onClick:()=>{T()}},"\u53D6\u6D88"),e.createElement(K.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:de["account/appplySchool"]},"\u4FDD\u5B58")))))};var y=(0,d.connect)(({account:He,loading:Oe,globalSetting:ne})=>({account:He,globalSetting:ne,loading:Oe.effects}))(le)},26221:function(an,_e,t){t.d(_e,{P:function(){return e}});const e=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},29509:function(an,_e,t){t.d(_e,{o2:function(){return x},yT:function(){return D}});var e=t(94480),d=t(34998);const i=d.i.map(E=>`${E}-inverse`),L=["success","processing","error","default","warning"];function x(E){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(i),(0,e.Z)(d.i)).includes(E):d.i.includes(E)}function D(E){return L.includes(E)}},9981:function(an,_e){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let d=1;d{const x=i[L];x!==void 0&&(e[L]=x)})}return e};_e.Z=t},99402:function(an,_e,t){t.d(_e,{T:function(){return d},n:function(){return e}});function e(i){return["small","middle","large"].includes(i)}function d(i){return i?typeof i=="number"&&!Number.isNaN(i):!1}},86013:function(an,_e,t){var e=t(59301),d=t(19248);const i=L=>{let x;return typeof L=="object"&&(L!=null&&L.clearIcon)?x=L:L&&(x={clearIcon:e.createElement(d.Z,null)}),x};_e.Z=i},97224:function(an,_e,t){t.d(_e,{F:function(){return e}});function e(i){return i!=null&&i===i.window}const d=i=>{var L,x;if(typeof window=="undefined")return 0;let D=0;return e(i)?D=i.pageYOffset:i instanceof Document?D=i.documentElement.scrollTop:(i instanceof HTMLElement||i)&&(D=i.scrollTop),i&&!e(i)&&typeof D!="number"&&(D=(x=((L=i.ownerDocument)!==null&&L!==void 0?L:i).documentElement)===null||x===void 0?void 0:x.scrollTop),D};_e.Z=d},52838:function(an,_e,t){t.d(_e,{Z:function(){return D}});var e=t(37645);function d(E,Z,K,r){if(r===!1)return{adjustX:!1,adjustY:!1};const _=r&&typeof r=="object"?r:{},M={};switch(E){case"top":case"bottom":M.shiftX=Z.arrowOffsetHorizontal*2+K,M.shiftY=!0,M.adjustY=!0;break;case"left":case"right":M.shiftY=Z.arrowOffsetVertical*2+K,M.shiftX=!0,M.adjustX=!0;break}const P=Object.assign(Object.assign({},M),_);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},L={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},x=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(E){const{arrowWidth:Z,autoAdjustOverflow:K,arrowPointAtCenter:r,offset:_,borderRadius:M,visibleFirst:P}=E,pe=Z/2,it={};return Object.keys(i).forEach(Fe=>{const Pe=r&&L[Fe]||i[Fe],Ye=Object.assign(Object.assign({},Pe),{offset:[0,0],dynamicInset:!0});switch(it[Fe]=Ye,x.has(Fe)&&(Ye.autoArrow=!1),Fe){case"top":case"topLeft":case"topRight":Ye.offset[1]=-pe-_;break;case"bottom":case"bottomLeft":case"bottomRight":Ye.offset[1]=pe+_;break;case"left":case"leftTop":case"leftBottom":Ye.offset[0]=-pe-_;break;case"right":case"rightTop":case"rightBottom":Ye.offset[0]=pe+_;break}const b=(0,e.wZ)({contentRadius:M,limitVerticalRadius:!0});if(r)switch(Fe){case"topLeft":case"bottomLeft":Ye.offset[0]=-b.arrowOffsetHorizontal-pe;break;case"topRight":case"bottomRight":Ye.offset[0]=b.arrowOffsetHorizontal+pe;break;case"leftTop":case"rightTop":Ye.offset[1]=-b.arrowOffsetHorizontal*2+pe;break;case"leftBottom":case"rightBottom":Ye.offset[1]=b.arrowOffsetHorizontal*2-pe;break}Ye.overflow=d(Fe,b,Z,K),P&&(Ye.htmlRegion="visibleFirst")}),it}},83010:function(an,_e,t){t.d(_e,{Z:function(){return L}});var e=t(16089);function d(x,D,E,Z){const K=E-D;return x/=Z/2,x<1?K/2*x*x*x+D:K/2*((x-=2)*x*x+2)+D}var i=t(97224);function L(x){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:E=()=>window,callback:Z,duration:K=450}=D,r=E(),_=(0,i.Z)(r),M=Date.now(),P=()=>{const it=Date.now()-M,Fe=d(it>K?K:it,_,x,K);(0,i.F)(r)?r.scrollTo(window.pageXOffset,Fe):r instanceof Document||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=Fe:r.scrollTop=Fe,itE||D},1560:function(an,_e,t){t.d(_e,{Z:function(){return Ye}});var e=t(2738),d=t(45915),i=t(82326),L=t(59301),x=t(92310),D=t.n(x),E=t(11592),Z=t(75030),K=t(48755);const{Option:r}=i.default;function _(b){return(b==null?void 0:b.type)&&(b.type.isSelectOption||b.type.isSelectOptGroup)}const M=(b,Ce)=>{var s;const{prefixCls:p,className:ae,popupClassName:le,dropdownClassName:y,children:He,dataSource:Oe}=b,ne=(0,E.Z)(He);let Re;ne.length===1&&L.isValidElement(ne[0])&&!_(ne[0])&&([Re]=ne);const de=Re?()=>Re:void 0;let H;ne.length&&_(ne[0])?H=He:H=Oe?Oe.map(ze=>{if(L.isValidElement(ze))return ze;switch(typeof ze){case"string":return L.createElement(r,{key:ze,value:ze},ze);case"object":{const{value:xe}=ze;return L.createElement(r,{key:xe,value:xe},ze.text)}default:return}}):[];const{getPrefixCls:n}=L.useContext(K.E_),ce=n("select",p),[T]=(0,Z.Cn)("SelectLike",(s=b.dropdownStyle)===null||s===void 0?void 0:s.zIndex);return L.createElement(i.default,Object.assign({ref:Ce,suffixIcon:null},(0,e.Z)(b,["dataSource","dropdownClassName"]),{prefixCls:ce,popupClassName:le||y,dropdownStyle:Object.assign(Object.assign({},b.dropdownStyle),{zIndex:T}),className:D()(`${ce}-auto-complete`,ae),mode:i.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:de}),H)};var pe=L.forwardRef(M);const{Option:it}=i.default,Fe=(0,d.Z)(pe,"dropdownAlign",b=>(0,e.Z)(b,["visible"])),Pe=pe;Pe.Option=it,Pe._InternalPanelDoNotUseOrYouWillBeFired=Fe;var Ye=Pe},79939:function(an,_e,t){t.d(_e,{Z:function(){return De}});var e=t(94480),d=t(59301),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(42978),Z=t(75931),K=t(37463),r=t(6551),_=t(6089),M=t(18929),P=d.createContext({}),pe=P,it=t(76190),Fe=t(20068),Pe="__rc_cascader_search_mark__",Ye=function(S,A,ve){var j=ve.label,O=j===void 0?"":j;return A.some(function(V){return String(V[O]).toLowerCase().includes(S.toLowerCase())})},b=function(S,A,ve,j){return A.map(function(O){return O[j.label]}).join(" / ")},Ce=function(S,A,ve,j,O,V){var ee=O.filter,oe=ee===void 0?Ye:ee,h=O.render,v=h===void 0?b:h,B=O.limit,te=B===void 0?50:B,we=O.sort;return d.useMemo(function(){var Ne=[];if(!S)return[];function ut(Ge,Y){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ge.forEach(function(Me){if(!(!we&&te!==!1&&te>0&&Ne.length>=te)){var ke=[].concat((0,e.Z)(Y),[Me]),ht=Me[ve.children],ft=he||Me.disabled;if((!ht||ht.length===0||V)&&oe(S,ke,{label:ve.label})){var Ct;Ne.push((0,D.Z)((0,D.Z)({},Me),{},(Ct={disabled:ft},(0,Fe.Z)(Ct,ve.label,v(S,ke,j,ve)),(0,Fe.Z)(Ct,Pe,ke),(0,Fe.Z)(Ct,ve.children,void 0),Ct)))}ht&&ut(Me[ve.children],ke,ft)}})}return ut(A,[]),we&&Ne.sort(function(Ge,Y){return we(Ge[Pe],Y[Pe],S,ve)}),te!==!1&&te>0?Ne.slice(0,te):Ne},[S,A,ve,j,v,V,oe,we,te])},s=Ce,p="__RC_CASCADER_SPLIT__",ae="SHOW_PARENT",le="SHOW_CHILD";function y(u){return u.join(p)}function He(u){return u.map(y)}function Oe(u){return u.split(p)}function ne(u){var S=u||{},A=S.label,ve=S.value,j=S.children,O=ve||"value";return{label:A||"label",value:O,key:O,children:j||"children"}}function Re(u,S){var A,ve;return(A=u.isLeaf)!==null&&A!==void 0?A:!((ve=u[S.children])!==null&&ve!==void 0&&ve.length)}function de(u){var S=u.parentElement;if(S){var A=u.offsetTop-S.offsetTop;A-S.scrollTop<0?S.scrollTo({top:A}):A+u.offsetHeight-S.scrollTop>S.offsetHeight&&S.scrollTo({top:A+u.offsetHeight-S.offsetHeight})}}function H(u,S){return u.map(function(A){var ve;return(ve=A[Pe])===null||ve===void 0?void 0:ve.map(function(j){return j[S.value]})})}function n(u){return Array.isArray(u)&&Array.isArray(u[0])}function ce(u){return u?n(u)?u:(u.length===0?[]:[u]).map(function(S){return Array.isArray(S)?S:[S]}):[]}function T(u,S,A){var ve=new Set(u),j=S();return u.filter(function(O){var V=j[O],ee=V?V.parent:null,oe=V?V.children:null;return V&&V.node.disabled?!0:A===le?!(oe&&oe.some(function(h){return h.key&&ve.has(h.key)})):!(ee&&!ee.node.disabled&&ve.has(ee.key))})}function ze(u,S,A){for(var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,j=S,O=[],V=function(){var h,v,B,te=u[ee],we=(h=j)===null||h===void 0?void 0:h.findIndex(function(ut){var Ge=ut[A.value];return ve?String(Ge)===String(te):Ge===te}),Ne=we!==-1?(v=j)===null||v===void 0?void 0:v[we]:null;O.push({value:(B=Ne==null?void 0:Ne[A.value])!==null&&B!==void 0?B:te,index:we,option:Ne}),j=Ne==null?void 0:Ne[A.children]},ee=0;ee1){var Ct=Ne.slice(0,-1);he(Ct)}else h(!1)},ht=function(){var Ct,It=((Ct=Ge[ut])===null||Ct===void 0?void 0:Ct[A.children])||[],Dt=It.find(function($t){return!$t.disabled});if(Dt){var Mt=[].concat((0,e.Z)(Ne),[Dt[A.value]]);he(Mt)}};d.useImperativeHandle(u,function(){return{onKeyDown:function(Ct){var It=Ct.which;switch(It){case U.Z.UP:case U.Z.DOWN:{var Dt=0;It===U.Z.UP?Dt=-1:It===U.Z.DOWN&&(Dt=1),Dt!==0&&Me(Dt);break}case U.Z.LEFT:{if(oe)break;B?ht():ke();break}case U.Z.RIGHT:{if(oe)break;B?ke():ht();break}case U.Z.BACKSPACE:{oe||ke();break}case U.Z.ENTER:{if(Ne.length){var Mt=Ge[ut],$t=(Mt==null?void 0:Mt[Pe])||[];$t.length?O($t.map(function(Et){return Et[A.value]}),$t[$t.length-1]):O(Ne,Ge[ut])}break}case U.Z.ESC:h(!1),v&&Ct.stopPropagation()}},onKeyUp:function(){}}})},fe=d.forwardRef(function(u,S){var A,ve,j,O=u.prefixCls,V=u.multiple,ee=u.searchValue,oe=u.toggleOpen,h=u.notFoundContent,v=u.direction,B=u.open,te=u.disabled,we=d.useRef(null),Ne=v==="rtl",ut=d.useContext(pe),Ge=ut.options,Y=ut.values,he=ut.halfValues,Me=ut.fieldNames,ke=ut.changeOnSelect,ht=ut.onSelect,ft=ut.searchOptions,Ct=ut.dropdownPrefixCls,It=ut.loadData,Dt=ut.expandTrigger,Mt=Ct||O,$t=d.useState([]),Et=(0,E.Z)($t,2),Jt=Et[0],At=Et[1],sn=function(yn){if(!(!It||ee)){var dn=ze(yn,Ge,Me),Kn=dn.map(function($n){var er=$n.option;return er}),Xn=Kn[Kn.length-1];if(Xn&&!Re(Xn,Me)){var ar=y(yn);At(function($n){return[].concat((0,e.Z)($n),[ar])}),It(Kn)}}};d.useEffect(function(){Jt.length&&Jt.forEach(function(Bn){var yn=Oe(Bn),dn=ze(yn,Ge,Me,!0).map(function(Xn){var ar=Xn.option;return ar}),Kn=dn[dn.length-1];(!Kn||Kn[Me.children]||Re(Kn,Me))&&At(function(Xn){return Xn.filter(function(ar){return ar!==Bn})})})},[Ge,Jt,Me]);var Gt=d.useMemo(function(){return new Set(He(Y))},[Y]),Yt=d.useMemo(function(){return new Set(He(he))},[he]),nn=R(V,B),fn=(0,E.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(yn){Qt(yn),sn(yn)},qe=function(yn){if(te)return!1;var dn=yn.disabled,Kn=Re(yn,Me);return!dn&&(Kn||ke||V)},mt=function(yn,dn){var Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ht(yn),!V&&(dn||ke&&(Dt==="hover"||Kn))&&oe(!1)},Kt=d.useMemo(function(){return ee?ft:Ge},[ee,ft,Ge]),jt=d.useMemo(function(){for(var Bn=[{options:Kt}],yn=Kt,dn=H(yn,Me),Kn=function(){var $n=Zt[Xn],er=yn.find(function(Sr,Fr){return(dn[Fr]?y(dn[Fr]):Sr[Me.value])===$n}),Wn=er==null?void 0:er[Me.children];if(!(Wn!=null&&Wn.length))return 1;yn=Wn,Bn.push({options:Wn})},Xn=0;Xn":Y,Me=A.loadingIcon,ke=A.direction,ht=A.notFoundContent,ft=ht===void 0?"Not Found":ht,Ct=A.disabled,It=!!oe,Dt=(0,se.C8)(h,{value:v,postState:ce}),Mt=(0,E.Z)(Dt,2),$t=Mt[0],Et=Mt[1],Jt=d.useMemo(function(){return ne(B)},[JSON.stringify(B)]),At=Ae(Jt,ee),sn=(0,E.Z)(At,3),Gt=sn[0],Yt=sn[1],nn=sn[2],fn=We(Gt,Jt),Zt=Qe(It,$t,Yt,nn,fn),Qt=(0,E.Z)(Zt,3),Ft=Qt[0],qe=Qt[1],mt=Qt[2],Kt=(0,se.zX)(function(cn){if(Et(cn),we){var Rn=ce(cn),Bn=Rn.map(function(Kn){return ze(Kn,Gt,Jt).map(function(Xn){return Xn.option})}),yn=It?Rn:Rn[0],dn=It?Bn:Bn[0];we(yn,dn)}}),jt=me(It,Kt,Ft,qe,mt,Yt,nn,Ne),qt=(0,se.zX)(function(cn){jt(cn)}),un=d.useMemo(function(){return{options:Gt,fieldNames:Jt,values:Ft,halfValues:qe,changeOnSelect:te,onSelect:qt,checkable:oe,searchOptions:[],dropdownPrefixCls:void 0,loadData:ut,expandTrigger:Ge,expandIcon:he,loadingIcon:Me,dropdownMenuColumnStyle:void 0}},[Gt,Jt,Ft,qe,te,qt,oe,ut,Ge,he,Me]),on="".concat(j,"-panel"),en=!Gt.length;return d.createElement(pe.Provider,{value:un},d.createElement("div",{className:L()(on,(S={},(0,Fe.Z)(S,"".concat(on,"-rtl"),ke==="rtl"),(0,Fe.Z)(S,"".concat(on,"-empty"),en),S),V),style:O},en?ft:d.createElement(z,{prefixCls:j,searchValue:"",multiple:It,toggleOpen:q,open:!0,direction:ke,disabled:Ct})))}function N(u){var S=u.onPopupVisibleChange,A=u.popupVisible,ve=u.popupClassName,j=u.popupPlacement;warning(!S,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(A===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ve===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(j===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function X(u,S){if(u){var A=function ve(j){for(var O=0;O":sn,Yt=u.loadingIcon,nn=u.children,fn=u.dropdownMatchSelectWidth,Zt=fn===void 0?!1:fn,Qt=u.showCheckedStrategy,Ft=Qt===void 0?ae:Qt,qe=u.optionRender,mt=(0,Z.Z)(u,c),Kt=(0,r.ZP)(A),jt=!!B,qt=(0,M.Z)(V,{value:ee,postState:ce}),un=(0,E.Z)(qt,2),on=un[0],en=un[1],cn=d.useMemo(function(){return ne(O)},[JSON.stringify(O)]),Rn=Ae(cn,he),Bn=(0,E.Z)(Rn,3),yn=Bn[0],dn=Bn[1],Kn=Bn[2],Xn=(0,M.Z)("",{value:Ne,postState:function(cr){return cr||""}}),ar=(0,E.Z)(Xn,2),$n=ar[0],er=ar[1],Wn=function(cr,pr){er(cr),pr.source!=="blur"&&ut&&ut(cr)},Sr=J(Ge),Fr=(0,E.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=s($n,yn,cn,Me||j,Cr,oe||jt),En=We(yn,cn),Hn=Qe(jt,on,dn,Kn,En),lr=(0,E.Z)(Hn,3),fr=lr[0],Gn=lr[1],ur=lr[2],yr=d.useMemo(function(){var zn=He(fr),cr=T(zn,dn,Ft);return[].concat((0,e.Z)(ur),(0,e.Z)(Kn(cr)))},[fr,dn,Kn,ur,Ft]),gr=xe(yr,yn,cn,jt,v),br=(0,_.Z)(function(zn){if(en(zn),h){var cr=ce(zn),pr=cr.map(function(tr){return ze(tr,yn,cn).map(function(Dr){return Dr.option})}),eo=jt?cr:cr[0],In=jt?pr:pr[0];h(eo,In)}}),Br=me(jt,br,fr,Gn,ur,dn,Kn,Ft),wr=(0,_.Z)(function(zn){(!jt||we)&&er(""),Br(zn)}),Tr=function(cr,pr){if(pr.type==="clear"){br([]);return}var eo=pr.values[0],In=eo.valueCells;wr(In)},Qr=ft!==void 0?ft:ht,Or=It||Ct,zr=Et||$t,qr=function(cr){Jt==null||Jt(cr),At==null||At(cr)},Vn=d.useMemo(function(){return{options:yn,fieldNames:cn,values:fr,halfValues:Gn,changeOnSelect:oe,onSelect:wr,checkable:B,searchOptions:vr,dropdownPrefixCls:Me,loadData:ke,expandTrigger:Y,expandIcon:Gt,loadingIcon:Yt,dropdownMenuColumnStyle:Dt,optionRender:qe}},[yn,cn,fr,Gn,oe,wr,B,vr,Me,ke,Y,Gt,Yt,Dt,qe]),sr=!($n?vr:yn).length,kn=$n&&Cr.matchInputWidth||sr?{}:{minWidth:"auto"};return d.createElement(pe.Provider,{value:Vn},d.createElement(K.Ac,(0,x.Z)({},mt,{ref:S,id:Kt,prefixCls:j,autoClearSearchValue:we,dropdownMatchSelectWidth:Zt,dropdownStyle:(0,D.Z)((0,D.Z)({},kn),Mt),displayValues:gr,onDisplayValuesChange:Tr,mode:jt?"multiple":void 0,searchValue:$n,onSearch:Wn,showSearch:$r,OptionList:f,emptyOptions:sr,open:Qr,dropdownClassName:Or,placement:zr,onDropdownVisibleChange:qr,getRawInputElement:function(){return nn}})))});C.SHOW_PARENT=ae,C.SHOW_CHILD=le,C.Panel=$;var Xe=C,W=Xe,Le=t(2738),Ke=t(75030),nt=t(86641),lt=t(45915),et=t(82855),w=t(48755),ge=t(38406),Ze=t(2171),Ve=t(83397),ot=t(31756),Tt=t(56553),ct=t(24971),dt=t(1722),Rt=t(90376),Vt=t(68525),Ht=t(90005),Xt=t(70045);function wt(u,S){const{getPrefixCls:A,direction:ve,renderEmpty:j}=d.useContext(w.E_),O=S||ve,V=A("select",u),ee=A("cascader",u);return[V,ee,O,j]}var Ut=wt;function yt(u,S){return d.useMemo(()=>S?d.createElement("span",{className:`${u}-checkbox-inner`}):!1,[S])}var Bt=t(33853),Pt=t(58617),kt=t(38819),pt=(u,S,A)=>{let ve=A;A||(ve=S?d.createElement(Bt.Z,null):d.createElement(kt.Z,null));const j=d.createElement("span",{className:`${u}-menu-item-loading-icon`},d.createElement(Pt.Z,{spin:!0}));return d.useMemo(()=>[ve,j],[ve])},Lt=t(56119),ln=t(16931),rn=t(36237),xn=t(36170),Dn=t(63356),tn=u=>{const{prefixCls:S,componentCls:A}=u,ve=`${A}-menu-item`,j=` &${ve}-expand ${ve}-expand-icon, ${ve}-loading-icon -`;return[(0,xn.C2)(`${S}-checkbox`,u),{[A]:{"&-checkbox":{top:0,marginInlineEnd:u.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${A}-menu-empty`]:{[`${A}-menu`]:{width:"100%",height:"auto",[ve]:{color:u.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:u.controlItemWidth,height:u.dropdownHeight,margin:0,padding:u.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`},"&-item":Object.assign(Object.assign({},Dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:u.optionPadding,lineHeight:u.lineHeight,cursor:"pointer",transition:`all ${u.motionDurationMid}`,borderRadius:u.borderRadiusSM,"&:hover":{background:u.controlItemBgHover},"&-disabled":{color:u.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[j]:{color:u.colorTextDisabled}},[`&-active:not(${ve}-disabled)`]:{"&, &:hover":{color:u.optionSelectedColor,fontWeight:u.optionSelectedFontWeight,backgroundColor:u.optionSelectedBg}},"&-content":{flex:"auto"},[j]:{marginInlineStart:u.paddingXXS,color:u.colorTextDescription,fontSize:u.fontSizeIcon},"&-keyword":{color:u.colorHighlight}})}}}]};const Nn=u=>{const{componentCls:S,antCls:A}=u;return[{[S]:{width:u.controlWidth}},{[`${S}-dropdown`]:[{[`&${A}-select-dropdown`]:{padding:0}},tn(u)]},{[`${S}-dropdown-rtl`]:{direction:"rtl"}},(0,Lt.c)(u)]},Pn=u=>{const S=Math.round((u.controlHeight-u.fontSize*u.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:u.controlItemBgActive,optionSelectedFontWeight:u.fontWeightStrong,optionPadding:`${S}px ${u.paddingSM}px`,menuPadding:u.paddingXXS,optionSelectedColor:u.colorText}};var bn=(0,ln.I$)("Cascader",u=>[Nn(u)],Pn);const Fn=u=>{const{componentCls:S}=u;return{[`${S}-panel`]:[tn(u),{display:"inline-flex",border:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`,borderRadius:u.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${S}-menus`]:{alignItems:"stretch"},[`${S}-menu`]:{height:"auto"},"&-empty":{padding:u.paddingXXS}}]}};var _n=(0,ln.A1)(["Cascader","Panel"],u=>Fn(u),Pn);function Jn(u){const{prefixCls:S,className:A,multiple:ve,rootClassName:j,notFoundContent:O,direction:W,expandIcon:ee,disabled:oe}=u,h=d.useContext(Ze.Z),v=oe!=null?oe:h,[B,te,we,Ne]=Ut(S,W),ut=(0,Ve.Z)(te),[Ge,Y,he]=bn(te,ut);_n(te);const Me=we==="rtl",[ke,ht]=pt(B,Me,ee),ft=O||(Ne==null?void 0:Ne("Cascader"))||d.createElement(ge.Z,{componentName:"Cascader"}),Ct=yt(te,ve);return Ge(d.createElement($,Object.assign({},u,{checkable:Ct,prefixCls:te,className:L()(A,Y,j,he,ut),notFoundContent:ft,direction:we,expandIcon:ke,loadingIcon:ht,disabled:v})))}var Be=Jn,Ie=function(u,S){var A={};for(var ve in u)Object.prototype.hasOwnProperty.call(u,ve)&&S.indexOf(ve)<0&&(A[ve]=u[ve]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ve=Object.getOwnPropertySymbols(u);joe===0?[ee]:[].concat((0,e.Z)(W),[S,ee]),[]),j=[];let O=0;return ve.forEach((W,ee)=>{const oe=O+W.length;let h=u.slice(O,oe);O=oe,ee%2===1&&(h=d.createElement("span",{className:`${A}-menu-item-keyword`,key:`separator-${ee}`},h)),j.push(h)}),j}const ye=(u,S,A,ve)=>{const j=[],O=u.toLowerCase();return S.forEach((W,ee)=>{ee!==0&&j.push(" / ");let oe=W[ve.label];const h=typeof oe;(h==="string"||h==="number")&&(oe=be(String(oe),O,A)),j.push(oe)}),j},m=d.forwardRef((u,S)=>{var A;const{prefixCls:ve,size:j,disabled:O,className:W,rootClassName:ee,multiple:oe,bordered:h=!0,transitionName:v,choiceTransitionName:B="",popupClassName:te,dropdownClassName:we,expandIcon:Ne,placement:ut,showSearch:Ge,allowClear:Y=!0,notFoundContent:he,direction:Me,getPopupContainer:ke,status:ht,showArrow:ft,builtinPlacements:Ct,style:It,variant:Dt}=u,Mt=Ie(u,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),$t=(0,Le.Z)(Mt,["suffixIcon"]),{getPrefixCls:Et,getPopupContainer:Jt,className:At,style:sn}=(0,w.dj)("cascader"),{popupOverflow:Gt}=d.useContext(w.E_),{status:Yt,hasFeedback:nn,isFormItemInput:fn,feedbackIcon:Zt}=d.useContext(Tt.aM),Qt=(0,et.F)(Yt,ht),[Ft,qe,mt,Kt]=Ut(ve,Me),jt=mt==="rtl",qt=Et(),un=(0,Ve.Z)(Ft),[on,en,cn]=(0,Rt.Z)(Ft,un),Rn=(0,Ve.Z)(qe),[Bn]=bn(qe,Rn),{compactSize:yn,compactItemClassnames:dn}=(0,Xt.ri)(Ft,Me),[Kn,Xn]=(0,ct.Z)("cascader",Dt,h),ar=he||(Kt==null?void 0:Kt("Cascader"))||d.createElement(ge.Z,{componentName:"Cascader"}),$n=L()(te||we,`${qe}-dropdown`,{[`${qe}-dropdown-rtl`]:mt==="rtl"},ee,un,Rn,en,cn),er=d.useMemo(()=>{if(!Ge)return Ge;let br={render:ye};return typeof Ge=="object"&&(br=Object.assign(Object.assign({},br),Ge)),br},[Ge]),Wn=(0,ot.Z)(br=>{var Br;return(Br=j!=null?j:yn)!==null&&Br!==void 0?Br:br}),Sr=d.useContext(Ze.Z),Fr=O!=null?O:Sr,[$r,Cr]=pt(Ft,jt,Ne),vr=yt(qe,oe),En=(0,Ht.Z)(u.suffixIcon,ft),{suffixIcon:Hn,removeIcon:lr,clearIcon:fr}=(0,Vt.Z)(Object.assign(Object.assign({},u),{hasFeedback:nn,feedbackIcon:Zt,showSuffixIcon:En,multiple:oe,prefixCls:Ft,componentName:"Cascader"})),Gn=d.useMemo(()=>ut!==void 0?ut:jt?"bottomRight":"bottomLeft",[ut,jt]),ur=Y===!0?{clearIcon:fr}:Y,[yr]=(0,Ke.Cn)("SelectLike",(A=$t.dropdownStyle)===null||A===void 0?void 0:A.zIndex),gr=d.createElement(X,Object.assign({prefixCls:Ft,className:L()(!ve&&qe,{[`${Ft}-lg`]:Wn==="large",[`${Ft}-sm`]:Wn==="small",[`${Ft}-rtl`]:jt,[`${Ft}-${Kn}`]:Xn,[`${Ft}-in-form-item`]:fn},(0,et.Z)(Ft,Qt,nn),dn,At,W,ee,un,Rn,en,cn),disabled:Fr,style:Object.assign(Object.assign({},sn),It)},$t,{builtinPlacements:(0,dt.Z)(Ct,Gt),direction:mt,placement:Gn,notFoundContent:ar,allowClear:ur,showSearch:er,expandIcon:$r,suffixIcon:Hn,removeIcon:lr,loadingIcon:Cr,checkable:vr,dropdownClassName:$n,dropdownPrefixCls:ve||qe,dropdownStyle:Object.assign(Object.assign({},$t.dropdownStyle),{zIndex:yr}),choiceTransitionName:(0,nt.m)(qt,"",B),transitionName:(0,nt.m)(qt,"slide-up",v),getPopupContainer:ke||Jt,ref:S}));return Bn(on(gr))}),re=(0,lt.Z)(m,"dropdownAlign",u=>(0,Le.Z)(u,["visible"]));m.SHOW_PARENT=k,m.SHOW_CHILD=I,m.Panel=Be,m._InternalPanelDoNotUseOrYouWillBeFired=re;var De=m},62673:function(an,_e,t){t.d(_e,{default:function(){return He}});var e=t(59301),d=t(92310),i=t.n(d),L=t(16632),x=t(8654),D=t(12919),E=t(63872),Z=t(48755),K=t(2171),r=t(83397),_=t(56553),P=e.createContext(null),pe=t(36170),it=t(74632),Fe=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{var Re;const{prefixCls:de,className:H,rootClassName:n,children:ce,indeterminate:T=!1,style:ze,onMouseEnter:xe,onMouseLeave:We,skipGroup:st=!1,disabled:at}=Oe,Ae=Fe(Oe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:J,checkbox:Se}=e.useContext(Z.E_),me=e.useContext(P),{isFormItemInput:Qe}=e.useContext(_.aM),ie=e.useContext(K.Z),Je=(Re=(me==null?void 0:me.disabled)||at)!==null&&Re!==void 0?Re:ie,je=e.useRef(Ae.value),bt=e.useRef(null),Te=(0,x.sQ)(ne,bt);e.useEffect(()=>{me==null||me.registerValue(Ae.value)},[]),e.useEffect(()=>{if(!st)return Ae.value!==je.current&&(me==null||me.cancelValue(je.current),me==null||me.registerValue(Ae.value),je.current=Ae.value),()=>me==null?void 0:me.cancelValue(Ae.value)},[Ae.value]),e.useEffect(()=>{var $;!(($=bt.current)===null||$===void 0)&&$.input&&(bt.current.input.indeterminate=T)},[T]);const G=tt("checkbox",de),R=(0,r.Z)(G),[V,g,fe]=(0,pe.ZP)(G,R),z=Object.assign({},Ae);me&&!st&&(z.onChange=function(){Ae.onChange&&Ae.onChange.apply(Ae,arguments),me.toggleOption&&me.toggleOption({label:ce,value:Ae.value})},z.name=me.name,z.checked=me.value.includes(Ae.value));const o=i()(`${G}-wrapper`,{[`${G}-rtl`]:J==="rtl",[`${G}-wrapper-checked`]:z.checked,[`${G}-wrapper-disabled`]:Je,[`${G}-wrapper-in-form-item`]:Qe},Se==null?void 0:Se.className,H,n,fe,R,g),f=i()({[`${G}-indeterminate`]:T},E.A,g),[se,q]=(0,it.Z)(z.onClick);return V(e.createElement(D.Z,{component:"Checkbox",disabled:Je},e.createElement("label",{className:o,style:Object.assign(Object.assign({},Se==null?void 0:Se.style),ze),onMouseEnter:xe,onMouseLeave:We,onClick:se},e.createElement(L.Z,Object.assign({},z,{onClick:q,prefixCls:G,className:f,disabled:Je,ref:Te})),ce!==void 0&&e.createElement("span",{className:`${G}-label`},ce))))};var b=e.forwardRef(Pe),Ce=t(94480),s=t(2738),p=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{const{defaultValue:Re,children:de,options:H=[],prefixCls:n,className:ce,rootClassName:T,style:ze,onChange:xe}=Oe,We=p(Oe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:st,direction:at}=e.useContext(Z.E_),[Ae,tt]=e.useState(We.value||Re||[]),[J,Se]=e.useState([]);e.useEffect(()=>{"value"in We&&tt(We.value||[])},[We.value]);const me=e.useMemo(()=>H.map(f=>typeof f=="string"||typeof f=="number"?{label:f,value:f}:f),[H]),Qe=f=>{Se(se=>se.filter(q=>q!==f))},ie=f=>{Se(se=>[].concat((0,Ce.Z)(se),[f]))},Je=f=>{const se=Ae.indexOf(f.value),q=(0,Ce.Z)(Ae);se===-1?q.push(f.value):q.splice(se,1),"value"in We||tt(q),xe==null||xe(q.filter($=>J.includes($)).sort(($,N)=>{const U=me.findIndex(c=>c.value===$),ue=me.findIndex(c=>c.value===N);return U-ue}))},je=st("checkbox",n),bt=`${je}-group`,Te=(0,r.Z)(je),[G,R,V]=(0,pe.ZP)(je,Te),g=(0,s.Z)(We,["value","disabled"]),fe=H.length?me.map(f=>e.createElement(b,{prefixCls:je,key:f.value.toString(),disabled:"disabled"in f?f.disabled:We.disabled,value:f.value,checked:Ae.includes(f.value),onChange:f.onChange,className:`${bt}-item`,style:f.style,title:f.title,id:f.id,required:f.required},f.label)):de,z={toggleOption:Je,value:Ae,disabled:We.disabled,name:We.name,registerValue:ie,cancelValue:Qe},o=i()(bt,{[`${bt}-rtl`]:at==="rtl"},ce,T,V,Te,R);return G(e.createElement("div",Object.assign({className:o,style:ze},g,{ref:ne}),e.createElement(P.Provider,{value:z},fe)))});const y=b;y.Group=le,y.__ANT_CHECKBOX=!0;var He=y},36170:function(an,_e,t){t.d(_e,{C2:function(){return D}});var e=t(36237),d=t(63356),i=t(51636),L=t(16931);const x=E=>{const{checkboxCls:Z}=E,K=`${Z}-wrapper`;return[{[`${Z}-group`]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",flexWrap:"wrap",columnGap:E.marginXS,[`> ${E.antCls}-row`]:{flex:1}}),[K]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${K}`]:{marginInlineStart:0},[`&${K}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Z]:Object.assign(Object.assign({},(0,d.Wf)(E)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:E.borderRadiusSM,alignSelf:"center",[`${Z}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Z}-inner`]:Object.assign({},(0,d.oN)(E))},[`${Z}-inner`]:{boxSizing:"border-box",display:"block",width:E.checkboxSize,height:E.checkboxSize,direction:"ltr",backgroundColor:E.colorBgContainer,border:`${(0,e.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,borderCollapse:"separate",transition:`all ${E.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:E.calc(E.checkboxSize).div(14).mul(5).equal(),height:E.calc(E.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(E.lineWidthBold)} solid ${E.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${E.motionDurationFast} ${E.motionEaseInBack}, opacity ${E.motionDurationFast}`}},"& + span":{paddingInlineStart:E.paddingXS,paddingInlineEnd:E.paddingXS}})},{[` +`;return[(0,xn.C2)(`${S}-checkbox`,u),{[A]:{"&-checkbox":{top:0,marginInlineEnd:u.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${A}-menu-empty`]:{[`${A}-menu`]:{width:"100%",height:"auto",[ve]:{color:u.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:u.controlItemWidth,height:u.dropdownHeight,margin:0,padding:u.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`},"&-item":Object.assign(Object.assign({},Dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:u.optionPadding,lineHeight:u.lineHeight,cursor:"pointer",transition:`all ${u.motionDurationMid}`,borderRadius:u.borderRadiusSM,"&:hover":{background:u.controlItemBgHover},"&-disabled":{color:u.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[j]:{color:u.colorTextDisabled}},[`&-active:not(${ve}-disabled)`]:{"&, &:hover":{color:u.optionSelectedColor,fontWeight:u.optionSelectedFontWeight,backgroundColor:u.optionSelectedBg}},"&-content":{flex:"auto"},[j]:{marginInlineStart:u.paddingXXS,color:u.colorTextDescription,fontSize:u.fontSizeIcon},"&-keyword":{color:u.colorHighlight}})}}}]};const Nn=u=>{const{componentCls:S,antCls:A}=u;return[{[S]:{width:u.controlWidth}},{[`${S}-dropdown`]:[{[`&${A}-select-dropdown`]:{padding:0}},tn(u)]},{[`${S}-dropdown-rtl`]:{direction:"rtl"}},(0,Lt.c)(u)]},Pn=u=>{const S=Math.round((u.controlHeight-u.fontSize*u.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:u.controlItemBgActive,optionSelectedFontWeight:u.fontWeightStrong,optionPadding:`${S}px ${u.paddingSM}px`,menuPadding:u.paddingXXS,optionSelectedColor:u.colorText}};var bn=(0,ln.I$)("Cascader",u=>[Nn(u)],Pn);const Fn=u=>{const{componentCls:S}=u;return{[`${S}-panel`]:[tn(u),{display:"inline-flex",border:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`,borderRadius:u.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${S}-menus`]:{alignItems:"stretch"},[`${S}-menu`]:{height:"auto"},"&-empty":{padding:u.paddingXXS}}]}};var _n=(0,ln.A1)(["Cascader","Panel"],u=>Fn(u),Pn);function Jn(u){const{prefixCls:S,className:A,multiple:ve,rootClassName:j,notFoundContent:O,direction:V,expandIcon:ee,disabled:oe}=u,h=d.useContext(Ze.Z),v=oe!=null?oe:h,[B,te,we,Ne]=Ut(S,V),ut=(0,Ve.Z)(te),[Ge,Y,he]=bn(te,ut);_n(te);const Me=we==="rtl",[ke,ht]=pt(B,Me,ee),ft=O||(Ne==null?void 0:Ne("Cascader"))||d.createElement(ge.Z,{componentName:"Cascader"}),Ct=yt(te,ve);return Ge(d.createElement($,Object.assign({},u,{checkable:Ct,prefixCls:te,className:L()(A,Y,j,he,ut),notFoundContent:ft,direction:we,expandIcon:ke,loadingIcon:ht,disabled:v})))}var Be=Jn,Ie=function(u,S){var A={};for(var ve in u)Object.prototype.hasOwnProperty.call(u,ve)&&S.indexOf(ve)<0&&(A[ve]=u[ve]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ve=Object.getOwnPropertySymbols(u);joe===0?[ee]:[].concat((0,e.Z)(V),[S,ee]),[]),j=[];let O=0;return ve.forEach((V,ee)=>{const oe=O+V.length;let h=u.slice(O,oe);O=oe,ee%2===1&&(h=d.createElement("span",{className:`${A}-menu-item-keyword`,key:`separator-${ee}`},h)),j.push(h)}),j}const ye=(u,S,A,ve)=>{const j=[],O=u.toLowerCase();return S.forEach((V,ee)=>{ee!==0&&j.push(" / ");let oe=V[ve.label];const h=typeof oe;(h==="string"||h==="number")&&(oe=be(String(oe),O,A)),j.push(oe)}),j},m=d.forwardRef((u,S)=>{var A;const{prefixCls:ve,size:j,disabled:O,className:V,rootClassName:ee,multiple:oe,bordered:h=!0,transitionName:v,choiceTransitionName:B="",popupClassName:te,dropdownClassName:we,expandIcon:Ne,placement:ut,showSearch:Ge,allowClear:Y=!0,notFoundContent:he,direction:Me,getPopupContainer:ke,status:ht,showArrow:ft,builtinPlacements:Ct,style:It,variant:Dt}=u,Mt=Ie(u,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),$t=(0,Le.Z)(Mt,["suffixIcon"]),{getPrefixCls:Et,getPopupContainer:Jt,className:At,style:sn}=(0,w.dj)("cascader"),{popupOverflow:Gt}=d.useContext(w.E_),{status:Yt,hasFeedback:nn,isFormItemInput:fn,feedbackIcon:Zt}=d.useContext(Tt.aM),Qt=(0,et.F)(Yt,ht),[Ft,qe,mt,Kt]=Ut(ve,Me),jt=mt==="rtl",qt=Et(),un=(0,Ve.Z)(Ft),[on,en,cn]=(0,Rt.Z)(Ft,un),Rn=(0,Ve.Z)(qe),[Bn]=bn(qe,Rn),{compactSize:yn,compactItemClassnames:dn}=(0,Xt.ri)(Ft,Me),[Kn,Xn]=(0,ct.Z)("cascader",Dt,h),ar=he||(Kt==null?void 0:Kt("Cascader"))||d.createElement(ge.Z,{componentName:"Cascader"}),$n=L()(te||we,`${qe}-dropdown`,{[`${qe}-dropdown-rtl`]:mt==="rtl"},ee,un,Rn,en,cn),er=d.useMemo(()=>{if(!Ge)return Ge;let br={render:ye};return typeof Ge=="object"&&(br=Object.assign(Object.assign({},br),Ge)),br},[Ge]),Wn=(0,ot.Z)(br=>{var Br;return(Br=j!=null?j:yn)!==null&&Br!==void 0?Br:br}),Sr=d.useContext(Ze.Z),Fr=O!=null?O:Sr,[$r,Cr]=pt(Ft,jt,Ne),vr=yt(qe,oe),En=(0,Ht.Z)(u.suffixIcon,ft),{suffixIcon:Hn,removeIcon:lr,clearIcon:fr}=(0,Vt.Z)(Object.assign(Object.assign({},u),{hasFeedback:nn,feedbackIcon:Zt,showSuffixIcon:En,multiple:oe,prefixCls:Ft,componentName:"Cascader"})),Gn=d.useMemo(()=>ut!==void 0?ut:jt?"bottomRight":"bottomLeft",[ut,jt]),ur=Y===!0?{clearIcon:fr}:Y,[yr]=(0,Ke.Cn)("SelectLike",(A=$t.dropdownStyle)===null||A===void 0?void 0:A.zIndex),gr=d.createElement(W,Object.assign({prefixCls:Ft,className:L()(!ve&&qe,{[`${Ft}-lg`]:Wn==="large",[`${Ft}-sm`]:Wn==="small",[`${Ft}-rtl`]:jt,[`${Ft}-${Kn}`]:Xn,[`${Ft}-in-form-item`]:fn},(0,et.Z)(Ft,Qt,nn),dn,At,V,ee,un,Rn,en,cn),disabled:Fr,style:Object.assign(Object.assign({},sn),It)},$t,{builtinPlacements:(0,dt.Z)(Ct,Gt),direction:mt,placement:Gn,notFoundContent:ar,allowClear:ur,showSearch:er,expandIcon:$r,suffixIcon:Hn,removeIcon:lr,loadingIcon:Cr,checkable:vr,dropdownClassName:$n,dropdownPrefixCls:ve||qe,dropdownStyle:Object.assign(Object.assign({},$t.dropdownStyle),{zIndex:yr}),choiceTransitionName:(0,nt.m)(qt,"",B),transitionName:(0,nt.m)(qt,"slide-up",v),getPopupContainer:ke||Jt,ref:S}));return Bn(on(gr))}),re=(0,lt.Z)(m,"dropdownAlign",u=>(0,Le.Z)(u,["visible"]));m.SHOW_PARENT=k,m.SHOW_CHILD=I,m.Panel=Be,m._InternalPanelDoNotUseOrYouWillBeFired=re;var De=m},62673:function(an,_e,t){t.d(_e,{default:function(){return He}});var e=t(59301),d=t(92310),i=t.n(d),L=t(16632),x=t(8654),D=t(12919),E=t(63872),Z=t(48755),K=t(2171),r=t(83397),_=t(56553),P=e.createContext(null),pe=t(36170),it=t(74632),Fe=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{var Re;const{prefixCls:de,className:H,rootClassName:n,children:ce,indeterminate:T=!1,style:ze,onMouseEnter:xe,onMouseLeave:We,skipGroup:st=!1,disabled:at}=Oe,Ae=Fe(Oe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:J,checkbox:Se}=e.useContext(Z.E_),me=e.useContext(P),{isFormItemInput:Qe}=e.useContext(_.aM),ie=e.useContext(K.Z),Je=(Re=(me==null?void 0:me.disabled)||at)!==null&&Re!==void 0?Re:ie,je=e.useRef(Ae.value),bt=e.useRef(null),Te=(0,x.sQ)(ne,bt);e.useEffect(()=>{me==null||me.registerValue(Ae.value)},[]),e.useEffect(()=>{if(!st)return Ae.value!==je.current&&(me==null||me.cancelValue(je.current),me==null||me.registerValue(Ae.value),je.current=Ae.value),()=>me==null?void 0:me.cancelValue(Ae.value)},[Ae.value]),e.useEffect(()=>{var $;!(($=bt.current)===null||$===void 0)&&$.input&&(bt.current.input.indeterminate=T)},[T]);const G=tt("checkbox",de),R=(0,r.Z)(G),[U,g,fe]=(0,pe.ZP)(G,R),z=Object.assign({},Ae);me&&!st&&(z.onChange=function(){Ae.onChange&&Ae.onChange.apply(Ae,arguments),me.toggleOption&&me.toggleOption({label:ce,value:Ae.value})},z.name=me.name,z.checked=me.value.includes(Ae.value));const o=i()(`${G}-wrapper`,{[`${G}-rtl`]:J==="rtl",[`${G}-wrapper-checked`]:z.checked,[`${G}-wrapper-disabled`]:Je,[`${G}-wrapper-in-form-item`]:Qe},Se==null?void 0:Se.className,H,n,fe,R,g),f=i()({[`${G}-indeterminate`]:T},E.A,g),[se,q]=(0,it.Z)(z.onClick);return U(e.createElement(D.Z,{component:"Checkbox",disabled:Je},e.createElement("label",{className:o,style:Object.assign(Object.assign({},Se==null?void 0:Se.style),ze),onMouseEnter:xe,onMouseLeave:We,onClick:se},e.createElement(L.Z,Object.assign({},z,{onClick:q,prefixCls:G,className:f,disabled:Je,ref:Te})),ce!==void 0&&e.createElement("span",{className:`${G}-label`},ce))))};var b=e.forwardRef(Pe),Ce=t(94480),s=t(2738),p=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{const{defaultValue:Re,children:de,options:H=[],prefixCls:n,className:ce,rootClassName:T,style:ze,onChange:xe}=Oe,We=p(Oe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:st,direction:at}=e.useContext(Z.E_),[Ae,tt]=e.useState(We.value||Re||[]),[J,Se]=e.useState([]);e.useEffect(()=>{"value"in We&&tt(We.value||[])},[We.value]);const me=e.useMemo(()=>H.map(f=>typeof f=="string"||typeof f=="number"?{label:f,value:f}:f),[H]),Qe=f=>{Se(se=>se.filter(q=>q!==f))},ie=f=>{Se(se=>[].concat((0,Ce.Z)(se),[f]))},Je=f=>{const se=Ae.indexOf(f.value),q=(0,Ce.Z)(Ae);se===-1?q.push(f.value):q.splice(se,1),"value"in We||tt(q),xe==null||xe(q.filter($=>J.includes($)).sort(($,N)=>{const X=me.findIndex(c=>c.value===$),ue=me.findIndex(c=>c.value===N);return X-ue}))},je=st("checkbox",n),bt=`${je}-group`,Te=(0,r.Z)(je),[G,R,U]=(0,pe.ZP)(je,Te),g=(0,s.Z)(We,["value","disabled"]),fe=H.length?me.map(f=>e.createElement(b,{prefixCls:je,key:f.value.toString(),disabled:"disabled"in f?f.disabled:We.disabled,value:f.value,checked:Ae.includes(f.value),onChange:f.onChange,className:`${bt}-item`,style:f.style,title:f.title,id:f.id,required:f.required},f.label)):de,z={toggleOption:Je,value:Ae,disabled:We.disabled,name:We.name,registerValue:ie,cancelValue:Qe},o=i()(bt,{[`${bt}-rtl`]:at==="rtl"},ce,T,U,Te,R);return G(e.createElement("div",Object.assign({className:o,style:ze},g,{ref:ne}),e.createElement(P.Provider,{value:z},fe)))});const y=b;y.Group=le,y.__ANT_CHECKBOX=!0;var He=y},36170:function(an,_e,t){t.d(_e,{C2:function(){return D}});var e=t(36237),d=t(63356),i=t(51636),L=t(16931);const x=E=>{const{checkboxCls:Z}=E,K=`${Z}-wrapper`;return[{[`${Z}-group`]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",flexWrap:"wrap",columnGap:E.marginXS,[`> ${E.antCls}-row`]:{flex:1}}),[K]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${K}`]:{marginInlineStart:0},[`&${K}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Z]:Object.assign(Object.assign({},(0,d.Wf)(E)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:E.borderRadiusSM,alignSelf:"center",[`${Z}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Z}-inner`]:Object.assign({},(0,d.oN)(E))},[`${Z}-inner`]:{boxSizing:"border-box",display:"block",width:E.checkboxSize,height:E.checkboxSize,direction:"ltr",backgroundColor:E.colorBgContainer,border:`${(0,e.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,borderCollapse:"separate",transition:`all ${E.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:E.calc(E.checkboxSize).div(14).mul(5).equal(),height:E.calc(E.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(E.lineWidthBold)} solid ${E.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${E.motionDurationFast} ${E.motionEaseInBack}, opacity ${E.motionDurationFast}`}},"& + span":{paddingInlineStart:E.paddingXS,paddingInlineEnd:E.paddingXS}})},{[` ${K}:not(${K}-disabled), ${Z}:not(${Z}-disabled) `]:{[`&:hover ${Z}-inner`]:{borderColor:E.colorPrimary}},[`${K}:not(${K}-disabled)`]:{[`&:hover ${Z}-checked:not(${Z}-disabled) ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Z}-checked:not(${Z}-disabled):after`]:{borderColor:E.colorPrimaryHover}}},{[`${Z}-checked`]:{[`${Z}-inner`]:{backgroundColor:E.colorPrimary,borderColor:E.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${E.motionDurationMid} ${E.motionEaseOutBack} ${E.motionDurationFast}`}}},[` ${K}-checked:not(${K}-disabled), ${Z}-checked:not(${Z}-disabled) - `]:{[`&:hover ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"}}},{[Z]:{"&-indeterminate":{[`${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:E.calc(E.fontSizeLG).div(2).equal(),height:E.calc(E.fontSizeLG).div(2).equal(),backgroundColor:E.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorPrimary} !important`}}}},{[`${K}-disabled`]:{cursor:"not-allowed"},[`${Z}-disabled`]:{[`&, ${Z}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Z}-inner`]:{background:E.colorBgContainerDisabled,borderColor:E.colorBorder,"&:after":{borderColor:E.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:E.colorTextDisabled},[`&${Z}-indeterminate ${Z}-inner::after`]:{background:E.colorTextDisabled}}}]};function D(E,Z){const K=(0,i.mergeToken)(Z,{checkboxCls:`.${E}`,checkboxSize:Z.controlInteractiveSize});return[x(K)]}_e.ZP=(0,L.I$)("Checkbox",(E,Z)=>{let{prefixCls:K}=Z;return[D(K,E)]})},74632:function(an,_e,t){t.d(_e,{Z:function(){return i}});var e=t(59301),d=t(16089);function i(L){const x=e.useRef(null),D=()=>{d.Z.cancel(x.current),x.current=null};return[()=>{D(),x.current=(0,d.Z)(()=>{x.current=null})},K=>{x.current&&(K.stopPropagation(),D()),L==null||L(K)}]}},38406:function(an,_e,t){var e=t(59301),d=t(48755),i=t(584);const L=x=>{const{componentName:D}=x,{getPrefixCls:E}=(0,e.useContext)(d.E_),Z=E("empty");switch(D){case"Table":case"List":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${Z}-small`});case"Table.filter":return null;default:return e.createElement(i.Z,null)}};_e.Z=L},19563:function(an,_e,t){t.d(_e,{Z:function(){return tt}});var e=t(59301),d=t(33853),i=t(38819),L=t(92310),x=t.n(L),D=t(96478),E=t(6089),Z=t(18929),K=t(2738),r=t(75030),M=J=>typeof J!="object"&&typeof J!="function"||J===null,P=t(52838),pe=t(45915),it=t(22703),Fe=t(32383),Pe=t(55743),Ye=t(48755),b=t(83397),Ce=t(93041),s=t(78857),p=t(57700),ae=t(36237),le=t(63356),y=t(46e3),He=t(93873),Oe=t(34925),ne=t(37645),Re=t(36305),de=t(16931),H=t(51636),ce=J=>{const{componentCls:Se,menuCls:me,colorError:Qe,colorTextLightSolid:ie}=J,Je=`${me}-item`;return{[`${Se}, ${Se}-menu-submenu`]:{[`${me} ${Je}`]:{[`&${Je}-danger:not(${Je}-disabled)`]:{color:Qe,"&:hover":{color:ie,backgroundColor:Qe}}}}}};const T=J=>{const{componentCls:Se,menuCls:me,zIndexPopup:Qe,dropdownArrowDistance:ie,sizePopupArrow:Je,antCls:je,iconCls:bt,motionDurationMid:Te,paddingBlock:G,fontSize:R,dropdownEdgeChildPadding:V,colorTextDisabled:g,fontSizeIcon:fe,controlPaddingHorizontal:z,colorBgElevated:o}=J;return[{[Se]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qe,display:"block","&::before":{position:"absolute",insetBlock:J.calc(Je).div(2).sub(ie).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${je}-btn`]:{[`& > ${bt}-down, & > ${je}-btn-icon > ${bt}-down`]:{fontSize:fe}},[`${Se}-wrap`]:{position:"relative",[`${je}-btn > ${bt}-down`]:{fontSize:fe},[`${bt}-down::before`]:{transition:`transform ${Te}`}},[`${Se}-wrap-open`]:{[`${bt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${je}-slide-down-enter${je}-slide-down-enter-active${Se}-placement-bottomLeft, + `]:{[`&:hover ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"}}},{[Z]:{"&-indeterminate":{[`${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:E.calc(E.fontSizeLG).div(2).equal(),height:E.calc(E.fontSizeLG).div(2).equal(),backgroundColor:E.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorPrimary} !important`}}}},{[`${K}-disabled`]:{cursor:"not-allowed"},[`${Z}-disabled`]:{[`&, ${Z}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Z}-inner`]:{background:E.colorBgContainerDisabled,borderColor:E.colorBorder,"&:after":{borderColor:E.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:E.colorTextDisabled},[`&${Z}-indeterminate ${Z}-inner::after`]:{background:E.colorTextDisabled}}}]};function D(E,Z){const K=(0,i.mergeToken)(Z,{checkboxCls:`.${E}`,checkboxSize:Z.controlInteractiveSize});return[x(K)]}_e.ZP=(0,L.I$)("Checkbox",(E,Z)=>{let{prefixCls:K}=Z;return[D(K,E)]})},74632:function(an,_e,t){t.d(_e,{Z:function(){return i}});var e=t(59301),d=t(16089);function i(L){const x=e.useRef(null),D=()=>{d.Z.cancel(x.current),x.current=null};return[()=>{D(),x.current=(0,d.Z)(()=>{x.current=null})},K=>{x.current&&(K.stopPropagation(),D()),L==null||L(K)}]}},38406:function(an,_e,t){var e=t(59301),d=t(48755),i=t(584);const L=x=>{const{componentName:D}=x,{getPrefixCls:E}=(0,e.useContext)(d.E_),Z=E("empty");switch(D){case"Table":case"List":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${Z}-small`});case"Table.filter":return null;default:return e.createElement(i.Z,null)}};_e.Z=L},19563:function(an,_e,t){t.d(_e,{Z:function(){return tt}});var e=t(59301),d=t(33853),i=t(38819),L=t(92310),x=t.n(L),D=t(96478),E=t(6089),Z=t(18929),K=t(2738),r=t(75030),M=J=>typeof J!="object"&&typeof J!="function"||J===null,P=t(52838),pe=t(45915),it=t(22703),Fe=t(32383),Pe=t(55743),Ye=t(48755),b=t(83397),Ce=t(93041),s=t(78857),p=t(57700),ae=t(36237),le=t(63356),y=t(46e3),He=t(93873),Oe=t(34925),ne=t(37645),Re=t(36305),de=t(16931),H=t(51636),ce=J=>{const{componentCls:Se,menuCls:me,colorError:Qe,colorTextLightSolid:ie}=J,Je=`${me}-item`;return{[`${Se}, ${Se}-menu-submenu`]:{[`${me} ${Je}`]:{[`&${Je}-danger:not(${Je}-disabled)`]:{color:Qe,"&:hover":{color:ie,backgroundColor:Qe}}}}}};const T=J=>{const{componentCls:Se,menuCls:me,zIndexPopup:Qe,dropdownArrowDistance:ie,sizePopupArrow:Je,antCls:je,iconCls:bt,motionDurationMid:Te,paddingBlock:G,fontSize:R,dropdownEdgeChildPadding:U,colorTextDisabled:g,fontSizeIcon:fe,controlPaddingHorizontal:z,colorBgElevated:o}=J;return[{[Se]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qe,display:"block","&::before":{position:"absolute",insetBlock:J.calc(Je).div(2).sub(ie).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${je}-btn`]:{[`& > ${bt}-down, & > ${je}-btn-icon > ${bt}-down`]:{fontSize:fe}},[`${Se}-wrap`]:{position:"relative",[`${je}-btn > ${bt}-down`]:{fontSize:fe},[`${bt}-down::before`]:{transition:`transform ${Te}`}},[`${Se}-wrap-open`]:{[`${bt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${je}-slide-down-enter${je}-slide-down-enter-active${Se}-placement-bottomLeft, &${je}-slide-down-appear${je}-slide-down-appear-active${Se}-placement-bottomLeft, &${je}-slide-down-enter${je}-slide-down-enter-active${Se}-placement-bottom, &${je}-slide-down-appear${je}-slide-down-appear-active${Se}-placement-bottom, @@ -21,7 +21,7 @@ &${je}-slide-down-leave${je}-slide-down-leave-active${Se}-placement-bottom, &${je}-slide-down-leave${je}-slide-down-leave-active${Se}-placement-bottomRight`]:{animationName:y.Uw},[`&${je}-slide-up-leave${je}-slide-up-leave-active${Se}-placement-topLeft, &${je}-slide-up-leave${je}-slide-up-leave-active${Se}-placement-top, - &${je}-slide-up-leave${je}-slide-up-leave-active${Se}-placement-topRight`]:{animationName:y.ly}}},(0,ne.ZP)(J,o,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Se} ${me}`]:{position:"relative",margin:0},[`${me}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Se}, ${Se}-menu-submenu`]:Object.assign(Object.assign({},(0,le.Wf)(J)),{[me]:Object.assign(Object.assign({padding:V,listStyleType:"none",backgroundColor:o,backgroundClip:"padding-box",borderRadius:J.borderRadiusLG,outline:"none",boxShadow:J.boxShadowSecondary},(0,le.Qy)(J)),{"&:empty":{padding:0,boxShadow:"none"},[`${me}-item-group-title`]:{padding:`${(0,ae.unit)(G)} ${(0,ae.unit)(z)}`,color:J.colorTextDescription,transition:`all ${Te}`},[`${me}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${me}-item-icon`]:{minWidth:R,marginInlineEnd:J.marginXS,fontSize:J.fontSizeSM},[`${me}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${me}-item-extra`]:{paddingInlineStart:J.padding,marginInlineStart:"auto",fontSize:J.fontSizeSM,color:J.colorTextDescription}},[`${me}-item, ${me}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ae.unit)(G)} ${(0,ae.unit)(z)}`,color:J.colorText,fontWeight:"normal",fontSize:R,lineHeight:J.lineHeight,cursor:"pointer",transition:`all ${Te}`,borderRadius:J.borderRadiusSM,"&:hover, &-active":{backgroundColor:J.controlItemBgHover}},(0,le.Qy)(J)),{"&-selected":{color:J.colorPrimary,backgroundColor:J.controlItemBgActive,"&:hover, &-active":{backgroundColor:J.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:o,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ae.unit)(J.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:J.colorSplit},[`${Se}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:J.paddingXS,[`${Se}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:J.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${me}-item-group-list`]:{margin:`0 ${(0,ae.unit)(J.marginXS)}`,padding:0,listStyle:"none"},[`${me}-submenu-title`]:{paddingInlineEnd:J.calc(z).add(J.fontSizeSM).equal()},[`${me}-submenu-vertical`]:{position:"relative"},[`${me}-submenu${me}-submenu-disabled ${Se}-menu-submenu-title`]:{[`&, ${Se}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:o,cursor:"not-allowed"}},[`${me}-submenu-selected ${Se}-menu-submenu-title`]:{color:J.colorPrimary}})})},[(0,y.oN)(J,"slide-up"),(0,y.oN)(J,"slide-down"),(0,He.Fm)(J,"move-up"),(0,He.Fm)(J,"move-down"),(0,Oe._y)(J,"zoom-big")]]},ze=J=>Object.assign(Object.assign({zIndexPopup:J.zIndexPopupBase+50,paddingBlock:(J.controlHeight-J.fontSize*J.lineHeight)/2},(0,ne.wZ)({contentRadius:J.borderRadiusLG,limitVerticalRadius:!0})),(0,Re.w)(J));var xe=(0,de.I$)("Dropdown",J=>{const{marginXXS:Se,sizePopupArrow:me,paddingXXS:Qe,componentCls:ie}=J,Je=(0,H.mergeToken)(J,{menuCls:`${ie}-menu`,dropdownArrowDistance:J.calc(me).div(2).add(Se).equal(),dropdownEdgeChildPadding:Qe});return[T(Je),ce(Je)]},ze,{resetStyle:!1});const We=null,st=J=>{var Se;const{menu:me,arrow:Qe,prefixCls:ie,children:Je,trigger:je,disabled:bt,dropdownRender:Te,getPopupContainer:G,overlayClassName:R,rootClassName:V,overlayStyle:g,open:fe,onOpenChange:z,visible:o,onVisibleChange:f,mouseEnterDelay:se=.15,mouseLeaveDelay:q=.1,autoAdjustOverflow:$=!0,placement:N="",overlay:U,transitionName:ue}=J,{getPopupContainer:c,getPrefixCls:C,direction:Xe,dropdown:X}=e.useContext(Ye.E_),Le=(0,Fe.ln)("Dropdown"),Ke=e.useMemo(()=>{const Wt=C();return ue!==void 0?ue:N.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[C,N,ue]),nt=e.useMemo(()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:Xe==="rtl"?"bottomRight":"bottomLeft",[N,Xe]),lt=C("dropdown",ie),et=(0,b.Z)(lt),[w,ge,Ze]=xe(lt,et),[,Ve]=(0,p.ZP)(),ot=e.Children.only(M(Je)?e.createElement("span",null,Je):Je),Tt=(0,it.Tm)(ot,{className:x()(`${lt}-trigger`,{[`${lt}-rtl`]:Xe==="rtl"},ot.props.className),disabled:(Se=ot.props.disabled)!==null&&Se!==void 0?Se:bt}),ct=bt?[]:je,dt=!!(ct!=null&&ct.includes("contextMenu")),[Rt,Vt]=(0,Z.Z)(!1,{value:fe!=null?fe:o}),Ht=(0,E.Z)(Wt=>{z==null||z(Wt,{source:"trigger"}),f==null||f(Wt),Vt(Wt)}),Xt=x()(R,V,ge,Ze,et,X==null?void 0:X.className,{[`${lt}-rtl`]:Xe==="rtl"}),wt=(0,P.Z)({arrowPointAtCenter:typeof Qe=="object"&&Qe.pointAtCenter,autoAdjustOverflow:$,offset:Ve.marginXXS,arrowWidth:Qe?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius}),Ut=e.useCallback(()=>{me!=null&&me.selectable&&(me!=null&&me.multiple)||(z==null||z(!1,{source:"menu"}),Vt(!1))},[me==null?void 0:me.selectable,me==null?void 0:me.multiple]),yt=()=>{let Wt;return me!=null&&me.items?Wt=e.createElement(Ce.default,Object.assign({},me)):typeof U=="function"?Wt=U():Wt=U,Te&&(Wt=Te(Wt)),Wt=e.Children.only(typeof Wt=="string"?e.createElement("span",null,Wt):Wt),e.createElement(s.J,{prefixCls:`${lt}-menu`,rootClassName:x()(Ze,et),expandIcon:e.createElement("span",{className:`${lt}-menu-submenu-arrow`},Xe==="rtl"?e.createElement(d.Z,{className:`${lt}-menu-submenu-arrow-icon`}):e.createElement(i.Z,{className:`${lt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ut,validator:pt=>{let{mode:Lt}=pt}},Wt)},[Bt,Pt]=(0,r.Cn)("Dropdown",g==null?void 0:g.zIndex);let kt=e.createElement(D.Z,Object.assign({alignPoint:dt},(0,K.Z)(J,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:q,visible:Rt,builtinPlacements:wt,arrow:!!Qe,overlayClassName:Xt,prefixCls:lt,getPopupContainer:G||c,transitionName:Ke,trigger:ct,overlay:yt,placement:nt,onVisibleChange:Ht,overlayStyle:Object.assign(Object.assign(Object.assign({},X==null?void 0:X.style),g),{zIndex:Bt})}),Tt);return Bt&&(kt=e.createElement(Pe.Z.Provider,{value:Pt},kt)),w(kt)},at=(0,pe.Z)(st,"align",void 0,"dropdown",J=>J),Ae=J=>e.createElement(at,Object.assign({},J),e.createElement("span",null));st._InternalPanelDoNotUseOrYouWillBeFired=Ae;var tt=st},75727:function(an,_e,t){t.d(_e,{Z:function(){return pe}});var e=t(19563),d=t(59301),i=t(18785),L=t(92310),x=t.n(L),D=t(7939),E=t(48755),Z=t(44104),K=t(70045),r=function(it,Fe){var Pe={};for(var Ye in it)Object.prototype.hasOwnProperty.call(it,Ye)&&Fe.indexOf(Ye)<0&&(Pe[Ye]=it[Ye]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,Ye=Object.getOwnPropertySymbols(it);b{const{getPopupContainer:Fe,getPrefixCls:Pe,direction:Ye}=d.useContext(E.E_),{prefixCls:b,type:Ce="default",danger:s,disabled:p,loading:ae,onClick:le,htmlType:y,children:He,className:Oe,menu:ne,arrow:Re,autoFocus:de,overlay:H,trigger:n,align:ce,open:T,onOpenChange:ze,placement:xe,getPopupContainer:We,href:st,icon:at=d.createElement(i.Z,null),title:Ae,buttonsRender:tt=se=>se,mouseEnterDelay:J,mouseLeaveDelay:Se,overlayClassName:me,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:Je}=it,je=r(it,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bt=Pe("dropdown",b),Te=`${bt}-button`,G={menu:ne,arrow:Re,autoFocus:de,align:ce,disabled:p,trigger:p?[]:n,onOpenChange:ze,getPopupContainer:We||Fe,mouseEnterDelay:J,mouseLeaveDelay:Se,overlayClassName:me,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:Je},{compactSize:R,compactItemClassnames:V}=(0,K.ri)(bt,Ye),g=x()(Te,V,Oe);"overlay"in it&&(G.overlay=H),"open"in it&&(G.open=T),"placement"in it?G.placement=xe:G.placement=Ye==="rtl"?"bottomLeft":"bottomRight";const fe=d.createElement(D.ZP,{type:Ce,danger:s,disabled:p,loading:ae,onClick:le,htmlType:y,href:st,title:Ae},He),z=d.createElement(D.ZP,{type:Ce,danger:s,icon:at}),[o,f]=tt([fe,z]);return d.createElement(Z.Z.Compact,Object.assign({className:g,size:R,block:!0},je),o,d.createElement(e.Z,Object.assign({},G),f))};_.__ANT_BUTTON=!0;var M=_;const P=e.Z;P.Button=M;var pe=P},584:function(an,_e,t){t.d(_e,{Z:function(){return Ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(9017),x=t(17835),D=t(57700),Z=()=>{const[,s]=(0,D.ZP)(),[p]=(0,L.Z)("Empty"),le=new x.FastColor(s.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:le,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(p==null?void 0:p.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},r=()=>{const[,s]=(0,D.ZP)(),[p]=(0,L.Z)("Empty"),{colorFill:ae,colorFillTertiary:le,colorFillQuaternary:y,colorBgContainer:He}=s,{borderColor:Oe,shadowColor:ne,contentColor:Re}=(0,e.useMemo)(()=>({borderColor:new x.FastColor(ae).onBackground(He).toHexString(),shadowColor:new x.FastColor(le).onBackground(He).toHexString(),contentColor:new x.FastColor(y).onBackground(He).toHexString()}),[ae,le,y,He]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(p==null?void 0:p.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ne,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Oe},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Re}))))},_=t(16931),M=t(51636);const P=s=>{const{componentCls:p,margin:ae,marginXS:le,marginXL:y,fontSize:He,lineHeight:Oe}=s;return{[p]:{marginInline:le,fontSize:He,lineHeight:Oe,textAlign:"center",[`${p}-image`]:{height:s.emptyImgHeight,marginBottom:le,opacity:s.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${p}-description`]:{color:s.colorTextDescription},[`${p}-footer`]:{marginTop:ae},"&-normal":{marginBlock:y,color:s.colorTextDescription,[`${p}-description`]:{color:s.colorTextDescription},[`${p}-image`]:{height:s.emptyImgHeightMD}},"&-small":{marginBlock:le,color:s.colorTextDescription,[`${p}-image`]:{height:s.emptyImgHeightSM}}}}};var pe=(0,_.I$)("Empty",s=>{const{componentCls:p,controlHeightLG:ae,calc:le}=s,y=(0,M.mergeToken)(s,{emptyImgCls:`${p}-img`,emptyImgHeight:le(ae).mul(2.5).equal(),emptyImgHeightMD:ae,emptyImgHeightSM:le(ae).mul(.875).equal()});return[P(y)]}),it=t(48755),Fe=function(s,p){var ae={};for(var le in s)Object.prototype.hasOwnProperty.call(s,le)&&p.indexOf(le)<0&&(ae[le]=s[le]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,le=Object.getOwnPropertySymbols(s);y{const{className:p,rootClassName:ae,prefixCls:le,image:y=Pe,description:He,children:Oe,imageStyle:ne,style:Re,classNames:de,styles:H}=s,n=Fe(s,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ce,direction:T,className:ze,style:xe,classNames:We,styles:st}=(0,it.dj)("empty"),at=ce("empty",le),[Ae,tt,J]=pe(at),[Se]=(0,L.Z)("Empty"),me=typeof He!="undefined"?He:Se==null?void 0:Se.description,Qe=typeof me=="string"?me:"empty";let ie=null;return typeof y=="string"?ie=e.createElement("img",{alt:Qe,src:y}):ie=y,Ae(e.createElement("div",Object.assign({className:i()(tt,J,at,ze,{[`${at}-normal`]:y===Ye,[`${at}-rtl`]:T==="rtl"},p,ae,We.root,de==null?void 0:de.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},st.root),xe),H==null?void 0:H.root),Re)},n),e.createElement("div",{className:i()(`${at}-image`,We.image,de==null?void 0:de.image),style:Object.assign(Object.assign(Object.assign({},ne),st.image),H==null?void 0:H.image)},ie),me&&e.createElement("div",{className:i()(`${at}-description`,We.description,de==null?void 0:de.description),style:Object.assign(Object.assign({},st.description),H==null?void 0:H.description)},me),Oe&&e.createElement("div",{className:i()(`${at}-footer`,We.footer,de==null?void 0:de.footer),style:Object.assign(Object.assign({},st.footer),H==null?void 0:H.footer)},Oe)))};b.PRESENTED_IMAGE_DEFAULT=Pe,b.PRESENTED_IMAGE_SIMPLE=Ye;var Ce=b},24971:function(an,_e,t){var e=t(59301),d=t(56553),i=t(48755);const L=function(x,D){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var Z,K;const{variant:r,[x]:_}=e.useContext(i.E_),M=e.useContext(d.pg),P=_==null?void 0:_.variant;let pe;typeof D!="undefined"?pe=D:E===!1?pe="borderless":pe=(K=(Z=M!=null?M:P)!==null&&Z!==void 0?Z:r)!==null&&K!==void 0?K:"outlined";const it=i.tr.includes(pe);return[pe,it]};_e.Z=L},28284:function(an,_e,t){t.d(_e,{default:function(){return Ie}});var e=t(56553),d=t(94480),i=t(59301),L=t(92310),x=t.n(L),D=t(77900),E=t(86641),Z=t(83397);function K(I){const[k,be]=i.useState(I);return i.useEffect(()=>{const ye=setTimeout(()=>{be(I)},I.length?0:10);return()=>{clearTimeout(ye)}},[I]),k}var r=t(36237),_=t(63356),M=t(34925),P=t(34961),pe=t(51636),it=t(16931),Pe=I=>{const{componentCls:k}=I,be=`${k}-show-help`,ye=`${k}-show-help-item`;return{[be]:{transition:`opacity ${I.motionDurationFast} ${I.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ye]:{overflow:"hidden",transition:`height ${I.motionDurationFast} ${I.motionEaseInOut}, + &${je}-slide-up-leave${je}-slide-up-leave-active${Se}-placement-topRight`]:{animationName:y.ly}}},(0,ne.ZP)(J,o,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Se} ${me}`]:{position:"relative",margin:0},[`${me}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Se}, ${Se}-menu-submenu`]:Object.assign(Object.assign({},(0,le.Wf)(J)),{[me]:Object.assign(Object.assign({padding:U,listStyleType:"none",backgroundColor:o,backgroundClip:"padding-box",borderRadius:J.borderRadiusLG,outline:"none",boxShadow:J.boxShadowSecondary},(0,le.Qy)(J)),{"&:empty":{padding:0,boxShadow:"none"},[`${me}-item-group-title`]:{padding:`${(0,ae.unit)(G)} ${(0,ae.unit)(z)}`,color:J.colorTextDescription,transition:`all ${Te}`},[`${me}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${me}-item-icon`]:{minWidth:R,marginInlineEnd:J.marginXS,fontSize:J.fontSizeSM},[`${me}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${me}-item-extra`]:{paddingInlineStart:J.padding,marginInlineStart:"auto",fontSize:J.fontSizeSM,color:J.colorTextDescription}},[`${me}-item, ${me}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ae.unit)(G)} ${(0,ae.unit)(z)}`,color:J.colorText,fontWeight:"normal",fontSize:R,lineHeight:J.lineHeight,cursor:"pointer",transition:`all ${Te}`,borderRadius:J.borderRadiusSM,"&:hover, &-active":{backgroundColor:J.controlItemBgHover}},(0,le.Qy)(J)),{"&-selected":{color:J.colorPrimary,backgroundColor:J.controlItemBgActive,"&:hover, &-active":{backgroundColor:J.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:o,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ae.unit)(J.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:J.colorSplit},[`${Se}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:J.paddingXS,[`${Se}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:J.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${me}-item-group-list`]:{margin:`0 ${(0,ae.unit)(J.marginXS)}`,padding:0,listStyle:"none"},[`${me}-submenu-title`]:{paddingInlineEnd:J.calc(z).add(J.fontSizeSM).equal()},[`${me}-submenu-vertical`]:{position:"relative"},[`${me}-submenu${me}-submenu-disabled ${Se}-menu-submenu-title`]:{[`&, ${Se}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:o,cursor:"not-allowed"}},[`${me}-submenu-selected ${Se}-menu-submenu-title`]:{color:J.colorPrimary}})})},[(0,y.oN)(J,"slide-up"),(0,y.oN)(J,"slide-down"),(0,He.Fm)(J,"move-up"),(0,He.Fm)(J,"move-down"),(0,Oe._y)(J,"zoom-big")]]},ze=J=>Object.assign(Object.assign({zIndexPopup:J.zIndexPopupBase+50,paddingBlock:(J.controlHeight-J.fontSize*J.lineHeight)/2},(0,ne.wZ)({contentRadius:J.borderRadiusLG,limitVerticalRadius:!0})),(0,Re.w)(J));var xe=(0,de.I$)("Dropdown",J=>{const{marginXXS:Se,sizePopupArrow:me,paddingXXS:Qe,componentCls:ie}=J,Je=(0,H.mergeToken)(J,{menuCls:`${ie}-menu`,dropdownArrowDistance:J.calc(me).div(2).add(Se).equal(),dropdownEdgeChildPadding:Qe});return[T(Je),ce(Je)]},ze,{resetStyle:!1});const We=null,st=J=>{var Se;const{menu:me,arrow:Qe,prefixCls:ie,children:Je,trigger:je,disabled:bt,dropdownRender:Te,getPopupContainer:G,overlayClassName:R,rootClassName:U,overlayStyle:g,open:fe,onOpenChange:z,visible:o,onVisibleChange:f,mouseEnterDelay:se=.15,mouseLeaveDelay:q=.1,autoAdjustOverflow:$=!0,placement:N="",overlay:X,transitionName:ue}=J,{getPopupContainer:c,getPrefixCls:C,direction:Xe,dropdown:W}=e.useContext(Ye.E_),Le=(0,Fe.ln)("Dropdown"),Ke=e.useMemo(()=>{const Wt=C();return ue!==void 0?ue:N.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[C,N,ue]),nt=e.useMemo(()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:Xe==="rtl"?"bottomRight":"bottomLeft",[N,Xe]),lt=C("dropdown",ie),et=(0,b.Z)(lt),[w,ge,Ze]=xe(lt,et),[,Ve]=(0,p.ZP)(),ot=e.Children.only(M(Je)?e.createElement("span",null,Je):Je),Tt=(0,it.Tm)(ot,{className:x()(`${lt}-trigger`,{[`${lt}-rtl`]:Xe==="rtl"},ot.props.className),disabled:(Se=ot.props.disabled)!==null&&Se!==void 0?Se:bt}),ct=bt?[]:je,dt=!!(ct!=null&&ct.includes("contextMenu")),[Rt,Vt]=(0,Z.Z)(!1,{value:fe!=null?fe:o}),Ht=(0,E.Z)(Wt=>{z==null||z(Wt,{source:"trigger"}),f==null||f(Wt),Vt(Wt)}),Xt=x()(R,U,ge,Ze,et,W==null?void 0:W.className,{[`${lt}-rtl`]:Xe==="rtl"}),wt=(0,P.Z)({arrowPointAtCenter:typeof Qe=="object"&&Qe.pointAtCenter,autoAdjustOverflow:$,offset:Ve.marginXXS,arrowWidth:Qe?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius}),Ut=e.useCallback(()=>{me!=null&&me.selectable&&(me!=null&&me.multiple)||(z==null||z(!1,{source:"menu"}),Vt(!1))},[me==null?void 0:me.selectable,me==null?void 0:me.multiple]),yt=()=>{let Wt;return me!=null&&me.items?Wt=e.createElement(Ce.default,Object.assign({},me)):typeof X=="function"?Wt=X():Wt=X,Te&&(Wt=Te(Wt)),Wt=e.Children.only(typeof Wt=="string"?e.createElement("span",null,Wt):Wt),e.createElement(s.J,{prefixCls:`${lt}-menu`,rootClassName:x()(Ze,et),expandIcon:e.createElement("span",{className:`${lt}-menu-submenu-arrow`},Xe==="rtl"?e.createElement(d.Z,{className:`${lt}-menu-submenu-arrow-icon`}):e.createElement(i.Z,{className:`${lt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ut,validator:pt=>{let{mode:Lt}=pt}},Wt)},[Bt,Pt]=(0,r.Cn)("Dropdown",g==null?void 0:g.zIndex);let kt=e.createElement(D.Z,Object.assign({alignPoint:dt},(0,K.Z)(J,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:q,visible:Rt,builtinPlacements:wt,arrow:!!Qe,overlayClassName:Xt,prefixCls:lt,getPopupContainer:G||c,transitionName:Ke,trigger:ct,overlay:yt,placement:nt,onVisibleChange:Ht,overlayStyle:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.style),g),{zIndex:Bt})}),Tt);return Bt&&(kt=e.createElement(Pe.Z.Provider,{value:Pt},kt)),w(kt)},at=(0,pe.Z)(st,"align",void 0,"dropdown",J=>J),Ae=J=>e.createElement(at,Object.assign({},J),e.createElement("span",null));st._InternalPanelDoNotUseOrYouWillBeFired=Ae;var tt=st},75727:function(an,_e,t){t.d(_e,{Z:function(){return pe}});var e=t(19563),d=t(59301),i=t(18785),L=t(92310),x=t.n(L),D=t(7939),E=t(48755),Z=t(44104),K=t(70045),r=function(it,Fe){var Pe={};for(var Ye in it)Object.prototype.hasOwnProperty.call(it,Ye)&&Fe.indexOf(Ye)<0&&(Pe[Ye]=it[Ye]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,Ye=Object.getOwnPropertySymbols(it);b{const{getPopupContainer:Fe,getPrefixCls:Pe,direction:Ye}=d.useContext(E.E_),{prefixCls:b,type:Ce="default",danger:s,disabled:p,loading:ae,onClick:le,htmlType:y,children:He,className:Oe,menu:ne,arrow:Re,autoFocus:de,overlay:H,trigger:n,align:ce,open:T,onOpenChange:ze,placement:xe,getPopupContainer:We,href:st,icon:at=d.createElement(i.Z,null),title:Ae,buttonsRender:tt=se=>se,mouseEnterDelay:J,mouseLeaveDelay:Se,overlayClassName:me,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:Je}=it,je=r(it,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bt=Pe("dropdown",b),Te=`${bt}-button`,G={menu:ne,arrow:Re,autoFocus:de,align:ce,disabled:p,trigger:p?[]:n,onOpenChange:ze,getPopupContainer:We||Fe,mouseEnterDelay:J,mouseLeaveDelay:Se,overlayClassName:me,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:Je},{compactSize:R,compactItemClassnames:U}=(0,K.ri)(bt,Ye),g=x()(Te,U,Oe);"overlay"in it&&(G.overlay=H),"open"in it&&(G.open=T),"placement"in it?G.placement=xe:G.placement=Ye==="rtl"?"bottomLeft":"bottomRight";const fe=d.createElement(D.ZP,{type:Ce,danger:s,disabled:p,loading:ae,onClick:le,htmlType:y,href:st,title:Ae},He),z=d.createElement(D.ZP,{type:Ce,danger:s,icon:at}),[o,f]=tt([fe,z]);return d.createElement(Z.Z.Compact,Object.assign({className:g,size:R,block:!0},je),o,d.createElement(e.Z,Object.assign({},G),f))};_.__ANT_BUTTON=!0;var M=_;const P=e.Z;P.Button=M;var pe=P},584:function(an,_e,t){t.d(_e,{Z:function(){return Ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(9017),x=t(17835),D=t(57700),Z=()=>{const[,s]=(0,D.ZP)(),[p]=(0,L.Z)("Empty"),le=new x.FastColor(s.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:le,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(p==null?void 0:p.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},r=()=>{const[,s]=(0,D.ZP)(),[p]=(0,L.Z)("Empty"),{colorFill:ae,colorFillTertiary:le,colorFillQuaternary:y,colorBgContainer:He}=s,{borderColor:Oe,shadowColor:ne,contentColor:Re}=(0,e.useMemo)(()=>({borderColor:new x.FastColor(ae).onBackground(He).toHexString(),shadowColor:new x.FastColor(le).onBackground(He).toHexString(),contentColor:new x.FastColor(y).onBackground(He).toHexString()}),[ae,le,y,He]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(p==null?void 0:p.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ne,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Oe},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Re}))))},_=t(16931),M=t(51636);const P=s=>{const{componentCls:p,margin:ae,marginXS:le,marginXL:y,fontSize:He,lineHeight:Oe}=s;return{[p]:{marginInline:le,fontSize:He,lineHeight:Oe,textAlign:"center",[`${p}-image`]:{height:s.emptyImgHeight,marginBottom:le,opacity:s.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${p}-description`]:{color:s.colorTextDescription},[`${p}-footer`]:{marginTop:ae},"&-normal":{marginBlock:y,color:s.colorTextDescription,[`${p}-description`]:{color:s.colorTextDescription},[`${p}-image`]:{height:s.emptyImgHeightMD}},"&-small":{marginBlock:le,color:s.colorTextDescription,[`${p}-image`]:{height:s.emptyImgHeightSM}}}}};var pe=(0,_.I$)("Empty",s=>{const{componentCls:p,controlHeightLG:ae,calc:le}=s,y=(0,M.mergeToken)(s,{emptyImgCls:`${p}-img`,emptyImgHeight:le(ae).mul(2.5).equal(),emptyImgHeightMD:ae,emptyImgHeightSM:le(ae).mul(.875).equal()});return[P(y)]}),it=t(48755),Fe=function(s,p){var ae={};for(var le in s)Object.prototype.hasOwnProperty.call(s,le)&&p.indexOf(le)<0&&(ae[le]=s[le]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,le=Object.getOwnPropertySymbols(s);y{const{className:p,rootClassName:ae,prefixCls:le,image:y=Pe,description:He,children:Oe,imageStyle:ne,style:Re,classNames:de,styles:H}=s,n=Fe(s,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ce,direction:T,className:ze,style:xe,classNames:We,styles:st}=(0,it.dj)("empty"),at=ce("empty",le),[Ae,tt,J]=pe(at),[Se]=(0,L.Z)("Empty"),me=typeof He!="undefined"?He:Se==null?void 0:Se.description,Qe=typeof me=="string"?me:"empty";let ie=null;return typeof y=="string"?ie=e.createElement("img",{alt:Qe,src:y}):ie=y,Ae(e.createElement("div",Object.assign({className:i()(tt,J,at,ze,{[`${at}-normal`]:y===Ye,[`${at}-rtl`]:T==="rtl"},p,ae,We.root,de==null?void 0:de.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},st.root),xe),H==null?void 0:H.root),Re)},n),e.createElement("div",{className:i()(`${at}-image`,We.image,de==null?void 0:de.image),style:Object.assign(Object.assign(Object.assign({},ne),st.image),H==null?void 0:H.image)},ie),me&&e.createElement("div",{className:i()(`${at}-description`,We.description,de==null?void 0:de.description),style:Object.assign(Object.assign({},st.description),H==null?void 0:H.description)},me),Oe&&e.createElement("div",{className:i()(`${at}-footer`,We.footer,de==null?void 0:de.footer),style:Object.assign(Object.assign({},st.footer),H==null?void 0:H.footer)},Oe)))};b.PRESENTED_IMAGE_DEFAULT=Pe,b.PRESENTED_IMAGE_SIMPLE=Ye;var Ce=b},24971:function(an,_e,t){var e=t(59301),d=t(56553),i=t(48755);const L=function(x,D){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var Z,K;const{variant:r,[x]:_}=e.useContext(i.E_),M=e.useContext(d.pg),P=_==null?void 0:_.variant;let pe;typeof D!="undefined"?pe=D:E===!1?pe="borderless":pe=(K=(Z=M!=null?M:P)!==null&&Z!==void 0?Z:r)!==null&&K!==void 0?K:"outlined";const it=i.tr.includes(pe);return[pe,it]};_e.Z=L},28284:function(an,_e,t){t.d(_e,{default:function(){return Ie}});var e=t(56553),d=t(94480),i=t(59301),L=t(92310),x=t.n(L),D=t(77900),E=t(86641),Z=t(83397);function K(I){const[k,be]=i.useState(I);return i.useEffect(()=>{const ye=setTimeout(()=>{be(I)},I.length?0:10);return()=>{clearTimeout(ye)}},[I]),k}var r=t(36237),_=t(63356),M=t(34925),P=t(34961),pe=t(51636),it=t(16931),Pe=I=>{const{componentCls:k}=I,be=`${k}-show-help`,ye=`${k}-show-help-item`;return{[be]:{transition:`opacity ${I.motionDurationFast} ${I.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ye]:{overflow:"hidden",transition:`height ${I.motionDurationFast} ${I.motionEaseInOut}, opacity ${I.motionDurationFast} ${I.motionEaseInOut}, transform ${I.motionDurationFast} ${I.motionEaseInOut} !important`,[`&${ye}-appear, &${ye}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ye}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ye=I=>({legend:{display:"block",width:"100%",marginBottom:I.marginLG,padding:0,color:I.colorTextDescription,fontSize:I.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,r.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,r.unit)(I.controlOutlineWidth)} ${I.controlOutline}`},output:{display:"block",paddingTop:15,color:I.colorText,fontSize:I.fontSize,lineHeight:I.lineHeight}}),b=(I,k)=>{const{formItemCls:be}=I;return{[be]:{[`${be}-label > label`]:{height:k},[`${be}-control-input`]:{minHeight:k}}}},Ce=I=>{const{componentCls:k}=I;return{[I.componentCls]:Object.assign(Object.assign(Object.assign({},(0,_.Wf)(I)),Ye(I)),{[`${k}-text`]:{display:"inline-block",paddingInlineEnd:I.paddingSM},"&-small":Object.assign({},b(I,I.controlHeightSM)),"&-large":Object.assign({},b(I,I.controlHeightLG))})}},s=I=>{const{formItemCls:k,iconCls:be,rootPrefixCls:ye,antCls:m,labelRequiredMarkColor:re,labelColor:De,labelFontSize:u,labelHeight:S,labelColonMarginInlineStart:A,labelColonMarginInlineEnd:ve,itemMarginBottom:j}=I;return{[k]:Object.assign(Object.assign({},(0,_.Wf)(I)),{marginBottom:j,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${m}-row`]:{display:"none"},"&-has-warning":{[`${k}-split`]:{color:I.colorError}},"&-has-error":{[`${k}-split`]:{color:I.colorWarning}},[`${k}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:I.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:S,color:De,fontSize:u,[`> ${be}`]:{fontSize:I.fontSize,verticalAlign:"top"},[`&${k}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:I.marginXXS,color:re,fontSize:I.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${k}-required-mark-hidden, &${k}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${k}-optional`]:{display:"inline-block",marginInlineStart:I.marginXXS,color:I.colorTextDescription,[`&${k}-required-mark-hidden`]:{display:"none"}},[`${k}-tooltip`]:{color:I.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:I.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:A,marginInlineEnd:ve},[`&${k}-no-colon::after`]:{content:'"\\a0"'}}},[`${k}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ye}-col-'"]):not([class*="' ${ye}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:I.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[k]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:I.colorTextDescription,fontSize:I.fontSize,lineHeight:I.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:I.controlHeightSM,transition:`color ${I.motionDurationMid} ${I.motionEaseOut}`},"&-explain":{"&-error":{color:I.colorError},"&-warning":{color:I.colorWarning}}},[`&-with-help ${k}-explain`]:{height:"auto",opacity:1},[`${k}-feedback-icon`]:{fontSize:I.fontSize,textAlign:"center",visibility:"visible",animationName:M.kr,animationDuration:I.motionDurationMid,animationTimingFunction:I.motionEaseOutBack,pointerEvents:"none","&-success":{color:I.colorSuccess},"&-error":{color:I.colorError},"&-warning":{color:I.colorWarning},"&-validating":{color:I.colorPrimary}}})}},p=(I,k)=>{const{formItemCls:be}=I;return{[`${k}-horizontal`]:{[`${be}-label`]:{flexGrow:0},[`${be}-control`]:{flex:"1 1 0",minWidth:0},[`${be}-label[class$='-24'], ${be}-label[class*='-24 ']`]:{[`& + ${be}-control`]:{minWidth:"unset"}}}}},ae=I=>{const{componentCls:k,formItemCls:be,inlineItemMarginBottom:ye}=I;return{[`${k}-inline`]:{display:"flex",flexWrap:"wrap",[be]:{flex:"none",marginInlineEnd:I.margin,marginBottom:ye,"&-row":{flexWrap:"nowrap"},[`> ${be}-label, @@ -29,10 +29,10 @@ ${ye}-col-24${be}-label, ${ye}-col-xl-24${be}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[y(I),{[k]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-xs-24${be}-label`]:le(I)}}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[k]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-sm-24${be}-label`]:le(I)}}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[k]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-md-24${be}-label`]:le(I)}}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[k]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-lg-24${be}-label`]:le(I)}}}}},Oe=I=>{const{formItemCls:k,antCls:be}=I;return{[`${k}-vertical`]:{[`${k}-row`]:{flexDirection:"column"},[`${k}-label > label`]:{height:"auto"},[`${k}-control`]:{width:"100%"}},[`${k}-vertical ${k}-label, ${be}-col-24${k}-label, - ${be}-col-xl-24${k}-label`]:le(I),[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[y(I),{[k]:{[`${be}-col-xs-24${k}-label`]:le(I)}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[k]:{[`${be}-col-sm-24${k}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[k]:{[`${be}-col-md-24${k}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[k]:{[`${be}-col-lg-24${k}-label`]:le(I)}}}},ne=I=>({labelRequiredMarkColor:I.colorError,labelColor:I.colorTextHeading,labelFontSize:I.fontSize,labelHeight:I.controlHeight,labelColonMarginInlineStart:I.marginXXS/2,labelColonMarginInlineEnd:I.marginXS,itemMarginBottom:I.marginLG,verticalLabelPadding:`0 0 ${I.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Re=(I,k)=>(0,pe.mergeToken)(I,{formItemCls:`${I.componentCls}-item`,rootPrefixCls:k});var de=(0,it.I$)("Form",(I,k)=>{let{rootPrefixCls:be}=k;const ye=Re(I,be);return[Ce(ye),s(ye),Pe(ye),p(ye,ye.componentCls),p(ye,ye.formItemCls),ae(ye),He(ye),Oe(ye),(0,P.Z)(ye),M.kr]},ne,{order:-1e3});const H=[];function n(I,k,be){let ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof I=="string"?I:`${k}-${ye}`,error:I,errorStatus:be}}var T=I=>{let{help:k,helpStatus:be,errors:ye=H,warnings:m=H,className:re,fieldId:De,onVisibleChanged:u}=I;const{prefixCls:S}=i.useContext(e.Rk),A=`${S}-item-explain`,ve=(0,Z.Z)(S),[j,O,W]=de(S,ve),ee=i.useMemo(()=>(0,E.Z)(S),[S]),oe=K(ye),h=K(m),v=i.useMemo(()=>k!=null?[n(k,"help",be)]:[].concat((0,d.Z)(oe.map((we,Ne)=>n(we,"error","error",Ne))),(0,d.Z)(h.map((we,Ne)=>n(we,"warning","warning",Ne)))),[k,be,oe,h]),B=i.useMemo(()=>{const we={};return v.forEach(Ne=>{let{key:ut}=Ne;we[ut]=(we[ut]||0)+1}),v.map((Ne,ut)=>Object.assign(Object.assign({},Ne),{key:we[Ne.key]>1?`${Ne.key}-fallback-${ut}`:Ne.key}))},[v]),te={};return De&&(te.id=`${De}_help`),j(i.createElement(D.default,{motionDeadline:ee.motionDeadline,motionName:`${S}-show-help`,visible:!!B.length,onVisibleChanged:u},we=>{const{className:Ne,style:ut}=we;return i.createElement("div",Object.assign({},te,{className:x()(A,Ne,W,ve,re,O),style:ut}),i.createElement(D.CSSMotionList,Object.assign({keys:B},(0,E.Z)(S),{motionName:`${S}-show-help-item`,component:!1}),Ge=>{const{key:Y,error:he,errorStatus:Me,className:ke,style:ht}=Ge;return i.createElement("div",{key:Y,className:x()(ke,{[`${A}-${Me}`]:Me}),style:ht},he)}))}))},ze=t(22001),xe=t(48755),We=t(2171),st=t(31756),at=t(23069),Ae=t(76846),tt=t(16722);const J=["parentNode"],Se="form_item";function me(I){return I===void 0||I===!1?[]:Array.isArray(I)?I:[I]}function Qe(I,k){if(!I.length)return;const be=I.join("_");return k?`${k}_${be}`:J.includes(be)?`${Se}_${be}`:be}function ie(I,k,be,ye,m,re){let De=ye;return re!==void 0?De=re:be.validating?De="validating":I.length?De="error":k.length?De="warning":(be.touched||m&&be.validated)&&(De="success"),De}var Je=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);mI!=null?I:Object.assign(Object.assign({},k),{__INTERNAL__:{itemRef:m=>re=>{const De=je(m);re?be.current[De]=re:delete be.current[De]}},scrollToField:function(m){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:De}=re,u=Je(re,["focus"]),S=bt(m,ye);S&&((0,tt.Z)(S,Object.assign({scrollMode:"if-needed",block:"nearest"},u)),De&&ye.focusField(m))},focusField:m=>{var re,De;const u=ye.getFieldInstance(m);typeof(u==null?void 0:u.focus)=="function"?u.focus():(De=(re=bt(m,ye))===null||re===void 0?void 0:re.focus)===null||De===void 0||De.call(re)},getFieldInstance:m=>{const re=je(m);return be.current[re]}}),[I,k]);return[ye]}var G=t(98350),R=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{const be=i.useContext(We.Z),{getPrefixCls:ye,direction:m,requiredMark:re,colon:De,scrollToFirstError:u,className:S,style:A}=(0,xe.dj)("form"),{prefixCls:ve,className:j,rootClassName:O,size:W,disabled:ee=be,form:oe,colon:h,labelAlign:v,labelWrap:B,labelCol:te,wrapperCol:we,hideRequiredMark:Ne,layout:ut="horizontal",scrollToFirstError:Ge,requiredMark:Y,onFinishFailed:he,name:Me,style:ke,feedbackIcons:ht,variant:ft}=I,Ct=R(I,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),It=(0,st.Z)(W),Dt=i.useContext(G.Z),Mt=i.useMemo(()=>Y!==void 0?Y:Ne?!1:re!==void 0?re:!0,[Ne,Y,re]),$t=h!=null?h:De,Et=ye("form",ve),Jt=(0,Z.Z)(Et),[At,sn,Gt]=de(Et,Jt),Yt=x()(Et,`${Et}-${ut}`,{[`${Et}-hide-required-mark`]:Mt===!1,[`${Et}-rtl`]:m==="rtl",[`${Et}-${It}`]:It},Gt,Jt,sn,S,j,O),[nn]=Te(oe),{__INTERNAL__:fn}=nn;fn.name=Me;const Zt=i.useMemo(()=>({name:Me,labelAlign:v,labelCol:te,labelWrap:B,wrapperCol:we,vertical:ut==="vertical",colon:$t,requiredMark:Mt,itemRef:fn.itemRef,form:nn,feedbackIcons:ht}),[Me,v,te,we,ut,$t,Mt,nn,ht]),Qt=i.useRef(null);i.useImperativeHandle(k,()=>{var mt;return Object.assign(Object.assign({},nn),{nativeElement:(mt=Qt.current)===null||mt===void 0?void 0:mt.nativeElement})});const Ft=(mt,Kt)=>{if(mt){let jt={block:"nearest"};typeof mt=="object"&&(jt=Object.assign(Object.assign({},jt),mt)),nn.scrollToField(Kt,jt)}},qe=mt=>{if(he==null||he(mt),mt.errorFields.length){const Kt=mt.errorFields[0].name;if(Ge!==void 0){Ft(Ge,Kt);return}u!==void 0&&Ft(u,Kt)}};return At(i.createElement(e.pg.Provider,{value:ft},i.createElement(We.n,{disabled:ee},i.createElement(at.Z.Provider,{value:It},i.createElement(e.RV,{validateMessages:Dt},i.createElement(e.q3.Provider,{value:Zt},i.createElement(ze.default,Object.assign({id:Me},Ct,{name:Me,onFinishFailed:qe,form:nn,ref:Qt,style:Object.assign(Object.assign({},A),ke),className:Yt}))))))))};var fe=i.forwardRef(V),z=t(41799),o=t(8654),f=t(22703),se=t(32383),q=t(11592);function $(I){if(typeof I=="function")return I;const k=(0,q.Z)(I);return k.length<=1?k[0]:k}const N=()=>{const{status:I,errors:k=[],warnings:be=[]}=i.useContext(e.aM);return{status:I,errors:k,warnings:be}};N.Context=e.aM;var U=N,ue=t(16089);function c(I){const[k,be]=i.useState(I),ye=i.useRef(null),m=i.useRef([]),re=i.useRef(!1);i.useEffect(()=>(re.current=!1,()=>{re.current=!0,ue.Z.cancel(ye.current),ye.current=null}),[]);function De(u){re.current||(ye.current===null&&(m.current=[],ye.current=(0,ue.Z)(()=>{ye.current=null,be(S=>{let A=S;return m.current.forEach(ve=>{A=ve(A)}),A})})),m.current.push(u))}return[k,De]}function C(){const{itemRef:I}=i.useContext(e.q3),k=i.useRef({});function be(ye,m){const re=m&&typeof m=="object"&&(0,o.C4)(m),De=ye.join("_");return(k.current.name!==De||k.current.originRef!==re)&&(k.current.name=De,k.current.originRef=re,k.current.ref=(0,o.sQ)(I(ye),re)),k.current.ref}return be}var Xe=t(29194),X=t(34280),Le=t(2738),Ke=t(65970),nt=t(70425),lt=t(5472);const et=I=>{const{formItemCls:k}=I;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${k}-control`]:{display:"flex"}}}};var w=(0,it.bk)(["Form","item-item"],(I,k)=>{let{rootPrefixCls:be}=k;const ye=Re(I,be);return[et(ye)]}),ge=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{const{prefixCls:k,status:be,labelCol:ye,wrapperCol:m,children:re,errors:De,warnings:u,_internalItemRender:S,extra:A,help:ve,fieldId:j,marginBottom:O,onErrorVisibleChanged:W,label:ee}=I,oe=`${k}-item`,h=i.useContext(e.q3),v=i.useMemo(()=>{let Ct=Object.assign({},m||h.wrapperCol||{});return ee===null&&!ye&&!m&&h.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Dt=>{const Mt=Dt?[Dt]:[],$t=(0,nt.U2)(h.labelCol,Mt),Et=typeof $t=="object"?$t:{},Jt=(0,nt.U2)(Ct,Mt),At=typeof Jt=="object"?Jt:{};"span"in Et&&!("offset"in At)&&Et.span{const{labelCol:Ct,wrapperCol:It}=h;return ge(h,["labelCol","wrapperCol"])},[h]),we=i.useRef(null),[Ne,ut]=i.useState(0);(0,X.Z)(()=>{A&&we.current?ut(we.current.clientHeight):ut(0)},[A]);const Ge=i.createElement("div",{className:`${oe}-control-input`},i.createElement("div",{className:`${oe}-control-input-content`},re)),Y=i.useMemo(()=>({prefixCls:k,status:be}),[k,be]),he=O!==null||De.length||u.length?i.createElement(e.Rk.Provider,{value:Y},i.createElement(T,{fieldId:j,errors:De,warnings:u,help:ve,helpStatus:be,className:`${oe}-explain-connected`,onVisibleChanged:W})):null,Me={};j&&(Me.id=`${j}_extra`);const ke=A?i.createElement("div",Object.assign({},Me,{className:`${oe}-extra`,ref:we}),A):null,ht=he||ke?i.createElement("div",{className:`${oe}-additional`,style:O?{minHeight:O+Ne}:{}},he,ke):null,ft=S&&S.mark==="pro_table_render"&&S.render?S.render(I,{input:Ge,errorList:he,extra:ke}):i.createElement(i.Fragment,null,Ge,ht);return i.createElement(e.q3.Provider,{value:te},i.createElement(lt.Z,Object.assign({},v,{className:B}),ft),i.createElement(w,{prefixCls:k}))},Tt=t(61485),ct=t(9017),dt=t(85981),Rt=t(25399),Vt=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{let{prefixCls:k,label:be,htmlFor:ye,labelCol:m,labelAlign:re,colon:De,required:u,requiredMark:S,tooltip:A,vertical:ve}=I;var j;const[O]=(0,ct.Z)("Form"),{labelAlign:W,labelCol:ee,labelWrap:oe,colon:h}=i.useContext(e.q3);if(!be)return null;const v=m||ee||{},B=re||W,te=`${k}-item-label`,we=x()(te,B==="left"&&`${te}-left`,v.className,{[`${te}-wrap`]:!!oe});let Ne=be;const ut=De===!0||h!==!1&&De!==!1;ut&&!ve&&typeof be=="string"&&be.trim()&&(Ne=be.replace(/[:|:]\s*$/,""));const Y=Ht(A);if(Y){const{icon:Ct=i.createElement(Tt.Z,null)}=Y,It=Vt(Y,["icon"]),Dt=i.createElement(Rt.Z,Object.assign({},It),i.cloneElement(Ct,{className:`${k}-item-tooltip`,title:"",onClick:Mt=>{Mt.preventDefault()},tabIndex:null}));Ne=i.createElement(i.Fragment,null,Ne,Dt)}const he=S==="optional",Me=typeof S=="function",ke=S===!1;Me?Ne=S(Ne,{required:!!u}):he&&!u&&(Ne=i.createElement(i.Fragment,null,Ne,i.createElement("span",{className:`${k}-item-optional`,title:""},(O==null?void 0:O.optional)||((j=dt.Z.Form)===null||j===void 0?void 0:j.optional))));let ht;ke?ht="hidden":(he||Me)&&(ht="optional");const ft=x()({[`${k}-item-required`]:u,[`${k}-item-required-mark-${ht}`]:ht,[`${k}-item-no-colon`]:!ut});return i.createElement(lt.Z,Object.assign({},v,{className:we}),i.createElement("label",{htmlFor:ye,className:ft,title:typeof be=="string"?be:""},Ne))},Ut=t(29679),yt=t(19248),Bt=t(96512),Pt=t(58617);const kt={success:Ut.Z,warning:Bt.Z,error:yt.Z,validating:Pt.Z};function Wt(I){let{children:k,errors:be,warnings:ye,hasFeedback:m,validateStatus:re,prefixCls:De,meta:u,noStyle:S}=I;const A=`${De}-item`,{feedbackIcons:ve}=i.useContext(e.q3),j=ie(be,ye,u,null,!!m,re),{isFormItemInput:O,status:W,hasFeedback:ee,feedbackIcon:oe}=i.useContext(e.aM),h=i.useMemo(()=>{var v;let B;if(m){const we=m!==!0&&m.icons||ve,Ne=j&&((v=we==null?void 0:we({status:j,errors:be,warnings:ye}))===null||v===void 0?void 0:v[j]),ut=j&&kt[j];B=Ne!==!1&&ut?i.createElement("span",{className:x()(`${A}-feedback-icon`,`${A}-feedback-icon-${j}`)},Ne||i.createElement(ut,null)):null}const te={status:j||"",errors:be,warnings:ye,hasFeedback:!!m,feedbackIcon:B,isFormItemInput:!0};return S&&(te.status=(j!=null?j:W)||"",te.isFormItemInput=O,te.hasFeedback=!!(m!=null?m:ee),te.feedbackIcon=m!==void 0?te.feedbackIcon:oe),te},[j,m,S,O,W]);return i.createElement(e.aM.Provider,{value:h},k)}var pt=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{if(ke&&Ge.current){const Et=getComputedStyle(Ge.current);Ct(parseInt(Et.marginBottom,10))}},[ke,ht]);const It=Et=>{Et||Ct(null)},Mt=function(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Jt=Et?Y:A.errors,At=Et?he:A.warnings;return ie(Jt,At,A,"",!!ve,S)}(),$t=x()(te,be,ye,{[`${te}-with-help`]:Me||Y.length||he.length,[`${te}-has-feedback`]:Mt&&ve,[`${te}-has-success`]:Mt==="success",[`${te}-has-warning`]:Mt==="warning",[`${te}-has-error`]:Mt==="error",[`${te}-is-validating`]:Mt==="validating",[`${te}-hidden`]:j,[`${te}-${v}`]:v});return i.createElement("div",{className:$t,style:m,ref:Ge},i.createElement(Ke.Z,Object.assign({className:`${te}-row`},(0,Le.Z)(B,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(wt,Object.assign({htmlFor:W},I,{requiredMark:we,required:ee!=null?ee:oe,prefixCls:k,vertical:ut})),i.createElement(ot,Object.assign({},I,A,{errors:Y,warnings:he,prefixCls:k,status:Mt,help:re,marginBottom:ft,onErrorVisibleChanged:It}),i.createElement(e.qI.Provider,{value:h},i.createElement(Wt,{prefixCls:k,meta:A,errors:A.errors,warnings:A.warnings,hasFeedback:ve,validateStatus:Mt},O)))),!!ft&&i.createElement("div",{className:`${te}-margin-offset`,style:{marginBottom:-ft}}))}const ln="__SPLIT__",rn=null;function xn(I,k){const be=Object.keys(I),ye=Object.keys(k);return be.length===ye.length&&be.every(m=>{const re=I[m],De=k[m];return re===De||typeof re=="function"||typeof De=="function"})}const Dn=i.memo(I=>{let{children:k}=I;return k},(I,k)=>xn(I.control,k.control)&&I.update===k.update&&I.childProps.length===k.childProps.length&&I.childProps.every((be,ye)=>be===k.childProps[ye]));function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tn(I){const{name:k,noStyle:be,className:ye,dependencies:m,prefixCls:re,shouldUpdate:De,rules:u,children:S,required:A,label:ve,messageVariables:j,trigger:O="onChange",validateTrigger:W,hidden:ee,help:oe,layout:h}=I,{getPrefixCls:v}=i.useContext(xe.E_),{name:B}=i.useContext(e.q3),te=$(S),we=typeof te=="function",Ne=i.useContext(e.qI),{validateTrigger:ut}=i.useContext(ze.FieldContext),Ge=W!==void 0?W:ut,Y=k!=null,he=v("form",re),Me=(0,Z.Z)(he),[ke,ht,ft]=de(he,Me),Ct=(0,se.ln)("Form.Item"),It=i.useContext(ze.ListContext),Dt=i.useRef(null),[Mt,$t]=c({}),[Et,Jt]=(0,z.Z)(()=>Mn()),At=Qt=>{const Ft=It==null?void 0:It.getKey(Qt.name);if(Jt(Qt.destroy?Mn():Qt,!0),be&&oe!==!1&&Ne){let qe=Qt.name;if(Qt.destroy)qe=Dt.current||qe;else if(Ft!==void 0){const[mt,Kt]=Ft;qe=[mt].concat((0,d.Z)(Kt)),Dt.current=qe}Ne(Qt,qe)}},sn=(Qt,Ft)=>{$t(qe=>{const mt=Object.assign({},qe),jt=[].concat((0,d.Z)(Qt.name.slice(0,-1)),(0,d.Z)(Ft)).join(ln);return Qt.destroy?delete mt[jt]:mt[jt]=Qt,mt})},[Gt,Yt]=i.useMemo(()=>{const Qt=(0,d.Z)(Et.errors),Ft=(0,d.Z)(Et.warnings);return Object.values(Mt).forEach(qe=>{Qt.push.apply(Qt,(0,d.Z)(qe.errors||[])),Ft.push.apply(Ft,(0,d.Z)(qe.warnings||[]))}),[Qt,Ft]},[Mt,Et.errors,Et.warnings]),nn=C();function fn(Qt,Ft,qe){return be&&!ee?i.createElement(Wt,{prefixCls:he,hasFeedback:I.hasFeedback,validateStatus:I.validateStatus,meta:Et,errors:Gt,warnings:Yt,noStyle:!0},Qt):i.createElement(Lt,Object.assign({key:"row"},I,{className:x()(ye,ft,Me,ht),prefixCls:he,fieldId:Ft,isRequired:qe,errors:Gt,warnings:Yt,meta:Et,onSubItemMetaChange:sn,layout:h}),Qt)}if(!Y&&!we&&!m)return ke(fn(te));let Zt={};return typeof ve=="string"?Zt.label=ve:k&&(Zt.label=String(k)),j&&(Zt=Object.assign(Object.assign({},Zt),j)),ke(i.createElement(ze.Field,Object.assign({},I,{messageVariables:Zt,trigger:O,validateTrigger:Ge,onMetaChange:At}),(Qt,Ft,qe)=>{const mt=me(k).length&&Ft?Ft.name:[],Kt=Qe(mt,B),jt=A!==void 0?A:!!(u!=null&&u.some(on=>{if(on&&typeof on=="object"&&on.required&&!on.warningOnly)return!0;if(typeof on=="function"){const en=on(qe);return(en==null?void 0:en.required)&&!(en!=null&&en.warningOnly)}return!1})),qt=Object.assign({},Qt);let un=null;if(Array.isArray(te)&&Y)un=te;else if(!(we&&(!(De||m)||Y))){if(!(m&&!we&&!Y))if(i.isValidElement(te)){const on=Object.assign(Object.assign({},te.props),qt);if(on.id||(on.id=Kt),oe||Gt.length>0||Yt.length>0||I.extra){const Rn=[];(oe||Gt.length>0)&&Rn.push(`${Kt}_help`),I.extra&&Rn.push(`${Kt}_extra`),on["aria-describedby"]=Rn.join(" ")}Gt.length>0&&(on["aria-invalid"]="true"),jt&&(on["aria-required"]="true"),(0,o.Yr)(te)&&(on.ref=nn(mt,te)),new Set([].concat((0,d.Z)(me(O)),(0,d.Z)(me(Ge)))).forEach(Rn=>{on[Rn]=function(){for(var Bn,yn,dn,Kn,Xn,ar=arguments.length,$n=new Array(ar),er=0;er{var{prefixCls:k,children:be}=I,ye=bn(I,["prefixCls","children"]);const{getPrefixCls:m}=i.useContext(xe.E_),re=m("form",k),De=i.useMemo(()=>({prefixCls:re,status:"error"}),[re]);return i.createElement(ze.List,Object.assign({},ye),(u,S,A)=>i.createElement(e.Rk.Provider,{value:De},be(u.map(ve=>Object.assign(Object.assign({},ve),{fieldKey:ve.key})),S,{errors:A.errors,warnings:A.warnings})))};function Jn(){const{form:I}=i.useContext(e.q3);return I}const Be=fe;Be.Item=Pn,Be.List=_n,Be.ErrorList=T,Be.useForm=Te,Be.useFormInstance=Jn,Be.useWatch=ze.useWatch,Be.Provider=e.RV,Be.create=()=>{};var Ie=Be},75786:function(an,_e,t){t.d(_e,{Z:function(){return oe}});var e=t(59301),d=t(15277),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(20068),Z=t(42978),K=t(76190),r=t(75931),_=/margin|padding|width|height|max|min|offset/,M={left:!0,top:!0},P={cssFloat:1,styleFloat:1,float:1};function pe(h){return h.nodeType===1?h.ownerDocument.defaultView.getComputedStyle(h,null):{}}function it(h,v,B){if(v=v.toLowerCase(),B==="auto"){if(v==="height")return h.offsetHeight;if(v==="width")return h.offsetWidth}return v in M||(M[v]=_.test(v)),M[v]?parseFloat(B)||0:B}function Fe(h,v){var B=arguments.length,te=pe(h);return v=P[v]?"cssFloat"in h.style?"cssFloat":"styleFloat":v,B===1?te:it(h,v,te[v]||h.style[v])}function Pe(h,v,B){var te=arguments.length;if(v=P[v]?"cssFloat"in h.style?"cssFloat":"styleFloat":v,te===3)return typeof B=="number"&&_.test(v)&&(B="".concat(B,"px")),h.style[v]=B,B;for(var we in v)v.hasOwnProperty(we)&&Pe(h,we,v[we]);return pe(h)}function Ye(h){return h===document.body?document.documentElement.clientWidth:h.offsetWidth}function b(h){return h===document.body?window.innerHeight||document.documentElement.clientHeight:h.offsetHeight}function Ce(){var h=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),v=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:h,height:v}}function s(){var h=document.documentElement.clientWidth,v=window.innerHeight||document.documentElement.clientHeight;return{width:h,height:v}}function p(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ae(h){var v=h.getBoundingClientRect(),B=document.documentElement;return{left:v.left+(window.pageXOffset||B.scrollLeft)-(B.clientLeft||document.body.clientLeft||0),top:v.top+(window.pageYOffset||B.scrollTop)-(B.clientTop||document.body.clientTop||0)}}var le=t(18929),y=t(55311),He=t(8224),Oe=t(10228),ne=t(43403),Re=t(77900),de=e.createContext(null),H=function(v){var B=v.visible,te=v.maskTransitionName,we=v.getContainer,Ne=v.prefixCls,ut=v.rootClassName,Ge=v.icons,Y=v.countRender,he=v.showSwitch,Me=v.showProgress,ke=v.current,ht=v.transform,ft=v.count,Ct=v.scale,It=v.minScale,Dt=v.maxScale,Mt=v.closeIcon,$t=v.onActive,Et=v.onClose,Jt=v.onZoomIn,At=v.onZoomOut,sn=v.onRotateRight,Gt=v.onRotateLeft,Yt=v.onFlipX,nn=v.onFlipY,fn=v.onReset,Zt=v.toolbarRender,Qt=v.zIndex,Ft=v.image,qe=(0,e.useContext)(de),mt=Ge.rotateLeft,Kt=Ge.rotateRight,jt=Ge.zoomIn,qt=Ge.zoomOut,un=Ge.close,on=Ge.left,en=Ge.right,cn=Ge.flipX,Rn=Ge.flipY,Bn="".concat(Ne,"-operations-operation");e.useEffect(function(){var Cr=function(En){En.keyCode===Oe.Z.ESC&&Et()};return B&&window.addEventListener("keydown",Cr),function(){window.removeEventListener("keydown",Cr)}},[B]);var yn=function(vr,En){vr.preventDefault(),vr.stopPropagation(),$t(En)},dn=e.useCallback(function(Cr){var vr=Cr.type,En=Cr.disabled,Hn=Cr.onClick,lr=Cr.icon;return e.createElement("div",{key:vr,className:L()(Bn,"".concat(Ne,"-operations-operation-").concat(vr),(0,E.Z)({},"".concat(Ne,"-operations-operation-disabled"),!!En)),onClick:Hn},lr)},[Bn,Ne]),Kn=he?dn({icon:on,onClick:function(vr){return yn(vr,-1)},type:"prev",disabled:ke===0}):void 0,Xn=he?dn({icon:en,onClick:function(vr){return yn(vr,1)},type:"next",disabled:ke===ft-1}):void 0,ar=dn({icon:Rn,onClick:nn,type:"flipY"}),$n=dn({icon:cn,onClick:Yt,type:"flipX"}),er=dn({icon:mt,onClick:Gt,type:"rotateLeft"}),Wn=dn({icon:Kt,onClick:sn,type:"rotateRight"}),Sr=dn({icon:qt,onClick:At,type:"zoomOut",disabled:Ct<=It}),Fr=dn({icon:jt,onClick:Jt,type:"zoomIn",disabled:Ct===Dt}),$r=e.createElement("div",{className:"".concat(Ne,"-operations")},ar,$n,er,Wn,Sr,Fr);return e.createElement(Re.default,{visible:B,motionName:te},function(Cr){var vr=Cr.className,En=Cr.style;return e.createElement(ne.Z,{open:!0,getContainer:we!=null?we:document.body},e.createElement("div",{className:L()("".concat(Ne,"-operations-wrapper"),vr,ut),style:(0,D.Z)((0,D.Z)({},En),{},{zIndex:Qt})},Mt===null?null:e.createElement("button",{className:"".concat(Ne,"-close"),onClick:Et},Mt||un),he&&e.createElement(e.Fragment,null,e.createElement("div",{className:L()("".concat(Ne,"-switch-left"),(0,E.Z)({},"".concat(Ne,"-switch-left-disabled"),ke===0)),onClick:function(lr){return yn(lr,-1)}},on),e.createElement("div",{className:L()("".concat(Ne,"-switch-right"),(0,E.Z)({},"".concat(Ne,"-switch-right-disabled"),ke===ft-1)),onClick:function(lr){return yn(lr,1)}},en)),e.createElement("div",{className:"".concat(Ne,"-footer")},Me&&e.createElement("div",{className:"".concat(Ne,"-progress")},Y?Y(ke+1,ft):"".concat(ke+1," / ").concat(ft)),Zt?Zt($r,(0,D.Z)((0,D.Z)({icons:{prevIcon:Kn,nextIcon:Xn,flipYIcon:ar,flipXIcon:$n,rotateLeftIcon:er,rotateRightIcon:Wn,zoomOutIcon:Sr,zoomInIcon:Fr},actions:{onActive:$t,onFlipY:nn,onFlipX:Yt,onRotateLeft:Gt,onRotateRight:sn,onZoomOut:At,onZoomIn:Jt,onReset:fn,onClose:Et},transform:ht},qe?{current:ke,total:ft}:{}),{},{image:Ft})):$r)))})},n=H,ce=t(13697),T=t(16089),ze={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function xe(h,v,B,te){var we=(0,e.useRef)(null),Ne=(0,e.useRef)([]),ut=(0,e.useState)(ze),Ge=(0,Z.Z)(ut,2),Y=Ge[0],he=Ge[1],Me=function(Ct){he(ze),(0,ce.Z)(ze,Y)||te==null||te({transform:ze,action:Ct})},ke=function(Ct,It){we.current===null&&(Ne.current=[],we.current=(0,T.Z)(function(){he(function(Dt){var Mt=Dt;return Ne.current.forEach(function($t){Mt=(0,D.Z)((0,D.Z)({},Mt),$t)}),we.current=null,te==null||te({transform:Mt,action:It}),Mt})})),Ne.current.push((0,D.Z)((0,D.Z)({},Y),Ct))},ht=function(Ct,It,Dt,Mt,$t){var Et=h.current,Jt=Et.width,At=Et.height,sn=Et.offsetWidth,Gt=Et.offsetHeight,Yt=Et.offsetLeft,nn=Et.offsetTop,fn=Ct,Zt=Y.scale*Ct;Zt>B?(Zt=B,fn=B/Y.scale):Ztte){if(v>0)return(0,E.Z)({},h,Ne);if(v<0&&wete)return(0,E.Z)({},h,v<0?Ne:-Ne);return{}}function at(h,v,B,te){var we=s(),Ne=we.width,ut=we.height,Ge=null;return h<=Ne&&v<=ut?Ge={x:0,y:0}:(h>Ne||v>ut)&&(Ge=(0,D.Z)((0,D.Z)({},st("x",B,h,Ne)),st("y",te,v,ut))),Ge}var Ae=1,tt=1;function J(h,v,B,te,we,Ne,ut){var Ge=we.rotate,Y=we.scale,he=we.x,Me=we.y,ke=(0,e.useState)(!1),ht=(0,Z.Z)(ke,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Dt=function(At){!v||At.button!==0||(At.preventDefault(),At.stopPropagation(),It.current={diffX:At.pageX-he,diffY:At.pageY-Me,transformX:he,transformY:Me},Ct(!0))},Mt=function(At){B&&ft&&Ne({x:At.pageX-It.current.diffX,y:At.pageY-It.current.diffY},"move")},$t=function(){if(B&&ft){Ct(!1);var At=It.current,sn=At.transformX,Gt=At.transformY,Yt=he!==sn&&Me!==Gt;if(!Yt)return;var nn=h.current.offsetWidth*Y,fn=h.current.offsetHeight*Y,Zt=h.current.getBoundingClientRect(),Qt=Zt.left,Ft=Zt.top,qe=Ge%180!==0,mt=at(qe?fn:nn,qe?nn:fn,Qt,Ft);mt&&Ne((0,D.Z)({},mt),"dragRebound")}},Et=function(At){if(!(!B||At.deltaY==0)){var sn=Math.abs(At.deltaY/100),Gt=Math.min(sn,tt),Yt=Ae+Gt*te;At.deltaY>0&&(Yt=Ae/Yt),ut(Yt,"wheel",At.clientX,At.clientY)}};return(0,e.useEffect)(function(){var Jt,At,sn,Gt;if(v){sn=(0,He.Z)(window,"mouseup",$t,!1),Gt=(0,He.Z)(window,"mousemove",Mt,!1);try{window.top!==window.self&&(Jt=(0,He.Z)(window.top,"mouseup",$t,!1),At=(0,He.Z)(window.top,"mousemove",Mt,!1))}catch(Yt){(0,We.Kp)(!1,"[rc-image] ".concat(Yt))}}return function(){var Yt,nn,fn,Zt;(Yt=sn)===null||Yt===void 0||Yt.remove(),(nn=Gt)===null||nn===void 0||nn.remove(),(fn=Jt)===null||fn===void 0||fn.remove(),(Zt=At)===null||Zt===void 0||Zt.remove()}},[B,ft,he,Me,Ge,v]),{isMoving:ft,onMouseDown:Dt,onMouseMove:Mt,onMouseUp:$t,onWheel:Et}}function Se(h){return new Promise(function(v){if(!h){v(!1);return}var B=document.createElement("img");B.onerror=function(){return v(!1)},B.onload=function(){return v(!0)},B.src=h})}function me(h){var v=h.src,B=h.isCustomPlaceholder,te=h.fallback,we=(0,e.useState)(B?"loading":"normal"),Ne=(0,Z.Z)(we,2),ut=Ne[0],Ge=Ne[1],Y=(0,e.useRef)(!1),he=ut==="error";(0,e.useEffect)(function(){var ft=!0;return Se(v).then(function(Ct){!Ct&&ft&&Ge("error")}),function(){ft=!1}},[v]),(0,e.useEffect)(function(){B&&!Y.current?Ge("loading"):he&&Ge("normal")},[v]);var Me=function(){Ge("normal")},ke=function(Ct){Y.current=!1,ut==="loading"&&Ct!==null&&Ct!==void 0&&Ct.complete&&(Ct.naturalWidth||Ct.naturalHeight)&&(Y.current=!0,Me())},ht=he&&te?{src:te}:{onLoad:Me,src:v};return[ke,ht,ut]}function Qe(h,v){var B=h.x-v.x,te=h.y-v.y;return Math.hypot(B,te)}function ie(h,v,B,te){var we=Qe(h,B),Ne=Qe(v,te);if(we===0&&Ne===0)return[h.x,h.y];var ut=we/(we+Ne),Ge=h.x+ut*(v.x-h.x),Y=h.y+ut*(v.y-h.y);return[Ge,Y]}function Je(h,v,B,te,we,Ne,ut){var Ge=we.rotate,Y=we.scale,he=we.x,Me=we.y,ke=(0,e.useState)(!1),ht=(0,Z.Z)(ke,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Dt=function(At){It.current=(0,D.Z)((0,D.Z)({},It.current),At)},Mt=function(At){if(v){At.stopPropagation(),Ct(!0);var sn=At.touches,Gt=sn===void 0?[]:sn;Gt.length>1?Dt({point1:{x:Gt[0].clientX,y:Gt[0].clientY},point2:{x:Gt[1].clientX,y:Gt[1].clientY},eventType:"touchZoom"}):Dt({point1:{x:Gt[0].clientX-he,y:Gt[0].clientY-Me},eventType:"move"})}},$t=function(At){var sn=At.touches,Gt=sn===void 0?[]:sn,Yt=It.current,nn=Yt.point1,fn=Yt.point2,Zt=Yt.eventType;if(Gt.length>1&&Zt==="touchZoom"){var Qt={x:Gt[0].clientX,y:Gt[0].clientY},Ft={x:Gt[1].clientX,y:Gt[1].clientY},qe=ie(nn,fn,Qt,Ft),mt=(0,Z.Z)(qe,2),Kt=mt[0],jt=mt[1],qt=Qe(Qt,Ft)/Qe(nn,fn);ut(qt,"touchZoom",Kt,jt,!0),Dt({point1:Qt,point2:Ft,eventType:"touchZoom"})}else Zt==="move"&&(Ne({x:Gt[0].clientX-nn.x,y:Gt[0].clientY-nn.y},"move"),Dt({eventType:"move"}))},Et=function(){if(B){if(ft&&Ct(!1),Dt({eventType:"none"}),te>Y)return Ne({x:0,y:0,scale:te},"touchZoom");var At=h.current.offsetWidth*Y,sn=h.current.offsetHeight*Y,Gt=h.current.getBoundingClientRect(),Yt=Gt.left,nn=Gt.top,fn=Ge%180!==0,Zt=at(fn?sn:At,fn?At:sn,Yt,nn);Zt&&Ne((0,D.Z)({},Zt),"dragRebound")}};return(0,e.useEffect)(function(){var Jt;return B&&v&&(Jt=(0,He.Z)(window,"touchmove",function(At){return At.preventDefault()},{passive:!1})),function(){var At;(At=Jt)===null||At===void 0||At.remove()}},[B,v]),{isTouching:ft,onTouchStart:Mt,onTouchMove:$t,onTouchEnd:Et}}var je=["fallback","src","imgRef"],bt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Te=function(v){var B=v.fallback,te=v.src,we=v.imgRef,Ne=(0,r.Z)(v,je),ut=me({src:te,fallback:B}),Ge=(0,Z.Z)(ut,2),Y=Ge[0],he=Ge[1];return e.createElement("img",(0,x.Z)({ref:function(ke){we.current=ke,Y(ke)}},Ne,he))},G=function(v){var B=v.prefixCls,te=v.src,we=v.alt,Ne=v.imageInfo,ut=v.fallback,Ge=v.movable,Y=Ge===void 0?!0:Ge,he=v.onClose,Me=v.visible,ke=v.icons,ht=ke===void 0?{}:ke,ft=v.rootClassName,Ct=v.closeIcon,It=v.getContainer,Dt=v.current,Mt=Dt===void 0?0:Dt,$t=v.count,Et=$t===void 0?1:$t,Jt=v.countRender,At=v.scaleStep,sn=At===void 0?.5:At,Gt=v.minScale,Yt=Gt===void 0?1:Gt,nn=v.maxScale,fn=nn===void 0?50:nn,Zt=v.transitionName,Qt=Zt===void 0?"zoom":Zt,Ft=v.maskTransitionName,qe=Ft===void 0?"fade":Ft,mt=v.imageRender,Kt=v.imgCommonProps,jt=v.toolbarRender,qt=v.onTransform,un=v.onChange,on=(0,r.Z)(v,bt),en=(0,e.useRef)(),cn=(0,e.useContext)(de),Rn=cn&&Et>1,Bn=cn&&Et>=1,yn=(0,e.useState)(!0),dn=(0,Z.Z)(yn,2),Kn=dn[0],Xn=dn[1],ar=xe(en,Yt,fn,qt),$n=ar.transform,er=ar.resetTransform,Wn=ar.updateTransform,Sr=ar.dispatchZoomChange,Fr=J(en,Y,Me,sn,$n,Wn,Sr),$r=Fr.isMoving,Cr=Fr.onMouseDown,vr=Fr.onWheel,En=Je(en,Y,Me,Yt,$n,Wn,Sr),Hn=En.isTouching,lr=En.onTouchStart,fr=En.onTouchMove,Gn=En.onTouchEnd,ur=$n.rotate,yr=$n.scale,gr=L()((0,E.Z)({},"".concat(B,"-moving"),$r));(0,e.useEffect)(function(){Kn||Xn(!0)},[Kn]);var br=function(){er("close")},Br=function(){Sr(Ae+sn,"zoomIn")},wr=function(){Sr(Ae/(Ae+sn),"zoomOut")},Tr=function(){Wn({rotate:ur+90},"rotateRight")},Qr=function(){Wn({rotate:ur-90},"rotateLeft")},Or=function(){Wn({flipX:!$n.flipX},"flipX")},zr=function(){Wn({flipY:!$n.flipY},"flipY")},qr=function(){er("reset")},Vn=function(eo){var In=Mt+eo;!Number.isInteger(In)||In<0||In>Et-1||(Xn(!1),er(eo<0?"prev":"next"),un==null||un(In,Mt))},sr=function(eo){!Me||!Rn||(eo.keyCode===Oe.Z.LEFT?Vn(-1):eo.keyCode===Oe.Z.RIGHT&&Vn(1))},kn=function(eo){Me&&(yr!==1?Wn({x:0,y:0,scale:1},"doubleClick"):Sr(Ae+sn,"doubleClick",eo.clientX,eo.clientY))};(0,e.useEffect)(function(){var pr=(0,He.Z)(window,"keydown",sr,!1);return function(){pr.remove()}},[Me,Rn,Mt]);var zn=e.createElement(Te,(0,x.Z)({},Kt,{width:v.width,height:v.height,imgRef:en,className:"".concat(B,"-img"),alt:we,style:{transform:"translate3d(".concat($n.x,"px, ").concat($n.y,"px, 0) scale3d(").concat($n.flipX?"-":"").concat(yr,", ").concat($n.flipY?"-":"").concat(yr,", 1) rotate(").concat(ur,"deg)"),transitionDuration:(!Kn||Hn)&&"0s"},fallback:ut,src:te,onWheel:vr,onMouseDown:Cr,onDoubleClick:kn,onTouchStart:lr,onTouchMove:fr,onTouchEnd:Gn,onTouchCancel:Gn})),cr=(0,D.Z)({url:te,alt:we},Ne);return e.createElement(e.Fragment,null,e.createElement(y.Z,(0,x.Z)({transitionName:Qt,maskTransitionName:qe,closable:!1,keyboard:!0,prefixCls:B,onClose:he,visible:Me,classNames:{wrapper:gr},rootClassName:ft,getContainer:It},on,{afterClose:br}),e.createElement("div",{className:"".concat(B,"-img-wrapper")},mt?mt(zn,(0,D.Z)({transform:$n,image:cr},cn?{current:Mt}:{})):zn)),e.createElement(n,{visible:Me,transform:$n,maskTransitionName:qe,closeIcon:Ct,getContainer:It,prefixCls:B,rootClassName:ft,icons:ht,countRender:Jt,showSwitch:Rn,showProgress:Bn,current:Mt,count:Et,scale:yr,minScale:Yt,maxScale:fn,toolbarRender:jt,onActive:Vn,onZoomIn:Br,onZoomOut:wr,onRotateRight:Tr,onRotateLeft:Qr,onFlipX:Or,onFlipY:zr,onClose:he,onReset:qr,zIndex:on.zIndex!==void 0?on.zIndex+1:void 0,image:cr}))},R=G,V=t(94480),g=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function fe(h){var v=e.useState({}),B=(0,Z.Z)(v,2),te=B[0],we=B[1],Ne=e.useCallback(function(Ge,Y){return we(function(he){return(0,D.Z)((0,D.Z)({},he),{},(0,E.Z)({},Ge,Y))}),function(){we(function(he){var Me=(0,D.Z)({},he);return delete Me[Ge],Me})}},[]),ut=e.useMemo(function(){return h?h.map(function(Ge){if(typeof Ge=="string")return{data:{src:Ge}};var Y={};return Object.keys(Ge).forEach(function(he){["src"].concat((0,V.Z)(g)).includes(he)&&(Y[he]=Ge[he])}),{data:Y}}):Object.keys(te).reduce(function(Ge,Y){var he=te[Y],Me=he.canPreview,ke=he.data;return Me&&Ge.push({data:ke,id:Y}),Ge},[])},[h,te]);return[ut,Ne,!!h]}var z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],o=["src"],f=function(v){var B,te=v.previewPrefixCls,we=te===void 0?"rc-image-preview":te,Ne=v.children,ut=v.icons,Ge=ut===void 0?{}:ut,Y=v.items,he=v.preview,Me=v.fallback,ke=(0,K.Z)(he)==="object"?he:{},ht=ke.visible,ft=ke.onVisibleChange,Ct=ke.getContainer,It=ke.current,Dt=ke.movable,Mt=ke.minScale,$t=ke.maxScale,Et=ke.countRender,Jt=ke.closeIcon,At=ke.onChange,sn=ke.onTransform,Gt=ke.toolbarRender,Yt=ke.imageRender,nn=(0,r.Z)(ke,z),fn=fe(Y),Zt=(0,Z.Z)(fn,3),Qt=Zt[0],Ft=Zt[1],qe=Zt[2],mt=(0,le.Z)(0,{value:It}),Kt=(0,Z.Z)(mt,2),jt=Kt[0],qt=Kt[1],un=(0,e.useState)(!1),on=(0,Z.Z)(un,2),en=on[0],cn=on[1],Rn=((B=Qt[jt])===null||B===void 0?void 0:B.data)||{},Bn=Rn.src,yn=(0,r.Z)(Rn,o),dn=(0,le.Z)(!!ht,{value:ht,onChange:function(Hn,lr){ft==null||ft(Hn,lr,jt)}}),Kn=(0,Z.Z)(dn,2),Xn=Kn[0],ar=Kn[1],$n=(0,e.useState)(null),er=(0,Z.Z)($n,2),Wn=er[0],Sr=er[1],Fr=e.useCallback(function(En,Hn,lr,fr){var Gn=qe?Qt.findIndex(function(ur){return ur.data.src===Hn}):Qt.findIndex(function(ur){return ur.id===En});qt(Gn<0?0:Gn),ar(!0),Sr({x:lr,y:fr}),cn(!0)},[Qt,qe]);e.useEffect(function(){Xn?en||qt(0):cn(!1)},[Xn]);var $r=function(Hn,lr){qt(Hn),At==null||At(Hn,lr)},Cr=function(){ar(!1),Sr(null)},vr=e.useMemo(function(){return{register:Ft,onPreview:Fr}},[Ft,Fr]);return e.createElement(de.Provider,{value:vr},Ne,e.createElement(R,(0,x.Z)({"aria-hidden":!Xn,movable:Dt,visible:Xn,prefixCls:we,closeIcon:Jt,onClose:Cr,mousePosition:Wn,imgCommonProps:yn,src:Bn,fallback:Me,icons:Ge,minScale:Mt,maxScale:$t,getContainer:Ct,current:jt,count:Qt.length,countRender:Et,onTransform:sn,toolbarRender:Gt,imageRender:Yt,onChange:$r},nn)))},se=f,q=0;function $(h,v){var B=e.useState(function(){return q+=1,String(q)}),te=(0,Z.Z)(B,1),we=te[0],Ne=e.useContext(de),ut={data:v,canPreview:h};return e.useEffect(function(){if(Ne)return Ne.register(we,ut)},[]),e.useEffect(function(){Ne&&Ne.register(we,ut)},[h,v]),we}var N=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],U=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],ue=function(v){var B=v.src,te=v.alt,we=v.onPreviewClose,Ne=v.prefixCls,ut=Ne===void 0?"rc-image":Ne,Ge=v.previewPrefixCls,Y=Ge===void 0?"".concat(ut,"-preview"):Ge,he=v.placeholder,Me=v.fallback,ke=v.width,ht=v.height,ft=v.style,Ct=v.preview,It=Ct===void 0?!0:Ct,Dt=v.className,Mt=v.onClick,$t=v.onError,Et=v.wrapperClassName,Jt=v.wrapperStyle,At=v.rootClassName,sn=(0,r.Z)(v,N),Gt=he&&he!==!0,Yt=(0,K.Z)(It)==="object"?It:{},nn=Yt.src,fn=Yt.visible,Zt=fn===void 0?void 0:fn,Qt=Yt.onVisibleChange,Ft=Qt===void 0?we:Qt,qe=Yt.getContainer,mt=qe===void 0?void 0:qe,Kt=Yt.mask,jt=Yt.maskClassName,qt=Yt.movable,un=Yt.icons,on=Yt.scaleStep,en=Yt.minScale,cn=Yt.maxScale,Rn=Yt.imageRender,Bn=Yt.toolbarRender,yn=(0,r.Z)(Yt,U),dn=nn!=null?nn:B,Kn=(0,le.Z)(!!Zt,{value:Zt,onChange:Ft}),Xn=(0,Z.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=me({src:B,isCustomPlaceholder:Gt,fallback:Me}),Wn=(0,Z.Z)(er,3),Sr=Wn[0],Fr=Wn[1],$r=Wn[2],Cr=(0,e.useState)(null),vr=(0,Z.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=(0,e.useContext)(de),fr=!!It,Gn=function(){$n(!1),Hn(null)},ur=L()(ut,Et,At,(0,E.Z)({},"".concat(ut,"-error"),$r==="error")),yr=(0,e.useMemo)(function(){var wr={};return g.forEach(function(Tr){v[Tr]!==void 0&&(wr[Tr]=v[Tr])}),wr},g.map(function(wr){return v[wr]})),gr=(0,e.useMemo)(function(){return(0,D.Z)((0,D.Z)({},yr),{},{src:dn})},[dn,yr]),br=$(fr,gr),Br=function(Tr){var Qr=ae(Tr.target),Or=Qr.left,zr=Qr.top;lr?lr.onPreview(br,dn,Or,zr):(Hn({x:Or,y:zr}),$n(!0)),Mt==null||Mt(Tr)};return e.createElement(e.Fragment,null,e.createElement("div",(0,x.Z)({},sn,{className:ur,onClick:fr?Br:Mt,style:(0,D.Z)({width:ke,height:ht},Jt)}),e.createElement("img",(0,x.Z)({},yr,{className:L()("".concat(ut,"-img"),(0,E.Z)({},"".concat(ut,"-img-placeholder"),he===!0),Dt),style:(0,D.Z)({height:ht},ft),ref:Sr},Fr,{width:ke,height:ht,onError:$t})),$r==="loading"&&e.createElement("div",{"aria-hidden":"true",className:"".concat(ut,"-placeholder")},he),Kt&&fr&&e.createElement("div",{className:L()("".concat(ut,"-mask"),jt),style:{display:(ft==null?void 0:ft.display)==="none"?"none":void 0}},Kt)),!lr&&fr&&e.createElement(R,(0,x.Z)({"aria-hidden":!ar,visible:ar,prefixCls:Y,onClose:Gn,mousePosition:En,src:dn,alt:te,imageInfo:{width:ke,height:ht},fallback:Me,getContainer:mt,icons:un,movable:qt,scaleStep:on,minScale:en,maxScale:cn,rootClassName:At,imageRender:Rn,imgCommonProps:yr,toolbarRender:Bn},yn)))};ue.PreviewGroup=se;var c=ue,C=c,Xe=t(75030),X=t(86641),Le=t(48755),Ke=t(83397),nt=t(9017),lt=t(99267),et=t(33853),w=t(38819),ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ze=ge,Ve=t(7657),ot=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Ze}))},Tt=e.forwardRef(ot),ct=Tt,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Rt=dt,Vt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Rt}))},Ht=e.forwardRef(Vt),Xt=Ht,wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ut=wt,yt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Ut}))},Bt=e.forwardRef(yt),Pt=Bt,kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Wt=kt,pt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Wt}))},Lt=e.forwardRef(pt),ln=Lt,rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},xn=rn,Dn=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:xn}))},Mn=e.forwardRef(Dn),tn=Mn,Nn=t(36237),Pn=t(17835),bn=t(64427),Fn=t(63356),_n=t(34925),Jn=t(99495),Be=t(16931),Ie=t(51636);const I=h=>({position:h||"absolute",inset:0}),k=h=>{const{iconCls:v,motionDurationSlow:B,paddingXXS:te,marginXXS:we,prefixCls:Ne,colorTextLightSolid:ut}=h;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ut,background:new Pn.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${B}`,[`.${Ne}-mask-info`]:Object.assign(Object.assign({},Fn.vS),{padding:`0 ${(0,Nn.unit)(te)}`,[v]:{marginInlineEnd:we,svg:{verticalAlign:"baseline"}}})}},be=h=>{const{previewCls:v,modalMaskBg:B,paddingSM:te,marginXL:we,margin:Ne,paddingLG:ut,previewOperationColorDisabled:Ge,previewOperationHoverColor:Y,motionDurationSlow:he,iconCls:Me,colorTextLightSolid:ke}=h,ht=new Pn.FastColor(B).setA(.1),ft=ht.clone().setA(.2);return{[`${v}-footer`]:{position:"fixed",bottom:we,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:h.previewOperationColor,transform:"translateX(-50%)"},[`${v}-progress`]:{marginBottom:Ne},[`${v}-close`]:{position:"fixed",top:we,right:{_skip_check_:!0,value:we},display:"flex",color:ke,backgroundColor:ht.toRgbString(),borderRadius:"50%",padding:te,outline:0,border:0,cursor:"pointer",transition:`all ${he}`,"&:hover":{backgroundColor:ft.toRgbString()},[`& > ${Me}`]:{fontSize:h.previewOperationSize}},[`${v}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Nn.unit)(ut)}`,backgroundColor:ht.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:te,padding:te,cursor:"pointer",transition:`all ${he}`,userSelect:"none",[`&:not(${v}-operations-operation-disabled):hover > ${Me}`]:{color:Y},"&-disabled":{color:Ge,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Me}`]:{fontSize:h.previewOperationSize}}}}},ye=h=>{const{modalMaskBg:v,iconCls:B,previewOperationColorDisabled:te,previewCls:we,zIndexPopup:Ne,motionDurationSlow:ut}=h,Ge=new Pn.FastColor(v).setA(.1),Y=Ge.clone().setA(.2);return{[`${we}-switch-left, ${we}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:h.calc(Ne).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:h.imagePreviewSwitchSize,height:h.imagePreviewSwitchSize,marginTop:h.calc(h.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:h.previewOperationColor,background:Ge.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ut}`,userSelect:"none","&:hover":{background:Y.toRgbString()},"&-disabled":{"&, &:hover":{color:te,background:"transparent",cursor:"not-allowed",[`> ${B}`]:{cursor:"not-allowed"}}},[`> ${B}`]:{fontSize:h.previewOperationSize}},[`${we}-switch-left`]:{insetInlineStart:h.marginSM},[`${we}-switch-right`]:{insetInlineEnd:h.marginSM}}},m=h=>{const{motionEaseOut:v,previewCls:B,motionDurationSlow:te,componentCls:we}=h;return[{[`${we}-preview-root`]:{[B]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${B}-body`]:Object.assign(Object.assign({},I()),{overflow:"hidden"}),[`${B}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${te} ${v} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},I()),{transition:`transform ${te} ${v} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${B}-moving`]:{[`${B}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${we}-preview-root`]:{[`${B}-wrap`]:{zIndex:h.zIndexPopup}}},{[`${we}-preview-operations-wrapper`]:{position:"fixed",zIndex:h.calc(h.zIndexPopup).add(1).equal()},"&":[be(h),ye(h)]}]},re=h=>{const{componentCls:v}=h;return{[v]:{position:"relative",display:"inline-block",[`${v}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${v}-img-placeholder`]:{backgroundColor:h.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${v}-mask`]:Object.assign({},k(h)),[`${v}-mask:hover`]:{opacity:1},[`${v}-placeholder`]:Object.assign({},I())}}},De=h=>{const{previewCls:v}=h;return{[`${v}-root`]:(0,_n._y)(h,"zoom"),"&":(0,Jn.J$)(h,!0)}},u=h=>({zIndexPopup:h.zIndexPopupBase+80,previewOperationColor:new Pn.FastColor(h.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Pn.FastColor(h.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Pn.FastColor(h.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:h.fontSizeIcon*1.5});var S=(0,Be.I$)("Image",h=>{const v=`${h.componentCls}-preview`,B=(0,Ie.mergeToken)(h,{previewCls:v,modalMaskBg:new Pn.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:h.controlHeightLG});return[re(B),m(B),(0,bn.QA)((0,Ie.mergeToken)(B,{componentCls:v})),De(B)]},u),A=function(h,v){var B={};for(var te in h)Object.prototype.hasOwnProperty.call(h,te)&&v.indexOf(te)<0&&(B[te]=h[te]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(h);we{var{previewPrefixCls:v,preview:B}=h,te=A(h,["previewPrefixCls","preview"]);const{getPrefixCls:we}=e.useContext(Le.E_),Ne=we("image",v),ut=`${Ne}-preview`,Ge=we(),Y=(0,Ke.Z)(Ne),[he,Me,ke]=S(Ne,Y),[ht]=(0,Xe.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),ft=e.useMemo(()=>{var Ct;if(B===!1)return B;const It=typeof B=="object"?B:{},Dt=L()(Me,ke,Y,(Ct=It.rootClassName)!==null&&Ct!==void 0?Ct:"");return Object.assign(Object.assign({},It),{transitionName:(0,X.m)(Ge,"zoom",It.transitionName),maskTransitionName:(0,X.m)(Ge,"fade",It.maskTransitionName),rootClassName:Dt,zIndex:ht})},[B]);return he(e.createElement(C.PreviewGroup,Object.assign({preview:ft,previewPrefixCls:ut,icons:ve},te)))},W=function(h,v){var B={};for(var te in h)Object.prototype.hasOwnProperty.call(h,te)&&v.indexOf(te)<0&&(B[te]=h[te]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(h);we{const{prefixCls:v,preview:B,className:te,rootClassName:we,style:Ne}=h,ut=W(h,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Ge,getPopupContainer:Y,className:he,style:Me,preview:ke}=(0,Le.dj)("image"),[ht]=(0,nt.Z)("Image"),ft=Ge("image",v),Ct=Ge(),It=(0,Ke.Z)(ft),[Dt,Mt,$t]=S(ft,It),Et=L()(we,Mt,$t,It),Jt=L()(te,Mt,he),[At]=(0,Xe.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),sn=e.useMemo(()=>{if(B===!1)return B;const Yt=typeof B=="object"?B:{},{getContainer:nn,closeIcon:fn,rootClassName:Zt}=Yt,Qt=W(Yt,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:e.createElement("div",{className:`${ft}-mask-info`},e.createElement(d.Z,null),ht==null?void 0:ht.preview),icons:ve},Qt),{rootClassName:L()(Et,Zt),getContainer:nn!=null?nn:Y,transitionName:(0,X.m)(Ct,"zoom",Yt.transitionName),maskTransitionName:(0,X.m)(Ct,"fade",Yt.maskTransitionName),zIndex:At,closeIcon:fn!=null?fn:ke==null?void 0:ke.closeIcon})},[B,ht,ke==null?void 0:ke.closeIcon]),Gt=Object.assign(Object.assign({},Me),Ne);return Dt(e.createElement(C,Object.assign({prefixCls:ft,preview:sn,rootClassName:Et,className:Jt,style:Gt},ut)))};ee.PreviewGroup=O;var oe=ee},49397:function(an,_e,t){t.d(_e,{Z:function(){return s}});var e=t(59301),d=t(92310),i=t.n(d),L=t(36901),x=t(8654),D=t(62487),E=t(86013),Z=t(82855),K=t(48755),r=t(2171),_=t(83397),M=t(31756),P=t(56553),pe=t(24971),it=t(70045),Fe=t(23826),Pe=t(53075);function Ye(p){return!!(p.prefix||p.suffix||p.allowClear||p.showCount)}var b=function(p,ae){var le={};for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&ae.indexOf(y)<0&&(le[y]=p[y]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,y=Object.getOwnPropertySymbols(p);He{const{prefixCls:le,bordered:y=!0,status:He,size:Oe,disabled:ne,onBlur:Re,onFocus:de,suffix:H,allowClear:n,addonAfter:ce,addonBefore:T,className:ze,style:xe,styles:We,rootClassName:st,onChange:at,classNames:Ae,variant:tt}=p,J=b(p,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Se,direction:me,allowClear:Qe,autoComplete:ie,className:Je,style:je,classNames:bt,styles:Te}=(0,K.dj)("input"),G=Se("input",le),R=(0,e.useRef)(null),V=(0,_.Z)(G),[g,fe,z]=(0,Pe.TI)(G,st),[o]=(0,Pe.ZP)(G,V),{compactSize:f,compactItemClassnames:se}=(0,it.ri)(G,me),q=(0,M.Z)(Ve=>{var ot;return(ot=Oe!=null?Oe:f)!==null&&ot!==void 0?ot:Ve}),$=e.useContext(r.Z),N=ne!=null?ne:$,{status:U,hasFeedback:ue,feedbackIcon:c}=(0,e.useContext)(P.aM),C=(0,Z.F)(U,He),Xe=Ye(p)||!!ue,X=(0,e.useRef)(Xe),Le=(0,Fe.Z)(R,!0),Ke=Ve=>{Le(),Re==null||Re(Ve)},nt=Ve=>{Le(),de==null||de(Ve)},lt=Ve=>{Le(),at==null||at(Ve)},et=(ue||H)&&e.createElement(e.Fragment,null,H,ue&&c),w=(0,E.Z)(n!=null?n:Qe),[ge,Ze]=(0,pe.Z)("input",tt,y);return g(o(e.createElement(L.default,Object.assign({ref:(0,x.sQ)(ae,R),prefixCls:G,autoComplete:ie},J,{disabled:N,onBlur:Ke,onFocus:nt,style:Object.assign(Object.assign({},je),xe),styles:Object.assign(Object.assign({},Te),We),suffix:et,allowClear:w,className:i()(ze,st,z,V,se,Je),onChange:lt,addonBefore:T&&e.createElement(D.Z,{form:!0,space:!0},T),addonAfter:ce&&e.createElement(D.Z,{form:!0,space:!0},ce),classNames:Object.assign(Object.assign(Object.assign({},Ae),bt),{input:i()({[`${G}-sm`]:q==="small",[`${G}-lg`]:q==="large",[`${G}-rtl`]:me==="rtl"},Ae==null?void 0:Ae.input,bt.input,fe),variant:i()({[`${G}-${ge}`]:Ze},(0,Z.Z)(G,C)),affixWrapper:i()({[`${G}-affix-wrapper-sm`]:q==="small",[`${G}-affix-wrapper-lg`]:q==="large",[`${G}-affix-wrapper-rtl`]:me==="rtl"},fe),wrapper:i()({[`${G}-group-rtl`]:me==="rtl"},fe),groupWrapper:i()({[`${G}-group-wrapper-sm`]:q==="small",[`${G}-group-wrapper-lg`]:q==="large",[`${G}-group-wrapper-rtl`]:me==="rtl",[`${G}-group-wrapper-${ge}`]:Ze},(0,Z.Z)(`${G}-group-wrapper`,C,ue),fe)})}))))})},79809:function(an,_e,t){t.d(_e,{Z:function(){return ae}});var e=t(59301),d=t(92310),i=t.n(d),L=t(22711),x=t(86013),D=t(82855),E=t(48755),Z=t(2171),K=t(83397),r=t(31756),_=t(56553),M=t(24971),P=t(70045),pe=t(30292),it=t(53075),Fe=t(16931),Pe=t(51636),Ye=t(64910);const b=le=>{const{componentCls:y,paddingLG:He}=le,Oe=`${y}-textarea`;return{[`textarea${y}`]:{maxWidth:"100%",height:"auto",minHeight:le.controlHeight,lineHeight:le.lineHeight,verticalAlign:"bottom",transition:`all ${le.motionDurationSlow}`,resize:"vertical",[`&${y}-mouse-active`]:{transition:`all ${le.motionDurationSlow}, height 0s, width 0s`}},[`${y}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Oe]:{position:"relative","&-show-count":{[`> ${y}`]:{height:"100%"},[`${y}-data-count`]:{position:"absolute",bottom:le.calc(le.fontSize).mul(le.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + ${be}-col-xl-24${k}-label`]:le(I),[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[y(I),{[k]:{[`${be}-col-xs-24${k}-label`]:le(I)}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[k]:{[`${be}-col-sm-24${k}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[k]:{[`${be}-col-md-24${k}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[k]:{[`${be}-col-lg-24${k}-label`]:le(I)}}}},ne=I=>({labelRequiredMarkColor:I.colorError,labelColor:I.colorTextHeading,labelFontSize:I.fontSize,labelHeight:I.controlHeight,labelColonMarginInlineStart:I.marginXXS/2,labelColonMarginInlineEnd:I.marginXS,itemMarginBottom:I.marginLG,verticalLabelPadding:`0 0 ${I.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Re=(I,k)=>(0,pe.mergeToken)(I,{formItemCls:`${I.componentCls}-item`,rootPrefixCls:k});var de=(0,it.I$)("Form",(I,k)=>{let{rootPrefixCls:be}=k;const ye=Re(I,be);return[Ce(ye),s(ye),Pe(ye),p(ye,ye.componentCls),p(ye,ye.formItemCls),ae(ye),He(ye),Oe(ye),(0,P.Z)(ye),M.kr]},ne,{order:-1e3});const H=[];function n(I,k,be){let ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof I=="string"?I:`${k}-${ye}`,error:I,errorStatus:be}}var T=I=>{let{help:k,helpStatus:be,errors:ye=H,warnings:m=H,className:re,fieldId:De,onVisibleChanged:u}=I;const{prefixCls:S}=i.useContext(e.Rk),A=`${S}-item-explain`,ve=(0,Z.Z)(S),[j,O,V]=de(S,ve),ee=i.useMemo(()=>(0,E.Z)(S),[S]),oe=K(ye),h=K(m),v=i.useMemo(()=>k!=null?[n(k,"help",be)]:[].concat((0,d.Z)(oe.map((we,Ne)=>n(we,"error","error",Ne))),(0,d.Z)(h.map((we,Ne)=>n(we,"warning","warning",Ne)))),[k,be,oe,h]),B=i.useMemo(()=>{const we={};return v.forEach(Ne=>{let{key:ut}=Ne;we[ut]=(we[ut]||0)+1}),v.map((Ne,ut)=>Object.assign(Object.assign({},Ne),{key:we[Ne.key]>1?`${Ne.key}-fallback-${ut}`:Ne.key}))},[v]),te={};return De&&(te.id=`${De}_help`),j(i.createElement(D.default,{motionDeadline:ee.motionDeadline,motionName:`${S}-show-help`,visible:!!B.length,onVisibleChanged:u},we=>{const{className:Ne,style:ut}=we;return i.createElement("div",Object.assign({},te,{className:x()(A,Ne,V,ve,re,O),style:ut}),i.createElement(D.CSSMotionList,Object.assign({keys:B},(0,E.Z)(S),{motionName:`${S}-show-help-item`,component:!1}),Ge=>{const{key:Y,error:he,errorStatus:Me,className:ke,style:ht}=Ge;return i.createElement("div",{key:Y,className:x()(ke,{[`${A}-${Me}`]:Me}),style:ht},he)}))}))},ze=t(22001),xe=t(48755),We=t(2171),st=t(31756),at=t(23069),Ae=t(76846),tt=t(16722);const J=["parentNode"],Se="form_item";function me(I){return I===void 0||I===!1?[]:Array.isArray(I)?I:[I]}function Qe(I,k){if(!I.length)return;const be=I.join("_");return k?`${k}_${be}`:J.includes(be)?`${Se}_${be}`:be}function ie(I,k,be,ye,m,re){let De=ye;return re!==void 0?De=re:be.validating?De="validating":I.length?De="error":k.length?De="warning":(be.touched||m&&be.validated)&&(De="success"),De}var Je=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);mI!=null?I:Object.assign(Object.assign({},k),{__INTERNAL__:{itemRef:m=>re=>{const De=je(m);re?be.current[De]=re:delete be.current[De]}},scrollToField:function(m){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:De}=re,u=Je(re,["focus"]),S=bt(m,ye);S&&((0,tt.Z)(S,Object.assign({scrollMode:"if-needed",block:"nearest"},u)),De&&ye.focusField(m))},focusField:m=>{var re,De;const u=ye.getFieldInstance(m);typeof(u==null?void 0:u.focus)=="function"?u.focus():(De=(re=bt(m,ye))===null||re===void 0?void 0:re.focus)===null||De===void 0||De.call(re)},getFieldInstance:m=>{const re=je(m);return be.current[re]}}),[I,k]);return[ye]}var G=t(98350),R=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{const be=i.useContext(We.Z),{getPrefixCls:ye,direction:m,requiredMark:re,colon:De,scrollToFirstError:u,className:S,style:A}=(0,xe.dj)("form"),{prefixCls:ve,className:j,rootClassName:O,size:V,disabled:ee=be,form:oe,colon:h,labelAlign:v,labelWrap:B,labelCol:te,wrapperCol:we,hideRequiredMark:Ne,layout:ut="horizontal",scrollToFirstError:Ge,requiredMark:Y,onFinishFailed:he,name:Me,style:ke,feedbackIcons:ht,variant:ft}=I,Ct=R(I,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),It=(0,st.Z)(V),Dt=i.useContext(G.Z),Mt=i.useMemo(()=>Y!==void 0?Y:Ne?!1:re!==void 0?re:!0,[Ne,Y,re]),$t=h!=null?h:De,Et=ye("form",ve),Jt=(0,Z.Z)(Et),[At,sn,Gt]=de(Et,Jt),Yt=x()(Et,`${Et}-${ut}`,{[`${Et}-hide-required-mark`]:Mt===!1,[`${Et}-rtl`]:m==="rtl",[`${Et}-${It}`]:It},Gt,Jt,sn,S,j,O),[nn]=Te(oe),{__INTERNAL__:fn}=nn;fn.name=Me;const Zt=i.useMemo(()=>({name:Me,labelAlign:v,labelCol:te,labelWrap:B,wrapperCol:we,vertical:ut==="vertical",colon:$t,requiredMark:Mt,itemRef:fn.itemRef,form:nn,feedbackIcons:ht}),[Me,v,te,we,ut,$t,Mt,nn,ht]),Qt=i.useRef(null);i.useImperativeHandle(k,()=>{var mt;return Object.assign(Object.assign({},nn),{nativeElement:(mt=Qt.current)===null||mt===void 0?void 0:mt.nativeElement})});const Ft=(mt,Kt)=>{if(mt){let jt={block:"nearest"};typeof mt=="object"&&(jt=Object.assign(Object.assign({},jt),mt)),nn.scrollToField(Kt,jt)}},qe=mt=>{if(he==null||he(mt),mt.errorFields.length){const Kt=mt.errorFields[0].name;if(Ge!==void 0){Ft(Ge,Kt);return}u!==void 0&&Ft(u,Kt)}};return At(i.createElement(e.pg.Provider,{value:ft},i.createElement(We.n,{disabled:ee},i.createElement(at.Z.Provider,{value:It},i.createElement(e.RV,{validateMessages:Dt},i.createElement(e.q3.Provider,{value:Zt},i.createElement(ze.default,Object.assign({id:Me},Ct,{name:Me,onFinishFailed:qe,form:nn,ref:Qt,style:Object.assign(Object.assign({},A),ke),className:Yt}))))))))};var fe=i.forwardRef(U),z=t(41799),o=t(8654),f=t(22703),se=t(32383),q=t(11592);function $(I){if(typeof I=="function")return I;const k=(0,q.Z)(I);return k.length<=1?k[0]:k}const N=()=>{const{status:I,errors:k=[],warnings:be=[]}=i.useContext(e.aM);return{status:I,errors:k,warnings:be}};N.Context=e.aM;var X=N,ue=t(16089);function c(I){const[k,be]=i.useState(I),ye=i.useRef(null),m=i.useRef([]),re=i.useRef(!1);i.useEffect(()=>(re.current=!1,()=>{re.current=!0,ue.Z.cancel(ye.current),ye.current=null}),[]);function De(u){re.current||(ye.current===null&&(m.current=[],ye.current=(0,ue.Z)(()=>{ye.current=null,be(S=>{let A=S;return m.current.forEach(ve=>{A=ve(A)}),A})})),m.current.push(u))}return[k,De]}function C(){const{itemRef:I}=i.useContext(e.q3),k=i.useRef({});function be(ye,m){const re=m&&typeof m=="object"&&(0,o.C4)(m),De=ye.join("_");return(k.current.name!==De||k.current.originRef!==re)&&(k.current.name=De,k.current.originRef=re,k.current.ref=(0,o.sQ)(I(ye),re)),k.current.ref}return be}var Xe=t(29194),W=t(34280),Le=t(2738),Ke=t(65970),nt=t(70425),lt=t(5472);const et=I=>{const{formItemCls:k}=I;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${k}-control`]:{display:"flex"}}}};var w=(0,it.bk)(["Form","item-item"],(I,k)=>{let{rootPrefixCls:be}=k;const ye=Re(I,be);return[et(ye)]}),ge=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{const{prefixCls:k,status:be,labelCol:ye,wrapperCol:m,children:re,errors:De,warnings:u,_internalItemRender:S,extra:A,help:ve,fieldId:j,marginBottom:O,onErrorVisibleChanged:V,label:ee}=I,oe=`${k}-item`,h=i.useContext(e.q3),v=i.useMemo(()=>{let Ct=Object.assign({},m||h.wrapperCol||{});return ee===null&&!ye&&!m&&h.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Dt=>{const Mt=Dt?[Dt]:[],$t=(0,nt.U2)(h.labelCol,Mt),Et=typeof $t=="object"?$t:{},Jt=(0,nt.U2)(Ct,Mt),At=typeof Jt=="object"?Jt:{};"span"in Et&&!("offset"in At)&&Et.span{const{labelCol:Ct,wrapperCol:It}=h;return ge(h,["labelCol","wrapperCol"])},[h]),we=i.useRef(null),[Ne,ut]=i.useState(0);(0,W.Z)(()=>{A&&we.current?ut(we.current.clientHeight):ut(0)},[A]);const Ge=i.createElement("div",{className:`${oe}-control-input`},i.createElement("div",{className:`${oe}-control-input-content`},re)),Y=i.useMemo(()=>({prefixCls:k,status:be}),[k,be]),he=O!==null||De.length||u.length?i.createElement(e.Rk.Provider,{value:Y},i.createElement(T,{fieldId:j,errors:De,warnings:u,help:ve,helpStatus:be,className:`${oe}-explain-connected`,onVisibleChanged:V})):null,Me={};j&&(Me.id=`${j}_extra`);const ke=A?i.createElement("div",Object.assign({},Me,{className:`${oe}-extra`,ref:we}),A):null,ht=he||ke?i.createElement("div",{className:`${oe}-additional`,style:O?{minHeight:O+Ne}:{}},he,ke):null,ft=S&&S.mark==="pro_table_render"&&S.render?S.render(I,{input:Ge,errorList:he,extra:ke}):i.createElement(i.Fragment,null,Ge,ht);return i.createElement(e.q3.Provider,{value:te},i.createElement(lt.Z,Object.assign({},v,{className:B}),ft),i.createElement(w,{prefixCls:k}))},Tt=t(61485),ct=t(9017),dt=t(85981),Rt=t(25399),Vt=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{let{prefixCls:k,label:be,htmlFor:ye,labelCol:m,labelAlign:re,colon:De,required:u,requiredMark:S,tooltip:A,vertical:ve}=I;var j;const[O]=(0,ct.Z)("Form"),{labelAlign:V,labelCol:ee,labelWrap:oe,colon:h}=i.useContext(e.q3);if(!be)return null;const v=m||ee||{},B=re||V,te=`${k}-item-label`,we=x()(te,B==="left"&&`${te}-left`,v.className,{[`${te}-wrap`]:!!oe});let Ne=be;const ut=De===!0||h!==!1&&De!==!1;ut&&!ve&&typeof be=="string"&&be.trim()&&(Ne=be.replace(/[:|:]\s*$/,""));const Y=Ht(A);if(Y){const{icon:Ct=i.createElement(Tt.Z,null)}=Y,It=Vt(Y,["icon"]),Dt=i.createElement(Rt.Z,Object.assign({},It),i.cloneElement(Ct,{className:`${k}-item-tooltip`,title:"",onClick:Mt=>{Mt.preventDefault()},tabIndex:null}));Ne=i.createElement(i.Fragment,null,Ne,Dt)}const he=S==="optional",Me=typeof S=="function",ke=S===!1;Me?Ne=S(Ne,{required:!!u}):he&&!u&&(Ne=i.createElement(i.Fragment,null,Ne,i.createElement("span",{className:`${k}-item-optional`,title:""},(O==null?void 0:O.optional)||((j=dt.Z.Form)===null||j===void 0?void 0:j.optional))));let ht;ke?ht="hidden":(he||Me)&&(ht="optional");const ft=x()({[`${k}-item-required`]:u,[`${k}-item-required-mark-${ht}`]:ht,[`${k}-item-no-colon`]:!ut});return i.createElement(lt.Z,Object.assign({},v,{className:we}),i.createElement("label",{htmlFor:ye,className:ft,title:typeof be=="string"?be:""},Ne))},Ut=t(29679),yt=t(19248),Bt=t(96512),Pt=t(58617);const kt={success:Ut.Z,warning:Bt.Z,error:yt.Z,validating:Pt.Z};function Wt(I){let{children:k,errors:be,warnings:ye,hasFeedback:m,validateStatus:re,prefixCls:De,meta:u,noStyle:S}=I;const A=`${De}-item`,{feedbackIcons:ve}=i.useContext(e.q3),j=ie(be,ye,u,null,!!m,re),{isFormItemInput:O,status:V,hasFeedback:ee,feedbackIcon:oe}=i.useContext(e.aM),h=i.useMemo(()=>{var v;let B;if(m){const we=m!==!0&&m.icons||ve,Ne=j&&((v=we==null?void 0:we({status:j,errors:be,warnings:ye}))===null||v===void 0?void 0:v[j]),ut=j&&kt[j];B=Ne!==!1&&ut?i.createElement("span",{className:x()(`${A}-feedback-icon`,`${A}-feedback-icon-${j}`)},Ne||i.createElement(ut,null)):null}const te={status:j||"",errors:be,warnings:ye,hasFeedback:!!m,feedbackIcon:B,isFormItemInput:!0};return S&&(te.status=(j!=null?j:V)||"",te.isFormItemInput=O,te.hasFeedback=!!(m!=null?m:ee),te.feedbackIcon=m!==void 0?te.feedbackIcon:oe),te},[j,m,S,O,V]);return i.createElement(e.aM.Provider,{value:h},k)}var pt=function(I,k){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&k.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,ye=Object.getOwnPropertySymbols(I);m{if(ke&&Ge.current){const Et=getComputedStyle(Ge.current);Ct(parseInt(Et.marginBottom,10))}},[ke,ht]);const It=Et=>{Et||Ct(null)},Mt=function(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Jt=Et?Y:A.errors,At=Et?he:A.warnings;return ie(Jt,At,A,"",!!ve,S)}(),$t=x()(te,be,ye,{[`${te}-with-help`]:Me||Y.length||he.length,[`${te}-has-feedback`]:Mt&&ve,[`${te}-has-success`]:Mt==="success",[`${te}-has-warning`]:Mt==="warning",[`${te}-has-error`]:Mt==="error",[`${te}-is-validating`]:Mt==="validating",[`${te}-hidden`]:j,[`${te}-${v}`]:v});return i.createElement("div",{className:$t,style:m,ref:Ge},i.createElement(Ke.Z,Object.assign({className:`${te}-row`},(0,Le.Z)(B,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(wt,Object.assign({htmlFor:V},I,{requiredMark:we,required:ee!=null?ee:oe,prefixCls:k,vertical:ut})),i.createElement(ot,Object.assign({},I,A,{errors:Y,warnings:he,prefixCls:k,status:Mt,help:re,marginBottom:ft,onErrorVisibleChanged:It}),i.createElement(e.qI.Provider,{value:h},i.createElement(Wt,{prefixCls:k,meta:A,errors:A.errors,warnings:A.warnings,hasFeedback:ve,validateStatus:Mt},O)))),!!ft&&i.createElement("div",{className:`${te}-margin-offset`,style:{marginBottom:-ft}}))}const ln="__SPLIT__",rn=null;function xn(I,k){const be=Object.keys(I),ye=Object.keys(k);return be.length===ye.length&&be.every(m=>{const re=I[m],De=k[m];return re===De||typeof re=="function"||typeof De=="function"})}const Dn=i.memo(I=>{let{children:k}=I;return k},(I,k)=>xn(I.control,k.control)&&I.update===k.update&&I.childProps.length===k.childProps.length&&I.childProps.every((be,ye)=>be===k.childProps[ye]));function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tn(I){const{name:k,noStyle:be,className:ye,dependencies:m,prefixCls:re,shouldUpdate:De,rules:u,children:S,required:A,label:ve,messageVariables:j,trigger:O="onChange",validateTrigger:V,hidden:ee,help:oe,layout:h}=I,{getPrefixCls:v}=i.useContext(xe.E_),{name:B}=i.useContext(e.q3),te=$(S),we=typeof te=="function",Ne=i.useContext(e.qI),{validateTrigger:ut}=i.useContext(ze.FieldContext),Ge=V!==void 0?V:ut,Y=k!=null,he=v("form",re),Me=(0,Z.Z)(he),[ke,ht,ft]=de(he,Me),Ct=(0,se.ln)("Form.Item"),It=i.useContext(ze.ListContext),Dt=i.useRef(null),[Mt,$t]=c({}),[Et,Jt]=(0,z.Z)(()=>Mn()),At=Qt=>{const Ft=It==null?void 0:It.getKey(Qt.name);if(Jt(Qt.destroy?Mn():Qt,!0),be&&oe!==!1&&Ne){let qe=Qt.name;if(Qt.destroy)qe=Dt.current||qe;else if(Ft!==void 0){const[mt,Kt]=Ft;qe=[mt].concat((0,d.Z)(Kt)),Dt.current=qe}Ne(Qt,qe)}},sn=(Qt,Ft)=>{$t(qe=>{const mt=Object.assign({},qe),jt=[].concat((0,d.Z)(Qt.name.slice(0,-1)),(0,d.Z)(Ft)).join(ln);return Qt.destroy?delete mt[jt]:mt[jt]=Qt,mt})},[Gt,Yt]=i.useMemo(()=>{const Qt=(0,d.Z)(Et.errors),Ft=(0,d.Z)(Et.warnings);return Object.values(Mt).forEach(qe=>{Qt.push.apply(Qt,(0,d.Z)(qe.errors||[])),Ft.push.apply(Ft,(0,d.Z)(qe.warnings||[]))}),[Qt,Ft]},[Mt,Et.errors,Et.warnings]),nn=C();function fn(Qt,Ft,qe){return be&&!ee?i.createElement(Wt,{prefixCls:he,hasFeedback:I.hasFeedback,validateStatus:I.validateStatus,meta:Et,errors:Gt,warnings:Yt,noStyle:!0},Qt):i.createElement(Lt,Object.assign({key:"row"},I,{className:x()(ye,ft,Me,ht),prefixCls:he,fieldId:Ft,isRequired:qe,errors:Gt,warnings:Yt,meta:Et,onSubItemMetaChange:sn,layout:h}),Qt)}if(!Y&&!we&&!m)return ke(fn(te));let Zt={};return typeof ve=="string"?Zt.label=ve:k&&(Zt.label=String(k)),j&&(Zt=Object.assign(Object.assign({},Zt),j)),ke(i.createElement(ze.Field,Object.assign({},I,{messageVariables:Zt,trigger:O,validateTrigger:Ge,onMetaChange:At}),(Qt,Ft,qe)=>{const mt=me(k).length&&Ft?Ft.name:[],Kt=Qe(mt,B),jt=A!==void 0?A:!!(u!=null&&u.some(on=>{if(on&&typeof on=="object"&&on.required&&!on.warningOnly)return!0;if(typeof on=="function"){const en=on(qe);return(en==null?void 0:en.required)&&!(en!=null&&en.warningOnly)}return!1})),qt=Object.assign({},Qt);let un=null;if(Array.isArray(te)&&Y)un=te;else if(!(we&&(!(De||m)||Y))){if(!(m&&!we&&!Y))if(i.isValidElement(te)){const on=Object.assign(Object.assign({},te.props),qt);if(on.id||(on.id=Kt),oe||Gt.length>0||Yt.length>0||I.extra){const Rn=[];(oe||Gt.length>0)&&Rn.push(`${Kt}_help`),I.extra&&Rn.push(`${Kt}_extra`),on["aria-describedby"]=Rn.join(" ")}Gt.length>0&&(on["aria-invalid"]="true"),jt&&(on["aria-required"]="true"),(0,o.Yr)(te)&&(on.ref=nn(mt,te)),new Set([].concat((0,d.Z)(me(O)),(0,d.Z)(me(Ge)))).forEach(Rn=>{on[Rn]=function(){for(var Bn,yn,dn,Kn,Xn,ar=arguments.length,$n=new Array(ar),er=0;er{var{prefixCls:k,children:be}=I,ye=bn(I,["prefixCls","children"]);const{getPrefixCls:m}=i.useContext(xe.E_),re=m("form",k),De=i.useMemo(()=>({prefixCls:re,status:"error"}),[re]);return i.createElement(ze.List,Object.assign({},ye),(u,S,A)=>i.createElement(e.Rk.Provider,{value:De},be(u.map(ve=>Object.assign(Object.assign({},ve),{fieldKey:ve.key})),S,{errors:A.errors,warnings:A.warnings})))};function Jn(){const{form:I}=i.useContext(e.q3);return I}const Be=fe;Be.Item=Pn,Be.List=_n,Be.ErrorList=T,Be.useForm=Te,Be.useFormInstance=Jn,Be.useWatch=ze.useWatch,Be.Provider=e.RV,Be.create=()=>{};var Ie=Be},75786:function(an,_e,t){t.d(_e,{Z:function(){return oe}});var e=t(59301),d=t(15277),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(20068),Z=t(42978),K=t(76190),r=t(75931),_=/margin|padding|width|height|max|min|offset/,M={left:!0,top:!0},P={cssFloat:1,styleFloat:1,float:1};function pe(h){return h.nodeType===1?h.ownerDocument.defaultView.getComputedStyle(h,null):{}}function it(h,v,B){if(v=v.toLowerCase(),B==="auto"){if(v==="height")return h.offsetHeight;if(v==="width")return h.offsetWidth}return v in M||(M[v]=_.test(v)),M[v]?parseFloat(B)||0:B}function Fe(h,v){var B=arguments.length,te=pe(h);return v=P[v]?"cssFloat"in h.style?"cssFloat":"styleFloat":v,B===1?te:it(h,v,te[v]||h.style[v])}function Pe(h,v,B){var te=arguments.length;if(v=P[v]?"cssFloat"in h.style?"cssFloat":"styleFloat":v,te===3)return typeof B=="number"&&_.test(v)&&(B="".concat(B,"px")),h.style[v]=B,B;for(var we in v)v.hasOwnProperty(we)&&Pe(h,we,v[we]);return pe(h)}function Ye(h){return h===document.body?document.documentElement.clientWidth:h.offsetWidth}function b(h){return h===document.body?window.innerHeight||document.documentElement.clientHeight:h.offsetHeight}function Ce(){var h=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),v=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:h,height:v}}function s(){var h=document.documentElement.clientWidth,v=window.innerHeight||document.documentElement.clientHeight;return{width:h,height:v}}function p(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ae(h){var v=h.getBoundingClientRect(),B=document.documentElement;return{left:v.left+(window.pageXOffset||B.scrollLeft)-(B.clientLeft||document.body.clientLeft||0),top:v.top+(window.pageYOffset||B.scrollTop)-(B.clientTop||document.body.clientTop||0)}}var le=t(18929),y=t(55311),He=t(8224),Oe=t(10228),ne=t(43403),Re=t(77900),de=e.createContext(null),H=function(v){var B=v.visible,te=v.maskTransitionName,we=v.getContainer,Ne=v.prefixCls,ut=v.rootClassName,Ge=v.icons,Y=v.countRender,he=v.showSwitch,Me=v.showProgress,ke=v.current,ht=v.transform,ft=v.count,Ct=v.scale,It=v.minScale,Dt=v.maxScale,Mt=v.closeIcon,$t=v.onActive,Et=v.onClose,Jt=v.onZoomIn,At=v.onZoomOut,sn=v.onRotateRight,Gt=v.onRotateLeft,Yt=v.onFlipX,nn=v.onFlipY,fn=v.onReset,Zt=v.toolbarRender,Qt=v.zIndex,Ft=v.image,qe=(0,e.useContext)(de),mt=Ge.rotateLeft,Kt=Ge.rotateRight,jt=Ge.zoomIn,qt=Ge.zoomOut,un=Ge.close,on=Ge.left,en=Ge.right,cn=Ge.flipX,Rn=Ge.flipY,Bn="".concat(Ne,"-operations-operation");e.useEffect(function(){var Cr=function(En){En.keyCode===Oe.Z.ESC&&Et()};return B&&window.addEventListener("keydown",Cr),function(){window.removeEventListener("keydown",Cr)}},[B]);var yn=function(vr,En){vr.preventDefault(),vr.stopPropagation(),$t(En)},dn=e.useCallback(function(Cr){var vr=Cr.type,En=Cr.disabled,Hn=Cr.onClick,lr=Cr.icon;return e.createElement("div",{key:vr,className:L()(Bn,"".concat(Ne,"-operations-operation-").concat(vr),(0,E.Z)({},"".concat(Ne,"-operations-operation-disabled"),!!En)),onClick:Hn},lr)},[Bn,Ne]),Kn=he?dn({icon:on,onClick:function(vr){return yn(vr,-1)},type:"prev",disabled:ke===0}):void 0,Xn=he?dn({icon:en,onClick:function(vr){return yn(vr,1)},type:"next",disabled:ke===ft-1}):void 0,ar=dn({icon:Rn,onClick:nn,type:"flipY"}),$n=dn({icon:cn,onClick:Yt,type:"flipX"}),er=dn({icon:mt,onClick:Gt,type:"rotateLeft"}),Wn=dn({icon:Kt,onClick:sn,type:"rotateRight"}),Sr=dn({icon:qt,onClick:At,type:"zoomOut",disabled:Ct<=It}),Fr=dn({icon:jt,onClick:Jt,type:"zoomIn",disabled:Ct===Dt}),$r=e.createElement("div",{className:"".concat(Ne,"-operations")},ar,$n,er,Wn,Sr,Fr);return e.createElement(Re.default,{visible:B,motionName:te},function(Cr){var vr=Cr.className,En=Cr.style;return e.createElement(ne.Z,{open:!0,getContainer:we!=null?we:document.body},e.createElement("div",{className:L()("".concat(Ne,"-operations-wrapper"),vr,ut),style:(0,D.Z)((0,D.Z)({},En),{},{zIndex:Qt})},Mt===null?null:e.createElement("button",{className:"".concat(Ne,"-close"),onClick:Et},Mt||un),he&&e.createElement(e.Fragment,null,e.createElement("div",{className:L()("".concat(Ne,"-switch-left"),(0,E.Z)({},"".concat(Ne,"-switch-left-disabled"),ke===0)),onClick:function(lr){return yn(lr,-1)}},on),e.createElement("div",{className:L()("".concat(Ne,"-switch-right"),(0,E.Z)({},"".concat(Ne,"-switch-right-disabled"),ke===ft-1)),onClick:function(lr){return yn(lr,1)}},en)),e.createElement("div",{className:"".concat(Ne,"-footer")},Me&&e.createElement("div",{className:"".concat(Ne,"-progress")},Y?Y(ke+1,ft):"".concat(ke+1," / ").concat(ft)),Zt?Zt($r,(0,D.Z)((0,D.Z)({icons:{prevIcon:Kn,nextIcon:Xn,flipYIcon:ar,flipXIcon:$n,rotateLeftIcon:er,rotateRightIcon:Wn,zoomOutIcon:Sr,zoomInIcon:Fr},actions:{onActive:$t,onFlipY:nn,onFlipX:Yt,onRotateLeft:Gt,onRotateRight:sn,onZoomOut:At,onZoomIn:Jt,onReset:fn,onClose:Et},transform:ht},qe?{current:ke,total:ft}:{}),{},{image:Ft})):$r)))})},n=H,ce=t(13697),T=t(16089),ze={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function xe(h,v,B,te){var we=(0,e.useRef)(null),Ne=(0,e.useRef)([]),ut=(0,e.useState)(ze),Ge=(0,Z.Z)(ut,2),Y=Ge[0],he=Ge[1],Me=function(Ct){he(ze),(0,ce.Z)(ze,Y)||te==null||te({transform:ze,action:Ct})},ke=function(Ct,It){we.current===null&&(Ne.current=[],we.current=(0,T.Z)(function(){he(function(Dt){var Mt=Dt;return Ne.current.forEach(function($t){Mt=(0,D.Z)((0,D.Z)({},Mt),$t)}),we.current=null,te==null||te({transform:Mt,action:It}),Mt})})),Ne.current.push((0,D.Z)((0,D.Z)({},Y),Ct))},ht=function(Ct,It,Dt,Mt,$t){var Et=h.current,Jt=Et.width,At=Et.height,sn=Et.offsetWidth,Gt=Et.offsetHeight,Yt=Et.offsetLeft,nn=Et.offsetTop,fn=Ct,Zt=Y.scale*Ct;Zt>B?(Zt=B,fn=B/Y.scale):Ztte){if(v>0)return(0,E.Z)({},h,Ne);if(v<0&&wete)return(0,E.Z)({},h,v<0?Ne:-Ne);return{}}function at(h,v,B,te){var we=s(),Ne=we.width,ut=we.height,Ge=null;return h<=Ne&&v<=ut?Ge={x:0,y:0}:(h>Ne||v>ut)&&(Ge=(0,D.Z)((0,D.Z)({},st("x",B,h,Ne)),st("y",te,v,ut))),Ge}var Ae=1,tt=1;function J(h,v,B,te,we,Ne,ut){var Ge=we.rotate,Y=we.scale,he=we.x,Me=we.y,ke=(0,e.useState)(!1),ht=(0,Z.Z)(ke,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Dt=function(At){!v||At.button!==0||(At.preventDefault(),At.stopPropagation(),It.current={diffX:At.pageX-he,diffY:At.pageY-Me,transformX:he,transformY:Me},Ct(!0))},Mt=function(At){B&&ft&&Ne({x:At.pageX-It.current.diffX,y:At.pageY-It.current.diffY},"move")},$t=function(){if(B&&ft){Ct(!1);var At=It.current,sn=At.transformX,Gt=At.transformY,Yt=he!==sn&&Me!==Gt;if(!Yt)return;var nn=h.current.offsetWidth*Y,fn=h.current.offsetHeight*Y,Zt=h.current.getBoundingClientRect(),Qt=Zt.left,Ft=Zt.top,qe=Ge%180!==0,mt=at(qe?fn:nn,qe?nn:fn,Qt,Ft);mt&&Ne((0,D.Z)({},mt),"dragRebound")}},Et=function(At){if(!(!B||At.deltaY==0)){var sn=Math.abs(At.deltaY/100),Gt=Math.min(sn,tt),Yt=Ae+Gt*te;At.deltaY>0&&(Yt=Ae/Yt),ut(Yt,"wheel",At.clientX,At.clientY)}};return(0,e.useEffect)(function(){var Jt,At,sn,Gt;if(v){sn=(0,He.Z)(window,"mouseup",$t,!1),Gt=(0,He.Z)(window,"mousemove",Mt,!1);try{window.top!==window.self&&(Jt=(0,He.Z)(window.top,"mouseup",$t,!1),At=(0,He.Z)(window.top,"mousemove",Mt,!1))}catch(Yt){(0,We.Kp)(!1,"[rc-image] ".concat(Yt))}}return function(){var Yt,nn,fn,Zt;(Yt=sn)===null||Yt===void 0||Yt.remove(),(nn=Gt)===null||nn===void 0||nn.remove(),(fn=Jt)===null||fn===void 0||fn.remove(),(Zt=At)===null||Zt===void 0||Zt.remove()}},[B,ft,he,Me,Ge,v]),{isMoving:ft,onMouseDown:Dt,onMouseMove:Mt,onMouseUp:$t,onWheel:Et}}function Se(h){return new Promise(function(v){if(!h){v(!1);return}var B=document.createElement("img");B.onerror=function(){return v(!1)},B.onload=function(){return v(!0)},B.src=h})}function me(h){var v=h.src,B=h.isCustomPlaceholder,te=h.fallback,we=(0,e.useState)(B?"loading":"normal"),Ne=(0,Z.Z)(we,2),ut=Ne[0],Ge=Ne[1],Y=(0,e.useRef)(!1),he=ut==="error";(0,e.useEffect)(function(){var ft=!0;return Se(v).then(function(Ct){!Ct&&ft&&Ge("error")}),function(){ft=!1}},[v]),(0,e.useEffect)(function(){B&&!Y.current?Ge("loading"):he&&Ge("normal")},[v]);var Me=function(){Ge("normal")},ke=function(Ct){Y.current=!1,ut==="loading"&&Ct!==null&&Ct!==void 0&&Ct.complete&&(Ct.naturalWidth||Ct.naturalHeight)&&(Y.current=!0,Me())},ht=he&&te?{src:te}:{onLoad:Me,src:v};return[ke,ht,ut]}function Qe(h,v){var B=h.x-v.x,te=h.y-v.y;return Math.hypot(B,te)}function ie(h,v,B,te){var we=Qe(h,B),Ne=Qe(v,te);if(we===0&&Ne===0)return[h.x,h.y];var ut=we/(we+Ne),Ge=h.x+ut*(v.x-h.x),Y=h.y+ut*(v.y-h.y);return[Ge,Y]}function Je(h,v,B,te,we,Ne,ut){var Ge=we.rotate,Y=we.scale,he=we.x,Me=we.y,ke=(0,e.useState)(!1),ht=(0,Z.Z)(ke,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Dt=function(At){It.current=(0,D.Z)((0,D.Z)({},It.current),At)},Mt=function(At){if(v){At.stopPropagation(),Ct(!0);var sn=At.touches,Gt=sn===void 0?[]:sn;Gt.length>1?Dt({point1:{x:Gt[0].clientX,y:Gt[0].clientY},point2:{x:Gt[1].clientX,y:Gt[1].clientY},eventType:"touchZoom"}):Dt({point1:{x:Gt[0].clientX-he,y:Gt[0].clientY-Me},eventType:"move"})}},$t=function(At){var sn=At.touches,Gt=sn===void 0?[]:sn,Yt=It.current,nn=Yt.point1,fn=Yt.point2,Zt=Yt.eventType;if(Gt.length>1&&Zt==="touchZoom"){var Qt={x:Gt[0].clientX,y:Gt[0].clientY},Ft={x:Gt[1].clientX,y:Gt[1].clientY},qe=ie(nn,fn,Qt,Ft),mt=(0,Z.Z)(qe,2),Kt=mt[0],jt=mt[1],qt=Qe(Qt,Ft)/Qe(nn,fn);ut(qt,"touchZoom",Kt,jt,!0),Dt({point1:Qt,point2:Ft,eventType:"touchZoom"})}else Zt==="move"&&(Ne({x:Gt[0].clientX-nn.x,y:Gt[0].clientY-nn.y},"move"),Dt({eventType:"move"}))},Et=function(){if(B){if(ft&&Ct(!1),Dt({eventType:"none"}),te>Y)return Ne({x:0,y:0,scale:te},"touchZoom");var At=h.current.offsetWidth*Y,sn=h.current.offsetHeight*Y,Gt=h.current.getBoundingClientRect(),Yt=Gt.left,nn=Gt.top,fn=Ge%180!==0,Zt=at(fn?sn:At,fn?At:sn,Yt,nn);Zt&&Ne((0,D.Z)({},Zt),"dragRebound")}};return(0,e.useEffect)(function(){var Jt;return B&&v&&(Jt=(0,He.Z)(window,"touchmove",function(At){return At.preventDefault()},{passive:!1})),function(){var At;(At=Jt)===null||At===void 0||At.remove()}},[B,v]),{isTouching:ft,onTouchStart:Mt,onTouchMove:$t,onTouchEnd:Et}}var je=["fallback","src","imgRef"],bt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Te=function(v){var B=v.fallback,te=v.src,we=v.imgRef,Ne=(0,r.Z)(v,je),ut=me({src:te,fallback:B}),Ge=(0,Z.Z)(ut,2),Y=Ge[0],he=Ge[1];return e.createElement("img",(0,x.Z)({ref:function(ke){we.current=ke,Y(ke)}},Ne,he))},G=function(v){var B=v.prefixCls,te=v.src,we=v.alt,Ne=v.imageInfo,ut=v.fallback,Ge=v.movable,Y=Ge===void 0?!0:Ge,he=v.onClose,Me=v.visible,ke=v.icons,ht=ke===void 0?{}:ke,ft=v.rootClassName,Ct=v.closeIcon,It=v.getContainer,Dt=v.current,Mt=Dt===void 0?0:Dt,$t=v.count,Et=$t===void 0?1:$t,Jt=v.countRender,At=v.scaleStep,sn=At===void 0?.5:At,Gt=v.minScale,Yt=Gt===void 0?1:Gt,nn=v.maxScale,fn=nn===void 0?50:nn,Zt=v.transitionName,Qt=Zt===void 0?"zoom":Zt,Ft=v.maskTransitionName,qe=Ft===void 0?"fade":Ft,mt=v.imageRender,Kt=v.imgCommonProps,jt=v.toolbarRender,qt=v.onTransform,un=v.onChange,on=(0,r.Z)(v,bt),en=(0,e.useRef)(),cn=(0,e.useContext)(de),Rn=cn&&Et>1,Bn=cn&&Et>=1,yn=(0,e.useState)(!0),dn=(0,Z.Z)(yn,2),Kn=dn[0],Xn=dn[1],ar=xe(en,Yt,fn,qt),$n=ar.transform,er=ar.resetTransform,Wn=ar.updateTransform,Sr=ar.dispatchZoomChange,Fr=J(en,Y,Me,sn,$n,Wn,Sr),$r=Fr.isMoving,Cr=Fr.onMouseDown,vr=Fr.onWheel,En=Je(en,Y,Me,Yt,$n,Wn,Sr),Hn=En.isTouching,lr=En.onTouchStart,fr=En.onTouchMove,Gn=En.onTouchEnd,ur=$n.rotate,yr=$n.scale,gr=L()((0,E.Z)({},"".concat(B,"-moving"),$r));(0,e.useEffect)(function(){Kn||Xn(!0)},[Kn]);var br=function(){er("close")},Br=function(){Sr(Ae+sn,"zoomIn")},wr=function(){Sr(Ae/(Ae+sn),"zoomOut")},Tr=function(){Wn({rotate:ur+90},"rotateRight")},Qr=function(){Wn({rotate:ur-90},"rotateLeft")},Or=function(){Wn({flipX:!$n.flipX},"flipX")},zr=function(){Wn({flipY:!$n.flipY},"flipY")},qr=function(){er("reset")},Vn=function(eo){var In=Mt+eo;!Number.isInteger(In)||In<0||In>Et-1||(Xn(!1),er(eo<0?"prev":"next"),un==null||un(In,Mt))},sr=function(eo){!Me||!Rn||(eo.keyCode===Oe.Z.LEFT?Vn(-1):eo.keyCode===Oe.Z.RIGHT&&Vn(1))},kn=function(eo){Me&&(yr!==1?Wn({x:0,y:0,scale:1},"doubleClick"):Sr(Ae+sn,"doubleClick",eo.clientX,eo.clientY))};(0,e.useEffect)(function(){var pr=(0,He.Z)(window,"keydown",sr,!1);return function(){pr.remove()}},[Me,Rn,Mt]);var zn=e.createElement(Te,(0,x.Z)({},Kt,{width:v.width,height:v.height,imgRef:en,className:"".concat(B,"-img"),alt:we,style:{transform:"translate3d(".concat($n.x,"px, ").concat($n.y,"px, 0) scale3d(").concat($n.flipX?"-":"").concat(yr,", ").concat($n.flipY?"-":"").concat(yr,", 1) rotate(").concat(ur,"deg)"),transitionDuration:(!Kn||Hn)&&"0s"},fallback:ut,src:te,onWheel:vr,onMouseDown:Cr,onDoubleClick:kn,onTouchStart:lr,onTouchMove:fr,onTouchEnd:Gn,onTouchCancel:Gn})),cr=(0,D.Z)({url:te,alt:we},Ne);return e.createElement(e.Fragment,null,e.createElement(y.Z,(0,x.Z)({transitionName:Qt,maskTransitionName:qe,closable:!1,keyboard:!0,prefixCls:B,onClose:he,visible:Me,classNames:{wrapper:gr},rootClassName:ft,getContainer:It},on,{afterClose:br}),e.createElement("div",{className:"".concat(B,"-img-wrapper")},mt?mt(zn,(0,D.Z)({transform:$n,image:cr},cn?{current:Mt}:{})):zn)),e.createElement(n,{visible:Me,transform:$n,maskTransitionName:qe,closeIcon:Ct,getContainer:It,prefixCls:B,rootClassName:ft,icons:ht,countRender:Jt,showSwitch:Rn,showProgress:Bn,current:Mt,count:Et,scale:yr,minScale:Yt,maxScale:fn,toolbarRender:jt,onActive:Vn,onZoomIn:Br,onZoomOut:wr,onRotateRight:Tr,onRotateLeft:Qr,onFlipX:Or,onFlipY:zr,onClose:he,onReset:qr,zIndex:on.zIndex!==void 0?on.zIndex+1:void 0,image:cr}))},R=G,U=t(94480),g=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function fe(h){var v=e.useState({}),B=(0,Z.Z)(v,2),te=B[0],we=B[1],Ne=e.useCallback(function(Ge,Y){return we(function(he){return(0,D.Z)((0,D.Z)({},he),{},(0,E.Z)({},Ge,Y))}),function(){we(function(he){var Me=(0,D.Z)({},he);return delete Me[Ge],Me})}},[]),ut=e.useMemo(function(){return h?h.map(function(Ge){if(typeof Ge=="string")return{data:{src:Ge}};var Y={};return Object.keys(Ge).forEach(function(he){["src"].concat((0,U.Z)(g)).includes(he)&&(Y[he]=Ge[he])}),{data:Y}}):Object.keys(te).reduce(function(Ge,Y){var he=te[Y],Me=he.canPreview,ke=he.data;return Me&&Ge.push({data:ke,id:Y}),Ge},[])},[h,te]);return[ut,Ne,!!h]}var z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],o=["src"],f=function(v){var B,te=v.previewPrefixCls,we=te===void 0?"rc-image-preview":te,Ne=v.children,ut=v.icons,Ge=ut===void 0?{}:ut,Y=v.items,he=v.preview,Me=v.fallback,ke=(0,K.Z)(he)==="object"?he:{},ht=ke.visible,ft=ke.onVisibleChange,Ct=ke.getContainer,It=ke.current,Dt=ke.movable,Mt=ke.minScale,$t=ke.maxScale,Et=ke.countRender,Jt=ke.closeIcon,At=ke.onChange,sn=ke.onTransform,Gt=ke.toolbarRender,Yt=ke.imageRender,nn=(0,r.Z)(ke,z),fn=fe(Y),Zt=(0,Z.Z)(fn,3),Qt=Zt[0],Ft=Zt[1],qe=Zt[2],mt=(0,le.Z)(0,{value:It}),Kt=(0,Z.Z)(mt,2),jt=Kt[0],qt=Kt[1],un=(0,e.useState)(!1),on=(0,Z.Z)(un,2),en=on[0],cn=on[1],Rn=((B=Qt[jt])===null||B===void 0?void 0:B.data)||{},Bn=Rn.src,yn=(0,r.Z)(Rn,o),dn=(0,le.Z)(!!ht,{value:ht,onChange:function(Hn,lr){ft==null||ft(Hn,lr,jt)}}),Kn=(0,Z.Z)(dn,2),Xn=Kn[0],ar=Kn[1],$n=(0,e.useState)(null),er=(0,Z.Z)($n,2),Wn=er[0],Sr=er[1],Fr=e.useCallback(function(En,Hn,lr,fr){var Gn=qe?Qt.findIndex(function(ur){return ur.data.src===Hn}):Qt.findIndex(function(ur){return ur.id===En});qt(Gn<0?0:Gn),ar(!0),Sr({x:lr,y:fr}),cn(!0)},[Qt,qe]);e.useEffect(function(){Xn?en||qt(0):cn(!1)},[Xn]);var $r=function(Hn,lr){qt(Hn),At==null||At(Hn,lr)},Cr=function(){ar(!1),Sr(null)},vr=e.useMemo(function(){return{register:Ft,onPreview:Fr}},[Ft,Fr]);return e.createElement(de.Provider,{value:vr},Ne,e.createElement(R,(0,x.Z)({"aria-hidden":!Xn,movable:Dt,visible:Xn,prefixCls:we,closeIcon:Jt,onClose:Cr,mousePosition:Wn,imgCommonProps:yn,src:Bn,fallback:Me,icons:Ge,minScale:Mt,maxScale:$t,getContainer:Ct,current:jt,count:Qt.length,countRender:Et,onTransform:sn,toolbarRender:Gt,imageRender:Yt,onChange:$r},nn)))},se=f,q=0;function $(h,v){var B=e.useState(function(){return q+=1,String(q)}),te=(0,Z.Z)(B,1),we=te[0],Ne=e.useContext(de),ut={data:v,canPreview:h};return e.useEffect(function(){if(Ne)return Ne.register(we,ut)},[]),e.useEffect(function(){Ne&&Ne.register(we,ut)},[h,v]),we}var N=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],X=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],ue=function(v){var B=v.src,te=v.alt,we=v.onPreviewClose,Ne=v.prefixCls,ut=Ne===void 0?"rc-image":Ne,Ge=v.previewPrefixCls,Y=Ge===void 0?"".concat(ut,"-preview"):Ge,he=v.placeholder,Me=v.fallback,ke=v.width,ht=v.height,ft=v.style,Ct=v.preview,It=Ct===void 0?!0:Ct,Dt=v.className,Mt=v.onClick,$t=v.onError,Et=v.wrapperClassName,Jt=v.wrapperStyle,At=v.rootClassName,sn=(0,r.Z)(v,N),Gt=he&&he!==!0,Yt=(0,K.Z)(It)==="object"?It:{},nn=Yt.src,fn=Yt.visible,Zt=fn===void 0?void 0:fn,Qt=Yt.onVisibleChange,Ft=Qt===void 0?we:Qt,qe=Yt.getContainer,mt=qe===void 0?void 0:qe,Kt=Yt.mask,jt=Yt.maskClassName,qt=Yt.movable,un=Yt.icons,on=Yt.scaleStep,en=Yt.minScale,cn=Yt.maxScale,Rn=Yt.imageRender,Bn=Yt.toolbarRender,yn=(0,r.Z)(Yt,X),dn=nn!=null?nn:B,Kn=(0,le.Z)(!!Zt,{value:Zt,onChange:Ft}),Xn=(0,Z.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=me({src:B,isCustomPlaceholder:Gt,fallback:Me}),Wn=(0,Z.Z)(er,3),Sr=Wn[0],Fr=Wn[1],$r=Wn[2],Cr=(0,e.useState)(null),vr=(0,Z.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=(0,e.useContext)(de),fr=!!It,Gn=function(){$n(!1),Hn(null)},ur=L()(ut,Et,At,(0,E.Z)({},"".concat(ut,"-error"),$r==="error")),yr=(0,e.useMemo)(function(){var wr={};return g.forEach(function(Tr){v[Tr]!==void 0&&(wr[Tr]=v[Tr])}),wr},g.map(function(wr){return v[wr]})),gr=(0,e.useMemo)(function(){return(0,D.Z)((0,D.Z)({},yr),{},{src:dn})},[dn,yr]),br=$(fr,gr),Br=function(Tr){var Qr=ae(Tr.target),Or=Qr.left,zr=Qr.top;lr?lr.onPreview(br,dn,Or,zr):(Hn({x:Or,y:zr}),$n(!0)),Mt==null||Mt(Tr)};return e.createElement(e.Fragment,null,e.createElement("div",(0,x.Z)({},sn,{className:ur,onClick:fr?Br:Mt,style:(0,D.Z)({width:ke,height:ht},Jt)}),e.createElement("img",(0,x.Z)({},yr,{className:L()("".concat(ut,"-img"),(0,E.Z)({},"".concat(ut,"-img-placeholder"),he===!0),Dt),style:(0,D.Z)({height:ht},ft),ref:Sr},Fr,{width:ke,height:ht,onError:$t})),$r==="loading"&&e.createElement("div",{"aria-hidden":"true",className:"".concat(ut,"-placeholder")},he),Kt&&fr&&e.createElement("div",{className:L()("".concat(ut,"-mask"),jt),style:{display:(ft==null?void 0:ft.display)==="none"?"none":void 0}},Kt)),!lr&&fr&&e.createElement(R,(0,x.Z)({"aria-hidden":!ar,visible:ar,prefixCls:Y,onClose:Gn,mousePosition:En,src:dn,alt:te,imageInfo:{width:ke,height:ht},fallback:Me,getContainer:mt,icons:un,movable:qt,scaleStep:on,minScale:en,maxScale:cn,rootClassName:At,imageRender:Rn,imgCommonProps:yr,toolbarRender:Bn},yn)))};ue.PreviewGroup=se;var c=ue,C=c,Xe=t(75030),W=t(86641),Le=t(48755),Ke=t(83397),nt=t(9017),lt=t(99267),et=t(33853),w=t(38819),ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ze=ge,Ve=t(7657),ot=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Ze}))},Tt=e.forwardRef(ot),ct=Tt,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Rt=dt,Vt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Rt}))},Ht=e.forwardRef(Vt),Xt=Ht,wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ut=wt,yt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Ut}))},Bt=e.forwardRef(yt),Pt=Bt,kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Wt=kt,pt=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:Wt}))},Lt=e.forwardRef(pt),ln=Lt,rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},xn=rn,Dn=function(v,B){return e.createElement(Ve.Z,(0,x.Z)({},v,{ref:B,icon:xn}))},Mn=e.forwardRef(Dn),tn=Mn,Nn=t(36237),Pn=t(17835),bn=t(64427),Fn=t(63356),_n=t(34925),Jn=t(99495),Be=t(16931),Ie=t(51636);const I=h=>({position:h||"absolute",inset:0}),k=h=>{const{iconCls:v,motionDurationSlow:B,paddingXXS:te,marginXXS:we,prefixCls:Ne,colorTextLightSolid:ut}=h;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ut,background:new Pn.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${B}`,[`.${Ne}-mask-info`]:Object.assign(Object.assign({},Fn.vS),{padding:`0 ${(0,Nn.unit)(te)}`,[v]:{marginInlineEnd:we,svg:{verticalAlign:"baseline"}}})}},be=h=>{const{previewCls:v,modalMaskBg:B,paddingSM:te,marginXL:we,margin:Ne,paddingLG:ut,previewOperationColorDisabled:Ge,previewOperationHoverColor:Y,motionDurationSlow:he,iconCls:Me,colorTextLightSolid:ke}=h,ht=new Pn.FastColor(B).setA(.1),ft=ht.clone().setA(.2);return{[`${v}-footer`]:{position:"fixed",bottom:we,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:h.previewOperationColor,transform:"translateX(-50%)"},[`${v}-progress`]:{marginBottom:Ne},[`${v}-close`]:{position:"fixed",top:we,right:{_skip_check_:!0,value:we},display:"flex",color:ke,backgroundColor:ht.toRgbString(),borderRadius:"50%",padding:te,outline:0,border:0,cursor:"pointer",transition:`all ${he}`,"&:hover":{backgroundColor:ft.toRgbString()},[`& > ${Me}`]:{fontSize:h.previewOperationSize}},[`${v}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Nn.unit)(ut)}`,backgroundColor:ht.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:te,padding:te,cursor:"pointer",transition:`all ${he}`,userSelect:"none",[`&:not(${v}-operations-operation-disabled):hover > ${Me}`]:{color:Y},"&-disabled":{color:Ge,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Me}`]:{fontSize:h.previewOperationSize}}}}},ye=h=>{const{modalMaskBg:v,iconCls:B,previewOperationColorDisabled:te,previewCls:we,zIndexPopup:Ne,motionDurationSlow:ut}=h,Ge=new Pn.FastColor(v).setA(.1),Y=Ge.clone().setA(.2);return{[`${we}-switch-left, ${we}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:h.calc(Ne).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:h.imagePreviewSwitchSize,height:h.imagePreviewSwitchSize,marginTop:h.calc(h.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:h.previewOperationColor,background:Ge.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ut}`,userSelect:"none","&:hover":{background:Y.toRgbString()},"&-disabled":{"&, &:hover":{color:te,background:"transparent",cursor:"not-allowed",[`> ${B}`]:{cursor:"not-allowed"}}},[`> ${B}`]:{fontSize:h.previewOperationSize}},[`${we}-switch-left`]:{insetInlineStart:h.marginSM},[`${we}-switch-right`]:{insetInlineEnd:h.marginSM}}},m=h=>{const{motionEaseOut:v,previewCls:B,motionDurationSlow:te,componentCls:we}=h;return[{[`${we}-preview-root`]:{[B]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${B}-body`]:Object.assign(Object.assign({},I()),{overflow:"hidden"}),[`${B}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${te} ${v} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},I()),{transition:`transform ${te} ${v} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${B}-moving`]:{[`${B}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${we}-preview-root`]:{[`${B}-wrap`]:{zIndex:h.zIndexPopup}}},{[`${we}-preview-operations-wrapper`]:{position:"fixed",zIndex:h.calc(h.zIndexPopup).add(1).equal()},"&":[be(h),ye(h)]}]},re=h=>{const{componentCls:v}=h;return{[v]:{position:"relative",display:"inline-block",[`${v}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${v}-img-placeholder`]:{backgroundColor:h.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${v}-mask`]:Object.assign({},k(h)),[`${v}-mask:hover`]:{opacity:1},[`${v}-placeholder`]:Object.assign({},I())}}},De=h=>{const{previewCls:v}=h;return{[`${v}-root`]:(0,_n._y)(h,"zoom"),"&":(0,Jn.J$)(h,!0)}},u=h=>({zIndexPopup:h.zIndexPopupBase+80,previewOperationColor:new Pn.FastColor(h.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Pn.FastColor(h.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Pn.FastColor(h.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:h.fontSizeIcon*1.5});var S=(0,Be.I$)("Image",h=>{const v=`${h.componentCls}-preview`,B=(0,Ie.mergeToken)(h,{previewCls:v,modalMaskBg:new Pn.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:h.controlHeightLG});return[re(B),m(B),(0,bn.QA)((0,Ie.mergeToken)(B,{componentCls:v})),De(B)]},u),A=function(h,v){var B={};for(var te in h)Object.prototype.hasOwnProperty.call(h,te)&&v.indexOf(te)<0&&(B[te]=h[te]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(h);we{var{previewPrefixCls:v,preview:B}=h,te=A(h,["previewPrefixCls","preview"]);const{getPrefixCls:we}=e.useContext(Le.E_),Ne=we("image",v),ut=`${Ne}-preview`,Ge=we(),Y=(0,Ke.Z)(Ne),[he,Me,ke]=S(Ne,Y),[ht]=(0,Xe.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),ft=e.useMemo(()=>{var Ct;if(B===!1)return B;const It=typeof B=="object"?B:{},Dt=L()(Me,ke,Y,(Ct=It.rootClassName)!==null&&Ct!==void 0?Ct:"");return Object.assign(Object.assign({},It),{transitionName:(0,W.m)(Ge,"zoom",It.transitionName),maskTransitionName:(0,W.m)(Ge,"fade",It.maskTransitionName),rootClassName:Dt,zIndex:ht})},[B]);return he(e.createElement(C.PreviewGroup,Object.assign({preview:ft,previewPrefixCls:ut,icons:ve},te)))},V=function(h,v){var B={};for(var te in h)Object.prototype.hasOwnProperty.call(h,te)&&v.indexOf(te)<0&&(B[te]=h[te]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(h);we{const{prefixCls:v,preview:B,className:te,rootClassName:we,style:Ne}=h,ut=V(h,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Ge,getPopupContainer:Y,className:he,style:Me,preview:ke}=(0,Le.dj)("image"),[ht]=(0,nt.Z)("Image"),ft=Ge("image",v),Ct=Ge(),It=(0,Ke.Z)(ft),[Dt,Mt,$t]=S(ft,It),Et=L()(we,Mt,$t,It),Jt=L()(te,Mt,he),[At]=(0,Xe.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),sn=e.useMemo(()=>{if(B===!1)return B;const Yt=typeof B=="object"?B:{},{getContainer:nn,closeIcon:fn,rootClassName:Zt}=Yt,Qt=V(Yt,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:e.createElement("div",{className:`${ft}-mask-info`},e.createElement(d.Z,null),ht==null?void 0:ht.preview),icons:ve},Qt),{rootClassName:L()(Et,Zt),getContainer:nn!=null?nn:Y,transitionName:(0,W.m)(Ct,"zoom",Yt.transitionName),maskTransitionName:(0,W.m)(Ct,"fade",Yt.maskTransitionName),zIndex:At,closeIcon:fn!=null?fn:ke==null?void 0:ke.closeIcon})},[B,ht,ke==null?void 0:ke.closeIcon]),Gt=Object.assign(Object.assign({},Me),Ne);return Dt(e.createElement(C,Object.assign({prefixCls:ft,preview:sn,rootClassName:Et,className:Jt,style:Gt},ut)))};ee.PreviewGroup=O;var oe=ee},49397:function(an,_e,t){t.d(_e,{Z:function(){return s}});var e=t(59301),d=t(92310),i=t.n(d),L=t(36901),x=t(8654),D=t(62487),E=t(86013),Z=t(82855),K=t(48755),r=t(2171),_=t(83397),M=t(31756),P=t(56553),pe=t(24971),it=t(70045),Fe=t(23826),Pe=t(53075);function Ye(p){return!!(p.prefix||p.suffix||p.allowClear||p.showCount)}var b=function(p,ae){var le={};for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&ae.indexOf(y)<0&&(le[y]=p[y]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,y=Object.getOwnPropertySymbols(p);He{const{prefixCls:le,bordered:y=!0,status:He,size:Oe,disabled:ne,onBlur:Re,onFocus:de,suffix:H,allowClear:n,addonAfter:ce,addonBefore:T,className:ze,style:xe,styles:We,rootClassName:st,onChange:at,classNames:Ae,variant:tt}=p,J=b(p,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Se,direction:me,allowClear:Qe,autoComplete:ie,className:Je,style:je,classNames:bt,styles:Te}=(0,K.dj)("input"),G=Se("input",le),R=(0,e.useRef)(null),U=(0,_.Z)(G),[g,fe,z]=(0,Pe.TI)(G,st),[o]=(0,Pe.ZP)(G,U),{compactSize:f,compactItemClassnames:se}=(0,it.ri)(G,me),q=(0,M.Z)(Ve=>{var ot;return(ot=Oe!=null?Oe:f)!==null&&ot!==void 0?ot:Ve}),$=e.useContext(r.Z),N=ne!=null?ne:$,{status:X,hasFeedback:ue,feedbackIcon:c}=(0,e.useContext)(P.aM),C=(0,Z.F)(X,He),Xe=Ye(p)||!!ue,W=(0,e.useRef)(Xe),Le=(0,Fe.Z)(R,!0),Ke=Ve=>{Le(),Re==null||Re(Ve)},nt=Ve=>{Le(),de==null||de(Ve)},lt=Ve=>{Le(),at==null||at(Ve)},et=(ue||H)&&e.createElement(e.Fragment,null,H,ue&&c),w=(0,E.Z)(n!=null?n:Qe),[ge,Ze]=(0,pe.Z)("input",tt,y);return g(o(e.createElement(L.default,Object.assign({ref:(0,x.sQ)(ae,R),prefixCls:G,autoComplete:ie},J,{disabled:N,onBlur:Ke,onFocus:nt,style:Object.assign(Object.assign({},je),xe),styles:Object.assign(Object.assign({},Te),We),suffix:et,allowClear:w,className:i()(ze,st,z,U,se,Je),onChange:lt,addonBefore:T&&e.createElement(D.Z,{form:!0,space:!0},T),addonAfter:ce&&e.createElement(D.Z,{form:!0,space:!0},ce),classNames:Object.assign(Object.assign(Object.assign({},Ae),bt),{input:i()({[`${G}-sm`]:q==="small",[`${G}-lg`]:q==="large",[`${G}-rtl`]:me==="rtl"},Ae==null?void 0:Ae.input,bt.input,fe),variant:i()({[`${G}-${ge}`]:Ze},(0,Z.Z)(G,C)),affixWrapper:i()({[`${G}-affix-wrapper-sm`]:q==="small",[`${G}-affix-wrapper-lg`]:q==="large",[`${G}-affix-wrapper-rtl`]:me==="rtl"},fe),wrapper:i()({[`${G}-group-rtl`]:me==="rtl"},fe),groupWrapper:i()({[`${G}-group-wrapper-sm`]:q==="small",[`${G}-group-wrapper-lg`]:q==="large",[`${G}-group-wrapper-rtl`]:me==="rtl",[`${G}-group-wrapper-${ge}`]:Ze},(0,Z.Z)(`${G}-group-wrapper`,C,ue),fe)})}))))})},79809:function(an,_e,t){t.d(_e,{Z:function(){return ae}});var e=t(59301),d=t(92310),i=t.n(d),L=t(22711),x=t(86013),D=t(82855),E=t(48755),Z=t(2171),K=t(83397),r=t(31756),_=t(56553),M=t(24971),P=t(70045),pe=t(30292),it=t(53075),Fe=t(16931),Pe=t(51636),Ye=t(64910);const b=le=>{const{componentCls:y,paddingLG:He}=le,Oe=`${y}-textarea`;return{[`textarea${y}`]:{maxWidth:"100%",height:"auto",minHeight:le.controlHeight,lineHeight:le.lineHeight,verticalAlign:"bottom",transition:`all ${le.motionDurationSlow}`,resize:"vertical",[`&${y}-mouse-active`]:{transition:`all ${le.motionDurationSlow}, height 0s, width 0s`}},[`${y}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Oe]:{position:"relative","&-show-count":{[`> ${y}`]:{height:"100%"},[`${y}-data-count`]:{position:"absolute",bottom:le.calc(le.fontSize).mul(le.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${y}, &-affix-wrapper${Oe}-has-feedback ${y} - `]:{paddingInlineEnd:He},[`&-affix-wrapper${y}-affix-wrapper`]:{padding:0,[`> textarea${y}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:le.calc(le.controlHeight).sub(le.calc(le.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${y}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${y}-clear-icon`]:{position:"absolute",insetInlineEnd:le.paddingInline,insetBlockStart:le.paddingXS},[`${Oe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${y}-affix-wrapper-sm`]:{[`${y}-suffix`]:{[`${y}-clear-icon`]:{insetInlineEnd:le.paddingInlineSM}}}}}};var Ce=(0,Fe.I$)(["Input","TextArea"],le=>{const y=(0,Pe.mergeToken)(le,(0,Ye.e)(le));return[b(y)]},Ye.T,{resetFont:!1}),s=function(le,y){var He={};for(var Oe in le)Object.prototype.hasOwnProperty.call(le,Oe)&&y.indexOf(Oe)<0&&(He[Oe]=le[Oe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Oe=Object.getOwnPropertySymbols(le);ne{var He;const{prefixCls:Oe,bordered:ne=!0,size:Re,disabled:de,status:H,allowClear:n,classNames:ce,rootClassName:T,className:ze,style:xe,styles:We,variant:st,showCount:at,onMouseDown:Ae,onResize:tt}=le,J=s(le,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Se,direction:me,allowClear:Qe,autoComplete:ie,className:Je,style:je,classNames:bt,styles:Te}=(0,E.dj)("textArea"),G=e.useContext(Z.Z),R=de!=null?de:G,{status:V,hasFeedback:g,feedbackIcon:fe}=e.useContext(_.aM),z=(0,D.F)(V,H),o=e.useRef(null);e.useImperativeHandle(y,()=>{var Ze;return{resizableTextArea:(Ze=o.current)===null||Ze===void 0?void 0:Ze.resizableTextArea,focus:Ve=>{var ot,Tt;(0,pe.nH)((Tt=(ot=o.current)===null||ot===void 0?void 0:ot.resizableTextArea)===null||Tt===void 0?void 0:Tt.textArea,Ve)},blur:()=>{var Ve;return(Ve=o.current)===null||Ve===void 0?void 0:Ve.blur()}}});const f=Se("input",Oe),se=(0,K.Z)(f),[q,$,N]=(0,it.TI)(f,T),[U]=Ce(f,se),{compactSize:ue,compactItemClassnames:c}=(0,P.ri)(f,me),C=(0,r.Z)(Ze=>{var Ve;return(Ve=Re!=null?Re:ue)!==null&&Ve!==void 0?Ve:Ze}),[Xe,X]=(0,M.Z)("textArea",st,ne),Le=(0,x.Z)(n!=null?n:Qe),[Ke,nt]=e.useState(!1),[lt,et]=e.useState(!1),w=Ze=>{nt(!0),Ae==null||Ae(Ze);const Ve=()=>{nt(!1),document.removeEventListener("mouseup",Ve)};document.addEventListener("mouseup",Ve)},ge=Ze=>{var Ve,ot;if(tt==null||tt(Ze),Ke&&typeof getComputedStyle=="function"){const Tt=(ot=(Ve=o.current)===null||Ve===void 0?void 0:Ve.nativeElement)===null||ot===void 0?void 0:ot.querySelector("textarea");Tt&&getComputedStyle(Tt).resize==="both"&&et(!0)}};return q(U(e.createElement(L.default,Object.assign({autoComplete:ie},J,{style:Object.assign(Object.assign({},je),xe),styles:Object.assign(Object.assign({},Te),We),disabled:R,allowClear:Le,className:i()(N,se,ze,T,c,Je,lt&&`${f}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ce),bt),{textarea:i()({[`${f}-sm`]:C==="small",[`${f}-lg`]:C==="large"},$,ce==null?void 0:ce.textarea,bt.textarea,Ke&&`${f}-mouse-active`),variant:i()({[`${f}-${Xe}`]:X},(0,D.Z)(f,z)),affixWrapper:i()(`${f}-textarea-affix-wrapper`,{[`${f}-affix-wrapper-rtl`]:me==="rtl",[`${f}-affix-wrapper-sm`]:C==="small",[`${f}-affix-wrapper-lg`]:C==="large",[`${f}-textarea-show-count`]:at||((He=le.count)===null||He===void 0?void 0:He.show)},$)}),prefixCls:f,suffix:g&&e.createElement("span",{className:`${f}-textarea-suffix`},fe),showCount:at,ref:o,onResize:ge,onMouseDown:w}))))})},23826:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(59301);function d(i,L){const x=(0,e.useRef)([]),D=()=>{x.current.push(setTimeout(()=>{var E,Z,K,r;!((E=i.current)===null||E===void 0)&&E.input&&((Z=i.current)===null||Z===void 0?void 0:Z.input.getAttribute("type"))==="password"&&(!((K=i.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((r=i.current)===null||r===void 0||r.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(L&&D(),()=>x.current.forEach(E=>{E&&clearTimeout(E)})),[]),D}},37568:function(an,_e,t){t.d(_e,{default:function(){return bt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(48755),x=t(56553),D=t(53075),Z=Te=>{const{getPrefixCls:G,direction:R}=(0,e.useContext)(L.E_),{prefixCls:V,className:g}=Te,fe=G("input-group",V),z=G("input"),[o,f,se]=(0,D.ZP)(z),q=i()(fe,se,{[`${fe}-lg`]:Te.size==="large",[`${fe}-sm`]:Te.size==="small",[`${fe}-compact`]:Te.compact,[`${fe}-rtl`]:R==="rtl"},f,g),$=(0,e.useContext)(x.aM),N=(0,e.useMemo)(()=>Object.assign(Object.assign({},$),{isFormItemInput:!1}),[$]);return o(e.createElement("span",{className:q,style:Te.style,onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onFocus:Te.onFocus,onBlur:Te.onBlur},e.createElement(x.aM.Provider,{value:N},Te.children)))},K=t(49397),r=t(94480),_=t(6089),M=t(26112),P=t(82855),pe=t(31756),it=t(16931),Fe=t(51636),Pe=t(64910);const Ye=Te=>{const{componentCls:G,paddingXS:R}=Te;return{[G]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:R,"&-rtl":{direction:"rtl"},[`${G}-input`]:{textAlign:"center",paddingInline:Te.paddingXXS},[`&${G}-sm ${G}-input`]:{paddingInline:Te.calc(Te.paddingXXS).div(2).equal()},[`&${G}-lg ${G}-input`]:{paddingInline:Te.paddingXS}}}};var b=(0,it.I$)(["Input","OTP"],Te=>{const G=(0,Fe.mergeToken)(Te,(0,Pe.e)(Te));return[Ye(G)]},Pe.T),Ce=t(16089),s=function(Te,G){var R={};for(var V in Te)Object.prototype.hasOwnProperty.call(Te,V)&&G.indexOf(V)<0&&(R[V]=Te[V]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,V=Object.getOwnPropertySymbols(Te);g{const{value:R,onChange:V,onActiveChange:g,index:fe,mask:z}=Te,o=s(Te,["value","onChange","onActiveChange","index","mask"]),f=R&&typeof z=="string"?z:R,se=ue=>{V(fe,ue.target.value)},q=e.useRef(null);e.useImperativeHandle(G,()=>q.current);const $=()=>{(0,Ce.Z)(()=>{var ue;const c=(ue=q.current)===null||ue===void 0?void 0:ue.input;document.activeElement===c&&c&&c.select()})},N=ue=>{const{key:c,ctrlKey:C,metaKey:Xe}=ue;c==="ArrowLeft"?g(fe-1):c==="ArrowRight"?g(fe+1):c==="z"&&(C||Xe)&&ue.preventDefault(),$()},U=ue=>{ue.key==="Backspace"&&!R&&g(fe-1),$()};return e.createElement(K.Z,Object.assign({type:z===!0?"password":"text"},o,{ref:q,value:f,onInput:se,onFocus:$,onKeyDown:N,onKeyUp:U,onMouseDown:$,onMouseUp:$}))}),le=function(Te,G){var R={};for(var V in Te)Object.prototype.hasOwnProperty.call(Te,V)&&G.indexOf(V)<0&&(R[V]=Te[V]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,V=Object.getOwnPropertySymbols(Te);g{const{index:G,prefixCls:R,separator:V}=Te,g=typeof V=="function"?V(G):V;return g?e.createElement("span",{className:`${R}-separator`},g):null};var ne=e.forwardRef((Te,G)=>{const{prefixCls:R,length:V=6,size:g,defaultValue:fe,value:z,onChange:o,formatter:f,separator:se,variant:q,disabled:$,status:N,autoFocus:U,mask:ue,type:c,onInput:C,inputMode:Xe}=Te,X=le(Te,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Le,direction:Ke}=e.useContext(L.E_),nt=Le("otp",R),lt=(0,M.Z)(X,{aria:!0,data:!0,attr:!0}),[et,w,ge]=b(nt),Ze=(0,pe.Z)(Pt=>g!=null?g:Pt),Ve=e.useContext(x.aM),ot=(0,P.F)(Ve.status,N),Tt=e.useMemo(()=>Object.assign(Object.assign({},Ve),{status:ot,hasFeedback:!1,feedbackIcon:null}),[Ve,ot]),ct=e.useRef(null),dt=e.useRef({});e.useImperativeHandle(G,()=>({focus:()=>{var Pt;(Pt=dt.current[0])===null||Pt===void 0||Pt.focus()},blur:()=>{var Pt;for(let kt=0;ktf?f(Pt):Pt,[Vt,Ht]=e.useState(()=>y(Rt(fe||"")));e.useEffect(()=>{z!==void 0&&Ht(y(z))},[z]);const Xt=(0,_.Z)(Pt=>{Ht(Pt),C&&C(Pt),o&&Pt.length===V&&Pt.every(kt=>kt)&&Pt.some((kt,Wt)=>Vt[Wt]!==kt)&&o(Pt.join(""))}),wt=(0,_.Z)((Pt,kt)=>{let Wt=(0,r.Z)(Vt);for(let Lt=0;Lt=0&&!Wt[Lt];Lt-=1)Wt.pop();const pt=Rt(Wt.map(Lt=>Lt||" ").join(""));return Wt=y(pt).map((Lt,ln)=>Lt===" "&&!Wt[ln]?Wt[ln]:Lt),Wt}),Ut=(Pt,kt)=>{var Wt;const pt=wt(Pt,kt),Lt=Math.min(Pt+kt.length,V-1);Lt!==Pt&&pt[Pt]!==void 0&&((Wt=dt.current[Lt])===null||Wt===void 0||Wt.focus()),Xt(pt)},yt=Pt=>{var kt;(kt=dt.current[Pt])===null||kt===void 0||kt.focus()},Bt={variant:q,disabled:$,status:ot,mask:ue,type:c,inputMode:Xe};return et(e.createElement("div",Object.assign({},lt,{ref:ct,className:i()(nt,{[`${nt}-sm`]:Ze==="small",[`${nt}-lg`]:Ze==="large",[`${nt}-rtl`]:Ke==="rtl"},ge,w)}),e.createElement(x.aM.Provider,{value:Tt},Array.from({length:V}).map((Pt,kt)=>{const Wt=`otp-${kt}`,pt=Vt[kt]||"";return e.createElement(e.Fragment,{key:Wt},e.createElement(ae,Object.assign({ref:Lt=>{dt.current[kt]=Lt},index:kt,size:Ze,htmlSize:1,className:`${nt}-input`,onChange:Ut,value:pt,onActiveChange:yt,autoFocus:kt===0&&U},Bt)),ktTe?e.createElement(de.Z,null):e.createElement(Re.Z,null),We={click:"onClick",hover:"onMouseOver"};var at=e.forwardRef((Te,G)=>{const{disabled:R,action:V="click",visibilityToggle:g=!0,iconRender:fe=xe}=Te,z=e.useContext(ce.Z),o=R!=null?R:z,f=typeof g=="object"&&g.visible!==void 0,[se,q]=(0,e.useState)(()=>f?g.visible:!1),$=(0,e.useRef)(null);e.useEffect(()=>{f&&q(g.visible)},[f,g]);const N=(0,T.Z)($),U=()=>{var Ze;if(o)return;se&&N();const Ve=!se;q(Ve),typeof g=="object"&&((Ze=g.onVisibleChange)===null||Ze===void 0||Ze.call(g,Ve))},ue=Ze=>{const Ve=We[V]||"",ot=fe(se),Tt={[Ve]:U,className:`${Ze}-icon`,key:"passwordIcon",onMouseDown:ct=>{ct.preventDefault()},onMouseUp:ct=>{ct.preventDefault()}};return e.cloneElement(e.isValidElement(ot)?ot:e.createElement("span",null,ot),Tt)},{className:c,prefixCls:C,inputPrefixCls:Xe,size:X}=Te,Le=ze(Te,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ke}=e.useContext(L.E_),nt=Ke("input",Xe),lt=Ke("input-password",C),et=g&&ue(lt),w=i()(lt,c,{[`${lt}-${X}`]:!!X}),ge=Object.assign(Object.assign({},(0,H.Z)(Le,["suffix","iconRender","visibilityToggle"])),{type:se?"text":"password",className:w,prefixCls:nt,suffix:et});return X&&(ge.size=X),e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(G,$)},ge))}),Ae=t(47472),tt=t(22703),J=t(7939),Se=t(70045),me=function(Te,G){var R={};for(var V in Te)Object.prototype.hasOwnProperty.call(Te,V)&&G.indexOf(V)<0&&(R[V]=Te[V]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,V=Object.getOwnPropertySymbols(Te);g{const{prefixCls:R,inputPrefixCls:V,className:g,size:fe,suffix:z,enterButton:o=!1,addonAfter:f,loading:se,disabled:q,onSearch:$,onChange:N,onCompositionStart:U,onCompositionEnd:ue}=Te,c=me(Te,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:C,direction:Xe}=e.useContext(L.E_),X=e.useRef(!1),Le=C("input-search",R),Ke=C("input",V),{compactSize:nt}=(0,Se.ri)(Le,Xe),lt=(0,pe.Z)(Ut=>{var yt;return(yt=fe!=null?fe:nt)!==null&&yt!==void 0?yt:Ut}),et=e.useRef(null),w=Ut=>{Ut!=null&&Ut.target&&Ut.type==="click"&&$&&$(Ut.target.value,Ut,{source:"clear"}),N==null||N(Ut)},ge=Ut=>{var yt;document.activeElement===((yt=et.current)===null||yt===void 0?void 0:yt.input)&&Ut.preventDefault()},Ze=Ut=>{var yt,Bt;$&&$((Bt=(yt=et.current)===null||yt===void 0?void 0:yt.input)===null||Bt===void 0?void 0:Bt.value,Ut,{source:"input"})},Ve=Ut=>{X.current||se||Ze(Ut)},ot=typeof o=="boolean"?e.createElement(Ae.Z,null):null,Tt=`${Le}-button`;let ct;const dt=o||{},Rt=dt.type&&dt.type.__ANT_BUTTON===!0;Rt||dt.type==="button"?ct=(0,tt.Tm)(dt,Object.assign({onMouseDown:ge,onClick:Ut=>{var yt,Bt;(Bt=(yt=dt==null?void 0:dt.props)===null||yt===void 0?void 0:yt.onClick)===null||Bt===void 0||Bt.call(yt,Ut),Ze(Ut)},key:"enterButton"},Rt?{className:Tt,size:lt}:{})):ct=e.createElement(J.ZP,{className:Tt,type:o?"primary":void 0,size:lt,disabled:q,key:"enterButton",onMouseDown:ge,onClick:Ze,loading:se,icon:ot},o),f&&(ct=[ct,(0,tt.Tm)(f,{key:"addonAfter"})]);const Vt=i()(Le,{[`${Le}-rtl`]:Xe==="rtl",[`${Le}-${lt}`]:!!lt,[`${Le}-with-button`]:!!o},g),Ht=Object.assign(Object.assign({},c),{className:Vt,prefixCls:Ke,type:"search"}),Xt=Ut=>{X.current=!0,U==null||U(Ut)},wt=Ut=>{X.current=!1,ue==null||ue(Ut)};return e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(et,G),onPressEnter:Ve},Ht,{size:lt,onCompositionStart:Xt,onCompositionEnd:wt,addonAfter:ct,suffix:z,onChange:w,disabled:q}))}),Je=t(79809);const je=K.Z;je.Group=Z,je.Search=ie,je.TextArea=Je.Z,je.Password=at,je.OTP=ne;var bt=je},53075:function(an,_e,t){t.d(_e,{TI:function(){return Ce},ik:function(){return M},nz:function(){return Z},s7:function(){return P},x0:function(){return _}});var e=t(36237),d=t(63356),i=t(56119),L=t(16931),x=t(51636),D=t(64910),E=t(39082);const Z=s=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:s,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=s=>({borderColor:s.activeBorderColor,boxShadow:s.activeShadow,outline:0,backgroundColor:s.activeBg}),r=s=>{const{paddingBlockLG:p,lineHeightLG:ae,borderRadiusLG:le,paddingInlineLG:y}=s;return{padding:`${(0,e.unit)(p)} ${(0,e.unit)(y)}`,fontSize:s.inputFontSizeLG,lineHeight:ae,borderRadius:le}},_=s=>({padding:`${(0,e.unit)(s.paddingBlockSM)} ${(0,e.unit)(s.paddingInlineSM)}`,fontSize:s.inputFontSizeSM,borderRadius:s.borderRadiusSM}),M=s=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(s.paddingBlock)} ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontSize:s.inputFontSize,lineHeight:s.lineHeight,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid}`},Z(s.colorTextPlaceholder)),{"&-lg":Object.assign({},r(s)),"&-sm":Object.assign({},_(s)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),P=s=>{const{componentCls:p,antCls:ae}=s;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:s.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${p}, &-lg > ${p}-group-addon`]:Object.assign({},r(s)),[`&-sm ${p}, &-sm > ${p}-group-addon`]:Object.assign({},_(s)),[`&-lg ${ae}-select-single ${ae}-select-selector`]:{height:s.controlHeightLG},[`&-sm ${ae}-select-single ${ae}-select-selector`]:{height:s.controlHeightSM},[`> ${p}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${p}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontWeight:"normal",fontSize:s.inputFontSize,textAlign:"center",borderRadius:s.borderRadius,transition:`all ${s.motionDurationSlow}`,lineHeight:1,[`${ae}-select`]:{margin:`${(0,e.unit)(s.calc(s.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,[`&${ae}-select-single:not(${ae}-select-customize-input):not(${ae}-pagination-size-changer)`]:{[`${ae}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(s.lineWidth)} ${s.lineType} transparent`,boxShadow:"none"}}},[`${ae}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${ae}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[p]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${p}-search-with-button &`]:{zIndex:0}}},[`> ${p}:first-child, ${p}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${ae}-select ${ae}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${p}-affix-wrapper`]:{[`&:not(:first-child) ${p}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${p}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${p}:last-child, ${p}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${ae}-select ${ae}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${p}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${p}-search &`]:{borderStartStartRadius:s.borderRadius,borderEndStartRadius:s.borderRadius}},[`&:not(:first-child), ${p}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${p}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,d.dF)()),{[`${p}-group-addon, ${p}-group-wrap, > ${p}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:s.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{paddingInlineEnd:He},[`&-affix-wrapper${y}-affix-wrapper`]:{padding:0,[`> textarea${y}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:le.calc(le.controlHeight).sub(le.calc(le.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${y}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${y}-clear-icon`]:{position:"absolute",insetInlineEnd:le.paddingInline,insetBlockStart:le.paddingXS},[`${Oe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${y}-affix-wrapper-sm`]:{[`${y}-suffix`]:{[`${y}-clear-icon`]:{insetInlineEnd:le.paddingInlineSM}}}}}};var Ce=(0,Fe.I$)(["Input","TextArea"],le=>{const y=(0,Pe.mergeToken)(le,(0,Ye.e)(le));return[b(y)]},Ye.T,{resetFont:!1}),s=function(le,y){var He={};for(var Oe in le)Object.prototype.hasOwnProperty.call(le,Oe)&&y.indexOf(Oe)<0&&(He[Oe]=le[Oe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Oe=Object.getOwnPropertySymbols(le);ne{var He;const{prefixCls:Oe,bordered:ne=!0,size:Re,disabled:de,status:H,allowClear:n,classNames:ce,rootClassName:T,className:ze,style:xe,styles:We,variant:st,showCount:at,onMouseDown:Ae,onResize:tt}=le,J=s(le,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Se,direction:me,allowClear:Qe,autoComplete:ie,className:Je,style:je,classNames:bt,styles:Te}=(0,E.dj)("textArea"),G=e.useContext(Z.Z),R=de!=null?de:G,{status:U,hasFeedback:g,feedbackIcon:fe}=e.useContext(_.aM),z=(0,D.F)(U,H),o=e.useRef(null);e.useImperativeHandle(y,()=>{var Ze;return{resizableTextArea:(Ze=o.current)===null||Ze===void 0?void 0:Ze.resizableTextArea,focus:Ve=>{var ot,Tt;(0,pe.nH)((Tt=(ot=o.current)===null||ot===void 0?void 0:ot.resizableTextArea)===null||Tt===void 0?void 0:Tt.textArea,Ve)},blur:()=>{var Ve;return(Ve=o.current)===null||Ve===void 0?void 0:Ve.blur()}}});const f=Se("input",Oe),se=(0,K.Z)(f),[q,$,N]=(0,it.TI)(f,T),[X]=Ce(f,se),{compactSize:ue,compactItemClassnames:c}=(0,P.ri)(f,me),C=(0,r.Z)(Ze=>{var Ve;return(Ve=Re!=null?Re:ue)!==null&&Ve!==void 0?Ve:Ze}),[Xe,W]=(0,M.Z)("textArea",st,ne),Le=(0,x.Z)(n!=null?n:Qe),[Ke,nt]=e.useState(!1),[lt,et]=e.useState(!1),w=Ze=>{nt(!0),Ae==null||Ae(Ze);const Ve=()=>{nt(!1),document.removeEventListener("mouseup",Ve)};document.addEventListener("mouseup",Ve)},ge=Ze=>{var Ve,ot;if(tt==null||tt(Ze),Ke&&typeof getComputedStyle=="function"){const Tt=(ot=(Ve=o.current)===null||Ve===void 0?void 0:Ve.nativeElement)===null||ot===void 0?void 0:ot.querySelector("textarea");Tt&&getComputedStyle(Tt).resize==="both"&&et(!0)}};return q(X(e.createElement(L.default,Object.assign({autoComplete:ie},J,{style:Object.assign(Object.assign({},je),xe),styles:Object.assign(Object.assign({},Te),We),disabled:R,allowClear:Le,className:i()(N,se,ze,T,c,Je,lt&&`${f}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ce),bt),{textarea:i()({[`${f}-sm`]:C==="small",[`${f}-lg`]:C==="large"},$,ce==null?void 0:ce.textarea,bt.textarea,Ke&&`${f}-mouse-active`),variant:i()({[`${f}-${Xe}`]:W},(0,D.Z)(f,z)),affixWrapper:i()(`${f}-textarea-affix-wrapper`,{[`${f}-affix-wrapper-rtl`]:me==="rtl",[`${f}-affix-wrapper-sm`]:C==="small",[`${f}-affix-wrapper-lg`]:C==="large",[`${f}-textarea-show-count`]:at||((He=le.count)===null||He===void 0?void 0:He.show)},$)}),prefixCls:f,suffix:g&&e.createElement("span",{className:`${f}-textarea-suffix`},fe),showCount:at,ref:o,onResize:ge,onMouseDown:w}))))})},23826:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(59301);function d(i,L){const x=(0,e.useRef)([]),D=()=>{x.current.push(setTimeout(()=>{var E,Z,K,r;!((E=i.current)===null||E===void 0)&&E.input&&((Z=i.current)===null||Z===void 0?void 0:Z.input.getAttribute("type"))==="password"&&(!((K=i.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((r=i.current)===null||r===void 0||r.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(L&&D(),()=>x.current.forEach(E=>{E&&clearTimeout(E)})),[]),D}},37568:function(an,_e,t){t.d(_e,{default:function(){return bt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(48755),x=t(56553),D=t(53075),Z=Te=>{const{getPrefixCls:G,direction:R}=(0,e.useContext)(L.E_),{prefixCls:U,className:g}=Te,fe=G("input-group",U),z=G("input"),[o,f,se]=(0,D.ZP)(z),q=i()(fe,se,{[`${fe}-lg`]:Te.size==="large",[`${fe}-sm`]:Te.size==="small",[`${fe}-compact`]:Te.compact,[`${fe}-rtl`]:R==="rtl"},f,g),$=(0,e.useContext)(x.aM),N=(0,e.useMemo)(()=>Object.assign(Object.assign({},$),{isFormItemInput:!1}),[$]);return o(e.createElement("span",{className:q,style:Te.style,onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onFocus:Te.onFocus,onBlur:Te.onBlur},e.createElement(x.aM.Provider,{value:N},Te.children)))},K=t(49397),r=t(94480),_=t(6089),M=t(26112),P=t(82855),pe=t(31756),it=t(16931),Fe=t(51636),Pe=t(64910);const Ye=Te=>{const{componentCls:G,paddingXS:R}=Te;return{[G]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:R,"&-rtl":{direction:"rtl"},[`${G}-input`]:{textAlign:"center",paddingInline:Te.paddingXXS},[`&${G}-sm ${G}-input`]:{paddingInline:Te.calc(Te.paddingXXS).div(2).equal()},[`&${G}-lg ${G}-input`]:{paddingInline:Te.paddingXS}}}};var b=(0,it.I$)(["Input","OTP"],Te=>{const G=(0,Fe.mergeToken)(Te,(0,Pe.e)(Te));return[Ye(G)]},Pe.T),Ce=t(16089),s=function(Te,G){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&G.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,U=Object.getOwnPropertySymbols(Te);g{const{value:R,onChange:U,onActiveChange:g,index:fe,mask:z}=Te,o=s(Te,["value","onChange","onActiveChange","index","mask"]),f=R&&typeof z=="string"?z:R,se=ue=>{U(fe,ue.target.value)},q=e.useRef(null);e.useImperativeHandle(G,()=>q.current);const $=()=>{(0,Ce.Z)(()=>{var ue;const c=(ue=q.current)===null||ue===void 0?void 0:ue.input;document.activeElement===c&&c&&c.select()})},N=ue=>{const{key:c,ctrlKey:C,metaKey:Xe}=ue;c==="ArrowLeft"?g(fe-1):c==="ArrowRight"?g(fe+1):c==="z"&&(C||Xe)&&ue.preventDefault(),$()},X=ue=>{ue.key==="Backspace"&&!R&&g(fe-1),$()};return e.createElement(K.Z,Object.assign({type:z===!0?"password":"text"},o,{ref:q,value:f,onInput:se,onFocus:$,onKeyDown:N,onKeyUp:X,onMouseDown:$,onMouseUp:$}))}),le=function(Te,G){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&G.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,U=Object.getOwnPropertySymbols(Te);g{const{index:G,prefixCls:R,separator:U}=Te,g=typeof U=="function"?U(G):U;return g?e.createElement("span",{className:`${R}-separator`},g):null};var ne=e.forwardRef((Te,G)=>{const{prefixCls:R,length:U=6,size:g,defaultValue:fe,value:z,onChange:o,formatter:f,separator:se,variant:q,disabled:$,status:N,autoFocus:X,mask:ue,type:c,onInput:C,inputMode:Xe}=Te,W=le(Te,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Le,direction:Ke}=e.useContext(L.E_),nt=Le("otp",R),lt=(0,M.Z)(W,{aria:!0,data:!0,attr:!0}),[et,w,ge]=b(nt),Ze=(0,pe.Z)(Pt=>g!=null?g:Pt),Ve=e.useContext(x.aM),ot=(0,P.F)(Ve.status,N),Tt=e.useMemo(()=>Object.assign(Object.assign({},Ve),{status:ot,hasFeedback:!1,feedbackIcon:null}),[Ve,ot]),ct=e.useRef(null),dt=e.useRef({});e.useImperativeHandle(G,()=>({focus:()=>{var Pt;(Pt=dt.current[0])===null||Pt===void 0||Pt.focus()},blur:()=>{var Pt;for(let kt=0;ktf?f(Pt):Pt,[Vt,Ht]=e.useState(()=>y(Rt(fe||"")));e.useEffect(()=>{z!==void 0&&Ht(y(z))},[z]);const Xt=(0,_.Z)(Pt=>{Ht(Pt),C&&C(Pt),o&&Pt.length===U&&Pt.every(kt=>kt)&&Pt.some((kt,Wt)=>Vt[Wt]!==kt)&&o(Pt.join(""))}),wt=(0,_.Z)((Pt,kt)=>{let Wt=(0,r.Z)(Vt);for(let Lt=0;Lt=0&&!Wt[Lt];Lt-=1)Wt.pop();const pt=Rt(Wt.map(Lt=>Lt||" ").join(""));return Wt=y(pt).map((Lt,ln)=>Lt===" "&&!Wt[ln]?Wt[ln]:Lt),Wt}),Ut=(Pt,kt)=>{var Wt;const pt=wt(Pt,kt),Lt=Math.min(Pt+kt.length,U-1);Lt!==Pt&&pt[Pt]!==void 0&&((Wt=dt.current[Lt])===null||Wt===void 0||Wt.focus()),Xt(pt)},yt=Pt=>{var kt;(kt=dt.current[Pt])===null||kt===void 0||kt.focus()},Bt={variant:q,disabled:$,status:ot,mask:ue,type:c,inputMode:Xe};return et(e.createElement("div",Object.assign({},lt,{ref:ct,className:i()(nt,{[`${nt}-sm`]:Ze==="small",[`${nt}-lg`]:Ze==="large",[`${nt}-rtl`]:Ke==="rtl"},ge,w)}),e.createElement(x.aM.Provider,{value:Tt},Array.from({length:U}).map((Pt,kt)=>{const Wt=`otp-${kt}`,pt=Vt[kt]||"";return e.createElement(e.Fragment,{key:Wt},e.createElement(ae,Object.assign({ref:Lt=>{dt.current[kt]=Lt},index:kt,size:Ze,htmlSize:1,className:`${nt}-input`,onChange:Ut,value:pt,onActiveChange:yt,autoFocus:kt===0&&X},Bt)),ktTe?e.createElement(de.Z,null):e.createElement(Re.Z,null),We={click:"onClick",hover:"onMouseOver"};var at=e.forwardRef((Te,G)=>{const{disabled:R,action:U="click",visibilityToggle:g=!0,iconRender:fe=xe}=Te,z=e.useContext(ce.Z),o=R!=null?R:z,f=typeof g=="object"&&g.visible!==void 0,[se,q]=(0,e.useState)(()=>f?g.visible:!1),$=(0,e.useRef)(null);e.useEffect(()=>{f&&q(g.visible)},[f,g]);const N=(0,T.Z)($),X=()=>{var Ze;if(o)return;se&&N();const Ve=!se;q(Ve),typeof g=="object"&&((Ze=g.onVisibleChange)===null||Ze===void 0||Ze.call(g,Ve))},ue=Ze=>{const Ve=We[U]||"",ot=fe(se),Tt={[Ve]:X,className:`${Ze}-icon`,key:"passwordIcon",onMouseDown:ct=>{ct.preventDefault()},onMouseUp:ct=>{ct.preventDefault()}};return e.cloneElement(e.isValidElement(ot)?ot:e.createElement("span",null,ot),Tt)},{className:c,prefixCls:C,inputPrefixCls:Xe,size:W}=Te,Le=ze(Te,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ke}=e.useContext(L.E_),nt=Ke("input",Xe),lt=Ke("input-password",C),et=g&&ue(lt),w=i()(lt,c,{[`${lt}-${W}`]:!!W}),ge=Object.assign(Object.assign({},(0,H.Z)(Le,["suffix","iconRender","visibilityToggle"])),{type:se?"text":"password",className:w,prefixCls:nt,suffix:et});return W&&(ge.size=W),e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(G,$)},ge))}),Ae=t(47472),tt=t(22703),J=t(7939),Se=t(70045),me=function(Te,G){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&G.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,U=Object.getOwnPropertySymbols(Te);g{const{prefixCls:R,inputPrefixCls:U,className:g,size:fe,suffix:z,enterButton:o=!1,addonAfter:f,loading:se,disabled:q,onSearch:$,onChange:N,onCompositionStart:X,onCompositionEnd:ue}=Te,c=me(Te,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:C,direction:Xe}=e.useContext(L.E_),W=e.useRef(!1),Le=C("input-search",R),Ke=C("input",U),{compactSize:nt}=(0,Se.ri)(Le,Xe),lt=(0,pe.Z)(Ut=>{var yt;return(yt=fe!=null?fe:nt)!==null&&yt!==void 0?yt:Ut}),et=e.useRef(null),w=Ut=>{Ut!=null&&Ut.target&&Ut.type==="click"&&$&&$(Ut.target.value,Ut,{source:"clear"}),N==null||N(Ut)},ge=Ut=>{var yt;document.activeElement===((yt=et.current)===null||yt===void 0?void 0:yt.input)&&Ut.preventDefault()},Ze=Ut=>{var yt,Bt;$&&$((Bt=(yt=et.current)===null||yt===void 0?void 0:yt.input)===null||Bt===void 0?void 0:Bt.value,Ut,{source:"input"})},Ve=Ut=>{W.current||se||Ze(Ut)},ot=typeof o=="boolean"?e.createElement(Ae.Z,null):null,Tt=`${Le}-button`;let ct;const dt=o||{},Rt=dt.type&&dt.type.__ANT_BUTTON===!0;Rt||dt.type==="button"?ct=(0,tt.Tm)(dt,Object.assign({onMouseDown:ge,onClick:Ut=>{var yt,Bt;(Bt=(yt=dt==null?void 0:dt.props)===null||yt===void 0?void 0:yt.onClick)===null||Bt===void 0||Bt.call(yt,Ut),Ze(Ut)},key:"enterButton"},Rt?{className:Tt,size:lt}:{})):ct=e.createElement(J.ZP,{className:Tt,type:o?"primary":void 0,size:lt,disabled:q,key:"enterButton",onMouseDown:ge,onClick:Ze,loading:se,icon:ot},o),f&&(ct=[ct,(0,tt.Tm)(f,{key:"addonAfter"})]);const Vt=i()(Le,{[`${Le}-rtl`]:Xe==="rtl",[`${Le}-${lt}`]:!!lt,[`${Le}-with-button`]:!!o},g),Ht=Object.assign(Object.assign({},c),{className:Vt,prefixCls:Ke,type:"search"}),Xt=Ut=>{W.current=!0,X==null||X(Ut)},wt=Ut=>{W.current=!1,ue==null||ue(Ut)};return e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(et,G),onPressEnter:Ve},Ht,{size:lt,onCompositionStart:Xt,onCompositionEnd:wt,addonAfter:ct,suffix:z,onChange:w,disabled:q}))}),Je=t(79809);const je=K.Z;je.Group=Z,je.Search=ie,je.TextArea=Je.Z,je.Password=at,je.OTP=ne;var bt=je},53075:function(an,_e,t){t.d(_e,{TI:function(){return Ce},ik:function(){return M},nz:function(){return Z},s7:function(){return P},x0:function(){return _}});var e=t(36237),d=t(63356),i=t(56119),L=t(16931),x=t(51636),D=t(64910),E=t(39082);const Z=s=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:s,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=s=>({borderColor:s.activeBorderColor,boxShadow:s.activeShadow,outline:0,backgroundColor:s.activeBg}),r=s=>{const{paddingBlockLG:p,lineHeightLG:ae,borderRadiusLG:le,paddingInlineLG:y}=s;return{padding:`${(0,e.unit)(p)} ${(0,e.unit)(y)}`,fontSize:s.inputFontSizeLG,lineHeight:ae,borderRadius:le}},_=s=>({padding:`${(0,e.unit)(s.paddingBlockSM)} ${(0,e.unit)(s.paddingInlineSM)}`,fontSize:s.inputFontSizeSM,borderRadius:s.borderRadiusSM}),M=s=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(s.paddingBlock)} ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontSize:s.inputFontSize,lineHeight:s.lineHeight,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid}`},Z(s.colorTextPlaceholder)),{"&-lg":Object.assign({},r(s)),"&-sm":Object.assign({},_(s)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),P=s=>{const{componentCls:p,antCls:ae}=s;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:s.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${p}, &-lg > ${p}-group-addon`]:Object.assign({},r(s)),[`&-sm ${p}, &-sm > ${p}-group-addon`]:Object.assign({},_(s)),[`&-lg ${ae}-select-single ${ae}-select-selector`]:{height:s.controlHeightLG},[`&-sm ${ae}-select-single ${ae}-select-selector`]:{height:s.controlHeightSM},[`> ${p}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${p}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontWeight:"normal",fontSize:s.inputFontSize,textAlign:"center",borderRadius:s.borderRadius,transition:`all ${s.motionDurationSlow}`,lineHeight:1,[`${ae}-select`]:{margin:`${(0,e.unit)(s.calc(s.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,[`&${ae}-select-single:not(${ae}-select-customize-input):not(${ae}-pagination-size-changer)`]:{[`${ae}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(s.lineWidth)} ${s.lineType} transparent`,boxShadow:"none"}}},[`${ae}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${ae}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[p]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${p}-search-with-button &`]:{zIndex:0}}},[`> ${p}:first-child, ${p}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${ae}-select ${ae}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${p}-affix-wrapper`]:{[`&:not(:first-child) ${p}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${p}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${p}:last-child, ${p}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${ae}-select ${ae}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${p}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${p}-search &`]:{borderStartStartRadius:s.borderRadius,borderEndStartRadius:s.borderRadius}},[`&:not(:first-child), ${p}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${p}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,d.dF)()),{[`${p}-group-addon, ${p}-group-wrap, > ${p}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:s.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${p}-affix-wrapper, & > ${p}-number-affix-wrapper, & > ${ae}-picker-range @@ -47,19 +47,19 @@ & > ${ae}-cascader-picker:last-child ${p}, & > ${ae}-cascader-picker-focused:last-child ${p}`]:{borderInlineEndWidth:s.lineWidth,borderStartEndRadius:s.borderRadius,borderEndEndRadius:s.borderRadius},[`& > ${ae}-select-auto-complete ${p}`]:{verticalAlign:"top"},[`${p}-group-wrapper + ${p}-group-wrapper`]:{marginInlineStart:s.calc(s.lineWidth).mul(-1).equal(),[`${p}-affix-wrapper`]:{borderRadius:0}},[`${p}-group-wrapper:not(:last-child)`]:{[`&${p}-search > ${p}-group`]:{[`& > ${p}-group-addon > ${p}-search-button`]:{borderRadius:0},[`& > ${p}`]:{borderStartStartRadius:s.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:s.borderRadius}}}})}},pe=s=>{const{componentCls:p,controlHeightSM:ae,lineWidth:le,calc:y}=s,Oe=y(ae).sub(y(le).mul(2)).sub(16).div(2).equal();return{[p]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(s)),M(s)),(0,E.qG)(s)),(0,E.H8)(s)),(0,E.Mu)(s)),(0,E.vc)(s)),{'&[type="color"]':{height:s.controlHeight,[`&${p}-lg`]:{height:s.controlHeightLG},[`&${p}-sm`]:{height:ae,paddingTop:Oe,paddingBottom:Oe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},it=s=>{const{componentCls:p}=s;return{[`${p}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${s.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:s.colorTextTertiary},"&:active":{color:s.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,e.unit)(s.inputAffixPadding)}`}}}},Fe=s=>{const{componentCls:p,inputAffixPadding:ae,colorTextDescription:le,motionDurationSlow:y,colorIcon:He,colorIconHover:Oe,iconCls:ne}=s,Re=`${p}-affix-wrapper`,de=`${p}-affix-wrapper-disabled`;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},M(s)),{display:"inline-flex",[`&:not(${p}-disabled):hover`]:{zIndex:1,[`${p}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${p}`]:{padding:0},[`> input${p}, > textarea${p}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[p]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:s.paddingXS}},"&-show-count-suffix":{color:le},"&-show-count-has-suffix":{marginInlineEnd:s.paddingXXS},"&-prefix":{marginInlineEnd:ae},"&-suffix":{marginInlineStart:ae}}}),it(s)),{[`${ne}${p}-password-icon`]:{color:He,cursor:"pointer",transition:`all ${y}`,"&:hover":{color:Oe}}}),[`${p}-underlined`]:{borderRadius:0},[de]:{[`${ne}${p}-password-icon`]:{color:He,cursor:"not-allowed","&:hover":{color:He}}}}},Pe=s=>{const{componentCls:p,borderRadiusLG:ae,borderRadiusSM:le}=s;return{[`${p}-group`]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(s)),P(s)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${p}-group-addon`]:{borderRadius:ae,fontSize:s.inputFontSizeLG}},"&-sm":{[`${p}-group-addon`]:{borderRadius:le}}},(0,E.ir)(s)),(0,E.S5)(s)),{[`&:not(${p}-compact-first-item):not(${p}-compact-last-item)${p}-compact-item`]:{[`${p}, ${p}-group-addon`]:{borderRadius:0}},[`&:not(${p}-compact-last-item)${p}-compact-first-item`]:{[`${p}, ${p}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${p}-compact-first-item)${p}-compact-last-item`]:{[`${p}, ${p}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${p}-compact-last-item)${p}-compact-item`]:{[`${p}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${p}-compact-first-item)${p}-compact-item`]:{[`${p}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},Ye=s=>{const{componentCls:p,antCls:ae}=s,le=`${p}-search`;return{[le]:{[p]:{"&:hover, &:focus":{[`+ ${p}-group-addon ${le}-button:not(${ae}-btn-primary)`]:{borderInlineStartColor:s.colorPrimaryHover}}},[`${p}-affix-wrapper`]:{height:s.controlHeight,borderRadius:0},[`${p}-lg`]:{lineHeight:s.calc(s.lineHeightLG).sub(2e-4).equal()},[`> ${p}-group`]:{[`> ${p}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${le}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${le}-button:not(${ae}-btn-primary)`]:{color:s.colorTextDescription,"&:hover":{color:s.colorPrimaryHover},"&:active":{color:s.colorPrimaryActive},[`&${ae}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${le}-button`]:{height:s.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${p}-affix-wrapper, ${le}-button`]:{height:s.controlHeightLG}},"&-small":{[`${p}-affix-wrapper, ${le}-button`]:{height:s.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${p}-compact-item`]:{[`&:not(${p}-compact-last-item)`]:{[`${p}-group-addon`]:{[`${p}-search-button`]:{marginInlineEnd:s.calc(s.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${p}-compact-first-item)`]:{[`${p},${p}-affix-wrapper`]:{borderRadius:0}},[`> ${p}-group-addon ${p}-search-button, > ${p}, - ${p}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${p}-affix-wrapper-focused`]:{zIndex:2}}}}},b=s=>{const{componentCls:p}=s;return{[`${p}-out-of-range`]:{[`&, & input, & textarea, ${p}-show-count-suffix, ${p}-data-count`]:{color:s.colorError}}}},Ce=(0,L.I$)(["Input","Shared"],s=>{const p=(0,x.mergeToken)(s,(0,D.e)(s));return[pe(p),Fe(p)]},D.T,{resetFont:!1});_e.ZP=(0,L.I$)(["Input","Component"],s=>{const p=(0,x.mergeToken)(s,(0,D.e)(s));return[Pe(p),Ye(p),b(p),(0,i.c)(p)]},D.T,{resetFont:!1})},64910:function(an,_e,t){t.d(_e,{T:function(){return i},e:function(){return d}});var e=t(51636);function d(L){return(0,e.mergeToken)(L,{inputAffixPadding:L.paddingXXS})}const i=L=>{const{controlHeight:x,fontSize:D,lineHeight:E,lineWidth:Z,controlHeightSM:K,controlHeightLG:r,fontSizeLG:_,lineHeightLG:M,paddingSM:P,controlPaddingHorizontalSM:pe,controlPaddingHorizontal:it,colorFillAlter:Fe,colorPrimaryHover:Pe,colorPrimary:Ye,controlOutlineWidth:b,controlOutline:Ce,colorErrorOutline:s,colorWarningOutline:p,colorBgContainer:ae,inputFontSize:le,inputFontSizeLG:y,inputFontSizeSM:He}=L,Oe=le||D,ne=He||Oe,Re=y||_,de=Math.round((x-Oe*E)/2*10)/10-Z,H=Math.round((K-ne*E)/2*10)/10-Z,n=Math.ceil((r-Re*M)/2*10)/10-Z;return{paddingBlock:Math.max(de,0),paddingBlockSM:Math.max(H,0),paddingBlockLG:Math.max(n,0),paddingInline:P-Z,paddingInlineSM:pe-Z,paddingInlineLG:it-Z,addonBg:Fe,activeBorderColor:Ye,hoverBorderColor:Pe,activeShadow:`0 0 0 ${b}px ${Ce}`,errorActiveShadow:`0 0 0 ${b}px ${s}`,warningActiveShadow:`0 0 0 ${b}px ${p}`,hoverBg:ae,activeBg:ae,inputFontSize:Oe,inputFontSizeLG:Re,inputFontSizeSM:ne}}},39082:function(an,_e,t){t.d(_e,{$U:function(){return x},H8:function(){return P},Mu:function(){return r},S5:function(){return it},Xy:function(){return L},ir:function(){return K},qG:function(){return E},vc:function(){return Ye}});var e=t(36237),d=t(51636);const i=b=>({borderColor:b.hoverBorderColor,backgroundColor:b.hoverBg}),L=b=>({color:b.colorTextDisabled,backgroundColor:b.colorBgContainerDisabled,borderColor:b.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,d.mergeToken)(b,{hoverBorderColor:b.colorBorder,hoverBg:b.colorBgContainerDisabled})))}),x=(b,Ce)=>({background:b.colorBgContainer,borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:Ce.borderColor,"&:hover":{borderColor:Ce.hoverBorderColor,backgroundColor:b.hoverBg},"&:focus, &:focus-within":{borderColor:Ce.activeBorderColor,boxShadow:Ce.activeShadow,outline:0,backgroundColor:b.activeBg}}),D=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},x(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}}),[`&${b.componentCls}-status-${Ce.status}${b.componentCls}-disabled`]:{borderColor:Ce.borderColor}}),E=(b,Ce)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x(b,{borderColor:b.colorBorder,hoverBorderColor:b.hoverBorderColor,activeBorderColor:b.activeBorderColor,activeShadow:b.activeShadow})),{[`&${b.componentCls}-disabled, &[disabled]`]:Object.assign({},L(b))}),D(b,{status:"error",borderColor:b.colorError,hoverBorderColor:b.colorErrorBorderHover,activeBorderColor:b.colorError,activeShadow:b.errorActiveShadow,affixColor:b.colorError})),D(b,{status:"warning",borderColor:b.colorWarning,hoverBorderColor:b.colorWarningBorderHover,activeBorderColor:b.colorWarning,activeShadow:b.warningActiveShadow,affixColor:b.colorWarning})),Ce)}),Z=(b,Ce)=>({[`&${b.componentCls}-group-wrapper-status-${Ce.status}`]:{[`${b.componentCls}-group-addon`]:{borderColor:Ce.addonBorderColor,color:Ce.addonColor}}}),K=b=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${b.componentCls}-group`]:{"&-addon":{background:b.addonBg,border:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Z(b,{status:"error",addonBorderColor:b.colorError,addonColor:b.colorErrorText})),Z(b,{status:"warning",addonBorderColor:b.colorWarning,addonColor:b.colorWarningText})),{[`&${b.componentCls}-group-wrapper-disabled`]:{[`${b.componentCls}-group-addon`]:Object.assign({},L(b))}})}),r=(b,Ce)=>{const{componentCls:s}=b;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${s}-disabled, &[disabled]`]:{color:b.colorTextDisabled,cursor:"not-allowed"},[`&${s}-status-error`]:{"&, & input, & textarea":{color:b.colorError}},[`&${s}-status-warning`]:{"&, & input, & textarea":{color:b.colorWarning}}},Ce)}},_=(b,Ce)=>{var s;return{background:Ce.bg,borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(s=Ce==null?void 0:Ce.inputColor)!==null&&s!==void 0?s:"unset"},"&:hover":{background:Ce.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:Ce.activeBorderColor,backgroundColor:b.activeBg}}},M=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},_(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}})}),P=(b,Ce)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_(b,{bg:b.colorFillTertiary,hoverBg:b.colorFillSecondary,activeBorderColor:b.activeBorderColor})),{[`&${b.componentCls}-disabled, &[disabled]`]:Object.assign({},L(b))}),M(b,{status:"error",bg:b.colorErrorBg,hoverBg:b.colorErrorBgHover,activeBorderColor:b.colorError,inputColor:b.colorErrorText,affixColor:b.colorError})),M(b,{status:"warning",bg:b.colorWarningBg,hoverBg:b.colorWarningBgHover,activeBorderColor:b.colorWarning,inputColor:b.colorWarningText,affixColor:b.colorWarning})),Ce)}),pe=(b,Ce)=>({[`&${b.componentCls}-group-wrapper-status-${Ce.status}`]:{[`${b.componentCls}-group-addon`]:{background:Ce.addonBg,color:Ce.addonColor}}}),it=b=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${b.componentCls}-group`]:{"&-addon":{background:b.colorFillTertiary},[`${b.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorSplit}`}}}},pe(b,{status:"error",addonBg:b.colorErrorBg,addonColor:b.colorErrorText})),pe(b,{status:"warning",addonBg:b.colorWarningBg,addonColor:b.colorWarningText})),{[`&${b.componentCls}-group-wrapper-disabled`]:{[`${b.componentCls}-group`]:{"&-addon":{background:b.colorFillTertiary,color:b.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderTop:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderBottom:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderTop:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderBottom:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`}}}})}),Fe=(b,Ce)=>({background:b.colorBgContainer,borderWidth:`${(0,e.unit)(b.lineWidth)} 0`,borderStyle:`${b.lineType} none`,borderColor:`transparent transparent ${Ce.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${Ce.borderColor} transparent`,backgroundColor:b.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${Ce.borderColor} transparent`,outline:0,backgroundColor:b.activeBg}}),Pe=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},Fe(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}}),[`&${b.componentCls}-status-${Ce.status}${b.componentCls}-disabled`]:{borderColor:`transparent transparent ${Ce.borderColor} transparent`}}),Ye=(b,Ce)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Fe(b,{borderColor:b.colorBorder,hoverBorderColor:b.hoverBorderColor,activeBorderColor:b.activeBorderColor,activeShadow:b.activeShadow})),{[`&${b.componentCls}-disabled, &[disabled]`]:{color:b.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${b.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Pe(b,{status:"error",borderColor:b.colorError,hoverBorderColor:b.colorErrorBorderHover,activeBorderColor:b.colorError,activeShadow:b.errorActiveShadow,affixColor:b.colorError})),Pe(b,{status:"warning",borderColor:b.colorWarning,hoverBorderColor:b.colorWarningBorderHover,activeBorderColor:b.colorWarning,activeShadow:b.warningActiveShadow,affixColor:b.colorWarning})),Ce)})},24303:function(an,_e,t){t.d(_e,{D:function(){return le},Z:function(){return Oe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},L=i,x=t(7657),D=function(Re,de){return e.createElement(x.Z,(0,d.Z)({},Re,{ref:de,icon:L}))},E=e.forwardRef(D),Z=E,K=t(33853),r=t(38819),_=t(92310),M=t.n(_),P=t(2738),pe=t(48755),it=t(6989),Fe=t(36237),Pe=t(48923),Ye=t(16931);const b=ne=>{const{componentCls:Re,siderBg:de,motionDurationMid:H,motionDurationSlow:n,antCls:ce,triggerHeight:T,triggerColor:ze,triggerBg:xe,headerHeight:We,zeroTriggerWidth:st,zeroTriggerHeight:at,borderRadiusLG:Ae,lightSiderBg:tt,lightTriggerColor:J,lightTriggerBg:Se,bodyBg:me}=ne;return{[Re]:{position:"relative",minWidth:0,background:de,transition:`all ${H}, background 0s`,"&-has-trigger":{paddingBottom:T},"&-right":{order:1},[`${Re}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Re}-children`]:{overflow:"hidden"},[`${Re}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:T,color:ze,lineHeight:(0,Fe.unit)(T),textAlign:"center",background:xe,cursor:"pointer",transition:`all ${H}`},[`${Re}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:ne.calc(st).mul(-1).equal(),zIndex:1,width:st,height:at,color:ze,fontSize:ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:de,borderRadius:`0 ${(0,Fe.unit)(Ae)} ${(0,Fe.unit)(Ae)} 0`,cursor:"pointer",transition:`background ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ne.calc(st).mul(-1).equal(),borderRadius:`${(0,Fe.unit)(Ae)} 0 0 ${(0,Fe.unit)(Ae)}`}},"&-light":{background:tt,[`${Re}-trigger`]:{color:J,background:Se},[`${Re}-zero-width-trigger`]:{color:J,background:Se,border:`1px solid ${me}`,borderInlineStart:0}}}}};var Ce=(0,Ye.I$)(["Layout","Sider"],ne=>[b(ne)],Pe.eh,{deprecatedTokens:Pe.jn}),s=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n!Number.isNaN(Number.parseFloat(ne))&&isFinite(ne),le=e.createContext({}),y=(()=>{let ne=0;return function(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${Re}${ne}`}})();var Oe=e.forwardRef((ne,Re)=>{const{prefixCls:de,className:H,trigger:n,children:ce,defaultCollapsed:T=!1,theme:ze="dark",style:xe={},collapsible:We=!1,reverseArrow:st=!1,width:at=200,collapsedWidth:Ae=80,zeroWidthTriggerStyle:tt,breakpoint:J,onCollapse:Se,onBreakpoint:me}=ne,Qe=s(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ie}=(0,e.useContext)(it.V),[Je,je]=(0,e.useState)("collapsed"in ne?ne.collapsed:T),[bt,Te]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ne&&je(ne.collapsed)},[ne.collapsed]);const G=(lt,et)=>{"collapsed"in ne||je(lt),Se==null||Se(lt,et)},{getPrefixCls:R,direction:V}=(0,e.useContext)(pe.E_),g=R("layout-sider",de),[fe,z,o]=Ce(g),f=(0,e.useRef)(null);f.current=lt=>{Te(lt.matches),me==null||me(lt.matches),Je!==lt.matches&&G(lt.matches,"responsive")},(0,e.useEffect)(()=>{function lt(w){return f.current(w)}let et;if(typeof window!="undefined"){const{matchMedia:w}=window;if(w&&J&&J in p){et=w(`screen and (max-width: ${p[J]})`);try{et.addEventListener("change",lt)}catch(ge){et.addListener(lt)}lt(et)}}return()=>{try{et==null||et.removeEventListener("change",lt)}catch(w){et==null||et.removeListener(lt)}}},[J]),(0,e.useEffect)(()=>{const lt=y("ant-sider-");return ie.addSider(lt),()=>ie.removeSider(lt)},[]);const se=()=>{G(!Je,"clickTrigger")},q=(0,P.Z)(Qe,["collapsed"]),$=Je?Ae:at,N=ae($)?`${$}px`:String($),U=parseFloat(String(Ae||0))===0?e.createElement("span",{onClick:se,className:M()(`${g}-zero-width-trigger`,`${g}-zero-width-trigger-${st?"right":"left"}`),style:tt},n||e.createElement(Z,null)):null,ue=V==="rtl"==!st,Xe={expanded:ue?e.createElement(r.Z,null):e.createElement(K.Z,null),collapsed:ue?e.createElement(K.Z,null):e.createElement(r.Z,null)}[Je?"collapsed":"expanded"],X=n!==null?U||e.createElement("div",{className:`${g}-trigger`,onClick:se,style:{width:N}},n||Xe):null,Le=Object.assign(Object.assign({},xe),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),Ke=M()(g,`${g}-${ze}`,{[`${g}-collapsed`]:!!Je,[`${g}-has-trigger`]:We&&n!==null&&!U,[`${g}-below`]:!!bt,[`${g}-zero-width`]:parseFloat(N)===0},H,z,o),nt=e.useMemo(()=>({siderCollapsed:Je}),[Je]);return fe(e.createElement(le.Provider,{value:nt},e.createElement("aside",Object.assign({className:Ke},q,{style:Le,ref:Re}),e.createElement("div",{className:`${g}-children`},ce),We||bt&&U?X:null)))})},6989:function(an,_e,t){t.d(_e,{V:function(){return d}});var e=t(59301);const d=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(an,_e,t){t.d(_e,{eh:function(){return L},jn:function(){return x}});var e=t(36237),d=t(16931);const i=D=>{const{antCls:E,componentCls:Z,colorText:K,footerBg:r,headerHeight:_,headerPadding:M,headerColor:P,footerPadding:pe,fontSize:it,bodyBg:Fe,headerBg:Pe}=D;return{[Z]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Fe,"&, *":{boxSizing:"border-box"},[`&${Z}-has-sider`]:{flexDirection:"row",[`> ${Z}, > ${Z}-content`]:{width:0}},[`${Z}-header, &${Z}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Z}-header`]:{height:_,padding:M,color:P,lineHeight:(0,e.unit)(_),background:Pe,[`${E}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:pe,color:K,fontSize:it,background:r},[`${Z}-content`]:{flex:"auto",color:K,minHeight:0}}},L=D=>{const{colorBgLayout:E,controlHeight:Z,controlHeightLG:K,colorText:r,controlHeightSM:_,marginXXS:M,colorTextLightSolid:P,colorBgContainer:pe}=D,it=K*1.25;return{colorBgHeader:"#001529",colorBgBody:E,colorBgTrigger:"#002140",bodyBg:E,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${it}px`,headerColor:r,footerPadding:`${_}px ${it}px`,footerBg:E,siderBg:"#001529",triggerHeight:K+M*2,triggerBg:"#002140",triggerColor:P,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:pe,lightTriggerBg:pe,lightTriggerColor:r}},x=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];_e.ZP=(0,d.I$)("Layout",D=>[i(D)],L,{deprecatedTokens:x})},78857:function(an,_e,t){t.d(_e,{J:function(){return D}});var e=t(59301),d=t(8654),i=t(62487),L=function(E,Z){var K={};for(var r in E)Object.prototype.hasOwnProperty.call(E,r)&&Z.indexOf(r)<0&&(K[r]=E[r]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,r=Object.getOwnPropertySymbols(E);_{const{children:K}=E,r=L(E,["children"]),_=e.useContext(x),M=e.useMemo(()=>Object.assign(Object.assign({},_),r),[_,r.prefixCls,r.mode,r.selectable,r.rootClassName]),P=(0,d.t4)(K),pe=(0,d.x1)(Z,P?(0,d.C4)(K):null);return e.createElement(x.Provider,{value:M},e.createElement(i.Z,{space:!0},P?e.cloneElement(K,{ref:pe}):K))});_e.Z=x},93041:function(an,_e,t){t.d(_e,{default:function(){return fe}});var e=t(59301),d=t(28321),i=t(24303),L=t(18785),x=t(92310),D=t.n(x),E=t(6089),Z=t(2738),K=t(86641),r=t(22703),_=t(48755),M=t(83397),pe=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),it=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,se=Object.getOwnPropertySymbols(z);q{const{prefixCls:o,className:f,dashed:se}=z,q=it(z,["prefixCls","className","dashed"]),{getPrefixCls:$}=e.useContext(_.E_),N=$("menu",o),U=D()({[`${N}-item-divider-dashed`]:!!se},f);return e.createElement(d.iz,Object.assign({className:U},q))},Ye=t(11592),b=t(25399),s=z=>{var o;const{className:f,children:se,icon:q,title:$,danger:N,extra:U}=z,{prefixCls:ue,firstLevel:c,direction:C,disableMenuItemTitleTooltip:Xe,inlineCollapsed:X}=e.useContext(pe),Le=ge=>{const Ze=se==null?void 0:se[0],Ve=e.createElement("span",{className:D()(`${ue}-title-content`,{[`${ue}-title-content-with-extra`]:!!U||U===0})},se);return(!q||e.isValidElement(se)&&se.type==="span")&&se&&ge&&c&&typeof Ze=="string"?e.createElement("div",{className:`${ue}-inline-collapsed-noicon`},Ze.charAt(0)):Ve},{siderCollapsed:Ke}=e.useContext(i.D);let nt=$;typeof $=="undefined"?nt=c?se:"":$===!1&&(nt="");const lt={title:nt};!Ke&&!X&&(lt.title=null,lt.open=!1);const et=(0,Ye.Z)(se).length;let w=e.createElement(d.ck,Object.assign({},(0,Z.Z)(z,["title","icon","danger"]),{className:D()({[`${ue}-item-danger`]:N,[`${ue}-item-only-child`]:(q?et+1:et)===1},f),title:typeof $=="string"?$:void 0}),(0,r.Tm)(q,{className:D()(e.isValidElement(q)?(o=q.props)===null||o===void 0?void 0:o.className:"",`${ue}-item-icon`)}),Le(X));return Xe||(w=e.createElement(b.Z,Object.assign({},lt,{placement:C==="rtl"?"left":"right",classNames:{root:`${ue}-inline-collapsed-tooltip`}}),w)),w},p=t(78857),ae=t(36237),le=t(17835),y=t(63356),He=t(34961),Oe=t(46e3),ne=t(34925),Re=t(16931),de=t(51636),n=z=>{const{componentCls:o,motionDurationSlow:f,horizontalLineHeight:se,colorSplit:q,lineWidth:$,lineType:N,itemPaddingInline:U}=z;return{[`${o}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${(0,ae.unit)($)} ${N} ${q}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${o}-item, ${o}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:U},[`> ${o}-item:hover, + ${p}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${p}-affix-wrapper-focused`]:{zIndex:2}}}}},b=s=>{const{componentCls:p}=s;return{[`${p}-out-of-range`]:{[`&, & input, & textarea, ${p}-show-count-suffix, ${p}-data-count`]:{color:s.colorError}}}},Ce=(0,L.I$)(["Input","Shared"],s=>{const p=(0,x.mergeToken)(s,(0,D.e)(s));return[pe(p),Fe(p)]},D.T,{resetFont:!1});_e.ZP=(0,L.I$)(["Input","Component"],s=>{const p=(0,x.mergeToken)(s,(0,D.e)(s));return[Pe(p),Ye(p),b(p),(0,i.c)(p)]},D.T,{resetFont:!1})},64910:function(an,_e,t){t.d(_e,{T:function(){return i},e:function(){return d}});var e=t(51636);function d(L){return(0,e.mergeToken)(L,{inputAffixPadding:L.paddingXXS})}const i=L=>{const{controlHeight:x,fontSize:D,lineHeight:E,lineWidth:Z,controlHeightSM:K,controlHeightLG:r,fontSizeLG:_,lineHeightLG:M,paddingSM:P,controlPaddingHorizontalSM:pe,controlPaddingHorizontal:it,colorFillAlter:Fe,colorPrimaryHover:Pe,colorPrimary:Ye,controlOutlineWidth:b,controlOutline:Ce,colorErrorOutline:s,colorWarningOutline:p,colorBgContainer:ae,inputFontSize:le,inputFontSizeLG:y,inputFontSizeSM:He}=L,Oe=le||D,ne=He||Oe,Re=y||_,de=Math.round((x-Oe*E)/2*10)/10-Z,H=Math.round((K-ne*E)/2*10)/10-Z,n=Math.ceil((r-Re*M)/2*10)/10-Z;return{paddingBlock:Math.max(de,0),paddingBlockSM:Math.max(H,0),paddingBlockLG:Math.max(n,0),paddingInline:P-Z,paddingInlineSM:pe-Z,paddingInlineLG:it-Z,addonBg:Fe,activeBorderColor:Ye,hoverBorderColor:Pe,activeShadow:`0 0 0 ${b}px ${Ce}`,errorActiveShadow:`0 0 0 ${b}px ${s}`,warningActiveShadow:`0 0 0 ${b}px ${p}`,hoverBg:ae,activeBg:ae,inputFontSize:Oe,inputFontSizeLG:Re,inputFontSizeSM:ne}}},39082:function(an,_e,t){t.d(_e,{$U:function(){return x},H8:function(){return P},Mu:function(){return r},S5:function(){return it},Xy:function(){return L},ir:function(){return K},qG:function(){return E},vc:function(){return Ye}});var e=t(36237),d=t(51636);const i=b=>({borderColor:b.hoverBorderColor,backgroundColor:b.hoverBg}),L=b=>({color:b.colorTextDisabled,backgroundColor:b.colorBgContainerDisabled,borderColor:b.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,d.mergeToken)(b,{hoverBorderColor:b.colorBorder,hoverBg:b.colorBgContainerDisabled})))}),x=(b,Ce)=>({background:b.colorBgContainer,borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:Ce.borderColor,"&:hover":{borderColor:Ce.hoverBorderColor,backgroundColor:b.hoverBg},"&:focus, &:focus-within":{borderColor:Ce.activeBorderColor,boxShadow:Ce.activeShadow,outline:0,backgroundColor:b.activeBg}}),D=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},x(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}}),[`&${b.componentCls}-status-${Ce.status}${b.componentCls}-disabled`]:{borderColor:Ce.borderColor}}),E=(b,Ce)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x(b,{borderColor:b.colorBorder,hoverBorderColor:b.hoverBorderColor,activeBorderColor:b.activeBorderColor,activeShadow:b.activeShadow})),{[`&${b.componentCls}-disabled, &[disabled]`]:Object.assign({},L(b))}),D(b,{status:"error",borderColor:b.colorError,hoverBorderColor:b.colorErrorBorderHover,activeBorderColor:b.colorError,activeShadow:b.errorActiveShadow,affixColor:b.colorError})),D(b,{status:"warning",borderColor:b.colorWarning,hoverBorderColor:b.colorWarningBorderHover,activeBorderColor:b.colorWarning,activeShadow:b.warningActiveShadow,affixColor:b.colorWarning})),Ce)}),Z=(b,Ce)=>({[`&${b.componentCls}-group-wrapper-status-${Ce.status}`]:{[`${b.componentCls}-group-addon`]:{borderColor:Ce.addonBorderColor,color:Ce.addonColor}}}),K=b=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${b.componentCls}-group`]:{"&-addon":{background:b.addonBg,border:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Z(b,{status:"error",addonBorderColor:b.colorError,addonColor:b.colorErrorText})),Z(b,{status:"warning",addonBorderColor:b.colorWarning,addonColor:b.colorWarningText})),{[`&${b.componentCls}-group-wrapper-disabled`]:{[`${b.componentCls}-group-addon`]:Object.assign({},L(b))}})}),r=(b,Ce)=>{const{componentCls:s}=b;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${s}-disabled, &[disabled]`]:{color:b.colorTextDisabled,cursor:"not-allowed"},[`&${s}-status-error`]:{"&, & input, & textarea":{color:b.colorError}},[`&${s}-status-warning`]:{"&, & input, & textarea":{color:b.colorWarning}}},Ce)}},_=(b,Ce)=>{var s;return{background:Ce.bg,borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(s=Ce==null?void 0:Ce.inputColor)!==null&&s!==void 0?s:"unset"},"&:hover":{background:Ce.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:Ce.activeBorderColor,backgroundColor:b.activeBg}}},M=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},_(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}})}),P=(b,Ce)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_(b,{bg:b.colorFillTertiary,hoverBg:b.colorFillSecondary,activeBorderColor:b.activeBorderColor})),{[`&${b.componentCls}-disabled, &[disabled]`]:Object.assign({},L(b))}),M(b,{status:"error",bg:b.colorErrorBg,hoverBg:b.colorErrorBgHover,activeBorderColor:b.colorError,inputColor:b.colorErrorText,affixColor:b.colorError})),M(b,{status:"warning",bg:b.colorWarningBg,hoverBg:b.colorWarningBgHover,activeBorderColor:b.colorWarning,inputColor:b.colorWarningText,affixColor:b.colorWarning})),Ce)}),pe=(b,Ce)=>({[`&${b.componentCls}-group-wrapper-status-${Ce.status}`]:{[`${b.componentCls}-group-addon`]:{background:Ce.addonBg,color:Ce.addonColor}}}),it=b=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${b.componentCls}-group`]:{"&-addon":{background:b.colorFillTertiary},[`${b.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorSplit}`}}}},pe(b,{status:"error",addonBg:b.colorErrorBg,addonColor:b.colorErrorText})),pe(b,{status:"warning",addonBg:b.colorWarningBg,addonColor:b.colorWarningText})),{[`&${b.componentCls}-group-wrapper-disabled`]:{[`${b.componentCls}-group`]:{"&-addon":{background:b.colorFillTertiary,color:b.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderTop:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderBottom:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderTop:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`,borderBottom:`${(0,e.unit)(b.lineWidth)} ${b.lineType} ${b.colorBorder}`}}}})}),Fe=(b,Ce)=>({background:b.colorBgContainer,borderWidth:`${(0,e.unit)(b.lineWidth)} 0`,borderStyle:`${b.lineType} none`,borderColor:`transparent transparent ${Ce.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${Ce.borderColor} transparent`,backgroundColor:b.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${Ce.borderColor} transparent`,outline:0,backgroundColor:b.activeBg}}),Pe=(b,Ce)=>({[`&${b.componentCls}-status-${Ce.status}:not(${b.componentCls}-disabled)`]:Object.assign(Object.assign({},Fe(b,Ce)),{[`${b.componentCls}-prefix, ${b.componentCls}-suffix`]:{color:Ce.affixColor}}),[`&${b.componentCls}-status-${Ce.status}${b.componentCls}-disabled`]:{borderColor:`transparent transparent ${Ce.borderColor} transparent`}}),Ye=(b,Ce)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Fe(b,{borderColor:b.colorBorder,hoverBorderColor:b.hoverBorderColor,activeBorderColor:b.activeBorderColor,activeShadow:b.activeShadow})),{[`&${b.componentCls}-disabled, &[disabled]`]:{color:b.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${b.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Pe(b,{status:"error",borderColor:b.colorError,hoverBorderColor:b.colorErrorBorderHover,activeBorderColor:b.colorError,activeShadow:b.errorActiveShadow,affixColor:b.colorError})),Pe(b,{status:"warning",borderColor:b.colorWarning,hoverBorderColor:b.colorWarningBorderHover,activeBorderColor:b.colorWarning,activeShadow:b.warningActiveShadow,affixColor:b.colorWarning})),Ce)})},24303:function(an,_e,t){t.d(_e,{D:function(){return le},Z:function(){return Oe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},L=i,x=t(7657),D=function(Re,de){return e.createElement(x.Z,(0,d.Z)({},Re,{ref:de,icon:L}))},E=e.forwardRef(D),Z=E,K=t(33853),r=t(38819),_=t(92310),M=t.n(_),P=t(2738),pe=t(48755),it=t(6989),Fe=t(36237),Pe=t(48923),Ye=t(16931);const b=ne=>{const{componentCls:Re,siderBg:de,motionDurationMid:H,motionDurationSlow:n,antCls:ce,triggerHeight:T,triggerColor:ze,triggerBg:xe,headerHeight:We,zeroTriggerWidth:st,zeroTriggerHeight:at,borderRadiusLG:Ae,lightSiderBg:tt,lightTriggerColor:J,lightTriggerBg:Se,bodyBg:me}=ne;return{[Re]:{position:"relative",minWidth:0,background:de,transition:`all ${H}, background 0s`,"&-has-trigger":{paddingBottom:T},"&-right":{order:1},[`${Re}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Re}-children`]:{overflow:"hidden"},[`${Re}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:T,color:ze,lineHeight:(0,Fe.unit)(T),textAlign:"center",background:xe,cursor:"pointer",transition:`all ${H}`},[`${Re}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:ne.calc(st).mul(-1).equal(),zIndex:1,width:st,height:at,color:ze,fontSize:ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:de,borderRadius:`0 ${(0,Fe.unit)(Ae)} ${(0,Fe.unit)(Ae)} 0`,cursor:"pointer",transition:`background ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ne.calc(st).mul(-1).equal(),borderRadius:`${(0,Fe.unit)(Ae)} 0 0 ${(0,Fe.unit)(Ae)}`}},"&-light":{background:tt,[`${Re}-trigger`]:{color:J,background:Se},[`${Re}-zero-width-trigger`]:{color:J,background:Se,border:`1px solid ${me}`,borderInlineStart:0}}}}};var Ce=(0,Ye.I$)(["Layout","Sider"],ne=>[b(ne)],Pe.eh,{deprecatedTokens:Pe.jn}),s=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n!Number.isNaN(Number.parseFloat(ne))&&isFinite(ne),le=e.createContext({}),y=(()=>{let ne=0;return function(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${Re}${ne}`}})();var Oe=e.forwardRef((ne,Re)=>{const{prefixCls:de,className:H,trigger:n,children:ce,defaultCollapsed:T=!1,theme:ze="dark",style:xe={},collapsible:We=!1,reverseArrow:st=!1,width:at=200,collapsedWidth:Ae=80,zeroWidthTriggerStyle:tt,breakpoint:J,onCollapse:Se,onBreakpoint:me}=ne,Qe=s(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ie}=(0,e.useContext)(it.V),[Je,je]=(0,e.useState)("collapsed"in ne?ne.collapsed:T),[bt,Te]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ne&&je(ne.collapsed)},[ne.collapsed]);const G=(lt,et)=>{"collapsed"in ne||je(lt),Se==null||Se(lt,et)},{getPrefixCls:R,direction:U}=(0,e.useContext)(pe.E_),g=R("layout-sider",de),[fe,z,o]=Ce(g),f=(0,e.useRef)(null);f.current=lt=>{Te(lt.matches),me==null||me(lt.matches),Je!==lt.matches&&G(lt.matches,"responsive")},(0,e.useEffect)(()=>{function lt(w){return f.current(w)}let et;if(typeof window!="undefined"){const{matchMedia:w}=window;if(w&&J&&J in p){et=w(`screen and (max-width: ${p[J]})`);try{et.addEventListener("change",lt)}catch(ge){et.addListener(lt)}lt(et)}}return()=>{try{et==null||et.removeEventListener("change",lt)}catch(w){et==null||et.removeListener(lt)}}},[J]),(0,e.useEffect)(()=>{const lt=y("ant-sider-");return ie.addSider(lt),()=>ie.removeSider(lt)},[]);const se=()=>{G(!Je,"clickTrigger")},q=(0,P.Z)(Qe,["collapsed"]),$=Je?Ae:at,N=ae($)?`${$}px`:String($),X=parseFloat(String(Ae||0))===0?e.createElement("span",{onClick:se,className:M()(`${g}-zero-width-trigger`,`${g}-zero-width-trigger-${st?"right":"left"}`),style:tt},n||e.createElement(Z,null)):null,ue=U==="rtl"==!st,Xe={expanded:ue?e.createElement(r.Z,null):e.createElement(K.Z,null),collapsed:ue?e.createElement(K.Z,null):e.createElement(r.Z,null)}[Je?"collapsed":"expanded"],W=n!==null?X||e.createElement("div",{className:`${g}-trigger`,onClick:se,style:{width:N}},n||Xe):null,Le=Object.assign(Object.assign({},xe),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),Ke=M()(g,`${g}-${ze}`,{[`${g}-collapsed`]:!!Je,[`${g}-has-trigger`]:We&&n!==null&&!X,[`${g}-below`]:!!bt,[`${g}-zero-width`]:parseFloat(N)===0},H,z,o),nt=e.useMemo(()=>({siderCollapsed:Je}),[Je]);return fe(e.createElement(le.Provider,{value:nt},e.createElement("aside",Object.assign({className:Ke},q,{style:Le,ref:Re}),e.createElement("div",{className:`${g}-children`},ce),We||bt&&X?W:null)))})},6989:function(an,_e,t){t.d(_e,{V:function(){return d}});var e=t(59301);const d=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(an,_e,t){t.d(_e,{eh:function(){return L},jn:function(){return x}});var e=t(36237),d=t(16931);const i=D=>{const{antCls:E,componentCls:Z,colorText:K,footerBg:r,headerHeight:_,headerPadding:M,headerColor:P,footerPadding:pe,fontSize:it,bodyBg:Fe,headerBg:Pe}=D;return{[Z]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Fe,"&, *":{boxSizing:"border-box"},[`&${Z}-has-sider`]:{flexDirection:"row",[`> ${Z}, > ${Z}-content`]:{width:0}},[`${Z}-header, &${Z}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Z}-header`]:{height:_,padding:M,color:P,lineHeight:(0,e.unit)(_),background:Pe,[`${E}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:pe,color:K,fontSize:it,background:r},[`${Z}-content`]:{flex:"auto",color:K,minHeight:0}}},L=D=>{const{colorBgLayout:E,controlHeight:Z,controlHeightLG:K,colorText:r,controlHeightSM:_,marginXXS:M,colorTextLightSolid:P,colorBgContainer:pe}=D,it=K*1.25;return{colorBgHeader:"#001529",colorBgBody:E,colorBgTrigger:"#002140",bodyBg:E,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${it}px`,headerColor:r,footerPadding:`${_}px ${it}px`,footerBg:E,siderBg:"#001529",triggerHeight:K+M*2,triggerBg:"#002140",triggerColor:P,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:pe,lightTriggerBg:pe,lightTriggerColor:r}},x=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];_e.ZP=(0,d.I$)("Layout",D=>[i(D)],L,{deprecatedTokens:x})},78857:function(an,_e,t){t.d(_e,{J:function(){return D}});var e=t(59301),d=t(8654),i=t(62487),L=function(E,Z){var K={};for(var r in E)Object.prototype.hasOwnProperty.call(E,r)&&Z.indexOf(r)<0&&(K[r]=E[r]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,r=Object.getOwnPropertySymbols(E);_{const{children:K}=E,r=L(E,["children"]),_=e.useContext(x),M=e.useMemo(()=>Object.assign(Object.assign({},_),r),[_,r.prefixCls,r.mode,r.selectable,r.rootClassName]),P=(0,d.t4)(K),pe=(0,d.x1)(Z,P?(0,d.C4)(K):null);return e.createElement(x.Provider,{value:M},e.createElement(i.Z,{space:!0},P?e.cloneElement(K,{ref:pe}):K))});_e.Z=x},93041:function(an,_e,t){t.d(_e,{default:function(){return fe}});var e=t(59301),d=t(28321),i=t(24303),L=t(18785),x=t(92310),D=t.n(x),E=t(6089),Z=t(2738),K=t(86641),r=t(22703),_=t(48755),M=t(83397),pe=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),it=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,se=Object.getOwnPropertySymbols(z);q{const{prefixCls:o,className:f,dashed:se}=z,q=it(z,["prefixCls","className","dashed"]),{getPrefixCls:$}=e.useContext(_.E_),N=$("menu",o),X=D()({[`${N}-item-divider-dashed`]:!!se},f);return e.createElement(d.iz,Object.assign({className:X},q))},Ye=t(11592),b=t(25399),s=z=>{var o;const{className:f,children:se,icon:q,title:$,danger:N,extra:X}=z,{prefixCls:ue,firstLevel:c,direction:C,disableMenuItemTitleTooltip:Xe,inlineCollapsed:W}=e.useContext(pe),Le=ge=>{const Ze=se==null?void 0:se[0],Ve=e.createElement("span",{className:D()(`${ue}-title-content`,{[`${ue}-title-content-with-extra`]:!!X||X===0})},se);return(!q||e.isValidElement(se)&&se.type==="span")&&se&&ge&&c&&typeof Ze=="string"?e.createElement("div",{className:`${ue}-inline-collapsed-noicon`},Ze.charAt(0)):Ve},{siderCollapsed:Ke}=e.useContext(i.D);let nt=$;typeof $=="undefined"?nt=c?se:"":$===!1&&(nt="");const lt={title:nt};!Ke&&!W&&(lt.title=null,lt.open=!1);const et=(0,Ye.Z)(se).length;let w=e.createElement(d.ck,Object.assign({},(0,Z.Z)(z,["title","icon","danger"]),{className:D()({[`${ue}-item-danger`]:N,[`${ue}-item-only-child`]:(q?et+1:et)===1},f),title:typeof $=="string"?$:void 0}),(0,r.Tm)(q,{className:D()(e.isValidElement(q)?(o=q.props)===null||o===void 0?void 0:o.className:"",`${ue}-item-icon`)}),Le(W));return Xe||(w=e.createElement(b.Z,Object.assign({},lt,{placement:C==="rtl"?"left":"right",classNames:{root:`${ue}-inline-collapsed-tooltip`}}),w)),w},p=t(78857),ae=t(36237),le=t(17835),y=t(63356),He=t(34961),Oe=t(46e3),ne=t(34925),Re=t(16931),de=t(51636),n=z=>{const{componentCls:o,motionDurationSlow:f,horizontalLineHeight:se,colorSplit:q,lineWidth:$,lineType:N,itemPaddingInline:X}=z;return{[`${o}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${(0,ae.unit)($)} ${N} ${q}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${o}-item, ${o}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:X},[`> ${o}-item:hover, > ${o}-item-active, > ${o}-submenu ${o}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${o}-item, ${o}-submenu-title`]:{transition:[`border-color ${f}`,`background ${f}`].join(",")},[`${o}-submenu-arrow`]:{display:"none"}}}},T=z=>{let{componentCls:o,menuArrowOffset:f,calc:se}=z;return{[`${o}-rtl`]:{direction:"rtl"},[`${o}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${o}-rtl${o}-vertical, - ${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,ae.unit)(se(f).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,ae.unit)(f)})`}}}}};const ze=z=>Object.assign({},(0,y.oN)(z));var We=(z,o)=>{const{componentCls:f,itemColor:se,itemSelectedColor:q,subMenuItemSelectedColor:$,groupTitleColor:N,itemBg:U,subMenuItemBg:ue,itemSelectedBg:c,activeBarHeight:C,activeBarWidth:Xe,activeBarBorderWidth:X,motionDurationSlow:Le,motionEaseInOut:Ke,motionEaseOut:nt,itemPaddingInline:lt,motionDurationMid:et,itemHoverColor:w,lineType:ge,colorSplit:Ze,itemDisabledColor:Ve,dangerItemColor:ot,dangerItemHoverColor:Tt,dangerItemSelectedColor:ct,dangerItemActiveBg:dt,dangerItemSelectedBg:Rt,popupBg:Vt,itemHoverBg:Ht,itemActiveBg:Xt,menuSubMenuBg:wt,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:yt,horizontalItemBorderRadius:Bt,horizontalItemHoverBg:Pt}=z;return{[`${f}-${o}, ${f}-${o} > ${f}`]:{color:se,background:U,[`&${f}-root:focus-visible`]:Object.assign({},ze(z)),[`${f}-item`]:{"&-group-title, &-extra":{color:N}},[`${f}-submenu-selected > ${f}-submenu-title`]:{color:$},[`${f}-item, ${f}-submenu-title`]:{color:se,[`&:not(${f}-item-disabled):focus-visible`]:Object.assign({},ze(z))},[`${f}-item-disabled, ${f}-submenu-disabled`]:{color:`${Ve} !important`},[`${f}-item:not(${f}-item-selected):not(${f}-submenu-selected)`]:{[`&:hover, > ${f}-submenu-title:hover`]:{color:w}},[`&:not(${f}-horizontal)`]:{[`${f}-item:not(${f}-item-selected)`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}},[`${f}-submenu-title`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}}},[`${f}-item-danger`]:{color:ot,[`&${f}-item:hover`]:{[`&:not(${f}-item-selected):not(${f}-submenu-selected)`]:{color:Tt}},[`&${f}-item:active`]:{background:dt}},[`${f}-item a`]:{"&, &:hover":{color:"inherit"}},[`${f}-item-selected`]:{color:q,[`&${f}-item-danger`]:{color:ct},"a, a:hover":{color:"inherit"}},[`& ${f}-item-selected`]:{backgroundColor:c,[`&${f}-item-danger`]:{backgroundColor:Rt}},[`&${f}-submenu > ${f}`]:{backgroundColor:wt},[`&${f}-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-submenu-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${f}-item, > ${f}-submenu`]:{top:X,marginTop:z.calc(X).mul(-1).equal(),marginBottom:0,borderRadius:Bt,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${(0,ae.unit)(C)} solid transparent`,transition:`border-color ${Le} ${Ke}`,content:'""'},"&:hover, &-active, &-open":{background:Pt,"&::after":{borderBottomWidth:C,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:yt,"&:hover":{backgroundColor:yt},"&::after":{borderBottomWidth:C,borderBottomColor:Ut}}}}),[`&${f}-root`]:{[`&${f}-inline, &${f}-vertical`]:{borderInlineEnd:`${(0,ae.unit)(X)} ${ge} ${Ze}`}},[`&${f}-inline`]:{[`${f}-sub${f}-inline`]:{background:ue},[`${f}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,ae.unit)(Xe)} solid ${q}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${et} ${nt}`,`opacity ${et} ${nt}`].join(","),content:'""'},[`&${f}-item-danger`]:{"&::after":{borderInlineEndColor:ct}}},[`${f}-selected, ${f}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${et} ${Ke}`,`opacity ${et} ${Ke}`].join(",")}}}}}};const st=z=>{const{componentCls:o,itemHeight:f,itemMarginInline:se,padding:q,menuArrowSize:$,marginXS:N,itemMarginBlock:U,itemWidth:ue,itemPaddingInline:c}=z,C=z.calc($).add(q).add(N).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:f,lineHeight:(0,ae.unit)(f),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:U,width:ue},[`> ${o}-item, + ${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,ae.unit)(se(f).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,ae.unit)(f)})`}}}}};const ze=z=>Object.assign({},(0,y.oN)(z));var We=(z,o)=>{const{componentCls:f,itemColor:se,itemSelectedColor:q,subMenuItemSelectedColor:$,groupTitleColor:N,itemBg:X,subMenuItemBg:ue,itemSelectedBg:c,activeBarHeight:C,activeBarWidth:Xe,activeBarBorderWidth:W,motionDurationSlow:Le,motionEaseInOut:Ke,motionEaseOut:nt,itemPaddingInline:lt,motionDurationMid:et,itemHoverColor:w,lineType:ge,colorSplit:Ze,itemDisabledColor:Ve,dangerItemColor:ot,dangerItemHoverColor:Tt,dangerItemSelectedColor:ct,dangerItemActiveBg:dt,dangerItemSelectedBg:Rt,popupBg:Vt,itemHoverBg:Ht,itemActiveBg:Xt,menuSubMenuBg:wt,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:yt,horizontalItemBorderRadius:Bt,horizontalItemHoverBg:Pt}=z;return{[`${f}-${o}, ${f}-${o} > ${f}`]:{color:se,background:X,[`&${f}-root:focus-visible`]:Object.assign({},ze(z)),[`${f}-item`]:{"&-group-title, &-extra":{color:N}},[`${f}-submenu-selected > ${f}-submenu-title`]:{color:$},[`${f}-item, ${f}-submenu-title`]:{color:se,[`&:not(${f}-item-disabled):focus-visible`]:Object.assign({},ze(z))},[`${f}-item-disabled, ${f}-submenu-disabled`]:{color:`${Ve} !important`},[`${f}-item:not(${f}-item-selected):not(${f}-submenu-selected)`]:{[`&:hover, > ${f}-submenu-title:hover`]:{color:w}},[`&:not(${f}-horizontal)`]:{[`${f}-item:not(${f}-item-selected)`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}},[`${f}-submenu-title`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}}},[`${f}-item-danger`]:{color:ot,[`&${f}-item:hover`]:{[`&:not(${f}-item-selected):not(${f}-submenu-selected)`]:{color:Tt}},[`&${f}-item:active`]:{background:dt}},[`${f}-item a`]:{"&, &:hover":{color:"inherit"}},[`${f}-item-selected`]:{color:q,[`&${f}-item-danger`]:{color:ct},"a, a:hover":{color:"inherit"}},[`& ${f}-item-selected`]:{backgroundColor:c,[`&${f}-item-danger`]:{backgroundColor:Rt}},[`&${f}-submenu > ${f}`]:{backgroundColor:wt},[`&${f}-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-submenu-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${f}-item, > ${f}-submenu`]:{top:W,marginTop:z.calc(W).mul(-1).equal(),marginBottom:0,borderRadius:Bt,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${(0,ae.unit)(C)} solid transparent`,transition:`border-color ${Le} ${Ke}`,content:'""'},"&:hover, &-active, &-open":{background:Pt,"&::after":{borderBottomWidth:C,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:yt,"&:hover":{backgroundColor:yt},"&::after":{borderBottomWidth:C,borderBottomColor:Ut}}}}),[`&${f}-root`]:{[`&${f}-inline, &${f}-vertical`]:{borderInlineEnd:`${(0,ae.unit)(W)} ${ge} ${Ze}`}},[`&${f}-inline`]:{[`${f}-sub${f}-inline`]:{background:ue},[`${f}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,ae.unit)(Xe)} solid ${q}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${et} ${nt}`,`opacity ${et} ${nt}`].join(","),content:'""'},[`&${f}-item-danger`]:{"&::after":{borderInlineEndColor:ct}}},[`${f}-selected, ${f}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${et} ${Ke}`,`opacity ${et} ${Ke}`].join(",")}}}}}};const st=z=>{const{componentCls:o,itemHeight:f,itemMarginInline:se,padding:q,menuArrowSize:$,marginXS:N,itemMarginBlock:X,itemWidth:ue,itemPaddingInline:c}=z,C=z.calc($).add(q).add(N).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:f,lineHeight:(0,ae.unit)(f),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:X,width:ue},[`> ${o}-item, > ${o}-submenu > ${o}-submenu-title`]:{height:f,lineHeight:(0,ae.unit)(f)},[`${o}-item-group-list ${o}-submenu-title, - ${o}-submenu-title`]:{paddingInlineEnd:C}}};var Ae=z=>{const{componentCls:o,iconCls:f,itemHeight:se,colorTextLightSolid:q,dropdownWidth:$,controlHeightLG:N,motionEaseOut:U,paddingXL:ue,itemMarginInline:c,fontSizeLG:C,motionDurationFast:Xe,motionDurationSlow:X,paddingXS:Le,boxShadowSecondary:Ke,collapsedWidth:nt,collapsedIconSize:lt}=z,et={height:se,lineHeight:(0,ae.unit)(se),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{"&-inline, &-vertical":Object.assign({[`&${o}-root`]:{boxShadow:"none"}},st(z))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},st(z)),{boxShadow:Ke})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:$,maxHeight:`calc(100vh - ${(0,ae.unit)(z.calc(N).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${X}`,`background ${X}`,`padding ${Xe} ${U}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:et,[`& ${o}-item-group-title`]:{paddingInlineStart:ue}},[`${o}-item`]:et}},{[`${o}-inline-collapsed`]:{width:nt,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:C,textAlign:"center"}}},[`> ${o}-item, + ${o}-submenu-title`]:{paddingInlineEnd:C}}};var Ae=z=>{const{componentCls:o,iconCls:f,itemHeight:se,colorTextLightSolid:q,dropdownWidth:$,controlHeightLG:N,motionEaseOut:X,paddingXL:ue,itemMarginInline:c,fontSizeLG:C,motionDurationFast:Xe,motionDurationSlow:W,paddingXS:Le,boxShadowSecondary:Ke,collapsedWidth:nt,collapsedIconSize:lt}=z,et={height:se,lineHeight:(0,ae.unit)(se),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{"&-inline, &-vertical":Object.assign({[`&${o}-root`]:{boxShadow:"none"}},st(z))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},st(z)),{boxShadow:Ke})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:$,maxHeight:`calc(100vh - ${(0,ae.unit)(z.calc(N).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${W}`,`background ${W}`,`padding ${Xe} ${X}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:et,[`& ${o}-item-group-title`]:{paddingInlineStart:ue}},[`${o}-item`]:et}},{[`${o}-inline-collapsed`]:{width:nt,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:C,textAlign:"center"}}},[`> ${o}-item, > ${o}-item-group > ${o}-item-group-list > ${o}-item, > ${o}-item-group > ${o}-item-group-list > ${o}-submenu > ${o}-submenu-title, > ${o}-submenu > ${o}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,ae.unit)(z.calc(lt).div(2).equal())} - ${(0,ae.unit)(c)})`,textOverflow:"clip",[` ${o}-submenu-arrow, ${o}-submenu-expand-icon - `]:{opacity:0},[`${o}-item-icon, ${f}`]:{margin:0,fontSize:lt,lineHeight:(0,ae.unit)(se),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${f}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${f}`]:{display:"none"},"a, a:hover":{color:q}},[`${o}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:Le})}}]};const tt=z=>{const{componentCls:o,motionDurationSlow:f,motionDurationMid:se,motionEaseInOut:q,motionEaseOut:$,iconCls:N,iconSize:U,iconMarginInlineEnd:ue}=z;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${f}`,`background ${f}`,`padding calc(${f} + 0.1s) ${q}`].join(","),[`${o}-item-icon, ${N}`]:{minWidth:U,fontSize:U,transition:[`font-size ${se} ${$}`,`margin ${f} ${q}`,`color ${f}`].join(","),"+ span":{marginInlineStart:ue,opacity:1,transition:[`opacity ${f} ${q}`,`margin ${f}`,`color ${f}`].join(",")}},[`${o}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${o}-item-only-child`]:{[`> ${N}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},J=z=>{const{componentCls:o,motionDurationSlow:f,motionEaseInOut:se,borderRadius:q,menuArrowSize:$,menuArrowOffset:N}=z;return{[`${o}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:z.margin,width:$,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${f} ${se}, opacity ${f}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:z.calc($).mul(.6).equal(),height:z.calc($).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:q,transition:[`background ${f} ${se}`,`transform ${f} ${se}`,`top ${f} ${se}`,`color ${f} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,ae.unit)(z.calc(N).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,ae.unit)(N)})`}}}}},Se=z=>{const{antCls:o,componentCls:f,fontSize:se,motionDurationSlow:q,motionDurationMid:$,motionEaseInOut:N,paddingXS:U,padding:ue,colorSplit:c,lineWidth:C,zIndexPopup:Xe,borderRadiusLG:X,subMenuItemBorderRadius:Le,menuArrowSize:Ke,menuArrowOffset:nt,lineType:lt,groupTitleLineHeight:et,groupTitleFontSize:w}=z;return[{"":{[f]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${f}-submenu-hidden`]:{display:"none"}},{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(z)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${q} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${f}-item`]:{flex:"none"}},[`${f}-item, ${f}-submenu, ${f}-submenu-title`]:{borderRadius:z.itemBorderRadius},[`${f}-item-group-title`]:{padding:`${(0,ae.unit)(U)} ${(0,ae.unit)(ue)}`,fontSize:w,lineHeight:et,transition:`all ${q}`},[`&-horizontal ${f}-submenu`]:{transition:[`border-color ${q} ${N}`,`background ${q} ${N}`].join(",")},[`${f}-submenu, ${f}-submenu-inline`]:{transition:[`border-color ${q} ${N}`,`background ${q} ${N}`,`padding ${$} ${N}`].join(",")},[`${f}-submenu ${f}-sub`]:{cursor:"initial",transition:[`background ${q} ${N}`,`padding ${q} ${N}`].join(",")},[`${f}-title-content`]:{transition:`color ${q}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${o}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${f}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:z.padding}},[`${f}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${f}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:lt,borderWidth:0,borderTopWidth:C,marginBlock:C,padding:0,"&-dashed":{borderStyle:"dashed"}}}),tt(z)),{[`${f}-item-group`]:{[`${f}-item-group-list`]:{margin:0,padding:0,[`${f}-item, ${f}-submenu-title`]:{paddingInline:`${(0,ae.unit)(z.calc(se).mul(2).equal())} ${(0,ae.unit)(ue)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xe,borderRadius:X,boxShadow:"none",transformOrigin:"0 0",[`&${f}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${f}`]:Object.assign(Object.assign(Object.assign({borderRadius:X},tt(z)),J(z)),{[`${f}-item, ${f}-submenu > ${f}-submenu-title`]:{borderRadius:Le},[`${f}-submenu-title::after`]:{transition:`transform ${q} ${N}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:z.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:z.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:z.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:z.paddingXS}}}),J(z)),{[`&-inline-collapsed ${f}-submenu-arrow, - &-inline ${f}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,ae.unit)(nt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,ae.unit)(z.calc(nt).mul(-1).equal())})`}},[`${f}-submenu-open${f}-submenu-inline > ${f}-submenu-title > ${f}-submenu-arrow`]:{transform:`translateY(${(0,ae.unit)(z.calc(Ke).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,ae.unit)(z.calc(nt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,ae.unit)(nt)})`}}})},{[`${o}-layout-header`]:{[f]:{lineHeight:"inherit"}}}]},me=z=>{var o,f,se;const{colorPrimary:q,colorError:$,colorTextDisabled:N,colorErrorBg:U,colorText:ue,colorTextDescription:c,colorBgContainer:C,colorFillAlter:Xe,colorFillContent:X,lineWidth:Le,lineWidthBold:Ke,controlItemBgActive:nt,colorBgTextHover:lt,controlHeightLG:et,lineHeight:w,colorBgElevated:ge,marginXXS:Ze,padding:Ve,fontSize:ot,controlHeightSM:Tt,fontSizeLG:ct,colorTextLightSolid:dt,colorErrorHover:Rt}=z,Vt=(o=z.activeBarWidth)!==null&&o!==void 0?o:0,Ht=(f=z.activeBarBorderWidth)!==null&&f!==void 0?f:Le,Xt=(se=z.itemMarginInline)!==null&&se!==void 0?se:z.marginXXS,wt=new le.FastColor(dt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:z.zIndexPopupBase+50,radiusItem:z.borderRadiusLG,itemBorderRadius:z.borderRadiusLG,radiusSubMenuItem:z.borderRadiusSM,subMenuItemBorderRadius:z.borderRadiusSM,colorItemText:ue,itemColor:ue,colorItemTextHover:ue,itemHoverColor:ue,colorItemTextHoverHorizontal:q,horizontalItemHoverColor:q,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:q,itemSelectedColor:q,subMenuItemSelectedColor:q,colorItemTextSelectedHorizontal:q,horizontalItemSelectedColor:q,colorItemBg:C,itemBg:C,colorItemBgHover:lt,itemHoverBg:lt,colorItemBgActive:X,itemActiveBg:nt,colorSubItemBg:Xe,subMenuItemBg:Xe,colorItemBgSelected:nt,itemSelectedBg:nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Vt,colorActiveBarHeight:Ke,activeBarHeight:Ke,colorActiveBarBorderSize:Le,activeBarBorderWidth:Ht,colorItemTextDisabled:N,itemDisabledColor:N,colorDangerItemText:$,dangerItemColor:$,colorDangerItemTextHover:$,dangerItemHoverColor:$,colorDangerItemTextSelected:$,dangerItemSelectedColor:$,colorDangerItemBgActive:U,dangerItemActiveBg:U,colorDangerItemBgSelected:U,dangerItemSelectedBg:U,itemMarginInline:Xt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:w,collapsedWidth:et*2,popupBg:ge,itemMarginBlock:Ze,itemPaddingInline:Ve,horizontalLineHeight:`${et*1.15}px`,iconSize:ot,iconMarginInlineEnd:Tt-ot,collapsedIconSize:ct,groupTitleFontSize:ot,darkItemDisabledColor:new le.FastColor(dt).setA(.25).toRgbString(),darkItemColor:wt,darkDangerItemColor:$,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dt,darkItemSelectedBg:q,darkDangerItemSelectedBg:$,darkItemHoverBg:"transparent",darkGroupTitleColor:wt,darkItemHoverColor:dt,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:dt,darkDangerItemActiveBg:$,itemWidth:Vt?`calc(100% + ${Ht}px)`:`calc(100% - ${Xt*2}px)`}};var Qe=function(z){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Re.I$)("Menu",q=>{const{colorBgElevated:$,controlHeightLG:N,fontSize:U,darkItemColor:ue,darkDangerItemColor:c,darkItemBg:C,darkSubMenuItemBg:Xe,darkItemSelectedColor:X,darkItemSelectedBg:Le,darkDangerItemSelectedBg:Ke,darkItemHoverBg:nt,darkGroupTitleColor:lt,darkItemHoverColor:et,darkItemDisabledColor:w,darkDangerItemHoverColor:ge,darkDangerItemSelectedColor:Ze,darkDangerItemActiveBg:Ve,popupBg:ot,darkPopupBg:Tt}=q,ct=q.calc(U).div(7).mul(5).equal(),dt=(0,de.mergeToken)(q,{menuArrowSize:ct,menuHorizontalHeight:q.calc(N).mul(1.15).equal(),menuArrowOffset:q.calc(ct).mul(.25).equal(),menuSubMenuBg:$,calc:q.calc,popupBg:ot}),Rt=(0,de.mergeToken)(dt,{itemColor:ue,itemHoverColor:et,groupTitleColor:lt,itemSelectedColor:X,subMenuItemSelectedColor:X,itemBg:C,popupBg:Tt,subMenuItemBg:Xe,itemActiveBg:"transparent",itemSelectedBg:Le,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nt,itemDisabledColor:w,dangerItemColor:c,dangerItemHoverColor:ge,dangerItemSelectedColor:Ze,dangerItemActiveBg:Ve,dangerItemSelectedBg:Ke,menuSubMenuBg:Xe,horizontalItemSelectedColor:X,horizontalItemSelectedBg:Le});return[Se(dt),n(dt),Ae(dt),We(dt,"light"),We(Rt,"dark"),T(dt),(0,He.Z)(dt),(0,Oe.oN)(dt,"slide-up"),(0,Oe.oN)(dt,"slide-down"),(0,ne._y)(dt,"zoom-big")]},me,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:f,unitless:{groupTitleLineHeight:!0}})(z,o)},ie=t(75030),je=z=>{var o;const{popupClassName:f,icon:se,title:q,theme:$}=z,N=e.useContext(pe),{prefixCls:U,inlineCollapsed:ue,theme:c}=N,C=(0,d.Xl)();let Xe;if(!se)Xe=ue&&!C.length&&q&&typeof q=="string"?e.createElement("div",{className:`${U}-inline-collapsed-noicon`},q.charAt(0)):e.createElement("span",{className:`${U}-title-content`},q);else{const Ke=e.isValidElement(q)&&q.type==="span";Xe=e.createElement(e.Fragment,null,(0,r.Tm)(se,{className:D()(e.isValidElement(se)?(o=se.props)===null||o===void 0?void 0:o.className:"",`${U}-item-icon`)}),Ke?q:e.createElement("span",{className:`${U}-title-content`},q))}const X=e.useMemo(()=>Object.assign(Object.assign({},N),{firstLevel:!1}),[N]),[Le]=(0,ie.Cn)("Menu");return e.createElement(pe.Provider,{value:X},e.createElement(d.Wd,Object.assign({},(0,Z.Z)(z,["icon"]),{title:Xe,popupClassName:D()(U,f,`${U}-${$||c}`),popupStyle:Object.assign({zIndex:Le},z.popupStyle)})))},bt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,se=Object.getOwnPropertySymbols(z);q{var f;const se=e.useContext(p.Z),q=se||{},{getPrefixCls:$,getPopupContainer:N,direction:U,menu:ue}=e.useContext(_.E_),c=$(),{prefixCls:C,className:Xe,style:X,theme:Le="light",expandIcon:Ke,_internalDisableMenuItemTitleTooltip:nt,inlineCollapsed:lt,siderCollapsed:et,rootClassName:w,mode:ge,selectable:Ze,onClick:Ve,overflowedIndicatorPopupClassName:ot}=z,Tt=bt(z,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ct=(0,Z.Z)(Tt,["collapsedWidth"]);(f=q.validator)===null||f===void 0||f.call(q,{mode:ge});const dt=(0,E.Z)(function(){var Lt;Ve==null||Ve.apply(void 0,arguments),(Lt=q.onClick)===null||Lt===void 0||Lt.call(q)}),Rt=q.mode||ge,Vt=Ze!=null?Ze:q.selectable,Ht=lt!=null?lt:et,Xt={horizontal:{motionName:`${c}-slide-up`},inline:(0,K.Z)(c),other:{motionName:`${c}-zoom-big`}},wt=$("menu",C||q.prefixCls),Ut=(0,M.Z)(wt),[yt,Bt,Pt]=Qe(wt,Ut,!se),kt=D()(`${wt}-${Le}`,ue==null?void 0:ue.className,Xe),Wt=e.useMemo(()=>{var Lt,ln;if(typeof Ke=="function"||Te(Ke))return Ke||null;if(typeof q.expandIcon=="function"||Te(q.expandIcon))return q.expandIcon||null;if(typeof(ue==null?void 0:ue.expandIcon)=="function"||Te(ue==null?void 0:ue.expandIcon))return(ue==null?void 0:ue.expandIcon)||null;const rn=(Lt=Ke!=null?Ke:q==null?void 0:q.expandIcon)!==null&&Lt!==void 0?Lt:ue==null?void 0:ue.expandIcon;return(0,r.Tm)(rn,{className:D()(`${wt}-submenu-expand-icon`,e.isValidElement(rn)?(ln=rn.props)===null||ln===void 0?void 0:ln.className:void 0)})},[Ke,q==null?void 0:q.expandIcon,ue==null?void 0:ue.expandIcon,wt]),pt=e.useMemo(()=>({prefixCls:wt,inlineCollapsed:Ht||!1,direction:U,firstLevel:!0,theme:Le,mode:Rt,disableMenuItemTitleTooltip:nt}),[wt,Ht,U,nt,Le]);return yt(e.createElement(p.Z.Provider,{value:null},e.createElement(pe.Provider,{value:pt},e.createElement(d.ZP,Object.assign({getPopupContainer:N,overflowedIndicator:e.createElement(L.Z,null),overflowedIndicatorPopupClassName:D()(wt,`${wt}-${Le}`,ot),mode:Rt,selectable:Vt,onClick:dt},ct,{inlineCollapsed:Ht,style:Object.assign(Object.assign({},ue==null?void 0:ue.style),X),className:kt,prefixCls:wt,direction:U,defaultMotions:Xt,expandIcon:Wt,ref:o,rootClassName:D()(w,Bt,q.rootClassName,Pt,Ut),_internalComponents:G})))))});const g=(0,e.forwardRef)((z,o)=>{const f=(0,e.useRef)(null),se=e.useContext(i.D);return(0,e.useImperativeHandle)(o,()=>({menu:f.current,focus:q=>{var $;($=f.current)===null||$===void 0||$.focus(q)}})),e.createElement(V,Object.assign({ref:f},z,se))});g.Item=s,g.SubMenu=je,g.Divider=Pe,g.ItemGroup=d.BW;var fe=g},31709:function(an,_e,t){t.d(_e,{Z:function(){return ue}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},L=i,x=t(7657),D=function(C,Xe){return e.createElement(x.Z,(0,d.Z)({},C,{ref:Xe,icon:L}))},E=e.forwardRef(D),Z=E,K=t(49198),r=t(33853),_=t(38819),M=t(92310),P=t.n(M),pe=t(20068),it=t(76190),Fe=t(33885),Pe=t(42978),Ye=t(18929),b=t(10228),Ce=t(26112),s=t(48736),p=t(17119),ae=[10,20,50,100],le=function(C){var Xe=C.pageSizeOptions,X=Xe===void 0?ae:Xe,Le=C.locale,Ke=C.changeSize,nt=C.pageSize,lt=C.goButton,et=C.quickGo,w=C.rootPrefixCls,ge=C.disabled,Ze=C.buildOptionText,Ve=C.showSizeChanger,ot=C.sizeChangerRender,Tt=e.useState(""),ct=(0,Pe.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=function(){return!dt||Number.isNaN(dt)?void 0:Number(dt)},Ht=typeof Ze=="function"?Ze:function(pt){return"".concat(pt," ").concat(Le.items_per_page)},Xt=function(Lt){Rt(Lt.target.value)},wt=function(Lt){lt||dt===""||(Rt(""),!(Lt.relatedTarget&&(Lt.relatedTarget.className.indexOf("".concat(w,"-item-link"))>=0||Lt.relatedTarget.className.indexOf("".concat(w,"-item"))>=0))&&(et==null||et(Vt())))},Ut=function(Lt){dt!==""&&(Lt.keyCode===b.Z.ENTER||Lt.type==="click")&&(Rt(""),et==null||et(Vt()))},yt=function(){return X.some(function(Lt){return Lt.toString()===nt.toString()})?X:X.concat([nt]).sort(function(Lt,ln){var rn=Number.isNaN(Number(Lt))?0:Number(Lt),xn=Number.isNaN(Number(ln))?0:Number(ln);return rn-xn})},Bt="".concat(w,"-options");if(!Ve&&!et)return null;var Pt=null,kt=null,Wt=null;return Ve&&ot&&(Pt=ot({disabled:ge,size:nt,onSizeChange:function(Lt){Ke==null||Ke(Number(Lt))},"aria-label":Le.page_size,className:"".concat(Bt,"-size-changer"),options:yt().map(function(pt){return{label:Ht(pt),value:pt}})})),et&&(lt&&(Wt=typeof lt=="boolean"?e.createElement("button",{type:"button",onClick:Ut,onKeyUp:Ut,disabled:ge,className:"".concat(Bt,"-quick-jumper-button")},Le.jump_to_confirm):e.createElement("span",{onClick:Ut,onKeyUp:Ut},lt)),kt=e.createElement("div",{className:"".concat(Bt,"-quick-jumper")},Le.jump_to,e.createElement("input",{disabled:ge,type:"text",value:dt,onChange:Xt,onKeyUp:Ut,onBlur:wt,"aria-label":Le.page}),Le.page,Wt)),e.createElement("li",{className:Bt},Pt,kt)},y=le,He=function(C){var Xe=C.rootPrefixCls,X=C.page,Le=C.active,Ke=C.className,nt=C.showTitle,lt=C.onClick,et=C.onKeyPress,w=C.itemRender,ge="".concat(Xe,"-item"),Ze=P()(ge,"".concat(ge,"-").concat(X),(0,pe.Z)((0,pe.Z)({},"".concat(ge,"-active"),Le),"".concat(ge,"-disabled"),!X),Ke),Ve=function(){lt(X)},ot=function(dt){et(dt,lt,X)},Tt=w(X,"page",e.createElement("a",{rel:"nofollow"},X));return Tt?e.createElement("li",{title:nt?String(X):null,className:Ze,onClick:Ve,onKeyDown:ot,tabIndex:0},Tt):null},Oe=He,ne=function(C,Xe,X){return X};function Re(){}function de(c){var C=Number(c);return typeof C=="number"&&!Number.isNaN(C)&&isFinite(C)&&Math.floor(C)===C}function H(c,C,Xe){var X=typeof c=="undefined"?C:c;return Math.floor((Xe-1)/X)+1}var n=function(C){var Xe=C.prefixCls,X=Xe===void 0?"rc-pagination":Xe,Le=C.selectPrefixCls,Ke=Le===void 0?"rc-select":Le,nt=C.className,lt=C.current,et=C.defaultCurrent,w=et===void 0?1:et,ge=C.total,Ze=ge===void 0?0:ge,Ve=C.pageSize,ot=C.defaultPageSize,Tt=ot===void 0?10:ot,ct=C.onChange,dt=ct===void 0?Re:ct,Rt=C.hideOnSinglePage,Vt=C.align,Ht=C.showPrevNextJumpers,Xt=Ht===void 0?!0:Ht,wt=C.showQuickJumper,Ut=C.showLessItems,yt=C.showTitle,Bt=yt===void 0?!0:yt,Pt=C.onShowSizeChange,kt=Pt===void 0?Re:Pt,Wt=C.locale,pt=Wt===void 0?p.Z:Wt,Lt=C.style,ln=C.totalBoundaryShowSizeChanger,rn=ln===void 0?50:ln,xn=C.disabled,Dn=C.simple,Mn=C.showTotal,tn=C.showSizeChanger,Nn=tn===void 0?Ze>rn:tn,Pn=C.sizeChangerRender,bn=C.pageSizeOptions,Fn=C.itemRender,_n=Fn===void 0?ne:Fn,Jn=C.jumpPrevIcon,Be=C.jumpNextIcon,Ie=C.prevIcon,I=C.nextIcon,k=e.useRef(null),be=(0,Ye.Z)(10,{value:Ve,defaultValue:Tt}),ye=(0,Pe.Z)(be,2),m=ye[0],re=ye[1],De=(0,Ye.Z)(1,{value:lt,defaultValue:w,postState:function(Hn){return Math.max(1,Math.min(Hn,H(void 0,m,Ze)))}}),u=(0,Pe.Z)(De,2),S=u[0],A=u[1],ve=e.useState(S),j=(0,Pe.Z)(ve,2),O=j[0],W=j[1];(0,e.useEffect)(function(){W(S)},[S]);var ee=dt!==Re,oe="current"in C,h=Math.max(1,S-(Ut?3:5)),v=Math.min(H(void 0,m,Ze),S+(Ut?3:5));function B(En,Hn){var lr=En||e.createElement("button",{type:"button","aria-label":Hn,className:"".concat(X,"-item-link")});return typeof En=="function"&&(lr=e.createElement(En,(0,Fe.Z)({},C))),lr}function te(En){var Hn=En.target.value,lr=H(void 0,m,Ze),fr;return Hn===""?fr=Hn:Number.isNaN(Number(Hn))?fr=O:Hn>=lr?fr=lr:fr=Number(Hn),fr}function we(En){return de(En)&&En!==S&&de(Ze)&&Ze>0}var Ne=Ze>m?wt:!1;function ut(En){(En.keyCode===b.Z.UP||En.keyCode===b.Z.DOWN)&&En.preventDefault()}function Ge(En){var Hn=te(En);switch(Hn!==O&&W(Hn),En.keyCode){case b.Z.ENTER:Me(Hn);break;case b.Z.UP:Me(Hn-1);break;case b.Z.DOWN:Me(Hn+1);break;default:break}}function Y(En){Me(te(En))}function he(En){var Hn=H(En,m,Ze),lr=S>Hn&&Hn!==0?Hn:S;re(En),W(lr),kt==null||kt(S,En),A(lr),dt==null||dt(lr,En)}function Me(En){if(we(En)&&!xn){var Hn=H(void 0,m,Ze),lr=En;return En>Hn?lr=Hn:En<1&&(lr=1),lr!==O&&W(lr),A(lr),dt==null||dt(lr,m),lr}return S}var ke=S>1,ht=S2?lr-2:0),Gn=2;GnZe?Ze:S*m])),Qt=null,Ft=H(void 0,m,Ze);if(Rt&&Ze<=m)return null;var qe=[],mt={rootPrefixCls:X,onClick:Me,onKeyPress:Mt,showTitle:Bt,itemRender:_n,page:-1},Kt=S-1>0?S-1:0,jt=S+1=cn*2&&S!==3&&(qe[0]=e.cloneElement(qe[0],{className:P()("".concat(X,"-item-after-jump-prev"),qe[0].props.className)}),qe.unshift(nn)),Ft-S>=cn*2&&S!==Ft-2){var er=qe[qe.length-1];qe[qe.length-1]=e.cloneElement(er,{className:P()("".concat(X,"-item-before-jump-next"),er.props.className)}),qe.push(Qt)}Xn!==1&&qe.unshift(e.createElement(Oe,(0,d.Z)({},mt,{key:1,page:1}))),ar!==Ft&&qe.push(e.createElement(Oe,(0,d.Z)({},mt,{key:Ft,page:Ft})))}var Wn=sn(Kt);if(Wn){var Sr=!ke||!Ft;Wn=e.createElement("li",{title:Bt?pt.prev_page:null,onClick:ft,tabIndex:Sr?null:0,onKeyDown:$t,className:P()("".concat(X,"-prev"),(0,pe.Z)({},"".concat(X,"-disabled"),Sr)),"aria-disabled":Sr},Wn)}var Fr=Gt(jt);if(Fr){var $r,Cr;Dn?($r=!ht,Cr=ke?0:null):($r=!ht||!Ft,Cr=$r?null:0),Fr=e.createElement("li",{title:Bt?pt.next_page:null,onClick:Ct,tabIndex:Cr,onKeyDown:Et,className:P()("".concat(X,"-next"),(0,pe.Z)({},"".concat(X,"-disabled"),$r)),"aria-disabled":$r},Fr)}var vr=P()(X,nt,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(X,"-start"),Vt==="start"),"".concat(X,"-center"),Vt==="center"),"".concat(X,"-end"),Vt==="end"),"".concat(X,"-simple"),Dn),"".concat(X,"-disabled"),xn));return e.createElement("ul",(0,d.Z)({className:vr,style:Lt,ref:k},fn),Zt,Wn,Dn?en:qe,Fr,e.createElement(y,{locale:pt,rootPrefixCls:X,disabled:xn,selectPrefixCls:Ke,changeSize:he,pageSize:m,pageSizeOptions:bn,quickGo:Ne?Me:null,goButton:on,showSizeChanger:Nn,sizeChangerRender:Pn}))},ce=n,T=t(61852),ze=t(48755),xe=t(31756),We=t(13783),st=t(9017),at=t(82326),Ae=t(57700),tt=t(36237),J=t(53075),Se=t(64910),me=t(39082),Qe=t(63356),ie=t(51636),Je=t(16931);const je=c=>{const{componentCls:C}=c;return{[`${C}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}}},[`&${C}-disabled`]:{cursor:"not-allowed",[`${C}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:c.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:c.colorBorder,backgroundColor:c.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:c.itemActiveBgDisabled},a:{color:c.itemActiveColorDisabled}}},[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${C}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${C}-simple-pager`]:{color:c.colorTextDisabled},[`${C}-jump-prev, ${C}-jump-next`]:{[`${C}-item-link-icon`]:{opacity:0},[`${C}-item-ellipsis`]:{opacity:1}}},[`&${C}-simple`]:{[`${C}-prev, ${C}-next`]:{[`&${C}-disabled ${C}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},bt=c=>{const{componentCls:C}=c;return{[`&${C}-mini ${C}-total-text, &${C}-mini ${C}-simple-pager`]:{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${C}-mini ${C}-item`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.calc(c.itemSizeSM).sub(2).equal())},[`&${C}-mini ${C}-prev, &${C}-mini ${C}-next`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${C}-mini:not(${C}-disabled)`]:{[`${C}-prev, ${C}-next`]:{[`&:hover ${C}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${C}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${C}-disabled:hover ${C}-item-link`]:{backgroundColor:"transparent"}}},[` + `]:{opacity:0},[`${o}-item-icon, ${f}`]:{margin:0,fontSize:lt,lineHeight:(0,ae.unit)(se),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${f}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${f}`]:{display:"none"},"a, a:hover":{color:q}},[`${o}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:Le})}}]};const tt=z=>{const{componentCls:o,motionDurationSlow:f,motionDurationMid:se,motionEaseInOut:q,motionEaseOut:$,iconCls:N,iconSize:X,iconMarginInlineEnd:ue}=z;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${f}`,`background ${f}`,`padding calc(${f} + 0.1s) ${q}`].join(","),[`${o}-item-icon, ${N}`]:{minWidth:X,fontSize:X,transition:[`font-size ${se} ${$}`,`margin ${f} ${q}`,`color ${f}`].join(","),"+ span":{marginInlineStart:ue,opacity:1,transition:[`opacity ${f} ${q}`,`margin ${f}`,`color ${f}`].join(",")}},[`${o}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${o}-item-only-child`]:{[`> ${N}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},J=z=>{const{componentCls:o,motionDurationSlow:f,motionEaseInOut:se,borderRadius:q,menuArrowSize:$,menuArrowOffset:N}=z;return{[`${o}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:z.margin,width:$,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${f} ${se}, opacity ${f}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:z.calc($).mul(.6).equal(),height:z.calc($).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:q,transition:[`background ${f} ${se}`,`transform ${f} ${se}`,`top ${f} ${se}`,`color ${f} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,ae.unit)(z.calc(N).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,ae.unit)(N)})`}}}}},Se=z=>{const{antCls:o,componentCls:f,fontSize:se,motionDurationSlow:q,motionDurationMid:$,motionEaseInOut:N,paddingXS:X,padding:ue,colorSplit:c,lineWidth:C,zIndexPopup:Xe,borderRadiusLG:W,subMenuItemBorderRadius:Le,menuArrowSize:Ke,menuArrowOffset:nt,lineType:lt,groupTitleLineHeight:et,groupTitleFontSize:w}=z;return[{"":{[f]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${f}-submenu-hidden`]:{display:"none"}},{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(z)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${q} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${f}-item`]:{flex:"none"}},[`${f}-item, ${f}-submenu, ${f}-submenu-title`]:{borderRadius:z.itemBorderRadius},[`${f}-item-group-title`]:{padding:`${(0,ae.unit)(X)} ${(0,ae.unit)(ue)}`,fontSize:w,lineHeight:et,transition:`all ${q}`},[`&-horizontal ${f}-submenu`]:{transition:[`border-color ${q} ${N}`,`background ${q} ${N}`].join(",")},[`${f}-submenu, ${f}-submenu-inline`]:{transition:[`border-color ${q} ${N}`,`background ${q} ${N}`,`padding ${$} ${N}`].join(",")},[`${f}-submenu ${f}-sub`]:{cursor:"initial",transition:[`background ${q} ${N}`,`padding ${q} ${N}`].join(",")},[`${f}-title-content`]:{transition:`color ${q}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${o}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${f}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:z.padding}},[`${f}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${f}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:lt,borderWidth:0,borderTopWidth:C,marginBlock:C,padding:0,"&-dashed":{borderStyle:"dashed"}}}),tt(z)),{[`${f}-item-group`]:{[`${f}-item-group-list`]:{margin:0,padding:0,[`${f}-item, ${f}-submenu-title`]:{paddingInline:`${(0,ae.unit)(z.calc(se).mul(2).equal())} ${(0,ae.unit)(ue)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xe,borderRadius:W,boxShadow:"none",transformOrigin:"0 0",[`&${f}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${f}`]:Object.assign(Object.assign(Object.assign({borderRadius:W},tt(z)),J(z)),{[`${f}-item, ${f}-submenu > ${f}-submenu-title`]:{borderRadius:Le},[`${f}-submenu-title::after`]:{transition:`transform ${q} ${N}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:z.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:z.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:z.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:z.paddingXS}}}),J(z)),{[`&-inline-collapsed ${f}-submenu-arrow, + &-inline ${f}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,ae.unit)(nt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,ae.unit)(z.calc(nt).mul(-1).equal())})`}},[`${f}-submenu-open${f}-submenu-inline > ${f}-submenu-title > ${f}-submenu-arrow`]:{transform:`translateY(${(0,ae.unit)(z.calc(Ke).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,ae.unit)(z.calc(nt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,ae.unit)(nt)})`}}})},{[`${o}-layout-header`]:{[f]:{lineHeight:"inherit"}}}]},me=z=>{var o,f,se;const{colorPrimary:q,colorError:$,colorTextDisabled:N,colorErrorBg:X,colorText:ue,colorTextDescription:c,colorBgContainer:C,colorFillAlter:Xe,colorFillContent:W,lineWidth:Le,lineWidthBold:Ke,controlItemBgActive:nt,colorBgTextHover:lt,controlHeightLG:et,lineHeight:w,colorBgElevated:ge,marginXXS:Ze,padding:Ve,fontSize:ot,controlHeightSM:Tt,fontSizeLG:ct,colorTextLightSolid:dt,colorErrorHover:Rt}=z,Vt=(o=z.activeBarWidth)!==null&&o!==void 0?o:0,Ht=(f=z.activeBarBorderWidth)!==null&&f!==void 0?f:Le,Xt=(se=z.itemMarginInline)!==null&&se!==void 0?se:z.marginXXS,wt=new le.FastColor(dt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:z.zIndexPopupBase+50,radiusItem:z.borderRadiusLG,itemBorderRadius:z.borderRadiusLG,radiusSubMenuItem:z.borderRadiusSM,subMenuItemBorderRadius:z.borderRadiusSM,colorItemText:ue,itemColor:ue,colorItemTextHover:ue,itemHoverColor:ue,colorItemTextHoverHorizontal:q,horizontalItemHoverColor:q,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:q,itemSelectedColor:q,subMenuItemSelectedColor:q,colorItemTextSelectedHorizontal:q,horizontalItemSelectedColor:q,colorItemBg:C,itemBg:C,colorItemBgHover:lt,itemHoverBg:lt,colorItemBgActive:W,itemActiveBg:nt,colorSubItemBg:Xe,subMenuItemBg:Xe,colorItemBgSelected:nt,itemSelectedBg:nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Vt,colorActiveBarHeight:Ke,activeBarHeight:Ke,colorActiveBarBorderSize:Le,activeBarBorderWidth:Ht,colorItemTextDisabled:N,itemDisabledColor:N,colorDangerItemText:$,dangerItemColor:$,colorDangerItemTextHover:$,dangerItemHoverColor:$,colorDangerItemTextSelected:$,dangerItemSelectedColor:$,colorDangerItemBgActive:X,dangerItemActiveBg:X,colorDangerItemBgSelected:X,dangerItemSelectedBg:X,itemMarginInline:Xt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:w,collapsedWidth:et*2,popupBg:ge,itemMarginBlock:Ze,itemPaddingInline:Ve,horizontalLineHeight:`${et*1.15}px`,iconSize:ot,iconMarginInlineEnd:Tt-ot,collapsedIconSize:ct,groupTitleFontSize:ot,darkItemDisabledColor:new le.FastColor(dt).setA(.25).toRgbString(),darkItemColor:wt,darkDangerItemColor:$,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dt,darkItemSelectedBg:q,darkDangerItemSelectedBg:$,darkItemHoverBg:"transparent",darkGroupTitleColor:wt,darkItemHoverColor:dt,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:dt,darkDangerItemActiveBg:$,itemWidth:Vt?`calc(100% + ${Ht}px)`:`calc(100% - ${Xt*2}px)`}};var Qe=function(z){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Re.I$)("Menu",q=>{const{colorBgElevated:$,controlHeightLG:N,fontSize:X,darkItemColor:ue,darkDangerItemColor:c,darkItemBg:C,darkSubMenuItemBg:Xe,darkItemSelectedColor:W,darkItemSelectedBg:Le,darkDangerItemSelectedBg:Ke,darkItemHoverBg:nt,darkGroupTitleColor:lt,darkItemHoverColor:et,darkItemDisabledColor:w,darkDangerItemHoverColor:ge,darkDangerItemSelectedColor:Ze,darkDangerItemActiveBg:Ve,popupBg:ot,darkPopupBg:Tt}=q,ct=q.calc(X).div(7).mul(5).equal(),dt=(0,de.mergeToken)(q,{menuArrowSize:ct,menuHorizontalHeight:q.calc(N).mul(1.15).equal(),menuArrowOffset:q.calc(ct).mul(.25).equal(),menuSubMenuBg:$,calc:q.calc,popupBg:ot}),Rt=(0,de.mergeToken)(dt,{itemColor:ue,itemHoverColor:et,groupTitleColor:lt,itemSelectedColor:W,subMenuItemSelectedColor:W,itemBg:C,popupBg:Tt,subMenuItemBg:Xe,itemActiveBg:"transparent",itemSelectedBg:Le,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nt,itemDisabledColor:w,dangerItemColor:c,dangerItemHoverColor:ge,dangerItemSelectedColor:Ze,dangerItemActiveBg:Ve,dangerItemSelectedBg:Ke,menuSubMenuBg:Xe,horizontalItemSelectedColor:W,horizontalItemSelectedBg:Le});return[Se(dt),n(dt),Ae(dt),We(dt,"light"),We(Rt,"dark"),T(dt),(0,He.Z)(dt),(0,Oe.oN)(dt,"slide-up"),(0,Oe.oN)(dt,"slide-down"),(0,ne._y)(dt,"zoom-big")]},me,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:f,unitless:{groupTitleLineHeight:!0}})(z,o)},ie=t(75030),je=z=>{var o;const{popupClassName:f,icon:se,title:q,theme:$}=z,N=e.useContext(pe),{prefixCls:X,inlineCollapsed:ue,theme:c}=N,C=(0,d.Xl)();let Xe;if(!se)Xe=ue&&!C.length&&q&&typeof q=="string"?e.createElement("div",{className:`${X}-inline-collapsed-noicon`},q.charAt(0)):e.createElement("span",{className:`${X}-title-content`},q);else{const Ke=e.isValidElement(q)&&q.type==="span";Xe=e.createElement(e.Fragment,null,(0,r.Tm)(se,{className:D()(e.isValidElement(se)?(o=se.props)===null||o===void 0?void 0:o.className:"",`${X}-item-icon`)}),Ke?q:e.createElement("span",{className:`${X}-title-content`},q))}const W=e.useMemo(()=>Object.assign(Object.assign({},N),{firstLevel:!1}),[N]),[Le]=(0,ie.Cn)("Menu");return e.createElement(pe.Provider,{value:W},e.createElement(d.Wd,Object.assign({},(0,Z.Z)(z,["icon"]),{title:Xe,popupClassName:D()(X,f,`${X}-${$||c}`),popupStyle:Object.assign({zIndex:Le},z.popupStyle)})))},bt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,se=Object.getOwnPropertySymbols(z);q{var f;const se=e.useContext(p.Z),q=se||{},{getPrefixCls:$,getPopupContainer:N,direction:X,menu:ue}=e.useContext(_.E_),c=$(),{prefixCls:C,className:Xe,style:W,theme:Le="light",expandIcon:Ke,_internalDisableMenuItemTitleTooltip:nt,inlineCollapsed:lt,siderCollapsed:et,rootClassName:w,mode:ge,selectable:Ze,onClick:Ve,overflowedIndicatorPopupClassName:ot}=z,Tt=bt(z,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ct=(0,Z.Z)(Tt,["collapsedWidth"]);(f=q.validator)===null||f===void 0||f.call(q,{mode:ge});const dt=(0,E.Z)(function(){var Lt;Ve==null||Ve.apply(void 0,arguments),(Lt=q.onClick)===null||Lt===void 0||Lt.call(q)}),Rt=q.mode||ge,Vt=Ze!=null?Ze:q.selectable,Ht=lt!=null?lt:et,Xt={horizontal:{motionName:`${c}-slide-up`},inline:(0,K.Z)(c),other:{motionName:`${c}-zoom-big`}},wt=$("menu",C||q.prefixCls),Ut=(0,M.Z)(wt),[yt,Bt,Pt]=Qe(wt,Ut,!se),kt=D()(`${wt}-${Le}`,ue==null?void 0:ue.className,Xe),Wt=e.useMemo(()=>{var Lt,ln;if(typeof Ke=="function"||Te(Ke))return Ke||null;if(typeof q.expandIcon=="function"||Te(q.expandIcon))return q.expandIcon||null;if(typeof(ue==null?void 0:ue.expandIcon)=="function"||Te(ue==null?void 0:ue.expandIcon))return(ue==null?void 0:ue.expandIcon)||null;const rn=(Lt=Ke!=null?Ke:q==null?void 0:q.expandIcon)!==null&&Lt!==void 0?Lt:ue==null?void 0:ue.expandIcon;return(0,r.Tm)(rn,{className:D()(`${wt}-submenu-expand-icon`,e.isValidElement(rn)?(ln=rn.props)===null||ln===void 0?void 0:ln.className:void 0)})},[Ke,q==null?void 0:q.expandIcon,ue==null?void 0:ue.expandIcon,wt]),pt=e.useMemo(()=>({prefixCls:wt,inlineCollapsed:Ht||!1,direction:X,firstLevel:!0,theme:Le,mode:Rt,disableMenuItemTitleTooltip:nt}),[wt,Ht,X,nt,Le]);return yt(e.createElement(p.Z.Provider,{value:null},e.createElement(pe.Provider,{value:pt},e.createElement(d.ZP,Object.assign({getPopupContainer:N,overflowedIndicator:e.createElement(L.Z,null),overflowedIndicatorPopupClassName:D()(wt,`${wt}-${Le}`,ot),mode:Rt,selectable:Vt,onClick:dt},ct,{inlineCollapsed:Ht,style:Object.assign(Object.assign({},ue==null?void 0:ue.style),W),className:kt,prefixCls:wt,direction:X,defaultMotions:Xt,expandIcon:Wt,ref:o,rootClassName:D()(w,Bt,q.rootClassName,Pt,Ut),_internalComponents:G})))))});const g=(0,e.forwardRef)((z,o)=>{const f=(0,e.useRef)(null),se=e.useContext(i.D);return(0,e.useImperativeHandle)(o,()=>({menu:f.current,focus:q=>{var $;($=f.current)===null||$===void 0||$.focus(q)}})),e.createElement(U,Object.assign({ref:f},z,se))});g.Item=s,g.SubMenu=je,g.Divider=Pe,g.ItemGroup=d.BW;var fe=g},31709:function(an,_e,t){t.d(_e,{Z:function(){return ue}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},L=i,x=t(7657),D=function(C,Xe){return e.createElement(x.Z,(0,d.Z)({},C,{ref:Xe,icon:L}))},E=e.forwardRef(D),Z=E,K=t(49198),r=t(33853),_=t(38819),M=t(92310),P=t.n(M),pe=t(20068),it=t(76190),Fe=t(33885),Pe=t(42978),Ye=t(18929),b=t(10228),Ce=t(26112),s=t(48736),p=t(17119),ae=[10,20,50,100],le=function(C){var Xe=C.pageSizeOptions,W=Xe===void 0?ae:Xe,Le=C.locale,Ke=C.changeSize,nt=C.pageSize,lt=C.goButton,et=C.quickGo,w=C.rootPrefixCls,ge=C.disabled,Ze=C.buildOptionText,Ve=C.showSizeChanger,ot=C.sizeChangerRender,Tt=e.useState(""),ct=(0,Pe.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=function(){return!dt||Number.isNaN(dt)?void 0:Number(dt)},Ht=typeof Ze=="function"?Ze:function(pt){return"".concat(pt," ").concat(Le.items_per_page)},Xt=function(Lt){Rt(Lt.target.value)},wt=function(Lt){lt||dt===""||(Rt(""),!(Lt.relatedTarget&&(Lt.relatedTarget.className.indexOf("".concat(w,"-item-link"))>=0||Lt.relatedTarget.className.indexOf("".concat(w,"-item"))>=0))&&(et==null||et(Vt())))},Ut=function(Lt){dt!==""&&(Lt.keyCode===b.Z.ENTER||Lt.type==="click")&&(Rt(""),et==null||et(Vt()))},yt=function(){return W.some(function(Lt){return Lt.toString()===nt.toString()})?W:W.concat([nt]).sort(function(Lt,ln){var rn=Number.isNaN(Number(Lt))?0:Number(Lt),xn=Number.isNaN(Number(ln))?0:Number(ln);return rn-xn})},Bt="".concat(w,"-options");if(!Ve&&!et)return null;var Pt=null,kt=null,Wt=null;return Ve&&ot&&(Pt=ot({disabled:ge,size:nt,onSizeChange:function(Lt){Ke==null||Ke(Number(Lt))},"aria-label":Le.page_size,className:"".concat(Bt,"-size-changer"),options:yt().map(function(pt){return{label:Ht(pt),value:pt}})})),et&&(lt&&(Wt=typeof lt=="boolean"?e.createElement("button",{type:"button",onClick:Ut,onKeyUp:Ut,disabled:ge,className:"".concat(Bt,"-quick-jumper-button")},Le.jump_to_confirm):e.createElement("span",{onClick:Ut,onKeyUp:Ut},lt)),kt=e.createElement("div",{className:"".concat(Bt,"-quick-jumper")},Le.jump_to,e.createElement("input",{disabled:ge,type:"text",value:dt,onChange:Xt,onKeyUp:Ut,onBlur:wt,"aria-label":Le.page}),Le.page,Wt)),e.createElement("li",{className:Bt},Pt,kt)},y=le,He=function(C){var Xe=C.rootPrefixCls,W=C.page,Le=C.active,Ke=C.className,nt=C.showTitle,lt=C.onClick,et=C.onKeyPress,w=C.itemRender,ge="".concat(Xe,"-item"),Ze=P()(ge,"".concat(ge,"-").concat(W),(0,pe.Z)((0,pe.Z)({},"".concat(ge,"-active"),Le),"".concat(ge,"-disabled"),!W),Ke),Ve=function(){lt(W)},ot=function(dt){et(dt,lt,W)},Tt=w(W,"page",e.createElement("a",{rel:"nofollow"},W));return Tt?e.createElement("li",{title:nt?String(W):null,className:Ze,onClick:Ve,onKeyDown:ot,tabIndex:0},Tt):null},Oe=He,ne=function(C,Xe,W){return W};function Re(){}function de(c){var C=Number(c);return typeof C=="number"&&!Number.isNaN(C)&&isFinite(C)&&Math.floor(C)===C}function H(c,C,Xe){var W=typeof c=="undefined"?C:c;return Math.floor((Xe-1)/W)+1}var n=function(C){var Xe=C.prefixCls,W=Xe===void 0?"rc-pagination":Xe,Le=C.selectPrefixCls,Ke=Le===void 0?"rc-select":Le,nt=C.className,lt=C.current,et=C.defaultCurrent,w=et===void 0?1:et,ge=C.total,Ze=ge===void 0?0:ge,Ve=C.pageSize,ot=C.defaultPageSize,Tt=ot===void 0?10:ot,ct=C.onChange,dt=ct===void 0?Re:ct,Rt=C.hideOnSinglePage,Vt=C.align,Ht=C.showPrevNextJumpers,Xt=Ht===void 0?!0:Ht,wt=C.showQuickJumper,Ut=C.showLessItems,yt=C.showTitle,Bt=yt===void 0?!0:yt,Pt=C.onShowSizeChange,kt=Pt===void 0?Re:Pt,Wt=C.locale,pt=Wt===void 0?p.Z:Wt,Lt=C.style,ln=C.totalBoundaryShowSizeChanger,rn=ln===void 0?50:ln,xn=C.disabled,Dn=C.simple,Mn=C.showTotal,tn=C.showSizeChanger,Nn=tn===void 0?Ze>rn:tn,Pn=C.sizeChangerRender,bn=C.pageSizeOptions,Fn=C.itemRender,_n=Fn===void 0?ne:Fn,Jn=C.jumpPrevIcon,Be=C.jumpNextIcon,Ie=C.prevIcon,I=C.nextIcon,k=e.useRef(null),be=(0,Ye.Z)(10,{value:Ve,defaultValue:Tt}),ye=(0,Pe.Z)(be,2),m=ye[0],re=ye[1],De=(0,Ye.Z)(1,{value:lt,defaultValue:w,postState:function(Hn){return Math.max(1,Math.min(Hn,H(void 0,m,Ze)))}}),u=(0,Pe.Z)(De,2),S=u[0],A=u[1],ve=e.useState(S),j=(0,Pe.Z)(ve,2),O=j[0],V=j[1];(0,e.useEffect)(function(){V(S)},[S]);var ee=dt!==Re,oe="current"in C,h=Math.max(1,S-(Ut?3:5)),v=Math.min(H(void 0,m,Ze),S+(Ut?3:5));function B(En,Hn){var lr=En||e.createElement("button",{type:"button","aria-label":Hn,className:"".concat(W,"-item-link")});return typeof En=="function"&&(lr=e.createElement(En,(0,Fe.Z)({},C))),lr}function te(En){var Hn=En.target.value,lr=H(void 0,m,Ze),fr;return Hn===""?fr=Hn:Number.isNaN(Number(Hn))?fr=O:Hn>=lr?fr=lr:fr=Number(Hn),fr}function we(En){return de(En)&&En!==S&&de(Ze)&&Ze>0}var Ne=Ze>m?wt:!1;function ut(En){(En.keyCode===b.Z.UP||En.keyCode===b.Z.DOWN)&&En.preventDefault()}function Ge(En){var Hn=te(En);switch(Hn!==O&&V(Hn),En.keyCode){case b.Z.ENTER:Me(Hn);break;case b.Z.UP:Me(Hn-1);break;case b.Z.DOWN:Me(Hn+1);break;default:break}}function Y(En){Me(te(En))}function he(En){var Hn=H(En,m,Ze),lr=S>Hn&&Hn!==0?Hn:S;re(En),V(lr),kt==null||kt(S,En),A(lr),dt==null||dt(lr,En)}function Me(En){if(we(En)&&!xn){var Hn=H(void 0,m,Ze),lr=En;return En>Hn?lr=Hn:En<1&&(lr=1),lr!==O&&V(lr),A(lr),dt==null||dt(lr,m),lr}return S}var ke=S>1,ht=S2?lr-2:0),Gn=2;GnZe?Ze:S*m])),Qt=null,Ft=H(void 0,m,Ze);if(Rt&&Ze<=m)return null;var qe=[],mt={rootPrefixCls:W,onClick:Me,onKeyPress:Mt,showTitle:Bt,itemRender:_n,page:-1},Kt=S-1>0?S-1:0,jt=S+1=cn*2&&S!==3&&(qe[0]=e.cloneElement(qe[0],{className:P()("".concat(W,"-item-after-jump-prev"),qe[0].props.className)}),qe.unshift(nn)),Ft-S>=cn*2&&S!==Ft-2){var er=qe[qe.length-1];qe[qe.length-1]=e.cloneElement(er,{className:P()("".concat(W,"-item-before-jump-next"),er.props.className)}),qe.push(Qt)}Xn!==1&&qe.unshift(e.createElement(Oe,(0,d.Z)({},mt,{key:1,page:1}))),ar!==Ft&&qe.push(e.createElement(Oe,(0,d.Z)({},mt,{key:Ft,page:Ft})))}var Wn=sn(Kt);if(Wn){var Sr=!ke||!Ft;Wn=e.createElement("li",{title:Bt?pt.prev_page:null,onClick:ft,tabIndex:Sr?null:0,onKeyDown:$t,className:P()("".concat(W,"-prev"),(0,pe.Z)({},"".concat(W,"-disabled"),Sr)),"aria-disabled":Sr},Wn)}var Fr=Gt(jt);if(Fr){var $r,Cr;Dn?($r=!ht,Cr=ke?0:null):($r=!ht||!Ft,Cr=$r?null:0),Fr=e.createElement("li",{title:Bt?pt.next_page:null,onClick:Ct,tabIndex:Cr,onKeyDown:Et,className:P()("".concat(W,"-next"),(0,pe.Z)({},"".concat(W,"-disabled"),$r)),"aria-disabled":$r},Fr)}var vr=P()(W,nt,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(W,"-start"),Vt==="start"),"".concat(W,"-center"),Vt==="center"),"".concat(W,"-end"),Vt==="end"),"".concat(W,"-simple"),Dn),"".concat(W,"-disabled"),xn));return e.createElement("ul",(0,d.Z)({className:vr,style:Lt,ref:k},fn),Zt,Wn,Dn?en:qe,Fr,e.createElement(y,{locale:pt,rootPrefixCls:W,disabled:xn,selectPrefixCls:Ke,changeSize:he,pageSize:m,pageSizeOptions:bn,quickGo:Ne?Me:null,goButton:on,showSizeChanger:Nn,sizeChangerRender:Pn}))},ce=n,T=t(61852),ze=t(48755),xe=t(31756),We=t(13783),st=t(9017),at=t(82326),Ae=t(57700),tt=t(36237),J=t(53075),Se=t(64910),me=t(39082),Qe=t(63356),ie=t(51636),Je=t(16931);const je=c=>{const{componentCls:C}=c;return{[`${C}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}}},[`&${C}-disabled`]:{cursor:"not-allowed",[`${C}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:c.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:c.colorBorder,backgroundColor:c.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:c.itemActiveBgDisabled},a:{color:c.itemActiveColorDisabled}}},[`${C}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${C}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${C}-simple-pager`]:{color:c.colorTextDisabled},[`${C}-jump-prev, ${C}-jump-next`]:{[`${C}-item-link-icon`]:{opacity:0},[`${C}-item-ellipsis`]:{opacity:1}}},[`&${C}-simple`]:{[`${C}-prev, ${C}-next`]:{[`&${C}-disabled ${C}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},bt=c=>{const{componentCls:C}=c;return{[`&${C}-mini ${C}-total-text, &${C}-mini ${C}-simple-pager`]:{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${C}-mini ${C}-item`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.calc(c.itemSizeSM).sub(2).equal())},[`&${C}-mini ${C}-prev, &${C}-mini ${C}-next`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${C}-mini:not(${C}-disabled)`]:{[`${C}-prev, ${C}-next`]:{[`&:hover ${C}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${C}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${C}-disabled:hover ${C}-item-link`]:{backgroundColor:"transparent"}}},[` &${C}-mini ${C}-prev ${C}-item-link, &${C}-mini ${C}-next ${C}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)}},[`&${C}-mini ${C}-jump-prev, &${C}-mini ${C}-jump-next`]:{height:c.itemSizeSM,marginInlineEnd:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${C}-mini ${C}-options`]:{marginInlineStart:c.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:c.miniOptionsSizeChangerTop},"&-quick-jumper":{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM),input:Object.assign(Object.assign({},(0,J.x0)(c)),{width:c.paginationMiniQuickJumperInputWidth,height:c.controlHeightSM})}}}},Te=c=>{const{componentCls:C}=c;return{[` @@ -74,9 +74,9 @@ ${C}-next, ${C}-jump-prev, ${C}-jump-next - `]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,color:c.colorText,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}`},[`${C}-prev, ${C}-next`]:{outline:0,button:{color:c.colorText,cursor:"pointer",userSelect:"none"},[`${C}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:c.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:"none",transition:`all ${c.motionDurationMid}`},[`&:hover ${C}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${C}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${C}-disabled:hover`]:{[`${C}-item-link`]:{backgroundColor:"transparent"}}},[`${C}-slash`]:{marginInlineEnd:c.paginationSlashMarginInlineEnd,marginInlineStart:c.paginationSlashMarginInlineStart},[`${C}-options`]:{display:"inline-block",marginInlineStart:c.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:c.controlHeight,marginInlineStart:c.marginXS,lineHeight:(0,tt.unit)(c.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,J.ik)(c)),(0,me.$U)(c,{borderColor:c.colorBorder,hoverBorderColor:c.colorPrimaryHover,activeBorderColor:c.colorPrimary,activeShadow:c.activeShadow})),{"&[disabled]":Object.assign({},(0,me.Xy)(c)),width:c.calc(c.controlHeightLG).mul(1.25).equal(),height:c.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:c.marginXS,marginInlineEnd:c.marginXS})}}}},R=c=>{const{componentCls:C}=c;return{[`${C}-item`]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,marginInlineEnd:c.marginXS,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,tt.unit)(c.paginationItemPaddingInline)}`,color:c.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${C}-item-active)`]:{"&:hover":{transition:`all ${c.motionDurationMid}`,backgroundColor:c.colorBgTextHover},"&:active":{backgroundColor:c.colorBgTextActive}},"&-active":{fontWeight:c.fontWeightStrong,backgroundColor:c.itemActiveBg,borderColor:c.colorPrimary,a:{color:c.colorPrimary},"&:hover":{borderColor:c.colorPrimaryHover},"&:hover a":{color:c.colorPrimaryHover}}}}},V=c=>{const{componentCls:C}=c;return{[C]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(c)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${C}-total-text`]:{display:"inline-block",height:c.itemSize,marginInlineEnd:c.marginXS,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),verticalAlign:"middle"}}),R(c)),G(c)),Te(c)),bt(c)),je(c)),{[`@media only screen and (max-width: ${c.screenLG}px)`]:{[`${C}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${c.screenSM}px)`]:{[`${C}-options`]:{display:"none"}}}),[`&${c.componentCls}-rtl`]:{direction:"rtl"}}},g=c=>{const{componentCls:C}=c;return{[`${C}:not(${C}-disabled)`]:{[`${C}-item`]:Object.assign({},(0,Qe.Qy)(c)),[`${C}-jump-prev, ${C}-jump-next`]:{"&:focus-visible":Object.assign({[`${C}-item-link-icon`]:{opacity:1},[`${C}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(c))},[`${C}-prev, ${C}-next`]:{[`&:focus-visible ${C}-item-link`]:Object.assign({},(0,Qe.oN)(c))}}}},fe=c=>Object.assign({itemBg:c.colorBgContainer,itemSize:c.controlHeight,itemSizeSM:c.controlHeightSM,itemActiveBg:c.colorBgContainer,itemLinkBg:c.colorBgContainer,itemActiveColorDisabled:c.colorTextDisabled,itemActiveBgDisabled:c.controlItemBgActiveDisabled,itemInputBg:c.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Se.T)(c)),z=c=>(0,ie.mergeToken)(c,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:c.calc(c.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:c.calc(c.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:c.calc(c.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:c.calc(c.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:c.marginSM,paginationSlashMarginInlineEnd:c.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Se.e)(c));var o=(0,Je.I$)("Pagination",c=>{const C=z(c);return[V(C),g(C)]},fe);const f=c=>{const{componentCls:C}=c;return{[`${C}${C}-bordered${C}-disabled:not(${C}-mini)`]:{"&, &:hover":{[`${C}-item-link`]:{borderColor:c.colorBorder}},"&:focus-visible":{[`${C}-item-link`]:{borderColor:c.colorBorder}},[`${C}-item, ${C}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,[`&:hover:not(${C}-item-active)`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,a:{color:c.colorTextDisabled}},[`&${C}-item-active`]:{backgroundColor:c.itemActiveBgDisabled}},[`${C}-prev, ${C}-next`]:{"&:hover button":{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,color:c.colorTextDisabled},[`${C}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder}}},[`${C}${C}-bordered:not(${C}-mini)`]:{[`${C}-prev, ${C}-next`]:{"&:hover button":{borderColor:c.colorPrimaryHover,backgroundColor:c.itemBg},[`${C}-item-link`]:{backgroundColor:c.itemLinkBg,borderColor:c.colorBorder},[`&:hover ${C}-item-link`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,color:c.colorPrimary},[`&${C}-disabled`]:{[`${C}-item-link`]:{borderColor:c.colorBorder,color:c.colorTextDisabled}}},[`${C}-item`]:{backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} ${c.colorBorder}`,[`&:hover:not(${C}-item-active)`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,a:{color:c.colorPrimary}},"&-active":{borderColor:c.colorPrimary}}}}};var se=(0,Je.bk)(["Pagination","bordered"],c=>{const C=z(c);return[f(C)]},fe);function q(c){return(0,e.useMemo)(()=>typeof c=="boolean"?[c,{}]:c&&typeof c=="object"?[!0,c]:[void 0,void 0],[c])}var $=function(c,C){var Xe={};for(var X in c)Object.prototype.hasOwnProperty.call(c,X)&&C.indexOf(X)<0&&(Xe[X]=c[X]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,X=Object.getOwnPropertySymbols(c);Le{const{align:C,prefixCls:Xe,selectPrefixCls:X,className:Le,rootClassName:Ke,style:nt,size:lt,locale:et,responsive:w,showSizeChanger:ge,selectComponentClass:Ze,pageSizeOptions:Ve}=c,ot=$(c,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Tt}=(0,We.Z)(w),[,ct]=(0,Ae.ZP)(),{getPrefixCls:dt,direction:Rt,showSizeChanger:Vt,className:Ht,style:Xt}=(0,ze.dj)("pagination"),wt=dt("pagination",Xe),[Ut,yt,Bt]=o(wt),Pt=(0,xe.Z)(lt),kt=Pt==="small"||!!(Tt&&!Pt&&w),[Wt]=(0,st.Z)("Pagination",T.Z),pt=Object.assign(Object.assign({},Wt),et),[Lt,ln]=q(ge),[rn,xn]=q(Vt),Dn=Lt!=null?Lt:rn,Mn=ln!=null?ln:xn,tn=Ze||at.default,Nn=e.useMemo(()=>Ve?Ve.map(Be=>Number(Be)):void 0,[Ve]),Pn=Be=>{var Ie;const{disabled:I,size:k,onSizeChange:be,"aria-label":ye,className:m,options:re}=Be,{className:De,onChange:u}=Mn||{},S=(Ie=re.find(A=>String(A.value)===String(k)))===null||Ie===void 0?void 0:Ie.value;return e.createElement(tn,Object.assign({disabled:I,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:A=>A.parentNode,"aria-label":ye,options:re},Mn,{value:S,onChange:(A,ve)=>{be==null||be(A),u==null||u(A,ve)},size:kt?"small":"middle",className:P()(m,De)}))},bn=e.useMemo(()=>{const Be=e.createElement("span",{className:`${wt}-item-ellipsis`},"\u2022\u2022\u2022"),Ie=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(_.Z,null):e.createElement(r.Z,null)),I=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(r.Z,null):e.createElement(_.Z,null)),k=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(K.Z,{className:`${wt}-item-link-icon`}):e.createElement(Z,{className:`${wt}-item-link-icon`}),Be)),be=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(Z,{className:`${wt}-item-link-icon`}):e.createElement(K.Z,{className:`${wt}-item-link-icon`}),Be));return{prevIcon:Ie,nextIcon:I,jumpPrevIcon:k,jumpNextIcon:be}},[Rt,wt]),Fn=dt("select",X),_n=P()({[`${wt}-${C}`]:!!C,[`${wt}-mini`]:kt,[`${wt}-rtl`]:Rt==="rtl",[`${wt}-bordered`]:ct.wireframe},Ht,Le,Ke,yt,Bt),Jn=Object.assign(Object.assign({},Xt),nt);return Ut(e.createElement(e.Fragment,null,ct.wireframe&&e.createElement(se,{prefixCls:wt}),e.createElement(ce,Object.assign({},bn,ot,{style:Jn,prefixCls:wt,selectPrefixCls:Fn,className:_n,locale:pt,pageSizeOptions:Nn,showSizeChanger:Dn,sizeChangerRender:Pn}))))},ue=U},89787:function(an,_e,t){t.d(_e,{Z:function(){return et}});var e=t(59301),d=t(17835),i=t(29679),L=t(40001),x=t(19248),D=t(99267),E=t(92310),Z=t.n(E),K=t(2738),r=t(48755),_=t(54476),M=t(33885),P=t(75931),pe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},it=function(){var ge=(0,e.useRef)([]),Ze=(0,e.useRef)(null);return(0,e.useEffect)(function(){var Ve=Date.now(),ot=!1;ge.current.forEach(function(Tt){if(Tt){ot=!0;var ct=Tt.style;ct.transitionDuration=".3s, .3s, .3s, .06s",Ze.current&&Ve-Ze.current<100&&(ct.transitionDuration="0s, 0s")}}),ot&&(Ze.current=Date.now())}),ge.current},Fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Pe=function(ge){var Ze=(0,M.Z)((0,M.Z)({},pe),ge),Ve=Ze.className,ot=Ze.percent,Tt=Ze.prefixCls,ct=Ze.strokeColor,dt=Ze.strokeLinecap,Rt=Ze.strokeWidth,Vt=Ze.style,Ht=Ze.trailColor,Xt=Ze.trailWidth,wt=Ze.transition,Ut=(0,P.Z)(Ze,Fe);delete Ut.gapPosition;var yt=Array.isArray(ot)?ot:[ot],Bt=Array.isArray(ct)?ct:[ct],Pt=it(),kt=Rt/2,Wt=100-Rt/2,pt="M ".concat(dt==="round"?kt:0,",").concat(kt,` - L `).concat(dt==="round"?Wt:100,",").concat(kt),Lt="0 0 100 ".concat(Rt),ln=0;return e.createElement("svg",(0,_.Z)({className:Z()("".concat(Tt,"-line"),Ve),viewBox:Lt,preserveAspectRatio:"none",style:Vt},Ut),e.createElement("path",{className:"".concat(Tt,"-line-trail"),d:pt,strokeLinecap:dt,stroke:Ht,strokeWidth:Xt||Rt,fillOpacity:"0"}),yt.map(function(rn,xn){var Dn=1;switch(dt){case"round":Dn=1-Rt/100;break;case"square":Dn=1-Rt/2/100;break;default:Dn=1;break}var Mn={strokeDasharray:"".concat(rn*Dn,"px, 100px"),strokeDashoffset:"-".concat(ln,"px"),transition:wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tn=Bt[xn]||Bt[Bt.length-1];return ln+=rn,e.createElement("path",{key:xn,className:"".concat(Tt,"-line-path"),d:pt,strokeLinecap:dt,stroke:tn,strokeWidth:Rt,fillOpacity:"0",ref:function(Pn){Pt[xn]=Pn},style:Mn})}))},Ye=Pe,b=t(76190),Ce=t(42978),s=t(47273),p=0,ae=(0,s.Z)();function le(){var w;return ae?(w=p,p+=1):w="TEST_OR_SSR",w}var y=function(w){var ge=e.useState(),Ze=(0,Ce.Z)(ge,2),Ve=Ze[0],ot=Ze[1];return e.useEffect(function(){ot("rc_progress_".concat(le()))},[]),w||Ve},He=function(ge){var Ze=ge.bg,Ve=ge.children;return e.createElement("div",{style:{width:"100%",height:"100%",background:Ze}},Ve)};function Oe(w,ge){return Object.keys(w).map(function(Ze){var Ve=parseFloat(Ze),ot="".concat(Math.floor(Ve*ge),"%");return"".concat(w[Ze]," ").concat(ot)})}var ne=e.forwardRef(function(w,ge){var Ze=w.prefixCls,Ve=w.color,ot=w.gradientId,Tt=w.radius,ct=w.style,dt=w.ptg,Rt=w.strokeLinecap,Vt=w.strokeWidth,Ht=w.size,Xt=w.gapDegree,wt=Ve&&(0,b.Z)(Ve)==="object",Ut=wt?"#FFF":void 0,yt=Ht/2,Bt=e.createElement("circle",{className:"".concat(Ze,"-circle-path"),r:Tt,cx:yt,cy:yt,stroke:Ut,strokeLinecap:Rt,strokeWidth:Vt,opacity:dt===0?0:1,style:ct,ref:ge});if(!wt)return Bt;var Pt="".concat(ot,"-conic"),kt=Xt?"".concat(180+Xt/2,"deg"):"0deg",Wt=Oe(Ve,(360-Xt)/360),pt=Oe(Ve,1),Lt="conic-gradient(from ".concat(kt,", ").concat(Wt.join(", "),")"),ln="linear-gradient(to ".concat(Xt?"bottom":"top",", ").concat(pt.join(", "),")");return e.createElement(e.Fragment,null,e.createElement("mask",{id:Pt},Bt),e.createElement("foreignObject",{x:0,y:0,width:Ht,height:Ht,mask:"url(#".concat(Pt,")")},e.createElement(He,{bg:ln},e.createElement(He,{bg:Lt}))))}),Re=ne,de=100,H=function(ge,Ze,Ve,ot,Tt,ct,dt,Rt,Vt,Ht){var Xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wt=Ve/100*360*((360-ct)/360),Ut=ct===0?0:{bottom:0,top:180,left:90,right:-90}[dt],yt=(100-ot)/100*Ze;Vt==="round"&&ot!==100&&(yt+=Ht/2,yt>=Ze&&(yt=Ze-.01));var Bt=de/2;return{stroke:typeof Rt=="string"?Rt:void 0,strokeDasharray:"".concat(Ze,"px ").concat(ge),strokeDashoffset:yt+Xt,transform:"rotate(".concat(Tt+wt+Ut,"deg)"),transformOrigin:"".concat(Bt,"px ").concat(Bt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},n=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ce(w){var ge=w!=null?w:[];return Array.isArray(ge)?ge:[ge]}var T=function(ge){var Ze=(0,M.Z)((0,M.Z)({},pe),ge),Ve=Ze.id,ot=Ze.prefixCls,Tt=Ze.steps,ct=Ze.strokeWidth,dt=Ze.trailWidth,Rt=Ze.gapDegree,Vt=Rt===void 0?0:Rt,Ht=Ze.gapPosition,Xt=Ze.trailColor,wt=Ze.strokeLinecap,Ut=Ze.style,yt=Ze.className,Bt=Ze.strokeColor,Pt=Ze.percent,kt=(0,P.Z)(Ze,n),Wt=de/2,pt=y(Ve),Lt="".concat(pt,"-gradient"),ln=Wt-ct/2,rn=Math.PI*2*ln,xn=Vt>0?90+Vt/2:-90,Dn=rn*((360-Vt)/360),Mn=(0,b.Z)(Tt)==="object"?Tt:{count:Tt,gap:2},tn=Mn.count,Nn=Mn.gap,Pn=ce(Pt),bn=ce(Bt),Fn=bn.find(function(be){return be&&(0,b.Z)(be)==="object"}),_n=Fn&&(0,b.Z)(Fn)==="object",Jn=_n?"butt":wt,Be=H(rn,Dn,0,100,xn,Vt,Ht,Xt,Jn,ct),Ie=it(),I=function(){var ye=0;return Pn.map(function(m,re){var De=bn[re]||bn[bn.length-1],u=H(rn,Dn,ye,m,xn,Vt,Ht,De,Jn,ct);return ye+=m,e.createElement(Re,{key:re,color:De,ptg:m,radius:ln,prefixCls:ot,gradientId:Lt,style:u,strokeLinecap:Jn,strokeWidth:ct,gapDegree:Vt,ref:function(A){Ie[re]=A},size:de})}).reverse()},k=function(){var ye=Math.round(tn*(Pn[0]/100)),m=100/tn,re=0;return new Array(tn).fill(null).map(function(De,u){var S=u<=ye-1?bn[0]:Xt,A=S&&(0,b.Z)(S)==="object"?"url(#".concat(Lt,")"):void 0,ve=H(rn,Dn,re,m,xn,Vt,Ht,S,"butt",ct,Nn);return re+=(Dn-ve.strokeDashoffset+Nn)*100/Dn,e.createElement("circle",{key:u,className:"".concat(ot,"-circle-path"),r:ln,cx:Wt,cy:Wt,stroke:A,strokeWidth:ct,opacity:1,style:ve,ref:function(O){Ie[u]=O}})})};return e.createElement("svg",(0,_.Z)({className:Z()("".concat(ot,"-circle"),yt),viewBox:"0 0 ".concat(de," ").concat(de),style:Ut,id:Ve,role:"presentation"},kt),!tn&&e.createElement("circle",{className:"".concat(ot,"-circle-trail"),r:ln,cx:Wt,cy:Wt,stroke:Xt,strokeLinecap:Jn,strokeWidth:dt||ct,style:Be}),tn?k():I())},ze=T,xe={Line:Ye,Circle:ze},We=t(25399),st=t(68361);function at(w){return!w||w<0?0:w>100?100:w}function Ae(w){let{success:ge,successPercent:Ze}=w,Ve=Ze;return ge&&"progress"in ge&&(Ve=ge.progress),ge&&"percent"in ge&&(Ve=ge.percent),Ve}const tt=w=>{let{percent:ge,success:Ze,successPercent:Ve}=w;const ot=at(Ae({success:Ze,successPercent:Ve}));return[ot,at(at(ge)-ot)]},J=w=>{let{success:ge={},strokeColor:Ze}=w;const{strokeColor:Ve}=ge;return[Ve||st.presetPrimaryColors.green,Ze||null]},Se=(w,ge,Ze)=>{var Ve,ot,Tt,ct;let dt=-1,Rt=-1;if(ge==="step"){const Vt=Ze.steps,Ht=Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?(dt=w==="small"?2:14,Rt=Ht!=null?Ht:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=14,Rt=8]=Array.isArray(w)?w:[w.width,w.height],dt*=Vt}else if(ge==="line"){const Vt=Ze==null?void 0:Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?Rt=Vt||(w==="small"?6:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=-1,Rt=8]=Array.isArray(w)?w:[w.width,w.height]}else(ge==="circle"||ge==="dashboard")&&(typeof w=="string"||typeof w=="undefined"?[dt,Rt]=w==="small"?[60,60]:[120,120]:typeof w=="number"?[dt,Rt]=[w,w]:Array.isArray(w)&&(dt=(ot=(Ve=w[0])!==null&&Ve!==void 0?Ve:w[1])!==null&&ot!==void 0?ot:120,Rt=(ct=(Tt=w[0])!==null&&Tt!==void 0?Tt:w[1])!==null&&ct!==void 0?ct:120));return[dt,Rt]},me=3,Qe=w=>me/w*100;var Je=w=>{const{prefixCls:ge,trailColor:Ze=null,strokeLinecap:Ve="round",gapPosition:ot,gapDegree:Tt,width:ct=120,type:dt,children:Rt,success:Vt,size:Ht=ct,steps:Xt}=w,[wt,Ut]=Se(Ht,"circle");let{strokeWidth:yt}=w;yt===void 0&&(yt=Math.max(Qe(wt),6));const Bt={width:wt,height:Ut,fontSize:wt*.15+6},Pt=e.useMemo(()=>{if(Tt||Tt===0)return Tt;if(dt==="dashboard")return 75},[Tt,dt]),kt=tt(w),Wt=ot||dt==="dashboard"&&"bottom"||void 0,pt=Object.prototype.toString.call(w.strokeColor)==="[object Object]",Lt=J({success:Vt,strokeColor:w.strokeColor}),ln=Z()(`${ge}-inner`,{[`${ge}-circle-gradient`]:pt}),rn=e.createElement(ze,{steps:Xt,percent:Xt?kt[1]:kt,strokeWidth:yt,trailWidth:yt,strokeColor:Xt?Lt[1]:Lt,strokeLinecap:Ve,trailColor:Ze,prefixCls:ge,gapDegree:Pt,gapPosition:Wt}),xn=wt<=20,Dn=e.createElement("div",{className:ln,style:Bt},rn,!xn&&Rt);return xn?e.createElement(We.Z,{title:Rt},Dn):Dn},je=t(36237),bt=t(63356),Te=t(16931),G=t(51636);const R="--progress-line-stroke-color",V="--progress-percent",g=w=>{const ge=w?"100%":"-100%";return new je.Keyframes(`antProgress${w?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ge}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ge}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},fe=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:Object.assign(Object.assign({},(0,bt.Wf)(w)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:w.fontSize},[`${ge}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${ge}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:w.remainingColor,borderRadius:w.lineBorderRadius},[`${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.defaultColor}},[`${ge}-success-bg, ${ge}-bg`]:{position:"relative",background:w.defaultColor,borderRadius:w.lineBorderRadius,transition:`all ${w.motionDurationSlow} ${w.motionEaseInOutCirc}`},[`${ge}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${ge}-text`]:{width:"max-content",marginInlineStart:0,marginTop:w.marginXXS}},[`${ge}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${R})`]},height:"100%",width:`calc(1 / var(${V}) * 100%)`,display:"block"},[`&${ge}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${ge}-text-inner`]:{color:w.colorWhite,[`&${ge}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${ge}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:w.colorSuccess},[`${ge}-text`]:{display:"inline-block",marginInlineStart:w.marginXS,color:w.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ze]:{fontSize:w.fontSize},[`&${ge}-text-outer`]:{width:"max-content"},[`&${ge}-text-outer${ge}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:w.marginXS}},[`${ge}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,je.unit)(w.paddingXXS)}`,[`&${ge}-text-start`]:{justifyContent:"start"},[`&${ge}-text-end`]:{justifyContent:"end"}},[`&${ge}-status-active`]:{[`${ge}-bg::before`]:{position:"absolute",inset:0,backgroundColor:w.colorBgContainer,borderRadius:w.lineBorderRadius,opacity:0,animationName:g(),animationDuration:w.progressActiveMotionDuration,animationTimingFunction:w.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ge}-rtl${ge}-status-active`]:{[`${ge}-bg::before`]:{animationName:g(!0)}},[`&${ge}-status-exception`]:{[`${ge}-bg`]:{backgroundColor:w.colorError},[`${ge}-text`]:{color:w.colorError}},[`&${ge}-status-exception ${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.colorError}},[`&${ge}-status-success`]:{[`${ge}-bg`]:{backgroundColor:w.colorSuccess},[`${ge}-text`]:{color:w.colorSuccess}},[`&${ge}-status-success ${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.colorSuccess}}})}},z=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:{[`${ge}-circle-trail`]:{stroke:w.remainingColor},[`&${ge}-circle ${ge}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ge}-circle ${ge}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:w.circleTextColor,fontSize:w.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ze]:{fontSize:w.circleIconFontSize}},[`${ge}-circle&-status-exception`]:{[`${ge}-text`]:{color:w.colorError}},[`${ge}-circle&-status-success`]:{[`${ge}-text`]:{color:w.colorSuccess}}},[`${ge}-inline-circle`]:{lineHeight:1,[`${ge}-inner`]:{verticalAlign:"bottom"}}}},o=w=>{const{componentCls:ge}=w;return{[ge]:{[`${ge}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:w.progressStepMinWidth,marginInlineEnd:w.progressStepMarginInlineEnd,backgroundColor:w.remainingColor,transition:`all ${w.motionDurationSlow}`,"&-active":{backgroundColor:w.defaultColor}}}}}},f=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:{[`${ge}-small&-line, ${ge}-small&-line ${ge}-text ${Ze}`]:{fontSize:w.fontSizeSM}}}},se=w=>({circleTextColor:w.colorText,defaultColor:w.colorInfo,remainingColor:w.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${w.fontSize/w.fontSizeSM}em`});var q=(0,Te.I$)("Progress",w=>{const ge=w.calc(w.marginXXS).div(2).equal(),Ze=(0,G.mergeToken)(w,{progressStepMarginInlineEnd:ge,progressStepMinWidth:ge,progressActiveMotionDuration:"2.4s"});return[fe(Ze),z(Ze),o(Ze),f(Ze)]},se),$=function(w,ge){var Ze={};for(var Ve in w)Object.prototype.hasOwnProperty.call(w,Ve)&&ge.indexOf(Ve)<0&&(Ze[Ve]=w[Ve]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ve=Object.getOwnPropertySymbols(w);ot{let ge=[];return Object.keys(w).forEach(Ze=>{const Ve=parseFloat(Ze.replace(/%/g,""));Number.isNaN(Ve)||ge.push({key:Ve,value:w[Ze]})}),ge=ge.sort((Ze,Ve)=>Ze.key-Ve.key),ge.map(Ze=>{let{key:Ve,value:ot}=Ze;return`${ot} ${Ve}%`}).join(", ")},U=(w,ge)=>{const{from:Ze=st.presetPrimaryColors.blue,to:Ve=st.presetPrimaryColors.blue,direction:ot=ge==="rtl"?"to left":"to right"}=w,Tt=$(w,["from","to","direction"]);if(Object.keys(Tt).length!==0){const dt=N(Tt),Rt=`linear-gradient(${ot}, ${dt})`;return{background:Rt,[R]:Rt}}const ct=`linear-gradient(${ot}, ${Ze}, ${Ve})`;return{background:ct,[R]:ct}};var c=w=>{const{prefixCls:ge,direction:Ze,percent:Ve,size:ot,strokeWidth:Tt,strokeColor:ct,strokeLinecap:dt="round",children:Rt,trailColor:Vt=null,percentPosition:Ht,success:Xt}=w,{align:wt,type:Ut}=Ht,yt=ct&&typeof ct!="string"?U(ct,Ze):{[R]:ct,background:ct},Bt=dt==="square"||dt==="butt"?0:void 0,Pt=ot!=null?ot:[-1,Tt||(ot==="small"?6:8)],[kt,Wt]=Se(Pt,"line",{strokeWidth:Tt}),pt={backgroundColor:Vt||void 0,borderRadius:Bt},Lt=Object.assign(Object.assign({width:`${at(Ve)}%`,height:Wt,borderRadius:Bt},yt),{[V]:at(Ve)/100}),ln=Ae(w),rn={width:`${at(ln)}%`,height:Wt,borderRadius:Bt,backgroundColor:Xt==null?void 0:Xt.strokeColor},xn={width:kt<0?"100%":kt},Dn=e.createElement("div",{className:`${ge}-inner`,style:pt},e.createElement("div",{className:Z()(`${ge}-bg`,`${ge}-bg-${Ut}`),style:Lt},Ut==="inner"&&Rt),ln!==void 0&&e.createElement("div",{className:`${ge}-success-bg`,style:rn})),Mn=Ut==="outer"&&wt==="start",tn=Ut==="outer"&&wt==="end";return Ut==="outer"&&wt==="center"?e.createElement("div",{className:`${ge}-layout-bottom`},Dn,Rt):e.createElement("div",{className:`${ge}-outer`,style:xn},Mn&&Rt,Dn,tn&&Rt)},Xe=w=>{const{size:ge,steps:Ze,rounding:Ve=Math.round,percent:ot=0,strokeWidth:Tt=8,strokeColor:ct,trailColor:dt=null,prefixCls:Rt,children:Vt}=w,Ht=Ve(Ze*(ot/100)),Xt=ge==="small"?2:14,wt=ge!=null?ge:[Xt,Tt],[Ut,yt]=Se(wt,"step",{steps:Ze,strokeWidth:Tt}),Bt=Ut/Ze,Pt=Array.from({length:Ze});for(let kt=0;kt{const{prefixCls:Ze,className:Ve,rootClassName:ot,steps:Tt,strokeColor:ct,percent:dt=0,size:Rt="default",showInfo:Vt=!0,type:Ht="line",status:Xt,format:wt,style:Ut,percentPosition:yt={}}=w,Bt=X(w,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:kt="outer"}=yt,Wt=Array.isArray(ct)?ct[0]:ct,pt=typeof ct=="string"||Array.isArray(ct)?ct:void 0,Lt=e.useMemo(()=>{if(Wt){const I=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new d.FastColor(I).isLight()}return!1},[ct]),ln=e.useMemo(()=>{var I,k;const be=Ae(w);return parseInt(be!==void 0?(I=be!=null?be:0)===null||I===void 0?void 0:I.toString():(k=dt!=null?dt:0)===null||k===void 0?void 0:k.toString(),10)},[dt,w.success,w.successPercent]),rn=e.useMemo(()=>!Ke.includes(Xt)&&ln>=100?"success":Xt||"normal",[Xt,ln]),{getPrefixCls:xn,direction:Dn,progress:Mn}=e.useContext(r.E_),tn=xn("progress",Ze),[Nn,Pn,bn]=q(tn),Fn=Ht==="line",_n=Fn&&!Tt,Jn=e.useMemo(()=>{if(!Vt)return null;const I=Ae(w);let k;const be=wt||(m=>`${m}%`),ye=Fn&&Lt&&kt==="inner";return kt==="inner"||wt||rn!=="exception"&&rn!=="success"?k=be(at(dt),at(I)):rn==="exception"?k=Fn?e.createElement(x.Z,null):e.createElement(D.Z,null):rn==="success"&&(k=Fn?e.createElement(i.Z,null):e.createElement(L.Z,null)),e.createElement("span",{className:Z()(`${tn}-text`,{[`${tn}-text-bright`]:ye,[`${tn}-text-${Pt}`]:_n,[`${tn}-text-${kt}`]:_n}),title:typeof k=="string"?k:void 0},k)},[Vt,dt,ln,rn,Ht,tn,wt]);let Be;Ht==="line"?Be=Tt?e.createElement(Xe,Object.assign({},w,{strokeColor:pt,prefixCls:tn,steps:typeof Tt=="object"?Tt.count:Tt}),Jn):e.createElement(c,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,direction:Dn,percentPosition:{align:Pt,type:kt}}),Jn):(Ht==="circle"||Ht==="dashboard")&&(Be=e.createElement(Je,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,progressStatus:rn}),Jn));const Ie=Z()(tn,`${tn}-status-${rn}`,{[`${tn}-${Ht==="dashboard"&&"circle"||Ht}`]:Ht!=="line",[`${tn}-inline-circle`]:Ht==="circle"&&Se(Rt,"circle")[0]<=20,[`${tn}-line`]:_n,[`${tn}-line-align-${Pt}`]:_n,[`${tn}-line-position-${kt}`]:_n,[`${tn}-steps`]:Tt,[`${tn}-show-info`]:Vt,[`${tn}-${Rt}`]:typeof Rt=="string",[`${tn}-rtl`]:Dn==="rtl"},Mn==null?void 0:Mn.className,Ve,ot,Pn,bn);return Nn(e.createElement("div",Object.assign({ref:ge,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Ut),className:Ie,role:"progressbar","aria-valuenow":ln,"aria-valuemin":0,"aria-valuemax":100},(0,K.Z)(Bt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Be))}),et=lt},47889:function(an,_e,t){t.d(_e,{ZP:function(){return tt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(18929),x=t(26112),D=t(48755),E=t(83397),Z=t(31756);const K=e.createContext(null),r=K.Provider;var _=K;const M=e.createContext(null),P=M.Provider;var pe=t(16632),it=t(8654),Fe=t(12919),Pe=t(63872),Ye=t(74632),b=t(2171),Ce=t(56553),s=t(36237),p=t(63356),ae=t(16931),le=t(51636);const y=J=>{const{componentCls:Se,antCls:me}=J,Qe=`${Se}-group`;return{[Qe]:Object.assign(Object.assign({},(0,p.Wf)(J)),{display:"inline-block",fontSize:0,[`&${Qe}-rtl`]:{direction:"rtl"},[`&${Qe}-block`]:{display:"flex"},[`${me}-badge ${me}-badge-count`]:{zIndex:1},[`> ${me}-badge:not(:first-child) > ${me}-button-wrapper`]:{borderInlineStart:"none"}})}},He=J=>{const{componentCls:Se,wrapperMarginInlineEnd:me,colorPrimary:Qe,radioSize:ie,motionDurationSlow:Je,motionDurationMid:je,motionEaseInOutCirc:bt,colorBgContainer:Te,colorBorder:G,lineWidth:R,colorBgContainerDisabled:V,colorTextDisabled:g,paddingXS:fe,dotColorDisabled:z,lineType:o,radioColor:f,radioBgColor:se,calc:q}=J,$=`${Se}-inner`,U=q(ie).sub(q(4).mul(2)),ue=q(1).mul(ie).equal({unit:!0});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},(0,p.Wf)(J)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:me,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Se}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:J.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Se}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,s.unit)(R)} ${o} ${Qe}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Se]:Object.assign(Object.assign({},(0,p.Wf)(J)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Se}-wrapper:hover &, - &:hover ${$}`]:{borderColor:Qe},[`${Se}-input:focus-visible + ${$}`]:Object.assign({},(0,p.oN)(J)),[`${Se}:hover::after, ${Se}-wrapper:hover &::after`]:{visibility:"visible"},[`${Se}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ue,height:ue,marginBlockStart:q(1).mul(ie).div(-2).equal({unit:!0}),marginInlineStart:q(1).mul(ie).div(-2).equal({unit:!0}),backgroundColor:f,borderBlockStart:0,borderInlineStart:0,borderRadius:ue,transform:"scale(0)",opacity:0,transition:`all ${Je} ${bt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ue,height:ue,backgroundColor:Te,borderColor:G,borderStyle:"solid",borderWidth:R,borderRadius:"50%",transition:`all ${je}`},[`${Se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Se}-checked`]:{[$]:{borderColor:Qe,backgroundColor:se,"&::after":{transform:`scale(${J.calc(J.dotSize).div(ie).equal()})`,opacity:1,transition:`all ${Je} ${bt}`}}},[`${Se}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:V,borderColor:G,cursor:"not-allowed","&::after":{backgroundColor:z}},[`${Se}-input`]:{cursor:"not-allowed"},[`${Se}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${Se}-checked`]:{[$]:{"&::after":{transform:`scale(${q(U).div(ie).equal()})`}}}},[`span${Se} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},Oe=J=>{const{buttonColor:Se,controlHeight:me,componentCls:Qe,lineWidth:ie,lineType:Je,colorBorder:je,motionDurationSlow:bt,motionDurationMid:Te,buttonPaddingInline:G,fontSize:R,buttonBg:V,fontSizeLG:g,controlHeightLG:fe,controlHeightSM:z,paddingXS:o,borderRadius:f,borderRadiusSM:se,borderRadiusLG:q,buttonCheckedBg:$,buttonSolidCheckedColor:N,colorTextDisabled:U,colorBgContainerDisabled:ue,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:C,colorPrimary:Xe,colorPrimaryHover:X,colorPrimaryActive:Le,buttonSolidCheckedBg:Ke,buttonSolidCheckedHoverBg:nt,buttonSolidCheckedActiveBg:lt,calc:et}=J;return{[`${Qe}-button-wrapper`]:{position:"relative",display:"inline-block",height:me,margin:0,paddingInline:G,paddingBlock:0,color:Se,fontSize:R,lineHeight:(0,s.unit)(et(me).sub(et(ie).mul(2)).equal()),background:V,border:`${(0,s.unit)(ie)} ${Je} ${je}`,borderBlockStartWidth:et(ie).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ie,cursor:"pointer",transition:[`color ${Te}`,`background ${Te}`,`box-shadow ${Te}`].join(","),a:{color:Se},[`> ${Qe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:et(ie).mul(-1).equal(),insetInlineStart:et(ie).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ie,paddingInline:0,backgroundColor:je,transition:`background-color ${bt}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,s.unit)(ie)} ${Je} ${je}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${Qe}-group-large &`]:{height:fe,fontSize:g,lineHeight:(0,s.unit)(et(fe).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:q,borderEndStartRadius:q},"&:last-child":{borderStartEndRadius:q,borderEndEndRadius:q}},[`${Qe}-group-small &`]:{height:z,paddingInline:et(o).sub(ie).equal(),paddingBlock:0,lineHeight:(0,s.unit)(et(z).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:Xe},"&:has(:focus-visible)":Object.assign({},(0,p.oN)(J)),[`${Qe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Qe}-button-wrapper-disabled)`]:{zIndex:1,color:Xe,background:$,borderColor:Xe,"&::before":{backgroundColor:Xe},"&:first-child":{borderColor:Xe},"&:hover":{color:X,borderColor:X,"&::before":{backgroundColor:X}},"&:active":{color:Le,borderColor:Le,"&::before":{backgroundColor:Le}}},[`${Qe}-group-solid &-checked:not(${Qe}-button-wrapper-disabled)`]:{color:N,background:Ke,borderColor:Ke,"&:hover":{color:N,background:nt,borderColor:nt},"&:active":{color:N,background:lt,borderColor:lt}},"&-disabled":{color:U,backgroundColor:ue,borderColor:je,cursor:"not-allowed","&:first-child, &:hover":{color:U,backgroundColor:ue,borderColor:je}},[`&-disabled${Qe}-button-wrapper-checked`]:{color:C,backgroundColor:c,borderColor:je,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ne=J=>{const{wireframe:Se,padding:me,marginXS:Qe,lineWidth:ie,fontSizeLG:Je,colorText:je,colorBgContainer:bt,colorTextDisabled:Te,controlItemBgActiveDisabled:G,colorTextLightSolid:R,colorPrimary:V,colorPrimaryHover:g,colorPrimaryActive:fe,colorWhite:z}=J,o=4,f=Je,se=Se?f-o*2:f-(o+ie)*2;return{radioSize:f,dotSize:se,dotColorDisabled:Te,buttonSolidCheckedColor:R,buttonSolidCheckedBg:V,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:fe,buttonBg:bt,buttonCheckedBg:bt,buttonColor:je,buttonCheckedBgDisabled:G,buttonCheckedColorDisabled:Te,buttonPaddingInline:me-ie,wrapperMarginInlineEnd:Qe,radioColor:Se?V:z,radioBgColor:Se?bt:V}};var Re=(0,ae.I$)("Radio",J=>{const{controlOutline:Se,controlOutlineWidth:me}=J,Qe=`0 0 0 ${(0,s.unit)(me)} ${Se}`,ie=Qe,Je=(0,le.mergeToken)(J,{radioFocusShadow:Qe,radioButtonFocusShadow:ie});return[y(Je),He(Je),Oe(Je)]},ne,{unitless:{radioSize:!0,dotSize:!0}}),de=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{var me,Qe;const ie=e.useContext(_),Je=e.useContext(M),{getPrefixCls:je,direction:bt,radio:Te}=e.useContext(D.E_),G=e.useRef(null),R=(0,it.sQ)(Se,G),{isFormItemInput:V}=e.useContext(Ce.aM),g=w=>{var ge,Ze;(ge=J.onChange)===null||ge===void 0||ge.call(J,w),(Ze=ie==null?void 0:ie.onChange)===null||Ze===void 0||Ze.call(ie,w)},{prefixCls:fe,className:z,rootClassName:o,children:f,style:se,title:q}=J,$=de(J,["prefixCls","className","rootClassName","children","style","title"]),N=je("radio",fe),U=((ie==null?void 0:ie.optionType)||Je)==="button",ue=U?`${N}-button`:N,c=(0,E.Z)(N),[C,Xe,X]=Re(N,c),Le=Object.assign({},$),Ke=e.useContext(b.Z);ie&&(Le.name=ie.name,Le.onChange=g,Le.checked=J.value===ie.value,Le.disabled=(me=Le.disabled)!==null&&me!==void 0?me:ie.disabled),Le.disabled=(Qe=Le.disabled)!==null&&Qe!==void 0?Qe:Ke;const nt=i()(`${ue}-wrapper`,{[`${ue}-wrapper-checked`]:Le.checked,[`${ue}-wrapper-disabled`]:Le.disabled,[`${ue}-wrapper-rtl`]:bt==="rtl",[`${ue}-wrapper-in-form-item`]:V,[`${ue}-wrapper-block`]:!!(ie!=null&&ie.block)},Te==null?void 0:Te.className,z,o,Xe,X,c),[lt,et]=(0,Ye.Z)(Le.onClick);return C(e.createElement(Fe.Z,{component:"Radio",disabled:Le.disabled},e.createElement("label",{className:nt,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),se),onMouseEnter:J.onMouseEnter,onMouseLeave:J.onMouseLeave,title:q,onClick:lt},e.createElement(pe.Z,Object.assign({},Le,{className:i()(Le.className,{[Pe.A]:!U}),type:"radio",prefixCls:ue,ref:R,onClick:et})),f!==void 0?e.createElement("span",{className:`${ue}-label`},f):null)))};var ce=e.forwardRef(H),T=t(80402);const ze=e.forwardRef((J,Se)=>{const{getPrefixCls:me,direction:Qe}=e.useContext(D.E_),ie=(0,T.Z)(),{prefixCls:Je,className:je,rootClassName:bt,options:Te,buttonStyle:G="outline",disabled:R,children:V,size:g,style:fe,id:z,optionType:o,name:f=ie,defaultValue:se,value:q,block:$=!1,onChange:N,onMouseEnter:U,onMouseLeave:ue,onFocus:c,onBlur:C}=J,[Xe,X]=(0,L.Z)(se,{value:q}),Le=e.useCallback(ct=>{const dt=Xe,Rt=ct.target.value;"value"in J||X(Rt),Rt!==dt&&(N==null||N(ct))},[Xe,X,N]),Ke=me("radio",Je),nt=`${Ke}-group`,lt=(0,E.Z)(Ke),[et,w,ge]=Re(Ke,lt);let Ze=V;Te&&Te.length>0&&(Ze=Te.map(ct=>typeof ct=="string"||typeof ct=="number"?e.createElement(ce,{key:ct.toString(),prefixCls:Ke,disabled:R,value:ct,checked:Xe===ct},ct):e.createElement(ce,{key:`radio-group-value-options-${ct.value}`,prefixCls:Ke,disabled:ct.disabled||R,value:ct.value,checked:Xe===ct.value,title:ct.title,style:ct.style,id:ct.id,required:ct.required},ct.label)));const Ve=(0,Z.Z)(g),ot=i()(nt,`${nt}-${G}`,{[`${nt}-${Ve}`]:Ve,[`${nt}-rtl`]:Qe==="rtl",[`${nt}-block`]:$},je,bt,w,ge,lt),Tt=e.useMemo(()=>({onChange:Le,value:Xe,disabled:R,name:f,optionType:o,block:$}),[Le,Xe,R,f,o,$]);return et(e.createElement("div",Object.assign({},(0,x.Z)(J,{aria:!0,data:!0}),{className:ot,style:fe,onMouseEnter:U,onMouseLeave:ue,onFocus:c,onBlur:C,id:z,ref:Se}),e.createElement(r,{value:Tt},Ze)))});var xe=e.memo(ze),We=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{const{getPrefixCls:me}=e.useContext(D.E_),{prefixCls:Qe}=J,ie=We(J,["prefixCls"]),Je=me("radio",Qe);return e.createElement(P,{value:"button"},e.createElement(ce,Object.assign({prefixCls:Je},ie,{type:"radio",ref:Se})))};var at=e.forwardRef(st);const Ae=ce;Ae.Button=at,Ae.Group=xe,Ae.__ANT_RADIO=!0;var tt=Ae},82326:function(an,_e,t){var e=t(59301),d=t(92310),i=t.n(d),L=t(37463),x=t(2738),D=t(75030),E=t(86641),Z=t(45915),K=t(82855),r=t(48755),_=t(38406),M=t(2171),P=t(83397),pe=t(31756),it=t(56553),Fe=t(24971),Pe=t(70045),Ye=t(57700),b=t(1722),Ce=t(90376),s=t(68525),p=t(90005),ae=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n{var de;const{prefixCls:H,bordered:n,className:ce,rootClassName:T,getPopupContainer:ze,popupClassName:xe,dropdownClassName:We,listHeight:st=256,placement:at,listItemHeight:Ae,size:tt,disabled:J,notFoundContent:Se,status:me,builtinPlacements:Qe,dropdownMatchSelectWidth:ie,popupMatchSelectWidth:Je,direction:je,style:bt,allowClear:Te,variant:G,dropdownStyle:R,transitionName:V,tagRender:g,maxCount:fe,prefix:z}=ne,o=ae(ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:f,getPrefixCls:se,renderEmpty:q,direction:$,virtual:N,popupMatchSelectWidth:U,popupOverflow:ue}=e.useContext(r.E_),c=(0,r.dj)("select"),[,C]=(0,Ye.ZP)(),Xe=Ae!=null?Ae:C==null?void 0:C.controlHeight,X=se("select",H),Le=se(),Ke=je!=null?je:$,{compactSize:nt,compactItemClassnames:lt}=(0,Pe.ri)(X,Ke),[et,w]=(0,Fe.Z)("select",G,n),ge=(0,P.Z)(X),[Ze,Ve,ot]=(0,Ce.Z)(X,ge),Tt=e.useMemo(()=>{const{mode:Pn}=ne;if(Pn!=="combobox")return Pn===le?"combobox":Pn},[ne.mode]),ct=Tt==="multiple"||Tt==="tags",dt=(0,p.Z)(ne.suffixIcon,ne.showArrow),Rt=(de=Je!=null?Je:ie)!==null&&de!==void 0?de:U,{status:Vt,hasFeedback:Ht,isFormItemInput:Xt,feedbackIcon:wt}=e.useContext(it.aM),Ut=(0,K.F)(Vt,me);let yt;Se!==void 0?yt=Se:Tt==="combobox"?yt=null:yt=(q==null?void 0:q("Select"))||e.createElement(_.Z,{componentName:"Select"});const{suffixIcon:Bt,itemIcon:Pt,removeIcon:kt,clearIcon:Wt}=(0,s.Z)(Object.assign(Object.assign({},o),{multiple:ct,hasFeedback:Ht,feedbackIcon:wt,showSuffixIcon:dt,prefixCls:X,componentName:"Select"})),pt=Te===!0?{clearIcon:Wt}:Te,Lt=(0,x.Z)(o,["suffixIcon","itemIcon"]),ln=i()(xe||We,{[`${X}-dropdown-${Ke}`]:Ke==="rtl"},T,ot,ge,Ve),rn=(0,pe.Z)(Pn=>{var bn;return(bn=tt!=null?tt:nt)!==null&&bn!==void 0?bn:Pn}),xn=e.useContext(M.Z),Dn=J!=null?J:xn,Mn=i()({[`${X}-lg`]:rn==="large",[`${X}-sm`]:rn==="small",[`${X}-rtl`]:Ke==="rtl",[`${X}-${et}`]:w,[`${X}-in-form-item`]:Xt},(0,K.Z)(X,Ut,Ht),lt,c.className,ce,T,ot,ge,Ve),tn=e.useMemo(()=>at!==void 0?at:Ke==="rtl"?"bottomRight":"bottomLeft",[at,Ke]),[Nn]=(0,D.Cn)("SelectLike",R==null?void 0:R.zIndex);return Ze(e.createElement(L.ZP,Object.assign({ref:Re,virtual:N,showSearch:c.showSearch},Lt,{style:Object.assign(Object.assign({},c.style),bt),dropdownMatchSelectWidth:Rt,transitionName:(0,E.m)(Le,"slide-up",V),builtinPlacements:(0,b.Z)(Qe,ue),listHeight:st,listItemHeight:Xe,mode:Tt,prefixCls:X,placement:tn,direction:Ke,prefix:z,suffixIcon:Bt,menuItemSelectedIcon:Pt,removeIcon:kt,allowClear:pt,notFoundContent:yt,className:Mn,getPopupContainer:ze||f,dropdownClassName:ln,disabled:Dn,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Nn}),maxCount:ct?fe:void 0,tagRender:ct?g:void 0})))},He=e.forwardRef(y),Oe=(0,Z.Z)(He,"dropdownAlign");He.SECRET_COMBOBOX_MODE_DO_NOT_USE=le,He.Option=L.Wx,He.OptGroup=L.Xo,He._InternalPanelDoNotUseOrYouWillBeFired=Oe,_e.default=He},1722:function(an,_e){const t=d=>{const L={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:d==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},L),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},L),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},L),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},L),{points:["br","tr"],offset:[0,-4]})}};function e(d,i){return d||t(i)}_e.Z=e},90376:function(an,_e,t){t.d(_e,{Z:function(){return H}});var e=t(63356),d=t(56119),i=t(16931),L=t(51636),x=t(46e3),D=t(93873);const E=n=>{const{optionHeight:ce,optionFontSize:T,optionLineHeight:ze,optionPadding:xe}=n;return{position:"relative",display:"block",minHeight:ce,padding:xe,color:n.colorText,fontWeight:"normal",fontSize:T,lineHeight:ze,boxSizing:"border-box"}};var K=n=>{const{antCls:ce,componentCls:T}=n,ze=`${T}-item`,xe=`&${ce}-slide-up-enter${ce}-slide-up-enter-active`,We=`&${ce}-slide-up-appear${ce}-slide-up-appear-active`,st=`&${ce}-slide-up-leave${ce}-slide-up-leave-active`,at=`${T}-dropdown-placement-`,Ae=`${ze}-option-selected`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"absolute",top:-9999,zIndex:n.zIndexPopup,boxSizing:"border-box",padding:n.paddingXXS,overflow:"hidden",fontSize:n.fontSize,fontVariant:"initial",backgroundColor:n.colorBgElevated,borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary,[` + `]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,color:c.colorText,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}`},[`${C}-prev, ${C}-next`]:{outline:0,button:{color:c.colorText,cursor:"pointer",userSelect:"none"},[`${C}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:c.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:"none",transition:`all ${c.motionDurationMid}`},[`&:hover ${C}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${C}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${C}-disabled:hover`]:{[`${C}-item-link`]:{backgroundColor:"transparent"}}},[`${C}-slash`]:{marginInlineEnd:c.paginationSlashMarginInlineEnd,marginInlineStart:c.paginationSlashMarginInlineStart},[`${C}-options`]:{display:"inline-block",marginInlineStart:c.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:c.controlHeight,marginInlineStart:c.marginXS,lineHeight:(0,tt.unit)(c.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,J.ik)(c)),(0,me.$U)(c,{borderColor:c.colorBorder,hoverBorderColor:c.colorPrimaryHover,activeBorderColor:c.colorPrimary,activeShadow:c.activeShadow})),{"&[disabled]":Object.assign({},(0,me.Xy)(c)),width:c.calc(c.controlHeightLG).mul(1.25).equal(),height:c.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:c.marginXS,marginInlineEnd:c.marginXS})}}}},R=c=>{const{componentCls:C}=c;return{[`${C}-item`]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,marginInlineEnd:c.marginXS,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,tt.unit)(c.paginationItemPaddingInline)}`,color:c.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${C}-item-active)`]:{"&:hover":{transition:`all ${c.motionDurationMid}`,backgroundColor:c.colorBgTextHover},"&:active":{backgroundColor:c.colorBgTextActive}},"&-active":{fontWeight:c.fontWeightStrong,backgroundColor:c.itemActiveBg,borderColor:c.colorPrimary,a:{color:c.colorPrimary},"&:hover":{borderColor:c.colorPrimaryHover},"&:hover a":{color:c.colorPrimaryHover}}}}},U=c=>{const{componentCls:C}=c;return{[C]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(c)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${C}-total-text`]:{display:"inline-block",height:c.itemSize,marginInlineEnd:c.marginXS,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),verticalAlign:"middle"}}),R(c)),G(c)),Te(c)),bt(c)),je(c)),{[`@media only screen and (max-width: ${c.screenLG}px)`]:{[`${C}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${c.screenSM}px)`]:{[`${C}-options`]:{display:"none"}}}),[`&${c.componentCls}-rtl`]:{direction:"rtl"}}},g=c=>{const{componentCls:C}=c;return{[`${C}:not(${C}-disabled)`]:{[`${C}-item`]:Object.assign({},(0,Qe.Qy)(c)),[`${C}-jump-prev, ${C}-jump-next`]:{"&:focus-visible":Object.assign({[`${C}-item-link-icon`]:{opacity:1},[`${C}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(c))},[`${C}-prev, ${C}-next`]:{[`&:focus-visible ${C}-item-link`]:Object.assign({},(0,Qe.oN)(c))}}}},fe=c=>Object.assign({itemBg:c.colorBgContainer,itemSize:c.controlHeight,itemSizeSM:c.controlHeightSM,itemActiveBg:c.colorBgContainer,itemLinkBg:c.colorBgContainer,itemActiveColorDisabled:c.colorTextDisabled,itemActiveBgDisabled:c.controlItemBgActiveDisabled,itemInputBg:c.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Se.T)(c)),z=c=>(0,ie.mergeToken)(c,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:c.calc(c.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:c.calc(c.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:c.calc(c.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:c.calc(c.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:c.marginSM,paginationSlashMarginInlineEnd:c.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Se.e)(c));var o=(0,Je.I$)("Pagination",c=>{const C=z(c);return[U(C),g(C)]},fe);const f=c=>{const{componentCls:C}=c;return{[`${C}${C}-bordered${C}-disabled:not(${C}-mini)`]:{"&, &:hover":{[`${C}-item-link`]:{borderColor:c.colorBorder}},"&:focus-visible":{[`${C}-item-link`]:{borderColor:c.colorBorder}},[`${C}-item, ${C}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,[`&:hover:not(${C}-item-active)`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,a:{color:c.colorTextDisabled}},[`&${C}-item-active`]:{backgroundColor:c.itemActiveBgDisabled}},[`${C}-prev, ${C}-next`]:{"&:hover button":{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,color:c.colorTextDisabled},[`${C}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder}}},[`${C}${C}-bordered:not(${C}-mini)`]:{[`${C}-prev, ${C}-next`]:{"&:hover button":{borderColor:c.colorPrimaryHover,backgroundColor:c.itemBg},[`${C}-item-link`]:{backgroundColor:c.itemLinkBg,borderColor:c.colorBorder},[`&:hover ${C}-item-link`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,color:c.colorPrimary},[`&${C}-disabled`]:{[`${C}-item-link`]:{borderColor:c.colorBorder,color:c.colorTextDisabled}}},[`${C}-item`]:{backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} ${c.colorBorder}`,[`&:hover:not(${C}-item-active)`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,a:{color:c.colorPrimary}},"&-active":{borderColor:c.colorPrimary}}}}};var se=(0,Je.bk)(["Pagination","bordered"],c=>{const C=z(c);return[f(C)]},fe);function q(c){return(0,e.useMemo)(()=>typeof c=="boolean"?[c,{}]:c&&typeof c=="object"?[!0,c]:[void 0,void 0],[c])}var $=function(c,C){var Xe={};for(var W in c)Object.prototype.hasOwnProperty.call(c,W)&&C.indexOf(W)<0&&(Xe[W]=c[W]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,W=Object.getOwnPropertySymbols(c);Le{const{align:C,prefixCls:Xe,selectPrefixCls:W,className:Le,rootClassName:Ke,style:nt,size:lt,locale:et,responsive:w,showSizeChanger:ge,selectComponentClass:Ze,pageSizeOptions:Ve}=c,ot=$(c,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Tt}=(0,We.Z)(w),[,ct]=(0,Ae.ZP)(),{getPrefixCls:dt,direction:Rt,showSizeChanger:Vt,className:Ht,style:Xt}=(0,ze.dj)("pagination"),wt=dt("pagination",Xe),[Ut,yt,Bt]=o(wt),Pt=(0,xe.Z)(lt),kt=Pt==="small"||!!(Tt&&!Pt&&w),[Wt]=(0,st.Z)("Pagination",T.Z),pt=Object.assign(Object.assign({},Wt),et),[Lt,ln]=q(ge),[rn,xn]=q(Vt),Dn=Lt!=null?Lt:rn,Mn=ln!=null?ln:xn,tn=Ze||at.default,Nn=e.useMemo(()=>Ve?Ve.map(Be=>Number(Be)):void 0,[Ve]),Pn=Be=>{var Ie;const{disabled:I,size:k,onSizeChange:be,"aria-label":ye,className:m,options:re}=Be,{className:De,onChange:u}=Mn||{},S=(Ie=re.find(A=>String(A.value)===String(k)))===null||Ie===void 0?void 0:Ie.value;return e.createElement(tn,Object.assign({disabled:I,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:A=>A.parentNode,"aria-label":ye,options:re},Mn,{value:S,onChange:(A,ve)=>{be==null||be(A),u==null||u(A,ve)},size:kt?"small":"middle",className:P()(m,De)}))},bn=e.useMemo(()=>{const Be=e.createElement("span",{className:`${wt}-item-ellipsis`},"\u2022\u2022\u2022"),Ie=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(_.Z,null):e.createElement(r.Z,null)),I=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(r.Z,null):e.createElement(_.Z,null)),k=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(K.Z,{className:`${wt}-item-link-icon`}):e.createElement(Z,{className:`${wt}-item-link-icon`}),Be)),be=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(Z,{className:`${wt}-item-link-icon`}):e.createElement(K.Z,{className:`${wt}-item-link-icon`}),Be));return{prevIcon:Ie,nextIcon:I,jumpPrevIcon:k,jumpNextIcon:be}},[Rt,wt]),Fn=dt("select",W),_n=P()({[`${wt}-${C}`]:!!C,[`${wt}-mini`]:kt,[`${wt}-rtl`]:Rt==="rtl",[`${wt}-bordered`]:ct.wireframe},Ht,Le,Ke,yt,Bt),Jn=Object.assign(Object.assign({},Xt),nt);return Ut(e.createElement(e.Fragment,null,ct.wireframe&&e.createElement(se,{prefixCls:wt}),e.createElement(ce,Object.assign({},bn,ot,{style:Jn,prefixCls:wt,selectPrefixCls:Fn,className:_n,locale:pt,pageSizeOptions:Nn,showSizeChanger:Dn,sizeChangerRender:Pn}))))},ue=X},89787:function(an,_e,t){t.d(_e,{Z:function(){return et}});var e=t(59301),d=t(17835),i=t(29679),L=t(40001),x=t(19248),D=t(99267),E=t(92310),Z=t.n(E),K=t(2738),r=t(48755),_=t(54476),M=t(33885),P=t(75931),pe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},it=function(){var ge=(0,e.useRef)([]),Ze=(0,e.useRef)(null);return(0,e.useEffect)(function(){var Ve=Date.now(),ot=!1;ge.current.forEach(function(Tt){if(Tt){ot=!0;var ct=Tt.style;ct.transitionDuration=".3s, .3s, .3s, .06s",Ze.current&&Ve-Ze.current<100&&(ct.transitionDuration="0s, 0s")}}),ot&&(Ze.current=Date.now())}),ge.current},Fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Pe=function(ge){var Ze=(0,M.Z)((0,M.Z)({},pe),ge),Ve=Ze.className,ot=Ze.percent,Tt=Ze.prefixCls,ct=Ze.strokeColor,dt=Ze.strokeLinecap,Rt=Ze.strokeWidth,Vt=Ze.style,Ht=Ze.trailColor,Xt=Ze.trailWidth,wt=Ze.transition,Ut=(0,P.Z)(Ze,Fe);delete Ut.gapPosition;var yt=Array.isArray(ot)?ot:[ot],Bt=Array.isArray(ct)?ct:[ct],Pt=it(),kt=Rt/2,Wt=100-Rt/2,pt="M ".concat(dt==="round"?kt:0,",").concat(kt,` + L `).concat(dt==="round"?Wt:100,",").concat(kt),Lt="0 0 100 ".concat(Rt),ln=0;return e.createElement("svg",(0,_.Z)({className:Z()("".concat(Tt,"-line"),Ve),viewBox:Lt,preserveAspectRatio:"none",style:Vt},Ut),e.createElement("path",{className:"".concat(Tt,"-line-trail"),d:pt,strokeLinecap:dt,stroke:Ht,strokeWidth:Xt||Rt,fillOpacity:"0"}),yt.map(function(rn,xn){var Dn=1;switch(dt){case"round":Dn=1-Rt/100;break;case"square":Dn=1-Rt/2/100;break;default:Dn=1;break}var Mn={strokeDasharray:"".concat(rn*Dn,"px, 100px"),strokeDashoffset:"-".concat(ln,"px"),transition:wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tn=Bt[xn]||Bt[Bt.length-1];return ln+=rn,e.createElement("path",{key:xn,className:"".concat(Tt,"-line-path"),d:pt,strokeLinecap:dt,stroke:tn,strokeWidth:Rt,fillOpacity:"0",ref:function(Pn){Pt[xn]=Pn},style:Mn})}))},Ye=Pe,b=t(76190),Ce=t(42978),s=t(47273),p=0,ae=(0,s.Z)();function le(){var w;return ae?(w=p,p+=1):w="TEST_OR_SSR",w}var y=function(w){var ge=e.useState(),Ze=(0,Ce.Z)(ge,2),Ve=Ze[0],ot=Ze[1];return e.useEffect(function(){ot("rc_progress_".concat(le()))},[]),w||Ve},He=function(ge){var Ze=ge.bg,Ve=ge.children;return e.createElement("div",{style:{width:"100%",height:"100%",background:Ze}},Ve)};function Oe(w,ge){return Object.keys(w).map(function(Ze){var Ve=parseFloat(Ze),ot="".concat(Math.floor(Ve*ge),"%");return"".concat(w[Ze]," ").concat(ot)})}var ne=e.forwardRef(function(w,ge){var Ze=w.prefixCls,Ve=w.color,ot=w.gradientId,Tt=w.radius,ct=w.style,dt=w.ptg,Rt=w.strokeLinecap,Vt=w.strokeWidth,Ht=w.size,Xt=w.gapDegree,wt=Ve&&(0,b.Z)(Ve)==="object",Ut=wt?"#FFF":void 0,yt=Ht/2,Bt=e.createElement("circle",{className:"".concat(Ze,"-circle-path"),r:Tt,cx:yt,cy:yt,stroke:Ut,strokeLinecap:Rt,strokeWidth:Vt,opacity:dt===0?0:1,style:ct,ref:ge});if(!wt)return Bt;var Pt="".concat(ot,"-conic"),kt=Xt?"".concat(180+Xt/2,"deg"):"0deg",Wt=Oe(Ve,(360-Xt)/360),pt=Oe(Ve,1),Lt="conic-gradient(from ".concat(kt,", ").concat(Wt.join(", "),")"),ln="linear-gradient(to ".concat(Xt?"bottom":"top",", ").concat(pt.join(", "),")");return e.createElement(e.Fragment,null,e.createElement("mask",{id:Pt},Bt),e.createElement("foreignObject",{x:0,y:0,width:Ht,height:Ht,mask:"url(#".concat(Pt,")")},e.createElement(He,{bg:ln},e.createElement(He,{bg:Lt}))))}),Re=ne,de=100,H=function(ge,Ze,Ve,ot,Tt,ct,dt,Rt,Vt,Ht){var Xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wt=Ve/100*360*((360-ct)/360),Ut=ct===0?0:{bottom:0,top:180,left:90,right:-90}[dt],yt=(100-ot)/100*Ze;Vt==="round"&&ot!==100&&(yt+=Ht/2,yt>=Ze&&(yt=Ze-.01));var Bt=de/2;return{stroke:typeof Rt=="string"?Rt:void 0,strokeDasharray:"".concat(Ze,"px ").concat(ge),strokeDashoffset:yt+Xt,transform:"rotate(".concat(Tt+wt+Ut,"deg)"),transformOrigin:"".concat(Bt,"px ").concat(Bt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},n=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ce(w){var ge=w!=null?w:[];return Array.isArray(ge)?ge:[ge]}var T=function(ge){var Ze=(0,M.Z)((0,M.Z)({},pe),ge),Ve=Ze.id,ot=Ze.prefixCls,Tt=Ze.steps,ct=Ze.strokeWidth,dt=Ze.trailWidth,Rt=Ze.gapDegree,Vt=Rt===void 0?0:Rt,Ht=Ze.gapPosition,Xt=Ze.trailColor,wt=Ze.strokeLinecap,Ut=Ze.style,yt=Ze.className,Bt=Ze.strokeColor,Pt=Ze.percent,kt=(0,P.Z)(Ze,n),Wt=de/2,pt=y(Ve),Lt="".concat(pt,"-gradient"),ln=Wt-ct/2,rn=Math.PI*2*ln,xn=Vt>0?90+Vt/2:-90,Dn=rn*((360-Vt)/360),Mn=(0,b.Z)(Tt)==="object"?Tt:{count:Tt,gap:2},tn=Mn.count,Nn=Mn.gap,Pn=ce(Pt),bn=ce(Bt),Fn=bn.find(function(be){return be&&(0,b.Z)(be)==="object"}),_n=Fn&&(0,b.Z)(Fn)==="object",Jn=_n?"butt":wt,Be=H(rn,Dn,0,100,xn,Vt,Ht,Xt,Jn,ct),Ie=it(),I=function(){var ye=0;return Pn.map(function(m,re){var De=bn[re]||bn[bn.length-1],u=H(rn,Dn,ye,m,xn,Vt,Ht,De,Jn,ct);return ye+=m,e.createElement(Re,{key:re,color:De,ptg:m,radius:ln,prefixCls:ot,gradientId:Lt,style:u,strokeLinecap:Jn,strokeWidth:ct,gapDegree:Vt,ref:function(A){Ie[re]=A},size:de})}).reverse()},k=function(){var ye=Math.round(tn*(Pn[0]/100)),m=100/tn,re=0;return new Array(tn).fill(null).map(function(De,u){var S=u<=ye-1?bn[0]:Xt,A=S&&(0,b.Z)(S)==="object"?"url(#".concat(Lt,")"):void 0,ve=H(rn,Dn,re,m,xn,Vt,Ht,S,"butt",ct,Nn);return re+=(Dn-ve.strokeDashoffset+Nn)*100/Dn,e.createElement("circle",{key:u,className:"".concat(ot,"-circle-path"),r:ln,cx:Wt,cy:Wt,stroke:A,strokeWidth:ct,opacity:1,style:ve,ref:function(O){Ie[u]=O}})})};return e.createElement("svg",(0,_.Z)({className:Z()("".concat(ot,"-circle"),yt),viewBox:"0 0 ".concat(de," ").concat(de),style:Ut,id:Ve,role:"presentation"},kt),!tn&&e.createElement("circle",{className:"".concat(ot,"-circle-trail"),r:ln,cx:Wt,cy:Wt,stroke:Xt,strokeLinecap:Jn,strokeWidth:dt||ct,style:Be}),tn?k():I())},ze=T,xe={Line:Ye,Circle:ze},We=t(25399),st=t(68361);function at(w){return!w||w<0?0:w>100?100:w}function Ae(w){let{success:ge,successPercent:Ze}=w,Ve=Ze;return ge&&"progress"in ge&&(Ve=ge.progress),ge&&"percent"in ge&&(Ve=ge.percent),Ve}const tt=w=>{let{percent:ge,success:Ze,successPercent:Ve}=w;const ot=at(Ae({success:Ze,successPercent:Ve}));return[ot,at(at(ge)-ot)]},J=w=>{let{success:ge={},strokeColor:Ze}=w;const{strokeColor:Ve}=ge;return[Ve||st.presetPrimaryColors.green,Ze||null]},Se=(w,ge,Ze)=>{var Ve,ot,Tt,ct;let dt=-1,Rt=-1;if(ge==="step"){const Vt=Ze.steps,Ht=Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?(dt=w==="small"?2:14,Rt=Ht!=null?Ht:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=14,Rt=8]=Array.isArray(w)?w:[w.width,w.height],dt*=Vt}else if(ge==="line"){const Vt=Ze==null?void 0:Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?Rt=Vt||(w==="small"?6:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=-1,Rt=8]=Array.isArray(w)?w:[w.width,w.height]}else(ge==="circle"||ge==="dashboard")&&(typeof w=="string"||typeof w=="undefined"?[dt,Rt]=w==="small"?[60,60]:[120,120]:typeof w=="number"?[dt,Rt]=[w,w]:Array.isArray(w)&&(dt=(ot=(Ve=w[0])!==null&&Ve!==void 0?Ve:w[1])!==null&&ot!==void 0?ot:120,Rt=(ct=(Tt=w[0])!==null&&Tt!==void 0?Tt:w[1])!==null&&ct!==void 0?ct:120));return[dt,Rt]},me=3,Qe=w=>me/w*100;var Je=w=>{const{prefixCls:ge,trailColor:Ze=null,strokeLinecap:Ve="round",gapPosition:ot,gapDegree:Tt,width:ct=120,type:dt,children:Rt,success:Vt,size:Ht=ct,steps:Xt}=w,[wt,Ut]=Se(Ht,"circle");let{strokeWidth:yt}=w;yt===void 0&&(yt=Math.max(Qe(wt),6));const Bt={width:wt,height:Ut,fontSize:wt*.15+6},Pt=e.useMemo(()=>{if(Tt||Tt===0)return Tt;if(dt==="dashboard")return 75},[Tt,dt]),kt=tt(w),Wt=ot||dt==="dashboard"&&"bottom"||void 0,pt=Object.prototype.toString.call(w.strokeColor)==="[object Object]",Lt=J({success:Vt,strokeColor:w.strokeColor}),ln=Z()(`${ge}-inner`,{[`${ge}-circle-gradient`]:pt}),rn=e.createElement(ze,{steps:Xt,percent:Xt?kt[1]:kt,strokeWidth:yt,trailWidth:yt,strokeColor:Xt?Lt[1]:Lt,strokeLinecap:Ve,trailColor:Ze,prefixCls:ge,gapDegree:Pt,gapPosition:Wt}),xn=wt<=20,Dn=e.createElement("div",{className:ln,style:Bt},rn,!xn&&Rt);return xn?e.createElement(We.Z,{title:Rt},Dn):Dn},je=t(36237),bt=t(63356),Te=t(16931),G=t(51636);const R="--progress-line-stroke-color",U="--progress-percent",g=w=>{const ge=w?"100%":"-100%";return new je.Keyframes(`antProgress${w?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ge}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ge}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},fe=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:Object.assign(Object.assign({},(0,bt.Wf)(w)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:w.fontSize},[`${ge}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${ge}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:w.remainingColor,borderRadius:w.lineBorderRadius},[`${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.defaultColor}},[`${ge}-success-bg, ${ge}-bg`]:{position:"relative",background:w.defaultColor,borderRadius:w.lineBorderRadius,transition:`all ${w.motionDurationSlow} ${w.motionEaseInOutCirc}`},[`${ge}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${ge}-text`]:{width:"max-content",marginInlineStart:0,marginTop:w.marginXXS}},[`${ge}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${R})`]},height:"100%",width:`calc(1 / var(${U}) * 100%)`,display:"block"},[`&${ge}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${ge}-text-inner`]:{color:w.colorWhite,[`&${ge}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${ge}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:w.colorSuccess},[`${ge}-text`]:{display:"inline-block",marginInlineStart:w.marginXS,color:w.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ze]:{fontSize:w.fontSize},[`&${ge}-text-outer`]:{width:"max-content"},[`&${ge}-text-outer${ge}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:w.marginXS}},[`${ge}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,je.unit)(w.paddingXXS)}`,[`&${ge}-text-start`]:{justifyContent:"start"},[`&${ge}-text-end`]:{justifyContent:"end"}},[`&${ge}-status-active`]:{[`${ge}-bg::before`]:{position:"absolute",inset:0,backgroundColor:w.colorBgContainer,borderRadius:w.lineBorderRadius,opacity:0,animationName:g(),animationDuration:w.progressActiveMotionDuration,animationTimingFunction:w.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ge}-rtl${ge}-status-active`]:{[`${ge}-bg::before`]:{animationName:g(!0)}},[`&${ge}-status-exception`]:{[`${ge}-bg`]:{backgroundColor:w.colorError},[`${ge}-text`]:{color:w.colorError}},[`&${ge}-status-exception ${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.colorError}},[`&${ge}-status-success`]:{[`${ge}-bg`]:{backgroundColor:w.colorSuccess},[`${ge}-text`]:{color:w.colorSuccess}},[`&${ge}-status-success ${ge}-inner:not(${ge}-circle-gradient)`]:{[`${ge}-circle-path`]:{stroke:w.colorSuccess}}})}},z=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:{[`${ge}-circle-trail`]:{stroke:w.remainingColor},[`&${ge}-circle ${ge}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ge}-circle ${ge}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:w.circleTextColor,fontSize:w.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ze]:{fontSize:w.circleIconFontSize}},[`${ge}-circle&-status-exception`]:{[`${ge}-text`]:{color:w.colorError}},[`${ge}-circle&-status-success`]:{[`${ge}-text`]:{color:w.colorSuccess}}},[`${ge}-inline-circle`]:{lineHeight:1,[`${ge}-inner`]:{verticalAlign:"bottom"}}}},o=w=>{const{componentCls:ge}=w;return{[ge]:{[`${ge}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:w.progressStepMinWidth,marginInlineEnd:w.progressStepMarginInlineEnd,backgroundColor:w.remainingColor,transition:`all ${w.motionDurationSlow}`,"&-active":{backgroundColor:w.defaultColor}}}}}},f=w=>{const{componentCls:ge,iconCls:Ze}=w;return{[ge]:{[`${ge}-small&-line, ${ge}-small&-line ${ge}-text ${Ze}`]:{fontSize:w.fontSizeSM}}}},se=w=>({circleTextColor:w.colorText,defaultColor:w.colorInfo,remainingColor:w.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${w.fontSize/w.fontSizeSM}em`});var q=(0,Te.I$)("Progress",w=>{const ge=w.calc(w.marginXXS).div(2).equal(),Ze=(0,G.mergeToken)(w,{progressStepMarginInlineEnd:ge,progressStepMinWidth:ge,progressActiveMotionDuration:"2.4s"});return[fe(Ze),z(Ze),o(Ze),f(Ze)]},se),$=function(w,ge){var Ze={};for(var Ve in w)Object.prototype.hasOwnProperty.call(w,Ve)&&ge.indexOf(Ve)<0&&(Ze[Ve]=w[Ve]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ve=Object.getOwnPropertySymbols(w);ot{let ge=[];return Object.keys(w).forEach(Ze=>{const Ve=parseFloat(Ze.replace(/%/g,""));Number.isNaN(Ve)||ge.push({key:Ve,value:w[Ze]})}),ge=ge.sort((Ze,Ve)=>Ze.key-Ve.key),ge.map(Ze=>{let{key:Ve,value:ot}=Ze;return`${ot} ${Ve}%`}).join(", ")},X=(w,ge)=>{const{from:Ze=st.presetPrimaryColors.blue,to:Ve=st.presetPrimaryColors.blue,direction:ot=ge==="rtl"?"to left":"to right"}=w,Tt=$(w,["from","to","direction"]);if(Object.keys(Tt).length!==0){const dt=N(Tt),Rt=`linear-gradient(${ot}, ${dt})`;return{background:Rt,[R]:Rt}}const ct=`linear-gradient(${ot}, ${Ze}, ${Ve})`;return{background:ct,[R]:ct}};var c=w=>{const{prefixCls:ge,direction:Ze,percent:Ve,size:ot,strokeWidth:Tt,strokeColor:ct,strokeLinecap:dt="round",children:Rt,trailColor:Vt=null,percentPosition:Ht,success:Xt}=w,{align:wt,type:Ut}=Ht,yt=ct&&typeof ct!="string"?X(ct,Ze):{[R]:ct,background:ct},Bt=dt==="square"||dt==="butt"?0:void 0,Pt=ot!=null?ot:[-1,Tt||(ot==="small"?6:8)],[kt,Wt]=Se(Pt,"line",{strokeWidth:Tt}),pt={backgroundColor:Vt||void 0,borderRadius:Bt},Lt=Object.assign(Object.assign({width:`${at(Ve)}%`,height:Wt,borderRadius:Bt},yt),{[U]:at(Ve)/100}),ln=Ae(w),rn={width:`${at(ln)}%`,height:Wt,borderRadius:Bt,backgroundColor:Xt==null?void 0:Xt.strokeColor},xn={width:kt<0?"100%":kt},Dn=e.createElement("div",{className:`${ge}-inner`,style:pt},e.createElement("div",{className:Z()(`${ge}-bg`,`${ge}-bg-${Ut}`),style:Lt},Ut==="inner"&&Rt),ln!==void 0&&e.createElement("div",{className:`${ge}-success-bg`,style:rn})),Mn=Ut==="outer"&&wt==="start",tn=Ut==="outer"&&wt==="end";return Ut==="outer"&&wt==="center"?e.createElement("div",{className:`${ge}-layout-bottom`},Dn,Rt):e.createElement("div",{className:`${ge}-outer`,style:xn},Mn&&Rt,Dn,tn&&Rt)},Xe=w=>{const{size:ge,steps:Ze,rounding:Ve=Math.round,percent:ot=0,strokeWidth:Tt=8,strokeColor:ct,trailColor:dt=null,prefixCls:Rt,children:Vt}=w,Ht=Ve(Ze*(ot/100)),Xt=ge==="small"?2:14,wt=ge!=null?ge:[Xt,Tt],[Ut,yt]=Se(wt,"step",{steps:Ze,strokeWidth:Tt}),Bt=Ut/Ze,Pt=Array.from({length:Ze});for(let kt=0;kt{const{prefixCls:Ze,className:Ve,rootClassName:ot,steps:Tt,strokeColor:ct,percent:dt=0,size:Rt="default",showInfo:Vt=!0,type:Ht="line",status:Xt,format:wt,style:Ut,percentPosition:yt={}}=w,Bt=W(w,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:kt="outer"}=yt,Wt=Array.isArray(ct)?ct[0]:ct,pt=typeof ct=="string"||Array.isArray(ct)?ct:void 0,Lt=e.useMemo(()=>{if(Wt){const I=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new d.FastColor(I).isLight()}return!1},[ct]),ln=e.useMemo(()=>{var I,k;const be=Ae(w);return parseInt(be!==void 0?(I=be!=null?be:0)===null||I===void 0?void 0:I.toString():(k=dt!=null?dt:0)===null||k===void 0?void 0:k.toString(),10)},[dt,w.success,w.successPercent]),rn=e.useMemo(()=>!Ke.includes(Xt)&&ln>=100?"success":Xt||"normal",[Xt,ln]),{getPrefixCls:xn,direction:Dn,progress:Mn}=e.useContext(r.E_),tn=xn("progress",Ze),[Nn,Pn,bn]=q(tn),Fn=Ht==="line",_n=Fn&&!Tt,Jn=e.useMemo(()=>{if(!Vt)return null;const I=Ae(w);let k;const be=wt||(m=>`${m}%`),ye=Fn&&Lt&&kt==="inner";return kt==="inner"||wt||rn!=="exception"&&rn!=="success"?k=be(at(dt),at(I)):rn==="exception"?k=Fn?e.createElement(x.Z,null):e.createElement(D.Z,null):rn==="success"&&(k=Fn?e.createElement(i.Z,null):e.createElement(L.Z,null)),e.createElement("span",{className:Z()(`${tn}-text`,{[`${tn}-text-bright`]:ye,[`${tn}-text-${Pt}`]:_n,[`${tn}-text-${kt}`]:_n}),title:typeof k=="string"?k:void 0},k)},[Vt,dt,ln,rn,Ht,tn,wt]);let Be;Ht==="line"?Be=Tt?e.createElement(Xe,Object.assign({},w,{strokeColor:pt,prefixCls:tn,steps:typeof Tt=="object"?Tt.count:Tt}),Jn):e.createElement(c,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,direction:Dn,percentPosition:{align:Pt,type:kt}}),Jn):(Ht==="circle"||Ht==="dashboard")&&(Be=e.createElement(Je,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,progressStatus:rn}),Jn));const Ie=Z()(tn,`${tn}-status-${rn}`,{[`${tn}-${Ht==="dashboard"&&"circle"||Ht}`]:Ht!=="line",[`${tn}-inline-circle`]:Ht==="circle"&&Se(Rt,"circle")[0]<=20,[`${tn}-line`]:_n,[`${tn}-line-align-${Pt}`]:_n,[`${tn}-line-position-${kt}`]:_n,[`${tn}-steps`]:Tt,[`${tn}-show-info`]:Vt,[`${tn}-${Rt}`]:typeof Rt=="string",[`${tn}-rtl`]:Dn==="rtl"},Mn==null?void 0:Mn.className,Ve,ot,Pn,bn);return Nn(e.createElement("div",Object.assign({ref:ge,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Ut),className:Ie,role:"progressbar","aria-valuenow":ln,"aria-valuemin":0,"aria-valuemax":100},(0,K.Z)(Bt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Be))}),et=lt},47889:function(an,_e,t){t.d(_e,{ZP:function(){return tt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(18929),x=t(26112),D=t(48755),E=t(83397),Z=t(31756);const K=e.createContext(null),r=K.Provider;var _=K;const M=e.createContext(null),P=M.Provider;var pe=t(16632),it=t(8654),Fe=t(12919),Pe=t(63872),Ye=t(74632),b=t(2171),Ce=t(56553),s=t(36237),p=t(63356),ae=t(16931),le=t(51636);const y=J=>{const{componentCls:Se,antCls:me}=J,Qe=`${Se}-group`;return{[Qe]:Object.assign(Object.assign({},(0,p.Wf)(J)),{display:"inline-block",fontSize:0,[`&${Qe}-rtl`]:{direction:"rtl"},[`&${Qe}-block`]:{display:"flex"},[`${me}-badge ${me}-badge-count`]:{zIndex:1},[`> ${me}-badge:not(:first-child) > ${me}-button-wrapper`]:{borderInlineStart:"none"}})}},He=J=>{const{componentCls:Se,wrapperMarginInlineEnd:me,colorPrimary:Qe,radioSize:ie,motionDurationSlow:Je,motionDurationMid:je,motionEaseInOutCirc:bt,colorBgContainer:Te,colorBorder:G,lineWidth:R,colorBgContainerDisabled:U,colorTextDisabled:g,paddingXS:fe,dotColorDisabled:z,lineType:o,radioColor:f,radioBgColor:se,calc:q}=J,$=`${Se}-inner`,X=q(ie).sub(q(4).mul(2)),ue=q(1).mul(ie).equal({unit:!0});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},(0,p.Wf)(J)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:me,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Se}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:J.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Se}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,s.unit)(R)} ${o} ${Qe}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Se]:Object.assign(Object.assign({},(0,p.Wf)(J)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Se}-wrapper:hover &, + &:hover ${$}`]:{borderColor:Qe},[`${Se}-input:focus-visible + ${$}`]:Object.assign({},(0,p.oN)(J)),[`${Se}:hover::after, ${Se}-wrapper:hover &::after`]:{visibility:"visible"},[`${Se}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ue,height:ue,marginBlockStart:q(1).mul(ie).div(-2).equal({unit:!0}),marginInlineStart:q(1).mul(ie).div(-2).equal({unit:!0}),backgroundColor:f,borderBlockStart:0,borderInlineStart:0,borderRadius:ue,transform:"scale(0)",opacity:0,transition:`all ${Je} ${bt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ue,height:ue,backgroundColor:Te,borderColor:G,borderStyle:"solid",borderWidth:R,borderRadius:"50%",transition:`all ${je}`},[`${Se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Se}-checked`]:{[$]:{borderColor:Qe,backgroundColor:se,"&::after":{transform:`scale(${J.calc(J.dotSize).div(ie).equal()})`,opacity:1,transition:`all ${Je} ${bt}`}}},[`${Se}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:U,borderColor:G,cursor:"not-allowed","&::after":{backgroundColor:z}},[`${Se}-input`]:{cursor:"not-allowed"},[`${Se}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${Se}-checked`]:{[$]:{"&::after":{transform:`scale(${q(X).div(ie).equal()})`}}}},[`span${Se} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},Oe=J=>{const{buttonColor:Se,controlHeight:me,componentCls:Qe,lineWidth:ie,lineType:Je,colorBorder:je,motionDurationSlow:bt,motionDurationMid:Te,buttonPaddingInline:G,fontSize:R,buttonBg:U,fontSizeLG:g,controlHeightLG:fe,controlHeightSM:z,paddingXS:o,borderRadius:f,borderRadiusSM:se,borderRadiusLG:q,buttonCheckedBg:$,buttonSolidCheckedColor:N,colorTextDisabled:X,colorBgContainerDisabled:ue,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:C,colorPrimary:Xe,colorPrimaryHover:W,colorPrimaryActive:Le,buttonSolidCheckedBg:Ke,buttonSolidCheckedHoverBg:nt,buttonSolidCheckedActiveBg:lt,calc:et}=J;return{[`${Qe}-button-wrapper`]:{position:"relative",display:"inline-block",height:me,margin:0,paddingInline:G,paddingBlock:0,color:Se,fontSize:R,lineHeight:(0,s.unit)(et(me).sub(et(ie).mul(2)).equal()),background:U,border:`${(0,s.unit)(ie)} ${Je} ${je}`,borderBlockStartWidth:et(ie).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ie,cursor:"pointer",transition:[`color ${Te}`,`background ${Te}`,`box-shadow ${Te}`].join(","),a:{color:Se},[`> ${Qe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:et(ie).mul(-1).equal(),insetInlineStart:et(ie).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ie,paddingInline:0,backgroundColor:je,transition:`background-color ${bt}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,s.unit)(ie)} ${Je} ${je}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${Qe}-group-large &`]:{height:fe,fontSize:g,lineHeight:(0,s.unit)(et(fe).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:q,borderEndStartRadius:q},"&:last-child":{borderStartEndRadius:q,borderEndEndRadius:q}},[`${Qe}-group-small &`]:{height:z,paddingInline:et(o).sub(ie).equal(),paddingBlock:0,lineHeight:(0,s.unit)(et(z).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:Xe},"&:has(:focus-visible)":Object.assign({},(0,p.oN)(J)),[`${Qe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Qe}-button-wrapper-disabled)`]:{zIndex:1,color:Xe,background:$,borderColor:Xe,"&::before":{backgroundColor:Xe},"&:first-child":{borderColor:Xe},"&:hover":{color:W,borderColor:W,"&::before":{backgroundColor:W}},"&:active":{color:Le,borderColor:Le,"&::before":{backgroundColor:Le}}},[`${Qe}-group-solid &-checked:not(${Qe}-button-wrapper-disabled)`]:{color:N,background:Ke,borderColor:Ke,"&:hover":{color:N,background:nt,borderColor:nt},"&:active":{color:N,background:lt,borderColor:lt}},"&-disabled":{color:X,backgroundColor:ue,borderColor:je,cursor:"not-allowed","&:first-child, &:hover":{color:X,backgroundColor:ue,borderColor:je}},[`&-disabled${Qe}-button-wrapper-checked`]:{color:C,backgroundColor:c,borderColor:je,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ne=J=>{const{wireframe:Se,padding:me,marginXS:Qe,lineWidth:ie,fontSizeLG:Je,colorText:je,colorBgContainer:bt,colorTextDisabled:Te,controlItemBgActiveDisabled:G,colorTextLightSolid:R,colorPrimary:U,colorPrimaryHover:g,colorPrimaryActive:fe,colorWhite:z}=J,o=4,f=Je,se=Se?f-o*2:f-(o+ie)*2;return{radioSize:f,dotSize:se,dotColorDisabled:Te,buttonSolidCheckedColor:R,buttonSolidCheckedBg:U,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:fe,buttonBg:bt,buttonCheckedBg:bt,buttonColor:je,buttonCheckedBgDisabled:G,buttonCheckedColorDisabled:Te,buttonPaddingInline:me-ie,wrapperMarginInlineEnd:Qe,radioColor:Se?U:z,radioBgColor:Se?bt:U}};var Re=(0,ae.I$)("Radio",J=>{const{controlOutline:Se,controlOutlineWidth:me}=J,Qe=`0 0 0 ${(0,s.unit)(me)} ${Se}`,ie=Qe,Je=(0,le.mergeToken)(J,{radioFocusShadow:Qe,radioButtonFocusShadow:ie});return[y(Je),He(Je),Oe(Je)]},ne,{unitless:{radioSize:!0,dotSize:!0}}),de=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{var me,Qe;const ie=e.useContext(_),Je=e.useContext(M),{getPrefixCls:je,direction:bt,radio:Te}=e.useContext(D.E_),G=e.useRef(null),R=(0,it.sQ)(Se,G),{isFormItemInput:U}=e.useContext(Ce.aM),g=w=>{var ge,Ze;(ge=J.onChange)===null||ge===void 0||ge.call(J,w),(Ze=ie==null?void 0:ie.onChange)===null||Ze===void 0||Ze.call(ie,w)},{prefixCls:fe,className:z,rootClassName:o,children:f,style:se,title:q}=J,$=de(J,["prefixCls","className","rootClassName","children","style","title"]),N=je("radio",fe),X=((ie==null?void 0:ie.optionType)||Je)==="button",ue=X?`${N}-button`:N,c=(0,E.Z)(N),[C,Xe,W]=Re(N,c),Le=Object.assign({},$),Ke=e.useContext(b.Z);ie&&(Le.name=ie.name,Le.onChange=g,Le.checked=J.value===ie.value,Le.disabled=(me=Le.disabled)!==null&&me!==void 0?me:ie.disabled),Le.disabled=(Qe=Le.disabled)!==null&&Qe!==void 0?Qe:Ke;const nt=i()(`${ue}-wrapper`,{[`${ue}-wrapper-checked`]:Le.checked,[`${ue}-wrapper-disabled`]:Le.disabled,[`${ue}-wrapper-rtl`]:bt==="rtl",[`${ue}-wrapper-in-form-item`]:U,[`${ue}-wrapper-block`]:!!(ie!=null&&ie.block)},Te==null?void 0:Te.className,z,o,Xe,W,c),[lt,et]=(0,Ye.Z)(Le.onClick);return C(e.createElement(Fe.Z,{component:"Radio",disabled:Le.disabled},e.createElement("label",{className:nt,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),se),onMouseEnter:J.onMouseEnter,onMouseLeave:J.onMouseLeave,title:q,onClick:lt},e.createElement(pe.Z,Object.assign({},Le,{className:i()(Le.className,{[Pe.A]:!X}),type:"radio",prefixCls:ue,ref:R,onClick:et})),f!==void 0?e.createElement("span",{className:`${ue}-label`},f):null)))};var ce=e.forwardRef(H),T=t(80402);const ze=e.forwardRef((J,Se)=>{const{getPrefixCls:me,direction:Qe}=e.useContext(D.E_),ie=(0,T.Z)(),{prefixCls:Je,className:je,rootClassName:bt,options:Te,buttonStyle:G="outline",disabled:R,children:U,size:g,style:fe,id:z,optionType:o,name:f=ie,defaultValue:se,value:q,block:$=!1,onChange:N,onMouseEnter:X,onMouseLeave:ue,onFocus:c,onBlur:C}=J,[Xe,W]=(0,L.Z)(se,{value:q}),Le=e.useCallback(ct=>{const dt=Xe,Rt=ct.target.value;"value"in J||W(Rt),Rt!==dt&&(N==null||N(ct))},[Xe,W,N]),Ke=me("radio",Je),nt=`${Ke}-group`,lt=(0,E.Z)(Ke),[et,w,ge]=Re(Ke,lt);let Ze=U;Te&&Te.length>0&&(Ze=Te.map(ct=>typeof ct=="string"||typeof ct=="number"?e.createElement(ce,{key:ct.toString(),prefixCls:Ke,disabled:R,value:ct,checked:Xe===ct},ct):e.createElement(ce,{key:`radio-group-value-options-${ct.value}`,prefixCls:Ke,disabled:ct.disabled||R,value:ct.value,checked:Xe===ct.value,title:ct.title,style:ct.style,id:ct.id,required:ct.required},ct.label)));const Ve=(0,Z.Z)(g),ot=i()(nt,`${nt}-${G}`,{[`${nt}-${Ve}`]:Ve,[`${nt}-rtl`]:Qe==="rtl",[`${nt}-block`]:$},je,bt,w,ge,lt),Tt=e.useMemo(()=>({onChange:Le,value:Xe,disabled:R,name:f,optionType:o,block:$}),[Le,Xe,R,f,o,$]);return et(e.createElement("div",Object.assign({},(0,x.Z)(J,{aria:!0,data:!0}),{className:ot,style:fe,onMouseEnter:X,onMouseLeave:ue,onFocus:c,onBlur:C,id:z,ref:Se}),e.createElement(r,{value:Tt},Ze)))});var xe=e.memo(ze),We=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{const{getPrefixCls:me}=e.useContext(D.E_),{prefixCls:Qe}=J,ie=We(J,["prefixCls"]),Je=me("radio",Qe);return e.createElement(P,{value:"button"},e.createElement(ce,Object.assign({prefixCls:Je},ie,{type:"radio",ref:Se})))};var at=e.forwardRef(st);const Ae=ce;Ae.Button=at,Ae.Group=xe,Ae.__ANT_RADIO=!0;var tt=Ae},82326:function(an,_e,t){var e=t(59301),d=t(92310),i=t.n(d),L=t(37463),x=t(2738),D=t(75030),E=t(86641),Z=t(45915),K=t(82855),r=t(48755),_=t(38406),M=t(2171),P=t(83397),pe=t(31756),it=t(56553),Fe=t(24971),Pe=t(70045),Ye=t(57700),b=t(1722),Ce=t(90376),s=t(68525),p=t(90005),ae=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n{var de;const{prefixCls:H,bordered:n,className:ce,rootClassName:T,getPopupContainer:ze,popupClassName:xe,dropdownClassName:We,listHeight:st=256,placement:at,listItemHeight:Ae,size:tt,disabled:J,notFoundContent:Se,status:me,builtinPlacements:Qe,dropdownMatchSelectWidth:ie,popupMatchSelectWidth:Je,direction:je,style:bt,allowClear:Te,variant:G,dropdownStyle:R,transitionName:U,tagRender:g,maxCount:fe,prefix:z}=ne,o=ae(ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:f,getPrefixCls:se,renderEmpty:q,direction:$,virtual:N,popupMatchSelectWidth:X,popupOverflow:ue}=e.useContext(r.E_),c=(0,r.dj)("select"),[,C]=(0,Ye.ZP)(),Xe=Ae!=null?Ae:C==null?void 0:C.controlHeight,W=se("select",H),Le=se(),Ke=je!=null?je:$,{compactSize:nt,compactItemClassnames:lt}=(0,Pe.ri)(W,Ke),[et,w]=(0,Fe.Z)("select",G,n),ge=(0,P.Z)(W),[Ze,Ve,ot]=(0,Ce.Z)(W,ge),Tt=e.useMemo(()=>{const{mode:Pn}=ne;if(Pn!=="combobox")return Pn===le?"combobox":Pn},[ne.mode]),ct=Tt==="multiple"||Tt==="tags",dt=(0,p.Z)(ne.suffixIcon,ne.showArrow),Rt=(de=Je!=null?Je:ie)!==null&&de!==void 0?de:X,{status:Vt,hasFeedback:Ht,isFormItemInput:Xt,feedbackIcon:wt}=e.useContext(it.aM),Ut=(0,K.F)(Vt,me);let yt;Se!==void 0?yt=Se:Tt==="combobox"?yt=null:yt=(q==null?void 0:q("Select"))||e.createElement(_.Z,{componentName:"Select"});const{suffixIcon:Bt,itemIcon:Pt,removeIcon:kt,clearIcon:Wt}=(0,s.Z)(Object.assign(Object.assign({},o),{multiple:ct,hasFeedback:Ht,feedbackIcon:wt,showSuffixIcon:dt,prefixCls:W,componentName:"Select"})),pt=Te===!0?{clearIcon:Wt}:Te,Lt=(0,x.Z)(o,["suffixIcon","itemIcon"]),ln=i()(xe||We,{[`${W}-dropdown-${Ke}`]:Ke==="rtl"},T,ot,ge,Ve),rn=(0,pe.Z)(Pn=>{var bn;return(bn=tt!=null?tt:nt)!==null&&bn!==void 0?bn:Pn}),xn=e.useContext(M.Z),Dn=J!=null?J:xn,Mn=i()({[`${W}-lg`]:rn==="large",[`${W}-sm`]:rn==="small",[`${W}-rtl`]:Ke==="rtl",[`${W}-${et}`]:w,[`${W}-in-form-item`]:Xt},(0,K.Z)(W,Ut,Ht),lt,c.className,ce,T,ot,ge,Ve),tn=e.useMemo(()=>at!==void 0?at:Ke==="rtl"?"bottomRight":"bottomLeft",[at,Ke]),[Nn]=(0,D.Cn)("SelectLike",R==null?void 0:R.zIndex);return Ze(e.createElement(L.ZP,Object.assign({ref:Re,virtual:N,showSearch:c.showSearch},Lt,{style:Object.assign(Object.assign({},c.style),bt),dropdownMatchSelectWidth:Rt,transitionName:(0,E.m)(Le,"slide-up",U),builtinPlacements:(0,b.Z)(Qe,ue),listHeight:st,listItemHeight:Xe,mode:Tt,prefixCls:W,placement:tn,direction:Ke,prefix:z,suffixIcon:Bt,menuItemSelectedIcon:Pt,removeIcon:kt,allowClear:pt,notFoundContent:yt,className:Mn,getPopupContainer:ze||f,dropdownClassName:ln,disabled:Dn,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Nn}),maxCount:ct?fe:void 0,tagRender:ct?g:void 0})))},He=e.forwardRef(y),Oe=(0,Z.Z)(He,"dropdownAlign");He.SECRET_COMBOBOX_MODE_DO_NOT_USE=le,He.Option=L.Wx,He.OptGroup=L.Xo,He._InternalPanelDoNotUseOrYouWillBeFired=Oe,_e.default=He},1722:function(an,_e){const t=d=>{const L={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:d==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},L),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},L),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},L),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},L),{points:["br","tr"],offset:[0,-4]})}};function e(d,i){return d||t(i)}_e.Z=e},90376:function(an,_e,t){t.d(_e,{Z:function(){return H}});var e=t(63356),d=t(56119),i=t(16931),L=t(51636),x=t(46e3),D=t(93873);const E=n=>{const{optionHeight:ce,optionFontSize:T,optionLineHeight:ze,optionPadding:xe}=n;return{position:"relative",display:"block",minHeight:ce,padding:xe,color:n.colorText,fontWeight:"normal",fontSize:T,lineHeight:ze,boxSizing:"border-box"}};var K=n=>{const{antCls:ce,componentCls:T}=n,ze=`${T}-item`,xe=`&${ce}-slide-up-enter${ce}-slide-up-enter-active`,We=`&${ce}-slide-up-appear${ce}-slide-up-appear-active`,st=`&${ce}-slide-up-leave${ce}-slide-up-leave-active`,at=`${T}-dropdown-placement-`,Ae=`${ze}-option-selected`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"absolute",top:-9999,zIndex:n.zIndexPopup,boxSizing:"border-box",padding:n.paddingXXS,overflow:"hidden",fontSize:n.fontSize,fontVariant:"initial",backgroundColor:n.colorBgElevated,borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary,[` ${xe}${at}bottomLeft, ${We}${at}bottomLeft `]:{animationName:x.fJ},[` @@ -97,18 +97,18 @@ `]:{paddingInlineEnd:n.showArrowPaddingInlineEnd},[`&${T}-open ${T}-selection-item`]:{color:n.colorTextPlaceholder},[`&:not(${T}-customize-input)`]:{[`${T}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,_.unit)(ze)}`,[`${T}-selection-search-input`]:{height:We,fontSize:n.fontSize},"&:after":{lineHeight:(0,_.unit)(We)}}},[`&${T}-customize-input`]:{[`${T}-selector`]:{"&:after":{display:"none"},[`${T}-selection-search`]:{position:"static",width:"100%"},[`${T}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,_.unit)(ze)}`,"&:after":{display:"none"}}}}}}}function P(n){const{componentCls:ce}=n,T=n.calc(n.controlPaddingHorizontalSM).sub(n.lineWidth).equal();return[M(n),M((0,L.mergeToken)(n,{controlHeight:n.controlHeightSM,borderRadius:n.borderRadiusSM}),"sm"),{[`${ce}-single${ce}-sm`]:{[`&:not(${ce}-customize-input)`]:{[`${ce}-selector`]:{padding:`0 ${(0,_.unit)(T)}`},[`&${ce}-show-arrow ${ce}-selection-search`]:{insetInlineEnd:n.calc(T).add(n.calc(n.fontSize).mul(1.5)).equal()},[` &${ce}-show-arrow ${ce}-selection-item, &${ce}-show-arrow ${ce}-selection-placeholder - `]:{paddingInlineEnd:n.calc(n.fontSize).mul(1.5).equal()}}}},M((0,L.mergeToken)(n,{controlHeight:n.singleItemHeightLG,fontSize:n.fontSizeLG,borderRadius:n.borderRadiusLG}),"lg")]}const pe=n=>{const{fontSize:ce,lineHeight:T,lineWidth:ze,controlHeight:xe,controlHeightSM:We,controlHeightLG:st,paddingXXS:at,controlPaddingHorizontal:Ae,zIndexPopupBase:tt,colorText:J,fontWeightStrong:Se,controlItemBgActive:me,controlItemBgHover:Qe,colorBgContainer:ie,colorFillSecondary:Je,colorBgContainerDisabled:je,colorTextDisabled:bt,colorPrimaryHover:Te,colorPrimary:G,controlOutline:R}=n,V=at*2,g=ze*2,fe=Math.min(xe-V,xe-g),z=Math.min(We-V,We-g),o=Math.min(st-V,st-g);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(at/2),zIndexPopup:tt+50,optionSelectedColor:J,optionSelectedFontWeight:Se,optionSelectedBg:me,optionActiveBg:Qe,optionPadding:`${(xe-ce*T)/2}px ${Ae}px`,optionFontSize:ce,optionLineHeight:T,optionHeight:xe,selectorBg:ie,clearBg:ie,singleItemHeightLG:st,multipleItemBg:Je,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:z,multipleItemHeightLG:o,multipleSelectorBgDisabled:je,multipleItemColorDisabled:bt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(n.fontSize*1.25),hoverBorderColor:Te,activeBorderColor:G,activeOutlineColor:R,selectAffixPadding:at}},it=(n,ce)=>{const{componentCls:T,antCls:ze,controlOutlineWidth:xe}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${ce.borderColor}`,background:n.selectorBg},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,boxShadow:`0 0 0 ${(0,_.unit)(xe)} ${ce.activeOutlineColor}`,outline:0},[`${T}-prefix`]:{color:ce.color}}}},Fe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},it(n,ce))}),Pe=n=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},it(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),Fe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),Fe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})}),Ye=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{background:ce.bg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} transparent`,color:ce.color},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{background:ce.hoverBg},[`${T}-focused& ${T}-selector`]:{background:n.selectorBg,borderColor:ce.activeBorderColor,outline:0}}}},b=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},Ye(n,ce))}),Ce=n=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ye(n,{bg:n.colorFillTertiary,hoverBg:n.colorFillSecondary,activeBorderColor:n.activeBorderColor,color:n.colorText})),b(n,{status:"error",bg:n.colorErrorBg,hoverBg:n.colorErrorBgHover,activeBorderColor:n.colorError,color:n.colorError})),b(n,{status:"warning",bg:n.colorWarningBg,hoverBg:n.colorWarningBgHover,activeBorderColor:n.colorWarning,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{borderColor:n.colorBorder,background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.colorBgContainer,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`}})}),s=n=>({"&-borderless":{[`${n.componentCls}-selector`]:{background:"transparent",border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} transparent`},[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`},[`&${n.componentCls}-status-error`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorError}},[`&${n.componentCls}-status-warning`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorWarning}}}}),p=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{borderWidth:`0 0 ${(0,_.unit)(n.lineWidth)} 0`,borderStyle:`none none ${n.lineType} none`,borderColor:ce.borderColor,background:n.selectorBg,borderRadius:0},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,outline:0},[`${T}-prefix`]:{color:ce.color}}}},ae=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},p(n,ce))}),le=n=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},p(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),ae(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),ae(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})});var He=n=>({[n.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Pe(n)),Ce(n)),s(n)),le(n))});const Oe=n=>{const{componentCls:ce}=n;return{position:"relative",transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,input:{cursor:"pointer"},[`${ce}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ce}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ne=n=>{const{componentCls:ce}=n;return{[`${ce}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Re=n=>{const{antCls:ce,componentCls:T,inputPaddingHorizontalBase:ze,iconCls:xe}=n;return{[T]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${T}-customize-input) ${T}-selector`]:Object.assign(Object.assign({},Oe(n)),ne(n)),[`${T}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${ce}-typography`]:{display:"inline"}}),[`${T}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:n.colorTextPlaceholder,pointerEvents:"none"}),[`${T}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${n.motionDurationSlow} ease`,[xe]:{verticalAlign:"top",transition:`transform ${n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${T}-suffix)`]:{pointerEvents:"auto"}},[`${T}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${T}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${T}-prefix`]:{flex:"none",marginInlineEnd:n.selectAffixPadding},[`${T}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,zIndex:1,display:"inline-block",width:n.fontSizeIcon,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${n.motionDurationMid} ease, opacity ${n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:n.colorTextTertiary}},[`&:hover ${T}-clear`]:{opacity:1,background:n.colorBgBase,borderRadius:"50%"}}),[`${T}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${T}-has-feedback`]:{[`${T}-clear`]:{insetInlineEnd:n.calc(ze).add(n.fontSize).add(n.paddingXS).equal()}}}}}},de=n=>{const{componentCls:ce}=n;return[{[ce]:{[`&${ce}-in-form-item`]:{width:"100%"}}},Re(n),P(n),(0,r.ZP)(n),K(n),{[`${ce}-rtl`]:{direction:"rtl"}},(0,d.c)(n,{borderElCls:`${ce}-selector`,focusElCls:`${ce}-focused`})]};var H=(0,i.I$)("Select",(n,ce)=>{let{rootPrefixCls:T}=ce;const ze=(0,L.mergeToken)(n,{rootPrefixCls:T,inputPaddingHorizontalBase:n.calc(n.paddingSM).sub(1).equal(),multipleSelectItemHeight:n.multipleItemHeight,selectHeight:n.controlHeight});return[de(ze),He(ze)]},pe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(an,_e,t){t.d(_e,{_z:function(){return D},gp:function(){return L}});var e=t(36237),d=t(63356),i=t(51636);const L=r=>{const{multipleSelectItemHeight:_,paddingXXS:M,lineWidth:P,INTERNAL_FIXED_ITEM_MARGIN:pe}=r,it=r.max(r.calc(M).sub(P).equal(),0),Fe=r.max(r.calc(it).sub(pe).equal(),0);return{basePadding:it,containerPadding:Fe,itemHeight:(0,e.unit)(_),itemLineHeight:(0,e.unit)(r.calc(_).sub(r.calc(r.lineWidth).mul(2)).equal())}},x=r=>{const{multipleSelectItemHeight:_,selectHeight:M,lineWidth:P}=r;return r.calc(M).sub(_).div(2).sub(P).equal()},D=r=>{const{componentCls:_,iconCls:M,borderRadiusSM:P,motionDurationSlow:pe,paddingXS:it,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:Pe,colorIcon:Ye,colorIconHover:b,INTERNAL_FIXED_ITEM_MARGIN:Ce}=r;return{[`${_}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${_}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ce,borderRadius:P,cursor:"default",transition:`font-size ${pe}, line-height ${pe}, height ${pe}`,marginInlineEnd:r.calc(Ce).mul(2).equal(),paddingInlineStart:it,paddingInlineEnd:r.calc(it).div(2).equal(),[`${_}-disabled&`]:{color:Fe,borderColor:Pe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.calc(it).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,d.Ro)()),{display:"inline-flex",alignItems:"center",color:Ye,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${M}`]:{verticalAlign:"-0.2em"},"&:hover":{color:b}})}}}},E=(r,_)=>{const{componentCls:M,INTERNAL_FIXED_ITEM_MARGIN:P}=r,pe=`${M}-selection-overflow`,it=r.multipleSelectItemHeight,Fe=x(r),Pe=_?`${M}-${_}`:"",Ye=L(r);return{[`${M}-multiple${Pe}`]:Object.assign(Object.assign({},D(r)),{[`${M}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ye.basePadding,paddingBlock:Ye.containerPadding,borderRadius:r.borderRadius,[`${M}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(P)} 0`,lineHeight:(0,e.unit)(it),visibility:"hidden",content:'"\\a0"'}},[`${M}-selection-item`]:{height:Ye.itemHeight,lineHeight:(0,e.unit)(Ye.itemLineHeight)},[`${M}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(it),marginBlock:P}},[`${M}-prefix`]:{marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ye.basePadding).equal()},[`${pe}-item + ${pe}-item, + `]:{paddingInlineEnd:n.calc(n.fontSize).mul(1.5).equal()}}}},M((0,L.mergeToken)(n,{controlHeight:n.singleItemHeightLG,fontSize:n.fontSizeLG,borderRadius:n.borderRadiusLG}),"lg")]}const pe=n=>{const{fontSize:ce,lineHeight:T,lineWidth:ze,controlHeight:xe,controlHeightSM:We,controlHeightLG:st,paddingXXS:at,controlPaddingHorizontal:Ae,zIndexPopupBase:tt,colorText:J,fontWeightStrong:Se,controlItemBgActive:me,controlItemBgHover:Qe,colorBgContainer:ie,colorFillSecondary:Je,colorBgContainerDisabled:je,colorTextDisabled:bt,colorPrimaryHover:Te,colorPrimary:G,controlOutline:R}=n,U=at*2,g=ze*2,fe=Math.min(xe-U,xe-g),z=Math.min(We-U,We-g),o=Math.min(st-U,st-g);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(at/2),zIndexPopup:tt+50,optionSelectedColor:J,optionSelectedFontWeight:Se,optionSelectedBg:me,optionActiveBg:Qe,optionPadding:`${(xe-ce*T)/2}px ${Ae}px`,optionFontSize:ce,optionLineHeight:T,optionHeight:xe,selectorBg:ie,clearBg:ie,singleItemHeightLG:st,multipleItemBg:Je,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:z,multipleItemHeightLG:o,multipleSelectorBgDisabled:je,multipleItemColorDisabled:bt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(n.fontSize*1.25),hoverBorderColor:Te,activeBorderColor:G,activeOutlineColor:R,selectAffixPadding:at}},it=(n,ce)=>{const{componentCls:T,antCls:ze,controlOutlineWidth:xe}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${ce.borderColor}`,background:n.selectorBg},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,boxShadow:`0 0 0 ${(0,_.unit)(xe)} ${ce.activeOutlineColor}`,outline:0},[`${T}-prefix`]:{color:ce.color}}}},Fe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},it(n,ce))}),Pe=n=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},it(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),Fe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),Fe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})}),Ye=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{background:ce.bg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} transparent`,color:ce.color},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{background:ce.hoverBg},[`${T}-focused& ${T}-selector`]:{background:n.selectorBg,borderColor:ce.activeBorderColor,outline:0}}}},b=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},Ye(n,ce))}),Ce=n=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ye(n,{bg:n.colorFillTertiary,hoverBg:n.colorFillSecondary,activeBorderColor:n.activeBorderColor,color:n.colorText})),b(n,{status:"error",bg:n.colorErrorBg,hoverBg:n.colorErrorBgHover,activeBorderColor:n.colorError,color:n.colorError})),b(n,{status:"warning",bg:n.colorWarningBg,hoverBg:n.colorWarningBgHover,activeBorderColor:n.colorWarning,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{borderColor:n.colorBorder,background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.colorBgContainer,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`}})}),s=n=>({"&-borderless":{[`${n.componentCls}-selector`]:{background:"transparent",border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} transparent`},[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`},[`&${n.componentCls}-status-error`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorError}},[`&${n.componentCls}-status-warning`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorWarning}}}}),p=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{borderWidth:`0 0 ${(0,_.unit)(n.lineWidth)} 0`,borderStyle:`none none ${n.lineType} none`,borderColor:ce.borderColor,background:n.selectorBg,borderRadius:0},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,outline:0},[`${T}-prefix`]:{color:ce.color}}}},ae=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},p(n,ce))}),le=n=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},p(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),ae(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),ae(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,_.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})});var He=n=>({[n.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Pe(n)),Ce(n)),s(n)),le(n))});const Oe=n=>{const{componentCls:ce}=n;return{position:"relative",transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,input:{cursor:"pointer"},[`${ce}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ce}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ne=n=>{const{componentCls:ce}=n;return{[`${ce}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Re=n=>{const{antCls:ce,componentCls:T,inputPaddingHorizontalBase:ze,iconCls:xe}=n;return{[T]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${T}-customize-input) ${T}-selector`]:Object.assign(Object.assign({},Oe(n)),ne(n)),[`${T}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${ce}-typography`]:{display:"inline"}}),[`${T}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:n.colorTextPlaceholder,pointerEvents:"none"}),[`${T}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${n.motionDurationSlow} ease`,[xe]:{verticalAlign:"top",transition:`transform ${n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${T}-suffix)`]:{pointerEvents:"auto"}},[`${T}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${T}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${T}-prefix`]:{flex:"none",marginInlineEnd:n.selectAffixPadding},[`${T}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,zIndex:1,display:"inline-block",width:n.fontSizeIcon,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${n.motionDurationMid} ease, opacity ${n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:n.colorTextTertiary}},[`&:hover ${T}-clear`]:{opacity:1,background:n.colorBgBase,borderRadius:"50%"}}),[`${T}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${T}-has-feedback`]:{[`${T}-clear`]:{insetInlineEnd:n.calc(ze).add(n.fontSize).add(n.paddingXS).equal()}}}}}},de=n=>{const{componentCls:ce}=n;return[{[ce]:{[`&${ce}-in-form-item`]:{width:"100%"}}},Re(n),P(n),(0,r.ZP)(n),K(n),{[`${ce}-rtl`]:{direction:"rtl"}},(0,d.c)(n,{borderElCls:`${ce}-selector`,focusElCls:`${ce}-focused`})]};var H=(0,i.I$)("Select",(n,ce)=>{let{rootPrefixCls:T}=ce;const ze=(0,L.mergeToken)(n,{rootPrefixCls:T,inputPaddingHorizontalBase:n.calc(n.paddingSM).sub(1).equal(),multipleSelectItemHeight:n.multipleItemHeight,selectHeight:n.controlHeight});return[de(ze),He(ze)]},pe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(an,_e,t){t.d(_e,{_z:function(){return D},gp:function(){return L}});var e=t(36237),d=t(63356),i=t(51636);const L=r=>{const{multipleSelectItemHeight:_,paddingXXS:M,lineWidth:P,INTERNAL_FIXED_ITEM_MARGIN:pe}=r,it=r.max(r.calc(M).sub(P).equal(),0),Fe=r.max(r.calc(it).sub(pe).equal(),0);return{basePadding:it,containerPadding:Fe,itemHeight:(0,e.unit)(_),itemLineHeight:(0,e.unit)(r.calc(_).sub(r.calc(r.lineWidth).mul(2)).equal())}},x=r=>{const{multipleSelectItemHeight:_,selectHeight:M,lineWidth:P}=r;return r.calc(M).sub(_).div(2).sub(P).equal()},D=r=>{const{componentCls:_,iconCls:M,borderRadiusSM:P,motionDurationSlow:pe,paddingXS:it,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:Pe,colorIcon:Ye,colorIconHover:b,INTERNAL_FIXED_ITEM_MARGIN:Ce}=r;return{[`${_}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${_}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ce,borderRadius:P,cursor:"default",transition:`font-size ${pe}, line-height ${pe}, height ${pe}`,marginInlineEnd:r.calc(Ce).mul(2).equal(),paddingInlineStart:it,paddingInlineEnd:r.calc(it).div(2).equal(),[`${_}-disabled&`]:{color:Fe,borderColor:Pe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.calc(it).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,d.Ro)()),{display:"inline-flex",alignItems:"center",color:Ye,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${M}`]:{verticalAlign:"-0.2em"},"&:hover":{color:b}})}}}},E=(r,_)=>{const{componentCls:M,INTERNAL_FIXED_ITEM_MARGIN:P}=r,pe=`${M}-selection-overflow`,it=r.multipleSelectItemHeight,Fe=x(r),Pe=_?`${M}-${_}`:"",Ye=L(r);return{[`${M}-multiple${Pe}`]:Object.assign(Object.assign({},D(r)),{[`${M}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ye.basePadding,paddingBlock:Ye.containerPadding,borderRadius:r.borderRadius,[`${M}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(P)} 0`,lineHeight:(0,e.unit)(it),visibility:"hidden",content:'"\\a0"'}},[`${M}-selection-item`]:{height:Ye.itemHeight,lineHeight:(0,e.unit)(Ye.itemLineHeight)},[`${M}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(it),marginBlock:P}},[`${M}-prefix`]:{marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ye.basePadding).equal()},[`${pe}-item + ${pe}-item, ${M}-prefix + ${M}-selection-wrap `]:{[`${M}-selection-search`]:{marginInlineStart:0},[`${M}-selection-placeholder`]:{insetInlineStart:0}},[`${pe}-item-suffix`]:{minHeight:Ye.itemHeight,marginBlock:P},[`${M}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Fe).equal(),"\n &-input,\n &-mirror\n ":{height:it,fontFamily:r.fontFamily,lineHeight:(0,e.unit)(it),transition:`all ${r.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${M}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ye.basePadding).equal(),insetInlineEnd:r.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${r.motionDurationSlow}`}})}};function Z(r,_){const{componentCls:M}=r,P=_?`${M}-${_}`:"",pe={[`${M}-multiple${P}`]:{fontSize:r.fontSize,[`${M}-selector`]:{[`${M}-show-search&`]:{cursor:"text"}},[` &${M}-show-arrow ${M}-selector, &${M}-allow-clear ${M}-selector - `]:{paddingInlineEnd:r.calc(r.fontSizeIcon).add(r.controlPaddingHorizontal).equal()}}};return[E(r,_),pe]}const K=r=>{const{componentCls:_}=r,M=(0,i.mergeToken)(r,{selectHeight:r.controlHeightSM,multipleSelectItemHeight:r.multipleItemHeightSM,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),P=(0,i.mergeToken)(r,{fontSize:r.fontSizeLG,selectHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius});return[Z(r),Z(M,"sm"),{[`${_}-multiple${_}-sm`]:{[`${_}-selection-placeholder`]:{insetInline:r.calc(r.controlPaddingHorizontalSM).sub(r.lineWidth).equal()},[`${_}-selection-search`]:{marginInlineStart:2}}},Z(P,"lg")]};_e.ZP=K},68525:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(59301),d=t(40001),i=t(19248),L=t(99267),x=t(84105),D=t(58617),E=t(47472);function Z(K){let{suffixIcon:r,clearIcon:_,menuItemSelectedIcon:M,removeIcon:P,loading:pe,multiple:it,hasFeedback:Fe,prefixCls:Pe,showSuffixIcon:Ye,feedbackIcon:b,showArrow:Ce,componentName:s}=K;const p=_!=null?_:e.createElement(i.Z,null),ae=Oe=>r===null&&!Fe&&!Ce?null:e.createElement(e.Fragment,null,Ye!==!1&&Oe,Fe&&b);let le=null;if(r!==void 0)le=ae(r);else if(pe)le=ae(e.createElement(D.Z,{spin:!0}));else{const Oe=`${Pe}-suffix`;le=ne=>{let{open:Re,showSearch:de}=ne;return ae(Re&&de?e.createElement(E.Z,{className:Oe}):e.createElement(x.Z,{className:Oe}))}}let y=null;M!==void 0?y=M:it?y=e.createElement(d.Z,null):y=null;let He=null;return P!==void 0?He=P:He=e.createElement(L.Z,null),{clearIcon:p,suffixIcon:le,itemIcon:y,removeIcon:He}}},90005:function(an,_e,t){t.d(_e,{Z:function(){return e}});function e(d,i){return i!==void 0?i:d!==null}},44104:function(an,_e,t){t.d(_e,{Z:function(){return Fe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(11592),x=t(99402),D=t(48755),E=t(70045);const Z=e.createContext({latestIndex:0}),K=Z.Provider;var _=Pe=>{let{className:Ye,index:b,children:Ce,split:s,style:p}=Pe;const{latestIndex:ae}=e.useContext(Z);return Ce==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:Ye,style:p},Ce),b{var b;const{getPrefixCls:Ce,direction:s,size:p,className:ae,style:le,classNames:y,styles:He}=(0,D.dj)("space"),{size:Oe=p!=null?p:"small",align:ne,className:Re,rootClassName:de,children:H,direction:n="horizontal",prefixCls:ce,split:T,style:ze,wrap:xe=!1,classNames:We,styles:st}=Pe,at=P(Pe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ae,tt]=Array.isArray(Oe)?Oe:[Oe,Oe],J=(0,x.n)(tt),Se=(0,x.n)(Ae),me=(0,x.T)(tt),Qe=(0,x.T)(Ae),ie=(0,L.Z)(H,{keepEmpty:!0}),Je=ne===void 0&&n==="horizontal"?"center":ne,je=Ce("space",ce),[bt,Te,G]=(0,M.Z)(je),R=i()(je,ae,Te,`${je}-${n}`,{[`${je}-rtl`]:s==="rtl",[`${je}-align-${Je}`]:Je,[`${je}-gap-row-${tt}`]:J,[`${je}-gap-col-${Ae}`]:Se},Re,de,G),V=i()(`${je}-item`,(b=We==null?void 0:We.item)!==null&&b!==void 0?b:y.item);let g=0;const fe=ie.map((f,se)=>{var q;f!=null&&(g=se);const $=(f==null?void 0:f.key)||`${V}-${se}`;return e.createElement(_,{className:V,key:$,index:se,split:T,style:(q=st==null?void 0:st.item)!==null&&q!==void 0?q:He.item},f)}),z=e.useMemo(()=>({latestIndex:g}),[g]);if(ie.length===0)return null;const o={};return xe&&(o.flexWrap="wrap"),!Se&&Qe&&(o.columnGap=Ae),!J&&me&&(o.rowGap=tt),bt(e.createElement("div",Object.assign({ref:Ye,className:R,style:Object.assign(Object.assign(Object.assign({},o),le),ze)},at),e.createElement(K,{value:z},fe)))});it.Compact=E.ZP;var Fe=it},93873:function(an,_e,t){t.d(_e,{Fm:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),L=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),x=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),E=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),_={"move-up":{inKeyframes:K,outKeyframes:r},"move-down":{inKeyframes:i,outKeyframes:L},"move-left":{inKeyframes:x,outKeyframes:D},"move-right":{inKeyframes:E,outKeyframes:Z}},M=(P,pe)=>{const{antCls:it}=P,Fe=`${it}-${pe}`,{inKeyframes:Pe,outKeyframes:Ye}=_[pe];return[(0,d.R)(Fe,Pe,Ye,P.motionDurationMid),{[` + `]:{paddingInlineEnd:r.calc(r.fontSizeIcon).add(r.controlPaddingHorizontal).equal()}}};return[E(r,_),pe]}const K=r=>{const{componentCls:_}=r,M=(0,i.mergeToken)(r,{selectHeight:r.controlHeightSM,multipleSelectItemHeight:r.multipleItemHeightSM,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),P=(0,i.mergeToken)(r,{fontSize:r.fontSizeLG,selectHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius});return[Z(r),Z(M,"sm"),{[`${_}-multiple${_}-sm`]:{[`${_}-selection-placeholder`]:{insetInline:r.calc(r.controlPaddingHorizontalSM).sub(r.lineWidth).equal()},[`${_}-selection-search`]:{marginInlineStart:2}}},Z(P,"lg")]};_e.ZP=K},68525:function(an,_e,t){t.d(_e,{Z:function(){return Z}});var e=t(59301),d=t(40001),i=t(19248),L=t(99267),x=t(84105),D=t(58617),E=t(47472);function Z(K){let{suffixIcon:r,clearIcon:_,menuItemSelectedIcon:M,removeIcon:P,loading:pe,multiple:it,hasFeedback:Fe,prefixCls:Pe,showSuffixIcon:Ye,feedbackIcon:b,showArrow:Ce,componentName:s}=K;const p=_!=null?_:e.createElement(i.Z,null),ae=Oe=>r===null&&!Fe&&!Ce?null:e.createElement(e.Fragment,null,Ye!==!1&&Oe,Fe&&b);let le=null;if(r!==void 0)le=ae(r);else if(pe)le=ae(e.createElement(D.Z,{spin:!0}));else{const Oe=`${Pe}-suffix`;le=ne=>{let{open:Re,showSearch:de}=ne;return ae(Re&&de?e.createElement(E.Z,{className:Oe}):e.createElement(x.Z,{className:Oe}))}}let y=null;M!==void 0?y=M:it?y=e.createElement(d.Z,null):y=null;let He=null;return P!==void 0?He=P:He=e.createElement(L.Z,null),{clearIcon:p,suffixIcon:le,itemIcon:y,removeIcon:He}}},90005:function(an,_e,t){t.d(_e,{Z:function(){return e}});function e(d,i){return i!==void 0?i:d!==null}},44104:function(an,_e,t){t.d(_e,{Z:function(){return Fe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(11592),x=t(99402),D=t(48755),E=t(70045);const Z=e.createContext({latestIndex:0}),K=Z.Provider;var _=Pe=>{let{className:Ye,index:b,children:Ce,split:s,style:p}=Pe;const{latestIndex:ae}=e.useContext(Z);return Ce==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:Ye,style:p},Ce),b{var b;const{getPrefixCls:Ce,direction:s,size:p,className:ae,style:le,classNames:y,styles:He}=(0,D.dj)("space"),{size:Oe=p!=null?p:"small",align:ne,className:Re,rootClassName:de,children:H,direction:n="horizontal",prefixCls:ce,split:T,style:ze,wrap:xe=!1,classNames:We,styles:st}=Pe,at=P(Pe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ae,tt]=Array.isArray(Oe)?Oe:[Oe,Oe],J=(0,x.n)(tt),Se=(0,x.n)(Ae),me=(0,x.T)(tt),Qe=(0,x.T)(Ae),ie=(0,L.Z)(H,{keepEmpty:!0}),Je=ne===void 0&&n==="horizontal"?"center":ne,je=Ce("space",ce),[bt,Te,G]=(0,M.Z)(je),R=i()(je,ae,Te,`${je}-${n}`,{[`${je}-rtl`]:s==="rtl",[`${je}-align-${Je}`]:Je,[`${je}-gap-row-${tt}`]:J,[`${je}-gap-col-${Ae}`]:Se},Re,de,G),U=i()(`${je}-item`,(b=We==null?void 0:We.item)!==null&&b!==void 0?b:y.item);let g=0;const fe=ie.map((f,se)=>{var q;f!=null&&(g=se);const $=(f==null?void 0:f.key)||`${U}-${se}`;return e.createElement(_,{className:U,key:$,index:se,split:T,style:(q=st==null?void 0:st.item)!==null&&q!==void 0?q:He.item},f)}),z=e.useMemo(()=>({latestIndex:g}),[g]);if(ie.length===0)return null;const o={};return xe&&(o.flexWrap="wrap"),!Se&&Qe&&(o.columnGap=Ae),!J&&me&&(o.rowGap=tt),bt(e.createElement("div",Object.assign({ref:Ye,className:R,style:Object.assign(Object.assign(Object.assign({},o),le),ze)},at),e.createElement(K,{value:z},fe)))});it.Compact=E.ZP;var Fe=it},93873:function(an,_e,t){t.d(_e,{Fm:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),L=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),x=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),E=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),_={"move-up":{inKeyframes:K,outKeyframes:r},"move-down":{inKeyframes:i,outKeyframes:L},"move-left":{inKeyframes:x,outKeyframes:D},"move-right":{inKeyframes:E,outKeyframes:Z}},M=(P,pe)=>{const{antCls:it}=P,Fe=`${it}-${pe}`,{inKeyframes:Pe,outKeyframes:Ye}=_[pe];return[(0,d.R)(Fe,Pe,Ye,P.motionDurationMid),{[` ${Fe}-enter, ${Fe}-appear `]:{opacity:0,animationTimingFunction:P.motionEaseOutCirc},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInOutCirc}}]}},46e3:function(an,_e,t){t.d(_e,{Qt:function(){return x},Uw:function(){return L},fJ:function(){return i},ly:function(){return D},oN:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),L=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),x=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),E=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Z=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),K=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),r=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),_={"slide-up":{inKeyframes:i,outKeyframes:L},"slide-down":{inKeyframes:x,outKeyframes:D},"slide-left":{inKeyframes:E,outKeyframes:Z},"slide-right":{inKeyframes:K,outKeyframes:r}},M=(P,pe)=>{const{antCls:it}=P,Fe=`${it}-${pe}`,{inKeyframes:Pe,outKeyframes:Ye}=_[pe];return[(0,d.R)(Fe,Pe,Ye,P.motionDurationMid),{[` ${Fe}-enter, ${Fe}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:P.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInQuint}}]}},37645:function(an,_e,t){t.d(_e,{ZP:function(){return D},qN:function(){return i},wZ:function(){return L}});var e=t(36237),d=t(36305);const i=8;function L(E){const{contentRadius:Z,limitVerticalRadius:K}=E,r=Z>12?Z+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:K?i:r}}function x(E,Z){return E?Z:{}}function D(E,Z,K){const{componentCls:r,boxShadowPopoverArrow:_,arrowOffsetVertical:M,arrowOffsetHorizontal:P}=E,{arrowDistance:pe=0,arrowPlacement:it={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,d.W)(E,Z,_)),{"&:before":{background:Z}})]},x(!!it.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:pe,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!it.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:pe,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!it.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:pe},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:M},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:M}})),x(!!it.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:pe},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:M},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:M}}))}}},36305:function(an,_e,t){t.d(_e,{W:function(){return i},w:function(){return d}});var e=t(36237);function d(L){const{sizePopupArrow:x,borderRadiusXS:D,borderRadiusOuter:E}=L,Z=x/2,K=0,r=Z,_=E*1/Math.sqrt(2),M=Z-E*(1-1/Math.sqrt(2)),P=Z-D*(1/Math.sqrt(2)),pe=E*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),it=2*Z-P,Fe=pe,Pe=2*Z-_,Ye=M,b=2*Z-K,Ce=r,s=Z*Math.sqrt(2)+E*(Math.sqrt(2)-2),p=E*(Math.sqrt(2)-1),ae=`polygon(${p}px 100%, 50% ${p}px, ${2*Z-p}px 100%, ${p}px 100%)`,le=`path('M ${K} ${r} A ${E} ${E} 0 0 0 ${_} ${M} L ${P} ${pe} A ${D} ${D} 0 0 1 ${it} ${Fe} L ${Pe} ${Ye} A ${E} ${E} 0 0 0 ${b} ${Ce} Z')`;return{arrowShadowWidth:s,arrowPath:le,arrowPolygon:ae}}const i=(L,x,D)=>{const{sizePopupArrow:E,arrowPolygon:Z,arrowPath:K,arrowShadowWidth:r,borderRadiusXS:_,calc:M}=L;return{pointerEvents:"none",width:E,height:E,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:E,height:M(E).div(2).equal(),background:x,clipPath:{_multi_value_:!0,value:[Z,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:r,height:r,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(_)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},70858:function(an,_e,t){t.d(_e,{default:function(){return ti}});var e=t(59301),d={},i="rc-table-internal-hook",L=t(42978),x=t(6089),D=t(34280),E=t(13697),Z=t(4676);function K(l){var a=e.createContext(void 0),F=function(Ee){var $e=Ee.value,rt=Ee.children,Ue=e.useRef($e);Ue.current=$e;var gt=e.useState(function(){return{getValue:function(){return Ue.current},listeners:new Set}}),vt=(0,L.Z)(gt,1),zt=vt[0];return(0,D.Z)(function(){(0,Z.unstable_batchedUpdates)(function(){zt.listeners.forEach(function(Ot){Ot($e)})})},[$e]),e.createElement(a.Provider,{value:zt},rt)};return{Context:a,Provider:F,defaultValue:l}}function r(l,a){var F=(0,x.Z)(typeof a=="function"?a:function(Ot){if(a===void 0)return Ot;if(!Array.isArray(a))return Ot[a];var xt={};return a.forEach(function(St){xt[St]=Ot[St]}),xt}),Q=e.useContext(l==null?void 0:l.Context),Ee=Q||{},$e=Ee.listeners,rt=Ee.getValue,Ue=e.useRef();Ue.current=F(Q?rt():l==null?void 0:l.defaultValue);var gt=e.useState({}),vt=(0,L.Z)(gt,2),zt=vt[1];return(0,D.Z)(function(){if(!Q)return;function Ot(xt){var St=F(xt);(0,E.Z)(Ue.current,St,!0)||zt({})}return $e.add(Ot),function(){$e.delete(Ot)}},[Q]),Ue.current}var _=t(54476),M=t(8654);function P(){var l=e.createContext(null);function a(){return e.useContext(l)}function F(Ee,$e){var rt=(0,M.Yr)(Ee),Ue=function(vt,zt){var Ot=rt?{ref:zt}:{},xt=e.useRef(0),St=e.useRef(vt),Nt=a();return Nt!==null?e.createElement(Ee,(0,_.Z)({},vt,Ot)):((!$e||$e(St.current,vt))&&(xt.current+=1),St.current=vt,e.createElement(l.Provider,{value:xt.current},e.createElement(Ee,(0,_.Z)({},vt,Ot))))};return rt?e.forwardRef(Ue):Ue}function Q(Ee,$e){var rt=(0,M.Yr)(Ee),Ue=function(vt,zt){var Ot=rt?{ref:zt}:{};return a(),e.createElement(Ee,(0,_.Z)({},vt,Ot))};return rt?e.memo(e.forwardRef(Ue),$e):e.memo(Ue,$e)}return{makeImmutable:F,responseImmutable:Q,useImmutableMark:a}}var pe=P(),it=pe.makeImmutable,Fe=pe.responseImmutable,Pe=pe.useImmutableMark,Ye=P(),b=Ye.makeImmutable,Ce=Ye.responseImmutable,s=Ye.useImmutableMark,p=K(),ae=p;function le(l,a){var F=React.useRef(0);F.current+=1;var Q=React.useRef(l),Ee=[];Object.keys(l||{}).map(function(rt){var Ue;(l==null?void 0:l[rt])!==((Ue=Q.current)===null||Ue===void 0?void 0:Ue[rt])&&Ee.push(rt)}),Q.current=l;var $e=React.useRef([]);return Ee.length&&($e.current=Ee),React.useDebugValue(F.current),React.useDebugValue($e.current.join(", ")),a&&console.log("".concat(a,":"),F.current,$e.current),F.current}var y=null,He=null,Oe=t(76190),ne=t(33885),Re=t(20068),de=t(92310),H=t.n(de),n=t(80547),ce=t(97938),T=t(48736),ze=e.createContext({renderWithProps:!1}),xe=ze,We="RC_TABLE_KEY";function st(l){return l==null?[]:Array.isArray(l)?l:[l]}function at(l){var a=[],F={};return l.forEach(function(Q){for(var Ee=Q||{},$e=Ee.key,rt=Ee.dataIndex,Ue=$e||st(rt).join("-")||We;F[Ue];)Ue="".concat(Ue,"_next");F[Ue]=!0,a.push(Ue)}),a}function Ae(l){return l!=null}function tt(l){return typeof l=="number"&&!Number.isNaN(l)}function J(l){return l&&(0,Oe.Z)(l)==="object"&&!Array.isArray(l)&&!e.isValidElement(l)}function Se(l,a,F,Q,Ee,$e){var rt=e.useContext(xe),Ue=s(),gt=(0,n.Z)(function(){if(Ae(Q))return[Q];var vt=a==null||a===""?[]:Array.isArray(a)?a:[a],zt=(0,ce.Z)(l,vt),Ot=zt,xt=void 0;if(Ee){var St=Ee(zt,l,F);J(St)?(Ot=St.children,xt=St.props,rt.renderWithProps=!0):Ot=St}return[Ot,xt]},[Ue,l,Q,a,Ee,F],function(vt,zt){if($e){var Ot=(0,L.Z)(vt,2),xt=Ot[1],St=(0,L.Z)(zt,2),Nt=St[1];return $e(Nt,xt)}return rt.renderWithProps?!0:!(0,E.Z)(vt,zt,!0)});return gt}function me(l,a,F,Q){var Ee=l+a-1;return l<=Q&&Ee>=F}function Qe(l,a){return r(ae,function(F){var Q=me(l,a||1,F.hoverStartRow,F.hoverEndRow);return[Q,F.onHover]})}var ie=t(70425),Je=function(a){var F=a.ellipsis,Q=a.rowType,Ee=a.children,$e,rt=F===!0?{showTitle:!0}:F;return rt&&(rt.showTitle||Q==="header")&&(typeof Ee=="string"||typeof Ee=="number"?$e=Ee.toString():e.isValidElement(Ee)&&typeof Ee.props.children=="string"&&($e=Ee.props.children)),$e};function je(l){var a,F,Q,Ee,$e,rt,Ue,gt,vt=l.component,zt=l.children,Ot=l.ellipsis,xt=l.scope,St=l.prefixCls,Nt=l.className,mn=l.align,_t=l.record,gn=l.render,pn=l.dataIndex,vn=l.renderIndex,Cn=l.shouldCellUpdate,wn=l.index,jn=l.rowType,An=l.colSpan,xr=l.rowSpan,or=l.fixLeft,ir=l.fixRight,mr=l.firstFixLeft,Tn=l.lastFixLeft,Ln=l.firstFixRight,On=l.lastFixRight,hn=l.appendNode,Zn=l.additionalProps,Un=Zn===void 0?{}:Zn,nr=l.isSticky,Sn="".concat(St,"-cell"),Rr=r(ae,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Mr=Rr.supportSticky,go=Rr.allColumnsFixedLeft,io=Rr.rowHoverable,no=Se(_t,pn,vn,zt,gn,Cn),fo=(0,L.Z)(no,2),Fo=fo[0],Zr=fo[1],Ar={},Co=typeof or=="number"&&Mr,xo=typeof ir=="number"&&Mr;Co&&(Ar.position="sticky",Ar.left=or),xo&&(Ar.position="sticky",Ar.right=ir);var Qn=(a=(F=(Q=Zr==null?void 0:Zr.colSpan)!==null&&Q!==void 0?Q:Un.colSpan)!==null&&F!==void 0?F:An)!==null&&a!==void 0?a:1,Er=(Ee=($e=(rt=Zr==null?void 0:Zr.rowSpan)!==null&&rt!==void 0?rt:Un.rowSpan)!==null&&$e!==void 0?$e:xr)!==null&&Ee!==void 0?Ee:1,Yn=Qe(wn,Er),rr=(0,L.Z)(Yn,2),jr=rr[0],Hr=rr[1],so=(0,ie.zX)(function(uo){var Yr;_t&&Hr(wn,wn+Er-1),Un==null||(Yr=Un.onMouseEnter)===null||Yr===void 0||Yr.call(Un,uo)}),ro=(0,ie.zX)(function(uo){var Yr;_t&&Hr(-1,-1),Un==null||(Yr=Un.onMouseLeave)===null||Yr===void 0||Yr.call(Un,uo)});if(Qn===0||Er===0)return null;var Po=(Ue=Un.title)!==null&&Ue!==void 0?Ue:Je({rowType:jn,ellipsis:Ot,children:Fo}),Ro=H()(Sn,Nt,(gt={},(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)(gt,"".concat(Sn,"-fix-left"),Co&&Mr),"".concat(Sn,"-fix-left-first"),mr&&Mr),"".concat(Sn,"-fix-left-last"),Tn&&Mr),"".concat(Sn,"-fix-left-all"),Tn&&go&&Mr),"".concat(Sn,"-fix-right"),xo&&Mr),"".concat(Sn,"-fix-right-first"),Ln&&Mr),"".concat(Sn,"-fix-right-last"),On&&Mr),"".concat(Sn,"-ellipsis"),Ot),"".concat(Sn,"-with-append"),hn),"".concat(Sn,"-fix-sticky"),(Co||xo)&&nr&&Mr),(0,Re.Z)(gt,"".concat(Sn,"-row-hover"),!Zr&&jr)),Un.className,Zr==null?void 0:Zr.className),qn={};mn&&(qn.textAlign=mn);var dr=(0,ne.Z)((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Zr==null?void 0:Zr.style),Ar),qn),Un.style),Wr=Fo;return(0,Oe.Z)(Wr)==="object"&&!Array.isArray(Wr)&&!e.isValidElement(Wr)&&(Wr=null),Ot&&(Tn||Ln)&&(Wr=e.createElement("span",{className:"".concat(Sn,"-content")},Wr)),e.createElement(vt,(0,_.Z)({},Zr,Un,{className:Ro,style:dr,title:Po,scope:xt,onMouseEnter:io?so:void 0,onMouseLeave:io?ro:void 0,colSpan:Qn!==1?Qn:null,rowSpan:Er!==1?Er:null}),hn,Wr)}var bt=e.memo(je);function Te(l,a,F,Q,Ee){var $e=F[l]||{},rt=F[a]||{},Ue,gt;$e.fixed==="left"?Ue=Q.left[Ee==="rtl"?a:l]:rt.fixed==="right"&&(gt=Q.right[Ee==="rtl"?l:a]);var vt=!1,zt=!1,Ot=!1,xt=!1,St=F[a+1],Nt=F[l-1],mn=St&&!St.fixed||Nt&&!Nt.fixed||F.every(function(Cn){return Cn.fixed==="left"});if(Ee==="rtl"){if(Ue!==void 0){var _t=Nt&&Nt.fixed==="left";xt=!_t&&mn}else if(gt!==void 0){var gn=St&&St.fixed==="right";Ot=!gn&&mn}}else if(Ue!==void 0){var pn=St&&St.fixed==="left";vt=!pn&&mn}else if(gt!==void 0){var vn=Nt&&Nt.fixed==="right";zt=!vn&&mn}return{fixLeft:Ue,fixRight:gt,lastFixLeft:vt,firstFixRight:zt,lastFixRight:Ot,firstFixLeft:xt,isSticky:Q.isSticky}}var G=e.createContext({}),R=G;function V(l){var a=l.className,F=l.index,Q=l.children,Ee=l.colSpan,$e=Ee===void 0?1:Ee,rt=l.rowSpan,Ue=l.align,gt=r(ae,["prefixCls","direction"]),vt=gt.prefixCls,zt=gt.direction,Ot=e.useContext(R),xt=Ot.scrollColumnIndex,St=Ot.stickyOffsets,Nt=Ot.flattenColumns,mn=F+$e-1,_t=mn+1===xt?$e+1:$e,gn=Te(F,F+_t-1,Nt,St,zt);return e.createElement(bt,(0,_.Z)({className:a,index:F,component:"td",prefixCls:vt,record:null,dataIndex:null,align:Ue,colSpan:_t,rowSpan:rt,render:function(){return Q}},gn))}var g=t(75931),fe=["children"];function z(l){var a=l.children,F=(0,g.Z)(l,fe);return e.createElement("tr",F,a)}function o(l){var a=l.children;return a}o.Row=z,o.Cell=V;var f=o;function se(l){var a=l.children,F=l.stickyOffsets,Q=l.flattenColumns,Ee=r(ae,"prefixCls"),$e=Q.length-1,rt=Q[$e],Ue=e.useMemo(function(){return{stickyOffsets:F,flattenColumns:Q,scrollColumnIndex:rt!=null&&rt.scrollbar?$e:null}},[rt,Q,$e,F]);return e.createElement(R.Provider,{value:Ue},e.createElement("tfoot",{className:"".concat(Ee,"-summary")},a))}var q=Ce(se),$=f,N=t(29301),U=t(24514),ue=t(75152),c=t(26112);function C(l,a,F,Q,Ee,$e,rt){l.push({record:a,indent:F,index:rt});var Ue=$e(a),gt=Ee==null?void 0:Ee.has(Ue);if(a&&Array.isArray(a[Q])&>)for(var vt=0;vt1?mr-1:0),Ln=1;Ln=1)),style:(0,ne.Z)((0,ne.Z)({},F),gn==null?void 0:gn.style)}),Nt.map(function(or,ir){var mr=or.render,Tn=or.dataIndex,Ln=or.className,On=w(xt,or,ir,gt,Ee),hn=On.key,Zn=On.fixedInfo,Un=On.appendCellNode,nr=On.additionalCellProps;return e.createElement(bt,(0,_.Z)({className:Ln,ellipsis:or.ellipsis,align:or.align,scope:or.rowScope,component:or.rowScope?Ot:zt,prefixCls:St,key:hn,record:Q,index:Ee,renderIndex:$e,dataIndex:Tn,render:mr,shouldCellUpdate:or.shouldCellUpdate},Zn,{appendNode:Un,additionalProps:nr}))})),An;if(vn&&(Cn.current||pn)){var xr=_t(Q,Ee,gt+1,pn);An=e.createElement(Ke,{expanded:pn,className:H()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(gt+1),wn),prefixCls:St,component:vt,cellComponent:zt,colSpan:Nt.length,isEmpty:!1},xr)}return e.createElement(e.Fragment,null,jn,An)}var Ze=Ce(ge);function Ve(l){var a=l.columnKey,F=l.onColumnResize,Q=e.useRef();return(0,D.Z)(function(){Q.current&&F(a,Q.current.offsetWidth)},[]),e.createElement(N.Z,{data:a},e.createElement("td",{ref:Q,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ot=t(29194);function Tt(l){var a=l.prefixCls,F=l.columnsKey,Q=l.onColumnResize,Ee=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(a,"-measure-row"),style:{height:0,fontSize:0},ref:Ee},e.createElement(N.Z.Collection,{onBatchResize:function(rt){(0,ot.Z)(Ee.current)&&rt.forEach(function(Ue){var gt=Ue.data,vt=Ue.size;Q(gt,vt.offsetWidth)})}},F.map(function($e){return e.createElement(Ve,{key:$e,columnKey:$e,onColumnResize:Q})})))}function ct(l){var a=l.data,F=l.measureColumnWidth,Q=r(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ee=Q.prefixCls,$e=Q.getComponent,rt=Q.onColumnResize,Ue=Q.flattenColumns,gt=Q.getRowKey,vt=Q.expandedKeys,zt=Q.childrenColumnName,Ot=Q.emptyNode,xt=Xe(a,zt,vt,gt),St=e.useRef({renderWithProps:!1}),Nt=$e(["body","wrapper"],"tbody"),mn=$e(["body","row"],"tr"),_t=$e(["body","cell"],"td"),gn=$e(["body","cell"],"th"),pn;a.length?pn=xt.map(function(Cn,wn){var jn=Cn.record,An=Cn.indent,xr=Cn.index,or=gt(jn,wn);return e.createElement(Ze,{key:or,rowKey:or,record:jn,index:wn,renderIndex:xr,rowComponent:mn,cellComponent:_t,scopeCellComponent:gn,indent:An})}):pn=e.createElement(Ke,{expanded:!0,className:"".concat(Ee,"-placeholder"),prefixCls:Ee,component:mn,cellComponent:_t,colSpan:Ue.length,isEmpty:!0},Ot);var vn=at(Ue);return e.createElement(xe.Provider,{value:St.current},e.createElement(Nt,{className:"".concat(Ee,"-tbody")},F&&e.createElement(Tt,{prefixCls:Ee,columnsKey:vn,onColumnResize:rt}),pn))}var dt=Ce(ct),Rt=["expandable"],Vt="RC_TABLE_INTERNAL_COL_DEFINE";function Ht(l){var a=l.expandable,F=(0,g.Z)(l,Rt),Q;return"expandable"in l?Q=(0,ne.Z)((0,ne.Z)({},F),a):Q=F,Q.showExpandColumn===!1&&(Q.expandIconColumnIndex=-1),Q}var Xt=["columnType"];function wt(l){for(var a=l.colWidths,F=l.columns,Q=l.columCount,Ee=r(ae,["tableLayout"]),$e=Ee.tableLayout,rt=[],Ue=Q||F.length,gt=!1,vt=Ue-1;vt>=0;vt-=1){var zt=a[vt],Ot=F&&F[vt],xt=void 0,St=void 0;if(Ot&&(xt=Ot[Vt],$e==="auto"&&(St=Ot.minWidth)),zt||St||xt||gt){var Nt=xt||{},mn=Nt.columnType,_t=(0,g.Z)(Nt,Xt);rt.unshift(e.createElement("col",(0,_.Z)({key:vt,style:{width:zt,minWidth:St}},_t))),gt=!0}}return e.createElement("colgroup",null,rt)}var Ut=wt,yt=t(94480),Bt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pt(l,a){return(0,e.useMemo)(function(){for(var F=[],Q=0;Q1?"colgroup":"col":null,ellipsis:_t.ellipsis,align:_t.align,component:rt,prefixCls:zt,key:St[mn]},gn,{additionalProps:pn,rowType:"header"}))}))},Lt=pt;function ln(l){var a=[];function F(rt,Ue){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;a[gt]=a[gt]||[];var vt=Ue,zt=rt.filter(Boolean).map(function(Ot){var xt={key:Ot.key,className:Ot.className||"",children:Ot.title,column:Ot,colStart:vt},St=1,Nt=Ot.children;return Nt&&Nt.length>0&&(St=F(Nt,vt,gt+1).reduce(function(mn,_t){return mn+_t},0),xt.hasSubColumns=!0),"colSpan"in Ot&&(St=Ot.colSpan),"rowSpan"in Ot&&(xt.rowSpan=Ot.rowSpan),xt.colSpan=St,xt.colEnd=xt.colStart+St-1,a[gt].push(xt),vt+=St,St});return zt}F(l,0);for(var Q=a.length,Ee=function(Ue){a[Ue].forEach(function(gt){!("rowSpan"in gt)&&!gt.hasSubColumns&&(gt.rowSpan=Q-Ue)})},$e=0;$e1&&arguments[1]!==void 0?arguments[1]:"";return typeof a=="number"?a:a.endsWith("%")?l*parseFloat(a)/100:null}function tn(l,a,F){return e.useMemo(function(){if(a&&a>0){var Q=0,Ee=0;l.forEach(function(xt){var St=Mn(a,xt.width);St?Q+=St:Ee+=1});var $e=Math.max(a,F),rt=Math.max($e-Q,Ee),Ue=Ee,gt=rt/Ee,vt=0,zt=l.map(function(xt){var St=(0,ne.Z)({},xt),Nt=Mn(a,St.width);if(Nt)St.width=Nt;else{var mn=Math.floor(gt);St.width=Ue===1?rt:mn,rt-=mn,Ue-=1}return vt+=St.width,St});if(vt<$e){var Ot=$e/vt;rt=$e,zt.forEach(function(xt,St){var Nt=Math.floor(xt.width*Ot);xt.width=St===zt.length-1?rt:Nt,rt-=Nt})}return[zt,Math.max(vt,$e)]}return[l,a]},[l,a,F])}var Nn=["children"],Pn=["fixed"];function bn(l){return(0,Dn.Z)(l).filter(function(a){return e.isValidElement(a)}).map(function(a){var F=a.key,Q=a.props,Ee=Q.children,$e=(0,g.Z)(Q,Nn),rt=(0,ne.Z)({key:F},$e);return Ee&&(rt.children=bn(Ee)),rt})}function Fn(l){return l.filter(function(a){return a&&(0,Oe.Z)(a)==="object"&&!a.hidden}).map(function(a){var F=a.children;return F&&F.length>0?(0,ne.Z)((0,ne.Z)({},a),{},{children:Fn(F)}):a})}function _n(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(F){return F&&(0,Oe.Z)(F)==="object"}).reduce(function(F,Q,Ee){var $e=Q.fixed,rt=$e===!0?"left":$e,Ue="".concat(a,"-").concat(Ee),gt=Q.children;return gt&>.length>0?[].concat((0,yt.Z)(F),(0,yt.Z)(_n(gt,Ue).map(function(vt){return(0,ne.Z)({fixed:rt},vt)}))):[].concat((0,yt.Z)(F),[(0,ne.Z)((0,ne.Z)({key:Ue},Q),{},{fixed:rt})])},[])}function Jn(l){return l.map(function(a){var F=a.fixed,Q=(0,g.Z)(a,Pn),Ee=F;return F==="left"?Ee="right":F==="right"&&(Ee="left"),(0,ne.Z)({fixed:Ee},Q)})}function Be(l,a){var F=l.prefixCls,Q=l.columns,Ee=l.children,$e=l.expandable,rt=l.expandedKeys,Ue=l.columnTitle,gt=l.getRowKey,vt=l.onTriggerExpand,zt=l.expandIcon,Ot=l.rowExpandable,xt=l.expandIconColumnIndex,St=l.direction,Nt=l.expandRowByClick,mn=l.columnWidth,_t=l.fixed,gn=l.scrollWidth,pn=l.clientWidth,vn=e.useMemo(function(){var Tn=Q||bn(Ee)||[];return Fn(Tn.slice())},[Q,Ee]),Cn=e.useMemo(function(){if($e){var Tn=vn.slice();if(!Tn.includes(d)){var Ln=xt||0;Ln>=0&&(Ln||_t==="left"||!_t)&&Tn.splice(Ln,0,d),_t==="right"&&Tn.splice(vn.length,0,d)}var On=Tn.indexOf(d);Tn=Tn.filter(function(nr,Sn){return nr!==d||Sn===On});var hn=vn[On],Zn;_t?Zn=_t:Zn=hn?hn.fixed:null;var Un=(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({},Vt,{className:"".concat(F,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ue),"fixed",Zn),"className","".concat(F,"-row-expand-icon-cell")),"width",mn),"render",function(Sn,Rr,Mr){var go=gt(Rr,Mr),io=rt.has(go),no=Ot?Ot(Rr):!0,fo=zt({prefixCls:F,expanded:io,expandable:no,record:Rr,onExpand:vt});return Nt?e.createElement("span",{onClick:function(Zr){return Zr.stopPropagation()}},fo):fo});return Tn.map(function(nr){return nr===d?Un:nr})}return vn.filter(function(nr){return nr!==d})},[$e,vn,gt,rt,zt,St]),wn=e.useMemo(function(){var Tn=Cn;return a&&(Tn=a(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[a,Cn,St]),jn=e.useMemo(function(){return St==="rtl"?Jn(_n(wn)):_n(wn)},[wn,St,gn]),An=e.useMemo(function(){for(var Tn=-1,Ln=jn.length-1;Ln>=0;Ln-=1){var On=jn[Ln].fixed;if(On==="left"||On===!0){Tn=Ln;break}}if(Tn>=0)for(var hn=0;hn<=Tn;hn+=1){var Zn=jn[hn].fixed;if(Zn!=="left"&&Zn!==!0)return!0}var Un=jn.findIndex(function(Rr){var Mr=Rr.fixed;return Mr==="right"});if(Un>=0)for(var nr=Un;nr=Un-Ue?pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!0})}):pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!1})})}})},Ln=function(hn){pn(function(Zn){return(0,ne.Z)((0,ne.Z)({},Zn),{},{scrollLeft:hn/Ot*xt||0})})};return e.useImperativeHandle(F,function(){return{setScrollLeft:Ln,checkScrollBarVisible:Tn}}),e.useEffect(function(){var On=(0,O.Z)(document.body,"mouseup",or,!1),hn=(0,O.Z)(document.body,"mousemove",mr,!1);return Tn(),function(){On.remove(),hn.remove()}},[St,jn]),e.useEffect(function(){if($e.current){for(var On=[],hn=(0,ee.bn)($e.current);hn;)On.push(hn),hn=hn.parentElement;return On.forEach(function(Zn){return Zn.addEventListener("scroll",Tn,!1)}),window.addEventListener("resize",Tn,!1),window.addEventListener("scroll",Tn,!1),gt.addEventListener("scroll",Tn,!1),function(){On.forEach(function(Zn){return Zn.removeEventListener("scroll",Tn)}),window.removeEventListener("resize",Tn),window.removeEventListener("scroll",Tn),gt.removeEventListener("scroll",Tn)}}},[gt]),e.useEffect(function(){gn.isHiddenScrollBar||pn(function(On){var hn=$e.current;return hn?(0,ne.Z)((0,ne.Z)({},On),{},{scrollLeft:hn.scrollLeft/hn.scrollWidth*hn.clientWidth}):On})},[gn.isHiddenScrollBar]),Ot<=xt||!St||gn.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,ue.Z)(),width:xt,bottom:Ue},className:"".concat(zt,"-sticky-scroll")},e.createElement("div",{onMouseDown:ir,ref:Nt,className:H()("".concat(zt,"-sticky-scroll-bar"),(0,Re.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),jn)),style:{width:"".concat(St,"px"),transform:"translate3d(".concat(gn.scrollLeft,"px, 0, 0)")}}))},v=e.forwardRef(h);function B(l){return null}var te=B;function we(l){return null}var Ne=we,ut="rc-table",Ge=[],Y={};function he(){return"No Data"}function Me(l,a){var F=(0,ne.Z)({rowKey:"key",prefixCls:ut,emptyText:he},l),Q=F.prefixCls,Ee=F.className,$e=F.rowClassName,rt=F.style,Ue=F.data,gt=F.rowKey,vt=F.scroll,zt=F.tableLayout,Ot=F.direction,xt=F.title,St=F.footer,Nt=F.summary,mn=F.caption,_t=F.id,gn=F.showHeader,pn=F.components,vn=F.emptyText,Cn=F.onRow,wn=F.onHeaderRow,jn=F.onScroll,An=F.internalHooks,xr=F.transformColumns,or=F.internalRefs,ir=F.tailor,mr=F.getContainerWidth,Tn=F.sticky,Ln=F.rowHoverable,On=Ln===void 0?!0:Ln,hn=Ue||Ge,Zn=!!hn.length,Un=An===i,nr=e.useCallback(function(Lr,Kr){return(0,ce.Z)(pn,Lr)||Kr},[pn]),Sn=e.useMemo(function(){return typeof gt=="function"?gt:function(Lr){var Kr=Lr&&Lr[gt];return Kr}},[gt]),Rr=nr(["body"]),Mr=m(),go=(0,L.Z)(Mr,3),io=go[0],no=go[1],fo=go[2],Fo=I(F,hn,Sn),Zr=(0,L.Z)(Fo,6),Ar=Zr[0],Co=Zr[1],xo=Zr[2],Qn=Zr[3],Er=Zr[4],Yn=Zr[5],rr=vt==null?void 0:vt.x,jr=e.useState(0),Hr=(0,L.Z)(jr,2),so=Hr[0],ro=Hr[1],Po=Ie((0,ne.Z)((0,ne.Z)((0,ne.Z)({},F),Ar),{},{expandable:!!Ar.expandedRowRender,columnTitle:Ar.columnTitle,expandedKeys:xo,getRowKey:Sn,onTriggerExpand:Yn,expandIcon:Qn,expandIconColumnIndex:Ar.expandIconColumnIndex,direction:Ot,scrollWidth:Un&&ir&&typeof rr=="number"?rr:null,clientWidth:so}),Un?xr:null),Ro=(0,L.Z)(Po,4),qn=Ro[0],dr=Ro[1],Wr=Ro[2],uo=Ro[3],Yr=Wr!=null?Wr:rr,Mo=e.useMemo(function(){return{columns:qn,flattenColumns:dr}},[qn,dr]),bo=e.useRef(),la=e.useRef(),co=e.useRef(),Xr=e.useRef();e.useImperativeHandle(a,function(){return{nativeElement:bo.current,scrollTo:function(Kr){var Ao;if(co.current instanceof HTMLElement){var ra=Kr.index,To=Kr.top,Ma=Kr.key;if(tt(To)){var Da;(Da=co.current)===null||Da===void 0||Da.scrollTo({top:To})}else{var Ia,Ua=Ma!=null?Ma:Sn(hn[ra]);(Ia=co.current.querySelector('[data-row-key="'.concat(Ua,'"]')))===null||Ia===void 0||Ia.scrollIntoView()}}else(Ao=co.current)!==null&&Ao!==void 0&&Ao.scrollTo&&co.current.scrollTo(Kr)}}});var oo=e.useRef(),ao=e.useState(!1),Do=(0,L.Z)(ao,2),So=Do[0],Vr=Do[1],po=e.useState(!1),_r=(0,L.Z)(po,2),Zo=_r[0],yo=_r[1],jo=e.useState(new Map),ya=(0,L.Z)(jo,2),Wa=ya[0],vo=ya[1],Va=at(dr),Ko=Va.map(function(Lr){return Wa.get(Lr)}),ea=e.useMemo(function(){return Ko},[Ko.join("_")]),ko=A(ea,dr,Ot),Ho=vt&&Ae(vt.y),Wo=vt&&Ae(Yr)||!!Ar.fixed,ta=Wo&&dr.some(function(Lr){var Kr=Lr.fixed;return Kr}),Ea=e.useRef(),ua=u(Tn,Q),ca=ua.isSticky,nl=ua.offsetHeader,rl=ua.offsetSummary,ol=ua.offsetScroll,Ja=ua.stickyClassName,al=ua.container,Ir=e.useMemo(function(){return Nt==null?void 0:Nt(hn)},[Nt,hn]),Gr=(Ho||ca)&&e.isValidElement(Ir)&&Ir.type===f&&Ir.props.fixed,Eo,Io,Vo;Ho&&(Io={overflowY:Zn?"scroll":"auto",maxHeight:vt.y}),Wo&&(Eo={overflowX:"auto"},Ho||(Io={overflowY:"hidden"}),Vo={width:Yr===!0?"auto":Yr,minWidth:"100%"});var na=e.useCallback(function(Lr,Kr){vo(function(Ao){if(Ao.get(Lr)!==Kr){var ra=new Map(Ao);return ra.set(Lr,Kr),ra}return Ao})},[]),ia=ye(null),No=(0,L.Z)(ia,2),ni=No[0],vl=No[1];function qa(Lr,Kr){Kr&&(typeof Kr=="function"?Kr(Lr):Kr.scrollLeft!==Lr&&(Kr.scrollLeft=Lr,Kr.scrollLeft!==Lr&&setTimeout(function(){Kr.scrollLeft=Lr},0)))}var Ba=(0,x.Z)(function(Lr){var Kr=Lr.currentTarget,Ao=Lr.scrollLeft,ra=Ot==="rtl",To=typeof Ao=="number"?Ao:Kr.scrollLeft,Ma=Kr||Y;if(!vl()||vl()===Ma){var Da;ni(Ma),qa(To,la.current),qa(To,co.current),qa(To,oo.current),qa(To,(Da=Ea.current)===null||Da===void 0?void 0:Da.setScrollLeft)}var Ia=Kr||la.current;if(Ia){var Ua=Un&&ir&&typeof Yr=="number"?Yr:Ia.scrollWidth,cl=Ia.clientWidth;if(Ua===cl){Vr(!1),yo(!1);return}ra?(Vr(-To0)):(Vr(To>0),yo(To1?_t-On:0,Zn=(0,ne.Z)((0,ne.Z)((0,ne.Z)({},xr),vt),{},{flex:"0 0 ".concat(On,"px"),width:"".concat(On,"px"),marginRight:hn,pointerEvents:"auto"}),Un=e.useMemo(function(){return Ot?Tn<=1:ir===0||Tn===0||Tn>1},[Tn,ir,Ot]);Un?Zn.visibility="hidden":Ot&&(Zn.height=xt==null?void 0:xt(Tn));var nr=Un?function(){return null}:St,Sn={};return(Tn===0||ir===0)&&(Sn.rowSpan=1,Sn.colSpan=1),e.createElement(bt,(0,_.Z)({className:H()(mn,zt),ellipsis:F.ellipsis,align:F.align,scope:F.rowScope,component:rt,prefixCls:a.prefixCls,key:Cn,record:gt,index:$e,renderIndex:Ue,dataIndex:Nt,render:nr,shouldCellUpdate:F.shouldCellUpdate},wn,{appendNode:jn,additionalProps:(0,ne.Z)((0,ne.Z)({},An),{},{style:Zn},Sn)}))}var Jt=Et,At=["data","index","className","rowKey","style","extra","getHeight"],sn=e.forwardRef(function(l,a){var F=l.data,Q=l.index,Ee=l.className,$e=l.rowKey,rt=l.style,Ue=l.extra,gt=l.getHeight,vt=(0,g.Z)(l,At),zt=F.record,Ot=F.indent,xt=F.index,St=r(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Nt=St.scrollX,mn=St.flattenColumns,_t=St.prefixCls,gn=St.fixColumn,pn=St.componentWidth,vn=r(Dt,["getComponent"]),Cn=vn.getComponent,wn=X(zt,$e,Q,Ot),jn=Cn(["body","row"],"div"),An=Cn(["body","cell"],"div"),xr=wn.rowSupportExpand,or=wn.expanded,ir=wn.rowProps,mr=wn.expandedRowRender,Tn=wn.expandedRowClassName,Ln;if(xr&&or){var On=mr(zt,Q,Ot+1,or),hn=et(Tn,zt,Q,Ot),Zn={};gn&&(Zn={style:(0,Re.Z)({},"--virtual-width","".concat(pn,"px"))});var Un="".concat(_t,"-expanded-row-cell");Ln=e.createElement(jn,{className:H()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(Ot+1),hn)},e.createElement(bt,{component:An,prefixCls:_t,className:H()(Un,(0,Re.Z)({},"".concat(Un,"-fixed"),gn)),additionalProps:Zn},On))}var nr=(0,ne.Z)((0,ne.Z)({},rt),{},{width:Nt});Ue&&(nr.position="absolute",nr.pointerEvents="none");var Sn=e.createElement(jn,(0,_.Z)({},ir,vt,{"data-row-key":$e,ref:xr?null:a,className:H()(Ee,"".concat(_t,"-row"),ir==null?void 0:ir.className,(0,Re.Z)({},"".concat(_t,"-row-extra"),Ue)),style:(0,ne.Z)((0,ne.Z)({},nr),ir==null?void 0:ir.style)}),mn.map(function(Rr,Mr){return e.createElement(Jt,{key:Mr,component:An,rowInfo:wn,column:Rr,colIndex:Mr,indent:Ot,index:Q,renderIndex:xt,record:zt,inverse:Ue,getHeight:gt})}));return xr?e.createElement("div",{ref:a},Sn,Ln):Sn}),Gt=Ce(sn),Yt=Gt,nn=e.forwardRef(function(l,a){var F=l.data,Q=l.onScroll,Ee=r(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),$e=Ee.flattenColumns,rt=Ee.onColumnResize,Ue=Ee.getRowKey,gt=Ee.expandedKeys,vt=Ee.prefixCls,zt=Ee.childrenColumnName,Ot=Ee.scrollX,xt=Ee.direction,St=r(Dt),Nt=St.sticky,mn=St.scrollY,_t=St.listItemHeight,gn=St.getComponent,pn=St.onScroll,vn=e.useRef(),Cn=Xe(F,zt,gt,Ue),wn=e.useMemo(function(){var Ln=0;return $e.map(function(On){var hn=On.width,Zn=On.key;return Ln+=hn,[Zn,hn,Ln]})},[$e]),jn=e.useMemo(function(){return wn.map(function(Ln){return Ln[2]})},[wn]);e.useEffect(function(){wn.forEach(function(Ln){var On=(0,L.Z)(Ln,2),hn=On[0],Zn=On[1];rt(hn,Zn)})},[wn]),e.useImperativeHandle(a,function(){var Ln,On={scrollTo:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo(Zn)},nativeElement:(Ln=vn.current)===null||Ln===void 0?void 0:Ln.nativeElement};return Object.defineProperty(On,"scrollLeft",{get:function(){var Zn;return((Zn=vn.current)===null||Zn===void 0?void 0:Zn.getScrollInfo().x)||0},set:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo({left:Zn})}}),On});var An=function(On,hn){var Zn,Un=(Zn=Cn[hn])===null||Zn===void 0?void 0:Zn.record,nr=On.onCell;if(nr){var Sn,Rr=nr(Un,hn);return(Sn=Rr==null?void 0:Rr.rowSpan)!==null&&Sn!==void 0?Sn:1}return 1},xr=function(On){var hn=On.start,Zn=On.end,Un=On.getSize,nr=On.offsetY;if(Zn<0)return null;for(var Sn=$e.filter(function(Qn){return An(Qn,hn)===0}),Rr=hn,Mr=function(Er){if(Sn=Sn.filter(function(Yn){return An(Yn,Er)===0}),!Sn.length)return Rr=Er,1},go=hn;go>=0&&!Mr(go);go-=1);for(var io=$e.filter(function(Qn){return An(Qn,Zn)!==1}),no=Zn,fo=function(Er){if(io=io.filter(function(Yn){return An(Yn,Er)!==1}),!io.length)return no=Math.max(Er-1,Zn),1},Fo=Zn;Fo1})&&Zr.push(Er)},Co=Rr;Co<=no;Co+=1)Ar(Co);var xo=Zr.map(function(Qn){var Er=Cn[Qn],Yn=Ue(Er.record,Qn),rr=function(so){var ro=Qn+so-1,Po=Ue(Cn[ro].record,ro),Ro=Un(Yn,Po);return Ro.bottom-Ro.top},jr=Un(Yn);return e.createElement(Yt,{key:Qn,data:Er,rowKey:Yn,index:Qn,style:{top:-nr+jr.top},extra:!0,getHeight:rr})});return xo},or=e.useMemo(function(){return{columnsOffset:jn}},[jn]),ir="".concat(vt,"-tbody"),mr=gn(["body","wrapper"]),Tn={};return Nt&&(Tn.position="sticky",Tn.bottom=0,(0,Oe.Z)(Nt)==="object"&&Nt.offsetScroll&&(Tn.bottom=Nt.offsetScroll)),e.createElement(Mt.Provider,{value:or},e.createElement(It.Z,{fullHeight:!1,ref:vn,prefixCls:"".concat(ir,"-virtual"),styles:{horizontalScrollBar:Tn},className:ir,height:mn,itemHeight:_t||24,data:Cn,itemKey:function(On){return Ue(On.record)},component:mr,scrollWidth:Ot,direction:xt,onVirtualScroll:function(On){var hn,Zn=On.x;Q({currentTarget:(hn=vn.current)===null||hn===void 0?void 0:hn.nativeElement,scrollLeft:Zn})},onScroll:pn,extraRender:xr},function(Ln,On,hn){var Zn=Ue(Ln.record,On);return e.createElement(Yt,{data:Ln,rowKey:Zn,index:On,style:hn.style})}))}),fn=Ce(nn),Zt=fn,Qt=function(a,F){var Q=F.ref,Ee=F.onScroll;return e.createElement(Zt,{ref:Q,data:a,onScroll:Ee})};function Ft(l,a){var F=l.data,Q=l.columns,Ee=l.scroll,$e=l.sticky,rt=l.prefixCls,Ue=rt===void 0?ut:rt,gt=l.className,vt=l.listItemHeight,zt=l.components,Ot=l.onScroll,xt=Ee||{},St=xt.x,Nt=xt.y;typeof St!="number"&&(St=1),typeof Nt!="number"&&(Nt=500);var mn=(0,ie.zX)(function(pn,vn){return(0,ce.Z)(zt,pn)||vn}),_t=(0,ie.zX)(Ot),gn=e.useMemo(function(){return{sticky:$e,scrollY:Nt,listItemHeight:vt,getComponent:mn,onScroll:_t}},[$e,Nt,vt,mn,_t]);return e.createElement(Dt.Provider,{value:gn},e.createElement(Ct,(0,_.Z)({},l,{className:H()(gt,"".concat(Ue,"-virtual")),scroll:(0,ne.Z)((0,ne.Z)({},Ee),{},{x:St}),components:(0,ne.Z)((0,ne.Z)({},zt),{},{body:F!=null&&F.length?Qt:void 0}),columns:Q,internalHooks:i,tailor:!0,ref:a})))}var qe=e.forwardRef(Ft);function mt(l){return b(qe,l)}var Kt=mt(),jt=null,un=l=>null,en=l=>null,cn=t(84105),Rn=t(82661),Bn=t(34643),yn=t(34061),dn=t(18929);function Kn(l){const[a,F]=(0,e.useState)(null);return[(0,e.useCallback)(($e,rt,Ue)=>{const gt=a!=null?a:$e,vt=Math.min(gt||0,$e),zt=Math.max(gt||0,$e),Ot=rt.slice(vt,zt+1).map(Nt=>l(Nt)),xt=Ot.some(Nt=>!Ue.has(Nt)),St=[];return Ot.forEach(Nt=>{xt?(Ue.has(Nt)||St.push(Nt),Ue.add(Nt)):(Ue.delete(Nt),St.push(Nt))}),F(xt?zt:null),St},[a]),$e=>{F($e)}]}var Xn=t(32383),ar=t(62673),$n=t(75727),er=t(47889);const Wn={},Sr="SELECT_ALL",Fr="SELECT_INVERT",$r="SELECT_NONE",Cr=[],vr=(l,a)=>{let F=[];return(a||[]).forEach(Q=>{F.push(Q),Q&&typeof Q=="object"&&l in Q&&(F=[].concat((0,yt.Z)(F),(0,yt.Z)(vr(l,Q[l]))))}),F};var Hn=(l,a)=>{const{preserveSelectedRowKeys:F,selectedRowKeys:Q,defaultSelectedRowKeys:Ee,getCheckboxProps:$e,onChange:rt,onSelect:Ue,onSelectAll:gt,onSelectInvert:vt,onSelectNone:zt,onSelectMultiple:Ot,columnWidth:xt,type:St,selections:Nt,fixed:mn,renderCell:_t,hideSelectAll:gn,checkStrictly:pn=!0}=a||{},{prefixCls:vn,data:Cn,pageData:wn,getRecordByKey:jn,getRowKey:An,expandType:xr,childrenColumnName:or,locale:ir,getPopupContainer:mr}=l,Tn=(0,Xn.ln)("Table"),[Ln,On]=Kn(Qn=>Qn),[hn,Zn]=(0,dn.Z)(Q||Ee||Cr,{value:Q}),Un=e.useRef(new Map),nr=(0,e.useCallback)(Qn=>{if(F){const Er=new Map;Qn.forEach(Yn=>{let rr=jn(Yn);!rr&&Un.current.has(Yn)&&(rr=Un.current.get(Yn)),Er.set(Yn,rr)}),Un.current=Er}},[jn,F]);e.useEffect(()=>{nr(hn)},[hn]);const Sn=(0,e.useMemo)(()=>vr(or,wn),[or,wn]),{keyEntities:Rr}=(0,e.useMemo)(()=>{if(pn)return{keyEntities:null};let Qn=Cn;if(F){const Er=new Set(Sn.map((rr,jr)=>An(rr,jr))),Yn=Array.from(Un.current).reduce((rr,jr)=>{let[Hr,so]=jr;return Er.has(Hr)?rr:rr.concat(so)},[]);Qn=[].concat((0,yt.Z)(Qn),(0,yt.Z)(Yn))}return(0,yn.I8)(Qn,{externalGetKey:An,childrenPropName:or})},[Cn,An,pn,or,F,Sn]),Mr=(0,e.useMemo)(()=>{const Qn=new Map;return Sn.forEach((Er,Yn)=>{const rr=An(Er,Yn),jr=($e?$e(Er):null)||{};Qn.set(rr,jr)}),Qn},[Sn,An,$e]),go=(0,e.useCallback)(Qn=>{const Er=An(Qn);let Yn;return Mr.has(Er)?Yn=Mr.get(An(Qn)):Yn=$e?$e(Qn):void 0,!!(Yn!=null&&Yn.disabled)},[Mr,An]),[io,no]=(0,e.useMemo)(()=>{if(pn)return[hn||[],[]];const{checkedKeys:Qn,halfCheckedKeys:Er}=(0,Bn.S)(hn,!0,Rr,go);return[Qn||[],Er]},[hn,pn,Rr,go]),fo=(0,e.useMemo)(()=>{const Qn=St==="radio"?io.slice(0,1):io;return new Set(Qn)},[io,St]),Fo=(0,e.useMemo)(()=>St==="radio"?new Set:new Set(no),[no,St]);e.useEffect(()=>{a||Zn(Cr)},[!!a]);const Zr=(0,e.useCallback)((Qn,Er)=>{let Yn,rr;nr(Qn),F?(Yn=Qn,rr=Qn.map(jr=>Un.current.get(jr))):(Yn=[],rr=[],Qn.forEach(jr=>{const Hr=jn(jr);Hr!==void 0&&(Yn.push(jr),rr.push(Hr))})),Zn(Yn),rt==null||rt(Yn,rr,{type:Er})},[Zn,jn,rt,F]),Ar=(0,e.useCallback)((Qn,Er,Yn,rr)=>{if(Ue){const jr=Yn.map(Hr=>jn(Hr));Ue(jn(Qn),Er,jr,rr)}Zr(Yn,"single")},[Ue,jn,Zr]),Co=(0,e.useMemo)(()=>!Nt||gn?null:(Nt===!0?[Sr,Fr,$r]:Nt).map(Er=>Er===Sr?{key:"all",text:ir.selectionAll,onSelect(){Zr(Cn.map((Yn,rr)=>An(Yn,rr)).filter(Yn=>{const rr=Mr.get(Yn);return!(rr!=null&&rr.disabled)||fo.has(Yn)}),"all")}}:Er===Fr?{key:"invert",text:ir.selectInvert,onSelect(){const Yn=new Set(fo);wn.forEach((jr,Hr)=>{const so=An(jr,Hr),ro=Mr.get(so);ro!=null&&ro.disabled||(Yn.has(so)?Yn.delete(so):Yn.add(so))});const rr=Array.from(Yn);vt&&(Tn.deprecated(!1,"onSelectInvert","onChange"),vt(rr)),Zr(rr,"invert")}}:Er===$r?{key:"none",text:ir.selectNone,onSelect(){zt==null||zt(),Zr(Array.from(fo).filter(Yn=>{const rr=Mr.get(Yn);return rr==null?void 0:rr.disabled}),"none")}}:Er).map(Er=>Object.assign(Object.assign({},Er),{onSelect:function(){for(var Yn,rr,jr=arguments.length,Hr=new Array(jr),so=0;so{var Er;if(!a)return Qn.filter(Xr=>Xr!==Wn);let Yn=(0,yt.Z)(Qn);const rr=new Set(fo),jr=Sn.map(An).filter(Xr=>!Mr.get(Xr).disabled),Hr=jr.every(Xr=>rr.has(Xr)),so=jr.some(Xr=>rr.has(Xr)),ro=()=>{const Xr=[];Hr?jr.forEach(ao=>{rr.delete(ao),Xr.push(ao)}):jr.forEach(ao=>{rr.has(ao)||(rr.add(ao),Xr.push(ao))});const oo=Array.from(rr);gt==null||gt(!Hr,oo.map(ao=>jn(ao)),Xr.map(ao=>jn(ao))),Zr(oo,"all"),On(null)};let Po,Ro;if(St!=="radio"){let Xr;if(Co){const Vr={getPopupContainer:mr,items:Co.map((po,_r)=>{const{key:Zo,text:yo,onSelect:jo}=po;return{key:Zo!=null?Zo:_r,onClick:()=>{jo==null||jo(jr)},label:yo}})};Xr=e.createElement("div",{className:`${vn}-selection-extra`},e.createElement($n.Z,{menu:Vr,getPopupContainer:mr},e.createElement("span",null,e.createElement(cn.Z,null))))}const oo=Sn.map((Vr,po)=>{const _r=An(Vr,po),Zo=Mr.get(_r)||{};return Object.assign({checked:rr.has(_r)},Zo)}).filter(Vr=>{let{disabled:po}=Vr;return po}),ao=!!oo.length&&oo.length===Sn.length,Do=ao&&oo.every(Vr=>{let{checked:po}=Vr;return po}),So=ao&&oo.some(Vr=>{let{checked:po}=Vr;return po});Ro=e.createElement(ar.default,{checked:ao?Do:!!Sn.length&&Hr,indeterminate:ao?!Do&&So:!Hr&&so,onChange:ro,disabled:Sn.length===0||ao,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Po=!gn&&e.createElement("div",{className:`${vn}-selection`},Ro,Xr)}let qn;St==="radio"?qn=(Xr,oo,ao)=>{const Do=An(oo,ao),So=rr.has(Do),Vr=Mr.get(Do);return{node:e.createElement(er.ZP,Object.assign({},Vr,{checked:So,onClick:po=>{var _r;po.stopPropagation(),(_r=Vr==null?void 0:Vr.onClick)===null||_r===void 0||_r.call(Vr,po)},onChange:po=>{var _r;rr.has(Do)||Ar(Do,!0,[Do],po.nativeEvent),(_r=Vr==null?void 0:Vr.onChange)===null||_r===void 0||_r.call(Vr,po)}})),checked:So}}:qn=(Xr,oo,ao)=>{var Do;const So=An(oo,ao),Vr=rr.has(So),po=Fo.has(So),_r=Mr.get(So);let Zo;return xr==="nest"?Zo=po:Zo=(Do=_r==null?void 0:_r.indeterminate)!==null&&Do!==void 0?Do:po,{node:e.createElement(ar.default,Object.assign({},_r,{indeterminate:Zo,checked:Vr,skipGroup:!0,onClick:yo=>{var jo;yo.stopPropagation(),(jo=_r==null?void 0:_r.onClick)===null||jo===void 0||jo.call(_r,yo)},onChange:yo=>{var jo;const{nativeEvent:ya}=yo,{shiftKey:Wa}=ya,vo=jr.findIndex(Ko=>Ko===So),Va=io.some(Ko=>jr.includes(Ko));if(Wa&&pn&&Va){const Ko=Ln(vo,jr,rr),ea=Array.from(rr);Ot==null||Ot(!Vr,ea.map(ko=>jn(ko)),Ko.map(ko=>jn(ko))),Zr(ea,"multiple")}else{const Ko=io;if(pn){const ea=Vr?(0,Rn._5)(Ko,So):(0,Rn.L0)(Ko,So);Ar(So,!Vr,ea,ya)}else{const ea=(0,Bn.S)([].concat((0,yt.Z)(Ko),[So]),!0,Rr,go),{checkedKeys:ko,halfCheckedKeys:Ho}=ea;let Wo=ko;if(Vr){const ta=new Set(ko);ta.delete(So),Wo=(0,Bn.S)(Array.from(ta),{checked:!1,halfCheckedKeys:Ho},Rr,go).checkedKeys}Ar(So,!Vr,Wo,ya)}}On(Vr?null:vo),(jo=_r==null?void 0:_r.onChange)===null||jo===void 0||jo.call(_r,yo)}})),checked:Vr}};const dr=(Xr,oo,ao)=>{const{node:Do,checked:So}=qn(Xr,oo,ao);return _t?_t(So,oo,ao,Do):Do};if(!Yn.includes(Wn))if(Yn.findIndex(Xr=>{var oo;return((oo=Xr[Vt])===null||oo===void 0?void 0:oo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...oo]=Yn;Yn=[Xr,Wn].concat((0,yt.Z)(oo))}else Yn=[Wn].concat((0,yt.Z)(Yn));const Wr=Yn.indexOf(Wn);Yn=Yn.filter((Xr,oo)=>Xr!==Wn||oo===Wr);const uo=Yn[Wr-1],Yr=Yn[Wr+1];let Mo=mn;Mo===void 0&&((Yr==null?void 0:Yr.fixed)!==void 0?Mo=Yr.fixed:(uo==null?void 0:uo.fixed)!==void 0&&(Mo=uo.fixed)),Mo&&uo&&((Er=uo[Vt])===null||Er===void 0?void 0:Er.columnType)==="EXPAND_COLUMN"&&uo.fixed===void 0&&(uo.fixed=Mo);const bo=H()(`${vn}-selection-col`,{[`${vn}-selection-col-with-dropdown`]:Nt&&St==="checkbox"}),la=()=>a!=null&&a.columnTitle?typeof a.columnTitle=="function"?a.columnTitle(Ro):a.columnTitle:Po,co={fixed:Mo,width:xt,className:`${vn}-selection-column`,title:la(),render:dr,onCell:a.onCell,[Vt]:{className:bo}};return Yn.map(Xr=>Xr===Wn?co:Xr)},[An,Sn,a,io,fo,Fo,xt,Co,xr,Mr,Ot,Ar,go]),fo]},lr=t(2738);function fr(l,a){return l._antProxy=l._antProxy||{},Object.keys(a).forEach(F=>{if(!(F in l._antProxy)){const Q=l[F];l._antProxy[F]=Q,l[F]=a[F]}}),l}function Gn(l,a){return(0,e.useImperativeHandle)(l,()=>{const F=a(),{nativeElement:Q}=F;return typeof Proxy!="undefined"?new Proxy(Q,{get(Ee,$e){return F[$e]?F[$e]:Reflect.get(Ee,$e)}}):fr(Q,F)})}var ur=t(83010),yr=t(48755),gr=t(38406),br=t(83397),Br=t(31756),wr=t(13783),Tr=t(85981),Qr=t(31709),Or=t(29787),zr=t(57700);function qr(l){return a=>{const{prefixCls:F,onExpand:Q,record:Ee,expanded:$e,expandable:rt}=a,Ue=`${F}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:gt=>{Q(Ee,gt),gt.stopPropagation()},className:H()(Ue,{[`${Ue}-spaced`]:!rt,[`${Ue}-expanded`]:rt&&$e,[`${Ue}-collapsed`]:rt&&!$e}),"aria-label":$e?l.collapse:l.expand,"aria-expanded":$e})}}var Vn=qr;function sr(l){return(F,Q)=>{const Ee=F.querySelector(`.${l}-container`);let $e=Q;if(Ee){const rt=getComputedStyle(Ee),Ue=parseInt(rt.borderLeftWidth,10),gt=parseInt(rt.borderRightWidth,10);$e=Q-Ue-gt}return $e}}const kn=(l,a)=>"key"in l&&l.key!==void 0&&l.key!==null?l.key:l.dataIndex?Array.isArray(l.dataIndex)?l.dataIndex.join("."):l.dataIndex:a;function zn(l,a){return a?`${a}-${l}`:`${l}`}const cr=(l,a)=>typeof l=="function"?l(a):l,pr=(l,a)=>{const F=cr(l,a);return Object.prototype.toString.call(F)==="[object Object]"?"":F};var eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},In=eo,tr=t(7657),Dr=function(a,F){return e.createElement(tr.Z,(0,_.Z)({},a,{ref:F,icon:In}))},kr=e.forwardRef(Dr),Ur=kr,Uo=t(9981),$o=t(40192);function Yo(l){const a=e.useRef(l),F=(0,$o.Z)();return[()=>a.current,Q=>{a.current=Q,F()}]}var wo=t(7939),da=t(584),Za=t(93041),Na=t(78857),sa=t(18287),wa=t(47472),ma=t(49397),ga=l=>{const{value:a,filterSearch:F,tablePrefixCls:Q,locale:Ee,onChange:$e}=l;return F?e.createElement("div",{className:`${Q}-filter-dropdown-search`},e.createElement(ma.Z,{prefix:e.createElement(wa.Z,null),placeholder:Ee.filterSearchPlaceholder,onChange:$e,value:a,htmlSize:1,className:`${Q}-filter-dropdown-search-input`})):null},Qo=t(10228);const Sa=l=>{const{keyCode:a}=l;a===Qo.Z.ENTER&&l.stopPropagation()};var Oa=e.forwardRef((l,a)=>e.createElement("div",{className:l.className,onClick:F=>F.stopPropagation(),onKeyDown:Sa,ref:a},l.children));function Jo(l){let a=[];return(l||[]).forEach(F=>{let{value:Q,children:Ee}=F;a.push(Q),Ee&&(a=[].concat((0,yt.Z)(a),(0,yt.Z)(Jo(Ee))))}),a}function Ta(l){return l.some(a=>{let{children:F}=a;return F})}function pa(l,a){return typeof a=="string"||typeof a=="number"?a==null?void 0:a.toString().toLowerCase().includes(l.trim().toLowerCase()):!1}function Fa(l){let{filters:a,prefixCls:F,filteredKeys:Q,filterMultiple:Ee,searchValue:$e,filterSearch:rt}=l;return a.map((Ue,gt)=>{const vt=String(Ue.value);if(Ue.children)return{key:vt||gt,label:Ue.text,popupClassName:`${F}-dropdown-submenu`,children:Fa({filters:Ue.children,prefixCls:F,filteredKeys:Q,filterMultiple:Ee,searchValue:$e,filterSearch:rt})};const zt=Ee?ar.default:er.ZP,Ot={key:Ue.value!==void 0?vt:gt,label:e.createElement(e.Fragment,null,e.createElement(zt,{checked:Q.includes(vt)}),e.createElement("span",null,Ue.text))};return $e.trim()?typeof rt=="function"?rt($e,Ue)?Ot:null:pa($e,Ue.text)?Ot:null:Ot})}function xa(l){return l||[]}var La=l=>{var a,F,Q,Ee;const{tablePrefixCls:$e,prefixCls:rt,column:Ue,dropdownPrefixCls:gt,columnKey:vt,filterOnClose:zt,filterMultiple:Ot,filterMode:xt="menu",filterSearch:St=!1,filterState:Nt,triggerFilter:mn,locale:_t,children:gn,getPopupContainer:pn,rootClassName:vn}=l,{filterResetToDefaultFilteredValue:Cn,defaultFilteredValue:wn,filterDropdownProps:jn={},filterDropdownOpen:An,filterDropdownVisible:xr,onFilterDropdownVisibleChange:or,onFilterDropdownOpenChange:ir}=Ue,[mr,Tn]=e.useState(!1),Ln=!!(Nt&&(!((a=Nt.filteredKeys)===null||a===void 0)&&a.length||Nt.forceFiltered)),On=qn=>{var dr;Tn(qn),(dr=jn.onOpenChange)===null||dr===void 0||dr.call(jn,qn),ir==null||ir(qn),or==null||or(qn)},hn=(Ee=(Q=(F=jn.open)!==null&&F!==void 0?F:An)!==null&&Q!==void 0?Q:xr)!==null&&Ee!==void 0?Ee:mr,Zn=Nt==null?void 0:Nt.filteredKeys,[Un,nr]=Yo(xa(Zn)),Sn=qn=>{let{selectedKeys:dr}=qn;nr(dr)},Rr=(qn,dr)=>{let{node:Wr,checked:uo}=dr;Sn(Ot?{selectedKeys:qn}:{selectedKeys:uo&&Wr.key?[Wr.key]:[]})};e.useEffect(()=>{mr&&Sn({selectedKeys:xa(Zn)})},[Zn]);const[Mr,go]=e.useState([]),io=qn=>{go(qn)},[no,fo]=e.useState(""),Fo=qn=>{const{value:dr}=qn.target;fo(dr)};e.useEffect(()=>{mr||fo("")},[mr]);const Zr=qn=>{const dr=qn!=null&&qn.length?qn:null;if(dr===null&&(!Nt||!Nt.filteredKeys)||(0,E.Z)(dr,Nt==null?void 0:Nt.filteredKeys,!0))return null;mn({column:Ue,key:vt,filteredKeys:dr})},Ar=()=>{On(!1),Zr(Un())},Co=function(){let{confirm:qn,closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qn&&Zr([]),dr&&On(!1),fo(""),nr(Cn?(wn||[]).map(Wr=>String(Wr)):[])},xo=function(){let{closeDropdown:qn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qn&&On(!1),Zr(Un())},Qn=(qn,dr)=>{dr.source==="trigger"&&(qn&&Zn!==void 0&&nr(xa(Zn)),On(qn),!qn&&!Ue.filterDropdown&&zt&&Ar())},Er=H()({[`${gt}-menu-without-submenu`]:!Ta(Ue.filters||[])}),Yn=qn=>{if(qn.target.checked){const dr=Jo(Ue==null?void 0:Ue.filters).map(Wr=>String(Wr));nr(dr)}else nr([])},rr=qn=>{let{filters:dr}=qn;return(dr||[]).map((Wr,uo)=>{const Yr=String(Wr.value),Mo={title:Wr.text,key:Wr.value!==void 0?Yr:String(uo)};return Wr.children&&(Mo.children=rr({filters:Wr.children})),Mo})},jr=qn=>{var dr;return Object.assign(Object.assign({},qn),{text:qn.title,value:qn.key,children:((dr=qn.children)===null||dr===void 0?void 0:dr.map(Wr=>jr(Wr)))||[]})};let Hr;const{direction:so,renderEmpty:ro}=e.useContext(yr.E_);if(typeof Ue.filterDropdown=="function")Hr=Ue.filterDropdown({prefixCls:`${gt}-custom`,setSelectedKeys:qn=>Sn({selectedKeys:qn}),selectedKeys:Un(),confirm:xo,clearFilters:Co,filters:Ue.filters,visible:hn,close:()=>{On(!1)}});else if(Ue.filterDropdown)Hr=Ue.filterDropdown;else{const qn=Un()||[],dr=()=>{var uo,Yr;const Mo=(uo=ro==null?void 0:ro("Table.filter"))!==null&&uo!==void 0?uo:e.createElement(da.Z,{image:da.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Ue.filters||[]).length===0)return Mo;if(xt==="tree")return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),e.createElement("div",{className:`${$e}-filter-dropdown-tree`},Ot?e.createElement(ar.default,{checked:qn.length===Jo(Ue.filters).length,indeterminate:qn.length>0&&qn.lengthtypeof St=="function"?St(no,jr(co)):pa(no,co.title):void 0})));const bo=Fa({filters:Ue.filters||[],filterSearch:St,prefixCls:rt,filteredKeys:Un(),filterMultiple:Ot,searchValue:no}),la=bo.every(co=>co===null);return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),la?Mo:e.createElement(Za.default,{selectable:!0,multiple:Ot,prefixCls:`${gt}-menu`,className:Er,onSelect:Sn,onDeselect:Sn,selectedKeys:qn,getPopupContainer:pn,openKeys:Mr,onOpenChange:io,items:bo}))},Wr=()=>Cn?(0,E.Z)((wn||[]).map(uo=>String(uo)),qn,!0):qn.length===0;Hr=e.createElement(e.Fragment,null,dr(),e.createElement("div",{className:`${rt}-dropdown-btns`},e.createElement(wo.ZP,{type:"link",size:"small",disabled:Wr(),onClick:()=>Co()},_t.filterReset),e.createElement(wo.ZP,{type:"primary",size:"small",onClick:Ar},_t.filterConfirm)))}Ue.filterDropdown&&(Hr=e.createElement(Na.J,{selectable:void 0},Hr)),Hr=e.createElement(Oa,{className:`${rt}-dropdown`},Hr);const Po=()=>{let qn;return typeof Ue.filterIcon=="function"?qn=Ue.filterIcon(Ln):Ue.filterIcon?qn=Ue.filterIcon:qn=e.createElement(Ur,null),e.createElement("span",{role:"button",tabIndex:-1,className:H()(`${rt}-trigger`,{active:Ln}),onClick:dr=>{dr.stopPropagation()}},qn)},Ro=(0,Uo.Z)({trigger:["click"],placement:so==="rtl"?"bottomLeft":"bottomRight",children:Po(),getPopupContainer:pn},Object.assign(Object.assign({},jn),{rootClassName:H()(vn,jn.rootClassName),open:hn,onOpenChange:Qn,dropdownRender:()=>typeof(jn==null?void 0:jn.dropdownRender)=="function"?jn.dropdownRender(Hr):Hr}));return e.createElement("div",{className:`${rt}-column`},e.createElement("span",{className:`${$e}-column-title`},gn),e.createElement($n.Z,Object.assign({},Ro)))};const fa=(l,a,F)=>{let Q=[];return(l||[]).forEach((Ee,$e)=>{var rt;const Ue=zn($e,F);if(Ee.filters||"filterDropdown"in Ee||"onFilter"in Ee)if("filteredValue"in Ee){let gt=Ee.filteredValue;"filterDropdown"in Ee||(gt=(rt=gt==null?void 0:gt.map(String))!==null&&rt!==void 0?rt:gt),Q.push({column:Ee,key:kn(Ee,Ue),filteredKeys:gt,forceFiltered:Ee.filtered})}else Q.push({column:Ee,key:kn(Ee,Ue),filteredKeys:a&&Ee.defaultFilteredValue?Ee.defaultFilteredValue:void 0,forceFiltered:Ee.filtered});"children"in Ee&&(Q=[].concat((0,yt.Z)(Q),(0,yt.Z)(fa(Ee.children,a,Ue))))}),Q};function qo(l,a,F,Q,Ee,$e,rt,Ue,gt){return F.map((vt,zt)=>{const Ot=zn(zt,Ue),{filterOnClose:xt=!0,filterMultiple:St=!0,filterMode:Nt,filterSearch:mn}=vt;let _t=vt;if(_t.filters||_t.filterDropdown){const gn=kn(_t,Ot),pn=Q.find(vn=>{let{key:Cn}=vn;return gn===Cn});_t=Object.assign(Object.assign({},_t),{title:vn=>e.createElement(La,{tablePrefixCls:l,prefixCls:`${l}-filter`,dropdownPrefixCls:a,column:_t,columnKey:gn,filterState:pn,filterOnClose:xt,filterMultiple:St,filterMode:Nt,filterSearch:mn,triggerFilter:$e,locale:Ee,getPopupContainer:rt,rootClassName:gt},cr(vt.title,vn))})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:qo(l,a,_t.children,Q,Ee,$e,rt,Ot,gt)})),_t})}const Nr=l=>{const a={};return l.forEach(F=>{let{key:Q,filteredKeys:Ee,column:$e}=F;const rt=Q,{filters:Ue,filterDropdown:gt}=$e;if(gt)a[rt]=Ee||null;else if(Array.isArray(Ee)){const vt=Jo(Ue);a[rt]=vt.filter(zt=>Ee.includes(String(zt)))}else a[rt]=null}),a},Pr=(l,a,F)=>a.reduce((Ee,$e)=>{const{column:{onFilter:rt,filters:Ue},filteredKeys:gt}=$e;return rt&>&>.length?Ee.map(vt=>Object.assign({},vt)).filter(vt=>gt.some(zt=>{const Ot=Jo(Ue),xt=Ot.findIndex(Nt=>String(Nt)===String(zt)),St=xt!==-1?Ot[xt]:zt;return vt[F]&&(vt[F]=Pr(vt[F],a,F)),rt(St,vt)})):Ee},l),Oo=l=>l.flatMap(a=>"children"in a?[a].concat((0,yt.Z)(Oo(a.children||[]))):[a]);var mo=l=>{const{prefixCls:a,dropdownPrefixCls:F,mergedColumns:Q,onFilterChange:Ee,getPopupContainer:$e,locale:rt,rootClassName:Ue}=l,gt=(0,Xn.ln)("Table"),vt=e.useMemo(()=>Oo(Q||[]),[Q]),[zt,Ot]=e.useState(()=>fa(vt,!0)),xt=e.useMemo(()=>{const _t=fa(vt,!1);if(_t.length===0)return _t;let gn=!0,pn=!0;if(_t.forEach(vn=>{let{filteredKeys:Cn}=vn;Cn!==void 0?gn=!1:pn=!1}),gn){const vn=(vt||[]).map((Cn,wn)=>kn(Cn,zn(wn)));return zt.filter(Cn=>{let{key:wn}=Cn;return vn.includes(wn)}).map(Cn=>{const wn=vt[vn.findIndex(jn=>jn===Cn.key)];return Object.assign(Object.assign({},Cn),{column:Object.assign(Object.assign({},Cn.column),wn),forceFiltered:wn.filtered})})}return _t},[vt,zt]),St=e.useMemo(()=>Nr(xt),[xt]),Nt=_t=>{const gn=xt.filter(pn=>{let{key:vn}=pn;return vn!==_t.key});gn.push(_t),Ot(gn),Ee(Nr(gn),gn)};return[_t=>qo(a,F,_t,xt,rt,Nt,$e,void 0,Ue),xt,St]},Go=(l,a,F)=>{const Q=e.useRef({});function Ee($e){var rt;if(!Q.current||Q.current.data!==l||Q.current.childrenColumnName!==a||Q.current.getRowKey!==F){let gt=function(vt){vt.forEach((zt,Ot)=>{const xt=F(zt,Ot);Ue.set(xt,zt),zt&&typeof zt=="object"&&a in zt&>(zt[a]||[])})};const Ue=new Map;gt(l),Q.current={data:l,childrenColumnName:a,kvMap:Ue,getRowKey:F}}return(rt=Q.current.kvMap)===null||rt===void 0?void 0:rt.get($e)}return[Ee]},Xo=function(l,a){var F={};for(var Q in l)Object.prototype.hasOwnProperty.call(l,Q)&&a.indexOf(Q)<0&&(F[Q]=l[Q]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Q=Object.getOwnPropertySymbols(l);Ee{const $e=l[Ee];typeof $e!="function"&&(F[Ee]=$e)}),F}function aa(l,a,F){const Q=F&&typeof F=="object"?F:{},{total:Ee=0}=Q,$e=Xo(Q,["total"]),[rt,Ue]=(0,e.useState)(()=>({current:"defaultCurrent"in $e?$e.defaultCurrent:1,pageSize:"defaultPageSize"in $e?$e.defaultPageSize:_o})),gt=(0,Uo.Z)(rt,$e,{total:Ee>0?Ee:l}),vt=Math.ceil((Ee||l)/gt.pageSize);gt.current>vt&&(gt.current=vt||1);const zt=(xt,St)=>{Ue({current:xt!=null?xt:1,pageSize:St||gt.pageSize})},Ot=(xt,St)=>{var Nt;F&&((Nt=F.onChange)===null||Nt===void 0||Nt.call(F,xt,St)),zt(xt,St),a(xt,St||(gt==null?void 0:gt.pageSize))};return F===!1?[{},()=>{}]:[Object.assign(Object.assign({},gt),{onChange:Ot}),zt]}var ha=aa,Ca=t(89489),tl=t(59477),ka=t(25399);const lo="ascend",Jr="descend",to=l=>typeof l.sorter=="object"&&typeof l.sorter.multiple=="number"?l.sorter.multiple:!1,Lo=l=>typeof l=="function"?l:l&&typeof l=="object"&&l.compare?l.compare:!1,zo=(l,a)=>a?l[l.indexOf(a)+1]:l[0],ba=(l,a,F)=>{let Q=[];const Ee=($e,rt)=>{Q.push({column:$e,key:kn($e,rt),multiplePriority:to($e),sortOrder:$e.sortOrder})};return(l||[]).forEach(($e,rt)=>{const Ue=zn(rt,F);$e.children?("sortOrder"in $e&&Ee($e,Ue),Q=[].concat((0,yt.Z)(Q),(0,yt.Z)(ba($e.children,a,Ue)))):$e.sorter&&("sortOrder"in $e?Ee($e,Ue):a&&$e.defaultSortOrder&&Q.push({column:$e,key:kn($e,Ue),multiplePriority:to($e),sortOrder:$e.defaultSortOrder}))}),Q},Pa=(l,a,F,Q,Ee,$e,rt,Ue)=>(a||[]).map((vt,zt)=>{const Ot=zn(zt,Ue);let xt=vt;if(xt.sorter){const St=xt.sortDirections||Ee,Nt=xt.showSorterTooltip===void 0?rt:xt.showSorterTooltip,mn=kn(xt,Ot),_t=F.find(or=>{let{key:ir}=or;return ir===mn}),gn=_t?_t.sortOrder:null,pn=zo(St,gn);let vn;if(vt.sortIcon)vn=vt.sortIcon({sortOrder:gn});else{const or=St.includes(lo)&&e.createElement(tl.Z,{className:H()(`${l}-column-sorter-up`,{active:gn===lo})}),ir=St.includes(Jr)&&e.createElement(Ca.Z,{className:H()(`${l}-column-sorter-down`,{active:gn===Jr})});vn=e.createElement("span",{className:H()(`${l}-column-sorter`,{[`${l}-column-sorter-full`]:!!(or&&ir)})},e.createElement("span",{className:`${l}-column-sorter-inner`,"aria-hidden":"true"},or,ir))}const{cancelSort:Cn,triggerAsc:wn,triggerDesc:jn}=$e||{};let An=Cn;pn===Jr?An=jn:pn===lo&&(An=wn);const xr=typeof Nt=="object"?Object.assign({title:An},Nt):{title:An};xt=Object.assign(Object.assign({},xt),{className:H()(xt.className,{[`${l}-column-sort`]:gn}),title:or=>{const ir=`${l}-column-sorters`,mr=e.createElement("span",{className:`${l}-column-title`},cr(vt.title,or)),Tn=e.createElement("div",{className:ir},mr,vn);return Nt?typeof Nt!="boolean"&&(Nt==null?void 0:Nt.target)==="sorter-icon"?e.createElement("div",{className:`${ir} ${l}-column-sorters-tooltip-target-sorter`},mr,e.createElement(ka.Z,Object.assign({},xr),vn)):e.createElement(ka.Z,Object.assign({},xr),Tn):Tn},onHeaderCell:or=>{var ir;const mr=((ir=vt.onHeaderCell)===null||ir===void 0?void 0:ir.call(vt,or))||{},Tn=mr.onClick,Ln=mr.onKeyDown;mr.onClick=Zn=>{Q({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Tn==null||Tn(Zn)},mr.onKeyDown=Zn=>{Zn.keyCode===Qo.Z.ENTER&&(Q({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Ln==null||Ln(Zn))};const On=pr(vt.title,{}),hn=On==null?void 0:On.toString();return gn&&(mr["aria-sort"]=gn==="ascend"?"ascending":"descending"),mr["aria-label"]=hn||"",mr.className=H()(mr.className,`${l}-column-has-sorters`),mr.tabIndex=0,vt.ellipsis&&(mr.title=(On!=null?On:"").toString()),mr}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:Pa(l,xt.children,F,Q,Ee,$e,rt,Ot)})),xt}),Ya=l=>{const{column:a,sortOrder:F}=l;return{column:a,order:F,field:a.dataIndex,columnKey:a.key}},za=l=>{const a=l.filter(F=>{let{sortOrder:Q}=F;return Q}).map(Ya);if(a.length===0&&l.length){const F=l.length-1;return Object.assign(Object.assign({},Ya(l[F])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return a.length<=1?a[0]||{}:a},Ra=(l,a,F)=>{const Q=a.slice().sort((rt,Ue)=>Ue.multiplePriority-rt.multiplePriority),Ee=l.slice(),$e=Q.filter(rt=>{let{column:{sorter:Ue},sortOrder:gt}=rt;return Lo(Ue)&>});return $e.length?Ee.sort((rt,Ue)=>{for(let gt=0;gt<$e.length;gt+=1){const vt=$e[gt],{column:{sorter:zt},sortOrder:Ot}=vt,xt=Lo(zt);if(xt&&Ot){const St=xt(rt,Ue,Ot);if(St!==0)return Ot===lo?St:-St}}return 0}).map(rt=>{const Ue=rt[F];return Ue?Object.assign(Object.assign({},rt),{[F]:Ra(Ue,a,F)}):rt}):Ee};var ja=l=>{const{prefixCls:a,mergedColumns:F,sortDirections:Q,tableLocale:Ee,showSorterTooltip:$e,onSorterChange:rt}=l,[Ue,gt]=e.useState(ba(F,!0)),vt=(mn,_t)=>{const gn=[];return mn.forEach((pn,vn)=>{const Cn=zn(vn,_t);if(gn.push(kn(pn,Cn)),Array.isArray(pn.children)){const wn=vt(pn.children,Cn);gn.push.apply(gn,(0,yt.Z)(wn))}}),gn},zt=e.useMemo(()=>{let mn=!0;const _t=ba(F,!1);if(!_t.length){const Cn=vt(F);return Ue.filter(wn=>{let{key:jn}=wn;return Cn.includes(jn)})}const gn=[];function pn(Cn){mn?gn.push(Cn):gn.push(Object.assign(Object.assign({},Cn),{sortOrder:null}))}let vn=null;return _t.forEach(Cn=>{vn===null?(pn(Cn),Cn.sortOrder&&(Cn.multiplePriority===!1?mn=!1:vn=!0)):(vn&&Cn.multiplePriority!==!1||(mn=!1),pn(Cn))}),gn},[F,Ue]),Ot=e.useMemo(()=>{var mn,_t;const gn=zt.map(pn=>{let{column:vn,sortOrder:Cn}=pn;return{column:vn,order:Cn}});return{sortColumns:gn,sortColumn:(mn=gn[0])===null||mn===void 0?void 0:mn.column,sortOrder:(_t=gn[0])===null||_t===void 0?void 0:_t.order}},[zt]),xt=mn=>{let _t;mn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?_t=[mn]:_t=[].concat((0,yt.Z)(zt.filter(gn=>{let{key:pn}=gn;return pn!==mn.key})),[mn]),gt(_t),rt(za(_t),_t)};return[mn=>Pa(a,mn,zt,xt,Q,Ee,$e),zt,Ot,()=>za(zt)]};const Qa=(l,a)=>l.map(Q=>{const Ee=Object.assign({},Q);return Ee.title=cr(Q.title,a),"children"in Ee&&(Ee.children=Qa(Ee.children,a)),Ee});var Fl=l=>[e.useCallback(F=>Qa(F,l),[l])],Pl=ht((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:Q}=a;return F!==Q}),Rl=mt((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:Q}=a;return F!==Q}),hr=t(36237),Ka=t(17835),Ha=t(63356),$l=t(16931),Bl=t(51636),Ml=l=>{const{componentCls:a,lineWidth:F,lineType:Q,tableBorderColor:Ee,tableHeaderBg:$e,tablePaddingVertical:rt,tablePaddingHorizontal:Ue,calc:gt}=l,vt=`${(0,hr.unit)(F)} ${Q} ${Ee}`,zt=(Ot,xt,St)=>({[`&${a}-${Ot}`]:{[`> ${a}-container`]:{[`> ${a}-content, > ${a}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${a}-expanded-row-fixed`]:{margin:`${(0,hr.unit)(gt(xt).mul(-1).equal())} + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:P.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInQuint}}]}},37645:function(an,_e,t){t.d(_e,{ZP:function(){return D},qN:function(){return i},wZ:function(){return L}});var e=t(36237),d=t(36305);const i=8;function L(E){const{contentRadius:Z,limitVerticalRadius:K}=E,r=Z>12?Z+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:K?i:r}}function x(E,Z){return E?Z:{}}function D(E,Z,K){const{componentCls:r,boxShadowPopoverArrow:_,arrowOffsetVertical:M,arrowOffsetHorizontal:P}=E,{arrowDistance:pe=0,arrowPlacement:it={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,d.W)(E,Z,_)),{"&:before":{background:Z}})]},x(!!it.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:pe,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!it.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:pe,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!it.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:pe},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:M},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:M}})),x(!!it.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:pe},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:M},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:M}}))}}},36305:function(an,_e,t){t.d(_e,{W:function(){return i},w:function(){return d}});var e=t(36237);function d(L){const{sizePopupArrow:x,borderRadiusXS:D,borderRadiusOuter:E}=L,Z=x/2,K=0,r=Z,_=E*1/Math.sqrt(2),M=Z-E*(1-1/Math.sqrt(2)),P=Z-D*(1/Math.sqrt(2)),pe=E*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),it=2*Z-P,Fe=pe,Pe=2*Z-_,Ye=M,b=2*Z-K,Ce=r,s=Z*Math.sqrt(2)+E*(Math.sqrt(2)-2),p=E*(Math.sqrt(2)-1),ae=`polygon(${p}px 100%, 50% ${p}px, ${2*Z-p}px 100%, ${p}px 100%)`,le=`path('M ${K} ${r} A ${E} ${E} 0 0 0 ${_} ${M} L ${P} ${pe} A ${D} ${D} 0 0 1 ${it} ${Fe} L ${Pe} ${Ye} A ${E} ${E} 0 0 0 ${b} ${Ce} Z')`;return{arrowShadowWidth:s,arrowPath:le,arrowPolygon:ae}}const i=(L,x,D)=>{const{sizePopupArrow:E,arrowPolygon:Z,arrowPath:K,arrowShadowWidth:r,borderRadiusXS:_,calc:M}=L;return{pointerEvents:"none",width:E,height:E,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:E,height:M(E).div(2).equal(),background:x,clipPath:{_multi_value_:!0,value:[Z,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:r,height:r,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(_)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},70858:function(an,_e,t){t.d(_e,{default:function(){return ti}});var e=t(59301),d={},i="rc-table-internal-hook",L=t(42978),x=t(6089),D=t(34280),E=t(13697),Z=t(4676);function K(l){var a=e.createContext(void 0),F=function(Ee){var $e=Ee.value,rt=Ee.children,Ue=e.useRef($e);Ue.current=$e;var gt=e.useState(function(){return{getValue:function(){return Ue.current},listeners:new Set}}),vt=(0,L.Z)(gt,1),zt=vt[0];return(0,D.Z)(function(){(0,Z.unstable_batchedUpdates)(function(){zt.listeners.forEach(function(Ot){Ot($e)})})},[$e]),e.createElement(a.Provider,{value:zt},rt)};return{Context:a,Provider:F,defaultValue:l}}function r(l,a){var F=(0,x.Z)(typeof a=="function"?a:function(Ot){if(a===void 0)return Ot;if(!Array.isArray(a))return Ot[a];var xt={};return a.forEach(function(St){xt[St]=Ot[St]}),xt}),Q=e.useContext(l==null?void 0:l.Context),Ee=Q||{},$e=Ee.listeners,rt=Ee.getValue,Ue=e.useRef();Ue.current=F(Q?rt():l==null?void 0:l.defaultValue);var gt=e.useState({}),vt=(0,L.Z)(gt,2),zt=vt[1];return(0,D.Z)(function(){if(!Q)return;function Ot(xt){var St=F(xt);(0,E.Z)(Ue.current,St,!0)||zt({})}return $e.add(Ot),function(){$e.delete(Ot)}},[Q]),Ue.current}var _=t(54476),M=t(8654);function P(){var l=e.createContext(null);function a(){return e.useContext(l)}function F(Ee,$e){var rt=(0,M.Yr)(Ee),Ue=function(vt,zt){var Ot=rt?{ref:zt}:{},xt=e.useRef(0),St=e.useRef(vt),Nt=a();return Nt!==null?e.createElement(Ee,(0,_.Z)({},vt,Ot)):((!$e||$e(St.current,vt))&&(xt.current+=1),St.current=vt,e.createElement(l.Provider,{value:xt.current},e.createElement(Ee,(0,_.Z)({},vt,Ot))))};return rt?e.forwardRef(Ue):Ue}function Q(Ee,$e){var rt=(0,M.Yr)(Ee),Ue=function(vt,zt){var Ot=rt?{ref:zt}:{};return a(),e.createElement(Ee,(0,_.Z)({},vt,Ot))};return rt?e.memo(e.forwardRef(Ue),$e):e.memo(Ue,$e)}return{makeImmutable:F,responseImmutable:Q,useImmutableMark:a}}var pe=P(),it=pe.makeImmutable,Fe=pe.responseImmutable,Pe=pe.useImmutableMark,Ye=P(),b=Ye.makeImmutable,Ce=Ye.responseImmutable,s=Ye.useImmutableMark,p=K(),ae=p;function le(l,a){var F=React.useRef(0);F.current+=1;var Q=React.useRef(l),Ee=[];Object.keys(l||{}).map(function(rt){var Ue;(l==null?void 0:l[rt])!==((Ue=Q.current)===null||Ue===void 0?void 0:Ue[rt])&&Ee.push(rt)}),Q.current=l;var $e=React.useRef([]);return Ee.length&&($e.current=Ee),React.useDebugValue(F.current),React.useDebugValue($e.current.join(", ")),a&&console.log("".concat(a,":"),F.current,$e.current),F.current}var y=null,He=null,Oe=t(76190),ne=t(33885),Re=t(20068),de=t(92310),H=t.n(de),n=t(80547),ce=t(97938),T=t(48736),ze=e.createContext({renderWithProps:!1}),xe=ze,We="RC_TABLE_KEY";function st(l){return l==null?[]:Array.isArray(l)?l:[l]}function at(l){var a=[],F={};return l.forEach(function(Q){for(var Ee=Q||{},$e=Ee.key,rt=Ee.dataIndex,Ue=$e||st(rt).join("-")||We;F[Ue];)Ue="".concat(Ue,"_next");F[Ue]=!0,a.push(Ue)}),a}function Ae(l){return l!=null}function tt(l){return typeof l=="number"&&!Number.isNaN(l)}function J(l){return l&&(0,Oe.Z)(l)==="object"&&!Array.isArray(l)&&!e.isValidElement(l)}function Se(l,a,F,Q,Ee,$e){var rt=e.useContext(xe),Ue=s(),gt=(0,n.Z)(function(){if(Ae(Q))return[Q];var vt=a==null||a===""?[]:Array.isArray(a)?a:[a],zt=(0,ce.Z)(l,vt),Ot=zt,xt=void 0;if(Ee){var St=Ee(zt,l,F);J(St)?(Ot=St.children,xt=St.props,rt.renderWithProps=!0):Ot=St}return[Ot,xt]},[Ue,l,Q,a,Ee,F],function(vt,zt){if($e){var Ot=(0,L.Z)(vt,2),xt=Ot[1],St=(0,L.Z)(zt,2),Nt=St[1];return $e(Nt,xt)}return rt.renderWithProps?!0:!(0,E.Z)(vt,zt,!0)});return gt}function me(l,a,F,Q){var Ee=l+a-1;return l<=Q&&Ee>=F}function Qe(l,a){return r(ae,function(F){var Q=me(l,a||1,F.hoverStartRow,F.hoverEndRow);return[Q,F.onHover]})}var ie=t(70425),Je=function(a){var F=a.ellipsis,Q=a.rowType,Ee=a.children,$e,rt=F===!0?{showTitle:!0}:F;return rt&&(rt.showTitle||Q==="header")&&(typeof Ee=="string"||typeof Ee=="number"?$e=Ee.toString():e.isValidElement(Ee)&&typeof Ee.props.children=="string"&&($e=Ee.props.children)),$e};function je(l){var a,F,Q,Ee,$e,rt,Ue,gt,vt=l.component,zt=l.children,Ot=l.ellipsis,xt=l.scope,St=l.prefixCls,Nt=l.className,mn=l.align,_t=l.record,gn=l.render,pn=l.dataIndex,vn=l.renderIndex,Cn=l.shouldCellUpdate,wn=l.index,jn=l.rowType,An=l.colSpan,xr=l.rowSpan,or=l.fixLeft,ir=l.fixRight,mr=l.firstFixLeft,Tn=l.lastFixLeft,Ln=l.firstFixRight,On=l.lastFixRight,hn=l.appendNode,Zn=l.additionalProps,Un=Zn===void 0?{}:Zn,nr=l.isSticky,Sn="".concat(St,"-cell"),Rr=r(ae,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Mr=Rr.supportSticky,go=Rr.allColumnsFixedLeft,io=Rr.rowHoverable,no=Se(_t,pn,vn,zt,gn,Cn),fo=(0,L.Z)(no,2),Fo=fo[0],Zr=fo[1],Ar={},Co=typeof or=="number"&&Mr,xo=typeof ir=="number"&&Mr;Co&&(Ar.position="sticky",Ar.left=or),xo&&(Ar.position="sticky",Ar.right=ir);var Qn=(a=(F=(Q=Zr==null?void 0:Zr.colSpan)!==null&&Q!==void 0?Q:Un.colSpan)!==null&&F!==void 0?F:An)!==null&&a!==void 0?a:1,Er=(Ee=($e=(rt=Zr==null?void 0:Zr.rowSpan)!==null&&rt!==void 0?rt:Un.rowSpan)!==null&&$e!==void 0?$e:xr)!==null&&Ee!==void 0?Ee:1,Yn=Qe(wn,Er),rr=(0,L.Z)(Yn,2),jr=rr[0],Hr=rr[1],so=(0,ie.zX)(function(uo){var Yr;_t&&Hr(wn,wn+Er-1),Un==null||(Yr=Un.onMouseEnter)===null||Yr===void 0||Yr.call(Un,uo)}),ro=(0,ie.zX)(function(uo){var Yr;_t&&Hr(-1,-1),Un==null||(Yr=Un.onMouseLeave)===null||Yr===void 0||Yr.call(Un,uo)});if(Qn===0||Er===0)return null;var Po=(Ue=Un.title)!==null&&Ue!==void 0?Ue:Je({rowType:jn,ellipsis:Ot,children:Fo}),Ro=H()(Sn,Nt,(gt={},(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)(gt,"".concat(Sn,"-fix-left"),Co&&Mr),"".concat(Sn,"-fix-left-first"),mr&&Mr),"".concat(Sn,"-fix-left-last"),Tn&&Mr),"".concat(Sn,"-fix-left-all"),Tn&&go&&Mr),"".concat(Sn,"-fix-right"),xo&&Mr),"".concat(Sn,"-fix-right-first"),Ln&&Mr),"".concat(Sn,"-fix-right-last"),On&&Mr),"".concat(Sn,"-ellipsis"),Ot),"".concat(Sn,"-with-append"),hn),"".concat(Sn,"-fix-sticky"),(Co||xo)&&nr&&Mr),(0,Re.Z)(gt,"".concat(Sn,"-row-hover"),!Zr&&jr)),Un.className,Zr==null?void 0:Zr.className),qn={};mn&&(qn.textAlign=mn);var dr=(0,ne.Z)((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Zr==null?void 0:Zr.style),Ar),qn),Un.style),Wr=Fo;return(0,Oe.Z)(Wr)==="object"&&!Array.isArray(Wr)&&!e.isValidElement(Wr)&&(Wr=null),Ot&&(Tn||Ln)&&(Wr=e.createElement("span",{className:"".concat(Sn,"-content")},Wr)),e.createElement(vt,(0,_.Z)({},Zr,Un,{className:Ro,style:dr,title:Po,scope:xt,onMouseEnter:io?so:void 0,onMouseLeave:io?ro:void 0,colSpan:Qn!==1?Qn:null,rowSpan:Er!==1?Er:null}),hn,Wr)}var bt=e.memo(je);function Te(l,a,F,Q,Ee){var $e=F[l]||{},rt=F[a]||{},Ue,gt;$e.fixed==="left"?Ue=Q.left[Ee==="rtl"?a:l]:rt.fixed==="right"&&(gt=Q.right[Ee==="rtl"?l:a]);var vt=!1,zt=!1,Ot=!1,xt=!1,St=F[a+1],Nt=F[l-1],mn=St&&!St.fixed||Nt&&!Nt.fixed||F.every(function(Cn){return Cn.fixed==="left"});if(Ee==="rtl"){if(Ue!==void 0){var _t=Nt&&Nt.fixed==="left";xt=!_t&&mn}else if(gt!==void 0){var gn=St&&St.fixed==="right";Ot=!gn&&mn}}else if(Ue!==void 0){var pn=St&&St.fixed==="left";vt=!pn&&mn}else if(gt!==void 0){var vn=Nt&&Nt.fixed==="right";zt=!vn&&mn}return{fixLeft:Ue,fixRight:gt,lastFixLeft:vt,firstFixRight:zt,lastFixRight:Ot,firstFixLeft:xt,isSticky:Q.isSticky}}var G=e.createContext({}),R=G;function U(l){var a=l.className,F=l.index,Q=l.children,Ee=l.colSpan,$e=Ee===void 0?1:Ee,rt=l.rowSpan,Ue=l.align,gt=r(ae,["prefixCls","direction"]),vt=gt.prefixCls,zt=gt.direction,Ot=e.useContext(R),xt=Ot.scrollColumnIndex,St=Ot.stickyOffsets,Nt=Ot.flattenColumns,mn=F+$e-1,_t=mn+1===xt?$e+1:$e,gn=Te(F,F+_t-1,Nt,St,zt);return e.createElement(bt,(0,_.Z)({className:a,index:F,component:"td",prefixCls:vt,record:null,dataIndex:null,align:Ue,colSpan:_t,rowSpan:rt,render:function(){return Q}},gn))}var g=t(75931),fe=["children"];function z(l){var a=l.children,F=(0,g.Z)(l,fe);return e.createElement("tr",F,a)}function o(l){var a=l.children;return a}o.Row=z,o.Cell=U;var f=o;function se(l){var a=l.children,F=l.stickyOffsets,Q=l.flattenColumns,Ee=r(ae,"prefixCls"),$e=Q.length-1,rt=Q[$e],Ue=e.useMemo(function(){return{stickyOffsets:F,flattenColumns:Q,scrollColumnIndex:rt!=null&&rt.scrollbar?$e:null}},[rt,Q,$e,F]);return e.createElement(R.Provider,{value:Ue},e.createElement("tfoot",{className:"".concat(Ee,"-summary")},a))}var q=Ce(se),$=f,N=t(29301),X=t(24514),ue=t(75152),c=t(26112);function C(l,a,F,Q,Ee,$e,rt){l.push({record:a,indent:F,index:rt});var Ue=$e(a),gt=Ee==null?void 0:Ee.has(Ue);if(a&&Array.isArray(a[Q])&>)for(var vt=0;vt1?mr-1:0),Ln=1;Ln=1)),style:(0,ne.Z)((0,ne.Z)({},F),gn==null?void 0:gn.style)}),Nt.map(function(or,ir){var mr=or.render,Tn=or.dataIndex,Ln=or.className,On=w(xt,or,ir,gt,Ee),hn=On.key,Zn=On.fixedInfo,Un=On.appendCellNode,nr=On.additionalCellProps;return e.createElement(bt,(0,_.Z)({className:Ln,ellipsis:or.ellipsis,align:or.align,scope:or.rowScope,component:or.rowScope?Ot:zt,prefixCls:St,key:hn,record:Q,index:Ee,renderIndex:$e,dataIndex:Tn,render:mr,shouldCellUpdate:or.shouldCellUpdate},Zn,{appendNode:Un,additionalProps:nr}))})),An;if(vn&&(Cn.current||pn)){var xr=_t(Q,Ee,gt+1,pn);An=e.createElement(Ke,{expanded:pn,className:H()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(gt+1),wn),prefixCls:St,component:vt,cellComponent:zt,colSpan:Nt.length,isEmpty:!1},xr)}return e.createElement(e.Fragment,null,jn,An)}var Ze=Ce(ge);function Ve(l){var a=l.columnKey,F=l.onColumnResize,Q=e.useRef();return(0,D.Z)(function(){Q.current&&F(a,Q.current.offsetWidth)},[]),e.createElement(N.Z,{data:a},e.createElement("td",{ref:Q,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ot=t(29194);function Tt(l){var a=l.prefixCls,F=l.columnsKey,Q=l.onColumnResize,Ee=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(a,"-measure-row"),style:{height:0,fontSize:0},ref:Ee},e.createElement(N.Z.Collection,{onBatchResize:function(rt){(0,ot.Z)(Ee.current)&&rt.forEach(function(Ue){var gt=Ue.data,vt=Ue.size;Q(gt,vt.offsetWidth)})}},F.map(function($e){return e.createElement(Ve,{key:$e,columnKey:$e,onColumnResize:Q})})))}function ct(l){var a=l.data,F=l.measureColumnWidth,Q=r(ae,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ee=Q.prefixCls,$e=Q.getComponent,rt=Q.onColumnResize,Ue=Q.flattenColumns,gt=Q.getRowKey,vt=Q.expandedKeys,zt=Q.childrenColumnName,Ot=Q.emptyNode,xt=Xe(a,zt,vt,gt),St=e.useRef({renderWithProps:!1}),Nt=$e(["body","wrapper"],"tbody"),mn=$e(["body","row"],"tr"),_t=$e(["body","cell"],"td"),gn=$e(["body","cell"],"th"),pn;a.length?pn=xt.map(function(Cn,wn){var jn=Cn.record,An=Cn.indent,xr=Cn.index,or=gt(jn,wn);return e.createElement(Ze,{key:or,rowKey:or,record:jn,index:wn,renderIndex:xr,rowComponent:mn,cellComponent:_t,scopeCellComponent:gn,indent:An})}):pn=e.createElement(Ke,{expanded:!0,className:"".concat(Ee,"-placeholder"),prefixCls:Ee,component:mn,cellComponent:_t,colSpan:Ue.length,isEmpty:!0},Ot);var vn=at(Ue);return e.createElement(xe.Provider,{value:St.current},e.createElement(Nt,{className:"".concat(Ee,"-tbody")},F&&e.createElement(Tt,{prefixCls:Ee,columnsKey:vn,onColumnResize:rt}),pn))}var dt=Ce(ct),Rt=["expandable"],Vt="RC_TABLE_INTERNAL_COL_DEFINE";function Ht(l){var a=l.expandable,F=(0,g.Z)(l,Rt),Q;return"expandable"in l?Q=(0,ne.Z)((0,ne.Z)({},F),a):Q=F,Q.showExpandColumn===!1&&(Q.expandIconColumnIndex=-1),Q}var Xt=["columnType"];function wt(l){for(var a=l.colWidths,F=l.columns,Q=l.columCount,Ee=r(ae,["tableLayout"]),$e=Ee.tableLayout,rt=[],Ue=Q||F.length,gt=!1,vt=Ue-1;vt>=0;vt-=1){var zt=a[vt],Ot=F&&F[vt],xt=void 0,St=void 0;if(Ot&&(xt=Ot[Vt],$e==="auto"&&(St=Ot.minWidth)),zt||St||xt||gt){var Nt=xt||{},mn=Nt.columnType,_t=(0,g.Z)(Nt,Xt);rt.unshift(e.createElement("col",(0,_.Z)({key:vt,style:{width:zt,minWidth:St}},_t))),gt=!0}}return e.createElement("colgroup",null,rt)}var Ut=wt,yt=t(94480),Bt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pt(l,a){return(0,e.useMemo)(function(){for(var F=[],Q=0;Q1?"colgroup":"col":null,ellipsis:_t.ellipsis,align:_t.align,component:rt,prefixCls:zt,key:St[mn]},gn,{additionalProps:pn,rowType:"header"}))}))},Lt=pt;function ln(l){var a=[];function F(rt,Ue){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;a[gt]=a[gt]||[];var vt=Ue,zt=rt.filter(Boolean).map(function(Ot){var xt={key:Ot.key,className:Ot.className||"",children:Ot.title,column:Ot,colStart:vt},St=1,Nt=Ot.children;return Nt&&Nt.length>0&&(St=F(Nt,vt,gt+1).reduce(function(mn,_t){return mn+_t},0),xt.hasSubColumns=!0),"colSpan"in Ot&&(St=Ot.colSpan),"rowSpan"in Ot&&(xt.rowSpan=Ot.rowSpan),xt.colSpan=St,xt.colEnd=xt.colStart+St-1,a[gt].push(xt),vt+=St,St});return zt}F(l,0);for(var Q=a.length,Ee=function(Ue){a[Ue].forEach(function(gt){!("rowSpan"in gt)&&!gt.hasSubColumns&&(gt.rowSpan=Q-Ue)})},$e=0;$e1&&arguments[1]!==void 0?arguments[1]:"";return typeof a=="number"?a:a.endsWith("%")?l*parseFloat(a)/100:null}function tn(l,a,F){return e.useMemo(function(){if(a&&a>0){var Q=0,Ee=0;l.forEach(function(xt){var St=Mn(a,xt.width);St?Q+=St:Ee+=1});var $e=Math.max(a,F),rt=Math.max($e-Q,Ee),Ue=Ee,gt=rt/Ee,vt=0,zt=l.map(function(xt){var St=(0,ne.Z)({},xt),Nt=Mn(a,St.width);if(Nt)St.width=Nt;else{var mn=Math.floor(gt);St.width=Ue===1?rt:mn,rt-=mn,Ue-=1}return vt+=St.width,St});if(vt<$e){var Ot=$e/vt;rt=$e,zt.forEach(function(xt,St){var Nt=Math.floor(xt.width*Ot);xt.width=St===zt.length-1?rt:Nt,rt-=Nt})}return[zt,Math.max(vt,$e)]}return[l,a]},[l,a,F])}var Nn=["children"],Pn=["fixed"];function bn(l){return(0,Dn.Z)(l).filter(function(a){return e.isValidElement(a)}).map(function(a){var F=a.key,Q=a.props,Ee=Q.children,$e=(0,g.Z)(Q,Nn),rt=(0,ne.Z)({key:F},$e);return Ee&&(rt.children=bn(Ee)),rt})}function Fn(l){return l.filter(function(a){return a&&(0,Oe.Z)(a)==="object"&&!a.hidden}).map(function(a){var F=a.children;return F&&F.length>0?(0,ne.Z)((0,ne.Z)({},a),{},{children:Fn(F)}):a})}function _n(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(F){return F&&(0,Oe.Z)(F)==="object"}).reduce(function(F,Q,Ee){var $e=Q.fixed,rt=$e===!0?"left":$e,Ue="".concat(a,"-").concat(Ee),gt=Q.children;return gt&>.length>0?[].concat((0,yt.Z)(F),(0,yt.Z)(_n(gt,Ue).map(function(vt){return(0,ne.Z)({fixed:rt},vt)}))):[].concat((0,yt.Z)(F),[(0,ne.Z)((0,ne.Z)({key:Ue},Q),{},{fixed:rt})])},[])}function Jn(l){return l.map(function(a){var F=a.fixed,Q=(0,g.Z)(a,Pn),Ee=F;return F==="left"?Ee="right":F==="right"&&(Ee="left"),(0,ne.Z)({fixed:Ee},Q)})}function Be(l,a){var F=l.prefixCls,Q=l.columns,Ee=l.children,$e=l.expandable,rt=l.expandedKeys,Ue=l.columnTitle,gt=l.getRowKey,vt=l.onTriggerExpand,zt=l.expandIcon,Ot=l.rowExpandable,xt=l.expandIconColumnIndex,St=l.direction,Nt=l.expandRowByClick,mn=l.columnWidth,_t=l.fixed,gn=l.scrollWidth,pn=l.clientWidth,vn=e.useMemo(function(){var Tn=Q||bn(Ee)||[];return Fn(Tn.slice())},[Q,Ee]),Cn=e.useMemo(function(){if($e){var Tn=vn.slice();if(!Tn.includes(d)){var Ln=xt||0;Ln>=0&&(Ln||_t==="left"||!_t)&&Tn.splice(Ln,0,d),_t==="right"&&Tn.splice(vn.length,0,d)}var On=Tn.indexOf(d);Tn=Tn.filter(function(nr,Sn){return nr!==d||Sn===On});var hn=vn[On],Zn;_t?Zn=_t:Zn=hn?hn.fixed:null;var Un=(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({},Vt,{className:"".concat(F,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ue),"fixed",Zn),"className","".concat(F,"-row-expand-icon-cell")),"width",mn),"render",function(Sn,Rr,Mr){var go=gt(Rr,Mr),io=rt.has(go),no=Ot?Ot(Rr):!0,fo=zt({prefixCls:F,expanded:io,expandable:no,record:Rr,onExpand:vt});return Nt?e.createElement("span",{onClick:function(Zr){return Zr.stopPropagation()}},fo):fo});return Tn.map(function(nr){return nr===d?Un:nr})}return vn.filter(function(nr){return nr!==d})},[$e,vn,gt,rt,zt,St]),wn=e.useMemo(function(){var Tn=Cn;return a&&(Tn=a(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[a,Cn,St]),jn=e.useMemo(function(){return St==="rtl"?Jn(_n(wn)):_n(wn)},[wn,St,gn]),An=e.useMemo(function(){for(var Tn=-1,Ln=jn.length-1;Ln>=0;Ln-=1){var On=jn[Ln].fixed;if(On==="left"||On===!0){Tn=Ln;break}}if(Tn>=0)for(var hn=0;hn<=Tn;hn+=1){var Zn=jn[hn].fixed;if(Zn!=="left"&&Zn!==!0)return!0}var Un=jn.findIndex(function(Rr){var Mr=Rr.fixed;return Mr==="right"});if(Un>=0)for(var nr=Un;nr=Un-Ue?pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!0})}):pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!1})})}})},Ln=function(hn){pn(function(Zn){return(0,ne.Z)((0,ne.Z)({},Zn),{},{scrollLeft:hn/Ot*xt||0})})};return e.useImperativeHandle(F,function(){return{setScrollLeft:Ln,checkScrollBarVisible:Tn}}),e.useEffect(function(){var On=(0,O.Z)(document.body,"mouseup",or,!1),hn=(0,O.Z)(document.body,"mousemove",mr,!1);return Tn(),function(){On.remove(),hn.remove()}},[St,jn]),e.useEffect(function(){if($e.current){for(var On=[],hn=(0,ee.bn)($e.current);hn;)On.push(hn),hn=hn.parentElement;return On.forEach(function(Zn){return Zn.addEventListener("scroll",Tn,!1)}),window.addEventListener("resize",Tn,!1),window.addEventListener("scroll",Tn,!1),gt.addEventListener("scroll",Tn,!1),function(){On.forEach(function(Zn){return Zn.removeEventListener("scroll",Tn)}),window.removeEventListener("resize",Tn),window.removeEventListener("scroll",Tn),gt.removeEventListener("scroll",Tn)}}},[gt]),e.useEffect(function(){gn.isHiddenScrollBar||pn(function(On){var hn=$e.current;return hn?(0,ne.Z)((0,ne.Z)({},On),{},{scrollLeft:hn.scrollLeft/hn.scrollWidth*hn.clientWidth}):On})},[gn.isHiddenScrollBar]),Ot<=xt||!St||gn.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,ue.Z)(),width:xt,bottom:Ue},className:"".concat(zt,"-sticky-scroll")},e.createElement("div",{onMouseDown:ir,ref:Nt,className:H()("".concat(zt,"-sticky-scroll-bar"),(0,Re.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),jn)),style:{width:"".concat(St,"px"),transform:"translate3d(".concat(gn.scrollLeft,"px, 0, 0)")}}))},v=e.forwardRef(h);function B(l){return null}var te=B;function we(l){return null}var Ne=we,ut="rc-table",Ge=[],Y={};function he(){return"No Data"}function Me(l,a){var F=(0,ne.Z)({rowKey:"key",prefixCls:ut,emptyText:he},l),Q=F.prefixCls,Ee=F.className,$e=F.rowClassName,rt=F.style,Ue=F.data,gt=F.rowKey,vt=F.scroll,zt=F.tableLayout,Ot=F.direction,xt=F.title,St=F.footer,Nt=F.summary,mn=F.caption,_t=F.id,gn=F.showHeader,pn=F.components,vn=F.emptyText,Cn=F.onRow,wn=F.onHeaderRow,jn=F.onScroll,An=F.internalHooks,xr=F.transformColumns,or=F.internalRefs,ir=F.tailor,mr=F.getContainerWidth,Tn=F.sticky,Ln=F.rowHoverable,On=Ln===void 0?!0:Ln,hn=Ue||Ge,Zn=!!hn.length,Un=An===i,nr=e.useCallback(function(Lr,Kr){return(0,ce.Z)(pn,Lr)||Kr},[pn]),Sn=e.useMemo(function(){return typeof gt=="function"?gt:function(Lr){var Kr=Lr&&Lr[gt];return Kr}},[gt]),Rr=nr(["body"]),Mr=m(),go=(0,L.Z)(Mr,3),io=go[0],no=go[1],fo=go[2],Fo=I(F,hn,Sn),Zr=(0,L.Z)(Fo,6),Ar=Zr[0],Co=Zr[1],xo=Zr[2],Qn=Zr[3],Er=Zr[4],Yn=Zr[5],rr=vt==null?void 0:vt.x,jr=e.useState(0),Hr=(0,L.Z)(jr,2),so=Hr[0],ro=Hr[1],Po=Ie((0,ne.Z)((0,ne.Z)((0,ne.Z)({},F),Ar),{},{expandable:!!Ar.expandedRowRender,columnTitle:Ar.columnTitle,expandedKeys:xo,getRowKey:Sn,onTriggerExpand:Yn,expandIcon:Qn,expandIconColumnIndex:Ar.expandIconColumnIndex,direction:Ot,scrollWidth:Un&&ir&&typeof rr=="number"?rr:null,clientWidth:so}),Un?xr:null),Ro=(0,L.Z)(Po,4),qn=Ro[0],dr=Ro[1],Wr=Ro[2],uo=Ro[3],Yr=Wr!=null?Wr:rr,Mo=e.useMemo(function(){return{columns:qn,flattenColumns:dr}},[qn,dr]),bo=e.useRef(),la=e.useRef(),co=e.useRef(),Xr=e.useRef();e.useImperativeHandle(a,function(){return{nativeElement:bo.current,scrollTo:function(Kr){var Ao;if(co.current instanceof HTMLElement){var ra=Kr.index,To=Kr.top,Ma=Kr.key;if(tt(To)){var Da;(Da=co.current)===null||Da===void 0||Da.scrollTo({top:To})}else{var Ia,Ua=Ma!=null?Ma:Sn(hn[ra]);(Ia=co.current.querySelector('[data-row-key="'.concat(Ua,'"]')))===null||Ia===void 0||Ia.scrollIntoView()}}else(Ao=co.current)!==null&&Ao!==void 0&&Ao.scrollTo&&co.current.scrollTo(Kr)}}});var oo=e.useRef(),ao=e.useState(!1),Do=(0,L.Z)(ao,2),So=Do[0],Vr=Do[1],po=e.useState(!1),_r=(0,L.Z)(po,2),Zo=_r[0],yo=_r[1],jo=e.useState(new Map),ya=(0,L.Z)(jo,2),Wa=ya[0],vo=ya[1],Va=at(dr),Ko=Va.map(function(Lr){return Wa.get(Lr)}),ea=e.useMemo(function(){return Ko},[Ko.join("_")]),ko=A(ea,dr,Ot),Ho=vt&&Ae(vt.y),Wo=vt&&Ae(Yr)||!!Ar.fixed,ta=Wo&&dr.some(function(Lr){var Kr=Lr.fixed;return Kr}),Ea=e.useRef(),ua=u(Tn,Q),ca=ua.isSticky,nl=ua.offsetHeader,rl=ua.offsetSummary,ol=ua.offsetScroll,Ja=ua.stickyClassName,al=ua.container,Ir=e.useMemo(function(){return Nt==null?void 0:Nt(hn)},[Nt,hn]),Gr=(Ho||ca)&&e.isValidElement(Ir)&&Ir.type===f&&Ir.props.fixed,Eo,Io,Vo;Ho&&(Io={overflowY:Zn?"scroll":"auto",maxHeight:vt.y}),Wo&&(Eo={overflowX:"auto"},Ho||(Io={overflowY:"hidden"}),Vo={width:Yr===!0?"auto":Yr,minWidth:"100%"});var na=e.useCallback(function(Lr,Kr){vo(function(Ao){if(Ao.get(Lr)!==Kr){var ra=new Map(Ao);return ra.set(Lr,Kr),ra}return Ao})},[]),ia=ye(null),No=(0,L.Z)(ia,2),ni=No[0],vl=No[1];function qa(Lr,Kr){Kr&&(typeof Kr=="function"?Kr(Lr):Kr.scrollLeft!==Lr&&(Kr.scrollLeft=Lr,Kr.scrollLeft!==Lr&&setTimeout(function(){Kr.scrollLeft=Lr},0)))}var Ba=(0,x.Z)(function(Lr){var Kr=Lr.currentTarget,Ao=Lr.scrollLeft,ra=Ot==="rtl",To=typeof Ao=="number"?Ao:Kr.scrollLeft,Ma=Kr||Y;if(!vl()||vl()===Ma){var Da;ni(Ma),qa(To,la.current),qa(To,co.current),qa(To,oo.current),qa(To,(Da=Ea.current)===null||Da===void 0?void 0:Da.setScrollLeft)}var Ia=Kr||la.current;if(Ia){var Ua=Un&&ir&&typeof Yr=="number"?Yr:Ia.scrollWidth,cl=Ia.clientWidth;if(Ua===cl){Vr(!1),yo(!1);return}ra?(Vr(-To0)):(Vr(To>0),yo(To1?_t-On:0,Zn=(0,ne.Z)((0,ne.Z)((0,ne.Z)({},xr),vt),{},{flex:"0 0 ".concat(On,"px"),width:"".concat(On,"px"),marginRight:hn,pointerEvents:"auto"}),Un=e.useMemo(function(){return Ot?Tn<=1:ir===0||Tn===0||Tn>1},[Tn,ir,Ot]);Un?Zn.visibility="hidden":Ot&&(Zn.height=xt==null?void 0:xt(Tn));var nr=Un?function(){return null}:St,Sn={};return(Tn===0||ir===0)&&(Sn.rowSpan=1,Sn.colSpan=1),e.createElement(bt,(0,_.Z)({className:H()(mn,zt),ellipsis:F.ellipsis,align:F.align,scope:F.rowScope,component:rt,prefixCls:a.prefixCls,key:Cn,record:gt,index:$e,renderIndex:Ue,dataIndex:Nt,render:nr,shouldCellUpdate:F.shouldCellUpdate},wn,{appendNode:jn,additionalProps:(0,ne.Z)((0,ne.Z)({},An),{},{style:Zn},Sn)}))}var Jt=Et,At=["data","index","className","rowKey","style","extra","getHeight"],sn=e.forwardRef(function(l,a){var F=l.data,Q=l.index,Ee=l.className,$e=l.rowKey,rt=l.style,Ue=l.extra,gt=l.getHeight,vt=(0,g.Z)(l,At),zt=F.record,Ot=F.indent,xt=F.index,St=r(ae,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Nt=St.scrollX,mn=St.flattenColumns,_t=St.prefixCls,gn=St.fixColumn,pn=St.componentWidth,vn=r(Dt,["getComponent"]),Cn=vn.getComponent,wn=W(zt,$e,Q,Ot),jn=Cn(["body","row"],"div"),An=Cn(["body","cell"],"div"),xr=wn.rowSupportExpand,or=wn.expanded,ir=wn.rowProps,mr=wn.expandedRowRender,Tn=wn.expandedRowClassName,Ln;if(xr&&or){var On=mr(zt,Q,Ot+1,or),hn=et(Tn,zt,Q,Ot),Zn={};gn&&(Zn={style:(0,Re.Z)({},"--virtual-width","".concat(pn,"px"))});var Un="".concat(_t,"-expanded-row-cell");Ln=e.createElement(jn,{className:H()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(Ot+1),hn)},e.createElement(bt,{component:An,prefixCls:_t,className:H()(Un,(0,Re.Z)({},"".concat(Un,"-fixed"),gn)),additionalProps:Zn},On))}var nr=(0,ne.Z)((0,ne.Z)({},rt),{},{width:Nt});Ue&&(nr.position="absolute",nr.pointerEvents="none");var Sn=e.createElement(jn,(0,_.Z)({},ir,vt,{"data-row-key":$e,ref:xr?null:a,className:H()(Ee,"".concat(_t,"-row"),ir==null?void 0:ir.className,(0,Re.Z)({},"".concat(_t,"-row-extra"),Ue)),style:(0,ne.Z)((0,ne.Z)({},nr),ir==null?void 0:ir.style)}),mn.map(function(Rr,Mr){return e.createElement(Jt,{key:Mr,component:An,rowInfo:wn,column:Rr,colIndex:Mr,indent:Ot,index:Q,renderIndex:xt,record:zt,inverse:Ue,getHeight:gt})}));return xr?e.createElement("div",{ref:a},Sn,Ln):Sn}),Gt=Ce(sn),Yt=Gt,nn=e.forwardRef(function(l,a){var F=l.data,Q=l.onScroll,Ee=r(ae,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),$e=Ee.flattenColumns,rt=Ee.onColumnResize,Ue=Ee.getRowKey,gt=Ee.expandedKeys,vt=Ee.prefixCls,zt=Ee.childrenColumnName,Ot=Ee.scrollX,xt=Ee.direction,St=r(Dt),Nt=St.sticky,mn=St.scrollY,_t=St.listItemHeight,gn=St.getComponent,pn=St.onScroll,vn=e.useRef(),Cn=Xe(F,zt,gt,Ue),wn=e.useMemo(function(){var Ln=0;return $e.map(function(On){var hn=On.width,Zn=On.key;return Ln+=hn,[Zn,hn,Ln]})},[$e]),jn=e.useMemo(function(){return wn.map(function(Ln){return Ln[2]})},[wn]);e.useEffect(function(){wn.forEach(function(Ln){var On=(0,L.Z)(Ln,2),hn=On[0],Zn=On[1];rt(hn,Zn)})},[wn]),e.useImperativeHandle(a,function(){var Ln,On={scrollTo:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo(Zn)},nativeElement:(Ln=vn.current)===null||Ln===void 0?void 0:Ln.nativeElement};return Object.defineProperty(On,"scrollLeft",{get:function(){var Zn;return((Zn=vn.current)===null||Zn===void 0?void 0:Zn.getScrollInfo().x)||0},set:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo({left:Zn})}}),On});var An=function(On,hn){var Zn,Un=(Zn=Cn[hn])===null||Zn===void 0?void 0:Zn.record,nr=On.onCell;if(nr){var Sn,Rr=nr(Un,hn);return(Sn=Rr==null?void 0:Rr.rowSpan)!==null&&Sn!==void 0?Sn:1}return 1},xr=function(On){var hn=On.start,Zn=On.end,Un=On.getSize,nr=On.offsetY;if(Zn<0)return null;for(var Sn=$e.filter(function(Qn){return An(Qn,hn)===0}),Rr=hn,Mr=function(Er){if(Sn=Sn.filter(function(Yn){return An(Yn,Er)===0}),!Sn.length)return Rr=Er,1},go=hn;go>=0&&!Mr(go);go-=1);for(var io=$e.filter(function(Qn){return An(Qn,Zn)!==1}),no=Zn,fo=function(Er){if(io=io.filter(function(Yn){return An(Yn,Er)!==1}),!io.length)return no=Math.max(Er-1,Zn),1},Fo=Zn;Fo1})&&Zr.push(Er)},Co=Rr;Co<=no;Co+=1)Ar(Co);var xo=Zr.map(function(Qn){var Er=Cn[Qn],Yn=Ue(Er.record,Qn),rr=function(so){var ro=Qn+so-1,Po=Ue(Cn[ro].record,ro),Ro=Un(Yn,Po);return Ro.bottom-Ro.top},jr=Un(Yn);return e.createElement(Yt,{key:Qn,data:Er,rowKey:Yn,index:Qn,style:{top:-nr+jr.top},extra:!0,getHeight:rr})});return xo},or=e.useMemo(function(){return{columnsOffset:jn}},[jn]),ir="".concat(vt,"-tbody"),mr=gn(["body","wrapper"]),Tn={};return Nt&&(Tn.position="sticky",Tn.bottom=0,(0,Oe.Z)(Nt)==="object"&&Nt.offsetScroll&&(Tn.bottom=Nt.offsetScroll)),e.createElement(Mt.Provider,{value:or},e.createElement(It.Z,{fullHeight:!1,ref:vn,prefixCls:"".concat(ir,"-virtual"),styles:{horizontalScrollBar:Tn},className:ir,height:mn,itemHeight:_t||24,data:Cn,itemKey:function(On){return Ue(On.record)},component:mr,scrollWidth:Ot,direction:xt,onVirtualScroll:function(On){var hn,Zn=On.x;Q({currentTarget:(hn=vn.current)===null||hn===void 0?void 0:hn.nativeElement,scrollLeft:Zn})},onScroll:pn,extraRender:xr},function(Ln,On,hn){var Zn=Ue(Ln.record,On);return e.createElement(Yt,{data:Ln,rowKey:Zn,index:On,style:hn.style})}))}),fn=Ce(nn),Zt=fn,Qt=function(a,F){var Q=F.ref,Ee=F.onScroll;return e.createElement(Zt,{ref:Q,data:a,onScroll:Ee})};function Ft(l,a){var F=l.data,Q=l.columns,Ee=l.scroll,$e=l.sticky,rt=l.prefixCls,Ue=rt===void 0?ut:rt,gt=l.className,vt=l.listItemHeight,zt=l.components,Ot=l.onScroll,xt=Ee||{},St=xt.x,Nt=xt.y;typeof St!="number"&&(St=1),typeof Nt!="number"&&(Nt=500);var mn=(0,ie.zX)(function(pn,vn){return(0,ce.Z)(zt,pn)||vn}),_t=(0,ie.zX)(Ot),gn=e.useMemo(function(){return{sticky:$e,scrollY:Nt,listItemHeight:vt,getComponent:mn,onScroll:_t}},[$e,Nt,vt,mn,_t]);return e.createElement(Dt.Provider,{value:gn},e.createElement(Ct,(0,_.Z)({},l,{className:H()(gt,"".concat(Ue,"-virtual")),scroll:(0,ne.Z)((0,ne.Z)({},Ee),{},{x:St}),components:(0,ne.Z)((0,ne.Z)({},zt),{},{body:F!=null&&F.length?Qt:void 0}),columns:Q,internalHooks:i,tailor:!0,ref:a})))}var qe=e.forwardRef(Ft);function mt(l){return b(qe,l)}var Kt=mt(),jt=null,un=l=>null,en=l=>null,cn=t(84105),Rn=t(82661),Bn=t(34643),yn=t(34061),dn=t(18929);function Kn(l){const[a,F]=(0,e.useState)(null);return[(0,e.useCallback)(($e,rt,Ue)=>{const gt=a!=null?a:$e,vt=Math.min(gt||0,$e),zt=Math.max(gt||0,$e),Ot=rt.slice(vt,zt+1).map(Nt=>l(Nt)),xt=Ot.some(Nt=>!Ue.has(Nt)),St=[];return Ot.forEach(Nt=>{xt?(Ue.has(Nt)||St.push(Nt),Ue.add(Nt)):(Ue.delete(Nt),St.push(Nt))}),F(xt?zt:null),St},[a]),$e=>{F($e)}]}var Xn=t(32383),ar=t(62673),$n=t(75727),er=t(47889);const Wn={},Sr="SELECT_ALL",Fr="SELECT_INVERT",$r="SELECT_NONE",Cr=[],vr=(l,a)=>{let F=[];return(a||[]).forEach(Q=>{F.push(Q),Q&&typeof Q=="object"&&l in Q&&(F=[].concat((0,yt.Z)(F),(0,yt.Z)(vr(l,Q[l]))))}),F};var Hn=(l,a)=>{const{preserveSelectedRowKeys:F,selectedRowKeys:Q,defaultSelectedRowKeys:Ee,getCheckboxProps:$e,onChange:rt,onSelect:Ue,onSelectAll:gt,onSelectInvert:vt,onSelectNone:zt,onSelectMultiple:Ot,columnWidth:xt,type:St,selections:Nt,fixed:mn,renderCell:_t,hideSelectAll:gn,checkStrictly:pn=!0}=a||{},{prefixCls:vn,data:Cn,pageData:wn,getRecordByKey:jn,getRowKey:An,expandType:xr,childrenColumnName:or,locale:ir,getPopupContainer:mr}=l,Tn=(0,Xn.ln)("Table"),[Ln,On]=Kn(Qn=>Qn),[hn,Zn]=(0,dn.Z)(Q||Ee||Cr,{value:Q}),Un=e.useRef(new Map),nr=(0,e.useCallback)(Qn=>{if(F){const Er=new Map;Qn.forEach(Yn=>{let rr=jn(Yn);!rr&&Un.current.has(Yn)&&(rr=Un.current.get(Yn)),Er.set(Yn,rr)}),Un.current=Er}},[jn,F]);e.useEffect(()=>{nr(hn)},[hn]);const Sn=(0,e.useMemo)(()=>vr(or,wn),[or,wn]),{keyEntities:Rr}=(0,e.useMemo)(()=>{if(pn)return{keyEntities:null};let Qn=Cn;if(F){const Er=new Set(Sn.map((rr,jr)=>An(rr,jr))),Yn=Array.from(Un.current).reduce((rr,jr)=>{let[Hr,so]=jr;return Er.has(Hr)?rr:rr.concat(so)},[]);Qn=[].concat((0,yt.Z)(Qn),(0,yt.Z)(Yn))}return(0,yn.I8)(Qn,{externalGetKey:An,childrenPropName:or})},[Cn,An,pn,or,F,Sn]),Mr=(0,e.useMemo)(()=>{const Qn=new Map;return Sn.forEach((Er,Yn)=>{const rr=An(Er,Yn),jr=($e?$e(Er):null)||{};Qn.set(rr,jr)}),Qn},[Sn,An,$e]),go=(0,e.useCallback)(Qn=>{const Er=An(Qn);let Yn;return Mr.has(Er)?Yn=Mr.get(An(Qn)):Yn=$e?$e(Qn):void 0,!!(Yn!=null&&Yn.disabled)},[Mr,An]),[io,no]=(0,e.useMemo)(()=>{if(pn)return[hn||[],[]];const{checkedKeys:Qn,halfCheckedKeys:Er}=(0,Bn.S)(hn,!0,Rr,go);return[Qn||[],Er]},[hn,pn,Rr,go]),fo=(0,e.useMemo)(()=>{const Qn=St==="radio"?io.slice(0,1):io;return new Set(Qn)},[io,St]),Fo=(0,e.useMemo)(()=>St==="radio"?new Set:new Set(no),[no,St]);e.useEffect(()=>{a||Zn(Cr)},[!!a]);const Zr=(0,e.useCallback)((Qn,Er)=>{let Yn,rr;nr(Qn),F?(Yn=Qn,rr=Qn.map(jr=>Un.current.get(jr))):(Yn=[],rr=[],Qn.forEach(jr=>{const Hr=jn(jr);Hr!==void 0&&(Yn.push(jr),rr.push(Hr))})),Zn(Yn),rt==null||rt(Yn,rr,{type:Er})},[Zn,jn,rt,F]),Ar=(0,e.useCallback)((Qn,Er,Yn,rr)=>{if(Ue){const jr=Yn.map(Hr=>jn(Hr));Ue(jn(Qn),Er,jr,rr)}Zr(Yn,"single")},[Ue,jn,Zr]),Co=(0,e.useMemo)(()=>!Nt||gn?null:(Nt===!0?[Sr,Fr,$r]:Nt).map(Er=>Er===Sr?{key:"all",text:ir.selectionAll,onSelect(){Zr(Cn.map((Yn,rr)=>An(Yn,rr)).filter(Yn=>{const rr=Mr.get(Yn);return!(rr!=null&&rr.disabled)||fo.has(Yn)}),"all")}}:Er===Fr?{key:"invert",text:ir.selectInvert,onSelect(){const Yn=new Set(fo);wn.forEach((jr,Hr)=>{const so=An(jr,Hr),ro=Mr.get(so);ro!=null&&ro.disabled||(Yn.has(so)?Yn.delete(so):Yn.add(so))});const rr=Array.from(Yn);vt&&(Tn.deprecated(!1,"onSelectInvert","onChange"),vt(rr)),Zr(rr,"invert")}}:Er===$r?{key:"none",text:ir.selectNone,onSelect(){zt==null||zt(),Zr(Array.from(fo).filter(Yn=>{const rr=Mr.get(Yn);return rr==null?void 0:rr.disabled}),"none")}}:Er).map(Er=>Object.assign(Object.assign({},Er),{onSelect:function(){for(var Yn,rr,jr=arguments.length,Hr=new Array(jr),so=0;so{var Er;if(!a)return Qn.filter(Xr=>Xr!==Wn);let Yn=(0,yt.Z)(Qn);const rr=new Set(fo),jr=Sn.map(An).filter(Xr=>!Mr.get(Xr).disabled),Hr=jr.every(Xr=>rr.has(Xr)),so=jr.some(Xr=>rr.has(Xr)),ro=()=>{const Xr=[];Hr?jr.forEach(ao=>{rr.delete(ao),Xr.push(ao)}):jr.forEach(ao=>{rr.has(ao)||(rr.add(ao),Xr.push(ao))});const oo=Array.from(rr);gt==null||gt(!Hr,oo.map(ao=>jn(ao)),Xr.map(ao=>jn(ao))),Zr(oo,"all"),On(null)};let Po,Ro;if(St!=="radio"){let Xr;if(Co){const Vr={getPopupContainer:mr,items:Co.map((po,_r)=>{const{key:Zo,text:yo,onSelect:jo}=po;return{key:Zo!=null?Zo:_r,onClick:()=>{jo==null||jo(jr)},label:yo}})};Xr=e.createElement("div",{className:`${vn}-selection-extra`},e.createElement($n.Z,{menu:Vr,getPopupContainer:mr},e.createElement("span",null,e.createElement(cn.Z,null))))}const oo=Sn.map((Vr,po)=>{const _r=An(Vr,po),Zo=Mr.get(_r)||{};return Object.assign({checked:rr.has(_r)},Zo)}).filter(Vr=>{let{disabled:po}=Vr;return po}),ao=!!oo.length&&oo.length===Sn.length,Do=ao&&oo.every(Vr=>{let{checked:po}=Vr;return po}),So=ao&&oo.some(Vr=>{let{checked:po}=Vr;return po});Ro=e.createElement(ar.default,{checked:ao?Do:!!Sn.length&&Hr,indeterminate:ao?!Do&&So:!Hr&&so,onChange:ro,disabled:Sn.length===0||ao,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Po=!gn&&e.createElement("div",{className:`${vn}-selection`},Ro,Xr)}let qn;St==="radio"?qn=(Xr,oo,ao)=>{const Do=An(oo,ao),So=rr.has(Do),Vr=Mr.get(Do);return{node:e.createElement(er.ZP,Object.assign({},Vr,{checked:So,onClick:po=>{var _r;po.stopPropagation(),(_r=Vr==null?void 0:Vr.onClick)===null||_r===void 0||_r.call(Vr,po)},onChange:po=>{var _r;rr.has(Do)||Ar(Do,!0,[Do],po.nativeEvent),(_r=Vr==null?void 0:Vr.onChange)===null||_r===void 0||_r.call(Vr,po)}})),checked:So}}:qn=(Xr,oo,ao)=>{var Do;const So=An(oo,ao),Vr=rr.has(So),po=Fo.has(So),_r=Mr.get(So);let Zo;return xr==="nest"?Zo=po:Zo=(Do=_r==null?void 0:_r.indeterminate)!==null&&Do!==void 0?Do:po,{node:e.createElement(ar.default,Object.assign({},_r,{indeterminate:Zo,checked:Vr,skipGroup:!0,onClick:yo=>{var jo;yo.stopPropagation(),(jo=_r==null?void 0:_r.onClick)===null||jo===void 0||jo.call(_r,yo)},onChange:yo=>{var jo;const{nativeEvent:ya}=yo,{shiftKey:Wa}=ya,vo=jr.findIndex(Ko=>Ko===So),Va=io.some(Ko=>jr.includes(Ko));if(Wa&&pn&&Va){const Ko=Ln(vo,jr,rr),ea=Array.from(rr);Ot==null||Ot(!Vr,ea.map(ko=>jn(ko)),Ko.map(ko=>jn(ko))),Zr(ea,"multiple")}else{const Ko=io;if(pn){const ea=Vr?(0,Rn._5)(Ko,So):(0,Rn.L0)(Ko,So);Ar(So,!Vr,ea,ya)}else{const ea=(0,Bn.S)([].concat((0,yt.Z)(Ko),[So]),!0,Rr,go),{checkedKeys:ko,halfCheckedKeys:Ho}=ea;let Wo=ko;if(Vr){const ta=new Set(ko);ta.delete(So),Wo=(0,Bn.S)(Array.from(ta),{checked:!1,halfCheckedKeys:Ho},Rr,go).checkedKeys}Ar(So,!Vr,Wo,ya)}}On(Vr?null:vo),(jo=_r==null?void 0:_r.onChange)===null||jo===void 0||jo.call(_r,yo)}})),checked:Vr}};const dr=(Xr,oo,ao)=>{const{node:Do,checked:So}=qn(Xr,oo,ao);return _t?_t(So,oo,ao,Do):Do};if(!Yn.includes(Wn))if(Yn.findIndex(Xr=>{var oo;return((oo=Xr[Vt])===null||oo===void 0?void 0:oo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...oo]=Yn;Yn=[Xr,Wn].concat((0,yt.Z)(oo))}else Yn=[Wn].concat((0,yt.Z)(Yn));const Wr=Yn.indexOf(Wn);Yn=Yn.filter((Xr,oo)=>Xr!==Wn||oo===Wr);const uo=Yn[Wr-1],Yr=Yn[Wr+1];let Mo=mn;Mo===void 0&&((Yr==null?void 0:Yr.fixed)!==void 0?Mo=Yr.fixed:(uo==null?void 0:uo.fixed)!==void 0&&(Mo=uo.fixed)),Mo&&uo&&((Er=uo[Vt])===null||Er===void 0?void 0:Er.columnType)==="EXPAND_COLUMN"&&uo.fixed===void 0&&(uo.fixed=Mo);const bo=H()(`${vn}-selection-col`,{[`${vn}-selection-col-with-dropdown`]:Nt&&St==="checkbox"}),la=()=>a!=null&&a.columnTitle?typeof a.columnTitle=="function"?a.columnTitle(Ro):a.columnTitle:Po,co={fixed:Mo,width:xt,className:`${vn}-selection-column`,title:la(),render:dr,onCell:a.onCell,[Vt]:{className:bo}};return Yn.map(Xr=>Xr===Wn?co:Xr)},[An,Sn,a,io,fo,Fo,xt,Co,xr,Mr,Ot,Ar,go]),fo]},lr=t(2738);function fr(l,a){return l._antProxy=l._antProxy||{},Object.keys(a).forEach(F=>{if(!(F in l._antProxy)){const Q=l[F];l._antProxy[F]=Q,l[F]=a[F]}}),l}function Gn(l,a){return(0,e.useImperativeHandle)(l,()=>{const F=a(),{nativeElement:Q}=F;return typeof Proxy!="undefined"?new Proxy(Q,{get(Ee,$e){return F[$e]?F[$e]:Reflect.get(Ee,$e)}}):fr(Q,F)})}var ur=t(83010),yr=t(48755),gr=t(38406),br=t(83397),Br=t(31756),wr=t(13783),Tr=t(85981),Qr=t(31709),Or=t(29787),zr=t(57700);function qr(l){return a=>{const{prefixCls:F,onExpand:Q,record:Ee,expanded:$e,expandable:rt}=a,Ue=`${F}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:gt=>{Q(Ee,gt),gt.stopPropagation()},className:H()(Ue,{[`${Ue}-spaced`]:!rt,[`${Ue}-expanded`]:rt&&$e,[`${Ue}-collapsed`]:rt&&!$e}),"aria-label":$e?l.collapse:l.expand,"aria-expanded":$e})}}var Vn=qr;function sr(l){return(F,Q)=>{const Ee=F.querySelector(`.${l}-container`);let $e=Q;if(Ee){const rt=getComputedStyle(Ee),Ue=parseInt(rt.borderLeftWidth,10),gt=parseInt(rt.borderRightWidth,10);$e=Q-Ue-gt}return $e}}const kn=(l,a)=>"key"in l&&l.key!==void 0&&l.key!==null?l.key:l.dataIndex?Array.isArray(l.dataIndex)?l.dataIndex.join("."):l.dataIndex:a;function zn(l,a){return a?`${a}-${l}`:`${l}`}const cr=(l,a)=>typeof l=="function"?l(a):l,pr=(l,a)=>{const F=cr(l,a);return Object.prototype.toString.call(F)==="[object Object]"?"":F};var eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},In=eo,tr=t(7657),Dr=function(a,F){return e.createElement(tr.Z,(0,_.Z)({},a,{ref:F,icon:In}))},kr=e.forwardRef(Dr),Ur=kr,Uo=t(9981),$o=t(40192);function Yo(l){const a=e.useRef(l),F=(0,$o.Z)();return[()=>a.current,Q=>{a.current=Q,F()}]}var wo=t(7939),da=t(584),Za=t(93041),Na=t(78857),sa=t(18287),wa=t(47472),ma=t(49397),ga=l=>{const{value:a,filterSearch:F,tablePrefixCls:Q,locale:Ee,onChange:$e}=l;return F?e.createElement("div",{className:`${Q}-filter-dropdown-search`},e.createElement(ma.Z,{prefix:e.createElement(wa.Z,null),placeholder:Ee.filterSearchPlaceholder,onChange:$e,value:a,htmlSize:1,className:`${Q}-filter-dropdown-search-input`})):null},Qo=t(10228);const Sa=l=>{const{keyCode:a}=l;a===Qo.Z.ENTER&&l.stopPropagation()};var Oa=e.forwardRef((l,a)=>e.createElement("div",{className:l.className,onClick:F=>F.stopPropagation(),onKeyDown:Sa,ref:a},l.children));function Jo(l){let a=[];return(l||[]).forEach(F=>{let{value:Q,children:Ee}=F;a.push(Q),Ee&&(a=[].concat((0,yt.Z)(a),(0,yt.Z)(Jo(Ee))))}),a}function Ta(l){return l.some(a=>{let{children:F}=a;return F})}function pa(l,a){return typeof a=="string"||typeof a=="number"?a==null?void 0:a.toString().toLowerCase().includes(l.trim().toLowerCase()):!1}function Fa(l){let{filters:a,prefixCls:F,filteredKeys:Q,filterMultiple:Ee,searchValue:$e,filterSearch:rt}=l;return a.map((Ue,gt)=>{const vt=String(Ue.value);if(Ue.children)return{key:vt||gt,label:Ue.text,popupClassName:`${F}-dropdown-submenu`,children:Fa({filters:Ue.children,prefixCls:F,filteredKeys:Q,filterMultiple:Ee,searchValue:$e,filterSearch:rt})};const zt=Ee?ar.default:er.ZP,Ot={key:Ue.value!==void 0?vt:gt,label:e.createElement(e.Fragment,null,e.createElement(zt,{checked:Q.includes(vt)}),e.createElement("span",null,Ue.text))};return $e.trim()?typeof rt=="function"?rt($e,Ue)?Ot:null:pa($e,Ue.text)?Ot:null:Ot})}function xa(l){return l||[]}var La=l=>{var a,F,Q,Ee;const{tablePrefixCls:$e,prefixCls:rt,column:Ue,dropdownPrefixCls:gt,columnKey:vt,filterOnClose:zt,filterMultiple:Ot,filterMode:xt="menu",filterSearch:St=!1,filterState:Nt,triggerFilter:mn,locale:_t,children:gn,getPopupContainer:pn,rootClassName:vn}=l,{filterResetToDefaultFilteredValue:Cn,defaultFilteredValue:wn,filterDropdownProps:jn={},filterDropdownOpen:An,filterDropdownVisible:xr,onFilterDropdownVisibleChange:or,onFilterDropdownOpenChange:ir}=Ue,[mr,Tn]=e.useState(!1),Ln=!!(Nt&&(!((a=Nt.filteredKeys)===null||a===void 0)&&a.length||Nt.forceFiltered)),On=qn=>{var dr;Tn(qn),(dr=jn.onOpenChange)===null||dr===void 0||dr.call(jn,qn),ir==null||ir(qn),or==null||or(qn)},hn=(Ee=(Q=(F=jn.open)!==null&&F!==void 0?F:An)!==null&&Q!==void 0?Q:xr)!==null&&Ee!==void 0?Ee:mr,Zn=Nt==null?void 0:Nt.filteredKeys,[Un,nr]=Yo(xa(Zn)),Sn=qn=>{let{selectedKeys:dr}=qn;nr(dr)},Rr=(qn,dr)=>{let{node:Wr,checked:uo}=dr;Sn(Ot?{selectedKeys:qn}:{selectedKeys:uo&&Wr.key?[Wr.key]:[]})};e.useEffect(()=>{mr&&Sn({selectedKeys:xa(Zn)})},[Zn]);const[Mr,go]=e.useState([]),io=qn=>{go(qn)},[no,fo]=e.useState(""),Fo=qn=>{const{value:dr}=qn.target;fo(dr)};e.useEffect(()=>{mr||fo("")},[mr]);const Zr=qn=>{const dr=qn!=null&&qn.length?qn:null;if(dr===null&&(!Nt||!Nt.filteredKeys)||(0,E.Z)(dr,Nt==null?void 0:Nt.filteredKeys,!0))return null;mn({column:Ue,key:vt,filteredKeys:dr})},Ar=()=>{On(!1),Zr(Un())},Co=function(){let{confirm:qn,closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qn&&Zr([]),dr&&On(!1),fo(""),nr(Cn?(wn||[]).map(Wr=>String(Wr)):[])},xo=function(){let{closeDropdown:qn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qn&&On(!1),Zr(Un())},Qn=(qn,dr)=>{dr.source==="trigger"&&(qn&&Zn!==void 0&&nr(xa(Zn)),On(qn),!qn&&!Ue.filterDropdown&&zt&&Ar())},Er=H()({[`${gt}-menu-without-submenu`]:!Ta(Ue.filters||[])}),Yn=qn=>{if(qn.target.checked){const dr=Jo(Ue==null?void 0:Ue.filters).map(Wr=>String(Wr));nr(dr)}else nr([])},rr=qn=>{let{filters:dr}=qn;return(dr||[]).map((Wr,uo)=>{const Yr=String(Wr.value),Mo={title:Wr.text,key:Wr.value!==void 0?Yr:String(uo)};return Wr.children&&(Mo.children=rr({filters:Wr.children})),Mo})},jr=qn=>{var dr;return Object.assign(Object.assign({},qn),{text:qn.title,value:qn.key,children:((dr=qn.children)===null||dr===void 0?void 0:dr.map(Wr=>jr(Wr)))||[]})};let Hr;const{direction:so,renderEmpty:ro}=e.useContext(yr.E_);if(typeof Ue.filterDropdown=="function")Hr=Ue.filterDropdown({prefixCls:`${gt}-custom`,setSelectedKeys:qn=>Sn({selectedKeys:qn}),selectedKeys:Un(),confirm:xo,clearFilters:Co,filters:Ue.filters,visible:hn,close:()=>{On(!1)}});else if(Ue.filterDropdown)Hr=Ue.filterDropdown;else{const qn=Un()||[],dr=()=>{var uo,Yr;const Mo=(uo=ro==null?void 0:ro("Table.filter"))!==null&&uo!==void 0?uo:e.createElement(da.Z,{image:da.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Ue.filters||[]).length===0)return Mo;if(xt==="tree")return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),e.createElement("div",{className:`${$e}-filter-dropdown-tree`},Ot?e.createElement(ar.default,{checked:qn.length===Jo(Ue.filters).length,indeterminate:qn.length>0&&qn.lengthtypeof St=="function"?St(no,jr(co)):pa(no,co.title):void 0})));const bo=Fa({filters:Ue.filters||[],filterSearch:St,prefixCls:rt,filteredKeys:Un(),filterMultiple:Ot,searchValue:no}),la=bo.every(co=>co===null);return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),la?Mo:e.createElement(Za.default,{selectable:!0,multiple:Ot,prefixCls:`${gt}-menu`,className:Er,onSelect:Sn,onDeselect:Sn,selectedKeys:qn,getPopupContainer:pn,openKeys:Mr,onOpenChange:io,items:bo}))},Wr=()=>Cn?(0,E.Z)((wn||[]).map(uo=>String(uo)),qn,!0):qn.length===0;Hr=e.createElement(e.Fragment,null,dr(),e.createElement("div",{className:`${rt}-dropdown-btns`},e.createElement(wo.ZP,{type:"link",size:"small",disabled:Wr(),onClick:()=>Co()},_t.filterReset),e.createElement(wo.ZP,{type:"primary",size:"small",onClick:Ar},_t.filterConfirm)))}Ue.filterDropdown&&(Hr=e.createElement(Na.J,{selectable:void 0},Hr)),Hr=e.createElement(Oa,{className:`${rt}-dropdown`},Hr);const Po=()=>{let qn;return typeof Ue.filterIcon=="function"?qn=Ue.filterIcon(Ln):Ue.filterIcon?qn=Ue.filterIcon:qn=e.createElement(Ur,null),e.createElement("span",{role:"button",tabIndex:-1,className:H()(`${rt}-trigger`,{active:Ln}),onClick:dr=>{dr.stopPropagation()}},qn)},Ro=(0,Uo.Z)({trigger:["click"],placement:so==="rtl"?"bottomLeft":"bottomRight",children:Po(),getPopupContainer:pn},Object.assign(Object.assign({},jn),{rootClassName:H()(vn,jn.rootClassName),open:hn,onOpenChange:Qn,dropdownRender:()=>typeof(jn==null?void 0:jn.dropdownRender)=="function"?jn.dropdownRender(Hr):Hr}));return e.createElement("div",{className:`${rt}-column`},e.createElement("span",{className:`${$e}-column-title`},gn),e.createElement($n.Z,Object.assign({},Ro)))};const fa=(l,a,F)=>{let Q=[];return(l||[]).forEach((Ee,$e)=>{var rt;const Ue=zn($e,F);if(Ee.filters||"filterDropdown"in Ee||"onFilter"in Ee)if("filteredValue"in Ee){let gt=Ee.filteredValue;"filterDropdown"in Ee||(gt=(rt=gt==null?void 0:gt.map(String))!==null&&rt!==void 0?rt:gt),Q.push({column:Ee,key:kn(Ee,Ue),filteredKeys:gt,forceFiltered:Ee.filtered})}else Q.push({column:Ee,key:kn(Ee,Ue),filteredKeys:a&&Ee.defaultFilteredValue?Ee.defaultFilteredValue:void 0,forceFiltered:Ee.filtered});"children"in Ee&&(Q=[].concat((0,yt.Z)(Q),(0,yt.Z)(fa(Ee.children,a,Ue))))}),Q};function qo(l,a,F,Q,Ee,$e,rt,Ue,gt){return F.map((vt,zt)=>{const Ot=zn(zt,Ue),{filterOnClose:xt=!0,filterMultiple:St=!0,filterMode:Nt,filterSearch:mn}=vt;let _t=vt;if(_t.filters||_t.filterDropdown){const gn=kn(_t,Ot),pn=Q.find(vn=>{let{key:Cn}=vn;return gn===Cn});_t=Object.assign(Object.assign({},_t),{title:vn=>e.createElement(La,{tablePrefixCls:l,prefixCls:`${l}-filter`,dropdownPrefixCls:a,column:_t,columnKey:gn,filterState:pn,filterOnClose:xt,filterMultiple:St,filterMode:Nt,filterSearch:mn,triggerFilter:$e,locale:Ee,getPopupContainer:rt,rootClassName:gt},cr(vt.title,vn))})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:qo(l,a,_t.children,Q,Ee,$e,rt,Ot,gt)})),_t})}const Nr=l=>{const a={};return l.forEach(F=>{let{key:Q,filteredKeys:Ee,column:$e}=F;const rt=Q,{filters:Ue,filterDropdown:gt}=$e;if(gt)a[rt]=Ee||null;else if(Array.isArray(Ee)){const vt=Jo(Ue);a[rt]=vt.filter(zt=>Ee.includes(String(zt)))}else a[rt]=null}),a},Pr=(l,a,F)=>a.reduce((Ee,$e)=>{const{column:{onFilter:rt,filters:Ue},filteredKeys:gt}=$e;return rt&>&>.length?Ee.map(vt=>Object.assign({},vt)).filter(vt=>gt.some(zt=>{const Ot=Jo(Ue),xt=Ot.findIndex(Nt=>String(Nt)===String(zt)),St=xt!==-1?Ot[xt]:zt;return vt[F]&&(vt[F]=Pr(vt[F],a,F)),rt(St,vt)})):Ee},l),Oo=l=>l.flatMap(a=>"children"in a?[a].concat((0,yt.Z)(Oo(a.children||[]))):[a]);var mo=l=>{const{prefixCls:a,dropdownPrefixCls:F,mergedColumns:Q,onFilterChange:Ee,getPopupContainer:$e,locale:rt,rootClassName:Ue}=l,gt=(0,Xn.ln)("Table"),vt=e.useMemo(()=>Oo(Q||[]),[Q]),[zt,Ot]=e.useState(()=>fa(vt,!0)),xt=e.useMemo(()=>{const _t=fa(vt,!1);if(_t.length===0)return _t;let gn=!0,pn=!0;if(_t.forEach(vn=>{let{filteredKeys:Cn}=vn;Cn!==void 0?gn=!1:pn=!1}),gn){const vn=(vt||[]).map((Cn,wn)=>kn(Cn,zn(wn)));return zt.filter(Cn=>{let{key:wn}=Cn;return vn.includes(wn)}).map(Cn=>{const wn=vt[vn.findIndex(jn=>jn===Cn.key)];return Object.assign(Object.assign({},Cn),{column:Object.assign(Object.assign({},Cn.column),wn),forceFiltered:wn.filtered})})}return _t},[vt,zt]),St=e.useMemo(()=>Nr(xt),[xt]),Nt=_t=>{const gn=xt.filter(pn=>{let{key:vn}=pn;return vn!==_t.key});gn.push(_t),Ot(gn),Ee(Nr(gn),gn)};return[_t=>qo(a,F,_t,xt,rt,Nt,$e,void 0,Ue),xt,St]},Go=(l,a,F)=>{const Q=e.useRef({});function Ee($e){var rt;if(!Q.current||Q.current.data!==l||Q.current.childrenColumnName!==a||Q.current.getRowKey!==F){let gt=function(vt){vt.forEach((zt,Ot)=>{const xt=F(zt,Ot);Ue.set(xt,zt),zt&&typeof zt=="object"&&a in zt&>(zt[a]||[])})};const Ue=new Map;gt(l),Q.current={data:l,childrenColumnName:a,kvMap:Ue,getRowKey:F}}return(rt=Q.current.kvMap)===null||rt===void 0?void 0:rt.get($e)}return[Ee]},Xo=function(l,a){var F={};for(var Q in l)Object.prototype.hasOwnProperty.call(l,Q)&&a.indexOf(Q)<0&&(F[Q]=l[Q]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Q=Object.getOwnPropertySymbols(l);Ee{const $e=l[Ee];typeof $e!="function"&&(F[Ee]=$e)}),F}function aa(l,a,F){const Q=F&&typeof F=="object"?F:{},{total:Ee=0}=Q,$e=Xo(Q,["total"]),[rt,Ue]=(0,e.useState)(()=>({current:"defaultCurrent"in $e?$e.defaultCurrent:1,pageSize:"defaultPageSize"in $e?$e.defaultPageSize:_o})),gt=(0,Uo.Z)(rt,$e,{total:Ee>0?Ee:l}),vt=Math.ceil((Ee||l)/gt.pageSize);gt.current>vt&&(gt.current=vt||1);const zt=(xt,St)=>{Ue({current:xt!=null?xt:1,pageSize:St||gt.pageSize})},Ot=(xt,St)=>{var Nt;F&&((Nt=F.onChange)===null||Nt===void 0||Nt.call(F,xt,St)),zt(xt,St),a(xt,St||(gt==null?void 0:gt.pageSize))};return F===!1?[{},()=>{}]:[Object.assign(Object.assign({},gt),{onChange:Ot}),zt]}var ha=aa,Ca=t(89489),tl=t(59477),ka=t(25399);const lo="ascend",Jr="descend",to=l=>typeof l.sorter=="object"&&typeof l.sorter.multiple=="number"?l.sorter.multiple:!1,Lo=l=>typeof l=="function"?l:l&&typeof l=="object"&&l.compare?l.compare:!1,zo=(l,a)=>a?l[l.indexOf(a)+1]:l[0],ba=(l,a,F)=>{let Q=[];const Ee=($e,rt)=>{Q.push({column:$e,key:kn($e,rt),multiplePriority:to($e),sortOrder:$e.sortOrder})};return(l||[]).forEach(($e,rt)=>{const Ue=zn(rt,F);$e.children?("sortOrder"in $e&&Ee($e,Ue),Q=[].concat((0,yt.Z)(Q),(0,yt.Z)(ba($e.children,a,Ue)))):$e.sorter&&("sortOrder"in $e?Ee($e,Ue):a&&$e.defaultSortOrder&&Q.push({column:$e,key:kn($e,Ue),multiplePriority:to($e),sortOrder:$e.defaultSortOrder}))}),Q},Pa=(l,a,F,Q,Ee,$e,rt,Ue)=>(a||[]).map((vt,zt)=>{const Ot=zn(zt,Ue);let xt=vt;if(xt.sorter){const St=xt.sortDirections||Ee,Nt=xt.showSorterTooltip===void 0?rt:xt.showSorterTooltip,mn=kn(xt,Ot),_t=F.find(or=>{let{key:ir}=or;return ir===mn}),gn=_t?_t.sortOrder:null,pn=zo(St,gn);let vn;if(vt.sortIcon)vn=vt.sortIcon({sortOrder:gn});else{const or=St.includes(lo)&&e.createElement(tl.Z,{className:H()(`${l}-column-sorter-up`,{active:gn===lo})}),ir=St.includes(Jr)&&e.createElement(Ca.Z,{className:H()(`${l}-column-sorter-down`,{active:gn===Jr})});vn=e.createElement("span",{className:H()(`${l}-column-sorter`,{[`${l}-column-sorter-full`]:!!(or&&ir)})},e.createElement("span",{className:`${l}-column-sorter-inner`,"aria-hidden":"true"},or,ir))}const{cancelSort:Cn,triggerAsc:wn,triggerDesc:jn}=$e||{};let An=Cn;pn===Jr?An=jn:pn===lo&&(An=wn);const xr=typeof Nt=="object"?Object.assign({title:An},Nt):{title:An};xt=Object.assign(Object.assign({},xt),{className:H()(xt.className,{[`${l}-column-sort`]:gn}),title:or=>{const ir=`${l}-column-sorters`,mr=e.createElement("span",{className:`${l}-column-title`},cr(vt.title,or)),Tn=e.createElement("div",{className:ir},mr,vn);return Nt?typeof Nt!="boolean"&&(Nt==null?void 0:Nt.target)==="sorter-icon"?e.createElement("div",{className:`${ir} ${l}-column-sorters-tooltip-target-sorter`},mr,e.createElement(ka.Z,Object.assign({},xr),vn)):e.createElement(ka.Z,Object.assign({},xr),Tn):Tn},onHeaderCell:or=>{var ir;const mr=((ir=vt.onHeaderCell)===null||ir===void 0?void 0:ir.call(vt,or))||{},Tn=mr.onClick,Ln=mr.onKeyDown;mr.onClick=Zn=>{Q({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Tn==null||Tn(Zn)},mr.onKeyDown=Zn=>{Zn.keyCode===Qo.Z.ENTER&&(Q({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Ln==null||Ln(Zn))};const On=pr(vt.title,{}),hn=On==null?void 0:On.toString();return gn&&(mr["aria-sort"]=gn==="ascend"?"ascending":"descending"),mr["aria-label"]=hn||"",mr.className=H()(mr.className,`${l}-column-has-sorters`),mr.tabIndex=0,vt.ellipsis&&(mr.title=(On!=null?On:"").toString()),mr}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:Pa(l,xt.children,F,Q,Ee,$e,rt,Ot)})),xt}),Ya=l=>{const{column:a,sortOrder:F}=l;return{column:a,order:F,field:a.dataIndex,columnKey:a.key}},za=l=>{const a=l.filter(F=>{let{sortOrder:Q}=F;return Q}).map(Ya);if(a.length===0&&l.length){const F=l.length-1;return Object.assign(Object.assign({},Ya(l[F])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return a.length<=1?a[0]||{}:a},Ra=(l,a,F)=>{const Q=a.slice().sort((rt,Ue)=>Ue.multiplePriority-rt.multiplePriority),Ee=l.slice(),$e=Q.filter(rt=>{let{column:{sorter:Ue},sortOrder:gt}=rt;return Lo(Ue)&>});return $e.length?Ee.sort((rt,Ue)=>{for(let gt=0;gt<$e.length;gt+=1){const vt=$e[gt],{column:{sorter:zt},sortOrder:Ot}=vt,xt=Lo(zt);if(xt&&Ot){const St=xt(rt,Ue,Ot);if(St!==0)return Ot===lo?St:-St}}return 0}).map(rt=>{const Ue=rt[F];return Ue?Object.assign(Object.assign({},rt),{[F]:Ra(Ue,a,F)}):rt}):Ee};var ja=l=>{const{prefixCls:a,mergedColumns:F,sortDirections:Q,tableLocale:Ee,showSorterTooltip:$e,onSorterChange:rt}=l,[Ue,gt]=e.useState(ba(F,!0)),vt=(mn,_t)=>{const gn=[];return mn.forEach((pn,vn)=>{const Cn=zn(vn,_t);if(gn.push(kn(pn,Cn)),Array.isArray(pn.children)){const wn=vt(pn.children,Cn);gn.push.apply(gn,(0,yt.Z)(wn))}}),gn},zt=e.useMemo(()=>{let mn=!0;const _t=ba(F,!1);if(!_t.length){const Cn=vt(F);return Ue.filter(wn=>{let{key:jn}=wn;return Cn.includes(jn)})}const gn=[];function pn(Cn){mn?gn.push(Cn):gn.push(Object.assign(Object.assign({},Cn),{sortOrder:null}))}let vn=null;return _t.forEach(Cn=>{vn===null?(pn(Cn),Cn.sortOrder&&(Cn.multiplePriority===!1?mn=!1:vn=!0)):(vn&&Cn.multiplePriority!==!1||(mn=!1),pn(Cn))}),gn},[F,Ue]),Ot=e.useMemo(()=>{var mn,_t;const gn=zt.map(pn=>{let{column:vn,sortOrder:Cn}=pn;return{column:vn,order:Cn}});return{sortColumns:gn,sortColumn:(mn=gn[0])===null||mn===void 0?void 0:mn.column,sortOrder:(_t=gn[0])===null||_t===void 0?void 0:_t.order}},[zt]),xt=mn=>{let _t;mn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?_t=[mn]:_t=[].concat((0,yt.Z)(zt.filter(gn=>{let{key:pn}=gn;return pn!==mn.key})),[mn]),gt(_t),rt(za(_t),_t)};return[mn=>Pa(a,mn,zt,xt,Q,Ee,$e),zt,Ot,()=>za(zt)]};const Qa=(l,a)=>l.map(Q=>{const Ee=Object.assign({},Q);return Ee.title=cr(Q.title,a),"children"in Ee&&(Ee.children=Qa(Ee.children,a)),Ee});var Fl=l=>[e.useCallback(F=>Qa(F,l),[l])],Pl=ht((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:Q}=a;return F!==Q}),Rl=mt((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:Q}=a;return F!==Q}),hr=t(36237),Ka=t(17835),Ha=t(63356),$l=t(16931),Bl=t(51636),Ml=l=>{const{componentCls:a,lineWidth:F,lineType:Q,tableBorderColor:Ee,tableHeaderBg:$e,tablePaddingVertical:rt,tablePaddingHorizontal:Ue,calc:gt}=l,vt=`${(0,hr.unit)(F)} ${Q} ${Ee}`,zt=(Ot,xt,St)=>({[`&${a}-${Ot}`]:{[`> ${a}-container`]:{[`> ${a}-content, > ${a}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${a}-expanded-row-fixed`]:{margin:`${(0,hr.unit)(gt(xt).mul(-1).equal())} ${(0,hr.unit)(gt(gt(St).add(F)).mul(-1).equal())}`}}}}}});return{[`${a}-wrapper`]:{[`${a}${a}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${a}-title`]:{border:vt,borderBottom:0},[`> ${a}-container`]:{borderInlineStart:vt,borderTop:vt,[` > ${a}-content, > ${a}-header, @@ -170,7 +170,7 @@ > ${a}-wrapper:only-child, > ${a}-expanded-row-fixed > ${a}-wrapper:only-child `]:{[a]:{marginBlock:(0,hr.unit)(pn(Q).mul(-1).equal()),marginInline:`${(0,hr.unit)(pn($e).sub(Ee).equal())} - ${(0,hr.unit)(pn(Ee).mul(-1).equal())}`,[`${a}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:xt,fontWeight:F,textAlign:"start",background:Nt,borderBottom:vn,transition:`background ${St} ease`}}},[`${a}-footer`]:{padding:`${(0,hr.unit)(Q)} ${(0,hr.unit)(Ee)}`,color:_t,background:gn}})}},kl=l=>{const{colorFillAlter:a,colorBgContainer:F,colorTextHeading:Q,colorFillSecondary:Ee,colorFillContent:$e,controlItemBgActive:rt,controlItemBgActiveHover:Ue,padding:gt,paddingSM:vt,paddingXS:zt,colorBorderSecondary:Ot,borderRadiusLG:xt,controlHeight:St,colorTextPlaceholder:Nt,fontSize:mn,fontSizeSM:_t,lineHeight:gn,lineWidth:pn,colorIcon:vn,colorIconHover:Cn,opacityLoading:wn,controlInteractiveSize:jn}=l,An=new Ka.FastColor(Ee).onBackground(F).toHexString(),xr=new Ka.FastColor($e).onBackground(F).toHexString(),or=new Ka.FastColor(a).onBackground(F).toHexString(),ir=new Ka.FastColor(vn),mr=new Ka.FastColor(Cn),Tn=jn/2-pn,Ln=Tn*2+pn*3;return{headerBg:or,headerColor:Q,headerSortActiveBg:An,headerSortHoverBg:xr,bodySortBg:or,rowHoverBg:or,rowSelectedBg:rt,rowSelectedHoverBg:Ue,rowExpandedBg:a,cellPaddingBlock:gt,cellPaddingInline:gt,cellPaddingBlockMD:vt,cellPaddingInlineMD:zt,cellPaddingBlockSM:zt,cellPaddingInlineSM:zt,borderColor:Ot,headerBorderRadius:xt,footerBg:or,footerColor:Q,cellFontSize:mn,cellFontSizeMD:mn,cellFontSizeSM:mn,headerSplitColor:Ot,fixedHeaderSortActiveBg:An,headerFilterHoverBg:$e,filterDropdownMenuBg:F,filterDropdownBg:F,expandIconBg:F,selectionColumnWidth:St,stickyScrollBarBg:Nt,stickyScrollBarBorderRadius:100,expandIconMarginTop:(mn*gn-pn*3)/2-Math.ceil((_t*1.4-pn*3)/2),headerIconColor:ir.clone().setA(ir.a*wn).toRgbString(),headerIconHoverColor:mr.clone().setA(mr.a*wn).toRgbString(),expandIconHalfInner:Tn,expandIconSize:Ln,expandIconScale:jn/Ln}},fl=2;var Yl=(0,$l.I$)("Table",l=>{const{colorTextHeading:a,colorSplit:F,colorBgContainer:Q,controlInteractiveSize:Ee,headerBg:$e,headerColor:rt,headerSortActiveBg:Ue,headerSortHoverBg:gt,bodySortBg:vt,rowHoverBg:zt,rowSelectedBg:Ot,rowSelectedHoverBg:xt,rowExpandedBg:St,cellPaddingBlock:Nt,cellPaddingInline:mn,cellPaddingBlockMD:_t,cellPaddingInlineMD:gn,cellPaddingBlockSM:pn,cellPaddingInlineSM:vn,borderColor:Cn,footerBg:wn,footerColor:jn,headerBorderRadius:An,cellFontSize:xr,cellFontSizeMD:or,cellFontSizeSM:ir,headerSplitColor:mr,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:Ln,filterDropdownBg:On,expandIconBg:hn,selectionColumnWidth:Zn,stickyScrollBarBg:Un,calc:nr}=l,Sn=(0,Bl.mergeToken)(l,{tableFontSize:xr,tableBg:Q,tableRadius:An,tablePaddingVertical:Nt,tablePaddingHorizontal:mn,tablePaddingVerticalMiddle:_t,tablePaddingHorizontalMiddle:gn,tablePaddingVerticalSmall:pn,tablePaddingHorizontalSmall:vn,tableBorderColor:Cn,tableHeaderTextColor:rt,tableHeaderBg:$e,tableFooterTextColor:jn,tableFooterBg:wn,tableHeaderCellSplitColor:mr,tableHeaderSortBg:Ue,tableHeaderSortHoverBg:gt,tableBodySortBg:vt,tableFixedHeaderSortActiveBg:Tn,tableHeaderFilterActiveBg:Ln,tableFilterDropdownBg:On,tableRowHoverBg:zt,tableSelectedRowBg:Ot,tableSelectedRowHoverBg:xt,zIndexTableFixed:fl,zIndexTableSticky:nr(fl).add(1).equal({unit:!1}),tableFontSizeMiddle:or,tableFontSizeSmall:ir,tableSelectionColumnWidth:Zn,tableExpandIconBg:hn,tableExpandColumnWidth:nr(Ee).add(nr(l.padding).mul(2)).equal(),tableExpandedRowBg:St,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Un,tableScrollThumbBgHover:a,tableScrollBg:F});return[Gl(Sn),zl(Sn),dl(Sn),Vl(Sn),Tl(Sn),Ml(Sn),jl(Sn),Al(Sn),dl(Sn),Nl(Sn),Hl(Sn),Ll(Sn),Ul(Sn),Zl(Sn),Wl(Sn),Kl(Sn),Xl(Sn)]},kl,{unitless:{expandIconScale:!0}});const Ql=[],Jl=(l,a)=>{var F,Q;const{prefixCls:Ee,className:$e,rootClassName:rt,style:Ue,size:gt,bordered:vt,dropdownPrefixCls:zt,dataSource:Ot,pagination:xt,rowSelection:St,rowKey:Nt="key",rowClassName:mn,columns:_t,children:gn,childrenColumnName:pn,onChange:vn,getPopupContainer:Cn,loading:wn,expandIcon:jn,expandable:An,expandedRowRender:xr,expandIconColumnIndex:or,indentSize:ir,scroll:mr,sortDirections:Tn,locale:Ln,showSorterTooltip:On={target:"full-header"},virtual:hn}=l,Zn=(0,Xn.ln)("Table"),Un=e.useMemo(()=>_t||bn(gn),[_t,gn]),nr=e.useMemo(()=>Un.some(Ir=>Ir.responsive),[Un]),Sn=(0,wr.Z)(nr),Rr=e.useMemo(()=>{const Ir=new Set(Object.keys(Sn).filter(Gr=>Sn[Gr]));return Un.filter(Gr=>!Gr.responsive||Gr.responsive.some(Eo=>Ir.has(Eo)))},[Un,Sn]),Mr=(0,lr.Z)(l,["className","style","columns"]),{locale:go=Tr.Z,direction:io,table:no,renderEmpty:fo,getPrefixCls:Fo,getPopupContainer:Zr}=e.useContext(yr.E_),Ar=(0,Br.Z)(gt),Co=Object.assign(Object.assign({},go.Table),Ln),xo=Ot||Ql,Qn=Fo("table",Ee),Er=Fo("dropdown",zt),[,Yn]=(0,zr.ZP)(),rr=(0,br.Z)(Qn),[jr,Hr,so]=Yl(Qn,rr),ro=Object.assign(Object.assign({childrenColumnName:pn,expandIconColumnIndex:or},An),{expandIcon:(F=An==null?void 0:An.expandIcon)!==null&&F!==void 0?F:(Q=no==null?void 0:no.expandable)===null||Q===void 0?void 0:Q.expandIcon}),{childrenColumnName:Po="children"}=ro,Ro=e.useMemo(()=>xo.some(Ir=>Ir==null?void 0:Ir[Po])?"nest":xr||An!=null&&An.expandedRowRender?"row":null,[xo]),qn={body:e.useRef(null)},dr=sr(Qn),Wr=e.useRef(null),uo=e.useRef(null);Gn(a,()=>Object.assign(Object.assign({},uo.current),{nativeElement:Wr.current}));const Yr=e.useMemo(()=>typeof Nt=="function"?Nt:Ir=>Ir==null?void 0:Ir[Nt],[Nt]),[Mo]=Go(xo,Po,Yr),bo={},la=function(Ir,Gr){let Eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Io,Vo,na,ia;const No=Object.assign(Object.assign({},bo),Ir);Eo&&((Io=bo.resetPagination)===null||Io===void 0||Io.call(bo),!((Vo=No.pagination)===null||Vo===void 0)&&Vo.current&&(No.pagination.current=1),xt&&((na=xt.onChange)===null||na===void 0||na.call(xt,1,(ia=No.pagination)===null||ia===void 0?void 0:ia.pageSize))),mr&&mr.scrollToFirstRowOnChange!==!1&&qn.body.current&&(0,ur.Z)(0,{getContainer:()=>qn.body.current}),vn==null||vn(No.pagination,No.filters,No.sorter,{currentDataSource:Pr(Ra(xo,No.sorterStates,Po),No.filterStates,Po),action:Gr})},co=(Ir,Gr)=>{la({sorter:Ir,sorterStates:Gr},"sort",!1)},[Xr,oo,ao,Do]=ja({prefixCls:Qn,mergedColumns:Rr,onSorterChange:co,sortDirections:Tn||["ascend","descend"],tableLocale:Co,showSorterTooltip:On}),So=e.useMemo(()=>Ra(xo,oo,Po),[xo,oo]);bo.sorter=Do(),bo.sorterStates=oo;const Vr=(Ir,Gr)=>{la({filters:Ir,filterStates:Gr},"filter",!0)},[po,_r,Zo]=mo({prefixCls:Qn,locale:Co,dropdownPrefixCls:Er,mergedColumns:Rr,onFilterChange:Vr,getPopupContainer:Cn||Zr,rootClassName:H()(rt,rr)}),yo=Pr(So,_r,Po);bo.filters=Zo,bo.filterStates=_r;const jo=e.useMemo(()=>{const Ir={};return Object.keys(Zo).forEach(Gr=>{Zo[Gr]!==null&&(Ir[Gr]=Zo[Gr])}),Object.assign(Object.assign({},ao),{filters:Ir})},[ao,Zo]),[ya]=Fl(jo),Wa=(Ir,Gr)=>{la({pagination:Object.assign(Object.assign({},bo.pagination),{current:Ir,pageSize:Gr})},"paginate")},[vo,Va]=ha(yo.length,Wa,xt);bo.pagination=xt===!1?{}:oa(vo,xt),bo.resetPagination=Va;const Ko=e.useMemo(()=>{if(xt===!1||!vo.pageSize)return yo;const{current:Ir=1,total:Gr,pageSize:Eo=_o}=vo;return yo.lengthEo?yo.slice((Ir-1)*Eo,Ir*Eo):yo:yo.slice((Ir-1)*Eo,Ir*Eo)},[!!xt,yo,vo==null?void 0:vo.current,vo==null?void 0:vo.pageSize,vo==null?void 0:vo.total]),[ea,ko]=Hn({prefixCls:Qn,data:yo,pageData:Ko,getRowKey:Yr,getRecordByKey:Mo,expandType:Ro,childrenColumnName:Po,locale:Co,getPopupContainer:Cn||Zr},St),Ho=(Ir,Gr,Eo)=>{let Io;return typeof mn=="function"?Io=H()(mn(Ir,Gr,Eo)):Io=H()(mn),H()({[`${Qn}-row-selected`]:ko.has(Yr(Ir,Gr))},Io)};ro.__PARENT_RENDER_ICON__=ro.expandIcon,ro.expandIcon=ro.expandIcon||jn||Vn(Co),Ro==="nest"&&ro.expandIconColumnIndex===void 0?ro.expandIconColumnIndex=St?1:0:ro.expandIconColumnIndex>0&&St&&(ro.expandIconColumnIndex-=1),typeof ro.indentSize!="number"&&(ro.indentSize=typeof ir=="number"?ir:15);const Wo=e.useCallback(Ir=>ya(ea(po(Xr(Ir)))),[Xr,po,ea]);let ta,Ea;if(xt!==!1&&(vo!=null&&vo.total)){let Ir;vo.size?Ir=vo.size:Ir=Ar==="small"||Ar==="middle"?"small":void 0;const Gr=Vo=>e.createElement(Qr.Z,Object.assign({},vo,{className:H()(`${Qn}-pagination ${Qn}-pagination-${Vo}`,vo.className),size:Ir})),Eo=io==="rtl"?"left":"right",{position:Io}=vo;if(Io!==null&&Array.isArray(Io)){const Vo=Io.find(No=>No.includes("top")),na=Io.find(No=>No.includes("bottom")),ia=Io.every(No=>`${No}`=="none");!Vo&&!na&&!ia&&(Ea=Gr(Eo)),Vo&&(ta=Gr(Vo.toLowerCase().replace("top",""))),na&&(Ea=Gr(na.toLowerCase().replace("bottom","")))}else Ea=Gr(Eo)}let ua;typeof wn=="boolean"?ua={spinning:wn}:typeof wn=="object"&&(ua=Object.assign({spinning:!0},wn));const ca=H()(so,rr,`${Qn}-wrapper`,no==null?void 0:no.className,{[`${Qn}-wrapper-rtl`]:io==="rtl"},$e,rt,Hr),nl=Object.assign(Object.assign({},no==null?void 0:no.style),Ue),rl=typeof(Ln==null?void 0:Ln.emptyText)!="undefined"?Ln.emptyText:(fo==null?void 0:fo("Table"))||e.createElement(gr.Z,{componentName:"Table"}),ol=hn?Rl:Pl,Ja={},al=e.useMemo(()=>{const{fontSize:Ir,lineHeight:Gr,lineWidth:Eo,padding:Io,paddingXS:Vo,paddingSM:na}=Yn,ia=Math.floor(Ir*Gr);switch(Ar){case"middle":return na*2+ia+Eo;case"small":return Vo*2+ia+Eo;default:return Io*2+ia+Eo}},[Yn,Ar]);return hn&&(Ja.listItemHeight=al),jr(e.createElement("div",{ref:Wr,className:ca,style:nl},e.createElement(Or.Z,Object.assign({spinning:!1},ua),ta,e.createElement(ol,Object.assign({},Ja,Mr,{ref:uo,columns:Rr,direction:io,expandable:ro,prefixCls:Qn,className:H()({[`${Qn}-middle`]:Ar==="middle",[`${Qn}-small`]:Ar==="small",[`${Qn}-bordered`]:vt,[`${Qn}-empty`]:xo.length===0},so,rr,Hr),data:Ko,rowKey:Yr,rowClassName:Ho,emptyText:rl,internalHooks:i,internalRefs:qn,transformColumns:Wo,getContainerWidth:dr})),Ea)))};var ql=e.forwardRef(Jl);const _l=(l,a)=>{const F=e.useRef(0);return F.current+=1,e.createElement(ql,Object.assign({},l,{ref:a,_renderTimes:F.current}))},va=e.forwardRef(_l);va.SELECTION_COLUMN=Wn,va.EXPAND_COLUMN=d,va.SELECTION_ALL=Sr,va.SELECTION_INVERT=Fr,va.SELECTION_NONE=$r,va.Column=un,va.ColumnGroup=en,va.Summary=$;var ei=va,ti=ei},93427:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(34998);function d(i,L){return e.i.reduce((x,D)=>{const E=i[`${D}1`],Z=i[`${D}3`],K=i[`${D}6`],r=i[`${D}7`];return Object.assign(Object.assign({},x),L(D,{lightColor:E,lightBorderColor:Z,darkColor:K,textColor:r}))},{})}},25399:function(an,_e,t){t.d(_e,{Z:function(){return ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(29125),x=t(18929),D=t(62487),E=t(75030),Z=t(86641),K=t(52838),r=t(22703),_=t(32383),M=t(55743),P=t(57700),pe=t(48755),it=t(36237),Fe=t(63356),Pe=t(34925),Ye=t(37645),b=t(36305),Ce=t(93427),s=t(51636),p=t(16931);const ae=T=>{const{calc:ze,componentCls:xe,tooltipMaxWidth:We,tooltipColor:st,tooltipBg:at,tooltipBorderRadius:Ae,zIndexPopup:tt,controlHeight:J,boxShadowSecondary:Se,paddingSM:me,paddingXS:Qe,arrowOffsetHorizontal:ie,sizePopupArrow:Je}=T,je=ze(Ae).add(Je).add(ie).equal(),bt=ze(Ae).mul(2).add(Je).equal();return[{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(T)),{position:"absolute",zIndex:tt,display:"block",width:"max-content",maxWidth:We,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":at,[`${xe}-inner`]:{minWidth:bt,minHeight:J,padding:`${(0,it.unit)(T.calc(me).div(2).equal())} ${(0,it.unit)(Qe)}`,color:st,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:at,borderRadius:Ae,boxShadow:Se,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:je},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${xe}-inner`]:{borderRadius:T.min(Ae,Ye.qN)}},[`${xe}-content`]:{position:"relative"}}),(0,Ce.Z)(T,(Te,G)=>{let{darkColor:R}=G;return{[`&${xe}-${Te}`]:{[`${xe}-inner`]:{backgroundColor:R},[`${xe}-arrow`]:{"--antd-arrow-background-color":R}}}})),{"&-rtl":{direction:"rtl"}})},(0,Ye.ZP)(T,"var(--antd-arrow-background-color)"),{[`${xe}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow}}]},le=T=>Object.assign(Object.assign({zIndexPopup:T.zIndexPopupBase+70},(0,Ye.wZ)({contentRadius:T.borderRadius,limitVerticalRadius:!0})),(0,b.w)((0,s.mergeToken)(T,{borderRadiusOuter:Math.min(T.borderRadiusOuter,4)})));var y=function(T){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,p.I$)("Tooltip",We=>{const{borderRadius:st,colorTextLightSolid:at,colorBgSpotlight:Ae}=We,tt=(0,s.mergeToken)(We,{tooltipMaxWidth:250,tooltipColor:at,tooltipBorderRadius:st,tooltipBg:Ae});return[ae(tt),(0,Pe._y)(We,"zoom-big-fast")]},le,{resetStyle:!1,injectStyle:ze})(T)},He=t(29509);function Oe(T,ze){const xe=(0,He.o2)(ze),We=i()({[`${T}-${ze}`]:ze&&xe}),st={},at={};return ze&&!xe&&(st.background=ze,at["--antd-arrow-background-color"]=ze),{className:We,overlayStyle:st,arrowStyle:at}}var Re=T=>{const{prefixCls:ze,className:xe,placement:We="top",title:st,color:at,overlayInnerStyle:Ae}=T,{getPrefixCls:tt}=e.useContext(pe.E_),J=tt("tooltip",ze),[Se,me,Qe]=y(J),ie=Oe(J,at),Je=ie.arrowStyle,je=Object.assign(Object.assign({},Ae),ie.overlayStyle),bt=i()(me,Qe,J,`${J}-pure`,`${J}-placement-${We}`,xe,ie.className);return Se(e.createElement("div",{className:bt,style:Je},e.createElement("div",{className:`${J}-arrow`}),e.createElement(L.G,Object.assign({},T,{className:me,prefixCls:J,overlayInnerStyle:je}),st)))},de=function(T,ze){var xe={};for(var We in T)Object.prototype.hasOwnProperty.call(T,We)&&ze.indexOf(We)<0&&(xe[We]=T[We]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,We=Object.getOwnPropertySymbols(T);st{var xe,We;const{prefixCls:st,openClassName:at,getTooltipContainer:Ae,color:tt,overlayInnerStyle:J,children:Se,afterOpenChange:me,afterVisibleChange:Qe,destroyTooltipOnHide:ie,arrow:Je=!0,title:je,overlay:bt,builtinPlacements:Te,arrowPointAtCenter:G=!1,autoAdjustOverflow:R=!0,motion:V,getPopupContainer:g,placement:fe="top",mouseEnterDelay:z=.1,mouseLeaveDelay:o=.1,overlayStyle:f,rootClassName:se,overlayClassName:q,styles:$,classNames:N}=T,U=de(T,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ue=!!Je,[,c]=(0,P.ZP)(),{getPopupContainer:C,getPrefixCls:Xe,direction:X,className:Le,style:Ke,classNames:nt,styles:lt}=(0,pe.dj)("tooltip"),et=(0,_.ln)("Tooltip"),w=e.useRef(null),ge=()=>{var tn;(tn=w.current)===null||tn===void 0||tn.forceAlign()};e.useImperativeHandle(ze,()=>{var tn,Nn;return{forceAlign:ge,forcePopupAlign:()=>{et.deprecated(!1,"forcePopupAlign","forceAlign"),ge()},nativeElement:(tn=w.current)===null||tn===void 0?void 0:tn.nativeElement,popupElement:(Nn=w.current)===null||Nn===void 0?void 0:Nn.popupElement}});const[Ze,Ve]=(0,x.Z)(!1,{value:(xe=T.open)!==null&&xe!==void 0?xe:T.visible,defaultValue:(We=T.defaultOpen)!==null&&We!==void 0?We:T.defaultVisible}),ot=!je&&!bt&&je!==0,Tt=tn=>{var Nn,Pn;Ve(ot?!1:tn),ot||((Nn=T.onOpenChange)===null||Nn===void 0||Nn.call(T,tn),(Pn=T.onVisibleChange)===null||Pn===void 0||Pn.call(T,tn))},ct=e.useMemo(()=>{var tn,Nn;let Pn=G;return typeof Je=="object"&&(Pn=(Nn=(tn=Je.pointAtCenter)!==null&&tn!==void 0?tn:Je.arrowPointAtCenter)!==null&&Nn!==void 0?Nn:G),Te||(0,K.Z)({arrowPointAtCenter:Pn,autoAdjustOverflow:R,arrowWidth:ue?c.sizePopupArrow:0,borderRadius:c.borderRadius,offset:c.marginXXS,visibleFirst:!0})},[G,Je,Te,c]),dt=e.useMemo(()=>je===0?je:bt||je||"",[bt,je]),Rt=e.createElement(D.Z,{space:!0},typeof dt=="function"?dt():dt),Vt=Xe("tooltip",st),Ht=Xe(),Xt=T["data-popover-inject"];let wt=Ze;!("open"in T)&&!("visible"in T)&&ot&&(wt=!1);const Ut=e.isValidElement(Se)&&!(0,r.M2)(Se)?Se:e.createElement("span",null,Se),yt=Ut.props,Bt=!yt.className||typeof yt.className=="string"?i()(yt.className,at||`${Vt}-open`):yt.className,[Pt,kt,Wt]=y(Vt,!Xt),pt=Oe(Vt,tt),Lt=pt.arrowStyle,ln=i()(q,{[`${Vt}-rtl`]:X==="rtl"},pt.className,se,kt,Wt,Le,nt.root,N==null?void 0:N.root),rn=i()(nt.body,N==null?void 0:N.body),[xn,Dn]=(0,E.Cn)("Tooltip",U.zIndex),Mn=e.createElement(L.Z,Object.assign({},U,{zIndex:xn,showArrow:ue,placement:fe,mouseEnterDelay:z,mouseLeaveDelay:o,prefixCls:Vt,classNames:{root:ln,body:rn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt),lt.root),Ke),f),$==null?void 0:$.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},lt.body),J),$==null?void 0:$.body),pt.overlayStyle)},getTooltipContainer:g||Ae||C,ref:w,builtinPlacements:ct,overlay:Rt,visible:wt,onVisibleChange:Tt,afterVisibleChange:me!=null?me:Qe,arrowContent:e.createElement("span",{className:`${Vt}-arrow-content`}),motion:{motionName:(0,Z.m)(Ht,"zoom-big-fast",T.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ie}),wt?(0,r.Tm)(Ut,{className:Bt}):Ut);return Pt(e.createElement(M.Z.Provider,{value:Dn},Mn))});n._InternalPanelDoNotUseOrYouWillBeFired=Re;var ce=n},18287:function(an,_e,t){t.d(_e,{default:function(){return tt}});var e=t(3741),d=t(94480),i=t(59301),L=t(52671),x=t(8657),D=t(54476),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Z=E,K=t(7657),r=function(Se,me){return i.createElement(K.Z,(0,D.Z)({},Se,{ref:me,icon:Z}))},_=i.forwardRef(r),M=_,P=t(92310),pe=t.n(P),it=t(82661),Fe=t(34061),Pe=t(48755),Ye=t(56082),b=t(86641),Ce=t(57700),s=t(12425);const p=4;function ae(J){const{dropPosition:Se,dropLevelOffset:me,prefixCls:Qe,indent:ie,direction:Je="ltr"}=J,je=Je==="ltr"?"left":"right",bt=Je==="ltr"?"right":"left",Te={[je]:-me*ie+p,[bt]:0};switch(Se){case-1:Te.top=-3;break;case 1:Te.bottom=-3;break;default:Te.bottom=-3,Te[je]=ie+p;break}return i.createElement("div",{style:Te,className:`${Qe}-drop-indicator`})}var le=ae,y=t(85278),Oe=i.forwardRef((J,Se)=>{var me;const{getPrefixCls:Qe,direction:ie,virtual:Je,tree:je}=i.useContext(Pe.E_),{prefixCls:bt,className:Te,showIcon:G=!1,showLine:R,switcherIcon:V,switcherLoadingIcon:g,blockNode:fe=!1,children:z,checkable:o=!1,selectable:f=!0,draggable:se,motion:q,style:$}=J,N=Qe("tree",bt),U=Qe(),ue=q!=null?q:Object.assign(Object.assign({},(0,b.Z)(U)),{motionAppear:!1}),c=Object.assign(Object.assign({},J),{checkable:o,selectable:f,showIcon:G,motion:ue,blockNode:fe,showLine:!!R,dropIndicatorRender:le}),[C,Xe,X]=(0,s.ZP)(N),[,Le]=(0,Ce.ZP)(),Ke=Le.paddingXS/2+(((me=Le.Tree)===null||me===void 0?void 0:me.titleHeight)||Le.controlHeightSM),nt=i.useMemo(()=>{if(!se)return!1;let et={};switch(typeof se){case"function":et.nodeDraggable=se;break;case"object":et=Object.assign({},se);break;default:break}return et.icon!==!1&&(et.icon=et.icon||i.createElement(Ye.Z,null)),et},[se]),lt=et=>i.createElement(y.Z,{prefixCls:N,switcherIcon:V,switcherLoadingIcon:g,treeNodeProps:et,showLine:R});return C(i.createElement(e.ZP,Object.assign({itemHeight:Ke,ref:Se,virtual:Je},c,{style:Object.assign(Object.assign({},je==null?void 0:je.style),$),prefixCls:N,className:pe()({[`${N}-icon-hide`]:!G,[`${N}-block-node`]:fe,[`${N}-unselectable`]:!f,[`${N}-rtl`]:ie==="rtl"},je==null?void 0:je.className,Te,Xe,X),direction:ie,checkable:o&&i.createElement("span",{className:`${N}-checkbox-inner`}),selectable:f,switcherIcon:lt,draggable:nt}),z))});const ne=0,Re=1,de=2;function H(J,Se,me){const{key:Qe,children:ie}=me;function Je(je){const bt=je[Qe],Te=je[ie];Se(bt,je)!==!1&&H(Te||[],Se,me)}J.forEach(Je)}function n(J){let{treeData:Se,expandedKeys:me,startKey:Qe,endKey:ie,fieldNames:Je}=J;const je=[];let bt=ne;if(Qe&&Qe===ie)return[Qe];if(!Qe||!ie)return[];function Te(G){return G===Qe||G===ie}return H(Se,G=>{if(bt===de)return!1;if(Te(G)){if(je.push(G),bt===ne)bt=Re;else if(bt===Re)return bt=de,!1}else bt===Re&&je.push(G);return me.includes(G)},(0,Fe.w$)(Je)),je}function ce(J,Se,me){const Qe=(0,d.Z)(Se),ie=[];return H(J,(Je,je)=>{const bt=Qe.indexOf(Je);return bt!==-1&&(ie.push(je),Qe.splice(bt,1)),!!Qe.length},(0,Fe.w$)(me)),ie}var T=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{var{defaultExpandAll:me,defaultExpandParent:Qe,defaultExpandedKeys:ie}=J,Je=T(J,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const je=i.useRef(null),bt=i.useRef(null),Te=()=>{const{keyEntities:C}=(0,Fe.I8)(xe(Je));let Xe;return me?Xe=Object.keys(C):Qe?Xe=(0,it.r7)(Je.expandedKeys||ie||[],C):Xe=Je.expandedKeys||ie||[],Xe},[G,R]=i.useState(Je.selectedKeys||Je.defaultSelectedKeys||[]),[V,g]=i.useState(()=>Te());i.useEffect(()=>{"selectedKeys"in Je&&R(Je.selectedKeys)},[Je.selectedKeys]),i.useEffect(()=>{"expandedKeys"in Je&&g(Je.expandedKeys)},[Je.expandedKeys]);const fe=(C,Xe)=>{var X;return"expandedKeys"in Je||g(C),(X=Je.onExpand)===null||X===void 0?void 0:X.call(Je,C,Xe)},z=(C,Xe)=>{var X;const{multiple:Le,fieldNames:Ke}=Je,{node:nt,nativeEvent:lt}=Xe,{key:et=""}=nt,w=xe(Je),ge=Object.assign(Object.assign({},Xe),{selected:!0}),Ze=(lt==null?void 0:lt.ctrlKey)||(lt==null?void 0:lt.metaKey),Ve=lt==null?void 0:lt.shiftKey;let ot;Le&&Ze?(ot=C,je.current=et,bt.current=ot,ge.selectedNodes=ce(w,ot,Ke)):Le&&Ve?(ot=Array.from(new Set([].concat((0,d.Z)(bt.current||[]),(0,d.Z)(n({treeData:w,expandedKeys:V,startKey:et,endKey:je.current,fieldNames:Ke}))))),ge.selectedNodes=ce(w,ot,Ke)):(ot=[et],je.current=et,bt.current=ot,ge.selectedNodes=ce(w,ot,Ke)),(X=Je.onSelect)===null||X===void 0||X.call(Je,ot,ge),"selectedKeys"in Je||R(ot)},{getPrefixCls:o,direction:f}=i.useContext(Pe.E_),{prefixCls:se,className:q,showIcon:$=!0,expandAction:N="click"}=Je,U=T(Je,["prefixCls","className","showIcon","expandAction"]),ue=o("tree",se),c=pe()(`${ue}-directory`,{[`${ue}-directory-rtl`]:f==="rtl"},q);return i.createElement(Oe,Object.assign({icon:ze,ref:Se,blockNode:!0},U,{showIcon:$,expandAction:N,prefixCls:ue,className:c,expandedKeys:V,selectedKeys:G,onSelect:z,onExpand:fe}))};var at=i.forwardRef(We);const Ae=Oe;Ae.DirectoryTree=at,Ae.TreeNode=e.OF;var tt=Ae},12425:function(an,_e,t){t.d(_e,{ZP:function(){return it},Yk:function(){return M},TM:function(){return P}});var e=t(36237),d=t(36170),i=t(63356),L=t(34961),x=t(51636),D=t(16931);const E=Fe=>{let{treeCls:Pe,treeNodeCls:Ye,directoryNodeSelectedBg:b,directoryNodeSelectedColor:Ce,motionDurationMid:s,borderRadius:p,controlItemBgHover:ae}=Fe;return{[`${Pe}${Pe}-directory ${Ye}`]:{[`${Pe}-node-content-wrapper`]:{position:"static",[`> *:not(${Pe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${s}`,content:'""',borderRadius:p},"&:hover:before":{background:ae}},[`${Pe}-switcher, ${Pe}-checkbox, ${Pe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Pe}-switcher, ${Pe}-draggable-icon`]:{color:Ce},[`${Pe}-node-content-wrapper`]:{color:Ce,background:"transparent","&:before, &:hover:before":{background:b}}}}}},Z=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),K=(Fe,Pe)=>({[`.${Fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Pe.motionDurationSlow}`}}}),r=(Fe,Pe)=>({[`.${Fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Pe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(Pe.lineWidthBold)} solid ${Pe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),_=(Fe,Pe)=>{const{treeCls:Ye,treeNodeCls:b,treeNodePadding:Ce,titleHeight:s,indentSize:p,nodeSelectedBg:ae,nodeHoverBg:le,colorTextQuaternary:y,controlItemBgActiveDisabled:He}=Pe;return{[Ye]:Object.assign(Object.assign({},(0,i.Wf)(Pe)),{background:Pe.colorBgContainer,borderRadius:Pe.borderRadius,transition:`background-color ${Pe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ye}-rtl ${Ye}-switcher_close ${Ye}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ye}-active-focused)`]:Object.assign({},(0,i.oN)(Pe)),[`${Ye}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ye}-block-node`]:{[`${Ye}-list-holder-inner`]:{alignItems:"stretch",[`${Ye}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Pe.colorPrimary}`,opacity:0,animationName:Z,animationDuration:Pe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Pe.borderRadius}}},[b]:{display:"flex",alignItems:"flex-start",marginBottom:Ce,lineHeight:(0,e.unit)(s),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ce},[`&-disabled ${Ye}-node-content-wrapper`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ye}-checkbox-disabled + ${Ye}-node-selected,&${b}-disabled${b}-selected ${Ye}-node-content-wrapper`]:{backgroundColor:He},[`${Ye}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${b}-disabled)`]:{[`${Ye}-node-content-wrapper`]:{"&:hover":{color:Pe.nodeHoverColor}}},[`&-active ${Ye}-node-content-wrapper`]:{background:Pe.controlItemBgHover},[`&:not(${b}-disabled).filter-node ${Ye}-title`]:{color:Pe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ye}-draggable-icon`]:{flexShrink:0,width:s,textAlign:"center",visibility:"visible",color:y},[`&${b}-disabled ${Ye}-draggable-icon`]:{visibility:"hidden"}}},[`${Ye}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:p}},[`${Ye}-draggable-icon`]:{visibility:"hidden"},[`${Ye}-switcher, ${Ye}-checkbox`]:{marginInlineEnd:Pe.calc(Pe.calc(s).sub(Pe.controlInteractiveSize)).div(2).equal()},[`${Ye}-switcher`]:Object.assign(Object.assign({},K(Fe,Pe)),{position:"relative",flex:"none",alignSelf:"stretch",width:s,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Pe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:s,height:s,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Pe.borderRadius,transition:`all ${Pe.motionDurationSlow}`},[`&:not(${Ye}-switcher-noop):hover:before`]:{backgroundColor:Pe.colorBgTextHover},[`&_close ${Ye}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Pe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(Ce).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Pe.calc(Pe.calc(s).div(2).equal()).mul(.8).equal(),height:Pe.calc(s).div(2).equal(),borderBottom:`1px solid ${Pe.colorBorder}`,content:'""'}}}),[`${Ye}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:s,paddingBlock:0,paddingInline:Pe.paddingXS,background:"transparent",borderRadius:Pe.borderRadius,cursor:"pointer",transition:`all ${Pe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},r(Fe,Pe)),{"&:hover":{backgroundColor:le},[`&${Ye}-node-selected`]:{color:Pe.nodeSelectedColor,backgroundColor:ae},[`${Ye}-iconEle`]:{display:"inline-block",width:s,height:s,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ye}-unselectable ${Ye}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${b}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Pe.colorPrimary}`},"&-show-line":{[`${Ye}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(Ce).mul(-1).equal(),borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ye}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last ${Ye}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(Pe.calc(s).div(2).equal())} !important`}})}},M=function(Fe,Pe){let Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const b=`.${Fe}`,Ce=`${b}-treenode`,s=Pe.calc(Pe.paddingXS).div(2).equal(),p=(0,x.mergeToken)(Pe,{treeCls:b,treeNodeCls:Ce,treeNodePadding:s});return[_(Fe,p),Ye&&E(p)].filter(Boolean)},P=Fe=>{const{controlHeightSM:Pe,controlItemBgHover:Ye,controlItemBgActive:b}=Fe,Ce=Pe;return{titleHeight:Ce,indentSize:Ce,nodeHoverBg:Ye,nodeHoverColor:Fe.colorText,nodeSelectedBg:b,nodeSelectedColor:Fe.colorText}},pe=Fe=>{const{colorTextLightSolid:Pe,colorPrimary:Ye}=Fe;return Object.assign(Object.assign({},P(Fe)),{directoryNodeSelectedColor:Pe,directoryNodeSelectedBg:Ye})};var it=(0,D.I$)("Tree",(Fe,Pe)=>{let{prefixCls:Ye}=Pe;return[{[Fe.componentCls]:(0,d.C2)(`${Ye}-checkbox`,Fe)},M(Ye,Fe),(0,L.Z)(Fe)]},pe)},85278:function(an,_e,t){t.d(_e,{Z:function(){return Pe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},L=i,x=t(7657),D=function(b,Ce){return e.createElement(x.Z,(0,d.Z)({},b,{ref:Ce,icon:L}))},E=e.forwardRef(D),Z=E,K=t(52671),r=t(58617),_=t(15075),M=t(43531),P=t(92310),pe=t.n(P),it=t(22703),Pe=Ye=>{const{prefixCls:b,switcherIcon:Ce,treeNodeProps:s,showLine:p,switcherLoadingIcon:ae}=Ye,{isLeaf:le,expanded:y,loading:He}=s;if(He)return e.isValidElement(ae)?ae:e.createElement(r.Z,{className:`${b}-switcher-loading-icon`});let Oe;if(p&&typeof p=="object"&&(Oe=p.showLeafIcon),le){if(!p)return null;if(typeof Oe!="boolean"&&Oe){const de=typeof Oe=="function"?Oe(s):Oe,H=`${b}-switcher-line-custom-icon`;return e.isValidElement(de)?(0,it.Tm)(de,{className:pe()(de.props.className||"",H)}):de}return Oe?e.createElement(K.Z,{className:`${b}-switcher-line-icon`}):e.createElement("span",{className:`${b}-switcher-leaf-line`})}const ne=`${b}-switcher-icon`,Re=typeof Ce=="function"?Ce(s):Ce;return e.isValidElement(Re)?(0,it.Tm)(Re,{className:pe()(Re.props.className||"",ne)}):Re!==void 0?Re:p?y?e.createElement(_.Z,{className:`${b}-switcher-line-icon`}):e.createElement(M.Z,{className:`${b}-switcher-line-icon`}):e.createElement(Z,{className:ne})}},94968:function(an,_e,t){t.d(_e,{default:function(){return ye}});var e=t(59301),d=t(94480),i=t(4676),L=t(92310),x=t.n(L),D=t(54476),E=t(67732),Z=t(83652),K=t(31226),r=t(42403),_=t(158),M=t(20068),P=t(33885),pe=t(75931),it=t(76190),Fe=t(75044),Pe=t(3202),Ye=t(26112),b=t(48736),Ce=function(m,re){if(m&&re){var De=Array.isArray(re)?re:re.split(","),u=m.name||"",S=m.type||"",A=S.replace(/\/.*$/,"");return De.some(function(ve){var j=ve.trim();if(/^\*(\/\*)?$/.test(ve))return!0;if(j.charAt(0)==="."){var O=u.toLowerCase(),W=j.toLowerCase(),ee=[W];return(W===".jpg"||W===".jpeg")&&(ee=[".jpg",".jpeg"]),ee.some(function(oe){return O.endsWith(oe)})}return/\/\*$/.test(j)?A===j.replace(/\/.*$/,""):S===j?!0:/^\w+$/.test(j)?((0,b.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(j,"'.Skip for check.")),!0):!1})}return!0};function s(m,re){var De="cannot ".concat(m.method," ").concat(m.action," ").concat(re.status,"'"),u=new Error(De);return u.status=re.status,u.method=m.method,u.url=m.action,u}function p(m){var re=m.responseText||m.response;if(!re)return re;try{return JSON.parse(re)}catch(De){return re}}function ae(m){var re=new XMLHttpRequest;m.onProgress&&re.upload&&(re.upload.onprogress=function(A){A.total>0&&(A.percent=A.loaded/A.total*100),m.onProgress(A)});var De=new FormData;m.data&&Object.keys(m.data).forEach(function(S){var A=m.data[S];if(Array.isArray(A)){A.forEach(function(ve){De.append("".concat(S,"[]"),ve)});return}De.append(S,A)}),m.file instanceof Blob?De.append(m.filename,m.file,m.file.name):De.append(m.filename,m.file),re.onerror=function(A){m.onError(A)},re.onload=function(){return re.status<200||re.status>=300?m.onError(s(m,re),p(re)):m.onSuccess(p(re),re)},re.open(m.method,m.action,!0),m.withCredentials&&"withCredentials"in re&&(re.withCredentials=!0);var u=m.headers||{};return u["X-Requested-With"]!==null&&re.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(u).forEach(function(S){u[S]!==null&&re.setRequestHeader(S,u[S])}),re.send(De),{abort:function(){re.abort()}}}var le=function(){var m=(0,Pe.Z)((0,Fe.Z)().mark(function re(De,u){var S,A,ve,j,O,W,ee,oe;return(0,Fe.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:W=function(){return W=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){return(0,Fe.Z)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.abrupt("return",new Promise(function(Ge){we.file(function(Y){u(Y)?(we.fullPath&&!Y.webkitRelativePath&&(Object.defineProperties(Y,{webkitRelativePath:{writable:!0}}),Y.webkitRelativePath=we.fullPath.replace(/^\//,""),Object.defineProperties(Y,{webkitRelativePath:{writable:!1}})),Ge(Y)):Ge(null)})}));case 1:case"end":return ut.stop()}},te)})),W.apply(this,arguments)},O=function(te){return W.apply(this,arguments)},j=function(){return j=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){var Ne,ut,Ge,Y,he;return(0,Fe.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:Ne=we.createReader(),ut=[];case 2:return ke.next=5,new Promise(function(ht){Ne.readEntries(ht,function(){return ht([])})});case 5:if(Ge=ke.sent,Y=Ge.length,Y){ke.next=9;break}return ke.abrupt("break",12);case 9:for(he=0;he{const{componentCls:re,iconCls:De}=m;return{[`${re}-wrapper`]:{[`${re}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:m.colorFillAlter,border:`${(0,Qe.unit)(m.lineWidth)} dashed ${m.colorBorder}`,borderRadius:m.borderRadiusLG,cursor:"pointer",transition:`border-color ${m.motionDurationSlow}`,[re]:{padding:m.padding},[`${re}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:m.borderRadiusLG,"&:focus-visible":{outline:`${(0,Qe.unit)(m.lineWidthFocus)} solid ${m.colorPrimaryBorder}`}},[`${re}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + ${(0,hr.unit)(pn(Ee).mul(-1).equal())}`,[`${a}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:xt,fontWeight:F,textAlign:"start",background:Nt,borderBottom:vn,transition:`background ${St} ease`}}},[`${a}-footer`]:{padding:`${(0,hr.unit)(Q)} ${(0,hr.unit)(Ee)}`,color:_t,background:gn}})}},kl=l=>{const{colorFillAlter:a,colorBgContainer:F,colorTextHeading:Q,colorFillSecondary:Ee,colorFillContent:$e,controlItemBgActive:rt,controlItemBgActiveHover:Ue,padding:gt,paddingSM:vt,paddingXS:zt,colorBorderSecondary:Ot,borderRadiusLG:xt,controlHeight:St,colorTextPlaceholder:Nt,fontSize:mn,fontSizeSM:_t,lineHeight:gn,lineWidth:pn,colorIcon:vn,colorIconHover:Cn,opacityLoading:wn,controlInteractiveSize:jn}=l,An=new Ka.FastColor(Ee).onBackground(F).toHexString(),xr=new Ka.FastColor($e).onBackground(F).toHexString(),or=new Ka.FastColor(a).onBackground(F).toHexString(),ir=new Ka.FastColor(vn),mr=new Ka.FastColor(Cn),Tn=jn/2-pn,Ln=Tn*2+pn*3;return{headerBg:or,headerColor:Q,headerSortActiveBg:An,headerSortHoverBg:xr,bodySortBg:or,rowHoverBg:or,rowSelectedBg:rt,rowSelectedHoverBg:Ue,rowExpandedBg:a,cellPaddingBlock:gt,cellPaddingInline:gt,cellPaddingBlockMD:vt,cellPaddingInlineMD:zt,cellPaddingBlockSM:zt,cellPaddingInlineSM:zt,borderColor:Ot,headerBorderRadius:xt,footerBg:or,footerColor:Q,cellFontSize:mn,cellFontSizeMD:mn,cellFontSizeSM:mn,headerSplitColor:Ot,fixedHeaderSortActiveBg:An,headerFilterHoverBg:$e,filterDropdownMenuBg:F,filterDropdownBg:F,expandIconBg:F,selectionColumnWidth:St,stickyScrollBarBg:Nt,stickyScrollBarBorderRadius:100,expandIconMarginTop:(mn*gn-pn*3)/2-Math.ceil((_t*1.4-pn*3)/2),headerIconColor:ir.clone().setA(ir.a*wn).toRgbString(),headerIconHoverColor:mr.clone().setA(mr.a*wn).toRgbString(),expandIconHalfInner:Tn,expandIconSize:Ln,expandIconScale:jn/Ln}},fl=2;var Yl=(0,$l.I$)("Table",l=>{const{colorTextHeading:a,colorSplit:F,colorBgContainer:Q,controlInteractiveSize:Ee,headerBg:$e,headerColor:rt,headerSortActiveBg:Ue,headerSortHoverBg:gt,bodySortBg:vt,rowHoverBg:zt,rowSelectedBg:Ot,rowSelectedHoverBg:xt,rowExpandedBg:St,cellPaddingBlock:Nt,cellPaddingInline:mn,cellPaddingBlockMD:_t,cellPaddingInlineMD:gn,cellPaddingBlockSM:pn,cellPaddingInlineSM:vn,borderColor:Cn,footerBg:wn,footerColor:jn,headerBorderRadius:An,cellFontSize:xr,cellFontSizeMD:or,cellFontSizeSM:ir,headerSplitColor:mr,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:Ln,filterDropdownBg:On,expandIconBg:hn,selectionColumnWidth:Zn,stickyScrollBarBg:Un,calc:nr}=l,Sn=(0,Bl.mergeToken)(l,{tableFontSize:xr,tableBg:Q,tableRadius:An,tablePaddingVertical:Nt,tablePaddingHorizontal:mn,tablePaddingVerticalMiddle:_t,tablePaddingHorizontalMiddle:gn,tablePaddingVerticalSmall:pn,tablePaddingHorizontalSmall:vn,tableBorderColor:Cn,tableHeaderTextColor:rt,tableHeaderBg:$e,tableFooterTextColor:jn,tableFooterBg:wn,tableHeaderCellSplitColor:mr,tableHeaderSortBg:Ue,tableHeaderSortHoverBg:gt,tableBodySortBg:vt,tableFixedHeaderSortActiveBg:Tn,tableHeaderFilterActiveBg:Ln,tableFilterDropdownBg:On,tableRowHoverBg:zt,tableSelectedRowBg:Ot,tableSelectedRowHoverBg:xt,zIndexTableFixed:fl,zIndexTableSticky:nr(fl).add(1).equal({unit:!1}),tableFontSizeMiddle:or,tableFontSizeSmall:ir,tableSelectionColumnWidth:Zn,tableExpandIconBg:hn,tableExpandColumnWidth:nr(Ee).add(nr(l.padding).mul(2)).equal(),tableExpandedRowBg:St,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Un,tableScrollThumbBgHover:a,tableScrollBg:F});return[Gl(Sn),zl(Sn),dl(Sn),Vl(Sn),Tl(Sn),Ml(Sn),jl(Sn),Al(Sn),dl(Sn),Nl(Sn),Hl(Sn),Ll(Sn),Ul(Sn),Zl(Sn),Wl(Sn),Kl(Sn),Xl(Sn)]},kl,{unitless:{expandIconScale:!0}});const Ql=[],Jl=(l,a)=>{var F,Q;const{prefixCls:Ee,className:$e,rootClassName:rt,style:Ue,size:gt,bordered:vt,dropdownPrefixCls:zt,dataSource:Ot,pagination:xt,rowSelection:St,rowKey:Nt="key",rowClassName:mn,columns:_t,children:gn,childrenColumnName:pn,onChange:vn,getPopupContainer:Cn,loading:wn,expandIcon:jn,expandable:An,expandedRowRender:xr,expandIconColumnIndex:or,indentSize:ir,scroll:mr,sortDirections:Tn,locale:Ln,showSorterTooltip:On={target:"full-header"},virtual:hn}=l,Zn=(0,Xn.ln)("Table"),Un=e.useMemo(()=>_t||bn(gn),[_t,gn]),nr=e.useMemo(()=>Un.some(Ir=>Ir.responsive),[Un]),Sn=(0,wr.Z)(nr),Rr=e.useMemo(()=>{const Ir=new Set(Object.keys(Sn).filter(Gr=>Sn[Gr]));return Un.filter(Gr=>!Gr.responsive||Gr.responsive.some(Eo=>Ir.has(Eo)))},[Un,Sn]),Mr=(0,lr.Z)(l,["className","style","columns"]),{locale:go=Tr.Z,direction:io,table:no,renderEmpty:fo,getPrefixCls:Fo,getPopupContainer:Zr}=e.useContext(yr.E_),Ar=(0,Br.Z)(gt),Co=Object.assign(Object.assign({},go.Table),Ln),xo=Ot||Ql,Qn=Fo("table",Ee),Er=Fo("dropdown",zt),[,Yn]=(0,zr.ZP)(),rr=(0,br.Z)(Qn),[jr,Hr,so]=Yl(Qn,rr),ro=Object.assign(Object.assign({childrenColumnName:pn,expandIconColumnIndex:or},An),{expandIcon:(F=An==null?void 0:An.expandIcon)!==null&&F!==void 0?F:(Q=no==null?void 0:no.expandable)===null||Q===void 0?void 0:Q.expandIcon}),{childrenColumnName:Po="children"}=ro,Ro=e.useMemo(()=>xo.some(Ir=>Ir==null?void 0:Ir[Po])?"nest":xr||An!=null&&An.expandedRowRender?"row":null,[xo]),qn={body:e.useRef(null)},dr=sr(Qn),Wr=e.useRef(null),uo=e.useRef(null);Gn(a,()=>Object.assign(Object.assign({},uo.current),{nativeElement:Wr.current}));const Yr=e.useMemo(()=>typeof Nt=="function"?Nt:Ir=>Ir==null?void 0:Ir[Nt],[Nt]),[Mo]=Go(xo,Po,Yr),bo={},la=function(Ir,Gr){let Eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Io,Vo,na,ia;const No=Object.assign(Object.assign({},bo),Ir);Eo&&((Io=bo.resetPagination)===null||Io===void 0||Io.call(bo),!((Vo=No.pagination)===null||Vo===void 0)&&Vo.current&&(No.pagination.current=1),xt&&((na=xt.onChange)===null||na===void 0||na.call(xt,1,(ia=No.pagination)===null||ia===void 0?void 0:ia.pageSize))),mr&&mr.scrollToFirstRowOnChange!==!1&&qn.body.current&&(0,ur.Z)(0,{getContainer:()=>qn.body.current}),vn==null||vn(No.pagination,No.filters,No.sorter,{currentDataSource:Pr(Ra(xo,No.sorterStates,Po),No.filterStates,Po),action:Gr})},co=(Ir,Gr)=>{la({sorter:Ir,sorterStates:Gr},"sort",!1)},[Xr,oo,ao,Do]=ja({prefixCls:Qn,mergedColumns:Rr,onSorterChange:co,sortDirections:Tn||["ascend","descend"],tableLocale:Co,showSorterTooltip:On}),So=e.useMemo(()=>Ra(xo,oo,Po),[xo,oo]);bo.sorter=Do(),bo.sorterStates=oo;const Vr=(Ir,Gr)=>{la({filters:Ir,filterStates:Gr},"filter",!0)},[po,_r,Zo]=mo({prefixCls:Qn,locale:Co,dropdownPrefixCls:Er,mergedColumns:Rr,onFilterChange:Vr,getPopupContainer:Cn||Zr,rootClassName:H()(rt,rr)}),yo=Pr(So,_r,Po);bo.filters=Zo,bo.filterStates=_r;const jo=e.useMemo(()=>{const Ir={};return Object.keys(Zo).forEach(Gr=>{Zo[Gr]!==null&&(Ir[Gr]=Zo[Gr])}),Object.assign(Object.assign({},ao),{filters:Ir})},[ao,Zo]),[ya]=Fl(jo),Wa=(Ir,Gr)=>{la({pagination:Object.assign(Object.assign({},bo.pagination),{current:Ir,pageSize:Gr})},"paginate")},[vo,Va]=ha(yo.length,Wa,xt);bo.pagination=xt===!1?{}:oa(vo,xt),bo.resetPagination=Va;const Ko=e.useMemo(()=>{if(xt===!1||!vo.pageSize)return yo;const{current:Ir=1,total:Gr,pageSize:Eo=_o}=vo;return yo.lengthEo?yo.slice((Ir-1)*Eo,Ir*Eo):yo:yo.slice((Ir-1)*Eo,Ir*Eo)},[!!xt,yo,vo==null?void 0:vo.current,vo==null?void 0:vo.pageSize,vo==null?void 0:vo.total]),[ea,ko]=Hn({prefixCls:Qn,data:yo,pageData:Ko,getRowKey:Yr,getRecordByKey:Mo,expandType:Ro,childrenColumnName:Po,locale:Co,getPopupContainer:Cn||Zr},St),Ho=(Ir,Gr,Eo)=>{let Io;return typeof mn=="function"?Io=H()(mn(Ir,Gr,Eo)):Io=H()(mn),H()({[`${Qn}-row-selected`]:ko.has(Yr(Ir,Gr))},Io)};ro.__PARENT_RENDER_ICON__=ro.expandIcon,ro.expandIcon=ro.expandIcon||jn||Vn(Co),Ro==="nest"&&ro.expandIconColumnIndex===void 0?ro.expandIconColumnIndex=St?1:0:ro.expandIconColumnIndex>0&&St&&(ro.expandIconColumnIndex-=1),typeof ro.indentSize!="number"&&(ro.indentSize=typeof ir=="number"?ir:15);const Wo=e.useCallback(Ir=>ya(ea(po(Xr(Ir)))),[Xr,po,ea]);let ta,Ea;if(xt!==!1&&(vo!=null&&vo.total)){let Ir;vo.size?Ir=vo.size:Ir=Ar==="small"||Ar==="middle"?"small":void 0;const Gr=Vo=>e.createElement(Qr.Z,Object.assign({},vo,{className:H()(`${Qn}-pagination ${Qn}-pagination-${Vo}`,vo.className),size:Ir})),Eo=io==="rtl"?"left":"right",{position:Io}=vo;if(Io!==null&&Array.isArray(Io)){const Vo=Io.find(No=>No.includes("top")),na=Io.find(No=>No.includes("bottom")),ia=Io.every(No=>`${No}`=="none");!Vo&&!na&&!ia&&(Ea=Gr(Eo)),Vo&&(ta=Gr(Vo.toLowerCase().replace("top",""))),na&&(Ea=Gr(na.toLowerCase().replace("bottom","")))}else Ea=Gr(Eo)}let ua;typeof wn=="boolean"?ua={spinning:wn}:typeof wn=="object"&&(ua=Object.assign({spinning:!0},wn));const ca=H()(so,rr,`${Qn}-wrapper`,no==null?void 0:no.className,{[`${Qn}-wrapper-rtl`]:io==="rtl"},$e,rt,Hr),nl=Object.assign(Object.assign({},no==null?void 0:no.style),Ue),rl=typeof(Ln==null?void 0:Ln.emptyText)!="undefined"?Ln.emptyText:(fo==null?void 0:fo("Table"))||e.createElement(gr.Z,{componentName:"Table"}),ol=hn?Rl:Pl,Ja={},al=e.useMemo(()=>{const{fontSize:Ir,lineHeight:Gr,lineWidth:Eo,padding:Io,paddingXS:Vo,paddingSM:na}=Yn,ia=Math.floor(Ir*Gr);switch(Ar){case"middle":return na*2+ia+Eo;case"small":return Vo*2+ia+Eo;default:return Io*2+ia+Eo}},[Yn,Ar]);return hn&&(Ja.listItemHeight=al),jr(e.createElement("div",{ref:Wr,className:ca,style:nl},e.createElement(Or.Z,Object.assign({spinning:!1},ua),ta,e.createElement(ol,Object.assign({},Ja,Mr,{ref:uo,columns:Rr,direction:io,expandable:ro,prefixCls:Qn,className:H()({[`${Qn}-middle`]:Ar==="middle",[`${Qn}-small`]:Ar==="small",[`${Qn}-bordered`]:vt,[`${Qn}-empty`]:xo.length===0},so,rr,Hr),data:Ko,rowKey:Yr,rowClassName:Ho,emptyText:rl,internalHooks:i,internalRefs:qn,transformColumns:Wo,getContainerWidth:dr})),Ea)))};var ql=e.forwardRef(Jl);const _l=(l,a)=>{const F=e.useRef(0);return F.current+=1,e.createElement(ql,Object.assign({},l,{ref:a,_renderTimes:F.current}))},va=e.forwardRef(_l);va.SELECTION_COLUMN=Wn,va.EXPAND_COLUMN=d,va.SELECTION_ALL=Sr,va.SELECTION_INVERT=Fr,va.SELECTION_NONE=$r,va.Column=un,va.ColumnGroup=en,va.Summary=$;var ei=va,ti=ei},93427:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(34998);function d(i,L){return e.i.reduce((x,D)=>{const E=i[`${D}1`],Z=i[`${D}3`],K=i[`${D}6`],r=i[`${D}7`];return Object.assign(Object.assign({},x),L(D,{lightColor:E,lightBorderColor:Z,darkColor:K,textColor:r}))},{})}},25399:function(an,_e,t){t.d(_e,{Z:function(){return ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(29125),x=t(18929),D=t(62487),E=t(75030),Z=t(86641),K=t(52838),r=t(22703),_=t(32383),M=t(55743),P=t(57700),pe=t(48755),it=t(36237),Fe=t(63356),Pe=t(34925),Ye=t(37645),b=t(36305),Ce=t(93427),s=t(51636),p=t(16931);const ae=T=>{const{calc:ze,componentCls:xe,tooltipMaxWidth:We,tooltipColor:st,tooltipBg:at,tooltipBorderRadius:Ae,zIndexPopup:tt,controlHeight:J,boxShadowSecondary:Se,paddingSM:me,paddingXS:Qe,arrowOffsetHorizontal:ie,sizePopupArrow:Je}=T,je=ze(Ae).add(Je).add(ie).equal(),bt=ze(Ae).mul(2).add(Je).equal();return[{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(T)),{position:"absolute",zIndex:tt,display:"block",width:"max-content",maxWidth:We,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":at,[`${xe}-inner`]:{minWidth:bt,minHeight:J,padding:`${(0,it.unit)(T.calc(me).div(2).equal())} ${(0,it.unit)(Qe)}`,color:st,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:at,borderRadius:Ae,boxShadow:Se,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:je},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${xe}-inner`]:{borderRadius:T.min(Ae,Ye.qN)}},[`${xe}-content`]:{position:"relative"}}),(0,Ce.Z)(T,(Te,G)=>{let{darkColor:R}=G;return{[`&${xe}-${Te}`]:{[`${xe}-inner`]:{backgroundColor:R},[`${xe}-arrow`]:{"--antd-arrow-background-color":R}}}})),{"&-rtl":{direction:"rtl"}})},(0,Ye.ZP)(T,"var(--antd-arrow-background-color)"),{[`${xe}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow}}]},le=T=>Object.assign(Object.assign({zIndexPopup:T.zIndexPopupBase+70},(0,Ye.wZ)({contentRadius:T.borderRadius,limitVerticalRadius:!0})),(0,b.w)((0,s.mergeToken)(T,{borderRadiusOuter:Math.min(T.borderRadiusOuter,4)})));var y=function(T){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,p.I$)("Tooltip",We=>{const{borderRadius:st,colorTextLightSolid:at,colorBgSpotlight:Ae}=We,tt=(0,s.mergeToken)(We,{tooltipMaxWidth:250,tooltipColor:at,tooltipBorderRadius:st,tooltipBg:Ae});return[ae(tt),(0,Pe._y)(We,"zoom-big-fast")]},le,{resetStyle:!1,injectStyle:ze})(T)},He=t(29509);function Oe(T,ze){const xe=(0,He.o2)(ze),We=i()({[`${T}-${ze}`]:ze&&xe}),st={},at={};return ze&&!xe&&(st.background=ze,at["--antd-arrow-background-color"]=ze),{className:We,overlayStyle:st,arrowStyle:at}}var Re=T=>{const{prefixCls:ze,className:xe,placement:We="top",title:st,color:at,overlayInnerStyle:Ae}=T,{getPrefixCls:tt}=e.useContext(pe.E_),J=tt("tooltip",ze),[Se,me,Qe]=y(J),ie=Oe(J,at),Je=ie.arrowStyle,je=Object.assign(Object.assign({},Ae),ie.overlayStyle),bt=i()(me,Qe,J,`${J}-pure`,`${J}-placement-${We}`,xe,ie.className);return Se(e.createElement("div",{className:bt,style:Je},e.createElement("div",{className:`${J}-arrow`}),e.createElement(L.G,Object.assign({},T,{className:me,prefixCls:J,overlayInnerStyle:je}),st)))},de=function(T,ze){var xe={};for(var We in T)Object.prototype.hasOwnProperty.call(T,We)&&ze.indexOf(We)<0&&(xe[We]=T[We]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,We=Object.getOwnPropertySymbols(T);st{var xe,We;const{prefixCls:st,openClassName:at,getTooltipContainer:Ae,color:tt,overlayInnerStyle:J,children:Se,afterOpenChange:me,afterVisibleChange:Qe,destroyTooltipOnHide:ie,arrow:Je=!0,title:je,overlay:bt,builtinPlacements:Te,arrowPointAtCenter:G=!1,autoAdjustOverflow:R=!0,motion:U,getPopupContainer:g,placement:fe="top",mouseEnterDelay:z=.1,mouseLeaveDelay:o=.1,overlayStyle:f,rootClassName:se,overlayClassName:q,styles:$,classNames:N}=T,X=de(T,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ue=!!Je,[,c]=(0,P.ZP)(),{getPopupContainer:C,getPrefixCls:Xe,direction:W,className:Le,style:Ke,classNames:nt,styles:lt}=(0,pe.dj)("tooltip"),et=(0,_.ln)("Tooltip"),w=e.useRef(null),ge=()=>{var tn;(tn=w.current)===null||tn===void 0||tn.forceAlign()};e.useImperativeHandle(ze,()=>{var tn,Nn;return{forceAlign:ge,forcePopupAlign:()=>{et.deprecated(!1,"forcePopupAlign","forceAlign"),ge()},nativeElement:(tn=w.current)===null||tn===void 0?void 0:tn.nativeElement,popupElement:(Nn=w.current)===null||Nn===void 0?void 0:Nn.popupElement}});const[Ze,Ve]=(0,x.Z)(!1,{value:(xe=T.open)!==null&&xe!==void 0?xe:T.visible,defaultValue:(We=T.defaultOpen)!==null&&We!==void 0?We:T.defaultVisible}),ot=!je&&!bt&&je!==0,Tt=tn=>{var Nn,Pn;Ve(ot?!1:tn),ot||((Nn=T.onOpenChange)===null||Nn===void 0||Nn.call(T,tn),(Pn=T.onVisibleChange)===null||Pn===void 0||Pn.call(T,tn))},ct=e.useMemo(()=>{var tn,Nn;let Pn=G;return typeof Je=="object"&&(Pn=(Nn=(tn=Je.pointAtCenter)!==null&&tn!==void 0?tn:Je.arrowPointAtCenter)!==null&&Nn!==void 0?Nn:G),Te||(0,K.Z)({arrowPointAtCenter:Pn,autoAdjustOverflow:R,arrowWidth:ue?c.sizePopupArrow:0,borderRadius:c.borderRadius,offset:c.marginXXS,visibleFirst:!0})},[G,Je,Te,c]),dt=e.useMemo(()=>je===0?je:bt||je||"",[bt,je]),Rt=e.createElement(D.Z,{space:!0},typeof dt=="function"?dt():dt),Vt=Xe("tooltip",st),Ht=Xe(),Xt=T["data-popover-inject"];let wt=Ze;!("open"in T)&&!("visible"in T)&&ot&&(wt=!1);const Ut=e.isValidElement(Se)&&!(0,r.M2)(Se)?Se:e.createElement("span",null,Se),yt=Ut.props,Bt=!yt.className||typeof yt.className=="string"?i()(yt.className,at||`${Vt}-open`):yt.className,[Pt,kt,Wt]=y(Vt,!Xt),pt=Oe(Vt,tt),Lt=pt.arrowStyle,ln=i()(q,{[`${Vt}-rtl`]:W==="rtl"},pt.className,se,kt,Wt,Le,nt.root,N==null?void 0:N.root),rn=i()(nt.body,N==null?void 0:N.body),[xn,Dn]=(0,E.Cn)("Tooltip",X.zIndex),Mn=e.createElement(L.Z,Object.assign({},X,{zIndex:xn,showArrow:ue,placement:fe,mouseEnterDelay:z,mouseLeaveDelay:o,prefixCls:Vt,classNames:{root:ln,body:rn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt),lt.root),Ke),f),$==null?void 0:$.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},lt.body),J),$==null?void 0:$.body),pt.overlayStyle)},getTooltipContainer:g||Ae||C,ref:w,builtinPlacements:ct,overlay:Rt,visible:wt,onVisibleChange:Tt,afterVisibleChange:me!=null?me:Qe,arrowContent:e.createElement("span",{className:`${Vt}-arrow-content`}),motion:{motionName:(0,Z.m)(Ht,"zoom-big-fast",T.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ie}),wt?(0,r.Tm)(Ut,{className:Bt}):Ut);return Pt(e.createElement(M.Z.Provider,{value:Dn},Mn))});n._InternalPanelDoNotUseOrYouWillBeFired=Re;var ce=n},18287:function(an,_e,t){t.d(_e,{default:function(){return tt}});var e=t(3741),d=t(94480),i=t(59301),L=t(52671),x=t(8657),D=t(54476),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Z=E,K=t(7657),r=function(Se,me){return i.createElement(K.Z,(0,D.Z)({},Se,{ref:me,icon:Z}))},_=i.forwardRef(r),M=_,P=t(92310),pe=t.n(P),it=t(82661),Fe=t(34061),Pe=t(48755),Ye=t(56082),b=t(86641),Ce=t(57700),s=t(12425);const p=4;function ae(J){const{dropPosition:Se,dropLevelOffset:me,prefixCls:Qe,indent:ie,direction:Je="ltr"}=J,je=Je==="ltr"?"left":"right",bt=Je==="ltr"?"right":"left",Te={[je]:-me*ie+p,[bt]:0};switch(Se){case-1:Te.top=-3;break;case 1:Te.bottom=-3;break;default:Te.bottom=-3,Te[je]=ie+p;break}return i.createElement("div",{style:Te,className:`${Qe}-drop-indicator`})}var le=ae,y=t(85278),Oe=i.forwardRef((J,Se)=>{var me;const{getPrefixCls:Qe,direction:ie,virtual:Je,tree:je}=i.useContext(Pe.E_),{prefixCls:bt,className:Te,showIcon:G=!1,showLine:R,switcherIcon:U,switcherLoadingIcon:g,blockNode:fe=!1,children:z,checkable:o=!1,selectable:f=!0,draggable:se,motion:q,style:$}=J,N=Qe("tree",bt),X=Qe(),ue=q!=null?q:Object.assign(Object.assign({},(0,b.Z)(X)),{motionAppear:!1}),c=Object.assign(Object.assign({},J),{checkable:o,selectable:f,showIcon:G,motion:ue,blockNode:fe,showLine:!!R,dropIndicatorRender:le}),[C,Xe,W]=(0,s.ZP)(N),[,Le]=(0,Ce.ZP)(),Ke=Le.paddingXS/2+(((me=Le.Tree)===null||me===void 0?void 0:me.titleHeight)||Le.controlHeightSM),nt=i.useMemo(()=>{if(!se)return!1;let et={};switch(typeof se){case"function":et.nodeDraggable=se;break;case"object":et=Object.assign({},se);break;default:break}return et.icon!==!1&&(et.icon=et.icon||i.createElement(Ye.Z,null)),et},[se]),lt=et=>i.createElement(y.Z,{prefixCls:N,switcherIcon:U,switcherLoadingIcon:g,treeNodeProps:et,showLine:R});return C(i.createElement(e.ZP,Object.assign({itemHeight:Ke,ref:Se,virtual:Je},c,{style:Object.assign(Object.assign({},je==null?void 0:je.style),$),prefixCls:N,className:pe()({[`${N}-icon-hide`]:!G,[`${N}-block-node`]:fe,[`${N}-unselectable`]:!f,[`${N}-rtl`]:ie==="rtl"},je==null?void 0:je.className,Te,Xe,W),direction:ie,checkable:o&&i.createElement("span",{className:`${N}-checkbox-inner`}),selectable:f,switcherIcon:lt,draggable:nt}),z))});const ne=0,Re=1,de=2;function H(J,Se,me){const{key:Qe,children:ie}=me;function Je(je){const bt=je[Qe],Te=je[ie];Se(bt,je)!==!1&&H(Te||[],Se,me)}J.forEach(Je)}function n(J){let{treeData:Se,expandedKeys:me,startKey:Qe,endKey:ie,fieldNames:Je}=J;const je=[];let bt=ne;if(Qe&&Qe===ie)return[Qe];if(!Qe||!ie)return[];function Te(G){return G===Qe||G===ie}return H(Se,G=>{if(bt===de)return!1;if(Te(G)){if(je.push(G),bt===ne)bt=Re;else if(bt===Re)return bt=de,!1}else bt===Re&&je.push(G);return me.includes(G)},(0,Fe.w$)(Je)),je}function ce(J,Se,me){const Qe=(0,d.Z)(Se),ie=[];return H(J,(Je,je)=>{const bt=Qe.indexOf(Je);return bt!==-1&&(ie.push(je),Qe.splice(bt,1)),!!Qe.length},(0,Fe.w$)(me)),ie}var T=function(J,Se){var me={};for(var Qe in J)Object.prototype.hasOwnProperty.call(J,Qe)&&Se.indexOf(Qe)<0&&(me[Qe]=J[Qe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(J);ie{var{defaultExpandAll:me,defaultExpandParent:Qe,defaultExpandedKeys:ie}=J,Je=T(J,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const je=i.useRef(null),bt=i.useRef(null),Te=()=>{const{keyEntities:C}=(0,Fe.I8)(xe(Je));let Xe;return me?Xe=Object.keys(C):Qe?Xe=(0,it.r7)(Je.expandedKeys||ie||[],C):Xe=Je.expandedKeys||ie||[],Xe},[G,R]=i.useState(Je.selectedKeys||Je.defaultSelectedKeys||[]),[U,g]=i.useState(()=>Te());i.useEffect(()=>{"selectedKeys"in Je&&R(Je.selectedKeys)},[Je.selectedKeys]),i.useEffect(()=>{"expandedKeys"in Je&&g(Je.expandedKeys)},[Je.expandedKeys]);const fe=(C,Xe)=>{var W;return"expandedKeys"in Je||g(C),(W=Je.onExpand)===null||W===void 0?void 0:W.call(Je,C,Xe)},z=(C,Xe)=>{var W;const{multiple:Le,fieldNames:Ke}=Je,{node:nt,nativeEvent:lt}=Xe,{key:et=""}=nt,w=xe(Je),ge=Object.assign(Object.assign({},Xe),{selected:!0}),Ze=(lt==null?void 0:lt.ctrlKey)||(lt==null?void 0:lt.metaKey),Ve=lt==null?void 0:lt.shiftKey;let ot;Le&&Ze?(ot=C,je.current=et,bt.current=ot,ge.selectedNodes=ce(w,ot,Ke)):Le&&Ve?(ot=Array.from(new Set([].concat((0,d.Z)(bt.current||[]),(0,d.Z)(n({treeData:w,expandedKeys:U,startKey:et,endKey:je.current,fieldNames:Ke}))))),ge.selectedNodes=ce(w,ot,Ke)):(ot=[et],je.current=et,bt.current=ot,ge.selectedNodes=ce(w,ot,Ke)),(W=Je.onSelect)===null||W===void 0||W.call(Je,ot,ge),"selectedKeys"in Je||R(ot)},{getPrefixCls:o,direction:f}=i.useContext(Pe.E_),{prefixCls:se,className:q,showIcon:$=!0,expandAction:N="click"}=Je,X=T(Je,["prefixCls","className","showIcon","expandAction"]),ue=o("tree",se),c=pe()(`${ue}-directory`,{[`${ue}-directory-rtl`]:f==="rtl"},q);return i.createElement(Oe,Object.assign({icon:ze,ref:Se,blockNode:!0},X,{showIcon:$,expandAction:N,prefixCls:ue,className:c,expandedKeys:U,selectedKeys:G,onSelect:z,onExpand:fe}))};var at=i.forwardRef(We);const Ae=Oe;Ae.DirectoryTree=at,Ae.TreeNode=e.OF;var tt=Ae},12425:function(an,_e,t){t.d(_e,{ZP:function(){return it},Yk:function(){return M},TM:function(){return P}});var e=t(36237),d=t(36170),i=t(63356),L=t(34961),x=t(51636),D=t(16931);const E=Fe=>{let{treeCls:Pe,treeNodeCls:Ye,directoryNodeSelectedBg:b,directoryNodeSelectedColor:Ce,motionDurationMid:s,borderRadius:p,controlItemBgHover:ae}=Fe;return{[`${Pe}${Pe}-directory ${Ye}`]:{[`${Pe}-node-content-wrapper`]:{position:"static",[`> *:not(${Pe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${s}`,content:'""',borderRadius:p},"&:hover:before":{background:ae}},[`${Pe}-switcher, ${Pe}-checkbox, ${Pe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Pe}-switcher, ${Pe}-draggable-icon`]:{color:Ce},[`${Pe}-node-content-wrapper`]:{color:Ce,background:"transparent","&:before, &:hover:before":{background:b}}}}}},Z=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),K=(Fe,Pe)=>({[`.${Fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Pe.motionDurationSlow}`}}}),r=(Fe,Pe)=>({[`.${Fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Pe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(Pe.lineWidthBold)} solid ${Pe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),_=(Fe,Pe)=>{const{treeCls:Ye,treeNodeCls:b,treeNodePadding:Ce,titleHeight:s,indentSize:p,nodeSelectedBg:ae,nodeHoverBg:le,colorTextQuaternary:y,controlItemBgActiveDisabled:He}=Pe;return{[Ye]:Object.assign(Object.assign({},(0,i.Wf)(Pe)),{background:Pe.colorBgContainer,borderRadius:Pe.borderRadius,transition:`background-color ${Pe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ye}-rtl ${Ye}-switcher_close ${Ye}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ye}-active-focused)`]:Object.assign({},(0,i.oN)(Pe)),[`${Ye}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ye}-block-node`]:{[`${Ye}-list-holder-inner`]:{alignItems:"stretch",[`${Ye}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Pe.colorPrimary}`,opacity:0,animationName:Z,animationDuration:Pe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Pe.borderRadius}}},[b]:{display:"flex",alignItems:"flex-start",marginBottom:Ce,lineHeight:(0,e.unit)(s),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ce},[`&-disabled ${Ye}-node-content-wrapper`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ye}-checkbox-disabled + ${Ye}-node-selected,&${b}-disabled${b}-selected ${Ye}-node-content-wrapper`]:{backgroundColor:He},[`${Ye}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${b}-disabled)`]:{[`${Ye}-node-content-wrapper`]:{"&:hover":{color:Pe.nodeHoverColor}}},[`&-active ${Ye}-node-content-wrapper`]:{background:Pe.controlItemBgHover},[`&:not(${b}-disabled).filter-node ${Ye}-title`]:{color:Pe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ye}-draggable-icon`]:{flexShrink:0,width:s,textAlign:"center",visibility:"visible",color:y},[`&${b}-disabled ${Ye}-draggable-icon`]:{visibility:"hidden"}}},[`${Ye}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:p}},[`${Ye}-draggable-icon`]:{visibility:"hidden"},[`${Ye}-switcher, ${Ye}-checkbox`]:{marginInlineEnd:Pe.calc(Pe.calc(s).sub(Pe.controlInteractiveSize)).div(2).equal()},[`${Ye}-switcher`]:Object.assign(Object.assign({},K(Fe,Pe)),{position:"relative",flex:"none",alignSelf:"stretch",width:s,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Pe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:s,height:s,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Pe.borderRadius,transition:`all ${Pe.motionDurationSlow}`},[`&:not(${Ye}-switcher-noop):hover:before`]:{backgroundColor:Pe.colorBgTextHover},[`&_close ${Ye}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Pe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(Ce).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Pe.calc(Pe.calc(s).div(2).equal()).mul(.8).equal(),height:Pe.calc(s).div(2).equal(),borderBottom:`1px solid ${Pe.colorBorder}`,content:'""'}}}),[`${Ye}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:s,paddingBlock:0,paddingInline:Pe.paddingXS,background:"transparent",borderRadius:Pe.borderRadius,cursor:"pointer",transition:`all ${Pe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},r(Fe,Pe)),{"&:hover":{backgroundColor:le},[`&${Ye}-node-selected`]:{color:Pe.nodeSelectedColor,backgroundColor:ae},[`${Ye}-iconEle`]:{display:"inline-block",width:s,height:s,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ye}-unselectable ${Ye}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${b}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Pe.colorPrimary}`},"&-show-line":{[`${Ye}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(Ce).mul(-1).equal(),borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ye}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last ${Ye}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(Pe.calc(s).div(2).equal())} !important`}})}},M=function(Fe,Pe){let Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const b=`.${Fe}`,Ce=`${b}-treenode`,s=Pe.calc(Pe.paddingXS).div(2).equal(),p=(0,x.mergeToken)(Pe,{treeCls:b,treeNodeCls:Ce,treeNodePadding:s});return[_(Fe,p),Ye&&E(p)].filter(Boolean)},P=Fe=>{const{controlHeightSM:Pe,controlItemBgHover:Ye,controlItemBgActive:b}=Fe,Ce=Pe;return{titleHeight:Ce,indentSize:Ce,nodeHoverBg:Ye,nodeHoverColor:Fe.colorText,nodeSelectedBg:b,nodeSelectedColor:Fe.colorText}},pe=Fe=>{const{colorTextLightSolid:Pe,colorPrimary:Ye}=Fe;return Object.assign(Object.assign({},P(Fe)),{directoryNodeSelectedColor:Pe,directoryNodeSelectedBg:Ye})};var it=(0,D.I$)("Tree",(Fe,Pe)=>{let{prefixCls:Ye}=Pe;return[{[Fe.componentCls]:(0,d.C2)(`${Ye}-checkbox`,Fe)},M(Ye,Fe),(0,L.Z)(Fe)]},pe)},85278:function(an,_e,t){t.d(_e,{Z:function(){return Pe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},L=i,x=t(7657),D=function(b,Ce){return e.createElement(x.Z,(0,d.Z)({},b,{ref:Ce,icon:L}))},E=e.forwardRef(D),Z=E,K=t(52671),r=t(58617),_=t(15075),M=t(43531),P=t(92310),pe=t.n(P),it=t(22703),Pe=Ye=>{const{prefixCls:b,switcherIcon:Ce,treeNodeProps:s,showLine:p,switcherLoadingIcon:ae}=Ye,{isLeaf:le,expanded:y,loading:He}=s;if(He)return e.isValidElement(ae)?ae:e.createElement(r.Z,{className:`${b}-switcher-loading-icon`});let Oe;if(p&&typeof p=="object"&&(Oe=p.showLeafIcon),le){if(!p)return null;if(typeof Oe!="boolean"&&Oe){const de=typeof Oe=="function"?Oe(s):Oe,H=`${b}-switcher-line-custom-icon`;return e.isValidElement(de)?(0,it.Tm)(de,{className:pe()(de.props.className||"",H)}):de}return Oe?e.createElement(K.Z,{className:`${b}-switcher-line-icon`}):e.createElement("span",{className:`${b}-switcher-leaf-line`})}const ne=`${b}-switcher-icon`,Re=typeof Ce=="function"?Ce(s):Ce;return e.isValidElement(Re)?(0,it.Tm)(Re,{className:pe()(Re.props.className||"",ne)}):Re!==void 0?Re:p?y?e.createElement(_.Z,{className:`${b}-switcher-line-icon`}):e.createElement(M.Z,{className:`${b}-switcher-line-icon`}):e.createElement(Z,{className:ne})}},94968:function(an,_e,t){t.d(_e,{default:function(){return ye}});var e=t(59301),d=t(94480),i=t(4676),L=t(92310),x=t.n(L),D=t(54476),E=t(67732),Z=t(83652),K=t(31226),r=t(42403),_=t(158),M=t(20068),P=t(33885),pe=t(75931),it=t(76190),Fe=t(75044),Pe=t(3202),Ye=t(26112),b=t(48736),Ce=function(m,re){if(m&&re){var De=Array.isArray(re)?re:re.split(","),u=m.name||"",S=m.type||"",A=S.replace(/\/.*$/,"");return De.some(function(ve){var j=ve.trim();if(/^\*(\/\*)?$/.test(ve))return!0;if(j.charAt(0)==="."){var O=u.toLowerCase(),V=j.toLowerCase(),ee=[V];return(V===".jpg"||V===".jpeg")&&(ee=[".jpg",".jpeg"]),ee.some(function(oe){return O.endsWith(oe)})}return/\/\*$/.test(j)?A===j.replace(/\/.*$/,""):S===j?!0:/^\w+$/.test(j)?((0,b.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(j,"'.Skip for check.")),!0):!1})}return!0};function s(m,re){var De="cannot ".concat(m.method," ").concat(m.action," ").concat(re.status,"'"),u=new Error(De);return u.status=re.status,u.method=m.method,u.url=m.action,u}function p(m){var re=m.responseText||m.response;if(!re)return re;try{return JSON.parse(re)}catch(De){return re}}function ae(m){var re=new XMLHttpRequest;m.onProgress&&re.upload&&(re.upload.onprogress=function(A){A.total>0&&(A.percent=A.loaded/A.total*100),m.onProgress(A)});var De=new FormData;m.data&&Object.keys(m.data).forEach(function(S){var A=m.data[S];if(Array.isArray(A)){A.forEach(function(ve){De.append("".concat(S,"[]"),ve)});return}De.append(S,A)}),m.file instanceof Blob?De.append(m.filename,m.file,m.file.name):De.append(m.filename,m.file),re.onerror=function(A){m.onError(A)},re.onload=function(){return re.status<200||re.status>=300?m.onError(s(m,re),p(re)):m.onSuccess(p(re),re)},re.open(m.method,m.action,!0),m.withCredentials&&"withCredentials"in re&&(re.withCredentials=!0);var u=m.headers||{};return u["X-Requested-With"]!==null&&re.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(u).forEach(function(S){u[S]!==null&&re.setRequestHeader(S,u[S])}),re.send(De),{abort:function(){re.abort()}}}var le=function(){var m=(0,Pe.Z)((0,Fe.Z)().mark(function re(De,u){var S,A,ve,j,O,V,ee,oe;return(0,Fe.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:V=function(){return V=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){return(0,Fe.Z)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.abrupt("return",new Promise(function(Ge){we.file(function(Y){u(Y)?(we.fullPath&&!Y.webkitRelativePath&&(Object.defineProperties(Y,{webkitRelativePath:{writable:!0}}),Y.webkitRelativePath=we.fullPath.replace(/^\//,""),Object.defineProperties(Y,{webkitRelativePath:{writable:!1}})),Ge(Y)):Ge(null)})}));case 1:case"end":return ut.stop()}},te)})),V.apply(this,arguments)},O=function(te){return V.apply(this,arguments)},j=function(){return j=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){var Ne,ut,Ge,Y,he;return(0,Fe.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:Ne=we.createReader(),ut=[];case 2:return ke.next=5,new Promise(function(ht){Ne.readEntries(ht,function(){return ht([])})});case 5:if(Ge=ke.sent,Y=Ge.length,Y){ke.next=9;break}return ke.abrupt("break",12);case 9:for(he=0;he{const{componentCls:re,iconCls:De}=m;return{[`${re}-wrapper`]:{[`${re}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:m.colorFillAlter,border:`${(0,Qe.unit)(m.lineWidth)} dashed ${m.colorBorder}`,borderRadius:m.borderRadiusLG,cursor:"pointer",transition:`border-color ${m.motionDurationSlow}`,[re]:{padding:m.padding},[`${re}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:m.borderRadiusLG,"&:focus-visible":{outline:`${(0,Qe.unit)(m.lineWidthFocus)} solid ${m.colorPrimaryBorder}`}},[`${re}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${re}-disabled):hover, &-hover:not(${re}-disabled) `]:{borderColor:m.colorPrimaryHover},[`p${re}-drag-icon`]:{marginBottom:m.margin,[De]:{color:m.colorPrimary,fontSize:m.uploadThumbnailSize}},[`p${re}-text`]:{margin:`0 0 ${(0,Qe.unit)(m.marginXXS)}`,color:m.colorTextHeading,fontSize:m.fontSizeLG},[`p${re}-hint`]:{color:m.colorTextDescription,fontSize:m.fontSize},[`&${re}-disabled`]:{[`p${re}-drag-icon ${De}, @@ -179,20 +179,20 @@ `]:{color:m.colorTextDisabled}}}}}},bt=m=>{const{componentCls:re,iconCls:De,fontSize:u,lineHeight:S,calc:A}=m,ve=`${re}-list-item`,j=`${ve}-actions`,O=`${ve}-action`;return{[`${re}-wrapper`]:{[`${re}-list`]:Object.assign(Object.assign({},(0,tt.dF)()),{lineHeight:m.lineHeight,[ve]:{position:"relative",height:A(m.lineHeight).mul(u).equal(),marginTop:m.marginXS,fontSize:u,display:"flex",alignItems:"center",transition:`background-color ${m.motionDurationSlow}`,borderRadius:m.borderRadiusSM,"&:hover":{backgroundColor:m.controlItemBgHover},[`${ve}-name`]:Object.assign(Object.assign({},tt.vS),{padding:`0 ${(0,Qe.unit)(m.paddingXS)}`,lineHeight:S,flex:"auto",transition:`all ${m.motionDurationSlow}`}),[j]:{whiteSpace:"nowrap",[O]:{opacity:0},[De]:{color:m.actionsColor,transition:`all ${m.motionDurationSlow}`},[` ${O}:focus-visible, &.picture ${O} - `]:{opacity:1}},[`${re}-icon ${De}`]:{color:m.colorTextDescription,fontSize:u},[`${ve}-progress`]:{position:"absolute",bottom:m.calc(m.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:A(u).add(m.paddingXS).equal(),fontSize:u,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ve}:hover ${O}`]:{opacity:1},[`${ve}-error`]:{color:m.colorError,[`${ve}-name, ${re}-icon ${De}`]:{color:m.colorError},[j]:{[`${De}, ${De}:hover`]:{color:m.colorError},[O]:{opacity:1}}},[`${re}-list-item-container`]:{transition:`opacity ${m.motionDurationSlow}, height ${m.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Te=t(99495),R=m=>{const{componentCls:re}=m,De=new Qe.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:m.calc(m.marginXS).div(-2).equal()}}),u=new Qe.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:m.calc(m.marginXS).div(-2).equal()}}),S=`${re}-animate-inline`;return[{[`${re}-wrapper`]:{[`${S}-appear, ${S}-enter, ${S}-leave`]:{animationDuration:m.motionDurationSlow,animationTimingFunction:m.motionEaseInOutCirc,animationFillMode:"forwards"},[`${S}-appear, ${S}-enter`]:{animationName:De},[`${S}-leave`]:{animationName:u}}},{[`${re}-wrapper`]:(0,Te.J$)(m)},De,u]},V=t(68361);const g=m=>{const{componentCls:re,iconCls:De,uploadThumbnailSize:u,uploadProgressOffset:S,calc:A}=m,ve=`${re}-list`,j=`${ve}-item`;return{[`${re}-wrapper`]:{[` + `]:{opacity:1}},[`${re}-icon ${De}`]:{color:m.colorTextDescription,fontSize:u},[`${ve}-progress`]:{position:"absolute",bottom:m.calc(m.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:A(u).add(m.paddingXS).equal(),fontSize:u,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ve}:hover ${O}`]:{opacity:1},[`${ve}-error`]:{color:m.colorError,[`${ve}-name, ${re}-icon ${De}`]:{color:m.colorError},[j]:{[`${De}, ${De}:hover`]:{color:m.colorError},[O]:{opacity:1}}},[`${re}-list-item-container`]:{transition:`opacity ${m.motionDurationSlow}, height ${m.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Te=t(99495),R=m=>{const{componentCls:re}=m,De=new Qe.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:m.calc(m.marginXS).div(-2).equal()}}),u=new Qe.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:m.calc(m.marginXS).div(-2).equal()}}),S=`${re}-animate-inline`;return[{[`${re}-wrapper`]:{[`${S}-appear, ${S}-enter, ${S}-leave`]:{animationDuration:m.motionDurationSlow,animationTimingFunction:m.motionEaseInOutCirc,animationFillMode:"forwards"},[`${S}-appear, ${S}-enter`]:{animationName:De},[`${S}-leave`]:{animationName:u}}},{[`${re}-wrapper`]:(0,Te.J$)(m)},De,u]},U=t(68361);const g=m=>{const{componentCls:re,iconCls:De,uploadThumbnailSize:u,uploadProgressOffset:S,calc:A}=m,ve=`${re}-list`,j=`${ve}-item`;return{[`${re}-wrapper`]:{[` ${ve}${ve}-picture, ${ve}${ve}-picture-card, ${ve}${ve}-picture-circle - `]:{[j]:{position:"relative",height:A(u).add(A(m.lineWidth).mul(2)).add(A(m.paddingXS).mul(2)).equal(),padding:m.paddingXS,border:`${(0,Qe.unit)(m.lineWidth)} ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadiusLG,"&:hover":{background:"transparent"},[`${j}-thumbnail`]:Object.assign(Object.assign({},tt.vS),{width:u,height:u,lineHeight:(0,Qe.unit)(A(u).add(m.paddingSM).equal()),textAlign:"center",flex:"none",[De]:{fontSize:m.fontSizeHeading2,color:m.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${j}-progress`]:{bottom:S,width:`calc(100% - ${(0,Qe.unit)(A(m.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:A(u).add(m.paddingXS).equal()}},[`${j}-error`]:{borderColor:m.colorError,[`${j}-thumbnail ${De}`]:{[`svg path[fill='${V.blue[0]}']`]:{fill:m.colorErrorBg},[`svg path[fill='${V.blue.primary}']`]:{fill:m.colorError}}},[`${j}-uploading`]:{borderStyle:"dashed",[`${j}-name`]:{marginBottom:S}}},[`${ve}${ve}-picture-circle ${j}`]:{[`&, &::before, ${j}-thumbnail`]:{borderRadius:"50%"}}}}},fe=m=>{const{componentCls:re,iconCls:De,fontSizeLG:u,colorTextLightSolid:S,calc:A}=m,ve=`${re}-list`,j=`${ve}-item`,O=m.uploadPicCardSize;return{[` + `]:{[j]:{position:"relative",height:A(u).add(A(m.lineWidth).mul(2)).add(A(m.paddingXS).mul(2)).equal(),padding:m.paddingXS,border:`${(0,Qe.unit)(m.lineWidth)} ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadiusLG,"&:hover":{background:"transparent"},[`${j}-thumbnail`]:Object.assign(Object.assign({},tt.vS),{width:u,height:u,lineHeight:(0,Qe.unit)(A(u).add(m.paddingSM).equal()),textAlign:"center",flex:"none",[De]:{fontSize:m.fontSizeHeading2,color:m.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${j}-progress`]:{bottom:S,width:`calc(100% - ${(0,Qe.unit)(A(m.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:A(u).add(m.paddingXS).equal()}},[`${j}-error`]:{borderColor:m.colorError,[`${j}-thumbnail ${De}`]:{[`svg path[fill='${U.blue[0]}']`]:{fill:m.colorErrorBg},[`svg path[fill='${U.blue.primary}']`]:{fill:m.colorError}}},[`${j}-uploading`]:{borderStyle:"dashed",[`${j}-name`]:{marginBottom:S}}},[`${ve}${ve}-picture-circle ${j}`]:{[`&, &::before, ${j}-thumbnail`]:{borderRadius:"50%"}}}}},fe=m=>{const{componentCls:re,iconCls:De,fontSizeLG:u,colorTextLightSolid:S,calc:A}=m,ve=`${re}-list`,j=`${ve}-item`,O=m.uploadPicCardSize;return{[` ${re}-wrapper${re}-picture-card-wrapper, ${re}-wrapper${re}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,tt.dF)()),{display:"block",[`${re}${re}-select`]:{width:O,height:O,textAlign:"center",verticalAlign:"top",backgroundColor:m.colorFillAlter,border:`${(0,Qe.unit)(m.lineWidth)} dashed ${m.colorBorder}`,borderRadius:m.borderRadiusLG,cursor:"pointer",transition:`border-color ${m.motionDurationSlow}`,[`> ${re}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${re}-disabled):hover`]:{borderColor:m.colorPrimary}},[`${ve}${ve}-picture-card, ${ve}${ve}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:m.marginXS,marginInlineEnd:m.marginXS}},"@supports (gap: 1px)":{gap:m.marginXS},[`${ve}-item-container`]:{display:"inline-block",width:O,height:O,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[j]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`,backgroundColor:m.colorBgMask,opacity:0,transition:`all ${m.motionDurationSlow}`,content:'" "'}},[`${j}:hover`]:{[`&::before, ${j}-actions`]:{opacity:1}},[`${j}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${m.motionDurationSlow}`,[` ${De}-eye, ${De}-download, ${De}-delete - `]:{zIndex:10,width:u,margin:`0 ${(0,Qe.unit)(m.marginXXS)}`,fontSize:u,cursor:"pointer",transition:`all ${m.motionDurationSlow}`,color:S,"&:hover":{color:S},svg:{verticalAlign:"baseline"}}},[`${j}-thumbnail, ${j}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${j}-name`]:{display:"none",textAlign:"center"},[`${j}-file + ${j}-name`]:{position:"absolute",bottom:m.margin,display:"block",width:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`},[`${j}-uploading`]:{[`&${j}`]:{backgroundColor:m.colorFillAlter},[`&::before, ${De}-eye, ${De}-download, ${De}-delete`]:{display:"none"}},[`${j}-progress`]:{bottom:m.marginXL,width:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${re}-wrapper${re}-picture-circle-wrapper`]:{[`${re}${re}-select`]:{borderRadius:"50%"}}}};var o=m=>{const{componentCls:re}=m;return{[`${re}-rtl`]:{direction:"rtl"}}};const f=m=>{const{componentCls:re,colorTextDisabled:De}=m;return{[`${re}-wrapper`]:Object.assign(Object.assign({},(0,tt.Wf)(m)),{[re]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${re}-select`]:{display:"inline-block"},[`${re}-hidden`]:{display:"none"},[`${re}-disabled`]:{color:De,cursor:"not-allowed"}})}},se=m=>({actionsColor:m.colorTextDescription});var q=(0,Se.I$)("Upload",m=>{const{fontSizeHeading3:re,fontHeight:De,lineWidth:u,controlHeightLG:S,calc:A}=m,ve=(0,me.mergeToken)(m,{uploadThumbnailSize:A(re).mul(2).equal(),uploadProgressOffset:A(A(De).div(2)).add(u).equal(),uploadPicCardSize:A(S).mul(2.55).equal()});return[f(ve),Je(ve),g(ve),fe(ve),bt(ve),R(ve),o(ve),(0,J.Z)(ve)]},se),$={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:De}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:re}}]}},name:"file",theme:"twotone"},N=$,U=t(7657),ue=function(re,De){return e.createElement(U.Z,(0,D.Z)({},re,{ref:De,icon:N}))},c=e.forwardRef(ue),C=c,Xe=t(58617),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Le=X,Ke=function(re,De){return e.createElement(U.Z,(0,D.Z)({},re,{ref:De,icon:Le}))},nt=e.forwardRef(Ke),lt=nt,et={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:re}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:De}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:De}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:De}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:re}}]}},name:"picture",theme:"twotone"},w=et,ge=function(re,De){return e.createElement(U.Z,(0,D.Z)({},re,{ref:De,icon:w}))},Ze=e.forwardRef(ge),Ve=Ze,ot=t(77900),Tt=t(2738),ct=t(40192),dt=t(86641),Rt=t(22703),Vt=t(7939);function Ht(m){return Object.assign(Object.assign({},m),{lastModified:m.lastModified,lastModifiedDate:m.lastModifiedDate,name:m.name,size:m.size,type:m.type,uid:m.uid,percent:0,originFileObj:m})}function Xt(m,re){const De=(0,d.Z)(re),u=De.findIndex(S=>{let{uid:A}=S;return A===m.uid});return u===-1?De.push(m):De[u]=m,De}function wt(m,re){const De=m.uid!==void 0?"uid":"name";return re.filter(u=>u[De]===m[De])[0]}function Ut(m,re){const De=m.uid!==void 0?"uid":"name",u=re.filter(S=>S[De]!==m[De]);return u.length===re.length?null:u}const yt=function(){const re=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),u=re[re.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(u)||[""])[0]},Bt=m=>m.indexOf("image/")===0,Pt=m=>{if(m.type&&!m.thumbUrl)return Bt(m.type);const re=m.thumbUrl||m.url||"",De=yt(re);return/^data:image\//.test(re)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(De)?!0:!(/^data:/.test(re)||De)},kt=200;function Wt(m){return new Promise(re=>{if(!m.type||!Bt(m.type)){re("");return}const De=document.createElement("canvas");De.width=kt,De.height=kt,De.style.cssText=`position: fixed; left: 0; top: 0; width: ${kt}px; height: ${kt}px; z-index: 9999; display: none;`,document.body.appendChild(De);const u=De.getContext("2d"),S=new Image;if(S.onload=()=>{const{width:A,height:ve}=S;let j=kt,O=kt,W=0,ee=0;A>ve?(O=ve*(kt/A),ee=-(O-j)/2):(j=A*(kt/ve),W=-(j-O)/2),u.drawImage(S,W,ee,j,O);const oe=De.toDataURL();document.body.removeChild(De),window.URL.revokeObjectURL(S.src),re(oe)},S.crossOrigin="anonymous",m.type.startsWith("image/svg+xml")){const A=new FileReader;A.onload=()=>{A.result&&typeof A.result=="string"&&(S.src=A.result)},A.readAsDataURL(m)}else if(m.type.startsWith("image/gif")){const A=new FileReader;A.onload=()=>{A.result&&re(A.result)},A.readAsDataURL(m)}else S.src=window.URL.createObjectURL(m)})}var pt=t(26227),Lt=t(41464),ln=t(15277),rn=t(89787),xn=t(25399),Mn=e.forwardRef((m,re)=>{let{prefixCls:De,className:u,style:S,locale:A,listType:ve,file:j,items:O,progress:W,iconRender:ee,actionIconRender:oe,itemRender:h,isImgUrl:v,showPreviewIcon:B,showRemoveIcon:te,showDownloadIcon:we,previewIcon:Ne,removeIcon:ut,downloadIcon:Ge,extra:Y,onPreview:he,onDownload:Me,onClose:ke}=m;var ht,ft;const{status:Ct}=j,[It,Dt]=e.useState(Ct);e.useEffect(()=>{Ct!=="removed"&&Dt(Ct)},[Ct]);const[Mt,$t]=e.useState(!1);e.useEffect(()=>{const en=setTimeout(()=>{$t(!0)},300);return()=>{clearTimeout(en)}},[]);const Et=ee(j);let Jt=e.createElement("div",{className:`${De}-icon`},Et);if(ve==="picture"||ve==="picture-card"||ve==="picture-circle")if(It==="uploading"||!j.thumbUrl&&!j.url){const en=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:It!=="uploading"});Jt=e.createElement("div",{className:en},Et)}else{const en=v!=null&&v(j)?e.createElement("img",{src:j.thumbUrl||j.url,alt:j.name,className:`${De}-list-item-image`,crossOrigin:j.crossOrigin}):Et,cn=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:v&&!v(j)});Jt=e.createElement("a",{className:cn,onClick:Rn=>he(j,Rn),href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer"},en)}const At=x()(`${De}-list-item`,`${De}-list-item-${It}`),sn=typeof j.linkProps=="string"?JSON.parse(j.linkProps):j.linkProps,Gt=(typeof te=="function"?te(j):te)?oe((typeof ut=="function"?ut(j):ut)||e.createElement(pt.Z,null),()=>ke(j),De,A.removeFile,!0):null,Yt=(typeof we=="function"?we(j):we)&&It==="done"?oe((typeof Ge=="function"?Ge(j):Ge)||e.createElement(Lt.Z,null),()=>Me(j),De,A.downloadFile):null,nn=ve!=="picture-card"&&ve!=="picture-circle"&&e.createElement("span",{key:"download-delete",className:x()(`${De}-list-item-actions`,{picture:ve==="picture"})},Yt,Gt),fn=typeof Y=="function"?Y(j):Y,Zt=fn&&e.createElement("span",{className:`${De}-list-item-extra`},fn),Qt=x()(`${De}-list-item-name`),Ft=j.url?e.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qt,title:j.name},sn,{href:j.url,onClick:en=>he(j,en)}),j.name,Zt):e.createElement("span",{key:"view",className:Qt,onClick:en=>he(j,en),title:j.name},j.name,Zt),qe=(typeof B=="function"?B(j):B)&&(j.url||j.thumbUrl)?e.createElement("a",{href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:en=>he(j,en),title:A.previewFile},typeof Ne=="function"?Ne(j):Ne||e.createElement(ln.Z,null)):null,mt=(ve==="picture-card"||ve==="picture-circle")&&It!=="uploading"&&e.createElement("span",{className:`${De}-list-item-actions`},qe,It==="done"&&Yt,Gt),{getPrefixCls:Kt}=e.useContext(We.E_),jt=Kt(),qt=e.createElement("div",{className:At},Jt,Ft,nn,mt,Mt&&e.createElement(ot.default,{motionName:`${jt}-fade`,visible:It==="uploading",motionDeadline:2e3},en=>{let{className:cn}=en;const Rn="percent"in j?e.createElement(rn.Z,Object.assign({},W,{type:"line",percent:j.percent,"aria-label":j["aria-label"],"aria-labelledby":j["aria-labelledby"]})):null;return e.createElement("div",{className:x()(`${De}-list-item-progress`,cn)},Rn)})),un=j.response&&typeof j.response=="string"?j.response:((ht=j.error)===null||ht===void 0?void 0:ht.statusText)||((ft=j.error)===null||ft===void 0?void 0:ft.message)||A.uploadError,on=It==="error"?e.createElement(xn.Z,{title:un,getPopupContainer:en=>en.parentNode},qt):qt;return e.createElement("div",{className:x()(`${De}-list-item-container`,u),style:S,ref:re},h?h(on,j,O,{download:Me.bind(null,j),preview:he.bind(null,j),remove:ke.bind(null,j)}):on)});const tn=(m,re)=>{const{listType:De="text",previewFile:u=Wt,onPreview:S,onDownload:A,onRemove:ve,locale:j,iconRender:O,isImageUrl:W=Pt,prefixCls:ee,items:oe=[],showPreviewIcon:h=!0,showRemoveIcon:v=!0,showDownloadIcon:B=!1,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,progress:Ge={size:[-1,2],showInfo:!1},appendAction:Y,appendActionVisible:he=!0,itemRender:Me,disabled:ke}=m,ht=(0,ct.Z)(),[ft,Ct]=e.useState(!1),It=["picture-card","picture-circle"].includes(De);e.useEffect(()=>{De.startsWith("picture")&&(oe||[]).forEach(Zt=>{!(Zt.originFileObj instanceof File||Zt.originFileObj instanceof Blob)||Zt.thumbUrl!==void 0||(Zt.thumbUrl="",u==null||u(Zt.originFileObj).then(Qt=>{Zt.thumbUrl=Qt||"",ht()}))})},[De,oe,u]),e.useEffect(()=>{Ct(!0)},[]);const Dt=(Zt,Qt)=>{if(S)return Qt==null||Qt.preventDefault(),S(Zt)},Mt=Zt=>{typeof A=="function"?A(Zt):Zt.url&&window.open(Zt.url)},$t=Zt=>{ve==null||ve(Zt)},Et=Zt=>{if(O)return O(Zt,De);const Qt=Zt.status==="uploading";if(De.startsWith("picture")){const Ft=De==="picture"?e.createElement(Xe.Z,null):j.uploading,qe=W!=null&&W(Zt)?e.createElement(Ve,null):e.createElement(C,null);return Qt?Ft:qe}return Qt?e.createElement(Xe.Z,null):e.createElement(lt,null)},Jt=(Zt,Qt,Ft,qe,mt)=>{const Kt={type:"text",size:"small",title:qe,onClick:jt=>{var qt,un;Qt(),e.isValidElement(Zt)&&((un=(qt=Zt.props).onClick)===null||un===void 0||un.call(qt,jt))},className:`${Ft}-list-item-action`};return mt&&(Kt.disabled=ke),e.isValidElement(Zt)?e.createElement(Vt.ZP,Object.assign({},Kt,{icon:(0,Rt.Tm)(Zt,Object.assign(Object.assign({},Zt.props),{onClick:()=>{}}))})):e.createElement(Vt.ZP,Object.assign({},Kt),e.createElement("span",null,Zt))};e.useImperativeHandle(re,()=>({handlePreview:Dt,handleDownload:Mt}));const{getPrefixCls:At}=e.useContext(We.E_),sn=At("upload",ee),Gt=At(),Yt=x()(`${sn}-list`,`${sn}-list-${De}`),nn=e.useMemo(()=>(0,Tt.Z)((0,dt.Z)(Gt),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Gt]),fn=Object.assign(Object.assign({},It?{}:nn),{motionDeadline:2e3,motionName:`${sn}-${It?"animate-inline":"animate"}`,keys:(0,d.Z)(oe.map(Zt=>({key:Zt.uid,file:Zt}))),motionAppear:ft});return e.createElement("div",{className:Yt},e.createElement(ot.CSSMotionList,Object.assign({},fn,{component:!1}),Zt=>{let{key:Qt,file:Ft,className:qe,style:mt}=Zt;return e.createElement(Mn,{key:Qt,locale:j,prefixCls:sn,className:qe,style:mt,file:Ft,items:oe,progress:Ge,listType:De,isImgUrl:W,showPreviewIcon:h,showRemoveIcon:v,showDownloadIcon:B,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,iconRender:Et,actionIconRender:Jt,itemRender:Me,onPreview:Dt,onDownload:Mt,onClose:$t})}),Y&&e.createElement(ot.default,Object.assign({},fn,{visible:he,forceRender:!0}),Zt=>{let{className:Qt,style:Ft}=Zt;return(0,Rt.Tm)(Y,qe=>({className:x()(qe.className,Qt),style:Object.assign(Object.assign(Object.assign({},Ft),{pointerEvents:Qt?"none":void 0}),qe.style)}))}))};var Pn=e.forwardRef(tn),bn=function(m,re,De,u){function S(A){return A instanceof De?A:new De(function(ve){ve(A)})}return new(De||(De=Promise))(function(A,ve){function j(ee){try{W(u.next(ee))}catch(oe){ve(oe)}}function O(ee){try{W(u.throw(ee))}catch(oe){ve(oe)}}function W(ee){ee.done?A(ee.value):S(ee.value).then(j,O)}W((u=u.apply(m,re||[])).next())})};const Fn=`__LIST_IGNORE_${Date.now()}__`,_n=(m,re)=>{const{fileList:De,defaultFileList:u,onRemove:S,showUploadList:A=!0,listType:ve="text",onPreview:j,onDownload:O,onChange:W,onDrop:ee,previewFile:oe,disabled:h,locale:v,iconRender:B,isImageUrl:te,progress:we,prefixCls:Ne,className:ut,type:Ge="select",children:Y,style:he,itemRender:Me,maxCount:ke,data:ht={},multiple:ft=!1,hasControlInside:Ct=!0,action:It="",accept:Dt="",supportServerRender:Mt=!0,rootClassName:$t}=m,Et=e.useContext(st.Z),Jt=h!=null?h:Et,[At,sn]=(0,xe.Z)(u||[],{value:De,postState:Gn=>Gn!=null?Gn:[]}),[Gt,Yt]=e.useState("drop"),nn=e.useRef(null),fn=e.useRef(null);e.useMemo(()=>{const Gn=Date.now();(De||[]).forEach((ur,yr)=>{!ur.uid&&!Object.isFrozen(ur)&&(ur.uid=`__AUTO__${Gn}_${yr}__`)})},[De]);const Zt=(Gn,ur,yr)=>{let gr=(0,d.Z)(ur),br=!1;ke===1?gr=gr.slice(-1):ke&&(br=gr.length>ke,gr=gr.slice(0,ke)),(0,i.flushSync)(()=>{sn(gr)});const Br={file:Gn,fileList:gr};yr&&(Br.event=yr),(!br||Gn.status==="removed"||gr.some(wr=>wr.uid===Gn.uid))&&(0,i.flushSync)(()=>{W==null||W(Br)})},Qt=(Gn,ur)=>bn(void 0,void 0,void 0,function*(){const{beforeUpload:yr,transformFile:gr}=m;let br=Gn;if(yr){const Br=yield yr(Gn,ur);if(Br===!1)return!1;if(delete Gn[Fn],Br===Fn)return Object.defineProperty(Gn,Fn,{value:!0,configurable:!0}),!1;typeof Br=="object"&&Br&&(br=Br)}return gr&&(br=yield gr(br)),br}),Ft=Gn=>{const ur=Gn.filter(br=>!br.file[Fn]);if(!ur.length)return;const yr=ur.map(br=>Ht(br.file));let gr=(0,d.Z)(At);yr.forEach(br=>{gr=Xt(br,gr)}),yr.forEach((br,Br)=>{let wr=br;if(ur[Br].parsedFile)br.status="uploading";else{const{originFileObj:Tr}=br;let Qr;try{Qr=new File([Tr],Tr.name,{type:Tr.type})}catch(Or){Qr=new Blob([Tr],{type:Tr.type}),Qr.name=Tr.name,Qr.lastModifiedDate=new Date,Qr.lastModified=new Date().getTime()}Qr.uid=br.uid,wr=Qr}Zt(wr,gr)})},qe=(Gn,ur,yr)=>{try{typeof Gn=="string"&&(Gn=JSON.parse(Gn))}catch(Br){}if(!wt(ur,At))return;const gr=Ht(ur);gr.status="done",gr.percent=100,gr.response=Gn,gr.xhr=yr;const br=Xt(gr,At);Zt(gr,br)},mt=(Gn,ur)=>{if(!wt(ur,At))return;const yr=Ht(ur);yr.status="uploading",yr.percent=Gn.percent;const gr=Xt(yr,At);Zt(yr,gr,Gn)},Kt=(Gn,ur,yr)=>{if(!wt(yr,At))return;const gr=Ht(yr);gr.error=Gn,gr.response=ur,gr.status="error";const br=Xt(gr,At);Zt(gr,br)},jt=Gn=>{let ur;Promise.resolve(typeof S=="function"?S(Gn):S).then(yr=>{var gr;if(yr===!1)return;const br=Ut(Gn,At);br&&(ur=Object.assign(Object.assign({},Gn),{status:"removed"}),At==null||At.forEach(Br=>{const wr=ur.uid!==void 0?"uid":"name";Br[wr]===ur[wr]&&!Object.isFrozen(Br)&&(Br.status="removed")}),(gr=nn.current)===null||gr===void 0||gr.abort(ur),Zt(ur,br))})},qt=Gn=>{Yt(Gn.type),Gn.type==="drop"&&(ee==null||ee(Gn))};e.useImperativeHandle(re,()=>({onBatchStart:Ft,onSuccess:qe,onProgress:mt,onError:Kt,fileList:At,upload:nn.current,nativeElement:fn.current}));const{getPrefixCls:un,direction:on,upload:en}=e.useContext(We.E_),cn=un("upload",Ne),Rn=Object.assign(Object.assign({onBatchStart:Ft,onError:Kt,onProgress:mt,onSuccess:qe},m),{data:ht,multiple:ft,action:It,accept:Dt,supportServerRender:Mt,prefixCls:cn,disabled:Jt,beforeUpload:Qt,onChange:void 0,hasControlInside:Ct});delete Rn.className,delete Rn.style,(!Y||Jt)&&delete Rn.id;const Bn=`${cn}-wrapper`,[yn,dn,Kn]=q(cn,Bn),[Xn]=(0,at.Z)("Upload",Ae.Z.Upload),{showRemoveIcon:ar,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,extra:$r}=typeof A=="boolean"?{}:A,Cr=typeof ar=="undefined"?!Jt:ar,vr=(Gn,ur)=>A?e.createElement(Pn,{prefixCls:cn,listType:ve,items:At,previewFile:oe,onPreview:j,onDownload:O,onRemove:jt,showRemoveIcon:Cr,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,iconRender:B,extra:$r,locale:Object.assign(Object.assign({},Xn),v),isImageUrl:te,progress:we,appendAction:Gn,appendActionVisible:ur,itemRender:Me,disabled:Jt}):Gn,En=x()(Bn,ut,$t,dn,Kn,en==null?void 0:en.className,{[`${cn}-rtl`]:on==="rtl",[`${cn}-picture-card-wrapper`]:ve==="picture-card",[`${cn}-picture-circle-wrapper`]:ve==="picture-circle"}),Hn=Object.assign(Object.assign({},en==null?void 0:en.style),he);if(Ge==="drag"){const Gn=x()(dn,cn,`${cn}-drag`,{[`${cn}-drag-uploading`]:At.some(ur=>ur.status==="uploading"),[`${cn}-drag-hover`]:Gt==="dragover",[`${cn}-disabled`]:Jt,[`${cn}-rtl`]:on==="rtl"});return yn(e.createElement("span",{className:En,ref:fn},e.createElement("div",{className:Gn,style:Hn,onDrop:qt,onDragOver:qt,onDragLeave:qt},e.createElement(ze,Object.assign({},Rn,{ref:nn,className:`${cn}-btn`}),e.createElement("div",{className:`${cn}-drag-container`},Y))),vr()))}const lr=x()(cn,`${cn}-select`,{[`${cn}-disabled`]:Jt,[`${cn}-hidden`]:!Y}),fr=e.createElement("div",{className:lr},e.createElement(ze,Object.assign({},Rn,{ref:nn})));return yn(ve==="picture-card"||ve==="picture-circle"?e.createElement("span",{className:En,ref:fn},vr(fr,!!Y)):e.createElement("span",{className:En,ref:fn},fr,vr()))};var Be=e.forwardRef(_n),Ie=function(m,re){var De={};for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&re.indexOf(u)<0&&(De[u]=m[u]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,u=Object.getOwnPropertySymbols(m);S{var{style:De,height:u,hasControlInside:S=!1}=m,A=Ie(m,["style","height","hasControlInside"]);return e.createElement(Be,Object.assign({ref:re,hasControlInside:S},A,{type:"drag",style:Object.assign(Object.assign({},De),{height:u})}))});const be=Be;be.Dragger=k,be.LIST_IGNORE=Fn;var ye=be},16632:function(an,_e,t){var e=t(54476),d=t(33885),i=t(20068),L=t(42978),x=t(75931),D=t(92310),E=t.n(D),Z=t(18929),K=t(59301),r=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],_=(0,K.forwardRef)(function(M,P){var pe=M.prefixCls,it=pe===void 0?"rc-checkbox":pe,Fe=M.className,Pe=M.style,Ye=M.checked,b=M.disabled,Ce=M.defaultChecked,s=Ce===void 0?!1:Ce,p=M.type,ae=p===void 0?"checkbox":p,le=M.title,y=M.onChange,He=(0,x.Z)(M,r),Oe=(0,K.useRef)(null),ne=(0,K.useRef)(null),Re=(0,Z.Z)(s,{value:Ye}),de=(0,L.Z)(Re,2),H=de[0],n=de[1];(0,K.useImperativeHandle)(P,function(){return{focus:function(xe){var We;(We=Oe.current)===null||We===void 0||We.focus(xe)},blur:function(){var xe;(xe=Oe.current)===null||xe===void 0||xe.blur()},input:Oe.current,nativeElement:ne.current}});var ce=E()(it,Fe,(0,i.Z)((0,i.Z)({},"".concat(it,"-checked"),H),"".concat(it,"-disabled"),b)),T=function(xe){b||("checked"in M||n(xe.target.checked),y==null||y({target:(0,d.Z)((0,d.Z)({},M),{},{type:ae,checked:xe.target.checked}),stopPropagation:function(){xe.stopPropagation()},preventDefault:function(){xe.preventDefault()},nativeEvent:xe.nativeEvent}))};return K.createElement("span",{className:ce,title:le,style:Pe,ref:ne},K.createElement("input",(0,e.Z)({},He,{className:"".concat(it,"-input"),ref:Oe,onChange:T,disabled:b,checked:!!H,type:ae})),K.createElement("span",{className:"".concat(it,"-inner")}))});_e.Z=_},96478:function(an,_e,t){t.d(_e,{Z:function(){return le}});var e=t(54476),d=t(20068),i=t(42978),L=t(75931),x=t(65030),D=t(92310),E=t.n(D),Z=t(8654),K=t(59301),r=t(10228),_=t(16089),M=r.Z.ESC,P=r.Z.TAB;function pe(y){var He=y.visible,Oe=y.triggerRef,ne=y.onVisibleChange,Re=y.autoFocus,de=y.overlayRef,H=K.useRef(!1),n=function(){if(He){var xe,We;(xe=Oe.current)===null||xe===void 0||(We=xe.focus)===null||We===void 0||We.call(xe),ne==null||ne(!1)}},ce=function(){var xe;return(xe=de.current)!==null&&xe!==void 0&&xe.focus?(de.current.focus(),H.current=!0,!0):!1},T=function(xe){switch(xe.keyCode){case M:n();break;case P:{var We=!1;H.current||(We=ce()),We?xe.preventDefault():n();break}}};K.useEffect(function(){return He?(window.addEventListener("keydown",T),Re&&(0,_.Z)(ce,3),function(){window.removeEventListener("keydown",T),H.current=!1}):function(){H.current=!1}},[He])}var it=(0,K.forwardRef)(function(y,He){var Oe=y.overlay,ne=y.arrow,Re=y.prefixCls,de=(0,K.useMemo)(function(){var n;return typeof Oe=="function"?n=Oe():n=Oe,n},[Oe]),H=(0,Z.sQ)(He,(0,Z.C4)(de));return K.createElement(K.Fragment,null,ne&&K.createElement("div",{className:"".concat(Re,"-arrow")}),K.cloneElement(de,{ref:(0,Z.Yr)(de)?H:void 0}))}),Fe=it,Pe={adjustX:1,adjustY:1},Ye=[0,0],b={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:Ye},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:Ye},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:Ye},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:Ye},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:Ye},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:Ye}},Ce=b,s=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function p(y,He){var Oe,ne=y.arrow,Re=ne===void 0?!1:ne,de=y.prefixCls,H=de===void 0?"rc-dropdown":de,n=y.transitionName,ce=y.animation,T=y.align,ze=y.placement,xe=ze===void 0?"bottomLeft":ze,We=y.placements,st=We===void 0?Ce:We,at=y.getPopupContainer,Ae=y.showAction,tt=y.hideAction,J=y.overlayClassName,Se=y.overlayStyle,me=y.visible,Qe=y.trigger,ie=Qe===void 0?["hover"]:Qe,Je=y.autoFocus,je=y.overlay,bt=y.children,Te=y.onVisibleChange,G=(0,L.Z)(y,s),R=K.useState(),V=(0,i.Z)(R,2),g=V[0],fe=V[1],z="visible"in y?me:g,o=K.useRef(null),f=K.useRef(null),se=K.useRef(null);K.useImperativeHandle(He,function(){return o.current});var q=function(Le){fe(Le),Te==null||Te(Le)};pe({visible:z,triggerRef:se,onVisibleChange:q,autoFocus:Je,overlayRef:f});var $=function(Le){var Ke=y.onOverlayClick;fe(!1),Ke&&Ke(Le)},N=function(){return K.createElement(Fe,{ref:f,overlay:je,prefixCls:H,arrow:Re})},U=function(){return typeof je=="function"?N:N()},ue=function(){var Le=y.minOverlayWidthMatchTrigger,Ke=y.alignPoint;return"minOverlayWidthMatchTrigger"in y?Le:!Ke},c=function(){var Le=y.openClassName;return Le!==void 0?Le:"".concat(H,"-open")},C=K.cloneElement(bt,{className:E()((Oe=bt.props)===null||Oe===void 0?void 0:Oe.className,z&&c()),ref:(0,Z.Yr)(bt)?(0,Z.sQ)(se,(0,Z.C4)(bt)):void 0}),Xe=tt;return!Xe&&ie.indexOf("contextMenu")!==-1&&(Xe=["click"]),K.createElement(x.Z,(0,e.Z)({builtinPlacements:st},G,{prefixCls:H,ref:o,popupClassName:E()(J,(0,d.Z)({},"".concat(H,"-show-arrow"),Re)),popupStyle:Se,action:ie,showAction:Ae,hideAction:Xe,popupPlacement:xe,popupAlign:T,popupTransitionName:n,popupAnimation:ce,popupVisible:z,stretch:ue()?"minWidth":"",popup:U(),onPopupVisibleChange:q,onPopupClick:$,getPopupContainer:at}),C)}var ae=K.forwardRef(p),le=ae},66003:function(an,_e,t){t.d(_e,{Z:function(){return E}});var e=t(75931),d=t(33885),i=t(76190),L=t(59301),x=["show"];function D(Z,K){if(!K.max)return!0;var r=K.strategy(Z);return r<=K.max}function E(Z,K){return L.useMemo(function(){var r={};K&&(r.show=(0,i.Z)(K)==="object"&&K.formatter?K.formatter:!!K),r=(0,d.Z)((0,d.Z)({},r),Z);var _=r,M=_.show,P=(0,e.Z)(_,x);return(0,d.Z)((0,d.Z)({},P),{},{show:!!M,showFormatter:typeof M=="function"?M:void 0,strategy:P.strategy||function(pe){return pe.length}})},[Z,K])}},36901:function(an,_e,t){t.r(_e),t.d(_e,{BaseInput:function(){return r},default:function(){return Ce}});var e=t(33885),d=t(54476),i=t(20068),L=t(76190),x=t(92310),D=t.n(x),E=t(59301),Z=t(30292),K=E.forwardRef(function(s,p){var ae,le,y,He=s.inputElement,Oe=s.children,ne=s.prefixCls,Re=s.prefix,de=s.suffix,H=s.addonBefore,n=s.addonAfter,ce=s.className,T=s.style,ze=s.disabled,xe=s.readOnly,We=s.focused,st=s.triggerFocus,at=s.allowClear,Ae=s.value,tt=s.handleReset,J=s.hidden,Se=s.classes,me=s.classNames,Qe=s.dataAttrs,ie=s.styles,Je=s.components,je=s.onClear,bt=Oe!=null?Oe:He,Te=(Je==null?void 0:Je.affixWrapper)||"span",G=(Je==null?void 0:Je.groupWrapper)||"span",R=(Je==null?void 0:Je.wrapper)||"span",V=(Je==null?void 0:Je.groupAddon)||"span",g=(0,E.useRef)(null),fe=function(lt){var et;(et=g.current)!==null&&et!==void 0&&et.contains(lt.target)&&(st==null||st())},z=(0,Z.X3)(s),o=(0,E.cloneElement)(bt,{value:Ae,className:D()((ae=bt.props)===null||ae===void 0?void 0:ae.className,!z&&(me==null?void 0:me.variant))||null}),f=(0,E.useRef)(null);if(E.useImperativeHandle(p,function(){return{nativeElement:f.current||g.current}}),z){var se=null;if(at){var q=!ze&&!xe&&Ae,$="".concat(ne,"-clear-icon"),N=(0,L.Z)(at)==="object"&&at!==null&&at!==void 0&&at.clearIcon?at.clearIcon:"\u2716";se=E.createElement("button",{type:"button",tabIndex:-1,onClick:function(lt){tt==null||tt(lt),je==null||je()},onMouseDown:function(lt){return lt.preventDefault()},className:D()($,(0,i.Z)((0,i.Z)({},"".concat($,"-hidden"),!q),"".concat($,"-has-suffix"),!!de))},N)}var U="".concat(ne,"-affix-wrapper"),ue=D()(U,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(ne,"-disabled"),ze),"".concat(U,"-disabled"),ze),"".concat(U,"-focused"),We),"".concat(U,"-readonly"),xe),"".concat(U,"-input-with-clear-btn"),de&&at&&Ae),Se==null?void 0:Se.affixWrapper,me==null?void 0:me.affixWrapper,me==null?void 0:me.variant),c=(de||at)&&E.createElement("span",{className:D()("".concat(ne,"-suffix"),me==null?void 0:me.suffix),style:ie==null?void 0:ie.suffix},se,de);o=E.createElement(Te,(0,d.Z)({className:ue,style:ie==null?void 0:ie.affixWrapper,onClick:fe},Qe==null?void 0:Qe.affixWrapper,{ref:g}),Re&&E.createElement("span",{className:D()("".concat(ne,"-prefix"),me==null?void 0:me.prefix),style:ie==null?void 0:ie.prefix},Re),o,c)}if((0,Z.He)(s)){var C="".concat(ne,"-group"),Xe="".concat(C,"-addon"),X="".concat(C,"-wrapper"),Le=D()("".concat(ne,"-wrapper"),C,Se==null?void 0:Se.wrapper,me==null?void 0:me.wrapper),Ke=D()(X,(0,i.Z)({},"".concat(X,"-disabled"),ze),Se==null?void 0:Se.group,me==null?void 0:me.groupWrapper);o=E.createElement(G,{className:Ke,ref:f},E.createElement(R,{className:Le},H&&E.createElement(V,{className:Xe},H),o,n&&E.createElement(V,{className:Xe},n)))}return E.cloneElement(o,{className:D()((le=o.props)===null||le===void 0?void 0:le.className,ce)||null,style:(0,e.Z)((0,e.Z)({},(y=o.props)===null||y===void 0?void 0:y.style),T),hidden:J})}),r=K,_=t(94480),M=t(42978),P=t(75931),pe=t(18929),it=t(2738),Fe=t(66003),Pe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Ye=(0,E.forwardRef)(function(s,p){var ae=s.autoComplete,le=s.onChange,y=s.onFocus,He=s.onBlur,Oe=s.onPressEnter,ne=s.onKeyDown,Re=s.onKeyUp,de=s.prefixCls,H=de===void 0?"rc-input":de,n=s.disabled,ce=s.htmlSize,T=s.className,ze=s.maxLength,xe=s.suffix,We=s.showCount,st=s.count,at=s.type,Ae=at===void 0?"text":at,tt=s.classes,J=s.classNames,Se=s.styles,me=s.onCompositionStart,Qe=s.onCompositionEnd,ie=(0,P.Z)(s,Pe),Je=(0,E.useState)(!1),je=(0,M.Z)(Je,2),bt=je[0],Te=je[1],G=(0,E.useRef)(!1),R=(0,E.useRef)(!1),V=(0,E.useRef)(null),g=(0,E.useRef)(null),fe=function(dt){V.current&&(0,Z.nH)(V.current,dt)},z=(0,pe.Z)(s.defaultValue,{value:s.value}),o=(0,M.Z)(z,2),f=o[0],se=o[1],q=f==null?"":String(f),$=(0,E.useState)(null),N=(0,M.Z)($,2),U=N[0],ue=N[1],c=(0,Fe.Z)(st,We),C=c.max||ze,Xe=c.strategy(q),X=!!C&&Xe>C;(0,E.useImperativeHandle)(p,function(){var ct;return{focus:fe,blur:function(){var Rt;(Rt=V.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,Vt,Ht){var Xt;(Xt=V.current)===null||Xt===void 0||Xt.setSelectionRange(Rt,Vt,Ht)},select:function(){var Rt;(Rt=V.current)===null||Rt===void 0||Rt.select()},input:V.current,nativeElement:((ct=g.current)===null||ct===void 0?void 0:ct.nativeElement)||V.current}}),(0,E.useEffect)(function(){R.current&&(R.current=!1),Te(function(ct){return ct&&n?!1:ct})},[n]);var Le=function(dt,Rt,Vt){var Ht=Rt;if(!G.current&&c.exceedFormatter&&c.max&&c.strategy(Rt)>c.max){if(Ht=c.exceedFormatter(Rt,{max:c.max}),Rt!==Ht){var Xt,wt;ue([((Xt=V.current)===null||Xt===void 0?void 0:Xt.selectionStart)||0,((wt=V.current)===null||wt===void 0?void 0:wt.selectionEnd)||0])}}else if(Vt.source==="compositionEnd")return;se(Ht),V.current&&(0,Z.rJ)(V.current,dt,le,Ht)};(0,E.useEffect)(function(){if(U){var ct;(ct=V.current)===null||ct===void 0||ct.setSelectionRange.apply(ct,(0,_.Z)(U))}},[U]);var Ke=function(dt){Le(dt,dt.target.value,{source:"change"})},nt=function(dt){G.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),Qe==null||Qe(dt)},lt=function(dt){Oe&&dt.key==="Enter"&&!R.current&&(R.current=!0,Oe(dt)),ne==null||ne(dt)},et=function(dt){dt.key==="Enter"&&(R.current=!1),Re==null||Re(dt)},w=function(dt){Te(!0),y==null||y(dt)},ge=function(dt){R.current&&(R.current=!1),Te(!1),He==null||He(dt)},Ze=function(dt){se(""),fe(),V.current&&(0,Z.rJ)(V.current,dt,le)},Ve=X&&"".concat(H,"-out-of-range"),ot=function(){var dt=(0,it.Z)(s,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return E.createElement("input",(0,d.Z)({autoComplete:ae},dt,{onChange:Ke,onFocus:w,onBlur:ge,onKeyDown:lt,onKeyUp:et,className:D()(H,(0,i.Z)({},"".concat(H,"-disabled"),n),J==null?void 0:J.input),style:Se==null?void 0:Se.input,ref:V,size:ce,type:Ae,onCompositionStart:function(Vt){G.current=!0,me==null||me(Vt)},onCompositionEnd:nt}))},Tt=function(){var dt=Number(C)>0;if(xe||c.show){var Rt=c.showFormatter?c.showFormatter({value:q,count:Xe,maxLength:C}):"".concat(Xe).concat(dt?" / ".concat(C):"");return E.createElement(E.Fragment,null,c.show&&E.createElement("span",{className:D()("".concat(H,"-show-count-suffix"),(0,i.Z)({},"".concat(H,"-show-count-has-suffix"),!!xe),J==null?void 0:J.count),style:(0,e.Z)({},Se==null?void 0:Se.count)},Rt),xe)}return null};return E.createElement(r,(0,d.Z)({},ie,{prefixCls:H,className:D()(T,Ve),handleReset:Ze,value:q,focused:bt,triggerFocus:fe,suffix:Tt(),disabled:n,classes:tt,classNames:J,styles:Se}),ot())}),b=Ye,Ce=b},30292:function(an,_e,t){t.d(_e,{He:function(){return e},X3:function(){return d},nH:function(){return x},rJ:function(){return L}});function e(D){return!!(D.addonBefore||D.addonAfter)}function d(D){return!!(D.prefix||D.suffix||D.allowClear)}function i(D,E,Z){var K=E.cloneNode(!0),r=Object.create(D,{target:{value:K},currentTarget:{value:K}});return K.value=Z,typeof E.selectionStart=="number"&&typeof E.selectionEnd=="number"&&(K.selectionStart=E.selectionStart,K.selectionEnd=E.selectionEnd),K.setSelectionRange=function(){E.setSelectionRange.apply(E,arguments)},r}function L(D,E,Z,K){if(Z){var r=E;if(E.type==="click"){r=i(E,D,""),Z(r);return}if(D.type!=="file"&&K!==void 0){r=i(E,D,K),Z(r);return}Z(r)}}function x(D,E){if(D){D.focus(E);var Z=E||{},K=Z.cursor;if(K){var r=D.value.length;switch(K){case"start":D.setSelectionRange(0,0);break;case"end":D.setSelectionRange(r,r);break;default:D.setSelectionRange(0,r)}}}}},28321:function(an,_e,t){t.d(_e,{iz:function(){return Be},ck:function(){return Ht},BW:function(){return be},sN:function(){return Ht},Wd:function(){return _n},ZP:function(){return j},Xl:function(){return Oe}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(83836),r=t(18929),_=t(13697),M=t(48736),P=t(59301),pe=t(4676),it=P.createContext(null);function Fe(O,W){return O===void 0?null:"".concat(O,"-").concat(W)}function Pe(O){var W=P.useContext(it);return Fe(W,O)}var Ye=t(80547),b=["children","locked"],Ce=P.createContext(null);function s(O,W){var ee=(0,i.Z)({},O);return Object.keys(W).forEach(function(oe){var h=W[oe];h!==void 0&&(ee[oe]=h)}),ee}function p(O){var W=O.children,ee=O.locked,oe=(0,D.Z)(O,b),h=P.useContext(Ce),v=(0,Ye.Z)(function(){return s(h,oe)},[h,oe],function(B,te){return!ee&&(B[0]!==te[0]||!(0,_.Z)(B[1],te[1],!0))});return P.createElement(Ce.Provider,{value:v},W)}var ae=[],le=P.createContext(null);function y(){return P.useContext(le)}var He=P.createContext(ae);function Oe(O){var W=P.useContext(He);return P.useMemo(function(){return O!==void 0?[].concat((0,L.Z)(W),[O]):W},[W,O])}var ne=P.createContext(null),Re=P.createContext({}),de=Re,H=t(29194);function n(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,H.Z)(O)){var ee=O.nodeName.toLowerCase(),oe=["input","select","textarea","button"].includes(ee)||O.isContentEditable||ee==="a"&&!!O.getAttribute("href"),h=O.getAttribute("tabindex"),v=Number(h),B=null;return h&&!Number.isNaN(v)?B=v:oe&&B===null&&(B=0),oe&&O.disabled&&(B=null),B!==null&&(B>=0||W&&B<0)}return!1}function ce(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=(0,L.Z)(O.querySelectorAll("*")).filter(function(oe){return n(oe,W)});return n(O,W)&&ee.unshift(O),ee}var T=null;function ze(){T=document.activeElement}function xe(){T=null}function We(){if(T)try{T.focus()}catch(O){}}function st(O,W){if(W.keyCode===9){var ee=ce(O),oe=ee[W.shiftKey?0:ee.length-1],h=oe===document.activeElement||O===document.activeElement;if(h){var v=ee[W.shiftKey?ee.length-1:0];v.focus(),W.preventDefault()}}}var at=t(10228),Ae=t(16089),tt=at.Z.LEFT,J=at.Z.RIGHT,Se=at.Z.UP,me=at.Z.DOWN,Qe=at.Z.ENTER,ie=at.Z.ESC,Je=at.Z.HOME,je=at.Z.END,bt=[Se,me,tt,J];function Te(O,W,ee,oe){var h,v="prev",B="next",te="children",we="parent";if(O==="inline"&&oe===Qe)return{inlineTrigger:!0};var Ne=(0,d.Z)((0,d.Z)({},Se,v),me,B),ut=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},tt,ee?B:v),J,ee?v:B),me,te),Qe,te),Ge=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},Se,v),me,B),Qe,te),ie,we),tt,ee?te:we),J,ee?we:te),Y={inline:Ne,horizontal:ut,vertical:Ge,inlineSub:Ne,horizontalSub:Ge,verticalSub:Ge},he=(h=Y["".concat(O).concat(W?"":"Sub")])===null||h===void 0?void 0:h[oe];switch(he){case v:return{offset:-1,sibling:!0};case B:return{offset:1,sibling:!0};case we:return{offset:-1,sibling:!1};case te:return{offset:1,sibling:!1};default:return null}}function G(O){for(var W=O;W;){if(W.getAttribute("data-menu-list"))return W;W=W.parentElement}return null}function R(O,W){for(var ee=O||document.activeElement;ee;){if(W.has(ee))return ee;ee=ee.parentElement}return null}function V(O,W){var ee=ce(O,!0);return ee.filter(function(oe){return W.has(oe)})}function g(O,W,ee){var oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!O)return null;var h=V(O,W),v=h.length,B=h.findIndex(function(te){return ee===te});return oe<0?B===-1?B=v-1:B-=1:oe>0&&(B+=1),B=(B+v)%v,h[B]}var fe=function(W,ee){var oe=new Set,h=new Map,v=new Map;return W.forEach(function(B){var te=document.querySelector("[data-menu-id='".concat(Fe(ee,B),"']"));te&&(oe.add(te),v.set(te,B),h.set(B,te))}),{elements:oe,key2element:h,element2key:v}};function z(O,W,ee,oe,h,v,B,te,we,Ne){var ut=P.useRef(),Ge=P.useRef();Ge.current=W;var Y=function(){Ae.Z.cancel(ut.current)};return P.useEffect(function(){return function(){Y()}},[]),function(he){var Me=he.which;if([].concat(bt,[Qe,ie,Je,je]).includes(Me)){var ke=v(),ht=fe(ke,oe),ft=ht,Ct=ft.elements,It=ft.key2element,Dt=ft.element2key,Mt=It.get(W),$t=R(Mt,Ct),Et=Dt.get($t),Jt=Te(O,B(Et,!0).length===1,ee,Me);if(!Jt&&Me!==Je&&Me!==je)return;(bt.includes(Me)||[Je,je].includes(Me))&&he.preventDefault();var At=function(Ft){if(Ft){var qe=Ft,mt=Ft.querySelector("a");mt!=null&&mt.getAttribute("href")&&(qe=mt);var Kt=Dt.get(Ft);te(Kt),Y(),ut.current=(0,Ae.Z)(function(){Ge.current===Kt&&qe.focus()})}};if([Je,je].includes(Me)||Jt.sibling||!$t){var sn;!$t||O==="inline"?sn=h.current:sn=G($t);var Gt,Yt=V(sn,Ct);Me===Je?Gt=Yt[0]:Me===je?Gt=Yt[Yt.length-1]:Gt=g(sn,Ct,$t,Jt.offset),At(Gt)}else if(Jt.inlineTrigger)we(Et);else if(Jt.offset>0)we(Et,!0),Y(),ut.current=(0,Ae.Z)(function(){ht=fe(ke,oe);var Qt=$t.getAttribute("aria-controls"),Ft=document.getElementById(Qt),qe=g(Ft,ht.elements);At(qe)},5);else if(Jt.offset<0){var nn=B(Et,!0),fn=nn[nn.length-2],Zt=It.get(fn);we(fn,!1),At(Zt)}}Ne==null||Ne(he)}}function o(O){Promise.resolve().then(O)}var f="__RC_UTIL_PATH_SPLIT__",se=function(W){return W.join(f)},q=function(W){return W.split(f)},$="rc-menu-more";function N(){var O=P.useState({}),W=(0,x.Z)(O,2),ee=W[1],oe=(0,P.useRef)(new Map),h=(0,P.useRef)(new Map),v=P.useState([]),B=(0,x.Z)(v,2),te=B[0],we=B[1],Ne=(0,P.useRef)(0),ut=(0,P.useRef)(!1),Ge=function(){ut.current||ee({})},Y=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);h.current.set(Mt,It),oe.current.set(It,Mt),Ne.current+=1;var $t=Ne.current;o(function(){$t===Ne.current&&Ge()})},[]),he=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);h.current.delete(Mt),oe.current.delete(It)},[]),Me=(0,P.useCallback)(function(It){we(It)},[]),ke=(0,P.useCallback)(function(It,Dt){var Mt=oe.current.get(It)||"",$t=q(Mt);return Dt&&te.includes($t[0])&&$t.unshift($),$t},[te]),ht=(0,P.useCallback)(function(It,Dt){return It.filter(function(Mt){return Mt!==void 0}).some(function(Mt){var $t=ke(Mt,!0);return $t.includes(Dt)})},[ke]),ft=function(){var Dt=(0,L.Z)(oe.current.keys());return te.length&&Dt.push($),Dt},Ct=(0,P.useCallback)(function(It){var Dt="".concat(oe.current.get(It)).concat(f),Mt=new Set;return(0,L.Z)(h.current.keys()).forEach(function($t){$t.startsWith(Dt)&&Mt.add(h.current.get($t))}),Mt},[]);return P.useEffect(function(){return function(){ut.current=!0}},[]),{registerPath:Y,unregisterPath:he,refreshOverflowKeys:Me,isSubPathKey:ht,getKeyPath:ke,getKeys:ft,getSubPathKeys:Ct}}function U(O){var W=P.useRef(O);W.current=O;var ee=P.useCallback(function(){for(var oe,h=arguments.length,v=new Array(h),B=0;B1&&(Ct.motionAppear=!1);var It=Ct.onVisibleChanged;return Ct.onVisibleChanged=function(Dt){return!Y.current&&!Dt&&ht(!0),It==null?void 0:It(Dt)},ke?null:P.createElement(p,{mode:v,locked:!Y.current},P.createElement(Mn.default,(0,e.Z)({visible:ft},Ct,{forceRender:we,removeOnLeave:!1,leavedClassName:"".concat(te,"-hidden")}),function(Dt){var Mt=Dt.className,$t=Dt.style;return P.createElement(yt,{id:W,className:Mt,style:$t},h)}))}var Nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Pn=["active"],bn=P.forwardRef(function(O,W){var ee=O.style,oe=O.className,h=O.title,v=O.eventKey,B=O.warnKey,te=O.disabled,we=O.internalPopupClose,Ne=O.children,ut=O.itemIcon,Ge=O.expandIcon,Y=O.popupClassName,he=O.popupOffset,Me=O.popupStyle,ke=O.onClick,ht=O.onMouseEnter,ft=O.onMouseLeave,Ct=O.onTitleClick,It=O.onTitleMouseEnter,Dt=O.onTitleMouseLeave,Mt=(0,D.Z)(O,Nn),$t=Pe(v),Et=P.useContext(Ce),Jt=Et.prefixCls,At=Et.mode,sn=Et.openKeys,Gt=Et.disabled,Yt=Et.overflowDisabled,nn=Et.activeKey,fn=Et.selectedKeys,Zt=Et.itemIcon,Qt=Et.expandIcon,Ft=Et.onItemClick,qe=Et.onOpenChange,mt=Et.onActive,Kt=P.useContext(de),jt=Kt._internalRenderSubMenuItem,qt=P.useContext(ne),un=qt.isSubPathKey,on=Oe(),en="".concat(Jt,"-submenu"),cn=Gt||te,Rn=P.useRef(),Bn=P.useRef(),yn=ut!=null?ut:Zt,dn=Ge!=null?Ge:Qt,Kn=sn.includes(v),Xn=!Yt&&Kn,ar=un(fn,v),$n=et(v,cn,It,Dt),er=$n.active,Wn=(0,D.Z)($n,Pn),Sr=P.useState(!1),Fr=(0,x.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=function(qr){cn||Cr(qr)},En=function(qr){vr(!0),ht==null||ht({key:v,domEvent:qr})},Hn=function(qr){vr(!1),ft==null||ft({key:v,domEvent:qr})},lr=P.useMemo(function(){return er||(At!=="inline"?$r||un([nn],v):!1)},[At,er,nn,$r,v,un]),fr=w(on.length),Gn=function(qr){cn||(Ct==null||Ct({key:v,domEvent:qr}),At==="inline"&&qe(v,!Kn))},ur=U(function(zr){ke==null||ke(Ve(zr)),Ft(zr)}),yr=function(qr){At!=="inline"&&qe(v,qr)},gr=function(){mt(v)},br=$t&&"".concat($t,"-popup"),Br=P.useMemo(function(){return P.createElement(ge,{icon:At!=="horizontal"?dn:void 0,props:(0,i.Z)((0,i.Z)({},O),{},{isOpen:Xn,isSubMenu:!0})},P.createElement("i",{className:"".concat(en,"-arrow")}))},[At,dn,O,Xn,en]),wr=P.createElement("div",(0,e.Z)({role:"menuitem",style:fr,className:"".concat(en,"-title"),tabIndex:cn?null:-1,ref:Rn,title:typeof h=="string"?h:null,"data-menu-id":Yt&&$t?null:$t,"aria-expanded":Xn,"aria-haspopup":!0,"aria-controls":br,"aria-disabled":cn,onClick:Gn,onFocus:gr},Wn),h,Br),Tr=P.useRef(At);if(At!=="inline"&&on.length>1?Tr.current="vertical":Tr.current=At,!Yt){var Qr=Tr.current;wr=P.createElement(Dn,{mode:Qr,prefixCls:en,visible:!we&&Xn&&At!=="inline",popupClassName:Y,popupOffset:he,popupStyle:Me,popup:P.createElement(p,{mode:Qr==="horizontal"?"vertical":Qr},P.createElement(yt,{id:br,ref:Bn},Ne)),disabled:cn,onVisibleChange:yr},wr)}var Or=P.createElement(K.Z.Item,(0,e.Z)({ref:W,role:"none"},Mt,{component:"li",style:ee,className:Z()(en,"".concat(en,"-").concat(At),oe,(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(en,"-open"),Xn),"".concat(en,"-active"),lr),"".concat(en,"-selected"),ar),"".concat(en,"-disabled"),cn)),onMouseEnter:En,onMouseLeave:Hn}),wr,!Yt&&P.createElement(tn,{id:br,open:Xn,keyPath:on},Ne));return jt&&(Or=jt(Or,O,{selected:ar,active:lr,open:Xn,disabled:cn})),P.createElement(p,{onItemClick:ur,mode:At==="horizontal"?"vertical":At,itemIcon:yn,expandIcon:dn},Or)}),Fn=P.forwardRef(function(O,W){var ee=O.eventKey,oe=O.children,h=Oe(ee),v=Pt(oe,h),B=y();P.useEffect(function(){if(B)return B.registerPath(ee,h),function(){B.unregisterPath(ee,h)}},[h]);var te;return B?te=v:te=P.createElement(bn,(0,e.Z)({ref:W},O),v),P.createElement(He.Provider,{value:h},te)}),_n=Fn,Jn=t(76190);function Be(O){var W=O.className,ee=O.style,oe=P.useContext(Ce),h=oe.prefixCls,v=y();return v?null:P.createElement("li",{role:"separator",className:Z()("".concat(h,"-item-divider"),W),style:ee})}var Ie=["className","title","eventKey","children"],I=P.forwardRef(function(O,W){var ee=O.className,oe=O.title,h=O.eventKey,v=O.children,B=(0,D.Z)(O,Ie),te=P.useContext(Ce),we=te.prefixCls,Ne="".concat(we,"-item-group");return P.createElement("li",(0,e.Z)({ref:W,role:"presentation"},B,{onClick:function(Ge){return Ge.stopPropagation()},className:Z()(Ne,ee)}),P.createElement("div",{role:"presentation",className:"".concat(Ne,"-title"),title:typeof oe=="string"?oe:void 0},oe),P.createElement("ul",{role:"group",className:"".concat(Ne,"-list")},v))}),k=P.forwardRef(function(O,W){var ee=O.eventKey,oe=O.children,h=Oe(ee),v=Pt(oe,h),B=y();return B?v:P.createElement(I,(0,e.Z)({ref:W},(0,nt.Z)(O,["warnKey"])),v)}),be=k,ye=["label","children","key","type","extra"];function m(O,W,ee){var oe=W.item,h=W.group,v=W.submenu,B=W.divider;return(O||[]).map(function(te,we){if(te&&(0,Jn.Z)(te)==="object"){var Ne=te,ut=Ne.label,Ge=Ne.children,Y=Ne.key,he=Ne.type,Me=Ne.extra,ke=(0,D.Z)(Ne,ye),ht=Y!=null?Y:"tmp-".concat(we);return Ge||he==="group"?he==="group"?P.createElement(h,(0,e.Z)({key:ht},ke,{title:ut}),m(Ge,W,ee)):P.createElement(v,(0,e.Z)({key:ht},ke,{title:ut}),m(Ge,W,ee)):he==="divider"?P.createElement(B,(0,e.Z)({key:ht},ke)):P.createElement(oe,(0,e.Z)({key:ht},ke,{extra:Me}),ut,(!!Me||Me===0)&&P.createElement("span",{className:"".concat(ee,"-item-extra")},Me))}return null}).filter(function(te){return te})}function re(O,W,ee,oe,h){var v=O,B=(0,i.Z)({divider:Be,item:Ht,group:be,submenu:_n},oe);return W&&(v=m(W,B,h)),Pt(v,ee)}var De=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],u=[],S=P.forwardRef(function(O,W){var ee,oe=O,h=oe.prefixCls,v=h===void 0?"rc-menu":h,B=oe.rootClassName,te=oe.style,we=oe.className,Ne=oe.tabIndex,ut=Ne===void 0?0:Ne,Ge=oe.items,Y=oe.children,he=oe.direction,Me=oe.id,ke=oe.mode,ht=ke===void 0?"vertical":ke,ft=oe.inlineCollapsed,Ct=oe.disabled,It=oe.disabledOverflow,Dt=oe.subMenuOpenDelay,Mt=Dt===void 0?.1:Dt,$t=oe.subMenuCloseDelay,Et=$t===void 0?.1:$t,Jt=oe.forceSubMenuRender,At=oe.defaultOpenKeys,sn=oe.openKeys,Gt=oe.activeKey,Yt=oe.defaultActiveFirst,nn=oe.selectable,fn=nn===void 0?!0:nn,Zt=oe.multiple,Qt=Zt===void 0?!1:Zt,Ft=oe.defaultSelectedKeys,qe=oe.selectedKeys,mt=oe.onSelect,Kt=oe.onDeselect,jt=oe.inlineIndent,qt=jt===void 0?24:jt,un=oe.motion,on=oe.defaultMotions,en=oe.triggerSubMenuAction,cn=en===void 0?"hover":en,Rn=oe.builtinPlacements,Bn=oe.itemIcon,yn=oe.expandIcon,dn=oe.overflowedIndicator,Kn=dn===void 0?"...":dn,Xn=oe.overflowedIndicatorPopupClassName,ar=oe.getPopupContainer,$n=oe.onClick,er=oe.onOpenChange,Wn=oe.onKeyDown,Sr=oe.openAnimation,Fr=oe.openTransitionName,$r=oe._internalRenderMenuItem,Cr=oe._internalRenderSubMenuItem,vr=oe._internalComponents,En=(0,D.Z)(oe,De),Hn=P.useMemo(function(){return[re(Y,Ge,u,vr,v),re(Y,Ge,u,{},v)]},[Y,Ge,vr]),lr=(0,x.Z)(Hn,2),fr=lr[0],Gn=lr[1],ur=P.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1],Br=P.useRef(),wr=C(Me),Tr=he==="rtl",Qr=(0,r.Z)(At,{value:sn,postState:function(Jr){return Jr||u}}),Or=(0,x.Z)(Qr,2),zr=Or[0],qr=Or[1],Vn=function(Jr){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Lo(){qr(Jr),er==null||er(Jr)}to?(0,pe.flushSync)(Lo):Lo()},sr=P.useState(zr),kn=(0,x.Z)(sr,2),zn=kn[0],cr=kn[1],pr=P.useRef(!1),eo=P.useMemo(function(){return(ht==="inline"||ht==="vertical")&&ft?["vertical",ft]:[ht,!1]},[ht,ft]),In=(0,x.Z)(eo,2),tr=In[0],Dr=In[1],kr=tr==="inline",Ur=P.useState(tr),Uo=(0,x.Z)(Ur,2),$o=Uo[0],Yo=Uo[1],wo=P.useState(Dr),da=(0,x.Z)(wo,2),Za=da[0],Na=da[1];P.useEffect(function(){Yo(tr),Na(Dr),pr.current&&(kr?qr(zn):Vn(u))},[tr,Dr]);var sa=P.useState(0),wa=(0,x.Z)(sa,2),ma=wa[0],Xa=wa[1],ga=ma>=fr.length-1||$o!=="horizontal"||It;P.useEffect(function(){kr&&cr(zr)},[zr]),P.useEffect(function(){return pr.current=!0,function(){pr.current=!1}},[]);var Qo=N(),Sa=Qo.registerPath,Aa=Qo.unregisterPath,Oa=Qo.refreshOverflowKeys,Jo=Qo.isSubPathKey,Ta=Qo.getKeyPath,pa=Qo.getKeys,Fa=Qo.getSubPathKeys,xa=P.useMemo(function(){return{registerPath:Sa,unregisterPath:Aa}},[Sa,Aa]),Ga=P.useMemo(function(){return{isSubPathKey:Jo}},[Jo]);P.useEffect(function(){Oa(ga?u:fr.slice(ma+1).map(function(lo){return lo.key}))},[ma,ga]);var La=(0,r.Z)(Gt||Yt&&((ee=fr[0])===null||ee===void 0?void 0:ee.key),{value:Gt}),fa=(0,x.Z)(La,2),qo=fa[0],Nr=fa[1],Pr=U(function(lo){Nr(lo)}),Oo=U(function(){Nr(void 0)});(0,P.useImperativeHandle)(W,function(){return{list:Br.current,focus:function(Jr){var to,Lo=pa(),zo=fe(Lo,wr),ba=zo.elements,Pa=zo.key2element,Ya=zo.element2key,za=V(Br.current,ba),Ra=qo!=null?qo:za[0]?Ya.get(za[0]):(to=fr.find(function(Qa){return!Qa.props.disabled}))===null||to===void 0?void 0:to.key,$a=Pa.get(Ra);if(Ra&&$a){var ja;$a==null||(ja=$a.focus)===null||ja===void 0||ja.call($a,Jr)}}}});var Bo=(0,r.Z)(Ft||[],{value:qe,postState:function(Jr){return Array.isArray(Jr)?Jr:Jr==null?u:[Jr]}}),mo=(0,x.Z)(Bo,2),ho=mo[0],Go=mo[1],Xo=function(Jr){if(fn){var to=Jr.key,Lo=ho.includes(to),zo;Qt?Lo?zo=ho.filter(function(Pa){return Pa!==to}):zo=[].concat((0,L.Z)(ho),[to]):zo=[to],Go(zo);var ba=(0,i.Z)((0,i.Z)({},Jr),{},{selectedKeys:zo});Lo?Kt==null||Kt(ba):mt==null||mt(ba)}!Qt&&zr.length&&$o!=="inline"&&Vn(u)},_o=U(function(lo){$n==null||$n(Ve(lo)),Xo(lo)}),oa=U(function(lo,Jr){var to=zr.filter(function(zo){return zo!==lo});if(Jr)to.push(lo);else if($o!=="inline"){var Lo=Fa(lo);to=to.filter(function(zo){return!Lo.has(zo)})}(0,_.Z)(zr,to,!0)||Vn(to,!0)}),aa=function(Jr,to){var Lo=to!=null?to:!zr.includes(Jr);oa(Jr,Lo)},ha=z($o,qo,Tr,wr,Br,pa,Ta,Nr,aa,Wn);P.useEffect(function(){br(!0)},[]);var Ca=P.useMemo(function(){return{_internalRenderMenuItem:$r,_internalRenderSubMenuItem:Cr}},[$r,Cr]),tl=$o!=="horizontal"||It?fr:fr.map(function(lo,Jr){return P.createElement(p,{key:lo.key,overflowDisabled:Jr>ma},lo)}),ka=P.createElement(K.Z,(0,e.Z)({id:Me,ref:Br,prefixCls:"".concat(v,"-overflow"),component:"ul",itemComponent:Ht,className:Z()(v,"".concat(v,"-root"),"".concat(v,"-").concat($o),we,(0,d.Z)((0,d.Z)({},"".concat(v,"-inline-collapsed"),Za),"".concat(v,"-rtl"),Tr),B),dir:he,style:te,role:"menu",tabIndex:ut,data:tl,renderRawItem:function(Jr){return Jr},renderRawRest:function(Jr){var to=Jr.length,Lo=to?fr.slice(-to):null;return P.createElement(_n,{eventKey:$,title:Kn,disabled:ga,internalPopupClose:to===0,popupClassName:Xn},Lo)},maxCount:$o!=="horizontal"||It?K.Z.INVALIDATE:K.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Jr){Xa(Jr)},onKeyDown:ha},En));return P.createElement(de.Provider,{value:Ca},P.createElement(it.Provider,{value:wr},P.createElement(p,{prefixCls:v,rootClassName:B,mode:$o,openKeys:zr,rtl:Tr,disabled:Ct,motion:gr?un:null,defaultMotions:gr?on:null,activeKey:qo,onActive:Pr,onInactive:Oo,selectedKeys:ho,inlineIndent:qt,subMenuOpenDelay:Mt,subMenuCloseDelay:Et,forceSubMenuRender:Jt,builtinPlacements:Rn,triggerSubMenuAction:cn,getPopupContainer:ar,itemIcon:Bn,expandIcon:yn,onItemClick:_o,onOpenChange:oa},P.createElement(ne.Provider,{value:Ga},ka),P.createElement("div",{style:{display:"none"},"aria-hidden":!0},P.createElement(le.Provider,{value:xa},Gn)))))}),A=S,ve=A;ve.Item=Ht,ve.SubMenu=_n,ve.ItemGroup=be,ve.Divider=Be;var j=ve},83836:function(an,_e,t){t.d(_e,{Z:function(){return ze}});var e=t(54476),d=t(33885),i=t(42978),L=t(75931),x=t(59301),D=t(92310),E=t.n(D),Z=t(29301),K=t(34280),r=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],_=void 0;function M(xe,We){var st=xe.prefixCls,at=xe.invalidate,Ae=xe.item,tt=xe.renderItem,J=xe.responsive,Se=xe.responsiveDisabled,me=xe.registerSize,Qe=xe.itemKey,ie=xe.className,Je=xe.style,je=xe.children,bt=xe.display,Te=xe.order,G=xe.component,R=G===void 0?"div":G,V=(0,L.Z)(xe,r),g=J&&!bt;function fe(q){me(Qe,q)}x.useEffect(function(){return function(){fe(null)}},[]);var z=tt&&Ae!==_?tt(Ae,{index:Te}):je,o;at||(o={opacity:g?0:1,height:g?0:_,overflowY:g?"hidden":_,order:J?Te:_,pointerEvents:g?"none":_,position:g?"absolute":_});var f={};g&&(f["aria-hidden"]=!0);var se=x.createElement(R,(0,e.Z)({className:E()(!at&&st,ie),style:(0,d.Z)((0,d.Z)({},o),Je)},f,V,{ref:We}),z);return J&&(se=x.createElement(Z.Z,{onResize:function($){var N=$.offsetWidth;fe(N)},disabled:Se},se)),se}var P=x.forwardRef(M);P.displayName="Item";var pe=P,it=t(6089),Fe=t(4676),Pe=t(16089);function Ye(xe){if(typeof MessageChannel=="undefined")(0,Pe.Z)(xe);else{var We=new MessageChannel;We.port1.onmessage=function(){return xe()},We.port2.postMessage(void 0)}}function b(){var xe=x.useRef(null),We=function(at){xe.current||(xe.current=[],Ye(function(){(0,Fe.unstable_batchedUpdates)(function(){xe.current.forEach(function(Ae){Ae()}),xe.current=null})})),xe.current.push(at)};return We}function Ce(xe,We){var st=x.useState(We),at=(0,i.Z)(st,2),Ae=at[0],tt=at[1],J=(0,it.Z)(function(Se){xe(function(){tt(Se)})});return[Ae,J]}var s=x.createContext(null),p=["component"],ae=["className"],le=["className"],y=function(We,st){var at=x.useContext(s);if(!at){var Ae=We.component,tt=Ae===void 0?"div":Ae,J=(0,L.Z)(We,p);return x.createElement(tt,(0,e.Z)({},J,{ref:st}))}var Se=at.className,me=(0,L.Z)(at,ae),Qe=We.className,ie=(0,L.Z)(We,le);return x.createElement(s.Provider,{value:null},x.createElement(pe,(0,e.Z)({ref:st,className:E()(Se,Qe)},me,ie)))},He=x.forwardRef(y);He.displayName="RawItem";var Oe=He,ne=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Re="responsive",de="invalidate";function H(xe){return"+ ".concat(xe.length," ...")}function n(xe,We){var st=xe.prefixCls,at=st===void 0?"rc-overflow":st,Ae=xe.data,tt=Ae===void 0?[]:Ae,J=xe.renderItem,Se=xe.renderRawItem,me=xe.itemKey,Qe=xe.itemWidth,ie=Qe===void 0?10:Qe,Je=xe.ssr,je=xe.style,bt=xe.className,Te=xe.maxCount,G=xe.renderRest,R=xe.renderRawRest,V=xe.prefix,g=xe.suffix,fe=xe.component,z=fe===void 0?"div":fe,o=xe.itemComponent,f=xe.onVisibleChange,se=(0,L.Z)(xe,ne),q=Je==="full",$=b(),N=Ce($,null),U=(0,i.Z)(N,2),ue=U[0],c=U[1],C=ue||0,Xe=Ce($,new Map),X=(0,i.Z)(Xe,2),Le=X[0],Ke=X[1],nt=Ce($,0),lt=(0,i.Z)(nt,2),et=lt[0],w=lt[1],ge=Ce($,0),Ze=(0,i.Z)(ge,2),Ve=Ze[0],ot=Ze[1],Tt=Ce($,0),ct=(0,i.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=Ce($,0),Ht=(0,i.Z)(Vt,2),Xt=Ht[0],wt=Ht[1],Ut=(0,x.useState)(null),yt=(0,i.Z)(Ut,2),Bt=yt[0],Pt=yt[1],kt=(0,x.useState)(null),Wt=(0,i.Z)(kt,2),pt=Wt[0],Lt=Wt[1],ln=x.useMemo(function(){return pt===null&&q?Number.MAX_SAFE_INTEGER:pt||0},[pt,ue]),rn=(0,x.useState)(!1),xn=(0,i.Z)(rn,2),Dn=xn[0],Mn=xn[1],tn="".concat(at,"-item"),Nn=Math.max(et,Ve),Pn=Te===Re,bn=tt.length&&Pn,Fn=Te===de,_n=bn||typeof Te=="number"&&tt.length>Te,Jn=(0,x.useMemo)(function(){var h=tt;return bn?ue===null&&q?h=tt:h=tt.slice(0,Math.min(tt.length,C/ie)):typeof Te=="number"&&(h=tt.slice(0,Te)),h},[tt,ie,ue,Te,bn]),Be=(0,x.useMemo)(function(){return bn?tt.slice(ln+1):tt.slice(Jn.length)},[tt,Jn,bn,ln]),Ie=(0,x.useCallback)(function(h,v){var B;return typeof me=="function"?me(h):(B=me&&(h==null?void 0:h[me]))!==null&&B!==void 0?B:v},[me]),I=(0,x.useCallback)(J||function(h){return h},[J]);function k(h,v,B){pt===h&&(v===void 0||v===Bt)||(Lt(h),B||(Mn(hC){k(te-1,h-we-Xt+Ve);break}}g&&u(0)+Xt>C&&Pt(null)}},[C,Le,Ve,dt,Xt,Ie,Jn]);var S=Dn&&!!Be.length,A={};Bt!==null&&bn&&(A={position:"absolute",left:Bt,top:0});var ve={prefixCls:tn,responsive:bn,component:o,invalidate:Fn},j=Se?function(h,v){var B=Ie(h,v);return x.createElement(s.Provider,{key:B,value:(0,d.Z)((0,d.Z)({},ve),{},{order:v,item:h,itemKey:B,registerSize:ye,display:v<=ln})},Se(h,v))}:function(h,v){var B=Ie(h,v);return x.createElement(pe,(0,e.Z)({},ve,{order:v,key:B,item:h,renderItem:I,itemKey:B,registerSize:ye,display:v<=ln}))},O={order:S?ln:Number.MAX_SAFE_INTEGER,className:"".concat(tn,"-rest"),registerSize:m,display:S},W=G||H,ee=R?x.createElement(s.Provider,{value:(0,d.Z)((0,d.Z)({},ve),O)},R(Be)):x.createElement(pe,(0,e.Z)({},ve,O),typeof W=="function"?W(Be):W),oe=x.createElement(z,(0,e.Z)({className:E()(!Fn&&at,bt),style:je,ref:We},se),V&&x.createElement(pe,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:-1,className:"".concat(tn,"-prefix"),registerSize:re,display:!0}),V),Jn.map(j),_n?ee:null,g&&x.createElement(pe,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:ln,className:"".concat(tn,"-suffix"),registerSize:De,display:!0,style:A}),g));return Pn?x.createElement(Z.Z,{onResize:be,disabled:!bn},oe):oe}var ce=x.forwardRef(n);ce.displayName="Overflow",ce.Item=Oe,ce.RESPONSIVE=Re,ce.INVALIDATE=de;var T=ce,ze=T},29301:function(an,_e,t){t.d(_e,{Z:function(){return de}});var e=t(54476),d=t(59301),i=t(11592),L=t(48736),x=t(33885),D=t(76190),E=t(76846),Z=t(8654),K=d.createContext(null);function r(H){var n=H.children,ce=H.onBatchResize,T=d.useRef(0),ze=d.useRef([]),xe=d.useContext(K),We=d.useCallback(function(st,at,Ae){T.current+=1;var tt=T.current;ze.current.push({size:st,element:at,data:Ae}),Promise.resolve().then(function(){tt===T.current&&(ce==null||ce(ze.current),ze.current=[])}),xe==null||xe(st,at,Ae)},[ce,xe]);return d.createElement(K.Provider,{value:We},n)}var _=t(76374),M=new Map;function P(H){H.forEach(function(n){var ce,T=n.target;(ce=M.get(T))===null||ce===void 0||ce.forEach(function(ze){return ze(T)})})}var pe=new _.Z(P),it=null,Fe=null;function Pe(H,n){M.has(H)||(M.set(H,new Set),pe.observe(H)),M.get(H).add(n)}function Ye(H,n){M.has(H)&&(M.get(H).delete(n),M.get(H).size||(pe.unobserve(H),M.delete(H)))}var b=t(67732),Ce=t(83652),s=t(42403),p=t(158),ae=function(H){(0,s.Z)(ce,H);var n=(0,p.Z)(ce);function ce(){return(0,b.Z)(this,ce),n.apply(this,arguments)}return(0,Ce.Z)(ce,[{key:"render",value:function(){return this.props.children}}]),ce}(d.Component);function le(H,n){var ce=H.children,T=H.disabled,ze=d.useRef(null),xe=d.useRef(null),We=d.useContext(K),st=typeof ce=="function",at=st?ce(ze):ce,Ae=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),tt=!st&&d.isValidElement(at)&&(0,Z.Yr)(at),J=tt?(0,Z.C4)(at):null,Se=(0,Z.x1)(J,ze),me=function(){var je;return(0,E.ZP)(ze.current)||(ze.current&&(0,D.Z)(ze.current)==="object"?(0,E.ZP)((je=ze.current)===null||je===void 0?void 0:je.nativeElement):null)||(0,E.ZP)(xe.current)};d.useImperativeHandle(n,function(){return me()});var Qe=d.useRef(H);Qe.current=H;var ie=d.useCallback(function(Je){var je=Qe.current,bt=je.onResize,Te=je.data,G=Je.getBoundingClientRect(),R=G.width,V=G.height,g=Je.offsetWidth,fe=Je.offsetHeight,z=Math.floor(R),o=Math.floor(V);if(Ae.current.width!==z||Ae.current.height!==o||Ae.current.offsetWidth!==g||Ae.current.offsetHeight!==fe){var f={width:z,height:o,offsetWidth:g,offsetHeight:fe};Ae.current=f;var se=g===Math.round(R)?R:g,q=fe===Math.round(V)?V:fe,$=(0,x.Z)((0,x.Z)({},f),{},{offsetWidth:se,offsetHeight:q});We==null||We($,Je,Te),bt&&Promise.resolve().then(function(){bt($,Je)})}},[]);return d.useEffect(function(){var Je=me();return Je&&!T&&Pe(Je,ie),function(){return Ye(Je,ie)}},[ze.current,T]),d.createElement(ae,{ref:xe},tt?d.cloneElement(at,{ref:Se}):at)}var y=d.forwardRef(le),He=y,Oe="rc-observer-key";function ne(H,n){var ce=H.children,T=typeof ce=="function"?[ce]:(0,i.Z)(ce);return T.map(function(ze,xe){var We=(ze==null?void 0:ze.key)||"".concat(Oe,"-").concat(xe);return d.createElement(He,(0,e.Z)({},H,{key:We,ref:xe===0?n:void 0}),ze)})}var Re=d.forwardRef(ne);Re.Collection=r;var de=Re},6551:function(an,_e,t){t.d(_e,{ZP:function(){return E}});var e=t(42978),d=t(59301),i=t(47273),L=0,x=(0,i.Z)();function D(){var Z;return x?(Z=L,L+=1):Z="TEST_OR_SSR",Z}function E(Z){var K=d.useState(),r=(0,e.Z)(K,2),_=r[0],M=r[1];return d.useEffect(function(){M("rc_select_".concat(D()))},[]),Z||_}},37463:function(an,_e,t){t.d(_e,{Ac:function(){return nt},Xo:function(){return et},Wx:function(){return ge},ZP:function(){return Jn},lk:function(){return Ce}});var e=t(54476),d=t(94480),i=t(20068),L=t(33885),x=t(42978),D=t(75931),E=t(76190),Z=t(18929),K=t(48736),r=t(59301),_=t(92310),M=t.n(_),P=t(34280),pe=t(49658),it=t(8654),Fe=function(Ie){var I=Ie.className,k=Ie.customizeIcon,be=Ie.customizeIconProps,ye=Ie.children,m=Ie.onMouseDown,re=Ie.onClick,De=typeof k=="function"?k(be):k;return r.createElement("span",{className:I,onMouseDown:function(S){S.preventDefault(),m==null||m(S)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:re,"aria-hidden":!0},De!==void 0?De:r.createElement("span",{className:M()(I.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},ye))},Pe=Fe,Ye=function(Ie,I,k,be,ye){var m=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,re=arguments.length>6?arguments[6]:void 0,De=arguments.length>7?arguments[7]:void 0,u=r.useMemo(function(){if((0,E.Z)(be)==="object")return be.clearIcon;if(ye)return ye},[be,ye]),S=r.useMemo(function(){return!!(!m&&be&&(k.length||re)&&!(De==="combobox"&&re===""))},[be,m,k.length,re,De]);return{allowClear:S,clearIcon:r.createElement(Pe,{className:"".concat(Ie,"-clear"),onMouseDown:I,customizeIcon:u},"\xD7")}},b=r.createContext(null);function Ce(){return r.useContext(b)}function s(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=r.useState(!1),I=(0,x.Z)(Ie,2),k=I[0],be=I[1],ye=r.useRef(null),m=function(){window.clearTimeout(ye.current)};r.useEffect(function(){return m},[]);var re=function(u,S){m(),ye.current=window.setTimeout(function(){be(u),S&&S()},Be)};return[k,re,m]}function p(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=r.useRef(null),I=r.useRef(null);r.useEffect(function(){return function(){window.clearTimeout(I.current)}},[]);function k(be){(be||Ie.current===null)&&(Ie.current=be),window.clearTimeout(I.current),I.current=window.setTimeout(function(){Ie.current=null},Be)}return[function(){return Ie.current},k]}function ae(Be,Ie,I,k){var be=r.useRef(null);be.current={open:Ie,triggerOpen:I,customizedTrigger:k},r.useEffect(function(){function ye(m){var re;if(!((re=be.current)!==null&&re!==void 0&&re.customizedTrigger)){var De=m.target;De.shadowRoot&&m.composed&&(De=m.composedPath()[0]||De),be.current.open&&Be().filter(function(u){return u}).every(function(u){return!u.contains(De)&&u!==De})&&be.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}var le=t(10228);function y(Be){return Be&&![le.Z.ESC,le.Z.SHIFT,le.Z.BACKSPACE,le.Z.TAB,le.Z.WIN_KEY,le.Z.ALT,le.Z.META,le.Z.WIN_KEY_RIGHT,le.Z.CTRL,le.Z.SEMICOLON,le.Z.EQUALS,le.Z.CAPS_LOCK,le.Z.CONTEXT_MENU,le.Z.F1,le.Z.F2,le.Z.F3,le.Z.F4,le.Z.F5,le.Z.F6,le.Z.F7,le.Z.F8,le.Z.F9,le.Z.F10,le.Z.F11,le.Z.F12].includes(Be)}var He=t(26112),Oe=t(83836);function ne(Be,Ie,I){var k=(0,L.Z)((0,L.Z)({},Be),I?Ie:{});return Object.keys(Ie).forEach(function(be){var ye=Ie[be];typeof ye=="function"&&(k[be]=function(){for(var m,re=arguments.length,De=new Array(re),u=0;uv&&(cn="".concat(Rn.slice(0,v),"..."))}var Bn=function(dn){dn&&dn.stopPropagation(),ut(jt)};return typeof we=="function"?Zt(on,cn,qt,en,Bn):fn(jt,cn,qt,en,Bn)},Ft=function(jt){if(!be.length)return null;var qt=typeof te=="function"?te(jt):te;return typeof we=="function"?Zt(void 0,qt,!1,!1,void 0,!0):fn({title:qt},qt,!1)},qe=r.createElement("div",{className:"".concat(Gt,"-search"),style:{width:Mt},onFocus:function(){sn(!0)},onBlur:function(){sn(!1)}},r.createElement(ce,{ref:De,open:ye,prefixCls:k,id:I,inputElement:null,disabled:S,autoFocus:j,autoComplete:O,editable:nn,activeDescendantId:W,value:Yt,onKeyDown:he,onMouseDown:Me,onChange:Ge,onPaste:Y,onCompositionStart:ke,onCompositionEnd:ht,onBlur:ft,tabIndex:ee,attrs:(0,He.Z)(Ie,!0)}),r.createElement("span",{ref:Ct,className:"".concat(Gt,"-search-mirror"),"aria-hidden":!0},Yt,"\xA0")),mt=r.createElement(Oe.Z,{prefixCls:"".concat(Gt,"-overflow"),data:be,renderItem:Qt,renderRest:Ft,suffix:qe,itemKey:J,maxCount:h});return r.createElement("span",{className:"".concat(Gt,"-wrap")},mt,!be.length&&!Yt&&r.createElement("span",{className:"".concat(Gt,"-placeholder")},u))},Qe=me,ie=function(Ie){var I=Ie.inputElement,k=Ie.prefixCls,be=Ie.id,ye=Ie.inputRef,m=Ie.disabled,re=Ie.autoFocus,De=Ie.autoComplete,u=Ie.activeDescendantId,S=Ie.mode,A=Ie.open,ve=Ie.values,j=Ie.placeholder,O=Ie.tabIndex,W=Ie.showSearch,ee=Ie.searchValue,oe=Ie.activeValue,h=Ie.maxLength,v=Ie.onInputKeyDown,B=Ie.onInputMouseDown,te=Ie.onInputChange,we=Ie.onInputPaste,Ne=Ie.onInputCompositionStart,ut=Ie.onInputCompositionEnd,Ge=Ie.onInputBlur,Y=Ie.title,he=r.useState(!1),Me=(0,x.Z)(he,2),ke=Me[0],ht=Me[1],ft=S==="combobox",Ct=ft||W,It=ve[0],Dt=ee||"";ft&&oe&&!ke&&(Dt=oe),r.useEffect(function(){ft&&ht(!1)},[ft,oe]);var Mt=S!=="combobox"&&!A&&!W?!1:!!Dt,$t=Y===void 0?Ae(It):Y,Et=r.useMemo(function(){return It?null:r.createElement("span",{className:"".concat(k,"-selection-placeholder"),style:Mt?{visibility:"hidden"}:void 0},j)},[It,Mt,j,k]);return r.createElement("span",{className:"".concat(k,"-selection-wrap")},r.createElement("span",{className:"".concat(k,"-selection-search")},r.createElement(ce,{ref:ye,prefixCls:k,id:be,open:A,inputElement:I,disabled:m,autoFocus:re,autoComplete:De,editable:Ct,activeDescendantId:u,value:Dt,onKeyDown:v,onMouseDown:B,onChange:function(At){ht(!0),te(At)},onPaste:we,onCompositionStart:Ne,onCompositionEnd:ut,onBlur:Ge,tabIndex:O,attrs:(0,He.Z)(Ie,!0),maxLength:ft?h:void 0})),!ft&&It?r.createElement("span",{className:"".concat(k,"-selection-item"),title:$t,style:Mt?{visibility:"hidden"}:void 0},It.label):null,Et)},Je=ie,je=function(Ie,I){var k=(0,r.useRef)(null),be=(0,r.useRef)(!1),ye=Ie.prefixCls,m=Ie.open,re=Ie.mode,De=Ie.showSearch,u=Ie.tokenWithEnter,S=Ie.disabled,A=Ie.prefix,ve=Ie.autoClearSearchValue,j=Ie.onSearch,O=Ie.onSearchSubmit,W=Ie.onToggleOpen,ee=Ie.onInputKeyDown,oe=Ie.onInputBlur,h=Ie.domRef;r.useImperativeHandle(I,function(){return{focus:function($t){k.current.focus($t)},blur:function(){k.current.blur()}}});var v=p(0),B=(0,x.Z)(v,2),te=B[0],we=B[1],Ne=function($t){var Et=$t.which,Jt=k.current instanceof HTMLTextAreaElement;!Jt&&m&&(Et===le.Z.UP||Et===le.Z.DOWN)&&$t.preventDefault(),ee&&ee($t),Et===le.Z.ENTER&&re==="tags"&&!be.current&&!m&&(O==null||O($t.target.value)),!(Jt&&!m&&~[le.Z.UP,le.Z.DOWN,le.Z.LEFT,le.Z.RIGHT].indexOf(Et))&&y(Et)&&W(!0)},ut=function(){we(!0)},Ge=(0,r.useRef)(null),Y=function($t){j($t,!0,be.current)!==!1&&W(!0)},he=function(){be.current=!0},Me=function($t){be.current=!1,re!=="combobox"&&Y($t.target.value)},ke=function($t){var Et=$t.target.value;if(u&&Ge.current&&/[\r\n]/.test(Ge.current)){var Jt=Ge.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Et=Et.replace(Jt,Ge.current)}Ge.current=null,Y(Et)},ht=function($t){var Et=$t.clipboardData,Jt=Et==null?void 0:Et.getData("text");Ge.current=Jt||""},ft=function($t){var Et=$t.target;if(Et!==k.current){var Jt=document.body.style.msTouchAction!==void 0;Jt?setTimeout(function(){k.current.focus()}):k.current.focus()}},Ct=function($t){var Et=te();$t.target!==k.current&&!Et&&!(re==="combobox"&&S)&&$t.preventDefault(),(re!=="combobox"&&(!De||!Et)||!m)&&(m&&ve!==!1&&j("",!0,!1),W())},It={inputRef:k,onInputKeyDown:Ne,onInputMouseDown:ut,onInputChange:ke,onInputPaste:ht,onInputCompositionStart:he,onInputCompositionEnd:Me,onInputBlur:oe},Dt=re==="multiple"||re==="tags"?r.createElement(Qe,(0,e.Z)({},Ie,It)):r.createElement(Je,(0,e.Z)({},Ie,It));return r.createElement("div",{ref:h,className:"".concat(ye,"-selector"),onClick:ft,onMouseDown:Ct},A&&r.createElement("div",{className:"".concat(ye,"-prefix")},A),Dt)},bt=r.forwardRef(je),Te=bt,G=t(65030),R=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(Ie){var I=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"}}},g=function(Ie,I){var k=Ie.prefixCls,be=Ie.disabled,ye=Ie.visible,m=Ie.children,re=Ie.popupElement,De=Ie.animation,u=Ie.transitionName,S=Ie.dropdownStyle,A=Ie.dropdownClassName,ve=Ie.direction,j=ve===void 0?"ltr":ve,O=Ie.placement,W=Ie.builtinPlacements,ee=Ie.dropdownMatchSelectWidth,oe=Ie.dropdownRender,h=Ie.dropdownAlign,v=Ie.getPopupContainer,B=Ie.empty,te=Ie.getTriggerDOMNode,we=Ie.onPopupVisibleChange,Ne=Ie.onPopupMouseEnter,ut=(0,D.Z)(Ie,R),Ge="".concat(k,"-dropdown"),Y=re;oe&&(Y=oe(re));var he=r.useMemo(function(){return W||V(ee)},[W,ee]),Me=De?"".concat(Ge,"-").concat(De):u,ke=typeof ee=="number",ht=r.useMemo(function(){return ke?null:ee===!1?"minWidth":"width"},[ee,ke]),ft=S;ke&&(ft=(0,L.Z)((0,L.Z)({},ft),{},{width:ee}));var Ct=r.useRef(null);return r.useImperativeHandle(I,function(){return{getPopupElement:function(){var Dt;return(Dt=Ct.current)===null||Dt===void 0?void 0:Dt.popupElement}}}),r.createElement(G.Z,(0,e.Z)({},ut,{showAction:we?["click"]:[],hideAction:we?["click"]:[],popupPlacement:O||(j==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:he,prefixCls:Ge,popupTransitionName:Me,popup:r.createElement("div",{onMouseEnter:Ne},Y),ref:Ct,stretch:ht,popupAlign:h,popupVisible:ye,getPopupContainer:v,popupClassName:M()(A,(0,i.Z)({},"".concat(Ge,"-empty"),B)),popupStyle:ft,getTriggerDOMNode:te,onPopupVisibleChange:we}),m)},fe=r.forwardRef(g),z=fe,o=t(66712);function f(Be,Ie){var I=Be.key,k;return"value"in Be&&(k=Be.value),I!=null?I:k!==void 0?k:"rc-index-key-".concat(Ie)}function se(Be){return typeof Be!="undefined"&&!Number.isNaN(Be)}function q(Be,Ie){var I=Be||{},k=I.label,be=I.value,ye=I.options,m=I.groupLabel,re=k||(Ie?"children":"label");return{label:re,value:be||"value",options:ye||"options",groupLabel:m||re}}function $(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Ie.fieldNames,k=Ie.childrenAsData,be=[],ye=q(I,!1),m=ye.label,re=ye.value,De=ye.options,u=ye.groupLabel;function S(A,ve){Array.isArray(A)&&A.forEach(function(j){if(ve||!(De in j)){var O=j[re];be.push({key:f(j,be.length),groupOption:ve,data:j,label:j[m],value:O})}else{var W=j[u];W===void 0&&k&&(W=j.label),be.push({key:f(j,be.length),group:!0,data:j,label:W}),S(j[De],!0)}})}return S(Be,!1),be}function N(Be){var Ie=(0,L.Z)({},Be);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,K.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var U=function(Ie,I,k){if(!I||!I.length)return null;var be=!1,ye=function re(De,u){var S=(0,o.Z)(u),A=S[0],ve=S.slice(1);if(!A)return[De];var j=De.split(A);return be=be||j.length>1,j.reduce(function(O,W){return[].concat((0,d.Z)(O),(0,d.Z)(re(W,ve)))},[]).filter(Boolean)},m=ye(Ie,I);return be?typeof k!="undefined"?m.slice(0,k):m:null},ue=r.createContext(null),c=ue;function C(Be){var Ie=Be.visible,I=Be.values;if(!Ie)return null;var k=50;return r.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(I.slice(0,k).map(function(be){var ye=be.label,m=be.value;return["number","string"].includes((0,E.Z)(ye))?ye:m}).join(", ")),I.length>k?", ...":null)}var Xe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],X=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(Ie){return Ie==="tags"||Ie==="multiple"},Ke=r.forwardRef(function(Be,Ie){var I,k=Be.id,be=Be.prefixCls,ye=Be.className,m=Be.showSearch,re=Be.tagRender,De=Be.direction,u=Be.omitDomProps,S=Be.displayValues,A=Be.onDisplayValuesChange,ve=Be.emptyOptions,j=Be.notFoundContent,O=j===void 0?"Not Found":j,W=Be.onClear,ee=Be.mode,oe=Be.disabled,h=Be.loading,v=Be.getInputElement,B=Be.getRawInputElement,te=Be.open,we=Be.defaultOpen,Ne=Be.onDropdownVisibleChange,ut=Be.activeValue,Ge=Be.onActiveValueChange,Y=Be.activeDescendantId,he=Be.searchValue,Me=Be.autoClearSearchValue,ke=Be.onSearch,ht=Be.onSearchSplit,ft=Be.tokenSeparators,Ct=Be.allowClear,It=Be.prefix,Dt=Be.suffixIcon,Mt=Be.clearIcon,$t=Be.OptionList,Et=Be.animation,Jt=Be.transitionName,At=Be.dropdownStyle,sn=Be.dropdownClassName,Gt=Be.dropdownMatchSelectWidth,Yt=Be.dropdownRender,nn=Be.dropdownAlign,fn=Be.placement,Zt=Be.builtinPlacements,Qt=Be.getPopupContainer,Ft=Be.showAction,qe=Ft===void 0?[]:Ft,mt=Be.onFocus,Kt=Be.onBlur,jt=Be.onKeyUp,qt=Be.onKeyDown,un=Be.onMouseDown,on=(0,D.Z)(Be,Xe),en=Le(ee),cn=(m!==void 0?m:en)||ee==="combobox",Rn=(0,L.Z)({},on);X.forEach(function(Nr){delete Rn[Nr]}),u==null||u.forEach(function(Nr){delete Rn[Nr]});var Bn=r.useState(!1),yn=(0,x.Z)(Bn,2),dn=yn[0],Kn=yn[1];r.useEffect(function(){Kn((0,pe.Z)())},[]);var Xn=r.useRef(null),ar=r.useRef(null),$n=r.useRef(null),er=r.useRef(null),Wn=r.useRef(null),Sr=r.useRef(!1),Fr=s(),$r=(0,x.Z)(Fr,3),Cr=$r[0],vr=$r[1],En=$r[2];r.useImperativeHandle(Ie,function(){var Nr,Pr;return{focus:(Nr=er.current)===null||Nr===void 0?void 0:Nr.focus,blur:(Pr=er.current)===null||Pr===void 0?void 0:Pr.blur,scrollTo:function(Bo){var mo;return(mo=Wn.current)===null||mo===void 0?void 0:mo.scrollTo(Bo)},nativeElement:Xn.current||ar.current}});var Hn=r.useMemo(function(){var Nr;if(ee!=="combobox")return he;var Pr=(Nr=S[0])===null||Nr===void 0?void 0:Nr.value;return typeof Pr=="string"||typeof Pr=="number"?String(Pr):""},[he,ee,S]),lr=ee==="combobox"&&typeof v=="function"&&v()||null,fr=typeof B=="function"&&B(),Gn=(0,it.x1)(ar,fr==null||(I=fr.props)===null||I===void 0?void 0:I.ref),ur=r.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1];(0,P.Z)(function(){br(!0)},[]);var Br=(0,Z.Z)(!1,{defaultValue:we,value:te}),wr=(0,x.Z)(Br,2),Tr=wr[0],Qr=wr[1],Or=gr?Tr:!1,zr=!O&&ve;(oe||zr&&Or&&ee==="combobox")&&(Or=!1);var qr=zr?!1:Or,Vn=r.useCallback(function(Nr){var Pr=Nr!==void 0?Nr:!Or;oe||(Qr(Pr),Or!==Pr&&(Ne==null||Ne(Pr)))},[oe,Or,Qr,Ne]),sr=r.useMemo(function(){return(ft||[]).some(function(Nr){return[` + `]:{zIndex:10,width:u,margin:`0 ${(0,Qe.unit)(m.marginXXS)}`,fontSize:u,cursor:"pointer",transition:`all ${m.motionDurationSlow}`,color:S,"&:hover":{color:S},svg:{verticalAlign:"baseline"}}},[`${j}-thumbnail, ${j}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${j}-name`]:{display:"none",textAlign:"center"},[`${j}-file + ${j}-name`]:{position:"absolute",bottom:m.margin,display:"block",width:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`},[`${j}-uploading`]:{[`&${j}`]:{backgroundColor:m.colorFillAlter},[`&::before, ${De}-eye, ${De}-download, ${De}-delete`]:{display:"none"}},[`${j}-progress`]:{bottom:m.marginXL,width:`calc(100% - ${(0,Qe.unit)(A(m.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${re}-wrapper${re}-picture-circle-wrapper`]:{[`${re}${re}-select`]:{borderRadius:"50%"}}}};var o=m=>{const{componentCls:re}=m;return{[`${re}-rtl`]:{direction:"rtl"}}};const f=m=>{const{componentCls:re,colorTextDisabled:De}=m;return{[`${re}-wrapper`]:Object.assign(Object.assign({},(0,tt.Wf)(m)),{[re]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${re}-select`]:{display:"inline-block"},[`${re}-hidden`]:{display:"none"},[`${re}-disabled`]:{color:De,cursor:"not-allowed"}})}},se=m=>({actionsColor:m.colorTextDescription});var q=(0,Se.I$)("Upload",m=>{const{fontSizeHeading3:re,fontHeight:De,lineWidth:u,controlHeightLG:S,calc:A}=m,ve=(0,me.mergeToken)(m,{uploadThumbnailSize:A(re).mul(2).equal(),uploadProgressOffset:A(A(De).div(2)).add(u).equal(),uploadPicCardSize:A(S).mul(2.55).equal()});return[f(ve),Je(ve),g(ve),fe(ve),bt(ve),R(ve),o(ve),(0,J.Z)(ve)]},se),$={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:De}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:re}}]}},name:"file",theme:"twotone"},N=$,X=t(7657),ue=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:N}))},c=e.forwardRef(ue),C=c,Xe=t(58617),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Le=W,Ke=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:Le}))},nt=e.forwardRef(Ke),lt=nt,et={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:re}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:De}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:De}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:De}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:re}}]}},name:"picture",theme:"twotone"},w=et,ge=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:w}))},Ze=e.forwardRef(ge),Ve=Ze,ot=t(77900),Tt=t(2738),ct=t(40192),dt=t(86641),Rt=t(22703),Vt=t(7939);function Ht(m){return Object.assign(Object.assign({},m),{lastModified:m.lastModified,lastModifiedDate:m.lastModifiedDate,name:m.name,size:m.size,type:m.type,uid:m.uid,percent:0,originFileObj:m})}function Xt(m,re){const De=(0,d.Z)(re),u=De.findIndex(S=>{let{uid:A}=S;return A===m.uid});return u===-1?De.push(m):De[u]=m,De}function wt(m,re){const De=m.uid!==void 0?"uid":"name";return re.filter(u=>u[De]===m[De])[0]}function Ut(m,re){const De=m.uid!==void 0?"uid":"name",u=re.filter(S=>S[De]!==m[De]);return u.length===re.length?null:u}const yt=function(){const re=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),u=re[re.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(u)||[""])[0]},Bt=m=>m.indexOf("image/")===0,Pt=m=>{if(m.type&&!m.thumbUrl)return Bt(m.type);const re=m.thumbUrl||m.url||"",De=yt(re);return/^data:image\//.test(re)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(De)?!0:!(/^data:/.test(re)||De)},kt=200;function Wt(m){return new Promise(re=>{if(!m.type||!Bt(m.type)){re("");return}const De=document.createElement("canvas");De.width=kt,De.height=kt,De.style.cssText=`position: fixed; left: 0; top: 0; width: ${kt}px; height: ${kt}px; z-index: 9999; display: none;`,document.body.appendChild(De);const u=De.getContext("2d"),S=new Image;if(S.onload=()=>{const{width:A,height:ve}=S;let j=kt,O=kt,V=0,ee=0;A>ve?(O=ve*(kt/A),ee=-(O-j)/2):(j=A*(kt/ve),V=-(j-O)/2),u.drawImage(S,V,ee,j,O);const oe=De.toDataURL();document.body.removeChild(De),window.URL.revokeObjectURL(S.src),re(oe)},S.crossOrigin="anonymous",m.type.startsWith("image/svg+xml")){const A=new FileReader;A.onload=()=>{A.result&&typeof A.result=="string"&&(S.src=A.result)},A.readAsDataURL(m)}else if(m.type.startsWith("image/gif")){const A=new FileReader;A.onload=()=>{A.result&&re(A.result)},A.readAsDataURL(m)}else S.src=window.URL.createObjectURL(m)})}var pt=t(26227),Lt=t(41464),ln=t(15277),rn=t(89787),xn=t(25399),Mn=e.forwardRef((m,re)=>{let{prefixCls:De,className:u,style:S,locale:A,listType:ve,file:j,items:O,progress:V,iconRender:ee,actionIconRender:oe,itemRender:h,isImgUrl:v,showPreviewIcon:B,showRemoveIcon:te,showDownloadIcon:we,previewIcon:Ne,removeIcon:ut,downloadIcon:Ge,extra:Y,onPreview:he,onDownload:Me,onClose:ke}=m;var ht,ft;const{status:Ct}=j,[It,Dt]=e.useState(Ct);e.useEffect(()=>{Ct!=="removed"&&Dt(Ct)},[Ct]);const[Mt,$t]=e.useState(!1);e.useEffect(()=>{const en=setTimeout(()=>{$t(!0)},300);return()=>{clearTimeout(en)}},[]);const Et=ee(j);let Jt=e.createElement("div",{className:`${De}-icon`},Et);if(ve==="picture"||ve==="picture-card"||ve==="picture-circle")if(It==="uploading"||!j.thumbUrl&&!j.url){const en=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:It!=="uploading"});Jt=e.createElement("div",{className:en},Et)}else{const en=v!=null&&v(j)?e.createElement("img",{src:j.thumbUrl||j.url,alt:j.name,className:`${De}-list-item-image`,crossOrigin:j.crossOrigin}):Et,cn=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:v&&!v(j)});Jt=e.createElement("a",{className:cn,onClick:Rn=>he(j,Rn),href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer"},en)}const At=x()(`${De}-list-item`,`${De}-list-item-${It}`),sn=typeof j.linkProps=="string"?JSON.parse(j.linkProps):j.linkProps,Gt=(typeof te=="function"?te(j):te)?oe((typeof ut=="function"?ut(j):ut)||e.createElement(pt.Z,null),()=>ke(j),De,A.removeFile,!0):null,Yt=(typeof we=="function"?we(j):we)&&It==="done"?oe((typeof Ge=="function"?Ge(j):Ge)||e.createElement(Lt.Z,null),()=>Me(j),De,A.downloadFile):null,nn=ve!=="picture-card"&&ve!=="picture-circle"&&e.createElement("span",{key:"download-delete",className:x()(`${De}-list-item-actions`,{picture:ve==="picture"})},Yt,Gt),fn=typeof Y=="function"?Y(j):Y,Zt=fn&&e.createElement("span",{className:`${De}-list-item-extra`},fn),Qt=x()(`${De}-list-item-name`),Ft=j.url?e.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qt,title:j.name},sn,{href:j.url,onClick:en=>he(j,en)}),j.name,Zt):e.createElement("span",{key:"view",className:Qt,onClick:en=>he(j,en),title:j.name},j.name,Zt),qe=(typeof B=="function"?B(j):B)&&(j.url||j.thumbUrl)?e.createElement("a",{href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:en=>he(j,en),title:A.previewFile},typeof Ne=="function"?Ne(j):Ne||e.createElement(ln.Z,null)):null,mt=(ve==="picture-card"||ve==="picture-circle")&&It!=="uploading"&&e.createElement("span",{className:`${De}-list-item-actions`},qe,It==="done"&&Yt,Gt),{getPrefixCls:Kt}=e.useContext(We.E_),jt=Kt(),qt=e.createElement("div",{className:At},Jt,Ft,nn,mt,Mt&&e.createElement(ot.default,{motionName:`${jt}-fade`,visible:It==="uploading",motionDeadline:2e3},en=>{let{className:cn}=en;const Rn="percent"in j?e.createElement(rn.Z,Object.assign({},V,{type:"line",percent:j.percent,"aria-label":j["aria-label"],"aria-labelledby":j["aria-labelledby"]})):null;return e.createElement("div",{className:x()(`${De}-list-item-progress`,cn)},Rn)})),un=j.response&&typeof j.response=="string"?j.response:((ht=j.error)===null||ht===void 0?void 0:ht.statusText)||((ft=j.error)===null||ft===void 0?void 0:ft.message)||A.uploadError,on=It==="error"?e.createElement(xn.Z,{title:un,getPopupContainer:en=>en.parentNode},qt):qt;return e.createElement("div",{className:x()(`${De}-list-item-container`,u),style:S,ref:re},h?h(on,j,O,{download:Me.bind(null,j),preview:he.bind(null,j),remove:ke.bind(null,j)}):on)});const tn=(m,re)=>{const{listType:De="text",previewFile:u=Wt,onPreview:S,onDownload:A,onRemove:ve,locale:j,iconRender:O,isImageUrl:V=Pt,prefixCls:ee,items:oe=[],showPreviewIcon:h=!0,showRemoveIcon:v=!0,showDownloadIcon:B=!1,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,progress:Ge={size:[-1,2],showInfo:!1},appendAction:Y,appendActionVisible:he=!0,itemRender:Me,disabled:ke}=m,ht=(0,ct.Z)(),[ft,Ct]=e.useState(!1),It=["picture-card","picture-circle"].includes(De);e.useEffect(()=>{De.startsWith("picture")&&(oe||[]).forEach(Zt=>{!(Zt.originFileObj instanceof File||Zt.originFileObj instanceof Blob)||Zt.thumbUrl!==void 0||(Zt.thumbUrl="",u==null||u(Zt.originFileObj).then(Qt=>{Zt.thumbUrl=Qt||"",ht()}))})},[De,oe,u]),e.useEffect(()=>{Ct(!0)},[]);const Dt=(Zt,Qt)=>{if(S)return Qt==null||Qt.preventDefault(),S(Zt)},Mt=Zt=>{typeof A=="function"?A(Zt):Zt.url&&window.open(Zt.url)},$t=Zt=>{ve==null||ve(Zt)},Et=Zt=>{if(O)return O(Zt,De);const Qt=Zt.status==="uploading";if(De.startsWith("picture")){const Ft=De==="picture"?e.createElement(Xe.Z,null):j.uploading,qe=V!=null&&V(Zt)?e.createElement(Ve,null):e.createElement(C,null);return Qt?Ft:qe}return Qt?e.createElement(Xe.Z,null):e.createElement(lt,null)},Jt=(Zt,Qt,Ft,qe,mt)=>{const Kt={type:"text",size:"small",title:qe,onClick:jt=>{var qt,un;Qt(),e.isValidElement(Zt)&&((un=(qt=Zt.props).onClick)===null||un===void 0||un.call(qt,jt))},className:`${Ft}-list-item-action`};return mt&&(Kt.disabled=ke),e.isValidElement(Zt)?e.createElement(Vt.ZP,Object.assign({},Kt,{icon:(0,Rt.Tm)(Zt,Object.assign(Object.assign({},Zt.props),{onClick:()=>{}}))})):e.createElement(Vt.ZP,Object.assign({},Kt),e.createElement("span",null,Zt))};e.useImperativeHandle(re,()=>({handlePreview:Dt,handleDownload:Mt}));const{getPrefixCls:At}=e.useContext(We.E_),sn=At("upload",ee),Gt=At(),Yt=x()(`${sn}-list`,`${sn}-list-${De}`),nn=e.useMemo(()=>(0,Tt.Z)((0,dt.Z)(Gt),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Gt]),fn=Object.assign(Object.assign({},It?{}:nn),{motionDeadline:2e3,motionName:`${sn}-${It?"animate-inline":"animate"}`,keys:(0,d.Z)(oe.map(Zt=>({key:Zt.uid,file:Zt}))),motionAppear:ft});return e.createElement("div",{className:Yt},e.createElement(ot.CSSMotionList,Object.assign({},fn,{component:!1}),Zt=>{let{key:Qt,file:Ft,className:qe,style:mt}=Zt;return e.createElement(Mn,{key:Qt,locale:j,prefixCls:sn,className:qe,style:mt,file:Ft,items:oe,progress:Ge,listType:De,isImgUrl:V,showPreviewIcon:h,showRemoveIcon:v,showDownloadIcon:B,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,iconRender:Et,actionIconRender:Jt,itemRender:Me,onPreview:Dt,onDownload:Mt,onClose:$t})}),Y&&e.createElement(ot.default,Object.assign({},fn,{visible:he,forceRender:!0}),Zt=>{let{className:Qt,style:Ft}=Zt;return(0,Rt.Tm)(Y,qe=>({className:x()(qe.className,Qt),style:Object.assign(Object.assign(Object.assign({},Ft),{pointerEvents:Qt?"none":void 0}),qe.style)}))}))};var Pn=e.forwardRef(tn),bn=function(m,re,De,u){function S(A){return A instanceof De?A:new De(function(ve){ve(A)})}return new(De||(De=Promise))(function(A,ve){function j(ee){try{V(u.next(ee))}catch(oe){ve(oe)}}function O(ee){try{V(u.throw(ee))}catch(oe){ve(oe)}}function V(ee){ee.done?A(ee.value):S(ee.value).then(j,O)}V((u=u.apply(m,re||[])).next())})};const Fn=`__LIST_IGNORE_${Date.now()}__`,_n=(m,re)=>{const{fileList:De,defaultFileList:u,onRemove:S,showUploadList:A=!0,listType:ve="text",onPreview:j,onDownload:O,onChange:V,onDrop:ee,previewFile:oe,disabled:h,locale:v,iconRender:B,isImageUrl:te,progress:we,prefixCls:Ne,className:ut,type:Ge="select",children:Y,style:he,itemRender:Me,maxCount:ke,data:ht={},multiple:ft=!1,hasControlInside:Ct=!0,action:It="",accept:Dt="",supportServerRender:Mt=!0,rootClassName:$t}=m,Et=e.useContext(st.Z),Jt=h!=null?h:Et,[At,sn]=(0,xe.Z)(u||[],{value:De,postState:Gn=>Gn!=null?Gn:[]}),[Gt,Yt]=e.useState("drop"),nn=e.useRef(null),fn=e.useRef(null);e.useMemo(()=>{const Gn=Date.now();(De||[]).forEach((ur,yr)=>{!ur.uid&&!Object.isFrozen(ur)&&(ur.uid=`__AUTO__${Gn}_${yr}__`)})},[De]);const Zt=(Gn,ur,yr)=>{let gr=(0,d.Z)(ur),br=!1;ke===1?gr=gr.slice(-1):ke&&(br=gr.length>ke,gr=gr.slice(0,ke)),(0,i.flushSync)(()=>{sn(gr)});const Br={file:Gn,fileList:gr};yr&&(Br.event=yr),(!br||Gn.status==="removed"||gr.some(wr=>wr.uid===Gn.uid))&&(0,i.flushSync)(()=>{V==null||V(Br)})},Qt=(Gn,ur)=>bn(void 0,void 0,void 0,function*(){const{beforeUpload:yr,transformFile:gr}=m;let br=Gn;if(yr){const Br=yield yr(Gn,ur);if(Br===!1)return!1;if(delete Gn[Fn],Br===Fn)return Object.defineProperty(Gn,Fn,{value:!0,configurable:!0}),!1;typeof Br=="object"&&Br&&(br=Br)}return gr&&(br=yield gr(br)),br}),Ft=Gn=>{const ur=Gn.filter(br=>!br.file[Fn]);if(!ur.length)return;const yr=ur.map(br=>Ht(br.file));let gr=(0,d.Z)(At);yr.forEach(br=>{gr=Xt(br,gr)}),yr.forEach((br,Br)=>{let wr=br;if(ur[Br].parsedFile)br.status="uploading";else{const{originFileObj:Tr}=br;let Qr;try{Qr=new File([Tr],Tr.name,{type:Tr.type})}catch(Or){Qr=new Blob([Tr],{type:Tr.type}),Qr.name=Tr.name,Qr.lastModifiedDate=new Date,Qr.lastModified=new Date().getTime()}Qr.uid=br.uid,wr=Qr}Zt(wr,gr)})},qe=(Gn,ur,yr)=>{try{typeof Gn=="string"&&(Gn=JSON.parse(Gn))}catch(Br){}if(!wt(ur,At))return;const gr=Ht(ur);gr.status="done",gr.percent=100,gr.response=Gn,gr.xhr=yr;const br=Xt(gr,At);Zt(gr,br)},mt=(Gn,ur)=>{if(!wt(ur,At))return;const yr=Ht(ur);yr.status="uploading",yr.percent=Gn.percent;const gr=Xt(yr,At);Zt(yr,gr,Gn)},Kt=(Gn,ur,yr)=>{if(!wt(yr,At))return;const gr=Ht(yr);gr.error=Gn,gr.response=ur,gr.status="error";const br=Xt(gr,At);Zt(gr,br)},jt=Gn=>{let ur;Promise.resolve(typeof S=="function"?S(Gn):S).then(yr=>{var gr;if(yr===!1)return;const br=Ut(Gn,At);br&&(ur=Object.assign(Object.assign({},Gn),{status:"removed"}),At==null||At.forEach(Br=>{const wr=ur.uid!==void 0?"uid":"name";Br[wr]===ur[wr]&&!Object.isFrozen(Br)&&(Br.status="removed")}),(gr=nn.current)===null||gr===void 0||gr.abort(ur),Zt(ur,br))})},qt=Gn=>{Yt(Gn.type),Gn.type==="drop"&&(ee==null||ee(Gn))};e.useImperativeHandle(re,()=>({onBatchStart:Ft,onSuccess:qe,onProgress:mt,onError:Kt,fileList:At,upload:nn.current,nativeElement:fn.current}));const{getPrefixCls:un,direction:on,upload:en}=e.useContext(We.E_),cn=un("upload",Ne),Rn=Object.assign(Object.assign({onBatchStart:Ft,onError:Kt,onProgress:mt,onSuccess:qe},m),{data:ht,multiple:ft,action:It,accept:Dt,supportServerRender:Mt,prefixCls:cn,disabled:Jt,beforeUpload:Qt,onChange:void 0,hasControlInside:Ct});delete Rn.className,delete Rn.style,(!Y||Jt)&&delete Rn.id;const Bn=`${cn}-wrapper`,[yn,dn,Kn]=q(cn,Bn),[Xn]=(0,at.Z)("Upload",Ae.Z.Upload),{showRemoveIcon:ar,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,extra:$r}=typeof A=="boolean"?{}:A,Cr=typeof ar=="undefined"?!Jt:ar,vr=(Gn,ur)=>A?e.createElement(Pn,{prefixCls:cn,listType:ve,items:At,previewFile:oe,onPreview:j,onDownload:O,onRemove:jt,showRemoveIcon:Cr,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,iconRender:B,extra:$r,locale:Object.assign(Object.assign({},Xn),v),isImageUrl:te,progress:we,appendAction:Gn,appendActionVisible:ur,itemRender:Me,disabled:Jt}):Gn,En=x()(Bn,ut,$t,dn,Kn,en==null?void 0:en.className,{[`${cn}-rtl`]:on==="rtl",[`${cn}-picture-card-wrapper`]:ve==="picture-card",[`${cn}-picture-circle-wrapper`]:ve==="picture-circle"}),Hn=Object.assign(Object.assign({},en==null?void 0:en.style),he);if(Ge==="drag"){const Gn=x()(dn,cn,`${cn}-drag`,{[`${cn}-drag-uploading`]:At.some(ur=>ur.status==="uploading"),[`${cn}-drag-hover`]:Gt==="dragover",[`${cn}-disabled`]:Jt,[`${cn}-rtl`]:on==="rtl"});return yn(e.createElement("span",{className:En,ref:fn},e.createElement("div",{className:Gn,style:Hn,onDrop:qt,onDragOver:qt,onDragLeave:qt},e.createElement(ze,Object.assign({},Rn,{ref:nn,className:`${cn}-btn`}),e.createElement("div",{className:`${cn}-drag-container`},Y))),vr()))}const lr=x()(cn,`${cn}-select`,{[`${cn}-disabled`]:Jt,[`${cn}-hidden`]:!Y}),fr=e.createElement("div",{className:lr},e.createElement(ze,Object.assign({},Rn,{ref:nn})));return yn(ve==="picture-card"||ve==="picture-circle"?e.createElement("span",{className:En,ref:fn},vr(fr,!!Y)):e.createElement("span",{className:En,ref:fn},fr,vr()))};var Be=e.forwardRef(_n),Ie=function(m,re){var De={};for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&re.indexOf(u)<0&&(De[u]=m[u]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,u=Object.getOwnPropertySymbols(m);S{var{style:De,height:u,hasControlInside:S=!1}=m,A=Ie(m,["style","height","hasControlInside"]);return e.createElement(Be,Object.assign({ref:re,hasControlInside:S},A,{type:"drag",style:Object.assign(Object.assign({},De),{height:u})}))});const be=Be;be.Dragger=k,be.LIST_IGNORE=Fn;var ye=be},16632:function(an,_e,t){var e=t(54476),d=t(33885),i=t(20068),L=t(42978),x=t(75931),D=t(92310),E=t.n(D),Z=t(18929),K=t(59301),r=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],_=(0,K.forwardRef)(function(M,P){var pe=M.prefixCls,it=pe===void 0?"rc-checkbox":pe,Fe=M.className,Pe=M.style,Ye=M.checked,b=M.disabled,Ce=M.defaultChecked,s=Ce===void 0?!1:Ce,p=M.type,ae=p===void 0?"checkbox":p,le=M.title,y=M.onChange,He=(0,x.Z)(M,r),Oe=(0,K.useRef)(null),ne=(0,K.useRef)(null),Re=(0,Z.Z)(s,{value:Ye}),de=(0,L.Z)(Re,2),H=de[0],n=de[1];(0,K.useImperativeHandle)(P,function(){return{focus:function(xe){var We;(We=Oe.current)===null||We===void 0||We.focus(xe)},blur:function(){var xe;(xe=Oe.current)===null||xe===void 0||xe.blur()},input:Oe.current,nativeElement:ne.current}});var ce=E()(it,Fe,(0,i.Z)((0,i.Z)({},"".concat(it,"-checked"),H),"".concat(it,"-disabled"),b)),T=function(xe){b||("checked"in M||n(xe.target.checked),y==null||y({target:(0,d.Z)((0,d.Z)({},M),{},{type:ae,checked:xe.target.checked}),stopPropagation:function(){xe.stopPropagation()},preventDefault:function(){xe.preventDefault()},nativeEvent:xe.nativeEvent}))};return K.createElement("span",{className:ce,title:le,style:Pe,ref:ne},K.createElement("input",(0,e.Z)({},He,{className:"".concat(it,"-input"),ref:Oe,onChange:T,disabled:b,checked:!!H,type:ae})),K.createElement("span",{className:"".concat(it,"-inner")}))});_e.Z=_},96478:function(an,_e,t){t.d(_e,{Z:function(){return le}});var e=t(54476),d=t(20068),i=t(42978),L=t(75931),x=t(65030),D=t(92310),E=t.n(D),Z=t(8654),K=t(59301),r=t(10228),_=t(16089),M=r.Z.ESC,P=r.Z.TAB;function pe(y){var He=y.visible,Oe=y.triggerRef,ne=y.onVisibleChange,Re=y.autoFocus,de=y.overlayRef,H=K.useRef(!1),n=function(){if(He){var xe,We;(xe=Oe.current)===null||xe===void 0||(We=xe.focus)===null||We===void 0||We.call(xe),ne==null||ne(!1)}},ce=function(){var xe;return(xe=de.current)!==null&&xe!==void 0&&xe.focus?(de.current.focus(),H.current=!0,!0):!1},T=function(xe){switch(xe.keyCode){case M:n();break;case P:{var We=!1;H.current||(We=ce()),We?xe.preventDefault():n();break}}};K.useEffect(function(){return He?(window.addEventListener("keydown",T),Re&&(0,_.Z)(ce,3),function(){window.removeEventListener("keydown",T),H.current=!1}):function(){H.current=!1}},[He])}var it=(0,K.forwardRef)(function(y,He){var Oe=y.overlay,ne=y.arrow,Re=y.prefixCls,de=(0,K.useMemo)(function(){var n;return typeof Oe=="function"?n=Oe():n=Oe,n},[Oe]),H=(0,Z.sQ)(He,(0,Z.C4)(de));return K.createElement(K.Fragment,null,ne&&K.createElement("div",{className:"".concat(Re,"-arrow")}),K.cloneElement(de,{ref:(0,Z.Yr)(de)?H:void 0}))}),Fe=it,Pe={adjustX:1,adjustY:1},Ye=[0,0],b={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:Ye},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:Ye},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:Ye},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:Ye},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:Ye},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:Ye}},Ce=b,s=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function p(y,He){var Oe,ne=y.arrow,Re=ne===void 0?!1:ne,de=y.prefixCls,H=de===void 0?"rc-dropdown":de,n=y.transitionName,ce=y.animation,T=y.align,ze=y.placement,xe=ze===void 0?"bottomLeft":ze,We=y.placements,st=We===void 0?Ce:We,at=y.getPopupContainer,Ae=y.showAction,tt=y.hideAction,J=y.overlayClassName,Se=y.overlayStyle,me=y.visible,Qe=y.trigger,ie=Qe===void 0?["hover"]:Qe,Je=y.autoFocus,je=y.overlay,bt=y.children,Te=y.onVisibleChange,G=(0,L.Z)(y,s),R=K.useState(),U=(0,i.Z)(R,2),g=U[0],fe=U[1],z="visible"in y?me:g,o=K.useRef(null),f=K.useRef(null),se=K.useRef(null);K.useImperativeHandle(He,function(){return o.current});var q=function(Le){fe(Le),Te==null||Te(Le)};pe({visible:z,triggerRef:se,onVisibleChange:q,autoFocus:Je,overlayRef:f});var $=function(Le){var Ke=y.onOverlayClick;fe(!1),Ke&&Ke(Le)},N=function(){return K.createElement(Fe,{ref:f,overlay:je,prefixCls:H,arrow:Re})},X=function(){return typeof je=="function"?N:N()},ue=function(){var Le=y.minOverlayWidthMatchTrigger,Ke=y.alignPoint;return"minOverlayWidthMatchTrigger"in y?Le:!Ke},c=function(){var Le=y.openClassName;return Le!==void 0?Le:"".concat(H,"-open")},C=K.cloneElement(bt,{className:E()((Oe=bt.props)===null||Oe===void 0?void 0:Oe.className,z&&c()),ref:(0,Z.Yr)(bt)?(0,Z.sQ)(se,(0,Z.C4)(bt)):void 0}),Xe=tt;return!Xe&&ie.indexOf("contextMenu")!==-1&&(Xe=["click"]),K.createElement(x.Z,(0,e.Z)({builtinPlacements:st},G,{prefixCls:H,ref:o,popupClassName:E()(J,(0,d.Z)({},"".concat(H,"-show-arrow"),Re)),popupStyle:Se,action:ie,showAction:Ae,hideAction:Xe,popupPlacement:xe,popupAlign:T,popupTransitionName:n,popupAnimation:ce,popupVisible:z,stretch:ue()?"minWidth":"",popup:X(),onPopupVisibleChange:q,onPopupClick:$,getPopupContainer:at}),C)}var ae=K.forwardRef(p),le=ae},66003:function(an,_e,t){t.d(_e,{Z:function(){return E}});var e=t(75931),d=t(33885),i=t(76190),L=t(59301),x=["show"];function D(Z,K){if(!K.max)return!0;var r=K.strategy(Z);return r<=K.max}function E(Z,K){return L.useMemo(function(){var r={};K&&(r.show=(0,i.Z)(K)==="object"&&K.formatter?K.formatter:!!K),r=(0,d.Z)((0,d.Z)({},r),Z);var _=r,M=_.show,P=(0,e.Z)(_,x);return(0,d.Z)((0,d.Z)({},P),{},{show:!!M,showFormatter:typeof M=="function"?M:void 0,strategy:P.strategy||function(pe){return pe.length}})},[Z,K])}},36901:function(an,_e,t){t.r(_e),t.d(_e,{BaseInput:function(){return r},default:function(){return Ce}});var e=t(33885),d=t(54476),i=t(20068),L=t(76190),x=t(92310),D=t.n(x),E=t(59301),Z=t(30292),K=E.forwardRef(function(s,p){var ae,le,y,He=s.inputElement,Oe=s.children,ne=s.prefixCls,Re=s.prefix,de=s.suffix,H=s.addonBefore,n=s.addonAfter,ce=s.className,T=s.style,ze=s.disabled,xe=s.readOnly,We=s.focused,st=s.triggerFocus,at=s.allowClear,Ae=s.value,tt=s.handleReset,J=s.hidden,Se=s.classes,me=s.classNames,Qe=s.dataAttrs,ie=s.styles,Je=s.components,je=s.onClear,bt=Oe!=null?Oe:He,Te=(Je==null?void 0:Je.affixWrapper)||"span",G=(Je==null?void 0:Je.groupWrapper)||"span",R=(Je==null?void 0:Je.wrapper)||"span",U=(Je==null?void 0:Je.groupAddon)||"span",g=(0,E.useRef)(null),fe=function(lt){var et;(et=g.current)!==null&&et!==void 0&&et.contains(lt.target)&&(st==null||st())},z=(0,Z.X3)(s),o=(0,E.cloneElement)(bt,{value:Ae,className:D()((ae=bt.props)===null||ae===void 0?void 0:ae.className,!z&&(me==null?void 0:me.variant))||null}),f=(0,E.useRef)(null);if(E.useImperativeHandle(p,function(){return{nativeElement:f.current||g.current}}),z){var se=null;if(at){var q=!ze&&!xe&&Ae,$="".concat(ne,"-clear-icon"),N=(0,L.Z)(at)==="object"&&at!==null&&at!==void 0&&at.clearIcon?at.clearIcon:"\u2716";se=E.createElement("button",{type:"button",tabIndex:-1,onClick:function(lt){tt==null||tt(lt),je==null||je()},onMouseDown:function(lt){return lt.preventDefault()},className:D()($,(0,i.Z)((0,i.Z)({},"".concat($,"-hidden"),!q),"".concat($,"-has-suffix"),!!de))},N)}var X="".concat(ne,"-affix-wrapper"),ue=D()(X,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(ne,"-disabled"),ze),"".concat(X,"-disabled"),ze),"".concat(X,"-focused"),We),"".concat(X,"-readonly"),xe),"".concat(X,"-input-with-clear-btn"),de&&at&&Ae),Se==null?void 0:Se.affixWrapper,me==null?void 0:me.affixWrapper,me==null?void 0:me.variant),c=(de||at)&&E.createElement("span",{className:D()("".concat(ne,"-suffix"),me==null?void 0:me.suffix),style:ie==null?void 0:ie.suffix},se,de);o=E.createElement(Te,(0,d.Z)({className:ue,style:ie==null?void 0:ie.affixWrapper,onClick:fe},Qe==null?void 0:Qe.affixWrapper,{ref:g}),Re&&E.createElement("span",{className:D()("".concat(ne,"-prefix"),me==null?void 0:me.prefix),style:ie==null?void 0:ie.prefix},Re),o,c)}if((0,Z.He)(s)){var C="".concat(ne,"-group"),Xe="".concat(C,"-addon"),W="".concat(C,"-wrapper"),Le=D()("".concat(ne,"-wrapper"),C,Se==null?void 0:Se.wrapper,me==null?void 0:me.wrapper),Ke=D()(W,(0,i.Z)({},"".concat(W,"-disabled"),ze),Se==null?void 0:Se.group,me==null?void 0:me.groupWrapper);o=E.createElement(G,{className:Ke,ref:f},E.createElement(R,{className:Le},H&&E.createElement(U,{className:Xe},H),o,n&&E.createElement(U,{className:Xe},n)))}return E.cloneElement(o,{className:D()((le=o.props)===null||le===void 0?void 0:le.className,ce)||null,style:(0,e.Z)((0,e.Z)({},(y=o.props)===null||y===void 0?void 0:y.style),T),hidden:J})}),r=K,_=t(94480),M=t(42978),P=t(75931),pe=t(18929),it=t(2738),Fe=t(66003),Pe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Ye=(0,E.forwardRef)(function(s,p){var ae=s.autoComplete,le=s.onChange,y=s.onFocus,He=s.onBlur,Oe=s.onPressEnter,ne=s.onKeyDown,Re=s.onKeyUp,de=s.prefixCls,H=de===void 0?"rc-input":de,n=s.disabled,ce=s.htmlSize,T=s.className,ze=s.maxLength,xe=s.suffix,We=s.showCount,st=s.count,at=s.type,Ae=at===void 0?"text":at,tt=s.classes,J=s.classNames,Se=s.styles,me=s.onCompositionStart,Qe=s.onCompositionEnd,ie=(0,P.Z)(s,Pe),Je=(0,E.useState)(!1),je=(0,M.Z)(Je,2),bt=je[0],Te=je[1],G=(0,E.useRef)(!1),R=(0,E.useRef)(!1),U=(0,E.useRef)(null),g=(0,E.useRef)(null),fe=function(dt){U.current&&(0,Z.nH)(U.current,dt)},z=(0,pe.Z)(s.defaultValue,{value:s.value}),o=(0,M.Z)(z,2),f=o[0],se=o[1],q=f==null?"":String(f),$=(0,E.useState)(null),N=(0,M.Z)($,2),X=N[0],ue=N[1],c=(0,Fe.Z)(st,We),C=c.max||ze,Xe=c.strategy(q),W=!!C&&Xe>C;(0,E.useImperativeHandle)(p,function(){var ct;return{focus:fe,blur:function(){var Rt;(Rt=U.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,Vt,Ht){var Xt;(Xt=U.current)===null||Xt===void 0||Xt.setSelectionRange(Rt,Vt,Ht)},select:function(){var Rt;(Rt=U.current)===null||Rt===void 0||Rt.select()},input:U.current,nativeElement:((ct=g.current)===null||ct===void 0?void 0:ct.nativeElement)||U.current}}),(0,E.useEffect)(function(){R.current&&(R.current=!1),Te(function(ct){return ct&&n?!1:ct})},[n]);var Le=function(dt,Rt,Vt){var Ht=Rt;if(!G.current&&c.exceedFormatter&&c.max&&c.strategy(Rt)>c.max){if(Ht=c.exceedFormatter(Rt,{max:c.max}),Rt!==Ht){var Xt,wt;ue([((Xt=U.current)===null||Xt===void 0?void 0:Xt.selectionStart)||0,((wt=U.current)===null||wt===void 0?void 0:wt.selectionEnd)||0])}}else if(Vt.source==="compositionEnd")return;se(Ht),U.current&&(0,Z.rJ)(U.current,dt,le,Ht)};(0,E.useEffect)(function(){if(X){var ct;(ct=U.current)===null||ct===void 0||ct.setSelectionRange.apply(ct,(0,_.Z)(X))}},[X]);var Ke=function(dt){Le(dt,dt.target.value,{source:"change"})},nt=function(dt){G.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),Qe==null||Qe(dt)},lt=function(dt){Oe&&dt.key==="Enter"&&!R.current&&(R.current=!0,Oe(dt)),ne==null||ne(dt)},et=function(dt){dt.key==="Enter"&&(R.current=!1),Re==null||Re(dt)},w=function(dt){Te(!0),y==null||y(dt)},ge=function(dt){R.current&&(R.current=!1),Te(!1),He==null||He(dt)},Ze=function(dt){se(""),fe(),U.current&&(0,Z.rJ)(U.current,dt,le)},Ve=W&&"".concat(H,"-out-of-range"),ot=function(){var dt=(0,it.Z)(s,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return E.createElement("input",(0,d.Z)({autoComplete:ae},dt,{onChange:Ke,onFocus:w,onBlur:ge,onKeyDown:lt,onKeyUp:et,className:D()(H,(0,i.Z)({},"".concat(H,"-disabled"),n),J==null?void 0:J.input),style:Se==null?void 0:Se.input,ref:U,size:ce,type:Ae,onCompositionStart:function(Vt){G.current=!0,me==null||me(Vt)},onCompositionEnd:nt}))},Tt=function(){var dt=Number(C)>0;if(xe||c.show){var Rt=c.showFormatter?c.showFormatter({value:q,count:Xe,maxLength:C}):"".concat(Xe).concat(dt?" / ".concat(C):"");return E.createElement(E.Fragment,null,c.show&&E.createElement("span",{className:D()("".concat(H,"-show-count-suffix"),(0,i.Z)({},"".concat(H,"-show-count-has-suffix"),!!xe),J==null?void 0:J.count),style:(0,e.Z)({},Se==null?void 0:Se.count)},Rt),xe)}return null};return E.createElement(r,(0,d.Z)({},ie,{prefixCls:H,className:D()(T,Ve),handleReset:Ze,value:q,focused:bt,triggerFocus:fe,suffix:Tt(),disabled:n,classes:tt,classNames:J,styles:Se}),ot())}),b=Ye,Ce=b},30292:function(an,_e,t){t.d(_e,{He:function(){return e},X3:function(){return d},nH:function(){return x},rJ:function(){return L}});function e(D){return!!(D.addonBefore||D.addonAfter)}function d(D){return!!(D.prefix||D.suffix||D.allowClear)}function i(D,E,Z){var K=E.cloneNode(!0),r=Object.create(D,{target:{value:K},currentTarget:{value:K}});return K.value=Z,typeof E.selectionStart=="number"&&typeof E.selectionEnd=="number"&&(K.selectionStart=E.selectionStart,K.selectionEnd=E.selectionEnd),K.setSelectionRange=function(){E.setSelectionRange.apply(E,arguments)},r}function L(D,E,Z,K){if(Z){var r=E;if(E.type==="click"){r=i(E,D,""),Z(r);return}if(D.type!=="file"&&K!==void 0){r=i(E,D,K),Z(r);return}Z(r)}}function x(D,E){if(D){D.focus(E);var Z=E||{},K=Z.cursor;if(K){var r=D.value.length;switch(K){case"start":D.setSelectionRange(0,0);break;case"end":D.setSelectionRange(r,r);break;default:D.setSelectionRange(0,r)}}}}},28321:function(an,_e,t){t.d(_e,{iz:function(){return Be},ck:function(){return Ht},BW:function(){return be},sN:function(){return Ht},Wd:function(){return _n},ZP:function(){return j},Xl:function(){return Oe}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(83836),r=t(18929),_=t(13697),M=t(48736),P=t(59301),pe=t(4676),it=P.createContext(null);function Fe(O,V){return O===void 0?null:"".concat(O,"-").concat(V)}function Pe(O){var V=P.useContext(it);return Fe(V,O)}var Ye=t(80547),b=["children","locked"],Ce=P.createContext(null);function s(O,V){var ee=(0,i.Z)({},O);return Object.keys(V).forEach(function(oe){var h=V[oe];h!==void 0&&(ee[oe]=h)}),ee}function p(O){var V=O.children,ee=O.locked,oe=(0,D.Z)(O,b),h=P.useContext(Ce),v=(0,Ye.Z)(function(){return s(h,oe)},[h,oe],function(B,te){return!ee&&(B[0]!==te[0]||!(0,_.Z)(B[1],te[1],!0))});return P.createElement(Ce.Provider,{value:v},V)}var ae=[],le=P.createContext(null);function y(){return P.useContext(le)}var He=P.createContext(ae);function Oe(O){var V=P.useContext(He);return P.useMemo(function(){return O!==void 0?[].concat((0,L.Z)(V),[O]):V},[V,O])}var ne=P.createContext(null),Re=P.createContext({}),de=Re,H=t(29194);function n(O){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,H.Z)(O)){var ee=O.nodeName.toLowerCase(),oe=["input","select","textarea","button"].includes(ee)||O.isContentEditable||ee==="a"&&!!O.getAttribute("href"),h=O.getAttribute("tabindex"),v=Number(h),B=null;return h&&!Number.isNaN(v)?B=v:oe&&B===null&&(B=0),oe&&O.disabled&&(B=null),B!==null&&(B>=0||V&&B<0)}return!1}function ce(O){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=(0,L.Z)(O.querySelectorAll("*")).filter(function(oe){return n(oe,V)});return n(O,V)&&ee.unshift(O),ee}var T=null;function ze(){T=document.activeElement}function xe(){T=null}function We(){if(T)try{T.focus()}catch(O){}}function st(O,V){if(V.keyCode===9){var ee=ce(O),oe=ee[V.shiftKey?0:ee.length-1],h=oe===document.activeElement||O===document.activeElement;if(h){var v=ee[V.shiftKey?ee.length-1:0];v.focus(),V.preventDefault()}}}var at=t(10228),Ae=t(16089),tt=at.Z.LEFT,J=at.Z.RIGHT,Se=at.Z.UP,me=at.Z.DOWN,Qe=at.Z.ENTER,ie=at.Z.ESC,Je=at.Z.HOME,je=at.Z.END,bt=[Se,me,tt,J];function Te(O,V,ee,oe){var h,v="prev",B="next",te="children",we="parent";if(O==="inline"&&oe===Qe)return{inlineTrigger:!0};var Ne=(0,d.Z)((0,d.Z)({},Se,v),me,B),ut=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},tt,ee?B:v),J,ee?v:B),me,te),Qe,te),Ge=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},Se,v),me,B),Qe,te),ie,we),tt,ee?te:we),J,ee?we:te),Y={inline:Ne,horizontal:ut,vertical:Ge,inlineSub:Ne,horizontalSub:Ge,verticalSub:Ge},he=(h=Y["".concat(O).concat(V?"":"Sub")])===null||h===void 0?void 0:h[oe];switch(he){case v:return{offset:-1,sibling:!0};case B:return{offset:1,sibling:!0};case we:return{offset:-1,sibling:!1};case te:return{offset:1,sibling:!1};default:return null}}function G(O){for(var V=O;V;){if(V.getAttribute("data-menu-list"))return V;V=V.parentElement}return null}function R(O,V){for(var ee=O||document.activeElement;ee;){if(V.has(ee))return ee;ee=ee.parentElement}return null}function U(O,V){var ee=ce(O,!0);return ee.filter(function(oe){return V.has(oe)})}function g(O,V,ee){var oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!O)return null;var h=U(O,V),v=h.length,B=h.findIndex(function(te){return ee===te});return oe<0?B===-1?B=v-1:B-=1:oe>0&&(B+=1),B=(B+v)%v,h[B]}var fe=function(V,ee){var oe=new Set,h=new Map,v=new Map;return V.forEach(function(B){var te=document.querySelector("[data-menu-id='".concat(Fe(ee,B),"']"));te&&(oe.add(te),v.set(te,B),h.set(B,te))}),{elements:oe,key2element:h,element2key:v}};function z(O,V,ee,oe,h,v,B,te,we,Ne){var ut=P.useRef(),Ge=P.useRef();Ge.current=V;var Y=function(){Ae.Z.cancel(ut.current)};return P.useEffect(function(){return function(){Y()}},[]),function(he){var Me=he.which;if([].concat(bt,[Qe,ie,Je,je]).includes(Me)){var ke=v(),ht=fe(ke,oe),ft=ht,Ct=ft.elements,It=ft.key2element,Dt=ft.element2key,Mt=It.get(V),$t=R(Mt,Ct),Et=Dt.get($t),Jt=Te(O,B(Et,!0).length===1,ee,Me);if(!Jt&&Me!==Je&&Me!==je)return;(bt.includes(Me)||[Je,je].includes(Me))&&he.preventDefault();var At=function(Ft){if(Ft){var qe=Ft,mt=Ft.querySelector("a");mt!=null&&mt.getAttribute("href")&&(qe=mt);var Kt=Dt.get(Ft);te(Kt),Y(),ut.current=(0,Ae.Z)(function(){Ge.current===Kt&&qe.focus()})}};if([Je,je].includes(Me)||Jt.sibling||!$t){var sn;!$t||O==="inline"?sn=h.current:sn=G($t);var Gt,Yt=U(sn,Ct);Me===Je?Gt=Yt[0]:Me===je?Gt=Yt[Yt.length-1]:Gt=g(sn,Ct,$t,Jt.offset),At(Gt)}else if(Jt.inlineTrigger)we(Et);else if(Jt.offset>0)we(Et,!0),Y(),ut.current=(0,Ae.Z)(function(){ht=fe(ke,oe);var Qt=$t.getAttribute("aria-controls"),Ft=document.getElementById(Qt),qe=g(Ft,ht.elements);At(qe)},5);else if(Jt.offset<0){var nn=B(Et,!0),fn=nn[nn.length-2],Zt=It.get(fn);we(fn,!1),At(Zt)}}Ne==null||Ne(he)}}function o(O){Promise.resolve().then(O)}var f="__RC_UTIL_PATH_SPLIT__",se=function(V){return V.join(f)},q=function(V){return V.split(f)},$="rc-menu-more";function N(){var O=P.useState({}),V=(0,x.Z)(O,2),ee=V[1],oe=(0,P.useRef)(new Map),h=(0,P.useRef)(new Map),v=P.useState([]),B=(0,x.Z)(v,2),te=B[0],we=B[1],Ne=(0,P.useRef)(0),ut=(0,P.useRef)(!1),Ge=function(){ut.current||ee({})},Y=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);h.current.set(Mt,It),oe.current.set(It,Mt),Ne.current+=1;var $t=Ne.current;o(function(){$t===Ne.current&&Ge()})},[]),he=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);h.current.delete(Mt),oe.current.delete(It)},[]),Me=(0,P.useCallback)(function(It){we(It)},[]),ke=(0,P.useCallback)(function(It,Dt){var Mt=oe.current.get(It)||"",$t=q(Mt);return Dt&&te.includes($t[0])&&$t.unshift($),$t},[te]),ht=(0,P.useCallback)(function(It,Dt){return It.filter(function(Mt){return Mt!==void 0}).some(function(Mt){var $t=ke(Mt,!0);return $t.includes(Dt)})},[ke]),ft=function(){var Dt=(0,L.Z)(oe.current.keys());return te.length&&Dt.push($),Dt},Ct=(0,P.useCallback)(function(It){var Dt="".concat(oe.current.get(It)).concat(f),Mt=new Set;return(0,L.Z)(h.current.keys()).forEach(function($t){$t.startsWith(Dt)&&Mt.add(h.current.get($t))}),Mt},[]);return P.useEffect(function(){return function(){ut.current=!0}},[]),{registerPath:Y,unregisterPath:he,refreshOverflowKeys:Me,isSubPathKey:ht,getKeyPath:ke,getKeys:ft,getSubPathKeys:Ct}}function X(O){var V=P.useRef(O);V.current=O;var ee=P.useCallback(function(){for(var oe,h=arguments.length,v=new Array(h),B=0;B1&&(Ct.motionAppear=!1);var It=Ct.onVisibleChanged;return Ct.onVisibleChanged=function(Dt){return!Y.current&&!Dt&&ht(!0),It==null?void 0:It(Dt)},ke?null:P.createElement(p,{mode:v,locked:!Y.current},P.createElement(Mn.default,(0,e.Z)({visible:ft},Ct,{forceRender:we,removeOnLeave:!1,leavedClassName:"".concat(te,"-hidden")}),function(Dt){var Mt=Dt.className,$t=Dt.style;return P.createElement(yt,{id:V,className:Mt,style:$t},h)}))}var Nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Pn=["active"],bn=P.forwardRef(function(O,V){var ee=O.style,oe=O.className,h=O.title,v=O.eventKey,B=O.warnKey,te=O.disabled,we=O.internalPopupClose,Ne=O.children,ut=O.itemIcon,Ge=O.expandIcon,Y=O.popupClassName,he=O.popupOffset,Me=O.popupStyle,ke=O.onClick,ht=O.onMouseEnter,ft=O.onMouseLeave,Ct=O.onTitleClick,It=O.onTitleMouseEnter,Dt=O.onTitleMouseLeave,Mt=(0,D.Z)(O,Nn),$t=Pe(v),Et=P.useContext(Ce),Jt=Et.prefixCls,At=Et.mode,sn=Et.openKeys,Gt=Et.disabled,Yt=Et.overflowDisabled,nn=Et.activeKey,fn=Et.selectedKeys,Zt=Et.itemIcon,Qt=Et.expandIcon,Ft=Et.onItemClick,qe=Et.onOpenChange,mt=Et.onActive,Kt=P.useContext(de),jt=Kt._internalRenderSubMenuItem,qt=P.useContext(ne),un=qt.isSubPathKey,on=Oe(),en="".concat(Jt,"-submenu"),cn=Gt||te,Rn=P.useRef(),Bn=P.useRef(),yn=ut!=null?ut:Zt,dn=Ge!=null?Ge:Qt,Kn=sn.includes(v),Xn=!Yt&&Kn,ar=un(fn,v),$n=et(v,cn,It,Dt),er=$n.active,Wn=(0,D.Z)($n,Pn),Sr=P.useState(!1),Fr=(0,x.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=function(qr){cn||Cr(qr)},En=function(qr){vr(!0),ht==null||ht({key:v,domEvent:qr})},Hn=function(qr){vr(!1),ft==null||ft({key:v,domEvent:qr})},lr=P.useMemo(function(){return er||(At!=="inline"?$r||un([nn],v):!1)},[At,er,nn,$r,v,un]),fr=w(on.length),Gn=function(qr){cn||(Ct==null||Ct({key:v,domEvent:qr}),At==="inline"&&qe(v,!Kn))},ur=X(function(zr){ke==null||ke(Ve(zr)),Ft(zr)}),yr=function(qr){At!=="inline"&&qe(v,qr)},gr=function(){mt(v)},br=$t&&"".concat($t,"-popup"),Br=P.useMemo(function(){return P.createElement(ge,{icon:At!=="horizontal"?dn:void 0,props:(0,i.Z)((0,i.Z)({},O),{},{isOpen:Xn,isSubMenu:!0})},P.createElement("i",{className:"".concat(en,"-arrow")}))},[At,dn,O,Xn,en]),wr=P.createElement("div",(0,e.Z)({role:"menuitem",style:fr,className:"".concat(en,"-title"),tabIndex:cn?null:-1,ref:Rn,title:typeof h=="string"?h:null,"data-menu-id":Yt&&$t?null:$t,"aria-expanded":Xn,"aria-haspopup":!0,"aria-controls":br,"aria-disabled":cn,onClick:Gn,onFocus:gr},Wn),h,Br),Tr=P.useRef(At);if(At!=="inline"&&on.length>1?Tr.current="vertical":Tr.current=At,!Yt){var Qr=Tr.current;wr=P.createElement(Dn,{mode:Qr,prefixCls:en,visible:!we&&Xn&&At!=="inline",popupClassName:Y,popupOffset:he,popupStyle:Me,popup:P.createElement(p,{mode:Qr==="horizontal"?"vertical":Qr},P.createElement(yt,{id:br,ref:Bn},Ne)),disabled:cn,onVisibleChange:yr},wr)}var Or=P.createElement(K.Z.Item,(0,e.Z)({ref:V,role:"none"},Mt,{component:"li",style:ee,className:Z()(en,"".concat(en,"-").concat(At),oe,(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(en,"-open"),Xn),"".concat(en,"-active"),lr),"".concat(en,"-selected"),ar),"".concat(en,"-disabled"),cn)),onMouseEnter:En,onMouseLeave:Hn}),wr,!Yt&&P.createElement(tn,{id:br,open:Xn,keyPath:on},Ne));return jt&&(Or=jt(Or,O,{selected:ar,active:lr,open:Xn,disabled:cn})),P.createElement(p,{onItemClick:ur,mode:At==="horizontal"?"vertical":At,itemIcon:yn,expandIcon:dn},Or)}),Fn=P.forwardRef(function(O,V){var ee=O.eventKey,oe=O.children,h=Oe(ee),v=Pt(oe,h),B=y();P.useEffect(function(){if(B)return B.registerPath(ee,h),function(){B.unregisterPath(ee,h)}},[h]);var te;return B?te=v:te=P.createElement(bn,(0,e.Z)({ref:V},O),v),P.createElement(He.Provider,{value:h},te)}),_n=Fn,Jn=t(76190);function Be(O){var V=O.className,ee=O.style,oe=P.useContext(Ce),h=oe.prefixCls,v=y();return v?null:P.createElement("li",{role:"separator",className:Z()("".concat(h,"-item-divider"),V),style:ee})}var Ie=["className","title","eventKey","children"],I=P.forwardRef(function(O,V){var ee=O.className,oe=O.title,h=O.eventKey,v=O.children,B=(0,D.Z)(O,Ie),te=P.useContext(Ce),we=te.prefixCls,Ne="".concat(we,"-item-group");return P.createElement("li",(0,e.Z)({ref:V,role:"presentation"},B,{onClick:function(Ge){return Ge.stopPropagation()},className:Z()(Ne,ee)}),P.createElement("div",{role:"presentation",className:"".concat(Ne,"-title"),title:typeof oe=="string"?oe:void 0},oe),P.createElement("ul",{role:"group",className:"".concat(Ne,"-list")},v))}),k=P.forwardRef(function(O,V){var ee=O.eventKey,oe=O.children,h=Oe(ee),v=Pt(oe,h),B=y();return B?v:P.createElement(I,(0,e.Z)({ref:V},(0,nt.Z)(O,["warnKey"])),v)}),be=k,ye=["label","children","key","type","extra"];function m(O,V,ee){var oe=V.item,h=V.group,v=V.submenu,B=V.divider;return(O||[]).map(function(te,we){if(te&&(0,Jn.Z)(te)==="object"){var Ne=te,ut=Ne.label,Ge=Ne.children,Y=Ne.key,he=Ne.type,Me=Ne.extra,ke=(0,D.Z)(Ne,ye),ht=Y!=null?Y:"tmp-".concat(we);return Ge||he==="group"?he==="group"?P.createElement(h,(0,e.Z)({key:ht},ke,{title:ut}),m(Ge,V,ee)):P.createElement(v,(0,e.Z)({key:ht},ke,{title:ut}),m(Ge,V,ee)):he==="divider"?P.createElement(B,(0,e.Z)({key:ht},ke)):P.createElement(oe,(0,e.Z)({key:ht},ke,{extra:Me}),ut,(!!Me||Me===0)&&P.createElement("span",{className:"".concat(ee,"-item-extra")},Me))}return null}).filter(function(te){return te})}function re(O,V,ee,oe,h){var v=O,B=(0,i.Z)({divider:Be,item:Ht,group:be,submenu:_n},oe);return V&&(v=m(V,B,h)),Pt(v,ee)}var De=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],u=[],S=P.forwardRef(function(O,V){var ee,oe=O,h=oe.prefixCls,v=h===void 0?"rc-menu":h,B=oe.rootClassName,te=oe.style,we=oe.className,Ne=oe.tabIndex,ut=Ne===void 0?0:Ne,Ge=oe.items,Y=oe.children,he=oe.direction,Me=oe.id,ke=oe.mode,ht=ke===void 0?"vertical":ke,ft=oe.inlineCollapsed,Ct=oe.disabled,It=oe.disabledOverflow,Dt=oe.subMenuOpenDelay,Mt=Dt===void 0?.1:Dt,$t=oe.subMenuCloseDelay,Et=$t===void 0?.1:$t,Jt=oe.forceSubMenuRender,At=oe.defaultOpenKeys,sn=oe.openKeys,Gt=oe.activeKey,Yt=oe.defaultActiveFirst,nn=oe.selectable,fn=nn===void 0?!0:nn,Zt=oe.multiple,Qt=Zt===void 0?!1:Zt,Ft=oe.defaultSelectedKeys,qe=oe.selectedKeys,mt=oe.onSelect,Kt=oe.onDeselect,jt=oe.inlineIndent,qt=jt===void 0?24:jt,un=oe.motion,on=oe.defaultMotions,en=oe.triggerSubMenuAction,cn=en===void 0?"hover":en,Rn=oe.builtinPlacements,Bn=oe.itemIcon,yn=oe.expandIcon,dn=oe.overflowedIndicator,Kn=dn===void 0?"...":dn,Xn=oe.overflowedIndicatorPopupClassName,ar=oe.getPopupContainer,$n=oe.onClick,er=oe.onOpenChange,Wn=oe.onKeyDown,Sr=oe.openAnimation,Fr=oe.openTransitionName,$r=oe._internalRenderMenuItem,Cr=oe._internalRenderSubMenuItem,vr=oe._internalComponents,En=(0,D.Z)(oe,De),Hn=P.useMemo(function(){return[re(Y,Ge,u,vr,v),re(Y,Ge,u,{},v)]},[Y,Ge,vr]),lr=(0,x.Z)(Hn,2),fr=lr[0],Gn=lr[1],ur=P.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1],Br=P.useRef(),wr=C(Me),Tr=he==="rtl",Qr=(0,r.Z)(At,{value:sn,postState:function(Jr){return Jr||u}}),Or=(0,x.Z)(Qr,2),zr=Or[0],qr=Or[1],Vn=function(Jr){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Lo(){qr(Jr),er==null||er(Jr)}to?(0,pe.flushSync)(Lo):Lo()},sr=P.useState(zr),kn=(0,x.Z)(sr,2),zn=kn[0],cr=kn[1],pr=P.useRef(!1),eo=P.useMemo(function(){return(ht==="inline"||ht==="vertical")&&ft?["vertical",ft]:[ht,!1]},[ht,ft]),In=(0,x.Z)(eo,2),tr=In[0],Dr=In[1],kr=tr==="inline",Ur=P.useState(tr),Uo=(0,x.Z)(Ur,2),$o=Uo[0],Yo=Uo[1],wo=P.useState(Dr),da=(0,x.Z)(wo,2),Za=da[0],Na=da[1];P.useEffect(function(){Yo(tr),Na(Dr),pr.current&&(kr?qr(zn):Vn(u))},[tr,Dr]);var sa=P.useState(0),wa=(0,x.Z)(sa,2),ma=wa[0],Xa=wa[1],ga=ma>=fr.length-1||$o!=="horizontal"||It;P.useEffect(function(){kr&&cr(zr)},[zr]),P.useEffect(function(){return pr.current=!0,function(){pr.current=!1}},[]);var Qo=N(),Sa=Qo.registerPath,Aa=Qo.unregisterPath,Oa=Qo.refreshOverflowKeys,Jo=Qo.isSubPathKey,Ta=Qo.getKeyPath,pa=Qo.getKeys,Fa=Qo.getSubPathKeys,xa=P.useMemo(function(){return{registerPath:Sa,unregisterPath:Aa}},[Sa,Aa]),Ga=P.useMemo(function(){return{isSubPathKey:Jo}},[Jo]);P.useEffect(function(){Oa(ga?u:fr.slice(ma+1).map(function(lo){return lo.key}))},[ma,ga]);var La=(0,r.Z)(Gt||Yt&&((ee=fr[0])===null||ee===void 0?void 0:ee.key),{value:Gt}),fa=(0,x.Z)(La,2),qo=fa[0],Nr=fa[1],Pr=X(function(lo){Nr(lo)}),Oo=X(function(){Nr(void 0)});(0,P.useImperativeHandle)(V,function(){return{list:Br.current,focus:function(Jr){var to,Lo=pa(),zo=fe(Lo,wr),ba=zo.elements,Pa=zo.key2element,Ya=zo.element2key,za=U(Br.current,ba),Ra=qo!=null?qo:za[0]?Ya.get(za[0]):(to=fr.find(function(Qa){return!Qa.props.disabled}))===null||to===void 0?void 0:to.key,$a=Pa.get(Ra);if(Ra&&$a){var ja;$a==null||(ja=$a.focus)===null||ja===void 0||ja.call($a,Jr)}}}});var Bo=(0,r.Z)(Ft||[],{value:qe,postState:function(Jr){return Array.isArray(Jr)?Jr:Jr==null?u:[Jr]}}),mo=(0,x.Z)(Bo,2),ho=mo[0],Go=mo[1],Xo=function(Jr){if(fn){var to=Jr.key,Lo=ho.includes(to),zo;Qt?Lo?zo=ho.filter(function(Pa){return Pa!==to}):zo=[].concat((0,L.Z)(ho),[to]):zo=[to],Go(zo);var ba=(0,i.Z)((0,i.Z)({},Jr),{},{selectedKeys:zo});Lo?Kt==null||Kt(ba):mt==null||mt(ba)}!Qt&&zr.length&&$o!=="inline"&&Vn(u)},_o=X(function(lo){$n==null||$n(Ve(lo)),Xo(lo)}),oa=X(function(lo,Jr){var to=zr.filter(function(zo){return zo!==lo});if(Jr)to.push(lo);else if($o!=="inline"){var Lo=Fa(lo);to=to.filter(function(zo){return!Lo.has(zo)})}(0,_.Z)(zr,to,!0)||Vn(to,!0)}),aa=function(Jr,to){var Lo=to!=null?to:!zr.includes(Jr);oa(Jr,Lo)},ha=z($o,qo,Tr,wr,Br,pa,Ta,Nr,aa,Wn);P.useEffect(function(){br(!0)},[]);var Ca=P.useMemo(function(){return{_internalRenderMenuItem:$r,_internalRenderSubMenuItem:Cr}},[$r,Cr]),tl=$o!=="horizontal"||It?fr:fr.map(function(lo,Jr){return P.createElement(p,{key:lo.key,overflowDisabled:Jr>ma},lo)}),ka=P.createElement(K.Z,(0,e.Z)({id:Me,ref:Br,prefixCls:"".concat(v,"-overflow"),component:"ul",itemComponent:Ht,className:Z()(v,"".concat(v,"-root"),"".concat(v,"-").concat($o),we,(0,d.Z)((0,d.Z)({},"".concat(v,"-inline-collapsed"),Za),"".concat(v,"-rtl"),Tr),B),dir:he,style:te,role:"menu",tabIndex:ut,data:tl,renderRawItem:function(Jr){return Jr},renderRawRest:function(Jr){var to=Jr.length,Lo=to?fr.slice(-to):null;return P.createElement(_n,{eventKey:$,title:Kn,disabled:ga,internalPopupClose:to===0,popupClassName:Xn},Lo)},maxCount:$o!=="horizontal"||It?K.Z.INVALIDATE:K.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Jr){Xa(Jr)},onKeyDown:ha},En));return P.createElement(de.Provider,{value:Ca},P.createElement(it.Provider,{value:wr},P.createElement(p,{prefixCls:v,rootClassName:B,mode:$o,openKeys:zr,rtl:Tr,disabled:Ct,motion:gr?un:null,defaultMotions:gr?on:null,activeKey:qo,onActive:Pr,onInactive:Oo,selectedKeys:ho,inlineIndent:qt,subMenuOpenDelay:Mt,subMenuCloseDelay:Et,forceSubMenuRender:Jt,builtinPlacements:Rn,triggerSubMenuAction:cn,getPopupContainer:ar,itemIcon:Bn,expandIcon:yn,onItemClick:_o,onOpenChange:oa},P.createElement(ne.Provider,{value:Ga},ka),P.createElement("div",{style:{display:"none"},"aria-hidden":!0},P.createElement(le.Provider,{value:xa},Gn)))))}),A=S,ve=A;ve.Item=Ht,ve.SubMenu=_n,ve.ItemGroup=be,ve.Divider=Be;var j=ve},83836:function(an,_e,t){t.d(_e,{Z:function(){return ze}});var e=t(54476),d=t(33885),i=t(42978),L=t(75931),x=t(59301),D=t(92310),E=t.n(D),Z=t(29301),K=t(34280),r=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],_=void 0;function M(xe,We){var st=xe.prefixCls,at=xe.invalidate,Ae=xe.item,tt=xe.renderItem,J=xe.responsive,Se=xe.responsiveDisabled,me=xe.registerSize,Qe=xe.itemKey,ie=xe.className,Je=xe.style,je=xe.children,bt=xe.display,Te=xe.order,G=xe.component,R=G===void 0?"div":G,U=(0,L.Z)(xe,r),g=J&&!bt;function fe(q){me(Qe,q)}x.useEffect(function(){return function(){fe(null)}},[]);var z=tt&&Ae!==_?tt(Ae,{index:Te}):je,o;at||(o={opacity:g?0:1,height:g?0:_,overflowY:g?"hidden":_,order:J?Te:_,pointerEvents:g?"none":_,position:g?"absolute":_});var f={};g&&(f["aria-hidden"]=!0);var se=x.createElement(R,(0,e.Z)({className:E()(!at&&st,ie),style:(0,d.Z)((0,d.Z)({},o),Je)},f,U,{ref:We}),z);return J&&(se=x.createElement(Z.Z,{onResize:function($){var N=$.offsetWidth;fe(N)},disabled:Se},se)),se}var P=x.forwardRef(M);P.displayName="Item";var pe=P,it=t(6089),Fe=t(4676),Pe=t(16089);function Ye(xe){if(typeof MessageChannel=="undefined")(0,Pe.Z)(xe);else{var We=new MessageChannel;We.port1.onmessage=function(){return xe()},We.port2.postMessage(void 0)}}function b(){var xe=x.useRef(null),We=function(at){xe.current||(xe.current=[],Ye(function(){(0,Fe.unstable_batchedUpdates)(function(){xe.current.forEach(function(Ae){Ae()}),xe.current=null})})),xe.current.push(at)};return We}function Ce(xe,We){var st=x.useState(We),at=(0,i.Z)(st,2),Ae=at[0],tt=at[1],J=(0,it.Z)(function(Se){xe(function(){tt(Se)})});return[Ae,J]}var s=x.createContext(null),p=["component"],ae=["className"],le=["className"],y=function(We,st){var at=x.useContext(s);if(!at){var Ae=We.component,tt=Ae===void 0?"div":Ae,J=(0,L.Z)(We,p);return x.createElement(tt,(0,e.Z)({},J,{ref:st}))}var Se=at.className,me=(0,L.Z)(at,ae),Qe=We.className,ie=(0,L.Z)(We,le);return x.createElement(s.Provider,{value:null},x.createElement(pe,(0,e.Z)({ref:st,className:E()(Se,Qe)},me,ie)))},He=x.forwardRef(y);He.displayName="RawItem";var Oe=He,ne=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Re="responsive",de="invalidate";function H(xe){return"+ ".concat(xe.length," ...")}function n(xe,We){var st=xe.prefixCls,at=st===void 0?"rc-overflow":st,Ae=xe.data,tt=Ae===void 0?[]:Ae,J=xe.renderItem,Se=xe.renderRawItem,me=xe.itemKey,Qe=xe.itemWidth,ie=Qe===void 0?10:Qe,Je=xe.ssr,je=xe.style,bt=xe.className,Te=xe.maxCount,G=xe.renderRest,R=xe.renderRawRest,U=xe.prefix,g=xe.suffix,fe=xe.component,z=fe===void 0?"div":fe,o=xe.itemComponent,f=xe.onVisibleChange,se=(0,L.Z)(xe,ne),q=Je==="full",$=b(),N=Ce($,null),X=(0,i.Z)(N,2),ue=X[0],c=X[1],C=ue||0,Xe=Ce($,new Map),W=(0,i.Z)(Xe,2),Le=W[0],Ke=W[1],nt=Ce($,0),lt=(0,i.Z)(nt,2),et=lt[0],w=lt[1],ge=Ce($,0),Ze=(0,i.Z)(ge,2),Ve=Ze[0],ot=Ze[1],Tt=Ce($,0),ct=(0,i.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=Ce($,0),Ht=(0,i.Z)(Vt,2),Xt=Ht[0],wt=Ht[1],Ut=(0,x.useState)(null),yt=(0,i.Z)(Ut,2),Bt=yt[0],Pt=yt[1],kt=(0,x.useState)(null),Wt=(0,i.Z)(kt,2),pt=Wt[0],Lt=Wt[1],ln=x.useMemo(function(){return pt===null&&q?Number.MAX_SAFE_INTEGER:pt||0},[pt,ue]),rn=(0,x.useState)(!1),xn=(0,i.Z)(rn,2),Dn=xn[0],Mn=xn[1],tn="".concat(at,"-item"),Nn=Math.max(et,Ve),Pn=Te===Re,bn=tt.length&&Pn,Fn=Te===de,_n=bn||typeof Te=="number"&&tt.length>Te,Jn=(0,x.useMemo)(function(){var h=tt;return bn?ue===null&&q?h=tt:h=tt.slice(0,Math.min(tt.length,C/ie)):typeof Te=="number"&&(h=tt.slice(0,Te)),h},[tt,ie,ue,Te,bn]),Be=(0,x.useMemo)(function(){return bn?tt.slice(ln+1):tt.slice(Jn.length)},[tt,Jn,bn,ln]),Ie=(0,x.useCallback)(function(h,v){var B;return typeof me=="function"?me(h):(B=me&&(h==null?void 0:h[me]))!==null&&B!==void 0?B:v},[me]),I=(0,x.useCallback)(J||function(h){return h},[J]);function k(h,v,B){pt===h&&(v===void 0||v===Bt)||(Lt(h),B||(Mn(hC){k(te-1,h-we-Xt+Ve);break}}g&&u(0)+Xt>C&&Pt(null)}},[C,Le,Ve,dt,Xt,Ie,Jn]);var S=Dn&&!!Be.length,A={};Bt!==null&&bn&&(A={position:"absolute",left:Bt,top:0});var ve={prefixCls:tn,responsive:bn,component:o,invalidate:Fn},j=Se?function(h,v){var B=Ie(h,v);return x.createElement(s.Provider,{key:B,value:(0,d.Z)((0,d.Z)({},ve),{},{order:v,item:h,itemKey:B,registerSize:ye,display:v<=ln})},Se(h,v))}:function(h,v){var B=Ie(h,v);return x.createElement(pe,(0,e.Z)({},ve,{order:v,key:B,item:h,renderItem:I,itemKey:B,registerSize:ye,display:v<=ln}))},O={order:S?ln:Number.MAX_SAFE_INTEGER,className:"".concat(tn,"-rest"),registerSize:m,display:S},V=G||H,ee=R?x.createElement(s.Provider,{value:(0,d.Z)((0,d.Z)({},ve),O)},R(Be)):x.createElement(pe,(0,e.Z)({},ve,O),typeof V=="function"?V(Be):V),oe=x.createElement(z,(0,e.Z)({className:E()(!Fn&&at,bt),style:je,ref:We},se),U&&x.createElement(pe,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:-1,className:"".concat(tn,"-prefix"),registerSize:re,display:!0}),U),Jn.map(j),_n?ee:null,g&&x.createElement(pe,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:ln,className:"".concat(tn,"-suffix"),registerSize:De,display:!0,style:A}),g));return Pn?x.createElement(Z.Z,{onResize:be,disabled:!bn},oe):oe}var ce=x.forwardRef(n);ce.displayName="Overflow",ce.Item=Oe,ce.RESPONSIVE=Re,ce.INVALIDATE=de;var T=ce,ze=T},29301:function(an,_e,t){t.d(_e,{Z:function(){return de}});var e=t(54476),d=t(59301),i=t(11592),L=t(48736),x=t(33885),D=t(76190),E=t(76846),Z=t(8654),K=d.createContext(null);function r(H){var n=H.children,ce=H.onBatchResize,T=d.useRef(0),ze=d.useRef([]),xe=d.useContext(K),We=d.useCallback(function(st,at,Ae){T.current+=1;var tt=T.current;ze.current.push({size:st,element:at,data:Ae}),Promise.resolve().then(function(){tt===T.current&&(ce==null||ce(ze.current),ze.current=[])}),xe==null||xe(st,at,Ae)},[ce,xe]);return d.createElement(K.Provider,{value:We},n)}var _=t(76374),M=new Map;function P(H){H.forEach(function(n){var ce,T=n.target;(ce=M.get(T))===null||ce===void 0||ce.forEach(function(ze){return ze(T)})})}var pe=new _.Z(P),it=null,Fe=null;function Pe(H,n){M.has(H)||(M.set(H,new Set),pe.observe(H)),M.get(H).add(n)}function Ye(H,n){M.has(H)&&(M.get(H).delete(n),M.get(H).size||(pe.unobserve(H),M.delete(H)))}var b=t(67732),Ce=t(83652),s=t(42403),p=t(158),ae=function(H){(0,s.Z)(ce,H);var n=(0,p.Z)(ce);function ce(){return(0,b.Z)(this,ce),n.apply(this,arguments)}return(0,Ce.Z)(ce,[{key:"render",value:function(){return this.props.children}}]),ce}(d.Component);function le(H,n){var ce=H.children,T=H.disabled,ze=d.useRef(null),xe=d.useRef(null),We=d.useContext(K),st=typeof ce=="function",at=st?ce(ze):ce,Ae=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),tt=!st&&d.isValidElement(at)&&(0,Z.Yr)(at),J=tt?(0,Z.C4)(at):null,Se=(0,Z.x1)(J,ze),me=function(){var je;return(0,E.ZP)(ze.current)||(ze.current&&(0,D.Z)(ze.current)==="object"?(0,E.ZP)((je=ze.current)===null||je===void 0?void 0:je.nativeElement):null)||(0,E.ZP)(xe.current)};d.useImperativeHandle(n,function(){return me()});var Qe=d.useRef(H);Qe.current=H;var ie=d.useCallback(function(Je){var je=Qe.current,bt=je.onResize,Te=je.data,G=Je.getBoundingClientRect(),R=G.width,U=G.height,g=Je.offsetWidth,fe=Je.offsetHeight,z=Math.floor(R),o=Math.floor(U);if(Ae.current.width!==z||Ae.current.height!==o||Ae.current.offsetWidth!==g||Ae.current.offsetHeight!==fe){var f={width:z,height:o,offsetWidth:g,offsetHeight:fe};Ae.current=f;var se=g===Math.round(R)?R:g,q=fe===Math.round(U)?U:fe,$=(0,x.Z)((0,x.Z)({},f),{},{offsetWidth:se,offsetHeight:q});We==null||We($,Je,Te),bt&&Promise.resolve().then(function(){bt($,Je)})}},[]);return d.useEffect(function(){var Je=me();return Je&&!T&&Pe(Je,ie),function(){return Ye(Je,ie)}},[ze.current,T]),d.createElement(ae,{ref:xe},tt?d.cloneElement(at,{ref:Se}):at)}var y=d.forwardRef(le),He=y,Oe="rc-observer-key";function ne(H,n){var ce=H.children,T=typeof ce=="function"?[ce]:(0,i.Z)(ce);return T.map(function(ze,xe){var We=(ze==null?void 0:ze.key)||"".concat(Oe,"-").concat(xe);return d.createElement(He,(0,e.Z)({},H,{key:We,ref:xe===0?n:void 0}),ze)})}var Re=d.forwardRef(ne);Re.Collection=r;var de=Re},6551:function(an,_e,t){t.d(_e,{ZP:function(){return E}});var e=t(42978),d=t(59301),i=t(47273),L=0,x=(0,i.Z)();function D(){var Z;return x?(Z=L,L+=1):Z="TEST_OR_SSR",Z}function E(Z){var K=d.useState(),r=(0,e.Z)(K,2),_=r[0],M=r[1];return d.useEffect(function(){M("rc_select_".concat(D()))},[]),Z||_}},37463:function(an,_e,t){t.d(_e,{Ac:function(){return nt},Xo:function(){return et},Wx:function(){return ge},ZP:function(){return Jn},lk:function(){return Ce}});var e=t(54476),d=t(94480),i=t(20068),L=t(33885),x=t(42978),D=t(75931),E=t(76190),Z=t(18929),K=t(48736),r=t(59301),_=t(92310),M=t.n(_),P=t(34280),pe=t(49658),it=t(8654),Fe=function(Ie){var I=Ie.className,k=Ie.customizeIcon,be=Ie.customizeIconProps,ye=Ie.children,m=Ie.onMouseDown,re=Ie.onClick,De=typeof k=="function"?k(be):k;return r.createElement("span",{className:I,onMouseDown:function(S){S.preventDefault(),m==null||m(S)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:re,"aria-hidden":!0},De!==void 0?De:r.createElement("span",{className:M()(I.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},ye))},Pe=Fe,Ye=function(Ie,I,k,be,ye){var m=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,re=arguments.length>6?arguments[6]:void 0,De=arguments.length>7?arguments[7]:void 0,u=r.useMemo(function(){if((0,E.Z)(be)==="object")return be.clearIcon;if(ye)return ye},[be,ye]),S=r.useMemo(function(){return!!(!m&&be&&(k.length||re)&&!(De==="combobox"&&re===""))},[be,m,k.length,re,De]);return{allowClear:S,clearIcon:r.createElement(Pe,{className:"".concat(Ie,"-clear"),onMouseDown:I,customizeIcon:u},"\xD7")}},b=r.createContext(null);function Ce(){return r.useContext(b)}function s(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=r.useState(!1),I=(0,x.Z)(Ie,2),k=I[0],be=I[1],ye=r.useRef(null),m=function(){window.clearTimeout(ye.current)};r.useEffect(function(){return m},[]);var re=function(u,S){m(),ye.current=window.setTimeout(function(){be(u),S&&S()},Be)};return[k,re,m]}function p(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=r.useRef(null),I=r.useRef(null);r.useEffect(function(){return function(){window.clearTimeout(I.current)}},[]);function k(be){(be||Ie.current===null)&&(Ie.current=be),window.clearTimeout(I.current),I.current=window.setTimeout(function(){Ie.current=null},Be)}return[function(){return Ie.current},k]}function ae(Be,Ie,I,k){var be=r.useRef(null);be.current={open:Ie,triggerOpen:I,customizedTrigger:k},r.useEffect(function(){function ye(m){var re;if(!((re=be.current)!==null&&re!==void 0&&re.customizedTrigger)){var De=m.target;De.shadowRoot&&m.composed&&(De=m.composedPath()[0]||De),be.current.open&&Be().filter(function(u){return u}).every(function(u){return!u.contains(De)&&u!==De})&&be.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}var le=t(10228);function y(Be){return Be&&![le.Z.ESC,le.Z.SHIFT,le.Z.BACKSPACE,le.Z.TAB,le.Z.WIN_KEY,le.Z.ALT,le.Z.META,le.Z.WIN_KEY_RIGHT,le.Z.CTRL,le.Z.SEMICOLON,le.Z.EQUALS,le.Z.CAPS_LOCK,le.Z.CONTEXT_MENU,le.Z.F1,le.Z.F2,le.Z.F3,le.Z.F4,le.Z.F5,le.Z.F6,le.Z.F7,le.Z.F8,le.Z.F9,le.Z.F10,le.Z.F11,le.Z.F12].includes(Be)}var He=t(26112),Oe=t(83836);function ne(Be,Ie,I){var k=(0,L.Z)((0,L.Z)({},Be),I?Ie:{});return Object.keys(Ie).forEach(function(be){var ye=Ie[be];typeof ye=="function"&&(k[be]=function(){for(var m,re=arguments.length,De=new Array(re),u=0;uv&&(cn="".concat(Rn.slice(0,v),"..."))}var Bn=function(dn){dn&&dn.stopPropagation(),ut(jt)};return typeof we=="function"?Zt(on,cn,qt,en,Bn):fn(jt,cn,qt,en,Bn)},Ft=function(jt){if(!be.length)return null;var qt=typeof te=="function"?te(jt):te;return typeof we=="function"?Zt(void 0,qt,!1,!1,void 0,!0):fn({title:qt},qt,!1)},qe=r.createElement("div",{className:"".concat(Gt,"-search"),style:{width:Mt},onFocus:function(){sn(!0)},onBlur:function(){sn(!1)}},r.createElement(ce,{ref:De,open:ye,prefixCls:k,id:I,inputElement:null,disabled:S,autoFocus:j,autoComplete:O,editable:nn,activeDescendantId:V,value:Yt,onKeyDown:he,onMouseDown:Me,onChange:Ge,onPaste:Y,onCompositionStart:ke,onCompositionEnd:ht,onBlur:ft,tabIndex:ee,attrs:(0,He.Z)(Ie,!0)}),r.createElement("span",{ref:Ct,className:"".concat(Gt,"-search-mirror"),"aria-hidden":!0},Yt,"\xA0")),mt=r.createElement(Oe.Z,{prefixCls:"".concat(Gt,"-overflow"),data:be,renderItem:Qt,renderRest:Ft,suffix:qe,itemKey:J,maxCount:h});return r.createElement("span",{className:"".concat(Gt,"-wrap")},mt,!be.length&&!Yt&&r.createElement("span",{className:"".concat(Gt,"-placeholder")},u))},Qe=me,ie=function(Ie){var I=Ie.inputElement,k=Ie.prefixCls,be=Ie.id,ye=Ie.inputRef,m=Ie.disabled,re=Ie.autoFocus,De=Ie.autoComplete,u=Ie.activeDescendantId,S=Ie.mode,A=Ie.open,ve=Ie.values,j=Ie.placeholder,O=Ie.tabIndex,V=Ie.showSearch,ee=Ie.searchValue,oe=Ie.activeValue,h=Ie.maxLength,v=Ie.onInputKeyDown,B=Ie.onInputMouseDown,te=Ie.onInputChange,we=Ie.onInputPaste,Ne=Ie.onInputCompositionStart,ut=Ie.onInputCompositionEnd,Ge=Ie.onInputBlur,Y=Ie.title,he=r.useState(!1),Me=(0,x.Z)(he,2),ke=Me[0],ht=Me[1],ft=S==="combobox",Ct=ft||V,It=ve[0],Dt=ee||"";ft&&oe&&!ke&&(Dt=oe),r.useEffect(function(){ft&&ht(!1)},[ft,oe]);var Mt=S!=="combobox"&&!A&&!V?!1:!!Dt,$t=Y===void 0?Ae(It):Y,Et=r.useMemo(function(){return It?null:r.createElement("span",{className:"".concat(k,"-selection-placeholder"),style:Mt?{visibility:"hidden"}:void 0},j)},[It,Mt,j,k]);return r.createElement("span",{className:"".concat(k,"-selection-wrap")},r.createElement("span",{className:"".concat(k,"-selection-search")},r.createElement(ce,{ref:ye,prefixCls:k,id:be,open:A,inputElement:I,disabled:m,autoFocus:re,autoComplete:De,editable:Ct,activeDescendantId:u,value:Dt,onKeyDown:v,onMouseDown:B,onChange:function(At){ht(!0),te(At)},onPaste:we,onCompositionStart:Ne,onCompositionEnd:ut,onBlur:Ge,tabIndex:O,attrs:(0,He.Z)(Ie,!0),maxLength:ft?h:void 0})),!ft&&It?r.createElement("span",{className:"".concat(k,"-selection-item"),title:$t,style:Mt?{visibility:"hidden"}:void 0},It.label):null,Et)},Je=ie,je=function(Ie,I){var k=(0,r.useRef)(null),be=(0,r.useRef)(!1),ye=Ie.prefixCls,m=Ie.open,re=Ie.mode,De=Ie.showSearch,u=Ie.tokenWithEnter,S=Ie.disabled,A=Ie.prefix,ve=Ie.autoClearSearchValue,j=Ie.onSearch,O=Ie.onSearchSubmit,V=Ie.onToggleOpen,ee=Ie.onInputKeyDown,oe=Ie.onInputBlur,h=Ie.domRef;r.useImperativeHandle(I,function(){return{focus:function($t){k.current.focus($t)},blur:function(){k.current.blur()}}});var v=p(0),B=(0,x.Z)(v,2),te=B[0],we=B[1],Ne=function($t){var Et=$t.which,Jt=k.current instanceof HTMLTextAreaElement;!Jt&&m&&(Et===le.Z.UP||Et===le.Z.DOWN)&&$t.preventDefault(),ee&&ee($t),Et===le.Z.ENTER&&re==="tags"&&!be.current&&!m&&(O==null||O($t.target.value)),!(Jt&&!m&&~[le.Z.UP,le.Z.DOWN,le.Z.LEFT,le.Z.RIGHT].indexOf(Et))&&y(Et)&&V(!0)},ut=function(){we(!0)},Ge=(0,r.useRef)(null),Y=function($t){j($t,!0,be.current)!==!1&&V(!0)},he=function(){be.current=!0},Me=function($t){be.current=!1,re!=="combobox"&&Y($t.target.value)},ke=function($t){var Et=$t.target.value;if(u&&Ge.current&&/[\r\n]/.test(Ge.current)){var Jt=Ge.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Et=Et.replace(Jt,Ge.current)}Ge.current=null,Y(Et)},ht=function($t){var Et=$t.clipboardData,Jt=Et==null?void 0:Et.getData("text");Ge.current=Jt||""},ft=function($t){var Et=$t.target;if(Et!==k.current){var Jt=document.body.style.msTouchAction!==void 0;Jt?setTimeout(function(){k.current.focus()}):k.current.focus()}},Ct=function($t){var Et=te();$t.target!==k.current&&!Et&&!(re==="combobox"&&S)&&$t.preventDefault(),(re!=="combobox"&&(!De||!Et)||!m)&&(m&&ve!==!1&&j("",!0,!1),V())},It={inputRef:k,onInputKeyDown:Ne,onInputMouseDown:ut,onInputChange:ke,onInputPaste:ht,onInputCompositionStart:he,onInputCompositionEnd:Me,onInputBlur:oe},Dt=re==="multiple"||re==="tags"?r.createElement(Qe,(0,e.Z)({},Ie,It)):r.createElement(Je,(0,e.Z)({},Ie,It));return r.createElement("div",{ref:h,className:"".concat(ye,"-selector"),onClick:ft,onMouseDown:Ct},A&&r.createElement("div",{className:"".concat(ye,"-prefix")},A),Dt)},bt=r.forwardRef(je),Te=bt,G=t(65030),R=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],U=function(Ie){var I=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"}}},g=function(Ie,I){var k=Ie.prefixCls,be=Ie.disabled,ye=Ie.visible,m=Ie.children,re=Ie.popupElement,De=Ie.animation,u=Ie.transitionName,S=Ie.dropdownStyle,A=Ie.dropdownClassName,ve=Ie.direction,j=ve===void 0?"ltr":ve,O=Ie.placement,V=Ie.builtinPlacements,ee=Ie.dropdownMatchSelectWidth,oe=Ie.dropdownRender,h=Ie.dropdownAlign,v=Ie.getPopupContainer,B=Ie.empty,te=Ie.getTriggerDOMNode,we=Ie.onPopupVisibleChange,Ne=Ie.onPopupMouseEnter,ut=(0,D.Z)(Ie,R),Ge="".concat(k,"-dropdown"),Y=re;oe&&(Y=oe(re));var he=r.useMemo(function(){return V||U(ee)},[V,ee]),Me=De?"".concat(Ge,"-").concat(De):u,ke=typeof ee=="number",ht=r.useMemo(function(){return ke?null:ee===!1?"minWidth":"width"},[ee,ke]),ft=S;ke&&(ft=(0,L.Z)((0,L.Z)({},ft),{},{width:ee}));var Ct=r.useRef(null);return r.useImperativeHandle(I,function(){return{getPopupElement:function(){var Dt;return(Dt=Ct.current)===null||Dt===void 0?void 0:Dt.popupElement}}}),r.createElement(G.Z,(0,e.Z)({},ut,{showAction:we?["click"]:[],hideAction:we?["click"]:[],popupPlacement:O||(j==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:he,prefixCls:Ge,popupTransitionName:Me,popup:r.createElement("div",{onMouseEnter:Ne},Y),ref:Ct,stretch:ht,popupAlign:h,popupVisible:ye,getPopupContainer:v,popupClassName:M()(A,(0,i.Z)({},"".concat(Ge,"-empty"),B)),popupStyle:ft,getTriggerDOMNode:te,onPopupVisibleChange:we}),m)},fe=r.forwardRef(g),z=fe,o=t(66712);function f(Be,Ie){var I=Be.key,k;return"value"in Be&&(k=Be.value),I!=null?I:k!==void 0?k:"rc-index-key-".concat(Ie)}function se(Be){return typeof Be!="undefined"&&!Number.isNaN(Be)}function q(Be,Ie){var I=Be||{},k=I.label,be=I.value,ye=I.options,m=I.groupLabel,re=k||(Ie?"children":"label");return{label:re,value:be||"value",options:ye||"options",groupLabel:m||re}}function $(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Ie.fieldNames,k=Ie.childrenAsData,be=[],ye=q(I,!1),m=ye.label,re=ye.value,De=ye.options,u=ye.groupLabel;function S(A,ve){Array.isArray(A)&&A.forEach(function(j){if(ve||!(De in j)){var O=j[re];be.push({key:f(j,be.length),groupOption:ve,data:j,label:j[m],value:O})}else{var V=j[u];V===void 0&&k&&(V=j.label),be.push({key:f(j,be.length),group:!0,data:j,label:V}),S(j[De],!0)}})}return S(Be,!1),be}function N(Be){var Ie=(0,L.Z)({},Be);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,K.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var X=function(Ie,I,k){if(!I||!I.length)return null;var be=!1,ye=function re(De,u){var S=(0,o.Z)(u),A=S[0],ve=S.slice(1);if(!A)return[De];var j=De.split(A);return be=be||j.length>1,j.reduce(function(O,V){return[].concat((0,d.Z)(O),(0,d.Z)(re(V,ve)))},[]).filter(Boolean)},m=ye(Ie,I);return be?typeof k!="undefined"?m.slice(0,k):m:null},ue=r.createContext(null),c=ue;function C(Be){var Ie=Be.visible,I=Be.values;if(!Ie)return null;var k=50;return r.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(I.slice(0,k).map(function(be){var ye=be.label,m=be.value;return["number","string"].includes((0,E.Z)(ye))?ye:m}).join(", ")),I.length>k?", ...":null)}var Xe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],W=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(Ie){return Ie==="tags"||Ie==="multiple"},Ke=r.forwardRef(function(Be,Ie){var I,k=Be.id,be=Be.prefixCls,ye=Be.className,m=Be.showSearch,re=Be.tagRender,De=Be.direction,u=Be.omitDomProps,S=Be.displayValues,A=Be.onDisplayValuesChange,ve=Be.emptyOptions,j=Be.notFoundContent,O=j===void 0?"Not Found":j,V=Be.onClear,ee=Be.mode,oe=Be.disabled,h=Be.loading,v=Be.getInputElement,B=Be.getRawInputElement,te=Be.open,we=Be.defaultOpen,Ne=Be.onDropdownVisibleChange,ut=Be.activeValue,Ge=Be.onActiveValueChange,Y=Be.activeDescendantId,he=Be.searchValue,Me=Be.autoClearSearchValue,ke=Be.onSearch,ht=Be.onSearchSplit,ft=Be.tokenSeparators,Ct=Be.allowClear,It=Be.prefix,Dt=Be.suffixIcon,Mt=Be.clearIcon,$t=Be.OptionList,Et=Be.animation,Jt=Be.transitionName,At=Be.dropdownStyle,sn=Be.dropdownClassName,Gt=Be.dropdownMatchSelectWidth,Yt=Be.dropdownRender,nn=Be.dropdownAlign,fn=Be.placement,Zt=Be.builtinPlacements,Qt=Be.getPopupContainer,Ft=Be.showAction,qe=Ft===void 0?[]:Ft,mt=Be.onFocus,Kt=Be.onBlur,jt=Be.onKeyUp,qt=Be.onKeyDown,un=Be.onMouseDown,on=(0,D.Z)(Be,Xe),en=Le(ee),cn=(m!==void 0?m:en)||ee==="combobox",Rn=(0,L.Z)({},on);W.forEach(function(Nr){delete Rn[Nr]}),u==null||u.forEach(function(Nr){delete Rn[Nr]});var Bn=r.useState(!1),yn=(0,x.Z)(Bn,2),dn=yn[0],Kn=yn[1];r.useEffect(function(){Kn((0,pe.Z)())},[]);var Xn=r.useRef(null),ar=r.useRef(null),$n=r.useRef(null),er=r.useRef(null),Wn=r.useRef(null),Sr=r.useRef(!1),Fr=s(),$r=(0,x.Z)(Fr,3),Cr=$r[0],vr=$r[1],En=$r[2];r.useImperativeHandle(Ie,function(){var Nr,Pr;return{focus:(Nr=er.current)===null||Nr===void 0?void 0:Nr.focus,blur:(Pr=er.current)===null||Pr===void 0?void 0:Pr.blur,scrollTo:function(Bo){var mo;return(mo=Wn.current)===null||mo===void 0?void 0:mo.scrollTo(Bo)},nativeElement:Xn.current||ar.current}});var Hn=r.useMemo(function(){var Nr;if(ee!=="combobox")return he;var Pr=(Nr=S[0])===null||Nr===void 0?void 0:Nr.value;return typeof Pr=="string"||typeof Pr=="number"?String(Pr):""},[he,ee,S]),lr=ee==="combobox"&&typeof v=="function"&&v()||null,fr=typeof B=="function"&&B(),Gn=(0,it.x1)(ar,fr==null||(I=fr.props)===null||I===void 0?void 0:I.ref),ur=r.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1];(0,P.Z)(function(){br(!0)},[]);var Br=(0,Z.Z)(!1,{defaultValue:we,value:te}),wr=(0,x.Z)(Br,2),Tr=wr[0],Qr=wr[1],Or=gr?Tr:!1,zr=!O&&ve;(oe||zr&&Or&&ee==="combobox")&&(Or=!1);var qr=zr?!1:Or,Vn=r.useCallback(function(Nr){var Pr=Nr!==void 0?Nr:!Or;oe||(Qr(Pr),Or!==Pr&&(Ne==null||Ne(Pr)))},[oe,Or,Qr,Ne]),sr=r.useMemo(function(){return(ft||[]).some(function(Nr){return[` `,`\r -`].includes(Nr)})},[ft]),kn=r.useContext(c)||{},zn=kn.maxCount,cr=kn.rawValues,pr=function(Pr,Oo,Bo){if(!(en&&se(zn)&&(cr==null?void 0:cr.size)>=zn)){var mo=!0,ho=Pr;Ge==null||Ge(null);var Go=U(Pr,ft,se(zn)?zn-cr.size:void 0),Xo=Bo?null:Go;return ee!=="combobox"&&Xo&&(ho="",ht==null||ht(Xo),Vn(!1),mo=!1),ke&&Hn!==ho&&ke(ho,{source:Oo?"typing":"effect"}),mo}},eo=function(Pr){!Pr||!Pr.trim()||ke(Pr,{source:"submit"})};r.useEffect(function(){!Or&&!en&&ee!=="combobox"&&pr("",!1,!1)},[Or]),r.useEffect(function(){Tr&&oe&&Qr(!1),oe&&!Sr.current&&vr(!1)},[oe]);var In=p(),tr=(0,x.Z)(In,2),Dr=tr[0],kr=tr[1],Ur=r.useRef(!1),Uo=function(Pr){var Oo=Dr(),Bo=Pr.key,mo=Bo==="Enter";if(mo&&(ee!=="combobox"&&Pr.preventDefault(),Or||Vn(!0)),kr(!!Hn),Bo==="Backspace"&&!Oo&&en&&!Hn&&S.length){for(var ho=(0,d.Z)(S),Go=null,Xo=ho.length-1;Xo>=0;Xo-=1){var _o=ho[Xo];if(!_o.disabled){ho.splice(Xo,1),Go=_o;break}}Go&&A(ho,{type:"remove",values:[Go]})}for(var oa=arguments.length,aa=new Array(oa>1?oa-1:0),ha=1;ha1?Oo-1:0),mo=1;mo1?Go-1:0),_o=1;_o=O},[re,O,B==null?void 0:B.size]),ft=function(qe){qe.preventDefault()},Ct=function(qe){var mt;(mt=ke.current)===null||mt===void 0||mt.scrollTo(typeof qe=="number"?{index:qe}:qe)},It=r.useCallback(function(Ft){return De==="combobox"?!1:B.has(Ft)},[De,(0,d.Z)(B).toString(),B.size]),Dt=function(qe){for(var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kt=Me.length,jt=0;jt1&&arguments[1]!==void 0?arguments[1]:!1;Jt(qe);var Kt={source:mt?"keyboard":"mouse"},jt=Me[qe];if(!jt){ee(null,-1,Kt);return}ee(jt.value,qe,Kt)};(0,r.useEffect)(function(){At(oe!==!1?Dt(0):-1)},[Me.length,u]);var sn=r.useCallback(function(Ft){return De==="combobox"?String(Ft).toLowerCase()===u.toLowerCase():B.has(Ft)},[De,u,(0,d.Z)(B).toString(),B.size]);(0,r.useEffect)(function(){var Ft=setTimeout(function(){if(!re&&m&&B.size===1){var mt=Array.from(B)[0],Kt=Me.findIndex(function(jt){var qt=jt.data;return u?String(qt.value).startsWith(u):qt.value===mt});Kt!==-1&&(At(Kt),Ct(Kt))}});if(m){var qe;(qe=ke.current)===null||qe===void 0||qe.scrollTo(void 0)}return function(){return clearTimeout(Ft)}},[m,u]);var Gt=function(qe){qe!==void 0&&h(qe,{selected:!B.has(qe)}),re||S(!1)};if(r.useImperativeHandle(I,function(){return{onKeyDown:function(qe){var mt=qe.which,Kt=qe.ctrlKey;switch(mt){case le.Z.N:case le.Z.P:case le.Z.UP:case le.Z.DOWN:{var jt=0;if(mt===le.Z.UP?jt=-1:mt===le.Z.DOWN?jt=1:Tt()&&Kt&&(mt===le.Z.N?jt=1:mt===le.Z.P&&(jt=-1)),jt!==0){var qt=Dt(Et+jt,jt);Ct(qt),At(qt,!0)}break}case le.Z.TAB:case le.Z.ENTER:{var un,on=Me[Et];on&&!(on!=null&&(un=on.data)!==null&&un!==void 0&&un.disabled)&&!ht?Gt(on.value):Gt(void 0),m&&qe.preventDefault();break}case le.Z.ESC:S(!1),m&&qe.stopPropagation()}},onKeyUp:function(){},scrollTo:function(qe){Ct(qe)}}}),Me.length===0)return r.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),className:"".concat(he,"-empty"),onMouseDown:ft},A);var Yt=Object.keys(te).map(function(Ft){return te[Ft]}),nn=function(qe){return qe.label};function fn(Ft,qe){var mt=Ft.group;return{role:mt?"presentation":"option",id:"".concat(ye,"_list_").concat(qe)}}var Zt=function(qe){var mt=Me[qe];if(!mt)return null;var Kt=mt.data||{},jt=Kt.value,qt=mt.group,un=(0,He.Z)(Kt,!0),on=nn(mt);return mt?r.createElement("div",(0,e.Z)({"aria-label":typeof on=="string"&&!qt?on:null},un,{key:qe},fn(mt,qe),{"aria-selected":sn(jt)}),jt):null},Qt={role:"listbox",id:"".concat(ye,"_list")};return r.createElement(r.Fragment,null,we&&r.createElement("div",(0,e.Z)({},Qt,{style:{height:0,width:0,overflow:"hidden"}}),Zt(Et-1),Zt(Et),Zt(Et+1)),r.createElement(ot.Z,{itemKey:"key",ref:ke,data:Me,height:ut,itemHeight:Ge,fullHeight:!1,onMouseDown:ft,onScroll:ve,virtual:we,direction:Ne,innerProps:we?null:Qt},function(Ft,qe){var mt=Ft.group,Kt=Ft.groupOption,jt=Ft.data,qt=Ft.label,un=Ft.value,on=jt.key;if(mt){var en,cn=(en=jt.title)!==null&&en!==void 0?en:dt(qt)?qt.toString():void 0;return r.createElement("div",{className:M()(he,"".concat(he,"-group"),jt.className),title:cn},qt!==void 0?qt:on)}var Rn=jt.disabled,Bn=jt.title,yn=jt.children,dn=jt.style,Kn=jt.className,Xn=(0,D.Z)(jt,ct),ar=(0,Ve.Z)(Xn,Yt),$n=It(un),er=Rn||!$n&&ht,Wn="".concat(he,"-option"),Sr=M()(he,Wn,Kn,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Wn,"-grouped"),Kt),"".concat(Wn,"-active"),Et===qe&&!er),"".concat(Wn,"-disabled"),er),"".concat(Wn,"-selected"),$n)),Fr=nn(Ft),$r=!v||typeof v=="function"||$n,Cr=typeof Fr=="number"?Fr:Fr||un,vr=dt(Cr)?Cr.toString():void 0;return Bn!==void 0&&(vr=Bn),r.createElement("div",(0,e.Z)({},(0,He.Z)(ar),we?{}:fn(Ft,qe),{"aria-selected":sn(un),className:Sr,title:vr,onMouseMove:function(){Et===qe||er||At(qe)},onClick:function(){er||Gt(un)},style:dn}),r.createElement("div",{className:"".concat(Wn,"-content")},typeof Y=="function"?Y(Ft,{index:qe}):Cr),r.isValidElement(v)||$n,$r&&r.createElement(Pe,{className:"".concat(he,"-option-state"),customizeIcon:v,customizeIconProps:{value:un,disabled:er,isSelected:$n}},$n?"\u2713":null))}))},Vt=r.forwardRef(Rt),Ht=Vt,Xt=function(Be,Ie){var I=r.useRef({values:new Map,options:new Map}),k=r.useMemo(function(){var ye=I.current,m=ye.values,re=ye.options,De=Be.map(function(A){if(A.label===void 0){var ve;return(0,L.Z)((0,L.Z)({},A),{},{label:(ve=m.get(A.value))===null||ve===void 0?void 0:ve.label})}return A}),u=new Map,S=new Map;return De.forEach(function(A){u.set(A.value,A),S.set(A.value,Ie.get(A.value)||re.get(A.value))}),I.current.values=u,I.current.options=S,De},[Be,Ie]),be=r.useCallback(function(ye){return Ie.get(ye)||I.current.options.get(ye)},[Ie]);return[k,be]};function wt(Be,Ie){return T(Be).join("").toUpperCase().includes(Ie)}var Ut=function(Be,Ie,I,k,be){return r.useMemo(function(){if(!I||k===!1)return Be;var ye=Ie.options,m=Ie.label,re=Ie.value,De=[],u=typeof k=="function",S=I.toUpperCase(),A=u?k:function(j,O){return be?wt(O[be],S):O[ye]?wt(O[m!=="children"?m:"label"],S):wt(O[re],S)},ve=u?function(j){return N(j)}:function(j){return j};return Be.forEach(function(j){if(j[ye]){var O=A(I,ve(j));if(O)De.push(j);else{var W=j[ye].filter(function(ee){return A(I,ve(ee))});W.length&&De.push((0,L.Z)((0,L.Z)({},j),{},(0,i.Z)({},ye,W)))}return}A(I,ve(j))&&De.push(j)}),De},[Be,k,be,I,Ie])},yt=t(6551),Bt=t(11592),Pt=["children","value"],kt=["children"];function Wt(Be){var Ie=Be,I=Ie.key,k=Ie.props,be=k.children,ye=k.value,m=(0,D.Z)(k,Pt);return(0,L.Z)({key:I,value:ye!==void 0?ye:I,children:be},m)}function pt(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Be).map(function(I,k){if(!r.isValidElement(I)||!I.type)return null;var be=I,ye=be.type.isSelectOptGroup,m=be.key,re=be.props,De=re.children,u=(0,D.Z)(re,kt);return Ie||!ye?Wt(I):(0,L.Z)((0,L.Z)({key:"__RC_SELECT_GRP__".concat(m===null?k:m,"__"),label:m},u),{},{options:pt(De)})}).filter(function(I){return I})}var Lt=function(Ie,I,k,be,ye){return r.useMemo(function(){var m=Ie,re=!Ie;re&&(m=pt(I));var De=new Map,u=new Map,S=function(j,O,W){W&&typeof W=="string"&&j.set(O[W],O)},A=function ve(j){for(var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W=0;W1&&arguments[1]!==void 0?arguments[1]:!1,m=0;m0?Vn(zn.options):zn.options}):zn})},$r=r.useMemo(function(){return h?Fr(Sr):Sr},[Sr,h,Qt]),Cr=r.useMemo(function(){return $($r,{fieldNames:nn,childrenAsData:Gt})},[$r,nn,Gt]),vr=function(sr){var kn=qt(sr);if(cn(kn),$t&&(kn.length!==dn.length||kn.some(function(pr,eo){var In;return((In=dn[eo])===null||In===void 0?void 0:In.value)!==(pr==null?void 0:pr.value)}))){var zn=Mt?kn:kn.map(function(pr){return pr.value}),cr=kn.map(function(pr){return N(Kn(pr.value))});$t(sn?zn:zn[0],sn?cr:cr[0])}},En=r.useState(null),Hn=(0,x.Z)(En,2),lr=Hn[0],fr=Hn[1],Gn=r.useState(0),ur=(0,x.Z)(Gn,2),yr=ur[0],gr=ur[1],br=ut!==void 0?ut:k!=="combobox",Br=r.useCallback(function(Vn,sr){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},zn=kn.source,cr=zn===void 0?"keyboard":zn;gr(sr),m&&k==="combobox"&&Vn!==null&&cr==="keyboard"&&fr(String(Vn))},[m,k]),wr=function(sr,kn,zn){var cr=function(){var Yo,wo=Kn(sr);return[Mt?{label:wo==null?void 0:wo[nn.label],value:sr,key:(Yo=wo==null?void 0:wo.key)!==null&&Yo!==void 0?Yo:sr}:sr,N(wo)]};if(kn&&j){var pr=cr(),eo=(0,x.Z)(pr,2),In=eo[0],tr=eo[1];j(In,tr)}else if(!kn&&O&&zn!=="clear"){var Dr=cr(),kr=(0,x.Z)(Dr,2),Ur=kr[0],Uo=kr[1];O(Ur,Uo)}},Tr=rn(function(Vn,sr){var kn,zn=sn?sr.selected:!0;zn?kn=sn?[].concat((0,d.Z)(dn),[Vn]):[Vn]:kn=dn.filter(function(cr){return cr.value!==Vn}),vr(kn),wr(Vn,zn),k==="combobox"?fr(""):(!Le||ve)&&(Ft(""),fr(""))}),Qr=function(sr,kn){vr(sr);var zn=kn.type,cr=kn.values;(zn==="remove"||zn==="clear")&&cr.forEach(function(pr){wr(pr.value,!1,zn)})},Or=function(sr,kn){if(Ft(sr),fr(null),kn.source==="submit"){var zn=(sr||"").trim();if(zn){var cr=Array.from(new Set([].concat((0,d.Z)(ar),[zn])));vr(cr),wr(zn,!0),Ft("")}return}kn.source!=="blur"&&(k==="combobox"&&vr(sr),S==null||S(sr))},zr=function(sr){var kn=sr;k!=="tags"&&(kn=sr.map(function(cr){var pr=Kt.get(cr);return pr==null?void 0:pr.value}).filter(function(cr){return cr!==void 0}));var zn=Array.from(new Set([].concat((0,d.Z)(ar),(0,d.Z)(kn))));vr(zn),zn.forEach(function(cr){wr(cr,!0)})},qr=r.useMemo(function(){var Vn=Y!==!1&&ee!==!1;return(0,L.Z)((0,L.Z)({},qe),{},{flattenOptions:Cr,onActiveValue:Br,defaultActiveFirstOption:br,onSelect:Tr,menuItemSelectedIcon:Ge,rawValues:ar,fieldNames:nn,virtual:Vn,direction:he,listHeight:ke,listItemHeight:ft,childrenAsData:Gt,maxCount:Et,optionRender:we})},[Et,qe,Cr,Br,br,Tr,Ge,ar,nn,Y,ee,he,ke,ft,Gt,we]);return r.createElement(c.Provider,{value:qr},r.createElement(nt,(0,e.Z)({},Jt,{id:At,prefixCls:ye,ref:Ie,omitDomProps:Nn,mode:k,displayValues:Xn,onDisplayValuesChange:Qr,direction:he,searchValue:Qt,onSearch:Or,autoClearSearchValue:ve,onSearchSplit:zr,dropdownMatchSelectWidth:ee,OptionList:Ht,emptyOptions:!Cr.length,activeValue:lr,activeDescendantId:"".concat(At,"_list_").concat(yr)})))}),Fn=bn;Fn.Option=ge,Fn.OptGroup=et;var _n=Fn,Jn=_n},22711:function(an,_e,t){t.r(_e),t.d(_e,{ResizableTextArea:function(){return Re},default:function(){return ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(36901),r=t(66003),_=t(30292),M=t(18929),P=t(59301),pe=t(76190),it=t(29301),Fe=t(34280),Pe=t(16089),Ye=` +`].includes(Nr)})},[ft]),kn=r.useContext(c)||{},zn=kn.maxCount,cr=kn.rawValues,pr=function(Pr,Oo,Bo){if(!(en&&se(zn)&&(cr==null?void 0:cr.size)>=zn)){var mo=!0,ho=Pr;Ge==null||Ge(null);var Go=X(Pr,ft,se(zn)?zn-cr.size:void 0),Xo=Bo?null:Go;return ee!=="combobox"&&Xo&&(ho="",ht==null||ht(Xo),Vn(!1),mo=!1),ke&&Hn!==ho&&ke(ho,{source:Oo?"typing":"effect"}),mo}},eo=function(Pr){!Pr||!Pr.trim()||ke(Pr,{source:"submit"})};r.useEffect(function(){!Or&&!en&&ee!=="combobox"&&pr("",!1,!1)},[Or]),r.useEffect(function(){Tr&&oe&&Qr(!1),oe&&!Sr.current&&vr(!1)},[oe]);var In=p(),tr=(0,x.Z)(In,2),Dr=tr[0],kr=tr[1],Ur=r.useRef(!1),Uo=function(Pr){var Oo=Dr(),Bo=Pr.key,mo=Bo==="Enter";if(mo&&(ee!=="combobox"&&Pr.preventDefault(),Or||Vn(!0)),kr(!!Hn),Bo==="Backspace"&&!Oo&&en&&!Hn&&S.length){for(var ho=(0,d.Z)(S),Go=null,Xo=ho.length-1;Xo>=0;Xo-=1){var _o=ho[Xo];if(!_o.disabled){ho.splice(Xo,1),Go=_o;break}}Go&&A(ho,{type:"remove",values:[Go]})}for(var oa=arguments.length,aa=new Array(oa>1?oa-1:0),ha=1;ha1?Oo-1:0),mo=1;mo1?Go-1:0),_o=1;_o=O},[re,O,B==null?void 0:B.size]),ft=function(qe){qe.preventDefault()},Ct=function(qe){var mt;(mt=ke.current)===null||mt===void 0||mt.scrollTo(typeof qe=="number"?{index:qe}:qe)},It=r.useCallback(function(Ft){return De==="combobox"?!1:B.has(Ft)},[De,(0,d.Z)(B).toString(),B.size]),Dt=function(qe){for(var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kt=Me.length,jt=0;jt1&&arguments[1]!==void 0?arguments[1]:!1;Jt(qe);var Kt={source:mt?"keyboard":"mouse"},jt=Me[qe];if(!jt){ee(null,-1,Kt);return}ee(jt.value,qe,Kt)};(0,r.useEffect)(function(){At(oe!==!1?Dt(0):-1)},[Me.length,u]);var sn=r.useCallback(function(Ft){return De==="combobox"?String(Ft).toLowerCase()===u.toLowerCase():B.has(Ft)},[De,u,(0,d.Z)(B).toString(),B.size]);(0,r.useEffect)(function(){var Ft=setTimeout(function(){if(!re&&m&&B.size===1){var mt=Array.from(B)[0],Kt=Me.findIndex(function(jt){var qt=jt.data;return u?String(qt.value).startsWith(u):qt.value===mt});Kt!==-1&&(At(Kt),Ct(Kt))}});if(m){var qe;(qe=ke.current)===null||qe===void 0||qe.scrollTo(void 0)}return function(){return clearTimeout(Ft)}},[m,u]);var Gt=function(qe){qe!==void 0&&h(qe,{selected:!B.has(qe)}),re||S(!1)};if(r.useImperativeHandle(I,function(){return{onKeyDown:function(qe){var mt=qe.which,Kt=qe.ctrlKey;switch(mt){case le.Z.N:case le.Z.P:case le.Z.UP:case le.Z.DOWN:{var jt=0;if(mt===le.Z.UP?jt=-1:mt===le.Z.DOWN?jt=1:Tt()&&Kt&&(mt===le.Z.N?jt=1:mt===le.Z.P&&(jt=-1)),jt!==0){var qt=Dt(Et+jt,jt);Ct(qt),At(qt,!0)}break}case le.Z.TAB:case le.Z.ENTER:{var un,on=Me[Et];on&&!(on!=null&&(un=on.data)!==null&&un!==void 0&&un.disabled)&&!ht?Gt(on.value):Gt(void 0),m&&qe.preventDefault();break}case le.Z.ESC:S(!1),m&&qe.stopPropagation()}},onKeyUp:function(){},scrollTo:function(qe){Ct(qe)}}}),Me.length===0)return r.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),className:"".concat(he,"-empty"),onMouseDown:ft},A);var Yt=Object.keys(te).map(function(Ft){return te[Ft]}),nn=function(qe){return qe.label};function fn(Ft,qe){var mt=Ft.group;return{role:mt?"presentation":"option",id:"".concat(ye,"_list_").concat(qe)}}var Zt=function(qe){var mt=Me[qe];if(!mt)return null;var Kt=mt.data||{},jt=Kt.value,qt=mt.group,un=(0,He.Z)(Kt,!0),on=nn(mt);return mt?r.createElement("div",(0,e.Z)({"aria-label":typeof on=="string"&&!qt?on:null},un,{key:qe},fn(mt,qe),{"aria-selected":sn(jt)}),jt):null},Qt={role:"listbox",id:"".concat(ye,"_list")};return r.createElement(r.Fragment,null,we&&r.createElement("div",(0,e.Z)({},Qt,{style:{height:0,width:0,overflow:"hidden"}}),Zt(Et-1),Zt(Et),Zt(Et+1)),r.createElement(ot.Z,{itemKey:"key",ref:ke,data:Me,height:ut,itemHeight:Ge,fullHeight:!1,onMouseDown:ft,onScroll:ve,virtual:we,direction:Ne,innerProps:we?null:Qt},function(Ft,qe){var mt=Ft.group,Kt=Ft.groupOption,jt=Ft.data,qt=Ft.label,un=Ft.value,on=jt.key;if(mt){var en,cn=(en=jt.title)!==null&&en!==void 0?en:dt(qt)?qt.toString():void 0;return r.createElement("div",{className:M()(he,"".concat(he,"-group"),jt.className),title:cn},qt!==void 0?qt:on)}var Rn=jt.disabled,Bn=jt.title,yn=jt.children,dn=jt.style,Kn=jt.className,Xn=(0,D.Z)(jt,ct),ar=(0,Ve.Z)(Xn,Yt),$n=It(un),er=Rn||!$n&&ht,Wn="".concat(he,"-option"),Sr=M()(he,Wn,Kn,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Wn,"-grouped"),Kt),"".concat(Wn,"-active"),Et===qe&&!er),"".concat(Wn,"-disabled"),er),"".concat(Wn,"-selected"),$n)),Fr=nn(Ft),$r=!v||typeof v=="function"||$n,Cr=typeof Fr=="number"?Fr:Fr||un,vr=dt(Cr)?Cr.toString():void 0;return Bn!==void 0&&(vr=Bn),r.createElement("div",(0,e.Z)({},(0,He.Z)(ar),we?{}:fn(Ft,qe),{"aria-selected":sn(un),className:Sr,title:vr,onMouseMove:function(){Et===qe||er||At(qe)},onClick:function(){er||Gt(un)},style:dn}),r.createElement("div",{className:"".concat(Wn,"-content")},typeof Y=="function"?Y(Ft,{index:qe}):Cr),r.isValidElement(v)||$n,$r&&r.createElement(Pe,{className:"".concat(he,"-option-state"),customizeIcon:v,customizeIconProps:{value:un,disabled:er,isSelected:$n}},$n?"\u2713":null))}))},Vt=r.forwardRef(Rt),Ht=Vt,Xt=function(Be,Ie){var I=r.useRef({values:new Map,options:new Map}),k=r.useMemo(function(){var ye=I.current,m=ye.values,re=ye.options,De=Be.map(function(A){if(A.label===void 0){var ve;return(0,L.Z)((0,L.Z)({},A),{},{label:(ve=m.get(A.value))===null||ve===void 0?void 0:ve.label})}return A}),u=new Map,S=new Map;return De.forEach(function(A){u.set(A.value,A),S.set(A.value,Ie.get(A.value)||re.get(A.value))}),I.current.values=u,I.current.options=S,De},[Be,Ie]),be=r.useCallback(function(ye){return Ie.get(ye)||I.current.options.get(ye)},[Ie]);return[k,be]};function wt(Be,Ie){return T(Be).join("").toUpperCase().includes(Ie)}var Ut=function(Be,Ie,I,k,be){return r.useMemo(function(){if(!I||k===!1)return Be;var ye=Ie.options,m=Ie.label,re=Ie.value,De=[],u=typeof k=="function",S=I.toUpperCase(),A=u?k:function(j,O){return be?wt(O[be],S):O[ye]?wt(O[m!=="children"?m:"label"],S):wt(O[re],S)},ve=u?function(j){return N(j)}:function(j){return j};return Be.forEach(function(j){if(j[ye]){var O=A(I,ve(j));if(O)De.push(j);else{var V=j[ye].filter(function(ee){return A(I,ve(ee))});V.length&&De.push((0,L.Z)((0,L.Z)({},j),{},(0,i.Z)({},ye,V)))}return}A(I,ve(j))&&De.push(j)}),De},[Be,k,be,I,Ie])},yt=t(6551),Bt=t(11592),Pt=["children","value"],kt=["children"];function Wt(Be){var Ie=Be,I=Ie.key,k=Ie.props,be=k.children,ye=k.value,m=(0,D.Z)(k,Pt);return(0,L.Z)({key:I,value:ye!==void 0?ye:I,children:be},m)}function pt(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Be).map(function(I,k){if(!r.isValidElement(I)||!I.type)return null;var be=I,ye=be.type.isSelectOptGroup,m=be.key,re=be.props,De=re.children,u=(0,D.Z)(re,kt);return Ie||!ye?Wt(I):(0,L.Z)((0,L.Z)({key:"__RC_SELECT_GRP__".concat(m===null?k:m,"__"),label:m},u),{},{options:pt(De)})}).filter(function(I){return I})}var Lt=function(Ie,I,k,be,ye){return r.useMemo(function(){var m=Ie,re=!Ie;re&&(m=pt(I));var De=new Map,u=new Map,S=function(j,O,V){V&&typeof V=="string"&&j.set(O[V],O)},A=function ve(j){for(var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=0;V1&&arguments[1]!==void 0?arguments[1]:!1,m=0;m0?Vn(zn.options):zn.options}):zn})},$r=r.useMemo(function(){return h?Fr(Sr):Sr},[Sr,h,Qt]),Cr=r.useMemo(function(){return $($r,{fieldNames:nn,childrenAsData:Gt})},[$r,nn,Gt]),vr=function(sr){var kn=qt(sr);if(cn(kn),$t&&(kn.length!==dn.length||kn.some(function(pr,eo){var In;return((In=dn[eo])===null||In===void 0?void 0:In.value)!==(pr==null?void 0:pr.value)}))){var zn=Mt?kn:kn.map(function(pr){return pr.value}),cr=kn.map(function(pr){return N(Kn(pr.value))});$t(sn?zn:zn[0],sn?cr:cr[0])}},En=r.useState(null),Hn=(0,x.Z)(En,2),lr=Hn[0],fr=Hn[1],Gn=r.useState(0),ur=(0,x.Z)(Gn,2),yr=ur[0],gr=ur[1],br=ut!==void 0?ut:k!=="combobox",Br=r.useCallback(function(Vn,sr){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},zn=kn.source,cr=zn===void 0?"keyboard":zn;gr(sr),m&&k==="combobox"&&Vn!==null&&cr==="keyboard"&&fr(String(Vn))},[m,k]),wr=function(sr,kn,zn){var cr=function(){var Yo,wo=Kn(sr);return[Mt?{label:wo==null?void 0:wo[nn.label],value:sr,key:(Yo=wo==null?void 0:wo.key)!==null&&Yo!==void 0?Yo:sr}:sr,N(wo)]};if(kn&&j){var pr=cr(),eo=(0,x.Z)(pr,2),In=eo[0],tr=eo[1];j(In,tr)}else if(!kn&&O&&zn!=="clear"){var Dr=cr(),kr=(0,x.Z)(Dr,2),Ur=kr[0],Uo=kr[1];O(Ur,Uo)}},Tr=rn(function(Vn,sr){var kn,zn=sn?sr.selected:!0;zn?kn=sn?[].concat((0,d.Z)(dn),[Vn]):[Vn]:kn=dn.filter(function(cr){return cr.value!==Vn}),vr(kn),wr(Vn,zn),k==="combobox"?fr(""):(!Le||ve)&&(Ft(""),fr(""))}),Qr=function(sr,kn){vr(sr);var zn=kn.type,cr=kn.values;(zn==="remove"||zn==="clear")&&cr.forEach(function(pr){wr(pr.value,!1,zn)})},Or=function(sr,kn){if(Ft(sr),fr(null),kn.source==="submit"){var zn=(sr||"").trim();if(zn){var cr=Array.from(new Set([].concat((0,d.Z)(ar),[zn])));vr(cr),wr(zn,!0),Ft("")}return}kn.source!=="blur"&&(k==="combobox"&&vr(sr),S==null||S(sr))},zr=function(sr){var kn=sr;k!=="tags"&&(kn=sr.map(function(cr){var pr=Kt.get(cr);return pr==null?void 0:pr.value}).filter(function(cr){return cr!==void 0}));var zn=Array.from(new Set([].concat((0,d.Z)(ar),(0,d.Z)(kn))));vr(zn),zn.forEach(function(cr){wr(cr,!0)})},qr=r.useMemo(function(){var Vn=Y!==!1&&ee!==!1;return(0,L.Z)((0,L.Z)({},qe),{},{flattenOptions:Cr,onActiveValue:Br,defaultActiveFirstOption:br,onSelect:Tr,menuItemSelectedIcon:Ge,rawValues:ar,fieldNames:nn,virtual:Vn,direction:he,listHeight:ke,listItemHeight:ft,childrenAsData:Gt,maxCount:Et,optionRender:we})},[Et,qe,Cr,Br,br,Tr,Ge,ar,nn,Y,ee,he,ke,ft,Gt,we]);return r.createElement(c.Provider,{value:qr},r.createElement(nt,(0,e.Z)({},Jt,{id:At,prefixCls:ye,ref:Ie,omitDomProps:Nn,mode:k,displayValues:Xn,onDisplayValuesChange:Qr,direction:he,searchValue:Qt,onSearch:Or,autoClearSearchValue:ve,onSearchSplit:zr,dropdownMatchSelectWidth:ee,OptionList:Ht,emptyOptions:!Cr.length,activeValue:lr,activeDescendantId:"".concat(At,"_list_").concat(yr)})))}),Fn=bn;Fn.Option=ge,Fn.OptGroup=et;var _n=Fn,Jn=_n},22711:function(an,_e,t){t.r(_e),t.d(_e,{ResizableTextArea:function(){return Re},default:function(){return ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(36901),r=t(66003),_=t(30292),M=t(18929),P=t(59301),pe=t(76190),it=t(29301),Fe=t(34280),Pe=t(16089),Ye=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -203,4 +203,4 @@ top:0 !important; right:0 !important; pointer-events: none !important; -`,b=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ce={},s;function p(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=T.getAttribute("id")||T.getAttribute("data-reactid")||T.getAttribute("name");if(ze&&Ce[xe])return Ce[xe];var We=window.getComputedStyle(T),st=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),at=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Ae=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),tt=b.map(function(Se){return"".concat(Se,":").concat(We.getPropertyValue(Se))}).join(";"),J={sizingStyle:tt,paddingSize:at,borderSize:Ae,boxSizing:st};return ze&&xe&&(Ce[xe]=J),J}function ae(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),s.setAttribute("name","hiddenTextarea"),document.body.appendChild(s)),T.getAttribute("wrap")?s.setAttribute("wrap",T.getAttribute("wrap")):s.removeAttribute("wrap");var st=p(T,ze),at=st.paddingSize,Ae=st.borderSize,tt=st.boxSizing,J=st.sizingStyle;s.setAttribute("style","".concat(J,";").concat(Ye)),s.value=T.value||T.placeholder||"";var Se=void 0,me=void 0,Qe,ie=s.scrollHeight;if(tt==="border-box"?ie+=Ae:tt==="content-box"&&(ie-=at),xe!==null||We!==null){s.value=" ";var Je=s.scrollHeight-at;xe!==null&&(Se=Je*xe,tt==="border-box"&&(Se=Se+at+Ae),ie=Math.max(Se,ie)),We!==null&&(me=Je*We,tt==="border-box"&&(me=me+at+Ae),Qe=ie>me?"":"hidden",ie=Math.min(me,ie))}var je={height:ie,overflowY:Qe,resize:"none"};return Se&&(je.minHeight=Se),me&&(je.maxHeight=me),je}var le=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y=0,He=1,Oe=2,ne=P.forwardRef(function(T,ze){var xe=T,We=xe.prefixCls,st=xe.defaultValue,at=xe.value,Ae=xe.autoSize,tt=xe.onResize,J=xe.className,Se=xe.style,me=xe.disabled,Qe=xe.onChange,ie=xe.onInternalAutoSize,Je=(0,D.Z)(xe,le),je=(0,M.Z)(st,{value:at,postState:function(ge){return ge!=null?ge:""}}),bt=(0,x.Z)(je,2),Te=bt[0],G=bt[1],R=function(ge){G(ge.target.value),Qe==null||Qe(ge)},V=P.useRef();P.useImperativeHandle(ze,function(){return{textArea:V.current}});var g=P.useMemo(function(){return Ae&&(0,pe.Z)(Ae)==="object"?[Ae.minRows,Ae.maxRows]:[]},[Ae]),fe=(0,x.Z)(g,2),z=fe[0],o=fe[1],f=!!Ae,se=function(){try{if(document.activeElement===V.current){var ge=V.current,Ze=ge.selectionStart,Ve=ge.selectionEnd,ot=ge.scrollTop;V.current.setSelectionRange(Ze,Ve),V.current.scrollTop=ot}}catch(Tt){}},q=P.useState(Oe),$=(0,x.Z)(q,2),N=$[0],U=$[1],ue=P.useState(),c=(0,x.Z)(ue,2),C=c[0],Xe=c[1],X=function(){U(y)};(0,Fe.Z)(function(){f&&X()},[at,z,o,f]),(0,Fe.Z)(function(){if(N===y)U(He);else if(N===He){var w=ae(V.current,!1,z,o);U(Oe),Xe(w)}else se()},[N]);var Le=P.useRef(),Ke=function(){Pe.Z.cancel(Le.current)},nt=function(ge){N===Oe&&(tt==null||tt(ge),Ae&&(Ke(),Le.current=(0,Pe.Z)(function(){X()})))};P.useEffect(function(){return Ke},[]);var lt=f?C:null,et=(0,i.Z)((0,i.Z)({},Se),lt);return(N===y||N===He)&&(et.overflowY="hidden",et.overflowX="hidden"),P.createElement(it.Z,{onResize:nt,disabled:!(Ae||tt)},P.createElement("textarea",(0,e.Z)({},Je,{ref:V,style:et,className:Z()(We,J,(0,d.Z)({},"".concat(We,"-disabled"),me)),disabled:me,value:Te,onChange:R})))}),Re=ne,de=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],H=P.forwardRef(function(T,ze){var xe,We=T.defaultValue,st=T.value,at=T.onFocus,Ae=T.onBlur,tt=T.onChange,J=T.allowClear,Se=T.maxLength,me=T.onCompositionStart,Qe=T.onCompositionEnd,ie=T.suffix,Je=T.prefixCls,je=Je===void 0?"rc-textarea":Je,bt=T.showCount,Te=T.count,G=T.className,R=T.style,V=T.disabled,g=T.hidden,fe=T.classNames,z=T.styles,o=T.onResize,f=T.onClear,se=T.onPressEnter,q=T.readOnly,$=T.autoSize,N=T.onKeyDown,U=(0,D.Z)(T,de),ue=(0,M.Z)(We,{value:st,defaultValue:We}),c=(0,x.Z)(ue,2),C=c[0],Xe=c[1],X=C==null?"":String(C),Le=P.useState(!1),Ke=(0,x.Z)(Le,2),nt=Ke[0],lt=Ke[1],et=P.useRef(!1),w=P.useState(null),ge=(0,x.Z)(w,2),Ze=ge[0],Ve=ge[1],ot=(0,P.useRef)(null),Tt=(0,P.useRef)(null),ct=function(){var Fn;return(Fn=Tt.current)===null||Fn===void 0?void 0:Fn.textArea},dt=function(){ct().focus()};(0,P.useImperativeHandle)(ze,function(){var bn;return{resizableTextArea:Tt.current,focus:dt,blur:function(){ct().blur()},nativeElement:((bn=ot.current)===null||bn===void 0?void 0:bn.nativeElement)||ct()}}),(0,P.useEffect)(function(){lt(function(bn){return!V&&bn})},[V]);var Rt=P.useState(null),Vt=(0,x.Z)(Rt,2),Ht=Vt[0],Xt=Vt[1];P.useEffect(function(){if(Ht){var bn;(bn=ct()).setSelectionRange.apply(bn,(0,L.Z)(Ht))}},[Ht]);var wt=(0,r.Z)(Te,bt),Ut=(xe=wt.max)!==null&&xe!==void 0?xe:Se,yt=Number(Ut)>0,Bt=wt.strategy(X),Pt=!!Ut&&Bt>Ut,kt=function(Fn,_n){var Jn=_n;!et.current&&wt.exceedFormatter&&wt.max&&wt.strategy(_n)>wt.max&&(Jn=wt.exceedFormatter(_n,{max:wt.max}),_n!==Jn&&Xt([ct().selectionStart||0,ct().selectionEnd||0])),Xe(Jn),(0,_.rJ)(Fn.currentTarget,Fn,tt,Jn)},Wt=function(Fn){et.current=!0,me==null||me(Fn)},pt=function(Fn){et.current=!1,kt(Fn,Fn.currentTarget.value),Qe==null||Qe(Fn)},Lt=function(Fn){kt(Fn,Fn.target.value)},ln=function(Fn){Fn.key==="Enter"&&se&&se(Fn),N==null||N(Fn)},rn=function(Fn){lt(!0),at==null||at(Fn)},xn=function(Fn){lt(!1),Ae==null||Ae(Fn)},Dn=function(Fn){Xe(""),dt(),(0,_.rJ)(ct(),Fn,tt)},Mn=ie,tn;wt.show&&(wt.showFormatter?tn=wt.showFormatter({value:X,count:Bt,maxLength:Ut}):tn="".concat(Bt).concat(yt?" / ".concat(Ut):""),Mn=P.createElement(P.Fragment,null,Mn,P.createElement("span",{className:Z()("".concat(je,"-data-count"),fe==null?void 0:fe.count),style:z==null?void 0:z.count},tn)));var Nn=function(Fn){var _n;o==null||o(Fn),(_n=ct())!==null&&_n!==void 0&&_n.style.height&&Ve(!0)},Pn=!$&&!bt&&!J;return P.createElement(K.BaseInput,{ref:ot,value:X,allowClear:J,handleReset:Dn,suffix:Mn,prefixCls:je,classNames:(0,i.Z)((0,i.Z)({},fe),{},{affixWrapper:Z()(fe==null?void 0:fe.affixWrapper,(0,d.Z)((0,d.Z)({},"".concat(je,"-show-count"),bt),"".concat(je,"-textarea-allow-clear"),J))}),disabled:V,focused:nt,className:Z()(G,Pt&&"".concat(je,"-out-of-range")),style:(0,i.Z)((0,i.Z)({},R),Ze&&!Pn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tn=="string"?tn:void 0}},hidden:g,readOnly:q,onClear:f},P.createElement(Re,(0,e.Z)({},U,{autoSize:$,maxLength:Se,onKeyDown:ln,onChange:Lt,onFocus:rn,onBlur:xn,onCompositionStart:Wt,onCompositionEnd:pt,className:Z()(fe==null?void 0:fe.textarea),style:(0,i.Z)((0,i.Z)({},z==null?void 0:z.textarea),{},{resize:R==null?void 0:R.resize}),disabled:V,prefixCls:je,onResize:Nn,ref:Tt,readOnly:q})))}),n=H,ce=n},29125:function(an,_e,t){t.d(_e,{G:function(){return L},Z:function(){return Ye}});var e=t(92310),d=t.n(e),i=t(59301);function L(b){var Ce=b.children,s=b.prefixCls,p=b.id,ae=b.overlayInnerStyle,le=b.bodyClassName,y=b.className,He=b.style;return i.createElement("div",{className:d()("".concat(s,"-content"),y),style:He},i.createElement("div",{className:d()("".concat(s,"-inner"),le),id:p,role:"tooltip",style:ae},typeof Ce=="function"?Ce():Ce))}var x=t(54476),D=t(33885),E=t(75931),Z=t(65030),K={shiftX:64,adjustY:1},r={adjustX:1,shiftY:!0},_=[0,0],M={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:_},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:_},top:{points:["bc","tc"],overflow:K,offset:[0,-4],targetOffset:_},bottom:{points:["tc","bc"],overflow:K,offset:[0,4],targetOffset:_},topLeft:{points:["bl","tl"],overflow:K,offset:[0,-4],targetOffset:_},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:_},topRight:{points:["br","tr"],overflow:K,offset:[0,-4],targetOffset:_},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:_},bottomRight:{points:["tr","br"],overflow:K,offset:[0,4],targetOffset:_},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:_},bottomLeft:{points:["tl","bl"],overflow:K,offset:[0,4],targetOffset:_},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:_}},P=null,pe=t(80402),it=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Fe=function(Ce,s){var p=Ce.overlayClassName,ae=Ce.trigger,le=ae===void 0?["hover"]:ae,y=Ce.mouseEnterDelay,He=y===void 0?0:y,Oe=Ce.mouseLeaveDelay,ne=Oe===void 0?.1:Oe,Re=Ce.overlayStyle,de=Ce.prefixCls,H=de===void 0?"rc-tooltip":de,n=Ce.children,ce=Ce.onVisibleChange,T=Ce.afterVisibleChange,ze=Ce.transitionName,xe=Ce.animation,We=Ce.motion,st=Ce.placement,at=st===void 0?"right":st,Ae=Ce.align,tt=Ae===void 0?{}:Ae,J=Ce.destroyTooltipOnHide,Se=J===void 0?!1:J,me=Ce.defaultVisible,Qe=Ce.getTooltipContainer,ie=Ce.overlayInnerStyle,Je=Ce.arrowContent,je=Ce.overlay,bt=Ce.id,Te=Ce.showArrow,G=Te===void 0?!0:Te,R=Ce.classNames,V=Ce.styles,g=(0,E.Z)(Ce,it),fe=(0,pe.Z)(bt),z=(0,i.useRef)(null);(0,i.useImperativeHandle)(s,function(){return z.current});var o=(0,D.Z)({},g);"visible"in Ce&&(o.popupVisible=Ce.visible);var f=function(){return i.createElement(L,{key:"content",prefixCls:H,id:fe,bodyClassName:R==null?void 0:R.body,overlayInnerStyle:(0,D.Z)((0,D.Z)({},ie),V==null?void 0:V.body)},je)},se=function(){var $=i.Children.only(n),N=($==null?void 0:$.props)||{},U=(0,D.Z)((0,D.Z)({},N),{},{"aria-describedby":je?fe:null});return i.cloneElement(n,U)};return i.createElement(Z.Z,(0,x.Z)({popupClassName:d()(p,R==null?void 0:R.root),prefixCls:H,popup:f,action:le,builtinPlacements:M,popupPlacement:at,ref:z,popupAlign:tt,getPopupContainer:Qe,onPopupVisibleChange:ce,afterPopupVisibleChange:T,popupTransitionName:ze,popupAnimation:xe,popupMotion:We,defaultPopupVisible:me,autoDestroy:Se,mouseLeaveDelay:ne,popupStyle:(0,D.Z)((0,D.Z)({},Re),V==null?void 0:V.root),mouseEnterDelay:He,arrow:G},o),se())},Pe=(0,i.forwardRef)(Fe),Ye=Pe},639:function(an,_e,t){t.d(_e,{Z:function(){return Ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(42978),x=t(75931),D=t(59301),E=t(92310),Z=t.n(E),K=t(26112),r=t(30699),_=function(p){for(var ae=p.prefixCls,le=p.level,y=p.isStart,He=p.isEnd,Oe="".concat(ae,"-indent-unit"),ne=[],Re=0;Re0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=g.length,o=fe.length;if(Math.abs(z-o)!==1)return{add:!1,key:null};function f(se,q){var $=new Map;se.forEach(function(U){$.set(U,!0)});var N=q.filter(function(U){return!$.has(U)});return N.length===1?N[0]:null}return z ").concat(fe);return fe}var Qe=Fe.forwardRef(function(g,fe){var z=g.prefixCls,o=g.data,f=g.selectable,se=g.checkable,q=g.expandedKeys,$=g.selectedKeys,N=g.checkedKeys,U=g.loadedKeys,ue=g.loadingKeys,c=g.halfCheckedKeys,C=g.keyEntities,Xe=g.disabled,X=g.dragging,Le=g.dragOverNodeKey,Ke=g.dropPosition,nt=g.motion,lt=g.height,et=g.itemHeight,w=g.virtual,ge=g.scrollWidth,Ze=g.focusable,Ve=g.activeItem,ot=g.focused,Tt=g.tabIndex,ct=g.onKeyDown,dt=g.onFocus,Rt=g.onBlur,Vt=g.onActiveChange,Ht=g.onListChangeStart,Xt=g.onListChangeEnd,wt=(0,p.Z)(g,ze),Ut=Fe.useRef(null),yt=Fe.useRef(null);Fe.useImperativeHandle(fe,function(){return{scrollTo:function(re){Ut.current.scrollTo(re)},getIndentWidth:function(){return yt.current.offsetWidth}}});var Bt=Fe.useState(q),Pt=(0,s.Z)(Bt,2),kt=Pt[0],Wt=Pt[1],pt=Fe.useState(o),Lt=(0,s.Z)(pt,2),ln=Lt[0],rn=Lt[1],xn=Fe.useState(o),Dn=(0,s.Z)(xn,2),Mn=Dn[0],tn=Dn[1],Nn=Fe.useState([]),Pn=(0,s.Z)(Nn,2),bn=Pn[0],Fn=Pn[1],_n=Fe.useState(null),Jn=(0,s.Z)(_n,2),Be=Jn[0],Ie=Jn[1],I=Fe.useRef(o);I.current=o;function k(){var m=I.current;rn(m),tn(m),Fn([]),Ie(null),Xt()}(0,ae.Z)(function(){Wt(q);var m=ce(kt,q);if(m.key!==null)if(m.add){var re=ln.findIndex(function(j){var O=j.key;return O===m.key}),De=J(T(ln,o,m.key),w,lt,et),u=ln.slice();u.splice(re+1,0,tt),tn(u),Fn(De),Ie("show")}else{var S=o.findIndex(function(j){var O=j.key;return O===m.key}),A=J(T(o,ln,m.key),w,lt,et),ve=o.slice();ve.splice(S+1,0,tt),tn(ve),Fn(A),Ie("hide")}else ln!==o&&(rn(o),tn(o))},[q,o]),Fe.useEffect(function(){X||k()},[X]);var be=nt?Mn:o,ye={expandedKeys:q,selectedKeys:$,loadedKeys:U,loadingKeys:ue,checkedKeys:N,halfCheckedKeys:c,dragOverNodeKey:Le,dropPosition:Ke,keyEntities:C};return Fe.createElement(Fe.Fragment,null,ot&&Ve&&Fe.createElement("span",{style:xe,"aria-live":"assertive"},me(Ve)),Fe.createElement("div",null,Fe.createElement("input",{style:xe,disabled:Ze===!1||Xe,tabIndex:Ze!==!1?Tt:null,onKeyDown:ct,onFocus:dt,onBlur:Rt,value:"",onChange:We,"aria-label":"for screen reader"})),Fe.createElement("div",{className:"".concat(z,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Fe.createElement("div",{className:"".concat(z,"-indent")},Fe.createElement("div",{ref:yt,className:"".concat(z,"-indent-unit")}))),Fe.createElement(le.Z,(0,e.Z)({},wt,{data:be,itemKey:Se,height:lt,fullHeight:!1,virtual:w,itemHeight:et,scrollWidth:ge,prefixCls:"".concat(z,"-list"),ref:Ut,role:"tree",onVisibleChange:function(re){re.every(function(De){return Se(De)!==st})&&k()}}),function(m){var re=m.pos,De=Object.assign({},(Ce(m.data),m.data)),u=m.title,S=m.key,A=m.isStart,ve=m.isEnd,j=(0,Re.km)(S,re);delete De.key,delete De.children;var O=(0,Re.H8)(j,ye);return Fe.createElement(n,(0,e.Z)({},De,O,{title:u,active:!!Ve&&S===Ve.key,pos:re,data:m.data,isStart:A,isEnd:ve,motion:nt,motionNodes:S===st?bn:null,motionType:Be,onMotionStart:Ht,onMotionEnd:k,treeNodeRequiredProps:ye,onMouseMove:function(){Vt(null)}}))}))}),ie=Qe,Je=t(82661),je=t(34643),bt=t(65065),Te=10,G=function(g){(0,Z.Z)(z,g);var fe=(0,K.Z)(z);function z(){var o;(0,x.Z)(this,z);for(var f=arguments.length,se=new Array(f),q=0;q2&&arguments[2]!==void 0?arguments[2]:!1,c=o.state,C=c.dragChildrenKeys,Xe=c.dropPosition,X=c.dropTargetKey,Le=c.dropTargetPos,Ke=c.dropAllowed;if(Ke){var nt=o.props.onDrop;if(o.setState({dragOverNodeKey:null}),o.cleanDragState(),X!==null){var lt=(0,i.Z)((0,i.Z)({},(0,Re.H8)(X,o.getTreeNodeRequiredProps())),{},{active:((U=o.getActiveItem())===null||U===void 0?void 0:U.key)===X,data:(0,bt.Z)(o.state.keyEntities,X).node}),et=C.includes(X);(0,it.ZP)(!et,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=(0,Je.yx)(Le),ge={event:$,node:(0,Re.F)(lt),dragNode:o.dragNodeProps?(0,Re.F)(o.dragNodeProps):null,dragNodesKeys:[o.dragNodeProps.eventKey].concat(C),dropToGap:Xe!==0,dropPosition:Xe+Number(w[w.length-1])};ue||nt==null||nt(ge),o.dragNodeProps=null}}}),(0,r.Z)((0,E.Z)(o),"cleanDragState",function(){var $=o.state.draggingNodeKey;$!==null&&o.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),o.dragStartMousePosition=null,o.currentMouseOverDroppableNodeKey=null}),(0,r.Z)((0,E.Z)(o),"triggerExpandActionExpand",function($,N){var U=o.state,ue=U.expandedKeys,c=U.flattenNodes,C=N.expanded,Xe=N.key,X=N.isLeaf;if(!(X||$.shiftKey||$.metaKey||$.ctrlKey)){var Le=c.filter(function(nt){return nt.key===Xe})[0],Ke=(0,Re.F)((0,i.Z)((0,i.Z)({},(0,Re.H8)(Xe,o.getTreeNodeRequiredProps())),{},{data:Le.data}));o.setExpandedKeys(C?(0,Je._5)(ue,Xe):(0,Je.L0)(ue,Xe)),o.onNodeExpand($,Ke)}}),(0,r.Z)((0,E.Z)(o),"onNodeClick",function($,N){var U=o.props,ue=U.onClick,c=U.expandAction;c==="click"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeDoubleClick",function($,N){var U=o.props,ue=U.onDoubleClick,c=U.expandAction;c==="doubleClick"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeSelect",function($,N){var U=o.state.selectedKeys,ue=o.state,c=ue.keyEntities,C=ue.fieldNames,Xe=o.props,X=Xe.onSelect,Le=Xe.multiple,Ke=N.selected,nt=N[C.key],lt=!Ke;lt?Le?U=(0,Je.L0)(U,nt):U=[nt]:U=(0,Je._5)(U,nt);var et=U.map(function(w){var ge=(0,bt.Z)(c,w);return ge?ge.node:null}).filter(Boolean);o.setUncontrolledState({selectedKeys:U}),X==null||X(U,{event:"select",selected:lt,node:N,selectedNodes:et,nativeEvent:$.nativeEvent})}),(0,r.Z)((0,E.Z)(o),"onNodeCheck",function($,N,U){var ue=o.state,c=ue.keyEntities,C=ue.checkedKeys,Xe=ue.halfCheckedKeys,X=o.props,Le=X.checkStrictly,Ke=X.onCheck,nt=N.key,lt,et={event:"check",node:N,checked:U,nativeEvent:$.nativeEvent};if(Le){var w=U?(0,Je.L0)(C,nt):(0,Je._5)(C,nt),ge=(0,Je._5)(Xe,nt);lt={checked:w,halfChecked:ge},et.checkedNodes=w.map(function(dt){return(0,bt.Z)(c,dt)}).filter(Boolean).map(function(dt){return dt.node}),o.setUncontrolledState({checkedKeys:w})}else{var Ze=(0,je.S)([].concat((0,L.Z)(C),[nt]),!0,c),Ve=Ze.checkedKeys,ot=Ze.halfCheckedKeys;if(!U){var Tt=new Set(Ve);Tt.delete(nt);var ct=(0,je.S)(Array.from(Tt),{checked:!1,halfCheckedKeys:ot},c);Ve=ct.checkedKeys,ot=ct.halfCheckedKeys}lt=Ve,et.checkedNodes=[],et.checkedNodesPositions=[],et.halfCheckedKeys=ot,Ve.forEach(function(dt){var Rt=(0,bt.Z)(c,dt);if(Rt){var Vt=Rt.node,Ht=Rt.pos;et.checkedNodes.push(Vt),et.checkedNodesPositions.push({node:Vt,pos:Ht})}}),o.setUncontrolledState({checkedKeys:Ve},!1,{halfCheckedKeys:ot})}Ke==null||Ke(lt,et)}),(0,r.Z)((0,E.Z)(o),"onNodeLoad",function($){var N,U=$.key,ue=o.state.keyEntities,c=(0,bt.Z)(ue,U);if(!(c!=null&&(N=c.children)!==null&&N!==void 0&&N.length)){var C=new Promise(function(Xe,X){o.setState(function(Le){var Ke=Le.loadedKeys,nt=Ke===void 0?[]:Ke,lt=Le.loadingKeys,et=lt===void 0?[]:lt,w=o.props,ge=w.loadData,Ze=w.onLoad;if(!ge||nt.includes(U)||et.includes(U))return null;var Ve=ge($);return Ve.then(function(){var ot=o.state.loadedKeys,Tt=(0,Je.L0)(ot,U);Ze==null||Ze(Tt,{event:"load",node:$}),o.setUncontrolledState({loadedKeys:Tt}),o.setState(function(ct){return{loadingKeys:(0,Je._5)(ct.loadingKeys,U)}}),Xe()}).catch(function(ot){if(o.setState(function(ct){return{loadingKeys:(0,Je._5)(ct.loadingKeys,U)}}),o.loadingRetryTimes[U]=(o.loadingRetryTimes[U]||0)+1,o.loadingRetryTimes[U]>=Te){var Tt=o.state.loadedKeys;(0,it.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),o.setUncontrolledState({loadedKeys:(0,Je.L0)(Tt,U)}),Xe()}X(ot)}),{loadingKeys:(0,Je.L0)(et,U)}})});return C.catch(function(){}),C}}),(0,r.Z)((0,E.Z)(o),"onNodeMouseEnter",function($,N){var U=o.props.onMouseEnter;U==null||U({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeMouseLeave",function($,N){var U=o.props.onMouseLeave;U==null||U({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeContextMenu",function($,N){var U=o.props.onRightClick;U&&($.preventDefault(),U({event:$,node:N}))}),(0,r.Z)((0,E.Z)(o),"onFocus",function(){var $=o.props.onFocus;o.setState({focused:!0});for(var N=arguments.length,U=new Array(N),ue=0;ue1&&arguments[1]!==void 0?arguments[1]:!1,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!o.destroyed){var ue=!1,c=!0,C={};Object.keys($).forEach(function(Xe){if(o.props.hasOwnProperty(Xe)){c=!1;return}ue=!0,C[Xe]=$[Xe]}),ue&&(!N||c)&&o.setState((0,i.Z)((0,i.Z)({},C),U))}}),(0,r.Z)((0,E.Z)(o),"scrollTo",function($){o.listRef.current.scrollTo($)}),o}return(0,D.Z)(z,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var f=this.props,se=f.activeKey,q=f.itemScrollOffset,$=q===void 0?0:q;se!==void 0&&se!==this.state.activeKey&&(this.setState({activeKey:se}),se!==null&&this.scrollTo({key:se,offset:$}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var f=this.state,se=f.focused,q=f.flattenNodes,$=f.keyEntities,N=f.draggingNodeKey,U=f.activeKey,ue=f.dropLevelOffset,c=f.dropContainerKey,C=f.dropTargetKey,Xe=f.dropPosition,X=f.dragOverNodeKey,Le=f.indent,Ke=this.props,nt=Ke.prefixCls,lt=Ke.className,et=Ke.style,w=Ke.showLine,ge=Ke.focusable,Ze=Ke.tabIndex,Ve=Ze===void 0?0:Ze,ot=Ke.selectable,Tt=Ke.showIcon,ct=Ke.icon,dt=Ke.switcherIcon,Rt=Ke.draggable,Vt=Ke.checkable,Ht=Ke.checkStrictly,Xt=Ke.disabled,wt=Ke.motion,Ut=Ke.loadData,yt=Ke.filterTreeNode,Bt=Ke.height,Pt=Ke.itemHeight,kt=Ke.scrollWidth,Wt=Ke.virtual,pt=Ke.titleRender,Lt=Ke.dropIndicatorRender,ln=Ke.onContextMenu,rn=Ke.onScroll,xn=Ke.direction,Dn=Ke.rootClassName,Mn=Ke.rootStyle,tn=(0,pe.Z)(this.props,{aria:!0,data:!0}),Nn;Rt&&((0,d.Z)(Rt)==="object"?Nn=Rt:typeof Rt=="function"?Nn={nodeDraggable:Rt}:Nn={});var Pn={prefixCls:nt,selectable:ot,showIcon:Tt,icon:ct,switcherIcon:dt,draggable:Nn,draggingNodeKey:N,checkable:Vt,checkStrictly:Ht,disabled:Xt,keyEntities:$,dropLevelOffset:ue,dropContainerKey:c,dropTargetKey:C,dropPosition:Xe,dragOverNodeKey:X,indent:Le,direction:xn,dropIndicatorRender:Lt,loadData:Ut,filterTreeNode:yt,titleRender:pt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Fe.createElement(Pe.k.Provider,{value:Pn},Fe.createElement("div",{className:M()(nt,lt,Dn,(0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(nt,"-show-line"),w),"".concat(nt,"-focused"),se),"".concat(nt,"-active-focused"),U!==null)),style:Mn},Fe.createElement(ie,(0,e.Z)({ref:this.listRef,prefixCls:nt,style:et,data:q,disabled:Xt,selectable:ot,checkable:!!Vt,motion:wt,dragging:N!==null,height:Bt,itemHeight:Pt,virtual:Wt,focusable:ge,focused:se,tabIndex:Ve,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ln,onScroll:rn,scrollWidth:kt},this.getTreeNodeRequiredProps(),tn))))}}],[{key:"getDerivedStateFromProps",value:function(f,se){var q=se.prevProps,$={prevProps:f};function N(Ve){return!q&&f.hasOwnProperty(Ve)||q&&q[Ve]!==f[Ve]}var U,ue=se.fieldNames;if(N("fieldNames")&&(ue=(0,Re.w$)(f.fieldNames),$.fieldNames=ue),N("treeData")?U=f.treeData:N("children")&&((0,it.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),U=(0,Re.zn)(f.children)),U){$.treeData=U;var c=(0,Re.I8)(U,{fieldNames:ue});$.keyEntities=(0,i.Z)((0,r.Z)({},st,Ae),c.keyEntities)}var C=$.keyEntities||se.keyEntities;if(N("expandedKeys")||q&&N("autoExpandParent"))$.expandedKeys=f.autoExpandParent||!q&&f.defaultExpandParent?(0,Je.r7)(f.expandedKeys,C):f.expandedKeys;else if(!q&&f.defaultExpandAll){var Xe=(0,i.Z)({},C);delete Xe[st];var X=[];Object.keys(Xe).forEach(function(Ve){var ot=Xe[Ve];ot.children&&ot.children.length&&X.push(ot.key)}),$.expandedKeys=X}else!q&&f.defaultExpandedKeys&&($.expandedKeys=f.autoExpandParent||f.defaultExpandParent?(0,Je.r7)(f.defaultExpandedKeys,C):f.defaultExpandedKeys);if($.expandedKeys||delete $.expandedKeys,U||$.expandedKeys){var Le=(0,Re.oH)(U||se.treeData,$.expandedKeys||se.expandedKeys,ue);$.flattenNodes=Le}if(f.selectable&&(N("selectedKeys")?$.selectedKeys=(0,Je.BT)(f.selectedKeys,f):!q&&f.defaultSelectedKeys&&($.selectedKeys=(0,Je.BT)(f.defaultSelectedKeys,f))),f.checkable){var Ke;if(N("checkedKeys")?Ke=(0,Je.E6)(f.checkedKeys)||{}:!q&&f.defaultCheckedKeys?Ke=(0,Je.E6)(f.defaultCheckedKeys)||{}:U&&(Ke=(0,Je.E6)(f.checkedKeys)||{checkedKeys:se.checkedKeys,halfCheckedKeys:se.halfCheckedKeys}),Ke){var nt=Ke,lt=nt.checkedKeys,et=lt===void 0?[]:lt,w=nt.halfCheckedKeys,ge=w===void 0?[]:w;if(!f.checkStrictly){var Ze=(0,je.S)(et,!0,C);et=Ze.checkedKeys,ge=Ze.halfCheckedKeys}$.checkedKeys=et,$.halfCheckedKeys=ge}}return N("loadedKeys")&&($.loadedKeys=f.loadedKeys),$}}]),z}(Fe.Component);(0,r.Z)(G,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1}),(0,r.Z)(G,"TreeNode",He.Z);var R=G,V=R},82661:function(an,_e,t){t.d(_e,{BT:function(){return Fe},E6:function(){return b},L0:function(){return r},OM:function(){return it},_5:function(){return K},r7:function(){return Ce},wA:function(){return M},yx:function(){return _}});var e=t(94480),d=t(76190),i=t(48736),L=t(59301),x=t(639),D=t(65065),E=t(34061),Z=null;function K(s,p){if(!s)return[];var ae=s.slice(),le=ae.indexOf(p);return le>=0&&ae.splice(le,1),ae}function r(s,p){var ae=(s||[]).slice();return ae.indexOf(p)===-1&&ae.push(p),ae}function _(s){return s.split("-")}function M(s,p){var ae=[],le=(0,D.Z)(p,s);function y(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];He.forEach(function(Oe){var ne=Oe.key,Re=Oe.children;ae.push(ne),y(Re)})}return y(le.children),ae}function P(s){if(s.parent){var p=_(s.pos);return Number(p[p.length-1])===s.parent.children.length-1}return!1}function pe(s){var p=_(s.pos);return Number(p[p.length-1])===0}function it(s,p,ae,le,y,He,Oe,ne,Re,de){var H,n=s.clientX,ce=s.clientY,T=s.target.getBoundingClientRect(),ze=T.top,xe=T.height,We=(de==="rtl"?-1:1)*(((y==null?void 0:y.x)||0)-n),st=(We-12)/le,at=Re.filter(function(V){var g;return(g=ne[V])===null||g===void 0||(g=g.children)===null||g===void 0?void 0:g.length}),Ae=(0,D.Z)(ne,ae.eventKey);if(ce-1.5?He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1:He({dragNode:Te,dropNode:G,dropPosition:0})?Je=0:He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1:He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1,{dropPosition:Je,dropLevelOffset:je,dropTargetKey:Ae.key,dropTargetPos:Ae.pos,dragOverNodeKey:ie,dropContainerKey:Je===0?null:((H=Ae.parent)===null||H===void 0?void 0:H.key)||null,dropAllowed:R}}function Fe(s,p){if(s){var ae=p.multiple;return ae?s.slice():s.length?[s[0]]:s}}var Pe=function(p){return p};function Ye(s,p){if(!s)return[];var ae=p||{},le=ae.processProps,y=le===void 0?Pe:le,He=Array.isArray(s)?s:[s];return He.map(function(Oe){var ne=Oe.children,Re=_objectWithoutProperties(Oe,Z),de=Ye(ne,p);return React.createElement(TreeNode,_extends({key:Re.key},y(Re)),de)})}function b(s){if(!s)return null;var p;if(Array.isArray(s))p={checkedKeys:s,halfCheckedKeys:void 0};else if((0,d.Z)(s)==="object")p={checkedKeys:s.checked||void 0,halfCheckedKeys:s.halfChecked||void 0};else return(0,i.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return p}function Ce(s,p){var ae=new Set;function le(y){if(!ae.has(y)){var He=(0,D.Z)(p,y);if(He){ae.add(y);var Oe=He.parent,ne=He.node;ne.disabled||Oe&&le(Oe.key)}}}return(s||[]).forEach(function(y){le(y)}),(0,e.Z)(ae)}},34643:function(an,_e,t){t.d(_e,{S:function(){return E}});var e=t(48736),d=t(65065);function i(Z,K){var r=new Set;return Z.forEach(function(_){K.has(_)||r.add(_)}),r}function L(Z){var K=Z||{},r=K.disabled,_=K.disableCheckbox,M=K.checkable;return!!(r||_)||M===!1}function x(Z,K,r,_){for(var M=new Set(Z),P=new Set,pe=0;pe<=r;pe+=1){var it=K.get(pe)||new Set;it.forEach(function(b){var Ce=b.key,s=b.node,p=b.children,ae=p===void 0?[]:p;M.has(Ce)&&!_(s)&&ae.filter(function(le){return!_(le.node)}).forEach(function(le){M.add(le.key)})})}for(var Fe=new Set,Pe=r;Pe>=0;Pe-=1){var Ye=K.get(Pe)||new Set;Ye.forEach(function(b){var Ce=b.parent,s=b.node;if(!(_(s)||!b.parent||Fe.has(b.parent.key))){if(_(b.parent.node)){Fe.add(Ce.key);return}var p=!0,ae=!1;(Ce.children||[]).filter(function(le){return!_(le.node)}).forEach(function(le){var y=le.key,He=M.has(y);p&&!He&&(p=!1),!ae&&(He||P.has(y))&&(ae=!0)}),p&&M.add(Ce.key),ae&&P.add(Ce.key),Fe.add(Ce.key)}})}return{checkedKeys:Array.from(M),halfCheckedKeys:Array.from(i(P,M))}}function D(Z,K,r,_,M){for(var P=new Set(Z),pe=new Set(K),it=0;it<=_;it+=1){var Fe=r.get(it)||new Set;Fe.forEach(function(Ce){var s=Ce.key,p=Ce.node,ae=Ce.children,le=ae===void 0?[]:ae;!P.has(s)&&!pe.has(s)&&!M(p)&&le.filter(function(y){return!M(y.node)}).forEach(function(y){P.delete(y.key)})})}pe=new Set;for(var Pe=new Set,Ye=_;Ye>=0;Ye-=1){var b=r.get(Ye)||new Set;b.forEach(function(Ce){var s=Ce.parent,p=Ce.node;if(!(M(p)||!Ce.parent||Pe.has(Ce.parent.key))){if(M(Ce.parent.node)){Pe.add(s.key);return}var ae=!0,le=!1;(s.children||[]).filter(function(y){return!M(y.node)}).forEach(function(y){var He=y.key,Oe=P.has(He);ae&&!Oe&&(ae=!1),!le&&(Oe||pe.has(He))&&(le=!0)}),ae||P.delete(s.key),le&&pe.add(s.key),Pe.add(s.key)}})}return{checkedKeys:Array.from(P),halfCheckedKeys:Array.from(i(pe,P))}}function E(Z,K,r,_){var M=[],P;_?P=_:P=L;var pe=new Set(Z.filter(function(Ye){var b=!!(0,d.Z)(r,Ye);return b||M.push(Ye),b})),it=new Map,Fe=0;Object.keys(r).forEach(function(Ye){var b=r[Ye],Ce=b.level,s=it.get(Ce);s||(s=new Set,it.set(Ce,s)),s.add(b),Fe=Math.max(Fe,Ce)}),(0,e.ZP)(!M.length,"Tree missing follow keys: ".concat(M.slice(0,100).map(function(Ye){return"'".concat(Ye,"'")}).join(", ")));var Pe;return K===!0?Pe=x(pe,it,Fe,P):Pe=D(pe,K.halfCheckedKeys,it,Fe,P),Pe}},65065:function(an,_e,t){t.d(_e,{Z:function(){return e}});function e(d,i){return d[i]}},34061:function(an,_e,t){t.d(_e,{F:function(){return Ce},H8:function(){return b},I8:function(){return Ye},km:function(){return M},oH:function(){return Fe},w$:function(){return P},zn:function(){return it}});var e=t(76190),d=t(94480),i=t(33885),L=t(75931),x=t(11592),D=t(2738),E=t(48736),Z=t(65065),K=["children"];function r(s,p){return"".concat(s,"-").concat(p)}function _(s){return s&&s.type&&s.type.isTreeNode}function M(s,p){return s!=null?s:p}function P(s){var p=s||{},ae=p.title,le=p._title,y=p.key,He=p.children,Oe=ae||"title";return{title:Oe,_title:le||[Oe],key:y||"key",children:He||"children"}}function pe(s,p){var ae=new Map;function le(y){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(Oe){var ne=Oe[p.key],Re=Oe[p.children];warning(ne!=null,"Tree node must have a certain key: [".concat(He).concat(ne,"]"));var de=String(ne);warning(!ae.has(de)||ne===null||ne===void 0,"Same 'key' exist in the Tree: ".concat(de)),ae.set(de,!0),le(Re,"".concat(He).concat(de," > "))})}le(s)}function it(s){function p(ae){var le=(0,x.Z)(ae);return le.map(function(y){if(!_(y))return(0,E.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var He=y.key,Oe=y.props,ne=Oe.children,Re=(0,L.Z)(Oe,K),de=(0,i.Z)({key:He},Re),H=p(ne);return H.length&&(de.children=H),de}).filter(function(y){return y})}return p(s)}function Fe(s,p,ae){var le=P(ae),y=le._title,He=le.key,Oe=le.children,ne=new Set(p===!0?[]:p),Re=[];function de(H){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return H.map(function(ce,T){for(var ze=r(n?n.pos:"0",T),xe=M(ce[He],ze),We,st=0;st1&&arguments[1]!==void 0?arguments[1]:{},ae=p.initWrapper,le=p.processEntity,y=p.onProcessFinished,He=p.externalGetKey,Oe=p.childrenPropName,ne=p.fieldNames,Re=arguments.length>2?arguments[2]:void 0,de=He||Re,H={},n={},ce={posEntities:H,keyEntities:n};return ae&&(ce=ae(ce)||ce),Pe(s,function(T){var ze=T.node,xe=T.index,We=T.pos,st=T.key,at=T.parentPos,Ae=T.level,tt=T.nodes,J={node:ze,nodes:tt,index:xe,key:st,pos:We,level:Ae},Se=M(st,We);H[We]=J,n[Se]=J,J.parent=H[at],J.parent&&(J.parent.children=J.parent.children||[],J.parent.children.push(J)),le&&le(J,ce)},{externalGetKey:de,childrenPropName:Oe,fieldNames:ne}),y&&y(ce),ce}function b(s,p){var ae=p.expandedKeys,le=p.selectedKeys,y=p.loadedKeys,He=p.loadingKeys,Oe=p.checkedKeys,ne=p.halfCheckedKeys,Re=p.dragOverNodeKey,de=p.dropPosition,H=p.keyEntities,n=(0,Z.Z)(H,s),ce={eventKey:s,expanded:ae.indexOf(s)!==-1,selected:le.indexOf(s)!==-1,loaded:y.indexOf(s)!==-1,loading:He.indexOf(s)!==-1,checked:Oe.indexOf(s)!==-1,halfChecked:ne.indexOf(s)!==-1,pos:String(n?n.pos:""),dragOver:Re===s&&de===0,dragOverGapTop:Re===s&&de===-1,dragOverGapBottom:Re===s&&de===1};return ce}function Ce(s){var p=s.data,ae=s.expanded,le=s.selected,y=s.checked,He=s.loaded,Oe=s.loading,ne=s.halfChecked,Re=s.dragOver,de=s.dragOverGapTop,H=s.dragOverGapBottom,n=s.pos,ce=s.active,T=s.eventKey,ze=(0,i.Z)((0,i.Z)({},p),{},{expanded:ae,selected:le,checked:y,loaded:He,loading:Oe,halfChecked:ne,dragOver:Re,dragOverGapTop:de,dragOverGapBottom:H,pos:n,active:ce,key:T});return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),s}}),ze}},8224:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(4676);function d(i,L,x,D){var E=e.unstable_batchedUpdates?function(K){e.unstable_batchedUpdates(x,K)}:x;return i!=null&&i.addEventListener&&i.addEventListener(L,E,D),{remove:function(){i!=null&&i.removeEventListener&&i.removeEventListener(L,E,D)}}}},24514:function(an,_e,t){t.d(_e,{G:function(){return L}});var e=t(47273),d=function(D){if((0,e.Z)()&&window.document.documentElement){var E=Array.isArray(D)?D:[D],Z=window.document.documentElement;return E.some(function(K){return K in Z.style})}return!1},i=function(D,E){if(!d(D))return!1;var Z=document.createElement("div"),K=Z.style[D];return Z.style[D]=E,Z.style[D]!==K};function L(x,D){return!Array.isArray(x)&&D!==void 0?i(x,D):d(x)}},49658:function(an,_e){_e.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(an,_e,t){t.d(_e,{Z:function(){return Te}});var e=t(54476),d=t(76190),i=t(33885),L=t(20068),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(29301),r=t(70425),_=t(34280),M=t(59301),P=t(4676),pe=M.forwardRef(function(G,R){var V=G.height,g=G.offsetY,fe=G.offsetX,z=G.children,o=G.prefixCls,f=G.onInnerResize,se=G.innerProps,q=G.rtl,$=G.extra,N={},U={display:"flex",flexDirection:"column"};return g!==void 0&&(N={height:V,position:"relative",overflow:"hidden"},U=(0,i.Z)((0,i.Z)({},U),{},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({transform:"translateY(".concat(g,"px)")},q?"marginRight":"marginLeft",-fe),"position","absolute"),"left",0),"right",0),"top",0))),M.createElement("div",{style:N},M.createElement(K.Z,{onResize:function(c){var C=c.offsetHeight;C&&f&&f()}},M.createElement("div",(0,e.Z)({style:U,className:Z()((0,L.Z)({},"".concat(o,"-holder-inner"),o)),ref:R},se),z,$)))});pe.displayName="Filler";var it=pe;function Fe(G){var R=G.children,V=G.setRef,g=M.useCallback(function(fe){V(fe)},[]);return M.cloneElement(R,{ref:g})}function Pe(G,R,V,g,fe,z,o,f){var se=f.getKey;return G.slice(R,V+1).map(function(q,$){var N=R+$,U=o(q,N,{style:{width:g},offsetX:fe}),ue=se(q);return M.createElement(Fe,{key:ue,setRef:function(C){return z(q,C)}},U)})}function Ye(G,R,V,g){var fe=V-G,z=R-V,o=Math.min(fe,z)*2;if(g<=o){var f=Math.floor(g/2);return g%2?V+f+1:V-f}return fe>z?V-(g-z):V+(g-fe)}function b(G,R,V){var g=G.length,fe=R.length,z,o;if(g===0&&fe===0)return null;g2&&arguments[2]!==void 0?arguments[2]:!1,N=se?q<0&&f.current.left||q>0&&f.current.right:q<0&&f.current.top||q>0&&f.current.bottom;return $&&N?(clearTimeout(z.current),fe.current=!1):(!N||fe.current)&&o(),!fe.current&&N}};function y(G,R,V,g,fe,z,o){var f=(0,M.useRef)(0),se=(0,M.useRef)(null),q=(0,M.useRef)(null),$=(0,M.useRef)(!1),N=le(R,V,g,fe);function U(Le,Ke){if(s.Z.cancel(se.current),!N(!1,Ke)){var nt=Le;if(!nt._virtualHandled)nt._virtualHandled=!0;else return;f.current+=Ke,q.current=Ke,ae||nt.preventDefault(),se.current=(0,s.Z)(function(){var lt=$.current?10:1;o(f.current*lt,!1),f.current=0})}}function ue(Le,Ke){o(Ke,!0),ae||Le.preventDefault()}var c=(0,M.useRef)(null),C=(0,M.useRef)(null);function Xe(Le){if(G){s.Z.cancel(C.current),C.current=(0,s.Z)(function(){c.current=null},2);var Ke=Le.deltaX,nt=Le.deltaY,lt=Le.shiftKey,et=Ke,w=nt;(c.current==="sx"||!c.current&<&&nt&&!Ke)&&(et=nt,w=0,c.current="sx");var ge=Math.abs(et),Ze=Math.abs(w);c.current===null&&(c.current=z&&ge>Ze?"x":"y"),c.current==="y"?U(Le,w):ue(Le,et)}}function X(Le){G&&($.current=Le.detail===q.current)}return[Xe,X]}function He(G,R,V,g){var fe=M.useMemo(function(){return[new Map,[]]},[G,V.id,g]),z=(0,x.Z)(fe,2),o=z[0],f=z[1],se=function($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,U=o.get($),ue=o.get(N);if(U===void 0||ue===void 0)for(var c=G.length,C=f.length;C0&&arguments[0]!==void 0?arguments[0]:!1;$();var c=function(){var X=!1;f.current.forEach(function(Le,Ke){if(Le&&Le.offsetParent){var nt=Le.offsetHeight,lt=getComputedStyle(Le),et=lt.marginTop,w=lt.marginBottom,ge=H(et),Ze=H(w),Ve=nt+ge+Ze;se.current.get(Ke)!==Ve&&(se.current.set(Ke,Ve),X=!0)}}),X&&o(function(Le){return Le+1})};if(ue)c();else{q.current+=1;var C=q.current;Promise.resolve().then(function(){C===q.current&&c()})}}function U(ue,c){var C=G(ue),Xe=f.current.get(C);c?(f.current.set(C,c),N()):f.current.delete(C),!Xe!=!c&&(c?R==null||R(ue):V==null||V(ue))}return(0,M.useEffect)(function(){return $},[]),[U,N,se.current,z]}var ce=14/15;function T(G,R,V){var g=(0,M.useRef)(!1),fe=(0,M.useRef)(0),z=(0,M.useRef)(0),o=(0,M.useRef)(null),f=(0,M.useRef)(null),se,q=function(ue){if(g.current){var c=Math.ceil(ue.touches[0].pageX),C=Math.ceil(ue.touches[0].pageY),Xe=fe.current-c,X=z.current-C,Le=Math.abs(Xe)>Math.abs(X);Le?fe.current=c:z.current=C;var Ke=V(Le,Le?Xe:X,!1,ue);Ke&&ue.preventDefault(),clearInterval(f.current),Ke&&(f.current=setInterval(function(){Le?Xe*=ce:X*=ce;var nt=Math.floor(Le?Xe:X);(!V(Le,nt,!0)||Math.abs(nt)<=.1)&&clearInterval(f.current)},16))}},$=function(){g.current=!1,se()},N=function(ue){se(),ue.touches.length===1&&!g.current&&(g.current=!0,fe.current=Math.ceil(ue.touches[0].pageX),z.current=Math.ceil(ue.touches[0].pageY),o.current=ue.target,o.current.addEventListener("touchmove",q,{passive:!1}),o.current.addEventListener("touchend",$,{passive:!0}))};se=function(){o.current&&(o.current.removeEventListener("touchmove",q),o.current.removeEventListener("touchend",$))},(0,_.Z)(function(){return G&&R.current.addEventListener("touchstart",N,{passive:!0}),function(){var U;(U=R.current)===null||U===void 0||U.removeEventListener("touchstart",N),se(),clearInterval(f.current)}},[G])}function ze(G){return Math.floor(Math.pow(G,.5))}function xe(G,R){var V="touches"in G?G.touches[0]:G;return V[R?"pageX":"pageY"]-window[R?"scrollX":"scrollY"]}function We(G,R,V){M.useEffect(function(){var g=R.current;if(G&&g){var fe=!1,z,o,f=function(){s.Z.cancel(z)},se=function U(){f(),z=(0,s.Z)(function(){V(o),U()})},q=function(){fe=!1,f()},$=function(ue){if(!(ue.target.draggable||ue.button!==0)){var c=ue;c._virtualHandled||(c._virtualHandled=!0,fe=!0)}},N=function(ue){if(fe){var c=xe(ue,!1),C=g.getBoundingClientRect(),Xe=C.top,X=C.bottom;if(c<=Xe){var Le=Xe-c;o=-ze(Le),se()}else if(c>=X){var Ke=c-X;o=ze(Ke),se()}else f()}};return g.addEventListener("mousedown",$),g.ownerDocument.addEventListener("mouseup",q),g.ownerDocument.addEventListener("mousemove",N),g.ownerDocument.addEventListener("dragend",q),function(){g.removeEventListener("mousedown",$),g.ownerDocument.removeEventListener("mouseup",q),g.ownerDocument.removeEventListener("mousemove",N),g.ownerDocument.removeEventListener("dragend",q),f()}}},[G])}var st=10;function at(G,R,V,g,fe,z,o,f){var se=M.useRef(),q=M.useState(null),$=(0,x.Z)(q,2),N=$[0],U=$[1];return(0,_.Z)(function(){if(N&&N.times=0;dt-=1){var Rt=fe(R[dt]),Vt=V.get(Rt);if(Vt===void 0){Le=!0;break}if(ct-=Vt,ct<=0)break}switch(lt){case"top":nt=w-Xe;break;case"bottom":nt=ge-X+Xe;break;default:{var Ht=G.current.scrollTop,Xt=Ht+X;wXt&&(Ke="bottom")}}nt!==null&&o(nt),nt!==N.lastTop&&(Le=!0)}Le&&U((0,i.Z)((0,i.Z)({},N),{},{times:N.times+1,targetAlign:Ke,lastTop:nt}))}},[N,G.current]),function(ue){if(ue==null){f();return}if(s.Z.cancel(se.current),typeof ue=="number")o(ue);else if(ue&&(0,d.Z)(ue)==="object"){var c,C=ue.align;"index"in ue?c=ue.index:c=R.findIndex(function(Le){return fe(Le)===ue.key});var Xe=ue.offset,X=Xe===void 0?0:Xe;U({times:0,index:c,offset:X,originAlign:C})}}}var Ae=M.forwardRef(function(G,R){var V=G.prefixCls,g=G.rtl,fe=G.scrollOffset,z=G.scrollRange,o=G.onStartMove,f=G.onStopMove,se=G.onScroll,q=G.horizontal,$=G.spinSize,N=G.containerSize,U=G.style,ue=G.thumbStyle,c=G.showScrollBar,C=M.useState(!1),Xe=(0,x.Z)(C,2),X=Xe[0],Le=Xe[1],Ke=M.useState(null),nt=(0,x.Z)(Ke,2),lt=nt[0],et=nt[1],w=M.useState(null),ge=(0,x.Z)(w,2),Ze=ge[0],Ve=ge[1],ot=!g,Tt=M.useRef(),ct=M.useRef(),dt=M.useState(c),Rt=(0,x.Z)(dt,2),Vt=Rt[0],Ht=Rt[1],Xt=M.useRef(),wt=function(){c===!0||c===!1||(clearTimeout(Xt.current),Ht(!0),Xt.current=setTimeout(function(){Ht(!1)},3e3))},Ut=z-N||0,yt=N-$||0,Bt=M.useMemo(function(){if(fe===0||Ut===0)return 0;var Dn=fe/Ut;return Dn*yt},[fe,Ut,yt]),Pt=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},kt=M.useRef({top:Bt,dragging:X,pageY:lt,startTop:Ze});kt.current={top:Bt,dragging:X,pageY:lt,startTop:Ze};var Wt=function(Mn){Le(!0),et(xe(Mn,q)),Ve(kt.current.top),o(),Mn.stopPropagation(),Mn.preventDefault()};M.useEffect(function(){var Dn=function(Pn){Pn.preventDefault()},Mn=Tt.current,tn=ct.current;return Mn.addEventListener("touchstart",Dn,{passive:!1}),tn.addEventListener("touchstart",Wt,{passive:!1}),function(){Mn.removeEventListener("touchstart",Dn),tn.removeEventListener("touchstart",Wt)}},[]);var pt=M.useRef();pt.current=Ut;var Lt=M.useRef();Lt.current=yt,M.useEffect(function(){if(X){var Dn,Mn=function(Pn){var bn=kt.current,Fn=bn.dragging,_n=bn.pageY,Jn=bn.startTop;s.Z.cancel(Dn);var Be=Tt.current.getBoundingClientRect(),Ie=N/(q?Be.width:Be.height);if(Fn){var I=(xe(Pn,q)-_n)*Ie,k=Jn;!ot&&q?k-=I:k+=I;var be=pt.current,ye=Lt.current,m=ye?k/ye:0,re=Math.ceil(m*be);re=Math.max(re,0),re=Math.min(re,be),Dn=(0,s.Z)(function(){se(re,q)})}},tn=function(){Le(!1),f()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",tn,{passive:!0}),window.addEventListener("touchend",tn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",tn),window.removeEventListener("touchend",tn),s.Z.cancel(Dn)}}},[X]),M.useEffect(function(){return wt(),function(){clearTimeout(Xt.current)}},[fe]),M.useImperativeHandle(R,function(){return{delayHidden:wt}});var ln="".concat(V,"-scrollbar"),rn={position:"absolute",visibility:Vt?null:"hidden"},xn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return q?(Object.assign(rn,{height:8,left:0,right:0,bottom:0}),Object.assign(xn,(0,L.Z)({height:"100%",width:$},ot?"left":"right",Bt))):(Object.assign(rn,(0,L.Z)({width:8,top:0,bottom:0},ot?"right":"left",0)),Object.assign(xn,{width:"100%",height:$,top:Bt})),M.createElement("div",{ref:Tt,className:Z()(ln,(0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ln,"-horizontal"),q),"".concat(ln,"-vertical"),!q),"".concat(ln,"-visible"),Vt)),style:(0,i.Z)((0,i.Z)({},rn),U),onMouseDown:Pt,onMouseMove:wt},M.createElement("div",{ref:ct,className:Z()("".concat(ln,"-thumb"),(0,L.Z)({},"".concat(ln,"-thumb-moving"),X)),style:(0,i.Z)((0,i.Z)({},xn),ue),onMouseDown:Wt}))}),tt=Ae,J=20;function Se(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,V=G/R*G;return isNaN(V)&&(V=0),V=Math.max(V,J),Math.floor(V)}var me=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Qe=[],ie={overflowY:"auto",overflowAnchor:"none"};function Je(G,R){var V=G.prefixCls,g=V===void 0?"rc-virtual-list":V,fe=G.className,z=G.height,o=G.itemHeight,f=G.fullHeight,se=f===void 0?!0:f,q=G.style,$=G.data,N=G.children,U=G.itemKey,ue=G.virtual,c=G.direction,C=G.scrollWidth,Xe=G.component,X=Xe===void 0?"div":Xe,Le=G.onScroll,Ke=G.onVirtualScroll,nt=G.onVisibleChange,lt=G.innerProps,et=G.extraRender,w=G.styles,ge=G.showScrollBar,Ze=ge===void 0?"optional":ge,Ve=(0,D.Z)(G,me),ot=M.useCallback(function(qe){return typeof U=="function"?U(qe):qe==null?void 0:qe[U]},[U]),Tt=n(ot,null,null),ct=(0,x.Z)(Tt,4),dt=ct[0],Rt=ct[1],Vt=ct[2],Ht=ct[3],Xt=!!(ue!==!1&&z&&o),wt=M.useMemo(function(){return Object.values(Vt.maps).reduce(function(qe,mt){return qe+mt},0)},[Vt.id,Vt.maps]),Ut=Xt&&$&&(Math.max(o*$.length,wt)>z||!!C),yt=c==="rtl",Bt=Z()(g,(0,L.Z)({},"".concat(g,"-rtl"),yt),fe),Pt=$||Qe,kt=(0,M.useRef)(),Wt=(0,M.useRef)(),pt=(0,M.useRef)(),Lt=(0,M.useState)(0),ln=(0,x.Z)(Lt,2),rn=ln[0],xn=ln[1],Dn=(0,M.useState)(0),Mn=(0,x.Z)(Dn,2),tn=Mn[0],Nn=Mn[1],Pn=(0,M.useState)(!1),bn=(0,x.Z)(Pn,2),Fn=bn[0],_n=bn[1],Jn=function(){_n(!0)},Be=function(){_n(!1)},Ie={getKey:ot};function I(qe){xn(function(mt){var Kt;typeof qe=="function"?Kt=qe(mt):Kt=qe;var jt=ut(Kt);return kt.current.scrollTop=jt,jt})}var k=(0,M.useRef)({start:0,end:Pt.length}),be=(0,M.useRef)(),ye=Ce(Pt,ot),m=(0,x.Z)(ye,1),re=m[0];be.current=re;var De=M.useMemo(function(){if(!Xt)return{scrollHeight:void 0,start:0,end:Pt.length-1,offset:void 0};if(!Ut){var qe;return{scrollHeight:((qe=Wt.current)===null||qe===void 0?void 0:qe.offsetHeight)||0,start:0,end:Pt.length-1,offset:void 0}}for(var mt=0,Kt,jt,qt,un=Pt.length,on=0;on=rn&&Kt===void 0&&(Kt=on,jt=mt),Bn>rn+z&&qt===void 0&&(qt=on),mt=Bn}return Kt===void 0&&(Kt=0,jt=0,qt=Math.ceil(z/o)),qt===void 0&&(qt=Pt.length-1),qt=Math.min(qt+1,Pt.length-1),{scrollHeight:mt,start:Kt,end:qt,offset:jt}},[Ut,Xt,rn,Pt,Ht,z]),u=De.scrollHeight,S=De.start,A=De.end,ve=De.offset;k.current.start=S,k.current.end=A,M.useLayoutEffect(function(){var qe=Vt.getRecord();if(qe.size===1){var mt=Array.from(qe.keys())[0],Kt=qe.get(mt),jt=Pt[S];if(jt&&Kt===void 0){var qt=ot(jt);if(qt===mt){var un=Vt.get(mt),on=un-o;I(function(en){return en+on})}}}Vt.resetRecord()},[u]);var j=M.useState({width:0,height:z}),O=(0,x.Z)(j,2),W=O[0],ee=O[1],oe=function(mt){ee({width:mt.offsetWidth,height:mt.offsetHeight})},h=(0,M.useRef)(),v=(0,M.useRef)(),B=M.useMemo(function(){return Se(W.width,C)},[W.width,C]),te=M.useMemo(function(){return Se(W.height,u)},[W.height,u]),we=u-z,Ne=(0,M.useRef)(we);Ne.current=we;function ut(qe){var mt=qe;return Number.isNaN(Ne.current)||(mt=Math.min(mt,Ne.current)),mt=Math.max(mt,0),mt}var Ge=rn<=0,Y=rn>=we,he=tn<=0,Me=tn>=C,ke=le(Ge,Y,he,Me),ht=function(){return{x:yt?-tn:tn,y:rn}},ft=(0,M.useRef)(ht()),Ct=(0,r.zX)(function(qe){if(Ke){var mt=(0,i.Z)((0,i.Z)({},ht()),qe);(ft.current.x!==mt.x||ft.current.y!==mt.y)&&(Ke(mt),ft.current=mt)}});function It(qe,mt){var Kt=qe;mt?((0,P.flushSync)(function(){Nn(Kt)}),Ct()):I(Kt)}function Dt(qe){var mt=qe.currentTarget.scrollTop;mt!==rn&&I(mt),Le==null||Le(qe),Ct()}var Mt=function(mt){var Kt=mt,jt=C?C-W.width:0;return Kt=Math.max(Kt,0),Kt=Math.min(Kt,jt),Kt},$t=(0,r.zX)(function(qe,mt){mt?((0,P.flushSync)(function(){Nn(function(Kt){var jt=Kt+(yt?-qe:qe);return Mt(jt)})}),Ct()):I(function(Kt){var jt=Kt+qe;return jt})}),Et=y(Xt,Ge,Y,he,Me,!!C,$t),Jt=(0,x.Z)(Et,2),At=Jt[0],sn=Jt[1];T(Xt,kt,function(qe,mt,Kt,jt){var qt=jt;return ke(qe,mt,Kt)?!1:!qt||!qt._virtualHandled?(qt&&(qt._virtualHandled=!0),At({preventDefault:function(){},deltaX:qe?mt:0,deltaY:qe?0:mt}),!0):!1}),We(Ut,kt,function(qe){I(function(mt){return mt+qe})}),(0,_.Z)(function(){function qe(Kt){var jt=Ge&&Kt.detail<0,qt=Y&&Kt.detail>0;Xt&&!jt&&!qt&&Kt.preventDefault()}var mt=kt.current;return mt.addEventListener("wheel",At,{passive:!1}),mt.addEventListener("DOMMouseScroll",sn,{passive:!0}),mt.addEventListener("MozMousePixelScroll",qe,{passive:!1}),function(){mt.removeEventListener("wheel",At),mt.removeEventListener("DOMMouseScroll",sn),mt.removeEventListener("MozMousePixelScroll",qe)}},[Xt,Ge,Y]),(0,_.Z)(function(){if(C){var qe=Mt(tn);Nn(qe),Ct({x:qe})}},[W.width,C]);var Gt=function(){var mt,Kt;(mt=h.current)===null||mt===void 0||mt.delayHidden(),(Kt=v.current)===null||Kt===void 0||Kt.delayHidden()},Yt=at(kt,Pt,Vt,o,ot,function(){return Rt(!0)},I,Gt);M.useImperativeHandle(R,function(){return{nativeElement:pt.current,getScrollInfo:ht,scrollTo:function(mt){function Kt(jt){return jt&&(0,d.Z)(jt)==="object"&&("left"in jt||"top"in jt)}Kt(mt)?(mt.left!==void 0&&Nn(Mt(mt.left)),Yt(mt.top)):Yt(mt)}}}),(0,_.Z)(function(){if(nt){var qe=Pt.slice(S,A+1);nt(qe,Pt)}},[S,A,Pt]);var nn=He(Pt,ot,Vt,o),fn=et==null?void 0:et({start:S,end:A,virtual:Ut,offsetX:tn,offsetY:ve,rtl:yt,getSize:nn}),Zt=Pe(Pt,S,A,C,tn,dt,N,Ie),Qt=null;z&&(Qt=(0,i.Z)((0,L.Z)({},se?"height":"maxHeight",z),ie),Xt&&(Qt.overflowY="hidden",C&&(Qt.overflowX="hidden"),Fn&&(Qt.pointerEvents="none")));var Ft={};return yt&&(Ft.dir="rtl"),M.createElement("div",(0,e.Z)({ref:pt,style:(0,i.Z)((0,i.Z)({},q),{},{position:"relative"}),className:Bt},Ft,Ve),M.createElement(K.Z,{onResize:oe},M.createElement(X,{className:"".concat(g,"-holder"),style:Qt,ref:kt,onScroll:Dt,onMouseEnter:Gt},M.createElement(it,{prefixCls:g,height:u,offsetX:tn,offsetY:ve,scrollWidth:C,onInnerResize:Rt,ref:Wt,innerProps:lt,rtl:yt,extra:fn},Zt))),Ut&&u>z&&M.createElement(tt,{ref:h,prefixCls:g,scrollOffset:rn,scrollRange:u,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:te,containerSize:W.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb,showScrollBar:Ze}),Ut&&C>W.width&&M.createElement(tt,{ref:v,prefixCls:g,scrollOffset:tn,scrollRange:C,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:B,containerSize:W.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb,showScrollBar:Ze}))}var je=M.forwardRef(Je);je.displayName="List";var bt=je,Te=bt},76374:function(an,_e,t){var e=function(){if(typeof Map!="undefined")return Map;function de(H,n){var ce=-1;return H.some(function(T,ze){return T[0]===n?(ce=ze,!0):!1}),ce}return function(){function H(){this.__entries__=[]}return Object.defineProperty(H.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),H.prototype.get=function(n){var ce=de(this.__entries__,n),T=this.__entries__[ce];return T&&T[1]},H.prototype.set=function(n,ce){var T=de(this.__entries__,n);~T?this.__entries__[T][1]=ce:this.__entries__.push([n,ce])},H.prototype.delete=function(n){var ce=this.__entries__,T=de(ce,n);~T&&ce.splice(T,1)},H.prototype.has=function(n){return!!~de(this.__entries__,n)},H.prototype.clear=function(){this.__entries__.splice(0)},H.prototype.forEach=function(n,ce){ce===void 0&&(ce=null);for(var T=0,ze=this.__entries__;T0},de.prototype.connect_=function(){!d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),K?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},de.prototype.disconnect_=function(){!d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},de.prototype.onTransitionEnd_=function(H){var n=H.propertyName,ce=n===void 0?"":n,T=Z.some(function(ze){return!!~ce.indexOf(ze)});T&&this.refresh()},de.getInstance=function(){return this.instance_||(this.instance_=new de),this.instance_},de.instance_=null,de}(),_=function(de,H){for(var n=0,ce=Object.keys(H);n0},de}(),Oe=typeof WeakMap!="undefined"?new WeakMap:new e,ne=function(){function de(H){if(!(this instanceof de))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=r.getInstance(),ce=new He(H,n,this);Oe.set(this,ce)}return de}();["observe","unobserve","disconnect"].forEach(function(de){ne.prototype[de]=function(){var H;return(H=Oe.get(this))[de].apply(H,arguments)}});var Re=function(){return typeof i.ResizeObserver!="undefined"?i.ResizeObserver:ne}();_e.Z=Re},51941:function(an){an.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABtCAYAAACoYyM7AAAgAElEQVR4Xmy9aY+dZ5Ildu5+35s7k0tmcifFRRtLovYqlbYqVVVX9/R0owEb408GZgD/AP8EfzI8gA1/M+AP88GAYbQNT89MV6lLJVWV9l2iSIrimjuXZO6Zd9+McyLizSvBrCJEMu99l+eJJ5YTJyIyLz977NR/+2//3W//7h/+q/9m377JJ3qdbr7b6yKTyaCfyaLf7yGDLjL9DPrZLIA+MugD4J8zAHpAv49+n3/uA9ksMvoZ/9qzj/Ab/b4+l8ny2/bzDL+rz2XBr+u6/Z7uYPfP6DvodoFsBplszu7T4zP19B0+R9afq9/r68l03V6f/7f78bvps3aRzeTQz+SAflfPleF76ud9XVsPnc37u/L9uqjt1tFutZHP5ZDL5XTdfCGPTD6nz+t/vBcfgNfJ2JPYb7sP/5jpZwHe25/HPsYfxBrZOtga2Xf0Ulowrgefx9ctm/M7+0e0hhn7CN8ow33xNdKNtFv+Ky4aT8m7akHtOflZ7RnX2vaI381m7b103X4H2Sw/nN24c+f2//t//If//X/7H/7H/3Al87/8+//+3//X/+a/e/PQ1NHzvVa92O93/eXtgSRgvFy2C24aX4ybqEXSbSgA3KCsvVmGQpXRulEQ9SL9Hnpdex1+l9fk9/K5LDrdLnq9HrLZnD+gLQrXj4IkQaSs5nhBoNVqA90+cvkcuv0uup0uSqWyrt3ptJHNcHOz+ioXpdfj4obA95HNmFDZd9t6Hgprj4LLjeznKEN270wW+Zy9Q3W3ik7brp/L5ZEr5vUMEplOD5lcTgLX7XX0zJJzrpytvn7ze3bgMnou/muOz5rjembQbbdNyLP8eU/rTcHlNUz4uTZcKxNWvqf+y3tkM/bumQw6Ha5pF5lcFr1OR9fWs8Z+co9c6Hkv7Vg2a4fQ5Ft73+N1+tx/ClRfa5TndTI5PR8yHeSyGeQKJXQylYVrlz/5v/7X//l/+j8zc7Mf3D1y9OKhbC+Tbdd39WUKhASSC9btoo+OnbaMvZhu0uPp6yGXzSObLaDvQqUXt+OBfD4vLdDpdHQdE6oMOt0OspmsTnynR4Hr6KW06JmMCbI2hifarpXLFfTnZrOlhc3lTdtRqIrFolaiy+tKy5gghK6gsPCZ+mghm+8hl6Fgd1xIcsjk4plzyPQKUlZ8hVw+r02lkO/u7qLdakrwcrkMSuWyfsYP8hl4W75Pn+vkekZrEUdfJ4Uboic0oeE9eJj4Lv0+Ou2OtG+q1TPUilm9lwQjFwfX1ojrw3fpUZB5SKk1eWg7Ha05709BkMzxULoiyOYKEgYTViDnkiQB4r5kMzy36Ou7JvxSDl3ek4Jrwiytle3pubLF0X6tVrv353f+458yzfqtej4zXm63TK3GqeDCSc3JFJq24bXsgtRCNC99nTSqzW6PWsBMn2k4eykuNB+mSyHxBZXxpIbgAspKUlj1j7ouF4yvQoHltvD70oZcJGo5f0tpoD5PblanktfhE/C5KLgUVHveUNkt9DMtZCW8XCTZCf1cJlQHo6DNp/YwU9LTPeu1BnarVRQKRZRKRf2cG2VXt8OmtZBQdLRRuXxBP6MAcaPN/JtW4jrxEOn6MnNh5+wddXglhHIGtMY6K7LQXKO2/o335DvaIbc1TtcpXWB7P60Xz5xbGh70WEM+IzW2PYY9D9cxzLq9mLkzZlWyUuy8RqdZR6GYR7ZYwt3526sUqlqmW06quw39QNqjYxKp5ZaU511iKb48kXnk837i+n00Wy29dj5XkEmRf0D91ulK6vWg0kymbWINqXpDSGW+eHr5onxYqnmevixNCtW5bYgWmRved9PSo/BlkM3TB/JF7/ZkCrlIvBlPcjabl8bt9lrIFvK6rnwwLZxthrRtxkyUhLTfkzbj8zYadWxvb8vUJklZZptCT5MncyszGv6QCXqBWo4HrNNBm9eR8PJ9aNKzKBSLaHfa0tQUUK4F/2uaimtvLkO+UNRahIDykPGd252ONp6CzsPf6dBy2GHlIeZe6rl0cvt2UKQE+ui2O+h0TcvwZt1uz57Btai0nPubcgH71GB8KLo2tm/9HoW5h1ajjnwhi1ypgKXF2Xqmun29ViwOJ+1mx06cX5QPQ8Ey28+rmhRLUyCDIk2D/Jo+Ws26Xoov4TJjflS/jzw3nCfABUJaLsyCDoTZc753u83T3JNvIM3IF5Cm0Vk2cygBdV9LPhe/Yv4H/QYKBzecpsTMbbjE5l9xhfmcXHzewwTc3jw0gvSITjO1FH/3Ua3uotFsolQo+KnPIs8/hw8nrWrXku/gWonXoRDwgFmQYwGI+Y0eCMkHtD/TNOm/NO1a675MHLUehaLRbGBzYx1JuYJykvh6m4mSJQiHXFYkJxNu70CH2w4fhbbbakmQzJpI/Zimly/J5zMNq/3yIIRKQI6XC1e/S9+Kr9pFvmS+3+LCbD2zs3arVq4MJTIZbfordmEJQsYkmHpO1x9Qf3G6e9pf0ypcfL4YRYAPrpPiPhbtNX9LYGiw5Sdl0aXwmCrTJsvXchNmfj/VvplcCbSiur42RuLm5o+mjBtIwdJiuF9nghU+lT+fRzTUhubjmFbVSeVvvgfNtjbVNn9nZ0vapuibS+1NTSQfsEOnmL4lHWNqyDjJFBI7MFxHbp7e3KM/rhG1EJ+53WxJo1EIJOTdjt6DvluPAYJORxZ3FxawtHAX42PjOHriBJJyGf1MD3B/SmtP89ntI9vPotPvot3vygrROaDq0Lo1Wsjy/i5kUmfy27jv9DF7Opx8YDOpZj0o4BQqCR2DGgWofZQrFXT6wNzN6/XM7upcrVypJLTRjD4osXLG6BvJEaZpM1PIk8OH4ILLqdSG0jnlqSi69bEHUuSiDe6j1qih02kp2uMWtrRIGRQLBWk6EyrzTWiWpHoVXVg0E/4AHVZuvk5YNou8q/JSqWT3dFPNxQoTzH+UA+2+U9he/pWmLfwQHQiZ0YI2RQLiMAi/T0e92WigUChoNfLFIkrFkgUeirCoKfPmGLsgW0RJGbLQn/8nLFMolLS+zWZT3+Pmra2ta3OGh4dQLBbQ77SlgUfHxtCpt3T/RquO5dt3sHF/E8PDo5g+cQz79u9HeaiEfj6HFg89rUWvi269iermDprtJsqjwxgaHUG+VLT95aN0OwDdE7kSdsjlcvh66+/uqIc1ceBE7oS+QdhF/iFQLJfR6WexOHujntldn6sllUpCH0RwQhoymf2lvTdxdL/BtYNFBYQF3G+RVXTz5CEwr8XT3Wq3kMnyhJh5zRWK5mdRONzO84VkMlyQ9iIgi8wUPjM4kJlsodNqoliuaHMpRFwMCaF/Tv6I3sVMpJlyCh6FNcJ6c25pCt0ds+tIQ9r7657dLra2t9FutVAuJ4anZSwCNJOzt2xp9OvPTL/Ons0cbEXXfQvvN9bXcf/efWnE3Z1dVKs1DI8MYXSkIjNbr1Zl5oaTClZXHmJzcw29dheNnQbKhTKyxQJKQxXsnzqIRqeNWqeFyvCwTPz25pa+TxNYHhqSIB09egz7JiZ1YLJFRngWTHH92oR26M+6qYuXMk/OAzSPTCVGVF6uqejbFYoFZHIFzN26SaFaqBVL+aRRrxmWIfNkGkgnS6F94FLmdQirkoNnvo18k56pZwonP0J/g0vYarS0ScWkiIL7KVrgrvlJKRzACKndNhXr4a+FsGaG7DkowGbyaKplot0/khqXZJjpTaMt99+krXgPXcswHYKicmwZUQl0NVOp364tQ9hrtRp2dnZQLpf1zDzFvGYhb8GNRXUmoBZlmf8SkWazVkWj0ZS221ndJmSrZ7x3/57Wa//+/Wi0WnLcy4U8ioUctje3UdvZRiGXQaveQr1Wl7CBPn83g1a3g3xSRHmkgk6vj8rEOMYmRtFst9HsdlGpJOh3eoax1RuY2n8Ak2PjWvteKYvMaBlDQ8MKulqtJnIEhaWhOntOvrsvAS1YkG4RZiZjgUijziCvgFyxjDs3rtOnmq+VSoWk1WpY5KHTbCbDHDbHYLlIKe5iKLSBdobTMHIyB9xUncWGpqkoFMVSEYVCgIwmrHLk5UOYr0GgTiZDQmtRkISc/+4Qg+E2XbRaLceRCkLBA32PZ5QZks9kTig1lcEDpqnkGHu4Pqgd+UxhAgyAtPev1+ugYFGIGLUFXBKOup7ZtRvNiTRAoSCtSi10/95d7GzvIMcz2YRMmqCDfFYbOzI6og1q0z/rtVDMZoXgN2o1uSDV7Zo0GyOtHKOuVgbJSILxA/tRGq6g2euhPFzB0DB9mz66OfMvC/RxO11UN7ew/XAdlUIRw0PDqGW72ERDWNvhwzM4ePAQhoeGtF9xYMK3So1XQEJcF+5xrpCCrYJXslnM37lTz+yuzdVK5VIiXCfUm2MuXGCdeNNJrgY9haLUiZtIOWuM/MzxdYxf/2WYSxtMJzXroWhEkBJaql3fhADhwtylpixQcX8+mrCIXPhZbjR/0TeR/nRtodPlmjb8M/1MWJgLjEeSFhSYueM7GyofUWYW9UZDWoaHgAcu/hvAoATTMTk+g6JLQDDE/OwslpeXtYH7xvYh6RUxPzuHra1NHDt+DEePHtX9lC3g/btNg1bol2ayoM+4sb6GhbkFrK6sINfPItvLYd/kPhw5cQwjB/aj3mmh0WnK51Mk51an7HDE5uoa5m7elgN/7NhRYKSIuzsPsbW1jRPHT+CJJ5/E2OioBCo0LdfB8Cvzhc2ntgifwk+YJlB93reXyWBp9k49U9tYqBXLRQlVOJZcTPpK4USGxuANwzQIIXeNQgMb6YfQVeaXEOU24I/oK/eIG8LvSiMQ/SVaLDiA0ZOH9YruGNCYsISQ8fn0u8fIxLQQfQU6tgYIuqPpG2ym2SI55QsFkhoW0yd25AcmTCad3NCMoYn4eWqratXTNEL+c9o8AzsjjDH/zVJOFkQI9Oz3sbmxgbv37gqQzSOPbLOPZr2FneouSsUi9k2Mo5xUkGUU2GgIlWcEWN3eQXO3JuFmULG7vY3d7R3kkUOv1UUpqWDfoQPIlUsyd7lyAZWRYcsCdLpI6P/1ga2dbUEirXZHB7BcLqE4kqCbJ2wAHDp0CAcP7E/zffkiAWBL8XDvDK7gXprJFw7GPcsVUyC6UCyhm8lhef52PVNdn6uVKklCW06fJmymnNcBv8LwS08Uu+9iGoE22B4uNQXua3FxKdF09nN5+i9mEuUXuVkR/iJ8Cei1O3KGlTzmxtH585wY/01QAv0BAq7NppxQhvUy1S58DqaZfyXJdrPk9wxhlmp3U6+gwD9rWJNpY72/pydajYbMH+8lP9DTUAEY/v99n2uY8wiXGot+S6vRRH2rjqRYRqvdxfLdJWnO0ZERi7Z6fRTKhCty2NnYQKNalyOt1EvTIvEs/dd2X4ciXykjGRtGrdVEtlzE+P5JaevWdhWlfEGHdXN3B/V2CwdnplAZ4316qFTKGB5OUE7KArMV+UdSzGEcuRI8GBHFyr8yXEsBVobRLqGoNgqlEpArY/7O94QUZmu5UiEhqMbTFU55GhF57mfQQUtDfY9o2m1qHuaQDMCzlIJFbdJKva4WSSCb6AiedqDdL5TstBMRbjbMYWRuqpA37MgxEzOtxgTgNZpcRGoE1y7Cd1wweE+ZbfcDDU0mkm1aU1rIoZFUwMMPEsvCDpDQ4mZTf6awb25uSqCGhobk0/Ga1FiBqqdy7JGf4Bdq434f9VotzSd2mm0JEjMR9+7dR7NZlwZmGmhyfB8qQ0MKdLjRvEYxn8P62jq2t7Yl2LWdGirlBOVSWdHfoZkpdJhKarUwNDyk9W5s72Jna0eHszIypPWcmJzEyMS45RoZKNGcMWHd7cm0F5OyziSFRFG6MzJMkzt7w/FFywxYRNtqtpErFpErJJi/da2e2V6dlflr0lH38FcJW1ftFoH5QgcdxdWhwTjmtwisTikvqZ6QUNEWF6Sp7Cjkign62Tw2traw8nAV29s7OLhvHEdmpg1T6kGmYW52DpUkwdTMDIpMA2QhwW/3emjUmW8qGtYVppiaQSwIJqmD1mKaKrRumLo0teKnMTST4VamqSyZbr9q1Wp6zwguBLY6O0G74aYwNB+voag0k0G70TSfL5cx0FR5s54lyPs97GxvywcdH5uQWZG/whgxb24ILQlN3+zsLO7fv4+xsTGcPH0KExPjOoSCdhw64Tvy0G3v7Oq7/AzxP16fa8Z9JiSje0uTGyyUZhHkVxluR2ug4GsATI7MgOH+5uIQ32OkuzB7i476fK08VE4ITgrsEyrumiay3AHmpbC9JwWdWWW4jzm5ejB37KlVRG1pd5DPWkJaLn2hBLrU316+iivffYf19Q08+fhj+PlPf4pkeFgn5burV/DFZ5/j+PFjeOb55xRK5zLmr9SbTWkOnmZqHDr4aUphgCVhissiydBIAaSGbxbPq0gx8Kpez2ksRmnhqeWmU2vZpmSlsQKNju+GQAdgKx/VtX8KhHpCV7wx+pj5AujD6Oce6PT7eTntvC99lUGf9sGDB3hw/77AxuMnjgsspaWI4EB+MCPuLFAslQVS89qF8GWFRZnBEE3Jk9GK5n0dlV9lzrIfNB4Hv13BRIaTqbvAs7gu5N/NE6eqbS/VCoVcIi5PuCEDfkXY0/Sku5aSQ+pSbjwcT4T6pupnCv97SjNkSOgiM4P2uwc0213cvDOLxaVlbG/vYmZ6Chd/cgH7Dh6UKr701Ze4deMGpmcO47kXnkdlKEGvbWE4/Snd3/EsItvGrjBoQSG9R4ABMSiqEfBq+ToleQlLOMakn7vwcS1o1iRwjuzTUacJoxDzZ4zIUg0YiDqxOYcx+LmAMITOO+2HWBD5XIyIjclBhJ2sh4yEVsnmTA7tlqVsypUhdNstM4V0wJHBztYWWp0ORkdHJeQy6W6uKNCEIhSpuRYXHpjPe060nZo1CoHewXde0I0S1NQ6hH/a6LSbnrZhKqtjUS9NH0FxpabygizoU/UyRSzNEVHfWKgVirlETqvn1xTL+akVVhPOgrMB5dt4opH2mc6biG0poOF+L51r9288ZymGAJH3Wr2JlYdrkm76TrXaLqYPHsCh6WmZmfvLy0pNUDiOnzyJ0ZEhdDpNnSCivzJ/ND1Mm/izGlnNM/GeYgkaR0AjAiQdKjCE3QXQKYf6O82/C5Wen+a20ZBQhcmLCHBwnQKrCRjDaEH2SwAuI9psAYVSRQJXr1V17Uq5jBwPBrpy5LvNFvL5grQUMacOhZ9prUoFmWwJvU4DtequhKyUDCnf2G7UJaDcdOF47RaKxRLyIjD2dbAjnVQslbRmPLxcC2o0biiDET4XtSAxtn6vg17brIIia3cvpOmMcCZnncwU3reXK3uaZm2+li/kknbHHE9lKYICaCHVHjgZuI8cOPOzqF5p4gq5kqIIIeo0cXmyBTrotCy/ViKthm6HeEhFCVWj1UZlZETSXt/dRr/XRrmU6AH5gk13trk5RJVF0/AIslmvp6F9mJtBRF34ivtFXGSeaP4SvOGQQ6RU+L2UqOamT8xSUWg6Wo96o46trS09W5IkWnxeU844tZLjO9JKA9oqHH6Cirwv12hnt4bqbl2A8NBQxdaR4Xuvr3CfGpfagm7BysqKtDXvU6vuoFAsY3L/ASLFePjgvmACovH0f4icM6/K646OjevQ7ezuYPXhqrTa2Pi41oCYW71eQ7FQxMjIqA5oo1bF2OSk3qlZraFao6O/qYMwNjGBssy+vDx3Y4Ceor+u/EUKYqZQxJ3r3xNRn62VSqWk3aHUDoTmgyG2m5nQZoHhUAKVh+t0kc8WUwxKm0RAst9Ds0UcqoMyoz/5dUxflND21Fy+WDbCG2W53USn0dQpCWCUmocvzUilSCJYzvwnqnjeg2o9YAI7A4ZNBVNBuBORe7EO9gDPwdwevyeNM0A8FALv7AIKoqKuWs2iMferxAx1oZJGjAMojpYTEQcYEtQ+D+4/wJ//9B52t6t49bVXcfKR07h1/QauXr0qlP+Fl17E9NEj0oqffPghOt02Xvzpz/S9jz/6UNrn5Vdew8zMQXz28Se4euUKzj/6KJ594QVsbW7gu6tXsW//NJ74yXNoVtfx0Yd/weLiEl559VWcOnMe1d0tfPT++9hc38Arr/9CCelPPngfDx7cwyPnzuHU6dNC8a98ewn37y3j6LGjePqZZzA8PCKNFBkG+WKO1ndaHRRIXCwUMX/nVj2z+fBObXiokvT6dOjM1AVnn38WJ9pTNkqHBLoeNFMlUy0LT9uqKIoLKm2Wl9DRNotXxQsrbUJ2QlakPApNr09+FpHunoSqmwHKxD0cOTf1ScEwsJOnnr+1qQPpJMt7W2FEihsNJIjl75gEpVFrGlT4IVI0Gyiymy8CpQz3CSNQiHhPBQkDfpfcAQdKf4zpUZjlixQL+O7yFbz1uz+iWW/izd/8BufOncdnn32Gq1cui/T32huv4fGnLmJraw3v/v53GB0fx6u//DWWF2fxl3ffxdj4GF557Q0RBT/4y59x+dtv8fgTT+KV11/H6upDfPXFlzKJT118DsVcH3/4/e8xv7SAv/rt3+DxC0/j/tI83v6Xt7C2uoZfvPkrCdE7f/yDhPrwzAxeee11JJUKPv/0I8zdvoVz58/h1Td4v4q0Weyv8vVCBeyQC8nPFbA8P1fP7KzO1iojQ0mv1wYlzrjHJhgid/mpkynx6I4XYj5KLAWlSDzrT5Sb20a5kZnLC7DjtVMGqDjUfV2L/sLOzi62tneQlErCqCiYSaWMSmVICVw64VTv5TLRW9JeDAmnUyn/ycN2Sy8YkS/oybEAMnMRhAQp0DErY4v5L7+eZQAYaOSVKiF4W2sQQ2ulOT9qK/kmBBrFDrWsQGirlEfmriaRbEZ5D+6v4NJXl7G7W8Njjz+mvNvNm7fFVqCwnjl/HkePH0a328YXn3yCaq2On/78FeF8c3fuoDJUwZFjJ6SpF+dmsba2iqkjR3Ho4EHlJ7c2NrC+saFNnpycxOLCAjY2NlAsl3Dm7DmZ+du3bssnO3X6JA4fOYZbN29iZXUFBycPyH9lcn32zk3cXV6SeXz64jMYHqrIYtAtMJq5rZwoyJSDQlFpmuU55v7W52vJcCWhNum2rZghzFsIVZxwSqZB9sZRFydQLAKaFYcLnONkB9+Sv1wgocs0KZ5E5Lfpi9Xqddl3Yi213YY0zfBwRaaUVBAuzujoGJJyCZkMWQYsojBfR/CAsxRS2owIgp4scmxljw6zVw0k/8qxrMClQrtFBBeah5EXWZ9GmzaYgs9FxsIgnhWJ6CAQhs/mStDpN1k060za9lCulMUxa+jgmRYllYf+UrFUkHZkioeHamhkWEQ+UZHcQeZmcA0FSTA65AFLEgl/dWcnZVBwrdfW1nQIhkdHzf9DV/emxm3UmZ3IoFSpmI9EijNTYa2W3pl0GkI69J8jGBH7jaV1zvAgR6yXyWHxzo16ZmedJL0kYfQQKHpKP/HQOwoSIpLaY4Ya8GVUWWo4UiEY5XjS2SF+C/+tJEsLnObkrMxJgGQvYwlVJlDLRTQbllRlhBPJYwoV6TQSVsIUYnpafjAYi6I/q3AisDTTQoEhRf4qsgKD5s5yiT8ES4PtQOeW0ah8KplmpyU7WzQc/YiMZP4HeFrcIPoVDFJo5ohPMddISgyNCNFsi5S5qfRvDaPiM/EAqWIlk0Gz2VBaLJcv+7pkJYAdEv5oZsmgcP+Rq81QP9wY08A5oev9bgutRk0/U5qGwQwhCK984veCPiwWaMfZtAREneVKRcLggs+nNE22iPmb1+ioG/Oz3TRCFwUiUPTApuKky5wMpDP0cyaMVUJEzMNSIbE5lqZhVEOEPoN80cykpNsjMub3TP0V0Fck2ZEqjZyT8CclNUWUde634Uw0T8yaS7MEDdbJfsHaTC2bA3uqAKIf5o55IOx7BQeG06QayJ1+4lSivhQKqaMeUWdKwY2aSD6Pp4YCXOXCGwDqVG0vR2O4TgedUVewRqnZkemJoSCBGLiWMQf4+Hm5AQFtBPQR78uDLLSfvo4f4r1Agu4qtSUBVqsJ1HpxTfiMvp4SOM+m6OcDbBUeCBK/mfvjHkvDZotYuEU+1epcrTJcSQSwOTNSTITAWJz5KL6Sn35Dma3iQ/8UFasqLDVtZPz5qPnjy9PPsrydDKcDiyLBEb+h+qTWoxrPMcnMRWvLx7IUQxRoGhshGBPiwQshtufjZg5CC3qWlGRo0Se1iswv7+2HIEh2WninvQiLcUxud2dHpiDyjWJ9DuBQcZAiCR2cKrf2dtgc22MaRkIbkIlrWx1Q+bGkW+/VXjKvJwwqx0iXh9YKDpSWcYpLCIwEKHKc/nwhYHbPHnqq3ySH3QTPiamq7ozDIEpSZFBc4/LZCFNQY7apuYjIy/z1USTMgiwW7tysZ7Yf0lFPEjq+8hlol4MiwoeiSibsnwJeVolrla8OHCpn6M66hJDkO/pQOZk0+kFR1RIhPp+murMrp7IoE8dNNj9HIbs7uEPDwxgbHXOmskVmBBIDuKRwMFIMxkHgRMGY4HMbUGICFWbPfL2BYknXYKGhAtQMM0baCQFQChxPPxH1IDLKpIpzZIIqoXS6jSi6XpVtKSUeSGNYhkWIZ5ZxZxUQCwtcK3OtpeUE05hWpvmUD+vFEBah8/7GGjHIhRRuLxhxSMU1gFGbVfLfQ8FzixT4qBcwTn/fqC9Bd8palVLwyAxM9pJ/AqjlRBz1pTnm/tYXamV31EU78WKGdFNi8b1mTfV1NGtOlZB6pZruRiUryVxm7rjQTMdQCHQYvc7OKkz6YkLu7tKhLIDFrKqR89NDweKLUiMoay+wlRtm1xe6rdwYfRSnO7tPFKS/SNW4jk0JZyHYkf9LMaUowAiuvJ9KLqw0FXN/hBKc5chnpKCEFlLuzDWlgGQnAwa3ikxTK6hlVsFwMXPmhXl7WwHq/R46TDnRdyrkLQpFCJwAACAASURBVDqlRvBKGesFYQyIoB6FaVKPBz6TMzjlWDsIzA8Hq4Mmq0cfVS0JeCj28qP8nNaf5XdE093MGjjuulcFKmwRYJqxUC6j288Zol7dXKoVysWEtXuMHvhLWoD1cVSzwfAM8+e5PZqQCNWpUhUJ0uFz4ps46l1qP/oHfRRV4OBF+nQ+vREGfXc7yRRMr5IhoNkxyjAz+nbC+LOokgFqOzva3EqlYkBpwB2DHDCHD3jilItzynIIm13WzVJwxbz0y/EJr9nrgAg+ozFqqOCokyEhX8gjQv67oqbIHQZpT9VHbTP/pFi3rJaSyDejOWkD92WLZeYBoRSKyIsOtKrsShReS4kR57N8YAGFcgm9lqVhDGYxGlL4xFZlzkR+0awLaYBMwTD3SGhHVgcoDw/rHqQsR6UUBdco4ZZkNx+MtplFMVaexp+TZNjL5nHz2hVSX+Zq5TIR9aYcX2kh0WkjgvPK1uBHOXKsvBsXiyGoyrWMs66CTWoQmrQOK2ks9LeK5qiWMXoK4QXW0Vm3FHvAwL5UjkWmovOKZEJJDvPNb1SrWlCG9XEQ0ohOBQ6e1wswNgBPN0dp8OGOqCsD4+eHMPqCc01o+uish6POz/H9ef98uSzNWatVdbgYthPpJ4bEQzUyMiIcju+/tb2Lbi+DsYlJbG9tYu3BfRw+cgSj42N6f2rDne0NJEMJRsf3S6MvL8xLqI8cPaJiUgKnlcoIkspQivRzbcaZYC4U8WDlATY3NnHw0EFMHpwSir65tqEDOL7/oPyzpflbWFtdwSNnzqA8NIzVB/dQKidC7KlI1jfWsbuzjZmjx0QzbpNXlhIhneEAprJMXlRWlsth7vZt86kY/clP8TY1qjZRQalFgoFox8lWBOXOfDiGkiUqEq+yCfBczE9WsHqHFNt4E7CIKMw3Cz5WlEw4R0s8dut0wnJrvpl4SI1GyhhQupL+0QApT1opItFgG3iAEBSPH7BABxz8MIcyZc7GoJbihgfxLpB1UnrZQ+Dzjz7A559/hmPHT+IXv/6tGBV/fvcd3L13D6dPncaLL74o+szX31yS4L36i18Iovjs449w9uwZnHvsJ6r0/uzjDzE3exsv/fznOH32aWxvPsSH77+j4tGZmcN4590/ig37xuu/xOETx/H151/gyy8/x76JfXjtjV8I0/v4gw+wuLQo3vmFp5/Gje+v4YvPPsPwyAhefeNN7Jucxp/e+id8/e03+PVf/RaPX7iAy199iWvXvhMF+cknL8iH/f7aFRw5dhSPX/iJ3keCJU6dGdssk8ld0mT60rrdbA5LBD9p/kqlcmKl4nTuGB1ZdTJ/GVxAubLGGUoWe/WudX3Z62TiyKAcdSVPC5amocZRAjoKJVT1HBz1vdo7RZ1Ruq7IzwpKRRZzJFfmxbuahLagxhJQ6xzqiNgCUU/D4ShOVWcZiyD5GcuhewXMQFrHDhP95j62d3ZkjlMqsbhcObEviai//dbv8fXXX+PYiVP4q7/+O/mAn37yMe7fu4eZmRm88NJLmJ+bw8cffSRQ8l///d+L2Pand/6ImSOH8fyLL6NZq+Evf/ojbt64gedfeAHP/fQ1bGw8xHvv/hFTh6YwMTGB3/3un8VgeP31N3H2/Hl88803+O7yt0K8X371DYyNjeOdt/8FGxvr+Pkrr2BqegbvvP1HfPnll8pK/PXf/A2euPAU3v2Xt/DFl1/i6eeew6uvvYJ7S8v44L33td8/+/nPVX/48UfvYf/kPrz08s/Mv2JqLFobyN0wAiJFpUDuFihU4aizQlkFCmY7o3ZNDq2iLXr6xgQUXBHtRwRtGNHLaMRedaNmDwZL0DTKZxCn2UyqNtE/G4FZRFt2CPbKqYJUF851ME1VXRw8cb/IXjTqjrv7WSnFxXG2EBZd60eRoeiGA1GioqBuVykjpkHIUAhcKhLKFPLbt25hZeW+IqLjJ89ifGIC1d0dmRAGGqTyMmWytLgoNutPLlyQj3b5yhWcPXMGp86cwfbWFu4tL2N5aUlm9uKzz8qcffXll/JbZqance/eXdSbDYyPTeKRR86Ikbq5ybRMHidOnpL78eVnn6JWbyjJPDG5D9evXFFqhgLw5JNPYmrqIL75+hssLi7i2KlTOHf2rHorsASM7zgyNo5Go4aF+ds4+cgpnDl7RpQc/lJQJNjD0ljqXUESJlF9gp+3yVFfX6jli8VECVr3O0Kw3EP2MNXTIo7xWIqEzprzvj2JzNMcYT4dZKUgnMpBx9acbqs0Dm5SbKyiMU+/aDO96VeE39Iajr2IO85ohkhuVMr4tcP0mXzuVYFQYFQdkjbV2OtcEykVRXZe8CCYwn0zmioVkyaJnHU6yQIXCS04I4PPxmKGVrOjz7GYkwEHhY6nXEWcLKln8QQrkOmn7e5iYnxcSdwGaSusFWyxcLSm+zD6VTK70cDI8Iju2WABBZuFlMr6POkfBI1LeQYKdgBYbURhHhkellIgdZgpNVF6Ol1VL/MatCbB9hgaHpESIYWmWt0R6r7/4H7xrWj6rWeYnAO3OkTm+3o2ltRnCiXMXheiPl8rFIuJKn7V6c16JlgXEq+bE4X5h3TbwGK46GwGpmZZZBdSgzA35ggxfR8u6iD9NtiYFAZtiIfiwo1cqBQGDwCXg4ltCg3tOxeUPJ5AzyOM59+tjN+aipkG88jTNaSZYiLJewBoCLexnr2VjmszChVP8aCjHoh1lGsxUiOq3Gs1LchgWE58h6X/NJ1stcR19CJcrrXSR0GbIW/MC1W1ro2GMTE9AkyLZsUMGCjuyFsqh86OKqaLhBScyMiCUh48mQd7pwAxqZApvEyzlZKS0kI68GqgQga6Y4JcP2dgBOovASXrs8vKJlYoF0U0VNk7hapcThIj+VurG8PIDTA3kIw+khk3A+UMV9nLFXrTMIf3FY3xO4IGOhYeO9JrNOM93pb+FBXKvoGRGkiFeiBVEHwpRZhe2GltcIyZGECicJ2BamPBif6ZPY41/43raKklmeRohejFElGmRG0hXrzTiYNuPJg0FmxhPTmsbs7b94irT3Yk+3M5qpvCGtEIzRmmegfnkwc+JPicwY3cD+8rwSNnzqAp/6zBCPFdVew4QKfASsCpUa5ltvyQ2YE0qpI6AOpLtEIZq430qqFwZZQ5yJlPKryMfcK6ZIsmghTmbn4fjnopkYaxOiu7iT+v6uq9EFQFnO4rGVJsERvNFB1x0SEc81f0pxSKVbaS3qqUC7Pdzhe3jLyVoqc+VVSgqGDU2zQOCKFMJMN5Eu1JmyUgSTqu94Ey0Y+ksOFQ6TMpjWTvF6h8aDLrFGgIdFo06ekaLjTr9ggrKOpzop74VF7az8vS/2G5Eo+khebWJS+6wYR/GFU6KePBy8uYy1PFjWcylP4I7IsaXJ+zjWcqR30+KVlhlrwXqK7fJYfLGti1e1ZEqj0V+m6tBtLoOPBJb7ZKxF98zZ65DgElSMi9JE2QjfUDlKDTDejRUZ+9aUJlmorgmWX3mWujkPCmJNjTEHl/sTRqC01gkH70juqpN4DayzhhLjr2RtSm3Ftk7wdK0hWxRR5uAIQN7RFOviWpLfWhaueooHUulBbAQ16ZiyDuyYJ7+ZXTc1SYuteT1068K5oQgPgv/RT6P0LRvd5Ppsq1chyMXJ60ZYNBTGE5UOjFCY68pPfi9bnhcjvUHK3j3QQjh2raSfFR5LrUUI6gsnWz0XO7xkobqwhItp9FflVZEm8aq+dwqEZpm6hF8IbI0W/CCADmA5NbZixHK86Q5LEyXGwS+nZ5LC/M1TPbNH9JOaFfZAlUNZHeq5n3ZCa1guysQFFrxmDLFt3mvF+VP4TMgloqOtlNzdA84x4g2gBjIJKgkdCVJlQLJKNl2Gm0nlEqcvQaRNl4pXasaW2g6wEXUIvS9LC8XMtBiMShjegPqnKpML1eXaOT7LlBfo8CRcEigEgHOipLlBLxZyMYms2wCodplHAlTFgiFxd5tTBjhnB7o9eBQ2Wuh5ujKOhNS+Z4+K0BCb+c+rI0Q/SL0g40JlTWuJfpG6dps46QNG8PoLi2LdYoMIerz5N0SKDZqNO8h3U5tD2wCiRaoKxaG7WbDeOoF8uYv3nDiklLSSlhcWGYIOv6FoWCXej0SZDcjHv/TX2eDiOJY1nDs9RVjgtKJ7jj/Ce1BSSuw9SNmS+d4kiteAFotHyW+vfFppkz08yCRUu1KOxPud8uqKKyWJtqfobPpJbbBHC9tEj5tehD7uVJehJ/noh6I8clreE/r+3uilBIoaIgiePEexKz6/dVwMBN67Wtn2euxB7rpsm6LRYa1O3ZqZV8DeId5Z941BnpJCWuvTZAPR/ErqCLwf6h7Hho7oeV/DtILYiFG77XTTCi5cDwZIq9l6myB447CeQe+LMJulXnyB/1wmGvGhaeiD5bP1JArR6S35+/ecvoxEmlnFhC08yFIc1WOdFRbRp5OYn3qrQTErkga8vIMNkEqq3kMflI3oMqrpU3+AHUFE6PiUVNVbSbHmXiPXkZDnRa7ZL2XXc4QMJpX/Qzv1cIMdClT3x3T1ZnxSC1RGiKi7nwyDEfqDTWwen3LaHs4CefjZEnf0ZKtPotqFks4ZMcxkcnkC/ksLGxKYr0vokJPRNxKDJImbYh+0L35jPk87o2U0/sLTVMpiW1YbutNAxNPKthSA40PpUVkxAbsmJQsyDGFKE5in6dxj8Lkxg9u9RbTDiTN3ZTI7Y90x9diuWbDVCDJPxyWiNgs4BLJpzgZ6+HxdnbVkxaLOQTFTdSy0TC0B1AnkhyZza3drEwN6vw9Nyjj2LITUCzzR4DW8hl8phgWVC5hEI5wdb6BtYermD/9LTI+83ddfHayZWW7+acbvXqdpyJmxnCE7QUmQun2XITiImYs2mMUcEV7MynJKle0dJAPrVgkOoitoQaeljPdYb9gbqHL8V7WHm6d8BzbRokvfCnqLGUpC0WlRP86MMPsbO5joNTR3D+/ONKyXz04Qf6zF/99V/LPHx3+bKe/5GzZzFz/LhpMU8KkwJ05dIlabSfPPWUytq/++473FtaEiJ/7vx5lCpD1kNCvVE9ovNoVcxQnmxnFih4iv6nzoylkPK3ukuT/RAtl/xgWpqOSWzmY1nQ2pJlCSYGy+1k4j3HKwBUfdezyn+2exlD1Gvby7VSKZ8EjTTCbsNxzLHbrdbw9Zff4NI3X2NkdAy//u1vcfjoCeyuP8SNWzdx88YtlEvD+PnLr2Df1LQ2jKmD+duzeOTcWcwcnsbG2l2USjkcOHAQ7cC/Boh1gxXFFASq/OgTRQEMiovA1QEWoqg6Ah8tWmEfymhwJk0YbEwBnwR4vVVjNA+JkRymN4za7ExLPVOYv4ESrcj/0cGujIzK1/rn//yfhEgfPXocj55/Amsb6/j6q69kjn7xy19KqD786CNxvy5evCjNwyCI6Dp/s5T9448/Fv52+pFHcPbcOUvBXLmCp59+Gk89+6ycYf6cuIWoRc6Fkv9J7errQOZDHFp7fBuPIs1Mn0jNYB3b8LUMxi+vpQJd58x5ji4tNglBlOetw2styRkV9pDH3K3vrT9VoVSUT2WTD7zNj2sNnthanb0NvsP83Kw6nrz4s5/hwKHD2Fx9gEtff42bN25jcv9BvPrq65g4cAA7m2tYWlrCxvqmNpiFDK1OHWPjw2qwVa3XJTDaHO9VkKpax7fUOsdD2HCYVQbkKLmZO/PLFGExX8k8pD9/aLqIzmg6rIybIK+1+KFWDA6U8KmBtkN+IxO0Xk+oNmEFpmlomqJEjElaPitTKxQqasuZ6cP63PrmhtgCFBpqnvmlJQng0cMzKBWKaPf6mJqZwvjIiJLLd+bmDddrNnH8xAnrKXHtOyHnFy5cUHUMMb/NzXVrzEv/bCCxnwJTUUE+kNcM7pa+QxhEuV4rcOX3bHiCReaWmnMh5IEulcTG2IuIA1U3nIqCTsA1kyvhNotJq+vztWKpkFh04iGo83uEomqx85p4wLovPsC+yUnZd6ryza0twfqkeoyPTyCpJOoBSd+KD8mqXqv4yCFh/6SxMTm8LARgD1AVjqr5GStdG9rA4ChxIeQU+wKEEIafEw62TJeyAd7HXUR9i3gkE+oPYL0NSPHhe7L0S1HkQHFCCGxU16TsUpWS7cjMDVUqFm3pnYqi1/IXqSoMxtjXk94o14c/r1drqogZShJhfJtbO9IyBQ48yGStG7H6ozpswCqinR2tO30rCtv6+rpoLcwfMpK7d3cJtV1ehwWdPmki+n15HaSePfwhe7G0EkZC5QMDUk3u2llkAe+gx3XlwaOp556LI6e++j70SrRmo0Xb8KcSFuhTsfAhSUqJSFsDrYF4cmWTkUGnRSCtgBJLsvV3NpKwZrOsR6OG63VJjahbdEOU1ZO9jCQ1fYrhKht2MMTXDBl2yrMNodoW/sSTE866h9mD5VVhjqK1okWAXjjqozbIqjQ4w2ECJ6WZb8VV8tpE77wXjAb9cKDKWNmA4LCD3eh2dCKZiwvnlILDZxBOw6hLgk1/zZxljRthlxoeIlacEI1XyiSrUnH6MOQhaaKGU2zU0Dbm1Hh0ZhGY9YKyLstM+zTV7Tl8vyBMho8YkIovZ9o/QmZuoFI7zUIMFEdwLaKiO+Cc6HATUbeFxdZfn8+rfu8ZtrxWK6GFWilh7q9pghD8ZEe5+QDtFmfLWMdhhY4i5rUlQKw8Zg92sgFzPjlBeSivjZOjr1ZCFCBGk11pKT4cT4DULE+Jo71qXub5qaiQiYVRJOhtFaOriurnyHwUJYapI2IxexQww5+C3WlN06gphDT7c0TSWerdhSTQdclhNmt9zIPDFe0Z3XyH8HH9Oh2DUyJ4MP4Ry8/YR94OllF4rfhA1CFvG07B0iZ6kTUDCXYpNmwob7ggO+0VCzJ/ezNs9prYCpQmxEMBFPffuPhq9eN/Do0cBR7hd6WVUE6Xjs9rQoWTN2UtvIqK/isjep5HJtDJUZ9Xc35y1IeSpNOy/JzUZPgrHi6S1rSwuKyI5sDBgzh04IA5tH66BSl403eZpmwOm9tbWLl3V6ErvzM8xr5TlqrhRnGB1X7mR40tQgtECVVKT/bWPDQ7gS4LFeYiC4BkG0jTnpaKCebnHiAajqrBHXvVIipy9VA5tFz0/0wddSfphWmklhISHjlCXzOyOpVcT9t2Gw1IkVXa+4TCb+kkCWSEqkLFneeuPuXe0nIAzwv/MqUOeWAhSM6xLbVv8ma4NrLE2j6FVo7sRCTilYVw5F1YnXfQE5Lu6+1hjIHjMUUr571Wu1b3R4q0+lNVNxZrxaSYEBU1XpRlqBX3Ca0tolpv4oP3P8Ct69dFDHvt9dfVpL7btn5K0UbROidmUEgquHXjumr/C/kinr54EYemD+hkjo2NpgUQDMfl8nn7bL2ARyihwfTC0bo6zV1Zs63wh7QxHqVFf/cUDXefKdiepgn2zONeNGMplRCaaOdo1bzAzu6uUHUi8zr1bp7VVyGGHgl4tVyovZePE/GWh0YEpBmz6iIKJbWrok1PFkdCOPhnQra5Dx7+07lWbpLRljfWVV9RPySDNYupv+S1kNbfwlwOtQ4YQPCj6if8yPhc7If2wZBgy144y4NsCGJsZDiwQcfs99coVEu1fCmXtOo1x2xMbmOx+WAUqq++/Bo3rl/HwUOH8Oabb6otDatiGTWoCke8dA7rsaLEO3dm8dUXn0voHjl9WqzDoaEyTp45jU6zYz4BXzL6RbEYgtdxkiBBQAqoigwGSoXSHJi0nbESohw71HrgV9JYzvLkBtIs0L+juaFzrBPr0SffOj6fOuquBXjdSNMExyk6IUfPT+kd8bQ4BMoAWQmCFyKoeMDzcZpvmLGiVcPsLKEuCITuR3Ss8+S3jWnxd1XLIdMm4TcG89WiuZgANgCnhFCpYZkPl9LAo667MOYXpo1L/PqRKov8pVX1eC2kd0/k/hL0JeeK0d/cje984kNSUCe9YAAotBzopkLwk0002GSeL394akq4SziD0WMzMvV8OCLQbBZRrdfUbCOTsXbJ+w8cSIUkHpD/FacoNI5jK3HSUrMVTISo2I3o7sczYDSmzHuhuxmSdmK87w67EsOe7B0EPu1zlrAOQaOGoVCpI7L3UOfPKZjUEkKt6dwK8iBhzjITQT1Wu0T3PWyMiaepRMexfKv8xQH8bTB3mrIJ3N+Tn+jgcZgyfd7pRfHfgGuCxBi+kdybwOOiRjESzwEsO6FR7xYV3T4uj6kv81VtnB2fj6C2WArspaCen5Wyor/w9LWZNPo9jpclAS8nvowmcLq0xqappk2n3Gr5SP8Q+CYU3Io8iaST1E+/IgA8IdNeM6eoz/siKJryuX8eZslx1xg09h5oNCSUakvoo0dkjiKTP1CulfK2nNdkc5itQDZ8qsgnRmGnHHV/nsCA+Ez0J4P6Es+uoMV7HUjASFPx6RfSdu6Yq11im8g014j+jS2jfFFzIs2niQLdgR6mWiNPqEeyPN4rNVED/HqR8CKVFdrMBcUiSPOvJIyunQN4lpJwIVIEyjUNYNUJAiIUOGWF/qP5sOSoJ+j0sliapaNOSGF4KGFjDb2ULrKnQgXr51mLVrTBjGZj5AiKtenag9FOtmitAJu1XZ1epmvEt2IlRo/4jbmX6rX5o9L6MBXcQLEZBkZ4KM/olBP5FF7cyEcZDJ1TekxU1UTYGE3QPKGb+lfRnN+xLO2vC2WYxjAzW5ubEiqCgKGtwlFXiX67jWvXriKfK+L84xe1abPXrwqbOnbylBEbFdBw+WwMmnH/vQIp5hb6oQ3trLaH0SXZHDI7GJ56kan3/gdpHzGHRgaT5cHGFxPBaeDhzIerI4pMaKZYE9eepkwsGxGwBdM0Kihl+qtISKGABfZRJ/MzYXfitlNfnJdjYa6pcfY5qFabqtBgDRhzeQQD7929qxq36akpbG2s4+7d+xptcWh6Co1aXXkr4hcHpg5ZMKeGEE5WjPJwr3iWCfQTSdxKi+ovqCRqqHtfdKl/1wYxL1iR5wC/iWG1hlzHWN6Ibv2U+jrFeqWEvuCpB5mO16U5Hxx4xPtzw1VcmlSwtDCP//sf/xGHDs3gb//h3wja+OPv/yOW793F62+8gePHj+s+hGCIM8l/8iGdgi2U5LVpZQo8PFOQUmXcP4Svhdo6uUaPqvHAsSz6dRPrh8RST9aKgPcgf46WRwIVGszxwjC3g2za4K1FF2MLloljsjiWjXeLQL6EWflUq3O1fJHN+WuWZFQJe8wnsW7CmVwRV69cxffffYcnHn8cj124oLaAH7z3Hp68cAEv/uxlXPnma7z9hz/gsccfx5u//VdYf/gA77/7LqYOz+Dic8+IaM80ycS+CXOe/YXCceQimDNrydzI74kpOti3YYD2Im3n1FvToAYxxOwa8VJ1Ki2fFSFyKLDw2Qb9EUEq3jA1KnP5dzY9E0mPzEdffG549Kj64ovP8cnHn2D/wUP4V3/39xgZmcAffvef1aHupRdfwvPPv+BV0vSjzFEPgFUtk9QXQGGICZybSAkIsTyfysXP8rkEp/g+qX2Q918VtMN3pqB6wNBlEe5AlZDI4D5dQr6cE/SUyaBWZ5um4OjHeru/G96grkdIQT3emXJjvjCPOU7RolDlinmNEYnTEhrCfKs8Wt0+3vvTn/H91at47vnn8eyLL+LypUv44C9/USEia9qW5udx6ZtvMH34MJ576SUsz8/jw/fex/HTp/HU0z/ByoO7OiUnTp1SN93Izf1A3TqkEMwCsw3WoSVSLgqnPapKUXCXEh3O8LqDrejDekyDtdPSepmQQQ57EOGCSOiEwMBwBnspKH/mtGfiVRT6xfl50ESyBwI71u0/cBDXr13D3bt3cfL4CRw8cAC1eg11TkdgFJa3IUKmFaKqx7joMpPSplbFHW0zI0JMKdU+UcLOk4/z1UEyZgf58hIYH2GruYgiCfgoOlkL96+C7jMQJPG7rAIqq/HcqDcadtqL5lUyvRSDkAroZ3NYuHWLuT+WaOWTbtdgAc0eYZMHb1sjimu3jzu357H28AGOnTiB6aNHsfrggcxbZWwMU1NTunFabJnN4uHKChaXljC+bx+OHDmMrfWH4v8cPnxEuS2jrFg5UhDzhe9E0zH3C6K5vfw4LpBPTRcjlFGeUGdqIfYXMFaF1Rx65xJPdVh4LOaTpTaIbLPo1RdVvpkjyfI1vIxLkAegFodC1B1NJ9tA2s/9S4J/xG/Y9pAsjWFFvFmbycd8HnGuRk2My07Ly//FXy/oOgxuFCWqqZtpEqPpGmqtwCeAVueaRQ40xZs8CNHUWJVRFcTopEYjXmj+qmtBMXytkUocTjnxDvPwwGlvfOQuOWDyJYUKMKggDEK8yoZJWR/1nLUSolAVywWNuzXTYfeICVZiGWqWn9WXERtSDZtHYIpc9NDGz+FvPgxpHcFYZKsg5gb5oDQXUt+ekBXKrtZDMSAyJrBHsYg9kIXrXt4e8/28QobPajN9DScy5Hhv7K4KBBSxRGW0XHIrRfMIKADUND0T1czevYVzaQJSUIopSRQ8RP9RNeunCWO6yFsdlTjWVvQUS3DLD+PcHTZ4Y/qLZsYxMwU8KrxlTYDBDsKRAhIZGGwZAUmaE3RfVKkrtQCiiWRnNCbMDTy1zbeuOqyGkfvJjoNRM+lNRPj8KkjxqFZuidOq1Z5DdSOG/JNubIUvbCRbVDXNPCGF6uZirVRmMSkpqjH9PAo92fRV1XcoVEaALJmHNXQdryFGw8uTXRB+iR7Kc2LCRaT9GMZyYdlV2E7uYCN9lR/xUYNqbPmXH1S3WP7LOv0F6GdjMMhatPtQHcsJ5eiMSDR7opT5Mvp0QauVgCpRtofG25DvmEzvg5l8Qau1mvJ/RNT5WxU9AaA62m3ogFVi22R5s8t6bmkeS8zTwVUdTJZ96K0hryAStZzk+/nsRS+Zs/ygXTdKL7TxywAAIABJREFU/mWCXQOIRDcAEEsglEK0tkJxYCwDYZAANSMPegrhOHjNz4aLsedJuBgpOe+jbsXJorIwoqFgnbyDn1UyP4uFhO1j5N94uCoMw6m0XIhmq4eNzXXRRknDSOcBakay4Ux6QA/3+UB0bnlyOJG8XGYqoY163UyImNXOnIz7BBfdzIHl5tT1xakv8kX4fNHuZ8DvMbNpZpAMRTNnPt+Ylc5FmtqmnoGdZuTUB07jgKgBlO5jDDT+ohDzXcinotkj/YWjafncMoPeCS9MZkRvkWuT9tYQcKuVI5hMzRGVzgzlo40iFSrzmFYPYDlJWSgX1iAvBtShdJVXFUXeTlhbz9JY0c8zDpPBDiYInKBhJpTN2qznJ39Z26PoRRVVPFYOlmp0qiwvJuXnCX4iEHW2ZyT4KcnVlPZoimEnQ/yaTB6ff/QJbt26iZdeeQWnTp0SUyGy6hHyq5w7SSScSwsLuPb99xK+8+fPYWR0WEAqy7vFP1fJj/VRFxtRdYNW8BmhfoTTyi16E7U0cnOhN0VsAtLnoGjnnscoMYGbOtH0U2z0rnyTgWqVADnt/T1FFQLrHeUIJ2iagjM1AnEPLr00VFp65iwJUZr3Mvye5xbyLP+ND66+E9aD1CyFVQVHUUMa5bk/pQKFgcNgSt32bVBLWv2pTVAVXKPmKh4iCyeze8W1DMrwfp/xLpGs9tSbItGwJjp87u/R72J7xlwB87dl/qzsXd38Y6abt2jUDbM59Vj649vvYPb2bTz/4ov4yVNPW82pO3aDiUkWFfJFr16+jE8//VTU1eeefw6V4UTDc06cOq0cn7AZVp9ImG0jY3K6hMr9AFGK6Wz7KYquxEa/8MLSgAtYReSniRsmoE+Vueb0WpzO5l0+3SHlMPVF2o+oMg5WaBpuCqM/zW32IZKiN7t5D98naiWV5nKIgCZPmJOvpVlFJz86rcasAyEVG1xEk04wOj3Uzg2LRHgg6gHURvvvgCXaHStdNyG3Y5f+zMe6RLfomIM9CLeEllJS34tDRH3hgZQG8yIW1f6Z66KJXf2MOeq17cVaLpdThXL4MeG/xEOzkfzcwiK2Njalxk+dfgQz0zOKWQPdFR3XnTyaJw5HZI8kMh8PHTqIJLHZJtPT0+ogIkFyHpE2PA1lTRhi7ITlxpzmyuIGHywpTUOHmOVkDARE09DOeQrCqMLqUekj4ug38hkYFMTcZZ2+gbQIBUDNQ6Kax0FEzW/x6E9R0ADr00h6RsBTVTJBXgmWMTrl2mo+EFmueTU3lYmGObgsX+PakwSoNI+6SFjjXDnCrlFkNVyT6xld9yhFFWVewuXIHIlBCebYKbXimKjRYKw1uEQiGtwNsESkid0fNdzMNK6eyKlC8g292EJ4Yj+DeYv+ZmvZfF4NOgJ+V8itiMkHMir6sxfaWl8TJD86Nmrmy7xTazZLDEnpFGMEcLGp5VROlDPUmJGacnb+oNFpRvnklCvFezlW401Y7SybJgp/LpKiAZgSfOMj0bimTS88EiSLtd1m0YBNtZCwBfPUbIBFjZGFd98yggcKFenE9IPk53knPfVz0GiRrHAaRcqCACz6ynAiukh51m2GJVqZHlBJynKW2t6SUmvPBnECIlk8aykcm09t6S3V7EVn5oBYXIunNBjrd+l4XcAFHiwNUF/UilyRZvTMMCaEDtVAS84w72oc7C6HaMyhcT1nKYYKO+nddKEiTsVm+OEESzL9lRiClspDKJUqmj3CE2HgpcECZqr2+qvLFGQyWvzoFKKkdN8iGi2aT4Lgd42IL6WviElEOy+5D8xJQKlGmxk3Wolcfjay7e7oZrPWfz18vfBh6ITyeahZSYWOk2m1jXvsAGlEx6cieRtoM4tJ6aiTeUBYRJgOmQpM05RKWFyY19TQyf1TePTck9JqN69fV2BycGoKh48e0dSFq99+i2Ipj+deoEswLDrRyv37as949pGzqgfsdqixiJpb2kZWm5pOZD9vnxmQe0AiAjuNhRlOvXHi+H7sbGM9HaINAddTkI/q/SzOUzTr14/IPbIL6j/mAa3d2oYxUATYMlJdfUrs+iLw806tVC4ndgNSe72kx1FaUTjKFTk57KdEtgJfrlWv/4AfrXEUrZYmkldKJVRYguRjL2gq1DWG82+o3kOVeqFj9DwSJVyYy97ChCNqzRnMwYx8VZheY54yxZRDhkR8bzUZmtdSL4ZTKYmryIUsDKMZR0oociNCsyP/6I6wHPWB9ox8Bo0SqVSE4/zzf/onNSc7/+gF/O3f/oPmuPzpnXeUD+UMmNd/8QbuLd/Fh++/h5GxYbzyxmvaJA4kurd8D6ceOYVf/upXRsttNVEpWS9UDn+KLEHwmeT/DPR7D8HfC1l01FOSYHRPTn1Gz/VZhG2Swgg/LW2LwMctUWQzXM946yZzU4gNBl2Za7Zw5zZZCndq5SRJWBQqcM5DdjW3cEetPDSC9Y1tvPenP2HCEXJSQRgJjTi8wE1iQSRLlTiNiT97sLKCAwcPKTXT7dk0LfaU5IJH7ZxOvB0vlTeJqjpgu2XL+Rxqd+1dXLgQwekJwpph6fptzez3mKGKMIUkm6Yzp/NHFTd+HaHObppJ/YjOehSqmGQanV8kVEkiVuh7f/kLFubnsG/yEH76s1dVJcNc6f279zC2bxxPPXMRm+ub+PSjjzA9fUhd7qi5Pnz/fexsb+HY8RO4+OzzuHt3SfJ++tRxpbWsf1dk4e2PWhNzQtM0VgR2oe35MxWuEKnv9oStWZrHsEgxEqKHQ7QzCgvlWlCHzdmhNPfKoXqKigGIzQAyoFlzbcJRD01FBFyZ/8CnvPkZH4Cjvm5ev4X/5x//Ue3+zp49i9WHDzXLeHx8XBvFTrnEbNiCkKVEjJS21tcxNXMY5x9/FK12Q4tw8uRJVZeomibtrWD+B/0HnZgAOFONZo0o1HfUCW8DjR3Ssa4q1HefTZXW3u1vr4EbtZwpKgYciuYGelqFqjcTvTd5i89Kf2qwlZAcc5/hzMVeXVuVv0RFODoyhtGJMWXvq9s7NixybEypmvnZWZm4EydOaJNWV1cFCieVYYyMjWF5eQmZfheHD0+n+U7l5wxUsyDCcRRjYOy17Q5evw5hONceOcYMHzE3fEZQwAkBcnJ/lA915oLWwCNsHbYYgJ5mu3nKLWNA/LKfLViFcnXjjloJReZbQWiYB/YeEH+8gNnbc/jm0jcqiiSleH1tLW0r/fDhQxyamsaxo0cwNzercV7TMzNYefBAdX9s6czJAhxYxNwhN5ORjmy4jLpJu/FzHLAMx1ynwTQPTajmKJt2T/Nzoc2ImwgAZXN7DTx01NsdccEmhBQYNXh0I+viDrpQeZ/cQKdTgYAvKg8CEXVqYPpnQX1RbtBZoMpHti0fqfJ69ZK3VgJyL/ydCB0wmOF1lJP0ICHK7bstTl210MSa8HqTsoHJX74EHiftdT1Ul53wEwPMjp4SA8Q8Rcv894jw5Jca957+XAC5KfYWuKLXFFjXF1oRq/wmIZPUlzkOPKJQFUvlxGa52YDEqFiJ+TPZfBHtNic0bHnFMftI+ihY0FEjzbagMH11dUUz6aih5NxubYtTVcwzIuuoiJNmhIvMAk9xlxhms9LVm84aImxtE6kNrIeUhdgKqUOTpS2tbbKTqpSFAVmDfGkcJ7FpNl+fWfeG1f7TwfYmGymz0p3VwJ8i0uLOUahoAsNRj4GS/Ds3Im3Y4VPbDbrwmj70UKtyxjFHnpTRahFfgyqP1dTDhzdR6NjLvNttaqOClqLJV46ER5LXInPrFk2CJJ1xYUre+Mwo0bYu6hTo7IXA3qhEouA2IAmi4lxpHnhaC6EAUZIlfhtv51MrRG229uM0sSZURev5SaEi+ElVvYfIujMcKG+G1bRU9z5j2QftIMMEagcdpmPE92FKhcOcCfNn1QOSaqXdagAZnlhTrwY9GU9IoKeoGjaMRxRu7+FgxQRG05BQqY+6RUTimzvvyMaW2DVC65nPEAAgU0iCr63tkXdSDlqt+SOBw7gG9HRNgILiqDv4GWF2jBQxDWc9m9jO0q5rCx4bqx6djGwVNVk6ST0VtVP8bf6Ohes8DCYUpoW9z5cn6y1DYB585PMUnXn1jpHujMFrdCaDFOSKOlou+EZaON7Xn8I78sjdsCDPonPLJFu0n+JWexoyWMBLnExa25irlZJyQqkNtDpC0iBz0fyx59X29haSoYo63nJT2XKR4J010yKf3fJhlgD3fkd8JCeliR/UY4Mtw2CoFdPNN5fYgE//ZQQ+o33ERrV4gmNRxUywJLClaQIz9ZElqaqO+cjREdAYAJGn5MYpV+j5Nf57Cn56Gkg9P528RqEKvEqa0Kky/HdWX1MYKHAxX5q5xrRtj4E9wqos+2HDxs3sWOcdD0k1O4Zze/RsnpiOcWyWJjKBU86PEzVcIEX77nmSWvMY26K+hAaXSctR43h5HCNnlov5wCvNqRZZzybdy6Q6I9VKxczR7/c8Qc2yPI5EQQaLs2zOvzFfKw9VhKiHLY18nCRVRLYclpbv4Zuvvsb0kcN47IknsbryQDjMzGE64k9icX4W165eVROJRx97Uibu6tVvVUj6yLkzaLfqRpfRcCMOVDTzQBU+2OTfGp6a92GbbViKfBe2dnbajbrhuRlMk6tpTiwE0zsDqoiDEZ9Xrng7yeC3W3DVF4wgH8Pb58ivcAGnox5CxX/XuFuniCj36bV44esQxZf5ddaGKUMmww3OjL5SOjAuIGo9IETd3l24WdoA1rQun9kGg9vAR0XOFE51amHj3jYaDZpaN31esWM1hnZ9dUfOthgnI58jt5zmteSzhKqARsPlke3bAE/VzTgYHPAPcS5TAtZELU+hzeawPD9rDTqoqUjmiiFGUSmTpke6fXz11Tf49ptLePSxx9Qe6Osvv8QnH3+MR0kf/uUv8dmnn6pHE+cC//o3f6Po8L/8l3/CY088gZ++/FPcW16UZjp67FgKmgo/GpgEOgi6StNqyLYNKZQGpF+hPp3W3F+9rIxDnIbaRh3hl2NYgGFSUVYfGolCJDPizqp8FNdKaVHGAM2GuT/6VQGFcNOiCMJ8H6ubk28X13UTymekBhvMJYarkQo2NYFMpzE9DFuzTna8PuEaNuVnDzCWvLFfGDleTNBzEoRSX72uzerJZFFjY5CtDXX4m5zcr+iVOCMjU2r/VnsXw0MEhItYXLiHZqONyf2TqNV3wEswqs+CgZT9UvlYoMnqlOzj+Prkz7Efe0F91NWekQ06CqS+NOvWr5u9oVyTmElhBFXG5UuXcePmDTz19NM4fPgwLl36Bt9e+lYNuZ597jk8ePAA17//HidOHMfFi8/g3t17eP/99/Tzx594HCsrd4WVnDl3zkbk0pTExIYocCRj0bPpsfkxsUqfj7SKC2NgNiGcpv69h7rTWILvLlPrVblClgcKSVNQz308UXOi7bRnDWyywqY2jdCJsTILMnOWK/V5wi6YMuYDHVik5dwcM0tBwRMn3OcXRnW4qCpcAy/WoFBRGK5cuaL7P/bYY5iensHnX3ytNT5z9iwOTh3CN19+gfWHq3jmuedx7PhxXP72Ei5fvqyiFNYNCO7o9TAyPIr1jTXU6zuYOTyDfL6Cd//wF2ysbeGV13+OTr+JcimL4yeOSPvISkTg5JaL68xIkT4h95KgMGETOuq3r31Xz2yu3FZ7RjV1GGieKlvvCchCoYyHK2tY31gVmLlv3z7Ud3exsbkpW8yTwiw/2w+Wi0XBDsR0CDVwcSj1dDx5ydGxMalh4xcF6ms+haZoqZzKcmBiRUa+a6BhSPSkCh6T5QCd/uJ9EsRu8MGLbCIfvT9NAZrPk/pNTsURkc7vm9YkepLVpmTVZHqigb6iSOd4pT6Oe7OBcgd9xzIF3n/CzaqYFimDIUafeGDibFfe6+7SEr766itlK46dPInHHn0cn3zymUaSsAUBq8X/9PbbapzG4UQUtNk7d3Dl20sacsRWBQRpiznmP9u4deuWWio99vgFTExM4a1//oMGer7+q1+g3a4pT3v67ElVldv0LIsEA9yPw9zjYG4F6T1rHZnJYe7G9/XM5sPbtZGh4YSqN2iwCvMNxvWyKWtvbNwq87NU8+Y1aXTwhDk5QCYHmKeXDdtlx9lKiAvYkZMe+cFYVPkb3myLFSCWxjGekRu41PwpFPah3EYwsxA3zFn02IoIJWg1cZ2IXiLVYWi+ofbSXr7Rhj5buMPPCFH30SH8DJuaiVXpPljQXYJxIczKA5KUPxZsCL+nB1cRUlkVkJfIBX5VGRnBxtoaFhYWUk17+MgxbG3tYGFxEdOHDuHo0aN6Pv5mhFpOytg3PiHNtraxISXA5w04ggArfaMnn3wKo6P7cfXyNXRaXUxNT2FjaxWVSgFHjs2oiUir2TB/yoOZGEKpFA+dCmGMBMgr+vs8ZyhzNNvQSCVRFXHM5uMpVim6jU0lP4dCpfIkZegN6h/sYUSzwNNM7UL8xboWR59yIvXmCTH10aKz6EMJrcm7OeLW59wLOt2MpNpME7ZsTEnwh7ShnY6DkYHTGGhJ8yOarReSqke7l7lHq6KUNhvTKGIuTXDDByp5mJYKoeL1uUma+q66Nx8T7CxVAbV+SPjZYFSKARDMDkelA9YI7pIOwUCtnrr2OaU5WLCEXlgz0Oq2pb2Gh4bUII3OOteH+0CBp1ZlRbcKS1xL7fmwHXXzyxcq6LRpknKK/pudGjJ5YojWQE4BiLsnkVJTpCrLwQS18fKt8CGPRSt7n6sllSRRvyOH4VM01TFgtmdcebiqm1LVMg3DapnVlRVM7t8v9JzgKWsB6USef/Rx7Oxs4u7yskwhh+YUGLmpV7elUtTDKiY9uI/047Y3P3DcPT8VSLBhVM4VMvQkxVMUFTpEIJM+yGDkvVwD/TiRHI60mqdG/wDXYpqhLN+hlLYxlA86MI3CXAY7uXFtCZj7Z9KGHqGa02uo9qBgSTc6N0qHIJ1kttdjq09zwaGdQvPtOtL+rlFCQKU93c+MDAAjeTUN7tZJHEY2lyCTYV8MRr1kkpDiwm6DAn1SGM1hRdOqyqFGSqwvbhiFKlsoY4ETH1ihzPaMHMVFzUOH00A7M4B80N1qHR9+9Ils+Nlz5/HMs8/g6y++ELPzmWef1Wy6uTt3NKiQAvbUUxdx/eZ1jSs7d/Y8zpw/axPM+31MHjigRRSQ6Jl+RRZOuUgXZyAPNbhBOiFRouTmKjSXmS8GiN6Vb2CR5bD7xNJIEls6zbRK5MuMirPHMYoiC/pTKnxwPhX/XeCnJ2p1nT1CgUXS3lOL76aqG9/4OLRM3jN7Ef8ueMGLQgiZ6KhEGscbaLA+k3gp2xAEzkWNJLjA6dny3QYGastG0O/xghS6Od0OhaqNfL6Mfr+ApuoRRQlkD2jvR8+SLOZirfZQLFYNj7SqJeN39dGo11AolOTuzN2SplpQf6pmo2b1cgK53Ayp/i+H3VoTH330qYojz507h6efuYhr332HS5cuaVzqTy5exP3lZVy9dAmPPnFBjuK1q5dVSHn02HHsP3gAm9vrqBSLOPvoY9pIPkiK4biZUeFDaBjXRIM+Dl9G+THnzhvia8ClTrxvirrQeFgetXxxmnnPoIBImB2EDUJi+FCi1bi/xA1hedZgQlnRHw+hJ5Xl2/n9QzNKkzh1RsITaSX/d/mUAyXu0sxR5PqjBrsUNrFKOYBKjq1z4gfMaESx/OngOtEF4NqSSMjnFWQkn5XmmIrDhkFaB2Mi8XYlypDK35QJ8SxL2sLTSIMUuGij3c/n2WyYrYTmVaJFn8oxeT8BLpEAmj3g4YNVPFi+h4n97JUwjbWHD7G+uqq83r4DB3TTpYVFHD5yXA4f5wNXya0aquhFVtdXUSrkjE7cbKqIQJrD5+8FQSyc13CaBzlO/LMEzxOloeblO/2YCjuQdomWj1ZQ6lMXwjkfLK/y1bQcmhd+uPmkpmLGIFIzATvIv4hugK4NZQJjZ/xwpAGDkwCVFfBf8VlBHm4dpKWcjqNDkjaKJY+rrKatvEKzVlWBbUSksSZaIz0PJ4oatz76lRKioCaljxzwhVJfEZiIubE3NYIYGzUtDwFrOE1o9wIbtYxka6no+Snws1xWhbJC8x+YBE6/Ij7ELrw2oDCIcXxpJpEVBVAgvQyJ+AXXM21dqMXh7Lmq/p3C06rVjCWQy0nA5MySORgoebrc/oeBXkx0isNExsjaSOoGExXqRbpn0uRXeHJZPt0Acq7Iz0JCL75w7eH9FNh9mAIRU7QCl5IZdLiDCy7z59FwAJsRUQasIJ/LgdsQKvl/Az5eCHQ49WI6OIVYPC71Tchge2tX6yfMLFoxOYc9TVmlvSX6SjOyazTXjpPZSy4csecR7RouWXCcrmc9MJiTVKGsdXk2sNenZbjJZxUVWwktz92sZ3Y3FmpldidmibOPMFIi0lMCyiNlCPKVkGdtF6XUE6uZfMWIc516moPSYniHNmu/mLFWQm2+UCdNhbjetfl6g1TWaJvjpo2fs4Sxz/Jz/ys0WER6ab7Se4Lb3L4oQXJTFo5yWkrlo0QGNEuY1ABIdX+Ou+UQyRp9B2vQIbqLN8aQ6fBfP0jKe+EFD1D0LA8oI4T4B+dngMOlK4aPFCA0haqUYGdrE2+/9bYE7OVXXlHkxwJfLZmGLXnayaGffFLBg3t38c1XXynQYlOVskeDASjruz7cku24eZBu37mD+3fv4vixY5g5csQayEp7Bg/ezCo/yxItFj6IpUChEqLeqHty00ZwWQm1OWd0CttNMgg7NLIYGxlRlzw2m2evhMOHZ9Cs7mJ+bkFEM6LoTAswDE+SCkZGhsUQIL04S6YDUyhdu0cKYPrcPC2+b3qYqiD1B5MgSuxjQ9JKEi/qVHLcMSL5A6wMpgbV+1g6JTSUnE43NfKn3JcJNDz6YQWfSu0ZB6ZoKQ8XFTyeGDbzbA3BBA/Q9WWWwrVhsC6NYeBZf9esRnFxIXUfK5gKxroA5uYW8Ie3/igr8qvf/Abnz5+XxmcCOyZlBVyicvxiGdeufIuvPv9cwvHCT3+KEpH6ajXFFzW+V3tuPaj4vH95/33M3b6NF196CU9cuCDtr/mPekYrjuHnGPmTVk0BvfHdNcOpSpVSokqTGKvmKYJwcludPuZn57G0SKEZxdMXn8Htmzfx1ltvYXrmsFDdjbWH+PzTz3D+scdw/tFH5cjfuXULR48fx9nz54xg12mL4C/2Ic2niGw0l9bgnehtDFEMHg8/J0GIZl9e2Bg92H9g1gY2KfopRZZAvCKmPwK+iEhtwOxFbaBMJIUhagu7XVSrNeX+2F5bbAQf4atmbzq5e91/FX2FG+EComAiCnWjCnqgjU+YQW2Ym8PwK808MuJiS+02Vtc2sTC/rMTxmTNnMDU9rcCEaxekQWUUWIBSTrTxc3duK0InHMRWUOwFwenycXDDw1MDM9dUV65exfzsHE4/chqPnDsnQbSCjGj+a9w74nfC7LI5G3i0wTTNUDnhxUSCHyidiiRutVrHF59/hSvffoujx4/hl2++icXFJbzz9h+EU/3s5VfV7eTrLz7D6bNncfLUKQkVIQg2STt24jiyWTanyCkvJUS8n9UUiOiVbr5ZJ83vpWkBmSxf1BhyFAULbpoij2fZfz/50T1dmsiqdJSEZlpl0IeJDXR0XprDgVdL6tLn4WTSLctxsZm+SHMEFy3vZ3bHPis4Js3xWYr6xyVlZNOGuY5JD+GYpxkCN/tkqSptFRw29jwoUlC6qNdr1nfU/b94Dit3syQ8XZndXRvCzWHbFFrumfymtH21ZzE8hx9pLUPpOTiTbNeyPh++sqAW90X57iyI6fT61pyfCeUSc3/CLlhQag0lhEE454gfnptd1BStQ1NTePyJJzWrhX8fHhkVbMBTeOXyJTmBp09zlH0X1VpdESKpxKUy0dscJsb3oVrdVc6ID2tpcEvc8RpEefn0GuOWlkwZb2hQc/DPMnPsOOPVy6LQKMUUXelsv7nxRKWj5CvydWE+U7BwoAPwHkvAYJatrW1nKZhAMYOQdqJxGohwJ0Wz1MIGAdDMi0qd5lKdOam+ToznBzvsWOtJIV7U7P4+0WuVnCVpLbZE7FrQ02Zk1mzZNIl0MoSPEAkcjGOGVchqoLDldK3Tjv6duF46K9vaLKlkTk1SBPxpWjxBU5lTFalY9KfzhD7yEqoM5m5ft1ZCNH+quvDeTynNJPpJeum9fCBNEXCekE6qdf1l6mBnl1ycPsZGR2zGMQyP0uKUcmj3WC/Y1yRLkyWDLTTfhaPt+QzNNgpOn418oFpIx7BwOvIRMUm7KANlOTimjjhzhqgxizfTYd1myug3UHq5GdENTxnOCO9FKrWqHIMFjH1jmorUFyaU+c528DQF1JFxFXsKbAW6Qpz9l4pOvUOhaM4dFV1aRGoJbHakoXPcarWVmBdVmYW3pFKr+pgHp6TGIp1mA/eX76HZ7GD/1JQc71bbIBoRJotm5gPmUANep9OoZpAMka4NOrKgYo8WJGDZ87C24v4eYX69jZCESQzdrKqu5WcVSnLUTag2FmsFFZPW0ggraCc0QcInHCCU9hLpy3qY03SxspnDqNlAlSqw3ajZoG5pD+9aUsiiV8ii0WVn4a5Pr7K6uyKbSBRK2vS17TWs3X2AJF/AgckDGgDAwUlMHPAVZbaosfxUmunpo+9syS4zjCyUkJBboYEWQAOuC/IH2h3L00WYb5bLRDbAR1I+qI3ov9jU9IyGNIn5mpSQlMnqNFNtFcocv+vdVOgDkswZRRReIc3eU4Hat3zuIMvVKETssEcmKDepmJQFtHKjSpXEEukUTBZ1dPvYvHsf87dmNYFrcnoKR0+dRCEpot5oqn9YgcwCFvu2GiiRmsOOPXV2hu6iXBlSSbyNNo6hAMb/0kiVvAcWwqT2RvNZRGzay/CvaAduFG4noySCAAAUaUlEQVTmF4WTFYq4wylajP44RJJOnw0iNJIYN3nwNFtqYa+doGWrrdSpLUEpyu7KhAaIqJA+i2ptF/VuA8lwotOtiQHUKiTmi2+eQbPdxOzCLO7OzqOSL+D4sZNqSsv5KijYeHs73eYEUzgbtV2VBpGopjKhQlkd5FJqjTejNZNOajL9RucqRbWM+z/Wr4elUAb8RT/OjgpibePr9SrKSQmlonU70fBqUocVATo3T2osvEAm0jkPPSssTzEGJ7ALM2OyvgMN4dzYwNrqmvhmdC94mAUu5jOib5Oy0tytoUli3vIKVu8/RLPXw/jB/dh38CDGJsZRHqmgS+H3Ubjggei2NOmMPTAYhXM92UiD+VlWSSuat+Jlq2L2Q2va33npvu+meZ3v7rk/OuYUMhIEBa8UijZGZHdjvlYqFi2hHHYyWH6DrRJDmxsz2n1Cb/rANocoWPc9NdcwpHd9Yx21ehM1jjVr7qAyUsHo8Kj8JjrrTDKPDY+itlPDw3XytTZQ29xEMZPF2Ni4Oh+PT04gnySoNus6idIa1arGwWm8G2fRDdlCTU0dtmYXFDyF6Cz3sNSDFZha8USQhOX/hFDJ97J5xPSDDHawMbAUZEIkrVYT+Tz7QZCPRXqzAYGOCxgzQTbTVBU1Jk05TZswJ6Y0mtYVmJQS0lnoMtD8EfWu73L02xAmJ/fJ7D3c2EA/28e+0TE0tqqoPVxDrsXS/S7afFZxwvIYmRjB0PgIGt0Omp2utGkxS+1qpfrUOlwfmt5CMY+ZY8cwPMomdlbRQ81sDdhIKd/r62VpIR8OHjUAYtbGQAG6LGZFVAVE2vkcK5Q32EmP8/6sE0s4toTx5ae4oKXIq+M60RRDziqbtKsGrK8ppq1WQ5gUSWOcEqEwvEBMo4FivoixoWFhJDyhFDB2vmOnOmqtEsus1CeKyBYwMjmObj4LdsMsV6jpOF62ZlRbJburYGflfZP7MT11TBtGh5bQB01JVgMCOJixoesW2CDfUzTRMtH8Io8ZVE4bXVJMAKn4Sc+lNo1iVDnqjMx85vQgBiVfwyNVFhz0Wi29L4Vs4+FD/ZelWtROrItMhoYwOjYirV+r1THsQQCFamV1BUVWMnFTdxsodKxmoDg8jG32F2WJViVBtpTj/HcMT/AwjsjUi8dWyKvpHIV2fW1DGnb/oUMaHF5vNRRoUQg5pniIfT1ZFaTAIoNeywc2hIsgAfO2VsLhrJOe+lvQlPezWJ7naDYOkWR7Ro6RdQ1kRHwTzaCfDKLGMoW+8PzOzvoOdjfYkL8nZ5Yby4YfuzQXpbJekpvZVre+DBJGfZ2uagIpTKRONKt1tXlUuK3kbAaZchHJ+Kj+m6+UxGLkz4mN0IxSSHg/sgeaLODMFDA+Mi6AlSaIPs/EwQMYm5iwaijSyJzPLuQ/gEdJVHDbzfwJ6hh4fz6n1f05lED/RSXp5jcaTBURk6HtfJ/N1XU8fLCCZr0lv67baqK6tavqZfLHGbmquUWxIN9MTIAGQcwcGr0uduo1VSRnG200N3ewef8h2u0uCpVhNJp1kMQ3OjmByugImDnMloqojAyBU9FoCQQ5sA8YeoIHttY3NeEsGRnC6OiYzDfNYKvfxcGZKUxM7sfQyLDqM8lBU2Qcyf3gb3jvMM7N5uNSu+VLBdCnnb9Jn2p9TtQXUlHSJO5A15cA8czj93Ipp9BSXbJ49M7NWdQ2qpgc36cFYiff9fU1FMtFHD1yVCex0WBkSIaBgXs8eZ02ed5FDU7aeLCClXv3FQFRV9C/GDu0H+PTh5AdStBoNVAu2DwZVRh7uxwmODlmduXBCrbWt/HIyTM6udu1HWzubCEZG8WxU6dEuSkxYGCBhxz8KGwLRNsy/1EmFg3MeEB4utm9ZWd3C6VSQQQ9htcMx+Xwu1OulJTCIrqBBdS2d3D7+g0sLS7p7xPjYzKbaw/XcP8BBxlM4tDBgxohTB9KjjbXuWWOcp01lFlgKKmgvbWD6oN1LN2eRaPVQaaUoF1v4NDhQzhweBpDE+NodFqot9uoDFdUj0nfj1E5d41am/4V12lhcQFD5QoeOXlKAPT61hY2drcxOXUAR04cw/jkfmk38c4iheWUbQU/TpHiw9E1UEU2o/1czqZokaTH7sSMOFKhcnWXJg69GiVFigf6D2xtbmBpbhHV9V0M/39NnblvZGkVxe+rvcqu8trL9EC3BBIJUQdICJBaIkQIaRIIR+IfmJyQCNCE/AEEEExrECICiRTIECRILBq6aXVP46Vtl6tcm6tc6HfO/coeaba2Xa5673t3Offcczo9nfDR6DKG45Ge5MP9feXb2XrulfOqJl4Pwl/n5xe6wSC14/NhHL95GxTGYpW2mrH/3v3Yun8Qs/qN+Ff3tneig12FNmLZN2TNfKkDTG1Su47Y3dqNeqcVq9o6RrNptPq9ePj4i9Hf3bHEM+9B9BKr9TkS27PGqLYPlxcZDJry8Ciisj/X5GtesdKhyr29zSxPI4B1QHohuqOt/vo/L6SSw42iS7thvIGf82IpHrjkpIlUdJzzRdTXlbq24Xgcw9FQXS+vV13N4/LoJGazRdQ7vZhN53Fwfz+2dgeBBej8ZqUHmNHZmri1tmo0KY3oTqSl4SBNbq3r0RcHqhXLGjBILXYfHsbO4YE6SA3IxTDNTeUsh8r2j9fiDLdIXoDuuqri5b+QZ2SbptPsgnOU9jrrfHdAxW0hUeMSuXQzUJSr1WJ2NY35eCbLNeZAMk+6ibgYXsRqvvCT06hivmRToyPNdb7v/N2ZJue0vrVlxPX4Kiqp5qZxe7cVrcGWLli93YwHe4eKVhxaqBZceJB8aCnAEu/fexjXk3lUrWYMDvdpL/X0t7a6GpZC72nmYiTvvwij+aPlcqaQwQ2XecN/B07gxpDGSRmAgKVuUnooqsSy8q1HiyJePH46t7EeGnCk4+P/Seis0+vE6cmpbjT11PZ2P6aTqQ5wv9eL2rrSYgmHiovZJMKTTViZv15Fq70l+jcga9VpxJIAt1rGVn8Qe4cHsvUdT8d6KHrdnmrBd+cXooLTYe61elFxqPvb0Rtsq6Yida7ryBPkdAWoRoRAi8p6adbLpBLdTfRQtsewJdYRr+j+RqcvRCdG54AwplpKNvPuaspsTYX6nYtXCP42LQR1tngZyDVF8Xw619rWaDT0wVtMlRbYvGGSzho5hSR1Ei3p9Pwy1rNFrFD0Q7lXRPp1DAb96G5vxzUfFDyoURdEwes77DbU0pMivvDokQ4PBSRTc2orVvBlCFS6Fvlnun/Vn6uusqCXoAQtb1g8TIAmkAYmkucXMVvMN/oPcJO8reuhqtaWcmHT2zqtzfDVm8u2nCUFLWYsg6zj+O1bdciKuJovXim17vZ70dCyxVhf6/Uw6L7UQwhkwwPYDKJkQxKP3Z1+7N070PWazOfRZPzVqsVkPo13Z2e6TozL1LE2GnHvwYM43D/YgMzW/fRcURlPmvZli7toj1r+3JLgaXNHoZKQg5wv1o14g+oLdresaCHOb8AwyXk5UBVgV4yI8iIWpNvkd0AyWmsX99JPgC48ncXVBD+aZYyGwxhfjWJ3Z6D6AStZ6S1UlYpCgMXhyVlcHJ3E6cmxXuvJl74ch/t7MrfuUJPNZ0ErgVU97+ni7DyGl5cx2NuVgzwFPFsk0p4ETU/RC0MCBPzUX09DcQ7ZhthXdBOy+ZBuSiIF5bPyGehohcekxoEK7ORbFVKc+GapoVBAdW0hpZczNSVbwYxarqUjOtXWC50wN2b/8CC6rYbmbKR2uajjGAGMcnUVJyfHMTo5i4pUv7sfh4/ei63BdnR73aizJAE+dUOv7MMwmfAzpyrY2RYnIsllQpG7CNdmdFa3f8cFIwfjMva8Q8sRDUkWIjmWAlyGpLeuxSsWHyaXryf1RqM7n471y7Tvlk5NhbtdUOkNXSRdzWV3oaGu0B7fCM3oCo62liIJf80Xk00tIr3MZB7yQ3DKyctHn7+Jl/99KRNvxGofPHygjhLEXhoFmFQLcLSrhLg9AI/SwwSIcxcGym93deuCi/qb0UCG4jkG8gq3h8FlBGnbEmsHyKZEdnSV5n4FHiHiCGfjUKVJlK7RXV5VMjxLdNeqWjItILPxrRwi4Cs6WKUW4IFOK1pNz9sK6k+U4/WBSmhKXv7z3xGLKg7u3Y/3nzyOZret7MBfzFe5vqR6wGXeY9FeVzGtcRUZwQxaImphiYgQqDrS76VsOZUu2FWBZ5dyqOdQXXu8h5MYIrmf/ePvXntvtNlQtsTOZvMjOdd64UTPi21YAQylFwAyjGWF/hDhiTtanOzYp8QQfTF7f1ZgM5+7FIF+/ZogiHdnpxp57Ag/6QrmoEg3Lz0NFSERgjGmAwQEQ+FWJfcj5k+kSmikiL4SccufcwGtQ1CAXKuuENHKZKEsE/D0wjcjohaxMy0+6FDl6yRDoqRTo+23FF3P8DwUXyYupv/PAlbWZijcra6jDuiaaUXNUdmc1pjsJo4/P47J5Uwur/3+1mYnbzNCAT5JerUklIANkkyn91e8FBPhVyzIJdoys7zLhi1BRbFDCADlgTtwPoOxQTResRH5zDVVu9ftSguzCGGVuH2HvGbkmMGsv6gnMKV8mLdpOKxUWBRYin54GUyK5Oo6LbEiH84U6ZK+pWVbOFTMvkodp8gikTJ4VzANvYqtKJT7g3o/SeUo7MqSnguNplBgN0sNpPtCXdnMAH2By+u7sgpjYbkBVA7WXWqyzkYyO0QfygNdOFSls+a9LwukoSLYdRm/hPafJqcCmEoGrSjLYnEUKUbGVQyWITneOlqoTpT++lr4kiDc7G6tyX7ren+byrxq5cWGW2nxwg0rh08SAHjpYMGWAUbPIhvKKUWkDeWi+jK5eD1ptptdK885zN79W09r2YPT2naRknFnIARW7aatxmoNYxdusdMFU25Xpk5wsxiZ8DU5RCUOpE4pjXgoQAuthQ8sqopwKZ64hdKSxbxMZ9Xyqm5K1oSZ1gp+JPggb4wwFjEYrQEgizR1NownTBNGyLV41BCNtaY2Gmmbhv9msF4KdW6ADm/Z78s0ZrUWS3s7Ertuoe3mGpZzooORHn/+zFCugTbSRYsbKvsR/15tIMlS2MN0r0+xnJsta7IalKYaOMgavAQG4SLJUDyNEHJB8XZXsZAIcxqgmpMAoA1wouhScJAVazgrgMSe48pxvgJRfzGtlrOTaa1WdRDoMKXFU+hiWWYF29ycUIh35HG2M9fILgtFxMwYjiNHytlU3Hyrw5VtVztbpXWIJt+WYzbDMwtHaW+6eFQjkEIRG1pJumjpIZCpUKbh7Og2vyM3P8ygTHpLHqSSMuzC5d9jtwjrRrnwNsYjkp6MuD0Y5jBznUpxq2G83sPtbqIZm+nbvFkepTbk5mTn6fmE05/Ezsyz8miMr7mOKfJEOpjEItgg6u/zIaZWQ9yMiEW0q+yFo8yQD7m2u/T9/l1leGz2qhdEdD03YrP5HsoU5Q6GuSnWmcEyJWl14vjN61k1Hb+ZtLvb3fnVueB/ocJaRPR2CE+G13fsRVN4OBT1RBZO80I/B3mtitXCdmLFEbRs2TJ/YySuMQxFsNp4ilEgibyA5YaUtp6vq5vz8oPmURS4CNBmjcLPms9jRqalh1Zq8xkeW73FK0wUvyD2vG9bzxUNdT8k+tyAs/CtoP2oCTHzVH59VxNtr4ANQX0RDyoLXbEvU6BVkatuSowVnu266vqN6GFinpZAMWGiJuGwclho12tFZjGVBTM9ch5Ex9EOQTvWRCHoQ0QWbtMyj2AjYlW3rpT0HjSgpL6FfcHBt1CbVrdyhupo1jTHK++/QOE7n8kRyy5pNFOUOos5+wDX0Rvsx/KmEX/9yx8vqz/8/pd//taz73612Yj+8nrMGY9VSjXK9kJFmVOaVOskPU1R3IqKN7iEFUjnkdjMxoDRvHNFhvSCsfA9B847ZVAz7H8HqW4VFNzW9nTI5zV9UXyo5FcjzW8OexZ+ScfhNbUBwyBaBx3dSkdAUF8wGlKnur9Mp/aAySiRUXJjLQf5jFSrLqwmPjeFOh1YDQwqKT5eZyI9l5ryNkq7UOcsk/5xmyDi8N6NpVnEba7PstFbSCGTJHsoqPCPsl5veQIfANlAcljSyJFUJ8lwHu5qKbU8fZ/OlDnrXg417dmdcNrjJpip+yxzycxWUkZ2s6ADL7XxzDK5Vd5ogAnuxdHRq+HPfvLjP1UffPC1Zx999KPvPH367HvdbvWViEXNsnukNf7tjVXsMbgBtYqxtNMkmp8u9HgK0w2TrkAhO/k5SVJzISgTkGRD8MZt/OiZG1ffqH7UDAVYc07HXI5NnveBOZlyax1vDiFEM8sQpQiAD7NXMxnMRKyZbeauGnRcZQw6RL7GIbeuZgUlUHVECrCqQVnH9VWqvrR5mGwRp7pL9aRdz9Ee4DWNUuQ1SAeZ9dpkP18bPh/fbyKhFZWNo7GKrm0jZagyOuK6OMLLD0j/Jl35YOl19DYNRqre4XX0wPlzuqYi0tyqA5JdstpMtmvpB0qBcVtTSTP0xnCMyhvpMbA2T3rtxNnZ8N1vPv3Vb3/68ce/0Kf89jeePv7Bhx9+/9k3v/7Ddrf9RAVjhm3RGuSVt5TPDDQJTrtZDUQhgExrT4Gml6PAE2NpaR+PjQQ1c74rFkurGOzuGVPSBm3LimzUYYoqNuOhJqCuIuU4XZW0WRN+hTQRGqQ8sXIOzUaA1KMUJ41Rk/MAR3XtRZPGdnYVW1uoAd/oPXXbXQ1hxfZM4yBehx8aXVKoT6WsQkRkkI3QF086zEdRhhtNYU6cnS4zNd1cU0TgYknOcU154TqrCKJ7f9DIPLmRyEhTwD3Aw4YmwrgbFG3o0ETkQnkG3V4qihS9VDaQeRB73baoNPzsoD/Qw6wONuEOeQjxfuTRaKanGxrmfS6DnJpRz7mx44co5dwrBwDGTUdHby8/ef7p754///XP374d/u3/O9Am/GhLO4oAAAAASUVORK5CYII="},29831:function(an,_e,t){an.exports=t.p+"static/touge_code.728ce351.jpg"},75694:function(an,_e,t){an.exports=t.p+"static/touge_code6.e67b4cee.jpg"},16722:function(an,_e,t){t.d(_e,{Z:function(){return Z}});const e=K=>typeof K=="object"&&K!=null&&K.nodeType===1,d=(K,r)=>(!r||K!=="hidden")&&K!=="visible"&&K!=="clip",i=(K,r)=>{if(K.clientHeight{const P=(pe=>{if(!pe.ownerDocument||!pe.ownerDocument.defaultView)return null;try{return pe.ownerDocument.defaultView.frameElement}catch(it){return null}})(M);return!!P&&(P.clientHeightper||pe>K&&it=r&&Fe>=_?pe-K-M:it>r&&Fe<_||pe_?it-r+P:0,x=K=>{const r=K.parentElement;return r==null?K.getRootNode().host||null:r},D=(K,r)=>{var _,M,P,pe;if(typeof document=="undefined")return[];const{scrollMode:it,block:Fe,inline:Pe,boundary:Ye,skipOverflowHiddenElements:b}=r,Ce=typeof Ye=="function"?Ye:tt=>tt!==Ye;if(!e(K))throw new TypeError("Invalid target");const s=document.scrollingElement||document.documentElement,p=[];let ae=K;for(;e(ae)&&Ce(ae);){if(ae=x(ae),ae===s){p.push(ae);break}ae!=null&&ae===document.body&&i(ae)&&!i(document.documentElement)||ae!=null&&i(ae,b)&&p.push(ae)}const le=(M=(_=window.visualViewport)==null?void 0:_.width)!=null?M:innerWidth,y=(pe=(P=window.visualViewport)==null?void 0:P.height)!=null?pe:innerHeight,{scrollX:He,scrollY:Oe}=window,{height:ne,width:Re,top:de,right:H,bottom:n,left:ce}=K.getBoundingClientRect(),{top:T,right:ze,bottom:xe,left:We}=(tt=>{const J=window.getComputedStyle(tt);return{top:parseFloat(J.scrollMarginTop)||0,right:parseFloat(J.scrollMarginRight)||0,bottom:parseFloat(J.scrollMarginBottom)||0,left:parseFloat(J.scrollMarginLeft)||0}})(K);let st=Fe==="start"||Fe==="nearest"?de-T:Fe==="end"?n+xe:de+ne/2-T+xe,at=Pe==="center"?ce+Re/2-We+ze:Pe==="end"?H+ze:ce-We;const Ae=[];for(let tt=0;tt=0&&ce>=0&&n<=y&&H<=le&&(J===s&&!i(J)||de>=Qe&&n<=Je&&ce>=je&&H<=ie))return Ae;const bt=getComputedStyle(J),Te=parseInt(bt.borderLeftWidth,10),G=parseInt(bt.borderTopWidth,10),R=parseInt(bt.borderRightWidth,10),V=parseInt(bt.borderBottomWidth,10);let g=0,fe=0;const z="offsetWidth"in J?J.offsetWidth-J.clientWidth-Te-R:0,o="offsetHeight"in J?J.offsetHeight-J.clientHeight-G-V:0,f="offsetWidth"in J?J.offsetWidth===0?0:me/J.offsetWidth:0,se="offsetHeight"in J?J.offsetHeight===0?0:Se/J.offsetHeight:0;if(s===J)g=Fe==="start"?st:Fe==="end"?st-y:Fe==="nearest"?L(Oe,Oe+y,y,G,V,Oe+st,Oe+st+ne,ne):st-y/2,fe=Pe==="start"?at:Pe==="center"?at-le/2:Pe==="end"?at-le:L(He,He+le,le,Te,R,He+at,He+at+Re,Re),g=Math.max(0,g+Oe),fe=Math.max(0,fe+He);else{g=Fe==="start"?st-Qe-G:Fe==="end"?st-Je+V+o:Fe==="nearest"?L(Qe,Je,Se,G,V+o,st,st+ne,ne):st-(Qe+Se/2)+o/2,fe=Pe==="start"?at-je-Te:Pe==="center"?at-(je+me/2)+z/2:Pe==="end"?at-ie+R+z:L(je,ie,me,Te,R+z,at,at+Re,Re);const{scrollLeft:q,scrollTop:$}=J;g=se===0?0:Math.max(0,Math.min($+g/se,J.scrollHeight-Se/se+o)),fe=f===0?0:Math.max(0,Math.min(q+fe/f,J.scrollWidth-me/f+z)),st+=$-g,at+=q-fe}Ae.push({el:J,top:g,left:fe})}return Ae},E=K=>K===!1?{block:"end",inline:"nearest"}:(r=>r===Object(r)&&Object.keys(r).length!==0)(K)?K:{block:"start",inline:"nearest"};function Z(K,r){if(!K.isConnected||!(P=>{let pe=P;for(;pe&&pe.parentNode;){if(pe.parentNode===document)return!0;pe=pe.parentNode instanceof ShadowRoot?pe.parentNode.host:pe.parentNode}return!1})(K))return;const _=(P=>{const pe=window.getComputedStyle(P);return{top:parseFloat(pe.scrollMarginTop)||0,right:parseFloat(pe.scrollMarginRight)||0,bottom:parseFloat(pe.scrollMarginBottom)||0,left:parseFloat(pe.scrollMarginLeft)||0}})(K);if((P=>typeof P=="object"&&typeof P.behavior=="function")(r))return r.behavior(D(K,r));const M=typeof r=="boolean"||r==null?void 0:r.behavior;for(const{el:P,top:pe,left:it}of D(K,E(r))){const Fe=pe-_.top+_.bottom,Pe=it-_.left+_.right;P.scroll({top:Fe,left:Pe,behavior:M})}}}}]); +`,b=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ce={},s;function p(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=T.getAttribute("id")||T.getAttribute("data-reactid")||T.getAttribute("name");if(ze&&Ce[xe])return Ce[xe];var We=window.getComputedStyle(T),st=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),at=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Ae=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),tt=b.map(function(Se){return"".concat(Se,":").concat(We.getPropertyValue(Se))}).join(";"),J={sizingStyle:tt,paddingSize:at,borderSize:Ae,boxSizing:st};return ze&&xe&&(Ce[xe]=J),J}function ae(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),s.setAttribute("name","hiddenTextarea"),document.body.appendChild(s)),T.getAttribute("wrap")?s.setAttribute("wrap",T.getAttribute("wrap")):s.removeAttribute("wrap");var st=p(T,ze),at=st.paddingSize,Ae=st.borderSize,tt=st.boxSizing,J=st.sizingStyle;s.setAttribute("style","".concat(J,";").concat(Ye)),s.value=T.value||T.placeholder||"";var Se=void 0,me=void 0,Qe,ie=s.scrollHeight;if(tt==="border-box"?ie+=Ae:tt==="content-box"&&(ie-=at),xe!==null||We!==null){s.value=" ";var Je=s.scrollHeight-at;xe!==null&&(Se=Je*xe,tt==="border-box"&&(Se=Se+at+Ae),ie=Math.max(Se,ie)),We!==null&&(me=Je*We,tt==="border-box"&&(me=me+at+Ae),Qe=ie>me?"":"hidden",ie=Math.min(me,ie))}var je={height:ie,overflowY:Qe,resize:"none"};return Se&&(je.minHeight=Se),me&&(je.maxHeight=me),je}var le=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y=0,He=1,Oe=2,ne=P.forwardRef(function(T,ze){var xe=T,We=xe.prefixCls,st=xe.defaultValue,at=xe.value,Ae=xe.autoSize,tt=xe.onResize,J=xe.className,Se=xe.style,me=xe.disabled,Qe=xe.onChange,ie=xe.onInternalAutoSize,Je=(0,D.Z)(xe,le),je=(0,M.Z)(st,{value:at,postState:function(ge){return ge!=null?ge:""}}),bt=(0,x.Z)(je,2),Te=bt[0],G=bt[1],R=function(ge){G(ge.target.value),Qe==null||Qe(ge)},U=P.useRef();P.useImperativeHandle(ze,function(){return{textArea:U.current}});var g=P.useMemo(function(){return Ae&&(0,pe.Z)(Ae)==="object"?[Ae.minRows,Ae.maxRows]:[]},[Ae]),fe=(0,x.Z)(g,2),z=fe[0],o=fe[1],f=!!Ae,se=function(){try{if(document.activeElement===U.current){var ge=U.current,Ze=ge.selectionStart,Ve=ge.selectionEnd,ot=ge.scrollTop;U.current.setSelectionRange(Ze,Ve),U.current.scrollTop=ot}}catch(Tt){}},q=P.useState(Oe),$=(0,x.Z)(q,2),N=$[0],X=$[1],ue=P.useState(),c=(0,x.Z)(ue,2),C=c[0],Xe=c[1],W=function(){X(y)};(0,Fe.Z)(function(){f&&W()},[at,z,o,f]),(0,Fe.Z)(function(){if(N===y)X(He);else if(N===He){var w=ae(U.current,!1,z,o);X(Oe),Xe(w)}else se()},[N]);var Le=P.useRef(),Ke=function(){Pe.Z.cancel(Le.current)},nt=function(ge){N===Oe&&(tt==null||tt(ge),Ae&&(Ke(),Le.current=(0,Pe.Z)(function(){W()})))};P.useEffect(function(){return Ke},[]);var lt=f?C:null,et=(0,i.Z)((0,i.Z)({},Se),lt);return(N===y||N===He)&&(et.overflowY="hidden",et.overflowX="hidden"),P.createElement(it.Z,{onResize:nt,disabled:!(Ae||tt)},P.createElement("textarea",(0,e.Z)({},Je,{ref:U,style:et,className:Z()(We,J,(0,d.Z)({},"".concat(We,"-disabled"),me)),disabled:me,value:Te,onChange:R})))}),Re=ne,de=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],H=P.forwardRef(function(T,ze){var xe,We=T.defaultValue,st=T.value,at=T.onFocus,Ae=T.onBlur,tt=T.onChange,J=T.allowClear,Se=T.maxLength,me=T.onCompositionStart,Qe=T.onCompositionEnd,ie=T.suffix,Je=T.prefixCls,je=Je===void 0?"rc-textarea":Je,bt=T.showCount,Te=T.count,G=T.className,R=T.style,U=T.disabled,g=T.hidden,fe=T.classNames,z=T.styles,o=T.onResize,f=T.onClear,se=T.onPressEnter,q=T.readOnly,$=T.autoSize,N=T.onKeyDown,X=(0,D.Z)(T,de),ue=(0,M.Z)(We,{value:st,defaultValue:We}),c=(0,x.Z)(ue,2),C=c[0],Xe=c[1],W=C==null?"":String(C),Le=P.useState(!1),Ke=(0,x.Z)(Le,2),nt=Ke[0],lt=Ke[1],et=P.useRef(!1),w=P.useState(null),ge=(0,x.Z)(w,2),Ze=ge[0],Ve=ge[1],ot=(0,P.useRef)(null),Tt=(0,P.useRef)(null),ct=function(){var Fn;return(Fn=Tt.current)===null||Fn===void 0?void 0:Fn.textArea},dt=function(){ct().focus()};(0,P.useImperativeHandle)(ze,function(){var bn;return{resizableTextArea:Tt.current,focus:dt,blur:function(){ct().blur()},nativeElement:((bn=ot.current)===null||bn===void 0?void 0:bn.nativeElement)||ct()}}),(0,P.useEffect)(function(){lt(function(bn){return!U&&bn})},[U]);var Rt=P.useState(null),Vt=(0,x.Z)(Rt,2),Ht=Vt[0],Xt=Vt[1];P.useEffect(function(){if(Ht){var bn;(bn=ct()).setSelectionRange.apply(bn,(0,L.Z)(Ht))}},[Ht]);var wt=(0,r.Z)(Te,bt),Ut=(xe=wt.max)!==null&&xe!==void 0?xe:Se,yt=Number(Ut)>0,Bt=wt.strategy(W),Pt=!!Ut&&Bt>Ut,kt=function(Fn,_n){var Jn=_n;!et.current&&wt.exceedFormatter&&wt.max&&wt.strategy(_n)>wt.max&&(Jn=wt.exceedFormatter(_n,{max:wt.max}),_n!==Jn&&Xt([ct().selectionStart||0,ct().selectionEnd||0])),Xe(Jn),(0,_.rJ)(Fn.currentTarget,Fn,tt,Jn)},Wt=function(Fn){et.current=!0,me==null||me(Fn)},pt=function(Fn){et.current=!1,kt(Fn,Fn.currentTarget.value),Qe==null||Qe(Fn)},Lt=function(Fn){kt(Fn,Fn.target.value)},ln=function(Fn){Fn.key==="Enter"&&se&&se(Fn),N==null||N(Fn)},rn=function(Fn){lt(!0),at==null||at(Fn)},xn=function(Fn){lt(!1),Ae==null||Ae(Fn)},Dn=function(Fn){Xe(""),dt(),(0,_.rJ)(ct(),Fn,tt)},Mn=ie,tn;wt.show&&(wt.showFormatter?tn=wt.showFormatter({value:W,count:Bt,maxLength:Ut}):tn="".concat(Bt).concat(yt?" / ".concat(Ut):""),Mn=P.createElement(P.Fragment,null,Mn,P.createElement("span",{className:Z()("".concat(je,"-data-count"),fe==null?void 0:fe.count),style:z==null?void 0:z.count},tn)));var Nn=function(Fn){var _n;o==null||o(Fn),(_n=ct())!==null&&_n!==void 0&&_n.style.height&&Ve(!0)},Pn=!$&&!bt&&!J;return P.createElement(K.BaseInput,{ref:ot,value:W,allowClear:J,handleReset:Dn,suffix:Mn,prefixCls:je,classNames:(0,i.Z)((0,i.Z)({},fe),{},{affixWrapper:Z()(fe==null?void 0:fe.affixWrapper,(0,d.Z)((0,d.Z)({},"".concat(je,"-show-count"),bt),"".concat(je,"-textarea-allow-clear"),J))}),disabled:U,focused:nt,className:Z()(G,Pt&&"".concat(je,"-out-of-range")),style:(0,i.Z)((0,i.Z)({},R),Ze&&!Pn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tn=="string"?tn:void 0}},hidden:g,readOnly:q,onClear:f},P.createElement(Re,(0,e.Z)({},X,{autoSize:$,maxLength:Se,onKeyDown:ln,onChange:Lt,onFocus:rn,onBlur:xn,onCompositionStart:Wt,onCompositionEnd:pt,className:Z()(fe==null?void 0:fe.textarea),style:(0,i.Z)((0,i.Z)({},z==null?void 0:z.textarea),{},{resize:R==null?void 0:R.resize}),disabled:U,prefixCls:je,onResize:Nn,ref:Tt,readOnly:q})))}),n=H,ce=n},29125:function(an,_e,t){t.d(_e,{G:function(){return L},Z:function(){return Ye}});var e=t(92310),d=t.n(e),i=t(59301);function L(b){var Ce=b.children,s=b.prefixCls,p=b.id,ae=b.overlayInnerStyle,le=b.bodyClassName,y=b.className,He=b.style;return i.createElement("div",{className:d()("".concat(s,"-content"),y),style:He},i.createElement("div",{className:d()("".concat(s,"-inner"),le),id:p,role:"tooltip",style:ae},typeof Ce=="function"?Ce():Ce))}var x=t(54476),D=t(33885),E=t(75931),Z=t(65030),K={shiftX:64,adjustY:1},r={adjustX:1,shiftY:!0},_=[0,0],M={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:_},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:_},top:{points:["bc","tc"],overflow:K,offset:[0,-4],targetOffset:_},bottom:{points:["tc","bc"],overflow:K,offset:[0,4],targetOffset:_},topLeft:{points:["bl","tl"],overflow:K,offset:[0,-4],targetOffset:_},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:_},topRight:{points:["br","tr"],overflow:K,offset:[0,-4],targetOffset:_},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:_},bottomRight:{points:["tr","br"],overflow:K,offset:[0,4],targetOffset:_},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:_},bottomLeft:{points:["tl","bl"],overflow:K,offset:[0,4],targetOffset:_},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:_}},P=null,pe=t(80402),it=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Fe=function(Ce,s){var p=Ce.overlayClassName,ae=Ce.trigger,le=ae===void 0?["hover"]:ae,y=Ce.mouseEnterDelay,He=y===void 0?0:y,Oe=Ce.mouseLeaveDelay,ne=Oe===void 0?.1:Oe,Re=Ce.overlayStyle,de=Ce.prefixCls,H=de===void 0?"rc-tooltip":de,n=Ce.children,ce=Ce.onVisibleChange,T=Ce.afterVisibleChange,ze=Ce.transitionName,xe=Ce.animation,We=Ce.motion,st=Ce.placement,at=st===void 0?"right":st,Ae=Ce.align,tt=Ae===void 0?{}:Ae,J=Ce.destroyTooltipOnHide,Se=J===void 0?!1:J,me=Ce.defaultVisible,Qe=Ce.getTooltipContainer,ie=Ce.overlayInnerStyle,Je=Ce.arrowContent,je=Ce.overlay,bt=Ce.id,Te=Ce.showArrow,G=Te===void 0?!0:Te,R=Ce.classNames,U=Ce.styles,g=(0,E.Z)(Ce,it),fe=(0,pe.Z)(bt),z=(0,i.useRef)(null);(0,i.useImperativeHandle)(s,function(){return z.current});var o=(0,D.Z)({},g);"visible"in Ce&&(o.popupVisible=Ce.visible);var f=function(){return i.createElement(L,{key:"content",prefixCls:H,id:fe,bodyClassName:R==null?void 0:R.body,overlayInnerStyle:(0,D.Z)((0,D.Z)({},ie),U==null?void 0:U.body)},je)},se=function(){var $=i.Children.only(n),N=($==null?void 0:$.props)||{},X=(0,D.Z)((0,D.Z)({},N),{},{"aria-describedby":je?fe:null});return i.cloneElement(n,X)};return i.createElement(Z.Z,(0,x.Z)({popupClassName:d()(p,R==null?void 0:R.root),prefixCls:H,popup:f,action:le,builtinPlacements:M,popupPlacement:at,ref:z,popupAlign:tt,getPopupContainer:Qe,onPopupVisibleChange:ce,afterPopupVisibleChange:T,popupTransitionName:ze,popupAnimation:xe,popupMotion:We,defaultPopupVisible:me,autoDestroy:Se,mouseLeaveDelay:ne,popupStyle:(0,D.Z)((0,D.Z)({},Re),U==null?void 0:U.root),mouseEnterDelay:He,arrow:G},o),se())},Pe=(0,i.forwardRef)(Fe),Ye=Pe},639:function(an,_e,t){t.d(_e,{Z:function(){return Ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(42978),x=t(75931),D=t(59301),E=t(92310),Z=t.n(E),K=t(26112),r=t(30699),_=function(p){for(var ae=p.prefixCls,le=p.level,y=p.isStart,He=p.isEnd,Oe="".concat(ae,"-indent-unit"),ne=[],Re=0;Re0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=g.length,o=fe.length;if(Math.abs(z-o)!==1)return{add:!1,key:null};function f(se,q){var $=new Map;se.forEach(function(X){$.set(X,!0)});var N=q.filter(function(X){return!$.has(X)});return N.length===1?N[0]:null}return z ").concat(fe);return fe}var Qe=Fe.forwardRef(function(g,fe){var z=g.prefixCls,o=g.data,f=g.selectable,se=g.checkable,q=g.expandedKeys,$=g.selectedKeys,N=g.checkedKeys,X=g.loadedKeys,ue=g.loadingKeys,c=g.halfCheckedKeys,C=g.keyEntities,Xe=g.disabled,W=g.dragging,Le=g.dragOverNodeKey,Ke=g.dropPosition,nt=g.motion,lt=g.height,et=g.itemHeight,w=g.virtual,ge=g.scrollWidth,Ze=g.focusable,Ve=g.activeItem,ot=g.focused,Tt=g.tabIndex,ct=g.onKeyDown,dt=g.onFocus,Rt=g.onBlur,Vt=g.onActiveChange,Ht=g.onListChangeStart,Xt=g.onListChangeEnd,wt=(0,p.Z)(g,ze),Ut=Fe.useRef(null),yt=Fe.useRef(null);Fe.useImperativeHandle(fe,function(){return{scrollTo:function(re){Ut.current.scrollTo(re)},getIndentWidth:function(){return yt.current.offsetWidth}}});var Bt=Fe.useState(q),Pt=(0,s.Z)(Bt,2),kt=Pt[0],Wt=Pt[1],pt=Fe.useState(o),Lt=(0,s.Z)(pt,2),ln=Lt[0],rn=Lt[1],xn=Fe.useState(o),Dn=(0,s.Z)(xn,2),Mn=Dn[0],tn=Dn[1],Nn=Fe.useState([]),Pn=(0,s.Z)(Nn,2),bn=Pn[0],Fn=Pn[1],_n=Fe.useState(null),Jn=(0,s.Z)(_n,2),Be=Jn[0],Ie=Jn[1],I=Fe.useRef(o);I.current=o;function k(){var m=I.current;rn(m),tn(m),Fn([]),Ie(null),Xt()}(0,ae.Z)(function(){Wt(q);var m=ce(kt,q);if(m.key!==null)if(m.add){var re=ln.findIndex(function(j){var O=j.key;return O===m.key}),De=J(T(ln,o,m.key),w,lt,et),u=ln.slice();u.splice(re+1,0,tt),tn(u),Fn(De),Ie("show")}else{var S=o.findIndex(function(j){var O=j.key;return O===m.key}),A=J(T(o,ln,m.key),w,lt,et),ve=o.slice();ve.splice(S+1,0,tt),tn(ve),Fn(A),Ie("hide")}else ln!==o&&(rn(o),tn(o))},[q,o]),Fe.useEffect(function(){W||k()},[W]);var be=nt?Mn:o,ye={expandedKeys:q,selectedKeys:$,loadedKeys:X,loadingKeys:ue,checkedKeys:N,halfCheckedKeys:c,dragOverNodeKey:Le,dropPosition:Ke,keyEntities:C};return Fe.createElement(Fe.Fragment,null,ot&&Ve&&Fe.createElement("span",{style:xe,"aria-live":"assertive"},me(Ve)),Fe.createElement("div",null,Fe.createElement("input",{style:xe,disabled:Ze===!1||Xe,tabIndex:Ze!==!1?Tt:null,onKeyDown:ct,onFocus:dt,onBlur:Rt,value:"",onChange:We,"aria-label":"for screen reader"})),Fe.createElement("div",{className:"".concat(z,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Fe.createElement("div",{className:"".concat(z,"-indent")},Fe.createElement("div",{ref:yt,className:"".concat(z,"-indent-unit")}))),Fe.createElement(le.Z,(0,e.Z)({},wt,{data:be,itemKey:Se,height:lt,fullHeight:!1,virtual:w,itemHeight:et,scrollWidth:ge,prefixCls:"".concat(z,"-list"),ref:Ut,role:"tree",onVisibleChange:function(re){re.every(function(De){return Se(De)!==st})&&k()}}),function(m){var re=m.pos,De=Object.assign({},(Ce(m.data),m.data)),u=m.title,S=m.key,A=m.isStart,ve=m.isEnd,j=(0,Re.km)(S,re);delete De.key,delete De.children;var O=(0,Re.H8)(j,ye);return Fe.createElement(n,(0,e.Z)({},De,O,{title:u,active:!!Ve&&S===Ve.key,pos:re,data:m.data,isStart:A,isEnd:ve,motion:nt,motionNodes:S===st?bn:null,motionType:Be,onMotionStart:Ht,onMotionEnd:k,treeNodeRequiredProps:ye,onMouseMove:function(){Vt(null)}}))}))}),ie=Qe,Je=t(82661),je=t(34643),bt=t(65065),Te=10,G=function(g){(0,Z.Z)(z,g);var fe=(0,K.Z)(z);function z(){var o;(0,x.Z)(this,z);for(var f=arguments.length,se=new Array(f),q=0;q2&&arguments[2]!==void 0?arguments[2]:!1,c=o.state,C=c.dragChildrenKeys,Xe=c.dropPosition,W=c.dropTargetKey,Le=c.dropTargetPos,Ke=c.dropAllowed;if(Ke){var nt=o.props.onDrop;if(o.setState({dragOverNodeKey:null}),o.cleanDragState(),W!==null){var lt=(0,i.Z)((0,i.Z)({},(0,Re.H8)(W,o.getTreeNodeRequiredProps())),{},{active:((X=o.getActiveItem())===null||X===void 0?void 0:X.key)===W,data:(0,bt.Z)(o.state.keyEntities,W).node}),et=C.includes(W);(0,it.ZP)(!et,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=(0,Je.yx)(Le),ge={event:$,node:(0,Re.F)(lt),dragNode:o.dragNodeProps?(0,Re.F)(o.dragNodeProps):null,dragNodesKeys:[o.dragNodeProps.eventKey].concat(C),dropToGap:Xe!==0,dropPosition:Xe+Number(w[w.length-1])};ue||nt==null||nt(ge),o.dragNodeProps=null}}}),(0,r.Z)((0,E.Z)(o),"cleanDragState",function(){var $=o.state.draggingNodeKey;$!==null&&o.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),o.dragStartMousePosition=null,o.currentMouseOverDroppableNodeKey=null}),(0,r.Z)((0,E.Z)(o),"triggerExpandActionExpand",function($,N){var X=o.state,ue=X.expandedKeys,c=X.flattenNodes,C=N.expanded,Xe=N.key,W=N.isLeaf;if(!(W||$.shiftKey||$.metaKey||$.ctrlKey)){var Le=c.filter(function(nt){return nt.key===Xe})[0],Ke=(0,Re.F)((0,i.Z)((0,i.Z)({},(0,Re.H8)(Xe,o.getTreeNodeRequiredProps())),{},{data:Le.data}));o.setExpandedKeys(C?(0,Je._5)(ue,Xe):(0,Je.L0)(ue,Xe)),o.onNodeExpand($,Ke)}}),(0,r.Z)((0,E.Z)(o),"onNodeClick",function($,N){var X=o.props,ue=X.onClick,c=X.expandAction;c==="click"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeDoubleClick",function($,N){var X=o.props,ue=X.onDoubleClick,c=X.expandAction;c==="doubleClick"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeSelect",function($,N){var X=o.state.selectedKeys,ue=o.state,c=ue.keyEntities,C=ue.fieldNames,Xe=o.props,W=Xe.onSelect,Le=Xe.multiple,Ke=N.selected,nt=N[C.key],lt=!Ke;lt?Le?X=(0,Je.L0)(X,nt):X=[nt]:X=(0,Je._5)(X,nt);var et=X.map(function(w){var ge=(0,bt.Z)(c,w);return ge?ge.node:null}).filter(Boolean);o.setUncontrolledState({selectedKeys:X}),W==null||W(X,{event:"select",selected:lt,node:N,selectedNodes:et,nativeEvent:$.nativeEvent})}),(0,r.Z)((0,E.Z)(o),"onNodeCheck",function($,N,X){var ue=o.state,c=ue.keyEntities,C=ue.checkedKeys,Xe=ue.halfCheckedKeys,W=o.props,Le=W.checkStrictly,Ke=W.onCheck,nt=N.key,lt,et={event:"check",node:N,checked:X,nativeEvent:$.nativeEvent};if(Le){var w=X?(0,Je.L0)(C,nt):(0,Je._5)(C,nt),ge=(0,Je._5)(Xe,nt);lt={checked:w,halfChecked:ge},et.checkedNodes=w.map(function(dt){return(0,bt.Z)(c,dt)}).filter(Boolean).map(function(dt){return dt.node}),o.setUncontrolledState({checkedKeys:w})}else{var Ze=(0,je.S)([].concat((0,L.Z)(C),[nt]),!0,c),Ve=Ze.checkedKeys,ot=Ze.halfCheckedKeys;if(!X){var Tt=new Set(Ve);Tt.delete(nt);var ct=(0,je.S)(Array.from(Tt),{checked:!1,halfCheckedKeys:ot},c);Ve=ct.checkedKeys,ot=ct.halfCheckedKeys}lt=Ve,et.checkedNodes=[],et.checkedNodesPositions=[],et.halfCheckedKeys=ot,Ve.forEach(function(dt){var Rt=(0,bt.Z)(c,dt);if(Rt){var Vt=Rt.node,Ht=Rt.pos;et.checkedNodes.push(Vt),et.checkedNodesPositions.push({node:Vt,pos:Ht})}}),o.setUncontrolledState({checkedKeys:Ve},!1,{halfCheckedKeys:ot})}Ke==null||Ke(lt,et)}),(0,r.Z)((0,E.Z)(o),"onNodeLoad",function($){var N,X=$.key,ue=o.state.keyEntities,c=(0,bt.Z)(ue,X);if(!(c!=null&&(N=c.children)!==null&&N!==void 0&&N.length)){var C=new Promise(function(Xe,W){o.setState(function(Le){var Ke=Le.loadedKeys,nt=Ke===void 0?[]:Ke,lt=Le.loadingKeys,et=lt===void 0?[]:lt,w=o.props,ge=w.loadData,Ze=w.onLoad;if(!ge||nt.includes(X)||et.includes(X))return null;var Ve=ge($);return Ve.then(function(){var ot=o.state.loadedKeys,Tt=(0,Je.L0)(ot,X);Ze==null||Ze(Tt,{event:"load",node:$}),o.setUncontrolledState({loadedKeys:Tt}),o.setState(function(ct){return{loadingKeys:(0,Je._5)(ct.loadingKeys,X)}}),Xe()}).catch(function(ot){if(o.setState(function(ct){return{loadingKeys:(0,Je._5)(ct.loadingKeys,X)}}),o.loadingRetryTimes[X]=(o.loadingRetryTimes[X]||0)+1,o.loadingRetryTimes[X]>=Te){var Tt=o.state.loadedKeys;(0,it.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),o.setUncontrolledState({loadedKeys:(0,Je.L0)(Tt,X)}),Xe()}W(ot)}),{loadingKeys:(0,Je.L0)(et,X)}})});return C.catch(function(){}),C}}),(0,r.Z)((0,E.Z)(o),"onNodeMouseEnter",function($,N){var X=o.props.onMouseEnter;X==null||X({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeMouseLeave",function($,N){var X=o.props.onMouseLeave;X==null||X({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeContextMenu",function($,N){var X=o.props.onRightClick;X&&($.preventDefault(),X({event:$,node:N}))}),(0,r.Z)((0,E.Z)(o),"onFocus",function(){var $=o.props.onFocus;o.setState({focused:!0});for(var N=arguments.length,X=new Array(N),ue=0;ue1&&arguments[1]!==void 0?arguments[1]:!1,X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!o.destroyed){var ue=!1,c=!0,C={};Object.keys($).forEach(function(Xe){if(o.props.hasOwnProperty(Xe)){c=!1;return}ue=!0,C[Xe]=$[Xe]}),ue&&(!N||c)&&o.setState((0,i.Z)((0,i.Z)({},C),X))}}),(0,r.Z)((0,E.Z)(o),"scrollTo",function($){o.listRef.current.scrollTo($)}),o}return(0,D.Z)(z,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var f=this.props,se=f.activeKey,q=f.itemScrollOffset,$=q===void 0?0:q;se!==void 0&&se!==this.state.activeKey&&(this.setState({activeKey:se}),se!==null&&this.scrollTo({key:se,offset:$}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var f=this.state,se=f.focused,q=f.flattenNodes,$=f.keyEntities,N=f.draggingNodeKey,X=f.activeKey,ue=f.dropLevelOffset,c=f.dropContainerKey,C=f.dropTargetKey,Xe=f.dropPosition,W=f.dragOverNodeKey,Le=f.indent,Ke=this.props,nt=Ke.prefixCls,lt=Ke.className,et=Ke.style,w=Ke.showLine,ge=Ke.focusable,Ze=Ke.tabIndex,Ve=Ze===void 0?0:Ze,ot=Ke.selectable,Tt=Ke.showIcon,ct=Ke.icon,dt=Ke.switcherIcon,Rt=Ke.draggable,Vt=Ke.checkable,Ht=Ke.checkStrictly,Xt=Ke.disabled,wt=Ke.motion,Ut=Ke.loadData,yt=Ke.filterTreeNode,Bt=Ke.height,Pt=Ke.itemHeight,kt=Ke.scrollWidth,Wt=Ke.virtual,pt=Ke.titleRender,Lt=Ke.dropIndicatorRender,ln=Ke.onContextMenu,rn=Ke.onScroll,xn=Ke.direction,Dn=Ke.rootClassName,Mn=Ke.rootStyle,tn=(0,pe.Z)(this.props,{aria:!0,data:!0}),Nn;Rt&&((0,d.Z)(Rt)==="object"?Nn=Rt:typeof Rt=="function"?Nn={nodeDraggable:Rt}:Nn={});var Pn={prefixCls:nt,selectable:ot,showIcon:Tt,icon:ct,switcherIcon:dt,draggable:Nn,draggingNodeKey:N,checkable:Vt,checkStrictly:Ht,disabled:Xt,keyEntities:$,dropLevelOffset:ue,dropContainerKey:c,dropTargetKey:C,dropPosition:Xe,dragOverNodeKey:W,indent:Le,direction:xn,dropIndicatorRender:Lt,loadData:Ut,filterTreeNode:yt,titleRender:pt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Fe.createElement(Pe.k.Provider,{value:Pn},Fe.createElement("div",{className:M()(nt,lt,Dn,(0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(nt,"-show-line"),w),"".concat(nt,"-focused"),se),"".concat(nt,"-active-focused"),X!==null)),style:Mn},Fe.createElement(ie,(0,e.Z)({ref:this.listRef,prefixCls:nt,style:et,data:q,disabled:Xt,selectable:ot,checkable:!!Vt,motion:wt,dragging:N!==null,height:Bt,itemHeight:Pt,virtual:Wt,focusable:ge,focused:se,tabIndex:Ve,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ln,onScroll:rn,scrollWidth:kt},this.getTreeNodeRequiredProps(),tn))))}}],[{key:"getDerivedStateFromProps",value:function(f,se){var q=se.prevProps,$={prevProps:f};function N(Ve){return!q&&f.hasOwnProperty(Ve)||q&&q[Ve]!==f[Ve]}var X,ue=se.fieldNames;if(N("fieldNames")&&(ue=(0,Re.w$)(f.fieldNames),$.fieldNames=ue),N("treeData")?X=f.treeData:N("children")&&((0,it.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),X=(0,Re.zn)(f.children)),X){$.treeData=X;var c=(0,Re.I8)(X,{fieldNames:ue});$.keyEntities=(0,i.Z)((0,r.Z)({},st,Ae),c.keyEntities)}var C=$.keyEntities||se.keyEntities;if(N("expandedKeys")||q&&N("autoExpandParent"))$.expandedKeys=f.autoExpandParent||!q&&f.defaultExpandParent?(0,Je.r7)(f.expandedKeys,C):f.expandedKeys;else if(!q&&f.defaultExpandAll){var Xe=(0,i.Z)({},C);delete Xe[st];var W=[];Object.keys(Xe).forEach(function(Ve){var ot=Xe[Ve];ot.children&&ot.children.length&&W.push(ot.key)}),$.expandedKeys=W}else!q&&f.defaultExpandedKeys&&($.expandedKeys=f.autoExpandParent||f.defaultExpandParent?(0,Je.r7)(f.defaultExpandedKeys,C):f.defaultExpandedKeys);if($.expandedKeys||delete $.expandedKeys,X||$.expandedKeys){var Le=(0,Re.oH)(X||se.treeData,$.expandedKeys||se.expandedKeys,ue);$.flattenNodes=Le}if(f.selectable&&(N("selectedKeys")?$.selectedKeys=(0,Je.BT)(f.selectedKeys,f):!q&&f.defaultSelectedKeys&&($.selectedKeys=(0,Je.BT)(f.defaultSelectedKeys,f))),f.checkable){var Ke;if(N("checkedKeys")?Ke=(0,Je.E6)(f.checkedKeys)||{}:!q&&f.defaultCheckedKeys?Ke=(0,Je.E6)(f.defaultCheckedKeys)||{}:X&&(Ke=(0,Je.E6)(f.checkedKeys)||{checkedKeys:se.checkedKeys,halfCheckedKeys:se.halfCheckedKeys}),Ke){var nt=Ke,lt=nt.checkedKeys,et=lt===void 0?[]:lt,w=nt.halfCheckedKeys,ge=w===void 0?[]:w;if(!f.checkStrictly){var Ze=(0,je.S)(et,!0,C);et=Ze.checkedKeys,ge=Ze.halfCheckedKeys}$.checkedKeys=et,$.halfCheckedKeys=ge}}return N("loadedKeys")&&($.loadedKeys=f.loadedKeys),$}}]),z}(Fe.Component);(0,r.Z)(G,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1}),(0,r.Z)(G,"TreeNode",He.Z);var R=G,U=R},82661:function(an,_e,t){t.d(_e,{BT:function(){return Fe},E6:function(){return b},L0:function(){return r},OM:function(){return it},_5:function(){return K},r7:function(){return Ce},wA:function(){return M},yx:function(){return _}});var e=t(94480),d=t(76190),i=t(48736),L=t(59301),x=t(639),D=t(65065),E=t(34061),Z=null;function K(s,p){if(!s)return[];var ae=s.slice(),le=ae.indexOf(p);return le>=0&&ae.splice(le,1),ae}function r(s,p){var ae=(s||[]).slice();return ae.indexOf(p)===-1&&ae.push(p),ae}function _(s){return s.split("-")}function M(s,p){var ae=[],le=(0,D.Z)(p,s);function y(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];He.forEach(function(Oe){var ne=Oe.key,Re=Oe.children;ae.push(ne),y(Re)})}return y(le.children),ae}function P(s){if(s.parent){var p=_(s.pos);return Number(p[p.length-1])===s.parent.children.length-1}return!1}function pe(s){var p=_(s.pos);return Number(p[p.length-1])===0}function it(s,p,ae,le,y,He,Oe,ne,Re,de){var H,n=s.clientX,ce=s.clientY,T=s.target.getBoundingClientRect(),ze=T.top,xe=T.height,We=(de==="rtl"?-1:1)*(((y==null?void 0:y.x)||0)-n),st=(We-12)/le,at=Re.filter(function(U){var g;return(g=ne[U])===null||g===void 0||(g=g.children)===null||g===void 0?void 0:g.length}),Ae=(0,D.Z)(ne,ae.eventKey);if(ce-1.5?He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1:He({dragNode:Te,dropNode:G,dropPosition:0})?Je=0:He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1:He({dragNode:Te,dropNode:G,dropPosition:1})?Je=1:R=!1,{dropPosition:Je,dropLevelOffset:je,dropTargetKey:Ae.key,dropTargetPos:Ae.pos,dragOverNodeKey:ie,dropContainerKey:Je===0?null:((H=Ae.parent)===null||H===void 0?void 0:H.key)||null,dropAllowed:R}}function Fe(s,p){if(s){var ae=p.multiple;return ae?s.slice():s.length?[s[0]]:s}}var Pe=function(p){return p};function Ye(s,p){if(!s)return[];var ae=p||{},le=ae.processProps,y=le===void 0?Pe:le,He=Array.isArray(s)?s:[s];return He.map(function(Oe){var ne=Oe.children,Re=_objectWithoutProperties(Oe,Z),de=Ye(ne,p);return React.createElement(TreeNode,_extends({key:Re.key},y(Re)),de)})}function b(s){if(!s)return null;var p;if(Array.isArray(s))p={checkedKeys:s,halfCheckedKeys:void 0};else if((0,d.Z)(s)==="object")p={checkedKeys:s.checked||void 0,halfCheckedKeys:s.halfChecked||void 0};else return(0,i.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return p}function Ce(s,p){var ae=new Set;function le(y){if(!ae.has(y)){var He=(0,D.Z)(p,y);if(He){ae.add(y);var Oe=He.parent,ne=He.node;ne.disabled||Oe&&le(Oe.key)}}}return(s||[]).forEach(function(y){le(y)}),(0,e.Z)(ae)}},34643:function(an,_e,t){t.d(_e,{S:function(){return E}});var e=t(48736),d=t(65065);function i(Z,K){var r=new Set;return Z.forEach(function(_){K.has(_)||r.add(_)}),r}function L(Z){var K=Z||{},r=K.disabled,_=K.disableCheckbox,M=K.checkable;return!!(r||_)||M===!1}function x(Z,K,r,_){for(var M=new Set(Z),P=new Set,pe=0;pe<=r;pe+=1){var it=K.get(pe)||new Set;it.forEach(function(b){var Ce=b.key,s=b.node,p=b.children,ae=p===void 0?[]:p;M.has(Ce)&&!_(s)&&ae.filter(function(le){return!_(le.node)}).forEach(function(le){M.add(le.key)})})}for(var Fe=new Set,Pe=r;Pe>=0;Pe-=1){var Ye=K.get(Pe)||new Set;Ye.forEach(function(b){var Ce=b.parent,s=b.node;if(!(_(s)||!b.parent||Fe.has(b.parent.key))){if(_(b.parent.node)){Fe.add(Ce.key);return}var p=!0,ae=!1;(Ce.children||[]).filter(function(le){return!_(le.node)}).forEach(function(le){var y=le.key,He=M.has(y);p&&!He&&(p=!1),!ae&&(He||P.has(y))&&(ae=!0)}),p&&M.add(Ce.key),ae&&P.add(Ce.key),Fe.add(Ce.key)}})}return{checkedKeys:Array.from(M),halfCheckedKeys:Array.from(i(P,M))}}function D(Z,K,r,_,M){for(var P=new Set(Z),pe=new Set(K),it=0;it<=_;it+=1){var Fe=r.get(it)||new Set;Fe.forEach(function(Ce){var s=Ce.key,p=Ce.node,ae=Ce.children,le=ae===void 0?[]:ae;!P.has(s)&&!pe.has(s)&&!M(p)&&le.filter(function(y){return!M(y.node)}).forEach(function(y){P.delete(y.key)})})}pe=new Set;for(var Pe=new Set,Ye=_;Ye>=0;Ye-=1){var b=r.get(Ye)||new Set;b.forEach(function(Ce){var s=Ce.parent,p=Ce.node;if(!(M(p)||!Ce.parent||Pe.has(Ce.parent.key))){if(M(Ce.parent.node)){Pe.add(s.key);return}var ae=!0,le=!1;(s.children||[]).filter(function(y){return!M(y.node)}).forEach(function(y){var He=y.key,Oe=P.has(He);ae&&!Oe&&(ae=!1),!le&&(Oe||pe.has(He))&&(le=!0)}),ae||P.delete(s.key),le&&pe.add(s.key),Pe.add(s.key)}})}return{checkedKeys:Array.from(P),halfCheckedKeys:Array.from(i(pe,P))}}function E(Z,K,r,_){var M=[],P;_?P=_:P=L;var pe=new Set(Z.filter(function(Ye){var b=!!(0,d.Z)(r,Ye);return b||M.push(Ye),b})),it=new Map,Fe=0;Object.keys(r).forEach(function(Ye){var b=r[Ye],Ce=b.level,s=it.get(Ce);s||(s=new Set,it.set(Ce,s)),s.add(b),Fe=Math.max(Fe,Ce)}),(0,e.ZP)(!M.length,"Tree missing follow keys: ".concat(M.slice(0,100).map(function(Ye){return"'".concat(Ye,"'")}).join(", ")));var Pe;return K===!0?Pe=x(pe,it,Fe,P):Pe=D(pe,K.halfCheckedKeys,it,Fe,P),Pe}},65065:function(an,_e,t){t.d(_e,{Z:function(){return e}});function e(d,i){return d[i]}},34061:function(an,_e,t){t.d(_e,{F:function(){return Ce},H8:function(){return b},I8:function(){return Ye},km:function(){return M},oH:function(){return Fe},w$:function(){return P},zn:function(){return it}});var e=t(76190),d=t(94480),i=t(33885),L=t(75931),x=t(11592),D=t(2738),E=t(48736),Z=t(65065),K=["children"];function r(s,p){return"".concat(s,"-").concat(p)}function _(s){return s&&s.type&&s.type.isTreeNode}function M(s,p){return s!=null?s:p}function P(s){var p=s||{},ae=p.title,le=p._title,y=p.key,He=p.children,Oe=ae||"title";return{title:Oe,_title:le||[Oe],key:y||"key",children:He||"children"}}function pe(s,p){var ae=new Map;function le(y){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(Oe){var ne=Oe[p.key],Re=Oe[p.children];warning(ne!=null,"Tree node must have a certain key: [".concat(He).concat(ne,"]"));var de=String(ne);warning(!ae.has(de)||ne===null||ne===void 0,"Same 'key' exist in the Tree: ".concat(de)),ae.set(de,!0),le(Re,"".concat(He).concat(de," > "))})}le(s)}function it(s){function p(ae){var le=(0,x.Z)(ae);return le.map(function(y){if(!_(y))return(0,E.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var He=y.key,Oe=y.props,ne=Oe.children,Re=(0,L.Z)(Oe,K),de=(0,i.Z)({key:He},Re),H=p(ne);return H.length&&(de.children=H),de}).filter(function(y){return y})}return p(s)}function Fe(s,p,ae){var le=P(ae),y=le._title,He=le.key,Oe=le.children,ne=new Set(p===!0?[]:p),Re=[];function de(H){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return H.map(function(ce,T){for(var ze=r(n?n.pos:"0",T),xe=M(ce[He],ze),We,st=0;st1&&arguments[1]!==void 0?arguments[1]:{},ae=p.initWrapper,le=p.processEntity,y=p.onProcessFinished,He=p.externalGetKey,Oe=p.childrenPropName,ne=p.fieldNames,Re=arguments.length>2?arguments[2]:void 0,de=He||Re,H={},n={},ce={posEntities:H,keyEntities:n};return ae&&(ce=ae(ce)||ce),Pe(s,function(T){var ze=T.node,xe=T.index,We=T.pos,st=T.key,at=T.parentPos,Ae=T.level,tt=T.nodes,J={node:ze,nodes:tt,index:xe,key:st,pos:We,level:Ae},Se=M(st,We);H[We]=J,n[Se]=J,J.parent=H[at],J.parent&&(J.parent.children=J.parent.children||[],J.parent.children.push(J)),le&&le(J,ce)},{externalGetKey:de,childrenPropName:Oe,fieldNames:ne}),y&&y(ce),ce}function b(s,p){var ae=p.expandedKeys,le=p.selectedKeys,y=p.loadedKeys,He=p.loadingKeys,Oe=p.checkedKeys,ne=p.halfCheckedKeys,Re=p.dragOverNodeKey,de=p.dropPosition,H=p.keyEntities,n=(0,Z.Z)(H,s),ce={eventKey:s,expanded:ae.indexOf(s)!==-1,selected:le.indexOf(s)!==-1,loaded:y.indexOf(s)!==-1,loading:He.indexOf(s)!==-1,checked:Oe.indexOf(s)!==-1,halfChecked:ne.indexOf(s)!==-1,pos:String(n?n.pos:""),dragOver:Re===s&&de===0,dragOverGapTop:Re===s&&de===-1,dragOverGapBottom:Re===s&&de===1};return ce}function Ce(s){var p=s.data,ae=s.expanded,le=s.selected,y=s.checked,He=s.loaded,Oe=s.loading,ne=s.halfChecked,Re=s.dragOver,de=s.dragOverGapTop,H=s.dragOverGapBottom,n=s.pos,ce=s.active,T=s.eventKey,ze=(0,i.Z)((0,i.Z)({},p),{},{expanded:ae,selected:le,checked:y,loaded:He,loading:Oe,halfChecked:ne,dragOver:Re,dragOverGapTop:de,dragOverGapBottom:H,pos:n,active:ce,key:T});return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),s}}),ze}},8224:function(an,_e,t){t.d(_e,{Z:function(){return d}});var e=t(4676);function d(i,L,x,D){var E=e.unstable_batchedUpdates?function(K){e.unstable_batchedUpdates(x,K)}:x;return i!=null&&i.addEventListener&&i.addEventListener(L,E,D),{remove:function(){i!=null&&i.removeEventListener&&i.removeEventListener(L,E,D)}}}},24514:function(an,_e,t){t.d(_e,{G:function(){return L}});var e=t(47273),d=function(D){if((0,e.Z)()&&window.document.documentElement){var E=Array.isArray(D)?D:[D],Z=window.document.documentElement;return E.some(function(K){return K in Z.style})}return!1},i=function(D,E){if(!d(D))return!1;var Z=document.createElement("div"),K=Z.style[D];return Z.style[D]=E,Z.style[D]!==K};function L(x,D){return!Array.isArray(x)&&D!==void 0?i(x,D):d(x)}},49658:function(an,_e){_e.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(an,_e,t){t.d(_e,{Z:function(){return Te}});var e=t(54476),d=t(76190),i=t(33885),L=t(20068),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(29301),r=t(70425),_=t(34280),M=t(59301),P=t(4676),pe=M.forwardRef(function(G,R){var U=G.height,g=G.offsetY,fe=G.offsetX,z=G.children,o=G.prefixCls,f=G.onInnerResize,se=G.innerProps,q=G.rtl,$=G.extra,N={},X={display:"flex",flexDirection:"column"};return g!==void 0&&(N={height:U,position:"relative",overflow:"hidden"},X=(0,i.Z)((0,i.Z)({},X),{},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({transform:"translateY(".concat(g,"px)")},q?"marginRight":"marginLeft",-fe),"position","absolute"),"left",0),"right",0),"top",0))),M.createElement("div",{style:N},M.createElement(K.Z,{onResize:function(c){var C=c.offsetHeight;C&&f&&f()}},M.createElement("div",(0,e.Z)({style:X,className:Z()((0,L.Z)({},"".concat(o,"-holder-inner"),o)),ref:R},se),z,$)))});pe.displayName="Filler";var it=pe;function Fe(G){var R=G.children,U=G.setRef,g=M.useCallback(function(fe){U(fe)},[]);return M.cloneElement(R,{ref:g})}function Pe(G,R,U,g,fe,z,o,f){var se=f.getKey;return G.slice(R,U+1).map(function(q,$){var N=R+$,X=o(q,N,{style:{width:g},offsetX:fe}),ue=se(q);return M.createElement(Fe,{key:ue,setRef:function(C){return z(q,C)}},X)})}function Ye(G,R,U,g){var fe=U-G,z=R-U,o=Math.min(fe,z)*2;if(g<=o){var f=Math.floor(g/2);return g%2?U+f+1:U-f}return fe>z?U-(g-z):U+(g-fe)}function b(G,R,U){var g=G.length,fe=R.length,z,o;if(g===0&&fe===0)return null;g2&&arguments[2]!==void 0?arguments[2]:!1,N=se?q<0&&f.current.left||q>0&&f.current.right:q<0&&f.current.top||q>0&&f.current.bottom;return $&&N?(clearTimeout(z.current),fe.current=!1):(!N||fe.current)&&o(),!fe.current&&N}};function y(G,R,U,g,fe,z,o){var f=(0,M.useRef)(0),se=(0,M.useRef)(null),q=(0,M.useRef)(null),$=(0,M.useRef)(!1),N=le(R,U,g,fe);function X(Le,Ke){if(s.Z.cancel(se.current),!N(!1,Ke)){var nt=Le;if(!nt._virtualHandled)nt._virtualHandled=!0;else return;f.current+=Ke,q.current=Ke,ae||nt.preventDefault(),se.current=(0,s.Z)(function(){var lt=$.current?10:1;o(f.current*lt,!1),f.current=0})}}function ue(Le,Ke){o(Ke,!0),ae||Le.preventDefault()}var c=(0,M.useRef)(null),C=(0,M.useRef)(null);function Xe(Le){if(G){s.Z.cancel(C.current),C.current=(0,s.Z)(function(){c.current=null},2);var Ke=Le.deltaX,nt=Le.deltaY,lt=Le.shiftKey,et=Ke,w=nt;(c.current==="sx"||!c.current&<&&nt&&!Ke)&&(et=nt,w=0,c.current="sx");var ge=Math.abs(et),Ze=Math.abs(w);c.current===null&&(c.current=z&&ge>Ze?"x":"y"),c.current==="y"?X(Le,w):ue(Le,et)}}function W(Le){G&&($.current=Le.detail===q.current)}return[Xe,W]}function He(G,R,U,g){var fe=M.useMemo(function(){return[new Map,[]]},[G,U.id,g]),z=(0,x.Z)(fe,2),o=z[0],f=z[1],se=function($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,X=o.get($),ue=o.get(N);if(X===void 0||ue===void 0)for(var c=G.length,C=f.length;C0&&arguments[0]!==void 0?arguments[0]:!1;$();var c=function(){var W=!1;f.current.forEach(function(Le,Ke){if(Le&&Le.offsetParent){var nt=Le.offsetHeight,lt=getComputedStyle(Le),et=lt.marginTop,w=lt.marginBottom,ge=H(et),Ze=H(w),Ve=nt+ge+Ze;se.current.get(Ke)!==Ve&&(se.current.set(Ke,Ve),W=!0)}}),W&&o(function(Le){return Le+1})};if(ue)c();else{q.current+=1;var C=q.current;Promise.resolve().then(function(){C===q.current&&c()})}}function X(ue,c){var C=G(ue),Xe=f.current.get(C);c?(f.current.set(C,c),N()):f.current.delete(C),!Xe!=!c&&(c?R==null||R(ue):U==null||U(ue))}return(0,M.useEffect)(function(){return $},[]),[X,N,se.current,z]}var ce=14/15;function T(G,R,U){var g=(0,M.useRef)(!1),fe=(0,M.useRef)(0),z=(0,M.useRef)(0),o=(0,M.useRef)(null),f=(0,M.useRef)(null),se,q=function(ue){if(g.current){var c=Math.ceil(ue.touches[0].pageX),C=Math.ceil(ue.touches[0].pageY),Xe=fe.current-c,W=z.current-C,Le=Math.abs(Xe)>Math.abs(W);Le?fe.current=c:z.current=C;var Ke=U(Le,Le?Xe:W,!1,ue);Ke&&ue.preventDefault(),clearInterval(f.current),Ke&&(f.current=setInterval(function(){Le?Xe*=ce:W*=ce;var nt=Math.floor(Le?Xe:W);(!U(Le,nt,!0)||Math.abs(nt)<=.1)&&clearInterval(f.current)},16))}},$=function(){g.current=!1,se()},N=function(ue){se(),ue.touches.length===1&&!g.current&&(g.current=!0,fe.current=Math.ceil(ue.touches[0].pageX),z.current=Math.ceil(ue.touches[0].pageY),o.current=ue.target,o.current.addEventListener("touchmove",q,{passive:!1}),o.current.addEventListener("touchend",$,{passive:!0}))};se=function(){o.current&&(o.current.removeEventListener("touchmove",q),o.current.removeEventListener("touchend",$))},(0,_.Z)(function(){return G&&R.current.addEventListener("touchstart",N,{passive:!0}),function(){var X;(X=R.current)===null||X===void 0||X.removeEventListener("touchstart",N),se(),clearInterval(f.current)}},[G])}function ze(G){return Math.floor(Math.pow(G,.5))}function xe(G,R){var U="touches"in G?G.touches[0]:G;return U[R?"pageX":"pageY"]-window[R?"scrollX":"scrollY"]}function We(G,R,U){M.useEffect(function(){var g=R.current;if(G&&g){var fe=!1,z,o,f=function(){s.Z.cancel(z)},se=function X(){f(),z=(0,s.Z)(function(){U(o),X()})},q=function(){fe=!1,f()},$=function(ue){if(!(ue.target.draggable||ue.button!==0)){var c=ue;c._virtualHandled||(c._virtualHandled=!0,fe=!0)}},N=function(ue){if(fe){var c=xe(ue,!1),C=g.getBoundingClientRect(),Xe=C.top,W=C.bottom;if(c<=Xe){var Le=Xe-c;o=-ze(Le),se()}else if(c>=W){var Ke=c-W;o=ze(Ke),se()}else f()}};return g.addEventListener("mousedown",$),g.ownerDocument.addEventListener("mouseup",q),g.ownerDocument.addEventListener("mousemove",N),g.ownerDocument.addEventListener("dragend",q),function(){g.removeEventListener("mousedown",$),g.ownerDocument.removeEventListener("mouseup",q),g.ownerDocument.removeEventListener("mousemove",N),g.ownerDocument.removeEventListener("dragend",q),f()}}},[G])}var st=10;function at(G,R,U,g,fe,z,o,f){var se=M.useRef(),q=M.useState(null),$=(0,x.Z)(q,2),N=$[0],X=$[1];return(0,_.Z)(function(){if(N&&N.times=0;dt-=1){var Rt=fe(R[dt]),Vt=U.get(Rt);if(Vt===void 0){Le=!0;break}if(ct-=Vt,ct<=0)break}switch(lt){case"top":nt=w-Xe;break;case"bottom":nt=ge-W+Xe;break;default:{var Ht=G.current.scrollTop,Xt=Ht+W;wXt&&(Ke="bottom")}}nt!==null&&o(nt),nt!==N.lastTop&&(Le=!0)}Le&&X((0,i.Z)((0,i.Z)({},N),{},{times:N.times+1,targetAlign:Ke,lastTop:nt}))}},[N,G.current]),function(ue){if(ue==null){f();return}if(s.Z.cancel(se.current),typeof ue=="number")o(ue);else if(ue&&(0,d.Z)(ue)==="object"){var c,C=ue.align;"index"in ue?c=ue.index:c=R.findIndex(function(Le){return fe(Le)===ue.key});var Xe=ue.offset,W=Xe===void 0?0:Xe;X({times:0,index:c,offset:W,originAlign:C})}}}var Ae=M.forwardRef(function(G,R){var U=G.prefixCls,g=G.rtl,fe=G.scrollOffset,z=G.scrollRange,o=G.onStartMove,f=G.onStopMove,se=G.onScroll,q=G.horizontal,$=G.spinSize,N=G.containerSize,X=G.style,ue=G.thumbStyle,c=G.showScrollBar,C=M.useState(!1),Xe=(0,x.Z)(C,2),W=Xe[0],Le=Xe[1],Ke=M.useState(null),nt=(0,x.Z)(Ke,2),lt=nt[0],et=nt[1],w=M.useState(null),ge=(0,x.Z)(w,2),Ze=ge[0],Ve=ge[1],ot=!g,Tt=M.useRef(),ct=M.useRef(),dt=M.useState(c),Rt=(0,x.Z)(dt,2),Vt=Rt[0],Ht=Rt[1],Xt=M.useRef(),wt=function(){c===!0||c===!1||(clearTimeout(Xt.current),Ht(!0),Xt.current=setTimeout(function(){Ht(!1)},3e3))},Ut=z-N||0,yt=N-$||0,Bt=M.useMemo(function(){if(fe===0||Ut===0)return 0;var Dn=fe/Ut;return Dn*yt},[fe,Ut,yt]),Pt=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},kt=M.useRef({top:Bt,dragging:W,pageY:lt,startTop:Ze});kt.current={top:Bt,dragging:W,pageY:lt,startTop:Ze};var Wt=function(Mn){Le(!0),et(xe(Mn,q)),Ve(kt.current.top),o(),Mn.stopPropagation(),Mn.preventDefault()};M.useEffect(function(){var Dn=function(Pn){Pn.preventDefault()},Mn=Tt.current,tn=ct.current;return Mn.addEventListener("touchstart",Dn,{passive:!1}),tn.addEventListener("touchstart",Wt,{passive:!1}),function(){Mn.removeEventListener("touchstart",Dn),tn.removeEventListener("touchstart",Wt)}},[]);var pt=M.useRef();pt.current=Ut;var Lt=M.useRef();Lt.current=yt,M.useEffect(function(){if(W){var Dn,Mn=function(Pn){var bn=kt.current,Fn=bn.dragging,_n=bn.pageY,Jn=bn.startTop;s.Z.cancel(Dn);var Be=Tt.current.getBoundingClientRect(),Ie=N/(q?Be.width:Be.height);if(Fn){var I=(xe(Pn,q)-_n)*Ie,k=Jn;!ot&&q?k-=I:k+=I;var be=pt.current,ye=Lt.current,m=ye?k/ye:0,re=Math.ceil(m*be);re=Math.max(re,0),re=Math.min(re,be),Dn=(0,s.Z)(function(){se(re,q)})}},tn=function(){Le(!1),f()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",tn,{passive:!0}),window.addEventListener("touchend",tn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",tn),window.removeEventListener("touchend",tn),s.Z.cancel(Dn)}}},[W]),M.useEffect(function(){return wt(),function(){clearTimeout(Xt.current)}},[fe]),M.useImperativeHandle(R,function(){return{delayHidden:wt}});var ln="".concat(U,"-scrollbar"),rn={position:"absolute",visibility:Vt?null:"hidden"},xn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return q?(Object.assign(rn,{height:8,left:0,right:0,bottom:0}),Object.assign(xn,(0,L.Z)({height:"100%",width:$},ot?"left":"right",Bt))):(Object.assign(rn,(0,L.Z)({width:8,top:0,bottom:0},ot?"right":"left",0)),Object.assign(xn,{width:"100%",height:$,top:Bt})),M.createElement("div",{ref:Tt,className:Z()(ln,(0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ln,"-horizontal"),q),"".concat(ln,"-vertical"),!q),"".concat(ln,"-visible"),Vt)),style:(0,i.Z)((0,i.Z)({},rn),X),onMouseDown:Pt,onMouseMove:wt},M.createElement("div",{ref:ct,className:Z()("".concat(ln,"-thumb"),(0,L.Z)({},"".concat(ln,"-thumb-moving"),W)),style:(0,i.Z)((0,i.Z)({},xn),ue),onMouseDown:Wt}))}),tt=Ae,J=20;function Se(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=G/R*G;return isNaN(U)&&(U=0),U=Math.max(U,J),Math.floor(U)}var me=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Qe=[],ie={overflowY:"auto",overflowAnchor:"none"};function Je(G,R){var U=G.prefixCls,g=U===void 0?"rc-virtual-list":U,fe=G.className,z=G.height,o=G.itemHeight,f=G.fullHeight,se=f===void 0?!0:f,q=G.style,$=G.data,N=G.children,X=G.itemKey,ue=G.virtual,c=G.direction,C=G.scrollWidth,Xe=G.component,W=Xe===void 0?"div":Xe,Le=G.onScroll,Ke=G.onVirtualScroll,nt=G.onVisibleChange,lt=G.innerProps,et=G.extraRender,w=G.styles,ge=G.showScrollBar,Ze=ge===void 0?"optional":ge,Ve=(0,D.Z)(G,me),ot=M.useCallback(function(qe){return typeof X=="function"?X(qe):qe==null?void 0:qe[X]},[X]),Tt=n(ot,null,null),ct=(0,x.Z)(Tt,4),dt=ct[0],Rt=ct[1],Vt=ct[2],Ht=ct[3],Xt=!!(ue!==!1&&z&&o),wt=M.useMemo(function(){return Object.values(Vt.maps).reduce(function(qe,mt){return qe+mt},0)},[Vt.id,Vt.maps]),Ut=Xt&&$&&(Math.max(o*$.length,wt)>z||!!C),yt=c==="rtl",Bt=Z()(g,(0,L.Z)({},"".concat(g,"-rtl"),yt),fe),Pt=$||Qe,kt=(0,M.useRef)(),Wt=(0,M.useRef)(),pt=(0,M.useRef)(),Lt=(0,M.useState)(0),ln=(0,x.Z)(Lt,2),rn=ln[0],xn=ln[1],Dn=(0,M.useState)(0),Mn=(0,x.Z)(Dn,2),tn=Mn[0],Nn=Mn[1],Pn=(0,M.useState)(!1),bn=(0,x.Z)(Pn,2),Fn=bn[0],_n=bn[1],Jn=function(){_n(!0)},Be=function(){_n(!1)},Ie={getKey:ot};function I(qe){xn(function(mt){var Kt;typeof qe=="function"?Kt=qe(mt):Kt=qe;var jt=ut(Kt);return kt.current.scrollTop=jt,jt})}var k=(0,M.useRef)({start:0,end:Pt.length}),be=(0,M.useRef)(),ye=Ce(Pt,ot),m=(0,x.Z)(ye,1),re=m[0];be.current=re;var De=M.useMemo(function(){if(!Xt)return{scrollHeight:void 0,start:0,end:Pt.length-1,offset:void 0};if(!Ut){var qe;return{scrollHeight:((qe=Wt.current)===null||qe===void 0?void 0:qe.offsetHeight)||0,start:0,end:Pt.length-1,offset:void 0}}for(var mt=0,Kt,jt,qt,un=Pt.length,on=0;on=rn&&Kt===void 0&&(Kt=on,jt=mt),Bn>rn+z&&qt===void 0&&(qt=on),mt=Bn}return Kt===void 0&&(Kt=0,jt=0,qt=Math.ceil(z/o)),qt===void 0&&(qt=Pt.length-1),qt=Math.min(qt+1,Pt.length-1),{scrollHeight:mt,start:Kt,end:qt,offset:jt}},[Ut,Xt,rn,Pt,Ht,z]),u=De.scrollHeight,S=De.start,A=De.end,ve=De.offset;k.current.start=S,k.current.end=A,M.useLayoutEffect(function(){var qe=Vt.getRecord();if(qe.size===1){var mt=Array.from(qe.keys())[0],Kt=qe.get(mt),jt=Pt[S];if(jt&&Kt===void 0){var qt=ot(jt);if(qt===mt){var un=Vt.get(mt),on=un-o;I(function(en){return en+on})}}}Vt.resetRecord()},[u]);var j=M.useState({width:0,height:z}),O=(0,x.Z)(j,2),V=O[0],ee=O[1],oe=function(mt){ee({width:mt.offsetWidth,height:mt.offsetHeight})},h=(0,M.useRef)(),v=(0,M.useRef)(),B=M.useMemo(function(){return Se(V.width,C)},[V.width,C]),te=M.useMemo(function(){return Se(V.height,u)},[V.height,u]),we=u-z,Ne=(0,M.useRef)(we);Ne.current=we;function ut(qe){var mt=qe;return Number.isNaN(Ne.current)||(mt=Math.min(mt,Ne.current)),mt=Math.max(mt,0),mt}var Ge=rn<=0,Y=rn>=we,he=tn<=0,Me=tn>=C,ke=le(Ge,Y,he,Me),ht=function(){return{x:yt?-tn:tn,y:rn}},ft=(0,M.useRef)(ht()),Ct=(0,r.zX)(function(qe){if(Ke){var mt=(0,i.Z)((0,i.Z)({},ht()),qe);(ft.current.x!==mt.x||ft.current.y!==mt.y)&&(Ke(mt),ft.current=mt)}});function It(qe,mt){var Kt=qe;mt?((0,P.flushSync)(function(){Nn(Kt)}),Ct()):I(Kt)}function Dt(qe){var mt=qe.currentTarget.scrollTop;mt!==rn&&I(mt),Le==null||Le(qe),Ct()}var Mt=function(mt){var Kt=mt,jt=C?C-V.width:0;return Kt=Math.max(Kt,0),Kt=Math.min(Kt,jt),Kt},$t=(0,r.zX)(function(qe,mt){mt?((0,P.flushSync)(function(){Nn(function(Kt){var jt=Kt+(yt?-qe:qe);return Mt(jt)})}),Ct()):I(function(Kt){var jt=Kt+qe;return jt})}),Et=y(Xt,Ge,Y,he,Me,!!C,$t),Jt=(0,x.Z)(Et,2),At=Jt[0],sn=Jt[1];T(Xt,kt,function(qe,mt,Kt,jt){var qt=jt;return ke(qe,mt,Kt)?!1:!qt||!qt._virtualHandled?(qt&&(qt._virtualHandled=!0),At({preventDefault:function(){},deltaX:qe?mt:0,deltaY:qe?0:mt}),!0):!1}),We(Ut,kt,function(qe){I(function(mt){return mt+qe})}),(0,_.Z)(function(){function qe(Kt){var jt=Ge&&Kt.detail<0,qt=Y&&Kt.detail>0;Xt&&!jt&&!qt&&Kt.preventDefault()}var mt=kt.current;return mt.addEventListener("wheel",At,{passive:!1}),mt.addEventListener("DOMMouseScroll",sn,{passive:!0}),mt.addEventListener("MozMousePixelScroll",qe,{passive:!1}),function(){mt.removeEventListener("wheel",At),mt.removeEventListener("DOMMouseScroll",sn),mt.removeEventListener("MozMousePixelScroll",qe)}},[Xt,Ge,Y]),(0,_.Z)(function(){if(C){var qe=Mt(tn);Nn(qe),Ct({x:qe})}},[V.width,C]);var Gt=function(){var mt,Kt;(mt=h.current)===null||mt===void 0||mt.delayHidden(),(Kt=v.current)===null||Kt===void 0||Kt.delayHidden()},Yt=at(kt,Pt,Vt,o,ot,function(){return Rt(!0)},I,Gt);M.useImperativeHandle(R,function(){return{nativeElement:pt.current,getScrollInfo:ht,scrollTo:function(mt){function Kt(jt){return jt&&(0,d.Z)(jt)==="object"&&("left"in jt||"top"in jt)}Kt(mt)?(mt.left!==void 0&&Nn(Mt(mt.left)),Yt(mt.top)):Yt(mt)}}}),(0,_.Z)(function(){if(nt){var qe=Pt.slice(S,A+1);nt(qe,Pt)}},[S,A,Pt]);var nn=He(Pt,ot,Vt,o),fn=et==null?void 0:et({start:S,end:A,virtual:Ut,offsetX:tn,offsetY:ve,rtl:yt,getSize:nn}),Zt=Pe(Pt,S,A,C,tn,dt,N,Ie),Qt=null;z&&(Qt=(0,i.Z)((0,L.Z)({},se?"height":"maxHeight",z),ie),Xt&&(Qt.overflowY="hidden",C&&(Qt.overflowX="hidden"),Fn&&(Qt.pointerEvents="none")));var Ft={};return yt&&(Ft.dir="rtl"),M.createElement("div",(0,e.Z)({ref:pt,style:(0,i.Z)((0,i.Z)({},q),{},{position:"relative"}),className:Bt},Ft,Ve),M.createElement(K.Z,{onResize:oe},M.createElement(W,{className:"".concat(g,"-holder"),style:Qt,ref:kt,onScroll:Dt,onMouseEnter:Gt},M.createElement(it,{prefixCls:g,height:u,offsetX:tn,offsetY:ve,scrollWidth:C,onInnerResize:Rt,ref:Wt,innerProps:lt,rtl:yt,extra:fn},Zt))),Ut&&u>z&&M.createElement(tt,{ref:h,prefixCls:g,scrollOffset:rn,scrollRange:u,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:te,containerSize:V.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb,showScrollBar:Ze}),Ut&&C>V.width&&M.createElement(tt,{ref:v,prefixCls:g,scrollOffset:tn,scrollRange:C,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:B,containerSize:V.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb,showScrollBar:Ze}))}var je=M.forwardRef(Je);je.displayName="List";var bt=je,Te=bt},76374:function(an,_e,t){var e=function(){if(typeof Map!="undefined")return Map;function de(H,n){var ce=-1;return H.some(function(T,ze){return T[0]===n?(ce=ze,!0):!1}),ce}return function(){function H(){this.__entries__=[]}return Object.defineProperty(H.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),H.prototype.get=function(n){var ce=de(this.__entries__,n),T=this.__entries__[ce];return T&&T[1]},H.prototype.set=function(n,ce){var T=de(this.__entries__,n);~T?this.__entries__[T][1]=ce:this.__entries__.push([n,ce])},H.prototype.delete=function(n){var ce=this.__entries__,T=de(ce,n);~T&&ce.splice(T,1)},H.prototype.has=function(n){return!!~de(this.__entries__,n)},H.prototype.clear=function(){this.__entries__.splice(0)},H.prototype.forEach=function(n,ce){ce===void 0&&(ce=null);for(var T=0,ze=this.__entries__;T0},de.prototype.connect_=function(){!d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),K?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},de.prototype.disconnect_=function(){!d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},de.prototype.onTransitionEnd_=function(H){var n=H.propertyName,ce=n===void 0?"":n,T=Z.some(function(ze){return!!~ce.indexOf(ze)});T&&this.refresh()},de.getInstance=function(){return this.instance_||(this.instance_=new de),this.instance_},de.instance_=null,de}(),_=function(de,H){for(var n=0,ce=Object.keys(H);n0},de}(),Oe=typeof WeakMap!="undefined"?new WeakMap:new e,ne=function(){function de(H){if(!(this instanceof de))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=r.getInstance(),ce=new He(H,n,this);Oe.set(this,ce)}return de}();["observe","unobserve","disconnect"].forEach(function(de){ne.prototype[de]=function(){var H;return(H=Oe.get(this))[de].apply(H,arguments)}});var Re=function(){return typeof i.ResizeObserver!="undefined"?i.ResizeObserver:ne}();_e.Z=Re},51941:function(an){an.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABtCAYAAACoYyM7AAAgAElEQVR4Xmy9aY+dZ5Ildu5+35s7k0tmcifFRRtLovYqlbYqVVVX9/R0owEb408GZgD/AP8EfzI8gA1/M+AP88GAYbQNT89MV6lLJVWV9l2iSIrimjuXZO6Zd9+McyLizSvBrCJEMu99l+eJJ5YTJyIyLz977NR/+2//3W//7h/+q/9m377JJ3qdbr7b6yKTyaCfyaLf7yGDLjL9DPrZLIA+MugD4J8zAHpAv49+n3/uA9ksMvoZ/9qzj/Ab/b4+l8ny2/bzDL+rz2XBr+u6/Z7uYPfP6DvodoFsBplszu7T4zP19B0+R9afq9/r68l03V6f/7f78bvps3aRzeTQz+SAflfPleF76ud9XVsPnc37u/L9uqjt1tFutZHP5ZDL5XTdfCGPTD6nz+t/vBcfgNfJ2JPYb7sP/5jpZwHe25/HPsYfxBrZOtga2Xf0Ulowrgefx9ctm/M7+0e0hhn7CN8ow33xNdKNtFv+Ky4aT8m7akHtOflZ7RnX2vaI381m7b103X4H2Sw/nN24c+f2//t//If//X/7H/7H/3Al87/8+//+3//X/+a/e/PQ1NHzvVa92O93/eXtgSRgvFy2C24aX4ybqEXSbSgA3KCsvVmGQpXRulEQ9SL9Hnpdex1+l9fk9/K5LDrdLnq9HrLZnD+gLQrXj4IkQaSs5nhBoNVqA90+cvkcuv0uup0uSqWyrt3ptJHNcHOz+ioXpdfj4obA95HNmFDZd9t6Hgprj4LLjeznKEN270wW+Zy9Q3W3ik7brp/L5ZEr5vUMEplOD5lcTgLX7XX0zJJzrpytvn7ze3bgMnou/muOz5rjembQbbdNyLP8eU/rTcHlNUz4uTZcKxNWvqf+y3tkM/bumQw6Ha5pF5lcFr1OR9fWs8Z+co9c6Hkv7Vg2a4fQ5Ft73+N1+tx/ClRfa5TndTI5PR8yHeSyGeQKJXQylYVrlz/5v/7X//l/+j8zc7Mf3D1y9OKhbC+Tbdd39WUKhASSC9btoo+OnbaMvZhu0uPp6yGXzSObLaDvQqUXt+OBfD4vLdDpdHQdE6oMOt0OspmsTnynR4Hr6KW06JmMCbI2hifarpXLFfTnZrOlhc3lTdtRqIrFolaiy+tKy5gghK6gsPCZ+mghm+8hl6Fgd1xIcsjk4plzyPQKUlZ8hVw+r02lkO/u7qLdakrwcrkMSuWyfsYP8hl4W75Pn+vkekZrEUdfJ4Uboic0oeE9eJj4Lv0+Ou2OtG+q1TPUilm9lwQjFwfX1ojrw3fpUZB5SKk1eWg7Ha05709BkMzxULoiyOYKEgYTViDnkiQB4r5kMzy36Ou7JvxSDl3ek4Jrwiytle3pubLF0X6tVrv353f+458yzfqtej4zXm63TK3GqeDCSc3JFJq24bXsgtRCNC99nTSqzW6PWsBMn2k4eykuNB+mSyHxBZXxpIbgAspKUlj1j7ouF4yvQoHltvD70oZcJGo5f0tpoD5PblanktfhE/C5KLgUVHveUNkt9DMtZCW8XCTZCf1cJlQHo6DNp/YwU9LTPeu1BnarVRQKRZRKRf2cG2VXt8OmtZBQdLRRuXxBP6MAcaPN/JtW4jrxEOn6MnNh5+wddXglhHIGtMY6K7LQXKO2/o335DvaIbc1TtcpXWB7P60Xz5xbGh70WEM+IzW2PYY9D9cxzLq9mLkzZlWyUuy8RqdZR6GYR7ZYwt3526sUqlqmW06quw39QNqjYxKp5ZaU511iKb48kXnk837i+n00Wy29dj5XkEmRf0D91ulK6vWg0kymbWINqXpDSGW+eHr5onxYqnmevixNCtW5bYgWmRved9PSo/BlkM3TB/JF7/ZkCrlIvBlPcjabl8bt9lrIFvK6rnwwLZxthrRtxkyUhLTfkzbj8zYadWxvb8vUJklZZptCT5MncyszGv6QCXqBWo4HrNNBm9eR8PJ9aNKzKBSLaHfa0tQUUK4F/2uaimtvLkO+UNRahIDykPGd252ONp6CzsPf6dBy2GHlIeZe6rl0cvt2UKQE+ui2O+h0TcvwZt1uz57Btai0nPubcgH71GB8KLo2tm/9HoW5h1ajjnwhi1ypgKXF2Xqmun29ViwOJ+1mx06cX5QPQ8Ey28+rmhRLUyCDIk2D/Jo+Ws26Xoov4TJjflS/jzw3nCfABUJaLsyCDoTZc753u83T3JNvIM3IF5Cm0Vk2cygBdV9LPhe/Yv4H/QYKBzecpsTMbbjE5l9xhfmcXHzewwTc3jw0gvSITjO1FH/3Ua3uotFsolQo+KnPIs8/hw8nrWrXku/gWonXoRDwgFmQYwGI+Y0eCMkHtD/TNOm/NO1a675MHLUehaLRbGBzYx1JuYJykvh6m4mSJQiHXFYkJxNu70CH2w4fhbbbakmQzJpI/Zimly/J5zMNq/3yIIRKQI6XC1e/S9+Kr9pFvmS+3+LCbD2zs3arVq4MJTIZbfordmEJQsYkmHpO1x9Qf3G6e9pf0ypcfL4YRYAPrpPiPhbtNX9LYGiw5Sdl0aXwmCrTJsvXchNmfj/VvplcCbSiur42RuLm5o+mjBtIwdJiuF9nghU+lT+fRzTUhubjmFbVSeVvvgfNtjbVNn9nZ0vapuibS+1NTSQfsEOnmL4lHWNqyDjJFBI7MFxHbp7e3KM/rhG1EJ+53WxJo1EIJOTdjt6DvluPAYJORxZ3FxawtHAX42PjOHriBJJyGf1MD3B/SmtP89ntI9vPotPvot3vygrROaDq0Lo1Wsjy/i5kUmfy27jv9DF7Opx8YDOpZj0o4BQqCR2DGgWofZQrFXT6wNzN6/XM7upcrVypJLTRjD4osXLG6BvJEaZpM1PIk8OH4ILLqdSG0jnlqSi69bEHUuSiDe6j1qih02kp2uMWtrRIGRQLBWk6EyrzTWiWpHoVXVg0E/4AHVZuvk5YNou8q/JSqWT3dFPNxQoTzH+UA+2+U9he/pWmLfwQHQiZ0YI2RQLiMAi/T0e92WigUChoNfLFIkrFkgUeirCoKfPmGLsgW0RJGbLQn/8nLFMolLS+zWZT3+Pmra2ta3OGh4dQLBbQ77SlgUfHxtCpt3T/RquO5dt3sHF/E8PDo5g+cQz79u9HeaiEfj6HFg89rUWvi269iermDprtJsqjwxgaHUG+VLT95aN0OwDdE7kSdsjlcvh66+/uqIc1ceBE7oS+QdhF/iFQLJfR6WexOHujntldn6sllUpCH0RwQhoymf2lvTdxdL/BtYNFBYQF3G+RVXTz5CEwr8XT3Wq3kMnyhJh5zRWK5mdRONzO84VkMlyQ9iIgi8wUPjM4kJlsodNqoliuaHMpRFwMCaF/Tv6I3sVMpJlyCh6FNcJ6c25pCt0ds+tIQ9r7657dLra2t9FutVAuJ4anZSwCNJOzt2xp9OvPTL/Ons0cbEXXfQvvN9bXcf/efWnE3Z1dVKs1DI8MYXSkIjNbr1Zl5oaTClZXHmJzcw29dheNnQbKhTKyxQJKQxXsnzqIRqeNWqeFyvCwTPz25pa+TxNYHhqSIB09egz7JiZ1YLJFRngWTHH92oR26M+6qYuXMk/OAzSPTCVGVF6uqejbFYoFZHIFzN26SaFaqBVL+aRRrxmWIfNkGkgnS6F94FLmdQirkoNnvo18k56pZwonP0J/g0vYarS0ScWkiIL7KVrgrvlJKRzACKndNhXr4a+FsGaG7DkowGbyaKplot0/khqXZJjpTaMt99+krXgPXcswHYKicmwZUQl0NVOp364tQ9hrtRp2dnZQLpf1zDzFvGYhb8GNRXUmoBZlmf8SkWazVkWj0ZS221ndJmSrZ7x3/57Wa//+/Wi0WnLcy4U8ioUctje3UdvZRiGXQaveQr1Wl7CBPn83g1a3g3xSRHmkgk6vj8rEOMYmRtFst9HsdlGpJOh3eoax1RuY2n8Ak2PjWvteKYvMaBlDQ8MKulqtJnIEhaWhOntOvrsvAS1YkG4RZiZjgUijziCvgFyxjDs3rtOnmq+VSoWk1WpY5KHTbCbDHDbHYLlIKe5iKLSBdobTMHIyB9xUncWGpqkoFMVSEYVCgIwmrHLk5UOYr0GgTiZDQmtRkISc/+4Qg+E2XbRaLceRCkLBA32PZ5QZks9kTig1lcEDpqnkGHu4Pqgd+UxhAgyAtPev1+ugYFGIGLUFXBKOup7ZtRvNiTRAoSCtSi10/95d7GzvIMcz2YRMmqCDfFYbOzI6og1q0z/rtVDMZoXgN2o1uSDV7Zo0GyOtHKOuVgbJSILxA/tRGq6g2euhPFzB0DB9mz66OfMvC/RxO11UN7ew/XAdlUIRw0PDqGW72ERDWNvhwzM4ePAQhoeGtF9xYMK3So1XQEJcF+5xrpCCrYJXslnM37lTz+yuzdVK5VIiXCfUm2MuXGCdeNNJrgY9haLUiZtIOWuM/MzxdYxf/2WYSxtMJzXroWhEkBJaql3fhADhwtylpixQcX8+mrCIXPhZbjR/0TeR/nRtodPlmjb8M/1MWJgLjEeSFhSYueM7GyofUWYW9UZDWoaHgAcu/hvAoATTMTk+g6JLQDDE/OwslpeXtYH7xvYh6RUxPzuHra1NHDt+DEePHtX9lC3g/btNg1bol2ayoM+4sb6GhbkFrK6sINfPItvLYd/kPhw5cQwjB/aj3mmh0WnK51Mk51an7HDE5uoa5m7elgN/7NhRYKSIuzsPsbW1jRPHT+CJJ5/E2OioBCo0LdfB8Cvzhc2ntgifwk+YJlB93reXyWBp9k49U9tYqBXLRQlVOJZcTPpK4USGxuANwzQIIXeNQgMb6YfQVeaXEOU24I/oK/eIG8LvSiMQ/SVaLDiA0ZOH9YruGNCYsISQ8fn0u8fIxLQQfQU6tgYIuqPpG2ym2SI55QsFkhoW0yd25AcmTCad3NCMoYn4eWqratXTNEL+c9o8AzsjjDH/zVJOFkQI9Oz3sbmxgbv37gqQzSOPbLOPZr2FneouSsUi9k2Mo5xUkGUU2GgIlWcEWN3eQXO3JuFmULG7vY3d7R3kkUOv1UUpqWDfoQPIlUsyd7lyAZWRYcsCdLpI6P/1ga2dbUEirXZHB7BcLqE4kqCbJ2wAHDp0CAcP7E/zffkiAWBL8XDvDK7gXprJFw7GPcsVUyC6UCyhm8lhef52PVNdn6uVKklCW06fJmymnNcBv8LwS08Uu+9iGoE22B4uNQXua3FxKdF09nN5+i9mEuUXuVkR/iJ8Cei1O3KGlTzmxtH585wY/01QAv0BAq7NppxQhvUy1S58DqaZfyXJdrPk9wxhlmp3U6+gwD9rWJNpY72/pydajYbMH+8lP9DTUAEY/v99n2uY8wiXGot+S6vRRH2rjqRYRqvdxfLdJWnO0ZERi7Z6fRTKhCty2NnYQKNalyOt1EvTIvEs/dd2X4ciXykjGRtGrdVEtlzE+P5JaevWdhWlfEGHdXN3B/V2CwdnplAZ4316qFTKGB5OUE7KArMV+UdSzGEcuRI8GBHFyr8yXEsBVobRLqGoNgqlEpArY/7O94QUZmu5UiEhqMbTFU55GhF57mfQQUtDfY9o2m1qHuaQDMCzlIJFbdJKva4WSSCb6AiedqDdL5TstBMRbjbMYWRuqpA37MgxEzOtxgTgNZpcRGoE1y7Cd1wweE+ZbfcDDU0mkm1aU1rIoZFUwMMPEsvCDpDQ4mZTf6awb25uSqCGhobk0/Ga1FiBqqdy7JGf4Bdq434f9VotzSd2mm0JEjMR9+7dR7NZlwZmGmhyfB8qQ0MKdLjRvEYxn8P62jq2t7Yl2LWdGirlBOVSWdHfoZkpdJhKarUwNDyk9W5s72Jna0eHszIypPWcmJzEyMS45RoZKNGcMWHd7cm0F5OyziSFRFG6MzJMkzt7w/FFywxYRNtqtpErFpErJJi/da2e2V6dlflr0lH38FcJW1ftFoH5QgcdxdWhwTjmtwisTikvqZ6QUNEWF6Sp7Cjkign62Tw2traw8nAV29s7OLhvHEdmpg1T6kGmYW52DpUkwdTMDIpMA2QhwW/3emjUmW8qGtYVppiaQSwIJqmD1mKaKrRumLo0teKnMTST4VamqSyZbr9q1Wp6zwguBLY6O0G74aYwNB+voag0k0G70TSfL5cx0FR5s54lyPs97GxvywcdH5uQWZG/whgxb24ILQlN3+zsLO7fv4+xsTGcPH0KExPjOoSCdhw64Tvy0G3v7Oq7/AzxP16fa8Z9JiSje0uTGyyUZhHkVxluR2ug4GsATI7MgOH+5uIQ32OkuzB7i476fK08VE4ITgrsEyrumiay3AHmpbC9JwWdWWW4jzm5ejB37KlVRG1pd5DPWkJaLn2hBLrU316+iivffYf19Q08+fhj+PlPf4pkeFgn5burV/DFZ5/j+PFjeOb55xRK5zLmr9SbTWkOnmZqHDr4aUphgCVhissiydBIAaSGbxbPq0gx8Kpez2ksRmnhqeWmU2vZpmSlsQKNju+GQAdgKx/VtX8KhHpCV7wx+pj5AujD6Oce6PT7eTntvC99lUGf9sGDB3hw/77AxuMnjgsspaWI4EB+MCPuLFAslQVS89qF8GWFRZnBEE3Jk9GK5n0dlV9lzrIfNB4Hv13BRIaTqbvAs7gu5N/NE6eqbS/VCoVcIi5PuCEDfkXY0/Sku5aSQ+pSbjwcT4T6pupnCv97SjNkSOgiM4P2uwc0213cvDOLxaVlbG/vYmZ6Chd/cgH7Dh6UKr701Ze4deMGpmcO47kXnkdlKEGvbWE4/Snd3/EsItvGrjBoQSG9R4ABMSiqEfBq+ToleQlLOMakn7vwcS1o1iRwjuzTUacJoxDzZ4zIUg0YiDqxOYcx+LmAMITOO+2HWBD5XIyIjclBhJ2sh4yEVsnmTA7tlqVsypUhdNstM4V0wJHBztYWWp0ORkdHJeQy6W6uKNCEIhSpuRYXHpjPe060nZo1CoHewXde0I0S1NQ6hH/a6LSbnrZhKqtjUS9NH0FxpabygizoU/UyRSzNEVHfWKgVirlETqvn1xTL+akVVhPOgrMB5dt4opH2mc6biG0poOF+L51r9288ZymGAJH3Wr2JlYdrkm76TrXaLqYPHsCh6WmZmfvLy0pNUDiOnzyJ0ZEhdDpNnSCivzJ/ND1Mm/izGlnNM/GeYgkaR0AjAiQdKjCE3QXQKYf6O82/C5Wen+a20ZBQhcmLCHBwnQKrCRjDaEH2SwAuI9psAYVSRQJXr1V17Uq5jBwPBrpy5LvNFvL5grQUMacOhZ9prUoFmWwJvU4DtequhKyUDCnf2G7UJaDcdOF47RaKxRLyIjD2dbAjnVQslbRmPLxcC2o0biiDET4XtSAxtn6vg17brIIia3cvpOmMcCZnncwU3reXK3uaZm2+li/kknbHHE9lKYICaCHVHjgZuI8cOPOzqF5p4gq5kqIIIeo0cXmyBTrotCy/ViKthm6HeEhFCVWj1UZlZETSXt/dRr/XRrmU6AH5gk13trk5RJVF0/AIslmvp6F9mJtBRF34ivtFXGSeaP4SvOGQQ6RU+L2UqOamT8xSUWg6Wo96o46trS09W5IkWnxeU844tZLjO9JKA9oqHH6Cirwv12hnt4bqbl2A8NBQxdaR4Xuvr3CfGpfagm7BysqKtDXvU6vuoFAsY3L/ASLFePjgvmACovH0f4icM6/K646OjevQ7ezuYPXhqrTa2Pi41oCYW71eQ7FQxMjIqA5oo1bF2OSk3qlZraFao6O/qYMwNjGBssy+vDx3Y4Ceor+u/EUKYqZQxJ3r3xNRn62VSqWk3aHUDoTmgyG2m5nQZoHhUAKVh+t0kc8WUwxKm0RAst9Ds0UcqoMyoz/5dUxflND21Fy+WDbCG2W53USn0dQpCWCUmocvzUilSCJYzvwnqnjeg2o9YAI7A4ZNBVNBuBORe7EO9gDPwdwevyeNM0A8FALv7AIKoqKuWs2iMferxAx1oZJGjAMojpYTEQcYEtQ+D+4/wJ//9B52t6t49bVXcfKR07h1/QauXr0qlP+Fl17E9NEj0oqffPghOt02Xvzpz/S9jz/6UNrn5Vdew8zMQXz28Se4euUKzj/6KJ594QVsbW7gu6tXsW//NJ74yXNoVtfx0Yd/weLiEl559VWcOnMe1d0tfPT++9hc38Arr/9CCelPPngfDx7cwyPnzuHU6dNC8a98ewn37y3j6LGjePqZZzA8PCKNFBkG+WKO1ndaHRRIXCwUMX/nVj2z+fBObXiokvT6dOjM1AVnn38WJ9pTNkqHBLoeNFMlUy0LT9uqKIoLKm2Wl9DRNotXxQsrbUJ2QlakPApNr09+FpHunoSqmwHKxD0cOTf1ScEwsJOnnr+1qQPpJMt7W2FEihsNJIjl75gEpVFrGlT4IVI0Gyiymy8CpQz3CSNQiHhPBQkDfpfcAQdKf4zpUZjlixQL+O7yFbz1uz+iWW/izd/8BufOncdnn32Gq1cui/T32huv4fGnLmJraw3v/v53GB0fx6u//DWWF2fxl3ffxdj4GF557Q0RBT/4y59x+dtv8fgTT+KV11/H6upDfPXFlzKJT118DsVcH3/4/e8xv7SAv/rt3+DxC0/j/tI83v6Xt7C2uoZfvPkrCdE7f/yDhPrwzAxeee11JJUKPv/0I8zdvoVz58/h1Td4v4q0Weyv8vVCBeyQC8nPFbA8P1fP7KzO1iojQ0mv1wYlzrjHJhgid/mpkynx6I4XYj5KLAWlSDzrT5Sb20a5kZnLC7DjtVMGqDjUfV2L/sLOzi62tneQlErCqCiYSaWMSmVICVw64VTv5TLRW9JeDAmnUyn/ycN2Sy8YkS/oybEAMnMRhAQp0DErY4v5L7+eZQAYaOSVKiF4W2sQQ2ulOT9qK/kmBBrFDrWsQGirlEfmriaRbEZ5D+6v4NJXl7G7W8Njjz+mvNvNm7fFVqCwnjl/HkePH0a328YXn3yCaq2On/78FeF8c3fuoDJUwZFjJ6SpF+dmsba2iqkjR3Ho4EHlJ7c2NrC+saFNnpycxOLCAjY2NlAsl3Dm7DmZ+du3bssnO3X6JA4fOYZbN29iZXUFBycPyH9lcn32zk3cXV6SeXz64jMYHqrIYtAtMJq5rZwoyJSDQlFpmuU55v7W52vJcCWhNum2rZghzFsIVZxwSqZB9sZRFydQLAKaFYcLnONkB9+Sv1wgocs0KZ5E5Lfpi9Xqddl3Yi213YY0zfBwRaaUVBAuzujoGJJyCZkMWQYsojBfR/CAsxRS2owIgp4scmxljw6zVw0k/8qxrMClQrtFBBeah5EXWZ9GmzaYgs9FxsIgnhWJ6CAQhs/mStDpN1k060za9lCulMUxa+jgmRYllYf+UrFUkHZkioeHamhkWEQ+UZHcQeZmcA0FSTA65AFLEgl/dWcnZVBwrdfW1nQIhkdHzf9DV/emxm3UmZ3IoFSpmI9EijNTYa2W3pl0GkI69J8jGBH7jaV1zvAgR6yXyWHxzo16ZmedJL0kYfQQKHpKP/HQOwoSIpLaY4Ya8GVUWWo4UiEY5XjS2SF+C/+tJEsLnObkrMxJgGQvYwlVJlDLRTQbllRlhBPJYwoV6TQSVsIUYnpafjAYi6I/q3AisDTTQoEhRf4qsgKD5s5yiT8ES4PtQOeW0ah8KplmpyU7WzQc/YiMZP4HeFrcIPoVDFJo5ohPMddISgyNCNFsi5S5qfRvDaPiM/EAqWIlk0Gz2VBaLJcv+7pkJYAdEv5oZsmgcP+Rq81QP9wY08A5oev9bgutRk0/U5qGwQwhCK984veCPiwWaMfZtAREneVKRcLggs+nNE22iPmb1+ioG/Oz3TRCFwUiUPTApuKky5wMpDP0cyaMVUJEzMNSIbE5lqZhVEOEPoN80cykpNsjMub3TP0V0Fck2ZEqjZyT8CclNUWUde634Uw0T8yaS7MEDdbJfsHaTC2bA3uqAKIf5o55IOx7BQeG06QayJ1+4lSivhQKqaMeUWdKwY2aSD6Pp4YCXOXCGwDqVG0vR2O4TgedUVewRqnZkemJoSCBGLiWMQf4+Hm5AQFtBPQR78uDLLSfvo4f4r1Agu4qtSUBVqsJ1HpxTfiMvp4SOM+m6OcDbBUeCBK/mfvjHkvDZotYuEU+1epcrTJcSQSwOTNSTITAWJz5KL6Sn35Dma3iQ/8UFasqLDVtZPz5qPnjy9PPsrydDKcDiyLBEb+h+qTWoxrPMcnMRWvLx7IUQxRoGhshGBPiwQshtufjZg5CC3qWlGRo0Se1iswv7+2HIEh2WninvQiLcUxud2dHpiDyjWJ9DuBQcZAiCR2cKrf2dtgc22MaRkIbkIlrWx1Q+bGkW+/VXjKvJwwqx0iXh9YKDpSWcYpLCIwEKHKc/nwhYHbPHnqq3ySH3QTPiamq7ozDIEpSZFBc4/LZCFNQY7apuYjIy/z1USTMgiwW7tysZ7Yf0lFPEjq+8hlol4MiwoeiSibsnwJeVolrla8OHCpn6M66hJDkO/pQOZk0+kFR1RIhPp+murMrp7IoE8dNNj9HIbs7uEPDwxgbHXOmskVmBBIDuKRwMFIMxkHgRMGY4HMbUGICFWbPfL2BYknXYKGhAtQMM0baCQFQChxPPxH1IDLKpIpzZIIqoXS6jSi6XpVtKSUeSGNYhkWIZ5ZxZxUQCwtcK3OtpeUE05hWpvmUD+vFEBah8/7GGjHIhRRuLxhxSMU1gFGbVfLfQ8FzixT4qBcwTn/fqC9Bd8palVLwyAxM9pJ/AqjlRBz1pTnm/tYXamV31EU78WKGdFNi8b1mTfV1NGtOlZB6pZruRiUryVxm7rjQTMdQCHQYvc7OKkz6YkLu7tKhLIDFrKqR89NDweKLUiMoay+wlRtm1xe6rdwYfRSnO7tPFKS/SNW4jk0JZyHYkf9LMaUowAiuvJ9KLqw0FXN/hBKc5chnpKCEFlLuzDWlgGQnAwa3ikxTK6hlVsFwMXPmhXl7WwHq/R46TDnRdyrkLQpFCJwAACAASURBVDqlRvBKGesFYQyIoB6FaVKPBz6TMzjlWDsIzA8Hq4Mmq0cfVS0JeCj28qP8nNaf5XdE093MGjjuulcFKmwRYJqxUC6j288Zol7dXKoVysWEtXuMHvhLWoD1cVSzwfAM8+e5PZqQCNWpUhUJ0uFz4ps46l1qP/oHfRRV4OBF+nQ+vREGfXc7yRRMr5IhoNkxyjAz+nbC+LOokgFqOzva3EqlYkBpwB2DHDCHD3jilItzynIIm13WzVJwxbz0y/EJr9nrgAg+ozFqqOCokyEhX8gjQv67oqbIHQZpT9VHbTP/pFi3rJaSyDejOWkD92WLZeYBoRSKyIsOtKrsShReS4kR57N8YAGFcgm9lqVhDGYxGlL4xFZlzkR+0awLaYBMwTD3SGhHVgcoDw/rHqQsR6UUBdco4ZZkNx+MtplFMVaexp+TZNjL5nHz2hVSX+Zq5TIR9aYcX2kh0WkjgvPK1uBHOXKsvBsXiyGoyrWMs66CTWoQmrQOK2ks9LeK5qiWMXoK4QXW0Vm3FHvAwL5UjkWmovOKZEJJDvPNb1SrWlCG9XEQ0ohOBQ6e1wswNgBPN0dp8OGOqCsD4+eHMPqCc01o+uish6POz/H9ef98uSzNWatVdbgYthPpJ4bEQzUyMiIcju+/tb2Lbi+DsYlJbG9tYu3BfRw+cgSj42N6f2rDne0NJEMJRsf3S6MvL8xLqI8cPaJiUgKnlcoIkspQivRzbcaZYC4U8WDlATY3NnHw0EFMHpwSir65tqEDOL7/oPyzpflbWFtdwSNnzqA8NIzVB/dQKidC7KlI1jfWsbuzjZmjx0QzbpNXlhIhneEAprJMXlRWlsth7vZt86kY/clP8TY1qjZRQalFgoFox8lWBOXOfDiGkiUqEq+yCfBczE9WsHqHFNt4E7CIKMw3Cz5WlEw4R0s8dut0wnJrvpl4SI1GyhhQupL+0QApT1opItFgG3iAEBSPH7BABxz8MIcyZc7GoJbihgfxLpB1UnrZQ+Dzjz7A559/hmPHT+IXv/6tGBV/fvcd3L13D6dPncaLL74o+szX31yS4L36i18Iovjs449w9uwZnHvsJ6r0/uzjDzE3exsv/fznOH32aWxvPsSH77+j4tGZmcN4590/ig37xuu/xOETx/H151/gyy8/x76JfXjtjV8I0/v4gw+wuLQo3vmFp5/Gje+v4YvPPsPwyAhefeNN7Jucxp/e+id8/e03+PVf/RaPX7iAy199iWvXvhMF+cknL8iH/f7aFRw5dhSPX/iJ3keCJU6dGdssk8ld0mT60rrdbA5LBD9p/kqlcmKl4nTuGB1ZdTJ/GVxAubLGGUoWe/WudX3Z62TiyKAcdSVPC5amocZRAjoKJVT1HBz1vdo7RZ1Ruq7IzwpKRRZzJFfmxbuahLagxhJQ6xzqiNgCUU/D4ShOVWcZiyD5GcuhewXMQFrHDhP95j62d3ZkjlMqsbhcObEviai//dbv8fXXX+PYiVP4q7/+O/mAn37yMe7fu4eZmRm88NJLmJ+bw8cffSRQ8l///d+L2Pand/6ImSOH8fyLL6NZq+Evf/ojbt64gedfeAHP/fQ1bGw8xHvv/hFTh6YwMTGB3/3un8VgeP31N3H2/Hl88803+O7yt0K8X371DYyNjeOdt/8FGxvr+Pkrr2BqegbvvP1HfPnll8pK/PXf/A2euPAU3v2Xt/DFl1/i6eeew6uvvYJ7S8v44L33td8/+/nPVX/48UfvYf/kPrz08s/Mv2JqLFobyN0wAiJFpUDuFihU4aizQlkFCmY7o3ZNDq2iLXr6xgQUXBHtRwRtGNHLaMRedaNmDwZL0DTKZxCn2UyqNtE/G4FZRFt2CPbKqYJUF851ME1VXRw8cb/IXjTqjrv7WSnFxXG2EBZd60eRoeiGA1GioqBuVykjpkHIUAhcKhLKFPLbt25hZeW+IqLjJ89ifGIC1d0dmRAGGqTyMmWytLgoNutPLlyQj3b5yhWcPXMGp86cwfbWFu4tL2N5aUlm9uKzz8qcffXll/JbZqance/eXdSbDYyPTeKRR86Ikbq5ybRMHidOnpL78eVnn6JWbyjJPDG5D9evXFFqhgLw5JNPYmrqIL75+hssLi7i2KlTOHf2rHorsASM7zgyNo5Go4aF+ds4+cgpnDl7RpQc/lJQJNjD0ljqXUESJlF9gp+3yVFfX6jli8VECVr3O0Kw3EP2MNXTIo7xWIqEzprzvj2JzNMcYT4dZKUgnMpBx9acbqs0Dm5SbKyiMU+/aDO96VeE39Iajr2IO85ohkhuVMr4tcP0mXzuVYFQYFQdkjbV2OtcEykVRXZe8CCYwn0zmioVkyaJnHU6yQIXCS04I4PPxmKGVrOjz7GYkwEHhY6nXEWcLKln8QQrkOmn7e5iYnxcSdwGaSusFWyxcLSm+zD6VTK70cDI8Iju2WABBZuFlMr6POkfBI1LeQYKdgBYbURhHhkellIgdZgpNVF6Ol1VL/MatCbB9hgaHpESIYWmWt0R6r7/4H7xrWj6rWeYnAO3OkTm+3o2ltRnCiXMXheiPl8rFIuJKn7V6c16JlgXEq+bE4X5h3TbwGK46GwGpmZZZBdSgzA35ggxfR8u6iD9NtiYFAZtiIfiwo1cqBQGDwCXg4ltCg3tOxeUPJ5AzyOM59+tjN+aipkG88jTNaSZYiLJewBoCLexnr2VjmszChVP8aCjHoh1lGsxUiOq3Gs1LchgWE58h6X/NJ1stcR19CJcrrXSR0GbIW/MC1W1ro2GMTE9AkyLZsUMGCjuyFsqh86OKqaLhBScyMiCUh48mQd7pwAxqZApvEyzlZKS0kI68GqgQga6Y4JcP2dgBOovASXrs8vKJlYoF0U0VNk7hapcThIj+VurG8PIDTA3kIw+khk3A+UMV9nLFXrTMIf3FY3xO4IGOhYeO9JrNOM93pb+FBXKvoGRGkiFeiBVEHwpRZhe2GltcIyZGECicJ2BamPBif6ZPY41/43raKklmeRohejFElGmRG0hXrzTiYNuPJg0FmxhPTmsbs7b94irT3Yk+3M5qpvCGtEIzRmmegfnkwc+JPicwY3cD+8rwSNnzqAp/6zBCPFdVew4QKfASsCpUa5ltvyQ2YE0qpI6AOpLtEIZq430qqFwZZQ5yJlPKryMfcK6ZIsmghTmbn4fjnopkYaxOiu7iT+v6uq9EFQFnO4rGVJsERvNFB1x0SEc81f0pxSKVbaS3qqUC7Pdzhe3jLyVoqc+VVSgqGDU2zQOCKFMJMN5Eu1JmyUgSTqu94Ey0Y+ksOFQ6TMpjWTvF6h8aDLrFGgIdFo06ekaLjTr9ggrKOpzop74VF7az8vS/2G5Eo+khebWJS+6wYR/GFU6KePBy8uYy1PFjWcylP4I7IsaXJ+zjWcqR30+KVlhlrwXqK7fJYfLGti1e1ZEqj0V+m6tBtLoOPBJb7ZKxF98zZ65DgElSMi9JE2QjfUDlKDTDejRUZ+9aUJlmorgmWX3mWujkPCmJNjTEHl/sTRqC01gkH70juqpN4DayzhhLjr2RtSm3Ftk7wdK0hWxRR5uAIQN7RFOviWpLfWhaueooHUulBbAQ16ZiyDuyYJ7+ZXTc1SYuteT1068K5oQgPgv/RT6P0LRvd5Ppsq1chyMXJ60ZYNBTGE5UOjFCY68pPfi9bnhcjvUHK3j3QQjh2raSfFR5LrUUI6gsnWz0XO7xkobqwhItp9FflVZEm8aq+dwqEZpm6hF8IbI0W/CCADmA5NbZixHK86Q5LEyXGwS+nZ5LC/M1TPbNH9JOaFfZAlUNZHeq5n3ZCa1guysQFFrxmDLFt3mvF+VP4TMgloqOtlNzdA84x4g2gBjIJKgkdCVJlQLJKNl2Gm0nlEqcvQaRNl4pXasaW2g6wEXUIvS9LC8XMtBiMShjegPqnKpML1eXaOT7LlBfo8CRcEigEgHOipLlBLxZyMYms2wCodplHAlTFgiFxd5tTBjhnB7o9eBQ2Wuh5ujKOhNS+Z4+K0BCb+c+rI0Q/SL0g40JlTWuJfpG6dps46QNG8PoLi2LdYoMIerz5N0SKDZqNO8h3U5tD2wCiRaoKxaG7WbDeOoF8uYv3nDiklLSSlhcWGYIOv6FoWCXej0SZDcjHv/TX2eDiOJY1nDs9RVjgtKJ7jj/Ce1BSSuw9SNmS+d4kiteAFotHyW+vfFppkz08yCRUu1KOxPud8uqKKyWJtqfobPpJbbBHC9tEj5tehD7uVJehJ/noh6I8clreE/r+3uilBIoaIgiePEexKz6/dVwMBN67Wtn2euxB7rpsm6LRYa1O3ZqZV8DeId5Z941BnpJCWuvTZAPR/ErqCLwf6h7Hho7oeV/DtILYiFG77XTTCi5cDwZIq9l6myB447CeQe+LMJulXnyB/1wmGvGhaeiD5bP1JArR6S35+/ecvoxEmlnFhC08yFIc1WOdFRbRp5OYn3qrQTErkga8vIMNkEqq3kMflI3oMqrpU3+AHUFE6PiUVNVbSbHmXiPXkZDnRa7ZL2XXc4QMJpX/Qzv1cIMdClT3x3T1ZnxSC1RGiKi7nwyDEfqDTWwen3LaHs4CefjZEnf0ZKtPotqFks4ZMcxkcnkC/ksLGxKYr0vokJPRNxKDJImbYh+0L35jPk87o2U0/sLTVMpiW1YbutNAxNPKthSA40PpUVkxAbsmJQsyDGFKE5in6dxj8Lkxg9u9RbTDiTN3ZTI7Y90x9diuWbDVCDJPxyWiNgs4BLJpzgZ6+HxdnbVkxaLOQTFTdSy0TC0B1AnkhyZza3drEwN6vw9Nyjj2LITUCzzR4DW8hl8phgWVC5hEI5wdb6BtYermD/9LTI+83ddfHayZWW7+acbvXqdpyJmxnCE7QUmQun2XITiImYs2mMUcEV7MynJKle0dJAPrVgkOoitoQaeljPdYb9gbqHL8V7WHm6d8BzbRokvfCnqLGUpC0WlRP86MMPsbO5joNTR3D+/ONKyXz04Qf6zF/99V/LPHx3+bKe/5GzZzFz/LhpMU8KkwJ05dIlabSfPPWUytq/++473FtaEiJ/7vx5lCpD1kNCvVE9ovNoVcxQnmxnFih4iv6nzoylkPK3ukuT/RAtl/xgWpqOSWzmY1nQ2pJlCSYGy+1k4j3HKwBUfdezyn+2exlD1Gvby7VSKZ8EjTTCbsNxzLHbrdbw9Zff4NI3X2NkdAy//u1vcfjoCeyuP8SNWzdx88YtlEvD+PnLr2Df1LQ2jKmD+duzeOTcWcwcnsbG2l2USjkcOHAQ7cC/Boh1gxXFFASq/OgTRQEMiovA1QEWoqg6Ah8tWmEfymhwJk0YbEwBnwR4vVVjNA+JkRymN4za7ExLPVOYv4ESrcj/0cGujIzK1/rn//yfhEgfPXocj55/Amsb6/j6q69kjn7xy19KqD786CNxvy5evCjNwyCI6Dp/s5T9448/Fv52+pFHcPbcOUvBXLmCp59+Gk89+6ycYf6cuIWoRc6Fkv9J7errQOZDHFp7fBuPIs1Mn0jNYB3b8LUMxi+vpQJd58x5ji4tNglBlOetw2styRkV9pDH3K3vrT9VoVSUT2WTD7zNj2sNnthanb0NvsP83Kw6nrz4s5/hwKHD2Fx9gEtff42bN25jcv9BvPrq65g4cAA7m2tYWlrCxvqmNpiFDK1OHWPjw2qwVa3XJTDaHO9VkKpax7fUOsdD2HCYVQbkKLmZO/PLFGExX8k8pD9/aLqIzmg6rIybIK+1+KFWDA6U8KmBtkN+IxO0Xk+oNmEFpmlomqJEjElaPitTKxQqasuZ6cP63PrmhtgCFBpqnvmlJQng0cMzKBWKaPf6mJqZwvjIiJLLd+bmDddrNnH8xAnrKXHtOyHnFy5cUHUMMb/NzXVrzEv/bCCxnwJTUUE+kNcM7pa+QxhEuV4rcOX3bHiCReaWmnMh5IEulcTG2IuIA1U3nIqCTsA1kyvhNotJq+vztWKpkFh04iGo83uEomqx85p4wLovPsC+yUnZd6ryza0twfqkeoyPTyCpJOoBSd+KD8mqXqv4yCFh/6SxMTm8LARgD1AVjqr5GStdG9rA4ChxIeQU+wKEEIafEw62TJeyAd7HXUR9i3gkE+oPYL0NSPHhe7L0S1HkQHFCCGxU16TsUpWS7cjMDVUqFm3pnYqi1/IXqSoMxtjXk94o14c/r1drqogZShJhfJtbO9IyBQ48yGStG7H6ozpswCqinR2tO30rCtv6+rpoLcwfMpK7d3cJtV1ehwWdPmki+n15HaSePfwhe7G0EkZC5QMDUk3u2llkAe+gx3XlwaOp556LI6e++j70SrRmo0Xb8KcSFuhTsfAhSUqJSFsDrYF4cmWTkUGnRSCtgBJLsvV3NpKwZrOsR6OG63VJjahbdEOU1ZO9jCQ1fYrhKht2MMTXDBl2yrMNodoW/sSTE866h9mD5VVhjqK1okWAXjjqozbIqjQ4w2ECJ6WZb8VV8tpE77wXjAb9cKDKWNmA4LCD3eh2dCKZiwvnlILDZxBOw6hLgk1/zZxljRthlxoeIlacEI1XyiSrUnH6MOQhaaKGU2zU0Dbm1Hh0ZhGY9YKyLstM+zTV7Tl8vyBMho8YkIovZ9o/QmZuoFI7zUIMFEdwLaKiO+Cc6HATUbeFxdZfn8+rfu8ZtrxWK6GFWilh7q9pghD8ZEe5+QDtFmfLWMdhhY4i5rUlQKw8Zg92sgFzPjlBeSivjZOjr1ZCFCBGk11pKT4cT4DULE+Jo71qXub5qaiQiYVRJOhtFaOriurnyHwUJYapI2IxexQww5+C3WlN06gphDT7c0TSWerdhSTQdclhNmt9zIPDFe0Z3XyH8HH9Oh2DUyJ4MP4Ry8/YR94OllF4rfhA1CFvG07B0iZ6kTUDCXYpNmwob7ggO+0VCzJ/ezNs9prYCpQmxEMBFPffuPhq9eN/Do0cBR7hd6WVUE6Xjs9rQoWTN2UtvIqK/isjep5HJtDJUZ9Xc35y1IeSpNOy/JzUZPgrHi6S1rSwuKyI5sDBgzh04IA5tH66BSl403eZpmwOm9tbWLl3V6ErvzM8xr5TlqrhRnGB1X7mR40tQgtECVVKT/bWPDQ7gS4LFeYiC4BkG0jTnpaKCebnHiAajqrBHXvVIipy9VA5tFz0/0wddSfphWmklhISHjlCXzOyOpVcT9t2Gw1IkVXa+4TCb+kkCWSEqkLFneeuPuXe0nIAzwv/MqUOeWAhSM6xLbVv8ma4NrLE2j6FVo7sRCTilYVw5F1YnXfQE5Lu6+1hjIHjMUUr571Wu1b3R4q0+lNVNxZrxaSYEBU1XpRlqBX3Ca0tolpv4oP3P8Ct69dFDHvt9dfVpL7btn5K0UbROidmUEgquHXjumr/C/kinr54EYemD+hkjo2NpgUQDMfl8nn7bL2ARyihwfTC0bo6zV1Zs63wh7QxHqVFf/cUDXefKdiepgn2zONeNGMplRCaaOdo1bzAzu6uUHUi8zr1bp7VVyGGHgl4tVyovZePE/GWh0YEpBmz6iIKJbWrok1PFkdCOPhnQra5Dx7+07lWbpLRljfWVV9RPySDNYupv+S1kNbfwlwOtQ4YQPCj6if8yPhc7If2wZBgy144y4NsCGJsZDiwQcfs99coVEu1fCmXtOo1x2xMbmOx+WAUqq++/Bo3rl/HwUOH8Oabb6otDatiGTWoCke8dA7rsaLEO3dm8dUXn0voHjl9WqzDoaEyTp45jU6zYz4BXzL6RbEYgtdxkiBBQAqoigwGSoXSHJi0nbESohw71HrgV9JYzvLkBtIs0L+juaFzrBPr0SffOj6fOuquBXjdSNMExyk6IUfPT+kd8bQ4BMoAWQmCFyKoeMDzcZpvmLGiVcPsLKEuCITuR3Ss8+S3jWnxd1XLIdMm4TcG89WiuZgANgCnhFCpYZkPl9LAo667MOYXpo1L/PqRKov8pVX1eC2kd0/k/hL0JeeK0d/cje984kNSUCe9YAAotBzopkLwk0002GSeL394akq4SziD0WMzMvV8OCLQbBZRrdfUbCOTsXbJ+w8cSIUkHpD/FacoNI5jK3HSUrMVTISo2I3o7sczYDSmzHuhuxmSdmK87w67EsOe7B0EPu1zlrAOQaOGoVCpI7L3UOfPKZjUEkKt6dwK8iBhzjITQT1Wu0T3PWyMiaepRMexfKv8xQH8bTB3mrIJ3N+Tn+jgcZgyfd7pRfHfgGuCxBi+kdybwOOiRjESzwEsO6FR7xYV3T4uj6kv81VtnB2fj6C2WArspaCen5Wyor/w9LWZNPo9jpclAS8nvowmcLq0xqappk2n3Gr5SP8Q+CYU3Io8iaST1E+/IgA8IdNeM6eoz/siKJryuX8eZslx1xg09h5oNCSUakvoo0dkjiKTP1CulfK2nNdkc5itQDZ8qsgnRmGnHHV/nsCA+Ez0J4P6Es+uoMV7HUjASFPx6RfSdu6Yq11im8g014j+jS2jfFFzIs2niQLdgR6mWiNPqEeyPN4rNVED/HqR8CKVFdrMBcUiSPOvJIyunQN4lpJwIVIEyjUNYNUJAiIUOGWF/qP5sOSoJ+j0sliapaNOSGF4KGFjDb2ULrKnQgXr51mLVrTBjGZj5AiKtenag9FOtmitAJu1XZ1epmvEt2IlRo/4jbmX6rX5o9L6MBXcQLEZBkZ4KM/olBP5FF7cyEcZDJ1TekxU1UTYGE3QPKGb+lfRnN+xLO2vC2WYxjAzW5ubEiqCgKGtwlFXiX67jWvXriKfK+L84xe1abPXrwqbOnbylBEbFdBw+WwMmnH/vQIp5hb6oQ3trLaH0SXZHDI7GJ56kan3/gdpHzGHRgaT5cHGFxPBaeDhzIerI4pMaKZYE9eepkwsGxGwBdM0Kihl+qtISKGABfZRJ/MzYXfitlNfnJdjYa6pcfY5qFabqtBgDRhzeQQD7929qxq36akpbG2s4+7d+xptcWh6Co1aXXkr4hcHpg5ZMKeGEE5WjPJwr3iWCfQTSdxKi+ovqCRqqHtfdKl/1wYxL1iR5wC/iWG1hlzHWN6Ibv2U+jrFeqWEvuCpB5mO16U5Hxx4xPtzw1VcmlSwtDCP//sf/xGHDs3gb//h3wja+OPv/yOW793F62+8gePHj+s+hGCIM8l/8iGdgi2U5LVpZQo8PFOQUmXcP4Svhdo6uUaPqvHAsSz6dRPrh8RST9aKgPcgf46WRwIVGszxwjC3g2za4K1FF2MLloljsjiWjXeLQL6EWflUq3O1fJHN+WuWZFQJe8wnsW7CmVwRV69cxffffYcnHn8cj124oLaAH7z3Hp68cAEv/uxlXPnma7z9hz/gsccfx5u//VdYf/gA77/7LqYOz+Dic8+IaM80ycS+CXOe/YXCceQimDNrydzI74kpOti3YYD2Im3n1FvToAYxxOwa8VJ1Ki2fFSFyKLDw2Qb9EUEq3jA1KnP5dzY9E0mPzEdffG549Kj64ovP8cnHn2D/wUP4V3/39xgZmcAffvef1aHupRdfwvPPv+BV0vSjzFEPgFUtk9QXQGGICZybSAkIsTyfysXP8rkEp/g+qX2Q918VtMN3pqB6wNBlEe5AlZDI4D5dQr6cE/SUyaBWZ5um4OjHeru/G96grkdIQT3emXJjvjCPOU7RolDlinmNEYnTEhrCfKs8Wt0+3vvTn/H91at47vnn8eyLL+LypUv44C9/USEia9qW5udx6ZtvMH34MJ576SUsz8/jw/fex/HTp/HU0z/ByoO7OiUnTp1SN93Izf1A3TqkEMwCsw3WoSVSLgqnPapKUXCXEh3O8LqDrejDekyDtdPSepmQQQ57EOGCSOiEwMBwBnspKH/mtGfiVRT6xfl50ESyBwI71u0/cBDXr13D3bt3cfL4CRw8cAC1eg11TkdgFJa3IUKmFaKqx7joMpPSplbFHW0zI0JMKdU+UcLOk4/z1UEyZgf58hIYH2GruYgiCfgoOlkL96+C7jMQJPG7rAIqq/HcqDcadtqL5lUyvRSDkAroZ3NYuHWLuT+WaOWTbtdgAc0eYZMHb1sjimu3jzu357H28AGOnTiB6aNHsfrggcxbZWwMU1NTunFabJnN4uHKChaXljC+bx+OHDmMrfWH4v8cPnxEuS2jrFg5UhDzhe9E0zH3C6K5vfw4LpBPTRcjlFGeUGdqIfYXMFaF1Rx65xJPdVh4LOaTpTaIbLPo1RdVvpkjyfI1vIxLkAegFodC1B1NJ9tA2s/9S4J/xG/Y9pAsjWFFvFmbycd8HnGuRk2My07Ly//FXy/oOgxuFCWqqZtpEqPpGmqtwCeAVueaRQ40xZs8CNHUWJVRFcTopEYjXmj+qmtBMXytkUocTjnxDvPwwGlvfOQuOWDyJYUKMKggDEK8yoZJWR/1nLUSolAVywWNuzXTYfeICVZiGWqWn9WXERtSDZtHYIpc9NDGz+FvPgxpHcFYZKsg5gb5oDQXUt+ekBXKrtZDMSAyJrBHsYg9kIXrXt4e8/28QobPajN9DScy5Hhv7K4KBBSxRGW0XHIrRfMIKADUND0T1czevYVzaQJSUIopSRQ8RP9RNeunCWO6yFsdlTjWVvQUS3DLD+PcHTZ4Y/qLZsYxMwU8KrxlTYDBDsKRAhIZGGwZAUmaE3RfVKkrtQCiiWRnNCbMDTy1zbeuOqyGkfvJjoNRM+lNRPj8KkjxqFZuidOq1Z5DdSOG/JNubIUvbCRbVDXNPCGF6uZirVRmMSkpqjH9PAo92fRV1XcoVEaALJmHNXQdryFGw8uTXRB+iR7Kc2LCRaT9GMZyYdlV2E7uYCN9lR/xUYNqbPmXH1S3WP7LOv0F6GdjMMhatPtQHcsJ5eiMSDR7opT5Mvp0QauVgCpRtofG25DvmEzvg5l8Qau1mvJ/RNT5WxU9AaA62m3ogFVi22R5s8t6bmkeS8zTwVUdTJZ96K0hryAStZzk+/nsRS+Zs/ygXTdKL7TxywAAIABJREFU/mWCXQOIRDcAEEsglEK0tkJxYCwDYZAANSMPegrhOHjNz4aLsedJuBgpOe+jbsXJorIwoqFgnbyDn1UyP4uFhO1j5N94uCoMw6m0XIhmq4eNzXXRRknDSOcBakay4Ux6QA/3+UB0bnlyOJG8XGYqoY163UyImNXOnIz7BBfdzIHl5tT1xakv8kX4fNHuZ8DvMbNpZpAMRTNnPt+Ylc5FmtqmnoGdZuTUB07jgKgBlO5jDDT+ohDzXcinotkj/YWjafncMoPeCS9MZkRvkWuT9tYQcKuVI5hMzRGVzgzlo40iFSrzmFYPYDlJWSgX1iAvBtShdJVXFUXeTlhbz9JY0c8zDpPBDiYInKBhJpTN2qznJ39Z26PoRRVVPFYOlmp0qiwvJuXnCX4iEHW2ZyT4KcnVlPZoimEnQ/yaTB6ff/QJbt26iZdeeQWnTp0SUyGy6hHyq5w7SSScSwsLuPb99xK+8+fPYWR0WEAqy7vFP1fJj/VRFxtRdYNW8BmhfoTTyi16E7U0cnOhN0VsAtLnoGjnnscoMYGbOtH0U2z0rnyTgWqVADnt/T1FFQLrHeUIJ2iagjM1AnEPLr00VFp65iwJUZr3Mvye5xbyLP+ND66+E9aD1CyFVQVHUUMa5bk/pQKFgcNgSt32bVBLWv2pTVAVXKPmKh4iCyeze8W1DMrwfp/xLpGs9tSbItGwJjp87u/R72J7xlwB87dl/qzsXd38Y6abt2jUDbM59Vj649vvYPb2bTz/4ov4yVNPW82pO3aDiUkWFfJFr16+jE8//VTU1eeefw6V4UTDc06cOq0cn7AZVp9ImG0jY3K6hMr9AFGK6Wz7KYquxEa/8MLSgAtYReSniRsmoE+Vueb0WpzO5l0+3SHlMPVF2o+oMg5WaBpuCqM/zW32IZKiN7t5D98naiWV5nKIgCZPmJOvpVlFJz86rcasAyEVG1xEk04wOj3Uzg2LRHgg6gHURvvvgCXaHStdNyG3Y5f+zMe6RLfomIM9CLeEllJS34tDRH3hgZQG8yIW1f6Z66KJXf2MOeq17cVaLpdThXL4MeG/xEOzkfzcwiK2Njalxk+dfgQz0zOKWQPdFR3XnTyaJw5HZI8kMh8PHTqIJLHZJtPT0+ogIkFyHpE2PA1lTRhi7ITlxpzmyuIGHywpTUOHmOVkDARE09DOeQrCqMLqUekj4ug38hkYFMTcZZ2+gbQIBUDNQ6Kax0FEzW/x6E9R0ADr00h6RsBTVTJBXgmWMTrl2mo+EFmueTU3lYmGObgsX+PakwSoNI+6SFjjXDnCrlFkNVyT6xld9yhFFWVewuXIHIlBCebYKbXimKjRYKw1uEQiGtwNsESkid0fNdzMNK6eyKlC8g292EJ4Yj+DeYv+ZmvZfF4NOgJ+V8itiMkHMir6sxfaWl8TJD86Nmrmy7xTazZLDEnpFGMEcLGp5VROlDPUmJGacnb+oNFpRvnklCvFezlW401Y7SybJgp/LpKiAZgSfOMj0bimTS88EiSLtd1m0YBNtZCwBfPUbIBFjZGFd98yggcKFenE9IPk53knPfVz0GiRrHAaRcqCACz6ynAiukh51m2GJVqZHlBJynKW2t6SUmvPBnECIlk8aykcm09t6S3V7EVn5oBYXIunNBjrd+l4XcAFHiwNUF/UilyRZvTMMCaEDtVAS84w72oc7C6HaMyhcT1nKYYKO+nddKEiTsVm+OEESzL9lRiClspDKJUqmj3CE2HgpcECZqr2+qvLFGQyWvzoFKKkdN8iGi2aT4Lgd42IL6WviElEOy+5D8xJQKlGmxk3Wolcfjay7e7oZrPWfz18vfBh6ITyeahZSYWOk2m1jXvsAGlEx6cieRtoM4tJ6aiTeUBYRJgOmQpM05RKWFyY19TQyf1TePTck9JqN69fV2BycGoKh48e0dSFq99+i2Ipj+deoEswLDrRyv37as949pGzqgfsdqixiJpb2kZWm5pOZD9vnxmQe0AiAjuNhRlOvXHi+H7sbGM9HaINAddTkI/q/SzOUzTr14/IPbIL6j/mAa3d2oYxUATYMlJdfUrs+iLw806tVC4ndgNSe72kx1FaUTjKFTk57KdEtgJfrlWv/4AfrXEUrZYmkldKJVRYguRjL2gq1DWG82+o3kOVeqFj9DwSJVyYy97ChCNqzRnMwYx8VZheY54yxZRDhkR8bzUZmtdSL4ZTKYmryIUsDKMZR0oociNCsyP/6I6wHPWB9ox8Bo0SqVSE4/zzf/onNSc7/+gF/O3f/oPmuPzpnXeUD+UMmNd/8QbuLd/Fh++/h5GxYbzyxmvaJA4kurd8D6ceOYVf/upXRsttNVEpWS9UDn+KLEHwmeT/DPR7D8HfC1l01FOSYHRPTn1Gz/VZhG2Swgg/LW2LwMctUWQzXM946yZzU4gNBl2Za7Zw5zZZCndq5SRJWBQqcM5DdjW3cEetPDSC9Y1tvPenP2HCEXJSQRgJjTi8wE1iQSRLlTiNiT97sLKCAwcPKTXT7dk0LfaU5IJH7ZxOvB0vlTeJqjpgu2XL+Rxqd+1dXLgQwekJwpph6fptzez3mKGKMIUkm6Yzp/NHFTd+HaHObppJ/YjOehSqmGQanV8kVEkiVuh7f/kLFubnsG/yEH76s1dVJcNc6f279zC2bxxPPXMRm+ub+PSjjzA9fUhd7qi5Pnz/fexsb+HY8RO4+OzzuHt3SfJ++tRxpbWsf1dk4e2PWhNzQtM0VgR2oe35MxWuEKnv9oStWZrHsEgxEqKHQ7QzCgvlWlCHzdmhNPfKoXqKigGIzQAyoFlzbcJRD01FBFyZ/8CnvPkZH4Cjvm5ev4X/5x//Ue3+zp49i9WHDzXLeHx8XBvFTrnEbNiCkKVEjJS21tcxNXMY5x9/FK12Q4tw8uRJVZeomibtrWD+B/0HnZgAOFONZo0o1HfUCW8DjR3Ssa4q1HefTZXW3u1vr4EbtZwpKgYciuYGelqFqjcTvTd5i89Kf2qwlZAcc5/hzMVeXVuVv0RFODoyhtGJMWXvq9s7NixybEypmvnZWZm4EydOaJNWV1cFCieVYYyMjWF5eQmZfheHD0+n+U7l5wxUsyDCcRRjYOy17Q5evw5hONceOcYMHzE3fEZQwAkBcnJ/lA915oLWwCNsHbYYgJ5mu3nKLWNA/LKfLViFcnXjjloJReZbQWiYB/YeEH+8gNnbc/jm0jcqiiSleH1tLW0r/fDhQxyamsaxo0cwNzercV7TMzNYefBAdX9s6czJAhxYxNwhN5ORjmy4jLpJu/FzHLAMx1ynwTQPTajmKJt2T/Nzoc2ImwgAZXN7DTx01NsdccEmhBQYNXh0I+viDrpQeZ/cQKdTgYAvKg8CEXVqYPpnQX1RbtBZoMpHti0fqfJ69ZK3VgJyL/ydCB0wmOF1lJP0ICHK7bstTl210MSa8HqTsoHJX74EHiftdT1Ul53wEwPMjp4SA8Q8Rcv894jw5Jca957+XAC5KfYWuKLXFFjXF1oRq/wmIZPUlzkOPKJQFUvlxGa52YDEqFiJ+TPZfBHtNic0bHnFMftI+ihY0FEjzbagMH11dUUz6aih5NxubYtTVcwzIuuoiJNmhIvMAk9xlxhms9LVm84aImxtE6kNrIeUhdgKqUOTpS2tbbKTqpSFAVmDfGkcJ7FpNl+fWfeG1f7TwfYmGymz0p3VwJ8i0uLOUahoAsNRj4GS/Ds3Im3Y4VPbDbrwmj70UKtyxjFHnpTRahFfgyqP1dTDhzdR6NjLvNttaqOClqLJV46ER5LXInPrFk2CJJ1xYUre+Mwo0bYu6hTo7IXA3qhEouA2IAmi4lxpHnhaC6EAUZIlfhtv51MrRG229uM0sSZURev5SaEi+ElVvYfIujMcKG+G1bRU9z5j2QftIMMEagcdpmPE92FKhcOcCfNn1QOSaqXdagAZnlhTrwY9GU9IoKeoGjaMRxRu7+FgxQRG05BQqY+6RUTimzvvyMaW2DVC65nPEAAgU0iCr63tkXdSDlqt+SOBw7gG9HRNgILiqDv4GWF2jBQxDWc9m9jO0q5rCx4bqx6djGwVNVk6ST0VtVP8bf6Ohes8DCYUpoW9z5cn6y1DYB585PMUnXn1jpHujMFrdCaDFOSKOlou+EZaON7Xn8I78sjdsCDPonPLJFu0n+JWexoyWMBLnExa25irlZJyQqkNtDpC0iBz0fyx59X29haSoYo63nJT2XKR4J010yKf3fJhlgD3fkd8JCeliR/UY4Mtw2CoFdPNN5fYgE//ZQQ+o33ERrV4gmNRxUywJLClaQIz9ZElqaqO+cjREdAYAJGn5MYpV+j5Nf57Cn56Gkg9P528RqEKvEqa0Kky/HdWX1MYKHAxX5q5xrRtj4E9wqos+2HDxs3sWOcdD0k1O4Zze/RsnpiOcWyWJjKBU86PEzVcIEX77nmSWvMY26K+hAaXSctR43h5HCNnlov5wCvNqRZZzybdy6Q6I9VKxczR7/c8Qc2yPI5EQQaLs2zOvzFfKw9VhKiHLY18nCRVRLYclpbv4Zuvvsb0kcN47IknsbryQDjMzGE64k9icX4W165eVROJRx97Uibu6tVvVUj6yLkzaLfqRpfRcCMOVDTzQBU+2OTfGp6a92GbbViKfBe2dnbajbrhuRlMk6tpTiwE0zsDqoiDEZ9Xrng7yeC3W3DVF4wgH8Pb58ivcAGnox5CxX/XuFuniCj36bV44esQxZf5ddaGKUMmww3OjL5SOjAuIGo9IETd3l24WdoA1rQun9kGg9vAR0XOFE51amHj3jYaDZpaN31esWM1hnZ9dUfOthgnI58jt5zmteSzhKqARsPlke3bAE/VzTgYHPAPcS5TAtZELU+hzeawPD9rDTqoqUjmiiFGUSmTpke6fXz11Tf49ptLePSxx9Qe6Osvv8QnH3+MR0kf/uUv8dmnn6pHE+cC//o3f6Po8L/8l3/CY088gZ++/FPcW16UZjp67FgKmgo/GpgEOgi6StNqyLYNKZQGpF+hPp3W3F+9rIxDnIbaRh3hl2NYgGFSUVYfGolCJDPizqp8FNdKaVHGAM2GuT/6VQGFcNOiCMJ8H6ubk28X13UTymekBhvMJYarkQo2NYFMpzE9DFuzTna8PuEaNuVnDzCWvLFfGDleTNBzEoRSX72uzerJZFFjY5CtDXX4m5zcr+iVOCMjU2r/VnsXw0MEhItYXLiHZqONyf2TqNV3wEswqs+CgZT9UvlYoMnqlOzj+Prkz7Efe0F91NWekQ06CqS+NOvWr5u9oVyTmElhBFXG5UuXcePmDTz19NM4fPgwLl36Bt9e+lYNuZ597jk8ePAA17//HidOHMfFi8/g3t17eP/99/Tzx594HCsrd4WVnDl3zkbk0pTExIYocCRj0bPpsfkxsUqfj7SKC2NgNiGcpv69h7rTWILvLlPrVblClgcKSVNQz308UXOi7bRnDWyywqY2jdCJsTILMnOWK/V5wi6YMuYDHVik5dwcM0tBwRMn3OcXRnW4qCpcAy/WoFBRGK5cuaL7P/bYY5iensHnX3ytNT5z9iwOTh3CN19+gfWHq3jmuedx7PhxXP72Ei5fvqyiFNYNCO7o9TAyPIr1jTXU6zuYOTyDfL6Cd//wF2ysbeGV13+OTr+JcimL4yeOSPvISkTg5JaL68xIkT4h95KgMGETOuq3r31Xz2yu3FZ7RjV1GGieKlvvCchCoYyHK2tY31gVmLlv3z7Ud3exsbkpW8yTwiw/2w+Wi0XBDsR0CDVwcSj1dDx5ydGxMalh4xcF6ms+haZoqZzKcmBiRUa+a6BhSPSkCh6T5QCd/uJ9EsRu8MGLbCIfvT9NAZrPk/pNTsURkc7vm9YkepLVpmTVZHqigb6iSOd4pT6Oe7OBcgd9xzIF3n/CzaqYFimDIUafeGDibFfe6+7SEr766itlK46dPInHHn0cn3zymUaSsAUBq8X/9PbbapzG4UQUtNk7d3Dl20sacsRWBQRpiznmP9u4deuWWio99vgFTExM4a1//oMGer7+q1+g3a4pT3v67ElVldv0LIsEA9yPw9zjYG4F6T1rHZnJYe7G9/XM5sPbtZGh4YSqN2iwCvMNxvWyKWtvbNwq87NU8+Y1aXTwhDk5QCYHmKeXDdtlx9lKiAvYkZMe+cFYVPkb3myLFSCWxjGekRu41PwpFPah3EYwsxA3zFn02IoIJWg1cZ2IXiLVYWi+ofbSXr7Rhj5buMPPCFH30SH8DJuaiVXpPljQXYJxIczKA5KUPxZsCL+nB1cRUlkVkJfIBX5VGRnBxtoaFhYWUk17+MgxbG3tYGFxEdOHDuHo0aN6Pv5mhFpOytg3PiHNtraxISXA5w04ggArfaMnn3wKo6P7cfXyNXRaXUxNT2FjaxWVSgFHjs2oiUir2TB/yoOZGEKpFA+dCmGMBMgr+vs8ZyhzNNvQSCVRFXHM5uMpVim6jU0lP4dCpfIkZegN6h/sYUSzwNNM7UL8xboWR59yIvXmCTH10aKz6EMJrcm7OeLW59wLOt2MpNpME7ZsTEnwh7ShnY6DkYHTGGhJ8yOarReSqke7l7lHq6KUNhvTKGIuTXDDByp5mJYKoeL1uUma+q66Nx8T7CxVAbV+SPjZYFSKARDMDkelA9YI7pIOwUCtnrr2OaU5WLCEXlgz0Oq2pb2Gh4bUII3OOteH+0CBp1ZlRbcKS1xL7fmwHXXzyxcq6LRpknKK/pudGjJ5YojWQE4BiLsnkVJTpCrLwQS18fKt8CGPRSt7n6sllSRRvyOH4VM01TFgtmdcebiqm1LVMg3DapnVlRVM7t8v9JzgKWsB6USef/Rx7Oxs4u7yskwhh+YUGLmpV7elUtTDKiY9uI/047Y3P3DcPT8VSLBhVM4VMvQkxVMUFTpEIJM+yGDkvVwD/TiRHI60mqdG/wDXYpqhLN+hlLYxlA86MI3CXAY7uXFtCZj7Z9KGHqGa02uo9qBgSTc6N0qHIJ1kttdjq09zwaGdQvPtOtL+rlFCQKU93c+MDAAjeTUN7tZJHEY2lyCTYV8MRr1kkpDiwm6DAn1SGM1hRdOqyqFGSqwvbhiFKlsoY4ETH1ihzPaMHMVFzUOH00A7M4B80N1qHR9+9Ils+Nlz5/HMs8/g6y++ELPzmWef1Wy6uTt3NKiQAvbUUxdx/eZ1jSs7d/Y8zpw/axPM+31MHjigRRSQ6Jl+RRZOuUgXZyAPNbhBOiFRouTmKjSXmS8GiN6Vb2CR5bD7xNJIEls6zbRK5MuMirPHMYoiC/pTKnxwPhX/XeCnJ2p1nT1CgUXS3lOL76aqG9/4OLRM3jN7Ef8ueMGLQgiZ6KhEGscbaLA+k3gp2xAEzkWNJLjA6dny3QYGastG0O/xghS6Od0OhaqNfL6Mfr+ApuoRRQlkD2jvR8+SLOZirfZQLFYNj7SqJeN39dGo11AolOTuzN2SplpQf6pmo2b1cgK53Ayp/i+H3VoTH330qYojz507h6efuYhr332HS5cuaVzqTy5exP3lZVy9dAmPPnFBjuK1q5dVSHn02HHsP3gAm9vrqBSLOPvoY9pIPkiK4biZUeFDaBjXRIM+Dl9G+THnzhvia8ClTrxvirrQeFgetXxxmnnPoIBImB2EDUJi+FCi1bi/xA1hedZgQlnRHw+hJ5Xl2/n9QzNKkzh1RsITaSX/d/mUAyXu0sxR5PqjBrsUNrFKOYBKjq1z4gfMaESx/OngOtEF4NqSSMjnFWQkn5XmmIrDhkFaB2Mi8XYlypDK35QJ8SxL2sLTSIMUuGij3c/n2WyYrYTmVaJFn8oxeT8BLpEAmj3g4YNVPFi+h4n97JUwjbWHD7G+uqq83r4DB3TTpYVFHD5yXA4f5wNXya0aquhFVtdXUSrkjE7cbKqIQJrD5+8FQSyc13CaBzlO/LMEzxOloeblO/2YCjuQdomWj1ZQ6lMXwjkfLK/y1bQcmhd+uPmkpmLGIFIzATvIv4hugK4NZQJjZ/xwpAGDkwCVFfBf8VlBHm4dpKWcjqNDkjaKJY+rrKatvEKzVlWBbUSksSZaIz0PJ4oatz76lRKioCaljxzwhVJfEZiIubE3NYIYGzUtDwFrOE1o9wIbtYxka6no+Snws1xWhbJC8x+YBE6/Ij7ELrw2oDCIcXxpJpEVBVAgvQyJ+AXXM21dqMXh7Lmq/p3C06rVjCWQy0nA5MySORgoebrc/oeBXkx0isNExsjaSOoGExXqRbpn0uRXeHJZPt0Acq7Iz0JCL75w7eH9FNh9mAIRU7QCl5IZdLiDCy7z59FwAJsRUQasIJ/LgdsQKvl/Az5eCHQ49WI6OIVYPC71Tchge2tX6yfMLFoxOYc9TVmlvSX6SjOyazTXjpPZSy4csecR7RouWXCcrmc9MJiTVKGsdXk2sNenZbjJZxUVWwktz92sZ3Y3FmpldidmibOPMFIi0lMCyiNlCPKVkGdtF6XUE6uZfMWIc516moPSYniHNmu/mLFWQm2+UCdNhbjetfl6g1TWaJvjpo2fs4Sxz/Jz/ys0WER6ab7Se4Lb3L4oQXJTFo5yWkrlo0QGNEuY1ABIdX+Ou+UQyRp9B2vQIbqLN8aQ6fBfP0jKe+EFD1D0LA8oI4T4B+dngMOlK4aPFCA0haqUYGdrE2+/9bYE7OVXXlHkxwJfLZmGLXnayaGffFLBg3t38c1XXynQYlOVskeDASjruz7cku24eZBu37mD+3fv4vixY5g5csQayEp7Bg/ezCo/yxItFj6IpUChEqLeqHty00ZwWQm1OWd0CttNMgg7NLIYGxlRlzw2m2evhMOHZ9Cs7mJ+bkFEM6LoTAswDE+SCkZGhsUQIL04S6YDUyhdu0cKYPrcPC2+b3qYqiD1B5MgSuxjQ9JKEi/qVHLcMSL5A6wMpgbV+1g6JTSUnE43NfKn3JcJNDz6YQWfSu0ZB6ZoKQ8XFTyeGDbzbA3BBA/Q9WWWwrVhsC6NYeBZf9esRnFxIXUfK5gKxroA5uYW8Ie3/igr8qvf/Abnz5+XxmcCOyZlBVyicvxiGdeufIuvPv9cwvHCT3+KEpH6ajXFFzW+V3tuPaj4vH95/33M3b6NF196CU9cuCDtr/mPekYrjuHnGPmTVk0BvfHdNcOpSpVSokqTGKvmKYJwcludPuZn57G0SKEZxdMXn8Htmzfx1ltvYXrmsFDdjbWH+PzTz3D+scdw/tFH5cjfuXULR48fx9nz54xg12mL4C/2Ic2niGw0l9bgnehtDFEMHg8/J0GIZl9e2Bg92H9g1gY2KfopRZZAvCKmPwK+iEhtwOxFbaBMJIUhagu7XVSrNeX+2F5bbAQf4atmbzq5e91/FX2FG+EComAiCnWjCnqgjU+YQW2Ym8PwK808MuJiS+02Vtc2sTC/rMTxmTNnMDU9rcCEaxekQWUUWIBSTrTxc3duK0InHMRWUOwFwenycXDDw1MDM9dUV65exfzsHE4/chqPnDsnQbSCjGj+a9w74nfC7LI5G3i0wTTNUDnhxUSCHyidiiRutVrHF59/hSvffoujx4/hl2++icXFJbzz9h+EU/3s5VfV7eTrLz7D6bNncfLUKQkVIQg2STt24jiyWTanyCkvJUS8n9UUiOiVbr5ZJ83vpWkBmSxf1BhyFAULbpoij2fZfz/50T1dmsiqdJSEZlpl0IeJDXR0XprDgVdL6tLn4WTSLctxsZm+SHMEFy3vZ3bHPis4Js3xWYr6xyVlZNOGuY5JD+GYpxkCN/tkqSptFRw29jwoUlC6qNdr1nfU/b94Dit3syQ8XZndXRvCzWHbFFrumfymtH21ZzE8hx9pLUPpOTiTbNeyPh++sqAW90X57iyI6fT61pyfCeUSc3/CLlhQag0lhEE454gfnptd1BStQ1NTePyJJzWrhX8fHhkVbMBTeOXyJTmBp09zlH0X1VpdESKpxKUy0dscJsb3oVrdVc6ID2tpcEvc8RpEefn0GuOWlkwZb2hQc/DPMnPsOOPVy6LQKMUUXelsv7nxRKWj5CvydWE+U7BwoAPwHkvAYJatrW1nKZhAMYOQdqJxGohwJ0Wz1MIGAdDMi0qd5lKdOam+ToznBzvsWOtJIV7U7P4+0WuVnCVpLbZE7FrQ02Zk1mzZNIl0MoSPEAkcjGOGVchqoLDldK3Tjv6duF46K9vaLKlkTk1SBPxpWjxBU5lTFalY9KfzhD7yEqoM5m5ft1ZCNH+quvDeTynNJPpJeum9fCBNEXCekE6qdf1l6mBnl1ycPsZGR2zGMQyP0uKUcmj3WC/Y1yRLkyWDLTTfhaPt+QzNNgpOn418oFpIx7BwOvIRMUm7KANlOTimjjhzhqgxizfTYd1myug3UHq5GdENTxnOCO9FKrWqHIMFjH1jmorUFyaU+c528DQF1JFxFXsKbAW6Qpz9l4pOvUOhaM4dFV1aRGoJbHakoXPcarWVmBdVmYW3pFKr+pgHp6TGIp1mA/eX76HZ7GD/1JQc71bbIBoRJotm5gPmUANep9OoZpAMka4NOrKgYo8WJGDZ87C24v4eYX69jZCESQzdrKqu5WcVSnLUTag2FmsFFZPW0ggraCc0QcInHCCU9hLpy3qY03SxspnDqNlAlSqw3ajZoG5pD+9aUsiiV8ii0WVn4a5Pr7K6uyKbSBRK2vS17TWs3X2AJF/AgckDGgDAwUlMHPAVZbaosfxUmunpo+9syS4zjCyUkJBboYEWQAOuC/IH2h3L00WYb5bLRDbAR1I+qI3ov9jU9IyGNIn5mpSQlMnqNFNtFcocv+vdVOgDkswZRRReIc3eU4Hat3zuIMvVKETssEcmKDepmJQFtHKjSpXEEukUTBZ1dPvYvHsf87dmNYFrcnoKR0+dRCEpot5oqn9YgcwCFvu2GiiRmsOOPXV2hu6iXBlSSbyNNo6hAMb/0kiVvAcWwqT2RvNZRGzay/CvaAduFG4noySCAAAUaUlEQVTmF4WTFYq4wylajP44RJJOnw0iNJIYN3nwNFtqYa+doGWrrdSpLUEpyu7KhAaIqJA+i2ptF/VuA8lwotOtiQHUKiTmi2+eQbPdxOzCLO7OzqOSL+D4sZNqSsv5KijYeHs73eYEUzgbtV2VBpGopjKhQlkd5FJqjTejNZNOajL9RucqRbWM+z/Wr4elUAb8RT/OjgpibePr9SrKSQmlonU70fBqUocVATo3T2osvEAm0jkPPSssTzEGJ7ALM2OyvgMN4dzYwNrqmvhmdC94mAUu5jOib5Oy0tytoUli3vIKVu8/RLPXw/jB/dh38CDGJsZRHqmgS+H3Ubjggei2NOmMPTAYhXM92UiD+VlWSSuat+Jlq2L2Q2va33npvu+meZ3v7rk/OuYUMhIEBa8UijZGZHdjvlYqFi2hHHYyWH6DrRJDmxsz2n1Cb/rANocoWPc9NdcwpHd9Yx21ehM1jjVr7qAyUsHo8Kj8JjrrTDKPDY+itlPDw3XytTZQ29xEMZPF2Ni4Oh+PT04gnySoNus6idIa1arGwWm8G2fRDdlCTU0dtmYXFDyF6Cz3sNSDFZha8USQhOX/hFDJ97J5xPSDDHawMbAUZEIkrVYT+Tz7QZCPRXqzAYGOCxgzQTbTVBU1Jk05TZswJ6Y0mtYVmJQS0lnoMtD8EfWu73L02xAmJ/fJ7D3c2EA/28e+0TE0tqqoPVxDrsXS/S7afFZxwvIYmRjB0PgIGt0Omp2utGkxS+1qpfrUOlwfmt5CMY+ZY8cwPMomdlbRQ81sDdhIKd/r62VpIR8OHjUAYtbGQAG6LGZFVAVE2vkcK5Q32EmP8/6sE0s4toTx5ae4oKXIq+M60RRDziqbtKsGrK8ppq1WQ5gUSWOcEqEwvEBMo4FivoixoWFhJDyhFDB2vmOnOmqtEsus1CeKyBYwMjmObj4LdsMsV6jpOF62ZlRbJburYGflfZP7MT11TBtGh5bQB01JVgMCOJixoesW2CDfUzTRMtH8Io8ZVE4bXVJMAKn4Sc+lNo1iVDnqjMx85vQgBiVfwyNVFhz0Wi29L4Vs4+FD/ZelWtROrItMhoYwOjYirV+r1THsQQCFamV1BUVWMnFTdxsodKxmoDg8jG32F2WJViVBtpTj/HcMT/AwjsjUi8dWyKvpHIV2fW1DGnb/oUMaHF5vNRRoUQg5pniIfT1ZFaTAIoNeywc2hIsgAfO2VsLhrJOe+lvQlPezWJ7naDYOkWR7Ro6RdQ1kRHwTzaCfDKLGMoW+8PzOzvoOdjfYkL8nZ5Yby4YfuzQXpbJekpvZVre+DBJGfZ2uagIpTKRONKt1tXlUuK3kbAaZchHJ+Kj+m6+UxGLkz4mN0IxSSHg/sgeaLODMFDA+Mi6AlSaIPs/EwQMYm5iwaijSyJzPLuQ/gEdJVHDbzfwJ6hh4fz6n1f05lED/RSXp5jcaTBURk6HtfJ/N1XU8fLCCZr0lv67baqK6tavqZfLHGbmquUWxIN9MTIAGQcwcGr0uduo1VSRnG200N3ewef8h2u0uCpVhNJp1kMQ3OjmByugImDnMloqojAyBU9FoCQQ5sA8YeoIHttY3NeEsGRnC6OiYzDfNYKvfxcGZKUxM7sfQyLDqM8lBU2Qcyf3gb3jvMM7N5uNSu+VLBdCnnb9Jn2p9TtQXUlHSJO5A15cA8czj93Ipp9BSXbJ49M7NWdQ2qpgc36cFYiff9fU1FMtFHD1yVCex0WBkSIaBgXs8eZ02ed5FDU7aeLCClXv3FQFRV9C/GDu0H+PTh5AdStBoNVAu2DwZVRh7uxwmODlmduXBCrbWt/HIyTM6udu1HWzubCEZG8WxU6dEuSkxYGCBhxz8KGwLRNsy/1EmFg3MeEB4utm9ZWd3C6VSQQQ9htcMx+Xwu1OulJTCIrqBBdS2d3D7+g0sLS7p7xPjYzKbaw/XcP8BBxlM4tDBgxohTB9KjjbXuWWOcp01lFlgKKmgvbWD6oN1LN2eRaPVQaaUoF1v4NDhQzhweBpDE+NodFqot9uoDFdUj0nfj1E5d41am/4V12lhcQFD5QoeOXlKAPT61hY2drcxOXUAR04cw/jkfmk38c4iheWUbQU/TpHiw9E1UEU2o/1czqZokaTH7sSMOFKhcnWXJg69GiVFigf6D2xtbmBpbhHV9V0M/39NnblvZGkVxe+rvcqu8trL9EC3BBIJUQdICJBaIkQIaRIIR+IfmJyQCNCE/AEEEExrECICiRTIECRILBq6aXVP46Vtl6tcm6tc6HfO/coeaba2Xa5673t3Offcczo9nfDR6DKG45Ge5MP9feXb2XrulfOqJl4Pwl/n5xe6wSC14/NhHL95GxTGYpW2mrH/3v3Yun8Qs/qN+Ff3tneig12FNmLZN2TNfKkDTG1Su47Y3dqNeqcVq9o6RrNptPq9ePj4i9Hf3bHEM+9B9BKr9TkS27PGqLYPlxcZDJry8Ciisj/X5GtesdKhyr29zSxPI4B1QHohuqOt/vo/L6SSw42iS7thvIGf82IpHrjkpIlUdJzzRdTXlbq24Xgcw9FQXS+vV13N4/LoJGazRdQ7vZhN53Fwfz+2dgeBBej8ZqUHmNHZmri1tmo0KY3oTqSl4SBNbq3r0RcHqhXLGjBILXYfHsbO4YE6SA3IxTDNTeUsh8r2j9fiDLdIXoDuuqri5b+QZ2SbptPsgnOU9jrrfHdAxW0hUeMSuXQzUJSr1WJ2NY35eCbLNeZAMk+6ibgYXsRqvvCT06hivmRToyPNdb7v/N2ZJue0vrVlxPX4Kiqp5qZxe7cVrcGWLli93YwHe4eKVhxaqBZceJB8aCnAEu/fexjXk3lUrWYMDvdpL/X0t7a6GpZC72nmYiTvvwij+aPlcqaQwQ2XecN/B07gxpDGSRmAgKVuUnooqsSy8q1HiyJePH46t7EeGnCk4+P/Seis0+vE6cmpbjT11PZ2P6aTqQ5wv9eL2rrSYgmHiovZJMKTTViZv15Fq70l+jcga9VpxJIAt1rGVn8Qe4cHsvUdT8d6KHrdnmrBd+cXooLTYe61elFxqPvb0Rtsq6Yida7ryBPkdAWoRoRAi8p6adbLpBLdTfRQtsewJdYRr+j+RqcvRCdG54AwplpKNvPuaspsTYX6nYtXCP42LQR1tngZyDVF8Xw619rWaDT0wVtMlRbYvGGSzho5hSR1Ei3p9Pwy1rNFrFD0Q7lXRPp1DAb96G5vxzUfFDyoURdEwes77DbU0pMivvDokQ4PBSRTc2orVvBlCFS6Fvlnun/Vn6uusqCXoAQtb1g8TIAmkAYmkucXMVvMN/oPcJO8reuhqtaWcmHT2zqtzfDVm8u2nCUFLWYsg6zj+O1bdciKuJovXim17vZ70dCyxVhf6/Uw6L7UQwhkwwPYDKJkQxKP3Z1+7N070PWazOfRZPzVqsVkPo13Z2e6TozL1LE2GnHvwYM43D/YgMzW/fRcURlPmvZli7toj1r+3JLgaXNHoZKQg5wv1o14g+oLdresaCHOb8AwyXk5UBVgV4yI8iIWpNvkd0AyWmsX99JPgC48ncXVBD+aZYyGwxhfjWJ3Z6D6AStZ6S1UlYpCgMXhyVlcHJ3E6cmxXuvJl74ch/t7MrfuUJPNZ0ErgVU97+ni7DyGl5cx2NuVgzwFPFsk0p4ETU/RC0MCBPzUX09DcQ7ZhthXdBOy+ZBuSiIF5bPyGehohcekxoEK7ORbFVKc+GapoVBAdW0hpZczNSVbwYxarqUjOtXWC50wN2b/8CC6rYbmbKR2uajjGAGMcnUVJyfHMTo5i4pUv7sfh4/ei63BdnR73aizJAE+dUOv7MMwmfAzpyrY2RYnIsllQpG7CNdmdFa3f8cFIwfjMva8Q8sRDUkWIjmWAlyGpLeuxSsWHyaXryf1RqM7n471y7Tvlk5NhbtdUOkNXSRdzWV3oaGu0B7fCM3oCo62liIJf80Xk00tIr3MZB7yQ3DKyctHn7+Jl/99KRNvxGofPHygjhLEXhoFmFQLcLSrhLg9AI/SwwSIcxcGym93deuCi/qb0UCG4jkG8gq3h8FlBGnbEmsHyKZEdnSV5n4FHiHiCGfjUKVJlK7RXV5VMjxLdNeqWjItILPxrRwi4Cs6WKUW4IFOK1pNz9sK6k+U4/WBSmhKXv7z3xGLKg7u3Y/3nzyOZret7MBfzFe5vqR6wGXeY9FeVzGtcRUZwQxaImphiYgQqDrS76VsOZUu2FWBZ5dyqOdQXXu8h5MYIrmf/ePvXntvtNlQtsTOZvMjOdd64UTPi21YAQylFwAyjGWF/hDhiTtanOzYp8QQfTF7f1ZgM5+7FIF+/ZogiHdnpxp57Ag/6QrmoEg3Lz0NFSERgjGmAwQEQ+FWJfcj5k+kSmikiL4SccufcwGtQ1CAXKuuENHKZKEsE/D0wjcjohaxMy0+6FDl6yRDoqRTo+23FF3P8DwUXyYupv/PAlbWZijcra6jDuiaaUXNUdmc1pjsJo4/P47J5Uwur/3+1mYnbzNCAT5JerUklIANkkyn91e8FBPhVyzIJdoys7zLhi1BRbFDCADlgTtwPoOxQTResRH5zDVVu9ftSguzCGGVuH2HvGbkmMGsv6gnMKV8mLdpOKxUWBRYin54GUyK5Oo6LbEiH84U6ZK+pWVbOFTMvkodp8gikTJ4VzANvYqtKJT7g3o/SeUo7MqSnguNplBgN0sNpPtCXdnMAH2By+u7sgpjYbkBVA7WXWqyzkYyO0QfygNdOFSls+a9LwukoSLYdRm/hPafJqcCmEoGrSjLYnEUKUbGVQyWITneOlqoTpT++lr4kiDc7G6tyX7ren+byrxq5cWGW2nxwg0rh08SAHjpYMGWAUbPIhvKKUWkDeWi+jK5eD1ptptdK885zN79W09r2YPT2naRknFnIARW7aatxmoNYxdusdMFU25Xpk5wsxiZ8DU5RCUOpE4pjXgoQAuthQ8sqopwKZ64hdKSxbxMZ9Xyqm5K1oSZ1gp+JPggb4wwFjEYrQEgizR1NownTBNGyLV41BCNtaY2Gmmbhv9msF4KdW6ADm/Z78s0ZrUWS3s7Ertuoe3mGpZzooORHn/+zFCugTbSRYsbKvsR/15tIMlS2MN0r0+xnJsta7IalKYaOMgavAQG4SLJUDyNEHJB8XZXsZAIcxqgmpMAoA1wouhScJAVazgrgMSe48pxvgJRfzGtlrOTaa1WdRDoMKXFU+hiWWYF29ycUIh35HG2M9fILgtFxMwYjiNHytlU3Hyrw5VtVztbpXWIJt+WYzbDMwtHaW+6eFQjkEIRG1pJumjpIZCpUKbh7Og2vyM3P8ygTHpLHqSSMuzC5d9jtwjrRrnwNsYjkp6MuD0Y5jBznUpxq2G83sPtbqIZm+nbvFkepTbk5mTn6fmE05/Ezsyz8miMr7mOKfJEOpjEItgg6u/zIaZWQ9yMiEW0q+yFo8yQD7m2u/T9/l1leGz2qhdEdD03YrP5HsoU5Q6GuSnWmcEyJWl14vjN61k1Hb+ZtLvb3fnVueB/ocJaRPR2CE+G13fsRVN4OBT1RBZO80I/B3mtitXCdmLFEbRs2TJ/YySuMQxFsNp4ilEgibyA5YaUtp6vq5vz8oPmURS4CNBmjcLPms9jRqalh1Zq8xkeW73FK0wUvyD2vG9bzxUNdT8k+tyAs/CtoP2oCTHzVH59VxNtr4ANQX0RDyoLXbEvU6BVkatuSowVnu266vqN6GFinpZAMWGiJuGwclho12tFZjGVBTM9ch5Ex9EOQTvWRCHoQ0QWbtMyj2AjYlW3rpT0HjSgpL6FfcHBt1CbVrdyhupo1jTHK++/QOE7n8kRyy5pNFOUOos5+wDX0Rvsx/KmEX/9yx8vqz/8/pd//taz73612Yj+8nrMGY9VSjXK9kJFmVOaVOskPU1R3IqKN7iEFUjnkdjMxoDRvHNFhvSCsfA9B847ZVAz7H8HqW4VFNzW9nTI5zV9UXyo5FcjzW8OexZ+ScfhNbUBwyBaBx3dSkdAUF8wGlKnur9Mp/aAySiRUXJjLQf5jFSrLqwmPjeFOh1YDQwqKT5eZyI9l5ryNkq7UOcsk/5xmyDi8N6NpVnEba7PstFbSCGTJHsoqPCPsl5veQIfANlAcljSyJFUJ8lwHu5qKbU8fZ/OlDnrXg417dmdcNrjJpip+yxzycxWUkZ2s6ADL7XxzDK5Vd5ogAnuxdHRq+HPfvLjP1UffPC1Zx999KPvPH367HvdbvWViEXNsnukNf7tjVXsMbgBtYqxtNMkmp8u9HgK0w2TrkAhO/k5SVJzISgTkGRD8MZt/OiZG1ffqH7UDAVYc07HXI5NnveBOZlyax1vDiFEM8sQpQiAD7NXMxnMRKyZbeauGnRcZQw6RL7GIbeuZgUlUHVECrCqQVnH9VWqvrR5mGwRp7pL9aRdz9Ee4DWNUuQ1SAeZ9dpkP18bPh/fbyKhFZWNo7GKrm0jZagyOuK6OMLLD0j/Jl35YOl19DYNRqre4XX0wPlzuqYi0tyqA5JdstpMtmvpB0qBcVtTSTP0xnCMyhvpMbA2T3rtxNnZ8N1vPv3Vb3/68ce/0Kf89jeePv7Bhx9+/9k3v/7Ddrf9RAVjhm3RGuSVt5TPDDQJTrtZDUQhgExrT4Gml6PAE2NpaR+PjQQ1c74rFkurGOzuGVPSBm3LimzUYYoqNuOhJqCuIuU4XZW0WRN+hTQRGqQ8sXIOzUaA1KMUJ41Rk/MAR3XtRZPGdnYVW1uoAd/oPXXbXQ1hxfZM4yBehx8aXVKoT6WsQkRkkI3QF086zEdRhhtNYU6cnS4zNd1cU0TgYknOcU154TqrCKJ7f9DIPLmRyEhTwD3Aw4YmwrgbFG3o0ETkQnkG3V4qihS9VDaQeRB73baoNPzsoD/Qw6wONuEOeQjxfuTRaKanGxrmfS6DnJpRz7mx44co5dwrBwDGTUdHby8/ef7p754///XP374d/u3/O9Am/GhLO4oAAAAASUVORK5CYII="},29831:function(an,_e,t){an.exports=t.p+"static/touge_code.728ce351.jpg"},75694:function(an,_e,t){an.exports=t.p+"static/touge_code6.e67b4cee.jpg"},16722:function(an,_e,t){t.d(_e,{Z:function(){return Z}});const e=K=>typeof K=="object"&&K!=null&&K.nodeType===1,d=(K,r)=>(!r||K!=="hidden")&&K!=="visible"&&K!=="clip",i=(K,r)=>{if(K.clientHeight{const P=(pe=>{if(!pe.ownerDocument||!pe.ownerDocument.defaultView)return null;try{return pe.ownerDocument.defaultView.frameElement}catch(it){return null}})(M);return!!P&&(P.clientHeightper||pe>K&&it=r&&Fe>=_?pe-K-M:it>r&&Fe<_||pe_?it-r+P:0,x=K=>{const r=K.parentElement;return r==null?K.getRootNode().host||null:r},D=(K,r)=>{var _,M,P,pe;if(typeof document=="undefined")return[];const{scrollMode:it,block:Fe,inline:Pe,boundary:Ye,skipOverflowHiddenElements:b}=r,Ce=typeof Ye=="function"?Ye:tt=>tt!==Ye;if(!e(K))throw new TypeError("Invalid target");const s=document.scrollingElement||document.documentElement,p=[];let ae=K;for(;e(ae)&&Ce(ae);){if(ae=x(ae),ae===s){p.push(ae);break}ae!=null&&ae===document.body&&i(ae)&&!i(document.documentElement)||ae!=null&&i(ae,b)&&p.push(ae)}const le=(M=(_=window.visualViewport)==null?void 0:_.width)!=null?M:innerWidth,y=(pe=(P=window.visualViewport)==null?void 0:P.height)!=null?pe:innerHeight,{scrollX:He,scrollY:Oe}=window,{height:ne,width:Re,top:de,right:H,bottom:n,left:ce}=K.getBoundingClientRect(),{top:T,right:ze,bottom:xe,left:We}=(tt=>{const J=window.getComputedStyle(tt);return{top:parseFloat(J.scrollMarginTop)||0,right:parseFloat(J.scrollMarginRight)||0,bottom:parseFloat(J.scrollMarginBottom)||0,left:parseFloat(J.scrollMarginLeft)||0}})(K);let st=Fe==="start"||Fe==="nearest"?de-T:Fe==="end"?n+xe:de+ne/2-T+xe,at=Pe==="center"?ce+Re/2-We+ze:Pe==="end"?H+ze:ce-We;const Ae=[];for(let tt=0;tt=0&&ce>=0&&n<=y&&H<=le&&(J===s&&!i(J)||de>=Qe&&n<=Je&&ce>=je&&H<=ie))return Ae;const bt=getComputedStyle(J),Te=parseInt(bt.borderLeftWidth,10),G=parseInt(bt.borderTopWidth,10),R=parseInt(bt.borderRightWidth,10),U=parseInt(bt.borderBottomWidth,10);let g=0,fe=0;const z="offsetWidth"in J?J.offsetWidth-J.clientWidth-Te-R:0,o="offsetHeight"in J?J.offsetHeight-J.clientHeight-G-U:0,f="offsetWidth"in J?J.offsetWidth===0?0:me/J.offsetWidth:0,se="offsetHeight"in J?J.offsetHeight===0?0:Se/J.offsetHeight:0;if(s===J)g=Fe==="start"?st:Fe==="end"?st-y:Fe==="nearest"?L(Oe,Oe+y,y,G,U,Oe+st,Oe+st+ne,ne):st-y/2,fe=Pe==="start"?at:Pe==="center"?at-le/2:Pe==="end"?at-le:L(He,He+le,le,Te,R,He+at,He+at+Re,Re),g=Math.max(0,g+Oe),fe=Math.max(0,fe+He);else{g=Fe==="start"?st-Qe-G:Fe==="end"?st-Je+U+o:Fe==="nearest"?L(Qe,Je,Se,G,U+o,st,st+ne,ne):st-(Qe+Se/2)+o/2,fe=Pe==="start"?at-je-Te:Pe==="center"?at-(je+me/2)+z/2:Pe==="end"?at-ie+R+z:L(je,ie,me,Te,R+z,at,at+Re,Re);const{scrollLeft:q,scrollTop:$}=J;g=se===0?0:Math.max(0,Math.min($+g/se,J.scrollHeight-Se/se+o)),fe=f===0?0:Math.max(0,Math.min(q+fe/f,J.scrollWidth-me/f+z)),st+=$-g,at+=q-fe}Ae.push({el:J,top:g,left:fe})}return Ae},E=K=>K===!1?{block:"end",inline:"nearest"}:(r=>r===Object(r)&&Object.keys(r).length!==0)(K)?K:{block:"start",inline:"nearest"};function Z(K,r){if(!K.isConnected||!(P=>{let pe=P;for(;pe&&pe.parentNode;){if(pe.parentNode===document)return!0;pe=pe.parentNode instanceof ShadowRoot?pe.parentNode.host:pe.parentNode}return!1})(K))return;const _=(P=>{const pe=window.getComputedStyle(P);return{top:parseFloat(pe.scrollMarginTop)||0,right:parseFloat(pe.scrollMarginRight)||0,bottom:parseFloat(pe.scrollMarginBottom)||0,left:parseFloat(pe.scrollMarginLeft)||0}})(K);if((P=>typeof P=="object"&&typeof P.behavior=="function")(r))return r.behavior(D(K,r));const M=typeof r=="boolean"||r==null?void 0:r.behavior;for(const{el:P,top:pe,left:it}of D(K,E(r))){const Fe=pe-_.top+_.bottom,Pe=it-_.left+_.right;P.scroll({top:Fe,left:Pe,behavior:M})}}}}]); diff --git a/p__Account__Profile__index.4528373f.async.js b/p__Account__Profile__index.c4db6737.async.js similarity index 82% rename from p__Account__Profile__index.4528373f.async.js rename to p__Account__Profile__index.c4db6737.async.js index 08910c08ce..39630865ce 100644 --- a/p__Account__Profile__index.4528373f.async.js +++ b/p__Account__Profile__index.c4db6737.async.js @@ -1,13 +1,13 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9788,576],{89489:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},59477:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},40001:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},26227:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},49198:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},84105:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},41464:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},18785:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},73331:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},15277:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},52671:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},8657:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},56082:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},33853:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},15075:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},62772:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},43531:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},61485:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},47472:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},L=i,x=t(7657),D=function(r,V){return d.createElement(x.Z,(0,e.Z)({},r,{ref:V,icon:L}))},E=d.forwardRef(D),Z=E},65030:function(an,Je,t){t.d(Je,{Z:function(){return k}});var e=t(33885),d=t(42978),i=t(75931),L=t(43403),x=t(92310),D=t.n(x),E=t(29301),Z=t(76846),K=t(96452),r=t(6089),V=t(80402),M=t(34280),P=t(49658),me=t(59301),lt=t(54476),Fe=t(77900),Pe=t(8654);function Ve(R){var U=R.prefixCls,p=R.align,fe=R.arrow,z=R.arrowPos,o=fe||{},f=o.className,se=o.content,_=z.x,$=_===void 0?0:_,N=z.y,X=N===void 0?0:N,ue=me.useRef();if(!p||!p.points)return null;var c={position:"absolute"};if(p.autoArrow!==!1){var y=p.points[0],Ge=p.points[1],G=y[0],Le=y[1],He=Ge[0],nt=Ge[1];G===He||!["t","b"].includes(G)?c.top=X:G==="t"?c.top=0:c.bottom=0,Le===nt||!["l","r"].includes(Le)?c.left=$:Le==="l"?c.left=0:c.right=0}return me.createElement("div",{ref:ue,className:D()("".concat(U,"-arrow"),f),style:c},se)}function C(R){var U=R.prefixCls,p=R.open,fe=R.zIndex,z=R.mask,o=R.motion;return z?me.createElement(Fe.default,(0,lt.Z)({},o,{motionAppear:!0,visible:p,removeOnLeave:!0}),function(f){var se=f.className;return me.createElement("div",{style:{zIndex:fe},className:D()("".concat(U,"-mask"),se)})}):null}var he=me.memo(function(R){var U=R.children;return U},function(R,U){return U.cache}),s=he,h=me.forwardRef(function(R,U){var p=R.popup,fe=R.className,z=R.prefixCls,o=R.style,f=R.target,se=R.onVisibleChanged,_=R.open,$=R.keepDom,N=R.fresh,X=R.onClick,ue=R.mask,c=R.arrow,y=R.arrowPos,Ge=R.align,G=R.motion,Le=R.maskMotion,He=R.forceRender,nt=R.getPopupContainer,it=R.autoDestroy,et=R.portal,w=R.zIndex,pe=R.onMouseEnter,Ze=R.onMouseLeave,Ue=R.onPointerEnter,ot=R.onPointerDownCapture,Tt=R.ready,ct=R.offsetX,dt=R.offsetY,Rt=R.offsetR,Vt=R.offsetB,Ht=R.onAlign,Xt=R.onPrepare,wt=R.stretch,Ut=R.targetWidth,yt=R.targetHeight,Bt=typeof p=="function"?p():p,Pt=_||$,kt=(nt==null?void 0:nt.length)>0,Wt=me.useState(!nt||!kt),pt=(0,d.Z)(Wt,2),Lt=pt[0],ln=pt[1];if((0,M.Z)(function(){!Lt&&kt&&f&&ln(!0)},[Lt,kt,f]),!Lt)return null;var rn="auto",xn={left:"-1000vw",top:"-1000vh",right:rn,bottom:rn};if(Tt||!_){var Dn,Mn=Ge.points,tn=Ge.dynamicInset||((Dn=Ge._experimental)===null||Dn===void 0?void 0:Dn.dynamicInset),Nn=tn&&Mn[0][1]==="r",Pn=tn&&Mn[0][0]==="b";Nn?(xn.right=Rt,xn.left=rn):(xn.left=ct,xn.right=rn),Pn?(xn.bottom=Vt,xn.top=rn):(xn.top=dt,xn.bottom=rn)}var bn={};return wt&&(wt.includes("height")&&yt?bn.height=yt:wt.includes("minHeight")&&yt&&(bn.minHeight=yt),wt.includes("width")&&Ut?bn.width=Ut:wt.includes("minWidth")&&Ut&&(bn.minWidth=Ut)),_||(bn.pointerEvents="none"),me.createElement(et,{open:He||Pt,getContainer:nt&&function(){return nt(f)},autoDestroy:it},me.createElement(C,{prefixCls:z,open:_,zIndex:w,mask:ue,motion:Le}),me.createElement(E.Z,{onResize:Ht,disabled:!_},function(Fn){return me.createElement(Fe.default,(0,lt.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:He,leavedClassName:"".concat(z,"-hidden")},G,{onAppearPrepare:Xt,onEnterPrepare:Xt,visible:_,onVisibleChanged:function(Jn){var Be;G==null||(Be=G.onVisibleChanged)===null||Be===void 0||Be.call(G,Jn),se(Jn)}}),function(_n,Jn){var Be=_n.className,Ie=_n.style,I=D()(z,Be,fe);return me.createElement("div",{ref:(0,Pe.sQ)(Fn,U,Jn),className:I,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},xn),bn),Ie),{},{boxSizing:"border-box",zIndex:w},o),onMouseEnter:pe,onMouseLeave:Ze,onPointerEnter:Ue,onClick:X,onPointerDownCapture:ot},c&&me.createElement(Ve,{prefixCls:z,arrow:c,arrowPos:y,align:Ge}),me.createElement(s,{cache:!_&&!N},Bt))})}))}),oe=h,le=me.forwardRef(function(R,U){var p=R.children,fe=R.getTriggerDOMNode,z=(0,Pe.Yr)(p),o=me.useCallback(function(se){(0,Pe.mH)(U,fe?fe(se):se)},[fe]),f=(0,Pe.x1)(o,(0,Pe.C4)(p));return z?me.cloneElement(p,{ref:f}):p}),v=le,je=me.createContext(null),Oe=je;function ne(R){return R?Array.isArray(R)?R:[R]:[]}function Re(R,U,p,fe){return me.useMemo(function(){var z=ne(p!=null?p:U),o=ne(fe!=null?fe:U),f=new Set(z),se=new Set(o);return R&&(f.has("hover")&&(f.delete("hover"),f.add("click")),se.has("hover")&&(se.delete("hover"),se.add("click"))),[f,se]},[R,U,p,fe])}var de=t(29194);function H(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],p=arguments.length>2?arguments[2]:void 0;return p?R[0]===U[0]:R[0]===U[0]&&R[1]===U[1]}function n(R,U,p,fe){for(var z=p.points,o=Object.keys(R),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(R)?U:R}function We(R){return xe(parseFloat(R),0)}function st(R,U){var p=(0,e.Z)({},R);return(U||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var z=T(fe).getComputedStyle(fe),o=z.overflow,f=z.overflowClipMargin,se=z.borderTopWidth,_=z.borderBottomWidth,$=z.borderLeftWidth,N=z.borderRightWidth,X=fe.getBoundingClientRect(),ue=fe.offsetHeight,c=fe.clientHeight,y=fe.offsetWidth,Ge=fe.clientWidth,G=We(se),Le=We(_),He=We($),nt=We(N),it=xe(Math.round(X.width/y*1e3)/1e3),et=xe(Math.round(X.height/ue*1e3)/1e3),w=(y-Ge-He-nt)*it,pe=(ue-c-G-Le)*et,Ze=G*et,Ue=Le*et,ot=He*it,Tt=nt*it,ct=0,dt=0;if(o==="clip"){var Rt=We(f);ct=Rt*it,dt=Rt*et}var Vt=X.x+ot-ct,Ht=X.y+Ze-dt,Xt=Vt+X.width+2*ct-ot-Tt-w,wt=Ht+X.height+2*dt-Ze-Ue-pe;p.left=Math.max(p.left,Vt),p.top=Math.max(p.top,Ht),p.right=Math.min(p.right,Xt),p.bottom=Math.min(p.bottom,wt)}}),p}function at(R){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,p="".concat(U),fe=p.match(/^(.*)\%$/);return fe?R*(parseFloat(fe[1])/100):parseFloat(p)}function Ae(R,U){var p=U||[],fe=(0,d.Z)(p,2),z=fe[0],o=fe[1];return[at(R.width,z),at(R.height,o)]}function tt(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[R[0],R[1]]}function q(R,U){var p=U[0],fe=U[1],z,o;return p==="t"?o=R.y:p==="b"?o=R.y+R.height:o=R.y+R.height/2,fe==="l"?z=R.x:fe==="r"?z=R.x+R.width:z=R.x+R.width/2,{x:z,y:o}}function Se(R,U){var p={t:"b",b:"t",l:"r",r:"l"};return R.map(function(fe,z){return z===U?p[fe]||"c":fe}).join("")}function ge(R,U,p,fe,z,o,f){var se=me.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:z[fe]||{}}),_=(0,d.Z)(se,2),$=_[0],N=_[1],X=me.useRef(0),ue=me.useMemo(function(){return U?ze(U):[]},[U]),c=me.useRef({}),y=function(){c.current={}};R||y();var Ge=(0,r.Z)(function(){if(U&&p&&R){let Or=function(qr,Vn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g,kn=Pt.x+qr,zn=Pt.y+Vn,cr=kn+Pn,pr=zn+Nn,eo=Math.max(kn,sr.left),In=Math.max(zn,sr.top),tr=Math.min(cr,sr.right),Dr=Math.min(pr,sr.bottom);return Math.max(0,(tr-eo)*(Dr-In))},zr=function(){fn=Pt.y+ft,Zt=fn+Nn,Qt=Pt.x+ht,Ft=Qt+Pn};var He,nt,it,et,w=U,pe=w.ownerDocument,Ze=T(w),Ue=Ze.getComputedStyle(w),ot=Ue.position,Tt=w.style.left,ct=w.style.top,dt=w.style.right,Rt=w.style.bottom,Vt=w.style.overflow,Ht=(0,e.Z)((0,e.Z)({},z[fe]),o),Xt=pe.createElement("div");(He=w.parentElement)===null||He===void 0||He.appendChild(Xt),Xt.style.left="".concat(w.offsetLeft,"px"),Xt.style.top="".concat(w.offsetTop,"px"),Xt.style.position=ot,Xt.style.height="".concat(w.offsetHeight,"px"),Xt.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var wt;if(Array.isArray(p))wt={x:p[0],y:p[1],width:0,height:0};else{var Ut,yt,Bt=p.getBoundingClientRect();Bt.x=(Ut=Bt.x)!==null&&Ut!==void 0?Ut:Bt.left,Bt.y=(yt=Bt.y)!==null&&yt!==void 0?yt:Bt.top,wt={x:Bt.x,y:Bt.y,width:Bt.width,height:Bt.height}}var Pt=w.getBoundingClientRect(),kt=Ze.getComputedStyle(w),Wt=kt.height,pt=kt.width;Pt.x=(nt=Pt.x)!==null&&nt!==void 0?nt:Pt.left,Pt.y=(it=Pt.y)!==null&&it!==void 0?it:Pt.top;var Lt=pe.documentElement,ln=Lt.clientWidth,rn=Lt.clientHeight,xn=Lt.scrollWidth,Dn=Lt.scrollHeight,Mn=Lt.scrollTop,tn=Lt.scrollLeft,Nn=Pt.height,Pn=Pt.width,bn=wt.height,Fn=wt.width,_n={left:0,top:0,right:ln,bottom:rn},Jn={left:-tn,top:-Mn,right:xn-tn,bottom:Dn-Mn},Be=Ht.htmlRegion,Ie="visible",I="visibleFirst";Be!=="scroll"&&Be!==I&&(Be=Ie);var Y=Be===I,be=st(Jn,ue),ye=st(_n,ue),g=Be===Ie?ye:be,re=Y?ye:g;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var De=w.getBoundingClientRect();w.style.left=Tt,w.style.top=ct,w.style.right=dt,w.style.bottom=Rt,w.style.overflow=Vt,(et=w.parentElement)===null||et===void 0||et.removeChild(Xt);var u=xe(Math.round(Pn/parseFloat(pt)*1e3)/1e3),S=xe(Math.round(Nn/parseFloat(Wt)*1e3)/1e3);if(u===0||S===0||(0,Z.Sh)(p)&&!(0,de.Z)(p))return;var A=Ht.offset,ve=Ht.targetOffset,j=Ae(Pt,A),O=(0,d.Z)(j,2),W=O[0],ee=O[1],ae=Ae(wt,ve),b=(0,d.Z)(ae,2),m=b[0],B=b[1];wt.x-=m,wt.y-=B;var te=Ht.points||[],we=(0,d.Z)(te,2),Ne=we[0],ut=we[1],ke=tt(ut),Q=tt(Ne),Ce=q(wt,ke),Me=q(Pt,Q),Ye=(0,e.Z)({},Ht),ht=Ce.x-Me.x+W,ft=Ce.y-Me.y+ee,Ct=Or(ht,ft),It=Or(ht,ft,ye),Dt=q(wt,["t","l"]),Mt=q(Pt,["t","l"]),$t=q(wt,["b","r"]),Et=q(Pt,["b","r"]),Jt=Ht.overflow||{},At=Jt.adjustX,sn=Jt.adjustY,Gt=Jt.shiftX,Yt=Jt.shiftY,nn=function(Vn){return typeof Vn=="boolean"?Vn:Vn>=0},fn,Zt,Qt,Ft;zr();var _e=nn(sn),mt=Q[0]===ke[0];if(_e&&Q[0]==="t"&&(Zt>re.bottom||c.current.bt)){var Kt=ft;mt?Kt-=Nn-bn:Kt=Dt.y-Et.y-ee;var jt=Or(ht,Kt),qt=Or(ht,Kt,ye);jt>Ct||jt===Ct&&(!Y||qt>=It)?(c.current.bt=!0,ft=Kt,ee=-ee,Ye.points=[Se(Q,0),Se(ke,0)]):c.current.bt=!1}if(_e&&Q[0]==="b"&&(fnCt||on===Ct&&(!Y||en>=It)?(c.current.tb=!0,ft=un,ee=-ee,Ye.points=[Se(Q,0),Se(ke,0)]):c.current.tb=!1}var cn=nn(At),Rn=Q[1]===ke[1];if(cn&&Q[1]==="l"&&(Ft>re.right||c.current.rl)){var Bn=ht;Rn?Bn-=Pn-Fn:Bn=Dt.x-Et.x-W;var yn=Or(Bn,ft),dn=Or(Bn,ft,ye);yn>Ct||yn===Ct&&(!Y||dn>=It)?(c.current.rl=!0,ht=Bn,W=-W,Ye.points=[Se(Q,1),Se(ke,1)]):c.current.rl=!1}if(cn&&Q[1]==="r"&&(QtCt||Xn===Ct&&(!Y||ar>=It)?(c.current.lr=!0,ht=Kn,W=-W,Ye.points=[Se(Q,1),Se(ke,1)]):c.current.lr=!1}zr();var $n=Gt===!0?0:Gt;typeof $n=="number"&&(Qtye.right&&(ht-=Ft-ye.right-W,wt.x>ye.right-$n&&(ht+=wt.x-ye.right+$n)));var er=Yt===!0?0:Yt;typeof er=="number"&&(fnye.bottom&&(ft-=Zt-ye.bottom-ee,wt.y>ye.bottom-er&&(ft+=wt.y-ye.bottom+er)));var Wn=Pt.x+ht,Sr=Wn+Pn,Fr=Pt.y+ft,$r=Fr+Nn,Cr=wt.x,vr=Cr+Fn,En=wt.y,Hn=En+bn,lr=Math.max(Wn,Cr),fr=Math.min(Sr,vr),Gn=(lr+fr)/2,ur=Gn-Wn,yr=Math.max(Fr,En),gr=Math.min($r,Hn),br=(yr+gr)/2,Br=br-Fr;f==null||f(U,Ye);var wr=De.right-Pt.x-(ht+Pt.width),Tr=De.bottom-Pt.y-(ft+Pt.height);u===1&&(ht=Math.round(ht),wr=Math.round(wr)),S===1&&(ft=Math.round(ft),Tr=Math.round(Tr));var Qr={ready:!0,offsetX:ht/u,offsetY:ft/S,offsetR:wr/u,offsetB:Tr/S,arrowX:ur/u,arrowY:Br/S,scaleX:u,scaleY:S,align:Ye};N(Qr)}}),G=function(){X.current+=1;var nt=X.current;Promise.resolve().then(function(){X.current===nt&&Ge()})},Le=function(){N(function(nt){return(0,e.Z)((0,e.Z)({},nt),{},{ready:!1})})};return(0,M.Z)(Le,[fe]),(0,M.Z)(function(){R||Le()},[R]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,G]}var Qe=t(94480);function ie(R,U,p,fe,z){(0,M.Z)(function(){if(R&&U&&p){let X=function(){fe(),z()};var o=U,f=p,se=ze(o),_=ze(f),$=T(f),N=new Set([$].concat((0,Qe.Z)(se),(0,Qe.Z)(_)));return N.forEach(function(ue){ue.addEventListener("scroll",X,{passive:!0})}),$.addEventListener("resize",X,{passive:!0}),fe(),function(){N.forEach(function(ue){ue.removeEventListener("scroll",X),$.removeEventListener("resize",X)})}}},[R,U,p])}var qe=t(48736);function Ke(R,U,p,fe,z,o,f,se){var _=me.useRef(R);_.current=R;var $=me.useRef(!1);me.useEffect(function(){if(U&&fe&&(!z||o)){var X=function(){$.current=!1},ue=function(it){var et;_.current&&!f(((et=it.composedPath)===null||et===void 0||(et=et.call(it))===null||et===void 0?void 0:et[0])||it.target)&&!$.current&&se(!1)},c=T(fe);c.addEventListener("pointerdown",X,!0),c.addEventListener("mousedown",ue,!0),c.addEventListener("contextmenu",ue,!0);var y=(0,K.A)(p);if(y&&(y.addEventListener("mousedown",ue,!0),y.addEventListener("contextmenu",ue,!0)),0)var Ge,G,Le,He;return function(){c.removeEventListener("pointerdown",X,!0),c.removeEventListener("mousedown",ue,!0),c.removeEventListener("contextmenu",ue,!0),y&&(y.removeEventListener("mousedown",ue,!0),y.removeEventListener("contextmenu",ue,!0))}}},[U,p,fe,z,o]);function N(){$.current=!0}return N}var bt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Te(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L.Z,U=me.forwardRef(function(p,fe){var z=p.prefixCls,o=z===void 0?"rc-trigger-popup":z,f=p.children,se=p.action,_=se===void 0?"hover":se,$=p.showAction,N=p.hideAction,X=p.popupVisible,ue=p.defaultPopupVisible,c=p.onPopupVisibleChange,y=p.afterPopupVisibleChange,Ge=p.mouseEnterDelay,G=p.mouseLeaveDelay,Le=G===void 0?.1:G,He=p.focusDelay,nt=p.blurDelay,it=p.mask,et=p.maskClosable,w=et===void 0?!0:et,pe=p.getPopupContainer,Ze=p.forceRender,Ue=p.autoDestroy,ot=p.destroyPopupOnHide,Tt=p.popup,ct=p.popupClassName,dt=p.popupStyle,Rt=p.popupPlacement,Vt=p.builtinPlacements,Ht=Vt===void 0?{}:Vt,Xt=p.popupAlign,wt=p.zIndex,Ut=p.stretch,yt=p.getPopupClassNameFromAlign,Bt=p.fresh,Pt=p.alignPoint,kt=p.onPopupClick,Wt=p.onPopupAlign,pt=p.arrow,Lt=p.popupMotion,ln=p.maskMotion,rn=p.popupTransitionName,xn=p.popupAnimation,Dn=p.maskTransitionName,Mn=p.maskAnimation,tn=p.className,Nn=p.getTriggerDOMNode,Pn=(0,i.Z)(p,bt),bn=Ue||ot||!1,Fn=me.useState(!1),_n=(0,d.Z)(Fn,2),Jn=_n[0],Be=_n[1];(0,M.Z)(function(){Be((0,P.Z)())},[]);var Ie=me.useRef({}),I=me.useContext(Oe),Y=me.useMemo(function(){return{registerSubPopup:function(tr,Dr){Ie.current[tr]=Dr,I==null||I.registerSubPopup(tr,Dr)}}},[I]),be=(0,V.Z)(),ye=me.useState(null),g=(0,d.Z)(ye,2),re=g[0],De=g[1],u=me.useRef(null),S=(0,r.Z)(function(In){u.current=In,(0,Z.Sh)(In)&&re!==In&&De(In),I==null||I.registerSubPopup(be,In)}),A=me.useState(null),ve=(0,d.Z)(A,2),j=ve[0],O=ve[1],W=me.useRef(null),ee=(0,r.Z)(function(In){(0,Z.Sh)(In)&&j!==In&&(O(In),W.current=In)}),ae=me.Children.only(f),b=(ae==null?void 0:ae.props)||{},m={},B=(0,r.Z)(function(In){var tr,Dr,kr=j;return(kr==null?void 0:kr.contains(In))||((tr=(0,K.A)(kr))===null||tr===void 0?void 0:tr.host)===In||In===kr||(re==null?void 0:re.contains(In))||((Dr=(0,K.A)(re))===null||Dr===void 0?void 0:Dr.host)===In||In===re||Object.values(Ie.current).some(function(Ur){return(Ur==null?void 0:Ur.contains(In))||In===Ur})}),te=ce(o,Lt,xn,rn),we=ce(o,ln,Mn,Dn),Ne=me.useState(ue||!1),ut=(0,d.Z)(Ne,2),ke=ut[0],Q=ut[1],Ce=X!=null?X:ke,Me=(0,r.Z)(function(In){X===void 0&&Q(In)});(0,M.Z)(function(){Q(X||!1)},[X]);var Ye=me.useRef(Ce);Ye.current=Ce;var ht=me.useRef([]);ht.current=[];var ft=(0,r.Z)(function(In){var tr;Me(In),((tr=ht.current[ht.current.length-1])!==null&&tr!==void 0?tr:Ce)!==In&&(ht.current.push(In),c==null||c(In))}),Ct=me.useRef(),It=function(){clearTimeout(Ct.current)},Dt=function(tr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;It(),Dr===0?ft(tr):Ct.current=setTimeout(function(){ft(tr)},Dr*1e3)};me.useEffect(function(){return It},[]);var Mt=me.useState(!1),$t=(0,d.Z)(Mt,2),Et=$t[0],Jt=$t[1];(0,M.Z)(function(In){(!In||Ce)&&Jt(!0)},[Ce]);var At=me.useState(null),sn=(0,d.Z)(At,2),Gt=sn[0],Yt=sn[1],nn=me.useState(null),fn=(0,d.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(tr){Qt([tr.clientX,tr.clientY])},_e=ge(Ce,re,Pt&&Zt!==null?Zt:j,Rt,Ht,Xt,Wt),mt=(0,d.Z)(_e,11),Kt=mt[0],jt=mt[1],qt=mt[2],un=mt[3],on=mt[4],en=mt[5],cn=mt[6],Rn=mt[7],Bn=mt[8],yn=mt[9],dn=mt[10],Kn=Re(Jn,_,$,N),Xn=(0,d.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ar.has("click"),Wn=$n.has("click")||$n.has("contextMenu"),Sr=(0,r.Z)(function(){Et||dn()}),Fr=function(){Ye.current&&Pt&&Wn&&Dt(!1)};ie(Ce,j,re,Sr,Fr),(0,M.Z)(function(){Sr()},[Zt,Rt]),(0,M.Z)(function(){Ce&&!(Ht!=null&&Ht[Rt])&&Sr()},[JSON.stringify(Xt)]);var $r=me.useMemo(function(){var In=n(Ht,o,yn,Pt);return D()(In,yt==null?void 0:yt(yn))},[yn,yt,Ht,o,Pt]);me.useImperativeHandle(fe,function(){return{nativeElement:W.current,popupElement:u.current,forceAlign:Sr}});var Cr=me.useState(0),vr=(0,d.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=me.useState(0),fr=(0,d.Z)(lr,2),Gn=fr[0],ur=fr[1],yr=function(){if(Ut&&j){var tr=j.getBoundingClientRect();Hn(tr.width),ur(tr.height)}},gr=function(){yr(),Sr()},br=function(tr){Jt(!1),dn(),y==null||y(tr)},Br=function(){return new Promise(function(tr){yr(),Yt(function(){return tr})})};(0,M.Z)(function(){Gt&&(dn(),Gt(),Yt(null))},[Gt]);function wr(In,tr,Dr,kr){m[In]=function(Ur){var Uo;kr==null||kr(Ur),Dt(tr,Dr);for(var $o=arguments.length,Yo=new Array($o>1?$o-1:0),wo=1;wo<$o;wo++)Yo[wo-1]=arguments[wo];(Uo=b[In])===null||Uo===void 0||Uo.call.apply(Uo,[b,Ur].concat(Yo))}}(er||Wn)&&(m.onClick=function(In){var tr;Ye.current&&Wn?Dt(!1):!Ye.current&&er&&(Ft(In),Dt(!0));for(var Dr=arguments.length,kr=new Array(Dr>1?Dr-1:0),Ur=1;Ur1?Dr-1:0),Ur=1;Ur{var Ve={};for(var C in Fe)r.call(Fe,C)&&Pe.indexOf(C)<0&&(Ve[C]=Fe[C]);if(Fe!=null&&K)for(var C of K(Fe))Pe.indexOf(C)<0&&V.call(Fe,C)&&(Ve[C]=Fe[C]);return Ve},P=(Fe,Pe,Ve)=>new Promise((C,he)=>{var s=le=>{try{oe(Ve.next(le))}catch(v){he(v)}},h=le=>{try{oe(Ve.throw(le))}catch(v){he(v)}},oe=le=>le.done?C(le.value):Promise.resolve(le.value).then(s,h);oe((Ve=Ve.apply(Fe,Pe)).next())});const me=i.default.TextArea,lt=Fe=>{var Pe=Fe,{account:Ve,globalSetting:C,loading:he,dispatch:s,schoolName:h,departmentName:oe,visible:le,onClose:v=()=>{},onSuccess:je=()=>{}}=Pe,Oe=M(Pe,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[ne]=L.default.useForm(),Re=(0,e.useRef)(),[de,H]=(0,e.useState)(!1);(0,e.useEffect)(()=>{Re.current=Oe.schoolId},[Oe.schoolId]),(0,e.useEffect)(()=>{ne.setFieldsValue({department:oe})},[oe]);const n=ce=>P(void 0,null,function*(){var T,ze,xe;const{department:We,remarks:st}=ce||{};H(!0);const at=yield(0,Z.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:We,school_id:Re.current}});H(!1);const Ae=()=>P(void 0,null,function*(){const tt=yield s({type:"account/appplyDepartment",payload:{school_id:Re.current,name:We,remarks:st}});(tt==null?void 0:tt.status)===0&&(x.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),je(We),v())});if((at==null?void 0:at.status)===0){if((T=at==null?void 0:at.data)!=null&&T.name){D.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement("div",null,e.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),e.createElement(E.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(ze=at==null?void 0:at.data)==null?void 0:ze.name,size:(xe=at==null?void 0:at.data)==null?void 0:xe.size}],pagination:!1})),onOk:()=>{je(We),v()}});return}Ae()}});return e.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:v,onOk:()=>ne.submit(),confirmLoading:de},e.createElement(L.default,{form:ne,labelCol:{span:4},wrapperCol:{span:20},onFinish:n},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},h),e.createElement(L.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},e.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},e.createElement(me,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};Je.Z=(0,d.connect)(({account:Fe,loading:Pe,globalSetting:Ve})=>({account:Fe,globalSetting:Ve,loading:Pe.effects}))(lt)},28210:function(an,Je,t){var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(6767),D=t(62957),E=t(98280),Z=t(59301),K=Object.defineProperty,r=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,P=(C,he,s)=>he in C?K(C,he,{enumerable:!0,configurable:!0,writable:!0,value:s}):C[he]=s,me=(C,he)=>{for(var s in he||(he={}))V.call(he,s)&&P(C,s,he[s]);if(r)for(var s of r(he))M.call(he,s)&&P(C,s,he[s]);return C},lt=(C,he)=>{var s={};for(var h in C)V.call(C,h)&&he.indexOf(h)<0&&(s[h]=C[h]);if(C!=null&&r)for(var h of r(C))he.indexOf(h)<0&&M.call(C,h)&&(s[h]=C[h]);return s},Fe=(C,he,s)=>new Promise((h,oe)=>{var le=Oe=>{try{je(s.next(Oe))}catch(ne){oe(ne)}},v=Oe=>{try{je(s.throw(Oe))}catch(ne){oe(ne)}},je=Oe=>Oe.done?h(Oe.value):Promise.resolve(Oe.value).then(le,v);je((s=s.apply(C,he)).next())});const Pe=i.default.TextArea,Ve=C=>{var he=C,{account:s,globalSetting:h,loading:oe,dispatch:le,departmentName:v,majorName:je,visible:Oe,onClose:ne=()=>{},onSuccess:Re=()=>{}}=he,de=lt(he,["account","globalSetting","loading","dispatch","departmentName","majorName","visible","onClose","onSuccess"]);const[H]=L.default.useForm(),n=(0,e.useRef)(),[ce,T]=(0,e.useState)(!1);(0,e.useEffect)(()=>{n.current=de.departmentId},[de.departmentId]),(0,e.useEffect)(()=>{H.setFieldsValue({name:je})},[je]);const ze=xe=>Fe(void 0,null,function*(){yield H.validateFields(),(yield(0,E.ZP)(`/api/departments/${n.current}/majors.json`,{method:"post",body:me({},H.getFieldsValue())})).status===0&&(x.ZP.success("\u7533\u8BF7\u6210\u529F\uFF01"),Re(H.getFieldValue("name")),H.resetFields(),ne())});return Z.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Oe,title:"\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0",width:"600px",onCancel:ne,onOk:()=>H.submit(),confirmLoading:ce},Z.createElement(L.default,{form:H,labelCol:{span:4},wrapperCol:{span:20},onFinish:ze},Z.createElement(L.default.Item,{label:"\u9662\u7CFB\u540D\u79F0\uFF1A"},v),Z.createElement(L.default.Item,{label:"\u4E13\u4E1A\u540D\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},Z.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",showCount:!0,maxLength:20})),Z.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},Z.createElement(Pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};Je.Z=(0,d.connect)(({account:C,loading:he,globalSetting:s})=>({account:C,globalSetting:s,loading:he.effects}))(Ve)},98679:function(an,Je,t){t.d(Je,{Z:function(){return L}});var e=t(59301),d=t(59195),i=t(75786),L=()=>{const[x,D]=(0,e.useState)(""),[E,Z]=(0,e.useState)(0);let[K,r]=(0,e.useState)(),[V,M]=(0,e.useState)();const[P,me]=(0,e.useState)(!1),lt=(0,e.useRef)("");(0,e.useEffect)(()=>d.Z.subscribe("preview-image",je=>{D(je),console.log(oe.current)}),[]),(0,e.useEffect)(()=>(document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}),[]),(0,e.useEffect)(()=>{lt.current=x},[x]);function Fe(v){console.log("e====",v),v.keyCode==27&<.current&&Pe()}function Pe(){document.body.style.overflow="auto",r(void 0),M(void 0),Z(0),D("")}function Ve(){Z(E+90)}function C(){K=oe.current.width*1.1,V=oe.current.height*1.1,M(V),r(K)}function he(){K=oe.current.width/1.1,V=oe.current.height/1.1,M(V),r(K)}const s=(0,e.useRef)(),h=(0,e.useRef)(),oe=(0,e.useRef)(),le=v=>{(v.nativeEvent.target===s.current||v.nativeEvent.target===h.current)&&Pe()};return e.createElement(e.Fragment,null,x?e.createElement("div",null,e.createElement("div",{className:"preview-wrp-group",ref:h},e.createElement(i.Z,{className:"image-preview",src:x,style:{display:"none"},preview:{visible:!0,src:x,onVisibleChange:v=>{D("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57792:function(an,Je,t){var e=t(59301),d=t(75790),i=t(82326),L=t(94968),x=t(28284),D=t(6767),E=t(62957),Z=t(29787),K=t(77019),r=t(5269),V=t(37568),M=t(25399),P=t(1560),me=t(7939),lt=t(67585),Fe=t(56739),Pe=t(49647),Ve=t(51941),C=t(26294),he=t(19374),s=t(89392),h=t.n(s),oe=t(28210),le=t(98280),v=t(59301),je=Object.defineProperty,Oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,n=(Ae,tt,q)=>tt in Ae?je(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:q}):Ae[tt]=q,ce=(Ae,tt)=>{for(var q in tt||(tt={}))de.call(tt,q)&&n(Ae,q,tt[q]);if(Re)for(var q of Re(tt))H.call(tt,q)&&n(Ae,q,tt[q]);return Ae},T=(Ae,tt)=>Oe(Ae,ne(tt)),ze=(Ae,tt)=>{var q={};for(var Se in Ae)de.call(Ae,Se)&&tt.indexOf(Se)<0&&(q[Se]=Ae[Se]);if(Ae!=null&&Re)for(var Se of Re(Ae))tt.indexOf(Se)<0&&H.call(Ae,Se)&&(q[Se]=Ae[Se]);return q},xe=(Ae,tt,q)=>new Promise((Se,ge)=>{var Qe=Ke=>{try{qe(q.next(Ke))}catch(bt){ge(bt)}},ie=Ke=>{try{qe(q.throw(Ke))}catch(bt){ge(bt)}},qe=Ke=>Ke.done?Se(Ke.value):Promise.resolve(Ke.value).then(Qe,ie);qe((q=q.apply(Ae,tt)).next())});const We=i.default.Option,st=L.default.Dragger,at=Ae=>{var tt=Ae,{user:q,account:Se,globalSetting:ge,loading:Qe,dispatch:ie}=tt,qe=ze(tt,["user","account","globalSetting","loading","dispatch"]),Ke,bt,Te;const[k]=x.default.useForm(),[R,U]=(0,e.useState)({}),[p,fe]=(0,e.useState)([]),[z,o]=(0,e.useState)([]),[f,se]=(0,e.useState)([]),[_,$]=(0,e.useState)([]),[N,X]=(0,e.useState)([]),[ue,c]=(0,e.useState)([]),[y,Ge]=(0,e.useState)(),[G,Le]=(0,e.useState)(),[He,nt]=(0,e.useState)(),[it,et]=(0,e.useState)(),[w,pe]=(0,e.useState)(),[Ze,Ue]=(0,e.useState)();(0,e.useEffect)(()=>{var pt,Lt,ln,rn;Se.actionTabs.key==="Account-ProfessionalAuth"&&(pt=Se.basicInfo)!=null&&pt.school_id&&(ct((Lt=Se.basicInfo)==null?void 0:Lt.school_id),fe([{id:(ln=Se.basicInfo)==null?void 0:ln.school_id,name:(rn=Se.basicInfo)==null?void 0:rn.school_name}]))},[Se.actionTabs.key]);const ot=(0,e.useRef)((0,s.throttle)(pt=>Tt(pt),1200,{leading:!0,trailing:!0})).current,Tt=pt=>xe(void 0,null,function*(){var Lt,ln;const rn=yield ie({type:"account/getSchoolOption",payload:{keyword:pt,limit:10}});fe(rn==null?void 0:rn.schools),pt&&pt!=""&&(o((Lt=rn==null?void 0:rn.schools)==null?void 0:Lt.filter(Dn=>Dn.name.includes(pt))),(((ln=rn==null?void 0:rn.schools)==null?void 0:ln.find(Dn=>Dn.name===pt))||{}).id?Xt(pt,null,rn==null?void 0:rn.schools):(k.setFieldsValue(T(ce({},k.getFieldsValue()),{department:""})),U(ce(ce({},k.getFieldsValue()),{school:pt,department:""}))))}),ct=pt=>xe(void 0,null,function*(){if(!pt)return;const Lt=yield ie({type:"account/getDepartmentOption",payload:{id:pt}});return se(Lt==null?void 0:Lt.departments),Lt});(0,e.useEffect)(()=>{if(!Se.basicInfo)return;const{basicInfo:pt}=Se,Lt={identity:pt.identity,school:pt.school_name,department:pt.department_name,major_name:pt.major_name,studentNo:pt.student_id,jobTitle:pt.identity=="teacher"?pt.technical_title:"\u6559\u6388",manager:pt.identity=="professional"?pt.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",code_type:2};k.setFieldsValue(Lt),U(Lt)},[Se.basicInfo]);const dt=()=>{et(!0)},Rt=()=>{if(!p.find(pt=>pt.name===R.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}pe(!0)},Vt=()=>{if(!f.find(pt=>pt.name===R.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}Ue(!0)},Ht=pt=>{U(ce({},k.getFieldsValue())),"identity"in pt&&U(T(ce({},k.getFieldsValue()),{code_type:2})),"school"in pt&&(o(p.filter(ln=>ln.name.includes(pt.school))),(p.find(ln=>ln.name===pt.school)||{}).id?Xt(pt.school):(k.setFieldValue("department",""),U(ce(ce({},R),{school:pt.school,department:""}))))},Xt=(pt,Lt,ln)=>xe(void 0,null,function*(){var rn,xn,Dn;const Mn=(rn=(ln||p).find(Pn=>Pn.name===pt))==null?void 0:rn.id,tn=(yield ct(Mn))||{},Nn=Lt||((Dn=(xn=tn==null?void 0:tn.departments)==null?void 0:xn[0])==null?void 0:Dn.name);k.setFieldsValue(T(ce({},k.getFieldsValue()),{department:Nn})),U(ce(ce({},k.getFieldsValue()),{school:pt,department:Nn}))});(0,e.useEffect)(()=>{wt()},[f]);const wt=()=>xe(void 0,null,function*(){var pt,Lt;let ln=(pt=p.find(xn=>xn.name===k.getFieldValue("school")))==null?void 0:pt.id,rn=(Lt=f.find(xn=>xn.name===k.getFieldValue("department")))==null?void 0:Lt.id;if(rn){const xn=yield(0,le.ZP)(`/api/schools/${ln}/departments/${rn}/major_option.json`,{method:"get"});(xn==null?void 0:xn.status)==0&&X(xn==null?void 0:xn.majors)}}),Ut=pt=>xe(void 0,null,function*(){yield Tt(),k.setFieldsValue(T(ce({},k.getFieldsValue()),{school:pt,department:""})),U(ce(ce({},k.getFieldsValue()),{school:pt,department:""}))}),yt=pt=>{var Lt;if(pt.file.status==="uploading"){nt(!0);return}pt.file.status==="done"&&(console.log(pt.file,pt.file.response),Le((Lt=pt.file.response)==null?void 0:Lt.id),(0,he.y3)(pt.file.originFileObj,ln=>{Ge(ln),nt(!1)}))},Bt=pt=>xe(void 0,null,function*(){var Lt,ln,rn,xn,Dn,Mn,tn,Nn,Pn,bn;const{school:Fn,department:_n,identity:Jn,studentNo:Be,jobTitle:Ie,manager:I,code_type:Y,code:be,major_name:ye}=pt||{};if(!y){D.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const g=(Lt=p.find(A=>A.name===Fn))==null?void 0:Lt.id,re=(ln=f.find(A=>A.name===_n))==null?void 0:ln.id,De=Jn==="student"?(rn=N.find(A=>A.name===ye))==null?void 0:rn.id:null;let u;if(Jn==="student"?u=Be:Jn==="teacher"?u=Ie:u=I,!g){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(xn=ge==null?void 0:ge.setting)==null?void 0:xn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),v.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(Dn=ge==null?void 0:ge.setting)==null?void 0:Dn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(_n&&!re){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:v.createElement(v.Fragment,null,v.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u9662\u7CFB/\u90E8\u95E8\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u90E8\u95E8\uFF1F")),onOk:Rt,onCancel:()=>{A.destroy()}});return}if(Jn==="student"&&ye&&!De){if(k.getFieldValue("identity")=="teacher"){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:v.createElement(v.Fragment,null,v.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u4E13\u4E1A\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u4E13\u4E1A\uFF1F")),onOk:Vt,onCancel:()=>{A.destroy()}})}else E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(Mn=ge==null?void 0:ge.setting)==null?void 0:Mn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),v.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(tn=ge==null?void 0:ge.setting)==null?void 0:tn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const S=yield ie({type:"account/applyProfessionalAuth",payload:{id:((Nn=Se.basicInfo)==null?void 0:Nn.id)||((Pn=q.userInfo)==null?void 0:Pn.login),school_id:g,department_id:re,major_id:De,identity:Jn,extra:u,code:be,code_type:Y,attachment_ids:[G]}});Pt(),(S==null?void 0:S.status)===0&&(be?D.ZP.info("\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u901A\u8FC7"):D.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838\uFF01"),Ge(""),ie({type:"account/getBasicInfo",payload:{login:(bn=q.userInfo)==null?void 0:bn.login}}))}),Pt=()=>{k.setFieldValue("code",""),ie({type:"account/setActionTabs",payload:{}})},kt={data:{type:"professional"},multiple:!0,withCredentials:!0,showUploadList:!1,action:`${Pe.Z.API_SERVER}/api/attachments.json`,className:C.Z.uploader,onChange:yt,beforeUpload:pt=>{const Lt=pt.type==="image/jpeg"||pt.type==="image/png"||pt.type==="image/jpg"||pt.type==="image/bmp";return Lt||D.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),Lt}},Wt=()=>{var pt,Lt,ln,rn;E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",R.identity==="teacher"?(pt=ge==null?void 0:ge.setting)==null?void 0:pt.homepage_tea_qq_number:(Lt=ge==null?void 0:ge.setting)==null?void 0:Lt.homepage_stu_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),v.createElement("img",{src:R.identity==="teacher"?`${Pe.Z.IMG_SERVER}/${(ln=ge==null?void 0:ge.setting)==null?void 0:ln.homepage_tea_qq_qrcode_url}`:`${Pe.Z.IMG_SERVER}/${(rn=ge==null?void 0:ge.setting)==null?void 0:rn.homepage_stu_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return v.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,forceRender:!0,className:C.Z.modal,open:Se.actionTabs.key==="Account-ProfessionalAuth",title:v.createElement("div",null,v.createElement("i",{className:`iconfont icon-zhiyerenzheng font18 mr5 ${C.Z.colorBlue}`}),"\u804C\u4E1A\u8BA4\u8BC1"),width:"660px",footer:null},v.createElement(Z.Z,{spinning:!!He},v.createElement(x.default,{form:k,layout:"horizontal",size:"large",scrollToFirstError:!0,className:C.Z.formWrap,onValuesChange:Ht,onFinish:Bt},v.createElement(K.Z,{gutter:[10,0]},v.createElement(r.Z,{flex:"300px"},v.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},v.createElement(i.default,null,v.createElement(We,{value:"teacher"},"\u6559\u5E08"),v.createElement(We,{value:"student"},"\u5B66\u751F"),v.createElement(We,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),R.identity==="student"&&v.createElement(v.Fragment,null,v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.studentNo,name:"studentNo",rules:[{required:!0,message:"\u8BF7\u5148\u8F93\u5165\u5B66\u53F7"}]},v.createElement(V.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7"}))),v.createElement(r.Z,{flex:0},v.createElement("div",{className:C.Z.tooltipWrapper},v.createElement(M.Z,{title:"\u5355\u4F4D\u7BA1\u7406\u5458\u53EF\u7BA1\u7406\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u5B66\u751F\u8D26\u53F7\u4FE1\u606F\uFF08\u5305\u542B\u521D\u59CB\u5316\u5BC6\u7801\uFF09"},v.createElement("span",{className:C.Z.tips},v.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"})))))),R.identity==="teacher"&&v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},v.createElement(i.default,null,v.createElement(We,{value:"\u6559\u6388"},"\u6559\u6388"),v.createElement(We,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),v.createElement(We,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),v.createElement(We,{value:"\u52A9\u6559"},"\u52A9\u6559")))),R.identity==="professional"&&v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},v.createElement(i.default,null,v.createElement(We,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),v.createElement(We,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),v.createElement(We,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),v.createElement(We,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),v.createElement(We,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),v.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:R.school&&!(p!=null&&p.find(pt=>pt.name===R.school))&&v.createElement("div",{className:C.Z.schoolHintWrap},v.createElement("span",{className:C.Z.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",R.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},v.createElement(P.Z,{showSearch:!0,onSearch:ot},z.map((pt,Lt)=>v.createElement(We,{key:Lt,value:pt.name},pt.name)))),v.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",extra:R.department&&!(f!=null&&f.find(pt=>pt.name===R.department))&&v.createElement("div",{className:C.Z.schoolHintWrap},v.createElement("span",{className:C.Z.colorCDCDCD},R.department?`\u672A\u627E\u5230\u5305\u542B\u201C${R.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),v.createElement("span",{className:C.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u9662\u7CFB/\u90E8\u95E8"}]},v.createElement(P.Z,{showSearch:!0,onChange:pt=>{wt(),$(f.filter(Lt=>Lt.name.includes(pt)))}},_.map((pt,Lt)=>v.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&v.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))))),R.identity==="student"&&v.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",extra:k.getFieldValue("major_name")&&!(N!=null&&N.find(pt=>pt.name==k.getFieldValue("major_name")))&&v.createElement("div",{className:C.Z.schoolHintWrap},k.getFieldValue("identity")=="teacher"?v.createElement(v.Fragment,null,v.createElement("span",{className:C.Z.colorCDCDCD},`\u672A\u67E5\u8BE2\u5230\u201C${k.getFieldValue("major_name")}\u201D\u4E13\u4E1A\uFF0C`),v.createElement("span",{className:C.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")):v.createElement("span",{className:C.Z.colorCDCDCD},"\u672A\u627E\u5230\u201C",k.getFieldValue("major_name"),"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[k.getFieldValue("identity")=="teacher"&&{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u4E13\u4E1A"}]},v.createElement(P.Z,{size:"large",onChange:pt=>{c(N.filter(Lt=>Lt.name.includes(pt)))}},ue.map(function(pt,Lt){return v.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&v.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),R.identity==="student"&&v.createElement(K.Z,{gutter:[10,0],wrap:!1},v.createElement(r.Z,{flex:"240px"},v.createElement(x.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code_type",initialValue:2},v.createElement(i.default,null,v.createElement(We,{value:2},"\u624B\u673A\u53F7"),v.createElement(We,{value:1},"\u9080\u8BF7\u7801")))),v.createElement(r.Z,{flex:1},R.code_type===1?v.createElement(x.default.Item,{name:"code"},v.createElement(V.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u7684\u9080\u8BF7\u7801",maxLength:10})):v.createElement(x.default.Item,{name:"code"},v.createElement(V.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u4E2D\u6559\u5E08\u7684\u624B\u673A\u53F7\u540E\u516D\u4F4D",maxLength:10}))),v.createElement(M.Z,{title:"\u5F53\u524D\u8D26\u53F7\u7533\u8BF7\u8BA4\u8BC1\u7684\u5355\u4F4D\u4E0E\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u6240\u5C5E\u5355\u4F4D\u9700\u76F8\u540C"},v.createElement(r.Z,{style:{paddingTop:"10px"}},v.createElement("i",{className:"iconfont icon-a-wenhaobeifen2 primary-hover font14",style:{cursor:"pointer"}})))),v.createElement(x.default.Item,{label:"\u804C\u4E1A\u8BC1\u4E0A\u4F20",required:!0},v.createElement("div",{className:C.Z.flexRow},v.createElement("div",{className:`${C.Z.flexColumn} ${C.Z.example}`},v.createElement("span",{className:C.Z.exampleImg},v.createElement("img",{src:Ve})),v.createElement("span",{className:"tc"},v.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),v.createElement("p",{className:`${C.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))),v.createElement("div",{className:C.Z.flexColumn},v.createElement(st,T(ce({},kt),{accept:".png,.jpg,.bmp,.jpeg"}),y?v.createElement("img",{src:y,className:C.Z.uploadImg}):v.createElement("div",{className:C.Z.imageTip},v.createElement("p",null,v.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${C.Z.uploadTipIcon}`})),v.createElement("p",{className:C.Z.uploadTip},v.createElement("a",{className:C.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),v.createElement("span",{className:"tc"},v.createElement("p",{className:C.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))))),v.createElement("div",{className:C.Z.footerWrap},v.createElement(x.default.Item,null,v.createElement(me.ZP,{className:"mr5",size:"middle",onClick:Pt},"\u53D6\u6D88"),v.createElement(me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qe["account/applyProfessionalAuth"]},"\u63D0\u4EA4"))),v.createElement("div",{className:C.Z.note},v.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),v.createElement("p",null,"1.\u6839\u636E\u804C\u4E1A\u4E0A\u4F20\u76F8\u5E94\u7684\u8BC1\u4EF6\u7167\uFF1A\u6559\u5E08\uFF08\u6559\u5E08\u8BC1\uFF09\uFF0C\u4E13\u4E1A\u4EBA\u58EB\uFF08\u5458\u5DE5\u8BC1\uFF09\u3001\u5B66\u751F\uFF08\u5B66\u751F\u8BC1\uFF09\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u5185\u5BB9\u5B8C\u6574\u5E76\u4E14\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),v.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u804C\u4E1A\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),v.createElement("p",null,"3.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B\u804C\u4E1A\u53D8\u66F4\u8BF7\u9009\u62E9\u91CD\u65B0\u8BA4\u8BC1\uFF1B"),v.createElement("p",null,"4.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),v.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),v.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u5B66\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u804C\u4E1A\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3",!((Ke=ge==null?void 0:ge.setting)!=null&&Ke.is_local)&&"EduCoder","\u8D26\u53F7\u3002"),v.createElement("p",null,"7.\u975E\u8001\u5E08\u8EAB\u4EFD\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u804C\u4E1A\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))),v.createElement(lt.Z,{visible:it,onClose:()=>et(!1),schoolName:R.school,onSuccess:Ut}),v.createElement(Fe.Z,{visible:w,onClose:()=>pe(!1),schoolId:(bt=p.find(pt=>pt.name===R.school))==null?void 0:bt.id,schoolName:R.school,departmentName:R.department,onSuccess:pt=>Xt(R.school,pt)}),v.createElement(oe.Z,{visible:Ze,onClose:()=>Ue(!1),departmentId:(Te=f.find(pt=>pt.name===R.department))==null?void 0:Te.id,departmentName:R.department,majorName:k.getFieldValue("major_name"),onSuccess:pt=>{k.setFieldsValue({major_name:pt}),U(ce(ce({},k.getFieldsValue()),{major_name:pt})),wt()}}))};Je.Z=(0,d.connect)(({user:Ae,account:tt,loading:q,globalSetting:Se})=>({user:Ae,account:tt,globalSetting:Se,loading:q.effects}))(at)},44770:function(an,Je,t){t.r(Je),t.d(Je,{default:function(){return qe},identityMap:function(){return Se}});var e=t(59301),d=t(75790),i=t(82326),L=t(37568),x=t(28284),D=t(6767),E=t(62957),Z=t(77019),K=t(5269),r=t(25399),V=t(1560),M=t(47889),P=t(94968),me=t(7939),lt={wrap:"wrap___isQuw",content:"content___Gh5i7",hint:"hint___dh6_r",title:"title___Txz11",titleWrap:"titleWrap___p75TL",formWrap:"formWrap___tyQRy",identityWrap:"identityWrap___RmEwo",schoolHintWrap:"schoolHintWrap___WnTDr",colorCDCDCD:"colorCDCDCD___Xq4Mx",color0152d9:"color0152d9___lAjmo",submitButton:"submitButton___LHi3i",submitButtondiv:"submitButtondiv___J6VbH",glow:"glow___jcndc",staffidInput:"staffidInput___M9rEi",selecticon:"selecticon___T9WXy"},Fe=t(67585),Pe=t(56739),Ve=t(57792),C=t(32637),he=t(19374),s=t(63497),h=t(58617),oe=t(62772),le=t(98679),v=t(59195),je=t(98280),Oe=t(89392),ne=t(29831),Re=t(75694),de=t(49647),H=t(28210),n=t(59301),ce=Object.defineProperty,T=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,We=(Ke,bt,Te)=>bt in Ke?ce(Ke,bt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ke[bt]=Te,st=(Ke,bt)=>{for(var Te in bt||(bt={}))ze.call(bt,Te)&&We(Ke,Te,bt[Te]);if(T)for(var Te of T(bt))xe.call(bt,Te)&&We(Ke,Te,bt[Te]);return Ke},at=(Ke,bt)=>{var Te={};for(var k in Ke)ze.call(Ke,k)&&bt.indexOf(k)<0&&(Te[k]=Ke[k]);if(Ke!=null&&T)for(var k of T(Ke))bt.indexOf(k)<0&&xe.call(Ke,k)&&(Te[k]=Ke[k]);return Te},Ae=(Ke,bt,Te)=>new Promise((k,R)=>{var U=z=>{try{fe(Te.next(z))}catch(o){R(o)}},p=z=>{try{fe(Te.throw(z))}catch(o){R(o)}},fe=z=>z.done?k(z.value):Promise.resolve(z.value).then(U,p);fe((Te=Te.apply(Ke,bt)).next())});const tt=i.default.Option,{TextArea:q}=L.default,Se={teacher:"\u6559\u5E08",student:"\u5B66\u751F",professional:"\u4E13\u4E1A\u4EBA\u58EB"},ge=20,Qe=20,ie=Ke=>{var bt=Ke,{user:Te,account:k,globalSetting:R,shixunHomeworks:U,loading:p,dispatch:fe}=bt,z=at(bt,["user","account","globalSetting","shixunHomeworks","loading","dispatch"]),o,f,se,_,$;const[N]=x.default.useForm(),[X]=x.default.useForm(),[ue,c]=(0,e.useState)({}),[y,Ge]=(0,e.useState)(!1),[G,Le]=(0,e.useState)({}),[He,nt]=(0,e.useState)([]),[it,et]=(0,e.useState)([]),[w,pe]=(0,e.useState)([]),[Ze,Ue]=(0,e.useState)([]),[ot,Tt]=(0,e.useState)([]),[ct,dt]=(0,e.useState)([]),[Rt,Vt]=(0,e.useState)(!0),[Ht,Xt]=(0,e.useState)(!1),[wt,Ut]=(0,e.useState)(),[yt,Bt]=(0,e.useState)(null),[Pt,kt]=(0,e.useState)(!0),[Wt,pt]=(0,e.useState)(),[Lt,ln]=(0,e.useState)(!1),[rn,xn]=(0,e.useState)([]),[Dn,Mn]=(0,e.useState)(!0),[tn,Nn]=(0,e.useState)(!1),Pn=(0,e.useRef)(!0),[bn,Fn]=(0,e.useState)(""),[_n,Jn]=(0,e.useState)(""),[Be,Ie]=(0,e.useState)(""),I=(0,e.useRef)((0,Oe.throttle)(Q=>re(Q),1200,{leading:!0,trailing:!0})).current,{basicInfo:Y={}}=k,be=Y&&Y.professional_certification=="certified",ye=be?{visible:!1}:{visible:!1};(0,e.useEffect)(()=>{var Q,Ce;(Q=k.basicInfo)!=null&&Q.school_name&&re((Ce=k.basicInfo)==null?void 0:Ce.school_name)},[(o=k.basicInfo)==null?void 0:o.school_name]),(0,e.useEffect)(()=>{Dn&&(N.setFieldsValue({studentNo:G.studentNo}),N.validateFields(["studentNo"]))},[G.studentNo]),(0,e.useEffect)(()=>{G.identity==="student"&&!Dn&&N.validateFields(["studentNo"])},[G.identity]),(0,e.useEffect)(()=>{!Pt&&G.school&&!He.find(Q=>Q.name===G.school)?Fn("error"):Fn("")},[Pt,G.school,He]),(0,e.useEffect)(()=>{!Pt&&G.department&&!w.find(Q=>Q.name===G.department)?Jn("error"):Jn("")},[Pt,G.department,w]),(0,e.useEffect)(()=>{!Pt&&G.major_name&&(ot==null?void 0:ot.length)>0&&!ot.find(Q=>Q.name===G.major_name)&&Ie("error")},[Pt,G.major_name]);const g=Q=>{var Ce,Me;return(Me=(Ce=he.jh)==null?void 0:Ce.find(Ye=>Ye.name===Q))==null?void 0:Me.id},re=Q=>Ae(void 0,null,function*(){var Ce,Me;kt(!0);const Ye=yield fe({type:"account/getSchoolOption",payload:{keyword:Q,limit:99999,display_aliases:!0}});nt(Ye==null?void 0:Ye.schools),et(Ye==null?void 0:Ye.schools),Q&&Q!=""?(et((Ce=Ye==null?void 0:Ye.schools)==null?void 0:Ce.filter(ft=>ft.name.includes(Q))),(((Me=Ye==null?void 0:Ye.schools)==null?void 0:Me.find(ft=>ft.name===Q))||{}).id?yield O(Q,Y==null?void 0:Y.department_name,Ye==null?void 0:Ye.schools):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{school:Q,department:"",major_name:""})),pe([]),Ue([]),Tt([]),dt([]),Jn(""),Ie(""))):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{department:"",major_name:""})),pe([]),Ue([]),Tt([]),dt([]),Jn(""),Ie("")),kt(!1)}),De=Q=>{if(Q)return fe({type:"account/getDepartmentOption",payload:{id:Q}})};(0,e.useEffect)(()=>{var Q,Ce;if(!k.basicInfo)return;const{basicInfo:Me}=k,Ye={nickname:Me.nickname,name:Me.show_realname?Me.name:(0,he.YA)(Me.name),gender:Me.gender,city:[Me.location,Me.location_city],identity:Me.identity,school:Me.school_name,department:Me.department_name,major_name:Me.major_name,studentNo:Me.student_id,edu_entry_year:Me.edu_entry_year,edu_background:g(Me.edu_background),brief_introduction:Me.brief_introduction,jobTitle:Me.identity=="teacher"?Me.technical_title:"\u6559\u6388",manager:Me.identity=="professional"?Me.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",staff_id:Me.staff_id};Me!=null&&Me.face_image&&xn([{uid:"111",name:"111",url:de.Z.API_SERVER+Me.face_image,response:{id:(Ce=(Q=Me==null?void 0:Me.face_image)==null?void 0:Q.split("/"))==null?void 0:Ce[3]}}]),Ut(Me.name),Vt(Me.show_realname),Bt(Me.identity),N.setFieldsValue(Ye),Le(Ye)},[k.basicInfo]);const u=()=>{fe({type:"account/setActionTabs",payload:{key:"Account-AppplySchool"}})},S=()=>{if(!He.find(Q=>Q.name===G.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyDepartment"}})},A=()=>{if(!w.find(Q=>Q.name===G.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyProfession"}})},ve=Q=>{var Ce;Le(st({},N.getFieldsValue())),((Ce=Q==null?void 0:Q.nickname)==null?void 0:Ce.length)<=0&&(Vt(!0),N.setFieldsValue({name:wt})),"name"in Q&&Ut(Q.name),"identity"in Q&&N.setFieldsValue({staff_id:""})},j=()=>{const Q=!Rt;Vt(Q);const Ce=Q?wt:(0,he.YA)(wt);N.setFieldsValue({name:Ce})},O=(Q,Ce,Me)=>Ae(void 0,null,function*(){var Ye,ht;console.log(Ce),console.log(Pn);const ft=(Ye=(Me||He).find(Dt=>Dt.name===Q))==null?void 0:Ye.id,Ct=(yield De(ft))||{},It=Pn.current?Ce:(ht=Ct==null?void 0:Ct.departments[0])==null?void 0:ht.name;N.setFieldsValue({department:It}),Le(st(st({},N.getFieldsValue()),{school:Q,department:It})),pe([...Ct==null?void 0:Ct.departments]),Ue([...Ct==null?void 0:Ct.departments]),Ie(""),W(Pn.current,[...Ct==null?void 0:Ct.departments],Me)}),W=(Q=!1,Ce,Me)=>Ae(void 0,null,function*(){var Ye,ht,ft;console.log(N.getFieldsValue()),console.log(G),console.log(He),Pn.current=!1;let Ct=(Ye=Me.find(Dt=>Dt.name===N.getFieldValue("school")))==null?void 0:Ye.id,It=(ht=Ce.find(Dt=>Dt.name===N.getFieldValue("department")))==null?void 0:ht.id;if(It){const Dt=yield(0,je.ZP)(`/api/schools/${Ct}/departments/${It}/major_option.json`,{method:"get"});if((Dt==null?void 0:Dt.status)==0){Tt([...Dt==null?void 0:Dt.majors]),dt([...Dt==null?void 0:Dt.majors]);const Mt=Q?Y==null?void 0:Y.major_name:(ft=Dt==null?void 0:Dt.majors[0])==null?void 0:ft.name;N.setFieldsValue({major_name:Mt}),Le(st(st({},N.getFieldsValue()),{major_name:Mt}))}}}),ee=()=>Ae(void 0,null,function*(){var Q,Ce,Me,Ye;let ht=(Q=He.find(Ct=>Ct.name===N.getFieldValue("school")))==null?void 0:Q.id,ft=(Ce=w.find(Ct=>Ct.name===N.getFieldValue("department")))==null?void 0:Ce.id;if(ft){Ie("");const Ct=yield(0,je.ZP)(`/api/schools/${ht}/departments/${ft}/major_option.json`,{method:"get"});if((Ct==null?void 0:Ct.status)==0){Tt([...Ct==null?void 0:Ct.majors]),dt([...Ct==null?void 0:Ct.majors]);const It=(Ye=(Me=Ct==null?void 0:Ct.majors)==null?void 0:Me[0])==null?void 0:Ye.name;N.setFieldsValue({major_name:It}),Le(st(st({},N.getFieldsValue()),{major_name:It}))}}}),ae=Q=>Ae(void 0,null,function*(){yield re(),N.setFieldsValue({school:Q,department:""}),Le(st(st({},G),{school:Q,department:""}))}),b=Q=>Ae(void 0,null,function*(){E.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:Q?"\u60A8\u5DF2\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u59D3\u540D\u9700\u8981\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?":"\u60A8\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u4FE1\u606F\u9700\u8981\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?",onOk:()=>Ae(void 0,null,function*(){var Ce,Me,Ye;(Q?yield(0,s.RA)({login:(Ce=Te.userInfo)==null?void 0:Ce.login}):yield(0,s.kN)({login:(Me=Te.userInfo)==null?void 0:Me.login}))&&(D.ZP.success(Q?"\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\u6210\u529F":"\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\u6210\u529F"),fe({type:"account/getBasicInfo",payload:{login:(Ye=Te.userInfo)==null?void 0:Ye.login}}))})})}),m=()=>{const Q=new Date().getFullYear();return Array(31).fill({}).map(function(Ce,Me){return n.createElement(tt,{key:Me,value:Q-Me},n.createElement("span",null,Q-Me))})},B=Q=>{var Ce,Me,Ye,ht;if(Q==="number")return G.identity==="teacher"?`${(Ce=R==null?void 0:R.setting)==null?void 0:Ce.homepage_tea_qq_number}`:`${(Me=R==null?void 0:R.setting)==null?void 0:Me.homepage_stu_qq_number}`;if(Q==="code")return G.identity==="teacher"?`${de.Z.IMG_SERVER}/${(Ye=R==null?void 0:R.setting)==null?void 0:Ye.homepage_tea_qq_qrcode_url}`:`${de.Z.IMG_SERVER}/${(ht=R==null?void 0:R.setting)==null?void 0:ht.homepage_stu_qq_qrcode_url}`},te=Q=>Ae(void 0,null,function*(){var Ce,Me,Ye,ht,ft,Ct,It,Dt;const{nickname:Mt,gender:$t,identity:Et,studentNo:Jt,jobTitle:At,manager:sn,school:Gt,department:Yt,edu_background:nn,edu_entry_year:fn,brief_introduction:Zt,face_image:Qt,staff_id:Ft,major_name:_e}=Q,mt=(Ce=w.find(en=>en.name===Yt))==null?void 0:Ce.id,Kt=(Me=He.find(en=>en.name===Gt))==null?void 0:Me.id,jt=Et==="student"?(Ye=ot.find(en=>en.name===_e))==null?void 0:Ye.id:null,{basicInfo:qt}=k;console.log("B",Q,qt);let un=[];qt.authentication!="uncertified"&&(wt!=qt.name&&un.push("\u59D3\u540D"),$t!=qt.gender&&un.push("\u6027\u522B"));let on=[];if(be&&(Et!=qt.identity?on.push("\u804C\u4E1A"):(G.identity,G.identity==="teacher"&&At!=qt.technical_title&&on.push("\u804C\u4E1A"),G.identity==="professional"&&sn!=qt.technical_title&&on.push("\u804C\u4E1A")),Gt!=qt.school_name&&on.push("\u5B66\u6821/\u5355\u4F4D"),Yt!=qt.department_name&&on.push("\u9662\u7CFB/\u90E8\u95E8"),Et==="student"&&_e!=qt.major_name&&on.push("\u4E13\u4E1A")),!Kt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Yt&&!mt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Et==="student"&&_e&&!jt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(un.length>0||on.length>0)E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",null,`\u672C\u6B21\u4FEE\u6539\u6D89\u53CA${un.toString().replaceAll(",","\u3001")}${un.length>0&&on.length>0?"\u3001":""}${on.toString().replaceAll(",","\u3001")}\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C${un.length>0?"\u5B9E\u540D\u8BA4\u8BC1":""}${un.length>0&&on.length>0?"\u548C":""}${on.length>0?"\u804C\u4E1A\u8BA4\u8BC1":""}\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539`),onOk:()=>Ae(void 0,null,function*(){var en,cn,Rn,Bn,yn,dn,Kn;un.length>0&&(yield(0,s.RA)({login:(en=Te.userInfo)==null?void 0:en.login})),on.length>0&&(yield(0,s.kN)({login:(cn=Te.userInfo)==null?void 0:cn.login}));const Xn=yield fe({type:"account/updateAccount",payload:{id:(Rn=k.basicInfo)==null?void 0:Rn.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(yn=(Bn=rn==null?void 0:rn[0])==null?void 0:Bn.response)==null?void 0:yn.id}});if((Xn==null?void 0:Xn.status)!==-1&&Xn){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(dn=k.basicInfo)!=null&&dn.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Kn=Te.userInfo)==null?void 0:Kn.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}})});else{const en=yield fe({type:"account/updateAccount",payload:{id:(ht=k.basicInfo)==null?void 0:ht.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,staff_id:Ft,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(Ct=(ft=rn==null?void 0:rn[0])==null?void 0:ft.response)==null?void 0:Ct.id}});if((en==null?void 0:en.status)===-1)return;if(en){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(It=k.basicInfo)!=null&&It.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Dt=Te.userInfo)==null?void 0:Dt.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}}}),we=()=>{Xt(!1),d.history.push("/account/profile")},Ne=n.createElement("div",null,Lt?n.createElement(h.Z,null):n.createElement(oe.Z,null),n.createElement("div",{style:{marginTop:8}},"\u4E0A\u4F20")),ut=(Q,Ce)=>{const Me=new FileReader;Me.addEventListener("load",()=>Ce(Me.result)),Me.readAsDataURL(Q)},ke=()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return n.createElement("section",{className:lt.wrap},n.createElement("div",{className:lt.content},n.createElement("div",{className:lt.titleWrap},n.createElement("div",{className:lt.title},"\u57FA\u672C\u4FE1\u606F")),n.createElement(x.default,{form:N,className:lt.formWrap,layout:"horizontal",onValuesChange:ve,onFinish:te,scrollToFirstError:!0},n.createElement(x.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${ge}\u4E2A\u5B57\u7B26`},{validator:he.HJ}],extra:n.createElement("span",null,G.nickname?Rt?"\u663E\u793A\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D":"\u9690\u85CF\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u4F60\u7684\u6635\u79F0":"\u586B\u5199\u6635\u79F0\u540E\u53EF\u8BBE\u7F6E\u59D3\u540D\u8FDB\u884C\u9690\u85CF\uFF08\u5F53\u8FDB\u884C\u59D3\u540D\u641C\u7D22\u65F6\uFF0C\u4F1A\u5C55\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D\uFF09")},n.createElement(L.default,{style:{height:40},disabled:G.nickname?!Rt:!1,placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${ge}\u4E2A\u5B57\u7B26`,maxLength:ge,suffix:G.nickname?n.createElement("i",{style:{lineHeight:"26px"},className:`iconfont ${Rt?"icon-xianshi":"icon-yincang"} font18 ${lt.color0152d9}`,onClick:j}):null})),n.createElement(Z.Z,{gutter:[10,0]},n.createElement(K.Z,null,n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},n.createElement(i.default,{style:{width:135},size:"large"},n.createElement(tt,{value:"teacher"},"\u6559\u5E08"),n.createElement(tt,{value:"student"},"\u5B66\u751F"),n.createElement(tt,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB"))))),n.createElement(K.Z,null,G.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:G.studentNo,name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(Q,Ce)=>Ae(void 0,null,function*(){var Me,Ye;Mn(!1);const ht=yield(0,je.ZP)(`/api/users/accounts/${(Me=Te==null?void 0:Te.userInfo)==null?void 0:Me.user_id}/valid_student_id`,{method:"get",params:{school_id:((Ye=He==null?void 0:He.find(ft=>ft.name===G.school))==null?void 0:Ye.id)||(Y==null?void 0:Y.school_id),student_id:Ce}});return(ht==null?void 0:ht.status)<-1&&tn&&(Ge(!0),Nn(!1)),(ht==null?void 0:ht.status)<-1?Promise.reject(n.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",n.createElement("a",{onClick:()=>{Ge(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},n.createElement(L.default,{size:"large",style:{width:320},type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",showCount:!0,maxLength:20}))),G.identity==="teacher"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:G.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u6559\u6388"},"\u6559\u6388"),n.createElement(tt,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),n.createElement(tt,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),G.identity==="professional"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:G.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),(G.identity==="teacher"||G.identity==="professional")&&n.createElement(K.Z,{flex:1},n.createElement(x.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",labelCol:{span:4},rules:[{validator:(Q,Ce)=>Ce===null||Ce===""||Ce===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(Ce)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):Ce.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},n.createElement(L.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",className:lt.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",wrapperCol:{span:10},extra:!Pt&&G.school&&!(He!=null&&He.find(Q=>Q.name===G.school))&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",G.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",G.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:G.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},n.createElement(V.Z,{status:bn,size:"large",showSearch:!0,onChange:I,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"},it.map((Q,Ce)=>n.createElement(tt,{key:Ce,value:Q.name},Q.name)))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",wrapperCol:{span:10},extra:!Pt&&G.department&&!(w!=null&&w.find(Q=>Q.name===G.department))&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},G.department?`\u672A\u627E\u5230\u5305\u542B\u201C${G.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),n.createElement("span",{className:lt.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{ke()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(V.Z,{status:_n,size:"large",placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",onChange:Q=>{Q==""&&(N.setFieldsValue({major_name:""}),Le(st(st({},N.getFieldsValue()),{major_name:""})),Tt([]),dt([]),Ie("")),ee(),Ue(w.filter(Ce=>Ce.name.includes(Q)))}},Ze.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.name},Q.name,(Q==null?void 0:Q.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),G.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",wrapperCol:{span:10},extra:Be==="error"&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},"\u672A\u627E\u5230\u201C",G.major_name,"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",G.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:G.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(V.Z,{status:Be,size:"large",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",onChange:Q=>{if(dt(ot.filter(Ce=>Ce.name.includes(Q))),Q&&(ot==null?void 0:ot.length)==0){Ie("error");return}if(Q==""){Ie("");return}if(Q&&(ot==null?void 0:ot.length)>0&&ot.find(Ce=>Ce.name===Q)){Ie("");return}}},ct.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.name},Q.name,(Q==null?void 0:Q.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(x.default.Item,{label:"\u6635\u79F0",name:"nickname",rules:[{message:"\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0"},{validator:he.G7}],validateTrigger:"onSubmit"},n.createElement(L.default,{style:{height:40},placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0\uFF0C\u6700\u5927\u9650\u5236${Qe}\u4E2A\u5B57\u7B26`,maxLength:Qe,suffix:`${((f=G.nickname)==null?void 0:f.length)||0}/${Qe}`})),n.createElement(x.default.Item,{labelCol:{span:3},wrapperCol:{span:4},label:"\u6027\u522B",className:"mb0"},n.createElement(x.default.Item,{name:"gender"},n.createElement(M.ZP.Group,null,n.createElement(M.ZP,{value:0},"\u7537"),n.createElement(M.ZP,{value:1},"\u5973")))),n.createElement(x.default.Item,{label:"\u5165\u5B66\u5E74\u4EFD",name:"edu_entry_year",wrapperCol:{span:10}},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u5165\u5B66\u5E74\u4EFD",size:"large"},m())),n.createElement(x.default.Item,{label:"\u6700\u9AD8\u5B66\u5386",wrapperCol:{span:10},name:"edu_background"},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u6700\u9AD8\u5B66\u5386",size:"large"},he.jh.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.id},Q.name)}))),n.createElement("div",{style:{display:"flex"}},n.createElement(x.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167",wrapperCol:{span:10},name:"face_image"},n.createElement(P.default,{listType:"picture-card",withCredentials:!0,className:"avatar-uploader",fileList:rn,onPreview:Q=>{v.Z.publish("preview-image",Q.thumbUrl||Q.url)},action:`${de.Z.API_SERVER}/api/attachments.json`,beforeUpload:Q=>{const Ce=Q.type==="image/jpeg"||Q.type==="image/png";if(!Ce)return D.ZP.error("\u60A8\u4E0A\u4F20\u7684\u4E0D\u662FJPG/PNG\u7C7B\u578B\u6587\u4EF6"),Promise.reject();const Me=Q.size/1024/1024<1;return Me?Ce&&Me:(D.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E1MB"),Promise.reject())},onChange:Q=>{xn([...Q.fileList])}},(rn==null?void 0:rn.length)>0?null:Ne)),n.createElement("div",{style:{marginLeft:16,color:"#666666",display:"flex",flexDirection:"column",marginTop:5}},n.createElement("span",null,"\u8981\u6C42\uFF1A"),n.createElement("span",null,"1.\u5B66\u751F\u7167\u7247\u5FC5\u987B\u4E3A\u9AD8\u6E05\u7684\u4EBA\u8138\u7167"),n.createElement("span",null,"2.\u6309\u7167 \u59D3\u540D-\u5B66\u53F7 \u7684\u65B9\u5F0F\u6765\u547D\u540D\u7167\u7247"),n.createElement("span",null,"3.\u56FE\u7247\u5927\u5C0F\u57281MB\u4EE5\u5185"))),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u7B80\u4ECB",name:"brief_introduction",rules:[{required:!1}]},n.createElement(q,{maxLength:500,rows:6})),n.createElement("div",{style:{position:"absolute",bottom:10,right:10}},(se=N.getFieldValue("brief_introduction"))==null?void 0:se.length,"/500")),n.createElement(x.default.Item,null,n.createElement(me.ZP,{className:`${U.actionTabs.type===2?lt.submitButtondiv:lt.submitButton} ml100`,size:"middle",type:"primary",onClick:()=>{Nn(!0),N.submit()},loading:p["account/editAccount"]},"\u4FDD\u5B58"),n.createElement(me.ZP,{className:lt.submitButton,size:"middle",onClick:()=>d.history.push("/account/profile")},"\u53D6\u6D88")))),n.createElement("div",{className:`${lt.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),n.createElement(Fe.Z,{visible:k.actionTabs.key==="Account-AppplySchool",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolName:G.school,onSuccess:ae}),n.createElement(Pe.Z,{visible:k.actionTabs.key==="Account-AppplyDepartment",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolId:(_=He.find(Q=>Q.name===G.school))==null?void 0:_.id,schoolName:G.school,departmentName:G.department,onSuccess:Q=>O(G.school,Q)}),n.createElement(H.Z,{visible:k.actionTabs.key==="Account-AppplyProfession",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},departmentId:($=w.find(Q=>Q.name===G.department))==null?void 0:$.id,departmentName:G.department,majorName:G.major_name,onSuccess:Q=>{N.setFieldsValue({major_name:Q}),Le(st(st({},N.getFieldsValue()),{major_name:Q})),ee()}}),n.createElement(E.default,{centered:!0,destroyOnClose:!0,open:Ht,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:560,footer:null,onCancel:()=>{Xt(!1)}},n.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},n.createElement("aside",{style:{letterSpacing:1}},"\u57FA\u4E8E\u60A8\u6240\u5728\u9662\u6821\u4E0E\u5E73\u53F0\u6709\u6DF1\u5EA6\u5408\u4F5C\uFF0C\u6211\u4EEC\u7279\u610F\u4E3A\u60A8\u914D\u5907\u4E86\u5E73\u53F0\u76841\u5BF91\u52A9\u6559\uFF0C\u60A8\u53EF\u4EE5\u626B\u63CF\u4E0B\u65B9\u4E8C\u7EF4\u7801\u6DFB\u52A0\u52A9\u7406\u5FAE\u4FE1\uFF0C\u6211\u4EEC\u5C067*24\u5C0F\u65F6\u4E3A\u60A8\u7B54\u7591\u89E3\u60D1\u3002"),n.createElement("img",{className:"mt20 mb20",src:C,width:162,height:162}))),n.createElement(E.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:y,centered:!0,destroyOnClose:!0,onCancel:()=>{Ge(!1),X.resetFields()},onOk:()=>{X.submit()}},n.createElement(x.default,{form:X,size:"large",onValuesChange:(Q,Ce)=>{c(Ce)},onFinish:Q=>Ae(void 0,null,function*(){var Ce,Me;(yield(0,je.ZP)(`/api/users/accounts/${(Ce=Te==null?void 0:Te.userInfo)==null?void 0:Ce.user_id}/unbind_student_id.json`,{method:"post",body:st({student_id:G.studentNo,school_id:((Me=He==null?void 0:He.find(ht=>ht.name===G.school))==null?void 0:Me.id)||(Y==null?void 0:Y.school_id),check_type:4},Q)})).status==0&&(D.ZP.success("\u89E3\u7ED1\u6210\u529F"),N.validateFields(),X.resetFields(),Ge(!1))})},n.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",G.studentNo||N.getFieldValue("studentNo"),"\uFF09\u5728",G.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",n.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),n.createElement(x.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${G==null?void 0:G.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},n.createElement(L.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${G==null?void 0:G.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),n.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",n.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),n.createElement(le.Z,null),n.createElement(Ve.Z,null))};var qe=(0,d.connect)(({user:Ke,account:bt,loading:Te,globalSetting:k,shixunHomeworks:R})=>({user:Ke,account:bt,globalSetting:k,loading:Te.effects,shixunHomeworks:R}))(ie)},33542:function(an,Je,t){t.r(Je),t.d(Je,{default:function(){return Pe}});var e=t(75790),d=t(7939),i=t(28284),L=t(94968),x={wrap:"wrap___b7NLQ",content:"content___PtdDU",hint:"hint___eYy0R",title:"title___Ijn2y",titleWrap:"titleWrap___DpFsH",formWrap:"formWrap___Obi0m"},D=t(44770),E=t(19374),Z=t(49647),K=t(98679),r=t(59195),V=t(59301),M=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,lt=(Ve,C)=>{var he={};for(var s in Ve)P.call(Ve,s)&&C.indexOf(s)<0&&(he[s]=Ve[s]);if(Ve!=null&&M)for(var s of M(Ve))C.indexOf(s)<0&&me.call(Ve,s)&&(he[s]=Ve[s]);return he};const Fe=Ve=>{var C=Ve,{account:he,globalSetting:s,loading:h,dispatch:oe}=C,le=lt(C,["account","globalSetting","loading","dispatch"]);const{basicInfo:v}=he;return V.createElement("section",{className:x.wrap},V.createElement("div",{className:x.content},V.createElement("div",{className:x.titleWrap},V.createElement("div",{className:x.title},"\u57FA\u672C\u4FE1\u606F"),V.createElement(d.ZP,{type:"primary",ghost:!0,onClick:()=>{localStorage.getItem("Noviceguide")==="0"||oe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/account/profile/edit",text:V.createElement("div",null,"\u8BF7\u60A8\u5B8C\u5584\u4E00\u4E0B\u5E73\u53F0\u7684\u57FA\u672C\u4FE1\u606F\uFF0C\u5305\u62EC\uFF1A\u6635\u79F0\u3001\u804C\u4E1A\u3001\u5B66\u6821/\u5355\u4F4D\uFF0C \u70B9\u51FB\u4FDD\u5B58")}}),e.history.push("/account/profile/edit")}},"\u4FEE\u6539")),V.createElement(i.default,{className:x.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},V.createElement(i.default.Item,{label:"\u59D3\u540D"},(v==null?void 0:v.show_realname)==!0?v==null?void 0:v.name:(0,E.YA)(v==null?void 0:v.name)),V.createElement(i.default.Item,{label:"\u804C\u4E1A"},D.identityMap[v==null?void 0:v.identity],"\u3000",(v==null?void 0:v.technical_title)||(v==null?void 0:v.student_id),V.createElement("span",{className:"ml20"},v!=null&&v.student_id?"":v==null?void 0:v.staff_id)),V.createElement(i.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},v==null?void 0:v.school_name),V.createElement(i.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},v==null?void 0:v.department_name),(v==null?void 0:v.identity)==="student"&&V.createElement(i.default.Item,{label:"\u4E13\u4E1A"},v==null?void 0:v.major_name),V.createElement(i.default.Item,{label:"\u6635\u79F0"},v==null?void 0:v.nickname),V.createElement(i.default.Item,{label:"\u6027\u522B"},(v==null?void 0:v.gender)==0?"\u7537":"\u5973"),V.createElement(i.default.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},v==null?void 0:v.edu_entry_year),V.createElement(i.default.Item,{label:"\u6700\u9AD8\u5B66\u5386"},v==null?void 0:v.edu_background),(v==null?void 0:v.face_image)&&V.createElement(i.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167"},V.createElement(L.default,{listType:"picture-card",withCredentials:!0,disabled:!0,onPreview:je=>{r.Z.publish("preview-image",je.thumbUrl||je.url)},className:"avatar-uploader",fileList:[{uid:"111",name:"111",url:Z.Z.API_SERVER+(v==null?void 0:v.face_image)}]})),V.createElement(i.default.Item,{label:"\u7B80\u4ECB"},v==null?void 0:v.brief_introduction))),V.createElement("div",{className:`${x.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),V.createElement(K.Z,null))};var Pe=(0,e.connect)(({account:Ve,loading:C,globalSetting:he})=>({account:Ve,globalSetting:he,loading:C.models.index}))(Fe)},67585:function(an,Je,t){t.d(Je,{Z:function(){return v}});var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(62957),D=t(70858),E=t(6767),Z=t(79939),K=t(7939),r=t(29679),V=t(19248),M=t(26221),P={flexRow:"flexRow___qRWfN",flexColumn:"flexColumn___qUHfF",formWrap:"formWrap___kSgvX",example:"example___D0a_H",footerWrap:"footerWrap___kTeYf"},me=Object.defineProperty,lt=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ve=(je,Oe,ne)=>Oe in je?me(je,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ne}):je[Oe]=ne,C=(je,Oe)=>{for(var ne in Oe||(Oe={}))Fe.call(Oe,ne)&&Ve(je,ne,Oe[ne]);if(lt)for(var ne of lt(Oe))Pe.call(Oe,ne)&&Ve(je,ne,Oe[ne]);return je},he=(je,Oe)=>{var ne={};for(var Re in je)Fe.call(je,Re)&&Oe.indexOf(Re)<0&&(ne[Re]=je[Re]);if(je!=null&<)for(var Re of lt(je))Oe.indexOf(Re)<0&&Pe.call(je,Re)&&(ne[Re]=je[Re]);return ne},s=(je,Oe,ne)=>new Promise((Re,de)=>{var H=T=>{try{ce(ne.next(T))}catch(ze){de(ze)}},n=T=>{try{ce(ne.throw(T))}catch(ze){de(ze)}},ce=T=>T.done?Re(T.value):Promise.resolve(T.value).then(H,n);ce((ne=ne.apply(je,Oe)).next())});const h=(je,Oe)=>Oe.some(ne=>ne.label.toLowerCase().indexOf(je.toLowerCase())>-1),oe=i.default.TextArea,le=je=>{var Oe=je,{account:ne,globalSetting:Re,loading:de,dispatch:H,schoolName:n,visible:ce,onClose:T=()=>{},onSuccess:ze=()=>{}}=Oe,xe=he(Oe,["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"]);const[We]=L.default.useForm();(0,e.useEffect)(()=>{We.setFieldsValue({name:n})},[n]);const st=at=>s(void 0,null,function*(){const{name:Ae,city:tt=[],address:q,remarks:Se}=at||{},ge=yield H({type:"account/appplySchool",payload:{name:Ae,province:tt[0],city:tt[1],address:q,remarks:Se}});if((ge==null?void 0:ge.status)==2){const Qe=x.default.confirm({icon:null,width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement(e.Fragment,null,e.createElement("p",null,"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u5355\u4F4D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u5355\u4F4D\uFF1F"),e.createElement(D.default,{columns:[{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"name"},{title:"\u7528\u6237\u6570",width:150,dataIndex:"users_count"}],dataSource:[C({},ge)],pagination:!1})),onOk:()=>s(void 0,null,function*(){yield ze(Ae),Qe.destroy(),T()}),onCancel:()=>{Qe.destroy()}});return}T(),ge.status==0&&(E.ZP.success("\u65B0\u589E\u5B66\u6821/\u5355\u4F4D\u6210\u529F\uFF01"),ze(Ae))});return e.createElement(x.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce,title:"\u7533\u8BF7\u6DFB\u52A0\u5355\u4F4D\u540D\u79F0",width:"600px",footer:null},e.createElement(L.default,{className:P.formWrap,form:We,labelCol:{span:4},wrapperCol:{span:20},onFinish:st},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u5168\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"}]},e.createElement(i.default,{placeholder:"\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"})),e.createElement("div",{className:`${P.flexRow} ${P.example}`},e.createElement("div",null,"\u793A\u4F8B\uFF1A"),e.createElement("div",{className:P.flexColumn},e.createElement("div",null,e.createElement(r.Z,{style:{color:"rgb(82, 196, 26)"}}),e.createElement("span",{className:"font14 ml5"},"\u6B63\u786E\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u6784")),e.createElement("div",null,e.createElement(V.Z,{style:{color:"red"}}),e.createElement("span",{className:"font14 ml5"},"\u9519\u8BEF\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u67842019\u6625")))),e.createElement(L.default.Item,{label:"\u5730\u533A\uFF1A",name:"city"},e.createElement(Z.Z,{allowClear:!0,size:"middle",options:M.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",showSearch:{matchInputWidth:!0,filter:h}})),e.createElement(L.default.Item,{label:"\u8BE6\u7EC6\u5730\u5740\uFF1A",name:"address"},e.createElement(i.default,{placeholder:"\u8BF7\u586B\u5199\u5B8C\u6574\u7684\u5730\u5740\u4FE1\u606F"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks"},e.createElement(oe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"})),e.createElement("div",{className:P.footerWrap},e.createElement(L.default.Item,null,e.createElement(K.ZP,{className:"mr5",size:"middle",onClick:()=>{T()}},"\u53D6\u6D88"),e.createElement(K.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:de["account/appplySchool"]},"\u4FDD\u5B58")))))};var v=(0,d.connect)(({account:je,loading:Oe,globalSetting:ne})=>({account:je,globalSetting:ne,loading:Oe.effects}))(le)},26221:function(an,Je,t){t.d(Je,{P:function(){return e}});const e=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},29509:function(an,Je,t){t.d(Je,{o2:function(){return x},yT:function(){return D}});var e=t(94480),d=t(34998);const i=d.i.map(E=>`${E}-inverse`),L=["success","processing","error","default","warning"];function x(E){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(i),(0,e.Z)(d.i)).includes(E):d.i.includes(E)}function D(E){return L.includes(E)}},9981:function(an,Je){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let d=1;d{const x=i[L];x!==void 0&&(e[L]=x)})}return e};Je.Z=t},99402:function(an,Je,t){t.d(Je,{T:function(){return d},n:function(){return e}});function e(i){return["small","middle","large"].includes(i)}function d(i){return i?typeof i=="number"&&!Number.isNaN(i):!1}},86013:function(an,Je,t){var e=t(59301),d=t(19248);const i=L=>{let x;return typeof L=="object"&&(L!=null&&L.clearIcon)?x=L:L&&(x={clearIcon:e.createElement(d.Z,null)}),x};Je.Z=i},97224:function(an,Je,t){t.d(Je,{F:function(){return e}});function e(i){return i!=null&&i===i.window}const d=i=>{var L,x;if(typeof window=="undefined")return 0;let D=0;return e(i)?D=i.pageYOffset:i instanceof Document?D=i.documentElement.scrollTop:(i instanceof HTMLElement||i)&&(D=i.scrollTop),i&&!e(i)&&typeof D!="number"&&(D=(x=((L=i.ownerDocument)!==null&&L!==void 0?L:i).documentElement)===null||x===void 0?void 0:x.scrollTop),D};Je.Z=d},52838:function(an,Je,t){t.d(Je,{Z:function(){return D}});var e=t(37645);function d(E,Z,K,r){if(r===!1)return{adjustX:!1,adjustY:!1};const V=r&&typeof r=="object"?r:{},M={};switch(E){case"top":case"bottom":M.shiftX=Z.arrowOffsetHorizontal*2+K,M.shiftY=!0,M.adjustY=!0;break;case"left":case"right":M.shiftY=Z.arrowOffsetVertical*2+K,M.shiftX=!0,M.adjustX=!0;break}const P=Object.assign(Object.assign({},M),V);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},L={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},x=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(E){const{arrowWidth:Z,autoAdjustOverflow:K,arrowPointAtCenter:r,offset:V,borderRadius:M,visibleFirst:P}=E,me=Z/2,lt={};return Object.keys(i).forEach(Fe=>{const Pe=r&&L[Fe]||i[Fe],Ve=Object.assign(Object.assign({},Pe),{offset:[0,0],dynamicInset:!0});switch(lt[Fe]=Ve,x.has(Fe)&&(Ve.autoArrow=!1),Fe){case"top":case"topLeft":case"topRight":Ve.offset[1]=-me-V;break;case"bottom":case"bottomLeft":case"bottomRight":Ve.offset[1]=me+V;break;case"left":case"leftTop":case"leftBottom":Ve.offset[0]=-me-V;break;case"right":case"rightTop":case"rightBottom":Ve.offset[0]=me+V;break}const C=(0,e.wZ)({contentRadius:M,limitVerticalRadius:!0});if(r)switch(Fe){case"topLeft":case"bottomLeft":Ve.offset[0]=-C.arrowOffsetHorizontal-me;break;case"topRight":case"bottomRight":Ve.offset[0]=C.arrowOffsetHorizontal+me;break;case"leftTop":case"rightTop":Ve.offset[1]=-C.arrowOffsetHorizontal*2+me;break;case"leftBottom":case"rightBottom":Ve.offset[1]=C.arrowOffsetHorizontal*2-me;break}Ve.overflow=d(Fe,C,Z,K),P&&(Ve.htmlRegion="visibleFirst")}),lt}},83010:function(an,Je,t){t.d(Je,{Z:function(){return L}});var e=t(16089);function d(x,D,E,Z){const K=E-D;return x/=Z/2,x<1?K/2*x*x*x+D:K/2*((x-=2)*x*x+2)+D}var i=t(97224);function L(x){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:E=()=>window,callback:Z,duration:K=450}=D,r=E(),V=(0,i.Z)(r),M=Date.now(),P=()=>{const lt=Date.now()-M,Fe=d(lt>K?K:lt,V,x,K);(0,i.F)(r)?r.scrollTo(window.pageXOffset,Fe):r instanceof Document||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=Fe:r.scrollTop=Fe,ltE||D},1560:function(an,Je,t){t.d(Je,{Z:function(){return Ve}});var e=t(2738),d=t(45915),i=t(82326),L=t(59301),x=t(92310),D=t.n(x),E=t(11592),Z=t(75030),K=t(48755);const{Option:r}=i.default;function V(C){return(C==null?void 0:C.type)&&(C.type.isSelectOption||C.type.isSelectOptGroup)}const M=(C,he)=>{var s;const{prefixCls:h,className:oe,popupClassName:le,dropdownClassName:v,children:je,dataSource:Oe}=C,ne=(0,E.Z)(je);let Re;ne.length===1&&L.isValidElement(ne[0])&&!V(ne[0])&&([Re]=ne);const de=Re?()=>Re:void 0;let H;ne.length&&V(ne[0])?H=je:H=Oe?Oe.map(ze=>{if(L.isValidElement(ze))return ze;switch(typeof ze){case"string":return L.createElement(r,{key:ze,value:ze},ze);case"object":{const{value:xe}=ze;return L.createElement(r,{key:xe,value:xe},ze.text)}default:return}}):[];const{getPrefixCls:n}=L.useContext(K.E_),ce=n("select",h),[T]=(0,Z.Cn)("SelectLike",(s=C.dropdownStyle)===null||s===void 0?void 0:s.zIndex);return L.createElement(i.default,Object.assign({ref:he,suffixIcon:null},(0,e.Z)(C,["dataSource","dropdownClassName"]),{prefixCls:ce,popupClassName:le||v,dropdownStyle:Object.assign(Object.assign({},C.dropdownStyle),{zIndex:T}),className:D()(`${ce}-auto-complete`,oe),mode:i.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:de}),H)};var me=L.forwardRef(M);const{Option:lt}=i.default,Fe=(0,d.Z)(me,"dropdownAlign",C=>(0,e.Z)(C,["visible"])),Pe=me;Pe.Option=lt,Pe._InternalPanelDoNotUseOrYouWillBeFired=Fe;var Ve=Pe},79939:function(an,Je,t){t.d(Je,{Z:function(){return De}});var e=t(94480),d=t(59301),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(42978),Z=t(75931),K=t(37463),r=t(6551),V=t(6089),M=t(18929),P=d.createContext({}),me=P,lt=t(76190),Fe=t(20068),Pe="__rc_cascader_search_mark__",Ve=function(S,A,ve){var j=ve.label,O=j===void 0?"":j;return A.some(function(W){return String(W[O]).toLowerCase().includes(S.toLowerCase())})},C=function(S,A,ve,j){return A.map(function(O){return O[j.label]}).join(" / ")},he=function(S,A,ve,j,O,W){var ee=O.filter,ae=ee===void 0?Ve:ee,b=O.render,m=b===void 0?C:b,B=O.limit,te=B===void 0?50:B,we=O.sort;return d.useMemo(function(){var Ne=[];if(!S)return[];function ut(ke,Q){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ke.forEach(function(Me){if(!(!we&&te!==!1&&te>0&&Ne.length>=te)){var Ye=[].concat((0,e.Z)(Q),[Me]),ht=Me[ve.children],ft=Ce||Me.disabled;if((!ht||ht.length===0||W)&&ae(S,Ye,{label:ve.label})){var Ct;Ne.push((0,D.Z)((0,D.Z)({},Me),{},(Ct={disabled:ft},(0,Fe.Z)(Ct,ve.label,m(S,Ye,j,ve)),(0,Fe.Z)(Ct,Pe,Ye),(0,Fe.Z)(Ct,ve.children,void 0),Ct)))}ht&&ut(Me[ve.children],Ye,ft)}})}return ut(A,[]),we&&Ne.sort(function(ke,Q){return we(ke[Pe],Q[Pe],S,ve)}),te!==!1&&te>0?Ne.slice(0,te):Ne},[S,A,ve,j,m,W,ae,we,te])},s=he,h="__RC_CASCADER_SPLIT__",oe="SHOW_PARENT",le="SHOW_CHILD";function v(u){return u.join(h)}function je(u){return u.map(v)}function Oe(u){return u.split(h)}function ne(u){var S=u||{},A=S.label,ve=S.value,j=S.children,O=ve||"value";return{label:A||"label",value:O,key:O,children:j||"children"}}function Re(u,S){var A,ve;return(A=u.isLeaf)!==null&&A!==void 0?A:!((ve=u[S.children])!==null&&ve!==void 0&&ve.length)}function de(u){var S=u.parentElement;if(S){var A=u.offsetTop-S.offsetTop;A-S.scrollTop<0?S.scrollTo({top:A}):A+u.offsetHeight-S.scrollTop>S.offsetHeight&&S.scrollTo({top:A+u.offsetHeight-S.offsetHeight})}}function H(u,S){return u.map(function(A){var ve;return(ve=A[Pe])===null||ve===void 0?void 0:ve.map(function(j){return j[S.value]})})}function n(u){return Array.isArray(u)&&Array.isArray(u[0])}function ce(u){return u?n(u)?u:(u.length===0?[]:[u]).map(function(S){return Array.isArray(S)?S:[S]}):[]}function T(u,S,A){var ve=new Set(u),j=S();return u.filter(function(O){var W=j[O],ee=W?W.parent:null,ae=W?W.children:null;return W&&W.node.disabled?!0:A===le?!(ae&&ae.some(function(b){return b.key&&ve.has(b.key)})):!(ee&&!ee.node.disabled&&ve.has(ee.key))})}function ze(u,S,A){for(var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,j=S,O=[],W=function(){var b,m,B,te=u[ee],we=(b=j)===null||b===void 0?void 0:b.findIndex(function(ut){var ke=ut[A.value];return ve?String(ke)===String(te):ke===te}),Ne=we!==-1?(m=j)===null||m===void 0?void 0:m[we]:null;O.push({value:(B=Ne==null?void 0:Ne[A.value])!==null&&B!==void 0?B:te,index:we,option:Ne}),j=Ne==null?void 0:Ne[A.children]},ee=0;ee1){var Ct=Ne.slice(0,-1);Ce(Ct)}else b(!1)},ht=function(){var Ct,It=((Ct=ke[ut])===null||Ct===void 0?void 0:Ct[A.children])||[],Dt=It.find(function($t){return!$t.disabled});if(Dt){var Mt=[].concat((0,e.Z)(Ne),[Dt[A.value]]);Ce(Mt)}};d.useImperativeHandle(u,function(){return{onKeyDown:function(Ct){var It=Ct.which;switch(It){case U.Z.UP:case U.Z.DOWN:{var Dt=0;It===U.Z.UP?Dt=-1:It===U.Z.DOWN&&(Dt=1),Dt!==0&&Me(Dt);break}case U.Z.LEFT:{if(ae)break;B?ht():Ye();break}case U.Z.RIGHT:{if(ae)break;B?Ye():ht();break}case U.Z.BACKSPACE:{ae||Ye();break}case U.Z.ENTER:{if(Ne.length){var Mt=ke[ut],$t=(Mt==null?void 0:Mt[Pe])||[];$t.length?O($t.map(function(Et){return Et[A.value]}),$t[$t.length-1]):O(Ne,ke[ut])}break}case U.Z.ESC:b(!1),m&&Ct.stopPropagation()}},onKeyUp:function(){}}})},fe=d.forwardRef(function(u,S){var A,ve,j,O=u.prefixCls,W=u.multiple,ee=u.searchValue,ae=u.toggleOpen,b=u.notFoundContent,m=u.direction,B=u.open,te=u.disabled,we=d.useRef(null),Ne=m==="rtl",ut=d.useContext(me),ke=ut.options,Q=ut.values,Ce=ut.halfValues,Me=ut.fieldNames,Ye=ut.changeOnSelect,ht=ut.onSelect,ft=ut.searchOptions,Ct=ut.dropdownPrefixCls,It=ut.loadData,Dt=ut.expandTrigger,Mt=Ct||O,$t=d.useState([]),Et=(0,E.Z)($t,2),Jt=Et[0],At=Et[1],sn=function(yn){if(!(!It||ee)){var dn=ze(yn,ke,Me),Kn=dn.map(function($n){var er=$n.option;return er}),Xn=Kn[Kn.length-1];if(Xn&&!Re(Xn,Me)){var ar=v(yn);At(function($n){return[].concat((0,e.Z)($n),[ar])}),It(Kn)}}};d.useEffect(function(){Jt.length&&Jt.forEach(function(Bn){var yn=Oe(Bn),dn=ze(yn,ke,Me,!0).map(function(Xn){var ar=Xn.option;return ar}),Kn=dn[dn.length-1];(!Kn||Kn[Me.children]||Re(Kn,Me))&&At(function(Xn){return Xn.filter(function(ar){return ar!==Bn})})})},[ke,Jt,Me]);var Gt=d.useMemo(function(){return new Set(je(Q))},[Q]),Yt=d.useMemo(function(){return new Set(je(Ce))},[Ce]),nn=R(W,B),fn=(0,E.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(yn){Qt(yn),sn(yn)},_e=function(yn){if(te)return!1;var dn=yn.disabled,Kn=Re(yn,Me);return!dn&&(Kn||Ye||W)},mt=function(yn,dn){var Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ht(yn),!W&&(dn||Ye&&(Dt==="hover"||Kn))&&ae(!1)},Kt=d.useMemo(function(){return ee?ft:ke},[ee,ft,ke]),jt=d.useMemo(function(){for(var Bn=[{options:Kt}],yn=Kt,dn=H(yn,Me),Kn=function(){var $n=Zt[Xn],er=yn.find(function(Sr,Fr){return(dn[Fr]?v(dn[Fr]):Sr[Me.value])===$n}),Wn=er==null?void 0:er[Me.children];if(!(Wn!=null&&Wn.length))return 1;yn=Wn,Bn.push({options:Wn})},Xn=0;Xn":Q,Me=A.loadingIcon,Ye=A.direction,ht=A.notFoundContent,ft=ht===void 0?"Not Found":ht,Ct=A.disabled,It=!!ae,Dt=(0,se.C8)(b,{value:m,postState:ce}),Mt=(0,E.Z)(Dt,2),$t=Mt[0],Et=Mt[1],Jt=d.useMemo(function(){return ne(B)},[JSON.stringify(B)]),At=Ae(Jt,ee),sn=(0,E.Z)(At,3),Gt=sn[0],Yt=sn[1],nn=sn[2],fn=We(Gt,Jt),Zt=Qe(It,$t,Yt,nn,fn),Qt=(0,E.Z)(Zt,3),Ft=Qt[0],_e=Qt[1],mt=Qt[2],Kt=(0,se.zX)(function(cn){if(Et(cn),we){var Rn=ce(cn),Bn=Rn.map(function(Kn){return ze(Kn,Gt,Jt).map(function(Xn){return Xn.option})}),yn=It?Rn:Rn[0],dn=It?Bn:Bn[0];we(yn,dn)}}),jt=ge(It,Kt,Ft,_e,mt,Yt,nn,Ne),qt=(0,se.zX)(function(cn){jt(cn)}),un=d.useMemo(function(){return{options:Gt,fieldNames:Jt,values:Ft,halfValues:_e,changeOnSelect:te,onSelect:qt,checkable:ae,searchOptions:[],dropdownPrefixCls:void 0,loadData:ut,expandTrigger:ke,expandIcon:Ce,loadingIcon:Me,dropdownMenuColumnStyle:void 0}},[Gt,Jt,Ft,_e,te,qt,ae,ut,ke,Ce,Me]),on="".concat(j,"-panel"),en=!Gt.length;return d.createElement(me.Provider,{value:un},d.createElement("div",{className:L()(on,(S={},(0,Fe.Z)(S,"".concat(on,"-rtl"),Ye==="rtl"),(0,Fe.Z)(S,"".concat(on,"-empty"),en),S),W),style:O},en?ft:d.createElement(z,{prefixCls:j,searchValue:"",multiple:It,toggleOpen:_,open:!0,direction:Ye,disabled:Ct})))}function N(u){var S=u.onPopupVisibleChange,A=u.popupVisible,ve=u.popupClassName,j=u.popupPlacement;warning(!S,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(A===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ve===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(j===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function X(u,S){if(u){var A=function ve(j){for(var O=0;O":sn,Yt=u.loadingIcon,nn=u.children,fn=u.dropdownMatchSelectWidth,Zt=fn===void 0?!1:fn,Qt=u.showCheckedStrategy,Ft=Qt===void 0?oe:Qt,_e=u.optionRender,mt=(0,Z.Z)(u,c),Kt=(0,r.ZP)(A),jt=!!B,qt=(0,M.Z)(W,{value:ee,postState:ce}),un=(0,E.Z)(qt,2),on=un[0],en=un[1],cn=d.useMemo(function(){return ne(O)},[JSON.stringify(O)]),Rn=Ae(cn,Ce),Bn=(0,E.Z)(Rn,3),yn=Bn[0],dn=Bn[1],Kn=Bn[2],Xn=(0,M.Z)("",{value:Ne,postState:function(cr){return cr||""}}),ar=(0,E.Z)(Xn,2),$n=ar[0],er=ar[1],Wn=function(cr,pr){er(cr),pr.source!=="blur"&&ut&&ut(cr)},Sr=q(ke),Fr=(0,E.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=s($n,yn,cn,Me||j,Cr,ae||jt),En=We(yn,cn),Hn=Qe(jt,on,dn,Kn,En),lr=(0,E.Z)(Hn,3),fr=lr[0],Gn=lr[1],ur=lr[2],yr=d.useMemo(function(){var zn=je(fr),cr=T(zn,dn,Ft);return[].concat((0,e.Z)(ur),(0,e.Z)(Kn(cr)))},[fr,dn,Kn,ur,Ft]),gr=xe(yr,yn,cn,jt,m),br=(0,V.Z)(function(zn){if(en(zn),b){var cr=ce(zn),pr=cr.map(function(tr){return ze(tr,yn,cn).map(function(Dr){return Dr.option})}),eo=jt?cr:cr[0],In=jt?pr:pr[0];b(eo,In)}}),Br=ge(jt,br,fr,Gn,ur,dn,Kn,Ft),wr=(0,V.Z)(function(zn){(!jt||we)&&er(""),Br(zn)}),Tr=function(cr,pr){if(pr.type==="clear"){br([]);return}var eo=pr.values[0],In=eo.valueCells;wr(In)},Qr=ft!==void 0?ft:ht,Or=It||Ct,zr=Et||$t,qr=function(cr){Jt==null||Jt(cr),At==null||At(cr)},Vn=d.useMemo(function(){return{options:yn,fieldNames:cn,values:fr,halfValues:Gn,changeOnSelect:ae,onSelect:wr,checkable:B,searchOptions:vr,dropdownPrefixCls:Me,loadData:Ye,expandTrigger:Q,expandIcon:Gt,loadingIcon:Yt,dropdownMenuColumnStyle:Dt,optionRender:_e}},[yn,cn,fr,Gn,ae,wr,B,vr,Me,Ye,Q,Gt,Yt,Dt,_e]),sr=!($n?vr:yn).length,kn=$n&&Cr.matchInputWidth||sr?{}:{minWidth:"auto"};return d.createElement(me.Provider,{value:Vn},d.createElement(K.Ac,(0,x.Z)({},mt,{ref:S,id:Kt,prefixCls:j,autoClearSearchValue:we,dropdownMatchSelectWidth:Zt,dropdownStyle:(0,D.Z)((0,D.Z)({},kn),Mt),displayValues:gr,onDisplayValuesChange:Tr,mode:jt?"multiple":void 0,searchValue:$n,onSearch:Wn,showSearch:$r,OptionList:f,emptyOptions:sr,open:Qr,dropdownClassName:Or,placement:zr,onDropdownVisibleChange:qr,getRawInputElement:function(){return nn}})))});y.SHOW_PARENT=oe,y.SHOW_CHILD=le,y.Panel=$;var Ge=y,G=Ge,Le=t(2738),He=t(75030),nt=t(86641),it=t(45915),et=t(82855),w=t(48755),pe=t(38406),Ze=t(2171),Ue=t(83397),ot=t(31756),Tt=t(56553),ct=t(24971),dt=t(1722),Rt=t(90376),Vt=t(68525),Ht=t(90005),Xt=t(70045);function wt(u,S){const{getPrefixCls:A,direction:ve,renderEmpty:j}=d.useContext(w.E_),O=S||ve,W=A("select",u),ee=A("cascader",u);return[W,ee,O,j]}var Ut=wt;function yt(u,S){return d.useMemo(()=>S?d.createElement("span",{className:`${u}-checkbox-inner`}):!1,[S])}var Bt=t(33853),Pt=t(58617),kt=t(38819),pt=(u,S,A)=>{let ve=A;A||(ve=S?d.createElement(Bt.Z,null):d.createElement(kt.Z,null));const j=d.createElement("span",{className:`${u}-menu-item-loading-icon`},d.createElement(Pt.Z,{spin:!0}));return d.useMemo(()=>[ve,j],[ve])},Lt=t(56119),ln=t(16931),rn=t(36237),xn=t(36170),Dn=t(63356),tn=u=>{const{prefixCls:S,componentCls:A}=u,ve=`${A}-menu-item`,j=` +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9788,576],{89489:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},59477:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},40001:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},26227:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},49198:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},84105:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},41464:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},18785:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},73331:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},15277:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},52671:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},8657:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},56082:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},33853:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},15075:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},62772:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},43531:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},61485:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},47472:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(54476),d=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},L=i,x=t(7657),D=function(r,U){return d.createElement(x.Z,(0,e.Z)({},r,{ref:U,icon:L}))},E=d.forwardRef(D),Z=E},65030:function(an,Je,t){t.d(Je,{Z:function(){return k}});var e=t(33885),d=t(42978),i=t(75931),L=t(43403),x=t(92310),D=t.n(x),E=t(29301),Z=t(76846),K=t(96452),r=t(6089),U=t(80402),M=t(34280),P=t(49658),me=t(59301),lt=t(54476),Fe=t(77900),Pe=t(8654);function Ve(R){var X=R.prefixCls,p=R.align,fe=R.arrow,z=R.arrowPos,o=fe||{},f=o.className,se=o.content,_=z.x,$=_===void 0?0:_,N=z.y,G=N===void 0?0:N,ue=me.useRef();if(!p||!p.points)return null;var c={position:"absolute"};if(p.autoArrow!==!1){var y=p.points[0],Ge=p.points[1],W=y[0],Le=y[1],He=Ge[0],nt=Ge[1];W===He||!["t","b"].includes(W)?c.top=G:W==="t"?c.top=0:c.bottom=0,Le===nt||!["l","r"].includes(Le)?c.left=$:Le==="l"?c.left=0:c.right=0}return me.createElement("div",{ref:ue,className:D()("".concat(X,"-arrow"),f),style:c},se)}function C(R){var X=R.prefixCls,p=R.open,fe=R.zIndex,z=R.mask,o=R.motion;return z?me.createElement(Fe.default,(0,lt.Z)({},o,{motionAppear:!0,visible:p,removeOnLeave:!0}),function(f){var se=f.className;return me.createElement("div",{style:{zIndex:fe},className:D()("".concat(X,"-mask"),se)})}):null}var he=me.memo(function(R){var X=R.children;return X},function(R,X){return X.cache}),s=he,h=me.forwardRef(function(R,X){var p=R.popup,fe=R.className,z=R.prefixCls,o=R.style,f=R.target,se=R.onVisibleChanged,_=R.open,$=R.keepDom,N=R.fresh,G=R.onClick,ue=R.mask,c=R.arrow,y=R.arrowPos,Ge=R.align,W=R.motion,Le=R.maskMotion,He=R.forceRender,nt=R.getPopupContainer,it=R.autoDestroy,et=R.portal,w=R.zIndex,pe=R.onMouseEnter,Ze=R.onMouseLeave,Ue=R.onPointerEnter,ot=R.onPointerDownCapture,Tt=R.ready,ct=R.offsetX,dt=R.offsetY,Rt=R.offsetR,Vt=R.offsetB,Ht=R.onAlign,Xt=R.onPrepare,wt=R.stretch,Ut=R.targetWidth,yt=R.targetHeight,Bt=typeof p=="function"?p():p,Pt=_||$,kt=(nt==null?void 0:nt.length)>0,Wt=me.useState(!nt||!kt),pt=(0,d.Z)(Wt,2),Lt=pt[0],ln=pt[1];if((0,M.Z)(function(){!Lt&&kt&&f&&ln(!0)},[Lt,kt,f]),!Lt)return null;var rn="auto",xn={left:"-1000vw",top:"-1000vh",right:rn,bottom:rn};if(Tt||!_){var Dn,Mn=Ge.points,tn=Ge.dynamicInset||((Dn=Ge._experimental)===null||Dn===void 0?void 0:Dn.dynamicInset),Nn=tn&&Mn[0][1]==="r",Pn=tn&&Mn[0][0]==="b";Nn?(xn.right=Rt,xn.left=rn):(xn.left=ct,xn.right=rn),Pn?(xn.bottom=Vt,xn.top=rn):(xn.top=dt,xn.bottom=rn)}var bn={};return wt&&(wt.includes("height")&&yt?bn.height=yt:wt.includes("minHeight")&&yt&&(bn.minHeight=yt),wt.includes("width")&&Ut?bn.width=Ut:wt.includes("minWidth")&&Ut&&(bn.minWidth=Ut)),_||(bn.pointerEvents="none"),me.createElement(et,{open:He||Pt,getContainer:nt&&function(){return nt(f)},autoDestroy:it},me.createElement(C,{prefixCls:z,open:_,zIndex:w,mask:ue,motion:Le}),me.createElement(E.Z,{onResize:Ht,disabled:!_},function(Fn){return me.createElement(Fe.default,(0,lt.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:He,leavedClassName:"".concat(z,"-hidden")},W,{onAppearPrepare:Xt,onEnterPrepare:Xt,visible:_,onVisibleChanged:function(Jn){var Be;W==null||(Be=W.onVisibleChanged)===null||Be===void 0||Be.call(W,Jn),se(Jn)}}),function(_n,Jn){var Be=_n.className,Ie=_n.style,I=D()(z,Be,fe);return me.createElement("div",{ref:(0,Pe.sQ)(Fn,X,Jn),className:I,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},xn),bn),Ie),{},{boxSizing:"border-box",zIndex:w},o),onMouseEnter:pe,onMouseLeave:Ze,onPointerEnter:Ue,onClick:G,onPointerDownCapture:ot},c&&me.createElement(Ve,{prefixCls:z,arrow:c,arrowPos:y,align:Ge}),me.createElement(s,{cache:!_&&!N},Bt))})}))}),oe=h,le=me.forwardRef(function(R,X){var p=R.children,fe=R.getTriggerDOMNode,z=(0,Pe.Yr)(p),o=me.useCallback(function(se){(0,Pe.mH)(X,fe?fe(se):se)},[fe]),f=(0,Pe.x1)(o,(0,Pe.C4)(p));return z?me.cloneElement(p,{ref:f}):p}),v=le,je=me.createContext(null),Oe=je;function ne(R){return R?Array.isArray(R)?R:[R]:[]}function Re(R,X,p,fe){return me.useMemo(function(){var z=ne(p!=null?p:X),o=ne(fe!=null?fe:X),f=new Set(z),se=new Set(o);return R&&(f.has("hover")&&(f.delete("hover"),f.add("click")),se.has("hover")&&(se.delete("hover"),se.add("click"))),[f,se]},[R,X,p,fe])}var de=t(29194);function H(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],p=arguments.length>2?arguments[2]:void 0;return p?R[0]===X[0]:R[0]===X[0]&&R[1]===X[1]}function n(R,X,p,fe){for(var z=p.points,o=Object.keys(R),f=0;f1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(R)?X:R}function We(R){return xe(parseFloat(R),0)}function st(R,X){var p=(0,e.Z)({},R);return(X||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var z=T(fe).getComputedStyle(fe),o=z.overflow,f=z.overflowClipMargin,se=z.borderTopWidth,_=z.borderBottomWidth,$=z.borderLeftWidth,N=z.borderRightWidth,G=fe.getBoundingClientRect(),ue=fe.offsetHeight,c=fe.clientHeight,y=fe.offsetWidth,Ge=fe.clientWidth,W=We(se),Le=We(_),He=We($),nt=We(N),it=xe(Math.round(G.width/y*1e3)/1e3),et=xe(Math.round(G.height/ue*1e3)/1e3),w=(y-Ge-He-nt)*it,pe=(ue-c-W-Le)*et,Ze=W*et,Ue=Le*et,ot=He*it,Tt=nt*it,ct=0,dt=0;if(o==="clip"){var Rt=We(f);ct=Rt*it,dt=Rt*et}var Vt=G.x+ot-ct,Ht=G.y+Ze-dt,Xt=Vt+G.width+2*ct-ot-Tt-w,wt=Ht+G.height+2*dt-Ze-Ue-pe;p.left=Math.max(p.left,Vt),p.top=Math.max(p.top,Ht),p.right=Math.min(p.right,Xt),p.bottom=Math.min(p.bottom,wt)}}),p}function at(R){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,p="".concat(X),fe=p.match(/^(.*)\%$/);return fe?R*(parseFloat(fe[1])/100):parseFloat(p)}function Ae(R,X){var p=X||[],fe=(0,d.Z)(p,2),z=fe[0],o=fe[1];return[at(R.width,z),at(R.height,o)]}function tt(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[R[0],R[1]]}function q(R,X){var p=X[0],fe=X[1],z,o;return p==="t"?o=R.y:p==="b"?o=R.y+R.height:o=R.y+R.height/2,fe==="l"?z=R.x:fe==="r"?z=R.x+R.width:z=R.x+R.width/2,{x:z,y:o}}function Se(R,X){var p={t:"b",b:"t",l:"r",r:"l"};return R.map(function(fe,z){return z===X?p[fe]||"c":fe}).join("")}function ge(R,X,p,fe,z,o,f){var se=me.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:z[fe]||{}}),_=(0,d.Z)(se,2),$=_[0],N=_[1],G=me.useRef(0),ue=me.useMemo(function(){return X?ze(X):[]},[X]),c=me.useRef({}),y=function(){c.current={}};R||y();var Ge=(0,r.Z)(function(){if(X&&p&&R){let Or=function(qr,Vn){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g,kn=Pt.x+qr,zn=Pt.y+Vn,cr=kn+Pn,pr=zn+Nn,eo=Math.max(kn,sr.left),In=Math.max(zn,sr.top),tr=Math.min(cr,sr.right),Dr=Math.min(pr,sr.bottom);return Math.max(0,(tr-eo)*(Dr-In))},zr=function(){fn=Pt.y+ft,Zt=fn+Nn,Qt=Pt.x+ht,Ft=Qt+Pn};var He,nt,it,et,w=X,pe=w.ownerDocument,Ze=T(w),Ue=Ze.getComputedStyle(w),ot=Ue.position,Tt=w.style.left,ct=w.style.top,dt=w.style.right,Rt=w.style.bottom,Vt=w.style.overflow,Ht=(0,e.Z)((0,e.Z)({},z[fe]),o),Xt=pe.createElement("div");(He=w.parentElement)===null||He===void 0||He.appendChild(Xt),Xt.style.left="".concat(w.offsetLeft,"px"),Xt.style.top="".concat(w.offsetTop,"px"),Xt.style.position=ot,Xt.style.height="".concat(w.offsetHeight,"px"),Xt.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var wt;if(Array.isArray(p))wt={x:p[0],y:p[1],width:0,height:0};else{var Ut,yt,Bt=p.getBoundingClientRect();Bt.x=(Ut=Bt.x)!==null&&Ut!==void 0?Ut:Bt.left,Bt.y=(yt=Bt.y)!==null&&yt!==void 0?yt:Bt.top,wt={x:Bt.x,y:Bt.y,width:Bt.width,height:Bt.height}}var Pt=w.getBoundingClientRect(),kt=Ze.getComputedStyle(w),Wt=kt.height,pt=kt.width;Pt.x=(nt=Pt.x)!==null&&nt!==void 0?nt:Pt.left,Pt.y=(it=Pt.y)!==null&&it!==void 0?it:Pt.top;var Lt=pe.documentElement,ln=Lt.clientWidth,rn=Lt.clientHeight,xn=Lt.scrollWidth,Dn=Lt.scrollHeight,Mn=Lt.scrollTop,tn=Lt.scrollLeft,Nn=Pt.height,Pn=Pt.width,bn=wt.height,Fn=wt.width,_n={left:0,top:0,right:ln,bottom:rn},Jn={left:-tn,top:-Mn,right:xn-tn,bottom:Dn-Mn},Be=Ht.htmlRegion,Ie="visible",I="visibleFirst";Be!=="scroll"&&Be!==I&&(Be=Ie);var Y=Be===I,be=st(Jn,ue),ye=st(_n,ue),g=Be===Ie?ye:be,re=Y?ye:g;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var De=w.getBoundingClientRect();w.style.left=Tt,w.style.top=ct,w.style.right=dt,w.style.bottom=Rt,w.style.overflow=Vt,(et=w.parentElement)===null||et===void 0||et.removeChild(Xt);var u=xe(Math.round(Pn/parseFloat(pt)*1e3)/1e3),S=xe(Math.round(Nn/parseFloat(Wt)*1e3)/1e3);if(u===0||S===0||(0,Z.Sh)(p)&&!(0,de.Z)(p))return;var A=Ht.offset,ve=Ht.targetOffset,j=Ae(Pt,A),O=(0,d.Z)(j,2),V=O[0],ee=O[1],ae=Ae(wt,ve),b=(0,d.Z)(ae,2),m=b[0],B=b[1];wt.x-=m,wt.y-=B;var te=Ht.points||[],we=(0,d.Z)(te,2),Ne=we[0],ut=we[1],ke=tt(ut),Q=tt(Ne),Ce=q(wt,ke),Me=q(Pt,Q),Ye=(0,e.Z)({},Ht),ht=Ce.x-Me.x+V,ft=Ce.y-Me.y+ee,Ct=Or(ht,ft),It=Or(ht,ft,ye),Dt=q(wt,["t","l"]),Mt=q(Pt,["t","l"]),$t=q(wt,["b","r"]),Et=q(Pt,["b","r"]),Jt=Ht.overflow||{},At=Jt.adjustX,sn=Jt.adjustY,Gt=Jt.shiftX,Yt=Jt.shiftY,nn=function(Vn){return typeof Vn=="boolean"?Vn:Vn>=0},fn,Zt,Qt,Ft;zr();var _e=nn(sn),mt=Q[0]===ke[0];if(_e&&Q[0]==="t"&&(Zt>re.bottom||c.current.bt)){var Kt=ft;mt?Kt-=Nn-bn:Kt=Dt.y-Et.y-ee;var jt=Or(ht,Kt),qt=Or(ht,Kt,ye);jt>Ct||jt===Ct&&(!Y||qt>=It)?(c.current.bt=!0,ft=Kt,ee=-ee,Ye.points=[Se(Q,0),Se(ke,0)]):c.current.bt=!1}if(_e&&Q[0]==="b"&&(fnCt||on===Ct&&(!Y||en>=It)?(c.current.tb=!0,ft=un,ee=-ee,Ye.points=[Se(Q,0),Se(ke,0)]):c.current.tb=!1}var cn=nn(At),Rn=Q[1]===ke[1];if(cn&&Q[1]==="l"&&(Ft>re.right||c.current.rl)){var Bn=ht;Rn?Bn-=Pn-Fn:Bn=Dt.x-Et.x-V;var yn=Or(Bn,ft),dn=Or(Bn,ft,ye);yn>Ct||yn===Ct&&(!Y||dn>=It)?(c.current.rl=!0,ht=Bn,V=-V,Ye.points=[Se(Q,1),Se(ke,1)]):c.current.rl=!1}if(cn&&Q[1]==="r"&&(QtCt||Xn===Ct&&(!Y||ar>=It)?(c.current.lr=!0,ht=Kn,V=-V,Ye.points=[Se(Q,1),Se(ke,1)]):c.current.lr=!1}zr();var $n=Gt===!0?0:Gt;typeof $n=="number"&&(Qtye.right&&(ht-=Ft-ye.right-V,wt.x>ye.right-$n&&(ht+=wt.x-ye.right+$n)));var er=Yt===!0?0:Yt;typeof er=="number"&&(fnye.bottom&&(ft-=Zt-ye.bottom-ee,wt.y>ye.bottom-er&&(ft+=wt.y-ye.bottom+er)));var Wn=Pt.x+ht,Sr=Wn+Pn,Fr=Pt.y+ft,$r=Fr+Nn,Cr=wt.x,vr=Cr+Fn,En=wt.y,Hn=En+bn,lr=Math.max(Wn,Cr),fr=Math.min(Sr,vr),Gn=(lr+fr)/2,ur=Gn-Wn,yr=Math.max(Fr,En),gr=Math.min($r,Hn),br=(yr+gr)/2,Br=br-Fr;f==null||f(X,Ye);var wr=De.right-Pt.x-(ht+Pt.width),Tr=De.bottom-Pt.y-(ft+Pt.height);u===1&&(ht=Math.round(ht),wr=Math.round(wr)),S===1&&(ft=Math.round(ft),Tr=Math.round(Tr));var Qr={ready:!0,offsetX:ht/u,offsetY:ft/S,offsetR:wr/u,offsetB:Tr/S,arrowX:ur/u,arrowY:Br/S,scaleX:u,scaleY:S,align:Ye};N(Qr)}}),W=function(){G.current+=1;var nt=G.current;Promise.resolve().then(function(){G.current===nt&&Ge()})},Le=function(){N(function(nt){return(0,e.Z)((0,e.Z)({},nt),{},{ready:!1})})};return(0,M.Z)(Le,[fe]),(0,M.Z)(function(){R||Le()},[R]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,W]}var Qe=t(94480);function ie(R,X,p,fe,z){(0,M.Z)(function(){if(R&&X&&p){let G=function(){fe(),z()};var o=X,f=p,se=ze(o),_=ze(f),$=T(f),N=new Set([$].concat((0,Qe.Z)(se),(0,Qe.Z)(_)));return N.forEach(function(ue){ue.addEventListener("scroll",G,{passive:!0})}),$.addEventListener("resize",G,{passive:!0}),fe(),function(){N.forEach(function(ue){ue.removeEventListener("scroll",G),$.removeEventListener("resize",G)})}}},[R,X,p])}var qe=t(48736);function Ke(R,X,p,fe,z,o,f,se){var _=me.useRef(R);_.current=R;var $=me.useRef(!1);me.useEffect(function(){if(X&&fe&&(!z||o)){var G=function(){$.current=!1},ue=function(it){var et;_.current&&!f(((et=it.composedPath)===null||et===void 0||(et=et.call(it))===null||et===void 0?void 0:et[0])||it.target)&&!$.current&&se(!1)},c=T(fe);c.addEventListener("pointerdown",G,!0),c.addEventListener("mousedown",ue,!0),c.addEventListener("contextmenu",ue,!0);var y=(0,K.A)(p);if(y&&(y.addEventListener("mousedown",ue,!0),y.addEventListener("contextmenu",ue,!0)),0)var Ge,W,Le,He;return function(){c.removeEventListener("pointerdown",G,!0),c.removeEventListener("mousedown",ue,!0),c.removeEventListener("contextmenu",ue,!0),y&&(y.removeEventListener("mousedown",ue,!0),y.removeEventListener("contextmenu",ue,!0))}}},[X,p,fe,z,o]);function N(){$.current=!0}return N}var bt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Te(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L.Z,X=me.forwardRef(function(p,fe){var z=p.prefixCls,o=z===void 0?"rc-trigger-popup":z,f=p.children,se=p.action,_=se===void 0?"hover":se,$=p.showAction,N=p.hideAction,G=p.popupVisible,ue=p.defaultPopupVisible,c=p.onPopupVisibleChange,y=p.afterPopupVisibleChange,Ge=p.mouseEnterDelay,W=p.mouseLeaveDelay,Le=W===void 0?.1:W,He=p.focusDelay,nt=p.blurDelay,it=p.mask,et=p.maskClosable,w=et===void 0?!0:et,pe=p.getPopupContainer,Ze=p.forceRender,Ue=p.autoDestroy,ot=p.destroyPopupOnHide,Tt=p.popup,ct=p.popupClassName,dt=p.popupStyle,Rt=p.popupPlacement,Vt=p.builtinPlacements,Ht=Vt===void 0?{}:Vt,Xt=p.popupAlign,wt=p.zIndex,Ut=p.stretch,yt=p.getPopupClassNameFromAlign,Bt=p.fresh,Pt=p.alignPoint,kt=p.onPopupClick,Wt=p.onPopupAlign,pt=p.arrow,Lt=p.popupMotion,ln=p.maskMotion,rn=p.popupTransitionName,xn=p.popupAnimation,Dn=p.maskTransitionName,Mn=p.maskAnimation,tn=p.className,Nn=p.getTriggerDOMNode,Pn=(0,i.Z)(p,bt),bn=Ue||ot||!1,Fn=me.useState(!1),_n=(0,d.Z)(Fn,2),Jn=_n[0],Be=_n[1];(0,M.Z)(function(){Be((0,P.Z)())},[]);var Ie=me.useRef({}),I=me.useContext(Oe),Y=me.useMemo(function(){return{registerSubPopup:function(tr,Dr){Ie.current[tr]=Dr,I==null||I.registerSubPopup(tr,Dr)}}},[I]),be=(0,U.Z)(),ye=me.useState(null),g=(0,d.Z)(ye,2),re=g[0],De=g[1],u=me.useRef(null),S=(0,r.Z)(function(In){u.current=In,(0,Z.Sh)(In)&&re!==In&&De(In),I==null||I.registerSubPopup(be,In)}),A=me.useState(null),ve=(0,d.Z)(A,2),j=ve[0],O=ve[1],V=me.useRef(null),ee=(0,r.Z)(function(In){(0,Z.Sh)(In)&&j!==In&&(O(In),V.current=In)}),ae=me.Children.only(f),b=(ae==null?void 0:ae.props)||{},m={},B=(0,r.Z)(function(In){var tr,Dr,kr=j;return(kr==null?void 0:kr.contains(In))||((tr=(0,K.A)(kr))===null||tr===void 0?void 0:tr.host)===In||In===kr||(re==null?void 0:re.contains(In))||((Dr=(0,K.A)(re))===null||Dr===void 0?void 0:Dr.host)===In||In===re||Object.values(Ie.current).some(function(Ur){return(Ur==null?void 0:Ur.contains(In))||In===Ur})}),te=ce(o,Lt,xn,rn),we=ce(o,ln,Mn,Dn),Ne=me.useState(ue||!1),ut=(0,d.Z)(Ne,2),ke=ut[0],Q=ut[1],Ce=G!=null?G:ke,Me=(0,r.Z)(function(In){G===void 0&&Q(In)});(0,M.Z)(function(){Q(G||!1)},[G]);var Ye=me.useRef(Ce);Ye.current=Ce;var ht=me.useRef([]);ht.current=[];var ft=(0,r.Z)(function(In){var tr;Me(In),((tr=ht.current[ht.current.length-1])!==null&&tr!==void 0?tr:Ce)!==In&&(ht.current.push(In),c==null||c(In))}),Ct=me.useRef(),It=function(){clearTimeout(Ct.current)},Dt=function(tr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;It(),Dr===0?ft(tr):Ct.current=setTimeout(function(){ft(tr)},Dr*1e3)};me.useEffect(function(){return It},[]);var Mt=me.useState(!1),$t=(0,d.Z)(Mt,2),Et=$t[0],Jt=$t[1];(0,M.Z)(function(In){(!In||Ce)&&Jt(!0)},[Ce]);var At=me.useState(null),sn=(0,d.Z)(At,2),Gt=sn[0],Yt=sn[1],nn=me.useState(null),fn=(0,d.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(tr){Qt([tr.clientX,tr.clientY])},_e=ge(Ce,re,Pt&&Zt!==null?Zt:j,Rt,Ht,Xt,Wt),mt=(0,d.Z)(_e,11),Kt=mt[0],jt=mt[1],qt=mt[2],un=mt[3],on=mt[4],en=mt[5],cn=mt[6],Rn=mt[7],Bn=mt[8],yn=mt[9],dn=mt[10],Kn=Re(Jn,_,$,N),Xn=(0,d.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ar.has("click"),Wn=$n.has("click")||$n.has("contextMenu"),Sr=(0,r.Z)(function(){Et||dn()}),Fr=function(){Ye.current&&Pt&&Wn&&Dt(!1)};ie(Ce,j,re,Sr,Fr),(0,M.Z)(function(){Sr()},[Zt,Rt]),(0,M.Z)(function(){Ce&&!(Ht!=null&&Ht[Rt])&&Sr()},[JSON.stringify(Xt)]);var $r=me.useMemo(function(){var In=n(Ht,o,yn,Pt);return D()(In,yt==null?void 0:yt(yn))},[yn,yt,Ht,o,Pt]);me.useImperativeHandle(fe,function(){return{nativeElement:V.current,popupElement:u.current,forceAlign:Sr}});var Cr=me.useState(0),vr=(0,d.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=me.useState(0),fr=(0,d.Z)(lr,2),Gn=fr[0],ur=fr[1],yr=function(){if(Ut&&j){var tr=j.getBoundingClientRect();Hn(tr.width),ur(tr.height)}},gr=function(){yr(),Sr()},br=function(tr){Jt(!1),dn(),y==null||y(tr)},Br=function(){return new Promise(function(tr){yr(),Yt(function(){return tr})})};(0,M.Z)(function(){Gt&&(dn(),Gt(),Yt(null))},[Gt]);function wr(In,tr,Dr,kr){m[In]=function(Ur){var Uo;kr==null||kr(Ur),Dt(tr,Dr);for(var $o=arguments.length,Yo=new Array($o>1?$o-1:0),wo=1;wo<$o;wo++)Yo[wo-1]=arguments[wo];(Uo=b[In])===null||Uo===void 0||Uo.call.apply(Uo,[b,Ur].concat(Yo))}}(er||Wn)&&(m.onClick=function(In){var tr;Ye.current&&Wn?Dt(!1):!Ye.current&&er&&(Ft(In),Dt(!0));for(var Dr=arguments.length,kr=new Array(Dr>1?Dr-1:0),Ur=1;Ur1?Dr-1:0),Ur=1;Ur{var Ve={};for(var C in Fe)r.call(Fe,C)&&Pe.indexOf(C)<0&&(Ve[C]=Fe[C]);if(Fe!=null&&K)for(var C of K(Fe))Pe.indexOf(C)<0&&U.call(Fe,C)&&(Ve[C]=Fe[C]);return Ve},P=(Fe,Pe,Ve)=>new Promise((C,he)=>{var s=le=>{try{oe(Ve.next(le))}catch(v){he(v)}},h=le=>{try{oe(Ve.throw(le))}catch(v){he(v)}},oe=le=>le.done?C(le.value):Promise.resolve(le.value).then(s,h);oe((Ve=Ve.apply(Fe,Pe)).next())});const me=i.default.TextArea,lt=Fe=>{var Pe=Fe,{account:Ve,globalSetting:C,loading:he,dispatch:s,schoolName:h,departmentName:oe,visible:le,onClose:v=()=>{},onSuccess:je=()=>{}}=Pe,Oe=M(Pe,["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"]);const[ne]=L.default.useForm(),Re=(0,e.useRef)(),[de,H]=(0,e.useState)(!1);(0,e.useEffect)(()=>{Re.current=Oe.schoolId},[Oe.schoolId]),(0,e.useEffect)(()=>{ne.setFieldsValue({department:oe})},[oe]);const n=ce=>P(void 0,null,function*(){var T,ze,xe;const{department:We,remarks:st}=ce||{};H(!0);const at=yield(0,Z.ZP)("/api/add_department_applies/inspect.json",{method:"get",params:{name:We,school_id:Re.current}});H(!1);const Ae=()=>P(void 0,null,function*(){const tt=yield s({type:"account/appplyDepartment",payload:{school_id:Re.current,name:We,remarks:st}});(tt==null?void 0:tt.status)===0&&(x.ZP.success("\u65B0\u589E\u9662\u7CFB/\u90E8\u95E8\u6210\u529F\uFF01"),je(We),v())});if((at==null?void 0:at.status)===0){if((T=at==null?void 0:at.data)!=null&&T.name){D.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement("div",null,e.createElement("div",{className:"mb10"},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u90E8\u95E8\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u90E8\u95E8\uFF1F"),e.createElement(E.default,{rowKey:"name",columns:[{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"name"},{title:"\u7528\u6237\u6570",dataIndex:"size"}],dataSource:[{name:(ze=at==null?void 0:at.data)==null?void 0:ze.name,size:(xe=at==null?void 0:at.data)==null?void 0:xe.size}],pagination:!1})),onOk:()=>{je(We),v()}});return}Ae()}});return e.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:le,title:"\u7533\u8BF7\u6DFB\u52A0\u90E8\u95E8\u540D\u79F0",width:"600px",onCancel:v,onOk:()=>ne.submit(),confirmLoading:de},e.createElement(L.default,{form:ne,labelCol:{span:4},wrapperCol:{span:20},onFinish:n},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u540D\u79F0\uFF1A"},h),e.createElement(L.default.Item,{label:"\u90E8\u95E8\u540D\u79F0\uFF1A",name:"department",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"}]},e.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u6216\u8005\u5B66\u9662\u540D\u79F0"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},e.createElement(me,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};Je.Z=(0,d.connect)(({account:Fe,loading:Pe,globalSetting:Ve})=>({account:Fe,globalSetting:Ve,loading:Pe.effects}))(lt)},28210:function(an,Je,t){var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(6767),D=t(62957),E=t(98280),Z=t(59301),K=Object.defineProperty,r=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,P=(C,he,s)=>he in C?K(C,he,{enumerable:!0,configurable:!0,writable:!0,value:s}):C[he]=s,me=(C,he)=>{for(var s in he||(he={}))U.call(he,s)&&P(C,s,he[s]);if(r)for(var s of r(he))M.call(he,s)&&P(C,s,he[s]);return C},lt=(C,he)=>{var s={};for(var h in C)U.call(C,h)&&he.indexOf(h)<0&&(s[h]=C[h]);if(C!=null&&r)for(var h of r(C))he.indexOf(h)<0&&M.call(C,h)&&(s[h]=C[h]);return s},Fe=(C,he,s)=>new Promise((h,oe)=>{var le=Oe=>{try{je(s.next(Oe))}catch(ne){oe(ne)}},v=Oe=>{try{je(s.throw(Oe))}catch(ne){oe(ne)}},je=Oe=>Oe.done?h(Oe.value):Promise.resolve(Oe.value).then(le,v);je((s=s.apply(C,he)).next())});const Pe=i.default.TextArea,Ve=C=>{var he=C,{account:s,globalSetting:h,loading:oe,dispatch:le,departmentName:v,majorName:je,visible:Oe,onClose:ne=()=>{},onSuccess:Re=()=>{}}=he,de=lt(he,["account","globalSetting","loading","dispatch","departmentName","majorName","visible","onClose","onSuccess"]);const[H]=L.default.useForm(),n=(0,e.useRef)(),[ce,T]=(0,e.useState)(!1);(0,e.useEffect)(()=>{n.current=de.departmentId},[de.departmentId]),(0,e.useEffect)(()=>{H.setFieldsValue({name:je})},[je]);const ze=xe=>Fe(void 0,null,function*(){yield H.validateFields(),(yield(0,E.ZP)(`/api/departments/${n.current}/majors.json`,{method:"post",body:me({},H.getFieldsValue())})).status===0&&(x.ZP.success("\u7533\u8BF7\u6210\u529F\uFF01"),Re(H.getFieldValue("name")),H.resetFields(),ne())});return Z.createElement(D.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Oe,title:"\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0",width:"600px",onCancel:ne,onOk:()=>H.submit(),confirmLoading:ce},Z.createElement(L.default,{form:H,labelCol:{span:4},wrapperCol:{span:20},onFinish:ze},Z.createElement(L.default.Item,{label:"\u9662\u7CFB\u540D\u79F0\uFF1A"},v),Z.createElement(L.default.Item,{label:"\u4E13\u4E1A\u540D\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},Z.createElement(i.default,{placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",showCount:!0,maxLength:20})),Z.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks",style:{marginBottom:0}},Z.createElement(Pe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"}))))};Je.Z=(0,d.connect)(({account:C,loading:he,globalSetting:s})=>({account:C,globalSetting:s,loading:he.effects}))(Ve)},98679:function(an,Je,t){t.d(Je,{Z:function(){return L}});var e=t(59301),d=t(59195),i=t(75786),L=()=>{const[x,D]=(0,e.useState)(""),[E,Z]=(0,e.useState)(0);let[K,r]=(0,e.useState)(),[U,M]=(0,e.useState)();const[P,me]=(0,e.useState)(!1),lt=(0,e.useRef)("");(0,e.useEffect)(()=>d.Z.subscribe("preview-image",je=>{D(je),console.log(oe.current)}),[]),(0,e.useEffect)(()=>(document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}),[]),(0,e.useEffect)(()=>{lt.current=x},[x]);function Fe(v){console.log("e====",v),v.keyCode==27&<.current&&Pe()}function Pe(){document.body.style.overflow="auto",r(void 0),M(void 0),Z(0),D("")}function Ve(){Z(E+90)}function C(){K=oe.current.width*1.1,U=oe.current.height*1.1,M(U),r(K)}function he(){K=oe.current.width/1.1,U=oe.current.height/1.1,M(U),r(K)}const s=(0,e.useRef)(),h=(0,e.useRef)(),oe=(0,e.useRef)(),le=v=>{(v.nativeEvent.target===s.current||v.nativeEvent.target===h.current)&&Pe()};return e.createElement(e.Fragment,null,x?e.createElement("div",null,e.createElement("div",{className:"preview-wrp-group",ref:h},e.createElement(i.Z,{className:"image-preview",src:x,style:{display:"none"},preview:{visible:!0,src:x,onVisibleChange:v=>{D("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57792:function(an,Je,t){var e=t(59301),d=t(75790),i=t(82326),L=t(94968),x=t(28284),D=t(6767),E=t(62957),Z=t(29787),K=t(77019),r=t(5269),U=t(37568),M=t(25399),P=t(1560),me=t(7939),lt=t(67585),Fe=t(56739),Pe=t(49647),Ve=t(51941),C=t(26294),he=t(19374),s=t(89392),h=t.n(s),oe=t(28210),le=t(98280),v=t(59301),je=Object.defineProperty,Oe=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,n=(Ae,tt,q)=>tt in Ae?je(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:q}):Ae[tt]=q,ce=(Ae,tt)=>{for(var q in tt||(tt={}))de.call(tt,q)&&n(Ae,q,tt[q]);if(Re)for(var q of Re(tt))H.call(tt,q)&&n(Ae,q,tt[q]);return Ae},T=(Ae,tt)=>Oe(Ae,ne(tt)),ze=(Ae,tt)=>{var q={};for(var Se in Ae)de.call(Ae,Se)&&tt.indexOf(Se)<0&&(q[Se]=Ae[Se]);if(Ae!=null&&Re)for(var Se of Re(Ae))tt.indexOf(Se)<0&&H.call(Ae,Se)&&(q[Se]=Ae[Se]);return q},xe=(Ae,tt,q)=>new Promise((Se,ge)=>{var Qe=Ke=>{try{qe(q.next(Ke))}catch(bt){ge(bt)}},ie=Ke=>{try{qe(q.throw(Ke))}catch(bt){ge(bt)}},qe=Ke=>Ke.done?Se(Ke.value):Promise.resolve(Ke.value).then(Qe,ie);qe((q=q.apply(Ae,tt)).next())});const We=i.default.Option,st=L.default.Dragger,at=Ae=>{var tt=Ae,{user:q,account:Se,globalSetting:ge,loading:Qe,dispatch:ie}=tt,qe=ze(tt,["user","account","globalSetting","loading","dispatch"]),Ke,bt,Te;const[k]=x.default.useForm(),[R,X]=(0,e.useState)({}),[p,fe]=(0,e.useState)([]),[z,o]=(0,e.useState)([]),[f,se]=(0,e.useState)([]),[_,$]=(0,e.useState)([]),[N,G]=(0,e.useState)([]),[ue,c]=(0,e.useState)([]),[y,Ge]=(0,e.useState)(),[W,Le]=(0,e.useState)(),[He,nt]=(0,e.useState)(),[it,et]=(0,e.useState)(),[w,pe]=(0,e.useState)(),[Ze,Ue]=(0,e.useState)();(0,e.useEffect)(()=>{var pt,Lt,ln,rn;Se.actionTabs.key==="Account-ProfessionalAuth"&&(pt=Se.basicInfo)!=null&&pt.school_id&&(ct((Lt=Se.basicInfo)==null?void 0:Lt.school_id),fe([{id:(ln=Se.basicInfo)==null?void 0:ln.school_id,name:(rn=Se.basicInfo)==null?void 0:rn.school_name}]))},[Se.actionTabs.key]);const ot=(0,e.useRef)((0,s.throttle)(pt=>Tt(pt),1200,{leading:!0,trailing:!0})).current,Tt=pt=>xe(void 0,null,function*(){var Lt,ln;const rn=yield ie({type:"account/getSchoolOption",payload:{keyword:pt,limit:10}});fe(rn==null?void 0:rn.schools),pt&&pt!=""&&(o((Lt=rn==null?void 0:rn.schools)==null?void 0:Lt.filter(Dn=>Dn.name.includes(pt))),(((ln=rn==null?void 0:rn.schools)==null?void 0:ln.find(Dn=>Dn.name===pt))||{}).id?Xt(pt,null,rn==null?void 0:rn.schools):(k.setFieldsValue(T(ce({},k.getFieldsValue()),{department:""})),X(ce(ce({},k.getFieldsValue()),{school:pt,department:""}))))}),ct=pt=>xe(void 0,null,function*(){if(!pt)return;const Lt=yield ie({type:"account/getDepartmentOption",payload:{id:pt}});return se(Lt==null?void 0:Lt.departments),Lt});(0,e.useEffect)(()=>{if(!Se.basicInfo)return;const{basicInfo:pt}=Se,Lt={identity:pt.identity,school:pt.school_name,department:pt.department_name,major_name:pt.major_name,studentNo:pt.student_id,jobTitle:pt.identity=="teacher"?pt.technical_title:"\u6559\u6388",manager:pt.identity=="professional"?pt.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",code_type:2};k.setFieldsValue(Lt),X(Lt)},[Se.basicInfo]);const dt=()=>{et(!0)},Rt=()=>{if(!p.find(pt=>pt.name===R.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}pe(!0)},Vt=()=>{if(!f.find(pt=>pt.name===R.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}Ue(!0)},Ht=pt=>{X(ce({},k.getFieldsValue())),"identity"in pt&&X(T(ce({},k.getFieldsValue()),{code_type:2})),"school"in pt&&(o(p.filter(ln=>ln.name.includes(pt.school))),(p.find(ln=>ln.name===pt.school)||{}).id?Xt(pt.school):(k.setFieldValue("department",""),X(ce(ce({},R),{school:pt.school,department:""}))))},Xt=(pt,Lt,ln)=>xe(void 0,null,function*(){var rn,xn,Dn;const Mn=(rn=(ln||p).find(Pn=>Pn.name===pt))==null?void 0:rn.id,tn=(yield ct(Mn))||{},Nn=Lt||((Dn=(xn=tn==null?void 0:tn.departments)==null?void 0:xn[0])==null?void 0:Dn.name);k.setFieldsValue(T(ce({},k.getFieldsValue()),{department:Nn})),X(ce(ce({},k.getFieldsValue()),{school:pt,department:Nn}))});(0,e.useEffect)(()=>{wt()},[f]);const wt=()=>xe(void 0,null,function*(){var pt,Lt;let ln=(pt=p.find(xn=>xn.name===k.getFieldValue("school")))==null?void 0:pt.id,rn=(Lt=f.find(xn=>xn.name===k.getFieldValue("department")))==null?void 0:Lt.id;if(rn){const xn=yield(0,le.ZP)(`/api/schools/${ln}/departments/${rn}/major_option.json`,{method:"get"});(xn==null?void 0:xn.status)==0&&G(xn==null?void 0:xn.majors)}}),Ut=pt=>xe(void 0,null,function*(){yield Tt(),k.setFieldsValue(T(ce({},k.getFieldsValue()),{school:pt,department:""})),X(ce(ce({},k.getFieldsValue()),{school:pt,department:""}))}),yt=pt=>{var Lt;if(pt.file.status==="uploading"){nt(!0);return}pt.file.status==="done"&&(console.log(pt.file,pt.file.response),Le((Lt=pt.file.response)==null?void 0:Lt.id),(0,he.y3)(pt.file.originFileObj,ln=>{Ge(ln),nt(!1)}))},Bt=pt=>xe(void 0,null,function*(){var Lt,ln,rn,xn,Dn,Mn,tn,Nn,Pn,bn;const{school:Fn,department:_n,identity:Jn,studentNo:Be,jobTitle:Ie,manager:I,code_type:Y,code:be,major_name:ye}=pt||{};if(!y){D.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u7167\u7247\uFF01");return}const g=(Lt=p.find(A=>A.name===Fn))==null?void 0:Lt.id,re=(ln=f.find(A=>A.name===_n))==null?void 0:ln.id,De=Jn==="student"?(rn=N.find(A=>A.name===ye))==null?void 0:rn.id:null;let u;if(Jn==="student"?u=Be:Jn==="teacher"?u=Ie:u=I,!g){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(xn=ge==null?void 0:ge.setting)==null?void 0:xn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),v.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(Dn=ge==null?void 0:ge.setting)==null?void 0:Dn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(_n&&!re){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:v.createElement(v.Fragment,null,v.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u9662\u7CFB/\u90E8\u95E8\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u90E8\u95E8\uFF1F")),onOk:Rt,onCancel:()=>{A.destroy()}});return}if(Jn==="student"&&ye&&!De){if(k.getFieldValue("identity")=="teacher"){const A=E.default.confirm({icon:null,width:600,centered:!0,okText:"\u65B0\u589E",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:v.createElement(v.Fragment,null,v.createElement("p",null,"\u7CFB\u7EDF\u672A\u627E\u5230\u60A8\u586B\u5199\u7684\u4E13\u4E1A\uFF0C\u662F\u5426\u7533\u8BF7\u65B0\u589E\u8BE5\u4E13\u4E1A\uFF1F")),onOk:Vt,onCancel:()=>{A.destroy()}})}else E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",(Mn=ge==null?void 0:ge.setting)==null?void 0:Mn.homepage_tea_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),v.createElement("img",{src:`${Pe.Z.IMG_SERVER}/${(tn=ge==null?void 0:ge.setting)==null?void 0:tn.homepage_tea_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}const S=yield ie({type:"account/applyProfessionalAuth",payload:{id:((Nn=Se.basicInfo)==null?void 0:Nn.id)||((Pn=q.userInfo)==null?void 0:Pn.login),school_id:g,department_id:re,major_id:De,identity:Jn,extra:u,code:be,code_type:Y,attachment_ids:[W]}});Pt(),(S==null?void 0:S.status)===0&&(be?D.ZP.info("\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u901A\u8FC7"):D.ZP.info("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838\uFF01"),Ge(""),ie({type:"account/getBasicInfo",payload:{login:(bn=q.userInfo)==null?void 0:bn.login}}))}),Pt=()=>{k.setFieldValue("code",""),ie({type:"account/setActionTabs",payload:{}})},kt={data:{type:"professional"},multiple:!0,withCredentials:!0,showUploadList:!1,action:`${Pe.Z.API_SERVER}/api/attachments.json`,className:C.Z.uploader,onChange:yt,beforeUpload:pt=>{const Lt=pt.type==="image/jpeg"||pt.type==="image/png"||pt.type==="image/jpg"||pt.type==="image/bmp";return Lt||D.ZP.info("\u8BF7\u4E0A\u4F20\u6B63\u786E\u6587\u4EF6\u683C\u5F0F"),Lt}},Wt=()=>{var pt,Lt,ln,rn;E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:v.createElement("div",{style:{textAlign:"center"}},v.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",R.identity==="teacher"?(pt=ge==null?void 0:ge.setting)==null?void 0:pt.homepage_tea_qq_number:(Lt=ge==null?void 0:ge.setting)==null?void 0:Lt.homepage_stu_qq_number,"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u4E13\u4E1A\u540D\u79F0\u3002"),v.createElement("img",{src:R.identity==="teacher"?`${Pe.Z.IMG_SERVER}/${(ln=ge==null?void 0:ge.setting)==null?void 0:ln.homepage_tea_qq_qrcode_url}`:`${Pe.Z.IMG_SERVER}/${(rn=ge==null?void 0:ge.setting)==null?void 0:rn.homepage_stu_qq_qrcode_url}`,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return v.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,forceRender:!0,className:C.Z.modal,open:Se.actionTabs.key==="Account-ProfessionalAuth",title:v.createElement("div",null,v.createElement("i",{className:`iconfont icon-zhiyerenzheng font18 mr5 ${C.Z.colorBlue}`}),"\u804C\u4E1A\u8BA4\u8BC1"),width:"660px",footer:null},v.createElement(Z.Z,{spinning:!!He},v.createElement(x.default,{form:k,layout:"horizontal",size:"large",scrollToFirstError:!0,className:C.Z.formWrap,onValuesChange:Ht,onFinish:Bt},v.createElement(K.Z,{gutter:[10,0]},v.createElement(r.Z,{flex:"300px"},v.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},v.createElement(i.default,null,v.createElement(We,{value:"teacher"},"\u6559\u5E08"),v.createElement(We,{value:"student"},"\u5B66\u751F"),v.createElement(We,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB")))),R.identity==="student"&&v.createElement(v.Fragment,null,v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.studentNo,name:"studentNo",rules:[{required:!0,message:"\u8BF7\u5148\u8F93\u5165\u5B66\u53F7"}]},v.createElement(U.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7"}))),v.createElement(r.Z,{flex:0},v.createElement("div",{className:C.Z.tooltipWrapper},v.createElement(M.Z,{title:"\u5355\u4F4D\u7BA1\u7406\u5458\u53EF\u7BA1\u7406\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u5B66\u751F\u8D26\u53F7\u4FE1\u606F\uFF08\u5305\u542B\u521D\u59CB\u5316\u5BC6\u7801\uFF09"},v.createElement("span",{className:C.Z.tips},v.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"})))))),R.identity==="teacher"&&v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},v.createElement(i.default,null,v.createElement(We,{value:"\u6559\u6388"},"\u6559\u6388"),v.createElement(We,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),v.createElement(We,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),v.createElement(We,{value:"\u52A9\u6559"},"\u52A9\u6559")))),R.identity==="professional"&&v.createElement(r.Z,{flex:1},v.createElement(x.default.Item,{initialValue:R.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},v.createElement(i.default,null,v.createElement(We,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),v.createElement(We,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),v.createElement(We,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),v.createElement(We,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),v.createElement(We,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),v.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",extra:R.school&&!(p!=null&&p.find(pt=>pt.name===R.school))&&v.createElement("div",{className:C.Z.schoolHintWrap},v.createElement("span",{className:C.Z.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",R.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},v.createElement(P.Z,{showSearch:!0,onSearch:ot},z.map((pt,Lt)=>v.createElement(We,{key:Lt,value:pt.name},pt.name)))),v.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",extra:R.department&&!(f!=null&&f.find(pt=>pt.name===R.department))&&v.createElement("div",{className:C.Z.schoolHintWrap},v.createElement("span",{className:C.Z.colorCDCDCD},R.department?`\u672A\u627E\u5230\u5305\u542B\u201C${R.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),v.createElement("span",{className:C.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u9662\u7CFB/\u90E8\u95E8"}]},v.createElement(P.Z,{showSearch:!0,onChange:pt=>{wt(),$(f.filter(Lt=>Lt.name.includes(pt)))}},_.map((pt,Lt)=>v.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&v.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))))),R.identity==="student"&&v.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",extra:k.getFieldValue("major_name")&&!(N!=null&&N.find(pt=>pt.name==k.getFieldValue("major_name")))&&v.createElement("div",{className:C.Z.schoolHintWrap},k.getFieldValue("identity")=="teacher"?v.createElement(v.Fragment,null,v.createElement("span",{className:C.Z.colorCDCDCD},`\u672A\u67E5\u8BE2\u5230\u201C${k.getFieldValue("major_name")}\u201D\u4E13\u4E1A\uFF0C`),v.createElement("span",{className:C.Z.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")):v.createElement("span",{className:C.Z.colorCDCDCD},"\u672A\u627E\u5230\u201C",k.getFieldValue("major_name"),"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",v.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{Wt()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[k.getFieldValue("identity")=="teacher"&&{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u4E13\u4E1A"}]},v.createElement(P.Z,{size:"large",onChange:pt=>{c(N.filter(Lt=>Lt.name.includes(pt)))}},ue.map(function(pt,Lt){return v.createElement(We,{key:Lt,value:pt.name},pt.name,(pt==null?void 0:pt.status)==0&&v.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),R.identity==="student"&&v.createElement(K.Z,{gutter:[10,0],wrap:!1},v.createElement(r.Z,{flex:"240px"},v.createElement(x.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code_type",initialValue:2},v.createElement(i.default,null,v.createElement(We,{value:2},"\u624B\u673A\u53F7"),v.createElement(We,{value:1},"\u9080\u8BF7\u7801")))),v.createElement(r.Z,{flex:1},R.code_type===1?v.createElement(x.default.Item,{name:"code"},v.createElement(U.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u7684\u9080\u8BF7\u7801",maxLength:10})):v.createElement(x.default.Item,{name:"code"},v.createElement(U.default,{type:"text",placeholder:"\u8BF7\u8F93\u5165\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u4E2D\u6559\u5E08\u7684\u624B\u673A\u53F7\u540E\u516D\u4F4D",maxLength:10}))),v.createElement(M.Z,{title:"\u5F53\u524D\u8D26\u53F7\u7533\u8BF7\u8BA4\u8BC1\u7684\u5355\u4F4D\u4E0E\u5DF2\u52A0\u5165\u7684\u6559\u5B66\u8BFE\u5802\u6240\u5C5E\u5355\u4F4D\u9700\u76F8\u540C"},v.createElement(r.Z,{style:{paddingTop:"10px"}},v.createElement("i",{className:"iconfont icon-a-wenhaobeifen2 primary-hover font14",style:{cursor:"pointer"}})))),v.createElement(x.default.Item,{label:"\u804C\u4E1A\u8BC1\u4E0A\u4F20",required:!0},v.createElement("div",{className:C.Z.flexRow},v.createElement("div",{className:`${C.Z.flexColumn} ${C.Z.example}`},v.createElement("span",{className:C.Z.exampleImg},v.createElement("img",{src:Ve})),v.createElement("span",{className:"tc"},v.createElement("p",null,"\u793A\u4F8B\u56FE\u7247"),v.createElement("p",{className:`${C.Z.colorOrange} font12`},"\uFF08png/jpg/bmp\u683C\u5F0F\uFF0C\u4E0D\u8D85\u8FC72MB\uFF09"))),v.createElement("div",{className:C.Z.flexColumn},v.createElement(st,T(ce({},kt),{accept:".png,.jpg,.bmp,.jpeg"}),y?v.createElement("img",{src:y,className:C.Z.uploadImg}):v.createElement("div",{className:C.Z.imageTip},v.createElement("p",null,v.createElement("i",{className:`iconfont icon-cuban2shangchuanyunduan ${C.Z.uploadTipIcon}`})),v.createElement("p",{className:C.Z.uploadTip},v.createElement("a",{className:C.Z.color05101a},"\u70B9\u51FB\u6216\u62D6\u62FD\u4E0A\u4F20\u56FE\u7247")))),v.createElement("span",{className:"tc"},v.createElement("p",{className:C.Z.viewLargerImg},"\u67E5\u770B\u5927\u56FE"))))),v.createElement("div",{className:C.Z.footerWrap},v.createElement(x.default.Item,null,v.createElement(me.ZP,{className:"mr5",size:"middle",onClick:Pt},"\u53D6\u6D88"),v.createElement(me.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Qe["account/applyProfessionalAuth"]},"\u63D0\u4EA4"))),v.createElement("div",{className:C.Z.note},v.createElement("p",null,"\u8BA4\u8BC1\u987B\u77E5\uFF1A"),v.createElement("p",null,"1.\u6839\u636E\u804C\u4E1A\u4E0A\u4F20\u76F8\u5E94\u7684\u8BC1\u4EF6\u7167\uFF1A\u6559\u5E08\uFF08\u6559\u5E08\u8BC1\uFF09\uFF0C\u4E13\u4E1A\u4EBA\u58EB\uFF08\u5458\u5DE5\u8BC1\uFF09\u3001\u5B66\u751F\uFF08\u5B66\u751F\u8BC1\uFF09\uFF0C\u8BF7\u786E\u4FDD\u8BC1\u4EF6\u7167\u5185\u5BB9\u5B8C\u6574\u5E76\u4E14\u6E05\u6670\u53EF\u89C1\uFF0C\u4E25\u7981PS\uFF1B"),v.createElement("p",null,"2.\u6211\u4EEC\u5C06\u5728\u4F60\u63D0\u4EA4\u804C\u4E1A\u8BC1\u4FE1\u606F\u540E\u768424\u5C0F\u65F6\uFF08\u4E0D\u5305\u542B\u8282\u5047\u65E5\uFF09\u5185\u5B8C\u6210\u5BA1\u6838\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4F1A\u4EE5\u7CFB\u7EDF\u6D88\u606F\u7684\u5F62\u5F0F\u53D1\u9001\u7ED9\u4F60\uFF1B"),v.createElement("p",null,"3.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u65E0\u6CD5\u5220\u9664\uFF0C\u8BF7\u8C28\u614E\u586B\u5199\uFF1B\u804C\u4E1A\u53D8\u66F4\u8BF7\u9009\u62E9\u91CD\u65B0\u8BA4\u8BC1\uFF1B"),v.createElement("p",null,"4.\u804C\u4E1A\u8BA4\u8BC1\u5BA1\u6838\u5B8C\u6210\u540E\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u53D1\u653E500\u4E2A\u91D1\u5E01\u4F5C\u4E3A\u5956\u52B1\uFF1B"),v.createElement("p",null,"5.\u6211\u4EEC\u4F1A\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u7684\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732\uFF1B"),v.createElement("p",null,"6.\u5982\u5B58\u5728\u6076\u610F\u4E71\u586B\u5199\u59D3\u540D\uFF0C\u5B66\u53F7\uFF0C\u53CA\u4E0A\u4F20\u4E0E\u804C\u4E1A\u8BC1\u4EF6\u65E0\u5173\u56FE\u7247\u8005\uFF0C\u4E00\u7ECF\u53D1\u73B0\u5C06\u51BB\u7ED3",!((Ke=ge==null?void 0:ge.setting)!=null&&Ke.is_local)&&"EduCoder","\u8D26\u53F7\u3002"),v.createElement("p",null,"7.\u975E\u8001\u5E08\u8EAB\u4EFD\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1\u540E\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u5C06\u72B6\u6001\u6539\u4E3A\u5DF2\u8BA4\u8BC1\uFF0C\u4F60\u5C06\u53EF\u4EE5\u4F53\u9A8C\u5E73\u53F0\u9700\u8981\u804C\u4E1A\u8BA4\u8BC1\u7684\u529F\u80FD\uFF1B\u5982\u679C\u5728\u8BA4\u8BC1\u540E\u7684\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u672A\u901A\u8FC7\u5BA1\u6838\uFF0C\u4F60\u5C06\u4E0D\u80FD\u7EE7\u7EED\u4F53\u9A8C\u9700\u8981\u8BA4\u8BC1\u7684\u529F\u80FD\u3002")))),v.createElement(lt.Z,{visible:it,onClose:()=>et(!1),schoolName:R.school,onSuccess:Ut}),v.createElement(Fe.Z,{visible:w,onClose:()=>pe(!1),schoolId:(bt=p.find(pt=>pt.name===R.school))==null?void 0:bt.id,schoolName:R.school,departmentName:R.department,onSuccess:pt=>Xt(R.school,pt)}),v.createElement(oe.Z,{visible:Ze,onClose:()=>Ue(!1),departmentId:(Te=f.find(pt=>pt.name===R.department))==null?void 0:Te.id,departmentName:R.department,majorName:k.getFieldValue("major_name"),onSuccess:pt=>{k.setFieldsValue({major_name:pt}),X(ce(ce({},k.getFieldsValue()),{major_name:pt})),wt()}}))};Je.Z=(0,d.connect)(({user:Ae,account:tt,loading:q,globalSetting:Se})=>({user:Ae,account:tt,globalSetting:Se,loading:q.effects}))(at)},44770:function(an,Je,t){t.r(Je),t.d(Je,{default:function(){return qe},identityMap:function(){return Se}});var e=t(59301),d=t(75790),i=t(82326),L=t(37568),x=t(28284),D=t(6767),E=t(62957),Z=t(77019),K=t(5269),r=t(25399),U=t(1560),M=t(47889),P=t(94968),me=t(7939),lt={wrap:"wrap___isQuw",content:"content___Gh5i7",hint:"hint___dh6_r",title:"title___Txz11",titleWrap:"titleWrap___p75TL",formWrap:"formWrap___tyQRy",identityWrap:"identityWrap___RmEwo",schoolHintWrap:"schoolHintWrap___WnTDr",colorCDCDCD:"colorCDCDCD___Xq4Mx",color0152d9:"color0152d9___lAjmo",submitButton:"submitButton___LHi3i",submitButtondiv:"submitButtondiv___J6VbH",glow:"glow___jcndc",staffidInput:"staffidInput___M9rEi",selecticon:"selecticon___T9WXy"},Fe=t(67585),Pe=t(56739),Ve=t(57792),C=t(32637),he=t(19374),s=t(63497),h=t(58617),oe=t(62772),le=t(98679),v=t(59195),je=t(98280),Oe=t(89392),ne=t(29831),Re=t(75694),de=t(49647),H=t(28210),n=t(59301),ce=Object.defineProperty,T=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,We=(Ke,bt,Te)=>bt in Ke?ce(Ke,bt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ke[bt]=Te,st=(Ke,bt)=>{for(var Te in bt||(bt={}))ze.call(bt,Te)&&We(Ke,Te,bt[Te]);if(T)for(var Te of T(bt))xe.call(bt,Te)&&We(Ke,Te,bt[Te]);return Ke},at=(Ke,bt)=>{var Te={};for(var k in Ke)ze.call(Ke,k)&&bt.indexOf(k)<0&&(Te[k]=Ke[k]);if(Ke!=null&&T)for(var k of T(Ke))bt.indexOf(k)<0&&xe.call(Ke,k)&&(Te[k]=Ke[k]);return Te},Ae=(Ke,bt,Te)=>new Promise((k,R)=>{var X=z=>{try{fe(Te.next(z))}catch(o){R(o)}},p=z=>{try{fe(Te.throw(z))}catch(o){R(o)}},fe=z=>z.done?k(z.value):Promise.resolve(z.value).then(X,p);fe((Te=Te.apply(Ke,bt)).next())});const tt=i.default.Option,{TextArea:q}=L.default,Se={teacher:"\u6559\u5E08",student:"\u5B66\u751F",professional:"\u4E13\u4E1A\u4EBA\u58EB"},ge=20,Qe=20,ie=Ke=>{var bt=Ke,{user:Te,account:k,globalSetting:R,shixunHomeworks:X,loading:p,dispatch:fe}=bt,z=at(bt,["user","account","globalSetting","shixunHomeworks","loading","dispatch"]),o,f,se,_,$;const[N]=x.default.useForm(),[G]=x.default.useForm(),[ue,c]=(0,e.useState)({}),[y,Ge]=(0,e.useState)(!1),[W,Le]=(0,e.useState)({}),[He,nt]=(0,e.useState)([]),[it,et]=(0,e.useState)([]),[w,pe]=(0,e.useState)([]),[Ze,Ue]=(0,e.useState)([]),[ot,Tt]=(0,e.useState)([]),[ct,dt]=(0,e.useState)([]),[Rt,Vt]=(0,e.useState)(!0),[Ht,Xt]=(0,e.useState)(!1),[wt,Ut]=(0,e.useState)(),[yt,Bt]=(0,e.useState)(null),[Pt,kt]=(0,e.useState)(!0),[Wt,pt]=(0,e.useState)(),[Lt,ln]=(0,e.useState)(!1),[rn,xn]=(0,e.useState)([]),[Dn,Mn]=(0,e.useState)(!0),[tn,Nn]=(0,e.useState)(!1),Pn=(0,e.useRef)(!0),[bn,Fn]=(0,e.useState)(""),[_n,Jn]=(0,e.useState)(""),[Be,Ie]=(0,e.useState)(""),I=(0,e.useRef)((0,Oe.throttle)(Q=>re(Q),1200,{leading:!0,trailing:!0})).current,{basicInfo:Y={}}=k,be=Y&&Y.professional_certification=="certified",ye=be?{visible:!1}:{visible:!1};(0,e.useEffect)(()=>{var Q,Ce;(Q=k.basicInfo)!=null&&Q.school_name&&re((Ce=k.basicInfo)==null?void 0:Ce.school_name)},[(o=k.basicInfo)==null?void 0:o.school_name]),(0,e.useEffect)(()=>{Dn&&(N.setFieldsValue({studentNo:W.studentNo}),N.validateFields(["studentNo"]))},[W.studentNo]),(0,e.useEffect)(()=>{W.identity==="student"&&!Dn&&N.validateFields(["studentNo"])},[W.identity]),(0,e.useEffect)(()=>{!Pt&&W.school&&!He.find(Q=>Q.name===W.school)?Fn("error"):Fn("")},[Pt,W.school,He]),(0,e.useEffect)(()=>{!Pt&&W.department&&!w.find(Q=>Q.name===W.department)?Jn("error"):Jn("")},[Pt,W.department,w]),(0,e.useEffect)(()=>{!Pt&&W.major_name&&(ot==null?void 0:ot.length)>0&&!ot.find(Q=>Q.name===W.major_name)&&Ie("error")},[Pt,W.major_name]);const g=Q=>{var Ce,Me;return(Me=(Ce=he.jh)==null?void 0:Ce.find(Ye=>Ye.name===Q))==null?void 0:Me.id},re=Q=>Ae(void 0,null,function*(){var Ce,Me;kt(!0);const Ye=yield fe({type:"account/getSchoolOption",payload:{keyword:Q,limit:99999,display_aliases:!0}});nt(Ye==null?void 0:Ye.schools),et(Ye==null?void 0:Ye.schools),Q&&Q!=""?(et((Ce=Ye==null?void 0:Ye.schools)==null?void 0:Ce.filter(ft=>ft.name.includes(Q))),(((Me=Ye==null?void 0:Ye.schools)==null?void 0:Me.find(ft=>ft.name===Q))||{}).id?yield O(Q,Y==null?void 0:Y.department_name,Ye==null?void 0:Ye.schools):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{school:Q,department:"",major_name:""})),pe([]),Ue([]),Tt([]),dt([]),Jn(""),Ie(""))):(N.setFieldsValue({department:"",major_name:""}),Le(st(st({},N.getFieldValue()),{department:"",major_name:""})),pe([]),Ue([]),Tt([]),dt([]),Jn(""),Ie("")),kt(!1)}),De=Q=>{if(Q)return fe({type:"account/getDepartmentOption",payload:{id:Q}})};(0,e.useEffect)(()=>{var Q,Ce;if(!k.basicInfo)return;const{basicInfo:Me}=k,Ye={nickname:Me.nickname,name:Me.show_realname?Me.name:(0,he.YA)(Me.name),gender:Me.gender,city:[Me.location,Me.location_city],identity:Me.identity,school:Me.school_name,department:Me.department_name,major_name:Me.major_name,studentNo:Me.student_id,edu_entry_year:Me.edu_entry_year,edu_background:g(Me.edu_background),brief_introduction:Me.brief_introduction,jobTitle:Me.identity=="teacher"?Me.technical_title:"\u6559\u6388",manager:Me.identity=="professional"?Me.technical_title:"\u4F01\u4E1A\u7BA1\u7406\u8005",staff_id:Me.staff_id};Me!=null&&Me.face_image&&xn([{uid:"111",name:"111",url:de.Z.API_SERVER+Me.face_image,response:{id:(Ce=(Q=Me==null?void 0:Me.face_image)==null?void 0:Q.split("/"))==null?void 0:Ce[3]}}]),Ut(Me.name),Vt(Me.show_realname),Bt(Me.identity),N.setFieldsValue(Ye),Le(Ye)},[k.basicInfo]);const u=()=>{fe({type:"account/setActionTabs",payload:{key:"Account-AppplySchool"}})},S=()=>{if(!He.find(Q=>Q.name===W.school)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u5355\u4F4D\u6216\u8005\u5B66\u6821\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyDepartment"}})},A=()=>{if(!w.find(Q=>Q.name===W.department)){D.ZP.info("\u8BF7\u5148\u9009\u62E9\u6B63\u786E\u7684\u9662\u7CFB\u6216\u8005\u90E8\u95E8\uFF01");return}fe({type:"account/setActionTabs",payload:{key:"Account-AppplyProfession"}})},ve=Q=>{var Ce;Le(st({},N.getFieldsValue())),((Ce=Q==null?void 0:Q.nickname)==null?void 0:Ce.length)<=0&&(Vt(!0),N.setFieldsValue({name:wt})),"name"in Q&&Ut(Q.name),"identity"in Q&&N.setFieldsValue({staff_id:""})},j=()=>{const Q=!Rt;Vt(Q);const Ce=Q?wt:(0,he.YA)(wt);N.setFieldsValue({name:Ce})},O=(Q,Ce,Me)=>Ae(void 0,null,function*(){var Ye,ht;console.log(Ce),console.log(Pn);const ft=(Ye=(Me||He).find(Dt=>Dt.name===Q))==null?void 0:Ye.id,Ct=(yield De(ft))||{},It=Pn.current?Ce:(ht=Ct==null?void 0:Ct.departments[0])==null?void 0:ht.name;N.setFieldsValue({department:It}),Le(st(st({},N.getFieldsValue()),{school:Q,department:It})),pe([...Ct==null?void 0:Ct.departments]),Ue([...Ct==null?void 0:Ct.departments]),Ie(""),V(Pn.current,[...Ct==null?void 0:Ct.departments],Me)}),V=(Q=!1,Ce,Me)=>Ae(void 0,null,function*(){var Ye,ht,ft;console.log(N.getFieldsValue()),console.log(W),console.log(He),Pn.current=!1;let Ct=(Ye=Me.find(Dt=>Dt.name===N.getFieldValue("school")))==null?void 0:Ye.id,It=(ht=Ce.find(Dt=>Dt.name===N.getFieldValue("department")))==null?void 0:ht.id;if(It){const Dt=yield(0,je.ZP)(`/api/schools/${Ct}/departments/${It}/major_option.json`,{method:"get"});if((Dt==null?void 0:Dt.status)==0){Tt([...Dt==null?void 0:Dt.majors]),dt([...Dt==null?void 0:Dt.majors]);const Mt=Q?Y==null?void 0:Y.major_name:(ft=Dt==null?void 0:Dt.majors[0])==null?void 0:ft.name;N.setFieldsValue({major_name:Mt}),Le(st(st({},N.getFieldsValue()),{major_name:Mt}))}}}),ee=()=>Ae(void 0,null,function*(){var Q,Ce,Me,Ye;let ht=(Q=He.find(Ct=>Ct.name===N.getFieldValue("school")))==null?void 0:Q.id,ft=(Ce=w.find(Ct=>Ct.name===N.getFieldValue("department")))==null?void 0:Ce.id;if(ft){Ie("");const Ct=yield(0,je.ZP)(`/api/schools/${ht}/departments/${ft}/major_option.json`,{method:"get"});if((Ct==null?void 0:Ct.status)==0){Tt([...Ct==null?void 0:Ct.majors]),dt([...Ct==null?void 0:Ct.majors]);const It=(Ye=(Me=Ct==null?void 0:Ct.majors)==null?void 0:Me[0])==null?void 0:Ye.name;N.setFieldsValue({major_name:It}),Le(st(st({},N.getFieldsValue()),{major_name:It}))}}}),ae=Q=>Ae(void 0,null,function*(){yield re(),N.setFieldsValue({school:Q,department:""}),Le(st(st({},W),{school:Q,department:""}))}),b=Q=>Ae(void 0,null,function*(){E.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:Q?"\u60A8\u5DF2\u901A\u8FC7\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u59D3\u540D\u9700\u8981\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?":"\u60A8\u5DF2\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u4FEE\u6539\u4FE1\u606F\u9700\u8981\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u662F\u5426\u786E\u5B9A\u64A4\u9500?",onOk:()=>Ae(void 0,null,function*(){var Ce,Me,Ye;(Q?yield(0,s.RA)({login:(Ce=Te.userInfo)==null?void 0:Ce.login}):yield(0,s.kN)({login:(Me=Te.userInfo)==null?void 0:Me.login}))&&(D.ZP.success(Q?"\u64A4\u9500\u5B9E\u540D\u8BA4\u8BC1\u6210\u529F":"\u64A4\u9500\u804C\u4E1A\u8BA4\u8BC1\u6210\u529F"),fe({type:"account/getBasicInfo",payload:{login:(Ye=Te.userInfo)==null?void 0:Ye.login}}))})})}),m=()=>{const Q=new Date().getFullYear();return Array(31).fill({}).map(function(Ce,Me){return n.createElement(tt,{key:Me,value:Q-Me},n.createElement("span",null,Q-Me))})},B=Q=>{var Ce,Me,Ye,ht;if(Q==="number")return W.identity==="teacher"?`${(Ce=R==null?void 0:R.setting)==null?void 0:Ce.homepage_tea_qq_number}`:`${(Me=R==null?void 0:R.setting)==null?void 0:Me.homepage_stu_qq_number}`;if(Q==="code")return W.identity==="teacher"?`${de.Z.IMG_SERVER}/${(Ye=R==null?void 0:R.setting)==null?void 0:Ye.homepage_tea_qq_qrcode_url}`:`${de.Z.IMG_SERVER}/${(ht=R==null?void 0:R.setting)==null?void 0:ht.homepage_stu_qq_qrcode_url}`},te=Q=>Ae(void 0,null,function*(){var Ce,Me,Ye,ht,ft,Ct,It,Dt;const{nickname:Mt,gender:$t,identity:Et,studentNo:Jt,jobTitle:At,manager:sn,school:Gt,department:Yt,edu_background:nn,edu_entry_year:fn,brief_introduction:Zt,face_image:Qt,staff_id:Ft,major_name:_e}=Q,mt=(Ce=w.find(en=>en.name===Yt))==null?void 0:Ce.id,Kt=(Me=He.find(en=>en.name===Gt))==null?void 0:Me.id,jt=Et==="student"?(Ye=ot.find(en=>en.name===_e))==null?void 0:Ye.id:null,{basicInfo:qt}=k;console.log("B",Q,qt);let un=[];qt.authentication!="uncertified"&&(wt!=qt.name&&un.push("\u59D3\u540D"),$t!=qt.gender&&un.push("\u6027\u522B"));let on=[];if(be&&(Et!=qt.identity?on.push("\u804C\u4E1A"):(W.identity,W.identity==="teacher"&&At!=qt.technical_title&&on.push("\u804C\u4E1A"),W.identity==="professional"&&sn!=qt.technical_title&&on.push("\u804C\u4E1A")),Gt!=qt.school_name&&on.push("\u5B66\u6821/\u5355\u4F4D"),Yt!=qt.department_name&&on.push("\u9662\u7CFB/\u90E8\u95E8"),Et==="student"&&_e!=qt.major_name&&on.push("\u4E13\u4E1A")),!Kt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Yt&&!mt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(Et==="student"&&_e&&!jt){E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"});return}if(un.length>0||on.length>0)E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:n.createElement("div",null,`\u672C\u6B21\u4FEE\u6539\u6D89\u53CA${un.toString().replaceAll(",","\u3001")}${un.length>0&&on.length>0?"\u3001":""}${on.toString().replaceAll(",","\u3001")}\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C${un.length>0?"\u5B9E\u540D\u8BA4\u8BC1":""}${un.length>0&&on.length>0?"\u548C":""}${on.length>0?"\u804C\u4E1A\u8BA4\u8BC1":""}\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539`),onOk:()=>Ae(void 0,null,function*(){var en,cn,Rn,Bn,yn,dn,Kn;un.length>0&&(yield(0,s.RA)({login:(en=Te.userInfo)==null?void 0:en.login})),on.length>0&&(yield(0,s.kN)({login:(cn=Te.userInfo)==null?void 0:cn.login}));const Xn=yield fe({type:"account/updateAccount",payload:{id:(Rn=k.basicInfo)==null?void 0:Rn.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(yn=(Bn=rn==null?void 0:rn[0])==null?void 0:Bn.response)==null?void 0:yn.id}});if((Xn==null?void 0:Xn.status)!==-1&&Xn){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(dn=k.basicInfo)!=null&&dn.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Kn=Te.userInfo)==null?void 0:Kn.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}})});else{const en=yield fe({type:"account/updateAccount",payload:{id:(ht=k.basicInfo)==null?void 0:ht.id,department_id:mt,major_id:jt,gender:$t,identity:Et,location,name:wt,nickname:Mt,school_id:Kt,edu_background:nn,edu_entry_year:fn,staff_id:Ft,show_realname:Rt,brief_introduction:Zt,student_id:Et==="student"?Jt:null,technical_title:At||sn,face_image:(Ct=(ft=rn==null?void 0:rn[0])==null?void 0:ft.response)==null?void 0:Ct.id}});if((en==null?void 0:en.status)===-1)return;if(en){if(D.ZP.info("\u4FDD\u5B58\u6210\u529F"),(It=k.basicInfo)!=null&&It.base_info_completed||fe({type:"user/getUserInfo"}),fe({type:"account/getBasicInfo",payload:{login:(Dt=Te.userInfo)==null?void 0:Dt.login}}),Et!==yt&&Et==="teacher"){Xt(!0);return}localStorage.getItem("Noviceguide")==="0"||fe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:4,href:"/classrooms",text:n.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}}),d.history.push("/account/profile")}}}),we=()=>{Xt(!1),d.history.push("/account/profile")},Ne=n.createElement("div",null,Lt?n.createElement(h.Z,null):n.createElement(oe.Z,null),n.createElement("div",{style:{marginTop:8}},"\u4E0A\u4F20")),ut=(Q,Ce)=>{const Me=new FileReader;Me.addEventListener("load",()=>Ce(Me.result)),Me.readAsDataURL(Q)},ke=()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",B("number"),"\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0"),n.createElement("img",{src:B("code"),style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})};return n.createElement("section",{className:lt.wrap},n.createElement("div",{className:lt.content},n.createElement("div",{className:lt.titleWrap},n.createElement("div",{className:lt.title},"\u57FA\u672C\u4FE1\u606F")),n.createElement(x.default,{form:N,className:lt.formWrap,layout:"horizontal",onValuesChange:ve,onFinish:te,scrollToFirstError:!0},n.createElement(x.default.Item,{label:"\u59D3\u540D",name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${ge}\u4E2A\u5B57\u7B26`},{validator:he.HJ}],extra:n.createElement("span",null,W.nickname?Rt?"\u663E\u793A\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D":"\u9690\u85CF\uFF1A\u5E73\u53F0\u5C06\u663E\u793A\u4F60\u7684\u6635\u79F0":"\u586B\u5199\u6635\u79F0\u540E\u53EF\u8BBE\u7F6E\u59D3\u540D\u8FDB\u884C\u9690\u85CF\uFF08\u5F53\u8FDB\u884C\u59D3\u540D\u641C\u7D22\u65F6\uFF0C\u4F1A\u5C55\u793A\u60A8\u7684\u771F\u5B9E\u59D3\u540D\uFF09")},n.createElement(L.default,{style:{height:40},disabled:W.nickname?!Rt:!1,placeholder:`\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D\uFF0C\u6700\u5927\u9650\u5236${ge}\u4E2A\u5B57\u7B26`,maxLength:ge,suffix:W.nickname?n.createElement("i",{style:{lineHeight:"26px"},className:`iconfont ${Rt?"icon-xianshi":"icon-yincang"} font18 ${lt.color0152d9}`,onClick:j}):null})),n.createElement(Z.Z,{gutter:[10,0]},n.createElement(K.Z,null,n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{label:"\u804C\u4E1A",name:"identity",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u4E1A"}]},n.createElement(i.default,{style:{width:135},size:"large"},n.createElement(tt,{value:"teacher"},"\u6559\u5E08"),n.createElement(tt,{value:"student"},"\u5B66\u751F"),n.createElement(tt,{value:"professional"},"\u4E13\u4E1A\u4EBA\u58EB"))))),n.createElement(K.Z,null,W.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.studentNo,name:"studentNo",validateTrigger:"onBlur",dependencies:["school"],rules:[{whitespace:!0,message:"\u4E0D\u80FD\u5168\u4E3A\u7A7A"},{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u53F7"},{validator:(Q,Ce)=>Ae(void 0,null,function*(){var Me,Ye;Mn(!1);const ht=yield(0,je.ZP)(`/api/users/accounts/${(Me=Te==null?void 0:Te.userInfo)==null?void 0:Me.user_id}/valid_student_id`,{method:"get",params:{school_id:((Ye=He==null?void 0:He.find(ft=>ft.name===W.school))==null?void 0:Ye.id)||(Y==null?void 0:Y.school_id),student_id:Ce}});return(ht==null?void 0:ht.status)<-1&&tn&&(Ge(!0),Nn(!1)),(ht==null?void 0:ht.status)<-1?Promise.reject(n.createElement("span",null,"\u8BE5\u5B66\u53F7\u5DF2\u88AB\u4F7F\u7528\uFF0C\u5982\u9700\u7EE7\u7EED\u4F7F\u7528\u8BE5\u5B66\u53F7\uFF0C\u8BF7\u5148",n.createElement("a",{onClick:()=>{Ge(!0)}},"\u89E3\u7ED1\u5B66\u53F7"))):Promise.resolve()})}]},n.createElement(L.default,{size:"large",style:{width:320},type:"text",placeholder:"\u8BF7\u8F93\u5165\u5B66\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",showCount:!0,maxLength:20}))),W.identity==="teacher"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.jobTitle,name:"jobTitle",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u6559\u6388"},"\u6559\u6388"),n.createElement(tt,{value:"\u7814\u7A76\u5458"},"\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u526F\u6559\u6388"},"\u526F\u6559\u6388"),n.createElement(tt,{value:"\u526F\u7814\u7A76\u5458"},"\u526F\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u8BB2\u5E08"},"\u8BB2\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u7814\u7A76\u5458"},"\u52A9\u7406\u7814\u7A76\u5458"),n.createElement(tt,{value:"\u52A9\u7406\u6559\u6388"},"\u52A9\u7406\u6559\u6388")))),W.identity==="professional"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement(x.default.Item,{initialValue:W.manager,name:"manager",rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u804C\u79F0"}]},n.createElement(i.default,{style:{width:200},size:"large"},n.createElement(tt,{value:"\u4F01\u4E1A\u7BA1\u7406\u8005"},"\u4F01\u4E1A\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u90E8\u95E8\u7BA1\u7406\u8005"},"\u90E8\u95E8\u7BA1\u7406\u8005"),n.createElement(tt,{value:"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"},"\u9AD8\u7EA7\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u5DE5\u7A0B\u5E08"},"\u5DE5\u7A0B\u5E08"),n.createElement(tt,{value:"\u52A9\u7406\u5DE5\u7A0B\u5E08"},"\u52A9\u7406\u5DE5\u7A0B\u5E08"))))),(W.identity==="teacher"||W.identity==="professional")&&n.createElement(K.Z,{flex:1},n.createElement(x.default.Item,{label:"\u5DE5\u53F7",name:"staff_id",labelCol:{span:4},rules:[{validator:(Q,Ce)=>Ce===null||Ce===""||Ce===void 0?Promise.resolve():/[\u4E00-\u9FA5]/g.test(Ce)?Promise.reject("\u8BF7\u52FF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26"):Ce.length>20?Promise.reject("\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26"):Promise.resolve()}]},n.createElement(L.default,{placeholder:"\u8BF7\u8F93\u5165\u5DE5\u53F7\uFF0C\u6700\u5927\u9650\u523620\u4E2A\u5B57\u7B26",className:lt.staffidInput,suffix:" ",showCount:!0,maxLength:20})))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D",name:"school",wrapperCol:{span:10},extra:!Pt&&W.school&&!(He!=null&&He.find(Q=>Q.name===W.school))&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},"\u672A\u627E\u5230\u5305\u542B\u201C",W.school,"\u201D\u7684\u9AD8\u6821\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",W.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u8FDB\u884C\u54A8\u8BE2\u548C\u7533\u8BF7\u65B0\u589E\u5B66\u6821\u540D\u79F0\u3002"),n.createElement("img",{src:W.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E")),rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"},{whitespace:!0,message:"\u8BF7\u5148\u9009\u62E9\u5B66\u6821/\u5355\u4F4D"}]},n.createElement(U.Z,{status:bn,size:"large",showSearch:!0,onChange:I,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"},it.map((Q,Ce)=>n.createElement(tt,{key:Ce,value:Q.name},Q.name)))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8",name:"department",wrapperCol:{span:10},extra:!Pt&&W.department&&!(w!=null&&w.find(Q=>Q.name===W.department))&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},W.department?`\u672A\u627E\u5230\u5305\u542B\u201C${W.department}\u201D\u7684\u9AD8\u6821\uFF0C`:"\u672A\u627E\u5230\u9662\u7CFB\uFF0C"),n.createElement("span",{className:lt.colorCDCDCD},"\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{ke()}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(U.Z,{status:_n,size:"large",placeholder:"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0",onChange:Q=>{Q==""&&(N.setFieldsValue({major_name:""}),Le(st(st({},N.getFieldsValue()),{major_name:""})),Tt([]),dt([]),Ie("")),ee(),Ue(w.filter(Ce=>Ce.name.includes(Q)))}},Ze.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.name},Q.name,(Q==null?void 0:Q.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),W.identity==="student"&&n.createElement(r.Z,st({placement:"bottom",title:()=>n.createElement("div",null,n.createElement("div",null,"\u5DF2\u63D0\u4EA4\u804C\u4E1A\u8BA4\u8BC1"),n.createElement("div",null,"\u53EF\u5728",n.createElement("a",{href:"/account/certification",className:"c-blue"},"\u8BA4\u8BC1\u4FE1\u606F"),"\u4E2D\u901A\u8FC7\u201C\u91CD\u65B0\u8BA4\u8BC1\u201D\u8FDB\u884C\u4FEE\u6539"))},ye),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u4E13\u4E1A",name:"major_name",wrapperCol:{span:10},extra:Be==="error"&&n.createElement("div",{className:lt.schoolHintWrap},n.createElement("span",{className:lt.colorCDCDCD},"\u672A\u627E\u5230\u201C",W.major_name,"\u201D\u4E13\u4E1A\uFF0C\u5982\u6709\u9700\u8981\uFF0C\u8BF7",n.createElement("span",{style:{color:"blue",cursor:"pointer"},onClick:()=>{E.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",width:400,icon:null,centered:!0,content:n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{textAlign:"left"}},"\u8BF7\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u5B98\u65B9\u4EA4\u6D41QQ\u7FA4\uFF1A",W.identity==="teacher"?"727685969":"816055138","\uFF0C\u8054\u7CFB\u7FA4\u5185\u7684\u8FD0\u8425\u4EBA\u5458\u7533\u8BF7\u65B0\u589E\u90E8\u95E8\u6216\u4E13\u4E1A\u540D\u79F0\u3002"),n.createElement("img",{src:W.identity==="teacher"?ne:Re,style:{width:"170px",height:"170px",marginTop:"20px"}})),okText:"\u6211\u77E5\u9053\u4E86"})}},"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425"),"\u7533\u8BF7\u65B0\u589E"))},n.createElement(U.Z,{status:Be,size:"large",placeholder:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0",onChange:Q=>{if(dt(ot.filter(Ce=>Ce.name.includes(Q))),Q&&(ot==null?void 0:ot.length)==0){Ie("error");return}if(Q==""){Ie("");return}if(Q&&(ot==null?void 0:ot.length)>0&&ot.find(Ce=>Ce.name===Q)){Ie("");return}}},ct.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.name},Q.name,(Q==null?void 0:Q.status)==0&&n.createElement("span",{style:{color:"#FF8C29",marginLeft:"5px"}},"(\u5F85\u5BA1\u6838)"))}))),n.createElement("span",{className:lt.selecticon},n.createElement("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},n.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}))))),n.createElement(x.default.Item,{label:"\u6635\u79F0",name:"nickname",rules:[{message:"\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0"},{validator:he.G7}],validateTrigger:"onSubmit"},n.createElement(L.default,{style:{height:40},placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684\u6635\u79F0\uFF0C\u6700\u5927\u9650\u5236${Qe}\u4E2A\u5B57\u7B26`,maxLength:Qe,suffix:`${((f=W.nickname)==null?void 0:f.length)||0}/${Qe}`})),n.createElement(x.default.Item,{labelCol:{span:3},wrapperCol:{span:4},label:"\u6027\u522B",className:"mb0"},n.createElement(x.default.Item,{name:"gender"},n.createElement(M.ZP.Group,null,n.createElement(M.ZP,{value:0},"\u7537"),n.createElement(M.ZP,{value:1},"\u5973")))),n.createElement(x.default.Item,{label:(W==null?void 0:W.identity)==="student"?"\u5165\u5B66\u5E74\u4EFD":"\u5165\u804C\u65F6\u95F4",name:"edu_entry_year",wrapperCol:{span:10}},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u5165\u5B66\u5E74\u4EFD",size:"large"},m())),n.createElement(x.default.Item,{label:"\u6700\u9AD8\u5B66\u5386",wrapperCol:{span:10},name:"edu_background"},n.createElement(i.default,{placeholder:"\u8BF7\u9009\u62E9\u6700\u9AD8\u5B66\u5386",size:"large"},he.jh.map(function(Q,Ce){return n.createElement(tt,{key:Ce,value:Q.id},Q.name)}))),n.createElement("div",{style:{display:"flex"}},n.createElement(x.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167",wrapperCol:{span:10},name:"face_image"},n.createElement(P.default,{listType:"picture-card",withCredentials:!0,className:"avatar-uploader",fileList:rn,onPreview:Q=>{v.Z.publish("preview-image",Q.thumbUrl||Q.url)},action:`${de.Z.API_SERVER}/api/attachments.json`,beforeUpload:Q=>{const Ce=Q.type==="image/jpeg"||Q.type==="image/png";if(!Ce)return D.ZP.error("\u60A8\u4E0A\u4F20\u7684\u4E0D\u662FJPG/PNG\u7C7B\u578B\u6587\u4EF6"),Promise.reject();const Me=Q.size/1024/1024<1;return Me?Ce&&Me:(D.ZP.error("\u6587\u4EF6\u4E0D\u80FD\u5927\u4E8E1MB"),Promise.reject())},onChange:Q=>{xn([...Q.fileList])}},(rn==null?void 0:rn.length)>0?null:Ne)),n.createElement("div",{style:{marginLeft:16,color:"#666666",display:"flex",flexDirection:"column",marginTop:5}},n.createElement("span",null,"\u8981\u6C42\uFF1A"),n.createElement("span",null,"1.",(W==null?void 0:W.identity)==="student"?"\u5B66\u751F":"\u8BC1\u4EF6","\u7167\u7247\u5FC5\u987B\u4E3A\u9AD8\u6E05\u7684\u4EBA\u8138\u7167"),n.createElement("span",null,"2.\u6309\u7167 \u59D3\u540D-",(W==null?void 0:W.identity)==="student"?"\u5B66\u53F7":"\u5DE5\u53F7"," \u7684\u65B9\u5F0F\u6765\u547D\u540D\u7167\u7247"),n.createElement("span",null,"3.\u56FE\u7247\u5927\u5C0F\u57281MB\u4EE5\u5185"))),n.createElement("div",{style:{position:"relative"}},n.createElement(x.default.Item,{label:"\u7B80\u4ECB",name:"brief_introduction",rules:[{required:!1}]},n.createElement(q,{maxLength:500,rows:6})),n.createElement("div",{style:{position:"absolute",bottom:10,right:10}},(se=N.getFieldValue("brief_introduction"))==null?void 0:se.length,"/500")),n.createElement(x.default.Item,null,n.createElement(me.ZP,{className:`${X.actionTabs.type===2?lt.submitButtondiv:lt.submitButton} ml100`,size:"middle",type:"primary",onClick:()=>{Nn(!0),N.submit()},loading:p["account/editAccount"]},"\u4FDD\u5B58"),n.createElement(me.ZP,{className:lt.submitButton,size:"middle",onClick:()=>d.history.push("/account/profile")},"\u53D6\u6D88")))),n.createElement("div",{className:`${lt.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),n.createElement(Fe.Z,{visible:k.actionTabs.key==="Account-AppplySchool",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolName:W.school,onSuccess:ae}),n.createElement(Pe.Z,{visible:k.actionTabs.key==="Account-AppplyDepartment",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},schoolId:(_=He.find(Q=>Q.name===W.school))==null?void 0:_.id,schoolName:W.school,departmentName:W.department,onSuccess:Q=>O(W.school,Q)}),n.createElement(H.Z,{visible:k.actionTabs.key==="Account-AppplyProfession",onClose:()=>{fe({type:"account/setActionTabs",payload:{}})},departmentId:($=w.find(Q=>Q.name===W.department))==null?void 0:$.id,departmentName:W.department,majorName:W.major_name,onSuccess:Q=>{N.setFieldsValue({major_name:Q}),Le(st(st({},N.getFieldsValue()),{major_name:Q})),ee()}}),n.createElement(E.default,{centered:!0,destroyOnClose:!0,open:Ht,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:560,footer:null,onCancel:()=>{Xt(!1)}},n.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},n.createElement("aside",{style:{letterSpacing:1}},"\u57FA\u4E8E\u60A8\u6240\u5728\u9662\u6821\u4E0E\u5E73\u53F0\u6709\u6DF1\u5EA6\u5408\u4F5C\uFF0C\u6211\u4EEC\u7279\u610F\u4E3A\u60A8\u914D\u5907\u4E86\u5E73\u53F0\u76841\u5BF91\u52A9\u6559\uFF0C\u60A8\u53EF\u4EE5\u626B\u63CF\u4E0B\u65B9\u4E8C\u7EF4\u7801\u6DFB\u52A0\u52A9\u7406\u5FAE\u4FE1\uFF0C\u6211\u4EEC\u5C067*24\u5C0F\u65F6\u4E3A\u60A8\u7B54\u7591\u89E3\u60D1\u3002"),n.createElement("img",{className:"mt20 mb20",src:C,width:162,height:162}))),n.createElement(E.default,{title:"\u89E3\u7ED1\u5B66\u53F7",open:y,centered:!0,destroyOnClose:!0,onCancel:()=>{Ge(!1),G.resetFields()},onOk:()=>{G.submit()}},n.createElement(x.default,{form:G,size:"large",onValuesChange:(Q,Ce)=>{c(Ce)},onFinish:Q=>Ae(void 0,null,function*(){var Ce,Me;(yield(0,je.ZP)(`/api/users/accounts/${(Ce=Te==null?void 0:Te.userInfo)==null?void 0:Ce.user_id}/unbind_student_id.json`,{method:"post",body:st({student_id:W.studentNo,school_id:((Me=He==null?void 0:He.find(ht=>ht.name===W.school))==null?void 0:Me.id)||(Y==null?void 0:Y.school_id),check_type:4},Q)})).status==0&&(D.ZP.success("\u89E3\u7ED1\u6210\u529F"),N.validateFields(),G.resetFields(),Ge(!1))})},n.createElement("div",{className:"mb20"},"\u5F88\u62B1\u6B49\uFF0C\u8BE5\u5B66\u53F7\uFF08",W.studentNo||N.getFieldValue("studentNo"),"\uFF09\u5728",W.school,"\u5185\u5DF2\u88AB\u4F7F\u7528\uFF0C\u60A8\u53EF\u4EE5\u63D0\u4F9B",n.createElement("span",{style:{color:"#3061d0"}},"\u5F53\u524D\u8D26\u53F7\u6240\u5728\u5B66\u6821\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D"),"\u8FDB\u884C\u89E3\u7ED1\uFF1A"),n.createElement(x.default.Item,{name:"check_value",rules:[{required:!0,message:`\u8BF7\u586B\u5199${W==null?void 0:W.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`}],style:{marginBottom:"10px"}},n.createElement(L.default,{type:"text",placeholder:`\u8BF7\u586B\u5199${W==null?void 0:W.school}\u4E2D\u4EFB\u610F\u4E00\u4F4D\u5DF2\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u59D3\u540D`})),n.createElement("div",null,"\u8BF7\u6CE8\u610F\uFF0C\u6BCF\u4F4D\u5B66\u751F\u6BCF\u5929\u4EC5\u6709 ",n.createElement("span",{style:{color:"#FA6400"}},"2")," \u6B21\u6210\u529F\u89E3\u7ED1\u5B66\u53F7\u7684\u673A\u4F1A\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"))),n.createElement(le.Z,null),n.createElement(Ve.Z,null))};var qe=(0,d.connect)(({user:Ke,account:bt,loading:Te,globalSetting:k,shixunHomeworks:R})=>({user:Ke,account:bt,globalSetting:k,loading:Te.effects,shixunHomeworks:R}))(ie)},33542:function(an,Je,t){t.r(Je),t.d(Je,{default:function(){return Pe}});var e=t(75790),d=t(7939),i=t(28284),L=t(94968),x={wrap:"wrap___b7NLQ",content:"content___PtdDU",hint:"hint___eYy0R",title:"title___Ijn2y",titleWrap:"titleWrap___DpFsH",formWrap:"formWrap___Obi0m"},D=t(44770),E=t(19374),Z=t(49647),K=t(98679),r=t(59195),U=t(59301),M=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,lt=(Ve,C)=>{var he={};for(var s in Ve)P.call(Ve,s)&&C.indexOf(s)<0&&(he[s]=Ve[s]);if(Ve!=null&&M)for(var s of M(Ve))C.indexOf(s)<0&&me.call(Ve,s)&&(he[s]=Ve[s]);return he};const Fe=Ve=>{var C=Ve,{account:he,globalSetting:s,loading:h,dispatch:oe}=C,le=lt(C,["account","globalSetting","loading","dispatch"]);const{basicInfo:v}=he;return U.createElement("section",{className:x.wrap},U.createElement("div",{className:x.content},U.createElement("div",{className:x.titleWrap},U.createElement("div",{className:x.title},"\u57FA\u672C\u4FE1\u606F"),U.createElement(d.ZP,{type:"primary",ghost:!0,onClick:()=>{localStorage.getItem("Noviceguide")==="0"||oe({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/account/profile/edit",text:U.createElement("div",null,"\u8BF7\u60A8\u5B8C\u5584\u4E00\u4E0B\u5E73\u53F0\u7684\u57FA\u672C\u4FE1\u606F\uFF0C\u5305\u62EC\uFF1A\u6635\u79F0\u3001\u804C\u4E1A\u3001\u5B66\u6821/\u5355\u4F4D\uFF0C \u70B9\u51FB\u4FDD\u5B58")}}),e.history.push("/account/profile/edit")}},"\u4FEE\u6539")),U.createElement(i.default,{className:x.formWrap,labelCol:{span:3},wrapperCol:{span:21},layout:"horizontal"},U.createElement(i.default.Item,{label:"\u59D3\u540D"},(v==null?void 0:v.show_realname)==!0?v==null?void 0:v.name:(0,E.YA)(v==null?void 0:v.name)),U.createElement(i.default.Item,{label:"\u804C\u4E1A"},D.identityMap[v==null?void 0:v.identity],"\u3000",(v==null?void 0:v.technical_title)||(v==null?void 0:v.student_id),U.createElement("span",{className:"ml20"},v!=null&&v.student_id?"":v==null?void 0:v.staff_id)),U.createElement(i.default.Item,{label:"\u5B66\u6821/\u5355\u4F4D"},v==null?void 0:v.school_name),U.createElement(i.default.Item,{label:"\u9662\u7CFB/\u90E8\u95E8"},v==null?void 0:v.department_name),(v==null?void 0:v.identity)==="student"&&U.createElement(i.default.Item,{label:"\u4E13\u4E1A"},v==null?void 0:v.major_name),U.createElement(i.default.Item,{label:"\u6635\u79F0"},v==null?void 0:v.nickname),U.createElement(i.default.Item,{label:"\u6027\u522B"},(v==null?void 0:v.gender)==0?"\u7537":"\u5973"),U.createElement(i.default.Item,{label:"\u5165\u5B66\u5E74\u4EFD"},v==null?void 0:v.edu_entry_year),U.createElement(i.default.Item,{label:"\u6700\u9AD8\u5B66\u5386"},v==null?void 0:v.edu_background),(v==null?void 0:v.face_image)&&U.createElement(i.default.Item,{label:"\u4E0A\u4F20\u8BC1\u4EF6\u7167"},U.createElement(L.default,{listType:"picture-card",withCredentials:!0,disabled:!0,onPreview:je=>{r.Z.publish("preview-image",je.thumbUrl||je.url)},className:"avatar-uploader",fileList:[{uid:"111",name:"111",url:Z.Z.API_SERVER+(v==null?void 0:v.face_image)}]})),U.createElement(i.default.Item,{label:"\u7B80\u4ECB"},v==null?void 0:v.brief_introduction))),U.createElement("div",{className:`${x.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732"),U.createElement(K.Z,null))};var Pe=(0,e.connect)(({account:Ve,loading:C,globalSetting:he})=>({account:Ve,globalSetting:he,loading:C.models.index}))(Fe)},67585:function(an,Je,t){t.d(Je,{Z:function(){return v}});var e=t(59301),d=t(75790),i=t(37568),L=t(28284),x=t(62957),D=t(70858),E=t(6767),Z=t(79939),K=t(7939),r=t(29679),U=t(19248),M=t(26221),P={flexRow:"flexRow___qRWfN",flexColumn:"flexColumn___qUHfF",formWrap:"formWrap___kSgvX",example:"example___D0a_H",footerWrap:"footerWrap___kTeYf"},me=Object.defineProperty,lt=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ve=(je,Oe,ne)=>Oe in je?me(je,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ne}):je[Oe]=ne,C=(je,Oe)=>{for(var ne in Oe||(Oe={}))Fe.call(Oe,ne)&&Ve(je,ne,Oe[ne]);if(lt)for(var ne of lt(Oe))Pe.call(Oe,ne)&&Ve(je,ne,Oe[ne]);return je},he=(je,Oe)=>{var ne={};for(var Re in je)Fe.call(je,Re)&&Oe.indexOf(Re)<0&&(ne[Re]=je[Re]);if(je!=null&<)for(var Re of lt(je))Oe.indexOf(Re)<0&&Pe.call(je,Re)&&(ne[Re]=je[Re]);return ne},s=(je,Oe,ne)=>new Promise((Re,de)=>{var H=T=>{try{ce(ne.next(T))}catch(ze){de(ze)}},n=T=>{try{ce(ne.throw(T))}catch(ze){de(ze)}},ce=T=>T.done?Re(T.value):Promise.resolve(T.value).then(H,n);ce((ne=ne.apply(je,Oe)).next())});const h=(je,Oe)=>Oe.some(ne=>ne.label.toLowerCase().indexOf(je.toLowerCase())>-1),oe=i.default.TextArea,le=je=>{var Oe=je,{account:ne,globalSetting:Re,loading:de,dispatch:H,schoolName:n,visible:ce,onClose:T=()=>{},onSuccess:ze=()=>{}}=Oe,xe=he(Oe,["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"]);const[We]=L.default.useForm();(0,e.useEffect)(()=>{We.setFieldsValue({name:n})},[n]);const st=at=>s(void 0,null,function*(){const{name:Ae,city:tt=[],address:q,remarks:Se}=at||{},ge=yield H({type:"account/appplySchool",payload:{name:Ae,province:tt[0],city:tt[1],address:q,remarks:Se}});if((ge==null?void 0:ge.status)==2){const Qe=x.default.confirm({icon:null,width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:e.createElement(e.Fragment,null,e.createElement("p",null,"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u7533\u8BF7\u65B0\u589E\u7684\u5355\u4F4D\u5DF2\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4E3A\u8BE5\u5355\u4F4D\uFF1F"),e.createElement(D.default,{columns:[{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"name"},{title:"\u7528\u6237\u6570",width:150,dataIndex:"users_count"}],dataSource:[C({},ge)],pagination:!1})),onOk:()=>s(void 0,null,function*(){yield ze(Ae),Qe.destroy(),T()}),onCancel:()=>{Qe.destroy()}});return}T(),ge.status==0&&(E.ZP.success("\u65B0\u589E\u5B66\u6821/\u5355\u4F4D\u6210\u529F\uFF01"),ze(Ae))});return e.createElement(x.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ce,title:"\u7533\u8BF7\u6DFB\u52A0\u5355\u4F4D\u540D\u79F0",width:"600px",footer:null},e.createElement(L.default,{className:P.formWrap,form:We,labelCol:{span:4},wrapperCol:{span:20},onFinish:st},e.createElement(L.default.Item,{label:"\u5355\u4F4D\u5168\u79F0\uFF1A",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"}]},e.createElement(i.default,{placeholder:"\u5B66\u6821\u6216\u5DE5\u4F5C\u5355\u4F4D"})),e.createElement("div",{className:`${P.flexRow} ${P.example}`},e.createElement("div",null,"\u793A\u4F8B\uFF1A"),e.createElement("div",{className:P.flexColumn},e.createElement("div",null,e.createElement(r.Z,{style:{color:"rgb(82, 196, 26)"}}),e.createElement("span",{className:"font14 ml5"},"\u6B63\u786E\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u6784")),e.createElement("div",null,e.createElement(U.Z,{style:{color:"red"}}),e.createElement("span",{className:"font14 ml5"},"\u9519\u8BEF\u793A\u4F8B\uFF1A\u6570\u636E\u7ED3\u67842019\u6625")))),e.createElement(L.default.Item,{label:"\u5730\u533A\uFF1A",name:"city"},e.createElement(Z.Z,{allowClear:!0,size:"middle",options:M.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730",showSearch:{matchInputWidth:!0,filter:h}})),e.createElement(L.default.Item,{label:"\u8BE6\u7EC6\u5730\u5740\uFF1A",name:"address"},e.createElement(i.default,{placeholder:"\u8BF7\u586B\u5199\u5B8C\u6574\u7684\u5730\u5740\u4FE1\u606F"})),e.createElement(L.default.Item,{label:"\u8BF4\u660E\uFF1A",name:"remarks"},e.createElement(oe,{placeholder:"\u518D\u6B21\u8BF4\u660E\u7279\u522B\u60C5\u51B5\uFF08\u9009\u586B\uFF09"})),e.createElement("div",{className:P.footerWrap},e.createElement(L.default.Item,null,e.createElement(K.ZP,{className:"mr5",size:"middle",onClick:()=>{T()}},"\u53D6\u6D88"),e.createElement(K.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:de["account/appplySchool"]},"\u4FDD\u5B58")))))};var v=(0,d.connect)(({account:je,loading:Oe,globalSetting:ne})=>({account:je,globalSetting:ne,loading:Oe.effects}))(le)},26221:function(an,Je,t){t.d(Je,{P:function(){return e}});const e=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},29509:function(an,Je,t){t.d(Je,{o2:function(){return x},yT:function(){return D}});var e=t(94480),d=t(34998);const i=d.i.map(E=>`${E}-inverse`),L=["success","processing","error","default","warning"];function x(E){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(i),(0,e.Z)(d.i)).includes(E):d.i.includes(E)}function D(E){return L.includes(E)}},9981:function(an,Je){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let d=1;d{const x=i[L];x!==void 0&&(e[L]=x)})}return e};Je.Z=t},99402:function(an,Je,t){t.d(Je,{T:function(){return d},n:function(){return e}});function e(i){return["small","middle","large"].includes(i)}function d(i){return i?typeof i=="number"&&!Number.isNaN(i):!1}},86013:function(an,Je,t){var e=t(59301),d=t(19248);const i=L=>{let x;return typeof L=="object"&&(L!=null&&L.clearIcon)?x=L:L&&(x={clearIcon:e.createElement(d.Z,null)}),x};Je.Z=i},97224:function(an,Je,t){t.d(Je,{F:function(){return e}});function e(i){return i!=null&&i===i.window}const d=i=>{var L,x;if(typeof window=="undefined")return 0;let D=0;return e(i)?D=i.pageYOffset:i instanceof Document?D=i.documentElement.scrollTop:(i instanceof HTMLElement||i)&&(D=i.scrollTop),i&&!e(i)&&typeof D!="number"&&(D=(x=((L=i.ownerDocument)!==null&&L!==void 0?L:i).documentElement)===null||x===void 0?void 0:x.scrollTop),D};Je.Z=d},52838:function(an,Je,t){t.d(Je,{Z:function(){return D}});var e=t(37645);function d(E,Z,K,r){if(r===!1)return{adjustX:!1,adjustY:!1};const U=r&&typeof r=="object"?r:{},M={};switch(E){case"top":case"bottom":M.shiftX=Z.arrowOffsetHorizontal*2+K,M.shiftY=!0,M.adjustY=!0;break;case"left":case"right":M.shiftY=Z.arrowOffsetVertical*2+K,M.shiftX=!0,M.adjustX=!0;break}const P=Object.assign(Object.assign({},M),U);return P.shiftX||(P.adjustX=!0),P.shiftY||(P.adjustY=!0),P}const i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},L={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},x=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(E){const{arrowWidth:Z,autoAdjustOverflow:K,arrowPointAtCenter:r,offset:U,borderRadius:M,visibleFirst:P}=E,me=Z/2,lt={};return Object.keys(i).forEach(Fe=>{const Pe=r&&L[Fe]||i[Fe],Ve=Object.assign(Object.assign({},Pe),{offset:[0,0],dynamicInset:!0});switch(lt[Fe]=Ve,x.has(Fe)&&(Ve.autoArrow=!1),Fe){case"top":case"topLeft":case"topRight":Ve.offset[1]=-me-U;break;case"bottom":case"bottomLeft":case"bottomRight":Ve.offset[1]=me+U;break;case"left":case"leftTop":case"leftBottom":Ve.offset[0]=-me-U;break;case"right":case"rightTop":case"rightBottom":Ve.offset[0]=me+U;break}const C=(0,e.wZ)({contentRadius:M,limitVerticalRadius:!0});if(r)switch(Fe){case"topLeft":case"bottomLeft":Ve.offset[0]=-C.arrowOffsetHorizontal-me;break;case"topRight":case"bottomRight":Ve.offset[0]=C.arrowOffsetHorizontal+me;break;case"leftTop":case"rightTop":Ve.offset[1]=-C.arrowOffsetHorizontal*2+me;break;case"leftBottom":case"rightBottom":Ve.offset[1]=C.arrowOffsetHorizontal*2-me;break}Ve.overflow=d(Fe,C,Z,K),P&&(Ve.htmlRegion="visibleFirst")}),lt}},83010:function(an,Je,t){t.d(Je,{Z:function(){return L}});var e=t(16089);function d(x,D,E,Z){const K=E-D;return x/=Z/2,x<1?K/2*x*x*x+D:K/2*((x-=2)*x*x+2)+D}var i=t(97224);function L(x){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:E=()=>window,callback:Z,duration:K=450}=D,r=E(),U=(0,i.Z)(r),M=Date.now(),P=()=>{const lt=Date.now()-M,Fe=d(lt>K?K:lt,U,x,K);(0,i.F)(r)?r.scrollTo(window.pageXOffset,Fe):r instanceof Document||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=Fe:r.scrollTop=Fe,ltE||D},1560:function(an,Je,t){t.d(Je,{Z:function(){return Ve}});var e=t(2738),d=t(45915),i=t(82326),L=t(59301),x=t(92310),D=t.n(x),E=t(11592),Z=t(75030),K=t(48755);const{Option:r}=i.default;function U(C){return(C==null?void 0:C.type)&&(C.type.isSelectOption||C.type.isSelectOptGroup)}const M=(C,he)=>{var s;const{prefixCls:h,className:oe,popupClassName:le,dropdownClassName:v,children:je,dataSource:Oe}=C,ne=(0,E.Z)(je);let Re;ne.length===1&&L.isValidElement(ne[0])&&!U(ne[0])&&([Re]=ne);const de=Re?()=>Re:void 0;let H;ne.length&&U(ne[0])?H=je:H=Oe?Oe.map(ze=>{if(L.isValidElement(ze))return ze;switch(typeof ze){case"string":return L.createElement(r,{key:ze,value:ze},ze);case"object":{const{value:xe}=ze;return L.createElement(r,{key:xe,value:xe},ze.text)}default:return}}):[];const{getPrefixCls:n}=L.useContext(K.E_),ce=n("select",h),[T]=(0,Z.Cn)("SelectLike",(s=C.dropdownStyle)===null||s===void 0?void 0:s.zIndex);return L.createElement(i.default,Object.assign({ref:he,suffixIcon:null},(0,e.Z)(C,["dataSource","dropdownClassName"]),{prefixCls:ce,popupClassName:le||v,dropdownStyle:Object.assign(Object.assign({},C.dropdownStyle),{zIndex:T}),className:D()(`${ce}-auto-complete`,oe),mode:i.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:de}),H)};var me=L.forwardRef(M);const{Option:lt}=i.default,Fe=(0,d.Z)(me,"dropdownAlign",C=>(0,e.Z)(C,["visible"])),Pe=me;Pe.Option=lt,Pe._InternalPanelDoNotUseOrYouWillBeFired=Fe;var Ve=Pe},79939:function(an,Je,t){t.d(Je,{Z:function(){return De}});var e=t(94480),d=t(59301),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(42978),Z=t(75931),K=t(37463),r=t(6551),U=t(6089),M=t(18929),P=d.createContext({}),me=P,lt=t(76190),Fe=t(20068),Pe="__rc_cascader_search_mark__",Ve=function(S,A,ve){var j=ve.label,O=j===void 0?"":j;return A.some(function(V){return String(V[O]).toLowerCase().includes(S.toLowerCase())})},C=function(S,A,ve,j){return A.map(function(O){return O[j.label]}).join(" / ")},he=function(S,A,ve,j,O,V){var ee=O.filter,ae=ee===void 0?Ve:ee,b=O.render,m=b===void 0?C:b,B=O.limit,te=B===void 0?50:B,we=O.sort;return d.useMemo(function(){var Ne=[];if(!S)return[];function ut(ke,Q){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ke.forEach(function(Me){if(!(!we&&te!==!1&&te>0&&Ne.length>=te)){var Ye=[].concat((0,e.Z)(Q),[Me]),ht=Me[ve.children],ft=Ce||Me.disabled;if((!ht||ht.length===0||V)&&ae(S,Ye,{label:ve.label})){var Ct;Ne.push((0,D.Z)((0,D.Z)({},Me),{},(Ct={disabled:ft},(0,Fe.Z)(Ct,ve.label,m(S,Ye,j,ve)),(0,Fe.Z)(Ct,Pe,Ye),(0,Fe.Z)(Ct,ve.children,void 0),Ct)))}ht&&ut(Me[ve.children],Ye,ft)}})}return ut(A,[]),we&&Ne.sort(function(ke,Q){return we(ke[Pe],Q[Pe],S,ve)}),te!==!1&&te>0?Ne.slice(0,te):Ne},[S,A,ve,j,m,V,ae,we,te])},s=he,h="__RC_CASCADER_SPLIT__",oe="SHOW_PARENT",le="SHOW_CHILD";function v(u){return u.join(h)}function je(u){return u.map(v)}function Oe(u){return u.split(h)}function ne(u){var S=u||{},A=S.label,ve=S.value,j=S.children,O=ve||"value";return{label:A||"label",value:O,key:O,children:j||"children"}}function Re(u,S){var A,ve;return(A=u.isLeaf)!==null&&A!==void 0?A:!((ve=u[S.children])!==null&&ve!==void 0&&ve.length)}function de(u){var S=u.parentElement;if(S){var A=u.offsetTop-S.offsetTop;A-S.scrollTop<0?S.scrollTo({top:A}):A+u.offsetHeight-S.scrollTop>S.offsetHeight&&S.scrollTo({top:A+u.offsetHeight-S.offsetHeight})}}function H(u,S){return u.map(function(A){var ve;return(ve=A[Pe])===null||ve===void 0?void 0:ve.map(function(j){return j[S.value]})})}function n(u){return Array.isArray(u)&&Array.isArray(u[0])}function ce(u){return u?n(u)?u:(u.length===0?[]:[u]).map(function(S){return Array.isArray(S)?S:[S]}):[]}function T(u,S,A){var ve=new Set(u),j=S();return u.filter(function(O){var V=j[O],ee=V?V.parent:null,ae=V?V.children:null;return V&&V.node.disabled?!0:A===le?!(ae&&ae.some(function(b){return b.key&&ve.has(b.key)})):!(ee&&!ee.node.disabled&&ve.has(ee.key))})}function ze(u,S,A){for(var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,j=S,O=[],V=function(){var b,m,B,te=u[ee],we=(b=j)===null||b===void 0?void 0:b.findIndex(function(ut){var ke=ut[A.value];return ve?String(ke)===String(te):ke===te}),Ne=we!==-1?(m=j)===null||m===void 0?void 0:m[we]:null;O.push({value:(B=Ne==null?void 0:Ne[A.value])!==null&&B!==void 0?B:te,index:we,option:Ne}),j=Ne==null?void 0:Ne[A.children]},ee=0;ee1){var Ct=Ne.slice(0,-1);Ce(Ct)}else b(!1)},ht=function(){var Ct,It=((Ct=ke[ut])===null||Ct===void 0?void 0:Ct[A.children])||[],Dt=It.find(function($t){return!$t.disabled});if(Dt){var Mt=[].concat((0,e.Z)(Ne),[Dt[A.value]]);Ce(Mt)}};d.useImperativeHandle(u,function(){return{onKeyDown:function(Ct){var It=Ct.which;switch(It){case X.Z.UP:case X.Z.DOWN:{var Dt=0;It===X.Z.UP?Dt=-1:It===X.Z.DOWN&&(Dt=1),Dt!==0&&Me(Dt);break}case X.Z.LEFT:{if(ae)break;B?ht():Ye();break}case X.Z.RIGHT:{if(ae)break;B?Ye():ht();break}case X.Z.BACKSPACE:{ae||Ye();break}case X.Z.ENTER:{if(Ne.length){var Mt=ke[ut],$t=(Mt==null?void 0:Mt[Pe])||[];$t.length?O($t.map(function(Et){return Et[A.value]}),$t[$t.length-1]):O(Ne,ke[ut])}break}case X.Z.ESC:b(!1),m&&Ct.stopPropagation()}},onKeyUp:function(){}}})},fe=d.forwardRef(function(u,S){var A,ve,j,O=u.prefixCls,V=u.multiple,ee=u.searchValue,ae=u.toggleOpen,b=u.notFoundContent,m=u.direction,B=u.open,te=u.disabled,we=d.useRef(null),Ne=m==="rtl",ut=d.useContext(me),ke=ut.options,Q=ut.values,Ce=ut.halfValues,Me=ut.fieldNames,Ye=ut.changeOnSelect,ht=ut.onSelect,ft=ut.searchOptions,Ct=ut.dropdownPrefixCls,It=ut.loadData,Dt=ut.expandTrigger,Mt=Ct||O,$t=d.useState([]),Et=(0,E.Z)($t,2),Jt=Et[0],At=Et[1],sn=function(yn){if(!(!It||ee)){var dn=ze(yn,ke,Me),Kn=dn.map(function($n){var er=$n.option;return er}),Xn=Kn[Kn.length-1];if(Xn&&!Re(Xn,Me)){var ar=v(yn);At(function($n){return[].concat((0,e.Z)($n),[ar])}),It(Kn)}}};d.useEffect(function(){Jt.length&&Jt.forEach(function(Bn){var yn=Oe(Bn),dn=ze(yn,ke,Me,!0).map(function(Xn){var ar=Xn.option;return ar}),Kn=dn[dn.length-1];(!Kn||Kn[Me.children]||Re(Kn,Me))&&At(function(Xn){return Xn.filter(function(ar){return ar!==Bn})})})},[ke,Jt,Me]);var Gt=d.useMemo(function(){return new Set(je(Q))},[Q]),Yt=d.useMemo(function(){return new Set(je(Ce))},[Ce]),nn=R(V,B),fn=(0,E.Z)(nn,2),Zt=fn[0],Qt=fn[1],Ft=function(yn){Qt(yn),sn(yn)},_e=function(yn){if(te)return!1;var dn=yn.disabled,Kn=Re(yn,Me);return!dn&&(Kn||Ye||V)},mt=function(yn,dn){var Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ht(yn),!V&&(dn||Ye&&(Dt==="hover"||Kn))&&ae(!1)},Kt=d.useMemo(function(){return ee?ft:ke},[ee,ft,ke]),jt=d.useMemo(function(){for(var Bn=[{options:Kt}],yn=Kt,dn=H(yn,Me),Kn=function(){var $n=Zt[Xn],er=yn.find(function(Sr,Fr){return(dn[Fr]?v(dn[Fr]):Sr[Me.value])===$n}),Wn=er==null?void 0:er[Me.children];if(!(Wn!=null&&Wn.length))return 1;yn=Wn,Bn.push({options:Wn})},Xn=0;Xn":Q,Me=A.loadingIcon,Ye=A.direction,ht=A.notFoundContent,ft=ht===void 0?"Not Found":ht,Ct=A.disabled,It=!!ae,Dt=(0,se.C8)(b,{value:m,postState:ce}),Mt=(0,E.Z)(Dt,2),$t=Mt[0],Et=Mt[1],Jt=d.useMemo(function(){return ne(B)},[JSON.stringify(B)]),At=Ae(Jt,ee),sn=(0,E.Z)(At,3),Gt=sn[0],Yt=sn[1],nn=sn[2],fn=We(Gt,Jt),Zt=Qe(It,$t,Yt,nn,fn),Qt=(0,E.Z)(Zt,3),Ft=Qt[0],_e=Qt[1],mt=Qt[2],Kt=(0,se.zX)(function(cn){if(Et(cn),we){var Rn=ce(cn),Bn=Rn.map(function(Kn){return ze(Kn,Gt,Jt).map(function(Xn){return Xn.option})}),yn=It?Rn:Rn[0],dn=It?Bn:Bn[0];we(yn,dn)}}),jt=ge(It,Kt,Ft,_e,mt,Yt,nn,Ne),qt=(0,se.zX)(function(cn){jt(cn)}),un=d.useMemo(function(){return{options:Gt,fieldNames:Jt,values:Ft,halfValues:_e,changeOnSelect:te,onSelect:qt,checkable:ae,searchOptions:[],dropdownPrefixCls:void 0,loadData:ut,expandTrigger:ke,expandIcon:Ce,loadingIcon:Me,dropdownMenuColumnStyle:void 0}},[Gt,Jt,Ft,_e,te,qt,ae,ut,ke,Ce,Me]),on="".concat(j,"-panel"),en=!Gt.length;return d.createElement(me.Provider,{value:un},d.createElement("div",{className:L()(on,(S={},(0,Fe.Z)(S,"".concat(on,"-rtl"),Ye==="rtl"),(0,Fe.Z)(S,"".concat(on,"-empty"),en),S),V),style:O},en?ft:d.createElement(z,{prefixCls:j,searchValue:"",multiple:It,toggleOpen:_,open:!0,direction:Ye,disabled:Ct})))}function N(u){var S=u.onPopupVisibleChange,A=u.popupVisible,ve=u.popupClassName,j=u.popupPlacement;warning(!S,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(A===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ve===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(j===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function G(u,S){if(u){var A=function ve(j){for(var O=0;O":sn,Yt=u.loadingIcon,nn=u.children,fn=u.dropdownMatchSelectWidth,Zt=fn===void 0?!1:fn,Qt=u.showCheckedStrategy,Ft=Qt===void 0?oe:Qt,_e=u.optionRender,mt=(0,Z.Z)(u,c),Kt=(0,r.ZP)(A),jt=!!B,qt=(0,M.Z)(V,{value:ee,postState:ce}),un=(0,E.Z)(qt,2),on=un[0],en=un[1],cn=d.useMemo(function(){return ne(O)},[JSON.stringify(O)]),Rn=Ae(cn,Ce),Bn=(0,E.Z)(Rn,3),yn=Bn[0],dn=Bn[1],Kn=Bn[2],Xn=(0,M.Z)("",{value:Ne,postState:function(cr){return cr||""}}),ar=(0,E.Z)(Xn,2),$n=ar[0],er=ar[1],Wn=function(cr,pr){er(cr),pr.source!=="blur"&&ut&&ut(cr)},Sr=q(ke),Fr=(0,E.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=s($n,yn,cn,Me||j,Cr,ae||jt),En=We(yn,cn),Hn=Qe(jt,on,dn,Kn,En),lr=(0,E.Z)(Hn,3),fr=lr[0],Gn=lr[1],ur=lr[2],yr=d.useMemo(function(){var zn=je(fr),cr=T(zn,dn,Ft);return[].concat((0,e.Z)(ur),(0,e.Z)(Kn(cr)))},[fr,dn,Kn,ur,Ft]),gr=xe(yr,yn,cn,jt,m),br=(0,U.Z)(function(zn){if(en(zn),b){var cr=ce(zn),pr=cr.map(function(tr){return ze(tr,yn,cn).map(function(Dr){return Dr.option})}),eo=jt?cr:cr[0],In=jt?pr:pr[0];b(eo,In)}}),Br=ge(jt,br,fr,Gn,ur,dn,Kn,Ft),wr=(0,U.Z)(function(zn){(!jt||we)&&er(""),Br(zn)}),Tr=function(cr,pr){if(pr.type==="clear"){br([]);return}var eo=pr.values[0],In=eo.valueCells;wr(In)},Qr=ft!==void 0?ft:ht,Or=It||Ct,zr=Et||$t,qr=function(cr){Jt==null||Jt(cr),At==null||At(cr)},Vn=d.useMemo(function(){return{options:yn,fieldNames:cn,values:fr,halfValues:Gn,changeOnSelect:ae,onSelect:wr,checkable:B,searchOptions:vr,dropdownPrefixCls:Me,loadData:Ye,expandTrigger:Q,expandIcon:Gt,loadingIcon:Yt,dropdownMenuColumnStyle:Dt,optionRender:_e}},[yn,cn,fr,Gn,ae,wr,B,vr,Me,Ye,Q,Gt,Yt,Dt,_e]),sr=!($n?vr:yn).length,kn=$n&&Cr.matchInputWidth||sr?{}:{minWidth:"auto"};return d.createElement(me.Provider,{value:Vn},d.createElement(K.Ac,(0,x.Z)({},mt,{ref:S,id:Kt,prefixCls:j,autoClearSearchValue:we,dropdownMatchSelectWidth:Zt,dropdownStyle:(0,D.Z)((0,D.Z)({},kn),Mt),displayValues:gr,onDisplayValuesChange:Tr,mode:jt?"multiple":void 0,searchValue:$n,onSearch:Wn,showSearch:$r,OptionList:f,emptyOptions:sr,open:Qr,dropdownClassName:Or,placement:zr,onDropdownVisibleChange:qr,getRawInputElement:function(){return nn}})))});y.SHOW_PARENT=oe,y.SHOW_CHILD=le,y.Panel=$;var Ge=y,W=Ge,Le=t(2738),He=t(75030),nt=t(86641),it=t(45915),et=t(82855),w=t(48755),pe=t(38406),Ze=t(2171),Ue=t(83397),ot=t(31756),Tt=t(56553),ct=t(24971),dt=t(1722),Rt=t(90376),Vt=t(68525),Ht=t(90005),Xt=t(70045);function wt(u,S){const{getPrefixCls:A,direction:ve,renderEmpty:j}=d.useContext(w.E_),O=S||ve,V=A("select",u),ee=A("cascader",u);return[V,ee,O,j]}var Ut=wt;function yt(u,S){return d.useMemo(()=>S?d.createElement("span",{className:`${u}-checkbox-inner`}):!1,[S])}var Bt=t(33853),Pt=t(58617),kt=t(38819),pt=(u,S,A)=>{let ve=A;A||(ve=S?d.createElement(Bt.Z,null):d.createElement(kt.Z,null));const j=d.createElement("span",{className:`${u}-menu-item-loading-icon`},d.createElement(Pt.Z,{spin:!0}));return d.useMemo(()=>[ve,j],[ve])},Lt=t(56119),ln=t(16931),rn=t(36237),xn=t(36170),Dn=t(63356),tn=u=>{const{prefixCls:S,componentCls:A}=u,ve=`${A}-menu-item`,j=` &${ve}-expand ${ve}-expand-icon, ${ve}-loading-icon -`;return[(0,xn.C2)(`${S}-checkbox`,u),{[A]:{"&-checkbox":{top:0,marginInlineEnd:u.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${A}-menu-empty`]:{[`${A}-menu`]:{width:"100%",height:"auto",[ve]:{color:u.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:u.controlItemWidth,height:u.dropdownHeight,margin:0,padding:u.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`},"&-item":Object.assign(Object.assign({},Dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:u.optionPadding,lineHeight:u.lineHeight,cursor:"pointer",transition:`all ${u.motionDurationMid}`,borderRadius:u.borderRadiusSM,"&:hover":{background:u.controlItemBgHover},"&-disabled":{color:u.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[j]:{color:u.colorTextDisabled}},[`&-active:not(${ve}-disabled)`]:{"&, &:hover":{color:u.optionSelectedColor,fontWeight:u.optionSelectedFontWeight,backgroundColor:u.optionSelectedBg}},"&-content":{flex:"auto"},[j]:{marginInlineStart:u.paddingXXS,color:u.colorTextDescription,fontSize:u.fontSizeIcon},"&-keyword":{color:u.colorHighlight}})}}}]};const Nn=u=>{const{componentCls:S,antCls:A}=u;return[{[S]:{width:u.controlWidth}},{[`${S}-dropdown`]:[{[`&${A}-select-dropdown`]:{padding:0}},tn(u)]},{[`${S}-dropdown-rtl`]:{direction:"rtl"}},(0,Lt.c)(u)]},Pn=u=>{const S=Math.round((u.controlHeight-u.fontSize*u.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:u.controlItemBgActive,optionSelectedFontWeight:u.fontWeightStrong,optionPadding:`${S}px ${u.paddingSM}px`,menuPadding:u.paddingXXS,optionSelectedColor:u.colorText}};var bn=(0,ln.I$)("Cascader",u=>[Nn(u)],Pn);const Fn=u=>{const{componentCls:S}=u;return{[`${S}-panel`]:[tn(u),{display:"inline-flex",border:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`,borderRadius:u.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${S}-menus`]:{alignItems:"stretch"},[`${S}-menu`]:{height:"auto"},"&-empty":{padding:u.paddingXXS}}]}};var _n=(0,ln.A1)(["Cascader","Panel"],u=>Fn(u),Pn);function Jn(u){const{prefixCls:S,className:A,multiple:ve,rootClassName:j,notFoundContent:O,direction:W,expandIcon:ee,disabled:ae}=u,b=d.useContext(Ze.Z),m=ae!=null?ae:b,[B,te,we,Ne]=Ut(S,W),ut=(0,Ue.Z)(te),[ke,Q,Ce]=bn(te,ut);_n(te);const Me=we==="rtl",[Ye,ht]=pt(B,Me,ee),ft=O||(Ne==null?void 0:Ne("Cascader"))||d.createElement(pe.Z,{componentName:"Cascader"}),Ct=yt(te,ve);return ke(d.createElement($,Object.assign({},u,{checkable:Ct,prefixCls:te,className:L()(A,Q,j,Ce,ut),notFoundContent:ft,direction:we,expandIcon:Ye,loadingIcon:ht,disabled:m})))}var Be=Jn,Ie=function(u,S){var A={};for(var ve in u)Object.prototype.hasOwnProperty.call(u,ve)&&S.indexOf(ve)<0&&(A[ve]=u[ve]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ve=Object.getOwnPropertySymbols(u);jae===0?[ee]:[].concat((0,e.Z)(W),[S,ee]),[]),j=[];let O=0;return ve.forEach((W,ee)=>{const ae=O+W.length;let b=u.slice(O,ae);O=ae,ee%2===1&&(b=d.createElement("span",{className:`${A}-menu-item-keyword`,key:`separator-${ee}`},b)),j.push(b)}),j}const ye=(u,S,A,ve)=>{const j=[],O=u.toLowerCase();return S.forEach((W,ee)=>{ee!==0&&j.push(" / ");let ae=W[ve.label];const b=typeof ae;(b==="string"||b==="number")&&(ae=be(String(ae),O,A)),j.push(ae)}),j},g=d.forwardRef((u,S)=>{var A;const{prefixCls:ve,size:j,disabled:O,className:W,rootClassName:ee,multiple:ae,bordered:b=!0,transitionName:m,choiceTransitionName:B="",popupClassName:te,dropdownClassName:we,expandIcon:Ne,placement:ut,showSearch:ke,allowClear:Q=!0,notFoundContent:Ce,direction:Me,getPopupContainer:Ye,status:ht,showArrow:ft,builtinPlacements:Ct,style:It,variant:Dt}=u,Mt=Ie(u,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),$t=(0,Le.Z)(Mt,["suffixIcon"]),{getPrefixCls:Et,getPopupContainer:Jt,className:At,style:sn}=(0,w.dj)("cascader"),{popupOverflow:Gt}=d.useContext(w.E_),{status:Yt,hasFeedback:nn,isFormItemInput:fn,feedbackIcon:Zt}=d.useContext(Tt.aM),Qt=(0,et.F)(Yt,ht),[Ft,_e,mt,Kt]=Ut(ve,Me),jt=mt==="rtl",qt=Et(),un=(0,Ue.Z)(Ft),[on,en,cn]=(0,Rt.Z)(Ft,un),Rn=(0,Ue.Z)(_e),[Bn]=bn(_e,Rn),{compactSize:yn,compactItemClassnames:dn}=(0,Xt.ri)(Ft,Me),[Kn,Xn]=(0,ct.Z)("cascader",Dt,b),ar=Ce||(Kt==null?void 0:Kt("Cascader"))||d.createElement(pe.Z,{componentName:"Cascader"}),$n=L()(te||we,`${_e}-dropdown`,{[`${_e}-dropdown-rtl`]:mt==="rtl"},ee,un,Rn,en,cn),er=d.useMemo(()=>{if(!ke)return ke;let br={render:ye};return typeof ke=="object"&&(br=Object.assign(Object.assign({},br),ke)),br},[ke]),Wn=(0,ot.Z)(br=>{var Br;return(Br=j!=null?j:yn)!==null&&Br!==void 0?Br:br}),Sr=d.useContext(Ze.Z),Fr=O!=null?O:Sr,[$r,Cr]=pt(Ft,jt,Ne),vr=yt(_e,ae),En=(0,Ht.Z)(u.suffixIcon,ft),{suffixIcon:Hn,removeIcon:lr,clearIcon:fr}=(0,Vt.Z)(Object.assign(Object.assign({},u),{hasFeedback:nn,feedbackIcon:Zt,showSuffixIcon:En,multiple:ae,prefixCls:Ft,componentName:"Cascader"})),Gn=d.useMemo(()=>ut!==void 0?ut:jt?"bottomRight":"bottomLeft",[ut,jt]),ur=Q===!0?{clearIcon:fr}:Q,[yr]=(0,He.Cn)("SelectLike",(A=$t.dropdownStyle)===null||A===void 0?void 0:A.zIndex),gr=d.createElement(G,Object.assign({prefixCls:Ft,className:L()(!ve&&_e,{[`${Ft}-lg`]:Wn==="large",[`${Ft}-sm`]:Wn==="small",[`${Ft}-rtl`]:jt,[`${Ft}-${Kn}`]:Xn,[`${Ft}-in-form-item`]:fn},(0,et.Z)(Ft,Qt,nn),dn,At,W,ee,un,Rn,en,cn),disabled:Fr,style:Object.assign(Object.assign({},sn),It)},$t,{builtinPlacements:(0,dt.Z)(Ct,Gt),direction:mt,placement:Gn,notFoundContent:ar,allowClear:ur,showSearch:er,expandIcon:$r,suffixIcon:Hn,removeIcon:lr,loadingIcon:Cr,checkable:vr,dropdownClassName:$n,dropdownPrefixCls:ve||_e,dropdownStyle:Object.assign(Object.assign({},$t.dropdownStyle),{zIndex:yr}),choiceTransitionName:(0,nt.m)(qt,"",B),transitionName:(0,nt.m)(qt,"slide-up",m),getPopupContainer:Ye||Jt,ref:S}));return Bn(on(gr))}),re=(0,it.Z)(g,"dropdownAlign",u=>(0,Le.Z)(u,["visible"]));g.SHOW_PARENT=Y,g.SHOW_CHILD=I,g.Panel=Be,g._InternalPanelDoNotUseOrYouWillBeFired=re;var De=g},62673:function(an,Je,t){t.d(Je,{default:function(){return je}});var e=t(59301),d=t(92310),i=t.n(d),L=t(16632),x=t(8654),D=t(12919),E=t(63872),Z=t(48755),K=t(2171),r=t(83397),V=t(56553),P=e.createContext(null),me=t(36170),lt=t(74632),Fe=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{var Re;const{prefixCls:de,className:H,rootClassName:n,children:ce,indeterminate:T=!1,style:ze,onMouseEnter:xe,onMouseLeave:We,skipGroup:st=!1,disabled:at}=Oe,Ae=Fe(Oe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:q,checkbox:Se}=e.useContext(Z.E_),ge=e.useContext(P),{isFormItemInput:Qe}=e.useContext(V.aM),ie=e.useContext(K.Z),qe=(Re=(ge==null?void 0:ge.disabled)||at)!==null&&Re!==void 0?Re:ie,Ke=e.useRef(Ae.value),bt=e.useRef(null),Te=(0,x.sQ)(ne,bt);e.useEffect(()=>{ge==null||ge.registerValue(Ae.value)},[]),e.useEffect(()=>{if(!st)return Ae.value!==Ke.current&&(ge==null||ge.cancelValue(Ke.current),ge==null||ge.registerValue(Ae.value),Ke.current=Ae.value),()=>ge==null?void 0:ge.cancelValue(Ae.value)},[Ae.value]),e.useEffect(()=>{var $;!(($=bt.current)===null||$===void 0)&&$.input&&(bt.current.input.indeterminate=T)},[T]);const k=tt("checkbox",de),R=(0,r.Z)(k),[U,p,fe]=(0,me.ZP)(k,R),z=Object.assign({},Ae);ge&&!st&&(z.onChange=function(){Ae.onChange&&Ae.onChange.apply(Ae,arguments),ge.toggleOption&&ge.toggleOption({label:ce,value:Ae.value})},z.name=ge.name,z.checked=ge.value.includes(Ae.value));const o=i()(`${k}-wrapper`,{[`${k}-rtl`]:q==="rtl",[`${k}-wrapper-checked`]:z.checked,[`${k}-wrapper-disabled`]:qe,[`${k}-wrapper-in-form-item`]:Qe},Se==null?void 0:Se.className,H,n,fe,R,p),f=i()({[`${k}-indeterminate`]:T},E.A,p),[se,_]=(0,lt.Z)(z.onClick);return U(e.createElement(D.Z,{component:"Checkbox",disabled:qe},e.createElement("label",{className:o,style:Object.assign(Object.assign({},Se==null?void 0:Se.style),ze),onMouseEnter:xe,onMouseLeave:We,onClick:se},e.createElement(L.Z,Object.assign({},z,{onClick:_,prefixCls:k,className:f,disabled:qe,ref:Te})),ce!==void 0&&e.createElement("span",{className:`${k}-label`},ce))))};var C=e.forwardRef(Pe),he=t(94480),s=t(2738),h=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{const{defaultValue:Re,children:de,options:H=[],prefixCls:n,className:ce,rootClassName:T,style:ze,onChange:xe}=Oe,We=h(Oe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:st,direction:at}=e.useContext(Z.E_),[Ae,tt]=e.useState(We.value||Re||[]),[q,Se]=e.useState([]);e.useEffect(()=>{"value"in We&&tt(We.value||[])},[We.value]);const ge=e.useMemo(()=>H.map(f=>typeof f=="string"||typeof f=="number"?{label:f,value:f}:f),[H]),Qe=f=>{Se(se=>se.filter(_=>_!==f))},ie=f=>{Se(se=>[].concat((0,he.Z)(se),[f]))},qe=f=>{const se=Ae.indexOf(f.value),_=(0,he.Z)(Ae);se===-1?_.push(f.value):_.splice(se,1),"value"in We||tt(_),xe==null||xe(_.filter($=>q.includes($)).sort(($,N)=>{const X=ge.findIndex(c=>c.value===$),ue=ge.findIndex(c=>c.value===N);return X-ue}))},Ke=st("checkbox",n),bt=`${Ke}-group`,Te=(0,r.Z)(Ke),[k,R,U]=(0,me.ZP)(Ke,Te),p=(0,s.Z)(We,["value","disabled"]),fe=H.length?ge.map(f=>e.createElement(C,{prefixCls:Ke,key:f.value.toString(),disabled:"disabled"in f?f.disabled:We.disabled,value:f.value,checked:Ae.includes(f.value),onChange:f.onChange,className:`${bt}-item`,style:f.style,title:f.title,id:f.id,required:f.required},f.label)):de,z={toggleOption:qe,value:Ae,disabled:We.disabled,name:We.name,registerValue:ie,cancelValue:Qe},o=i()(bt,{[`${bt}-rtl`]:at==="rtl"},ce,T,U,Te,R);return k(e.createElement("div",Object.assign({className:o,style:ze},p,{ref:ne}),e.createElement(P.Provider,{value:z},fe)))});const v=C;v.Group=le,v.__ANT_CHECKBOX=!0;var je=v},36170:function(an,Je,t){t.d(Je,{C2:function(){return D}});var e=t(36237),d=t(63356),i=t(51636),L=t(16931);const x=E=>{const{checkboxCls:Z}=E,K=`${Z}-wrapper`;return[{[`${Z}-group`]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",flexWrap:"wrap",columnGap:E.marginXS,[`> ${E.antCls}-row`]:{flex:1}}),[K]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${K}`]:{marginInlineStart:0},[`&${K}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Z]:Object.assign(Object.assign({},(0,d.Wf)(E)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:E.borderRadiusSM,alignSelf:"center",[`${Z}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Z}-inner`]:Object.assign({},(0,d.oN)(E))},[`${Z}-inner`]:{boxSizing:"border-box",display:"block",width:E.checkboxSize,height:E.checkboxSize,direction:"ltr",backgroundColor:E.colorBgContainer,border:`${(0,e.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,borderCollapse:"separate",transition:`all ${E.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:E.calc(E.checkboxSize).div(14).mul(5).equal(),height:E.calc(E.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(E.lineWidthBold)} solid ${E.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${E.motionDurationFast} ${E.motionEaseInBack}, opacity ${E.motionDurationFast}`}},"& + span":{paddingInlineStart:E.paddingXS,paddingInlineEnd:E.paddingXS}})},{[` +`;return[(0,xn.C2)(`${S}-checkbox`,u),{[A]:{"&-checkbox":{top:0,marginInlineEnd:u.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${A}-menu-empty`]:{[`${A}-menu`]:{width:"100%",height:"auto",[ve]:{color:u.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:u.controlItemWidth,height:u.dropdownHeight,margin:0,padding:u.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`},"&-item":Object.assign(Object.assign({},Dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:u.optionPadding,lineHeight:u.lineHeight,cursor:"pointer",transition:`all ${u.motionDurationMid}`,borderRadius:u.borderRadiusSM,"&:hover":{background:u.controlItemBgHover},"&-disabled":{color:u.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[j]:{color:u.colorTextDisabled}},[`&-active:not(${ve}-disabled)`]:{"&, &:hover":{color:u.optionSelectedColor,fontWeight:u.optionSelectedFontWeight,backgroundColor:u.optionSelectedBg}},"&-content":{flex:"auto"},[j]:{marginInlineStart:u.paddingXXS,color:u.colorTextDescription,fontSize:u.fontSizeIcon},"&-keyword":{color:u.colorHighlight}})}}}]};const Nn=u=>{const{componentCls:S,antCls:A}=u;return[{[S]:{width:u.controlWidth}},{[`${S}-dropdown`]:[{[`&${A}-select-dropdown`]:{padding:0}},tn(u)]},{[`${S}-dropdown-rtl`]:{direction:"rtl"}},(0,Lt.c)(u)]},Pn=u=>{const S=Math.round((u.controlHeight-u.fontSize*u.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:u.controlItemBgActive,optionSelectedFontWeight:u.fontWeightStrong,optionPadding:`${S}px ${u.paddingSM}px`,menuPadding:u.paddingXXS,optionSelectedColor:u.colorText}};var bn=(0,ln.I$)("Cascader",u=>[Nn(u)],Pn);const Fn=u=>{const{componentCls:S}=u;return{[`${S}-panel`]:[tn(u),{display:"inline-flex",border:`${(0,rn.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`,borderRadius:u.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${S}-menus`]:{alignItems:"stretch"},[`${S}-menu`]:{height:"auto"},"&-empty":{padding:u.paddingXXS}}]}};var _n=(0,ln.A1)(["Cascader","Panel"],u=>Fn(u),Pn);function Jn(u){const{prefixCls:S,className:A,multiple:ve,rootClassName:j,notFoundContent:O,direction:V,expandIcon:ee,disabled:ae}=u,b=d.useContext(Ze.Z),m=ae!=null?ae:b,[B,te,we,Ne]=Ut(S,V),ut=(0,Ue.Z)(te),[ke,Q,Ce]=bn(te,ut);_n(te);const Me=we==="rtl",[Ye,ht]=pt(B,Me,ee),ft=O||(Ne==null?void 0:Ne("Cascader"))||d.createElement(pe.Z,{componentName:"Cascader"}),Ct=yt(te,ve);return ke(d.createElement($,Object.assign({},u,{checkable:Ct,prefixCls:te,className:L()(A,Q,j,Ce,ut),notFoundContent:ft,direction:we,expandIcon:Ye,loadingIcon:ht,disabled:m})))}var Be=Jn,Ie=function(u,S){var A={};for(var ve in u)Object.prototype.hasOwnProperty.call(u,ve)&&S.indexOf(ve)<0&&(A[ve]=u[ve]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,ve=Object.getOwnPropertySymbols(u);jae===0?[ee]:[].concat((0,e.Z)(V),[S,ee]),[]),j=[];let O=0;return ve.forEach((V,ee)=>{const ae=O+V.length;let b=u.slice(O,ae);O=ae,ee%2===1&&(b=d.createElement("span",{className:`${A}-menu-item-keyword`,key:`separator-${ee}`},b)),j.push(b)}),j}const ye=(u,S,A,ve)=>{const j=[],O=u.toLowerCase();return S.forEach((V,ee)=>{ee!==0&&j.push(" / ");let ae=V[ve.label];const b=typeof ae;(b==="string"||b==="number")&&(ae=be(String(ae),O,A)),j.push(ae)}),j},g=d.forwardRef((u,S)=>{var A;const{prefixCls:ve,size:j,disabled:O,className:V,rootClassName:ee,multiple:ae,bordered:b=!0,transitionName:m,choiceTransitionName:B="",popupClassName:te,dropdownClassName:we,expandIcon:Ne,placement:ut,showSearch:ke,allowClear:Q=!0,notFoundContent:Ce,direction:Me,getPopupContainer:Ye,status:ht,showArrow:ft,builtinPlacements:Ct,style:It,variant:Dt}=u,Mt=Ie(u,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),$t=(0,Le.Z)(Mt,["suffixIcon"]),{getPrefixCls:Et,getPopupContainer:Jt,className:At,style:sn}=(0,w.dj)("cascader"),{popupOverflow:Gt}=d.useContext(w.E_),{status:Yt,hasFeedback:nn,isFormItemInput:fn,feedbackIcon:Zt}=d.useContext(Tt.aM),Qt=(0,et.F)(Yt,ht),[Ft,_e,mt,Kt]=Ut(ve,Me),jt=mt==="rtl",qt=Et(),un=(0,Ue.Z)(Ft),[on,en,cn]=(0,Rt.Z)(Ft,un),Rn=(0,Ue.Z)(_e),[Bn]=bn(_e,Rn),{compactSize:yn,compactItemClassnames:dn}=(0,Xt.ri)(Ft,Me),[Kn,Xn]=(0,ct.Z)("cascader",Dt,b),ar=Ce||(Kt==null?void 0:Kt("Cascader"))||d.createElement(pe.Z,{componentName:"Cascader"}),$n=L()(te||we,`${_e}-dropdown`,{[`${_e}-dropdown-rtl`]:mt==="rtl"},ee,un,Rn,en,cn),er=d.useMemo(()=>{if(!ke)return ke;let br={render:ye};return typeof ke=="object"&&(br=Object.assign(Object.assign({},br),ke)),br},[ke]),Wn=(0,ot.Z)(br=>{var Br;return(Br=j!=null?j:yn)!==null&&Br!==void 0?Br:br}),Sr=d.useContext(Ze.Z),Fr=O!=null?O:Sr,[$r,Cr]=pt(Ft,jt,Ne),vr=yt(_e,ae),En=(0,Ht.Z)(u.suffixIcon,ft),{suffixIcon:Hn,removeIcon:lr,clearIcon:fr}=(0,Vt.Z)(Object.assign(Object.assign({},u),{hasFeedback:nn,feedbackIcon:Zt,showSuffixIcon:En,multiple:ae,prefixCls:Ft,componentName:"Cascader"})),Gn=d.useMemo(()=>ut!==void 0?ut:jt?"bottomRight":"bottomLeft",[ut,jt]),ur=Q===!0?{clearIcon:fr}:Q,[yr]=(0,He.Cn)("SelectLike",(A=$t.dropdownStyle)===null||A===void 0?void 0:A.zIndex),gr=d.createElement(W,Object.assign({prefixCls:Ft,className:L()(!ve&&_e,{[`${Ft}-lg`]:Wn==="large",[`${Ft}-sm`]:Wn==="small",[`${Ft}-rtl`]:jt,[`${Ft}-${Kn}`]:Xn,[`${Ft}-in-form-item`]:fn},(0,et.Z)(Ft,Qt,nn),dn,At,V,ee,un,Rn,en,cn),disabled:Fr,style:Object.assign(Object.assign({},sn),It)},$t,{builtinPlacements:(0,dt.Z)(Ct,Gt),direction:mt,placement:Gn,notFoundContent:ar,allowClear:ur,showSearch:er,expandIcon:$r,suffixIcon:Hn,removeIcon:lr,loadingIcon:Cr,checkable:vr,dropdownClassName:$n,dropdownPrefixCls:ve||_e,dropdownStyle:Object.assign(Object.assign({},$t.dropdownStyle),{zIndex:yr}),choiceTransitionName:(0,nt.m)(qt,"",B),transitionName:(0,nt.m)(qt,"slide-up",m),getPopupContainer:Ye||Jt,ref:S}));return Bn(on(gr))}),re=(0,it.Z)(g,"dropdownAlign",u=>(0,Le.Z)(u,["visible"]));g.SHOW_PARENT=Y,g.SHOW_CHILD=I,g.Panel=Be,g._InternalPanelDoNotUseOrYouWillBeFired=re;var De=g},62673:function(an,Je,t){t.d(Je,{default:function(){return je}});var e=t(59301),d=t(92310),i=t.n(d),L=t(16632),x=t(8654),D=t(12919),E=t(63872),Z=t(48755),K=t(2171),r=t(83397),U=t(56553),P=e.createContext(null),me=t(36170),lt=t(74632),Fe=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{var Re;const{prefixCls:de,className:H,rootClassName:n,children:ce,indeterminate:T=!1,style:ze,onMouseEnter:xe,onMouseLeave:We,skipGroup:st=!1,disabled:at}=Oe,Ae=Fe(Oe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:q,checkbox:Se}=e.useContext(Z.E_),ge=e.useContext(P),{isFormItemInput:Qe}=e.useContext(U.aM),ie=e.useContext(K.Z),qe=(Re=(ge==null?void 0:ge.disabled)||at)!==null&&Re!==void 0?Re:ie,Ke=e.useRef(Ae.value),bt=e.useRef(null),Te=(0,x.sQ)(ne,bt);e.useEffect(()=>{ge==null||ge.registerValue(Ae.value)},[]),e.useEffect(()=>{if(!st)return Ae.value!==Ke.current&&(ge==null||ge.cancelValue(Ke.current),ge==null||ge.registerValue(Ae.value),Ke.current=Ae.value),()=>ge==null?void 0:ge.cancelValue(Ae.value)},[Ae.value]),e.useEffect(()=>{var $;!(($=bt.current)===null||$===void 0)&&$.input&&(bt.current.input.indeterminate=T)},[T]);const k=tt("checkbox",de),R=(0,r.Z)(k),[X,p,fe]=(0,me.ZP)(k,R),z=Object.assign({},Ae);ge&&!st&&(z.onChange=function(){Ae.onChange&&Ae.onChange.apply(Ae,arguments),ge.toggleOption&&ge.toggleOption({label:ce,value:Ae.value})},z.name=ge.name,z.checked=ge.value.includes(Ae.value));const o=i()(`${k}-wrapper`,{[`${k}-rtl`]:q==="rtl",[`${k}-wrapper-checked`]:z.checked,[`${k}-wrapper-disabled`]:qe,[`${k}-wrapper-in-form-item`]:Qe},Se==null?void 0:Se.className,H,n,fe,R,p),f=i()({[`${k}-indeterminate`]:T},E.A,p),[se,_]=(0,lt.Z)(z.onClick);return X(e.createElement(D.Z,{component:"Checkbox",disabled:qe},e.createElement("label",{className:o,style:Object.assign(Object.assign({},Se==null?void 0:Se.style),ze),onMouseEnter:xe,onMouseLeave:We,onClick:se},e.createElement(L.Z,Object.assign({},z,{onClick:_,prefixCls:k,className:f,disabled:qe,ref:Te})),ce!==void 0&&e.createElement("span",{className:`${k}-label`},ce))))};var C=e.forwardRef(Pe),he=t(94480),s=t(2738),h=function(Oe,ne){var Re={};for(var de in Oe)Object.prototype.hasOwnProperty.call(Oe,de)&&ne.indexOf(de)<0&&(Re[de]=Oe[de]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,de=Object.getOwnPropertySymbols(Oe);H{const{defaultValue:Re,children:de,options:H=[],prefixCls:n,className:ce,rootClassName:T,style:ze,onChange:xe}=Oe,We=h(Oe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:st,direction:at}=e.useContext(Z.E_),[Ae,tt]=e.useState(We.value||Re||[]),[q,Se]=e.useState([]);e.useEffect(()=>{"value"in We&&tt(We.value||[])},[We.value]);const ge=e.useMemo(()=>H.map(f=>typeof f=="string"||typeof f=="number"?{label:f,value:f}:f),[H]),Qe=f=>{Se(se=>se.filter(_=>_!==f))},ie=f=>{Se(se=>[].concat((0,he.Z)(se),[f]))},qe=f=>{const se=Ae.indexOf(f.value),_=(0,he.Z)(Ae);se===-1?_.push(f.value):_.splice(se,1),"value"in We||tt(_),xe==null||xe(_.filter($=>q.includes($)).sort(($,N)=>{const G=ge.findIndex(c=>c.value===$),ue=ge.findIndex(c=>c.value===N);return G-ue}))},Ke=st("checkbox",n),bt=`${Ke}-group`,Te=(0,r.Z)(Ke),[k,R,X]=(0,me.ZP)(Ke,Te),p=(0,s.Z)(We,["value","disabled"]),fe=H.length?ge.map(f=>e.createElement(C,{prefixCls:Ke,key:f.value.toString(),disabled:"disabled"in f?f.disabled:We.disabled,value:f.value,checked:Ae.includes(f.value),onChange:f.onChange,className:`${bt}-item`,style:f.style,title:f.title,id:f.id,required:f.required},f.label)):de,z={toggleOption:qe,value:Ae,disabled:We.disabled,name:We.name,registerValue:ie,cancelValue:Qe},o=i()(bt,{[`${bt}-rtl`]:at==="rtl"},ce,T,X,Te,R);return k(e.createElement("div",Object.assign({className:o,style:ze},p,{ref:ne}),e.createElement(P.Provider,{value:z},fe)))});const v=C;v.Group=le,v.__ANT_CHECKBOX=!0;var je=v},36170:function(an,Je,t){t.d(Je,{C2:function(){return D}});var e=t(36237),d=t(63356),i=t(51636),L=t(16931);const x=E=>{const{checkboxCls:Z}=E,K=`${Z}-wrapper`;return[{[`${Z}-group`]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",flexWrap:"wrap",columnGap:E.marginXS,[`> ${E.antCls}-row`]:{flex:1}}),[K]:Object.assign(Object.assign({},(0,d.Wf)(E)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${K}`]:{marginInlineStart:0},[`&${K}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Z]:Object.assign(Object.assign({},(0,d.Wf)(E)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:E.borderRadiusSM,alignSelf:"center",[`${Z}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Z}-inner`]:Object.assign({},(0,d.oN)(E))},[`${Z}-inner`]:{boxSizing:"border-box",display:"block",width:E.checkboxSize,height:E.checkboxSize,direction:"ltr",backgroundColor:E.colorBgContainer,border:`${(0,e.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadiusSM,borderCollapse:"separate",transition:`all ${E.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:E.calc(E.checkboxSize).div(14).mul(5).equal(),height:E.calc(E.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(E.lineWidthBold)} solid ${E.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${E.motionDurationFast} ${E.motionEaseInBack}, opacity ${E.motionDurationFast}`}},"& + span":{paddingInlineStart:E.paddingXS,paddingInlineEnd:E.paddingXS}})},{[` ${K}:not(${K}-disabled), ${Z}:not(${Z}-disabled) `]:{[`&:hover ${Z}-inner`]:{borderColor:E.colorPrimary}},[`${K}:not(${K}-disabled)`]:{[`&:hover ${Z}-checked:not(${Z}-disabled) ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Z}-checked:not(${Z}-disabled):after`]:{borderColor:E.colorPrimaryHover}}},{[`${Z}-checked`]:{[`${Z}-inner`]:{backgroundColor:E.colorPrimary,borderColor:E.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${E.motionDurationMid} ${E.motionEaseOutBack} ${E.motionDurationFast}`}}},[` ${K}-checked:not(${K}-disabled), ${Z}-checked:not(${Z}-disabled) - `]:{[`&:hover ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"}}},{[Z]:{"&-indeterminate":{[`${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:E.calc(E.fontSizeLG).div(2).equal(),height:E.calc(E.fontSizeLG).div(2).equal(),backgroundColor:E.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorPrimary} !important`}}}},{[`${K}-disabled`]:{cursor:"not-allowed"},[`${Z}-disabled`]:{[`&, ${Z}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Z}-inner`]:{background:E.colorBgContainerDisabled,borderColor:E.colorBorder,"&:after":{borderColor:E.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:E.colorTextDisabled},[`&${Z}-indeterminate ${Z}-inner::after`]:{background:E.colorTextDisabled}}}]};function D(E,Z){const K=(0,i.mergeToken)(Z,{checkboxCls:`.${E}`,checkboxSize:Z.controlInteractiveSize});return[x(K)]}Je.ZP=(0,L.I$)("Checkbox",(E,Z)=>{let{prefixCls:K}=Z;return[D(K,E)]})},74632:function(an,Je,t){t.d(Je,{Z:function(){return i}});var e=t(59301),d=t(16089);function i(L){const x=e.useRef(null),D=()=>{d.Z.cancel(x.current),x.current=null};return[()=>{D(),x.current=(0,d.Z)(()=>{x.current=null})},K=>{x.current&&(K.stopPropagation(),D()),L==null||L(K)}]}},38406:function(an,Je,t){var e=t(59301),d=t(48755),i=t(584);const L=x=>{const{componentName:D}=x,{getPrefixCls:E}=(0,e.useContext)(d.E_),Z=E("empty");switch(D){case"Table":case"List":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${Z}-small`});case"Table.filter":return null;default:return e.createElement(i.Z,null)}};Je.Z=L},19563:function(an,Je,t){t.d(Je,{Z:function(){return tt}});var e=t(59301),d=t(33853),i=t(38819),L=t(92310),x=t.n(L),D=t(96478),E=t(6089),Z=t(18929),K=t(2738),r=t(75030),M=q=>typeof q!="object"&&typeof q!="function"||q===null,P=t(52838),me=t(45915),lt=t(22703),Fe=t(32383),Pe=t(55743),Ve=t(48755),C=t(83397),he=t(93041),s=t(78857),h=t(57700),oe=t(36237),le=t(63356),v=t(46e3),je=t(93873),Oe=t(34925),ne=t(37645),Re=t(36305),de=t(16931),H=t(51636),ce=q=>{const{componentCls:Se,menuCls:ge,colorError:Qe,colorTextLightSolid:ie}=q,qe=`${ge}-item`;return{[`${Se}, ${Se}-menu-submenu`]:{[`${ge} ${qe}`]:{[`&${qe}-danger:not(${qe}-disabled)`]:{color:Qe,"&:hover":{color:ie,backgroundColor:Qe}}}}}};const T=q=>{const{componentCls:Se,menuCls:ge,zIndexPopup:Qe,dropdownArrowDistance:ie,sizePopupArrow:qe,antCls:Ke,iconCls:bt,motionDurationMid:Te,paddingBlock:k,fontSize:R,dropdownEdgeChildPadding:U,colorTextDisabled:p,fontSizeIcon:fe,controlPaddingHorizontal:z,colorBgElevated:o}=q;return[{[Se]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qe,display:"block","&::before":{position:"absolute",insetBlock:q.calc(qe).div(2).sub(ie).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ke}-btn`]:{[`& > ${bt}-down, & > ${Ke}-btn-icon > ${bt}-down`]:{fontSize:fe}},[`${Se}-wrap`]:{position:"relative",[`${Ke}-btn > ${bt}-down`]:{fontSize:fe},[`${bt}-down::before`]:{transition:`transform ${Te}`}},[`${Se}-wrap-open`]:{[`${bt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ke}-slide-down-enter${Ke}-slide-down-enter-active${Se}-placement-bottomLeft, + `]:{[`&:hover ${Z}-inner`]:{backgroundColor:E.colorPrimaryHover,borderColor:"transparent"}}},{[Z]:{"&-indeterminate":{[`${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:E.calc(E.fontSizeLG).div(2).equal(),height:E.calc(E.fontSizeLG).div(2).equal(),backgroundColor:E.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Z}-inner`]:{backgroundColor:`${E.colorBgContainer} !important`,borderColor:`${E.colorPrimary} !important`}}}},{[`${K}-disabled`]:{cursor:"not-allowed"},[`${Z}-disabled`]:{[`&, ${Z}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Z}-inner`]:{background:E.colorBgContainerDisabled,borderColor:E.colorBorder,"&:after":{borderColor:E.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:E.colorTextDisabled},[`&${Z}-indeterminate ${Z}-inner::after`]:{background:E.colorTextDisabled}}}]};function D(E,Z){const K=(0,i.mergeToken)(Z,{checkboxCls:`.${E}`,checkboxSize:Z.controlInteractiveSize});return[x(K)]}Je.ZP=(0,L.I$)("Checkbox",(E,Z)=>{let{prefixCls:K}=Z;return[D(K,E)]})},74632:function(an,Je,t){t.d(Je,{Z:function(){return i}});var e=t(59301),d=t(16089);function i(L){const x=e.useRef(null),D=()=>{d.Z.cancel(x.current),x.current=null};return[()=>{D(),x.current=(0,d.Z)(()=>{x.current=null})},K=>{x.current&&(K.stopPropagation(),D()),L==null||L(K)}]}},38406:function(an,Je,t){var e=t(59301),d=t(48755),i=t(584);const L=x=>{const{componentName:D}=x,{getPrefixCls:E}=(0,e.useContext)(d.E_),Z=E("empty");switch(D){case"Table":case"List":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${Z}-small`});case"Table.filter":return null;default:return e.createElement(i.Z,null)}};Je.Z=L},19563:function(an,Je,t){t.d(Je,{Z:function(){return tt}});var e=t(59301),d=t(33853),i=t(38819),L=t(92310),x=t.n(L),D=t(96478),E=t(6089),Z=t(18929),K=t(2738),r=t(75030),M=q=>typeof q!="object"&&typeof q!="function"||q===null,P=t(52838),me=t(45915),lt=t(22703),Fe=t(32383),Pe=t(55743),Ve=t(48755),C=t(83397),he=t(93041),s=t(78857),h=t(57700),oe=t(36237),le=t(63356),v=t(46e3),je=t(93873),Oe=t(34925),ne=t(37645),Re=t(36305),de=t(16931),H=t(51636),ce=q=>{const{componentCls:Se,menuCls:ge,colorError:Qe,colorTextLightSolid:ie}=q,qe=`${ge}-item`;return{[`${Se}, ${Se}-menu-submenu`]:{[`${ge} ${qe}`]:{[`&${qe}-danger:not(${qe}-disabled)`]:{color:Qe,"&:hover":{color:ie,backgroundColor:Qe}}}}}};const T=q=>{const{componentCls:Se,menuCls:ge,zIndexPopup:Qe,dropdownArrowDistance:ie,sizePopupArrow:qe,antCls:Ke,iconCls:bt,motionDurationMid:Te,paddingBlock:k,fontSize:R,dropdownEdgeChildPadding:X,colorTextDisabled:p,fontSizeIcon:fe,controlPaddingHorizontal:z,colorBgElevated:o}=q;return[{[Se]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qe,display:"block","&::before":{position:"absolute",insetBlock:q.calc(qe).div(2).sub(ie).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ke}-btn`]:{[`& > ${bt}-down, & > ${Ke}-btn-icon > ${bt}-down`]:{fontSize:fe}},[`${Se}-wrap`]:{position:"relative",[`${Ke}-btn > ${bt}-down`]:{fontSize:fe},[`${bt}-down::before`]:{transition:`transform ${Te}`}},[`${Se}-wrap-open`]:{[`${bt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ke}-slide-down-enter${Ke}-slide-down-enter-active${Se}-placement-bottomLeft, &${Ke}-slide-down-appear${Ke}-slide-down-appear-active${Se}-placement-bottomLeft, &${Ke}-slide-down-enter${Ke}-slide-down-enter-active${Se}-placement-bottom, &${Ke}-slide-down-appear${Ke}-slide-down-appear-active${Se}-placement-bottom, @@ -21,18 +21,18 @@ &${Ke}-slide-down-leave${Ke}-slide-down-leave-active${Se}-placement-bottom, &${Ke}-slide-down-leave${Ke}-slide-down-leave-active${Se}-placement-bottomRight`]:{animationName:v.Uw},[`&${Ke}-slide-up-leave${Ke}-slide-up-leave-active${Se}-placement-topLeft, &${Ke}-slide-up-leave${Ke}-slide-up-leave-active${Se}-placement-top, - &${Ke}-slide-up-leave${Ke}-slide-up-leave-active${Se}-placement-topRight`]:{animationName:v.ly}}},(0,ne.ZP)(q,o,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Se} ${ge}`]:{position:"relative",margin:0},[`${ge}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Se}, ${Se}-menu-submenu`]:Object.assign(Object.assign({},(0,le.Wf)(q)),{[ge]:Object.assign(Object.assign({padding:U,listStyleType:"none",backgroundColor:o,backgroundClip:"padding-box",borderRadius:q.borderRadiusLG,outline:"none",boxShadow:q.boxShadowSecondary},(0,le.Qy)(q)),{"&:empty":{padding:0,boxShadow:"none"},[`${ge}-item-group-title`]:{padding:`${(0,oe.unit)(k)} ${(0,oe.unit)(z)}`,color:q.colorTextDescription,transition:`all ${Te}`},[`${ge}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ge}-item-icon`]:{minWidth:R,marginInlineEnd:q.marginXS,fontSize:q.fontSizeSM},[`${ge}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ge}-item-extra`]:{paddingInlineStart:q.padding,marginInlineStart:"auto",fontSize:q.fontSizeSM,color:q.colorTextDescription}},[`${ge}-item, ${ge}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,oe.unit)(k)} ${(0,oe.unit)(z)}`,color:q.colorText,fontWeight:"normal",fontSize:R,lineHeight:q.lineHeight,cursor:"pointer",transition:`all ${Te}`,borderRadius:q.borderRadiusSM,"&:hover, &-active":{backgroundColor:q.controlItemBgHover}},(0,le.Qy)(q)),{"&-selected":{color:q.colorPrimary,backgroundColor:q.controlItemBgActive,"&:hover, &-active":{backgroundColor:q.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:o,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,oe.unit)(q.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:q.colorSplit},[`${Se}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:q.paddingXS,[`${Se}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:q.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ge}-item-group-list`]:{margin:`0 ${(0,oe.unit)(q.marginXS)}`,padding:0,listStyle:"none"},[`${ge}-submenu-title`]:{paddingInlineEnd:q.calc(z).add(q.fontSizeSM).equal()},[`${ge}-submenu-vertical`]:{position:"relative"},[`${ge}-submenu${ge}-submenu-disabled ${Se}-menu-submenu-title`]:{[`&, ${Se}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:o,cursor:"not-allowed"}},[`${ge}-submenu-selected ${Se}-menu-submenu-title`]:{color:q.colorPrimary}})})},[(0,v.oN)(q,"slide-up"),(0,v.oN)(q,"slide-down"),(0,je.Fm)(q,"move-up"),(0,je.Fm)(q,"move-down"),(0,Oe._y)(q,"zoom-big")]]},ze=q=>Object.assign(Object.assign({zIndexPopup:q.zIndexPopupBase+50,paddingBlock:(q.controlHeight-q.fontSize*q.lineHeight)/2},(0,ne.wZ)({contentRadius:q.borderRadiusLG,limitVerticalRadius:!0})),(0,Re.w)(q));var xe=(0,de.I$)("Dropdown",q=>{const{marginXXS:Se,sizePopupArrow:ge,paddingXXS:Qe,componentCls:ie}=q,qe=(0,H.mergeToken)(q,{menuCls:`${ie}-menu`,dropdownArrowDistance:q.calc(ge).div(2).add(Se).equal(),dropdownEdgeChildPadding:Qe});return[T(qe),ce(qe)]},ze,{resetStyle:!1});const We=null,st=q=>{var Se;const{menu:ge,arrow:Qe,prefixCls:ie,children:qe,trigger:Ke,disabled:bt,dropdownRender:Te,getPopupContainer:k,overlayClassName:R,rootClassName:U,overlayStyle:p,open:fe,onOpenChange:z,visible:o,onVisibleChange:f,mouseEnterDelay:se=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:$=!0,placement:N="",overlay:X,transitionName:ue}=q,{getPopupContainer:c,getPrefixCls:y,direction:Ge,dropdown:G}=e.useContext(Ve.E_),Le=(0,Fe.ln)("Dropdown"),He=e.useMemo(()=>{const Wt=y();return ue!==void 0?ue:N.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[y,N,ue]),nt=e.useMemo(()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:Ge==="rtl"?"bottomRight":"bottomLeft",[N,Ge]),it=y("dropdown",ie),et=(0,C.Z)(it),[w,pe,Ze]=xe(it,et),[,Ue]=(0,h.ZP)(),ot=e.Children.only(M(qe)?e.createElement("span",null,qe):qe),Tt=(0,lt.Tm)(ot,{className:x()(`${it}-trigger`,{[`${it}-rtl`]:Ge==="rtl"},ot.props.className),disabled:(Se=ot.props.disabled)!==null&&Se!==void 0?Se:bt}),ct=bt?[]:Ke,dt=!!(ct!=null&&ct.includes("contextMenu")),[Rt,Vt]=(0,Z.Z)(!1,{value:fe!=null?fe:o}),Ht=(0,E.Z)(Wt=>{z==null||z(Wt,{source:"trigger"}),f==null||f(Wt),Vt(Wt)}),Xt=x()(R,U,pe,Ze,et,G==null?void 0:G.className,{[`${it}-rtl`]:Ge==="rtl"}),wt=(0,P.Z)({arrowPointAtCenter:typeof Qe=="object"&&Qe.pointAtCenter,autoAdjustOverflow:$,offset:Ue.marginXXS,arrowWidth:Qe?Ue.sizePopupArrow:0,borderRadius:Ue.borderRadius}),Ut=e.useCallback(()=>{ge!=null&&ge.selectable&&(ge!=null&&ge.multiple)||(z==null||z(!1,{source:"menu"}),Vt(!1))},[ge==null?void 0:ge.selectable,ge==null?void 0:ge.multiple]),yt=()=>{let Wt;return ge!=null&&ge.items?Wt=e.createElement(he.default,Object.assign({},ge)):typeof X=="function"?Wt=X():Wt=X,Te&&(Wt=Te(Wt)),Wt=e.Children.only(typeof Wt=="string"?e.createElement("span",null,Wt):Wt),e.createElement(s.J,{prefixCls:`${it}-menu`,rootClassName:x()(Ze,et),expandIcon:e.createElement("span",{className:`${it}-menu-submenu-arrow`},Ge==="rtl"?e.createElement(d.Z,{className:`${it}-menu-submenu-arrow-icon`}):e.createElement(i.Z,{className:`${it}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ut,validator:pt=>{let{mode:Lt}=pt}},Wt)},[Bt,Pt]=(0,r.Cn)("Dropdown",p==null?void 0:p.zIndex);let kt=e.createElement(D.Z,Object.assign({alignPoint:dt},(0,K.Z)(q,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:_,visible:Rt,builtinPlacements:wt,arrow:!!Qe,overlayClassName:Xt,prefixCls:it,getPopupContainer:k||c,transitionName:He,trigger:ct,overlay:yt,placement:nt,onVisibleChange:Ht,overlayStyle:Object.assign(Object.assign(Object.assign({},G==null?void 0:G.style),p),{zIndex:Bt})}),Tt);return Bt&&(kt=e.createElement(Pe.Z.Provider,{value:Pt},kt)),w(kt)},at=(0,me.Z)(st,"align",void 0,"dropdown",q=>q),Ae=q=>e.createElement(at,Object.assign({},q),e.createElement("span",null));st._InternalPanelDoNotUseOrYouWillBeFired=Ae;var tt=st},75727:function(an,Je,t){t.d(Je,{Z:function(){return me}});var e=t(19563),d=t(59301),i=t(18785),L=t(92310),x=t.n(L),D=t(7939),E=t(48755),Z=t(44104),K=t(70045),r=function(lt,Fe){var Pe={};for(var Ve in lt)Object.prototype.hasOwnProperty.call(lt,Ve)&&Fe.indexOf(Ve)<0&&(Pe[Ve]=lt[Ve]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,Ve=Object.getOwnPropertySymbols(lt);C{const{getPopupContainer:Fe,getPrefixCls:Pe,direction:Ve}=d.useContext(E.E_),{prefixCls:C,type:he="default",danger:s,disabled:h,loading:oe,onClick:le,htmlType:v,children:je,className:Oe,menu:ne,arrow:Re,autoFocus:de,overlay:H,trigger:n,align:ce,open:T,onOpenChange:ze,placement:xe,getPopupContainer:We,href:st,icon:at=d.createElement(i.Z,null),title:Ae,buttonsRender:tt=se=>se,mouseEnterDelay:q,mouseLeaveDelay:Se,overlayClassName:ge,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:qe}=lt,Ke=r(lt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bt=Pe("dropdown",C),Te=`${bt}-button`,k={menu:ne,arrow:Re,autoFocus:de,align:ce,disabled:h,trigger:h?[]:n,onOpenChange:ze,getPopupContainer:We||Fe,mouseEnterDelay:q,mouseLeaveDelay:Se,overlayClassName:ge,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:qe},{compactSize:R,compactItemClassnames:U}=(0,K.ri)(bt,Ve),p=x()(Te,U,Oe);"overlay"in lt&&(k.overlay=H),"open"in lt&&(k.open=T),"placement"in lt?k.placement=xe:k.placement=Ve==="rtl"?"bottomLeft":"bottomRight";const fe=d.createElement(D.ZP,{type:he,danger:s,disabled:h,loading:oe,onClick:le,htmlType:v,href:st,title:Ae},je),z=d.createElement(D.ZP,{type:he,danger:s,icon:at}),[o,f]=tt([fe,z]);return d.createElement(Z.Z.Compact,Object.assign({className:p,size:R,block:!0},Ke),o,d.createElement(e.Z,Object.assign({},k),f))};V.__ANT_BUTTON=!0;var M=V;const P=e.Z;P.Button=M;var me=P},584:function(an,Je,t){t.d(Je,{Z:function(){return he}});var e=t(59301),d=t(92310),i=t.n(d),L=t(9017),x=t(17835),D=t(57700),Z=()=>{const[,s]=(0,D.ZP)(),[h]=(0,L.Z)("Empty"),le=new x.FastColor(s.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:le,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(h==null?void 0:h.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},r=()=>{const[,s]=(0,D.ZP)(),[h]=(0,L.Z)("Empty"),{colorFill:oe,colorFillTertiary:le,colorFillQuaternary:v,colorBgContainer:je}=s,{borderColor:Oe,shadowColor:ne,contentColor:Re}=(0,e.useMemo)(()=>({borderColor:new x.FastColor(oe).onBackground(je).toHexString(),shadowColor:new x.FastColor(le).onBackground(je).toHexString(),contentColor:new x.FastColor(v).onBackground(je).toHexString()}),[oe,le,v,je]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(h==null?void 0:h.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ne,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Oe},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Re}))))},V=t(16931),M=t(51636);const P=s=>{const{componentCls:h,margin:oe,marginXS:le,marginXL:v,fontSize:je,lineHeight:Oe}=s;return{[h]:{marginInline:le,fontSize:je,lineHeight:Oe,textAlign:"center",[`${h}-image`]:{height:s.emptyImgHeight,marginBottom:le,opacity:s.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${h}-description`]:{color:s.colorTextDescription},[`${h}-footer`]:{marginTop:oe},"&-normal":{marginBlock:v,color:s.colorTextDescription,[`${h}-description`]:{color:s.colorTextDescription},[`${h}-image`]:{height:s.emptyImgHeightMD}},"&-small":{marginBlock:le,color:s.colorTextDescription,[`${h}-image`]:{height:s.emptyImgHeightSM}}}}};var me=(0,V.I$)("Empty",s=>{const{componentCls:h,controlHeightLG:oe,calc:le}=s,v=(0,M.mergeToken)(s,{emptyImgCls:`${h}-img`,emptyImgHeight:le(oe).mul(2.5).equal(),emptyImgHeightMD:oe,emptyImgHeightSM:le(oe).mul(.875).equal()});return[P(v)]}),lt=t(48755),Fe=function(s,h){var oe={};for(var le in s)Object.prototype.hasOwnProperty.call(s,le)&&h.indexOf(le)<0&&(oe[le]=s[le]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,le=Object.getOwnPropertySymbols(s);v{const{className:h,rootClassName:oe,prefixCls:le,image:v=Pe,description:je,children:Oe,imageStyle:ne,style:Re,classNames:de,styles:H}=s,n=Fe(s,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ce,direction:T,className:ze,style:xe,classNames:We,styles:st}=(0,lt.dj)("empty"),at=ce("empty",le),[Ae,tt,q]=me(at),[Se]=(0,L.Z)("Empty"),ge=typeof je!="undefined"?je:Se==null?void 0:Se.description,Qe=typeof ge=="string"?ge:"empty";let ie=null;return typeof v=="string"?ie=e.createElement("img",{alt:Qe,src:v}):ie=v,Ae(e.createElement("div",Object.assign({className:i()(tt,q,at,ze,{[`${at}-normal`]:v===Ve,[`${at}-rtl`]:T==="rtl"},h,oe,We.root,de==null?void 0:de.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},st.root),xe),H==null?void 0:H.root),Re)},n),e.createElement("div",{className:i()(`${at}-image`,We.image,de==null?void 0:de.image),style:Object.assign(Object.assign(Object.assign({},ne),st.image),H==null?void 0:H.image)},ie),ge&&e.createElement("div",{className:i()(`${at}-description`,We.description,de==null?void 0:de.description),style:Object.assign(Object.assign({},st.description),H==null?void 0:H.description)},ge),Oe&&e.createElement("div",{className:i()(`${at}-footer`,We.footer,de==null?void 0:de.footer),style:Object.assign(Object.assign({},st.footer),H==null?void 0:H.footer)},Oe)))};C.PRESENTED_IMAGE_DEFAULT=Pe,C.PRESENTED_IMAGE_SIMPLE=Ve;var he=C},24971:function(an,Je,t){var e=t(59301),d=t(56553),i=t(48755);const L=function(x,D){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var Z,K;const{variant:r,[x]:V}=e.useContext(i.E_),M=e.useContext(d.pg),P=V==null?void 0:V.variant;let me;typeof D!="undefined"?me=D:E===!1?me="borderless":me=(K=(Z=M!=null?M:P)!==null&&Z!==void 0?Z:r)!==null&&K!==void 0?K:"outlined";const lt=i.tr.includes(me);return[me,lt]};Je.Z=L},28284:function(an,Je,t){t.d(Je,{default:function(){return Ie}});var e=t(56553),d=t(94480),i=t(59301),L=t(92310),x=t.n(L),D=t(77900),E=t(86641),Z=t(83397);function K(I){const[Y,be]=i.useState(I);return i.useEffect(()=>{const ye=setTimeout(()=>{be(I)},I.length?0:10);return()=>{clearTimeout(ye)}},[I]),Y}var r=t(36237),V=t(63356),M=t(34925),P=t(34961),me=t(51636),lt=t(16931),Pe=I=>{const{componentCls:Y}=I,be=`${Y}-show-help`,ye=`${Y}-show-help-item`;return{[be]:{transition:`opacity ${I.motionDurationFast} ${I.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ye]:{overflow:"hidden",transition:`height ${I.motionDurationFast} ${I.motionEaseInOut}, + &${Ke}-slide-up-leave${Ke}-slide-up-leave-active${Se}-placement-topRight`]:{animationName:v.ly}}},(0,ne.ZP)(q,o,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Se} ${ge}`]:{position:"relative",margin:0},[`${ge}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Se}, ${Se}-menu-submenu`]:Object.assign(Object.assign({},(0,le.Wf)(q)),{[ge]:Object.assign(Object.assign({padding:X,listStyleType:"none",backgroundColor:o,backgroundClip:"padding-box",borderRadius:q.borderRadiusLG,outline:"none",boxShadow:q.boxShadowSecondary},(0,le.Qy)(q)),{"&:empty":{padding:0,boxShadow:"none"},[`${ge}-item-group-title`]:{padding:`${(0,oe.unit)(k)} ${(0,oe.unit)(z)}`,color:q.colorTextDescription,transition:`all ${Te}`},[`${ge}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ge}-item-icon`]:{minWidth:R,marginInlineEnd:q.marginXS,fontSize:q.fontSizeSM},[`${ge}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ge}-item-extra`]:{paddingInlineStart:q.padding,marginInlineStart:"auto",fontSize:q.fontSizeSM,color:q.colorTextDescription}},[`${ge}-item, ${ge}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,oe.unit)(k)} ${(0,oe.unit)(z)}`,color:q.colorText,fontWeight:"normal",fontSize:R,lineHeight:q.lineHeight,cursor:"pointer",transition:`all ${Te}`,borderRadius:q.borderRadiusSM,"&:hover, &-active":{backgroundColor:q.controlItemBgHover}},(0,le.Qy)(q)),{"&-selected":{color:q.colorPrimary,backgroundColor:q.controlItemBgActive,"&:hover, &-active":{backgroundColor:q.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:o,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,oe.unit)(q.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:q.colorSplit},[`${Se}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:q.paddingXS,[`${Se}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:q.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ge}-item-group-list`]:{margin:`0 ${(0,oe.unit)(q.marginXS)}`,padding:0,listStyle:"none"},[`${ge}-submenu-title`]:{paddingInlineEnd:q.calc(z).add(q.fontSizeSM).equal()},[`${ge}-submenu-vertical`]:{position:"relative"},[`${ge}-submenu${ge}-submenu-disabled ${Se}-menu-submenu-title`]:{[`&, ${Se}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:o,cursor:"not-allowed"}},[`${ge}-submenu-selected ${Se}-menu-submenu-title`]:{color:q.colorPrimary}})})},[(0,v.oN)(q,"slide-up"),(0,v.oN)(q,"slide-down"),(0,je.Fm)(q,"move-up"),(0,je.Fm)(q,"move-down"),(0,Oe._y)(q,"zoom-big")]]},ze=q=>Object.assign(Object.assign({zIndexPopup:q.zIndexPopupBase+50,paddingBlock:(q.controlHeight-q.fontSize*q.lineHeight)/2},(0,ne.wZ)({contentRadius:q.borderRadiusLG,limitVerticalRadius:!0})),(0,Re.w)(q));var xe=(0,de.I$)("Dropdown",q=>{const{marginXXS:Se,sizePopupArrow:ge,paddingXXS:Qe,componentCls:ie}=q,qe=(0,H.mergeToken)(q,{menuCls:`${ie}-menu`,dropdownArrowDistance:q.calc(ge).div(2).add(Se).equal(),dropdownEdgeChildPadding:Qe});return[T(qe),ce(qe)]},ze,{resetStyle:!1});const We=null,st=q=>{var Se;const{menu:ge,arrow:Qe,prefixCls:ie,children:qe,trigger:Ke,disabled:bt,dropdownRender:Te,getPopupContainer:k,overlayClassName:R,rootClassName:X,overlayStyle:p,open:fe,onOpenChange:z,visible:o,onVisibleChange:f,mouseEnterDelay:se=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:$=!0,placement:N="",overlay:G,transitionName:ue}=q,{getPopupContainer:c,getPrefixCls:y,direction:Ge,dropdown:W}=e.useContext(Ve.E_),Le=(0,Fe.ln)("Dropdown"),He=e.useMemo(()=>{const Wt=y();return ue!==void 0?ue:N.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[y,N,ue]),nt=e.useMemo(()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:Ge==="rtl"?"bottomRight":"bottomLeft",[N,Ge]),it=y("dropdown",ie),et=(0,C.Z)(it),[w,pe,Ze]=xe(it,et),[,Ue]=(0,h.ZP)(),ot=e.Children.only(M(qe)?e.createElement("span",null,qe):qe),Tt=(0,lt.Tm)(ot,{className:x()(`${it}-trigger`,{[`${it}-rtl`]:Ge==="rtl"},ot.props.className),disabled:(Se=ot.props.disabled)!==null&&Se!==void 0?Se:bt}),ct=bt?[]:Ke,dt=!!(ct!=null&&ct.includes("contextMenu")),[Rt,Vt]=(0,Z.Z)(!1,{value:fe!=null?fe:o}),Ht=(0,E.Z)(Wt=>{z==null||z(Wt,{source:"trigger"}),f==null||f(Wt),Vt(Wt)}),Xt=x()(R,X,pe,Ze,et,W==null?void 0:W.className,{[`${it}-rtl`]:Ge==="rtl"}),wt=(0,P.Z)({arrowPointAtCenter:typeof Qe=="object"&&Qe.pointAtCenter,autoAdjustOverflow:$,offset:Ue.marginXXS,arrowWidth:Qe?Ue.sizePopupArrow:0,borderRadius:Ue.borderRadius}),Ut=e.useCallback(()=>{ge!=null&&ge.selectable&&(ge!=null&&ge.multiple)||(z==null||z(!1,{source:"menu"}),Vt(!1))},[ge==null?void 0:ge.selectable,ge==null?void 0:ge.multiple]),yt=()=>{let Wt;return ge!=null&&ge.items?Wt=e.createElement(he.default,Object.assign({},ge)):typeof G=="function"?Wt=G():Wt=G,Te&&(Wt=Te(Wt)),Wt=e.Children.only(typeof Wt=="string"?e.createElement("span",null,Wt):Wt),e.createElement(s.J,{prefixCls:`${it}-menu`,rootClassName:x()(Ze,et),expandIcon:e.createElement("span",{className:`${it}-menu-submenu-arrow`},Ge==="rtl"?e.createElement(d.Z,{className:`${it}-menu-submenu-arrow-icon`}):e.createElement(i.Z,{className:`${it}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ut,validator:pt=>{let{mode:Lt}=pt}},Wt)},[Bt,Pt]=(0,r.Cn)("Dropdown",p==null?void 0:p.zIndex);let kt=e.createElement(D.Z,Object.assign({alignPoint:dt},(0,K.Z)(q,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:_,visible:Rt,builtinPlacements:wt,arrow:!!Qe,overlayClassName:Xt,prefixCls:it,getPopupContainer:k||c,transitionName:He,trigger:ct,overlay:yt,placement:nt,onVisibleChange:Ht,overlayStyle:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.style),p),{zIndex:Bt})}),Tt);return Bt&&(kt=e.createElement(Pe.Z.Provider,{value:Pt},kt)),w(kt)},at=(0,me.Z)(st,"align",void 0,"dropdown",q=>q),Ae=q=>e.createElement(at,Object.assign({},q),e.createElement("span",null));st._InternalPanelDoNotUseOrYouWillBeFired=Ae;var tt=st},75727:function(an,Je,t){t.d(Je,{Z:function(){return me}});var e=t(19563),d=t(59301),i=t(18785),L=t(92310),x=t.n(L),D=t(7939),E=t(48755),Z=t(44104),K=t(70045),r=function(lt,Fe){var Pe={};for(var Ve in lt)Object.prototype.hasOwnProperty.call(lt,Ve)&&Fe.indexOf(Ve)<0&&(Pe[Ve]=lt[Ve]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,Ve=Object.getOwnPropertySymbols(lt);C{const{getPopupContainer:Fe,getPrefixCls:Pe,direction:Ve}=d.useContext(E.E_),{prefixCls:C,type:he="default",danger:s,disabled:h,loading:oe,onClick:le,htmlType:v,children:je,className:Oe,menu:ne,arrow:Re,autoFocus:de,overlay:H,trigger:n,align:ce,open:T,onOpenChange:ze,placement:xe,getPopupContainer:We,href:st,icon:at=d.createElement(i.Z,null),title:Ae,buttonsRender:tt=se=>se,mouseEnterDelay:q,mouseLeaveDelay:Se,overlayClassName:ge,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:qe}=lt,Ke=r(lt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bt=Pe("dropdown",C),Te=`${bt}-button`,k={menu:ne,arrow:Re,autoFocus:de,align:ce,disabled:h,trigger:h?[]:n,onOpenChange:ze,getPopupContainer:We||Fe,mouseEnterDelay:q,mouseLeaveDelay:Se,overlayClassName:ge,overlayStyle:Qe,destroyPopupOnHide:ie,dropdownRender:qe},{compactSize:R,compactItemClassnames:X}=(0,K.ri)(bt,Ve),p=x()(Te,X,Oe);"overlay"in lt&&(k.overlay=H),"open"in lt&&(k.open=T),"placement"in lt?k.placement=xe:k.placement=Ve==="rtl"?"bottomLeft":"bottomRight";const fe=d.createElement(D.ZP,{type:he,danger:s,disabled:h,loading:oe,onClick:le,htmlType:v,href:st,title:Ae},je),z=d.createElement(D.ZP,{type:he,danger:s,icon:at}),[o,f]=tt([fe,z]);return d.createElement(Z.Z.Compact,Object.assign({className:p,size:R,block:!0},Ke),o,d.createElement(e.Z,Object.assign({},k),f))};U.__ANT_BUTTON=!0;var M=U;const P=e.Z;P.Button=M;var me=P},584:function(an,Je,t){t.d(Je,{Z:function(){return he}});var e=t(59301),d=t(92310),i=t.n(d),L=t(9017),x=t(17835),D=t(57700),Z=()=>{const[,s]=(0,D.ZP)(),[h]=(0,L.Z)("Empty"),le=new x.FastColor(s.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:le,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(h==null?void 0:h.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},r=()=>{const[,s]=(0,D.ZP)(),[h]=(0,L.Z)("Empty"),{colorFill:oe,colorFillTertiary:le,colorFillQuaternary:v,colorBgContainer:je}=s,{borderColor:Oe,shadowColor:ne,contentColor:Re}=(0,e.useMemo)(()=>({borderColor:new x.FastColor(oe).onBackground(je).toHexString(),shadowColor:new x.FastColor(le).onBackground(je).toHexString(),contentColor:new x.FastColor(v).onBackground(je).toHexString()}),[oe,le,v,je]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(h==null?void 0:h.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ne,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Oe},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Re}))))},U=t(16931),M=t(51636);const P=s=>{const{componentCls:h,margin:oe,marginXS:le,marginXL:v,fontSize:je,lineHeight:Oe}=s;return{[h]:{marginInline:le,fontSize:je,lineHeight:Oe,textAlign:"center",[`${h}-image`]:{height:s.emptyImgHeight,marginBottom:le,opacity:s.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${h}-description`]:{color:s.colorTextDescription},[`${h}-footer`]:{marginTop:oe},"&-normal":{marginBlock:v,color:s.colorTextDescription,[`${h}-description`]:{color:s.colorTextDescription},[`${h}-image`]:{height:s.emptyImgHeightMD}},"&-small":{marginBlock:le,color:s.colorTextDescription,[`${h}-image`]:{height:s.emptyImgHeightSM}}}}};var me=(0,U.I$)("Empty",s=>{const{componentCls:h,controlHeightLG:oe,calc:le}=s,v=(0,M.mergeToken)(s,{emptyImgCls:`${h}-img`,emptyImgHeight:le(oe).mul(2.5).equal(),emptyImgHeightMD:oe,emptyImgHeightSM:le(oe).mul(.875).equal()});return[P(v)]}),lt=t(48755),Fe=function(s,h){var oe={};for(var le in s)Object.prototype.hasOwnProperty.call(s,le)&&h.indexOf(le)<0&&(oe[le]=s[le]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,le=Object.getOwnPropertySymbols(s);v{const{className:h,rootClassName:oe,prefixCls:le,image:v=Pe,description:je,children:Oe,imageStyle:ne,style:Re,classNames:de,styles:H}=s,n=Fe(s,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ce,direction:T,className:ze,style:xe,classNames:We,styles:st}=(0,lt.dj)("empty"),at=ce("empty",le),[Ae,tt,q]=me(at),[Se]=(0,L.Z)("Empty"),ge=typeof je!="undefined"?je:Se==null?void 0:Se.description,Qe=typeof ge=="string"?ge:"empty";let ie=null;return typeof v=="string"?ie=e.createElement("img",{alt:Qe,src:v}):ie=v,Ae(e.createElement("div",Object.assign({className:i()(tt,q,at,ze,{[`${at}-normal`]:v===Ve,[`${at}-rtl`]:T==="rtl"},h,oe,We.root,de==null?void 0:de.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},st.root),xe),H==null?void 0:H.root),Re)},n),e.createElement("div",{className:i()(`${at}-image`,We.image,de==null?void 0:de.image),style:Object.assign(Object.assign(Object.assign({},ne),st.image),H==null?void 0:H.image)},ie),ge&&e.createElement("div",{className:i()(`${at}-description`,We.description,de==null?void 0:de.description),style:Object.assign(Object.assign({},st.description),H==null?void 0:H.description)},ge),Oe&&e.createElement("div",{className:i()(`${at}-footer`,We.footer,de==null?void 0:de.footer),style:Object.assign(Object.assign({},st.footer),H==null?void 0:H.footer)},Oe)))};C.PRESENTED_IMAGE_DEFAULT=Pe,C.PRESENTED_IMAGE_SIMPLE=Ve;var he=C},24971:function(an,Je,t){var e=t(59301),d=t(56553),i=t(48755);const L=function(x,D){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var Z,K;const{variant:r,[x]:U}=e.useContext(i.E_),M=e.useContext(d.pg),P=U==null?void 0:U.variant;let me;typeof D!="undefined"?me=D:E===!1?me="borderless":me=(K=(Z=M!=null?M:P)!==null&&Z!==void 0?Z:r)!==null&&K!==void 0?K:"outlined";const lt=i.tr.includes(me);return[me,lt]};Je.Z=L},28284:function(an,Je,t){t.d(Je,{default:function(){return Ie}});var e=t(56553),d=t(94480),i=t(59301),L=t(92310),x=t.n(L),D=t(77900),E=t(86641),Z=t(83397);function K(I){const[Y,be]=i.useState(I);return i.useEffect(()=>{const ye=setTimeout(()=>{be(I)},I.length?0:10);return()=>{clearTimeout(ye)}},[I]),Y}var r=t(36237),U=t(63356),M=t(34925),P=t(34961),me=t(51636),lt=t(16931),Pe=I=>{const{componentCls:Y}=I,be=`${Y}-show-help`,ye=`${Y}-show-help-item`;return{[be]:{transition:`opacity ${I.motionDurationFast} ${I.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ye]:{overflow:"hidden",transition:`height ${I.motionDurationFast} ${I.motionEaseInOut}, opacity ${I.motionDurationFast} ${I.motionEaseInOut}, - transform ${I.motionDurationFast} ${I.motionEaseInOut} !important`,[`&${ye}-appear, &${ye}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ye}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ve=I=>({legend:{display:"block",width:"100%",marginBottom:I.marginLG,padding:0,color:I.colorTextDescription,fontSize:I.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,r.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,r.unit)(I.controlOutlineWidth)} ${I.controlOutline}`},output:{display:"block",paddingTop:15,color:I.colorText,fontSize:I.fontSize,lineHeight:I.lineHeight}}),C=(I,Y)=>{const{formItemCls:be}=I;return{[be]:{[`${be}-label > label`]:{height:Y},[`${be}-control-input`]:{minHeight:Y}}}},he=I=>{const{componentCls:Y}=I;return{[I.componentCls]:Object.assign(Object.assign(Object.assign({},(0,V.Wf)(I)),Ve(I)),{[`${Y}-text`]:{display:"inline-block",paddingInlineEnd:I.paddingSM},"&-small":Object.assign({},C(I,I.controlHeightSM)),"&-large":Object.assign({},C(I,I.controlHeightLG))})}},s=I=>{const{formItemCls:Y,iconCls:be,rootPrefixCls:ye,antCls:g,labelRequiredMarkColor:re,labelColor:De,labelFontSize:u,labelHeight:S,labelColonMarginInlineStart:A,labelColonMarginInlineEnd:ve,itemMarginBottom:j}=I;return{[Y]:Object.assign(Object.assign({},(0,V.Wf)(I)),{marginBottom:j,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + transform ${I.motionDurationFast} ${I.motionEaseInOut} !important`,[`&${ye}-appear, &${ye}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ye}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ve=I=>({legend:{display:"block",width:"100%",marginBottom:I.marginLG,padding:0,color:I.colorTextDescription,fontSize:I.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,r.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,r.unit)(I.controlOutlineWidth)} ${I.controlOutline}`},output:{display:"block",paddingTop:15,color:I.colorText,fontSize:I.fontSize,lineHeight:I.lineHeight}}),C=(I,Y)=>{const{formItemCls:be}=I;return{[be]:{[`${be}-label > label`]:{height:Y},[`${be}-control-input`]:{minHeight:Y}}}},he=I=>{const{componentCls:Y}=I;return{[I.componentCls]:Object.assign(Object.assign(Object.assign({},(0,U.Wf)(I)),Ve(I)),{[`${Y}-text`]:{display:"inline-block",paddingInlineEnd:I.paddingSM},"&-small":Object.assign({},C(I,I.controlHeightSM)),"&-large":Object.assign({},C(I,I.controlHeightLG))})}},s=I=>{const{formItemCls:Y,iconCls:be,rootPrefixCls:ye,antCls:g,labelRequiredMarkColor:re,labelColor:De,labelFontSize:u,labelHeight:S,labelColonMarginInlineStart:A,labelColonMarginInlineEnd:ve,itemMarginBottom:j}=I;return{[Y]:Object.assign(Object.assign({},(0,U.Wf)(I)),{marginBottom:j,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${g}-row`]:{display:"none"},"&-has-warning":{[`${Y}-split`]:{color:I.colorError}},"&-has-error":{[`${Y}-split`]:{color:I.colorWarning}},[`${Y}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:I.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:S,color:De,fontSize:u,[`> ${be}`]:{fontSize:I.fontSize,verticalAlign:"top"},[`&${Y}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:I.marginXXS,color:re,fontSize:I.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Y}-required-mark-hidden, &${Y}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Y}-optional`]:{display:"inline-block",marginInlineStart:I.marginXXS,color:I.colorTextDescription,[`&${Y}-required-mark-hidden`]:{display:"none"}},[`${Y}-tooltip`]:{color:I.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:I.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:A,marginInlineEnd:ve},[`&${Y}-no-colon::after`]:{content:'"\\a0"'}}},[`${Y}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ye}-col-'"]):not([class*="' ${ye}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:I.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Y]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:I.colorTextDescription,fontSize:I.fontSize,lineHeight:I.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:I.controlHeightSM,transition:`color ${I.motionDurationMid} ${I.motionEaseOut}`},"&-explain":{"&-error":{color:I.colorError},"&-warning":{color:I.colorWarning}}},[`&-with-help ${Y}-explain`]:{height:"auto",opacity:1},[`${Y}-feedback-icon`]:{fontSize:I.fontSize,textAlign:"center",visibility:"visible",animationName:M.kr,animationDuration:I.motionDurationMid,animationTimingFunction:I.motionEaseOutBack,pointerEvents:"none","&-success":{color:I.colorSuccess},"&-error":{color:I.colorError},"&-warning":{color:I.colorWarning},"&-validating":{color:I.colorPrimary}}})}},h=(I,Y)=>{const{formItemCls:be}=I;return{[`${Y}-horizontal`]:{[`${be}-label`]:{flexGrow:0},[`${be}-control`]:{flex:"1 1 0",minWidth:0},[`${be}-label[class$='-24'], ${be}-label[class*='-24 ']`]:{[`& + ${be}-control`]:{minWidth:"unset"}}}}},oe=I=>{const{componentCls:Y,formItemCls:be,inlineItemMarginBottom:ye}=I;return{[`${Y}-inline`]:{display:"flex",flexWrap:"wrap",[be]:{flex:"none",marginInlineEnd:I.margin,marginBottom:ye,"&-row":{flexWrap:"nowrap"},[`> ${be}-label, > ${be}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${be}-label`]:{flex:"none"},[`${Y}-text`]:{display:"inline-block"},[`${be}-has-feedback`]:{display:"inline-block"}}}}},le=I=>({padding:I.verticalLabelPadding,margin:I.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),v=I=>{const{componentCls:Y,formItemCls:be,rootPrefixCls:ye}=I;return{[`${be} ${be}-label`]:le(I),[`${Y}:not(${Y}-inline)`]:{[be]:{flexWrap:"wrap",[`${be}-label, ${be}-control`]:{[`&:not([class*=" ${ye}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},je=I=>{const{componentCls:Y,formItemCls:be,antCls:ye}=I;return{[`${Y}-vertical`]:{[`${be}:not(${be}-horizontal)`]:{[`${be}-row`]:{flexDirection:"column"},[`${be}-label > label`]:{height:"auto"},[`${be}-control`]:{width:"100%"},[`${be}-label, ${ye}-col-24${be}-label, ${ye}-col-xl-24${be}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[v(I),{[Y]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-xs-24${be}-label`]:le(I)}}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[Y]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-sm-24${be}-label`]:le(I)}}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[Y]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-md-24${be}-label`]:le(I)}}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[Y]:{[`${be}:not(${be}-horizontal)`]:{[`${ye}-col-lg-24${be}-label`]:le(I)}}}}},Oe=I=>{const{formItemCls:Y,antCls:be}=I;return{[`${Y}-vertical`]:{[`${Y}-row`]:{flexDirection:"column"},[`${Y}-label > label`]:{height:"auto"},[`${Y}-control`]:{width:"100%"}},[`${Y}-vertical ${Y}-label, ${be}-col-24${Y}-label, - ${be}-col-xl-24${Y}-label`]:le(I),[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[v(I),{[Y]:{[`${be}-col-xs-24${Y}-label`]:le(I)}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[Y]:{[`${be}-col-sm-24${Y}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[Y]:{[`${be}-col-md-24${Y}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[Y]:{[`${be}-col-lg-24${Y}-label`]:le(I)}}}},ne=I=>({labelRequiredMarkColor:I.colorError,labelColor:I.colorTextHeading,labelFontSize:I.fontSize,labelHeight:I.controlHeight,labelColonMarginInlineStart:I.marginXXS/2,labelColonMarginInlineEnd:I.marginXS,itemMarginBottom:I.marginLG,verticalLabelPadding:`0 0 ${I.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Re=(I,Y)=>(0,me.mergeToken)(I,{formItemCls:`${I.componentCls}-item`,rootPrefixCls:Y});var de=(0,lt.I$)("Form",(I,Y)=>{let{rootPrefixCls:be}=Y;const ye=Re(I,be);return[he(ye),s(ye),Pe(ye),h(ye,ye.componentCls),h(ye,ye.formItemCls),oe(ye),je(ye),Oe(ye),(0,P.Z)(ye),M.kr]},ne,{order:-1e3});const H=[];function n(I,Y,be){let ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof I=="string"?I:`${Y}-${ye}`,error:I,errorStatus:be}}var T=I=>{let{help:Y,helpStatus:be,errors:ye=H,warnings:g=H,className:re,fieldId:De,onVisibleChanged:u}=I;const{prefixCls:S}=i.useContext(e.Rk),A=`${S}-item-explain`,ve=(0,Z.Z)(S),[j,O,W]=de(S,ve),ee=i.useMemo(()=>(0,E.Z)(S),[S]),ae=K(ye),b=K(g),m=i.useMemo(()=>Y!=null?[n(Y,"help",be)]:[].concat((0,d.Z)(ae.map((we,Ne)=>n(we,"error","error",Ne))),(0,d.Z)(b.map((we,Ne)=>n(we,"warning","warning",Ne)))),[Y,be,ae,b]),B=i.useMemo(()=>{const we={};return m.forEach(Ne=>{let{key:ut}=Ne;we[ut]=(we[ut]||0)+1}),m.map((Ne,ut)=>Object.assign(Object.assign({},Ne),{key:we[Ne.key]>1?`${Ne.key}-fallback-${ut}`:Ne.key}))},[m]),te={};return De&&(te.id=`${De}_help`),j(i.createElement(D.default,{motionDeadline:ee.motionDeadline,motionName:`${S}-show-help`,visible:!!B.length,onVisibleChanged:u},we=>{const{className:Ne,style:ut}=we;return i.createElement("div",Object.assign({},te,{className:x()(A,Ne,W,ve,re,O),style:ut}),i.createElement(D.CSSMotionList,Object.assign({keys:B},(0,E.Z)(S),{motionName:`${S}-show-help-item`,component:!1}),ke=>{const{key:Q,error:Ce,errorStatus:Me,className:Ye,style:ht}=ke;return i.createElement("div",{key:Q,className:x()(Ye,{[`${A}-${Me}`]:Me}),style:ht},Ce)}))}))},ze=t(22001),xe=t(48755),We=t(2171),st=t(31756),at=t(23069),Ae=t(76846),tt=t(16722);const q=["parentNode"],Se="form_item";function ge(I){return I===void 0||I===!1?[]:Array.isArray(I)?I:[I]}function Qe(I,Y){if(!I.length)return;const be=I.join("_");return Y?`${Y}_${be}`:q.includes(be)?`${Se}_${be}`:be}function ie(I,Y,be,ye,g,re){let De=ye;return re!==void 0?De=re:be.validating?De="validating":I.length?De="error":Y.length?De="warning":(be.touched||g&&be.validated)&&(De="success"),De}var qe=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);gI!=null?I:Object.assign(Object.assign({},Y),{__INTERNAL__:{itemRef:g=>re=>{const De=Ke(g);re?be.current[De]=re:delete be.current[De]}},scrollToField:function(g){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:De}=re,u=qe(re,["focus"]),S=bt(g,ye);S&&((0,tt.Z)(S,Object.assign({scrollMode:"if-needed",block:"nearest"},u)),De&&ye.focusField(g))},focusField:g=>{var re,De;const u=ye.getFieldInstance(g);typeof(u==null?void 0:u.focus)=="function"?u.focus():(De=(re=bt(g,ye))===null||re===void 0?void 0:re.focus)===null||De===void 0||De.call(re)},getFieldInstance:g=>{const re=Ke(g);return be.current[re]}}),[I,Y]);return[ye]}var k=t(98350),R=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{const be=i.useContext(We.Z),{getPrefixCls:ye,direction:g,requiredMark:re,colon:De,scrollToFirstError:u,className:S,style:A}=(0,xe.dj)("form"),{prefixCls:ve,className:j,rootClassName:O,size:W,disabled:ee=be,form:ae,colon:b,labelAlign:m,labelWrap:B,labelCol:te,wrapperCol:we,hideRequiredMark:Ne,layout:ut="horizontal",scrollToFirstError:ke,requiredMark:Q,onFinishFailed:Ce,name:Me,style:Ye,feedbackIcons:ht,variant:ft}=I,Ct=R(I,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),It=(0,st.Z)(W),Dt=i.useContext(k.Z),Mt=i.useMemo(()=>Q!==void 0?Q:Ne?!1:re!==void 0?re:!0,[Ne,Q,re]),$t=b!=null?b:De,Et=ye("form",ve),Jt=(0,Z.Z)(Et),[At,sn,Gt]=de(Et,Jt),Yt=x()(Et,`${Et}-${ut}`,{[`${Et}-hide-required-mark`]:Mt===!1,[`${Et}-rtl`]:g==="rtl",[`${Et}-${It}`]:It},Gt,Jt,sn,S,j,O),[nn]=Te(ae),{__INTERNAL__:fn}=nn;fn.name=Me;const Zt=i.useMemo(()=>({name:Me,labelAlign:m,labelCol:te,labelWrap:B,wrapperCol:we,vertical:ut==="vertical",colon:$t,requiredMark:Mt,itemRef:fn.itemRef,form:nn,feedbackIcons:ht}),[Me,m,te,we,ut,$t,Mt,nn,ht]),Qt=i.useRef(null);i.useImperativeHandle(Y,()=>{var mt;return Object.assign(Object.assign({},nn),{nativeElement:(mt=Qt.current)===null||mt===void 0?void 0:mt.nativeElement})});const Ft=(mt,Kt)=>{if(mt){let jt={block:"nearest"};typeof mt=="object"&&(jt=Object.assign(Object.assign({},jt),mt)),nn.scrollToField(Kt,jt)}},_e=mt=>{if(Ce==null||Ce(mt),mt.errorFields.length){const Kt=mt.errorFields[0].name;if(ke!==void 0){Ft(ke,Kt);return}u!==void 0&&Ft(u,Kt)}};return At(i.createElement(e.pg.Provider,{value:ft},i.createElement(We.n,{disabled:ee},i.createElement(at.Z.Provider,{value:It},i.createElement(e.RV,{validateMessages:Dt},i.createElement(e.q3.Provider,{value:Zt},i.createElement(ze.default,Object.assign({id:Me},Ct,{name:Me,onFinishFailed:_e,form:nn,ref:Qt,style:Object.assign(Object.assign({},A),Ye),className:Yt}))))))))};var fe=i.forwardRef(U),z=t(41799),o=t(8654),f=t(22703),se=t(32383),_=t(11592);function $(I){if(typeof I=="function")return I;const Y=(0,_.Z)(I);return Y.length<=1?Y[0]:Y}const N=()=>{const{status:I,errors:Y=[],warnings:be=[]}=i.useContext(e.aM);return{status:I,errors:Y,warnings:be}};N.Context=e.aM;var X=N,ue=t(16089);function c(I){const[Y,be]=i.useState(I),ye=i.useRef(null),g=i.useRef([]),re=i.useRef(!1);i.useEffect(()=>(re.current=!1,()=>{re.current=!0,ue.Z.cancel(ye.current),ye.current=null}),[]);function De(u){re.current||(ye.current===null&&(g.current=[],ye.current=(0,ue.Z)(()=>{ye.current=null,be(S=>{let A=S;return g.current.forEach(ve=>{A=ve(A)}),A})})),g.current.push(u))}return[Y,De]}function y(){const{itemRef:I}=i.useContext(e.q3),Y=i.useRef({});function be(ye,g){const re=g&&typeof g=="object"&&(0,o.C4)(g),De=ye.join("_");return(Y.current.name!==De||Y.current.originRef!==re)&&(Y.current.name=De,Y.current.originRef=re,Y.current.ref=(0,o.sQ)(I(ye),re)),Y.current.ref}return be}var Ge=t(29194),G=t(34280),Le=t(2738),He=t(65970),nt=t(70425),it=t(5472);const et=I=>{const{formItemCls:Y}=I;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Y}-control`]:{display:"flex"}}}};var w=(0,lt.bk)(["Form","item-item"],(I,Y)=>{let{rootPrefixCls:be}=Y;const ye=Re(I,be);return[et(ye)]}),pe=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{const{prefixCls:Y,status:be,labelCol:ye,wrapperCol:g,children:re,errors:De,warnings:u,_internalItemRender:S,extra:A,help:ve,fieldId:j,marginBottom:O,onErrorVisibleChanged:W,label:ee}=I,ae=`${Y}-item`,b=i.useContext(e.q3),m=i.useMemo(()=>{let Ct=Object.assign({},g||b.wrapperCol||{});return ee===null&&!ye&&!g&&b.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Dt=>{const Mt=Dt?[Dt]:[],$t=(0,nt.U2)(b.labelCol,Mt),Et=typeof $t=="object"?$t:{},Jt=(0,nt.U2)(Ct,Mt),At=typeof Jt=="object"?Jt:{};"span"in Et&&!("offset"in At)&&Et.span{const{labelCol:Ct,wrapperCol:It}=b;return pe(b,["labelCol","wrapperCol"])},[b]),we=i.useRef(null),[Ne,ut]=i.useState(0);(0,G.Z)(()=>{A&&we.current?ut(we.current.clientHeight):ut(0)},[A]);const ke=i.createElement("div",{className:`${ae}-control-input`},i.createElement("div",{className:`${ae}-control-input-content`},re)),Q=i.useMemo(()=>({prefixCls:Y,status:be}),[Y,be]),Ce=O!==null||De.length||u.length?i.createElement(e.Rk.Provider,{value:Q},i.createElement(T,{fieldId:j,errors:De,warnings:u,help:ve,helpStatus:be,className:`${ae}-explain-connected`,onVisibleChanged:W})):null,Me={};j&&(Me.id=`${j}_extra`);const Ye=A?i.createElement("div",Object.assign({},Me,{className:`${ae}-extra`,ref:we}),A):null,ht=Ce||Ye?i.createElement("div",{className:`${ae}-additional`,style:O?{minHeight:O+Ne}:{}},Ce,Ye):null,ft=S&&S.mark==="pro_table_render"&&S.render?S.render(I,{input:ke,errorList:Ce,extra:Ye}):i.createElement(i.Fragment,null,ke,ht);return i.createElement(e.q3.Provider,{value:te},i.createElement(it.Z,Object.assign({},m,{className:B}),ft),i.createElement(w,{prefixCls:Y}))},Tt=t(61485),ct=t(9017),dt=t(85981),Rt=t(25399),Vt=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{let{prefixCls:Y,label:be,htmlFor:ye,labelCol:g,labelAlign:re,colon:De,required:u,requiredMark:S,tooltip:A,vertical:ve}=I;var j;const[O]=(0,ct.Z)("Form"),{labelAlign:W,labelCol:ee,labelWrap:ae,colon:b}=i.useContext(e.q3);if(!be)return null;const m=g||ee||{},B=re||W,te=`${Y}-item-label`,we=x()(te,B==="left"&&`${te}-left`,m.className,{[`${te}-wrap`]:!!ae});let Ne=be;const ut=De===!0||b!==!1&&De!==!1;ut&&!ve&&typeof be=="string"&&be.trim()&&(Ne=be.replace(/[:|:]\s*$/,""));const Q=Ht(A);if(Q){const{icon:Ct=i.createElement(Tt.Z,null)}=Q,It=Vt(Q,["icon"]),Dt=i.createElement(Rt.Z,Object.assign({},It),i.cloneElement(Ct,{className:`${Y}-item-tooltip`,title:"",onClick:Mt=>{Mt.preventDefault()},tabIndex:null}));Ne=i.createElement(i.Fragment,null,Ne,Dt)}const Ce=S==="optional",Me=typeof S=="function",Ye=S===!1;Me?Ne=S(Ne,{required:!!u}):Ce&&!u&&(Ne=i.createElement(i.Fragment,null,Ne,i.createElement("span",{className:`${Y}-item-optional`,title:""},(O==null?void 0:O.optional)||((j=dt.Z.Form)===null||j===void 0?void 0:j.optional))));let ht;Ye?ht="hidden":(Ce||Me)&&(ht="optional");const ft=x()({[`${Y}-item-required`]:u,[`${Y}-item-required-mark-${ht}`]:ht,[`${Y}-item-no-colon`]:!ut});return i.createElement(it.Z,Object.assign({},m,{className:we}),i.createElement("label",{htmlFor:ye,className:ft,title:typeof be=="string"?be:""},Ne))},Ut=t(29679),yt=t(19248),Bt=t(96512),Pt=t(58617);const kt={success:Ut.Z,warning:Bt.Z,error:yt.Z,validating:Pt.Z};function Wt(I){let{children:Y,errors:be,warnings:ye,hasFeedback:g,validateStatus:re,prefixCls:De,meta:u,noStyle:S}=I;const A=`${De}-item`,{feedbackIcons:ve}=i.useContext(e.q3),j=ie(be,ye,u,null,!!g,re),{isFormItemInput:O,status:W,hasFeedback:ee,feedbackIcon:ae}=i.useContext(e.aM),b=i.useMemo(()=>{var m;let B;if(g){const we=g!==!0&&g.icons||ve,Ne=j&&((m=we==null?void 0:we({status:j,errors:be,warnings:ye}))===null||m===void 0?void 0:m[j]),ut=j&&kt[j];B=Ne!==!1&&ut?i.createElement("span",{className:x()(`${A}-feedback-icon`,`${A}-feedback-icon-${j}`)},Ne||i.createElement(ut,null)):null}const te={status:j||"",errors:be,warnings:ye,hasFeedback:!!g,feedbackIcon:B,isFormItemInput:!0};return S&&(te.status=(j!=null?j:W)||"",te.isFormItemInput=O,te.hasFeedback=!!(g!=null?g:ee),te.feedbackIcon=g!==void 0?te.feedbackIcon:ae),te},[j,g,S,O,W]);return i.createElement(e.aM.Provider,{value:b},Y)}var pt=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{if(Ye&&ke.current){const Et=getComputedStyle(ke.current);Ct(parseInt(Et.marginBottom,10))}},[Ye,ht]);const It=Et=>{Et||Ct(null)},Mt=function(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Jt=Et?Q:A.errors,At=Et?Ce:A.warnings;return ie(Jt,At,A,"",!!ve,S)}(),$t=x()(te,be,ye,{[`${te}-with-help`]:Me||Q.length||Ce.length,[`${te}-has-feedback`]:Mt&&ve,[`${te}-has-success`]:Mt==="success",[`${te}-has-warning`]:Mt==="warning",[`${te}-has-error`]:Mt==="error",[`${te}-is-validating`]:Mt==="validating",[`${te}-hidden`]:j,[`${te}-${m}`]:m});return i.createElement("div",{className:$t,style:g,ref:ke},i.createElement(He.Z,Object.assign({className:`${te}-row`},(0,Le.Z)(B,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(wt,Object.assign({htmlFor:W},I,{requiredMark:we,required:ee!=null?ee:ae,prefixCls:Y,vertical:ut})),i.createElement(ot,Object.assign({},I,A,{errors:Q,warnings:Ce,prefixCls:Y,status:Mt,help:re,marginBottom:ft,onErrorVisibleChanged:It}),i.createElement(e.qI.Provider,{value:b},i.createElement(Wt,{prefixCls:Y,meta:A,errors:A.errors,warnings:A.warnings,hasFeedback:ve,validateStatus:Mt},O)))),!!ft&&i.createElement("div",{className:`${te}-margin-offset`,style:{marginBottom:-ft}}))}const ln="__SPLIT__",rn=null;function xn(I,Y){const be=Object.keys(I),ye=Object.keys(Y);return be.length===ye.length&&be.every(g=>{const re=I[g],De=Y[g];return re===De||typeof re=="function"||typeof De=="function"})}const Dn=i.memo(I=>{let{children:Y}=I;return Y},(I,Y)=>xn(I.control,Y.control)&&I.update===Y.update&&I.childProps.length===Y.childProps.length&&I.childProps.every((be,ye)=>be===Y.childProps[ye]));function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tn(I){const{name:Y,noStyle:be,className:ye,dependencies:g,prefixCls:re,shouldUpdate:De,rules:u,children:S,required:A,label:ve,messageVariables:j,trigger:O="onChange",validateTrigger:W,hidden:ee,help:ae,layout:b}=I,{getPrefixCls:m}=i.useContext(xe.E_),{name:B}=i.useContext(e.q3),te=$(S),we=typeof te=="function",Ne=i.useContext(e.qI),{validateTrigger:ut}=i.useContext(ze.FieldContext),ke=W!==void 0?W:ut,Q=Y!=null,Ce=m("form",re),Me=(0,Z.Z)(Ce),[Ye,ht,ft]=de(Ce,Me),Ct=(0,se.ln)("Form.Item"),It=i.useContext(ze.ListContext),Dt=i.useRef(null),[Mt,$t]=c({}),[Et,Jt]=(0,z.Z)(()=>Mn()),At=Qt=>{const Ft=It==null?void 0:It.getKey(Qt.name);if(Jt(Qt.destroy?Mn():Qt,!0),be&&ae!==!1&&Ne){let _e=Qt.name;if(Qt.destroy)_e=Dt.current||_e;else if(Ft!==void 0){const[mt,Kt]=Ft;_e=[mt].concat((0,d.Z)(Kt)),Dt.current=_e}Ne(Qt,_e)}},sn=(Qt,Ft)=>{$t(_e=>{const mt=Object.assign({},_e),jt=[].concat((0,d.Z)(Qt.name.slice(0,-1)),(0,d.Z)(Ft)).join(ln);return Qt.destroy?delete mt[jt]:mt[jt]=Qt,mt})},[Gt,Yt]=i.useMemo(()=>{const Qt=(0,d.Z)(Et.errors),Ft=(0,d.Z)(Et.warnings);return Object.values(Mt).forEach(_e=>{Qt.push.apply(Qt,(0,d.Z)(_e.errors||[])),Ft.push.apply(Ft,(0,d.Z)(_e.warnings||[]))}),[Qt,Ft]},[Mt,Et.errors,Et.warnings]),nn=y();function fn(Qt,Ft,_e){return be&&!ee?i.createElement(Wt,{prefixCls:Ce,hasFeedback:I.hasFeedback,validateStatus:I.validateStatus,meta:Et,errors:Gt,warnings:Yt,noStyle:!0},Qt):i.createElement(Lt,Object.assign({key:"row"},I,{className:x()(ye,ft,Me,ht),prefixCls:Ce,fieldId:Ft,isRequired:_e,errors:Gt,warnings:Yt,meta:Et,onSubItemMetaChange:sn,layout:b}),Qt)}if(!Q&&!we&&!g)return Ye(fn(te));let Zt={};return typeof ve=="string"?Zt.label=ve:Y&&(Zt.label=String(Y)),j&&(Zt=Object.assign(Object.assign({},Zt),j)),Ye(i.createElement(ze.Field,Object.assign({},I,{messageVariables:Zt,trigger:O,validateTrigger:ke,onMetaChange:At}),(Qt,Ft,_e)=>{const mt=ge(Y).length&&Ft?Ft.name:[],Kt=Qe(mt,B),jt=A!==void 0?A:!!(u!=null&&u.some(on=>{if(on&&typeof on=="object"&&on.required&&!on.warningOnly)return!0;if(typeof on=="function"){const en=on(_e);return(en==null?void 0:en.required)&&!(en!=null&&en.warningOnly)}return!1})),qt=Object.assign({},Qt);let un=null;if(Array.isArray(te)&&Q)un=te;else if(!(we&&(!(De||g)||Q))){if(!(g&&!we&&!Q))if(i.isValidElement(te)){const on=Object.assign(Object.assign({},te.props),qt);if(on.id||(on.id=Kt),ae||Gt.length>0||Yt.length>0||I.extra){const Rn=[];(ae||Gt.length>0)&&Rn.push(`${Kt}_help`),I.extra&&Rn.push(`${Kt}_extra`),on["aria-describedby"]=Rn.join(" ")}Gt.length>0&&(on["aria-invalid"]="true"),jt&&(on["aria-required"]="true"),(0,o.Yr)(te)&&(on.ref=nn(mt,te)),new Set([].concat((0,d.Z)(ge(O)),(0,d.Z)(ge(ke)))).forEach(Rn=>{on[Rn]=function(){for(var Bn,yn,dn,Kn,Xn,ar=arguments.length,$n=new Array(ar),er=0;er{var{prefixCls:Y,children:be}=I,ye=bn(I,["prefixCls","children"]);const{getPrefixCls:g}=i.useContext(xe.E_),re=g("form",Y),De=i.useMemo(()=>({prefixCls:re,status:"error"}),[re]);return i.createElement(ze.List,Object.assign({},ye),(u,S,A)=>i.createElement(e.Rk.Provider,{value:De},be(u.map(ve=>Object.assign(Object.assign({},ve),{fieldKey:ve.key})),S,{errors:A.errors,warnings:A.warnings})))};function Jn(){const{form:I}=i.useContext(e.q3);return I}const Be=fe;Be.Item=Pn,Be.List=_n,Be.ErrorList=T,Be.useForm=Te,Be.useFormInstance=Jn,Be.useWatch=ze.useWatch,Be.Provider=e.RV,Be.create=()=>{};var Ie=Be},75786:function(an,Je,t){t.d(Je,{Z:function(){return ae}});var e=t(59301),d=t(15277),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(20068),Z=t(42978),K=t(76190),r=t(75931),V=/margin|padding|width|height|max|min|offset/,M={left:!0,top:!0},P={cssFloat:1,styleFloat:1,float:1};function me(b){return b.nodeType===1?b.ownerDocument.defaultView.getComputedStyle(b,null):{}}function lt(b,m,B){if(m=m.toLowerCase(),B==="auto"){if(m==="height")return b.offsetHeight;if(m==="width")return b.offsetWidth}return m in M||(M[m]=V.test(m)),M[m]?parseFloat(B)||0:B}function Fe(b,m){var B=arguments.length,te=me(b);return m=P[m]?"cssFloat"in b.style?"cssFloat":"styleFloat":m,B===1?te:lt(b,m,te[m]||b.style[m])}function Pe(b,m,B){var te=arguments.length;if(m=P[m]?"cssFloat"in b.style?"cssFloat":"styleFloat":m,te===3)return typeof B=="number"&&V.test(m)&&(B="".concat(B,"px")),b.style[m]=B,B;for(var we in m)m.hasOwnProperty(we)&&Pe(b,we,m[we]);return me(b)}function Ve(b){return b===document.body?document.documentElement.clientWidth:b.offsetWidth}function C(b){return b===document.body?window.innerHeight||document.documentElement.clientHeight:b.offsetHeight}function he(){var b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),m=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:b,height:m}}function s(){var b=document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight;return{width:b,height:m}}function h(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function oe(b){var m=b.getBoundingClientRect(),B=document.documentElement;return{left:m.left+(window.pageXOffset||B.scrollLeft)-(B.clientLeft||document.body.clientLeft||0),top:m.top+(window.pageYOffset||B.scrollTop)-(B.clientTop||document.body.clientTop||0)}}var le=t(18929),v=t(55311),je=t(8224),Oe=t(10228),ne=t(43403),Re=t(77900),de=e.createContext(null),H=function(m){var B=m.visible,te=m.maskTransitionName,we=m.getContainer,Ne=m.prefixCls,ut=m.rootClassName,ke=m.icons,Q=m.countRender,Ce=m.showSwitch,Me=m.showProgress,Ye=m.current,ht=m.transform,ft=m.count,Ct=m.scale,It=m.minScale,Dt=m.maxScale,Mt=m.closeIcon,$t=m.onActive,Et=m.onClose,Jt=m.onZoomIn,At=m.onZoomOut,sn=m.onRotateRight,Gt=m.onRotateLeft,Yt=m.onFlipX,nn=m.onFlipY,fn=m.onReset,Zt=m.toolbarRender,Qt=m.zIndex,Ft=m.image,_e=(0,e.useContext)(de),mt=ke.rotateLeft,Kt=ke.rotateRight,jt=ke.zoomIn,qt=ke.zoomOut,un=ke.close,on=ke.left,en=ke.right,cn=ke.flipX,Rn=ke.flipY,Bn="".concat(Ne,"-operations-operation");e.useEffect(function(){var Cr=function(En){En.keyCode===Oe.Z.ESC&&Et()};return B&&window.addEventListener("keydown",Cr),function(){window.removeEventListener("keydown",Cr)}},[B]);var yn=function(vr,En){vr.preventDefault(),vr.stopPropagation(),$t(En)},dn=e.useCallback(function(Cr){var vr=Cr.type,En=Cr.disabled,Hn=Cr.onClick,lr=Cr.icon;return e.createElement("div",{key:vr,className:L()(Bn,"".concat(Ne,"-operations-operation-").concat(vr),(0,E.Z)({},"".concat(Ne,"-operations-operation-disabled"),!!En)),onClick:Hn},lr)},[Bn,Ne]),Kn=Ce?dn({icon:on,onClick:function(vr){return yn(vr,-1)},type:"prev",disabled:Ye===0}):void 0,Xn=Ce?dn({icon:en,onClick:function(vr){return yn(vr,1)},type:"next",disabled:Ye===ft-1}):void 0,ar=dn({icon:Rn,onClick:nn,type:"flipY"}),$n=dn({icon:cn,onClick:Yt,type:"flipX"}),er=dn({icon:mt,onClick:Gt,type:"rotateLeft"}),Wn=dn({icon:Kt,onClick:sn,type:"rotateRight"}),Sr=dn({icon:qt,onClick:At,type:"zoomOut",disabled:Ct<=It}),Fr=dn({icon:jt,onClick:Jt,type:"zoomIn",disabled:Ct===Dt}),$r=e.createElement("div",{className:"".concat(Ne,"-operations")},ar,$n,er,Wn,Sr,Fr);return e.createElement(Re.default,{visible:B,motionName:te},function(Cr){var vr=Cr.className,En=Cr.style;return e.createElement(ne.Z,{open:!0,getContainer:we!=null?we:document.body},e.createElement("div",{className:L()("".concat(Ne,"-operations-wrapper"),vr,ut),style:(0,D.Z)((0,D.Z)({},En),{},{zIndex:Qt})},Mt===null?null:e.createElement("button",{className:"".concat(Ne,"-close"),onClick:Et},Mt||un),Ce&&e.createElement(e.Fragment,null,e.createElement("div",{className:L()("".concat(Ne,"-switch-left"),(0,E.Z)({},"".concat(Ne,"-switch-left-disabled"),Ye===0)),onClick:function(lr){return yn(lr,-1)}},on),e.createElement("div",{className:L()("".concat(Ne,"-switch-right"),(0,E.Z)({},"".concat(Ne,"-switch-right-disabled"),Ye===ft-1)),onClick:function(lr){return yn(lr,1)}},en)),e.createElement("div",{className:"".concat(Ne,"-footer")},Me&&e.createElement("div",{className:"".concat(Ne,"-progress")},Q?Q(Ye+1,ft):"".concat(Ye+1," / ").concat(ft)),Zt?Zt($r,(0,D.Z)((0,D.Z)({icons:{prevIcon:Kn,nextIcon:Xn,flipYIcon:ar,flipXIcon:$n,rotateLeftIcon:er,rotateRightIcon:Wn,zoomOutIcon:Sr,zoomInIcon:Fr},actions:{onActive:$t,onFlipY:nn,onFlipX:Yt,onRotateLeft:Gt,onRotateRight:sn,onZoomOut:At,onZoomIn:Jt,onReset:fn,onClose:Et},transform:ht},_e?{current:Ye,total:ft}:{}),{},{image:Ft})):$r)))})},n=H,ce=t(13697),T=t(16089),ze={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function xe(b,m,B,te){var we=(0,e.useRef)(null),Ne=(0,e.useRef)([]),ut=(0,e.useState)(ze),ke=(0,Z.Z)(ut,2),Q=ke[0],Ce=ke[1],Me=function(Ct){Ce(ze),(0,ce.Z)(ze,Q)||te==null||te({transform:ze,action:Ct})},Ye=function(Ct,It){we.current===null&&(Ne.current=[],we.current=(0,T.Z)(function(){Ce(function(Dt){var Mt=Dt;return Ne.current.forEach(function($t){Mt=(0,D.Z)((0,D.Z)({},Mt),$t)}),we.current=null,te==null||te({transform:Mt,action:It}),Mt})})),Ne.current.push((0,D.Z)((0,D.Z)({},Q),Ct))},ht=function(Ct,It,Dt,Mt,$t){var Et=b.current,Jt=Et.width,At=Et.height,sn=Et.offsetWidth,Gt=Et.offsetHeight,Yt=Et.offsetLeft,nn=Et.offsetTop,fn=Ct,Zt=Q.scale*Ct;Zt>B?(Zt=B,fn=B/Q.scale):Ztte){if(m>0)return(0,E.Z)({},b,Ne);if(m<0&&wete)return(0,E.Z)({},b,m<0?Ne:-Ne);return{}}function at(b,m,B,te){var we=s(),Ne=we.width,ut=we.height,ke=null;return b<=Ne&&m<=ut?ke={x:0,y:0}:(b>Ne||m>ut)&&(ke=(0,D.Z)((0,D.Z)({},st("x",B,b,Ne)),st("y",te,m,ut))),ke}var Ae=1,tt=1;function q(b,m,B,te,we,Ne,ut){var ke=we.rotate,Q=we.scale,Ce=we.x,Me=we.y,Ye=(0,e.useState)(!1),ht=(0,Z.Z)(Ye,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Dt=function(At){!m||At.button!==0||(At.preventDefault(),At.stopPropagation(),It.current={diffX:At.pageX-Ce,diffY:At.pageY-Me,transformX:Ce,transformY:Me},Ct(!0))},Mt=function(At){B&&ft&&Ne({x:At.pageX-It.current.diffX,y:At.pageY-It.current.diffY},"move")},$t=function(){if(B&&ft){Ct(!1);var At=It.current,sn=At.transformX,Gt=At.transformY,Yt=Ce!==sn&&Me!==Gt;if(!Yt)return;var nn=b.current.offsetWidth*Q,fn=b.current.offsetHeight*Q,Zt=b.current.getBoundingClientRect(),Qt=Zt.left,Ft=Zt.top,_e=ke%180!==0,mt=at(_e?fn:nn,_e?nn:fn,Qt,Ft);mt&&Ne((0,D.Z)({},mt),"dragRebound")}},Et=function(At){if(!(!B||At.deltaY==0)){var sn=Math.abs(At.deltaY/100),Gt=Math.min(sn,tt),Yt=Ae+Gt*te;At.deltaY>0&&(Yt=Ae/Yt),ut(Yt,"wheel",At.clientX,At.clientY)}};return(0,e.useEffect)(function(){var Jt,At,sn,Gt;if(m){sn=(0,je.Z)(window,"mouseup",$t,!1),Gt=(0,je.Z)(window,"mousemove",Mt,!1);try{window.top!==window.self&&(Jt=(0,je.Z)(window.top,"mouseup",$t,!1),At=(0,je.Z)(window.top,"mousemove",Mt,!1))}catch(Yt){(0,We.Kp)(!1,"[rc-image] ".concat(Yt))}}return function(){var Yt,nn,fn,Zt;(Yt=sn)===null||Yt===void 0||Yt.remove(),(nn=Gt)===null||nn===void 0||nn.remove(),(fn=Jt)===null||fn===void 0||fn.remove(),(Zt=At)===null||Zt===void 0||Zt.remove()}},[B,ft,Ce,Me,ke,m]),{isMoving:ft,onMouseDown:Dt,onMouseMove:Mt,onMouseUp:$t,onWheel:Et}}function Se(b){return new Promise(function(m){if(!b){m(!1);return}var B=document.createElement("img");B.onerror=function(){return m(!1)},B.onload=function(){return m(!0)},B.src=b})}function ge(b){var m=b.src,B=b.isCustomPlaceholder,te=b.fallback,we=(0,e.useState)(B?"loading":"normal"),Ne=(0,Z.Z)(we,2),ut=Ne[0],ke=Ne[1],Q=(0,e.useRef)(!1),Ce=ut==="error";(0,e.useEffect)(function(){var ft=!0;return Se(m).then(function(Ct){!Ct&&ft&&ke("error")}),function(){ft=!1}},[m]),(0,e.useEffect)(function(){B&&!Q.current?ke("loading"):Ce&&ke("normal")},[m]);var Me=function(){ke("normal")},Ye=function(Ct){Q.current=!1,ut==="loading"&&Ct!==null&&Ct!==void 0&&Ct.complete&&(Ct.naturalWidth||Ct.naturalHeight)&&(Q.current=!0,Me())},ht=Ce&&te?{src:te}:{onLoad:Me,src:m};return[Ye,ht,ut]}function Qe(b,m){var B=b.x-m.x,te=b.y-m.y;return Math.hypot(B,te)}function ie(b,m,B,te){var we=Qe(b,B),Ne=Qe(m,te);if(we===0&&Ne===0)return[b.x,b.y];var ut=we/(we+Ne),ke=b.x+ut*(m.x-b.x),Q=b.y+ut*(m.y-b.y);return[ke,Q]}function qe(b,m,B,te,we,Ne,ut){var ke=we.rotate,Q=we.scale,Ce=we.x,Me=we.y,Ye=(0,e.useState)(!1),ht=(0,Z.Z)(Ye,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Dt=function(At){It.current=(0,D.Z)((0,D.Z)({},It.current),At)},Mt=function(At){if(m){At.stopPropagation(),Ct(!0);var sn=At.touches,Gt=sn===void 0?[]:sn;Gt.length>1?Dt({point1:{x:Gt[0].clientX,y:Gt[0].clientY},point2:{x:Gt[1].clientX,y:Gt[1].clientY},eventType:"touchZoom"}):Dt({point1:{x:Gt[0].clientX-Ce,y:Gt[0].clientY-Me},eventType:"move"})}},$t=function(At){var sn=At.touches,Gt=sn===void 0?[]:sn,Yt=It.current,nn=Yt.point1,fn=Yt.point2,Zt=Yt.eventType;if(Gt.length>1&&Zt==="touchZoom"){var Qt={x:Gt[0].clientX,y:Gt[0].clientY},Ft={x:Gt[1].clientX,y:Gt[1].clientY},_e=ie(nn,fn,Qt,Ft),mt=(0,Z.Z)(_e,2),Kt=mt[0],jt=mt[1],qt=Qe(Qt,Ft)/Qe(nn,fn);ut(qt,"touchZoom",Kt,jt,!0),Dt({point1:Qt,point2:Ft,eventType:"touchZoom"})}else Zt==="move"&&(Ne({x:Gt[0].clientX-nn.x,y:Gt[0].clientY-nn.y},"move"),Dt({eventType:"move"}))},Et=function(){if(B){if(ft&&Ct(!1),Dt({eventType:"none"}),te>Q)return Ne({x:0,y:0,scale:te},"touchZoom");var At=b.current.offsetWidth*Q,sn=b.current.offsetHeight*Q,Gt=b.current.getBoundingClientRect(),Yt=Gt.left,nn=Gt.top,fn=ke%180!==0,Zt=at(fn?sn:At,fn?At:sn,Yt,nn);Zt&&Ne((0,D.Z)({},Zt),"dragRebound")}};return(0,e.useEffect)(function(){var Jt;return B&&m&&(Jt=(0,je.Z)(window,"touchmove",function(At){return At.preventDefault()},{passive:!1})),function(){var At;(At=Jt)===null||At===void 0||At.remove()}},[B,m]),{isTouching:ft,onTouchStart:Mt,onTouchMove:$t,onTouchEnd:Et}}var Ke=["fallback","src","imgRef"],bt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Te=function(m){var B=m.fallback,te=m.src,we=m.imgRef,Ne=(0,r.Z)(m,Ke),ut=ge({src:te,fallback:B}),ke=(0,Z.Z)(ut,2),Q=ke[0],Ce=ke[1];return e.createElement("img",(0,x.Z)({ref:function(Ye){we.current=Ye,Q(Ye)}},Ne,Ce))},k=function(m){var B=m.prefixCls,te=m.src,we=m.alt,Ne=m.imageInfo,ut=m.fallback,ke=m.movable,Q=ke===void 0?!0:ke,Ce=m.onClose,Me=m.visible,Ye=m.icons,ht=Ye===void 0?{}:Ye,ft=m.rootClassName,Ct=m.closeIcon,It=m.getContainer,Dt=m.current,Mt=Dt===void 0?0:Dt,$t=m.count,Et=$t===void 0?1:$t,Jt=m.countRender,At=m.scaleStep,sn=At===void 0?.5:At,Gt=m.minScale,Yt=Gt===void 0?1:Gt,nn=m.maxScale,fn=nn===void 0?50:nn,Zt=m.transitionName,Qt=Zt===void 0?"zoom":Zt,Ft=m.maskTransitionName,_e=Ft===void 0?"fade":Ft,mt=m.imageRender,Kt=m.imgCommonProps,jt=m.toolbarRender,qt=m.onTransform,un=m.onChange,on=(0,r.Z)(m,bt),en=(0,e.useRef)(),cn=(0,e.useContext)(de),Rn=cn&&Et>1,Bn=cn&&Et>=1,yn=(0,e.useState)(!0),dn=(0,Z.Z)(yn,2),Kn=dn[0],Xn=dn[1],ar=xe(en,Yt,fn,qt),$n=ar.transform,er=ar.resetTransform,Wn=ar.updateTransform,Sr=ar.dispatchZoomChange,Fr=q(en,Q,Me,sn,$n,Wn,Sr),$r=Fr.isMoving,Cr=Fr.onMouseDown,vr=Fr.onWheel,En=qe(en,Q,Me,Yt,$n,Wn,Sr),Hn=En.isTouching,lr=En.onTouchStart,fr=En.onTouchMove,Gn=En.onTouchEnd,ur=$n.rotate,yr=$n.scale,gr=L()((0,E.Z)({},"".concat(B,"-moving"),$r));(0,e.useEffect)(function(){Kn||Xn(!0)},[Kn]);var br=function(){er("close")},Br=function(){Sr(Ae+sn,"zoomIn")},wr=function(){Sr(Ae/(Ae+sn),"zoomOut")},Tr=function(){Wn({rotate:ur+90},"rotateRight")},Qr=function(){Wn({rotate:ur-90},"rotateLeft")},Or=function(){Wn({flipX:!$n.flipX},"flipX")},zr=function(){Wn({flipY:!$n.flipY},"flipY")},qr=function(){er("reset")},Vn=function(eo){var In=Mt+eo;!Number.isInteger(In)||In<0||In>Et-1||(Xn(!1),er(eo<0?"prev":"next"),un==null||un(In,Mt))},sr=function(eo){!Me||!Rn||(eo.keyCode===Oe.Z.LEFT?Vn(-1):eo.keyCode===Oe.Z.RIGHT&&Vn(1))},kn=function(eo){Me&&(yr!==1?Wn({x:0,y:0,scale:1},"doubleClick"):Sr(Ae+sn,"doubleClick",eo.clientX,eo.clientY))};(0,e.useEffect)(function(){var pr=(0,je.Z)(window,"keydown",sr,!1);return function(){pr.remove()}},[Me,Rn,Mt]);var zn=e.createElement(Te,(0,x.Z)({},Kt,{width:m.width,height:m.height,imgRef:en,className:"".concat(B,"-img"),alt:we,style:{transform:"translate3d(".concat($n.x,"px, ").concat($n.y,"px, 0) scale3d(").concat($n.flipX?"-":"").concat(yr,", ").concat($n.flipY?"-":"").concat(yr,", 1) rotate(").concat(ur,"deg)"),transitionDuration:(!Kn||Hn)&&"0s"},fallback:ut,src:te,onWheel:vr,onMouseDown:Cr,onDoubleClick:kn,onTouchStart:lr,onTouchMove:fr,onTouchEnd:Gn,onTouchCancel:Gn})),cr=(0,D.Z)({url:te,alt:we},Ne);return e.createElement(e.Fragment,null,e.createElement(v.Z,(0,x.Z)({transitionName:Qt,maskTransitionName:_e,closable:!1,keyboard:!0,prefixCls:B,onClose:Ce,visible:Me,classNames:{wrapper:gr},rootClassName:ft,getContainer:It},on,{afterClose:br}),e.createElement("div",{className:"".concat(B,"-img-wrapper")},mt?mt(zn,(0,D.Z)({transform:$n,image:cr},cn?{current:Mt}:{})):zn)),e.createElement(n,{visible:Me,transform:$n,maskTransitionName:_e,closeIcon:Ct,getContainer:It,prefixCls:B,rootClassName:ft,icons:ht,countRender:Jt,showSwitch:Rn,showProgress:Bn,current:Mt,count:Et,scale:yr,minScale:Yt,maxScale:fn,toolbarRender:jt,onActive:Vn,onZoomIn:Br,onZoomOut:wr,onRotateRight:Tr,onRotateLeft:Qr,onFlipX:Or,onFlipY:zr,onClose:Ce,onReset:qr,zIndex:on.zIndex!==void 0?on.zIndex+1:void 0,image:cr}))},R=k,U=t(94480),p=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function fe(b){var m=e.useState({}),B=(0,Z.Z)(m,2),te=B[0],we=B[1],Ne=e.useCallback(function(ke,Q){return we(function(Ce){return(0,D.Z)((0,D.Z)({},Ce),{},(0,E.Z)({},ke,Q))}),function(){we(function(Ce){var Me=(0,D.Z)({},Ce);return delete Me[ke],Me})}},[]),ut=e.useMemo(function(){return b?b.map(function(ke){if(typeof ke=="string")return{data:{src:ke}};var Q={};return Object.keys(ke).forEach(function(Ce){["src"].concat((0,U.Z)(p)).includes(Ce)&&(Q[Ce]=ke[Ce])}),{data:Q}}):Object.keys(te).reduce(function(ke,Q){var Ce=te[Q],Me=Ce.canPreview,Ye=Ce.data;return Me&&ke.push({data:Ye,id:Q}),ke},[])},[b,te]);return[ut,Ne,!!b]}var z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],o=["src"],f=function(m){var B,te=m.previewPrefixCls,we=te===void 0?"rc-image-preview":te,Ne=m.children,ut=m.icons,ke=ut===void 0?{}:ut,Q=m.items,Ce=m.preview,Me=m.fallback,Ye=(0,K.Z)(Ce)==="object"?Ce:{},ht=Ye.visible,ft=Ye.onVisibleChange,Ct=Ye.getContainer,It=Ye.current,Dt=Ye.movable,Mt=Ye.minScale,$t=Ye.maxScale,Et=Ye.countRender,Jt=Ye.closeIcon,At=Ye.onChange,sn=Ye.onTransform,Gt=Ye.toolbarRender,Yt=Ye.imageRender,nn=(0,r.Z)(Ye,z),fn=fe(Q),Zt=(0,Z.Z)(fn,3),Qt=Zt[0],Ft=Zt[1],_e=Zt[2],mt=(0,le.Z)(0,{value:It}),Kt=(0,Z.Z)(mt,2),jt=Kt[0],qt=Kt[1],un=(0,e.useState)(!1),on=(0,Z.Z)(un,2),en=on[0],cn=on[1],Rn=((B=Qt[jt])===null||B===void 0?void 0:B.data)||{},Bn=Rn.src,yn=(0,r.Z)(Rn,o),dn=(0,le.Z)(!!ht,{value:ht,onChange:function(Hn,lr){ft==null||ft(Hn,lr,jt)}}),Kn=(0,Z.Z)(dn,2),Xn=Kn[0],ar=Kn[1],$n=(0,e.useState)(null),er=(0,Z.Z)($n,2),Wn=er[0],Sr=er[1],Fr=e.useCallback(function(En,Hn,lr,fr){var Gn=_e?Qt.findIndex(function(ur){return ur.data.src===Hn}):Qt.findIndex(function(ur){return ur.id===En});qt(Gn<0?0:Gn),ar(!0),Sr({x:lr,y:fr}),cn(!0)},[Qt,_e]);e.useEffect(function(){Xn?en||qt(0):cn(!1)},[Xn]);var $r=function(Hn,lr){qt(Hn),At==null||At(Hn,lr)},Cr=function(){ar(!1),Sr(null)},vr=e.useMemo(function(){return{register:Ft,onPreview:Fr}},[Ft,Fr]);return e.createElement(de.Provider,{value:vr},Ne,e.createElement(R,(0,x.Z)({"aria-hidden":!Xn,movable:Dt,visible:Xn,prefixCls:we,closeIcon:Jt,onClose:Cr,mousePosition:Wn,imgCommonProps:yn,src:Bn,fallback:Me,icons:ke,minScale:Mt,maxScale:$t,getContainer:Ct,current:jt,count:Qt.length,countRender:Et,onTransform:sn,toolbarRender:Gt,imageRender:Yt,onChange:$r},nn)))},se=f,_=0;function $(b,m){var B=e.useState(function(){return _+=1,String(_)}),te=(0,Z.Z)(B,1),we=te[0],Ne=e.useContext(de),ut={data:m,canPreview:b};return e.useEffect(function(){if(Ne)return Ne.register(we,ut)},[]),e.useEffect(function(){Ne&&Ne.register(we,ut)},[b,m]),we}var N=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],X=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],ue=function(m){var B=m.src,te=m.alt,we=m.onPreviewClose,Ne=m.prefixCls,ut=Ne===void 0?"rc-image":Ne,ke=m.previewPrefixCls,Q=ke===void 0?"".concat(ut,"-preview"):ke,Ce=m.placeholder,Me=m.fallback,Ye=m.width,ht=m.height,ft=m.style,Ct=m.preview,It=Ct===void 0?!0:Ct,Dt=m.className,Mt=m.onClick,$t=m.onError,Et=m.wrapperClassName,Jt=m.wrapperStyle,At=m.rootClassName,sn=(0,r.Z)(m,N),Gt=Ce&&Ce!==!0,Yt=(0,K.Z)(It)==="object"?It:{},nn=Yt.src,fn=Yt.visible,Zt=fn===void 0?void 0:fn,Qt=Yt.onVisibleChange,Ft=Qt===void 0?we:Qt,_e=Yt.getContainer,mt=_e===void 0?void 0:_e,Kt=Yt.mask,jt=Yt.maskClassName,qt=Yt.movable,un=Yt.icons,on=Yt.scaleStep,en=Yt.minScale,cn=Yt.maxScale,Rn=Yt.imageRender,Bn=Yt.toolbarRender,yn=(0,r.Z)(Yt,X),dn=nn!=null?nn:B,Kn=(0,le.Z)(!!Zt,{value:Zt,onChange:Ft}),Xn=(0,Z.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ge({src:B,isCustomPlaceholder:Gt,fallback:Me}),Wn=(0,Z.Z)(er,3),Sr=Wn[0],Fr=Wn[1],$r=Wn[2],Cr=(0,e.useState)(null),vr=(0,Z.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=(0,e.useContext)(de),fr=!!It,Gn=function(){$n(!1),Hn(null)},ur=L()(ut,Et,At,(0,E.Z)({},"".concat(ut,"-error"),$r==="error")),yr=(0,e.useMemo)(function(){var wr={};return p.forEach(function(Tr){m[Tr]!==void 0&&(wr[Tr]=m[Tr])}),wr},p.map(function(wr){return m[wr]})),gr=(0,e.useMemo)(function(){return(0,D.Z)((0,D.Z)({},yr),{},{src:dn})},[dn,yr]),br=$(fr,gr),Br=function(Tr){var Qr=oe(Tr.target),Or=Qr.left,zr=Qr.top;lr?lr.onPreview(br,dn,Or,zr):(Hn({x:Or,y:zr}),$n(!0)),Mt==null||Mt(Tr)};return e.createElement(e.Fragment,null,e.createElement("div",(0,x.Z)({},sn,{className:ur,onClick:fr?Br:Mt,style:(0,D.Z)({width:Ye,height:ht},Jt)}),e.createElement("img",(0,x.Z)({},yr,{className:L()("".concat(ut,"-img"),(0,E.Z)({},"".concat(ut,"-img-placeholder"),Ce===!0),Dt),style:(0,D.Z)({height:ht},ft),ref:Sr},Fr,{width:Ye,height:ht,onError:$t})),$r==="loading"&&e.createElement("div",{"aria-hidden":"true",className:"".concat(ut,"-placeholder")},Ce),Kt&&fr&&e.createElement("div",{className:L()("".concat(ut,"-mask"),jt),style:{display:(ft==null?void 0:ft.display)==="none"?"none":void 0}},Kt)),!lr&&fr&&e.createElement(R,(0,x.Z)({"aria-hidden":!ar,visible:ar,prefixCls:Q,onClose:Gn,mousePosition:En,src:dn,alt:te,imageInfo:{width:Ye,height:ht},fallback:Me,getContainer:mt,icons:un,movable:qt,scaleStep:on,minScale:en,maxScale:cn,rootClassName:At,imageRender:Rn,imgCommonProps:yr,toolbarRender:Bn},yn)))};ue.PreviewGroup=se;var c=ue,y=c,Ge=t(75030),G=t(86641),Le=t(48755),He=t(83397),nt=t(9017),it=t(99267),et=t(33853),w=t(38819),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ze=pe,Ue=t(7657),ot=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Ze}))},Tt=e.forwardRef(ot),ct=Tt,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Rt=dt,Vt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Rt}))},Ht=e.forwardRef(Vt),Xt=Ht,wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ut=wt,yt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Ut}))},Bt=e.forwardRef(yt),Pt=Bt,kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Wt=kt,pt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Wt}))},Lt=e.forwardRef(pt),ln=Lt,rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},xn=rn,Dn=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:xn}))},Mn=e.forwardRef(Dn),tn=Mn,Nn=t(36237),Pn=t(17835),bn=t(64427),Fn=t(63356),_n=t(34925),Jn=t(99495),Be=t(16931),Ie=t(51636);const I=b=>({position:b||"absolute",inset:0}),Y=b=>{const{iconCls:m,motionDurationSlow:B,paddingXXS:te,marginXXS:we,prefixCls:Ne,colorTextLightSolid:ut}=b;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ut,background:new Pn.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${B}`,[`.${Ne}-mask-info`]:Object.assign(Object.assign({},Fn.vS),{padding:`0 ${(0,Nn.unit)(te)}`,[m]:{marginInlineEnd:we,svg:{verticalAlign:"baseline"}}})}},be=b=>{const{previewCls:m,modalMaskBg:B,paddingSM:te,marginXL:we,margin:Ne,paddingLG:ut,previewOperationColorDisabled:ke,previewOperationHoverColor:Q,motionDurationSlow:Ce,iconCls:Me,colorTextLightSolid:Ye}=b,ht=new Pn.FastColor(B).setA(.1),ft=ht.clone().setA(.2);return{[`${m}-footer`]:{position:"fixed",bottom:we,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:b.previewOperationColor,transform:"translateX(-50%)"},[`${m}-progress`]:{marginBottom:Ne},[`${m}-close`]:{position:"fixed",top:we,right:{_skip_check_:!0,value:we},display:"flex",color:Ye,backgroundColor:ht.toRgbString(),borderRadius:"50%",padding:te,outline:0,border:0,cursor:"pointer",transition:`all ${Ce}`,"&:hover":{backgroundColor:ft.toRgbString()},[`& > ${Me}`]:{fontSize:b.previewOperationSize}},[`${m}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Nn.unit)(ut)}`,backgroundColor:ht.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:te,padding:te,cursor:"pointer",transition:`all ${Ce}`,userSelect:"none",[`&:not(${m}-operations-operation-disabled):hover > ${Me}`]:{color:Q},"&-disabled":{color:ke,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Me}`]:{fontSize:b.previewOperationSize}}}}},ye=b=>{const{modalMaskBg:m,iconCls:B,previewOperationColorDisabled:te,previewCls:we,zIndexPopup:Ne,motionDurationSlow:ut}=b,ke=new Pn.FastColor(m).setA(.1),Q=ke.clone().setA(.2);return{[`${we}-switch-left, ${we}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:b.calc(Ne).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:b.imagePreviewSwitchSize,height:b.imagePreviewSwitchSize,marginTop:b.calc(b.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:b.previewOperationColor,background:ke.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ut}`,userSelect:"none","&:hover":{background:Q.toRgbString()},"&-disabled":{"&, &:hover":{color:te,background:"transparent",cursor:"not-allowed",[`> ${B}`]:{cursor:"not-allowed"}}},[`> ${B}`]:{fontSize:b.previewOperationSize}},[`${we}-switch-left`]:{insetInlineStart:b.marginSM},[`${we}-switch-right`]:{insetInlineEnd:b.marginSM}}},g=b=>{const{motionEaseOut:m,previewCls:B,motionDurationSlow:te,componentCls:we}=b;return[{[`${we}-preview-root`]:{[B]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${B}-body`]:Object.assign(Object.assign({},I()),{overflow:"hidden"}),[`${B}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${te} ${m} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},I()),{transition:`transform ${te} ${m} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${B}-moving`]:{[`${B}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${we}-preview-root`]:{[`${B}-wrap`]:{zIndex:b.zIndexPopup}}},{[`${we}-preview-operations-wrapper`]:{position:"fixed",zIndex:b.calc(b.zIndexPopup).add(1).equal()},"&":[be(b),ye(b)]}]},re=b=>{const{componentCls:m}=b;return{[m]:{position:"relative",display:"inline-block",[`${m}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${m}-img-placeholder`]:{backgroundColor:b.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${m}-mask`]:Object.assign({},Y(b)),[`${m}-mask:hover`]:{opacity:1},[`${m}-placeholder`]:Object.assign({},I())}}},De=b=>{const{previewCls:m}=b;return{[`${m}-root`]:(0,_n._y)(b,"zoom"),"&":(0,Jn.J$)(b,!0)}},u=b=>({zIndexPopup:b.zIndexPopupBase+80,previewOperationColor:new Pn.FastColor(b.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Pn.FastColor(b.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Pn.FastColor(b.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:b.fontSizeIcon*1.5});var S=(0,Be.I$)("Image",b=>{const m=`${b.componentCls}-preview`,B=(0,Ie.mergeToken)(b,{previewCls:m,modalMaskBg:new Pn.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:b.controlHeightLG});return[re(B),g(B),(0,bn.QA)((0,Ie.mergeToken)(B,{componentCls:m})),De(B)]},u),A=function(b,m){var B={};for(var te in b)Object.prototype.hasOwnProperty.call(b,te)&&m.indexOf(te)<0&&(B[te]=b[te]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(b);we{var{previewPrefixCls:m,preview:B}=b,te=A(b,["previewPrefixCls","preview"]);const{getPrefixCls:we}=e.useContext(Le.E_),Ne=we("image",m),ut=`${Ne}-preview`,ke=we(),Q=(0,He.Z)(Ne),[Ce,Me,Ye]=S(Ne,Q),[ht]=(0,Ge.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),ft=e.useMemo(()=>{var Ct;if(B===!1)return B;const It=typeof B=="object"?B:{},Dt=L()(Me,Ye,Q,(Ct=It.rootClassName)!==null&&Ct!==void 0?Ct:"");return Object.assign(Object.assign({},It),{transitionName:(0,G.m)(ke,"zoom",It.transitionName),maskTransitionName:(0,G.m)(ke,"fade",It.maskTransitionName),rootClassName:Dt,zIndex:ht})},[B]);return Ce(e.createElement(y.PreviewGroup,Object.assign({preview:ft,previewPrefixCls:ut,icons:ve},te)))},W=function(b,m){var B={};for(var te in b)Object.prototype.hasOwnProperty.call(b,te)&&m.indexOf(te)<0&&(B[te]=b[te]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(b);we{const{prefixCls:m,preview:B,className:te,rootClassName:we,style:Ne}=b,ut=W(b,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:ke,getPopupContainer:Q,className:Ce,style:Me,preview:Ye}=(0,Le.dj)("image"),[ht]=(0,nt.Z)("Image"),ft=ke("image",m),Ct=ke(),It=(0,He.Z)(ft),[Dt,Mt,$t]=S(ft,It),Et=L()(we,Mt,$t,It),Jt=L()(te,Mt,Ce),[At]=(0,Ge.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),sn=e.useMemo(()=>{if(B===!1)return B;const Yt=typeof B=="object"?B:{},{getContainer:nn,closeIcon:fn,rootClassName:Zt}=Yt,Qt=W(Yt,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:e.createElement("div",{className:`${ft}-mask-info`},e.createElement(d.Z,null),ht==null?void 0:ht.preview),icons:ve},Qt),{rootClassName:L()(Et,Zt),getContainer:nn!=null?nn:Q,transitionName:(0,G.m)(Ct,"zoom",Yt.transitionName),maskTransitionName:(0,G.m)(Ct,"fade",Yt.maskTransitionName),zIndex:At,closeIcon:fn!=null?fn:Ye==null?void 0:Ye.closeIcon})},[B,ht,Ye==null?void 0:Ye.closeIcon]),Gt=Object.assign(Object.assign({},Me),Ne);return Dt(e.createElement(y,Object.assign({prefixCls:ft,preview:sn,rootClassName:Et,className:Jt,style:Gt},ut)))};ee.PreviewGroup=O;var ae=ee},49397:function(an,Je,t){t.d(Je,{Z:function(){return s}});var e=t(59301),d=t(92310),i=t.n(d),L=t(36901),x=t(8654),D=t(62487),E=t(86013),Z=t(82855),K=t(48755),r=t(2171),V=t(83397),M=t(31756),P=t(56553),me=t(24971),lt=t(70045),Fe=t(23826),Pe=t(53075);function Ve(h){return!!(h.prefix||h.suffix||h.allowClear||h.showCount)}var C=function(h,oe){var le={};for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&oe.indexOf(v)<0&&(le[v]=h[v]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,v=Object.getOwnPropertySymbols(h);je{const{prefixCls:le,bordered:v=!0,status:je,size:Oe,disabled:ne,onBlur:Re,onFocus:de,suffix:H,allowClear:n,addonAfter:ce,addonBefore:T,className:ze,style:xe,styles:We,rootClassName:st,onChange:at,classNames:Ae,variant:tt}=h,q=C(h,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Se,direction:ge,allowClear:Qe,autoComplete:ie,className:qe,style:Ke,classNames:bt,styles:Te}=(0,K.dj)("input"),k=Se("input",le),R=(0,e.useRef)(null),U=(0,V.Z)(k),[p,fe,z]=(0,Pe.TI)(k,st),[o]=(0,Pe.ZP)(k,U),{compactSize:f,compactItemClassnames:se}=(0,lt.ri)(k,ge),_=(0,M.Z)(Ue=>{var ot;return(ot=Oe!=null?Oe:f)!==null&&ot!==void 0?ot:Ue}),$=e.useContext(r.Z),N=ne!=null?ne:$,{status:X,hasFeedback:ue,feedbackIcon:c}=(0,e.useContext)(P.aM),y=(0,Z.F)(X,je),Ge=Ve(h)||!!ue,G=(0,e.useRef)(Ge),Le=(0,Fe.Z)(R,!0),He=Ue=>{Le(),Re==null||Re(Ue)},nt=Ue=>{Le(),de==null||de(Ue)},it=Ue=>{Le(),at==null||at(Ue)},et=(ue||H)&&e.createElement(e.Fragment,null,H,ue&&c),w=(0,E.Z)(n!=null?n:Qe),[pe,Ze]=(0,me.Z)("input",tt,v);return p(o(e.createElement(L.default,Object.assign({ref:(0,x.sQ)(oe,R),prefixCls:k,autoComplete:ie},q,{disabled:N,onBlur:He,onFocus:nt,style:Object.assign(Object.assign({},Ke),xe),styles:Object.assign(Object.assign({},Te),We),suffix:et,allowClear:w,className:i()(ze,st,z,U,se,qe),onChange:it,addonBefore:T&&e.createElement(D.Z,{form:!0,space:!0},T),addonAfter:ce&&e.createElement(D.Z,{form:!0,space:!0},ce),classNames:Object.assign(Object.assign(Object.assign({},Ae),bt),{input:i()({[`${k}-sm`]:_==="small",[`${k}-lg`]:_==="large",[`${k}-rtl`]:ge==="rtl"},Ae==null?void 0:Ae.input,bt.input,fe),variant:i()({[`${k}-${pe}`]:Ze},(0,Z.Z)(k,y)),affixWrapper:i()({[`${k}-affix-wrapper-sm`]:_==="small",[`${k}-affix-wrapper-lg`]:_==="large",[`${k}-affix-wrapper-rtl`]:ge==="rtl"},fe),wrapper:i()({[`${k}-group-rtl`]:ge==="rtl"},fe),groupWrapper:i()({[`${k}-group-wrapper-sm`]:_==="small",[`${k}-group-wrapper-lg`]:_==="large",[`${k}-group-wrapper-rtl`]:ge==="rtl",[`${k}-group-wrapper-${pe}`]:Ze},(0,Z.Z)(`${k}-group-wrapper`,y,ue),fe)})}))))})},79809:function(an,Je,t){t.d(Je,{Z:function(){return oe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(22711),x=t(86013),D=t(82855),E=t(48755),Z=t(2171),K=t(83397),r=t(31756),V=t(56553),M=t(24971),P=t(70045),me=t(30292),lt=t(53075),Fe=t(16931),Pe=t(51636),Ve=t(64910);const C=le=>{const{componentCls:v,paddingLG:je}=le,Oe=`${v}-textarea`;return{[`textarea${v}`]:{maxWidth:"100%",height:"auto",minHeight:le.controlHeight,lineHeight:le.lineHeight,verticalAlign:"bottom",transition:`all ${le.motionDurationSlow}`,resize:"vertical",[`&${v}-mouse-active`]:{transition:`all ${le.motionDurationSlow}, height 0s, width 0s`}},[`${v}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Oe]:{position:"relative","&-show-count":{[`> ${v}`]:{height:"100%"},[`${v}-data-count`]:{position:"absolute",bottom:le.calc(le.fontSize).mul(le.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + ${be}-col-xl-24${Y}-label`]:le(I),[`@media (max-width: ${(0,r.unit)(I.screenXSMax)})`]:[v(I),{[Y]:{[`${be}-col-xs-24${Y}-label`]:le(I)}}],[`@media (max-width: ${(0,r.unit)(I.screenSMMax)})`]:{[Y]:{[`${be}-col-sm-24${Y}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenMDMax)})`]:{[Y]:{[`${be}-col-md-24${Y}-label`]:le(I)}},[`@media (max-width: ${(0,r.unit)(I.screenLGMax)})`]:{[Y]:{[`${be}-col-lg-24${Y}-label`]:le(I)}}}},ne=I=>({labelRequiredMarkColor:I.colorError,labelColor:I.colorTextHeading,labelFontSize:I.fontSize,labelHeight:I.controlHeight,labelColonMarginInlineStart:I.marginXXS/2,labelColonMarginInlineEnd:I.marginXS,itemMarginBottom:I.marginLG,verticalLabelPadding:`0 0 ${I.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Re=(I,Y)=>(0,me.mergeToken)(I,{formItemCls:`${I.componentCls}-item`,rootPrefixCls:Y});var de=(0,lt.I$)("Form",(I,Y)=>{let{rootPrefixCls:be}=Y;const ye=Re(I,be);return[he(ye),s(ye),Pe(ye),h(ye,ye.componentCls),h(ye,ye.formItemCls),oe(ye),je(ye),Oe(ye),(0,P.Z)(ye),M.kr]},ne,{order:-1e3});const H=[];function n(I,Y,be){let ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof I=="string"?I:`${Y}-${ye}`,error:I,errorStatus:be}}var T=I=>{let{help:Y,helpStatus:be,errors:ye=H,warnings:g=H,className:re,fieldId:De,onVisibleChanged:u}=I;const{prefixCls:S}=i.useContext(e.Rk),A=`${S}-item-explain`,ve=(0,Z.Z)(S),[j,O,V]=de(S,ve),ee=i.useMemo(()=>(0,E.Z)(S),[S]),ae=K(ye),b=K(g),m=i.useMemo(()=>Y!=null?[n(Y,"help",be)]:[].concat((0,d.Z)(ae.map((we,Ne)=>n(we,"error","error",Ne))),(0,d.Z)(b.map((we,Ne)=>n(we,"warning","warning",Ne)))),[Y,be,ae,b]),B=i.useMemo(()=>{const we={};return m.forEach(Ne=>{let{key:ut}=Ne;we[ut]=(we[ut]||0)+1}),m.map((Ne,ut)=>Object.assign(Object.assign({},Ne),{key:we[Ne.key]>1?`${Ne.key}-fallback-${ut}`:Ne.key}))},[m]),te={};return De&&(te.id=`${De}_help`),j(i.createElement(D.default,{motionDeadline:ee.motionDeadline,motionName:`${S}-show-help`,visible:!!B.length,onVisibleChanged:u},we=>{const{className:Ne,style:ut}=we;return i.createElement("div",Object.assign({},te,{className:x()(A,Ne,V,ve,re,O),style:ut}),i.createElement(D.CSSMotionList,Object.assign({keys:B},(0,E.Z)(S),{motionName:`${S}-show-help-item`,component:!1}),ke=>{const{key:Q,error:Ce,errorStatus:Me,className:Ye,style:ht}=ke;return i.createElement("div",{key:Q,className:x()(Ye,{[`${A}-${Me}`]:Me}),style:ht},Ce)}))}))},ze=t(22001),xe=t(48755),We=t(2171),st=t(31756),at=t(23069),Ae=t(76846),tt=t(16722);const q=["parentNode"],Se="form_item";function ge(I){return I===void 0||I===!1?[]:Array.isArray(I)?I:[I]}function Qe(I,Y){if(!I.length)return;const be=I.join("_");return Y?`${Y}_${be}`:q.includes(be)?`${Se}_${be}`:be}function ie(I,Y,be,ye,g,re){let De=ye;return re!==void 0?De=re:be.validating?De="validating":I.length?De="error":Y.length?De="warning":(be.touched||g&&be.validated)&&(De="success"),De}var qe=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);gI!=null?I:Object.assign(Object.assign({},Y),{__INTERNAL__:{itemRef:g=>re=>{const De=Ke(g);re?be.current[De]=re:delete be.current[De]}},scrollToField:function(g){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:De}=re,u=qe(re,["focus"]),S=bt(g,ye);S&&((0,tt.Z)(S,Object.assign({scrollMode:"if-needed",block:"nearest"},u)),De&&ye.focusField(g))},focusField:g=>{var re,De;const u=ye.getFieldInstance(g);typeof(u==null?void 0:u.focus)=="function"?u.focus():(De=(re=bt(g,ye))===null||re===void 0?void 0:re.focus)===null||De===void 0||De.call(re)},getFieldInstance:g=>{const re=Ke(g);return be.current[re]}}),[I,Y]);return[ye]}var k=t(98350),R=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{const be=i.useContext(We.Z),{getPrefixCls:ye,direction:g,requiredMark:re,colon:De,scrollToFirstError:u,className:S,style:A}=(0,xe.dj)("form"),{prefixCls:ve,className:j,rootClassName:O,size:V,disabled:ee=be,form:ae,colon:b,labelAlign:m,labelWrap:B,labelCol:te,wrapperCol:we,hideRequiredMark:Ne,layout:ut="horizontal",scrollToFirstError:ke,requiredMark:Q,onFinishFailed:Ce,name:Me,style:Ye,feedbackIcons:ht,variant:ft}=I,Ct=R(I,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),It=(0,st.Z)(V),Dt=i.useContext(k.Z),Mt=i.useMemo(()=>Q!==void 0?Q:Ne?!1:re!==void 0?re:!0,[Ne,Q,re]),$t=b!=null?b:De,Et=ye("form",ve),Jt=(0,Z.Z)(Et),[At,sn,Gt]=de(Et,Jt),Yt=x()(Et,`${Et}-${ut}`,{[`${Et}-hide-required-mark`]:Mt===!1,[`${Et}-rtl`]:g==="rtl",[`${Et}-${It}`]:It},Gt,Jt,sn,S,j,O),[nn]=Te(ae),{__INTERNAL__:fn}=nn;fn.name=Me;const Zt=i.useMemo(()=>({name:Me,labelAlign:m,labelCol:te,labelWrap:B,wrapperCol:we,vertical:ut==="vertical",colon:$t,requiredMark:Mt,itemRef:fn.itemRef,form:nn,feedbackIcons:ht}),[Me,m,te,we,ut,$t,Mt,nn,ht]),Qt=i.useRef(null);i.useImperativeHandle(Y,()=>{var mt;return Object.assign(Object.assign({},nn),{nativeElement:(mt=Qt.current)===null||mt===void 0?void 0:mt.nativeElement})});const Ft=(mt,Kt)=>{if(mt){let jt={block:"nearest"};typeof mt=="object"&&(jt=Object.assign(Object.assign({},jt),mt)),nn.scrollToField(Kt,jt)}},_e=mt=>{if(Ce==null||Ce(mt),mt.errorFields.length){const Kt=mt.errorFields[0].name;if(ke!==void 0){Ft(ke,Kt);return}u!==void 0&&Ft(u,Kt)}};return At(i.createElement(e.pg.Provider,{value:ft},i.createElement(We.n,{disabled:ee},i.createElement(at.Z.Provider,{value:It},i.createElement(e.RV,{validateMessages:Dt},i.createElement(e.q3.Provider,{value:Zt},i.createElement(ze.default,Object.assign({id:Me},Ct,{name:Me,onFinishFailed:_e,form:nn,ref:Qt,style:Object.assign(Object.assign({},A),Ye),className:Yt}))))))))};var fe=i.forwardRef(X),z=t(41799),o=t(8654),f=t(22703),se=t(32383),_=t(11592);function $(I){if(typeof I=="function")return I;const Y=(0,_.Z)(I);return Y.length<=1?Y[0]:Y}const N=()=>{const{status:I,errors:Y=[],warnings:be=[]}=i.useContext(e.aM);return{status:I,errors:Y,warnings:be}};N.Context=e.aM;var G=N,ue=t(16089);function c(I){const[Y,be]=i.useState(I),ye=i.useRef(null),g=i.useRef([]),re=i.useRef(!1);i.useEffect(()=>(re.current=!1,()=>{re.current=!0,ue.Z.cancel(ye.current),ye.current=null}),[]);function De(u){re.current||(ye.current===null&&(g.current=[],ye.current=(0,ue.Z)(()=>{ye.current=null,be(S=>{let A=S;return g.current.forEach(ve=>{A=ve(A)}),A})})),g.current.push(u))}return[Y,De]}function y(){const{itemRef:I}=i.useContext(e.q3),Y=i.useRef({});function be(ye,g){const re=g&&typeof g=="object"&&(0,o.C4)(g),De=ye.join("_");return(Y.current.name!==De||Y.current.originRef!==re)&&(Y.current.name=De,Y.current.originRef=re,Y.current.ref=(0,o.sQ)(I(ye),re)),Y.current.ref}return be}var Ge=t(29194),W=t(34280),Le=t(2738),He=t(65970),nt=t(70425),it=t(5472);const et=I=>{const{formItemCls:Y}=I;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Y}-control`]:{display:"flex"}}}};var w=(0,lt.bk)(["Form","item-item"],(I,Y)=>{let{rootPrefixCls:be}=Y;const ye=Re(I,be);return[et(ye)]}),pe=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{const{prefixCls:Y,status:be,labelCol:ye,wrapperCol:g,children:re,errors:De,warnings:u,_internalItemRender:S,extra:A,help:ve,fieldId:j,marginBottom:O,onErrorVisibleChanged:V,label:ee}=I,ae=`${Y}-item`,b=i.useContext(e.q3),m=i.useMemo(()=>{let Ct=Object.assign({},g||b.wrapperCol||{});return ee===null&&!ye&&!g&&b.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Dt=>{const Mt=Dt?[Dt]:[],$t=(0,nt.U2)(b.labelCol,Mt),Et=typeof $t=="object"?$t:{},Jt=(0,nt.U2)(Ct,Mt),At=typeof Jt=="object"?Jt:{};"span"in Et&&!("offset"in At)&&Et.span{const{labelCol:Ct,wrapperCol:It}=b;return pe(b,["labelCol","wrapperCol"])},[b]),we=i.useRef(null),[Ne,ut]=i.useState(0);(0,W.Z)(()=>{A&&we.current?ut(we.current.clientHeight):ut(0)},[A]);const ke=i.createElement("div",{className:`${ae}-control-input`},i.createElement("div",{className:`${ae}-control-input-content`},re)),Q=i.useMemo(()=>({prefixCls:Y,status:be}),[Y,be]),Ce=O!==null||De.length||u.length?i.createElement(e.Rk.Provider,{value:Q},i.createElement(T,{fieldId:j,errors:De,warnings:u,help:ve,helpStatus:be,className:`${ae}-explain-connected`,onVisibleChanged:V})):null,Me={};j&&(Me.id=`${j}_extra`);const Ye=A?i.createElement("div",Object.assign({},Me,{className:`${ae}-extra`,ref:we}),A):null,ht=Ce||Ye?i.createElement("div",{className:`${ae}-additional`,style:O?{minHeight:O+Ne}:{}},Ce,Ye):null,ft=S&&S.mark==="pro_table_render"&&S.render?S.render(I,{input:ke,errorList:Ce,extra:Ye}):i.createElement(i.Fragment,null,ke,ht);return i.createElement(e.q3.Provider,{value:te},i.createElement(it.Z,Object.assign({},m,{className:B}),ft),i.createElement(w,{prefixCls:Y}))},Tt=t(61485),ct=t(9017),dt=t(85981),Rt=t(25399),Vt=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{let{prefixCls:Y,label:be,htmlFor:ye,labelCol:g,labelAlign:re,colon:De,required:u,requiredMark:S,tooltip:A,vertical:ve}=I;var j;const[O]=(0,ct.Z)("Form"),{labelAlign:V,labelCol:ee,labelWrap:ae,colon:b}=i.useContext(e.q3);if(!be)return null;const m=g||ee||{},B=re||V,te=`${Y}-item-label`,we=x()(te,B==="left"&&`${te}-left`,m.className,{[`${te}-wrap`]:!!ae});let Ne=be;const ut=De===!0||b!==!1&&De!==!1;ut&&!ve&&typeof be=="string"&&be.trim()&&(Ne=be.replace(/[:|:]\s*$/,""));const Q=Ht(A);if(Q){const{icon:Ct=i.createElement(Tt.Z,null)}=Q,It=Vt(Q,["icon"]),Dt=i.createElement(Rt.Z,Object.assign({},It),i.cloneElement(Ct,{className:`${Y}-item-tooltip`,title:"",onClick:Mt=>{Mt.preventDefault()},tabIndex:null}));Ne=i.createElement(i.Fragment,null,Ne,Dt)}const Ce=S==="optional",Me=typeof S=="function",Ye=S===!1;Me?Ne=S(Ne,{required:!!u}):Ce&&!u&&(Ne=i.createElement(i.Fragment,null,Ne,i.createElement("span",{className:`${Y}-item-optional`,title:""},(O==null?void 0:O.optional)||((j=dt.Z.Form)===null||j===void 0?void 0:j.optional))));let ht;Ye?ht="hidden":(Ce||Me)&&(ht="optional");const ft=x()({[`${Y}-item-required`]:u,[`${Y}-item-required-mark-${ht}`]:ht,[`${Y}-item-no-colon`]:!ut});return i.createElement(it.Z,Object.assign({},m,{className:we}),i.createElement("label",{htmlFor:ye,className:ft,title:typeof be=="string"?be:""},Ne))},Ut=t(29679),yt=t(19248),Bt=t(96512),Pt=t(58617);const kt={success:Ut.Z,warning:Bt.Z,error:yt.Z,validating:Pt.Z};function Wt(I){let{children:Y,errors:be,warnings:ye,hasFeedback:g,validateStatus:re,prefixCls:De,meta:u,noStyle:S}=I;const A=`${De}-item`,{feedbackIcons:ve}=i.useContext(e.q3),j=ie(be,ye,u,null,!!g,re),{isFormItemInput:O,status:V,hasFeedback:ee,feedbackIcon:ae}=i.useContext(e.aM),b=i.useMemo(()=>{var m;let B;if(g){const we=g!==!0&&g.icons||ve,Ne=j&&((m=we==null?void 0:we({status:j,errors:be,warnings:ye}))===null||m===void 0?void 0:m[j]),ut=j&&kt[j];B=Ne!==!1&&ut?i.createElement("span",{className:x()(`${A}-feedback-icon`,`${A}-feedback-icon-${j}`)},Ne||i.createElement(ut,null)):null}const te={status:j||"",errors:be,warnings:ye,hasFeedback:!!g,feedbackIcon:B,isFormItemInput:!0};return S&&(te.status=(j!=null?j:V)||"",te.isFormItemInput=O,te.hasFeedback=!!(g!=null?g:ee),te.feedbackIcon=g!==void 0?te.feedbackIcon:ae),te},[j,g,S,O,V]);return i.createElement(e.aM.Provider,{value:b},Y)}var pt=function(I,Y){var be={};for(var ye in I)Object.prototype.hasOwnProperty.call(I,ye)&&Y.indexOf(ye)<0&&(be[ye]=I[ye]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,ye=Object.getOwnPropertySymbols(I);g{if(Ye&&ke.current){const Et=getComputedStyle(ke.current);Ct(parseInt(Et.marginBottom,10))}},[Ye,ht]);const It=Et=>{Et||Ct(null)},Mt=function(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Jt=Et?Q:A.errors,At=Et?Ce:A.warnings;return ie(Jt,At,A,"",!!ve,S)}(),$t=x()(te,be,ye,{[`${te}-with-help`]:Me||Q.length||Ce.length,[`${te}-has-feedback`]:Mt&&ve,[`${te}-has-success`]:Mt==="success",[`${te}-has-warning`]:Mt==="warning",[`${te}-has-error`]:Mt==="error",[`${te}-is-validating`]:Mt==="validating",[`${te}-hidden`]:j,[`${te}-${m}`]:m});return i.createElement("div",{className:$t,style:g,ref:ke},i.createElement(He.Z,Object.assign({className:`${te}-row`},(0,Le.Z)(B,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(wt,Object.assign({htmlFor:V},I,{requiredMark:we,required:ee!=null?ee:ae,prefixCls:Y,vertical:ut})),i.createElement(ot,Object.assign({},I,A,{errors:Q,warnings:Ce,prefixCls:Y,status:Mt,help:re,marginBottom:ft,onErrorVisibleChanged:It}),i.createElement(e.qI.Provider,{value:b},i.createElement(Wt,{prefixCls:Y,meta:A,errors:A.errors,warnings:A.warnings,hasFeedback:ve,validateStatus:Mt},O)))),!!ft&&i.createElement("div",{className:`${te}-margin-offset`,style:{marginBottom:-ft}}))}const ln="__SPLIT__",rn=null;function xn(I,Y){const be=Object.keys(I),ye=Object.keys(Y);return be.length===ye.length&&be.every(g=>{const re=I[g],De=Y[g];return re===De||typeof re=="function"||typeof De=="function"})}const Dn=i.memo(I=>{let{children:Y}=I;return Y},(I,Y)=>xn(I.control,Y.control)&&I.update===Y.update&&I.childProps.length===Y.childProps.length&&I.childProps.every((be,ye)=>be===Y.childProps[ye]));function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tn(I){const{name:Y,noStyle:be,className:ye,dependencies:g,prefixCls:re,shouldUpdate:De,rules:u,children:S,required:A,label:ve,messageVariables:j,trigger:O="onChange",validateTrigger:V,hidden:ee,help:ae,layout:b}=I,{getPrefixCls:m}=i.useContext(xe.E_),{name:B}=i.useContext(e.q3),te=$(S),we=typeof te=="function",Ne=i.useContext(e.qI),{validateTrigger:ut}=i.useContext(ze.FieldContext),ke=V!==void 0?V:ut,Q=Y!=null,Ce=m("form",re),Me=(0,Z.Z)(Ce),[Ye,ht,ft]=de(Ce,Me),Ct=(0,se.ln)("Form.Item"),It=i.useContext(ze.ListContext),Dt=i.useRef(null),[Mt,$t]=c({}),[Et,Jt]=(0,z.Z)(()=>Mn()),At=Qt=>{const Ft=It==null?void 0:It.getKey(Qt.name);if(Jt(Qt.destroy?Mn():Qt,!0),be&&ae!==!1&&Ne){let _e=Qt.name;if(Qt.destroy)_e=Dt.current||_e;else if(Ft!==void 0){const[mt,Kt]=Ft;_e=[mt].concat((0,d.Z)(Kt)),Dt.current=_e}Ne(Qt,_e)}},sn=(Qt,Ft)=>{$t(_e=>{const mt=Object.assign({},_e),jt=[].concat((0,d.Z)(Qt.name.slice(0,-1)),(0,d.Z)(Ft)).join(ln);return Qt.destroy?delete mt[jt]:mt[jt]=Qt,mt})},[Gt,Yt]=i.useMemo(()=>{const Qt=(0,d.Z)(Et.errors),Ft=(0,d.Z)(Et.warnings);return Object.values(Mt).forEach(_e=>{Qt.push.apply(Qt,(0,d.Z)(_e.errors||[])),Ft.push.apply(Ft,(0,d.Z)(_e.warnings||[]))}),[Qt,Ft]},[Mt,Et.errors,Et.warnings]),nn=y();function fn(Qt,Ft,_e){return be&&!ee?i.createElement(Wt,{prefixCls:Ce,hasFeedback:I.hasFeedback,validateStatus:I.validateStatus,meta:Et,errors:Gt,warnings:Yt,noStyle:!0},Qt):i.createElement(Lt,Object.assign({key:"row"},I,{className:x()(ye,ft,Me,ht),prefixCls:Ce,fieldId:Ft,isRequired:_e,errors:Gt,warnings:Yt,meta:Et,onSubItemMetaChange:sn,layout:b}),Qt)}if(!Q&&!we&&!g)return Ye(fn(te));let Zt={};return typeof ve=="string"?Zt.label=ve:Y&&(Zt.label=String(Y)),j&&(Zt=Object.assign(Object.assign({},Zt),j)),Ye(i.createElement(ze.Field,Object.assign({},I,{messageVariables:Zt,trigger:O,validateTrigger:ke,onMetaChange:At}),(Qt,Ft,_e)=>{const mt=ge(Y).length&&Ft?Ft.name:[],Kt=Qe(mt,B),jt=A!==void 0?A:!!(u!=null&&u.some(on=>{if(on&&typeof on=="object"&&on.required&&!on.warningOnly)return!0;if(typeof on=="function"){const en=on(_e);return(en==null?void 0:en.required)&&!(en!=null&&en.warningOnly)}return!1})),qt=Object.assign({},Qt);let un=null;if(Array.isArray(te)&&Q)un=te;else if(!(we&&(!(De||g)||Q))){if(!(g&&!we&&!Q))if(i.isValidElement(te)){const on=Object.assign(Object.assign({},te.props),qt);if(on.id||(on.id=Kt),ae||Gt.length>0||Yt.length>0||I.extra){const Rn=[];(ae||Gt.length>0)&&Rn.push(`${Kt}_help`),I.extra&&Rn.push(`${Kt}_extra`),on["aria-describedby"]=Rn.join(" ")}Gt.length>0&&(on["aria-invalid"]="true"),jt&&(on["aria-required"]="true"),(0,o.Yr)(te)&&(on.ref=nn(mt,te)),new Set([].concat((0,d.Z)(ge(O)),(0,d.Z)(ge(ke)))).forEach(Rn=>{on[Rn]=function(){for(var Bn,yn,dn,Kn,Xn,ar=arguments.length,$n=new Array(ar),er=0;er{var{prefixCls:Y,children:be}=I,ye=bn(I,["prefixCls","children"]);const{getPrefixCls:g}=i.useContext(xe.E_),re=g("form",Y),De=i.useMemo(()=>({prefixCls:re,status:"error"}),[re]);return i.createElement(ze.List,Object.assign({},ye),(u,S,A)=>i.createElement(e.Rk.Provider,{value:De},be(u.map(ve=>Object.assign(Object.assign({},ve),{fieldKey:ve.key})),S,{errors:A.errors,warnings:A.warnings})))};function Jn(){const{form:I}=i.useContext(e.q3);return I}const Be=fe;Be.Item=Pn,Be.List=_n,Be.ErrorList=T,Be.useForm=Te,Be.useFormInstance=Jn,Be.useWatch=ze.useWatch,Be.Provider=e.RV,Be.create=()=>{};var Ie=Be},75786:function(an,Je,t){t.d(Je,{Z:function(){return ae}});var e=t(59301),d=t(15277),i=t(92310),L=t.n(i),x=t(54476),D=t(33885),E=t(20068),Z=t(42978),K=t(76190),r=t(75931),U=/margin|padding|width|height|max|min|offset/,M={left:!0,top:!0},P={cssFloat:1,styleFloat:1,float:1};function me(b){return b.nodeType===1?b.ownerDocument.defaultView.getComputedStyle(b,null):{}}function lt(b,m,B){if(m=m.toLowerCase(),B==="auto"){if(m==="height")return b.offsetHeight;if(m==="width")return b.offsetWidth}return m in M||(M[m]=U.test(m)),M[m]?parseFloat(B)||0:B}function Fe(b,m){var B=arguments.length,te=me(b);return m=P[m]?"cssFloat"in b.style?"cssFloat":"styleFloat":m,B===1?te:lt(b,m,te[m]||b.style[m])}function Pe(b,m,B){var te=arguments.length;if(m=P[m]?"cssFloat"in b.style?"cssFloat":"styleFloat":m,te===3)return typeof B=="number"&&U.test(m)&&(B="".concat(B,"px")),b.style[m]=B,B;for(var we in m)m.hasOwnProperty(we)&&Pe(b,we,m[we]);return me(b)}function Ve(b){return b===document.body?document.documentElement.clientWidth:b.offsetWidth}function C(b){return b===document.body?window.innerHeight||document.documentElement.clientHeight:b.offsetHeight}function he(){var b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),m=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:b,height:m}}function s(){var b=document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight;return{width:b,height:m}}function h(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function oe(b){var m=b.getBoundingClientRect(),B=document.documentElement;return{left:m.left+(window.pageXOffset||B.scrollLeft)-(B.clientLeft||document.body.clientLeft||0),top:m.top+(window.pageYOffset||B.scrollTop)-(B.clientTop||document.body.clientTop||0)}}var le=t(18929),v=t(55311),je=t(8224),Oe=t(10228),ne=t(43403),Re=t(77900),de=e.createContext(null),H=function(m){var B=m.visible,te=m.maskTransitionName,we=m.getContainer,Ne=m.prefixCls,ut=m.rootClassName,ke=m.icons,Q=m.countRender,Ce=m.showSwitch,Me=m.showProgress,Ye=m.current,ht=m.transform,ft=m.count,Ct=m.scale,It=m.minScale,Dt=m.maxScale,Mt=m.closeIcon,$t=m.onActive,Et=m.onClose,Jt=m.onZoomIn,At=m.onZoomOut,sn=m.onRotateRight,Gt=m.onRotateLeft,Yt=m.onFlipX,nn=m.onFlipY,fn=m.onReset,Zt=m.toolbarRender,Qt=m.zIndex,Ft=m.image,_e=(0,e.useContext)(de),mt=ke.rotateLeft,Kt=ke.rotateRight,jt=ke.zoomIn,qt=ke.zoomOut,un=ke.close,on=ke.left,en=ke.right,cn=ke.flipX,Rn=ke.flipY,Bn="".concat(Ne,"-operations-operation");e.useEffect(function(){var Cr=function(En){En.keyCode===Oe.Z.ESC&&Et()};return B&&window.addEventListener("keydown",Cr),function(){window.removeEventListener("keydown",Cr)}},[B]);var yn=function(vr,En){vr.preventDefault(),vr.stopPropagation(),$t(En)},dn=e.useCallback(function(Cr){var vr=Cr.type,En=Cr.disabled,Hn=Cr.onClick,lr=Cr.icon;return e.createElement("div",{key:vr,className:L()(Bn,"".concat(Ne,"-operations-operation-").concat(vr),(0,E.Z)({},"".concat(Ne,"-operations-operation-disabled"),!!En)),onClick:Hn},lr)},[Bn,Ne]),Kn=Ce?dn({icon:on,onClick:function(vr){return yn(vr,-1)},type:"prev",disabled:Ye===0}):void 0,Xn=Ce?dn({icon:en,onClick:function(vr){return yn(vr,1)},type:"next",disabled:Ye===ft-1}):void 0,ar=dn({icon:Rn,onClick:nn,type:"flipY"}),$n=dn({icon:cn,onClick:Yt,type:"flipX"}),er=dn({icon:mt,onClick:Gt,type:"rotateLeft"}),Wn=dn({icon:Kt,onClick:sn,type:"rotateRight"}),Sr=dn({icon:qt,onClick:At,type:"zoomOut",disabled:Ct<=It}),Fr=dn({icon:jt,onClick:Jt,type:"zoomIn",disabled:Ct===Dt}),$r=e.createElement("div",{className:"".concat(Ne,"-operations")},ar,$n,er,Wn,Sr,Fr);return e.createElement(Re.default,{visible:B,motionName:te},function(Cr){var vr=Cr.className,En=Cr.style;return e.createElement(ne.Z,{open:!0,getContainer:we!=null?we:document.body},e.createElement("div",{className:L()("".concat(Ne,"-operations-wrapper"),vr,ut),style:(0,D.Z)((0,D.Z)({},En),{},{zIndex:Qt})},Mt===null?null:e.createElement("button",{className:"".concat(Ne,"-close"),onClick:Et},Mt||un),Ce&&e.createElement(e.Fragment,null,e.createElement("div",{className:L()("".concat(Ne,"-switch-left"),(0,E.Z)({},"".concat(Ne,"-switch-left-disabled"),Ye===0)),onClick:function(lr){return yn(lr,-1)}},on),e.createElement("div",{className:L()("".concat(Ne,"-switch-right"),(0,E.Z)({},"".concat(Ne,"-switch-right-disabled"),Ye===ft-1)),onClick:function(lr){return yn(lr,1)}},en)),e.createElement("div",{className:"".concat(Ne,"-footer")},Me&&e.createElement("div",{className:"".concat(Ne,"-progress")},Q?Q(Ye+1,ft):"".concat(Ye+1," / ").concat(ft)),Zt?Zt($r,(0,D.Z)((0,D.Z)({icons:{prevIcon:Kn,nextIcon:Xn,flipYIcon:ar,flipXIcon:$n,rotateLeftIcon:er,rotateRightIcon:Wn,zoomOutIcon:Sr,zoomInIcon:Fr},actions:{onActive:$t,onFlipY:nn,onFlipX:Yt,onRotateLeft:Gt,onRotateRight:sn,onZoomOut:At,onZoomIn:Jt,onReset:fn,onClose:Et},transform:ht},_e?{current:Ye,total:ft}:{}),{},{image:Ft})):$r)))})},n=H,ce=t(13697),T=t(16089),ze={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function xe(b,m,B,te){var we=(0,e.useRef)(null),Ne=(0,e.useRef)([]),ut=(0,e.useState)(ze),ke=(0,Z.Z)(ut,2),Q=ke[0],Ce=ke[1],Me=function(Ct){Ce(ze),(0,ce.Z)(ze,Q)||te==null||te({transform:ze,action:Ct})},Ye=function(Ct,It){we.current===null&&(Ne.current=[],we.current=(0,T.Z)(function(){Ce(function(Dt){var Mt=Dt;return Ne.current.forEach(function($t){Mt=(0,D.Z)((0,D.Z)({},Mt),$t)}),we.current=null,te==null||te({transform:Mt,action:It}),Mt})})),Ne.current.push((0,D.Z)((0,D.Z)({},Q),Ct))},ht=function(Ct,It,Dt,Mt,$t){var Et=b.current,Jt=Et.width,At=Et.height,sn=Et.offsetWidth,Gt=Et.offsetHeight,Yt=Et.offsetLeft,nn=Et.offsetTop,fn=Ct,Zt=Q.scale*Ct;Zt>B?(Zt=B,fn=B/Q.scale):Ztte){if(m>0)return(0,E.Z)({},b,Ne);if(m<0&&wete)return(0,E.Z)({},b,m<0?Ne:-Ne);return{}}function at(b,m,B,te){var we=s(),Ne=we.width,ut=we.height,ke=null;return b<=Ne&&m<=ut?ke={x:0,y:0}:(b>Ne||m>ut)&&(ke=(0,D.Z)((0,D.Z)({},st("x",B,b,Ne)),st("y",te,m,ut))),ke}var Ae=1,tt=1;function q(b,m,B,te,we,Ne,ut){var ke=we.rotate,Q=we.scale,Ce=we.x,Me=we.y,Ye=(0,e.useState)(!1),ht=(0,Z.Z)(Ye,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Dt=function(At){!m||At.button!==0||(At.preventDefault(),At.stopPropagation(),It.current={diffX:At.pageX-Ce,diffY:At.pageY-Me,transformX:Ce,transformY:Me},Ct(!0))},Mt=function(At){B&&ft&&Ne({x:At.pageX-It.current.diffX,y:At.pageY-It.current.diffY},"move")},$t=function(){if(B&&ft){Ct(!1);var At=It.current,sn=At.transformX,Gt=At.transformY,Yt=Ce!==sn&&Me!==Gt;if(!Yt)return;var nn=b.current.offsetWidth*Q,fn=b.current.offsetHeight*Q,Zt=b.current.getBoundingClientRect(),Qt=Zt.left,Ft=Zt.top,_e=ke%180!==0,mt=at(_e?fn:nn,_e?nn:fn,Qt,Ft);mt&&Ne((0,D.Z)({},mt),"dragRebound")}},Et=function(At){if(!(!B||At.deltaY==0)){var sn=Math.abs(At.deltaY/100),Gt=Math.min(sn,tt),Yt=Ae+Gt*te;At.deltaY>0&&(Yt=Ae/Yt),ut(Yt,"wheel",At.clientX,At.clientY)}};return(0,e.useEffect)(function(){var Jt,At,sn,Gt;if(m){sn=(0,je.Z)(window,"mouseup",$t,!1),Gt=(0,je.Z)(window,"mousemove",Mt,!1);try{window.top!==window.self&&(Jt=(0,je.Z)(window.top,"mouseup",$t,!1),At=(0,je.Z)(window.top,"mousemove",Mt,!1))}catch(Yt){(0,We.Kp)(!1,"[rc-image] ".concat(Yt))}}return function(){var Yt,nn,fn,Zt;(Yt=sn)===null||Yt===void 0||Yt.remove(),(nn=Gt)===null||nn===void 0||nn.remove(),(fn=Jt)===null||fn===void 0||fn.remove(),(Zt=At)===null||Zt===void 0||Zt.remove()}},[B,ft,Ce,Me,ke,m]),{isMoving:ft,onMouseDown:Dt,onMouseMove:Mt,onMouseUp:$t,onWheel:Et}}function Se(b){return new Promise(function(m){if(!b){m(!1);return}var B=document.createElement("img");B.onerror=function(){return m(!1)},B.onload=function(){return m(!0)},B.src=b})}function ge(b){var m=b.src,B=b.isCustomPlaceholder,te=b.fallback,we=(0,e.useState)(B?"loading":"normal"),Ne=(0,Z.Z)(we,2),ut=Ne[0],ke=Ne[1],Q=(0,e.useRef)(!1),Ce=ut==="error";(0,e.useEffect)(function(){var ft=!0;return Se(m).then(function(Ct){!Ct&&ft&&ke("error")}),function(){ft=!1}},[m]),(0,e.useEffect)(function(){B&&!Q.current?ke("loading"):Ce&&ke("normal")},[m]);var Me=function(){ke("normal")},Ye=function(Ct){Q.current=!1,ut==="loading"&&Ct!==null&&Ct!==void 0&&Ct.complete&&(Ct.naturalWidth||Ct.naturalHeight)&&(Q.current=!0,Me())},ht=Ce&&te?{src:te}:{onLoad:Me,src:m};return[Ye,ht,ut]}function Qe(b,m){var B=b.x-m.x,te=b.y-m.y;return Math.hypot(B,te)}function ie(b,m,B,te){var we=Qe(b,B),Ne=Qe(m,te);if(we===0&&Ne===0)return[b.x,b.y];var ut=we/(we+Ne),ke=b.x+ut*(m.x-b.x),Q=b.y+ut*(m.y-b.y);return[ke,Q]}function qe(b,m,B,te,we,Ne,ut){var ke=we.rotate,Q=we.scale,Ce=we.x,Me=we.y,Ye=(0,e.useState)(!1),ht=(0,Z.Z)(Ye,2),ft=ht[0],Ct=ht[1],It=(0,e.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Dt=function(At){It.current=(0,D.Z)((0,D.Z)({},It.current),At)},Mt=function(At){if(m){At.stopPropagation(),Ct(!0);var sn=At.touches,Gt=sn===void 0?[]:sn;Gt.length>1?Dt({point1:{x:Gt[0].clientX,y:Gt[0].clientY},point2:{x:Gt[1].clientX,y:Gt[1].clientY},eventType:"touchZoom"}):Dt({point1:{x:Gt[0].clientX-Ce,y:Gt[0].clientY-Me},eventType:"move"})}},$t=function(At){var sn=At.touches,Gt=sn===void 0?[]:sn,Yt=It.current,nn=Yt.point1,fn=Yt.point2,Zt=Yt.eventType;if(Gt.length>1&&Zt==="touchZoom"){var Qt={x:Gt[0].clientX,y:Gt[0].clientY},Ft={x:Gt[1].clientX,y:Gt[1].clientY},_e=ie(nn,fn,Qt,Ft),mt=(0,Z.Z)(_e,2),Kt=mt[0],jt=mt[1],qt=Qe(Qt,Ft)/Qe(nn,fn);ut(qt,"touchZoom",Kt,jt,!0),Dt({point1:Qt,point2:Ft,eventType:"touchZoom"})}else Zt==="move"&&(Ne({x:Gt[0].clientX-nn.x,y:Gt[0].clientY-nn.y},"move"),Dt({eventType:"move"}))},Et=function(){if(B){if(ft&&Ct(!1),Dt({eventType:"none"}),te>Q)return Ne({x:0,y:0,scale:te},"touchZoom");var At=b.current.offsetWidth*Q,sn=b.current.offsetHeight*Q,Gt=b.current.getBoundingClientRect(),Yt=Gt.left,nn=Gt.top,fn=ke%180!==0,Zt=at(fn?sn:At,fn?At:sn,Yt,nn);Zt&&Ne((0,D.Z)({},Zt),"dragRebound")}};return(0,e.useEffect)(function(){var Jt;return B&&m&&(Jt=(0,je.Z)(window,"touchmove",function(At){return At.preventDefault()},{passive:!1})),function(){var At;(At=Jt)===null||At===void 0||At.remove()}},[B,m]),{isTouching:ft,onTouchStart:Mt,onTouchMove:$t,onTouchEnd:Et}}var Ke=["fallback","src","imgRef"],bt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Te=function(m){var B=m.fallback,te=m.src,we=m.imgRef,Ne=(0,r.Z)(m,Ke),ut=ge({src:te,fallback:B}),ke=(0,Z.Z)(ut,2),Q=ke[0],Ce=ke[1];return e.createElement("img",(0,x.Z)({ref:function(Ye){we.current=Ye,Q(Ye)}},Ne,Ce))},k=function(m){var B=m.prefixCls,te=m.src,we=m.alt,Ne=m.imageInfo,ut=m.fallback,ke=m.movable,Q=ke===void 0?!0:ke,Ce=m.onClose,Me=m.visible,Ye=m.icons,ht=Ye===void 0?{}:Ye,ft=m.rootClassName,Ct=m.closeIcon,It=m.getContainer,Dt=m.current,Mt=Dt===void 0?0:Dt,$t=m.count,Et=$t===void 0?1:$t,Jt=m.countRender,At=m.scaleStep,sn=At===void 0?.5:At,Gt=m.minScale,Yt=Gt===void 0?1:Gt,nn=m.maxScale,fn=nn===void 0?50:nn,Zt=m.transitionName,Qt=Zt===void 0?"zoom":Zt,Ft=m.maskTransitionName,_e=Ft===void 0?"fade":Ft,mt=m.imageRender,Kt=m.imgCommonProps,jt=m.toolbarRender,qt=m.onTransform,un=m.onChange,on=(0,r.Z)(m,bt),en=(0,e.useRef)(),cn=(0,e.useContext)(de),Rn=cn&&Et>1,Bn=cn&&Et>=1,yn=(0,e.useState)(!0),dn=(0,Z.Z)(yn,2),Kn=dn[0],Xn=dn[1],ar=xe(en,Yt,fn,qt),$n=ar.transform,er=ar.resetTransform,Wn=ar.updateTransform,Sr=ar.dispatchZoomChange,Fr=q(en,Q,Me,sn,$n,Wn,Sr),$r=Fr.isMoving,Cr=Fr.onMouseDown,vr=Fr.onWheel,En=qe(en,Q,Me,Yt,$n,Wn,Sr),Hn=En.isTouching,lr=En.onTouchStart,fr=En.onTouchMove,Gn=En.onTouchEnd,ur=$n.rotate,yr=$n.scale,gr=L()((0,E.Z)({},"".concat(B,"-moving"),$r));(0,e.useEffect)(function(){Kn||Xn(!0)},[Kn]);var br=function(){er("close")},Br=function(){Sr(Ae+sn,"zoomIn")},wr=function(){Sr(Ae/(Ae+sn),"zoomOut")},Tr=function(){Wn({rotate:ur+90},"rotateRight")},Qr=function(){Wn({rotate:ur-90},"rotateLeft")},Or=function(){Wn({flipX:!$n.flipX},"flipX")},zr=function(){Wn({flipY:!$n.flipY},"flipY")},qr=function(){er("reset")},Vn=function(eo){var In=Mt+eo;!Number.isInteger(In)||In<0||In>Et-1||(Xn(!1),er(eo<0?"prev":"next"),un==null||un(In,Mt))},sr=function(eo){!Me||!Rn||(eo.keyCode===Oe.Z.LEFT?Vn(-1):eo.keyCode===Oe.Z.RIGHT&&Vn(1))},kn=function(eo){Me&&(yr!==1?Wn({x:0,y:0,scale:1},"doubleClick"):Sr(Ae+sn,"doubleClick",eo.clientX,eo.clientY))};(0,e.useEffect)(function(){var pr=(0,je.Z)(window,"keydown",sr,!1);return function(){pr.remove()}},[Me,Rn,Mt]);var zn=e.createElement(Te,(0,x.Z)({},Kt,{width:m.width,height:m.height,imgRef:en,className:"".concat(B,"-img"),alt:we,style:{transform:"translate3d(".concat($n.x,"px, ").concat($n.y,"px, 0) scale3d(").concat($n.flipX?"-":"").concat(yr,", ").concat($n.flipY?"-":"").concat(yr,", 1) rotate(").concat(ur,"deg)"),transitionDuration:(!Kn||Hn)&&"0s"},fallback:ut,src:te,onWheel:vr,onMouseDown:Cr,onDoubleClick:kn,onTouchStart:lr,onTouchMove:fr,onTouchEnd:Gn,onTouchCancel:Gn})),cr=(0,D.Z)({url:te,alt:we},Ne);return e.createElement(e.Fragment,null,e.createElement(v.Z,(0,x.Z)({transitionName:Qt,maskTransitionName:_e,closable:!1,keyboard:!0,prefixCls:B,onClose:Ce,visible:Me,classNames:{wrapper:gr},rootClassName:ft,getContainer:It},on,{afterClose:br}),e.createElement("div",{className:"".concat(B,"-img-wrapper")},mt?mt(zn,(0,D.Z)({transform:$n,image:cr},cn?{current:Mt}:{})):zn)),e.createElement(n,{visible:Me,transform:$n,maskTransitionName:_e,closeIcon:Ct,getContainer:It,prefixCls:B,rootClassName:ft,icons:ht,countRender:Jt,showSwitch:Rn,showProgress:Bn,current:Mt,count:Et,scale:yr,minScale:Yt,maxScale:fn,toolbarRender:jt,onActive:Vn,onZoomIn:Br,onZoomOut:wr,onRotateRight:Tr,onRotateLeft:Qr,onFlipX:Or,onFlipY:zr,onClose:Ce,onReset:qr,zIndex:on.zIndex!==void 0?on.zIndex+1:void 0,image:cr}))},R=k,X=t(94480),p=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function fe(b){var m=e.useState({}),B=(0,Z.Z)(m,2),te=B[0],we=B[1],Ne=e.useCallback(function(ke,Q){return we(function(Ce){return(0,D.Z)((0,D.Z)({},Ce),{},(0,E.Z)({},ke,Q))}),function(){we(function(Ce){var Me=(0,D.Z)({},Ce);return delete Me[ke],Me})}},[]),ut=e.useMemo(function(){return b?b.map(function(ke){if(typeof ke=="string")return{data:{src:ke}};var Q={};return Object.keys(ke).forEach(function(Ce){["src"].concat((0,X.Z)(p)).includes(Ce)&&(Q[Ce]=ke[Ce])}),{data:Q}}):Object.keys(te).reduce(function(ke,Q){var Ce=te[Q],Me=Ce.canPreview,Ye=Ce.data;return Me&&ke.push({data:Ye,id:Q}),ke},[])},[b,te]);return[ut,Ne,!!b]}var z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],o=["src"],f=function(m){var B,te=m.previewPrefixCls,we=te===void 0?"rc-image-preview":te,Ne=m.children,ut=m.icons,ke=ut===void 0?{}:ut,Q=m.items,Ce=m.preview,Me=m.fallback,Ye=(0,K.Z)(Ce)==="object"?Ce:{},ht=Ye.visible,ft=Ye.onVisibleChange,Ct=Ye.getContainer,It=Ye.current,Dt=Ye.movable,Mt=Ye.minScale,$t=Ye.maxScale,Et=Ye.countRender,Jt=Ye.closeIcon,At=Ye.onChange,sn=Ye.onTransform,Gt=Ye.toolbarRender,Yt=Ye.imageRender,nn=(0,r.Z)(Ye,z),fn=fe(Q),Zt=(0,Z.Z)(fn,3),Qt=Zt[0],Ft=Zt[1],_e=Zt[2],mt=(0,le.Z)(0,{value:It}),Kt=(0,Z.Z)(mt,2),jt=Kt[0],qt=Kt[1],un=(0,e.useState)(!1),on=(0,Z.Z)(un,2),en=on[0],cn=on[1],Rn=((B=Qt[jt])===null||B===void 0?void 0:B.data)||{},Bn=Rn.src,yn=(0,r.Z)(Rn,o),dn=(0,le.Z)(!!ht,{value:ht,onChange:function(Hn,lr){ft==null||ft(Hn,lr,jt)}}),Kn=(0,Z.Z)(dn,2),Xn=Kn[0],ar=Kn[1],$n=(0,e.useState)(null),er=(0,Z.Z)($n,2),Wn=er[0],Sr=er[1],Fr=e.useCallback(function(En,Hn,lr,fr){var Gn=_e?Qt.findIndex(function(ur){return ur.data.src===Hn}):Qt.findIndex(function(ur){return ur.id===En});qt(Gn<0?0:Gn),ar(!0),Sr({x:lr,y:fr}),cn(!0)},[Qt,_e]);e.useEffect(function(){Xn?en||qt(0):cn(!1)},[Xn]);var $r=function(Hn,lr){qt(Hn),At==null||At(Hn,lr)},Cr=function(){ar(!1),Sr(null)},vr=e.useMemo(function(){return{register:Ft,onPreview:Fr}},[Ft,Fr]);return e.createElement(de.Provider,{value:vr},Ne,e.createElement(R,(0,x.Z)({"aria-hidden":!Xn,movable:Dt,visible:Xn,prefixCls:we,closeIcon:Jt,onClose:Cr,mousePosition:Wn,imgCommonProps:yn,src:Bn,fallback:Me,icons:ke,minScale:Mt,maxScale:$t,getContainer:Ct,current:jt,count:Qt.length,countRender:Et,onTransform:sn,toolbarRender:Gt,imageRender:Yt,onChange:$r},nn)))},se=f,_=0;function $(b,m){var B=e.useState(function(){return _+=1,String(_)}),te=(0,Z.Z)(B,1),we=te[0],Ne=e.useContext(de),ut={data:m,canPreview:b};return e.useEffect(function(){if(Ne)return Ne.register(we,ut)},[]),e.useEffect(function(){Ne&&Ne.register(we,ut)},[b,m]),we}var N=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],G=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],ue=function(m){var B=m.src,te=m.alt,we=m.onPreviewClose,Ne=m.prefixCls,ut=Ne===void 0?"rc-image":Ne,ke=m.previewPrefixCls,Q=ke===void 0?"".concat(ut,"-preview"):ke,Ce=m.placeholder,Me=m.fallback,Ye=m.width,ht=m.height,ft=m.style,Ct=m.preview,It=Ct===void 0?!0:Ct,Dt=m.className,Mt=m.onClick,$t=m.onError,Et=m.wrapperClassName,Jt=m.wrapperStyle,At=m.rootClassName,sn=(0,r.Z)(m,N),Gt=Ce&&Ce!==!0,Yt=(0,K.Z)(It)==="object"?It:{},nn=Yt.src,fn=Yt.visible,Zt=fn===void 0?void 0:fn,Qt=Yt.onVisibleChange,Ft=Qt===void 0?we:Qt,_e=Yt.getContainer,mt=_e===void 0?void 0:_e,Kt=Yt.mask,jt=Yt.maskClassName,qt=Yt.movable,un=Yt.icons,on=Yt.scaleStep,en=Yt.minScale,cn=Yt.maxScale,Rn=Yt.imageRender,Bn=Yt.toolbarRender,yn=(0,r.Z)(Yt,G),dn=nn!=null?nn:B,Kn=(0,le.Z)(!!Zt,{value:Zt,onChange:Ft}),Xn=(0,Z.Z)(Kn,2),ar=Xn[0],$n=Xn[1],er=ge({src:B,isCustomPlaceholder:Gt,fallback:Me}),Wn=(0,Z.Z)(er,3),Sr=Wn[0],Fr=Wn[1],$r=Wn[2],Cr=(0,e.useState)(null),vr=(0,Z.Z)(Cr,2),En=vr[0],Hn=vr[1],lr=(0,e.useContext)(de),fr=!!It,Gn=function(){$n(!1),Hn(null)},ur=L()(ut,Et,At,(0,E.Z)({},"".concat(ut,"-error"),$r==="error")),yr=(0,e.useMemo)(function(){var wr={};return p.forEach(function(Tr){m[Tr]!==void 0&&(wr[Tr]=m[Tr])}),wr},p.map(function(wr){return m[wr]})),gr=(0,e.useMemo)(function(){return(0,D.Z)((0,D.Z)({},yr),{},{src:dn})},[dn,yr]),br=$(fr,gr),Br=function(Tr){var Qr=oe(Tr.target),Or=Qr.left,zr=Qr.top;lr?lr.onPreview(br,dn,Or,zr):(Hn({x:Or,y:zr}),$n(!0)),Mt==null||Mt(Tr)};return e.createElement(e.Fragment,null,e.createElement("div",(0,x.Z)({},sn,{className:ur,onClick:fr?Br:Mt,style:(0,D.Z)({width:Ye,height:ht},Jt)}),e.createElement("img",(0,x.Z)({},yr,{className:L()("".concat(ut,"-img"),(0,E.Z)({},"".concat(ut,"-img-placeholder"),Ce===!0),Dt),style:(0,D.Z)({height:ht},ft),ref:Sr},Fr,{width:Ye,height:ht,onError:$t})),$r==="loading"&&e.createElement("div",{"aria-hidden":"true",className:"".concat(ut,"-placeholder")},Ce),Kt&&fr&&e.createElement("div",{className:L()("".concat(ut,"-mask"),jt),style:{display:(ft==null?void 0:ft.display)==="none"?"none":void 0}},Kt)),!lr&&fr&&e.createElement(R,(0,x.Z)({"aria-hidden":!ar,visible:ar,prefixCls:Q,onClose:Gn,mousePosition:En,src:dn,alt:te,imageInfo:{width:Ye,height:ht},fallback:Me,getContainer:mt,icons:un,movable:qt,scaleStep:on,minScale:en,maxScale:cn,rootClassName:At,imageRender:Rn,imgCommonProps:yr,toolbarRender:Bn},yn)))};ue.PreviewGroup=se;var c=ue,y=c,Ge=t(75030),W=t(86641),Le=t(48755),He=t(83397),nt=t(9017),it=t(99267),et=t(33853),w=t(38819),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ze=pe,Ue=t(7657),ot=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Ze}))},Tt=e.forwardRef(ot),ct=Tt,dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Rt=dt,Vt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Rt}))},Ht=e.forwardRef(Vt),Xt=Ht,wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ut=wt,yt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Ut}))},Bt=e.forwardRef(yt),Pt=Bt,kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Wt=kt,pt=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:Wt}))},Lt=e.forwardRef(pt),ln=Lt,rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},xn=rn,Dn=function(m,B){return e.createElement(Ue.Z,(0,x.Z)({},m,{ref:B,icon:xn}))},Mn=e.forwardRef(Dn),tn=Mn,Nn=t(36237),Pn=t(17835),bn=t(64427),Fn=t(63356),_n=t(34925),Jn=t(99495),Be=t(16931),Ie=t(51636);const I=b=>({position:b||"absolute",inset:0}),Y=b=>{const{iconCls:m,motionDurationSlow:B,paddingXXS:te,marginXXS:we,prefixCls:Ne,colorTextLightSolid:ut}=b;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ut,background:new Pn.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${B}`,[`.${Ne}-mask-info`]:Object.assign(Object.assign({},Fn.vS),{padding:`0 ${(0,Nn.unit)(te)}`,[m]:{marginInlineEnd:we,svg:{verticalAlign:"baseline"}}})}},be=b=>{const{previewCls:m,modalMaskBg:B,paddingSM:te,marginXL:we,margin:Ne,paddingLG:ut,previewOperationColorDisabled:ke,previewOperationHoverColor:Q,motionDurationSlow:Ce,iconCls:Me,colorTextLightSolid:Ye}=b,ht=new Pn.FastColor(B).setA(.1),ft=ht.clone().setA(.2);return{[`${m}-footer`]:{position:"fixed",bottom:we,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:b.previewOperationColor,transform:"translateX(-50%)"},[`${m}-progress`]:{marginBottom:Ne},[`${m}-close`]:{position:"fixed",top:we,right:{_skip_check_:!0,value:we},display:"flex",color:Ye,backgroundColor:ht.toRgbString(),borderRadius:"50%",padding:te,outline:0,border:0,cursor:"pointer",transition:`all ${Ce}`,"&:hover":{backgroundColor:ft.toRgbString()},[`& > ${Me}`]:{fontSize:b.previewOperationSize}},[`${m}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Nn.unit)(ut)}`,backgroundColor:ht.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:te,padding:te,cursor:"pointer",transition:`all ${Ce}`,userSelect:"none",[`&:not(${m}-operations-operation-disabled):hover > ${Me}`]:{color:Q},"&-disabled":{color:ke,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Me}`]:{fontSize:b.previewOperationSize}}}}},ye=b=>{const{modalMaskBg:m,iconCls:B,previewOperationColorDisabled:te,previewCls:we,zIndexPopup:Ne,motionDurationSlow:ut}=b,ke=new Pn.FastColor(m).setA(.1),Q=ke.clone().setA(.2);return{[`${we}-switch-left, ${we}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:b.calc(Ne).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:b.imagePreviewSwitchSize,height:b.imagePreviewSwitchSize,marginTop:b.calc(b.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:b.previewOperationColor,background:ke.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ut}`,userSelect:"none","&:hover":{background:Q.toRgbString()},"&-disabled":{"&, &:hover":{color:te,background:"transparent",cursor:"not-allowed",[`> ${B}`]:{cursor:"not-allowed"}}},[`> ${B}`]:{fontSize:b.previewOperationSize}},[`${we}-switch-left`]:{insetInlineStart:b.marginSM},[`${we}-switch-right`]:{insetInlineEnd:b.marginSM}}},g=b=>{const{motionEaseOut:m,previewCls:B,motionDurationSlow:te,componentCls:we}=b;return[{[`${we}-preview-root`]:{[B]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${B}-body`]:Object.assign(Object.assign({},I()),{overflow:"hidden"}),[`${B}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${te} ${m} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},I()),{transition:`transform ${te} ${m} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${B}-moving`]:{[`${B}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${we}-preview-root`]:{[`${B}-wrap`]:{zIndex:b.zIndexPopup}}},{[`${we}-preview-operations-wrapper`]:{position:"fixed",zIndex:b.calc(b.zIndexPopup).add(1).equal()},"&":[be(b),ye(b)]}]},re=b=>{const{componentCls:m}=b;return{[m]:{position:"relative",display:"inline-block",[`${m}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${m}-img-placeholder`]:{backgroundColor:b.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${m}-mask`]:Object.assign({},Y(b)),[`${m}-mask:hover`]:{opacity:1},[`${m}-placeholder`]:Object.assign({},I())}}},De=b=>{const{previewCls:m}=b;return{[`${m}-root`]:(0,_n._y)(b,"zoom"),"&":(0,Jn.J$)(b,!0)}},u=b=>({zIndexPopup:b.zIndexPopupBase+80,previewOperationColor:new Pn.FastColor(b.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Pn.FastColor(b.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Pn.FastColor(b.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:b.fontSizeIcon*1.5});var S=(0,Be.I$)("Image",b=>{const m=`${b.componentCls}-preview`,B=(0,Ie.mergeToken)(b,{previewCls:m,modalMaskBg:new Pn.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:b.controlHeightLG});return[re(B),g(B),(0,bn.QA)((0,Ie.mergeToken)(B,{componentCls:m})),De(B)]},u),A=function(b,m){var B={};for(var te in b)Object.prototype.hasOwnProperty.call(b,te)&&m.indexOf(te)<0&&(B[te]=b[te]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(b);we{var{previewPrefixCls:m,preview:B}=b,te=A(b,["previewPrefixCls","preview"]);const{getPrefixCls:we}=e.useContext(Le.E_),Ne=we("image",m),ut=`${Ne}-preview`,ke=we(),Q=(0,He.Z)(Ne),[Ce,Me,Ye]=S(Ne,Q),[ht]=(0,Ge.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),ft=e.useMemo(()=>{var Ct;if(B===!1)return B;const It=typeof B=="object"?B:{},Dt=L()(Me,Ye,Q,(Ct=It.rootClassName)!==null&&Ct!==void 0?Ct:"");return Object.assign(Object.assign({},It),{transitionName:(0,W.m)(ke,"zoom",It.transitionName),maskTransitionName:(0,W.m)(ke,"fade",It.maskTransitionName),rootClassName:Dt,zIndex:ht})},[B]);return Ce(e.createElement(y.PreviewGroup,Object.assign({preview:ft,previewPrefixCls:ut,icons:ve},te)))},V=function(b,m){var B={};for(var te in b)Object.prototype.hasOwnProperty.call(b,te)&&m.indexOf(te)<0&&(B[te]=b[te]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,te=Object.getOwnPropertySymbols(b);we{const{prefixCls:m,preview:B,className:te,rootClassName:we,style:Ne}=b,ut=V(b,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:ke,getPopupContainer:Q,className:Ce,style:Me,preview:Ye}=(0,Le.dj)("image"),[ht]=(0,nt.Z)("Image"),ft=ke("image",m),Ct=ke(),It=(0,He.Z)(ft),[Dt,Mt,$t]=S(ft,It),Et=L()(we,Mt,$t,It),Jt=L()(te,Mt,Ce),[At]=(0,Ge.Cn)("ImagePreview",typeof B=="object"?B.zIndex:void 0),sn=e.useMemo(()=>{if(B===!1)return B;const Yt=typeof B=="object"?B:{},{getContainer:nn,closeIcon:fn,rootClassName:Zt}=Yt,Qt=V(Yt,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:e.createElement("div",{className:`${ft}-mask-info`},e.createElement(d.Z,null),ht==null?void 0:ht.preview),icons:ve},Qt),{rootClassName:L()(Et,Zt),getContainer:nn!=null?nn:Q,transitionName:(0,W.m)(Ct,"zoom",Yt.transitionName),maskTransitionName:(0,W.m)(Ct,"fade",Yt.maskTransitionName),zIndex:At,closeIcon:fn!=null?fn:Ye==null?void 0:Ye.closeIcon})},[B,ht,Ye==null?void 0:Ye.closeIcon]),Gt=Object.assign(Object.assign({},Me),Ne);return Dt(e.createElement(y,Object.assign({prefixCls:ft,preview:sn,rootClassName:Et,className:Jt,style:Gt},ut)))};ee.PreviewGroup=O;var ae=ee},49397:function(an,Je,t){t.d(Je,{Z:function(){return s}});var e=t(59301),d=t(92310),i=t.n(d),L=t(36901),x=t(8654),D=t(62487),E=t(86013),Z=t(82855),K=t(48755),r=t(2171),U=t(83397),M=t(31756),P=t(56553),me=t(24971),lt=t(70045),Fe=t(23826),Pe=t(53075);function Ve(h){return!!(h.prefix||h.suffix||h.allowClear||h.showCount)}var C=function(h,oe){var le={};for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&oe.indexOf(v)<0&&(le[v]=h[v]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,v=Object.getOwnPropertySymbols(h);je{const{prefixCls:le,bordered:v=!0,status:je,size:Oe,disabled:ne,onBlur:Re,onFocus:de,suffix:H,allowClear:n,addonAfter:ce,addonBefore:T,className:ze,style:xe,styles:We,rootClassName:st,onChange:at,classNames:Ae,variant:tt}=h,q=C(h,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Se,direction:ge,allowClear:Qe,autoComplete:ie,className:qe,style:Ke,classNames:bt,styles:Te}=(0,K.dj)("input"),k=Se("input",le),R=(0,e.useRef)(null),X=(0,U.Z)(k),[p,fe,z]=(0,Pe.TI)(k,st),[o]=(0,Pe.ZP)(k,X),{compactSize:f,compactItemClassnames:se}=(0,lt.ri)(k,ge),_=(0,M.Z)(Ue=>{var ot;return(ot=Oe!=null?Oe:f)!==null&&ot!==void 0?ot:Ue}),$=e.useContext(r.Z),N=ne!=null?ne:$,{status:G,hasFeedback:ue,feedbackIcon:c}=(0,e.useContext)(P.aM),y=(0,Z.F)(G,je),Ge=Ve(h)||!!ue,W=(0,e.useRef)(Ge),Le=(0,Fe.Z)(R,!0),He=Ue=>{Le(),Re==null||Re(Ue)},nt=Ue=>{Le(),de==null||de(Ue)},it=Ue=>{Le(),at==null||at(Ue)},et=(ue||H)&&e.createElement(e.Fragment,null,H,ue&&c),w=(0,E.Z)(n!=null?n:Qe),[pe,Ze]=(0,me.Z)("input",tt,v);return p(o(e.createElement(L.default,Object.assign({ref:(0,x.sQ)(oe,R),prefixCls:k,autoComplete:ie},q,{disabled:N,onBlur:He,onFocus:nt,style:Object.assign(Object.assign({},Ke),xe),styles:Object.assign(Object.assign({},Te),We),suffix:et,allowClear:w,className:i()(ze,st,z,X,se,qe),onChange:it,addonBefore:T&&e.createElement(D.Z,{form:!0,space:!0},T),addonAfter:ce&&e.createElement(D.Z,{form:!0,space:!0},ce),classNames:Object.assign(Object.assign(Object.assign({},Ae),bt),{input:i()({[`${k}-sm`]:_==="small",[`${k}-lg`]:_==="large",[`${k}-rtl`]:ge==="rtl"},Ae==null?void 0:Ae.input,bt.input,fe),variant:i()({[`${k}-${pe}`]:Ze},(0,Z.Z)(k,y)),affixWrapper:i()({[`${k}-affix-wrapper-sm`]:_==="small",[`${k}-affix-wrapper-lg`]:_==="large",[`${k}-affix-wrapper-rtl`]:ge==="rtl"},fe),wrapper:i()({[`${k}-group-rtl`]:ge==="rtl"},fe),groupWrapper:i()({[`${k}-group-wrapper-sm`]:_==="small",[`${k}-group-wrapper-lg`]:_==="large",[`${k}-group-wrapper-rtl`]:ge==="rtl",[`${k}-group-wrapper-${pe}`]:Ze},(0,Z.Z)(`${k}-group-wrapper`,y,ue),fe)})}))))})},79809:function(an,Je,t){t.d(Je,{Z:function(){return oe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(22711),x=t(86013),D=t(82855),E=t(48755),Z=t(2171),K=t(83397),r=t(31756),U=t(56553),M=t(24971),P=t(70045),me=t(30292),lt=t(53075),Fe=t(16931),Pe=t(51636),Ve=t(64910);const C=le=>{const{componentCls:v,paddingLG:je}=le,Oe=`${v}-textarea`;return{[`textarea${v}`]:{maxWidth:"100%",height:"auto",minHeight:le.controlHeight,lineHeight:le.lineHeight,verticalAlign:"bottom",transition:`all ${le.motionDurationSlow}`,resize:"vertical",[`&${v}-mouse-active`]:{transition:`all ${le.motionDurationSlow}, height 0s, width 0s`}},[`${v}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Oe]:{position:"relative","&-show-count":{[`> ${v}`]:{height:"100%"},[`${v}-data-count`]:{position:"absolute",bottom:le.calc(le.fontSize).mul(le.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${v}, &-affix-wrapper${Oe}-has-feedback ${v} - `]:{paddingInlineEnd:je},[`&-affix-wrapper${v}-affix-wrapper`]:{padding:0,[`> textarea${v}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:le.calc(le.controlHeight).sub(le.calc(le.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${v}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${v}-clear-icon`]:{position:"absolute",insetInlineEnd:le.paddingInline,insetBlockStart:le.paddingXS},[`${Oe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${v}-affix-wrapper-sm`]:{[`${v}-suffix`]:{[`${v}-clear-icon`]:{insetInlineEnd:le.paddingInlineSM}}}}}};var he=(0,Fe.I$)(["Input","TextArea"],le=>{const v=(0,Pe.mergeToken)(le,(0,Ve.e)(le));return[C(v)]},Ve.T,{resetFont:!1}),s=function(le,v){var je={};for(var Oe in le)Object.prototype.hasOwnProperty.call(le,Oe)&&v.indexOf(Oe)<0&&(je[Oe]=le[Oe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Oe=Object.getOwnPropertySymbols(le);ne{var je;const{prefixCls:Oe,bordered:ne=!0,size:Re,disabled:de,status:H,allowClear:n,classNames:ce,rootClassName:T,className:ze,style:xe,styles:We,variant:st,showCount:at,onMouseDown:Ae,onResize:tt}=le,q=s(le,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Se,direction:ge,allowClear:Qe,autoComplete:ie,className:qe,style:Ke,classNames:bt,styles:Te}=(0,E.dj)("textArea"),k=e.useContext(Z.Z),R=de!=null?de:k,{status:U,hasFeedback:p,feedbackIcon:fe}=e.useContext(V.aM),z=(0,D.F)(U,H),o=e.useRef(null);e.useImperativeHandle(v,()=>{var Ze;return{resizableTextArea:(Ze=o.current)===null||Ze===void 0?void 0:Ze.resizableTextArea,focus:Ue=>{var ot,Tt;(0,me.nH)((Tt=(ot=o.current)===null||ot===void 0?void 0:ot.resizableTextArea)===null||Tt===void 0?void 0:Tt.textArea,Ue)},blur:()=>{var Ue;return(Ue=o.current)===null||Ue===void 0?void 0:Ue.blur()}}});const f=Se("input",Oe),se=(0,K.Z)(f),[_,$,N]=(0,lt.TI)(f,T),[X]=he(f,se),{compactSize:ue,compactItemClassnames:c}=(0,P.ri)(f,ge),y=(0,r.Z)(Ze=>{var Ue;return(Ue=Re!=null?Re:ue)!==null&&Ue!==void 0?Ue:Ze}),[Ge,G]=(0,M.Z)("textArea",st,ne),Le=(0,x.Z)(n!=null?n:Qe),[He,nt]=e.useState(!1),[it,et]=e.useState(!1),w=Ze=>{nt(!0),Ae==null||Ae(Ze);const Ue=()=>{nt(!1),document.removeEventListener("mouseup",Ue)};document.addEventListener("mouseup",Ue)},pe=Ze=>{var Ue,ot;if(tt==null||tt(Ze),He&&typeof getComputedStyle=="function"){const Tt=(ot=(Ue=o.current)===null||Ue===void 0?void 0:Ue.nativeElement)===null||ot===void 0?void 0:ot.querySelector("textarea");Tt&&getComputedStyle(Tt).resize==="both"&&et(!0)}};return _(X(e.createElement(L.default,Object.assign({autoComplete:ie},q,{style:Object.assign(Object.assign({},Ke),xe),styles:Object.assign(Object.assign({},Te),We),disabled:R,allowClear:Le,className:i()(N,se,ze,T,c,qe,it&&`${f}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ce),bt),{textarea:i()({[`${f}-sm`]:y==="small",[`${f}-lg`]:y==="large"},$,ce==null?void 0:ce.textarea,bt.textarea,He&&`${f}-mouse-active`),variant:i()({[`${f}-${Ge}`]:G},(0,D.Z)(f,z)),affixWrapper:i()(`${f}-textarea-affix-wrapper`,{[`${f}-affix-wrapper-rtl`]:ge==="rtl",[`${f}-affix-wrapper-sm`]:y==="small",[`${f}-affix-wrapper-lg`]:y==="large",[`${f}-textarea-show-count`]:at||((je=le.count)===null||je===void 0?void 0:je.show)},$)}),prefixCls:f,suffix:p&&e.createElement("span",{className:`${f}-textarea-suffix`},fe),showCount:at,ref:o,onResize:pe,onMouseDown:w}))))})},23826:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(59301);function d(i,L){const x=(0,e.useRef)([]),D=()=>{x.current.push(setTimeout(()=>{var E,Z,K,r;!((E=i.current)===null||E===void 0)&&E.input&&((Z=i.current)===null||Z===void 0?void 0:Z.input.getAttribute("type"))==="password"&&(!((K=i.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((r=i.current)===null||r===void 0||r.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(L&&D(),()=>x.current.forEach(E=>{E&&clearTimeout(E)})),[]),D}},37568:function(an,Je,t){t.d(Je,{default:function(){return bt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(48755),x=t(56553),D=t(53075),Z=Te=>{const{getPrefixCls:k,direction:R}=(0,e.useContext)(L.E_),{prefixCls:U,className:p}=Te,fe=k("input-group",U),z=k("input"),[o,f,se]=(0,D.ZP)(z),_=i()(fe,se,{[`${fe}-lg`]:Te.size==="large",[`${fe}-sm`]:Te.size==="small",[`${fe}-compact`]:Te.compact,[`${fe}-rtl`]:R==="rtl"},f,p),$=(0,e.useContext)(x.aM),N=(0,e.useMemo)(()=>Object.assign(Object.assign({},$),{isFormItemInput:!1}),[$]);return o(e.createElement("span",{className:_,style:Te.style,onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onFocus:Te.onFocus,onBlur:Te.onBlur},e.createElement(x.aM.Provider,{value:N},Te.children)))},K=t(49397),r=t(94480),V=t(6089),M=t(26112),P=t(82855),me=t(31756),lt=t(16931),Fe=t(51636),Pe=t(64910);const Ve=Te=>{const{componentCls:k,paddingXS:R}=Te;return{[k]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:R,"&-rtl":{direction:"rtl"},[`${k}-input`]:{textAlign:"center",paddingInline:Te.paddingXXS},[`&${k}-sm ${k}-input`]:{paddingInline:Te.calc(Te.paddingXXS).div(2).equal()},[`&${k}-lg ${k}-input`]:{paddingInline:Te.paddingXS}}}};var C=(0,lt.I$)(["Input","OTP"],Te=>{const k=(0,Fe.mergeToken)(Te,(0,Pe.e)(Te));return[Ve(k)]},Pe.T),he=t(16089),s=function(Te,k){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&k.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,U=Object.getOwnPropertySymbols(Te);p{const{value:R,onChange:U,onActiveChange:p,index:fe,mask:z}=Te,o=s(Te,["value","onChange","onActiveChange","index","mask"]),f=R&&typeof z=="string"?z:R,se=ue=>{U(fe,ue.target.value)},_=e.useRef(null);e.useImperativeHandle(k,()=>_.current);const $=()=>{(0,he.Z)(()=>{var ue;const c=(ue=_.current)===null||ue===void 0?void 0:ue.input;document.activeElement===c&&c&&c.select()})},N=ue=>{const{key:c,ctrlKey:y,metaKey:Ge}=ue;c==="ArrowLeft"?p(fe-1):c==="ArrowRight"?p(fe+1):c==="z"&&(y||Ge)&&ue.preventDefault(),$()},X=ue=>{ue.key==="Backspace"&&!R&&p(fe-1),$()};return e.createElement(K.Z,Object.assign({type:z===!0?"password":"text"},o,{ref:_,value:f,onInput:se,onFocus:$,onKeyDown:N,onKeyUp:X,onMouseDown:$,onMouseUp:$}))}),le=function(Te,k){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&k.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,U=Object.getOwnPropertySymbols(Te);p{const{index:k,prefixCls:R,separator:U}=Te,p=typeof U=="function"?U(k):U;return p?e.createElement("span",{className:`${R}-separator`},p):null};var ne=e.forwardRef((Te,k)=>{const{prefixCls:R,length:U=6,size:p,defaultValue:fe,value:z,onChange:o,formatter:f,separator:se,variant:_,disabled:$,status:N,autoFocus:X,mask:ue,type:c,onInput:y,inputMode:Ge}=Te,G=le(Te,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Le,direction:He}=e.useContext(L.E_),nt=Le("otp",R),it=(0,M.Z)(G,{aria:!0,data:!0,attr:!0}),[et,w,pe]=C(nt),Ze=(0,me.Z)(Pt=>p!=null?p:Pt),Ue=e.useContext(x.aM),ot=(0,P.F)(Ue.status,N),Tt=e.useMemo(()=>Object.assign(Object.assign({},Ue),{status:ot,hasFeedback:!1,feedbackIcon:null}),[Ue,ot]),ct=e.useRef(null),dt=e.useRef({});e.useImperativeHandle(k,()=>({focus:()=>{var Pt;(Pt=dt.current[0])===null||Pt===void 0||Pt.focus()},blur:()=>{var Pt;for(let kt=0;ktf?f(Pt):Pt,[Vt,Ht]=e.useState(()=>v(Rt(fe||"")));e.useEffect(()=>{z!==void 0&&Ht(v(z))},[z]);const Xt=(0,V.Z)(Pt=>{Ht(Pt),y&&y(Pt),o&&Pt.length===U&&Pt.every(kt=>kt)&&Pt.some((kt,Wt)=>Vt[Wt]!==kt)&&o(Pt.join(""))}),wt=(0,V.Z)((Pt,kt)=>{let Wt=(0,r.Z)(Vt);for(let Lt=0;Lt=0&&!Wt[Lt];Lt-=1)Wt.pop();const pt=Rt(Wt.map(Lt=>Lt||" ").join(""));return Wt=v(pt).map((Lt,ln)=>Lt===" "&&!Wt[ln]?Wt[ln]:Lt),Wt}),Ut=(Pt,kt)=>{var Wt;const pt=wt(Pt,kt),Lt=Math.min(Pt+kt.length,U-1);Lt!==Pt&&pt[Pt]!==void 0&&((Wt=dt.current[Lt])===null||Wt===void 0||Wt.focus()),Xt(pt)},yt=Pt=>{var kt;(kt=dt.current[Pt])===null||kt===void 0||kt.focus()},Bt={variant:_,disabled:$,status:ot,mask:ue,type:c,inputMode:Ge};return et(e.createElement("div",Object.assign({},it,{ref:ct,className:i()(nt,{[`${nt}-sm`]:Ze==="small",[`${nt}-lg`]:Ze==="large",[`${nt}-rtl`]:He==="rtl"},pe,w)}),e.createElement(x.aM.Provider,{value:Tt},Array.from({length:U}).map((Pt,kt)=>{const Wt=`otp-${kt}`,pt=Vt[kt]||"";return e.createElement(e.Fragment,{key:Wt},e.createElement(oe,Object.assign({ref:Lt=>{dt.current[kt]=Lt},index:kt,size:Ze,htmlSize:1,className:`${nt}-input`,onChange:Ut,value:pt,onActiveChange:yt,autoFocus:kt===0&&X},Bt)),ktTe?e.createElement(de.Z,null):e.createElement(Re.Z,null),We={click:"onClick",hover:"onMouseOver"};var at=e.forwardRef((Te,k)=>{const{disabled:R,action:U="click",visibilityToggle:p=!0,iconRender:fe=xe}=Te,z=e.useContext(ce.Z),o=R!=null?R:z,f=typeof p=="object"&&p.visible!==void 0,[se,_]=(0,e.useState)(()=>f?p.visible:!1),$=(0,e.useRef)(null);e.useEffect(()=>{f&&_(p.visible)},[f,p]);const N=(0,T.Z)($),X=()=>{var Ze;if(o)return;se&&N();const Ue=!se;_(Ue),typeof p=="object"&&((Ze=p.onVisibleChange)===null||Ze===void 0||Ze.call(p,Ue))},ue=Ze=>{const Ue=We[U]||"",ot=fe(se),Tt={[Ue]:X,className:`${Ze}-icon`,key:"passwordIcon",onMouseDown:ct=>{ct.preventDefault()},onMouseUp:ct=>{ct.preventDefault()}};return e.cloneElement(e.isValidElement(ot)?ot:e.createElement("span",null,ot),Tt)},{className:c,prefixCls:y,inputPrefixCls:Ge,size:G}=Te,Le=ze(Te,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:He}=e.useContext(L.E_),nt=He("input",Ge),it=He("input-password",y),et=p&&ue(it),w=i()(it,c,{[`${it}-${G}`]:!!G}),pe=Object.assign(Object.assign({},(0,H.Z)(Le,["suffix","iconRender","visibilityToggle"])),{type:se?"text":"password",className:w,prefixCls:nt,suffix:et});return G&&(pe.size=G),e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(k,$)},pe))}),Ae=t(47472),tt=t(22703),q=t(7939),Se=t(70045),ge=function(Te,k){var R={};for(var U in Te)Object.prototype.hasOwnProperty.call(Te,U)&&k.indexOf(U)<0&&(R[U]=Te[U]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,U=Object.getOwnPropertySymbols(Te);p{const{prefixCls:R,inputPrefixCls:U,className:p,size:fe,suffix:z,enterButton:o=!1,addonAfter:f,loading:se,disabled:_,onSearch:$,onChange:N,onCompositionStart:X,onCompositionEnd:ue}=Te,c=ge(Te,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:y,direction:Ge}=e.useContext(L.E_),G=e.useRef(!1),Le=y("input-search",R),He=y("input",U),{compactSize:nt}=(0,Se.ri)(Le,Ge),it=(0,me.Z)(Ut=>{var yt;return(yt=fe!=null?fe:nt)!==null&&yt!==void 0?yt:Ut}),et=e.useRef(null),w=Ut=>{Ut!=null&&Ut.target&&Ut.type==="click"&&$&&$(Ut.target.value,Ut,{source:"clear"}),N==null||N(Ut)},pe=Ut=>{var yt;document.activeElement===((yt=et.current)===null||yt===void 0?void 0:yt.input)&&Ut.preventDefault()},Ze=Ut=>{var yt,Bt;$&&$((Bt=(yt=et.current)===null||yt===void 0?void 0:yt.input)===null||Bt===void 0?void 0:Bt.value,Ut,{source:"input"})},Ue=Ut=>{G.current||se||Ze(Ut)},ot=typeof o=="boolean"?e.createElement(Ae.Z,null):null,Tt=`${Le}-button`;let ct;const dt=o||{},Rt=dt.type&&dt.type.__ANT_BUTTON===!0;Rt||dt.type==="button"?ct=(0,tt.Tm)(dt,Object.assign({onMouseDown:pe,onClick:Ut=>{var yt,Bt;(Bt=(yt=dt==null?void 0:dt.props)===null||yt===void 0?void 0:yt.onClick)===null||Bt===void 0||Bt.call(yt,Ut),Ze(Ut)},key:"enterButton"},Rt?{className:Tt,size:it}:{})):ct=e.createElement(q.ZP,{className:Tt,type:o?"primary":void 0,size:it,disabled:_,key:"enterButton",onMouseDown:pe,onClick:Ze,loading:se,icon:ot},o),f&&(ct=[ct,(0,tt.Tm)(f,{key:"addonAfter"})]);const Vt=i()(Le,{[`${Le}-rtl`]:Ge==="rtl",[`${Le}-${it}`]:!!it,[`${Le}-with-button`]:!!o},p),Ht=Object.assign(Object.assign({},c),{className:Vt,prefixCls:He,type:"search"}),Xt=Ut=>{G.current=!0,X==null||X(Ut)},wt=Ut=>{G.current=!1,ue==null||ue(Ut)};return e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(et,k),onPressEnter:Ue},Ht,{size:it,onCompositionStart:Xt,onCompositionEnd:wt,addonAfter:ct,suffix:z,onChange:w,disabled:_}))}),qe=t(79809);const Ke=K.Z;Ke.Group=Z,Ke.Search=ie,Ke.TextArea=qe.Z,Ke.Password=at,Ke.OTP=ne;var bt=Ke},53075:function(an,Je,t){t.d(Je,{TI:function(){return he},ik:function(){return M},nz:function(){return Z},s7:function(){return P},x0:function(){return V}});var e=t(36237),d=t(63356),i=t(56119),L=t(16931),x=t(51636),D=t(64910),E=t(39082);const Z=s=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:s,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=s=>({borderColor:s.activeBorderColor,boxShadow:s.activeShadow,outline:0,backgroundColor:s.activeBg}),r=s=>{const{paddingBlockLG:h,lineHeightLG:oe,borderRadiusLG:le,paddingInlineLG:v}=s;return{padding:`${(0,e.unit)(h)} ${(0,e.unit)(v)}`,fontSize:s.inputFontSizeLG,lineHeight:oe,borderRadius:le}},V=s=>({padding:`${(0,e.unit)(s.paddingBlockSM)} ${(0,e.unit)(s.paddingInlineSM)}`,fontSize:s.inputFontSizeSM,borderRadius:s.borderRadiusSM}),M=s=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(s.paddingBlock)} ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontSize:s.inputFontSize,lineHeight:s.lineHeight,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid}`},Z(s.colorTextPlaceholder)),{"&-lg":Object.assign({},r(s)),"&-sm":Object.assign({},V(s)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),P=s=>{const{componentCls:h,antCls:oe}=s;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:s.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${h}, &-lg > ${h}-group-addon`]:Object.assign({},r(s)),[`&-sm ${h}, &-sm > ${h}-group-addon`]:Object.assign({},V(s)),[`&-lg ${oe}-select-single ${oe}-select-selector`]:{height:s.controlHeightLG},[`&-sm ${oe}-select-single ${oe}-select-selector`]:{height:s.controlHeightSM},[`> ${h}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${h}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontWeight:"normal",fontSize:s.inputFontSize,textAlign:"center",borderRadius:s.borderRadius,transition:`all ${s.motionDurationSlow}`,lineHeight:1,[`${oe}-select`]:{margin:`${(0,e.unit)(s.calc(s.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,[`&${oe}-select-single:not(${oe}-select-customize-input):not(${oe}-pagination-size-changer)`]:{[`${oe}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(s.lineWidth)} ${s.lineType} transparent`,boxShadow:"none"}}},[`${oe}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${oe}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[h]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${h}-search-with-button &`]:{zIndex:0}}},[`> ${h}:first-child, ${h}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${oe}-select ${oe}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${h}-affix-wrapper`]:{[`&:not(:first-child) ${h}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${h}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${h}:last-child, ${h}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${oe}-select ${oe}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${h}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${h}-search &`]:{borderStartStartRadius:s.borderRadius,borderEndStartRadius:s.borderRadius}},[`&:not(:first-child), ${h}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${h}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,d.dF)()),{[`${h}-group-addon, ${h}-group-wrap, > ${h}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:s.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{paddingInlineEnd:je},[`&-affix-wrapper${v}-affix-wrapper`]:{padding:0,[`> textarea${v}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:le.calc(le.controlHeight).sub(le.calc(le.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${v}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${v}-clear-icon`]:{position:"absolute",insetInlineEnd:le.paddingInline,insetBlockStart:le.paddingXS},[`${Oe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${v}-affix-wrapper-sm`]:{[`${v}-suffix`]:{[`${v}-clear-icon`]:{insetInlineEnd:le.paddingInlineSM}}}}}};var he=(0,Fe.I$)(["Input","TextArea"],le=>{const v=(0,Pe.mergeToken)(le,(0,Ve.e)(le));return[C(v)]},Ve.T,{resetFont:!1}),s=function(le,v){var je={};for(var Oe in le)Object.prototype.hasOwnProperty.call(le,Oe)&&v.indexOf(Oe)<0&&(je[Oe]=le[Oe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,Oe=Object.getOwnPropertySymbols(le);ne{var je;const{prefixCls:Oe,bordered:ne=!0,size:Re,disabled:de,status:H,allowClear:n,classNames:ce,rootClassName:T,className:ze,style:xe,styles:We,variant:st,showCount:at,onMouseDown:Ae,onResize:tt}=le,q=s(le,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Se,direction:ge,allowClear:Qe,autoComplete:ie,className:qe,style:Ke,classNames:bt,styles:Te}=(0,E.dj)("textArea"),k=e.useContext(Z.Z),R=de!=null?de:k,{status:X,hasFeedback:p,feedbackIcon:fe}=e.useContext(U.aM),z=(0,D.F)(X,H),o=e.useRef(null);e.useImperativeHandle(v,()=>{var Ze;return{resizableTextArea:(Ze=o.current)===null||Ze===void 0?void 0:Ze.resizableTextArea,focus:Ue=>{var ot,Tt;(0,me.nH)((Tt=(ot=o.current)===null||ot===void 0?void 0:ot.resizableTextArea)===null||Tt===void 0?void 0:Tt.textArea,Ue)},blur:()=>{var Ue;return(Ue=o.current)===null||Ue===void 0?void 0:Ue.blur()}}});const f=Se("input",Oe),se=(0,K.Z)(f),[_,$,N]=(0,lt.TI)(f,T),[G]=he(f,se),{compactSize:ue,compactItemClassnames:c}=(0,P.ri)(f,ge),y=(0,r.Z)(Ze=>{var Ue;return(Ue=Re!=null?Re:ue)!==null&&Ue!==void 0?Ue:Ze}),[Ge,W]=(0,M.Z)("textArea",st,ne),Le=(0,x.Z)(n!=null?n:Qe),[He,nt]=e.useState(!1),[it,et]=e.useState(!1),w=Ze=>{nt(!0),Ae==null||Ae(Ze);const Ue=()=>{nt(!1),document.removeEventListener("mouseup",Ue)};document.addEventListener("mouseup",Ue)},pe=Ze=>{var Ue,ot;if(tt==null||tt(Ze),He&&typeof getComputedStyle=="function"){const Tt=(ot=(Ue=o.current)===null||Ue===void 0?void 0:Ue.nativeElement)===null||ot===void 0?void 0:ot.querySelector("textarea");Tt&&getComputedStyle(Tt).resize==="both"&&et(!0)}};return _(G(e.createElement(L.default,Object.assign({autoComplete:ie},q,{style:Object.assign(Object.assign({},Ke),xe),styles:Object.assign(Object.assign({},Te),We),disabled:R,allowClear:Le,className:i()(N,se,ze,T,c,qe,it&&`${f}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ce),bt),{textarea:i()({[`${f}-sm`]:y==="small",[`${f}-lg`]:y==="large"},$,ce==null?void 0:ce.textarea,bt.textarea,He&&`${f}-mouse-active`),variant:i()({[`${f}-${Ge}`]:W},(0,D.Z)(f,z)),affixWrapper:i()(`${f}-textarea-affix-wrapper`,{[`${f}-affix-wrapper-rtl`]:ge==="rtl",[`${f}-affix-wrapper-sm`]:y==="small",[`${f}-affix-wrapper-lg`]:y==="large",[`${f}-textarea-show-count`]:at||((je=le.count)===null||je===void 0?void 0:je.show)},$)}),prefixCls:f,suffix:p&&e.createElement("span",{className:`${f}-textarea-suffix`},fe),showCount:at,ref:o,onResize:pe,onMouseDown:w}))))})},23826:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(59301);function d(i,L){const x=(0,e.useRef)([]),D=()=>{x.current.push(setTimeout(()=>{var E,Z,K,r;!((E=i.current)===null||E===void 0)&&E.input&&((Z=i.current)===null||Z===void 0?void 0:Z.input.getAttribute("type"))==="password"&&(!((K=i.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((r=i.current)===null||r===void 0||r.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(L&&D(),()=>x.current.forEach(E=>{E&&clearTimeout(E)})),[]),D}},37568:function(an,Je,t){t.d(Je,{default:function(){return bt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(48755),x=t(56553),D=t(53075),Z=Te=>{const{getPrefixCls:k,direction:R}=(0,e.useContext)(L.E_),{prefixCls:X,className:p}=Te,fe=k("input-group",X),z=k("input"),[o,f,se]=(0,D.ZP)(z),_=i()(fe,se,{[`${fe}-lg`]:Te.size==="large",[`${fe}-sm`]:Te.size==="small",[`${fe}-compact`]:Te.compact,[`${fe}-rtl`]:R==="rtl"},f,p),$=(0,e.useContext)(x.aM),N=(0,e.useMemo)(()=>Object.assign(Object.assign({},$),{isFormItemInput:!1}),[$]);return o(e.createElement("span",{className:_,style:Te.style,onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onFocus:Te.onFocus,onBlur:Te.onBlur},e.createElement(x.aM.Provider,{value:N},Te.children)))},K=t(49397),r=t(94480),U=t(6089),M=t(26112),P=t(82855),me=t(31756),lt=t(16931),Fe=t(51636),Pe=t(64910);const Ve=Te=>{const{componentCls:k,paddingXS:R}=Te;return{[k]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:R,"&-rtl":{direction:"rtl"},[`${k}-input`]:{textAlign:"center",paddingInline:Te.paddingXXS},[`&${k}-sm ${k}-input`]:{paddingInline:Te.calc(Te.paddingXXS).div(2).equal()},[`&${k}-lg ${k}-input`]:{paddingInline:Te.paddingXS}}}};var C=(0,lt.I$)(["Input","OTP"],Te=>{const k=(0,Fe.mergeToken)(Te,(0,Pe.e)(Te));return[Ve(k)]},Pe.T),he=t(16089),s=function(Te,k){var R={};for(var X in Te)Object.prototype.hasOwnProperty.call(Te,X)&&k.indexOf(X)<0&&(R[X]=Te[X]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,X=Object.getOwnPropertySymbols(Te);p{const{value:R,onChange:X,onActiveChange:p,index:fe,mask:z}=Te,o=s(Te,["value","onChange","onActiveChange","index","mask"]),f=R&&typeof z=="string"?z:R,se=ue=>{X(fe,ue.target.value)},_=e.useRef(null);e.useImperativeHandle(k,()=>_.current);const $=()=>{(0,he.Z)(()=>{var ue;const c=(ue=_.current)===null||ue===void 0?void 0:ue.input;document.activeElement===c&&c&&c.select()})},N=ue=>{const{key:c,ctrlKey:y,metaKey:Ge}=ue;c==="ArrowLeft"?p(fe-1):c==="ArrowRight"?p(fe+1):c==="z"&&(y||Ge)&&ue.preventDefault(),$()},G=ue=>{ue.key==="Backspace"&&!R&&p(fe-1),$()};return e.createElement(K.Z,Object.assign({type:z===!0?"password":"text"},o,{ref:_,value:f,onInput:se,onFocus:$,onKeyDown:N,onKeyUp:G,onMouseDown:$,onMouseUp:$}))}),le=function(Te,k){var R={};for(var X in Te)Object.prototype.hasOwnProperty.call(Te,X)&&k.indexOf(X)<0&&(R[X]=Te[X]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,X=Object.getOwnPropertySymbols(Te);p{const{index:k,prefixCls:R,separator:X}=Te,p=typeof X=="function"?X(k):X;return p?e.createElement("span",{className:`${R}-separator`},p):null};var ne=e.forwardRef((Te,k)=>{const{prefixCls:R,length:X=6,size:p,defaultValue:fe,value:z,onChange:o,formatter:f,separator:se,variant:_,disabled:$,status:N,autoFocus:G,mask:ue,type:c,onInput:y,inputMode:Ge}=Te,W=le(Te,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Le,direction:He}=e.useContext(L.E_),nt=Le("otp",R),it=(0,M.Z)(W,{aria:!0,data:!0,attr:!0}),[et,w,pe]=C(nt),Ze=(0,me.Z)(Pt=>p!=null?p:Pt),Ue=e.useContext(x.aM),ot=(0,P.F)(Ue.status,N),Tt=e.useMemo(()=>Object.assign(Object.assign({},Ue),{status:ot,hasFeedback:!1,feedbackIcon:null}),[Ue,ot]),ct=e.useRef(null),dt=e.useRef({});e.useImperativeHandle(k,()=>({focus:()=>{var Pt;(Pt=dt.current[0])===null||Pt===void 0||Pt.focus()},blur:()=>{var Pt;for(let kt=0;ktf?f(Pt):Pt,[Vt,Ht]=e.useState(()=>v(Rt(fe||"")));e.useEffect(()=>{z!==void 0&&Ht(v(z))},[z]);const Xt=(0,U.Z)(Pt=>{Ht(Pt),y&&y(Pt),o&&Pt.length===X&&Pt.every(kt=>kt)&&Pt.some((kt,Wt)=>Vt[Wt]!==kt)&&o(Pt.join(""))}),wt=(0,U.Z)((Pt,kt)=>{let Wt=(0,r.Z)(Vt);for(let Lt=0;Lt=0&&!Wt[Lt];Lt-=1)Wt.pop();const pt=Rt(Wt.map(Lt=>Lt||" ").join(""));return Wt=v(pt).map((Lt,ln)=>Lt===" "&&!Wt[ln]?Wt[ln]:Lt),Wt}),Ut=(Pt,kt)=>{var Wt;const pt=wt(Pt,kt),Lt=Math.min(Pt+kt.length,X-1);Lt!==Pt&&pt[Pt]!==void 0&&((Wt=dt.current[Lt])===null||Wt===void 0||Wt.focus()),Xt(pt)},yt=Pt=>{var kt;(kt=dt.current[Pt])===null||kt===void 0||kt.focus()},Bt={variant:_,disabled:$,status:ot,mask:ue,type:c,inputMode:Ge};return et(e.createElement("div",Object.assign({},it,{ref:ct,className:i()(nt,{[`${nt}-sm`]:Ze==="small",[`${nt}-lg`]:Ze==="large",[`${nt}-rtl`]:He==="rtl"},pe,w)}),e.createElement(x.aM.Provider,{value:Tt},Array.from({length:X}).map((Pt,kt)=>{const Wt=`otp-${kt}`,pt=Vt[kt]||"";return e.createElement(e.Fragment,{key:Wt},e.createElement(oe,Object.assign({ref:Lt=>{dt.current[kt]=Lt},index:kt,size:Ze,htmlSize:1,className:`${nt}-input`,onChange:Ut,value:pt,onActiveChange:yt,autoFocus:kt===0&&G},Bt)),ktTe?e.createElement(de.Z,null):e.createElement(Re.Z,null),We={click:"onClick",hover:"onMouseOver"};var at=e.forwardRef((Te,k)=>{const{disabled:R,action:X="click",visibilityToggle:p=!0,iconRender:fe=xe}=Te,z=e.useContext(ce.Z),o=R!=null?R:z,f=typeof p=="object"&&p.visible!==void 0,[se,_]=(0,e.useState)(()=>f?p.visible:!1),$=(0,e.useRef)(null);e.useEffect(()=>{f&&_(p.visible)},[f,p]);const N=(0,T.Z)($),G=()=>{var Ze;if(o)return;se&&N();const Ue=!se;_(Ue),typeof p=="object"&&((Ze=p.onVisibleChange)===null||Ze===void 0||Ze.call(p,Ue))},ue=Ze=>{const Ue=We[X]||"",ot=fe(se),Tt={[Ue]:G,className:`${Ze}-icon`,key:"passwordIcon",onMouseDown:ct=>{ct.preventDefault()},onMouseUp:ct=>{ct.preventDefault()}};return e.cloneElement(e.isValidElement(ot)?ot:e.createElement("span",null,ot),Tt)},{className:c,prefixCls:y,inputPrefixCls:Ge,size:W}=Te,Le=ze(Te,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:He}=e.useContext(L.E_),nt=He("input",Ge),it=He("input-password",y),et=p&&ue(it),w=i()(it,c,{[`${it}-${W}`]:!!W}),pe=Object.assign(Object.assign({},(0,H.Z)(Le,["suffix","iconRender","visibilityToggle"])),{type:se?"text":"password",className:w,prefixCls:nt,suffix:et});return W&&(pe.size=W),e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(k,$)},pe))}),Ae=t(47472),tt=t(22703),q=t(7939),Se=t(70045),ge=function(Te,k){var R={};for(var X in Te)Object.prototype.hasOwnProperty.call(Te,X)&&k.indexOf(X)<0&&(R[X]=Te[X]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,X=Object.getOwnPropertySymbols(Te);p{const{prefixCls:R,inputPrefixCls:X,className:p,size:fe,suffix:z,enterButton:o=!1,addonAfter:f,loading:se,disabled:_,onSearch:$,onChange:N,onCompositionStart:G,onCompositionEnd:ue}=Te,c=ge(Te,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:y,direction:Ge}=e.useContext(L.E_),W=e.useRef(!1),Le=y("input-search",R),He=y("input",X),{compactSize:nt}=(0,Se.ri)(Le,Ge),it=(0,me.Z)(Ut=>{var yt;return(yt=fe!=null?fe:nt)!==null&&yt!==void 0?yt:Ut}),et=e.useRef(null),w=Ut=>{Ut!=null&&Ut.target&&Ut.type==="click"&&$&&$(Ut.target.value,Ut,{source:"clear"}),N==null||N(Ut)},pe=Ut=>{var yt;document.activeElement===((yt=et.current)===null||yt===void 0?void 0:yt.input)&&Ut.preventDefault()},Ze=Ut=>{var yt,Bt;$&&$((Bt=(yt=et.current)===null||yt===void 0?void 0:yt.input)===null||Bt===void 0?void 0:Bt.value,Ut,{source:"input"})},Ue=Ut=>{W.current||se||Ze(Ut)},ot=typeof o=="boolean"?e.createElement(Ae.Z,null):null,Tt=`${Le}-button`;let ct;const dt=o||{},Rt=dt.type&&dt.type.__ANT_BUTTON===!0;Rt||dt.type==="button"?ct=(0,tt.Tm)(dt,Object.assign({onMouseDown:pe,onClick:Ut=>{var yt,Bt;(Bt=(yt=dt==null?void 0:dt.props)===null||yt===void 0?void 0:yt.onClick)===null||Bt===void 0||Bt.call(yt,Ut),Ze(Ut)},key:"enterButton"},Rt?{className:Tt,size:it}:{})):ct=e.createElement(q.ZP,{className:Tt,type:o?"primary":void 0,size:it,disabled:_,key:"enterButton",onMouseDown:pe,onClick:Ze,loading:se,icon:ot},o),f&&(ct=[ct,(0,tt.Tm)(f,{key:"addonAfter"})]);const Vt=i()(Le,{[`${Le}-rtl`]:Ge==="rtl",[`${Le}-${it}`]:!!it,[`${Le}-with-button`]:!!o},p),Ht=Object.assign(Object.assign({},c),{className:Vt,prefixCls:He,type:"search"}),Xt=Ut=>{W.current=!0,G==null||G(Ut)},wt=Ut=>{W.current=!1,ue==null||ue(Ut)};return e.createElement(K.Z,Object.assign({ref:(0,n.sQ)(et,k),onPressEnter:Ue},Ht,{size:it,onCompositionStart:Xt,onCompositionEnd:wt,addonAfter:ct,suffix:z,onChange:w,disabled:_}))}),qe=t(79809);const Ke=K.Z;Ke.Group=Z,Ke.Search=ie,Ke.TextArea=qe.Z,Ke.Password=at,Ke.OTP=ne;var bt=Ke},53075:function(an,Je,t){t.d(Je,{TI:function(){return he},ik:function(){return M},nz:function(){return Z},s7:function(){return P},x0:function(){return U}});var e=t(36237),d=t(63356),i=t(56119),L=t(16931),x=t(51636),D=t(64910),E=t(39082);const Z=s=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:s,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=s=>({borderColor:s.activeBorderColor,boxShadow:s.activeShadow,outline:0,backgroundColor:s.activeBg}),r=s=>{const{paddingBlockLG:h,lineHeightLG:oe,borderRadiusLG:le,paddingInlineLG:v}=s;return{padding:`${(0,e.unit)(h)} ${(0,e.unit)(v)}`,fontSize:s.inputFontSizeLG,lineHeight:oe,borderRadius:le}},U=s=>({padding:`${(0,e.unit)(s.paddingBlockSM)} ${(0,e.unit)(s.paddingInlineSM)}`,fontSize:s.inputFontSizeSM,borderRadius:s.borderRadiusSM}),M=s=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(s.paddingBlock)} ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontSize:s.inputFontSize,lineHeight:s.lineHeight,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid}`},Z(s.colorTextPlaceholder)),{"&-lg":Object.assign({},r(s)),"&-sm":Object.assign({},U(s)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),P=s=>{const{componentCls:h,antCls:oe}=s;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:s.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${h}, &-lg > ${h}-group-addon`]:Object.assign({},r(s)),[`&-sm ${h}, &-sm > ${h}-group-addon`]:Object.assign({},U(s)),[`&-lg ${oe}-select-single ${oe}-select-selector`]:{height:s.controlHeightLG},[`&-sm ${oe}-select-single ${oe}-select-selector`]:{height:s.controlHeightSM},[`> ${h}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${h}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(s.paddingInline)}`,color:s.colorText,fontWeight:"normal",fontSize:s.inputFontSize,textAlign:"center",borderRadius:s.borderRadius,transition:`all ${s.motionDurationSlow}`,lineHeight:1,[`${oe}-select`]:{margin:`${(0,e.unit)(s.calc(s.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,[`&${oe}-select-single:not(${oe}-select-customize-input):not(${oe}-pagination-size-changer)`]:{[`${oe}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(s.lineWidth)} ${s.lineType} transparent`,boxShadow:"none"}}},[`${oe}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(s.calc(s.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${oe}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[h]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${h}-search-with-button &`]:{zIndex:0}}},[`> ${h}:first-child, ${h}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${oe}-select ${oe}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${h}-affix-wrapper`]:{[`&:not(:first-child) ${h}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${h}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${h}:last-child, ${h}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${oe}-select ${oe}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${h}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${h}-search &`]:{borderStartStartRadius:s.borderRadius,borderEndStartRadius:s.borderRadius}},[`&:not(:first-child), ${h}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${h}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,d.dF)()),{[`${h}-group-addon, ${h}-group-wrap, > ${h}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:s.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${h}-affix-wrapper, & > ${h}-number-affix-wrapper, & > ${oe}-picker-range @@ -47,19 +47,19 @@ & > ${oe}-cascader-picker:last-child ${h}, & > ${oe}-cascader-picker-focused:last-child ${h}`]:{borderInlineEndWidth:s.lineWidth,borderStartEndRadius:s.borderRadius,borderEndEndRadius:s.borderRadius},[`& > ${oe}-select-auto-complete ${h}`]:{verticalAlign:"top"},[`${h}-group-wrapper + ${h}-group-wrapper`]:{marginInlineStart:s.calc(s.lineWidth).mul(-1).equal(),[`${h}-affix-wrapper`]:{borderRadius:0}},[`${h}-group-wrapper:not(:last-child)`]:{[`&${h}-search > ${h}-group`]:{[`& > ${h}-group-addon > ${h}-search-button`]:{borderRadius:0},[`& > ${h}`]:{borderStartStartRadius:s.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:s.borderRadius}}}})}},me=s=>{const{componentCls:h,controlHeightSM:oe,lineWidth:le,calc:v}=s,Oe=v(oe).sub(v(le).mul(2)).sub(16).div(2).equal();return{[h]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(s)),M(s)),(0,E.qG)(s)),(0,E.H8)(s)),(0,E.Mu)(s)),(0,E.vc)(s)),{'&[type="color"]':{height:s.controlHeight,[`&${h}-lg`]:{height:s.controlHeightLG},[`&${h}-sm`]:{height:oe,paddingTop:Oe,paddingBottom:Oe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},lt=s=>{const{componentCls:h}=s;return{[`${h}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${s.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:s.colorTextTertiary},"&:active":{color:s.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,e.unit)(s.inputAffixPadding)}`}}}},Fe=s=>{const{componentCls:h,inputAffixPadding:oe,colorTextDescription:le,motionDurationSlow:v,colorIcon:je,colorIconHover:Oe,iconCls:ne}=s,Re=`${h}-affix-wrapper`,de=`${h}-affix-wrapper-disabled`;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},M(s)),{display:"inline-flex",[`&:not(${h}-disabled):hover`]:{zIndex:1,[`${h}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${h}`]:{padding:0},[`> input${h}, > textarea${h}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[h]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:s.paddingXS}},"&-show-count-suffix":{color:le},"&-show-count-has-suffix":{marginInlineEnd:s.paddingXXS},"&-prefix":{marginInlineEnd:oe},"&-suffix":{marginInlineStart:oe}}}),lt(s)),{[`${ne}${h}-password-icon`]:{color:je,cursor:"pointer",transition:`all ${v}`,"&:hover":{color:Oe}}}),[`${h}-underlined`]:{borderRadius:0},[de]:{[`${ne}${h}-password-icon`]:{color:je,cursor:"not-allowed","&:hover":{color:je}}}}},Pe=s=>{const{componentCls:h,borderRadiusLG:oe,borderRadiusSM:le}=s;return{[`${h}-group`]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(s)),P(s)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${h}-group-addon`]:{borderRadius:oe,fontSize:s.inputFontSizeLG}},"&-sm":{[`${h}-group-addon`]:{borderRadius:le}}},(0,E.ir)(s)),(0,E.S5)(s)),{[`&:not(${h}-compact-first-item):not(${h}-compact-last-item)${h}-compact-item`]:{[`${h}, ${h}-group-addon`]:{borderRadius:0}},[`&:not(${h}-compact-last-item)${h}-compact-first-item`]:{[`${h}, ${h}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${h}-compact-first-item)${h}-compact-last-item`]:{[`${h}, ${h}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${h}-compact-last-item)${h}-compact-item`]:{[`${h}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${h}-compact-first-item)${h}-compact-item`]:{[`${h}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},Ve=s=>{const{componentCls:h,antCls:oe}=s,le=`${h}-search`;return{[le]:{[h]:{"&:hover, &:focus":{[`+ ${h}-group-addon ${le}-button:not(${oe}-btn-primary)`]:{borderInlineStartColor:s.colorPrimaryHover}}},[`${h}-affix-wrapper`]:{height:s.controlHeight,borderRadius:0},[`${h}-lg`]:{lineHeight:s.calc(s.lineHeightLG).sub(2e-4).equal()},[`> ${h}-group`]:{[`> ${h}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${le}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${le}-button:not(${oe}-btn-primary)`]:{color:s.colorTextDescription,"&:hover":{color:s.colorPrimaryHover},"&:active":{color:s.colorPrimaryActive},[`&${oe}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${le}-button`]:{height:s.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${h}-affix-wrapper, ${le}-button`]:{height:s.controlHeightLG}},"&-small":{[`${h}-affix-wrapper, ${le}-button`]:{height:s.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${h}-compact-item`]:{[`&:not(${h}-compact-last-item)`]:{[`${h}-group-addon`]:{[`${h}-search-button`]:{marginInlineEnd:s.calc(s.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${h}-compact-first-item)`]:{[`${h},${h}-affix-wrapper`]:{borderRadius:0}},[`> ${h}-group-addon ${h}-search-button, > ${h}, - ${h}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${h}-affix-wrapper-focused`]:{zIndex:2}}}}},C=s=>{const{componentCls:h}=s;return{[`${h}-out-of-range`]:{[`&, & input, & textarea, ${h}-show-count-suffix, ${h}-data-count`]:{color:s.colorError}}}},he=(0,L.I$)(["Input","Shared"],s=>{const h=(0,x.mergeToken)(s,(0,D.e)(s));return[me(h),Fe(h)]},D.T,{resetFont:!1});Je.ZP=(0,L.I$)(["Input","Component"],s=>{const h=(0,x.mergeToken)(s,(0,D.e)(s));return[Pe(h),Ve(h),C(h),(0,i.c)(h)]},D.T,{resetFont:!1})},64910:function(an,Je,t){t.d(Je,{T:function(){return i},e:function(){return d}});var e=t(51636);function d(L){return(0,e.mergeToken)(L,{inputAffixPadding:L.paddingXXS})}const i=L=>{const{controlHeight:x,fontSize:D,lineHeight:E,lineWidth:Z,controlHeightSM:K,controlHeightLG:r,fontSizeLG:V,lineHeightLG:M,paddingSM:P,controlPaddingHorizontalSM:me,controlPaddingHorizontal:lt,colorFillAlter:Fe,colorPrimaryHover:Pe,colorPrimary:Ve,controlOutlineWidth:C,controlOutline:he,colorErrorOutline:s,colorWarningOutline:h,colorBgContainer:oe,inputFontSize:le,inputFontSizeLG:v,inputFontSizeSM:je}=L,Oe=le||D,ne=je||Oe,Re=v||V,de=Math.round((x-Oe*E)/2*10)/10-Z,H=Math.round((K-ne*E)/2*10)/10-Z,n=Math.ceil((r-Re*M)/2*10)/10-Z;return{paddingBlock:Math.max(de,0),paddingBlockSM:Math.max(H,0),paddingBlockLG:Math.max(n,0),paddingInline:P-Z,paddingInlineSM:me-Z,paddingInlineLG:lt-Z,addonBg:Fe,activeBorderColor:Ve,hoverBorderColor:Pe,activeShadow:`0 0 0 ${C}px ${he}`,errorActiveShadow:`0 0 0 ${C}px ${s}`,warningActiveShadow:`0 0 0 ${C}px ${h}`,hoverBg:oe,activeBg:oe,inputFontSize:Oe,inputFontSizeLG:Re,inputFontSizeSM:ne}}},39082:function(an,Je,t){t.d(Je,{$U:function(){return x},H8:function(){return P},Mu:function(){return r},S5:function(){return lt},Xy:function(){return L},ir:function(){return K},qG:function(){return E},vc:function(){return Ve}});var e=t(36237),d=t(51636);const i=C=>({borderColor:C.hoverBorderColor,backgroundColor:C.hoverBg}),L=C=>({color:C.colorTextDisabled,backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,d.mergeToken)(C,{hoverBorderColor:C.colorBorder,hoverBg:C.colorBgContainerDisabled})))}),x=(C,he)=>({background:C.colorBgContainer,borderWidth:C.lineWidth,borderStyle:C.lineType,borderColor:he.borderColor,"&:hover":{borderColor:he.hoverBorderColor,backgroundColor:C.hoverBg},"&:focus, &:focus-within":{borderColor:he.activeBorderColor,boxShadow:he.activeShadow,outline:0,backgroundColor:C.activeBg}}),D=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},x(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}}),[`&${C.componentCls}-status-${he.status}${C.componentCls}-disabled`]:{borderColor:he.borderColor}}),E=(C,he)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x(C,{borderColor:C.colorBorder,hoverBorderColor:C.hoverBorderColor,activeBorderColor:C.activeBorderColor,activeShadow:C.activeShadow})),{[`&${C.componentCls}-disabled, &[disabled]`]:Object.assign({},L(C))}),D(C,{status:"error",borderColor:C.colorError,hoverBorderColor:C.colorErrorBorderHover,activeBorderColor:C.colorError,activeShadow:C.errorActiveShadow,affixColor:C.colorError})),D(C,{status:"warning",borderColor:C.colorWarning,hoverBorderColor:C.colorWarningBorderHover,activeBorderColor:C.colorWarning,activeShadow:C.warningActiveShadow,affixColor:C.colorWarning})),he)}),Z=(C,he)=>({[`&${C.componentCls}-group-wrapper-status-${he.status}`]:{[`${C.componentCls}-group-addon`]:{borderColor:he.addonBorderColor,color:he.addonColor}}}),K=C=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${C.componentCls}-group`]:{"&-addon":{background:C.addonBg,border:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Z(C,{status:"error",addonBorderColor:C.colorError,addonColor:C.colorErrorText})),Z(C,{status:"warning",addonBorderColor:C.colorWarning,addonColor:C.colorWarningText})),{[`&${C.componentCls}-group-wrapper-disabled`]:{[`${C.componentCls}-group-addon`]:Object.assign({},L(C))}})}),r=(C,he)=>{const{componentCls:s}=C;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${s}-disabled, &[disabled]`]:{color:C.colorTextDisabled,cursor:"not-allowed"},[`&${s}-status-error`]:{"&, & input, & textarea":{color:C.colorError}},[`&${s}-status-warning`]:{"&, & input, & textarea":{color:C.colorWarning}}},he)}},V=(C,he)=>{var s;return{background:he.bg,borderWidth:C.lineWidth,borderStyle:C.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(s=he==null?void 0:he.inputColor)!==null&&s!==void 0?s:"unset"},"&:hover":{background:he.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:he.activeBorderColor,backgroundColor:C.activeBg}}},M=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},V(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}})}),P=(C,he)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V(C,{bg:C.colorFillTertiary,hoverBg:C.colorFillSecondary,activeBorderColor:C.activeBorderColor})),{[`&${C.componentCls}-disabled, &[disabled]`]:Object.assign({},L(C))}),M(C,{status:"error",bg:C.colorErrorBg,hoverBg:C.colorErrorBgHover,activeBorderColor:C.colorError,inputColor:C.colorErrorText,affixColor:C.colorError})),M(C,{status:"warning",bg:C.colorWarningBg,hoverBg:C.colorWarningBgHover,activeBorderColor:C.colorWarning,inputColor:C.colorWarningText,affixColor:C.colorWarning})),he)}),me=(C,he)=>({[`&${C.componentCls}-group-wrapper-status-${he.status}`]:{[`${C.componentCls}-group-addon`]:{background:he.addonBg,color:he.addonColor}}}),lt=C=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${C.componentCls}-group`]:{"&-addon":{background:C.colorFillTertiary},[`${C.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorSplit}`}}}},me(C,{status:"error",addonBg:C.colorErrorBg,addonColor:C.colorErrorText})),me(C,{status:"warning",addonBg:C.colorWarningBg,addonColor:C.colorWarningText})),{[`&${C.componentCls}-group-wrapper-disabled`]:{[`${C.componentCls}-group`]:{"&-addon":{background:C.colorFillTertiary,color:C.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderTop:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderBottom:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderTop:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderBottom:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`}}}})}),Fe=(C,he)=>({background:C.colorBgContainer,borderWidth:`${(0,e.unit)(C.lineWidth)} 0`,borderStyle:`${C.lineType} none`,borderColor:`transparent transparent ${he.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${he.borderColor} transparent`,backgroundColor:C.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${he.borderColor} transparent`,outline:0,backgroundColor:C.activeBg}}),Pe=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},Fe(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}}),[`&${C.componentCls}-status-${he.status}${C.componentCls}-disabled`]:{borderColor:`transparent transparent ${he.borderColor} transparent`}}),Ve=(C,he)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Fe(C,{borderColor:C.colorBorder,hoverBorderColor:C.hoverBorderColor,activeBorderColor:C.activeBorderColor,activeShadow:C.activeShadow})),{[`&${C.componentCls}-disabled, &[disabled]`]:{color:C.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${C.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Pe(C,{status:"error",borderColor:C.colorError,hoverBorderColor:C.colorErrorBorderHover,activeBorderColor:C.colorError,activeShadow:C.errorActiveShadow,affixColor:C.colorError})),Pe(C,{status:"warning",borderColor:C.colorWarning,hoverBorderColor:C.colorWarningBorderHover,activeBorderColor:C.colorWarning,activeShadow:C.warningActiveShadow,affixColor:C.colorWarning})),he)})},24303:function(an,Je,t){t.d(Je,{D:function(){return le},Z:function(){return Oe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},L=i,x=t(7657),D=function(Re,de){return e.createElement(x.Z,(0,d.Z)({},Re,{ref:de,icon:L}))},E=e.forwardRef(D),Z=E,K=t(33853),r=t(38819),V=t(92310),M=t.n(V),P=t(2738),me=t(48755),lt=t(6989),Fe=t(36237),Pe=t(48923),Ve=t(16931);const C=ne=>{const{componentCls:Re,siderBg:de,motionDurationMid:H,motionDurationSlow:n,antCls:ce,triggerHeight:T,triggerColor:ze,triggerBg:xe,headerHeight:We,zeroTriggerWidth:st,zeroTriggerHeight:at,borderRadiusLG:Ae,lightSiderBg:tt,lightTriggerColor:q,lightTriggerBg:Se,bodyBg:ge}=ne;return{[Re]:{position:"relative",minWidth:0,background:de,transition:`all ${H}, background 0s`,"&-has-trigger":{paddingBottom:T},"&-right":{order:1},[`${Re}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Re}-children`]:{overflow:"hidden"},[`${Re}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:T,color:ze,lineHeight:(0,Fe.unit)(T),textAlign:"center",background:xe,cursor:"pointer",transition:`all ${H}`},[`${Re}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:ne.calc(st).mul(-1).equal(),zIndex:1,width:st,height:at,color:ze,fontSize:ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:de,borderRadius:`0 ${(0,Fe.unit)(Ae)} ${(0,Fe.unit)(Ae)} 0`,cursor:"pointer",transition:`background ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ne.calc(st).mul(-1).equal(),borderRadius:`${(0,Fe.unit)(Ae)} 0 0 ${(0,Fe.unit)(Ae)}`}},"&-light":{background:tt,[`${Re}-trigger`]:{color:q,background:Se},[`${Re}-zero-width-trigger`]:{color:q,background:Se,border:`1px solid ${ge}`,borderInlineStart:0}}}}};var he=(0,Ve.I$)(["Layout","Sider"],ne=>[C(ne)],Pe.eh,{deprecatedTokens:Pe.jn}),s=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n!Number.isNaN(Number.parseFloat(ne))&&isFinite(ne),le=e.createContext({}),v=(()=>{let ne=0;return function(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${Re}${ne}`}})();var Oe=e.forwardRef((ne,Re)=>{const{prefixCls:de,className:H,trigger:n,children:ce,defaultCollapsed:T=!1,theme:ze="dark",style:xe={},collapsible:We=!1,reverseArrow:st=!1,width:at=200,collapsedWidth:Ae=80,zeroWidthTriggerStyle:tt,breakpoint:q,onCollapse:Se,onBreakpoint:ge}=ne,Qe=s(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ie}=(0,e.useContext)(lt.V),[qe,Ke]=(0,e.useState)("collapsed"in ne?ne.collapsed:T),[bt,Te]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ne&&Ke(ne.collapsed)},[ne.collapsed]);const k=(it,et)=>{"collapsed"in ne||Ke(it),Se==null||Se(it,et)},{getPrefixCls:R,direction:U}=(0,e.useContext)(me.E_),p=R("layout-sider",de),[fe,z,o]=he(p),f=(0,e.useRef)(null);f.current=it=>{Te(it.matches),ge==null||ge(it.matches),qe!==it.matches&&k(it.matches,"responsive")},(0,e.useEffect)(()=>{function it(w){return f.current(w)}let et;if(typeof window!="undefined"){const{matchMedia:w}=window;if(w&&q&&q in h){et=w(`screen and (max-width: ${h[q]})`);try{et.addEventListener("change",it)}catch(pe){et.addListener(it)}it(et)}}return()=>{try{et==null||et.removeEventListener("change",it)}catch(w){et==null||et.removeListener(it)}}},[q]),(0,e.useEffect)(()=>{const it=v("ant-sider-");return ie.addSider(it),()=>ie.removeSider(it)},[]);const se=()=>{k(!qe,"clickTrigger")},_=(0,P.Z)(Qe,["collapsed"]),$=qe?Ae:at,N=oe($)?`${$}px`:String($),X=parseFloat(String(Ae||0))===0?e.createElement("span",{onClick:se,className:M()(`${p}-zero-width-trigger`,`${p}-zero-width-trigger-${st?"right":"left"}`),style:tt},n||e.createElement(Z,null)):null,ue=U==="rtl"==!st,Ge={expanded:ue?e.createElement(r.Z,null):e.createElement(K.Z,null),collapsed:ue?e.createElement(K.Z,null):e.createElement(r.Z,null)}[qe?"collapsed":"expanded"],G=n!==null?X||e.createElement("div",{className:`${p}-trigger`,onClick:se,style:{width:N}},n||Ge):null,Le=Object.assign(Object.assign({},xe),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),He=M()(p,`${p}-${ze}`,{[`${p}-collapsed`]:!!qe,[`${p}-has-trigger`]:We&&n!==null&&!X,[`${p}-below`]:!!bt,[`${p}-zero-width`]:parseFloat(N)===0},H,z,o),nt=e.useMemo(()=>({siderCollapsed:qe}),[qe]);return fe(e.createElement(le.Provider,{value:nt},e.createElement("aside",Object.assign({className:He},_,{style:Le,ref:Re}),e.createElement("div",{className:`${p}-children`},ce),We||bt&&X?G:null)))})},6989:function(an,Je,t){t.d(Je,{V:function(){return d}});var e=t(59301);const d=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(an,Je,t){t.d(Je,{eh:function(){return L},jn:function(){return x}});var e=t(36237),d=t(16931);const i=D=>{const{antCls:E,componentCls:Z,colorText:K,footerBg:r,headerHeight:V,headerPadding:M,headerColor:P,footerPadding:me,fontSize:lt,bodyBg:Fe,headerBg:Pe}=D;return{[Z]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Fe,"&, *":{boxSizing:"border-box"},[`&${Z}-has-sider`]:{flexDirection:"row",[`> ${Z}, > ${Z}-content`]:{width:0}},[`${Z}-header, &${Z}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Z}-header`]:{height:V,padding:M,color:P,lineHeight:(0,e.unit)(V),background:Pe,[`${E}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:me,color:K,fontSize:lt,background:r},[`${Z}-content`]:{flex:"auto",color:K,minHeight:0}}},L=D=>{const{colorBgLayout:E,controlHeight:Z,controlHeightLG:K,colorText:r,controlHeightSM:V,marginXXS:M,colorTextLightSolid:P,colorBgContainer:me}=D,lt=K*1.25;return{colorBgHeader:"#001529",colorBgBody:E,colorBgTrigger:"#002140",bodyBg:E,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${lt}px`,headerColor:r,footerPadding:`${V}px ${lt}px`,footerBg:E,siderBg:"#001529",triggerHeight:K+M*2,triggerBg:"#002140",triggerColor:P,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:me,lightTriggerBg:me,lightTriggerColor:r}},x=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Je.ZP=(0,d.I$)("Layout",D=>[i(D)],L,{deprecatedTokens:x})},78857:function(an,Je,t){t.d(Je,{J:function(){return D}});var e=t(59301),d=t(8654),i=t(62487),L=function(E,Z){var K={};for(var r in E)Object.prototype.hasOwnProperty.call(E,r)&&Z.indexOf(r)<0&&(K[r]=E[r]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,r=Object.getOwnPropertySymbols(E);V{const{children:K}=E,r=L(E,["children"]),V=e.useContext(x),M=e.useMemo(()=>Object.assign(Object.assign({},V),r),[V,r.prefixCls,r.mode,r.selectable,r.rootClassName]),P=(0,d.t4)(K),me=(0,d.x1)(Z,P?(0,d.C4)(K):null);return e.createElement(x.Provider,{value:M},e.createElement(i.Z,{space:!0},P?e.cloneElement(K,{ref:me}):K))});Je.Z=x},93041:function(an,Je,t){t.d(Je,{default:function(){return fe}});var e=t(59301),d=t(28321),i=t(24303),L=t(18785),x=t(92310),D=t.n(x),E=t(6089),Z=t(2738),K=t(86641),r=t(22703),V=t(48755),M=t(83397),me=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),lt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,se=Object.getOwnPropertySymbols(z);_{const{prefixCls:o,className:f,dashed:se}=z,_=lt(z,["prefixCls","className","dashed"]),{getPrefixCls:$}=e.useContext(V.E_),N=$("menu",o),X=D()({[`${N}-item-divider-dashed`]:!!se},f);return e.createElement(d.iz,Object.assign({className:X},_))},Ve=t(11592),C=t(25399),s=z=>{var o;const{className:f,children:se,icon:_,title:$,danger:N,extra:X}=z,{prefixCls:ue,firstLevel:c,direction:y,disableMenuItemTitleTooltip:Ge,inlineCollapsed:G}=e.useContext(me),Le=pe=>{const Ze=se==null?void 0:se[0],Ue=e.createElement("span",{className:D()(`${ue}-title-content`,{[`${ue}-title-content-with-extra`]:!!X||X===0})},se);return(!_||e.isValidElement(se)&&se.type==="span")&&se&&pe&&c&&typeof Ze=="string"?e.createElement("div",{className:`${ue}-inline-collapsed-noicon`},Ze.charAt(0)):Ue},{siderCollapsed:He}=e.useContext(i.D);let nt=$;typeof $=="undefined"?nt=c?se:"":$===!1&&(nt="");const it={title:nt};!He&&!G&&(it.title=null,it.open=!1);const et=(0,Ve.Z)(se).length;let w=e.createElement(d.ck,Object.assign({},(0,Z.Z)(z,["title","icon","danger"]),{className:D()({[`${ue}-item-danger`]:N,[`${ue}-item-only-child`]:(_?et+1:et)===1},f),title:typeof $=="string"?$:void 0}),(0,r.Tm)(_,{className:D()(e.isValidElement(_)?(o=_.props)===null||o===void 0?void 0:o.className:"",`${ue}-item-icon`)}),Le(G));return Ge||(w=e.createElement(C.Z,Object.assign({},it,{placement:y==="rtl"?"left":"right",classNames:{root:`${ue}-inline-collapsed-tooltip`}}),w)),w},h=t(78857),oe=t(36237),le=t(17835),v=t(63356),je=t(34961),Oe=t(46e3),ne=t(34925),Re=t(16931),de=t(51636),n=z=>{const{componentCls:o,motionDurationSlow:f,horizontalLineHeight:se,colorSplit:_,lineWidth:$,lineType:N,itemPaddingInline:X}=z;return{[`${o}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${(0,oe.unit)($)} ${N} ${_}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${o}-item, ${o}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:X},[`> ${o}-item:hover, + ${h}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${h}-affix-wrapper-focused`]:{zIndex:2}}}}},C=s=>{const{componentCls:h}=s;return{[`${h}-out-of-range`]:{[`&, & input, & textarea, ${h}-show-count-suffix, ${h}-data-count`]:{color:s.colorError}}}},he=(0,L.I$)(["Input","Shared"],s=>{const h=(0,x.mergeToken)(s,(0,D.e)(s));return[me(h),Fe(h)]},D.T,{resetFont:!1});Je.ZP=(0,L.I$)(["Input","Component"],s=>{const h=(0,x.mergeToken)(s,(0,D.e)(s));return[Pe(h),Ve(h),C(h),(0,i.c)(h)]},D.T,{resetFont:!1})},64910:function(an,Je,t){t.d(Je,{T:function(){return i},e:function(){return d}});var e=t(51636);function d(L){return(0,e.mergeToken)(L,{inputAffixPadding:L.paddingXXS})}const i=L=>{const{controlHeight:x,fontSize:D,lineHeight:E,lineWidth:Z,controlHeightSM:K,controlHeightLG:r,fontSizeLG:U,lineHeightLG:M,paddingSM:P,controlPaddingHorizontalSM:me,controlPaddingHorizontal:lt,colorFillAlter:Fe,colorPrimaryHover:Pe,colorPrimary:Ve,controlOutlineWidth:C,controlOutline:he,colorErrorOutline:s,colorWarningOutline:h,colorBgContainer:oe,inputFontSize:le,inputFontSizeLG:v,inputFontSizeSM:je}=L,Oe=le||D,ne=je||Oe,Re=v||U,de=Math.round((x-Oe*E)/2*10)/10-Z,H=Math.round((K-ne*E)/2*10)/10-Z,n=Math.ceil((r-Re*M)/2*10)/10-Z;return{paddingBlock:Math.max(de,0),paddingBlockSM:Math.max(H,0),paddingBlockLG:Math.max(n,0),paddingInline:P-Z,paddingInlineSM:me-Z,paddingInlineLG:lt-Z,addonBg:Fe,activeBorderColor:Ve,hoverBorderColor:Pe,activeShadow:`0 0 0 ${C}px ${he}`,errorActiveShadow:`0 0 0 ${C}px ${s}`,warningActiveShadow:`0 0 0 ${C}px ${h}`,hoverBg:oe,activeBg:oe,inputFontSize:Oe,inputFontSizeLG:Re,inputFontSizeSM:ne}}},39082:function(an,Je,t){t.d(Je,{$U:function(){return x},H8:function(){return P},Mu:function(){return r},S5:function(){return lt},Xy:function(){return L},ir:function(){return K},qG:function(){return E},vc:function(){return Ve}});var e=t(36237),d=t(51636);const i=C=>({borderColor:C.hoverBorderColor,backgroundColor:C.hoverBg}),L=C=>({color:C.colorTextDisabled,backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,d.mergeToken)(C,{hoverBorderColor:C.colorBorder,hoverBg:C.colorBgContainerDisabled})))}),x=(C,he)=>({background:C.colorBgContainer,borderWidth:C.lineWidth,borderStyle:C.lineType,borderColor:he.borderColor,"&:hover":{borderColor:he.hoverBorderColor,backgroundColor:C.hoverBg},"&:focus, &:focus-within":{borderColor:he.activeBorderColor,boxShadow:he.activeShadow,outline:0,backgroundColor:C.activeBg}}),D=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},x(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}}),[`&${C.componentCls}-status-${he.status}${C.componentCls}-disabled`]:{borderColor:he.borderColor}}),E=(C,he)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x(C,{borderColor:C.colorBorder,hoverBorderColor:C.hoverBorderColor,activeBorderColor:C.activeBorderColor,activeShadow:C.activeShadow})),{[`&${C.componentCls}-disabled, &[disabled]`]:Object.assign({},L(C))}),D(C,{status:"error",borderColor:C.colorError,hoverBorderColor:C.colorErrorBorderHover,activeBorderColor:C.colorError,activeShadow:C.errorActiveShadow,affixColor:C.colorError})),D(C,{status:"warning",borderColor:C.colorWarning,hoverBorderColor:C.colorWarningBorderHover,activeBorderColor:C.colorWarning,activeShadow:C.warningActiveShadow,affixColor:C.colorWarning})),he)}),Z=(C,he)=>({[`&${C.componentCls}-group-wrapper-status-${he.status}`]:{[`${C.componentCls}-group-addon`]:{borderColor:he.addonBorderColor,color:he.addonColor}}}),K=C=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${C.componentCls}-group`]:{"&-addon":{background:C.addonBg,border:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Z(C,{status:"error",addonBorderColor:C.colorError,addonColor:C.colorErrorText})),Z(C,{status:"warning",addonBorderColor:C.colorWarning,addonColor:C.colorWarningText})),{[`&${C.componentCls}-group-wrapper-disabled`]:{[`${C.componentCls}-group-addon`]:Object.assign({},L(C))}})}),r=(C,he)=>{const{componentCls:s}=C;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${s}-disabled, &[disabled]`]:{color:C.colorTextDisabled,cursor:"not-allowed"},[`&${s}-status-error`]:{"&, & input, & textarea":{color:C.colorError}},[`&${s}-status-warning`]:{"&, & input, & textarea":{color:C.colorWarning}}},he)}},U=(C,he)=>{var s;return{background:he.bg,borderWidth:C.lineWidth,borderStyle:C.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(s=he==null?void 0:he.inputColor)!==null&&s!==void 0?s:"unset"},"&:hover":{background:he.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:he.activeBorderColor,backgroundColor:C.activeBg}}},M=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},U(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}})}),P=(C,he)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},U(C,{bg:C.colorFillTertiary,hoverBg:C.colorFillSecondary,activeBorderColor:C.activeBorderColor})),{[`&${C.componentCls}-disabled, &[disabled]`]:Object.assign({},L(C))}),M(C,{status:"error",bg:C.colorErrorBg,hoverBg:C.colorErrorBgHover,activeBorderColor:C.colorError,inputColor:C.colorErrorText,affixColor:C.colorError})),M(C,{status:"warning",bg:C.colorWarningBg,hoverBg:C.colorWarningBgHover,activeBorderColor:C.colorWarning,inputColor:C.colorWarningText,affixColor:C.colorWarning})),he)}),me=(C,he)=>({[`&${C.componentCls}-group-wrapper-status-${he.status}`]:{[`${C.componentCls}-group-addon`]:{background:he.addonBg,color:he.addonColor}}}),lt=C=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${C.componentCls}-group`]:{"&-addon":{background:C.colorFillTertiary},[`${C.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorSplit}`}}}},me(C,{status:"error",addonBg:C.colorErrorBg,addonColor:C.colorErrorText})),me(C,{status:"warning",addonBg:C.colorWarningBg,addonColor:C.colorWarningText})),{[`&${C.componentCls}-group-wrapper-disabled`]:{[`${C.componentCls}-group`]:{"&-addon":{background:C.colorFillTertiary,color:C.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderTop:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderBottom:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderTop:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`,borderBottom:`${(0,e.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorder}`}}}})}),Fe=(C,he)=>({background:C.colorBgContainer,borderWidth:`${(0,e.unit)(C.lineWidth)} 0`,borderStyle:`${C.lineType} none`,borderColor:`transparent transparent ${he.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${he.borderColor} transparent`,backgroundColor:C.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${he.borderColor} transparent`,outline:0,backgroundColor:C.activeBg}}),Pe=(C,he)=>({[`&${C.componentCls}-status-${he.status}:not(${C.componentCls}-disabled)`]:Object.assign(Object.assign({},Fe(C,he)),{[`${C.componentCls}-prefix, ${C.componentCls}-suffix`]:{color:he.affixColor}}),[`&${C.componentCls}-status-${he.status}${C.componentCls}-disabled`]:{borderColor:`transparent transparent ${he.borderColor} transparent`}}),Ve=(C,he)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Fe(C,{borderColor:C.colorBorder,hoverBorderColor:C.hoverBorderColor,activeBorderColor:C.activeBorderColor,activeShadow:C.activeShadow})),{[`&${C.componentCls}-disabled, &[disabled]`]:{color:C.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${C.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Pe(C,{status:"error",borderColor:C.colorError,hoverBorderColor:C.colorErrorBorderHover,activeBorderColor:C.colorError,activeShadow:C.errorActiveShadow,affixColor:C.colorError})),Pe(C,{status:"warning",borderColor:C.colorWarning,hoverBorderColor:C.colorWarningBorderHover,activeBorderColor:C.colorWarning,activeShadow:C.warningActiveShadow,affixColor:C.colorWarning})),he)})},24303:function(an,Je,t){t.d(Je,{D:function(){return le},Z:function(){return Oe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},L=i,x=t(7657),D=function(Re,de){return e.createElement(x.Z,(0,d.Z)({},Re,{ref:de,icon:L}))},E=e.forwardRef(D),Z=E,K=t(33853),r=t(38819),U=t(92310),M=t.n(U),P=t(2738),me=t(48755),lt=t(6989),Fe=t(36237),Pe=t(48923),Ve=t(16931);const C=ne=>{const{componentCls:Re,siderBg:de,motionDurationMid:H,motionDurationSlow:n,antCls:ce,triggerHeight:T,triggerColor:ze,triggerBg:xe,headerHeight:We,zeroTriggerWidth:st,zeroTriggerHeight:at,borderRadiusLG:Ae,lightSiderBg:tt,lightTriggerColor:q,lightTriggerBg:Se,bodyBg:ge}=ne;return{[Re]:{position:"relative",minWidth:0,background:de,transition:`all ${H}, background 0s`,"&-has-trigger":{paddingBottom:T},"&-right":{order:1},[`${Re}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Re}-children`]:{overflow:"hidden"},[`${Re}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:T,color:ze,lineHeight:(0,Fe.unit)(T),textAlign:"center",background:xe,cursor:"pointer",transition:`all ${H}`},[`${Re}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:ne.calc(st).mul(-1).equal(),zIndex:1,width:st,height:at,color:ze,fontSize:ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:de,borderRadius:`0 ${(0,Fe.unit)(Ae)} ${(0,Fe.unit)(Ae)} 0`,cursor:"pointer",transition:`background ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ne.calc(st).mul(-1).equal(),borderRadius:`${(0,Fe.unit)(Ae)} 0 0 ${(0,Fe.unit)(Ae)}`}},"&-light":{background:tt,[`${Re}-trigger`]:{color:q,background:Se},[`${Re}-zero-width-trigger`]:{color:q,background:Se,border:`1px solid ${ge}`,borderInlineStart:0}}}}};var he=(0,Ve.I$)(["Layout","Sider"],ne=>[C(ne)],Pe.eh,{deprecatedTokens:Pe.jn}),s=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n!Number.isNaN(Number.parseFloat(ne))&&isFinite(ne),le=e.createContext({}),v=(()=>{let ne=0;return function(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${Re}${ne}`}})();var Oe=e.forwardRef((ne,Re)=>{const{prefixCls:de,className:H,trigger:n,children:ce,defaultCollapsed:T=!1,theme:ze="dark",style:xe={},collapsible:We=!1,reverseArrow:st=!1,width:at=200,collapsedWidth:Ae=80,zeroWidthTriggerStyle:tt,breakpoint:q,onCollapse:Se,onBreakpoint:ge}=ne,Qe=s(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ie}=(0,e.useContext)(lt.V),[qe,Ke]=(0,e.useState)("collapsed"in ne?ne.collapsed:T),[bt,Te]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ne&&Ke(ne.collapsed)},[ne.collapsed]);const k=(it,et)=>{"collapsed"in ne||Ke(it),Se==null||Se(it,et)},{getPrefixCls:R,direction:X}=(0,e.useContext)(me.E_),p=R("layout-sider",de),[fe,z,o]=he(p),f=(0,e.useRef)(null);f.current=it=>{Te(it.matches),ge==null||ge(it.matches),qe!==it.matches&&k(it.matches,"responsive")},(0,e.useEffect)(()=>{function it(w){return f.current(w)}let et;if(typeof window!="undefined"){const{matchMedia:w}=window;if(w&&q&&q in h){et=w(`screen and (max-width: ${h[q]})`);try{et.addEventListener("change",it)}catch(pe){et.addListener(it)}it(et)}}return()=>{try{et==null||et.removeEventListener("change",it)}catch(w){et==null||et.removeListener(it)}}},[q]),(0,e.useEffect)(()=>{const it=v("ant-sider-");return ie.addSider(it),()=>ie.removeSider(it)},[]);const se=()=>{k(!qe,"clickTrigger")},_=(0,P.Z)(Qe,["collapsed"]),$=qe?Ae:at,N=oe($)?`${$}px`:String($),G=parseFloat(String(Ae||0))===0?e.createElement("span",{onClick:se,className:M()(`${p}-zero-width-trigger`,`${p}-zero-width-trigger-${st?"right":"left"}`),style:tt},n||e.createElement(Z,null)):null,ue=X==="rtl"==!st,Ge={expanded:ue?e.createElement(r.Z,null):e.createElement(K.Z,null),collapsed:ue?e.createElement(K.Z,null):e.createElement(r.Z,null)}[qe?"collapsed":"expanded"],W=n!==null?G||e.createElement("div",{className:`${p}-trigger`,onClick:se,style:{width:N}},n||Ge):null,Le=Object.assign(Object.assign({},xe),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),He=M()(p,`${p}-${ze}`,{[`${p}-collapsed`]:!!qe,[`${p}-has-trigger`]:We&&n!==null&&!G,[`${p}-below`]:!!bt,[`${p}-zero-width`]:parseFloat(N)===0},H,z,o),nt=e.useMemo(()=>({siderCollapsed:qe}),[qe]);return fe(e.createElement(le.Provider,{value:nt},e.createElement("aside",Object.assign({className:He},_,{style:Le,ref:Re}),e.createElement("div",{className:`${p}-children`},ce),We||bt&&G?W:null)))})},6989:function(an,Je,t){t.d(Je,{V:function(){return d}});var e=t(59301);const d=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(an,Je,t){t.d(Je,{eh:function(){return L},jn:function(){return x}});var e=t(36237),d=t(16931);const i=D=>{const{antCls:E,componentCls:Z,colorText:K,footerBg:r,headerHeight:U,headerPadding:M,headerColor:P,footerPadding:me,fontSize:lt,bodyBg:Fe,headerBg:Pe}=D;return{[Z]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Fe,"&, *":{boxSizing:"border-box"},[`&${Z}-has-sider`]:{flexDirection:"row",[`> ${Z}, > ${Z}-content`]:{width:0}},[`${Z}-header, &${Z}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Z}-header`]:{height:U,padding:M,color:P,lineHeight:(0,e.unit)(U),background:Pe,[`${E}-menu`]:{lineHeight:"inherit"}},[`${Z}-footer`]:{padding:me,color:K,fontSize:lt,background:r},[`${Z}-content`]:{flex:"auto",color:K,minHeight:0}}},L=D=>{const{colorBgLayout:E,controlHeight:Z,controlHeightLG:K,colorText:r,controlHeightSM:U,marginXXS:M,colorTextLightSolid:P,colorBgContainer:me}=D,lt=K*1.25;return{colorBgHeader:"#001529",colorBgBody:E,colorBgTrigger:"#002140",bodyBg:E,headerBg:"#001529",headerHeight:Z*2,headerPadding:`0 ${lt}px`,headerColor:r,footerPadding:`${U}px ${lt}px`,footerBg:E,siderBg:"#001529",triggerHeight:K+M*2,triggerBg:"#002140",triggerColor:P,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:me,lightTriggerBg:me,lightTriggerColor:r}},x=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Je.ZP=(0,d.I$)("Layout",D=>[i(D)],L,{deprecatedTokens:x})},78857:function(an,Je,t){t.d(Je,{J:function(){return D}});var e=t(59301),d=t(8654),i=t(62487),L=function(E,Z){var K={};for(var r in E)Object.prototype.hasOwnProperty.call(E,r)&&Z.indexOf(r)<0&&(K[r]=E[r]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,r=Object.getOwnPropertySymbols(E);U{const{children:K}=E,r=L(E,["children"]),U=e.useContext(x),M=e.useMemo(()=>Object.assign(Object.assign({},U),r),[U,r.prefixCls,r.mode,r.selectable,r.rootClassName]),P=(0,d.t4)(K),me=(0,d.x1)(Z,P?(0,d.C4)(K):null);return e.createElement(x.Provider,{value:M},e.createElement(i.Z,{space:!0},P?e.cloneElement(K,{ref:me}):K))});Je.Z=x},93041:function(an,Je,t){t.d(Je,{default:function(){return fe}});var e=t(59301),d=t(28321),i=t(24303),L=t(18785),x=t(92310),D=t.n(x),E=t(6089),Z=t(2738),K=t(86641),r=t(22703),U=t(48755),M=t(83397),me=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),lt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,se=Object.getOwnPropertySymbols(z);_{const{prefixCls:o,className:f,dashed:se}=z,_=lt(z,["prefixCls","className","dashed"]),{getPrefixCls:$}=e.useContext(U.E_),N=$("menu",o),G=D()({[`${N}-item-divider-dashed`]:!!se},f);return e.createElement(d.iz,Object.assign({className:G},_))},Ve=t(11592),C=t(25399),s=z=>{var o;const{className:f,children:se,icon:_,title:$,danger:N,extra:G}=z,{prefixCls:ue,firstLevel:c,direction:y,disableMenuItemTitleTooltip:Ge,inlineCollapsed:W}=e.useContext(me),Le=pe=>{const Ze=se==null?void 0:se[0],Ue=e.createElement("span",{className:D()(`${ue}-title-content`,{[`${ue}-title-content-with-extra`]:!!G||G===0})},se);return(!_||e.isValidElement(se)&&se.type==="span")&&se&&pe&&c&&typeof Ze=="string"?e.createElement("div",{className:`${ue}-inline-collapsed-noicon`},Ze.charAt(0)):Ue},{siderCollapsed:He}=e.useContext(i.D);let nt=$;typeof $=="undefined"?nt=c?se:"":$===!1&&(nt="");const it={title:nt};!He&&!W&&(it.title=null,it.open=!1);const et=(0,Ve.Z)(se).length;let w=e.createElement(d.ck,Object.assign({},(0,Z.Z)(z,["title","icon","danger"]),{className:D()({[`${ue}-item-danger`]:N,[`${ue}-item-only-child`]:(_?et+1:et)===1},f),title:typeof $=="string"?$:void 0}),(0,r.Tm)(_,{className:D()(e.isValidElement(_)?(o=_.props)===null||o===void 0?void 0:o.className:"",`${ue}-item-icon`)}),Le(W));return Ge||(w=e.createElement(C.Z,Object.assign({},it,{placement:y==="rtl"?"left":"right",classNames:{root:`${ue}-inline-collapsed-tooltip`}}),w)),w},h=t(78857),oe=t(36237),le=t(17835),v=t(63356),je=t(34961),Oe=t(46e3),ne=t(34925),Re=t(16931),de=t(51636),n=z=>{const{componentCls:o,motionDurationSlow:f,horizontalLineHeight:se,colorSplit:_,lineWidth:$,lineType:N,itemPaddingInline:G}=z;return{[`${o}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${(0,oe.unit)($)} ${N} ${_}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${o}-item, ${o}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:G},[`> ${o}-item:hover, > ${o}-item-active, > ${o}-submenu ${o}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${o}-item, ${o}-submenu-title`]:{transition:[`border-color ${f}`,`background ${f}`].join(",")},[`${o}-submenu-arrow`]:{display:"none"}}}},T=z=>{let{componentCls:o,menuArrowOffset:f,calc:se}=z;return{[`${o}-rtl`]:{direction:"rtl"},[`${o}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${o}-rtl${o}-vertical, - ${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,oe.unit)(se(f).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,oe.unit)(f)})`}}}}};const ze=z=>Object.assign({},(0,v.oN)(z));var We=(z,o)=>{const{componentCls:f,itemColor:se,itemSelectedColor:_,subMenuItemSelectedColor:$,groupTitleColor:N,itemBg:X,subMenuItemBg:ue,itemSelectedBg:c,activeBarHeight:y,activeBarWidth:Ge,activeBarBorderWidth:G,motionDurationSlow:Le,motionEaseInOut:He,motionEaseOut:nt,itemPaddingInline:it,motionDurationMid:et,itemHoverColor:w,lineType:pe,colorSplit:Ze,itemDisabledColor:Ue,dangerItemColor:ot,dangerItemHoverColor:Tt,dangerItemSelectedColor:ct,dangerItemActiveBg:dt,dangerItemSelectedBg:Rt,popupBg:Vt,itemHoverBg:Ht,itemActiveBg:Xt,menuSubMenuBg:wt,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:yt,horizontalItemBorderRadius:Bt,horizontalItemHoverBg:Pt}=z;return{[`${f}-${o}, ${f}-${o} > ${f}`]:{color:se,background:X,[`&${f}-root:focus-visible`]:Object.assign({},ze(z)),[`${f}-item`]:{"&-group-title, &-extra":{color:N}},[`${f}-submenu-selected > ${f}-submenu-title`]:{color:$},[`${f}-item, ${f}-submenu-title`]:{color:se,[`&:not(${f}-item-disabled):focus-visible`]:Object.assign({},ze(z))},[`${f}-item-disabled, ${f}-submenu-disabled`]:{color:`${Ue} !important`},[`${f}-item:not(${f}-item-selected):not(${f}-submenu-selected)`]:{[`&:hover, > ${f}-submenu-title:hover`]:{color:w}},[`&:not(${f}-horizontal)`]:{[`${f}-item:not(${f}-item-selected)`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}},[`${f}-submenu-title`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}}},[`${f}-item-danger`]:{color:ot,[`&${f}-item:hover`]:{[`&:not(${f}-item-selected):not(${f}-submenu-selected)`]:{color:Tt}},[`&${f}-item:active`]:{background:dt}},[`${f}-item a`]:{"&, &:hover":{color:"inherit"}},[`${f}-item-selected`]:{color:_,[`&${f}-item-danger`]:{color:ct},"a, a:hover":{color:"inherit"}},[`& ${f}-item-selected`]:{backgroundColor:c,[`&${f}-item-danger`]:{backgroundColor:Rt}},[`&${f}-submenu > ${f}`]:{backgroundColor:wt},[`&${f}-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-submenu-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${f}-item, > ${f}-submenu`]:{top:G,marginTop:z.calc(G).mul(-1).equal(),marginBottom:0,borderRadius:Bt,"&::after":{position:"absolute",insetInline:it,bottom:0,borderBottom:`${(0,oe.unit)(y)} solid transparent`,transition:`border-color ${Le} ${He}`,content:'""'},"&:hover, &-active, &-open":{background:Pt,"&::after":{borderBottomWidth:y,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:yt,"&:hover":{backgroundColor:yt},"&::after":{borderBottomWidth:y,borderBottomColor:Ut}}}}),[`&${f}-root`]:{[`&${f}-inline, &${f}-vertical`]:{borderInlineEnd:`${(0,oe.unit)(G)} ${pe} ${Ze}`}},[`&${f}-inline`]:{[`${f}-sub${f}-inline`]:{background:ue},[`${f}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,oe.unit)(Ge)} solid ${_}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${et} ${nt}`,`opacity ${et} ${nt}`].join(","),content:'""'},[`&${f}-item-danger`]:{"&::after":{borderInlineEndColor:ct}}},[`${f}-selected, ${f}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${et} ${He}`,`opacity ${et} ${He}`].join(",")}}}}}};const st=z=>{const{componentCls:o,itemHeight:f,itemMarginInline:se,padding:_,menuArrowSize:$,marginXS:N,itemMarginBlock:X,itemWidth:ue,itemPaddingInline:c}=z,y=z.calc($).add(_).add(N).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:f,lineHeight:(0,oe.unit)(f),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:X,width:ue},[`> ${o}-item, + ${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,oe.unit)(se(f).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,oe.unit)(f)})`}}}}};const ze=z=>Object.assign({},(0,v.oN)(z));var We=(z,o)=>{const{componentCls:f,itemColor:se,itemSelectedColor:_,subMenuItemSelectedColor:$,groupTitleColor:N,itemBg:G,subMenuItemBg:ue,itemSelectedBg:c,activeBarHeight:y,activeBarWidth:Ge,activeBarBorderWidth:W,motionDurationSlow:Le,motionEaseInOut:He,motionEaseOut:nt,itemPaddingInline:it,motionDurationMid:et,itemHoverColor:w,lineType:pe,colorSplit:Ze,itemDisabledColor:Ue,dangerItemColor:ot,dangerItemHoverColor:Tt,dangerItemSelectedColor:ct,dangerItemActiveBg:dt,dangerItemSelectedBg:Rt,popupBg:Vt,itemHoverBg:Ht,itemActiveBg:Xt,menuSubMenuBg:wt,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:yt,horizontalItemBorderRadius:Bt,horizontalItemHoverBg:Pt}=z;return{[`${f}-${o}, ${f}-${o} > ${f}`]:{color:se,background:G,[`&${f}-root:focus-visible`]:Object.assign({},ze(z)),[`${f}-item`]:{"&-group-title, &-extra":{color:N}},[`${f}-submenu-selected > ${f}-submenu-title`]:{color:$},[`${f}-item, ${f}-submenu-title`]:{color:se,[`&:not(${f}-item-disabled):focus-visible`]:Object.assign({},ze(z))},[`${f}-item-disabled, ${f}-submenu-disabled`]:{color:`${Ue} !important`},[`${f}-item:not(${f}-item-selected):not(${f}-submenu-selected)`]:{[`&:hover, > ${f}-submenu-title:hover`]:{color:w}},[`&:not(${f}-horizontal)`]:{[`${f}-item:not(${f}-item-selected)`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}},[`${f}-submenu-title`]:{"&:hover":{backgroundColor:Ht},"&:active":{backgroundColor:Xt}}},[`${f}-item-danger`]:{color:ot,[`&${f}-item:hover`]:{[`&:not(${f}-item-selected):not(${f}-submenu-selected)`]:{color:Tt}},[`&${f}-item:active`]:{background:dt}},[`${f}-item a`]:{"&, &:hover":{color:"inherit"}},[`${f}-item-selected`]:{color:_,[`&${f}-item-danger`]:{color:ct},"a, a:hover":{color:"inherit"}},[`& ${f}-item-selected`]:{backgroundColor:c,[`&${f}-item-danger`]:{backgroundColor:Rt}},[`&${f}-submenu > ${f}`]:{backgroundColor:wt},[`&${f}-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-submenu-popup > ${f}`]:{backgroundColor:Vt},[`&${f}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${f}-item, > ${f}-submenu`]:{top:W,marginTop:z.calc(W).mul(-1).equal(),marginBottom:0,borderRadius:Bt,"&::after":{position:"absolute",insetInline:it,bottom:0,borderBottom:`${(0,oe.unit)(y)} solid transparent`,transition:`border-color ${Le} ${He}`,content:'""'},"&:hover, &-active, &-open":{background:Pt,"&::after":{borderBottomWidth:y,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:yt,"&:hover":{backgroundColor:yt},"&::after":{borderBottomWidth:y,borderBottomColor:Ut}}}}),[`&${f}-root`]:{[`&${f}-inline, &${f}-vertical`]:{borderInlineEnd:`${(0,oe.unit)(W)} ${pe} ${Ze}`}},[`&${f}-inline`]:{[`${f}-sub${f}-inline`]:{background:ue},[`${f}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,oe.unit)(Ge)} solid ${_}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${et} ${nt}`,`opacity ${et} ${nt}`].join(","),content:'""'},[`&${f}-item-danger`]:{"&::after":{borderInlineEndColor:ct}}},[`${f}-selected, ${f}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${et} ${He}`,`opacity ${et} ${He}`].join(",")}}}}}};const st=z=>{const{componentCls:o,itemHeight:f,itemMarginInline:se,padding:_,menuArrowSize:$,marginXS:N,itemMarginBlock:G,itemWidth:ue,itemPaddingInline:c}=z,y=z.calc($).add(_).add(N).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:f,lineHeight:(0,oe.unit)(f),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:G,width:ue},[`> ${o}-item, > ${o}-submenu > ${o}-submenu-title`]:{height:f,lineHeight:(0,oe.unit)(f)},[`${o}-item-group-list ${o}-submenu-title, - ${o}-submenu-title`]:{paddingInlineEnd:y}}};var Ae=z=>{const{componentCls:o,iconCls:f,itemHeight:se,colorTextLightSolid:_,dropdownWidth:$,controlHeightLG:N,motionEaseOut:X,paddingXL:ue,itemMarginInline:c,fontSizeLG:y,motionDurationFast:Ge,motionDurationSlow:G,paddingXS:Le,boxShadowSecondary:He,collapsedWidth:nt,collapsedIconSize:it}=z,et={height:se,lineHeight:(0,oe.unit)(se),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{"&-inline, &-vertical":Object.assign({[`&${o}-root`]:{boxShadow:"none"}},st(z))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},st(z)),{boxShadow:He})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:$,maxHeight:`calc(100vh - ${(0,oe.unit)(z.calc(N).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${G}`,`background ${G}`,`padding ${Ge} ${X}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:et,[`& ${o}-item-group-title`]:{paddingInlineStart:ue}},[`${o}-item`]:et}},{[`${o}-inline-collapsed`]:{width:nt,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:y,textAlign:"center"}}},[`> ${o}-item, + ${o}-submenu-title`]:{paddingInlineEnd:y}}};var Ae=z=>{const{componentCls:o,iconCls:f,itemHeight:se,colorTextLightSolid:_,dropdownWidth:$,controlHeightLG:N,motionEaseOut:G,paddingXL:ue,itemMarginInline:c,fontSizeLG:y,motionDurationFast:Ge,motionDurationSlow:W,paddingXS:Le,boxShadowSecondary:He,collapsedWidth:nt,collapsedIconSize:it}=z,et={height:se,lineHeight:(0,oe.unit)(se),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{"&-inline, &-vertical":Object.assign({[`&${o}-root`]:{boxShadow:"none"}},st(z))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},st(z)),{boxShadow:He})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:$,maxHeight:`calc(100vh - ${(0,oe.unit)(z.calc(N).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${W}`,`background ${W}`,`padding ${Ge} ${G}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:et,[`& ${o}-item-group-title`]:{paddingInlineStart:ue}},[`${o}-item`]:et}},{[`${o}-inline-collapsed`]:{width:nt,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:y,textAlign:"center"}}},[`> ${o}-item, > ${o}-item-group > ${o}-item-group-list > ${o}-item, > ${o}-item-group > ${o}-item-group-list > ${o}-submenu > ${o}-submenu-title, > ${o}-submenu > ${o}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,oe.unit)(z.calc(it).div(2).equal())} - ${(0,oe.unit)(c)})`,textOverflow:"clip",[` ${o}-submenu-arrow, ${o}-submenu-expand-icon - `]:{opacity:0},[`${o}-item-icon, ${f}`]:{margin:0,fontSize:it,lineHeight:(0,oe.unit)(se),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${f}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${f}`]:{display:"none"},"a, a:hover":{color:_}},[`${o}-item-group-title`]:Object.assign(Object.assign({},v.vS),{paddingInline:Le})}}]};const tt=z=>{const{componentCls:o,motionDurationSlow:f,motionDurationMid:se,motionEaseInOut:_,motionEaseOut:$,iconCls:N,iconSize:X,iconMarginInlineEnd:ue}=z;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${f}`,`background ${f}`,`padding calc(${f} + 0.1s) ${_}`].join(","),[`${o}-item-icon, ${N}`]:{minWidth:X,fontSize:X,transition:[`font-size ${se} ${$}`,`margin ${f} ${_}`,`color ${f}`].join(","),"+ span":{marginInlineStart:ue,opacity:1,transition:[`opacity ${f} ${_}`,`margin ${f}`,`color ${f}`].join(",")}},[`${o}-item-icon`]:Object.assign({},(0,v.Ro)()),[`&${o}-item-only-child`]:{[`> ${N}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},q=z=>{const{componentCls:o,motionDurationSlow:f,motionEaseInOut:se,borderRadius:_,menuArrowSize:$,menuArrowOffset:N}=z;return{[`${o}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:z.margin,width:$,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${f} ${se}, opacity ${f}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:z.calc($).mul(.6).equal(),height:z.calc($).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:_,transition:[`background ${f} ${se}`,`transform ${f} ${se}`,`top ${f} ${se}`,`color ${f} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,oe.unit)(z.calc(N).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,oe.unit)(N)})`}}}}},Se=z=>{const{antCls:o,componentCls:f,fontSize:se,motionDurationSlow:_,motionDurationMid:$,motionEaseInOut:N,paddingXS:X,padding:ue,colorSplit:c,lineWidth:y,zIndexPopup:Ge,borderRadiusLG:G,subMenuItemBorderRadius:Le,menuArrowSize:He,menuArrowOffset:nt,lineType:it,groupTitleLineHeight:et,groupTitleFontSize:w}=z;return[{"":{[f]:Object.assign(Object.assign({},(0,v.dF)()),{"&-hidden":{display:"none"}})},[`${f}-submenu-hidden`]:{display:"none"}},{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.Wf)(z)),(0,v.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${f}-item`]:{flex:"none"}},[`${f}-item, ${f}-submenu, ${f}-submenu-title`]:{borderRadius:z.itemBorderRadius},[`${f}-item-group-title`]:{padding:`${(0,oe.unit)(X)} ${(0,oe.unit)(ue)}`,fontSize:w,lineHeight:et,transition:`all ${_}`},[`&-horizontal ${f}-submenu`]:{transition:[`border-color ${_} ${N}`,`background ${_} ${N}`].join(",")},[`${f}-submenu, ${f}-submenu-inline`]:{transition:[`border-color ${_} ${N}`,`background ${_} ${N}`,`padding ${$} ${N}`].join(",")},[`${f}-submenu ${f}-sub`]:{cursor:"initial",transition:[`background ${_} ${N}`,`padding ${_} ${N}`].join(",")},[`${f}-title-content`]:{transition:`color ${_}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${o}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${f}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:z.padding}},[`${f}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${f}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:it,borderWidth:0,borderTopWidth:y,marginBlock:y,padding:0,"&-dashed":{borderStyle:"dashed"}}}),tt(z)),{[`${f}-item-group`]:{[`${f}-item-group-list`]:{margin:0,padding:0,[`${f}-item, ${f}-submenu-title`]:{paddingInline:`${(0,oe.unit)(z.calc(se).mul(2).equal())} ${(0,oe.unit)(ue)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ge,borderRadius:G,boxShadow:"none",transformOrigin:"0 0",[`&${f}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${f}`]:Object.assign(Object.assign(Object.assign({borderRadius:G},tt(z)),q(z)),{[`${f}-item, ${f}-submenu > ${f}-submenu-title`]:{borderRadius:Le},[`${f}-submenu-title::after`]:{transition:`transform ${_} ${N}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:z.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:z.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:z.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:z.paddingXS}}}),q(z)),{[`&-inline-collapsed ${f}-submenu-arrow, - &-inline ${f}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,oe.unit)(nt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,oe.unit)(z.calc(nt).mul(-1).equal())})`}},[`${f}-submenu-open${f}-submenu-inline > ${f}-submenu-title > ${f}-submenu-arrow`]:{transform:`translateY(${(0,oe.unit)(z.calc(He).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,oe.unit)(z.calc(nt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,oe.unit)(nt)})`}}})},{[`${o}-layout-header`]:{[f]:{lineHeight:"inherit"}}}]},ge=z=>{var o,f,se;const{colorPrimary:_,colorError:$,colorTextDisabled:N,colorErrorBg:X,colorText:ue,colorTextDescription:c,colorBgContainer:y,colorFillAlter:Ge,colorFillContent:G,lineWidth:Le,lineWidthBold:He,controlItemBgActive:nt,colorBgTextHover:it,controlHeightLG:et,lineHeight:w,colorBgElevated:pe,marginXXS:Ze,padding:Ue,fontSize:ot,controlHeightSM:Tt,fontSizeLG:ct,colorTextLightSolid:dt,colorErrorHover:Rt}=z,Vt=(o=z.activeBarWidth)!==null&&o!==void 0?o:0,Ht=(f=z.activeBarBorderWidth)!==null&&f!==void 0?f:Le,Xt=(se=z.itemMarginInline)!==null&&se!==void 0?se:z.marginXXS,wt=new le.FastColor(dt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:z.zIndexPopupBase+50,radiusItem:z.borderRadiusLG,itemBorderRadius:z.borderRadiusLG,radiusSubMenuItem:z.borderRadiusSM,subMenuItemBorderRadius:z.borderRadiusSM,colorItemText:ue,itemColor:ue,colorItemTextHover:ue,itemHoverColor:ue,colorItemTextHoverHorizontal:_,horizontalItemHoverColor:_,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:_,itemSelectedColor:_,subMenuItemSelectedColor:_,colorItemTextSelectedHorizontal:_,horizontalItemSelectedColor:_,colorItemBg:y,itemBg:y,colorItemBgHover:it,itemHoverBg:it,colorItemBgActive:G,itemActiveBg:nt,colorSubItemBg:Ge,subMenuItemBg:Ge,colorItemBgSelected:nt,itemSelectedBg:nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Vt,colorActiveBarHeight:He,activeBarHeight:He,colorActiveBarBorderSize:Le,activeBarBorderWidth:Ht,colorItemTextDisabled:N,itemDisabledColor:N,colorDangerItemText:$,dangerItemColor:$,colorDangerItemTextHover:$,dangerItemHoverColor:$,colorDangerItemTextSelected:$,dangerItemSelectedColor:$,colorDangerItemBgActive:X,dangerItemActiveBg:X,colorDangerItemBgSelected:X,dangerItemSelectedBg:X,itemMarginInline:Xt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:w,collapsedWidth:et*2,popupBg:pe,itemMarginBlock:Ze,itemPaddingInline:Ue,horizontalLineHeight:`${et*1.15}px`,iconSize:ot,iconMarginInlineEnd:Tt-ot,collapsedIconSize:ct,groupTitleFontSize:ot,darkItemDisabledColor:new le.FastColor(dt).setA(.25).toRgbString(),darkItemColor:wt,darkDangerItemColor:$,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dt,darkItemSelectedBg:_,darkDangerItemSelectedBg:$,darkItemHoverBg:"transparent",darkGroupTitleColor:wt,darkItemHoverColor:dt,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:dt,darkDangerItemActiveBg:$,itemWidth:Vt?`calc(100% + ${Ht}px)`:`calc(100% - ${Xt*2}px)`}};var Qe=function(z){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Re.I$)("Menu",_=>{const{colorBgElevated:$,controlHeightLG:N,fontSize:X,darkItemColor:ue,darkDangerItemColor:c,darkItemBg:y,darkSubMenuItemBg:Ge,darkItemSelectedColor:G,darkItemSelectedBg:Le,darkDangerItemSelectedBg:He,darkItemHoverBg:nt,darkGroupTitleColor:it,darkItemHoverColor:et,darkItemDisabledColor:w,darkDangerItemHoverColor:pe,darkDangerItemSelectedColor:Ze,darkDangerItemActiveBg:Ue,popupBg:ot,darkPopupBg:Tt}=_,ct=_.calc(X).div(7).mul(5).equal(),dt=(0,de.mergeToken)(_,{menuArrowSize:ct,menuHorizontalHeight:_.calc(N).mul(1.15).equal(),menuArrowOffset:_.calc(ct).mul(.25).equal(),menuSubMenuBg:$,calc:_.calc,popupBg:ot}),Rt=(0,de.mergeToken)(dt,{itemColor:ue,itemHoverColor:et,groupTitleColor:it,itemSelectedColor:G,subMenuItemSelectedColor:G,itemBg:y,popupBg:Tt,subMenuItemBg:Ge,itemActiveBg:"transparent",itemSelectedBg:Le,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nt,itemDisabledColor:w,dangerItemColor:c,dangerItemHoverColor:pe,dangerItemSelectedColor:Ze,dangerItemActiveBg:Ue,dangerItemSelectedBg:He,menuSubMenuBg:Ge,horizontalItemSelectedColor:G,horizontalItemSelectedBg:Le});return[Se(dt),n(dt),Ae(dt),We(dt,"light"),We(Rt,"dark"),T(dt),(0,je.Z)(dt),(0,Oe.oN)(dt,"slide-up"),(0,Oe.oN)(dt,"slide-down"),(0,ne._y)(dt,"zoom-big")]},ge,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:f,unitless:{groupTitleLineHeight:!0}})(z,o)},ie=t(75030),Ke=z=>{var o;const{popupClassName:f,icon:se,title:_,theme:$}=z,N=e.useContext(me),{prefixCls:X,inlineCollapsed:ue,theme:c}=N,y=(0,d.Xl)();let Ge;if(!se)Ge=ue&&!y.length&&_&&typeof _=="string"?e.createElement("div",{className:`${X}-inline-collapsed-noicon`},_.charAt(0)):e.createElement("span",{className:`${X}-title-content`},_);else{const He=e.isValidElement(_)&&_.type==="span";Ge=e.createElement(e.Fragment,null,(0,r.Tm)(se,{className:D()(e.isValidElement(se)?(o=se.props)===null||o===void 0?void 0:o.className:"",`${X}-item-icon`)}),He?_:e.createElement("span",{className:`${X}-title-content`},_))}const G=e.useMemo(()=>Object.assign(Object.assign({},N),{firstLevel:!1}),[N]),[Le]=(0,ie.Cn)("Menu");return e.createElement(me.Provider,{value:G},e.createElement(d.Wd,Object.assign({},(0,Z.Z)(z,["icon"]),{title:Ge,popupClassName:D()(X,f,`${X}-${$||c}`),popupStyle:Object.assign({zIndex:Le},z.popupStyle)})))},bt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,se=Object.getOwnPropertySymbols(z);_{var f;const se=e.useContext(h.Z),_=se||{},{getPrefixCls:$,getPopupContainer:N,direction:X,menu:ue}=e.useContext(V.E_),c=$(),{prefixCls:y,className:Ge,style:G,theme:Le="light",expandIcon:He,_internalDisableMenuItemTitleTooltip:nt,inlineCollapsed:it,siderCollapsed:et,rootClassName:w,mode:pe,selectable:Ze,onClick:Ue,overflowedIndicatorPopupClassName:ot}=z,Tt=bt(z,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ct=(0,Z.Z)(Tt,["collapsedWidth"]);(f=_.validator)===null||f===void 0||f.call(_,{mode:pe});const dt=(0,E.Z)(function(){var Lt;Ue==null||Ue.apply(void 0,arguments),(Lt=_.onClick)===null||Lt===void 0||Lt.call(_)}),Rt=_.mode||pe,Vt=Ze!=null?Ze:_.selectable,Ht=it!=null?it:et,Xt={horizontal:{motionName:`${c}-slide-up`},inline:(0,K.Z)(c),other:{motionName:`${c}-zoom-big`}},wt=$("menu",y||_.prefixCls),Ut=(0,M.Z)(wt),[yt,Bt,Pt]=Qe(wt,Ut,!se),kt=D()(`${wt}-${Le}`,ue==null?void 0:ue.className,Ge),Wt=e.useMemo(()=>{var Lt,ln;if(typeof He=="function"||Te(He))return He||null;if(typeof _.expandIcon=="function"||Te(_.expandIcon))return _.expandIcon||null;if(typeof(ue==null?void 0:ue.expandIcon)=="function"||Te(ue==null?void 0:ue.expandIcon))return(ue==null?void 0:ue.expandIcon)||null;const rn=(Lt=He!=null?He:_==null?void 0:_.expandIcon)!==null&&Lt!==void 0?Lt:ue==null?void 0:ue.expandIcon;return(0,r.Tm)(rn,{className:D()(`${wt}-submenu-expand-icon`,e.isValidElement(rn)?(ln=rn.props)===null||ln===void 0?void 0:ln.className:void 0)})},[He,_==null?void 0:_.expandIcon,ue==null?void 0:ue.expandIcon,wt]),pt=e.useMemo(()=>({prefixCls:wt,inlineCollapsed:Ht||!1,direction:X,firstLevel:!0,theme:Le,mode:Rt,disableMenuItemTitleTooltip:nt}),[wt,Ht,X,nt,Le]);return yt(e.createElement(h.Z.Provider,{value:null},e.createElement(me.Provider,{value:pt},e.createElement(d.ZP,Object.assign({getPopupContainer:N,overflowedIndicator:e.createElement(L.Z,null),overflowedIndicatorPopupClassName:D()(wt,`${wt}-${Le}`,ot),mode:Rt,selectable:Vt,onClick:dt},ct,{inlineCollapsed:Ht,style:Object.assign(Object.assign({},ue==null?void 0:ue.style),G),className:kt,prefixCls:wt,direction:X,defaultMotions:Xt,expandIcon:Wt,ref:o,rootClassName:D()(w,Bt,_.rootClassName,Pt,Ut),_internalComponents:k})))))});const p=(0,e.forwardRef)((z,o)=>{const f=(0,e.useRef)(null),se=e.useContext(i.D);return(0,e.useImperativeHandle)(o,()=>({menu:f.current,focus:_=>{var $;($=f.current)===null||$===void 0||$.focus(_)}})),e.createElement(U,Object.assign({ref:f},z,se))});p.Item=s,p.SubMenu=Ke,p.Divider=Pe,p.ItemGroup=d.BW;var fe=p},31709:function(an,Je,t){t.d(Je,{Z:function(){return ue}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},L=i,x=t(7657),D=function(y,Ge){return e.createElement(x.Z,(0,d.Z)({},y,{ref:Ge,icon:L}))},E=e.forwardRef(D),Z=E,K=t(49198),r=t(33853),V=t(38819),M=t(92310),P=t.n(M),me=t(20068),lt=t(76190),Fe=t(33885),Pe=t(42978),Ve=t(18929),C=t(10228),he=t(26112),s=t(48736),h=t(17119),oe=[10,20,50,100],le=function(y){var Ge=y.pageSizeOptions,G=Ge===void 0?oe:Ge,Le=y.locale,He=y.changeSize,nt=y.pageSize,it=y.goButton,et=y.quickGo,w=y.rootPrefixCls,pe=y.disabled,Ze=y.buildOptionText,Ue=y.showSizeChanger,ot=y.sizeChangerRender,Tt=e.useState(""),ct=(0,Pe.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=function(){return!dt||Number.isNaN(dt)?void 0:Number(dt)},Ht=typeof Ze=="function"?Ze:function(pt){return"".concat(pt," ").concat(Le.items_per_page)},Xt=function(Lt){Rt(Lt.target.value)},wt=function(Lt){it||dt===""||(Rt(""),!(Lt.relatedTarget&&(Lt.relatedTarget.className.indexOf("".concat(w,"-item-link"))>=0||Lt.relatedTarget.className.indexOf("".concat(w,"-item"))>=0))&&(et==null||et(Vt())))},Ut=function(Lt){dt!==""&&(Lt.keyCode===C.Z.ENTER||Lt.type==="click")&&(Rt(""),et==null||et(Vt()))},yt=function(){return G.some(function(Lt){return Lt.toString()===nt.toString()})?G:G.concat([nt]).sort(function(Lt,ln){var rn=Number.isNaN(Number(Lt))?0:Number(Lt),xn=Number.isNaN(Number(ln))?0:Number(ln);return rn-xn})},Bt="".concat(w,"-options");if(!Ue&&!et)return null;var Pt=null,kt=null,Wt=null;return Ue&&ot&&(Pt=ot({disabled:pe,size:nt,onSizeChange:function(Lt){He==null||He(Number(Lt))},"aria-label":Le.page_size,className:"".concat(Bt,"-size-changer"),options:yt().map(function(pt){return{label:Ht(pt),value:pt}})})),et&&(it&&(Wt=typeof it=="boolean"?e.createElement("button",{type:"button",onClick:Ut,onKeyUp:Ut,disabled:pe,className:"".concat(Bt,"-quick-jumper-button")},Le.jump_to_confirm):e.createElement("span",{onClick:Ut,onKeyUp:Ut},it)),kt=e.createElement("div",{className:"".concat(Bt,"-quick-jumper")},Le.jump_to,e.createElement("input",{disabled:pe,type:"text",value:dt,onChange:Xt,onKeyUp:Ut,onBlur:wt,"aria-label":Le.page}),Le.page,Wt)),e.createElement("li",{className:Bt},Pt,kt)},v=le,je=function(y){var Ge=y.rootPrefixCls,G=y.page,Le=y.active,He=y.className,nt=y.showTitle,it=y.onClick,et=y.onKeyPress,w=y.itemRender,pe="".concat(Ge,"-item"),Ze=P()(pe,"".concat(pe,"-").concat(G),(0,me.Z)((0,me.Z)({},"".concat(pe,"-active"),Le),"".concat(pe,"-disabled"),!G),He),Ue=function(){it(G)},ot=function(dt){et(dt,it,G)},Tt=w(G,"page",e.createElement("a",{rel:"nofollow"},G));return Tt?e.createElement("li",{title:nt?String(G):null,className:Ze,onClick:Ue,onKeyDown:ot,tabIndex:0},Tt):null},Oe=je,ne=function(y,Ge,G){return G};function Re(){}function de(c){var y=Number(c);return typeof y=="number"&&!Number.isNaN(y)&&isFinite(y)&&Math.floor(y)===y}function H(c,y,Ge){var G=typeof c=="undefined"?y:c;return Math.floor((Ge-1)/G)+1}var n=function(y){var Ge=y.prefixCls,G=Ge===void 0?"rc-pagination":Ge,Le=y.selectPrefixCls,He=Le===void 0?"rc-select":Le,nt=y.className,it=y.current,et=y.defaultCurrent,w=et===void 0?1:et,pe=y.total,Ze=pe===void 0?0:pe,Ue=y.pageSize,ot=y.defaultPageSize,Tt=ot===void 0?10:ot,ct=y.onChange,dt=ct===void 0?Re:ct,Rt=y.hideOnSinglePage,Vt=y.align,Ht=y.showPrevNextJumpers,Xt=Ht===void 0?!0:Ht,wt=y.showQuickJumper,Ut=y.showLessItems,yt=y.showTitle,Bt=yt===void 0?!0:yt,Pt=y.onShowSizeChange,kt=Pt===void 0?Re:Pt,Wt=y.locale,pt=Wt===void 0?h.Z:Wt,Lt=y.style,ln=y.totalBoundaryShowSizeChanger,rn=ln===void 0?50:ln,xn=y.disabled,Dn=y.simple,Mn=y.showTotal,tn=y.showSizeChanger,Nn=tn===void 0?Ze>rn:tn,Pn=y.sizeChangerRender,bn=y.pageSizeOptions,Fn=y.itemRender,_n=Fn===void 0?ne:Fn,Jn=y.jumpPrevIcon,Be=y.jumpNextIcon,Ie=y.prevIcon,I=y.nextIcon,Y=e.useRef(null),be=(0,Ve.Z)(10,{value:Ue,defaultValue:Tt}),ye=(0,Pe.Z)(be,2),g=ye[0],re=ye[1],De=(0,Ve.Z)(1,{value:it,defaultValue:w,postState:function(Hn){return Math.max(1,Math.min(Hn,H(void 0,g,Ze)))}}),u=(0,Pe.Z)(De,2),S=u[0],A=u[1],ve=e.useState(S),j=(0,Pe.Z)(ve,2),O=j[0],W=j[1];(0,e.useEffect)(function(){W(S)},[S]);var ee=dt!==Re,ae="current"in y,b=Math.max(1,S-(Ut?3:5)),m=Math.min(H(void 0,g,Ze),S+(Ut?3:5));function B(En,Hn){var lr=En||e.createElement("button",{type:"button","aria-label":Hn,className:"".concat(G,"-item-link")});return typeof En=="function"&&(lr=e.createElement(En,(0,Fe.Z)({},y))),lr}function te(En){var Hn=En.target.value,lr=H(void 0,g,Ze),fr;return Hn===""?fr=Hn:Number.isNaN(Number(Hn))?fr=O:Hn>=lr?fr=lr:fr=Number(Hn),fr}function we(En){return de(En)&&En!==S&&de(Ze)&&Ze>0}var Ne=Ze>g?wt:!1;function ut(En){(En.keyCode===C.Z.UP||En.keyCode===C.Z.DOWN)&&En.preventDefault()}function ke(En){var Hn=te(En);switch(Hn!==O&&W(Hn),En.keyCode){case C.Z.ENTER:Me(Hn);break;case C.Z.UP:Me(Hn-1);break;case C.Z.DOWN:Me(Hn+1);break;default:break}}function Q(En){Me(te(En))}function Ce(En){var Hn=H(En,g,Ze),lr=S>Hn&&Hn!==0?Hn:S;re(En),W(lr),kt==null||kt(S,En),A(lr),dt==null||dt(lr,En)}function Me(En){if(we(En)&&!xn){var Hn=H(void 0,g,Ze),lr=En;return En>Hn?lr=Hn:En<1&&(lr=1),lr!==O&&W(lr),A(lr),dt==null||dt(lr,g),lr}return S}var Ye=S>1,ht=S2?lr-2:0),Gn=2;GnZe?Ze:S*g])),Qt=null,Ft=H(void 0,g,Ze);if(Rt&&Ze<=g)return null;var _e=[],mt={rootPrefixCls:G,onClick:Me,onKeyPress:Mt,showTitle:Bt,itemRender:_n,page:-1},Kt=S-1>0?S-1:0,jt=S+1=cn*2&&S!==3&&(_e[0]=e.cloneElement(_e[0],{className:P()("".concat(G,"-item-after-jump-prev"),_e[0].props.className)}),_e.unshift(nn)),Ft-S>=cn*2&&S!==Ft-2){var er=_e[_e.length-1];_e[_e.length-1]=e.cloneElement(er,{className:P()("".concat(G,"-item-before-jump-next"),er.props.className)}),_e.push(Qt)}Xn!==1&&_e.unshift(e.createElement(Oe,(0,d.Z)({},mt,{key:1,page:1}))),ar!==Ft&&_e.push(e.createElement(Oe,(0,d.Z)({},mt,{key:Ft,page:Ft})))}var Wn=sn(Kt);if(Wn){var Sr=!Ye||!Ft;Wn=e.createElement("li",{title:Bt?pt.prev_page:null,onClick:ft,tabIndex:Sr?null:0,onKeyDown:$t,className:P()("".concat(G,"-prev"),(0,me.Z)({},"".concat(G,"-disabled"),Sr)),"aria-disabled":Sr},Wn)}var Fr=Gt(jt);if(Fr){var $r,Cr;Dn?($r=!ht,Cr=Ye?0:null):($r=!ht||!Ft,Cr=$r?null:0),Fr=e.createElement("li",{title:Bt?pt.next_page:null,onClick:Ct,tabIndex:Cr,onKeyDown:Et,className:P()("".concat(G,"-next"),(0,me.Z)({},"".concat(G,"-disabled"),$r)),"aria-disabled":$r},Fr)}var vr=P()(G,nt,(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)({},"".concat(G,"-start"),Vt==="start"),"".concat(G,"-center"),Vt==="center"),"".concat(G,"-end"),Vt==="end"),"".concat(G,"-simple"),Dn),"".concat(G,"-disabled"),xn));return e.createElement("ul",(0,d.Z)({className:vr,style:Lt,ref:Y},fn),Zt,Wn,Dn?en:_e,Fr,e.createElement(v,{locale:pt,rootPrefixCls:G,disabled:xn,selectPrefixCls:He,changeSize:Ce,pageSize:g,pageSizeOptions:bn,quickGo:Ne?Me:null,goButton:on,showSizeChanger:Nn,sizeChangerRender:Pn}))},ce=n,T=t(61852),ze=t(48755),xe=t(31756),We=t(13783),st=t(9017),at=t(82326),Ae=t(57700),tt=t(36237),q=t(53075),Se=t(64910),ge=t(39082),Qe=t(63356),ie=t(51636),qe=t(16931);const Ke=c=>{const{componentCls:y}=c;return{[`${y}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}}},[`&${y}-disabled`]:{cursor:"not-allowed",[`${y}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:c.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:c.colorBorder,backgroundColor:c.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:c.itemActiveBgDisabled},a:{color:c.itemActiveColorDisabled}}},[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${y}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${y}-simple-pager`]:{color:c.colorTextDisabled},[`${y}-jump-prev, ${y}-jump-next`]:{[`${y}-item-link-icon`]:{opacity:0},[`${y}-item-ellipsis`]:{opacity:1}}},[`&${y}-simple`]:{[`${y}-prev, ${y}-next`]:{[`&${y}-disabled ${y}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},bt=c=>{const{componentCls:y}=c;return{[`&${y}-mini ${y}-total-text, &${y}-mini ${y}-simple-pager`]:{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${y}-mini ${y}-item`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.calc(c.itemSizeSM).sub(2).equal())},[`&${y}-mini ${y}-prev, &${y}-mini ${y}-next`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${y}-mini:not(${y}-disabled)`]:{[`${y}-prev, ${y}-next`]:{[`&:hover ${y}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${y}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${y}-disabled:hover ${y}-item-link`]:{backgroundColor:"transparent"}}},[` + `]:{opacity:0},[`${o}-item-icon, ${f}`]:{margin:0,fontSize:it,lineHeight:(0,oe.unit)(se),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${f}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${f}`]:{display:"none"},"a, a:hover":{color:_}},[`${o}-item-group-title`]:Object.assign(Object.assign({},v.vS),{paddingInline:Le})}}]};const tt=z=>{const{componentCls:o,motionDurationSlow:f,motionDurationMid:se,motionEaseInOut:_,motionEaseOut:$,iconCls:N,iconSize:G,iconMarginInlineEnd:ue}=z;return{[`${o}-item, ${o}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${f}`,`background ${f}`,`padding calc(${f} + 0.1s) ${_}`].join(","),[`${o}-item-icon, ${N}`]:{minWidth:G,fontSize:G,transition:[`font-size ${se} ${$}`,`margin ${f} ${_}`,`color ${f}`].join(","),"+ span":{marginInlineStart:ue,opacity:1,transition:[`opacity ${f} ${_}`,`margin ${f}`,`color ${f}`].join(",")}},[`${o}-item-icon`]:Object.assign({},(0,v.Ro)()),[`&${o}-item-only-child`]:{[`> ${N}, > ${o}-item-icon`]:{marginInlineEnd:0}}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${o}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},q=z=>{const{componentCls:o,motionDurationSlow:f,motionEaseInOut:se,borderRadius:_,menuArrowSize:$,menuArrowOffset:N}=z;return{[`${o}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:z.margin,width:$,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${f} ${se}, opacity ${f}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:z.calc($).mul(.6).equal(),height:z.calc($).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:_,transition:[`background ${f} ${se}`,`transform ${f} ${se}`,`top ${f} ${se}`,`color ${f} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,oe.unit)(z.calc(N).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,oe.unit)(N)})`}}}}},Se=z=>{const{antCls:o,componentCls:f,fontSize:se,motionDurationSlow:_,motionDurationMid:$,motionEaseInOut:N,paddingXS:G,padding:ue,colorSplit:c,lineWidth:y,zIndexPopup:Ge,borderRadiusLG:W,subMenuItemBorderRadius:Le,menuArrowSize:He,menuArrowOffset:nt,lineType:it,groupTitleLineHeight:et,groupTitleFontSize:w}=z;return[{"":{[f]:Object.assign(Object.assign({},(0,v.dF)()),{"&-hidden":{display:"none"}})},[`${f}-submenu-hidden`]:{display:"none"}},{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.Wf)(z)),(0,v.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${f}-item`]:{flex:"none"}},[`${f}-item, ${f}-submenu, ${f}-submenu-title`]:{borderRadius:z.itemBorderRadius},[`${f}-item-group-title`]:{padding:`${(0,oe.unit)(G)} ${(0,oe.unit)(ue)}`,fontSize:w,lineHeight:et,transition:`all ${_}`},[`&-horizontal ${f}-submenu`]:{transition:[`border-color ${_} ${N}`,`background ${_} ${N}`].join(",")},[`${f}-submenu, ${f}-submenu-inline`]:{transition:[`border-color ${_} ${N}`,`background ${_} ${N}`,`padding ${$} ${N}`].join(",")},[`${f}-submenu ${f}-sub`]:{cursor:"initial",transition:[`background ${_} ${N}`,`padding ${_} ${N}`].join(",")},[`${f}-title-content`]:{transition:`color ${_}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${o}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${f}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:z.padding}},[`${f}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${f}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:it,borderWidth:0,borderTopWidth:y,marginBlock:y,padding:0,"&-dashed":{borderStyle:"dashed"}}}),tt(z)),{[`${f}-item-group`]:{[`${f}-item-group-list`]:{margin:0,padding:0,[`${f}-item, ${f}-submenu-title`]:{paddingInline:`${(0,oe.unit)(z.calc(se).mul(2).equal())} ${(0,oe.unit)(ue)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ge,borderRadius:W,boxShadow:"none",transformOrigin:"0 0",[`&${f}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${f}`]:Object.assign(Object.assign(Object.assign({borderRadius:W},tt(z)),q(z)),{[`${f}-item, ${f}-submenu > ${f}-submenu-title`]:{borderRadius:Le},[`${f}-submenu-title::after`]:{transition:`transform ${_} ${N}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:z.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:z.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:z.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:z.paddingXS}}}),q(z)),{[`&-inline-collapsed ${f}-submenu-arrow, + &-inline ${f}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,oe.unit)(nt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,oe.unit)(z.calc(nt).mul(-1).equal())})`}},[`${f}-submenu-open${f}-submenu-inline > ${f}-submenu-title > ${f}-submenu-arrow`]:{transform:`translateY(${(0,oe.unit)(z.calc(He).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,oe.unit)(z.calc(nt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,oe.unit)(nt)})`}}})},{[`${o}-layout-header`]:{[f]:{lineHeight:"inherit"}}}]},ge=z=>{var o,f,se;const{colorPrimary:_,colorError:$,colorTextDisabled:N,colorErrorBg:G,colorText:ue,colorTextDescription:c,colorBgContainer:y,colorFillAlter:Ge,colorFillContent:W,lineWidth:Le,lineWidthBold:He,controlItemBgActive:nt,colorBgTextHover:it,controlHeightLG:et,lineHeight:w,colorBgElevated:pe,marginXXS:Ze,padding:Ue,fontSize:ot,controlHeightSM:Tt,fontSizeLG:ct,colorTextLightSolid:dt,colorErrorHover:Rt}=z,Vt=(o=z.activeBarWidth)!==null&&o!==void 0?o:0,Ht=(f=z.activeBarBorderWidth)!==null&&f!==void 0?f:Le,Xt=(se=z.itemMarginInline)!==null&&se!==void 0?se:z.marginXXS,wt=new le.FastColor(dt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:z.zIndexPopupBase+50,radiusItem:z.borderRadiusLG,itemBorderRadius:z.borderRadiusLG,radiusSubMenuItem:z.borderRadiusSM,subMenuItemBorderRadius:z.borderRadiusSM,colorItemText:ue,itemColor:ue,colorItemTextHover:ue,itemHoverColor:ue,colorItemTextHoverHorizontal:_,horizontalItemHoverColor:_,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:_,itemSelectedColor:_,subMenuItemSelectedColor:_,colorItemTextSelectedHorizontal:_,horizontalItemSelectedColor:_,colorItemBg:y,itemBg:y,colorItemBgHover:it,itemHoverBg:it,colorItemBgActive:W,itemActiveBg:nt,colorSubItemBg:Ge,subMenuItemBg:Ge,colorItemBgSelected:nt,itemSelectedBg:nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Vt,colorActiveBarHeight:He,activeBarHeight:He,colorActiveBarBorderSize:Le,activeBarBorderWidth:Ht,colorItemTextDisabled:N,itemDisabledColor:N,colorDangerItemText:$,dangerItemColor:$,colorDangerItemTextHover:$,dangerItemHoverColor:$,colorDangerItemTextSelected:$,dangerItemSelectedColor:$,colorDangerItemBgActive:G,dangerItemActiveBg:G,colorDangerItemBgSelected:G,dangerItemSelectedBg:G,itemMarginInline:Xt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:et,groupTitleLineHeight:w,collapsedWidth:et*2,popupBg:pe,itemMarginBlock:Ze,itemPaddingInline:Ue,horizontalLineHeight:`${et*1.15}px`,iconSize:ot,iconMarginInlineEnd:Tt-ot,collapsedIconSize:ct,groupTitleFontSize:ot,darkItemDisabledColor:new le.FastColor(dt).setA(.25).toRgbString(),darkItemColor:wt,darkDangerItemColor:$,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dt,darkItemSelectedBg:_,darkDangerItemSelectedBg:$,darkItemHoverBg:"transparent",darkGroupTitleColor:wt,darkItemHoverColor:dt,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:dt,darkDangerItemActiveBg:$,itemWidth:Vt?`calc(100% + ${Ht}px)`:`calc(100% - ${Xt*2}px)`}};var Qe=function(z){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Re.I$)("Menu",_=>{const{colorBgElevated:$,controlHeightLG:N,fontSize:G,darkItemColor:ue,darkDangerItemColor:c,darkItemBg:y,darkSubMenuItemBg:Ge,darkItemSelectedColor:W,darkItemSelectedBg:Le,darkDangerItemSelectedBg:He,darkItemHoverBg:nt,darkGroupTitleColor:it,darkItemHoverColor:et,darkItemDisabledColor:w,darkDangerItemHoverColor:pe,darkDangerItemSelectedColor:Ze,darkDangerItemActiveBg:Ue,popupBg:ot,darkPopupBg:Tt}=_,ct=_.calc(G).div(7).mul(5).equal(),dt=(0,de.mergeToken)(_,{menuArrowSize:ct,menuHorizontalHeight:_.calc(N).mul(1.15).equal(),menuArrowOffset:_.calc(ct).mul(.25).equal(),menuSubMenuBg:$,calc:_.calc,popupBg:ot}),Rt=(0,de.mergeToken)(dt,{itemColor:ue,itemHoverColor:et,groupTitleColor:it,itemSelectedColor:W,subMenuItemSelectedColor:W,itemBg:y,popupBg:Tt,subMenuItemBg:Ge,itemActiveBg:"transparent",itemSelectedBg:Le,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nt,itemDisabledColor:w,dangerItemColor:c,dangerItemHoverColor:pe,dangerItemSelectedColor:Ze,dangerItemActiveBg:Ue,dangerItemSelectedBg:He,menuSubMenuBg:Ge,horizontalItemSelectedColor:W,horizontalItemSelectedBg:Le});return[Se(dt),n(dt),Ae(dt),We(dt,"light"),We(Rt,"dark"),T(dt),(0,je.Z)(dt),(0,Oe.oN)(dt,"slide-up"),(0,Oe.oN)(dt,"slide-down"),(0,ne._y)(dt,"zoom-big")]},ge,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:f,unitless:{groupTitleLineHeight:!0}})(z,o)},ie=t(75030),Ke=z=>{var o;const{popupClassName:f,icon:se,title:_,theme:$}=z,N=e.useContext(me),{prefixCls:G,inlineCollapsed:ue,theme:c}=N,y=(0,d.Xl)();let Ge;if(!se)Ge=ue&&!y.length&&_&&typeof _=="string"?e.createElement("div",{className:`${G}-inline-collapsed-noicon`},_.charAt(0)):e.createElement("span",{className:`${G}-title-content`},_);else{const He=e.isValidElement(_)&&_.type==="span";Ge=e.createElement(e.Fragment,null,(0,r.Tm)(se,{className:D()(e.isValidElement(se)?(o=se.props)===null||o===void 0?void 0:o.className:"",`${G}-item-icon`)}),He?_:e.createElement("span",{className:`${G}-title-content`},_))}const W=e.useMemo(()=>Object.assign(Object.assign({},N),{firstLevel:!1}),[N]),[Le]=(0,ie.Cn)("Menu");return e.createElement(me.Provider,{value:W},e.createElement(d.Wd,Object.assign({},(0,Z.Z)(z,["icon"]),{title:Ge,popupClassName:D()(G,f,`${G}-${$||c}`),popupStyle:Object.assign({zIndex:Le},z.popupStyle)})))},bt=function(z,o){var f={};for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&o.indexOf(se)<0&&(f[se]=z[se]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,se=Object.getOwnPropertySymbols(z);_{var f;const se=e.useContext(h.Z),_=se||{},{getPrefixCls:$,getPopupContainer:N,direction:G,menu:ue}=e.useContext(U.E_),c=$(),{prefixCls:y,className:Ge,style:W,theme:Le="light",expandIcon:He,_internalDisableMenuItemTitleTooltip:nt,inlineCollapsed:it,siderCollapsed:et,rootClassName:w,mode:pe,selectable:Ze,onClick:Ue,overflowedIndicatorPopupClassName:ot}=z,Tt=bt(z,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ct=(0,Z.Z)(Tt,["collapsedWidth"]);(f=_.validator)===null||f===void 0||f.call(_,{mode:pe});const dt=(0,E.Z)(function(){var Lt;Ue==null||Ue.apply(void 0,arguments),(Lt=_.onClick)===null||Lt===void 0||Lt.call(_)}),Rt=_.mode||pe,Vt=Ze!=null?Ze:_.selectable,Ht=it!=null?it:et,Xt={horizontal:{motionName:`${c}-slide-up`},inline:(0,K.Z)(c),other:{motionName:`${c}-zoom-big`}},wt=$("menu",y||_.prefixCls),Ut=(0,M.Z)(wt),[yt,Bt,Pt]=Qe(wt,Ut,!se),kt=D()(`${wt}-${Le}`,ue==null?void 0:ue.className,Ge),Wt=e.useMemo(()=>{var Lt,ln;if(typeof He=="function"||Te(He))return He||null;if(typeof _.expandIcon=="function"||Te(_.expandIcon))return _.expandIcon||null;if(typeof(ue==null?void 0:ue.expandIcon)=="function"||Te(ue==null?void 0:ue.expandIcon))return(ue==null?void 0:ue.expandIcon)||null;const rn=(Lt=He!=null?He:_==null?void 0:_.expandIcon)!==null&&Lt!==void 0?Lt:ue==null?void 0:ue.expandIcon;return(0,r.Tm)(rn,{className:D()(`${wt}-submenu-expand-icon`,e.isValidElement(rn)?(ln=rn.props)===null||ln===void 0?void 0:ln.className:void 0)})},[He,_==null?void 0:_.expandIcon,ue==null?void 0:ue.expandIcon,wt]),pt=e.useMemo(()=>({prefixCls:wt,inlineCollapsed:Ht||!1,direction:G,firstLevel:!0,theme:Le,mode:Rt,disableMenuItemTitleTooltip:nt}),[wt,Ht,G,nt,Le]);return yt(e.createElement(h.Z.Provider,{value:null},e.createElement(me.Provider,{value:pt},e.createElement(d.ZP,Object.assign({getPopupContainer:N,overflowedIndicator:e.createElement(L.Z,null),overflowedIndicatorPopupClassName:D()(wt,`${wt}-${Le}`,ot),mode:Rt,selectable:Vt,onClick:dt},ct,{inlineCollapsed:Ht,style:Object.assign(Object.assign({},ue==null?void 0:ue.style),W),className:kt,prefixCls:wt,direction:G,defaultMotions:Xt,expandIcon:Wt,ref:o,rootClassName:D()(w,Bt,_.rootClassName,Pt,Ut),_internalComponents:k})))))});const p=(0,e.forwardRef)((z,o)=>{const f=(0,e.useRef)(null),se=e.useContext(i.D);return(0,e.useImperativeHandle)(o,()=>({menu:f.current,focus:_=>{var $;($=f.current)===null||$===void 0||$.focus(_)}})),e.createElement(X,Object.assign({ref:f},z,se))});p.Item=s,p.SubMenu=Ke,p.Divider=Pe,p.ItemGroup=d.BW;var fe=p},31709:function(an,Je,t){t.d(Je,{Z:function(){return ue}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},L=i,x=t(7657),D=function(y,Ge){return e.createElement(x.Z,(0,d.Z)({},y,{ref:Ge,icon:L}))},E=e.forwardRef(D),Z=E,K=t(49198),r=t(33853),U=t(38819),M=t(92310),P=t.n(M),me=t(20068),lt=t(76190),Fe=t(33885),Pe=t(42978),Ve=t(18929),C=t(10228),he=t(26112),s=t(48736),h=t(17119),oe=[10,20,50,100],le=function(y){var Ge=y.pageSizeOptions,W=Ge===void 0?oe:Ge,Le=y.locale,He=y.changeSize,nt=y.pageSize,it=y.goButton,et=y.quickGo,w=y.rootPrefixCls,pe=y.disabled,Ze=y.buildOptionText,Ue=y.showSizeChanger,ot=y.sizeChangerRender,Tt=e.useState(""),ct=(0,Pe.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=function(){return!dt||Number.isNaN(dt)?void 0:Number(dt)},Ht=typeof Ze=="function"?Ze:function(pt){return"".concat(pt," ").concat(Le.items_per_page)},Xt=function(Lt){Rt(Lt.target.value)},wt=function(Lt){it||dt===""||(Rt(""),!(Lt.relatedTarget&&(Lt.relatedTarget.className.indexOf("".concat(w,"-item-link"))>=0||Lt.relatedTarget.className.indexOf("".concat(w,"-item"))>=0))&&(et==null||et(Vt())))},Ut=function(Lt){dt!==""&&(Lt.keyCode===C.Z.ENTER||Lt.type==="click")&&(Rt(""),et==null||et(Vt()))},yt=function(){return W.some(function(Lt){return Lt.toString()===nt.toString()})?W:W.concat([nt]).sort(function(Lt,ln){var rn=Number.isNaN(Number(Lt))?0:Number(Lt),xn=Number.isNaN(Number(ln))?0:Number(ln);return rn-xn})},Bt="".concat(w,"-options");if(!Ue&&!et)return null;var Pt=null,kt=null,Wt=null;return Ue&&ot&&(Pt=ot({disabled:pe,size:nt,onSizeChange:function(Lt){He==null||He(Number(Lt))},"aria-label":Le.page_size,className:"".concat(Bt,"-size-changer"),options:yt().map(function(pt){return{label:Ht(pt),value:pt}})})),et&&(it&&(Wt=typeof it=="boolean"?e.createElement("button",{type:"button",onClick:Ut,onKeyUp:Ut,disabled:pe,className:"".concat(Bt,"-quick-jumper-button")},Le.jump_to_confirm):e.createElement("span",{onClick:Ut,onKeyUp:Ut},it)),kt=e.createElement("div",{className:"".concat(Bt,"-quick-jumper")},Le.jump_to,e.createElement("input",{disabled:pe,type:"text",value:dt,onChange:Xt,onKeyUp:Ut,onBlur:wt,"aria-label":Le.page}),Le.page,Wt)),e.createElement("li",{className:Bt},Pt,kt)},v=le,je=function(y){var Ge=y.rootPrefixCls,W=y.page,Le=y.active,He=y.className,nt=y.showTitle,it=y.onClick,et=y.onKeyPress,w=y.itemRender,pe="".concat(Ge,"-item"),Ze=P()(pe,"".concat(pe,"-").concat(W),(0,me.Z)((0,me.Z)({},"".concat(pe,"-active"),Le),"".concat(pe,"-disabled"),!W),He),Ue=function(){it(W)},ot=function(dt){et(dt,it,W)},Tt=w(W,"page",e.createElement("a",{rel:"nofollow"},W));return Tt?e.createElement("li",{title:nt?String(W):null,className:Ze,onClick:Ue,onKeyDown:ot,tabIndex:0},Tt):null},Oe=je,ne=function(y,Ge,W){return W};function Re(){}function de(c){var y=Number(c);return typeof y=="number"&&!Number.isNaN(y)&&isFinite(y)&&Math.floor(y)===y}function H(c,y,Ge){var W=typeof c=="undefined"?y:c;return Math.floor((Ge-1)/W)+1}var n=function(y){var Ge=y.prefixCls,W=Ge===void 0?"rc-pagination":Ge,Le=y.selectPrefixCls,He=Le===void 0?"rc-select":Le,nt=y.className,it=y.current,et=y.defaultCurrent,w=et===void 0?1:et,pe=y.total,Ze=pe===void 0?0:pe,Ue=y.pageSize,ot=y.defaultPageSize,Tt=ot===void 0?10:ot,ct=y.onChange,dt=ct===void 0?Re:ct,Rt=y.hideOnSinglePage,Vt=y.align,Ht=y.showPrevNextJumpers,Xt=Ht===void 0?!0:Ht,wt=y.showQuickJumper,Ut=y.showLessItems,yt=y.showTitle,Bt=yt===void 0?!0:yt,Pt=y.onShowSizeChange,kt=Pt===void 0?Re:Pt,Wt=y.locale,pt=Wt===void 0?h.Z:Wt,Lt=y.style,ln=y.totalBoundaryShowSizeChanger,rn=ln===void 0?50:ln,xn=y.disabled,Dn=y.simple,Mn=y.showTotal,tn=y.showSizeChanger,Nn=tn===void 0?Ze>rn:tn,Pn=y.sizeChangerRender,bn=y.pageSizeOptions,Fn=y.itemRender,_n=Fn===void 0?ne:Fn,Jn=y.jumpPrevIcon,Be=y.jumpNextIcon,Ie=y.prevIcon,I=y.nextIcon,Y=e.useRef(null),be=(0,Ve.Z)(10,{value:Ue,defaultValue:Tt}),ye=(0,Pe.Z)(be,2),g=ye[0],re=ye[1],De=(0,Ve.Z)(1,{value:it,defaultValue:w,postState:function(Hn){return Math.max(1,Math.min(Hn,H(void 0,g,Ze)))}}),u=(0,Pe.Z)(De,2),S=u[0],A=u[1],ve=e.useState(S),j=(0,Pe.Z)(ve,2),O=j[0],V=j[1];(0,e.useEffect)(function(){V(S)},[S]);var ee=dt!==Re,ae="current"in y,b=Math.max(1,S-(Ut?3:5)),m=Math.min(H(void 0,g,Ze),S+(Ut?3:5));function B(En,Hn){var lr=En||e.createElement("button",{type:"button","aria-label":Hn,className:"".concat(W,"-item-link")});return typeof En=="function"&&(lr=e.createElement(En,(0,Fe.Z)({},y))),lr}function te(En){var Hn=En.target.value,lr=H(void 0,g,Ze),fr;return Hn===""?fr=Hn:Number.isNaN(Number(Hn))?fr=O:Hn>=lr?fr=lr:fr=Number(Hn),fr}function we(En){return de(En)&&En!==S&&de(Ze)&&Ze>0}var Ne=Ze>g?wt:!1;function ut(En){(En.keyCode===C.Z.UP||En.keyCode===C.Z.DOWN)&&En.preventDefault()}function ke(En){var Hn=te(En);switch(Hn!==O&&V(Hn),En.keyCode){case C.Z.ENTER:Me(Hn);break;case C.Z.UP:Me(Hn-1);break;case C.Z.DOWN:Me(Hn+1);break;default:break}}function Q(En){Me(te(En))}function Ce(En){var Hn=H(En,g,Ze),lr=S>Hn&&Hn!==0?Hn:S;re(En),V(lr),kt==null||kt(S,En),A(lr),dt==null||dt(lr,En)}function Me(En){if(we(En)&&!xn){var Hn=H(void 0,g,Ze),lr=En;return En>Hn?lr=Hn:En<1&&(lr=1),lr!==O&&V(lr),A(lr),dt==null||dt(lr,g),lr}return S}var Ye=S>1,ht=S2?lr-2:0),Gn=2;GnZe?Ze:S*g])),Qt=null,Ft=H(void 0,g,Ze);if(Rt&&Ze<=g)return null;var _e=[],mt={rootPrefixCls:W,onClick:Me,onKeyPress:Mt,showTitle:Bt,itemRender:_n,page:-1},Kt=S-1>0?S-1:0,jt=S+1=cn*2&&S!==3&&(_e[0]=e.cloneElement(_e[0],{className:P()("".concat(W,"-item-after-jump-prev"),_e[0].props.className)}),_e.unshift(nn)),Ft-S>=cn*2&&S!==Ft-2){var er=_e[_e.length-1];_e[_e.length-1]=e.cloneElement(er,{className:P()("".concat(W,"-item-before-jump-next"),er.props.className)}),_e.push(Qt)}Xn!==1&&_e.unshift(e.createElement(Oe,(0,d.Z)({},mt,{key:1,page:1}))),ar!==Ft&&_e.push(e.createElement(Oe,(0,d.Z)({},mt,{key:Ft,page:Ft})))}var Wn=sn(Kt);if(Wn){var Sr=!Ye||!Ft;Wn=e.createElement("li",{title:Bt?pt.prev_page:null,onClick:ft,tabIndex:Sr?null:0,onKeyDown:$t,className:P()("".concat(W,"-prev"),(0,me.Z)({},"".concat(W,"-disabled"),Sr)),"aria-disabled":Sr},Wn)}var Fr=Gt(jt);if(Fr){var $r,Cr;Dn?($r=!ht,Cr=Ye?0:null):($r=!ht||!Ft,Cr=$r?null:0),Fr=e.createElement("li",{title:Bt?pt.next_page:null,onClick:Ct,tabIndex:Cr,onKeyDown:Et,className:P()("".concat(W,"-next"),(0,me.Z)({},"".concat(W,"-disabled"),$r)),"aria-disabled":$r},Fr)}var vr=P()(W,nt,(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)({},"".concat(W,"-start"),Vt==="start"),"".concat(W,"-center"),Vt==="center"),"".concat(W,"-end"),Vt==="end"),"".concat(W,"-simple"),Dn),"".concat(W,"-disabled"),xn));return e.createElement("ul",(0,d.Z)({className:vr,style:Lt,ref:Y},fn),Zt,Wn,Dn?en:_e,Fr,e.createElement(v,{locale:pt,rootPrefixCls:W,disabled:xn,selectPrefixCls:He,changeSize:Ce,pageSize:g,pageSizeOptions:bn,quickGo:Ne?Me:null,goButton:on,showSizeChanger:Nn,sizeChangerRender:Pn}))},ce=n,T=t(61852),ze=t(48755),xe=t(31756),We=t(13783),st=t(9017),at=t(82326),Ae=t(57700),tt=t(36237),q=t(53075),Se=t(64910),ge=t(39082),Qe=t(63356),ie=t(51636),qe=t(16931);const Ke=c=>{const{componentCls:y}=c;return{[`${y}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed"}}},[`&${y}-disabled`]:{cursor:"not-allowed",[`${y}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:c.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:c.colorBorder,backgroundColor:c.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:c.itemActiveBgDisabled},a:{color:c.itemActiveColorDisabled}}},[`${y}-item-link`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${y}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${y}-simple-pager`]:{color:c.colorTextDisabled},[`${y}-jump-prev, ${y}-jump-next`]:{[`${y}-item-link-icon`]:{opacity:0},[`${y}-item-ellipsis`]:{opacity:1}}},[`&${y}-simple`]:{[`${y}-prev, ${y}-next`]:{[`&${y}-disabled ${y}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},bt=c=>{const{componentCls:y}=c;return{[`&${y}-mini ${y}-total-text, &${y}-mini ${y}-simple-pager`]:{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${y}-mini ${y}-item`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.calc(c.itemSizeSM).sub(2).equal())},[`&${y}-mini ${y}-prev, &${y}-mini ${y}-next`]:{minWidth:c.itemSizeSM,height:c.itemSizeSM,margin:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${y}-mini:not(${y}-disabled)`]:{[`${y}-prev, ${y}-next`]:{[`&:hover ${y}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${y}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${y}-disabled:hover ${y}-item-link`]:{backgroundColor:"transparent"}}},[` &${y}-mini ${y}-prev ${y}-item-link, &${y}-mini ${y}-next ${y}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM)}},[`&${y}-mini ${y}-jump-prev, &${y}-mini ${y}-jump-next`]:{height:c.itemSizeSM,marginInlineEnd:0,lineHeight:(0,tt.unit)(c.itemSizeSM)},[`&${y}-mini ${y}-options`]:{marginInlineStart:c.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:c.miniOptionsSizeChangerTop},"&-quick-jumper":{height:c.itemSizeSM,lineHeight:(0,tt.unit)(c.itemSizeSM),input:Object.assign(Object.assign({},(0,q.x0)(c)),{width:c.paginationMiniQuickJumperInputWidth,height:c.controlHeightSM})}}}},Te=c=>{const{componentCls:y}=c;return{[` @@ -74,9 +74,9 @@ ${y}-next, ${y}-jump-prev, ${y}-jump-next - `]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,color:c.colorText,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}`},[`${y}-prev, ${y}-next`]:{outline:0,button:{color:c.colorText,cursor:"pointer",userSelect:"none"},[`${y}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:c.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:"none",transition:`all ${c.motionDurationMid}`},[`&:hover ${y}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${y}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${y}-disabled:hover`]:{[`${y}-item-link`]:{backgroundColor:"transparent"}}},[`${y}-slash`]:{marginInlineEnd:c.paginationSlashMarginInlineEnd,marginInlineStart:c.paginationSlashMarginInlineStart},[`${y}-options`]:{display:"inline-block",marginInlineStart:c.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:c.controlHeight,marginInlineStart:c.marginXS,lineHeight:(0,tt.unit)(c.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,q.ik)(c)),(0,ge.$U)(c,{borderColor:c.colorBorder,hoverBorderColor:c.colorPrimaryHover,activeBorderColor:c.colorPrimary,activeShadow:c.activeShadow})),{"&[disabled]":Object.assign({},(0,ge.Xy)(c)),width:c.calc(c.controlHeightLG).mul(1.25).equal(),height:c.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:c.marginXS,marginInlineEnd:c.marginXS})}}}},R=c=>{const{componentCls:y}=c;return{[`${y}-item`]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,marginInlineEnd:c.marginXS,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,tt.unit)(c.paginationItemPaddingInline)}`,color:c.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${y}-item-active)`]:{"&:hover":{transition:`all ${c.motionDurationMid}`,backgroundColor:c.colorBgTextHover},"&:active":{backgroundColor:c.colorBgTextActive}},"&-active":{fontWeight:c.fontWeightStrong,backgroundColor:c.itemActiveBg,borderColor:c.colorPrimary,a:{color:c.colorPrimary},"&:hover":{borderColor:c.colorPrimaryHover},"&:hover a":{color:c.colorPrimaryHover}}}}},U=c=>{const{componentCls:y}=c;return{[y]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(c)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${y}-total-text`]:{display:"inline-block",height:c.itemSize,marginInlineEnd:c.marginXS,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),verticalAlign:"middle"}}),R(c)),k(c)),Te(c)),bt(c)),Ke(c)),{[`@media only screen and (max-width: ${c.screenLG}px)`]:{[`${y}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${c.screenSM}px)`]:{[`${y}-options`]:{display:"none"}}}),[`&${c.componentCls}-rtl`]:{direction:"rtl"}}},p=c=>{const{componentCls:y}=c;return{[`${y}:not(${y}-disabled)`]:{[`${y}-item`]:Object.assign({},(0,Qe.Qy)(c)),[`${y}-jump-prev, ${y}-jump-next`]:{"&:focus-visible":Object.assign({[`${y}-item-link-icon`]:{opacity:1},[`${y}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(c))},[`${y}-prev, ${y}-next`]:{[`&:focus-visible ${y}-item-link`]:Object.assign({},(0,Qe.oN)(c))}}}},fe=c=>Object.assign({itemBg:c.colorBgContainer,itemSize:c.controlHeight,itemSizeSM:c.controlHeightSM,itemActiveBg:c.colorBgContainer,itemLinkBg:c.colorBgContainer,itemActiveColorDisabled:c.colorTextDisabled,itemActiveBgDisabled:c.controlItemBgActiveDisabled,itemInputBg:c.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Se.T)(c)),z=c=>(0,ie.mergeToken)(c,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:c.calc(c.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:c.calc(c.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:c.calc(c.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:c.calc(c.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:c.marginSM,paginationSlashMarginInlineEnd:c.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Se.e)(c));var o=(0,qe.I$)("Pagination",c=>{const y=z(c);return[U(y),p(y)]},fe);const f=c=>{const{componentCls:y}=c;return{[`${y}${y}-bordered${y}-disabled:not(${y}-mini)`]:{"&, &:hover":{[`${y}-item-link`]:{borderColor:c.colorBorder}},"&:focus-visible":{[`${y}-item-link`]:{borderColor:c.colorBorder}},[`${y}-item, ${y}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,[`&:hover:not(${y}-item-active)`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,a:{color:c.colorTextDisabled}},[`&${y}-item-active`]:{backgroundColor:c.itemActiveBgDisabled}},[`${y}-prev, ${y}-next`]:{"&:hover button":{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,color:c.colorTextDisabled},[`${y}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder}}},[`${y}${y}-bordered:not(${y}-mini)`]:{[`${y}-prev, ${y}-next`]:{"&:hover button":{borderColor:c.colorPrimaryHover,backgroundColor:c.itemBg},[`${y}-item-link`]:{backgroundColor:c.itemLinkBg,borderColor:c.colorBorder},[`&:hover ${y}-item-link`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,color:c.colorPrimary},[`&${y}-disabled`]:{[`${y}-item-link`]:{borderColor:c.colorBorder,color:c.colorTextDisabled}}},[`${y}-item`]:{backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} ${c.colorBorder}`,[`&:hover:not(${y}-item-active)`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,a:{color:c.colorPrimary}},"&-active":{borderColor:c.colorPrimary}}}}};var se=(0,qe.bk)(["Pagination","bordered"],c=>{const y=z(c);return[f(y)]},fe);function _(c){return(0,e.useMemo)(()=>typeof c=="boolean"?[c,{}]:c&&typeof c=="object"?[!0,c]:[void 0,void 0],[c])}var $=function(c,y){var Ge={};for(var G in c)Object.prototype.hasOwnProperty.call(c,G)&&y.indexOf(G)<0&&(Ge[G]=c[G]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,G=Object.getOwnPropertySymbols(c);Le{const{align:y,prefixCls:Ge,selectPrefixCls:G,className:Le,rootClassName:He,style:nt,size:it,locale:et,responsive:w,showSizeChanger:pe,selectComponentClass:Ze,pageSizeOptions:Ue}=c,ot=$(c,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Tt}=(0,We.Z)(w),[,ct]=(0,Ae.ZP)(),{getPrefixCls:dt,direction:Rt,showSizeChanger:Vt,className:Ht,style:Xt}=(0,ze.dj)("pagination"),wt=dt("pagination",Ge),[Ut,yt,Bt]=o(wt),Pt=(0,xe.Z)(it),kt=Pt==="small"||!!(Tt&&!Pt&&w),[Wt]=(0,st.Z)("Pagination",T.Z),pt=Object.assign(Object.assign({},Wt),et),[Lt,ln]=_(pe),[rn,xn]=_(Vt),Dn=Lt!=null?Lt:rn,Mn=ln!=null?ln:xn,tn=Ze||at.default,Nn=e.useMemo(()=>Ue?Ue.map(Be=>Number(Be)):void 0,[Ue]),Pn=Be=>{var Ie;const{disabled:I,size:Y,onSizeChange:be,"aria-label":ye,className:g,options:re}=Be,{className:De,onChange:u}=Mn||{},S=(Ie=re.find(A=>String(A.value)===String(Y)))===null||Ie===void 0?void 0:Ie.value;return e.createElement(tn,Object.assign({disabled:I,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:A=>A.parentNode,"aria-label":ye,options:re},Mn,{value:S,onChange:(A,ve)=>{be==null||be(A),u==null||u(A,ve)},size:kt?"small":"middle",className:P()(g,De)}))},bn=e.useMemo(()=>{const Be=e.createElement("span",{className:`${wt}-item-ellipsis`},"\u2022\u2022\u2022"),Ie=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(V.Z,null):e.createElement(r.Z,null)),I=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(r.Z,null):e.createElement(V.Z,null)),Y=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(K.Z,{className:`${wt}-item-link-icon`}):e.createElement(Z,{className:`${wt}-item-link-icon`}),Be)),be=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(Z,{className:`${wt}-item-link-icon`}):e.createElement(K.Z,{className:`${wt}-item-link-icon`}),Be));return{prevIcon:Ie,nextIcon:I,jumpPrevIcon:Y,jumpNextIcon:be}},[Rt,wt]),Fn=dt("select",G),_n=P()({[`${wt}-${y}`]:!!y,[`${wt}-mini`]:kt,[`${wt}-rtl`]:Rt==="rtl",[`${wt}-bordered`]:ct.wireframe},Ht,Le,He,yt,Bt),Jn=Object.assign(Object.assign({},Xt),nt);return Ut(e.createElement(e.Fragment,null,ct.wireframe&&e.createElement(se,{prefixCls:wt}),e.createElement(ce,Object.assign({},bn,ot,{style:Jn,prefixCls:wt,selectPrefixCls:Fn,className:_n,locale:pt,pageSizeOptions:Nn,showSizeChanger:Dn,sizeChangerRender:Pn}))))},ue=X},89787:function(an,Je,t){t.d(Je,{Z:function(){return et}});var e=t(59301),d=t(17835),i=t(29679),L=t(40001),x=t(19248),D=t(99267),E=t(92310),Z=t.n(E),K=t(2738),r=t(48755),V=t(54476),M=t(33885),P=t(75931),me={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},lt=function(){var pe=(0,e.useRef)([]),Ze=(0,e.useRef)(null);return(0,e.useEffect)(function(){var Ue=Date.now(),ot=!1;pe.current.forEach(function(Tt){if(Tt){ot=!0;var ct=Tt.style;ct.transitionDuration=".3s, .3s, .3s, .06s",Ze.current&&Ue-Ze.current<100&&(ct.transitionDuration="0s, 0s")}}),ot&&(Ze.current=Date.now())}),pe.current},Fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Pe=function(pe){var Ze=(0,M.Z)((0,M.Z)({},me),pe),Ue=Ze.className,ot=Ze.percent,Tt=Ze.prefixCls,ct=Ze.strokeColor,dt=Ze.strokeLinecap,Rt=Ze.strokeWidth,Vt=Ze.style,Ht=Ze.trailColor,Xt=Ze.trailWidth,wt=Ze.transition,Ut=(0,P.Z)(Ze,Fe);delete Ut.gapPosition;var yt=Array.isArray(ot)?ot:[ot],Bt=Array.isArray(ct)?ct:[ct],Pt=lt(),kt=Rt/2,Wt=100-Rt/2,pt="M ".concat(dt==="round"?kt:0,",").concat(kt,` - L `).concat(dt==="round"?Wt:100,",").concat(kt),Lt="0 0 100 ".concat(Rt),ln=0;return e.createElement("svg",(0,V.Z)({className:Z()("".concat(Tt,"-line"),Ue),viewBox:Lt,preserveAspectRatio:"none",style:Vt},Ut),e.createElement("path",{className:"".concat(Tt,"-line-trail"),d:pt,strokeLinecap:dt,stroke:Ht,strokeWidth:Xt||Rt,fillOpacity:"0"}),yt.map(function(rn,xn){var Dn=1;switch(dt){case"round":Dn=1-Rt/100;break;case"square":Dn=1-Rt/2/100;break;default:Dn=1;break}var Mn={strokeDasharray:"".concat(rn*Dn,"px, 100px"),strokeDashoffset:"-".concat(ln,"px"),transition:wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tn=Bt[xn]||Bt[Bt.length-1];return ln+=rn,e.createElement("path",{key:xn,className:"".concat(Tt,"-line-path"),d:pt,strokeLinecap:dt,stroke:tn,strokeWidth:Rt,fillOpacity:"0",ref:function(Pn){Pt[xn]=Pn},style:Mn})}))},Ve=Pe,C=t(76190),he=t(42978),s=t(47273),h=0,oe=(0,s.Z)();function le(){var w;return oe?(w=h,h+=1):w="TEST_OR_SSR",w}var v=function(w){var pe=e.useState(),Ze=(0,he.Z)(pe,2),Ue=Ze[0],ot=Ze[1];return e.useEffect(function(){ot("rc_progress_".concat(le()))},[]),w||Ue},je=function(pe){var Ze=pe.bg,Ue=pe.children;return e.createElement("div",{style:{width:"100%",height:"100%",background:Ze}},Ue)};function Oe(w,pe){return Object.keys(w).map(function(Ze){var Ue=parseFloat(Ze),ot="".concat(Math.floor(Ue*pe),"%");return"".concat(w[Ze]," ").concat(ot)})}var ne=e.forwardRef(function(w,pe){var Ze=w.prefixCls,Ue=w.color,ot=w.gradientId,Tt=w.radius,ct=w.style,dt=w.ptg,Rt=w.strokeLinecap,Vt=w.strokeWidth,Ht=w.size,Xt=w.gapDegree,wt=Ue&&(0,C.Z)(Ue)==="object",Ut=wt?"#FFF":void 0,yt=Ht/2,Bt=e.createElement("circle",{className:"".concat(Ze,"-circle-path"),r:Tt,cx:yt,cy:yt,stroke:Ut,strokeLinecap:Rt,strokeWidth:Vt,opacity:dt===0?0:1,style:ct,ref:pe});if(!wt)return Bt;var Pt="".concat(ot,"-conic"),kt=Xt?"".concat(180+Xt/2,"deg"):"0deg",Wt=Oe(Ue,(360-Xt)/360),pt=Oe(Ue,1),Lt="conic-gradient(from ".concat(kt,", ").concat(Wt.join(", "),")"),ln="linear-gradient(to ".concat(Xt?"bottom":"top",", ").concat(pt.join(", "),")");return e.createElement(e.Fragment,null,e.createElement("mask",{id:Pt},Bt),e.createElement("foreignObject",{x:0,y:0,width:Ht,height:Ht,mask:"url(#".concat(Pt,")")},e.createElement(je,{bg:ln},e.createElement(je,{bg:Lt}))))}),Re=ne,de=100,H=function(pe,Ze,Ue,ot,Tt,ct,dt,Rt,Vt,Ht){var Xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wt=Ue/100*360*((360-ct)/360),Ut=ct===0?0:{bottom:0,top:180,left:90,right:-90}[dt],yt=(100-ot)/100*Ze;Vt==="round"&&ot!==100&&(yt+=Ht/2,yt>=Ze&&(yt=Ze-.01));var Bt=de/2;return{stroke:typeof Rt=="string"?Rt:void 0,strokeDasharray:"".concat(Ze,"px ").concat(pe),strokeDashoffset:yt+Xt,transform:"rotate(".concat(Tt+wt+Ut,"deg)"),transformOrigin:"".concat(Bt,"px ").concat(Bt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},n=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ce(w){var pe=w!=null?w:[];return Array.isArray(pe)?pe:[pe]}var T=function(pe){var Ze=(0,M.Z)((0,M.Z)({},me),pe),Ue=Ze.id,ot=Ze.prefixCls,Tt=Ze.steps,ct=Ze.strokeWidth,dt=Ze.trailWidth,Rt=Ze.gapDegree,Vt=Rt===void 0?0:Rt,Ht=Ze.gapPosition,Xt=Ze.trailColor,wt=Ze.strokeLinecap,Ut=Ze.style,yt=Ze.className,Bt=Ze.strokeColor,Pt=Ze.percent,kt=(0,P.Z)(Ze,n),Wt=de/2,pt=v(Ue),Lt="".concat(pt,"-gradient"),ln=Wt-ct/2,rn=Math.PI*2*ln,xn=Vt>0?90+Vt/2:-90,Dn=rn*((360-Vt)/360),Mn=(0,C.Z)(Tt)==="object"?Tt:{count:Tt,gap:2},tn=Mn.count,Nn=Mn.gap,Pn=ce(Pt),bn=ce(Bt),Fn=bn.find(function(be){return be&&(0,C.Z)(be)==="object"}),_n=Fn&&(0,C.Z)(Fn)==="object",Jn=_n?"butt":wt,Be=H(rn,Dn,0,100,xn,Vt,Ht,Xt,Jn,ct),Ie=lt(),I=function(){var ye=0;return Pn.map(function(g,re){var De=bn[re]||bn[bn.length-1],u=H(rn,Dn,ye,g,xn,Vt,Ht,De,Jn,ct);return ye+=g,e.createElement(Re,{key:re,color:De,ptg:g,radius:ln,prefixCls:ot,gradientId:Lt,style:u,strokeLinecap:Jn,strokeWidth:ct,gapDegree:Vt,ref:function(A){Ie[re]=A},size:de})}).reverse()},Y=function(){var ye=Math.round(tn*(Pn[0]/100)),g=100/tn,re=0;return new Array(tn).fill(null).map(function(De,u){var S=u<=ye-1?bn[0]:Xt,A=S&&(0,C.Z)(S)==="object"?"url(#".concat(Lt,")"):void 0,ve=H(rn,Dn,re,g,xn,Vt,Ht,S,"butt",ct,Nn);return re+=(Dn-ve.strokeDashoffset+Nn)*100/Dn,e.createElement("circle",{key:u,className:"".concat(ot,"-circle-path"),r:ln,cx:Wt,cy:Wt,stroke:A,strokeWidth:ct,opacity:1,style:ve,ref:function(O){Ie[u]=O}})})};return e.createElement("svg",(0,V.Z)({className:Z()("".concat(ot,"-circle"),yt),viewBox:"0 0 ".concat(de," ").concat(de),style:Ut,id:Ue,role:"presentation"},kt),!tn&&e.createElement("circle",{className:"".concat(ot,"-circle-trail"),r:ln,cx:Wt,cy:Wt,stroke:Xt,strokeLinecap:Jn,strokeWidth:dt||ct,style:Be}),tn?Y():I())},ze=T,xe={Line:Ve,Circle:ze},We=t(25399),st=t(68361);function at(w){return!w||w<0?0:w>100?100:w}function Ae(w){let{success:pe,successPercent:Ze}=w,Ue=Ze;return pe&&"progress"in pe&&(Ue=pe.progress),pe&&"percent"in pe&&(Ue=pe.percent),Ue}const tt=w=>{let{percent:pe,success:Ze,successPercent:Ue}=w;const ot=at(Ae({success:Ze,successPercent:Ue}));return[ot,at(at(pe)-ot)]},q=w=>{let{success:pe={},strokeColor:Ze}=w;const{strokeColor:Ue}=pe;return[Ue||st.presetPrimaryColors.green,Ze||null]},Se=(w,pe,Ze)=>{var Ue,ot,Tt,ct;let dt=-1,Rt=-1;if(pe==="step"){const Vt=Ze.steps,Ht=Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?(dt=w==="small"?2:14,Rt=Ht!=null?Ht:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=14,Rt=8]=Array.isArray(w)?w:[w.width,w.height],dt*=Vt}else if(pe==="line"){const Vt=Ze==null?void 0:Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?Rt=Vt||(w==="small"?6:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=-1,Rt=8]=Array.isArray(w)?w:[w.width,w.height]}else(pe==="circle"||pe==="dashboard")&&(typeof w=="string"||typeof w=="undefined"?[dt,Rt]=w==="small"?[60,60]:[120,120]:typeof w=="number"?[dt,Rt]=[w,w]:Array.isArray(w)&&(dt=(ot=(Ue=w[0])!==null&&Ue!==void 0?Ue:w[1])!==null&&ot!==void 0?ot:120,Rt=(ct=(Tt=w[0])!==null&&Tt!==void 0?Tt:w[1])!==null&&ct!==void 0?ct:120));return[dt,Rt]},ge=3,Qe=w=>ge/w*100;var qe=w=>{const{prefixCls:pe,trailColor:Ze=null,strokeLinecap:Ue="round",gapPosition:ot,gapDegree:Tt,width:ct=120,type:dt,children:Rt,success:Vt,size:Ht=ct,steps:Xt}=w,[wt,Ut]=Se(Ht,"circle");let{strokeWidth:yt}=w;yt===void 0&&(yt=Math.max(Qe(wt),6));const Bt={width:wt,height:Ut,fontSize:wt*.15+6},Pt=e.useMemo(()=>{if(Tt||Tt===0)return Tt;if(dt==="dashboard")return 75},[Tt,dt]),kt=tt(w),Wt=ot||dt==="dashboard"&&"bottom"||void 0,pt=Object.prototype.toString.call(w.strokeColor)==="[object Object]",Lt=q({success:Vt,strokeColor:w.strokeColor}),ln=Z()(`${pe}-inner`,{[`${pe}-circle-gradient`]:pt}),rn=e.createElement(ze,{steps:Xt,percent:Xt?kt[1]:kt,strokeWidth:yt,trailWidth:yt,strokeColor:Xt?Lt[1]:Lt,strokeLinecap:Ue,trailColor:Ze,prefixCls:pe,gapDegree:Pt,gapPosition:Wt}),xn=wt<=20,Dn=e.createElement("div",{className:ln,style:Bt},rn,!xn&&Rt);return xn?e.createElement(We.Z,{title:Rt},Dn):Dn},Ke=t(36237),bt=t(63356),Te=t(16931),k=t(51636);const R="--progress-line-stroke-color",U="--progress-percent",p=w=>{const pe=w?"100%":"-100%";return new Ke.Keyframes(`antProgress${w?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},fe=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:Object.assign(Object.assign({},(0,bt.Wf)(w)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:w.fontSize},[`${pe}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${pe}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:w.remainingColor,borderRadius:w.lineBorderRadius},[`${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.defaultColor}},[`${pe}-success-bg, ${pe}-bg`]:{position:"relative",background:w.defaultColor,borderRadius:w.lineBorderRadius,transition:`all ${w.motionDurationSlow} ${w.motionEaseInOutCirc}`},[`${pe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${pe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:w.marginXXS}},[`${pe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${R})`]},height:"100%",width:`calc(1 / var(${U}) * 100%)`,display:"block"},[`&${pe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${pe}-text-inner`]:{color:w.colorWhite,[`&${pe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${pe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:w.colorSuccess},[`${pe}-text`]:{display:"inline-block",marginInlineStart:w.marginXS,color:w.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ze]:{fontSize:w.fontSize},[`&${pe}-text-outer`]:{width:"max-content"},[`&${pe}-text-outer${pe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:w.marginXS}},[`${pe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ke.unit)(w.paddingXXS)}`,[`&${pe}-text-start`]:{justifyContent:"start"},[`&${pe}-text-end`]:{justifyContent:"end"}},[`&${pe}-status-active`]:{[`${pe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:w.colorBgContainer,borderRadius:w.lineBorderRadius,opacity:0,animationName:p(),animationDuration:w.progressActiveMotionDuration,animationTimingFunction:w.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pe}-rtl${pe}-status-active`]:{[`${pe}-bg::before`]:{animationName:p(!0)}},[`&${pe}-status-exception`]:{[`${pe}-bg`]:{backgroundColor:w.colorError},[`${pe}-text`]:{color:w.colorError}},[`&${pe}-status-exception ${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.colorError}},[`&${pe}-status-success`]:{[`${pe}-bg`]:{backgroundColor:w.colorSuccess},[`${pe}-text`]:{color:w.colorSuccess}},[`&${pe}-status-success ${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.colorSuccess}}})}},z=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:{[`${pe}-circle-trail`]:{stroke:w.remainingColor},[`&${pe}-circle ${pe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pe}-circle ${pe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:w.circleTextColor,fontSize:w.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ze]:{fontSize:w.circleIconFontSize}},[`${pe}-circle&-status-exception`]:{[`${pe}-text`]:{color:w.colorError}},[`${pe}-circle&-status-success`]:{[`${pe}-text`]:{color:w.colorSuccess}}},[`${pe}-inline-circle`]:{lineHeight:1,[`${pe}-inner`]:{verticalAlign:"bottom"}}}},o=w=>{const{componentCls:pe}=w;return{[pe]:{[`${pe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:w.progressStepMinWidth,marginInlineEnd:w.progressStepMarginInlineEnd,backgroundColor:w.remainingColor,transition:`all ${w.motionDurationSlow}`,"&-active":{backgroundColor:w.defaultColor}}}}}},f=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:{[`${pe}-small&-line, ${pe}-small&-line ${pe}-text ${Ze}`]:{fontSize:w.fontSizeSM}}}},se=w=>({circleTextColor:w.colorText,defaultColor:w.colorInfo,remainingColor:w.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${w.fontSize/w.fontSizeSM}em`});var _=(0,Te.I$)("Progress",w=>{const pe=w.calc(w.marginXXS).div(2).equal(),Ze=(0,k.mergeToken)(w,{progressStepMarginInlineEnd:pe,progressStepMinWidth:pe,progressActiveMotionDuration:"2.4s"});return[fe(Ze),z(Ze),o(Ze),f(Ze)]},se),$=function(w,pe){var Ze={};for(var Ue in w)Object.prototype.hasOwnProperty.call(w,Ue)&&pe.indexOf(Ue)<0&&(Ze[Ue]=w[Ue]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ue=Object.getOwnPropertySymbols(w);ot{let pe=[];return Object.keys(w).forEach(Ze=>{const Ue=parseFloat(Ze.replace(/%/g,""));Number.isNaN(Ue)||pe.push({key:Ue,value:w[Ze]})}),pe=pe.sort((Ze,Ue)=>Ze.key-Ue.key),pe.map(Ze=>{let{key:Ue,value:ot}=Ze;return`${ot} ${Ue}%`}).join(", ")},X=(w,pe)=>{const{from:Ze=st.presetPrimaryColors.blue,to:Ue=st.presetPrimaryColors.blue,direction:ot=pe==="rtl"?"to left":"to right"}=w,Tt=$(w,["from","to","direction"]);if(Object.keys(Tt).length!==0){const dt=N(Tt),Rt=`linear-gradient(${ot}, ${dt})`;return{background:Rt,[R]:Rt}}const ct=`linear-gradient(${ot}, ${Ze}, ${Ue})`;return{background:ct,[R]:ct}};var c=w=>{const{prefixCls:pe,direction:Ze,percent:Ue,size:ot,strokeWidth:Tt,strokeColor:ct,strokeLinecap:dt="round",children:Rt,trailColor:Vt=null,percentPosition:Ht,success:Xt}=w,{align:wt,type:Ut}=Ht,yt=ct&&typeof ct!="string"?X(ct,Ze):{[R]:ct,background:ct},Bt=dt==="square"||dt==="butt"?0:void 0,Pt=ot!=null?ot:[-1,Tt||(ot==="small"?6:8)],[kt,Wt]=Se(Pt,"line",{strokeWidth:Tt}),pt={backgroundColor:Vt||void 0,borderRadius:Bt},Lt=Object.assign(Object.assign({width:`${at(Ue)}%`,height:Wt,borderRadius:Bt},yt),{[U]:at(Ue)/100}),ln=Ae(w),rn={width:`${at(ln)}%`,height:Wt,borderRadius:Bt,backgroundColor:Xt==null?void 0:Xt.strokeColor},xn={width:kt<0?"100%":kt},Dn=e.createElement("div",{className:`${pe}-inner`,style:pt},e.createElement("div",{className:Z()(`${pe}-bg`,`${pe}-bg-${Ut}`),style:Lt},Ut==="inner"&&Rt),ln!==void 0&&e.createElement("div",{className:`${pe}-success-bg`,style:rn})),Mn=Ut==="outer"&&wt==="start",tn=Ut==="outer"&&wt==="end";return Ut==="outer"&&wt==="center"?e.createElement("div",{className:`${pe}-layout-bottom`},Dn,Rt):e.createElement("div",{className:`${pe}-outer`,style:xn},Mn&&Rt,Dn,tn&&Rt)},Ge=w=>{const{size:pe,steps:Ze,rounding:Ue=Math.round,percent:ot=0,strokeWidth:Tt=8,strokeColor:ct,trailColor:dt=null,prefixCls:Rt,children:Vt}=w,Ht=Ue(Ze*(ot/100)),Xt=pe==="small"?2:14,wt=pe!=null?pe:[Xt,Tt],[Ut,yt]=Se(wt,"step",{steps:Ze,strokeWidth:Tt}),Bt=Ut/Ze,Pt=Array.from({length:Ze});for(let kt=0;kt{const{prefixCls:Ze,className:Ue,rootClassName:ot,steps:Tt,strokeColor:ct,percent:dt=0,size:Rt="default",showInfo:Vt=!0,type:Ht="line",status:Xt,format:wt,style:Ut,percentPosition:yt={}}=w,Bt=G(w,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:kt="outer"}=yt,Wt=Array.isArray(ct)?ct[0]:ct,pt=typeof ct=="string"||Array.isArray(ct)?ct:void 0,Lt=e.useMemo(()=>{if(Wt){const I=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new d.FastColor(I).isLight()}return!1},[ct]),ln=e.useMemo(()=>{var I,Y;const be=Ae(w);return parseInt(be!==void 0?(I=be!=null?be:0)===null||I===void 0?void 0:I.toString():(Y=dt!=null?dt:0)===null||Y===void 0?void 0:Y.toString(),10)},[dt,w.success,w.successPercent]),rn=e.useMemo(()=>!He.includes(Xt)&&ln>=100?"success":Xt||"normal",[Xt,ln]),{getPrefixCls:xn,direction:Dn,progress:Mn}=e.useContext(r.E_),tn=xn("progress",Ze),[Nn,Pn,bn]=_(tn),Fn=Ht==="line",_n=Fn&&!Tt,Jn=e.useMemo(()=>{if(!Vt)return null;const I=Ae(w);let Y;const be=wt||(g=>`${g}%`),ye=Fn&&Lt&&kt==="inner";return kt==="inner"||wt||rn!=="exception"&&rn!=="success"?Y=be(at(dt),at(I)):rn==="exception"?Y=Fn?e.createElement(x.Z,null):e.createElement(D.Z,null):rn==="success"&&(Y=Fn?e.createElement(i.Z,null):e.createElement(L.Z,null)),e.createElement("span",{className:Z()(`${tn}-text`,{[`${tn}-text-bright`]:ye,[`${tn}-text-${Pt}`]:_n,[`${tn}-text-${kt}`]:_n}),title:typeof Y=="string"?Y:void 0},Y)},[Vt,dt,ln,rn,Ht,tn,wt]);let Be;Ht==="line"?Be=Tt?e.createElement(Ge,Object.assign({},w,{strokeColor:pt,prefixCls:tn,steps:typeof Tt=="object"?Tt.count:Tt}),Jn):e.createElement(c,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,direction:Dn,percentPosition:{align:Pt,type:kt}}),Jn):(Ht==="circle"||Ht==="dashboard")&&(Be=e.createElement(qe,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,progressStatus:rn}),Jn));const Ie=Z()(tn,`${tn}-status-${rn}`,{[`${tn}-${Ht==="dashboard"&&"circle"||Ht}`]:Ht!=="line",[`${tn}-inline-circle`]:Ht==="circle"&&Se(Rt,"circle")[0]<=20,[`${tn}-line`]:_n,[`${tn}-line-align-${Pt}`]:_n,[`${tn}-line-position-${kt}`]:_n,[`${tn}-steps`]:Tt,[`${tn}-show-info`]:Vt,[`${tn}-${Rt}`]:typeof Rt=="string",[`${tn}-rtl`]:Dn==="rtl"},Mn==null?void 0:Mn.className,Ue,ot,Pn,bn);return Nn(e.createElement("div",Object.assign({ref:pe,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Ut),className:Ie,role:"progressbar","aria-valuenow":ln,"aria-valuemin":0,"aria-valuemax":100},(0,K.Z)(Bt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Be))}),et=it},47889:function(an,Je,t){t.d(Je,{ZP:function(){return tt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(18929),x=t(26112),D=t(48755),E=t(83397),Z=t(31756);const K=e.createContext(null),r=K.Provider;var V=K;const M=e.createContext(null),P=M.Provider;var me=t(16632),lt=t(8654),Fe=t(12919),Pe=t(63872),Ve=t(74632),C=t(2171),he=t(56553),s=t(36237),h=t(63356),oe=t(16931),le=t(51636);const v=q=>{const{componentCls:Se,antCls:ge}=q,Qe=`${Se}-group`;return{[Qe]:Object.assign(Object.assign({},(0,h.Wf)(q)),{display:"inline-block",fontSize:0,[`&${Qe}-rtl`]:{direction:"rtl"},[`&${Qe}-block`]:{display:"flex"},[`${ge}-badge ${ge}-badge-count`]:{zIndex:1},[`> ${ge}-badge:not(:first-child) > ${ge}-button-wrapper`]:{borderInlineStart:"none"}})}},je=q=>{const{componentCls:Se,wrapperMarginInlineEnd:ge,colorPrimary:Qe,radioSize:ie,motionDurationSlow:qe,motionDurationMid:Ke,motionEaseInOutCirc:bt,colorBgContainer:Te,colorBorder:k,lineWidth:R,colorBgContainerDisabled:U,colorTextDisabled:p,paddingXS:fe,dotColorDisabled:z,lineType:o,radioColor:f,radioBgColor:se,calc:_}=q,$=`${Se}-inner`,X=_(ie).sub(_(4).mul(2)),ue=_(1).mul(ie).equal({unit:!0});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},(0,h.Wf)(q)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ge,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Se}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:q.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Se}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,s.unit)(R)} ${o} ${Qe}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Se]:Object.assign(Object.assign({},(0,h.Wf)(q)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Se}-wrapper:hover &, - &:hover ${$}`]:{borderColor:Qe},[`${Se}-input:focus-visible + ${$}`]:Object.assign({},(0,h.oN)(q)),[`${Se}:hover::after, ${Se}-wrapper:hover &::after`]:{visibility:"visible"},[`${Se}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ue,height:ue,marginBlockStart:_(1).mul(ie).div(-2).equal({unit:!0}),marginInlineStart:_(1).mul(ie).div(-2).equal({unit:!0}),backgroundColor:f,borderBlockStart:0,borderInlineStart:0,borderRadius:ue,transform:"scale(0)",opacity:0,transition:`all ${qe} ${bt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ue,height:ue,backgroundColor:Te,borderColor:k,borderStyle:"solid",borderWidth:R,borderRadius:"50%",transition:`all ${Ke}`},[`${Se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Se}-checked`]:{[$]:{borderColor:Qe,backgroundColor:se,"&::after":{transform:`scale(${q.calc(q.dotSize).div(ie).equal()})`,opacity:1,transition:`all ${qe} ${bt}`}}},[`${Se}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:U,borderColor:k,cursor:"not-allowed","&::after":{backgroundColor:z}},[`${Se}-input`]:{cursor:"not-allowed"},[`${Se}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${Se}-checked`]:{[$]:{"&::after":{transform:`scale(${_(X).div(ie).equal()})`}}}},[`span${Se} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},Oe=q=>{const{buttonColor:Se,controlHeight:ge,componentCls:Qe,lineWidth:ie,lineType:qe,colorBorder:Ke,motionDurationSlow:bt,motionDurationMid:Te,buttonPaddingInline:k,fontSize:R,buttonBg:U,fontSizeLG:p,controlHeightLG:fe,controlHeightSM:z,paddingXS:o,borderRadius:f,borderRadiusSM:se,borderRadiusLG:_,buttonCheckedBg:$,buttonSolidCheckedColor:N,colorTextDisabled:X,colorBgContainerDisabled:ue,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:y,colorPrimary:Ge,colorPrimaryHover:G,colorPrimaryActive:Le,buttonSolidCheckedBg:He,buttonSolidCheckedHoverBg:nt,buttonSolidCheckedActiveBg:it,calc:et}=q;return{[`${Qe}-button-wrapper`]:{position:"relative",display:"inline-block",height:ge,margin:0,paddingInline:k,paddingBlock:0,color:Se,fontSize:R,lineHeight:(0,s.unit)(et(ge).sub(et(ie).mul(2)).equal()),background:U,border:`${(0,s.unit)(ie)} ${qe} ${Ke}`,borderBlockStartWidth:et(ie).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ie,cursor:"pointer",transition:[`color ${Te}`,`background ${Te}`,`box-shadow ${Te}`].join(","),a:{color:Se},[`> ${Qe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:et(ie).mul(-1).equal(),insetInlineStart:et(ie).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ie,paddingInline:0,backgroundColor:Ke,transition:`background-color ${bt}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,s.unit)(ie)} ${qe} ${Ke}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${Qe}-group-large &`]:{height:fe,fontSize:p,lineHeight:(0,s.unit)(et(fe).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${Qe}-group-small &`]:{height:z,paddingInline:et(o).sub(ie).equal(),paddingBlock:0,lineHeight:(0,s.unit)(et(z).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:Ge},"&:has(:focus-visible)":Object.assign({},(0,h.oN)(q)),[`${Qe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Qe}-button-wrapper-disabled)`]:{zIndex:1,color:Ge,background:$,borderColor:Ge,"&::before":{backgroundColor:Ge},"&:first-child":{borderColor:Ge},"&:hover":{color:G,borderColor:G,"&::before":{backgroundColor:G}},"&:active":{color:Le,borderColor:Le,"&::before":{backgroundColor:Le}}},[`${Qe}-group-solid &-checked:not(${Qe}-button-wrapper-disabled)`]:{color:N,background:He,borderColor:He,"&:hover":{color:N,background:nt,borderColor:nt},"&:active":{color:N,background:it,borderColor:it}},"&-disabled":{color:X,backgroundColor:ue,borderColor:Ke,cursor:"not-allowed","&:first-child, &:hover":{color:X,backgroundColor:ue,borderColor:Ke}},[`&-disabled${Qe}-button-wrapper-checked`]:{color:y,backgroundColor:c,borderColor:Ke,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ne=q=>{const{wireframe:Se,padding:ge,marginXS:Qe,lineWidth:ie,fontSizeLG:qe,colorText:Ke,colorBgContainer:bt,colorTextDisabled:Te,controlItemBgActiveDisabled:k,colorTextLightSolid:R,colorPrimary:U,colorPrimaryHover:p,colorPrimaryActive:fe,colorWhite:z}=q,o=4,f=qe,se=Se?f-o*2:f-(o+ie)*2;return{radioSize:f,dotSize:se,dotColorDisabled:Te,buttonSolidCheckedColor:R,buttonSolidCheckedBg:U,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:fe,buttonBg:bt,buttonCheckedBg:bt,buttonColor:Ke,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:Te,buttonPaddingInline:ge-ie,wrapperMarginInlineEnd:Qe,radioColor:Se?U:z,radioBgColor:Se?bt:U}};var Re=(0,oe.I$)("Radio",q=>{const{controlOutline:Se,controlOutlineWidth:ge}=q,Qe=`0 0 0 ${(0,s.unit)(ge)} ${Se}`,ie=Qe,qe=(0,le.mergeToken)(q,{radioFocusShadow:Qe,radioButtonFocusShadow:ie});return[v(qe),je(qe),Oe(qe)]},ne,{unitless:{radioSize:!0,dotSize:!0}}),de=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{var ge,Qe;const ie=e.useContext(V),qe=e.useContext(M),{getPrefixCls:Ke,direction:bt,radio:Te}=e.useContext(D.E_),k=e.useRef(null),R=(0,lt.sQ)(Se,k),{isFormItemInput:U}=e.useContext(he.aM),p=w=>{var pe,Ze;(pe=q.onChange)===null||pe===void 0||pe.call(q,w),(Ze=ie==null?void 0:ie.onChange)===null||Ze===void 0||Ze.call(ie,w)},{prefixCls:fe,className:z,rootClassName:o,children:f,style:se,title:_}=q,$=de(q,["prefixCls","className","rootClassName","children","style","title"]),N=Ke("radio",fe),X=((ie==null?void 0:ie.optionType)||qe)==="button",ue=X?`${N}-button`:N,c=(0,E.Z)(N),[y,Ge,G]=Re(N,c),Le=Object.assign({},$),He=e.useContext(C.Z);ie&&(Le.name=ie.name,Le.onChange=p,Le.checked=q.value===ie.value,Le.disabled=(ge=Le.disabled)!==null&&ge!==void 0?ge:ie.disabled),Le.disabled=(Qe=Le.disabled)!==null&&Qe!==void 0?Qe:He;const nt=i()(`${ue}-wrapper`,{[`${ue}-wrapper-checked`]:Le.checked,[`${ue}-wrapper-disabled`]:Le.disabled,[`${ue}-wrapper-rtl`]:bt==="rtl",[`${ue}-wrapper-in-form-item`]:U,[`${ue}-wrapper-block`]:!!(ie!=null&&ie.block)},Te==null?void 0:Te.className,z,o,Ge,G,c),[it,et]=(0,Ve.Z)(Le.onClick);return y(e.createElement(Fe.Z,{component:"Radio",disabled:Le.disabled},e.createElement("label",{className:nt,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),se),onMouseEnter:q.onMouseEnter,onMouseLeave:q.onMouseLeave,title:_,onClick:it},e.createElement(me.Z,Object.assign({},Le,{className:i()(Le.className,{[Pe.A]:!X}),type:"radio",prefixCls:ue,ref:R,onClick:et})),f!==void 0?e.createElement("span",{className:`${ue}-label`},f):null)))};var ce=e.forwardRef(H),T=t(80402);const ze=e.forwardRef((q,Se)=>{const{getPrefixCls:ge,direction:Qe}=e.useContext(D.E_),ie=(0,T.Z)(),{prefixCls:qe,className:Ke,rootClassName:bt,options:Te,buttonStyle:k="outline",disabled:R,children:U,size:p,style:fe,id:z,optionType:o,name:f=ie,defaultValue:se,value:_,block:$=!1,onChange:N,onMouseEnter:X,onMouseLeave:ue,onFocus:c,onBlur:y}=q,[Ge,G]=(0,L.Z)(se,{value:_}),Le=e.useCallback(ct=>{const dt=Ge,Rt=ct.target.value;"value"in q||G(Rt),Rt!==dt&&(N==null||N(ct))},[Ge,G,N]),He=ge("radio",qe),nt=`${He}-group`,it=(0,E.Z)(He),[et,w,pe]=Re(He,it);let Ze=U;Te&&Te.length>0&&(Ze=Te.map(ct=>typeof ct=="string"||typeof ct=="number"?e.createElement(ce,{key:ct.toString(),prefixCls:He,disabled:R,value:ct,checked:Ge===ct},ct):e.createElement(ce,{key:`radio-group-value-options-${ct.value}`,prefixCls:He,disabled:ct.disabled||R,value:ct.value,checked:Ge===ct.value,title:ct.title,style:ct.style,id:ct.id,required:ct.required},ct.label)));const Ue=(0,Z.Z)(p),ot=i()(nt,`${nt}-${k}`,{[`${nt}-${Ue}`]:Ue,[`${nt}-rtl`]:Qe==="rtl",[`${nt}-block`]:$},Ke,bt,w,pe,it),Tt=e.useMemo(()=>({onChange:Le,value:Ge,disabled:R,name:f,optionType:o,block:$}),[Le,Ge,R,f,o,$]);return et(e.createElement("div",Object.assign({},(0,x.Z)(q,{aria:!0,data:!0}),{className:ot,style:fe,onMouseEnter:X,onMouseLeave:ue,onFocus:c,onBlur:y,id:z,ref:Se}),e.createElement(r,{value:Tt},Ze)))});var xe=e.memo(ze),We=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{const{getPrefixCls:ge}=e.useContext(D.E_),{prefixCls:Qe}=q,ie=We(q,["prefixCls"]),qe=ge("radio",Qe);return e.createElement(P,{value:"button"},e.createElement(ce,Object.assign({prefixCls:qe},ie,{type:"radio",ref:Se})))};var at=e.forwardRef(st);const Ae=ce;Ae.Button=at,Ae.Group=xe,Ae.__ANT_RADIO=!0;var tt=Ae},82326:function(an,Je,t){var e=t(59301),d=t(92310),i=t.n(d),L=t(37463),x=t(2738),D=t(75030),E=t(86641),Z=t(45915),K=t(82855),r=t(48755),V=t(38406),M=t(2171),P=t(83397),me=t(31756),lt=t(56553),Fe=t(24971),Pe=t(70045),Ve=t(57700),C=t(1722),he=t(90376),s=t(68525),h=t(90005),oe=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n{var de;const{prefixCls:H,bordered:n,className:ce,rootClassName:T,getPopupContainer:ze,popupClassName:xe,dropdownClassName:We,listHeight:st=256,placement:at,listItemHeight:Ae,size:tt,disabled:q,notFoundContent:Se,status:ge,builtinPlacements:Qe,dropdownMatchSelectWidth:ie,popupMatchSelectWidth:qe,direction:Ke,style:bt,allowClear:Te,variant:k,dropdownStyle:R,transitionName:U,tagRender:p,maxCount:fe,prefix:z}=ne,o=oe(ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:f,getPrefixCls:se,renderEmpty:_,direction:$,virtual:N,popupMatchSelectWidth:X,popupOverflow:ue}=e.useContext(r.E_),c=(0,r.dj)("select"),[,y]=(0,Ve.ZP)(),Ge=Ae!=null?Ae:y==null?void 0:y.controlHeight,G=se("select",H),Le=se(),He=Ke!=null?Ke:$,{compactSize:nt,compactItemClassnames:it}=(0,Pe.ri)(G,He),[et,w]=(0,Fe.Z)("select",k,n),pe=(0,P.Z)(G),[Ze,Ue,ot]=(0,he.Z)(G,pe),Tt=e.useMemo(()=>{const{mode:Pn}=ne;if(Pn!=="combobox")return Pn===le?"combobox":Pn},[ne.mode]),ct=Tt==="multiple"||Tt==="tags",dt=(0,h.Z)(ne.suffixIcon,ne.showArrow),Rt=(de=qe!=null?qe:ie)!==null&&de!==void 0?de:X,{status:Vt,hasFeedback:Ht,isFormItemInput:Xt,feedbackIcon:wt}=e.useContext(lt.aM),Ut=(0,K.F)(Vt,ge);let yt;Se!==void 0?yt=Se:Tt==="combobox"?yt=null:yt=(_==null?void 0:_("Select"))||e.createElement(V.Z,{componentName:"Select"});const{suffixIcon:Bt,itemIcon:Pt,removeIcon:kt,clearIcon:Wt}=(0,s.Z)(Object.assign(Object.assign({},o),{multiple:ct,hasFeedback:Ht,feedbackIcon:wt,showSuffixIcon:dt,prefixCls:G,componentName:"Select"})),pt=Te===!0?{clearIcon:Wt}:Te,Lt=(0,x.Z)(o,["suffixIcon","itemIcon"]),ln=i()(xe||We,{[`${G}-dropdown-${He}`]:He==="rtl"},T,ot,pe,Ue),rn=(0,me.Z)(Pn=>{var bn;return(bn=tt!=null?tt:nt)!==null&&bn!==void 0?bn:Pn}),xn=e.useContext(M.Z),Dn=q!=null?q:xn,Mn=i()({[`${G}-lg`]:rn==="large",[`${G}-sm`]:rn==="small",[`${G}-rtl`]:He==="rtl",[`${G}-${et}`]:w,[`${G}-in-form-item`]:Xt},(0,K.Z)(G,Ut,Ht),it,c.className,ce,T,ot,pe,Ue),tn=e.useMemo(()=>at!==void 0?at:He==="rtl"?"bottomRight":"bottomLeft",[at,He]),[Nn]=(0,D.Cn)("SelectLike",R==null?void 0:R.zIndex);return Ze(e.createElement(L.ZP,Object.assign({ref:Re,virtual:N,showSearch:c.showSearch},Lt,{style:Object.assign(Object.assign({},c.style),bt),dropdownMatchSelectWidth:Rt,transitionName:(0,E.m)(Le,"slide-up",U),builtinPlacements:(0,C.Z)(Qe,ue),listHeight:st,listItemHeight:Ge,mode:Tt,prefixCls:G,placement:tn,direction:He,prefix:z,suffixIcon:Bt,menuItemSelectedIcon:Pt,removeIcon:kt,allowClear:pt,notFoundContent:yt,className:Mn,getPopupContainer:ze||f,dropdownClassName:ln,disabled:Dn,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Nn}),maxCount:ct?fe:void 0,tagRender:ct?p:void 0})))},je=e.forwardRef(v),Oe=(0,Z.Z)(je,"dropdownAlign");je.SECRET_COMBOBOX_MODE_DO_NOT_USE=le,je.Option=L.Wx,je.OptGroup=L.Xo,je._InternalPanelDoNotUseOrYouWillBeFired=Oe,Je.default=je},1722:function(an,Je){const t=d=>{const L={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:d==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},L),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},L),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},L),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},L),{points:["br","tr"],offset:[0,-4]})}};function e(d,i){return d||t(i)}Je.Z=e},90376:function(an,Je,t){t.d(Je,{Z:function(){return H}});var e=t(63356),d=t(56119),i=t(16931),L=t(51636),x=t(46e3),D=t(93873);const E=n=>{const{optionHeight:ce,optionFontSize:T,optionLineHeight:ze,optionPadding:xe}=n;return{position:"relative",display:"block",minHeight:ce,padding:xe,color:n.colorText,fontWeight:"normal",fontSize:T,lineHeight:ze,boxSizing:"border-box"}};var K=n=>{const{antCls:ce,componentCls:T}=n,ze=`${T}-item`,xe=`&${ce}-slide-up-enter${ce}-slide-up-enter-active`,We=`&${ce}-slide-up-appear${ce}-slide-up-appear-active`,st=`&${ce}-slide-up-leave${ce}-slide-up-leave-active`,at=`${T}-dropdown-placement-`,Ae=`${ze}-option-selected`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"absolute",top:-9999,zIndex:n.zIndexPopup,boxSizing:"border-box",padding:n.paddingXXS,overflow:"hidden",fontSize:n.fontSize,fontVariant:"initial",backgroundColor:n.colorBgElevated,borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary,[` + `]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,color:c.colorText,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}`},[`${y}-prev, ${y}-next`]:{outline:0,button:{color:c.colorText,cursor:"pointer",userSelect:"none"},[`${y}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:c.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:"none",transition:`all ${c.motionDurationMid}`},[`&:hover ${y}-item-link`]:{backgroundColor:c.colorBgTextHover},[`&:active ${y}-item-link`]:{backgroundColor:c.colorBgTextActive},[`&${y}-disabled:hover`]:{[`${y}-item-link`]:{backgroundColor:"transparent"}}},[`${y}-slash`]:{marginInlineEnd:c.paginationSlashMarginInlineEnd,marginInlineStart:c.paginationSlashMarginInlineStart},[`${y}-options`]:{display:"inline-block",marginInlineStart:c.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:c.controlHeight,marginInlineStart:c.marginXS,lineHeight:(0,tt.unit)(c.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,q.ik)(c)),(0,ge.$U)(c,{borderColor:c.colorBorder,hoverBorderColor:c.colorPrimaryHover,activeBorderColor:c.colorPrimary,activeShadow:c.activeShadow})),{"&[disabled]":Object.assign({},(0,ge.Xy)(c)),width:c.calc(c.controlHeightLG).mul(1.25).equal(),height:c.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:c.marginXS,marginInlineEnd:c.marginXS})}}}},R=c=>{const{componentCls:y}=c;return{[`${y}-item`]:{display:"inline-block",minWidth:c.itemSize,height:c.itemSize,marginInlineEnd:c.marginXS,fontFamily:c.fontFamily,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} transparent`,borderRadius:c.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,tt.unit)(c.paginationItemPaddingInline)}`,color:c.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${y}-item-active)`]:{"&:hover":{transition:`all ${c.motionDurationMid}`,backgroundColor:c.colorBgTextHover},"&:active":{backgroundColor:c.colorBgTextActive}},"&-active":{fontWeight:c.fontWeightStrong,backgroundColor:c.itemActiveBg,borderColor:c.colorPrimary,a:{color:c.colorPrimary},"&:hover":{borderColor:c.colorPrimaryHover},"&:hover a":{color:c.colorPrimaryHover}}}}},X=c=>{const{componentCls:y}=c;return{[y]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(c)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${y}-total-text`]:{display:"inline-block",height:c.itemSize,marginInlineEnd:c.marginXS,lineHeight:(0,tt.unit)(c.calc(c.itemSize).sub(2).equal()),verticalAlign:"middle"}}),R(c)),k(c)),Te(c)),bt(c)),Ke(c)),{[`@media only screen and (max-width: ${c.screenLG}px)`]:{[`${y}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${c.screenSM}px)`]:{[`${y}-options`]:{display:"none"}}}),[`&${c.componentCls}-rtl`]:{direction:"rtl"}}},p=c=>{const{componentCls:y}=c;return{[`${y}:not(${y}-disabled)`]:{[`${y}-item`]:Object.assign({},(0,Qe.Qy)(c)),[`${y}-jump-prev, ${y}-jump-next`]:{"&:focus-visible":Object.assign({[`${y}-item-link-icon`]:{opacity:1},[`${y}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(c))},[`${y}-prev, ${y}-next`]:{[`&:focus-visible ${y}-item-link`]:Object.assign({},(0,Qe.oN)(c))}}}},fe=c=>Object.assign({itemBg:c.colorBgContainer,itemSize:c.controlHeight,itemSizeSM:c.controlHeightSM,itemActiveBg:c.colorBgContainer,itemLinkBg:c.colorBgContainer,itemActiveColorDisabled:c.colorTextDisabled,itemActiveBgDisabled:c.controlItemBgActiveDisabled,itemInputBg:c.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Se.T)(c)),z=c=>(0,ie.mergeToken)(c,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:c.calc(c.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:c.calc(c.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:c.calc(c.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:c.calc(c.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:c.marginSM,paginationSlashMarginInlineEnd:c.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Se.e)(c));var o=(0,qe.I$)("Pagination",c=>{const y=z(c);return[X(y),p(y)]},fe);const f=c=>{const{componentCls:y}=c;return{[`${y}${y}-bordered${y}-disabled:not(${y}-mini)`]:{"&, &:hover":{[`${y}-item-link`]:{borderColor:c.colorBorder}},"&:focus-visible":{[`${y}-item-link`]:{borderColor:c.colorBorder}},[`${y}-item, ${y}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,[`&:hover:not(${y}-item-active)`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,a:{color:c.colorTextDisabled}},[`&${y}-item-active`]:{backgroundColor:c.itemActiveBgDisabled}},[`${y}-prev, ${y}-next`]:{"&:hover button":{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,color:c.colorTextDisabled},[`${y}-item-link`]:{backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder}}},[`${y}${y}-bordered:not(${y}-mini)`]:{[`${y}-prev, ${y}-next`]:{"&:hover button":{borderColor:c.colorPrimaryHover,backgroundColor:c.itemBg},[`${y}-item-link`]:{backgroundColor:c.itemLinkBg,borderColor:c.colorBorder},[`&:hover ${y}-item-link`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,color:c.colorPrimary},[`&${y}-disabled`]:{[`${y}-item-link`]:{borderColor:c.colorBorder,color:c.colorTextDisabled}}},[`${y}-item`]:{backgroundColor:c.itemBg,border:`${(0,tt.unit)(c.lineWidth)} ${c.lineType} ${c.colorBorder}`,[`&:hover:not(${y}-item-active)`]:{borderColor:c.colorPrimary,backgroundColor:c.itemBg,a:{color:c.colorPrimary}},"&-active":{borderColor:c.colorPrimary}}}}};var se=(0,qe.bk)(["Pagination","bordered"],c=>{const y=z(c);return[f(y)]},fe);function _(c){return(0,e.useMemo)(()=>typeof c=="boolean"?[c,{}]:c&&typeof c=="object"?[!0,c]:[void 0,void 0],[c])}var $=function(c,y){var Ge={};for(var W in c)Object.prototype.hasOwnProperty.call(c,W)&&y.indexOf(W)<0&&(Ge[W]=c[W]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,W=Object.getOwnPropertySymbols(c);Le{const{align:y,prefixCls:Ge,selectPrefixCls:W,className:Le,rootClassName:He,style:nt,size:it,locale:et,responsive:w,showSizeChanger:pe,selectComponentClass:Ze,pageSizeOptions:Ue}=c,ot=$(c,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Tt}=(0,We.Z)(w),[,ct]=(0,Ae.ZP)(),{getPrefixCls:dt,direction:Rt,showSizeChanger:Vt,className:Ht,style:Xt}=(0,ze.dj)("pagination"),wt=dt("pagination",Ge),[Ut,yt,Bt]=o(wt),Pt=(0,xe.Z)(it),kt=Pt==="small"||!!(Tt&&!Pt&&w),[Wt]=(0,st.Z)("Pagination",T.Z),pt=Object.assign(Object.assign({},Wt),et),[Lt,ln]=_(pe),[rn,xn]=_(Vt),Dn=Lt!=null?Lt:rn,Mn=ln!=null?ln:xn,tn=Ze||at.default,Nn=e.useMemo(()=>Ue?Ue.map(Be=>Number(Be)):void 0,[Ue]),Pn=Be=>{var Ie;const{disabled:I,size:Y,onSizeChange:be,"aria-label":ye,className:g,options:re}=Be,{className:De,onChange:u}=Mn||{},S=(Ie=re.find(A=>String(A.value)===String(Y)))===null||Ie===void 0?void 0:Ie.value;return e.createElement(tn,Object.assign({disabled:I,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:A=>A.parentNode,"aria-label":ye,options:re},Mn,{value:S,onChange:(A,ve)=>{be==null||be(A),u==null||u(A,ve)},size:kt?"small":"middle",className:P()(g,De)}))},bn=e.useMemo(()=>{const Be=e.createElement("span",{className:`${wt}-item-ellipsis`},"\u2022\u2022\u2022"),Ie=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(U.Z,null):e.createElement(r.Z,null)),I=e.createElement("button",{className:`${wt}-item-link`,type:"button",tabIndex:-1},Rt==="rtl"?e.createElement(r.Z,null):e.createElement(U.Z,null)),Y=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(K.Z,{className:`${wt}-item-link-icon`}):e.createElement(Z,{className:`${wt}-item-link-icon`}),Be)),be=e.createElement("a",{className:`${wt}-item-link`},e.createElement("div",{className:`${wt}-item-container`},Rt==="rtl"?e.createElement(Z,{className:`${wt}-item-link-icon`}):e.createElement(K.Z,{className:`${wt}-item-link-icon`}),Be));return{prevIcon:Ie,nextIcon:I,jumpPrevIcon:Y,jumpNextIcon:be}},[Rt,wt]),Fn=dt("select",W),_n=P()({[`${wt}-${y}`]:!!y,[`${wt}-mini`]:kt,[`${wt}-rtl`]:Rt==="rtl",[`${wt}-bordered`]:ct.wireframe},Ht,Le,He,yt,Bt),Jn=Object.assign(Object.assign({},Xt),nt);return Ut(e.createElement(e.Fragment,null,ct.wireframe&&e.createElement(se,{prefixCls:wt}),e.createElement(ce,Object.assign({},bn,ot,{style:Jn,prefixCls:wt,selectPrefixCls:Fn,className:_n,locale:pt,pageSizeOptions:Nn,showSizeChanger:Dn,sizeChangerRender:Pn}))))},ue=G},89787:function(an,Je,t){t.d(Je,{Z:function(){return et}});var e=t(59301),d=t(17835),i=t(29679),L=t(40001),x=t(19248),D=t(99267),E=t(92310),Z=t.n(E),K=t(2738),r=t(48755),U=t(54476),M=t(33885),P=t(75931),me={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},lt=function(){var pe=(0,e.useRef)([]),Ze=(0,e.useRef)(null);return(0,e.useEffect)(function(){var Ue=Date.now(),ot=!1;pe.current.forEach(function(Tt){if(Tt){ot=!0;var ct=Tt.style;ct.transitionDuration=".3s, .3s, .3s, .06s",Ze.current&&Ue-Ze.current<100&&(ct.transitionDuration="0s, 0s")}}),ot&&(Ze.current=Date.now())}),pe.current},Fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Pe=function(pe){var Ze=(0,M.Z)((0,M.Z)({},me),pe),Ue=Ze.className,ot=Ze.percent,Tt=Ze.prefixCls,ct=Ze.strokeColor,dt=Ze.strokeLinecap,Rt=Ze.strokeWidth,Vt=Ze.style,Ht=Ze.trailColor,Xt=Ze.trailWidth,wt=Ze.transition,Ut=(0,P.Z)(Ze,Fe);delete Ut.gapPosition;var yt=Array.isArray(ot)?ot:[ot],Bt=Array.isArray(ct)?ct:[ct],Pt=lt(),kt=Rt/2,Wt=100-Rt/2,pt="M ".concat(dt==="round"?kt:0,",").concat(kt,` + L `).concat(dt==="round"?Wt:100,",").concat(kt),Lt="0 0 100 ".concat(Rt),ln=0;return e.createElement("svg",(0,U.Z)({className:Z()("".concat(Tt,"-line"),Ue),viewBox:Lt,preserveAspectRatio:"none",style:Vt},Ut),e.createElement("path",{className:"".concat(Tt,"-line-trail"),d:pt,strokeLinecap:dt,stroke:Ht,strokeWidth:Xt||Rt,fillOpacity:"0"}),yt.map(function(rn,xn){var Dn=1;switch(dt){case"round":Dn=1-Rt/100;break;case"square":Dn=1-Rt/2/100;break;default:Dn=1;break}var Mn={strokeDasharray:"".concat(rn*Dn,"px, 100px"),strokeDashoffset:"-".concat(ln,"px"),transition:wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tn=Bt[xn]||Bt[Bt.length-1];return ln+=rn,e.createElement("path",{key:xn,className:"".concat(Tt,"-line-path"),d:pt,strokeLinecap:dt,stroke:tn,strokeWidth:Rt,fillOpacity:"0",ref:function(Pn){Pt[xn]=Pn},style:Mn})}))},Ve=Pe,C=t(76190),he=t(42978),s=t(47273),h=0,oe=(0,s.Z)();function le(){var w;return oe?(w=h,h+=1):w="TEST_OR_SSR",w}var v=function(w){var pe=e.useState(),Ze=(0,he.Z)(pe,2),Ue=Ze[0],ot=Ze[1];return e.useEffect(function(){ot("rc_progress_".concat(le()))},[]),w||Ue},je=function(pe){var Ze=pe.bg,Ue=pe.children;return e.createElement("div",{style:{width:"100%",height:"100%",background:Ze}},Ue)};function Oe(w,pe){return Object.keys(w).map(function(Ze){var Ue=parseFloat(Ze),ot="".concat(Math.floor(Ue*pe),"%");return"".concat(w[Ze]," ").concat(ot)})}var ne=e.forwardRef(function(w,pe){var Ze=w.prefixCls,Ue=w.color,ot=w.gradientId,Tt=w.radius,ct=w.style,dt=w.ptg,Rt=w.strokeLinecap,Vt=w.strokeWidth,Ht=w.size,Xt=w.gapDegree,wt=Ue&&(0,C.Z)(Ue)==="object",Ut=wt?"#FFF":void 0,yt=Ht/2,Bt=e.createElement("circle",{className:"".concat(Ze,"-circle-path"),r:Tt,cx:yt,cy:yt,stroke:Ut,strokeLinecap:Rt,strokeWidth:Vt,opacity:dt===0?0:1,style:ct,ref:pe});if(!wt)return Bt;var Pt="".concat(ot,"-conic"),kt=Xt?"".concat(180+Xt/2,"deg"):"0deg",Wt=Oe(Ue,(360-Xt)/360),pt=Oe(Ue,1),Lt="conic-gradient(from ".concat(kt,", ").concat(Wt.join(", "),")"),ln="linear-gradient(to ".concat(Xt?"bottom":"top",", ").concat(pt.join(", "),")");return e.createElement(e.Fragment,null,e.createElement("mask",{id:Pt},Bt),e.createElement("foreignObject",{x:0,y:0,width:Ht,height:Ht,mask:"url(#".concat(Pt,")")},e.createElement(je,{bg:ln},e.createElement(je,{bg:Lt}))))}),Re=ne,de=100,H=function(pe,Ze,Ue,ot,Tt,ct,dt,Rt,Vt,Ht){var Xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wt=Ue/100*360*((360-ct)/360),Ut=ct===0?0:{bottom:0,top:180,left:90,right:-90}[dt],yt=(100-ot)/100*Ze;Vt==="round"&&ot!==100&&(yt+=Ht/2,yt>=Ze&&(yt=Ze-.01));var Bt=de/2;return{stroke:typeof Rt=="string"?Rt:void 0,strokeDasharray:"".concat(Ze,"px ").concat(pe),strokeDashoffset:yt+Xt,transform:"rotate(".concat(Tt+wt+Ut,"deg)"),transformOrigin:"".concat(Bt,"px ").concat(Bt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},n=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ce(w){var pe=w!=null?w:[];return Array.isArray(pe)?pe:[pe]}var T=function(pe){var Ze=(0,M.Z)((0,M.Z)({},me),pe),Ue=Ze.id,ot=Ze.prefixCls,Tt=Ze.steps,ct=Ze.strokeWidth,dt=Ze.trailWidth,Rt=Ze.gapDegree,Vt=Rt===void 0?0:Rt,Ht=Ze.gapPosition,Xt=Ze.trailColor,wt=Ze.strokeLinecap,Ut=Ze.style,yt=Ze.className,Bt=Ze.strokeColor,Pt=Ze.percent,kt=(0,P.Z)(Ze,n),Wt=de/2,pt=v(Ue),Lt="".concat(pt,"-gradient"),ln=Wt-ct/2,rn=Math.PI*2*ln,xn=Vt>0?90+Vt/2:-90,Dn=rn*((360-Vt)/360),Mn=(0,C.Z)(Tt)==="object"?Tt:{count:Tt,gap:2},tn=Mn.count,Nn=Mn.gap,Pn=ce(Pt),bn=ce(Bt),Fn=bn.find(function(be){return be&&(0,C.Z)(be)==="object"}),_n=Fn&&(0,C.Z)(Fn)==="object",Jn=_n?"butt":wt,Be=H(rn,Dn,0,100,xn,Vt,Ht,Xt,Jn,ct),Ie=lt(),I=function(){var ye=0;return Pn.map(function(g,re){var De=bn[re]||bn[bn.length-1],u=H(rn,Dn,ye,g,xn,Vt,Ht,De,Jn,ct);return ye+=g,e.createElement(Re,{key:re,color:De,ptg:g,radius:ln,prefixCls:ot,gradientId:Lt,style:u,strokeLinecap:Jn,strokeWidth:ct,gapDegree:Vt,ref:function(A){Ie[re]=A},size:de})}).reverse()},Y=function(){var ye=Math.round(tn*(Pn[0]/100)),g=100/tn,re=0;return new Array(tn).fill(null).map(function(De,u){var S=u<=ye-1?bn[0]:Xt,A=S&&(0,C.Z)(S)==="object"?"url(#".concat(Lt,")"):void 0,ve=H(rn,Dn,re,g,xn,Vt,Ht,S,"butt",ct,Nn);return re+=(Dn-ve.strokeDashoffset+Nn)*100/Dn,e.createElement("circle",{key:u,className:"".concat(ot,"-circle-path"),r:ln,cx:Wt,cy:Wt,stroke:A,strokeWidth:ct,opacity:1,style:ve,ref:function(O){Ie[u]=O}})})};return e.createElement("svg",(0,U.Z)({className:Z()("".concat(ot,"-circle"),yt),viewBox:"0 0 ".concat(de," ").concat(de),style:Ut,id:Ue,role:"presentation"},kt),!tn&&e.createElement("circle",{className:"".concat(ot,"-circle-trail"),r:ln,cx:Wt,cy:Wt,stroke:Xt,strokeLinecap:Jn,strokeWidth:dt||ct,style:Be}),tn?Y():I())},ze=T,xe={Line:Ve,Circle:ze},We=t(25399),st=t(68361);function at(w){return!w||w<0?0:w>100?100:w}function Ae(w){let{success:pe,successPercent:Ze}=w,Ue=Ze;return pe&&"progress"in pe&&(Ue=pe.progress),pe&&"percent"in pe&&(Ue=pe.percent),Ue}const tt=w=>{let{percent:pe,success:Ze,successPercent:Ue}=w;const ot=at(Ae({success:Ze,successPercent:Ue}));return[ot,at(at(pe)-ot)]},q=w=>{let{success:pe={},strokeColor:Ze}=w;const{strokeColor:Ue}=pe;return[Ue||st.presetPrimaryColors.green,Ze||null]},Se=(w,pe,Ze)=>{var Ue,ot,Tt,ct;let dt=-1,Rt=-1;if(pe==="step"){const Vt=Ze.steps,Ht=Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?(dt=w==="small"?2:14,Rt=Ht!=null?Ht:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=14,Rt=8]=Array.isArray(w)?w:[w.width,w.height],dt*=Vt}else if(pe==="line"){const Vt=Ze==null?void 0:Ze.strokeWidth;typeof w=="string"||typeof w=="undefined"?Rt=Vt||(w==="small"?6:8):typeof w=="number"?[dt,Rt]=[w,w]:[dt=-1,Rt=8]=Array.isArray(w)?w:[w.width,w.height]}else(pe==="circle"||pe==="dashboard")&&(typeof w=="string"||typeof w=="undefined"?[dt,Rt]=w==="small"?[60,60]:[120,120]:typeof w=="number"?[dt,Rt]=[w,w]:Array.isArray(w)&&(dt=(ot=(Ue=w[0])!==null&&Ue!==void 0?Ue:w[1])!==null&&ot!==void 0?ot:120,Rt=(ct=(Tt=w[0])!==null&&Tt!==void 0?Tt:w[1])!==null&&ct!==void 0?ct:120));return[dt,Rt]},ge=3,Qe=w=>ge/w*100;var qe=w=>{const{prefixCls:pe,trailColor:Ze=null,strokeLinecap:Ue="round",gapPosition:ot,gapDegree:Tt,width:ct=120,type:dt,children:Rt,success:Vt,size:Ht=ct,steps:Xt}=w,[wt,Ut]=Se(Ht,"circle");let{strokeWidth:yt}=w;yt===void 0&&(yt=Math.max(Qe(wt),6));const Bt={width:wt,height:Ut,fontSize:wt*.15+6},Pt=e.useMemo(()=>{if(Tt||Tt===0)return Tt;if(dt==="dashboard")return 75},[Tt,dt]),kt=tt(w),Wt=ot||dt==="dashboard"&&"bottom"||void 0,pt=Object.prototype.toString.call(w.strokeColor)==="[object Object]",Lt=q({success:Vt,strokeColor:w.strokeColor}),ln=Z()(`${pe}-inner`,{[`${pe}-circle-gradient`]:pt}),rn=e.createElement(ze,{steps:Xt,percent:Xt?kt[1]:kt,strokeWidth:yt,trailWidth:yt,strokeColor:Xt?Lt[1]:Lt,strokeLinecap:Ue,trailColor:Ze,prefixCls:pe,gapDegree:Pt,gapPosition:Wt}),xn=wt<=20,Dn=e.createElement("div",{className:ln,style:Bt},rn,!xn&&Rt);return xn?e.createElement(We.Z,{title:Rt},Dn):Dn},Ke=t(36237),bt=t(63356),Te=t(16931),k=t(51636);const R="--progress-line-stroke-color",X="--progress-percent",p=w=>{const pe=w?"100%":"-100%";return new Ke.Keyframes(`antProgress${w?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},fe=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:Object.assign(Object.assign({},(0,bt.Wf)(w)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:w.fontSize},[`${pe}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${pe}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:w.remainingColor,borderRadius:w.lineBorderRadius},[`${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.defaultColor}},[`${pe}-success-bg, ${pe}-bg`]:{position:"relative",background:w.defaultColor,borderRadius:w.lineBorderRadius,transition:`all ${w.motionDurationSlow} ${w.motionEaseInOutCirc}`},[`${pe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${pe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:w.marginXXS}},[`${pe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${R})`]},height:"100%",width:`calc(1 / var(${X}) * 100%)`,display:"block"},[`&${pe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${pe}-text-inner`]:{color:w.colorWhite,[`&${pe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${pe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:w.colorSuccess},[`${pe}-text`]:{display:"inline-block",marginInlineStart:w.marginXS,color:w.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ze]:{fontSize:w.fontSize},[`&${pe}-text-outer`]:{width:"max-content"},[`&${pe}-text-outer${pe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:w.marginXS}},[`${pe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ke.unit)(w.paddingXXS)}`,[`&${pe}-text-start`]:{justifyContent:"start"},[`&${pe}-text-end`]:{justifyContent:"end"}},[`&${pe}-status-active`]:{[`${pe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:w.colorBgContainer,borderRadius:w.lineBorderRadius,opacity:0,animationName:p(),animationDuration:w.progressActiveMotionDuration,animationTimingFunction:w.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pe}-rtl${pe}-status-active`]:{[`${pe}-bg::before`]:{animationName:p(!0)}},[`&${pe}-status-exception`]:{[`${pe}-bg`]:{backgroundColor:w.colorError},[`${pe}-text`]:{color:w.colorError}},[`&${pe}-status-exception ${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.colorError}},[`&${pe}-status-success`]:{[`${pe}-bg`]:{backgroundColor:w.colorSuccess},[`${pe}-text`]:{color:w.colorSuccess}},[`&${pe}-status-success ${pe}-inner:not(${pe}-circle-gradient)`]:{[`${pe}-circle-path`]:{stroke:w.colorSuccess}}})}},z=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:{[`${pe}-circle-trail`]:{stroke:w.remainingColor},[`&${pe}-circle ${pe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pe}-circle ${pe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:w.circleTextColor,fontSize:w.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ze]:{fontSize:w.circleIconFontSize}},[`${pe}-circle&-status-exception`]:{[`${pe}-text`]:{color:w.colorError}},[`${pe}-circle&-status-success`]:{[`${pe}-text`]:{color:w.colorSuccess}}},[`${pe}-inline-circle`]:{lineHeight:1,[`${pe}-inner`]:{verticalAlign:"bottom"}}}},o=w=>{const{componentCls:pe}=w;return{[pe]:{[`${pe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:w.progressStepMinWidth,marginInlineEnd:w.progressStepMarginInlineEnd,backgroundColor:w.remainingColor,transition:`all ${w.motionDurationSlow}`,"&-active":{backgroundColor:w.defaultColor}}}}}},f=w=>{const{componentCls:pe,iconCls:Ze}=w;return{[pe]:{[`${pe}-small&-line, ${pe}-small&-line ${pe}-text ${Ze}`]:{fontSize:w.fontSizeSM}}}},se=w=>({circleTextColor:w.colorText,defaultColor:w.colorInfo,remainingColor:w.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${w.fontSize/w.fontSizeSM}em`});var _=(0,Te.I$)("Progress",w=>{const pe=w.calc(w.marginXXS).div(2).equal(),Ze=(0,k.mergeToken)(w,{progressStepMarginInlineEnd:pe,progressStepMinWidth:pe,progressActiveMotionDuration:"2.4s"});return[fe(Ze),z(Ze),o(Ze),f(Ze)]},se),$=function(w,pe){var Ze={};for(var Ue in w)Object.prototype.hasOwnProperty.call(w,Ue)&&pe.indexOf(Ue)<0&&(Ze[Ue]=w[Ue]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ue=Object.getOwnPropertySymbols(w);ot{let pe=[];return Object.keys(w).forEach(Ze=>{const Ue=parseFloat(Ze.replace(/%/g,""));Number.isNaN(Ue)||pe.push({key:Ue,value:w[Ze]})}),pe=pe.sort((Ze,Ue)=>Ze.key-Ue.key),pe.map(Ze=>{let{key:Ue,value:ot}=Ze;return`${ot} ${Ue}%`}).join(", ")},G=(w,pe)=>{const{from:Ze=st.presetPrimaryColors.blue,to:Ue=st.presetPrimaryColors.blue,direction:ot=pe==="rtl"?"to left":"to right"}=w,Tt=$(w,["from","to","direction"]);if(Object.keys(Tt).length!==0){const dt=N(Tt),Rt=`linear-gradient(${ot}, ${dt})`;return{background:Rt,[R]:Rt}}const ct=`linear-gradient(${ot}, ${Ze}, ${Ue})`;return{background:ct,[R]:ct}};var c=w=>{const{prefixCls:pe,direction:Ze,percent:Ue,size:ot,strokeWidth:Tt,strokeColor:ct,strokeLinecap:dt="round",children:Rt,trailColor:Vt=null,percentPosition:Ht,success:Xt}=w,{align:wt,type:Ut}=Ht,yt=ct&&typeof ct!="string"?G(ct,Ze):{[R]:ct,background:ct},Bt=dt==="square"||dt==="butt"?0:void 0,Pt=ot!=null?ot:[-1,Tt||(ot==="small"?6:8)],[kt,Wt]=Se(Pt,"line",{strokeWidth:Tt}),pt={backgroundColor:Vt||void 0,borderRadius:Bt},Lt=Object.assign(Object.assign({width:`${at(Ue)}%`,height:Wt,borderRadius:Bt},yt),{[X]:at(Ue)/100}),ln=Ae(w),rn={width:`${at(ln)}%`,height:Wt,borderRadius:Bt,backgroundColor:Xt==null?void 0:Xt.strokeColor},xn={width:kt<0?"100%":kt},Dn=e.createElement("div",{className:`${pe}-inner`,style:pt},e.createElement("div",{className:Z()(`${pe}-bg`,`${pe}-bg-${Ut}`),style:Lt},Ut==="inner"&&Rt),ln!==void 0&&e.createElement("div",{className:`${pe}-success-bg`,style:rn})),Mn=Ut==="outer"&&wt==="start",tn=Ut==="outer"&&wt==="end";return Ut==="outer"&&wt==="center"?e.createElement("div",{className:`${pe}-layout-bottom`},Dn,Rt):e.createElement("div",{className:`${pe}-outer`,style:xn},Mn&&Rt,Dn,tn&&Rt)},Ge=w=>{const{size:pe,steps:Ze,rounding:Ue=Math.round,percent:ot=0,strokeWidth:Tt=8,strokeColor:ct,trailColor:dt=null,prefixCls:Rt,children:Vt}=w,Ht=Ue(Ze*(ot/100)),Xt=pe==="small"?2:14,wt=pe!=null?pe:[Xt,Tt],[Ut,yt]=Se(wt,"step",{steps:Ze,strokeWidth:Tt}),Bt=Ut/Ze,Pt=Array.from({length:Ze});for(let kt=0;kt{const{prefixCls:Ze,className:Ue,rootClassName:ot,steps:Tt,strokeColor:ct,percent:dt=0,size:Rt="default",showInfo:Vt=!0,type:Ht="line",status:Xt,format:wt,style:Ut,percentPosition:yt={}}=w,Bt=W(w,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:kt="outer"}=yt,Wt=Array.isArray(ct)?ct[0]:ct,pt=typeof ct=="string"||Array.isArray(ct)?ct:void 0,Lt=e.useMemo(()=>{if(Wt){const I=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new d.FastColor(I).isLight()}return!1},[ct]),ln=e.useMemo(()=>{var I,Y;const be=Ae(w);return parseInt(be!==void 0?(I=be!=null?be:0)===null||I===void 0?void 0:I.toString():(Y=dt!=null?dt:0)===null||Y===void 0?void 0:Y.toString(),10)},[dt,w.success,w.successPercent]),rn=e.useMemo(()=>!He.includes(Xt)&&ln>=100?"success":Xt||"normal",[Xt,ln]),{getPrefixCls:xn,direction:Dn,progress:Mn}=e.useContext(r.E_),tn=xn("progress",Ze),[Nn,Pn,bn]=_(tn),Fn=Ht==="line",_n=Fn&&!Tt,Jn=e.useMemo(()=>{if(!Vt)return null;const I=Ae(w);let Y;const be=wt||(g=>`${g}%`),ye=Fn&&Lt&&kt==="inner";return kt==="inner"||wt||rn!=="exception"&&rn!=="success"?Y=be(at(dt),at(I)):rn==="exception"?Y=Fn?e.createElement(x.Z,null):e.createElement(D.Z,null):rn==="success"&&(Y=Fn?e.createElement(i.Z,null):e.createElement(L.Z,null)),e.createElement("span",{className:Z()(`${tn}-text`,{[`${tn}-text-bright`]:ye,[`${tn}-text-${Pt}`]:_n,[`${tn}-text-${kt}`]:_n}),title:typeof Y=="string"?Y:void 0},Y)},[Vt,dt,ln,rn,Ht,tn,wt]);let Be;Ht==="line"?Be=Tt?e.createElement(Ge,Object.assign({},w,{strokeColor:pt,prefixCls:tn,steps:typeof Tt=="object"?Tt.count:Tt}),Jn):e.createElement(c,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,direction:Dn,percentPosition:{align:Pt,type:kt}}),Jn):(Ht==="circle"||Ht==="dashboard")&&(Be=e.createElement(qe,Object.assign({},w,{strokeColor:Wt,prefixCls:tn,progressStatus:rn}),Jn));const Ie=Z()(tn,`${tn}-status-${rn}`,{[`${tn}-${Ht==="dashboard"&&"circle"||Ht}`]:Ht!=="line",[`${tn}-inline-circle`]:Ht==="circle"&&Se(Rt,"circle")[0]<=20,[`${tn}-line`]:_n,[`${tn}-line-align-${Pt}`]:_n,[`${tn}-line-position-${kt}`]:_n,[`${tn}-steps`]:Tt,[`${tn}-show-info`]:Vt,[`${tn}-${Rt}`]:typeof Rt=="string",[`${tn}-rtl`]:Dn==="rtl"},Mn==null?void 0:Mn.className,Ue,ot,Pn,bn);return Nn(e.createElement("div",Object.assign({ref:pe,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Ut),className:Ie,role:"progressbar","aria-valuenow":ln,"aria-valuemin":0,"aria-valuemax":100},(0,K.Z)(Bt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Be))}),et=it},47889:function(an,Je,t){t.d(Je,{ZP:function(){return tt}});var e=t(59301),d=t(92310),i=t.n(d),L=t(18929),x=t(26112),D=t(48755),E=t(83397),Z=t(31756);const K=e.createContext(null),r=K.Provider;var U=K;const M=e.createContext(null),P=M.Provider;var me=t(16632),lt=t(8654),Fe=t(12919),Pe=t(63872),Ve=t(74632),C=t(2171),he=t(56553),s=t(36237),h=t(63356),oe=t(16931),le=t(51636);const v=q=>{const{componentCls:Se,antCls:ge}=q,Qe=`${Se}-group`;return{[Qe]:Object.assign(Object.assign({},(0,h.Wf)(q)),{display:"inline-block",fontSize:0,[`&${Qe}-rtl`]:{direction:"rtl"},[`&${Qe}-block`]:{display:"flex"},[`${ge}-badge ${ge}-badge-count`]:{zIndex:1},[`> ${ge}-badge:not(:first-child) > ${ge}-button-wrapper`]:{borderInlineStart:"none"}})}},je=q=>{const{componentCls:Se,wrapperMarginInlineEnd:ge,colorPrimary:Qe,radioSize:ie,motionDurationSlow:qe,motionDurationMid:Ke,motionEaseInOutCirc:bt,colorBgContainer:Te,colorBorder:k,lineWidth:R,colorBgContainerDisabled:X,colorTextDisabled:p,paddingXS:fe,dotColorDisabled:z,lineType:o,radioColor:f,radioBgColor:se,calc:_}=q,$=`${Se}-inner`,G=_(ie).sub(_(4).mul(2)),ue=_(1).mul(ie).equal({unit:!0});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},(0,h.Wf)(q)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ge,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Se}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:q.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Se}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,s.unit)(R)} ${o} ${Qe}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Se]:Object.assign(Object.assign({},(0,h.Wf)(q)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Se}-wrapper:hover &, + &:hover ${$}`]:{borderColor:Qe},[`${Se}-input:focus-visible + ${$}`]:Object.assign({},(0,h.oN)(q)),[`${Se}:hover::after, ${Se}-wrapper:hover &::after`]:{visibility:"visible"},[`${Se}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ue,height:ue,marginBlockStart:_(1).mul(ie).div(-2).equal({unit:!0}),marginInlineStart:_(1).mul(ie).div(-2).equal({unit:!0}),backgroundColor:f,borderBlockStart:0,borderInlineStart:0,borderRadius:ue,transform:"scale(0)",opacity:0,transition:`all ${qe} ${bt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ue,height:ue,backgroundColor:Te,borderColor:k,borderStyle:"solid",borderWidth:R,borderRadius:"50%",transition:`all ${Ke}`},[`${Se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Se}-checked`]:{[$]:{borderColor:Qe,backgroundColor:se,"&::after":{transform:`scale(${q.calc(q.dotSize).div(ie).equal()})`,opacity:1,transition:`all ${qe} ${bt}`}}},[`${Se}-disabled`]:{cursor:"not-allowed",[$]:{backgroundColor:X,borderColor:k,cursor:"not-allowed","&::after":{backgroundColor:z}},[`${Se}-input`]:{cursor:"not-allowed"},[`${Se}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${Se}-checked`]:{[$]:{"&::after":{transform:`scale(${_(G).div(ie).equal()})`}}}},[`span${Se} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},Oe=q=>{const{buttonColor:Se,controlHeight:ge,componentCls:Qe,lineWidth:ie,lineType:qe,colorBorder:Ke,motionDurationSlow:bt,motionDurationMid:Te,buttonPaddingInline:k,fontSize:R,buttonBg:X,fontSizeLG:p,controlHeightLG:fe,controlHeightSM:z,paddingXS:o,borderRadius:f,borderRadiusSM:se,borderRadiusLG:_,buttonCheckedBg:$,buttonSolidCheckedColor:N,colorTextDisabled:G,colorBgContainerDisabled:ue,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:y,colorPrimary:Ge,colorPrimaryHover:W,colorPrimaryActive:Le,buttonSolidCheckedBg:He,buttonSolidCheckedHoverBg:nt,buttonSolidCheckedActiveBg:it,calc:et}=q;return{[`${Qe}-button-wrapper`]:{position:"relative",display:"inline-block",height:ge,margin:0,paddingInline:k,paddingBlock:0,color:Se,fontSize:R,lineHeight:(0,s.unit)(et(ge).sub(et(ie).mul(2)).equal()),background:X,border:`${(0,s.unit)(ie)} ${qe} ${Ke}`,borderBlockStartWidth:et(ie).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ie,cursor:"pointer",transition:[`color ${Te}`,`background ${Te}`,`box-shadow ${Te}`].join(","),a:{color:Se},[`> ${Qe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:et(ie).mul(-1).equal(),insetInlineStart:et(ie).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ie,paddingInline:0,backgroundColor:Ke,transition:`background-color ${bt}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,s.unit)(ie)} ${qe} ${Ke}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${Qe}-group-large &`]:{height:fe,fontSize:p,lineHeight:(0,s.unit)(et(fe).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${Qe}-group-small &`]:{height:z,paddingInline:et(o).sub(ie).equal(),paddingBlock:0,lineHeight:(0,s.unit)(et(z).sub(et(ie).mul(2)).equal()),"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:Ge},"&:has(:focus-visible)":Object.assign({},(0,h.oN)(q)),[`${Qe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Qe}-button-wrapper-disabled)`]:{zIndex:1,color:Ge,background:$,borderColor:Ge,"&::before":{backgroundColor:Ge},"&:first-child":{borderColor:Ge},"&:hover":{color:W,borderColor:W,"&::before":{backgroundColor:W}},"&:active":{color:Le,borderColor:Le,"&::before":{backgroundColor:Le}}},[`${Qe}-group-solid &-checked:not(${Qe}-button-wrapper-disabled)`]:{color:N,background:He,borderColor:He,"&:hover":{color:N,background:nt,borderColor:nt},"&:active":{color:N,background:it,borderColor:it}},"&-disabled":{color:G,backgroundColor:ue,borderColor:Ke,cursor:"not-allowed","&:first-child, &:hover":{color:G,backgroundColor:ue,borderColor:Ke}},[`&-disabled${Qe}-button-wrapper-checked`]:{color:y,backgroundColor:c,borderColor:Ke,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ne=q=>{const{wireframe:Se,padding:ge,marginXS:Qe,lineWidth:ie,fontSizeLG:qe,colorText:Ke,colorBgContainer:bt,colorTextDisabled:Te,controlItemBgActiveDisabled:k,colorTextLightSolid:R,colorPrimary:X,colorPrimaryHover:p,colorPrimaryActive:fe,colorWhite:z}=q,o=4,f=qe,se=Se?f-o*2:f-(o+ie)*2;return{radioSize:f,dotSize:se,dotColorDisabled:Te,buttonSolidCheckedColor:R,buttonSolidCheckedBg:X,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:fe,buttonBg:bt,buttonCheckedBg:bt,buttonColor:Ke,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:Te,buttonPaddingInline:ge-ie,wrapperMarginInlineEnd:Qe,radioColor:Se?X:z,radioBgColor:Se?bt:X}};var Re=(0,oe.I$)("Radio",q=>{const{controlOutline:Se,controlOutlineWidth:ge}=q,Qe=`0 0 0 ${(0,s.unit)(ge)} ${Se}`,ie=Qe,qe=(0,le.mergeToken)(q,{radioFocusShadow:Qe,radioButtonFocusShadow:ie});return[v(qe),je(qe),Oe(qe)]},ne,{unitless:{radioSize:!0,dotSize:!0}}),de=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{var ge,Qe;const ie=e.useContext(U),qe=e.useContext(M),{getPrefixCls:Ke,direction:bt,radio:Te}=e.useContext(D.E_),k=e.useRef(null),R=(0,lt.sQ)(Se,k),{isFormItemInput:X}=e.useContext(he.aM),p=w=>{var pe,Ze;(pe=q.onChange)===null||pe===void 0||pe.call(q,w),(Ze=ie==null?void 0:ie.onChange)===null||Ze===void 0||Ze.call(ie,w)},{prefixCls:fe,className:z,rootClassName:o,children:f,style:se,title:_}=q,$=de(q,["prefixCls","className","rootClassName","children","style","title"]),N=Ke("radio",fe),G=((ie==null?void 0:ie.optionType)||qe)==="button",ue=G?`${N}-button`:N,c=(0,E.Z)(N),[y,Ge,W]=Re(N,c),Le=Object.assign({},$),He=e.useContext(C.Z);ie&&(Le.name=ie.name,Le.onChange=p,Le.checked=q.value===ie.value,Le.disabled=(ge=Le.disabled)!==null&&ge!==void 0?ge:ie.disabled),Le.disabled=(Qe=Le.disabled)!==null&&Qe!==void 0?Qe:He;const nt=i()(`${ue}-wrapper`,{[`${ue}-wrapper-checked`]:Le.checked,[`${ue}-wrapper-disabled`]:Le.disabled,[`${ue}-wrapper-rtl`]:bt==="rtl",[`${ue}-wrapper-in-form-item`]:X,[`${ue}-wrapper-block`]:!!(ie!=null&&ie.block)},Te==null?void 0:Te.className,z,o,Ge,W,c),[it,et]=(0,Ve.Z)(Le.onClick);return y(e.createElement(Fe.Z,{component:"Radio",disabled:Le.disabled},e.createElement("label",{className:nt,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),se),onMouseEnter:q.onMouseEnter,onMouseLeave:q.onMouseLeave,title:_,onClick:it},e.createElement(me.Z,Object.assign({},Le,{className:i()(Le.className,{[Pe.A]:!G}),type:"radio",prefixCls:ue,ref:R,onClick:et})),f!==void 0?e.createElement("span",{className:`${ue}-label`},f):null)))};var ce=e.forwardRef(H),T=t(80402);const ze=e.forwardRef((q,Se)=>{const{getPrefixCls:ge,direction:Qe}=e.useContext(D.E_),ie=(0,T.Z)(),{prefixCls:qe,className:Ke,rootClassName:bt,options:Te,buttonStyle:k="outline",disabled:R,children:X,size:p,style:fe,id:z,optionType:o,name:f=ie,defaultValue:se,value:_,block:$=!1,onChange:N,onMouseEnter:G,onMouseLeave:ue,onFocus:c,onBlur:y}=q,[Ge,W]=(0,L.Z)(se,{value:_}),Le=e.useCallback(ct=>{const dt=Ge,Rt=ct.target.value;"value"in q||W(Rt),Rt!==dt&&(N==null||N(ct))},[Ge,W,N]),He=ge("radio",qe),nt=`${He}-group`,it=(0,E.Z)(He),[et,w,pe]=Re(He,it);let Ze=X;Te&&Te.length>0&&(Ze=Te.map(ct=>typeof ct=="string"||typeof ct=="number"?e.createElement(ce,{key:ct.toString(),prefixCls:He,disabled:R,value:ct,checked:Ge===ct},ct):e.createElement(ce,{key:`radio-group-value-options-${ct.value}`,prefixCls:He,disabled:ct.disabled||R,value:ct.value,checked:Ge===ct.value,title:ct.title,style:ct.style,id:ct.id,required:ct.required},ct.label)));const Ue=(0,Z.Z)(p),ot=i()(nt,`${nt}-${k}`,{[`${nt}-${Ue}`]:Ue,[`${nt}-rtl`]:Qe==="rtl",[`${nt}-block`]:$},Ke,bt,w,pe,it),Tt=e.useMemo(()=>({onChange:Le,value:Ge,disabled:R,name:f,optionType:o,block:$}),[Le,Ge,R,f,o,$]);return et(e.createElement("div",Object.assign({},(0,x.Z)(q,{aria:!0,data:!0}),{className:ot,style:fe,onMouseEnter:G,onMouseLeave:ue,onFocus:c,onBlur:y,id:z,ref:Se}),e.createElement(r,{value:Tt},Ze)))});var xe=e.memo(ze),We=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{const{getPrefixCls:ge}=e.useContext(D.E_),{prefixCls:Qe}=q,ie=We(q,["prefixCls"]),qe=ge("radio",Qe);return e.createElement(P,{value:"button"},e.createElement(ce,Object.assign({prefixCls:qe},ie,{type:"radio",ref:Se})))};var at=e.forwardRef(st);const Ae=ce;Ae.Button=at,Ae.Group=xe,Ae.__ANT_RADIO=!0;var tt=Ae},82326:function(an,Je,t){var e=t(59301),d=t(92310),i=t.n(d),L=t(37463),x=t(2738),D=t(75030),E=t(86641),Z=t(45915),K=t(82855),r=t(48755),U=t(38406),M=t(2171),P=t(83397),me=t(31756),lt=t(56553),Fe=t(24971),Pe=t(70045),Ve=t(57700),C=t(1722),he=t(90376),s=t(68525),h=t(90005),oe=function(ne,Re){var de={};for(var H in ne)Object.prototype.hasOwnProperty.call(ne,H)&&Re.indexOf(H)<0&&(de[H]=ne[H]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,H=Object.getOwnPropertySymbols(ne);n{var de;const{prefixCls:H,bordered:n,className:ce,rootClassName:T,getPopupContainer:ze,popupClassName:xe,dropdownClassName:We,listHeight:st=256,placement:at,listItemHeight:Ae,size:tt,disabled:q,notFoundContent:Se,status:ge,builtinPlacements:Qe,dropdownMatchSelectWidth:ie,popupMatchSelectWidth:qe,direction:Ke,style:bt,allowClear:Te,variant:k,dropdownStyle:R,transitionName:X,tagRender:p,maxCount:fe,prefix:z}=ne,o=oe(ne,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:f,getPrefixCls:se,renderEmpty:_,direction:$,virtual:N,popupMatchSelectWidth:G,popupOverflow:ue}=e.useContext(r.E_),c=(0,r.dj)("select"),[,y]=(0,Ve.ZP)(),Ge=Ae!=null?Ae:y==null?void 0:y.controlHeight,W=se("select",H),Le=se(),He=Ke!=null?Ke:$,{compactSize:nt,compactItemClassnames:it}=(0,Pe.ri)(W,He),[et,w]=(0,Fe.Z)("select",k,n),pe=(0,P.Z)(W),[Ze,Ue,ot]=(0,he.Z)(W,pe),Tt=e.useMemo(()=>{const{mode:Pn}=ne;if(Pn!=="combobox")return Pn===le?"combobox":Pn},[ne.mode]),ct=Tt==="multiple"||Tt==="tags",dt=(0,h.Z)(ne.suffixIcon,ne.showArrow),Rt=(de=qe!=null?qe:ie)!==null&&de!==void 0?de:G,{status:Vt,hasFeedback:Ht,isFormItemInput:Xt,feedbackIcon:wt}=e.useContext(lt.aM),Ut=(0,K.F)(Vt,ge);let yt;Se!==void 0?yt=Se:Tt==="combobox"?yt=null:yt=(_==null?void 0:_("Select"))||e.createElement(U.Z,{componentName:"Select"});const{suffixIcon:Bt,itemIcon:Pt,removeIcon:kt,clearIcon:Wt}=(0,s.Z)(Object.assign(Object.assign({},o),{multiple:ct,hasFeedback:Ht,feedbackIcon:wt,showSuffixIcon:dt,prefixCls:W,componentName:"Select"})),pt=Te===!0?{clearIcon:Wt}:Te,Lt=(0,x.Z)(o,["suffixIcon","itemIcon"]),ln=i()(xe||We,{[`${W}-dropdown-${He}`]:He==="rtl"},T,ot,pe,Ue),rn=(0,me.Z)(Pn=>{var bn;return(bn=tt!=null?tt:nt)!==null&&bn!==void 0?bn:Pn}),xn=e.useContext(M.Z),Dn=q!=null?q:xn,Mn=i()({[`${W}-lg`]:rn==="large",[`${W}-sm`]:rn==="small",[`${W}-rtl`]:He==="rtl",[`${W}-${et}`]:w,[`${W}-in-form-item`]:Xt},(0,K.Z)(W,Ut,Ht),it,c.className,ce,T,ot,pe,Ue),tn=e.useMemo(()=>at!==void 0?at:He==="rtl"?"bottomRight":"bottomLeft",[at,He]),[Nn]=(0,D.Cn)("SelectLike",R==null?void 0:R.zIndex);return Ze(e.createElement(L.ZP,Object.assign({ref:Re,virtual:N,showSearch:c.showSearch},Lt,{style:Object.assign(Object.assign({},c.style),bt),dropdownMatchSelectWidth:Rt,transitionName:(0,E.m)(Le,"slide-up",X),builtinPlacements:(0,C.Z)(Qe,ue),listHeight:st,listItemHeight:Ge,mode:Tt,prefixCls:W,placement:tn,direction:He,prefix:z,suffixIcon:Bt,menuItemSelectedIcon:Pt,removeIcon:kt,allowClear:pt,notFoundContent:yt,className:Mn,getPopupContainer:ze||f,dropdownClassName:ln,disabled:Dn,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Nn}),maxCount:ct?fe:void 0,tagRender:ct?p:void 0})))},je=e.forwardRef(v),Oe=(0,Z.Z)(je,"dropdownAlign");je.SECRET_COMBOBOX_MODE_DO_NOT_USE=le,je.Option=L.Wx,je.OptGroup=L.Xo,je._InternalPanelDoNotUseOrYouWillBeFired=Oe,Je.default=je},1722:function(an,Je){const t=d=>{const L={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:d==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},L),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},L),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},L),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},L),{points:["br","tr"],offset:[0,-4]})}};function e(d,i){return d||t(i)}Je.Z=e},90376:function(an,Je,t){t.d(Je,{Z:function(){return H}});var e=t(63356),d=t(56119),i=t(16931),L=t(51636),x=t(46e3),D=t(93873);const E=n=>{const{optionHeight:ce,optionFontSize:T,optionLineHeight:ze,optionPadding:xe}=n;return{position:"relative",display:"block",minHeight:ce,padding:xe,color:n.colorText,fontWeight:"normal",fontSize:T,lineHeight:ze,boxSizing:"border-box"}};var K=n=>{const{antCls:ce,componentCls:T}=n,ze=`${T}-item`,xe=`&${ce}-slide-up-enter${ce}-slide-up-enter-active`,We=`&${ce}-slide-up-appear${ce}-slide-up-appear-active`,st=`&${ce}-slide-up-leave${ce}-slide-up-leave-active`,at=`${T}-dropdown-placement-`,Ae=`${ze}-option-selected`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"absolute",top:-9999,zIndex:n.zIndexPopup,boxSizing:"border-box",padding:n.paddingXXS,overflow:"hidden",fontSize:n.fontSize,fontVariant:"initial",backgroundColor:n.colorBgElevated,borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary,[` ${xe}${at}bottomLeft, ${We}${at}bottomLeft `]:{animationName:x.fJ},[` @@ -87,28 +87,28 @@ `]:{animationName:x.Qt},[`${st}${at}bottomLeft`]:{animationName:x.Uw},[` ${st}${at}topLeft, ${st}${at}topRight - `]:{animationName:x.ly},"&-hidden":{display:"none"},[ze]:Object.assign(Object.assign({},E(n)),{cursor:"pointer",transition:`background ${n.motionDurationSlow} ease`,borderRadius:n.borderRadiusSM,"&-group":{color:n.colorTextDescription,fontSize:n.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},e.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ze}-option-disabled)`]:{backgroundColor:n.optionActiveBg},[`&-selected:not(${ze}-option-disabled)`]:{color:n.optionSelectedColor,fontWeight:n.optionSelectedFontWeight,backgroundColor:n.optionSelectedBg,[`${ze}-option-state`]:{color:n.colorPrimary}},"&-disabled":{[`&${ze}-option-selected`]:{backgroundColor:n.colorBgContainerDisabled},color:n.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:n.calc(n.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},E(n)),{color:n.colorTextDisabled})}),[`${Ae}:has(+ ${Ae})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Ae}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,x.oN)(n,"slide-up"),(0,x.oN)(n,"slide-down"),(0,D.Fm)(n,"move-up"),(0,D.Fm)(n,"move-down")]},r=t(26743),V=t(36237);function M(n,ce){const{componentCls:T,inputPaddingHorizontalBase:ze,borderRadius:xe}=n,We=n.calc(n.controlHeight).sub(n.calc(n.lineWidth).mul(2)).equal(),st=ce?`${T}-${ce}`:"";return{[`${T}-single${st}`]:{fontSize:n.fontSize,height:n.controlHeight,[`${T}-selector`]:Object.assign(Object.assign({},(0,e.Wf)(n,!0)),{display:"flex",borderRadius:xe,flex:"1 1 auto",[`${T}-selection-wrap:after`]:{lineHeight:(0,V.unit)(We)},[`${T}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + `]:{animationName:x.ly},"&-hidden":{display:"none"},[ze]:Object.assign(Object.assign({},E(n)),{cursor:"pointer",transition:`background ${n.motionDurationSlow} ease`,borderRadius:n.borderRadiusSM,"&-group":{color:n.colorTextDescription,fontSize:n.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},e.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ze}-option-disabled)`]:{backgroundColor:n.optionActiveBg},[`&-selected:not(${ze}-option-disabled)`]:{color:n.optionSelectedColor,fontWeight:n.optionSelectedFontWeight,backgroundColor:n.optionSelectedBg,[`${ze}-option-state`]:{color:n.colorPrimary}},"&-disabled":{[`&${ze}-option-selected`]:{backgroundColor:n.colorBgContainerDisabled},color:n.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:n.calc(n.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},E(n)),{color:n.colorTextDisabled})}),[`${Ae}:has(+ ${Ae})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Ae}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,x.oN)(n,"slide-up"),(0,x.oN)(n,"slide-down"),(0,D.Fm)(n,"move-up"),(0,D.Fm)(n,"move-down")]},r=t(26743),U=t(36237);function M(n,ce){const{componentCls:T,inputPaddingHorizontalBase:ze,borderRadius:xe}=n,We=n.calc(n.controlHeight).sub(n.calc(n.lineWidth).mul(2)).equal(),st=ce?`${T}-${ce}`:"";return{[`${T}-single${st}`]:{fontSize:n.fontSize,height:n.controlHeight,[`${T}-selector`]:Object.assign(Object.assign({},(0,e.Wf)(n,!0)),{display:"flex",borderRadius:xe,flex:"1 1 auto",[`${T}-selection-wrap:after`]:{lineHeight:(0,U.unit)(We)},[`${T}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${T}-selection-item, ${T}-selection-placeholder - `]:{display:"block",padding:0,lineHeight:(0,V.unit)(We),transition:`all ${n.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${T}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${T}-selection-item:empty:after`,`${T}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + `]:{display:"block",padding:0,lineHeight:(0,U.unit)(We),transition:`all ${n.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${T}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${T}-selection-item:empty:after`,`${T}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${T}-show-arrow ${T}-selection-item, &${T}-show-arrow ${T}-selection-search, &${T}-show-arrow ${T}-selection-placeholder - `]:{paddingInlineEnd:n.showArrowPaddingInlineEnd},[`&${T}-open ${T}-selection-item`]:{color:n.colorTextPlaceholder},[`&:not(${T}-customize-input)`]:{[`${T}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,V.unit)(ze)}`,[`${T}-selection-search-input`]:{height:We,fontSize:n.fontSize},"&:after":{lineHeight:(0,V.unit)(We)}}},[`&${T}-customize-input`]:{[`${T}-selector`]:{"&:after":{display:"none"},[`${T}-selection-search`]:{position:"static",width:"100%"},[`${T}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,V.unit)(ze)}`,"&:after":{display:"none"}}}}}}}function P(n){const{componentCls:ce}=n,T=n.calc(n.controlPaddingHorizontalSM).sub(n.lineWidth).equal();return[M(n),M((0,L.mergeToken)(n,{controlHeight:n.controlHeightSM,borderRadius:n.borderRadiusSM}),"sm"),{[`${ce}-single${ce}-sm`]:{[`&:not(${ce}-customize-input)`]:{[`${ce}-selector`]:{padding:`0 ${(0,V.unit)(T)}`},[`&${ce}-show-arrow ${ce}-selection-search`]:{insetInlineEnd:n.calc(T).add(n.calc(n.fontSize).mul(1.5)).equal()},[` + `]:{paddingInlineEnd:n.showArrowPaddingInlineEnd},[`&${T}-open ${T}-selection-item`]:{color:n.colorTextPlaceholder},[`&:not(${T}-customize-input)`]:{[`${T}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,U.unit)(ze)}`,[`${T}-selection-search-input`]:{height:We,fontSize:n.fontSize},"&:after":{lineHeight:(0,U.unit)(We)}}},[`&${T}-customize-input`]:{[`${T}-selector`]:{"&:after":{display:"none"},[`${T}-selection-search`]:{position:"static",width:"100%"},[`${T}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,U.unit)(ze)}`,"&:after":{display:"none"}}}}}}}function P(n){const{componentCls:ce}=n,T=n.calc(n.controlPaddingHorizontalSM).sub(n.lineWidth).equal();return[M(n),M((0,L.mergeToken)(n,{controlHeight:n.controlHeightSM,borderRadius:n.borderRadiusSM}),"sm"),{[`${ce}-single${ce}-sm`]:{[`&:not(${ce}-customize-input)`]:{[`${ce}-selector`]:{padding:`0 ${(0,U.unit)(T)}`},[`&${ce}-show-arrow ${ce}-selection-search`]:{insetInlineEnd:n.calc(T).add(n.calc(n.fontSize).mul(1.5)).equal()},[` &${ce}-show-arrow ${ce}-selection-item, &${ce}-show-arrow ${ce}-selection-placeholder - `]:{paddingInlineEnd:n.calc(n.fontSize).mul(1.5).equal()}}}},M((0,L.mergeToken)(n,{controlHeight:n.singleItemHeightLG,fontSize:n.fontSizeLG,borderRadius:n.borderRadiusLG}),"lg")]}const me=n=>{const{fontSize:ce,lineHeight:T,lineWidth:ze,controlHeight:xe,controlHeightSM:We,controlHeightLG:st,paddingXXS:at,controlPaddingHorizontal:Ae,zIndexPopupBase:tt,colorText:q,fontWeightStrong:Se,controlItemBgActive:ge,controlItemBgHover:Qe,colorBgContainer:ie,colorFillSecondary:qe,colorBgContainerDisabled:Ke,colorTextDisabled:bt,colorPrimaryHover:Te,colorPrimary:k,controlOutline:R}=n,U=at*2,p=ze*2,fe=Math.min(xe-U,xe-p),z=Math.min(We-U,We-p),o=Math.min(st-U,st-p);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(at/2),zIndexPopup:tt+50,optionSelectedColor:q,optionSelectedFontWeight:Se,optionSelectedBg:ge,optionActiveBg:Qe,optionPadding:`${(xe-ce*T)/2}px ${Ae}px`,optionFontSize:ce,optionLineHeight:T,optionHeight:xe,selectorBg:ie,clearBg:ie,singleItemHeightLG:st,multipleItemBg:qe,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:z,multipleItemHeightLG:o,multipleSelectorBgDisabled:Ke,multipleItemColorDisabled:bt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(n.fontSize*1.25),hoverBorderColor:Te,activeBorderColor:k,activeOutlineColor:R,selectAffixPadding:at}},lt=(n,ce)=>{const{componentCls:T,antCls:ze,controlOutlineWidth:xe}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} ${ce.borderColor}`,background:n.selectorBg},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,boxShadow:`0 0 0 ${(0,V.unit)(xe)} ${ce.activeOutlineColor}`,outline:0},[`${T}-prefix`]:{color:ce.color}}}},Fe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},lt(n,ce))}),Pe=n=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},lt(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),Fe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),Fe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})}),Ve=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{background:ce.bg,border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} transparent`,color:ce.color},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{background:ce.hoverBg},[`${T}-focused& ${T}-selector`]:{background:n.selectorBg,borderColor:ce.activeBorderColor,outline:0}}}},C=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},Ve(n,ce))}),he=n=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ve(n,{bg:n.colorFillTertiary,hoverBg:n.colorFillSecondary,activeBorderColor:n.activeBorderColor,color:n.colorText})),C(n,{status:"error",bg:n.colorErrorBg,hoverBg:n.colorErrorBgHover,activeBorderColor:n.colorError,color:n.colorError})),C(n,{status:"warning",bg:n.colorWarningBg,hoverBg:n.colorWarningBgHover,activeBorderColor:n.colorWarning,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{borderColor:n.colorBorder,background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.colorBgContainer,border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`}})}),s=n=>({"&-borderless":{[`${n.componentCls}-selector`]:{background:"transparent",border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} transparent`},[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`},[`&${n.componentCls}-status-error`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorError}},[`&${n.componentCls}-status-warning`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorWarning}}}}),h=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{borderWidth:`0 0 ${(0,V.unit)(n.lineWidth)} 0`,borderStyle:`none none ${n.lineType} none`,borderColor:ce.borderColor,background:n.selectorBg,borderRadius:0},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,outline:0},[`${T}-prefix`]:{color:ce.color}}}},oe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},h(n,ce))}),le=n=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},h(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),oe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),oe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,V.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})});var je=n=>({[n.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Pe(n)),he(n)),s(n)),le(n))});const Oe=n=>{const{componentCls:ce}=n;return{position:"relative",transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,input:{cursor:"pointer"},[`${ce}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ce}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ne=n=>{const{componentCls:ce}=n;return{[`${ce}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Re=n=>{const{antCls:ce,componentCls:T,inputPaddingHorizontalBase:ze,iconCls:xe}=n;return{[T]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${T}-customize-input) ${T}-selector`]:Object.assign(Object.assign({},Oe(n)),ne(n)),[`${T}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${ce}-typography`]:{display:"inline"}}),[`${T}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:n.colorTextPlaceholder,pointerEvents:"none"}),[`${T}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${n.motionDurationSlow} ease`,[xe]:{verticalAlign:"top",transition:`transform ${n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${T}-suffix)`]:{pointerEvents:"auto"}},[`${T}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${T}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${T}-prefix`]:{flex:"none",marginInlineEnd:n.selectAffixPadding},[`${T}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,zIndex:1,display:"inline-block",width:n.fontSizeIcon,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${n.motionDurationMid} ease, opacity ${n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:n.colorTextTertiary}},[`&:hover ${T}-clear`]:{opacity:1,background:n.colorBgBase,borderRadius:"50%"}}),[`${T}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${T}-has-feedback`]:{[`${T}-clear`]:{insetInlineEnd:n.calc(ze).add(n.fontSize).add(n.paddingXS).equal()}}}}}},de=n=>{const{componentCls:ce}=n;return[{[ce]:{[`&${ce}-in-form-item`]:{width:"100%"}}},Re(n),P(n),(0,r.ZP)(n),K(n),{[`${ce}-rtl`]:{direction:"rtl"}},(0,d.c)(n,{borderElCls:`${ce}-selector`,focusElCls:`${ce}-focused`})]};var H=(0,i.I$)("Select",(n,ce)=>{let{rootPrefixCls:T}=ce;const ze=(0,L.mergeToken)(n,{rootPrefixCls:T,inputPaddingHorizontalBase:n.calc(n.paddingSM).sub(1).equal(),multipleSelectItemHeight:n.multipleItemHeight,selectHeight:n.controlHeight});return[de(ze),je(ze)]},me,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(an,Je,t){t.d(Je,{_z:function(){return D},gp:function(){return L}});var e=t(36237),d=t(63356),i=t(51636);const L=r=>{const{multipleSelectItemHeight:V,paddingXXS:M,lineWidth:P,INTERNAL_FIXED_ITEM_MARGIN:me}=r,lt=r.max(r.calc(M).sub(P).equal(),0),Fe=r.max(r.calc(lt).sub(me).equal(),0);return{basePadding:lt,containerPadding:Fe,itemHeight:(0,e.unit)(V),itemLineHeight:(0,e.unit)(r.calc(V).sub(r.calc(r.lineWidth).mul(2)).equal())}},x=r=>{const{multipleSelectItemHeight:V,selectHeight:M,lineWidth:P}=r;return r.calc(M).sub(V).div(2).sub(P).equal()},D=r=>{const{componentCls:V,iconCls:M,borderRadiusSM:P,motionDurationSlow:me,paddingXS:lt,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:Pe,colorIcon:Ve,colorIconHover:C,INTERNAL_FIXED_ITEM_MARGIN:he}=r;return{[`${V}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${V}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:he,borderRadius:P,cursor:"default",transition:`font-size ${me}, line-height ${me}, height ${me}`,marginInlineEnd:r.calc(he).mul(2).equal(),paddingInlineStart:lt,paddingInlineEnd:r.calc(lt).div(2).equal(),[`${V}-disabled&`]:{color:Fe,borderColor:Pe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.calc(lt).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,d.Ro)()),{display:"inline-flex",alignItems:"center",color:Ve,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${M}`]:{verticalAlign:"-0.2em"},"&:hover":{color:C}})}}}},E=(r,V)=>{const{componentCls:M,INTERNAL_FIXED_ITEM_MARGIN:P}=r,me=`${M}-selection-overflow`,lt=r.multipleSelectItemHeight,Fe=x(r),Pe=V?`${M}-${V}`:"",Ve=L(r);return{[`${M}-multiple${Pe}`]:Object.assign(Object.assign({},D(r)),{[`${M}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ve.basePadding,paddingBlock:Ve.containerPadding,borderRadius:r.borderRadius,[`${M}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(P)} 0`,lineHeight:(0,e.unit)(lt),visibility:"hidden",content:'"\\a0"'}},[`${M}-selection-item`]:{height:Ve.itemHeight,lineHeight:(0,e.unit)(Ve.itemLineHeight)},[`${M}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(lt),marginBlock:P}},[`${M}-prefix`]:{marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ve.basePadding).equal()},[`${me}-item + ${me}-item, + `]:{paddingInlineEnd:n.calc(n.fontSize).mul(1.5).equal()}}}},M((0,L.mergeToken)(n,{controlHeight:n.singleItemHeightLG,fontSize:n.fontSizeLG,borderRadius:n.borderRadiusLG}),"lg")]}const me=n=>{const{fontSize:ce,lineHeight:T,lineWidth:ze,controlHeight:xe,controlHeightSM:We,controlHeightLG:st,paddingXXS:at,controlPaddingHorizontal:Ae,zIndexPopupBase:tt,colorText:q,fontWeightStrong:Se,controlItemBgActive:ge,controlItemBgHover:Qe,colorBgContainer:ie,colorFillSecondary:qe,colorBgContainerDisabled:Ke,colorTextDisabled:bt,colorPrimaryHover:Te,colorPrimary:k,controlOutline:R}=n,X=at*2,p=ze*2,fe=Math.min(xe-X,xe-p),z=Math.min(We-X,We-p),o=Math.min(st-X,st-p);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(at/2),zIndexPopup:tt+50,optionSelectedColor:q,optionSelectedFontWeight:Se,optionSelectedBg:ge,optionActiveBg:Qe,optionPadding:`${(xe-ce*T)/2}px ${Ae}px`,optionFontSize:ce,optionLineHeight:T,optionHeight:xe,selectorBg:ie,clearBg:ie,singleItemHeightLG:st,multipleItemBg:qe,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:z,multipleItemHeightLG:o,multipleSelectorBgDisabled:Ke,multipleItemColorDisabled:bt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(n.fontSize*1.25),hoverBorderColor:Te,activeBorderColor:k,activeOutlineColor:R,selectAffixPadding:at}},lt=(n,ce)=>{const{componentCls:T,antCls:ze,controlOutlineWidth:xe}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} ${ce.borderColor}`,background:n.selectorBg},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,boxShadow:`0 0 0 ${(0,U.unit)(xe)} ${ce.activeOutlineColor}`,outline:0},[`${T}-prefix`]:{color:ce.color}}}},Fe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},lt(n,ce))}),Pe=n=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},lt(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),Fe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),Fe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})}),Ve=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{background:ce.bg,border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} transparent`,color:ce.color},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{background:ce.hoverBg},[`${T}-focused& ${T}-selector`]:{background:n.selectorBg,borderColor:ce.activeBorderColor,outline:0}}}},C=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},Ve(n,ce))}),he=n=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ve(n,{bg:n.colorFillTertiary,hoverBg:n.colorFillSecondary,activeBorderColor:n.activeBorderColor,color:n.colorText})),C(n,{status:"error",bg:n.colorErrorBg,hoverBg:n.colorErrorBgHover,activeBorderColor:n.colorError,color:n.colorError})),C(n,{status:"warning",bg:n.colorWarningBg,hoverBg:n.colorWarningBgHover,activeBorderColor:n.colorWarning,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{borderColor:n.colorBorder,background:n.colorBgContainerDisabled,color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.colorBgContainer,border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`}})}),s=n=>({"&-borderless":{[`${n.componentCls}-selector`]:{background:"transparent",border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} transparent`},[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`},[`&${n.componentCls}-status-error`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorError}},[`&${n.componentCls}-status-warning`]:{[`${n.componentCls}-prefix, ${n.componentCls}-selection-item`]:{color:n.colorWarning}}}}),h=(n,ce)=>{const{componentCls:T,antCls:ze}=n;return{[`&:not(${T}-customize-input) ${T}-selector`]:{borderWidth:`0 0 ${(0,U.unit)(n.lineWidth)} 0`,borderStyle:`none none ${n.lineType} none`,borderColor:ce.borderColor,background:n.selectorBg,borderRadius:0},[`&:not(${T}-disabled):not(${T}-customize-input):not(${ze}-pagination-size-changer)`]:{[`&:hover ${T}-selector`]:{borderColor:ce.hoverBorderHover},[`${T}-focused& ${T}-selector`]:{borderColor:ce.activeBorderColor,outline:0},[`${T}-prefix`]:{color:ce.color}}}},oe=(n,ce)=>({[`&${n.componentCls}-status-${ce.status}`]:Object.assign({},h(n,ce))}),le=n=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},h(n,{borderColor:n.colorBorder,hoverBorderHover:n.hoverBorderColor,activeBorderColor:n.activeBorderColor,activeOutlineColor:n.activeOutlineColor,color:n.colorText})),oe(n,{status:"error",borderColor:n.colorError,hoverBorderHover:n.colorErrorHover,activeBorderColor:n.colorError,activeOutlineColor:n.colorErrorOutline,color:n.colorError})),oe(n,{status:"warning",borderColor:n.colorWarning,hoverBorderHover:n.colorWarningHover,activeBorderColor:n.colorWarning,activeOutlineColor:n.colorWarningOutline,color:n.colorWarning})),{[`&${n.componentCls}-disabled`]:{[`&:not(${n.componentCls}-customize-input) ${n.componentCls}-selector`]:{color:n.colorTextDisabled}},[`&${n.componentCls}-multiple ${n.componentCls}-selection-item`]:{background:n.multipleItemBg,border:`${(0,U.unit)(n.lineWidth)} ${n.lineType} ${n.multipleItemBorderColor}`}})});var je=n=>({[n.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Pe(n)),he(n)),s(n)),le(n))});const Oe=n=>{const{componentCls:ce}=n;return{position:"relative",transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,input:{cursor:"pointer"},[`${ce}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ce}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ne=n=>{const{componentCls:ce}=n;return{[`${ce}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Re=n=>{const{antCls:ce,componentCls:T,inputPaddingHorizontalBase:ze,iconCls:xe}=n;return{[T]:Object.assign(Object.assign({},(0,e.Wf)(n)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${T}-customize-input) ${T}-selector`]:Object.assign(Object.assign({},Oe(n)),ne(n)),[`${T}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${ce}-typography`]:{display:"inline"}}),[`${T}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:n.colorTextPlaceholder,pointerEvents:"none"}),[`${T}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${n.motionDurationSlow} ease`,[xe]:{verticalAlign:"top",transition:`transform ${n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${T}-suffix)`]:{pointerEvents:"auto"}},[`${T}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${T}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${T}-prefix`]:{flex:"none",marginInlineEnd:n.selectAffixPadding},[`${T}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ze,zIndex:1,display:"inline-block",width:n.fontSizeIcon,height:n.fontSizeIcon,marginTop:n.calc(n.fontSizeIcon).mul(-1).div(2).equal(),color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${n.motionDurationMid} ease, opacity ${n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:n.colorTextTertiary}},[`&:hover ${T}-clear`]:{opacity:1,background:n.colorBgBase,borderRadius:"50%"}}),[`${T}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${T}-has-feedback`]:{[`${T}-clear`]:{insetInlineEnd:n.calc(ze).add(n.fontSize).add(n.paddingXS).equal()}}}}}},de=n=>{const{componentCls:ce}=n;return[{[ce]:{[`&${ce}-in-form-item`]:{width:"100%"}}},Re(n),P(n),(0,r.ZP)(n),K(n),{[`${ce}-rtl`]:{direction:"rtl"}},(0,d.c)(n,{borderElCls:`${ce}-selector`,focusElCls:`${ce}-focused`})]};var H=(0,i.I$)("Select",(n,ce)=>{let{rootPrefixCls:T}=ce;const ze=(0,L.mergeToken)(n,{rootPrefixCls:T,inputPaddingHorizontalBase:n.calc(n.paddingSM).sub(1).equal(),multipleSelectItemHeight:n.multipleItemHeight,selectHeight:n.controlHeight});return[de(ze),je(ze)]},me,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(an,Je,t){t.d(Je,{_z:function(){return D},gp:function(){return L}});var e=t(36237),d=t(63356),i=t(51636);const L=r=>{const{multipleSelectItemHeight:U,paddingXXS:M,lineWidth:P,INTERNAL_FIXED_ITEM_MARGIN:me}=r,lt=r.max(r.calc(M).sub(P).equal(),0),Fe=r.max(r.calc(lt).sub(me).equal(),0);return{basePadding:lt,containerPadding:Fe,itemHeight:(0,e.unit)(U),itemLineHeight:(0,e.unit)(r.calc(U).sub(r.calc(r.lineWidth).mul(2)).equal())}},x=r=>{const{multipleSelectItemHeight:U,selectHeight:M,lineWidth:P}=r;return r.calc(M).sub(U).div(2).sub(P).equal()},D=r=>{const{componentCls:U,iconCls:M,borderRadiusSM:P,motionDurationSlow:me,paddingXS:lt,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:Pe,colorIcon:Ve,colorIconHover:C,INTERNAL_FIXED_ITEM_MARGIN:he}=r;return{[`${U}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${U}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:he,borderRadius:P,cursor:"default",transition:`font-size ${me}, line-height ${me}, height ${me}`,marginInlineEnd:r.calc(he).mul(2).equal(),paddingInlineStart:lt,paddingInlineEnd:r.calc(lt).div(2).equal(),[`${U}-disabled&`]:{color:Fe,borderColor:Pe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.calc(lt).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,d.Ro)()),{display:"inline-flex",alignItems:"center",color:Ve,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${M}`]:{verticalAlign:"-0.2em"},"&:hover":{color:C}})}}}},E=(r,U)=>{const{componentCls:M,INTERNAL_FIXED_ITEM_MARGIN:P}=r,me=`${M}-selection-overflow`,lt=r.multipleSelectItemHeight,Fe=x(r),Pe=U?`${M}-${U}`:"",Ve=L(r);return{[`${M}-multiple${Pe}`]:Object.assign(Object.assign({},D(r)),{[`${M}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ve.basePadding,paddingBlock:Ve.containerPadding,borderRadius:r.borderRadius,[`${M}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(P)} 0`,lineHeight:(0,e.unit)(lt),visibility:"hidden",content:'"\\a0"'}},[`${M}-selection-item`]:{height:Ve.itemHeight,lineHeight:(0,e.unit)(Ve.itemLineHeight)},[`${M}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(lt),marginBlock:P}},[`${M}-prefix`]:{marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ve.basePadding).equal()},[`${me}-item + ${me}-item, ${M}-prefix + ${M}-selection-wrap - `]:{[`${M}-selection-search`]:{marginInlineStart:0},[`${M}-selection-placeholder`]:{insetInlineStart:0}},[`${me}-item-suffix`]:{minHeight:Ve.itemHeight,marginBlock:P},[`${M}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Fe).equal(),"\n &-input,\n &-mirror\n ":{height:lt,fontFamily:r.fontFamily,lineHeight:(0,e.unit)(lt),transition:`all ${r.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${M}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ve.basePadding).equal(),insetInlineEnd:r.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${r.motionDurationSlow}`}})}};function Z(r,V){const{componentCls:M}=r,P=V?`${M}-${V}`:"",me={[`${M}-multiple${P}`]:{fontSize:r.fontSize,[`${M}-selector`]:{[`${M}-show-search&`]:{cursor:"text"}},[` + `]:{[`${M}-selection-search`]:{marginInlineStart:0},[`${M}-selection-placeholder`]:{insetInlineStart:0}},[`${me}-item-suffix`]:{minHeight:Ve.itemHeight,marginBlock:P},[`${M}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Fe).equal(),"\n &-input,\n &-mirror\n ":{height:lt,fontFamily:r.fontFamily,lineHeight:(0,e.unit)(lt),transition:`all ${r.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${M}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:r.calc(r.inputPaddingHorizontalBase).sub(Ve.basePadding).equal(),insetInlineEnd:r.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${r.motionDurationSlow}`}})}};function Z(r,U){const{componentCls:M}=r,P=U?`${M}-${U}`:"",me={[`${M}-multiple${P}`]:{fontSize:r.fontSize,[`${M}-selector`]:{[`${M}-show-search&`]:{cursor:"text"}},[` &${M}-show-arrow ${M}-selector, &${M}-allow-clear ${M}-selector - `]:{paddingInlineEnd:r.calc(r.fontSizeIcon).add(r.controlPaddingHorizontal).equal()}}};return[E(r,V),me]}const K=r=>{const{componentCls:V}=r,M=(0,i.mergeToken)(r,{selectHeight:r.controlHeightSM,multipleSelectItemHeight:r.multipleItemHeightSM,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),P=(0,i.mergeToken)(r,{fontSize:r.fontSizeLG,selectHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius});return[Z(r),Z(M,"sm"),{[`${V}-multiple${V}-sm`]:{[`${V}-selection-placeholder`]:{insetInline:r.calc(r.controlPaddingHorizontalSM).sub(r.lineWidth).equal()},[`${V}-selection-search`]:{marginInlineStart:2}}},Z(P,"lg")]};Je.ZP=K},68525:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(59301),d=t(40001),i=t(19248),L=t(99267),x=t(84105),D=t(58617),E=t(47472);function Z(K){let{suffixIcon:r,clearIcon:V,menuItemSelectedIcon:M,removeIcon:P,loading:me,multiple:lt,hasFeedback:Fe,prefixCls:Pe,showSuffixIcon:Ve,feedbackIcon:C,showArrow:he,componentName:s}=K;const h=V!=null?V:e.createElement(i.Z,null),oe=Oe=>r===null&&!Fe&&!he?null:e.createElement(e.Fragment,null,Ve!==!1&&Oe,Fe&&C);let le=null;if(r!==void 0)le=oe(r);else if(me)le=oe(e.createElement(D.Z,{spin:!0}));else{const Oe=`${Pe}-suffix`;le=ne=>{let{open:Re,showSearch:de}=ne;return oe(Re&&de?e.createElement(E.Z,{className:Oe}):e.createElement(x.Z,{className:Oe}))}}let v=null;M!==void 0?v=M:lt?v=e.createElement(d.Z,null):v=null;let je=null;return P!==void 0?je=P:je=e.createElement(L.Z,null),{clearIcon:h,suffixIcon:le,itemIcon:v,removeIcon:je}}},90005:function(an,Je,t){t.d(Je,{Z:function(){return e}});function e(d,i){return i!==void 0?i:d!==null}},44104:function(an,Je,t){t.d(Je,{Z:function(){return Fe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(11592),x=t(99402),D=t(48755),E=t(70045);const Z=e.createContext({latestIndex:0}),K=Z.Provider;var V=Pe=>{let{className:Ve,index:C,children:he,split:s,style:h}=Pe;const{latestIndex:oe}=e.useContext(Z);return he==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:Ve,style:h},he),C{var C;const{getPrefixCls:he,direction:s,size:h,className:oe,style:le,classNames:v,styles:je}=(0,D.dj)("space"),{size:Oe=h!=null?h:"small",align:ne,className:Re,rootClassName:de,children:H,direction:n="horizontal",prefixCls:ce,split:T,style:ze,wrap:xe=!1,classNames:We,styles:st}=Pe,at=P(Pe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ae,tt]=Array.isArray(Oe)?Oe:[Oe,Oe],q=(0,x.n)(tt),Se=(0,x.n)(Ae),ge=(0,x.T)(tt),Qe=(0,x.T)(Ae),ie=(0,L.Z)(H,{keepEmpty:!0}),qe=ne===void 0&&n==="horizontal"?"center":ne,Ke=he("space",ce),[bt,Te,k]=(0,M.Z)(Ke),R=i()(Ke,oe,Te,`${Ke}-${n}`,{[`${Ke}-rtl`]:s==="rtl",[`${Ke}-align-${qe}`]:qe,[`${Ke}-gap-row-${tt}`]:q,[`${Ke}-gap-col-${Ae}`]:Se},Re,de,k),U=i()(`${Ke}-item`,(C=We==null?void 0:We.item)!==null&&C!==void 0?C:v.item);let p=0;const fe=ie.map((f,se)=>{var _;f!=null&&(p=se);const $=(f==null?void 0:f.key)||`${U}-${se}`;return e.createElement(V,{className:U,key:$,index:se,split:T,style:(_=st==null?void 0:st.item)!==null&&_!==void 0?_:je.item},f)}),z=e.useMemo(()=>({latestIndex:p}),[p]);if(ie.length===0)return null;const o={};return xe&&(o.flexWrap="wrap"),!Se&&Qe&&(o.columnGap=Ae),!q&&ge&&(o.rowGap=tt),bt(e.createElement("div",Object.assign({ref:Ve,className:R,style:Object.assign(Object.assign(Object.assign({},o),le),ze)},at),e.createElement(K,{value:z},fe)))});lt.Compact=E.ZP;var Fe=lt},93873:function(an,Je,t){t.d(Je,{Fm:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),L=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),x=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),E=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),V={"move-up":{inKeyframes:K,outKeyframes:r},"move-down":{inKeyframes:i,outKeyframes:L},"move-left":{inKeyframes:x,outKeyframes:D},"move-right":{inKeyframes:E,outKeyframes:Z}},M=(P,me)=>{const{antCls:lt}=P,Fe=`${lt}-${me}`,{inKeyframes:Pe,outKeyframes:Ve}=V[me];return[(0,d.R)(Fe,Pe,Ve,P.motionDurationMid),{[` + `]:{paddingInlineEnd:r.calc(r.fontSizeIcon).add(r.controlPaddingHorizontal).equal()}}};return[E(r,U),me]}const K=r=>{const{componentCls:U}=r,M=(0,i.mergeToken)(r,{selectHeight:r.controlHeightSM,multipleSelectItemHeight:r.multipleItemHeightSM,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),P=(0,i.mergeToken)(r,{fontSize:r.fontSizeLG,selectHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius});return[Z(r),Z(M,"sm"),{[`${U}-multiple${U}-sm`]:{[`${U}-selection-placeholder`]:{insetInline:r.calc(r.controlPaddingHorizontalSM).sub(r.lineWidth).equal()},[`${U}-selection-search`]:{marginInlineStart:2}}},Z(P,"lg")]};Je.ZP=K},68525:function(an,Je,t){t.d(Je,{Z:function(){return Z}});var e=t(59301),d=t(40001),i=t(19248),L=t(99267),x=t(84105),D=t(58617),E=t(47472);function Z(K){let{suffixIcon:r,clearIcon:U,menuItemSelectedIcon:M,removeIcon:P,loading:me,multiple:lt,hasFeedback:Fe,prefixCls:Pe,showSuffixIcon:Ve,feedbackIcon:C,showArrow:he,componentName:s}=K;const h=U!=null?U:e.createElement(i.Z,null),oe=Oe=>r===null&&!Fe&&!he?null:e.createElement(e.Fragment,null,Ve!==!1&&Oe,Fe&&C);let le=null;if(r!==void 0)le=oe(r);else if(me)le=oe(e.createElement(D.Z,{spin:!0}));else{const Oe=`${Pe}-suffix`;le=ne=>{let{open:Re,showSearch:de}=ne;return oe(Re&&de?e.createElement(E.Z,{className:Oe}):e.createElement(x.Z,{className:Oe}))}}let v=null;M!==void 0?v=M:lt?v=e.createElement(d.Z,null):v=null;let je=null;return P!==void 0?je=P:je=e.createElement(L.Z,null),{clearIcon:h,suffixIcon:le,itemIcon:v,removeIcon:je}}},90005:function(an,Je,t){t.d(Je,{Z:function(){return e}});function e(d,i){return i!==void 0?i:d!==null}},44104:function(an,Je,t){t.d(Je,{Z:function(){return Fe}});var e=t(59301),d=t(92310),i=t.n(d),L=t(11592),x=t(99402),D=t(48755),E=t(70045);const Z=e.createContext({latestIndex:0}),K=Z.Provider;var U=Pe=>{let{className:Ve,index:C,children:he,split:s,style:h}=Pe;const{latestIndex:oe}=e.useContext(Z);return he==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:Ve,style:h},he),C{var C;const{getPrefixCls:he,direction:s,size:h,className:oe,style:le,classNames:v,styles:je}=(0,D.dj)("space"),{size:Oe=h!=null?h:"small",align:ne,className:Re,rootClassName:de,children:H,direction:n="horizontal",prefixCls:ce,split:T,style:ze,wrap:xe=!1,classNames:We,styles:st}=Pe,at=P(Pe,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ae,tt]=Array.isArray(Oe)?Oe:[Oe,Oe],q=(0,x.n)(tt),Se=(0,x.n)(Ae),ge=(0,x.T)(tt),Qe=(0,x.T)(Ae),ie=(0,L.Z)(H,{keepEmpty:!0}),qe=ne===void 0&&n==="horizontal"?"center":ne,Ke=he("space",ce),[bt,Te,k]=(0,M.Z)(Ke),R=i()(Ke,oe,Te,`${Ke}-${n}`,{[`${Ke}-rtl`]:s==="rtl",[`${Ke}-align-${qe}`]:qe,[`${Ke}-gap-row-${tt}`]:q,[`${Ke}-gap-col-${Ae}`]:Se},Re,de,k),X=i()(`${Ke}-item`,(C=We==null?void 0:We.item)!==null&&C!==void 0?C:v.item);let p=0;const fe=ie.map((f,se)=>{var _;f!=null&&(p=se);const $=(f==null?void 0:f.key)||`${X}-${se}`;return e.createElement(U,{className:X,key:$,index:se,split:T,style:(_=st==null?void 0:st.item)!==null&&_!==void 0?_:je.item},f)}),z=e.useMemo(()=>({latestIndex:p}),[p]);if(ie.length===0)return null;const o={};return xe&&(o.flexWrap="wrap"),!Se&&Qe&&(o.columnGap=Ae),!q&&ge&&(o.rowGap=tt),bt(e.createElement("div",Object.assign({ref:Ve,className:R,style:Object.assign(Object.assign(Object.assign({},o),le),ze)},at),e.createElement(K,{value:z},fe)))});lt.Compact=E.ZP;var Fe=lt},93873:function(an,Je,t){t.d(Je,{Fm:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),L=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),x=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),E=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),U={"move-up":{inKeyframes:K,outKeyframes:r},"move-down":{inKeyframes:i,outKeyframes:L},"move-left":{inKeyframes:x,outKeyframes:D},"move-right":{inKeyframes:E,outKeyframes:Z}},M=(P,me)=>{const{antCls:lt}=P,Fe=`${lt}-${me}`,{inKeyframes:Pe,outKeyframes:Ve}=U[me];return[(0,d.R)(Fe,Pe,Ve,P.motionDurationMid),{[` ${Fe}-enter, ${Fe}-appear - `]:{opacity:0,animationTimingFunction:P.motionEaseOutCirc},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInOutCirc}}]}},46e3:function(an,Je,t){t.d(Je,{Qt:function(){return x},Uw:function(){return L},fJ:function(){return i},ly:function(){return D},oN:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),L=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),x=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),E=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Z=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),K=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),r=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),V={"slide-up":{inKeyframes:i,outKeyframes:L},"slide-down":{inKeyframes:x,outKeyframes:D},"slide-left":{inKeyframes:E,outKeyframes:Z},"slide-right":{inKeyframes:K,outKeyframes:r}},M=(P,me)=>{const{antCls:lt}=P,Fe=`${lt}-${me}`,{inKeyframes:Pe,outKeyframes:Ve}=V[me];return[(0,d.R)(Fe,Pe,Ve,P.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:P.motionEaseOutCirc},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInOutCirc}}]}},46e3:function(an,Je,t){t.d(Je,{Qt:function(){return x},Uw:function(){return L},fJ:function(){return i},ly:function(){return D},oN:function(){return M}});var e=t(36237),d=t(48746);const i=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),L=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),x=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),E=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Z=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),K=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),r=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),U={"slide-up":{inKeyframes:i,outKeyframes:L},"slide-down":{inKeyframes:x,outKeyframes:D},"slide-left":{inKeyframes:E,outKeyframes:Z},"slide-right":{inKeyframes:K,outKeyframes:r}},M=(P,me)=>{const{antCls:lt}=P,Fe=`${lt}-${me}`,{inKeyframes:Pe,outKeyframes:Ve}=U[me];return[(0,d.R)(Fe,Pe,Ve,P.motionDurationMid),{[` ${Fe}-enter, ${Fe}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:P.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInQuint}}]}},37645:function(an,Je,t){t.d(Je,{ZP:function(){return D},qN:function(){return i},wZ:function(){return L}});var e=t(36237),d=t(36305);const i=8;function L(E){const{contentRadius:Z,limitVerticalRadius:K}=E,r=Z>12?Z+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:K?i:r}}function x(E,Z){return E?Z:{}}function D(E,Z,K){const{componentCls:r,boxShadowPopoverArrow:V,arrowOffsetVertical:M,arrowOffsetHorizontal:P}=E,{arrowDistance:me=0,arrowPlacement:lt={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,d.W)(E,Z,V)),{"&:before":{background:Z}})]},x(!!lt.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:me,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!lt.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:me,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!lt.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:me},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:M},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:M}})),x(!!lt.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:me},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:M},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:M}}))}}},36305:function(an,Je,t){t.d(Je,{W:function(){return i},w:function(){return d}});var e=t(36237);function d(L){const{sizePopupArrow:x,borderRadiusXS:D,borderRadiusOuter:E}=L,Z=x/2,K=0,r=Z,V=E*1/Math.sqrt(2),M=Z-E*(1-1/Math.sqrt(2)),P=Z-D*(1/Math.sqrt(2)),me=E*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),lt=2*Z-P,Fe=me,Pe=2*Z-V,Ve=M,C=2*Z-K,he=r,s=Z*Math.sqrt(2)+E*(Math.sqrt(2)-2),h=E*(Math.sqrt(2)-1),oe=`polygon(${h}px 100%, 50% ${h}px, ${2*Z-h}px 100%, ${h}px 100%)`,le=`path('M ${K} ${r} A ${E} ${E} 0 0 0 ${V} ${M} L ${P} ${me} A ${D} ${D} 0 0 1 ${lt} ${Fe} L ${Pe} ${Ve} A ${E} ${E} 0 0 0 ${C} ${he} Z')`;return{arrowShadowWidth:s,arrowPath:le,arrowPolygon:oe}}const i=(L,x,D)=>{const{sizePopupArrow:E,arrowPolygon:Z,arrowPath:K,arrowShadowWidth:r,borderRadiusXS:V,calc:M}=L;return{pointerEvents:"none",width:E,height:E,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:E,height:M(E).div(2).equal(),background:x,clipPath:{_multi_value_:!0,value:[Z,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:r,height:r,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(V)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},70858:function(an,Je,t){t.d(Je,{default:function(){return ti}});var e=t(59301),d={},i="rc-table-internal-hook",L=t(42978),x=t(6089),D=t(34280),E=t(13697),Z=t(4676);function K(l){var a=e.createContext(void 0),F=function(Ee){var $e=Ee.value,rt=Ee.children,Xe=e.useRef($e);Xe.current=$e;var gt=e.useState(function(){return{getValue:function(){return Xe.current},listeners:new Set}}),vt=(0,L.Z)(gt,1),zt=vt[0];return(0,D.Z)(function(){(0,Z.unstable_batchedUpdates)(function(){zt.listeners.forEach(function(Ot){Ot($e)})})},[$e]),e.createElement(a.Provider,{value:zt},rt)};return{Context:a,Provider:F,defaultValue:l}}function r(l,a){var F=(0,x.Z)(typeof a=="function"?a:function(Ot){if(a===void 0)return Ot;if(!Array.isArray(a))return Ot[a];var xt={};return a.forEach(function(St){xt[St]=Ot[St]}),xt}),J=e.useContext(l==null?void 0:l.Context),Ee=J||{},$e=Ee.listeners,rt=Ee.getValue,Xe=e.useRef();Xe.current=F(J?rt():l==null?void 0:l.defaultValue);var gt=e.useState({}),vt=(0,L.Z)(gt,2),zt=vt[1];return(0,D.Z)(function(){if(!J)return;function Ot(xt){var St=F(xt);(0,E.Z)(Xe.current,St,!0)||zt({})}return $e.add(Ot),function(){$e.delete(Ot)}},[J]),Xe.current}var V=t(54476),M=t(8654);function P(){var l=e.createContext(null);function a(){return e.useContext(l)}function F(Ee,$e){var rt=(0,M.Yr)(Ee),Xe=function(vt,zt){var Ot=rt?{ref:zt}:{},xt=e.useRef(0),St=e.useRef(vt),Nt=a();return Nt!==null?e.createElement(Ee,(0,V.Z)({},vt,Ot)):((!$e||$e(St.current,vt))&&(xt.current+=1),St.current=vt,e.createElement(l.Provider,{value:xt.current},e.createElement(Ee,(0,V.Z)({},vt,Ot))))};return rt?e.forwardRef(Xe):Xe}function J(Ee,$e){var rt=(0,M.Yr)(Ee),Xe=function(vt,zt){var Ot=rt?{ref:zt}:{};return a(),e.createElement(Ee,(0,V.Z)({},vt,Ot))};return rt?e.memo(e.forwardRef(Xe),$e):e.memo(Xe,$e)}return{makeImmutable:F,responseImmutable:J,useImmutableMark:a}}var me=P(),lt=me.makeImmutable,Fe=me.responseImmutable,Pe=me.useImmutableMark,Ve=P(),C=Ve.makeImmutable,he=Ve.responseImmutable,s=Ve.useImmutableMark,h=K(),oe=h;function le(l,a){var F=React.useRef(0);F.current+=1;var J=React.useRef(l),Ee=[];Object.keys(l||{}).map(function(rt){var Xe;(l==null?void 0:l[rt])!==((Xe=J.current)===null||Xe===void 0?void 0:Xe[rt])&&Ee.push(rt)}),J.current=l;var $e=React.useRef([]);return Ee.length&&($e.current=Ee),React.useDebugValue(F.current),React.useDebugValue($e.current.join(", ")),a&&console.log("".concat(a,":"),F.current,$e.current),F.current}var v=null,je=null,Oe=t(76190),ne=t(33885),Re=t(20068),de=t(92310),H=t.n(de),n=t(80547),ce=t(97938),T=t(48736),ze=e.createContext({renderWithProps:!1}),xe=ze,We="RC_TABLE_KEY";function st(l){return l==null?[]:Array.isArray(l)?l:[l]}function at(l){var a=[],F={};return l.forEach(function(J){for(var Ee=J||{},$e=Ee.key,rt=Ee.dataIndex,Xe=$e||st(rt).join("-")||We;F[Xe];)Xe="".concat(Xe,"_next");F[Xe]=!0,a.push(Xe)}),a}function Ae(l){return l!=null}function tt(l){return typeof l=="number"&&!Number.isNaN(l)}function q(l){return l&&(0,Oe.Z)(l)==="object"&&!Array.isArray(l)&&!e.isValidElement(l)}function Se(l,a,F,J,Ee,$e){var rt=e.useContext(xe),Xe=s(),gt=(0,n.Z)(function(){if(Ae(J))return[J];var vt=a==null||a===""?[]:Array.isArray(a)?a:[a],zt=(0,ce.Z)(l,vt),Ot=zt,xt=void 0;if(Ee){var St=Ee(zt,l,F);q(St)?(Ot=St.children,xt=St.props,rt.renderWithProps=!0):Ot=St}return[Ot,xt]},[Xe,l,J,a,Ee,F],function(vt,zt){if($e){var Ot=(0,L.Z)(vt,2),xt=Ot[1],St=(0,L.Z)(zt,2),Nt=St[1];return $e(Nt,xt)}return rt.renderWithProps?!0:!(0,E.Z)(vt,zt,!0)});return gt}function ge(l,a,F,J){var Ee=l+a-1;return l<=J&&Ee>=F}function Qe(l,a){return r(oe,function(F){var J=ge(l,a||1,F.hoverStartRow,F.hoverEndRow);return[J,F.onHover]})}var ie=t(70425),qe=function(a){var F=a.ellipsis,J=a.rowType,Ee=a.children,$e,rt=F===!0?{showTitle:!0}:F;return rt&&(rt.showTitle||J==="header")&&(typeof Ee=="string"||typeof Ee=="number"?$e=Ee.toString():e.isValidElement(Ee)&&typeof Ee.props.children=="string"&&($e=Ee.props.children)),$e};function Ke(l){var a,F,J,Ee,$e,rt,Xe,gt,vt=l.component,zt=l.children,Ot=l.ellipsis,xt=l.scope,St=l.prefixCls,Nt=l.className,mn=l.align,_t=l.record,gn=l.render,pn=l.dataIndex,vn=l.renderIndex,Cn=l.shouldCellUpdate,wn=l.index,jn=l.rowType,An=l.colSpan,xr=l.rowSpan,or=l.fixLeft,ir=l.fixRight,mr=l.firstFixLeft,Tn=l.lastFixLeft,Ln=l.firstFixRight,On=l.lastFixRight,hn=l.appendNode,Zn=l.additionalProps,Un=Zn===void 0?{}:Zn,nr=l.isSticky,Sn="".concat(St,"-cell"),Rr=r(oe,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Mr=Rr.supportSticky,go=Rr.allColumnsFixedLeft,io=Rr.rowHoverable,no=Se(_t,pn,vn,zt,gn,Cn),fo=(0,L.Z)(no,2),Fo=fo[0],Zr=fo[1],Ar={},Co=typeof or=="number"&&Mr,xo=typeof ir=="number"&&Mr;Co&&(Ar.position="sticky",Ar.left=or),xo&&(Ar.position="sticky",Ar.right=ir);var Qn=(a=(F=(J=Zr==null?void 0:Zr.colSpan)!==null&&J!==void 0?J:Un.colSpan)!==null&&F!==void 0?F:An)!==null&&a!==void 0?a:1,Er=(Ee=($e=(rt=Zr==null?void 0:Zr.rowSpan)!==null&&rt!==void 0?rt:Un.rowSpan)!==null&&$e!==void 0?$e:xr)!==null&&Ee!==void 0?Ee:1,Yn=Qe(wn,Er),rr=(0,L.Z)(Yn,2),jr=rr[0],Hr=rr[1],so=(0,ie.zX)(function(uo){var Yr;_t&&Hr(wn,wn+Er-1),Un==null||(Yr=Un.onMouseEnter)===null||Yr===void 0||Yr.call(Un,uo)}),ro=(0,ie.zX)(function(uo){var Yr;_t&&Hr(-1,-1),Un==null||(Yr=Un.onMouseLeave)===null||Yr===void 0||Yr.call(Un,uo)});if(Qn===0||Er===0)return null;var Po=(Xe=Un.title)!==null&&Xe!==void 0?Xe:qe({rowType:jn,ellipsis:Ot,children:Fo}),Ro=H()(Sn,Nt,(gt={},(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)(gt,"".concat(Sn,"-fix-left"),Co&&Mr),"".concat(Sn,"-fix-left-first"),mr&&Mr),"".concat(Sn,"-fix-left-last"),Tn&&Mr),"".concat(Sn,"-fix-left-all"),Tn&&go&&Mr),"".concat(Sn,"-fix-right"),xo&&Mr),"".concat(Sn,"-fix-right-first"),Ln&&Mr),"".concat(Sn,"-fix-right-last"),On&&Mr),"".concat(Sn,"-ellipsis"),Ot),"".concat(Sn,"-with-append"),hn),"".concat(Sn,"-fix-sticky"),(Co||xo)&&nr&&Mr),(0,Re.Z)(gt,"".concat(Sn,"-row-hover"),!Zr&&jr)),Un.className,Zr==null?void 0:Zr.className),qn={};mn&&(qn.textAlign=mn);var dr=(0,ne.Z)((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Zr==null?void 0:Zr.style),Ar),qn),Un.style),Wr=Fo;return(0,Oe.Z)(Wr)==="object"&&!Array.isArray(Wr)&&!e.isValidElement(Wr)&&(Wr=null),Ot&&(Tn||Ln)&&(Wr=e.createElement("span",{className:"".concat(Sn,"-content")},Wr)),e.createElement(vt,(0,V.Z)({},Zr,Un,{className:Ro,style:dr,title:Po,scope:xt,onMouseEnter:io?so:void 0,onMouseLeave:io?ro:void 0,colSpan:Qn!==1?Qn:null,rowSpan:Er!==1?Er:null}),hn,Wr)}var bt=e.memo(Ke);function Te(l,a,F,J,Ee){var $e=F[l]||{},rt=F[a]||{},Xe,gt;$e.fixed==="left"?Xe=J.left[Ee==="rtl"?a:l]:rt.fixed==="right"&&(gt=J.right[Ee==="rtl"?l:a]);var vt=!1,zt=!1,Ot=!1,xt=!1,St=F[a+1],Nt=F[l-1],mn=St&&!St.fixed||Nt&&!Nt.fixed||F.every(function(Cn){return Cn.fixed==="left"});if(Ee==="rtl"){if(Xe!==void 0){var _t=Nt&&Nt.fixed==="left";xt=!_t&&mn}else if(gt!==void 0){var gn=St&&St.fixed==="right";Ot=!gn&&mn}}else if(Xe!==void 0){var pn=St&&St.fixed==="left";vt=!pn&&mn}else if(gt!==void 0){var vn=Nt&&Nt.fixed==="right";zt=!vn&&mn}return{fixLeft:Xe,fixRight:gt,lastFixLeft:vt,firstFixRight:zt,lastFixRight:Ot,firstFixLeft:xt,isSticky:J.isSticky}}var k=e.createContext({}),R=k;function U(l){var a=l.className,F=l.index,J=l.children,Ee=l.colSpan,$e=Ee===void 0?1:Ee,rt=l.rowSpan,Xe=l.align,gt=r(oe,["prefixCls","direction"]),vt=gt.prefixCls,zt=gt.direction,Ot=e.useContext(R),xt=Ot.scrollColumnIndex,St=Ot.stickyOffsets,Nt=Ot.flattenColumns,mn=F+$e-1,_t=mn+1===xt?$e+1:$e,gn=Te(F,F+_t-1,Nt,St,zt);return e.createElement(bt,(0,V.Z)({className:a,index:F,component:"td",prefixCls:vt,record:null,dataIndex:null,align:Xe,colSpan:_t,rowSpan:rt,render:function(){return J}},gn))}var p=t(75931),fe=["children"];function z(l){var a=l.children,F=(0,p.Z)(l,fe);return e.createElement("tr",F,a)}function o(l){var a=l.children;return a}o.Row=z,o.Cell=U;var f=o;function se(l){var a=l.children,F=l.stickyOffsets,J=l.flattenColumns,Ee=r(oe,"prefixCls"),$e=J.length-1,rt=J[$e],Xe=e.useMemo(function(){return{stickyOffsets:F,flattenColumns:J,scrollColumnIndex:rt!=null&&rt.scrollbar?$e:null}},[rt,J,$e,F]);return e.createElement(R.Provider,{value:Xe},e.createElement("tfoot",{className:"".concat(Ee,"-summary")},a))}var _=he(se),$=f,N=t(29301),X=t(24514),ue=t(75152),c=t(26112);function y(l,a,F,J,Ee,$e,rt){l.push({record:a,indent:F,index:rt});var Xe=$e(a),gt=Ee==null?void 0:Ee.has(Xe);if(a&&Array.isArray(a[J])&>)for(var vt=0;vt1?mr-1:0),Ln=1;Ln=1)),style:(0,ne.Z)((0,ne.Z)({},F),gn==null?void 0:gn.style)}),Nt.map(function(or,ir){var mr=or.render,Tn=or.dataIndex,Ln=or.className,On=w(xt,or,ir,gt,Ee),hn=On.key,Zn=On.fixedInfo,Un=On.appendCellNode,nr=On.additionalCellProps;return e.createElement(bt,(0,V.Z)({className:Ln,ellipsis:or.ellipsis,align:or.align,scope:or.rowScope,component:or.rowScope?Ot:zt,prefixCls:St,key:hn,record:J,index:Ee,renderIndex:$e,dataIndex:Tn,render:mr,shouldCellUpdate:or.shouldCellUpdate},Zn,{appendNode:Un,additionalProps:nr}))})),An;if(vn&&(Cn.current||pn)){var xr=_t(J,Ee,gt+1,pn);An=e.createElement(He,{expanded:pn,className:H()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(gt+1),wn),prefixCls:St,component:vt,cellComponent:zt,colSpan:Nt.length,isEmpty:!1},xr)}return e.createElement(e.Fragment,null,jn,An)}var Ze=he(pe);function Ue(l){var a=l.columnKey,F=l.onColumnResize,J=e.useRef();return(0,D.Z)(function(){J.current&&F(a,J.current.offsetWidth)},[]),e.createElement(N.Z,{data:a},e.createElement("td",{ref:J,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ot=t(29194);function Tt(l){var a=l.prefixCls,F=l.columnsKey,J=l.onColumnResize,Ee=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(a,"-measure-row"),style:{height:0,fontSize:0},ref:Ee},e.createElement(N.Z.Collection,{onBatchResize:function(rt){(0,ot.Z)(Ee.current)&&rt.forEach(function(Xe){var gt=Xe.data,vt=Xe.size;J(gt,vt.offsetWidth)})}},F.map(function($e){return e.createElement(Ue,{key:$e,columnKey:$e,onColumnResize:J})})))}function ct(l){var a=l.data,F=l.measureColumnWidth,J=r(oe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ee=J.prefixCls,$e=J.getComponent,rt=J.onColumnResize,Xe=J.flattenColumns,gt=J.getRowKey,vt=J.expandedKeys,zt=J.childrenColumnName,Ot=J.emptyNode,xt=Ge(a,zt,vt,gt),St=e.useRef({renderWithProps:!1}),Nt=$e(["body","wrapper"],"tbody"),mn=$e(["body","row"],"tr"),_t=$e(["body","cell"],"td"),gn=$e(["body","cell"],"th"),pn;a.length?pn=xt.map(function(Cn,wn){var jn=Cn.record,An=Cn.indent,xr=Cn.index,or=gt(jn,wn);return e.createElement(Ze,{key:or,rowKey:or,record:jn,index:wn,renderIndex:xr,rowComponent:mn,cellComponent:_t,scopeCellComponent:gn,indent:An})}):pn=e.createElement(He,{expanded:!0,className:"".concat(Ee,"-placeholder"),prefixCls:Ee,component:mn,cellComponent:_t,colSpan:Xe.length,isEmpty:!0},Ot);var vn=at(Xe);return e.createElement(xe.Provider,{value:St.current},e.createElement(Nt,{className:"".concat(Ee,"-tbody")},F&&e.createElement(Tt,{prefixCls:Ee,columnsKey:vn,onColumnResize:rt}),pn))}var dt=he(ct),Rt=["expandable"],Vt="RC_TABLE_INTERNAL_COL_DEFINE";function Ht(l){var a=l.expandable,F=(0,p.Z)(l,Rt),J;return"expandable"in l?J=(0,ne.Z)((0,ne.Z)({},F),a):J=F,J.showExpandColumn===!1&&(J.expandIconColumnIndex=-1),J}var Xt=["columnType"];function wt(l){for(var a=l.colWidths,F=l.columns,J=l.columCount,Ee=r(oe,["tableLayout"]),$e=Ee.tableLayout,rt=[],Xe=J||F.length,gt=!1,vt=Xe-1;vt>=0;vt-=1){var zt=a[vt],Ot=F&&F[vt],xt=void 0,St=void 0;if(Ot&&(xt=Ot[Vt],$e==="auto"&&(St=Ot.minWidth)),zt||St||xt||gt){var Nt=xt||{},mn=Nt.columnType,_t=(0,p.Z)(Nt,Xt);rt.unshift(e.createElement("col",(0,V.Z)({key:vt,style:{width:zt,minWidth:St}},_t))),gt=!0}}return e.createElement("colgroup",null,rt)}var Ut=wt,yt=t(94480),Bt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pt(l,a){return(0,e.useMemo)(function(){for(var F=[],J=0;J1?"colgroup":"col":null,ellipsis:_t.ellipsis,align:_t.align,component:rt,prefixCls:zt,key:St[mn]},gn,{additionalProps:pn,rowType:"header"}))}))},Lt=pt;function ln(l){var a=[];function F(rt,Xe){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;a[gt]=a[gt]||[];var vt=Xe,zt=rt.filter(Boolean).map(function(Ot){var xt={key:Ot.key,className:Ot.className||"",children:Ot.title,column:Ot,colStart:vt},St=1,Nt=Ot.children;return Nt&&Nt.length>0&&(St=F(Nt,vt,gt+1).reduce(function(mn,_t){return mn+_t},0),xt.hasSubColumns=!0),"colSpan"in Ot&&(St=Ot.colSpan),"rowSpan"in Ot&&(xt.rowSpan=Ot.rowSpan),xt.colSpan=St,xt.colEnd=xt.colStart+St-1,a[gt].push(xt),vt+=St,St});return zt}F(l,0);for(var J=a.length,Ee=function(Xe){a[Xe].forEach(function(gt){!("rowSpan"in gt)&&!gt.hasSubColumns&&(gt.rowSpan=J-Xe)})},$e=0;$e1&&arguments[1]!==void 0?arguments[1]:"";return typeof a=="number"?a:a.endsWith("%")?l*parseFloat(a)/100:null}function tn(l,a,F){return e.useMemo(function(){if(a&&a>0){var J=0,Ee=0;l.forEach(function(xt){var St=Mn(a,xt.width);St?J+=St:Ee+=1});var $e=Math.max(a,F),rt=Math.max($e-J,Ee),Xe=Ee,gt=rt/Ee,vt=0,zt=l.map(function(xt){var St=(0,ne.Z)({},xt),Nt=Mn(a,St.width);if(Nt)St.width=Nt;else{var mn=Math.floor(gt);St.width=Xe===1?rt:mn,rt-=mn,Xe-=1}return vt+=St.width,St});if(vt<$e){var Ot=$e/vt;rt=$e,zt.forEach(function(xt,St){var Nt=Math.floor(xt.width*Ot);xt.width=St===zt.length-1?rt:Nt,rt-=Nt})}return[zt,Math.max(vt,$e)]}return[l,a]},[l,a,F])}var Nn=["children"],Pn=["fixed"];function bn(l){return(0,Dn.Z)(l).filter(function(a){return e.isValidElement(a)}).map(function(a){var F=a.key,J=a.props,Ee=J.children,$e=(0,p.Z)(J,Nn),rt=(0,ne.Z)({key:F},$e);return Ee&&(rt.children=bn(Ee)),rt})}function Fn(l){return l.filter(function(a){return a&&(0,Oe.Z)(a)==="object"&&!a.hidden}).map(function(a){var F=a.children;return F&&F.length>0?(0,ne.Z)((0,ne.Z)({},a),{},{children:Fn(F)}):a})}function _n(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(F){return F&&(0,Oe.Z)(F)==="object"}).reduce(function(F,J,Ee){var $e=J.fixed,rt=$e===!0?"left":$e,Xe="".concat(a,"-").concat(Ee),gt=J.children;return gt&>.length>0?[].concat((0,yt.Z)(F),(0,yt.Z)(_n(gt,Xe).map(function(vt){return(0,ne.Z)({fixed:rt},vt)}))):[].concat((0,yt.Z)(F),[(0,ne.Z)((0,ne.Z)({key:Xe},J),{},{fixed:rt})])},[])}function Jn(l){return l.map(function(a){var F=a.fixed,J=(0,p.Z)(a,Pn),Ee=F;return F==="left"?Ee="right":F==="right"&&(Ee="left"),(0,ne.Z)({fixed:Ee},J)})}function Be(l,a){var F=l.prefixCls,J=l.columns,Ee=l.children,$e=l.expandable,rt=l.expandedKeys,Xe=l.columnTitle,gt=l.getRowKey,vt=l.onTriggerExpand,zt=l.expandIcon,Ot=l.rowExpandable,xt=l.expandIconColumnIndex,St=l.direction,Nt=l.expandRowByClick,mn=l.columnWidth,_t=l.fixed,gn=l.scrollWidth,pn=l.clientWidth,vn=e.useMemo(function(){var Tn=J||bn(Ee)||[];return Fn(Tn.slice())},[J,Ee]),Cn=e.useMemo(function(){if($e){var Tn=vn.slice();if(!Tn.includes(d)){var Ln=xt||0;Ln>=0&&(Ln||_t==="left"||!_t)&&Tn.splice(Ln,0,d),_t==="right"&&Tn.splice(vn.length,0,d)}var On=Tn.indexOf(d);Tn=Tn.filter(function(nr,Sn){return nr!==d||Sn===On});var hn=vn[On],Zn;_t?Zn=_t:Zn=hn?hn.fixed:null;var Un=(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({},Vt,{className:"".concat(F,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Xe),"fixed",Zn),"className","".concat(F,"-row-expand-icon-cell")),"width",mn),"render",function(Sn,Rr,Mr){var go=gt(Rr,Mr),io=rt.has(go),no=Ot?Ot(Rr):!0,fo=zt({prefixCls:F,expanded:io,expandable:no,record:Rr,onExpand:vt});return Nt?e.createElement("span",{onClick:function(Zr){return Zr.stopPropagation()}},fo):fo});return Tn.map(function(nr){return nr===d?Un:nr})}return vn.filter(function(nr){return nr!==d})},[$e,vn,gt,rt,zt,St]),wn=e.useMemo(function(){var Tn=Cn;return a&&(Tn=a(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[a,Cn,St]),jn=e.useMemo(function(){return St==="rtl"?Jn(_n(wn)):_n(wn)},[wn,St,gn]),An=e.useMemo(function(){for(var Tn=-1,Ln=jn.length-1;Ln>=0;Ln-=1){var On=jn[Ln].fixed;if(On==="left"||On===!0){Tn=Ln;break}}if(Tn>=0)for(var hn=0;hn<=Tn;hn+=1){var Zn=jn[hn].fixed;if(Zn!=="left"&&Zn!==!0)return!0}var Un=jn.findIndex(function(Rr){var Mr=Rr.fixed;return Mr==="right"});if(Un>=0)for(var nr=Un;nr=Un-Xe?pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!0})}):pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!1})})}})},Ln=function(hn){pn(function(Zn){return(0,ne.Z)((0,ne.Z)({},Zn),{},{scrollLeft:hn/Ot*xt||0})})};return e.useImperativeHandle(F,function(){return{setScrollLeft:Ln,checkScrollBarVisible:Tn}}),e.useEffect(function(){var On=(0,O.Z)(document.body,"mouseup",or,!1),hn=(0,O.Z)(document.body,"mousemove",mr,!1);return Tn(),function(){On.remove(),hn.remove()}},[St,jn]),e.useEffect(function(){if($e.current){for(var On=[],hn=(0,ee.bn)($e.current);hn;)On.push(hn),hn=hn.parentElement;return On.forEach(function(Zn){return Zn.addEventListener("scroll",Tn,!1)}),window.addEventListener("resize",Tn,!1),window.addEventListener("scroll",Tn,!1),gt.addEventListener("scroll",Tn,!1),function(){On.forEach(function(Zn){return Zn.removeEventListener("scroll",Tn)}),window.removeEventListener("resize",Tn),window.removeEventListener("scroll",Tn),gt.removeEventListener("scroll",Tn)}}},[gt]),e.useEffect(function(){gn.isHiddenScrollBar||pn(function(On){var hn=$e.current;return hn?(0,ne.Z)((0,ne.Z)({},On),{},{scrollLeft:hn.scrollLeft/hn.scrollWidth*hn.clientWidth}):On})},[gn.isHiddenScrollBar]),Ot<=xt||!St||gn.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,ue.Z)(),width:xt,bottom:Xe},className:"".concat(zt,"-sticky-scroll")},e.createElement("div",{onMouseDown:ir,ref:Nt,className:H()("".concat(zt,"-sticky-scroll-bar"),(0,Re.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),jn)),style:{width:"".concat(St,"px"),transform:"translate3d(".concat(gn.scrollLeft,"px, 0, 0)")}}))},m=e.forwardRef(b);function B(l){return null}var te=B;function we(l){return null}var Ne=we,ut="rc-table",ke=[],Q={};function Ce(){return"No Data"}function Me(l,a){var F=(0,ne.Z)({rowKey:"key",prefixCls:ut,emptyText:Ce},l),J=F.prefixCls,Ee=F.className,$e=F.rowClassName,rt=F.style,Xe=F.data,gt=F.rowKey,vt=F.scroll,zt=F.tableLayout,Ot=F.direction,xt=F.title,St=F.footer,Nt=F.summary,mn=F.caption,_t=F.id,gn=F.showHeader,pn=F.components,vn=F.emptyText,Cn=F.onRow,wn=F.onHeaderRow,jn=F.onScroll,An=F.internalHooks,xr=F.transformColumns,or=F.internalRefs,ir=F.tailor,mr=F.getContainerWidth,Tn=F.sticky,Ln=F.rowHoverable,On=Ln===void 0?!0:Ln,hn=Xe||ke,Zn=!!hn.length,Un=An===i,nr=e.useCallback(function(Lr,Kr){return(0,ce.Z)(pn,Lr)||Kr},[pn]),Sn=e.useMemo(function(){return typeof gt=="function"?gt:function(Lr){var Kr=Lr&&Lr[gt];return Kr}},[gt]),Rr=nr(["body"]),Mr=g(),go=(0,L.Z)(Mr,3),io=go[0],no=go[1],fo=go[2],Fo=I(F,hn,Sn),Zr=(0,L.Z)(Fo,6),Ar=Zr[0],Co=Zr[1],xo=Zr[2],Qn=Zr[3],Er=Zr[4],Yn=Zr[5],rr=vt==null?void 0:vt.x,jr=e.useState(0),Hr=(0,L.Z)(jr,2),so=Hr[0],ro=Hr[1],Po=Ie((0,ne.Z)((0,ne.Z)((0,ne.Z)({},F),Ar),{},{expandable:!!Ar.expandedRowRender,columnTitle:Ar.columnTitle,expandedKeys:xo,getRowKey:Sn,onTriggerExpand:Yn,expandIcon:Qn,expandIconColumnIndex:Ar.expandIconColumnIndex,direction:Ot,scrollWidth:Un&&ir&&typeof rr=="number"?rr:null,clientWidth:so}),Un?xr:null),Ro=(0,L.Z)(Po,4),qn=Ro[0],dr=Ro[1],Wr=Ro[2],uo=Ro[3],Yr=Wr!=null?Wr:rr,Mo=e.useMemo(function(){return{columns:qn,flattenColumns:dr}},[qn,dr]),bo=e.useRef(),la=e.useRef(),co=e.useRef(),Xr=e.useRef();e.useImperativeHandle(a,function(){return{nativeElement:bo.current,scrollTo:function(Kr){var Ao;if(co.current instanceof HTMLElement){var ra=Kr.index,To=Kr.top,Ma=Kr.key;if(tt(To)){var Da;(Da=co.current)===null||Da===void 0||Da.scrollTo({top:To})}else{var Ia,Ua=Ma!=null?Ma:Sn(hn[ra]);(Ia=co.current.querySelector('[data-row-key="'.concat(Ua,'"]')))===null||Ia===void 0||Ia.scrollIntoView()}}else(Ao=co.current)!==null&&Ao!==void 0&&Ao.scrollTo&&co.current.scrollTo(Kr)}}});var oo=e.useRef(),ao=e.useState(!1),Do=(0,L.Z)(ao,2),So=Do[0],Vr=Do[1],po=e.useState(!1),_r=(0,L.Z)(po,2),Zo=_r[0],yo=_r[1],jo=e.useState(new Map),ya=(0,L.Z)(jo,2),Wa=ya[0],vo=ya[1],Va=at(dr),Ko=Va.map(function(Lr){return Wa.get(Lr)}),ea=e.useMemo(function(){return Ko},[Ko.join("_")]),ko=A(ea,dr,Ot),Ho=vt&&Ae(vt.y),Wo=vt&&Ae(Yr)||!!Ar.fixed,ta=Wo&&dr.some(function(Lr){var Kr=Lr.fixed;return Kr}),Ea=e.useRef(),ua=u(Tn,J),ca=ua.isSticky,nl=ua.offsetHeader,rl=ua.offsetSummary,ol=ua.offsetScroll,Ja=ua.stickyClassName,al=ua.container,Ir=e.useMemo(function(){return Nt==null?void 0:Nt(hn)},[Nt,hn]),Gr=(Ho||ca)&&e.isValidElement(Ir)&&Ir.type===f&&Ir.props.fixed,Eo,Io,Vo;Ho&&(Io={overflowY:Zn?"scroll":"auto",maxHeight:vt.y}),Wo&&(Eo={overflowX:"auto"},Ho||(Io={overflowY:"hidden"}),Vo={width:Yr===!0?"auto":Yr,minWidth:"100%"});var na=e.useCallback(function(Lr,Kr){vo(function(Ao){if(Ao.get(Lr)!==Kr){var ra=new Map(Ao);return ra.set(Lr,Kr),ra}return Ao})},[]),ia=ye(null),No=(0,L.Z)(ia,2),ni=No[0],vl=No[1];function qa(Lr,Kr){Kr&&(typeof Kr=="function"?Kr(Lr):Kr.scrollLeft!==Lr&&(Kr.scrollLeft=Lr,Kr.scrollLeft!==Lr&&setTimeout(function(){Kr.scrollLeft=Lr},0)))}var Ba=(0,x.Z)(function(Lr){var Kr=Lr.currentTarget,Ao=Lr.scrollLeft,ra=Ot==="rtl",To=typeof Ao=="number"?Ao:Kr.scrollLeft,Ma=Kr||Q;if(!vl()||vl()===Ma){var Da;ni(Ma),qa(To,la.current),qa(To,co.current),qa(To,oo.current),qa(To,(Da=Ea.current)===null||Da===void 0?void 0:Da.setScrollLeft)}var Ia=Kr||la.current;if(Ia){var Ua=Un&&ir&&typeof Yr=="number"?Yr:Ia.scrollWidth,cl=Ia.clientWidth;if(Ua===cl){Vr(!1),yo(!1);return}ra?(Vr(-To0)):(Vr(To>0),yo(To1?_t-On:0,Zn=(0,ne.Z)((0,ne.Z)((0,ne.Z)({},xr),vt),{},{flex:"0 0 ".concat(On,"px"),width:"".concat(On,"px"),marginRight:hn,pointerEvents:"auto"}),Un=e.useMemo(function(){return Ot?Tn<=1:ir===0||Tn===0||Tn>1},[Tn,ir,Ot]);Un?Zn.visibility="hidden":Ot&&(Zn.height=xt==null?void 0:xt(Tn));var nr=Un?function(){return null}:St,Sn={};return(Tn===0||ir===0)&&(Sn.rowSpan=1,Sn.colSpan=1),e.createElement(bt,(0,V.Z)({className:H()(mn,zt),ellipsis:F.ellipsis,align:F.align,scope:F.rowScope,component:rt,prefixCls:a.prefixCls,key:Cn,record:gt,index:$e,renderIndex:Xe,dataIndex:Nt,render:nr,shouldCellUpdate:F.shouldCellUpdate},wn,{appendNode:jn,additionalProps:(0,ne.Z)((0,ne.Z)({},An),{},{style:Zn},Sn)}))}var Jt=Et,At=["data","index","className","rowKey","style","extra","getHeight"],sn=e.forwardRef(function(l,a){var F=l.data,J=l.index,Ee=l.className,$e=l.rowKey,rt=l.style,Xe=l.extra,gt=l.getHeight,vt=(0,p.Z)(l,At),zt=F.record,Ot=F.indent,xt=F.index,St=r(oe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Nt=St.scrollX,mn=St.flattenColumns,_t=St.prefixCls,gn=St.fixColumn,pn=St.componentWidth,vn=r(Dt,["getComponent"]),Cn=vn.getComponent,wn=G(zt,$e,J,Ot),jn=Cn(["body","row"],"div"),An=Cn(["body","cell"],"div"),xr=wn.rowSupportExpand,or=wn.expanded,ir=wn.rowProps,mr=wn.expandedRowRender,Tn=wn.expandedRowClassName,Ln;if(xr&&or){var On=mr(zt,J,Ot+1,or),hn=et(Tn,zt,J,Ot),Zn={};gn&&(Zn={style:(0,Re.Z)({},"--virtual-width","".concat(pn,"px"))});var Un="".concat(_t,"-expanded-row-cell");Ln=e.createElement(jn,{className:H()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(Ot+1),hn)},e.createElement(bt,{component:An,prefixCls:_t,className:H()(Un,(0,Re.Z)({},"".concat(Un,"-fixed"),gn)),additionalProps:Zn},On))}var nr=(0,ne.Z)((0,ne.Z)({},rt),{},{width:Nt});Xe&&(nr.position="absolute",nr.pointerEvents="none");var Sn=e.createElement(jn,(0,V.Z)({},ir,vt,{"data-row-key":$e,ref:xr?null:a,className:H()(Ee,"".concat(_t,"-row"),ir==null?void 0:ir.className,(0,Re.Z)({},"".concat(_t,"-row-extra"),Xe)),style:(0,ne.Z)((0,ne.Z)({},nr),ir==null?void 0:ir.style)}),mn.map(function(Rr,Mr){return e.createElement(Jt,{key:Mr,component:An,rowInfo:wn,column:Rr,colIndex:Mr,indent:Ot,index:J,renderIndex:xt,record:zt,inverse:Xe,getHeight:gt})}));return xr?e.createElement("div",{ref:a},Sn,Ln):Sn}),Gt=he(sn),Yt=Gt,nn=e.forwardRef(function(l,a){var F=l.data,J=l.onScroll,Ee=r(oe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),$e=Ee.flattenColumns,rt=Ee.onColumnResize,Xe=Ee.getRowKey,gt=Ee.expandedKeys,vt=Ee.prefixCls,zt=Ee.childrenColumnName,Ot=Ee.scrollX,xt=Ee.direction,St=r(Dt),Nt=St.sticky,mn=St.scrollY,_t=St.listItemHeight,gn=St.getComponent,pn=St.onScroll,vn=e.useRef(),Cn=Ge(F,zt,gt,Xe),wn=e.useMemo(function(){var Ln=0;return $e.map(function(On){var hn=On.width,Zn=On.key;return Ln+=hn,[Zn,hn,Ln]})},[$e]),jn=e.useMemo(function(){return wn.map(function(Ln){return Ln[2]})},[wn]);e.useEffect(function(){wn.forEach(function(Ln){var On=(0,L.Z)(Ln,2),hn=On[0],Zn=On[1];rt(hn,Zn)})},[wn]),e.useImperativeHandle(a,function(){var Ln,On={scrollTo:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo(Zn)},nativeElement:(Ln=vn.current)===null||Ln===void 0?void 0:Ln.nativeElement};return Object.defineProperty(On,"scrollLeft",{get:function(){var Zn;return((Zn=vn.current)===null||Zn===void 0?void 0:Zn.getScrollInfo().x)||0},set:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo({left:Zn})}}),On});var An=function(On,hn){var Zn,Un=(Zn=Cn[hn])===null||Zn===void 0?void 0:Zn.record,nr=On.onCell;if(nr){var Sn,Rr=nr(Un,hn);return(Sn=Rr==null?void 0:Rr.rowSpan)!==null&&Sn!==void 0?Sn:1}return 1},xr=function(On){var hn=On.start,Zn=On.end,Un=On.getSize,nr=On.offsetY;if(Zn<0)return null;for(var Sn=$e.filter(function(Qn){return An(Qn,hn)===0}),Rr=hn,Mr=function(Er){if(Sn=Sn.filter(function(Yn){return An(Yn,Er)===0}),!Sn.length)return Rr=Er,1},go=hn;go>=0&&!Mr(go);go-=1);for(var io=$e.filter(function(Qn){return An(Qn,Zn)!==1}),no=Zn,fo=function(Er){if(io=io.filter(function(Yn){return An(Yn,Er)!==1}),!io.length)return no=Math.max(Er-1,Zn),1},Fo=Zn;Fo1})&&Zr.push(Er)},Co=Rr;Co<=no;Co+=1)Ar(Co);var xo=Zr.map(function(Qn){var Er=Cn[Qn],Yn=Xe(Er.record,Qn),rr=function(so){var ro=Qn+so-1,Po=Xe(Cn[ro].record,ro),Ro=Un(Yn,Po);return Ro.bottom-Ro.top},jr=Un(Yn);return e.createElement(Yt,{key:Qn,data:Er,rowKey:Yn,index:Qn,style:{top:-nr+jr.top},extra:!0,getHeight:rr})});return xo},or=e.useMemo(function(){return{columnsOffset:jn}},[jn]),ir="".concat(vt,"-tbody"),mr=gn(["body","wrapper"]),Tn={};return Nt&&(Tn.position="sticky",Tn.bottom=0,(0,Oe.Z)(Nt)==="object"&&Nt.offsetScroll&&(Tn.bottom=Nt.offsetScroll)),e.createElement(Mt.Provider,{value:or},e.createElement(It.Z,{fullHeight:!1,ref:vn,prefixCls:"".concat(ir,"-virtual"),styles:{horizontalScrollBar:Tn},className:ir,height:mn,itemHeight:_t||24,data:Cn,itemKey:function(On){return Xe(On.record)},component:mr,scrollWidth:Ot,direction:xt,onVirtualScroll:function(On){var hn,Zn=On.x;J({currentTarget:(hn=vn.current)===null||hn===void 0?void 0:hn.nativeElement,scrollLeft:Zn})},onScroll:pn,extraRender:xr},function(Ln,On,hn){var Zn=Xe(Ln.record,On);return e.createElement(Yt,{data:Ln,rowKey:Zn,index:On,style:hn.style})}))}),fn=he(nn),Zt=fn,Qt=function(a,F){var J=F.ref,Ee=F.onScroll;return e.createElement(Zt,{ref:J,data:a,onScroll:Ee})};function Ft(l,a){var F=l.data,J=l.columns,Ee=l.scroll,$e=l.sticky,rt=l.prefixCls,Xe=rt===void 0?ut:rt,gt=l.className,vt=l.listItemHeight,zt=l.components,Ot=l.onScroll,xt=Ee||{},St=xt.x,Nt=xt.y;typeof St!="number"&&(St=1),typeof Nt!="number"&&(Nt=500);var mn=(0,ie.zX)(function(pn,vn){return(0,ce.Z)(zt,pn)||vn}),_t=(0,ie.zX)(Ot),gn=e.useMemo(function(){return{sticky:$e,scrollY:Nt,listItemHeight:vt,getComponent:mn,onScroll:_t}},[$e,Nt,vt,mn,_t]);return e.createElement(Dt.Provider,{value:gn},e.createElement(Ct,(0,V.Z)({},l,{className:H()(gt,"".concat(Xe,"-virtual")),scroll:(0,ne.Z)((0,ne.Z)({},Ee),{},{x:St}),components:(0,ne.Z)((0,ne.Z)({},zt),{},{body:F!=null&&F.length?Qt:void 0}),columns:J,internalHooks:i,tailor:!0,ref:a})))}var _e=e.forwardRef(Ft);function mt(l){return C(_e,l)}var Kt=mt(),jt=null,un=l=>null,en=l=>null,cn=t(84105),Rn=t(82661),Bn=t(34643),yn=t(34061),dn=t(18929);function Kn(l){const[a,F]=(0,e.useState)(null);return[(0,e.useCallback)(($e,rt,Xe)=>{const gt=a!=null?a:$e,vt=Math.min(gt||0,$e),zt=Math.max(gt||0,$e),Ot=rt.slice(vt,zt+1).map(Nt=>l(Nt)),xt=Ot.some(Nt=>!Xe.has(Nt)),St=[];return Ot.forEach(Nt=>{xt?(Xe.has(Nt)||St.push(Nt),Xe.add(Nt)):(Xe.delete(Nt),St.push(Nt))}),F(xt?zt:null),St},[a]),$e=>{F($e)}]}var Xn=t(32383),ar=t(62673),$n=t(75727),er=t(47889);const Wn={},Sr="SELECT_ALL",Fr="SELECT_INVERT",$r="SELECT_NONE",Cr=[],vr=(l,a)=>{let F=[];return(a||[]).forEach(J=>{F.push(J),J&&typeof J=="object"&&l in J&&(F=[].concat((0,yt.Z)(F),(0,yt.Z)(vr(l,J[l]))))}),F};var Hn=(l,a)=>{const{preserveSelectedRowKeys:F,selectedRowKeys:J,defaultSelectedRowKeys:Ee,getCheckboxProps:$e,onChange:rt,onSelect:Xe,onSelectAll:gt,onSelectInvert:vt,onSelectNone:zt,onSelectMultiple:Ot,columnWidth:xt,type:St,selections:Nt,fixed:mn,renderCell:_t,hideSelectAll:gn,checkStrictly:pn=!0}=a||{},{prefixCls:vn,data:Cn,pageData:wn,getRecordByKey:jn,getRowKey:An,expandType:xr,childrenColumnName:or,locale:ir,getPopupContainer:mr}=l,Tn=(0,Xn.ln)("Table"),[Ln,On]=Kn(Qn=>Qn),[hn,Zn]=(0,dn.Z)(J||Ee||Cr,{value:J}),Un=e.useRef(new Map),nr=(0,e.useCallback)(Qn=>{if(F){const Er=new Map;Qn.forEach(Yn=>{let rr=jn(Yn);!rr&&Un.current.has(Yn)&&(rr=Un.current.get(Yn)),Er.set(Yn,rr)}),Un.current=Er}},[jn,F]);e.useEffect(()=>{nr(hn)},[hn]);const Sn=(0,e.useMemo)(()=>vr(or,wn),[or,wn]),{keyEntities:Rr}=(0,e.useMemo)(()=>{if(pn)return{keyEntities:null};let Qn=Cn;if(F){const Er=new Set(Sn.map((rr,jr)=>An(rr,jr))),Yn=Array.from(Un.current).reduce((rr,jr)=>{let[Hr,so]=jr;return Er.has(Hr)?rr:rr.concat(so)},[]);Qn=[].concat((0,yt.Z)(Qn),(0,yt.Z)(Yn))}return(0,yn.I8)(Qn,{externalGetKey:An,childrenPropName:or})},[Cn,An,pn,or,F,Sn]),Mr=(0,e.useMemo)(()=>{const Qn=new Map;return Sn.forEach((Er,Yn)=>{const rr=An(Er,Yn),jr=($e?$e(Er):null)||{};Qn.set(rr,jr)}),Qn},[Sn,An,$e]),go=(0,e.useCallback)(Qn=>{const Er=An(Qn);let Yn;return Mr.has(Er)?Yn=Mr.get(An(Qn)):Yn=$e?$e(Qn):void 0,!!(Yn!=null&&Yn.disabled)},[Mr,An]),[io,no]=(0,e.useMemo)(()=>{if(pn)return[hn||[],[]];const{checkedKeys:Qn,halfCheckedKeys:Er}=(0,Bn.S)(hn,!0,Rr,go);return[Qn||[],Er]},[hn,pn,Rr,go]),fo=(0,e.useMemo)(()=>{const Qn=St==="radio"?io.slice(0,1):io;return new Set(Qn)},[io,St]),Fo=(0,e.useMemo)(()=>St==="radio"?new Set:new Set(no),[no,St]);e.useEffect(()=>{a||Zn(Cr)},[!!a]);const Zr=(0,e.useCallback)((Qn,Er)=>{let Yn,rr;nr(Qn),F?(Yn=Qn,rr=Qn.map(jr=>Un.current.get(jr))):(Yn=[],rr=[],Qn.forEach(jr=>{const Hr=jn(jr);Hr!==void 0&&(Yn.push(jr),rr.push(Hr))})),Zn(Yn),rt==null||rt(Yn,rr,{type:Er})},[Zn,jn,rt,F]),Ar=(0,e.useCallback)((Qn,Er,Yn,rr)=>{if(Xe){const jr=Yn.map(Hr=>jn(Hr));Xe(jn(Qn),Er,jr,rr)}Zr(Yn,"single")},[Xe,jn,Zr]),Co=(0,e.useMemo)(()=>!Nt||gn?null:(Nt===!0?[Sr,Fr,$r]:Nt).map(Er=>Er===Sr?{key:"all",text:ir.selectionAll,onSelect(){Zr(Cn.map((Yn,rr)=>An(Yn,rr)).filter(Yn=>{const rr=Mr.get(Yn);return!(rr!=null&&rr.disabled)||fo.has(Yn)}),"all")}}:Er===Fr?{key:"invert",text:ir.selectInvert,onSelect(){const Yn=new Set(fo);wn.forEach((jr,Hr)=>{const so=An(jr,Hr),ro=Mr.get(so);ro!=null&&ro.disabled||(Yn.has(so)?Yn.delete(so):Yn.add(so))});const rr=Array.from(Yn);vt&&(Tn.deprecated(!1,"onSelectInvert","onChange"),vt(rr)),Zr(rr,"invert")}}:Er===$r?{key:"none",text:ir.selectNone,onSelect(){zt==null||zt(),Zr(Array.from(fo).filter(Yn=>{const rr=Mr.get(Yn);return rr==null?void 0:rr.disabled}),"none")}}:Er).map(Er=>Object.assign(Object.assign({},Er),{onSelect:function(){for(var Yn,rr,jr=arguments.length,Hr=new Array(jr),so=0;so{var Er;if(!a)return Qn.filter(Xr=>Xr!==Wn);let Yn=(0,yt.Z)(Qn);const rr=new Set(fo),jr=Sn.map(An).filter(Xr=>!Mr.get(Xr).disabled),Hr=jr.every(Xr=>rr.has(Xr)),so=jr.some(Xr=>rr.has(Xr)),ro=()=>{const Xr=[];Hr?jr.forEach(ao=>{rr.delete(ao),Xr.push(ao)}):jr.forEach(ao=>{rr.has(ao)||(rr.add(ao),Xr.push(ao))});const oo=Array.from(rr);gt==null||gt(!Hr,oo.map(ao=>jn(ao)),Xr.map(ao=>jn(ao))),Zr(oo,"all"),On(null)};let Po,Ro;if(St!=="radio"){let Xr;if(Co){const Vr={getPopupContainer:mr,items:Co.map((po,_r)=>{const{key:Zo,text:yo,onSelect:jo}=po;return{key:Zo!=null?Zo:_r,onClick:()=>{jo==null||jo(jr)},label:yo}})};Xr=e.createElement("div",{className:`${vn}-selection-extra`},e.createElement($n.Z,{menu:Vr,getPopupContainer:mr},e.createElement("span",null,e.createElement(cn.Z,null))))}const oo=Sn.map((Vr,po)=>{const _r=An(Vr,po),Zo=Mr.get(_r)||{};return Object.assign({checked:rr.has(_r)},Zo)}).filter(Vr=>{let{disabled:po}=Vr;return po}),ao=!!oo.length&&oo.length===Sn.length,Do=ao&&oo.every(Vr=>{let{checked:po}=Vr;return po}),So=ao&&oo.some(Vr=>{let{checked:po}=Vr;return po});Ro=e.createElement(ar.default,{checked:ao?Do:!!Sn.length&&Hr,indeterminate:ao?!Do&&So:!Hr&&so,onChange:ro,disabled:Sn.length===0||ao,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Po=!gn&&e.createElement("div",{className:`${vn}-selection`},Ro,Xr)}let qn;St==="radio"?qn=(Xr,oo,ao)=>{const Do=An(oo,ao),So=rr.has(Do),Vr=Mr.get(Do);return{node:e.createElement(er.ZP,Object.assign({},Vr,{checked:So,onClick:po=>{var _r;po.stopPropagation(),(_r=Vr==null?void 0:Vr.onClick)===null||_r===void 0||_r.call(Vr,po)},onChange:po=>{var _r;rr.has(Do)||Ar(Do,!0,[Do],po.nativeEvent),(_r=Vr==null?void 0:Vr.onChange)===null||_r===void 0||_r.call(Vr,po)}})),checked:So}}:qn=(Xr,oo,ao)=>{var Do;const So=An(oo,ao),Vr=rr.has(So),po=Fo.has(So),_r=Mr.get(So);let Zo;return xr==="nest"?Zo=po:Zo=(Do=_r==null?void 0:_r.indeterminate)!==null&&Do!==void 0?Do:po,{node:e.createElement(ar.default,Object.assign({},_r,{indeterminate:Zo,checked:Vr,skipGroup:!0,onClick:yo=>{var jo;yo.stopPropagation(),(jo=_r==null?void 0:_r.onClick)===null||jo===void 0||jo.call(_r,yo)},onChange:yo=>{var jo;const{nativeEvent:ya}=yo,{shiftKey:Wa}=ya,vo=jr.findIndex(Ko=>Ko===So),Va=io.some(Ko=>jr.includes(Ko));if(Wa&&pn&&Va){const Ko=Ln(vo,jr,rr),ea=Array.from(rr);Ot==null||Ot(!Vr,ea.map(ko=>jn(ko)),Ko.map(ko=>jn(ko))),Zr(ea,"multiple")}else{const Ko=io;if(pn){const ea=Vr?(0,Rn._5)(Ko,So):(0,Rn.L0)(Ko,So);Ar(So,!Vr,ea,ya)}else{const ea=(0,Bn.S)([].concat((0,yt.Z)(Ko),[So]),!0,Rr,go),{checkedKeys:ko,halfCheckedKeys:Ho}=ea;let Wo=ko;if(Vr){const ta=new Set(ko);ta.delete(So),Wo=(0,Bn.S)(Array.from(ta),{checked:!1,halfCheckedKeys:Ho},Rr,go).checkedKeys}Ar(So,!Vr,Wo,ya)}}On(Vr?null:vo),(jo=_r==null?void 0:_r.onChange)===null||jo===void 0||jo.call(_r,yo)}})),checked:Vr}};const dr=(Xr,oo,ao)=>{const{node:Do,checked:So}=qn(Xr,oo,ao);return _t?_t(So,oo,ao,Do):Do};if(!Yn.includes(Wn))if(Yn.findIndex(Xr=>{var oo;return((oo=Xr[Vt])===null||oo===void 0?void 0:oo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...oo]=Yn;Yn=[Xr,Wn].concat((0,yt.Z)(oo))}else Yn=[Wn].concat((0,yt.Z)(Yn));const Wr=Yn.indexOf(Wn);Yn=Yn.filter((Xr,oo)=>Xr!==Wn||oo===Wr);const uo=Yn[Wr-1],Yr=Yn[Wr+1];let Mo=mn;Mo===void 0&&((Yr==null?void 0:Yr.fixed)!==void 0?Mo=Yr.fixed:(uo==null?void 0:uo.fixed)!==void 0&&(Mo=uo.fixed)),Mo&&uo&&((Er=uo[Vt])===null||Er===void 0?void 0:Er.columnType)==="EXPAND_COLUMN"&&uo.fixed===void 0&&(uo.fixed=Mo);const bo=H()(`${vn}-selection-col`,{[`${vn}-selection-col-with-dropdown`]:Nt&&St==="checkbox"}),la=()=>a!=null&&a.columnTitle?typeof a.columnTitle=="function"?a.columnTitle(Ro):a.columnTitle:Po,co={fixed:Mo,width:xt,className:`${vn}-selection-column`,title:la(),render:dr,onCell:a.onCell,[Vt]:{className:bo}};return Yn.map(Xr=>Xr===Wn?co:Xr)},[An,Sn,a,io,fo,Fo,xt,Co,xr,Mr,Ot,Ar,go]),fo]},lr=t(2738);function fr(l,a){return l._antProxy=l._antProxy||{},Object.keys(a).forEach(F=>{if(!(F in l._antProxy)){const J=l[F];l._antProxy[F]=J,l[F]=a[F]}}),l}function Gn(l,a){return(0,e.useImperativeHandle)(l,()=>{const F=a(),{nativeElement:J}=F;return typeof Proxy!="undefined"?new Proxy(J,{get(Ee,$e){return F[$e]?F[$e]:Reflect.get(Ee,$e)}}):fr(J,F)})}var ur=t(83010),yr=t(48755),gr=t(38406),br=t(83397),Br=t(31756),wr=t(13783),Tr=t(85981),Qr=t(31709),Or=t(29787),zr=t(57700);function qr(l){return a=>{const{prefixCls:F,onExpand:J,record:Ee,expanded:$e,expandable:rt}=a,Xe=`${F}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:gt=>{J(Ee,gt),gt.stopPropagation()},className:H()(Xe,{[`${Xe}-spaced`]:!rt,[`${Xe}-expanded`]:rt&&$e,[`${Xe}-collapsed`]:rt&&!$e}),"aria-label":$e?l.collapse:l.expand,"aria-expanded":$e})}}var Vn=qr;function sr(l){return(F,J)=>{const Ee=F.querySelector(`.${l}-container`);let $e=J;if(Ee){const rt=getComputedStyle(Ee),Xe=parseInt(rt.borderLeftWidth,10),gt=parseInt(rt.borderRightWidth,10);$e=J-Xe-gt}return $e}}const kn=(l,a)=>"key"in l&&l.key!==void 0&&l.key!==null?l.key:l.dataIndex?Array.isArray(l.dataIndex)?l.dataIndex.join("."):l.dataIndex:a;function zn(l,a){return a?`${a}-${l}`:`${l}`}const cr=(l,a)=>typeof l=="function"?l(a):l,pr=(l,a)=>{const F=cr(l,a);return Object.prototype.toString.call(F)==="[object Object]"?"":F};var eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},In=eo,tr=t(7657),Dr=function(a,F){return e.createElement(tr.Z,(0,V.Z)({},a,{ref:F,icon:In}))},kr=e.forwardRef(Dr),Ur=kr,Uo=t(9981),$o=t(40192);function Yo(l){const a=e.useRef(l),F=(0,$o.Z)();return[()=>a.current,J=>{a.current=J,F()}]}var wo=t(7939),da=t(584),Za=t(93041),Na=t(78857),sa=t(18287),wa=t(47472),ma=t(49397),ga=l=>{const{value:a,filterSearch:F,tablePrefixCls:J,locale:Ee,onChange:$e}=l;return F?e.createElement("div",{className:`${J}-filter-dropdown-search`},e.createElement(ma.Z,{prefix:e.createElement(wa.Z,null),placeholder:Ee.filterSearchPlaceholder,onChange:$e,value:a,htmlSize:1,className:`${J}-filter-dropdown-search-input`})):null},Qo=t(10228);const Sa=l=>{const{keyCode:a}=l;a===Qo.Z.ENTER&&l.stopPropagation()};var Oa=e.forwardRef((l,a)=>e.createElement("div",{className:l.className,onClick:F=>F.stopPropagation(),onKeyDown:Sa,ref:a},l.children));function Jo(l){let a=[];return(l||[]).forEach(F=>{let{value:J,children:Ee}=F;a.push(J),Ee&&(a=[].concat((0,yt.Z)(a),(0,yt.Z)(Jo(Ee))))}),a}function Ta(l){return l.some(a=>{let{children:F}=a;return F})}function pa(l,a){return typeof a=="string"||typeof a=="number"?a==null?void 0:a.toString().toLowerCase().includes(l.trim().toLowerCase()):!1}function Fa(l){let{filters:a,prefixCls:F,filteredKeys:J,filterMultiple:Ee,searchValue:$e,filterSearch:rt}=l;return a.map((Xe,gt)=>{const vt=String(Xe.value);if(Xe.children)return{key:vt||gt,label:Xe.text,popupClassName:`${F}-dropdown-submenu`,children:Fa({filters:Xe.children,prefixCls:F,filteredKeys:J,filterMultiple:Ee,searchValue:$e,filterSearch:rt})};const zt=Ee?ar.default:er.ZP,Ot={key:Xe.value!==void 0?vt:gt,label:e.createElement(e.Fragment,null,e.createElement(zt,{checked:J.includes(vt)}),e.createElement("span",null,Xe.text))};return $e.trim()?typeof rt=="function"?rt($e,Xe)?Ot:null:pa($e,Xe.text)?Ot:null:Ot})}function xa(l){return l||[]}var La=l=>{var a,F,J,Ee;const{tablePrefixCls:$e,prefixCls:rt,column:Xe,dropdownPrefixCls:gt,columnKey:vt,filterOnClose:zt,filterMultiple:Ot,filterMode:xt="menu",filterSearch:St=!1,filterState:Nt,triggerFilter:mn,locale:_t,children:gn,getPopupContainer:pn,rootClassName:vn}=l,{filterResetToDefaultFilteredValue:Cn,defaultFilteredValue:wn,filterDropdownProps:jn={},filterDropdownOpen:An,filterDropdownVisible:xr,onFilterDropdownVisibleChange:or,onFilterDropdownOpenChange:ir}=Xe,[mr,Tn]=e.useState(!1),Ln=!!(Nt&&(!((a=Nt.filteredKeys)===null||a===void 0)&&a.length||Nt.forceFiltered)),On=qn=>{var dr;Tn(qn),(dr=jn.onOpenChange)===null||dr===void 0||dr.call(jn,qn),ir==null||ir(qn),or==null||or(qn)},hn=(Ee=(J=(F=jn.open)!==null&&F!==void 0?F:An)!==null&&J!==void 0?J:xr)!==null&&Ee!==void 0?Ee:mr,Zn=Nt==null?void 0:Nt.filteredKeys,[Un,nr]=Yo(xa(Zn)),Sn=qn=>{let{selectedKeys:dr}=qn;nr(dr)},Rr=(qn,dr)=>{let{node:Wr,checked:uo}=dr;Sn(Ot?{selectedKeys:qn}:{selectedKeys:uo&&Wr.key?[Wr.key]:[]})};e.useEffect(()=>{mr&&Sn({selectedKeys:xa(Zn)})},[Zn]);const[Mr,go]=e.useState([]),io=qn=>{go(qn)},[no,fo]=e.useState(""),Fo=qn=>{const{value:dr}=qn.target;fo(dr)};e.useEffect(()=>{mr||fo("")},[mr]);const Zr=qn=>{const dr=qn!=null&&qn.length?qn:null;if(dr===null&&(!Nt||!Nt.filteredKeys)||(0,E.Z)(dr,Nt==null?void 0:Nt.filteredKeys,!0))return null;mn({column:Xe,key:vt,filteredKeys:dr})},Ar=()=>{On(!1),Zr(Un())},Co=function(){let{confirm:qn,closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qn&&Zr([]),dr&&On(!1),fo(""),nr(Cn?(wn||[]).map(Wr=>String(Wr)):[])},xo=function(){let{closeDropdown:qn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qn&&On(!1),Zr(Un())},Qn=(qn,dr)=>{dr.source==="trigger"&&(qn&&Zn!==void 0&&nr(xa(Zn)),On(qn),!qn&&!Xe.filterDropdown&&zt&&Ar())},Er=H()({[`${gt}-menu-without-submenu`]:!Ta(Xe.filters||[])}),Yn=qn=>{if(qn.target.checked){const dr=Jo(Xe==null?void 0:Xe.filters).map(Wr=>String(Wr));nr(dr)}else nr([])},rr=qn=>{let{filters:dr}=qn;return(dr||[]).map((Wr,uo)=>{const Yr=String(Wr.value),Mo={title:Wr.text,key:Wr.value!==void 0?Yr:String(uo)};return Wr.children&&(Mo.children=rr({filters:Wr.children})),Mo})},jr=qn=>{var dr;return Object.assign(Object.assign({},qn),{text:qn.title,value:qn.key,children:((dr=qn.children)===null||dr===void 0?void 0:dr.map(Wr=>jr(Wr)))||[]})};let Hr;const{direction:so,renderEmpty:ro}=e.useContext(yr.E_);if(typeof Xe.filterDropdown=="function")Hr=Xe.filterDropdown({prefixCls:`${gt}-custom`,setSelectedKeys:qn=>Sn({selectedKeys:qn}),selectedKeys:Un(),confirm:xo,clearFilters:Co,filters:Xe.filters,visible:hn,close:()=>{On(!1)}});else if(Xe.filterDropdown)Hr=Xe.filterDropdown;else{const qn=Un()||[],dr=()=>{var uo,Yr;const Mo=(uo=ro==null?void 0:ro("Table.filter"))!==null&&uo!==void 0?uo:e.createElement(da.Z,{image:da.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Xe.filters||[]).length===0)return Mo;if(xt==="tree")return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),e.createElement("div",{className:`${$e}-filter-dropdown-tree`},Ot?e.createElement(ar.default,{checked:qn.length===Jo(Xe.filters).length,indeterminate:qn.length>0&&qn.lengthtypeof St=="function"?St(no,jr(co)):pa(no,co.title):void 0})));const bo=Fa({filters:Xe.filters||[],filterSearch:St,prefixCls:rt,filteredKeys:Un(),filterMultiple:Ot,searchValue:no}),la=bo.every(co=>co===null);return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),la?Mo:e.createElement(Za.default,{selectable:!0,multiple:Ot,prefixCls:`${gt}-menu`,className:Er,onSelect:Sn,onDeselect:Sn,selectedKeys:qn,getPopupContainer:pn,openKeys:Mr,onOpenChange:io,items:bo}))},Wr=()=>Cn?(0,E.Z)((wn||[]).map(uo=>String(uo)),qn,!0):qn.length===0;Hr=e.createElement(e.Fragment,null,dr(),e.createElement("div",{className:`${rt}-dropdown-btns`},e.createElement(wo.ZP,{type:"link",size:"small",disabled:Wr(),onClick:()=>Co()},_t.filterReset),e.createElement(wo.ZP,{type:"primary",size:"small",onClick:Ar},_t.filterConfirm)))}Xe.filterDropdown&&(Hr=e.createElement(Na.J,{selectable:void 0},Hr)),Hr=e.createElement(Oa,{className:`${rt}-dropdown`},Hr);const Po=()=>{let qn;return typeof Xe.filterIcon=="function"?qn=Xe.filterIcon(Ln):Xe.filterIcon?qn=Xe.filterIcon:qn=e.createElement(Ur,null),e.createElement("span",{role:"button",tabIndex:-1,className:H()(`${rt}-trigger`,{active:Ln}),onClick:dr=>{dr.stopPropagation()}},qn)},Ro=(0,Uo.Z)({trigger:["click"],placement:so==="rtl"?"bottomLeft":"bottomRight",children:Po(),getPopupContainer:pn},Object.assign(Object.assign({},jn),{rootClassName:H()(vn,jn.rootClassName),open:hn,onOpenChange:Qn,dropdownRender:()=>typeof(jn==null?void 0:jn.dropdownRender)=="function"?jn.dropdownRender(Hr):Hr}));return e.createElement("div",{className:`${rt}-column`},e.createElement("span",{className:`${$e}-column-title`},gn),e.createElement($n.Z,Object.assign({},Ro)))};const fa=(l,a,F)=>{let J=[];return(l||[]).forEach((Ee,$e)=>{var rt;const Xe=zn($e,F);if(Ee.filters||"filterDropdown"in Ee||"onFilter"in Ee)if("filteredValue"in Ee){let gt=Ee.filteredValue;"filterDropdown"in Ee||(gt=(rt=gt==null?void 0:gt.map(String))!==null&&rt!==void 0?rt:gt),J.push({column:Ee,key:kn(Ee,Xe),filteredKeys:gt,forceFiltered:Ee.filtered})}else J.push({column:Ee,key:kn(Ee,Xe),filteredKeys:a&&Ee.defaultFilteredValue?Ee.defaultFilteredValue:void 0,forceFiltered:Ee.filtered});"children"in Ee&&(J=[].concat((0,yt.Z)(J),(0,yt.Z)(fa(Ee.children,a,Xe))))}),J};function qo(l,a,F,J,Ee,$e,rt,Xe,gt){return F.map((vt,zt)=>{const Ot=zn(zt,Xe),{filterOnClose:xt=!0,filterMultiple:St=!0,filterMode:Nt,filterSearch:mn}=vt;let _t=vt;if(_t.filters||_t.filterDropdown){const gn=kn(_t,Ot),pn=J.find(vn=>{let{key:Cn}=vn;return gn===Cn});_t=Object.assign(Object.assign({},_t),{title:vn=>e.createElement(La,{tablePrefixCls:l,prefixCls:`${l}-filter`,dropdownPrefixCls:a,column:_t,columnKey:gn,filterState:pn,filterOnClose:xt,filterMultiple:St,filterMode:Nt,filterSearch:mn,triggerFilter:$e,locale:Ee,getPopupContainer:rt,rootClassName:gt},cr(vt.title,vn))})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:qo(l,a,_t.children,J,Ee,$e,rt,Ot,gt)})),_t})}const Nr=l=>{const a={};return l.forEach(F=>{let{key:J,filteredKeys:Ee,column:$e}=F;const rt=J,{filters:Xe,filterDropdown:gt}=$e;if(gt)a[rt]=Ee||null;else if(Array.isArray(Ee)){const vt=Jo(Xe);a[rt]=vt.filter(zt=>Ee.includes(String(zt)))}else a[rt]=null}),a},Pr=(l,a,F)=>a.reduce((Ee,$e)=>{const{column:{onFilter:rt,filters:Xe},filteredKeys:gt}=$e;return rt&>&>.length?Ee.map(vt=>Object.assign({},vt)).filter(vt=>gt.some(zt=>{const Ot=Jo(Xe),xt=Ot.findIndex(Nt=>String(Nt)===String(zt)),St=xt!==-1?Ot[xt]:zt;return vt[F]&&(vt[F]=Pr(vt[F],a,F)),rt(St,vt)})):Ee},l),Oo=l=>l.flatMap(a=>"children"in a?[a].concat((0,yt.Z)(Oo(a.children||[]))):[a]);var mo=l=>{const{prefixCls:a,dropdownPrefixCls:F,mergedColumns:J,onFilterChange:Ee,getPopupContainer:$e,locale:rt,rootClassName:Xe}=l,gt=(0,Xn.ln)("Table"),vt=e.useMemo(()=>Oo(J||[]),[J]),[zt,Ot]=e.useState(()=>fa(vt,!0)),xt=e.useMemo(()=>{const _t=fa(vt,!1);if(_t.length===0)return _t;let gn=!0,pn=!0;if(_t.forEach(vn=>{let{filteredKeys:Cn}=vn;Cn!==void 0?gn=!1:pn=!1}),gn){const vn=(vt||[]).map((Cn,wn)=>kn(Cn,zn(wn)));return zt.filter(Cn=>{let{key:wn}=Cn;return vn.includes(wn)}).map(Cn=>{const wn=vt[vn.findIndex(jn=>jn===Cn.key)];return Object.assign(Object.assign({},Cn),{column:Object.assign(Object.assign({},Cn.column),wn),forceFiltered:wn.filtered})})}return _t},[vt,zt]),St=e.useMemo(()=>Nr(xt),[xt]),Nt=_t=>{const gn=xt.filter(pn=>{let{key:vn}=pn;return vn!==_t.key});gn.push(_t),Ot(gn),Ee(Nr(gn),gn)};return[_t=>qo(a,F,_t,xt,rt,Nt,$e,void 0,Xe),xt,St]},Go=(l,a,F)=>{const J=e.useRef({});function Ee($e){var rt;if(!J.current||J.current.data!==l||J.current.childrenColumnName!==a||J.current.getRowKey!==F){let gt=function(vt){vt.forEach((zt,Ot)=>{const xt=F(zt,Ot);Xe.set(xt,zt),zt&&typeof zt=="object"&&a in zt&>(zt[a]||[])})};const Xe=new Map;gt(l),J.current={data:l,childrenColumnName:a,kvMap:Xe,getRowKey:F}}return(rt=J.current.kvMap)===null||rt===void 0?void 0:rt.get($e)}return[Ee]},Xo=function(l,a){var F={};for(var J in l)Object.prototype.hasOwnProperty.call(l,J)&&a.indexOf(J)<0&&(F[J]=l[J]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,J=Object.getOwnPropertySymbols(l);Ee{const $e=l[Ee];typeof $e!="function"&&(F[Ee]=$e)}),F}function aa(l,a,F){const J=F&&typeof F=="object"?F:{},{total:Ee=0}=J,$e=Xo(J,["total"]),[rt,Xe]=(0,e.useState)(()=>({current:"defaultCurrent"in $e?$e.defaultCurrent:1,pageSize:"defaultPageSize"in $e?$e.defaultPageSize:_o})),gt=(0,Uo.Z)(rt,$e,{total:Ee>0?Ee:l}),vt=Math.ceil((Ee||l)/gt.pageSize);gt.current>vt&&(gt.current=vt||1);const zt=(xt,St)=>{Xe({current:xt!=null?xt:1,pageSize:St||gt.pageSize})},Ot=(xt,St)=>{var Nt;F&&((Nt=F.onChange)===null||Nt===void 0||Nt.call(F,xt,St)),zt(xt,St),a(xt,St||(gt==null?void 0:gt.pageSize))};return F===!1?[{},()=>{}]:[Object.assign(Object.assign({},gt),{onChange:Ot}),zt]}var ha=aa,Ca=t(89489),tl=t(59477),ka=t(25399);const lo="ascend",Jr="descend",to=l=>typeof l.sorter=="object"&&typeof l.sorter.multiple=="number"?l.sorter.multiple:!1,Lo=l=>typeof l=="function"?l:l&&typeof l=="object"&&l.compare?l.compare:!1,zo=(l,a)=>a?l[l.indexOf(a)+1]:l[0],ba=(l,a,F)=>{let J=[];const Ee=($e,rt)=>{J.push({column:$e,key:kn($e,rt),multiplePriority:to($e),sortOrder:$e.sortOrder})};return(l||[]).forEach(($e,rt)=>{const Xe=zn(rt,F);$e.children?("sortOrder"in $e&&Ee($e,Xe),J=[].concat((0,yt.Z)(J),(0,yt.Z)(ba($e.children,a,Xe)))):$e.sorter&&("sortOrder"in $e?Ee($e,Xe):a&&$e.defaultSortOrder&&J.push({column:$e,key:kn($e,Xe),multiplePriority:to($e),sortOrder:$e.defaultSortOrder}))}),J},Pa=(l,a,F,J,Ee,$e,rt,Xe)=>(a||[]).map((vt,zt)=>{const Ot=zn(zt,Xe);let xt=vt;if(xt.sorter){const St=xt.sortDirections||Ee,Nt=xt.showSorterTooltip===void 0?rt:xt.showSorterTooltip,mn=kn(xt,Ot),_t=F.find(or=>{let{key:ir}=or;return ir===mn}),gn=_t?_t.sortOrder:null,pn=zo(St,gn);let vn;if(vt.sortIcon)vn=vt.sortIcon({sortOrder:gn});else{const or=St.includes(lo)&&e.createElement(tl.Z,{className:H()(`${l}-column-sorter-up`,{active:gn===lo})}),ir=St.includes(Jr)&&e.createElement(Ca.Z,{className:H()(`${l}-column-sorter-down`,{active:gn===Jr})});vn=e.createElement("span",{className:H()(`${l}-column-sorter`,{[`${l}-column-sorter-full`]:!!(or&&ir)})},e.createElement("span",{className:`${l}-column-sorter-inner`,"aria-hidden":"true"},or,ir))}const{cancelSort:Cn,triggerAsc:wn,triggerDesc:jn}=$e||{};let An=Cn;pn===Jr?An=jn:pn===lo&&(An=wn);const xr=typeof Nt=="object"?Object.assign({title:An},Nt):{title:An};xt=Object.assign(Object.assign({},xt),{className:H()(xt.className,{[`${l}-column-sort`]:gn}),title:or=>{const ir=`${l}-column-sorters`,mr=e.createElement("span",{className:`${l}-column-title`},cr(vt.title,or)),Tn=e.createElement("div",{className:ir},mr,vn);return Nt?typeof Nt!="boolean"&&(Nt==null?void 0:Nt.target)==="sorter-icon"?e.createElement("div",{className:`${ir} ${l}-column-sorters-tooltip-target-sorter`},mr,e.createElement(ka.Z,Object.assign({},xr),vn)):e.createElement(ka.Z,Object.assign({},xr),Tn):Tn},onHeaderCell:or=>{var ir;const mr=((ir=vt.onHeaderCell)===null||ir===void 0?void 0:ir.call(vt,or))||{},Tn=mr.onClick,Ln=mr.onKeyDown;mr.onClick=Zn=>{J({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Tn==null||Tn(Zn)},mr.onKeyDown=Zn=>{Zn.keyCode===Qo.Z.ENTER&&(J({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Ln==null||Ln(Zn))};const On=pr(vt.title,{}),hn=On==null?void 0:On.toString();return gn&&(mr["aria-sort"]=gn==="ascend"?"ascending":"descending"),mr["aria-label"]=hn||"",mr.className=H()(mr.className,`${l}-column-has-sorters`),mr.tabIndex=0,vt.ellipsis&&(mr.title=(On!=null?On:"").toString()),mr}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:Pa(l,xt.children,F,J,Ee,$e,rt,Ot)})),xt}),Ya=l=>{const{column:a,sortOrder:F}=l;return{column:a,order:F,field:a.dataIndex,columnKey:a.key}},za=l=>{const a=l.filter(F=>{let{sortOrder:J}=F;return J}).map(Ya);if(a.length===0&&l.length){const F=l.length-1;return Object.assign(Object.assign({},Ya(l[F])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return a.length<=1?a[0]||{}:a},Ra=(l,a,F)=>{const J=a.slice().sort((rt,Xe)=>Xe.multiplePriority-rt.multiplePriority),Ee=l.slice(),$e=J.filter(rt=>{let{column:{sorter:Xe},sortOrder:gt}=rt;return Lo(Xe)&>});return $e.length?Ee.sort((rt,Xe)=>{for(let gt=0;gt<$e.length;gt+=1){const vt=$e[gt],{column:{sorter:zt},sortOrder:Ot}=vt,xt=Lo(zt);if(xt&&Ot){const St=xt(rt,Xe,Ot);if(St!==0)return Ot===lo?St:-St}}return 0}).map(rt=>{const Xe=rt[F];return Xe?Object.assign(Object.assign({},rt),{[F]:Ra(Xe,a,F)}):rt}):Ee};var ja=l=>{const{prefixCls:a,mergedColumns:F,sortDirections:J,tableLocale:Ee,showSorterTooltip:$e,onSorterChange:rt}=l,[Xe,gt]=e.useState(ba(F,!0)),vt=(mn,_t)=>{const gn=[];return mn.forEach((pn,vn)=>{const Cn=zn(vn,_t);if(gn.push(kn(pn,Cn)),Array.isArray(pn.children)){const wn=vt(pn.children,Cn);gn.push.apply(gn,(0,yt.Z)(wn))}}),gn},zt=e.useMemo(()=>{let mn=!0;const _t=ba(F,!1);if(!_t.length){const Cn=vt(F);return Xe.filter(wn=>{let{key:jn}=wn;return Cn.includes(jn)})}const gn=[];function pn(Cn){mn?gn.push(Cn):gn.push(Object.assign(Object.assign({},Cn),{sortOrder:null}))}let vn=null;return _t.forEach(Cn=>{vn===null?(pn(Cn),Cn.sortOrder&&(Cn.multiplePriority===!1?mn=!1:vn=!0)):(vn&&Cn.multiplePriority!==!1||(mn=!1),pn(Cn))}),gn},[F,Xe]),Ot=e.useMemo(()=>{var mn,_t;const gn=zt.map(pn=>{let{column:vn,sortOrder:Cn}=pn;return{column:vn,order:Cn}});return{sortColumns:gn,sortColumn:(mn=gn[0])===null||mn===void 0?void 0:mn.column,sortOrder:(_t=gn[0])===null||_t===void 0?void 0:_t.order}},[zt]),xt=mn=>{let _t;mn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?_t=[mn]:_t=[].concat((0,yt.Z)(zt.filter(gn=>{let{key:pn}=gn;return pn!==mn.key})),[mn]),gt(_t),rt(za(_t),_t)};return[mn=>Pa(a,mn,zt,xt,J,Ee,$e),zt,Ot,()=>za(zt)]};const Qa=(l,a)=>l.map(J=>{const Ee=Object.assign({},J);return Ee.title=cr(J.title,a),"children"in Ee&&(Ee.children=Qa(Ee.children,a)),Ee});var Fl=l=>[e.useCallback(F=>Qa(F,l),[l])],Pl=ht((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:J}=a;return F!==J}),Rl=mt((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:J}=a;return F!==J}),hr=t(36237),Ka=t(17835),Ha=t(63356),$l=t(16931),Bl=t(51636),Ml=l=>{const{componentCls:a,lineWidth:F,lineType:J,tableBorderColor:Ee,tableHeaderBg:$e,tablePaddingVertical:rt,tablePaddingHorizontal:Xe,calc:gt}=l,vt=`${(0,hr.unit)(F)} ${J} ${Ee}`,zt=(Ot,xt,St)=>({[`&${a}-${Ot}`]:{[`> ${a}-container`]:{[`> ${a}-content, > ${a}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${a}-expanded-row-fixed`]:{margin:`${(0,hr.unit)(gt(xt).mul(-1).equal())} + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:P.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Fe}-leave`]:{animationTimingFunction:P.motionEaseInQuint}}]}},37645:function(an,Je,t){t.d(Je,{ZP:function(){return D},qN:function(){return i},wZ:function(){return L}});var e=t(36237),d=t(36305);const i=8;function L(E){const{contentRadius:Z,limitVerticalRadius:K}=E,r=Z>12?Z+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:K?i:r}}function x(E,Z){return E?Z:{}}function D(E,Z,K){const{componentCls:r,boxShadowPopoverArrow:U,arrowOffsetVertical:M,arrowOffsetHorizontal:P}=E,{arrowDistance:me=0,arrowPlacement:lt={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,d.W)(E,Z,U)),{"&:before":{background:Z}})]},x(!!lt.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:me,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!lt.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:me,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":P,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:P}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(P)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:P}}}})),x(!!lt.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:me},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:M},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:M}})),x(!!lt.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:me},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:M},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:M}}))}}},36305:function(an,Je,t){t.d(Je,{W:function(){return i},w:function(){return d}});var e=t(36237);function d(L){const{sizePopupArrow:x,borderRadiusXS:D,borderRadiusOuter:E}=L,Z=x/2,K=0,r=Z,U=E*1/Math.sqrt(2),M=Z-E*(1-1/Math.sqrt(2)),P=Z-D*(1/Math.sqrt(2)),me=E*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),lt=2*Z-P,Fe=me,Pe=2*Z-U,Ve=M,C=2*Z-K,he=r,s=Z*Math.sqrt(2)+E*(Math.sqrt(2)-2),h=E*(Math.sqrt(2)-1),oe=`polygon(${h}px 100%, 50% ${h}px, ${2*Z-h}px 100%, ${h}px 100%)`,le=`path('M ${K} ${r} A ${E} ${E} 0 0 0 ${U} ${M} L ${P} ${me} A ${D} ${D} 0 0 1 ${lt} ${Fe} L ${Pe} ${Ve} A ${E} ${E} 0 0 0 ${C} ${he} Z')`;return{arrowShadowWidth:s,arrowPath:le,arrowPolygon:oe}}const i=(L,x,D)=>{const{sizePopupArrow:E,arrowPolygon:Z,arrowPath:K,arrowShadowWidth:r,borderRadiusXS:U,calc:M}=L;return{pointerEvents:"none",width:E,height:E,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:E,height:M(E).div(2).equal(),background:x,clipPath:{_multi_value_:!0,value:[Z,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:r,height:r,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(U)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},70858:function(an,Je,t){t.d(Je,{default:function(){return ti}});var e=t(59301),d={},i="rc-table-internal-hook",L=t(42978),x=t(6089),D=t(34280),E=t(13697),Z=t(4676);function K(l){var a=e.createContext(void 0),F=function(Ee){var $e=Ee.value,rt=Ee.children,Xe=e.useRef($e);Xe.current=$e;var gt=e.useState(function(){return{getValue:function(){return Xe.current},listeners:new Set}}),vt=(0,L.Z)(gt,1),zt=vt[0];return(0,D.Z)(function(){(0,Z.unstable_batchedUpdates)(function(){zt.listeners.forEach(function(Ot){Ot($e)})})},[$e]),e.createElement(a.Provider,{value:zt},rt)};return{Context:a,Provider:F,defaultValue:l}}function r(l,a){var F=(0,x.Z)(typeof a=="function"?a:function(Ot){if(a===void 0)return Ot;if(!Array.isArray(a))return Ot[a];var xt={};return a.forEach(function(St){xt[St]=Ot[St]}),xt}),J=e.useContext(l==null?void 0:l.Context),Ee=J||{},$e=Ee.listeners,rt=Ee.getValue,Xe=e.useRef();Xe.current=F(J?rt():l==null?void 0:l.defaultValue);var gt=e.useState({}),vt=(0,L.Z)(gt,2),zt=vt[1];return(0,D.Z)(function(){if(!J)return;function Ot(xt){var St=F(xt);(0,E.Z)(Xe.current,St,!0)||zt({})}return $e.add(Ot),function(){$e.delete(Ot)}},[J]),Xe.current}var U=t(54476),M=t(8654);function P(){var l=e.createContext(null);function a(){return e.useContext(l)}function F(Ee,$e){var rt=(0,M.Yr)(Ee),Xe=function(vt,zt){var Ot=rt?{ref:zt}:{},xt=e.useRef(0),St=e.useRef(vt),Nt=a();return Nt!==null?e.createElement(Ee,(0,U.Z)({},vt,Ot)):((!$e||$e(St.current,vt))&&(xt.current+=1),St.current=vt,e.createElement(l.Provider,{value:xt.current},e.createElement(Ee,(0,U.Z)({},vt,Ot))))};return rt?e.forwardRef(Xe):Xe}function J(Ee,$e){var rt=(0,M.Yr)(Ee),Xe=function(vt,zt){var Ot=rt?{ref:zt}:{};return a(),e.createElement(Ee,(0,U.Z)({},vt,Ot))};return rt?e.memo(e.forwardRef(Xe),$e):e.memo(Xe,$e)}return{makeImmutable:F,responseImmutable:J,useImmutableMark:a}}var me=P(),lt=me.makeImmutable,Fe=me.responseImmutable,Pe=me.useImmutableMark,Ve=P(),C=Ve.makeImmutable,he=Ve.responseImmutable,s=Ve.useImmutableMark,h=K(),oe=h;function le(l,a){var F=React.useRef(0);F.current+=1;var J=React.useRef(l),Ee=[];Object.keys(l||{}).map(function(rt){var Xe;(l==null?void 0:l[rt])!==((Xe=J.current)===null||Xe===void 0?void 0:Xe[rt])&&Ee.push(rt)}),J.current=l;var $e=React.useRef([]);return Ee.length&&($e.current=Ee),React.useDebugValue(F.current),React.useDebugValue($e.current.join(", ")),a&&console.log("".concat(a,":"),F.current,$e.current),F.current}var v=null,je=null,Oe=t(76190),ne=t(33885),Re=t(20068),de=t(92310),H=t.n(de),n=t(80547),ce=t(97938),T=t(48736),ze=e.createContext({renderWithProps:!1}),xe=ze,We="RC_TABLE_KEY";function st(l){return l==null?[]:Array.isArray(l)?l:[l]}function at(l){var a=[],F={};return l.forEach(function(J){for(var Ee=J||{},$e=Ee.key,rt=Ee.dataIndex,Xe=$e||st(rt).join("-")||We;F[Xe];)Xe="".concat(Xe,"_next");F[Xe]=!0,a.push(Xe)}),a}function Ae(l){return l!=null}function tt(l){return typeof l=="number"&&!Number.isNaN(l)}function q(l){return l&&(0,Oe.Z)(l)==="object"&&!Array.isArray(l)&&!e.isValidElement(l)}function Se(l,a,F,J,Ee,$e){var rt=e.useContext(xe),Xe=s(),gt=(0,n.Z)(function(){if(Ae(J))return[J];var vt=a==null||a===""?[]:Array.isArray(a)?a:[a],zt=(0,ce.Z)(l,vt),Ot=zt,xt=void 0;if(Ee){var St=Ee(zt,l,F);q(St)?(Ot=St.children,xt=St.props,rt.renderWithProps=!0):Ot=St}return[Ot,xt]},[Xe,l,J,a,Ee,F],function(vt,zt){if($e){var Ot=(0,L.Z)(vt,2),xt=Ot[1],St=(0,L.Z)(zt,2),Nt=St[1];return $e(Nt,xt)}return rt.renderWithProps?!0:!(0,E.Z)(vt,zt,!0)});return gt}function ge(l,a,F,J){var Ee=l+a-1;return l<=J&&Ee>=F}function Qe(l,a){return r(oe,function(F){var J=ge(l,a||1,F.hoverStartRow,F.hoverEndRow);return[J,F.onHover]})}var ie=t(70425),qe=function(a){var F=a.ellipsis,J=a.rowType,Ee=a.children,$e,rt=F===!0?{showTitle:!0}:F;return rt&&(rt.showTitle||J==="header")&&(typeof Ee=="string"||typeof Ee=="number"?$e=Ee.toString():e.isValidElement(Ee)&&typeof Ee.props.children=="string"&&($e=Ee.props.children)),$e};function Ke(l){var a,F,J,Ee,$e,rt,Xe,gt,vt=l.component,zt=l.children,Ot=l.ellipsis,xt=l.scope,St=l.prefixCls,Nt=l.className,mn=l.align,_t=l.record,gn=l.render,pn=l.dataIndex,vn=l.renderIndex,Cn=l.shouldCellUpdate,wn=l.index,jn=l.rowType,An=l.colSpan,xr=l.rowSpan,or=l.fixLeft,ir=l.fixRight,mr=l.firstFixLeft,Tn=l.lastFixLeft,Ln=l.firstFixRight,On=l.lastFixRight,hn=l.appendNode,Zn=l.additionalProps,Un=Zn===void 0?{}:Zn,nr=l.isSticky,Sn="".concat(St,"-cell"),Rr=r(oe,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Mr=Rr.supportSticky,go=Rr.allColumnsFixedLeft,io=Rr.rowHoverable,no=Se(_t,pn,vn,zt,gn,Cn),fo=(0,L.Z)(no,2),Fo=fo[0],Zr=fo[1],Ar={},Co=typeof or=="number"&&Mr,xo=typeof ir=="number"&&Mr;Co&&(Ar.position="sticky",Ar.left=or),xo&&(Ar.position="sticky",Ar.right=ir);var Qn=(a=(F=(J=Zr==null?void 0:Zr.colSpan)!==null&&J!==void 0?J:Un.colSpan)!==null&&F!==void 0?F:An)!==null&&a!==void 0?a:1,Er=(Ee=($e=(rt=Zr==null?void 0:Zr.rowSpan)!==null&&rt!==void 0?rt:Un.rowSpan)!==null&&$e!==void 0?$e:xr)!==null&&Ee!==void 0?Ee:1,Yn=Qe(wn,Er),rr=(0,L.Z)(Yn,2),jr=rr[0],Hr=rr[1],so=(0,ie.zX)(function(uo){var Yr;_t&&Hr(wn,wn+Er-1),Un==null||(Yr=Un.onMouseEnter)===null||Yr===void 0||Yr.call(Un,uo)}),ro=(0,ie.zX)(function(uo){var Yr;_t&&Hr(-1,-1),Un==null||(Yr=Un.onMouseLeave)===null||Yr===void 0||Yr.call(Un,uo)});if(Qn===0||Er===0)return null;var Po=(Xe=Un.title)!==null&&Xe!==void 0?Xe:qe({rowType:jn,ellipsis:Ot,children:Fo}),Ro=H()(Sn,Nt,(gt={},(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)(gt,"".concat(Sn,"-fix-left"),Co&&Mr),"".concat(Sn,"-fix-left-first"),mr&&Mr),"".concat(Sn,"-fix-left-last"),Tn&&Mr),"".concat(Sn,"-fix-left-all"),Tn&&go&&Mr),"".concat(Sn,"-fix-right"),xo&&Mr),"".concat(Sn,"-fix-right-first"),Ln&&Mr),"".concat(Sn,"-fix-right-last"),On&&Mr),"".concat(Sn,"-ellipsis"),Ot),"".concat(Sn,"-with-append"),hn),"".concat(Sn,"-fix-sticky"),(Co||xo)&&nr&&Mr),(0,Re.Z)(gt,"".concat(Sn,"-row-hover"),!Zr&&jr)),Un.className,Zr==null?void 0:Zr.className),qn={};mn&&(qn.textAlign=mn);var dr=(0,ne.Z)((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Zr==null?void 0:Zr.style),Ar),qn),Un.style),Wr=Fo;return(0,Oe.Z)(Wr)==="object"&&!Array.isArray(Wr)&&!e.isValidElement(Wr)&&(Wr=null),Ot&&(Tn||Ln)&&(Wr=e.createElement("span",{className:"".concat(Sn,"-content")},Wr)),e.createElement(vt,(0,U.Z)({},Zr,Un,{className:Ro,style:dr,title:Po,scope:xt,onMouseEnter:io?so:void 0,onMouseLeave:io?ro:void 0,colSpan:Qn!==1?Qn:null,rowSpan:Er!==1?Er:null}),hn,Wr)}var bt=e.memo(Ke);function Te(l,a,F,J,Ee){var $e=F[l]||{},rt=F[a]||{},Xe,gt;$e.fixed==="left"?Xe=J.left[Ee==="rtl"?a:l]:rt.fixed==="right"&&(gt=J.right[Ee==="rtl"?l:a]);var vt=!1,zt=!1,Ot=!1,xt=!1,St=F[a+1],Nt=F[l-1],mn=St&&!St.fixed||Nt&&!Nt.fixed||F.every(function(Cn){return Cn.fixed==="left"});if(Ee==="rtl"){if(Xe!==void 0){var _t=Nt&&Nt.fixed==="left";xt=!_t&&mn}else if(gt!==void 0){var gn=St&&St.fixed==="right";Ot=!gn&&mn}}else if(Xe!==void 0){var pn=St&&St.fixed==="left";vt=!pn&&mn}else if(gt!==void 0){var vn=Nt&&Nt.fixed==="right";zt=!vn&&mn}return{fixLeft:Xe,fixRight:gt,lastFixLeft:vt,firstFixRight:zt,lastFixRight:Ot,firstFixLeft:xt,isSticky:J.isSticky}}var k=e.createContext({}),R=k;function X(l){var a=l.className,F=l.index,J=l.children,Ee=l.colSpan,$e=Ee===void 0?1:Ee,rt=l.rowSpan,Xe=l.align,gt=r(oe,["prefixCls","direction"]),vt=gt.prefixCls,zt=gt.direction,Ot=e.useContext(R),xt=Ot.scrollColumnIndex,St=Ot.stickyOffsets,Nt=Ot.flattenColumns,mn=F+$e-1,_t=mn+1===xt?$e+1:$e,gn=Te(F,F+_t-1,Nt,St,zt);return e.createElement(bt,(0,U.Z)({className:a,index:F,component:"td",prefixCls:vt,record:null,dataIndex:null,align:Xe,colSpan:_t,rowSpan:rt,render:function(){return J}},gn))}var p=t(75931),fe=["children"];function z(l){var a=l.children,F=(0,p.Z)(l,fe);return e.createElement("tr",F,a)}function o(l){var a=l.children;return a}o.Row=z,o.Cell=X;var f=o;function se(l){var a=l.children,F=l.stickyOffsets,J=l.flattenColumns,Ee=r(oe,"prefixCls"),$e=J.length-1,rt=J[$e],Xe=e.useMemo(function(){return{stickyOffsets:F,flattenColumns:J,scrollColumnIndex:rt!=null&&rt.scrollbar?$e:null}},[rt,J,$e,F]);return e.createElement(R.Provider,{value:Xe},e.createElement("tfoot",{className:"".concat(Ee,"-summary")},a))}var _=he(se),$=f,N=t(29301),G=t(24514),ue=t(75152),c=t(26112);function y(l,a,F,J,Ee,$e,rt){l.push({record:a,indent:F,index:rt});var Xe=$e(a),gt=Ee==null?void 0:Ee.has(Xe);if(a&&Array.isArray(a[J])&>)for(var vt=0;vt1?mr-1:0),Ln=1;Ln=1)),style:(0,ne.Z)((0,ne.Z)({},F),gn==null?void 0:gn.style)}),Nt.map(function(or,ir){var mr=or.render,Tn=or.dataIndex,Ln=or.className,On=w(xt,or,ir,gt,Ee),hn=On.key,Zn=On.fixedInfo,Un=On.appendCellNode,nr=On.additionalCellProps;return e.createElement(bt,(0,U.Z)({className:Ln,ellipsis:or.ellipsis,align:or.align,scope:or.rowScope,component:or.rowScope?Ot:zt,prefixCls:St,key:hn,record:J,index:Ee,renderIndex:$e,dataIndex:Tn,render:mr,shouldCellUpdate:or.shouldCellUpdate},Zn,{appendNode:Un,additionalProps:nr}))})),An;if(vn&&(Cn.current||pn)){var xr=_t(J,Ee,gt+1,pn);An=e.createElement(He,{expanded:pn,className:H()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(gt+1),wn),prefixCls:St,component:vt,cellComponent:zt,colSpan:Nt.length,isEmpty:!1},xr)}return e.createElement(e.Fragment,null,jn,An)}var Ze=he(pe);function Ue(l){var a=l.columnKey,F=l.onColumnResize,J=e.useRef();return(0,D.Z)(function(){J.current&&F(a,J.current.offsetWidth)},[]),e.createElement(N.Z,{data:a},e.createElement("td",{ref:J,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ot=t(29194);function Tt(l){var a=l.prefixCls,F=l.columnsKey,J=l.onColumnResize,Ee=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(a,"-measure-row"),style:{height:0,fontSize:0},ref:Ee},e.createElement(N.Z.Collection,{onBatchResize:function(rt){(0,ot.Z)(Ee.current)&&rt.forEach(function(Xe){var gt=Xe.data,vt=Xe.size;J(gt,vt.offsetWidth)})}},F.map(function($e){return e.createElement(Ue,{key:$e,columnKey:$e,onColumnResize:J})})))}function ct(l){var a=l.data,F=l.measureColumnWidth,J=r(oe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ee=J.prefixCls,$e=J.getComponent,rt=J.onColumnResize,Xe=J.flattenColumns,gt=J.getRowKey,vt=J.expandedKeys,zt=J.childrenColumnName,Ot=J.emptyNode,xt=Ge(a,zt,vt,gt),St=e.useRef({renderWithProps:!1}),Nt=$e(["body","wrapper"],"tbody"),mn=$e(["body","row"],"tr"),_t=$e(["body","cell"],"td"),gn=$e(["body","cell"],"th"),pn;a.length?pn=xt.map(function(Cn,wn){var jn=Cn.record,An=Cn.indent,xr=Cn.index,or=gt(jn,wn);return e.createElement(Ze,{key:or,rowKey:or,record:jn,index:wn,renderIndex:xr,rowComponent:mn,cellComponent:_t,scopeCellComponent:gn,indent:An})}):pn=e.createElement(He,{expanded:!0,className:"".concat(Ee,"-placeholder"),prefixCls:Ee,component:mn,cellComponent:_t,colSpan:Xe.length,isEmpty:!0},Ot);var vn=at(Xe);return e.createElement(xe.Provider,{value:St.current},e.createElement(Nt,{className:"".concat(Ee,"-tbody")},F&&e.createElement(Tt,{prefixCls:Ee,columnsKey:vn,onColumnResize:rt}),pn))}var dt=he(ct),Rt=["expandable"],Vt="RC_TABLE_INTERNAL_COL_DEFINE";function Ht(l){var a=l.expandable,F=(0,p.Z)(l,Rt),J;return"expandable"in l?J=(0,ne.Z)((0,ne.Z)({},F),a):J=F,J.showExpandColumn===!1&&(J.expandIconColumnIndex=-1),J}var Xt=["columnType"];function wt(l){for(var a=l.colWidths,F=l.columns,J=l.columCount,Ee=r(oe,["tableLayout"]),$e=Ee.tableLayout,rt=[],Xe=J||F.length,gt=!1,vt=Xe-1;vt>=0;vt-=1){var zt=a[vt],Ot=F&&F[vt],xt=void 0,St=void 0;if(Ot&&(xt=Ot[Vt],$e==="auto"&&(St=Ot.minWidth)),zt||St||xt||gt){var Nt=xt||{},mn=Nt.columnType,_t=(0,p.Z)(Nt,Xt);rt.unshift(e.createElement("col",(0,U.Z)({key:vt,style:{width:zt,minWidth:St}},_t))),gt=!0}}return e.createElement("colgroup",null,rt)}var Ut=wt,yt=t(94480),Bt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pt(l,a){return(0,e.useMemo)(function(){for(var F=[],J=0;J1?"colgroup":"col":null,ellipsis:_t.ellipsis,align:_t.align,component:rt,prefixCls:zt,key:St[mn]},gn,{additionalProps:pn,rowType:"header"}))}))},Lt=pt;function ln(l){var a=[];function F(rt,Xe){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;a[gt]=a[gt]||[];var vt=Xe,zt=rt.filter(Boolean).map(function(Ot){var xt={key:Ot.key,className:Ot.className||"",children:Ot.title,column:Ot,colStart:vt},St=1,Nt=Ot.children;return Nt&&Nt.length>0&&(St=F(Nt,vt,gt+1).reduce(function(mn,_t){return mn+_t},0),xt.hasSubColumns=!0),"colSpan"in Ot&&(St=Ot.colSpan),"rowSpan"in Ot&&(xt.rowSpan=Ot.rowSpan),xt.colSpan=St,xt.colEnd=xt.colStart+St-1,a[gt].push(xt),vt+=St,St});return zt}F(l,0);for(var J=a.length,Ee=function(Xe){a[Xe].forEach(function(gt){!("rowSpan"in gt)&&!gt.hasSubColumns&&(gt.rowSpan=J-Xe)})},$e=0;$e1&&arguments[1]!==void 0?arguments[1]:"";return typeof a=="number"?a:a.endsWith("%")?l*parseFloat(a)/100:null}function tn(l,a,F){return e.useMemo(function(){if(a&&a>0){var J=0,Ee=0;l.forEach(function(xt){var St=Mn(a,xt.width);St?J+=St:Ee+=1});var $e=Math.max(a,F),rt=Math.max($e-J,Ee),Xe=Ee,gt=rt/Ee,vt=0,zt=l.map(function(xt){var St=(0,ne.Z)({},xt),Nt=Mn(a,St.width);if(Nt)St.width=Nt;else{var mn=Math.floor(gt);St.width=Xe===1?rt:mn,rt-=mn,Xe-=1}return vt+=St.width,St});if(vt<$e){var Ot=$e/vt;rt=$e,zt.forEach(function(xt,St){var Nt=Math.floor(xt.width*Ot);xt.width=St===zt.length-1?rt:Nt,rt-=Nt})}return[zt,Math.max(vt,$e)]}return[l,a]},[l,a,F])}var Nn=["children"],Pn=["fixed"];function bn(l){return(0,Dn.Z)(l).filter(function(a){return e.isValidElement(a)}).map(function(a){var F=a.key,J=a.props,Ee=J.children,$e=(0,p.Z)(J,Nn),rt=(0,ne.Z)({key:F},$e);return Ee&&(rt.children=bn(Ee)),rt})}function Fn(l){return l.filter(function(a){return a&&(0,Oe.Z)(a)==="object"&&!a.hidden}).map(function(a){var F=a.children;return F&&F.length>0?(0,ne.Z)((0,ne.Z)({},a),{},{children:Fn(F)}):a})}function _n(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(F){return F&&(0,Oe.Z)(F)==="object"}).reduce(function(F,J,Ee){var $e=J.fixed,rt=$e===!0?"left":$e,Xe="".concat(a,"-").concat(Ee),gt=J.children;return gt&>.length>0?[].concat((0,yt.Z)(F),(0,yt.Z)(_n(gt,Xe).map(function(vt){return(0,ne.Z)({fixed:rt},vt)}))):[].concat((0,yt.Z)(F),[(0,ne.Z)((0,ne.Z)({key:Xe},J),{},{fixed:rt})])},[])}function Jn(l){return l.map(function(a){var F=a.fixed,J=(0,p.Z)(a,Pn),Ee=F;return F==="left"?Ee="right":F==="right"&&(Ee="left"),(0,ne.Z)({fixed:Ee},J)})}function Be(l,a){var F=l.prefixCls,J=l.columns,Ee=l.children,$e=l.expandable,rt=l.expandedKeys,Xe=l.columnTitle,gt=l.getRowKey,vt=l.onTriggerExpand,zt=l.expandIcon,Ot=l.rowExpandable,xt=l.expandIconColumnIndex,St=l.direction,Nt=l.expandRowByClick,mn=l.columnWidth,_t=l.fixed,gn=l.scrollWidth,pn=l.clientWidth,vn=e.useMemo(function(){var Tn=J||bn(Ee)||[];return Fn(Tn.slice())},[J,Ee]),Cn=e.useMemo(function(){if($e){var Tn=vn.slice();if(!Tn.includes(d)){var Ln=xt||0;Ln>=0&&(Ln||_t==="left"||!_t)&&Tn.splice(Ln,0,d),_t==="right"&&Tn.splice(vn.length,0,d)}var On=Tn.indexOf(d);Tn=Tn.filter(function(nr,Sn){return nr!==d||Sn===On});var hn=vn[On],Zn;_t?Zn=_t:Zn=hn?hn.fixed:null;var Un=(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({},Vt,{className:"".concat(F,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Xe),"fixed",Zn),"className","".concat(F,"-row-expand-icon-cell")),"width",mn),"render",function(Sn,Rr,Mr){var go=gt(Rr,Mr),io=rt.has(go),no=Ot?Ot(Rr):!0,fo=zt({prefixCls:F,expanded:io,expandable:no,record:Rr,onExpand:vt});return Nt?e.createElement("span",{onClick:function(Zr){return Zr.stopPropagation()}},fo):fo});return Tn.map(function(nr){return nr===d?Un:nr})}return vn.filter(function(nr){return nr!==d})},[$e,vn,gt,rt,zt,St]),wn=e.useMemo(function(){var Tn=Cn;return a&&(Tn=a(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[a,Cn,St]),jn=e.useMemo(function(){return St==="rtl"?Jn(_n(wn)):_n(wn)},[wn,St,gn]),An=e.useMemo(function(){for(var Tn=-1,Ln=jn.length-1;Ln>=0;Ln-=1){var On=jn[Ln].fixed;if(On==="left"||On===!0){Tn=Ln;break}}if(Tn>=0)for(var hn=0;hn<=Tn;hn+=1){var Zn=jn[hn].fixed;if(Zn!=="left"&&Zn!==!0)return!0}var Un=jn.findIndex(function(Rr){var Mr=Rr.fixed;return Mr==="right"});if(Un>=0)for(var nr=Un;nr=Un-Xe?pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!0})}):pn(function(nr){return(0,ne.Z)((0,ne.Z)({},nr),{},{isHiddenScrollBar:!1})})}})},Ln=function(hn){pn(function(Zn){return(0,ne.Z)((0,ne.Z)({},Zn),{},{scrollLeft:hn/Ot*xt||0})})};return e.useImperativeHandle(F,function(){return{setScrollLeft:Ln,checkScrollBarVisible:Tn}}),e.useEffect(function(){var On=(0,O.Z)(document.body,"mouseup",or,!1),hn=(0,O.Z)(document.body,"mousemove",mr,!1);return Tn(),function(){On.remove(),hn.remove()}},[St,jn]),e.useEffect(function(){if($e.current){for(var On=[],hn=(0,ee.bn)($e.current);hn;)On.push(hn),hn=hn.parentElement;return On.forEach(function(Zn){return Zn.addEventListener("scroll",Tn,!1)}),window.addEventListener("resize",Tn,!1),window.addEventListener("scroll",Tn,!1),gt.addEventListener("scroll",Tn,!1),function(){On.forEach(function(Zn){return Zn.removeEventListener("scroll",Tn)}),window.removeEventListener("resize",Tn),window.removeEventListener("scroll",Tn),gt.removeEventListener("scroll",Tn)}}},[gt]),e.useEffect(function(){gn.isHiddenScrollBar||pn(function(On){var hn=$e.current;return hn?(0,ne.Z)((0,ne.Z)({},On),{},{scrollLeft:hn.scrollLeft/hn.scrollWidth*hn.clientWidth}):On})},[gn.isHiddenScrollBar]),Ot<=xt||!St||gn.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,ue.Z)(),width:xt,bottom:Xe},className:"".concat(zt,"-sticky-scroll")},e.createElement("div",{onMouseDown:ir,ref:Nt,className:H()("".concat(zt,"-sticky-scroll-bar"),(0,Re.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),jn)),style:{width:"".concat(St,"px"),transform:"translate3d(".concat(gn.scrollLeft,"px, 0, 0)")}}))},m=e.forwardRef(b);function B(l){return null}var te=B;function we(l){return null}var Ne=we,ut="rc-table",ke=[],Q={};function Ce(){return"No Data"}function Me(l,a){var F=(0,ne.Z)({rowKey:"key",prefixCls:ut,emptyText:Ce},l),J=F.prefixCls,Ee=F.className,$e=F.rowClassName,rt=F.style,Xe=F.data,gt=F.rowKey,vt=F.scroll,zt=F.tableLayout,Ot=F.direction,xt=F.title,St=F.footer,Nt=F.summary,mn=F.caption,_t=F.id,gn=F.showHeader,pn=F.components,vn=F.emptyText,Cn=F.onRow,wn=F.onHeaderRow,jn=F.onScroll,An=F.internalHooks,xr=F.transformColumns,or=F.internalRefs,ir=F.tailor,mr=F.getContainerWidth,Tn=F.sticky,Ln=F.rowHoverable,On=Ln===void 0?!0:Ln,hn=Xe||ke,Zn=!!hn.length,Un=An===i,nr=e.useCallback(function(Lr,Kr){return(0,ce.Z)(pn,Lr)||Kr},[pn]),Sn=e.useMemo(function(){return typeof gt=="function"?gt:function(Lr){var Kr=Lr&&Lr[gt];return Kr}},[gt]),Rr=nr(["body"]),Mr=g(),go=(0,L.Z)(Mr,3),io=go[0],no=go[1],fo=go[2],Fo=I(F,hn,Sn),Zr=(0,L.Z)(Fo,6),Ar=Zr[0],Co=Zr[1],xo=Zr[2],Qn=Zr[3],Er=Zr[4],Yn=Zr[5],rr=vt==null?void 0:vt.x,jr=e.useState(0),Hr=(0,L.Z)(jr,2),so=Hr[0],ro=Hr[1],Po=Ie((0,ne.Z)((0,ne.Z)((0,ne.Z)({},F),Ar),{},{expandable:!!Ar.expandedRowRender,columnTitle:Ar.columnTitle,expandedKeys:xo,getRowKey:Sn,onTriggerExpand:Yn,expandIcon:Qn,expandIconColumnIndex:Ar.expandIconColumnIndex,direction:Ot,scrollWidth:Un&&ir&&typeof rr=="number"?rr:null,clientWidth:so}),Un?xr:null),Ro=(0,L.Z)(Po,4),qn=Ro[0],dr=Ro[1],Wr=Ro[2],uo=Ro[3],Yr=Wr!=null?Wr:rr,Mo=e.useMemo(function(){return{columns:qn,flattenColumns:dr}},[qn,dr]),bo=e.useRef(),la=e.useRef(),co=e.useRef(),Xr=e.useRef();e.useImperativeHandle(a,function(){return{nativeElement:bo.current,scrollTo:function(Kr){var Ao;if(co.current instanceof HTMLElement){var ra=Kr.index,To=Kr.top,Ma=Kr.key;if(tt(To)){var Da;(Da=co.current)===null||Da===void 0||Da.scrollTo({top:To})}else{var Ia,Ua=Ma!=null?Ma:Sn(hn[ra]);(Ia=co.current.querySelector('[data-row-key="'.concat(Ua,'"]')))===null||Ia===void 0||Ia.scrollIntoView()}}else(Ao=co.current)!==null&&Ao!==void 0&&Ao.scrollTo&&co.current.scrollTo(Kr)}}});var oo=e.useRef(),ao=e.useState(!1),Do=(0,L.Z)(ao,2),So=Do[0],Vr=Do[1],po=e.useState(!1),_r=(0,L.Z)(po,2),Zo=_r[0],yo=_r[1],jo=e.useState(new Map),ya=(0,L.Z)(jo,2),Wa=ya[0],vo=ya[1],Va=at(dr),Ko=Va.map(function(Lr){return Wa.get(Lr)}),ea=e.useMemo(function(){return Ko},[Ko.join("_")]),ko=A(ea,dr,Ot),Ho=vt&&Ae(vt.y),Wo=vt&&Ae(Yr)||!!Ar.fixed,ta=Wo&&dr.some(function(Lr){var Kr=Lr.fixed;return Kr}),Ea=e.useRef(),ua=u(Tn,J),ca=ua.isSticky,nl=ua.offsetHeader,rl=ua.offsetSummary,ol=ua.offsetScroll,Ja=ua.stickyClassName,al=ua.container,Ir=e.useMemo(function(){return Nt==null?void 0:Nt(hn)},[Nt,hn]),Gr=(Ho||ca)&&e.isValidElement(Ir)&&Ir.type===f&&Ir.props.fixed,Eo,Io,Vo;Ho&&(Io={overflowY:Zn?"scroll":"auto",maxHeight:vt.y}),Wo&&(Eo={overflowX:"auto"},Ho||(Io={overflowY:"hidden"}),Vo={width:Yr===!0?"auto":Yr,minWidth:"100%"});var na=e.useCallback(function(Lr,Kr){vo(function(Ao){if(Ao.get(Lr)!==Kr){var ra=new Map(Ao);return ra.set(Lr,Kr),ra}return Ao})},[]),ia=ye(null),No=(0,L.Z)(ia,2),ni=No[0],vl=No[1];function qa(Lr,Kr){Kr&&(typeof Kr=="function"?Kr(Lr):Kr.scrollLeft!==Lr&&(Kr.scrollLeft=Lr,Kr.scrollLeft!==Lr&&setTimeout(function(){Kr.scrollLeft=Lr},0)))}var Ba=(0,x.Z)(function(Lr){var Kr=Lr.currentTarget,Ao=Lr.scrollLeft,ra=Ot==="rtl",To=typeof Ao=="number"?Ao:Kr.scrollLeft,Ma=Kr||Q;if(!vl()||vl()===Ma){var Da;ni(Ma),qa(To,la.current),qa(To,co.current),qa(To,oo.current),qa(To,(Da=Ea.current)===null||Da===void 0?void 0:Da.setScrollLeft)}var Ia=Kr||la.current;if(Ia){var Ua=Un&&ir&&typeof Yr=="number"?Yr:Ia.scrollWidth,cl=Ia.clientWidth;if(Ua===cl){Vr(!1),yo(!1);return}ra?(Vr(-To0)):(Vr(To>0),yo(To1?_t-On:0,Zn=(0,ne.Z)((0,ne.Z)((0,ne.Z)({},xr),vt),{},{flex:"0 0 ".concat(On,"px"),width:"".concat(On,"px"),marginRight:hn,pointerEvents:"auto"}),Un=e.useMemo(function(){return Ot?Tn<=1:ir===0||Tn===0||Tn>1},[Tn,ir,Ot]);Un?Zn.visibility="hidden":Ot&&(Zn.height=xt==null?void 0:xt(Tn));var nr=Un?function(){return null}:St,Sn={};return(Tn===0||ir===0)&&(Sn.rowSpan=1,Sn.colSpan=1),e.createElement(bt,(0,U.Z)({className:H()(mn,zt),ellipsis:F.ellipsis,align:F.align,scope:F.rowScope,component:rt,prefixCls:a.prefixCls,key:Cn,record:gt,index:$e,renderIndex:Xe,dataIndex:Nt,render:nr,shouldCellUpdate:F.shouldCellUpdate},wn,{appendNode:jn,additionalProps:(0,ne.Z)((0,ne.Z)({},An),{},{style:Zn},Sn)}))}var Jt=Et,At=["data","index","className","rowKey","style","extra","getHeight"],sn=e.forwardRef(function(l,a){var F=l.data,J=l.index,Ee=l.className,$e=l.rowKey,rt=l.style,Xe=l.extra,gt=l.getHeight,vt=(0,p.Z)(l,At),zt=F.record,Ot=F.indent,xt=F.index,St=r(oe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Nt=St.scrollX,mn=St.flattenColumns,_t=St.prefixCls,gn=St.fixColumn,pn=St.componentWidth,vn=r(Dt,["getComponent"]),Cn=vn.getComponent,wn=W(zt,$e,J,Ot),jn=Cn(["body","row"],"div"),An=Cn(["body","cell"],"div"),xr=wn.rowSupportExpand,or=wn.expanded,ir=wn.rowProps,mr=wn.expandedRowRender,Tn=wn.expandedRowClassName,Ln;if(xr&&or){var On=mr(zt,J,Ot+1,or),hn=et(Tn,zt,J,Ot),Zn={};gn&&(Zn={style:(0,Re.Z)({},"--virtual-width","".concat(pn,"px"))});var Un="".concat(_t,"-expanded-row-cell");Ln=e.createElement(jn,{className:H()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(Ot+1),hn)},e.createElement(bt,{component:An,prefixCls:_t,className:H()(Un,(0,Re.Z)({},"".concat(Un,"-fixed"),gn)),additionalProps:Zn},On))}var nr=(0,ne.Z)((0,ne.Z)({},rt),{},{width:Nt});Xe&&(nr.position="absolute",nr.pointerEvents="none");var Sn=e.createElement(jn,(0,U.Z)({},ir,vt,{"data-row-key":$e,ref:xr?null:a,className:H()(Ee,"".concat(_t,"-row"),ir==null?void 0:ir.className,(0,Re.Z)({},"".concat(_t,"-row-extra"),Xe)),style:(0,ne.Z)((0,ne.Z)({},nr),ir==null?void 0:ir.style)}),mn.map(function(Rr,Mr){return e.createElement(Jt,{key:Mr,component:An,rowInfo:wn,column:Rr,colIndex:Mr,indent:Ot,index:J,renderIndex:xt,record:zt,inverse:Xe,getHeight:gt})}));return xr?e.createElement("div",{ref:a},Sn,Ln):Sn}),Gt=he(sn),Yt=Gt,nn=e.forwardRef(function(l,a){var F=l.data,J=l.onScroll,Ee=r(oe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),$e=Ee.flattenColumns,rt=Ee.onColumnResize,Xe=Ee.getRowKey,gt=Ee.expandedKeys,vt=Ee.prefixCls,zt=Ee.childrenColumnName,Ot=Ee.scrollX,xt=Ee.direction,St=r(Dt),Nt=St.sticky,mn=St.scrollY,_t=St.listItemHeight,gn=St.getComponent,pn=St.onScroll,vn=e.useRef(),Cn=Ge(F,zt,gt,Xe),wn=e.useMemo(function(){var Ln=0;return $e.map(function(On){var hn=On.width,Zn=On.key;return Ln+=hn,[Zn,hn,Ln]})},[$e]),jn=e.useMemo(function(){return wn.map(function(Ln){return Ln[2]})},[wn]);e.useEffect(function(){wn.forEach(function(Ln){var On=(0,L.Z)(Ln,2),hn=On[0],Zn=On[1];rt(hn,Zn)})},[wn]),e.useImperativeHandle(a,function(){var Ln,On={scrollTo:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo(Zn)},nativeElement:(Ln=vn.current)===null||Ln===void 0?void 0:Ln.nativeElement};return Object.defineProperty(On,"scrollLeft",{get:function(){var Zn;return((Zn=vn.current)===null||Zn===void 0?void 0:Zn.getScrollInfo().x)||0},set:function(Zn){var Un;(Un=vn.current)===null||Un===void 0||Un.scrollTo({left:Zn})}}),On});var An=function(On,hn){var Zn,Un=(Zn=Cn[hn])===null||Zn===void 0?void 0:Zn.record,nr=On.onCell;if(nr){var Sn,Rr=nr(Un,hn);return(Sn=Rr==null?void 0:Rr.rowSpan)!==null&&Sn!==void 0?Sn:1}return 1},xr=function(On){var hn=On.start,Zn=On.end,Un=On.getSize,nr=On.offsetY;if(Zn<0)return null;for(var Sn=$e.filter(function(Qn){return An(Qn,hn)===0}),Rr=hn,Mr=function(Er){if(Sn=Sn.filter(function(Yn){return An(Yn,Er)===0}),!Sn.length)return Rr=Er,1},go=hn;go>=0&&!Mr(go);go-=1);for(var io=$e.filter(function(Qn){return An(Qn,Zn)!==1}),no=Zn,fo=function(Er){if(io=io.filter(function(Yn){return An(Yn,Er)!==1}),!io.length)return no=Math.max(Er-1,Zn),1},Fo=Zn;Fo1})&&Zr.push(Er)},Co=Rr;Co<=no;Co+=1)Ar(Co);var xo=Zr.map(function(Qn){var Er=Cn[Qn],Yn=Xe(Er.record,Qn),rr=function(so){var ro=Qn+so-1,Po=Xe(Cn[ro].record,ro),Ro=Un(Yn,Po);return Ro.bottom-Ro.top},jr=Un(Yn);return e.createElement(Yt,{key:Qn,data:Er,rowKey:Yn,index:Qn,style:{top:-nr+jr.top},extra:!0,getHeight:rr})});return xo},or=e.useMemo(function(){return{columnsOffset:jn}},[jn]),ir="".concat(vt,"-tbody"),mr=gn(["body","wrapper"]),Tn={};return Nt&&(Tn.position="sticky",Tn.bottom=0,(0,Oe.Z)(Nt)==="object"&&Nt.offsetScroll&&(Tn.bottom=Nt.offsetScroll)),e.createElement(Mt.Provider,{value:or},e.createElement(It.Z,{fullHeight:!1,ref:vn,prefixCls:"".concat(ir,"-virtual"),styles:{horizontalScrollBar:Tn},className:ir,height:mn,itemHeight:_t||24,data:Cn,itemKey:function(On){return Xe(On.record)},component:mr,scrollWidth:Ot,direction:xt,onVirtualScroll:function(On){var hn,Zn=On.x;J({currentTarget:(hn=vn.current)===null||hn===void 0?void 0:hn.nativeElement,scrollLeft:Zn})},onScroll:pn,extraRender:xr},function(Ln,On,hn){var Zn=Xe(Ln.record,On);return e.createElement(Yt,{data:Ln,rowKey:Zn,index:On,style:hn.style})}))}),fn=he(nn),Zt=fn,Qt=function(a,F){var J=F.ref,Ee=F.onScroll;return e.createElement(Zt,{ref:J,data:a,onScroll:Ee})};function Ft(l,a){var F=l.data,J=l.columns,Ee=l.scroll,$e=l.sticky,rt=l.prefixCls,Xe=rt===void 0?ut:rt,gt=l.className,vt=l.listItemHeight,zt=l.components,Ot=l.onScroll,xt=Ee||{},St=xt.x,Nt=xt.y;typeof St!="number"&&(St=1),typeof Nt!="number"&&(Nt=500);var mn=(0,ie.zX)(function(pn,vn){return(0,ce.Z)(zt,pn)||vn}),_t=(0,ie.zX)(Ot),gn=e.useMemo(function(){return{sticky:$e,scrollY:Nt,listItemHeight:vt,getComponent:mn,onScroll:_t}},[$e,Nt,vt,mn,_t]);return e.createElement(Dt.Provider,{value:gn},e.createElement(Ct,(0,U.Z)({},l,{className:H()(gt,"".concat(Xe,"-virtual")),scroll:(0,ne.Z)((0,ne.Z)({},Ee),{},{x:St}),components:(0,ne.Z)((0,ne.Z)({},zt),{},{body:F!=null&&F.length?Qt:void 0}),columns:J,internalHooks:i,tailor:!0,ref:a})))}var _e=e.forwardRef(Ft);function mt(l){return C(_e,l)}var Kt=mt(),jt=null,un=l=>null,en=l=>null,cn=t(84105),Rn=t(82661),Bn=t(34643),yn=t(34061),dn=t(18929);function Kn(l){const[a,F]=(0,e.useState)(null);return[(0,e.useCallback)(($e,rt,Xe)=>{const gt=a!=null?a:$e,vt=Math.min(gt||0,$e),zt=Math.max(gt||0,$e),Ot=rt.slice(vt,zt+1).map(Nt=>l(Nt)),xt=Ot.some(Nt=>!Xe.has(Nt)),St=[];return Ot.forEach(Nt=>{xt?(Xe.has(Nt)||St.push(Nt),Xe.add(Nt)):(Xe.delete(Nt),St.push(Nt))}),F(xt?zt:null),St},[a]),$e=>{F($e)}]}var Xn=t(32383),ar=t(62673),$n=t(75727),er=t(47889);const Wn={},Sr="SELECT_ALL",Fr="SELECT_INVERT",$r="SELECT_NONE",Cr=[],vr=(l,a)=>{let F=[];return(a||[]).forEach(J=>{F.push(J),J&&typeof J=="object"&&l in J&&(F=[].concat((0,yt.Z)(F),(0,yt.Z)(vr(l,J[l]))))}),F};var Hn=(l,a)=>{const{preserveSelectedRowKeys:F,selectedRowKeys:J,defaultSelectedRowKeys:Ee,getCheckboxProps:$e,onChange:rt,onSelect:Xe,onSelectAll:gt,onSelectInvert:vt,onSelectNone:zt,onSelectMultiple:Ot,columnWidth:xt,type:St,selections:Nt,fixed:mn,renderCell:_t,hideSelectAll:gn,checkStrictly:pn=!0}=a||{},{prefixCls:vn,data:Cn,pageData:wn,getRecordByKey:jn,getRowKey:An,expandType:xr,childrenColumnName:or,locale:ir,getPopupContainer:mr}=l,Tn=(0,Xn.ln)("Table"),[Ln,On]=Kn(Qn=>Qn),[hn,Zn]=(0,dn.Z)(J||Ee||Cr,{value:J}),Un=e.useRef(new Map),nr=(0,e.useCallback)(Qn=>{if(F){const Er=new Map;Qn.forEach(Yn=>{let rr=jn(Yn);!rr&&Un.current.has(Yn)&&(rr=Un.current.get(Yn)),Er.set(Yn,rr)}),Un.current=Er}},[jn,F]);e.useEffect(()=>{nr(hn)},[hn]);const Sn=(0,e.useMemo)(()=>vr(or,wn),[or,wn]),{keyEntities:Rr}=(0,e.useMemo)(()=>{if(pn)return{keyEntities:null};let Qn=Cn;if(F){const Er=new Set(Sn.map((rr,jr)=>An(rr,jr))),Yn=Array.from(Un.current).reduce((rr,jr)=>{let[Hr,so]=jr;return Er.has(Hr)?rr:rr.concat(so)},[]);Qn=[].concat((0,yt.Z)(Qn),(0,yt.Z)(Yn))}return(0,yn.I8)(Qn,{externalGetKey:An,childrenPropName:or})},[Cn,An,pn,or,F,Sn]),Mr=(0,e.useMemo)(()=>{const Qn=new Map;return Sn.forEach((Er,Yn)=>{const rr=An(Er,Yn),jr=($e?$e(Er):null)||{};Qn.set(rr,jr)}),Qn},[Sn,An,$e]),go=(0,e.useCallback)(Qn=>{const Er=An(Qn);let Yn;return Mr.has(Er)?Yn=Mr.get(An(Qn)):Yn=$e?$e(Qn):void 0,!!(Yn!=null&&Yn.disabled)},[Mr,An]),[io,no]=(0,e.useMemo)(()=>{if(pn)return[hn||[],[]];const{checkedKeys:Qn,halfCheckedKeys:Er}=(0,Bn.S)(hn,!0,Rr,go);return[Qn||[],Er]},[hn,pn,Rr,go]),fo=(0,e.useMemo)(()=>{const Qn=St==="radio"?io.slice(0,1):io;return new Set(Qn)},[io,St]),Fo=(0,e.useMemo)(()=>St==="radio"?new Set:new Set(no),[no,St]);e.useEffect(()=>{a||Zn(Cr)},[!!a]);const Zr=(0,e.useCallback)((Qn,Er)=>{let Yn,rr;nr(Qn),F?(Yn=Qn,rr=Qn.map(jr=>Un.current.get(jr))):(Yn=[],rr=[],Qn.forEach(jr=>{const Hr=jn(jr);Hr!==void 0&&(Yn.push(jr),rr.push(Hr))})),Zn(Yn),rt==null||rt(Yn,rr,{type:Er})},[Zn,jn,rt,F]),Ar=(0,e.useCallback)((Qn,Er,Yn,rr)=>{if(Xe){const jr=Yn.map(Hr=>jn(Hr));Xe(jn(Qn),Er,jr,rr)}Zr(Yn,"single")},[Xe,jn,Zr]),Co=(0,e.useMemo)(()=>!Nt||gn?null:(Nt===!0?[Sr,Fr,$r]:Nt).map(Er=>Er===Sr?{key:"all",text:ir.selectionAll,onSelect(){Zr(Cn.map((Yn,rr)=>An(Yn,rr)).filter(Yn=>{const rr=Mr.get(Yn);return!(rr!=null&&rr.disabled)||fo.has(Yn)}),"all")}}:Er===Fr?{key:"invert",text:ir.selectInvert,onSelect(){const Yn=new Set(fo);wn.forEach((jr,Hr)=>{const so=An(jr,Hr),ro=Mr.get(so);ro!=null&&ro.disabled||(Yn.has(so)?Yn.delete(so):Yn.add(so))});const rr=Array.from(Yn);vt&&(Tn.deprecated(!1,"onSelectInvert","onChange"),vt(rr)),Zr(rr,"invert")}}:Er===$r?{key:"none",text:ir.selectNone,onSelect(){zt==null||zt(),Zr(Array.from(fo).filter(Yn=>{const rr=Mr.get(Yn);return rr==null?void 0:rr.disabled}),"none")}}:Er).map(Er=>Object.assign(Object.assign({},Er),{onSelect:function(){for(var Yn,rr,jr=arguments.length,Hr=new Array(jr),so=0;so{var Er;if(!a)return Qn.filter(Xr=>Xr!==Wn);let Yn=(0,yt.Z)(Qn);const rr=new Set(fo),jr=Sn.map(An).filter(Xr=>!Mr.get(Xr).disabled),Hr=jr.every(Xr=>rr.has(Xr)),so=jr.some(Xr=>rr.has(Xr)),ro=()=>{const Xr=[];Hr?jr.forEach(ao=>{rr.delete(ao),Xr.push(ao)}):jr.forEach(ao=>{rr.has(ao)||(rr.add(ao),Xr.push(ao))});const oo=Array.from(rr);gt==null||gt(!Hr,oo.map(ao=>jn(ao)),Xr.map(ao=>jn(ao))),Zr(oo,"all"),On(null)};let Po,Ro;if(St!=="radio"){let Xr;if(Co){const Vr={getPopupContainer:mr,items:Co.map((po,_r)=>{const{key:Zo,text:yo,onSelect:jo}=po;return{key:Zo!=null?Zo:_r,onClick:()=>{jo==null||jo(jr)},label:yo}})};Xr=e.createElement("div",{className:`${vn}-selection-extra`},e.createElement($n.Z,{menu:Vr,getPopupContainer:mr},e.createElement("span",null,e.createElement(cn.Z,null))))}const oo=Sn.map((Vr,po)=>{const _r=An(Vr,po),Zo=Mr.get(_r)||{};return Object.assign({checked:rr.has(_r)},Zo)}).filter(Vr=>{let{disabled:po}=Vr;return po}),ao=!!oo.length&&oo.length===Sn.length,Do=ao&&oo.every(Vr=>{let{checked:po}=Vr;return po}),So=ao&&oo.some(Vr=>{let{checked:po}=Vr;return po});Ro=e.createElement(ar.default,{checked:ao?Do:!!Sn.length&&Hr,indeterminate:ao?!Do&&So:!Hr&&so,onChange:ro,disabled:Sn.length===0||ao,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Po=!gn&&e.createElement("div",{className:`${vn}-selection`},Ro,Xr)}let qn;St==="radio"?qn=(Xr,oo,ao)=>{const Do=An(oo,ao),So=rr.has(Do),Vr=Mr.get(Do);return{node:e.createElement(er.ZP,Object.assign({},Vr,{checked:So,onClick:po=>{var _r;po.stopPropagation(),(_r=Vr==null?void 0:Vr.onClick)===null||_r===void 0||_r.call(Vr,po)},onChange:po=>{var _r;rr.has(Do)||Ar(Do,!0,[Do],po.nativeEvent),(_r=Vr==null?void 0:Vr.onChange)===null||_r===void 0||_r.call(Vr,po)}})),checked:So}}:qn=(Xr,oo,ao)=>{var Do;const So=An(oo,ao),Vr=rr.has(So),po=Fo.has(So),_r=Mr.get(So);let Zo;return xr==="nest"?Zo=po:Zo=(Do=_r==null?void 0:_r.indeterminate)!==null&&Do!==void 0?Do:po,{node:e.createElement(ar.default,Object.assign({},_r,{indeterminate:Zo,checked:Vr,skipGroup:!0,onClick:yo=>{var jo;yo.stopPropagation(),(jo=_r==null?void 0:_r.onClick)===null||jo===void 0||jo.call(_r,yo)},onChange:yo=>{var jo;const{nativeEvent:ya}=yo,{shiftKey:Wa}=ya,vo=jr.findIndex(Ko=>Ko===So),Va=io.some(Ko=>jr.includes(Ko));if(Wa&&pn&&Va){const Ko=Ln(vo,jr,rr),ea=Array.from(rr);Ot==null||Ot(!Vr,ea.map(ko=>jn(ko)),Ko.map(ko=>jn(ko))),Zr(ea,"multiple")}else{const Ko=io;if(pn){const ea=Vr?(0,Rn._5)(Ko,So):(0,Rn.L0)(Ko,So);Ar(So,!Vr,ea,ya)}else{const ea=(0,Bn.S)([].concat((0,yt.Z)(Ko),[So]),!0,Rr,go),{checkedKeys:ko,halfCheckedKeys:Ho}=ea;let Wo=ko;if(Vr){const ta=new Set(ko);ta.delete(So),Wo=(0,Bn.S)(Array.from(ta),{checked:!1,halfCheckedKeys:Ho},Rr,go).checkedKeys}Ar(So,!Vr,Wo,ya)}}On(Vr?null:vo),(jo=_r==null?void 0:_r.onChange)===null||jo===void 0||jo.call(_r,yo)}})),checked:Vr}};const dr=(Xr,oo,ao)=>{const{node:Do,checked:So}=qn(Xr,oo,ao);return _t?_t(So,oo,ao,Do):Do};if(!Yn.includes(Wn))if(Yn.findIndex(Xr=>{var oo;return((oo=Xr[Vt])===null||oo===void 0?void 0:oo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...oo]=Yn;Yn=[Xr,Wn].concat((0,yt.Z)(oo))}else Yn=[Wn].concat((0,yt.Z)(Yn));const Wr=Yn.indexOf(Wn);Yn=Yn.filter((Xr,oo)=>Xr!==Wn||oo===Wr);const uo=Yn[Wr-1],Yr=Yn[Wr+1];let Mo=mn;Mo===void 0&&((Yr==null?void 0:Yr.fixed)!==void 0?Mo=Yr.fixed:(uo==null?void 0:uo.fixed)!==void 0&&(Mo=uo.fixed)),Mo&&uo&&((Er=uo[Vt])===null||Er===void 0?void 0:Er.columnType)==="EXPAND_COLUMN"&&uo.fixed===void 0&&(uo.fixed=Mo);const bo=H()(`${vn}-selection-col`,{[`${vn}-selection-col-with-dropdown`]:Nt&&St==="checkbox"}),la=()=>a!=null&&a.columnTitle?typeof a.columnTitle=="function"?a.columnTitle(Ro):a.columnTitle:Po,co={fixed:Mo,width:xt,className:`${vn}-selection-column`,title:la(),render:dr,onCell:a.onCell,[Vt]:{className:bo}};return Yn.map(Xr=>Xr===Wn?co:Xr)},[An,Sn,a,io,fo,Fo,xt,Co,xr,Mr,Ot,Ar,go]),fo]},lr=t(2738);function fr(l,a){return l._antProxy=l._antProxy||{},Object.keys(a).forEach(F=>{if(!(F in l._antProxy)){const J=l[F];l._antProxy[F]=J,l[F]=a[F]}}),l}function Gn(l,a){return(0,e.useImperativeHandle)(l,()=>{const F=a(),{nativeElement:J}=F;return typeof Proxy!="undefined"?new Proxy(J,{get(Ee,$e){return F[$e]?F[$e]:Reflect.get(Ee,$e)}}):fr(J,F)})}var ur=t(83010),yr=t(48755),gr=t(38406),br=t(83397),Br=t(31756),wr=t(13783),Tr=t(85981),Qr=t(31709),Or=t(29787),zr=t(57700);function qr(l){return a=>{const{prefixCls:F,onExpand:J,record:Ee,expanded:$e,expandable:rt}=a,Xe=`${F}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:gt=>{J(Ee,gt),gt.stopPropagation()},className:H()(Xe,{[`${Xe}-spaced`]:!rt,[`${Xe}-expanded`]:rt&&$e,[`${Xe}-collapsed`]:rt&&!$e}),"aria-label":$e?l.collapse:l.expand,"aria-expanded":$e})}}var Vn=qr;function sr(l){return(F,J)=>{const Ee=F.querySelector(`.${l}-container`);let $e=J;if(Ee){const rt=getComputedStyle(Ee),Xe=parseInt(rt.borderLeftWidth,10),gt=parseInt(rt.borderRightWidth,10);$e=J-Xe-gt}return $e}}const kn=(l,a)=>"key"in l&&l.key!==void 0&&l.key!==null?l.key:l.dataIndex?Array.isArray(l.dataIndex)?l.dataIndex.join("."):l.dataIndex:a;function zn(l,a){return a?`${a}-${l}`:`${l}`}const cr=(l,a)=>typeof l=="function"?l(a):l,pr=(l,a)=>{const F=cr(l,a);return Object.prototype.toString.call(F)==="[object Object]"?"":F};var eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},In=eo,tr=t(7657),Dr=function(a,F){return e.createElement(tr.Z,(0,U.Z)({},a,{ref:F,icon:In}))},kr=e.forwardRef(Dr),Ur=kr,Uo=t(9981),$o=t(40192);function Yo(l){const a=e.useRef(l),F=(0,$o.Z)();return[()=>a.current,J=>{a.current=J,F()}]}var wo=t(7939),da=t(584),Za=t(93041),Na=t(78857),sa=t(18287),wa=t(47472),ma=t(49397),ga=l=>{const{value:a,filterSearch:F,tablePrefixCls:J,locale:Ee,onChange:$e}=l;return F?e.createElement("div",{className:`${J}-filter-dropdown-search`},e.createElement(ma.Z,{prefix:e.createElement(wa.Z,null),placeholder:Ee.filterSearchPlaceholder,onChange:$e,value:a,htmlSize:1,className:`${J}-filter-dropdown-search-input`})):null},Qo=t(10228);const Sa=l=>{const{keyCode:a}=l;a===Qo.Z.ENTER&&l.stopPropagation()};var Oa=e.forwardRef((l,a)=>e.createElement("div",{className:l.className,onClick:F=>F.stopPropagation(),onKeyDown:Sa,ref:a},l.children));function Jo(l){let a=[];return(l||[]).forEach(F=>{let{value:J,children:Ee}=F;a.push(J),Ee&&(a=[].concat((0,yt.Z)(a),(0,yt.Z)(Jo(Ee))))}),a}function Ta(l){return l.some(a=>{let{children:F}=a;return F})}function pa(l,a){return typeof a=="string"||typeof a=="number"?a==null?void 0:a.toString().toLowerCase().includes(l.trim().toLowerCase()):!1}function Fa(l){let{filters:a,prefixCls:F,filteredKeys:J,filterMultiple:Ee,searchValue:$e,filterSearch:rt}=l;return a.map((Xe,gt)=>{const vt=String(Xe.value);if(Xe.children)return{key:vt||gt,label:Xe.text,popupClassName:`${F}-dropdown-submenu`,children:Fa({filters:Xe.children,prefixCls:F,filteredKeys:J,filterMultiple:Ee,searchValue:$e,filterSearch:rt})};const zt=Ee?ar.default:er.ZP,Ot={key:Xe.value!==void 0?vt:gt,label:e.createElement(e.Fragment,null,e.createElement(zt,{checked:J.includes(vt)}),e.createElement("span",null,Xe.text))};return $e.trim()?typeof rt=="function"?rt($e,Xe)?Ot:null:pa($e,Xe.text)?Ot:null:Ot})}function xa(l){return l||[]}var La=l=>{var a,F,J,Ee;const{tablePrefixCls:$e,prefixCls:rt,column:Xe,dropdownPrefixCls:gt,columnKey:vt,filterOnClose:zt,filterMultiple:Ot,filterMode:xt="menu",filterSearch:St=!1,filterState:Nt,triggerFilter:mn,locale:_t,children:gn,getPopupContainer:pn,rootClassName:vn}=l,{filterResetToDefaultFilteredValue:Cn,defaultFilteredValue:wn,filterDropdownProps:jn={},filterDropdownOpen:An,filterDropdownVisible:xr,onFilterDropdownVisibleChange:or,onFilterDropdownOpenChange:ir}=Xe,[mr,Tn]=e.useState(!1),Ln=!!(Nt&&(!((a=Nt.filteredKeys)===null||a===void 0)&&a.length||Nt.forceFiltered)),On=qn=>{var dr;Tn(qn),(dr=jn.onOpenChange)===null||dr===void 0||dr.call(jn,qn),ir==null||ir(qn),or==null||or(qn)},hn=(Ee=(J=(F=jn.open)!==null&&F!==void 0?F:An)!==null&&J!==void 0?J:xr)!==null&&Ee!==void 0?Ee:mr,Zn=Nt==null?void 0:Nt.filteredKeys,[Un,nr]=Yo(xa(Zn)),Sn=qn=>{let{selectedKeys:dr}=qn;nr(dr)},Rr=(qn,dr)=>{let{node:Wr,checked:uo}=dr;Sn(Ot?{selectedKeys:qn}:{selectedKeys:uo&&Wr.key?[Wr.key]:[]})};e.useEffect(()=>{mr&&Sn({selectedKeys:xa(Zn)})},[Zn]);const[Mr,go]=e.useState([]),io=qn=>{go(qn)},[no,fo]=e.useState(""),Fo=qn=>{const{value:dr}=qn.target;fo(dr)};e.useEffect(()=>{mr||fo("")},[mr]);const Zr=qn=>{const dr=qn!=null&&qn.length?qn:null;if(dr===null&&(!Nt||!Nt.filteredKeys)||(0,E.Z)(dr,Nt==null?void 0:Nt.filteredKeys,!0))return null;mn({column:Xe,key:vt,filteredKeys:dr})},Ar=()=>{On(!1),Zr(Un())},Co=function(){let{confirm:qn,closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qn&&Zr([]),dr&&On(!1),fo(""),nr(Cn?(wn||[]).map(Wr=>String(Wr)):[])},xo=function(){let{closeDropdown:qn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qn&&On(!1),Zr(Un())},Qn=(qn,dr)=>{dr.source==="trigger"&&(qn&&Zn!==void 0&&nr(xa(Zn)),On(qn),!qn&&!Xe.filterDropdown&&zt&&Ar())},Er=H()({[`${gt}-menu-without-submenu`]:!Ta(Xe.filters||[])}),Yn=qn=>{if(qn.target.checked){const dr=Jo(Xe==null?void 0:Xe.filters).map(Wr=>String(Wr));nr(dr)}else nr([])},rr=qn=>{let{filters:dr}=qn;return(dr||[]).map((Wr,uo)=>{const Yr=String(Wr.value),Mo={title:Wr.text,key:Wr.value!==void 0?Yr:String(uo)};return Wr.children&&(Mo.children=rr({filters:Wr.children})),Mo})},jr=qn=>{var dr;return Object.assign(Object.assign({},qn),{text:qn.title,value:qn.key,children:((dr=qn.children)===null||dr===void 0?void 0:dr.map(Wr=>jr(Wr)))||[]})};let Hr;const{direction:so,renderEmpty:ro}=e.useContext(yr.E_);if(typeof Xe.filterDropdown=="function")Hr=Xe.filterDropdown({prefixCls:`${gt}-custom`,setSelectedKeys:qn=>Sn({selectedKeys:qn}),selectedKeys:Un(),confirm:xo,clearFilters:Co,filters:Xe.filters,visible:hn,close:()=>{On(!1)}});else if(Xe.filterDropdown)Hr=Xe.filterDropdown;else{const qn=Un()||[],dr=()=>{var uo,Yr;const Mo=(uo=ro==null?void 0:ro("Table.filter"))!==null&&uo!==void 0?uo:e.createElement(da.Z,{image:da.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Xe.filters||[]).length===0)return Mo;if(xt==="tree")return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),e.createElement("div",{className:`${$e}-filter-dropdown-tree`},Ot?e.createElement(ar.default,{checked:qn.length===Jo(Xe.filters).length,indeterminate:qn.length>0&&qn.lengthtypeof St=="function"?St(no,jr(co)):pa(no,co.title):void 0})));const bo=Fa({filters:Xe.filters||[],filterSearch:St,prefixCls:rt,filteredKeys:Un(),filterMultiple:Ot,searchValue:no}),la=bo.every(co=>co===null);return e.createElement(e.Fragment,null,e.createElement(ga,{filterSearch:St,value:no,onChange:Fo,tablePrefixCls:$e,locale:_t}),la?Mo:e.createElement(Za.default,{selectable:!0,multiple:Ot,prefixCls:`${gt}-menu`,className:Er,onSelect:Sn,onDeselect:Sn,selectedKeys:qn,getPopupContainer:pn,openKeys:Mr,onOpenChange:io,items:bo}))},Wr=()=>Cn?(0,E.Z)((wn||[]).map(uo=>String(uo)),qn,!0):qn.length===0;Hr=e.createElement(e.Fragment,null,dr(),e.createElement("div",{className:`${rt}-dropdown-btns`},e.createElement(wo.ZP,{type:"link",size:"small",disabled:Wr(),onClick:()=>Co()},_t.filterReset),e.createElement(wo.ZP,{type:"primary",size:"small",onClick:Ar},_t.filterConfirm)))}Xe.filterDropdown&&(Hr=e.createElement(Na.J,{selectable:void 0},Hr)),Hr=e.createElement(Oa,{className:`${rt}-dropdown`},Hr);const Po=()=>{let qn;return typeof Xe.filterIcon=="function"?qn=Xe.filterIcon(Ln):Xe.filterIcon?qn=Xe.filterIcon:qn=e.createElement(Ur,null),e.createElement("span",{role:"button",tabIndex:-1,className:H()(`${rt}-trigger`,{active:Ln}),onClick:dr=>{dr.stopPropagation()}},qn)},Ro=(0,Uo.Z)({trigger:["click"],placement:so==="rtl"?"bottomLeft":"bottomRight",children:Po(),getPopupContainer:pn},Object.assign(Object.assign({},jn),{rootClassName:H()(vn,jn.rootClassName),open:hn,onOpenChange:Qn,dropdownRender:()=>typeof(jn==null?void 0:jn.dropdownRender)=="function"?jn.dropdownRender(Hr):Hr}));return e.createElement("div",{className:`${rt}-column`},e.createElement("span",{className:`${$e}-column-title`},gn),e.createElement($n.Z,Object.assign({},Ro)))};const fa=(l,a,F)=>{let J=[];return(l||[]).forEach((Ee,$e)=>{var rt;const Xe=zn($e,F);if(Ee.filters||"filterDropdown"in Ee||"onFilter"in Ee)if("filteredValue"in Ee){let gt=Ee.filteredValue;"filterDropdown"in Ee||(gt=(rt=gt==null?void 0:gt.map(String))!==null&&rt!==void 0?rt:gt),J.push({column:Ee,key:kn(Ee,Xe),filteredKeys:gt,forceFiltered:Ee.filtered})}else J.push({column:Ee,key:kn(Ee,Xe),filteredKeys:a&&Ee.defaultFilteredValue?Ee.defaultFilteredValue:void 0,forceFiltered:Ee.filtered});"children"in Ee&&(J=[].concat((0,yt.Z)(J),(0,yt.Z)(fa(Ee.children,a,Xe))))}),J};function qo(l,a,F,J,Ee,$e,rt,Xe,gt){return F.map((vt,zt)=>{const Ot=zn(zt,Xe),{filterOnClose:xt=!0,filterMultiple:St=!0,filterMode:Nt,filterSearch:mn}=vt;let _t=vt;if(_t.filters||_t.filterDropdown){const gn=kn(_t,Ot),pn=J.find(vn=>{let{key:Cn}=vn;return gn===Cn});_t=Object.assign(Object.assign({},_t),{title:vn=>e.createElement(La,{tablePrefixCls:l,prefixCls:`${l}-filter`,dropdownPrefixCls:a,column:_t,columnKey:gn,filterState:pn,filterOnClose:xt,filterMultiple:St,filterMode:Nt,filterSearch:mn,triggerFilter:$e,locale:Ee,getPopupContainer:rt,rootClassName:gt},cr(vt.title,vn))})}return"children"in _t&&(_t=Object.assign(Object.assign({},_t),{children:qo(l,a,_t.children,J,Ee,$e,rt,Ot,gt)})),_t})}const Nr=l=>{const a={};return l.forEach(F=>{let{key:J,filteredKeys:Ee,column:$e}=F;const rt=J,{filters:Xe,filterDropdown:gt}=$e;if(gt)a[rt]=Ee||null;else if(Array.isArray(Ee)){const vt=Jo(Xe);a[rt]=vt.filter(zt=>Ee.includes(String(zt)))}else a[rt]=null}),a},Pr=(l,a,F)=>a.reduce((Ee,$e)=>{const{column:{onFilter:rt,filters:Xe},filteredKeys:gt}=$e;return rt&>&>.length?Ee.map(vt=>Object.assign({},vt)).filter(vt=>gt.some(zt=>{const Ot=Jo(Xe),xt=Ot.findIndex(Nt=>String(Nt)===String(zt)),St=xt!==-1?Ot[xt]:zt;return vt[F]&&(vt[F]=Pr(vt[F],a,F)),rt(St,vt)})):Ee},l),Oo=l=>l.flatMap(a=>"children"in a?[a].concat((0,yt.Z)(Oo(a.children||[]))):[a]);var mo=l=>{const{prefixCls:a,dropdownPrefixCls:F,mergedColumns:J,onFilterChange:Ee,getPopupContainer:$e,locale:rt,rootClassName:Xe}=l,gt=(0,Xn.ln)("Table"),vt=e.useMemo(()=>Oo(J||[]),[J]),[zt,Ot]=e.useState(()=>fa(vt,!0)),xt=e.useMemo(()=>{const _t=fa(vt,!1);if(_t.length===0)return _t;let gn=!0,pn=!0;if(_t.forEach(vn=>{let{filteredKeys:Cn}=vn;Cn!==void 0?gn=!1:pn=!1}),gn){const vn=(vt||[]).map((Cn,wn)=>kn(Cn,zn(wn)));return zt.filter(Cn=>{let{key:wn}=Cn;return vn.includes(wn)}).map(Cn=>{const wn=vt[vn.findIndex(jn=>jn===Cn.key)];return Object.assign(Object.assign({},Cn),{column:Object.assign(Object.assign({},Cn.column),wn),forceFiltered:wn.filtered})})}return _t},[vt,zt]),St=e.useMemo(()=>Nr(xt),[xt]),Nt=_t=>{const gn=xt.filter(pn=>{let{key:vn}=pn;return vn!==_t.key});gn.push(_t),Ot(gn),Ee(Nr(gn),gn)};return[_t=>qo(a,F,_t,xt,rt,Nt,$e,void 0,Xe),xt,St]},Go=(l,a,F)=>{const J=e.useRef({});function Ee($e){var rt;if(!J.current||J.current.data!==l||J.current.childrenColumnName!==a||J.current.getRowKey!==F){let gt=function(vt){vt.forEach((zt,Ot)=>{const xt=F(zt,Ot);Xe.set(xt,zt),zt&&typeof zt=="object"&&a in zt&>(zt[a]||[])})};const Xe=new Map;gt(l),J.current={data:l,childrenColumnName:a,kvMap:Xe,getRowKey:F}}return(rt=J.current.kvMap)===null||rt===void 0?void 0:rt.get($e)}return[Ee]},Xo=function(l,a){var F={};for(var J in l)Object.prototype.hasOwnProperty.call(l,J)&&a.indexOf(J)<0&&(F[J]=l[J]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,J=Object.getOwnPropertySymbols(l);Ee{const $e=l[Ee];typeof $e!="function"&&(F[Ee]=$e)}),F}function aa(l,a,F){const J=F&&typeof F=="object"?F:{},{total:Ee=0}=J,$e=Xo(J,["total"]),[rt,Xe]=(0,e.useState)(()=>({current:"defaultCurrent"in $e?$e.defaultCurrent:1,pageSize:"defaultPageSize"in $e?$e.defaultPageSize:_o})),gt=(0,Uo.Z)(rt,$e,{total:Ee>0?Ee:l}),vt=Math.ceil((Ee||l)/gt.pageSize);gt.current>vt&&(gt.current=vt||1);const zt=(xt,St)=>{Xe({current:xt!=null?xt:1,pageSize:St||gt.pageSize})},Ot=(xt,St)=>{var Nt;F&&((Nt=F.onChange)===null||Nt===void 0||Nt.call(F,xt,St)),zt(xt,St),a(xt,St||(gt==null?void 0:gt.pageSize))};return F===!1?[{},()=>{}]:[Object.assign(Object.assign({},gt),{onChange:Ot}),zt]}var ha=aa,Ca=t(89489),tl=t(59477),ka=t(25399);const lo="ascend",Jr="descend",to=l=>typeof l.sorter=="object"&&typeof l.sorter.multiple=="number"?l.sorter.multiple:!1,Lo=l=>typeof l=="function"?l:l&&typeof l=="object"&&l.compare?l.compare:!1,zo=(l,a)=>a?l[l.indexOf(a)+1]:l[0],ba=(l,a,F)=>{let J=[];const Ee=($e,rt)=>{J.push({column:$e,key:kn($e,rt),multiplePriority:to($e),sortOrder:$e.sortOrder})};return(l||[]).forEach(($e,rt)=>{const Xe=zn(rt,F);$e.children?("sortOrder"in $e&&Ee($e,Xe),J=[].concat((0,yt.Z)(J),(0,yt.Z)(ba($e.children,a,Xe)))):$e.sorter&&("sortOrder"in $e?Ee($e,Xe):a&&$e.defaultSortOrder&&J.push({column:$e,key:kn($e,Xe),multiplePriority:to($e),sortOrder:$e.defaultSortOrder}))}),J},Pa=(l,a,F,J,Ee,$e,rt,Xe)=>(a||[]).map((vt,zt)=>{const Ot=zn(zt,Xe);let xt=vt;if(xt.sorter){const St=xt.sortDirections||Ee,Nt=xt.showSorterTooltip===void 0?rt:xt.showSorterTooltip,mn=kn(xt,Ot),_t=F.find(or=>{let{key:ir}=or;return ir===mn}),gn=_t?_t.sortOrder:null,pn=zo(St,gn);let vn;if(vt.sortIcon)vn=vt.sortIcon({sortOrder:gn});else{const or=St.includes(lo)&&e.createElement(tl.Z,{className:H()(`${l}-column-sorter-up`,{active:gn===lo})}),ir=St.includes(Jr)&&e.createElement(Ca.Z,{className:H()(`${l}-column-sorter-down`,{active:gn===Jr})});vn=e.createElement("span",{className:H()(`${l}-column-sorter`,{[`${l}-column-sorter-full`]:!!(or&&ir)})},e.createElement("span",{className:`${l}-column-sorter-inner`,"aria-hidden":"true"},or,ir))}const{cancelSort:Cn,triggerAsc:wn,triggerDesc:jn}=$e||{};let An=Cn;pn===Jr?An=jn:pn===lo&&(An=wn);const xr=typeof Nt=="object"?Object.assign({title:An},Nt):{title:An};xt=Object.assign(Object.assign({},xt),{className:H()(xt.className,{[`${l}-column-sort`]:gn}),title:or=>{const ir=`${l}-column-sorters`,mr=e.createElement("span",{className:`${l}-column-title`},cr(vt.title,or)),Tn=e.createElement("div",{className:ir},mr,vn);return Nt?typeof Nt!="boolean"&&(Nt==null?void 0:Nt.target)==="sorter-icon"?e.createElement("div",{className:`${ir} ${l}-column-sorters-tooltip-target-sorter`},mr,e.createElement(ka.Z,Object.assign({},xr),vn)):e.createElement(ka.Z,Object.assign({},xr),Tn):Tn},onHeaderCell:or=>{var ir;const mr=((ir=vt.onHeaderCell)===null||ir===void 0?void 0:ir.call(vt,or))||{},Tn=mr.onClick,Ln=mr.onKeyDown;mr.onClick=Zn=>{J({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Tn==null||Tn(Zn)},mr.onKeyDown=Zn=>{Zn.keyCode===Qo.Z.ENTER&&(J({column:vt,key:mn,sortOrder:pn,multiplePriority:to(vt)}),Ln==null||Ln(Zn))};const On=pr(vt.title,{}),hn=On==null?void 0:On.toString();return gn&&(mr["aria-sort"]=gn==="ascend"?"ascending":"descending"),mr["aria-label"]=hn||"",mr.className=H()(mr.className,`${l}-column-has-sorters`),mr.tabIndex=0,vt.ellipsis&&(mr.title=(On!=null?On:"").toString()),mr}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:Pa(l,xt.children,F,J,Ee,$e,rt,Ot)})),xt}),Ya=l=>{const{column:a,sortOrder:F}=l;return{column:a,order:F,field:a.dataIndex,columnKey:a.key}},za=l=>{const a=l.filter(F=>{let{sortOrder:J}=F;return J}).map(Ya);if(a.length===0&&l.length){const F=l.length-1;return Object.assign(Object.assign({},Ya(l[F])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return a.length<=1?a[0]||{}:a},Ra=(l,a,F)=>{const J=a.slice().sort((rt,Xe)=>Xe.multiplePriority-rt.multiplePriority),Ee=l.slice(),$e=J.filter(rt=>{let{column:{sorter:Xe},sortOrder:gt}=rt;return Lo(Xe)&>});return $e.length?Ee.sort((rt,Xe)=>{for(let gt=0;gt<$e.length;gt+=1){const vt=$e[gt],{column:{sorter:zt},sortOrder:Ot}=vt,xt=Lo(zt);if(xt&&Ot){const St=xt(rt,Xe,Ot);if(St!==0)return Ot===lo?St:-St}}return 0}).map(rt=>{const Xe=rt[F];return Xe?Object.assign(Object.assign({},rt),{[F]:Ra(Xe,a,F)}):rt}):Ee};var ja=l=>{const{prefixCls:a,mergedColumns:F,sortDirections:J,tableLocale:Ee,showSorterTooltip:$e,onSorterChange:rt}=l,[Xe,gt]=e.useState(ba(F,!0)),vt=(mn,_t)=>{const gn=[];return mn.forEach((pn,vn)=>{const Cn=zn(vn,_t);if(gn.push(kn(pn,Cn)),Array.isArray(pn.children)){const wn=vt(pn.children,Cn);gn.push.apply(gn,(0,yt.Z)(wn))}}),gn},zt=e.useMemo(()=>{let mn=!0;const _t=ba(F,!1);if(!_t.length){const Cn=vt(F);return Xe.filter(wn=>{let{key:jn}=wn;return Cn.includes(jn)})}const gn=[];function pn(Cn){mn?gn.push(Cn):gn.push(Object.assign(Object.assign({},Cn),{sortOrder:null}))}let vn=null;return _t.forEach(Cn=>{vn===null?(pn(Cn),Cn.sortOrder&&(Cn.multiplePriority===!1?mn=!1:vn=!0)):(vn&&Cn.multiplePriority!==!1||(mn=!1),pn(Cn))}),gn},[F,Xe]),Ot=e.useMemo(()=>{var mn,_t;const gn=zt.map(pn=>{let{column:vn,sortOrder:Cn}=pn;return{column:vn,order:Cn}});return{sortColumns:gn,sortColumn:(mn=gn[0])===null||mn===void 0?void 0:mn.column,sortOrder:(_t=gn[0])===null||_t===void 0?void 0:_t.order}},[zt]),xt=mn=>{let _t;mn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?_t=[mn]:_t=[].concat((0,yt.Z)(zt.filter(gn=>{let{key:pn}=gn;return pn!==mn.key})),[mn]),gt(_t),rt(za(_t),_t)};return[mn=>Pa(a,mn,zt,xt,J,Ee,$e),zt,Ot,()=>za(zt)]};const Qa=(l,a)=>l.map(J=>{const Ee=Object.assign({},J);return Ee.title=cr(J.title,a),"children"in Ee&&(Ee.children=Qa(Ee.children,a)),Ee});var Fl=l=>[e.useCallback(F=>Qa(F,l),[l])],Pl=ht((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:J}=a;return F!==J}),Rl=mt((l,a)=>{const{_renderTimes:F}=l,{_renderTimes:J}=a;return F!==J}),hr=t(36237),Ka=t(17835),Ha=t(63356),$l=t(16931),Bl=t(51636),Ml=l=>{const{componentCls:a,lineWidth:F,lineType:J,tableBorderColor:Ee,tableHeaderBg:$e,tablePaddingVertical:rt,tablePaddingHorizontal:Xe,calc:gt}=l,vt=`${(0,hr.unit)(F)} ${J} ${Ee}`,zt=(Ot,xt,St)=>({[`&${a}-${Ot}`]:{[`> ${a}-container`]:{[`> ${a}-content, > ${a}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${a}-expanded-row-fixed`]:{margin:`${(0,hr.unit)(gt(xt).mul(-1).equal())} ${(0,hr.unit)(gt(gt(St).add(F)).mul(-1).equal())}`}}}}}});return{[`${a}-wrapper`]:{[`${a}${a}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${a}-title`]:{border:vt,borderBottom:0},[`> ${a}-container`]:{borderInlineStart:vt,borderTop:vt,[` > ${a}-content, > ${a}-header, @@ -170,7 +170,7 @@ > ${a}-wrapper:only-child, > ${a}-expanded-row-fixed > ${a}-wrapper:only-child `]:{[a]:{marginBlock:(0,hr.unit)(pn(J).mul(-1).equal()),marginInline:`${(0,hr.unit)(pn($e).sub(Ee).equal())} - ${(0,hr.unit)(pn(Ee).mul(-1).equal())}`,[`${a}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:xt,fontWeight:F,textAlign:"start",background:Nt,borderBottom:vn,transition:`background ${St} ease`}}},[`${a}-footer`]:{padding:`${(0,hr.unit)(J)} ${(0,hr.unit)(Ee)}`,color:_t,background:gn}})}},kl=l=>{const{colorFillAlter:a,colorBgContainer:F,colorTextHeading:J,colorFillSecondary:Ee,colorFillContent:$e,controlItemBgActive:rt,controlItemBgActiveHover:Xe,padding:gt,paddingSM:vt,paddingXS:zt,colorBorderSecondary:Ot,borderRadiusLG:xt,controlHeight:St,colorTextPlaceholder:Nt,fontSize:mn,fontSizeSM:_t,lineHeight:gn,lineWidth:pn,colorIcon:vn,colorIconHover:Cn,opacityLoading:wn,controlInteractiveSize:jn}=l,An=new Ka.FastColor(Ee).onBackground(F).toHexString(),xr=new Ka.FastColor($e).onBackground(F).toHexString(),or=new Ka.FastColor(a).onBackground(F).toHexString(),ir=new Ka.FastColor(vn),mr=new Ka.FastColor(Cn),Tn=jn/2-pn,Ln=Tn*2+pn*3;return{headerBg:or,headerColor:J,headerSortActiveBg:An,headerSortHoverBg:xr,bodySortBg:or,rowHoverBg:or,rowSelectedBg:rt,rowSelectedHoverBg:Xe,rowExpandedBg:a,cellPaddingBlock:gt,cellPaddingInline:gt,cellPaddingBlockMD:vt,cellPaddingInlineMD:zt,cellPaddingBlockSM:zt,cellPaddingInlineSM:zt,borderColor:Ot,headerBorderRadius:xt,footerBg:or,footerColor:J,cellFontSize:mn,cellFontSizeMD:mn,cellFontSizeSM:mn,headerSplitColor:Ot,fixedHeaderSortActiveBg:An,headerFilterHoverBg:$e,filterDropdownMenuBg:F,filterDropdownBg:F,expandIconBg:F,selectionColumnWidth:St,stickyScrollBarBg:Nt,stickyScrollBarBorderRadius:100,expandIconMarginTop:(mn*gn-pn*3)/2-Math.ceil((_t*1.4-pn*3)/2),headerIconColor:ir.clone().setA(ir.a*wn).toRgbString(),headerIconHoverColor:mr.clone().setA(mr.a*wn).toRgbString(),expandIconHalfInner:Tn,expandIconSize:Ln,expandIconScale:jn/Ln}},fl=2;var Yl=(0,$l.I$)("Table",l=>{const{colorTextHeading:a,colorSplit:F,colorBgContainer:J,controlInteractiveSize:Ee,headerBg:$e,headerColor:rt,headerSortActiveBg:Xe,headerSortHoverBg:gt,bodySortBg:vt,rowHoverBg:zt,rowSelectedBg:Ot,rowSelectedHoverBg:xt,rowExpandedBg:St,cellPaddingBlock:Nt,cellPaddingInline:mn,cellPaddingBlockMD:_t,cellPaddingInlineMD:gn,cellPaddingBlockSM:pn,cellPaddingInlineSM:vn,borderColor:Cn,footerBg:wn,footerColor:jn,headerBorderRadius:An,cellFontSize:xr,cellFontSizeMD:or,cellFontSizeSM:ir,headerSplitColor:mr,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:Ln,filterDropdownBg:On,expandIconBg:hn,selectionColumnWidth:Zn,stickyScrollBarBg:Un,calc:nr}=l,Sn=(0,Bl.mergeToken)(l,{tableFontSize:xr,tableBg:J,tableRadius:An,tablePaddingVertical:Nt,tablePaddingHorizontal:mn,tablePaddingVerticalMiddle:_t,tablePaddingHorizontalMiddle:gn,tablePaddingVerticalSmall:pn,tablePaddingHorizontalSmall:vn,tableBorderColor:Cn,tableHeaderTextColor:rt,tableHeaderBg:$e,tableFooterTextColor:jn,tableFooterBg:wn,tableHeaderCellSplitColor:mr,tableHeaderSortBg:Xe,tableHeaderSortHoverBg:gt,tableBodySortBg:vt,tableFixedHeaderSortActiveBg:Tn,tableHeaderFilterActiveBg:Ln,tableFilterDropdownBg:On,tableRowHoverBg:zt,tableSelectedRowBg:Ot,tableSelectedRowHoverBg:xt,zIndexTableFixed:fl,zIndexTableSticky:nr(fl).add(1).equal({unit:!1}),tableFontSizeMiddle:or,tableFontSizeSmall:ir,tableSelectionColumnWidth:Zn,tableExpandIconBg:hn,tableExpandColumnWidth:nr(Ee).add(nr(l.padding).mul(2)).equal(),tableExpandedRowBg:St,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Un,tableScrollThumbBgHover:a,tableScrollBg:F});return[Gl(Sn),zl(Sn),dl(Sn),Vl(Sn),Tl(Sn),Ml(Sn),jl(Sn),Al(Sn),dl(Sn),Nl(Sn),Hl(Sn),Ll(Sn),Ul(Sn),Zl(Sn),Wl(Sn),Kl(Sn),Xl(Sn)]},kl,{unitless:{expandIconScale:!0}});const Ql=[],Jl=(l,a)=>{var F,J;const{prefixCls:Ee,className:$e,rootClassName:rt,style:Xe,size:gt,bordered:vt,dropdownPrefixCls:zt,dataSource:Ot,pagination:xt,rowSelection:St,rowKey:Nt="key",rowClassName:mn,columns:_t,children:gn,childrenColumnName:pn,onChange:vn,getPopupContainer:Cn,loading:wn,expandIcon:jn,expandable:An,expandedRowRender:xr,expandIconColumnIndex:or,indentSize:ir,scroll:mr,sortDirections:Tn,locale:Ln,showSorterTooltip:On={target:"full-header"},virtual:hn}=l,Zn=(0,Xn.ln)("Table"),Un=e.useMemo(()=>_t||bn(gn),[_t,gn]),nr=e.useMemo(()=>Un.some(Ir=>Ir.responsive),[Un]),Sn=(0,wr.Z)(nr),Rr=e.useMemo(()=>{const Ir=new Set(Object.keys(Sn).filter(Gr=>Sn[Gr]));return Un.filter(Gr=>!Gr.responsive||Gr.responsive.some(Eo=>Ir.has(Eo)))},[Un,Sn]),Mr=(0,lr.Z)(l,["className","style","columns"]),{locale:go=Tr.Z,direction:io,table:no,renderEmpty:fo,getPrefixCls:Fo,getPopupContainer:Zr}=e.useContext(yr.E_),Ar=(0,Br.Z)(gt),Co=Object.assign(Object.assign({},go.Table),Ln),xo=Ot||Ql,Qn=Fo("table",Ee),Er=Fo("dropdown",zt),[,Yn]=(0,zr.ZP)(),rr=(0,br.Z)(Qn),[jr,Hr,so]=Yl(Qn,rr),ro=Object.assign(Object.assign({childrenColumnName:pn,expandIconColumnIndex:or},An),{expandIcon:(F=An==null?void 0:An.expandIcon)!==null&&F!==void 0?F:(J=no==null?void 0:no.expandable)===null||J===void 0?void 0:J.expandIcon}),{childrenColumnName:Po="children"}=ro,Ro=e.useMemo(()=>xo.some(Ir=>Ir==null?void 0:Ir[Po])?"nest":xr||An!=null&&An.expandedRowRender?"row":null,[xo]),qn={body:e.useRef(null)},dr=sr(Qn),Wr=e.useRef(null),uo=e.useRef(null);Gn(a,()=>Object.assign(Object.assign({},uo.current),{nativeElement:Wr.current}));const Yr=e.useMemo(()=>typeof Nt=="function"?Nt:Ir=>Ir==null?void 0:Ir[Nt],[Nt]),[Mo]=Go(xo,Po,Yr),bo={},la=function(Ir,Gr){let Eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Io,Vo,na,ia;const No=Object.assign(Object.assign({},bo),Ir);Eo&&((Io=bo.resetPagination)===null||Io===void 0||Io.call(bo),!((Vo=No.pagination)===null||Vo===void 0)&&Vo.current&&(No.pagination.current=1),xt&&((na=xt.onChange)===null||na===void 0||na.call(xt,1,(ia=No.pagination)===null||ia===void 0?void 0:ia.pageSize))),mr&&mr.scrollToFirstRowOnChange!==!1&&qn.body.current&&(0,ur.Z)(0,{getContainer:()=>qn.body.current}),vn==null||vn(No.pagination,No.filters,No.sorter,{currentDataSource:Pr(Ra(xo,No.sorterStates,Po),No.filterStates,Po),action:Gr})},co=(Ir,Gr)=>{la({sorter:Ir,sorterStates:Gr},"sort",!1)},[Xr,oo,ao,Do]=ja({prefixCls:Qn,mergedColumns:Rr,onSorterChange:co,sortDirections:Tn||["ascend","descend"],tableLocale:Co,showSorterTooltip:On}),So=e.useMemo(()=>Ra(xo,oo,Po),[xo,oo]);bo.sorter=Do(),bo.sorterStates=oo;const Vr=(Ir,Gr)=>{la({filters:Ir,filterStates:Gr},"filter",!0)},[po,_r,Zo]=mo({prefixCls:Qn,locale:Co,dropdownPrefixCls:Er,mergedColumns:Rr,onFilterChange:Vr,getPopupContainer:Cn||Zr,rootClassName:H()(rt,rr)}),yo=Pr(So,_r,Po);bo.filters=Zo,bo.filterStates=_r;const jo=e.useMemo(()=>{const Ir={};return Object.keys(Zo).forEach(Gr=>{Zo[Gr]!==null&&(Ir[Gr]=Zo[Gr])}),Object.assign(Object.assign({},ao),{filters:Ir})},[ao,Zo]),[ya]=Fl(jo),Wa=(Ir,Gr)=>{la({pagination:Object.assign(Object.assign({},bo.pagination),{current:Ir,pageSize:Gr})},"paginate")},[vo,Va]=ha(yo.length,Wa,xt);bo.pagination=xt===!1?{}:oa(vo,xt),bo.resetPagination=Va;const Ko=e.useMemo(()=>{if(xt===!1||!vo.pageSize)return yo;const{current:Ir=1,total:Gr,pageSize:Eo=_o}=vo;return yo.lengthEo?yo.slice((Ir-1)*Eo,Ir*Eo):yo:yo.slice((Ir-1)*Eo,Ir*Eo)},[!!xt,yo,vo==null?void 0:vo.current,vo==null?void 0:vo.pageSize,vo==null?void 0:vo.total]),[ea,ko]=Hn({prefixCls:Qn,data:yo,pageData:Ko,getRowKey:Yr,getRecordByKey:Mo,expandType:Ro,childrenColumnName:Po,locale:Co,getPopupContainer:Cn||Zr},St),Ho=(Ir,Gr,Eo)=>{let Io;return typeof mn=="function"?Io=H()(mn(Ir,Gr,Eo)):Io=H()(mn),H()({[`${Qn}-row-selected`]:ko.has(Yr(Ir,Gr))},Io)};ro.__PARENT_RENDER_ICON__=ro.expandIcon,ro.expandIcon=ro.expandIcon||jn||Vn(Co),Ro==="nest"&&ro.expandIconColumnIndex===void 0?ro.expandIconColumnIndex=St?1:0:ro.expandIconColumnIndex>0&&St&&(ro.expandIconColumnIndex-=1),typeof ro.indentSize!="number"&&(ro.indentSize=typeof ir=="number"?ir:15);const Wo=e.useCallback(Ir=>ya(ea(po(Xr(Ir)))),[Xr,po,ea]);let ta,Ea;if(xt!==!1&&(vo!=null&&vo.total)){let Ir;vo.size?Ir=vo.size:Ir=Ar==="small"||Ar==="middle"?"small":void 0;const Gr=Vo=>e.createElement(Qr.Z,Object.assign({},vo,{className:H()(`${Qn}-pagination ${Qn}-pagination-${Vo}`,vo.className),size:Ir})),Eo=io==="rtl"?"left":"right",{position:Io}=vo;if(Io!==null&&Array.isArray(Io)){const Vo=Io.find(No=>No.includes("top")),na=Io.find(No=>No.includes("bottom")),ia=Io.every(No=>`${No}`=="none");!Vo&&!na&&!ia&&(Ea=Gr(Eo)),Vo&&(ta=Gr(Vo.toLowerCase().replace("top",""))),na&&(Ea=Gr(na.toLowerCase().replace("bottom","")))}else Ea=Gr(Eo)}let ua;typeof wn=="boolean"?ua={spinning:wn}:typeof wn=="object"&&(ua=Object.assign({spinning:!0},wn));const ca=H()(so,rr,`${Qn}-wrapper`,no==null?void 0:no.className,{[`${Qn}-wrapper-rtl`]:io==="rtl"},$e,rt,Hr),nl=Object.assign(Object.assign({},no==null?void 0:no.style),Xe),rl=typeof(Ln==null?void 0:Ln.emptyText)!="undefined"?Ln.emptyText:(fo==null?void 0:fo("Table"))||e.createElement(gr.Z,{componentName:"Table"}),ol=hn?Rl:Pl,Ja={},al=e.useMemo(()=>{const{fontSize:Ir,lineHeight:Gr,lineWidth:Eo,padding:Io,paddingXS:Vo,paddingSM:na}=Yn,ia=Math.floor(Ir*Gr);switch(Ar){case"middle":return na*2+ia+Eo;case"small":return Vo*2+ia+Eo;default:return Io*2+ia+Eo}},[Yn,Ar]);return hn&&(Ja.listItemHeight=al),jr(e.createElement("div",{ref:Wr,className:ca,style:nl},e.createElement(Or.Z,Object.assign({spinning:!1},ua),ta,e.createElement(ol,Object.assign({},Ja,Mr,{ref:uo,columns:Rr,direction:io,expandable:ro,prefixCls:Qn,className:H()({[`${Qn}-middle`]:Ar==="middle",[`${Qn}-small`]:Ar==="small",[`${Qn}-bordered`]:vt,[`${Qn}-empty`]:xo.length===0},so,rr,Hr),data:Ko,rowKey:Yr,rowClassName:Ho,emptyText:rl,internalHooks:i,internalRefs:qn,transformColumns:Wo,getContainerWidth:dr})),Ea)))};var ql=e.forwardRef(Jl);const _l=(l,a)=>{const F=e.useRef(0);return F.current+=1,e.createElement(ql,Object.assign({},l,{ref:a,_renderTimes:F.current}))},va=e.forwardRef(_l);va.SELECTION_COLUMN=Wn,va.EXPAND_COLUMN=d,va.SELECTION_ALL=Sr,va.SELECTION_INVERT=Fr,va.SELECTION_NONE=$r,va.Column=un,va.ColumnGroup=en,va.Summary=$;var ei=va,ti=ei},93427:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(34998);function d(i,L){return e.i.reduce((x,D)=>{const E=i[`${D}1`],Z=i[`${D}3`],K=i[`${D}6`],r=i[`${D}7`];return Object.assign(Object.assign({},x),L(D,{lightColor:E,lightBorderColor:Z,darkColor:K,textColor:r}))},{})}},25399:function(an,Je,t){t.d(Je,{Z:function(){return ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(29125),x=t(18929),D=t(62487),E=t(75030),Z=t(86641),K=t(52838),r=t(22703),V=t(32383),M=t(55743),P=t(57700),me=t(48755),lt=t(36237),Fe=t(63356),Pe=t(34925),Ve=t(37645),C=t(36305),he=t(93427),s=t(51636),h=t(16931);const oe=T=>{const{calc:ze,componentCls:xe,tooltipMaxWidth:We,tooltipColor:st,tooltipBg:at,tooltipBorderRadius:Ae,zIndexPopup:tt,controlHeight:q,boxShadowSecondary:Se,paddingSM:ge,paddingXS:Qe,arrowOffsetHorizontal:ie,sizePopupArrow:qe}=T,Ke=ze(Ae).add(qe).add(ie).equal(),bt=ze(Ae).mul(2).add(qe).equal();return[{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(T)),{position:"absolute",zIndex:tt,display:"block",width:"max-content",maxWidth:We,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":at,[`${xe}-inner`]:{minWidth:bt,minHeight:q,padding:`${(0,lt.unit)(T.calc(ge).div(2).equal())} ${(0,lt.unit)(Qe)}`,color:st,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:at,borderRadius:Ae,boxShadow:Se,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Ke},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${xe}-inner`]:{borderRadius:T.min(Ae,Ve.qN)}},[`${xe}-content`]:{position:"relative"}}),(0,he.Z)(T,(Te,k)=>{let{darkColor:R}=k;return{[`&${xe}-${Te}`]:{[`${xe}-inner`]:{backgroundColor:R},[`${xe}-arrow`]:{"--antd-arrow-background-color":R}}}})),{"&-rtl":{direction:"rtl"}})},(0,Ve.ZP)(T,"var(--antd-arrow-background-color)"),{[`${xe}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow}}]},le=T=>Object.assign(Object.assign({zIndexPopup:T.zIndexPopupBase+70},(0,Ve.wZ)({contentRadius:T.borderRadius,limitVerticalRadius:!0})),(0,C.w)((0,s.mergeToken)(T,{borderRadiusOuter:Math.min(T.borderRadiusOuter,4)})));var v=function(T){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,h.I$)("Tooltip",We=>{const{borderRadius:st,colorTextLightSolid:at,colorBgSpotlight:Ae}=We,tt=(0,s.mergeToken)(We,{tooltipMaxWidth:250,tooltipColor:at,tooltipBorderRadius:st,tooltipBg:Ae});return[oe(tt),(0,Pe._y)(We,"zoom-big-fast")]},le,{resetStyle:!1,injectStyle:ze})(T)},je=t(29509);function Oe(T,ze){const xe=(0,je.o2)(ze),We=i()({[`${T}-${ze}`]:ze&&xe}),st={},at={};return ze&&!xe&&(st.background=ze,at["--antd-arrow-background-color"]=ze),{className:We,overlayStyle:st,arrowStyle:at}}var Re=T=>{const{prefixCls:ze,className:xe,placement:We="top",title:st,color:at,overlayInnerStyle:Ae}=T,{getPrefixCls:tt}=e.useContext(me.E_),q=tt("tooltip",ze),[Se,ge,Qe]=v(q),ie=Oe(q,at),qe=ie.arrowStyle,Ke=Object.assign(Object.assign({},Ae),ie.overlayStyle),bt=i()(ge,Qe,q,`${q}-pure`,`${q}-placement-${We}`,xe,ie.className);return Se(e.createElement("div",{className:bt,style:qe},e.createElement("div",{className:`${q}-arrow`}),e.createElement(L.G,Object.assign({},T,{className:ge,prefixCls:q,overlayInnerStyle:Ke}),st)))},de=function(T,ze){var xe={};for(var We in T)Object.prototype.hasOwnProperty.call(T,We)&&ze.indexOf(We)<0&&(xe[We]=T[We]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,We=Object.getOwnPropertySymbols(T);st{var xe,We;const{prefixCls:st,openClassName:at,getTooltipContainer:Ae,color:tt,overlayInnerStyle:q,children:Se,afterOpenChange:ge,afterVisibleChange:Qe,destroyTooltipOnHide:ie,arrow:qe=!0,title:Ke,overlay:bt,builtinPlacements:Te,arrowPointAtCenter:k=!1,autoAdjustOverflow:R=!0,motion:U,getPopupContainer:p,placement:fe="top",mouseEnterDelay:z=.1,mouseLeaveDelay:o=.1,overlayStyle:f,rootClassName:se,overlayClassName:_,styles:$,classNames:N}=T,X=de(T,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ue=!!qe,[,c]=(0,P.ZP)(),{getPopupContainer:y,getPrefixCls:Ge,direction:G,className:Le,style:He,classNames:nt,styles:it}=(0,me.dj)("tooltip"),et=(0,V.ln)("Tooltip"),w=e.useRef(null),pe=()=>{var tn;(tn=w.current)===null||tn===void 0||tn.forceAlign()};e.useImperativeHandle(ze,()=>{var tn,Nn;return{forceAlign:pe,forcePopupAlign:()=>{et.deprecated(!1,"forcePopupAlign","forceAlign"),pe()},nativeElement:(tn=w.current)===null||tn===void 0?void 0:tn.nativeElement,popupElement:(Nn=w.current)===null||Nn===void 0?void 0:Nn.popupElement}});const[Ze,Ue]=(0,x.Z)(!1,{value:(xe=T.open)!==null&&xe!==void 0?xe:T.visible,defaultValue:(We=T.defaultOpen)!==null&&We!==void 0?We:T.defaultVisible}),ot=!Ke&&!bt&&Ke!==0,Tt=tn=>{var Nn,Pn;Ue(ot?!1:tn),ot||((Nn=T.onOpenChange)===null||Nn===void 0||Nn.call(T,tn),(Pn=T.onVisibleChange)===null||Pn===void 0||Pn.call(T,tn))},ct=e.useMemo(()=>{var tn,Nn;let Pn=k;return typeof qe=="object"&&(Pn=(Nn=(tn=qe.pointAtCenter)!==null&&tn!==void 0?tn:qe.arrowPointAtCenter)!==null&&Nn!==void 0?Nn:k),Te||(0,K.Z)({arrowPointAtCenter:Pn,autoAdjustOverflow:R,arrowWidth:ue?c.sizePopupArrow:0,borderRadius:c.borderRadius,offset:c.marginXXS,visibleFirst:!0})},[k,qe,Te,c]),dt=e.useMemo(()=>Ke===0?Ke:bt||Ke||"",[bt,Ke]),Rt=e.createElement(D.Z,{space:!0},typeof dt=="function"?dt():dt),Vt=Ge("tooltip",st),Ht=Ge(),Xt=T["data-popover-inject"];let wt=Ze;!("open"in T)&&!("visible"in T)&&ot&&(wt=!1);const Ut=e.isValidElement(Se)&&!(0,r.M2)(Se)?Se:e.createElement("span",null,Se),yt=Ut.props,Bt=!yt.className||typeof yt.className=="string"?i()(yt.className,at||`${Vt}-open`):yt.className,[Pt,kt,Wt]=v(Vt,!Xt),pt=Oe(Vt,tt),Lt=pt.arrowStyle,ln=i()(_,{[`${Vt}-rtl`]:G==="rtl"},pt.className,se,kt,Wt,Le,nt.root,N==null?void 0:N.root),rn=i()(nt.body,N==null?void 0:N.body),[xn,Dn]=(0,E.Cn)("Tooltip",X.zIndex),Mn=e.createElement(L.Z,Object.assign({},X,{zIndex:xn,showArrow:ue,placement:fe,mouseEnterDelay:z,mouseLeaveDelay:o,prefixCls:Vt,classNames:{root:ln,body:rn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt),it.root),He),f),$==null?void 0:$.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},it.body),q),$==null?void 0:$.body),pt.overlayStyle)},getTooltipContainer:p||Ae||y,ref:w,builtinPlacements:ct,overlay:Rt,visible:wt,onVisibleChange:Tt,afterVisibleChange:ge!=null?ge:Qe,arrowContent:e.createElement("span",{className:`${Vt}-arrow-content`}),motion:{motionName:(0,Z.m)(Ht,"zoom-big-fast",T.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ie}),wt?(0,r.Tm)(Ut,{className:Bt}):Ut);return Pt(e.createElement(M.Z.Provider,{value:Dn},Mn))});n._InternalPanelDoNotUseOrYouWillBeFired=Re;var ce=n},18287:function(an,Je,t){t.d(Je,{default:function(){return tt}});var e=t(3741),d=t(94480),i=t(59301),L=t(52671),x=t(8657),D=t(54476),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Z=E,K=t(7657),r=function(Se,ge){return i.createElement(K.Z,(0,D.Z)({},Se,{ref:ge,icon:Z}))},V=i.forwardRef(r),M=V,P=t(92310),me=t.n(P),lt=t(82661),Fe=t(34061),Pe=t(48755),Ve=t(56082),C=t(86641),he=t(57700),s=t(12425);const h=4;function oe(q){const{dropPosition:Se,dropLevelOffset:ge,prefixCls:Qe,indent:ie,direction:qe="ltr"}=q,Ke=qe==="ltr"?"left":"right",bt=qe==="ltr"?"right":"left",Te={[Ke]:-ge*ie+h,[bt]:0};switch(Se){case-1:Te.top=-3;break;case 1:Te.bottom=-3;break;default:Te.bottom=-3,Te[Ke]=ie+h;break}return i.createElement("div",{style:Te,className:`${Qe}-drop-indicator`})}var le=oe,v=t(85278),Oe=i.forwardRef((q,Se)=>{var ge;const{getPrefixCls:Qe,direction:ie,virtual:qe,tree:Ke}=i.useContext(Pe.E_),{prefixCls:bt,className:Te,showIcon:k=!1,showLine:R,switcherIcon:U,switcherLoadingIcon:p,blockNode:fe=!1,children:z,checkable:o=!1,selectable:f=!0,draggable:se,motion:_,style:$}=q,N=Qe("tree",bt),X=Qe(),ue=_!=null?_:Object.assign(Object.assign({},(0,C.Z)(X)),{motionAppear:!1}),c=Object.assign(Object.assign({},q),{checkable:o,selectable:f,showIcon:k,motion:ue,blockNode:fe,showLine:!!R,dropIndicatorRender:le}),[y,Ge,G]=(0,s.ZP)(N),[,Le]=(0,he.ZP)(),He=Le.paddingXS/2+(((ge=Le.Tree)===null||ge===void 0?void 0:ge.titleHeight)||Le.controlHeightSM),nt=i.useMemo(()=>{if(!se)return!1;let et={};switch(typeof se){case"function":et.nodeDraggable=se;break;case"object":et=Object.assign({},se);break;default:break}return et.icon!==!1&&(et.icon=et.icon||i.createElement(Ve.Z,null)),et},[se]),it=et=>i.createElement(v.Z,{prefixCls:N,switcherIcon:U,switcherLoadingIcon:p,treeNodeProps:et,showLine:R});return y(i.createElement(e.ZP,Object.assign({itemHeight:He,ref:Se,virtual:qe},c,{style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),$),prefixCls:N,className:me()({[`${N}-icon-hide`]:!k,[`${N}-block-node`]:fe,[`${N}-unselectable`]:!f,[`${N}-rtl`]:ie==="rtl"},Ke==null?void 0:Ke.className,Te,Ge,G),direction:ie,checkable:o&&i.createElement("span",{className:`${N}-checkbox-inner`}),selectable:f,switcherIcon:it,draggable:nt}),z))});const ne=0,Re=1,de=2;function H(q,Se,ge){const{key:Qe,children:ie}=ge;function qe(Ke){const bt=Ke[Qe],Te=Ke[ie];Se(bt,Ke)!==!1&&H(Te||[],Se,ge)}q.forEach(qe)}function n(q){let{treeData:Se,expandedKeys:ge,startKey:Qe,endKey:ie,fieldNames:qe}=q;const Ke=[];let bt=ne;if(Qe&&Qe===ie)return[Qe];if(!Qe||!ie)return[];function Te(k){return k===Qe||k===ie}return H(Se,k=>{if(bt===de)return!1;if(Te(k)){if(Ke.push(k),bt===ne)bt=Re;else if(bt===Re)return bt=de,!1}else bt===Re&&Ke.push(k);return ge.includes(k)},(0,Fe.w$)(qe)),Ke}function ce(q,Se,ge){const Qe=(0,d.Z)(Se),ie=[];return H(q,(qe,Ke)=>{const bt=Qe.indexOf(qe);return bt!==-1&&(ie.push(Ke),Qe.splice(bt,1)),!!Qe.length},(0,Fe.w$)(ge)),ie}var T=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{var{defaultExpandAll:ge,defaultExpandParent:Qe,defaultExpandedKeys:ie}=q,qe=T(q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ke=i.useRef(null),bt=i.useRef(null),Te=()=>{const{keyEntities:y}=(0,Fe.I8)(xe(qe));let Ge;return ge?Ge=Object.keys(y):Qe?Ge=(0,lt.r7)(qe.expandedKeys||ie||[],y):Ge=qe.expandedKeys||ie||[],Ge},[k,R]=i.useState(qe.selectedKeys||qe.defaultSelectedKeys||[]),[U,p]=i.useState(()=>Te());i.useEffect(()=>{"selectedKeys"in qe&&R(qe.selectedKeys)},[qe.selectedKeys]),i.useEffect(()=>{"expandedKeys"in qe&&p(qe.expandedKeys)},[qe.expandedKeys]);const fe=(y,Ge)=>{var G;return"expandedKeys"in qe||p(y),(G=qe.onExpand)===null||G===void 0?void 0:G.call(qe,y,Ge)},z=(y,Ge)=>{var G;const{multiple:Le,fieldNames:He}=qe,{node:nt,nativeEvent:it}=Ge,{key:et=""}=nt,w=xe(qe),pe=Object.assign(Object.assign({},Ge),{selected:!0}),Ze=(it==null?void 0:it.ctrlKey)||(it==null?void 0:it.metaKey),Ue=it==null?void 0:it.shiftKey;let ot;Le&&Ze?(ot=y,Ke.current=et,bt.current=ot,pe.selectedNodes=ce(w,ot,He)):Le&&Ue?(ot=Array.from(new Set([].concat((0,d.Z)(bt.current||[]),(0,d.Z)(n({treeData:w,expandedKeys:U,startKey:et,endKey:Ke.current,fieldNames:He}))))),pe.selectedNodes=ce(w,ot,He)):(ot=[et],Ke.current=et,bt.current=ot,pe.selectedNodes=ce(w,ot,He)),(G=qe.onSelect)===null||G===void 0||G.call(qe,ot,pe),"selectedKeys"in qe||R(ot)},{getPrefixCls:o,direction:f}=i.useContext(Pe.E_),{prefixCls:se,className:_,showIcon:$=!0,expandAction:N="click"}=qe,X=T(qe,["prefixCls","className","showIcon","expandAction"]),ue=o("tree",se),c=me()(`${ue}-directory`,{[`${ue}-directory-rtl`]:f==="rtl"},_);return i.createElement(Oe,Object.assign({icon:ze,ref:Se,blockNode:!0},X,{showIcon:$,expandAction:N,prefixCls:ue,className:c,expandedKeys:U,selectedKeys:k,onSelect:z,onExpand:fe}))};var at=i.forwardRef(We);const Ae=Oe;Ae.DirectoryTree=at,Ae.TreeNode=e.OF;var tt=Ae},12425:function(an,Je,t){t.d(Je,{ZP:function(){return lt},Yk:function(){return M},TM:function(){return P}});var e=t(36237),d=t(36170),i=t(63356),L=t(34961),x=t(51636),D=t(16931);const E=Fe=>{let{treeCls:Pe,treeNodeCls:Ve,directoryNodeSelectedBg:C,directoryNodeSelectedColor:he,motionDurationMid:s,borderRadius:h,controlItemBgHover:oe}=Fe;return{[`${Pe}${Pe}-directory ${Ve}`]:{[`${Pe}-node-content-wrapper`]:{position:"static",[`> *:not(${Pe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${s}`,content:'""',borderRadius:h},"&:hover:before":{background:oe}},[`${Pe}-switcher, ${Pe}-checkbox, ${Pe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Pe}-switcher, ${Pe}-draggable-icon`]:{color:he},[`${Pe}-node-content-wrapper`]:{color:he,background:"transparent","&:before, &:hover:before":{background:C}}}}}},Z=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),K=(Fe,Pe)=>({[`.${Fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Pe.motionDurationSlow}`}}}),r=(Fe,Pe)=>({[`.${Fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Pe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(Pe.lineWidthBold)} solid ${Pe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),V=(Fe,Pe)=>{const{treeCls:Ve,treeNodeCls:C,treeNodePadding:he,titleHeight:s,indentSize:h,nodeSelectedBg:oe,nodeHoverBg:le,colorTextQuaternary:v,controlItemBgActiveDisabled:je}=Pe;return{[Ve]:Object.assign(Object.assign({},(0,i.Wf)(Pe)),{background:Pe.colorBgContainer,borderRadius:Pe.borderRadius,transition:`background-color ${Pe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ve}-rtl ${Ve}-switcher_close ${Ve}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ve}-active-focused)`]:Object.assign({},(0,i.oN)(Pe)),[`${Ve}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ve}-block-node`]:{[`${Ve}-list-holder-inner`]:{alignItems:"stretch",[`${Ve}-node-content-wrapper`]:{flex:"auto"},[`${C}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Pe.colorPrimary}`,opacity:0,animationName:Z,animationDuration:Pe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Pe.borderRadius}}},[C]:{display:"flex",alignItems:"flex-start",marginBottom:he,lineHeight:(0,e.unit)(s),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:he},[`&-disabled ${Ve}-node-content-wrapper`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ve}-checkbox-disabled + ${Ve}-node-selected,&${C}-disabled${C}-selected ${Ve}-node-content-wrapper`]:{backgroundColor:je},[`${Ve}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${C}-disabled)`]:{[`${Ve}-node-content-wrapper`]:{"&:hover":{color:Pe.nodeHoverColor}}},[`&-active ${Ve}-node-content-wrapper`]:{background:Pe.controlItemBgHover},[`&:not(${C}-disabled).filter-node ${Ve}-title`]:{color:Pe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ve}-draggable-icon`]:{flexShrink:0,width:s,textAlign:"center",visibility:"visible",color:v},[`&${C}-disabled ${Ve}-draggable-icon`]:{visibility:"hidden"}}},[`${Ve}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:h}},[`${Ve}-draggable-icon`]:{visibility:"hidden"},[`${Ve}-switcher, ${Ve}-checkbox`]:{marginInlineEnd:Pe.calc(Pe.calc(s).sub(Pe.controlInteractiveSize)).div(2).equal()},[`${Ve}-switcher`]:Object.assign(Object.assign({},K(Fe,Pe)),{position:"relative",flex:"none",alignSelf:"stretch",width:s,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Pe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:s,height:s,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Pe.borderRadius,transition:`all ${Pe.motionDurationSlow}`},[`&:not(${Ve}-switcher-noop):hover:before`]:{backgroundColor:Pe.colorBgTextHover},[`&_close ${Ve}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Pe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(he).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Pe.calc(Pe.calc(s).div(2).equal()).mul(.8).equal(),height:Pe.calc(s).div(2).equal(),borderBottom:`1px solid ${Pe.colorBorder}`,content:'""'}}}),[`${Ve}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:s,paddingBlock:0,paddingInline:Pe.paddingXS,background:"transparent",borderRadius:Pe.borderRadius,cursor:"pointer",transition:`all ${Pe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},r(Fe,Pe)),{"&:hover":{backgroundColor:le},[`&${Ve}-node-selected`]:{color:Pe.nodeSelectedColor,backgroundColor:oe},[`${Ve}-iconEle`]:{display:"inline-block",width:s,height:s,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ve}-unselectable ${Ve}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${C}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Pe.colorPrimary}`},"&-show-line":{[`${Ve}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(he).mul(-1).equal(),borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ve}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${C}-leaf-last ${Ve}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(Pe.calc(s).div(2).equal())} !important`}})}},M=function(Fe,Pe){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=`.${Fe}`,he=`${C}-treenode`,s=Pe.calc(Pe.paddingXS).div(2).equal(),h=(0,x.mergeToken)(Pe,{treeCls:C,treeNodeCls:he,treeNodePadding:s});return[V(Fe,h),Ve&&E(h)].filter(Boolean)},P=Fe=>{const{controlHeightSM:Pe,controlItemBgHover:Ve,controlItemBgActive:C}=Fe,he=Pe;return{titleHeight:he,indentSize:he,nodeHoverBg:Ve,nodeHoverColor:Fe.colorText,nodeSelectedBg:C,nodeSelectedColor:Fe.colorText}},me=Fe=>{const{colorTextLightSolid:Pe,colorPrimary:Ve}=Fe;return Object.assign(Object.assign({},P(Fe)),{directoryNodeSelectedColor:Pe,directoryNodeSelectedBg:Ve})};var lt=(0,D.I$)("Tree",(Fe,Pe)=>{let{prefixCls:Ve}=Pe;return[{[Fe.componentCls]:(0,d.C2)(`${Ve}-checkbox`,Fe)},M(Ve,Fe),(0,L.Z)(Fe)]},me)},85278:function(an,Je,t){t.d(Je,{Z:function(){return Pe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},L=i,x=t(7657),D=function(C,he){return e.createElement(x.Z,(0,d.Z)({},C,{ref:he,icon:L}))},E=e.forwardRef(D),Z=E,K=t(52671),r=t(58617),V=t(15075),M=t(43531),P=t(92310),me=t.n(P),lt=t(22703),Pe=Ve=>{const{prefixCls:C,switcherIcon:he,treeNodeProps:s,showLine:h,switcherLoadingIcon:oe}=Ve,{isLeaf:le,expanded:v,loading:je}=s;if(je)return e.isValidElement(oe)?oe:e.createElement(r.Z,{className:`${C}-switcher-loading-icon`});let Oe;if(h&&typeof h=="object"&&(Oe=h.showLeafIcon),le){if(!h)return null;if(typeof Oe!="boolean"&&Oe){const de=typeof Oe=="function"?Oe(s):Oe,H=`${C}-switcher-line-custom-icon`;return e.isValidElement(de)?(0,lt.Tm)(de,{className:me()(de.props.className||"",H)}):de}return Oe?e.createElement(K.Z,{className:`${C}-switcher-line-icon`}):e.createElement("span",{className:`${C}-switcher-leaf-line`})}const ne=`${C}-switcher-icon`,Re=typeof he=="function"?he(s):he;return e.isValidElement(Re)?(0,lt.Tm)(Re,{className:me()(Re.props.className||"",ne)}):Re!==void 0?Re:h?v?e.createElement(V.Z,{className:`${C}-switcher-line-icon`}):e.createElement(M.Z,{className:`${C}-switcher-line-icon`}):e.createElement(Z,{className:ne})}},94968:function(an,Je,t){t.d(Je,{default:function(){return ye}});var e=t(59301),d=t(94480),i=t(4676),L=t(92310),x=t.n(L),D=t(54476),E=t(67732),Z=t(83652),K=t(31226),r=t(42403),V=t(158),M=t(20068),P=t(33885),me=t(75931),lt=t(76190),Fe=t(75044),Pe=t(3202),Ve=t(26112),C=t(48736),he=function(g,re){if(g&&re){var De=Array.isArray(re)?re:re.split(","),u=g.name||"",S=g.type||"",A=S.replace(/\/.*$/,"");return De.some(function(ve){var j=ve.trim();if(/^\*(\/\*)?$/.test(ve))return!0;if(j.charAt(0)==="."){var O=u.toLowerCase(),W=j.toLowerCase(),ee=[W];return(W===".jpg"||W===".jpeg")&&(ee=[".jpg",".jpeg"]),ee.some(function(ae){return O.endsWith(ae)})}return/\/\*$/.test(j)?A===j.replace(/\/.*$/,""):S===j?!0:/^\w+$/.test(j)?((0,C.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(j,"'.Skip for check.")),!0):!1})}return!0};function s(g,re){var De="cannot ".concat(g.method," ").concat(g.action," ").concat(re.status,"'"),u=new Error(De);return u.status=re.status,u.method=g.method,u.url=g.action,u}function h(g){var re=g.responseText||g.response;if(!re)return re;try{return JSON.parse(re)}catch(De){return re}}function oe(g){var re=new XMLHttpRequest;g.onProgress&&re.upload&&(re.upload.onprogress=function(A){A.total>0&&(A.percent=A.loaded/A.total*100),g.onProgress(A)});var De=new FormData;g.data&&Object.keys(g.data).forEach(function(S){var A=g.data[S];if(Array.isArray(A)){A.forEach(function(ve){De.append("".concat(S,"[]"),ve)});return}De.append(S,A)}),g.file instanceof Blob?De.append(g.filename,g.file,g.file.name):De.append(g.filename,g.file),re.onerror=function(A){g.onError(A)},re.onload=function(){return re.status<200||re.status>=300?g.onError(s(g,re),h(re)):g.onSuccess(h(re),re)},re.open(g.method,g.action,!0),g.withCredentials&&"withCredentials"in re&&(re.withCredentials=!0);var u=g.headers||{};return u["X-Requested-With"]!==null&&re.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(u).forEach(function(S){u[S]!==null&&re.setRequestHeader(S,u[S])}),re.send(De),{abort:function(){re.abort()}}}var le=function(){var g=(0,Pe.Z)((0,Fe.Z)().mark(function re(De,u){var S,A,ve,j,O,W,ee,ae;return(0,Fe.Z)().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:W=function(){return W=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){return(0,Fe.Z)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.abrupt("return",new Promise(function(ke){we.file(function(Q){u(Q)?(we.fullPath&&!Q.webkitRelativePath&&(Object.defineProperties(Q,{webkitRelativePath:{writable:!0}}),Q.webkitRelativePath=we.fullPath.replace(/^\//,""),Object.defineProperties(Q,{webkitRelativePath:{writable:!1}})),ke(Q)):ke(null)})}));case 1:case"end":return ut.stop()}},te)})),W.apply(this,arguments)},O=function(te){return W.apply(this,arguments)},j=function(){return j=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){var Ne,ut,ke,Q,Ce;return(0,Fe.Z)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:Ne=we.createReader(),ut=[];case 2:return Ye.next=5,new Promise(function(ht){Ne.readEntries(ht,function(){return ht([])})});case 5:if(ke=Ye.sent,Q=ke.length,Q){Ye.next=9;break}return Ye.abrupt("break",12);case 9:for(Ce=0;Ce{const{componentCls:re,iconCls:De}=g;return{[`${re}-wrapper`]:{[`${re}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:g.colorFillAlter,border:`${(0,Qe.unit)(g.lineWidth)} dashed ${g.colorBorder}`,borderRadius:g.borderRadiusLG,cursor:"pointer",transition:`border-color ${g.motionDurationSlow}`,[re]:{padding:g.padding},[`${re}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:g.borderRadiusLG,"&:focus-visible":{outline:`${(0,Qe.unit)(g.lineWidthFocus)} solid ${g.colorPrimaryBorder}`}},[`${re}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + ${(0,hr.unit)(pn(Ee).mul(-1).equal())}`,[`${a}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:xt,fontWeight:F,textAlign:"start",background:Nt,borderBottom:vn,transition:`background ${St} ease`}}},[`${a}-footer`]:{padding:`${(0,hr.unit)(J)} ${(0,hr.unit)(Ee)}`,color:_t,background:gn}})}},kl=l=>{const{colorFillAlter:a,colorBgContainer:F,colorTextHeading:J,colorFillSecondary:Ee,colorFillContent:$e,controlItemBgActive:rt,controlItemBgActiveHover:Xe,padding:gt,paddingSM:vt,paddingXS:zt,colorBorderSecondary:Ot,borderRadiusLG:xt,controlHeight:St,colorTextPlaceholder:Nt,fontSize:mn,fontSizeSM:_t,lineHeight:gn,lineWidth:pn,colorIcon:vn,colorIconHover:Cn,opacityLoading:wn,controlInteractiveSize:jn}=l,An=new Ka.FastColor(Ee).onBackground(F).toHexString(),xr=new Ka.FastColor($e).onBackground(F).toHexString(),or=new Ka.FastColor(a).onBackground(F).toHexString(),ir=new Ka.FastColor(vn),mr=new Ka.FastColor(Cn),Tn=jn/2-pn,Ln=Tn*2+pn*3;return{headerBg:or,headerColor:J,headerSortActiveBg:An,headerSortHoverBg:xr,bodySortBg:or,rowHoverBg:or,rowSelectedBg:rt,rowSelectedHoverBg:Xe,rowExpandedBg:a,cellPaddingBlock:gt,cellPaddingInline:gt,cellPaddingBlockMD:vt,cellPaddingInlineMD:zt,cellPaddingBlockSM:zt,cellPaddingInlineSM:zt,borderColor:Ot,headerBorderRadius:xt,footerBg:or,footerColor:J,cellFontSize:mn,cellFontSizeMD:mn,cellFontSizeSM:mn,headerSplitColor:Ot,fixedHeaderSortActiveBg:An,headerFilterHoverBg:$e,filterDropdownMenuBg:F,filterDropdownBg:F,expandIconBg:F,selectionColumnWidth:St,stickyScrollBarBg:Nt,stickyScrollBarBorderRadius:100,expandIconMarginTop:(mn*gn-pn*3)/2-Math.ceil((_t*1.4-pn*3)/2),headerIconColor:ir.clone().setA(ir.a*wn).toRgbString(),headerIconHoverColor:mr.clone().setA(mr.a*wn).toRgbString(),expandIconHalfInner:Tn,expandIconSize:Ln,expandIconScale:jn/Ln}},fl=2;var Yl=(0,$l.I$)("Table",l=>{const{colorTextHeading:a,colorSplit:F,colorBgContainer:J,controlInteractiveSize:Ee,headerBg:$e,headerColor:rt,headerSortActiveBg:Xe,headerSortHoverBg:gt,bodySortBg:vt,rowHoverBg:zt,rowSelectedBg:Ot,rowSelectedHoverBg:xt,rowExpandedBg:St,cellPaddingBlock:Nt,cellPaddingInline:mn,cellPaddingBlockMD:_t,cellPaddingInlineMD:gn,cellPaddingBlockSM:pn,cellPaddingInlineSM:vn,borderColor:Cn,footerBg:wn,footerColor:jn,headerBorderRadius:An,cellFontSize:xr,cellFontSizeMD:or,cellFontSizeSM:ir,headerSplitColor:mr,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:Ln,filterDropdownBg:On,expandIconBg:hn,selectionColumnWidth:Zn,stickyScrollBarBg:Un,calc:nr}=l,Sn=(0,Bl.mergeToken)(l,{tableFontSize:xr,tableBg:J,tableRadius:An,tablePaddingVertical:Nt,tablePaddingHorizontal:mn,tablePaddingVerticalMiddle:_t,tablePaddingHorizontalMiddle:gn,tablePaddingVerticalSmall:pn,tablePaddingHorizontalSmall:vn,tableBorderColor:Cn,tableHeaderTextColor:rt,tableHeaderBg:$e,tableFooterTextColor:jn,tableFooterBg:wn,tableHeaderCellSplitColor:mr,tableHeaderSortBg:Xe,tableHeaderSortHoverBg:gt,tableBodySortBg:vt,tableFixedHeaderSortActiveBg:Tn,tableHeaderFilterActiveBg:Ln,tableFilterDropdownBg:On,tableRowHoverBg:zt,tableSelectedRowBg:Ot,tableSelectedRowHoverBg:xt,zIndexTableFixed:fl,zIndexTableSticky:nr(fl).add(1).equal({unit:!1}),tableFontSizeMiddle:or,tableFontSizeSmall:ir,tableSelectionColumnWidth:Zn,tableExpandIconBg:hn,tableExpandColumnWidth:nr(Ee).add(nr(l.padding).mul(2)).equal(),tableExpandedRowBg:St,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Un,tableScrollThumbBgHover:a,tableScrollBg:F});return[Gl(Sn),zl(Sn),dl(Sn),Vl(Sn),Tl(Sn),Ml(Sn),jl(Sn),Al(Sn),dl(Sn),Nl(Sn),Hl(Sn),Ll(Sn),Ul(Sn),Zl(Sn),Wl(Sn),Kl(Sn),Xl(Sn)]},kl,{unitless:{expandIconScale:!0}});const Ql=[],Jl=(l,a)=>{var F,J;const{prefixCls:Ee,className:$e,rootClassName:rt,style:Xe,size:gt,bordered:vt,dropdownPrefixCls:zt,dataSource:Ot,pagination:xt,rowSelection:St,rowKey:Nt="key",rowClassName:mn,columns:_t,children:gn,childrenColumnName:pn,onChange:vn,getPopupContainer:Cn,loading:wn,expandIcon:jn,expandable:An,expandedRowRender:xr,expandIconColumnIndex:or,indentSize:ir,scroll:mr,sortDirections:Tn,locale:Ln,showSorterTooltip:On={target:"full-header"},virtual:hn}=l,Zn=(0,Xn.ln)("Table"),Un=e.useMemo(()=>_t||bn(gn),[_t,gn]),nr=e.useMemo(()=>Un.some(Ir=>Ir.responsive),[Un]),Sn=(0,wr.Z)(nr),Rr=e.useMemo(()=>{const Ir=new Set(Object.keys(Sn).filter(Gr=>Sn[Gr]));return Un.filter(Gr=>!Gr.responsive||Gr.responsive.some(Eo=>Ir.has(Eo)))},[Un,Sn]),Mr=(0,lr.Z)(l,["className","style","columns"]),{locale:go=Tr.Z,direction:io,table:no,renderEmpty:fo,getPrefixCls:Fo,getPopupContainer:Zr}=e.useContext(yr.E_),Ar=(0,Br.Z)(gt),Co=Object.assign(Object.assign({},go.Table),Ln),xo=Ot||Ql,Qn=Fo("table",Ee),Er=Fo("dropdown",zt),[,Yn]=(0,zr.ZP)(),rr=(0,br.Z)(Qn),[jr,Hr,so]=Yl(Qn,rr),ro=Object.assign(Object.assign({childrenColumnName:pn,expandIconColumnIndex:or},An),{expandIcon:(F=An==null?void 0:An.expandIcon)!==null&&F!==void 0?F:(J=no==null?void 0:no.expandable)===null||J===void 0?void 0:J.expandIcon}),{childrenColumnName:Po="children"}=ro,Ro=e.useMemo(()=>xo.some(Ir=>Ir==null?void 0:Ir[Po])?"nest":xr||An!=null&&An.expandedRowRender?"row":null,[xo]),qn={body:e.useRef(null)},dr=sr(Qn),Wr=e.useRef(null),uo=e.useRef(null);Gn(a,()=>Object.assign(Object.assign({},uo.current),{nativeElement:Wr.current}));const Yr=e.useMemo(()=>typeof Nt=="function"?Nt:Ir=>Ir==null?void 0:Ir[Nt],[Nt]),[Mo]=Go(xo,Po,Yr),bo={},la=function(Ir,Gr){let Eo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Io,Vo,na,ia;const No=Object.assign(Object.assign({},bo),Ir);Eo&&((Io=bo.resetPagination)===null||Io===void 0||Io.call(bo),!((Vo=No.pagination)===null||Vo===void 0)&&Vo.current&&(No.pagination.current=1),xt&&((na=xt.onChange)===null||na===void 0||na.call(xt,1,(ia=No.pagination)===null||ia===void 0?void 0:ia.pageSize))),mr&&mr.scrollToFirstRowOnChange!==!1&&qn.body.current&&(0,ur.Z)(0,{getContainer:()=>qn.body.current}),vn==null||vn(No.pagination,No.filters,No.sorter,{currentDataSource:Pr(Ra(xo,No.sorterStates,Po),No.filterStates,Po),action:Gr})},co=(Ir,Gr)=>{la({sorter:Ir,sorterStates:Gr},"sort",!1)},[Xr,oo,ao,Do]=ja({prefixCls:Qn,mergedColumns:Rr,onSorterChange:co,sortDirections:Tn||["ascend","descend"],tableLocale:Co,showSorterTooltip:On}),So=e.useMemo(()=>Ra(xo,oo,Po),[xo,oo]);bo.sorter=Do(),bo.sorterStates=oo;const Vr=(Ir,Gr)=>{la({filters:Ir,filterStates:Gr},"filter",!0)},[po,_r,Zo]=mo({prefixCls:Qn,locale:Co,dropdownPrefixCls:Er,mergedColumns:Rr,onFilterChange:Vr,getPopupContainer:Cn||Zr,rootClassName:H()(rt,rr)}),yo=Pr(So,_r,Po);bo.filters=Zo,bo.filterStates=_r;const jo=e.useMemo(()=>{const Ir={};return Object.keys(Zo).forEach(Gr=>{Zo[Gr]!==null&&(Ir[Gr]=Zo[Gr])}),Object.assign(Object.assign({},ao),{filters:Ir})},[ao,Zo]),[ya]=Fl(jo),Wa=(Ir,Gr)=>{la({pagination:Object.assign(Object.assign({},bo.pagination),{current:Ir,pageSize:Gr})},"paginate")},[vo,Va]=ha(yo.length,Wa,xt);bo.pagination=xt===!1?{}:oa(vo,xt),bo.resetPagination=Va;const Ko=e.useMemo(()=>{if(xt===!1||!vo.pageSize)return yo;const{current:Ir=1,total:Gr,pageSize:Eo=_o}=vo;return yo.lengthEo?yo.slice((Ir-1)*Eo,Ir*Eo):yo:yo.slice((Ir-1)*Eo,Ir*Eo)},[!!xt,yo,vo==null?void 0:vo.current,vo==null?void 0:vo.pageSize,vo==null?void 0:vo.total]),[ea,ko]=Hn({prefixCls:Qn,data:yo,pageData:Ko,getRowKey:Yr,getRecordByKey:Mo,expandType:Ro,childrenColumnName:Po,locale:Co,getPopupContainer:Cn||Zr},St),Ho=(Ir,Gr,Eo)=>{let Io;return typeof mn=="function"?Io=H()(mn(Ir,Gr,Eo)):Io=H()(mn),H()({[`${Qn}-row-selected`]:ko.has(Yr(Ir,Gr))},Io)};ro.__PARENT_RENDER_ICON__=ro.expandIcon,ro.expandIcon=ro.expandIcon||jn||Vn(Co),Ro==="nest"&&ro.expandIconColumnIndex===void 0?ro.expandIconColumnIndex=St?1:0:ro.expandIconColumnIndex>0&&St&&(ro.expandIconColumnIndex-=1),typeof ro.indentSize!="number"&&(ro.indentSize=typeof ir=="number"?ir:15);const Wo=e.useCallback(Ir=>ya(ea(po(Xr(Ir)))),[Xr,po,ea]);let ta,Ea;if(xt!==!1&&(vo!=null&&vo.total)){let Ir;vo.size?Ir=vo.size:Ir=Ar==="small"||Ar==="middle"?"small":void 0;const Gr=Vo=>e.createElement(Qr.Z,Object.assign({},vo,{className:H()(`${Qn}-pagination ${Qn}-pagination-${Vo}`,vo.className),size:Ir})),Eo=io==="rtl"?"left":"right",{position:Io}=vo;if(Io!==null&&Array.isArray(Io)){const Vo=Io.find(No=>No.includes("top")),na=Io.find(No=>No.includes("bottom")),ia=Io.every(No=>`${No}`=="none");!Vo&&!na&&!ia&&(Ea=Gr(Eo)),Vo&&(ta=Gr(Vo.toLowerCase().replace("top",""))),na&&(Ea=Gr(na.toLowerCase().replace("bottom","")))}else Ea=Gr(Eo)}let ua;typeof wn=="boolean"?ua={spinning:wn}:typeof wn=="object"&&(ua=Object.assign({spinning:!0},wn));const ca=H()(so,rr,`${Qn}-wrapper`,no==null?void 0:no.className,{[`${Qn}-wrapper-rtl`]:io==="rtl"},$e,rt,Hr),nl=Object.assign(Object.assign({},no==null?void 0:no.style),Xe),rl=typeof(Ln==null?void 0:Ln.emptyText)!="undefined"?Ln.emptyText:(fo==null?void 0:fo("Table"))||e.createElement(gr.Z,{componentName:"Table"}),ol=hn?Rl:Pl,Ja={},al=e.useMemo(()=>{const{fontSize:Ir,lineHeight:Gr,lineWidth:Eo,padding:Io,paddingXS:Vo,paddingSM:na}=Yn,ia=Math.floor(Ir*Gr);switch(Ar){case"middle":return na*2+ia+Eo;case"small":return Vo*2+ia+Eo;default:return Io*2+ia+Eo}},[Yn,Ar]);return hn&&(Ja.listItemHeight=al),jr(e.createElement("div",{ref:Wr,className:ca,style:nl},e.createElement(Or.Z,Object.assign({spinning:!1},ua),ta,e.createElement(ol,Object.assign({},Ja,Mr,{ref:uo,columns:Rr,direction:io,expandable:ro,prefixCls:Qn,className:H()({[`${Qn}-middle`]:Ar==="middle",[`${Qn}-small`]:Ar==="small",[`${Qn}-bordered`]:vt,[`${Qn}-empty`]:xo.length===0},so,rr,Hr),data:Ko,rowKey:Yr,rowClassName:Ho,emptyText:rl,internalHooks:i,internalRefs:qn,transformColumns:Wo,getContainerWidth:dr})),Ea)))};var ql=e.forwardRef(Jl);const _l=(l,a)=>{const F=e.useRef(0);return F.current+=1,e.createElement(ql,Object.assign({},l,{ref:a,_renderTimes:F.current}))},va=e.forwardRef(_l);va.SELECTION_COLUMN=Wn,va.EXPAND_COLUMN=d,va.SELECTION_ALL=Sr,va.SELECTION_INVERT=Fr,va.SELECTION_NONE=$r,va.Column=un,va.ColumnGroup=en,va.Summary=$;var ei=va,ti=ei},93427:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(34998);function d(i,L){return e.i.reduce((x,D)=>{const E=i[`${D}1`],Z=i[`${D}3`],K=i[`${D}6`],r=i[`${D}7`];return Object.assign(Object.assign({},x),L(D,{lightColor:E,lightBorderColor:Z,darkColor:K,textColor:r}))},{})}},25399:function(an,Je,t){t.d(Je,{Z:function(){return ce}});var e=t(59301),d=t(92310),i=t.n(d),L=t(29125),x=t(18929),D=t(62487),E=t(75030),Z=t(86641),K=t(52838),r=t(22703),U=t(32383),M=t(55743),P=t(57700),me=t(48755),lt=t(36237),Fe=t(63356),Pe=t(34925),Ve=t(37645),C=t(36305),he=t(93427),s=t(51636),h=t(16931);const oe=T=>{const{calc:ze,componentCls:xe,tooltipMaxWidth:We,tooltipColor:st,tooltipBg:at,tooltipBorderRadius:Ae,zIndexPopup:tt,controlHeight:q,boxShadowSecondary:Se,paddingSM:ge,paddingXS:Qe,arrowOffsetHorizontal:ie,sizePopupArrow:qe}=T,Ke=ze(Ae).add(qe).add(ie).equal(),bt=ze(Ae).mul(2).add(qe).equal();return[{[xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(T)),{position:"absolute",zIndex:tt,display:"block",width:"max-content",maxWidth:We,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":at,[`${xe}-inner`]:{minWidth:bt,minHeight:q,padding:`${(0,lt.unit)(T.calc(ge).div(2).equal())} ${(0,lt.unit)(Qe)}`,color:st,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:at,borderRadius:Ae,boxShadow:Se,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Ke},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${xe}-inner`]:{borderRadius:T.min(Ae,Ve.qN)}},[`${xe}-content`]:{position:"relative"}}),(0,he.Z)(T,(Te,k)=>{let{darkColor:R}=k;return{[`&${xe}-${Te}`]:{[`${xe}-inner`]:{backgroundColor:R},[`${xe}-arrow`]:{"--antd-arrow-background-color":R}}}})),{"&-rtl":{direction:"rtl"}})},(0,Ve.ZP)(T,"var(--antd-arrow-background-color)"),{[`${xe}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow}}]},le=T=>Object.assign(Object.assign({zIndexPopup:T.zIndexPopupBase+70},(0,Ve.wZ)({contentRadius:T.borderRadius,limitVerticalRadius:!0})),(0,C.w)((0,s.mergeToken)(T,{borderRadiusOuter:Math.min(T.borderRadiusOuter,4)})));var v=function(T){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,h.I$)("Tooltip",We=>{const{borderRadius:st,colorTextLightSolid:at,colorBgSpotlight:Ae}=We,tt=(0,s.mergeToken)(We,{tooltipMaxWidth:250,tooltipColor:at,tooltipBorderRadius:st,tooltipBg:Ae});return[oe(tt),(0,Pe._y)(We,"zoom-big-fast")]},le,{resetStyle:!1,injectStyle:ze})(T)},je=t(29509);function Oe(T,ze){const xe=(0,je.o2)(ze),We=i()({[`${T}-${ze}`]:ze&&xe}),st={},at={};return ze&&!xe&&(st.background=ze,at["--antd-arrow-background-color"]=ze),{className:We,overlayStyle:st,arrowStyle:at}}var Re=T=>{const{prefixCls:ze,className:xe,placement:We="top",title:st,color:at,overlayInnerStyle:Ae}=T,{getPrefixCls:tt}=e.useContext(me.E_),q=tt("tooltip",ze),[Se,ge,Qe]=v(q),ie=Oe(q,at),qe=ie.arrowStyle,Ke=Object.assign(Object.assign({},Ae),ie.overlayStyle),bt=i()(ge,Qe,q,`${q}-pure`,`${q}-placement-${We}`,xe,ie.className);return Se(e.createElement("div",{className:bt,style:qe},e.createElement("div",{className:`${q}-arrow`}),e.createElement(L.G,Object.assign({},T,{className:ge,prefixCls:q,overlayInnerStyle:Ke}),st)))},de=function(T,ze){var xe={};for(var We in T)Object.prototype.hasOwnProperty.call(T,We)&&ze.indexOf(We)<0&&(xe[We]=T[We]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,We=Object.getOwnPropertySymbols(T);st{var xe,We;const{prefixCls:st,openClassName:at,getTooltipContainer:Ae,color:tt,overlayInnerStyle:q,children:Se,afterOpenChange:ge,afterVisibleChange:Qe,destroyTooltipOnHide:ie,arrow:qe=!0,title:Ke,overlay:bt,builtinPlacements:Te,arrowPointAtCenter:k=!1,autoAdjustOverflow:R=!0,motion:X,getPopupContainer:p,placement:fe="top",mouseEnterDelay:z=.1,mouseLeaveDelay:o=.1,overlayStyle:f,rootClassName:se,overlayClassName:_,styles:$,classNames:N}=T,G=de(T,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ue=!!qe,[,c]=(0,P.ZP)(),{getPopupContainer:y,getPrefixCls:Ge,direction:W,className:Le,style:He,classNames:nt,styles:it}=(0,me.dj)("tooltip"),et=(0,U.ln)("Tooltip"),w=e.useRef(null),pe=()=>{var tn;(tn=w.current)===null||tn===void 0||tn.forceAlign()};e.useImperativeHandle(ze,()=>{var tn,Nn;return{forceAlign:pe,forcePopupAlign:()=>{et.deprecated(!1,"forcePopupAlign","forceAlign"),pe()},nativeElement:(tn=w.current)===null||tn===void 0?void 0:tn.nativeElement,popupElement:(Nn=w.current)===null||Nn===void 0?void 0:Nn.popupElement}});const[Ze,Ue]=(0,x.Z)(!1,{value:(xe=T.open)!==null&&xe!==void 0?xe:T.visible,defaultValue:(We=T.defaultOpen)!==null&&We!==void 0?We:T.defaultVisible}),ot=!Ke&&!bt&&Ke!==0,Tt=tn=>{var Nn,Pn;Ue(ot?!1:tn),ot||((Nn=T.onOpenChange)===null||Nn===void 0||Nn.call(T,tn),(Pn=T.onVisibleChange)===null||Pn===void 0||Pn.call(T,tn))},ct=e.useMemo(()=>{var tn,Nn;let Pn=k;return typeof qe=="object"&&(Pn=(Nn=(tn=qe.pointAtCenter)!==null&&tn!==void 0?tn:qe.arrowPointAtCenter)!==null&&Nn!==void 0?Nn:k),Te||(0,K.Z)({arrowPointAtCenter:Pn,autoAdjustOverflow:R,arrowWidth:ue?c.sizePopupArrow:0,borderRadius:c.borderRadius,offset:c.marginXXS,visibleFirst:!0})},[k,qe,Te,c]),dt=e.useMemo(()=>Ke===0?Ke:bt||Ke||"",[bt,Ke]),Rt=e.createElement(D.Z,{space:!0},typeof dt=="function"?dt():dt),Vt=Ge("tooltip",st),Ht=Ge(),Xt=T["data-popover-inject"];let wt=Ze;!("open"in T)&&!("visible"in T)&&ot&&(wt=!1);const Ut=e.isValidElement(Se)&&!(0,r.M2)(Se)?Se:e.createElement("span",null,Se),yt=Ut.props,Bt=!yt.className||typeof yt.className=="string"?i()(yt.className,at||`${Vt}-open`):yt.className,[Pt,kt,Wt]=v(Vt,!Xt),pt=Oe(Vt,tt),Lt=pt.arrowStyle,ln=i()(_,{[`${Vt}-rtl`]:W==="rtl"},pt.className,se,kt,Wt,Le,nt.root,N==null?void 0:N.root),rn=i()(nt.body,N==null?void 0:N.body),[xn,Dn]=(0,E.Cn)("Tooltip",G.zIndex),Mn=e.createElement(L.Z,Object.assign({},G,{zIndex:xn,showArrow:ue,placement:fe,mouseEnterDelay:z,mouseLeaveDelay:o,prefixCls:Vt,classNames:{root:ln,body:rn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lt),it.root),He),f),$==null?void 0:$.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},it.body),q),$==null?void 0:$.body),pt.overlayStyle)},getTooltipContainer:p||Ae||y,ref:w,builtinPlacements:ct,overlay:Rt,visible:wt,onVisibleChange:Tt,afterVisibleChange:ge!=null?ge:Qe,arrowContent:e.createElement("span",{className:`${Vt}-arrow-content`}),motion:{motionName:(0,Z.m)(Ht,"zoom-big-fast",T.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ie}),wt?(0,r.Tm)(Ut,{className:Bt}):Ut);return Pt(e.createElement(M.Z.Provider,{value:Dn},Mn))});n._InternalPanelDoNotUseOrYouWillBeFired=Re;var ce=n},18287:function(an,Je,t){t.d(Je,{default:function(){return tt}});var e=t(3741),d=t(94480),i=t(59301),L=t(52671),x=t(8657),D=t(54476),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Z=E,K=t(7657),r=function(Se,ge){return i.createElement(K.Z,(0,D.Z)({},Se,{ref:ge,icon:Z}))},U=i.forwardRef(r),M=U,P=t(92310),me=t.n(P),lt=t(82661),Fe=t(34061),Pe=t(48755),Ve=t(56082),C=t(86641),he=t(57700),s=t(12425);const h=4;function oe(q){const{dropPosition:Se,dropLevelOffset:ge,prefixCls:Qe,indent:ie,direction:qe="ltr"}=q,Ke=qe==="ltr"?"left":"right",bt=qe==="ltr"?"right":"left",Te={[Ke]:-ge*ie+h,[bt]:0};switch(Se){case-1:Te.top=-3;break;case 1:Te.bottom=-3;break;default:Te.bottom=-3,Te[Ke]=ie+h;break}return i.createElement("div",{style:Te,className:`${Qe}-drop-indicator`})}var le=oe,v=t(85278),Oe=i.forwardRef((q,Se)=>{var ge;const{getPrefixCls:Qe,direction:ie,virtual:qe,tree:Ke}=i.useContext(Pe.E_),{prefixCls:bt,className:Te,showIcon:k=!1,showLine:R,switcherIcon:X,switcherLoadingIcon:p,blockNode:fe=!1,children:z,checkable:o=!1,selectable:f=!0,draggable:se,motion:_,style:$}=q,N=Qe("tree",bt),G=Qe(),ue=_!=null?_:Object.assign(Object.assign({},(0,C.Z)(G)),{motionAppear:!1}),c=Object.assign(Object.assign({},q),{checkable:o,selectable:f,showIcon:k,motion:ue,blockNode:fe,showLine:!!R,dropIndicatorRender:le}),[y,Ge,W]=(0,s.ZP)(N),[,Le]=(0,he.ZP)(),He=Le.paddingXS/2+(((ge=Le.Tree)===null||ge===void 0?void 0:ge.titleHeight)||Le.controlHeightSM),nt=i.useMemo(()=>{if(!se)return!1;let et={};switch(typeof se){case"function":et.nodeDraggable=se;break;case"object":et=Object.assign({},se);break;default:break}return et.icon!==!1&&(et.icon=et.icon||i.createElement(Ve.Z,null)),et},[se]),it=et=>i.createElement(v.Z,{prefixCls:N,switcherIcon:X,switcherLoadingIcon:p,treeNodeProps:et,showLine:R});return y(i.createElement(e.ZP,Object.assign({itemHeight:He,ref:Se,virtual:qe},c,{style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),$),prefixCls:N,className:me()({[`${N}-icon-hide`]:!k,[`${N}-block-node`]:fe,[`${N}-unselectable`]:!f,[`${N}-rtl`]:ie==="rtl"},Ke==null?void 0:Ke.className,Te,Ge,W),direction:ie,checkable:o&&i.createElement("span",{className:`${N}-checkbox-inner`}),selectable:f,switcherIcon:it,draggable:nt}),z))});const ne=0,Re=1,de=2;function H(q,Se,ge){const{key:Qe,children:ie}=ge;function qe(Ke){const bt=Ke[Qe],Te=Ke[ie];Se(bt,Ke)!==!1&&H(Te||[],Se,ge)}q.forEach(qe)}function n(q){let{treeData:Se,expandedKeys:ge,startKey:Qe,endKey:ie,fieldNames:qe}=q;const Ke=[];let bt=ne;if(Qe&&Qe===ie)return[Qe];if(!Qe||!ie)return[];function Te(k){return k===Qe||k===ie}return H(Se,k=>{if(bt===de)return!1;if(Te(k)){if(Ke.push(k),bt===ne)bt=Re;else if(bt===Re)return bt=de,!1}else bt===Re&&Ke.push(k);return ge.includes(k)},(0,Fe.w$)(qe)),Ke}function ce(q,Se,ge){const Qe=(0,d.Z)(Se),ie=[];return H(q,(qe,Ke)=>{const bt=Qe.indexOf(qe);return bt!==-1&&(ie.push(Ke),Qe.splice(bt,1)),!!Qe.length},(0,Fe.w$)(ge)),ie}var T=function(q,Se){var ge={};for(var Qe in q)Object.prototype.hasOwnProperty.call(q,Qe)&&Se.indexOf(Qe)<0&&(ge[Qe]=q[Qe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Qe=Object.getOwnPropertySymbols(q);ie{var{defaultExpandAll:ge,defaultExpandParent:Qe,defaultExpandedKeys:ie}=q,qe=T(q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ke=i.useRef(null),bt=i.useRef(null),Te=()=>{const{keyEntities:y}=(0,Fe.I8)(xe(qe));let Ge;return ge?Ge=Object.keys(y):Qe?Ge=(0,lt.r7)(qe.expandedKeys||ie||[],y):Ge=qe.expandedKeys||ie||[],Ge},[k,R]=i.useState(qe.selectedKeys||qe.defaultSelectedKeys||[]),[X,p]=i.useState(()=>Te());i.useEffect(()=>{"selectedKeys"in qe&&R(qe.selectedKeys)},[qe.selectedKeys]),i.useEffect(()=>{"expandedKeys"in qe&&p(qe.expandedKeys)},[qe.expandedKeys]);const fe=(y,Ge)=>{var W;return"expandedKeys"in qe||p(y),(W=qe.onExpand)===null||W===void 0?void 0:W.call(qe,y,Ge)},z=(y,Ge)=>{var W;const{multiple:Le,fieldNames:He}=qe,{node:nt,nativeEvent:it}=Ge,{key:et=""}=nt,w=xe(qe),pe=Object.assign(Object.assign({},Ge),{selected:!0}),Ze=(it==null?void 0:it.ctrlKey)||(it==null?void 0:it.metaKey),Ue=it==null?void 0:it.shiftKey;let ot;Le&&Ze?(ot=y,Ke.current=et,bt.current=ot,pe.selectedNodes=ce(w,ot,He)):Le&&Ue?(ot=Array.from(new Set([].concat((0,d.Z)(bt.current||[]),(0,d.Z)(n({treeData:w,expandedKeys:X,startKey:et,endKey:Ke.current,fieldNames:He}))))),pe.selectedNodes=ce(w,ot,He)):(ot=[et],Ke.current=et,bt.current=ot,pe.selectedNodes=ce(w,ot,He)),(W=qe.onSelect)===null||W===void 0||W.call(qe,ot,pe),"selectedKeys"in qe||R(ot)},{getPrefixCls:o,direction:f}=i.useContext(Pe.E_),{prefixCls:se,className:_,showIcon:$=!0,expandAction:N="click"}=qe,G=T(qe,["prefixCls","className","showIcon","expandAction"]),ue=o("tree",se),c=me()(`${ue}-directory`,{[`${ue}-directory-rtl`]:f==="rtl"},_);return i.createElement(Oe,Object.assign({icon:ze,ref:Se,blockNode:!0},G,{showIcon:$,expandAction:N,prefixCls:ue,className:c,expandedKeys:X,selectedKeys:k,onSelect:z,onExpand:fe}))};var at=i.forwardRef(We);const Ae=Oe;Ae.DirectoryTree=at,Ae.TreeNode=e.OF;var tt=Ae},12425:function(an,Je,t){t.d(Je,{ZP:function(){return lt},Yk:function(){return M},TM:function(){return P}});var e=t(36237),d=t(36170),i=t(63356),L=t(34961),x=t(51636),D=t(16931);const E=Fe=>{let{treeCls:Pe,treeNodeCls:Ve,directoryNodeSelectedBg:C,directoryNodeSelectedColor:he,motionDurationMid:s,borderRadius:h,controlItemBgHover:oe}=Fe;return{[`${Pe}${Pe}-directory ${Ve}`]:{[`${Pe}-node-content-wrapper`]:{position:"static",[`> *:not(${Pe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${s}`,content:'""',borderRadius:h},"&:hover:before":{background:oe}},[`${Pe}-switcher, ${Pe}-checkbox, ${Pe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Pe}-switcher, ${Pe}-draggable-icon`]:{color:he},[`${Pe}-node-content-wrapper`]:{color:he,background:"transparent","&:before, &:hover:before":{background:C}}}}}},Z=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),K=(Fe,Pe)=>({[`.${Fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Pe.motionDurationSlow}`}}}),r=(Fe,Pe)=>({[`.${Fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Pe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(Pe.lineWidthBold)} solid ${Pe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),U=(Fe,Pe)=>{const{treeCls:Ve,treeNodeCls:C,treeNodePadding:he,titleHeight:s,indentSize:h,nodeSelectedBg:oe,nodeHoverBg:le,colorTextQuaternary:v,controlItemBgActiveDisabled:je}=Pe;return{[Ve]:Object.assign(Object.assign({},(0,i.Wf)(Pe)),{background:Pe.colorBgContainer,borderRadius:Pe.borderRadius,transition:`background-color ${Pe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ve}-rtl ${Ve}-switcher_close ${Ve}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ve}-active-focused)`]:Object.assign({},(0,i.oN)(Pe)),[`${Ve}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ve}-block-node`]:{[`${Ve}-list-holder-inner`]:{alignItems:"stretch",[`${Ve}-node-content-wrapper`]:{flex:"auto"},[`${C}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Pe.colorPrimary}`,opacity:0,animationName:Z,animationDuration:Pe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Pe.borderRadius}}},[C]:{display:"flex",alignItems:"flex-start",marginBottom:he,lineHeight:(0,e.unit)(s),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:he},[`&-disabled ${Ve}-node-content-wrapper`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ve}-checkbox-disabled + ${Ve}-node-selected,&${C}-disabled${C}-selected ${Ve}-node-content-wrapper`]:{backgroundColor:je},[`${Ve}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${C}-disabled)`]:{[`${Ve}-node-content-wrapper`]:{"&:hover":{color:Pe.nodeHoverColor}}},[`&-active ${Ve}-node-content-wrapper`]:{background:Pe.controlItemBgHover},[`&:not(${C}-disabled).filter-node ${Ve}-title`]:{color:Pe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ve}-draggable-icon`]:{flexShrink:0,width:s,textAlign:"center",visibility:"visible",color:v},[`&${C}-disabled ${Ve}-draggable-icon`]:{visibility:"hidden"}}},[`${Ve}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:h}},[`${Ve}-draggable-icon`]:{visibility:"hidden"},[`${Ve}-switcher, ${Ve}-checkbox`]:{marginInlineEnd:Pe.calc(Pe.calc(s).sub(Pe.controlInteractiveSize)).div(2).equal()},[`${Ve}-switcher`]:Object.assign(Object.assign({},K(Fe,Pe)),{position:"relative",flex:"none",alignSelf:"stretch",width:s,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Pe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:s,height:s,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Pe.borderRadius,transition:`all ${Pe.motionDurationSlow}`},[`&:not(${Ve}-switcher-noop):hover:before`]:{backgroundColor:Pe.colorBgTextHover},[`&_close ${Ve}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Pe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(he).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Pe.calc(Pe.calc(s).div(2).equal()).mul(.8).equal(),height:Pe.calc(s).div(2).equal(),borderBottom:`1px solid ${Pe.colorBorder}`,content:'""'}}}),[`${Ve}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:s,paddingBlock:0,paddingInline:Pe.paddingXS,background:"transparent",borderRadius:Pe.borderRadius,cursor:"pointer",transition:`all ${Pe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},r(Fe,Pe)),{"&:hover":{backgroundColor:le},[`&${Ve}-node-selected`]:{color:Pe.nodeSelectedColor,backgroundColor:oe},[`${Ve}-iconEle`]:{display:"inline-block",width:s,height:s,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ve}-unselectable ${Ve}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${C}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Pe.colorPrimary}`},"&-show-line":{[`${Ve}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Pe.calc(s).div(2).equal(),bottom:Pe.calc(he).mul(-1).equal(),borderInlineEnd:`1px solid ${Pe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ve}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${C}-leaf-last ${Ve}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(Pe.calc(s).div(2).equal())} !important`}})}},M=function(Fe,Pe){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=`.${Fe}`,he=`${C}-treenode`,s=Pe.calc(Pe.paddingXS).div(2).equal(),h=(0,x.mergeToken)(Pe,{treeCls:C,treeNodeCls:he,treeNodePadding:s});return[U(Fe,h),Ve&&E(h)].filter(Boolean)},P=Fe=>{const{controlHeightSM:Pe,controlItemBgHover:Ve,controlItemBgActive:C}=Fe,he=Pe;return{titleHeight:he,indentSize:he,nodeHoverBg:Ve,nodeHoverColor:Fe.colorText,nodeSelectedBg:C,nodeSelectedColor:Fe.colorText}},me=Fe=>{const{colorTextLightSolid:Pe,colorPrimary:Ve}=Fe;return Object.assign(Object.assign({},P(Fe)),{directoryNodeSelectedColor:Pe,directoryNodeSelectedBg:Ve})};var lt=(0,D.I$)("Tree",(Fe,Pe)=>{let{prefixCls:Ve}=Pe;return[{[Fe.componentCls]:(0,d.C2)(`${Ve}-checkbox`,Fe)},M(Ve,Fe),(0,L.Z)(Fe)]},me)},85278:function(an,Je,t){t.d(Je,{Z:function(){return Pe}});var e=t(59301),d=t(54476),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},L=i,x=t(7657),D=function(C,he){return e.createElement(x.Z,(0,d.Z)({},C,{ref:he,icon:L}))},E=e.forwardRef(D),Z=E,K=t(52671),r=t(58617),U=t(15075),M=t(43531),P=t(92310),me=t.n(P),lt=t(22703),Pe=Ve=>{const{prefixCls:C,switcherIcon:he,treeNodeProps:s,showLine:h,switcherLoadingIcon:oe}=Ve,{isLeaf:le,expanded:v,loading:je}=s;if(je)return e.isValidElement(oe)?oe:e.createElement(r.Z,{className:`${C}-switcher-loading-icon`});let Oe;if(h&&typeof h=="object"&&(Oe=h.showLeafIcon),le){if(!h)return null;if(typeof Oe!="boolean"&&Oe){const de=typeof Oe=="function"?Oe(s):Oe,H=`${C}-switcher-line-custom-icon`;return e.isValidElement(de)?(0,lt.Tm)(de,{className:me()(de.props.className||"",H)}):de}return Oe?e.createElement(K.Z,{className:`${C}-switcher-line-icon`}):e.createElement("span",{className:`${C}-switcher-leaf-line`})}const ne=`${C}-switcher-icon`,Re=typeof he=="function"?he(s):he;return e.isValidElement(Re)?(0,lt.Tm)(Re,{className:me()(Re.props.className||"",ne)}):Re!==void 0?Re:h?v?e.createElement(U.Z,{className:`${C}-switcher-line-icon`}):e.createElement(M.Z,{className:`${C}-switcher-line-icon`}):e.createElement(Z,{className:ne})}},94968:function(an,Je,t){t.d(Je,{default:function(){return ye}});var e=t(59301),d=t(94480),i=t(4676),L=t(92310),x=t.n(L),D=t(54476),E=t(67732),Z=t(83652),K=t(31226),r=t(42403),U=t(158),M=t(20068),P=t(33885),me=t(75931),lt=t(76190),Fe=t(75044),Pe=t(3202),Ve=t(26112),C=t(48736),he=function(g,re){if(g&&re){var De=Array.isArray(re)?re:re.split(","),u=g.name||"",S=g.type||"",A=S.replace(/\/.*$/,"");return De.some(function(ve){var j=ve.trim();if(/^\*(\/\*)?$/.test(ve))return!0;if(j.charAt(0)==="."){var O=u.toLowerCase(),V=j.toLowerCase(),ee=[V];return(V===".jpg"||V===".jpeg")&&(ee=[".jpg",".jpeg"]),ee.some(function(ae){return O.endsWith(ae)})}return/\/\*$/.test(j)?A===j.replace(/\/.*$/,""):S===j?!0:/^\w+$/.test(j)?((0,C.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(j,"'.Skip for check.")),!0):!1})}return!0};function s(g,re){var De="cannot ".concat(g.method," ").concat(g.action," ").concat(re.status,"'"),u=new Error(De);return u.status=re.status,u.method=g.method,u.url=g.action,u}function h(g){var re=g.responseText||g.response;if(!re)return re;try{return JSON.parse(re)}catch(De){return re}}function oe(g){var re=new XMLHttpRequest;g.onProgress&&re.upload&&(re.upload.onprogress=function(A){A.total>0&&(A.percent=A.loaded/A.total*100),g.onProgress(A)});var De=new FormData;g.data&&Object.keys(g.data).forEach(function(S){var A=g.data[S];if(Array.isArray(A)){A.forEach(function(ve){De.append("".concat(S,"[]"),ve)});return}De.append(S,A)}),g.file instanceof Blob?De.append(g.filename,g.file,g.file.name):De.append(g.filename,g.file),re.onerror=function(A){g.onError(A)},re.onload=function(){return re.status<200||re.status>=300?g.onError(s(g,re),h(re)):g.onSuccess(h(re),re)},re.open(g.method,g.action,!0),g.withCredentials&&"withCredentials"in re&&(re.withCredentials=!0);var u=g.headers||{};return u["X-Requested-With"]!==null&&re.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(u).forEach(function(S){u[S]!==null&&re.setRequestHeader(S,u[S])}),re.send(De),{abort:function(){re.abort()}}}var le=function(){var g=(0,Pe.Z)((0,Fe.Z)().mark(function re(De,u){var S,A,ve,j,O,V,ee,ae;return(0,Fe.Z)().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:V=function(){return V=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){return(0,Fe.Z)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.abrupt("return",new Promise(function(ke){we.file(function(Q){u(Q)?(we.fullPath&&!Q.webkitRelativePath&&(Object.defineProperties(Q,{webkitRelativePath:{writable:!0}}),Q.webkitRelativePath=we.fullPath.replace(/^\//,""),Object.defineProperties(Q,{webkitRelativePath:{writable:!1}})),ke(Q)):ke(null)})}));case 1:case"end":return ut.stop()}},te)})),V.apply(this,arguments)},O=function(te){return V.apply(this,arguments)},j=function(){return j=(0,Pe.Z)((0,Fe.Z)().mark(function te(we){var Ne,ut,ke,Q,Ce;return(0,Fe.Z)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:Ne=we.createReader(),ut=[];case 2:return Ye.next=5,new Promise(function(ht){Ne.readEntries(ht,function(){return ht([])})});case 5:if(ke=Ye.sent,Q=ke.length,Q){Ye.next=9;break}return Ye.abrupt("break",12);case 9:for(Ce=0;Ce{const{componentCls:re,iconCls:De}=g;return{[`${re}-wrapper`]:{[`${re}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:g.colorFillAlter,border:`${(0,Qe.unit)(g.lineWidth)} dashed ${g.colorBorder}`,borderRadius:g.borderRadiusLG,cursor:"pointer",transition:`border-color ${g.motionDurationSlow}`,[re]:{padding:g.padding},[`${re}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:g.borderRadiusLG,"&:focus-visible":{outline:`${(0,Qe.unit)(g.lineWidthFocus)} solid ${g.colorPrimaryBorder}`}},[`${re}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${re}-disabled):hover, &-hover:not(${re}-disabled) `]:{borderColor:g.colorPrimaryHover},[`p${re}-drag-icon`]:{marginBottom:g.margin,[De]:{color:g.colorPrimary,fontSize:g.uploadThumbnailSize}},[`p${re}-text`]:{margin:`0 0 ${(0,Qe.unit)(g.marginXXS)}`,color:g.colorTextHeading,fontSize:g.fontSizeLG},[`p${re}-hint`]:{color:g.colorTextDescription,fontSize:g.fontSize},[`&${re}-disabled`]:{[`p${re}-drag-icon ${De}, @@ -179,20 +179,20 @@ `]:{color:g.colorTextDisabled}}}}}},bt=g=>{const{componentCls:re,iconCls:De,fontSize:u,lineHeight:S,calc:A}=g,ve=`${re}-list-item`,j=`${ve}-actions`,O=`${ve}-action`;return{[`${re}-wrapper`]:{[`${re}-list`]:Object.assign(Object.assign({},(0,tt.dF)()),{lineHeight:g.lineHeight,[ve]:{position:"relative",height:A(g.lineHeight).mul(u).equal(),marginTop:g.marginXS,fontSize:u,display:"flex",alignItems:"center",transition:`background-color ${g.motionDurationSlow}`,borderRadius:g.borderRadiusSM,"&:hover":{backgroundColor:g.controlItemBgHover},[`${ve}-name`]:Object.assign(Object.assign({},tt.vS),{padding:`0 ${(0,Qe.unit)(g.paddingXS)}`,lineHeight:S,flex:"auto",transition:`all ${g.motionDurationSlow}`}),[j]:{whiteSpace:"nowrap",[O]:{opacity:0},[De]:{color:g.actionsColor,transition:`all ${g.motionDurationSlow}`},[` ${O}:focus-visible, &.picture ${O} - `]:{opacity:1}},[`${re}-icon ${De}`]:{color:g.colorTextDescription,fontSize:u},[`${ve}-progress`]:{position:"absolute",bottom:g.calc(g.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:A(u).add(g.paddingXS).equal(),fontSize:u,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ve}:hover ${O}`]:{opacity:1},[`${ve}-error`]:{color:g.colorError,[`${ve}-name, ${re}-icon ${De}`]:{color:g.colorError},[j]:{[`${De}, ${De}:hover`]:{color:g.colorError},[O]:{opacity:1}}},[`${re}-list-item-container`]:{transition:`opacity ${g.motionDurationSlow}, height ${g.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Te=t(99495),R=g=>{const{componentCls:re}=g,De=new Qe.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:g.calc(g.marginXS).div(-2).equal()}}),u=new Qe.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:g.calc(g.marginXS).div(-2).equal()}}),S=`${re}-animate-inline`;return[{[`${re}-wrapper`]:{[`${S}-appear, ${S}-enter, ${S}-leave`]:{animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseInOutCirc,animationFillMode:"forwards"},[`${S}-appear, ${S}-enter`]:{animationName:De},[`${S}-leave`]:{animationName:u}}},{[`${re}-wrapper`]:(0,Te.J$)(g)},De,u]},U=t(68361);const p=g=>{const{componentCls:re,iconCls:De,uploadThumbnailSize:u,uploadProgressOffset:S,calc:A}=g,ve=`${re}-list`,j=`${ve}-item`;return{[`${re}-wrapper`]:{[` + `]:{opacity:1}},[`${re}-icon ${De}`]:{color:g.colorTextDescription,fontSize:u},[`${ve}-progress`]:{position:"absolute",bottom:g.calc(g.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:A(u).add(g.paddingXS).equal(),fontSize:u,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ve}:hover ${O}`]:{opacity:1},[`${ve}-error`]:{color:g.colorError,[`${ve}-name, ${re}-icon ${De}`]:{color:g.colorError},[j]:{[`${De}, ${De}:hover`]:{color:g.colorError},[O]:{opacity:1}}},[`${re}-list-item-container`]:{transition:`opacity ${g.motionDurationSlow}, height ${g.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Te=t(99495),R=g=>{const{componentCls:re}=g,De=new Qe.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:g.calc(g.marginXS).div(-2).equal()}}),u=new Qe.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:g.calc(g.marginXS).div(-2).equal()}}),S=`${re}-animate-inline`;return[{[`${re}-wrapper`]:{[`${S}-appear, ${S}-enter, ${S}-leave`]:{animationDuration:g.motionDurationSlow,animationTimingFunction:g.motionEaseInOutCirc,animationFillMode:"forwards"},[`${S}-appear, ${S}-enter`]:{animationName:De},[`${S}-leave`]:{animationName:u}}},{[`${re}-wrapper`]:(0,Te.J$)(g)},De,u]},X=t(68361);const p=g=>{const{componentCls:re,iconCls:De,uploadThumbnailSize:u,uploadProgressOffset:S,calc:A}=g,ve=`${re}-list`,j=`${ve}-item`;return{[`${re}-wrapper`]:{[` ${ve}${ve}-picture, ${ve}${ve}-picture-card, ${ve}${ve}-picture-circle - `]:{[j]:{position:"relative",height:A(u).add(A(g.lineWidth).mul(2)).add(A(g.paddingXS).mul(2)).equal(),padding:g.paddingXS,border:`${(0,Qe.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderRadius:g.borderRadiusLG,"&:hover":{background:"transparent"},[`${j}-thumbnail`]:Object.assign(Object.assign({},tt.vS),{width:u,height:u,lineHeight:(0,Qe.unit)(A(u).add(g.paddingSM).equal()),textAlign:"center",flex:"none",[De]:{fontSize:g.fontSizeHeading2,color:g.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${j}-progress`]:{bottom:S,width:`calc(100% - ${(0,Qe.unit)(A(g.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:A(u).add(g.paddingXS).equal()}},[`${j}-error`]:{borderColor:g.colorError,[`${j}-thumbnail ${De}`]:{[`svg path[fill='${U.blue[0]}']`]:{fill:g.colorErrorBg},[`svg path[fill='${U.blue.primary}']`]:{fill:g.colorError}}},[`${j}-uploading`]:{borderStyle:"dashed",[`${j}-name`]:{marginBottom:S}}},[`${ve}${ve}-picture-circle ${j}`]:{[`&, &::before, ${j}-thumbnail`]:{borderRadius:"50%"}}}}},fe=g=>{const{componentCls:re,iconCls:De,fontSizeLG:u,colorTextLightSolid:S,calc:A}=g,ve=`${re}-list`,j=`${ve}-item`,O=g.uploadPicCardSize;return{[` + `]:{[j]:{position:"relative",height:A(u).add(A(g.lineWidth).mul(2)).add(A(g.paddingXS).mul(2)).equal(),padding:g.paddingXS,border:`${(0,Qe.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderRadius:g.borderRadiusLG,"&:hover":{background:"transparent"},[`${j}-thumbnail`]:Object.assign(Object.assign({},tt.vS),{width:u,height:u,lineHeight:(0,Qe.unit)(A(u).add(g.paddingSM).equal()),textAlign:"center",flex:"none",[De]:{fontSize:g.fontSizeHeading2,color:g.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${j}-progress`]:{bottom:S,width:`calc(100% - ${(0,Qe.unit)(A(g.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:A(u).add(g.paddingXS).equal()}},[`${j}-error`]:{borderColor:g.colorError,[`${j}-thumbnail ${De}`]:{[`svg path[fill='${X.blue[0]}']`]:{fill:g.colorErrorBg},[`svg path[fill='${X.blue.primary}']`]:{fill:g.colorError}}},[`${j}-uploading`]:{borderStyle:"dashed",[`${j}-name`]:{marginBottom:S}}},[`${ve}${ve}-picture-circle ${j}`]:{[`&, &::before, ${j}-thumbnail`]:{borderRadius:"50%"}}}}},fe=g=>{const{componentCls:re,iconCls:De,fontSizeLG:u,colorTextLightSolid:S,calc:A}=g,ve=`${re}-list`,j=`${ve}-item`,O=g.uploadPicCardSize;return{[` ${re}-wrapper${re}-picture-card-wrapper, ${re}-wrapper${re}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,tt.dF)()),{display:"block",[`${re}${re}-select`]:{width:O,height:O,textAlign:"center",verticalAlign:"top",backgroundColor:g.colorFillAlter,border:`${(0,Qe.unit)(g.lineWidth)} dashed ${g.colorBorder}`,borderRadius:g.borderRadiusLG,cursor:"pointer",transition:`border-color ${g.motionDurationSlow}`,[`> ${re}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${re}-disabled):hover`]:{borderColor:g.colorPrimary}},[`${ve}${ve}-picture-card, ${ve}${ve}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:g.marginXS,marginInlineEnd:g.marginXS}},"@supports (gap: 1px)":{gap:g.marginXS},[`${ve}-item-container`]:{display:"inline-block",width:O,height:O,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[j]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`,backgroundColor:g.colorBgMask,opacity:0,transition:`all ${g.motionDurationSlow}`,content:'" "'}},[`${j}:hover`]:{[`&::before, ${j}-actions`]:{opacity:1}},[`${j}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${g.motionDurationSlow}`,[` ${De}-eye, ${De}-download, ${De}-delete - `]:{zIndex:10,width:u,margin:`0 ${(0,Qe.unit)(g.marginXXS)}`,fontSize:u,cursor:"pointer",transition:`all ${g.motionDurationSlow}`,color:S,"&:hover":{color:S},svg:{verticalAlign:"baseline"}}},[`${j}-thumbnail, ${j}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${j}-name`]:{display:"none",textAlign:"center"},[`${j}-file + ${j}-name`]:{position:"absolute",bottom:g.margin,display:"block",width:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`},[`${j}-uploading`]:{[`&${j}`]:{backgroundColor:g.colorFillAlter},[`&::before, ${De}-eye, ${De}-download, ${De}-delete`]:{display:"none"}},[`${j}-progress`]:{bottom:g.marginXL,width:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${re}-wrapper${re}-picture-circle-wrapper`]:{[`${re}${re}-select`]:{borderRadius:"50%"}}}};var o=g=>{const{componentCls:re}=g;return{[`${re}-rtl`]:{direction:"rtl"}}};const f=g=>{const{componentCls:re,colorTextDisabled:De}=g;return{[`${re}-wrapper`]:Object.assign(Object.assign({},(0,tt.Wf)(g)),{[re]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${re}-select`]:{display:"inline-block"},[`${re}-hidden`]:{display:"none"},[`${re}-disabled`]:{color:De,cursor:"not-allowed"}})}},se=g=>({actionsColor:g.colorTextDescription});var _=(0,Se.I$)("Upload",g=>{const{fontSizeHeading3:re,fontHeight:De,lineWidth:u,controlHeightLG:S,calc:A}=g,ve=(0,ge.mergeToken)(g,{uploadThumbnailSize:A(re).mul(2).equal(),uploadProgressOffset:A(A(De).div(2)).add(u).equal(),uploadPicCardSize:A(S).mul(2.55).equal()});return[f(ve),qe(ve),p(ve),fe(ve),bt(ve),R(ve),o(ve),(0,q.Z)(ve)]},se),$={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:De}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:re}}]}},name:"file",theme:"twotone"},N=$,X=t(7657),ue=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:N}))},c=e.forwardRef(ue),y=c,Ge=t(58617),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Le=G,He=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:Le}))},nt=e.forwardRef(He),it=nt,et={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:re}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:De}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:De}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:De}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:re}}]}},name:"picture",theme:"twotone"},w=et,pe=function(re,De){return e.createElement(X.Z,(0,D.Z)({},re,{ref:De,icon:w}))},Ze=e.forwardRef(pe),Ue=Ze,ot=t(77900),Tt=t(2738),ct=t(40192),dt=t(86641),Rt=t(22703),Vt=t(7939);function Ht(g){return Object.assign(Object.assign({},g),{lastModified:g.lastModified,lastModifiedDate:g.lastModifiedDate,name:g.name,size:g.size,type:g.type,uid:g.uid,percent:0,originFileObj:g})}function Xt(g,re){const De=(0,d.Z)(re),u=De.findIndex(S=>{let{uid:A}=S;return A===g.uid});return u===-1?De.push(g):De[u]=g,De}function wt(g,re){const De=g.uid!==void 0?"uid":"name";return re.filter(u=>u[De]===g[De])[0]}function Ut(g,re){const De=g.uid!==void 0?"uid":"name",u=re.filter(S=>S[De]!==g[De]);return u.length===re.length?null:u}const yt=function(){const re=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),u=re[re.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(u)||[""])[0]},Bt=g=>g.indexOf("image/")===0,Pt=g=>{if(g.type&&!g.thumbUrl)return Bt(g.type);const re=g.thumbUrl||g.url||"",De=yt(re);return/^data:image\//.test(re)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(De)?!0:!(/^data:/.test(re)||De)},kt=200;function Wt(g){return new Promise(re=>{if(!g.type||!Bt(g.type)){re("");return}const De=document.createElement("canvas");De.width=kt,De.height=kt,De.style.cssText=`position: fixed; left: 0; top: 0; width: ${kt}px; height: ${kt}px; z-index: 9999; display: none;`,document.body.appendChild(De);const u=De.getContext("2d"),S=new Image;if(S.onload=()=>{const{width:A,height:ve}=S;let j=kt,O=kt,W=0,ee=0;A>ve?(O=ve*(kt/A),ee=-(O-j)/2):(j=A*(kt/ve),W=-(j-O)/2),u.drawImage(S,W,ee,j,O);const ae=De.toDataURL();document.body.removeChild(De),window.URL.revokeObjectURL(S.src),re(ae)},S.crossOrigin="anonymous",g.type.startsWith("image/svg+xml")){const A=new FileReader;A.onload=()=>{A.result&&typeof A.result=="string"&&(S.src=A.result)},A.readAsDataURL(g)}else if(g.type.startsWith("image/gif")){const A=new FileReader;A.onload=()=>{A.result&&re(A.result)},A.readAsDataURL(g)}else S.src=window.URL.createObjectURL(g)})}var pt=t(26227),Lt=t(41464),ln=t(15277),rn=t(89787),xn=t(25399),Mn=e.forwardRef((g,re)=>{let{prefixCls:De,className:u,style:S,locale:A,listType:ve,file:j,items:O,progress:W,iconRender:ee,actionIconRender:ae,itemRender:b,isImgUrl:m,showPreviewIcon:B,showRemoveIcon:te,showDownloadIcon:we,previewIcon:Ne,removeIcon:ut,downloadIcon:ke,extra:Q,onPreview:Ce,onDownload:Me,onClose:Ye}=g;var ht,ft;const{status:Ct}=j,[It,Dt]=e.useState(Ct);e.useEffect(()=>{Ct!=="removed"&&Dt(Ct)},[Ct]);const[Mt,$t]=e.useState(!1);e.useEffect(()=>{const en=setTimeout(()=>{$t(!0)},300);return()=>{clearTimeout(en)}},[]);const Et=ee(j);let Jt=e.createElement("div",{className:`${De}-icon`},Et);if(ve==="picture"||ve==="picture-card"||ve==="picture-circle")if(It==="uploading"||!j.thumbUrl&&!j.url){const en=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:It!=="uploading"});Jt=e.createElement("div",{className:en},Et)}else{const en=m!=null&&m(j)?e.createElement("img",{src:j.thumbUrl||j.url,alt:j.name,className:`${De}-list-item-image`,crossOrigin:j.crossOrigin}):Et,cn=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:m&&!m(j)});Jt=e.createElement("a",{className:cn,onClick:Rn=>Ce(j,Rn),href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer"},en)}const At=x()(`${De}-list-item`,`${De}-list-item-${It}`),sn=typeof j.linkProps=="string"?JSON.parse(j.linkProps):j.linkProps,Gt=(typeof te=="function"?te(j):te)?ae((typeof ut=="function"?ut(j):ut)||e.createElement(pt.Z,null),()=>Ye(j),De,A.removeFile,!0):null,Yt=(typeof we=="function"?we(j):we)&&It==="done"?ae((typeof ke=="function"?ke(j):ke)||e.createElement(Lt.Z,null),()=>Me(j),De,A.downloadFile):null,nn=ve!=="picture-card"&&ve!=="picture-circle"&&e.createElement("span",{key:"download-delete",className:x()(`${De}-list-item-actions`,{picture:ve==="picture"})},Yt,Gt),fn=typeof Q=="function"?Q(j):Q,Zt=fn&&e.createElement("span",{className:`${De}-list-item-extra`},fn),Qt=x()(`${De}-list-item-name`),Ft=j.url?e.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qt,title:j.name},sn,{href:j.url,onClick:en=>Ce(j,en)}),j.name,Zt):e.createElement("span",{key:"view",className:Qt,onClick:en=>Ce(j,en),title:j.name},j.name,Zt),_e=(typeof B=="function"?B(j):B)&&(j.url||j.thumbUrl)?e.createElement("a",{href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:en=>Ce(j,en),title:A.previewFile},typeof Ne=="function"?Ne(j):Ne||e.createElement(ln.Z,null)):null,mt=(ve==="picture-card"||ve==="picture-circle")&&It!=="uploading"&&e.createElement("span",{className:`${De}-list-item-actions`},_e,It==="done"&&Yt,Gt),{getPrefixCls:Kt}=e.useContext(We.E_),jt=Kt(),qt=e.createElement("div",{className:At},Jt,Ft,nn,mt,Mt&&e.createElement(ot.default,{motionName:`${jt}-fade`,visible:It==="uploading",motionDeadline:2e3},en=>{let{className:cn}=en;const Rn="percent"in j?e.createElement(rn.Z,Object.assign({},W,{type:"line",percent:j.percent,"aria-label":j["aria-label"],"aria-labelledby":j["aria-labelledby"]})):null;return e.createElement("div",{className:x()(`${De}-list-item-progress`,cn)},Rn)})),un=j.response&&typeof j.response=="string"?j.response:((ht=j.error)===null||ht===void 0?void 0:ht.statusText)||((ft=j.error)===null||ft===void 0?void 0:ft.message)||A.uploadError,on=It==="error"?e.createElement(xn.Z,{title:un,getPopupContainer:en=>en.parentNode},qt):qt;return e.createElement("div",{className:x()(`${De}-list-item-container`,u),style:S,ref:re},b?b(on,j,O,{download:Me.bind(null,j),preview:Ce.bind(null,j),remove:Ye.bind(null,j)}):on)});const tn=(g,re)=>{const{listType:De="text",previewFile:u=Wt,onPreview:S,onDownload:A,onRemove:ve,locale:j,iconRender:O,isImageUrl:W=Pt,prefixCls:ee,items:ae=[],showPreviewIcon:b=!0,showRemoveIcon:m=!0,showDownloadIcon:B=!1,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,progress:ke={size:[-1,2],showInfo:!1},appendAction:Q,appendActionVisible:Ce=!0,itemRender:Me,disabled:Ye}=g,ht=(0,ct.Z)(),[ft,Ct]=e.useState(!1),It=["picture-card","picture-circle"].includes(De);e.useEffect(()=>{De.startsWith("picture")&&(ae||[]).forEach(Zt=>{!(Zt.originFileObj instanceof File||Zt.originFileObj instanceof Blob)||Zt.thumbUrl!==void 0||(Zt.thumbUrl="",u==null||u(Zt.originFileObj).then(Qt=>{Zt.thumbUrl=Qt||"",ht()}))})},[De,ae,u]),e.useEffect(()=>{Ct(!0)},[]);const Dt=(Zt,Qt)=>{if(S)return Qt==null||Qt.preventDefault(),S(Zt)},Mt=Zt=>{typeof A=="function"?A(Zt):Zt.url&&window.open(Zt.url)},$t=Zt=>{ve==null||ve(Zt)},Et=Zt=>{if(O)return O(Zt,De);const Qt=Zt.status==="uploading";if(De.startsWith("picture")){const Ft=De==="picture"?e.createElement(Ge.Z,null):j.uploading,_e=W!=null&&W(Zt)?e.createElement(Ue,null):e.createElement(y,null);return Qt?Ft:_e}return Qt?e.createElement(Ge.Z,null):e.createElement(it,null)},Jt=(Zt,Qt,Ft,_e,mt)=>{const Kt={type:"text",size:"small",title:_e,onClick:jt=>{var qt,un;Qt(),e.isValidElement(Zt)&&((un=(qt=Zt.props).onClick)===null||un===void 0||un.call(qt,jt))},className:`${Ft}-list-item-action`};return mt&&(Kt.disabled=Ye),e.isValidElement(Zt)?e.createElement(Vt.ZP,Object.assign({},Kt,{icon:(0,Rt.Tm)(Zt,Object.assign(Object.assign({},Zt.props),{onClick:()=>{}}))})):e.createElement(Vt.ZP,Object.assign({},Kt),e.createElement("span",null,Zt))};e.useImperativeHandle(re,()=>({handlePreview:Dt,handleDownload:Mt}));const{getPrefixCls:At}=e.useContext(We.E_),sn=At("upload",ee),Gt=At(),Yt=x()(`${sn}-list`,`${sn}-list-${De}`),nn=e.useMemo(()=>(0,Tt.Z)((0,dt.Z)(Gt),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Gt]),fn=Object.assign(Object.assign({},It?{}:nn),{motionDeadline:2e3,motionName:`${sn}-${It?"animate-inline":"animate"}`,keys:(0,d.Z)(ae.map(Zt=>({key:Zt.uid,file:Zt}))),motionAppear:ft});return e.createElement("div",{className:Yt},e.createElement(ot.CSSMotionList,Object.assign({},fn,{component:!1}),Zt=>{let{key:Qt,file:Ft,className:_e,style:mt}=Zt;return e.createElement(Mn,{key:Qt,locale:j,prefixCls:sn,className:_e,style:mt,file:Ft,items:ae,progress:ke,listType:De,isImgUrl:W,showPreviewIcon:b,showRemoveIcon:m,showDownloadIcon:B,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,iconRender:Et,actionIconRender:Jt,itemRender:Me,onPreview:Dt,onDownload:Mt,onClose:$t})}),Q&&e.createElement(ot.default,Object.assign({},fn,{visible:Ce,forceRender:!0}),Zt=>{let{className:Qt,style:Ft}=Zt;return(0,Rt.Tm)(Q,_e=>({className:x()(_e.className,Qt),style:Object.assign(Object.assign(Object.assign({},Ft),{pointerEvents:Qt?"none":void 0}),_e.style)}))}))};var Pn=e.forwardRef(tn),bn=function(g,re,De,u){function S(A){return A instanceof De?A:new De(function(ve){ve(A)})}return new(De||(De=Promise))(function(A,ve){function j(ee){try{W(u.next(ee))}catch(ae){ve(ae)}}function O(ee){try{W(u.throw(ee))}catch(ae){ve(ae)}}function W(ee){ee.done?A(ee.value):S(ee.value).then(j,O)}W((u=u.apply(g,re||[])).next())})};const Fn=`__LIST_IGNORE_${Date.now()}__`,_n=(g,re)=>{const{fileList:De,defaultFileList:u,onRemove:S,showUploadList:A=!0,listType:ve="text",onPreview:j,onDownload:O,onChange:W,onDrop:ee,previewFile:ae,disabled:b,locale:m,iconRender:B,isImageUrl:te,progress:we,prefixCls:Ne,className:ut,type:ke="select",children:Q,style:Ce,itemRender:Me,maxCount:Ye,data:ht={},multiple:ft=!1,hasControlInside:Ct=!0,action:It="",accept:Dt="",supportServerRender:Mt=!0,rootClassName:$t}=g,Et=e.useContext(st.Z),Jt=b!=null?b:Et,[At,sn]=(0,xe.Z)(u||[],{value:De,postState:Gn=>Gn!=null?Gn:[]}),[Gt,Yt]=e.useState("drop"),nn=e.useRef(null),fn=e.useRef(null);e.useMemo(()=>{const Gn=Date.now();(De||[]).forEach((ur,yr)=>{!ur.uid&&!Object.isFrozen(ur)&&(ur.uid=`__AUTO__${Gn}_${yr}__`)})},[De]);const Zt=(Gn,ur,yr)=>{let gr=(0,d.Z)(ur),br=!1;Ye===1?gr=gr.slice(-1):Ye&&(br=gr.length>Ye,gr=gr.slice(0,Ye)),(0,i.flushSync)(()=>{sn(gr)});const Br={file:Gn,fileList:gr};yr&&(Br.event=yr),(!br||Gn.status==="removed"||gr.some(wr=>wr.uid===Gn.uid))&&(0,i.flushSync)(()=>{W==null||W(Br)})},Qt=(Gn,ur)=>bn(void 0,void 0,void 0,function*(){const{beforeUpload:yr,transformFile:gr}=g;let br=Gn;if(yr){const Br=yield yr(Gn,ur);if(Br===!1)return!1;if(delete Gn[Fn],Br===Fn)return Object.defineProperty(Gn,Fn,{value:!0,configurable:!0}),!1;typeof Br=="object"&&Br&&(br=Br)}return gr&&(br=yield gr(br)),br}),Ft=Gn=>{const ur=Gn.filter(br=>!br.file[Fn]);if(!ur.length)return;const yr=ur.map(br=>Ht(br.file));let gr=(0,d.Z)(At);yr.forEach(br=>{gr=Xt(br,gr)}),yr.forEach((br,Br)=>{let wr=br;if(ur[Br].parsedFile)br.status="uploading";else{const{originFileObj:Tr}=br;let Qr;try{Qr=new File([Tr],Tr.name,{type:Tr.type})}catch(Or){Qr=new Blob([Tr],{type:Tr.type}),Qr.name=Tr.name,Qr.lastModifiedDate=new Date,Qr.lastModified=new Date().getTime()}Qr.uid=br.uid,wr=Qr}Zt(wr,gr)})},_e=(Gn,ur,yr)=>{try{typeof Gn=="string"&&(Gn=JSON.parse(Gn))}catch(Br){}if(!wt(ur,At))return;const gr=Ht(ur);gr.status="done",gr.percent=100,gr.response=Gn,gr.xhr=yr;const br=Xt(gr,At);Zt(gr,br)},mt=(Gn,ur)=>{if(!wt(ur,At))return;const yr=Ht(ur);yr.status="uploading",yr.percent=Gn.percent;const gr=Xt(yr,At);Zt(yr,gr,Gn)},Kt=(Gn,ur,yr)=>{if(!wt(yr,At))return;const gr=Ht(yr);gr.error=Gn,gr.response=ur,gr.status="error";const br=Xt(gr,At);Zt(gr,br)},jt=Gn=>{let ur;Promise.resolve(typeof S=="function"?S(Gn):S).then(yr=>{var gr;if(yr===!1)return;const br=Ut(Gn,At);br&&(ur=Object.assign(Object.assign({},Gn),{status:"removed"}),At==null||At.forEach(Br=>{const wr=ur.uid!==void 0?"uid":"name";Br[wr]===ur[wr]&&!Object.isFrozen(Br)&&(Br.status="removed")}),(gr=nn.current)===null||gr===void 0||gr.abort(ur),Zt(ur,br))})},qt=Gn=>{Yt(Gn.type),Gn.type==="drop"&&(ee==null||ee(Gn))};e.useImperativeHandle(re,()=>({onBatchStart:Ft,onSuccess:_e,onProgress:mt,onError:Kt,fileList:At,upload:nn.current,nativeElement:fn.current}));const{getPrefixCls:un,direction:on,upload:en}=e.useContext(We.E_),cn=un("upload",Ne),Rn=Object.assign(Object.assign({onBatchStart:Ft,onError:Kt,onProgress:mt,onSuccess:_e},g),{data:ht,multiple:ft,action:It,accept:Dt,supportServerRender:Mt,prefixCls:cn,disabled:Jt,beforeUpload:Qt,onChange:void 0,hasControlInside:Ct});delete Rn.className,delete Rn.style,(!Q||Jt)&&delete Rn.id;const Bn=`${cn}-wrapper`,[yn,dn,Kn]=_(cn,Bn),[Xn]=(0,at.Z)("Upload",Ae.Z.Upload),{showRemoveIcon:ar,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,extra:$r}=typeof A=="boolean"?{}:A,Cr=typeof ar=="undefined"?!Jt:ar,vr=(Gn,ur)=>A?e.createElement(Pn,{prefixCls:cn,listType:ve,items:At,previewFile:ae,onPreview:j,onDownload:O,onRemove:jt,showRemoveIcon:Cr,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,iconRender:B,extra:$r,locale:Object.assign(Object.assign({},Xn),m),isImageUrl:te,progress:we,appendAction:Gn,appendActionVisible:ur,itemRender:Me,disabled:Jt}):Gn,En=x()(Bn,ut,$t,dn,Kn,en==null?void 0:en.className,{[`${cn}-rtl`]:on==="rtl",[`${cn}-picture-card-wrapper`]:ve==="picture-card",[`${cn}-picture-circle-wrapper`]:ve==="picture-circle"}),Hn=Object.assign(Object.assign({},en==null?void 0:en.style),Ce);if(ke==="drag"){const Gn=x()(dn,cn,`${cn}-drag`,{[`${cn}-drag-uploading`]:At.some(ur=>ur.status==="uploading"),[`${cn}-drag-hover`]:Gt==="dragover",[`${cn}-disabled`]:Jt,[`${cn}-rtl`]:on==="rtl"});return yn(e.createElement("span",{className:En,ref:fn},e.createElement("div",{className:Gn,style:Hn,onDrop:qt,onDragOver:qt,onDragLeave:qt},e.createElement(ze,Object.assign({},Rn,{ref:nn,className:`${cn}-btn`}),e.createElement("div",{className:`${cn}-drag-container`},Q))),vr()))}const lr=x()(cn,`${cn}-select`,{[`${cn}-disabled`]:Jt,[`${cn}-hidden`]:!Q}),fr=e.createElement("div",{className:lr},e.createElement(ze,Object.assign({},Rn,{ref:nn})));return yn(ve==="picture-card"||ve==="picture-circle"?e.createElement("span",{className:En,ref:fn},vr(fr,!!Q)):e.createElement("span",{className:En,ref:fn},fr,vr()))};var Be=e.forwardRef(_n),Ie=function(g,re){var De={};for(var u in g)Object.prototype.hasOwnProperty.call(g,u)&&re.indexOf(u)<0&&(De[u]=g[u]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,u=Object.getOwnPropertySymbols(g);S{var{style:De,height:u,hasControlInside:S=!1}=g,A=Ie(g,["style","height","hasControlInside"]);return e.createElement(Be,Object.assign({ref:re,hasControlInside:S},A,{type:"drag",style:Object.assign(Object.assign({},De),{height:u})}))});const be=Be;be.Dragger=Y,be.LIST_IGNORE=Fn;var ye=be},16632:function(an,Je,t){var e=t(54476),d=t(33885),i=t(20068),L=t(42978),x=t(75931),D=t(92310),E=t.n(D),Z=t(18929),K=t(59301),r=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],V=(0,K.forwardRef)(function(M,P){var me=M.prefixCls,lt=me===void 0?"rc-checkbox":me,Fe=M.className,Pe=M.style,Ve=M.checked,C=M.disabled,he=M.defaultChecked,s=he===void 0?!1:he,h=M.type,oe=h===void 0?"checkbox":h,le=M.title,v=M.onChange,je=(0,x.Z)(M,r),Oe=(0,K.useRef)(null),ne=(0,K.useRef)(null),Re=(0,Z.Z)(s,{value:Ve}),de=(0,L.Z)(Re,2),H=de[0],n=de[1];(0,K.useImperativeHandle)(P,function(){return{focus:function(xe){var We;(We=Oe.current)===null||We===void 0||We.focus(xe)},blur:function(){var xe;(xe=Oe.current)===null||xe===void 0||xe.blur()},input:Oe.current,nativeElement:ne.current}});var ce=E()(lt,Fe,(0,i.Z)((0,i.Z)({},"".concat(lt,"-checked"),H),"".concat(lt,"-disabled"),C)),T=function(xe){C||("checked"in M||n(xe.target.checked),v==null||v({target:(0,d.Z)((0,d.Z)({},M),{},{type:oe,checked:xe.target.checked}),stopPropagation:function(){xe.stopPropagation()},preventDefault:function(){xe.preventDefault()},nativeEvent:xe.nativeEvent}))};return K.createElement("span",{className:ce,title:le,style:Pe,ref:ne},K.createElement("input",(0,e.Z)({},je,{className:"".concat(lt,"-input"),ref:Oe,onChange:T,disabled:C,checked:!!H,type:oe})),K.createElement("span",{className:"".concat(lt,"-inner")}))});Je.Z=V},96478:function(an,Je,t){t.d(Je,{Z:function(){return le}});var e=t(54476),d=t(20068),i=t(42978),L=t(75931),x=t(65030),D=t(92310),E=t.n(D),Z=t(8654),K=t(59301),r=t(10228),V=t(16089),M=r.Z.ESC,P=r.Z.TAB;function me(v){var je=v.visible,Oe=v.triggerRef,ne=v.onVisibleChange,Re=v.autoFocus,de=v.overlayRef,H=K.useRef(!1),n=function(){if(je){var xe,We;(xe=Oe.current)===null||xe===void 0||(We=xe.focus)===null||We===void 0||We.call(xe),ne==null||ne(!1)}},ce=function(){var xe;return(xe=de.current)!==null&&xe!==void 0&&xe.focus?(de.current.focus(),H.current=!0,!0):!1},T=function(xe){switch(xe.keyCode){case M:n();break;case P:{var We=!1;H.current||(We=ce()),We?xe.preventDefault():n();break}}};K.useEffect(function(){return je?(window.addEventListener("keydown",T),Re&&(0,V.Z)(ce,3),function(){window.removeEventListener("keydown",T),H.current=!1}):function(){H.current=!1}},[je])}var lt=(0,K.forwardRef)(function(v,je){var Oe=v.overlay,ne=v.arrow,Re=v.prefixCls,de=(0,K.useMemo)(function(){var n;return typeof Oe=="function"?n=Oe():n=Oe,n},[Oe]),H=(0,Z.sQ)(je,(0,Z.C4)(de));return K.createElement(K.Fragment,null,ne&&K.createElement("div",{className:"".concat(Re,"-arrow")}),K.cloneElement(de,{ref:(0,Z.Yr)(de)?H:void 0}))}),Fe=lt,Pe={adjustX:1,adjustY:1},Ve=[0,0],C={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:Ve},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:Ve},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:Ve},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:Ve},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:Ve},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:Ve}},he=C,s=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function h(v,je){var Oe,ne=v.arrow,Re=ne===void 0?!1:ne,de=v.prefixCls,H=de===void 0?"rc-dropdown":de,n=v.transitionName,ce=v.animation,T=v.align,ze=v.placement,xe=ze===void 0?"bottomLeft":ze,We=v.placements,st=We===void 0?he:We,at=v.getPopupContainer,Ae=v.showAction,tt=v.hideAction,q=v.overlayClassName,Se=v.overlayStyle,ge=v.visible,Qe=v.trigger,ie=Qe===void 0?["hover"]:Qe,qe=v.autoFocus,Ke=v.overlay,bt=v.children,Te=v.onVisibleChange,k=(0,L.Z)(v,s),R=K.useState(),U=(0,i.Z)(R,2),p=U[0],fe=U[1],z="visible"in v?ge:p,o=K.useRef(null),f=K.useRef(null),se=K.useRef(null);K.useImperativeHandle(je,function(){return o.current});var _=function(Le){fe(Le),Te==null||Te(Le)};me({visible:z,triggerRef:se,onVisibleChange:_,autoFocus:qe,overlayRef:f});var $=function(Le){var He=v.onOverlayClick;fe(!1),He&&He(Le)},N=function(){return K.createElement(Fe,{ref:f,overlay:Ke,prefixCls:H,arrow:Re})},X=function(){return typeof Ke=="function"?N:N()},ue=function(){var Le=v.minOverlayWidthMatchTrigger,He=v.alignPoint;return"minOverlayWidthMatchTrigger"in v?Le:!He},c=function(){var Le=v.openClassName;return Le!==void 0?Le:"".concat(H,"-open")},y=K.cloneElement(bt,{className:E()((Oe=bt.props)===null||Oe===void 0?void 0:Oe.className,z&&c()),ref:(0,Z.Yr)(bt)?(0,Z.sQ)(se,(0,Z.C4)(bt)):void 0}),Ge=tt;return!Ge&&ie.indexOf("contextMenu")!==-1&&(Ge=["click"]),K.createElement(x.Z,(0,e.Z)({builtinPlacements:st},k,{prefixCls:H,ref:o,popupClassName:E()(q,(0,d.Z)({},"".concat(H,"-show-arrow"),Re)),popupStyle:Se,action:ie,showAction:Ae,hideAction:Ge,popupPlacement:xe,popupAlign:T,popupTransitionName:n,popupAnimation:ce,popupVisible:z,stretch:ue()?"minWidth":"",popup:X(),onPopupVisibleChange:_,onPopupClick:$,getPopupContainer:at}),y)}var oe=K.forwardRef(h),le=oe},66003:function(an,Je,t){t.d(Je,{Z:function(){return E}});var e=t(75931),d=t(33885),i=t(76190),L=t(59301),x=["show"];function D(Z,K){if(!K.max)return!0;var r=K.strategy(Z);return r<=K.max}function E(Z,K){return L.useMemo(function(){var r={};K&&(r.show=(0,i.Z)(K)==="object"&&K.formatter?K.formatter:!!K),r=(0,d.Z)((0,d.Z)({},r),Z);var V=r,M=V.show,P=(0,e.Z)(V,x);return(0,d.Z)((0,d.Z)({},P),{},{show:!!M,showFormatter:typeof M=="function"?M:void 0,strategy:P.strategy||function(me){return me.length}})},[Z,K])}},36901:function(an,Je,t){t.r(Je),t.d(Je,{BaseInput:function(){return r},default:function(){return he}});var e=t(33885),d=t(54476),i=t(20068),L=t(76190),x=t(92310),D=t.n(x),E=t(59301),Z=t(30292),K=E.forwardRef(function(s,h){var oe,le,v,je=s.inputElement,Oe=s.children,ne=s.prefixCls,Re=s.prefix,de=s.suffix,H=s.addonBefore,n=s.addonAfter,ce=s.className,T=s.style,ze=s.disabled,xe=s.readOnly,We=s.focused,st=s.triggerFocus,at=s.allowClear,Ae=s.value,tt=s.handleReset,q=s.hidden,Se=s.classes,ge=s.classNames,Qe=s.dataAttrs,ie=s.styles,qe=s.components,Ke=s.onClear,bt=Oe!=null?Oe:je,Te=(qe==null?void 0:qe.affixWrapper)||"span",k=(qe==null?void 0:qe.groupWrapper)||"span",R=(qe==null?void 0:qe.wrapper)||"span",U=(qe==null?void 0:qe.groupAddon)||"span",p=(0,E.useRef)(null),fe=function(it){var et;(et=p.current)!==null&&et!==void 0&&et.contains(it.target)&&(st==null||st())},z=(0,Z.X3)(s),o=(0,E.cloneElement)(bt,{value:Ae,className:D()((oe=bt.props)===null||oe===void 0?void 0:oe.className,!z&&(ge==null?void 0:ge.variant))||null}),f=(0,E.useRef)(null);if(E.useImperativeHandle(h,function(){return{nativeElement:f.current||p.current}}),z){var se=null;if(at){var _=!ze&&!xe&&Ae,$="".concat(ne,"-clear-icon"),N=(0,L.Z)(at)==="object"&&at!==null&&at!==void 0&&at.clearIcon?at.clearIcon:"\u2716";se=E.createElement("button",{type:"button",tabIndex:-1,onClick:function(it){tt==null||tt(it),Ke==null||Ke()},onMouseDown:function(it){return it.preventDefault()},className:D()($,(0,i.Z)((0,i.Z)({},"".concat($,"-hidden"),!_),"".concat($,"-has-suffix"),!!de))},N)}var X="".concat(ne,"-affix-wrapper"),ue=D()(X,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(ne,"-disabled"),ze),"".concat(X,"-disabled"),ze),"".concat(X,"-focused"),We),"".concat(X,"-readonly"),xe),"".concat(X,"-input-with-clear-btn"),de&&at&&Ae),Se==null?void 0:Se.affixWrapper,ge==null?void 0:ge.affixWrapper,ge==null?void 0:ge.variant),c=(de||at)&&E.createElement("span",{className:D()("".concat(ne,"-suffix"),ge==null?void 0:ge.suffix),style:ie==null?void 0:ie.suffix},se,de);o=E.createElement(Te,(0,d.Z)({className:ue,style:ie==null?void 0:ie.affixWrapper,onClick:fe},Qe==null?void 0:Qe.affixWrapper,{ref:p}),Re&&E.createElement("span",{className:D()("".concat(ne,"-prefix"),ge==null?void 0:ge.prefix),style:ie==null?void 0:ie.prefix},Re),o,c)}if((0,Z.He)(s)){var y="".concat(ne,"-group"),Ge="".concat(y,"-addon"),G="".concat(y,"-wrapper"),Le=D()("".concat(ne,"-wrapper"),y,Se==null?void 0:Se.wrapper,ge==null?void 0:ge.wrapper),He=D()(G,(0,i.Z)({},"".concat(G,"-disabled"),ze),Se==null?void 0:Se.group,ge==null?void 0:ge.groupWrapper);o=E.createElement(k,{className:He,ref:f},E.createElement(R,{className:Le},H&&E.createElement(U,{className:Ge},H),o,n&&E.createElement(U,{className:Ge},n)))}return E.cloneElement(o,{className:D()((le=o.props)===null||le===void 0?void 0:le.className,ce)||null,style:(0,e.Z)((0,e.Z)({},(v=o.props)===null||v===void 0?void 0:v.style),T),hidden:q})}),r=K,V=t(94480),M=t(42978),P=t(75931),me=t(18929),lt=t(2738),Fe=t(66003),Pe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Ve=(0,E.forwardRef)(function(s,h){var oe=s.autoComplete,le=s.onChange,v=s.onFocus,je=s.onBlur,Oe=s.onPressEnter,ne=s.onKeyDown,Re=s.onKeyUp,de=s.prefixCls,H=de===void 0?"rc-input":de,n=s.disabled,ce=s.htmlSize,T=s.className,ze=s.maxLength,xe=s.suffix,We=s.showCount,st=s.count,at=s.type,Ae=at===void 0?"text":at,tt=s.classes,q=s.classNames,Se=s.styles,ge=s.onCompositionStart,Qe=s.onCompositionEnd,ie=(0,P.Z)(s,Pe),qe=(0,E.useState)(!1),Ke=(0,M.Z)(qe,2),bt=Ke[0],Te=Ke[1],k=(0,E.useRef)(!1),R=(0,E.useRef)(!1),U=(0,E.useRef)(null),p=(0,E.useRef)(null),fe=function(dt){U.current&&(0,Z.nH)(U.current,dt)},z=(0,me.Z)(s.defaultValue,{value:s.value}),o=(0,M.Z)(z,2),f=o[0],se=o[1],_=f==null?"":String(f),$=(0,E.useState)(null),N=(0,M.Z)($,2),X=N[0],ue=N[1],c=(0,Fe.Z)(st,We),y=c.max||ze,Ge=c.strategy(_),G=!!y&&Ge>y;(0,E.useImperativeHandle)(h,function(){var ct;return{focus:fe,blur:function(){var Rt;(Rt=U.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,Vt,Ht){var Xt;(Xt=U.current)===null||Xt===void 0||Xt.setSelectionRange(Rt,Vt,Ht)},select:function(){var Rt;(Rt=U.current)===null||Rt===void 0||Rt.select()},input:U.current,nativeElement:((ct=p.current)===null||ct===void 0?void 0:ct.nativeElement)||U.current}}),(0,E.useEffect)(function(){R.current&&(R.current=!1),Te(function(ct){return ct&&n?!1:ct})},[n]);var Le=function(dt,Rt,Vt){var Ht=Rt;if(!k.current&&c.exceedFormatter&&c.max&&c.strategy(Rt)>c.max){if(Ht=c.exceedFormatter(Rt,{max:c.max}),Rt!==Ht){var Xt,wt;ue([((Xt=U.current)===null||Xt===void 0?void 0:Xt.selectionStart)||0,((wt=U.current)===null||wt===void 0?void 0:wt.selectionEnd)||0])}}else if(Vt.source==="compositionEnd")return;se(Ht),U.current&&(0,Z.rJ)(U.current,dt,le,Ht)};(0,E.useEffect)(function(){if(X){var ct;(ct=U.current)===null||ct===void 0||ct.setSelectionRange.apply(ct,(0,V.Z)(X))}},[X]);var He=function(dt){Le(dt,dt.target.value,{source:"change"})},nt=function(dt){k.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),Qe==null||Qe(dt)},it=function(dt){Oe&&dt.key==="Enter"&&!R.current&&(R.current=!0,Oe(dt)),ne==null||ne(dt)},et=function(dt){dt.key==="Enter"&&(R.current=!1),Re==null||Re(dt)},w=function(dt){Te(!0),v==null||v(dt)},pe=function(dt){R.current&&(R.current=!1),Te(!1),je==null||je(dt)},Ze=function(dt){se(""),fe(),U.current&&(0,Z.rJ)(U.current,dt,le)},Ue=G&&"".concat(H,"-out-of-range"),ot=function(){var dt=(0,lt.Z)(s,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return E.createElement("input",(0,d.Z)({autoComplete:oe},dt,{onChange:He,onFocus:w,onBlur:pe,onKeyDown:it,onKeyUp:et,className:D()(H,(0,i.Z)({},"".concat(H,"-disabled"),n),q==null?void 0:q.input),style:Se==null?void 0:Se.input,ref:U,size:ce,type:Ae,onCompositionStart:function(Vt){k.current=!0,ge==null||ge(Vt)},onCompositionEnd:nt}))},Tt=function(){var dt=Number(y)>0;if(xe||c.show){var Rt=c.showFormatter?c.showFormatter({value:_,count:Ge,maxLength:y}):"".concat(Ge).concat(dt?" / ".concat(y):"");return E.createElement(E.Fragment,null,c.show&&E.createElement("span",{className:D()("".concat(H,"-show-count-suffix"),(0,i.Z)({},"".concat(H,"-show-count-has-suffix"),!!xe),q==null?void 0:q.count),style:(0,e.Z)({},Se==null?void 0:Se.count)},Rt),xe)}return null};return E.createElement(r,(0,d.Z)({},ie,{prefixCls:H,className:D()(T,Ue),handleReset:Ze,value:_,focused:bt,triggerFocus:fe,suffix:Tt(),disabled:n,classes:tt,classNames:q,styles:Se}),ot())}),C=Ve,he=C},30292:function(an,Je,t){t.d(Je,{He:function(){return e},X3:function(){return d},nH:function(){return x},rJ:function(){return L}});function e(D){return!!(D.addonBefore||D.addonAfter)}function d(D){return!!(D.prefix||D.suffix||D.allowClear)}function i(D,E,Z){var K=E.cloneNode(!0),r=Object.create(D,{target:{value:K},currentTarget:{value:K}});return K.value=Z,typeof E.selectionStart=="number"&&typeof E.selectionEnd=="number"&&(K.selectionStart=E.selectionStart,K.selectionEnd=E.selectionEnd),K.setSelectionRange=function(){E.setSelectionRange.apply(E,arguments)},r}function L(D,E,Z,K){if(Z){var r=E;if(E.type==="click"){r=i(E,D,""),Z(r);return}if(D.type!=="file"&&K!==void 0){r=i(E,D,K),Z(r);return}Z(r)}}function x(D,E){if(D){D.focus(E);var Z=E||{},K=Z.cursor;if(K){var r=D.value.length;switch(K){case"start":D.setSelectionRange(0,0);break;case"end":D.setSelectionRange(r,r);break;default:D.setSelectionRange(0,r)}}}}},28321:function(an,Je,t){t.d(Je,{iz:function(){return Be},ck:function(){return Ht},BW:function(){return be},sN:function(){return Ht},Wd:function(){return _n},ZP:function(){return j},Xl:function(){return Oe}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(83836),r=t(18929),V=t(13697),M=t(48736),P=t(59301),me=t(4676),lt=P.createContext(null);function Fe(O,W){return O===void 0?null:"".concat(O,"-").concat(W)}function Pe(O){var W=P.useContext(lt);return Fe(W,O)}var Ve=t(80547),C=["children","locked"],he=P.createContext(null);function s(O,W){var ee=(0,i.Z)({},O);return Object.keys(W).forEach(function(ae){var b=W[ae];b!==void 0&&(ee[ae]=b)}),ee}function h(O){var W=O.children,ee=O.locked,ae=(0,D.Z)(O,C),b=P.useContext(he),m=(0,Ve.Z)(function(){return s(b,ae)},[b,ae],function(B,te){return!ee&&(B[0]!==te[0]||!(0,V.Z)(B[1],te[1],!0))});return P.createElement(he.Provider,{value:m},W)}var oe=[],le=P.createContext(null);function v(){return P.useContext(le)}var je=P.createContext(oe);function Oe(O){var W=P.useContext(je);return P.useMemo(function(){return O!==void 0?[].concat((0,L.Z)(W),[O]):W},[W,O])}var ne=P.createContext(null),Re=P.createContext({}),de=Re,H=t(29194);function n(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,H.Z)(O)){var ee=O.nodeName.toLowerCase(),ae=["input","select","textarea","button"].includes(ee)||O.isContentEditable||ee==="a"&&!!O.getAttribute("href"),b=O.getAttribute("tabindex"),m=Number(b),B=null;return b&&!Number.isNaN(m)?B=m:ae&&B===null&&(B=0),ae&&O.disabled&&(B=null),B!==null&&(B>=0||W&&B<0)}return!1}function ce(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=(0,L.Z)(O.querySelectorAll("*")).filter(function(ae){return n(ae,W)});return n(O,W)&&ee.unshift(O),ee}var T=null;function ze(){T=document.activeElement}function xe(){T=null}function We(){if(T)try{T.focus()}catch(O){}}function st(O,W){if(W.keyCode===9){var ee=ce(O),ae=ee[W.shiftKey?0:ee.length-1],b=ae===document.activeElement||O===document.activeElement;if(b){var m=ee[W.shiftKey?ee.length-1:0];m.focus(),W.preventDefault()}}}var at=t(10228),Ae=t(16089),tt=at.Z.LEFT,q=at.Z.RIGHT,Se=at.Z.UP,ge=at.Z.DOWN,Qe=at.Z.ENTER,ie=at.Z.ESC,qe=at.Z.HOME,Ke=at.Z.END,bt=[Se,ge,tt,q];function Te(O,W,ee,ae){var b,m="prev",B="next",te="children",we="parent";if(O==="inline"&&ae===Qe)return{inlineTrigger:!0};var Ne=(0,d.Z)((0,d.Z)({},Se,m),ge,B),ut=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},tt,ee?B:m),q,ee?m:B),ge,te),Qe,te),ke=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},Se,m),ge,B),Qe,te),ie,we),tt,ee?te:we),q,ee?we:te),Q={inline:Ne,horizontal:ut,vertical:ke,inlineSub:Ne,horizontalSub:ke,verticalSub:ke},Ce=(b=Q["".concat(O).concat(W?"":"Sub")])===null||b===void 0?void 0:b[ae];switch(Ce){case m:return{offset:-1,sibling:!0};case B:return{offset:1,sibling:!0};case we:return{offset:-1,sibling:!1};case te:return{offset:1,sibling:!1};default:return null}}function k(O){for(var W=O;W;){if(W.getAttribute("data-menu-list"))return W;W=W.parentElement}return null}function R(O,W){for(var ee=O||document.activeElement;ee;){if(W.has(ee))return ee;ee=ee.parentElement}return null}function U(O,W){var ee=ce(O,!0);return ee.filter(function(ae){return W.has(ae)})}function p(O,W,ee){var ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!O)return null;var b=U(O,W),m=b.length,B=b.findIndex(function(te){return ee===te});return ae<0?B===-1?B=m-1:B-=1:ae>0&&(B+=1),B=(B+m)%m,b[B]}var fe=function(W,ee){var ae=new Set,b=new Map,m=new Map;return W.forEach(function(B){var te=document.querySelector("[data-menu-id='".concat(Fe(ee,B),"']"));te&&(ae.add(te),m.set(te,B),b.set(B,te))}),{elements:ae,key2element:b,element2key:m}};function z(O,W,ee,ae,b,m,B,te,we,Ne){var ut=P.useRef(),ke=P.useRef();ke.current=W;var Q=function(){Ae.Z.cancel(ut.current)};return P.useEffect(function(){return function(){Q()}},[]),function(Ce){var Me=Ce.which;if([].concat(bt,[Qe,ie,qe,Ke]).includes(Me)){var Ye=m(),ht=fe(Ye,ae),ft=ht,Ct=ft.elements,It=ft.key2element,Dt=ft.element2key,Mt=It.get(W),$t=R(Mt,Ct),Et=Dt.get($t),Jt=Te(O,B(Et,!0).length===1,ee,Me);if(!Jt&&Me!==qe&&Me!==Ke)return;(bt.includes(Me)||[qe,Ke].includes(Me))&&Ce.preventDefault();var At=function(Ft){if(Ft){var _e=Ft,mt=Ft.querySelector("a");mt!=null&&mt.getAttribute("href")&&(_e=mt);var Kt=Dt.get(Ft);te(Kt),Q(),ut.current=(0,Ae.Z)(function(){ke.current===Kt&&_e.focus()})}};if([qe,Ke].includes(Me)||Jt.sibling||!$t){var sn;!$t||O==="inline"?sn=b.current:sn=k($t);var Gt,Yt=U(sn,Ct);Me===qe?Gt=Yt[0]:Me===Ke?Gt=Yt[Yt.length-1]:Gt=p(sn,Ct,$t,Jt.offset),At(Gt)}else if(Jt.inlineTrigger)we(Et);else if(Jt.offset>0)we(Et,!0),Q(),ut.current=(0,Ae.Z)(function(){ht=fe(Ye,ae);var Qt=$t.getAttribute("aria-controls"),Ft=document.getElementById(Qt),_e=p(Ft,ht.elements);At(_e)},5);else if(Jt.offset<0){var nn=B(Et,!0),fn=nn[nn.length-2],Zt=It.get(fn);we(fn,!1),At(Zt)}}Ne==null||Ne(Ce)}}function o(O){Promise.resolve().then(O)}var f="__RC_UTIL_PATH_SPLIT__",se=function(W){return W.join(f)},_=function(W){return W.split(f)},$="rc-menu-more";function N(){var O=P.useState({}),W=(0,x.Z)(O,2),ee=W[1],ae=(0,P.useRef)(new Map),b=(0,P.useRef)(new Map),m=P.useState([]),B=(0,x.Z)(m,2),te=B[0],we=B[1],Ne=(0,P.useRef)(0),ut=(0,P.useRef)(!1),ke=function(){ut.current||ee({})},Q=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);b.current.set(Mt,It),ae.current.set(It,Mt),Ne.current+=1;var $t=Ne.current;o(function(){$t===Ne.current&&ke()})},[]),Ce=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);b.current.delete(Mt),ae.current.delete(It)},[]),Me=(0,P.useCallback)(function(It){we(It)},[]),Ye=(0,P.useCallback)(function(It,Dt){var Mt=ae.current.get(It)||"",$t=_(Mt);return Dt&&te.includes($t[0])&&$t.unshift($),$t},[te]),ht=(0,P.useCallback)(function(It,Dt){return It.filter(function(Mt){return Mt!==void 0}).some(function(Mt){var $t=Ye(Mt,!0);return $t.includes(Dt)})},[Ye]),ft=function(){var Dt=(0,L.Z)(ae.current.keys());return te.length&&Dt.push($),Dt},Ct=(0,P.useCallback)(function(It){var Dt="".concat(ae.current.get(It)).concat(f),Mt=new Set;return(0,L.Z)(b.current.keys()).forEach(function($t){$t.startsWith(Dt)&&Mt.add(b.current.get($t))}),Mt},[]);return P.useEffect(function(){return function(){ut.current=!0}},[]),{registerPath:Q,unregisterPath:Ce,refreshOverflowKeys:Me,isSubPathKey:ht,getKeyPath:Ye,getKeys:ft,getSubPathKeys:Ct}}function X(O){var W=P.useRef(O);W.current=O;var ee=P.useCallback(function(){for(var ae,b=arguments.length,m=new Array(b),B=0;B1&&(Ct.motionAppear=!1);var It=Ct.onVisibleChanged;return Ct.onVisibleChanged=function(Dt){return!Q.current&&!Dt&&ht(!0),It==null?void 0:It(Dt)},Ye?null:P.createElement(h,{mode:m,locked:!Q.current},P.createElement(Mn.default,(0,e.Z)({visible:ft},Ct,{forceRender:we,removeOnLeave:!1,leavedClassName:"".concat(te,"-hidden")}),function(Dt){var Mt=Dt.className,$t=Dt.style;return P.createElement(yt,{id:W,className:Mt,style:$t},b)}))}var Nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Pn=["active"],bn=P.forwardRef(function(O,W){var ee=O.style,ae=O.className,b=O.title,m=O.eventKey,B=O.warnKey,te=O.disabled,we=O.internalPopupClose,Ne=O.children,ut=O.itemIcon,ke=O.expandIcon,Q=O.popupClassName,Ce=O.popupOffset,Me=O.popupStyle,Ye=O.onClick,ht=O.onMouseEnter,ft=O.onMouseLeave,Ct=O.onTitleClick,It=O.onTitleMouseEnter,Dt=O.onTitleMouseLeave,Mt=(0,D.Z)(O,Nn),$t=Pe(m),Et=P.useContext(he),Jt=Et.prefixCls,At=Et.mode,sn=Et.openKeys,Gt=Et.disabled,Yt=Et.overflowDisabled,nn=Et.activeKey,fn=Et.selectedKeys,Zt=Et.itemIcon,Qt=Et.expandIcon,Ft=Et.onItemClick,_e=Et.onOpenChange,mt=Et.onActive,Kt=P.useContext(de),jt=Kt._internalRenderSubMenuItem,qt=P.useContext(ne),un=qt.isSubPathKey,on=Oe(),en="".concat(Jt,"-submenu"),cn=Gt||te,Rn=P.useRef(),Bn=P.useRef(),yn=ut!=null?ut:Zt,dn=ke!=null?ke:Qt,Kn=sn.includes(m),Xn=!Yt&&Kn,ar=un(fn,m),$n=et(m,cn,It,Dt),er=$n.active,Wn=(0,D.Z)($n,Pn),Sr=P.useState(!1),Fr=(0,x.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=function(qr){cn||Cr(qr)},En=function(qr){vr(!0),ht==null||ht({key:m,domEvent:qr})},Hn=function(qr){vr(!1),ft==null||ft({key:m,domEvent:qr})},lr=P.useMemo(function(){return er||(At!=="inline"?$r||un([nn],m):!1)},[At,er,nn,$r,m,un]),fr=w(on.length),Gn=function(qr){cn||(Ct==null||Ct({key:m,domEvent:qr}),At==="inline"&&_e(m,!Kn))},ur=X(function(zr){Ye==null||Ye(Ue(zr)),Ft(zr)}),yr=function(qr){At!=="inline"&&_e(m,qr)},gr=function(){mt(m)},br=$t&&"".concat($t,"-popup"),Br=P.useMemo(function(){return P.createElement(pe,{icon:At!=="horizontal"?dn:void 0,props:(0,i.Z)((0,i.Z)({},O),{},{isOpen:Xn,isSubMenu:!0})},P.createElement("i",{className:"".concat(en,"-arrow")}))},[At,dn,O,Xn,en]),wr=P.createElement("div",(0,e.Z)({role:"menuitem",style:fr,className:"".concat(en,"-title"),tabIndex:cn?null:-1,ref:Rn,title:typeof b=="string"?b:null,"data-menu-id":Yt&&$t?null:$t,"aria-expanded":Xn,"aria-haspopup":!0,"aria-controls":br,"aria-disabled":cn,onClick:Gn,onFocus:gr},Wn),b,Br),Tr=P.useRef(At);if(At!=="inline"&&on.length>1?Tr.current="vertical":Tr.current=At,!Yt){var Qr=Tr.current;wr=P.createElement(Dn,{mode:Qr,prefixCls:en,visible:!we&&Xn&&At!=="inline",popupClassName:Q,popupOffset:Ce,popupStyle:Me,popup:P.createElement(h,{mode:Qr==="horizontal"?"vertical":Qr},P.createElement(yt,{id:br,ref:Bn},Ne)),disabled:cn,onVisibleChange:yr},wr)}var Or=P.createElement(K.Z.Item,(0,e.Z)({ref:W,role:"none"},Mt,{component:"li",style:ee,className:Z()(en,"".concat(en,"-").concat(At),ae,(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(en,"-open"),Xn),"".concat(en,"-active"),lr),"".concat(en,"-selected"),ar),"".concat(en,"-disabled"),cn)),onMouseEnter:En,onMouseLeave:Hn}),wr,!Yt&&P.createElement(tn,{id:br,open:Xn,keyPath:on},Ne));return jt&&(Or=jt(Or,O,{selected:ar,active:lr,open:Xn,disabled:cn})),P.createElement(h,{onItemClick:ur,mode:At==="horizontal"?"vertical":At,itemIcon:yn,expandIcon:dn},Or)}),Fn=P.forwardRef(function(O,W){var ee=O.eventKey,ae=O.children,b=Oe(ee),m=Pt(ae,b),B=v();P.useEffect(function(){if(B)return B.registerPath(ee,b),function(){B.unregisterPath(ee,b)}},[b]);var te;return B?te=m:te=P.createElement(bn,(0,e.Z)({ref:W},O),m),P.createElement(je.Provider,{value:b},te)}),_n=Fn,Jn=t(76190);function Be(O){var W=O.className,ee=O.style,ae=P.useContext(he),b=ae.prefixCls,m=v();return m?null:P.createElement("li",{role:"separator",className:Z()("".concat(b,"-item-divider"),W),style:ee})}var Ie=["className","title","eventKey","children"],I=P.forwardRef(function(O,W){var ee=O.className,ae=O.title,b=O.eventKey,m=O.children,B=(0,D.Z)(O,Ie),te=P.useContext(he),we=te.prefixCls,Ne="".concat(we,"-item-group");return P.createElement("li",(0,e.Z)({ref:W,role:"presentation"},B,{onClick:function(ke){return ke.stopPropagation()},className:Z()(Ne,ee)}),P.createElement("div",{role:"presentation",className:"".concat(Ne,"-title"),title:typeof ae=="string"?ae:void 0},ae),P.createElement("ul",{role:"group",className:"".concat(Ne,"-list")},m))}),Y=P.forwardRef(function(O,W){var ee=O.eventKey,ae=O.children,b=Oe(ee),m=Pt(ae,b),B=v();return B?m:P.createElement(I,(0,e.Z)({ref:W},(0,nt.Z)(O,["warnKey"])),m)}),be=Y,ye=["label","children","key","type","extra"];function g(O,W,ee){var ae=W.item,b=W.group,m=W.submenu,B=W.divider;return(O||[]).map(function(te,we){if(te&&(0,Jn.Z)(te)==="object"){var Ne=te,ut=Ne.label,ke=Ne.children,Q=Ne.key,Ce=Ne.type,Me=Ne.extra,Ye=(0,D.Z)(Ne,ye),ht=Q!=null?Q:"tmp-".concat(we);return ke||Ce==="group"?Ce==="group"?P.createElement(b,(0,e.Z)({key:ht},Ye,{title:ut}),g(ke,W,ee)):P.createElement(m,(0,e.Z)({key:ht},Ye,{title:ut}),g(ke,W,ee)):Ce==="divider"?P.createElement(B,(0,e.Z)({key:ht},Ye)):P.createElement(ae,(0,e.Z)({key:ht},Ye,{extra:Me}),ut,(!!Me||Me===0)&&P.createElement("span",{className:"".concat(ee,"-item-extra")},Me))}return null}).filter(function(te){return te})}function re(O,W,ee,ae,b){var m=O,B=(0,i.Z)({divider:Be,item:Ht,group:be,submenu:_n},ae);return W&&(m=g(W,B,b)),Pt(m,ee)}var De=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],u=[],S=P.forwardRef(function(O,W){var ee,ae=O,b=ae.prefixCls,m=b===void 0?"rc-menu":b,B=ae.rootClassName,te=ae.style,we=ae.className,Ne=ae.tabIndex,ut=Ne===void 0?0:Ne,ke=ae.items,Q=ae.children,Ce=ae.direction,Me=ae.id,Ye=ae.mode,ht=Ye===void 0?"vertical":Ye,ft=ae.inlineCollapsed,Ct=ae.disabled,It=ae.disabledOverflow,Dt=ae.subMenuOpenDelay,Mt=Dt===void 0?.1:Dt,$t=ae.subMenuCloseDelay,Et=$t===void 0?.1:$t,Jt=ae.forceSubMenuRender,At=ae.defaultOpenKeys,sn=ae.openKeys,Gt=ae.activeKey,Yt=ae.defaultActiveFirst,nn=ae.selectable,fn=nn===void 0?!0:nn,Zt=ae.multiple,Qt=Zt===void 0?!1:Zt,Ft=ae.defaultSelectedKeys,_e=ae.selectedKeys,mt=ae.onSelect,Kt=ae.onDeselect,jt=ae.inlineIndent,qt=jt===void 0?24:jt,un=ae.motion,on=ae.defaultMotions,en=ae.triggerSubMenuAction,cn=en===void 0?"hover":en,Rn=ae.builtinPlacements,Bn=ae.itemIcon,yn=ae.expandIcon,dn=ae.overflowedIndicator,Kn=dn===void 0?"...":dn,Xn=ae.overflowedIndicatorPopupClassName,ar=ae.getPopupContainer,$n=ae.onClick,er=ae.onOpenChange,Wn=ae.onKeyDown,Sr=ae.openAnimation,Fr=ae.openTransitionName,$r=ae._internalRenderMenuItem,Cr=ae._internalRenderSubMenuItem,vr=ae._internalComponents,En=(0,D.Z)(ae,De),Hn=P.useMemo(function(){return[re(Q,ke,u,vr,m),re(Q,ke,u,{},m)]},[Q,ke,vr]),lr=(0,x.Z)(Hn,2),fr=lr[0],Gn=lr[1],ur=P.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1],Br=P.useRef(),wr=y(Me),Tr=Ce==="rtl",Qr=(0,r.Z)(At,{value:sn,postState:function(Jr){return Jr||u}}),Or=(0,x.Z)(Qr,2),zr=Or[0],qr=Or[1],Vn=function(Jr){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Lo(){qr(Jr),er==null||er(Jr)}to?(0,me.flushSync)(Lo):Lo()},sr=P.useState(zr),kn=(0,x.Z)(sr,2),zn=kn[0],cr=kn[1],pr=P.useRef(!1),eo=P.useMemo(function(){return(ht==="inline"||ht==="vertical")&&ft?["vertical",ft]:[ht,!1]},[ht,ft]),In=(0,x.Z)(eo,2),tr=In[0],Dr=In[1],kr=tr==="inline",Ur=P.useState(tr),Uo=(0,x.Z)(Ur,2),$o=Uo[0],Yo=Uo[1],wo=P.useState(Dr),da=(0,x.Z)(wo,2),Za=da[0],Na=da[1];P.useEffect(function(){Yo(tr),Na(Dr),pr.current&&(kr?qr(zn):Vn(u))},[tr,Dr]);var sa=P.useState(0),wa=(0,x.Z)(sa,2),ma=wa[0],Xa=wa[1],ga=ma>=fr.length-1||$o!=="horizontal"||It;P.useEffect(function(){kr&&cr(zr)},[zr]),P.useEffect(function(){return pr.current=!0,function(){pr.current=!1}},[]);var Qo=N(),Sa=Qo.registerPath,Aa=Qo.unregisterPath,Oa=Qo.refreshOverflowKeys,Jo=Qo.isSubPathKey,Ta=Qo.getKeyPath,pa=Qo.getKeys,Fa=Qo.getSubPathKeys,xa=P.useMemo(function(){return{registerPath:Sa,unregisterPath:Aa}},[Sa,Aa]),Ga=P.useMemo(function(){return{isSubPathKey:Jo}},[Jo]);P.useEffect(function(){Oa(ga?u:fr.slice(ma+1).map(function(lo){return lo.key}))},[ma,ga]);var La=(0,r.Z)(Gt||Yt&&((ee=fr[0])===null||ee===void 0?void 0:ee.key),{value:Gt}),fa=(0,x.Z)(La,2),qo=fa[0],Nr=fa[1],Pr=X(function(lo){Nr(lo)}),Oo=X(function(){Nr(void 0)});(0,P.useImperativeHandle)(W,function(){return{list:Br.current,focus:function(Jr){var to,Lo=pa(),zo=fe(Lo,wr),ba=zo.elements,Pa=zo.key2element,Ya=zo.element2key,za=U(Br.current,ba),Ra=qo!=null?qo:za[0]?Ya.get(za[0]):(to=fr.find(function(Qa){return!Qa.props.disabled}))===null||to===void 0?void 0:to.key,$a=Pa.get(Ra);if(Ra&&$a){var ja;$a==null||(ja=$a.focus)===null||ja===void 0||ja.call($a,Jr)}}}});var Bo=(0,r.Z)(Ft||[],{value:_e,postState:function(Jr){return Array.isArray(Jr)?Jr:Jr==null?u:[Jr]}}),mo=(0,x.Z)(Bo,2),ho=mo[0],Go=mo[1],Xo=function(Jr){if(fn){var to=Jr.key,Lo=ho.includes(to),zo;Qt?Lo?zo=ho.filter(function(Pa){return Pa!==to}):zo=[].concat((0,L.Z)(ho),[to]):zo=[to],Go(zo);var ba=(0,i.Z)((0,i.Z)({},Jr),{},{selectedKeys:zo});Lo?Kt==null||Kt(ba):mt==null||mt(ba)}!Qt&&zr.length&&$o!=="inline"&&Vn(u)},_o=X(function(lo){$n==null||$n(Ue(lo)),Xo(lo)}),oa=X(function(lo,Jr){var to=zr.filter(function(zo){return zo!==lo});if(Jr)to.push(lo);else if($o!=="inline"){var Lo=Fa(lo);to=to.filter(function(zo){return!Lo.has(zo)})}(0,V.Z)(zr,to,!0)||Vn(to,!0)}),aa=function(Jr,to){var Lo=to!=null?to:!zr.includes(Jr);oa(Jr,Lo)},ha=z($o,qo,Tr,wr,Br,pa,Ta,Nr,aa,Wn);P.useEffect(function(){br(!0)},[]);var Ca=P.useMemo(function(){return{_internalRenderMenuItem:$r,_internalRenderSubMenuItem:Cr}},[$r,Cr]),tl=$o!=="horizontal"||It?fr:fr.map(function(lo,Jr){return P.createElement(h,{key:lo.key,overflowDisabled:Jr>ma},lo)}),ka=P.createElement(K.Z,(0,e.Z)({id:Me,ref:Br,prefixCls:"".concat(m,"-overflow"),component:"ul",itemComponent:Ht,className:Z()(m,"".concat(m,"-root"),"".concat(m,"-").concat($o),we,(0,d.Z)((0,d.Z)({},"".concat(m,"-inline-collapsed"),Za),"".concat(m,"-rtl"),Tr),B),dir:Ce,style:te,role:"menu",tabIndex:ut,data:tl,renderRawItem:function(Jr){return Jr},renderRawRest:function(Jr){var to=Jr.length,Lo=to?fr.slice(-to):null;return P.createElement(_n,{eventKey:$,title:Kn,disabled:ga,internalPopupClose:to===0,popupClassName:Xn},Lo)},maxCount:$o!=="horizontal"||It?K.Z.INVALIDATE:K.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Jr){Xa(Jr)},onKeyDown:ha},En));return P.createElement(de.Provider,{value:Ca},P.createElement(lt.Provider,{value:wr},P.createElement(h,{prefixCls:m,rootClassName:B,mode:$o,openKeys:zr,rtl:Tr,disabled:Ct,motion:gr?un:null,defaultMotions:gr?on:null,activeKey:qo,onActive:Pr,onInactive:Oo,selectedKeys:ho,inlineIndent:qt,subMenuOpenDelay:Mt,subMenuCloseDelay:Et,forceSubMenuRender:Jt,builtinPlacements:Rn,triggerSubMenuAction:cn,getPopupContainer:ar,itemIcon:Bn,expandIcon:yn,onItemClick:_o,onOpenChange:oa},P.createElement(ne.Provider,{value:Ga},ka),P.createElement("div",{style:{display:"none"},"aria-hidden":!0},P.createElement(le.Provider,{value:xa},Gn)))))}),A=S,ve=A;ve.Item=Ht,ve.SubMenu=_n,ve.ItemGroup=be,ve.Divider=Be;var j=ve},83836:function(an,Je,t){t.d(Je,{Z:function(){return ze}});var e=t(54476),d=t(33885),i=t(42978),L=t(75931),x=t(59301),D=t(92310),E=t.n(D),Z=t(29301),K=t(34280),r=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],V=void 0;function M(xe,We){var st=xe.prefixCls,at=xe.invalidate,Ae=xe.item,tt=xe.renderItem,q=xe.responsive,Se=xe.responsiveDisabled,ge=xe.registerSize,Qe=xe.itemKey,ie=xe.className,qe=xe.style,Ke=xe.children,bt=xe.display,Te=xe.order,k=xe.component,R=k===void 0?"div":k,U=(0,L.Z)(xe,r),p=q&&!bt;function fe(_){ge(Qe,_)}x.useEffect(function(){return function(){fe(null)}},[]);var z=tt&&Ae!==V?tt(Ae,{index:Te}):Ke,o;at||(o={opacity:p?0:1,height:p?0:V,overflowY:p?"hidden":V,order:q?Te:V,pointerEvents:p?"none":V,position:p?"absolute":V});var f={};p&&(f["aria-hidden"]=!0);var se=x.createElement(R,(0,e.Z)({className:E()(!at&&st,ie),style:(0,d.Z)((0,d.Z)({},o),qe)},f,U,{ref:We}),z);return q&&(se=x.createElement(Z.Z,{onResize:function($){var N=$.offsetWidth;fe(N)},disabled:Se},se)),se}var P=x.forwardRef(M);P.displayName="Item";var me=P,lt=t(6089),Fe=t(4676),Pe=t(16089);function Ve(xe){if(typeof MessageChannel=="undefined")(0,Pe.Z)(xe);else{var We=new MessageChannel;We.port1.onmessage=function(){return xe()},We.port2.postMessage(void 0)}}function C(){var xe=x.useRef(null),We=function(at){xe.current||(xe.current=[],Ve(function(){(0,Fe.unstable_batchedUpdates)(function(){xe.current.forEach(function(Ae){Ae()}),xe.current=null})})),xe.current.push(at)};return We}function he(xe,We){var st=x.useState(We),at=(0,i.Z)(st,2),Ae=at[0],tt=at[1],q=(0,lt.Z)(function(Se){xe(function(){tt(Se)})});return[Ae,q]}var s=x.createContext(null),h=["component"],oe=["className"],le=["className"],v=function(We,st){var at=x.useContext(s);if(!at){var Ae=We.component,tt=Ae===void 0?"div":Ae,q=(0,L.Z)(We,h);return x.createElement(tt,(0,e.Z)({},q,{ref:st}))}var Se=at.className,ge=(0,L.Z)(at,oe),Qe=We.className,ie=(0,L.Z)(We,le);return x.createElement(s.Provider,{value:null},x.createElement(me,(0,e.Z)({ref:st,className:E()(Se,Qe)},ge,ie)))},je=x.forwardRef(v);je.displayName="RawItem";var Oe=je,ne=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Re="responsive",de="invalidate";function H(xe){return"+ ".concat(xe.length," ...")}function n(xe,We){var st=xe.prefixCls,at=st===void 0?"rc-overflow":st,Ae=xe.data,tt=Ae===void 0?[]:Ae,q=xe.renderItem,Se=xe.renderRawItem,ge=xe.itemKey,Qe=xe.itemWidth,ie=Qe===void 0?10:Qe,qe=xe.ssr,Ke=xe.style,bt=xe.className,Te=xe.maxCount,k=xe.renderRest,R=xe.renderRawRest,U=xe.prefix,p=xe.suffix,fe=xe.component,z=fe===void 0?"div":fe,o=xe.itemComponent,f=xe.onVisibleChange,se=(0,L.Z)(xe,ne),_=qe==="full",$=C(),N=he($,null),X=(0,i.Z)(N,2),ue=X[0],c=X[1],y=ue||0,Ge=he($,new Map),G=(0,i.Z)(Ge,2),Le=G[0],He=G[1],nt=he($,0),it=(0,i.Z)(nt,2),et=it[0],w=it[1],pe=he($,0),Ze=(0,i.Z)(pe,2),Ue=Ze[0],ot=Ze[1],Tt=he($,0),ct=(0,i.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=he($,0),Ht=(0,i.Z)(Vt,2),Xt=Ht[0],wt=Ht[1],Ut=(0,x.useState)(null),yt=(0,i.Z)(Ut,2),Bt=yt[0],Pt=yt[1],kt=(0,x.useState)(null),Wt=(0,i.Z)(kt,2),pt=Wt[0],Lt=Wt[1],ln=x.useMemo(function(){return pt===null&&_?Number.MAX_SAFE_INTEGER:pt||0},[pt,ue]),rn=(0,x.useState)(!1),xn=(0,i.Z)(rn,2),Dn=xn[0],Mn=xn[1],tn="".concat(at,"-item"),Nn=Math.max(et,Ue),Pn=Te===Re,bn=tt.length&&Pn,Fn=Te===de,_n=bn||typeof Te=="number"&&tt.length>Te,Jn=(0,x.useMemo)(function(){var b=tt;return bn?ue===null&&_?b=tt:b=tt.slice(0,Math.min(tt.length,y/ie)):typeof Te=="number"&&(b=tt.slice(0,Te)),b},[tt,ie,ue,Te,bn]),Be=(0,x.useMemo)(function(){return bn?tt.slice(ln+1):tt.slice(Jn.length)},[tt,Jn,bn,ln]),Ie=(0,x.useCallback)(function(b,m){var B;return typeof ge=="function"?ge(b):(B=ge&&(b==null?void 0:b[ge]))!==null&&B!==void 0?B:m},[ge]),I=(0,x.useCallback)(q||function(b){return b},[q]);function Y(b,m,B){pt===b&&(m===void 0||m===Bt)||(Lt(b),B||(Mn(by){Y(te-1,b-we-Xt+Ue);break}}p&&u(0)+Xt>y&&Pt(null)}},[y,Le,Ue,dt,Xt,Ie,Jn]);var S=Dn&&!!Be.length,A={};Bt!==null&&bn&&(A={position:"absolute",left:Bt,top:0});var ve={prefixCls:tn,responsive:bn,component:o,invalidate:Fn},j=Se?function(b,m){var B=Ie(b,m);return x.createElement(s.Provider,{key:B,value:(0,d.Z)((0,d.Z)({},ve),{},{order:m,item:b,itemKey:B,registerSize:ye,display:m<=ln})},Se(b,m))}:function(b,m){var B=Ie(b,m);return x.createElement(me,(0,e.Z)({},ve,{order:m,key:B,item:b,renderItem:I,itemKey:B,registerSize:ye,display:m<=ln}))},O={order:S?ln:Number.MAX_SAFE_INTEGER,className:"".concat(tn,"-rest"),registerSize:g,display:S},W=k||H,ee=R?x.createElement(s.Provider,{value:(0,d.Z)((0,d.Z)({},ve),O)},R(Be)):x.createElement(me,(0,e.Z)({},ve,O),typeof W=="function"?W(Be):W),ae=x.createElement(z,(0,e.Z)({className:E()(!Fn&&at,bt),style:Ke,ref:We},se),U&&x.createElement(me,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:-1,className:"".concat(tn,"-prefix"),registerSize:re,display:!0}),U),Jn.map(j),_n?ee:null,p&&x.createElement(me,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:ln,className:"".concat(tn,"-suffix"),registerSize:De,display:!0,style:A}),p));return Pn?x.createElement(Z.Z,{onResize:be,disabled:!bn},ae):ae}var ce=x.forwardRef(n);ce.displayName="Overflow",ce.Item=Oe,ce.RESPONSIVE=Re,ce.INVALIDATE=de;var T=ce,ze=T},29301:function(an,Je,t){t.d(Je,{Z:function(){return de}});var e=t(54476),d=t(59301),i=t(11592),L=t(48736),x=t(33885),D=t(76190),E=t(76846),Z=t(8654),K=d.createContext(null);function r(H){var n=H.children,ce=H.onBatchResize,T=d.useRef(0),ze=d.useRef([]),xe=d.useContext(K),We=d.useCallback(function(st,at,Ae){T.current+=1;var tt=T.current;ze.current.push({size:st,element:at,data:Ae}),Promise.resolve().then(function(){tt===T.current&&(ce==null||ce(ze.current),ze.current=[])}),xe==null||xe(st,at,Ae)},[ce,xe]);return d.createElement(K.Provider,{value:We},n)}var V=t(76374),M=new Map;function P(H){H.forEach(function(n){var ce,T=n.target;(ce=M.get(T))===null||ce===void 0||ce.forEach(function(ze){return ze(T)})})}var me=new V.Z(P),lt=null,Fe=null;function Pe(H,n){M.has(H)||(M.set(H,new Set),me.observe(H)),M.get(H).add(n)}function Ve(H,n){M.has(H)&&(M.get(H).delete(n),M.get(H).size||(me.unobserve(H),M.delete(H)))}var C=t(67732),he=t(83652),s=t(42403),h=t(158),oe=function(H){(0,s.Z)(ce,H);var n=(0,h.Z)(ce);function ce(){return(0,C.Z)(this,ce),n.apply(this,arguments)}return(0,he.Z)(ce,[{key:"render",value:function(){return this.props.children}}]),ce}(d.Component);function le(H,n){var ce=H.children,T=H.disabled,ze=d.useRef(null),xe=d.useRef(null),We=d.useContext(K),st=typeof ce=="function",at=st?ce(ze):ce,Ae=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),tt=!st&&d.isValidElement(at)&&(0,Z.Yr)(at),q=tt?(0,Z.C4)(at):null,Se=(0,Z.x1)(q,ze),ge=function(){var Ke;return(0,E.ZP)(ze.current)||(ze.current&&(0,D.Z)(ze.current)==="object"?(0,E.ZP)((Ke=ze.current)===null||Ke===void 0?void 0:Ke.nativeElement):null)||(0,E.ZP)(xe.current)};d.useImperativeHandle(n,function(){return ge()});var Qe=d.useRef(H);Qe.current=H;var ie=d.useCallback(function(qe){var Ke=Qe.current,bt=Ke.onResize,Te=Ke.data,k=qe.getBoundingClientRect(),R=k.width,U=k.height,p=qe.offsetWidth,fe=qe.offsetHeight,z=Math.floor(R),o=Math.floor(U);if(Ae.current.width!==z||Ae.current.height!==o||Ae.current.offsetWidth!==p||Ae.current.offsetHeight!==fe){var f={width:z,height:o,offsetWidth:p,offsetHeight:fe};Ae.current=f;var se=p===Math.round(R)?R:p,_=fe===Math.round(U)?U:fe,$=(0,x.Z)((0,x.Z)({},f),{},{offsetWidth:se,offsetHeight:_});We==null||We($,qe,Te),bt&&Promise.resolve().then(function(){bt($,qe)})}},[]);return d.useEffect(function(){var qe=ge();return qe&&!T&&Pe(qe,ie),function(){return Ve(qe,ie)}},[ze.current,T]),d.createElement(oe,{ref:xe},tt?d.cloneElement(at,{ref:Se}):at)}var v=d.forwardRef(le),je=v,Oe="rc-observer-key";function ne(H,n){var ce=H.children,T=typeof ce=="function"?[ce]:(0,i.Z)(ce);return T.map(function(ze,xe){var We=(ze==null?void 0:ze.key)||"".concat(Oe,"-").concat(xe);return d.createElement(je,(0,e.Z)({},H,{key:We,ref:xe===0?n:void 0}),ze)})}var Re=d.forwardRef(ne);Re.Collection=r;var de=Re},6551:function(an,Je,t){t.d(Je,{ZP:function(){return E}});var e=t(42978),d=t(59301),i=t(47273),L=0,x=(0,i.Z)();function D(){var Z;return x?(Z=L,L+=1):Z="TEST_OR_SSR",Z}function E(Z){var K=d.useState(),r=(0,e.Z)(K,2),V=r[0],M=r[1];return d.useEffect(function(){M("rc_select_".concat(D()))},[]),Z||V}},37463:function(an,Je,t){t.d(Je,{Ac:function(){return nt},Xo:function(){return et},Wx:function(){return pe},ZP:function(){return Jn},lk:function(){return he}});var e=t(54476),d=t(94480),i=t(20068),L=t(33885),x=t(42978),D=t(75931),E=t(76190),Z=t(18929),K=t(48736),r=t(59301),V=t(92310),M=t.n(V),P=t(34280),me=t(49658),lt=t(8654),Fe=function(Ie){var I=Ie.className,Y=Ie.customizeIcon,be=Ie.customizeIconProps,ye=Ie.children,g=Ie.onMouseDown,re=Ie.onClick,De=typeof Y=="function"?Y(be):Y;return r.createElement("span",{className:I,onMouseDown:function(S){S.preventDefault(),g==null||g(S)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:re,"aria-hidden":!0},De!==void 0?De:r.createElement("span",{className:M()(I.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},ye))},Pe=Fe,Ve=function(Ie,I,Y,be,ye){var g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,re=arguments.length>6?arguments[6]:void 0,De=arguments.length>7?arguments[7]:void 0,u=r.useMemo(function(){if((0,E.Z)(be)==="object")return be.clearIcon;if(ye)return ye},[be,ye]),S=r.useMemo(function(){return!!(!g&&be&&(Y.length||re)&&!(De==="combobox"&&re===""))},[be,g,Y.length,re,De]);return{allowClear:S,clearIcon:r.createElement(Pe,{className:"".concat(Ie,"-clear"),onMouseDown:I,customizeIcon:u},"\xD7")}},C=r.createContext(null);function he(){return r.useContext(C)}function s(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=r.useState(!1),I=(0,x.Z)(Ie,2),Y=I[0],be=I[1],ye=r.useRef(null),g=function(){window.clearTimeout(ye.current)};r.useEffect(function(){return g},[]);var re=function(u,S){g(),ye.current=window.setTimeout(function(){be(u),S&&S()},Be)};return[Y,re,g]}function h(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=r.useRef(null),I=r.useRef(null);r.useEffect(function(){return function(){window.clearTimeout(I.current)}},[]);function Y(be){(be||Ie.current===null)&&(Ie.current=be),window.clearTimeout(I.current),I.current=window.setTimeout(function(){Ie.current=null},Be)}return[function(){return Ie.current},Y]}function oe(Be,Ie,I,Y){var be=r.useRef(null);be.current={open:Ie,triggerOpen:I,customizedTrigger:Y},r.useEffect(function(){function ye(g){var re;if(!((re=be.current)!==null&&re!==void 0&&re.customizedTrigger)){var De=g.target;De.shadowRoot&&g.composed&&(De=g.composedPath()[0]||De),be.current.open&&Be().filter(function(u){return u}).every(function(u){return!u.contains(De)&&u!==De})&&be.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}var le=t(10228);function v(Be){return Be&&![le.Z.ESC,le.Z.SHIFT,le.Z.BACKSPACE,le.Z.TAB,le.Z.WIN_KEY,le.Z.ALT,le.Z.META,le.Z.WIN_KEY_RIGHT,le.Z.CTRL,le.Z.SEMICOLON,le.Z.EQUALS,le.Z.CAPS_LOCK,le.Z.CONTEXT_MENU,le.Z.F1,le.Z.F2,le.Z.F3,le.Z.F4,le.Z.F5,le.Z.F6,le.Z.F7,le.Z.F8,le.Z.F9,le.Z.F10,le.Z.F11,le.Z.F12].includes(Be)}var je=t(26112),Oe=t(83836);function ne(Be,Ie,I){var Y=(0,L.Z)((0,L.Z)({},Be),I?Ie:{});return Object.keys(Ie).forEach(function(be){var ye=Ie[be];typeof ye=="function"&&(Y[be]=function(){for(var g,re=arguments.length,De=new Array(re),u=0;um&&(cn="".concat(Rn.slice(0,m),"..."))}var Bn=function(dn){dn&&dn.stopPropagation(),ut(jt)};return typeof we=="function"?Zt(on,cn,qt,en,Bn):fn(jt,cn,qt,en,Bn)},Ft=function(jt){if(!be.length)return null;var qt=typeof te=="function"?te(jt):te;return typeof we=="function"?Zt(void 0,qt,!1,!1,void 0,!0):fn({title:qt},qt,!1)},_e=r.createElement("div",{className:"".concat(Gt,"-search"),style:{width:Mt},onFocus:function(){sn(!0)},onBlur:function(){sn(!1)}},r.createElement(ce,{ref:De,open:ye,prefixCls:Y,id:I,inputElement:null,disabled:S,autoFocus:j,autoComplete:O,editable:nn,activeDescendantId:W,value:Yt,onKeyDown:Ce,onMouseDown:Me,onChange:ke,onPaste:Q,onCompositionStart:Ye,onCompositionEnd:ht,onBlur:ft,tabIndex:ee,attrs:(0,je.Z)(Ie,!0)}),r.createElement("span",{ref:Ct,className:"".concat(Gt,"-search-mirror"),"aria-hidden":!0},Yt,"\xA0")),mt=r.createElement(Oe.Z,{prefixCls:"".concat(Gt,"-overflow"),data:be,renderItem:Qt,renderRest:Ft,suffix:_e,itemKey:q,maxCount:b});return r.createElement("span",{className:"".concat(Gt,"-wrap")},mt,!be.length&&!Yt&&r.createElement("span",{className:"".concat(Gt,"-placeholder")},u))},Qe=ge,ie=function(Ie){var I=Ie.inputElement,Y=Ie.prefixCls,be=Ie.id,ye=Ie.inputRef,g=Ie.disabled,re=Ie.autoFocus,De=Ie.autoComplete,u=Ie.activeDescendantId,S=Ie.mode,A=Ie.open,ve=Ie.values,j=Ie.placeholder,O=Ie.tabIndex,W=Ie.showSearch,ee=Ie.searchValue,ae=Ie.activeValue,b=Ie.maxLength,m=Ie.onInputKeyDown,B=Ie.onInputMouseDown,te=Ie.onInputChange,we=Ie.onInputPaste,Ne=Ie.onInputCompositionStart,ut=Ie.onInputCompositionEnd,ke=Ie.onInputBlur,Q=Ie.title,Ce=r.useState(!1),Me=(0,x.Z)(Ce,2),Ye=Me[0],ht=Me[1],ft=S==="combobox",Ct=ft||W,It=ve[0],Dt=ee||"";ft&&ae&&!Ye&&(Dt=ae),r.useEffect(function(){ft&&ht(!1)},[ft,ae]);var Mt=S!=="combobox"&&!A&&!W?!1:!!Dt,$t=Q===void 0?Ae(It):Q,Et=r.useMemo(function(){return It?null:r.createElement("span",{className:"".concat(Y,"-selection-placeholder"),style:Mt?{visibility:"hidden"}:void 0},j)},[It,Mt,j,Y]);return r.createElement("span",{className:"".concat(Y,"-selection-wrap")},r.createElement("span",{className:"".concat(Y,"-selection-search")},r.createElement(ce,{ref:ye,prefixCls:Y,id:be,open:A,inputElement:I,disabled:g,autoFocus:re,autoComplete:De,editable:Ct,activeDescendantId:u,value:Dt,onKeyDown:m,onMouseDown:B,onChange:function(At){ht(!0),te(At)},onPaste:we,onCompositionStart:Ne,onCompositionEnd:ut,onBlur:ke,tabIndex:O,attrs:(0,je.Z)(Ie,!0),maxLength:ft?b:void 0})),!ft&&It?r.createElement("span",{className:"".concat(Y,"-selection-item"),title:$t,style:Mt?{visibility:"hidden"}:void 0},It.label):null,Et)},qe=ie,Ke=function(Ie,I){var Y=(0,r.useRef)(null),be=(0,r.useRef)(!1),ye=Ie.prefixCls,g=Ie.open,re=Ie.mode,De=Ie.showSearch,u=Ie.tokenWithEnter,S=Ie.disabled,A=Ie.prefix,ve=Ie.autoClearSearchValue,j=Ie.onSearch,O=Ie.onSearchSubmit,W=Ie.onToggleOpen,ee=Ie.onInputKeyDown,ae=Ie.onInputBlur,b=Ie.domRef;r.useImperativeHandle(I,function(){return{focus:function($t){Y.current.focus($t)},blur:function(){Y.current.blur()}}});var m=h(0),B=(0,x.Z)(m,2),te=B[0],we=B[1],Ne=function($t){var Et=$t.which,Jt=Y.current instanceof HTMLTextAreaElement;!Jt&&g&&(Et===le.Z.UP||Et===le.Z.DOWN)&&$t.preventDefault(),ee&&ee($t),Et===le.Z.ENTER&&re==="tags"&&!be.current&&!g&&(O==null||O($t.target.value)),!(Jt&&!g&&~[le.Z.UP,le.Z.DOWN,le.Z.LEFT,le.Z.RIGHT].indexOf(Et))&&v(Et)&&W(!0)},ut=function(){we(!0)},ke=(0,r.useRef)(null),Q=function($t){j($t,!0,be.current)!==!1&&W(!0)},Ce=function(){be.current=!0},Me=function($t){be.current=!1,re!=="combobox"&&Q($t.target.value)},Ye=function($t){var Et=$t.target.value;if(u&&ke.current&&/[\r\n]/.test(ke.current)){var Jt=ke.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Et=Et.replace(Jt,ke.current)}ke.current=null,Q(Et)},ht=function($t){var Et=$t.clipboardData,Jt=Et==null?void 0:Et.getData("text");ke.current=Jt||""},ft=function($t){var Et=$t.target;if(Et!==Y.current){var Jt=document.body.style.msTouchAction!==void 0;Jt?setTimeout(function(){Y.current.focus()}):Y.current.focus()}},Ct=function($t){var Et=te();$t.target!==Y.current&&!Et&&!(re==="combobox"&&S)&&$t.preventDefault(),(re!=="combobox"&&(!De||!Et)||!g)&&(g&&ve!==!1&&j("",!0,!1),W())},It={inputRef:Y,onInputKeyDown:Ne,onInputMouseDown:ut,onInputChange:Ye,onInputPaste:ht,onInputCompositionStart:Ce,onInputCompositionEnd:Me,onInputBlur:ae},Dt=re==="multiple"||re==="tags"?r.createElement(Qe,(0,e.Z)({},Ie,It)):r.createElement(qe,(0,e.Z)({},Ie,It));return r.createElement("div",{ref:b,className:"".concat(ye,"-selector"),onClick:ft,onMouseDown:Ct},A&&r.createElement("div",{className:"".concat(ye,"-prefix")},A),Dt)},bt=r.forwardRef(Ke),Te=bt,k=t(65030),R=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],U=function(Ie){var I=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"}}},p=function(Ie,I){var Y=Ie.prefixCls,be=Ie.disabled,ye=Ie.visible,g=Ie.children,re=Ie.popupElement,De=Ie.animation,u=Ie.transitionName,S=Ie.dropdownStyle,A=Ie.dropdownClassName,ve=Ie.direction,j=ve===void 0?"ltr":ve,O=Ie.placement,W=Ie.builtinPlacements,ee=Ie.dropdownMatchSelectWidth,ae=Ie.dropdownRender,b=Ie.dropdownAlign,m=Ie.getPopupContainer,B=Ie.empty,te=Ie.getTriggerDOMNode,we=Ie.onPopupVisibleChange,Ne=Ie.onPopupMouseEnter,ut=(0,D.Z)(Ie,R),ke="".concat(Y,"-dropdown"),Q=re;ae&&(Q=ae(re));var Ce=r.useMemo(function(){return W||U(ee)},[W,ee]),Me=De?"".concat(ke,"-").concat(De):u,Ye=typeof ee=="number",ht=r.useMemo(function(){return Ye?null:ee===!1?"minWidth":"width"},[ee,Ye]),ft=S;Ye&&(ft=(0,L.Z)((0,L.Z)({},ft),{},{width:ee}));var Ct=r.useRef(null);return r.useImperativeHandle(I,function(){return{getPopupElement:function(){var Dt;return(Dt=Ct.current)===null||Dt===void 0?void 0:Dt.popupElement}}}),r.createElement(k.Z,(0,e.Z)({},ut,{showAction:we?["click"]:[],hideAction:we?["click"]:[],popupPlacement:O||(j==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ce,prefixCls:ke,popupTransitionName:Me,popup:r.createElement("div",{onMouseEnter:Ne},Q),ref:Ct,stretch:ht,popupAlign:b,popupVisible:ye,getPopupContainer:m,popupClassName:M()(A,(0,i.Z)({},"".concat(ke,"-empty"),B)),popupStyle:ft,getTriggerDOMNode:te,onPopupVisibleChange:we}),g)},fe=r.forwardRef(p),z=fe,o=t(66712);function f(Be,Ie){var I=Be.key,Y;return"value"in Be&&(Y=Be.value),I!=null?I:Y!==void 0?Y:"rc-index-key-".concat(Ie)}function se(Be){return typeof Be!="undefined"&&!Number.isNaN(Be)}function _(Be,Ie){var I=Be||{},Y=I.label,be=I.value,ye=I.options,g=I.groupLabel,re=Y||(Ie?"children":"label");return{label:re,value:be||"value",options:ye||"options",groupLabel:g||re}}function $(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Ie.fieldNames,Y=Ie.childrenAsData,be=[],ye=_(I,!1),g=ye.label,re=ye.value,De=ye.options,u=ye.groupLabel;function S(A,ve){Array.isArray(A)&&A.forEach(function(j){if(ve||!(De in j)){var O=j[re];be.push({key:f(j,be.length),groupOption:ve,data:j,label:j[g],value:O})}else{var W=j[u];W===void 0&&Y&&(W=j.label),be.push({key:f(j,be.length),group:!0,data:j,label:W}),S(j[De],!0)}})}return S(Be,!1),be}function N(Be){var Ie=(0,L.Z)({},Be);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,K.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var X=function(Ie,I,Y){if(!I||!I.length)return null;var be=!1,ye=function re(De,u){var S=(0,o.Z)(u),A=S[0],ve=S.slice(1);if(!A)return[De];var j=De.split(A);return be=be||j.length>1,j.reduce(function(O,W){return[].concat((0,d.Z)(O),(0,d.Z)(re(W,ve)))},[]).filter(Boolean)},g=ye(Ie,I);return be?typeof Y!="undefined"?g.slice(0,Y):g:null},ue=r.createContext(null),c=ue;function y(Be){var Ie=Be.visible,I=Be.values;if(!Ie)return null;var Y=50;return r.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(I.slice(0,Y).map(function(be){var ye=be.label,g=be.value;return["number","string"].includes((0,E.Z)(ye))?ye:g}).join(", ")),I.length>Y?", ...":null)}var Ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(Ie){return Ie==="tags"||Ie==="multiple"},He=r.forwardRef(function(Be,Ie){var I,Y=Be.id,be=Be.prefixCls,ye=Be.className,g=Be.showSearch,re=Be.tagRender,De=Be.direction,u=Be.omitDomProps,S=Be.displayValues,A=Be.onDisplayValuesChange,ve=Be.emptyOptions,j=Be.notFoundContent,O=j===void 0?"Not Found":j,W=Be.onClear,ee=Be.mode,ae=Be.disabled,b=Be.loading,m=Be.getInputElement,B=Be.getRawInputElement,te=Be.open,we=Be.defaultOpen,Ne=Be.onDropdownVisibleChange,ut=Be.activeValue,ke=Be.onActiveValueChange,Q=Be.activeDescendantId,Ce=Be.searchValue,Me=Be.autoClearSearchValue,Ye=Be.onSearch,ht=Be.onSearchSplit,ft=Be.tokenSeparators,Ct=Be.allowClear,It=Be.prefix,Dt=Be.suffixIcon,Mt=Be.clearIcon,$t=Be.OptionList,Et=Be.animation,Jt=Be.transitionName,At=Be.dropdownStyle,sn=Be.dropdownClassName,Gt=Be.dropdownMatchSelectWidth,Yt=Be.dropdownRender,nn=Be.dropdownAlign,fn=Be.placement,Zt=Be.builtinPlacements,Qt=Be.getPopupContainer,Ft=Be.showAction,_e=Ft===void 0?[]:Ft,mt=Be.onFocus,Kt=Be.onBlur,jt=Be.onKeyUp,qt=Be.onKeyDown,un=Be.onMouseDown,on=(0,D.Z)(Be,Ge),en=Le(ee),cn=(g!==void 0?g:en)||ee==="combobox",Rn=(0,L.Z)({},on);G.forEach(function(Nr){delete Rn[Nr]}),u==null||u.forEach(function(Nr){delete Rn[Nr]});var Bn=r.useState(!1),yn=(0,x.Z)(Bn,2),dn=yn[0],Kn=yn[1];r.useEffect(function(){Kn((0,me.Z)())},[]);var Xn=r.useRef(null),ar=r.useRef(null),$n=r.useRef(null),er=r.useRef(null),Wn=r.useRef(null),Sr=r.useRef(!1),Fr=s(),$r=(0,x.Z)(Fr,3),Cr=$r[0],vr=$r[1],En=$r[2];r.useImperativeHandle(Ie,function(){var Nr,Pr;return{focus:(Nr=er.current)===null||Nr===void 0?void 0:Nr.focus,blur:(Pr=er.current)===null||Pr===void 0?void 0:Pr.blur,scrollTo:function(Bo){var mo;return(mo=Wn.current)===null||mo===void 0?void 0:mo.scrollTo(Bo)},nativeElement:Xn.current||ar.current}});var Hn=r.useMemo(function(){var Nr;if(ee!=="combobox")return Ce;var Pr=(Nr=S[0])===null||Nr===void 0?void 0:Nr.value;return typeof Pr=="string"||typeof Pr=="number"?String(Pr):""},[Ce,ee,S]),lr=ee==="combobox"&&typeof m=="function"&&m()||null,fr=typeof B=="function"&&B(),Gn=(0,lt.x1)(ar,fr==null||(I=fr.props)===null||I===void 0?void 0:I.ref),ur=r.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1];(0,P.Z)(function(){br(!0)},[]);var Br=(0,Z.Z)(!1,{defaultValue:we,value:te}),wr=(0,x.Z)(Br,2),Tr=wr[0],Qr=wr[1],Or=gr?Tr:!1,zr=!O&&ve;(ae||zr&&Or&&ee==="combobox")&&(Or=!1);var qr=zr?!1:Or,Vn=r.useCallback(function(Nr){var Pr=Nr!==void 0?Nr:!Or;ae||(Qr(Pr),Or!==Pr&&(Ne==null||Ne(Pr)))},[ae,Or,Qr,Ne]),sr=r.useMemo(function(){return(ft||[]).some(function(Nr){return[` + `]:{zIndex:10,width:u,margin:`0 ${(0,Qe.unit)(g.marginXXS)}`,fontSize:u,cursor:"pointer",transition:`all ${g.motionDurationSlow}`,color:S,"&:hover":{color:S},svg:{verticalAlign:"baseline"}}},[`${j}-thumbnail, ${j}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${j}-name`]:{display:"none",textAlign:"center"},[`${j}-file + ${j}-name`]:{position:"absolute",bottom:g.margin,display:"block",width:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`},[`${j}-uploading`]:{[`&${j}`]:{backgroundColor:g.colorFillAlter},[`&::before, ${De}-eye, ${De}-download, ${De}-delete`]:{display:"none"}},[`${j}-progress`]:{bottom:g.marginXL,width:`calc(100% - ${(0,Qe.unit)(A(g.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${re}-wrapper${re}-picture-circle-wrapper`]:{[`${re}${re}-select`]:{borderRadius:"50%"}}}};var o=g=>{const{componentCls:re}=g;return{[`${re}-rtl`]:{direction:"rtl"}}};const f=g=>{const{componentCls:re,colorTextDisabled:De}=g;return{[`${re}-wrapper`]:Object.assign(Object.assign({},(0,tt.Wf)(g)),{[re]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${re}-select`]:{display:"inline-block"},[`${re}-hidden`]:{display:"none"},[`${re}-disabled`]:{color:De,cursor:"not-allowed"}})}},se=g=>({actionsColor:g.colorTextDescription});var _=(0,Se.I$)("Upload",g=>{const{fontSizeHeading3:re,fontHeight:De,lineWidth:u,controlHeightLG:S,calc:A}=g,ve=(0,ge.mergeToken)(g,{uploadThumbnailSize:A(re).mul(2).equal(),uploadProgressOffset:A(A(De).div(2)).add(u).equal(),uploadPicCardSize:A(S).mul(2.55).equal()});return[f(ve),qe(ve),p(ve),fe(ve),bt(ve),R(ve),o(ve),(0,q.Z)(ve)]},se),$={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:De}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:re}}]}},name:"file",theme:"twotone"},N=$,G=t(7657),ue=function(re,De){return e.createElement(G.Z,(0,D.Z)({},re,{ref:De,icon:N}))},c=e.forwardRef(ue),y=c,Ge=t(58617),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Le=W,He=function(re,De){return e.createElement(G.Z,(0,D.Z)({},re,{ref:De,icon:Le}))},nt=e.forwardRef(He),it=nt,et={icon:function(re,De){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:re}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:De}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:De}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:De}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:re}}]}},name:"picture",theme:"twotone"},w=et,pe=function(re,De){return e.createElement(G.Z,(0,D.Z)({},re,{ref:De,icon:w}))},Ze=e.forwardRef(pe),Ue=Ze,ot=t(77900),Tt=t(2738),ct=t(40192),dt=t(86641),Rt=t(22703),Vt=t(7939);function Ht(g){return Object.assign(Object.assign({},g),{lastModified:g.lastModified,lastModifiedDate:g.lastModifiedDate,name:g.name,size:g.size,type:g.type,uid:g.uid,percent:0,originFileObj:g})}function Xt(g,re){const De=(0,d.Z)(re),u=De.findIndex(S=>{let{uid:A}=S;return A===g.uid});return u===-1?De.push(g):De[u]=g,De}function wt(g,re){const De=g.uid!==void 0?"uid":"name";return re.filter(u=>u[De]===g[De])[0]}function Ut(g,re){const De=g.uid!==void 0?"uid":"name",u=re.filter(S=>S[De]!==g[De]);return u.length===re.length?null:u}const yt=function(){const re=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),u=re[re.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(u)||[""])[0]},Bt=g=>g.indexOf("image/")===0,Pt=g=>{if(g.type&&!g.thumbUrl)return Bt(g.type);const re=g.thumbUrl||g.url||"",De=yt(re);return/^data:image\//.test(re)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(De)?!0:!(/^data:/.test(re)||De)},kt=200;function Wt(g){return new Promise(re=>{if(!g.type||!Bt(g.type)){re("");return}const De=document.createElement("canvas");De.width=kt,De.height=kt,De.style.cssText=`position: fixed; left: 0; top: 0; width: ${kt}px; height: ${kt}px; z-index: 9999; display: none;`,document.body.appendChild(De);const u=De.getContext("2d"),S=new Image;if(S.onload=()=>{const{width:A,height:ve}=S;let j=kt,O=kt,V=0,ee=0;A>ve?(O=ve*(kt/A),ee=-(O-j)/2):(j=A*(kt/ve),V=-(j-O)/2),u.drawImage(S,V,ee,j,O);const ae=De.toDataURL();document.body.removeChild(De),window.URL.revokeObjectURL(S.src),re(ae)},S.crossOrigin="anonymous",g.type.startsWith("image/svg+xml")){const A=new FileReader;A.onload=()=>{A.result&&typeof A.result=="string"&&(S.src=A.result)},A.readAsDataURL(g)}else if(g.type.startsWith("image/gif")){const A=new FileReader;A.onload=()=>{A.result&&re(A.result)},A.readAsDataURL(g)}else S.src=window.URL.createObjectURL(g)})}var pt=t(26227),Lt=t(41464),ln=t(15277),rn=t(89787),xn=t(25399),Mn=e.forwardRef((g,re)=>{let{prefixCls:De,className:u,style:S,locale:A,listType:ve,file:j,items:O,progress:V,iconRender:ee,actionIconRender:ae,itemRender:b,isImgUrl:m,showPreviewIcon:B,showRemoveIcon:te,showDownloadIcon:we,previewIcon:Ne,removeIcon:ut,downloadIcon:ke,extra:Q,onPreview:Ce,onDownload:Me,onClose:Ye}=g;var ht,ft;const{status:Ct}=j,[It,Dt]=e.useState(Ct);e.useEffect(()=>{Ct!=="removed"&&Dt(Ct)},[Ct]);const[Mt,$t]=e.useState(!1);e.useEffect(()=>{const en=setTimeout(()=>{$t(!0)},300);return()=>{clearTimeout(en)}},[]);const Et=ee(j);let Jt=e.createElement("div",{className:`${De}-icon`},Et);if(ve==="picture"||ve==="picture-card"||ve==="picture-circle")if(It==="uploading"||!j.thumbUrl&&!j.url){const en=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:It!=="uploading"});Jt=e.createElement("div",{className:en},Et)}else{const en=m!=null&&m(j)?e.createElement("img",{src:j.thumbUrl||j.url,alt:j.name,className:`${De}-list-item-image`,crossOrigin:j.crossOrigin}):Et,cn=x()(`${De}-list-item-thumbnail`,{[`${De}-list-item-file`]:m&&!m(j)});Jt=e.createElement("a",{className:cn,onClick:Rn=>Ce(j,Rn),href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer"},en)}const At=x()(`${De}-list-item`,`${De}-list-item-${It}`),sn=typeof j.linkProps=="string"?JSON.parse(j.linkProps):j.linkProps,Gt=(typeof te=="function"?te(j):te)?ae((typeof ut=="function"?ut(j):ut)||e.createElement(pt.Z,null),()=>Ye(j),De,A.removeFile,!0):null,Yt=(typeof we=="function"?we(j):we)&&It==="done"?ae((typeof ke=="function"?ke(j):ke)||e.createElement(Lt.Z,null),()=>Me(j),De,A.downloadFile):null,nn=ve!=="picture-card"&&ve!=="picture-circle"&&e.createElement("span",{key:"download-delete",className:x()(`${De}-list-item-actions`,{picture:ve==="picture"})},Yt,Gt),fn=typeof Q=="function"?Q(j):Q,Zt=fn&&e.createElement("span",{className:`${De}-list-item-extra`},fn),Qt=x()(`${De}-list-item-name`),Ft=j.url?e.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qt,title:j.name},sn,{href:j.url,onClick:en=>Ce(j,en)}),j.name,Zt):e.createElement("span",{key:"view",className:Qt,onClick:en=>Ce(j,en),title:j.name},j.name,Zt),_e=(typeof B=="function"?B(j):B)&&(j.url||j.thumbUrl)?e.createElement("a",{href:j.url||j.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:en=>Ce(j,en),title:A.previewFile},typeof Ne=="function"?Ne(j):Ne||e.createElement(ln.Z,null)):null,mt=(ve==="picture-card"||ve==="picture-circle")&&It!=="uploading"&&e.createElement("span",{className:`${De}-list-item-actions`},_e,It==="done"&&Yt,Gt),{getPrefixCls:Kt}=e.useContext(We.E_),jt=Kt(),qt=e.createElement("div",{className:At},Jt,Ft,nn,mt,Mt&&e.createElement(ot.default,{motionName:`${jt}-fade`,visible:It==="uploading",motionDeadline:2e3},en=>{let{className:cn}=en;const Rn="percent"in j?e.createElement(rn.Z,Object.assign({},V,{type:"line",percent:j.percent,"aria-label":j["aria-label"],"aria-labelledby":j["aria-labelledby"]})):null;return e.createElement("div",{className:x()(`${De}-list-item-progress`,cn)},Rn)})),un=j.response&&typeof j.response=="string"?j.response:((ht=j.error)===null||ht===void 0?void 0:ht.statusText)||((ft=j.error)===null||ft===void 0?void 0:ft.message)||A.uploadError,on=It==="error"?e.createElement(xn.Z,{title:un,getPopupContainer:en=>en.parentNode},qt):qt;return e.createElement("div",{className:x()(`${De}-list-item-container`,u),style:S,ref:re},b?b(on,j,O,{download:Me.bind(null,j),preview:Ce.bind(null,j),remove:Ye.bind(null,j)}):on)});const tn=(g,re)=>{const{listType:De="text",previewFile:u=Wt,onPreview:S,onDownload:A,onRemove:ve,locale:j,iconRender:O,isImageUrl:V=Pt,prefixCls:ee,items:ae=[],showPreviewIcon:b=!0,showRemoveIcon:m=!0,showDownloadIcon:B=!1,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,progress:ke={size:[-1,2],showInfo:!1},appendAction:Q,appendActionVisible:Ce=!0,itemRender:Me,disabled:Ye}=g,ht=(0,ct.Z)(),[ft,Ct]=e.useState(!1),It=["picture-card","picture-circle"].includes(De);e.useEffect(()=>{De.startsWith("picture")&&(ae||[]).forEach(Zt=>{!(Zt.originFileObj instanceof File||Zt.originFileObj instanceof Blob)||Zt.thumbUrl!==void 0||(Zt.thumbUrl="",u==null||u(Zt.originFileObj).then(Qt=>{Zt.thumbUrl=Qt||"",ht()}))})},[De,ae,u]),e.useEffect(()=>{Ct(!0)},[]);const Dt=(Zt,Qt)=>{if(S)return Qt==null||Qt.preventDefault(),S(Zt)},Mt=Zt=>{typeof A=="function"?A(Zt):Zt.url&&window.open(Zt.url)},$t=Zt=>{ve==null||ve(Zt)},Et=Zt=>{if(O)return O(Zt,De);const Qt=Zt.status==="uploading";if(De.startsWith("picture")){const Ft=De==="picture"?e.createElement(Ge.Z,null):j.uploading,_e=V!=null&&V(Zt)?e.createElement(Ue,null):e.createElement(y,null);return Qt?Ft:_e}return Qt?e.createElement(Ge.Z,null):e.createElement(it,null)},Jt=(Zt,Qt,Ft,_e,mt)=>{const Kt={type:"text",size:"small",title:_e,onClick:jt=>{var qt,un;Qt(),e.isValidElement(Zt)&&((un=(qt=Zt.props).onClick)===null||un===void 0||un.call(qt,jt))},className:`${Ft}-list-item-action`};return mt&&(Kt.disabled=Ye),e.isValidElement(Zt)?e.createElement(Vt.ZP,Object.assign({},Kt,{icon:(0,Rt.Tm)(Zt,Object.assign(Object.assign({},Zt.props),{onClick:()=>{}}))})):e.createElement(Vt.ZP,Object.assign({},Kt),e.createElement("span",null,Zt))};e.useImperativeHandle(re,()=>({handlePreview:Dt,handleDownload:Mt}));const{getPrefixCls:At}=e.useContext(We.E_),sn=At("upload",ee),Gt=At(),Yt=x()(`${sn}-list`,`${sn}-list-${De}`),nn=e.useMemo(()=>(0,Tt.Z)((0,dt.Z)(Gt),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Gt]),fn=Object.assign(Object.assign({},It?{}:nn),{motionDeadline:2e3,motionName:`${sn}-${It?"animate-inline":"animate"}`,keys:(0,d.Z)(ae.map(Zt=>({key:Zt.uid,file:Zt}))),motionAppear:ft});return e.createElement("div",{className:Yt},e.createElement(ot.CSSMotionList,Object.assign({},fn,{component:!1}),Zt=>{let{key:Qt,file:Ft,className:_e,style:mt}=Zt;return e.createElement(Mn,{key:Qt,locale:j,prefixCls:sn,className:_e,style:mt,file:Ft,items:ae,progress:ke,listType:De,isImgUrl:V,showPreviewIcon:b,showRemoveIcon:m,showDownloadIcon:B,removeIcon:te,previewIcon:we,downloadIcon:Ne,extra:ut,iconRender:Et,actionIconRender:Jt,itemRender:Me,onPreview:Dt,onDownload:Mt,onClose:$t})}),Q&&e.createElement(ot.default,Object.assign({},fn,{visible:Ce,forceRender:!0}),Zt=>{let{className:Qt,style:Ft}=Zt;return(0,Rt.Tm)(Q,_e=>({className:x()(_e.className,Qt),style:Object.assign(Object.assign(Object.assign({},Ft),{pointerEvents:Qt?"none":void 0}),_e.style)}))}))};var Pn=e.forwardRef(tn),bn=function(g,re,De,u){function S(A){return A instanceof De?A:new De(function(ve){ve(A)})}return new(De||(De=Promise))(function(A,ve){function j(ee){try{V(u.next(ee))}catch(ae){ve(ae)}}function O(ee){try{V(u.throw(ee))}catch(ae){ve(ae)}}function V(ee){ee.done?A(ee.value):S(ee.value).then(j,O)}V((u=u.apply(g,re||[])).next())})};const Fn=`__LIST_IGNORE_${Date.now()}__`,_n=(g,re)=>{const{fileList:De,defaultFileList:u,onRemove:S,showUploadList:A=!0,listType:ve="text",onPreview:j,onDownload:O,onChange:V,onDrop:ee,previewFile:ae,disabled:b,locale:m,iconRender:B,isImageUrl:te,progress:we,prefixCls:Ne,className:ut,type:ke="select",children:Q,style:Ce,itemRender:Me,maxCount:Ye,data:ht={},multiple:ft=!1,hasControlInside:Ct=!0,action:It="",accept:Dt="",supportServerRender:Mt=!0,rootClassName:$t}=g,Et=e.useContext(st.Z),Jt=b!=null?b:Et,[At,sn]=(0,xe.Z)(u||[],{value:De,postState:Gn=>Gn!=null?Gn:[]}),[Gt,Yt]=e.useState("drop"),nn=e.useRef(null),fn=e.useRef(null);e.useMemo(()=>{const Gn=Date.now();(De||[]).forEach((ur,yr)=>{!ur.uid&&!Object.isFrozen(ur)&&(ur.uid=`__AUTO__${Gn}_${yr}__`)})},[De]);const Zt=(Gn,ur,yr)=>{let gr=(0,d.Z)(ur),br=!1;Ye===1?gr=gr.slice(-1):Ye&&(br=gr.length>Ye,gr=gr.slice(0,Ye)),(0,i.flushSync)(()=>{sn(gr)});const Br={file:Gn,fileList:gr};yr&&(Br.event=yr),(!br||Gn.status==="removed"||gr.some(wr=>wr.uid===Gn.uid))&&(0,i.flushSync)(()=>{V==null||V(Br)})},Qt=(Gn,ur)=>bn(void 0,void 0,void 0,function*(){const{beforeUpload:yr,transformFile:gr}=g;let br=Gn;if(yr){const Br=yield yr(Gn,ur);if(Br===!1)return!1;if(delete Gn[Fn],Br===Fn)return Object.defineProperty(Gn,Fn,{value:!0,configurable:!0}),!1;typeof Br=="object"&&Br&&(br=Br)}return gr&&(br=yield gr(br)),br}),Ft=Gn=>{const ur=Gn.filter(br=>!br.file[Fn]);if(!ur.length)return;const yr=ur.map(br=>Ht(br.file));let gr=(0,d.Z)(At);yr.forEach(br=>{gr=Xt(br,gr)}),yr.forEach((br,Br)=>{let wr=br;if(ur[Br].parsedFile)br.status="uploading";else{const{originFileObj:Tr}=br;let Qr;try{Qr=new File([Tr],Tr.name,{type:Tr.type})}catch(Or){Qr=new Blob([Tr],{type:Tr.type}),Qr.name=Tr.name,Qr.lastModifiedDate=new Date,Qr.lastModified=new Date().getTime()}Qr.uid=br.uid,wr=Qr}Zt(wr,gr)})},_e=(Gn,ur,yr)=>{try{typeof Gn=="string"&&(Gn=JSON.parse(Gn))}catch(Br){}if(!wt(ur,At))return;const gr=Ht(ur);gr.status="done",gr.percent=100,gr.response=Gn,gr.xhr=yr;const br=Xt(gr,At);Zt(gr,br)},mt=(Gn,ur)=>{if(!wt(ur,At))return;const yr=Ht(ur);yr.status="uploading",yr.percent=Gn.percent;const gr=Xt(yr,At);Zt(yr,gr,Gn)},Kt=(Gn,ur,yr)=>{if(!wt(yr,At))return;const gr=Ht(yr);gr.error=Gn,gr.response=ur,gr.status="error";const br=Xt(gr,At);Zt(gr,br)},jt=Gn=>{let ur;Promise.resolve(typeof S=="function"?S(Gn):S).then(yr=>{var gr;if(yr===!1)return;const br=Ut(Gn,At);br&&(ur=Object.assign(Object.assign({},Gn),{status:"removed"}),At==null||At.forEach(Br=>{const wr=ur.uid!==void 0?"uid":"name";Br[wr]===ur[wr]&&!Object.isFrozen(Br)&&(Br.status="removed")}),(gr=nn.current)===null||gr===void 0||gr.abort(ur),Zt(ur,br))})},qt=Gn=>{Yt(Gn.type),Gn.type==="drop"&&(ee==null||ee(Gn))};e.useImperativeHandle(re,()=>({onBatchStart:Ft,onSuccess:_e,onProgress:mt,onError:Kt,fileList:At,upload:nn.current,nativeElement:fn.current}));const{getPrefixCls:un,direction:on,upload:en}=e.useContext(We.E_),cn=un("upload",Ne),Rn=Object.assign(Object.assign({onBatchStart:Ft,onError:Kt,onProgress:mt,onSuccess:_e},g),{data:ht,multiple:ft,action:It,accept:Dt,supportServerRender:Mt,prefixCls:cn,disabled:Jt,beforeUpload:Qt,onChange:void 0,hasControlInside:Ct});delete Rn.className,delete Rn.style,(!Q||Jt)&&delete Rn.id;const Bn=`${cn}-wrapper`,[yn,dn,Kn]=_(cn,Bn),[Xn]=(0,at.Z)("Upload",Ae.Z.Upload),{showRemoveIcon:ar,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,extra:$r}=typeof A=="boolean"?{}:A,Cr=typeof ar=="undefined"?!Jt:ar,vr=(Gn,ur)=>A?e.createElement(Pn,{prefixCls:cn,listType:ve,items:At,previewFile:ae,onPreview:j,onDownload:O,onRemove:jt,showRemoveIcon:Cr,showPreviewIcon:$n,showDownloadIcon:er,removeIcon:Wn,previewIcon:Sr,downloadIcon:Fr,iconRender:B,extra:$r,locale:Object.assign(Object.assign({},Xn),m),isImageUrl:te,progress:we,appendAction:Gn,appendActionVisible:ur,itemRender:Me,disabled:Jt}):Gn,En=x()(Bn,ut,$t,dn,Kn,en==null?void 0:en.className,{[`${cn}-rtl`]:on==="rtl",[`${cn}-picture-card-wrapper`]:ve==="picture-card",[`${cn}-picture-circle-wrapper`]:ve==="picture-circle"}),Hn=Object.assign(Object.assign({},en==null?void 0:en.style),Ce);if(ke==="drag"){const Gn=x()(dn,cn,`${cn}-drag`,{[`${cn}-drag-uploading`]:At.some(ur=>ur.status==="uploading"),[`${cn}-drag-hover`]:Gt==="dragover",[`${cn}-disabled`]:Jt,[`${cn}-rtl`]:on==="rtl"});return yn(e.createElement("span",{className:En,ref:fn},e.createElement("div",{className:Gn,style:Hn,onDrop:qt,onDragOver:qt,onDragLeave:qt},e.createElement(ze,Object.assign({},Rn,{ref:nn,className:`${cn}-btn`}),e.createElement("div",{className:`${cn}-drag-container`},Q))),vr()))}const lr=x()(cn,`${cn}-select`,{[`${cn}-disabled`]:Jt,[`${cn}-hidden`]:!Q}),fr=e.createElement("div",{className:lr},e.createElement(ze,Object.assign({},Rn,{ref:nn})));return yn(ve==="picture-card"||ve==="picture-circle"?e.createElement("span",{className:En,ref:fn},vr(fr,!!Q)):e.createElement("span",{className:En,ref:fn},fr,vr()))};var Be=e.forwardRef(_n),Ie=function(g,re){var De={};for(var u in g)Object.prototype.hasOwnProperty.call(g,u)&&re.indexOf(u)<0&&(De[u]=g[u]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,u=Object.getOwnPropertySymbols(g);S{var{style:De,height:u,hasControlInside:S=!1}=g,A=Ie(g,["style","height","hasControlInside"]);return e.createElement(Be,Object.assign({ref:re,hasControlInside:S},A,{type:"drag",style:Object.assign(Object.assign({},De),{height:u})}))});const be=Be;be.Dragger=Y,be.LIST_IGNORE=Fn;var ye=be},16632:function(an,Je,t){var e=t(54476),d=t(33885),i=t(20068),L=t(42978),x=t(75931),D=t(92310),E=t.n(D),Z=t(18929),K=t(59301),r=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],U=(0,K.forwardRef)(function(M,P){var me=M.prefixCls,lt=me===void 0?"rc-checkbox":me,Fe=M.className,Pe=M.style,Ve=M.checked,C=M.disabled,he=M.defaultChecked,s=he===void 0?!1:he,h=M.type,oe=h===void 0?"checkbox":h,le=M.title,v=M.onChange,je=(0,x.Z)(M,r),Oe=(0,K.useRef)(null),ne=(0,K.useRef)(null),Re=(0,Z.Z)(s,{value:Ve}),de=(0,L.Z)(Re,2),H=de[0],n=de[1];(0,K.useImperativeHandle)(P,function(){return{focus:function(xe){var We;(We=Oe.current)===null||We===void 0||We.focus(xe)},blur:function(){var xe;(xe=Oe.current)===null||xe===void 0||xe.blur()},input:Oe.current,nativeElement:ne.current}});var ce=E()(lt,Fe,(0,i.Z)((0,i.Z)({},"".concat(lt,"-checked"),H),"".concat(lt,"-disabled"),C)),T=function(xe){C||("checked"in M||n(xe.target.checked),v==null||v({target:(0,d.Z)((0,d.Z)({},M),{},{type:oe,checked:xe.target.checked}),stopPropagation:function(){xe.stopPropagation()},preventDefault:function(){xe.preventDefault()},nativeEvent:xe.nativeEvent}))};return K.createElement("span",{className:ce,title:le,style:Pe,ref:ne},K.createElement("input",(0,e.Z)({},je,{className:"".concat(lt,"-input"),ref:Oe,onChange:T,disabled:C,checked:!!H,type:oe})),K.createElement("span",{className:"".concat(lt,"-inner")}))});Je.Z=U},96478:function(an,Je,t){t.d(Je,{Z:function(){return le}});var e=t(54476),d=t(20068),i=t(42978),L=t(75931),x=t(65030),D=t(92310),E=t.n(D),Z=t(8654),K=t(59301),r=t(10228),U=t(16089),M=r.Z.ESC,P=r.Z.TAB;function me(v){var je=v.visible,Oe=v.triggerRef,ne=v.onVisibleChange,Re=v.autoFocus,de=v.overlayRef,H=K.useRef(!1),n=function(){if(je){var xe,We;(xe=Oe.current)===null||xe===void 0||(We=xe.focus)===null||We===void 0||We.call(xe),ne==null||ne(!1)}},ce=function(){var xe;return(xe=de.current)!==null&&xe!==void 0&&xe.focus?(de.current.focus(),H.current=!0,!0):!1},T=function(xe){switch(xe.keyCode){case M:n();break;case P:{var We=!1;H.current||(We=ce()),We?xe.preventDefault():n();break}}};K.useEffect(function(){return je?(window.addEventListener("keydown",T),Re&&(0,U.Z)(ce,3),function(){window.removeEventListener("keydown",T),H.current=!1}):function(){H.current=!1}},[je])}var lt=(0,K.forwardRef)(function(v,je){var Oe=v.overlay,ne=v.arrow,Re=v.prefixCls,de=(0,K.useMemo)(function(){var n;return typeof Oe=="function"?n=Oe():n=Oe,n},[Oe]),H=(0,Z.sQ)(je,(0,Z.C4)(de));return K.createElement(K.Fragment,null,ne&&K.createElement("div",{className:"".concat(Re,"-arrow")}),K.cloneElement(de,{ref:(0,Z.Yr)(de)?H:void 0}))}),Fe=lt,Pe={adjustX:1,adjustY:1},Ve=[0,0],C={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:Ve},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:Ve},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:Ve},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:Ve},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:Ve},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:Ve}},he=C,s=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function h(v,je){var Oe,ne=v.arrow,Re=ne===void 0?!1:ne,de=v.prefixCls,H=de===void 0?"rc-dropdown":de,n=v.transitionName,ce=v.animation,T=v.align,ze=v.placement,xe=ze===void 0?"bottomLeft":ze,We=v.placements,st=We===void 0?he:We,at=v.getPopupContainer,Ae=v.showAction,tt=v.hideAction,q=v.overlayClassName,Se=v.overlayStyle,ge=v.visible,Qe=v.trigger,ie=Qe===void 0?["hover"]:Qe,qe=v.autoFocus,Ke=v.overlay,bt=v.children,Te=v.onVisibleChange,k=(0,L.Z)(v,s),R=K.useState(),X=(0,i.Z)(R,2),p=X[0],fe=X[1],z="visible"in v?ge:p,o=K.useRef(null),f=K.useRef(null),se=K.useRef(null);K.useImperativeHandle(je,function(){return o.current});var _=function(Le){fe(Le),Te==null||Te(Le)};me({visible:z,triggerRef:se,onVisibleChange:_,autoFocus:qe,overlayRef:f});var $=function(Le){var He=v.onOverlayClick;fe(!1),He&&He(Le)},N=function(){return K.createElement(Fe,{ref:f,overlay:Ke,prefixCls:H,arrow:Re})},G=function(){return typeof Ke=="function"?N:N()},ue=function(){var Le=v.minOverlayWidthMatchTrigger,He=v.alignPoint;return"minOverlayWidthMatchTrigger"in v?Le:!He},c=function(){var Le=v.openClassName;return Le!==void 0?Le:"".concat(H,"-open")},y=K.cloneElement(bt,{className:E()((Oe=bt.props)===null||Oe===void 0?void 0:Oe.className,z&&c()),ref:(0,Z.Yr)(bt)?(0,Z.sQ)(se,(0,Z.C4)(bt)):void 0}),Ge=tt;return!Ge&&ie.indexOf("contextMenu")!==-1&&(Ge=["click"]),K.createElement(x.Z,(0,e.Z)({builtinPlacements:st},k,{prefixCls:H,ref:o,popupClassName:E()(q,(0,d.Z)({},"".concat(H,"-show-arrow"),Re)),popupStyle:Se,action:ie,showAction:Ae,hideAction:Ge,popupPlacement:xe,popupAlign:T,popupTransitionName:n,popupAnimation:ce,popupVisible:z,stretch:ue()?"minWidth":"",popup:G(),onPopupVisibleChange:_,onPopupClick:$,getPopupContainer:at}),y)}var oe=K.forwardRef(h),le=oe},66003:function(an,Je,t){t.d(Je,{Z:function(){return E}});var e=t(75931),d=t(33885),i=t(76190),L=t(59301),x=["show"];function D(Z,K){if(!K.max)return!0;var r=K.strategy(Z);return r<=K.max}function E(Z,K){return L.useMemo(function(){var r={};K&&(r.show=(0,i.Z)(K)==="object"&&K.formatter?K.formatter:!!K),r=(0,d.Z)((0,d.Z)({},r),Z);var U=r,M=U.show,P=(0,e.Z)(U,x);return(0,d.Z)((0,d.Z)({},P),{},{show:!!M,showFormatter:typeof M=="function"?M:void 0,strategy:P.strategy||function(me){return me.length}})},[Z,K])}},36901:function(an,Je,t){t.r(Je),t.d(Je,{BaseInput:function(){return r},default:function(){return he}});var e=t(33885),d=t(54476),i=t(20068),L=t(76190),x=t(92310),D=t.n(x),E=t(59301),Z=t(30292),K=E.forwardRef(function(s,h){var oe,le,v,je=s.inputElement,Oe=s.children,ne=s.prefixCls,Re=s.prefix,de=s.suffix,H=s.addonBefore,n=s.addonAfter,ce=s.className,T=s.style,ze=s.disabled,xe=s.readOnly,We=s.focused,st=s.triggerFocus,at=s.allowClear,Ae=s.value,tt=s.handleReset,q=s.hidden,Se=s.classes,ge=s.classNames,Qe=s.dataAttrs,ie=s.styles,qe=s.components,Ke=s.onClear,bt=Oe!=null?Oe:je,Te=(qe==null?void 0:qe.affixWrapper)||"span",k=(qe==null?void 0:qe.groupWrapper)||"span",R=(qe==null?void 0:qe.wrapper)||"span",X=(qe==null?void 0:qe.groupAddon)||"span",p=(0,E.useRef)(null),fe=function(it){var et;(et=p.current)!==null&&et!==void 0&&et.contains(it.target)&&(st==null||st())},z=(0,Z.X3)(s),o=(0,E.cloneElement)(bt,{value:Ae,className:D()((oe=bt.props)===null||oe===void 0?void 0:oe.className,!z&&(ge==null?void 0:ge.variant))||null}),f=(0,E.useRef)(null);if(E.useImperativeHandle(h,function(){return{nativeElement:f.current||p.current}}),z){var se=null;if(at){var _=!ze&&!xe&&Ae,$="".concat(ne,"-clear-icon"),N=(0,L.Z)(at)==="object"&&at!==null&&at!==void 0&&at.clearIcon?at.clearIcon:"\u2716";se=E.createElement("button",{type:"button",tabIndex:-1,onClick:function(it){tt==null||tt(it),Ke==null||Ke()},onMouseDown:function(it){return it.preventDefault()},className:D()($,(0,i.Z)((0,i.Z)({},"".concat($,"-hidden"),!_),"".concat($,"-has-suffix"),!!de))},N)}var G="".concat(ne,"-affix-wrapper"),ue=D()(G,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(ne,"-disabled"),ze),"".concat(G,"-disabled"),ze),"".concat(G,"-focused"),We),"".concat(G,"-readonly"),xe),"".concat(G,"-input-with-clear-btn"),de&&at&&Ae),Se==null?void 0:Se.affixWrapper,ge==null?void 0:ge.affixWrapper,ge==null?void 0:ge.variant),c=(de||at)&&E.createElement("span",{className:D()("".concat(ne,"-suffix"),ge==null?void 0:ge.suffix),style:ie==null?void 0:ie.suffix},se,de);o=E.createElement(Te,(0,d.Z)({className:ue,style:ie==null?void 0:ie.affixWrapper,onClick:fe},Qe==null?void 0:Qe.affixWrapper,{ref:p}),Re&&E.createElement("span",{className:D()("".concat(ne,"-prefix"),ge==null?void 0:ge.prefix),style:ie==null?void 0:ie.prefix},Re),o,c)}if((0,Z.He)(s)){var y="".concat(ne,"-group"),Ge="".concat(y,"-addon"),W="".concat(y,"-wrapper"),Le=D()("".concat(ne,"-wrapper"),y,Se==null?void 0:Se.wrapper,ge==null?void 0:ge.wrapper),He=D()(W,(0,i.Z)({},"".concat(W,"-disabled"),ze),Se==null?void 0:Se.group,ge==null?void 0:ge.groupWrapper);o=E.createElement(k,{className:He,ref:f},E.createElement(R,{className:Le},H&&E.createElement(X,{className:Ge},H),o,n&&E.createElement(X,{className:Ge},n)))}return E.cloneElement(o,{className:D()((le=o.props)===null||le===void 0?void 0:le.className,ce)||null,style:(0,e.Z)((0,e.Z)({},(v=o.props)===null||v===void 0?void 0:v.style),T),hidden:q})}),r=K,U=t(94480),M=t(42978),P=t(75931),me=t(18929),lt=t(2738),Fe=t(66003),Pe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Ve=(0,E.forwardRef)(function(s,h){var oe=s.autoComplete,le=s.onChange,v=s.onFocus,je=s.onBlur,Oe=s.onPressEnter,ne=s.onKeyDown,Re=s.onKeyUp,de=s.prefixCls,H=de===void 0?"rc-input":de,n=s.disabled,ce=s.htmlSize,T=s.className,ze=s.maxLength,xe=s.suffix,We=s.showCount,st=s.count,at=s.type,Ae=at===void 0?"text":at,tt=s.classes,q=s.classNames,Se=s.styles,ge=s.onCompositionStart,Qe=s.onCompositionEnd,ie=(0,P.Z)(s,Pe),qe=(0,E.useState)(!1),Ke=(0,M.Z)(qe,2),bt=Ke[0],Te=Ke[1],k=(0,E.useRef)(!1),R=(0,E.useRef)(!1),X=(0,E.useRef)(null),p=(0,E.useRef)(null),fe=function(dt){X.current&&(0,Z.nH)(X.current,dt)},z=(0,me.Z)(s.defaultValue,{value:s.value}),o=(0,M.Z)(z,2),f=o[0],se=o[1],_=f==null?"":String(f),$=(0,E.useState)(null),N=(0,M.Z)($,2),G=N[0],ue=N[1],c=(0,Fe.Z)(st,We),y=c.max||ze,Ge=c.strategy(_),W=!!y&&Ge>y;(0,E.useImperativeHandle)(h,function(){var ct;return{focus:fe,blur:function(){var Rt;(Rt=X.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,Vt,Ht){var Xt;(Xt=X.current)===null||Xt===void 0||Xt.setSelectionRange(Rt,Vt,Ht)},select:function(){var Rt;(Rt=X.current)===null||Rt===void 0||Rt.select()},input:X.current,nativeElement:((ct=p.current)===null||ct===void 0?void 0:ct.nativeElement)||X.current}}),(0,E.useEffect)(function(){R.current&&(R.current=!1),Te(function(ct){return ct&&n?!1:ct})},[n]);var Le=function(dt,Rt,Vt){var Ht=Rt;if(!k.current&&c.exceedFormatter&&c.max&&c.strategy(Rt)>c.max){if(Ht=c.exceedFormatter(Rt,{max:c.max}),Rt!==Ht){var Xt,wt;ue([((Xt=X.current)===null||Xt===void 0?void 0:Xt.selectionStart)||0,((wt=X.current)===null||wt===void 0?void 0:wt.selectionEnd)||0])}}else if(Vt.source==="compositionEnd")return;se(Ht),X.current&&(0,Z.rJ)(X.current,dt,le,Ht)};(0,E.useEffect)(function(){if(G){var ct;(ct=X.current)===null||ct===void 0||ct.setSelectionRange.apply(ct,(0,U.Z)(G))}},[G]);var He=function(dt){Le(dt,dt.target.value,{source:"change"})},nt=function(dt){k.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),Qe==null||Qe(dt)},it=function(dt){Oe&&dt.key==="Enter"&&!R.current&&(R.current=!0,Oe(dt)),ne==null||ne(dt)},et=function(dt){dt.key==="Enter"&&(R.current=!1),Re==null||Re(dt)},w=function(dt){Te(!0),v==null||v(dt)},pe=function(dt){R.current&&(R.current=!1),Te(!1),je==null||je(dt)},Ze=function(dt){se(""),fe(),X.current&&(0,Z.rJ)(X.current,dt,le)},Ue=W&&"".concat(H,"-out-of-range"),ot=function(){var dt=(0,lt.Z)(s,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return E.createElement("input",(0,d.Z)({autoComplete:oe},dt,{onChange:He,onFocus:w,onBlur:pe,onKeyDown:it,onKeyUp:et,className:D()(H,(0,i.Z)({},"".concat(H,"-disabled"),n),q==null?void 0:q.input),style:Se==null?void 0:Se.input,ref:X,size:ce,type:Ae,onCompositionStart:function(Vt){k.current=!0,ge==null||ge(Vt)},onCompositionEnd:nt}))},Tt=function(){var dt=Number(y)>0;if(xe||c.show){var Rt=c.showFormatter?c.showFormatter({value:_,count:Ge,maxLength:y}):"".concat(Ge).concat(dt?" / ".concat(y):"");return E.createElement(E.Fragment,null,c.show&&E.createElement("span",{className:D()("".concat(H,"-show-count-suffix"),(0,i.Z)({},"".concat(H,"-show-count-has-suffix"),!!xe),q==null?void 0:q.count),style:(0,e.Z)({},Se==null?void 0:Se.count)},Rt),xe)}return null};return E.createElement(r,(0,d.Z)({},ie,{prefixCls:H,className:D()(T,Ue),handleReset:Ze,value:_,focused:bt,triggerFocus:fe,suffix:Tt(),disabled:n,classes:tt,classNames:q,styles:Se}),ot())}),C=Ve,he=C},30292:function(an,Je,t){t.d(Je,{He:function(){return e},X3:function(){return d},nH:function(){return x},rJ:function(){return L}});function e(D){return!!(D.addonBefore||D.addonAfter)}function d(D){return!!(D.prefix||D.suffix||D.allowClear)}function i(D,E,Z){var K=E.cloneNode(!0),r=Object.create(D,{target:{value:K},currentTarget:{value:K}});return K.value=Z,typeof E.selectionStart=="number"&&typeof E.selectionEnd=="number"&&(K.selectionStart=E.selectionStart,K.selectionEnd=E.selectionEnd),K.setSelectionRange=function(){E.setSelectionRange.apply(E,arguments)},r}function L(D,E,Z,K){if(Z){var r=E;if(E.type==="click"){r=i(E,D,""),Z(r);return}if(D.type!=="file"&&K!==void 0){r=i(E,D,K),Z(r);return}Z(r)}}function x(D,E){if(D){D.focus(E);var Z=E||{},K=Z.cursor;if(K){var r=D.value.length;switch(K){case"start":D.setSelectionRange(0,0);break;case"end":D.setSelectionRange(r,r);break;default:D.setSelectionRange(0,r)}}}}},28321:function(an,Je,t){t.d(Je,{iz:function(){return Be},ck:function(){return Ht},BW:function(){return be},sN:function(){return Ht},Wd:function(){return _n},ZP:function(){return j},Xl:function(){return Oe}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(83836),r=t(18929),U=t(13697),M=t(48736),P=t(59301),me=t(4676),lt=P.createContext(null);function Fe(O,V){return O===void 0?null:"".concat(O,"-").concat(V)}function Pe(O){var V=P.useContext(lt);return Fe(V,O)}var Ve=t(80547),C=["children","locked"],he=P.createContext(null);function s(O,V){var ee=(0,i.Z)({},O);return Object.keys(V).forEach(function(ae){var b=V[ae];b!==void 0&&(ee[ae]=b)}),ee}function h(O){var V=O.children,ee=O.locked,ae=(0,D.Z)(O,C),b=P.useContext(he),m=(0,Ve.Z)(function(){return s(b,ae)},[b,ae],function(B,te){return!ee&&(B[0]!==te[0]||!(0,U.Z)(B[1],te[1],!0))});return P.createElement(he.Provider,{value:m},V)}var oe=[],le=P.createContext(null);function v(){return P.useContext(le)}var je=P.createContext(oe);function Oe(O){var V=P.useContext(je);return P.useMemo(function(){return O!==void 0?[].concat((0,L.Z)(V),[O]):V},[V,O])}var ne=P.createContext(null),Re=P.createContext({}),de=Re,H=t(29194);function n(O){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,H.Z)(O)){var ee=O.nodeName.toLowerCase(),ae=["input","select","textarea","button"].includes(ee)||O.isContentEditable||ee==="a"&&!!O.getAttribute("href"),b=O.getAttribute("tabindex"),m=Number(b),B=null;return b&&!Number.isNaN(m)?B=m:ae&&B===null&&(B=0),ae&&O.disabled&&(B=null),B!==null&&(B>=0||V&&B<0)}return!1}function ce(O){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ee=(0,L.Z)(O.querySelectorAll("*")).filter(function(ae){return n(ae,V)});return n(O,V)&&ee.unshift(O),ee}var T=null;function ze(){T=document.activeElement}function xe(){T=null}function We(){if(T)try{T.focus()}catch(O){}}function st(O,V){if(V.keyCode===9){var ee=ce(O),ae=ee[V.shiftKey?0:ee.length-1],b=ae===document.activeElement||O===document.activeElement;if(b){var m=ee[V.shiftKey?ee.length-1:0];m.focus(),V.preventDefault()}}}var at=t(10228),Ae=t(16089),tt=at.Z.LEFT,q=at.Z.RIGHT,Se=at.Z.UP,ge=at.Z.DOWN,Qe=at.Z.ENTER,ie=at.Z.ESC,qe=at.Z.HOME,Ke=at.Z.END,bt=[Se,ge,tt,q];function Te(O,V,ee,ae){var b,m="prev",B="next",te="children",we="parent";if(O==="inline"&&ae===Qe)return{inlineTrigger:!0};var Ne=(0,d.Z)((0,d.Z)({},Se,m),ge,B),ut=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},tt,ee?B:m),q,ee?m:B),ge,te),Qe,te),ke=(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},Se,m),ge,B),Qe,te),ie,we),tt,ee?te:we),q,ee?we:te),Q={inline:Ne,horizontal:ut,vertical:ke,inlineSub:Ne,horizontalSub:ke,verticalSub:ke},Ce=(b=Q["".concat(O).concat(V?"":"Sub")])===null||b===void 0?void 0:b[ae];switch(Ce){case m:return{offset:-1,sibling:!0};case B:return{offset:1,sibling:!0};case we:return{offset:-1,sibling:!1};case te:return{offset:1,sibling:!1};default:return null}}function k(O){for(var V=O;V;){if(V.getAttribute("data-menu-list"))return V;V=V.parentElement}return null}function R(O,V){for(var ee=O||document.activeElement;ee;){if(V.has(ee))return ee;ee=ee.parentElement}return null}function X(O,V){var ee=ce(O,!0);return ee.filter(function(ae){return V.has(ae)})}function p(O,V,ee){var ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!O)return null;var b=X(O,V),m=b.length,B=b.findIndex(function(te){return ee===te});return ae<0?B===-1?B=m-1:B-=1:ae>0&&(B+=1),B=(B+m)%m,b[B]}var fe=function(V,ee){var ae=new Set,b=new Map,m=new Map;return V.forEach(function(B){var te=document.querySelector("[data-menu-id='".concat(Fe(ee,B),"']"));te&&(ae.add(te),m.set(te,B),b.set(B,te))}),{elements:ae,key2element:b,element2key:m}};function z(O,V,ee,ae,b,m,B,te,we,Ne){var ut=P.useRef(),ke=P.useRef();ke.current=V;var Q=function(){Ae.Z.cancel(ut.current)};return P.useEffect(function(){return function(){Q()}},[]),function(Ce){var Me=Ce.which;if([].concat(bt,[Qe,ie,qe,Ke]).includes(Me)){var Ye=m(),ht=fe(Ye,ae),ft=ht,Ct=ft.elements,It=ft.key2element,Dt=ft.element2key,Mt=It.get(V),$t=R(Mt,Ct),Et=Dt.get($t),Jt=Te(O,B(Et,!0).length===1,ee,Me);if(!Jt&&Me!==qe&&Me!==Ke)return;(bt.includes(Me)||[qe,Ke].includes(Me))&&Ce.preventDefault();var At=function(Ft){if(Ft){var _e=Ft,mt=Ft.querySelector("a");mt!=null&&mt.getAttribute("href")&&(_e=mt);var Kt=Dt.get(Ft);te(Kt),Q(),ut.current=(0,Ae.Z)(function(){ke.current===Kt&&_e.focus()})}};if([qe,Ke].includes(Me)||Jt.sibling||!$t){var sn;!$t||O==="inline"?sn=b.current:sn=k($t);var Gt,Yt=X(sn,Ct);Me===qe?Gt=Yt[0]:Me===Ke?Gt=Yt[Yt.length-1]:Gt=p(sn,Ct,$t,Jt.offset),At(Gt)}else if(Jt.inlineTrigger)we(Et);else if(Jt.offset>0)we(Et,!0),Q(),ut.current=(0,Ae.Z)(function(){ht=fe(Ye,ae);var Qt=$t.getAttribute("aria-controls"),Ft=document.getElementById(Qt),_e=p(Ft,ht.elements);At(_e)},5);else if(Jt.offset<0){var nn=B(Et,!0),fn=nn[nn.length-2],Zt=It.get(fn);we(fn,!1),At(Zt)}}Ne==null||Ne(Ce)}}function o(O){Promise.resolve().then(O)}var f="__RC_UTIL_PATH_SPLIT__",se=function(V){return V.join(f)},_=function(V){return V.split(f)},$="rc-menu-more";function N(){var O=P.useState({}),V=(0,x.Z)(O,2),ee=V[1],ae=(0,P.useRef)(new Map),b=(0,P.useRef)(new Map),m=P.useState([]),B=(0,x.Z)(m,2),te=B[0],we=B[1],Ne=(0,P.useRef)(0),ut=(0,P.useRef)(!1),ke=function(){ut.current||ee({})},Q=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);b.current.set(Mt,It),ae.current.set(It,Mt),Ne.current+=1;var $t=Ne.current;o(function(){$t===Ne.current&&ke()})},[]),Ce=(0,P.useCallback)(function(It,Dt){var Mt=se(Dt);b.current.delete(Mt),ae.current.delete(It)},[]),Me=(0,P.useCallback)(function(It){we(It)},[]),Ye=(0,P.useCallback)(function(It,Dt){var Mt=ae.current.get(It)||"",$t=_(Mt);return Dt&&te.includes($t[0])&&$t.unshift($),$t},[te]),ht=(0,P.useCallback)(function(It,Dt){return It.filter(function(Mt){return Mt!==void 0}).some(function(Mt){var $t=Ye(Mt,!0);return $t.includes(Dt)})},[Ye]),ft=function(){var Dt=(0,L.Z)(ae.current.keys());return te.length&&Dt.push($),Dt},Ct=(0,P.useCallback)(function(It){var Dt="".concat(ae.current.get(It)).concat(f),Mt=new Set;return(0,L.Z)(b.current.keys()).forEach(function($t){$t.startsWith(Dt)&&Mt.add(b.current.get($t))}),Mt},[]);return P.useEffect(function(){return function(){ut.current=!0}},[]),{registerPath:Q,unregisterPath:Ce,refreshOverflowKeys:Me,isSubPathKey:ht,getKeyPath:Ye,getKeys:ft,getSubPathKeys:Ct}}function G(O){var V=P.useRef(O);V.current=O;var ee=P.useCallback(function(){for(var ae,b=arguments.length,m=new Array(b),B=0;B1&&(Ct.motionAppear=!1);var It=Ct.onVisibleChanged;return Ct.onVisibleChanged=function(Dt){return!Q.current&&!Dt&&ht(!0),It==null?void 0:It(Dt)},Ye?null:P.createElement(h,{mode:m,locked:!Q.current},P.createElement(Mn.default,(0,e.Z)({visible:ft},Ct,{forceRender:we,removeOnLeave:!1,leavedClassName:"".concat(te,"-hidden")}),function(Dt){var Mt=Dt.className,$t=Dt.style;return P.createElement(yt,{id:V,className:Mt,style:$t},b)}))}var Nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Pn=["active"],bn=P.forwardRef(function(O,V){var ee=O.style,ae=O.className,b=O.title,m=O.eventKey,B=O.warnKey,te=O.disabled,we=O.internalPopupClose,Ne=O.children,ut=O.itemIcon,ke=O.expandIcon,Q=O.popupClassName,Ce=O.popupOffset,Me=O.popupStyle,Ye=O.onClick,ht=O.onMouseEnter,ft=O.onMouseLeave,Ct=O.onTitleClick,It=O.onTitleMouseEnter,Dt=O.onTitleMouseLeave,Mt=(0,D.Z)(O,Nn),$t=Pe(m),Et=P.useContext(he),Jt=Et.prefixCls,At=Et.mode,sn=Et.openKeys,Gt=Et.disabled,Yt=Et.overflowDisabled,nn=Et.activeKey,fn=Et.selectedKeys,Zt=Et.itemIcon,Qt=Et.expandIcon,Ft=Et.onItemClick,_e=Et.onOpenChange,mt=Et.onActive,Kt=P.useContext(de),jt=Kt._internalRenderSubMenuItem,qt=P.useContext(ne),un=qt.isSubPathKey,on=Oe(),en="".concat(Jt,"-submenu"),cn=Gt||te,Rn=P.useRef(),Bn=P.useRef(),yn=ut!=null?ut:Zt,dn=ke!=null?ke:Qt,Kn=sn.includes(m),Xn=!Yt&&Kn,ar=un(fn,m),$n=et(m,cn,It,Dt),er=$n.active,Wn=(0,D.Z)($n,Pn),Sr=P.useState(!1),Fr=(0,x.Z)(Sr,2),$r=Fr[0],Cr=Fr[1],vr=function(qr){cn||Cr(qr)},En=function(qr){vr(!0),ht==null||ht({key:m,domEvent:qr})},Hn=function(qr){vr(!1),ft==null||ft({key:m,domEvent:qr})},lr=P.useMemo(function(){return er||(At!=="inline"?$r||un([nn],m):!1)},[At,er,nn,$r,m,un]),fr=w(on.length),Gn=function(qr){cn||(Ct==null||Ct({key:m,domEvent:qr}),At==="inline"&&_e(m,!Kn))},ur=G(function(zr){Ye==null||Ye(Ue(zr)),Ft(zr)}),yr=function(qr){At!=="inline"&&_e(m,qr)},gr=function(){mt(m)},br=$t&&"".concat($t,"-popup"),Br=P.useMemo(function(){return P.createElement(pe,{icon:At!=="horizontal"?dn:void 0,props:(0,i.Z)((0,i.Z)({},O),{},{isOpen:Xn,isSubMenu:!0})},P.createElement("i",{className:"".concat(en,"-arrow")}))},[At,dn,O,Xn,en]),wr=P.createElement("div",(0,e.Z)({role:"menuitem",style:fr,className:"".concat(en,"-title"),tabIndex:cn?null:-1,ref:Rn,title:typeof b=="string"?b:null,"data-menu-id":Yt&&$t?null:$t,"aria-expanded":Xn,"aria-haspopup":!0,"aria-controls":br,"aria-disabled":cn,onClick:Gn,onFocus:gr},Wn),b,Br),Tr=P.useRef(At);if(At!=="inline"&&on.length>1?Tr.current="vertical":Tr.current=At,!Yt){var Qr=Tr.current;wr=P.createElement(Dn,{mode:Qr,prefixCls:en,visible:!we&&Xn&&At!=="inline",popupClassName:Q,popupOffset:Ce,popupStyle:Me,popup:P.createElement(h,{mode:Qr==="horizontal"?"vertical":Qr},P.createElement(yt,{id:br,ref:Bn},Ne)),disabled:cn,onVisibleChange:yr},wr)}var Or=P.createElement(K.Z.Item,(0,e.Z)({ref:V,role:"none"},Mt,{component:"li",style:ee,className:Z()(en,"".concat(en,"-").concat(At),ae,(0,d.Z)((0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(en,"-open"),Xn),"".concat(en,"-active"),lr),"".concat(en,"-selected"),ar),"".concat(en,"-disabled"),cn)),onMouseEnter:En,onMouseLeave:Hn}),wr,!Yt&&P.createElement(tn,{id:br,open:Xn,keyPath:on},Ne));return jt&&(Or=jt(Or,O,{selected:ar,active:lr,open:Xn,disabled:cn})),P.createElement(h,{onItemClick:ur,mode:At==="horizontal"?"vertical":At,itemIcon:yn,expandIcon:dn},Or)}),Fn=P.forwardRef(function(O,V){var ee=O.eventKey,ae=O.children,b=Oe(ee),m=Pt(ae,b),B=v();P.useEffect(function(){if(B)return B.registerPath(ee,b),function(){B.unregisterPath(ee,b)}},[b]);var te;return B?te=m:te=P.createElement(bn,(0,e.Z)({ref:V},O),m),P.createElement(je.Provider,{value:b},te)}),_n=Fn,Jn=t(76190);function Be(O){var V=O.className,ee=O.style,ae=P.useContext(he),b=ae.prefixCls,m=v();return m?null:P.createElement("li",{role:"separator",className:Z()("".concat(b,"-item-divider"),V),style:ee})}var Ie=["className","title","eventKey","children"],I=P.forwardRef(function(O,V){var ee=O.className,ae=O.title,b=O.eventKey,m=O.children,B=(0,D.Z)(O,Ie),te=P.useContext(he),we=te.prefixCls,Ne="".concat(we,"-item-group");return P.createElement("li",(0,e.Z)({ref:V,role:"presentation"},B,{onClick:function(ke){return ke.stopPropagation()},className:Z()(Ne,ee)}),P.createElement("div",{role:"presentation",className:"".concat(Ne,"-title"),title:typeof ae=="string"?ae:void 0},ae),P.createElement("ul",{role:"group",className:"".concat(Ne,"-list")},m))}),Y=P.forwardRef(function(O,V){var ee=O.eventKey,ae=O.children,b=Oe(ee),m=Pt(ae,b),B=v();return B?m:P.createElement(I,(0,e.Z)({ref:V},(0,nt.Z)(O,["warnKey"])),m)}),be=Y,ye=["label","children","key","type","extra"];function g(O,V,ee){var ae=V.item,b=V.group,m=V.submenu,B=V.divider;return(O||[]).map(function(te,we){if(te&&(0,Jn.Z)(te)==="object"){var Ne=te,ut=Ne.label,ke=Ne.children,Q=Ne.key,Ce=Ne.type,Me=Ne.extra,Ye=(0,D.Z)(Ne,ye),ht=Q!=null?Q:"tmp-".concat(we);return ke||Ce==="group"?Ce==="group"?P.createElement(b,(0,e.Z)({key:ht},Ye,{title:ut}),g(ke,V,ee)):P.createElement(m,(0,e.Z)({key:ht},Ye,{title:ut}),g(ke,V,ee)):Ce==="divider"?P.createElement(B,(0,e.Z)({key:ht},Ye)):P.createElement(ae,(0,e.Z)({key:ht},Ye,{extra:Me}),ut,(!!Me||Me===0)&&P.createElement("span",{className:"".concat(ee,"-item-extra")},Me))}return null}).filter(function(te){return te})}function re(O,V,ee,ae,b){var m=O,B=(0,i.Z)({divider:Be,item:Ht,group:be,submenu:_n},ae);return V&&(m=g(V,B,b)),Pt(m,ee)}var De=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],u=[],S=P.forwardRef(function(O,V){var ee,ae=O,b=ae.prefixCls,m=b===void 0?"rc-menu":b,B=ae.rootClassName,te=ae.style,we=ae.className,Ne=ae.tabIndex,ut=Ne===void 0?0:Ne,ke=ae.items,Q=ae.children,Ce=ae.direction,Me=ae.id,Ye=ae.mode,ht=Ye===void 0?"vertical":Ye,ft=ae.inlineCollapsed,Ct=ae.disabled,It=ae.disabledOverflow,Dt=ae.subMenuOpenDelay,Mt=Dt===void 0?.1:Dt,$t=ae.subMenuCloseDelay,Et=$t===void 0?.1:$t,Jt=ae.forceSubMenuRender,At=ae.defaultOpenKeys,sn=ae.openKeys,Gt=ae.activeKey,Yt=ae.defaultActiveFirst,nn=ae.selectable,fn=nn===void 0?!0:nn,Zt=ae.multiple,Qt=Zt===void 0?!1:Zt,Ft=ae.defaultSelectedKeys,_e=ae.selectedKeys,mt=ae.onSelect,Kt=ae.onDeselect,jt=ae.inlineIndent,qt=jt===void 0?24:jt,un=ae.motion,on=ae.defaultMotions,en=ae.triggerSubMenuAction,cn=en===void 0?"hover":en,Rn=ae.builtinPlacements,Bn=ae.itemIcon,yn=ae.expandIcon,dn=ae.overflowedIndicator,Kn=dn===void 0?"...":dn,Xn=ae.overflowedIndicatorPopupClassName,ar=ae.getPopupContainer,$n=ae.onClick,er=ae.onOpenChange,Wn=ae.onKeyDown,Sr=ae.openAnimation,Fr=ae.openTransitionName,$r=ae._internalRenderMenuItem,Cr=ae._internalRenderSubMenuItem,vr=ae._internalComponents,En=(0,D.Z)(ae,De),Hn=P.useMemo(function(){return[re(Q,ke,u,vr,m),re(Q,ke,u,{},m)]},[Q,ke,vr]),lr=(0,x.Z)(Hn,2),fr=lr[0],Gn=lr[1],ur=P.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1],Br=P.useRef(),wr=y(Me),Tr=Ce==="rtl",Qr=(0,r.Z)(At,{value:sn,postState:function(Jr){return Jr||u}}),Or=(0,x.Z)(Qr,2),zr=Or[0],qr=Or[1],Vn=function(Jr){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Lo(){qr(Jr),er==null||er(Jr)}to?(0,me.flushSync)(Lo):Lo()},sr=P.useState(zr),kn=(0,x.Z)(sr,2),zn=kn[0],cr=kn[1],pr=P.useRef(!1),eo=P.useMemo(function(){return(ht==="inline"||ht==="vertical")&&ft?["vertical",ft]:[ht,!1]},[ht,ft]),In=(0,x.Z)(eo,2),tr=In[0],Dr=In[1],kr=tr==="inline",Ur=P.useState(tr),Uo=(0,x.Z)(Ur,2),$o=Uo[0],Yo=Uo[1],wo=P.useState(Dr),da=(0,x.Z)(wo,2),Za=da[0],Na=da[1];P.useEffect(function(){Yo(tr),Na(Dr),pr.current&&(kr?qr(zn):Vn(u))},[tr,Dr]);var sa=P.useState(0),wa=(0,x.Z)(sa,2),ma=wa[0],Xa=wa[1],ga=ma>=fr.length-1||$o!=="horizontal"||It;P.useEffect(function(){kr&&cr(zr)},[zr]),P.useEffect(function(){return pr.current=!0,function(){pr.current=!1}},[]);var Qo=N(),Sa=Qo.registerPath,Aa=Qo.unregisterPath,Oa=Qo.refreshOverflowKeys,Jo=Qo.isSubPathKey,Ta=Qo.getKeyPath,pa=Qo.getKeys,Fa=Qo.getSubPathKeys,xa=P.useMemo(function(){return{registerPath:Sa,unregisterPath:Aa}},[Sa,Aa]),Ga=P.useMemo(function(){return{isSubPathKey:Jo}},[Jo]);P.useEffect(function(){Oa(ga?u:fr.slice(ma+1).map(function(lo){return lo.key}))},[ma,ga]);var La=(0,r.Z)(Gt||Yt&&((ee=fr[0])===null||ee===void 0?void 0:ee.key),{value:Gt}),fa=(0,x.Z)(La,2),qo=fa[0],Nr=fa[1],Pr=G(function(lo){Nr(lo)}),Oo=G(function(){Nr(void 0)});(0,P.useImperativeHandle)(V,function(){return{list:Br.current,focus:function(Jr){var to,Lo=pa(),zo=fe(Lo,wr),ba=zo.elements,Pa=zo.key2element,Ya=zo.element2key,za=X(Br.current,ba),Ra=qo!=null?qo:za[0]?Ya.get(za[0]):(to=fr.find(function(Qa){return!Qa.props.disabled}))===null||to===void 0?void 0:to.key,$a=Pa.get(Ra);if(Ra&&$a){var ja;$a==null||(ja=$a.focus)===null||ja===void 0||ja.call($a,Jr)}}}});var Bo=(0,r.Z)(Ft||[],{value:_e,postState:function(Jr){return Array.isArray(Jr)?Jr:Jr==null?u:[Jr]}}),mo=(0,x.Z)(Bo,2),ho=mo[0],Go=mo[1],Xo=function(Jr){if(fn){var to=Jr.key,Lo=ho.includes(to),zo;Qt?Lo?zo=ho.filter(function(Pa){return Pa!==to}):zo=[].concat((0,L.Z)(ho),[to]):zo=[to],Go(zo);var ba=(0,i.Z)((0,i.Z)({},Jr),{},{selectedKeys:zo});Lo?Kt==null||Kt(ba):mt==null||mt(ba)}!Qt&&zr.length&&$o!=="inline"&&Vn(u)},_o=G(function(lo){$n==null||$n(Ue(lo)),Xo(lo)}),oa=G(function(lo,Jr){var to=zr.filter(function(zo){return zo!==lo});if(Jr)to.push(lo);else if($o!=="inline"){var Lo=Fa(lo);to=to.filter(function(zo){return!Lo.has(zo)})}(0,U.Z)(zr,to,!0)||Vn(to,!0)}),aa=function(Jr,to){var Lo=to!=null?to:!zr.includes(Jr);oa(Jr,Lo)},ha=z($o,qo,Tr,wr,Br,pa,Ta,Nr,aa,Wn);P.useEffect(function(){br(!0)},[]);var Ca=P.useMemo(function(){return{_internalRenderMenuItem:$r,_internalRenderSubMenuItem:Cr}},[$r,Cr]),tl=$o!=="horizontal"||It?fr:fr.map(function(lo,Jr){return P.createElement(h,{key:lo.key,overflowDisabled:Jr>ma},lo)}),ka=P.createElement(K.Z,(0,e.Z)({id:Me,ref:Br,prefixCls:"".concat(m,"-overflow"),component:"ul",itemComponent:Ht,className:Z()(m,"".concat(m,"-root"),"".concat(m,"-").concat($o),we,(0,d.Z)((0,d.Z)({},"".concat(m,"-inline-collapsed"),Za),"".concat(m,"-rtl"),Tr),B),dir:Ce,style:te,role:"menu",tabIndex:ut,data:tl,renderRawItem:function(Jr){return Jr},renderRawRest:function(Jr){var to=Jr.length,Lo=to?fr.slice(-to):null;return P.createElement(_n,{eventKey:$,title:Kn,disabled:ga,internalPopupClose:to===0,popupClassName:Xn},Lo)},maxCount:$o!=="horizontal"||It?K.Z.INVALIDATE:K.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Jr){Xa(Jr)},onKeyDown:ha},En));return P.createElement(de.Provider,{value:Ca},P.createElement(lt.Provider,{value:wr},P.createElement(h,{prefixCls:m,rootClassName:B,mode:$o,openKeys:zr,rtl:Tr,disabled:Ct,motion:gr?un:null,defaultMotions:gr?on:null,activeKey:qo,onActive:Pr,onInactive:Oo,selectedKeys:ho,inlineIndent:qt,subMenuOpenDelay:Mt,subMenuCloseDelay:Et,forceSubMenuRender:Jt,builtinPlacements:Rn,triggerSubMenuAction:cn,getPopupContainer:ar,itemIcon:Bn,expandIcon:yn,onItemClick:_o,onOpenChange:oa},P.createElement(ne.Provider,{value:Ga},ka),P.createElement("div",{style:{display:"none"},"aria-hidden":!0},P.createElement(le.Provider,{value:xa},Gn)))))}),A=S,ve=A;ve.Item=Ht,ve.SubMenu=_n,ve.ItemGroup=be,ve.Divider=Be;var j=ve},83836:function(an,Je,t){t.d(Je,{Z:function(){return ze}});var e=t(54476),d=t(33885),i=t(42978),L=t(75931),x=t(59301),D=t(92310),E=t.n(D),Z=t(29301),K=t(34280),r=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],U=void 0;function M(xe,We){var st=xe.prefixCls,at=xe.invalidate,Ae=xe.item,tt=xe.renderItem,q=xe.responsive,Se=xe.responsiveDisabled,ge=xe.registerSize,Qe=xe.itemKey,ie=xe.className,qe=xe.style,Ke=xe.children,bt=xe.display,Te=xe.order,k=xe.component,R=k===void 0?"div":k,X=(0,L.Z)(xe,r),p=q&&!bt;function fe(_){ge(Qe,_)}x.useEffect(function(){return function(){fe(null)}},[]);var z=tt&&Ae!==U?tt(Ae,{index:Te}):Ke,o;at||(o={opacity:p?0:1,height:p?0:U,overflowY:p?"hidden":U,order:q?Te:U,pointerEvents:p?"none":U,position:p?"absolute":U});var f={};p&&(f["aria-hidden"]=!0);var se=x.createElement(R,(0,e.Z)({className:E()(!at&&st,ie),style:(0,d.Z)((0,d.Z)({},o),qe)},f,X,{ref:We}),z);return q&&(se=x.createElement(Z.Z,{onResize:function($){var N=$.offsetWidth;fe(N)},disabled:Se},se)),se}var P=x.forwardRef(M);P.displayName="Item";var me=P,lt=t(6089),Fe=t(4676),Pe=t(16089);function Ve(xe){if(typeof MessageChannel=="undefined")(0,Pe.Z)(xe);else{var We=new MessageChannel;We.port1.onmessage=function(){return xe()},We.port2.postMessage(void 0)}}function C(){var xe=x.useRef(null),We=function(at){xe.current||(xe.current=[],Ve(function(){(0,Fe.unstable_batchedUpdates)(function(){xe.current.forEach(function(Ae){Ae()}),xe.current=null})})),xe.current.push(at)};return We}function he(xe,We){var st=x.useState(We),at=(0,i.Z)(st,2),Ae=at[0],tt=at[1],q=(0,lt.Z)(function(Se){xe(function(){tt(Se)})});return[Ae,q]}var s=x.createContext(null),h=["component"],oe=["className"],le=["className"],v=function(We,st){var at=x.useContext(s);if(!at){var Ae=We.component,tt=Ae===void 0?"div":Ae,q=(0,L.Z)(We,h);return x.createElement(tt,(0,e.Z)({},q,{ref:st}))}var Se=at.className,ge=(0,L.Z)(at,oe),Qe=We.className,ie=(0,L.Z)(We,le);return x.createElement(s.Provider,{value:null},x.createElement(me,(0,e.Z)({ref:st,className:E()(Se,Qe)},ge,ie)))},je=x.forwardRef(v);je.displayName="RawItem";var Oe=je,ne=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Re="responsive",de="invalidate";function H(xe){return"+ ".concat(xe.length," ...")}function n(xe,We){var st=xe.prefixCls,at=st===void 0?"rc-overflow":st,Ae=xe.data,tt=Ae===void 0?[]:Ae,q=xe.renderItem,Se=xe.renderRawItem,ge=xe.itemKey,Qe=xe.itemWidth,ie=Qe===void 0?10:Qe,qe=xe.ssr,Ke=xe.style,bt=xe.className,Te=xe.maxCount,k=xe.renderRest,R=xe.renderRawRest,X=xe.prefix,p=xe.suffix,fe=xe.component,z=fe===void 0?"div":fe,o=xe.itemComponent,f=xe.onVisibleChange,se=(0,L.Z)(xe,ne),_=qe==="full",$=C(),N=he($,null),G=(0,i.Z)(N,2),ue=G[0],c=G[1],y=ue||0,Ge=he($,new Map),W=(0,i.Z)(Ge,2),Le=W[0],He=W[1],nt=he($,0),it=(0,i.Z)(nt,2),et=it[0],w=it[1],pe=he($,0),Ze=(0,i.Z)(pe,2),Ue=Ze[0],ot=Ze[1],Tt=he($,0),ct=(0,i.Z)(Tt,2),dt=ct[0],Rt=ct[1],Vt=he($,0),Ht=(0,i.Z)(Vt,2),Xt=Ht[0],wt=Ht[1],Ut=(0,x.useState)(null),yt=(0,i.Z)(Ut,2),Bt=yt[0],Pt=yt[1],kt=(0,x.useState)(null),Wt=(0,i.Z)(kt,2),pt=Wt[0],Lt=Wt[1],ln=x.useMemo(function(){return pt===null&&_?Number.MAX_SAFE_INTEGER:pt||0},[pt,ue]),rn=(0,x.useState)(!1),xn=(0,i.Z)(rn,2),Dn=xn[0],Mn=xn[1],tn="".concat(at,"-item"),Nn=Math.max(et,Ue),Pn=Te===Re,bn=tt.length&&Pn,Fn=Te===de,_n=bn||typeof Te=="number"&&tt.length>Te,Jn=(0,x.useMemo)(function(){var b=tt;return bn?ue===null&&_?b=tt:b=tt.slice(0,Math.min(tt.length,y/ie)):typeof Te=="number"&&(b=tt.slice(0,Te)),b},[tt,ie,ue,Te,bn]),Be=(0,x.useMemo)(function(){return bn?tt.slice(ln+1):tt.slice(Jn.length)},[tt,Jn,bn,ln]),Ie=(0,x.useCallback)(function(b,m){var B;return typeof ge=="function"?ge(b):(B=ge&&(b==null?void 0:b[ge]))!==null&&B!==void 0?B:m},[ge]),I=(0,x.useCallback)(q||function(b){return b},[q]);function Y(b,m,B){pt===b&&(m===void 0||m===Bt)||(Lt(b),B||(Mn(by){Y(te-1,b-we-Xt+Ue);break}}p&&u(0)+Xt>y&&Pt(null)}},[y,Le,Ue,dt,Xt,Ie,Jn]);var S=Dn&&!!Be.length,A={};Bt!==null&&bn&&(A={position:"absolute",left:Bt,top:0});var ve={prefixCls:tn,responsive:bn,component:o,invalidate:Fn},j=Se?function(b,m){var B=Ie(b,m);return x.createElement(s.Provider,{key:B,value:(0,d.Z)((0,d.Z)({},ve),{},{order:m,item:b,itemKey:B,registerSize:ye,display:m<=ln})},Se(b,m))}:function(b,m){var B=Ie(b,m);return x.createElement(me,(0,e.Z)({},ve,{order:m,key:B,item:b,renderItem:I,itemKey:B,registerSize:ye,display:m<=ln}))},O={order:S?ln:Number.MAX_SAFE_INTEGER,className:"".concat(tn,"-rest"),registerSize:g,display:S},V=k||H,ee=R?x.createElement(s.Provider,{value:(0,d.Z)((0,d.Z)({},ve),O)},R(Be)):x.createElement(me,(0,e.Z)({},ve,O),typeof V=="function"?V(Be):V),ae=x.createElement(z,(0,e.Z)({className:E()(!Fn&&at,bt),style:Ke,ref:We},se),X&&x.createElement(me,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:-1,className:"".concat(tn,"-prefix"),registerSize:re,display:!0}),X),Jn.map(j),_n?ee:null,p&&x.createElement(me,(0,e.Z)({},ve,{responsive:Pn,responsiveDisabled:!bn,order:ln,className:"".concat(tn,"-suffix"),registerSize:De,display:!0,style:A}),p));return Pn?x.createElement(Z.Z,{onResize:be,disabled:!bn},ae):ae}var ce=x.forwardRef(n);ce.displayName="Overflow",ce.Item=Oe,ce.RESPONSIVE=Re,ce.INVALIDATE=de;var T=ce,ze=T},29301:function(an,Je,t){t.d(Je,{Z:function(){return de}});var e=t(54476),d=t(59301),i=t(11592),L=t(48736),x=t(33885),D=t(76190),E=t(76846),Z=t(8654),K=d.createContext(null);function r(H){var n=H.children,ce=H.onBatchResize,T=d.useRef(0),ze=d.useRef([]),xe=d.useContext(K),We=d.useCallback(function(st,at,Ae){T.current+=1;var tt=T.current;ze.current.push({size:st,element:at,data:Ae}),Promise.resolve().then(function(){tt===T.current&&(ce==null||ce(ze.current),ze.current=[])}),xe==null||xe(st,at,Ae)},[ce,xe]);return d.createElement(K.Provider,{value:We},n)}var U=t(76374),M=new Map;function P(H){H.forEach(function(n){var ce,T=n.target;(ce=M.get(T))===null||ce===void 0||ce.forEach(function(ze){return ze(T)})})}var me=new U.Z(P),lt=null,Fe=null;function Pe(H,n){M.has(H)||(M.set(H,new Set),me.observe(H)),M.get(H).add(n)}function Ve(H,n){M.has(H)&&(M.get(H).delete(n),M.get(H).size||(me.unobserve(H),M.delete(H)))}var C=t(67732),he=t(83652),s=t(42403),h=t(158),oe=function(H){(0,s.Z)(ce,H);var n=(0,h.Z)(ce);function ce(){return(0,C.Z)(this,ce),n.apply(this,arguments)}return(0,he.Z)(ce,[{key:"render",value:function(){return this.props.children}}]),ce}(d.Component);function le(H,n){var ce=H.children,T=H.disabled,ze=d.useRef(null),xe=d.useRef(null),We=d.useContext(K),st=typeof ce=="function",at=st?ce(ze):ce,Ae=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),tt=!st&&d.isValidElement(at)&&(0,Z.Yr)(at),q=tt?(0,Z.C4)(at):null,Se=(0,Z.x1)(q,ze),ge=function(){var Ke;return(0,E.ZP)(ze.current)||(ze.current&&(0,D.Z)(ze.current)==="object"?(0,E.ZP)((Ke=ze.current)===null||Ke===void 0?void 0:Ke.nativeElement):null)||(0,E.ZP)(xe.current)};d.useImperativeHandle(n,function(){return ge()});var Qe=d.useRef(H);Qe.current=H;var ie=d.useCallback(function(qe){var Ke=Qe.current,bt=Ke.onResize,Te=Ke.data,k=qe.getBoundingClientRect(),R=k.width,X=k.height,p=qe.offsetWidth,fe=qe.offsetHeight,z=Math.floor(R),o=Math.floor(X);if(Ae.current.width!==z||Ae.current.height!==o||Ae.current.offsetWidth!==p||Ae.current.offsetHeight!==fe){var f={width:z,height:o,offsetWidth:p,offsetHeight:fe};Ae.current=f;var se=p===Math.round(R)?R:p,_=fe===Math.round(X)?X:fe,$=(0,x.Z)((0,x.Z)({},f),{},{offsetWidth:se,offsetHeight:_});We==null||We($,qe,Te),bt&&Promise.resolve().then(function(){bt($,qe)})}},[]);return d.useEffect(function(){var qe=ge();return qe&&!T&&Pe(qe,ie),function(){return Ve(qe,ie)}},[ze.current,T]),d.createElement(oe,{ref:xe},tt?d.cloneElement(at,{ref:Se}):at)}var v=d.forwardRef(le),je=v,Oe="rc-observer-key";function ne(H,n){var ce=H.children,T=typeof ce=="function"?[ce]:(0,i.Z)(ce);return T.map(function(ze,xe){var We=(ze==null?void 0:ze.key)||"".concat(Oe,"-").concat(xe);return d.createElement(je,(0,e.Z)({},H,{key:We,ref:xe===0?n:void 0}),ze)})}var Re=d.forwardRef(ne);Re.Collection=r;var de=Re},6551:function(an,Je,t){t.d(Je,{ZP:function(){return E}});var e=t(42978),d=t(59301),i=t(47273),L=0,x=(0,i.Z)();function D(){var Z;return x?(Z=L,L+=1):Z="TEST_OR_SSR",Z}function E(Z){var K=d.useState(),r=(0,e.Z)(K,2),U=r[0],M=r[1];return d.useEffect(function(){M("rc_select_".concat(D()))},[]),Z||U}},37463:function(an,Je,t){t.d(Je,{Ac:function(){return nt},Xo:function(){return et},Wx:function(){return pe},ZP:function(){return Jn},lk:function(){return he}});var e=t(54476),d=t(94480),i=t(20068),L=t(33885),x=t(42978),D=t(75931),E=t(76190),Z=t(18929),K=t(48736),r=t(59301),U=t(92310),M=t.n(U),P=t(34280),me=t(49658),lt=t(8654),Fe=function(Ie){var I=Ie.className,Y=Ie.customizeIcon,be=Ie.customizeIconProps,ye=Ie.children,g=Ie.onMouseDown,re=Ie.onClick,De=typeof Y=="function"?Y(be):Y;return r.createElement("span",{className:I,onMouseDown:function(S){S.preventDefault(),g==null||g(S)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:re,"aria-hidden":!0},De!==void 0?De:r.createElement("span",{className:M()(I.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},ye))},Pe=Fe,Ve=function(Ie,I,Y,be,ye){var g=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,re=arguments.length>6?arguments[6]:void 0,De=arguments.length>7?arguments[7]:void 0,u=r.useMemo(function(){if((0,E.Z)(be)==="object")return be.clearIcon;if(ye)return ye},[be,ye]),S=r.useMemo(function(){return!!(!g&&be&&(Y.length||re)&&!(De==="combobox"&&re===""))},[be,g,Y.length,re,De]);return{allowClear:S,clearIcon:r.createElement(Pe,{className:"".concat(Ie,"-clear"),onMouseDown:I,customizeIcon:u},"\xD7")}},C=r.createContext(null);function he(){return r.useContext(C)}function s(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=r.useState(!1),I=(0,x.Z)(Ie,2),Y=I[0],be=I[1],ye=r.useRef(null),g=function(){window.clearTimeout(ye.current)};r.useEffect(function(){return g},[]);var re=function(u,S){g(),ye.current=window.setTimeout(function(){be(u),S&&S()},Be)};return[Y,re,g]}function h(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=r.useRef(null),I=r.useRef(null);r.useEffect(function(){return function(){window.clearTimeout(I.current)}},[]);function Y(be){(be||Ie.current===null)&&(Ie.current=be),window.clearTimeout(I.current),I.current=window.setTimeout(function(){Ie.current=null},Be)}return[function(){return Ie.current},Y]}function oe(Be,Ie,I,Y){var be=r.useRef(null);be.current={open:Ie,triggerOpen:I,customizedTrigger:Y},r.useEffect(function(){function ye(g){var re;if(!((re=be.current)!==null&&re!==void 0&&re.customizedTrigger)){var De=g.target;De.shadowRoot&&g.composed&&(De=g.composedPath()[0]||De),be.current.open&&Be().filter(function(u){return u}).every(function(u){return!u.contains(De)&&u!==De})&&be.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}var le=t(10228);function v(Be){return Be&&![le.Z.ESC,le.Z.SHIFT,le.Z.BACKSPACE,le.Z.TAB,le.Z.WIN_KEY,le.Z.ALT,le.Z.META,le.Z.WIN_KEY_RIGHT,le.Z.CTRL,le.Z.SEMICOLON,le.Z.EQUALS,le.Z.CAPS_LOCK,le.Z.CONTEXT_MENU,le.Z.F1,le.Z.F2,le.Z.F3,le.Z.F4,le.Z.F5,le.Z.F6,le.Z.F7,le.Z.F8,le.Z.F9,le.Z.F10,le.Z.F11,le.Z.F12].includes(Be)}var je=t(26112),Oe=t(83836);function ne(Be,Ie,I){var Y=(0,L.Z)((0,L.Z)({},Be),I?Ie:{});return Object.keys(Ie).forEach(function(be){var ye=Ie[be];typeof ye=="function"&&(Y[be]=function(){for(var g,re=arguments.length,De=new Array(re),u=0;um&&(cn="".concat(Rn.slice(0,m),"..."))}var Bn=function(dn){dn&&dn.stopPropagation(),ut(jt)};return typeof we=="function"?Zt(on,cn,qt,en,Bn):fn(jt,cn,qt,en,Bn)},Ft=function(jt){if(!be.length)return null;var qt=typeof te=="function"?te(jt):te;return typeof we=="function"?Zt(void 0,qt,!1,!1,void 0,!0):fn({title:qt},qt,!1)},_e=r.createElement("div",{className:"".concat(Gt,"-search"),style:{width:Mt},onFocus:function(){sn(!0)},onBlur:function(){sn(!1)}},r.createElement(ce,{ref:De,open:ye,prefixCls:Y,id:I,inputElement:null,disabled:S,autoFocus:j,autoComplete:O,editable:nn,activeDescendantId:V,value:Yt,onKeyDown:Ce,onMouseDown:Me,onChange:ke,onPaste:Q,onCompositionStart:Ye,onCompositionEnd:ht,onBlur:ft,tabIndex:ee,attrs:(0,je.Z)(Ie,!0)}),r.createElement("span",{ref:Ct,className:"".concat(Gt,"-search-mirror"),"aria-hidden":!0},Yt,"\xA0")),mt=r.createElement(Oe.Z,{prefixCls:"".concat(Gt,"-overflow"),data:be,renderItem:Qt,renderRest:Ft,suffix:_e,itemKey:q,maxCount:b});return r.createElement("span",{className:"".concat(Gt,"-wrap")},mt,!be.length&&!Yt&&r.createElement("span",{className:"".concat(Gt,"-placeholder")},u))},Qe=ge,ie=function(Ie){var I=Ie.inputElement,Y=Ie.prefixCls,be=Ie.id,ye=Ie.inputRef,g=Ie.disabled,re=Ie.autoFocus,De=Ie.autoComplete,u=Ie.activeDescendantId,S=Ie.mode,A=Ie.open,ve=Ie.values,j=Ie.placeholder,O=Ie.tabIndex,V=Ie.showSearch,ee=Ie.searchValue,ae=Ie.activeValue,b=Ie.maxLength,m=Ie.onInputKeyDown,B=Ie.onInputMouseDown,te=Ie.onInputChange,we=Ie.onInputPaste,Ne=Ie.onInputCompositionStart,ut=Ie.onInputCompositionEnd,ke=Ie.onInputBlur,Q=Ie.title,Ce=r.useState(!1),Me=(0,x.Z)(Ce,2),Ye=Me[0],ht=Me[1],ft=S==="combobox",Ct=ft||V,It=ve[0],Dt=ee||"";ft&&ae&&!Ye&&(Dt=ae),r.useEffect(function(){ft&&ht(!1)},[ft,ae]);var Mt=S!=="combobox"&&!A&&!V?!1:!!Dt,$t=Q===void 0?Ae(It):Q,Et=r.useMemo(function(){return It?null:r.createElement("span",{className:"".concat(Y,"-selection-placeholder"),style:Mt?{visibility:"hidden"}:void 0},j)},[It,Mt,j,Y]);return r.createElement("span",{className:"".concat(Y,"-selection-wrap")},r.createElement("span",{className:"".concat(Y,"-selection-search")},r.createElement(ce,{ref:ye,prefixCls:Y,id:be,open:A,inputElement:I,disabled:g,autoFocus:re,autoComplete:De,editable:Ct,activeDescendantId:u,value:Dt,onKeyDown:m,onMouseDown:B,onChange:function(At){ht(!0),te(At)},onPaste:we,onCompositionStart:Ne,onCompositionEnd:ut,onBlur:ke,tabIndex:O,attrs:(0,je.Z)(Ie,!0),maxLength:ft?b:void 0})),!ft&&It?r.createElement("span",{className:"".concat(Y,"-selection-item"),title:$t,style:Mt?{visibility:"hidden"}:void 0},It.label):null,Et)},qe=ie,Ke=function(Ie,I){var Y=(0,r.useRef)(null),be=(0,r.useRef)(!1),ye=Ie.prefixCls,g=Ie.open,re=Ie.mode,De=Ie.showSearch,u=Ie.tokenWithEnter,S=Ie.disabled,A=Ie.prefix,ve=Ie.autoClearSearchValue,j=Ie.onSearch,O=Ie.onSearchSubmit,V=Ie.onToggleOpen,ee=Ie.onInputKeyDown,ae=Ie.onInputBlur,b=Ie.domRef;r.useImperativeHandle(I,function(){return{focus:function($t){Y.current.focus($t)},blur:function(){Y.current.blur()}}});var m=h(0),B=(0,x.Z)(m,2),te=B[0],we=B[1],Ne=function($t){var Et=$t.which,Jt=Y.current instanceof HTMLTextAreaElement;!Jt&&g&&(Et===le.Z.UP||Et===le.Z.DOWN)&&$t.preventDefault(),ee&&ee($t),Et===le.Z.ENTER&&re==="tags"&&!be.current&&!g&&(O==null||O($t.target.value)),!(Jt&&!g&&~[le.Z.UP,le.Z.DOWN,le.Z.LEFT,le.Z.RIGHT].indexOf(Et))&&v(Et)&&V(!0)},ut=function(){we(!0)},ke=(0,r.useRef)(null),Q=function($t){j($t,!0,be.current)!==!1&&V(!0)},Ce=function(){be.current=!0},Me=function($t){be.current=!1,re!=="combobox"&&Q($t.target.value)},Ye=function($t){var Et=$t.target.value;if(u&&ke.current&&/[\r\n]/.test(ke.current)){var Jt=ke.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Et=Et.replace(Jt,ke.current)}ke.current=null,Q(Et)},ht=function($t){var Et=$t.clipboardData,Jt=Et==null?void 0:Et.getData("text");ke.current=Jt||""},ft=function($t){var Et=$t.target;if(Et!==Y.current){var Jt=document.body.style.msTouchAction!==void 0;Jt?setTimeout(function(){Y.current.focus()}):Y.current.focus()}},Ct=function($t){var Et=te();$t.target!==Y.current&&!Et&&!(re==="combobox"&&S)&&$t.preventDefault(),(re!=="combobox"&&(!De||!Et)||!g)&&(g&&ve!==!1&&j("",!0,!1),V())},It={inputRef:Y,onInputKeyDown:Ne,onInputMouseDown:ut,onInputChange:Ye,onInputPaste:ht,onInputCompositionStart:Ce,onInputCompositionEnd:Me,onInputBlur:ae},Dt=re==="multiple"||re==="tags"?r.createElement(Qe,(0,e.Z)({},Ie,It)):r.createElement(qe,(0,e.Z)({},Ie,It));return r.createElement("div",{ref:b,className:"".concat(ye,"-selector"),onClick:ft,onMouseDown:Ct},A&&r.createElement("div",{className:"".concat(ye,"-prefix")},A),Dt)},bt=r.forwardRef(Ke),Te=bt,k=t(65030),R=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],X=function(Ie){var I=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:I,adjustY:1},htmlRegion:"scroll"}}},p=function(Ie,I){var Y=Ie.prefixCls,be=Ie.disabled,ye=Ie.visible,g=Ie.children,re=Ie.popupElement,De=Ie.animation,u=Ie.transitionName,S=Ie.dropdownStyle,A=Ie.dropdownClassName,ve=Ie.direction,j=ve===void 0?"ltr":ve,O=Ie.placement,V=Ie.builtinPlacements,ee=Ie.dropdownMatchSelectWidth,ae=Ie.dropdownRender,b=Ie.dropdownAlign,m=Ie.getPopupContainer,B=Ie.empty,te=Ie.getTriggerDOMNode,we=Ie.onPopupVisibleChange,Ne=Ie.onPopupMouseEnter,ut=(0,D.Z)(Ie,R),ke="".concat(Y,"-dropdown"),Q=re;ae&&(Q=ae(re));var Ce=r.useMemo(function(){return V||X(ee)},[V,ee]),Me=De?"".concat(ke,"-").concat(De):u,Ye=typeof ee=="number",ht=r.useMemo(function(){return Ye?null:ee===!1?"minWidth":"width"},[ee,Ye]),ft=S;Ye&&(ft=(0,L.Z)((0,L.Z)({},ft),{},{width:ee}));var Ct=r.useRef(null);return r.useImperativeHandle(I,function(){return{getPopupElement:function(){var Dt;return(Dt=Ct.current)===null||Dt===void 0?void 0:Dt.popupElement}}}),r.createElement(k.Z,(0,e.Z)({},ut,{showAction:we?["click"]:[],hideAction:we?["click"]:[],popupPlacement:O||(j==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ce,prefixCls:ke,popupTransitionName:Me,popup:r.createElement("div",{onMouseEnter:Ne},Q),ref:Ct,stretch:ht,popupAlign:b,popupVisible:ye,getPopupContainer:m,popupClassName:M()(A,(0,i.Z)({},"".concat(ke,"-empty"),B)),popupStyle:ft,getTriggerDOMNode:te,onPopupVisibleChange:we}),g)},fe=r.forwardRef(p),z=fe,o=t(66712);function f(Be,Ie){var I=Be.key,Y;return"value"in Be&&(Y=Be.value),I!=null?I:Y!==void 0?Y:"rc-index-key-".concat(Ie)}function se(Be){return typeof Be!="undefined"&&!Number.isNaN(Be)}function _(Be,Ie){var I=Be||{},Y=I.label,be=I.value,ye=I.options,g=I.groupLabel,re=Y||(Ie?"children":"label");return{label:re,value:be||"value",options:ye||"options",groupLabel:g||re}}function $(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Ie.fieldNames,Y=Ie.childrenAsData,be=[],ye=_(I,!1),g=ye.label,re=ye.value,De=ye.options,u=ye.groupLabel;function S(A,ve){Array.isArray(A)&&A.forEach(function(j){if(ve||!(De in j)){var O=j[re];be.push({key:f(j,be.length),groupOption:ve,data:j,label:j[g],value:O})}else{var V=j[u];V===void 0&&Y&&(V=j.label),be.push({key:f(j,be.length),group:!0,data:j,label:V}),S(j[De],!0)}})}return S(Be,!1),be}function N(Be){var Ie=(0,L.Z)({},Be);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,K.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var G=function(Ie,I,Y){if(!I||!I.length)return null;var be=!1,ye=function re(De,u){var S=(0,o.Z)(u),A=S[0],ve=S.slice(1);if(!A)return[De];var j=De.split(A);return be=be||j.length>1,j.reduce(function(O,V){return[].concat((0,d.Z)(O),(0,d.Z)(re(V,ve)))},[]).filter(Boolean)},g=ye(Ie,I);return be?typeof Y!="undefined"?g.slice(0,Y):g:null},ue=r.createContext(null),c=ue;function y(Be){var Ie=Be.visible,I=Be.values;if(!Ie)return null;var Y=50;return r.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(I.slice(0,Y).map(function(be){var ye=be.label,g=be.value;return["number","string"].includes((0,E.Z)(ye))?ye:g}).join(", ")),I.length>Y?", ...":null)}var Ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],W=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(Ie){return Ie==="tags"||Ie==="multiple"},He=r.forwardRef(function(Be,Ie){var I,Y=Be.id,be=Be.prefixCls,ye=Be.className,g=Be.showSearch,re=Be.tagRender,De=Be.direction,u=Be.omitDomProps,S=Be.displayValues,A=Be.onDisplayValuesChange,ve=Be.emptyOptions,j=Be.notFoundContent,O=j===void 0?"Not Found":j,V=Be.onClear,ee=Be.mode,ae=Be.disabled,b=Be.loading,m=Be.getInputElement,B=Be.getRawInputElement,te=Be.open,we=Be.defaultOpen,Ne=Be.onDropdownVisibleChange,ut=Be.activeValue,ke=Be.onActiveValueChange,Q=Be.activeDescendantId,Ce=Be.searchValue,Me=Be.autoClearSearchValue,Ye=Be.onSearch,ht=Be.onSearchSplit,ft=Be.tokenSeparators,Ct=Be.allowClear,It=Be.prefix,Dt=Be.suffixIcon,Mt=Be.clearIcon,$t=Be.OptionList,Et=Be.animation,Jt=Be.transitionName,At=Be.dropdownStyle,sn=Be.dropdownClassName,Gt=Be.dropdownMatchSelectWidth,Yt=Be.dropdownRender,nn=Be.dropdownAlign,fn=Be.placement,Zt=Be.builtinPlacements,Qt=Be.getPopupContainer,Ft=Be.showAction,_e=Ft===void 0?[]:Ft,mt=Be.onFocus,Kt=Be.onBlur,jt=Be.onKeyUp,qt=Be.onKeyDown,un=Be.onMouseDown,on=(0,D.Z)(Be,Ge),en=Le(ee),cn=(g!==void 0?g:en)||ee==="combobox",Rn=(0,L.Z)({},on);W.forEach(function(Nr){delete Rn[Nr]}),u==null||u.forEach(function(Nr){delete Rn[Nr]});var Bn=r.useState(!1),yn=(0,x.Z)(Bn,2),dn=yn[0],Kn=yn[1];r.useEffect(function(){Kn((0,me.Z)())},[]);var Xn=r.useRef(null),ar=r.useRef(null),$n=r.useRef(null),er=r.useRef(null),Wn=r.useRef(null),Sr=r.useRef(!1),Fr=s(),$r=(0,x.Z)(Fr,3),Cr=$r[0],vr=$r[1],En=$r[2];r.useImperativeHandle(Ie,function(){var Nr,Pr;return{focus:(Nr=er.current)===null||Nr===void 0?void 0:Nr.focus,blur:(Pr=er.current)===null||Pr===void 0?void 0:Pr.blur,scrollTo:function(Bo){var mo;return(mo=Wn.current)===null||mo===void 0?void 0:mo.scrollTo(Bo)},nativeElement:Xn.current||ar.current}});var Hn=r.useMemo(function(){var Nr;if(ee!=="combobox")return Ce;var Pr=(Nr=S[0])===null||Nr===void 0?void 0:Nr.value;return typeof Pr=="string"||typeof Pr=="number"?String(Pr):""},[Ce,ee,S]),lr=ee==="combobox"&&typeof m=="function"&&m()||null,fr=typeof B=="function"&&B(),Gn=(0,lt.x1)(ar,fr==null||(I=fr.props)===null||I===void 0?void 0:I.ref),ur=r.useState(!1),yr=(0,x.Z)(ur,2),gr=yr[0],br=yr[1];(0,P.Z)(function(){br(!0)},[]);var Br=(0,Z.Z)(!1,{defaultValue:we,value:te}),wr=(0,x.Z)(Br,2),Tr=wr[0],Qr=wr[1],Or=gr?Tr:!1,zr=!O&&ve;(ae||zr&&Or&&ee==="combobox")&&(Or=!1);var qr=zr?!1:Or,Vn=r.useCallback(function(Nr){var Pr=Nr!==void 0?Nr:!Or;ae||(Qr(Pr),Or!==Pr&&(Ne==null||Ne(Pr)))},[ae,Or,Qr,Ne]),sr=r.useMemo(function(){return(ft||[]).some(function(Nr){return[` `,`\r -`].includes(Nr)})},[ft]),kn=r.useContext(c)||{},zn=kn.maxCount,cr=kn.rawValues,pr=function(Pr,Oo,Bo){if(!(en&&se(zn)&&(cr==null?void 0:cr.size)>=zn)){var mo=!0,ho=Pr;ke==null||ke(null);var Go=X(Pr,ft,se(zn)?zn-cr.size:void 0),Xo=Bo?null:Go;return ee!=="combobox"&&Xo&&(ho="",ht==null||ht(Xo),Vn(!1),mo=!1),Ye&&Hn!==ho&&Ye(ho,{source:Oo?"typing":"effect"}),mo}},eo=function(Pr){!Pr||!Pr.trim()||Ye(Pr,{source:"submit"})};r.useEffect(function(){!Or&&!en&&ee!=="combobox"&&pr("",!1,!1)},[Or]),r.useEffect(function(){Tr&&ae&&Qr(!1),ae&&!Sr.current&&vr(!1)},[ae]);var In=h(),tr=(0,x.Z)(In,2),Dr=tr[0],kr=tr[1],Ur=r.useRef(!1),Uo=function(Pr){var Oo=Dr(),Bo=Pr.key,mo=Bo==="Enter";if(mo&&(ee!=="combobox"&&Pr.preventDefault(),Or||Vn(!0)),kr(!!Hn),Bo==="Backspace"&&!Oo&&en&&!Hn&&S.length){for(var ho=(0,d.Z)(S),Go=null,Xo=ho.length-1;Xo>=0;Xo-=1){var _o=ho[Xo];if(!_o.disabled){ho.splice(Xo,1),Go=_o;break}}Go&&A(ho,{type:"remove",values:[Go]})}for(var oa=arguments.length,aa=new Array(oa>1?oa-1:0),ha=1;ha1?Oo-1:0),mo=1;mo1?Go-1:0),_o=1;_o=O},[re,O,B==null?void 0:B.size]),ft=function(_e){_e.preventDefault()},Ct=function(_e){var mt;(mt=Ye.current)===null||mt===void 0||mt.scrollTo(typeof _e=="number"?{index:_e}:_e)},It=r.useCallback(function(Ft){return De==="combobox"?!1:B.has(Ft)},[De,(0,d.Z)(B).toString(),B.size]),Dt=function(_e){for(var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kt=Me.length,jt=0;jt1&&arguments[1]!==void 0?arguments[1]:!1;Jt(_e);var Kt={source:mt?"keyboard":"mouse"},jt=Me[_e];if(!jt){ee(null,-1,Kt);return}ee(jt.value,_e,Kt)};(0,r.useEffect)(function(){At(ae!==!1?Dt(0):-1)},[Me.length,u]);var sn=r.useCallback(function(Ft){return De==="combobox"?String(Ft).toLowerCase()===u.toLowerCase():B.has(Ft)},[De,u,(0,d.Z)(B).toString(),B.size]);(0,r.useEffect)(function(){var Ft=setTimeout(function(){if(!re&&g&&B.size===1){var mt=Array.from(B)[0],Kt=Me.findIndex(function(jt){var qt=jt.data;return u?String(qt.value).startsWith(u):qt.value===mt});Kt!==-1&&(At(Kt),Ct(Kt))}});if(g){var _e;(_e=Ye.current)===null||_e===void 0||_e.scrollTo(void 0)}return function(){return clearTimeout(Ft)}},[g,u]);var Gt=function(_e){_e!==void 0&&b(_e,{selected:!B.has(_e)}),re||S(!1)};if(r.useImperativeHandle(I,function(){return{onKeyDown:function(_e){var mt=_e.which,Kt=_e.ctrlKey;switch(mt){case le.Z.N:case le.Z.P:case le.Z.UP:case le.Z.DOWN:{var jt=0;if(mt===le.Z.UP?jt=-1:mt===le.Z.DOWN?jt=1:Tt()&&Kt&&(mt===le.Z.N?jt=1:mt===le.Z.P&&(jt=-1)),jt!==0){var qt=Dt(Et+jt,jt);Ct(qt),At(qt,!0)}break}case le.Z.TAB:case le.Z.ENTER:{var un,on=Me[Et];on&&!(on!=null&&(un=on.data)!==null&&un!==void 0&&un.disabled)&&!ht?Gt(on.value):Gt(void 0),g&&_e.preventDefault();break}case le.Z.ESC:S(!1),g&&_e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(_e){Ct(_e)}}}),Me.length===0)return r.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),className:"".concat(Ce,"-empty"),onMouseDown:ft},A);var Yt=Object.keys(te).map(function(Ft){return te[Ft]}),nn=function(_e){return _e.label};function fn(Ft,_e){var mt=Ft.group;return{role:mt?"presentation":"option",id:"".concat(ye,"_list_").concat(_e)}}var Zt=function(_e){var mt=Me[_e];if(!mt)return null;var Kt=mt.data||{},jt=Kt.value,qt=mt.group,un=(0,je.Z)(Kt,!0),on=nn(mt);return mt?r.createElement("div",(0,e.Z)({"aria-label":typeof on=="string"&&!qt?on:null},un,{key:_e},fn(mt,_e),{"aria-selected":sn(jt)}),jt):null},Qt={role:"listbox",id:"".concat(ye,"_list")};return r.createElement(r.Fragment,null,we&&r.createElement("div",(0,e.Z)({},Qt,{style:{height:0,width:0,overflow:"hidden"}}),Zt(Et-1),Zt(Et),Zt(Et+1)),r.createElement(ot.Z,{itemKey:"key",ref:Ye,data:Me,height:ut,itemHeight:ke,fullHeight:!1,onMouseDown:ft,onScroll:ve,virtual:we,direction:Ne,innerProps:we?null:Qt},function(Ft,_e){var mt=Ft.group,Kt=Ft.groupOption,jt=Ft.data,qt=Ft.label,un=Ft.value,on=jt.key;if(mt){var en,cn=(en=jt.title)!==null&&en!==void 0?en:dt(qt)?qt.toString():void 0;return r.createElement("div",{className:M()(Ce,"".concat(Ce,"-group"),jt.className),title:cn},qt!==void 0?qt:on)}var Rn=jt.disabled,Bn=jt.title,yn=jt.children,dn=jt.style,Kn=jt.className,Xn=(0,D.Z)(jt,ct),ar=(0,Ue.Z)(Xn,Yt),$n=It(un),er=Rn||!$n&&ht,Wn="".concat(Ce,"-option"),Sr=M()(Ce,Wn,Kn,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Wn,"-grouped"),Kt),"".concat(Wn,"-active"),Et===_e&&!er),"".concat(Wn,"-disabled"),er),"".concat(Wn,"-selected"),$n)),Fr=nn(Ft),$r=!m||typeof m=="function"||$n,Cr=typeof Fr=="number"?Fr:Fr||un,vr=dt(Cr)?Cr.toString():void 0;return Bn!==void 0&&(vr=Bn),r.createElement("div",(0,e.Z)({},(0,je.Z)(ar),we?{}:fn(Ft,_e),{"aria-selected":sn(un),className:Sr,title:vr,onMouseMove:function(){Et===_e||er||At(_e)},onClick:function(){er||Gt(un)},style:dn}),r.createElement("div",{className:"".concat(Wn,"-content")},typeof Q=="function"?Q(Ft,{index:_e}):Cr),r.isValidElement(m)||$n,$r&&r.createElement(Pe,{className:"".concat(Ce,"-option-state"),customizeIcon:m,customizeIconProps:{value:un,disabled:er,isSelected:$n}},$n?"\u2713":null))}))},Vt=r.forwardRef(Rt),Ht=Vt,Xt=function(Be,Ie){var I=r.useRef({values:new Map,options:new Map}),Y=r.useMemo(function(){var ye=I.current,g=ye.values,re=ye.options,De=Be.map(function(A){if(A.label===void 0){var ve;return(0,L.Z)((0,L.Z)({},A),{},{label:(ve=g.get(A.value))===null||ve===void 0?void 0:ve.label})}return A}),u=new Map,S=new Map;return De.forEach(function(A){u.set(A.value,A),S.set(A.value,Ie.get(A.value)||re.get(A.value))}),I.current.values=u,I.current.options=S,De},[Be,Ie]),be=r.useCallback(function(ye){return Ie.get(ye)||I.current.options.get(ye)},[Ie]);return[Y,be]};function wt(Be,Ie){return T(Be).join("").toUpperCase().includes(Ie)}var Ut=function(Be,Ie,I,Y,be){return r.useMemo(function(){if(!I||Y===!1)return Be;var ye=Ie.options,g=Ie.label,re=Ie.value,De=[],u=typeof Y=="function",S=I.toUpperCase(),A=u?Y:function(j,O){return be?wt(O[be],S):O[ye]?wt(O[g!=="children"?g:"label"],S):wt(O[re],S)},ve=u?function(j){return N(j)}:function(j){return j};return Be.forEach(function(j){if(j[ye]){var O=A(I,ve(j));if(O)De.push(j);else{var W=j[ye].filter(function(ee){return A(I,ve(ee))});W.length&&De.push((0,L.Z)((0,L.Z)({},j),{},(0,i.Z)({},ye,W)))}return}A(I,ve(j))&&De.push(j)}),De},[Be,Y,be,I,Ie])},yt=t(6551),Bt=t(11592),Pt=["children","value"],kt=["children"];function Wt(Be){var Ie=Be,I=Ie.key,Y=Ie.props,be=Y.children,ye=Y.value,g=(0,D.Z)(Y,Pt);return(0,L.Z)({key:I,value:ye!==void 0?ye:I,children:be},g)}function pt(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Be).map(function(I,Y){if(!r.isValidElement(I)||!I.type)return null;var be=I,ye=be.type.isSelectOptGroup,g=be.key,re=be.props,De=re.children,u=(0,D.Z)(re,kt);return Ie||!ye?Wt(I):(0,L.Z)((0,L.Z)({key:"__RC_SELECT_GRP__".concat(g===null?Y:g,"__"),label:g},u),{},{options:pt(De)})}).filter(function(I){return I})}var Lt=function(Ie,I,Y,be,ye){return r.useMemo(function(){var g=Ie,re=!Ie;re&&(g=pt(I));var De=new Map,u=new Map,S=function(j,O,W){W&&typeof W=="string"&&j.set(O[W],O)},A=function ve(j){for(var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W=0;W1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g0?Vn(zn.options):zn.options}):zn})},$r=r.useMemo(function(){return b?Fr(Sr):Sr},[Sr,b,Qt]),Cr=r.useMemo(function(){return $($r,{fieldNames:nn,childrenAsData:Gt})},[$r,nn,Gt]),vr=function(sr){var kn=qt(sr);if(cn(kn),$t&&(kn.length!==dn.length||kn.some(function(pr,eo){var In;return((In=dn[eo])===null||In===void 0?void 0:In.value)!==(pr==null?void 0:pr.value)}))){var zn=Mt?kn:kn.map(function(pr){return pr.value}),cr=kn.map(function(pr){return N(Kn(pr.value))});$t(sn?zn:zn[0],sn?cr:cr[0])}},En=r.useState(null),Hn=(0,x.Z)(En,2),lr=Hn[0],fr=Hn[1],Gn=r.useState(0),ur=(0,x.Z)(Gn,2),yr=ur[0],gr=ur[1],br=ut!==void 0?ut:Y!=="combobox",Br=r.useCallback(function(Vn,sr){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},zn=kn.source,cr=zn===void 0?"keyboard":zn;gr(sr),g&&Y==="combobox"&&Vn!==null&&cr==="keyboard"&&fr(String(Vn))},[g,Y]),wr=function(sr,kn,zn){var cr=function(){var Yo,wo=Kn(sr);return[Mt?{label:wo==null?void 0:wo[nn.label],value:sr,key:(Yo=wo==null?void 0:wo.key)!==null&&Yo!==void 0?Yo:sr}:sr,N(wo)]};if(kn&&j){var pr=cr(),eo=(0,x.Z)(pr,2),In=eo[0],tr=eo[1];j(In,tr)}else if(!kn&&O&&zn!=="clear"){var Dr=cr(),kr=(0,x.Z)(Dr,2),Ur=kr[0],Uo=kr[1];O(Ur,Uo)}},Tr=rn(function(Vn,sr){var kn,zn=sn?sr.selected:!0;zn?kn=sn?[].concat((0,d.Z)(dn),[Vn]):[Vn]:kn=dn.filter(function(cr){return cr.value!==Vn}),vr(kn),wr(Vn,zn),Y==="combobox"?fr(""):(!Le||ve)&&(Ft(""),fr(""))}),Qr=function(sr,kn){vr(sr);var zn=kn.type,cr=kn.values;(zn==="remove"||zn==="clear")&&cr.forEach(function(pr){wr(pr.value,!1,zn)})},Or=function(sr,kn){if(Ft(sr),fr(null),kn.source==="submit"){var zn=(sr||"").trim();if(zn){var cr=Array.from(new Set([].concat((0,d.Z)(ar),[zn])));vr(cr),wr(zn,!0),Ft("")}return}kn.source!=="blur"&&(Y==="combobox"&&vr(sr),S==null||S(sr))},zr=function(sr){var kn=sr;Y!=="tags"&&(kn=sr.map(function(cr){var pr=Kt.get(cr);return pr==null?void 0:pr.value}).filter(function(cr){return cr!==void 0}));var zn=Array.from(new Set([].concat((0,d.Z)(ar),(0,d.Z)(kn))));vr(zn),zn.forEach(function(cr){wr(cr,!0)})},qr=r.useMemo(function(){var Vn=Q!==!1&&ee!==!1;return(0,L.Z)((0,L.Z)({},_e),{},{flattenOptions:Cr,onActiveValue:Br,defaultActiveFirstOption:br,onSelect:Tr,menuItemSelectedIcon:ke,rawValues:ar,fieldNames:nn,virtual:Vn,direction:Ce,listHeight:Ye,listItemHeight:ft,childrenAsData:Gt,maxCount:Et,optionRender:we})},[Et,_e,Cr,Br,br,Tr,ke,ar,nn,Q,ee,Ce,Ye,ft,Gt,we]);return r.createElement(c.Provider,{value:qr},r.createElement(nt,(0,e.Z)({},Jt,{id:At,prefixCls:ye,ref:Ie,omitDomProps:Nn,mode:Y,displayValues:Xn,onDisplayValuesChange:Qr,direction:Ce,searchValue:Qt,onSearch:Or,autoClearSearchValue:ve,onSearchSplit:zr,dropdownMatchSelectWidth:ee,OptionList:Ht,emptyOptions:!Cr.length,activeValue:lr,activeDescendantId:"".concat(At,"_list_").concat(yr)})))}),Fn=bn;Fn.Option=pe,Fn.OptGroup=et;var _n=Fn,Jn=_n},22711:function(an,Je,t){t.r(Je),t.d(Je,{ResizableTextArea:function(){return Re},default:function(){return ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(36901),r=t(66003),V=t(30292),M=t(18929),P=t(59301),me=t(76190),lt=t(29301),Fe=t(34280),Pe=t(16089),Ve=` +`].includes(Nr)})},[ft]),kn=r.useContext(c)||{},zn=kn.maxCount,cr=kn.rawValues,pr=function(Pr,Oo,Bo){if(!(en&&se(zn)&&(cr==null?void 0:cr.size)>=zn)){var mo=!0,ho=Pr;ke==null||ke(null);var Go=G(Pr,ft,se(zn)?zn-cr.size:void 0),Xo=Bo?null:Go;return ee!=="combobox"&&Xo&&(ho="",ht==null||ht(Xo),Vn(!1),mo=!1),Ye&&Hn!==ho&&Ye(ho,{source:Oo?"typing":"effect"}),mo}},eo=function(Pr){!Pr||!Pr.trim()||Ye(Pr,{source:"submit"})};r.useEffect(function(){!Or&&!en&&ee!=="combobox"&&pr("",!1,!1)},[Or]),r.useEffect(function(){Tr&&ae&&Qr(!1),ae&&!Sr.current&&vr(!1)},[ae]);var In=h(),tr=(0,x.Z)(In,2),Dr=tr[0],kr=tr[1],Ur=r.useRef(!1),Uo=function(Pr){var Oo=Dr(),Bo=Pr.key,mo=Bo==="Enter";if(mo&&(ee!=="combobox"&&Pr.preventDefault(),Or||Vn(!0)),kr(!!Hn),Bo==="Backspace"&&!Oo&&en&&!Hn&&S.length){for(var ho=(0,d.Z)(S),Go=null,Xo=ho.length-1;Xo>=0;Xo-=1){var _o=ho[Xo];if(!_o.disabled){ho.splice(Xo,1),Go=_o;break}}Go&&A(ho,{type:"remove",values:[Go]})}for(var oa=arguments.length,aa=new Array(oa>1?oa-1:0),ha=1;ha1?Oo-1:0),mo=1;mo1?Go-1:0),_o=1;_o=O},[re,O,B==null?void 0:B.size]),ft=function(_e){_e.preventDefault()},Ct=function(_e){var mt;(mt=Ye.current)===null||mt===void 0||mt.scrollTo(typeof _e=="number"?{index:_e}:_e)},It=r.useCallback(function(Ft){return De==="combobox"?!1:B.has(Ft)},[De,(0,d.Z)(B).toString(),B.size]),Dt=function(_e){for(var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Kt=Me.length,jt=0;jt1&&arguments[1]!==void 0?arguments[1]:!1;Jt(_e);var Kt={source:mt?"keyboard":"mouse"},jt=Me[_e];if(!jt){ee(null,-1,Kt);return}ee(jt.value,_e,Kt)};(0,r.useEffect)(function(){At(ae!==!1?Dt(0):-1)},[Me.length,u]);var sn=r.useCallback(function(Ft){return De==="combobox"?String(Ft).toLowerCase()===u.toLowerCase():B.has(Ft)},[De,u,(0,d.Z)(B).toString(),B.size]);(0,r.useEffect)(function(){var Ft=setTimeout(function(){if(!re&&g&&B.size===1){var mt=Array.from(B)[0],Kt=Me.findIndex(function(jt){var qt=jt.data;return u?String(qt.value).startsWith(u):qt.value===mt});Kt!==-1&&(At(Kt),Ct(Kt))}});if(g){var _e;(_e=Ye.current)===null||_e===void 0||_e.scrollTo(void 0)}return function(){return clearTimeout(Ft)}},[g,u]);var Gt=function(_e){_e!==void 0&&b(_e,{selected:!B.has(_e)}),re||S(!1)};if(r.useImperativeHandle(I,function(){return{onKeyDown:function(_e){var mt=_e.which,Kt=_e.ctrlKey;switch(mt){case le.Z.N:case le.Z.P:case le.Z.UP:case le.Z.DOWN:{var jt=0;if(mt===le.Z.UP?jt=-1:mt===le.Z.DOWN?jt=1:Tt()&&Kt&&(mt===le.Z.N?jt=1:mt===le.Z.P&&(jt=-1)),jt!==0){var qt=Dt(Et+jt,jt);Ct(qt),At(qt,!0)}break}case le.Z.TAB:case le.Z.ENTER:{var un,on=Me[Et];on&&!(on!=null&&(un=on.data)!==null&&un!==void 0&&un.disabled)&&!ht?Gt(on.value):Gt(void 0),g&&_e.preventDefault();break}case le.Z.ESC:S(!1),g&&_e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(_e){Ct(_e)}}}),Me.length===0)return r.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),className:"".concat(Ce,"-empty"),onMouseDown:ft},A);var Yt=Object.keys(te).map(function(Ft){return te[Ft]}),nn=function(_e){return _e.label};function fn(Ft,_e){var mt=Ft.group;return{role:mt?"presentation":"option",id:"".concat(ye,"_list_").concat(_e)}}var Zt=function(_e){var mt=Me[_e];if(!mt)return null;var Kt=mt.data||{},jt=Kt.value,qt=mt.group,un=(0,je.Z)(Kt,!0),on=nn(mt);return mt?r.createElement("div",(0,e.Z)({"aria-label":typeof on=="string"&&!qt?on:null},un,{key:_e},fn(mt,_e),{"aria-selected":sn(jt)}),jt):null},Qt={role:"listbox",id:"".concat(ye,"_list")};return r.createElement(r.Fragment,null,we&&r.createElement("div",(0,e.Z)({},Qt,{style:{height:0,width:0,overflow:"hidden"}}),Zt(Et-1),Zt(Et),Zt(Et+1)),r.createElement(ot.Z,{itemKey:"key",ref:Ye,data:Me,height:ut,itemHeight:ke,fullHeight:!1,onMouseDown:ft,onScroll:ve,virtual:we,direction:Ne,innerProps:we?null:Qt},function(Ft,_e){var mt=Ft.group,Kt=Ft.groupOption,jt=Ft.data,qt=Ft.label,un=Ft.value,on=jt.key;if(mt){var en,cn=(en=jt.title)!==null&&en!==void 0?en:dt(qt)?qt.toString():void 0;return r.createElement("div",{className:M()(Ce,"".concat(Ce,"-group"),jt.className),title:cn},qt!==void 0?qt:on)}var Rn=jt.disabled,Bn=jt.title,yn=jt.children,dn=jt.style,Kn=jt.className,Xn=(0,D.Z)(jt,ct),ar=(0,Ue.Z)(Xn,Yt),$n=It(un),er=Rn||!$n&&ht,Wn="".concat(Ce,"-option"),Sr=M()(Ce,Wn,Kn,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Wn,"-grouped"),Kt),"".concat(Wn,"-active"),Et===_e&&!er),"".concat(Wn,"-disabled"),er),"".concat(Wn,"-selected"),$n)),Fr=nn(Ft),$r=!m||typeof m=="function"||$n,Cr=typeof Fr=="number"?Fr:Fr||un,vr=dt(Cr)?Cr.toString():void 0;return Bn!==void 0&&(vr=Bn),r.createElement("div",(0,e.Z)({},(0,je.Z)(ar),we?{}:fn(Ft,_e),{"aria-selected":sn(un),className:Sr,title:vr,onMouseMove:function(){Et===_e||er||At(_e)},onClick:function(){er||Gt(un)},style:dn}),r.createElement("div",{className:"".concat(Wn,"-content")},typeof Q=="function"?Q(Ft,{index:_e}):Cr),r.isValidElement(m)||$n,$r&&r.createElement(Pe,{className:"".concat(Ce,"-option-state"),customizeIcon:m,customizeIconProps:{value:un,disabled:er,isSelected:$n}},$n?"\u2713":null))}))},Vt=r.forwardRef(Rt),Ht=Vt,Xt=function(Be,Ie){var I=r.useRef({values:new Map,options:new Map}),Y=r.useMemo(function(){var ye=I.current,g=ye.values,re=ye.options,De=Be.map(function(A){if(A.label===void 0){var ve;return(0,L.Z)((0,L.Z)({},A),{},{label:(ve=g.get(A.value))===null||ve===void 0?void 0:ve.label})}return A}),u=new Map,S=new Map;return De.forEach(function(A){u.set(A.value,A),S.set(A.value,Ie.get(A.value)||re.get(A.value))}),I.current.values=u,I.current.options=S,De},[Be,Ie]),be=r.useCallback(function(ye){return Ie.get(ye)||I.current.options.get(ye)},[Ie]);return[Y,be]};function wt(Be,Ie){return T(Be).join("").toUpperCase().includes(Ie)}var Ut=function(Be,Ie,I,Y,be){return r.useMemo(function(){if(!I||Y===!1)return Be;var ye=Ie.options,g=Ie.label,re=Ie.value,De=[],u=typeof Y=="function",S=I.toUpperCase(),A=u?Y:function(j,O){return be?wt(O[be],S):O[ye]?wt(O[g!=="children"?g:"label"],S):wt(O[re],S)},ve=u?function(j){return N(j)}:function(j){return j};return Be.forEach(function(j){if(j[ye]){var O=A(I,ve(j));if(O)De.push(j);else{var V=j[ye].filter(function(ee){return A(I,ve(ee))});V.length&&De.push((0,L.Z)((0,L.Z)({},j),{},(0,i.Z)({},ye,V)))}return}A(I,ve(j))&&De.push(j)}),De},[Be,Y,be,I,Ie])},yt=t(6551),Bt=t(11592),Pt=["children","value"],kt=["children"];function Wt(Be){var Ie=Be,I=Ie.key,Y=Ie.props,be=Y.children,ye=Y.value,g=(0,D.Z)(Y,Pt);return(0,L.Z)({key:I,value:ye!==void 0?ye:I,children:be},g)}function pt(Be){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Be).map(function(I,Y){if(!r.isValidElement(I)||!I.type)return null;var be=I,ye=be.type.isSelectOptGroup,g=be.key,re=be.props,De=re.children,u=(0,D.Z)(re,kt);return Ie||!ye?Wt(I):(0,L.Z)((0,L.Z)({key:"__RC_SELECT_GRP__".concat(g===null?Y:g,"__"),label:g},u),{},{options:pt(De)})}).filter(function(I){return I})}var Lt=function(Ie,I,Y,be,ye){return r.useMemo(function(){var g=Ie,re=!Ie;re&&(g=pt(I));var De=new Map,u=new Map,S=function(j,O,V){V&&typeof V=="string"&&j.set(O[V],O)},A=function ve(j){for(var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=0;V1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g0?Vn(zn.options):zn.options}):zn})},$r=r.useMemo(function(){return b?Fr(Sr):Sr},[Sr,b,Qt]),Cr=r.useMemo(function(){return $($r,{fieldNames:nn,childrenAsData:Gt})},[$r,nn,Gt]),vr=function(sr){var kn=qt(sr);if(cn(kn),$t&&(kn.length!==dn.length||kn.some(function(pr,eo){var In;return((In=dn[eo])===null||In===void 0?void 0:In.value)!==(pr==null?void 0:pr.value)}))){var zn=Mt?kn:kn.map(function(pr){return pr.value}),cr=kn.map(function(pr){return N(Kn(pr.value))});$t(sn?zn:zn[0],sn?cr:cr[0])}},En=r.useState(null),Hn=(0,x.Z)(En,2),lr=Hn[0],fr=Hn[1],Gn=r.useState(0),ur=(0,x.Z)(Gn,2),yr=ur[0],gr=ur[1],br=ut!==void 0?ut:Y!=="combobox",Br=r.useCallback(function(Vn,sr){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},zn=kn.source,cr=zn===void 0?"keyboard":zn;gr(sr),g&&Y==="combobox"&&Vn!==null&&cr==="keyboard"&&fr(String(Vn))},[g,Y]),wr=function(sr,kn,zn){var cr=function(){var Yo,wo=Kn(sr);return[Mt?{label:wo==null?void 0:wo[nn.label],value:sr,key:(Yo=wo==null?void 0:wo.key)!==null&&Yo!==void 0?Yo:sr}:sr,N(wo)]};if(kn&&j){var pr=cr(),eo=(0,x.Z)(pr,2),In=eo[0],tr=eo[1];j(In,tr)}else if(!kn&&O&&zn!=="clear"){var Dr=cr(),kr=(0,x.Z)(Dr,2),Ur=kr[0],Uo=kr[1];O(Ur,Uo)}},Tr=rn(function(Vn,sr){var kn,zn=sn?sr.selected:!0;zn?kn=sn?[].concat((0,d.Z)(dn),[Vn]):[Vn]:kn=dn.filter(function(cr){return cr.value!==Vn}),vr(kn),wr(Vn,zn),Y==="combobox"?fr(""):(!Le||ve)&&(Ft(""),fr(""))}),Qr=function(sr,kn){vr(sr);var zn=kn.type,cr=kn.values;(zn==="remove"||zn==="clear")&&cr.forEach(function(pr){wr(pr.value,!1,zn)})},Or=function(sr,kn){if(Ft(sr),fr(null),kn.source==="submit"){var zn=(sr||"").trim();if(zn){var cr=Array.from(new Set([].concat((0,d.Z)(ar),[zn])));vr(cr),wr(zn,!0),Ft("")}return}kn.source!=="blur"&&(Y==="combobox"&&vr(sr),S==null||S(sr))},zr=function(sr){var kn=sr;Y!=="tags"&&(kn=sr.map(function(cr){var pr=Kt.get(cr);return pr==null?void 0:pr.value}).filter(function(cr){return cr!==void 0}));var zn=Array.from(new Set([].concat((0,d.Z)(ar),(0,d.Z)(kn))));vr(zn),zn.forEach(function(cr){wr(cr,!0)})},qr=r.useMemo(function(){var Vn=Q!==!1&&ee!==!1;return(0,L.Z)((0,L.Z)({},_e),{},{flattenOptions:Cr,onActiveValue:Br,defaultActiveFirstOption:br,onSelect:Tr,menuItemSelectedIcon:ke,rawValues:ar,fieldNames:nn,virtual:Vn,direction:Ce,listHeight:Ye,listItemHeight:ft,childrenAsData:Gt,maxCount:Et,optionRender:we})},[Et,_e,Cr,Br,br,Tr,ke,ar,nn,Q,ee,Ce,Ye,ft,Gt,we]);return r.createElement(c.Provider,{value:qr},r.createElement(nt,(0,e.Z)({},Jt,{id:At,prefixCls:ye,ref:Ie,omitDomProps:Nn,mode:Y,displayValues:Xn,onDisplayValuesChange:Qr,direction:Ce,searchValue:Qt,onSearch:Or,autoClearSearchValue:ve,onSearchSplit:zr,dropdownMatchSelectWidth:ee,OptionList:Ht,emptyOptions:!Cr.length,activeValue:lr,activeDescendantId:"".concat(At,"_list_").concat(yr)})))}),Fn=bn;Fn.Option=pe,Fn.OptGroup=et;var _n=Fn,Jn=_n},22711:function(an,Je,t){t.r(Je),t.d(Je,{ResizableTextArea:function(){return Re},default:function(){return ce}});var e=t(54476),d=t(20068),i=t(33885),L=t(94480),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(36901),r=t(66003),U=t(30292),M=t(18929),P=t(59301),me=t(76190),lt=t(29301),Fe=t(34280),Pe=t(16089),Ve=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -203,4 +203,4 @@ top:0 !important; right:0 !important; pointer-events: none !important; -`,C=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],he={},s;function h(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=T.getAttribute("id")||T.getAttribute("data-reactid")||T.getAttribute("name");if(ze&&he[xe])return he[xe];var We=window.getComputedStyle(T),st=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),at=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Ae=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),tt=C.map(function(Se){return"".concat(Se,":").concat(We.getPropertyValue(Se))}).join(";"),q={sizingStyle:tt,paddingSize:at,borderSize:Ae,boxSizing:st};return ze&&xe&&(he[xe]=q),q}function oe(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),s.setAttribute("name","hiddenTextarea"),document.body.appendChild(s)),T.getAttribute("wrap")?s.setAttribute("wrap",T.getAttribute("wrap")):s.removeAttribute("wrap");var st=h(T,ze),at=st.paddingSize,Ae=st.borderSize,tt=st.boxSizing,q=st.sizingStyle;s.setAttribute("style","".concat(q,";").concat(Ve)),s.value=T.value||T.placeholder||"";var Se=void 0,ge=void 0,Qe,ie=s.scrollHeight;if(tt==="border-box"?ie+=Ae:tt==="content-box"&&(ie-=at),xe!==null||We!==null){s.value=" ";var qe=s.scrollHeight-at;xe!==null&&(Se=qe*xe,tt==="border-box"&&(Se=Se+at+Ae),ie=Math.max(Se,ie)),We!==null&&(ge=qe*We,tt==="border-box"&&(ge=ge+at+Ae),Qe=ie>ge?"":"hidden",ie=Math.min(ge,ie))}var Ke={height:ie,overflowY:Qe,resize:"none"};return Se&&(Ke.minHeight=Se),ge&&(Ke.maxHeight=ge),Ke}var le=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],v=0,je=1,Oe=2,ne=P.forwardRef(function(T,ze){var xe=T,We=xe.prefixCls,st=xe.defaultValue,at=xe.value,Ae=xe.autoSize,tt=xe.onResize,q=xe.className,Se=xe.style,ge=xe.disabled,Qe=xe.onChange,ie=xe.onInternalAutoSize,qe=(0,D.Z)(xe,le),Ke=(0,M.Z)(st,{value:at,postState:function(pe){return pe!=null?pe:""}}),bt=(0,x.Z)(Ke,2),Te=bt[0],k=bt[1],R=function(pe){k(pe.target.value),Qe==null||Qe(pe)},U=P.useRef();P.useImperativeHandle(ze,function(){return{textArea:U.current}});var p=P.useMemo(function(){return Ae&&(0,me.Z)(Ae)==="object"?[Ae.minRows,Ae.maxRows]:[]},[Ae]),fe=(0,x.Z)(p,2),z=fe[0],o=fe[1],f=!!Ae,se=function(){try{if(document.activeElement===U.current){var pe=U.current,Ze=pe.selectionStart,Ue=pe.selectionEnd,ot=pe.scrollTop;U.current.setSelectionRange(Ze,Ue),U.current.scrollTop=ot}}catch(Tt){}},_=P.useState(Oe),$=(0,x.Z)(_,2),N=$[0],X=$[1],ue=P.useState(),c=(0,x.Z)(ue,2),y=c[0],Ge=c[1],G=function(){X(v)};(0,Fe.Z)(function(){f&&G()},[at,z,o,f]),(0,Fe.Z)(function(){if(N===v)X(je);else if(N===je){var w=oe(U.current,!1,z,o);X(Oe),Ge(w)}else se()},[N]);var Le=P.useRef(),He=function(){Pe.Z.cancel(Le.current)},nt=function(pe){N===Oe&&(tt==null||tt(pe),Ae&&(He(),Le.current=(0,Pe.Z)(function(){G()})))};P.useEffect(function(){return He},[]);var it=f?y:null,et=(0,i.Z)((0,i.Z)({},Se),it);return(N===v||N===je)&&(et.overflowY="hidden",et.overflowX="hidden"),P.createElement(lt.Z,{onResize:nt,disabled:!(Ae||tt)},P.createElement("textarea",(0,e.Z)({},qe,{ref:U,style:et,className:Z()(We,q,(0,d.Z)({},"".concat(We,"-disabled"),ge)),disabled:ge,value:Te,onChange:R})))}),Re=ne,de=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],H=P.forwardRef(function(T,ze){var xe,We=T.defaultValue,st=T.value,at=T.onFocus,Ae=T.onBlur,tt=T.onChange,q=T.allowClear,Se=T.maxLength,ge=T.onCompositionStart,Qe=T.onCompositionEnd,ie=T.suffix,qe=T.prefixCls,Ke=qe===void 0?"rc-textarea":qe,bt=T.showCount,Te=T.count,k=T.className,R=T.style,U=T.disabled,p=T.hidden,fe=T.classNames,z=T.styles,o=T.onResize,f=T.onClear,se=T.onPressEnter,_=T.readOnly,$=T.autoSize,N=T.onKeyDown,X=(0,D.Z)(T,de),ue=(0,M.Z)(We,{value:st,defaultValue:We}),c=(0,x.Z)(ue,2),y=c[0],Ge=c[1],G=y==null?"":String(y),Le=P.useState(!1),He=(0,x.Z)(Le,2),nt=He[0],it=He[1],et=P.useRef(!1),w=P.useState(null),pe=(0,x.Z)(w,2),Ze=pe[0],Ue=pe[1],ot=(0,P.useRef)(null),Tt=(0,P.useRef)(null),ct=function(){var Fn;return(Fn=Tt.current)===null||Fn===void 0?void 0:Fn.textArea},dt=function(){ct().focus()};(0,P.useImperativeHandle)(ze,function(){var bn;return{resizableTextArea:Tt.current,focus:dt,blur:function(){ct().blur()},nativeElement:((bn=ot.current)===null||bn===void 0?void 0:bn.nativeElement)||ct()}}),(0,P.useEffect)(function(){it(function(bn){return!U&&bn})},[U]);var Rt=P.useState(null),Vt=(0,x.Z)(Rt,2),Ht=Vt[0],Xt=Vt[1];P.useEffect(function(){if(Ht){var bn;(bn=ct()).setSelectionRange.apply(bn,(0,L.Z)(Ht))}},[Ht]);var wt=(0,r.Z)(Te,bt),Ut=(xe=wt.max)!==null&&xe!==void 0?xe:Se,yt=Number(Ut)>0,Bt=wt.strategy(G),Pt=!!Ut&&Bt>Ut,kt=function(Fn,_n){var Jn=_n;!et.current&&wt.exceedFormatter&&wt.max&&wt.strategy(_n)>wt.max&&(Jn=wt.exceedFormatter(_n,{max:wt.max}),_n!==Jn&&Xt([ct().selectionStart||0,ct().selectionEnd||0])),Ge(Jn),(0,V.rJ)(Fn.currentTarget,Fn,tt,Jn)},Wt=function(Fn){et.current=!0,ge==null||ge(Fn)},pt=function(Fn){et.current=!1,kt(Fn,Fn.currentTarget.value),Qe==null||Qe(Fn)},Lt=function(Fn){kt(Fn,Fn.target.value)},ln=function(Fn){Fn.key==="Enter"&&se&&se(Fn),N==null||N(Fn)},rn=function(Fn){it(!0),at==null||at(Fn)},xn=function(Fn){it(!1),Ae==null||Ae(Fn)},Dn=function(Fn){Ge(""),dt(),(0,V.rJ)(ct(),Fn,tt)},Mn=ie,tn;wt.show&&(wt.showFormatter?tn=wt.showFormatter({value:G,count:Bt,maxLength:Ut}):tn="".concat(Bt).concat(yt?" / ".concat(Ut):""),Mn=P.createElement(P.Fragment,null,Mn,P.createElement("span",{className:Z()("".concat(Ke,"-data-count"),fe==null?void 0:fe.count),style:z==null?void 0:z.count},tn)));var Nn=function(Fn){var _n;o==null||o(Fn),(_n=ct())!==null&&_n!==void 0&&_n.style.height&&Ue(!0)},Pn=!$&&!bt&&!q;return P.createElement(K.BaseInput,{ref:ot,value:G,allowClear:q,handleReset:Dn,suffix:Mn,prefixCls:Ke,classNames:(0,i.Z)((0,i.Z)({},fe),{},{affixWrapper:Z()(fe==null?void 0:fe.affixWrapper,(0,d.Z)((0,d.Z)({},"".concat(Ke,"-show-count"),bt),"".concat(Ke,"-textarea-allow-clear"),q))}),disabled:U,focused:nt,className:Z()(k,Pt&&"".concat(Ke,"-out-of-range")),style:(0,i.Z)((0,i.Z)({},R),Ze&&!Pn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tn=="string"?tn:void 0}},hidden:p,readOnly:_,onClear:f},P.createElement(Re,(0,e.Z)({},X,{autoSize:$,maxLength:Se,onKeyDown:ln,onChange:Lt,onFocus:rn,onBlur:xn,onCompositionStart:Wt,onCompositionEnd:pt,className:Z()(fe==null?void 0:fe.textarea),style:(0,i.Z)((0,i.Z)({},z==null?void 0:z.textarea),{},{resize:R==null?void 0:R.resize}),disabled:U,prefixCls:Ke,onResize:Nn,ref:Tt,readOnly:_})))}),n=H,ce=n},29125:function(an,Je,t){t.d(Je,{G:function(){return L},Z:function(){return Ve}});var e=t(92310),d=t.n(e),i=t(59301);function L(C){var he=C.children,s=C.prefixCls,h=C.id,oe=C.overlayInnerStyle,le=C.bodyClassName,v=C.className,je=C.style;return i.createElement("div",{className:d()("".concat(s,"-content"),v),style:je},i.createElement("div",{className:d()("".concat(s,"-inner"),le),id:h,role:"tooltip",style:oe},typeof he=="function"?he():he))}var x=t(54476),D=t(33885),E=t(75931),Z=t(65030),K={shiftX:64,adjustY:1},r={adjustX:1,shiftY:!0},V=[0,0],M={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:V},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:V},top:{points:["bc","tc"],overflow:K,offset:[0,-4],targetOffset:V},bottom:{points:["tc","bc"],overflow:K,offset:[0,4],targetOffset:V},topLeft:{points:["bl","tl"],overflow:K,offset:[0,-4],targetOffset:V},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:V},topRight:{points:["br","tr"],overflow:K,offset:[0,-4],targetOffset:V},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:V},bottomRight:{points:["tr","br"],overflow:K,offset:[0,4],targetOffset:V},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:V},bottomLeft:{points:["tl","bl"],overflow:K,offset:[0,4],targetOffset:V},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:V}},P=null,me=t(80402),lt=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Fe=function(he,s){var h=he.overlayClassName,oe=he.trigger,le=oe===void 0?["hover"]:oe,v=he.mouseEnterDelay,je=v===void 0?0:v,Oe=he.mouseLeaveDelay,ne=Oe===void 0?.1:Oe,Re=he.overlayStyle,de=he.prefixCls,H=de===void 0?"rc-tooltip":de,n=he.children,ce=he.onVisibleChange,T=he.afterVisibleChange,ze=he.transitionName,xe=he.animation,We=he.motion,st=he.placement,at=st===void 0?"right":st,Ae=he.align,tt=Ae===void 0?{}:Ae,q=he.destroyTooltipOnHide,Se=q===void 0?!1:q,ge=he.defaultVisible,Qe=he.getTooltipContainer,ie=he.overlayInnerStyle,qe=he.arrowContent,Ke=he.overlay,bt=he.id,Te=he.showArrow,k=Te===void 0?!0:Te,R=he.classNames,U=he.styles,p=(0,E.Z)(he,lt),fe=(0,me.Z)(bt),z=(0,i.useRef)(null);(0,i.useImperativeHandle)(s,function(){return z.current});var o=(0,D.Z)({},p);"visible"in he&&(o.popupVisible=he.visible);var f=function(){return i.createElement(L,{key:"content",prefixCls:H,id:fe,bodyClassName:R==null?void 0:R.body,overlayInnerStyle:(0,D.Z)((0,D.Z)({},ie),U==null?void 0:U.body)},Ke)},se=function(){var $=i.Children.only(n),N=($==null?void 0:$.props)||{},X=(0,D.Z)((0,D.Z)({},N),{},{"aria-describedby":Ke?fe:null});return i.cloneElement(n,X)};return i.createElement(Z.Z,(0,x.Z)({popupClassName:d()(h,R==null?void 0:R.root),prefixCls:H,popup:f,action:le,builtinPlacements:M,popupPlacement:at,ref:z,popupAlign:tt,getPopupContainer:Qe,onPopupVisibleChange:ce,afterPopupVisibleChange:T,popupTransitionName:ze,popupAnimation:xe,popupMotion:We,defaultPopupVisible:ge,autoDestroy:Se,mouseLeaveDelay:ne,popupStyle:(0,D.Z)((0,D.Z)({},Re),U==null?void 0:U.root),mouseEnterDelay:je,arrow:k},o),se())},Pe=(0,i.forwardRef)(Fe),Ve=Pe},639:function(an,Je,t){t.d(Je,{Z:function(){return he}});var e=t(54476),d=t(20068),i=t(33885),L=t(42978),x=t(75931),D=t(59301),E=t(92310),Z=t.n(E),K=t(26112),r=t(30699),V=function(h){for(var oe=h.prefixCls,le=h.level,v=h.isStart,je=h.isEnd,Oe="".concat(oe,"-indent-unit"),ne=[],Re=0;Re0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=p.length,o=fe.length;if(Math.abs(z-o)!==1)return{add:!1,key:null};function f(se,_){var $=new Map;se.forEach(function(X){$.set(X,!0)});var N=_.filter(function(X){return!$.has(X)});return N.length===1?N[0]:null}return z ").concat(fe);return fe}var Qe=Fe.forwardRef(function(p,fe){var z=p.prefixCls,o=p.data,f=p.selectable,se=p.checkable,_=p.expandedKeys,$=p.selectedKeys,N=p.checkedKeys,X=p.loadedKeys,ue=p.loadingKeys,c=p.halfCheckedKeys,y=p.keyEntities,Ge=p.disabled,G=p.dragging,Le=p.dragOverNodeKey,He=p.dropPosition,nt=p.motion,it=p.height,et=p.itemHeight,w=p.virtual,pe=p.scrollWidth,Ze=p.focusable,Ue=p.activeItem,ot=p.focused,Tt=p.tabIndex,ct=p.onKeyDown,dt=p.onFocus,Rt=p.onBlur,Vt=p.onActiveChange,Ht=p.onListChangeStart,Xt=p.onListChangeEnd,wt=(0,h.Z)(p,ze),Ut=Fe.useRef(null),yt=Fe.useRef(null);Fe.useImperativeHandle(fe,function(){return{scrollTo:function(re){Ut.current.scrollTo(re)},getIndentWidth:function(){return yt.current.offsetWidth}}});var Bt=Fe.useState(_),Pt=(0,s.Z)(Bt,2),kt=Pt[0],Wt=Pt[1],pt=Fe.useState(o),Lt=(0,s.Z)(pt,2),ln=Lt[0],rn=Lt[1],xn=Fe.useState(o),Dn=(0,s.Z)(xn,2),Mn=Dn[0],tn=Dn[1],Nn=Fe.useState([]),Pn=(0,s.Z)(Nn,2),bn=Pn[0],Fn=Pn[1],_n=Fe.useState(null),Jn=(0,s.Z)(_n,2),Be=Jn[0],Ie=Jn[1],I=Fe.useRef(o);I.current=o;function Y(){var g=I.current;rn(g),tn(g),Fn([]),Ie(null),Xt()}(0,oe.Z)(function(){Wt(_);var g=ce(kt,_);if(g.key!==null)if(g.add){var re=ln.findIndex(function(j){var O=j.key;return O===g.key}),De=q(T(ln,o,g.key),w,it,et),u=ln.slice();u.splice(re+1,0,tt),tn(u),Fn(De),Ie("show")}else{var S=o.findIndex(function(j){var O=j.key;return O===g.key}),A=q(T(o,ln,g.key),w,it,et),ve=o.slice();ve.splice(S+1,0,tt),tn(ve),Fn(A),Ie("hide")}else ln!==o&&(rn(o),tn(o))},[_,o]),Fe.useEffect(function(){G||Y()},[G]);var be=nt?Mn:o,ye={expandedKeys:_,selectedKeys:$,loadedKeys:X,loadingKeys:ue,checkedKeys:N,halfCheckedKeys:c,dragOverNodeKey:Le,dropPosition:He,keyEntities:y};return Fe.createElement(Fe.Fragment,null,ot&&Ue&&Fe.createElement("span",{style:xe,"aria-live":"assertive"},ge(Ue)),Fe.createElement("div",null,Fe.createElement("input",{style:xe,disabled:Ze===!1||Ge,tabIndex:Ze!==!1?Tt:null,onKeyDown:ct,onFocus:dt,onBlur:Rt,value:"",onChange:We,"aria-label":"for screen reader"})),Fe.createElement("div",{className:"".concat(z,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Fe.createElement("div",{className:"".concat(z,"-indent")},Fe.createElement("div",{ref:yt,className:"".concat(z,"-indent-unit")}))),Fe.createElement(le.Z,(0,e.Z)({},wt,{data:be,itemKey:Se,height:it,fullHeight:!1,virtual:w,itemHeight:et,scrollWidth:pe,prefixCls:"".concat(z,"-list"),ref:Ut,role:"tree",onVisibleChange:function(re){re.every(function(De){return Se(De)!==st})&&Y()}}),function(g){var re=g.pos,De=Object.assign({},(he(g.data),g.data)),u=g.title,S=g.key,A=g.isStart,ve=g.isEnd,j=(0,Re.km)(S,re);delete De.key,delete De.children;var O=(0,Re.H8)(j,ye);return Fe.createElement(n,(0,e.Z)({},De,O,{title:u,active:!!Ue&&S===Ue.key,pos:re,data:g.data,isStart:A,isEnd:ve,motion:nt,motionNodes:S===st?bn:null,motionType:Be,onMotionStart:Ht,onMotionEnd:Y,treeNodeRequiredProps:ye,onMouseMove:function(){Vt(null)}}))}))}),ie=Qe,qe=t(82661),Ke=t(34643),bt=t(65065),Te=10,k=function(p){(0,Z.Z)(z,p);var fe=(0,K.Z)(z);function z(){var o;(0,x.Z)(this,z);for(var f=arguments.length,se=new Array(f),_=0;_2&&arguments[2]!==void 0?arguments[2]:!1,c=o.state,y=c.dragChildrenKeys,Ge=c.dropPosition,G=c.dropTargetKey,Le=c.dropTargetPos,He=c.dropAllowed;if(He){var nt=o.props.onDrop;if(o.setState({dragOverNodeKey:null}),o.cleanDragState(),G!==null){var it=(0,i.Z)((0,i.Z)({},(0,Re.H8)(G,o.getTreeNodeRequiredProps())),{},{active:((X=o.getActiveItem())===null||X===void 0?void 0:X.key)===G,data:(0,bt.Z)(o.state.keyEntities,G).node}),et=y.includes(G);(0,lt.ZP)(!et,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=(0,qe.yx)(Le),pe={event:$,node:(0,Re.F)(it),dragNode:o.dragNodeProps?(0,Re.F)(o.dragNodeProps):null,dragNodesKeys:[o.dragNodeProps.eventKey].concat(y),dropToGap:Ge!==0,dropPosition:Ge+Number(w[w.length-1])};ue||nt==null||nt(pe),o.dragNodeProps=null}}}),(0,r.Z)((0,E.Z)(o),"cleanDragState",function(){var $=o.state.draggingNodeKey;$!==null&&o.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),o.dragStartMousePosition=null,o.currentMouseOverDroppableNodeKey=null}),(0,r.Z)((0,E.Z)(o),"triggerExpandActionExpand",function($,N){var X=o.state,ue=X.expandedKeys,c=X.flattenNodes,y=N.expanded,Ge=N.key,G=N.isLeaf;if(!(G||$.shiftKey||$.metaKey||$.ctrlKey)){var Le=c.filter(function(nt){return nt.key===Ge})[0],He=(0,Re.F)((0,i.Z)((0,i.Z)({},(0,Re.H8)(Ge,o.getTreeNodeRequiredProps())),{},{data:Le.data}));o.setExpandedKeys(y?(0,qe._5)(ue,Ge):(0,qe.L0)(ue,Ge)),o.onNodeExpand($,He)}}),(0,r.Z)((0,E.Z)(o),"onNodeClick",function($,N){var X=o.props,ue=X.onClick,c=X.expandAction;c==="click"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeDoubleClick",function($,N){var X=o.props,ue=X.onDoubleClick,c=X.expandAction;c==="doubleClick"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeSelect",function($,N){var X=o.state.selectedKeys,ue=o.state,c=ue.keyEntities,y=ue.fieldNames,Ge=o.props,G=Ge.onSelect,Le=Ge.multiple,He=N.selected,nt=N[y.key],it=!He;it?Le?X=(0,qe.L0)(X,nt):X=[nt]:X=(0,qe._5)(X,nt);var et=X.map(function(w){var pe=(0,bt.Z)(c,w);return pe?pe.node:null}).filter(Boolean);o.setUncontrolledState({selectedKeys:X}),G==null||G(X,{event:"select",selected:it,node:N,selectedNodes:et,nativeEvent:$.nativeEvent})}),(0,r.Z)((0,E.Z)(o),"onNodeCheck",function($,N,X){var ue=o.state,c=ue.keyEntities,y=ue.checkedKeys,Ge=ue.halfCheckedKeys,G=o.props,Le=G.checkStrictly,He=G.onCheck,nt=N.key,it,et={event:"check",node:N,checked:X,nativeEvent:$.nativeEvent};if(Le){var w=X?(0,qe.L0)(y,nt):(0,qe._5)(y,nt),pe=(0,qe._5)(Ge,nt);it={checked:w,halfChecked:pe},et.checkedNodes=w.map(function(dt){return(0,bt.Z)(c,dt)}).filter(Boolean).map(function(dt){return dt.node}),o.setUncontrolledState({checkedKeys:w})}else{var Ze=(0,Ke.S)([].concat((0,L.Z)(y),[nt]),!0,c),Ue=Ze.checkedKeys,ot=Ze.halfCheckedKeys;if(!X){var Tt=new Set(Ue);Tt.delete(nt);var ct=(0,Ke.S)(Array.from(Tt),{checked:!1,halfCheckedKeys:ot},c);Ue=ct.checkedKeys,ot=ct.halfCheckedKeys}it=Ue,et.checkedNodes=[],et.checkedNodesPositions=[],et.halfCheckedKeys=ot,Ue.forEach(function(dt){var Rt=(0,bt.Z)(c,dt);if(Rt){var Vt=Rt.node,Ht=Rt.pos;et.checkedNodes.push(Vt),et.checkedNodesPositions.push({node:Vt,pos:Ht})}}),o.setUncontrolledState({checkedKeys:Ue},!1,{halfCheckedKeys:ot})}He==null||He(it,et)}),(0,r.Z)((0,E.Z)(o),"onNodeLoad",function($){var N,X=$.key,ue=o.state.keyEntities,c=(0,bt.Z)(ue,X);if(!(c!=null&&(N=c.children)!==null&&N!==void 0&&N.length)){var y=new Promise(function(Ge,G){o.setState(function(Le){var He=Le.loadedKeys,nt=He===void 0?[]:He,it=Le.loadingKeys,et=it===void 0?[]:it,w=o.props,pe=w.loadData,Ze=w.onLoad;if(!pe||nt.includes(X)||et.includes(X))return null;var Ue=pe($);return Ue.then(function(){var ot=o.state.loadedKeys,Tt=(0,qe.L0)(ot,X);Ze==null||Ze(Tt,{event:"load",node:$}),o.setUncontrolledState({loadedKeys:Tt}),o.setState(function(ct){return{loadingKeys:(0,qe._5)(ct.loadingKeys,X)}}),Ge()}).catch(function(ot){if(o.setState(function(ct){return{loadingKeys:(0,qe._5)(ct.loadingKeys,X)}}),o.loadingRetryTimes[X]=(o.loadingRetryTimes[X]||0)+1,o.loadingRetryTimes[X]>=Te){var Tt=o.state.loadedKeys;(0,lt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),o.setUncontrolledState({loadedKeys:(0,qe.L0)(Tt,X)}),Ge()}G(ot)}),{loadingKeys:(0,qe.L0)(et,X)}})});return y.catch(function(){}),y}}),(0,r.Z)((0,E.Z)(o),"onNodeMouseEnter",function($,N){var X=o.props.onMouseEnter;X==null||X({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeMouseLeave",function($,N){var X=o.props.onMouseLeave;X==null||X({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeContextMenu",function($,N){var X=o.props.onRightClick;X&&($.preventDefault(),X({event:$,node:N}))}),(0,r.Z)((0,E.Z)(o),"onFocus",function(){var $=o.props.onFocus;o.setState({focused:!0});for(var N=arguments.length,X=new Array(N),ue=0;ue1&&arguments[1]!==void 0?arguments[1]:!1,X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!o.destroyed){var ue=!1,c=!0,y={};Object.keys($).forEach(function(Ge){if(o.props.hasOwnProperty(Ge)){c=!1;return}ue=!0,y[Ge]=$[Ge]}),ue&&(!N||c)&&o.setState((0,i.Z)((0,i.Z)({},y),X))}}),(0,r.Z)((0,E.Z)(o),"scrollTo",function($){o.listRef.current.scrollTo($)}),o}return(0,D.Z)(z,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var f=this.props,se=f.activeKey,_=f.itemScrollOffset,$=_===void 0?0:_;se!==void 0&&se!==this.state.activeKey&&(this.setState({activeKey:se}),se!==null&&this.scrollTo({key:se,offset:$}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var f=this.state,se=f.focused,_=f.flattenNodes,$=f.keyEntities,N=f.draggingNodeKey,X=f.activeKey,ue=f.dropLevelOffset,c=f.dropContainerKey,y=f.dropTargetKey,Ge=f.dropPosition,G=f.dragOverNodeKey,Le=f.indent,He=this.props,nt=He.prefixCls,it=He.className,et=He.style,w=He.showLine,pe=He.focusable,Ze=He.tabIndex,Ue=Ze===void 0?0:Ze,ot=He.selectable,Tt=He.showIcon,ct=He.icon,dt=He.switcherIcon,Rt=He.draggable,Vt=He.checkable,Ht=He.checkStrictly,Xt=He.disabled,wt=He.motion,Ut=He.loadData,yt=He.filterTreeNode,Bt=He.height,Pt=He.itemHeight,kt=He.scrollWidth,Wt=He.virtual,pt=He.titleRender,Lt=He.dropIndicatorRender,ln=He.onContextMenu,rn=He.onScroll,xn=He.direction,Dn=He.rootClassName,Mn=He.rootStyle,tn=(0,me.Z)(this.props,{aria:!0,data:!0}),Nn;Rt&&((0,d.Z)(Rt)==="object"?Nn=Rt:typeof Rt=="function"?Nn={nodeDraggable:Rt}:Nn={});var Pn={prefixCls:nt,selectable:ot,showIcon:Tt,icon:ct,switcherIcon:dt,draggable:Nn,draggingNodeKey:N,checkable:Vt,checkStrictly:Ht,disabled:Xt,keyEntities:$,dropLevelOffset:ue,dropContainerKey:c,dropTargetKey:y,dropPosition:Ge,dragOverNodeKey:G,indent:Le,direction:xn,dropIndicatorRender:Lt,loadData:Ut,filterTreeNode:yt,titleRender:pt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Fe.createElement(Pe.k.Provider,{value:Pn},Fe.createElement("div",{className:M()(nt,it,Dn,(0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(nt,"-show-line"),w),"".concat(nt,"-focused"),se),"".concat(nt,"-active-focused"),X!==null)),style:Mn},Fe.createElement(ie,(0,e.Z)({ref:this.listRef,prefixCls:nt,style:et,data:_,disabled:Xt,selectable:ot,checkable:!!Vt,motion:wt,dragging:N!==null,height:Bt,itemHeight:Pt,virtual:Wt,focusable:pe,focused:se,tabIndex:Ue,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ln,onScroll:rn,scrollWidth:kt},this.getTreeNodeRequiredProps(),tn))))}}],[{key:"getDerivedStateFromProps",value:function(f,se){var _=se.prevProps,$={prevProps:f};function N(Ue){return!_&&f.hasOwnProperty(Ue)||_&&_[Ue]!==f[Ue]}var X,ue=se.fieldNames;if(N("fieldNames")&&(ue=(0,Re.w$)(f.fieldNames),$.fieldNames=ue),N("treeData")?X=f.treeData:N("children")&&((0,lt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),X=(0,Re.zn)(f.children)),X){$.treeData=X;var c=(0,Re.I8)(X,{fieldNames:ue});$.keyEntities=(0,i.Z)((0,r.Z)({},st,Ae),c.keyEntities)}var y=$.keyEntities||se.keyEntities;if(N("expandedKeys")||_&&N("autoExpandParent"))$.expandedKeys=f.autoExpandParent||!_&&f.defaultExpandParent?(0,qe.r7)(f.expandedKeys,y):f.expandedKeys;else if(!_&&f.defaultExpandAll){var Ge=(0,i.Z)({},y);delete Ge[st];var G=[];Object.keys(Ge).forEach(function(Ue){var ot=Ge[Ue];ot.children&&ot.children.length&&G.push(ot.key)}),$.expandedKeys=G}else!_&&f.defaultExpandedKeys&&($.expandedKeys=f.autoExpandParent||f.defaultExpandParent?(0,qe.r7)(f.defaultExpandedKeys,y):f.defaultExpandedKeys);if($.expandedKeys||delete $.expandedKeys,X||$.expandedKeys){var Le=(0,Re.oH)(X||se.treeData,$.expandedKeys||se.expandedKeys,ue);$.flattenNodes=Le}if(f.selectable&&(N("selectedKeys")?$.selectedKeys=(0,qe.BT)(f.selectedKeys,f):!_&&f.defaultSelectedKeys&&($.selectedKeys=(0,qe.BT)(f.defaultSelectedKeys,f))),f.checkable){var He;if(N("checkedKeys")?He=(0,qe.E6)(f.checkedKeys)||{}:!_&&f.defaultCheckedKeys?He=(0,qe.E6)(f.defaultCheckedKeys)||{}:X&&(He=(0,qe.E6)(f.checkedKeys)||{checkedKeys:se.checkedKeys,halfCheckedKeys:se.halfCheckedKeys}),He){var nt=He,it=nt.checkedKeys,et=it===void 0?[]:it,w=nt.halfCheckedKeys,pe=w===void 0?[]:w;if(!f.checkStrictly){var Ze=(0,Ke.S)(et,!0,y);et=Ze.checkedKeys,pe=Ze.halfCheckedKeys}$.checkedKeys=et,$.halfCheckedKeys=pe}}return N("loadedKeys")&&($.loadedKeys=f.loadedKeys),$}}]),z}(Fe.Component);(0,r.Z)(k,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:C,allowDrop:function(){return!0},expandAction:!1}),(0,r.Z)(k,"TreeNode",je.Z);var R=k,U=R},82661:function(an,Je,t){t.d(Je,{BT:function(){return Fe},E6:function(){return C},L0:function(){return r},OM:function(){return lt},_5:function(){return K},r7:function(){return he},wA:function(){return M},yx:function(){return V}});var e=t(94480),d=t(76190),i=t(48736),L=t(59301),x=t(639),D=t(65065),E=t(34061),Z=null;function K(s,h){if(!s)return[];var oe=s.slice(),le=oe.indexOf(h);return le>=0&&oe.splice(le,1),oe}function r(s,h){var oe=(s||[]).slice();return oe.indexOf(h)===-1&&oe.push(h),oe}function V(s){return s.split("-")}function M(s,h){var oe=[],le=(0,D.Z)(h,s);function v(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Oe){var ne=Oe.key,Re=Oe.children;oe.push(ne),v(Re)})}return v(le.children),oe}function P(s){if(s.parent){var h=V(s.pos);return Number(h[h.length-1])===s.parent.children.length-1}return!1}function me(s){var h=V(s.pos);return Number(h[h.length-1])===0}function lt(s,h,oe,le,v,je,Oe,ne,Re,de){var H,n=s.clientX,ce=s.clientY,T=s.target.getBoundingClientRect(),ze=T.top,xe=T.height,We=(de==="rtl"?-1:1)*(((v==null?void 0:v.x)||0)-n),st=(We-12)/le,at=Re.filter(function(U){var p;return(p=ne[U])===null||p===void 0||(p=p.children)===null||p===void 0?void 0:p.length}),Ae=(0,D.Z)(ne,oe.eventKey);if(ce-1.5?je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1:je({dragNode:Te,dropNode:k,dropPosition:0})?qe=0:je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1:je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1,{dropPosition:qe,dropLevelOffset:Ke,dropTargetKey:Ae.key,dropTargetPos:Ae.pos,dragOverNodeKey:ie,dropContainerKey:qe===0?null:((H=Ae.parent)===null||H===void 0?void 0:H.key)||null,dropAllowed:R}}function Fe(s,h){if(s){var oe=h.multiple;return oe?s.slice():s.length?[s[0]]:s}}var Pe=function(h){return h};function Ve(s,h){if(!s)return[];var oe=h||{},le=oe.processProps,v=le===void 0?Pe:le,je=Array.isArray(s)?s:[s];return je.map(function(Oe){var ne=Oe.children,Re=_objectWithoutProperties(Oe,Z),de=Ve(ne,h);return React.createElement(TreeNode,_extends({key:Re.key},v(Re)),de)})}function C(s){if(!s)return null;var h;if(Array.isArray(s))h={checkedKeys:s,halfCheckedKeys:void 0};else if((0,d.Z)(s)==="object")h={checkedKeys:s.checked||void 0,halfCheckedKeys:s.halfChecked||void 0};else return(0,i.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return h}function he(s,h){var oe=new Set;function le(v){if(!oe.has(v)){var je=(0,D.Z)(h,v);if(je){oe.add(v);var Oe=je.parent,ne=je.node;ne.disabled||Oe&&le(Oe.key)}}}return(s||[]).forEach(function(v){le(v)}),(0,e.Z)(oe)}},34643:function(an,Je,t){t.d(Je,{S:function(){return E}});var e=t(48736),d=t(65065);function i(Z,K){var r=new Set;return Z.forEach(function(V){K.has(V)||r.add(V)}),r}function L(Z){var K=Z||{},r=K.disabled,V=K.disableCheckbox,M=K.checkable;return!!(r||V)||M===!1}function x(Z,K,r,V){for(var M=new Set(Z),P=new Set,me=0;me<=r;me+=1){var lt=K.get(me)||new Set;lt.forEach(function(C){var he=C.key,s=C.node,h=C.children,oe=h===void 0?[]:h;M.has(he)&&!V(s)&&oe.filter(function(le){return!V(le.node)}).forEach(function(le){M.add(le.key)})})}for(var Fe=new Set,Pe=r;Pe>=0;Pe-=1){var Ve=K.get(Pe)||new Set;Ve.forEach(function(C){var he=C.parent,s=C.node;if(!(V(s)||!C.parent||Fe.has(C.parent.key))){if(V(C.parent.node)){Fe.add(he.key);return}var h=!0,oe=!1;(he.children||[]).filter(function(le){return!V(le.node)}).forEach(function(le){var v=le.key,je=M.has(v);h&&!je&&(h=!1),!oe&&(je||P.has(v))&&(oe=!0)}),h&&M.add(he.key),oe&&P.add(he.key),Fe.add(he.key)}})}return{checkedKeys:Array.from(M),halfCheckedKeys:Array.from(i(P,M))}}function D(Z,K,r,V,M){for(var P=new Set(Z),me=new Set(K),lt=0;lt<=V;lt+=1){var Fe=r.get(lt)||new Set;Fe.forEach(function(he){var s=he.key,h=he.node,oe=he.children,le=oe===void 0?[]:oe;!P.has(s)&&!me.has(s)&&!M(h)&&le.filter(function(v){return!M(v.node)}).forEach(function(v){P.delete(v.key)})})}me=new Set;for(var Pe=new Set,Ve=V;Ve>=0;Ve-=1){var C=r.get(Ve)||new Set;C.forEach(function(he){var s=he.parent,h=he.node;if(!(M(h)||!he.parent||Pe.has(he.parent.key))){if(M(he.parent.node)){Pe.add(s.key);return}var oe=!0,le=!1;(s.children||[]).filter(function(v){return!M(v.node)}).forEach(function(v){var je=v.key,Oe=P.has(je);oe&&!Oe&&(oe=!1),!le&&(Oe||me.has(je))&&(le=!0)}),oe||P.delete(s.key),le&&me.add(s.key),Pe.add(s.key)}})}return{checkedKeys:Array.from(P),halfCheckedKeys:Array.from(i(me,P))}}function E(Z,K,r,V){var M=[],P;V?P=V:P=L;var me=new Set(Z.filter(function(Ve){var C=!!(0,d.Z)(r,Ve);return C||M.push(Ve),C})),lt=new Map,Fe=0;Object.keys(r).forEach(function(Ve){var C=r[Ve],he=C.level,s=lt.get(he);s||(s=new Set,lt.set(he,s)),s.add(C),Fe=Math.max(Fe,he)}),(0,e.ZP)(!M.length,"Tree missing follow keys: ".concat(M.slice(0,100).map(function(Ve){return"'".concat(Ve,"'")}).join(", ")));var Pe;return K===!0?Pe=x(me,lt,Fe,P):Pe=D(me,K.halfCheckedKeys,lt,Fe,P),Pe}},65065:function(an,Je,t){t.d(Je,{Z:function(){return e}});function e(d,i){return d[i]}},34061:function(an,Je,t){t.d(Je,{F:function(){return he},H8:function(){return C},I8:function(){return Ve},km:function(){return M},oH:function(){return Fe},w$:function(){return P},zn:function(){return lt}});var e=t(76190),d=t(94480),i=t(33885),L=t(75931),x=t(11592),D=t(2738),E=t(48736),Z=t(65065),K=["children"];function r(s,h){return"".concat(s,"-").concat(h)}function V(s){return s&&s.type&&s.type.isTreeNode}function M(s,h){return s!=null?s:h}function P(s){var h=s||{},oe=h.title,le=h._title,v=h.key,je=h.children,Oe=oe||"title";return{title:Oe,_title:le||[Oe],key:v||"key",children:je||"children"}}function me(s,h){var oe=new Map;function le(v){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(v||[]).forEach(function(Oe){var ne=Oe[h.key],Re=Oe[h.children];warning(ne!=null,"Tree node must have a certain key: [".concat(je).concat(ne,"]"));var de=String(ne);warning(!oe.has(de)||ne===null||ne===void 0,"Same 'key' exist in the Tree: ".concat(de)),oe.set(de,!0),le(Re,"".concat(je).concat(de," > "))})}le(s)}function lt(s){function h(oe){var le=(0,x.Z)(oe);return le.map(function(v){if(!V(v))return(0,E.ZP)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var je=v.key,Oe=v.props,ne=Oe.children,Re=(0,L.Z)(Oe,K),de=(0,i.Z)({key:je},Re),H=h(ne);return H.length&&(de.children=H),de}).filter(function(v){return v})}return h(s)}function Fe(s,h,oe){var le=P(oe),v=le._title,je=le.key,Oe=le.children,ne=new Set(h===!0?[]:h),Re=[];function de(H){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return H.map(function(ce,T){for(var ze=r(n?n.pos:"0",T),xe=M(ce[je],ze),We,st=0;st1&&arguments[1]!==void 0?arguments[1]:{},oe=h.initWrapper,le=h.processEntity,v=h.onProcessFinished,je=h.externalGetKey,Oe=h.childrenPropName,ne=h.fieldNames,Re=arguments.length>2?arguments[2]:void 0,de=je||Re,H={},n={},ce={posEntities:H,keyEntities:n};return oe&&(ce=oe(ce)||ce),Pe(s,function(T){var ze=T.node,xe=T.index,We=T.pos,st=T.key,at=T.parentPos,Ae=T.level,tt=T.nodes,q={node:ze,nodes:tt,index:xe,key:st,pos:We,level:Ae},Se=M(st,We);H[We]=q,n[Se]=q,q.parent=H[at],q.parent&&(q.parent.children=q.parent.children||[],q.parent.children.push(q)),le&&le(q,ce)},{externalGetKey:de,childrenPropName:Oe,fieldNames:ne}),v&&v(ce),ce}function C(s,h){var oe=h.expandedKeys,le=h.selectedKeys,v=h.loadedKeys,je=h.loadingKeys,Oe=h.checkedKeys,ne=h.halfCheckedKeys,Re=h.dragOverNodeKey,de=h.dropPosition,H=h.keyEntities,n=(0,Z.Z)(H,s),ce={eventKey:s,expanded:oe.indexOf(s)!==-1,selected:le.indexOf(s)!==-1,loaded:v.indexOf(s)!==-1,loading:je.indexOf(s)!==-1,checked:Oe.indexOf(s)!==-1,halfChecked:ne.indexOf(s)!==-1,pos:String(n?n.pos:""),dragOver:Re===s&&de===0,dragOverGapTop:Re===s&&de===-1,dragOverGapBottom:Re===s&&de===1};return ce}function he(s){var h=s.data,oe=s.expanded,le=s.selected,v=s.checked,je=s.loaded,Oe=s.loading,ne=s.halfChecked,Re=s.dragOver,de=s.dragOverGapTop,H=s.dragOverGapBottom,n=s.pos,ce=s.active,T=s.eventKey,ze=(0,i.Z)((0,i.Z)({},h),{},{expanded:oe,selected:le,checked:v,loaded:je,loading:Oe,halfChecked:ne,dragOver:Re,dragOverGapTop:de,dragOverGapBottom:H,pos:n,active:ce,key:T});return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),s}}),ze}},8224:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(4676);function d(i,L,x,D){var E=e.unstable_batchedUpdates?function(K){e.unstable_batchedUpdates(x,K)}:x;return i!=null&&i.addEventListener&&i.addEventListener(L,E,D),{remove:function(){i!=null&&i.removeEventListener&&i.removeEventListener(L,E,D)}}}},24514:function(an,Je,t){t.d(Je,{G:function(){return L}});var e=t(47273),d=function(D){if((0,e.Z)()&&window.document.documentElement){var E=Array.isArray(D)?D:[D],Z=window.document.documentElement;return E.some(function(K){return K in Z.style})}return!1},i=function(D,E){if(!d(D))return!1;var Z=document.createElement("div"),K=Z.style[D];return Z.style[D]=E,Z.style[D]!==K};function L(x,D){return!Array.isArray(x)&&D!==void 0?i(x,D):d(x)}},49658:function(an,Je){Je.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(an,Je,t){t.d(Je,{Z:function(){return Te}});var e=t(54476),d=t(76190),i=t(33885),L=t(20068),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(29301),r=t(70425),V=t(34280),M=t(59301),P=t(4676),me=M.forwardRef(function(k,R){var U=k.height,p=k.offsetY,fe=k.offsetX,z=k.children,o=k.prefixCls,f=k.onInnerResize,se=k.innerProps,_=k.rtl,$=k.extra,N={},X={display:"flex",flexDirection:"column"};return p!==void 0&&(N={height:U,position:"relative",overflow:"hidden"},X=(0,i.Z)((0,i.Z)({},X),{},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({transform:"translateY(".concat(p,"px)")},_?"marginRight":"marginLeft",-fe),"position","absolute"),"left",0),"right",0),"top",0))),M.createElement("div",{style:N},M.createElement(K.Z,{onResize:function(c){var y=c.offsetHeight;y&&f&&f()}},M.createElement("div",(0,e.Z)({style:X,className:Z()((0,L.Z)({},"".concat(o,"-holder-inner"),o)),ref:R},se),z,$)))});me.displayName="Filler";var lt=me;function Fe(k){var R=k.children,U=k.setRef,p=M.useCallback(function(fe){U(fe)},[]);return M.cloneElement(R,{ref:p})}function Pe(k,R,U,p,fe,z,o,f){var se=f.getKey;return k.slice(R,U+1).map(function(_,$){var N=R+$,X=o(_,N,{style:{width:p},offsetX:fe}),ue=se(_);return M.createElement(Fe,{key:ue,setRef:function(y){return z(_,y)}},X)})}function Ve(k,R,U,p){var fe=U-k,z=R-U,o=Math.min(fe,z)*2;if(p<=o){var f=Math.floor(p/2);return p%2?U+f+1:U-f}return fe>z?U-(p-z):U+(p-fe)}function C(k,R,U){var p=k.length,fe=R.length,z,o;if(p===0&&fe===0)return null;p2&&arguments[2]!==void 0?arguments[2]:!1,N=se?_<0&&f.current.left||_>0&&f.current.right:_<0&&f.current.top||_>0&&f.current.bottom;return $&&N?(clearTimeout(z.current),fe.current=!1):(!N||fe.current)&&o(),!fe.current&&N}};function v(k,R,U,p,fe,z,o){var f=(0,M.useRef)(0),se=(0,M.useRef)(null),_=(0,M.useRef)(null),$=(0,M.useRef)(!1),N=le(R,U,p,fe);function X(Le,He){if(s.Z.cancel(se.current),!N(!1,He)){var nt=Le;if(!nt._virtualHandled)nt._virtualHandled=!0;else return;f.current+=He,_.current=He,oe||nt.preventDefault(),se.current=(0,s.Z)(function(){var it=$.current?10:1;o(f.current*it,!1),f.current=0})}}function ue(Le,He){o(He,!0),oe||Le.preventDefault()}var c=(0,M.useRef)(null),y=(0,M.useRef)(null);function Ge(Le){if(k){s.Z.cancel(y.current),y.current=(0,s.Z)(function(){c.current=null},2);var He=Le.deltaX,nt=Le.deltaY,it=Le.shiftKey,et=He,w=nt;(c.current==="sx"||!c.current&&it&&nt&&!He)&&(et=nt,w=0,c.current="sx");var pe=Math.abs(et),Ze=Math.abs(w);c.current===null&&(c.current=z&&pe>Ze?"x":"y"),c.current==="y"?X(Le,w):ue(Le,et)}}function G(Le){k&&($.current=Le.detail===_.current)}return[Ge,G]}function je(k,R,U,p){var fe=M.useMemo(function(){return[new Map,[]]},[k,U.id,p]),z=(0,x.Z)(fe,2),o=z[0],f=z[1],se=function($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,X=o.get($),ue=o.get(N);if(X===void 0||ue===void 0)for(var c=k.length,y=f.length;y0&&arguments[0]!==void 0?arguments[0]:!1;$();var c=function(){var G=!1;f.current.forEach(function(Le,He){if(Le&&Le.offsetParent){var nt=Le.offsetHeight,it=getComputedStyle(Le),et=it.marginTop,w=it.marginBottom,pe=H(et),Ze=H(w),Ue=nt+pe+Ze;se.current.get(He)!==Ue&&(se.current.set(He,Ue),G=!0)}}),G&&o(function(Le){return Le+1})};if(ue)c();else{_.current+=1;var y=_.current;Promise.resolve().then(function(){y===_.current&&c()})}}function X(ue,c){var y=k(ue),Ge=f.current.get(y);c?(f.current.set(y,c),N()):f.current.delete(y),!Ge!=!c&&(c?R==null||R(ue):U==null||U(ue))}return(0,M.useEffect)(function(){return $},[]),[X,N,se.current,z]}var ce=14/15;function T(k,R,U){var p=(0,M.useRef)(!1),fe=(0,M.useRef)(0),z=(0,M.useRef)(0),o=(0,M.useRef)(null),f=(0,M.useRef)(null),se,_=function(ue){if(p.current){var c=Math.ceil(ue.touches[0].pageX),y=Math.ceil(ue.touches[0].pageY),Ge=fe.current-c,G=z.current-y,Le=Math.abs(Ge)>Math.abs(G);Le?fe.current=c:z.current=y;var He=U(Le,Le?Ge:G,!1,ue);He&&ue.preventDefault(),clearInterval(f.current),He&&(f.current=setInterval(function(){Le?Ge*=ce:G*=ce;var nt=Math.floor(Le?Ge:G);(!U(Le,nt,!0)||Math.abs(nt)<=.1)&&clearInterval(f.current)},16))}},$=function(){p.current=!1,se()},N=function(ue){se(),ue.touches.length===1&&!p.current&&(p.current=!0,fe.current=Math.ceil(ue.touches[0].pageX),z.current=Math.ceil(ue.touches[0].pageY),o.current=ue.target,o.current.addEventListener("touchmove",_,{passive:!1}),o.current.addEventListener("touchend",$,{passive:!0}))};se=function(){o.current&&(o.current.removeEventListener("touchmove",_),o.current.removeEventListener("touchend",$))},(0,V.Z)(function(){return k&&R.current.addEventListener("touchstart",N,{passive:!0}),function(){var X;(X=R.current)===null||X===void 0||X.removeEventListener("touchstart",N),se(),clearInterval(f.current)}},[k])}function ze(k){return Math.floor(Math.pow(k,.5))}function xe(k,R){var U="touches"in k?k.touches[0]:k;return U[R?"pageX":"pageY"]-window[R?"scrollX":"scrollY"]}function We(k,R,U){M.useEffect(function(){var p=R.current;if(k&&p){var fe=!1,z,o,f=function(){s.Z.cancel(z)},se=function X(){f(),z=(0,s.Z)(function(){U(o),X()})},_=function(){fe=!1,f()},$=function(ue){if(!(ue.target.draggable||ue.button!==0)){var c=ue;c._virtualHandled||(c._virtualHandled=!0,fe=!0)}},N=function(ue){if(fe){var c=xe(ue,!1),y=p.getBoundingClientRect(),Ge=y.top,G=y.bottom;if(c<=Ge){var Le=Ge-c;o=-ze(Le),se()}else if(c>=G){var He=c-G;o=ze(He),se()}else f()}};return p.addEventListener("mousedown",$),p.ownerDocument.addEventListener("mouseup",_),p.ownerDocument.addEventListener("mousemove",N),p.ownerDocument.addEventListener("dragend",_),function(){p.removeEventListener("mousedown",$),p.ownerDocument.removeEventListener("mouseup",_),p.ownerDocument.removeEventListener("mousemove",N),p.ownerDocument.removeEventListener("dragend",_),f()}}},[k])}var st=10;function at(k,R,U,p,fe,z,o,f){var se=M.useRef(),_=M.useState(null),$=(0,x.Z)(_,2),N=$[0],X=$[1];return(0,V.Z)(function(){if(N&&N.times=0;dt-=1){var Rt=fe(R[dt]),Vt=U.get(Rt);if(Vt===void 0){Le=!0;break}if(ct-=Vt,ct<=0)break}switch(it){case"top":nt=w-Ge;break;case"bottom":nt=pe-G+Ge;break;default:{var Ht=k.current.scrollTop,Xt=Ht+G;wXt&&(He="bottom")}}nt!==null&&o(nt),nt!==N.lastTop&&(Le=!0)}Le&&X((0,i.Z)((0,i.Z)({},N),{},{times:N.times+1,targetAlign:He,lastTop:nt}))}},[N,k.current]),function(ue){if(ue==null){f();return}if(s.Z.cancel(se.current),typeof ue=="number")o(ue);else if(ue&&(0,d.Z)(ue)==="object"){var c,y=ue.align;"index"in ue?c=ue.index:c=R.findIndex(function(Le){return fe(Le)===ue.key});var Ge=ue.offset,G=Ge===void 0?0:Ge;X({times:0,index:c,offset:G,originAlign:y})}}}var Ae=M.forwardRef(function(k,R){var U=k.prefixCls,p=k.rtl,fe=k.scrollOffset,z=k.scrollRange,o=k.onStartMove,f=k.onStopMove,se=k.onScroll,_=k.horizontal,$=k.spinSize,N=k.containerSize,X=k.style,ue=k.thumbStyle,c=k.showScrollBar,y=M.useState(!1),Ge=(0,x.Z)(y,2),G=Ge[0],Le=Ge[1],He=M.useState(null),nt=(0,x.Z)(He,2),it=nt[0],et=nt[1],w=M.useState(null),pe=(0,x.Z)(w,2),Ze=pe[0],Ue=pe[1],ot=!p,Tt=M.useRef(),ct=M.useRef(),dt=M.useState(c),Rt=(0,x.Z)(dt,2),Vt=Rt[0],Ht=Rt[1],Xt=M.useRef(),wt=function(){c===!0||c===!1||(clearTimeout(Xt.current),Ht(!0),Xt.current=setTimeout(function(){Ht(!1)},3e3))},Ut=z-N||0,yt=N-$||0,Bt=M.useMemo(function(){if(fe===0||Ut===0)return 0;var Dn=fe/Ut;return Dn*yt},[fe,Ut,yt]),Pt=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},kt=M.useRef({top:Bt,dragging:G,pageY:it,startTop:Ze});kt.current={top:Bt,dragging:G,pageY:it,startTop:Ze};var Wt=function(Mn){Le(!0),et(xe(Mn,_)),Ue(kt.current.top),o(),Mn.stopPropagation(),Mn.preventDefault()};M.useEffect(function(){var Dn=function(Pn){Pn.preventDefault()},Mn=Tt.current,tn=ct.current;return Mn.addEventListener("touchstart",Dn,{passive:!1}),tn.addEventListener("touchstart",Wt,{passive:!1}),function(){Mn.removeEventListener("touchstart",Dn),tn.removeEventListener("touchstart",Wt)}},[]);var pt=M.useRef();pt.current=Ut;var Lt=M.useRef();Lt.current=yt,M.useEffect(function(){if(G){var Dn,Mn=function(Pn){var bn=kt.current,Fn=bn.dragging,_n=bn.pageY,Jn=bn.startTop;s.Z.cancel(Dn);var Be=Tt.current.getBoundingClientRect(),Ie=N/(_?Be.width:Be.height);if(Fn){var I=(xe(Pn,_)-_n)*Ie,Y=Jn;!ot&&_?Y-=I:Y+=I;var be=pt.current,ye=Lt.current,g=ye?Y/ye:0,re=Math.ceil(g*be);re=Math.max(re,0),re=Math.min(re,be),Dn=(0,s.Z)(function(){se(re,_)})}},tn=function(){Le(!1),f()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",tn,{passive:!0}),window.addEventListener("touchend",tn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",tn),window.removeEventListener("touchend",tn),s.Z.cancel(Dn)}}},[G]),M.useEffect(function(){return wt(),function(){clearTimeout(Xt.current)}},[fe]),M.useImperativeHandle(R,function(){return{delayHidden:wt}});var ln="".concat(U,"-scrollbar"),rn={position:"absolute",visibility:Vt?null:"hidden"},xn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return _?(Object.assign(rn,{height:8,left:0,right:0,bottom:0}),Object.assign(xn,(0,L.Z)({height:"100%",width:$},ot?"left":"right",Bt))):(Object.assign(rn,(0,L.Z)({width:8,top:0,bottom:0},ot?"right":"left",0)),Object.assign(xn,{width:"100%",height:$,top:Bt})),M.createElement("div",{ref:Tt,className:Z()(ln,(0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ln,"-horizontal"),_),"".concat(ln,"-vertical"),!_),"".concat(ln,"-visible"),Vt)),style:(0,i.Z)((0,i.Z)({},rn),X),onMouseDown:Pt,onMouseMove:wt},M.createElement("div",{ref:ct,className:Z()("".concat(ln,"-thumb"),(0,L.Z)({},"".concat(ln,"-thumb-moving"),G)),style:(0,i.Z)((0,i.Z)({},xn),ue),onMouseDown:Wt}))}),tt=Ae,q=20;function Se(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=k/R*k;return isNaN(U)&&(U=0),U=Math.max(U,q),Math.floor(U)}var ge=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Qe=[],ie={overflowY:"auto",overflowAnchor:"none"};function qe(k,R){var U=k.prefixCls,p=U===void 0?"rc-virtual-list":U,fe=k.className,z=k.height,o=k.itemHeight,f=k.fullHeight,se=f===void 0?!0:f,_=k.style,$=k.data,N=k.children,X=k.itemKey,ue=k.virtual,c=k.direction,y=k.scrollWidth,Ge=k.component,G=Ge===void 0?"div":Ge,Le=k.onScroll,He=k.onVirtualScroll,nt=k.onVisibleChange,it=k.innerProps,et=k.extraRender,w=k.styles,pe=k.showScrollBar,Ze=pe===void 0?"optional":pe,Ue=(0,D.Z)(k,ge),ot=M.useCallback(function(_e){return typeof X=="function"?X(_e):_e==null?void 0:_e[X]},[X]),Tt=n(ot,null,null),ct=(0,x.Z)(Tt,4),dt=ct[0],Rt=ct[1],Vt=ct[2],Ht=ct[3],Xt=!!(ue!==!1&&z&&o),wt=M.useMemo(function(){return Object.values(Vt.maps).reduce(function(_e,mt){return _e+mt},0)},[Vt.id,Vt.maps]),Ut=Xt&&$&&(Math.max(o*$.length,wt)>z||!!y),yt=c==="rtl",Bt=Z()(p,(0,L.Z)({},"".concat(p,"-rtl"),yt),fe),Pt=$||Qe,kt=(0,M.useRef)(),Wt=(0,M.useRef)(),pt=(0,M.useRef)(),Lt=(0,M.useState)(0),ln=(0,x.Z)(Lt,2),rn=ln[0],xn=ln[1],Dn=(0,M.useState)(0),Mn=(0,x.Z)(Dn,2),tn=Mn[0],Nn=Mn[1],Pn=(0,M.useState)(!1),bn=(0,x.Z)(Pn,2),Fn=bn[0],_n=bn[1],Jn=function(){_n(!0)},Be=function(){_n(!1)},Ie={getKey:ot};function I(_e){xn(function(mt){var Kt;typeof _e=="function"?Kt=_e(mt):Kt=_e;var jt=ut(Kt);return kt.current.scrollTop=jt,jt})}var Y=(0,M.useRef)({start:0,end:Pt.length}),be=(0,M.useRef)(),ye=he(Pt,ot),g=(0,x.Z)(ye,1),re=g[0];be.current=re;var De=M.useMemo(function(){if(!Xt)return{scrollHeight:void 0,start:0,end:Pt.length-1,offset:void 0};if(!Ut){var _e;return{scrollHeight:((_e=Wt.current)===null||_e===void 0?void 0:_e.offsetHeight)||0,start:0,end:Pt.length-1,offset:void 0}}for(var mt=0,Kt,jt,qt,un=Pt.length,on=0;on=rn&&Kt===void 0&&(Kt=on,jt=mt),Bn>rn+z&&qt===void 0&&(qt=on),mt=Bn}return Kt===void 0&&(Kt=0,jt=0,qt=Math.ceil(z/o)),qt===void 0&&(qt=Pt.length-1),qt=Math.min(qt+1,Pt.length-1),{scrollHeight:mt,start:Kt,end:qt,offset:jt}},[Ut,Xt,rn,Pt,Ht,z]),u=De.scrollHeight,S=De.start,A=De.end,ve=De.offset;Y.current.start=S,Y.current.end=A,M.useLayoutEffect(function(){var _e=Vt.getRecord();if(_e.size===1){var mt=Array.from(_e.keys())[0],Kt=_e.get(mt),jt=Pt[S];if(jt&&Kt===void 0){var qt=ot(jt);if(qt===mt){var un=Vt.get(mt),on=un-o;I(function(en){return en+on})}}}Vt.resetRecord()},[u]);var j=M.useState({width:0,height:z}),O=(0,x.Z)(j,2),W=O[0],ee=O[1],ae=function(mt){ee({width:mt.offsetWidth,height:mt.offsetHeight})},b=(0,M.useRef)(),m=(0,M.useRef)(),B=M.useMemo(function(){return Se(W.width,y)},[W.width,y]),te=M.useMemo(function(){return Se(W.height,u)},[W.height,u]),we=u-z,Ne=(0,M.useRef)(we);Ne.current=we;function ut(_e){var mt=_e;return Number.isNaN(Ne.current)||(mt=Math.min(mt,Ne.current)),mt=Math.max(mt,0),mt}var ke=rn<=0,Q=rn>=we,Ce=tn<=0,Me=tn>=y,Ye=le(ke,Q,Ce,Me),ht=function(){return{x:yt?-tn:tn,y:rn}},ft=(0,M.useRef)(ht()),Ct=(0,r.zX)(function(_e){if(He){var mt=(0,i.Z)((0,i.Z)({},ht()),_e);(ft.current.x!==mt.x||ft.current.y!==mt.y)&&(He(mt),ft.current=mt)}});function It(_e,mt){var Kt=_e;mt?((0,P.flushSync)(function(){Nn(Kt)}),Ct()):I(Kt)}function Dt(_e){var mt=_e.currentTarget.scrollTop;mt!==rn&&I(mt),Le==null||Le(_e),Ct()}var Mt=function(mt){var Kt=mt,jt=y?y-W.width:0;return Kt=Math.max(Kt,0),Kt=Math.min(Kt,jt),Kt},$t=(0,r.zX)(function(_e,mt){mt?((0,P.flushSync)(function(){Nn(function(Kt){var jt=Kt+(yt?-_e:_e);return Mt(jt)})}),Ct()):I(function(Kt){var jt=Kt+_e;return jt})}),Et=v(Xt,ke,Q,Ce,Me,!!y,$t),Jt=(0,x.Z)(Et,2),At=Jt[0],sn=Jt[1];T(Xt,kt,function(_e,mt,Kt,jt){var qt=jt;return Ye(_e,mt,Kt)?!1:!qt||!qt._virtualHandled?(qt&&(qt._virtualHandled=!0),At({preventDefault:function(){},deltaX:_e?mt:0,deltaY:_e?0:mt}),!0):!1}),We(Ut,kt,function(_e){I(function(mt){return mt+_e})}),(0,V.Z)(function(){function _e(Kt){var jt=ke&&Kt.detail<0,qt=Q&&Kt.detail>0;Xt&&!jt&&!qt&&Kt.preventDefault()}var mt=kt.current;return mt.addEventListener("wheel",At,{passive:!1}),mt.addEventListener("DOMMouseScroll",sn,{passive:!0}),mt.addEventListener("MozMousePixelScroll",_e,{passive:!1}),function(){mt.removeEventListener("wheel",At),mt.removeEventListener("DOMMouseScroll",sn),mt.removeEventListener("MozMousePixelScroll",_e)}},[Xt,ke,Q]),(0,V.Z)(function(){if(y){var _e=Mt(tn);Nn(_e),Ct({x:_e})}},[W.width,y]);var Gt=function(){var mt,Kt;(mt=b.current)===null||mt===void 0||mt.delayHidden(),(Kt=m.current)===null||Kt===void 0||Kt.delayHidden()},Yt=at(kt,Pt,Vt,o,ot,function(){return Rt(!0)},I,Gt);M.useImperativeHandle(R,function(){return{nativeElement:pt.current,getScrollInfo:ht,scrollTo:function(mt){function Kt(jt){return jt&&(0,d.Z)(jt)==="object"&&("left"in jt||"top"in jt)}Kt(mt)?(mt.left!==void 0&&Nn(Mt(mt.left)),Yt(mt.top)):Yt(mt)}}}),(0,V.Z)(function(){if(nt){var _e=Pt.slice(S,A+1);nt(_e,Pt)}},[S,A,Pt]);var nn=je(Pt,ot,Vt,o),fn=et==null?void 0:et({start:S,end:A,virtual:Ut,offsetX:tn,offsetY:ve,rtl:yt,getSize:nn}),Zt=Pe(Pt,S,A,y,tn,dt,N,Ie),Qt=null;z&&(Qt=(0,i.Z)((0,L.Z)({},se?"height":"maxHeight",z),ie),Xt&&(Qt.overflowY="hidden",y&&(Qt.overflowX="hidden"),Fn&&(Qt.pointerEvents="none")));var Ft={};return yt&&(Ft.dir="rtl"),M.createElement("div",(0,e.Z)({ref:pt,style:(0,i.Z)((0,i.Z)({},_),{},{position:"relative"}),className:Bt},Ft,Ue),M.createElement(K.Z,{onResize:ae},M.createElement(G,{className:"".concat(p,"-holder"),style:Qt,ref:kt,onScroll:Dt,onMouseEnter:Gt},M.createElement(lt,{prefixCls:p,height:u,offsetX:tn,offsetY:ve,scrollWidth:y,onInnerResize:Rt,ref:Wt,innerProps:it,rtl:yt,extra:fn},Zt))),Ut&&u>z&&M.createElement(tt,{ref:b,prefixCls:p,scrollOffset:rn,scrollRange:u,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:te,containerSize:W.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb,showScrollBar:Ze}),Ut&&y>W.width&&M.createElement(tt,{ref:m,prefixCls:p,scrollOffset:tn,scrollRange:y,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:B,containerSize:W.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb,showScrollBar:Ze}))}var Ke=M.forwardRef(qe);Ke.displayName="List";var bt=Ke,Te=bt},76374:function(an,Je,t){var e=function(){if(typeof Map!="undefined")return Map;function de(H,n){var ce=-1;return H.some(function(T,ze){return T[0]===n?(ce=ze,!0):!1}),ce}return function(){function H(){this.__entries__=[]}return Object.defineProperty(H.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),H.prototype.get=function(n){var ce=de(this.__entries__,n),T=this.__entries__[ce];return T&&T[1]},H.prototype.set=function(n,ce){var T=de(this.__entries__,n);~T?this.__entries__[T][1]=ce:this.__entries__.push([n,ce])},H.prototype.delete=function(n){var ce=this.__entries__,T=de(ce,n);~T&&ce.splice(T,1)},H.prototype.has=function(n){return!!~de(this.__entries__,n)},H.prototype.clear=function(){this.__entries__.splice(0)},H.prototype.forEach=function(n,ce){ce===void 0&&(ce=null);for(var T=0,ze=this.__entries__;T0},de.prototype.connect_=function(){!d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),K?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},de.prototype.disconnect_=function(){!d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},de.prototype.onTransitionEnd_=function(H){var n=H.propertyName,ce=n===void 0?"":n,T=Z.some(function(ze){return!!~ce.indexOf(ze)});T&&this.refresh()},de.getInstance=function(){return this.instance_||(this.instance_=new de),this.instance_},de.instance_=null,de}(),V=function(de,H){for(var n=0,ce=Object.keys(H);n0},de}(),Oe=typeof WeakMap!="undefined"?new WeakMap:new e,ne=function(){function de(H){if(!(this instanceof de))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=r.getInstance(),ce=new je(H,n,this);Oe.set(this,ce)}return de}();["observe","unobserve","disconnect"].forEach(function(de){ne.prototype[de]=function(){var H;return(H=Oe.get(this))[de].apply(H,arguments)}});var Re=function(){return typeof i.ResizeObserver!="undefined"?i.ResizeObserver:ne}();Je.Z=Re},51941:function(an){an.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABtCAYAAACoYyM7AAAgAElEQVR4Xmy9aY+dZ5Ildu5+35s7k0tmcifFRRtLovYqlbYqVVVX9/R0owEb408GZgD/AP8EfzI8gA1/M+AP88GAYbQNT89MV6lLJVWV9l2iSIrimjuXZO6Zd9+McyLizSvBrCJEMu99l+eJJ5YTJyIyLz977NR/+2//3W//7h/+q/9m377JJ3qdbr7b6yKTyaCfyaLf7yGDLjL9DPrZLIA+MugD4J8zAHpAv49+n3/uA9ksMvoZ/9qzj/Ab/b4+l8ny2/bzDL+rz2XBr+u6/Z7uYPfP6DvodoFsBplszu7T4zP19B0+R9afq9/r68l03V6f/7f78bvps3aRzeTQz+SAflfPleF76ud9XVsPnc37u/L9uqjt1tFutZHP5ZDL5XTdfCGPTD6nz+t/vBcfgNfJ2JPYb7sP/5jpZwHe25/HPsYfxBrZOtga2Xf0Ulowrgefx9ctm/M7+0e0hhn7CN8ow33xNdKNtFv+Ky4aT8m7akHtOflZ7RnX2vaI381m7b103X4H2Sw/nN24c+f2//t//If//X/7H/7H/3Al87/8+//+3//X/+a/e/PQ1NHzvVa92O93/eXtgSRgvFy2C24aX4ybqEXSbSgA3KCsvVmGQpXRulEQ9SL9Hnpdex1+l9fk9/K5LDrdLnq9HrLZnD+gLQrXj4IkQaSs5nhBoNVqA90+cvkcuv0uup0uSqWyrt3ptJHNcHOz+ioXpdfj4obA95HNmFDZd9t6Hgprj4LLjeznKEN270wW+Zy9Q3W3ik7brp/L5ZEr5vUMEplOD5lcTgLX7XX0zJJzrpytvn7ze3bgMnou/muOz5rjembQbbdNyLP8eU/rTcHlNUz4uTZcKxNWvqf+y3tkM/bumQw6Ha5pF5lcFr1OR9fWs8Z+co9c6Hkv7Vg2a4fQ5Ft73+N1+tx/ClRfa5TndTI5PR8yHeSyGeQKJXQylYVrlz/5v/7X//l/+j8zc7Mf3D1y9OKhbC+Tbdd39WUKhASSC9btoo+OnbaMvZhu0uPp6yGXzSObLaDvQqUXt+OBfD4vLdDpdHQdE6oMOt0OspmsTnynR4Hr6KW06JmMCbI2hifarpXLFfTnZrOlhc3lTdtRqIrFolaiy+tKy5gghK6gsPCZ+mghm+8hl6Fgd1xIcsjk4plzyPQKUlZ8hVw+r02lkO/u7qLdakrwcrkMSuWyfsYP8hl4W75Pn+vkekZrEUdfJ4Uboic0oeE9eJj4Lv0+Ou2OtG+q1TPUilm9lwQjFwfX1ojrw3fpUZB5SKk1eWg7Ha05709BkMzxULoiyOYKEgYTViDnkiQB4r5kMzy36Ou7JvxSDl3ek4Jrwiytle3pubLF0X6tVrv353f+458yzfqtej4zXm63TK3GqeDCSc3JFJq24bXsgtRCNC99nTSqzW6PWsBMn2k4eykuNB+mSyHxBZXxpIbgAspKUlj1j7ouF4yvQoHltvD70oZcJGo5f0tpoD5PblanktfhE/C5KLgUVHveUNkt9DMtZCW8XCTZCf1cJlQHo6DNp/YwU9LTPeu1BnarVRQKRZRKRf2cG2VXt8OmtZBQdLRRuXxBP6MAcaPN/JtW4jrxEOn6MnNh5+wddXglhHIGtMY6K7LQXKO2/o335DvaIbc1TtcpXWB7P60Xz5xbGh70WEM+IzW2PYY9D9cxzLq9mLkzZlWyUuy8RqdZR6GYR7ZYwt3526sUqlqmW06quw39QNqjYxKp5ZaU511iKb48kXnk837i+n00Wy29dj5XkEmRf0D91ulK6vWg0kymbWINqXpDSGW+eHr5onxYqnmevixNCtW5bYgWmRved9PSo/BlkM3TB/JF7/ZkCrlIvBlPcjabl8bt9lrIFvK6rnwwLZxthrRtxkyUhLTfkzbj8zYadWxvb8vUJklZZptCT5MncyszGv6QCXqBWo4HrNNBm9eR8PJ9aNKzKBSLaHfa0tQUUK4F/2uaimtvLkO+UNRahIDykPGd252ONp6CzsPf6dBy2GHlIeZe6rl0cvt2UKQE+ui2O+h0TcvwZt1uz57Btai0nPubcgH71GB8KLo2tm/9HoW5h1ajjnwhi1ypgKXF2Xqmun29ViwOJ+1mx06cX5QPQ8Ey28+rmhRLUyCDIk2D/Jo+Ws26Xoov4TJjflS/jzw3nCfABUJaLsyCDoTZc753u83T3JNvIM3IF5Cm0Vk2cygBdV9LPhe/Yv4H/QYKBzecpsTMbbjE5l9xhfmcXHzewwTc3jw0gvSITjO1FH/3Ua3uotFsolQo+KnPIs8/hw8nrWrXku/gWonXoRDwgFmQYwGI+Y0eCMkHtD/TNOm/NO1a675MHLUehaLRbGBzYx1JuYJykvh6m4mSJQiHXFYkJxNu70CH2w4fhbbbakmQzJpI/Zimly/J5zMNq/3yIIRKQI6XC1e/S9+Kr9pFvmS+3+LCbD2zs3arVq4MJTIZbfordmEJQsYkmHpO1x9Qf3G6e9pf0ypcfL4YRYAPrpPiPhbtNX9LYGiw5Sdl0aXwmCrTJsvXchNmfj/VvplcCbSiur42RuLm5o+mjBtIwdJiuF9nghU+lT+fRzTUhubjmFbVSeVvvgfNtjbVNn9nZ0vapuibS+1NTSQfsEOnmL4lHWNqyDjJFBI7MFxHbp7e3KM/rhG1EJ+53WxJo1EIJOTdjt6DvluPAYJORxZ3FxawtHAX42PjOHriBJJyGf1MD3B/SmtP89ntI9vPotPvot3vygrROaDq0Lo1Wsjy/i5kUmfy27jv9DF7Opx8YDOpZj0o4BQqCR2DGgWofZQrFXT6wNzN6/XM7upcrVypJLTRjD4osXLG6BvJEaZpM1PIk8OH4ILLqdSG0jnlqSi69bEHUuSiDe6j1qih02kp2uMWtrRIGRQLBWk6EyrzTWiWpHoVXVg0E/4AHVZuvk5YNou8q/JSqWT3dFPNxQoTzH+UA+2+U9he/pWmLfwQHQiZ0YI2RQLiMAi/T0e92WigUChoNfLFIkrFkgUeirCoKfPmGLsgW0RJGbLQn/8nLFMolLS+zWZT3+Pmra2ta3OGh4dQLBbQ77SlgUfHxtCpt3T/RquO5dt3sHF/E8PDo5g+cQz79u9HeaiEfj6HFg89rUWvi269iermDprtJsqjwxgaHUG+VLT95aN0OwDdE7kSdsjlcvh66+/uqIc1ceBE7oS+QdhF/iFQLJfR6WexOHujntldn6sllUpCH0RwQhoymf2lvTdxdL/BtYNFBYQF3G+RVXTz5CEwr8XT3Wq3kMnyhJh5zRWK5mdRONzO84VkMlyQ9iIgi8wUPjM4kJlsodNqoliuaHMpRFwMCaF/Tv6I3sVMpJlyCh6FNcJ6c25pCt0ds+tIQ9r7657dLra2t9FutVAuJ4anZSwCNJOzt2xp9OvPTL/Ons0cbEXXfQvvN9bXcf/efWnE3Z1dVKs1DI8MYXSkIjNbr1Zl5oaTClZXHmJzcw29dheNnQbKhTKyxQJKQxXsnzqIRqeNWqeFyvCwTPz25pa+TxNYHhqSIB09egz7JiZ1YLJFRngWTHH92oR26M+6qYuXMk/OAzSPTCVGVF6uqejbFYoFZHIFzN26SaFaqBVL+aRRrxmWIfNkGkgnS6F94FLmdQirkoNnvo18k56pZwonP0J/g0vYarS0ScWkiIL7KVrgrvlJKRzACKndNhXr4a+FsGaG7DkowGbyaKplot0/khqXZJjpTaMt99+krXgPXcswHYKicmwZUQl0NVOp364tQ9hrtRp2dnZQLpf1zDzFvGYhb8GNRXUmoBZlmf8SkWazVkWj0ZS221ndJmSrZ7x3/57Wa//+/Wi0WnLcy4U8ioUctje3UdvZRiGXQaveQr1Wl7CBPn83g1a3g3xSRHmkgk6vj8rEOMYmRtFst9HsdlGpJOh3eoax1RuY2n8Ak2PjWvteKYvMaBlDQ8MKulqtJnIEhaWhOntOvrsvAS1YkG4RZiZjgUijziCvgFyxjDs3rtOnmq+VSoWk1WpY5KHTbCbDHDbHYLlIKe5iKLSBdobTMHIyB9xUncWGpqkoFMVSEYVCgIwmrHLk5UOYr0GgTiZDQmtRkISc/+4Qg+E2XbRaLceRCkLBA32PZ5QZks9kTig1lcEDpqnkGHu4Pqgd+UxhAgyAtPev1+ugYFGIGLUFXBKOup7ZtRvNiTRAoSCtSi10/95d7GzvIMcz2YRMmqCDfFYbOzI6og1q0z/rtVDMZoXgN2o1uSDV7Zo0GyOtHKOuVgbJSILxA/tRGq6g2euhPFzB0DB9mz66OfMvC/RxO11UN7ew/XAdlUIRw0PDqGW72ERDWNvhwzM4ePAQhoeGtF9xYMK3So1XQEJcF+5xrpCCrYJXslnM37lTz+yuzdVK5VIiXCfUm2MuXGCdeNNJrgY9haLUiZtIOWuM/MzxdYxf/2WYSxtMJzXroWhEkBJaql3fhADhwtylpixQcX8+mrCIXPhZbjR/0TeR/nRtodPlmjb8M/1MWJgLjEeSFhSYueM7GyofUWYW9UZDWoaHgAcu/hvAoATTMTk+g6JLQDDE/OwslpeXtYH7xvYh6RUxPzuHra1NHDt+DEePHtX9lC3g/btNg1bol2ayoM+4sb6GhbkFrK6sINfPItvLYd/kPhw5cQwjB/aj3mmh0WnK51Mk51an7HDE5uoa5m7elgN/7NhRYKSIuzsPsbW1jRPHT+CJJ5/E2OioBCo0LdfB8Cvzhc2ntgifwk+YJlB93reXyWBp9k49U9tYqBXLRQlVOJZcTPpK4USGxuANwzQIIXeNQgMb6YfQVeaXEOU24I/oK/eIG8LvSiMQ/SVaLDiA0ZOH9YruGNCYsISQ8fn0u8fIxLQQfQU6tgYIuqPpG2ym2SI55QsFkhoW0yd25AcmTCad3NCMoYn4eWqratXTNEL+c9o8AzsjjDH/zVJOFkQI9Oz3sbmxgbv37gqQzSOPbLOPZr2FneouSsUi9k2Mo5xUkGUU2GgIlWcEWN3eQXO3JuFmULG7vY3d7R3kkUOv1UUpqWDfoQPIlUsyd7lyAZWRYcsCdLpI6P/1ga2dbUEirXZHB7BcLqE4kqCbJ2wAHDp0CAcP7E/zffkiAWBL8XDvDK7gXprJFw7GPcsVUyC6UCyhm8lhef52PVNdn6uVKklCW06fJmymnNcBv8LwS08Uu+9iGoE22B4uNQXua3FxKdF09nN5+i9mEuUXuVkR/iJ8Cei1O3KGlTzmxtH585wY/01QAv0BAq7NppxQhvUy1S58DqaZfyXJdrPk9wxhlmp3U6+gwD9rWJNpY72/pydajYbMH+8lP9DTUAEY/v99n2uY8wiXGot+S6vRRH2rjqRYRqvdxfLdJWnO0ZERi7Z6fRTKhCty2NnYQKNalyOt1EvTIvEs/dd2X4ciXykjGRtGrdVEtlzE+P5JaevWdhWlfEGHdXN3B/V2CwdnplAZ4316qFTKGB5OUE7KArMV+UdSzGEcuRI8GBHFyr8yXEsBVobRLqGoNgqlEpArY/7O94QUZmu5UiEhqMbTFU55GhF57mfQQUtDfY9o2m1qHuaQDMCzlIJFbdJKva4WSSCb6AiedqDdL5TstBMRbjbMYWRuqpA37MgxEzOtxgTgNZpcRGoE1y7Cd1wweE+ZbfcDDU0mkm1aU1rIoZFUwMMPEsvCDpDQ4mZTf6awb25uSqCGhobk0/Ga1FiBqqdy7JGf4Bdq434f9VotzSd2mm0JEjMR9+7dR7NZlwZmGmhyfB8qQ0MKdLjRvEYxn8P62jq2t7Yl2LWdGirlBOVSWdHfoZkpdJhKarUwNDyk9W5s72Jna0eHszIypPWcmJzEyMS45RoZKNGcMWHd7cm0F5OyziSFRFG6MzJMkzt7w/FFywxYRNtqtpErFpErJJi/da2e2V6dlflr0lH38FcJW1ftFoH5QgcdxdWhwTjmtwisTikvqZ6QUNEWF6Sp7Cjkign62Tw2traw8nAV29s7OLhvHEdmpg1T6kGmYW52DpUkwdTMDIpMA2QhwW/3emjUmW8qGtYVppiaQSwIJqmD1mKaKrRumLo0teKnMTST4VamqSyZbr9q1Wp6zwguBLY6O0G74aYwNB+voag0k0G70TSfL5cx0FR5s54lyPs97GxvywcdH5uQWZG/whgxb24ILQlN3+zsLO7fv4+xsTGcPH0KExPjOoSCdhw64Tvy0G3v7Oq7/AzxP16fa8Z9JiSje0uTGyyUZhHkVxluR2ug4GsATI7MgOH+5uIQ32OkuzB7i476fK08VE4ITgrsEyrumiay3AHmpbC9JwWdWWW4jzm5ejB37KlVRG1pd5DPWkJaLn2hBLrU316+iivffYf19Q08+fhj+PlPf4pkeFgn5burV/DFZ5/j+PFjeOb55xRK5zLmr9SbTWkOnmZqHDr4aUphgCVhissiydBIAaSGbxbPq0gx8Kpez2ksRmnhqeWmU2vZpmSlsQKNju+GQAdgKx/VtX8KhHpCV7wx+pj5AujD6Oce6PT7eTntvC99lUGf9sGDB3hw/77AxuMnjgsspaWI4EB+MCPuLFAslQVS89qF8GWFRZnBEE3Jk9GK5n0dlV9lzrIfNB4Hv13BRIaTqbvAs7gu5N/NE6eqbS/VCoVcIi5PuCEDfkXY0/Sku5aSQ+pSbjwcT4T6pupnCv97SjNkSOgiM4P2uwc0213cvDOLxaVlbG/vYmZ6Chd/cgH7Dh6UKr701Ze4deMGpmcO47kXnkdlKEGvbWE4/Snd3/EsItvGrjBoQSG9R4ABMSiqEfBq+ToleQlLOMakn7vwcS1o1iRwjuzTUacJoxDzZ4zIUg0YiDqxOYcx+LmAMITOO+2HWBD5XIyIjclBhJ2sh4yEVsnmTA7tlqVsypUhdNstM4V0wJHBztYWWp0ORkdHJeQy6W6uKNCEIhSpuRYXHpjPe060nZo1CoHewXde0I0S1NQ6hH/a6LSbnrZhKqtjUS9NH0FxpabygizoU/UyRSzNEVHfWKgVirlETqvn1xTL+akVVhPOgrMB5dt4opH2mc6biG0poOF+L51r9288ZymGAJH3Wr2JlYdrkm76TrXaLqYPHsCh6WmZmfvLy0pNUDiOnzyJ0ZEhdDpNnSCivzJ/ND1Mm/izGlnNM/GeYgkaR0AjAiQdKjCE3QXQKYf6O82/C5Wen+a20ZBQhcmLCHBwnQKrCRjDaEH2SwAuI9psAYVSRQJXr1V17Uq5jBwPBrpy5LvNFvL5grQUMacOhZ9prUoFmWwJvU4DtequhKyUDCnf2G7UJaDcdOF47RaKxRLyIjD2dbAjnVQslbRmPLxcC2o0biiDET4XtSAxtn6vg17brIIia3cvpOmMcCZnncwU3reXK3uaZm2+li/kknbHHE9lKYICaCHVHjgZuI8cOPOzqF5p4gq5kqIIIeo0cXmyBTrotCy/ViKthm6HeEhFCVWj1UZlZETSXt/dRr/XRrmU6AH5gk13trk5RJVF0/AIslmvp6F9mJtBRF34ivtFXGSeaP4SvOGQQ6RU+L2UqOamT8xSUWg6Wo96o46trS09W5IkWnxeU844tZLjO9JKA9oqHH6Cirwv12hnt4bqbl2A8NBQxdaR4Xuvr3CfGpfagm7BysqKtDXvU6vuoFAsY3L/ASLFePjgvmACovH0f4icM6/K646OjevQ7ezuYPXhqrTa2Pi41oCYW71eQ7FQxMjIqA5oo1bF2OSk3qlZraFao6O/qYMwNjGBssy+vDx3Y4Ceor+u/EUKYqZQxJ3r3xNRn62VSqWk3aHUDoTmgyG2m5nQZoHhUAKVh+t0kc8WUwxKm0RAst9Ds0UcqoMyoz/5dUxflND21Fy+WDbCG2W53USn0dQpCWCUmocvzUilSCJYzvwnqnjeg2o9YAI7A4ZNBVNBuBORe7EO9gDPwdwevyeNM0A8FALv7AIKoqKuWs2iMferxAx1oZJGjAMojpYTEQcYEtQ+D+4/wJ//9B52t6t49bVXcfKR07h1/QauXr0qlP+Fl17E9NEj0oqffPghOt02Xvzpz/S9jz/6UNrn5Vdew8zMQXz28Se4euUKzj/6KJ594QVsbW7gu6tXsW//NJ74yXNoVtfx0Yd/weLiEl559VWcOnMe1d0tfPT++9hc38Arr/9CCelPPngfDx7cwyPnzuHU6dNC8a98ewn37y3j6LGjePqZZzA8PCKNFBkG+WKO1ndaHRRIXCwUMX/nVj2z+fBObXiokvT6dOjM1AVnn38WJ9pTNkqHBLoeNFMlUy0LT9uqKIoLKm2Wl9DRNotXxQsrbUJ2QlakPApNr09+FpHunoSqmwHKxD0cOTf1ScEwsJOnnr+1qQPpJMt7W2FEihsNJIjl75gEpVFrGlT4IVI0Gyiymy8CpQz3CSNQiHhPBQkDfpfcAQdKf4zpUZjlixQL+O7yFbz1uz+iWW/izd/8BufOncdnn32Gq1cui/T32huv4fGnLmJraw3v/v53GB0fx6u//DWWF2fxl3ffxdj4GF557Q0RBT/4y59x+dtv8fgTT+KV11/H6upDfPXFlzKJT118DsVcH3/4/e8xv7SAv/rt3+DxC0/j/tI83v6Xt7C2uoZfvPkrCdE7f/yDhPrwzAxeee11JJUKPv/0I8zdvoVz58/h1Td4v4q0Weyv8vVCBeyQC8nPFbA8P1fP7KzO1iojQ0mv1wYlzrjHJhgid/mpkynx6I4XYj5KLAWlSDzrT5Sb20a5kZnLC7DjtVMGqDjUfV2L/sLOzi62tneQlErCqCiYSaWMSmVICVw64VTv5TLRW9JeDAmnUyn/ycN2Sy8YkS/oybEAMnMRhAQp0DErY4v5L7+eZQAYaOSVKiF4W2sQQ2ulOT9qK/kmBBrFDrWsQGirlEfmriaRbEZ5D+6v4NJXl7G7W8Njjz+mvNvNm7fFVqCwnjl/HkePH0a328YXn3yCaq2On/78FeF8c3fuoDJUwZFjJ6SpF+dmsba2iqkjR3Ho4EHlJ7c2NrC+saFNnpycxOLCAjY2NlAsl3Dm7DmZ+du3bssnO3X6JA4fOYZbN29iZXUFBycPyH9lcn32zk3cXV6SeXz64jMYHqrIYtAtMJq5rZwoyJSDQlFpmuU55v7W52vJcCWhNum2rZghzFsIVZxwSqZB9sZRFydQLAKaFYcLnONkB9+Sv1wgocs0KZ5E5Lfpi9Xqddl3Yi213YY0zfBwRaaUVBAuzujoGJJyCZkMWQYsojBfR/CAsxRS2owIgp4scmxljw6zVw0k/8qxrMClQrtFBBeah5EXWZ9GmzaYgs9FxsIgnhWJ6CAQhs/mStDpN1k060za9lCulMUxa+jgmRYllYf+UrFUkHZkioeHamhkWEQ+UZHcQeZmcA0FSTA65AFLEgl/dWcnZVBwrdfW1nQIhkdHzf9DV/emxm3UmZ3IoFSpmI9EijNTYa2W3pl0GkI69J8jGBH7jaV1zvAgR6yXyWHxzo16ZmedJL0kYfQQKHpKP/HQOwoSIpLaY4Ya8GVUWWo4UiEY5XjS2SF+C/+tJEsLnObkrMxJgGQvYwlVJlDLRTQbllRlhBPJYwoV6TQSVsIUYnpafjAYi6I/q3AisDTTQoEhRf4qsgKD5s5yiT8ES4PtQOeW0ah8KplmpyU7WzQc/YiMZP4HeFrcIPoVDFJo5ohPMddISgyNCNFsi5S5qfRvDaPiM/EAqWIlk0Gz2VBaLJcv+7pkJYAdEv5oZsmgcP+Rq81QP9wY08A5oev9bgutRk0/U5qGwQwhCK984veCPiwWaMfZtAREneVKRcLggs+nNE22iPmb1+ioG/Oz3TRCFwUiUPTApuKky5wMpDP0cyaMVUJEzMNSIbE5lqZhVEOEPoN80cykpNsjMub3TP0V0Fck2ZEqjZyT8CclNUWUde634Uw0T8yaS7MEDdbJfsHaTC2bA3uqAKIf5o55IOx7BQeG06QayJ1+4lSivhQKqaMeUWdKwY2aSD6Pp4YCXOXCGwDqVG0vR2O4TgedUVewRqnZkemJoSCBGLiWMQf4+Hm5AQFtBPQR78uDLLSfvo4f4r1Agu4qtSUBVqsJ1HpxTfiMvp4SOM+m6OcDbBUeCBK/mfvjHkvDZotYuEU+1epcrTJcSQSwOTNSTITAWJz5KL6Sn35Dma3iQ/8UFasqLDVtZPz5qPnjy9PPsrydDKcDiyLBEb+h+qTWoxrPMcnMRWvLx7IUQxRoGhshGBPiwQshtufjZg5CC3qWlGRo0Se1iswv7+2HIEh2WninvQiLcUxud2dHpiDyjWJ9DuBQcZAiCR2cKrf2dtgc22MaRkIbkIlrWx1Q+bGkW+/VXjKvJwwqx0iXh9YKDpSWcYpLCIwEKHKc/nwhYHbPHnqq3ySH3QTPiamq7ozDIEpSZFBc4/LZCFNQY7apuYjIy/z1USTMgiwW7tysZ7Yf0lFPEjq+8hlol4MiwoeiSibsnwJeVolrla8OHCpn6M66hJDkO/pQOZk0+kFR1RIhPp+murMrp7IoE8dNNj9HIbs7uEPDwxgbHXOmskVmBBIDuKRwMFIMxkHgRMGY4HMbUGICFWbPfL2BYknXYKGhAtQMM0baCQFQChxPPxH1IDLKpIpzZIIqoXS6jSi6XpVtKSUeSGNYhkWIZ5ZxZxUQCwtcK3OtpeUE05hWpvmUD+vFEBah8/7GGjHIhRRuLxhxSMU1gFGbVfLfQ8FzixT4qBcwTn/fqC9Bd8palVLwyAxM9pJ/AqjlRBz1pTnm/tYXamV31EU78WKGdFNi8b1mTfV1NGtOlZB6pZruRiUryVxm7rjQTMdQCHQYvc7OKkz6YkLu7tKhLIDFrKqR89NDweKLUiMoay+wlRtm1xe6rdwYfRSnO7tPFKS/SNW4jk0JZyHYkf9LMaUowAiuvJ9KLqw0FXN/hBKc5chnpKCEFlLuzDWlgGQnAwa3ikxTK6hlVsFwMXPmhXl7WwHq/R46TDnRdyrkLQpFCJwAACAASURBVDqlRvBKGesFYQyIoB6FaVKPBz6TMzjlWDsIzA8Hq4Mmq0cfVS0JeCj28qP8nNaf5XdE093MGjjuulcFKmwRYJqxUC6j288Zol7dXKoVysWEtXuMHvhLWoD1cVSzwfAM8+e5PZqQCNWpUhUJ0uFz4ps46l1qP/oHfRRV4OBF+nQ+vREGfXc7yRRMr5IhoNkxyjAz+nbC+LOokgFqOzva3EqlYkBpwB2DHDCHD3jilItzynIIm13WzVJwxbz0y/EJr9nrgAg+ozFqqOCokyEhX8gjQv67oqbIHQZpT9VHbTP/pFi3rJaSyDejOWkD92WLZeYBoRSKyIsOtKrsShReS4kR57N8YAGFcgm9lqVhDGYxGlL4xFZlzkR+0awLaYBMwTD3SGhHVgcoDw/rHqQsR6UUBdco4ZZkNx+MtplFMVaexp+TZNjL5nHz2hVSX+Zq5TIR9aYcX2kh0WkjgvPK1uBHOXKsvBsXiyGoyrWMs66CTWoQmrQOK2ks9LeK5qiWMXoK4QXW0Vm3FHvAwL5UjkWmovOKZEJJDvPNb1SrWlCG9XEQ0ohOBQ6e1wswNgBPN0dp8OGOqCsD4+eHMPqCc01o+uish6POz/H9ef98uSzNWatVdbgYthPpJ4bEQzUyMiIcju+/tb2Lbi+DsYlJbG9tYu3BfRw+cgSj42N6f2rDne0NJEMJRsf3S6MvL8xLqI8cPaJiUgKnlcoIkspQivRzbcaZYC4U8WDlATY3NnHw0EFMHpwSir65tqEDOL7/oPyzpflbWFtdwSNnzqA8NIzVB/dQKidC7KlI1jfWsbuzjZmjx0QzbpNXlhIhneEAprJMXlRWlsth7vZt86kY/clP8TY1qjZRQalFgoFox8lWBOXOfDiGkiUqEq+yCfBczE9WsHqHFNt4E7CIKMw3Cz5WlEw4R0s8dut0wnJrvpl4SI1GyhhQupL+0QApT1opItFgG3iAEBSPH7BABxz8MIcyZc7GoJbihgfxLpB1UnrZQ+Dzjz7A559/hmPHT+IXv/6tGBV/fvcd3L13D6dPncaLL74o+szX31yS4L36i18Iovjs449w9uwZnHvsJ6r0/uzjDzE3exsv/fznOH32aWxvPsSH77+j4tGZmcN4590/ig37xuu/xOETx/H151/gyy8/x76JfXjtjV8I0/v4gw+wuLQo3vmFp5/Gje+v4YvPPsPwyAhefeNN7Jucxp/e+id8/e03+PVf/RaPX7iAy199iWvXvhMF+cknL8iH/f7aFRw5dhSPX/iJ3keCJU6dGdssk8ld0mT60rrdbA5LBD9p/kqlcmKl4nTuGB1ZdTJ/GVxAubLGGUoWe/WudX3Z62TiyKAcdSVPC5amocZRAjoKJVT1HBz1vdo7RZ1Ruq7IzwpKRRZzJFfmxbuahLagxhJQ6xzqiNgCUU/D4ShOVWcZiyD5GcuhewXMQFrHDhP95j62d3ZkjlMqsbhcObEviai//dbv8fXXX+PYiVP4q7/+O/mAn37yMe7fu4eZmRm88NJLmJ+bw8cffSRQ8l///d+L2Pand/6ImSOH8fyLL6NZq+Evf/ojbt64gedfeAHP/fQ1bGw8xHvv/hFTh6YwMTGB3/3un8VgeP31N3H2/Hl88803+O7yt0K8X371DYyNjeOdt/8FGxvr+Pkrr2BqegbvvP1HfPnll8pK/PXf/A2euPAU3v2Xt/DFl1/i6eeew6uvvYJ7S8v44L33td8/+/nPVX/48UfvYf/kPrz08s/Mv2JqLFobyN0wAiJFpUDuFihU4aizQlkFCmY7o3ZNDq2iLXr6xgQUXBHtRwRtGNHLaMRedaNmDwZL0DTKZxCn2UyqNtE/G4FZRFt2CPbKqYJUF851ME1VXRw8cb/IXjTqjrv7WSnFxXG2EBZd60eRoeiGA1GioqBuVykjpkHIUAhcKhLKFPLbt25hZeW+IqLjJ89ifGIC1d0dmRAGGqTyMmWytLgoNutPLlyQj3b5yhWcPXMGp86cwfbWFu4tL2N5aUlm9uKzz8qcffXll/JbZqance/eXdSbDYyPTeKRR86Ikbq5ybRMHidOnpL78eVnn6JWbyjJPDG5D9evXFFqhgLw5JNPYmrqIL75+hssLi7i2KlTOHf2rHorsASM7zgyNo5Go4aF+ds4+cgpnDl7RpQc/lJQJNjD0ljqXUESJlF9gp+3yVFfX6jli8VECVr3O0Kw3EP2MNXTIo7xWIqEzprzvj2JzNMcYT4dZKUgnMpBx9acbqs0Dm5SbKyiMU+/aDO96VeE39Iajr2IO85ohkhuVMr4tcP0mXzuVYFQYFQdkjbV2OtcEykVRXZe8CCYwn0zmioVkyaJnHU6yQIXCS04I4PPxmKGVrOjz7GYkwEHhY6nXEWcLKln8QQrkOmn7e5iYnxcSdwGaSusFWyxcLSm+zD6VTK70cDI8Iju2WABBZuFlMr6POkfBI1LeQYKdgBYbURhHhkellIgdZgpNVF6Ol1VL/MatCbB9hgaHpESIYWmWt0R6r7/4H7xrWj6rWeYnAO3OkTm+3o2ltRnCiXMXheiPl8rFIuJKn7V6c16JlgXEq+bE4X5h3TbwGK46GwGpmZZZBdSgzA35ggxfR8u6iD9NtiYFAZtiIfiwo1cqBQGDwCXg4ltCg3tOxeUPJ5AzyOM59+tjN+aipkG88jTNaSZYiLJewBoCLexnr2VjmszChVP8aCjHoh1lGsxUiOq3Gs1LchgWE58h6X/NJ1stcR19CJcrrXSR0GbIW/MC1W1ro2GMTE9AkyLZsUMGCjuyFsqh86OKqaLhBScyMiCUh48mQd7pwAxqZApvEyzlZKS0kI68GqgQga6Y4JcP2dgBOovASXrs8vKJlYoF0U0VNk7hapcThIj+VurG8PIDTA3kIw+khk3A+UMV9nLFXrTMIf3FY3xO4IGOhYeO9JrNOM93pb+FBXKvoGRGkiFeiBVEHwpRZhe2GltcIyZGECicJ2BamPBif6ZPY41/43raKklmeRohejFElGmRG0hXrzTiYNuPJg0FmxhPTmsbs7b94irT3Yk+3M5qpvCGtEIzRmmegfnkwc+JPicwY3cD+8rwSNnzqAp/6zBCPFdVew4QKfASsCpUa5ltvyQ2YE0qpI6AOpLtEIZq430qqFwZZQ5yJlPKryMfcK6ZIsmghTmbn4fjnopkYaxOiu7iT+v6uq9EFQFnO4rGVJsERvNFB1x0SEc81f0pxSKVbaS3qqUC7Pdzhe3jLyVoqc+VVSgqGDU2zQOCKFMJMN5Eu1JmyUgSTqu94Ey0Y+ksOFQ6TMpjWTvF6h8aDLrFGgIdFo06ekaLjTr9ggrKOpzop74VF7az8vS/2G5Eo+khebWJS+6wYR/GFU6KePBy8uYy1PFjWcylP4I7IsaXJ+zjWcqR30+KVlhlrwXqK7fJYfLGti1e1ZEqj0V+m6tBtLoOPBJb7ZKxF98zZ65DgElSMi9JE2QjfUDlKDTDejRUZ+9aUJlmorgmWX3mWujkPCmJNjTEHl/sTRqC01gkH70juqpN4DayzhhLjr2RtSm3Ftk7wdK0hWxRR5uAIQN7RFOviWpLfWhaueooHUulBbAQ16ZiyDuyYJ7+ZXTc1SYuteT1068K5oQgPgv/RT6P0LRvd5Ppsq1chyMXJ60ZYNBTGE5UOjFCY68pPfi9bnhcjvUHK3j3QQjh2raSfFR5LrUUI6gsnWz0XO7xkobqwhItp9FflVZEm8aq+dwqEZpm6hF8IbI0W/CCADmA5NbZixHK86Q5LEyXGwS+nZ5LC/M1TPbNH9JOaFfZAlUNZHeq5n3ZCa1guysQFFrxmDLFt3mvF+VP4TMgloqOtlNzdA84x4g2gBjIJKgkdCVJlQLJKNl2Gm0nlEqcvQaRNl4pXasaW2g6wEXUIvS9LC8XMtBiMShjegPqnKpML1eXaOT7LlBfo8CRcEigEgHOipLlBLxZyMYms2wCodplHAlTFgiFxd5tTBjhnB7o9eBQ2Wuh5ujKOhNS+Z4+K0BCb+c+rI0Q/SL0g40JlTWuJfpG6dps46QNG8PoLi2LdYoMIerz5N0SKDZqNO8h3U5tD2wCiRaoKxaG7WbDeOoF8uYv3nDiklLSSlhcWGYIOv6FoWCXej0SZDcjHv/TX2eDiOJY1nDs9RVjgtKJ7jj/Ce1BSSuw9SNmS+d4kiteAFotHyW+vfFppkz08yCRUu1KOxPud8uqKKyWJtqfobPpJbbBHC9tEj5tehD7uVJehJ/noh6I8clreE/r+3uilBIoaIgiePEexKz6/dVwMBN67Wtn2euxB7rpsm6LRYa1O3ZqZV8DeId5Z941BnpJCWuvTZAPR/ErqCLwf6h7Hho7oeV/DtILYiFG77XTTCi5cDwZIq9l6myB447CeQe+LMJulXnyB/1wmGvGhaeiD5bP1JArR6S35+/ecvoxEmlnFhC08yFIc1WOdFRbRp5OYn3qrQTErkga8vIMNkEqq3kMflI3oMqrpU3+AHUFE6PiUVNVbSbHmXiPXkZDnRa7ZL2XXc4QMJpX/Qzv1cIMdClT3x3T1ZnxSC1RGiKi7nwyDEfqDTWwen3LaHs4CefjZEnf0ZKtPotqFks4ZMcxkcnkC/ksLGxKYr0vokJPRNxKDJImbYh+0L35jPk87o2U0/sLTVMpiW1YbutNAxNPKthSA40PpUVkxAbsmJQsyDGFKE5in6dxj8Lkxg9u9RbTDiTN3ZTI7Y90x9diuWbDVCDJPxyWiNgs4BLJpzgZ6+HxdnbVkxaLOQTFTdSy0TC0B1AnkhyZza3drEwN6vw9Nyjj2LITUCzzR4DW8hl8phgWVC5hEI5wdb6BtYermD/9LTI+83ddfHayZWW7+acbvXqdpyJmxnCE7QUmQun2XITiImYs2mMUcEV7MynJKle0dJAPrVgkOoitoQaeljPdYb9gbqHL8V7WHm6d8BzbRokvfCnqLGUpC0WlRP86MMPsbO5joNTR3D+/ONKyXz04Qf6zF/99V/LPHx3+bKe/5GzZzFz/LhpMU8KkwJ05dIlabSfPPWUytq/++473FtaEiJ/7vx5lCpD1kNCvVE9ovNoVcxQnmxnFih4iv6nzoylkPK3ukuT/RAtl/xgWpqOSWzmY1nQ2pJlCSYGy+1k4j3HKwBUfdezyn+2exlD1Gvby7VSKZ8EjTTCbsNxzLHbrdbw9Zff4NI3X2NkdAy//u1vcfjoCeyuP8SNWzdx88YtlEvD+PnLr2Df1LQ2jKmD+duzeOTcWcwcnsbG2l2USjkcOHAQ7cC/Boh1gxXFFASq/OgTRQEMiovA1QEWoqg6Ah8tWmEfymhwJk0YbEwBnwR4vVVjNA+JkRymN4za7ExLPVOYv4ESrcj/0cGujIzK1/rn//yfhEgfPXocj55/Amsb6/j6q69kjn7xy19KqD786CNxvy5evCjNwyCI6Dp/s5T9448/Fv52+pFHcPbcOUvBXLmCp59+Gk89+6ycYf6cuIWoRc6Fkv9J7errQOZDHFp7fBuPIs1Mn0jNYB3b8LUMxi+vpQJd58x5ji4tNglBlOetw2styRkV9pDH3K3vrT9VoVSUT2WTD7zNj2sNnthanb0NvsP83Kw6nrz4s5/hwKHD2Fx9gEtff42bN25jcv9BvPrq65g4cAA7m2tYWlrCxvqmNpiFDK1OHWPjw2qwVa3XJTDaHO9VkKpax7fUOsdD2HCYVQbkKLmZO/PLFGExX8k8pD9/aLqIzmg6rIybIK+1+KFWDA6U8KmBtkN+IxO0Xk+oNmEFpmlomqJEjElaPitTKxQqasuZ6cP63PrmhtgCFBpqnvmlJQng0cMzKBWKaPf6mJqZwvjIiJLLd+bmDddrNnH8xAnrKXHtOyHnFy5cUHUMMb/NzXVrzEv/bCCxnwJTUUE+kNcM7pa+QxhEuV4rcOX3bHiCReaWmnMh5IEulcTG2IuIA1U3nIqCTsA1kyvhNotJq+vztWKpkFh04iGo83uEomqx85p4wLovPsC+yUnZd6ryza0twfqkeoyPTyCpJOoBSd+KD8mqXqv4yCFh/6SxMTm8LARgD1AVjqr5GStdG9rA4ChxIeQU+wKEEIafEw62TJeyAd7HXUR9i3gkE+oPYL0NSPHhe7L0S1HkQHFCCGxU16TsUpWS7cjMDVUqFm3pnYqi1/IXqSoMxtjXk94o14c/r1drqogZShJhfJtbO9IyBQ48yGStG7H6ozpswCqinR2tO30rCtv6+rpoLcwfMpK7d3cJtV1ehwWdPmki+n15HaSePfwhe7G0EkZC5QMDUk3u2llkAe+gx3XlwaOp556LI6e++j70SrRmo0Xb8KcSFuhTsfAhSUqJSFsDrYF4cmWTkUGnRSCtgBJLsvV3NpKwZrOsR6OG63VJjahbdEOU1ZO9jCQ1fYrhKht2MMTXDBl2yrMNodoW/sSTE866h9mD5VVhjqK1okWAXjjqozbIqjQ4w2ECJ6WZb8VV8tpE77wXjAb9cKDKWNmA4LCD3eh2dCKZiwvnlILDZxBOw6hLgk1/zZxljRthlxoeIlacEI1XyiSrUnH6MOQhaaKGU2zU0Dbm1Hh0ZhGY9YKyLstM+zTV7Tl8vyBMho8YkIovZ9o/QmZuoFI7zUIMFEdwLaKiO+Cc6HATUbeFxdZfn8+rfu8ZtrxWK6GFWilh7q9pghD8ZEe5+QDtFmfLWMdhhY4i5rUlQKw8Zg92sgFzPjlBeSivjZOjr1ZCFCBGk11pKT4cT4DULE+Jo71qXub5qaiQiYVRJOhtFaOriurnyHwUJYapI2IxexQww5+C3WlN06gphDT7c0TSWerdhSTQdclhNmt9zIPDFe0Z3XyH8HH9Oh2DUyJ4MP4Ry8/YR94OllF4rfhA1CFvG07B0iZ6kTUDCXYpNmwob7ggO+0VCzJ/ezNs9prYCpQmxEMBFPffuPhq9eN/Do0cBR7hd6WVUE6Xjs9rQoWTN2UtvIqK/isjep5HJtDJUZ9Xc35y1IeSpNOy/JzUZPgrHi6S1rSwuKyI5sDBgzh04IA5tH66BSl403eZpmwOm9tbWLl3V6ErvzM8xr5TlqrhRnGB1X7mR40tQgtECVVKT/bWPDQ7gS4LFeYiC4BkG0jTnpaKCebnHiAajqrBHXvVIipy9VA5tFz0/0wddSfphWmklhISHjlCXzOyOpVcT9t2Gw1IkVXa+4TCb+kkCWSEqkLFneeuPuXe0nIAzwv/MqUOeWAhSM6xLbVv8ma4NrLE2j6FVo7sRCTilYVw5F1YnXfQE5Lu6+1hjIHjMUUr571Wu1b3R4q0+lNVNxZrxaSYEBU1XpRlqBX3Ca0tolpv4oP3P8Ct69dFDHvt9dfVpL7btn5K0UbROidmUEgquHXjumr/C/kinr54EYemD+hkjo2NpgUQDMfl8nn7bL2ARyihwfTC0bo6zV1Zs63wh7QxHqVFf/cUDXefKdiepgn2zONeNGMplRCaaOdo1bzAzu6uUHUi8zr1bp7VVyGGHgl4tVyovZePE/GWh0YEpBmz6iIKJbWrok1PFkdCOPhnQra5Dx7+07lWbpLRljfWVV9RPySDNYupv+S1kNbfwlwOtQ4YQPCj6if8yPhc7If2wZBgy144y4NsCGJsZDiwQcfs99coVEu1fCmXtOo1x2xMbmOx+WAUqq++/Bo3rl/HwUOH8Oabb6otDatiGTWoCke8dA7rsaLEO3dm8dUXn0voHjl9WqzDoaEyTp45jU6zYz4BXzL6RbEYgtdxkiBBQAqoigwGSoXSHJi0nbESohw71HrgV9JYzvLkBtIs0L+juaFzrBPr0SffOj6fOuquBXjdSNMExyk6IUfPT+kd8bQ4BMoAWQmCFyKoeMDzcZpvmLGiVcPsLKEuCITuR3Ss8+S3jWnxd1XLIdMm4TcG89WiuZgANgCnhFCpYZkPl9LAo667MOYXpo1L/PqRKov8pVX1eC2kd0/k/hL0JeeK0d/cje984kNSUCe9YAAotBzopkLwk0002GSeL394akq4SziD0WMzMvV8OCLQbBZRrdfUbCOTsXbJ+w8cSIUkHpD/FacoNI5jK3HSUrMVTISo2I3o7sczYDSmzHuhuxmSdmK87w67EsOe7B0EPu1zlrAOQaOGoVCpI7L3UOfPKZjUEkKt6dwK8iBhzjITQT1Wu0T3PWyMiaepRMexfKv8xQH8bTB3mrIJ3N+Tn+jgcZgyfd7pRfHfgGuCxBi+kdybwOOiRjESzwEsO6FR7xYV3T4uj6kv81VtnB2fj6C2WArspaCen5Wyor/w9LWZNPo9jpclAS8nvowmcLq0xqappk2n3Gr5SP8Q+CYU3Io8iaST1E+/IgA8IdNeM6eoz/siKJryuX8eZslx1xg09h5oNCSUakvoo0dkjiKTP1CulfK2nNdkc5itQDZ8qsgnRmGnHHV/nsCA+Ez0J4P6Es+uoMV7HUjASFPx6RfSdu6Yq11im8g014j+jS2jfFFzIs2niQLdgR6mWiNPqEeyPN4rNVED/HqR8CKVFdrMBcUiSPOvJIyunQN4lpJwIVIEyjUNYNUJAiIUOGWF/qP5sOSoJ+j0sliapaNOSGF4KGFjDb2ULrKnQgXr51mLVrTBjGZj5AiKtenag9FOtmitAJu1XZ1epmvEt2IlRo/4jbmX6rX5o9L6MBXcQLEZBkZ4KM/olBP5FF7cyEcZDJ1TekxU1UTYGE3QPKGb+lfRnN+xLO2vC2WYxjAzW5ubEiqCgKGtwlFXiX67jWvXriKfK+L84xe1abPXrwqbOnbylBEbFdBw+WwMmnH/vQIp5hb6oQ3trLaH0SXZHDI7GJ56kan3/gdpHzGHRgaT5cHGFxPBaeDhzIerI4pMaKZYE9eepkwsGxGwBdM0Kihl+qtISKGABfZRJ/MzYXfitlNfnJdjYa6pcfY5qFabqtBgDRhzeQQD7929qxq36akpbG2s4+7d+xptcWh6Co1aXXkr4hcHpg5ZMKeGEE5WjPJwr3iWCfQTSdxKi+ovqCRqqHtfdKl/1wYxL1iR5wC/iWG1hlzHWN6Ibv2U+jrFeqWEvuCpB5mO16U5Hxx4xPtzw1VcmlSwtDCP//sf/xGHDs3gb//h3wja+OPv/yOW793F62+8gePHj+s+hGCIM8l/8iGdgi2U5LVpZQo8PFOQUmXcP4Svhdo6uUaPqvHAsSz6dRPrh8RST9aKgPcgf46WRwIVGszxwjC3g2za4K1FF2MLloljsjiWjXeLQL6EWflUq3O1fJHN+WuWZFQJe8wnsW7CmVwRV69cxffffYcnHn8cj124oLaAH7z3Hp68cAEv/uxlXPnma7z9hz/gsccfx5u//VdYf/gA77/7LqYOz+Dic8+IaM80ycS+CXOe/YXCceQimDNrydzI74kpOti3YYD2Im3n1FvToAYxxOwa8VJ1Ki2fFSFyKLDw2Qb9EUEq3jA1KnP5dzY9E0mPzEdffG549Kj64ovP8cnHn2D/wUP4V3/39xgZmcAffvef1aHupRdfwvPPv+BV0vSjzFEPgFUtk9QXQGGICZybSAkIsTyfysXP8rkEp/g+qX2Q918VtMN3pqB6wNBlEe5AlZDI4D5dQr6cE/SUyaBWZ5um4OjHeru/G96grkdIQT3emXJjvjCPOU7RolDlinmNEYnTEhrCfKs8Wt0+3vvTn/H91at47vnn8eyLL+LypUv44C9/USEia9qW5udx6ZtvMH34MJ576SUsz8/jw/fex/HTp/HU0z/ByoO7OiUnTp1SN93Izf1A3TqkEMwCsw3WoSVSLgqnPapKUXCXEh3O8LqDrejDekyDtdPSepmQQQ57EOGCSOiEwMBwBnspKH/mtGfiVRT6xfl50ESyBwI71u0/cBDXr13D3bt3cfL4CRw8cAC1eg11TkdgFJa3IUKmFaKqx7joMpPSplbFHW0zI0JMKdU+UcLOk4/z1UEyZgf58hIYH2GruYgiCfgoOlkL96+C7jMQJPG7rAIqq/HcqDcadtqL5lUyvRSDkAroZ3NYuHWLuT+WaOWTbtdgAc0eYZMHb1sjimu3jzu357H28AGOnTiB6aNHsfrggcxbZWwMU1NTunFabJnN4uHKChaXljC+bx+OHDmMrfWH4v8cPnxEuS2jrFg5UhDzhe9E0zH3C6K5vfw4LpBPTRcjlFGeUGdqIfYXMFaF1Rx65xJPdVh4LOaTpTaIbLPo1RdVvpkjyfI1vIxLkAegFodC1B1NJ9tA2s/9S4J/xG/Y9pAsjWFFvFmbycd8HnGuRk2My07Ly//FXy/oOgxuFCWqqZtpEqPpGmqtwCeAVueaRQ40xZs8CNHUWJVRFcTopEYjXmj+qmtBMXytkUocTjnxDvPwwGlvfOQuOWDyJYUKMKggDEK8yoZJWR/1nLUSolAVywWNuzXTYfeICVZiGWqWn9WXERtSDZtHYIpc9NDGz+FvPgxpHcFYZKsg5gb5oDQXUt+ekBXKrtZDMSAyJrBHsYg9kIXrXt4e8/28QobPajN9DScy5Hhv7K4KBBSxRGW0XHIrRfMIKADUND0T1czevYVzaQJSUIopSRQ8RP9RNeunCWO6yFsdlTjWVvQUS3DLD+PcHTZ4Y/qLZsYxMwU8KrxlTYDBDsKRAhIZGGwZAUmaE3RfVKkrtQCiiWRnNCbMDTy1zbeuOqyGkfvJjoNRM+lNRPj8KkjxqFZuidOq1Z5DdSOG/JNubIUvbCRbVDXNPCGF6uZirVRmMSkpqjH9PAo92fRV1XcoVEaALJmHNXQdryFGw8uTXRB+iR7Kc2LCRaT9GMZyYdlV2E7uYCN9lR/xUYNqbPmXH1S3WP7LOv0F6GdjMMhatPtQHcsJ5eiMSDR7opT5Mvp0QauVgCpRtofG25DvmEzvg5l8Qau1mvJ/RNT5WxU9AaA62m3ogFVi22R5s8t6bmkeS8zTwVUdTJZ96K0hryAStZzk+/nsRS+Zs/ygXTdKL7TxywAAIABJREFU/mWCXQOIRDcAEEsglEK0tkJxYCwDYZAANSMPegrhOHjNz4aLsedJuBgpOe+jbsXJorIwoqFgnbyDn1UyP4uFhO1j5N94uCoMw6m0XIhmq4eNzXXRRknDSOcBakay4Ux6QA/3+UB0bnlyOJG8XGYqoY163UyImNXOnIz7BBfdzIHl5tT1xakv8kX4fNHuZ8DvMbNpZpAMRTNnPt+Ylc5FmtqmnoGdZuTUB07jgKgBlO5jDDT+ohDzXcinotkj/YWjafncMoPeCS9MZkRvkWuT9tYQcKuVI5hMzRGVzgzlo40iFSrzmFYPYDlJWSgX1iAvBtShdJVXFUXeTlhbz9JY0c8zDpPBDiYInKBhJpTN2qznJ39Z26PoRRVVPFYOlmp0qiwvJuXnCX4iEHW2ZyT4KcnVlPZoimEnQ/yaTB6ff/QJbt26iZdeeQWnTp0SUyGy6hHyq5w7SSScSwsLuPb99xK+8+fPYWR0WEAqy7vFP1fJj/VRFxtRdYNW8BmhfoTTyi16E7U0cnOhN0VsAtLnoGjnnscoMYGbOtH0U2z0rnyTgWqVADnt/T1FFQLrHeUIJ2iagjM1AnEPLr00VFp65iwJUZr3Mvye5xbyLP+ND66+E9aD1CyFVQVHUUMa5bk/pQKFgcNgSt32bVBLWv2pTVAVXKPmKh4iCyeze8W1DMrwfp/xLpGs9tSbItGwJjp87u/R72J7xlwB87dl/qzsXd38Y6abt2jUDbM59Vj649vvYPb2bTz/4ov4yVNPW82pO3aDiUkWFfJFr16+jE8//VTU1eeefw6V4UTDc06cOq0cn7AZVp9ImG0jY3K6hMr9AFGK6Wz7KYquxEa/8MLSgAtYReSniRsmoE+Vueb0WpzO5l0+3SHlMPVF2o+oMg5WaBpuCqM/zW32IZKiN7t5D98naiWV5nKIgCZPmJOvpVlFJz86rcasAyEVG1xEk04wOj3Uzg2LRHgg6gHURvvvgCXaHStdNyG3Y5f+zMe6RLfomIM9CLeEllJS34tDRH3hgZQG8yIW1f6Z66KJXf2MOeq17cVaLpdThXL4MeG/xEOzkfzcwiK2Njalxk+dfgQz0zOKWQPdFR3XnTyaJw5HZI8kMh8PHTqIJLHZJtPT0+ogIkFyHpE2PA1lTRhi7ITlxpzmyuIGHywpTUOHmOVkDARE09DOeQrCqMLqUekj4ug38hkYFMTcZZ2+gbQIBUDNQ6Kax0FEzW/x6E9R0ADr00h6RsBTVTJBXgmWMTrl2mo+EFmueTU3lYmGObgsX+PakwSoNI+6SFjjXDnCrlFkNVyT6xld9yhFFWVewuXIHIlBCebYKbXimKjRYKw1uEQiGtwNsESkid0fNdzMNK6eyKlC8g292EJ4Yj+DeYv+ZmvZfF4NOgJ+V8itiMkHMir6sxfaWl8TJD86Nmrmy7xTazZLDEnpFGMEcLGp5VROlDPUmJGacnb+oNFpRvnklCvFezlW401Y7SybJgp/LpKiAZgSfOMj0bimTS88EiSLtd1m0YBNtZCwBfPUbIBFjZGFd98yggcKFenE9IPk53knPfVz0GiRrHAaRcqCACz6ynAiukh51m2GJVqZHlBJynKW2t6SUmvPBnECIlk8aykcm09t6S3V7EVn5oBYXIunNBjrd+l4XcAFHiwNUF/UilyRZvTMMCaEDtVAS84w72oc7C6HaMyhcT1nKYYKO+nddKEiTsVm+OEESzL9lRiClspDKJUqmj3CE2HgpcECZqr2+qvLFGQyWvzoFKKkdN8iGi2aT4Lgd42IL6WviElEOy+5D8xJQKlGmxk3Wolcfjay7e7oZrPWfz18vfBh6ITyeahZSYWOk2m1jXvsAGlEx6cieRtoM4tJ6aiTeUBYRJgOmQpM05RKWFyY19TQyf1TePTck9JqN69fV2BycGoKh48e0dSFq99+i2Ipj+deoEswLDrRyv37as949pGzqgfsdqixiJpb2kZWm5pOZD9vnxmQe0AiAjuNhRlOvXHi+H7sbGM9HaINAddTkI/q/SzOUzTr14/IPbIL6j/mAa3d2oYxUATYMlJdfUrs+iLw806tVC4ndgNSe72kx1FaUTjKFTk57KdEtgJfrlWv/4AfrXEUrZYmkldKJVRYguRjL2gq1DWG82+o3kOVeqFj9DwSJVyYy97ChCNqzRnMwYx8VZheY54yxZRDhkR8bzUZmtdSL4ZTKYmryIUsDKMZR0oociNCsyP/6I6wHPWB9ox8Bo0SqVSE4/zzf/onNSc7/+gF/O3f/oPmuPzpnXeUD+UMmNd/8QbuLd/Fh++/h5GxYbzyxmvaJA4kurd8D6ceOYVf/upXRsttNVEpWS9UDn+KLEHwmeT/DPR7D8HfC1l01FOSYHRPTn1Gz/VZhG2Swgg/LW2LwMctUWQzXM946yZzU4gNBl2Za7Zw5zZZCndq5SRJWBQqcM5DdjW3cEetPDSC9Y1tvPenP2HCEXJSQRgJjTi8wE1iQSRLlTiNiT97sLKCAwcPKTXT7dk0LfaU5IJH7ZxOvB0vlTeJqjpgu2XL+Rxqd+1dXLgQwekJwpph6fptzez3mKGKMIUkm6Yzp/NHFTd+HaHObppJ/YjOehSqmGQanV8kVEkiVuh7f/kLFubnsG/yEH76s1dVJcNc6f279zC2bxxPPXMRm+ub+PSjjzA9fUhd7qi5Pnz/fexsb+HY8RO4+OzzuHt3SfJ++tRxpbWsf1dk4e2PWhNzQtM0VgR2oe35MxWuEKnv9oStWZrHsEgxEqKHQ7QzCgvlWlCHzdmhNPfKoXqKigGIzQAyoFlzbcJRD01FBFyZ/8CnvPkZH4Cjvm5ev4X/5x//Ue3+zp49i9WHDzXLeHx8XBvFTrnEbNiCkKVEjJS21tcxNXMY5x9/FK12Q4tw8uRJVZeomibtrWD+B/0HnZgAOFONZo0o1HfUCW8DjR3Ssa4q1HefTZXW3u1vr4EbtZwpKgYciuYGelqFqjcTvTd5i89Kf2qwlZAcc5/hzMVeXVuVv0RFODoyhtGJMWXvq9s7NixybEypmvnZWZm4EydOaJNWV1cFCieVYYyMjWF5eQmZfheHD0+n+U7l5wxUsyDCcRRjYOy17Q5evw5hONceOcYMHzE3fEZQwAkBcnJ/lA915oLWwCNsHbYYgJ5mu3nKLWNA/LKfLViFcnXjjloJReZbQWiYB/YeEH+8gNnbc/jm0jcqiiSleH1tLW0r/fDhQxyamsaxo0cwNzercV7TMzNYefBAdX9s6czJAhxYxNwhN5ORjmy4jLpJu/FzHLAMx1ynwTQPTajmKJt2T/Nzoc2ImwgAZXN7DTx01NsdccEmhBQYNXh0I+viDrpQeZ/cQKdTgYAvKg8CEXVqYPpnQX1RbtBZoMpHti0fqfJ69ZK3VgJyL/ydCB0wmOF1lJP0ICHK7bstTl210MSa8HqTsoHJX74EHiftdT1Ul53wEwPMjp4SA8Q8Rcv894jw5Jca957+XAC5KfYWuKLXFFjXF1oRq/wmIZPUlzkOPKJQFUvlxGa52YDEqFiJ+TPZfBHtNic0bHnFMftI+ihY0FEjzbagMH11dUUz6aih5NxubYtTVcwzIuuoiJNmhIvMAk9xlxhms9LVm84aImxtE6kNrIeUhdgKqUOTpS2tbbKTqpSFAVmDfGkcJ7FpNl+fWfeG1f7TwfYmGymz0p3VwJ8i0uLOUahoAsNRj4GS/Ds3Im3Y4VPbDbrwmj70UKtyxjFHnpTRahFfgyqP1dTDhzdR6NjLvNttaqOClqLJV46ER5LXInPrFk2CJJ1xYUre+Mwo0bYu6hTo7IXA3qhEouA2IAmi4lxpHnhaC6EAUZIlfhtv51MrRG229uM0sSZURev5SaEi+ElVvYfIujMcKG+G1bRU9z5j2QftIMMEagcdpmPE92FKhcOcCfNn1QOSaqXdagAZnlhTrwY9GU9IoKeoGjaMRxRu7+FgxQRG05BQqY+6RUTimzvvyMaW2DVC65nPEAAgU0iCr63tkXdSDlqt+SOBw7gG9HRNgILiqDv4GWF2jBQxDWc9m9jO0q5rCx4bqx6djGwVNVk6ST0VtVP8bf6Ohes8DCYUpoW9z5cn6y1DYB585PMUnXn1jpHujMFrdCaDFOSKOlou+EZaON7Xn8I78sjdsCDPonPLJFu0n+JWexoyWMBLnExa25irlZJyQqkNtDpC0iBz0fyx59X29haSoYo63nJT2XKR4J010yKf3fJhlgD3fkd8JCeliR/UY4Mtw2CoFdPNN5fYgE//ZQQ+o33ERrV4gmNRxUywJLClaQIz9ZElqaqO+cjREdAYAJGn5MYpV+j5Nf57Cn56Gkg9P528RqEKvEqa0Kky/HdWX1MYKHAxX5q5xrRtj4E9wqos+2HDxs3sWOcdD0k1O4Zze/RsnpiOcWyWJjKBU86PEzVcIEX77nmSWvMY26K+hAaXSctR43h5HCNnlov5wCvNqRZZzybdy6Q6I9VKxczR7/c8Qc2yPI5EQQaLs2zOvzFfKw9VhKiHLY18nCRVRLYclpbv4Zuvvsb0kcN47IknsbryQDjMzGE64k9icX4W165eVROJRx97Uibu6tVvVUj6yLkzaLfqRpfRcCMOVDTzQBU+2OTfGp6a92GbbViKfBe2dnbajbrhuRlMk6tpTiwE0zsDqoiDEZ9Xrng7yeC3W3DVF4wgH8Pb58ivcAGnox5CxX/XuFuniCj36bV44esQxZf5ddaGKUMmww3OjL5SOjAuIGo9IETd3l24WdoA1rQun9kGg9vAR0XOFE51amHj3jYaDZpaN31esWM1hnZ9dUfOthgnI58jt5zmteSzhKqARsPlke3bAE/VzTgYHPAPcS5TAtZELU+hzeawPD9rDTqoqUjmiiFGUSmTpke6fXz11Tf49ptLePSxx9Qe6Osvv8QnH3+MR0kf/uUv8dmnn6pHE+cC//o3f6Po8L/8l3/CY088gZ++/FPcW16UZjp67FgKmgo/GpgEOgi6StNqyLYNKZQGpF+hPp3W3F+9rIxDnIbaRh3hl2NYgGFSUVYfGolCJDPizqp8FNdKaVHGAM2GuT/6VQGFcNOiCMJ8H6ubk28X13UTymekBhvMJYarkQo2NYFMpzE9DFuzTna8PuEaNuVnDzCWvLFfGDleTNBzEoRSX72uzerJZFFjY5CtDXX4m5zcr+iVOCMjU2r/VnsXw0MEhItYXLiHZqONyf2TqNV3wEswqs+CgZT9UvlYoMnqlOzj+Prkz7Efe0F91NWekQ06CqS+NOvWr5u9oVyTmElhBFXG5UuXcePmDTz19NM4fPgwLl36Bt9e+lYNuZ597jk8ePAA17//HidOHMfFi8/g3t17eP/99/Tzx594HCsrd4WVnDl3zkbk0pTExIYocCRj0bPpsfkxsUqfj7SKC2NgNiGcpv69h7rTWILvLlPrVblClgcKSVNQz308UXOi7bRnDWyywqY2jdCJsTILMnOWK/V5wi6YMuYDHVik5dwcM0tBwRMn3OcXRnW4qCpcAy/WoFBRGK5cuaL7P/bYY5iensHnX3ytNT5z9iwOTh3CN19+gfWHq3jmuedx7PhxXP72Ei5fvqyiFNYNCO7o9TAyPIr1jTXU6zuYOTyDfL6Cd//wF2ysbeGV13+OTr+JcimL4yeOSPvISkTg5JaL68xIkT4h95KgMGETOuq3r31Xz2yu3FZ7RjV1GGieKlvvCchCoYyHK2tY31gVmLlv3z7Ud3exsbkpW8yTwiw/2w+Wi0XBDsR0CDVwcSj1dDx5ydGxMalh4xcF6ms+haZoqZzKcmBiRUa+a6BhSPSkCh6T5QCd/uJ9EsRu8MGLbCIfvT9NAZrPk/pNTsURkc7vm9YkepLVpmTVZHqigb6iSOd4pT6Oe7OBcgd9xzIF3n/CzaqYFimDIUafeGDibFfe6+7SEr766itlK46dPInHHn0cn3zymUaSsAUBq8X/9PbbapzG4UQUtNk7d3Dl20sacsRWBQRpiznmP9u4deuWWio99vgFTExM4a1//oMGer7+q1+g3a4pT3v67ElVldv0LIsEA9yPw9zjYG4F6T1rHZnJYe7G9/XM5sPbtZGh4YSqN2iwCvMNxvWyKWtvbNwq87NU8+Y1aXTwhDk5QCYHmKeXDdtlx9lKiAvYkZMe+cFYVPkb3myLFSCWxjGekRu41PwpFPah3EYwsxA3zFn02IoIJWg1cZ2IXiLVYWi+ofbSXr7Rhj5buMPPCFH30SH8DJuaiVXpPljQXYJxIczKA5KUPxZsCL+nB1cRUlkVkJfIBX5VGRnBxtoaFhYWUk17+MgxbG3tYGFxEdOHDuHo0aN6Pv5mhFpOytg3PiHNtraxISXA5w04ggArfaMnn3wKo6P7cfXyNXRaXUxNT2FjaxWVSgFHjs2oiUir2TB/yoOZGEKpFA+dCmGMBMgr+vs8ZyhzNNvQSCVRFXHM5uMpVim6jU0lP4dCpfIkZegN6h/sYUSzwNNM7UL8xboWR59yIvXmCTH10aKz6EMJrcm7OeLW59wLOt2MpNpME7ZsTEnwh7ShnY6DkYHTGGhJ8yOarReSqke7l7lHq6KUNhvTKGIuTXDDByp5mJYKoeL1uUma+q66Nx8T7CxVAbV+SPjZYFSKARDMDkelA9YI7pIOwUCtnrr2OaU5WLCEXlgz0Oq2pb2Gh4bUII3OOteH+0CBp1ZlRbcKS1xL7fmwHXXzyxcq6LRpknKK/pudGjJ5YojWQE4BiLsnkVJTpCrLwQS18fKt8CGPRSt7n6sllSRRvyOH4VM01TFgtmdcebiqm1LVMg3DapnVlRVM7t8v9JzgKWsB6USef/Rx7Oxs4u7yskwhh+YUGLmpV7elUtTDKiY9uI/047Y3P3DcPT8VSLBhVM4VMvQkxVMUFTpEIJM+yGDkvVwD/TiRHI60mqdG/wDXYpqhLN+hlLYxlA86MI3CXAY7uXFtCZj7Z9KGHqGa02uo9qBgSTc6N0qHIJ1kttdjq09zwaGdQvPtOtL+rlFCQKU93c+MDAAjeTUN7tZJHEY2lyCTYV8MRr1kkpDiwm6DAn1SGM1hRdOqyqFGSqwvbhiFKlsoY4ETH1ihzPaMHMVFzUOH00A7M4B80N1qHR9+9Ils+Nlz5/HMs8/g6y++ELPzmWef1Wy6uTt3NKiQAvbUUxdx/eZ1jSs7d/Y8zpw/axPM+31MHjigRRSQ6Jl+RRZOuUgXZyAPNbhBOiFRouTmKjSXmS8GiN6Vb2CR5bD7xNJIEls6zbRK5MuMirPHMYoiC/pTKnxwPhX/XeCnJ2p1nT1CgUXS3lOL76aqG9/4OLRM3jN7Ef8ueMGLQgiZ6KhEGscbaLA+k3gp2xAEzkWNJLjA6dny3QYGastG0O/xghS6Od0OhaqNfL6Mfr+ApuoRRQlkD2jvR8+SLOZirfZQLFYNj7SqJeN39dGo11AolOTuzN2SplpQf6pmo2b1cgK53Ayp/i+H3VoTH330qYojz507h6efuYhr332HS5cuaVzqTy5exP3lZVy9dAmPPnFBjuK1q5dVSHn02HHsP3gAm9vrqBSLOPvoY9pIPkiK4biZUeFDaBjXRIM+Dl9G+THnzhvia8ClTrxvirrQeFgetXxxmnnPoIBImB2EDUJi+FCi1bi/xA1hedZgQlnRHw+hJ5Xl2/n9QzNKkzh1RsITaSX/d/mUAyXu0sxR5PqjBrsUNrFKOYBKjq1z4gfMaESx/OngOtEF4NqSSMjnFWQkn5XmmIrDhkFaB2Mi8XYlypDK35QJ8SxL2sLTSIMUuGij3c/n2WyYrYTmVaJFn8oxeT8BLpEAmj3g4YNVPFi+h4n97JUwjbWHD7G+uqq83r4DB3TTpYVFHD5yXA4f5wNXya0aquhFVtdXUSrkjE7cbKqIQJrD5+8FQSyc13CaBzlO/LMEzxOloeblO/2YCjuQdomWj1ZQ6lMXwjkfLK/y1bQcmhd+uPmkpmLGIFIzATvIv4hugK4NZQJjZ/xwpAGDkwCVFfBf8VlBHm4dpKWcjqNDkjaKJY+rrKatvEKzVlWBbUSksSZaIz0PJ4oatz76lRKioCaljxzwhVJfEZiIubE3NYIYGzUtDwFrOE1o9wIbtYxka6no+Snws1xWhbJC8x+YBE6/Ij7ELrw2oDCIcXxpJpEVBVAgvQyJ+AXXM21dqMXh7Lmq/p3C06rVjCWQy0nA5MySORgoebrc/oeBXkx0isNExsjaSOoGExXqRbpn0uRXeHJZPt0Acq7Iz0JCL75w7eH9FNh9mAIRU7QCl5IZdLiDCy7z59FwAJsRUQasIJ/LgdsQKvl/Az5eCHQ49WI6OIVYPC71Tchge2tX6yfMLFoxOYc9TVmlvSX6SjOyazTXjpPZSy4csecR7RouWXCcrmc9MJiTVKGsdXk2sNenZbjJZxUVWwktz92sZ3Y3FmpldidmibOPMFIi0lMCyiNlCPKVkGdtF6XUE6uZfMWIc516moPSYniHNmu/mLFWQm2+UCdNhbjetfl6g1TWaJvjpo2fs4Sxz/Jz/ys0WER6ab7Se4Lb3L4oQXJTFo5yWkrlo0QGNEuY1ABIdX+Ou+UQyRp9B2vQIbqLN8aQ6fBfP0jKe+EFD1D0LA8oI4T4B+dngMOlK4aPFCA0haqUYGdrE2+/9bYE7OVXXlHkxwJfLZmGLXnayaGffFLBg3t38c1XXynQYlOVskeDASjruz7cku24eZBu37mD+3fv4vixY5g5csQayEp7Bg/ezCo/yxItFj6IpUChEqLeqHty00ZwWQm1OWd0CttNMgg7NLIYGxlRlzw2m2evhMOHZ9Cs7mJ+bkFEM6LoTAswDE+SCkZGhsUQIL04S6YDUyhdu0cKYPrcPC2+b3qYqiD1B5MgSuxjQ9JKEi/qVHLcMSL5A6wMpgbV+1g6JTSUnE43NfKn3JcJNDz6YQWfSu0ZB6ZoKQ8XFTyeGDbzbA3BBA/Q9WWWwrVhsC6NYeBZf9esRnFxIXUfK5gKxroA5uYW8Ie3/igr8qvf/Abnz5+XxmcCOyZlBVyicvxiGdeufIuvPv9cwvHCT3+KEpH6ajXFFzW+V3tuPaj4vH95/33M3b6NF196CU9cuCDtr/mPekYrjuHnGPmTVk0BvfHdNcOpSpVSokqTGKvmKYJwcludPuZn57G0SKEZxdMXn8Htmzfx1ltvYXrmsFDdjbWH+PzTz3D+scdw/tFH5cjfuXULR48fx9nz54xg12mL4C/2Ic2niGw0l9bgnehtDFEMHg8/J0GIZl9e2Bg92H9g1gY2KfopRZZAvCKmPwK+iEhtwOxFbaBMJIUhagu7XVSrNeX+2F5bbAQf4atmbzq5e91/FX2FG+EComAiCnWjCnqgjU+YQW2Ym8PwK808MuJiS+02Vtc2sTC/rMTxmTNnMDU9rcCEaxekQWUUWIBSTrTxc3duK0InHMRWUOwFwenycXDDw1MDM9dUV65exfzsHE4/chqPnDsnQbSCjGj+a9w74nfC7LI5G3i0wTTNUDnhxUSCHyidiiRutVrHF59/hSvffoujx4/hl2++icXFJbzz9h+EU/3s5VfV7eTrLz7D6bNncfLUKQkVIQg2STt24jiyWTanyCkvJUS8n9UUiOiVbr5ZJ83vpWkBmSxf1BhyFAULbpoij2fZfz/50T1dmsiqdJSEZlpl0IeJDXR0XprDgVdL6tLn4WTSLctxsZm+SHMEFy3vZ3bHPis4Js3xWYr6xyVlZNOGuY5JD+GYpxkCN/tkqSptFRw29jwoUlC6qNdr1nfU/b94Dit3syQ8XZndXRvCzWHbFFrumfymtH21ZzE8hx9pLUPpOTiTbNeyPh++sqAW90X57iyI6fT61pyfCeUSc3/CLlhQag0lhEE454gfnptd1BStQ1NTePyJJzWrhX8fHhkVbMBTeOXyJTmBp09zlH0X1VpdESKpxKUy0dscJsb3oVrdVc6ID2tpcEvc8RpEefn0GuOWlkwZb2hQc/DPMnPsOOPVy6LQKMUUXelsv7nxRKWj5CvydWE+U7BwoAPwHkvAYJatrW1nKZhAMYOQdqJxGohwJ0Wz1MIGAdDMi0qd5lKdOam+ToznBzvsWOtJIV7U7P4+0WuVnCVpLbZE7FrQ02Zk1mzZNIl0MoSPEAkcjGOGVchqoLDldK3Tjv6duF46K9vaLKlkTk1SBPxpWjxBU5lTFalY9KfzhD7yEqoM5m5ft1ZCNH+quvDeTynNJPpJeum9fCBNEXCekE6qdf1l6mBnl1ycPsZGR2zGMQyP0uKUcmj3WC/Y1yRLkyWDLTTfhaPt+QzNNgpOn418oFpIx7BwOvIRMUm7KANlOTimjjhzhqgxizfTYd1myug3UHq5GdENTxnOCO9FKrWqHIMFjH1jmorUFyaU+c528DQF1JFxFXsKbAW6Qpz9l4pOvUOhaM4dFV1aRGoJbHakoXPcarWVmBdVmYW3pFKr+pgHp6TGIp1mA/eX76HZ7GD/1JQc71bbIBoRJotm5gPmUANep9OoZpAMka4NOrKgYo8WJGDZ87C24v4eYX69jZCESQzdrKqu5WcVSnLUTag2FmsFFZPW0ggraCc0QcInHCCU9hLpy3qY03SxspnDqNlAlSqw3ajZoG5pD+9aUsiiV8ii0WVn4a5Pr7K6uyKbSBRK2vS17TWs3X2AJF/AgckDGgDAwUlMHPAVZbaosfxUmunpo+9syS4zjCyUkJBboYEWQAOuC/IH2h3L00WYb5bLRDbAR1I+qI3ov9jU9IyGNIn5mpSQlMnqNFNtFcocv+vdVOgDkswZRRReIc3eU4Hat3zuIMvVKETssEcmKDepmJQFtHKjSpXEEukUTBZ1dPvYvHsf87dmNYFrcnoKR0+dRCEpot5oqn9YgcwCFvu2GiiRmsOOPXV2hu6iXBlSSbyNNo6hAMb/0kiVvAcWwqT2RvNZRGzay/CvaAduFG4noySCAAAUaUlEQVTmF4WTFYq4wylajP44RJJOnw0iNJIYN3nwNFtqYa+doGWrrdSpLUEpyu7KhAaIqJA+i2ptF/VuA8lwotOtiQHUKiTmi2+eQbPdxOzCLO7OzqOSL+D4sZNqSsv5KijYeHs73eYEUzgbtV2VBpGopjKhQlkd5FJqjTejNZNOajL9RucqRbWM+z/Wr4elUAb8RT/OjgpibePr9SrKSQmlonU70fBqUocVATo3T2osvEAm0jkPPSssTzEGJ7ALM2OyvgMN4dzYwNrqmvhmdC94mAUu5jOib5Oy0tytoUli3vIKVu8/RLPXw/jB/dh38CDGJsZRHqmgS+H3Ubjggei2NOmMPTAYhXM92UiD+VlWSSuat+Jlq2L2Q2va33npvu+meZ3v7rk/OuYUMhIEBa8UijZGZHdjvlYqFi2hHHYyWH6DrRJDmxsz2n1Cb/rANocoWPc9NdcwpHd9Yx21ehM1jjVr7qAyUsHo8Kj8JjrrTDKPDY+itlPDw3XytTZQ29xEMZPF2Ni4Oh+PT04gnySoNus6idIa1arGwWm8G2fRDdlCTU0dtmYXFDyF6Cz3sNSDFZha8USQhOX/hFDJ97J5xPSDDHawMbAUZEIkrVYT+Tz7QZCPRXqzAYGOCxgzQTbTVBU1Jk05TZswJ6Y0mtYVmJQS0lnoMtD8EfWu73L02xAmJ/fJ7D3c2EA/28e+0TE0tqqoPVxDrsXS/S7afFZxwvIYmRjB0PgIGt0Omp2utGkxS+1qpfrUOlwfmt5CMY+ZY8cwPMomdlbRQ81sDdhIKd/r62VpIR8OHjUAYtbGQAG6LGZFVAVE2vkcK5Q32EmP8/6sE0s4toTx5ae4oKXIq+M60RRDziqbtKsGrK8ppq1WQ5gUSWOcEqEwvEBMo4FivoixoWFhJDyhFDB2vmOnOmqtEsus1CeKyBYwMjmObj4LdsMsV6jpOF62ZlRbJburYGflfZP7MT11TBtGh5bQB01JVgMCOJixoesW2CDfUzTRMtH8Io8ZVE4bXVJMAKn4Sc+lNo1iVDnqjMx85vQgBiVfwyNVFhz0Wi29L4Vs4+FD/ZelWtROrItMhoYwOjYirV+r1THsQQCFamV1BUVWMnFTdxsodKxmoDg8jG32F2WJViVBtpTj/HcMT/AwjsjUi8dWyKvpHIV2fW1DGnb/oUMaHF5vNRRoUQg5pniIfT1ZFaTAIoNeywc2hIsgAfO2VsLhrJOe+lvQlPezWJ7naDYOkWR7Ro6RdQ1kRHwTzaCfDKLGMoW+8PzOzvoOdjfYkL8nZ5Yby4YfuzQXpbJekpvZVre+DBJGfZ2uagIpTKRONKt1tXlUuK3kbAaZchHJ+Kj+m6+UxGLkz4mN0IxSSHg/sgeaLODMFDA+Mi6AlSaIPs/EwQMYm5iwaijSyJzPLuQ/gEdJVHDbzfwJ6hh4fz6n1f05lED/RSXp5jcaTBURk6HtfJ/N1XU8fLCCZr0lv67baqK6tavqZfLHGbmquUWxIN9MTIAGQcwcGr0uduo1VSRnG200N3ewef8h2u0uCpVhNJp1kMQ3OjmByugImDnMloqojAyBU9FoCQQ5sA8YeoIHttY3NeEsGRnC6OiYzDfNYKvfxcGZKUxM7sfQyLDqM8lBU2Qcyf3gb3jvMM7N5uNSu+VLBdCnnb9Jn2p9TtQXUlHSJO5A15cA8czj93Ipp9BSXbJ49M7NWdQ2qpgc36cFYiff9fU1FMtFHD1yVCex0WBkSIaBgXs8eZ02ed5FDU7aeLCClXv3FQFRV9C/GDu0H+PTh5AdStBoNVAu2DwZVRh7uxwmODlmduXBCrbWt/HIyTM6udu1HWzubCEZG8WxU6dEuSkxYGCBhxz8KGwLRNsy/1EmFg3MeEB4utm9ZWd3C6VSQQQ9htcMx+Xwu1OulJTCIrqBBdS2d3D7+g0sLS7p7xPjYzKbaw/XcP8BBxlM4tDBgxohTB9KjjbXuWWOcp01lFlgKKmgvbWD6oN1LN2eRaPVQaaUoF1v4NDhQzhweBpDE+NodFqot9uoDFdUj0nfj1E5d41am/4V12lhcQFD5QoeOXlKAPT61hY2drcxOXUAR04cw/jkfmk38c4iheWUbQU/TpHiw9E1UEU2o/1czqZokaTH7sSMOFKhcnWXJg69GiVFigf6D2xtbmBpbhHV9V0M/39NnblvZGkVxe+rvcqu8trL9EC3BBIJUQdICJBaIkQIaRIIR+IfmJyQCNCE/AEEEExrECICiRTIECRILBq6aXVP46Vtl6tcm6tc6HfO/coeaba2Xa5673t3Offcczo9nfDR6DKG45Ge5MP9feXb2XrulfOqJl4Pwl/n5xe6wSC14/NhHL95GxTGYpW2mrH/3v3Yun8Qs/qN+Ff3tneig12FNmLZN2TNfKkDTG1Su47Y3dqNeqcVq9o6RrNptPq9ePj4i9Hf3bHEM+9B9BKr9TkS27PGqLYPlxcZDJry8Ciisj/X5GtesdKhyr29zSxPI4B1QHohuqOt/vo/L6SSw42iS7thvIGf82IpHrjkpIlUdJzzRdTXlbq24Xgcw9FQXS+vV13N4/LoJGazRdQ7vZhN53Fwfz+2dgeBBej8ZqUHmNHZmri1tmo0KY3oTqSl4SBNbq3r0RcHqhXLGjBILXYfHsbO4YE6SA3IxTDNTeUsh8r2j9fiDLdIXoDuuqri5b+QZ2SbptPsgnOU9jrrfHdAxW0hUeMSuXQzUJSr1WJ2NY35eCbLNeZAMk+6ibgYXsRqvvCT06hivmRToyPNdb7v/N2ZJue0vrVlxPX4Kiqp5qZxe7cVrcGWLli93YwHe4eKVhxaqBZceJB8aCnAEu/fexjXk3lUrWYMDvdpL/X0t7a6GpZC72nmYiTvvwij+aPlcqaQwQ2XecN/B07gxpDGSRmAgKVuUnooqsSy8q1HiyJePH46t7EeGnCk4+P/Seis0+vE6cmpbjT11PZ2P6aTqQ5wv9eL2rrSYgmHiovZJMKTTViZv15Fq70l+jcga9VpxJIAt1rGVn8Qe4cHsvUdT8d6KHrdnmrBd+cXooLTYe61elFxqPvb0Rtsq6Yida7ryBPkdAWoRoRAi8p6adbLpBLdTfRQtsewJdYRr+j+RqcvRCdG54AwplpKNvPuaspsTYX6nYtXCP42LQR1tngZyDVF8Xw619rWaDT0wVtMlRbYvGGSzho5hSR1Ei3p9Pwy1rNFrFD0Q7lXRPp1DAb96G5vxzUfFDyoURdEwes77DbU0pMivvDokQ4PBSRTc2orVvBlCFS6Fvlnun/Vn6uusqCXoAQtb1g8TIAmkAYmkucXMVvMN/oPcJO8reuhqtaWcmHT2zqtzfDVm8u2nCUFLWYsg6zj+O1bdciKuJovXim17vZ70dCyxVhf6/Uw6L7UQwhkwwPYDKJkQxKP3Z1+7N070PWazOfRZPzVqsVkPo13Z2e6TozL1LE2GnHvwYM43D/YgMzW/fRcURlPmvZli7toj1r+3JLgaXNHoZKQg5wv1o14g+oLdresaCHOb8AwyXk5UBVgV4yI8iIWpNvkd0AyWmsX99JPgC48ncXVBD+aZYyGwxhfjWJ3Z6D6AStZ6S1UlYpCgMXhyVlcHJ3E6cmxXuvJl74ch/t7MrfuUJPNZ0ErgVU97+ni7DyGl5cx2NuVgzwFPFsk0p4ETU/RC0MCBPzUX09DcQ7ZhthXdBOy+ZBuSiIF5bPyGehohcekxoEK7ORbFVKc+GapoVBAdW0hpZczNSVbwYxarqUjOtXWC50wN2b/8CC6rYbmbKR2uajjGAGMcnUVJyfHMTo5i4pUv7sfh4/ei63BdnR73aizJAE+dUOv7MMwmfAzpyrY2RYnIsllQpG7CNdmdFa3f8cFIwfjMva8Q8sRDUkWIjmWAlyGpLeuxSsWHyaXryf1RqM7n471y7Tvlk5NhbtdUOkNXSRdzWV3oaGu0B7fCM3oCo62liIJf80Xk00tIr3MZB7yQ3DKyctHn7+Jl/99KRNvxGofPHygjhLEXhoFmFQLcLSrhLg9AI/SwwSIcxcGym93deuCi/qb0UCG4jkG8gq3h8FlBGnbEmsHyKZEdnSV5n4FHiHiCGfjUKVJlK7RXV5VMjxLdNeqWjItILPxrRwi4Cs6WKUW4IFOK1pNz9sK6k+U4/WBSmhKXv7z3xGLKg7u3Y/3nzyOZret7MBfzFe5vqR6wGXeY9FeVzGtcRUZwQxaImphiYgQqDrS76VsOZUu2FWBZ5dyqOdQXXu8h5MYIrmf/ePvXntvtNlQtsTOZvMjOdd64UTPi21YAQylFwAyjGWF/hDhiTtanOzYp8QQfTF7f1ZgM5+7FIF+/ZogiHdnpxp57Ag/6QrmoEg3Lz0NFSERgjGmAwQEQ+FWJfcj5k+kSmikiL4SccufcwGtQ1CAXKuuENHKZKEsE/D0wjcjohaxMy0+6FDl6yRDoqRTo+23FF3P8DwUXyYupv/PAlbWZijcra6jDuiaaUXNUdmc1pjsJo4/P47J5Uwur/3+1mYnbzNCAT5JerUklIANkkyn91e8FBPhVyzIJdoys7zLhi1BRbFDCADlgTtwPoOxQTResRH5zDVVu9ftSguzCGGVuH2HvGbkmMGsv6gnMKV8mLdpOKxUWBRYin54GUyK5Oo6LbEiH84U6ZK+pWVbOFTMvkodp8gikTJ4VzANvYqtKJT7g3o/SeUo7MqSnguNplBgN0sNpPtCXdnMAH2By+u7sgpjYbkBVA7WXWqyzkYyO0QfygNdOFSls+a9LwukoSLYdRm/hPafJqcCmEoGrSjLYnEUKUbGVQyWITneOlqoTpT++lr4kiDc7G6tyX7ren+byrxq5cWGW2nxwg0rh08SAHjpYMGWAUbPIhvKKUWkDeWi+jK5eD1ptptdK885zN79W09r2YPT2naRknFnIARW7aatxmoNYxdusdMFU25Xpk5wsxiZ8DU5RCUOpE4pjXgoQAuthQ8sqopwKZ64hdKSxbxMZ9Xyqm5K1oSZ1gp+JPggb4wwFjEYrQEgizR1NownTBNGyLV41BCNtaY2Gmmbhv9msF4KdW6ADm/Z78s0ZrUWS3s7Ertuoe3mGpZzooORHn/+zFCugTbSRYsbKvsR/15tIMlS2MN0r0+xnJsta7IalKYaOMgavAQG4SLJUDyNEHJB8XZXsZAIcxqgmpMAoA1wouhScJAVazgrgMSe48pxvgJRfzGtlrOTaa1WdRDoMKXFU+hiWWYF29ycUIh35HG2M9fILgtFxMwYjiNHytlU3Hyrw5VtVztbpXWIJt+WYzbDMwtHaW+6eFQjkEIRG1pJumjpIZCpUKbh7Og2vyM3P8ygTHpLHqSSMuzC5d9jtwjrRrnwNsYjkp6MuD0Y5jBznUpxq2G83sPtbqIZm+nbvFkepTbk5mTn6fmE05/Ezsyz8miMr7mOKfJEOpjEItgg6u/zIaZWQ9yMiEW0q+yFo8yQD7m2u/T9/l1leGz2qhdEdD03YrP5HsoU5Q6GuSnWmcEyJWl14vjN61k1Hb+ZtLvb3fnVueB/ocJaRPR2CE+G13fsRVN4OBT1RBZO80I/B3mtitXCdmLFEbRs2TJ/YySuMQxFsNp4ilEgibyA5YaUtp6vq5vz8oPmURS4CNBmjcLPms9jRqalh1Zq8xkeW73FK0wUvyD2vG9bzxUNdT8k+tyAs/CtoP2oCTHzVH59VxNtr4ANQX0RDyoLXbEvU6BVkatuSowVnu266vqN6GFinpZAMWGiJuGwclho12tFZjGVBTM9ch5Ex9EOQTvWRCHoQ0QWbtMyj2AjYlW3rpT0HjSgpL6FfcHBt1CbVrdyhupo1jTHK++/QOE7n8kRyy5pNFOUOos5+wDX0Rvsx/KmEX/9yx8vqz/8/pd//taz73612Yj+8nrMGY9VSjXK9kJFmVOaVOskPU1R3IqKN7iEFUjnkdjMxoDRvHNFhvSCsfA9B847ZVAz7H8HqW4VFNzW9nTI5zV9UXyo5FcjzW8OexZ+ScfhNbUBwyBaBx3dSkdAUF8wGlKnur9Mp/aAySiRUXJjLQf5jFSrLqwmPjeFOh1YDQwqKT5eZyI9l5ryNkq7UOcsk/5xmyDi8N6NpVnEba7PstFbSCGTJHsoqPCPsl5veQIfANlAcljSyJFUJ8lwHu5qKbU8fZ/OlDnrXg417dmdcNrjJpip+yxzycxWUkZ2s6ADL7XxzDK5Vd5ogAnuxdHRq+HPfvLjP1UffPC1Zx999KPvPH367HvdbvWViEXNsnukNf7tjVXsMbgBtYqxtNMkmp8u9HgK0w2TrkAhO/k5SVJzISgTkGRD8MZt/OiZG1ffqH7UDAVYc07HXI5NnveBOZlyax1vDiFEM8sQpQiAD7NXMxnMRKyZbeauGnRcZQw6RL7GIbeuZgUlUHVECrCqQVnH9VWqvrR5mGwRp7pL9aRdz9Ee4DWNUuQ1SAeZ9dpkP18bPh/fbyKhFZWNo7GKrm0jZagyOuK6OMLLD0j/Jl35YOl19DYNRqre4XX0wPlzuqYi0tyqA5JdstpMtmvpB0qBcVtTSTP0xnCMyhvpMbA2T3rtxNnZ8N1vPv3Vb3/68ce/0Kf89jeePv7Bhx9+/9k3v/7Ddrf9RAVjhm3RGuSVt5TPDDQJTrtZDUQhgExrT4Gml6PAE2NpaR+PjQQ1c74rFkurGOzuGVPSBm3LimzUYYoqNuOhJqCuIuU4XZW0WRN+hTQRGqQ8sXIOzUaA1KMUJ41Rk/MAR3XtRZPGdnYVW1uoAd/oPXXbXQ1hxfZM4yBehx8aXVKoT6WsQkRkkI3QF086zEdRhhtNYU6cnS4zNd1cU0TgYknOcU154TqrCKJ7f9DIPLmRyEhTwD3Aw4YmwrgbFG3o0ETkQnkG3V4qihS9VDaQeRB73baoNPzsoD/Qw6wONuEOeQjxfuTRaKanGxrmfS6DnJpRz7mx44co5dwrBwDGTUdHby8/ef7p754///XP374d/u3/O9Am/GhLO4oAAAAASUVORK5CYII="},29831:function(an,Je,t){an.exports=t.p+"static/touge_code.728ce351.jpg"},75694:function(an,Je,t){an.exports=t.p+"static/touge_code6.e67b4cee.jpg"},16722:function(an,Je,t){t.d(Je,{Z:function(){return Z}});const e=K=>typeof K=="object"&&K!=null&&K.nodeType===1,d=(K,r)=>(!r||K!=="hidden")&&K!=="visible"&&K!=="clip",i=(K,r)=>{if(K.clientHeight{const P=(me=>{if(!me.ownerDocument||!me.ownerDocument.defaultView)return null;try{return me.ownerDocument.defaultView.frameElement}catch(lt){return null}})(M);return!!P&&(P.clientHeightmer||me>K&<=r&&Fe>=V?me-K-M:lt>r&&FeV?lt-r+P:0,x=K=>{const r=K.parentElement;return r==null?K.getRootNode().host||null:r},D=(K,r)=>{var V,M,P,me;if(typeof document=="undefined")return[];const{scrollMode:lt,block:Fe,inline:Pe,boundary:Ve,skipOverflowHiddenElements:C}=r,he=typeof Ve=="function"?Ve:tt=>tt!==Ve;if(!e(K))throw new TypeError("Invalid target");const s=document.scrollingElement||document.documentElement,h=[];let oe=K;for(;e(oe)&&he(oe);){if(oe=x(oe),oe===s){h.push(oe);break}oe!=null&&oe===document.body&&i(oe)&&!i(document.documentElement)||oe!=null&&i(oe,C)&&h.push(oe)}const le=(M=(V=window.visualViewport)==null?void 0:V.width)!=null?M:innerWidth,v=(me=(P=window.visualViewport)==null?void 0:P.height)!=null?me:innerHeight,{scrollX:je,scrollY:Oe}=window,{height:ne,width:Re,top:de,right:H,bottom:n,left:ce}=K.getBoundingClientRect(),{top:T,right:ze,bottom:xe,left:We}=(tt=>{const q=window.getComputedStyle(tt);return{top:parseFloat(q.scrollMarginTop)||0,right:parseFloat(q.scrollMarginRight)||0,bottom:parseFloat(q.scrollMarginBottom)||0,left:parseFloat(q.scrollMarginLeft)||0}})(K);let st=Fe==="start"||Fe==="nearest"?de-T:Fe==="end"?n+xe:de+ne/2-T+xe,at=Pe==="center"?ce+Re/2-We+ze:Pe==="end"?H+ze:ce-We;const Ae=[];for(let tt=0;tt=0&&ce>=0&&n<=v&&H<=le&&(q===s&&!i(q)||de>=Qe&&n<=qe&&ce>=Ke&&H<=ie))return Ae;const bt=getComputedStyle(q),Te=parseInt(bt.borderLeftWidth,10),k=parseInt(bt.borderTopWidth,10),R=parseInt(bt.borderRightWidth,10),U=parseInt(bt.borderBottomWidth,10);let p=0,fe=0;const z="offsetWidth"in q?q.offsetWidth-q.clientWidth-Te-R:0,o="offsetHeight"in q?q.offsetHeight-q.clientHeight-k-U:0,f="offsetWidth"in q?q.offsetWidth===0?0:ge/q.offsetWidth:0,se="offsetHeight"in q?q.offsetHeight===0?0:Se/q.offsetHeight:0;if(s===q)p=Fe==="start"?st:Fe==="end"?st-v:Fe==="nearest"?L(Oe,Oe+v,v,k,U,Oe+st,Oe+st+ne,ne):st-v/2,fe=Pe==="start"?at:Pe==="center"?at-le/2:Pe==="end"?at-le:L(je,je+le,le,Te,R,je+at,je+at+Re,Re),p=Math.max(0,p+Oe),fe=Math.max(0,fe+je);else{p=Fe==="start"?st-Qe-k:Fe==="end"?st-qe+U+o:Fe==="nearest"?L(Qe,qe,Se,k,U+o,st,st+ne,ne):st-(Qe+Se/2)+o/2,fe=Pe==="start"?at-Ke-Te:Pe==="center"?at-(Ke+ge/2)+z/2:Pe==="end"?at-ie+R+z:L(Ke,ie,ge,Te,R+z,at,at+Re,Re);const{scrollLeft:_,scrollTop:$}=q;p=se===0?0:Math.max(0,Math.min($+p/se,q.scrollHeight-Se/se+o)),fe=f===0?0:Math.max(0,Math.min(_+fe/f,q.scrollWidth-ge/f+z)),st+=$-p,at+=_-fe}Ae.push({el:q,top:p,left:fe})}return Ae},E=K=>K===!1?{block:"end",inline:"nearest"}:(r=>r===Object(r)&&Object.keys(r).length!==0)(K)?K:{block:"start",inline:"nearest"};function Z(K,r){if(!K.isConnected||!(P=>{let me=P;for(;me&&me.parentNode;){if(me.parentNode===document)return!0;me=me.parentNode instanceof ShadowRoot?me.parentNode.host:me.parentNode}return!1})(K))return;const V=(P=>{const me=window.getComputedStyle(P);return{top:parseFloat(me.scrollMarginTop)||0,right:parseFloat(me.scrollMarginRight)||0,bottom:parseFloat(me.scrollMarginBottom)||0,left:parseFloat(me.scrollMarginLeft)||0}})(K);if((P=>typeof P=="object"&&typeof P.behavior=="function")(r))return r.behavior(D(K,r));const M=typeof r=="boolean"||r==null?void 0:r.behavior;for(const{el:P,top:me,left:lt}of D(K,E(r))){const Fe=me-V.top+V.bottom,Pe=lt-V.left+V.right;P.scroll({top:Fe,left:Pe,behavior:M})}}}}]); +`,C=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],he={},s;function h(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=T.getAttribute("id")||T.getAttribute("data-reactid")||T.getAttribute("name");if(ze&&he[xe])return he[xe];var We=window.getComputedStyle(T),st=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),at=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Ae=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),tt=C.map(function(Se){return"".concat(Se,":").concat(We.getPropertyValue(Se))}).join(";"),q={sizingStyle:tt,paddingSize:at,borderSize:Ae,boxSizing:st};return ze&&xe&&(he[xe]=q),q}function oe(T){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;s||(s=document.createElement("textarea"),s.setAttribute("tab-index","-1"),s.setAttribute("aria-hidden","true"),s.setAttribute("name","hiddenTextarea"),document.body.appendChild(s)),T.getAttribute("wrap")?s.setAttribute("wrap",T.getAttribute("wrap")):s.removeAttribute("wrap");var st=h(T,ze),at=st.paddingSize,Ae=st.borderSize,tt=st.boxSizing,q=st.sizingStyle;s.setAttribute("style","".concat(q,";").concat(Ve)),s.value=T.value||T.placeholder||"";var Se=void 0,ge=void 0,Qe,ie=s.scrollHeight;if(tt==="border-box"?ie+=Ae:tt==="content-box"&&(ie-=at),xe!==null||We!==null){s.value=" ";var qe=s.scrollHeight-at;xe!==null&&(Se=qe*xe,tt==="border-box"&&(Se=Se+at+Ae),ie=Math.max(Se,ie)),We!==null&&(ge=qe*We,tt==="border-box"&&(ge=ge+at+Ae),Qe=ie>ge?"":"hidden",ie=Math.min(ge,ie))}var Ke={height:ie,overflowY:Qe,resize:"none"};return Se&&(Ke.minHeight=Se),ge&&(Ke.maxHeight=ge),Ke}var le=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],v=0,je=1,Oe=2,ne=P.forwardRef(function(T,ze){var xe=T,We=xe.prefixCls,st=xe.defaultValue,at=xe.value,Ae=xe.autoSize,tt=xe.onResize,q=xe.className,Se=xe.style,ge=xe.disabled,Qe=xe.onChange,ie=xe.onInternalAutoSize,qe=(0,D.Z)(xe,le),Ke=(0,M.Z)(st,{value:at,postState:function(pe){return pe!=null?pe:""}}),bt=(0,x.Z)(Ke,2),Te=bt[0],k=bt[1],R=function(pe){k(pe.target.value),Qe==null||Qe(pe)},X=P.useRef();P.useImperativeHandle(ze,function(){return{textArea:X.current}});var p=P.useMemo(function(){return Ae&&(0,me.Z)(Ae)==="object"?[Ae.minRows,Ae.maxRows]:[]},[Ae]),fe=(0,x.Z)(p,2),z=fe[0],o=fe[1],f=!!Ae,se=function(){try{if(document.activeElement===X.current){var pe=X.current,Ze=pe.selectionStart,Ue=pe.selectionEnd,ot=pe.scrollTop;X.current.setSelectionRange(Ze,Ue),X.current.scrollTop=ot}}catch(Tt){}},_=P.useState(Oe),$=(0,x.Z)(_,2),N=$[0],G=$[1],ue=P.useState(),c=(0,x.Z)(ue,2),y=c[0],Ge=c[1],W=function(){G(v)};(0,Fe.Z)(function(){f&&W()},[at,z,o,f]),(0,Fe.Z)(function(){if(N===v)G(je);else if(N===je){var w=oe(X.current,!1,z,o);G(Oe),Ge(w)}else se()},[N]);var Le=P.useRef(),He=function(){Pe.Z.cancel(Le.current)},nt=function(pe){N===Oe&&(tt==null||tt(pe),Ae&&(He(),Le.current=(0,Pe.Z)(function(){W()})))};P.useEffect(function(){return He},[]);var it=f?y:null,et=(0,i.Z)((0,i.Z)({},Se),it);return(N===v||N===je)&&(et.overflowY="hidden",et.overflowX="hidden"),P.createElement(lt.Z,{onResize:nt,disabled:!(Ae||tt)},P.createElement("textarea",(0,e.Z)({},qe,{ref:X,style:et,className:Z()(We,q,(0,d.Z)({},"".concat(We,"-disabled"),ge)),disabled:ge,value:Te,onChange:R})))}),Re=ne,de=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],H=P.forwardRef(function(T,ze){var xe,We=T.defaultValue,st=T.value,at=T.onFocus,Ae=T.onBlur,tt=T.onChange,q=T.allowClear,Se=T.maxLength,ge=T.onCompositionStart,Qe=T.onCompositionEnd,ie=T.suffix,qe=T.prefixCls,Ke=qe===void 0?"rc-textarea":qe,bt=T.showCount,Te=T.count,k=T.className,R=T.style,X=T.disabled,p=T.hidden,fe=T.classNames,z=T.styles,o=T.onResize,f=T.onClear,se=T.onPressEnter,_=T.readOnly,$=T.autoSize,N=T.onKeyDown,G=(0,D.Z)(T,de),ue=(0,M.Z)(We,{value:st,defaultValue:We}),c=(0,x.Z)(ue,2),y=c[0],Ge=c[1],W=y==null?"":String(y),Le=P.useState(!1),He=(0,x.Z)(Le,2),nt=He[0],it=He[1],et=P.useRef(!1),w=P.useState(null),pe=(0,x.Z)(w,2),Ze=pe[0],Ue=pe[1],ot=(0,P.useRef)(null),Tt=(0,P.useRef)(null),ct=function(){var Fn;return(Fn=Tt.current)===null||Fn===void 0?void 0:Fn.textArea},dt=function(){ct().focus()};(0,P.useImperativeHandle)(ze,function(){var bn;return{resizableTextArea:Tt.current,focus:dt,blur:function(){ct().blur()},nativeElement:((bn=ot.current)===null||bn===void 0?void 0:bn.nativeElement)||ct()}}),(0,P.useEffect)(function(){it(function(bn){return!X&&bn})},[X]);var Rt=P.useState(null),Vt=(0,x.Z)(Rt,2),Ht=Vt[0],Xt=Vt[1];P.useEffect(function(){if(Ht){var bn;(bn=ct()).setSelectionRange.apply(bn,(0,L.Z)(Ht))}},[Ht]);var wt=(0,r.Z)(Te,bt),Ut=(xe=wt.max)!==null&&xe!==void 0?xe:Se,yt=Number(Ut)>0,Bt=wt.strategy(W),Pt=!!Ut&&Bt>Ut,kt=function(Fn,_n){var Jn=_n;!et.current&&wt.exceedFormatter&&wt.max&&wt.strategy(_n)>wt.max&&(Jn=wt.exceedFormatter(_n,{max:wt.max}),_n!==Jn&&Xt([ct().selectionStart||0,ct().selectionEnd||0])),Ge(Jn),(0,U.rJ)(Fn.currentTarget,Fn,tt,Jn)},Wt=function(Fn){et.current=!0,ge==null||ge(Fn)},pt=function(Fn){et.current=!1,kt(Fn,Fn.currentTarget.value),Qe==null||Qe(Fn)},Lt=function(Fn){kt(Fn,Fn.target.value)},ln=function(Fn){Fn.key==="Enter"&&se&&se(Fn),N==null||N(Fn)},rn=function(Fn){it(!0),at==null||at(Fn)},xn=function(Fn){it(!1),Ae==null||Ae(Fn)},Dn=function(Fn){Ge(""),dt(),(0,U.rJ)(ct(),Fn,tt)},Mn=ie,tn;wt.show&&(wt.showFormatter?tn=wt.showFormatter({value:W,count:Bt,maxLength:Ut}):tn="".concat(Bt).concat(yt?" / ".concat(Ut):""),Mn=P.createElement(P.Fragment,null,Mn,P.createElement("span",{className:Z()("".concat(Ke,"-data-count"),fe==null?void 0:fe.count),style:z==null?void 0:z.count},tn)));var Nn=function(Fn){var _n;o==null||o(Fn),(_n=ct())!==null&&_n!==void 0&&_n.style.height&&Ue(!0)},Pn=!$&&!bt&&!q;return P.createElement(K.BaseInput,{ref:ot,value:W,allowClear:q,handleReset:Dn,suffix:Mn,prefixCls:Ke,classNames:(0,i.Z)((0,i.Z)({},fe),{},{affixWrapper:Z()(fe==null?void 0:fe.affixWrapper,(0,d.Z)((0,d.Z)({},"".concat(Ke,"-show-count"),bt),"".concat(Ke,"-textarea-allow-clear"),q))}),disabled:X,focused:nt,className:Z()(k,Pt&&"".concat(Ke,"-out-of-range")),style:(0,i.Z)((0,i.Z)({},R),Ze&&!Pn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tn=="string"?tn:void 0}},hidden:p,readOnly:_,onClear:f},P.createElement(Re,(0,e.Z)({},G,{autoSize:$,maxLength:Se,onKeyDown:ln,onChange:Lt,onFocus:rn,onBlur:xn,onCompositionStart:Wt,onCompositionEnd:pt,className:Z()(fe==null?void 0:fe.textarea),style:(0,i.Z)((0,i.Z)({},z==null?void 0:z.textarea),{},{resize:R==null?void 0:R.resize}),disabled:X,prefixCls:Ke,onResize:Nn,ref:Tt,readOnly:_})))}),n=H,ce=n},29125:function(an,Je,t){t.d(Je,{G:function(){return L},Z:function(){return Ve}});var e=t(92310),d=t.n(e),i=t(59301);function L(C){var he=C.children,s=C.prefixCls,h=C.id,oe=C.overlayInnerStyle,le=C.bodyClassName,v=C.className,je=C.style;return i.createElement("div",{className:d()("".concat(s,"-content"),v),style:je},i.createElement("div",{className:d()("".concat(s,"-inner"),le),id:h,role:"tooltip",style:oe},typeof he=="function"?he():he))}var x=t(54476),D=t(33885),E=t(75931),Z=t(65030),K={shiftX:64,adjustY:1},r={adjustX:1,shiftY:!0},U=[0,0],M={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:U},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:U},top:{points:["bc","tc"],overflow:K,offset:[0,-4],targetOffset:U},bottom:{points:["tc","bc"],overflow:K,offset:[0,4],targetOffset:U},topLeft:{points:["bl","tl"],overflow:K,offset:[0,-4],targetOffset:U},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:U},topRight:{points:["br","tr"],overflow:K,offset:[0,-4],targetOffset:U},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:U},bottomRight:{points:["tr","br"],overflow:K,offset:[0,4],targetOffset:U},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:U},bottomLeft:{points:["tl","bl"],overflow:K,offset:[0,4],targetOffset:U},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:U}},P=null,me=t(80402),lt=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Fe=function(he,s){var h=he.overlayClassName,oe=he.trigger,le=oe===void 0?["hover"]:oe,v=he.mouseEnterDelay,je=v===void 0?0:v,Oe=he.mouseLeaveDelay,ne=Oe===void 0?.1:Oe,Re=he.overlayStyle,de=he.prefixCls,H=de===void 0?"rc-tooltip":de,n=he.children,ce=he.onVisibleChange,T=he.afterVisibleChange,ze=he.transitionName,xe=he.animation,We=he.motion,st=he.placement,at=st===void 0?"right":st,Ae=he.align,tt=Ae===void 0?{}:Ae,q=he.destroyTooltipOnHide,Se=q===void 0?!1:q,ge=he.defaultVisible,Qe=he.getTooltipContainer,ie=he.overlayInnerStyle,qe=he.arrowContent,Ke=he.overlay,bt=he.id,Te=he.showArrow,k=Te===void 0?!0:Te,R=he.classNames,X=he.styles,p=(0,E.Z)(he,lt),fe=(0,me.Z)(bt),z=(0,i.useRef)(null);(0,i.useImperativeHandle)(s,function(){return z.current});var o=(0,D.Z)({},p);"visible"in he&&(o.popupVisible=he.visible);var f=function(){return i.createElement(L,{key:"content",prefixCls:H,id:fe,bodyClassName:R==null?void 0:R.body,overlayInnerStyle:(0,D.Z)((0,D.Z)({},ie),X==null?void 0:X.body)},Ke)},se=function(){var $=i.Children.only(n),N=($==null?void 0:$.props)||{},G=(0,D.Z)((0,D.Z)({},N),{},{"aria-describedby":Ke?fe:null});return i.cloneElement(n,G)};return i.createElement(Z.Z,(0,x.Z)({popupClassName:d()(h,R==null?void 0:R.root),prefixCls:H,popup:f,action:le,builtinPlacements:M,popupPlacement:at,ref:z,popupAlign:tt,getPopupContainer:Qe,onPopupVisibleChange:ce,afterPopupVisibleChange:T,popupTransitionName:ze,popupAnimation:xe,popupMotion:We,defaultPopupVisible:ge,autoDestroy:Se,mouseLeaveDelay:ne,popupStyle:(0,D.Z)((0,D.Z)({},Re),X==null?void 0:X.root),mouseEnterDelay:je,arrow:k},o),se())},Pe=(0,i.forwardRef)(Fe),Ve=Pe},639:function(an,Je,t){t.d(Je,{Z:function(){return he}});var e=t(54476),d=t(20068),i=t(33885),L=t(42978),x=t(75931),D=t(59301),E=t(92310),Z=t.n(E),K=t(26112),r=t(30699),U=function(h){for(var oe=h.prefixCls,le=h.level,v=h.isStart,je=h.isEnd,Oe="".concat(oe,"-indent-unit"),ne=[],Re=0;Re0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=p.length,o=fe.length;if(Math.abs(z-o)!==1)return{add:!1,key:null};function f(se,_){var $=new Map;se.forEach(function(G){$.set(G,!0)});var N=_.filter(function(G){return!$.has(G)});return N.length===1?N[0]:null}return z ").concat(fe);return fe}var Qe=Fe.forwardRef(function(p,fe){var z=p.prefixCls,o=p.data,f=p.selectable,se=p.checkable,_=p.expandedKeys,$=p.selectedKeys,N=p.checkedKeys,G=p.loadedKeys,ue=p.loadingKeys,c=p.halfCheckedKeys,y=p.keyEntities,Ge=p.disabled,W=p.dragging,Le=p.dragOverNodeKey,He=p.dropPosition,nt=p.motion,it=p.height,et=p.itemHeight,w=p.virtual,pe=p.scrollWidth,Ze=p.focusable,Ue=p.activeItem,ot=p.focused,Tt=p.tabIndex,ct=p.onKeyDown,dt=p.onFocus,Rt=p.onBlur,Vt=p.onActiveChange,Ht=p.onListChangeStart,Xt=p.onListChangeEnd,wt=(0,h.Z)(p,ze),Ut=Fe.useRef(null),yt=Fe.useRef(null);Fe.useImperativeHandle(fe,function(){return{scrollTo:function(re){Ut.current.scrollTo(re)},getIndentWidth:function(){return yt.current.offsetWidth}}});var Bt=Fe.useState(_),Pt=(0,s.Z)(Bt,2),kt=Pt[0],Wt=Pt[1],pt=Fe.useState(o),Lt=(0,s.Z)(pt,2),ln=Lt[0],rn=Lt[1],xn=Fe.useState(o),Dn=(0,s.Z)(xn,2),Mn=Dn[0],tn=Dn[1],Nn=Fe.useState([]),Pn=(0,s.Z)(Nn,2),bn=Pn[0],Fn=Pn[1],_n=Fe.useState(null),Jn=(0,s.Z)(_n,2),Be=Jn[0],Ie=Jn[1],I=Fe.useRef(o);I.current=o;function Y(){var g=I.current;rn(g),tn(g),Fn([]),Ie(null),Xt()}(0,oe.Z)(function(){Wt(_);var g=ce(kt,_);if(g.key!==null)if(g.add){var re=ln.findIndex(function(j){var O=j.key;return O===g.key}),De=q(T(ln,o,g.key),w,it,et),u=ln.slice();u.splice(re+1,0,tt),tn(u),Fn(De),Ie("show")}else{var S=o.findIndex(function(j){var O=j.key;return O===g.key}),A=q(T(o,ln,g.key),w,it,et),ve=o.slice();ve.splice(S+1,0,tt),tn(ve),Fn(A),Ie("hide")}else ln!==o&&(rn(o),tn(o))},[_,o]),Fe.useEffect(function(){W||Y()},[W]);var be=nt?Mn:o,ye={expandedKeys:_,selectedKeys:$,loadedKeys:G,loadingKeys:ue,checkedKeys:N,halfCheckedKeys:c,dragOverNodeKey:Le,dropPosition:He,keyEntities:y};return Fe.createElement(Fe.Fragment,null,ot&&Ue&&Fe.createElement("span",{style:xe,"aria-live":"assertive"},ge(Ue)),Fe.createElement("div",null,Fe.createElement("input",{style:xe,disabled:Ze===!1||Ge,tabIndex:Ze!==!1?Tt:null,onKeyDown:ct,onFocus:dt,onBlur:Rt,value:"",onChange:We,"aria-label":"for screen reader"})),Fe.createElement("div",{className:"".concat(z,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Fe.createElement("div",{className:"".concat(z,"-indent")},Fe.createElement("div",{ref:yt,className:"".concat(z,"-indent-unit")}))),Fe.createElement(le.Z,(0,e.Z)({},wt,{data:be,itemKey:Se,height:it,fullHeight:!1,virtual:w,itemHeight:et,scrollWidth:pe,prefixCls:"".concat(z,"-list"),ref:Ut,role:"tree",onVisibleChange:function(re){re.every(function(De){return Se(De)!==st})&&Y()}}),function(g){var re=g.pos,De=Object.assign({},(he(g.data),g.data)),u=g.title,S=g.key,A=g.isStart,ve=g.isEnd,j=(0,Re.km)(S,re);delete De.key,delete De.children;var O=(0,Re.H8)(j,ye);return Fe.createElement(n,(0,e.Z)({},De,O,{title:u,active:!!Ue&&S===Ue.key,pos:re,data:g.data,isStart:A,isEnd:ve,motion:nt,motionNodes:S===st?bn:null,motionType:Be,onMotionStart:Ht,onMotionEnd:Y,treeNodeRequiredProps:ye,onMouseMove:function(){Vt(null)}}))}))}),ie=Qe,qe=t(82661),Ke=t(34643),bt=t(65065),Te=10,k=function(p){(0,Z.Z)(z,p);var fe=(0,K.Z)(z);function z(){var o;(0,x.Z)(this,z);for(var f=arguments.length,se=new Array(f),_=0;_2&&arguments[2]!==void 0?arguments[2]:!1,c=o.state,y=c.dragChildrenKeys,Ge=c.dropPosition,W=c.dropTargetKey,Le=c.dropTargetPos,He=c.dropAllowed;if(He){var nt=o.props.onDrop;if(o.setState({dragOverNodeKey:null}),o.cleanDragState(),W!==null){var it=(0,i.Z)((0,i.Z)({},(0,Re.H8)(W,o.getTreeNodeRequiredProps())),{},{active:((G=o.getActiveItem())===null||G===void 0?void 0:G.key)===W,data:(0,bt.Z)(o.state.keyEntities,W).node}),et=y.includes(W);(0,lt.ZP)(!et,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=(0,qe.yx)(Le),pe={event:$,node:(0,Re.F)(it),dragNode:o.dragNodeProps?(0,Re.F)(o.dragNodeProps):null,dragNodesKeys:[o.dragNodeProps.eventKey].concat(y),dropToGap:Ge!==0,dropPosition:Ge+Number(w[w.length-1])};ue||nt==null||nt(pe),o.dragNodeProps=null}}}),(0,r.Z)((0,E.Z)(o),"cleanDragState",function(){var $=o.state.draggingNodeKey;$!==null&&o.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),o.dragStartMousePosition=null,o.currentMouseOverDroppableNodeKey=null}),(0,r.Z)((0,E.Z)(o),"triggerExpandActionExpand",function($,N){var G=o.state,ue=G.expandedKeys,c=G.flattenNodes,y=N.expanded,Ge=N.key,W=N.isLeaf;if(!(W||$.shiftKey||$.metaKey||$.ctrlKey)){var Le=c.filter(function(nt){return nt.key===Ge})[0],He=(0,Re.F)((0,i.Z)((0,i.Z)({},(0,Re.H8)(Ge,o.getTreeNodeRequiredProps())),{},{data:Le.data}));o.setExpandedKeys(y?(0,qe._5)(ue,Ge):(0,qe.L0)(ue,Ge)),o.onNodeExpand($,He)}}),(0,r.Z)((0,E.Z)(o),"onNodeClick",function($,N){var G=o.props,ue=G.onClick,c=G.expandAction;c==="click"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeDoubleClick",function($,N){var G=o.props,ue=G.onDoubleClick,c=G.expandAction;c==="doubleClick"&&o.triggerExpandActionExpand($,N),ue==null||ue($,N)}),(0,r.Z)((0,E.Z)(o),"onNodeSelect",function($,N){var G=o.state.selectedKeys,ue=o.state,c=ue.keyEntities,y=ue.fieldNames,Ge=o.props,W=Ge.onSelect,Le=Ge.multiple,He=N.selected,nt=N[y.key],it=!He;it?Le?G=(0,qe.L0)(G,nt):G=[nt]:G=(0,qe._5)(G,nt);var et=G.map(function(w){var pe=(0,bt.Z)(c,w);return pe?pe.node:null}).filter(Boolean);o.setUncontrolledState({selectedKeys:G}),W==null||W(G,{event:"select",selected:it,node:N,selectedNodes:et,nativeEvent:$.nativeEvent})}),(0,r.Z)((0,E.Z)(o),"onNodeCheck",function($,N,G){var ue=o.state,c=ue.keyEntities,y=ue.checkedKeys,Ge=ue.halfCheckedKeys,W=o.props,Le=W.checkStrictly,He=W.onCheck,nt=N.key,it,et={event:"check",node:N,checked:G,nativeEvent:$.nativeEvent};if(Le){var w=G?(0,qe.L0)(y,nt):(0,qe._5)(y,nt),pe=(0,qe._5)(Ge,nt);it={checked:w,halfChecked:pe},et.checkedNodes=w.map(function(dt){return(0,bt.Z)(c,dt)}).filter(Boolean).map(function(dt){return dt.node}),o.setUncontrolledState({checkedKeys:w})}else{var Ze=(0,Ke.S)([].concat((0,L.Z)(y),[nt]),!0,c),Ue=Ze.checkedKeys,ot=Ze.halfCheckedKeys;if(!G){var Tt=new Set(Ue);Tt.delete(nt);var ct=(0,Ke.S)(Array.from(Tt),{checked:!1,halfCheckedKeys:ot},c);Ue=ct.checkedKeys,ot=ct.halfCheckedKeys}it=Ue,et.checkedNodes=[],et.checkedNodesPositions=[],et.halfCheckedKeys=ot,Ue.forEach(function(dt){var Rt=(0,bt.Z)(c,dt);if(Rt){var Vt=Rt.node,Ht=Rt.pos;et.checkedNodes.push(Vt),et.checkedNodesPositions.push({node:Vt,pos:Ht})}}),o.setUncontrolledState({checkedKeys:Ue},!1,{halfCheckedKeys:ot})}He==null||He(it,et)}),(0,r.Z)((0,E.Z)(o),"onNodeLoad",function($){var N,G=$.key,ue=o.state.keyEntities,c=(0,bt.Z)(ue,G);if(!(c!=null&&(N=c.children)!==null&&N!==void 0&&N.length)){var y=new Promise(function(Ge,W){o.setState(function(Le){var He=Le.loadedKeys,nt=He===void 0?[]:He,it=Le.loadingKeys,et=it===void 0?[]:it,w=o.props,pe=w.loadData,Ze=w.onLoad;if(!pe||nt.includes(G)||et.includes(G))return null;var Ue=pe($);return Ue.then(function(){var ot=o.state.loadedKeys,Tt=(0,qe.L0)(ot,G);Ze==null||Ze(Tt,{event:"load",node:$}),o.setUncontrolledState({loadedKeys:Tt}),o.setState(function(ct){return{loadingKeys:(0,qe._5)(ct.loadingKeys,G)}}),Ge()}).catch(function(ot){if(o.setState(function(ct){return{loadingKeys:(0,qe._5)(ct.loadingKeys,G)}}),o.loadingRetryTimes[G]=(o.loadingRetryTimes[G]||0)+1,o.loadingRetryTimes[G]>=Te){var Tt=o.state.loadedKeys;(0,lt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),o.setUncontrolledState({loadedKeys:(0,qe.L0)(Tt,G)}),Ge()}W(ot)}),{loadingKeys:(0,qe.L0)(et,G)}})});return y.catch(function(){}),y}}),(0,r.Z)((0,E.Z)(o),"onNodeMouseEnter",function($,N){var G=o.props.onMouseEnter;G==null||G({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeMouseLeave",function($,N){var G=o.props.onMouseLeave;G==null||G({event:$,node:N})}),(0,r.Z)((0,E.Z)(o),"onNodeContextMenu",function($,N){var G=o.props.onRightClick;G&&($.preventDefault(),G({event:$,node:N}))}),(0,r.Z)((0,E.Z)(o),"onFocus",function(){var $=o.props.onFocus;o.setState({focused:!0});for(var N=arguments.length,G=new Array(N),ue=0;ue1&&arguments[1]!==void 0?arguments[1]:!1,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!o.destroyed){var ue=!1,c=!0,y={};Object.keys($).forEach(function(Ge){if(o.props.hasOwnProperty(Ge)){c=!1;return}ue=!0,y[Ge]=$[Ge]}),ue&&(!N||c)&&o.setState((0,i.Z)((0,i.Z)({},y),G))}}),(0,r.Z)((0,E.Z)(o),"scrollTo",function($){o.listRef.current.scrollTo($)}),o}return(0,D.Z)(z,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var f=this.props,se=f.activeKey,_=f.itemScrollOffset,$=_===void 0?0:_;se!==void 0&&se!==this.state.activeKey&&(this.setState({activeKey:se}),se!==null&&this.scrollTo({key:se,offset:$}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var f=this.state,se=f.focused,_=f.flattenNodes,$=f.keyEntities,N=f.draggingNodeKey,G=f.activeKey,ue=f.dropLevelOffset,c=f.dropContainerKey,y=f.dropTargetKey,Ge=f.dropPosition,W=f.dragOverNodeKey,Le=f.indent,He=this.props,nt=He.prefixCls,it=He.className,et=He.style,w=He.showLine,pe=He.focusable,Ze=He.tabIndex,Ue=Ze===void 0?0:Ze,ot=He.selectable,Tt=He.showIcon,ct=He.icon,dt=He.switcherIcon,Rt=He.draggable,Vt=He.checkable,Ht=He.checkStrictly,Xt=He.disabled,wt=He.motion,Ut=He.loadData,yt=He.filterTreeNode,Bt=He.height,Pt=He.itemHeight,kt=He.scrollWidth,Wt=He.virtual,pt=He.titleRender,Lt=He.dropIndicatorRender,ln=He.onContextMenu,rn=He.onScroll,xn=He.direction,Dn=He.rootClassName,Mn=He.rootStyle,tn=(0,me.Z)(this.props,{aria:!0,data:!0}),Nn;Rt&&((0,d.Z)(Rt)==="object"?Nn=Rt:typeof Rt=="function"?Nn={nodeDraggable:Rt}:Nn={});var Pn={prefixCls:nt,selectable:ot,showIcon:Tt,icon:ct,switcherIcon:dt,draggable:Nn,draggingNodeKey:N,checkable:Vt,checkStrictly:Ht,disabled:Xt,keyEntities:$,dropLevelOffset:ue,dropContainerKey:c,dropTargetKey:y,dropPosition:Ge,dragOverNodeKey:W,indent:Le,direction:xn,dropIndicatorRender:Lt,loadData:Ut,filterTreeNode:yt,titleRender:pt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Fe.createElement(Pe.k.Provider,{value:Pn},Fe.createElement("div",{className:M()(nt,it,Dn,(0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(nt,"-show-line"),w),"".concat(nt,"-focused"),se),"".concat(nt,"-active-focused"),G!==null)),style:Mn},Fe.createElement(ie,(0,e.Z)({ref:this.listRef,prefixCls:nt,style:et,data:_,disabled:Xt,selectable:ot,checkable:!!Vt,motion:wt,dragging:N!==null,height:Bt,itemHeight:Pt,virtual:Wt,focusable:pe,focused:se,tabIndex:Ue,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ln,onScroll:rn,scrollWidth:kt},this.getTreeNodeRequiredProps(),tn))))}}],[{key:"getDerivedStateFromProps",value:function(f,se){var _=se.prevProps,$={prevProps:f};function N(Ue){return!_&&f.hasOwnProperty(Ue)||_&&_[Ue]!==f[Ue]}var G,ue=se.fieldNames;if(N("fieldNames")&&(ue=(0,Re.w$)(f.fieldNames),$.fieldNames=ue),N("treeData")?G=f.treeData:N("children")&&((0,lt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),G=(0,Re.zn)(f.children)),G){$.treeData=G;var c=(0,Re.I8)(G,{fieldNames:ue});$.keyEntities=(0,i.Z)((0,r.Z)({},st,Ae),c.keyEntities)}var y=$.keyEntities||se.keyEntities;if(N("expandedKeys")||_&&N("autoExpandParent"))$.expandedKeys=f.autoExpandParent||!_&&f.defaultExpandParent?(0,qe.r7)(f.expandedKeys,y):f.expandedKeys;else if(!_&&f.defaultExpandAll){var Ge=(0,i.Z)({},y);delete Ge[st];var W=[];Object.keys(Ge).forEach(function(Ue){var ot=Ge[Ue];ot.children&&ot.children.length&&W.push(ot.key)}),$.expandedKeys=W}else!_&&f.defaultExpandedKeys&&($.expandedKeys=f.autoExpandParent||f.defaultExpandParent?(0,qe.r7)(f.defaultExpandedKeys,y):f.defaultExpandedKeys);if($.expandedKeys||delete $.expandedKeys,G||$.expandedKeys){var Le=(0,Re.oH)(G||se.treeData,$.expandedKeys||se.expandedKeys,ue);$.flattenNodes=Le}if(f.selectable&&(N("selectedKeys")?$.selectedKeys=(0,qe.BT)(f.selectedKeys,f):!_&&f.defaultSelectedKeys&&($.selectedKeys=(0,qe.BT)(f.defaultSelectedKeys,f))),f.checkable){var He;if(N("checkedKeys")?He=(0,qe.E6)(f.checkedKeys)||{}:!_&&f.defaultCheckedKeys?He=(0,qe.E6)(f.defaultCheckedKeys)||{}:G&&(He=(0,qe.E6)(f.checkedKeys)||{checkedKeys:se.checkedKeys,halfCheckedKeys:se.halfCheckedKeys}),He){var nt=He,it=nt.checkedKeys,et=it===void 0?[]:it,w=nt.halfCheckedKeys,pe=w===void 0?[]:w;if(!f.checkStrictly){var Ze=(0,Ke.S)(et,!0,y);et=Ze.checkedKeys,pe=Ze.halfCheckedKeys}$.checkedKeys=et,$.halfCheckedKeys=pe}}return N("loadedKeys")&&($.loadedKeys=f.loadedKeys),$}}]),z}(Fe.Component);(0,r.Z)(k,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:C,allowDrop:function(){return!0},expandAction:!1}),(0,r.Z)(k,"TreeNode",je.Z);var R=k,X=R},82661:function(an,Je,t){t.d(Je,{BT:function(){return Fe},E6:function(){return C},L0:function(){return r},OM:function(){return lt},_5:function(){return K},r7:function(){return he},wA:function(){return M},yx:function(){return U}});var e=t(94480),d=t(76190),i=t(48736),L=t(59301),x=t(639),D=t(65065),E=t(34061),Z=null;function K(s,h){if(!s)return[];var oe=s.slice(),le=oe.indexOf(h);return le>=0&&oe.splice(le,1),oe}function r(s,h){var oe=(s||[]).slice();return oe.indexOf(h)===-1&&oe.push(h),oe}function U(s){return s.split("-")}function M(s,h){var oe=[],le=(0,D.Z)(h,s);function v(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Oe){var ne=Oe.key,Re=Oe.children;oe.push(ne),v(Re)})}return v(le.children),oe}function P(s){if(s.parent){var h=U(s.pos);return Number(h[h.length-1])===s.parent.children.length-1}return!1}function me(s){var h=U(s.pos);return Number(h[h.length-1])===0}function lt(s,h,oe,le,v,je,Oe,ne,Re,de){var H,n=s.clientX,ce=s.clientY,T=s.target.getBoundingClientRect(),ze=T.top,xe=T.height,We=(de==="rtl"?-1:1)*(((v==null?void 0:v.x)||0)-n),st=(We-12)/le,at=Re.filter(function(X){var p;return(p=ne[X])===null||p===void 0||(p=p.children)===null||p===void 0?void 0:p.length}),Ae=(0,D.Z)(ne,oe.eventKey);if(ce-1.5?je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1:je({dragNode:Te,dropNode:k,dropPosition:0})?qe=0:je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1:je({dragNode:Te,dropNode:k,dropPosition:1})?qe=1:R=!1,{dropPosition:qe,dropLevelOffset:Ke,dropTargetKey:Ae.key,dropTargetPos:Ae.pos,dragOverNodeKey:ie,dropContainerKey:qe===0?null:((H=Ae.parent)===null||H===void 0?void 0:H.key)||null,dropAllowed:R}}function Fe(s,h){if(s){var oe=h.multiple;return oe?s.slice():s.length?[s[0]]:s}}var Pe=function(h){return h};function Ve(s,h){if(!s)return[];var oe=h||{},le=oe.processProps,v=le===void 0?Pe:le,je=Array.isArray(s)?s:[s];return je.map(function(Oe){var ne=Oe.children,Re=_objectWithoutProperties(Oe,Z),de=Ve(ne,h);return React.createElement(TreeNode,_extends({key:Re.key},v(Re)),de)})}function C(s){if(!s)return null;var h;if(Array.isArray(s))h={checkedKeys:s,halfCheckedKeys:void 0};else if((0,d.Z)(s)==="object")h={checkedKeys:s.checked||void 0,halfCheckedKeys:s.halfChecked||void 0};else return(0,i.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return h}function he(s,h){var oe=new Set;function le(v){if(!oe.has(v)){var je=(0,D.Z)(h,v);if(je){oe.add(v);var Oe=je.parent,ne=je.node;ne.disabled||Oe&&le(Oe.key)}}}return(s||[]).forEach(function(v){le(v)}),(0,e.Z)(oe)}},34643:function(an,Je,t){t.d(Je,{S:function(){return E}});var e=t(48736),d=t(65065);function i(Z,K){var r=new Set;return Z.forEach(function(U){K.has(U)||r.add(U)}),r}function L(Z){var K=Z||{},r=K.disabled,U=K.disableCheckbox,M=K.checkable;return!!(r||U)||M===!1}function x(Z,K,r,U){for(var M=new Set(Z),P=new Set,me=0;me<=r;me+=1){var lt=K.get(me)||new Set;lt.forEach(function(C){var he=C.key,s=C.node,h=C.children,oe=h===void 0?[]:h;M.has(he)&&!U(s)&&oe.filter(function(le){return!U(le.node)}).forEach(function(le){M.add(le.key)})})}for(var Fe=new Set,Pe=r;Pe>=0;Pe-=1){var Ve=K.get(Pe)||new Set;Ve.forEach(function(C){var he=C.parent,s=C.node;if(!(U(s)||!C.parent||Fe.has(C.parent.key))){if(U(C.parent.node)){Fe.add(he.key);return}var h=!0,oe=!1;(he.children||[]).filter(function(le){return!U(le.node)}).forEach(function(le){var v=le.key,je=M.has(v);h&&!je&&(h=!1),!oe&&(je||P.has(v))&&(oe=!0)}),h&&M.add(he.key),oe&&P.add(he.key),Fe.add(he.key)}})}return{checkedKeys:Array.from(M),halfCheckedKeys:Array.from(i(P,M))}}function D(Z,K,r,U,M){for(var P=new Set(Z),me=new Set(K),lt=0;lt<=U;lt+=1){var Fe=r.get(lt)||new Set;Fe.forEach(function(he){var s=he.key,h=he.node,oe=he.children,le=oe===void 0?[]:oe;!P.has(s)&&!me.has(s)&&!M(h)&&le.filter(function(v){return!M(v.node)}).forEach(function(v){P.delete(v.key)})})}me=new Set;for(var Pe=new Set,Ve=U;Ve>=0;Ve-=1){var C=r.get(Ve)||new Set;C.forEach(function(he){var s=he.parent,h=he.node;if(!(M(h)||!he.parent||Pe.has(he.parent.key))){if(M(he.parent.node)){Pe.add(s.key);return}var oe=!0,le=!1;(s.children||[]).filter(function(v){return!M(v.node)}).forEach(function(v){var je=v.key,Oe=P.has(je);oe&&!Oe&&(oe=!1),!le&&(Oe||me.has(je))&&(le=!0)}),oe||P.delete(s.key),le&&me.add(s.key),Pe.add(s.key)}})}return{checkedKeys:Array.from(P),halfCheckedKeys:Array.from(i(me,P))}}function E(Z,K,r,U){var M=[],P;U?P=U:P=L;var me=new Set(Z.filter(function(Ve){var C=!!(0,d.Z)(r,Ve);return C||M.push(Ve),C})),lt=new Map,Fe=0;Object.keys(r).forEach(function(Ve){var C=r[Ve],he=C.level,s=lt.get(he);s||(s=new Set,lt.set(he,s)),s.add(C),Fe=Math.max(Fe,he)}),(0,e.ZP)(!M.length,"Tree missing follow keys: ".concat(M.slice(0,100).map(function(Ve){return"'".concat(Ve,"'")}).join(", ")));var Pe;return K===!0?Pe=x(me,lt,Fe,P):Pe=D(me,K.halfCheckedKeys,lt,Fe,P),Pe}},65065:function(an,Je,t){t.d(Je,{Z:function(){return e}});function e(d,i){return d[i]}},34061:function(an,Je,t){t.d(Je,{F:function(){return he},H8:function(){return C},I8:function(){return Ve},km:function(){return M},oH:function(){return Fe},w$:function(){return P},zn:function(){return lt}});var e=t(76190),d=t(94480),i=t(33885),L=t(75931),x=t(11592),D=t(2738),E=t(48736),Z=t(65065),K=["children"];function r(s,h){return"".concat(s,"-").concat(h)}function U(s){return s&&s.type&&s.type.isTreeNode}function M(s,h){return s!=null?s:h}function P(s){var h=s||{},oe=h.title,le=h._title,v=h.key,je=h.children,Oe=oe||"title";return{title:Oe,_title:le||[Oe],key:v||"key",children:je||"children"}}function me(s,h){var oe=new Map;function le(v){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(v||[]).forEach(function(Oe){var ne=Oe[h.key],Re=Oe[h.children];warning(ne!=null,"Tree node must have a certain key: [".concat(je).concat(ne,"]"));var de=String(ne);warning(!oe.has(de)||ne===null||ne===void 0,"Same 'key' exist in the Tree: ".concat(de)),oe.set(de,!0),le(Re,"".concat(je).concat(de," > "))})}le(s)}function lt(s){function h(oe){var le=(0,x.Z)(oe);return le.map(function(v){if(!U(v))return(0,E.ZP)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var je=v.key,Oe=v.props,ne=Oe.children,Re=(0,L.Z)(Oe,K),de=(0,i.Z)({key:je},Re),H=h(ne);return H.length&&(de.children=H),de}).filter(function(v){return v})}return h(s)}function Fe(s,h,oe){var le=P(oe),v=le._title,je=le.key,Oe=le.children,ne=new Set(h===!0?[]:h),Re=[];function de(H){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return H.map(function(ce,T){for(var ze=r(n?n.pos:"0",T),xe=M(ce[je],ze),We,st=0;st1&&arguments[1]!==void 0?arguments[1]:{},oe=h.initWrapper,le=h.processEntity,v=h.onProcessFinished,je=h.externalGetKey,Oe=h.childrenPropName,ne=h.fieldNames,Re=arguments.length>2?arguments[2]:void 0,de=je||Re,H={},n={},ce={posEntities:H,keyEntities:n};return oe&&(ce=oe(ce)||ce),Pe(s,function(T){var ze=T.node,xe=T.index,We=T.pos,st=T.key,at=T.parentPos,Ae=T.level,tt=T.nodes,q={node:ze,nodes:tt,index:xe,key:st,pos:We,level:Ae},Se=M(st,We);H[We]=q,n[Se]=q,q.parent=H[at],q.parent&&(q.parent.children=q.parent.children||[],q.parent.children.push(q)),le&&le(q,ce)},{externalGetKey:de,childrenPropName:Oe,fieldNames:ne}),v&&v(ce),ce}function C(s,h){var oe=h.expandedKeys,le=h.selectedKeys,v=h.loadedKeys,je=h.loadingKeys,Oe=h.checkedKeys,ne=h.halfCheckedKeys,Re=h.dragOverNodeKey,de=h.dropPosition,H=h.keyEntities,n=(0,Z.Z)(H,s),ce={eventKey:s,expanded:oe.indexOf(s)!==-1,selected:le.indexOf(s)!==-1,loaded:v.indexOf(s)!==-1,loading:je.indexOf(s)!==-1,checked:Oe.indexOf(s)!==-1,halfChecked:ne.indexOf(s)!==-1,pos:String(n?n.pos:""),dragOver:Re===s&&de===0,dragOverGapTop:Re===s&&de===-1,dragOverGapBottom:Re===s&&de===1};return ce}function he(s){var h=s.data,oe=s.expanded,le=s.selected,v=s.checked,je=s.loaded,Oe=s.loading,ne=s.halfChecked,Re=s.dragOver,de=s.dragOverGapTop,H=s.dragOverGapBottom,n=s.pos,ce=s.active,T=s.eventKey,ze=(0,i.Z)((0,i.Z)({},h),{},{expanded:oe,selected:le,checked:v,loaded:je,loading:Oe,halfChecked:ne,dragOver:Re,dragOverGapTop:de,dragOverGapBottom:H,pos:n,active:ce,key:T});return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),s}}),ze}},8224:function(an,Je,t){t.d(Je,{Z:function(){return d}});var e=t(4676);function d(i,L,x,D){var E=e.unstable_batchedUpdates?function(K){e.unstable_batchedUpdates(x,K)}:x;return i!=null&&i.addEventListener&&i.addEventListener(L,E,D),{remove:function(){i!=null&&i.removeEventListener&&i.removeEventListener(L,E,D)}}}},24514:function(an,Je,t){t.d(Je,{G:function(){return L}});var e=t(47273),d=function(D){if((0,e.Z)()&&window.document.documentElement){var E=Array.isArray(D)?D:[D],Z=window.document.documentElement;return E.some(function(K){return K in Z.style})}return!1},i=function(D,E){if(!d(D))return!1;var Z=document.createElement("div"),K=Z.style[D];return Z.style[D]=E,Z.style[D]!==K};function L(x,D){return!Array.isArray(x)&&D!==void 0?i(x,D):d(x)}},49658:function(an,Je){Je.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(an,Je,t){t.d(Je,{Z:function(){return Te}});var e=t(54476),d=t(76190),i=t(33885),L=t(20068),x=t(42978),D=t(75931),E=t(92310),Z=t.n(E),K=t(29301),r=t(70425),U=t(34280),M=t(59301),P=t(4676),me=M.forwardRef(function(k,R){var X=k.height,p=k.offsetY,fe=k.offsetX,z=k.children,o=k.prefixCls,f=k.onInnerResize,se=k.innerProps,_=k.rtl,$=k.extra,N={},G={display:"flex",flexDirection:"column"};return p!==void 0&&(N={height:X,position:"relative",overflow:"hidden"},G=(0,i.Z)((0,i.Z)({},G),{},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({transform:"translateY(".concat(p,"px)")},_?"marginRight":"marginLeft",-fe),"position","absolute"),"left",0),"right",0),"top",0))),M.createElement("div",{style:N},M.createElement(K.Z,{onResize:function(c){var y=c.offsetHeight;y&&f&&f()}},M.createElement("div",(0,e.Z)({style:G,className:Z()((0,L.Z)({},"".concat(o,"-holder-inner"),o)),ref:R},se),z,$)))});me.displayName="Filler";var lt=me;function Fe(k){var R=k.children,X=k.setRef,p=M.useCallback(function(fe){X(fe)},[]);return M.cloneElement(R,{ref:p})}function Pe(k,R,X,p,fe,z,o,f){var se=f.getKey;return k.slice(R,X+1).map(function(_,$){var N=R+$,G=o(_,N,{style:{width:p},offsetX:fe}),ue=se(_);return M.createElement(Fe,{key:ue,setRef:function(y){return z(_,y)}},G)})}function Ve(k,R,X,p){var fe=X-k,z=R-X,o=Math.min(fe,z)*2;if(p<=o){var f=Math.floor(p/2);return p%2?X+f+1:X-f}return fe>z?X-(p-z):X+(p-fe)}function C(k,R,X){var p=k.length,fe=R.length,z,o;if(p===0&&fe===0)return null;p2&&arguments[2]!==void 0?arguments[2]:!1,N=se?_<0&&f.current.left||_>0&&f.current.right:_<0&&f.current.top||_>0&&f.current.bottom;return $&&N?(clearTimeout(z.current),fe.current=!1):(!N||fe.current)&&o(),!fe.current&&N}};function v(k,R,X,p,fe,z,o){var f=(0,M.useRef)(0),se=(0,M.useRef)(null),_=(0,M.useRef)(null),$=(0,M.useRef)(!1),N=le(R,X,p,fe);function G(Le,He){if(s.Z.cancel(se.current),!N(!1,He)){var nt=Le;if(!nt._virtualHandled)nt._virtualHandled=!0;else return;f.current+=He,_.current=He,oe||nt.preventDefault(),se.current=(0,s.Z)(function(){var it=$.current?10:1;o(f.current*it,!1),f.current=0})}}function ue(Le,He){o(He,!0),oe||Le.preventDefault()}var c=(0,M.useRef)(null),y=(0,M.useRef)(null);function Ge(Le){if(k){s.Z.cancel(y.current),y.current=(0,s.Z)(function(){c.current=null},2);var He=Le.deltaX,nt=Le.deltaY,it=Le.shiftKey,et=He,w=nt;(c.current==="sx"||!c.current&&it&&nt&&!He)&&(et=nt,w=0,c.current="sx");var pe=Math.abs(et),Ze=Math.abs(w);c.current===null&&(c.current=z&&pe>Ze?"x":"y"),c.current==="y"?G(Le,w):ue(Le,et)}}function W(Le){k&&($.current=Le.detail===_.current)}return[Ge,W]}function je(k,R,X,p){var fe=M.useMemo(function(){return[new Map,[]]},[k,X.id,p]),z=(0,x.Z)(fe,2),o=z[0],f=z[1],se=function($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,G=o.get($),ue=o.get(N);if(G===void 0||ue===void 0)for(var c=k.length,y=f.length;y0&&arguments[0]!==void 0?arguments[0]:!1;$();var c=function(){var W=!1;f.current.forEach(function(Le,He){if(Le&&Le.offsetParent){var nt=Le.offsetHeight,it=getComputedStyle(Le),et=it.marginTop,w=it.marginBottom,pe=H(et),Ze=H(w),Ue=nt+pe+Ze;se.current.get(He)!==Ue&&(se.current.set(He,Ue),W=!0)}}),W&&o(function(Le){return Le+1})};if(ue)c();else{_.current+=1;var y=_.current;Promise.resolve().then(function(){y===_.current&&c()})}}function G(ue,c){var y=k(ue),Ge=f.current.get(y);c?(f.current.set(y,c),N()):f.current.delete(y),!Ge!=!c&&(c?R==null||R(ue):X==null||X(ue))}return(0,M.useEffect)(function(){return $},[]),[G,N,se.current,z]}var ce=14/15;function T(k,R,X){var p=(0,M.useRef)(!1),fe=(0,M.useRef)(0),z=(0,M.useRef)(0),o=(0,M.useRef)(null),f=(0,M.useRef)(null),se,_=function(ue){if(p.current){var c=Math.ceil(ue.touches[0].pageX),y=Math.ceil(ue.touches[0].pageY),Ge=fe.current-c,W=z.current-y,Le=Math.abs(Ge)>Math.abs(W);Le?fe.current=c:z.current=y;var He=X(Le,Le?Ge:W,!1,ue);He&&ue.preventDefault(),clearInterval(f.current),He&&(f.current=setInterval(function(){Le?Ge*=ce:W*=ce;var nt=Math.floor(Le?Ge:W);(!X(Le,nt,!0)||Math.abs(nt)<=.1)&&clearInterval(f.current)},16))}},$=function(){p.current=!1,se()},N=function(ue){se(),ue.touches.length===1&&!p.current&&(p.current=!0,fe.current=Math.ceil(ue.touches[0].pageX),z.current=Math.ceil(ue.touches[0].pageY),o.current=ue.target,o.current.addEventListener("touchmove",_,{passive:!1}),o.current.addEventListener("touchend",$,{passive:!0}))};se=function(){o.current&&(o.current.removeEventListener("touchmove",_),o.current.removeEventListener("touchend",$))},(0,U.Z)(function(){return k&&R.current.addEventListener("touchstart",N,{passive:!0}),function(){var G;(G=R.current)===null||G===void 0||G.removeEventListener("touchstart",N),se(),clearInterval(f.current)}},[k])}function ze(k){return Math.floor(Math.pow(k,.5))}function xe(k,R){var X="touches"in k?k.touches[0]:k;return X[R?"pageX":"pageY"]-window[R?"scrollX":"scrollY"]}function We(k,R,X){M.useEffect(function(){var p=R.current;if(k&&p){var fe=!1,z,o,f=function(){s.Z.cancel(z)},se=function G(){f(),z=(0,s.Z)(function(){X(o),G()})},_=function(){fe=!1,f()},$=function(ue){if(!(ue.target.draggable||ue.button!==0)){var c=ue;c._virtualHandled||(c._virtualHandled=!0,fe=!0)}},N=function(ue){if(fe){var c=xe(ue,!1),y=p.getBoundingClientRect(),Ge=y.top,W=y.bottom;if(c<=Ge){var Le=Ge-c;o=-ze(Le),se()}else if(c>=W){var He=c-W;o=ze(He),se()}else f()}};return p.addEventListener("mousedown",$),p.ownerDocument.addEventListener("mouseup",_),p.ownerDocument.addEventListener("mousemove",N),p.ownerDocument.addEventListener("dragend",_),function(){p.removeEventListener("mousedown",$),p.ownerDocument.removeEventListener("mouseup",_),p.ownerDocument.removeEventListener("mousemove",N),p.ownerDocument.removeEventListener("dragend",_),f()}}},[k])}var st=10;function at(k,R,X,p,fe,z,o,f){var se=M.useRef(),_=M.useState(null),$=(0,x.Z)(_,2),N=$[0],G=$[1];return(0,U.Z)(function(){if(N&&N.times=0;dt-=1){var Rt=fe(R[dt]),Vt=X.get(Rt);if(Vt===void 0){Le=!0;break}if(ct-=Vt,ct<=0)break}switch(it){case"top":nt=w-Ge;break;case"bottom":nt=pe-W+Ge;break;default:{var Ht=k.current.scrollTop,Xt=Ht+W;wXt&&(He="bottom")}}nt!==null&&o(nt),nt!==N.lastTop&&(Le=!0)}Le&&G((0,i.Z)((0,i.Z)({},N),{},{times:N.times+1,targetAlign:He,lastTop:nt}))}},[N,k.current]),function(ue){if(ue==null){f();return}if(s.Z.cancel(se.current),typeof ue=="number")o(ue);else if(ue&&(0,d.Z)(ue)==="object"){var c,y=ue.align;"index"in ue?c=ue.index:c=R.findIndex(function(Le){return fe(Le)===ue.key});var Ge=ue.offset,W=Ge===void 0?0:Ge;G({times:0,index:c,offset:W,originAlign:y})}}}var Ae=M.forwardRef(function(k,R){var X=k.prefixCls,p=k.rtl,fe=k.scrollOffset,z=k.scrollRange,o=k.onStartMove,f=k.onStopMove,se=k.onScroll,_=k.horizontal,$=k.spinSize,N=k.containerSize,G=k.style,ue=k.thumbStyle,c=k.showScrollBar,y=M.useState(!1),Ge=(0,x.Z)(y,2),W=Ge[0],Le=Ge[1],He=M.useState(null),nt=(0,x.Z)(He,2),it=nt[0],et=nt[1],w=M.useState(null),pe=(0,x.Z)(w,2),Ze=pe[0],Ue=pe[1],ot=!p,Tt=M.useRef(),ct=M.useRef(),dt=M.useState(c),Rt=(0,x.Z)(dt,2),Vt=Rt[0],Ht=Rt[1],Xt=M.useRef(),wt=function(){c===!0||c===!1||(clearTimeout(Xt.current),Ht(!0),Xt.current=setTimeout(function(){Ht(!1)},3e3))},Ut=z-N||0,yt=N-$||0,Bt=M.useMemo(function(){if(fe===0||Ut===0)return 0;var Dn=fe/Ut;return Dn*yt},[fe,Ut,yt]),Pt=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},kt=M.useRef({top:Bt,dragging:W,pageY:it,startTop:Ze});kt.current={top:Bt,dragging:W,pageY:it,startTop:Ze};var Wt=function(Mn){Le(!0),et(xe(Mn,_)),Ue(kt.current.top),o(),Mn.stopPropagation(),Mn.preventDefault()};M.useEffect(function(){var Dn=function(Pn){Pn.preventDefault()},Mn=Tt.current,tn=ct.current;return Mn.addEventListener("touchstart",Dn,{passive:!1}),tn.addEventListener("touchstart",Wt,{passive:!1}),function(){Mn.removeEventListener("touchstart",Dn),tn.removeEventListener("touchstart",Wt)}},[]);var pt=M.useRef();pt.current=Ut;var Lt=M.useRef();Lt.current=yt,M.useEffect(function(){if(W){var Dn,Mn=function(Pn){var bn=kt.current,Fn=bn.dragging,_n=bn.pageY,Jn=bn.startTop;s.Z.cancel(Dn);var Be=Tt.current.getBoundingClientRect(),Ie=N/(_?Be.width:Be.height);if(Fn){var I=(xe(Pn,_)-_n)*Ie,Y=Jn;!ot&&_?Y-=I:Y+=I;var be=pt.current,ye=Lt.current,g=ye?Y/ye:0,re=Math.ceil(g*be);re=Math.max(re,0),re=Math.min(re,be),Dn=(0,s.Z)(function(){se(re,_)})}},tn=function(){Le(!1),f()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",tn,{passive:!0}),window.addEventListener("touchend",tn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",tn),window.removeEventListener("touchend",tn),s.Z.cancel(Dn)}}},[W]),M.useEffect(function(){return wt(),function(){clearTimeout(Xt.current)}},[fe]),M.useImperativeHandle(R,function(){return{delayHidden:wt}});var ln="".concat(X,"-scrollbar"),rn={position:"absolute",visibility:Vt?null:"hidden"},xn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return _?(Object.assign(rn,{height:8,left:0,right:0,bottom:0}),Object.assign(xn,(0,L.Z)({height:"100%",width:$},ot?"left":"right",Bt))):(Object.assign(rn,(0,L.Z)({width:8,top:0,bottom:0},ot?"right":"left",0)),Object.assign(xn,{width:"100%",height:$,top:Bt})),M.createElement("div",{ref:Tt,className:Z()(ln,(0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ln,"-horizontal"),_),"".concat(ln,"-vertical"),!_),"".concat(ln,"-visible"),Vt)),style:(0,i.Z)((0,i.Z)({},rn),G),onMouseDown:Pt,onMouseMove:wt},M.createElement("div",{ref:ct,className:Z()("".concat(ln,"-thumb"),(0,L.Z)({},"".concat(ln,"-thumb-moving"),W)),style:(0,i.Z)((0,i.Z)({},xn),ue),onMouseDown:Wt}))}),tt=Ae,q=20;function Se(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,X=k/R*k;return isNaN(X)&&(X=0),X=Math.max(X,q),Math.floor(X)}var ge=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Qe=[],ie={overflowY:"auto",overflowAnchor:"none"};function qe(k,R){var X=k.prefixCls,p=X===void 0?"rc-virtual-list":X,fe=k.className,z=k.height,o=k.itemHeight,f=k.fullHeight,se=f===void 0?!0:f,_=k.style,$=k.data,N=k.children,G=k.itemKey,ue=k.virtual,c=k.direction,y=k.scrollWidth,Ge=k.component,W=Ge===void 0?"div":Ge,Le=k.onScroll,He=k.onVirtualScroll,nt=k.onVisibleChange,it=k.innerProps,et=k.extraRender,w=k.styles,pe=k.showScrollBar,Ze=pe===void 0?"optional":pe,Ue=(0,D.Z)(k,ge),ot=M.useCallback(function(_e){return typeof G=="function"?G(_e):_e==null?void 0:_e[G]},[G]),Tt=n(ot,null,null),ct=(0,x.Z)(Tt,4),dt=ct[0],Rt=ct[1],Vt=ct[2],Ht=ct[3],Xt=!!(ue!==!1&&z&&o),wt=M.useMemo(function(){return Object.values(Vt.maps).reduce(function(_e,mt){return _e+mt},0)},[Vt.id,Vt.maps]),Ut=Xt&&$&&(Math.max(o*$.length,wt)>z||!!y),yt=c==="rtl",Bt=Z()(p,(0,L.Z)({},"".concat(p,"-rtl"),yt),fe),Pt=$||Qe,kt=(0,M.useRef)(),Wt=(0,M.useRef)(),pt=(0,M.useRef)(),Lt=(0,M.useState)(0),ln=(0,x.Z)(Lt,2),rn=ln[0],xn=ln[1],Dn=(0,M.useState)(0),Mn=(0,x.Z)(Dn,2),tn=Mn[0],Nn=Mn[1],Pn=(0,M.useState)(!1),bn=(0,x.Z)(Pn,2),Fn=bn[0],_n=bn[1],Jn=function(){_n(!0)},Be=function(){_n(!1)},Ie={getKey:ot};function I(_e){xn(function(mt){var Kt;typeof _e=="function"?Kt=_e(mt):Kt=_e;var jt=ut(Kt);return kt.current.scrollTop=jt,jt})}var Y=(0,M.useRef)({start:0,end:Pt.length}),be=(0,M.useRef)(),ye=he(Pt,ot),g=(0,x.Z)(ye,1),re=g[0];be.current=re;var De=M.useMemo(function(){if(!Xt)return{scrollHeight:void 0,start:0,end:Pt.length-1,offset:void 0};if(!Ut){var _e;return{scrollHeight:((_e=Wt.current)===null||_e===void 0?void 0:_e.offsetHeight)||0,start:0,end:Pt.length-1,offset:void 0}}for(var mt=0,Kt,jt,qt,un=Pt.length,on=0;on=rn&&Kt===void 0&&(Kt=on,jt=mt),Bn>rn+z&&qt===void 0&&(qt=on),mt=Bn}return Kt===void 0&&(Kt=0,jt=0,qt=Math.ceil(z/o)),qt===void 0&&(qt=Pt.length-1),qt=Math.min(qt+1,Pt.length-1),{scrollHeight:mt,start:Kt,end:qt,offset:jt}},[Ut,Xt,rn,Pt,Ht,z]),u=De.scrollHeight,S=De.start,A=De.end,ve=De.offset;Y.current.start=S,Y.current.end=A,M.useLayoutEffect(function(){var _e=Vt.getRecord();if(_e.size===1){var mt=Array.from(_e.keys())[0],Kt=_e.get(mt),jt=Pt[S];if(jt&&Kt===void 0){var qt=ot(jt);if(qt===mt){var un=Vt.get(mt),on=un-o;I(function(en){return en+on})}}}Vt.resetRecord()},[u]);var j=M.useState({width:0,height:z}),O=(0,x.Z)(j,2),V=O[0],ee=O[1],ae=function(mt){ee({width:mt.offsetWidth,height:mt.offsetHeight})},b=(0,M.useRef)(),m=(0,M.useRef)(),B=M.useMemo(function(){return Se(V.width,y)},[V.width,y]),te=M.useMemo(function(){return Se(V.height,u)},[V.height,u]),we=u-z,Ne=(0,M.useRef)(we);Ne.current=we;function ut(_e){var mt=_e;return Number.isNaN(Ne.current)||(mt=Math.min(mt,Ne.current)),mt=Math.max(mt,0),mt}var ke=rn<=0,Q=rn>=we,Ce=tn<=0,Me=tn>=y,Ye=le(ke,Q,Ce,Me),ht=function(){return{x:yt?-tn:tn,y:rn}},ft=(0,M.useRef)(ht()),Ct=(0,r.zX)(function(_e){if(He){var mt=(0,i.Z)((0,i.Z)({},ht()),_e);(ft.current.x!==mt.x||ft.current.y!==mt.y)&&(He(mt),ft.current=mt)}});function It(_e,mt){var Kt=_e;mt?((0,P.flushSync)(function(){Nn(Kt)}),Ct()):I(Kt)}function Dt(_e){var mt=_e.currentTarget.scrollTop;mt!==rn&&I(mt),Le==null||Le(_e),Ct()}var Mt=function(mt){var Kt=mt,jt=y?y-V.width:0;return Kt=Math.max(Kt,0),Kt=Math.min(Kt,jt),Kt},$t=(0,r.zX)(function(_e,mt){mt?((0,P.flushSync)(function(){Nn(function(Kt){var jt=Kt+(yt?-_e:_e);return Mt(jt)})}),Ct()):I(function(Kt){var jt=Kt+_e;return jt})}),Et=v(Xt,ke,Q,Ce,Me,!!y,$t),Jt=(0,x.Z)(Et,2),At=Jt[0],sn=Jt[1];T(Xt,kt,function(_e,mt,Kt,jt){var qt=jt;return Ye(_e,mt,Kt)?!1:!qt||!qt._virtualHandled?(qt&&(qt._virtualHandled=!0),At({preventDefault:function(){},deltaX:_e?mt:0,deltaY:_e?0:mt}),!0):!1}),We(Ut,kt,function(_e){I(function(mt){return mt+_e})}),(0,U.Z)(function(){function _e(Kt){var jt=ke&&Kt.detail<0,qt=Q&&Kt.detail>0;Xt&&!jt&&!qt&&Kt.preventDefault()}var mt=kt.current;return mt.addEventListener("wheel",At,{passive:!1}),mt.addEventListener("DOMMouseScroll",sn,{passive:!0}),mt.addEventListener("MozMousePixelScroll",_e,{passive:!1}),function(){mt.removeEventListener("wheel",At),mt.removeEventListener("DOMMouseScroll",sn),mt.removeEventListener("MozMousePixelScroll",_e)}},[Xt,ke,Q]),(0,U.Z)(function(){if(y){var _e=Mt(tn);Nn(_e),Ct({x:_e})}},[V.width,y]);var Gt=function(){var mt,Kt;(mt=b.current)===null||mt===void 0||mt.delayHidden(),(Kt=m.current)===null||Kt===void 0||Kt.delayHidden()},Yt=at(kt,Pt,Vt,o,ot,function(){return Rt(!0)},I,Gt);M.useImperativeHandle(R,function(){return{nativeElement:pt.current,getScrollInfo:ht,scrollTo:function(mt){function Kt(jt){return jt&&(0,d.Z)(jt)==="object"&&("left"in jt||"top"in jt)}Kt(mt)?(mt.left!==void 0&&Nn(Mt(mt.left)),Yt(mt.top)):Yt(mt)}}}),(0,U.Z)(function(){if(nt){var _e=Pt.slice(S,A+1);nt(_e,Pt)}},[S,A,Pt]);var nn=je(Pt,ot,Vt,o),fn=et==null?void 0:et({start:S,end:A,virtual:Ut,offsetX:tn,offsetY:ve,rtl:yt,getSize:nn}),Zt=Pe(Pt,S,A,y,tn,dt,N,Ie),Qt=null;z&&(Qt=(0,i.Z)((0,L.Z)({},se?"height":"maxHeight",z),ie),Xt&&(Qt.overflowY="hidden",y&&(Qt.overflowX="hidden"),Fn&&(Qt.pointerEvents="none")));var Ft={};return yt&&(Ft.dir="rtl"),M.createElement("div",(0,e.Z)({ref:pt,style:(0,i.Z)((0,i.Z)({},_),{},{position:"relative"}),className:Bt},Ft,Ue),M.createElement(K.Z,{onResize:ae},M.createElement(W,{className:"".concat(p,"-holder"),style:Qt,ref:kt,onScroll:Dt,onMouseEnter:Gt},M.createElement(lt,{prefixCls:p,height:u,offsetX:tn,offsetY:ve,scrollWidth:y,onInnerResize:Rt,ref:Wt,innerProps:it,rtl:yt,extra:fn},Zt))),Ut&&u>z&&M.createElement(tt,{ref:b,prefixCls:p,scrollOffset:rn,scrollRange:u,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:te,containerSize:V.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb,showScrollBar:Ze}),Ut&&y>V.width&&M.createElement(tt,{ref:m,prefixCls:p,scrollOffset:tn,scrollRange:y,rtl:yt,onScroll:It,onStartMove:Jn,onStopMove:Be,spinSize:B,containerSize:V.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb,showScrollBar:Ze}))}var Ke=M.forwardRef(qe);Ke.displayName="List";var bt=Ke,Te=bt},76374:function(an,Je,t){var e=function(){if(typeof Map!="undefined")return Map;function de(H,n){var ce=-1;return H.some(function(T,ze){return T[0]===n?(ce=ze,!0):!1}),ce}return function(){function H(){this.__entries__=[]}return Object.defineProperty(H.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),H.prototype.get=function(n){var ce=de(this.__entries__,n),T=this.__entries__[ce];return T&&T[1]},H.prototype.set=function(n,ce){var T=de(this.__entries__,n);~T?this.__entries__[T][1]=ce:this.__entries__.push([n,ce])},H.prototype.delete=function(n){var ce=this.__entries__,T=de(ce,n);~T&&ce.splice(T,1)},H.prototype.has=function(n){return!!~de(this.__entries__,n)},H.prototype.clear=function(){this.__entries__.splice(0)},H.prototype.forEach=function(n,ce){ce===void 0&&(ce=null);for(var T=0,ze=this.__entries__;T0},de.prototype.connect_=function(){!d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),K?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},de.prototype.disconnect_=function(){!d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},de.prototype.onTransitionEnd_=function(H){var n=H.propertyName,ce=n===void 0?"":n,T=Z.some(function(ze){return!!~ce.indexOf(ze)});T&&this.refresh()},de.getInstance=function(){return this.instance_||(this.instance_=new de),this.instance_},de.instance_=null,de}(),U=function(de,H){for(var n=0,ce=Object.keys(H);n0},de}(),Oe=typeof WeakMap!="undefined"?new WeakMap:new e,ne=function(){function de(H){if(!(this instanceof de))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=r.getInstance(),ce=new je(H,n,this);Oe.set(this,ce)}return de}();["observe","unobserve","disconnect"].forEach(function(de){ne.prototype[de]=function(){var H;return(H=Oe.get(this))[de].apply(H,arguments)}});var Re=function(){return typeof i.ResizeObserver!="undefined"?i.ResizeObserver:ne}();Je.Z=Re},51941:function(an){an.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABtCAYAAACoYyM7AAAgAElEQVR4Xmy9aY+dZ5Ildu5+35s7k0tmcifFRRtLovYqlbYqVVVX9/R0owEb408GZgD/AP8EfzI8gA1/M+AP88GAYbQNT89MV6lLJVWV9l2iSIrimjuXZO6Zd9+McyLizSvBrCJEMu99l+eJJ5YTJyIyLz977NR/+2//3W//7h/+q/9m377JJ3qdbr7b6yKTyaCfyaLf7yGDLjL9DPrZLIA+MugD4J8zAHpAv49+n3/uA9ksMvoZ/9qzj/Ab/b4+l8ny2/bzDL+rz2XBr+u6/Z7uYPfP6DvodoFsBplszu7T4zP19B0+R9afq9/r68l03V6f/7f78bvps3aRzeTQz+SAflfPleF76ud9XVsPnc37u/L9uqjt1tFutZHP5ZDL5XTdfCGPTD6nz+t/vBcfgNfJ2JPYb7sP/5jpZwHe25/HPsYfxBrZOtga2Xf0Ulowrgefx9ctm/M7+0e0hhn7CN8ow33xNdKNtFv+Ky4aT8m7akHtOflZ7RnX2vaI381m7b103X4H2Sw/nN24c+f2//t//If//X/7H/7H/3Al87/8+//+3//X/+a/e/PQ1NHzvVa92O93/eXtgSRgvFy2C24aX4ybqEXSbSgA3KCsvVmGQpXRulEQ9SL9Hnpdex1+l9fk9/K5LDrdLnq9HrLZnD+gLQrXj4IkQaSs5nhBoNVqA90+cvkcuv0uup0uSqWyrt3ptJHNcHOz+ioXpdfj4obA95HNmFDZd9t6Hgprj4LLjeznKEN270wW+Zy9Q3W3ik7brp/L5ZEr5vUMEplOD5lcTgLX7XX0zJJzrpytvn7ze3bgMnou/muOz5rjembQbbdNyLP8eU/rTcHlNUz4uTZcKxNWvqf+y3tkM/bumQw6Ha5pF5lcFr1OR9fWs8Z+co9c6Hkv7Vg2a4fQ5Ft73+N1+tx/ClRfa5TndTI5PR8yHeSyGeQKJXQylYVrlz/5v/7X//l/+j8zc7Mf3D1y9OKhbC+Tbdd39WUKhASSC9btoo+OnbaMvZhu0uPp6yGXzSObLaDvQqUXt+OBfD4vLdDpdHQdE6oMOt0OspmsTnynR4Hr6KW06JmMCbI2hifarpXLFfTnZrOlhc3lTdtRqIrFolaiy+tKy5gghK6gsPCZ+mghm+8hl6Fgd1xIcsjk4plzyPQKUlZ8hVw+r02lkO/u7qLdakrwcrkMSuWyfsYP8hl4W75Pn+vkekZrEUdfJ4Uboic0oeE9eJj4Lv0+Ou2OtG+q1TPUilm9lwQjFwfX1ojrw3fpUZB5SKk1eWg7Ha05709BkMzxULoiyOYKEgYTViDnkiQB4r5kMzy36Ou7JvxSDl3ek4Jrwiytle3pubLF0X6tVrv353f+458yzfqtej4zXm63TK3GqeDCSc3JFJq24bXsgtRCNC99nTSqzW6PWsBMn2k4eykuNB+mSyHxBZXxpIbgAspKUlj1j7ouF4yvQoHltvD70oZcJGo5f0tpoD5PblanktfhE/C5KLgUVHveUNkt9DMtZCW8XCTZCf1cJlQHo6DNp/YwU9LTPeu1BnarVRQKRZRKRf2cG2VXt8OmtZBQdLRRuXxBP6MAcaPN/JtW4jrxEOn6MnNh5+wddXglhHIGtMY6K7LQXKO2/o335DvaIbc1TtcpXWB7P60Xz5xbGh70WEM+IzW2PYY9D9cxzLq9mLkzZlWyUuy8RqdZR6GYR7ZYwt3526sUqlqmW06quw39QNqjYxKp5ZaU511iKb48kXnk837i+n00Wy29dj5XkEmRf0D91ulK6vWg0kymbWINqXpDSGW+eHr5onxYqnmevixNCtW5bYgWmRved9PSo/BlkM3TB/JF7/ZkCrlIvBlPcjabl8bt9lrIFvK6rnwwLZxthrRtxkyUhLTfkzbj8zYadWxvb8vUJklZZptCT5MncyszGv6QCXqBWo4HrNNBm9eR8PJ9aNKzKBSLaHfa0tQUUK4F/2uaimtvLkO+UNRahIDykPGd252ONp6CzsPf6dBy2GHlIeZe6rl0cvt2UKQE+ui2O+h0TcvwZt1uz57Btai0nPubcgH71GB8KLo2tm/9HoW5h1ajjnwhi1ypgKXF2Xqmun29ViwOJ+1mx06cX5QPQ8Ey28+rmhRLUyCDIk2D/Jo+Ws26Xoov4TJjflS/jzw3nCfABUJaLsyCDoTZc753u83T3JNvIM3IF5Cm0Vk2cygBdV9LPhe/Yv4H/QYKBzecpsTMbbjE5l9xhfmcXHzewwTc3jw0gvSITjO1FH/3Ua3uotFsolQo+KnPIs8/hw8nrWrXku/gWonXoRDwgFmQYwGI+Y0eCMkHtD/TNOm/NO1a675MHLUehaLRbGBzYx1JuYJykvh6m4mSJQiHXFYkJxNu70CH2w4fhbbbakmQzJpI/Zimly/J5zMNq/3yIIRKQI6XC1e/S9+Kr9pFvmS+3+LCbD2zs3arVq4MJTIZbfordmEJQsYkmHpO1x9Qf3G6e9pf0ypcfL4YRYAPrpPiPhbtNX9LYGiw5Sdl0aXwmCrTJsvXchNmfj/VvplcCbSiur42RuLm5o+mjBtIwdJiuF9nghU+lT+fRzTUhubjmFbVSeVvvgfNtjbVNn9nZ0vapuibS+1NTSQfsEOnmL4lHWNqyDjJFBI7MFxHbp7e3KM/rhG1EJ+53WxJo1EIJOTdjt6DvluPAYJORxZ3FxawtHAX42PjOHriBJJyGf1MD3B/SmtP89ntI9vPotPvot3vygrROaDq0Lo1Wsjy/i5kUmfy27jv9DF7Opx8YDOpZj0o4BQqCR2DGgWofZQrFXT6wNzN6/XM7upcrVypJLTRjD4osXLG6BvJEaZpM1PIk8OH4ILLqdSG0jnlqSi69bEHUuSiDe6j1qih02kp2uMWtrRIGRQLBWk6EyrzTWiWpHoVXVg0E/4AHVZuvk5YNou8q/JSqWT3dFPNxQoTzH+UA+2+U9he/pWmLfwQHQiZ0YI2RQLiMAi/T0e92WigUChoNfLFIkrFkgUeirCoKfPmGLsgW0RJGbLQn/8nLFMolLS+zWZT3+Pmra2ta3OGh4dQLBbQ77SlgUfHxtCpt3T/RquO5dt3sHF/E8PDo5g+cQz79u9HeaiEfj6HFg89rUWvi269iermDprtJsqjwxgaHUG+VLT95aN0OwDdE7kSdsjlcvh66+/uqIc1ceBE7oS+QdhF/iFQLJfR6WexOHujntldn6sllUpCH0RwQhoymf2lvTdxdL/BtYNFBYQF3G+RVXTz5CEwr8XT3Wq3kMnyhJh5zRWK5mdRONzO84VkMlyQ9iIgi8wUPjM4kJlsodNqoliuaHMpRFwMCaF/Tv6I3sVMpJlyCh6FNcJ6c25pCt0ds+tIQ9r7657dLra2t9FutVAuJ4anZSwCNJOzt2xp9OvPTL/Ons0cbEXXfQvvN9bXcf/efWnE3Z1dVKs1DI8MYXSkIjNbr1Zl5oaTClZXHmJzcw29dheNnQbKhTKyxQJKQxXsnzqIRqeNWqeFyvCwTPz25pa+TxNYHhqSIB09egz7JiZ1YLJFRngWTHH92oR26M+6qYuXMk/OAzSPTCVGVF6uqejbFYoFZHIFzN26SaFaqBVL+aRRrxmWIfNkGkgnS6F94FLmdQirkoNnvo18k56pZwonP0J/g0vYarS0ScWkiIL7KVrgrvlJKRzACKndNhXr4a+FsGaG7DkowGbyaKplot0/khqXZJjpTaMt99+krXgPXcswHYKicmwZUQl0NVOp364tQ9hrtRp2dnZQLpf1zDzFvGYhb8GNRXUmoBZlmf8SkWazVkWj0ZS221ndJmSrZ7x3/57Wa//+/Wi0WnLcy4U8ioUctje3UdvZRiGXQaveQr1Wl7CBPn83g1a3g3xSRHmkgk6vj8rEOMYmRtFst9HsdlGpJOh3eoax1RuY2n8Ak2PjWvteKYvMaBlDQ8MKulqtJnIEhaWhOntOvrsvAS1YkG4RZiZjgUijziCvgFyxjDs3rtOnmq+VSoWk1WpY5KHTbCbDHDbHYLlIKe5iKLSBdobTMHIyB9xUncWGpqkoFMVSEYVCgIwmrHLk5UOYr0GgTiZDQmtRkISc/+4Qg+E2XbRaLceRCkLBA32PZ5QZks9kTig1lcEDpqnkGHu4Pqgd+UxhAgyAtPev1+ugYFGIGLUFXBKOup7ZtRvNiTRAoSCtSi10/95d7GzvIMcz2YRMmqCDfFYbOzI6og1q0z/rtVDMZoXgN2o1uSDV7Zo0GyOtHKOuVgbJSILxA/tRGq6g2euhPFzB0DB9mz66OfMvC/RxO11UN7ew/XAdlUIRw0PDqGW72ERDWNvhwzM4ePAQhoeGtF9xYMK3So1XQEJcF+5xrpCCrYJXslnM37lTz+yuzdVK5VIiXCfUm2MuXGCdeNNJrgY9haLUiZtIOWuM/MzxdYxf/2WYSxtMJzXroWhEkBJaql3fhADhwtylpixQcX8+mrCIXPhZbjR/0TeR/nRtodPlmjb8M/1MWJgLjEeSFhSYueM7GyofUWYW9UZDWoaHgAcu/hvAoATTMTk+g6JLQDDE/OwslpeXtYH7xvYh6RUxPzuHra1NHDt+DEePHtX9lC3g/btNg1bol2ayoM+4sb6GhbkFrK6sINfPItvLYd/kPhw5cQwjB/aj3mmh0WnK51Mk51an7HDE5uoa5m7elgN/7NhRYKSIuzsPsbW1jRPHT+CJJ5/E2OioBCo0LdfB8Cvzhc2ntgifwk+YJlB93reXyWBp9k49U9tYqBXLRQlVOJZcTPpK4USGxuANwzQIIXeNQgMb6YfQVeaXEOU24I/oK/eIG8LvSiMQ/SVaLDiA0ZOH9YruGNCYsISQ8fn0u8fIxLQQfQU6tgYIuqPpG2ym2SI55QsFkhoW0yd25AcmTCad3NCMoYn4eWqratXTNEL+c9o8AzsjjDH/zVJOFkQI9Oz3sbmxgbv37gqQzSOPbLOPZr2FneouSsUi9k2Mo5xUkGUU2GgIlWcEWN3eQXO3JuFmULG7vY3d7R3kkUOv1UUpqWDfoQPIlUsyd7lyAZWRYcsCdLpI6P/1ga2dbUEirXZHB7BcLqE4kqCbJ2wAHDp0CAcP7E/zffkiAWBL8XDvDK7gXprJFw7GPcsVUyC6UCyhm8lhef52PVNdn6uVKklCW06fJmymnNcBv8LwS08Uu+9iGoE22B4uNQXua3FxKdF09nN5+i9mEuUXuVkR/iJ8Cei1O3KGlTzmxtH585wY/01QAv0BAq7NppxQhvUy1S58DqaZfyXJdrPk9wxhlmp3U6+gwD9rWJNpY72/pydajYbMH+8lP9DTUAEY/v99n2uY8wiXGot+S6vRRH2rjqRYRqvdxfLdJWnO0ZERi7Z6fRTKhCty2NnYQKNalyOt1EvTIvEs/dd2X4ciXykjGRtGrdVEtlzE+P5JaevWdhWlfEGHdXN3B/V2CwdnplAZ4316qFTKGB5OUE7KArMV+UdSzGEcuRI8GBHFyr8yXEsBVobRLqGoNgqlEpArY/7O94QUZmu5UiEhqMbTFU55GhF57mfQQUtDfY9o2m1qHuaQDMCzlIJFbdJKva4WSSCb6AiedqDdL5TstBMRbjbMYWRuqpA37MgxEzOtxgTgNZpcRGoE1y7Cd1wweE+ZbfcDDU0mkm1aU1rIoZFUwMMPEsvCDpDQ4mZTf6awb25uSqCGhobk0/Ga1FiBqqdy7JGf4Bdq434f9VotzSd2mm0JEjMR9+7dR7NZlwZmGmhyfB8qQ0MKdLjRvEYxn8P62jq2t7Yl2LWdGirlBOVSWdHfoZkpdJhKarUwNDyk9W5s72Jna0eHszIypPWcmJzEyMS45RoZKNGcMWHd7cm0F5OyziSFRFG6MzJMkzt7w/FFywxYRNtqtpErFpErJJi/da2e2V6dlflr0lH38FcJW1ftFoH5QgcdxdWhwTjmtwisTikvqZ6QUNEWF6Sp7Cjkign62Tw2traw8nAV29s7OLhvHEdmpg1T6kGmYW52DpUkwdTMDIpMA2QhwW/3emjUmW8qGtYVppiaQSwIJqmD1mKaKrRumLo0teKnMTST4VamqSyZbr9q1Wp6zwguBLY6O0G74aYwNB+voag0k0G70TSfL5cx0FR5s54lyPs97GxvywcdH5uQWZG/whgxb24ILQlN3+zsLO7fv4+xsTGcPH0KExPjOoSCdhw64Tvy0G3v7Oq7/AzxP16fa8Z9JiSje0uTGyyUZhHkVxluR2ug4GsATI7MgOH+5uIQ32OkuzB7i476fK08VE4ITgrsEyrumiay3AHmpbC9JwWdWWW4jzm5ejB37KlVRG1pd5DPWkJaLn2hBLrU316+iivffYf19Q08+fhj+PlPf4pkeFgn5burV/DFZ5/j+PFjeOb55xRK5zLmr9SbTWkOnmZqHDr4aUphgCVhissiydBIAaSGbxbPq0gx8Kpez2ksRmnhqeWmU2vZpmSlsQKNju+GQAdgKx/VtX8KhHpCV7wx+pj5AujD6Oce6PT7eTntvC99lUGf9sGDB3hw/77AxuMnjgsspaWI4EB+MCPuLFAslQVS89qF8GWFRZnBEE3Jk9GK5n0dlV9lzrIfNB4Hv13BRIaTqbvAs7gu5N/NE6eqbS/VCoVcIi5PuCEDfkXY0/Sku5aSQ+pSbjwcT4T6pupnCv97SjNkSOgiM4P2uwc0213cvDOLxaVlbG/vYmZ6Chd/cgH7Dh6UKr701Ze4deMGpmcO47kXnkdlKEGvbWE4/Snd3/EsItvGrjBoQSG9R4ABMSiqEfBq+ToleQlLOMakn7vwcS1o1iRwjuzTUacJoxDzZ4zIUg0YiDqxOYcx+LmAMITOO+2HWBD5XIyIjclBhJ2sh4yEVsnmTA7tlqVsypUhdNstM4V0wJHBztYWWp0ORkdHJeQy6W6uKNCEIhSpuRYXHpjPe060nZo1CoHewXde0I0S1NQ6hH/a6LSbnrZhKqtjUS9NH0FxpabygizoU/UyRSzNEVHfWKgVirlETqvn1xTL+akVVhPOgrMB5dt4opH2mc6biG0poOF+L51r9288ZymGAJH3Wr2JlYdrkm76TrXaLqYPHsCh6WmZmfvLy0pNUDiOnzyJ0ZEhdDpNnSCivzJ/ND1Mm/izGlnNM/GeYgkaR0AjAiQdKjCE3QXQKYf6O82/C5Wen+a20ZBQhcmLCHBwnQKrCRjDaEH2SwAuI9psAYVSRQJXr1V17Uq5jBwPBrpy5LvNFvL5grQUMacOhZ9prUoFmWwJvU4DtequhKyUDCnf2G7UJaDcdOF47RaKxRLyIjD2dbAjnVQslbRmPLxcC2o0biiDET4XtSAxtn6vg17brIIia3cvpOmMcCZnncwU3reXK3uaZm2+li/kknbHHE9lKYICaCHVHjgZuI8cOPOzqF5p4gq5kqIIIeo0cXmyBTrotCy/ViKthm6HeEhFCVWj1UZlZETSXt/dRr/XRrmU6AH5gk13trk5RJVF0/AIslmvp6F9mJtBRF34ivtFXGSeaP4SvOGQQ6RU+L2UqOamT8xSUWg6Wo96o46trS09W5IkWnxeU844tZLjO9JKA9oqHH6Cirwv12hnt4bqbl2A8NBQxdaR4Xuvr3CfGpfagm7BysqKtDXvU6vuoFAsY3L/ASLFePjgvmACovH0f4icM6/K646OjevQ7ezuYPXhqrTa2Pi41oCYW71eQ7FQxMjIqA5oo1bF2OSk3qlZraFao6O/qYMwNjGBssy+vDx3Y4Ceor+u/EUKYqZQxJ3r3xNRn62VSqWk3aHUDoTmgyG2m5nQZoHhUAKVh+t0kc8WUwxKm0RAst9Ds0UcqoMyoz/5dUxflND21Fy+WDbCG2W53USn0dQpCWCUmocvzUilSCJYzvwnqnjeg2o9YAI7A4ZNBVNBuBORe7EO9gDPwdwevyeNM0A8FALv7AIKoqKuWs2iMferxAx1oZJGjAMojpYTEQcYEtQ+D+4/wJ//9B52t6t49bVXcfKR07h1/QauXr0qlP+Fl17E9NEj0oqffPghOt02Xvzpz/S9jz/6UNrn5Vdew8zMQXz28Se4euUKzj/6KJ594QVsbW7gu6tXsW//NJ74yXNoVtfx0Yd/weLiEl559VWcOnMe1d0tfPT++9hc38Arr/9CCelPPngfDx7cwyPnzuHU6dNC8a98ewn37y3j6LGjePqZZzA8PCKNFBkG+WKO1ndaHRRIXCwUMX/nVj2z+fBObXiokvT6dOjM1AVnn38WJ9pTNkqHBLoeNFMlUy0LT9uqKIoLKm2Wl9DRNotXxQsrbUJ2QlakPApNr09+FpHunoSqmwHKxD0cOTf1ScEwsJOnnr+1qQPpJMt7W2FEihsNJIjl75gEpVFrGlT4IVI0Gyiymy8CpQz3CSNQiHhPBQkDfpfcAQdKf4zpUZjlixQL+O7yFbz1uz+iWW/izd/8BufOncdnn32Gq1cui/T32huv4fGnLmJraw3v/v53GB0fx6u//DWWF2fxl3ffxdj4GF557Q0RBT/4y59x+dtv8fgTT+KV11/H6upDfPXFlzKJT118DsVcH3/4/e8xv7SAv/rt3+DxC0/j/tI83v6Xt7C2uoZfvPkrCdE7f/yDhPrwzAxeee11JJUKPv/0I8zdvoVz58/h1Td4v4q0Weyv8vVCBeyQC8nPFbA8P1fP7KzO1iojQ0mv1wYlzrjHJhgid/mpkynx6I4XYj5KLAWlSDzrT5Sb20a5kZnLC7DjtVMGqDjUfV2L/sLOzi62tneQlErCqCiYSaWMSmVICVw64VTv5TLRW9JeDAmnUyn/ycN2Sy8YkS/oybEAMnMRhAQp0DErY4v5L7+eZQAYaOSVKiF4W2sQQ2ulOT9qK/kmBBrFDrWsQGirlEfmriaRbEZ5D+6v4NJXl7G7W8Njjz+mvNvNm7fFVqCwnjl/HkePH0a328YXn3yCaq2On/78FeF8c3fuoDJUwZFjJ6SpF+dmsba2iqkjR3Ho4EHlJ7c2NrC+saFNnpycxOLCAjY2NlAsl3Dm7DmZ+du3bssnO3X6JA4fOYZbN29iZXUFBycPyH9lcn32zk3cXV6SeXz64jMYHqrIYtAtMJq5rZwoyJSDQlFpmuU55v7W52vJcCWhNum2rZghzFsIVZxwSqZB9sZRFydQLAKaFYcLnONkB9+Sv1wgocs0KZ5E5Lfpi9Xqddl3Yi213YY0zfBwRaaUVBAuzujoGJJyCZkMWQYsojBfR/CAsxRS2owIgp4scmxljw6zVw0k/8qxrMClQrtFBBeah5EXWZ9GmzaYgs9FxsIgnhWJ6CAQhs/mStDpN1k060za9lCulMUxa+jgmRYllYf+UrFUkHZkioeHamhkWEQ+UZHcQeZmcA0FSTA65AFLEgl/dWcnZVBwrdfW1nQIhkdHzf9DV/emxm3UmZ3IoFSpmI9EijNTYa2W3pl0GkI69J8jGBH7jaV1zvAgR6yXyWHxzo16ZmedJL0kYfQQKHpKP/HQOwoSIpLaY4Ya8GVUWWo4UiEY5XjS2SF+C/+tJEsLnObkrMxJgGQvYwlVJlDLRTQbllRlhBPJYwoV6TQSVsIUYnpafjAYi6I/q3AisDTTQoEhRf4qsgKD5s5yiT8ES4PtQOeW0ah8KplmpyU7WzQc/YiMZP4HeFrcIPoVDFJo5ohPMddISgyNCNFsi5S5qfRvDaPiM/EAqWIlk0Gz2VBaLJcv+7pkJYAdEv5oZsmgcP+Rq81QP9wY08A5oev9bgutRk0/U5qGwQwhCK984veCPiwWaMfZtAREneVKRcLggs+nNE22iPmb1+ioG/Oz3TRCFwUiUPTApuKky5wMpDP0cyaMVUJEzMNSIbE5lqZhVEOEPoN80cykpNsjMub3TP0V0Fck2ZEqjZyT8CclNUWUde634Uw0T8yaS7MEDdbJfsHaTC2bA3uqAKIf5o55IOx7BQeG06QayJ1+4lSivhQKqaMeUWdKwY2aSD6Pp4YCXOXCGwDqVG0vR2O4TgedUVewRqnZkemJoSCBGLiWMQf4+Hm5AQFtBPQR78uDLLSfvo4f4r1Agu4qtSUBVqsJ1HpxTfiMvp4SOM+m6OcDbBUeCBK/mfvjHkvDZotYuEU+1epcrTJcSQSwOTNSTITAWJz5KL6Sn35Dma3iQ/8UFasqLDVtZPz5qPnjy9PPsrydDKcDiyLBEb+h+qTWoxrPMcnMRWvLx7IUQxRoGhshGBPiwQshtufjZg5CC3qWlGRo0Se1iswv7+2HIEh2WninvQiLcUxud2dHpiDyjWJ9DuBQcZAiCR2cKrf2dtgc22MaRkIbkIlrWx1Q+bGkW+/VXjKvJwwqx0iXh9YKDpSWcYpLCIwEKHKc/nwhYHbPHnqq3ySH3QTPiamq7ozDIEpSZFBc4/LZCFNQY7apuYjIy/z1USTMgiwW7tysZ7Yf0lFPEjq+8hlol4MiwoeiSibsnwJeVolrla8OHCpn6M66hJDkO/pQOZk0+kFR1RIhPp+murMrp7IoE8dNNj9HIbs7uEPDwxgbHXOmskVmBBIDuKRwMFIMxkHgRMGY4HMbUGICFWbPfL2BYknXYKGhAtQMM0baCQFQChxPPxH1IDLKpIpzZIIqoXS6jSi6XpVtKSUeSGNYhkWIZ5ZxZxUQCwtcK3OtpeUE05hWpvmUD+vFEBah8/7GGjHIhRRuLxhxSMU1gFGbVfLfQ8FzixT4qBcwTn/fqC9Bd8palVLwyAxM9pJ/AqjlRBz1pTnm/tYXamV31EU78WKGdFNi8b1mTfV1NGtOlZB6pZruRiUryVxm7rjQTMdQCHQYvc7OKkz6YkLu7tKhLIDFrKqR89NDweKLUiMoay+wlRtm1xe6rdwYfRSnO7tPFKS/SNW4jk0JZyHYkf9LMaUowAiuvJ9KLqw0FXN/hBKc5chnpKCEFlLuzDWlgGQnAwa3ikxTK6hlVsFwMXPmhXl7WwHq/R46TDnRdyrkLQpFCJwAACAASURBVDqlRvBKGesFYQyIoB6FaVKPBz6TMzjlWDsIzA8Hq4Mmq0cfVS0JeCj28qP8nNaf5XdE093MGjjuulcFKmwRYJqxUC6j288Zol7dXKoVysWEtXuMHvhLWoD1cVSzwfAM8+e5PZqQCNWpUhUJ0uFz4ps46l1qP/oHfRRV4OBF+nQ+vREGfXc7yRRMr5IhoNkxyjAz+nbC+LOokgFqOzva3EqlYkBpwB2DHDCHD3jilItzynIIm13WzVJwxbz0y/EJr9nrgAg+ozFqqOCokyEhX8gjQv67oqbIHQZpT9VHbTP/pFi3rJaSyDejOWkD92WLZeYBoRSKyIsOtKrsShReS4kR57N8YAGFcgm9lqVhDGYxGlL4xFZlzkR+0awLaYBMwTD3SGhHVgcoDw/rHqQsR6UUBdco4ZZkNx+MtplFMVaexp+TZNjL5nHz2hVSX+Zq5TIR9aYcX2kh0WkjgvPK1uBHOXKsvBsXiyGoyrWMs66CTWoQmrQOK2ks9LeK5qiWMXoK4QXW0Vm3FHvAwL5UjkWmovOKZEJJDvPNb1SrWlCG9XEQ0ohOBQ6e1wswNgBPN0dp8OGOqCsD4+eHMPqCc01o+uish6POz/H9ef98uSzNWatVdbgYthPpJ4bEQzUyMiIcju+/tb2Lbi+DsYlJbG9tYu3BfRw+cgSj42N6f2rDne0NJEMJRsf3S6MvL8xLqI8cPaJiUgKnlcoIkspQivRzbcaZYC4U8WDlATY3NnHw0EFMHpwSir65tqEDOL7/oPyzpflbWFtdwSNnzqA8NIzVB/dQKidC7KlI1jfWsbuzjZmjx0QzbpNXlhIhneEAprJMXlRWlsth7vZt86kY/clP8TY1qjZRQalFgoFox8lWBOXOfDiGkiUqEq+yCfBczE9WsHqHFNt4E7CIKMw3Cz5WlEw4R0s8dut0wnJrvpl4SI1GyhhQupL+0QApT1opItFgG3iAEBSPH7BABxz8MIcyZc7GoJbihgfxLpB1UnrZQ+Dzjz7A559/hmPHT+IXv/6tGBV/fvcd3L13D6dPncaLL74o+szX31yS4L36i18Iovjs449w9uwZnHvsJ6r0/uzjDzE3exsv/fznOH32aWxvPsSH77+j4tGZmcN4590/ig37xuu/xOETx/H151/gyy8/x76JfXjtjV8I0/v4gw+wuLQo3vmFp5/Gje+v4YvPPsPwyAhefeNN7Jucxp/e+id8/e03+PVf/RaPX7iAy199iWvXvhMF+cknL8iH/f7aFRw5dhSPX/iJ3keCJU6dGdssk8ld0mT60rrdbA5LBD9p/kqlcmKl4nTuGB1ZdTJ/GVxAubLGGUoWe/WudX3Z62TiyKAcdSVPC5amocZRAjoKJVT1HBz1vdo7RZ1Ruq7IzwpKRRZzJFfmxbuahLagxhJQ6xzqiNgCUU/D4ShOVWcZiyD5GcuhewXMQFrHDhP95j62d3ZkjlMqsbhcObEviai//dbv8fXXX+PYiVP4q7/+O/mAn37yMe7fu4eZmRm88NJLmJ+bw8cffSRQ8l///d+L2Pand/6ImSOH8fyLL6NZq+Evf/ojbt64gedfeAHP/fQ1bGw8xHvv/hFTh6YwMTGB3/3un8VgeP31N3H2/Hl88803+O7yt0K8X371DYyNjeOdt/8FGxvr+Pkrr2BqegbvvP1HfPnll8pK/PXf/A2euPAU3v2Xt/DFl1/i6eeew6uvvYJ7S8v44L33td8/+/nPVX/48UfvYf/kPrz08s/Mv2JqLFobyN0wAiJFpUDuFihU4aizQlkFCmY7o3ZNDq2iLXr6xgQUXBHtRwRtGNHLaMRedaNmDwZL0DTKZxCn2UyqNtE/G4FZRFt2CPbKqYJUF851ME1VXRw8cb/IXjTqjrv7WSnFxXG2EBZd60eRoeiGA1GioqBuVykjpkHIUAhcKhLKFPLbt25hZeW+IqLjJ89ifGIC1d0dmRAGGqTyMmWytLgoNutPLlyQj3b5yhWcPXMGp86cwfbWFu4tL2N5aUlm9uKzz8qcffXll/JbZqance/eXdSbDYyPTeKRR86Ikbq5ybRMHidOnpL78eVnn6JWbyjJPDG5D9evXFFqhgLw5JNPYmrqIL75+hssLi7i2KlTOHf2rHorsASM7zgyNo5Go4aF+ds4+cgpnDl7RpQc/lJQJNjD0ljqXUESJlF9gp+3yVFfX6jli8VECVr3O0Kw3EP2MNXTIo7xWIqEzprzvj2JzNMcYT4dZKUgnMpBx9acbqs0Dm5SbKyiMU+/aDO96VeE39Iajr2IO85ohkhuVMr4tcP0mXzuVYFQYFQdkjbV2OtcEykVRXZe8CCYwn0zmioVkyaJnHU6yQIXCS04I4PPxmKGVrOjz7GYkwEHhY6nXEWcLKln8QQrkOmn7e5iYnxcSdwGaSusFWyxcLSm+zD6VTK70cDI8Iju2WABBZuFlMr6POkfBI1LeQYKdgBYbURhHhkellIgdZgpNVF6Ol1VL/MatCbB9hgaHpESIYWmWt0R6r7/4H7xrWj6rWeYnAO3OkTm+3o2ltRnCiXMXheiPl8rFIuJKn7V6c16JlgXEq+bE4X5h3TbwGK46GwGpmZZZBdSgzA35ggxfR8u6iD9NtiYFAZtiIfiwo1cqBQGDwCXg4ltCg3tOxeUPJ5AzyOM59+tjN+aipkG88jTNaSZYiLJewBoCLexnr2VjmszChVP8aCjHoh1lGsxUiOq3Gs1LchgWE58h6X/NJ1stcR19CJcrrXSR0GbIW/MC1W1ro2GMTE9AkyLZsUMGCjuyFsqh86OKqaLhBScyMiCUh48mQd7pwAxqZApvEyzlZKS0kI68GqgQga6Y4JcP2dgBOovASXrs8vKJlYoF0U0VNk7hapcThIj+VurG8PIDTA3kIw+khk3A+UMV9nLFXrTMIf3FY3xO4IGOhYeO9JrNOM93pb+FBXKvoGRGkiFeiBVEHwpRZhe2GltcIyZGECicJ2BamPBif6ZPY41/43raKklmeRohejFElGmRG0hXrzTiYNuPJg0FmxhPTmsbs7b94irT3Yk+3M5qpvCGtEIzRmmegfnkwc+JPicwY3cD+8rwSNnzqAp/6zBCPFdVew4QKfASsCpUa5ltvyQ2YE0qpI6AOpLtEIZq430qqFwZZQ5yJlPKryMfcK6ZIsmghTmbn4fjnopkYaxOiu7iT+v6uq9EFQFnO4rGVJsERvNFB1x0SEc81f0pxSKVbaS3qqUC7Pdzhe3jLyVoqc+VVSgqGDU2zQOCKFMJMN5Eu1JmyUgSTqu94Ey0Y+ksOFQ6TMpjWTvF6h8aDLrFGgIdFo06ekaLjTr9ggrKOpzop74VF7az8vS/2G5Eo+khebWJS+6wYR/GFU6KePBy8uYy1PFjWcylP4I7IsaXJ+zjWcqR30+KVlhlrwXqK7fJYfLGti1e1ZEqj0V+m6tBtLoOPBJb7ZKxF98zZ65DgElSMi9JE2QjfUDlKDTDejRUZ+9aUJlmorgmWX3mWujkPCmJNjTEHl/sTRqC01gkH70juqpN4DayzhhLjr2RtSm3Ftk7wdK0hWxRR5uAIQN7RFOviWpLfWhaueooHUulBbAQ16ZiyDuyYJ7+ZXTc1SYuteT1068K5oQgPgv/RT6P0LRvd5Ppsq1chyMXJ60ZYNBTGE5UOjFCY68pPfi9bnhcjvUHK3j3QQjh2raSfFR5LrUUI6gsnWz0XO7xkobqwhItp9FflVZEm8aq+dwqEZpm6hF8IbI0W/CCADmA5NbZixHK86Q5LEyXGwS+nZ5LC/M1TPbNH9JOaFfZAlUNZHeq5n3ZCa1guysQFFrxmDLFt3mvF+VP4TMgloqOtlNzdA84x4g2gBjIJKgkdCVJlQLJKNl2Gm0nlEqcvQaRNl4pXasaW2g6wEXUIvS9LC8XMtBiMShjegPqnKpML1eXaOT7LlBfo8CRcEigEgHOipLlBLxZyMYms2wCodplHAlTFgiFxd5tTBjhnB7o9eBQ2Wuh5ujKOhNS+Z4+K0BCb+c+rI0Q/SL0g40JlTWuJfpG6dps46QNG8PoLi2LdYoMIerz5N0SKDZqNO8h3U5tD2wCiRaoKxaG7WbDeOoF8uYv3nDiklLSSlhcWGYIOv6FoWCXej0SZDcjHv/TX2eDiOJY1nDs9RVjgtKJ7jj/Ce1BSSuw9SNmS+d4kiteAFotHyW+vfFppkz08yCRUu1KOxPud8uqKKyWJtqfobPpJbbBHC9tEj5tehD7uVJehJ/noh6I8clreE/r+3uilBIoaIgiePEexKz6/dVwMBN67Wtn2euxB7rpsm6LRYa1O3ZqZV8DeId5Z941BnpJCWuvTZAPR/ErqCLwf6h7Hho7oeV/DtILYiFG77XTTCi5cDwZIq9l6myB447CeQe+LMJulXnyB/1wmGvGhaeiD5bP1JArR6S35+/ecvoxEmlnFhC08yFIc1WOdFRbRp5OYn3qrQTErkga8vIMNkEqq3kMflI3oMqrpU3+AHUFE6PiUVNVbSbHmXiPXkZDnRa7ZL2XXc4QMJpX/Qzv1cIMdClT3x3T1ZnxSC1RGiKi7nwyDEfqDTWwen3LaHs4CefjZEnf0ZKtPotqFks4ZMcxkcnkC/ksLGxKYr0vokJPRNxKDJImbYh+0L35jPk87o2U0/sLTVMpiW1YbutNAxNPKthSA40PpUVkxAbsmJQsyDGFKE5in6dxj8Lkxg9u9RbTDiTN3ZTI7Y90x9diuWbDVCDJPxyWiNgs4BLJpzgZ6+HxdnbVkxaLOQTFTdSy0TC0B1AnkhyZza3drEwN6vw9Nyjj2LITUCzzR4DW8hl8phgWVC5hEI5wdb6BtYermD/9LTI+83ddfHayZWW7+acbvXqdpyJmxnCE7QUmQun2XITiImYs2mMUcEV7MynJKle0dJAPrVgkOoitoQaeljPdYb9gbqHL8V7WHm6d8BzbRokvfCnqLGUpC0WlRP86MMPsbO5joNTR3D+/ONKyXz04Qf6zF/99V/LPHx3+bKe/5GzZzFz/LhpMU8KkwJ05dIlabSfPPWUytq/++473FtaEiJ/7vx5lCpD1kNCvVE9ovNoVcxQnmxnFih4iv6nzoylkPK3ukuT/RAtl/xgWpqOSWzmY1nQ2pJlCSYGy+1k4j3HKwBUfdezyn+2exlD1Gvby7VSKZ8EjTTCbsNxzLHbrdbw9Zff4NI3X2NkdAy//u1vcfjoCeyuP8SNWzdx88YtlEvD+PnLr2Df1LQ2jKmD+duzeOTcWcwcnsbG2l2USjkcOHAQ7cC/Boh1gxXFFASq/OgTRQEMiovA1QEWoqg6Ah8tWmEfymhwJk0YbEwBnwR4vVVjNA+JkRymN4za7ExLPVOYv4ESrcj/0cGujIzK1/rn//yfhEgfPXocj55/Amsb6/j6q69kjn7xy19KqD786CNxvy5evCjNwyCI6Dp/s5T9448/Fv52+pFHcPbcOUvBXLmCp59+Gk89+6ycYf6cuIWoRc6Fkv9J7errQOZDHFp7fBuPIs1Mn0jNYB3b8LUMxi+vpQJd58x5ji4tNglBlOetw2styRkV9pDH3K3vrT9VoVSUT2WTD7zNj2sNnthanb0NvsP83Kw6nrz4s5/hwKHD2Fx9gEtff42bN25jcv9BvPrq65g4cAA7m2tYWlrCxvqmNpiFDK1OHWPjw2qwVa3XJTDaHO9VkKpax7fUOsdD2HCYVQbkKLmZO/PLFGExX8k8pD9/aLqIzmg6rIybIK+1+KFWDA6U8KmBtkN+IxO0Xk+oNmEFpmlomqJEjElaPitTKxQqasuZ6cP63PrmhtgCFBpqnvmlJQng0cMzKBWKaPf6mJqZwvjIiJLLd+bmDddrNnH8xAnrKXHtOyHnFy5cUHUMMb/NzXVrzEv/bCCxnwJTUUE+kNcM7pa+QxhEuV4rcOX3bHiCReaWmnMh5IEulcTG2IuIA1U3nIqCTsA1kyvhNotJq+vztWKpkFh04iGo83uEomqx85p4wLovPsC+yUnZd6ryza0twfqkeoyPTyCpJOoBSd+KD8mqXqv4yCFh/6SxMTm8LARgD1AVjqr5GStdG9rA4ChxIeQU+wKEEIafEw62TJeyAd7HXUR9i3gkE+oPYL0NSPHhe7L0S1HkQHFCCGxU16TsUpWS7cjMDVUqFm3pnYqi1/IXqSoMxtjXk94o14c/r1drqogZShJhfJtbO9IyBQ48yGStG7H6ozpswCqinR2tO30rCtv6+rpoLcwfMpK7d3cJtV1ehwWdPmki+n15HaSePfwhe7G0EkZC5QMDUk3u2llkAe+gx3XlwaOp556LI6e++j70SrRmo0Xb8KcSFuhTsfAhSUqJSFsDrYF4cmWTkUGnRSCtgBJLsvV3NpKwZrOsR6OG63VJjahbdEOU1ZO9jCQ1fYrhKht2MMTXDBl2yrMNodoW/sSTE866h9mD5VVhjqK1okWAXjjqozbIqjQ4w2ECJ6WZb8VV8tpE77wXjAb9cKDKWNmA4LCD3eh2dCKZiwvnlILDZxBOw6hLgk1/zZxljRthlxoeIlacEI1XyiSrUnH6MOQhaaKGU2zU0Dbm1Hh0ZhGY9YKyLstM+zTV7Tl8vyBMho8YkIovZ9o/QmZuoFI7zUIMFEdwLaKiO+Cc6HATUbeFxdZfn8+rfu8ZtrxWK6GFWilh7q9pghD8ZEe5+QDtFmfLWMdhhY4i5rUlQKw8Zg92sgFzPjlBeSivjZOjr1ZCFCBGk11pKT4cT4DULE+Jo71qXub5qaiQiYVRJOhtFaOriurnyHwUJYapI2IxexQww5+C3WlN06gphDT7c0TSWerdhSTQdclhNmt9zIPDFe0Z3XyH8HH9Oh2DUyJ4MP4Ry8/YR94OllF4rfhA1CFvG07B0iZ6kTUDCXYpNmwob7ggO+0VCzJ/ezNs9prYCpQmxEMBFPffuPhq9eN/Do0cBR7hd6WVUE6Xjs9rQoWTN2UtvIqK/isjep5HJtDJUZ9Xc35y1IeSpNOy/JzUZPgrHi6S1rSwuKyI5sDBgzh04IA5tH66BSl403eZpmwOm9tbWLl3V6ErvzM8xr5TlqrhRnGB1X7mR40tQgtECVVKT/bWPDQ7gS4LFeYiC4BkG0jTnpaKCebnHiAajqrBHXvVIipy9VA5tFz0/0wddSfphWmklhISHjlCXzOyOpVcT9t2Gw1IkVXa+4TCb+kkCWSEqkLFneeuPuXe0nIAzwv/MqUOeWAhSM6xLbVv8ma4NrLE2j6FVo7sRCTilYVw5F1YnXfQE5Lu6+1hjIHjMUUr571Wu1b3R4q0+lNVNxZrxaSYEBU1XpRlqBX3Ca0tolpv4oP3P8Ct69dFDHvt9dfVpL7btn5K0UbROidmUEgquHXjumr/C/kinr54EYemD+hkjo2NpgUQDMfl8nn7bL2ARyihwfTC0bo6zV1Zs63wh7QxHqVFf/cUDXefKdiepgn2zONeNGMplRCaaOdo1bzAzu6uUHUi8zr1bp7VVyGGHgl4tVyovZePE/GWh0YEpBmz6iIKJbWrok1PFkdCOPhnQra5Dx7+07lWbpLRljfWVV9RPySDNYupv+S1kNbfwlwOtQ4YQPCj6if8yPhc7If2wZBgy144y4NsCGJsZDiwQcfs99coVEu1fCmXtOo1x2xMbmOx+WAUqq++/Bo3rl/HwUOH8Oabb6otDatiGTWoCke8dA7rsaLEO3dm8dUXn0voHjl9WqzDoaEyTp45jU6zYz4BXzL6RbEYgtdxkiBBQAqoigwGSoXSHJi0nbESohw71HrgV9JYzvLkBtIs0L+juaFzrBPr0SffOj6fOuquBXjdSNMExyk6IUfPT+kd8bQ4BMoAWQmCFyKoeMDzcZpvmLGiVcPsLKEuCITuR3Ss8+S3jWnxd1XLIdMm4TcG89WiuZgANgCnhFCpYZkPl9LAo667MOYXpo1L/PqRKov8pVX1eC2kd0/k/hL0JeeK0d/cje984kNSUCe9YAAotBzopkLwk0002GSeL394akq4SziD0WMzMvV8OCLQbBZRrdfUbCOTsXbJ+w8cSIUkHpD/FacoNI5jK3HSUrMVTISo2I3o7sczYDSmzHuhuxmSdmK87w67EsOe7B0EPu1zlrAOQaOGoVCpI7L3UOfPKZjUEkKt6dwK8iBhzjITQT1Wu0T3PWyMiaepRMexfKv8xQH8bTB3mrIJ3N+Tn+jgcZgyfd7pRfHfgGuCxBi+kdybwOOiRjESzwEsO6FR7xYV3T4uj6kv81VtnB2fj6C2WArspaCen5Wyor/w9LWZNPo9jpclAS8nvowmcLq0xqappk2n3Gr5SP8Q+CYU3Io8iaST1E+/IgA8IdNeM6eoz/siKJryuX8eZslx1xg09h5oNCSUakvoo0dkjiKTP1CulfK2nNdkc5itQDZ8qsgnRmGnHHV/nsCA+Ez0J4P6Es+uoMV7HUjASFPx6RfSdu6Yq11im8g014j+jS2jfFFzIs2niQLdgR6mWiNPqEeyPN4rNVED/HqR8CKVFdrMBcUiSPOvJIyunQN4lpJwIVIEyjUNYNUJAiIUOGWF/qP5sOSoJ+j0sliapaNOSGF4KGFjDb2ULrKnQgXr51mLVrTBjGZj5AiKtenag9FOtmitAJu1XZ1epmvEt2IlRo/4jbmX6rX5o9L6MBXcQLEZBkZ4KM/olBP5FF7cyEcZDJ1TekxU1UTYGE3QPKGb+lfRnN+xLO2vC2WYxjAzW5ubEiqCgKGtwlFXiX67jWvXriKfK+L84xe1abPXrwqbOnbylBEbFdBw+WwMmnH/vQIp5hb6oQ3trLaH0SXZHDI7GJ56kan3/gdpHzGHRgaT5cHGFxPBaeDhzIerI4pMaKZYE9eepkwsGxGwBdM0Kihl+qtISKGABfZRJ/MzYXfitlNfnJdjYa6pcfY5qFabqtBgDRhzeQQD7929qxq36akpbG2s4+7d+xptcWh6Co1aXXkr4hcHpg5ZMKeGEE5WjPJwr3iWCfQTSdxKi+ovqCRqqHtfdKl/1wYxL1iR5wC/iWG1hlzHWN6Ibv2U+jrFeqWEvuCpB5mO16U5Hxx4xPtzw1VcmlSwtDCP//sf/xGHDs3gb//h3wja+OPv/yOW793F62+8gePHj+s+hGCIM8l/8iGdgi2U5LVpZQo8PFOQUmXcP4Svhdo6uUaPqvHAsSz6dRPrh8RST9aKgPcgf46WRwIVGszxwjC3g2za4K1FF2MLloljsjiWjXeLQL6EWflUq3O1fJHN+WuWZFQJe8wnsW7CmVwRV69cxffffYcnHn8cj124oLaAH7z3Hp68cAEv/uxlXPnma7z9hz/gsccfx5u//VdYf/gA77/7LqYOz+Dic8+IaM80ycS+CXOe/YXCceQimDNrydzI74kpOti3YYD2Im3n1FvToAYxxOwa8VJ1Ki2fFSFyKLDw2Qb9EUEq3jA1KnP5dzY9E0mPzEdffG549Kj64ovP8cnHn2D/wUP4V3/39xgZmcAffvef1aHupRdfwvPPv+BV0vSjzFEPgFUtk9QXQGGICZybSAkIsTyfysXP8rkEp/g+qX2Q918VtMN3pqB6wNBlEe5AlZDI4D5dQr6cE/SUyaBWZ5um4OjHeru/G96grkdIQT3emXJjvjCPOU7RolDlinmNEYnTEhrCfKs8Wt0+3vvTn/H91at47vnn8eyLL+LypUv44C9/USEia9qW5udx6ZtvMH34MJ576SUsz8/jw/fex/HTp/HU0z/ByoO7OiUnTp1SN93Izf1A3TqkEMwCsw3WoSVSLgqnPapKUXCXEh3O8LqDrejDekyDtdPSepmQQQ57EOGCSOiEwMBwBnspKH/mtGfiVRT6xfl50ESyBwI71u0/cBDXr13D3bt3cfL4CRw8cAC1eg11TkdgFJa3IUKmFaKqx7joMpPSplbFHW0zI0JMKdU+UcLOk4/z1UEyZgf58hIYH2GruYgiCfgoOlkL96+C7jMQJPG7rAIqq/HcqDcadtqL5lUyvRSDkAroZ3NYuHWLuT+WaOWTbtdgAc0eYZMHb1sjimu3jzu357H28AGOnTiB6aNHsfrggcxbZWwMU1NTunFabJnN4uHKChaXljC+bx+OHDmMrfWH4v8cPnxEuS2jrFg5UhDzhe9E0zH3C6K5vfw4LpBPTRcjlFGeUGdqIfYXMFaF1Rx65xJPdVh4LOaTpTaIbLPo1RdVvpkjyfI1vIxLkAegFodC1B1NJ9tA2s/9S4J/xG/Y9pAsjWFFvFmbycd8HnGuRk2My07Ly//FXy/oOgxuFCWqqZtpEqPpGmqtwCeAVueaRQ40xZs8CNHUWJVRFcTopEYjXmj+qmtBMXytkUocTjnxDvPwwGlvfOQuOWDyJYUKMKggDEK8yoZJWR/1nLUSolAVywWNuzXTYfeICVZiGWqWn9WXERtSDZtHYIpc9NDGz+FvPgxpHcFYZKsg5gb5oDQXUt+ekBXKrtZDMSAyJrBHsYg9kIXrXt4e8/28QobPajN9DScy5Hhv7K4KBBSxRGW0XHIrRfMIKADUND0T1czevYVzaQJSUIopSRQ8RP9RNeunCWO6yFsdlTjWVvQUS3DLD+PcHTZ4Y/qLZsYxMwU8KrxlTYDBDsKRAhIZGGwZAUmaE3RfVKkrtQCiiWRnNCbMDTy1zbeuOqyGkfvJjoNRM+lNRPj8KkjxqFZuidOq1Z5DdSOG/JNubIUvbCRbVDXNPCGF6uZirVRmMSkpqjH9PAo92fRV1XcoVEaALJmHNXQdryFGw8uTXRB+iR7Kc2LCRaT9GMZyYdlV2E7uYCN9lR/xUYNqbPmXH1S3WP7LOv0F6GdjMMhatPtQHcsJ5eiMSDR7opT5Mvp0QauVgCpRtofG25DvmEzvg5l8Qau1mvJ/RNT5WxU9AaA62m3ogFVi22R5s8t6bmkeS8zTwVUdTJZ96K0hryAStZzk+/nsRS+Zs/ygXTdKL7TxywAAIABJREFU/mWCXQOIRDcAEEsglEK0tkJxYCwDYZAANSMPegrhOHjNz4aLsedJuBgpOe+jbsXJorIwoqFgnbyDn1UyP4uFhO1j5N94uCoMw6m0XIhmq4eNzXXRRknDSOcBakay4Ux6QA/3+UB0bnlyOJG8XGYqoY163UyImNXOnIz7BBfdzIHl5tT1xakv8kX4fNHuZ8DvMbNpZpAMRTNnPt+Ylc5FmtqmnoGdZuTUB07jgKgBlO5jDDT+ohDzXcinotkj/YWjafncMoPeCS9MZkRvkWuT9tYQcKuVI5hMzRGVzgzlo40iFSrzmFYPYDlJWSgX1iAvBtShdJVXFUXeTlhbz9JY0c8zDpPBDiYInKBhJpTN2qznJ39Z26PoRRVVPFYOlmp0qiwvJuXnCX4iEHW2ZyT4KcnVlPZoimEnQ/yaTB6ff/QJbt26iZdeeQWnTp0SUyGy6hHyq5w7SSScSwsLuPb99xK+8+fPYWR0WEAqy7vFP1fJj/VRFxtRdYNW8BmhfoTTyi16E7U0cnOhN0VsAtLnoGjnnscoMYGbOtH0U2z0rnyTgWqVADnt/T1FFQLrHeUIJ2iagjM1AnEPLr00VFp65iwJUZr3Mvye5xbyLP+ND66+E9aD1CyFVQVHUUMa5bk/pQKFgcNgSt32bVBLWv2pTVAVXKPmKh4iCyeze8W1DMrwfp/xLpGs9tSbItGwJjp87u/R72J7xlwB87dl/qzsXd38Y6abt2jUDbM59Vj649vvYPb2bTz/4ov4yVNPW82pO3aDiUkWFfJFr16+jE8//VTU1eeefw6V4UTDc06cOq0cn7AZVp9ImG0jY3K6hMr9AFGK6Wz7KYquxEa/8MLSgAtYReSniRsmoE+Vueb0WpzO5l0+3SHlMPVF2o+oMg5WaBpuCqM/zW32IZKiN7t5D98naiWV5nKIgCZPmJOvpVlFJz86rcasAyEVG1xEk04wOj3Uzg2LRHgg6gHURvvvgCXaHStdNyG3Y5f+zMe6RLfomIM9CLeEllJS34tDRH3hgZQG8yIW1f6Z66KJXf2MOeq17cVaLpdThXL4MeG/xEOzkfzcwiK2Njalxk+dfgQz0zOKWQPdFR3XnTyaJw5HZI8kMh8PHTqIJLHZJtPT0+ogIkFyHpE2PA1lTRhi7ITlxpzmyuIGHywpTUOHmOVkDARE09DOeQrCqMLqUekj4ug38hkYFMTcZZ2+gbQIBUDNQ6Kax0FEzW/x6E9R0ADr00h6RsBTVTJBXgmWMTrl2mo+EFmueTU3lYmGObgsX+PakwSoNI+6SFjjXDnCrlFkNVyT6xld9yhFFWVewuXIHIlBCebYKbXimKjRYKw1uEQiGtwNsESkid0fNdzMNK6eyKlC8g292EJ4Yj+DeYv+ZmvZfF4NOgJ+V8itiMkHMir6sxfaWl8TJD86Nmrmy7xTazZLDEnpFGMEcLGp5VROlDPUmJGacnb+oNFpRvnklCvFezlW401Y7SybJgp/LpKiAZgSfOMj0bimTS88EiSLtd1m0YBNtZCwBfPUbIBFjZGFd98yggcKFenE9IPk53knPfVz0GiRrHAaRcqCACz6ynAiukh51m2GJVqZHlBJynKW2t6SUmvPBnECIlk8aykcm09t6S3V7EVn5oBYXIunNBjrd+l4XcAFHiwNUF/UilyRZvTMMCaEDtVAS84w72oc7C6HaMyhcT1nKYYKO+nddKEiTsVm+OEESzL9lRiClspDKJUqmj3CE2HgpcECZqr2+qvLFGQyWvzoFKKkdN8iGi2aT4Lgd42IL6WviElEOy+5D8xJQKlGmxk3Wolcfjay7e7oZrPWfz18vfBh6ITyeahZSYWOk2m1jXvsAGlEx6cieRtoM4tJ6aiTeUBYRJgOmQpM05RKWFyY19TQyf1TePTck9JqN69fV2BycGoKh48e0dSFq99+i2Ipj+deoEswLDrRyv37as949pGzqgfsdqixiJpb2kZWm5pOZD9vnxmQe0AiAjuNhRlOvXHi+H7sbGM9HaINAddTkI/q/SzOUzTr14/IPbIL6j/mAa3d2oYxUATYMlJdfUrs+iLw806tVC4ndgNSe72kx1FaUTjKFTk57KdEtgJfrlWv/4AfrXEUrZYmkldKJVRYguRjL2gq1DWG82+o3kOVeqFj9DwSJVyYy97ChCNqzRnMwYx8VZheY54yxZRDhkR8bzUZmtdSL4ZTKYmryIUsDKMZR0oociNCsyP/6I6wHPWB9ox8Bo0SqVSE4/zzf/onNSc7/+gF/O3f/oPmuPzpnXeUD+UMmNd/8QbuLd/Fh++/h5GxYbzyxmvaJA4kurd8D6ceOYVf/upXRsttNVEpWS9UDn+KLEHwmeT/DPR7D8HfC1l01FOSYHRPTn1Gz/VZhG2Swgg/LW2LwMctUWQzXM946yZzU4gNBl2Za7Zw5zZZCndq5SRJWBQqcM5DdjW3cEetPDSC9Y1tvPenP2HCEXJSQRgJjTi8wE1iQSRLlTiNiT97sLKCAwcPKTXT7dk0LfaU5IJH7ZxOvB0vlTeJqjpgu2XL+Rxqd+1dXLgQwekJwpph6fptzez3mKGKMIUkm6Yzp/NHFTd+HaHObppJ/YjOehSqmGQanV8kVEkiVuh7f/kLFubnsG/yEH76s1dVJcNc6f279zC2bxxPPXMRm+ub+PSjjzA9fUhd7qi5Pnz/fexsb+HY8RO4+OzzuHt3SfJ++tRxpbWsf1dk4e2PWhNzQtM0VgR2oe35MxWuEKnv9oStWZrHsEgxEqKHQ7QzCgvlWlCHzdmhNPfKoXqKigGIzQAyoFlzbcJRD01FBFyZ/8CnvPkZH4Cjvm5ev4X/5x//Ue3+zp49i9WHDzXLeHx8XBvFTrnEbNiCkKVEjJS21tcxNXMY5x9/FK12Q4tw8uRJVZeomibtrWD+B/0HnZgAOFONZo0o1HfUCW8DjR3Ssa4q1HefTZXW3u1vr4EbtZwpKgYciuYGelqFqjcTvTd5i89Kf2qwlZAcc5/hzMVeXVuVv0RFODoyhtGJMWXvq9s7NixybEypmvnZWZm4EydOaJNWV1cFCieVYYyMjWF5eQmZfheHD0+n+U7l5wxUsyDCcRRjYOy17Q5evw5hONceOcYMHzE3fEZQwAkBcnJ/lA915oLWwCNsHbYYgJ5mu3nKLWNA/LKfLViFcnXjjloJReZbQWiYB/YeEH+8gNnbc/jm0jcqiiSleH1tLW0r/fDhQxyamsaxo0cwNzercV7TMzNYefBAdX9s6czJAhxYxNwhN5ORjmy4jLpJu/FzHLAMx1ynwTQPTajmKJt2T/Nzoc2ImwgAZXN7DTx01NsdccEmhBQYNXh0I+viDrpQeZ/cQKdTgYAvKg8CEXVqYPpnQX1RbtBZoMpHti0fqfJ69ZK3VgJyL/ydCB0wmOF1lJP0ICHK7bstTl210MSa8HqTsoHJX74EHiftdT1Ul53wEwPMjp4SA8Q8Rcv894jw5Jca957+XAC5KfYWuKLXFFjXF1oRq/wmIZPUlzkOPKJQFUvlxGa52YDEqFiJ+TPZfBHtNic0bHnFMftI+ihY0FEjzbagMH11dUUz6aih5NxubYtTVcwzIuuoiJNmhIvMAk9xlxhms9LVm84aImxtE6kNrIeUhdgKqUOTpS2tbbKTqpSFAVmDfGkcJ7FpNl+fWfeG1f7TwfYmGymz0p3VwJ8i0uLOUahoAsNRj4GS/Ds3Im3Y4VPbDbrwmj70UKtyxjFHnpTRahFfgyqP1dTDhzdR6NjLvNttaqOClqLJV46ER5LXInPrFk2CJJ1xYUre+Mwo0bYu6hTo7IXA3qhEouA2IAmi4lxpHnhaC6EAUZIlfhtv51MrRG229uM0sSZURev5SaEi+ElVvYfIujMcKG+G1bRU9z5j2QftIMMEagcdpmPE92FKhcOcCfNn1QOSaqXdagAZnlhTrwY9GU9IoKeoGjaMRxRu7+FgxQRG05BQqY+6RUTimzvvyMaW2DVC65nPEAAgU0iCr63tkXdSDlqt+SOBw7gG9HRNgILiqDv4GWF2jBQxDWc9m9jO0q5rCx4bqx6djGwVNVk6ST0VtVP8bf6Ohes8DCYUpoW9z5cn6y1DYB585PMUnXn1jpHujMFrdCaDFOSKOlou+EZaON7Xn8I78sjdsCDPonPLJFu0n+JWexoyWMBLnExa25irlZJyQqkNtDpC0iBz0fyx59X29haSoYo63nJT2XKR4J010yKf3fJhlgD3fkd8JCeliR/UY4Mtw2CoFdPNN5fYgE//ZQQ+o33ERrV4gmNRxUywJLClaQIz9ZElqaqO+cjREdAYAJGn5MYpV+j5Nf57Cn56Gkg9P528RqEKvEqa0Kky/HdWX1MYKHAxX5q5xrRtj4E9wqos+2HDxs3sWOcdD0k1O4Zze/RsnpiOcWyWJjKBU86PEzVcIEX77nmSWvMY26K+hAaXSctR43h5HCNnlov5wCvNqRZZzybdy6Q6I9VKxczR7/c8Qc2yPI5EQQaLs2zOvzFfKw9VhKiHLY18nCRVRLYclpbv4Zuvvsb0kcN47IknsbryQDjMzGE64k9icX4W165eVROJRx97Uibu6tVvVUj6yLkzaLfqRpfRcCMOVDTzQBU+2OTfGp6a92GbbViKfBe2dnbajbrhuRlMk6tpTiwE0zsDqoiDEZ9Xrng7yeC3W3DVF4wgH8Pb58ivcAGnox5CxX/XuFuniCj36bV44esQxZf5ddaGKUMmww3OjL5SOjAuIGo9IETd3l24WdoA1rQun9kGg9vAR0XOFE51amHj3jYaDZpaN31esWM1hnZ9dUfOthgnI58jt5zmteSzhKqARsPlke3bAE/VzTgYHPAPcS5TAtZELU+hzeawPD9rDTqoqUjmiiFGUSmTpke6fXz11Tf49ptLePSxx9Qe6Osvv8QnH3+MR0kf/uUv8dmnn6pHE+cC//o3f6Po8L/8l3/CY088gZ++/FPcW16UZjp67FgKmgo/GpgEOgi6StNqyLYNKZQGpF+hPp3W3F+9rIxDnIbaRh3hl2NYgGFSUVYfGolCJDPizqp8FNdKaVHGAM2GuT/6VQGFcNOiCMJ8H6ubk28X13UTymekBhvMJYarkQo2NYFMpzE9DFuzTna8PuEaNuVnDzCWvLFfGDleTNBzEoRSX72uzerJZFFjY5CtDXX4m5zcr+iVOCMjU2r/VnsXw0MEhItYXLiHZqONyf2TqNV3wEswqs+CgZT9UvlYoMnqlOzj+Prkz7Efe0F91NWekQ06CqS+NOvWr5u9oVyTmElhBFXG5UuXcePmDTz19NM4fPgwLl36Bt9e+lYNuZ597jk8ePAA17//HidOHMfFi8/g3t17eP/99/Tzx594HCsrd4WVnDl3zkbk0pTExIYocCRj0bPpsfkxsUqfj7SKC2NgNiGcpv69h7rTWILvLlPrVblClgcKSVNQz308UXOi7bRnDWyywqY2jdCJsTILMnOWK/V5wi6YMuYDHVik5dwcM0tBwRMn3OcXRnW4qCpcAy/WoFBRGK5cuaL7P/bYY5iensHnX3ytNT5z9iwOTh3CN19+gfWHq3jmuedx7PhxXP72Ei5fvqyiFNYNCO7o9TAyPIr1jTXU6zuYOTyDfL6Cd//wF2ysbeGV13+OTr+JcimL4yeOSPvISkTg5JaL68xIkT4h95KgMGETOuq3r31Xz2yu3FZ7RjV1GGieKlvvCchCoYyHK2tY31gVmLlv3z7Ud3exsbkpW8yTwiw/2w+Wi0XBDsR0CDVwcSj1dDx5ydGxMalh4xcF6ms+haZoqZzKcmBiRUa+a6BhSPSkCh6T5QCd/uJ9EsRu8MGLbCIfvT9NAZrPk/pNTsURkc7vm9YkepLVpmTVZHqigb6iSOd4pT6Oe7OBcgd9xzIF3n/CzaqYFimDIUafeGDibFfe6+7SEr766itlK46dPInHHn0cn3zymUaSsAUBq8X/9PbbapzG4UQUtNk7d3Dl20sacsRWBQRpiznmP9u4deuWWio99vgFTExM4a1//oMGer7+q1+g3a4pT3v67ElVldv0LIsEA9yPw9zjYG4F6T1rHZnJYe7G9/XM5sPbtZGh4YSqN2iwCvMNxvWyKWtvbNwq87NU8+Y1aXTwhDk5QCYHmKeXDdtlx9lKiAvYkZMe+cFYVPkb3myLFSCWxjGekRu41PwpFPah3EYwsxA3zFn02IoIJWg1cZ2IXiLVYWi+ofbSXr7Rhj5buMPPCFH30SH8DJuaiVXpPljQXYJxIczKA5KUPxZsCL+nB1cRUlkVkJfIBX5VGRnBxtoaFhYWUk17+MgxbG3tYGFxEdOHDuHo0aN6Pv5mhFpOytg3PiHNtraxISXA5w04ggArfaMnn3wKo6P7cfXyNXRaXUxNT2FjaxWVSgFHjs2oiUir2TB/yoOZGEKpFA+dCmGMBMgr+vs8ZyhzNNvQSCVRFXHM5uMpVim6jU0lP4dCpfIkZegN6h/sYUSzwNNM7UL8xboWR59yIvXmCTH10aKz6EMJrcm7OeLW59wLOt2MpNpME7ZsTEnwh7ShnY6DkYHTGGhJ8yOarReSqke7l7lHq6KUNhvTKGIuTXDDByp5mJYKoeL1uUma+q66Nx8T7CxVAbV+SPjZYFSKARDMDkelA9YI7pIOwUCtnrr2OaU5WLCEXlgz0Oq2pb2Gh4bUII3OOteH+0CBp1ZlRbcKS1xL7fmwHXXzyxcq6LRpknKK/pudGjJ5YojWQE4BiLsnkVJTpCrLwQS18fKt8CGPRSt7n6sllSRRvyOH4VM01TFgtmdcebiqm1LVMg3DapnVlRVM7t8v9JzgKWsB6USef/Rx7Oxs4u7yskwhh+YUGLmpV7elUtTDKiY9uI/047Y3P3DcPT8VSLBhVM4VMvQkxVMUFTpEIJM+yGDkvVwD/TiRHI60mqdG/wDXYpqhLN+hlLYxlA86MI3CXAY7uXFtCZj7Z9KGHqGa02uo9qBgSTc6N0qHIJ1kttdjq09zwaGdQvPtOtL+rlFCQKU93c+MDAAjeTUN7tZJHEY2lyCTYV8MRr1kkpDiwm6DAn1SGM1hRdOqyqFGSqwvbhiFKlsoY4ETH1ihzPaMHMVFzUOH00A7M4B80N1qHR9+9Ils+Nlz5/HMs8/g6y++ELPzmWef1Wy6uTt3NKiQAvbUUxdx/eZ1jSs7d/Y8zpw/axPM+31MHjigRRSQ6Jl+RRZOuUgXZyAPNbhBOiFRouTmKjSXmS8GiN6Vb2CR5bD7xNJIEls6zbRK5MuMirPHMYoiC/pTKnxwPhX/XeCnJ2p1nT1CgUXS3lOL76aqG9/4OLRM3jN7Ef8ueMGLQgiZ6KhEGscbaLA+k3gp2xAEzkWNJLjA6dny3QYGastG0O/xghS6Od0OhaqNfL6Mfr+ApuoRRQlkD2jvR8+SLOZirfZQLFYNj7SqJeN39dGo11AolOTuzN2SplpQf6pmo2b1cgK53Ayp/i+H3VoTH330qYojz507h6efuYhr332HS5cuaVzqTy5exP3lZVy9dAmPPnFBjuK1q5dVSHn02HHsP3gAm9vrqBSLOPvoY9pIPkiK4biZUeFDaBjXRIM+Dl9G+THnzhvia8ClTrxvirrQeFgetXxxmnnPoIBImB2EDUJi+FCi1bi/xA1hedZgQlnRHw+hJ5Xl2/n9QzNKkzh1RsITaSX/d/mUAyXu0sxR5PqjBrsUNrFKOYBKjq1z4gfMaESx/OngOtEF4NqSSMjnFWQkn5XmmIrDhkFaB2Mi8XYlypDK35QJ8SxL2sLTSIMUuGij3c/n2WyYrYTmVaJFn8oxeT8BLpEAmj3g4YNVPFi+h4n97JUwjbWHD7G+uqq83r4DB3TTpYVFHD5yXA4f5wNXya0aquhFVtdXUSrkjE7cbKqIQJrD5+8FQSyc13CaBzlO/LMEzxOloeblO/2YCjuQdomWj1ZQ6lMXwjkfLK/y1bQcmhd+uPmkpmLGIFIzATvIv4hugK4NZQJjZ/xwpAGDkwCVFfBf8VlBHm4dpKWcjqNDkjaKJY+rrKatvEKzVlWBbUSksSZaIz0PJ4oatz76lRKioCaljxzwhVJfEZiIubE3NYIYGzUtDwFrOE1o9wIbtYxka6no+Snws1xWhbJC8x+YBE6/Ij7ELrw2oDCIcXxpJpEVBVAgvQyJ+AXXM21dqMXh7Lmq/p3C06rVjCWQy0nA5MySORgoebrc/oeBXkx0isNExsjaSOoGExXqRbpn0uRXeHJZPt0Acq7Iz0JCL75w7eH9FNh9mAIRU7QCl5IZdLiDCy7z59FwAJsRUQasIJ/LgdsQKvl/Az5eCHQ49WI6OIVYPC71Tchge2tX6yfMLFoxOYc9TVmlvSX6SjOyazTXjpPZSy4csecR7RouWXCcrmc9MJiTVKGsdXk2sNenZbjJZxUVWwktz92sZ3Y3FmpldidmibOPMFIi0lMCyiNlCPKVkGdtF6XUE6uZfMWIc516moPSYniHNmu/mLFWQm2+UCdNhbjetfl6g1TWaJvjpo2fs4Sxz/Jz/ys0WER6ab7Se4Lb3L4oQXJTFo5yWkrlo0QGNEuY1ABIdX+Ou+UQyRp9B2vQIbqLN8aQ6fBfP0jKe+EFD1D0LA8oI4T4B+dngMOlK4aPFCA0haqUYGdrE2+/9bYE7OVXXlHkxwJfLZmGLXnayaGffFLBg3t38c1XXynQYlOVskeDASjruz7cku24eZBu37mD+3fv4vixY5g5csQayEp7Bg/ezCo/yxItFj6IpUChEqLeqHty00ZwWQm1OWd0CttNMgg7NLIYGxlRlzw2m2evhMOHZ9Cs7mJ+bkFEM6LoTAswDE+SCkZGhsUQIL04S6YDUyhdu0cKYPrcPC2+b3qYqiD1B5MgSuxjQ9JKEi/qVHLcMSL5A6wMpgbV+1g6JTSUnE43NfKn3JcJNDz6YQWfSu0ZB6ZoKQ8XFTyeGDbzbA3BBA/Q9WWWwrVhsC6NYeBZf9esRnFxIXUfK5gKxroA5uYW8Ie3/igr8qvf/Abnz5+XxmcCOyZlBVyicvxiGdeufIuvPv9cwvHCT3+KEpH6ajXFFzW+V3tuPaj4vH95/33M3b6NF196CU9cuCDtr/mPekYrjuHnGPmTVk0BvfHdNcOpSpVSokqTGKvmKYJwcludPuZn57G0SKEZxdMXn8Htmzfx1ltvYXrmsFDdjbWH+PzTz3D+scdw/tFH5cjfuXULR48fx9nz54xg12mL4C/2Ic2niGw0l9bgnehtDFEMHg8/J0GIZl9e2Bg92H9g1gY2KfopRZZAvCKmPwK+iEhtwOxFbaBMJIUhagu7XVSrNeX+2F5bbAQf4atmbzq5e91/FX2FG+EComAiCnWjCnqgjU+YQW2Ym8PwK808MuJiS+02Vtc2sTC/rMTxmTNnMDU9rcCEaxekQWUUWIBSTrTxc3duK0InHMRWUOwFwenycXDDw1MDM9dUV65exfzsHE4/chqPnDsnQbSCjGj+a9w74nfC7LI5G3i0wTTNUDnhxUSCHyidiiRutVrHF59/hSvffoujx4/hl2++icXFJbzz9h+EU/3s5VfV7eTrLz7D6bNncfLUKQkVIQg2STt24jiyWTanyCkvJUS8n9UUiOiVbr5ZJ83vpWkBmSxf1BhyFAULbpoij2fZfz/50T1dmsiqdJSEZlpl0IeJDXR0XprDgVdL6tLn4WTSLctxsZm+SHMEFy3vZ3bHPis4Js3xWYr6xyVlZNOGuY5JD+GYpxkCN/tkqSptFRw29jwoUlC6qNdr1nfU/b94Dit3syQ8XZndXRvCzWHbFFrumfymtH21ZzE8hx9pLUPpOTiTbNeyPh++sqAW90X57iyI6fT61pyfCeUSc3/CLlhQag0lhEE454gfnptd1BStQ1NTePyJJzWrhX8fHhkVbMBTeOXyJTmBp09zlH0X1VpdESKpxKUy0dscJsb3oVrdVc6ID2tpcEvc8RpEefn0GuOWlkwZb2hQc/DPMnPsOOPVy6LQKMUUXelsv7nxRKWj5CvydWE+U7BwoAPwHkvAYJatrW1nKZhAMYOQdqJxGohwJ0Wz1MIGAdDMi0qd5lKdOam+ToznBzvsWOtJIV7U7P4+0WuVnCVpLbZE7FrQ02Zk1mzZNIl0MoSPEAkcjGOGVchqoLDldK3Tjv6duF46K9vaLKlkTk1SBPxpWjxBU5lTFalY9KfzhD7yEqoM5m5ft1ZCNH+quvDeTynNJPpJeum9fCBNEXCekE6qdf1l6mBnl1ycPsZGR2zGMQyP0uKUcmj3WC/Y1yRLkyWDLTTfhaPt+QzNNgpOn418oFpIx7BwOvIRMUm7KANlOTimjjhzhqgxizfTYd1myug3UHq5GdENTxnOCO9FKrWqHIMFjH1jmorUFyaU+c528DQF1JFxFXsKbAW6Qpz9l4pOvUOhaM4dFV1aRGoJbHakoXPcarWVmBdVmYW3pFKr+pgHp6TGIp1mA/eX76HZ7GD/1JQc71bbIBoRJotm5gPmUANep9OoZpAMka4NOrKgYo8WJGDZ87C24v4eYX69jZCESQzdrKqu5WcVSnLUTag2FmsFFZPW0ggraCc0QcInHCCU9hLpy3qY03SxspnDqNlAlSqw3ajZoG5pD+9aUsiiV8ii0WVn4a5Pr7K6uyKbSBRK2vS17TWs3X2AJF/AgckDGgDAwUlMHPAVZbaosfxUmunpo+9syS4zjCyUkJBboYEWQAOuC/IH2h3L00WYb5bLRDbAR1I+qI3ov9jU9IyGNIn5mpSQlMnqNFNtFcocv+vdVOgDkswZRRReIc3eU4Hat3zuIMvVKETssEcmKDepmJQFtHKjSpXEEukUTBZ1dPvYvHsf87dmNYFrcnoKR0+dRCEpot5oqn9YgcwCFvu2GiiRmsOOPXV2hu6iXBlSSbyNNo6hAMb/0kiVvAcWwqT2RvNZRGzay/CvaAduFG4noySCAAAUaUlEQVTmF4WTFYq4wylajP44RJJOnw0iNJIYN3nwNFtqYa+doGWrrdSpLUEpyu7KhAaIqJA+i2ptF/VuA8lwotOtiQHUKiTmi2+eQbPdxOzCLO7OzqOSL+D4sZNqSsv5KijYeHs73eYEUzgbtV2VBpGopjKhQlkd5FJqjTejNZNOajL9RucqRbWM+z/Wr4elUAb8RT/OjgpibePr9SrKSQmlonU70fBqUocVATo3T2osvEAm0jkPPSssTzEGJ7ALM2OyvgMN4dzYwNrqmvhmdC94mAUu5jOib5Oy0tytoUli3vIKVu8/RLPXw/jB/dh38CDGJsZRHqmgS+H3Ubjggei2NOmMPTAYhXM92UiD+VlWSSuat+Jlq2L2Q2va33npvu+meZ3v7rk/OuYUMhIEBa8UijZGZHdjvlYqFi2hHHYyWH6DrRJDmxsz2n1Cb/rANocoWPc9NdcwpHd9Yx21ehM1jjVr7qAyUsHo8Kj8JjrrTDKPDY+itlPDw3XytTZQ29xEMZPF2Ni4Oh+PT04gnySoNus6idIa1arGwWm8G2fRDdlCTU0dtmYXFDyF6Cz3sNSDFZha8USQhOX/hFDJ97J5xPSDDHawMbAUZEIkrVYT+Tz7QZCPRXqzAYGOCxgzQTbTVBU1Jk05TZswJ6Y0mtYVmJQS0lnoMtD8EfWu73L02xAmJ/fJ7D3c2EA/28e+0TE0tqqoPVxDrsXS/S7afFZxwvIYmRjB0PgIGt0Omp2utGkxS+1qpfrUOlwfmt5CMY+ZY8cwPMomdlbRQ81sDdhIKd/r62VpIR8OHjUAYtbGQAG6LGZFVAVE2vkcK5Q32EmP8/6sE0s4toTx5ae4oKXIq+M60RRDziqbtKsGrK8ppq1WQ5gUSWOcEqEwvEBMo4FivoixoWFhJDyhFDB2vmOnOmqtEsus1CeKyBYwMjmObj4LdsMsV6jpOF62ZlRbJburYGflfZP7MT11TBtGh5bQB01JVgMCOJixoesW2CDfUzTRMtH8Io8ZVE4bXVJMAKn4Sc+lNo1iVDnqjMx85vQgBiVfwyNVFhz0Wi29L4Vs4+FD/ZelWtROrItMhoYwOjYirV+r1THsQQCFamV1BUVWMnFTdxsodKxmoDg8jG32F2WJViVBtpTj/HcMT/AwjsjUi8dWyKvpHIV2fW1DGnb/oUMaHF5vNRRoUQg5pniIfT1ZFaTAIoNeywc2hIsgAfO2VsLhrJOe+lvQlPezWJ7naDYOkWR7Ro6RdQ1kRHwTzaCfDKLGMoW+8PzOzvoOdjfYkL8nZ5Yby4YfuzQXpbJekpvZVre+DBJGfZ2uagIpTKRONKt1tXlUuK3kbAaZchHJ+Kj+m6+UxGLkz4mN0IxSSHg/sgeaLODMFDA+Mi6AlSaIPs/EwQMYm5iwaijSyJzPLuQ/gEdJVHDbzfwJ6hh4fz6n1f05lED/RSXp5jcaTBURk6HtfJ/N1XU8fLCCZr0lv67baqK6tavqZfLHGbmquUWxIN9MTIAGQcwcGr0uduo1VSRnG200N3ewef8h2u0uCpVhNJp1kMQ3OjmByugImDnMloqojAyBU9FoCQQ5sA8YeoIHttY3NeEsGRnC6OiYzDfNYKvfxcGZKUxM7sfQyLDqM8lBU2Qcyf3gb3jvMM7N5uNSu+VLBdCnnb9Jn2p9TtQXUlHSJO5A15cA8czj93Ipp9BSXbJ49M7NWdQ2qpgc36cFYiff9fU1FMtFHD1yVCex0WBkSIaBgXs8eZ02ed5FDU7aeLCClXv3FQFRV9C/GDu0H+PTh5AdStBoNVAu2DwZVRh7uxwmODlmduXBCrbWt/HIyTM6udu1HWzubCEZG8WxU6dEuSkxYGCBhxz8KGwLRNsy/1EmFg3MeEB4utm9ZWd3C6VSQQQ9htcMx+Xwu1OulJTCIrqBBdS2d3D7+g0sLS7p7xPjYzKbaw/XcP8BBxlM4tDBgxohTB9KjjbXuWWOcp01lFlgKKmgvbWD6oN1LN2eRaPVQaaUoF1v4NDhQzhweBpDE+NodFqot9uoDFdUj0nfj1E5d41am/4V12lhcQFD5QoeOXlKAPT61hY2drcxOXUAR04cw/jkfmk38c4iheWUbQU/TpHiw9E1UEU2o/1czqZokaTH7sSMOFKhcnWXJg69GiVFigf6D2xtbmBpbhHV9V0M/39NnblvZGkVxe+rvcqu8trL9EC3BBIJUQdICJBaIkQIaRIIR+IfmJyQCNCE/AEEEExrECICiRTIECRILBq6aXVP46Vtl6tcm6tc6HfO/coeaba2Xa5673t3Offcczo9nfDR6DKG45Ge5MP9feXb2XrulfOqJl4Pwl/n5xe6wSC14/NhHL95GxTGYpW2mrH/3v3Yun8Qs/qN+Ff3tneig12FNmLZN2TNfKkDTG1Su47Y3dqNeqcVq9o6RrNptPq9ePj4i9Hf3bHEM+9B9BKr9TkS27PGqLYPlxcZDJry8Ciisj/X5GtesdKhyr29zSxPI4B1QHohuqOt/vo/L6SSw42iS7thvIGf82IpHrjkpIlUdJzzRdTXlbq24Xgcw9FQXS+vV13N4/LoJGazRdQ7vZhN53Fwfz+2dgeBBej8ZqUHmNHZmri1tmo0KY3oTqSl4SBNbq3r0RcHqhXLGjBILXYfHsbO4YE6SA3IxTDNTeUsh8r2j9fiDLdIXoDuuqri5b+QZ2SbptPsgnOU9jrrfHdAxW0hUeMSuXQzUJSr1WJ2NY35eCbLNeZAMk+6ibgYXsRqvvCT06hivmRToyPNdb7v/N2ZJue0vrVlxPX4Kiqp5qZxe7cVrcGWLli93YwHe4eKVhxaqBZceJB8aCnAEu/fexjXk3lUrWYMDvdpL/X0t7a6GpZC72nmYiTvvwij+aPlcqaQwQ2XecN/B07gxpDGSRmAgKVuUnooqsSy8q1HiyJePH46t7EeGnCk4+P/Seis0+vE6cmpbjT11PZ2P6aTqQ5wv9eL2rrSYgmHiovZJMKTTViZv15Fq70l+jcga9VpxJIAt1rGVn8Qe4cHsvUdT8d6KHrdnmrBd+cXooLTYe61elFxqPvb0Rtsq6Yida7ryBPkdAWoRoRAi8p6adbLpBLdTfRQtsewJdYRr+j+RqcvRCdG54AwplpKNvPuaspsTYX6nYtXCP42LQR1tngZyDVF8Xw619rWaDT0wVtMlRbYvGGSzho5hSR1Ei3p9Pwy1rNFrFD0Q7lXRPp1DAb96G5vxzUfFDyoURdEwes77DbU0pMivvDokQ4PBSRTc2orVvBlCFS6Fvlnun/Vn6uusqCXoAQtb1g8TIAmkAYmkucXMVvMN/oPcJO8reuhqtaWcmHT2zqtzfDVm8u2nCUFLWYsg6zj+O1bdciKuJovXim17vZ70dCyxVhf6/Uw6L7UQwhkwwPYDKJkQxKP3Z1+7N070PWazOfRZPzVqsVkPo13Z2e6TozL1LE2GnHvwYM43D/YgMzW/fRcURlPmvZli7toj1r+3JLgaXNHoZKQg5wv1o14g+oLdresaCHOb8AwyXk5UBVgV4yI8iIWpNvkd0AyWmsX99JPgC48ncXVBD+aZYyGwxhfjWJ3Z6D6AStZ6S1UlYpCgMXhyVlcHJ3E6cmxXuvJl74ch/t7MrfuUJPNZ0ErgVU97+ni7DyGl5cx2NuVgzwFPFsk0p4ETU/RC0MCBPzUX09DcQ7ZhthXdBOy+ZBuSiIF5bPyGehohcekxoEK7ORbFVKc+GapoVBAdW0hpZczNSVbwYxarqUjOtXWC50wN2b/8CC6rYbmbKR2uajjGAGMcnUVJyfHMTo5i4pUv7sfh4/ei63BdnR73aizJAE+dUOv7MMwmfAzpyrY2RYnIsllQpG7CNdmdFa3f8cFIwfjMva8Q8sRDUkWIjmWAlyGpLeuxSsWHyaXryf1RqM7n471y7Tvlk5NhbtdUOkNXSRdzWV3oaGu0B7fCM3oCo62liIJf80Xk00tIr3MZB7yQ3DKyctHn7+Jl/99KRNvxGofPHygjhLEXhoFmFQLcLSrhLg9AI/SwwSIcxcGym93deuCi/qb0UCG4jkG8gq3h8FlBGnbEmsHyKZEdnSV5n4FHiHiCGfjUKVJlK7RXV5VMjxLdNeqWjItILPxrRwi4Cs6WKUW4IFOK1pNz9sK6k+U4/WBSmhKXv7z3xGLKg7u3Y/3nzyOZret7MBfzFe5vqR6wGXeY9FeVzGtcRUZwQxaImphiYgQqDrS76VsOZUu2FWBZ5dyqOdQXXu8h5MYIrmf/ePvXntvtNlQtsTOZvMjOdd64UTPi21YAQylFwAyjGWF/hDhiTtanOzYp8QQfTF7f1ZgM5+7FIF+/ZogiHdnpxp57Ag/6QrmoEg3Lz0NFSERgjGmAwQEQ+FWJfcj5k+kSmikiL4SccufcwGtQ1CAXKuuENHKZKEsE/D0wjcjohaxMy0+6FDl6yRDoqRTo+23FF3P8DwUXyYupv/PAlbWZijcra6jDuiaaUXNUdmc1pjsJo4/P47J5Uwur/3+1mYnbzNCAT5JerUklIANkkyn91e8FBPhVyzIJdoys7zLhi1BRbFDCADlgTtwPoOxQTResRH5zDVVu9ftSguzCGGVuH2HvGbkmMGsv6gnMKV8mLdpOKxUWBRYin54GUyK5Oo6LbEiH84U6ZK+pWVbOFTMvkodp8gikTJ4VzANvYqtKJT7g3o/SeUo7MqSnguNplBgN0sNpPtCXdnMAH2By+u7sgpjYbkBVA7WXWqyzkYyO0QfygNdOFSls+a9LwukoSLYdRm/hPafJqcCmEoGrSjLYnEUKUbGVQyWITneOlqoTpT++lr4kiDc7G6tyX7ren+byrxq5cWGW2nxwg0rh08SAHjpYMGWAUbPIhvKKUWkDeWi+jK5eD1ptptdK885zN79W09r2YPT2naRknFnIARW7aatxmoNYxdusdMFU25Xpk5wsxiZ8DU5RCUOpE4pjXgoQAuthQ8sqopwKZ64hdKSxbxMZ9Xyqm5K1oSZ1gp+JPggb4wwFjEYrQEgizR1NownTBNGyLV41BCNtaY2Gmmbhv9msF4KdW6ADm/Z78s0ZrUWS3s7Ertuoe3mGpZzooORHn/+zFCugTbSRYsbKvsR/15tIMlS2MN0r0+xnJsta7IalKYaOMgavAQG4SLJUDyNEHJB8XZXsZAIcxqgmpMAoA1wouhScJAVazgrgMSe48pxvgJRfzGtlrOTaa1WdRDoMKXFU+hiWWYF29ycUIh35HG2M9fILgtFxMwYjiNHytlU3Hyrw5VtVztbpXWIJt+WYzbDMwtHaW+6eFQjkEIRG1pJumjpIZCpUKbh7Og2vyM3P8ygTHpLHqSSMuzC5d9jtwjrRrnwNsYjkp6MuD0Y5jBznUpxq2G83sPtbqIZm+nbvFkepTbk5mTn6fmE05/Ezsyz8miMr7mOKfJEOpjEItgg6u/zIaZWQ9yMiEW0q+yFo8yQD7m2u/T9/l1leGz2qhdEdD03YrP5HsoU5Q6GuSnWmcEyJWl14vjN61k1Hb+ZtLvb3fnVueB/ocJaRPR2CE+G13fsRVN4OBT1RBZO80I/B3mtitXCdmLFEbRs2TJ/YySuMQxFsNp4ilEgibyA5YaUtp6vq5vz8oPmURS4CNBmjcLPms9jRqalh1Zq8xkeW73FK0wUvyD2vG9bzxUNdT8k+tyAs/CtoP2oCTHzVH59VxNtr4ANQX0RDyoLXbEvU6BVkatuSowVnu266vqN6GFinpZAMWGiJuGwclho12tFZjGVBTM9ch5Ex9EOQTvWRCHoQ0QWbtMyj2AjYlW3rpT0HjSgpL6FfcHBt1CbVrdyhupo1jTHK++/QOE7n8kRyy5pNFOUOos5+wDX0Rvsx/KmEX/9yx8vqz/8/pd//taz73612Yj+8nrMGY9VSjXK9kJFmVOaVOskPU1R3IqKN7iEFUjnkdjMxoDRvHNFhvSCsfA9B847ZVAz7H8HqW4VFNzW9nTI5zV9UXyo5FcjzW8OexZ+ScfhNbUBwyBaBx3dSkdAUF8wGlKnur9Mp/aAySiRUXJjLQf5jFSrLqwmPjeFOh1YDQwqKT5eZyI9l5ryNkq7UOcsk/5xmyDi8N6NpVnEba7PstFbSCGTJHsoqPCPsl5veQIfANlAcljSyJFUJ8lwHu5qKbU8fZ/OlDnrXg417dmdcNrjJpip+yxzycxWUkZ2s6ADL7XxzDK5Vd5ogAnuxdHRq+HPfvLjP1UffPC1Zx999KPvPH367HvdbvWViEXNsnukNf7tjVXsMbgBtYqxtNMkmp8u9HgK0w2TrkAhO/k5SVJzISgTkGRD8MZt/OiZG1ffqH7UDAVYc07HXI5NnveBOZlyax1vDiFEM8sQpQiAD7NXMxnMRKyZbeauGnRcZQw6RL7GIbeuZgUlUHVECrCqQVnH9VWqvrR5mGwRp7pL9aRdz9Ee4DWNUuQ1SAeZ9dpkP18bPh/fbyKhFZWNo7GKrm0jZagyOuK6OMLLD0j/Jl35YOl19DYNRqre4XX0wPlzuqYi0tyqA5JdstpMtmvpB0qBcVtTSTP0xnCMyhvpMbA2T3rtxNnZ8N1vPv3Vb3/68ce/0Kf89jeePv7Bhx9+/9k3v/7Ddrf9RAVjhm3RGuSVt5TPDDQJTrtZDUQhgExrT4Gml6PAE2NpaR+PjQQ1c74rFkurGOzuGVPSBm3LimzUYYoqNuOhJqCuIuU4XZW0WRN+hTQRGqQ8sXIOzUaA1KMUJ41Rk/MAR3XtRZPGdnYVW1uoAd/oPXXbXQ1hxfZM4yBehx8aXVKoT6WsQkRkkI3QF086zEdRhhtNYU6cnS4zNd1cU0TgYknOcU154TqrCKJ7f9DIPLmRyEhTwD3Aw4YmwrgbFG3o0ETkQnkG3V4qihS9VDaQeRB73baoNPzsoD/Qw6wONuEOeQjxfuTRaKanGxrmfS6DnJpRz7mx44co5dwrBwDGTUdHby8/ef7p754///XP374d/u3/O9Am/GhLO4oAAAAASUVORK5CYII="},29831:function(an,Je,t){an.exports=t.p+"static/touge_code.728ce351.jpg"},75694:function(an,Je,t){an.exports=t.p+"static/touge_code6.e67b4cee.jpg"},16722:function(an,Je,t){t.d(Je,{Z:function(){return Z}});const e=K=>typeof K=="object"&&K!=null&&K.nodeType===1,d=(K,r)=>(!r||K!=="hidden")&&K!=="visible"&&K!=="clip",i=(K,r)=>{if(K.clientHeight{const P=(me=>{if(!me.ownerDocument||!me.ownerDocument.defaultView)return null;try{return me.ownerDocument.defaultView.frameElement}catch(lt){return null}})(M);return!!P&&(P.clientHeightmer||me>K&<=r&&Fe>=U?me-K-M:lt>r&&FeU?lt-r+P:0,x=K=>{const r=K.parentElement;return r==null?K.getRootNode().host||null:r},D=(K,r)=>{var U,M,P,me;if(typeof document=="undefined")return[];const{scrollMode:lt,block:Fe,inline:Pe,boundary:Ve,skipOverflowHiddenElements:C}=r,he=typeof Ve=="function"?Ve:tt=>tt!==Ve;if(!e(K))throw new TypeError("Invalid target");const s=document.scrollingElement||document.documentElement,h=[];let oe=K;for(;e(oe)&&he(oe);){if(oe=x(oe),oe===s){h.push(oe);break}oe!=null&&oe===document.body&&i(oe)&&!i(document.documentElement)||oe!=null&&i(oe,C)&&h.push(oe)}const le=(M=(U=window.visualViewport)==null?void 0:U.width)!=null?M:innerWidth,v=(me=(P=window.visualViewport)==null?void 0:P.height)!=null?me:innerHeight,{scrollX:je,scrollY:Oe}=window,{height:ne,width:Re,top:de,right:H,bottom:n,left:ce}=K.getBoundingClientRect(),{top:T,right:ze,bottom:xe,left:We}=(tt=>{const q=window.getComputedStyle(tt);return{top:parseFloat(q.scrollMarginTop)||0,right:parseFloat(q.scrollMarginRight)||0,bottom:parseFloat(q.scrollMarginBottom)||0,left:parseFloat(q.scrollMarginLeft)||0}})(K);let st=Fe==="start"||Fe==="nearest"?de-T:Fe==="end"?n+xe:de+ne/2-T+xe,at=Pe==="center"?ce+Re/2-We+ze:Pe==="end"?H+ze:ce-We;const Ae=[];for(let tt=0;tt=0&&ce>=0&&n<=v&&H<=le&&(q===s&&!i(q)||de>=Qe&&n<=qe&&ce>=Ke&&H<=ie))return Ae;const bt=getComputedStyle(q),Te=parseInt(bt.borderLeftWidth,10),k=parseInt(bt.borderTopWidth,10),R=parseInt(bt.borderRightWidth,10),X=parseInt(bt.borderBottomWidth,10);let p=0,fe=0;const z="offsetWidth"in q?q.offsetWidth-q.clientWidth-Te-R:0,o="offsetHeight"in q?q.offsetHeight-q.clientHeight-k-X:0,f="offsetWidth"in q?q.offsetWidth===0?0:ge/q.offsetWidth:0,se="offsetHeight"in q?q.offsetHeight===0?0:Se/q.offsetHeight:0;if(s===q)p=Fe==="start"?st:Fe==="end"?st-v:Fe==="nearest"?L(Oe,Oe+v,v,k,X,Oe+st,Oe+st+ne,ne):st-v/2,fe=Pe==="start"?at:Pe==="center"?at-le/2:Pe==="end"?at-le:L(je,je+le,le,Te,R,je+at,je+at+Re,Re),p=Math.max(0,p+Oe),fe=Math.max(0,fe+je);else{p=Fe==="start"?st-Qe-k:Fe==="end"?st-qe+X+o:Fe==="nearest"?L(Qe,qe,Se,k,X+o,st,st+ne,ne):st-(Qe+Se/2)+o/2,fe=Pe==="start"?at-Ke-Te:Pe==="center"?at-(Ke+ge/2)+z/2:Pe==="end"?at-ie+R+z:L(Ke,ie,ge,Te,R+z,at,at+Re,Re);const{scrollLeft:_,scrollTop:$}=q;p=se===0?0:Math.max(0,Math.min($+p/se,q.scrollHeight-Se/se+o)),fe=f===0?0:Math.max(0,Math.min(_+fe/f,q.scrollWidth-ge/f+z)),st+=$-p,at+=_-fe}Ae.push({el:q,top:p,left:fe})}return Ae},E=K=>K===!1?{block:"end",inline:"nearest"}:(r=>r===Object(r)&&Object.keys(r).length!==0)(K)?K:{block:"start",inline:"nearest"};function Z(K,r){if(!K.isConnected||!(P=>{let me=P;for(;me&&me.parentNode;){if(me.parentNode===document)return!0;me=me.parentNode instanceof ShadowRoot?me.parentNode.host:me.parentNode}return!1})(K))return;const U=(P=>{const me=window.getComputedStyle(P);return{top:parseFloat(me.scrollMarginTop)||0,right:parseFloat(me.scrollMarginRight)||0,bottom:parseFloat(me.scrollMarginBottom)||0,left:parseFloat(me.scrollMarginLeft)||0}})(K);if((P=>typeof P=="object"&&typeof P.behavior=="function")(r))return r.behavior(D(K,r));const M=typeof r=="boolean"||r==null?void 0:r.behavior;for(const{el:P,top:me,left:lt}of D(K,E(r))){const Fe=me-U.top+U.bottom,Pe=lt-U.left+U.right;P.scroll({top:Fe,left:Pe,behavior:M})}}}}]); diff --git a/p__Classrooms__Lists__Attendance__Detail__index.c337cc19.async.js b/p__Classrooms__Lists__Attendance__Detail__index.91f84371.async.js similarity index 98% rename from p__Classrooms__Lists__Attendance__Detail__index.c337cc19.async.js rename to p__Classrooms__Lists__Attendance__Detail__index.91f84371.async.js index 242b221a8c..c739d35fef 100644 --- a/p__Classrooms__Lists__Attendance__Detail__index.c337cc19.async.js +++ b/p__Classrooms__Lists__Attendance__Detail__index.91f84371.async.js @@ -206,7 +206,7 @@ T* `):p.join(` Tj `),n}},Cross:{createAppearanceStream:function(e){var n={D:{Off:Zr.RadioButton.Cross.OffPushDown},N:{}};return n.N[e]=Zr.RadioButton.Cross.YesNormal,n.D[e]=Zr.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(e){var n=ic(e);n.scope=e.scope;var t=[],r=Zr.internal.calculateCross(e);return t.push("q"),t.push("1 1 "+Ma(Zr.internal.getWidth(e)-2)+" "+Ma(Zr.internal.getHeight(e)-2)+" re"),t.push("W"),t.push("n"),t.push(Ma(r.x1.x)+" "+Ma(r.x1.y)+" m"),t.push(Ma(r.x2.x)+" "+Ma(r.x2.y)+" l"),t.push(Ma(r.x4.x)+" "+Ma(r.x4.y)+" m"),t.push(Ma(r.x3.x)+" "+Ma(r.x3.y)+" l"),t.push("s"),t.push("Q"),n.stream=t.join(` `),n},YesPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=Zr.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ma(Zr.internal.getWidth(e))+" "+Ma(Zr.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ma(Zr.internal.getWidth(e)-2)+" "+Ma(Zr.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Ma(t.x1.x)+" "+Ma(t.x1.y)+" m"),r.push(Ma(t.x2.x)+" "+Ma(t.x2.y)+" l"),r.push(Ma(t.x4.x)+" "+Ma(t.x4.y)+" m"),r.push(Ma(t.x3.x)+" "+Ma(t.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(` `),n},OffPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Ma(Zr.internal.getWidth(e))+" "+Ma(Zr.internal.getHeight(e))+" re"),t.push("f"),n.stream=t.join(` -`),n}}},createDefaultAppearanceStream:function(e){var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,t=e.scope.__private__.encodeColorString(e.color);return"/"+n+" "+e.fontSize+" Tf "+t}};Zr.internal={Bezier_C:.551915024494,calculateCross:function(e){var n=Zr.internal.getWidth(e),t=Zr.internal.getHeight(e),r=Math.min(n,t);return{x1:{x:(n-r)/2,y:(t-r)/2+r},x2:{x:(n-r)/2+r,y:(t-r)/2},x3:{x:(n-r)/2,y:(t-r)/2},x4:{x:(n-r)/2+r,y:(t-r)/2+r}}}},Zr.internal.getWidth=function(e){var n=0;return(0,o.Z)(e)==="object"&&(n=Zg(e.Rect[2])),n},Zr.internal.getHeight=function(e){var n=0;return(0,o.Z)(e)==="object"&&(n=Zg(e.Rect[3])),n};var bl=GA.addField=function(e){if(nt(this,e),!(e instanceof wr))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=e).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};GA.AcroFormChoiceField=Wr,GA.AcroFormListBox=Ua,GA.AcroFormComboBox=Uo,GA.AcroFormEditBox=Oo,GA.AcroFormButton=va,GA.AcroFormPushButton=Ta,GA.AcroFormRadioButton=Aa,GA.AcroFormCheckBox=di,GA.AcroFormTextField=Wa,GA.AcroFormPasswordField=ma,GA.AcroFormAppearance=Zr,GA.AcroForm={ChoiceField:Wr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Wa,PasswordField:ma,Appearance:Zr},zo.AcroForm={ChoiceField:Wr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Wa,PasswordField:ma,Appearance:Zr};var Fl=zo.AcroForm;function sA(e){return e.reduce(function(n,t,r){return n[t]=r,n},{})}(function(e){var n="addImage_";e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},a=e.__addimage__.getImageFileTypeByImageData=function(Te,st){var Mt,Rt,Nn,Tn,Kn,En=t;if((st=st||t)==="RGBA"||Te.data!==void 0&&Te.data instanceof Uint8ClampedArray&&"height"in Te&&"width"in Te)return"RGBA";if(er(Te))for(Kn in r)for(Nn=r[Kn],Mt=0;Mt>"}),"transparency"in st&&Array.isArray(st.transparency)&&st.transparency.length>0){for(var Kn="",En=0,$n=st.transparency.length;En<$n;En++)Kn+=st.transparency[En]+" "+st.transparency[En]+" ";Tn.push({key:"Mask",value:"["+Kn+"]"})}st.sMask!==void 0&&Tn.push({key:"SMask",value:st.objectId+1+" 0 R"});var Hr=st.filter!==void 0?["/"+st.filter]:void 0;if(Rt({data:st.data,additionalKeyValues:Tn,alreadyAppliedFilters:Hr,objectId:st.objectId}),Mt("endobj"),"sMask"in st&&st.sMask!==void 0){var hr,Pe=(hr=st.sMaskBitsPerComponent)!==null&&hr!==void 0?hr:st.bitsPerComponent,Bt={width:st.width,height:st.height,colorSpace:"DeviceGray",bitsPerComponent:Pe,data:st.sMask};"filter"in st&&(Bt.decodeParameters="/Predictor ".concat(st.predictor," /Colors 1 /BitsPerComponent ").concat(Pe," /Columns ").concat(st.width),Bt.filter=st.filter),Te.call(this,Bt)}if(st.colorSpace===He.INDEXED){var Lt=this.internal.newObject();Rt({data:Xt(new Uint8Array(st.palette)),objectId:Lt}),Mt("endobj")}},v=function(){var Te=this.internal.collections[n+"images"];for(var st in Te)A.call(this,Te[st])},g=function(){var Te,st=this.internal.collections[n+"images"],Mt=this.internal.write;for(var Rt in st)Mt("/I"+(Te=st[Rt]).index,Te.objectId,"0","R")},m=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",v),this.internal.events.subscribe("putXobjectDict",g))},y=function(){var Te=this.internal.collections[n+"images"];return m.call(this),Te},U=function(){return Object.keys(this.internal.collections[n+"images"]).length},oe=function(Te){return typeof e["process"+Te.toUpperCase()]=="function"},Ce=function(Te){return(0,o.Z)(Te)==="object"&&Te.nodeType===1},I=function(Te,st){if(Te.nodeName==="IMG"&&Te.hasAttribute("src")){var Mt=""+Te.getAttribute("src");if(Mt.indexOf("data:image/")===0)return qd(unescape(Mt).split("base64,").pop());var Rt=e.loadFile(Mt,!0);if(Rt!==void 0)return Rt}if(Te.nodeName==="CANVAS"){if(Te.width===0||Te.height===0)throw new Error("Given canvas must have data. Canvas width: "+Te.width+", height: "+Te.height);var Nn;switch(st){case"PNG":Nn="image/png";break;case"WEBP":Nn="image/webp";break;default:Nn="image/jpeg"}return qd(Te.toDataURL(Nn,1).split("base64,").pop())}},it=function(Te){var st=this.internal.collections[n+"images"];if(st){for(var Mt in st)if(Te===st[Mt].alias)return st[Mt]}},tt=function(Te,st,Mt){return Te||st||(Te=-96,st=-96),Te<0&&(Te=-1*Mt.width*72/Te/this.internal.scaleFactor),st<0&&(st=-1*Mt.height*72/st/this.internal.scaleFactor),Te===0&&(Te=st*Mt.width/Mt.height),st===0&&(st=Te*Mt.height/Mt.width),[Te,st]},At=function(Te,st,Mt,Rt,Nn,Tn){var Kn=tt.call(this,Mt,Rt,Nn),En=this.internal.getCoordinateString,$n=this.internal.getVerticalCoordinateString,Hr=y.call(this);if(Mt=Kn[0],Rt=Kn[1],Hr[Nn.index]=Nn,Tn){Tn*=Math.PI/180;var hr=Math.cos(Tn),Pe=Math.sin(Tn),Bt=function(Ht){return Ht.toFixed(4)},Lt=[Bt(hr),Bt(Pe),Bt(-1*Pe),Bt(hr),0,0,"cm"]}this.internal.write("q"),Tn?(this.internal.write([1,"0","0",1,En(Te),$n(st+Rt),"cm"].join(" ")),this.internal.write(Lt.join(" ")),this.internal.write([En(Mt),"0","0",En(Rt),"0","0","cm"].join(" "))):this.internal.write([En(Mt),"0","0",En(Rt),En(Te),$n(st+Rt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Nn.index+" Do"),this.internal.write("Q")},He=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Tt=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Pt=e.__addimage__.sHashCode=function(Te){var st,Mt,Rt=0;if(typeof Te=="string")for(Mt=Te.length,st=0;st>",tt.content=A;var Pt=tt.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=3};var U=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length==4},oe=e.__arabicParser__.resolveLigatures=function(tt){var At=0,He=t,Tt="",Pt=0;for(At=0;At>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(g){a=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(zo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var m=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return m},set:function(tt){m=tt}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(tt){y=tt}});var U=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var oe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return oe},set:function(tt){oe=tt}});var Ce=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ce},set:function(tt){Ce=tt}});var I=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return I},set:function(tt){I=tt}});var it=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return it},set:function(tt){it=tt}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(m){return r.call(this),this.internal.__cell__.headerFunction=typeof m=="function"?m:void 0,this},e.getTextDimensions=function(m,y){r.call(this);var U=(y=y||{}).fontSize||this.getFontSize(),oe=y.font||this.getFont(),Ce=y.scaleFactor||this.internal.scaleFactor,I=0,it=0,tt=0,At=this;if(!Array.isArray(m)&&typeof m!="string"){if(typeof m!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");m=String(m)}var He=y.maxWidth;He>0?typeof m=="string"?m=this.splitTextToSize(m,He):Object.prototype.toString.call(m)==="[object Array]"&&(m=m.reduce(function(Pt,Ct){return Pt.concat(At.splitTextToSize(Ct,He))},[])):m=Array.isArray(m)?m:[m];for(var Tt=0;Ttthis.getPageHeight()?(this.cellAddPage(),m.y=oe.top,I&&Ce&&(this.printHeaderRow(m.lineNumber,!0),m.y+=Ce[0].height)):m.y=y.y+y.height||m.y),m.text[0]!==void 0&&(this.rect(m.x,m.y,m.width,m.height,t===!0?"FD":void 0),m.align==="right"?this.text(m.text,m.x+m.width-U,m.y+U,{align:"right",baseline:"top"}):m.align==="center"?this.text(m.text,m.x+m.width/2,m.y+U,{align:"center",baseline:"top",maxWidth:m.width-U-U}):this.text(m.text,m.x+U,m.y+U,{align:"left",baseline:"top",maxWidth:m.width-U-U})),this.internal.__cell__.lastCell=m,this};e.table=function(m,y,U,oe,Ce){if(r.call(this),!U)throw new Error("No data for PDF table.");var I,it,tt,At,He=[],Tt=[],Pt=[],Ct={},Fn={},er=[],jn=[],Xt=(Ce=Ce||{}).autoSize||!1,Et=Ce.printHeaders!==!1,vn=Ce.css&&Ce.css["font-size"]!==void 0?16*Ce.css["font-size"]:Ce.fontSize||12,Te=Ce.margins||Object.assign({width:this.getPageWidth()},n),st=typeof Ce.padding=="number"?Ce.padding:3,Mt=Ce.headerBackgroundColor||"#c8c8c8",Rt=Ce.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Et,this.internal.__cell__.margins=Te,this.internal.__cell__.table_font_size=vn,this.internal.__cell__.padding=st,this.internal.__cell__.headerBackgroundColor=Mt,this.internal.__cell__.headerTextColor=Rt,this.setFontSize(vn),oe==null)Tt=He=Object.keys(U[0]),Pt=He.map(function(){return"left"});else if(Array.isArray(oe)&&(0,o.Z)(oe[0])==="object")for(He=oe.map(function(Hr){return Hr.name}),Tt=oe.map(function(Hr){return Hr.prompt||Hr.name||""}),Pt=oe.map(function(Hr){return Hr.align||"left"}),I=0;I0&&this.setTableHeaderRow(Ce),this.setFont(void 0,"normal"),t=!1}}(zo.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Qc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Qc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),a=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function Rc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function _v(e,n,t){var r=e.length,a=[];a[0]=4;for(var A=0;A>A&v}function Kv(e,n,t,r){var a=t*r,A=Math.floor(a/8),v=16-(a-8*A+r),g=(1<>8&255;y.setUint8(U,Ce)}})(e,A,Zv(e,A)&~(g<>7,v=1<<1+(7&a);e[n++],e[n++];var g=null,m=null;A&&(g=n,m=v,n+=3*v);var y=!0,U=[],oe=0,Ce=null,I=0,it=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];oe=e[n++]|e[n++]<<8,Ce=e[n++],1&tt||(Ce=null),I=tt>>2&7,n++;break;case 254:for(;;){if(!((Te=e[n++])>=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var At=e[n++]|e[n++]<<8,He=e[n++]|e[n++]<<8,Tt=e[n++]|e[n++]<<8,Pt=e[n++]|e[n++]<<8,Ct=e[n++],Fn=Ct>>6&1,er=1<<1+(7&Ct),jn=g,Xt=m,Et=!1;Ct>>7&&(Et=!0,jn=n,Xt=er,n+=3*er);var vn=n;for(n++;;){var Te;if(!((Te=e[n++])>=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}U.push({x:At,y:He,width:Tt,height:Pt,has_local_palette:Et,palette_offset:jn,palette_size:Xt,data_offset:vn,data_length:n-vn,transparent_index:Ce,interlaced:!!Fn,delay:oe,disposal:I});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return U.length},this.loopCount=function(){return it},this.frameInfo=function(st){if(st<0||st>=U.length)throw new Error("Frame index out of range.");return U[st]},this.decodeAndBlitFrameBGRA=function(st,Mt){var Rt=this.frameInfo(st),Nn=Rt.width*Rt.height,Tn=new Uint8Array(Nn);zv(e,Rt.data_offset,Tn,Nn);var Kn=Rt.palette_offset,En=Rt.transparent_index;En===null&&(En=256);var $n=Rt.width,Hr=t-$n,hr=$n,Pe=4*(Rt.y*t+Rt.x),Bt=4*((Rt.y+Rt.height)*t+Rt.x),Lt=Pe,Ht=4*Hr;Rt.interlaced===!0&&(Ht+=4*t*7);for(var nn=8,Bn=0,Hn=Tn.length;Bn=Bt&&(Ht=4*Hr+4*t*(nn-1),Lt=Pe+($n+Hr)*(nn<<1),nn>>=1)),zn===En)Lt+=4;else{var or=e[Kn+3*zn],Nr=e[Kn+3*zn+1],mo=e[Kn+3*zn+2];Mt[Lt++]=mo,Mt[Lt++]=Nr,Mt[Lt++]=or,Mt[Lt++]=255}--hr}},this.decodeAndBlitFrameRGBA=function(st,Mt){var Rt=this.frameInfo(st),Nn=Rt.width*Rt.height,Tn=new Uint8Array(Nn);zv(e,Rt.data_offset,Tn,Nn);var Kn=Rt.palette_offset,En=Rt.transparent_index;En===null&&(En=256);var $n=Rt.width,Hr=t-$n,hr=$n,Pe=4*(Rt.y*t+Rt.x),Bt=4*((Rt.y+Rt.height)*t+Rt.x),Lt=Pe,Ht=4*Hr;Rt.interlaced===!0&&(Ht+=4*t*7);for(var nn=8,Bn=0,Hn=Tn.length;Bn=Bt&&(Ht=4*Hr+4*t*(nn-1),Lt=Pe+($n+Hr)*(nn<<1),nn>>=1)),zn===En)Lt+=4;else{var or=e[Kn+3*zn],Nr=e[Kn+3*zn+1],mo=e[Kn+3*zn+2];Mt[Lt++]=or,Mt[Lt++]=Nr,Mt[Lt++]=mo,Mt[Lt++]=255}--hr}}}function zv(e,n,t,r){for(var a=e[n++],A=1<>=m,U-=m,At!==A){if(At===v)break;for(var He=AtA;)Pt=it[Pt]>>8,++Tt;var Ct=Pt;if(Ce+Tt+(He!==At?1:0)>r)return void bA.log("Warning, gif stream longer than expected.");t[Ce++]=Ct;var Fn=Ce+=Tt;for(He!==At&&(t[Ce++]=Ct),Pt=He;Tt--;)Pt=it[Pt],t[--Fn]=255&Pt,Pt>>=8;tt!==null&&g<4096&&(it[g++]=tt<<8|Ct,g>=y+1&&m<12&&(++m,y=y<<1|1)),tt=At}else g=v+1,y=(1<<(m=a+1))-1,tt=null}return Ce!==r&&bA.log("Warning, gif stream shorter than expected."),t}function W0(e){var n,t,r,a,A,v=Math.floor,g=new Array(64),m=new Array(64),y=new Array(64),U=new Array(64),oe=new Array(65535),Ce=new Array(65535),I=new Array(64),it=new Array(64),tt=[],At=0,He=7,Tt=new Array(64),Pt=new Array(64),Ct=new Array(64),Fn=new Array(256),er=new Array(2048),jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Xt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Et=[0,1,2,3,4,5,6,7,8,9,10,11],vn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Te=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],st=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Nn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(Pe,Bt){for(var Lt=0,Ht=0,nn=new Array,Bn=1;Bn<=16;Bn++){for(var Hn=1;Hn<=Pe[Bn];Hn++)nn[Bt[Ht]]=[],nn[Bt[Ht]][0]=Lt,nn[Bt[Ht]][1]=Bn,Ht++,Lt++;Lt*=2}return nn}function Kn(Pe){for(var Bt=Pe[0],Lt=Pe[1]-1;Lt>=0;)Bt&1<>8&255),En(255&Pe)}function Hr(Pe,Bt,Lt,Ht,nn){for(var Bn,Hn=nn[0],zn=nn[240],or=function(br,xa){var jo,pa,ua,dA,Li,Va,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=br[na],pa=br[na+1],ua=br[na+2],dA=br[na+3],Li=br[na+4],Va=br[na+5],Ti=br[na+6];var Cs=jo+(Ni=br[na+7]),Gi=jo-Ni,pi=pa+Ti,yi=pa-Ti,XA=ua+Va,ha=ua-Va,RA=dA+Li,La=dA-Li,Ga=Cs+RA,YA=Cs-RA,xi=pi+XA,Sa=pi-XA;br[na]=Ga+xi,br[na+4]=Ga-xi;var fA=.707106781*(Sa+YA);br[na+2]=YA+fA,br[na+6]=YA-fA;var of=.382683433*((Ga=La+ha)-(Sa=yi+Gi)),Bl=.5411961*Ga+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=Gi+du,Tu=Gi-du;br[na+5]=Tu+Bl,br[na+3]=Tu-Bl,br[na+1]=Ia+Mu,br[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=br[na],pa=br[na+8],ua=br[na+16],dA=br[na+24],Li=br[na+32],Va=br[na+40],Ti=br[na+48];var ju=jo+(Ni=br[na+56]),sc=jo-Ni,lc=pa+Ti,us=pa-Ti,qs=ua+Va,ol=ua-Va,af=dA+Li,wd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,_c=lc-qs;br[na]=jc+Hc,br[na+32]=jc-Hc;var cc=.707106781*(_c+fu);br[na+16]=fu+cc,br[na+48]=fu-cc;var Af=.382683433*((jc=wd+ol)-(_c=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*_c+Af,kf=.707106781*(Hc=ol+us),$f=sc+kf,Wf=sc-kf;br[na+40]=Wf+hu,br[na+24]=Wf-hu,br[na+8]=$f+sf,br[na+56]=$f-sf,na++}for(Xo=0;Xo<64;++Xo)ni=br[Xo]*xa[Xo],I[Xo]=ni>0?ni+.5|0:ni-.5|0;return I}(Pe,Bt),Nr=0;Nr<64;++Nr)it[jn[Nr]]=or[Nr];var mo=it[0]-Lt;Lt=it[0],mo==0?Kn(Ht[0]):(Kn(Ht[Ce[Bn=32767+mo]]),Kn(oe[Bn]));for(var ho=63;ho>0&&it[ho]==0;)ho--;if(ho==0)return Kn(Hn),Lt;for(var sa,lt=1;lt<=ho;){for(var po=lt;it[lt]==0&<<=ho;)++lt;var fi=lt-po;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)Kn(zn);fi&=15}Bn=32767+it[lt],Kn(nn[(fi<<4)+Ce[Bn]]),Kn(oe[Bn]),lt++}return ho!=63&&Kn(Hn),Lt}function hr(Pe){Pe=Math.min(Math.max(Pe,1),100),A!=Pe&&(function(Bt){for(var Lt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var nn=v((Lt[Ht]*Bt+50)/100);nn=Math.min(Math.max(nn,1),255),g[jn[Ht]]=nn}for(var Bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hn=0;Hn<64;Hn++){var zn=v((Bn[Hn]*Bt+50)/100);zn=Math.min(Math.max(zn,1),255),m[jn[Hn]]=zn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Nr=0,mo=0;mo<8;mo++)for(var ho=0;ho<8;ho++)y[Nr]=1/(g[jn[Nr]]*or[mo]*or[ho]*8),U[Nr]=1/(m[jn[Nr]]*or[mo]*or[ho]*8),Nr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),A=Pe)}this.encode=function(Pe,Bt){Bt&&hr(Bt),tt=new Array,At=0,He=7,$n(65496),$n(65504),$n(16),En(74),En(70),En(73),En(70),En(0),En(1),En(1),En(0),$n(1),$n(1),En(0),En(0),function(){$n(65499),$n(132),En(0);for(var pa=0;pa<64;pa++)En(g[pa]);En(1);for(var ua=0;ua<64;ua++)En(m[ua])}(),function(pa,ua){$n(65472),$n(17),En(8),$n(ua),$n(pa),En(3),En(1),En(17),En(0),En(2),En(17),En(1),En(3),En(17),En(1)}(Pe.width,Pe.height),function(){$n(65476),$n(418),En(0);for(var pa=0;pa<16;pa++)En(Xt[pa+1]);for(var ua=0;ua<=11;ua++)En(Et[ua]);En(16);for(var dA=0;dA<16;dA++)En(vn[dA+1]);for(var Li=0;Li<=161;Li++)En(Te[Li]);En(1);for(var Va=0;Va<16;Va++)En(st[Va+1]);for(var Ti=0;Ti<=11;Ti++)En(Mt[Ti]);En(17);for(var Ni=0;Ni<16;Ni++)En(Rt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)En(Nn[Xo])}(),$n(65498),$n(12),En(3),En(1),En(0),En(2),En(17),En(3),En(17),En(0),En(63),En(0);var Lt=0,Ht=0,nn=0;At=0,He=7,this.encode.displayName="_encode_";for(var Bn,Hn,zn,or,Nr,mo,ho,sa,lt,po=Pe.data,fi=Pe.width,Ca=Pe.height,br=4*fi,xa=0;xa>3)*br+(ho=4*(7<)),xa+sa>=Ca&&(mo-=br*(xa+1+sa-Ca)),Bn+ho>=br&&(mo-=Bn+ho-br+4),Hn=po[mo++],zn=po[mo++],or=po[mo++],Tt[lt]=(er[Hn]+er[zn+256|0]+er[or+512|0]>>16)-128,Pt[lt]=(er[Hn+768|0]+er[zn+1024|0]+er[or+1280|0]>>16)-128,Ct[lt]=(er[Hn+1280|0]+er[zn+1536|0]+er[or+1792|0]>>16)-128;Lt=Hr(Tt,y,Lt,n,r),Ht=Hr(Pt,U,Ht,t,a),nn=Hr(Ct,U,nn,t,a),Bn+=32}xa+=8}if(He>=0){var jo=[];jo[1]=He+1,jo[0]=(1<st;st++)if(Et[vn+st]!=Te.charCodeAt(st))return!0;return!1}function r(Et,vn,Te,st,Mt){for(var Rt=0;RtRt+1?[]:new vn),!(Nn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Te(s,h,B,D,ue){n(!(D%B));do s[h+(D-=B)]=ue;while(0=ue),512>=ue)var xe=A(512);else if((xe=A(ue))==null)return 0;return function(Le,ke,Je,ht,$t,Sn){var gt,en,yn=ke,qn=1<gt;++gt){if(Cn[gt]>1<(si-=Cn[gt]))return 0;for(;0=gt;++gt,$t<<=1){if(Mo+=si<<=1,0>(si-=Cn[gt]))return 0;for(;0Ir&&!(0>=(rr-=Cn[Ir]));)++Ir,rr<<=1;qn+=ko=1<<(rr=Ir-Je),Le[ke+(Ir=ea&vr)].g=rr+Je,Le[ke+Ir].value=yn-ke-Ir}ht.g=gt-Je,ht.value=Sn[en++],Te(Le,yn+(ea>>Je),$t,ko,ht),ea=vn(ea,gt)}}return Mo!=2*tr[15]-1?0:qn}(s,h,B,D,ue,xe)}function Mt(){this.value=this.g=0}function Rt(){this.value=this.g=0}function Nn(){this.G=v(5,Mt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Rt)}function Tn(s,h,B,D){n(s!=null),n(h!=null),n(2147483648>D),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+D,s.Zc=4<=D?B+D-4+1:B,Hn(s)}function Kn(s,h){for(var B=0;0D),s.Sb=D,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;Ht(s)&&(s.h=1,s.u=0)}function hr(s,h){if(n(0<=h),!s.h&&h<=Wl){var B=Lt(s)&$l[h];return s.u+=h,Hr(s),B}return s.h=1,s.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Lt(s){return s.Ra>>>(s.u&xd-1)>>>0}function Ht(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function nn(s,h){s.u=h,s.h=Ht(s)}function Bn(s){s.u>=Xu&&(n(s.u>=Xu),Hr(s))}function Hn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&Hn(s);var D=s.b,ue=B*h>>>8,xe=(s.I>>>D>ue)+0;for(xe?(B-=ue,s.I-=ue+1<>>0):B=ue+1,D=B,ue=0;256<=D;)ue+=8,D>>=8;return D=7^ue+Ed[D],s.b-=D,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function mo(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return mo(s,h)|s[h+2]<<16}function sa(s,h){return mo(s,h)|mo(s,h+2)<<16}function lt(s,h){var B=1<=ue||0>=xe?0:(B[0]=ue,D[0]=xe,1)}function br(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){Et[h]=function(B,D,ue,xe,Le,ke,Je){var ht;for(ht=0;ht>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Va(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,D,ue,xe,Le){for(D=xe[Le-1],B=0;B>8&255,Je=16711935&(Je=(Je=16711935&Le)+((ke<<16)+ke));D[ue+xe]=(4278255360&Le)+Je>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,D,ue,xe){var Le;for(Le=0;Le>>8,ht=ke,$t=255&($t=($t=ke>>>16)+((s.jd<<24>>24)*(Je<<24>>24)>>>5));ht=255&(ht=(ht+=(s.hd<<24>>24)*(Je<<24>>24)>>>5)+((s.ud<<24>>24)*($t<<24>>24)>>>5)),ue[xe+Le]=(4278255360&ke)+($t<<16)+ht}}function na(s,h,B,D,ue){Et[h]=function(xe,Le,ke,Je,ht,$t,Sn,gt,en){for(Je=Sn;Je>xe.b,en=xe.Ea,yn=xe.K[0],qn=xe.w;if(8>gt)for(xe=(1<>=gt}else Et["VP8LMapColor"+B](Je,ht,yn,qn,$t,Sn,Le,ke,en)}}function Cs(s,h,B,D,ue){for(B=h+B;h>16&255,D[ue++]=xe>>8&255,D[ue++]=255&xe}}function Gi(s,h,B,D,ue){for(B=h+B;h>16&255,D[ue++]=xe>>8&255,D[ue++]=255&xe,D[ue++]=xe>>24&255}}function pi(s,h,B,D,ue){for(B=h+B;h>16&240|Le>>12&15,Le=240&Le|Le>>28&15;D[ue++]=xe,D[ue++]=Le}}function yi(s,h,B,D,ue){for(B=h+B;h>16&248|Le>>13&7,Le=Le>>5&224|Le>>3&31;D[ue++]=xe,D[ue++]=Le}}function XA(s,h,B,D,ue){for(B=h+B;h>8&255,D[ue++]=xe>>16&255}}function ha(s,h,B,D,ue,xe){if(xe==0)for(B=h+B;h>24|xe[1]>>8&65280|xe[2]<<8&16711680|xe[3]<<24)>>>0),ue+=32;else r(D,ue,s,h,B)}function RA(s,h){Et[h][0]=Et[s+"0"],Et[h][1]=Et[s+"1"],Et[h][2]=Et[s+"2"],Et[h][3]=Et[s+"3"],Et[h][4]=Et[s+"4"],Et[h][5]=Et[s+"5"],Et[h][6]=Et[s+"6"],Et[h][7]=Et[s+"7"],Et[h][8]=Et[s+"8"],Et[h][9]=Et[s+"9"],Et[h][10]=Et[s+"10"],Et[h][11]=Et[s+"11"],Et[h][12]=Et[s+"12"],Et[h][13]=Et[s+"13"],Et[h][14]=Et[s+"0"],Et[h][15]=Et[s+"0"]}function La(s){return s==dv||s==fv||s==v0||s==hv}function Ga(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ga,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,D=h.ba.f.RGBA,ue=D.eb,xe=D.fb+s.ka*D.A,Le=vc[h.ba.S],ke=s.y,Je=s.O,ht=s.f,$t=s.N,Sn=s.ea,gt=s.W,en=h.cc,yn=h.dc,qn=h.Mc,Cn=h.Nc,tr=s.ka,rr=s.ka+s.T,Ir=s.U,vr=Ir+1>>1;for(tr==0?Le(ke,Je,null,null,ht,$t,Sn,gt,ht,$t,Sn,gt,ue,xe,null,null,Ir):(Le(h.ec,h.fc,ke,Je,en,yn,qn,Cn,ht,$t,Sn,gt,ue,xe-D.A,ue,xe,Ir),++B);tr+2B,ue=B==f0||B==h0||B==g0||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!eg(h.Oa,s,ue?11:12))return 0;if(ue&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(D){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Yh()}}else alert("todo:EmitYUV");ue&&(h.Jb=Mu,D&&Zc())}if(D&&!ym){for(s=0;256>s;++s)mp[s]=89858*(s-128)+p0>>m0,wp[s]=-22014*(s-128)+p0,yp[s]=-45773*(s-128),pp[s]=113618*(s-128)+p0>>m0;for(s=cg;s>m0,bp[s-cg]=gu(h,255),Bp[s-cg]=gu(h+8>>4,15);ym=1}return 1}function Ia(s){var h=s.ma,B=s.U,D=s.T;return n(!(1&s.ka)),0>=B||0>=D?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,D){return hr(s,8)!=47?0:(h[0]=hr(s,14)+1,B[0]=hr(s,14)+1,D[0]=hr(s,1),hr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var D=Lt(B),ue=s[h+=255&D].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var D=s.xc;return n((h=D==0?0:s.vc[s.md*(B>>D)+(h>>D)])>ko.b)*Mo;qnIr&&($o=Ir),(0,og[ji[Ks++]>>8&15])(gt,en+ +li,tr,rr+li-Ir,$o-li,tr,rr+li),li=$o}en+=Ir,rr+=Ir,++qn&ea||(ko+=Mo)}Sn!=ht.nc&&r(Je,ke-yn,Je,ke+(Sn-$t-1)*yn,yn);break;case 1:for(yn=gt,Cn=en,Ir=(gt=ht.Ea)-(rr=gt&~(tr=(en=1<>ht.b)*qn;$t=ue),0xe.o&&(D=xe.o),B=D?B=0:(ue[0]+=4*xe.v,xe.ka=B-xe.j,xe.U=xe.va-xe.v,xe.T=D-B,B=1),B){if(ke=ke[0],11>(B=s.ca).S){var $t=B.f.RGBA,Sn=(D=B.S,ue=xe.U,xe=xe.T,ht=$t.eb,$t.A),gt=xe;for($t=$t.fb+s.Ma*$t.A;0D){var ue=s.l.width,xe=B.ca,Le=B.tb+ue*D,ke=s.V,Je=s.Ba+s.c*D,ht=s.gc;n(s.ab==1),n(ht[0].hc==3),yu(ht[0],D,h,ke,Je,xe,Le),fu(B,D,h,xe,Le,ue)}s.C=s.Ma=h}function _c(s,h,B,D,ue,xe,Le){var ke=s.$/D,Je=s.$%D,ht=s.m,$t=s.s,Sn=B+s.$,gt=Sn;ue=B+D*ue;var en=B+D*xe,yn=280+$t.ua,qn=s.Pb?ke:16777216,Cn=0<$t.ua?$t.Wa:null,tr=$t.wc,rr=Sn=qn){var ea=Sn-B;n((qn=s).Pb),qn.wd=qn.m,qn.xd=ea,0si.g?(nn(vr,vr.u+si.g),ea[Mo]=si.value,vr=0):(nn(vr,vr.u+si.g-256),n(256<=si.value),vr=si.value),vr==0&&(Ir=!0)}else vr=us(rr.G[0],rr.H[0],ht);if(ht.h)break;if(Ir||256>vr){if(!Ir)if(rr.nd)h[Sn]=(rr.qb|vr<<8)>>>0;else{if(Bn(ht),Ir=us(rr.G[1],rr.H[1],ht),Bn(ht),ea=us(rr.G[2],rr.H[2],ht),Mo=us(rr.G[3],rr.H[3],ht),ht.h)break;h[Sn]=(Mo<<24|Ir<<16|vr<<8|ea)>>>0}if(Ir=!1,++Sn,++Je>=D&&(Je=0,++ke,Le!=null&&ke<=xe&&!(ke%16)&&Le(s,ke),Cn!=null))for(;gt>>Cn.Mb]=vr}else if(280>vr){if(vr=sc(vr-256,ht),ea=us(rr.G[4],rr.H[4],ht),Bn(ht),ea=lc(D,ea=sc(ea,ht)),ht.h)break;if(Sn-B=D;)Je-=D,++ke,Le!=null&&ke<=xe&&!(ke%16)&&Le(s,ke);if(n(Sn<=ue),Je&tr&&(rr=ol($t,Je,ke)),Cn!=null)for(;gt>>Cn.Mb]=vr}else{if(!(vr>>Cn.Mb]=vr;vr=Sn,n(!(Ir>>>(ea=Cn).Xa)),h[vr]=ea.X[Ir],Ir=!0}Ir||n(ht.h==Ht(ht))}if(s.Pb&&ht.h&&Snxe?xe:ke),s.a=0,s.$=Sn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fm,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,ag=ni,ig=Cs,Sd=Gi,Id=pi,Fd=yi,wf=XA,Et.VP8LMapColor32b=pu,Et.VP8LMapColor8b=rg,s)}function hu(s,h,B,D,ue){var xe=1,Le=[s],ke=[h],Je=D.m,ht=D.s,$t=null,Sn=0;e:for(;;){if(B)for(;xe&&hr(Je,1);){var gt=Le,en=ke,yn=D,qn=1,Cn=yn.m,tr=yn.gc[yn.ab],rr=hr(Cn,2);if(yn.Oc&1<=yn.ab),rr){case 0:case 1:tr.b=hr(Cn,3)+2,qn=hu(br(tr.Ea,tr.b),br(tr.nc,tr.b),0,yn,tr.K),tr.K=tr.K[0];break;case 3:var Ir,vr=hr(Cn,8)+1,ea=16>ko.b),Ks=A(ji);if(Ks==null)Ir=0;else{var li=ko.K[0],$o=ko.w;for(Ks[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Ks[Mo]=xa(li[$o+Mo],Ks[Mo-1]);for(;Mo<4*ji;++Mo)Ks[Mo]=0;ko.K[0]=null,ko.K[0]=Ks,Ir=1}}qn=Ir;break;case 2:break;default:n(0)}xe=qn}}if(Le=Le[0],ke=ke[0],xe&&hr(Je,1)&&!(xe=1<=(Sn=hr(Je,4))&&11>=Sn)){D.a=3;break e}var Ao;if(Ao=xe)t:{var Ss,Xa,zi,zA=D,Al=Le,Ul=ke,ds=Sn,Cl=B,Ll=zA.m,Zs=zA.s,Yi=[null],BA=1,fs=0,CA=op[ds];n:for(;;){if(Cl&&hr(Ll,1)){var sl=hr(Ll,3)+2,kc=br(Al,sl),Is=br(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,zA,Yi))break n;for(Yi=Yi[0],Zs.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var zs=um[Xa];!Xa&&0=Nl),Yl=Xl;var Hl=A(fs);if(Yl==null||Hl==null||Gl==null){zA.a=1;break n}var Jl=Gl;for(Ss=zi=0;SsXa;++Xa){zs=um[Xa],ql[Xa]=Jl,$c[Xa]=zi,!Xa&&0x0)break r}else wv=x0;for(dg=0;dgrh)Sm[dg++]=rh,rh!=0&&(Im=rh);else{var Np=rh==16,Um=rh-16,Pp=ep[Um],Lm=hr(Pd,qm[Um])+Pp;if(dg+Lm>x0)break r;for(var Qp=Np?Im:0;0=Xa){var fg,Bv=Hl[0];for(fg=1;fgBv&&(Bv=Hl[fg]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][$c[3]+0].value<<24|ql[1][$c[1]+0].value<<16|ql[2][$c[2]+0].value)>>>0,Bf==0&&256>ql[0][$c[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][$c[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var E0,ed=MA;for(E0=0;E0>=qs(S0,8,Rd),Qd>>=qs(ed.G[1][ed.H[1]+Qd],16,Rd),Qd>>=qs(ed.G[2][ed.H[2]+Qd],0,Rd),qs(ed.G[3][ed.H[3]+Qd],24,Rd))}}}Zs.vc=Yi,Zs.Wb=BA,Zs.Ya=Yl,Zs.yc=Gl,Ao=1;break t}Ao=0}if(!(xe=Ao)){D.a=3;break e}if(0D+1?[]:0),!(ue.lengths?0:s>h?h:s}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function G0(){var s=new Xg;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,lg||(lg=Gf)),s}function Ps(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Yg(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Ps(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,D=h.w,ue=h.ha;if(4>ue)return Ps(s,7,"Truncated header.");var xe=B[D+0]|B[D+1]<<8|B[D+2]<<16,Le=s.Od;if(Le.Rb=!(1&xe),Le.td=xe>>1&7,Le.yd=xe>>4&1,Le.ub=xe>>5,3ue)return Ps(s,7,"cannot parse picture header");if(!Yg(B,D,ue))return Ps(s,3,"Bad code word");ke.c=16383&(B[D+4]<<8|B[D+3]),ke.Td=B[D+4]>>6,ke.i=16383&(B[D+6]<<8|B[D+5]),ke.Ud=B[D+6]>>6,D+=7,ue-=7,s.za=ke.c+15>>4,s.Ub=ke.i+15>>4,h.width=ke.c,h.height=ke.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,a((xe=s.Pa).jb,0,255,xe.jb.length),n((xe=s.Qa)!=null),xe.Cb=0,xe.Bb=0,xe.Fb=1,a(xe.Zb,0,0,xe.Zb.length),a(xe.Lb,0,0,xe.Lb)}if(Le.ub>ue)return Ps(s,7,"bad partition length");Tn(xe=s.m,B,D,Le.ub),D+=Le.ub,ue-=Le.ub,Le.Rb&&(ke.Ld=zn(xe),ke.Kd=zn(xe)),ke=s.Qa;var Je,ht=s.Pa;if(n(xe!=null),n(ke!=null),ke.Cb=zn(xe),ke.Cb){if(ke.Bb=zn(xe),zn(xe)){for(ke.Fb=zn(xe),Je=0;4>Je;++Je)ke.Zb[Je]=zn(xe)?En(xe,7):0;for(Je=0;4>Je;++Je)ke.Lb[Je]=zn(xe)?En(xe,6):0}if(ke.Bb)for(Je=0;3>Je;++Je)ht.jb[Je]=zn(xe)?Kn(xe,8):255}else ke.Bb=0;if(xe.Ka)return Ps(s,3,"cannot parse segment header");if((ke=s.ed).zd=zn(xe),ke.Tb=Kn(xe,6),ke.wb=Kn(xe,3),ke.Pc=zn(xe),ke.Pc&&zn(xe)){for(ht=0;4>ht;++ht)zn(xe)&&(ke.vd[ht]=En(xe,6));for(ht=0;4>ht;++ht)zn(xe)&&(ke.od[ht]=En(xe,6))}if(s.L=ke.Tb==0?0:ke.zd?1:2,xe.Ka)return Ps(s,3,"cannot parse filter header");var $t=ue;if(ue=Je=D,D=Je+$t,ke=$t,s.Xb=(1<ke&&(Sn=ke),Tn(s.Jc[+$t],B,Je,Sn),Je+=Sn,ke-=Sn,ue+=3}Tn(s.Jc[+ht],B,Je,ke),B=JeSn;++Sn){if($t.Cb){var gt=$t.Zb[Sn];$t.Fb||(gt+=B)}else{if(0>16,8>en.Eb[1]&&(en.Eb[1]=8),en.Qc[0]=gv[gu(gt+ht,117)],en.Qc[1]=vv[gu(gt+Je,127)],en.lc=gt+Je}if(!Le.Rb)return Ps(s,4,"Not a key frame.");for(zn(xe),Le=s.Pa,B=0;4>B;++B){for(ue=0;8>ue;++ue)for(D=0;3>D;++D)for(ke=0;11>ke;++ke)ht=or(xe,cp[B][ue][D][ke])?Kn(xe,8):sp[B][ue][D][ke],Le.Wc[B][ue].Yb[D][ke]=ht;for(ue=0;17>ue;++ue)Le.Xc[B][ue]=Le.Wc[B][up[ue]]}return s.kc=zn(xe),s.kc&&(s.Bd=Kn(xe,8)),s.cb=1}function Gf(s,h,B,D,ue,xe,Le){var ke=h[ue].Yb[B];for(B=0;16>ue;++ue){if(!or(s,ke[B+0]))return ue;for(;!or(s,ke[B+1]);)if(ke=h[++ue].Yb[0],B=0,ue==16)return 16;var Je=h[ue+1].Yb;if(or(s,ke[B+2])){var ht=s,$t=0;if(or(ht,(gt=ke)[(Sn=B)+3]))if(or(ht,gt[Sn+6])){for(ke=0,Sn=2*($t=or(ht,gt[Sn+8]))+(gt=or(ht,gt[Sn+9+$t])),$t=0,gt=ip[Sn];gt[ke];++ke)$t+=$t+or(ht,gt[ke]);$t+=3+(8<(ht=s).b&&Hn(ht);var Sn,gt=ht.b,en=(Sn=ht.Ca>>1)-(ht.I>>gt)>>31;--ht.b,ht.Ca+=en,ht.Ca|=1,ht.I-=(Sn+1&en)<>3),s[h+B+32*D]=-256&ue?0>ue?0:255:ue}function js(s,h,B,D,ue,xe){dc(s,h,0,B,D+ue),dc(s,h,1,B,D+xe),dc(s,h,2,B,D-xe),dc(s,h,3,B,D-ue)}function Hu(s){return(20091*s>>16)+s}function qg(s,h,B,D){var ue,xe=0,Le=A(16);for(ue=0;4>ue;++ue){var ke=s[h+0]+s[h+8],Je=s[h+0]-s[h+8],ht=(35468*s[h+4]>>16)-Hu(s[h+12]),$t=Hu(s[h+4])+(35468*s[h+12]>>16);Le[xe+0]=ke+$t,Le[xe+1]=Je+ht,Le[xe+2]=Je-ht,Le[xe+3]=ke-$t,xe+=4,h++}for(ue=xe=0;4>ue;++ue)ke=(s=Le[xe+0]+4)+Le[xe+8],Je=s-Le[xe+8],ht=(35468*Le[xe+4]>>16)-Hu(Le[xe+12]),dc(B,D,0,0,ke+($t=Hu(Le[xe+4])+(35468*Le[xe+12]>>16))),dc(B,D,1,0,Je+ht),dc(B,D,2,0,Je-ht),dc(B,D,3,0,ke-$t),xe++,D+=32}function X0(s,h,B,D){var ue=s[h+0]+4,xe=35468*s[h+4]>>16,Le=Hu(s[h+4]),ke=35468*s[h+1]>>16;js(B,D,0,ue+Le,s=Hu(s[h+1]),ke),js(B,D,1,ue+xe,s,ke),js(B,D,2,ue-xe,s,ke),js(B,D,3,ue-Le,s,ke)}function Y0(s,h,B,D,ue){qg(s,h,B,D),ue&&qg(s,h+16,B,D+4)}function mu(s,h,B,D){bf(s,h+0,B,D,1),bf(s,h+32,B,D+128,1)}function e0(s,h,B,D){var ue;for(s=s[h+0]+4,ue=0;4>ue;++ue)for(h=0;4>h;++h)dc(B,D,h,ue,s)}function t0(s,h,B,D){s[h+0]&&hA(s,h+0,B,D),s[h+16]&&hA(s,h+16,B,D+4),s[h+32]&&hA(s,h+32,B,D+128),s[h+48]&&hA(s,h+48,B,D+128+4)}function Xf(s,h,B,D){var ue,xe=A(16);for(ue=0;4>ue;++ue){var Le=s[h+0+ue]+s[h+12+ue],ke=s[h+4+ue]+s[h+8+ue],Je=s[h+4+ue]-s[h+8+ue],ht=s[h+0+ue]-s[h+12+ue];xe[0+ue]=Le+ke,xe[8+ue]=Le-ke,xe[4+ue]=ht+Je,xe[12+ue]=ht-Je}for(ue=0;4>ue;++ue)Le=(s=xe[0+4*ue]+3)+xe[3+4*ue],ke=xe[1+4*ue]+xe[2+4*ue],Je=xe[1+4*ue]-xe[2+4*ue],ht=s-xe[3+4*ue],B[D+0]=Le+ke>>3,B[D+16]=ht+Je>>3,B[D+32]=Le-ke>>3,B[D+48]=ht-Je>>3,D+=64}function lf(s,h,B){var D,ue=h-32,xe=Vl,Le=255-s[ue-1];for(D=0;DB;++B)r(s,h+32*B,s,h-32,16)}function n0(s,h){var B;for(B=16;0D;++D)a(h,B+32*D,s,16)}function tv(s,h){var B,D=16;for(B=0;16>B;++B)D+=s[h-1+32*B]+s[h+B-32];Kc(D>>5,s,h)}function cf(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h-1+32*B];Kc(D>>4,s,h)}function zh(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h+B-32];Kc(D>>4,s,h)}function nv(s,h){Kc(128,s,h)}function _a(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,D=h-32;for(D=new Uint8Array([_a(s[D-1],s[D+0],s[D+1]),_a(s[D+0],s[D+1],s[D+2]),_a(s[D+1],s[D+2],s[D+3]),_a(s[D+2],s[D+3],s[D+4])]),B=0;4>B;++B)r(s,h+32*B,D,0,D.length)}function ov(s,h){var B=s[h-1],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96];Nr(s,h+0,16843009*_a(s[h-1-32],B,D)),Nr(s,h+32,16843009*_a(B,D,ue)),Nr(s,h+64,16843009*_a(D,ue,xe)),Nr(s,h+96,16843009*_a(ue,xe,xe))}function av(s,h){var B,D=4;for(B=0;4>B;++B)D+=s[h+B-32]+s[h-1+32*B];for(D>>=3,B=0;4>B;++B)a(s,h+32*B,D,4)}function _u(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1-32],Le=s[h+0-32],ke=s[h+1-32],Je=s[h+2-32],ht=s[h+3-32];s[h+0+96]=_a(D,ue,s[h-1+96]),s[h+1+96]=s[h+0+64]=_a(B,D,ue),s[h+2+96]=s[h+1+64]=s[h+0+32]=_a(xe,B,D),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=_a(Le,xe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=_a(ke,Le,xe),s[h+3+32]=s[h+2+0]=_a(Je,ke,Le),s[h+3+0]=_a(ht,Je,ke)}function Ku(s,h){var B=s[h+1-32],D=s[h+2-32],ue=s[h+3-32],xe=s[h+4-32],Le=s[h+5-32],ke=s[h+6-32],Je=s[h+7-32];s[h+0+0]=_a(s[h+0-32],B,D),s[h+1+0]=s[h+0+32]=_a(B,D,ue),s[h+2+0]=s[h+1+32]=s[h+0+64]=_a(D,ue,xe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=_a(ue,xe,Le),s[h+3+32]=s[h+2+64]=s[h+1+96]=_a(xe,Le,ke),s[h+3+64]=s[h+2+96]=_a(Le,ke,Je),s[h+3+96]=_a(ke,Je,Je)}function iv(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1-32],Le=s[h+0-32],ke=s[h+1-32],Je=s[h+2-32],ht=s[h+3-32];s[h+0+0]=s[h+1+64]=xe+Le+1>>1,s[h+1+0]=s[h+2+64]=Le+ke+1>>1,s[h+2+0]=s[h+3+64]=ke+Je+1>>1,s[h+3+0]=Je+ht+1>>1,s[h+0+96]=_a(ue,D,B),s[h+0+64]=_a(D,B,xe),s[h+0+32]=s[h+1+96]=_a(B,xe,Le),s[h+1+32]=s[h+2+96]=_a(xe,Le,ke),s[h+2+32]=s[h+3+96]=_a(Le,ke,Je),s[h+3+32]=_a(ke,Je,ht)}function Av(s,h){var B=s[h+0-32],D=s[h+1-32],ue=s[h+2-32],xe=s[h+3-32],Le=s[h+4-32],ke=s[h+5-32],Je=s[h+6-32],ht=s[h+7-32];s[h+0+0]=B+D+1>>1,s[h+1+0]=s[h+0+64]=D+ue+1>>1,s[h+2+0]=s[h+1+64]=ue+xe+1>>1,s[h+3+0]=s[h+2+64]=xe+Le+1>>1,s[h+0+32]=_a(B,D,ue),s[h+1+32]=s[h+0+96]=_a(D,ue,xe),s[h+2+32]=s[h+1+96]=_a(ue,xe,Le),s[h+3+32]=s[h+2+96]=_a(xe,Le,ke),s[h+3+64]=_a(Le,ke,Je),s[h+3+96]=_a(ke,Je,ht)}function Yf(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96];s[h+0+0]=B+D+1>>1,s[h+2+0]=s[h+0+32]=D+ue+1>>1,s[h+2+32]=s[h+0+64]=ue+xe+1>>1,s[h+1+0]=_a(B,D,ue),s[h+3+0]=s[h+1+32]=_a(D,ue,xe),s[h+3+32]=s[h+1+64]=_a(ue,xe,xe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=xe}function kh(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96],Le=s[h-1-32],ke=s[h+0-32],Je=s[h+1-32],ht=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Le+1>>1,s[h+0+32]=s[h+2+64]=D+B+1>>1,s[h+0+64]=s[h+2+96]=ue+D+1>>1,s[h+0+96]=xe+ue+1>>1,s[h+3+0]=_a(ke,Je,ht),s[h+2+0]=_a(Le,ke,Je),s[h+1+0]=s[h+3+32]=_a(B,Le,ke),s[h+1+32]=s[h+3+64]=_a(D,B,Le),s[h+1+64]=s[h+3+96]=_a(ue,D,B),s[h+1+96]=_a(xe,ue,D)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)a(s,h,s[h-1],8),h+=32}function Zu(s,h,B){var D;for(D=0;8>D;++D)a(h,B+32*D,s,8)}function lv(s,h){var B,D=8;for(B=0;8>B;++B)D+=s[h+B-32]+s[h-1+32*B];Zu(D>>4,s,h)}function $h(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h+B-32];Zu(D>>3,s,h)}function Wh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h-1+32*B];Zu(D>>3,s,h)}function r0(s,h){Zu(128,s,h)}function zu(s,h,B){var D=s[h-B],ue=s[h+0],xe=3*(ue-D)+cv[1020+s[h-2*B]-s[h+B]],Le=u0[112+(xe+4>>3)];s[h-B]=Vl[255+D+u0[112+(xe+3>>3)]],s[h+0]=Vl[255+ue-Le]}function Vh(s,h,B,D){var ue=s[h+0],xe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>D||gc[255+xe-ue]>D}function Jf(s,h,B,D){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=D}function Gh(s,h,B,D,ue){var xe=s[h-3*B],Le=s[h-2*B],ke=s[h-B],Je=s[h+0],ht=s[h+B],$t=s[h+2*B],Sn=s[h+3*B];return 4*gc[255+ke-Je]+gc[255+Le-ht]>D?0:gc[255+s[h-4*B]-xe]<=ue&&gc[255+xe-Le]<=ue&&gc[255+Le-ke]<=ue&&gc[255+Sn-$t]<=ue&&gc[255+$t-ht]<=ue&&gc[255+ht-Je]<=ue}function df(s,h,B,D){var ue=2*D+1;for(D=0;16>D;++D)Jf(s,h+D,B,ue)&&zu(s,h+D,B)}function Xh(s,h,B,D){var ue=2*D+1;for(D=0;16>D;++D)Jf(s,h+D*B,1,ue)&&zu(s,h+D*B,1)}function o0(s,h,B,D){var ue;for(ue=3;0>7,tr=18*rr+63>>7,rr=9*rr+63>>7;Je[ht-3*$t]=Vl[255+Je[ht-3*$t]+rr],Je[ht-2*$t]=Vl[255+Sn+tr],Je[ht-$t]=Vl[255+gt+Cn],Je[ht+0]=Vl[255+en-Cn],Je[ht+$t]=Vl[255+yn-tr],Je[ht+2*$t]=Vl[255+qn-rr]}h+=D}}function $u(s,h,B,D,ue,xe,Le,ke){for(xe=2*xe+1;0>3)],qn=u0[112+(qn+3>>3)],Cn=yn+1>>1;Je[ht-2*$t]=Vl[255+Je[ht-2*$t]+Cn],Je[ht-$t]=Vl[255+Sn+qn],Je[ht+0]=Vl[255+gt-yn],Je[ht+$t]=Vl[255+en-Cn]}h+=D}}function i0(s,h,B,D,ue,xe){ku(s,h,B,1,16,D,ue,xe)}function ff(s,h,B,D,ue,xe){ku(s,h,1,B,16,D,ue,xe)}function A0(s,h,B,D,ue,xe){var Le;for(Le=3;0ht?0:255:ht)&255,ht=Je,ue[xe+ke]=$t}}function DA(s,h,B,D){var ue=h.width,xe=h.o;if(n(s!=null&&h!=null),0>B||0>=D||B+D>xe)return null;if(!s.Cc){if(s.ga==null){var Le;if(s.ga=new ri,(Le=s.ga==null)||(Le=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Le),s.Uc=0,s.Gb==null?Le=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Le=1),Le=!Le),!Le){Le=s.ga;var ke=s.Fa,Je=s.P,ht=s.qc,$t=s.mb,Sn=s.nb,gt=Je+1,en=ht-1,yn=Le.l;if(n(ke!=null&&$t!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Qs,Le.ca=$t,Le.tb=Sn,Le.c=h.width,Le.i=h.height,n(0=ht)h=0;else if(Le.$a=3&ke[Je+0],Le.Z=ke[Je+0]>>2&3,Le.Lc=ke[Je+0]>>4&3,Je=ke[Je+0]>>6&3,0>Le.$a||1=Le.c*Le.i;Le=!h}if(Le)return null;s.ga.Lc!=1?s.Ga=0:D=xe-B}n(s.ga!=null),n(B+D<=xe);e:{if(h=(ke=s.ga).c,xe=ke.l.o,ke.$a==0){if(gt=s.rc,en=s.Vc,yn=s.Fa,Je=s.P+1+B*h,ht=s.mb,$t=s.nb+B*h,n(Je<=s.P+s.qc),ke.Z!=0)for(n(Ld[ke.Z]!=null),Le=0;Le=h)h=1;else if(ke.ic||Zc(),ke.ic){ke=Le.V,gt=Le.Ba,en=Le.c;var qn=Le.i,Cn=(yn=1,Je=Le.$/en,ht=Le.$%en,$t=Le.m,Sn=Le.s,Le.$),tr=en*qn,rr=en*h,Ir=Sn.wc,vr=Cn(qn=us(vr.G[0],vr.H[0],$t)))ke[gt+Cn]=qn,++Cn,++ht>=en&&(ht=0,++Je<=h&&!(Je%16)&&Hc(Le,Je));else{if(!(280>qn)){yn=0;break t}qn=sc(qn-256,$t);var ea,Mo=us(vr.G[4],vr.H[4],$t);if(Bn($t),!(Cn>=(Mo=lc(en,Mo=sc(Mo,$t)))&&tr-Cn>=qn)){yn=0;break t}for(ea=0;ea=en;)ht-=en,++Je<=h&&!(Je%16)&&Hc(Le,Je);Cnh?h:Je);break t}!yn||$t.h&&Cn=xe&&(s.Cc=1),D=1}if(!D)return null;if(s.Cc&&((D=s.ga)!=null&&(D.mc=null),s.ga=null,0>23,ke[Je+4*Le+1]=ke[Je+4*Le+1]*Sn>>23,ke[Je+4*Le+2]=ke[Je+4*Le+2]*Sn>>23)}h+=xe}}function Rs(s,h,B,D,ue){for(;0>4)*Je>>16;s[h+2*xe+0]=(240&Le|Le>>4)*Je>>16&240|(15&Le|Le<<4)*Je>>16>>4&15,s[h+2*xe+1]=240&ht|ke}h+=ue}}function al(s,h,B,D,ue,xe,Le,ke){var Je,ht,$t=255;for(ht=0;ht>8}function Zc(){sg=Hs,tm=Rs,nm=al,rm=Wu}function Vu(s,h,B){Et[s]=function(D,ue,xe,Le,ke,Je,ht,$t,Sn,gt,en,yn,qn,Cn,tr,rr,Ir){var vr,ea=Ir-1>>1,Mo=ke[Je+0]|ht[$t+0]<<16,si=Sn[gt+0]|en[yn+0]<<16;n(D!=null);var ko=3*Mo+si+131074>>2;for(h(D[ue+0],255&ko,ko>>16,qn,Cn),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Le+0],255&ko,ko>>16,tr,rr)),vr=1;vr<=ea;++vr){var ji=ke[Je+vr]|ht[$t+vr]<<16,Ks=Sn[gt+vr]|en[yn+vr]<<16,li=Mo+ji+si+Ks+524296,$o=li+2*(ji+si)>>3;ko=$o+Mo>>1,Mo=(li=li+2*(Mo+Ks)>>3)+ji>>1,h(D[ue+2*vr-1],255&ko,ko>>16,qn,Cn+(2*vr-1)*B),h(D[ue+2*vr-0],255&Mo,Mo>>16,qn,Cn+(2*vr-0)*B),xe!=null&&(ko=li+si>>1,Mo=$o+Ks>>1,h(xe[Le+2*vr-1],255&ko,ko>>16,tr,rr+(2*vr-1)*B),h(xe[Le+2*vr+0],255&Mo,Mo>>16,tr,rr+(2*vr+0)*B)),Mo=ji,si=Ks}1&Ir||(ko=3*Mo+si+131074>>2,h(D[ue+Ir-1],255&ko,ko>>16,qn,Cn+(Ir-1)*B),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Le+Ir-1],255&ko,ko>>16,tr,rr+(Ir-1)*B)))}}function Yh(){vc[d0]=fp,vc[f0]=hm,vc[lm]=hp,vc[h0]=gm,vc[g0]=vm,vc[uv]=mm,vc[cm]=gp,vc[dv]=hm,vc[fv]=gm,vc[v0]=vm,vc[hv]=mm}function qf(s){return s&~vp?0>s?0:255:s>>pm}function bd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,D,ue){D[ue+0]=bd(s,B),D[ue+1]=hf(s,h,B),D[ue+2]=gf(s,h)}function il(s,h,B,D,ue){D[ue+0]=gf(s,h),D[ue+1]=hf(s,h,B),D[ue+2]=bd(s,B)}function vf(s,h,B,D,ue){var xe=hf(s,h,B);h=xe<<3&224|gf(s,h)>>3,D[ue+0]=248&bd(s,B)|xe>>5,D[ue+1]=h}function mf(s,h,B,D,ue){var xe=240&gf(s,h)|15;D[ue+0]=240&bd(s,B)|hf(s,h,B)>>4,D[ue+1]=xe}function Jh(s,h,B,D,ue){D[ue+0]=255,Bd(s,h,B,D,ue+1)}function qh(s,h,B,D,ue){il(s,h,B,D,ue),D[ue+3]=255}function Ol(s,h,B,D,ue){Bd(s,h,B,D,ue),D[ue+3]=255}function Gu(s,h,B){Et[s]=function(D,ue,xe,Le,ke,Je,ht,$t,Sn){for(var gt=$t+(-2&Sn)*B;$t!=gt;)h(D[ue+0],xe[Le+0],ke[Je+0],ht,$t),h(D[ue+1],xe[Le+0],ke[Je+0],ht,$t+B),ue+=2,++Le,++Je,$t+=2*B;1&Sn&&h(D[ue+0],xe[Le+0],ke[Je+0],ht,$t)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function s0(s,h,B,D,ue){switch(s>>>30){case 3:bf(h,B,D,ue,0);break;case 2:hc(h,B,D,ue);break;case 1:hA(h,B,D,ue)}}function fc(s,h){var B,D,ue=h.M,xe=h.Nb,Le=s.oc,ke=s.pc+40,Je=s.oc,ht=s.pc+584,$t=s.oc,Sn=s.pc+600;for(B=0;16>B;++B)Le[ke+32*B-1]=129;for(B=0;8>B;++B)Je[ht+32*B-1]=129,$t[Sn+32*B-1]=129;for(0B;++B)r(Le,ke+32*B-4,Le,ke+32*B+12,4);for(B=-1;8>B;++B)r(Je,ht+32*B-4,Je,ht+32*B+4,4),r($t,Sn+32*B-4,$t,Sn+32*B+4,4)}var en=s.Gd,yn=s.Hd+D,qn=gt.ad,Cn=gt.Hc;if(0=s.za-1?a(tr,rr,en[yn].y[15],4):r(tr,rr,en[yn+1].y,0,4)),B=0;4>B;B++)tr[rr+128+B]=tr[rr+256+B]=tr[rr+384+B]=tr[rr+0+B];for(B=0;16>B;++B,Cn<<=2)tr=Le,rr=ke+wm[B],zc[gt.Ob[B]](tr,rr),s0(Cn,qn,16*+B,tr,rr)}else if(tr=eh(D,ue,gt.Ob[0]),Ud[tr](Le,ke),Cn!=0)for(B=0;16>B;++B,Cn<<=2)s0(Cn,qn,16*+B,Le,ke+wm[B]);for(B=gt.Gc,tr=eh(D,ue,gt.Dd),Ju[tr](Je,ht),Ju[tr]($t,Sn),Cn=qn,tr=Je,rr=ht,255&(gt=0|B)&&(170>?wu(Cn,256,tr,rr):OA(Cn,256,tr,rr)),gt=$t,Cn=Sn,255&(B>>=8)&&(170&B?wu(qn,320,gt,Cn):OA(qn,320,gt,Cn)),ueB;++B)r(en,yn+B*s.R,Le,ke+32*B,16);for(B=0;8>B;++B)r(qn,gt+B*s.B,Je,ht+32*B,8),r(Cn,tr+B*s.B,$t,Sn+32*B,8)}}function pf(s,h,B,D,ue,xe,Le,ke,Je){var ht=[0],$t=[0],Sn=0,gt=Je!=null?Je.kd:0,en=Je!=null?Je:new gr;if(s==null||12>B)return 7;en.data=s,en.w=h,en.ha=B,h=[h],B=[B],en.gb=[en.gb];e:{var yn=h,qn=B,Cn=en.gb;if(n(s!=null),n(qn!=null),n(Cn!=null),Cn[0]=0,12<=qn[0]&&!t(s,yn[0],"RIFF")){if(t(s,yn[0]+8,"WEBP")){Cn=3;break e}var tr=sa(s,yn[0]+4);if(12>tr||4294967286qn[0]-8){Cn=7;break e}Cn[0]=tr,yn[0]+=12,qn[0]-=12}Cn=0}if(Cn!=0)return Cn;for(tr=0Cn[0])Cn=7;else{if(!t(rr,qn[0],"VP8X")){if(sa(rr,qn[0]+4)!=10){Cn=3;break e}if(18>Cn[0]){Cn=7;break e}var Mo=sa(rr,qn[0]+8),si=1+ho(rr,qn[0]+12);if(2147483648<=si*(rr=1+ho(rr,qn[0]+15))){Cn=3;break e}ea!=null&&(ea[0]=Mo),Ir!=null&&(Ir[0]=si),vr!=null&&(vr[0]=rr),qn[0]+=18,Cn[0]-=18,ko[0]=1}Cn=0}}if(Sn=Sn[0],yn=yn[0],Cn!=0)return Cn;if(qn=!!(2&yn),!tr&&Sn)return 3;if(xe!=null&&(xe[0]=!!(16&yn)),Le!=null&&(Le[0]=qn),ke!=null&&(ke[0]=0),Le=ht[0],yn=$t[0],Sn&&qn&&Je==null){Cn=0;break}if(4>B){Cn=7;break}if(tr&&Sn||!tr&&!Sn&&!t(s,h[0],"ALPH")){B=[B],en.na=[en.na],en.P=[en.P],en.Sa=[en.Sa];e:{Mo=s,Cn=h,tr=B;var ko=en.gb;Ir=en.na,vr=en.P,ea=en.Sa,si=22,n(Mo!=null),n(tr!=null),rr=Cn[0];var ji=tr[0];for(n(Ir!=null),n(ea!=null),Ir[0]=null,vr[0]=null,ea[0]=0;;){if(Cn[0]=rr,tr[0]=ji,8>ji){Cn=7;break e}var Ks=sa(Mo,rr+4);if(4294967286ko){Cn=3;break e}if(!t(Mo,rr,"VP8 ")||!t(Mo,rr,"VP8L")){Cn=0;break e}if(ji[0]tr[0])Cn=7;else{if(rr||si){if(ko=sa(ko,Mo+4),12<=Ir&&ko>Ir-12){Cn=3;break e}if(gt&&ko>tr[0]-8){Cn=7;break e}vr[0]=ko,Cn[0]+=8,tr[0]-=8,ea[0]=si}else ea[0]=5<=tr[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),vr[0]=tr[0];Cn=0}if(B=B[0],en.Ja=en.Ja[0],en.xa=en.xa[0],h=h[0],Cn!=0)break;if(4294967286B){Cn=7;break}ke=Le,gt=yn,qn=xe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(tr=[0],ko=[0],Ir=[0],$n(vr=new Bt,s,h,B),ju(vr,tr,ko,Ir)?(ke!=null&&(ke[0]=tr[0]),gt!=null&&(gt[0]=ko[0]),qn!=null&&(qn[0]=Ir[0]),s=1):s=0):s=0}else{if(10>B){Cn=7;break}ke=yn,s==null||10>B||!Yg(s,h+3,B-3)?s=0:(gt=s[h+0]|s[h+1]<<8|s[h+2]<<16,qn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1>||3<(gt>>1&7)||!(gt>>4&1)||gt>>5>=en.Ja||!qn||!s?s=0:(Le&&(Le[0]=qn),ke&&(ke[0]=s),s=1))}if(!s||(Le=Le[0],yn=yn[0],Sn&&(ht[0]!=Le||$t[0]!=yn)))return 3;Je!=null&&(Je[0]=en,Je.offset=h-Je.w,n(4294967286>h-Je.w),n(Je.offset==Je.ha-B));break}return Cn==0||Cn==7&&Sn&&Je==null?(xe!=null&&(xe[0]|=en.na!=null&&0B||(xe&=-2,Le&=-2),0>xe||0>Le||0>=ke||0>=Je||xe+ke>D||Le+Je>ue))return 0;if(h.v=xe,h.j=Le,h.va=xe+ke,h.o=Le+Je,h.U=ke,h.T=Je,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,D){if(D==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var ue=B.cd,xe=B.bd,Le=-2&B.v,ke=-2&B.j;if(0>Le||0>ke||0>=ue||0>=xe||Le+ue>s||ke+xe>h)return 2;s=ue,h=xe}if(B.da){if(!Ca(s,h,ue=[B.ib],xe=[B.hb]))return 2;s=ue[0],h=xe[0]}}D.width=s,D.height=h;e:{var Je=D.width,ht=D.height;if(s=D.S,0>=Je||0>=ht||!(s>=d0&&13>s))s=2;else{if(0>=D.Rd&&D.sd==null){Le=xe=ue=h=0;var $t=(ke=Je*bm[s])*ht;if(11>s||(xe=(ht+1)/2*(h=(Je+1)/2),s==12&&(Le=(ue=Je)*ht)),(ht=A($t+2*xe+Le))==null){s=1;break e}D.sd=ht,11>s?((Je=D.f.RGBA).eb=ht,Je.fb=0,Je.A=ke,Je.size=$t):((Je=D.f.kb).y=ht,Je.O=0,Je.fa=ke,Je.Fd=$t,Je.f=ht,Je.N=0+$t,Je.Ab=h,Je.Cd=xe,Je.ea=ht,Je.W=0+$t+xe,Je.Db=h,Je.Ed=xe,s==12&&(Je.F=ht,Je.J=0+$t+2*xe),Je.Tc=Le,Je.lb=ue)}if(h=1,ue=D.S,xe=D.width,Le=D.height,ue>=d0&&13>ue)if(11>ue)s=D.f.RGBA,h&=(ke=Math.abs(s.A))*(Le-1)+xe<=s.size,h&=ke>=xe*bm[ue],h&=s.eb!=null;else{s=D.f.kb,ke=(xe+1)/2,$t=(Le+1)/2,Je=Math.abs(s.fa),ht=Math.abs(s.Ab);var Sn=Math.abs(s.Db),gt=Math.abs(s.lb),en=gt*(Le-1)+xe;h&=Je*(Le-1)+xe<=s.Fd,h&=ht*($t-1)+ke<=s.Cd,h=(h&=Sn*($t-1)+ke<=s.Ed)&Je>=xe&ht>=ke&Sn>=ke,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,ue==12&&(h&=gt>=xe,h&=en<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=tg(D)),s}var yf=64,$l=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),Et.Predictor0=function(){return 4278190080},Et.Predictor1=function(s){return s},Et.Predictor2=function(s,h,B){return h[B+0]},Et.Predictor3=function(s,h,B){return h[B+1]},Et.Predictor4=function(s,h,B){return h[B-1]},Et.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},Et.Predictor6=function(s,h,B){return ua(s,h[B-1])},Et.Predictor7=function(s,h,B){return ua(s,h[B+0])},Et.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},Et.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},Et.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},Et.Predictor11=function(s,h,B){var D=h[B+0];return 0>=Va(D>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Va(D>>16&255,s>>16&255,h>>16&255)+Va(D>>8&255,s>>8&255,h>>8&255)+Va(255&D,255&s,255&h)?D:s},Et.Predictor12=function(s,h,B){var D=h[B+0];return(dA((s>>24&255)+(D>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(D>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(D>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&D)-(255&h)))>>>0},Et.Predictor13=function(s,h,B){var D=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,D>>24&255)<<24|Li(s>>16&255,D>>16&255)<<16|Li(s>>8&255,D>>8&255)<<8|Li(255&s,255&D))>>>0};var ng=Et.PredictorAdd0;Et.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=Et.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,l0=Et.ColorIndexInverseTransform,pu=Et.MapARGB,yu=Et.VP8LColorIndexInverseTransformAlpha,rg=Et.MapAlpha,og=Et.VP8LPredictorsAdd=[];og.length=16,(Et.VP8LPredictors=[]).length=16,(Et.VP8LPredictorsAdd_C=[]).length=16,(Et.VP8LPredictors_C=[]).length=16;var ag,ig,Sd,Id,Fd,wf,Od,bf,hc,wu,hA,OA,Es,_s,Yu,Ag,nh,c0,Gv,Xv,Yv,Jv,qv,em,sg,tm,nm,rm,om=A(511),am=A(2041),im=A(225),Am=A(767),sm=0,cv=am,u0=im,Vl=Am,gc=om,d0=0,f0=1,lm=2,h0=3,g0=4,uv=5,cm=6,dv=7,fv=8,v0=9,hv=10,qm=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],op=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ap=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,ip=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ap=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],zc=[],Ju=[],dp=1,fm=2,Ld=[],vc=[];Vu("UpsampleRgbLinePair",Bd,3),Vu("UpsampleBgrLinePair",il,3),Vu("UpsampleRgbaLinePair",Ol,4),Vu("UpsampleBgraLinePair",qh,4),Vu("UpsampleArgbLinePair",Jh,4),Vu("UpsampleRgba4444LinePair",mf,2),Vu("UpsampleRgb565LinePair",vf,2);var fp=Et.UpsampleRgbLinePair,hp=Et.UpsampleBgrLinePair,hm=Et.UpsampleRgbaLinePair,gm=Et.UpsampleBgraLinePair,vm=Et.UpsampleArgbLinePair,mm=Et.UpsampleRgba4444LinePair,gp=Et.UpsampleRgb565LinePair,m0=16,p0=1<D.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),D.ca.f.kb.F!=null&&Zc()),D.Pb&&0(Je=B.Md)?0:100ht;++ht)12>(Sn=ue.pb[ht]).lc&&(Sn.ia=Je*Cp[0>Sn.lc?0:Sn.lc]>>3),$t|=Sn.ia;$t&&(alert("todo:VP8InitRandom"),ue.ia=1)}ue.Ga=B.Id,100ue.Ga&&(ue.Ga=0)}(function(gt,en){if(gt==null)return 0;if(en==null)return Ps(gt,2,"NULL VP8Io parameter in VP8Decode().");if(!gt.cb&&!vu(gt,en))return 0;if(n(gt.cb),en.ac==null||en.ac(en)){en.ob&&(gt.L=0);var yn=y0[gt.L];if(gt.L==2?(gt.yb=0,gt.zb=0):(gt.yb=en.v-yn>>4,gt.zb=en.j-yn>>4,0>gt.yb&&(gt.yb=0),0>gt.zb&&(gt.zb=0)),gt.Va=en.o+15+yn>>4,gt.Hb=en.va+15+yn>>4,gt.Hb>gt.za&&(gt.Hb=gt.za),gt.Va>gt.Ub&&(gt.Va=gt.Ub),0yn;++yn){var Cn;if(gt.Qa.Cb){var tr=gt.Qa.Lb[yn];gt.Qa.Fb||(tr+=qn.Tb)}else tr=qn.Tb;for(Cn=0;1>=Cn;++Cn){var rr=gt.gd[yn][Cn],Ir=tr;if(qn.Pc&&(Ir+=qn.vd[0],Cn&&(Ir+=qn.od[0])),0<(Ir=0>Ir?0:63>2:vr>>1)>9-qn.wb&&(vr=9-qn.wb),1>vr&&(vr=1),rr.dd=vr,rr.tc=2*Ir+vr,rr.ld=40<=Ir?2:15<=Ir?1:0}else rr.tc=0;rr.La=Cn}}}yn=0}else Ps(gt,6,"Frame setup failed"),yn=gt.a;if(yn=yn==0){if(yn){gt.$c=0,0gt.Vb){if(gt.Vb=0,gt.Ec=A(rr),gt.Fc=0,gt.Ec==null){yn=Ps(gt,1,"no memory during frame initialization.");break t}gt.Vb=rr}rr=gt.Ec,Ir=gt.Fc,gt.Ac=rr,gt.Bc=Ir,Ir+=qn,gt.Gd=v(ea,Gg),gt.Hd=0,gt.rb=v(Mo+1,_h),gt.sb=1,gt.wa=si?v(si,uc):null,gt.Y=0,gt.D.Nb=0,gt.D.wa=gt.wa,gt.D.Y=gt.Y,0=yn;++yn)om[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)am[1020+yn]=-128>yn?-128:127=yn;++yn)im[112+yn]=-16>yn?-16:15=yn;++yn)Am[255+yn]=0>yn?0:255zi;++zi){var Zs,Yi=Ul[0+zi];for(Zs=0;4>Zs;++Zs){Yi=lp[zA[Al+Zs]][Yi];for(var BA=dm[or(Xa,Yi[0])];0>3;for(BA=0;256>BA;BA+=16)zi[Cl+BA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,zs=15&Ll.la;for(BA=0;4>BA;++BA){var Gl=1&zs;for(jl=CA=0;4>jl;++jl)UA=UA>>1|(Gl=(Is=lg(zA,kc,Is=Gl+(1&UA),ds.Sc,sl,zi,Cl))>sl)<<7,CA=CA<<2|(3>=4,zs=zs>>1|Gl<<7,Zs=(Zs<<8|CA)>>>0}for(kc=UA,sl=zs>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Xa.la>>4+fs,zs=Ll.la>>4+fs,BA=0;2>BA;++BA){for(Gl=1&zs,jl=0;2>jl;++jl)Is=Gl+(1&UA),UA=UA>>1|(Gl=0<(Is=lg(zA,Al[2],Is,ds.Qc,0,zi,Cl)))<<3,CA=CA<<2|(3>=2,zs=zs>>1|Gl<<5}Yi|=CA<<4*fs,kc|=UA<<4<=$o.zb&&$o.M<=$o.Va,$o.Aa==0)t:{if(li.M=$o.M,li.uc=Xa,fc($o,li),Ss=1,li=(CA=$o.D).Nb,Xa=(Yi=y0[$o.L])*$o.R,zA=Yi/2*$o.B,BA=16*li*$o.R,jl=8*li*$o.B,Al=$o.sa,Ul=$o.ta-Xa+BA,ds=$o.qa,zi=$o.ra-zA+jl,Cl=$o.Ha,Ll=$o.Ia-zA+jl,zs=(UA=CA.M)==0,Zs=UA>=$o.Va-1,$o.Aa==2&&fc($o,CA),CA.uc)for(Gl=(Is=$o).D.M,n(Is.D.uc),CA=Is.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,$o.Fa!=null&&0<$o.Fa.length&&CA>1),Ao.W+=$o.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=$o.Ic||Zs||(r($o.sa,$o.ta-Xa,Al,Ul+16*$o.R,Xa),r($o.qa,$o.ra-zA,ds,zi+8*$o.B,zA),r($o.Ha,$o.Ia-zA,Cl,Ll+8*$o.B,zA))}if(!Ss)return Ps(ji,6,"Output aborted.")}return 1}(gt,en)),en.bc!=null&&en.bc(en),yn&=1}return yn?(gt.cb=0,yn):0})(s,D)||(h=s.a)}}else h=s.a}h==0&&Le.Oa!=null&&Le.Oa.fd&&(h=tg(Le.ba))}Le=h}xe=Le!=0?null:11>xe?ke.f.RGBA.eb:ke.f.kb.y}else xe=null;return xe};var bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(Et,vn){for(var Te="",st=0;st<4;st++)Te+=String.fromCharCode(Et[vn++]);return Te}function U(Et,vn){return Et[vn+0]|Et[vn+1]<<8}function oe(Et,vn){return(Et[vn+0]|Et[vn+1]<<8|Et[vn+2]<<16)>>>0}function Ce(Et,vn){return(Et[vn+0]|Et[vn+1]<<8|Et[vn+2]<<16|Et[vn+3]<<24)>>>0}new m;var I=[0],it=[0],tt=[],At=new m,He=e,Tt=function(Et,vn){var Te={},st=0,Mt=!1,Rt=0,Nn=0;if(Te.frames=[],!function(Pe,Bt){for(var Lt=0;Lt<4;Lt++)if(Pe[Bt+Lt]!="RIFF".charCodeAt(Lt))return!0;return!1}(Et,vn)){for(Ce(Et,vn+=4),vn+=8;vn>1&1}Tn!="ANMF"&&(vn+=En)}return Te}}(He,0);Tt.response=He,Tt.rgbaoutput=!0,Tt.dataurl=!1;var Pt=Tt.header?Tt.header:null,Ct=Tt.frames?Tt.frames:null;if(Pt){Pt.loop_counter=Pt.loop_count,I=[Pt.canvas_height],it=[Pt.canvas_width];for(var Fn=0;Fn=2?lt[1]:po[0],po[2]=lt.length>=3?lt[2]:po[0],po[3]=lt.length>=4?lt[3]:po[1]),y.margin=po}});var Hn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hn},set:function(lt){Hn=lt}});var zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return zn},set:function(lt){zn=lt}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(lt){or=lt}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(lt){lt instanceof U&&(y=lt)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(lt){y.path=lt}});var Nr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Nr},set:function(lt){Nr=lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(lt){var po;po=Ce(lt),this.ctx.fillStyle=po.style,this.ctx.isFillTransparent=po.a===0,this.ctx.fillOpacity=po.a,this.pdf.setFillColor(po.r,po.g,po.b,{a:po.a}),this.pdf.setTextColor(po.r,po.g,po.b,{a:po.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(lt){var po=Ce(lt);this.ctx.strokeStyle=po.style,this.ctx.isStrokeTransparent=po.a===0,this.ctx.strokeOpacity=po.a,po.a===0?this.pdf.setDrawColor(255,255,255):(po.a,this.pdf.setDrawColor(po.r,po.g,po.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(lt){["butt","round","square"].indexOf(lt)!==-1&&(this.ctx.lineCap=lt,this.pdf.setLineCap(lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(lt){isNaN(lt)||(this.ctx.lineWidth=lt,this.pdf.setLineWidth(lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(lt){["bevel","round","miter"].indexOf(lt)!==-1&&(this.ctx.lineJoin=lt,this.pdf.setLineJoin(lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(lt){isNaN(lt)||(this.ctx.miterLimit=lt,this.pdf.setMiterLimit(lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(lt){this.ctx.textBaseline=lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(lt){["right","end","center","left","start"].indexOf(lt)!==-1&&(this.ctx.textAlign=lt)}});var mo=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(lt){mo=null,ho=null,sa=lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(lt){var po;if(this.ctx.font=lt,(po=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(lt))!==null){var fi=po[1];po[2];var Ca=po[3],br=po[4];po[5];var xa=po[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(br)[2];br=Math.floor(jo==="px"?parseFloat(br)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(br)*this.pdf.getFontSize():parseFloat(br)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(br);var pa=function(na){var Cs,Gi,pi=[],yi=na.trim();if(yi==="")return k0;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Gi=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":Gi=Dc(yi.substring(1),Cs);break;default:Gi=pd(yi)}if(Gi===null||(pi.push(Gi[0]),(yi=lu(Gi[1]))!==""&&yi.charAt(0)!==","))return k0;yi=yi.replace(/^,/,"")}return pi}(xa);if(this.fontFaces){var ua=function(na,Cs){var Gi=na.getFontList(),pi=JSON.stringify(Gi);if(mo===null||ho!==pi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var Ga=null;switch(La){case"bold":Ga={family:RA,weight:"bold"};break;case"italic":Ga={family:RA,style:"italic"};break;case"bolditalic":Ga={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":Ga={family:RA}}Ga!==null&&(Ga.ref={name:RA,style:La},ha.push(Ga))})}),ha}(Gi);mo=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Va="bold"),fi==="italic"&&(Va+="italic"),Va.length===0&&(Va="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Ht=0,nn=2*Math.PI),this.path.push({type:"arc",x:Pe,y:Bt,radius:Lt,startAngle:Ht,endAngle:nn,counterclockwise:Bn})},oe.prototype.arcTo=function(Pe,Bt,Lt,Ht,nn){throw new Error("arcTo not implemented.")},oe.prototype.rect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,Bt),this.lineTo(Pe+Lt,Bt),this.lineTo(Pe+Lt,Bt+Ht),this.lineTo(Pe,Bt+Ht),this.lineTo(Pe,Bt),this.lineTo(Pe+Lt,Bt),this.lineTo(Pe,Bt)},oe.prototype.fillRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!I.call(this)){var nn={};this.lineCap!=="butt"&&(nn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(nn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,Bt,Lt,Ht),this.fill(),nn.hasOwnProperty("lineCap")&&(this.lineCap=nn.lineCap),nn.hasOwnProperty("lineJoin")&&(this.lineJoin=nn.lineJoin)}},oe.prototype.strokeRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");it.call(this)||(this.beginPath(),this.rect(Pe,Bt,Lt,Ht),this.stroke())},oe.prototype.clearRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,Bt,Lt,Ht))},oe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var Bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Lt=0;Lt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};oe.prototype.drawImage=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn,or){var Nr=this.pdf.getImageProperties(Pe),mo=1,ho=1,sa=1,lt=1;Ht!==void 0&&zn!==void 0&&(sa=zn/Ht,lt=or/nn,mo=Nr.width/Ht*zn/Ht,ho=Nr.height/nn*or/nn),Bn===void 0&&(Bn=Bt,Hn=Lt,Bt=0,Lt=0),Ht!==void 0&&zn===void 0&&(zn=Ht,or=nn),Ht===void 0&&zn===void 0&&(zn=Nr.width,or=Nr.height);var po=this.ctx.transform.decompose(),fi=En(po.rotate.shx),Ca=new m,br=(Ca=(Ca=(Ca=Ca.multiply(po.translate)).multiply(po.skew)).multiply(po.scale)).applyToRectangle(new g(Bn-Bt*sa,Hn-Lt*lt,Ht*mo,nn*ho));if(this.autoPaging){for(var xa,jo=At.call(this,br),pa=[],ua=0;uadA||Vabr||jo0)){for(;or>=0;or--)if(nn[or-1].close!==!0&&nn[or-1].begin!==!0){nn[or-1].deltas.push(Lt),nn[or-1].abs.push(zn);break}}break;case"bct":Lt=[zn.x1-Bn[Hn-1].x,zn.y1-Bn[Hn-1].y,zn.x2-Bn[Hn-1].x,zn.y2-Bn[Hn-1].y,zn.x-Bn[Hn-1].x,zn.y-Bn[Hn-1].y],nn[nn.length-1].deltas.push(Lt);break;case"qct":var Nr=Bn[Hn-1].x+2/3*(zn.x1-Bn[Hn-1].x),mo=Bn[Hn-1].y+2/3*(zn.y1-Bn[Hn-1].y),ho=zn.x+2/3*(zn.x1-zn.x),sa=zn.y+2/3*(zn.y1-zn.y),lt=zn.x,po=zn.y;Lt=[Nr-Bn[Hn-1].x,mo-Bn[Hn-1].y,ho-Bn[Hn-1].x,sa-Bn[Hn-1].y,lt-Bn[Hn-1].x,po-Bn[Hn-1].y],nn[nn.length-1].deltas.push(Lt);break;case"arc":nn.push({deltas:[],abs:[],arc:!0}),Array.isArray(nn[nn.length-1].abs)&&nn[nn.length-1].abs.push(zn)}}Ht=Bt?null:Pe==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),nn=this.lineWidth,this.lineWidth=nn*Pe.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||Li-Xo.x)[0],Cs=Tt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Gi=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=nn)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),nn=this.lineWidth,this.lineWidth=nn*Pe.scale),this.pdf.text(Pe.text,or.x+this.posX,or.y+this.posY,{angle:Pe.angle,align:Bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=nn)},Mt=function(Pe,Bt,Lt,Ht){Lt=Lt||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Lt)+" "+r(Bt+Ht)+" l")},Rt=function(Pe,Bt,Lt){return this.pdf.lines(Pe,Bt,Lt,null,null)},Nn=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn){this.pdf.internal.out([n(a(Lt+Pe)),n(A(Ht+Bt)),n(a(nn+Pe)),n(A(Bn+Bt)),n(a(Hn+Pe)),n(A(zn+Bt)),"c"].join(" "))},Tn=function(Pe,Bt,Lt,Ht){for(var nn=2*Math.PI,Bn=Math.PI/2;Bt>Lt;)Bt-=nn;var Hn=Math.abs(Lt-Bt);Hn1e-5;){var mo=Nr+or*Math.min(Hn,Bn);zn.push(Kn.call(this,Pe,Nr,mo)),Hn-=Math.abs(mo-Nr),Nr=mo}return zn},Kn=function(Pe,Bt,Lt){var Ht=(Lt-Bt)/2,nn=Pe*Math.cos(Ht),Bn=Pe*Math.sin(Ht),Hn=nn,zn=-Bn,or=Hn*Hn+zn*zn,Nr=or+Hn*nn+zn*Bn,mo=4/3*(Math.sqrt(2*or*Nr)-Nr)/(Hn*Bn-zn*nn),ho=Hn-mo*zn,sa=zn+mo*Hn,lt=ho,po=-sa,fi=Ht+Bt,Ca=Math.cos(fi),br=Math.sin(fi);return{x1:Pe*Math.cos(Bt),y1:Pe*Math.sin(Bt),x2:ho*Ca-sa*br,y2:ho*br+sa*Ca,x3:lt*Ca-po*br,y3:lt*br+po*Ca,x4:Pe*Math.cos(Lt),y4:Pe*Math.sin(Lt)}},En=function(Pe){return 180*Pe/Math.PI},$n=function(Pe,Bt,Lt,Ht,nn,Bn){var Hn=Pe+.5*(Lt-Pe),zn=Bt+.5*(Ht-Bt),or=nn+.5*(Lt-nn),Nr=Bn+.5*(Ht-Bn),mo=Math.min(Pe,nn,Hn,or),ho=Math.max(Pe,nn,Hn,or),sa=Math.min(Bt,Bn,zn,Nr),lt=Math.max(Bt,Bn,zn,Nr);return new g(mo,sa,ho-mo,lt-sa)},Hr=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn){var or,Nr,mo,ho,sa,lt,po,fi,Ca,br,xa,jo,pa,ua,dA=Lt-Pe,Li=Ht-Bt,Va=nn-Lt,Ti=Bn-Ht,Ni=Hn-nn,Xo=zn-Bn;for(Nr=0;Nr<41;Nr++)Ca=(po=(mo=Pe+(or=Nr/40)*dA)+or*((sa=Lt+or*Va)-mo))+or*(sa+or*(nn+or*Ni-sa)-po),br=(fi=(ho=Bt+or*Li)+or*((lt=Ht+or*Ti)-ho))+or*(lt+or*(Bn+or*Xo-lt)-fi),Nr==0?(xa=Ca,jo=br,pa=Ca,ua=br):(xa=Math.min(xa,Ca),jo=Math.min(jo,br),pa=Math.max(pa,Ca),ua=Math.max(ua,br));return new g(Math.round(xa),Math.round(jo),Math.round(pa-xa),Math.round(ua-jo))},hr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,Bt,Lt=(Pe=this.ctx.lineDash,Bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:Bt}));this.prevLineDash!==Lt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Lt)}}})(zo.API),function(e){var n=function(v){var g,m,y,U,oe,Ce,I,it,tt,At;for(/[^\x00-\xFF]/.test(v),m=[],y=0,U=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;U>y;y+=4)(oe=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(Ce=(oe=((oe=((oe=((oe=(oe-(At=oe%85))/85)-(tt=oe%85))/85)-(it=oe%85))/85)-(I=oe%85))/85)%85,m.push(Ce+33,I+33,it+33,tt+33,At+33)):m.push(122);return function(He,Tt){for(var Pt=Tt;Pt>0;Pt--)He.pop()}(m,g.length),String.fromCharCode.apply(String,m)+"~>"},t=function(v){var g,m,y,U,oe,Ce=String,I="length",it=255,tt="charCodeAt",At="slice",He="replace";for(v[At](-2),v=v[At](0,-2)[He](/\s/g,"")[He]("z","!!!!!"),y=[],U=0,oe=(v+=g="uuuuu"[At](v[I]%5||5))[I];oe>U;U+=5)m=52200625*(v[tt](U)-33)+614125*(v[tt](U+1)-33)+7225*(v[tt](U+2)-33)+85*(v[tt](U+3)-33)+(v[tt](U+4)-33),y.push(it&m>>24,it&m>>16,it&m>>8,it&m);return function(Tt,Pt){for(var Ct=Pt;Ct>0;Ct--)Tt.pop()}(y,g[I]),Ce.fromCharCode.apply(Ce,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var m="",y=0;ytt&&(it=At,At=tt,tt=it);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",tt>At&&(it=At,At=tt,tt=it)}return{width:At,height:tt,unit:m,k:oe,orientation:g}},e.html=function(g,m){(m=m||{}).callback=m.callback||function(){},m.html2canvas=m.html2canvas||{},m.html2canvas.canvas=m.html2canvas.canvas||this.canvas,m.jsPDF=m.jsPDF||this,m.fontFaces=m.fontFaces?m.fontFaces.map(Tl):null;var y=new v(m);return m.worker?y:y.from(g).doCallback()}}(zo.API),zo.API.addJS=function(e){return Pv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),A=0;A> endobj")}var I=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+I+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,A){var v={title:a,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var m=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+m.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in st&&Array.isArray(st.transparency)&&st.transparency.length>0){for(var Kn="",En=0,$n=st.transparency.length;En<$n;En++)Kn+=st.transparency[En]+" "+st.transparency[En]+" ";Tn.push({key:"Mask",value:"["+Kn+"]"})}st.sMask!==void 0&&Tn.push({key:"SMask",value:st.objectId+1+" 0 R"});var Hr=st.filter!==void 0?["/"+st.filter]:void 0;if(Rt({data:st.data,additionalKeyValues:Tn,alreadyAppliedFilters:Hr,objectId:st.objectId}),Mt("endobj"),"sMask"in st&&st.sMask!==void 0){var hr,Pe=(hr=st.sMaskBitsPerComponent)!==null&&hr!==void 0?hr:st.bitsPerComponent,Bt={width:st.width,height:st.height,colorSpace:"DeviceGray",bitsPerComponent:Pe,data:st.sMask};"filter"in st&&(Bt.decodeParameters="/Predictor ".concat(st.predictor," /Colors 1 /BitsPerComponent ").concat(Pe," /Columns ").concat(st.width),Bt.filter=st.filter),Te.call(this,Bt)}if(st.colorSpace===He.INDEXED){var Lt=this.internal.newObject();Rt({data:Xt(new Uint8Array(st.palette)),objectId:Lt}),Mt("endobj")}},v=function(){var Te=this.internal.collections[n+"images"];for(var st in Te)A.call(this,Te[st])},g=function(){var Te,st=this.internal.collections[n+"images"],Mt=this.internal.write;for(var Rt in st)Mt("/I"+(Te=st[Rt]).index,Te.objectId,"0","R")},m=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",v),this.internal.events.subscribe("putXobjectDict",g))},y=function(){var Te=this.internal.collections[n+"images"];return m.call(this),Te},U=function(){return Object.keys(this.internal.collections[n+"images"]).length},oe=function(Te){return typeof e["process"+Te.toUpperCase()]=="function"},Ce=function(Te){return(0,o.Z)(Te)==="object"&&Te.nodeType===1},I=function(Te,st){if(Te.nodeName==="IMG"&&Te.hasAttribute("src")){var Mt=""+Te.getAttribute("src");if(Mt.indexOf("data:image/")===0)return qd(unescape(Mt).split("base64,").pop());var Rt=e.loadFile(Mt,!0);if(Rt!==void 0)return Rt}if(Te.nodeName==="CANVAS"){if(Te.width===0||Te.height===0)throw new Error("Given canvas must have data. Canvas width: "+Te.width+", height: "+Te.height);var Nn;switch(st){case"PNG":Nn="image/png";break;case"WEBP":Nn="image/webp";break;default:Nn="image/jpeg"}return qd(Te.toDataURL(Nn,1).split("base64,").pop())}},it=function(Te){var st=this.internal.collections[n+"images"];if(st){for(var Mt in st)if(Te===st[Mt].alias)return st[Mt]}},tt=function(Te,st,Mt){return Te||st||(Te=-96,st=-96),Te<0&&(Te=-1*Mt.width*72/Te/this.internal.scaleFactor),st<0&&(st=-1*Mt.height*72/st/this.internal.scaleFactor),Te===0&&(Te=st*Mt.width/Mt.height),st===0&&(st=Te*Mt.height/Mt.width),[Te,st]},At=function(Te,st,Mt,Rt,Nn,Tn){var Kn=tt.call(this,Mt,Rt,Nn),En=this.internal.getCoordinateString,$n=this.internal.getVerticalCoordinateString,Hr=y.call(this);if(Mt=Kn[0],Rt=Kn[1],Hr[Nn.index]=Nn,Tn){Tn*=Math.PI/180;var hr=Math.cos(Tn),Pe=Math.sin(Tn),Bt=function(Ht){return Ht.toFixed(4)},Lt=[Bt(hr),Bt(Pe),Bt(-1*Pe),Bt(hr),0,0,"cm"]}this.internal.write("q"),Tn?(this.internal.write([1,"0","0",1,En(Te),$n(st+Rt),"cm"].join(" ")),this.internal.write(Lt.join(" ")),this.internal.write([En(Mt),"0","0",En(Rt),"0","0","cm"].join(" "))):this.internal.write([En(Mt),"0","0",En(Rt),En(Te),$n(st+Rt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Nn.index+" Do"),this.internal.write("Q")},He=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Tt=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Pt=e.__addimage__.sHashCode=function(Te){var st,Mt,Rt=0;if(typeof Te=="string")for(Mt=Te.length,st=0;st>",tt.content=A;var Pt=tt.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length>=3};var U=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return v(tt)&&A(tt)&&n[tt.charCodeAt(0)].length==4},oe=e.__arabicParser__.resolveLigatures=function(tt){var At=0,He=t,Tt="",Pt=0;for(At=0;At>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(g){a=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(zo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var m=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return m},set:function(tt){m=tt}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(tt){y=tt}});var U=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var oe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return oe},set:function(tt){oe=tt}});var Ce=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ce},set:function(tt){Ce=tt}});var I=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return I},set:function(tt){I=tt}});var it=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return it},set:function(tt){it=tt}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(m){return r.call(this),this.internal.__cell__.headerFunction=typeof m=="function"?m:void 0,this},e.getTextDimensions=function(m,y){r.call(this);var U=(y=y||{}).fontSize||this.getFontSize(),oe=y.font||this.getFont(),Ce=y.scaleFactor||this.internal.scaleFactor,I=0,it=0,tt=0,At=this;if(!Array.isArray(m)&&typeof m!="string"){if(typeof m!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");m=String(m)}var He=y.maxWidth;He>0?typeof m=="string"?m=this.splitTextToSize(m,He):Object.prototype.toString.call(m)==="[object Array]"&&(m=m.reduce(function(Pt,Ct){return Pt.concat(At.splitTextToSize(Ct,He))},[])):m=Array.isArray(m)?m:[m];for(var Tt=0;Ttthis.getPageHeight()?(this.cellAddPage(),m.y=oe.top,I&&Ce&&(this.printHeaderRow(m.lineNumber,!0),m.y+=Ce[0].height)):m.y=y.y+y.height||m.y),m.text[0]!==void 0&&(this.rect(m.x,m.y,m.width,m.height,t===!0?"FD":void 0),m.align==="right"?this.text(m.text,m.x+m.width-U,m.y+U,{align:"right",baseline:"top"}):m.align==="center"?this.text(m.text,m.x+m.width/2,m.y+U,{align:"center",baseline:"top",maxWidth:m.width-U-U}):this.text(m.text,m.x+U,m.y+U,{align:"left",baseline:"top",maxWidth:m.width-U-U})),this.internal.__cell__.lastCell=m,this};e.table=function(m,y,U,oe,Ce){if(r.call(this),!U)throw new Error("No data for PDF table.");var I,it,tt,At,He=[],Tt=[],Pt=[],Ct={},Fn={},er=[],jn=[],Xt=(Ce=Ce||{}).autoSize||!1,Et=Ce.printHeaders!==!1,vn=Ce.css&&Ce.css["font-size"]!==void 0?16*Ce.css["font-size"]:Ce.fontSize||12,Te=Ce.margins||Object.assign({width:this.getPageWidth()},n),st=typeof Ce.padding=="number"?Ce.padding:3,Mt=Ce.headerBackgroundColor||"#c8c8c8",Rt=Ce.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Et,this.internal.__cell__.margins=Te,this.internal.__cell__.table_font_size=vn,this.internal.__cell__.padding=st,this.internal.__cell__.headerBackgroundColor=Mt,this.internal.__cell__.headerTextColor=Rt,this.setFontSize(vn),oe==null)Tt=He=Object.keys(U[0]),Pt=He.map(function(){return"left"});else if(Array.isArray(oe)&&(0,o.Z)(oe[0])==="object")for(He=oe.map(function(Hr){return Hr.name}),Tt=oe.map(function(Hr){return Hr.prompt||Hr.name||""}),Pt=oe.map(function(Hr){return Hr.align||"left"}),I=0;I0&&this.setTableHeaderRow(Ce),this.setFont(void 0,"normal"),t=!1}}(zo.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Qc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Qc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),a=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function Rc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function _v(e,n,t){var r=e.length,a=[];a[0]=4;for(var A=0;A>A&v}function Kv(e,n,t,r){var a=t*r,A=Math.floor(a/8),v=16-(a-8*A+r),g=(1<>8&255;y.setUint8(U,Ce)}})(e,A,Zv(e,A)&~(g<>7,v=1<<1+(7&a);e[n++],e[n++];var g=null,m=null;A&&(g=n,m=v,n+=3*v);var y=!0,U=[],oe=0,Ce=null,I=0,it=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];oe=e[n++]|e[n++]<<8,Ce=e[n++],1&tt||(Ce=null),I=tt>>2&7,n++;break;case 254:for(;;){if(!((Te=e[n++])>=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var At=e[n++]|e[n++]<<8,He=e[n++]|e[n++]<<8,Tt=e[n++]|e[n++]<<8,Pt=e[n++]|e[n++]<<8,Ct=e[n++],Fn=Ct>>6&1,er=1<<1+(7&Ct),jn=g,Xt=m,Et=!1;Ct>>7&&(Et=!0,jn=n,Xt=er,n+=3*er);var vn=n;for(n++;;){var Te;if(!((Te=e[n++])>=0))throw Error("Invalid block size");if(Te===0)break;n+=Te}U.push({x:At,y:He,width:Tt,height:Pt,has_local_palette:Et,palette_offset:jn,palette_size:Xt,data_offset:vn,data_length:n-vn,transparent_index:Ce,interlaced:!!Fn,delay:oe,disposal:I});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return U.length},this.loopCount=function(){return it},this.frameInfo=function(st){if(st<0||st>=U.length)throw new Error("Frame index out of range.");return U[st]},this.decodeAndBlitFrameBGRA=function(st,Mt){var Rt=this.frameInfo(st),Nn=Rt.width*Rt.height,Tn=new Uint8Array(Nn);zv(e,Rt.data_offset,Tn,Nn);var Kn=Rt.palette_offset,En=Rt.transparent_index;En===null&&(En=256);var $n=Rt.width,Hr=t-$n,hr=$n,Pe=4*(Rt.y*t+Rt.x),Bt=4*((Rt.y+Rt.height)*t+Rt.x),Lt=Pe,Ht=4*Hr;Rt.interlaced===!0&&(Ht+=4*t*7);for(var nn=8,Bn=0,Hn=Tn.length;Bn=Bt&&(Ht=4*Hr+4*t*(nn-1),Lt=Pe+($n+Hr)*(nn<<1),nn>>=1)),zn===En)Lt+=4;else{var or=e[Kn+3*zn],Nr=e[Kn+3*zn+1],mo=e[Kn+3*zn+2];Mt[Lt++]=mo,Mt[Lt++]=Nr,Mt[Lt++]=or,Mt[Lt++]=255}--hr}},this.decodeAndBlitFrameRGBA=function(st,Mt){var Rt=this.frameInfo(st),Nn=Rt.width*Rt.height,Tn=new Uint8Array(Nn);zv(e,Rt.data_offset,Tn,Nn);var Kn=Rt.palette_offset,En=Rt.transparent_index;En===null&&(En=256);var $n=Rt.width,Hr=t-$n,hr=$n,Pe=4*(Rt.y*t+Rt.x),Bt=4*((Rt.y+Rt.height)*t+Rt.x),Lt=Pe,Ht=4*Hr;Rt.interlaced===!0&&(Ht+=4*t*7);for(var nn=8,Bn=0,Hn=Tn.length;Bn=Bt&&(Ht=4*Hr+4*t*(nn-1),Lt=Pe+($n+Hr)*(nn<<1),nn>>=1)),zn===En)Lt+=4;else{var or=e[Kn+3*zn],Nr=e[Kn+3*zn+1],mo=e[Kn+3*zn+2];Mt[Lt++]=or,Mt[Lt++]=Nr,Mt[Lt++]=mo,Mt[Lt++]=255}--hr}}}function zv(e,n,t,r){for(var a=e[n++],A=1<>=m,U-=m,At!==A){if(At===v)break;for(var He=AtA;)Pt=it[Pt]>>8,++Tt;var Ct=Pt;if(Ce+Tt+(He!==At?1:0)>r)return void bA.log("Warning, gif stream longer than expected.");t[Ce++]=Ct;var Fn=Ce+=Tt;for(He!==At&&(t[Ce++]=Ct),Pt=He;Tt--;)Pt=it[Pt],t[--Fn]=255&Pt,Pt>>=8;tt!==null&&g<4096&&(it[g++]=tt<<8|Ct,g>=y+1&&m<12&&(++m,y=y<<1|1)),tt=At}else g=v+1,y=(1<<(m=a+1))-1,tt=null}return Ce!==r&&bA.log("Warning, gif stream shorter than expected."),t}function W0(e){var n,t,r,a,A,v=Math.floor,g=new Array(64),m=new Array(64),y=new Array(64),U=new Array(64),oe=new Array(65535),Ce=new Array(65535),I=new Array(64),it=new Array(64),tt=[],At=0,He=7,Tt=new Array(64),Pt=new Array(64),Ct=new Array(64),Fn=new Array(256),er=new Array(2048),jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Xt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Et=[0,1,2,3,4,5,6,7,8,9,10,11],vn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Te=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],st=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Nn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(Pe,Bt){for(var Lt=0,Ht=0,nn=new Array,Bn=1;Bn<=16;Bn++){for(var Hn=1;Hn<=Pe[Bn];Hn++)nn[Bt[Ht]]=[],nn[Bt[Ht]][0]=Lt,nn[Bt[Ht]][1]=Bn,Ht++,Lt++;Lt*=2}return nn}function Kn(Pe){for(var Bt=Pe[0],Lt=Pe[1]-1;Lt>=0;)Bt&1<>8&255),En(255&Pe)}function Hr(Pe,Bt,Lt,Ht,nn){for(var Bn,Hn=nn[0],zn=nn[240],or=function(br,xa){var jo,pa,ua,dA,Li,Va,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=br[na],pa=br[na+1],ua=br[na+2],dA=br[na+3],Li=br[na+4],Va=br[na+5],Ti=br[na+6];var Cs=jo+(Ni=br[na+7]),Gi=jo-Ni,pi=pa+Ti,yi=pa-Ti,XA=ua+Va,ha=ua-Va,RA=dA+Li,La=dA-Li,Ga=Cs+RA,YA=Cs-RA,xi=pi+XA,Sa=pi-XA;br[na]=Ga+xi,br[na+4]=Ga-xi;var fA=.707106781*(Sa+YA);br[na+2]=YA+fA,br[na+6]=YA-fA;var of=.382683433*((Ga=La+ha)-(Sa=yi+Gi)),Bl=.5411961*Ga+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=Gi+du,Tu=Gi-du;br[na+5]=Tu+Bl,br[na+3]=Tu-Bl,br[na+1]=Ia+Mu,br[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=br[na],pa=br[na+8],ua=br[na+16],dA=br[na+24],Li=br[na+32],Va=br[na+40],Ti=br[na+48];var ju=jo+(Ni=br[na+56]),sc=jo-Ni,lc=pa+Ti,us=pa-Ti,qs=ua+Va,ol=ua-Va,af=dA+Li,wd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,_c=lc-qs;br[na]=jc+Hc,br[na+32]=jc-Hc;var cc=.707106781*(_c+fu);br[na+16]=fu+cc,br[na+48]=fu-cc;var Af=.382683433*((jc=wd+ol)-(_c=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*_c+Af,kf=.707106781*(Hc=ol+us),$f=sc+kf,Wf=sc-kf;br[na+40]=Wf+hu,br[na+24]=Wf-hu,br[na+8]=$f+sf,br[na+56]=$f-sf,na++}for(Xo=0;Xo<64;++Xo)ni=br[Xo]*xa[Xo],I[Xo]=ni>0?ni+.5|0:ni-.5|0;return I}(Pe,Bt),Nr=0;Nr<64;++Nr)it[jn[Nr]]=or[Nr];var mo=it[0]-Lt;Lt=it[0],mo==0?Kn(Ht[0]):(Kn(Ht[Ce[Bn=32767+mo]]),Kn(oe[Bn]));for(var ho=63;ho>0&&it[ho]==0;)ho--;if(ho==0)return Kn(Hn),Lt;for(var sa,lt=1;lt<=ho;){for(var po=lt;it[lt]==0&<<=ho;)++lt;var fi=lt-po;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)Kn(zn);fi&=15}Bn=32767+it[lt],Kn(nn[(fi<<4)+Ce[Bn]]),Kn(oe[Bn]),lt++}return ho!=63&&Kn(Hn),Lt}function hr(Pe){Pe=Math.min(Math.max(Pe,1),100),A!=Pe&&(function(Bt){for(var Lt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var nn=v((Lt[Ht]*Bt+50)/100);nn=Math.min(Math.max(nn,1),255),g[jn[Ht]]=nn}for(var Bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hn=0;Hn<64;Hn++){var zn=v((Bn[Hn]*Bt+50)/100);zn=Math.min(Math.max(zn,1),255),m[jn[Hn]]=zn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Nr=0,mo=0;mo<8;mo++)for(var ho=0;ho<8;ho++)y[Nr]=1/(g[jn[Nr]]*or[mo]*or[ho]*8),U[Nr]=1/(m[jn[Nr]]*or[mo]*or[ho]*8),Nr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),A=Pe)}this.encode=function(Pe,Bt){Bt&&hr(Bt),tt=new Array,At=0,He=7,$n(65496),$n(65504),$n(16),En(74),En(70),En(73),En(70),En(0),En(1),En(1),En(0),$n(1),$n(1),En(0),En(0),function(){$n(65499),$n(132),En(0);for(var pa=0;pa<64;pa++)En(g[pa]);En(1);for(var ua=0;ua<64;ua++)En(m[ua])}(),function(pa,ua){$n(65472),$n(17),En(8),$n(ua),$n(pa),En(3),En(1),En(17),En(0),En(2),En(17),En(1),En(3),En(17),En(1)}(Pe.width,Pe.height),function(){$n(65476),$n(418),En(0);for(var pa=0;pa<16;pa++)En(Xt[pa+1]);for(var ua=0;ua<=11;ua++)En(Et[ua]);En(16);for(var dA=0;dA<16;dA++)En(vn[dA+1]);for(var Li=0;Li<=161;Li++)En(Te[Li]);En(1);for(var Va=0;Va<16;Va++)En(st[Va+1]);for(var Ti=0;Ti<=11;Ti++)En(Mt[Ti]);En(17);for(var Ni=0;Ni<16;Ni++)En(Rt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)En(Nn[Xo])}(),$n(65498),$n(12),En(3),En(1),En(0),En(2),En(17),En(3),En(17),En(0),En(63),En(0);var Lt=0,Ht=0,nn=0;At=0,He=7,this.encode.displayName="_encode_";for(var Bn,Hn,zn,or,Nr,mo,ho,sa,lt,po=Pe.data,fi=Pe.width,Ca=Pe.height,br=4*fi,xa=0;xa>3)*br+(ho=4*(7<)),xa+sa>=Ca&&(mo-=br*(xa+1+sa-Ca)),Bn+ho>=br&&(mo-=Bn+ho-br+4),Hn=po[mo++],zn=po[mo++],or=po[mo++],Tt[lt]=(er[Hn]+er[zn+256|0]+er[or+512|0]>>16)-128,Pt[lt]=(er[Hn+768|0]+er[zn+1024|0]+er[or+1280|0]>>16)-128,Ct[lt]=(er[Hn+1280|0]+er[zn+1536|0]+er[or+1792|0]>>16)-128;Lt=Hr(Tt,y,Lt,n,r),Ht=Hr(Pt,U,Ht,t,a),nn=Hr(Ct,U,nn,t,a),Bn+=32}xa+=8}if(He>=0){var jo=[];jo[1]=He+1,jo[0]=(1<st;st++)if(Et[vn+st]!=Te.charCodeAt(st))return!0;return!1}function r(Et,vn,Te,st,Mt){for(var Rt=0;RtRt+1?[]:new vn),!(Nn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Te(s,h,B,D,ue){n(!(D%B));do s[h+(D-=B)]=ue;while(0=ue),512>=ue)var xe=A(512);else if((xe=A(ue))==null)return 0;return function(Le,ke,Je,ht,$t,Sn){var gt,en,yn=ke,qn=1<gt;++gt){if(Cn[gt]>1<(si-=Cn[gt]))return 0;for(;0=gt;++gt,$t<<=1){if(Mo+=si<<=1,0>(si-=Cn[gt]))return 0;for(;0Ir&&!(0>=(rr-=Cn[Ir]));)++Ir,rr<<=1;qn+=ko=1<<(rr=Ir-Je),Le[ke+(Ir=ea&vr)].g=rr+Je,Le[ke+Ir].value=yn-ke-Ir}ht.g=gt-Je,ht.value=Sn[en++],Te(Le,yn+(ea>>Je),$t,ko,ht),ea=vn(ea,gt)}}return Mo!=2*tr[15]-1?0:qn}(s,h,B,D,ue,xe)}function Mt(){this.value=this.g=0}function Rt(){this.value=this.g=0}function Nn(){this.G=v(5,Mt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Rt)}function Tn(s,h,B,D){n(s!=null),n(h!=null),n(2147483648>D),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+D,s.Zc=4<=D?B+D-4+1:B,Hn(s)}function Kn(s,h){for(var B=0;0D),s.Sb=D,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;Ht(s)&&(s.h=1,s.u=0)}function hr(s,h){if(n(0<=h),!s.h&&h<=Wl){var B=Lt(s)&$l[h];return s.u+=h,Hr(s),B}return s.h=1,s.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Lt(s){return s.Ra>>>(s.u&xd-1)>>>0}function Ht(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function nn(s,h){s.u=h,s.h=Ht(s)}function Bn(s){s.u>=Xu&&(n(s.u>=Xu),Hr(s))}function Hn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&Hn(s);var D=s.b,ue=B*h>>>8,xe=(s.I>>>D>ue)+0;for(xe?(B-=ue,s.I-=ue+1<>>0):B=ue+1,D=B,ue=0;256<=D;)ue+=8,D>>=8;return D=7^ue+Ed[D],s.b-=D,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function mo(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return mo(s,h)|s[h+2]<<16}function sa(s,h){return mo(s,h)|mo(s,h+2)<<16}function lt(s,h){var B=1<=ue||0>=xe?0:(B[0]=ue,D[0]=xe,1)}function br(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){Et[h]=function(B,D,ue,xe,Le,ke,Je){var ht;for(ht=0;ht>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Va(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,D,ue,xe,Le){for(D=xe[Le-1],B=0;B>8&255,Je=16711935&(Je=(Je=16711935&Le)+((ke<<16)+ke));D[ue+xe]=(4278255360&Le)+Je>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,D,ue,xe){var Le;for(Le=0;Le>>8,ht=ke,$t=255&($t=($t=ke>>>16)+((s.jd<<24>>24)*(Je<<24>>24)>>>5));ht=255&(ht=(ht+=(s.hd<<24>>24)*(Je<<24>>24)>>>5)+((s.ud<<24>>24)*($t<<24>>24)>>>5)),ue[xe+Le]=(4278255360&ke)+($t<<16)+ht}}function na(s,h,B,D,ue){Et[h]=function(xe,Le,ke,Je,ht,$t,Sn,gt,en){for(Je=Sn;Je>xe.b,en=xe.Ea,yn=xe.K[0],qn=xe.w;if(8>gt)for(xe=(1<>=gt}else Et["VP8LMapColor"+B](Je,ht,yn,qn,$t,Sn,Le,ke,en)}}function Cs(s,h,B,D,ue){for(B=h+B;h>16&255,D[ue++]=xe>>8&255,D[ue++]=255&xe}}function Gi(s,h,B,D,ue){for(B=h+B;h>16&255,D[ue++]=xe>>8&255,D[ue++]=255&xe,D[ue++]=xe>>24&255}}function pi(s,h,B,D,ue){for(B=h+B;h>16&240|Le>>12&15,Le=240&Le|Le>>28&15;D[ue++]=xe,D[ue++]=Le}}function yi(s,h,B,D,ue){for(B=h+B;h>16&248|Le>>13&7,Le=Le>>5&224|Le>>3&31;D[ue++]=xe,D[ue++]=Le}}function XA(s,h,B,D,ue){for(B=h+B;h>8&255,D[ue++]=xe>>16&255}}function ha(s,h,B,D,ue,xe){if(xe==0)for(B=h+B;h>24|xe[1]>>8&65280|xe[2]<<8&16711680|xe[3]<<24)>>>0),ue+=32;else r(D,ue,s,h,B)}function RA(s,h){Et[h][0]=Et[s+"0"],Et[h][1]=Et[s+"1"],Et[h][2]=Et[s+"2"],Et[h][3]=Et[s+"3"],Et[h][4]=Et[s+"4"],Et[h][5]=Et[s+"5"],Et[h][6]=Et[s+"6"],Et[h][7]=Et[s+"7"],Et[h][8]=Et[s+"8"],Et[h][9]=Et[s+"9"],Et[h][10]=Et[s+"10"],Et[h][11]=Et[s+"11"],Et[h][12]=Et[s+"12"],Et[h][13]=Et[s+"13"],Et[h][14]=Et[s+"0"],Et[h][15]=Et[s+"0"]}function La(s){return s==dv||s==fv||s==v0||s==hv}function Ga(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ga,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,D=h.ba.f.RGBA,ue=D.eb,xe=D.fb+s.ka*D.A,Le=vc[h.ba.S],ke=s.y,Je=s.O,ht=s.f,$t=s.N,Sn=s.ea,gt=s.W,en=h.cc,yn=h.dc,qn=h.Mc,Cn=h.Nc,tr=s.ka,rr=s.ka+s.T,Ir=s.U,vr=Ir+1>>1;for(tr==0?Le(ke,Je,null,null,ht,$t,Sn,gt,ht,$t,Sn,gt,ue,xe,null,null,Ir):(Le(h.ec,h.fc,ke,Je,en,yn,qn,Cn,ht,$t,Sn,gt,ue,xe-D.A,ue,xe,Ir),++B);tr+2B,ue=B==f0||B==h0||B==g0||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!eg(h.Oa,s,ue?11:12))return 0;if(ue&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(D){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Yh()}}else alert("todo:EmitYUV");ue&&(h.Jb=Mu,D&&Zc())}if(D&&!ym){for(s=0;256>s;++s)mp[s]=89858*(s-128)+p0>>m0,wp[s]=-22014*(s-128)+p0,yp[s]=-45773*(s-128),pp[s]=113618*(s-128)+p0>>m0;for(s=cg;s>m0,bp[s-cg]=gu(h,255),Bp[s-cg]=gu(h+8>>4,15);ym=1}return 1}function Ia(s){var h=s.ma,B=s.U,D=s.T;return n(!(1&s.ka)),0>=B||0>=D?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,D){return hr(s,8)!=47?0:(h[0]=hr(s,14)+1,B[0]=hr(s,14)+1,D[0]=hr(s,1),hr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var D=Lt(B),ue=s[h+=255&D].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var D=s.xc;return n((h=D==0?0:s.vc[s.md*(B>>D)+(h>>D)])>ko.b)*Mo;qnIr&&($o=Ir),(0,og[ji[Ks++]>>8&15])(gt,en+ +li,tr,rr+li-Ir,$o-li,tr,rr+li),li=$o}en+=Ir,rr+=Ir,++qn&ea||(ko+=Mo)}Sn!=ht.nc&&r(Je,ke-yn,Je,ke+(Sn-$t-1)*yn,yn);break;case 1:for(yn=gt,Cn=en,Ir=(gt=ht.Ea)-(rr=gt&~(tr=(en=1<>ht.b)*qn;$t=ue),0xe.o&&(D=xe.o),B=D?B=0:(ue[0]+=4*xe.v,xe.ka=B-xe.j,xe.U=xe.va-xe.v,xe.T=D-B,B=1),B){if(ke=ke[0],11>(B=s.ca).S){var $t=B.f.RGBA,Sn=(D=B.S,ue=xe.U,xe=xe.T,ht=$t.eb,$t.A),gt=xe;for($t=$t.fb+s.Ma*$t.A;0D){var ue=s.l.width,xe=B.ca,Le=B.tb+ue*D,ke=s.V,Je=s.Ba+s.c*D,ht=s.gc;n(s.ab==1),n(ht[0].hc==3),yu(ht[0],D,h,ke,Je,xe,Le),fu(B,D,h,xe,Le,ue)}s.C=s.Ma=h}function _c(s,h,B,D,ue,xe,Le){var ke=s.$/D,Je=s.$%D,ht=s.m,$t=s.s,Sn=B+s.$,gt=Sn;ue=B+D*ue;var en=B+D*xe,yn=280+$t.ua,qn=s.Pb?ke:16777216,Cn=0<$t.ua?$t.Wa:null,tr=$t.wc,rr=Sn=qn){var ea=Sn-B;n((qn=s).Pb),qn.wd=qn.m,qn.xd=ea,0si.g?(nn(vr,vr.u+si.g),ea[Mo]=si.value,vr=0):(nn(vr,vr.u+si.g-256),n(256<=si.value),vr=si.value),vr==0&&(Ir=!0)}else vr=us(rr.G[0],rr.H[0],ht);if(ht.h)break;if(Ir||256>vr){if(!Ir)if(rr.nd)h[Sn]=(rr.qb|vr<<8)>>>0;else{if(Bn(ht),Ir=us(rr.G[1],rr.H[1],ht),Bn(ht),ea=us(rr.G[2],rr.H[2],ht),Mo=us(rr.G[3],rr.H[3],ht),ht.h)break;h[Sn]=(Mo<<24|Ir<<16|vr<<8|ea)>>>0}if(Ir=!1,++Sn,++Je>=D&&(Je=0,++ke,Le!=null&&ke<=xe&&!(ke%16)&&Le(s,ke),Cn!=null))for(;gt>>Cn.Mb]=vr}else if(280>vr){if(vr=sc(vr-256,ht),ea=us(rr.G[4],rr.H[4],ht),Bn(ht),ea=lc(D,ea=sc(ea,ht)),ht.h)break;if(Sn-B=D;)Je-=D,++ke,Le!=null&&ke<=xe&&!(ke%16)&&Le(s,ke);if(n(Sn<=ue),Je&tr&&(rr=ol($t,Je,ke)),Cn!=null)for(;gt>>Cn.Mb]=vr}else{if(!(vr>>Cn.Mb]=vr;vr=Sn,n(!(Ir>>>(ea=Cn).Xa)),h[vr]=ea.X[Ir],Ir=!0}Ir||n(ht.h==Ht(ht))}if(s.Pb&&ht.h&&Snxe?xe:ke),s.a=0,s.$=Sn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fm,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,ag=ni,ig=Cs,Sd=Gi,Id=pi,Fd=yi,wf=XA,Et.VP8LMapColor32b=pu,Et.VP8LMapColor8b=rg,s)}function hu(s,h,B,D,ue){var xe=1,Le=[s],ke=[h],Je=D.m,ht=D.s,$t=null,Sn=0;e:for(;;){if(B)for(;xe&&hr(Je,1);){var gt=Le,en=ke,yn=D,qn=1,Cn=yn.m,tr=yn.gc[yn.ab],rr=hr(Cn,2);if(yn.Oc&1<=yn.ab),rr){case 0:case 1:tr.b=hr(Cn,3)+2,qn=hu(br(tr.Ea,tr.b),br(tr.nc,tr.b),0,yn,tr.K),tr.K=tr.K[0];break;case 3:var Ir,vr=hr(Cn,8)+1,ea=16>ko.b),Ks=A(ji);if(Ks==null)Ir=0;else{var li=ko.K[0],$o=ko.w;for(Ks[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Ks[Mo]=xa(li[$o+Mo],Ks[Mo-1]);for(;Mo<4*ji;++Mo)Ks[Mo]=0;ko.K[0]=null,ko.K[0]=Ks,Ir=1}}qn=Ir;break;case 2:break;default:n(0)}xe=qn}}if(Le=Le[0],ke=ke[0],xe&&hr(Je,1)&&!(xe=1<=(Sn=hr(Je,4))&&11>=Sn)){D.a=3;break e}var Ao;if(Ao=xe)t:{var Ss,Xa,zi,zA=D,Al=Le,Ul=ke,ds=Sn,Cl=B,Ll=zA.m,Zs=zA.s,Yi=[null],BA=1,fs=0,CA=op[ds];n:for(;;){if(Cl&&hr(Ll,1)){var sl=hr(Ll,3)+2,kc=br(Al,sl),Is=br(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,zA,Yi))break n;for(Yi=Yi[0],Zs.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var zs=um[Xa];!Xa&&0=Nl),Yl=Xl;var Hl=A(fs);if(Yl==null||Hl==null||Gl==null){zA.a=1;break n}var Jl=Gl;for(Ss=zi=0;SsXa;++Xa){zs=um[Xa],ql[Xa]=Jl,$c[Xa]=zi,!Xa&&0x0)break r}else wv=x0;for(dg=0;dgrh)Sm[dg++]=rh,rh!=0&&(Im=rh);else{var Np=rh==16,Um=rh-16,Pp=ep[Um],Lm=hr(Pd,qm[Um])+Pp;if(dg+Lm>x0)break r;for(var Qp=Np?Im:0;0=Xa){var fg,Bv=Hl[0];for(fg=1;fgBv&&(Bv=Hl[fg]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][$c[3]+0].value<<24|ql[1][$c[1]+0].value<<16|ql[2][$c[2]+0].value)>>>0,Bf==0&&256>ql[0][$c[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][$c[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var E0,ed=MA;for(E0=0;E0>=qs(S0,8,Rd),Qd>>=qs(ed.G[1][ed.H[1]+Qd],16,Rd),Qd>>=qs(ed.G[2][ed.H[2]+Qd],0,Rd),qs(ed.G[3][ed.H[3]+Qd],24,Rd))}}}Zs.vc=Yi,Zs.Wb=BA,Zs.Ya=Yl,Zs.yc=Gl,Ao=1;break t}Ao=0}if(!(xe=Ao)){D.a=3;break e}if(0D+1?[]:0),!(ue.lengths?0:s>h?h:s}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function G0(){var s=new Xg;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,lg||(lg=Gf)),s}function Ps(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Yg(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Ps(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,D=h.w,ue=h.ha;if(4>ue)return Ps(s,7,"Truncated header.");var xe=B[D+0]|B[D+1]<<8|B[D+2]<<16,Le=s.Od;if(Le.Rb=!(1&xe),Le.td=xe>>1&7,Le.yd=xe>>4&1,Le.ub=xe>>5,3ue)return Ps(s,7,"cannot parse picture header");if(!Yg(B,D,ue))return Ps(s,3,"Bad code word");ke.c=16383&(B[D+4]<<8|B[D+3]),ke.Td=B[D+4]>>6,ke.i=16383&(B[D+6]<<8|B[D+5]),ke.Ud=B[D+6]>>6,D+=7,ue-=7,s.za=ke.c+15>>4,s.Ub=ke.i+15>>4,h.width=ke.c,h.height=ke.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,a((xe=s.Pa).jb,0,255,xe.jb.length),n((xe=s.Qa)!=null),xe.Cb=0,xe.Bb=0,xe.Fb=1,a(xe.Zb,0,0,xe.Zb.length),a(xe.Lb,0,0,xe.Lb)}if(Le.ub>ue)return Ps(s,7,"bad partition length");Tn(xe=s.m,B,D,Le.ub),D+=Le.ub,ue-=Le.ub,Le.Rb&&(ke.Ld=zn(xe),ke.Kd=zn(xe)),ke=s.Qa;var Je,ht=s.Pa;if(n(xe!=null),n(ke!=null),ke.Cb=zn(xe),ke.Cb){if(ke.Bb=zn(xe),zn(xe)){for(ke.Fb=zn(xe),Je=0;4>Je;++Je)ke.Zb[Je]=zn(xe)?En(xe,7):0;for(Je=0;4>Je;++Je)ke.Lb[Je]=zn(xe)?En(xe,6):0}if(ke.Bb)for(Je=0;3>Je;++Je)ht.jb[Je]=zn(xe)?Kn(xe,8):255}else ke.Bb=0;if(xe.Ka)return Ps(s,3,"cannot parse segment header");if((ke=s.ed).zd=zn(xe),ke.Tb=Kn(xe,6),ke.wb=Kn(xe,3),ke.Pc=zn(xe),ke.Pc&&zn(xe)){for(ht=0;4>ht;++ht)zn(xe)&&(ke.vd[ht]=En(xe,6));for(ht=0;4>ht;++ht)zn(xe)&&(ke.od[ht]=En(xe,6))}if(s.L=ke.Tb==0?0:ke.zd?1:2,xe.Ka)return Ps(s,3,"cannot parse filter header");var $t=ue;if(ue=Je=D,D=Je+$t,ke=$t,s.Xb=(1<ke&&(Sn=ke),Tn(s.Jc[+$t],B,Je,Sn),Je+=Sn,ke-=Sn,ue+=3}Tn(s.Jc[+ht],B,Je,ke),B=JeSn;++Sn){if($t.Cb){var gt=$t.Zb[Sn];$t.Fb||(gt+=B)}else{if(0>16,8>en.Eb[1]&&(en.Eb[1]=8),en.Qc[0]=gv[gu(gt+ht,117)],en.Qc[1]=vv[gu(gt+Je,127)],en.lc=gt+Je}if(!Le.Rb)return Ps(s,4,"Not a key frame.");for(zn(xe),Le=s.Pa,B=0;4>B;++B){for(ue=0;8>ue;++ue)for(D=0;3>D;++D)for(ke=0;11>ke;++ke)ht=or(xe,cp[B][ue][D][ke])?Kn(xe,8):sp[B][ue][D][ke],Le.Wc[B][ue].Yb[D][ke]=ht;for(ue=0;17>ue;++ue)Le.Xc[B][ue]=Le.Wc[B][up[ue]]}return s.kc=zn(xe),s.kc&&(s.Bd=Kn(xe,8)),s.cb=1}function Gf(s,h,B,D,ue,xe,Le){var ke=h[ue].Yb[B];for(B=0;16>ue;++ue){if(!or(s,ke[B+0]))return ue;for(;!or(s,ke[B+1]);)if(ke=h[++ue].Yb[0],B=0,ue==16)return 16;var Je=h[ue+1].Yb;if(or(s,ke[B+2])){var ht=s,$t=0;if(or(ht,(gt=ke)[(Sn=B)+3]))if(or(ht,gt[Sn+6])){for(ke=0,Sn=2*($t=or(ht,gt[Sn+8]))+(gt=or(ht,gt[Sn+9+$t])),$t=0,gt=ip[Sn];gt[ke];++ke)$t+=$t+or(ht,gt[ke]);$t+=3+(8<(ht=s).b&&Hn(ht);var Sn,gt=ht.b,en=(Sn=ht.Ca>>1)-(ht.I>>gt)>>31;--ht.b,ht.Ca+=en,ht.Ca|=1,ht.I-=(Sn+1&en)<>3),s[h+B+32*D]=-256&ue?0>ue?0:255:ue}function js(s,h,B,D,ue,xe){dc(s,h,0,B,D+ue),dc(s,h,1,B,D+xe),dc(s,h,2,B,D-xe),dc(s,h,3,B,D-ue)}function Hu(s){return(20091*s>>16)+s}function qg(s,h,B,D){var ue,xe=0,Le=A(16);for(ue=0;4>ue;++ue){var ke=s[h+0]+s[h+8],Je=s[h+0]-s[h+8],ht=(35468*s[h+4]>>16)-Hu(s[h+12]),$t=Hu(s[h+4])+(35468*s[h+12]>>16);Le[xe+0]=ke+$t,Le[xe+1]=Je+ht,Le[xe+2]=Je-ht,Le[xe+3]=ke-$t,xe+=4,h++}for(ue=xe=0;4>ue;++ue)ke=(s=Le[xe+0]+4)+Le[xe+8],Je=s-Le[xe+8],ht=(35468*Le[xe+4]>>16)-Hu(Le[xe+12]),dc(B,D,0,0,ke+($t=Hu(Le[xe+4])+(35468*Le[xe+12]>>16))),dc(B,D,1,0,Je+ht),dc(B,D,2,0,Je-ht),dc(B,D,3,0,ke-$t),xe++,D+=32}function X0(s,h,B,D){var ue=s[h+0]+4,xe=35468*s[h+4]>>16,Le=Hu(s[h+4]),ke=35468*s[h+1]>>16;js(B,D,0,ue+Le,s=Hu(s[h+1]),ke),js(B,D,1,ue+xe,s,ke),js(B,D,2,ue-xe,s,ke),js(B,D,3,ue-Le,s,ke)}function Y0(s,h,B,D,ue){qg(s,h,B,D),ue&&qg(s,h+16,B,D+4)}function mu(s,h,B,D){bf(s,h+0,B,D,1),bf(s,h+32,B,D+128,1)}function e0(s,h,B,D){var ue;for(s=s[h+0]+4,ue=0;4>ue;++ue)for(h=0;4>h;++h)dc(B,D,h,ue,s)}function t0(s,h,B,D){s[h+0]&&hA(s,h+0,B,D),s[h+16]&&hA(s,h+16,B,D+4),s[h+32]&&hA(s,h+32,B,D+128),s[h+48]&&hA(s,h+48,B,D+128+4)}function Xf(s,h,B,D){var ue,xe=A(16);for(ue=0;4>ue;++ue){var Le=s[h+0+ue]+s[h+12+ue],ke=s[h+4+ue]+s[h+8+ue],Je=s[h+4+ue]-s[h+8+ue],ht=s[h+0+ue]-s[h+12+ue];xe[0+ue]=Le+ke,xe[8+ue]=Le-ke,xe[4+ue]=ht+Je,xe[12+ue]=ht-Je}for(ue=0;4>ue;++ue)Le=(s=xe[0+4*ue]+3)+xe[3+4*ue],ke=xe[1+4*ue]+xe[2+4*ue],Je=xe[1+4*ue]-xe[2+4*ue],ht=s-xe[3+4*ue],B[D+0]=Le+ke>>3,B[D+16]=ht+Je>>3,B[D+32]=Le-ke>>3,B[D+48]=ht-Je>>3,D+=64}function lf(s,h,B){var D,ue=h-32,xe=Vl,Le=255-s[ue-1];for(D=0;DB;++B)r(s,h+32*B,s,h-32,16)}function n0(s,h){var B;for(B=16;0D;++D)a(h,B+32*D,s,16)}function tv(s,h){var B,D=16;for(B=0;16>B;++B)D+=s[h-1+32*B]+s[h+B-32];Kc(D>>5,s,h)}function cf(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h-1+32*B];Kc(D>>4,s,h)}function zh(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h+B-32];Kc(D>>4,s,h)}function nv(s,h){Kc(128,s,h)}function _a(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,D=h-32;for(D=new Uint8Array([_a(s[D-1],s[D+0],s[D+1]),_a(s[D+0],s[D+1],s[D+2]),_a(s[D+1],s[D+2],s[D+3]),_a(s[D+2],s[D+3],s[D+4])]),B=0;4>B;++B)r(s,h+32*B,D,0,D.length)}function ov(s,h){var B=s[h-1],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96];Nr(s,h+0,16843009*_a(s[h-1-32],B,D)),Nr(s,h+32,16843009*_a(B,D,ue)),Nr(s,h+64,16843009*_a(D,ue,xe)),Nr(s,h+96,16843009*_a(ue,xe,xe))}function av(s,h){var B,D=4;for(B=0;4>B;++B)D+=s[h+B-32]+s[h-1+32*B];for(D>>=3,B=0;4>B;++B)a(s,h+32*B,D,4)}function _u(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1-32],Le=s[h+0-32],ke=s[h+1-32],Je=s[h+2-32],ht=s[h+3-32];s[h+0+96]=_a(D,ue,s[h-1+96]),s[h+1+96]=s[h+0+64]=_a(B,D,ue),s[h+2+96]=s[h+1+64]=s[h+0+32]=_a(xe,B,D),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=_a(Le,xe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=_a(ke,Le,xe),s[h+3+32]=s[h+2+0]=_a(Je,ke,Le),s[h+3+0]=_a(ht,Je,ke)}function Ku(s,h){var B=s[h+1-32],D=s[h+2-32],ue=s[h+3-32],xe=s[h+4-32],Le=s[h+5-32],ke=s[h+6-32],Je=s[h+7-32];s[h+0+0]=_a(s[h+0-32],B,D),s[h+1+0]=s[h+0+32]=_a(B,D,ue),s[h+2+0]=s[h+1+32]=s[h+0+64]=_a(D,ue,xe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=_a(ue,xe,Le),s[h+3+32]=s[h+2+64]=s[h+1+96]=_a(xe,Le,ke),s[h+3+64]=s[h+2+96]=_a(Le,ke,Je),s[h+3+96]=_a(ke,Je,Je)}function iv(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1-32],Le=s[h+0-32],ke=s[h+1-32],Je=s[h+2-32],ht=s[h+3-32];s[h+0+0]=s[h+1+64]=xe+Le+1>>1,s[h+1+0]=s[h+2+64]=Le+ke+1>>1,s[h+2+0]=s[h+3+64]=ke+Je+1>>1,s[h+3+0]=Je+ht+1>>1,s[h+0+96]=_a(ue,D,B),s[h+0+64]=_a(D,B,xe),s[h+0+32]=s[h+1+96]=_a(B,xe,Le),s[h+1+32]=s[h+2+96]=_a(xe,Le,ke),s[h+2+32]=s[h+3+96]=_a(Le,ke,Je),s[h+3+32]=_a(ke,Je,ht)}function Av(s,h){var B=s[h+0-32],D=s[h+1-32],ue=s[h+2-32],xe=s[h+3-32],Le=s[h+4-32],ke=s[h+5-32],Je=s[h+6-32],ht=s[h+7-32];s[h+0+0]=B+D+1>>1,s[h+1+0]=s[h+0+64]=D+ue+1>>1,s[h+2+0]=s[h+1+64]=ue+xe+1>>1,s[h+3+0]=s[h+2+64]=xe+Le+1>>1,s[h+0+32]=_a(B,D,ue),s[h+1+32]=s[h+0+96]=_a(D,ue,xe),s[h+2+32]=s[h+1+96]=_a(ue,xe,Le),s[h+3+32]=s[h+2+96]=_a(xe,Le,ke),s[h+3+64]=_a(Le,ke,Je),s[h+3+96]=_a(ke,Je,ht)}function Yf(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96];s[h+0+0]=B+D+1>>1,s[h+2+0]=s[h+0+32]=D+ue+1>>1,s[h+2+32]=s[h+0+64]=ue+xe+1>>1,s[h+1+0]=_a(B,D,ue),s[h+3+0]=s[h+1+32]=_a(D,ue,xe),s[h+3+32]=s[h+1+64]=_a(ue,xe,xe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=xe}function kh(s,h){var B=s[h-1+0],D=s[h-1+32],ue=s[h-1+64],xe=s[h-1+96],Le=s[h-1-32],ke=s[h+0-32],Je=s[h+1-32],ht=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Le+1>>1,s[h+0+32]=s[h+2+64]=D+B+1>>1,s[h+0+64]=s[h+2+96]=ue+D+1>>1,s[h+0+96]=xe+ue+1>>1,s[h+3+0]=_a(ke,Je,ht),s[h+2+0]=_a(Le,ke,Je),s[h+1+0]=s[h+3+32]=_a(B,Le,ke),s[h+1+32]=s[h+3+64]=_a(D,B,Le),s[h+1+64]=s[h+3+96]=_a(ue,D,B),s[h+1+96]=_a(xe,ue,D)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)a(s,h,s[h-1],8),h+=32}function Zu(s,h,B){var D;for(D=0;8>D;++D)a(h,B+32*D,s,8)}function lv(s,h){var B,D=8;for(B=0;8>B;++B)D+=s[h+B-32]+s[h-1+32*B];Zu(D>>4,s,h)}function $h(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h+B-32];Zu(D>>3,s,h)}function Wh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h-1+32*B];Zu(D>>3,s,h)}function r0(s,h){Zu(128,s,h)}function zu(s,h,B){var D=s[h-B],ue=s[h+0],xe=3*(ue-D)+cv[1020+s[h-2*B]-s[h+B]],Le=u0[112+(xe+4>>3)];s[h-B]=Vl[255+D+u0[112+(xe+3>>3)]],s[h+0]=Vl[255+ue-Le]}function Vh(s,h,B,D){var ue=s[h+0],xe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>D||gc[255+xe-ue]>D}function Jf(s,h,B,D){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=D}function Gh(s,h,B,D,ue){var xe=s[h-3*B],Le=s[h-2*B],ke=s[h-B],Je=s[h+0],ht=s[h+B],$t=s[h+2*B],Sn=s[h+3*B];return 4*gc[255+ke-Je]+gc[255+Le-ht]>D?0:gc[255+s[h-4*B]-xe]<=ue&&gc[255+xe-Le]<=ue&&gc[255+Le-ke]<=ue&&gc[255+Sn-$t]<=ue&&gc[255+$t-ht]<=ue&&gc[255+ht-Je]<=ue}function df(s,h,B,D){var ue=2*D+1;for(D=0;16>D;++D)Jf(s,h+D,B,ue)&&zu(s,h+D,B)}function Xh(s,h,B,D){var ue=2*D+1;for(D=0;16>D;++D)Jf(s,h+D*B,1,ue)&&zu(s,h+D*B,1)}function o0(s,h,B,D){var ue;for(ue=3;0>7,tr=18*rr+63>>7,rr=9*rr+63>>7;Je[ht-3*$t]=Vl[255+Je[ht-3*$t]+rr],Je[ht-2*$t]=Vl[255+Sn+tr],Je[ht-$t]=Vl[255+gt+Cn],Je[ht+0]=Vl[255+en-Cn],Je[ht+$t]=Vl[255+yn-tr],Je[ht+2*$t]=Vl[255+qn-rr]}h+=D}}function $u(s,h,B,D,ue,xe,Le,ke){for(xe=2*xe+1;0>3)],qn=u0[112+(qn+3>>3)],Cn=yn+1>>1;Je[ht-2*$t]=Vl[255+Je[ht-2*$t]+Cn],Je[ht-$t]=Vl[255+Sn+qn],Je[ht+0]=Vl[255+gt-yn],Je[ht+$t]=Vl[255+en-Cn]}h+=D}}function i0(s,h,B,D,ue,xe){ku(s,h,B,1,16,D,ue,xe)}function ff(s,h,B,D,ue,xe){ku(s,h,1,B,16,D,ue,xe)}function A0(s,h,B,D,ue,xe){var Le;for(Le=3;0ht?0:255:ht)&255,ht=Je,ue[xe+ke]=$t}}function DA(s,h,B,D){var ue=h.width,xe=h.o;if(n(s!=null&&h!=null),0>B||0>=D||B+D>xe)return null;if(!s.Cc){if(s.ga==null){var Le;if(s.ga=new ri,(Le=s.ga==null)||(Le=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Le),s.Uc=0,s.Gb==null?Le=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Le=1),Le=!Le),!Le){Le=s.ga;var ke=s.Fa,Je=s.P,ht=s.qc,$t=s.mb,Sn=s.nb,gt=Je+1,en=ht-1,yn=Le.l;if(n(ke!=null&&$t!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Qs,Le.ca=$t,Le.tb=Sn,Le.c=h.width,Le.i=h.height,n(0=ht)h=0;else if(Le.$a=3&ke[Je+0],Le.Z=ke[Je+0]>>2&3,Le.Lc=ke[Je+0]>>4&3,Je=ke[Je+0]>>6&3,0>Le.$a||1=Le.c*Le.i;Le=!h}if(Le)return null;s.ga.Lc!=1?s.Ga=0:D=xe-B}n(s.ga!=null),n(B+D<=xe);e:{if(h=(ke=s.ga).c,xe=ke.l.o,ke.$a==0){if(gt=s.rc,en=s.Vc,yn=s.Fa,Je=s.P+1+B*h,ht=s.mb,$t=s.nb+B*h,n(Je<=s.P+s.qc),ke.Z!=0)for(n(Ld[ke.Z]!=null),Le=0;Le=h)h=1;else if(ke.ic||Zc(),ke.ic){ke=Le.V,gt=Le.Ba,en=Le.c;var qn=Le.i,Cn=(yn=1,Je=Le.$/en,ht=Le.$%en,$t=Le.m,Sn=Le.s,Le.$),tr=en*qn,rr=en*h,Ir=Sn.wc,vr=Cn(qn=us(vr.G[0],vr.H[0],$t)))ke[gt+Cn]=qn,++Cn,++ht>=en&&(ht=0,++Je<=h&&!(Je%16)&&Hc(Le,Je));else{if(!(280>qn)){yn=0;break t}qn=sc(qn-256,$t);var ea,Mo=us(vr.G[4],vr.H[4],$t);if(Bn($t),!(Cn>=(Mo=lc(en,Mo=sc(Mo,$t)))&&tr-Cn>=qn)){yn=0;break t}for(ea=0;ea=en;)ht-=en,++Je<=h&&!(Je%16)&&Hc(Le,Je);Cnh?h:Je);break t}!yn||$t.h&&Cn=xe&&(s.Cc=1),D=1}if(!D)return null;if(s.Cc&&((D=s.ga)!=null&&(D.mc=null),s.ga=null,0>23,ke[Je+4*Le+1]=ke[Je+4*Le+1]*Sn>>23,ke[Je+4*Le+2]=ke[Je+4*Le+2]*Sn>>23)}h+=xe}}function Rs(s,h,B,D,ue){for(;0>4)*Je>>16;s[h+2*xe+0]=(240&Le|Le>>4)*Je>>16&240|(15&Le|Le<<4)*Je>>16>>4&15,s[h+2*xe+1]=240&ht|ke}h+=ue}}function al(s,h,B,D,ue,xe,Le,ke){var Je,ht,$t=255;for(ht=0;ht>8}function Zc(){sg=Hs,tm=Rs,nm=al,rm=Wu}function Vu(s,h,B){Et[s]=function(D,ue,xe,Le,ke,Je,ht,$t,Sn,gt,en,yn,qn,Cn,tr,rr,Ir){var vr,ea=Ir-1>>1,Mo=ke[Je+0]|ht[$t+0]<<16,si=Sn[gt+0]|en[yn+0]<<16;n(D!=null);var ko=3*Mo+si+131074>>2;for(h(D[ue+0],255&ko,ko>>16,qn,Cn),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Le+0],255&ko,ko>>16,tr,rr)),vr=1;vr<=ea;++vr){var ji=ke[Je+vr]|ht[$t+vr]<<16,Ks=Sn[gt+vr]|en[yn+vr]<<16,li=Mo+ji+si+Ks+524296,$o=li+2*(ji+si)>>3;ko=$o+Mo>>1,Mo=(li=li+2*(Mo+Ks)>>3)+ji>>1,h(D[ue+2*vr-1],255&ko,ko>>16,qn,Cn+(2*vr-1)*B),h(D[ue+2*vr-0],255&Mo,Mo>>16,qn,Cn+(2*vr-0)*B),xe!=null&&(ko=li+si>>1,Mo=$o+Ks>>1,h(xe[Le+2*vr-1],255&ko,ko>>16,tr,rr+(2*vr-1)*B),h(xe[Le+2*vr+0],255&Mo,Mo>>16,tr,rr+(2*vr+0)*B)),Mo=ji,si=Ks}1&Ir||(ko=3*Mo+si+131074>>2,h(D[ue+Ir-1],255&ko,ko>>16,qn,Cn+(Ir-1)*B),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Le+Ir-1],255&ko,ko>>16,tr,rr+(Ir-1)*B)))}}function Yh(){vc[d0]=fp,vc[f0]=hm,vc[lm]=hp,vc[h0]=gm,vc[g0]=vm,vc[uv]=mm,vc[cm]=gp,vc[dv]=hm,vc[fv]=gm,vc[v0]=vm,vc[hv]=mm}function qf(s){return s&~vp?0>s?0:255:s>>pm}function bd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,D,ue){D[ue+0]=bd(s,B),D[ue+1]=hf(s,h,B),D[ue+2]=gf(s,h)}function il(s,h,B,D,ue){D[ue+0]=gf(s,h),D[ue+1]=hf(s,h,B),D[ue+2]=bd(s,B)}function vf(s,h,B,D,ue){var xe=hf(s,h,B);h=xe<<3&224|gf(s,h)>>3,D[ue+0]=248&bd(s,B)|xe>>5,D[ue+1]=h}function mf(s,h,B,D,ue){var xe=240&gf(s,h)|15;D[ue+0]=240&bd(s,B)|hf(s,h,B)>>4,D[ue+1]=xe}function Jh(s,h,B,D,ue){D[ue+0]=255,Bd(s,h,B,D,ue+1)}function qh(s,h,B,D,ue){il(s,h,B,D,ue),D[ue+3]=255}function Ol(s,h,B,D,ue){Bd(s,h,B,D,ue),D[ue+3]=255}function Gu(s,h,B){Et[s]=function(D,ue,xe,Le,ke,Je,ht,$t,Sn){for(var gt=$t+(-2&Sn)*B;$t!=gt;)h(D[ue+0],xe[Le+0],ke[Je+0],ht,$t),h(D[ue+1],xe[Le+0],ke[Je+0],ht,$t+B),ue+=2,++Le,++Je,$t+=2*B;1&Sn&&h(D[ue+0],xe[Le+0],ke[Je+0],ht,$t)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function s0(s,h,B,D,ue){switch(s>>>30){case 3:bf(h,B,D,ue,0);break;case 2:hc(h,B,D,ue);break;case 1:hA(h,B,D,ue)}}function fc(s,h){var B,D,ue=h.M,xe=h.Nb,Le=s.oc,ke=s.pc+40,Je=s.oc,ht=s.pc+584,$t=s.oc,Sn=s.pc+600;for(B=0;16>B;++B)Le[ke+32*B-1]=129;for(B=0;8>B;++B)Je[ht+32*B-1]=129,$t[Sn+32*B-1]=129;for(0B;++B)r(Le,ke+32*B-4,Le,ke+32*B+12,4);for(B=-1;8>B;++B)r(Je,ht+32*B-4,Je,ht+32*B+4,4),r($t,Sn+32*B-4,$t,Sn+32*B+4,4)}var en=s.Gd,yn=s.Hd+D,qn=gt.ad,Cn=gt.Hc;if(0=s.za-1?a(tr,rr,en[yn].y[15],4):r(tr,rr,en[yn+1].y,0,4)),B=0;4>B;B++)tr[rr+128+B]=tr[rr+256+B]=tr[rr+384+B]=tr[rr+0+B];for(B=0;16>B;++B,Cn<<=2)tr=Le,rr=ke+wm[B],zc[gt.Ob[B]](tr,rr),s0(Cn,qn,16*+B,tr,rr)}else if(tr=eh(D,ue,gt.Ob[0]),Ud[tr](Le,ke),Cn!=0)for(B=0;16>B;++B,Cn<<=2)s0(Cn,qn,16*+B,Le,ke+wm[B]);for(B=gt.Gc,tr=eh(D,ue,gt.Dd),Ju[tr](Je,ht),Ju[tr]($t,Sn),Cn=qn,tr=Je,rr=ht,255&(gt=0|B)&&(170>?wu(Cn,256,tr,rr):OA(Cn,256,tr,rr)),gt=$t,Cn=Sn,255&(B>>=8)&&(170&B?wu(qn,320,gt,Cn):OA(qn,320,gt,Cn)),ueB;++B)r(en,yn+B*s.R,Le,ke+32*B,16);for(B=0;8>B;++B)r(qn,gt+B*s.B,Je,ht+32*B,8),r(Cn,tr+B*s.B,$t,Sn+32*B,8)}}function pf(s,h,B,D,ue,xe,Le,ke,Je){var ht=[0],$t=[0],Sn=0,gt=Je!=null?Je.kd:0,en=Je!=null?Je:new gr;if(s==null||12>B)return 7;en.data=s,en.w=h,en.ha=B,h=[h],B=[B],en.gb=[en.gb];e:{var yn=h,qn=B,Cn=en.gb;if(n(s!=null),n(qn!=null),n(Cn!=null),Cn[0]=0,12<=qn[0]&&!t(s,yn[0],"RIFF")){if(t(s,yn[0]+8,"WEBP")){Cn=3;break e}var tr=sa(s,yn[0]+4);if(12>tr||4294967286qn[0]-8){Cn=7;break e}Cn[0]=tr,yn[0]+=12,qn[0]-=12}Cn=0}if(Cn!=0)return Cn;for(tr=0Cn[0])Cn=7;else{if(!t(rr,qn[0],"VP8X")){if(sa(rr,qn[0]+4)!=10){Cn=3;break e}if(18>Cn[0]){Cn=7;break e}var Mo=sa(rr,qn[0]+8),si=1+ho(rr,qn[0]+12);if(2147483648<=si*(rr=1+ho(rr,qn[0]+15))){Cn=3;break e}ea!=null&&(ea[0]=Mo),Ir!=null&&(Ir[0]=si),vr!=null&&(vr[0]=rr),qn[0]+=18,Cn[0]-=18,ko[0]=1}Cn=0}}if(Sn=Sn[0],yn=yn[0],Cn!=0)return Cn;if(qn=!!(2&yn),!tr&&Sn)return 3;if(xe!=null&&(xe[0]=!!(16&yn)),Le!=null&&(Le[0]=qn),ke!=null&&(ke[0]=0),Le=ht[0],yn=$t[0],Sn&&qn&&Je==null){Cn=0;break}if(4>B){Cn=7;break}if(tr&&Sn||!tr&&!Sn&&!t(s,h[0],"ALPH")){B=[B],en.na=[en.na],en.P=[en.P],en.Sa=[en.Sa];e:{Mo=s,Cn=h,tr=B;var ko=en.gb;Ir=en.na,vr=en.P,ea=en.Sa,si=22,n(Mo!=null),n(tr!=null),rr=Cn[0];var ji=tr[0];for(n(Ir!=null),n(ea!=null),Ir[0]=null,vr[0]=null,ea[0]=0;;){if(Cn[0]=rr,tr[0]=ji,8>ji){Cn=7;break e}var Ks=sa(Mo,rr+4);if(4294967286ko){Cn=3;break e}if(!t(Mo,rr,"VP8 ")||!t(Mo,rr,"VP8L")){Cn=0;break e}if(ji[0]tr[0])Cn=7;else{if(rr||si){if(ko=sa(ko,Mo+4),12<=Ir&&ko>Ir-12){Cn=3;break e}if(gt&&ko>tr[0]-8){Cn=7;break e}vr[0]=ko,Cn[0]+=8,tr[0]-=8,ea[0]=si}else ea[0]=5<=tr[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),vr[0]=tr[0];Cn=0}if(B=B[0],en.Ja=en.Ja[0],en.xa=en.xa[0],h=h[0],Cn!=0)break;if(4294967286B){Cn=7;break}ke=Le,gt=yn,qn=xe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(tr=[0],ko=[0],Ir=[0],$n(vr=new Bt,s,h,B),ju(vr,tr,ko,Ir)?(ke!=null&&(ke[0]=tr[0]),gt!=null&&(gt[0]=ko[0]),qn!=null&&(qn[0]=Ir[0]),s=1):s=0):s=0}else{if(10>B){Cn=7;break}ke=yn,s==null||10>B||!Yg(s,h+3,B-3)?s=0:(gt=s[h+0]|s[h+1]<<8|s[h+2]<<16,qn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1>||3<(gt>>1&7)||!(gt>>4&1)||gt>>5>=en.Ja||!qn||!s?s=0:(Le&&(Le[0]=qn),ke&&(ke[0]=s),s=1))}if(!s||(Le=Le[0],yn=yn[0],Sn&&(ht[0]!=Le||$t[0]!=yn)))return 3;Je!=null&&(Je[0]=en,Je.offset=h-Je.w,n(4294967286>h-Je.w),n(Je.offset==Je.ha-B));break}return Cn==0||Cn==7&&Sn&&Je==null?(xe!=null&&(xe[0]|=en.na!=null&&0B||(xe&=-2,Le&=-2),0>xe||0>Le||0>=ke||0>=Je||xe+ke>D||Le+Je>ue))return 0;if(h.v=xe,h.j=Le,h.va=xe+ke,h.o=Le+Je,h.U=ke,h.T=Je,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,D){if(D==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var ue=B.cd,xe=B.bd,Le=-2&B.v,ke=-2&B.j;if(0>Le||0>ke||0>=ue||0>=xe||Le+ue>s||ke+xe>h)return 2;s=ue,h=xe}if(B.da){if(!Ca(s,h,ue=[B.ib],xe=[B.hb]))return 2;s=ue[0],h=xe[0]}}D.width=s,D.height=h;e:{var Je=D.width,ht=D.height;if(s=D.S,0>=Je||0>=ht||!(s>=d0&&13>s))s=2;else{if(0>=D.Rd&&D.sd==null){Le=xe=ue=h=0;var $t=(ke=Je*bm[s])*ht;if(11>s||(xe=(ht+1)/2*(h=(Je+1)/2),s==12&&(Le=(ue=Je)*ht)),(ht=A($t+2*xe+Le))==null){s=1;break e}D.sd=ht,11>s?((Je=D.f.RGBA).eb=ht,Je.fb=0,Je.A=ke,Je.size=$t):((Je=D.f.kb).y=ht,Je.O=0,Je.fa=ke,Je.Fd=$t,Je.f=ht,Je.N=0+$t,Je.Ab=h,Je.Cd=xe,Je.ea=ht,Je.W=0+$t+xe,Je.Db=h,Je.Ed=xe,s==12&&(Je.F=ht,Je.J=0+$t+2*xe),Je.Tc=Le,Je.lb=ue)}if(h=1,ue=D.S,xe=D.width,Le=D.height,ue>=d0&&13>ue)if(11>ue)s=D.f.RGBA,h&=(ke=Math.abs(s.A))*(Le-1)+xe<=s.size,h&=ke>=xe*bm[ue],h&=s.eb!=null;else{s=D.f.kb,ke=(xe+1)/2,$t=(Le+1)/2,Je=Math.abs(s.fa),ht=Math.abs(s.Ab);var Sn=Math.abs(s.Db),gt=Math.abs(s.lb),en=gt*(Le-1)+xe;h&=Je*(Le-1)+xe<=s.Fd,h&=ht*($t-1)+ke<=s.Cd,h=(h&=Sn*($t-1)+ke<=s.Ed)&Je>=xe&ht>=ke&Sn>=ke,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,ue==12&&(h&=gt>=xe,h&=en<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=tg(D)),s}var yf=64,$l=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),Et.Predictor0=function(){return 4278190080},Et.Predictor1=function(s){return s},Et.Predictor2=function(s,h,B){return h[B+0]},Et.Predictor3=function(s,h,B){return h[B+1]},Et.Predictor4=function(s,h,B){return h[B-1]},Et.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},Et.Predictor6=function(s,h,B){return ua(s,h[B-1])},Et.Predictor7=function(s,h,B){return ua(s,h[B+0])},Et.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},Et.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},Et.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},Et.Predictor11=function(s,h,B){var D=h[B+0];return 0>=Va(D>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Va(D>>16&255,s>>16&255,h>>16&255)+Va(D>>8&255,s>>8&255,h>>8&255)+Va(255&D,255&s,255&h)?D:s},Et.Predictor12=function(s,h,B){var D=h[B+0];return(dA((s>>24&255)+(D>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(D>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(D>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&D)-(255&h)))>>>0},Et.Predictor13=function(s,h,B){var D=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,D>>24&255)<<24|Li(s>>16&255,D>>16&255)<<16|Li(s>>8&255,D>>8&255)<<8|Li(255&s,255&D))>>>0};var ng=Et.PredictorAdd0;Et.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=Et.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,l0=Et.ColorIndexInverseTransform,pu=Et.MapARGB,yu=Et.VP8LColorIndexInverseTransformAlpha,rg=Et.MapAlpha,og=Et.VP8LPredictorsAdd=[];og.length=16,(Et.VP8LPredictors=[]).length=16,(Et.VP8LPredictorsAdd_C=[]).length=16,(Et.VP8LPredictors_C=[]).length=16;var ag,ig,Sd,Id,Fd,wf,Od,bf,hc,wu,hA,OA,Es,_s,Yu,Ag,nh,c0,Gv,Xv,Yv,Jv,qv,em,sg,tm,nm,rm,om=A(511),am=A(2041),im=A(225),Am=A(767),sm=0,cv=am,u0=im,Vl=Am,gc=om,d0=0,f0=1,lm=2,h0=3,g0=4,uv=5,cm=6,dv=7,fv=8,v0=9,hv=10,qm=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],op=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ap=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,ip=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ap=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],zc=[],Ju=[],dp=1,fm=2,Ld=[],vc=[];Vu("UpsampleRgbLinePair",Bd,3),Vu("UpsampleBgrLinePair",il,3),Vu("UpsampleRgbaLinePair",Ol,4),Vu("UpsampleBgraLinePair",qh,4),Vu("UpsampleArgbLinePair",Jh,4),Vu("UpsampleRgba4444LinePair",mf,2),Vu("UpsampleRgb565LinePair",vf,2);var fp=Et.UpsampleRgbLinePair,hp=Et.UpsampleBgrLinePair,hm=Et.UpsampleRgbaLinePair,gm=Et.UpsampleBgraLinePair,vm=Et.UpsampleArgbLinePair,mm=Et.UpsampleRgba4444LinePair,gp=Et.UpsampleRgb565LinePair,m0=16,p0=1<D.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),D.ca.f.kb.F!=null&&Zc()),D.Pb&&0(Je=B.Md)?0:100ht;++ht)12>(Sn=ue.pb[ht]).lc&&(Sn.ia=Je*Cp[0>Sn.lc?0:Sn.lc]>>3),$t|=Sn.ia;$t&&(alert("todo:VP8InitRandom"),ue.ia=1)}ue.Ga=B.Id,100ue.Ga&&(ue.Ga=0)}(function(gt,en){if(gt==null)return 0;if(en==null)return Ps(gt,2,"NULL VP8Io parameter in VP8Decode().");if(!gt.cb&&!vu(gt,en))return 0;if(n(gt.cb),en.ac==null||en.ac(en)){en.ob&&(gt.L=0);var yn=y0[gt.L];if(gt.L==2?(gt.yb=0,gt.zb=0):(gt.yb=en.v-yn>>4,gt.zb=en.j-yn>>4,0>gt.yb&&(gt.yb=0),0>gt.zb&&(gt.zb=0)),gt.Va=en.o+15+yn>>4,gt.Hb=en.va+15+yn>>4,gt.Hb>gt.za&&(gt.Hb=gt.za),gt.Va>gt.Ub&&(gt.Va=gt.Ub),0yn;++yn){var Cn;if(gt.Qa.Cb){var tr=gt.Qa.Lb[yn];gt.Qa.Fb||(tr+=qn.Tb)}else tr=qn.Tb;for(Cn=0;1>=Cn;++Cn){var rr=gt.gd[yn][Cn],Ir=tr;if(qn.Pc&&(Ir+=qn.vd[0],Cn&&(Ir+=qn.od[0])),0<(Ir=0>Ir?0:63>2:vr>>1)>9-qn.wb&&(vr=9-qn.wb),1>vr&&(vr=1),rr.dd=vr,rr.tc=2*Ir+vr,rr.ld=40<=Ir?2:15<=Ir?1:0}else rr.tc=0;rr.La=Cn}}}yn=0}else Ps(gt,6,"Frame setup failed"),yn=gt.a;if(yn=yn==0){if(yn){gt.$c=0,0gt.Vb){if(gt.Vb=0,gt.Ec=A(rr),gt.Fc=0,gt.Ec==null){yn=Ps(gt,1,"no memory during frame initialization.");break t}gt.Vb=rr}rr=gt.Ec,Ir=gt.Fc,gt.Ac=rr,gt.Bc=Ir,Ir+=qn,gt.Gd=v(ea,Gg),gt.Hd=0,gt.rb=v(Mo+1,_h),gt.sb=1,gt.wa=si?v(si,uc):null,gt.Y=0,gt.D.Nb=0,gt.D.wa=gt.wa,gt.D.Y=gt.Y,0=yn;++yn)om[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)am[1020+yn]=-128>yn?-128:127=yn;++yn)im[112+yn]=-16>yn?-16:15=yn;++yn)Am[255+yn]=0>yn?0:255zi;++zi){var Zs,Yi=Ul[0+zi];for(Zs=0;4>Zs;++Zs){Yi=lp[zA[Al+Zs]][Yi];for(var BA=dm[or(Xa,Yi[0])];0>3;for(BA=0;256>BA;BA+=16)zi[Cl+BA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,zs=15&Ll.la;for(BA=0;4>BA;++BA){var Gl=1&zs;for(jl=CA=0;4>jl;++jl)UA=UA>>1|(Gl=(Is=lg(zA,kc,Is=Gl+(1&UA),ds.Sc,sl,zi,Cl))>sl)<<7,CA=CA<<2|(3>=4,zs=zs>>1|Gl<<7,Zs=(Zs<<8|CA)>>>0}for(kc=UA,sl=zs>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Xa.la>>4+fs,zs=Ll.la>>4+fs,BA=0;2>BA;++BA){for(Gl=1&zs,jl=0;2>jl;++jl)Is=Gl+(1&UA),UA=UA>>1|(Gl=0<(Is=lg(zA,Al[2],Is,ds.Qc,0,zi,Cl)))<<3,CA=CA<<2|(3>=2,zs=zs>>1|Gl<<5}Yi|=CA<<4*fs,kc|=UA<<4<=$o.zb&&$o.M<=$o.Va,$o.Aa==0)t:{if(li.M=$o.M,li.uc=Xa,fc($o,li),Ss=1,li=(CA=$o.D).Nb,Xa=(Yi=y0[$o.L])*$o.R,zA=Yi/2*$o.B,BA=16*li*$o.R,jl=8*li*$o.B,Al=$o.sa,Ul=$o.ta-Xa+BA,ds=$o.qa,zi=$o.ra-zA+jl,Cl=$o.Ha,Ll=$o.Ia-zA+jl,zs=(UA=CA.M)==0,Zs=UA>=$o.Va-1,$o.Aa==2&&fc($o,CA),CA.uc)for(Gl=(Is=$o).D.M,n(Is.D.uc),CA=Is.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,$o.Fa!=null&&0<$o.Fa.length&&CA>1),Ao.W+=$o.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=$o.Ic||Zs||(r($o.sa,$o.ta-Xa,Al,Ul+16*$o.R,Xa),r($o.qa,$o.ra-zA,ds,zi+8*$o.B,zA),r($o.Ha,$o.Ia-zA,Cl,Ll+8*$o.B,zA))}if(!Ss)return Ps(ji,6,"Output aborted.")}return 1}(gt,en)),en.bc!=null&&en.bc(en),yn&=1}return yn?(gt.cb=0,yn):0})(s,D)||(h=s.a)}}else h=s.a}h==0&&Le.Oa!=null&&Le.Oa.fd&&(h=tg(Le.ba))}Le=h}xe=Le!=0?null:11>xe?ke.f.RGBA.eb:ke.f.kb.y}else xe=null;return xe};var bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(Et,vn){for(var Te="",st=0;st<4;st++)Te+=String.fromCharCode(Et[vn++]);return Te}function U(Et,vn){return Et[vn+0]|Et[vn+1]<<8}function oe(Et,vn){return(Et[vn+0]|Et[vn+1]<<8|Et[vn+2]<<16)>>>0}function Ce(Et,vn){return(Et[vn+0]|Et[vn+1]<<8|Et[vn+2]<<16|Et[vn+3]<<24)>>>0}new m;var I=[0],it=[0],tt=[],At=new m,He=e,Tt=function(Et,vn){var Te={},st=0,Mt=!1,Rt=0,Nn=0;if(Te.frames=[],!function(Pe,Bt){for(var Lt=0;Lt<4;Lt++)if(Pe[Bt+Lt]!="RIFF".charCodeAt(Lt))return!0;return!1}(Et,vn)){for(Ce(Et,vn+=4),vn+=8;vn>1&1}Tn!="ANMF"&&(vn+=En)}return Te}}(He,0);Tt.response=He,Tt.rgbaoutput=!0,Tt.dataurl=!1;var Pt=Tt.header?Tt.header:null,Ct=Tt.frames?Tt.frames:null;if(Pt){Pt.loop_counter=Pt.loop_count,I=[Pt.canvas_height],it=[Pt.canvas_width];for(var Fn=0;Fn=2?lt[1]:po[0],po[2]=lt.length>=3?lt[2]:po[0],po[3]=lt.length>=4?lt[3]:po[1]),y.margin=po}});var Hn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hn},set:function(lt){Hn=lt}});var zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return zn},set:function(lt){zn=lt}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(lt){or=lt}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(lt){lt instanceof U&&(y=lt)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(lt){y.path=lt}});var Nr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Nr},set:function(lt){Nr=lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(lt){var po;po=Ce(lt),this.ctx.fillStyle=po.style,this.ctx.isFillTransparent=po.a===0,this.ctx.fillOpacity=po.a,this.pdf.setFillColor(po.r,po.g,po.b,{a:po.a}),this.pdf.setTextColor(po.r,po.g,po.b,{a:po.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(lt){var po=Ce(lt);this.ctx.strokeStyle=po.style,this.ctx.isStrokeTransparent=po.a===0,this.ctx.strokeOpacity=po.a,po.a===0?this.pdf.setDrawColor(255,255,255):(po.a,this.pdf.setDrawColor(po.r,po.g,po.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(lt){["butt","round","square"].indexOf(lt)!==-1&&(this.ctx.lineCap=lt,this.pdf.setLineCap(lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(lt){isNaN(lt)||(this.ctx.lineWidth=lt,this.pdf.setLineWidth(lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(lt){["bevel","round","miter"].indexOf(lt)!==-1&&(this.ctx.lineJoin=lt,this.pdf.setLineJoin(lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(lt){isNaN(lt)||(this.ctx.miterLimit=lt,this.pdf.setMiterLimit(lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(lt){this.ctx.textBaseline=lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(lt){["right","end","center","left","start"].indexOf(lt)!==-1&&(this.ctx.textAlign=lt)}});var mo=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(lt){mo=null,ho=null,sa=lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(lt){var po;if(this.ctx.font=lt,(po=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(lt))!==null){var fi=po[1];po[2];var Ca=po[3],br=po[4];po[5];var xa=po[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(br)[2];br=Math.floor(jo==="px"?parseFloat(br)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(br)*this.pdf.getFontSize():parseFloat(br)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(br);var pa=function(na){var Cs,Gi,pi=[],yi=na.trim();if(yi==="")return k0;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Gi=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":Gi=Dc(yi.substring(1),Cs);break;default:Gi=pd(yi)}if(Gi===null||(pi.push(Gi[0]),(yi=lu(Gi[1]))!==""&&yi.charAt(0)!==","))return k0;yi=yi.replace(/^,/,"")}return pi}(xa);if(this.fontFaces){var ua=function(na,Cs){var Gi=na.getFontList(),pi=JSON.stringify(Gi);if(mo===null||ho!==pi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var Ga=null;switch(La){case"bold":Ga={family:RA,weight:"bold"};break;case"italic":Ga={family:RA,style:"italic"};break;case"bolditalic":Ga={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":Ga={family:RA}}Ga!==null&&(Ga.ref={name:RA,style:La},ha.push(Ga))})}),ha}(Gi);mo=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Va="bold"),fi==="italic"&&(Va+="italic"),Va.length===0&&(Va="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Ht=0,nn=2*Math.PI),this.path.push({type:"arc",x:Pe,y:Bt,radius:Lt,startAngle:Ht,endAngle:nn,counterclockwise:Bn})},oe.prototype.arcTo=function(Pe,Bt,Lt,Ht,nn){throw new Error("arcTo not implemented.")},oe.prototype.rect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,Bt),this.lineTo(Pe+Lt,Bt),this.lineTo(Pe+Lt,Bt+Ht),this.lineTo(Pe,Bt+Ht),this.lineTo(Pe,Bt),this.lineTo(Pe+Lt,Bt),this.lineTo(Pe,Bt)},oe.prototype.fillRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!I.call(this)){var nn={};this.lineCap!=="butt"&&(nn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(nn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,Bt,Lt,Ht),this.fill(),nn.hasOwnProperty("lineCap")&&(this.lineCap=nn.lineCap),nn.hasOwnProperty("lineJoin")&&(this.lineJoin=nn.lineJoin)}},oe.prototype.strokeRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");it.call(this)||(this.beginPath(),this.rect(Pe,Bt,Lt,Ht),this.stroke())},oe.prototype.clearRect=function(Pe,Bt,Lt,Ht){if(isNaN(Pe)||isNaN(Bt)||isNaN(Lt)||isNaN(Ht))throw bA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,Bt,Lt,Ht))},oe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var Bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Lt=0;Lt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};oe.prototype.drawImage=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn,or){var Nr=this.pdf.getImageProperties(Pe),mo=1,ho=1,sa=1,lt=1;Ht!==void 0&&zn!==void 0&&(sa=zn/Ht,lt=or/nn,mo=Nr.width/Ht*zn/Ht,ho=Nr.height/nn*or/nn),Bn===void 0&&(Bn=Bt,Hn=Lt,Bt=0,Lt=0),Ht!==void 0&&zn===void 0&&(zn=Ht,or=nn),Ht===void 0&&zn===void 0&&(zn=Nr.width,or=Nr.height);var po=this.ctx.transform.decompose(),fi=En(po.rotate.shx),Ca=new m,br=(Ca=(Ca=(Ca=Ca.multiply(po.translate)).multiply(po.skew)).multiply(po.scale)).applyToRectangle(new g(Bn-Bt*sa,Hn-Lt*lt,Ht*mo,nn*ho));if(this.autoPaging){for(var xa,jo=At.call(this,br),pa=[],ua=0;uadA||Vabr||jo0)){for(;or>=0;or--)if(nn[or-1].close!==!0&&nn[or-1].begin!==!0){nn[or-1].deltas.push(Lt),nn[or-1].abs.push(zn);break}}break;case"bct":Lt=[zn.x1-Bn[Hn-1].x,zn.y1-Bn[Hn-1].y,zn.x2-Bn[Hn-1].x,zn.y2-Bn[Hn-1].y,zn.x-Bn[Hn-1].x,zn.y-Bn[Hn-1].y],nn[nn.length-1].deltas.push(Lt);break;case"qct":var Nr=Bn[Hn-1].x+2/3*(zn.x1-Bn[Hn-1].x),mo=Bn[Hn-1].y+2/3*(zn.y1-Bn[Hn-1].y),ho=zn.x+2/3*(zn.x1-zn.x),sa=zn.y+2/3*(zn.y1-zn.y),lt=zn.x,po=zn.y;Lt=[Nr-Bn[Hn-1].x,mo-Bn[Hn-1].y,ho-Bn[Hn-1].x,sa-Bn[Hn-1].y,lt-Bn[Hn-1].x,po-Bn[Hn-1].y],nn[nn.length-1].deltas.push(Lt);break;case"arc":nn.push({deltas:[],abs:[],arc:!0}),Array.isArray(nn[nn.length-1].abs)&&nn[nn.length-1].abs.push(zn)}}Ht=Bt?null:Pe==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),nn=this.lineWidth,this.lineWidth=nn*Pe.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||Li-Xo.x)[0],Cs=Tt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Gi=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=nn)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),nn=this.lineWidth,this.lineWidth=nn*Pe.scale),this.pdf.text(Pe.text,or.x+this.posX,or.y+this.posY,{angle:Pe.angle,align:Bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=nn)},Mt=function(Pe,Bt,Lt,Ht){Lt=Lt||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Lt)+" "+r(Bt+Ht)+" l")},Rt=function(Pe,Bt,Lt){return this.pdf.lines(Pe,Bt,Lt,null,null)},Nn=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn){this.pdf.internal.out([n(a(Lt+Pe)),n(A(Ht+Bt)),n(a(nn+Pe)),n(A(Bn+Bt)),n(a(Hn+Pe)),n(A(zn+Bt)),"c"].join(" "))},Tn=function(Pe,Bt,Lt,Ht){for(var nn=2*Math.PI,Bn=Math.PI/2;Bt>Lt;)Bt-=nn;var Hn=Math.abs(Lt-Bt);Hn1e-5;){var mo=Nr+or*Math.min(Hn,Bn);zn.push(Kn.call(this,Pe,Nr,mo)),Hn-=Math.abs(mo-Nr),Nr=mo}return zn},Kn=function(Pe,Bt,Lt){var Ht=(Lt-Bt)/2,nn=Pe*Math.cos(Ht),Bn=Pe*Math.sin(Ht),Hn=nn,zn=-Bn,or=Hn*Hn+zn*zn,Nr=or+Hn*nn+zn*Bn,mo=4/3*(Math.sqrt(2*or*Nr)-Nr)/(Hn*Bn-zn*nn),ho=Hn-mo*zn,sa=zn+mo*Hn,lt=ho,po=-sa,fi=Ht+Bt,Ca=Math.cos(fi),br=Math.sin(fi);return{x1:Pe*Math.cos(Bt),y1:Pe*Math.sin(Bt),x2:ho*Ca-sa*br,y2:ho*br+sa*Ca,x3:lt*Ca-po*br,y3:lt*br+po*Ca,x4:Pe*Math.cos(Lt),y4:Pe*Math.sin(Lt)}},En=function(Pe){return 180*Pe/Math.PI},$n=function(Pe,Bt,Lt,Ht,nn,Bn){var Hn=Pe+.5*(Lt-Pe),zn=Bt+.5*(Ht-Bt),or=nn+.5*(Lt-nn),Nr=Bn+.5*(Ht-Bn),mo=Math.min(Pe,nn,Hn,or),ho=Math.max(Pe,nn,Hn,or),sa=Math.min(Bt,Bn,zn,Nr),lt=Math.max(Bt,Bn,zn,Nr);return new g(mo,sa,ho-mo,lt-sa)},Hr=function(Pe,Bt,Lt,Ht,nn,Bn,Hn,zn){var or,Nr,mo,ho,sa,lt,po,fi,Ca,br,xa,jo,pa,ua,dA=Lt-Pe,Li=Ht-Bt,Va=nn-Lt,Ti=Bn-Ht,Ni=Hn-nn,Xo=zn-Bn;for(Nr=0;Nr<41;Nr++)Ca=(po=(mo=Pe+(or=Nr/40)*dA)+or*((sa=Lt+or*Va)-mo))+or*(sa+or*(nn+or*Ni-sa)-po),br=(fi=(ho=Bt+or*Li)+or*((lt=Ht+or*Ti)-ho))+or*(lt+or*(Bn+or*Xo-lt)-fi),Nr==0?(xa=Ca,jo=br,pa=Ca,ua=br):(xa=Math.min(xa,Ca),jo=Math.min(jo,br),pa=Math.max(pa,Ca),ua=Math.max(ua,br));return new g(Math.round(xa),Math.round(jo),Math.round(pa-xa),Math.round(ua-jo))},hr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,Bt,Lt=(Pe=this.ctx.lineDash,Bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:Bt}));this.prevLineDash!==Lt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Lt)}}})(zo.API),function(e){var n=function(v){var g,m,y,U,oe,Ce,I,it,tt,At;for(/[^\x00-\xFF]/.test(v),m=[],y=0,U=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;U>y;y+=4)(oe=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(Ce=(oe=((oe=((oe=((oe=(oe-(At=oe%85))/85)-(tt=oe%85))/85)-(it=oe%85))/85)-(I=oe%85))/85)%85,m.push(Ce+33,I+33,it+33,tt+33,At+33)):m.push(122);return function(He,Tt){for(var Pt=Tt;Pt>0;Pt--)He.pop()}(m,g.length),String.fromCharCode.apply(String,m)+"~>"},t=function(v){var g,m,y,U,oe,Ce=String,I="length",it=255,tt="charCodeAt",At="slice",He="replace";for(v[At](-2),v=v[At](0,-2)[He](/\s/g,"")[He]("z","!!!!!"),y=[],U=0,oe=(v+=g="uuuuu"[At](v[I]%5||5))[I];oe>U;U+=5)m=52200625*(v[tt](U)-33)+614125*(v[tt](U+1)-33)+7225*(v[tt](U+2)-33)+85*(v[tt](U+3)-33)+(v[tt](U+4)-33),y.push(it&m>>24,it&m>>16,it&m>>8,it&m);return function(Tt,Pt){for(var Ct=Pt;Ct>0;Ct--)Tt.pop()}(y,g[I]),Ce.fromCharCode.apply(Ce,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var m="",y=0;ytt&&(it=At,At=tt,tt=it);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",tt>At&&(it=At,At=tt,tt=it)}return{width:At,height:tt,unit:m,k:oe,orientation:g}},e.html=function(g,m){(m=m||{}).callback=m.callback||function(){},m.html2canvas=m.html2canvas||{},m.html2canvas.canvas=m.html2canvas.canvas||this.canvas,m.jsPDF=m.jsPDF||this,m.fontFaces=m.fontFaces?m.fontFaces.map(Tl):null;var y=new v(m);return m.worker?y:y.from(g).doCallback()}}(zo.API),zo.API.addJS=function(e){return Pv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),A=0;A> endobj")}var I=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+I+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,A){var v={title:a,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var m=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+m.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Cr="",qn=0,wr=Ct.transparency.length;qn>",lt.content=l;var Vt=lt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=3};var Y=e.__arabicParser__.arabicLetterHasMedialForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length==4},we=e.__arabicParser__.resolveLigatures=function(lt){var pt=0,et=t,on="",Vt=0;for(pt=0;pt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(p){t=p}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(p){r=isNaN(p)||Number.isInteger(p)===!1||p<0?150:p,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(p){A=isNaN(p)||Number.isInteger(p)===!1||p<0?300:p,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(p){l=p}});var I={};Object.defineProperty(this,"style",{get:function(){return I},set:function(p){I=p}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var A;if((t=t||"2d")!=="2d")return null;for(A in r)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=r[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(So.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),A.call(this))},A=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(lt){S=lt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(lt){U=lt}});var Y=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Y},set:function(lt){Y=lt}});var we=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return we},set:function(lt){we=lt}});var Te=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Te},set:function(lt){Te=lt}});var J=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return J},set:function(lt){J=lt}});var gt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return gt},set:function(lt){gt=lt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,U){r.call(this);var Y=(U=U||{}).fontSize||this.getFontSize(),we=U.font||this.getFont(),Te=U.scaleFactor||this.internal.scaleFactor,J=0,gt=0,lt=0,pt=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var et=U.maxWidth;et>0?typeof S=="string"?S=this.splitTextToSize(S,et):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Vt,Mt){return Vt.concat(pt.splitTextToSize(Mt,et))},[])):S=Array.isArray(S)?S:[S];for(var on=0;onthis.getPageHeight()?(this.cellAddPage(),S.y=we.top,J&&Te&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Te[0].height)):S.y=U.y+U.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-Y,S.y+Y,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+Y,{align:"center",baseline:"top",maxWidth:S.width-Y-Y}):this.text(S.text,S.x+Y,S.y+Y,{align:"left",baseline:"top",maxWidth:S.width-Y-Y})),this.internal.__cell__.lastCell=S,this};e.table=function(S,U,Y,we,Te){if(r.call(this),!Y)throw new Error("No data for PDF table.");var J,gt,lt,pt,et=[],on=[],Vt=[],Mt={},$n={},xr=[],vr=[],vn=(Te=Te||{}).autoSize||!1,jt=Te.printHeaders!==!1,Kn=Te.css&&Te.css["font-size"]!==void 0?16*Te.css["font-size"]:Te.fontSize||12,_e=Te.margins||Object.assign({width:this.getPageWidth()},n),Ct=typeof Te.padding=="number"?Te.padding:3,an=Te.headerBackgroundColor||"#c8c8c8",Jt=Te.headerTextColor||"#000";if(A.call(this),this.internal.__cell__.printHeaders=jt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=Kn,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=an,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(Kn),we==null)on=et=Object.keys(Y[0]),Vt=et.map(function(){return"left"});else if(Array.isArray(we)&&(0,o.Z)(we[0])==="object")for(et=we.map(function(ba){return ba.name}),on=we.map(function(ba){return ba.prompt||ba.name||""}),Vt=we.map(function(ba){return ba.align||"left"}),J=0;J0&&this.setTableHeaderRow(Te),this.setFont(void 0,"normal"),t=!1}}(So.API);var Fs={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ec=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=yi(Ec),nl=[100,200,300,400,500,600,700,800,900],Uu=yi(nl);function Ml(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return Fs[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),A=function(l){return typeof $s[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:A,src:e.src||[],ref:e.ref||{name:n,style:[A,t,r].join(" ")}}}function Ic(e,n,t,r){var A;for(A=t;A>=0&&A=0&&A>>1)&255}return A}function Kv(e,n,t){var r=e.length,A=[];A[0]=4;for(var l=0;l>l&I}function kv(e,n,t,r){var A=t*r,l=Math.floor(A/8),I=16-(A-8*l+r),p=(1<>8&255;U.setUint8(Y,Te)}})(e,l,zv(e,l)&~(p<>7,I=1<<1+(7&A);e[n++],e[n++];var p=null,S=null;l&&(p=n,S=I,n+=3*I);var U=!0,Y=[],we=0,Te=null,J=0,gt=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var lt=e[n++];we=e[n++]|e[n++]<<8,Te=e[n++],1<||(Te=null),J=lt>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var pt=e[n++]|e[n++]<<8,et=e[n++]|e[n++]<<8,on=e[n++]|e[n++]<<8,Vt=e[n++]|e[n++]<<8,Mt=e[n++],$n=Mt>>6&1,xr=1<<1+(7&Mt),vr=p,vn=S,jt=!1;Mt>>7&&(jt=!0,vr=n,vn=xr,n+=3*xr);var Kn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}Y.push({x:pt,y:et,width:on,height:Vt,has_local_palette:jt,palette_offset:vr,palette_size:vn,data_offset:Kn,data_length:n-Kn,transparent_index:Te,interlaced:!!$n,delay:we,disposal:J});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return Y.length},this.loopCount=function(){return gt},this.frameInfo=function(Ct){if(Ct<0||Ct>=Y.length)throw new Error("Frame index out of range.");return Y[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,an){var Jt=this.frameInfo(Ct),ar=Jt.width*Jt.height,hr=new Uint8Array(ar);Zv(e,Jt.data_offset,hr,ar);var Cr=Jt.palette_offset,qn=Jt.transparent_index;qn===null&&(qn=256);var wr=Jt.width,ba=t-wr,Gr=wr,Je=4*(Jt.y*t+Jt.x),Rt=4*((Jt.y+Jt.height)*t+Jt.x),kt=Je,cn=4*ba;Jt.interlaced===!0&&(cn+=4*t*7);for(var In=8,Wn=0,mr=hr.length;Wn=Rt&&(cn=4*ba+4*t*(In-1),kt=Je+(wr+ba)*(In<<1),In>>=1)),Br===qn)kt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];an[kt++]=ro,an[kt++]=ma,an[kt++]=jr,an[kt++]=255}--Gr}},this.decodeAndBlitFrameRGBA=function(Ct,an){var Jt=this.frameInfo(Ct),ar=Jt.width*Jt.height,hr=new Uint8Array(ar);Zv(e,Jt.data_offset,hr,ar);var Cr=Jt.palette_offset,qn=Jt.transparent_index;qn===null&&(qn=256);var wr=Jt.width,ba=t-wr,Gr=wr,Je=4*(Jt.y*t+Jt.x),Rt=4*((Jt.y+Jt.height)*t+Jt.x),kt=Je,cn=4*ba;Jt.interlaced===!0&&(cn+=4*t*7);for(var In=8,Wn=0,mr=hr.length;Wn=Rt&&(cn=4*ba+4*t*(In-1),kt=Je+(wr+ba)*(In<<1),In>>=1)),Br===qn)kt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];an[kt++]=jr,an[kt++]=ma,an[kt++]=ro,an[kt++]=255}--Gr}}}function Zv(e,n,t,r){for(var A=e[n++],l=1<>=S,Y-=S,pt!==l){if(pt===I)break;for(var et=ptl;)Vt=gt[Vt]>>8,++on;var Mt=Vt;if(Te+on+(et!==pt?1:0)>r)return void Ri.log("Warning, gif stream longer than expected.");t[Te++]=Mt;var $n=Te+=on;for(et!==pt&&(t[Te++]=Mt),Vt=et;on--;)Vt=gt[Vt],t[--$n]=255&Vt,Vt>>=8;lt!==null&&p<4096&&(gt[p++]=lt<<8|Mt,p>=U+1&&S<12&&(++S,U=U<<1|1)),lt=pt}else p=I+1,U=(1<<(S=A+1))-1,lt=null}return Te!==r&&Ri.log("Warning, gif stream shorter than expected."),t}function X0(e){var n,t,r,A,l,I=Math.floor,p=new Array(64),S=new Array(64),U=new Array(64),Y=new Array(64),we=new Array(65535),Te=new Array(65535),J=new Array(64),gt=new Array(64),lt=[],pt=0,et=7,on=new Array(64),Vt=new Array(64),Mt=new Array(64),$n=new Array(256),xr=new Array(2048),vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],vn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Kn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],an=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ar=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function hr(Je,Rt){for(var kt=0,cn=0,In=new Array,Wn=1;Wn<=16;Wn++){for(var mr=1;mr<=Je[Wn];mr++)In[Rt[cn]]=[],In[Rt[cn]][0]=kt,In[Rt[cn]][1]=Wn,cn++,kt++;kt*=2}return In}function Cr(Je){for(var Rt=Je[0],kt=Je[1]-1;kt>=0;)Rt&1<>8&255),qn(255&Je)}function ba(Je,Rt,kt,cn,In){for(var Wn,mr=In[0],Br=In[240],jr=function(ia,iA){var wo,aA,Yo,xi,oi,UA,si,Ai,Do,jA,Zo=0;for(Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+1],Yo=ia[Zo+2],xi=ia[Zo+3],oi=ia[Zo+4],UA=ia[Zo+5],si=ia[Zo+6];var Cs=wo+(Ai=ia[Zo+7]),gi=wo-Ai,qA=aA+si,_A=aA-si,as=Yo+UA,eA=Yo-UA,Vi=xi+oi,vA=xi-oi,DA=Cs+Vi,os=Cs-Vi,ti=qA+as,uA=qA-as;ia[Zo]=DA+ti,ia[Zo+4]=DA-ti;var Si=.707106781*(uA+os);ia[Zo+2]=os+Si,ia[Zo+6]=os-Si;var Yf=.382683433*((DA=vA+eA)-(uA=_A+gi)),vl=.5411961*DA+Yf,Nu=1.306562965*uA+Yf,iu=.707106781*(ti=eA+_A),fA=gi+iu,Mu=gi-iu;ia[Zo+5]=Mu+vl,ia[Zo+3]=Mu-vl,ia[Zo+1]=fA+Nu,ia[Zo+7]=fA-Nu,Zo+=8}for(Zo=0,Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+8],Yo=ia[Zo+16],xi=ia[Zo+24],oi=ia[Zo+32],UA=ia[Zo+40],si=ia[Zo+48];var ju=wo+(Ai=ia[Zo+56]),ac=wo-Ai,oc=aA+si,hs=aA-si,el=Yo+UA,rl=Yo-UA,qf=xi+oi,mf=xi-oi,Pc=ju+qf,su=ju-qf,Qc=oc+el,Oc=oc-el;ia[Zo]=Pc+Qc,ia[Zo+32]=Pc-Qc;var Ac=.707106781*(Oc+su);ia[Zo+16]=su+Ac,ia[Zo+48]=su-Ac;var _f=.382683433*((Pc=mf+rl)-(Oc=hs+ac)),lu=.5411961*Pc+_f,$f=1.306562965*Oc+_f,Rd=.707106781*(Qc=rl+hs),Ud=ac+Rd,Dd=ac-Rd;ia[Zo+40]=Dd+lu,ia[Zo+24]=Dd-lu,ia[Zo+8]=Ud+$f,ia[Zo+56]=Ud-$f,Zo++}for(Do=0;Do<64;++Do)jA=ia[Do]*iA[Do],J[Do]=jA>0?jA+.5|0:jA-.5|0;return J}(Je,Rt),ma=0;ma<64;++ma)gt[vr[ma]]=jr[ma];var ro=gt[0]-kt;kt=gt[0],ro==0?Cr(cn[0]):(Cr(cn[Te[Wn=32767+ro]]),Cr(we[Wn]));for(var to=63;to>0&>[to]==0;)to--;if(to==0)return Cr(mr),kt;for(var Xo,Bt=1;Bt<=to;){for(var ao=Bt;gt[Bt]==0&&Bt<=to;)++Bt;var YA=Bt-ao;if(YA>=16){Xo=YA>>4;for(var AA=1;AA<=Xo;++AA)Cr(Br);YA&=15}Wn=32767+gt[Bt],Cr(In[(YA<<4)+Te[Wn]]),Cr(we[Wn]),Bt++}return to!=63&&Cr(mr),kt}function Gr(Je){Je=Math.min(Math.max(Je,1),100),l!=Je&&(function(Rt){for(var kt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var In=I((kt[cn]*Rt+50)/100);In=Math.min(Math.max(In,1),255),p[vr[cn]]=In}for(var Wn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],mr=0;mr<64;mr++){var Br=I((Wn[mr]*Rt+50)/100);Br=Math.min(Math.max(Br,1),255),S[vr[mr]]=Br}for(var jr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ma=0,ro=0;ro<8;ro++)for(var to=0;to<8;to++)U[ma]=1/(p[vr[ma]]*jr[ro]*jr[to]*8),Y[ma]=1/(S[vr[ma]]*jr[ro]*jr[to]*8),ma++}(Je<50?Math.floor(5e3/Je):Math.floor(200-2*Je)),l=Je)}this.encode=function(Je,Rt){Rt&&Gr(Rt),lt=new Array,pt=0,et=7,wr(65496),wr(65504),wr(16),qn(74),qn(70),qn(73),qn(70),qn(0),qn(1),qn(1),qn(0),wr(1),wr(1),qn(0),qn(0),function(){wr(65499),wr(132),qn(0);for(var aA=0;aA<64;aA++)qn(p[aA]);qn(1);for(var Yo=0;Yo<64;Yo++)qn(S[Yo])}(),function(aA,Yo){wr(65472),wr(17),qn(8),wr(Yo),wr(aA),qn(3),qn(1),qn(17),qn(0),qn(2),qn(17),qn(1),qn(3),qn(17),qn(1)}(Je.width,Je.height),function(){wr(65476),wr(418),qn(0);for(var aA=0;aA<16;aA++)qn(vn[aA+1]);for(var Yo=0;Yo<=11;Yo++)qn(jt[Yo]);qn(16);for(var xi=0;xi<16;xi++)qn(Kn[xi+1]);for(var oi=0;oi<=161;oi++)qn(_e[oi]);qn(1);for(var UA=0;UA<16;UA++)qn(Ct[UA+1]);for(var si=0;si<=11;si++)qn(an[si]);qn(17);for(var Ai=0;Ai<16;Ai++)qn(Jt[Ai+1]);for(var Do=0;Do<=161;Do++)qn(ar[Do])}(),wr(65498),wr(12),qn(3),qn(1),qn(0),qn(2),qn(17),qn(3),qn(17),qn(0),qn(63),qn(0);var kt=0,cn=0,In=0;pt=0,et=7,this.encode.displayName="_encode_";for(var Wn,mr,Br,jr,ma,ro,to,Xo,Bt,ao=Je.data,YA=Je.width,AA=Je.height,ia=4*YA,iA=0;iA>3)*ia+(to=4*(7&Bt)),iA+Xo>=AA&&(ro-=ia*(iA+1+Xo-AA)),Wn+to>=ia&&(ro-=Wn+to-ia+4),mr=ao[ro++],Br=ao[ro++],jr=ao[ro++],on[Bt]=(xr[mr]+xr[Br+256|0]+xr[jr+512|0]>>16)-128,Vt[Bt]=(xr[mr+768|0]+xr[Br+1024|0]+xr[jr+1280|0]>>16)-128,Mt[Bt]=(xr[mr+1280|0]+xr[Br+1536|0]+xr[jr+1792|0]>>16)-128;kt=ba(on,U,kt,n,r),cn=ba(Vt,Y,cn,t,A),In=ba(Mt,Y,In,t,A),Wn+=32}iA+=8}if(et>=0){var wo=[];wo[1]=et+1,wo[0]=(1<Ct;Ct++)if(jt[Kn+Ct]!=_e.charCodeAt(Ct))return!0;return!1}function r(jt,Kn,_e,Ct,an){for(var Jt=0;JtJt+1?[]:new Kn),!(ar.length>>0;c&T;)T>>>=1;return T?(c&T-1)+T:c}function _e(c,m,T,ee,Pe){n(!(ee%T));do c[m+(ee-=T)]=Pe;while(0=Pe),512>=Pe)var ke=l(512);else if((ke=l(Pe))==null)return 0;return function(Ge,nt,it,Et,dn,_n){var It,bn,kn=nt,Er=1<It;++It){if(Yn[It]>1<(zA-=Yn[It]))return 0;for(;0=It;++It,dn<<=1){if(Bo+=zA<<=1,0>(zA-=Yn[It]))return 0;for(;0fa&&!(0>=(Nr-=Yn[fa]));)++fa,Nr<<=1;Er+=Fo=1<<(Nr=fa-it),Ge[nt+(fa=To&$r)].g=Nr+it,Ge[nt+fa].value=kn-nt-fa}Et.g=It-it,Et.value=_n[bn++],_e(Ge,kn+(To>>it),dn,Fo,Et),To=Kn(To,It)}}return Bo!=2*Qr[15]-1?0:Er}(c,m,T,ee,Pe,ke)}function an(){this.value=this.g=0}function Jt(){this.value=this.g=0}function ar(){this.G=I(5,an),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=I(cd,Jt)}function hr(c,m,T,ee){n(c!=null),n(m!=null),n(2147483648>ee),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=m,c.pa=T,c.Jd=m,c.Yc=T+ee,c.Zc=4<=ee?T+ee-4+1:T,mr(c)}function Cr(c,m){for(var T=0;0ee),c.Sb=ee,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;cn(c)&&(c.h=1,c.u=0)}function Gr(c,m){if(n(0<=m),!c.h&&m<=zl){var T=kt(c)&kl[m];return c.u+=m,ba(c),T}return c.h=1,c.u=0}function Je(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function kt(c){return c.Ra>>>(c.u&wf-1)>>>0}function cn(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>wf}function In(c,m){c.u=m,c.h=cn(c)}function Wn(c){c.u>=Ju&&(n(c.u>=Ju),ba(c))}function mr(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&mr(c);var ee=c.b,Pe=T*m>>>8,ke=(c.I>>>ee>Pe)+0;for(ke?(T-=Pe,c.I-=Pe+1<>>0):T=Pe+1,ee=T,Pe=0;256<=ee;)Pe+=8,ee>>=8;return ee=7^Pe+yf[ee],c.b-=ee,c.Ca=(T<>24&255,c[m+1]=T>>16&255,c[m+2]=T>>8&255,c[m+3]=255&T}function ro(c,m){return c[m+0]|c[m+1]<<8}function to(c,m){return ro(c,m)|c[m+2]<<16}function Xo(c,m){return ro(c,m)|ro(c,m+2)<<16}function Bt(c,m){var T=1<=Pe||0>=ke?0:(T[0]=Pe,ee[0]=ke,1)}function ia(c,m){return c+(1<>>m}function iA(c,m){return((4278255360&c)+(4278255360&m)>>>0&4278255360)+((16711935&c)+(16711935&m)>>>0&16711935)>>>0}function wo(c,m){jt[m]=function(T,ee,Pe,ke,Ge,nt,it){var Et;for(Et=0;Et>>1)+(c&m)>>>0}function xi(c){return 0<=c&&256>c?c:0>c?0:255>1))}function UA(c,m,T){return Math.abs(m-T)-Math.abs(c-T)}function si(c,m,T,ee,Pe,ke,Ge){for(ee=ke[Ge-1],T=0;T>8&255,it=16711935&(it=(it=16711935&Ge)+((nt<<16)+nt));ee[Pe+ke]=(4278255360&Ge)+it>>>0}}function Do(c,m){m.jd=255&c,m.hd=c>>8&255,m.ud=c>>16&255}function jA(c,m,T,ee,Pe,ke){var Ge;for(Ge=0;Ge>>8,Et=nt,dn=255&(dn=(dn=nt>>>16)+((c.jd<<24>>24)*(it<<24>>24)>>>5));Et=255&(Et=(Et+=(c.hd<<24>>24)*(it<<24>>24)>>>5)+((c.ud<<24>>24)*(dn<<24>>24)>>>5)),Pe[ke+Ge]=(4278255360&nt)+(dn<<16)+Et}}function Zo(c,m,T,ee,Pe){jt[m]=function(ke,Ge,nt,it,Et,dn,_n,It,bn){for(it=_n;it>ke.b,bn=ke.Ea,kn=ke.K[0],Er=ke.w;if(8>It)for(ke=(1<>=It}else jt["VP8LMapColor"+T](it,Et,kn,Er,dn,_n,Ge,nt,bn)}}function Cs(c,m,T,ee,Pe){for(T=m+T;m>16&255,ee[Pe++]=ke>>8&255,ee[Pe++]=255&ke}}function gi(c,m,T,ee,Pe){for(T=m+T;m>16&255,ee[Pe++]=ke>>8&255,ee[Pe++]=255&ke,ee[Pe++]=ke>>24&255}}function qA(c,m,T,ee,Pe){for(T=m+T;m>16&240|Ge>>12&15,Ge=240&Ge|Ge>>28&15;ee[Pe++]=ke,ee[Pe++]=Ge}}function _A(c,m,T,ee,Pe){for(T=m+T;m>16&248|Ge>>13&7,Ge=Ge>>5&224|Ge>>3&31;ee[Pe++]=ke,ee[Pe++]=Ge}}function as(c,m,T,ee,Pe){for(T=m+T;m>8&255,ee[Pe++]=ke>>16&255}}function eA(c,m,T,ee,Pe,ke){if(ke==0)for(T=m+T;m>24|ke[1]>>8&65280|ke[2]<<8&16711680|ke[3]<<24)>>>0),Pe+=32;else r(ee,Pe,c,m,T)}function Vi(c,m){jt[m][0]=jt[c+"0"],jt[m][1]=jt[c+"1"],jt[m][2]=jt[c+"2"],jt[m][3]=jt[c+"3"],jt[m][4]=jt[c+"4"],jt[m][5]=jt[c+"5"],jt[m][6]=jt[c+"6"],jt[m][7]=jt[c+"7"],jt[m][8]=jt[c+"8"],jt[m][9]=jt[c+"9"],jt[m][10]=jt[c+"10"],jt[m][11]=jt[c+"11"],jt[m][12]=jt[c+"12"],jt[m][13]=jt[c+"13"],jt[m][14]=jt[c+"0"],jt[m][15]=jt[c+"0"]}function vA(c){return c==fv||c==dv||c==n0||c==hv}function DA(){this.eb=[],this.size=this.A=this.fb=0}function os(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ti(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new DA,this.f.kb=new os,this.sd=null}function uA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Si(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Yf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function vl(c,m){var T=c.T,ee=m.ba.f.RGBA,Pe=ee.eb,ke=ee.fb+c.ka*ee.A,Ge=fc[m.ba.S],nt=c.y,it=c.O,Et=c.f,dn=c.N,_n=c.ea,It=c.W,bn=m.cc,kn=m.dc,Er=m.Mc,Yn=m.Nc,Qr=c.ka,Nr=c.ka+c.T,fa=c.U,$r=fa+1>>1;for(Qr==0?Ge(nt,it,null,null,Et,dn,_n,It,Et,dn,_n,It,Pe,ke,null,null,fa):(Ge(m.ec,m.fc,nt,it,bn,kn,Er,Yn,Et,dn,_n,It,Pe,ke-ee.A,Pe,ke,fa),++T);Qr+2T,Pe=T==$g||T==e0||T==t0||T==uv||T==12||vA(T);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Oh(m.Oa,c,Pe?11:12))return 0;if(Pe&&vA(T)&&Fh(),c.da)alert("todo:use_scaling");else{if(ee){if(m.Ib=Yf,c.Kb){if(T=c.U+1>>1,m.memory=l(c.U+2*T),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+c.U,m.Mc=m.cc,m.Nc=m.dc+T,m.Ib=vl,Fh()}}else alert("todo:EmitYUV");Pe&&(m.Jb=Nu,ee&&Rc())}if(ee&&!Cm){for(c=0;256>c;++c)mp[c]=89858*(c-128)+a0>>r0,Bp[c]=-22014*(c-128)+a0,Cp[c]=-45773*(c-128),pp[c]=113618*(c-128)+a0>>r0;for(c=Kh;c>r0,wp[c-Kh]=cu(m,255),yp[c-Kh]=cu(m+8>>4,15);Cm=1}return 1}function fA(c){var m=c.ma,T=c.U,ee=c.T;return n(!(1&c.ka)),0>=T||0>=ee?0:(T=m.Ib(c,m),m.Jb!=null&&m.Jb(c,m,T),m.Dc+=T,1)}function Mu(c){c.ma.memory=null}function ju(c,m,T,ee){return Gr(c,8)!=47?0:(m[0]=Gr(c,14)+1,T[0]=Gr(c,14)+1,ee[0]=Gr(c,1),Gr(c,3)!=0?0:!c.h)}function ac(c,m){if(4>c)return c+1;var T=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&T)))?T:1;var T}function hs(c,m,T){var ee=kt(T),Pe=c[m+=255&ee].g-8;return 0>>0,n(8>=T.g),c.g}function rl(c,m,T){var ee=c.xc;return n((m=ee==0?0:c.vc[c.md*(T>>ee)+(m>>ee)])>Fo.b)*Bo;Erfa&&(Po=fa),(0,Dh[li[zs++]>>8&15])(It,bn+ +ZA,Qr,Nr+ZA-fa,Po-ZA,Qr,Nr+ZA),ZA=Po}bn+=fa,Nr+=fa,++Er&To||(Fo+=Bo)}_n!=Et.nc&&r(it,nt-kn,it,nt+(_n-dn-1)*kn,kn);break;case 1:for(kn=It,Yn=bn,fa=(It=Et.Ea)-(Nr=It&~(Qr=(bn=1<>Et.b)*Er;dn<_n;){for(To=$r,Bo=Et,zA=new aA,Fo=Yn+Nr,li=Yn+It;Yn=Pe),0ke.o&&(ee=ke.o),T=ee?T=0:(Pe[0]+=4*ke.v,ke.ka=T-ke.j,ke.U=ke.va-ke.v,ke.T=ee-T,T=1),T){if(nt=nt[0],11>(T=c.ca).S){var dn=T.f.RGBA,_n=(ee=T.S,Pe=ke.U,ke=ke.T,Et=dn.eb,dn.A),It=ke;for(dn=dn.fb+c.Ma*dn.A;0ee){var Pe=c.l.width,ke=T.ca,Ge=T.tb+Pe*ee,nt=c.V,it=c.Ba+c.c*ee,Et=c.gc;n(c.ab==1),n(Et[0].hc==3),hu(Et[0],ee,m,nt,it,ke,Ge),su(T,ee,m,ke,Ge,Pe)}c.C=c.Ma=m}function Oc(c,m,T,ee,Pe,ke,Ge){var nt=c.$/ee,it=c.$%ee,Et=c.m,dn=c.s,_n=T+c.$,It=_n;Pe=T+ee*Pe;var bn=T+ee*ke,kn=280+dn.ua,Er=c.Pb?nt:16777216,Yn=0=Er){var To=_n-T;n((Er=c).Pb),Er.wd=Er.m,Er.xd=To,0zA.g?(In($r,$r.u+zA.g),To[Bo]=zA.value,$r=0):(In($r,$r.u+zA.g-256),n(256<=zA.value),$r=zA.value),$r==0&&(fa=!0)}else $r=hs(Nr.G[0],Nr.H[0],Et);if(Et.h)break;if(fa||256>$r){if(!fa)if(Nr.nd)m[_n]=(Nr.qb|$r<<8)>>>0;else{if(Wn(Et),fa=hs(Nr.G[1],Nr.H[1],Et),Wn(Et),To=hs(Nr.G[2],Nr.H[2],Et),Bo=hs(Nr.G[3],Nr.H[3],Et),Et.h)break;m[_n]=(Bo<<24|fa<<16|$r<<8|To)>>>0}if(fa=!1,++_n,++it>=ee&&(it=0,++nt,Ge!=null&&nt<=ke&&!(nt%16)&&Ge(c,nt),Yn!=null))for(;It<_n;)$r=m[It++],Yn.X[(506832829*$r&4294967295)>>>Yn.Mb]=$r}else if(280>$r){if($r=ac($r-256,Et),To=hs(Nr.G[4],Nr.H[4],Et),Wn(Et),To=oc(ee,To=ac(To,Et)),Et.h)break;if(_n-T=ee;)it-=ee,++nt,Ge!=null&&nt<=ke&&!(nt%16)&&Ge(c,nt);if(n(_n<=Pe),it&Qr&&(Nr=rl(dn,it,nt)),Yn!=null)for(;It<_n;)$r=m[It++],Yn.X[(506832829*$r&4294967295)>>>Yn.Mb]=$r}else{if(!($r>>Yn.Mb]=$r;$r=_n,n(!(fa>>>(To=Yn).Xa)),m[$r]=To.X[fa],fa=!0}fa||n(Et.h==cn(Et))}if(c.Pb&&Et.h&&_nke?ke:nt),c.a=0,c.$=_n-T}return 1}return c.a=3,0}function Ac(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var m=c.Wa;m!=null&&(m.X=null),c.vb=null,n(c!=null)}function _f(){var c=new EA;return c==null?null:(c.a=0,c.xb=dm,Vi("Predictor","VP8LPredictors"),Vi("Predictor","VP8LPredictors_C"),Vi("PredictorAdd","VP8LPredictorsAdd"),Vi("PredictorAdd","VP8LPredictorsAdd_C"),Bs=Ai,Nh=jA,Mh=Cs,bf=gi,Ef=qA,If=_A,ud=as,jt.VP8LMapColor32b=du,jt.VP8LMapColor8b=Uh,c)}function lu(c,m,T,ee,Pe){var ke=1,Ge=[c],nt=[m],it=ee.m,Et=ee.s,dn=null,_n=0;e:for(;;){if(T)for(;ke&&Gr(it,1);){var It=Ge,bn=nt,kn=ee,Er=1,Yn=kn.m,Qr=kn.gc[kn.ab],Nr=Gr(Yn,2);if(kn.Oc&1<=kn.ab),Nr){case 0:case 1:Qr.b=Gr(Yn,3)+2,Er=lu(ia(Qr.Ea,Qr.b),ia(Qr.nc,Qr.b),0,kn,Qr.K),Qr.K=Qr.K[0];break;case 3:var fa,$r=Gr(Yn,8)+1,To=16<$r?0:4<$r?1:2<$r?2:3;if(It[0]=ia(Qr.Ea,To),Qr.b=To,fa=Er=lu($r,1,0,kn,Qr.K)){var Bo,zA=$r,Fo=Qr,li=1<<(8>>Fo.b),zs=l(li);if(zs==null)fa=0;else{var ZA=Fo.K[0],Po=Fo.w;for(zs[0]=Fo.K[0][0],Bo=1;Bo<1*zA;++Bo)zs[Bo]=iA(ZA[Po+Bo],zs[Bo-1]);for(;Bo<4*li;++Bo)zs[Bo]=0;Fo.K[0]=null,Fo.K[0]=zs,fa=1}}Er=fa;break;case 2:break;default:n(0)}ke=Er}}if(Ge=Ge[0],nt=nt[0],ke&&Gr(it,1)&&!(ke=1<=(_n=Gr(it,4))&&11>=_n)){ee.a=3;break e}var Xa;if(Xa=ke)t:{var ys,NA,di,qi=ee,Al=Ge,xl=nt,gs=_n,ml=T,Sl=qi.m,Zs=qi.s,mi=[null],Ui=1,vs=0,Di=ap[gs];n:for(;;){if(ml&&Gr(Sl,1)){var il=Gr(Sl,3)+2,Dc=ia(Al,il),bs=ia(xl,il),jl=Dc*bs;if(!lu(Dc,bs,0,qi,mi))break n;for(mi=mi[0],Zs.xc=il,ys=0;ys>8&65535;mi[ys]=Ki,Ki>=Ui&&(Ui=Ki+1)}}if(Sl.h)break n;for(NA=0;5>NA;++NA){var Vs=um[NA];!NA&&0=Fl),Xl=Wl;var Hl=l(vs);if(Xl==null||Hl==null||Vl==null){qi.a=1;break n}var Gl=Vl;for(ys=di=0;ysNA;++NA){Vs=um[NA],Jl[NA]=Gl,Nc[NA]=di,!NA&&0c0)break r}else Bv=c0;for(zh=0;zhVd)xm[zh++]=Vd,Vd!=0&&(Sm=Vd);else{var Lp=Vd==16,Qm=Vd-16,Rp=ep[Qm],Om=Gr(Qf,$m[Qm])+Rp;if(zh+Om>c0)break r;for(var Up=Lp?Sm:0;0=NA){var Zh,yv=Hl[0];for(Zh=1;Zhyv&&(yv=Hl[Zh]);sl+=yv}}if(Xi.nd=_u,Xi.Qb=0,_u&&(Xi.qb=(Jl[3][Nc[3]+0].value<<24|Jl[1][Nc[1]+0].value<<16|Jl[2][Nc[2]+0].value)>>>0,dd==0&&256>Jl[0][Nc[0]+0].value&&(Xi.Qb=1,Xi.qb+=Jl[0][Nc[0]+0].value<<8)),Xi.jc=!Xi.Qb&&6>sl,Xi.jc){var u0,$u=Xi;for(u0=0;u0>=el(f0,8,Lf),Of>>=el($u.G[1][$u.H[1]+Of],16,Lf),Of>>=el($u.G[2][$u.H[2]+Of],0,Lf),el($u.G[3][$u.H[3]+Of],24,Lf))}}}Zs.vc=mi,Zs.Wb=Ui,Zs.Ya=Xl,Zs.yc=Vl,Xa=1;break t}Xa=0}if(!(ke=Xa)){ee.a=3;break e}if(0<_n){if(Et.ua=1<<_n,!Bt(Et.Wa,_n)){ee.a=1,ke=0;break e}}else Et.ua=0;var bv=ee,Lm=Ge,Dp=nt,Ev=bv.s,Iv=Ev.xc;if(bv.c=Lm,bv.i=Dp,Ev.md=ia(Lm,Iv),Ev.wc=Iv==0?-1:(1<ee+1?[]:0),!(Pe.lengthc?0:c>m?m:c}function Nd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Ng;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,Th||(Th=Md)),c}function Ps(c,m,T){return c.a==0&&(c.a=m,c.sc=T,c.cb=0),0}function Mg(c,m,T){return 3<=T&&c[m+0]==157&&c[m+1]==1&&c[m+2]==42}function uu(c,m){if(c==null)return 0;if(c.a=0,c.sc="OK",m==null)return Ps(c,2,"null VP8Io passed to VP8GetHeaders()");var T=m.data,ee=m.w,Pe=m.ha;if(4>Pe)return Ps(c,7,"Truncated header.");var ke=T[ee+0]|T[ee+1]<<8|T[ee+2]<<16,Ge=c.Od;if(Ge.Rb=!(1&ke),Ge.td=ke>>1&7,Ge.yd=ke>>4&1,Ge.ub=ke>>5,3Pe)return Ps(c,7,"cannot parse picture header");if(!Mg(T,ee,Pe))return Ps(c,3,"Bad code word");nt.c=16383&(T[ee+4]<<8|T[ee+3]),nt.Td=T[ee+4]>>6,nt.i=16383&(T[ee+6]<<8|T[ee+5]),nt.Ud=T[ee+6]>>6,ee+=7,Pe-=7,c.za=nt.c+15>>4,c.Ub=nt.i+15>>4,m.width=nt.c,m.height=nt.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,A((ke=c.Pa).jb,0,255,ke.jb.length),n((ke=c.Qa)!=null),ke.Cb=0,ke.Bb=0,ke.Fb=1,A(ke.Zb,0,0,ke.Zb.length),A(ke.Lb,0,0,ke.Lb)}if(Ge.ub>Pe)return Ps(c,7,"bad partition length");hr(ke=c.m,T,ee,Ge.ub),ee+=Ge.ub,Pe-=Ge.ub,Ge.Rb&&(nt.Ld=Br(ke),nt.Kd=Br(ke)),nt=c.Qa;var it,Et=c.Pa;if(n(ke!=null),n(nt!=null),nt.Cb=Br(ke),nt.Cb){if(nt.Bb=Br(ke),Br(ke)){for(nt.Fb=Br(ke),it=0;4>it;++it)nt.Zb[it]=Br(ke)?qn(ke,7):0;for(it=0;4>it;++it)nt.Lb[it]=Br(ke)?qn(ke,6):0}if(nt.Bb)for(it=0;3>it;++it)Et.jb[it]=Br(ke)?Cr(ke,8):255}else nt.Bb=0;if(ke.Ka)return Ps(c,3,"cannot parse segment header");if((nt=c.ed).zd=Br(ke),nt.Tb=Cr(ke,6),nt.wb=Cr(ke,3),nt.Pc=Br(ke),nt.Pc&&Br(ke)){for(Et=0;4>Et;++Et)Br(ke)&&(nt.vd[Et]=qn(ke,6));for(Et=0;4>Et;++Et)Br(ke)&&(nt.od[Et]=qn(ke,6))}if(c.L=nt.Tb==0?0:nt.zd?1:2,ke.Ka)return Ps(c,3,"cannot parse filter header");var dn=Pe;if(Pe=it=ee,ee=it+dn,nt=dn,c.Xb=(1<nt&&(_n=nt),hr(c.Jc[+dn],T,it,_n),it+=_n,nt-=_n,Pe+=3}hr(c.Jc[+Et],T,it,nt),T=it_n;++_n){if(dn.Cb){var It=dn.Zb[_n];dn.Fb||(It+=T)}else{if(0<_n){c.pb[_n]=c.pb[0];continue}It=T}var bn=c.pb[_n];bn.Sc[0]=gv[cu(It+Pe,127)],bn.Sc[1]=vv[cu(It+0,127)],bn.Eb[0]=2*gv[cu(It+ee,127)],bn.Eb[1]=101581*vv[cu(It+nt,127)]>>16,8>bn.Eb[1]&&(bn.Eb[1]=8),bn.Qc[0]=gv[cu(It+Et,117)],bn.Qc[1]=vv[cu(It+it,127)],bn.lc=It+it}if(!Ge.Rb)return Ps(c,4,"Not a key frame.");for(Br(ke),Ge=c.Pa,T=0;4>T;++T){for(Pe=0;8>Pe;++Pe)for(ee=0;3>ee;++ee)for(nt=0;11>nt;++nt)Et=jr(ke,cp[T][Pe][ee][nt])?Cr(ke,8):sp[T][Pe][ee][nt],Ge.Wc[T][Pe].Yb[ee][nt]=Et;for(Pe=0;17>Pe;++Pe)Ge.Xc[T][Pe]=Ge.Wc[T][up[Pe]]}return c.kc=Br(ke),c.kc&&(c.Bd=Cr(ke,8)),c.cb=1}function Md(c,m,T,ee,Pe,ke,Ge){var nt=m[Pe].Yb[T];for(T=0;16>Pe;++Pe){if(!jr(c,nt[T+0]))return Pe;for(;!jr(c,nt[T+1]);)if(nt=m[++Pe].Yb[0],T=0,Pe==16)return 16;var it=m[Pe+1].Yb;if(jr(c,nt[T+2])){var Et=c,dn=0;if(jr(Et,(It=nt)[(_n=T)+3]))if(jr(Et,It[_n+6])){for(nt=0,_n=2*(dn=jr(Et,It[_n+8]))+(It=jr(Et,It[_n+9+dn])),dn=0,It=Ap[_n];It[nt];++nt)dn+=dn+jr(Et,It[nt]);dn+=3+(8<<_n)}else jr(Et,It[_n+7])?(dn=7+2*jr(Et,165),dn+=jr(Et,145)):dn=5+jr(Et,159);else dn=jr(Et,It[_n+4])?3+jr(Et,It[_n+5]):2;nt=it[2]}else dn=1,nt=it[1];it=Ge+ip[Pe],0>(Et=c).b&&mr(Et);var _n,It=Et.b,bn=(_n=Et.Ca>>1)-(Et.I>>It)>>31;--Et.b,Et.Ca+=bn,Et.Ca|=1,Et.I-=(_n+1&bn)<>3),c[m+T+32*ee]=-256&Pe?0>Pe?0:255:Pe}function Ts(c,m,T,ee,Pe,ke){sc(c,m,0,T,ee+Pe),sc(c,m,1,T,ee+ke),sc(c,m,2,T,ee-ke),sc(c,m,3,T,ee-Pe)}function Hu(c){return(20091*c>>16)+c}function Hg(c,m,T,ee){var Pe,ke=0,Ge=l(16);for(Pe=0;4>Pe;++Pe){var nt=c[m+0]+c[m+8],it=c[m+0]-c[m+8],Et=(35468*c[m+4]>>16)-Hu(c[m+12]),dn=Hu(c[m+4])+(35468*c[m+12]>>16);Ge[ke+0]=nt+dn,Ge[ke+1]=it+Et,Ge[ke+2]=it-Et,Ge[ke+3]=nt-dn,ke+=4,m++}for(Pe=ke=0;4>Pe;++Pe)nt=(c=Ge[ke+0]+4)+Ge[ke+8],it=c-Ge[ke+8],Et=(35468*Ge[ke+4]>>16)-Hu(Ge[ke+12]),sc(T,ee,0,0,nt+(dn=Hu(Ge[ke+4])+(35468*Ge[ke+12]>>16))),sc(T,ee,1,0,it+Et),sc(T,ee,2,0,it-Et),sc(T,ee,3,0,nt-dn),ke++,ee+=32}function Y0(c,m,T,ee){var Pe=c[m+0]+4,ke=35468*c[m+4]>>16,Ge=Hu(c[m+4]),nt=35468*c[m+1]>>16;Ts(T,ee,0,Pe+Ge,c=Hu(c[m+1]),nt),Ts(T,ee,1,Pe+ke,c,nt),Ts(T,ee,2,Pe-ke,c,nt),Ts(T,ee,3,Pe-Ge,c,nt)}function q0(c,m,T,ee,Pe){Hg(c,m,T,ee),Pe&&Hg(c,m+16,T,ee+4)}function fu(c,m,T,ee){fd(c,m+0,T,ee,1),fd(c,m+32,T,ee+128,1)}function Tg(c,m,T,ee){var Pe;for(c=c[m+0]+4,Pe=0;4>Pe;++Pe)for(m=0;4>m;++m)sc(T,ee,m,Pe,c)}function Kg(c,m,T,ee){c[m+0]&&Fi(c,m+0,T,ee),c[m+16]&&Fi(c,m+16,T,ee+4),c[m+32]&&Fi(c,m+32,T,ee+128),c[m+48]&&Fi(c,m+48,T,ee+128+4)}function jd(c,m,T,ee){var Pe,ke=l(16);for(Pe=0;4>Pe;++Pe){var Ge=c[m+0+Pe]+c[m+12+Pe],nt=c[m+4+Pe]+c[m+8+Pe],it=c[m+4+Pe]-c[m+8+Pe],Et=c[m+0+Pe]-c[m+12+Pe];ke[0+Pe]=Ge+nt,ke[8+Pe]=Ge-nt,ke[4+Pe]=Et+it,ke[12+Pe]=Et-it}for(Pe=0;4>Pe;++Pe)Ge=(c=ke[0+4*Pe]+3)+ke[3+4*Pe],nt=ke[1+4*Pe]+ke[2+4*Pe],it=ke[1+4*Pe]-ke[2+4*Pe],Et=c-ke[3+4*Pe],T[ee+0]=Ge+nt>>3,T[ee+16]=Et+it>>3,T[ee+32]=Ge-nt>>3,T[ee+48]=Et-it>>3,ee+=64}function ed(c,m,T){var ee,Pe=m-32,ke=Zl,Ge=255-c[Pe-1];for(ee=0;eeT;++T)r(c,m+32*T,c,m-32,16)}function kg(c,m){var T;for(T=16;0ee;++ee)A(m,T+32*ee,c,16)}function tv(c,m){var T,ee=16;for(T=0;16>T;++T)ee+=c[m-1+32*T]+c[m+T-32];Lc(ee>>5,c,m)}function td(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m-1+32*T];Lc(ee>>4,c,m)}function wh(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m+T-32];Lc(ee>>4,c,m)}function nv(c,m){Lc(128,c,m)}function FA(c,m,T){return c+2*m+T+2>>2}function rv(c,m){var T,ee=m-32;for(ee=new Uint8Array([FA(c[ee-1],c[ee+0],c[ee+1]),FA(c[ee+0],c[ee+1],c[ee+2]),FA(c[ee+1],c[ee+2],c[ee+3]),FA(c[ee+2],c[ee+3],c[ee+4])]),T=0;4>T;++T)r(c,m+32*T,ee,0,ee.length)}function av(c,m){var T=c[m-1],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96];ma(c,m+0,16843009*FA(c[m-1-32],T,ee)),ma(c,m+32,16843009*FA(T,ee,Pe)),ma(c,m+64,16843009*FA(ee,Pe,ke)),ma(c,m+96,16843009*FA(Pe,ke,ke))}function ov(c,m){var T,ee=4;for(T=0;4>T;++T)ee+=c[m+T-32]+c[m-1+32*T];for(ee>>=3,T=0;4>T;++T)A(c,m+32*T,ee,4)}function Tu(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1-32],Ge=c[m+0-32],nt=c[m+1-32],it=c[m+2-32],Et=c[m+3-32];c[m+0+96]=FA(ee,Pe,c[m-1+96]),c[m+1+96]=c[m+0+64]=FA(T,ee,Pe),c[m+2+96]=c[m+1+64]=c[m+0+32]=FA(ke,T,ee),c[m+3+96]=c[m+2+64]=c[m+1+32]=c[m+0+0]=FA(Ge,ke,T),c[m+3+64]=c[m+2+32]=c[m+1+0]=FA(nt,Ge,ke),c[m+3+32]=c[m+2+0]=FA(it,nt,Ge),c[m+3+0]=FA(Et,it,nt)}function Ku(c,m){var T=c[m+1-32],ee=c[m+2-32],Pe=c[m+3-32],ke=c[m+4-32],Ge=c[m+5-32],nt=c[m+6-32],it=c[m+7-32];c[m+0+0]=FA(c[m+0-32],T,ee),c[m+1+0]=c[m+0+32]=FA(T,ee,Pe),c[m+2+0]=c[m+1+32]=c[m+0+64]=FA(ee,Pe,ke),c[m+3+0]=c[m+2+32]=c[m+1+64]=c[m+0+96]=FA(Pe,ke,Ge),c[m+3+32]=c[m+2+64]=c[m+1+96]=FA(ke,Ge,nt),c[m+3+64]=c[m+2+96]=FA(Ge,nt,it),c[m+3+96]=FA(nt,it,it)}function Av(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1-32],Ge=c[m+0-32],nt=c[m+1-32],it=c[m+2-32],Et=c[m+3-32];c[m+0+0]=c[m+1+64]=ke+Ge+1>>1,c[m+1+0]=c[m+2+64]=Ge+nt+1>>1,c[m+2+0]=c[m+3+64]=nt+it+1>>1,c[m+3+0]=it+Et+1>>1,c[m+0+96]=FA(Pe,ee,T),c[m+0+64]=FA(ee,T,ke),c[m+0+32]=c[m+1+96]=FA(T,ke,Ge),c[m+1+32]=c[m+2+96]=FA(ke,Ge,nt),c[m+2+32]=c[m+3+96]=FA(Ge,nt,it),c[m+3+32]=FA(nt,it,Et)}function iv(c,m){var T=c[m+0-32],ee=c[m+1-32],Pe=c[m+2-32],ke=c[m+3-32],Ge=c[m+4-32],nt=c[m+5-32],it=c[m+6-32],Et=c[m+7-32];c[m+0+0]=T+ee+1>>1,c[m+1+0]=c[m+0+64]=ee+Pe+1>>1,c[m+2+0]=c[m+1+64]=Pe+ke+1>>1,c[m+3+0]=c[m+2+64]=ke+Ge+1>>1,c[m+0+32]=FA(T,ee,Pe),c[m+1+32]=c[m+0+96]=FA(ee,Pe,ke),c[m+2+32]=c[m+1+96]=FA(Pe,ke,Ge),c[m+3+32]=c[m+2+96]=FA(ke,Ge,nt),c[m+3+64]=FA(Ge,nt,it),c[m+3+96]=FA(nt,it,Et)}function Hd(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96];c[m+0+0]=T+ee+1>>1,c[m+2+0]=c[m+0+32]=ee+Pe+1>>1,c[m+2+32]=c[m+0+64]=Pe+ke+1>>1,c[m+1+0]=FA(T,ee,Pe),c[m+3+0]=c[m+1+32]=FA(ee,Pe,ke),c[m+3+32]=c[m+1+64]=FA(Pe,ke,ke),c[m+3+64]=c[m+2+64]=c[m+0+96]=c[m+1+96]=c[m+2+96]=c[m+3+96]=ke}function yh(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96],Ge=c[m-1-32],nt=c[m+0-32],it=c[m+1-32],Et=c[m+2-32];c[m+0+0]=c[m+2+32]=T+Ge+1>>1,c[m+0+32]=c[m+2+64]=ee+T+1>>1,c[m+0+64]=c[m+2+96]=Pe+ee+1>>1,c[m+0+96]=ke+Pe+1>>1,c[m+3+0]=FA(nt,it,Et),c[m+2+0]=FA(Ge,nt,it),c[m+1+0]=c[m+3+32]=FA(T,Ge,nt),c[m+1+32]=c[m+3+64]=FA(ee,T,Ge),c[m+1+64]=c[m+3+96]=FA(Pe,ee,T),c[m+1+96]=FA(ke,Pe,ee)}function nd(c,m){var T;for(T=0;8>T;++T)r(c,m+32*T,c,m-32,8)}function sv(c,m){var T;for(T=0;8>T;++T)A(c,m,c[m-1],8),m+=32}function ku(c,m,T){var ee;for(ee=0;8>ee;++ee)A(m,T+32*ee,c,8)}function lv(c,m){var T,ee=8;for(T=0;8>T;++T)ee+=c[m+T-32]+c[m-1+32*T];ku(ee>>4,c,m)}function bh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m+T-32];ku(ee>>3,c,m)}function Eh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m-1+32*T];ku(ee>>3,c,m)}function zg(c,m){ku(128,c,m)}function zu(c,m,T){var ee=c[m-T],Pe=c[m+0],ke=3*(Pe-ee)+cv[1020+c[m-2*T]-c[m+T]],Ge=qg[112+(ke+4>>3)];c[m-T]=Zl[255+ee+qg[112+(ke+3>>3)]],c[m+0]=Zl[255+Pe-Ge]}function Ih(c,m,T,ee){var Pe=c[m+0],ke=c[m+T];return uc[255+c[m-2*T]-c[m-T]]>ee||uc[255+ke-Pe]>ee}function Td(c,m,T,ee){return 4*uc[255+c[m-T]-c[m+0]]+uc[255+c[m-2*T]-c[m+T]]<=ee}function xh(c,m,T,ee,Pe){var ke=c[m-3*T],Ge=c[m-2*T],nt=c[m-T],it=c[m+0],Et=c[m+T],dn=c[m+2*T],_n=c[m+3*T];return 4*uc[255+nt-it]+uc[255+Ge-Et]>ee?0:uc[255+c[m-4*T]-ke]<=Pe&&uc[255+ke-Ge]<=Pe&&uc[255+Ge-nt]<=Pe&&uc[255+_n-dn]<=Pe&&uc[255+dn-Et]<=Pe&&uc[255+Et-it]<=Pe}function rd(c,m,T,ee){var Pe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee,T,Pe)&&zu(c,m+ee,T)}function Sh(c,m,T,ee){var Pe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee*T,1,Pe)&&zu(c,m+ee*T,1)}function Zg(c,m,T,ee){var Pe;for(Pe=3;0>7,Qr=18*Nr+63>>7,Nr=9*Nr+63>>7;it[Et-3*dn]=Zl[255+it[Et-3*dn]+Nr],it[Et-2*dn]=Zl[255+_n+Qr],it[Et-dn]=Zl[255+It+Yn],it[Et+0]=Zl[255+bn-Yn],it[Et+dn]=Zl[255+kn-Qr],it[Et+2*dn]=Zl[255+Er-Nr]}m+=ee}}function Vu(c,m,T,ee,Pe,ke,Ge,nt){for(ke=2*ke+1;0>3)],Er=qg[112+(Er+3>>3)],Yn=kn+1>>1;it[Et-2*dn]=Zl[255+it[Et-2*dn]+Yn],it[Et-dn]=Zl[255+_n+Er],it[Et+0]=Zl[255+It-kn],it[Et+dn]=Zl[255+bn-Yn]}m+=ee}}function Wg(c,m,T,ee,Pe,ke){Zu(c,m,T,1,16,ee,Pe,ke)}function ad(c,m,T,ee,Pe,ke){Zu(c,m,1,T,16,ee,Pe,ke)}function Xg(c,m,T,ee,Pe,ke){var Ge;for(Ge=3;0Et?0:255:Et)&255,Et=it,Pe[ke+nt]=dn}}function Wi(c,m,T,ee){var Pe=m.width,ke=m.o;if(n(c!=null&&m!=null),0>T||0>=ee||T+ee>ke)return null;if(!c.Cc){if(c.ga==null){var Ge;if(c.ga=new HA,(Ge=c.ga==null)||(Ge=m.width*m.o,n(c.Gb.length==0),c.Gb=l(Ge),c.Uc=0,c.Gb==null?Ge=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Ge=1),Ge=!Ge),!Ge){Ge=c.ga;var nt=c.Fa,it=c.P,Et=c.qc,dn=c.mb,_n=c.nb,It=it+1,bn=Et-1,kn=Ge.l;if(n(nt!=null&&dn!=null&&m!=null),Ff[0]=null,Ff[1]=vi,Ff[2]=ls,Ff[3]=Qs,Ge.ca=dn,Ge.tb=_n,Ge.c=m.width,Ge.i=m.height,n(0=Et)m=0;else if(Ge.$a=3&nt[it+0],Ge.Z=nt[it+0]>>2&3,Ge.Lc=nt[it+0]>>4&3,it=nt[it+0]>>6&3,0>Ge.$a||1=Ge.c*Ge.i;Ge=!m}if(Ge)return null;c.ga.Lc!=1?c.Ga=0:ee=ke-T}n(c.ga!=null),n(T+ee<=ke);e:{if(m=(nt=c.ga).c,ke=nt.l.o,nt.$a==0){if(It=c.rc,bn=c.Vc,kn=c.Fa,it=c.P+1+T*m,Et=c.mb,dn=c.nb+T*m,n(it<=c.P+c.qc),nt.Z!=0)for(n(Ff[nt.Z]!=null),Ge=0;Ge=m)m=1;else if(nt.ic||Rc(),nt.ic){nt=Ge.V,It=Ge.Ba,bn=Ge.c;var Er=Ge.i,Yn=(kn=1,it=Ge.$/bn,Et=Ge.$%bn,dn=Ge.m,_n=Ge.s,Ge.$),Qr=bn*Er,Nr=bn*m,fa=_n.wc,$r=Yn(Er=hs($r.G[0],$r.H[0],dn)))nt[It+Yn]=Er,++Yn,++Et>=bn&&(Et=0,++it<=m&&!(it%16)&&Qc(Ge,it));else{if(!(280>Er)){kn=0;break t}Er=ac(Er-256,dn);var To,Bo=hs($r.G[4],$r.H[4],dn);if(Wn(dn),!(Yn>=(Bo=oc(bn,Bo=ac(Bo,dn)))&&Qr-Yn>=Er)){kn=0;break t}for(To=0;To=bn;)Et-=bn,++it<=m&&!(it%16)&&Qc(Ge,it);Ynm?m:it);break t}!kn||dn.h&&Yn=ke&&(c.Cc=1),ee=1}if(!ee)return null;if(c.Cc&&((ee=c.ga)!=null&&(ee.mc=null),c.ga=null,0>23,nt[it+4*Ge+1]=nt[it+4*Ge+1]*_n>>23,nt[it+4*Ge+2]=nt[it+4*Ge+2]*_n>>23)}m+=ke}}function Os(c,m,T,ee,Pe){for(;0>4)*it>>16;c[m+2*ke+0]=(240&Ge|Ge>>4)*it>>16&240|(15&Ge|Ge<<4)*it>>16>>4&15,c[m+2*ke+1]=240&Et|nt}m+=Pe}}function al(c,m,T,ee,Pe,ke,Ge,nt){var it,Et,dn=255;for(Et=0;Et>8}function Rc(){Hh=Ks,tm=Os,nm=al,rm=Wu}function Xu(c,m,T){jt[c]=function(ee,Pe,ke,Ge,nt,it,Et,dn,_n,It,bn,kn,Er,Yn,Qr,Nr,fa){var $r,To=fa-1>>1,Bo=nt[it+0]|Et[dn+0]<<16,zA=_n[It+0]|bn[kn+0]<<16;n(ee!=null);var Fo=3*Bo+zA+131074>>2;for(m(ee[Pe+0],255&Fo,Fo>>16,Er,Yn),ke!=null&&(Fo=3*zA+Bo+131074>>2,m(ke[Ge+0],255&Fo,Fo>>16,Qr,Nr)),$r=1;$r<=To;++$r){var li=nt[it+$r]|Et[dn+$r]<<16,zs=_n[It+$r]|bn[kn+$r]<<16,ZA=Bo+li+zA+zs+524296,Po=ZA+2*(li+zA)>>3;Fo=Po+Bo>>1,Bo=(ZA=ZA+2*(Bo+zs)>>3)+li>>1,m(ee[Pe+2*$r-1],255&Fo,Fo>>16,Er,Yn+(2*$r-1)*T),m(ee[Pe+2*$r-0],255&Bo,Bo>>16,Er,Yn+(2*$r-0)*T),ke!=null&&(Fo=ZA+zA>>1,Bo=Po+zs>>1,m(ke[Ge+2*$r-1],255&Fo,Fo>>16,Qr,Nr+(2*$r-1)*T),m(ke[Ge+2*$r+0],255&Bo,Bo>>16,Qr,Nr+(2*$r+0)*T)),Bo=li,zA=zs}1&fa||(Fo=3*Bo+zA+131074>>2,m(ee[Pe+fa-1],255&Fo,Fo>>16,Er,Yn+(fa-1)*T),ke!=null&&(Fo=3*zA+Bo+131074>>2,m(ke[Ge+fa-1],255&Fo,Fo>>16,Qr,Nr+(fa-1)*T)))}}function Fh(){fc[_g]=dp,fc[$g]=hm,fc[lm]=hp,fc[e0]=gm,fc[t0]=vm,fc[uv]=mm,fc[cm]=gp,fc[fv]=hm,fc[dv]=gm,fc[n0]=vm,fc[hv]=mm}function Kd(c){return c&~vp?0>c?0:255:c>>pm}function pf(c,m){return Kd((19077*c>>8)+(26149*m>>8)-14234)}function od(c,m,T){return Kd((19077*c>>8)-(6419*m>>8)-(13320*T>>8)+8708)}function Ad(c,m){return Kd((19077*c>>8)+(33050*m>>8)-17685)}function Cf(c,m,T,ee,Pe){ee[Pe+0]=pf(c,T),ee[Pe+1]=od(c,m,T),ee[Pe+2]=Ad(c,m)}function ol(c,m,T,ee,Pe){ee[Pe+0]=Ad(c,m),ee[Pe+1]=od(c,m,T),ee[Pe+2]=pf(c,T)}function id(c,m,T,ee,Pe){var ke=od(c,m,T);m=ke<<3&224|Ad(c,m)>>3,ee[Pe+0]=248&pf(c,T)|ke>>5,ee[Pe+1]=m}function sd(c,m,T,ee,Pe){var ke=240&Ad(c,m)|15;ee[Pe+0]=240&pf(c,T)|od(c,m,T)>>4,ee[Pe+1]=ke}function Ph(c,m,T,ee,Pe){ee[Pe+0]=255,Cf(c,m,T,ee,Pe+1)}function Qh(c,m,T,ee,Pe){ol(c,m,T,ee,Pe),ee[Pe+3]=255}function Il(c,m,T,ee,Pe){Cf(c,m,T,ee,Pe),ee[Pe+3]=255}function Gu(c,m,T){jt[c]=function(ee,Pe,ke,Ge,nt,it,Et,dn,_n){for(var It=dn+(-2&_n)*T;dn!=It;)m(ee[Pe+0],ke[Ge+0],nt[it+0],Et,dn),m(ee[Pe+1],ke[Ge+0],nt[it+0],Et,dn+T),Pe+=2,++Ge,++it,dn+=2*T;1&_n&&m(ee[Pe+0],ke[Ge+0],nt[it+0],Et,dn)}}function kd(c,m,T){return T==0?c==0?m==0?6:5:m==0?4:0:T}function Gg(c,m,T,ee,Pe){switch(c>>>30){case 3:fd(m,T,ee,Pe,0);break;case 2:cc(m,T,ee,Pe);break;case 1:Fi(m,T,ee,Pe)}}function lc(c,m){var T,ee,Pe=m.M,ke=m.Nb,Ge=c.oc,nt=c.pc+40,it=c.oc,Et=c.pc+584,dn=c.oc,_n=c.pc+600;for(T=0;16>T;++T)Ge[nt+32*T-1]=129;for(T=0;8>T;++T)it[Et+32*T-1]=129,dn[_n+32*T-1]=129;for(0T;++T)r(Ge,nt+32*T-4,Ge,nt+32*T+12,4);for(T=-1;8>T;++T)r(it,Et+32*T-4,it,Et+32*T+4,4),r(dn,_n+32*T-4,dn,_n+32*T+4,4)}var bn=c.Gd,kn=c.Hd+ee,Er=It.ad,Yn=It.Hc;if(0=c.za-1?A(Qr,Nr,bn[kn].y[15],4):r(Qr,Nr,bn[kn+1].y,0,4)),T=0;4>T;T++)Qr[Nr+128+T]=Qr[Nr+256+T]=Qr[Nr+384+T]=Qr[Nr+0+T];for(T=0;16>T;++T,Yn<<=2)Qr=Ge,Nr=nt+Bm[T],Uc[It.Ob[T]](Qr,Nr),Gg(Yn,Er,16*+T,Qr,Nr)}else if(Qr=kd(ee,Pe,It.Ob[0]),Sf[Qr](Ge,nt),Yn!=0)for(T=0;16>T;++T,Yn<<=2)Gg(Yn,Er,16*+T,Ge,nt+Bm[T]);for(T=It.Gc,Qr=kd(ee,Pe,It.Dd),qu[Qr](it,Et),qu[Qr](dn,_n),Yn=Er,Qr=it,Nr=Et,255&(It=0|T)&&(170&It?gu(Yn,256,Qr,Nr):Ti(Yn,256,Qr,Nr)),It=dn,Yn=_n,255&(T>>=8)&&(170&T?gu(Er,320,It,Yn):Ti(Er,320,It,Yn)),PeT;++T)r(bn,kn+T*c.R,Ge,nt+32*T,16);for(T=0;8>T;++T)r(Er,It+T*c.B,it,Et+32*T,8),r(Yn,Qr+T*c.B,dn,_n+32*T,8)}}function ld(c,m,T,ee,Pe,ke,Ge,nt,it){var Et=[0],dn=[0],_n=0,It=it!=null?it.kd:0,bn=it!=null?it:new _r;if(c==null||12>T)return 7;bn.data=c,bn.w=m,bn.ha=T,m=[m],T=[T],bn.gb=[bn.gb];e:{var kn=m,Er=T,Yn=bn.gb;if(n(c!=null),n(Er!=null),n(Yn!=null),Yn[0]=0,12<=Er[0]&&!t(c,kn[0],"RIFF")){if(t(c,kn[0]+8,"WEBP")){Yn=3;break e}var Qr=Xo(c,kn[0]+4);if(12>Qr||4294967286Er[0]-8){Yn=7;break e}Yn[0]=Qr,kn[0]+=12,Er[0]-=12}Yn=0}if(Yn!=0)return Yn;for(Qr=0Yn[0])Yn=7;else{if(!t(Nr,Er[0],"VP8X")){if(Xo(Nr,Er[0]+4)!=10){Yn=3;break e}if(18>Yn[0]){Yn=7;break e}var Bo=Xo(Nr,Er[0]+8),zA=1+to(Nr,Er[0]+12);if(2147483648<=zA*(Nr=1+to(Nr,Er[0]+15))){Yn=3;break e}To!=null&&(To[0]=Bo),fa!=null&&(fa[0]=zA),$r!=null&&($r[0]=Nr),Er[0]+=18,Yn[0]-=18,Fo[0]=1}Yn=0}}if(_n=_n[0],kn=kn[0],Yn!=0)return Yn;if(Er=!!(2&kn),!Qr&&_n)return 3;if(ke!=null&&(ke[0]=!!(16&kn)),Ge!=null&&(Ge[0]=Er),nt!=null&&(nt[0]=0),Ge=Et[0],kn=dn[0],_n&&Er&&it==null){Yn=0;break}if(4>T){Yn=7;break}if(Qr&&_n||!Qr&&!_n&&!t(c,m[0],"ALPH")){T=[T],bn.na=[bn.na],bn.P=[bn.P],bn.Sa=[bn.Sa];e:{Bo=c,Yn=m,Qr=T;var Fo=bn.gb;fa=bn.na,$r=bn.P,To=bn.Sa,zA=22,n(Bo!=null),n(Qr!=null),Nr=Yn[0];var li=Qr[0];for(n(fa!=null),n(To!=null),fa[0]=null,$r[0]=null,To[0]=0;;){if(Yn[0]=Nr,Qr[0]=li,8>li){Yn=7;break e}var zs=Xo(Bo,Nr+4);if(4294967286Fo){Yn=3;break e}if(!t(Bo,Nr,"VP8 ")||!t(Bo,Nr,"VP8L")){Yn=0;break e}if(li[0]Qr[0])Yn=7;else{if(Nr||zA){if(Fo=Xo(Fo,Bo+4),12<=fa&&Fo>fa-12){Yn=3;break e}if(It&&Fo>Qr[0]-8){Yn=7;break e}$r[0]=Fo,Yn[0]+=8,Qr[0]-=8,To[0]=zA}else To[0]=5<=Qr[0]&&Fo[Bo+0]==47&&!(Fo[Bo+4]>>5),$r[0]=Qr[0];Yn=0}if(T=T[0],bn.Ja=bn.Ja[0],bn.xa=bn.xa[0],m=m[0],Yn!=0)break;if(4294967286T){Yn=7;break}nt=Ge,It=kn,Er=ke,c==null||5>T?c=0:5<=T&&c[m+0]==47&&!(c[m+4]>>5)?(Qr=[0],Fo=[0],fa=[0],wr($r=new Rt,c,m,T),ju($r,Qr,Fo,fa)?(nt!=null&&(nt[0]=Qr[0]),It!=null&&(It[0]=Fo[0]),Er!=null&&(Er[0]=fa[0]),c=1):c=0):c=0}else{if(10>T){Yn=7;break}nt=kn,c==null||10>T||!Mg(c,m+3,T-3)?c=0:(It=c[m+0]|c[m+1]<<8|c[m+2]<<16,Er=16383&(c[m+7]<<8|c[m+6]),c=16383&(c[m+9]<<8|c[m+8]),1&It||3<(It>>1&7)||!(It>>4&1)||It>>5>=bn.Ja||!Er||!c?c=0:(Ge&&(Ge[0]=Er),nt&&(nt[0]=c),c=1))}if(!c||(Ge=Ge[0],kn=kn[0],_n&&(Et[0]!=Ge||dn[0]!=kn)))return 3;it!=null&&(it[0]=bn,it.offset=m-it.w,n(4294967286>m-it.w),n(it.offset==it.ha-T));break}return Yn==0||Yn==7&&_n&&it==null?(ke!=null&&(ke[0]|=bn.na!=null&&0T||(ke&=-2,Ge&=-2),0>ke||0>Ge||0>=nt||0>=it||ke+nt>ee||Ge+it>Pe))return 0;if(m.v=ke,m.j=Ge,m.va=ke+nt,m.o=Ge+it,m.U=nt,m.T=it,m.da=c!=null&&0c.S){var m=c.f.RGBA;m.fb+=(c.height-1)*m.A,m.A=-m.A}else m=c.f.kb,c=c.height,m.O+=(c-1)*m.fa,m.fa=-m.fa,m.N+=(c-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(c-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(c-1)*m.lb,m.lb=-m.lb);return 0}function Bf(c,m,T,ee){if(ee==null||0>=c||0>=m)return 2;if(T!=null){if(T.Da){var Pe=T.cd,ke=T.bd,Ge=-2&T.v,nt=-2&T.j;if(0>Ge||0>nt||0>=Pe||0>=ke||Ge+Pe>c||nt+ke>m)return 2;c=Pe,m=ke}if(T.da){if(!AA(c,m,Pe=[T.ib],ke=[T.hb]))return 2;c=Pe[0],m=ke[0]}}ee.width=c,ee.height=m;e:{var it=ee.width,Et=ee.height;if(c=ee.S,0>=it||0>=Et||!(c>=_g&&13>c))c=2;else{if(0>=ee.Rd&&ee.sd==null){Ge=ke=Pe=m=0;var dn=(nt=it*wm[c])*Et;if(11>c||(ke=(Et+1)/2*(m=(it+1)/2),c==12&&(Ge=(Pe=it)*Et)),(Et=l(dn+2*ke+Ge))==null){c=1;break e}ee.sd=Et,11>c?((it=ee.f.RGBA).eb=Et,it.fb=0,it.A=nt,it.size=dn):((it=ee.f.kb).y=Et,it.O=0,it.fa=nt,it.Fd=dn,it.f=Et,it.N=0+dn,it.Ab=m,it.Cd=ke,it.ea=Et,it.W=0+dn+ke,it.Db=m,it.Ed=ke,c==12&&(it.F=Et,it.J=0+dn+2*ke),it.Tc=Ge,it.lb=Pe)}if(m=1,Pe=ee.S,ke=ee.width,Ge=ee.height,Pe>=_g&&13>Pe)if(11>Pe)c=ee.f.RGBA,m&=(nt=Math.abs(c.A))*(Ge-1)+ke<=c.size,m&=nt>=ke*wm[Pe],m&=c.eb!=null;else{c=ee.f.kb,nt=(ke+1)/2,dn=(Ge+1)/2,it=Math.abs(c.fa),Et=Math.abs(c.Ab);var _n=Math.abs(c.Db),It=Math.abs(c.lb),bn=It*(Ge-1)+ke;m&=it*(Ge-1)+ke<=c.Fd,m&=Et*(dn-1)+nt<=c.Cd,m=(m&=_n*(dn-1)+nt<=c.Ed)&it>=ke&Et>=nt&_n>=nt,m&=c.y!=null,m&=c.f!=null,m&=c.ea!=null,Pe==12&&(m&=It>=ke,m&=bn<=c.Tc,m&=c.F!=null)}else m=0;c=m?0:2}}return c!=0||T!=null&&T.fd&&(c=Lh(ee)),c}var cd=64,kl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zl=24,wf=32,Ju=8,yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];wo("Predictor0","PredictorAdd0"),jt.Predictor0=function(){return 4278190080},jt.Predictor1=function(c){return c},jt.Predictor2=function(c,m,T){return m[T+0]},jt.Predictor3=function(c,m,T){return m[T+1]},jt.Predictor4=function(c,m,T){return m[T-1]},jt.Predictor5=function(c,m,T){return Yo(Yo(c,m[T+1]),m[T+0])},jt.Predictor6=function(c,m,T){return Yo(c,m[T-1])},jt.Predictor7=function(c,m,T){return Yo(c,m[T+0])},jt.Predictor8=function(c,m,T){return Yo(m[T-1],m[T+0])},jt.Predictor9=function(c,m,T){return Yo(m[T+0],m[T+1])},jt.Predictor10=function(c,m,T){return Yo(Yo(c,m[T-1]),Yo(m[T+0],m[T+1]))},jt.Predictor11=function(c,m,T){var ee=m[T+0];return 0>=UA(ee>>24&255,c>>24&255,(m=m[T-1])>>24&255)+UA(ee>>16&255,c>>16&255,m>>16&255)+UA(ee>>8&255,c>>8&255,m>>8&255)+UA(255&ee,255&c,255&m)?ee:c},jt.Predictor12=function(c,m,T){var ee=m[T+0];return(xi((c>>24&255)+(ee>>24&255)-((m=m[T-1])>>24&255))<<24|xi((c>>16&255)+(ee>>16&255)-(m>>16&255))<<16|xi((c>>8&255)+(ee>>8&255)-(m>>8&255))<<8|xi((255&c)+(255&ee)-(255&m)))>>>0},jt.Predictor13=function(c,m,T){var ee=m[T-1];return(oi((c=Yo(c,m[T+0]))>>24&255,ee>>24&255)<<24|oi(c>>16&255,ee>>16&255)<<16|oi(c>>8&255,ee>>8&255)<<8|oi(255&c,255&ee))>>>0};var Rh=jt.PredictorAdd0;jt.PredictorAdd1=si,wo("Predictor2","PredictorAdd2"),wo("Predictor3","PredictorAdd3"),wo("Predictor4","PredictorAdd4"),wo("Predictor5","PredictorAdd5"),wo("Predictor6","PredictorAdd6"),wo("Predictor7","PredictorAdd7"),wo("Predictor8","PredictorAdd8"),wo("Predictor9","PredictorAdd9"),wo("Predictor10","PredictorAdd10"),wo("Predictor11","PredictorAdd11"),wo("Predictor12","PredictorAdd12"),wo("Predictor13","PredictorAdd13");var zd=jt.PredictorAdd2;Zo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),Zo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var Bs,Jg=jt.ColorIndexInverseTransform,du=jt.MapARGB,hu=jt.VP8LColorIndexInverseTransformAlpha,Uh=jt.MapAlpha,Dh=jt.VP8LPredictorsAdd=[];Dh.length=16,(jt.VP8LPredictors=[]).length=16,(jt.VP8LPredictorsAdd_C=[]).length=16,(jt.VP8LPredictors_C=[]).length=16;var Nh,Mh,bf,Ef,If,ud,xf,fd,cc,gu,Fi,Ti,ws,ks,Yu,jh,Zd,Yg,Jv,Yv,qv,_v,$v,em,Hh,tm,nm,rm,am=l(511),om=l(2041),Am=l(225),im=l(767),sm=0,cv=om,qg=Am,Zl=im,uc=am,_g=0,$g=1,lm=2,e0=3,t0=4,uv=5,cm=6,fv=7,dv=8,n0=9,hv=10,$m=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ap=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],op=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Th=null,Ap=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ip=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Sf=[],Uc=[],qu=[],fp=1,dm=2,Ff=[],fc=[];Xu("UpsampleRgbLinePair",Cf,3),Xu("UpsampleBgrLinePair",ol,3),Xu("UpsampleRgbaLinePair",Il,4),Xu("UpsampleBgraLinePair",Qh,4),Xu("UpsampleArgbLinePair",Ph,4),Xu("UpsampleRgba4444LinePair",sd,2),Xu("UpsampleRgb565LinePair",id,2);var dp=jt.UpsampleRgbLinePair,hp=jt.UpsampleBgrLinePair,hm=jt.UpsampleRgbaLinePair,gm=jt.UpsampleBgraLinePair,vm=jt.UpsampleArgbLinePair,mm=jt.UpsampleRgba4444LinePair,gp=jt.UpsampleRgb565LinePair,r0=16,a0=1<ee.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ee.ca.f.kb.F!=null&&Rc()),ee.Pb&&0(it=T.Md)?0:100Et;++Et)12>(_n=Pe.pb[Et]).lc&&(_n.ia=it*bp[0>_n.lc?0:_n.lc]>>3),dn|=_n.ia;dn&&(alert("todo:VP8InitRandom"),Pe.ia=1)}Pe.Ga=T.Id,100Pe.Ga&&(Pe.Ga=0)}(function(It,bn){if(It==null)return 0;if(bn==null)return Ps(It,2,"NULL VP8Io parameter in VP8Decode().");if(!It.cb&&!uu(It,bn))return 0;if(n(It.cb),bn.ac==null||bn.ac(bn)){bn.ob&&(It.L=0);var kn=o0[It.L];if(It.L==2?(It.yb=0,It.zb=0):(It.yb=bn.v-kn>>4,It.zb=bn.j-kn>>4,0>It.yb&&(It.yb=0),0>It.zb&&(It.zb=0)),It.Va=bn.o+15+kn>>4,It.Hb=bn.va+15+kn>>4,It.Hb>It.za&&(It.Hb=It.za),It.Va>It.Ub&&(It.Va=It.Ub),0kn;++kn){var Yn;if(It.Qa.Cb){var Qr=It.Qa.Lb[kn];It.Qa.Fb||(Qr+=Er.Tb)}else Qr=Er.Tb;for(Yn=0;1>=Yn;++Yn){var Nr=It.gd[kn][Yn],fa=Qr;if(Er.Pc&&(fa+=Er.vd[0],Yn&&(fa+=Er.od[0])),0<(fa=0>fa?0:63>2:$r>>1)>9-Er.wb&&($r=9-Er.wb),1>$r&&($r=1),Nr.dd=$r,Nr.tc=2*fa+$r,Nr.ld=40<=fa?2:15<=fa?1:0}else Nr.tc=0;Nr.La=Yn}}}kn=0}else Ps(It,6,"Frame setup failed"),kn=It.a;if(kn=kn==0){if(kn){It.$c=0,0It.Vb){if(It.Vb=0,It.Ec=l(Nr),It.Fc=0,It.Ec==null){kn=Ps(It,1,"no memory during frame initialization.");break t}It.Vb=Nr}Nr=It.Ec,fa=It.Fc,It.Ac=Nr,It.Bc=fa,fa+=Er,It.Gd=I(To,Dg),It.Hd=0,It.rb=I(Bo+1,ph),It.sb=1,It.wa=zA?I(zA,ic):null,It.Y=0,It.D.Nb=0,It.D.wa=It.wa,It.D.Y=It.Y,0=kn;++kn)am[255+kn]=0>kn?-kn:kn;for(kn=-1020;1020>=kn;++kn)om[1020+kn]=-128>kn?-128:127=kn;++kn)Am[112+kn]=-16>kn?-16:15=kn;++kn)im[255+kn]=0>kn?0:255di;++di){var Zs,mi=xl[0+di];for(Zs=0;4>Zs;++Zs){mi=lp[qi[Al+Zs]][mi];for(var Ui=fm[jr(NA,mi[0])];0>3;for(Ui=0;256>Ui;Ui+=16)di[ml+Ui]=jl}il=1,Dc=Al[0]}var Ki=15&NA.la,Vs=15&Sl.la;for(Ui=0;4>Ui;++Ui){var Vl=1&Vs;for(jl=Di=0;4>jl;++jl)Ki=Ki>>1|(Vl=(bs=Th(qi,Dc,bs=Vl+(1&Ki),gs.Sc,il,di,ml))>il)<<7,Di=Di<<2|(3>=4,Vs=Vs>>1|Vl<<7,Zs=(Zs<<8|Di)>>>0}for(Dc=Ki,il=Vs>>4,vs=0;4>vs;vs+=2){for(Di=0,Ki=NA.la>>4+vs,Vs=Sl.la>>4+vs,Ui=0;2>Ui;++Ui){for(Vl=1&Vs,jl=0;2>jl;++jl)bs=Vl+(1&Ki),Ki=Ki>>1|(Vl=0<(bs=Th(qi,Al[2],bs,gs.Qc,0,di,ml)))<<3,Di=Di<<2|(3>=2,Vs=Vs>>1|Vl<<5}mi|=Di<<4*vs,Dc|=Ki<<4<=Po.zb&&Po.M<=Po.Va,Po.Aa==0)t:{if(ZA.M=Po.M,ZA.uc=NA,lc(Po,ZA),ys=1,ZA=(Di=Po.D).Nb,NA=(mi=o0[Po.L])*Po.R,qi=mi/2*Po.B,Ui=16*ZA*Po.R,jl=8*ZA*Po.B,Al=Po.sa,xl=Po.ta-NA+Ui,gs=Po.qa,di=Po.ra-qi+jl,ml=Po.Ha,Sl=Po.Ia-qi+jl,Vs=(Ki=Di.M)==0,Zs=Ki>=Po.Va-1,Po.Aa==2&&lc(Po,Di),Di.uc)for(Vl=(bs=Po).D.M,n(bs.D.uc),Di=bs.yb;DiXa.o&&(Ki=Xa.o),Xa.F=null,Xa.J=null,Po.Fa!=null&&0>1),Xa.W+=Po.B*(mi>>1),Xa.F!=null&&(Xa.J+=Xa.width*mi)),Di>1,Xa.W+=Xa.v>>1,Xa.F!=null&&(Xa.J+=Xa.v),Xa.ka=Di-Xa.j,Xa.U=Xa.va-Xa.v,Xa.T=Ki-Di,ys=Xa.put(Xa))}ZA+1!=Po.Ic||Zs||(r(Po.sa,Po.ta-NA,Al,xl+16*Po.R,NA),r(Po.qa,Po.ra-qi,gs,di+8*Po.B,qi),r(Po.Ha,Po.Ia-qi,ml,Sl+8*Po.B,qi))}if(!ys)return Ps(li,6,"Output aborted.")}return 1}(It,bn)),bn.bc!=null&&bn.bc(bn),kn&=1}return kn?(It.cb=0,kn):0})(c,ee)||(m=c.a)}}else m=c.a}m==0&&Ge.Oa!=null&&Ge.Oa.fd&&(m=Lh(Ge.ba))}Ge=m}ke=Ge!=0?null:11>ke?nt.f.RGBA.eb:nt.f.kb.y}else ke=null;return ke};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(jt,Kn){for(var _e="",Ct=0;Ct<4;Ct++)_e+=String.fromCharCode(jt[Kn++]);return _e}function Y(jt,Kn){return jt[Kn+0]|jt[Kn+1]<<8}function we(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16)>>>0}function Te(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16|jt[Kn+3]<<24)>>>0}new S;var J=[0],gt=[0],lt=[],pt=new S,et=e,on=function(jt,Kn){var _e={},Ct=0,an=!1,Jt=0,ar=0;if(_e.frames=[],!function(Je,Rt){for(var kt=0;kt<4;kt++)if(Je[Rt+kt]!="RIFF".charCodeAt(kt))return!0;return!1}(jt,Kn)){for(Te(jt,Kn+=4),Kn+=8;Kn>1&1}hr!="ANMF"&&(Kn+=qn)}return _e}}(et,0);on.response=et,on.rgbaoutput=!0,on.dataurl=!1;var Vt=on.header?on.header:null,Mt=on.frames?on.frames:null;if(Vt){Vt.loop_counter=Vt.loop_count,J=[Vt.canvas_height],gt=[Vt.canvas_width];for(var $n=0;$n=2?Bt[1]:ao[0],ao[2]=Bt.length>=3?Bt[2]:ao[0],ao[3]=Bt.length>=4?Bt[3]:ao[1]),U.margin=ao}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Bt){mr=Bt}});var Br=0;Object.defineProperty(this,"lastBreak",{get:function(){return Br},set:function(Bt){Br=Bt}});var jr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return jr},set:function(Bt){jr=Bt}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(Bt){Bt instanceof Y&&(U=Bt)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(Bt){U.path=Bt}});var ma=[];Object.defineProperty(this,"ctxStack",{get:function(){return ma},set:function(Bt){ma=Bt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Bt){var ao;ao=Te(Bt),this.ctx.fillStyle=ao.style,this.ctx.isFillTransparent=ao.a===0,this.ctx.fillOpacity=ao.a,this.pdf.setFillColor(ao.r,ao.g,ao.b,{a:ao.a}),this.pdf.setTextColor(ao.r,ao.g,ao.b,{a:ao.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Bt){var ao=Te(Bt);this.ctx.strokeStyle=ao.style,this.ctx.isStrokeTransparent=ao.a===0,this.ctx.strokeOpacity=ao.a,ao.a===0?this.pdf.setDrawColor(255,255,255):(ao.a,this.pdf.setDrawColor(ao.r,ao.g,ao.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Bt){["butt","round","square"].indexOf(Bt)!==-1&&(this.ctx.lineCap=Bt,this.pdf.setLineCap(Bt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Bt){isNaN(Bt)||(this.ctx.lineWidth=Bt,this.pdf.setLineWidth(Bt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Bt){["bevel","round","miter"].indexOf(Bt)!==-1&&(this.ctx.lineJoin=Bt,this.pdf.setLineJoin(Bt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Bt){isNaN(Bt)||(this.ctx.miterLimit=Bt,this.pdf.setMiterLimit(Bt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Bt){this.ctx.textBaseline=Bt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Bt){["right","end","center","left","start"].indexOf(Bt)!==-1&&(this.ctx.textAlign=Bt)}});var ro=null,to=null,Xo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Xo},set:function(Bt){ro=null,to=null,Xo=Bt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Bt){var ao;if(this.ctx.font=Bt,(ao=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Bt))!==null){var YA=ao[1];ao[2];var AA=ao[3],ia=ao[4];ao[5];var iA=ao[6],wo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ia)[2];ia=Math.floor(wo==="px"?parseFloat(ia)*this.pdf.internal.scaleFactor:wo==="em"?parseFloat(ia)*this.pdf.getFontSize():parseFloat(ia)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ia);var aA=function(Zo){var Cs,gi,qA=[],_A=Zo.trim();if(_A==="")return V0;if(_A in ru)return[ru[_A]];for(;_A!=="";){switch(gi=null,Cs=(_A=au(_A)).charAt(0)){case'"':case"'":gi=xc(_A.substring(1),Cs);break;default:gi=gf(_A)}if(gi===null||(qA.push(gi[0]),(_A=au(gi[1]))!==""&&_A.charAt(0)!==","))return V0;_A=_A.replace(/^,/,"")}return qA}(iA);if(this.fontFaces){var Yo=function(Zo,Cs){var gi=Zo.getFontList(),qA=JSON.stringify(gi);if(ro===null||to!==qA){var _A=function(as){var eA=[];return Object.keys(as).forEach(function(Vi){as[Vi].forEach(function(vA){var DA=null;switch(vA){case"bold":DA={family:Vi,weight:"bold"};break;case"italic":DA={family:Vi,style:"italic"};break;case"bolditalic":DA={family:Vi,weight:"bold",style:"italic"};break;case"":case"normal":DA={family:Vi}}DA!==null&&(DA.ref={name:Vi,style:vA},eA.push(DA))})}),eA}(gi);ro=function(as){for(var eA={},Vi=0;Vi=700||YA==="bold")&&(UA="bold"),YA==="italic"&&(UA+="italic"),UA.length===0&&(UA="normal");for(var si="",Ai={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Do=0;Do=2*Math.PI&&(cn=0,In=2*Math.PI),this.path.push({type:"arc",x:Je,y:Rt,radius:kt,startAngle:cn,endAngle:In,counterclockwise:Wn})},we.prototype.arcTo=function(Je,Rt,kt,cn,In){throw new Error("arcTo not implemented.")},we.prototype.rect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Je,Rt),this.lineTo(Je+kt,Rt),this.lineTo(Je+kt,Rt+cn),this.lineTo(Je,Rt+cn),this.lineTo(Je,Rt),this.lineTo(Je+kt,Rt),this.lineTo(Je,Rt)},we.prototype.fillRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!J.call(this)){var In={};this.lineCap!=="butt"&&(In.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(In.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Je,Rt,kt,cn),this.fill(),In.hasOwnProperty("lineCap")&&(this.lineCap=In.lineCap),In.hasOwnProperty("lineJoin")&&(this.lineJoin=In.lineJoin)}},we.prototype.strokeRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");gt.call(this)||(this.beginPath(),this.rect(Je,Rt,kt,cn),this.stroke())},we.prototype.clearRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Je,Rt,kt,cn))},we.prototype.save=function(Je){Je=typeof Je!="boolean"||Je;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,kt=0;kt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};we.prototype.drawImage=function(Je,Rt,kt,cn,In,Wn,mr,Br,jr){var ma=this.pdf.getImageProperties(Je),ro=1,to=1,Xo=1,Bt=1;cn!==void 0&&Br!==void 0&&(Xo=Br/cn,Bt=jr/In,ro=ma.width/cn*Br/cn,to=ma.height/In*jr/In),Wn===void 0&&(Wn=Rt,mr=kt,Rt=0,kt=0),cn!==void 0&&Br===void 0&&(Br=cn,jr=In),cn===void 0&&Br===void 0&&(Br=ma.width,jr=ma.height);var ao=this.ctx.transform.decompose(),YA=qn(ao.rotate.shx),AA=new S,ia=(AA=(AA=(AA=AA.multiply(ao.translate)).multiply(ao.skew)).multiply(ao.scale)).applyToRectangle(new p(Wn-Rt*Xo,mr-kt*Bt,cn*ro,In*to));if(this.autoPaging){for(var iA,wo=pt.call(this,ia),aA=[],Yo=0;Yoxi||UAia||wo0)){for(;jr>=0;jr--)if(In[jr-1].close!==!0&&In[jr-1].begin!==!0){In[jr-1].deltas.push(kt),In[jr-1].abs.push(Br);break}}break;case"bct":kt=[Br.x1-Wn[mr-1].x,Br.y1-Wn[mr-1].y,Br.x2-Wn[mr-1].x,Br.y2-Wn[mr-1].y,Br.x-Wn[mr-1].x,Br.y-Wn[mr-1].y],In[In.length-1].deltas.push(kt);break;case"qct":var ma=Wn[mr-1].x+2/3*(Br.x1-Wn[mr-1].x),ro=Wn[mr-1].y+2/3*(Br.y1-Wn[mr-1].y),to=Br.x+2/3*(Br.x1-Br.x),Xo=Br.y+2/3*(Br.y1-Br.y),Bt=Br.x,ao=Br.y;kt=[ma-Wn[mr-1].x,ro-Wn[mr-1].y,to-Wn[mr-1].x,Xo-Wn[mr-1].y,Bt-Wn[mr-1].x,ao-Wn[mr-1].y],In[In.length-1].deltas.push(kt);break;case"arc":In.push({deltas:[],abs:[],arc:!0}),Array.isArray(In[In.length-1].abs)&&In[In.length-1].abs.push(Br)}}cn=Rt?null:Je==="stroke"?"stroke":"fill";for(var YA=!1,AA=0;AA=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*Je.scale),In=this.lineWidth,this.lineWidth=In*Je.scale);var jA=this.autoPaging!=="text";if(jA||Do.y+Do.h<=Yo){if(jA||Do.y>=wo&&Do.x<=oi){var Zo=jA?Je.text:this.pdf.splitTextToSize(Je.text,Je.maxWidth||oi-Do.x)[0],Cs=on([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-si+wo+this.ctx.prevPageLastElemOffset)[0],gi=jA&&(iA>AA||iA=.01&&(this.pdf.setFontSize(cn),this.lineWidth=In)}}else Je.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*Je.scale),In=this.lineWidth,this.lineWidth=In*Je.scale),this.pdf.text(Je.text,jr.x+this.posX,jr.y+this.posY,{angle:Je.angle,align:Rt,renderingMode:Je.renderingMode,maxWidth:Je.maxWidth}),Je.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=In)},an=function(Je,Rt,kt,cn){kt=kt||0,cn=cn||0,this.pdf.internal.out(t(Je+kt)+" "+r(Rt+cn)+" l")},Jt=function(Je,Rt,kt){return this.pdf.lines(Je,Rt,kt,null,null)},ar=function(Je,Rt,kt,cn,In,Wn,mr,Br){this.pdf.internal.out([n(A(kt+Je)),n(l(cn+Rt)),n(A(In+Je)),n(l(Wn+Rt)),n(A(mr+Je)),n(l(Br+Rt)),"c"].join(" "))},hr=function(Je,Rt,kt,cn){for(var In=2*Math.PI,Wn=Math.PI/2;Rt>kt;)Rt-=In;var mr=Math.abs(kt-Rt);mr1e-5;){var ro=ma+jr*Math.min(mr,Wn);Br.push(Cr.call(this,Je,ma,ro)),mr-=Math.abs(ro-ma),ma=ro}return Br},Cr=function(Je,Rt,kt){var cn=(kt-Rt)/2,In=Je*Math.cos(cn),Wn=Je*Math.sin(cn),mr=In,Br=-Wn,jr=mr*mr+Br*Br,ma=jr+mr*In+Br*Wn,ro=4/3*(Math.sqrt(2*jr*ma)-ma)/(mr*Wn-Br*In),to=mr-ro*Br,Xo=Br+ro*mr,Bt=to,ao=-Xo,YA=cn+Rt,AA=Math.cos(YA),ia=Math.sin(YA);return{x1:Je*Math.cos(Rt),y1:Je*Math.sin(Rt),x2:to*AA-Xo*ia,y2:to*ia+Xo*AA,x3:Bt*AA-ao*ia,y3:Bt*ia+ao*AA,x4:Je*Math.cos(kt),y4:Je*Math.sin(kt)}},qn=function(Je){return 180*Je/Math.PI},wr=function(Je,Rt,kt,cn,In,Wn){var mr=Je+.5*(kt-Je),Br=Rt+.5*(cn-Rt),jr=In+.5*(kt-In),ma=Wn+.5*(cn-Wn),ro=Math.min(Je,In,mr,jr),to=Math.max(Je,In,mr,jr),Xo=Math.min(Rt,Wn,Br,ma),Bt=Math.max(Rt,Wn,Br,ma);return new p(ro,Xo,to-ro,Bt-Xo)},ba=function(Je,Rt,kt,cn,In,Wn,mr,Br){var jr,ma,ro,to,Xo,Bt,ao,YA,AA,ia,iA,wo,aA,Yo,xi=kt-Je,oi=cn-Rt,UA=In-kt,si=Wn-cn,Ai=mr-In,Do=Br-Wn;for(ma=0;ma<41;ma++)AA=(ao=(ro=Je+(jr=ma/40)*xi)+jr*((Xo=kt+jr*UA)-ro))+jr*(Xo+jr*(In+jr*Ai-Xo)-ao),ia=(YA=(to=Rt+jr*oi)+jr*((Bt=cn+jr*si)-to))+jr*(Bt+jr*(Wn+jr*Do-Bt)-YA),ma==0?(iA=AA,wo=ia,aA=AA,Yo=ia):(iA=Math.min(iA,AA),wo=Math.min(wo,ia),aA=Math.max(aA,AA),Yo=Math.max(Yo,ia));return new p(Math.round(iA),Math.round(wo),Math.round(aA-iA),Math.round(Yo-wo))},Gr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Je,Rt,kt=(Je=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Je,lineDashOffset:Rt}));this.prevLineDash!==kt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=kt)}}})(So.API),function(e){var n=function(I){var p,S,U,Y,we,Te,J,gt,lt,pt;for(/[^\x00-\xFF]/.test(I),S=[],U=0,Y=(I+=p="\0\0\0\0".slice(I.length%4||4)).length;Y>U;U+=4)(we=(I.charCodeAt(U)<<24)+(I.charCodeAt(U+1)<<16)+(I.charCodeAt(U+2)<<8)+I.charCodeAt(U+3))!==0?(Te=(we=((we=((we=((we=(we-(pt=we%85))/85)-(lt=we%85))/85)-(gt=we%85))/85)-(J=we%85))/85)%85,S.push(Te+33,J+33,gt+33,lt+33,pt+33)):S.push(122);return function(et,on){for(var Vt=on;Vt>0;Vt--)et.pop()}(S,p.length),String.fromCharCode.apply(String,S)+"~>"},t=function(I){var p,S,U,Y,we,Te=String,J="length",gt=255,lt="charCodeAt",pt="slice",et="replace";for(I[pt](-2),I=I[pt](0,-2)[et](/\s/g,"")[et]("z","!!!!!"),U=[],Y=0,we=(I+=p="uuuuu"[pt](I[J]%5||5))[J];we>Y;Y+=5)S=52200625*(I[lt](Y)-33)+614125*(I[lt](Y+1)-33)+7225*(I[lt](Y+2)-33)+85*(I[lt](Y+3)-33)+(I[lt](Y+4)-33),U.push(gt&S>>24,gt&S>>16,gt&S>>8,gt&S);return function(on,Vt){for(var Mt=Vt;Mt>0;Mt--)on.pop()}(U,p[J]),Te.fromCharCode.apply(Te,U)},r=function(I){return I.split("").map(function(p){return("0"+p.charCodeAt().toString(16)).slice(-2)}).join("")+">"},A=function(I){var p=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((I=I.replace(/\s/g,"")).indexOf(">")!==-1&&(I=I.substr(0,I.indexOf(">"))),I.length%2&&(I+="0"),p.test(I)===!1)return"";for(var S="",U=0;Ult&&(gt=pt,pt=lt,lt=gt);else{if(p!=="l"&&p!=="landscape")throw"Invalid orientation: "+p;p="l",lt>pt&&(gt=pt,pt=lt,lt=gt)}return{width:pt,height:lt,unit:S,k:we,orientation:p}},e.html=function(p,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Ml):null;var U=new I(S);return S.worker?U:U.from(p).doCallback()}}(So.API),So.API.addJS=function(e){return Rv=e,this.internal.events.subscribe("postPutResources",function(){ou=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ou+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Lv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ou!==void 0&&Lv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var A=t.outline.render().split(/\r\n/),l=0;l> endobj")}var J=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+J+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,A,l){var I={title:A,options:l,children:[]};return r==null&&(r=this.root),r.children.push(I),I},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var A=0;A0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(I.children[0])),this.line("/Last "+this.makeRef(I.children[I.children.length-1])));var p=this.count=this.count_r({count:0},I);if(p>0&&this.line("/Count "+p),I.options&&I.options.pageNumber){var S=t.internal.getPageInfo(I.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Cr="",qn=0,wr=Ct.transparency.length;qn>",lt.content=l;var Vt=lt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length>=3};var Y=e.__arabicParser__.arabicLetterHasMedialForm=function(lt){return I(lt)&&l(lt)&&n[lt.charCodeAt(0)].length==4},we=e.__arabicParser__.resolveLigatures=function(lt){var pt=0,et=t,on="",Vt=0;for(pt=0;pt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(p){t=p}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(p){r=isNaN(p)||Number.isInteger(p)===!1||p<0?150:p,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(p){A=isNaN(p)||Number.isInteger(p)===!1||p<0?300:p,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(p){l=p}});var I={};Object.defineProperty(this,"style",{get:function(){return I},set:function(p){I=p}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var A;if((t=t||"2d")!=="2d")return null;for(A in r)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=r[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(So.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),A.call(this))},A=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(lt){S=lt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(lt){U=lt}});var Y=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Y},set:function(lt){Y=lt}});var we=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return we},set:function(lt){we=lt}});var Te=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Te},set:function(lt){Te=lt}});var J=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return J},set:function(lt){J=lt}});var gt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return gt},set:function(lt){gt=lt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,U){r.call(this);var Y=(U=U||{}).fontSize||this.getFontSize(),we=U.font||this.getFont(),Te=U.scaleFactor||this.internal.scaleFactor,J=0,gt=0,lt=0,pt=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var et=U.maxWidth;et>0?typeof S=="string"?S=this.splitTextToSize(S,et):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Vt,Mt){return Vt.concat(pt.splitTextToSize(Mt,et))},[])):S=Array.isArray(S)?S:[S];for(var on=0;onthis.getPageHeight()?(this.cellAddPage(),S.y=we.top,J&&Te&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Te[0].height)):S.y=U.y+U.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-Y,S.y+Y,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+Y,{align:"center",baseline:"top",maxWidth:S.width-Y-Y}):this.text(S.text,S.x+Y,S.y+Y,{align:"left",baseline:"top",maxWidth:S.width-Y-Y})),this.internal.__cell__.lastCell=S,this};e.table=function(S,U,Y,we,Te){if(r.call(this),!Y)throw new Error("No data for PDF table.");var J,gt,lt,pt,et=[],on=[],Vt=[],Mt={},$n={},xr=[],vr=[],vn=(Te=Te||{}).autoSize||!1,jt=Te.printHeaders!==!1,Kn=Te.css&&Te.css["font-size"]!==void 0?16*Te.css["font-size"]:Te.fontSize||12,_e=Te.margins||Object.assign({width:this.getPageWidth()},n),Ct=typeof Te.padding=="number"?Te.padding:3,an=Te.headerBackgroundColor||"#c8c8c8",Jt=Te.headerTextColor||"#000";if(A.call(this),this.internal.__cell__.printHeaders=jt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=Kn,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=an,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(Kn),we==null)on=et=Object.keys(Y[0]),Vt=et.map(function(){return"left"});else if(Array.isArray(we)&&(0,o.Z)(we[0])==="object")for(et=we.map(function(ba){return ba.name}),on=we.map(function(ba){return ba.prompt||ba.name||""}),Vt=we.map(function(ba){return ba.align||"left"}),J=0;J0&&this.setTableHeaderRow(Te),this.setFont(void 0,"normal"),t=!1}}(So.API);var Fs={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ec=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=yi(Ec),nl=[100,200,300,400,500,600,700,800,900],Uu=yi(nl);function Ml(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return Fs[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),A=function(l){return typeof $s[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:A,src:e.src||[],ref:e.ref||{name:n,style:[A,t,r].join(" ")}}}function Ic(e,n,t,r){var A;for(A=t;A>=0&&A=0&&A>>1)&255}return A}function Kv(e,n,t){var r=e.length,A=[];A[0]=4;for(var l=0;l>l&I}function kv(e,n,t,r){var A=t*r,l=Math.floor(A/8),I=16-(A-8*l+r),p=(1<>8&255;U.setUint8(Y,Te)}})(e,l,zv(e,l)&~(p<>7,I=1<<1+(7&A);e[n++],e[n++];var p=null,S=null;l&&(p=n,S=I,n+=3*I);var U=!0,Y=[],we=0,Te=null,J=0,gt=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var lt=e[n++];we=e[n++]|e[n++]<<8,Te=e[n++],1<||(Te=null),J=lt>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var pt=e[n++]|e[n++]<<8,et=e[n++]|e[n++]<<8,on=e[n++]|e[n++]<<8,Vt=e[n++]|e[n++]<<8,Mt=e[n++],$n=Mt>>6&1,xr=1<<1+(7&Mt),vr=p,vn=S,jt=!1;Mt>>7&&(jt=!0,vr=n,vn=xr,n+=3*xr);var Kn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}Y.push({x:pt,y:et,width:on,height:Vt,has_local_palette:jt,palette_offset:vr,palette_size:vn,data_offset:Kn,data_length:n-Kn,transparent_index:Te,interlaced:!!$n,delay:we,disposal:J});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return Y.length},this.loopCount=function(){return gt},this.frameInfo=function(Ct){if(Ct<0||Ct>=Y.length)throw new Error("Frame index out of range.");return Y[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,an){var Jt=this.frameInfo(Ct),ar=Jt.width*Jt.height,hr=new Uint8Array(ar);Zv(e,Jt.data_offset,hr,ar);var Cr=Jt.palette_offset,qn=Jt.transparent_index;qn===null&&(qn=256);var wr=Jt.width,ba=t-wr,Gr=wr,Je=4*(Jt.y*t+Jt.x),Rt=4*((Jt.y+Jt.height)*t+Jt.x),kt=Je,cn=4*ba;Jt.interlaced===!0&&(cn+=4*t*7);for(var In=8,Wn=0,mr=hr.length;Wn=Rt&&(cn=4*ba+4*t*(In-1),kt=Je+(wr+ba)*(In<<1),In>>=1)),Br===qn)kt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];an[kt++]=ro,an[kt++]=ma,an[kt++]=jr,an[kt++]=255}--Gr}},this.decodeAndBlitFrameRGBA=function(Ct,an){var Jt=this.frameInfo(Ct),ar=Jt.width*Jt.height,hr=new Uint8Array(ar);Zv(e,Jt.data_offset,hr,ar);var Cr=Jt.palette_offset,qn=Jt.transparent_index;qn===null&&(qn=256);var wr=Jt.width,ba=t-wr,Gr=wr,Je=4*(Jt.y*t+Jt.x),Rt=4*((Jt.y+Jt.height)*t+Jt.x),kt=Je,cn=4*ba;Jt.interlaced===!0&&(cn+=4*t*7);for(var In=8,Wn=0,mr=hr.length;Wn=Rt&&(cn=4*ba+4*t*(In-1),kt=Je+(wr+ba)*(In<<1),In>>=1)),Br===qn)kt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];an[kt++]=jr,an[kt++]=ma,an[kt++]=ro,an[kt++]=255}--Gr}}}function Zv(e,n,t,r){for(var A=e[n++],l=1<>=S,Y-=S,pt!==l){if(pt===I)break;for(var et=ptl;)Vt=gt[Vt]>>8,++on;var Mt=Vt;if(Te+on+(et!==pt?1:0)>r)return void Ri.log("Warning, gif stream longer than expected.");t[Te++]=Mt;var $n=Te+=on;for(et!==pt&&(t[Te++]=Mt),Vt=et;on--;)Vt=gt[Vt],t[--$n]=255&Vt,Vt>>=8;lt!==null&&p<4096&&(gt[p++]=lt<<8|Mt,p>=U+1&&S<12&&(++S,U=U<<1|1)),lt=pt}else p=I+1,U=(1<<(S=A+1))-1,lt=null}return Te!==r&&Ri.log("Warning, gif stream shorter than expected."),t}function X0(e){var n,t,r,A,l,I=Math.floor,p=new Array(64),S=new Array(64),U=new Array(64),Y=new Array(64),we=new Array(65535),Te=new Array(65535),J=new Array(64),gt=new Array(64),lt=[],pt=0,et=7,on=new Array(64),Vt=new Array(64),Mt=new Array(64),$n=new Array(256),xr=new Array(2048),vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],vn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Kn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],an=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ar=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function hr(Je,Rt){for(var kt=0,cn=0,In=new Array,Wn=1;Wn<=16;Wn++){for(var mr=1;mr<=Je[Wn];mr++)In[Rt[cn]]=[],In[Rt[cn]][0]=kt,In[Rt[cn]][1]=Wn,cn++,kt++;kt*=2}return In}function Cr(Je){for(var Rt=Je[0],kt=Je[1]-1;kt>=0;)Rt&1<>8&255),qn(255&Je)}function ba(Je,Rt,kt,cn,In){for(var Wn,mr=In[0],Br=In[240],jr=function(ia,iA){var wo,aA,Yo,xi,oi,UA,si,Ai,Do,jA,Zo=0;for(Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+1],Yo=ia[Zo+2],xi=ia[Zo+3],oi=ia[Zo+4],UA=ia[Zo+5],si=ia[Zo+6];var Cs=wo+(Ai=ia[Zo+7]),gi=wo-Ai,qA=aA+si,_A=aA-si,as=Yo+UA,eA=Yo-UA,Vi=xi+oi,vA=xi-oi,DA=Cs+Vi,os=Cs-Vi,ti=qA+as,uA=qA-as;ia[Zo]=DA+ti,ia[Zo+4]=DA-ti;var Si=.707106781*(uA+os);ia[Zo+2]=os+Si,ia[Zo+6]=os-Si;var Yf=.382683433*((DA=vA+eA)-(uA=_A+gi)),vl=.5411961*DA+Yf,Nu=1.306562965*uA+Yf,iu=.707106781*(ti=eA+_A),fA=gi+iu,Mu=gi-iu;ia[Zo+5]=Mu+vl,ia[Zo+3]=Mu-vl,ia[Zo+1]=fA+Nu,ia[Zo+7]=fA-Nu,Zo+=8}for(Zo=0,Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+8],Yo=ia[Zo+16],xi=ia[Zo+24],oi=ia[Zo+32],UA=ia[Zo+40],si=ia[Zo+48];var ju=wo+(Ai=ia[Zo+56]),ac=wo-Ai,oc=aA+si,hs=aA-si,el=Yo+UA,rl=Yo-UA,qf=xi+oi,mf=xi-oi,Pc=ju+qf,su=ju-qf,Qc=oc+el,Oc=oc-el;ia[Zo]=Pc+Qc,ia[Zo+32]=Pc-Qc;var Ac=.707106781*(Oc+su);ia[Zo+16]=su+Ac,ia[Zo+48]=su-Ac;var _f=.382683433*((Pc=mf+rl)-(Oc=hs+ac)),lu=.5411961*Pc+_f,$f=1.306562965*Oc+_f,Rd=.707106781*(Qc=rl+hs),Ud=ac+Rd,Dd=ac-Rd;ia[Zo+40]=Dd+lu,ia[Zo+24]=Dd-lu,ia[Zo+8]=Ud+$f,ia[Zo+56]=Ud-$f,Zo++}for(Do=0;Do<64;++Do)jA=ia[Do]*iA[Do],J[Do]=jA>0?jA+.5|0:jA-.5|0;return J}(Je,Rt),ma=0;ma<64;++ma)gt[vr[ma]]=jr[ma];var ro=gt[0]-kt;kt=gt[0],ro==0?Cr(cn[0]):(Cr(cn[Te[Wn=32767+ro]]),Cr(we[Wn]));for(var to=63;to>0&>[to]==0;)to--;if(to==0)return Cr(mr),kt;for(var Xo,Bt=1;Bt<=to;){for(var ao=Bt;gt[Bt]==0&&Bt<=to;)++Bt;var YA=Bt-ao;if(YA>=16){Xo=YA>>4;for(var AA=1;AA<=Xo;++AA)Cr(Br);YA&=15}Wn=32767+gt[Bt],Cr(In[(YA<<4)+Te[Wn]]),Cr(we[Wn]),Bt++}return to!=63&&Cr(mr),kt}function Gr(Je){Je=Math.min(Math.max(Je,1),100),l!=Je&&(function(Rt){for(var kt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var In=I((kt[cn]*Rt+50)/100);In=Math.min(Math.max(In,1),255),p[vr[cn]]=In}for(var Wn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],mr=0;mr<64;mr++){var Br=I((Wn[mr]*Rt+50)/100);Br=Math.min(Math.max(Br,1),255),S[vr[mr]]=Br}for(var jr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ma=0,ro=0;ro<8;ro++)for(var to=0;to<8;to++)U[ma]=1/(p[vr[ma]]*jr[ro]*jr[to]*8),Y[ma]=1/(S[vr[ma]]*jr[ro]*jr[to]*8),ma++}(Je<50?Math.floor(5e3/Je):Math.floor(200-2*Je)),l=Je)}this.encode=function(Je,Rt){Rt&&Gr(Rt),lt=new Array,pt=0,et=7,wr(65496),wr(65504),wr(16),qn(74),qn(70),qn(73),qn(70),qn(0),qn(1),qn(1),qn(0),wr(1),wr(1),qn(0),qn(0),function(){wr(65499),wr(132),qn(0);for(var aA=0;aA<64;aA++)qn(p[aA]);qn(1);for(var Yo=0;Yo<64;Yo++)qn(S[Yo])}(),function(aA,Yo){wr(65472),wr(17),qn(8),wr(Yo),wr(aA),qn(3),qn(1),qn(17),qn(0),qn(2),qn(17),qn(1),qn(3),qn(17),qn(1)}(Je.width,Je.height),function(){wr(65476),wr(418),qn(0);for(var aA=0;aA<16;aA++)qn(vn[aA+1]);for(var Yo=0;Yo<=11;Yo++)qn(jt[Yo]);qn(16);for(var xi=0;xi<16;xi++)qn(Kn[xi+1]);for(var oi=0;oi<=161;oi++)qn(_e[oi]);qn(1);for(var UA=0;UA<16;UA++)qn(Ct[UA+1]);for(var si=0;si<=11;si++)qn(an[si]);qn(17);for(var Ai=0;Ai<16;Ai++)qn(Jt[Ai+1]);for(var Do=0;Do<=161;Do++)qn(ar[Do])}(),wr(65498),wr(12),qn(3),qn(1),qn(0),qn(2),qn(17),qn(3),qn(17),qn(0),qn(63),qn(0);var kt=0,cn=0,In=0;pt=0,et=7,this.encode.displayName="_encode_";for(var Wn,mr,Br,jr,ma,ro,to,Xo,Bt,ao=Je.data,YA=Je.width,AA=Je.height,ia=4*YA,iA=0;iA>3)*ia+(to=4*(7&Bt)),iA+Xo>=AA&&(ro-=ia*(iA+1+Xo-AA)),Wn+to>=ia&&(ro-=Wn+to-ia+4),mr=ao[ro++],Br=ao[ro++],jr=ao[ro++],on[Bt]=(xr[mr]+xr[Br+256|0]+xr[jr+512|0]>>16)-128,Vt[Bt]=(xr[mr+768|0]+xr[Br+1024|0]+xr[jr+1280|0]>>16)-128,Mt[Bt]=(xr[mr+1280|0]+xr[Br+1536|0]+xr[jr+1792|0]>>16)-128;kt=ba(on,U,kt,n,r),cn=ba(Vt,Y,cn,t,A),In=ba(Mt,Y,In,t,A),Wn+=32}iA+=8}if(et>=0){var wo=[];wo[1]=et+1,wo[0]=(1<Ct;Ct++)if(jt[Kn+Ct]!=_e.charCodeAt(Ct))return!0;return!1}function r(jt,Kn,_e,Ct,an){for(var Jt=0;JtJt+1?[]:new Kn),!(ar.length>>0;c&T;)T>>>=1;return T?(c&T-1)+T:c}function _e(c,m,T,ee,Pe){n(!(ee%T));do c[m+(ee-=T)]=Pe;while(0=Pe),512>=Pe)var ke=l(512);else if((ke=l(Pe))==null)return 0;return function(Ge,nt,it,Et,dn,_n){var It,bn,kn=nt,Er=1<It;++It){if(Yn[It]>1<(zA-=Yn[It]))return 0;for(;0=It;++It,dn<<=1){if(Bo+=zA<<=1,0>(zA-=Yn[It]))return 0;for(;0fa&&!(0>=(Nr-=Yn[fa]));)++fa,Nr<<=1;Er+=Fo=1<<(Nr=fa-it),Ge[nt+(fa=To&$r)].g=Nr+it,Ge[nt+fa].value=kn-nt-fa}Et.g=It-it,Et.value=_n[bn++],_e(Ge,kn+(To>>it),dn,Fo,Et),To=Kn(To,It)}}return Bo!=2*Qr[15]-1?0:Er}(c,m,T,ee,Pe,ke)}function an(){this.value=this.g=0}function Jt(){this.value=this.g=0}function ar(){this.G=I(5,an),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=I(cd,Jt)}function hr(c,m,T,ee){n(c!=null),n(m!=null),n(2147483648>ee),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=m,c.pa=T,c.Jd=m,c.Yc=T+ee,c.Zc=4<=ee?T+ee-4+1:T,mr(c)}function Cr(c,m){for(var T=0;0ee),c.Sb=ee,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;cn(c)&&(c.h=1,c.u=0)}function Gr(c,m){if(n(0<=m),!c.h&&m<=zl){var T=kt(c)&kl[m];return c.u+=m,ba(c),T}return c.h=1,c.u=0}function Je(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function kt(c){return c.Ra>>>(c.u&wf-1)>>>0}function cn(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>wf}function In(c,m){c.u=m,c.h=cn(c)}function Wn(c){c.u>=Ju&&(n(c.u>=Ju),ba(c))}function mr(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&mr(c);var ee=c.b,Pe=T*m>>>8,ke=(c.I>>>ee>Pe)+0;for(ke?(T-=Pe,c.I-=Pe+1<>>0):T=Pe+1,ee=T,Pe=0;256<=ee;)Pe+=8,ee>>=8;return ee=7^Pe+yf[ee],c.b-=ee,c.Ca=(T<>24&255,c[m+1]=T>>16&255,c[m+2]=T>>8&255,c[m+3]=255&T}function ro(c,m){return c[m+0]|c[m+1]<<8}function to(c,m){return ro(c,m)|c[m+2]<<16}function Xo(c,m){return ro(c,m)|ro(c,m+2)<<16}function Bt(c,m){var T=1<=Pe||0>=ke?0:(T[0]=Pe,ee[0]=ke,1)}function ia(c,m){return c+(1<>>m}function iA(c,m){return((4278255360&c)+(4278255360&m)>>>0&4278255360)+((16711935&c)+(16711935&m)>>>0&16711935)>>>0}function wo(c,m){jt[m]=function(T,ee,Pe,ke,Ge,nt,it){var Et;for(Et=0;Et>>1)+(c&m)>>>0}function xi(c){return 0<=c&&256>c?c:0>c?0:255>1))}function UA(c,m,T){return Math.abs(m-T)-Math.abs(c-T)}function si(c,m,T,ee,Pe,ke,Ge){for(ee=ke[Ge-1],T=0;T>8&255,it=16711935&(it=(it=16711935&Ge)+((nt<<16)+nt));ee[Pe+ke]=(4278255360&Ge)+it>>>0}}function Do(c,m){m.jd=255&c,m.hd=c>>8&255,m.ud=c>>16&255}function jA(c,m,T,ee,Pe,ke){var Ge;for(Ge=0;Ge>>8,Et=nt,dn=255&(dn=(dn=nt>>>16)+((c.jd<<24>>24)*(it<<24>>24)>>>5));Et=255&(Et=(Et+=(c.hd<<24>>24)*(it<<24>>24)>>>5)+((c.ud<<24>>24)*(dn<<24>>24)>>>5)),Pe[ke+Ge]=(4278255360&nt)+(dn<<16)+Et}}function Zo(c,m,T,ee,Pe){jt[m]=function(ke,Ge,nt,it,Et,dn,_n,It,bn){for(it=_n;it>ke.b,bn=ke.Ea,kn=ke.K[0],Er=ke.w;if(8>It)for(ke=(1<>=It}else jt["VP8LMapColor"+T](it,Et,kn,Er,dn,_n,Ge,nt,bn)}}function Cs(c,m,T,ee,Pe){for(T=m+T;m>16&255,ee[Pe++]=ke>>8&255,ee[Pe++]=255&ke}}function gi(c,m,T,ee,Pe){for(T=m+T;m>16&255,ee[Pe++]=ke>>8&255,ee[Pe++]=255&ke,ee[Pe++]=ke>>24&255}}function qA(c,m,T,ee,Pe){for(T=m+T;m>16&240|Ge>>12&15,Ge=240&Ge|Ge>>28&15;ee[Pe++]=ke,ee[Pe++]=Ge}}function _A(c,m,T,ee,Pe){for(T=m+T;m>16&248|Ge>>13&7,Ge=Ge>>5&224|Ge>>3&31;ee[Pe++]=ke,ee[Pe++]=Ge}}function as(c,m,T,ee,Pe){for(T=m+T;m>8&255,ee[Pe++]=ke>>16&255}}function eA(c,m,T,ee,Pe,ke){if(ke==0)for(T=m+T;m>24|ke[1]>>8&65280|ke[2]<<8&16711680|ke[3]<<24)>>>0),Pe+=32;else r(ee,Pe,c,m,T)}function Vi(c,m){jt[m][0]=jt[c+"0"],jt[m][1]=jt[c+"1"],jt[m][2]=jt[c+"2"],jt[m][3]=jt[c+"3"],jt[m][4]=jt[c+"4"],jt[m][5]=jt[c+"5"],jt[m][6]=jt[c+"6"],jt[m][7]=jt[c+"7"],jt[m][8]=jt[c+"8"],jt[m][9]=jt[c+"9"],jt[m][10]=jt[c+"10"],jt[m][11]=jt[c+"11"],jt[m][12]=jt[c+"12"],jt[m][13]=jt[c+"13"],jt[m][14]=jt[c+"0"],jt[m][15]=jt[c+"0"]}function vA(c){return c==fv||c==dv||c==n0||c==hv}function DA(){this.eb=[],this.size=this.A=this.fb=0}function os(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ti(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new DA,this.f.kb=new os,this.sd=null}function uA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Si(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Yf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function vl(c,m){var T=c.T,ee=m.ba.f.RGBA,Pe=ee.eb,ke=ee.fb+c.ka*ee.A,Ge=fc[m.ba.S],nt=c.y,it=c.O,Et=c.f,dn=c.N,_n=c.ea,It=c.W,bn=m.cc,kn=m.dc,Er=m.Mc,Yn=m.Nc,Qr=c.ka,Nr=c.ka+c.T,fa=c.U,$r=fa+1>>1;for(Qr==0?Ge(nt,it,null,null,Et,dn,_n,It,Et,dn,_n,It,Pe,ke,null,null,fa):(Ge(m.ec,m.fc,nt,it,bn,kn,Er,Yn,Et,dn,_n,It,Pe,ke-ee.A,Pe,ke,fa),++T);Qr+2T,Pe=T==$g||T==e0||T==t0||T==uv||T==12||vA(T);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Oh(m.Oa,c,Pe?11:12))return 0;if(Pe&&vA(T)&&Fh(),c.da)alert("todo:use_scaling");else{if(ee){if(m.Ib=Yf,c.Kb){if(T=c.U+1>>1,m.memory=l(c.U+2*T),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+c.U,m.Mc=m.cc,m.Nc=m.dc+T,m.Ib=vl,Fh()}}else alert("todo:EmitYUV");Pe&&(m.Jb=Nu,ee&&Rc())}if(ee&&!Cm){for(c=0;256>c;++c)mp[c]=89858*(c-128)+a0>>r0,Bp[c]=-22014*(c-128)+a0,Cp[c]=-45773*(c-128),pp[c]=113618*(c-128)+a0>>r0;for(c=Kh;c>r0,wp[c-Kh]=cu(m,255),yp[c-Kh]=cu(m+8>>4,15);Cm=1}return 1}function fA(c){var m=c.ma,T=c.U,ee=c.T;return n(!(1&c.ka)),0>=T||0>=ee?0:(T=m.Ib(c,m),m.Jb!=null&&m.Jb(c,m,T),m.Dc+=T,1)}function Mu(c){c.ma.memory=null}function ju(c,m,T,ee){return Gr(c,8)!=47?0:(m[0]=Gr(c,14)+1,T[0]=Gr(c,14)+1,ee[0]=Gr(c,1),Gr(c,3)!=0?0:!c.h)}function ac(c,m){if(4>c)return c+1;var T=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&T)))?T:1;var T}function hs(c,m,T){var ee=kt(T),Pe=c[m+=255&ee].g-8;return 0>>0,n(8>=T.g),c.g}function rl(c,m,T){var ee=c.xc;return n((m=ee==0?0:c.vc[c.md*(T>>ee)+(m>>ee)])>Fo.b)*Bo;Erfa&&(Po=fa),(0,Dh[li[zs++]>>8&15])(It,bn+ +ZA,Qr,Nr+ZA-fa,Po-ZA,Qr,Nr+ZA),ZA=Po}bn+=fa,Nr+=fa,++Er&To||(Fo+=Bo)}_n!=Et.nc&&r(it,nt-kn,it,nt+(_n-dn-1)*kn,kn);break;case 1:for(kn=It,Yn=bn,fa=(It=Et.Ea)-(Nr=It&~(Qr=(bn=1<>Et.b)*Er;dn<_n;){for(To=$r,Bo=Et,zA=new aA,Fo=Yn+Nr,li=Yn+It;Yn=Pe),0ke.o&&(ee=ke.o),T=ee?T=0:(Pe[0]+=4*ke.v,ke.ka=T-ke.j,ke.U=ke.va-ke.v,ke.T=ee-T,T=1),T){if(nt=nt[0],11>(T=c.ca).S){var dn=T.f.RGBA,_n=(ee=T.S,Pe=ke.U,ke=ke.T,Et=dn.eb,dn.A),It=ke;for(dn=dn.fb+c.Ma*dn.A;0ee){var Pe=c.l.width,ke=T.ca,Ge=T.tb+Pe*ee,nt=c.V,it=c.Ba+c.c*ee,Et=c.gc;n(c.ab==1),n(Et[0].hc==3),hu(Et[0],ee,m,nt,it,ke,Ge),su(T,ee,m,ke,Ge,Pe)}c.C=c.Ma=m}function Oc(c,m,T,ee,Pe,ke,Ge){var nt=c.$/ee,it=c.$%ee,Et=c.m,dn=c.s,_n=T+c.$,It=_n;Pe=T+ee*Pe;var bn=T+ee*ke,kn=280+dn.ua,Er=c.Pb?nt:16777216,Yn=0=Er){var To=_n-T;n((Er=c).Pb),Er.wd=Er.m,Er.xd=To,0zA.g?(In($r,$r.u+zA.g),To[Bo]=zA.value,$r=0):(In($r,$r.u+zA.g-256),n(256<=zA.value),$r=zA.value),$r==0&&(fa=!0)}else $r=hs(Nr.G[0],Nr.H[0],Et);if(Et.h)break;if(fa||256>$r){if(!fa)if(Nr.nd)m[_n]=(Nr.qb|$r<<8)>>>0;else{if(Wn(Et),fa=hs(Nr.G[1],Nr.H[1],Et),Wn(Et),To=hs(Nr.G[2],Nr.H[2],Et),Bo=hs(Nr.G[3],Nr.H[3],Et),Et.h)break;m[_n]=(Bo<<24|fa<<16|$r<<8|To)>>>0}if(fa=!1,++_n,++it>=ee&&(it=0,++nt,Ge!=null&&nt<=ke&&!(nt%16)&&Ge(c,nt),Yn!=null))for(;It<_n;)$r=m[It++],Yn.X[(506832829*$r&4294967295)>>>Yn.Mb]=$r}else if(280>$r){if($r=ac($r-256,Et),To=hs(Nr.G[4],Nr.H[4],Et),Wn(Et),To=oc(ee,To=ac(To,Et)),Et.h)break;if(_n-T=ee;)it-=ee,++nt,Ge!=null&&nt<=ke&&!(nt%16)&&Ge(c,nt);if(n(_n<=Pe),it&Qr&&(Nr=rl(dn,it,nt)),Yn!=null)for(;It<_n;)$r=m[It++],Yn.X[(506832829*$r&4294967295)>>>Yn.Mb]=$r}else{if(!($r>>Yn.Mb]=$r;$r=_n,n(!(fa>>>(To=Yn).Xa)),m[$r]=To.X[fa],fa=!0}fa||n(Et.h==cn(Et))}if(c.Pb&&Et.h&&_nke?ke:nt),c.a=0,c.$=_n-T}return 1}return c.a=3,0}function Ac(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var m=c.Wa;m!=null&&(m.X=null),c.vb=null,n(c!=null)}function _f(){var c=new EA;return c==null?null:(c.a=0,c.xb=dm,Vi("Predictor","VP8LPredictors"),Vi("Predictor","VP8LPredictors_C"),Vi("PredictorAdd","VP8LPredictorsAdd"),Vi("PredictorAdd","VP8LPredictorsAdd_C"),Bs=Ai,Nh=jA,Mh=Cs,bf=gi,Ef=qA,If=_A,ud=as,jt.VP8LMapColor32b=du,jt.VP8LMapColor8b=Uh,c)}function lu(c,m,T,ee,Pe){var ke=1,Ge=[c],nt=[m],it=ee.m,Et=ee.s,dn=null,_n=0;e:for(;;){if(T)for(;ke&&Gr(it,1);){var It=Ge,bn=nt,kn=ee,Er=1,Yn=kn.m,Qr=kn.gc[kn.ab],Nr=Gr(Yn,2);if(kn.Oc&1<=kn.ab),Nr){case 0:case 1:Qr.b=Gr(Yn,3)+2,Er=lu(ia(Qr.Ea,Qr.b),ia(Qr.nc,Qr.b),0,kn,Qr.K),Qr.K=Qr.K[0];break;case 3:var fa,$r=Gr(Yn,8)+1,To=16<$r?0:4<$r?1:2<$r?2:3;if(It[0]=ia(Qr.Ea,To),Qr.b=To,fa=Er=lu($r,1,0,kn,Qr.K)){var Bo,zA=$r,Fo=Qr,li=1<<(8>>Fo.b),zs=l(li);if(zs==null)fa=0;else{var ZA=Fo.K[0],Po=Fo.w;for(zs[0]=Fo.K[0][0],Bo=1;Bo<1*zA;++Bo)zs[Bo]=iA(ZA[Po+Bo],zs[Bo-1]);for(;Bo<4*li;++Bo)zs[Bo]=0;Fo.K[0]=null,Fo.K[0]=zs,fa=1}}Er=fa;break;case 2:break;default:n(0)}ke=Er}}if(Ge=Ge[0],nt=nt[0],ke&&Gr(it,1)&&!(ke=1<=(_n=Gr(it,4))&&11>=_n)){ee.a=3;break e}var Xa;if(Xa=ke)t:{var ys,NA,di,qi=ee,Al=Ge,xl=nt,gs=_n,ml=T,Sl=qi.m,Zs=qi.s,mi=[null],Ui=1,vs=0,Di=ap[gs];n:for(;;){if(ml&&Gr(Sl,1)){var il=Gr(Sl,3)+2,Dc=ia(Al,il),bs=ia(xl,il),jl=Dc*bs;if(!lu(Dc,bs,0,qi,mi))break n;for(mi=mi[0],Zs.xc=il,ys=0;ys>8&65535;mi[ys]=Ki,Ki>=Ui&&(Ui=Ki+1)}}if(Sl.h)break n;for(NA=0;5>NA;++NA){var Vs=um[NA];!NA&&0=Fl),Xl=Wl;var Hl=l(vs);if(Xl==null||Hl==null||Vl==null){qi.a=1;break n}var Gl=Vl;for(ys=di=0;ysNA;++NA){Vs=um[NA],Jl[NA]=Gl,Nc[NA]=di,!NA&&0c0)break r}else Bv=c0;for(zh=0;zhVd)xm[zh++]=Vd,Vd!=0&&(Sm=Vd);else{var Lp=Vd==16,Qm=Vd-16,Rp=ep[Qm],Om=Gr(Qf,$m[Qm])+Rp;if(zh+Om>c0)break r;for(var Up=Lp?Sm:0;0=NA){var Zh,yv=Hl[0];for(Zh=1;Zhyv&&(yv=Hl[Zh]);sl+=yv}}if(Xi.nd=_u,Xi.Qb=0,_u&&(Xi.qb=(Jl[3][Nc[3]+0].value<<24|Jl[1][Nc[1]+0].value<<16|Jl[2][Nc[2]+0].value)>>>0,dd==0&&256>Jl[0][Nc[0]+0].value&&(Xi.Qb=1,Xi.qb+=Jl[0][Nc[0]+0].value<<8)),Xi.jc=!Xi.Qb&&6>sl,Xi.jc){var u0,$u=Xi;for(u0=0;u0>=el(f0,8,Lf),Of>>=el($u.G[1][$u.H[1]+Of],16,Lf),Of>>=el($u.G[2][$u.H[2]+Of],0,Lf),el($u.G[3][$u.H[3]+Of],24,Lf))}}}Zs.vc=mi,Zs.Wb=Ui,Zs.Ya=Xl,Zs.yc=Vl,Xa=1;break t}Xa=0}if(!(ke=Xa)){ee.a=3;break e}if(0<_n){if(Et.ua=1<<_n,!Bt(Et.Wa,_n)){ee.a=1,ke=0;break e}}else Et.ua=0;var bv=ee,Lm=Ge,Dp=nt,Ev=bv.s,Iv=Ev.xc;if(bv.c=Lm,bv.i=Dp,Ev.md=ia(Lm,Iv),Ev.wc=Iv==0?-1:(1<ee+1?[]:0),!(Pe.lengthc?0:c>m?m:c}function Nd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Ng;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,Th||(Th=Md)),c}function Ps(c,m,T){return c.a==0&&(c.a=m,c.sc=T,c.cb=0),0}function Mg(c,m,T){return 3<=T&&c[m+0]==157&&c[m+1]==1&&c[m+2]==42}function uu(c,m){if(c==null)return 0;if(c.a=0,c.sc="OK",m==null)return Ps(c,2,"null VP8Io passed to VP8GetHeaders()");var T=m.data,ee=m.w,Pe=m.ha;if(4>Pe)return Ps(c,7,"Truncated header.");var ke=T[ee+0]|T[ee+1]<<8|T[ee+2]<<16,Ge=c.Od;if(Ge.Rb=!(1&ke),Ge.td=ke>>1&7,Ge.yd=ke>>4&1,Ge.ub=ke>>5,3Pe)return Ps(c,7,"cannot parse picture header");if(!Mg(T,ee,Pe))return Ps(c,3,"Bad code word");nt.c=16383&(T[ee+4]<<8|T[ee+3]),nt.Td=T[ee+4]>>6,nt.i=16383&(T[ee+6]<<8|T[ee+5]),nt.Ud=T[ee+6]>>6,ee+=7,Pe-=7,c.za=nt.c+15>>4,c.Ub=nt.i+15>>4,m.width=nt.c,m.height=nt.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,A((ke=c.Pa).jb,0,255,ke.jb.length),n((ke=c.Qa)!=null),ke.Cb=0,ke.Bb=0,ke.Fb=1,A(ke.Zb,0,0,ke.Zb.length),A(ke.Lb,0,0,ke.Lb)}if(Ge.ub>Pe)return Ps(c,7,"bad partition length");hr(ke=c.m,T,ee,Ge.ub),ee+=Ge.ub,Pe-=Ge.ub,Ge.Rb&&(nt.Ld=Br(ke),nt.Kd=Br(ke)),nt=c.Qa;var it,Et=c.Pa;if(n(ke!=null),n(nt!=null),nt.Cb=Br(ke),nt.Cb){if(nt.Bb=Br(ke),Br(ke)){for(nt.Fb=Br(ke),it=0;4>it;++it)nt.Zb[it]=Br(ke)?qn(ke,7):0;for(it=0;4>it;++it)nt.Lb[it]=Br(ke)?qn(ke,6):0}if(nt.Bb)for(it=0;3>it;++it)Et.jb[it]=Br(ke)?Cr(ke,8):255}else nt.Bb=0;if(ke.Ka)return Ps(c,3,"cannot parse segment header");if((nt=c.ed).zd=Br(ke),nt.Tb=Cr(ke,6),nt.wb=Cr(ke,3),nt.Pc=Br(ke),nt.Pc&&Br(ke)){for(Et=0;4>Et;++Et)Br(ke)&&(nt.vd[Et]=qn(ke,6));for(Et=0;4>Et;++Et)Br(ke)&&(nt.od[Et]=qn(ke,6))}if(c.L=nt.Tb==0?0:nt.zd?1:2,ke.Ka)return Ps(c,3,"cannot parse filter header");var dn=Pe;if(Pe=it=ee,ee=it+dn,nt=dn,c.Xb=(1<nt&&(_n=nt),hr(c.Jc[+dn],T,it,_n),it+=_n,nt-=_n,Pe+=3}hr(c.Jc[+Et],T,it,nt),T=it_n;++_n){if(dn.Cb){var It=dn.Zb[_n];dn.Fb||(It+=T)}else{if(0<_n){c.pb[_n]=c.pb[0];continue}It=T}var bn=c.pb[_n];bn.Sc[0]=gv[cu(It+Pe,127)],bn.Sc[1]=vv[cu(It+0,127)],bn.Eb[0]=2*gv[cu(It+ee,127)],bn.Eb[1]=101581*vv[cu(It+nt,127)]>>16,8>bn.Eb[1]&&(bn.Eb[1]=8),bn.Qc[0]=gv[cu(It+Et,117)],bn.Qc[1]=vv[cu(It+it,127)],bn.lc=It+it}if(!Ge.Rb)return Ps(c,4,"Not a key frame.");for(Br(ke),Ge=c.Pa,T=0;4>T;++T){for(Pe=0;8>Pe;++Pe)for(ee=0;3>ee;++ee)for(nt=0;11>nt;++nt)Et=jr(ke,cp[T][Pe][ee][nt])?Cr(ke,8):sp[T][Pe][ee][nt],Ge.Wc[T][Pe].Yb[ee][nt]=Et;for(Pe=0;17>Pe;++Pe)Ge.Xc[T][Pe]=Ge.Wc[T][up[Pe]]}return c.kc=Br(ke),c.kc&&(c.Bd=Cr(ke,8)),c.cb=1}function Md(c,m,T,ee,Pe,ke,Ge){var nt=m[Pe].Yb[T];for(T=0;16>Pe;++Pe){if(!jr(c,nt[T+0]))return Pe;for(;!jr(c,nt[T+1]);)if(nt=m[++Pe].Yb[0],T=0,Pe==16)return 16;var it=m[Pe+1].Yb;if(jr(c,nt[T+2])){var Et=c,dn=0;if(jr(Et,(It=nt)[(_n=T)+3]))if(jr(Et,It[_n+6])){for(nt=0,_n=2*(dn=jr(Et,It[_n+8]))+(It=jr(Et,It[_n+9+dn])),dn=0,It=Ap[_n];It[nt];++nt)dn+=dn+jr(Et,It[nt]);dn+=3+(8<<_n)}else jr(Et,It[_n+7])?(dn=7+2*jr(Et,165),dn+=jr(Et,145)):dn=5+jr(Et,159);else dn=jr(Et,It[_n+4])?3+jr(Et,It[_n+5]):2;nt=it[2]}else dn=1,nt=it[1];it=Ge+ip[Pe],0>(Et=c).b&&mr(Et);var _n,It=Et.b,bn=(_n=Et.Ca>>1)-(Et.I>>It)>>31;--Et.b,Et.Ca+=bn,Et.Ca|=1,Et.I-=(_n+1&bn)<>3),c[m+T+32*ee]=-256&Pe?0>Pe?0:255:Pe}function Ts(c,m,T,ee,Pe,ke){sc(c,m,0,T,ee+Pe),sc(c,m,1,T,ee+ke),sc(c,m,2,T,ee-ke),sc(c,m,3,T,ee-Pe)}function Hu(c){return(20091*c>>16)+c}function Hg(c,m,T,ee){var Pe,ke=0,Ge=l(16);for(Pe=0;4>Pe;++Pe){var nt=c[m+0]+c[m+8],it=c[m+0]-c[m+8],Et=(35468*c[m+4]>>16)-Hu(c[m+12]),dn=Hu(c[m+4])+(35468*c[m+12]>>16);Ge[ke+0]=nt+dn,Ge[ke+1]=it+Et,Ge[ke+2]=it-Et,Ge[ke+3]=nt-dn,ke+=4,m++}for(Pe=ke=0;4>Pe;++Pe)nt=(c=Ge[ke+0]+4)+Ge[ke+8],it=c-Ge[ke+8],Et=(35468*Ge[ke+4]>>16)-Hu(Ge[ke+12]),sc(T,ee,0,0,nt+(dn=Hu(Ge[ke+4])+(35468*Ge[ke+12]>>16))),sc(T,ee,1,0,it+Et),sc(T,ee,2,0,it-Et),sc(T,ee,3,0,nt-dn),ke++,ee+=32}function Y0(c,m,T,ee){var Pe=c[m+0]+4,ke=35468*c[m+4]>>16,Ge=Hu(c[m+4]),nt=35468*c[m+1]>>16;Ts(T,ee,0,Pe+Ge,c=Hu(c[m+1]),nt),Ts(T,ee,1,Pe+ke,c,nt),Ts(T,ee,2,Pe-ke,c,nt),Ts(T,ee,3,Pe-Ge,c,nt)}function q0(c,m,T,ee,Pe){Hg(c,m,T,ee),Pe&&Hg(c,m+16,T,ee+4)}function fu(c,m,T,ee){fd(c,m+0,T,ee,1),fd(c,m+32,T,ee+128,1)}function Tg(c,m,T,ee){var Pe;for(c=c[m+0]+4,Pe=0;4>Pe;++Pe)for(m=0;4>m;++m)sc(T,ee,m,Pe,c)}function Kg(c,m,T,ee){c[m+0]&&Fi(c,m+0,T,ee),c[m+16]&&Fi(c,m+16,T,ee+4),c[m+32]&&Fi(c,m+32,T,ee+128),c[m+48]&&Fi(c,m+48,T,ee+128+4)}function jd(c,m,T,ee){var Pe,ke=l(16);for(Pe=0;4>Pe;++Pe){var Ge=c[m+0+Pe]+c[m+12+Pe],nt=c[m+4+Pe]+c[m+8+Pe],it=c[m+4+Pe]-c[m+8+Pe],Et=c[m+0+Pe]-c[m+12+Pe];ke[0+Pe]=Ge+nt,ke[8+Pe]=Ge-nt,ke[4+Pe]=Et+it,ke[12+Pe]=Et-it}for(Pe=0;4>Pe;++Pe)Ge=(c=ke[0+4*Pe]+3)+ke[3+4*Pe],nt=ke[1+4*Pe]+ke[2+4*Pe],it=ke[1+4*Pe]-ke[2+4*Pe],Et=c-ke[3+4*Pe],T[ee+0]=Ge+nt>>3,T[ee+16]=Et+it>>3,T[ee+32]=Ge-nt>>3,T[ee+48]=Et-it>>3,ee+=64}function ed(c,m,T){var ee,Pe=m-32,ke=Zl,Ge=255-c[Pe-1];for(ee=0;eeT;++T)r(c,m+32*T,c,m-32,16)}function kg(c,m){var T;for(T=16;0ee;++ee)A(m,T+32*ee,c,16)}function tv(c,m){var T,ee=16;for(T=0;16>T;++T)ee+=c[m-1+32*T]+c[m+T-32];Lc(ee>>5,c,m)}function td(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m-1+32*T];Lc(ee>>4,c,m)}function wh(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m+T-32];Lc(ee>>4,c,m)}function nv(c,m){Lc(128,c,m)}function FA(c,m,T){return c+2*m+T+2>>2}function rv(c,m){var T,ee=m-32;for(ee=new Uint8Array([FA(c[ee-1],c[ee+0],c[ee+1]),FA(c[ee+0],c[ee+1],c[ee+2]),FA(c[ee+1],c[ee+2],c[ee+3]),FA(c[ee+2],c[ee+3],c[ee+4])]),T=0;4>T;++T)r(c,m+32*T,ee,0,ee.length)}function av(c,m){var T=c[m-1],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96];ma(c,m+0,16843009*FA(c[m-1-32],T,ee)),ma(c,m+32,16843009*FA(T,ee,Pe)),ma(c,m+64,16843009*FA(ee,Pe,ke)),ma(c,m+96,16843009*FA(Pe,ke,ke))}function ov(c,m){var T,ee=4;for(T=0;4>T;++T)ee+=c[m+T-32]+c[m-1+32*T];for(ee>>=3,T=0;4>T;++T)A(c,m+32*T,ee,4)}function Tu(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1-32],Ge=c[m+0-32],nt=c[m+1-32],it=c[m+2-32],Et=c[m+3-32];c[m+0+96]=FA(ee,Pe,c[m-1+96]),c[m+1+96]=c[m+0+64]=FA(T,ee,Pe),c[m+2+96]=c[m+1+64]=c[m+0+32]=FA(ke,T,ee),c[m+3+96]=c[m+2+64]=c[m+1+32]=c[m+0+0]=FA(Ge,ke,T),c[m+3+64]=c[m+2+32]=c[m+1+0]=FA(nt,Ge,ke),c[m+3+32]=c[m+2+0]=FA(it,nt,Ge),c[m+3+0]=FA(Et,it,nt)}function Ku(c,m){var T=c[m+1-32],ee=c[m+2-32],Pe=c[m+3-32],ke=c[m+4-32],Ge=c[m+5-32],nt=c[m+6-32],it=c[m+7-32];c[m+0+0]=FA(c[m+0-32],T,ee),c[m+1+0]=c[m+0+32]=FA(T,ee,Pe),c[m+2+0]=c[m+1+32]=c[m+0+64]=FA(ee,Pe,ke),c[m+3+0]=c[m+2+32]=c[m+1+64]=c[m+0+96]=FA(Pe,ke,Ge),c[m+3+32]=c[m+2+64]=c[m+1+96]=FA(ke,Ge,nt),c[m+3+64]=c[m+2+96]=FA(Ge,nt,it),c[m+3+96]=FA(nt,it,it)}function Av(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1-32],Ge=c[m+0-32],nt=c[m+1-32],it=c[m+2-32],Et=c[m+3-32];c[m+0+0]=c[m+1+64]=ke+Ge+1>>1,c[m+1+0]=c[m+2+64]=Ge+nt+1>>1,c[m+2+0]=c[m+3+64]=nt+it+1>>1,c[m+3+0]=it+Et+1>>1,c[m+0+96]=FA(Pe,ee,T),c[m+0+64]=FA(ee,T,ke),c[m+0+32]=c[m+1+96]=FA(T,ke,Ge),c[m+1+32]=c[m+2+96]=FA(ke,Ge,nt),c[m+2+32]=c[m+3+96]=FA(Ge,nt,it),c[m+3+32]=FA(nt,it,Et)}function iv(c,m){var T=c[m+0-32],ee=c[m+1-32],Pe=c[m+2-32],ke=c[m+3-32],Ge=c[m+4-32],nt=c[m+5-32],it=c[m+6-32],Et=c[m+7-32];c[m+0+0]=T+ee+1>>1,c[m+1+0]=c[m+0+64]=ee+Pe+1>>1,c[m+2+0]=c[m+1+64]=Pe+ke+1>>1,c[m+3+0]=c[m+2+64]=ke+Ge+1>>1,c[m+0+32]=FA(T,ee,Pe),c[m+1+32]=c[m+0+96]=FA(ee,Pe,ke),c[m+2+32]=c[m+1+96]=FA(Pe,ke,Ge),c[m+3+32]=c[m+2+96]=FA(ke,Ge,nt),c[m+3+64]=FA(Ge,nt,it),c[m+3+96]=FA(nt,it,Et)}function Hd(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96];c[m+0+0]=T+ee+1>>1,c[m+2+0]=c[m+0+32]=ee+Pe+1>>1,c[m+2+32]=c[m+0+64]=Pe+ke+1>>1,c[m+1+0]=FA(T,ee,Pe),c[m+3+0]=c[m+1+32]=FA(ee,Pe,ke),c[m+3+32]=c[m+1+64]=FA(Pe,ke,ke),c[m+3+64]=c[m+2+64]=c[m+0+96]=c[m+1+96]=c[m+2+96]=c[m+3+96]=ke}function yh(c,m){var T=c[m-1+0],ee=c[m-1+32],Pe=c[m-1+64],ke=c[m-1+96],Ge=c[m-1-32],nt=c[m+0-32],it=c[m+1-32],Et=c[m+2-32];c[m+0+0]=c[m+2+32]=T+Ge+1>>1,c[m+0+32]=c[m+2+64]=ee+T+1>>1,c[m+0+64]=c[m+2+96]=Pe+ee+1>>1,c[m+0+96]=ke+Pe+1>>1,c[m+3+0]=FA(nt,it,Et),c[m+2+0]=FA(Ge,nt,it),c[m+1+0]=c[m+3+32]=FA(T,Ge,nt),c[m+1+32]=c[m+3+64]=FA(ee,T,Ge),c[m+1+64]=c[m+3+96]=FA(Pe,ee,T),c[m+1+96]=FA(ke,Pe,ee)}function nd(c,m){var T;for(T=0;8>T;++T)r(c,m+32*T,c,m-32,8)}function sv(c,m){var T;for(T=0;8>T;++T)A(c,m,c[m-1],8),m+=32}function ku(c,m,T){var ee;for(ee=0;8>ee;++ee)A(m,T+32*ee,c,8)}function lv(c,m){var T,ee=8;for(T=0;8>T;++T)ee+=c[m+T-32]+c[m-1+32*T];ku(ee>>4,c,m)}function bh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m+T-32];ku(ee>>3,c,m)}function Eh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m-1+32*T];ku(ee>>3,c,m)}function zg(c,m){ku(128,c,m)}function zu(c,m,T){var ee=c[m-T],Pe=c[m+0],ke=3*(Pe-ee)+cv[1020+c[m-2*T]-c[m+T]],Ge=qg[112+(ke+4>>3)];c[m-T]=Zl[255+ee+qg[112+(ke+3>>3)]],c[m+0]=Zl[255+Pe-Ge]}function Ih(c,m,T,ee){var Pe=c[m+0],ke=c[m+T];return uc[255+c[m-2*T]-c[m-T]]>ee||uc[255+ke-Pe]>ee}function Td(c,m,T,ee){return 4*uc[255+c[m-T]-c[m+0]]+uc[255+c[m-2*T]-c[m+T]]<=ee}function xh(c,m,T,ee,Pe){var ke=c[m-3*T],Ge=c[m-2*T],nt=c[m-T],it=c[m+0],Et=c[m+T],dn=c[m+2*T],_n=c[m+3*T];return 4*uc[255+nt-it]+uc[255+Ge-Et]>ee?0:uc[255+c[m-4*T]-ke]<=Pe&&uc[255+ke-Ge]<=Pe&&uc[255+Ge-nt]<=Pe&&uc[255+_n-dn]<=Pe&&uc[255+dn-Et]<=Pe&&uc[255+Et-it]<=Pe}function rd(c,m,T,ee){var Pe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee,T,Pe)&&zu(c,m+ee,T)}function Sh(c,m,T,ee){var Pe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee*T,1,Pe)&&zu(c,m+ee*T,1)}function Zg(c,m,T,ee){var Pe;for(Pe=3;0>7,Qr=18*Nr+63>>7,Nr=9*Nr+63>>7;it[Et-3*dn]=Zl[255+it[Et-3*dn]+Nr],it[Et-2*dn]=Zl[255+_n+Qr],it[Et-dn]=Zl[255+It+Yn],it[Et+0]=Zl[255+bn-Yn],it[Et+dn]=Zl[255+kn-Qr],it[Et+2*dn]=Zl[255+Er-Nr]}m+=ee}}function Vu(c,m,T,ee,Pe,ke,Ge,nt){for(ke=2*ke+1;0>3)],Er=qg[112+(Er+3>>3)],Yn=kn+1>>1;it[Et-2*dn]=Zl[255+it[Et-2*dn]+Yn],it[Et-dn]=Zl[255+_n+Er],it[Et+0]=Zl[255+It-kn],it[Et+dn]=Zl[255+bn-Yn]}m+=ee}}function Wg(c,m,T,ee,Pe,ke){Zu(c,m,T,1,16,ee,Pe,ke)}function ad(c,m,T,ee,Pe,ke){Zu(c,m,1,T,16,ee,Pe,ke)}function Xg(c,m,T,ee,Pe,ke){var Ge;for(Ge=3;0Et?0:255:Et)&255,Et=it,Pe[ke+nt]=dn}}function Wi(c,m,T,ee){var Pe=m.width,ke=m.o;if(n(c!=null&&m!=null),0>T||0>=ee||T+ee>ke)return null;if(!c.Cc){if(c.ga==null){var Ge;if(c.ga=new HA,(Ge=c.ga==null)||(Ge=m.width*m.o,n(c.Gb.length==0),c.Gb=l(Ge),c.Uc=0,c.Gb==null?Ge=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Ge=1),Ge=!Ge),!Ge){Ge=c.ga;var nt=c.Fa,it=c.P,Et=c.qc,dn=c.mb,_n=c.nb,It=it+1,bn=Et-1,kn=Ge.l;if(n(nt!=null&&dn!=null&&m!=null),Ff[0]=null,Ff[1]=vi,Ff[2]=ls,Ff[3]=Qs,Ge.ca=dn,Ge.tb=_n,Ge.c=m.width,Ge.i=m.height,n(0=Et)m=0;else if(Ge.$a=3&nt[it+0],Ge.Z=nt[it+0]>>2&3,Ge.Lc=nt[it+0]>>4&3,it=nt[it+0]>>6&3,0>Ge.$a||1=Ge.c*Ge.i;Ge=!m}if(Ge)return null;c.ga.Lc!=1?c.Ga=0:ee=ke-T}n(c.ga!=null),n(T+ee<=ke);e:{if(m=(nt=c.ga).c,ke=nt.l.o,nt.$a==0){if(It=c.rc,bn=c.Vc,kn=c.Fa,it=c.P+1+T*m,Et=c.mb,dn=c.nb+T*m,n(it<=c.P+c.qc),nt.Z!=0)for(n(Ff[nt.Z]!=null),Ge=0;Ge=m)m=1;else if(nt.ic||Rc(),nt.ic){nt=Ge.V,It=Ge.Ba,bn=Ge.c;var Er=Ge.i,Yn=(kn=1,it=Ge.$/bn,Et=Ge.$%bn,dn=Ge.m,_n=Ge.s,Ge.$),Qr=bn*Er,Nr=bn*m,fa=_n.wc,$r=Yn(Er=hs($r.G[0],$r.H[0],dn)))nt[It+Yn]=Er,++Yn,++Et>=bn&&(Et=0,++it<=m&&!(it%16)&&Qc(Ge,it));else{if(!(280>Er)){kn=0;break t}Er=ac(Er-256,dn);var To,Bo=hs($r.G[4],$r.H[4],dn);if(Wn(dn),!(Yn>=(Bo=oc(bn,Bo=ac(Bo,dn)))&&Qr-Yn>=Er)){kn=0;break t}for(To=0;To=bn;)Et-=bn,++it<=m&&!(it%16)&&Qc(Ge,it);Ynm?m:it);break t}!kn||dn.h&&Yn=ke&&(c.Cc=1),ee=1}if(!ee)return null;if(c.Cc&&((ee=c.ga)!=null&&(ee.mc=null),c.ga=null,0>23,nt[it+4*Ge+1]=nt[it+4*Ge+1]*_n>>23,nt[it+4*Ge+2]=nt[it+4*Ge+2]*_n>>23)}m+=ke}}function Os(c,m,T,ee,Pe){for(;0>4)*it>>16;c[m+2*ke+0]=(240&Ge|Ge>>4)*it>>16&240|(15&Ge|Ge<<4)*it>>16>>4&15,c[m+2*ke+1]=240&Et|nt}m+=Pe}}function al(c,m,T,ee,Pe,ke,Ge,nt){var it,Et,dn=255;for(Et=0;Et>8}function Rc(){Hh=Ks,tm=Os,nm=al,rm=Wu}function Xu(c,m,T){jt[c]=function(ee,Pe,ke,Ge,nt,it,Et,dn,_n,It,bn,kn,Er,Yn,Qr,Nr,fa){var $r,To=fa-1>>1,Bo=nt[it+0]|Et[dn+0]<<16,zA=_n[It+0]|bn[kn+0]<<16;n(ee!=null);var Fo=3*Bo+zA+131074>>2;for(m(ee[Pe+0],255&Fo,Fo>>16,Er,Yn),ke!=null&&(Fo=3*zA+Bo+131074>>2,m(ke[Ge+0],255&Fo,Fo>>16,Qr,Nr)),$r=1;$r<=To;++$r){var li=nt[it+$r]|Et[dn+$r]<<16,zs=_n[It+$r]|bn[kn+$r]<<16,ZA=Bo+li+zA+zs+524296,Po=ZA+2*(li+zA)>>3;Fo=Po+Bo>>1,Bo=(ZA=ZA+2*(Bo+zs)>>3)+li>>1,m(ee[Pe+2*$r-1],255&Fo,Fo>>16,Er,Yn+(2*$r-1)*T),m(ee[Pe+2*$r-0],255&Bo,Bo>>16,Er,Yn+(2*$r-0)*T),ke!=null&&(Fo=ZA+zA>>1,Bo=Po+zs>>1,m(ke[Ge+2*$r-1],255&Fo,Fo>>16,Qr,Nr+(2*$r-1)*T),m(ke[Ge+2*$r+0],255&Bo,Bo>>16,Qr,Nr+(2*$r+0)*T)),Bo=li,zA=zs}1&fa||(Fo=3*Bo+zA+131074>>2,m(ee[Pe+fa-1],255&Fo,Fo>>16,Er,Yn+(fa-1)*T),ke!=null&&(Fo=3*zA+Bo+131074>>2,m(ke[Ge+fa-1],255&Fo,Fo>>16,Qr,Nr+(fa-1)*T)))}}function Fh(){fc[_g]=dp,fc[$g]=hm,fc[lm]=hp,fc[e0]=gm,fc[t0]=vm,fc[uv]=mm,fc[cm]=gp,fc[fv]=hm,fc[dv]=gm,fc[n0]=vm,fc[hv]=mm}function Kd(c){return c&~vp?0>c?0:255:c>>pm}function pf(c,m){return Kd((19077*c>>8)+(26149*m>>8)-14234)}function od(c,m,T){return Kd((19077*c>>8)-(6419*m>>8)-(13320*T>>8)+8708)}function Ad(c,m){return Kd((19077*c>>8)+(33050*m>>8)-17685)}function Cf(c,m,T,ee,Pe){ee[Pe+0]=pf(c,T),ee[Pe+1]=od(c,m,T),ee[Pe+2]=Ad(c,m)}function ol(c,m,T,ee,Pe){ee[Pe+0]=Ad(c,m),ee[Pe+1]=od(c,m,T),ee[Pe+2]=pf(c,T)}function id(c,m,T,ee,Pe){var ke=od(c,m,T);m=ke<<3&224|Ad(c,m)>>3,ee[Pe+0]=248&pf(c,T)|ke>>5,ee[Pe+1]=m}function sd(c,m,T,ee,Pe){var ke=240&Ad(c,m)|15;ee[Pe+0]=240&pf(c,T)|od(c,m,T)>>4,ee[Pe+1]=ke}function Ph(c,m,T,ee,Pe){ee[Pe+0]=255,Cf(c,m,T,ee,Pe+1)}function Qh(c,m,T,ee,Pe){ol(c,m,T,ee,Pe),ee[Pe+3]=255}function Il(c,m,T,ee,Pe){Cf(c,m,T,ee,Pe),ee[Pe+3]=255}function Gu(c,m,T){jt[c]=function(ee,Pe,ke,Ge,nt,it,Et,dn,_n){for(var It=dn+(-2&_n)*T;dn!=It;)m(ee[Pe+0],ke[Ge+0],nt[it+0],Et,dn),m(ee[Pe+1],ke[Ge+0],nt[it+0],Et,dn+T),Pe+=2,++Ge,++it,dn+=2*T;1&_n&&m(ee[Pe+0],ke[Ge+0],nt[it+0],Et,dn)}}function kd(c,m,T){return T==0?c==0?m==0?6:5:m==0?4:0:T}function Gg(c,m,T,ee,Pe){switch(c>>>30){case 3:fd(m,T,ee,Pe,0);break;case 2:cc(m,T,ee,Pe);break;case 1:Fi(m,T,ee,Pe)}}function lc(c,m){var T,ee,Pe=m.M,ke=m.Nb,Ge=c.oc,nt=c.pc+40,it=c.oc,Et=c.pc+584,dn=c.oc,_n=c.pc+600;for(T=0;16>T;++T)Ge[nt+32*T-1]=129;for(T=0;8>T;++T)it[Et+32*T-1]=129,dn[_n+32*T-1]=129;for(0T;++T)r(Ge,nt+32*T-4,Ge,nt+32*T+12,4);for(T=-1;8>T;++T)r(it,Et+32*T-4,it,Et+32*T+4,4),r(dn,_n+32*T-4,dn,_n+32*T+4,4)}var bn=c.Gd,kn=c.Hd+ee,Er=It.ad,Yn=It.Hc;if(0=c.za-1?A(Qr,Nr,bn[kn].y[15],4):r(Qr,Nr,bn[kn+1].y,0,4)),T=0;4>T;T++)Qr[Nr+128+T]=Qr[Nr+256+T]=Qr[Nr+384+T]=Qr[Nr+0+T];for(T=0;16>T;++T,Yn<<=2)Qr=Ge,Nr=nt+Bm[T],Uc[It.Ob[T]](Qr,Nr),Gg(Yn,Er,16*+T,Qr,Nr)}else if(Qr=kd(ee,Pe,It.Ob[0]),Sf[Qr](Ge,nt),Yn!=0)for(T=0;16>T;++T,Yn<<=2)Gg(Yn,Er,16*+T,Ge,nt+Bm[T]);for(T=It.Gc,Qr=kd(ee,Pe,It.Dd),qu[Qr](it,Et),qu[Qr](dn,_n),Yn=Er,Qr=it,Nr=Et,255&(It=0|T)&&(170&It?gu(Yn,256,Qr,Nr):Ti(Yn,256,Qr,Nr)),It=dn,Yn=_n,255&(T>>=8)&&(170&T?gu(Er,320,It,Yn):Ti(Er,320,It,Yn)),PeT;++T)r(bn,kn+T*c.R,Ge,nt+32*T,16);for(T=0;8>T;++T)r(Er,It+T*c.B,it,Et+32*T,8),r(Yn,Qr+T*c.B,dn,_n+32*T,8)}}function ld(c,m,T,ee,Pe,ke,Ge,nt,it){var Et=[0],dn=[0],_n=0,It=it!=null?it.kd:0,bn=it!=null?it:new _r;if(c==null||12>T)return 7;bn.data=c,bn.w=m,bn.ha=T,m=[m],T=[T],bn.gb=[bn.gb];e:{var kn=m,Er=T,Yn=bn.gb;if(n(c!=null),n(Er!=null),n(Yn!=null),Yn[0]=0,12<=Er[0]&&!t(c,kn[0],"RIFF")){if(t(c,kn[0]+8,"WEBP")){Yn=3;break e}var Qr=Xo(c,kn[0]+4);if(12>Qr||4294967286Er[0]-8){Yn=7;break e}Yn[0]=Qr,kn[0]+=12,Er[0]-=12}Yn=0}if(Yn!=0)return Yn;for(Qr=0Yn[0])Yn=7;else{if(!t(Nr,Er[0],"VP8X")){if(Xo(Nr,Er[0]+4)!=10){Yn=3;break e}if(18>Yn[0]){Yn=7;break e}var Bo=Xo(Nr,Er[0]+8),zA=1+to(Nr,Er[0]+12);if(2147483648<=zA*(Nr=1+to(Nr,Er[0]+15))){Yn=3;break e}To!=null&&(To[0]=Bo),fa!=null&&(fa[0]=zA),$r!=null&&($r[0]=Nr),Er[0]+=18,Yn[0]-=18,Fo[0]=1}Yn=0}}if(_n=_n[0],kn=kn[0],Yn!=0)return Yn;if(Er=!!(2&kn),!Qr&&_n)return 3;if(ke!=null&&(ke[0]=!!(16&kn)),Ge!=null&&(Ge[0]=Er),nt!=null&&(nt[0]=0),Ge=Et[0],kn=dn[0],_n&&Er&&it==null){Yn=0;break}if(4>T){Yn=7;break}if(Qr&&_n||!Qr&&!_n&&!t(c,m[0],"ALPH")){T=[T],bn.na=[bn.na],bn.P=[bn.P],bn.Sa=[bn.Sa];e:{Bo=c,Yn=m,Qr=T;var Fo=bn.gb;fa=bn.na,$r=bn.P,To=bn.Sa,zA=22,n(Bo!=null),n(Qr!=null),Nr=Yn[0];var li=Qr[0];for(n(fa!=null),n(To!=null),fa[0]=null,$r[0]=null,To[0]=0;;){if(Yn[0]=Nr,Qr[0]=li,8>li){Yn=7;break e}var zs=Xo(Bo,Nr+4);if(4294967286Fo){Yn=3;break e}if(!t(Bo,Nr,"VP8 ")||!t(Bo,Nr,"VP8L")){Yn=0;break e}if(li[0]Qr[0])Yn=7;else{if(Nr||zA){if(Fo=Xo(Fo,Bo+4),12<=fa&&Fo>fa-12){Yn=3;break e}if(It&&Fo>Qr[0]-8){Yn=7;break e}$r[0]=Fo,Yn[0]+=8,Qr[0]-=8,To[0]=zA}else To[0]=5<=Qr[0]&&Fo[Bo+0]==47&&!(Fo[Bo+4]>>5),$r[0]=Qr[0];Yn=0}if(T=T[0],bn.Ja=bn.Ja[0],bn.xa=bn.xa[0],m=m[0],Yn!=0)break;if(4294967286T){Yn=7;break}nt=Ge,It=kn,Er=ke,c==null||5>T?c=0:5<=T&&c[m+0]==47&&!(c[m+4]>>5)?(Qr=[0],Fo=[0],fa=[0],wr($r=new Rt,c,m,T),ju($r,Qr,Fo,fa)?(nt!=null&&(nt[0]=Qr[0]),It!=null&&(It[0]=Fo[0]),Er!=null&&(Er[0]=fa[0]),c=1):c=0):c=0}else{if(10>T){Yn=7;break}nt=kn,c==null||10>T||!Mg(c,m+3,T-3)?c=0:(It=c[m+0]|c[m+1]<<8|c[m+2]<<16,Er=16383&(c[m+7]<<8|c[m+6]),c=16383&(c[m+9]<<8|c[m+8]),1&It||3<(It>>1&7)||!(It>>4&1)||It>>5>=bn.Ja||!Er||!c?c=0:(Ge&&(Ge[0]=Er),nt&&(nt[0]=c),c=1))}if(!c||(Ge=Ge[0],kn=kn[0],_n&&(Et[0]!=Ge||dn[0]!=kn)))return 3;it!=null&&(it[0]=bn,it.offset=m-it.w,n(4294967286>m-it.w),n(it.offset==it.ha-T));break}return Yn==0||Yn==7&&_n&&it==null?(ke!=null&&(ke[0]|=bn.na!=null&&0T||(ke&=-2,Ge&=-2),0>ke||0>Ge||0>=nt||0>=it||ke+nt>ee||Ge+it>Pe))return 0;if(m.v=ke,m.j=Ge,m.va=ke+nt,m.o=Ge+it,m.U=nt,m.T=it,m.da=c!=null&&0c.S){var m=c.f.RGBA;m.fb+=(c.height-1)*m.A,m.A=-m.A}else m=c.f.kb,c=c.height,m.O+=(c-1)*m.fa,m.fa=-m.fa,m.N+=(c-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(c-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(c-1)*m.lb,m.lb=-m.lb);return 0}function Bf(c,m,T,ee){if(ee==null||0>=c||0>=m)return 2;if(T!=null){if(T.Da){var Pe=T.cd,ke=T.bd,Ge=-2&T.v,nt=-2&T.j;if(0>Ge||0>nt||0>=Pe||0>=ke||Ge+Pe>c||nt+ke>m)return 2;c=Pe,m=ke}if(T.da){if(!AA(c,m,Pe=[T.ib],ke=[T.hb]))return 2;c=Pe[0],m=ke[0]}}ee.width=c,ee.height=m;e:{var it=ee.width,Et=ee.height;if(c=ee.S,0>=it||0>=Et||!(c>=_g&&13>c))c=2;else{if(0>=ee.Rd&&ee.sd==null){Ge=ke=Pe=m=0;var dn=(nt=it*wm[c])*Et;if(11>c||(ke=(Et+1)/2*(m=(it+1)/2),c==12&&(Ge=(Pe=it)*Et)),(Et=l(dn+2*ke+Ge))==null){c=1;break e}ee.sd=Et,11>c?((it=ee.f.RGBA).eb=Et,it.fb=0,it.A=nt,it.size=dn):((it=ee.f.kb).y=Et,it.O=0,it.fa=nt,it.Fd=dn,it.f=Et,it.N=0+dn,it.Ab=m,it.Cd=ke,it.ea=Et,it.W=0+dn+ke,it.Db=m,it.Ed=ke,c==12&&(it.F=Et,it.J=0+dn+2*ke),it.Tc=Ge,it.lb=Pe)}if(m=1,Pe=ee.S,ke=ee.width,Ge=ee.height,Pe>=_g&&13>Pe)if(11>Pe)c=ee.f.RGBA,m&=(nt=Math.abs(c.A))*(Ge-1)+ke<=c.size,m&=nt>=ke*wm[Pe],m&=c.eb!=null;else{c=ee.f.kb,nt=(ke+1)/2,dn=(Ge+1)/2,it=Math.abs(c.fa),Et=Math.abs(c.Ab);var _n=Math.abs(c.Db),It=Math.abs(c.lb),bn=It*(Ge-1)+ke;m&=it*(Ge-1)+ke<=c.Fd,m&=Et*(dn-1)+nt<=c.Cd,m=(m&=_n*(dn-1)+nt<=c.Ed)&it>=ke&Et>=nt&_n>=nt,m&=c.y!=null,m&=c.f!=null,m&=c.ea!=null,Pe==12&&(m&=It>=ke,m&=bn<=c.Tc,m&=c.F!=null)}else m=0;c=m?0:2}}return c!=0||T!=null&&T.fd&&(c=Lh(ee)),c}var cd=64,kl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zl=24,wf=32,Ju=8,yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];wo("Predictor0","PredictorAdd0"),jt.Predictor0=function(){return 4278190080},jt.Predictor1=function(c){return c},jt.Predictor2=function(c,m,T){return m[T+0]},jt.Predictor3=function(c,m,T){return m[T+1]},jt.Predictor4=function(c,m,T){return m[T-1]},jt.Predictor5=function(c,m,T){return Yo(Yo(c,m[T+1]),m[T+0])},jt.Predictor6=function(c,m,T){return Yo(c,m[T-1])},jt.Predictor7=function(c,m,T){return Yo(c,m[T+0])},jt.Predictor8=function(c,m,T){return Yo(m[T-1],m[T+0])},jt.Predictor9=function(c,m,T){return Yo(m[T+0],m[T+1])},jt.Predictor10=function(c,m,T){return Yo(Yo(c,m[T-1]),Yo(m[T+0],m[T+1]))},jt.Predictor11=function(c,m,T){var ee=m[T+0];return 0>=UA(ee>>24&255,c>>24&255,(m=m[T-1])>>24&255)+UA(ee>>16&255,c>>16&255,m>>16&255)+UA(ee>>8&255,c>>8&255,m>>8&255)+UA(255&ee,255&c,255&m)?ee:c},jt.Predictor12=function(c,m,T){var ee=m[T+0];return(xi((c>>24&255)+(ee>>24&255)-((m=m[T-1])>>24&255))<<24|xi((c>>16&255)+(ee>>16&255)-(m>>16&255))<<16|xi((c>>8&255)+(ee>>8&255)-(m>>8&255))<<8|xi((255&c)+(255&ee)-(255&m)))>>>0},jt.Predictor13=function(c,m,T){var ee=m[T-1];return(oi((c=Yo(c,m[T+0]))>>24&255,ee>>24&255)<<24|oi(c>>16&255,ee>>16&255)<<16|oi(c>>8&255,ee>>8&255)<<8|oi(255&c,255&ee))>>>0};var Rh=jt.PredictorAdd0;jt.PredictorAdd1=si,wo("Predictor2","PredictorAdd2"),wo("Predictor3","PredictorAdd3"),wo("Predictor4","PredictorAdd4"),wo("Predictor5","PredictorAdd5"),wo("Predictor6","PredictorAdd6"),wo("Predictor7","PredictorAdd7"),wo("Predictor8","PredictorAdd8"),wo("Predictor9","PredictorAdd9"),wo("Predictor10","PredictorAdd10"),wo("Predictor11","PredictorAdd11"),wo("Predictor12","PredictorAdd12"),wo("Predictor13","PredictorAdd13");var zd=jt.PredictorAdd2;Zo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),Zo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var Bs,Jg=jt.ColorIndexInverseTransform,du=jt.MapARGB,hu=jt.VP8LColorIndexInverseTransformAlpha,Uh=jt.MapAlpha,Dh=jt.VP8LPredictorsAdd=[];Dh.length=16,(jt.VP8LPredictors=[]).length=16,(jt.VP8LPredictorsAdd_C=[]).length=16,(jt.VP8LPredictors_C=[]).length=16;var Nh,Mh,bf,Ef,If,ud,xf,fd,cc,gu,Fi,Ti,ws,ks,Yu,jh,Zd,Yg,Jv,Yv,qv,_v,$v,em,Hh,tm,nm,rm,am=l(511),om=l(2041),Am=l(225),im=l(767),sm=0,cv=om,qg=Am,Zl=im,uc=am,_g=0,$g=1,lm=2,e0=3,t0=4,uv=5,cm=6,fv=7,dv=8,n0=9,hv=10,$m=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ap=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],op=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Th=null,Ap=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ip=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Sf=[],Uc=[],qu=[],fp=1,dm=2,Ff=[],fc=[];Xu("UpsampleRgbLinePair",Cf,3),Xu("UpsampleBgrLinePair",ol,3),Xu("UpsampleRgbaLinePair",Il,4),Xu("UpsampleBgraLinePair",Qh,4),Xu("UpsampleArgbLinePair",Ph,4),Xu("UpsampleRgba4444LinePair",sd,2),Xu("UpsampleRgb565LinePair",id,2);var dp=jt.UpsampleRgbLinePair,hp=jt.UpsampleBgrLinePair,hm=jt.UpsampleRgbaLinePair,gm=jt.UpsampleBgraLinePair,vm=jt.UpsampleArgbLinePair,mm=jt.UpsampleRgba4444LinePair,gp=jt.UpsampleRgb565LinePair,r0=16,a0=1<ee.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ee.ca.f.kb.F!=null&&Rc()),ee.Pb&&0(it=T.Md)?0:100Et;++Et)12>(_n=Pe.pb[Et]).lc&&(_n.ia=it*bp[0>_n.lc?0:_n.lc]>>3),dn|=_n.ia;dn&&(alert("todo:VP8InitRandom"),Pe.ia=1)}Pe.Ga=T.Id,100Pe.Ga&&(Pe.Ga=0)}(function(It,bn){if(It==null)return 0;if(bn==null)return Ps(It,2,"NULL VP8Io parameter in VP8Decode().");if(!It.cb&&!uu(It,bn))return 0;if(n(It.cb),bn.ac==null||bn.ac(bn)){bn.ob&&(It.L=0);var kn=o0[It.L];if(It.L==2?(It.yb=0,It.zb=0):(It.yb=bn.v-kn>>4,It.zb=bn.j-kn>>4,0>It.yb&&(It.yb=0),0>It.zb&&(It.zb=0)),It.Va=bn.o+15+kn>>4,It.Hb=bn.va+15+kn>>4,It.Hb>It.za&&(It.Hb=It.za),It.Va>It.Ub&&(It.Va=It.Ub),0kn;++kn){var Yn;if(It.Qa.Cb){var Qr=It.Qa.Lb[kn];It.Qa.Fb||(Qr+=Er.Tb)}else Qr=Er.Tb;for(Yn=0;1>=Yn;++Yn){var Nr=It.gd[kn][Yn],fa=Qr;if(Er.Pc&&(fa+=Er.vd[0],Yn&&(fa+=Er.od[0])),0<(fa=0>fa?0:63>2:$r>>1)>9-Er.wb&&($r=9-Er.wb),1>$r&&($r=1),Nr.dd=$r,Nr.tc=2*fa+$r,Nr.ld=40<=fa?2:15<=fa?1:0}else Nr.tc=0;Nr.La=Yn}}}kn=0}else Ps(It,6,"Frame setup failed"),kn=It.a;if(kn=kn==0){if(kn){It.$c=0,0It.Vb){if(It.Vb=0,It.Ec=l(Nr),It.Fc=0,It.Ec==null){kn=Ps(It,1,"no memory during frame initialization.");break t}It.Vb=Nr}Nr=It.Ec,fa=It.Fc,It.Ac=Nr,It.Bc=fa,fa+=Er,It.Gd=I(To,Dg),It.Hd=0,It.rb=I(Bo+1,ph),It.sb=1,It.wa=zA?I(zA,ic):null,It.Y=0,It.D.Nb=0,It.D.wa=It.wa,It.D.Y=It.Y,0=kn;++kn)am[255+kn]=0>kn?-kn:kn;for(kn=-1020;1020>=kn;++kn)om[1020+kn]=-128>kn?-128:127=kn;++kn)Am[112+kn]=-16>kn?-16:15=kn;++kn)im[255+kn]=0>kn?0:255di;++di){var Zs,mi=xl[0+di];for(Zs=0;4>Zs;++Zs){mi=lp[qi[Al+Zs]][mi];for(var Ui=fm[jr(NA,mi[0])];0>3;for(Ui=0;256>Ui;Ui+=16)di[ml+Ui]=jl}il=1,Dc=Al[0]}var Ki=15&NA.la,Vs=15&Sl.la;for(Ui=0;4>Ui;++Ui){var Vl=1&Vs;for(jl=Di=0;4>jl;++jl)Ki=Ki>>1|(Vl=(bs=Th(qi,Dc,bs=Vl+(1&Ki),gs.Sc,il,di,ml))>il)<<7,Di=Di<<2|(3>=4,Vs=Vs>>1|Vl<<7,Zs=(Zs<<8|Di)>>>0}for(Dc=Ki,il=Vs>>4,vs=0;4>vs;vs+=2){for(Di=0,Ki=NA.la>>4+vs,Vs=Sl.la>>4+vs,Ui=0;2>Ui;++Ui){for(Vl=1&Vs,jl=0;2>jl;++jl)bs=Vl+(1&Ki),Ki=Ki>>1|(Vl=0<(bs=Th(qi,Al[2],bs,gs.Qc,0,di,ml)))<<3,Di=Di<<2|(3>=2,Vs=Vs>>1|Vl<<5}mi|=Di<<4*vs,Dc|=Ki<<4<=Po.zb&&Po.M<=Po.Va,Po.Aa==0)t:{if(ZA.M=Po.M,ZA.uc=NA,lc(Po,ZA),ys=1,ZA=(Di=Po.D).Nb,NA=(mi=o0[Po.L])*Po.R,qi=mi/2*Po.B,Ui=16*ZA*Po.R,jl=8*ZA*Po.B,Al=Po.sa,xl=Po.ta-NA+Ui,gs=Po.qa,di=Po.ra-qi+jl,ml=Po.Ha,Sl=Po.Ia-qi+jl,Vs=(Ki=Di.M)==0,Zs=Ki>=Po.Va-1,Po.Aa==2&&lc(Po,Di),Di.uc)for(Vl=(bs=Po).D.M,n(bs.D.uc),Di=bs.yb;DiXa.o&&(Ki=Xa.o),Xa.F=null,Xa.J=null,Po.Fa!=null&&0>1),Xa.W+=Po.B*(mi>>1),Xa.F!=null&&(Xa.J+=Xa.width*mi)),Di>1,Xa.W+=Xa.v>>1,Xa.F!=null&&(Xa.J+=Xa.v),Xa.ka=Di-Xa.j,Xa.U=Xa.va-Xa.v,Xa.T=Ki-Di,ys=Xa.put(Xa))}ZA+1!=Po.Ic||Zs||(r(Po.sa,Po.ta-NA,Al,xl+16*Po.R,NA),r(Po.qa,Po.ra-qi,gs,di+8*Po.B,qi),r(Po.Ha,Po.Ia-qi,ml,Sl+8*Po.B,qi))}if(!ys)return Ps(li,6,"Output aborted.")}return 1}(It,bn)),bn.bc!=null&&bn.bc(bn),kn&=1}return kn?(It.cb=0,kn):0})(c,ee)||(m=c.a)}}else m=c.a}m==0&&Ge.Oa!=null&&Ge.Oa.fd&&(m=Lh(Ge.ba))}Ge=m}ke=Ge!=0?null:11>ke?nt.f.RGBA.eb:nt.f.kb.y}else ke=null;return ke};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(jt,Kn){for(var _e="",Ct=0;Ct<4;Ct++)_e+=String.fromCharCode(jt[Kn++]);return _e}function Y(jt,Kn){return jt[Kn+0]|jt[Kn+1]<<8}function we(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16)>>>0}function Te(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16|jt[Kn+3]<<24)>>>0}new S;var J=[0],gt=[0],lt=[],pt=new S,et=e,on=function(jt,Kn){var _e={},Ct=0,an=!1,Jt=0,ar=0;if(_e.frames=[],!function(Je,Rt){for(var kt=0;kt<4;kt++)if(Je[Rt+kt]!="RIFF".charCodeAt(kt))return!0;return!1}(jt,Kn)){for(Te(jt,Kn+=4),Kn+=8;Kn>1&1}hr!="ANMF"&&(Kn+=qn)}return _e}}(et,0);on.response=et,on.rgbaoutput=!0,on.dataurl=!1;var Vt=on.header?on.header:null,Mt=on.frames?on.frames:null;if(Vt){Vt.loop_counter=Vt.loop_count,J=[Vt.canvas_height],gt=[Vt.canvas_width];for(var $n=0;$n=2?Bt[1]:ao[0],ao[2]=Bt.length>=3?Bt[2]:ao[0],ao[3]=Bt.length>=4?Bt[3]:ao[1]),U.margin=ao}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Bt){mr=Bt}});var Br=0;Object.defineProperty(this,"lastBreak",{get:function(){return Br},set:function(Bt){Br=Bt}});var jr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return jr},set:function(Bt){jr=Bt}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(Bt){Bt instanceof Y&&(U=Bt)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(Bt){U.path=Bt}});var ma=[];Object.defineProperty(this,"ctxStack",{get:function(){return ma},set:function(Bt){ma=Bt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Bt){var ao;ao=Te(Bt),this.ctx.fillStyle=ao.style,this.ctx.isFillTransparent=ao.a===0,this.ctx.fillOpacity=ao.a,this.pdf.setFillColor(ao.r,ao.g,ao.b,{a:ao.a}),this.pdf.setTextColor(ao.r,ao.g,ao.b,{a:ao.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Bt){var ao=Te(Bt);this.ctx.strokeStyle=ao.style,this.ctx.isStrokeTransparent=ao.a===0,this.ctx.strokeOpacity=ao.a,ao.a===0?this.pdf.setDrawColor(255,255,255):(ao.a,this.pdf.setDrawColor(ao.r,ao.g,ao.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Bt){["butt","round","square"].indexOf(Bt)!==-1&&(this.ctx.lineCap=Bt,this.pdf.setLineCap(Bt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Bt){isNaN(Bt)||(this.ctx.lineWidth=Bt,this.pdf.setLineWidth(Bt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Bt){["bevel","round","miter"].indexOf(Bt)!==-1&&(this.ctx.lineJoin=Bt,this.pdf.setLineJoin(Bt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Bt){isNaN(Bt)||(this.ctx.miterLimit=Bt,this.pdf.setMiterLimit(Bt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Bt){this.ctx.textBaseline=Bt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Bt){["right","end","center","left","start"].indexOf(Bt)!==-1&&(this.ctx.textAlign=Bt)}});var ro=null,to=null,Xo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Xo},set:function(Bt){ro=null,to=null,Xo=Bt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Bt){var ao;if(this.ctx.font=Bt,(ao=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Bt))!==null){var YA=ao[1];ao[2];var AA=ao[3],ia=ao[4];ao[5];var iA=ao[6],wo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ia)[2];ia=Math.floor(wo==="px"?parseFloat(ia)*this.pdf.internal.scaleFactor:wo==="em"?parseFloat(ia)*this.pdf.getFontSize():parseFloat(ia)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ia);var aA=function(Zo){var Cs,gi,qA=[],_A=Zo.trim();if(_A==="")return V0;if(_A in ru)return[ru[_A]];for(;_A!=="";){switch(gi=null,Cs=(_A=au(_A)).charAt(0)){case'"':case"'":gi=xc(_A.substring(1),Cs);break;default:gi=gf(_A)}if(gi===null||(qA.push(gi[0]),(_A=au(gi[1]))!==""&&_A.charAt(0)!==","))return V0;_A=_A.replace(/^,/,"")}return qA}(iA);if(this.fontFaces){var Yo=function(Zo,Cs){var gi=Zo.getFontList(),qA=JSON.stringify(gi);if(ro===null||to!==qA){var _A=function(as){var eA=[];return Object.keys(as).forEach(function(Vi){as[Vi].forEach(function(vA){var DA=null;switch(vA){case"bold":DA={family:Vi,weight:"bold"};break;case"italic":DA={family:Vi,style:"italic"};break;case"bolditalic":DA={family:Vi,weight:"bold",style:"italic"};break;case"":case"normal":DA={family:Vi}}DA!==null&&(DA.ref={name:Vi,style:vA},eA.push(DA))})}),eA}(gi);ro=function(as){for(var eA={},Vi=0;Vi=700||YA==="bold")&&(UA="bold"),YA==="italic"&&(UA+="italic"),UA.length===0&&(UA="normal");for(var si="",Ai={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Do=0;Do=2*Math.PI&&(cn=0,In=2*Math.PI),this.path.push({type:"arc",x:Je,y:Rt,radius:kt,startAngle:cn,endAngle:In,counterclockwise:Wn})},we.prototype.arcTo=function(Je,Rt,kt,cn,In){throw new Error("arcTo not implemented.")},we.prototype.rect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Je,Rt),this.lineTo(Je+kt,Rt),this.lineTo(Je+kt,Rt+cn),this.lineTo(Je,Rt+cn),this.lineTo(Je,Rt),this.lineTo(Je+kt,Rt),this.lineTo(Je,Rt)},we.prototype.fillRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!J.call(this)){var In={};this.lineCap!=="butt"&&(In.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(In.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Je,Rt,kt,cn),this.fill(),In.hasOwnProperty("lineCap")&&(this.lineCap=In.lineCap),In.hasOwnProperty("lineJoin")&&(this.lineJoin=In.lineJoin)}},we.prototype.strokeRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");gt.call(this)||(this.beginPath(),this.rect(Je,Rt,kt,cn),this.stroke())},we.prototype.clearRect=function(Je,Rt,kt,cn){if(isNaN(Je)||isNaN(Rt)||isNaN(kt)||isNaN(cn))throw Ri.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Je,Rt,kt,cn))},we.prototype.save=function(Je){Je=typeof Je!="boolean"||Je;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,kt=0;kt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};we.prototype.drawImage=function(Je,Rt,kt,cn,In,Wn,mr,Br,jr){var ma=this.pdf.getImageProperties(Je),ro=1,to=1,Xo=1,Bt=1;cn!==void 0&&Br!==void 0&&(Xo=Br/cn,Bt=jr/In,ro=ma.width/cn*Br/cn,to=ma.height/In*jr/In),Wn===void 0&&(Wn=Rt,mr=kt,Rt=0,kt=0),cn!==void 0&&Br===void 0&&(Br=cn,jr=In),cn===void 0&&Br===void 0&&(Br=ma.width,jr=ma.height);var ao=this.ctx.transform.decompose(),YA=qn(ao.rotate.shx),AA=new S,ia=(AA=(AA=(AA=AA.multiply(ao.translate)).multiply(ao.skew)).multiply(ao.scale)).applyToRectangle(new p(Wn-Rt*Xo,mr-kt*Bt,cn*ro,In*to));if(this.autoPaging){for(var iA,wo=pt.call(this,ia),aA=[],Yo=0;Yoxi||UAia||wo0)){for(;jr>=0;jr--)if(In[jr-1].close!==!0&&In[jr-1].begin!==!0){In[jr-1].deltas.push(kt),In[jr-1].abs.push(Br);break}}break;case"bct":kt=[Br.x1-Wn[mr-1].x,Br.y1-Wn[mr-1].y,Br.x2-Wn[mr-1].x,Br.y2-Wn[mr-1].y,Br.x-Wn[mr-1].x,Br.y-Wn[mr-1].y],In[In.length-1].deltas.push(kt);break;case"qct":var ma=Wn[mr-1].x+2/3*(Br.x1-Wn[mr-1].x),ro=Wn[mr-1].y+2/3*(Br.y1-Wn[mr-1].y),to=Br.x+2/3*(Br.x1-Br.x),Xo=Br.y+2/3*(Br.y1-Br.y),Bt=Br.x,ao=Br.y;kt=[ma-Wn[mr-1].x,ro-Wn[mr-1].y,to-Wn[mr-1].x,Xo-Wn[mr-1].y,Bt-Wn[mr-1].x,ao-Wn[mr-1].y],In[In.length-1].deltas.push(kt);break;case"arc":In.push({deltas:[],abs:[],arc:!0}),Array.isArray(In[In.length-1].abs)&&In[In.length-1].abs.push(Br)}}cn=Rt?null:Je==="stroke"?"stroke":"fill";for(var YA=!1,AA=0;AA=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*Je.scale),In=this.lineWidth,this.lineWidth=In*Je.scale);var jA=this.autoPaging!=="text";if(jA||Do.y+Do.h<=Yo){if(jA||Do.y>=wo&&Do.x<=oi){var Zo=jA?Je.text:this.pdf.splitTextToSize(Je.text,Je.maxWidth||oi-Do.x)[0],Cs=on([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-si+wo+this.ctx.prevPageLastElemOffset)[0],gi=jA&&(iA>AA||iA=.01&&(this.pdf.setFontSize(cn),this.lineWidth=In)}}else Je.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*Je.scale),In=this.lineWidth,this.lineWidth=In*Je.scale),this.pdf.text(Je.text,jr.x+this.posX,jr.y+this.posY,{angle:Je.angle,align:Rt,renderingMode:Je.renderingMode,maxWidth:Je.maxWidth}),Je.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=In)},an=function(Je,Rt,kt,cn){kt=kt||0,cn=cn||0,this.pdf.internal.out(t(Je+kt)+" "+r(Rt+cn)+" l")},Jt=function(Je,Rt,kt){return this.pdf.lines(Je,Rt,kt,null,null)},ar=function(Je,Rt,kt,cn,In,Wn,mr,Br){this.pdf.internal.out([n(A(kt+Je)),n(l(cn+Rt)),n(A(In+Je)),n(l(Wn+Rt)),n(A(mr+Je)),n(l(Br+Rt)),"c"].join(" "))},hr=function(Je,Rt,kt,cn){for(var In=2*Math.PI,Wn=Math.PI/2;Rt>kt;)Rt-=In;var mr=Math.abs(kt-Rt);mr1e-5;){var ro=ma+jr*Math.min(mr,Wn);Br.push(Cr.call(this,Je,ma,ro)),mr-=Math.abs(ro-ma),ma=ro}return Br},Cr=function(Je,Rt,kt){var cn=(kt-Rt)/2,In=Je*Math.cos(cn),Wn=Je*Math.sin(cn),mr=In,Br=-Wn,jr=mr*mr+Br*Br,ma=jr+mr*In+Br*Wn,ro=4/3*(Math.sqrt(2*jr*ma)-ma)/(mr*Wn-Br*In),to=mr-ro*Br,Xo=Br+ro*mr,Bt=to,ao=-Xo,YA=cn+Rt,AA=Math.cos(YA),ia=Math.sin(YA);return{x1:Je*Math.cos(Rt),y1:Je*Math.sin(Rt),x2:to*AA-Xo*ia,y2:to*ia+Xo*AA,x3:Bt*AA-ao*ia,y3:Bt*ia+ao*AA,x4:Je*Math.cos(kt),y4:Je*Math.sin(kt)}},qn=function(Je){return 180*Je/Math.PI},wr=function(Je,Rt,kt,cn,In,Wn){var mr=Je+.5*(kt-Je),Br=Rt+.5*(cn-Rt),jr=In+.5*(kt-In),ma=Wn+.5*(cn-Wn),ro=Math.min(Je,In,mr,jr),to=Math.max(Je,In,mr,jr),Xo=Math.min(Rt,Wn,Br,ma),Bt=Math.max(Rt,Wn,Br,ma);return new p(ro,Xo,to-ro,Bt-Xo)},ba=function(Je,Rt,kt,cn,In,Wn,mr,Br){var jr,ma,ro,to,Xo,Bt,ao,YA,AA,ia,iA,wo,aA,Yo,xi=kt-Je,oi=cn-Rt,UA=In-kt,si=Wn-cn,Ai=mr-In,Do=Br-Wn;for(ma=0;ma<41;ma++)AA=(ao=(ro=Je+(jr=ma/40)*xi)+jr*((Xo=kt+jr*UA)-ro))+jr*(Xo+jr*(In+jr*Ai-Xo)-ao),ia=(YA=(to=Rt+jr*oi)+jr*((Bt=cn+jr*si)-to))+jr*(Bt+jr*(Wn+jr*Do-Bt)-YA),ma==0?(iA=AA,wo=ia,aA=AA,Yo=ia):(iA=Math.min(iA,AA),wo=Math.min(wo,ia),aA=Math.max(aA,AA),Yo=Math.max(Yo,ia));return new p(Math.round(iA),Math.round(wo),Math.round(aA-iA),Math.round(Yo-wo))},Gr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Je,Rt,kt=(Je=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Je,lineDashOffset:Rt}));this.prevLineDash!==kt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=kt)}}})(So.API),function(e){var n=function(I){var p,S,U,Y,we,Te,J,gt,lt,pt;for(/[^\x00-\xFF]/.test(I),S=[],U=0,Y=(I+=p="\0\0\0\0".slice(I.length%4||4)).length;Y>U;U+=4)(we=(I.charCodeAt(U)<<24)+(I.charCodeAt(U+1)<<16)+(I.charCodeAt(U+2)<<8)+I.charCodeAt(U+3))!==0?(Te=(we=((we=((we=((we=(we-(pt=we%85))/85)-(lt=we%85))/85)-(gt=we%85))/85)-(J=we%85))/85)%85,S.push(Te+33,J+33,gt+33,lt+33,pt+33)):S.push(122);return function(et,on){for(var Vt=on;Vt>0;Vt--)et.pop()}(S,p.length),String.fromCharCode.apply(String,S)+"~>"},t=function(I){var p,S,U,Y,we,Te=String,J="length",gt=255,lt="charCodeAt",pt="slice",et="replace";for(I[pt](-2),I=I[pt](0,-2)[et](/\s/g,"")[et]("z","!!!!!"),U=[],Y=0,we=(I+=p="uuuuu"[pt](I[J]%5||5))[J];we>Y;Y+=5)S=52200625*(I[lt](Y)-33)+614125*(I[lt](Y+1)-33)+7225*(I[lt](Y+2)-33)+85*(I[lt](Y+3)-33)+(I[lt](Y+4)-33),U.push(gt&S>>24,gt&S>>16,gt&S>>8,gt&S);return function(on,Vt){for(var Mt=Vt;Mt>0;Mt--)on.pop()}(U,p[J]),Te.fromCharCode.apply(Te,U)},r=function(I){return I.split("").map(function(p){return("0"+p.charCodeAt().toString(16)).slice(-2)}).join("")+">"},A=function(I){var p=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((I=I.replace(/\s/g,"")).indexOf(">")!==-1&&(I=I.substr(0,I.indexOf(">"))),I.length%2&&(I+="0"),p.test(I)===!1)return"";for(var S="",U=0;Ult&&(gt=pt,pt=lt,lt=gt);else{if(p!=="l"&&p!=="landscape")throw"Invalid orientation: "+p;p="l",lt>pt&&(gt=pt,pt=lt,lt=gt)}return{width:pt,height:lt,unit:S,k:we,orientation:p}},e.html=function(p,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Ml):null;var U=new I(S);return S.worker?U:U.from(p).doCallback()}}(So.API),So.API.addJS=function(e){return Rv=e,this.internal.events.subscribe("postPutResources",function(){ou=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ou+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Lv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ou!==void 0&&Lv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var A=t.outline.render().split(/\r\n/),l=0;l> endobj")}var J=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+J+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,A,l){var I={title:A,options:l,children:[]};return r==null&&(r=this.root),r.children.push(I),I},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var A=0;A0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(I.children[0])),this.line("/Last "+this.makeRef(I.children[I.children.length-1])));var p=this.count=this.count_r({count:0},I);if(p>0&&this.line("/Count "+p),I.options&&I.options.pageNumber){var S=t.internal.getPageInfo(I.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in Rt&&Array.isArray(Rt.transparency)&&Rt.transparency.length>0){for(var An="",Gr=0,dn=Rt.transparency.length;Gr>",_t.content=E;var rr=_t.objId+" 0 R";E="<>";else if(c.options.pageNumber)switch(E="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=1};var se=n.__arabicParser__.arabicLetterHasFinalForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=3};var Ce=n.__arabicParser__.arabicLetterHasMedialForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length==4},Ge=n.__arabicParser__.resolveLigatures=function(_t){var kt=0,ct=s,hr="",rr=0;for(kt=0;kt<_t.length;kt+=1)ct[_t.charCodeAt(kt)]!==void 0?(rr++,typeof(ct=ct[_t.charCodeAt(kt)])=="number"&&(hr+=String.fromCharCode(ct),ct=s,rr=0),kt===_t.length-1&&(ct=s,hr+=_t.charAt(kt-(rr-1)),kt-=rr-1,rr=0)):(ct=s,hr+=_t.charAt(kt-rr),kt-=rr,rr=0);return hr};n.__arabicParser__.isArabicDiacritic=function(_t){return _t!==void 0&&c[_t.charCodeAt(0)]!==void 0};var et=n.__arabicParser__.getCorrectForm=function(_t,kt,ct){return q(_t)?E(_t)===!1?-1:!se(_t)||!q(kt)&&!q(ct)||!q(ct)&&V(kt)||V(_t)&&!q(kt)||V(_t)&&te(kt)||V(_t)&&V(kt)?0:Ce(_t)&&q(kt)&&!V(kt)&&q(ct)&&se(ct)?3:V(_t)||!q(ct)?1:2:-1},xe=function(_t){var kt=0,ct=0,hr=0,rr="",Jt="",Zr="",wn=(_t=_t||"").split("\\s+"),ln=[];for(kt=0;kt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(V){s=V}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(V){c=isNaN(V)||Number.isInteger(V)===!1||V<0?150:V,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var p=300;Object.defineProperty(this,"height",{get:function(){return p},set:function(V){p=isNaN(V)||Number.isInteger(V)===!1||V<0?300:V,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=p+1)}});var E=[];Object.defineProperty(this,"childNodes",{get:function(){return E},set:function(V){E=V}});var q={};Object.defineProperty(this,"style",{get:function(){return q},set:function(V){q=V}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var p;if((s=s||"2d")!=="2d")return null;for(p in c)this.pdf.context2d.hasOwnProperty(p)&&(this.pdf.context2d[p]=c[p]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(Pi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),p.call(this))},p=function(){this.internal.__cell__.lastCell=new E,this.internal.__cell__.pages=1},E=function(){var te=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return te},set:function(_t){te=_t}});var se=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return se},set:function(_t){se=_t}});var Ce=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ce},set:function(_t){Ce=_t}});var Ge=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ge},set:function(_t){Ge=_t}});var et=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return et},set:function(_t){et=_t}});var xe=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return xe},set:function(_t){xe=_t}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(_t){Ft=_t}}),this};E.prototype.clone=function(){return new E(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},E.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(te){return c.call(this),this.internal.__cell__.headerFunction=typeof te=="function"?te:void 0,this},n.getTextDimensions=function(te,se){c.call(this);var Ce=(se=se||{}).fontSize||this.getFontSize(),Ge=se.font||this.getFont(),et=se.scaleFactor||this.internal.scaleFactor,xe=0,Ft=0,_t=0,kt=this;if(!Array.isArray(te)&&typeof te!="string"){if(typeof te!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");te=String(te)}var ct=se.maxWidth;ct>0?typeof te=="string"?te=this.splitTextToSize(te,ct):Object.prototype.toString.call(te)==="[object Array]"&&(te=te.reduce(function(rr,Jt){return rr.concat(kt.splitTextToSize(Jt,ct))},[])):te=Array.isArray(te)?te:[te];for(var hr=0;hrthis.getPageHeight()?(this.cellAddPage(),te.y=Ge.top,xe&&et&&(this.printHeaderRow(te.lineNumber,!0),te.y+=et[0].height)):te.y=se.y+se.height||te.y),te.text[0]!==void 0&&(this.rect(te.x,te.y,te.width,te.height,s===!0?"FD":void 0),te.align==="right"?this.text(te.text,te.x+te.width-Ce,te.y+Ce,{align:"right",baseline:"top"}):te.align==="center"?this.text(te.text,te.x+te.width/2,te.y+Ce,{align:"center",baseline:"top",maxWidth:te.width-Ce-Ce}):this.text(te.text,te.x+Ce,te.y+Ce,{align:"left",baseline:"top",maxWidth:te.width-Ce-Ce})),this.internal.__cell__.lastCell=te,this};n.table=function(te,se,Ce,Ge,et){if(c.call(this),!Ce)throw new Error("No data for PDF table.");var xe,Ft,_t,kt,ct=[],hr=[],rr=[],Jt={},Zr={},wn=[],ln=[],xr=(et=et||{}).autoSize||!1,er=et.printHeaders!==!1,Nr=et.css&&et.css["font-size"]!==void 0?16*et.css["font-size"]:et.fontSize||12,At=et.margins||Object.assign({width:this.getPageWidth()},a),Rt=typeof et.padding=="number"?et.padding:3,dr=et.headerBackgroundColor||"#c8c8c8",lr=et.headerTextColor||"#000";if(p.call(this),this.internal.__cell__.printHeaders=er,this.internal.__cell__.margins=At,this.internal.__cell__.table_font_size=Nr,this.internal.__cell__.padding=Rt,this.internal.__cell__.headerBackgroundColor=dr,this.internal.__cell__.headerTextColor=lr,this.setFontSize(Nr),Ge==null)hr=ct=Object.keys(Ce[0]),rr=ct.map(function(){return"left"});else if(Array.isArray(Ge)&&(0,_.Z)(Ge[0])==="object")for(ct=Ge.map(function(Wn){return Wn.name}),hr=Ge.map(function(Wn){return Wn.prompt||Wn.name||""}),rr=Ge.map(function(Wn){return Wn.align||"left"}),xe=0;xe0&&this.setTableHeaderRow(et),this.setFont(void 0,"normal"),s=!1}}(Pi.API);var hl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},NA=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],jl=Va(NA),Jl=[100,200,300,400,500,600,700,800,900],Lc=Va(Jl);function Uu(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(E){return hl[E=E||"normal"]?E:"normal"}(n.style),c=function(E){return E?typeof E=="number"?E>=100&&E<=900&&E%100==0?E:400:/^\d00$/.test(E)?parseInt(E):E==="bold"?700:400:400}(n.weight),p=function(E){return typeof jl[E=E||"normal"]=="number"?E:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:p,src:n.src||[],ref:n.ref||{name:a,style:[p,s,c].join(" ")}}}function qu(n,a,s,c){var p;for(p=s;p>=0&&p=0&&p>>1)&255}return p}function ze(n,a,s){var c=n.length,p=[];p[0]=4;for(var E=0;E>E&q}function or(n,a,s,c){var p=s*c,E=Math.floor(p/8),q=16-(p-8*E+c),V=(1<>8&255;se.setUint8(Ce,et)}})(n,E,wr(n,E)&~(V<>7,q=1<<1+(7&p);n[a++],n[a++];var V=null,te=null;E&&(V=a,te=q,a+=3*q);var se=!0,Ce=[],Ge=0,et=null,xe=0,Ft=null;for(this.width=s,this.height=c;se&&a=0))throw Error("Invalid block size");if(At===0)break;a+=At}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var _t=n[a++];Ge=n[a++]|n[a++]<<8,et=n[a++],1&_t||(et=null),xe=_t>>2&7,a++;break;case 254:for(;;){if(!((At=n[a++])>=0))throw Error("Invalid block size");if(At===0)break;a+=At}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var kt=n[a++]|n[a++]<<8,ct=n[a++]|n[a++]<<8,hr=n[a++]|n[a++]<<8,rr=n[a++]|n[a++]<<8,Jt=n[a++],Zr=Jt>>6&1,wn=1<<1+(7&Jt),ln=V,xr=te,er=!1;Jt>>7&&(er=!0,ln=a,xr=wn,a+=3*wn);var Nr=a;for(a++;;){var At;if(!((At=n[a++])>=0))throw Error("Invalid block size");if(At===0)break;a+=At}Ce.push({x:kt,y:ct,width:hr,height:rr,has_local_palette:er,palette_offset:ln,palette_size:xr,data_offset:Nr,data_length:a-Nr,transparent_index:et,interlaced:!!Zr,delay:Ge,disposal:xe});break;case 59:se=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return Ce.length},this.loopCount=function(){return Ft},this.frameInfo=function(Rt){if(Rt<0||Rt>=Ce.length)throw new Error("Frame index out of range.");return Ce[Rt]},this.decodeAndBlitFrameBGRA=function(Rt,dr){var lr=this.frameInfo(Rt),$r=lr.width*lr.height,on=new Uint8Array($r);_r(n,lr.data_offset,on,$r);var An=lr.palette_offset,Gr=lr.transparent_index;Gr===null&&(Gr=256);var dn=lr.width,Wn=s-dn,Fn=dn,ot=4*(lr.y*s+lr.x),Xt=4*((lr.y+lr.height)*s+lr.x),tr=ot,mr=4*Wn;lr.interlaced===!0&&(mr+=4*s*7);for(var Tr=8,jr=0,un=on.length;jr=Xt&&(mr=4*Wn+4*s*(Tr-1),tr=ot+(dn+Wn)*(Tr<<1),Tr>>=1)),fn===Gr)tr+=4;else{var Bn=n[An+3*fn],zn=n[An+3*fn+1],yi=n[An+3*fn+2];dr[tr++]=yi,dr[tr++]=zn,dr[tr++]=Bn,dr[tr++]=255}--Fn}},this.decodeAndBlitFrameRGBA=function(Rt,dr){var lr=this.frameInfo(Rt),$r=lr.width*lr.height,on=new Uint8Array($r);_r(n,lr.data_offset,on,$r);var An=lr.palette_offset,Gr=lr.transparent_index;Gr===null&&(Gr=256);var dn=lr.width,Wn=s-dn,Fn=dn,ot=4*(lr.y*s+lr.x),Xt=4*((lr.y+lr.height)*s+lr.x),tr=ot,mr=4*Wn;lr.interlaced===!0&&(mr+=4*s*7);for(var Tr=8,jr=0,un=on.length;jr=Xt&&(mr=4*Wn+4*s*(Tr-1),tr=ot+(dn+Wn)*(Tr<<1),Tr>>=1)),fn===Gr)tr+=4;else{var Bn=n[An+3*fn],zn=n[An+3*fn+1],yi=n[An+3*fn+2];dr[tr++]=Bn,dr[tr++]=zn,dr[tr++]=yi,dr[tr++]=255}--Fn}}}function _r(n,a,s,c){for(var p=n[a++],E=1<>=te,Ce-=te,kt!==E){if(kt===q)break;for(var ct=ktE;)rr=Ft[rr]>>8,++hr;var Jt=rr;if(et+hr+(ct!==kt?1:0)>c)return void Ga.log("Warning, gif stream longer than expected.");s[et++]=Jt;var Zr=et+=hr;for(ct!==kt&&(s[et++]=Jt),rr=ct;hr--;)rr=Ft[rr],s[--Zr]=255&rr,rr>>=8;_t!==null&&V<4096&&(Ft[V++]=_t<<8|Jt,V>=se+1&&te<12&&(++te,se=se<<1|1)),_t=kt}else V=q+1,se=(1<<(te=p+1))-1,_t=null}return et!==c&&Ga.log("Warning, gif stream shorter than expected."),s}function zr(n){var a,s,c,p,E,q=Math.floor,V=new Array(64),te=new Array(64),se=new Array(64),Ce=new Array(64),Ge=new Array(65535),et=new Array(65535),xe=new Array(64),Ft=new Array(64),_t=[],kt=0,ct=7,hr=new Array(64),rr=new Array(64),Jt=new Array(64),Zr=new Array(256),wn=new Array(2048),ln=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],xr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],Nr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],At=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],dr=[0,1,2,3,4,5,6,7,8,9,10,11],lr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],$r=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function on(ot,Xt){for(var tr=0,mr=0,Tr=new Array,jr=1;jr<=16;jr++){for(var un=1;un<=ot[jr];un++)Tr[Xt[mr]]=[],Tr[Xt[mr]][0]=tr,Tr[Xt[mr]][1]=jr,mr++,tr++;tr*=2}return Tr}function An(ot){for(var Xt=ot[0],tr=ot[1]-1;tr>=0;)Xt&1<>8&255),Gr(255&ot)}function Wn(ot,Xt,tr,mr,Tr){for(var jr,un=Tr[0],fn=Tr[240],Bn=function(Un,Us){var zi,Cs,ps,vo,ka,ta,Pa,Ra,es,aa,os=0;for(es=0;es<8;++es){zi=Un[os],Cs=Un[os+1],ps=Un[os+2],vo=Un[os+3],ka=Un[os+4],ta=Un[os+5],Pa=Un[os+6];var Sl=zi+(Ra=Un[os+7]),$a=zi-Ra,wa=Cs+Pa,ba=Cs-Pa,sl=ps+ta,ws=ps-ta,Go=vo+ka,zs=vo-ka,ra=Sl+Go,al=Sl-Go,Ca=wa+sl,Ps=wa-sl;Un[os]=ra+Ca,Un[os+4]=ra-Ca;var yo=.707106781*(Ps+al);Un[os+2]=al+yo,Un[os+6]=al-yo;var Gf=.382683433*((ra=zs+ws)-(Ps=ba+$a)),Nu=.5411961*ra+Gf,j0=1.306562965*Ps+Gf,n0=.707106781*(Ca=ws+ba),Qs=$a+n0,H0=$a-n0;Un[os+5]=H0+Nu,Un[os+3]=H0-Nu,Un[os+1]=Qs+j0,Un[os+7]=Qs-j0,os+=8}for(os=0,es=0;es<8;++es){zi=Un[os],Cs=Un[os+8],ps=Un[os+16],vo=Un[os+24],ka=Un[os+32],ta=Un[os+40],Pa=Un[os+48];var z0=zi+(Ra=Un[os+56]),oc=zi-Ra,lc=Cs+Pa,El=Cs-Pa,fu=ps+ta,Eu=ps-ta,Vf=vo+ka,Hh=vo-ka,kc=z0+Vf,i0=z0-Vf,Rc=lc+fu,Oc=lc-fu;Un[os]=kc+Rc,Un[os+32]=kc-Rc;var uc=.707106781*(Oc+i0);Un[os+16]=i0+uc,Un[os+48]=i0-uc;var Wf=.382683433*((kc=Hh+Eu)-(Oc=El+oc)),s0=.5411961*kc+Wf,Zf=1.306562965*Oc+Wf,Qd=.707106781*(Rc=Eu+El),jd=oc+Qd,Hd=oc-Qd;Un[os+40]=Hd+s0,Un[os+24]=Hd-s0,Un[os+8]=jd+Zf,Un[os+56]=jd-Zf,os++}for(es=0;es<64;++es)aa=Un[es]*Us[es],xe[es]=aa>0?aa+.5|0:aa-.5|0;return xe}(ot,Xt),zn=0;zn<64;++zn)Ft[ln[zn]]=Bn[zn];var yi=Ft[0]-tr;tr=Ft[0],yi==0?An(mr[0]):(An(mr[et[jr=32767+yi]]),An(Ge[jr]));for(var pi=63;pi>0&&Ft[pi]==0;)pi--;if(pi==0)return An(un),tr;for(var As,Ot=1;Ot<=pi;){for(var wi=Ot;Ft[Ot]==0&&Ot<=pi;)++Ot;var ma=Ot-wi;if(ma>=16){As=ma>>4;for(var Ms=1;Ms<=As;++Ms)An(fn);ma&=15}jr=32767+Ft[Ot],An(Tr[(ma<<4)+et[jr]]),An(Ge[jr]),Ot++}return pi!=63&&An(un),tr}function Fn(ot){ot=Math.min(Math.max(ot,1),100),E!=ot&&(function(Xt){for(var tr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Tr=q((tr[mr]*Xt+50)/100);Tr=Math.min(Math.max(Tr,1),255),V[ln[mr]]=Tr}for(var jr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],un=0;un<64;un++){var fn=q((jr[un]*Xt+50)/100);fn=Math.min(Math.max(fn,1),255),te[ln[un]]=fn}for(var Bn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],zn=0,yi=0;yi<8;yi++)for(var pi=0;pi<8;pi++)se[zn]=1/(V[ln[zn]]*Bn[yi]*Bn[pi]*8),Ce[zn]=1/(te[ln[zn]]*Bn[yi]*Bn[pi]*8),zn++}(ot<50?Math.floor(5e3/ot):Math.floor(200-2*ot)),E=ot)}this.encode=function(ot,Xt){Xt&&Fn(Xt),_t=new Array,kt=0,ct=7,dn(65496),dn(65504),dn(16),Gr(74),Gr(70),Gr(73),Gr(70),Gr(0),Gr(1),Gr(1),Gr(0),dn(1),dn(1),Gr(0),Gr(0),function(){dn(65499),dn(132),Gr(0);for(var Cs=0;Cs<64;Cs++)Gr(V[Cs]);Gr(1);for(var ps=0;ps<64;ps++)Gr(te[ps])}(),function(Cs,ps){dn(65472),dn(17),Gr(8),dn(ps),dn(Cs),Gr(3),Gr(1),Gr(17),Gr(0),Gr(2),Gr(17),Gr(1),Gr(3),Gr(17),Gr(1)}(ot.width,ot.height),function(){dn(65476),dn(418),Gr(0);for(var Cs=0;Cs<16;Cs++)Gr(xr[Cs+1]);for(var ps=0;ps<=11;ps++)Gr(er[ps]);Gr(16);for(var vo=0;vo<16;vo++)Gr(Nr[vo+1]);for(var ka=0;ka<=161;ka++)Gr(At[ka]);Gr(1);for(var ta=0;ta<16;ta++)Gr(Rt[ta+1]);for(var Pa=0;Pa<=11;Pa++)Gr(dr[Pa]);Gr(17);for(var Ra=0;Ra<16;Ra++)Gr(lr[Ra+1]);for(var es=0;es<=161;es++)Gr($r[es])}(),dn(65498),dn(12),Gr(3),Gr(1),Gr(0),Gr(2),Gr(17),Gr(3),Gr(17),Gr(0),Gr(63),Gr(0);var tr=0,mr=0,Tr=0;kt=0,ct=7,this.encode.displayName="_encode_";for(var jr,un,fn,Bn,zn,yi,pi,As,Ot,wi=ot.data,ma=ot.width,Ms=ot.height,Un=4*ma,Us=0;Us>3)*Un+(pi=4*(7&Ot)),Us+As>=Ms&&(yi-=Un*(Us+1+As-Ms)),jr+pi>=Un&&(yi-=jr+pi-Un+4),un=wi[yi++],fn=wi[yi++],Bn=wi[yi++],hr[Ot]=(wn[un]+wn[fn+256|0]+wn[Bn+512|0]>>16)-128,rr[Ot]=(wn[un+768|0]+wn[fn+1024|0]+wn[Bn+1280|0]>>16)-128,Jt[Ot]=(wn[un+1280|0]+wn[fn+1536|0]+wn[Bn+1792|0]>>16)-128;tr=Wn(hr,se,tr,a,c),mr=Wn(rr,Ce,mr,s,p),Tr=Wn(Jt,Ce,Tr,s,p),jr+=32}Us+=8}if(ct>=0){var zi=[];zi[1]=ct+1,zi[0]=(1<Rt;Rt++)if(er[Nr+Rt]!=At.charCodeAt(Rt))return!0;return!1}function c(er,Nr,At,Rt,dr){for(var lr=0;lrlr+1?[]:new Nr),!($r.length>>0;C&me;)me>>>=1;return me?(C&me-1)+me:C}function At(C,G,me,Le,Xe){a(!(Le%me));do C[G+(Le-=me)]=Xe;while(0=Xe),512>=Xe)var nt=E(512);else if((nt=E(Xe))==null)return 0;return function(st,gt,Et,jt,br,Wr){var Ht,Sr,Pr=gt,yn=1<Ht;++Ht){if(Kr[Ht]>1<(ca-=Kr[Ht]))return 0;for(;0=Ht;++Ht,br<<=1){if(Qi+=ca<<=1,0>(ca-=Kr[Ht]))return 0;for(;0Qn&&!(0>=(xn-=Kr[Qn]));)++Qn,xn<<=1;yn+=Xi=1<<(xn=Qn-Et),st[gt+(Qn=ns&Ln)].g=xn+Et,st[gt+Qn].value=Pr-gt-Qn}jt.g=Ht-Et,jt.value=Wr[Sr++],At(st,Pr+(ns>>Et),br,Xi,jt),ns=Nr(ns,Ht)}}return Qi!=2*En[15]-1?0:yn}(C,G,me,Le,Xe,nt)}function dr(){this.value=this.g=0}function lr(){this.value=this.g=0}function $r(){this.G=q(5,dr),this.H=E(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=q(sd,lr)}function on(C,G,me,Le){a(C!=null),a(G!=null),a(2147483648>Le),C.Ca=254,C.I=0,C.b=-8,C.Ka=0,C.oa=G,C.pa=me,C.Jd=G,C.Yc=me+Le,C.Zc=4<=Le?me+Le-4+1:me,un(C)}function An(C,G){for(var me=0;0Le),C.Sb=Le,C.Ra=0,C.u=0,C.h=0,4>>=8,C.Ra+=C.oa[C.pa+C.bb]<>>0,++C.bb,C.u-=8;mr(C)&&(C.h=1,C.u=0)}function Fn(C,G){if(a(0<=G),!C.h&&G<=QA){var me=tr(C)&PA[G];return C.u+=G,Wn(C),me}return C.h=1,C.u=0}function ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Xt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function tr(C){return C.Ra>>>(C.u&Vh-1)>>>0}function mr(C){return a(C.bb<=C.Sb),C.h||C.bb==C.Sb&&C.u>Vh}function Tr(C,G){C.u=G,C.h=mr(C)}function jr(C){C.u>=eh&&(a(C.u>=eh),Wn(C))}function un(C){a(C!=null&&C.oa!=null),C.pa>>0,C.b+=8):(a(C!=null&&C.oa!=null),C.paC.b&&un(C);var Le=C.b,Xe=me*G>>>8,nt=(C.I>>>Le>Xe)+0;for(nt?(me-=Xe,C.I-=Xe+1<>>0):me=Xe+1,Le=me,Xe=0;256<=Le;)Xe+=8,Le>>=8;return Le=7^Xe+Wh[Le],C.b-=Le,C.Ca=(me<>24&255,C[G+1]=me>>16&255,C[G+2]=me>>8&255,C[G+3]=255&me}function yi(C,G){return C[G+0]|C[G+1]<<8}function pi(C,G){return yi(C,G)|C[G+2]<<16}function As(C,G){return yi(C,G)|yi(C,G+2)<<16}function Ot(C,G){var me=1<=Xe||0>=nt?0:(me[0]=Xe,Le[0]=nt,1)}function Un(C,G){return C+(1<>>G}function Us(C,G){return((4278255360&C)+(4278255360&G)>>>0&4278255360)+((16711935&C)+(16711935&G)>>>0&16711935)>>>0}function zi(C,G){er[G]=function(me,Le,Xe,nt,st,gt,Et){var jt;for(jt=0;jt>>1)+(C&G)>>>0}function vo(C){return 0<=C&&256>C?C:0>C?0:255>1))}function ta(C,G,me){return Math.abs(G-me)-Math.abs(C-me)}function Pa(C,G,me,Le,Xe,nt,st){for(Le=nt[st-1],me=0;me>8&255,Et=16711935&(Et=(Et=16711935&st)+((gt<<16)+gt));Le[Xe+nt]=(4278255360&st)+Et>>>0}}function es(C,G){G.jd=255&C,G.hd=C>>8&255,G.ud=C>>16&255}function aa(C,G,me,Le,Xe,nt){var st;for(st=0;st>>8,jt=gt,br=255&(br=(br=gt>>>16)+((C.jd<<24>>24)*(Et<<24>>24)>>>5));jt=255&(jt=(jt+=(C.hd<<24>>24)*(Et<<24>>24)>>>5)+((C.ud<<24>>24)*(br<<24>>24)>>>5)),Xe[nt+st]=(4278255360>)+(br<<16)+jt}}function os(C,G,me,Le,Xe){er[G]=function(nt,st,gt,Et,jt,br,Wr,Ht,Sr){for(Et=Wr;Et>nt.b,Sr=nt.Ea,Pr=nt.K[0],yn=nt.w;if(8>Ht)for(nt=(1<>=Ht}else er["VP8LMapColor"+me](Et,jt,Pr,yn,br,Wr,st,gt,Sr)}}function Sl(C,G,me,Le,Xe){for(me=G+me;G>16&255,Le[Xe++]=nt>>8&255,Le[Xe++]=255&nt}}function $a(C,G,me,Le,Xe){for(me=G+me;G>16&255,Le[Xe++]=nt>>8&255,Le[Xe++]=255&nt,Le[Xe++]=nt>>24&255}}function wa(C,G,me,Le,Xe){for(me=G+me;G>16&240|st>>12&15,st=240&st|st>>28&15;Le[Xe++]=nt,Le[Xe++]=st}}function ba(C,G,me,Le,Xe){for(me=G+me;G>16&248|st>>13&7,st=st>>5&224|st>>3&31;Le[Xe++]=nt,Le[Xe++]=st}}function sl(C,G,me,Le,Xe){for(me=G+me;G>8&255,Le[Xe++]=nt>>16&255}}function ws(C,G,me,Le,Xe,nt){if(nt==0)for(me=G+me;G>24|nt[1]>>8&65280|nt[2]<<8&16711680|nt[3]<<24)>>>0),Xe+=32;else c(Le,Xe,C,G,me)}function Go(C,G){er[G][0]=er[C+"0"],er[G][1]=er[C+"1"],er[G][2]=er[C+"2"],er[G][3]=er[C+"3"],er[G][4]=er[C+"4"],er[G][5]=er[C+"5"],er[G][6]=er[C+"6"],er[G][7]=er[C+"7"],er[G][8]=er[C+"8"],er[G][9]=er[C+"9"],er[G][10]=er[C+"10"],er[G][11]=er[C+"11"],er[G][12]=er[C+"12"],er[G][13]=er[C+"13"],er[G][14]=er[C+"0"],er[G][15]=er[C+"0"]}function zs(C){return C==q1||C==$1||C==_1||C==eg}function ra(){this.eb=[],this.size=this.A=this.fb=0}function al(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ca(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ra,this.f.kb=new al,this.sd=null}function Ps(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function yo(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(C){return alert("todo:WebPSamplerProcessPlane"),C.T}function Nu(C,G){var me=C.T,Le=G.ba.f.RGBA,Xe=Le.eb,nt=Le.fb+C.ka*Le.A,st=pc[G.ba.S],gt=C.y,Et=C.O,jt=C.f,br=C.N,Wr=C.ea,Ht=C.W,Sr=G.cc,Pr=G.dc,yn=G.Mc,Kr=G.Nc,En=C.ka,xn=C.ka+C.T,Qn=C.U,Ln=Qn+1>>1;for(En==0?st(gt,Et,null,null,jt,br,Wr,Ht,jt,br,Wr,Ht,Xe,nt,null,null,Qn):(st(G.ec,G.fc,gt,Et,Sr,Pr,yn,Kr,jt,br,Wr,Ht,Xe,nt-Le.A,Xe,nt,Qn),++me);En+2me,Xe=me==w1||me==b1||me==E1||me==J1||me==12||zs(me);if(G.memory=null,G.Ib=null,G.Jb=null,G.Nd=null,!Op(G.Oa,C,Xe?11:12))return 0;if(Xe&&zs(me)&&Lp(),C.da)alert("todo:use_scaling");else{if(Le){if(G.Ib=Gf,C.Kb){if(me=C.U+1>>1,G.memory=E(C.U+2*me),G.memory==null)return 0;G.ec=G.memory,G.fc=0,G.cc=G.ec,G.dc=G.fc+C.U,G.Mc=G.cc,G.Nc=G.dc+me,G.Ib=Nu,Lp()}}else alert("todo:EmitYUV");Xe&&(G.Jb=j0,Le&&Uc())}if(Le&&!Ng){for(C=0;256>C;++C)wm[C]=89858*(C-128)+B1>>x1,_m[C]=-22014*(C-128)+B1,Em[C]=-45773*(C-128),bm[C]=113618*(C-128)+B1>>x1;for(C=Gp;C>x1,xm[C-Gp]=a0(G,255),Bm[C-Gp]=a0(G+8>>4,15);Ng=1}return 1}function Qs(C){var G=C.ma,me=C.U,Le=C.T;return a(!(1&C.ka)),0>=me||0>=Le?0:(me=G.Ib(C,G),G.Jb!=null&&G.Jb(C,G,me),G.Dc+=me,1)}function H0(C){C.ma.memory=null}function z0(C,G,me,Le){return Fn(C,8)!=47?0:(G[0]=Fn(C,14)+1,me[0]=Fn(C,14)+1,Le[0]=Fn(C,1),Fn(C,3)!=0?0:!C.h)}function oc(C,G){if(4>C)return C+1;var me=C-2>>1;return(2+(1&C)<>4)*C+(8-(15&me)))?me:1;var me}function El(C,G,me){var Le=tr(me),Xe=C[G+=255&Le].g-8;return 0>>0,a(8>=me.g),C.g}function Eu(C,G,me){var Le=C.xc;return a((G=Le==0?0:C.vc[C.md*(me>>Le)+(G>>Le)])>Xi.b)*Qi;ynQn&&(Ji=Qn),(0,Pp[Qa[nu++]>>8&15])(Ht,Sr+ +ha,En,xn+ha-Qn,Ji-ha,En,xn+ha),ha=Ji}Sr+=Qn,xn+=Qn,++yn&ns||(Xi+=Qi)}Wr!=jt.nc&&c(Et,gt-Pr,Et,gt+(Wr-br-1)*Pr,Pr);break;case 1:for(Pr=Ht,Kr=Sr,Qn=(Ht=jt.Ea)-(xn=Ht&~(En=(Sr=1<>jt.b)*yn;br=Xe),0nt.o&&(Le=nt.o),me=Le?me=0:(Xe[0]+=4*nt.v,nt.ka=me-nt.j,nt.U=nt.va-nt.v,nt.T=Le-me,me=1),me){if(gt=gt[0],11>(me=C.ca).S){var br=me.f.RGBA,Wr=(Le=me.S,Xe=nt.U,nt=nt.T,jt=br.eb,br.A),Ht=nt;for(br=br.fb+C.Ma*br.A;0Le){var Xe=C.l.width,nt=me.ca,st=me.tb+Xe*Le,gt=C.V,Et=C.Ba+C.c*Le,jt=C.gc;a(C.ab==1),a(jt[0].hc==3),A0(jt[0],Le,G,gt,Et,nt,st),i0(me,Le,G,nt,st,Xe)}C.C=C.Ma=G}function Oc(C,G,me,Le,Xe,nt,st){var gt=C.$/Le,Et=C.$%Le,jt=C.m,br=C.s,Wr=me+C.$,Ht=Wr;Xe=me+Le*Xe;var Sr=me+Le*nt,Pr=280+br.ua,yn=C.Pb?gt:16777216,Kr=0=yn){var ns=Wr-me;a((yn=C).Pb),yn.wd=yn.m,yn.xd=ns,0ca.g?(Tr(Ln,Ln.u+ca.g),ns[Qi]=ca.value,Ln=0):(Tr(Ln,Ln.u+ca.g-256),a(256<=ca.value),Ln=ca.value),Ln==0&&(Qn=!0)}else Ln=El(xn.G[0],xn.H[0],jt);if(jt.h)break;if(Qn||256>Ln){if(!Qn)if(xn.nd)G[Wr]=(xn.qb|Ln<<8)>>>0;else{if(jr(jt),Qn=El(xn.G[1],xn.H[1],jt),jr(jt),ns=El(xn.G[2],xn.H[2],jt),Qi=El(xn.G[3],xn.H[3],jt),jt.h)break;G[Wr]=(Qi<<24|Qn<<16|Ln<<8|ns)>>>0}if(Qn=!1,++Wr,++Et>=Le&&(Et=0,++gt,st!=null&><=nt&&!(gt%16)&&st(C,gt),Kr!=null))for(;Ht>>Kr.Mb]=Ln}else if(280>Ln){if(Ln=oc(Ln-256,jt),ns=El(xn.G[4],xn.H[4],jt),jr(jt),ns=lc(Le,ns=oc(ns,jt)),jt.h)break;if(Wr-me=Le;)Et-=Le,++gt,st!=null&><=nt&&!(gt%16)&&st(C,gt);if(a(Wr<=Xe),Et&En&&(xn=Eu(br,Et,gt)),Kr!=null)for(;Ht>>Kr.Mb]=Ln}else{if(!(Ln>>Kr.Mb]=Ln;Ln=Wr,a(!(Qn>>>(ns=Kr).Xa)),G[Ln]=ns.X[Qn],Qn=!0}Qn||a(jt.h==mr(jt))}if(C.Pb&&jt.h&&Wrnt?nt:gt),C.a=0,C.$=Wr-me}return 1}return C.a=3,0}function uc(C){a(C!=null),C.vc=null,C.yc=null,C.Ya=null;var G=C.Wa;G!=null&&(G.X=null),C.vb=null,a(C!=null)}function Wf(){var C=new Zs;return C==null?null:(C.a=0,C.xb=Lg,Go("Predictor","VP8LPredictors"),Go("Predictor","VP8LPredictors_C"),Go("PredictorAdd","VP8LPredictorsAdd"),Go("PredictorAdd","VP8LPredictorsAdd_C"),Il=Ra,Qp=aa,jp=Sl,Zh=$a,Yh=wa,Xh=ba,ad=sl,er.VP8LMapColor32b=u0,er.VP8LMapColor8b=Np,C)}function s0(C,G,me,Le,Xe){var nt=1,st=[C],gt=[G],Et=Le.m,jt=Le.s,br=null,Wr=0;e:for(;;){if(me)for(;nt&&Fn(Et,1);){var Ht=st,Sr=gt,Pr=Le,yn=1,Kr=Pr.m,En=Pr.gc[Pr.ab],xn=Fn(Kr,2);if(Pr.Oc&1<=Pr.ab),xn){case 0:case 1:En.b=Fn(Kr,3)+2,yn=s0(Un(En.Ea,En.b),Un(En.nc,En.b),0,Pr,En.K),En.K=En.K[0];break;case 3:var Qn,Ln=Fn(Kr,8)+1,ns=16>Xi.b),nu=E(Qa);if(nu==null)Qn=0;else{var ha=Xi.K[0],Ji=Xi.w;for(nu[0]=Xi.K[0][0],Qi=1;Qi<1*ca;++Qi)nu[Qi]=Us(ha[Ji+Qi],nu[Qi-1]);for(;Qi<4*Qa;++Qi)nu[Qi]=0;Xi.K[0]=null,Xi.K[0]=nu,Qn=1}}yn=Qn;break;case 2:break;default:a(0)}nt=yn}}if(st=st[0],gt=gt[0],nt&&Fn(Et,1)&&!(nt=1<=(Wr=Fn(Et,4))&&11>=Wr)){Le.a=3;break e}var oi;if(oi=nt)t:{var Fl,na,Wa,$o=Le,Bu=st,eA=gt,_l=Wr,Pu=me,tA=$o.m,iu=$o.s,to=[null],Co=1,xl=0,So=om[_l];r:for(;;){if(Pu&&Fn(tA,1)){var Cu=Fn(tA,3)+2,Pc=Un(Bu,Cu),Dl=Un(eA,Cu),yA=Pc*Dl;if(!s0(Pc,Dl,0,$o,to))break r;for(to=to[0],iu.xc=Cu,Fl=0;Fl>8&65535;to[Fl]=No,No>=Co&&(Co=No+1)}}if(tA.h)break r;for(na=0;5>na;++na){var su=Fg[na];!na&&0<_l&&(su+=1<<_l),xl=rA),KA=zA;var wA=E(xl);if(KA==null||wA==null||HA==null){$o.a=1;break r}var GA=HA;for(Fl=Wa=0;Flna;++na){su=Fg[na],VA[na]=GA,Qc[na]=Wa,!na&&0<_l&&(su+=1<<_l);i:{var S1,ig=su,I1=$o,Vp=wA,Im=GA,Tm=Wa,sg=0,ef=I1.m,Fm=Fn(ef,1);if(p(Vp,0,0,ig),Fm){var Dm=Fn(ef,1)+1,Lm=Fn(ef,1),jg=Fn(ef,Lm==0?1:8);Vp[jg]=1,Dm==2&&(Vp[jg=Fn(ef,8)]=1);var T1=1}else{var Hg=E(19),zg=Fn(ef,4)+4;if(19D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Om=qd==16,Yg=qd-16,Mm=nm[Yg],Xg=Fn(tf,rm[Yg])+Mm;if(Wp+Xg>D1)break n;for(var Um=Om?Vg:0;0=na){var Zp,lg=wA[0];for(Zp=1;Zplg&&(lg=wA[Zp]);Su+=lg}}if(Wo.nd=nh,Wo.Qb=0,nh&&(Wo.qb=(VA[3][Qc[3]+0].value<<24|VA[1][Qc[1]+0].value<<16|VA[2][Qc[2]+0].value)>>>0,ld==0&&256>VA[0][Qc[0]+0].value&&(Wo.Qb=1,Wo.qb+=VA[0][Qc[0]+0].value<<8)),Wo.jc=!Wo.Qb&&6>Su,Wo.jc){var L1,ih=Wo;for(L1=0;L1>=fu(k1,8,nf),rf>>=fu(ih.G[1][ih.H[1]+rf],16,nf),rf>>=fu(ih.G[2][ih.H[2]+rf],0,nf),fu(ih.G[3][ih.H[3]+rf],24,nf))}}}iu.vc=to,iu.Wb=Co,iu.Ya=KA,iu.yc=HA,oi=1;break t}oi=0}if(!(nt=oi)){Le.a=3;break e}if(0Le+1?[]:0),!(Xe.lengthC?0:C>G?G:C}function zd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function O1(){var C=new n1;return C!=null&&(C.a=0,C.sc="OK",C.cb=0,C.Xb=0,Kp||(Kp=Kd)),C}function Hl(C,G,me){return C.a==0&&(C.a=G,C.sc=me,C.cb=0),0}function i1(C,G,me){return 3<=me&&C[G+0]==157&&C[G+1]==1&&C[G+2]==42}function o0(C,G){if(C==null)return 0;if(C.a=0,C.sc="OK",G==null)return Hl(C,2,"null VP8Io passed to VP8GetHeaders()");var me=G.data,Le=G.w,Xe=G.ha;if(4>Xe)return Hl(C,7,"Truncated header.");var nt=me[Le+0]|me[Le+1]<<8|me[Le+2]<<16,st=C.Od;if(st.Rb=!(1&nt),st.td=nt>>1&7,st.yd=nt>>4&1,st.ub=nt>>5,3Xe)return Hl(C,7,"cannot parse picture header");if(!i1(me,Le,Xe))return Hl(C,3,"Bad code word");gt.c=16383&(me[Le+4]<<8|me[Le+3]),gt.Td=me[Le+4]>>6,gt.i=16383&(me[Le+6]<<8|me[Le+5]),gt.Ud=me[Le+6]>>6,Le+=7,Xe-=7,C.za=gt.c+15>>4,C.Ub=gt.i+15>>4,G.width=gt.c,G.height=gt.i,G.Da=0,G.j=0,G.v=0,G.va=G.width,G.o=G.height,G.da=0,G.ib=G.width,G.hb=G.height,G.U=G.width,G.T=G.height,p((nt=C.Pa).jb,0,255,nt.jb.length),a((nt=C.Qa)!=null),nt.Cb=0,nt.Bb=0,nt.Fb=1,p(nt.Zb,0,0,nt.Zb.length),p(nt.Lb,0,0,nt.Lb)}if(st.ub>Xe)return Hl(C,7,"bad partition length");on(nt=C.m,me,Le,st.ub),Le+=st.ub,Xe-=st.ub,st.Rb&&(gt.Ld=fn(nt),gt.Kd=fn(nt)),gt=C.Qa;var Et,jt=C.Pa;if(a(nt!=null),a(gt!=null),gt.Cb=fn(nt),gt.Cb){if(gt.Bb=fn(nt),fn(nt)){for(gt.Fb=fn(nt),Et=0;4>Et;++Et)gt.Zb[Et]=fn(nt)?Gr(nt,7):0;for(Et=0;4>Et;++Et)gt.Lb[Et]=fn(nt)?Gr(nt,6):0}if(gt.Bb)for(Et=0;3>Et;++Et)jt.jb[Et]=fn(nt)?An(nt,8):255}else gt.Bb=0;if(nt.Ka)return Hl(C,3,"cannot parse segment header");if((gt=C.ed).zd=fn(nt),gt.Tb=An(nt,6),gt.wb=An(nt,3),gt.Pc=fn(nt),gt.Pc&&fn(nt)){for(jt=0;4>jt;++jt)fn(nt)&&(gt.vd[jt]=Gr(nt,6));for(jt=0;4>jt;++jt)fn(nt)&&(gt.od[jt]=Gr(nt,6))}if(C.L=gt.Tb==0?0:gt.zd?1:2,nt.Ka)return Hl(C,3,"cannot parse filter header");var br=Xe;if(Xe=Et=Le,Le=Et+br,gt=br,C.Xb=(1<gt&&(Wr=gt),on(C.Jc[+br],me,Et,Wr),Et+=Wr,gt-=Wr,Xe+=3}on(C.Jc[+jt],me,Et,gt),me=EtWr;++Wr){if(br.Cb){var Ht=br.Zb[Wr];br.Fb||(Ht+=me)}else{if(0>16,8>Sr.Eb[1]&&(Sr.Eb[1]=8),Sr.Qc[0]=tg[a0(Ht+jt,117)],Sr.Qc[1]=rg[a0(Ht+Et,127)],Sr.lc=Ht+Et}if(!st.Rb)return Hl(C,4,"Not a key frame.");for(fn(nt),st=C.Pa,me=0;4>me;++me){for(Xe=0;8>Xe;++Xe)for(Le=0;3>Le;++Le)for(gt=0;11>gt;++gt)jt=Bn(nt,fm[me][Xe][Le][gt])?An(nt,8):cm[me][Xe][Le][gt],st.Wc[me][Xe].Yb[Le][gt]=jt;for(Xe=0;17>Xe;++Xe)st.Xc[me][Xe]=st.Wc[me][dm[Xe]]}return C.kc=fn(nt),C.kc&&(C.Bd=An(nt,8)),C.cb=1}function Kd(C,G,me,Le,Xe,nt,st){var gt=G[Xe].Yb[me];for(me=0;16>Xe;++Xe){if(!Bn(C,gt[me+0]))return Xe;for(;!Bn(C,gt[me+1]);)if(gt=G[++Xe].Yb[0],me=0,Xe==16)return 16;var Et=G[Xe+1].Yb;if(Bn(C,gt[me+2])){var jt=C,br=0;if(Bn(jt,(Ht=gt)[(Wr=me)+3]))if(Bn(jt,Ht[Wr+6])){for(gt=0,Wr=2*(br=Bn(jt,Ht[Wr+8]))+(Ht=Bn(jt,Ht[Wr+9+br])),br=0,Ht=um[Wr];Ht[gt];++gt)br+=br+Bn(jt,Ht[gt]);br+=3+(8<(jt=C).b&&un(jt);var Wr,Ht=jt.b,Sr=(Wr=jt.Ca>>1)-(jt.I>>Ht)>>31;--jt.b,jt.Ca+=Sr,jt.Ca|=1,jt.I-=(Wr+1&Sr)<>3),C[G+me+32*Le]=-256&Xe?0>Xe?0:255:Xe}function eu(C,G,me,Le,Xe,nt){cc(C,G,0,me,Le+Xe),cc(C,G,1,me,Le+nt),cc(C,G,2,me,Le-nt),cc(C,G,3,me,Le-Xe)}function K0(C){return(20091*C>>16)+C}function a1(C,G,me,Le){var Xe,nt=0,st=E(16);for(Xe=0;4>Xe;++Xe){var gt=C[G+0]+C[G+8],Et=C[G+0]-C[G+8],jt=(35468*C[G+4]>>16)-K0(C[G+12]),br=K0(C[G+4])+(35468*C[G+12]>>16);st[nt+0]=gt+br,st[nt+1]=Et+jt,st[nt+2]=Et-jt,st[nt+3]=gt-br,nt+=4,G++}for(Xe=nt=0;4>Xe;++Xe)gt=(C=st[nt+0]+4)+st[nt+8],Et=C-st[nt+8],jt=(35468*st[nt+4]>>16)-K0(st[nt+12]),cc(me,Le,0,0,gt+(br=K0(st[nt+4])+(35468*st[nt+12]>>16))),cc(me,Le,1,0,Et+jt),cc(me,Le,2,0,Et-jt),cc(me,Le,3,0,gt-br),nt++,Le+=32}function M1(C,G,me,Le){var Xe=C[G+0]+4,nt=35468*C[G+4]>>16,st=K0(C[G+4]),gt=35468*C[G+1]>>16;eu(me,Le,0,Xe+st,C=K0(C[G+1]),gt),eu(me,Le,1,Xe+nt,C,gt),eu(me,Le,2,Xe-nt,C,gt),eu(me,Le,3,Xe-st,C,gt)}function U1(C,G,me,Le,Xe){a1(C,G,me,Le),Xe&&a1(C,G+16,me,Le+4)}function l0(C,G,me,Le){od(C,G+0,me,Le,1),od(C,G+32,me,Le+128,1)}function o1(C,G,me,Le){var Xe;for(C=C[G+0]+4,Xe=0;4>Xe;++Xe)for(G=0;4>G;++G)cc(me,Le,G,Xe,C)}function l1(C,G,me,Le){C[G+0]&&wo(C,G+0,me,Le),C[G+16]&&wo(C,G+16,me,Le+4),C[G+32]&&wo(C,G+32,me,Le+128),C[G+48]&&wo(C,G+48,me,Le+128+4)}function Gd(C,G,me,Le){var Xe,nt=E(16);for(Xe=0;4>Xe;++Xe){var st=C[G+0+Xe]+C[G+12+Xe],gt=C[G+4+Xe]+C[G+8+Xe],Et=C[G+4+Xe]-C[G+8+Xe],jt=C[G+0+Xe]-C[G+12+Xe];nt[0+Xe]=st+gt,nt[8+Xe]=st-gt,nt[4+Xe]=jt+Et,nt[12+Xe]=jt-Et}for(Xe=0;4>Xe;++Xe)st=(C=nt[0+4*Xe]+3)+nt[3+4*Xe],gt=nt[1+4*Xe]+nt[2+4*Xe],Et=nt[1+4*Xe]-nt[2+4*Xe],jt=C-nt[3+4*Xe],me[Le+0]=st+gt>>3,me[Le+16]=jt+Et>>3,me[Le+32]=st-gt>>3,me[Le+48]=jt-Et>>3,Le+=64}function Yf(C,G,me){var Le,Xe=G-32,nt=jA,st=255-C[Xe-1];for(Le=0;Leme;++me)c(C,G+32*me,C,G-32,16)}function u1(C,G){var me;for(me=16;0Le;++Le)p(G,me+32*Le,C,16)}function j1(C,G){var me,Le=16;for(me=0;16>me;++me)Le+=C[G-1+32*me]+C[G+me-32];Mc(Le>>5,C,G)}function Xf(C,G){var me,Le=8;for(me=0;16>me;++me)Le+=C[G-1+32*me];Mc(Le>>4,C,G)}function Bp(C,G){var me,Le=8;for(me=0;16>me;++me)Le+=C[G+me-32];Mc(Le>>4,C,G)}function H1(C,G){Mc(128,C,G)}function Js(C,G,me){return C+2*G+me+2>>2}function z1(C,G){var me,Le=G-32;for(Le=new Uint8Array([Js(C[Le-1],C[Le+0],C[Le+1]),Js(C[Le+0],C[Le+1],C[Le+2]),Js(C[Le+1],C[Le+2],C[Le+3]),Js(C[Le+2],C[Le+3],C[Le+4])]),me=0;4>me;++me)c(C,G+32*me,Le,0,Le.length)}function K1(C,G){var me=C[G-1],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96];zn(C,G+0,16843009*Js(C[G-1-32],me,Le)),zn(C,G+32,16843009*Js(me,Le,Xe)),zn(C,G+64,16843009*Js(Le,Xe,nt)),zn(C,G+96,16843009*Js(Xe,nt,nt))}function G1(C,G){var me,Le=4;for(me=0;4>me;++me)Le+=C[G+me-32]+C[G-1+32*me];for(Le>>=3,me=0;4>me;++me)p(C,G+32*me,Le,4)}function G0(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1-32],st=C[G+0-32],gt=C[G+1-32],Et=C[G+2-32],jt=C[G+3-32];C[G+0+96]=Js(Le,Xe,C[G-1+96]),C[G+1+96]=C[G+0+64]=Js(me,Le,Xe),C[G+2+96]=C[G+1+64]=C[G+0+32]=Js(nt,me,Le),C[G+3+96]=C[G+2+64]=C[G+1+32]=C[G+0+0]=Js(st,nt,me),C[G+3+64]=C[G+2+32]=C[G+1+0]=Js(gt,st,nt),C[G+3+32]=C[G+2+0]=Js(Et,gt,st),C[G+3+0]=Js(jt,Et,gt)}function V0(C,G){var me=C[G+1-32],Le=C[G+2-32],Xe=C[G+3-32],nt=C[G+4-32],st=C[G+5-32],gt=C[G+6-32],Et=C[G+7-32];C[G+0+0]=Js(C[G+0-32],me,Le),C[G+1+0]=C[G+0+32]=Js(me,Le,Xe),C[G+2+0]=C[G+1+32]=C[G+0+64]=Js(Le,Xe,nt),C[G+3+0]=C[G+2+32]=C[G+1+64]=C[G+0+96]=Js(Xe,nt,st),C[G+3+32]=C[G+2+64]=C[G+1+96]=Js(nt,st,gt),C[G+3+64]=C[G+2+96]=Js(st,gt,Et),C[G+3+96]=Js(gt,Et,Et)}function V1(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1-32],st=C[G+0-32],gt=C[G+1-32],Et=C[G+2-32],jt=C[G+3-32];C[G+0+0]=C[G+1+64]=nt+st+1>>1,C[G+1+0]=C[G+2+64]=st+gt+1>>1,C[G+2+0]=C[G+3+64]=gt+Et+1>>1,C[G+3+0]=Et+jt+1>>1,C[G+0+96]=Js(Xe,Le,me),C[G+0+64]=Js(Le,me,nt),C[G+0+32]=C[G+1+96]=Js(me,nt,st),C[G+1+32]=C[G+2+96]=Js(nt,st,gt),C[G+2+32]=C[G+3+96]=Js(st,gt,Et),C[G+3+32]=Js(gt,Et,jt)}function W1(C,G){var me=C[G+0-32],Le=C[G+1-32],Xe=C[G+2-32],nt=C[G+3-32],st=C[G+4-32],gt=C[G+5-32],Et=C[G+6-32],jt=C[G+7-32];C[G+0+0]=me+Le+1>>1,C[G+1+0]=C[G+0+64]=Le+Xe+1>>1,C[G+2+0]=C[G+1+64]=Xe+nt+1>>1,C[G+3+0]=C[G+2+64]=nt+st+1>>1,C[G+0+32]=Js(me,Le,Xe),C[G+1+32]=C[G+0+96]=Js(Le,Xe,nt),C[G+2+32]=C[G+1+96]=Js(Xe,nt,st),C[G+3+32]=C[G+2+96]=Js(nt,st,gt),C[G+3+64]=Js(st,gt,Et),C[G+3+96]=Js(gt,Et,jt)}function Vd(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96];C[G+0+0]=me+Le+1>>1,C[G+2+0]=C[G+0+32]=Le+Xe+1>>1,C[G+2+32]=C[G+0+64]=Xe+nt+1>>1,C[G+1+0]=Js(me,Le,Xe),C[G+3+0]=C[G+1+32]=Js(Le,Xe,nt),C[G+3+32]=C[G+1+64]=Js(Xe,nt,nt),C[G+3+64]=C[G+2+64]=C[G+0+96]=C[G+1+96]=C[G+2+96]=C[G+3+96]=nt}function Cp(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96],st=C[G-1-32],gt=C[G+0-32],Et=C[G+1-32],jt=C[G+2-32];C[G+0+0]=C[G+2+32]=me+st+1>>1,C[G+0+32]=C[G+2+64]=Le+me+1>>1,C[G+0+64]=C[G+2+96]=Xe+Le+1>>1,C[G+0+96]=nt+Xe+1>>1,C[G+3+0]=Js(gt,Et,jt),C[G+2+0]=Js(st,gt,Et),C[G+1+0]=C[G+3+32]=Js(me,st,gt),C[G+1+32]=C[G+3+64]=Js(Le,me,st),C[G+1+64]=C[G+3+96]=Js(Xe,Le,me),C[G+1+96]=Js(nt,Xe,Le)}function Jf(C,G){var me;for(me=0;8>me;++me)c(C,G+32*me,C,G-32,8)}function Z1(C,G){var me;for(me=0;8>me;++me)p(C,G,C[G-1],8),G+=32}function W0(C,G,me){var Le;for(Le=0;8>Le;++Le)p(G,me+32*Le,C,8)}function Y1(C,G){var me,Le=8;for(me=0;8>me;++me)Le+=C[G+me-32]+C[G-1+32*me];W0(Le>>4,C,G)}function Sp(C,G){var me,Le=4;for(me=0;8>me;++me)Le+=C[G+me-32];W0(Le>>3,C,G)}function Ip(C,G){var me,Le=4;for(me=0;8>me;++me)Le+=C[G-1+32*me];W0(Le>>3,C,G)}function A1(C,G){W0(128,C,G)}function Z0(C,G,me){var Le=C[G-me],Xe=C[G+0],nt=3*(Xe-Le)+X1[1020+C[G-2*me]-C[G+me]],st=v1[112+(nt+4>>3)];C[G-me]=jA[255+Le+v1[112+(nt+3>>3)]],C[G+0]=jA[255+Xe-st]}function Tp(C,G,me,Le){var Xe=C[G+0],nt=C[G+me];return dc[255+C[G-2*me]-C[G-me]]>Le||dc[255+nt-Xe]>Le}function Wd(C,G,me,Le){return 4*dc[255+C[G-me]-C[G+0]]+dc[255+C[G-2*me]-C[G+me]]<=Le}function Fp(C,G,me,Le,Xe){var nt=C[G-3*me],st=C[G-2*me],gt=C[G-me],Et=C[G+0],jt=C[G+me],br=C[G+2*me],Wr=C[G+3*me];return 4*dc[255+gt-Et]+dc[255+st-jt]>Le?0:dc[255+C[G-4*me]-nt]<=Xe&&dc[255+nt-st]<=Xe&&dc[255+st-gt]<=Xe&&dc[255+Wr-br]<=Xe&&dc[255+br-jt]<=Xe&&dc[255+jt-Et]<=Xe}function qf(C,G,me,Le){var Xe=2*Le+1;for(Le=0;16>Le;++Le)Wd(C,G+Le,me,Xe)&&Z0(C,G+Le,me)}function Dp(C,G,me,Le){var Xe=2*Le+1;for(Le=0;16>Le;++Le)Wd(C,G+Le*me,1,Xe)&&Z0(C,G+Le*me,1)}function c1(C,G,me,Le){var Xe;for(Xe=3;0>7,En=18*xn+63>>7,xn=9*xn+63>>7;Et[jt-3*br]=jA[255+Et[jt-3*br]+xn],Et[jt-2*br]=jA[255+Wr+En],Et[jt-br]=jA[255+Ht+Kr],Et[jt+0]=jA[255+Sr-Kr],Et[jt+br]=jA[255+Pr-En],Et[jt+2*br]=jA[255+yn-xn]}G+=Le}}function X0(C,G,me,Le,Xe,nt,st,gt){for(nt=2*nt+1;0>3)],yn=v1[112+(yn+3>>3)],Kr=Pr+1>>1;Et[jt-2*br]=jA[255+Et[jt-2*br]+Kr],Et[jt-br]=jA[255+Wr+yn],Et[jt+0]=jA[255+Ht-Pr],Et[jt+br]=jA[255+Sr-Kr]}G+=Le}}function f1(C,G,me,Le,Xe,nt){Y0(C,G,me,1,16,Le,Xe,nt)}function $f(C,G,me,Le,Xe,nt){Y0(C,G,1,me,16,Le,Xe,nt)}function d1(C,G,me,Le,Xe,nt){var st;for(st=3;0jt?0:255:jt)&255,jt=Et,Xe[nt+gt]=br}}function Vo(C,G,me,Le){var Xe=G.width,nt=G.o;if(a(C!=null&&G!=null),0>me||0>=Le||me+Le>nt)return null;if(!C.Cc){if(C.ga==null){var st;if(C.ga=new oa,(st=C.ga==null)||(st=G.width*G.o,a(C.Gb.length==0),C.Gb=E(st),C.Uc=0,C.Gb==null?st=0:(C.mb=C.Gb,C.nb=C.Uc,C.rc=null,st=1),st=!st),!st){st=C.ga;var gt=C.Fa,Et=C.P,jt=C.qc,br=C.mb,Wr=C.nb,Ht=Et+1,Sr=jt-1,Pr=st.l;if(a(gt!=null&&br!=null&&G!=null),$h[0]=null,$h[1]=eo,$h[2]=fl,$h[3]=zl,st.ca=br,st.tb=Wr,st.c=G.width,st.i=G.height,a(0=jt)G=0;else if(st.$a=3>[Et+0],st.Z=gt[Et+0]>>2&3,st.Lc=gt[Et+0]>>4&3,Et=gt[Et+0]>>6&3,0>st.$a||1=st.c*st.i;st=!G}if(st)return null;C.ga.Lc!=1?C.Ga=0:Le=nt-me}a(C.ga!=null),a(me+Le<=nt);e:{if(G=(gt=C.ga).c,nt=gt.l.o,gt.$a==0){if(Ht=C.rc,Sr=C.Vc,Pr=C.Fa,Et=C.P+1+me*G,jt=C.mb,br=C.nb+me*G,a(Et<=C.P+C.qc),gt.Z!=0)for(a($h[gt.Z]!=null),st=0;st=G)G=1;else if(gt.ic||Uc(),gt.ic){gt=st.V,Ht=st.Ba,Sr=st.c;var yn=st.i,Kr=(Pr=1,Et=st.$/Sr,jt=st.$%Sr,br=st.m,Wr=st.s,st.$),En=Sr*yn,xn=Sr*G,Qn=Wr.wc,Ln=Kr(yn=El(Ln.G[0],Ln.H[0],br)))gt[Ht+Kr]=yn,++Kr,++jt>=Sr&&(jt=0,++Et<=G&&!(Et%16)&&Rc(st,Et));else{if(!(280>yn)){Pr=0;break t}yn=oc(yn-256,br);var ns,Qi=El(Ln.G[4],Ln.H[4],br);if(jr(br),!(Kr>=(Qi=lc(Sr,Qi=oc(Qi,br)))&&En-Kr>=yn)){Pr=0;break t}for(ns=0;ns=Sr;)jt-=Sr,++Et<=G&&!(Et%16)&&Rc(st,Et);KrG?G:Et);break t}!Pr||br.h&&Kr=nt&&(C.Cc=1),Le=1}if(!Le)return null;if(C.Cc&&((Le=C.ga)!=null&&(Le.mc=null),C.ga=null,0>23,gt[Et+4*st+1]=gt[Et+4*st+1]*Wr>>23,gt[Et+4*st+2]=gt[Et+4*st+2]*Wr>>23)}G+=nt}}function Kl(C,G,me,Le,Xe){for(;0>4)*Et>>16;C[G+2*nt+0]=(240&st|st>>4)*Et>>16&240|(15&st|st<<4)*Et>>16>>4&15,C[G+2*nt+1]=240&jt|gt}G+=Xe}}function _u(C,G,me,Le,Xe,nt,st,gt){var Et,jt,br=255;for(jt=0;jt>8}function Uc(){zp=tu,wg=Kl,bg=_u,Eg=J0}function q0(C,G,me){er[C]=function(Le,Xe,nt,st,gt,Et,jt,br,Wr,Ht,Sr,Pr,yn,Kr,En,xn,Qn){var Ln,ns=Qn-1>>1,Qi=gt[Et+0]|jt[br+0]<<16,ca=Wr[Ht+0]|Sr[Pr+0]<<16;a(Le!=null);var Xi=3*Qi+ca+131074>>2;for(G(Le[Xe+0],255&Xi,Xi>>16,yn,Kr),nt!=null&&(Xi=3*ca+Qi+131074>>2,G(nt[st+0],255&Xi,Xi>>16,En,xn)),Ln=1;Ln<=ns;++Ln){var Qa=gt[Et+Ln]|jt[br+Ln]<<16,nu=Wr[Ht+Ln]|Sr[Pr+Ln]<<16,ha=Qi+Qa+ca+nu+524296,Ji=ha+2*(Qa+ca)>>3;Xi=Ji+Qi>>1,Qi=(ha=ha+2*(Qi+nu)>>3)+Qa>>1,G(Le[Xe+2*Ln-1],255&Xi,Xi>>16,yn,Kr+(2*Ln-1)*me),G(Le[Xe+2*Ln-0],255&Qi,Qi>>16,yn,Kr+(2*Ln-0)*me),nt!=null&&(Xi=ha+ca>>1,Qi=Ji+nu>>1,G(nt[st+2*Ln-1],255&Xi,Xi>>16,En,xn+(2*Ln-1)*me),G(nt[st+2*Ln+0],255&Qi,Qi>>16,En,xn+(2*Ln+0)*me)),Qi=Qa,ca=nu}1&Qn||(Xi=3*Qi+ca+131074>>2,G(Le[Xe+Qn-1],255&Xi,Xi>>16,yn,Kr+(Qn-1)*me),nt!=null&&(Xi=3*ca+Qi+131074>>2,G(nt[st+Qn-1],255&Xi,Xi>>16,En,xn+(Qn-1)*me)))}}function Lp(){pc[y1]=gm,pc[w1]=kg,pc[Ig]=mm,pc[b1]=Rg,pc[E1]=Og,pc[J1]=Mg,pc[Tg]=vm,pc[q1]=kg,pc[$1]=Rg,pc[_1]=Og,pc[eg]=Mg}function Zd(C){return C&~ym?0>C?0:255:C>>Ug}function zh(C,G){return Zd((19077*C>>8)+(26149*G>>8)-14234)}function ed(C,G,me){return Zd((19077*C>>8)-(6419*G>>8)-(13320*me>>8)+8708)}function td(C,G){return Zd((19077*C>>8)+(33050*G>>8)-17685)}function Kh(C,G,me,Le,Xe){Le[Xe+0]=zh(C,me),Le[Xe+1]=ed(C,G,me),Le[Xe+2]=td(C,G)}function xu(C,G,me,Le,Xe){Le[Xe+0]=td(C,G),Le[Xe+1]=ed(C,G,me),Le[Xe+2]=zh(C,me)}function rd(C,G,me,Le,Xe){var nt=ed(C,G,me);G=nt<<3&224|td(C,G)>>3,Le[Xe+0]=248&zh(C,me)|nt>>5,Le[Xe+1]=G}function nd(C,G,me,Le,Xe){var nt=240&td(C,G)|15;Le[Xe+0]=240&zh(C,me)|ed(C,G,me)>>4,Le[Xe+1]=nt}function kp(C,G,me,Le,Xe){Le[Xe+0]=255,Kh(C,G,me,Le,Xe+1)}function Rp(C,G,me,Le,Xe){xu(C,G,me,Le,Xe),Le[Xe+3]=255}function $u(C,G,me,Le,Xe){Kh(C,G,me,Le,Xe),Le[Xe+3]=255}function $0(C,G,me){er[C]=function(Le,Xe,nt,st,gt,Et,jt,br,Wr){for(var Ht=br+(-2&Wr)*me;br!=Ht;)G(Le[Xe+0],nt[st+0],gt[Et+0],jt,br),G(Le[Xe+1],nt[st+0],gt[Et+0],jt,br+me),Xe+=2,++st,++Et,br+=2*me;1&Wr&&G(Le[Xe+0],nt[st+0],gt[Et+0],jt,br)}}function Yd(C,G,me){return me==0?C==0?G==0?6:5:G==0?4:0:me}function p1(C,G,me,Le,Xe){switch(C>>>30){case 3:od(G,me,Le,Xe,0);break;case 2:fc(G,me,Le,Xe);break;case 1:wo(G,me,Le,Xe)}}function hc(C,G){var me,Le,Xe=G.M,nt=G.Nb,st=C.oc,gt=C.pc+40,Et=C.oc,jt=C.pc+584,br=C.oc,Wr=C.pc+600;for(me=0;16>me;++me)st[gt+32*me-1]=129;for(me=0;8>me;++me)Et[jt+32*me-1]=129,br[Wr+32*me-1]=129;for(0me;++me)c(st,gt+32*me-4,st,gt+32*me+12,4);for(me=-1;8>me;++me)c(Et,jt+32*me-4,Et,jt+32*me+4,4),c(br,Wr+32*me-4,br,Wr+32*me+4,4)}var Sr=C.Gd,Pr=C.Hd+Le,yn=Ht.ad,Kr=Ht.Hc;if(0=C.za-1?p(En,xn,Sr[Pr].y[15],4):c(En,xn,Sr[Pr+1].y,0,4)),me=0;4>me;me++)En[xn+128+me]=En[xn+256+me]=En[xn+384+me]=En[xn+0+me];for(me=0;16>me;++me,Kr<<=2)En=st,xn=gt+Pg[me],Nc[Ht.Ob[me]](En,xn),p1(Kr,yn,16*+me,En,xn)}else if(En=Yd(Le,Xe,Ht.Ob[0]),qh[En](st,gt),Kr!=0)for(me=0;16>me;++me,Kr<<=2)p1(Kr,yn,16*+me,st,gt+Pg[me]);for(me=Ht.Gc,En=Yd(Le,Xe,Ht.Dd),rh[En](Et,jt),rh[En](br,Wr),Kr=yn,En=Et,xn=jt,255&(Ht=0|me)&&(170&Ht?c0(Kr,256,En,xn):Uo(Kr,256,En,xn)),Ht=br,Kr=Wr,255&(me>>=8)&&(170&me?c0(yn,320,Ht,Kr):Uo(yn,320,Ht,Kr)),Xeme;++me)c(Sr,Pr+me*C.R,st,gt+32*me,16);for(me=0;8>me;++me)c(yn,Ht+me*C.B,Et,jt+32*me,8),c(Kr,En+me*C.B,br,Wr+32*me,8)}}function id(C,G,me,Le,Xe,nt,st,gt,Et){var jt=[0],br=[0],Wr=0,Ht=Et!=null?Et.kd:0,Sr=Et!=null?Et:new Dn;if(C==null||12>me)return 7;Sr.data=C,Sr.w=G,Sr.ha=me,G=[G],me=[me],Sr.gb=[Sr.gb];e:{var Pr=G,yn=me,Kr=Sr.gb;if(a(C!=null),a(yn!=null),a(Kr!=null),Kr[0]=0,12<=yn[0]&&!s(C,Pr[0],"RIFF")){if(s(C,Pr[0]+8,"WEBP")){Kr=3;break e}var En=As(C,Pr[0]+4);if(12>En||4294967286yn[0]-8){Kr=7;break e}Kr[0]=En,Pr[0]+=12,yn[0]-=12}Kr=0}if(Kr!=0)return Kr;for(En=0Kr[0])Kr=7;else{if(!s(xn,yn[0],"VP8X")){if(As(xn,yn[0]+4)!=10){Kr=3;break e}if(18>Kr[0]){Kr=7;break e}var Qi=As(xn,yn[0]+8),ca=1+pi(xn,yn[0]+12);if(2147483648<=ca*(xn=1+pi(xn,yn[0]+15))){Kr=3;break e}ns!=null&&(ns[0]=Qi),Qn!=null&&(Qn[0]=ca),Ln!=null&&(Ln[0]=xn),yn[0]+=18,Kr[0]-=18,Xi[0]=1}Kr=0}}if(Wr=Wr[0],Pr=Pr[0],Kr!=0)return Kr;if(yn=!!(2&Pr),!En&&Wr)return 3;if(nt!=null&&(nt[0]=!!(16&Pr)),st!=null&&(st[0]=yn),gt!=null&&(gt[0]=0),st=jt[0],Pr=br[0],Wr&&yn&&Et==null){Kr=0;break}if(4>me){Kr=7;break}if(En&&Wr||!En&&!Wr&&!s(C,G[0],"ALPH")){me=[me],Sr.na=[Sr.na],Sr.P=[Sr.P],Sr.Sa=[Sr.Sa];e:{Qi=C,Kr=G,En=me;var Xi=Sr.gb;Qn=Sr.na,Ln=Sr.P,ns=Sr.Sa,ca=22,a(Qi!=null),a(En!=null),xn=Kr[0];var Qa=En[0];for(a(Qn!=null),a(ns!=null),Qn[0]=null,Ln[0]=null,ns[0]=0;;){if(Kr[0]=xn,En[0]=Qa,8>Qa){Kr=7;break e}var nu=As(Qi,xn+4);if(4294967286Xi){Kr=3;break e}if(!s(Qi,xn,"VP8 ")||!s(Qi,xn,"VP8L")){Kr=0;break e}if(Qa[0]En[0])Kr=7;else{if(xn||ca){if(Xi=As(Xi,Qi+4),12<=Qn&&Xi>Qn-12){Kr=3;break e}if(Ht&&Xi>En[0]-8){Kr=7;break e}Ln[0]=Xi,Kr[0]+=8,En[0]-=8,ns[0]=ca}else ns[0]=5<=En[0]&&Xi[Qi+0]==47&&!(Xi[Qi+4]>>5),Ln[0]=En[0];Kr=0}if(me=me[0],Sr.Ja=Sr.Ja[0],Sr.xa=Sr.xa[0],G=G[0],Kr!=0)break;if(4294967286me){Kr=7;break}gt=st,Ht=Pr,yn=nt,C==null||5>me?C=0:5<=me&&C[G+0]==47&&!(C[G+4]>>5)?(En=[0],Xi=[0],Qn=[0],dn(Ln=new Xt,C,G,me),z0(Ln,En,Xi,Qn)?(gt!=null&&(gt[0]=En[0]),Ht!=null&&(Ht[0]=Xi[0]),yn!=null&&(yn[0]=Qn[0]),C=1):C=0):C=0}else{if(10>me){Kr=7;break}gt=Pr,C==null||10>me||!i1(C,G+3,me-3)?C=0:(Ht=C[G+0]|C[G+1]<<8|C[G+2]<<16,yn=16383&(C[G+7]<<8|C[G+6]),C=16383&(C[G+9]<<8|C[G+8]),1&Ht||3<(Ht>>1&7)||!(Ht>>4&1)||Ht>>5>=Sr.Ja||!yn||!C?C=0:(st&&(st[0]=yn),gt&&(gt[0]=C),C=1))}if(!C||(st=st[0],Pr=Pr[0],Wr&&(jt[0]!=st||br[0]!=Pr)))return 3;Et!=null&&(Et[0]=Sr,Et.offset=G-Et.w,a(4294967286>G-Et.w),a(Et.offset==Et.ha-me));break}return Kr==0||Kr==7&&Wr&&Et==null?(nt!=null&&(nt[0]|=Sr.na!=null&&0me||(nt&=-2,st&=-2),0>nt||0>st||0>=gt||0>=Et||nt+gt>Le||st+Et>Xe))return 0;if(G.v=nt,G.j=st,G.va=nt+gt,G.o=st+Et,G.U=gt,G.T=Et,G.da=C!=null&&0C.S){var G=C.f.RGBA;G.fb+=(C.height-1)*G.A,G.A=-G.A}else G=C.f.kb,C=C.height,G.O+=(C-1)*G.fa,G.fa=-G.fa,G.N+=(C-1>>1)*G.Ab,G.Ab=-G.Ab,G.W+=(C-1>>1)*G.Db,G.Db=-G.Db,G.F!=null&&(G.J+=(C-1)*G.lb,G.lb=-G.lb);return 0}function Gh(C,G,me,Le){if(Le==null||0>=C||0>=G)return 2;if(me!=null){if(me.Da){var Xe=me.cd,nt=me.bd,st=-2&me.v,gt=-2&me.j;if(0>st||0>gt||0>=Xe||0>=nt||st+Xe>C||gt+nt>G)return 2;C=Xe,G=nt}if(me.da){if(!Ms(C,G,Xe=[me.ib],nt=[me.hb]))return 2;C=Xe[0],G=nt[0]}}Le.width=C,Le.height=G;e:{var Et=Le.width,jt=Le.height;if(C=Le.S,0>=Et||0>=jt||!(C>=y1&&13>C))C=2;else{if(0>=Le.Rd&&Le.sd==null){st=nt=Xe=G=0;var br=(gt=Et*Qg[C])*jt;if(11>C||(nt=(jt+1)/2*(G=(Et+1)/2),C==12&&(st=(Xe=Et)*jt)),(jt=E(br+2*nt+st))==null){C=1;break e}Le.sd=jt,11>C?((Et=Le.f.RGBA).eb=jt,Et.fb=0,Et.A=gt,Et.size=br):((Et=Le.f.kb).y=jt,Et.O=0,Et.fa=gt,Et.Fd=br,Et.f=jt,Et.N=0+br,Et.Ab=G,Et.Cd=nt,Et.ea=jt,Et.W=0+br+nt,Et.Db=G,Et.Ed=nt,C==12&&(Et.F=jt,Et.J=0+br+2*nt),Et.Tc=st,Et.lb=Xe)}if(G=1,Xe=Le.S,nt=Le.width,st=Le.height,Xe>=y1&&13>Xe)if(11>Xe)C=Le.f.RGBA,G&=(gt=Math.abs(C.A))*(st-1)+nt<=C.size,G&=gt>=nt*Qg[Xe],G&=C.eb!=null;else{C=Le.f.kb,gt=(nt+1)/2,br=(st+1)/2,Et=Math.abs(C.fa),jt=Math.abs(C.Ab);var Wr=Math.abs(C.Db),Ht=Math.abs(C.lb),Sr=Ht*(st-1)+nt;G&=Et*(st-1)+nt<=C.Fd,G&=jt*(br-1)+gt<=C.Cd,G=(G&=Wr*(br-1)+gt<=C.Ed)&Et>=nt&jt>=gt&Wr>=gt,G&=C.y!=null,G&=C.f!=null,G&=C.ea!=null,Xe==12&&(G&=Ht>=nt,G&=Sr<=C.Tc,G&=C.F!=null)}else G=0;C=G?0:2}}return C!=0||me!=null&&me.fd&&(C=Mp(Le)),C}var sd=64,PA=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],QA=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];zi("Predictor0","PredictorAdd0"),er.Predictor0=function(){return 4278190080},er.Predictor1=function(C){return C},er.Predictor2=function(C,G,me){return G[me+0]},er.Predictor3=function(C,G,me){return G[me+1]},er.Predictor4=function(C,G,me){return G[me-1]},er.Predictor5=function(C,G,me){return ps(ps(C,G[me+1]),G[me+0])},er.Predictor6=function(C,G,me){return ps(C,G[me-1])},er.Predictor7=function(C,G,me){return ps(C,G[me+0])},er.Predictor8=function(C,G,me){return ps(G[me-1],G[me+0])},er.Predictor9=function(C,G,me){return ps(G[me+0],G[me+1])},er.Predictor10=function(C,G,me){return ps(ps(C,G[me-1]),ps(G[me+0],G[me+1]))},er.Predictor11=function(C,G,me){var Le=G[me+0];return 0>=ta(Le>>24&255,C>>24&255,(G=G[me-1])>>24&255)+ta(Le>>16&255,C>>16&255,G>>16&255)+ta(Le>>8&255,C>>8&255,G>>8&255)+ta(255&Le,255&C,255&G)?Le:C},er.Predictor12=function(C,G,me){var Le=G[me+0];return(vo((C>>24&255)+(Le>>24&255)-((G=G[me-1])>>24&255))<<24|vo((C>>16&255)+(Le>>16&255)-(G>>16&255))<<16|vo((C>>8&255)+(Le>>8&255)-(G>>8&255))<<8|vo((255&C)+(255&Le)-(255&G)))>>>0},er.Predictor13=function(C,G,me){var Le=G[me-1];return(ka((C=ps(C,G[me+0]))>>24&255,Le>>24&255)<<24|ka(C>>16&255,Le>>16&255)<<16|ka(C>>8&255,Le>>8&255)<<8|ka(255&C,255&Le))>>>0};var Up=er.PredictorAdd0;er.PredictorAdd1=Pa,zi("Predictor2","PredictorAdd2"),zi("Predictor3","PredictorAdd3"),zi("Predictor4","PredictorAdd4"),zi("Predictor5","PredictorAdd5"),zi("Predictor6","PredictorAdd6"),zi("Predictor7","PredictorAdd7"),zi("Predictor8","PredictorAdd8"),zi("Predictor9","PredictorAdd9"),zi("Predictor10","PredictorAdd10"),zi("Predictor11","PredictorAdd11"),zi("Predictor12","PredictorAdd12"),zi("Predictor13","PredictorAdd13");var Xd=er.PredictorAdd2;os("ColorIndexInverseTransform","MapARGB","32b",function(C){return C>>8&255},function(C){return C}),os("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(C){return C},function(C){return C>>8&255});var Il,g1=er.ColorIndexInverseTransform,u0=er.MapARGB,A0=er.VP8LColorIndexInverseTransformAlpha,Np=er.MapAlpha,Pp=er.VP8LPredictorsAdd=[];Pp.length=16,(er.VP8LPredictors=[]).length=16,(er.VP8LPredictorsAdd_C=[]).length=16,(er.VP8LPredictors_C=[]).length=16;var Qp,jp,Zh,Yh,Xh,ad,Jh,od,fc,c0,wo,Uo,Tl,ru,th,Hp,Jd,m1,dg,pg,gg,mg,vg,yg,zp,wg,bg,Eg,_g=E(511),xg=E(2041),Bg=E(225),Cg=E(767),Sg=0,X1=xg,v1=Bg,jA=Cg,dc=_g,y1=0,w1=1,Ig=2,b1=3,E1=4,J1=5,Tg=6,q1=7,$1=8,_1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Kp=null,um=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Nc=[],rh=[],pm=1,Lg=2,$h=[],pc=[];q0("UpsampleRgbLinePair",Kh,3),q0("UpsampleBgrLinePair",xu,3),q0("UpsampleRgbaLinePair",$u,4),q0("UpsampleBgraLinePair",Rp,4),q0("UpsampleArgbLinePair",kp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=er.UpsampleRgbLinePair,mm=er.UpsampleBgrLinePair,kg=er.UpsampleRgbaLinePair,Rg=er.UpsampleBgraLinePair,Og=er.UpsampleArgbLinePair,Mg=er.UpsampleRgba4444LinePair,vm=er.UpsampleRgb565LinePair,x1=16,B1=1<Le.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Le.ca.f.kb.F!=null&&Uc()),Le.Pb&&0(Et=me.Md)?0:100jt;++jt)12>(Wr=Xe.pb[jt]).lc&&(Wr.ia=Et*Cm[0>Wr.lc?0:Wr.lc]>>3),br|=Wr.ia;br&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=me.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Ht,Sr){if(Ht==null)return 0;if(Sr==null)return Hl(Ht,2,"NULL VP8Io parameter in VP8Decode().");if(!Ht.cb&&!o0(Ht,Sr))return 0;if(a(Ht.cb),Sr.ac==null||Sr.ac(Sr)){Sr.ob&&(Ht.L=0);var Pr=C1[Ht.L];if(Ht.L==2?(Ht.yb=0,Ht.zb=0):(Ht.yb=Sr.v-Pr>>4,Ht.zb=Sr.j-Pr>>4,0>Ht.yb&&(Ht.yb=0),0>Ht.zb&&(Ht.zb=0)),Ht.Va=Sr.o+15+Pr>>4,Ht.Hb=Sr.va+15+Pr>>4,Ht.Hb>Ht.za&&(Ht.Hb=Ht.za),Ht.Va>Ht.Ub&&(Ht.Va=Ht.Ub),0Pr;++Pr){var Kr;if(Ht.Qa.Cb){var En=Ht.Qa.Lb[Pr];Ht.Qa.Fb||(En+=yn.Tb)}else En=yn.Tb;for(Kr=0;1>=Kr;++Kr){var xn=Ht.gd[Pr][Kr],Qn=En;if(yn.Pc&&(Qn+=yn.vd[0],Kr&&(Qn+=yn.od[0])),0<(Qn=0>Qn?0:63>2:Ln>>1)>9-yn.wb&&(Ln=9-yn.wb),1>Ln&&(Ln=1),xn.dd=Ln,xn.tc=2*Qn+Ln,xn.ld=40<=Qn?2:15<=Qn?1:0}else xn.tc=0;xn.La=Kr}}}Pr=0}else Hl(Ht,6,"Frame setup failed"),Pr=Ht.a;if(Pr=Pr==0){if(Pr){Ht.$c=0,0Ht.Vb){if(Ht.Vb=0,Ht.Ec=E(xn),Ht.Fc=0,Ht.Ec==null){Pr=Hl(Ht,1,"no memory during frame initialization.");break t}Ht.Vb=xn}xn=Ht.Ec,Qn=Ht.Fc,Ht.Ac=xn,Ht.Bc=Qn,Qn+=yn,Ht.Gd=q(ns,r1),Ht.Hd=0,Ht.rb=q(Qi+1,Ep),Ht.sb=1,Ht.wa=ca?q(ca,Ac):null,Ht.Y=0,Ht.D.Nb=0,Ht.D.wa=Ht.wa,Ht.D.Y=Ht.Y,0=Pr;++Pr)_g[255+Pr]=0>Pr?-Pr:Pr;for(Pr=-1020;1020>=Pr;++Pr)xg[1020+Pr]=-128>Pr?-128:127=Pr;++Pr)Bg[112+Pr]=-16>Pr?-16:15=Pr;++Pr)Cg[255+Pr]=0>Pr?0:255Wa;++Wa){var iu,to=eA[0+Wa];for(iu=0;4>iu;++iu){to=hm[$o[Bu+iu]][to];for(var Co=Dg[Bn(na,to[0])];0>3;for(Co=0;256>Co;Co+=16)Wa[Pu+Co]=yA}Cu=1,Pc=Bu[0]}var No=15&na.la,su=15&tA.la;for(Co=0;4>Co;++Co){var HA=1&su;for(yA=So=0;4>yA;++yA)No=No>>1|(HA=(Dl=Kp($o,Pc,Dl=HA+(1&No),_l.Sc,Cu,Wa,Pu))>Cu)<<7,So=So<<2|(3>=4,su=su>>1|HA<<7,iu=(iu<<8|So)>>>0}for(Pc=No,Cu=su>>4,xl=0;4>xl;xl+=2){for(So=0,No=na.la>>4+xl,su=tA.la>>4+xl,Co=0;2>Co;++Co){for(HA=1&su,yA=0;2>yA;++yA)Dl=HA+(1&No),No=No>>1|(HA=0<(Dl=Kp($o,Bu[2],Dl,_l.Qc,0,Wa,Pu)))<<3,So=So<<2|(3>=2,su=su>>1|HA<<5}to|=So<<4*xl,Pc|=No<<4<=Ji.zb&&Ji.M<=Ji.Va,Ji.Aa==0)t:{if(ha.M=Ji.M,ha.uc=na,hc(Ji,ha),Fl=1,ha=(So=Ji.D).Nb,na=(to=C1[Ji.L])*Ji.R,$o=to/2*Ji.B,Co=16*ha*Ji.R,yA=8*ha*Ji.B,Bu=Ji.sa,eA=Ji.ta-na+Co,_l=Ji.qa,Wa=Ji.ra-$o+yA,Pu=Ji.Ha,tA=Ji.Ia-$o+yA,su=(No=So.M)==0,iu=No>=Ji.Va-1,Ji.Aa==2&&hc(Ji,So),So.uc)for(HA=(Dl=Ji).D.M,a(Dl.D.uc),So=Dl.yb;Sooi.o&&(No=oi.o),oi.F=null,oi.J=null,Ji.Fa!=null&&0>1),oi.W+=Ji.B*(to>>1),oi.F!=null&&(oi.J+=oi.width*to)),So>1,oi.W+=oi.v>>1,oi.F!=null&&(oi.J+=oi.v),oi.ka=So-oi.j,oi.U=oi.va-oi.v,oi.T=No-So,Fl=oi.put(oi))}ha+1!=Ji.Ic||iu||(c(Ji.sa,Ji.ta-na,Bu,eA+16*Ji.R,na),c(Ji.qa,Ji.ra-$o,_l,Wa+8*Ji.B,$o),c(Ji.Ha,Ji.Ia-$o,Pu,tA+8*Ji.B,$o))}if(!Fl)return Hl(Qa,6,"Output aborted.")}return 1}(Ht,Sr)),Sr.bc!=null&&Sr.bc(Sr),Pr&=1}return Pr?(Ht.cb=0,Pr):0})(C,Le)||(G=C.a)}}else G=C.a}G==0&&st.Oa!=null&&st.Oa.fd&&(G=Mp(st.ba))}st=G}nt=st!=0?null:11>nt?gt.f.RGBA.eb:gt.f.kb.y}else nt=null;return nt};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function se(er,Nr){for(var At="",Rt=0;Rt<4;Rt++)At+=String.fromCharCode(er[Nr++]);return At}function Ce(er,Nr){return er[Nr+0]|er[Nr+1]<<8}function Ge(er,Nr){return(er[Nr+0]|er[Nr+1]<<8|er[Nr+2]<<16)>>>0}function et(er,Nr){return(er[Nr+0]|er[Nr+1]<<8|er[Nr+2]<<16|er[Nr+3]<<24)>>>0}new te;var xe=[0],Ft=[0],_t=[],kt=new te,ct=n,hr=function(er,Nr){var At={},Rt=0,dr=!1,lr=0,$r=0;if(At.frames=[],!function(ot,Xt){for(var tr=0;tr<4;tr++)if(ot[Xt+tr]!="RIFF".charCodeAt(tr))return!0;return!1}(er,Nr)){for(et(er,Nr+=4),Nr+=8;Nr>1&1}on!="ANMF"&&(Nr+=Gr)}return At}}(ct,0);hr.response=ct,hr.rgbaoutput=!0,hr.dataurl=!1;var rr=hr.header?hr.header:null,Jt=hr.frames?hr.frames:null;if(rr){rr.loop_counter=rr.loop_count,xe=[rr.canvas_height],Ft=[rr.canvas_width];for(var Zr=0;Zr=2?Ot[1]:wi[0],wi[2]=Ot.length>=3?Ot[2]:wi[0],wi[3]=Ot.length>=4?Ot[3]:wi[1]),se.margin=wi}});var un=!1;Object.defineProperty(this,"autoPaging",{get:function(){return un},set:function(Ot){un=Ot}});var fn=0;Object.defineProperty(this,"lastBreak",{get:function(){return fn},set:function(Ot){fn=Ot}});var Bn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Bn},set:function(Ot){Bn=Ot}}),Object.defineProperty(this,"ctx",{get:function(){return se},set:function(Ot){Ot instanceof Ce&&(se=Ot)}}),Object.defineProperty(this,"path",{get:function(){return se.path},set:function(Ot){se.path=Ot}});var zn=[];Object.defineProperty(this,"ctxStack",{get:function(){return zn},set:function(Ot){zn=Ot}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ot){var wi;wi=et(Ot),this.ctx.fillStyle=wi.style,this.ctx.isFillTransparent=wi.a===0,this.ctx.fillOpacity=wi.a,this.pdf.setFillColor(wi.r,wi.g,wi.b,{a:wi.a}),this.pdf.setTextColor(wi.r,wi.g,wi.b,{a:wi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ot){var wi=et(Ot);this.ctx.strokeStyle=wi.style,this.ctx.isStrokeTransparent=wi.a===0,this.ctx.strokeOpacity=wi.a,wi.a===0?this.pdf.setDrawColor(255,255,255):(wi.a,this.pdf.setDrawColor(wi.r,wi.g,wi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ot){["butt","round","square"].indexOf(Ot)!==-1&&(this.ctx.lineCap=Ot,this.pdf.setLineCap(Ot))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ot){isNaN(Ot)||(this.ctx.lineWidth=Ot,this.pdf.setLineWidth(Ot))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ot){["bevel","round","miter"].indexOf(Ot)!==-1&&(this.ctx.lineJoin=Ot,this.pdf.setLineJoin(Ot))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ot){isNaN(Ot)||(this.ctx.miterLimit=Ot,this.pdf.setMiterLimit(Ot))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ot){this.ctx.textBaseline=Ot}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ot){["right","end","center","left","start"].indexOf(Ot)!==-1&&(this.ctx.textAlign=Ot)}});var yi=null,pi=null,As=null;Object.defineProperty(this,"fontFaces",{get:function(){return As},set:function(Ot){yi=null,pi=null,As=Ot}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ot){var wi;if(this.ctx.font=Ot,(wi=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Ot))!==null){var ma=wi[1];wi[2];var Ms=wi[3],Un=wi[4];wi[5];var Us=wi[6],zi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Un)[2];Un=Math.floor(zi==="px"?parseFloat(Un)*this.pdf.internal.scaleFactor:zi==="em"?parseFloat(Un)*this.pdf.getFontSize():parseFloat(Un)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Un);var Cs=function(os){var Sl,$a,wa=[],ba=os.trim();if(ba==="")return U;if(ba in gA)return[gA[ba]];for(;ba!=="";){switch($a=null,Sl=(ba=ql(ba)).charAt(0)){case'"':case"'":$a=A(ba.substring(1),Sl);break;default:$a=e(ba)}if($a===null||(wa.push($a[0]),(ba=ql($a[1]))!==""&&ba.charAt(0)!==","))return U;ba=ba.replace(/^,/,"")}return wa}(Us);if(this.fontFaces){var ps=function(os,Sl){var $a=os.getFontList(),wa=JSON.stringify($a);if(yi===null||pi!==wa){var ba=function(sl){var ws=[];return Object.keys(sl).forEach(function(Go){sl[Go].forEach(function(zs){var ra=null;switch(zs){case"bold":ra={family:Go,weight:"bold"};break;case"italic":ra={family:Go,style:"italic"};break;case"bolditalic":ra={family:Go,weight:"bold",style:"italic"};break;case"":case"normal":ra={family:Go}}ra!==null&&(ra.ref={name:Go,style:zs},ws.push(ra))})}),ws}($a);yi=function(sl){for(var ws={},Go=0;Go=700||ma==="bold")&&(ta="bold"),ma==="italic"&&(ta+="italic"),ta.length===0&&(ta="normal");for(var Pa="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},es=0;es=2*Math.PI&&(mr=0,Tr=2*Math.PI),this.path.push({type:"arc",x:ot,y:Xt,radius:tr,startAngle:mr,endAngle:Tr,counterclockwise:jr})},Ge.prototype.arcTo=function(ot,Xt,tr,mr,Tr){throw new Error("arcTo not implemented.")},Ge.prototype.rect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ot,Xt),this.lineTo(ot+tr,Xt),this.lineTo(ot+tr,Xt+mr),this.lineTo(ot,Xt+mr),this.lineTo(ot,Xt),this.lineTo(ot+tr,Xt),this.lineTo(ot,Xt)},Ge.prototype.fillRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!xe.call(this)){var Tr={};this.lineCap!=="butt"&&(Tr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Tr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ot,Xt,tr,mr),this.fill(),Tr.hasOwnProperty("lineCap")&&(this.lineCap=Tr.lineCap),Tr.hasOwnProperty("lineJoin")&&(this.lineJoin=Tr.lineJoin)}},Ge.prototype.strokeRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(ot,Xt,tr,mr),this.stroke())},Ge.prototype.clearRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ot,Xt,tr,mr))},Ge.prototype.save=function(ot){ot=typeof ot!="boolean"||ot;for(var Xt=this.pdf.internal.getCurrentPageInfo().pageNumber,tr=0;tr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ge.prototype.drawImage=function(ot,Xt,tr,mr,Tr,jr,un,fn,Bn){var zn=this.pdf.getImageProperties(ot),yi=1,pi=1,As=1,Ot=1;mr!==void 0&&fn!==void 0&&(As=fn/mr,Ot=Bn/Tr,yi=zn.width/mr*fn/mr,pi=zn.height/Tr*Bn/Tr),jr===void 0&&(jr=Xt,un=tr,Xt=0,tr=0),mr!==void 0&&fn===void 0&&(fn=mr,Bn=Tr),mr===void 0&&fn===void 0&&(fn=zn.width,Bn=zn.height);var wi=this.ctx.transform.decompose(),ma=Gr(wi.rotate.shx),Ms=new te,Un=(Ms=(Ms=(Ms=Ms.multiply(wi.translate)).multiply(wi.skew)).multiply(wi.scale)).applyToRectangle(new V(jr-Xt*As,un-tr*Ot,mr*yi,Tr*pi));if(this.autoPaging){for(var Us,zi=kt.call(this,Un),Cs=[],ps=0;psvo||taUn||zi0)){for(;Bn>=0;Bn--)if(Tr[Bn-1].close!==!0&&Tr[Bn-1].begin!==!0){Tr[Bn-1].deltas.push(tr),Tr[Bn-1].abs.push(fn);break}}break;case"bct":tr=[fn.x1-jr[un-1].x,fn.y1-jr[un-1].y,fn.x2-jr[un-1].x,fn.y2-jr[un-1].y,fn.x-jr[un-1].x,fn.y-jr[un-1].y],Tr[Tr.length-1].deltas.push(tr);break;case"qct":var zn=jr[un-1].x+2/3*(fn.x1-jr[un-1].x),yi=jr[un-1].y+2/3*(fn.y1-jr[un-1].y),pi=fn.x+2/3*(fn.x1-fn.x),As=fn.y+2/3*(fn.y1-fn.y),Ot=fn.x,wi=fn.y;tr=[zn-jr[un-1].x,yi-jr[un-1].y,pi-jr[un-1].x,As-jr[un-1].y,Ot-jr[un-1].x,wi-jr[un-1].y],Tr[Tr.length-1].deltas.push(tr);break;case"arc":Tr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tr[Tr.length-1].abs)&&Tr[Tr.length-1].abs.push(fn)}}mr=Xt?null:ot==="stroke"?"stroke":"fill";for(var ma=!1,Ms=0;Ms=.01&&(mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(mr*ot.scale),Tr=this.lineWidth,this.lineWidth=Tr*ot.scale);var aa=this.autoPaging!=="text";if(aa||es.y+es.h<=ps){if(aa||es.y>=zi&&es.x<=ka){var os=aa?ot.text:this.pdf.splitTextToSize(ot.text,ot.maxWidth||ka-es.x)[0],Sl=hr([JSON.parse(JSON.stringify(pi))],this.posX+this.margin[3],-Pa+zi+this.ctx.prevPageLastElemOffset)[0],$a=aa&&(Us>Ms||Us=.01&&(this.pdf.setFontSize(mr),this.lineWidth=Tr)}}else ot.scale>=.01&&(mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(mr*ot.scale),Tr=this.lineWidth,this.lineWidth=Tr*ot.scale),this.pdf.text(ot.text,Bn.x+this.posX,Bn.y+this.posY,{angle:ot.angle,align:Xt,renderingMode:ot.renderingMode,maxWidth:ot.maxWidth}),ot.scale>=.01&&(this.pdf.setFontSize(mr),this.lineWidth=Tr)},dr=function(ot,Xt,tr,mr){tr=tr||0,mr=mr||0,this.pdf.internal.out(s(ot+tr)+" "+c(Xt+mr)+" l")},lr=function(ot,Xt,tr){return this.pdf.lines(ot,Xt,tr,null,null)},$r=function(ot,Xt,tr,mr,Tr,jr,un,fn){this.pdf.internal.out([a(p(tr+ot)),a(E(mr+Xt)),a(p(Tr+ot)),a(E(jr+Xt)),a(p(un+ot)),a(E(fn+Xt)),"c"].join(" "))},on=function(ot,Xt,tr,mr){for(var Tr=2*Math.PI,jr=Math.PI/2;Xt>tr;)Xt-=Tr;var un=Math.abs(tr-Xt);un1e-5;){var yi=zn+Bn*Math.min(un,jr);fn.push(An.call(this,ot,zn,yi)),un-=Math.abs(yi-zn),zn=yi}return fn},An=function(ot,Xt,tr){var mr=(tr-Xt)/2,Tr=ot*Math.cos(mr),jr=ot*Math.sin(mr),un=Tr,fn=-jr,Bn=un*un+fn*fn,zn=Bn+un*Tr+fn*jr,yi=4/3*(Math.sqrt(2*Bn*zn)-zn)/(un*jr-fn*Tr),pi=un-yi*fn,As=fn+yi*un,Ot=pi,wi=-As,ma=mr+Xt,Ms=Math.cos(ma),Un=Math.sin(ma);return{x1:ot*Math.cos(Xt),y1:ot*Math.sin(Xt),x2:pi*Ms-As*Un,y2:pi*Un+As*Ms,x3:Ot*Ms-wi*Un,y3:Ot*Un+wi*Ms,x4:ot*Math.cos(tr),y4:ot*Math.sin(tr)}},Gr=function(ot){return 180*ot/Math.PI},dn=function(ot,Xt,tr,mr,Tr,jr){var un=ot+.5*(tr-ot),fn=Xt+.5*(mr-Xt),Bn=Tr+.5*(tr-Tr),zn=jr+.5*(mr-jr),yi=Math.min(ot,Tr,un,Bn),pi=Math.max(ot,Tr,un,Bn),As=Math.min(Xt,jr,fn,zn),Ot=Math.max(Xt,jr,fn,zn);return new V(yi,As,pi-yi,Ot-As)},Wn=function(ot,Xt,tr,mr,Tr,jr,un,fn){var Bn,zn,yi,pi,As,Ot,wi,ma,Ms,Un,Us,zi,Cs,ps,vo=tr-ot,ka=mr-Xt,ta=Tr-tr,Pa=jr-mr,Ra=un-Tr,es=fn-jr;for(zn=0;zn<41;zn++)Ms=(wi=(yi=ot+(Bn=zn/40)*vo)+Bn*((As=tr+Bn*ta)-yi))+Bn*(As+Bn*(Tr+Bn*Ra-As)-wi),Un=(ma=(pi=Xt+Bn*ka)+Bn*((Ot=mr+Bn*Pa)-pi))+Bn*(Ot+Bn*(jr+Bn*es-Ot)-ma),zn==0?(Us=Ms,zi=Un,Cs=Ms,ps=Un):(Us=Math.min(Us,Ms),zi=Math.min(zi,Un),Cs=Math.max(Cs,Ms),ps=Math.max(ps,Un));return new V(Math.round(Us),Math.round(zi),Math.round(Cs-Us),Math.round(ps-zi))},Fn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ot,Xt,tr=(ot=this.ctx.lineDash,Xt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ot,lineDashOffset:Xt}));this.prevLineDash!==tr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=tr)}}})(Pi.API),function(n){var a=function(q){var V,te,se,Ce,Ge,et,xe,Ft,_t,kt;for(/[^\x00-\xFF]/.test(q),te=[],se=0,Ce=(q+=V="\0\0\0\0".slice(q.length%4||4)).length;Ce>se;se+=4)(Ge=(q.charCodeAt(se)<<24)+(q.charCodeAt(se+1)<<16)+(q.charCodeAt(se+2)<<8)+q.charCodeAt(se+3))!==0?(et=(Ge=((Ge=((Ge=((Ge=(Ge-(kt=Ge%85))/85)-(_t=Ge%85))/85)-(Ft=Ge%85))/85)-(xe=Ge%85))/85)%85,te.push(et+33,xe+33,Ft+33,_t+33,kt+33)):te.push(122);return function(ct,hr){for(var rr=hr;rr>0;rr--)ct.pop()}(te,V.length),String.fromCharCode.apply(String,te)+"~>"},s=function(q){var V,te,se,Ce,Ge,et=String,xe="length",Ft=255,_t="charCodeAt",kt="slice",ct="replace";for(q[kt](-2),q=q[kt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),se=[],Ce=0,Ge=(q+=V="uuuuu"[kt](q[xe]%5||5))[xe];Ge>Ce;Ce+=5)te=52200625*(q[_t](Ce)-33)+614125*(q[_t](Ce+1)-33)+7225*(q[_t](Ce+2)-33)+85*(q[_t](Ce+3)-33)+(q[_t](Ce+4)-33),se.push(Ft&te>>24,Ft&te>>16,Ft&te>>8,Ft&te);return function(hr,rr){for(var Jt=rr;Jt>0;Jt--)hr.pop()}(se,V[xe]),et.fromCharCode.apply(et,se)},c=function(q){return q.split("").map(function(V){return("0"+V.charCodeAt().toString(16)).slice(-2)}).join("")+">"},p=function(q){var V=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((q=q.replace(/\s/g,"")).indexOf(">")!==-1&&(q=q.substr(0,q.indexOf(">"))),q.length%2&&(q+="0"),V.test(q)===!1)return"";for(var te="",se=0;se_t&&(Ft=kt,kt=_t,_t=Ft);else{if(V!=="l"&&V!=="landscape")throw"Invalid orientation: "+V;V="l",_t>kt&&(Ft=kt,kt=_t,_t=Ft)}return{width:kt,height:_t,unit:te,k:Ge,orientation:V}},n.html=function(V,te){(te=te||{}).callback=te.callback||function(){},te.html2canvas=te.html2canvas||{},te.html2canvas.canvas=te.html2canvas.canvas||this.canvas,te.jsPDF=te.jsPDF||this,te.fontFaces=te.fontFaces?te.fontFaces.map(Uu):null;var se=new q(te);return te.worker?se:se.from(V).doCallback()}}(Pi.API),Pi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var p=s.outline.render().split(/\r\n/),E=0;E> endobj")}var xe=s.internal.newObject();for(s.internal.write("<< /Names [ "),E=0;E>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+xe+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,p,E){var q={title:p,options:E,children:[]};return c==null&&(c=this.root),c.children.push(q),q},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var p=0;p0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var p=this.ctx.pdf.internal.getVerticalCoordinateString,E=0;E0&&this.line("/Prev "+this.makeRef(c.children[E-1])),E0&&(this.line("/First "+this.makeRef(q.children[0])),this.line("/Last "+this.makeRef(q.children[q.children.length-1])));var V=this.count=this.count_r({count:0},q);if(V>0&&this.line("/Count "+V),q.options&&q.options.pageNumber){var te=s.internal.getPageInfo(q.options.pageNumber);this.line("/Dest ["+te.objId+" 0 R /XYZ 0 "+p(0)+" 0]")}this.objEnd()}for(var se=0;se>"}),"transparency"in Rt&&Array.isArray(Rt.transparency)&&Rt.transparency.length>0){for(var An="",Gr=0,dn=Rt.transparency.length;Gr>",_t.content=E;var rr=_t.objId+" 0 R";E="<>";else if(c.options.pageNumber)switch(E="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=1};var se=n.__arabicParser__.arabicLetterHasFinalForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length>=3};var Ce=n.__arabicParser__.arabicLetterHasMedialForm=function(_t){return q(_t)&&E(_t)&&a[_t.charCodeAt(0)].length==4},Ge=n.__arabicParser__.resolveLigatures=function(_t){var kt=0,ct=s,hr="",rr=0;for(kt=0;kt<_t.length;kt+=1)ct[_t.charCodeAt(kt)]!==void 0?(rr++,typeof(ct=ct[_t.charCodeAt(kt)])=="number"&&(hr+=String.fromCharCode(ct),ct=s,rr=0),kt===_t.length-1&&(ct=s,hr+=_t.charAt(kt-(rr-1)),kt-=rr-1,rr=0)):(ct=s,hr+=_t.charAt(kt-rr),kt-=rr,rr=0);return hr};n.__arabicParser__.isArabicDiacritic=function(_t){return _t!==void 0&&c[_t.charCodeAt(0)]!==void 0};var et=n.__arabicParser__.getCorrectForm=function(_t,kt,ct){return q(_t)?E(_t)===!1?-1:!se(_t)||!q(kt)&&!q(ct)||!q(ct)&&V(kt)||V(_t)&&!q(kt)||V(_t)&&te(kt)||V(_t)&&V(kt)?0:Ce(_t)&&q(kt)&&!V(kt)&&q(ct)&&se(ct)?3:V(_t)||!q(ct)?1:2:-1},xe=function(_t){var kt=0,ct=0,hr=0,rr="",Jt="",Zr="",wn=(_t=_t||"").split("\\s+"),ln=[];for(kt=0;kt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(V){s=V}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(V){c=isNaN(V)||Number.isInteger(V)===!1||V<0?150:V,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var p=300;Object.defineProperty(this,"height",{get:function(){return p},set:function(V){p=isNaN(V)||Number.isInteger(V)===!1||V<0?300:V,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=p+1)}});var E=[];Object.defineProperty(this,"childNodes",{get:function(){return E},set:function(V){E=V}});var q={};Object.defineProperty(this,"style",{get:function(){return q},set:function(V){q=V}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var p;if((s=s||"2d")!=="2d")return null;for(p in c)this.pdf.context2d.hasOwnProperty(p)&&(this.pdf.context2d[p]=c[p]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(Pi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),p.call(this))},p=function(){this.internal.__cell__.lastCell=new E,this.internal.__cell__.pages=1},E=function(){var te=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return te},set:function(_t){te=_t}});var se=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return se},set:function(_t){se=_t}});var Ce=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ce},set:function(_t){Ce=_t}});var Ge=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ge},set:function(_t){Ge=_t}});var et=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return et},set:function(_t){et=_t}});var xe=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return xe},set:function(_t){xe=_t}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(_t){Ft=_t}}),this};E.prototype.clone=function(){return new E(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},E.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(te){return c.call(this),this.internal.__cell__.headerFunction=typeof te=="function"?te:void 0,this},n.getTextDimensions=function(te,se){c.call(this);var Ce=(se=se||{}).fontSize||this.getFontSize(),Ge=se.font||this.getFont(),et=se.scaleFactor||this.internal.scaleFactor,xe=0,Ft=0,_t=0,kt=this;if(!Array.isArray(te)&&typeof te!="string"){if(typeof te!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");te=String(te)}var ct=se.maxWidth;ct>0?typeof te=="string"?te=this.splitTextToSize(te,ct):Object.prototype.toString.call(te)==="[object Array]"&&(te=te.reduce(function(rr,Jt){return rr.concat(kt.splitTextToSize(Jt,ct))},[])):te=Array.isArray(te)?te:[te];for(var hr=0;hrthis.getPageHeight()?(this.cellAddPage(),te.y=Ge.top,xe&&et&&(this.printHeaderRow(te.lineNumber,!0),te.y+=et[0].height)):te.y=se.y+se.height||te.y),te.text[0]!==void 0&&(this.rect(te.x,te.y,te.width,te.height,s===!0?"FD":void 0),te.align==="right"?this.text(te.text,te.x+te.width-Ce,te.y+Ce,{align:"right",baseline:"top"}):te.align==="center"?this.text(te.text,te.x+te.width/2,te.y+Ce,{align:"center",baseline:"top",maxWidth:te.width-Ce-Ce}):this.text(te.text,te.x+Ce,te.y+Ce,{align:"left",baseline:"top",maxWidth:te.width-Ce-Ce})),this.internal.__cell__.lastCell=te,this};n.table=function(te,se,Ce,Ge,et){if(c.call(this),!Ce)throw new Error("No data for PDF table.");var xe,Ft,_t,kt,ct=[],hr=[],rr=[],Jt={},Zr={},wn=[],ln=[],xr=(et=et||{}).autoSize||!1,er=et.printHeaders!==!1,Nr=et.css&&et.css["font-size"]!==void 0?16*et.css["font-size"]:et.fontSize||12,At=et.margins||Object.assign({width:this.getPageWidth()},a),Rt=typeof et.padding=="number"?et.padding:3,dr=et.headerBackgroundColor||"#c8c8c8",lr=et.headerTextColor||"#000";if(p.call(this),this.internal.__cell__.printHeaders=er,this.internal.__cell__.margins=At,this.internal.__cell__.table_font_size=Nr,this.internal.__cell__.padding=Rt,this.internal.__cell__.headerBackgroundColor=dr,this.internal.__cell__.headerTextColor=lr,this.setFontSize(Nr),Ge==null)hr=ct=Object.keys(Ce[0]),rr=ct.map(function(){return"left"});else if(Array.isArray(Ge)&&(0,_.Z)(Ge[0])==="object")for(ct=Ge.map(function(Wn){return Wn.name}),hr=Ge.map(function(Wn){return Wn.prompt||Wn.name||""}),rr=Ge.map(function(Wn){return Wn.align||"left"}),xe=0;xe0&&this.setTableHeaderRow(et),this.setFont(void 0,"normal"),s=!1}}(Pi.API);var hl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},NA=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],jl=Va(NA),Jl=[100,200,300,400,500,600,700,800,900],Lc=Va(Jl);function Uu(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(E){return hl[E=E||"normal"]?E:"normal"}(n.style),c=function(E){return E?typeof E=="number"?E>=100&&E<=900&&E%100==0?E:400:/^\d00$/.test(E)?parseInt(E):E==="bold"?700:400:400}(n.weight),p=function(E){return typeof jl[E=E||"normal"]=="number"?E:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:p,src:n.src||[],ref:n.ref||{name:a,style:[p,s,c].join(" ")}}}function qu(n,a,s,c){var p;for(p=s;p>=0&&p=0&&p>>1)&255}return p}function ze(n,a,s){var c=n.length,p=[];p[0]=4;for(var E=0;E>E&q}function or(n,a,s,c){var p=s*c,E=Math.floor(p/8),q=16-(p-8*E+c),V=(1<>8&255;se.setUint8(Ce,et)}})(n,E,wr(n,E)&~(V<>7,q=1<<1+(7&p);n[a++],n[a++];var V=null,te=null;E&&(V=a,te=q,a+=3*q);var se=!0,Ce=[],Ge=0,et=null,xe=0,Ft=null;for(this.width=s,this.height=c;se&&a=0))throw Error("Invalid block size");if(At===0)break;a+=At}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var _t=n[a++];Ge=n[a++]|n[a++]<<8,et=n[a++],1&_t||(et=null),xe=_t>>2&7,a++;break;case 254:for(;;){if(!((At=n[a++])>=0))throw Error("Invalid block size");if(At===0)break;a+=At}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var kt=n[a++]|n[a++]<<8,ct=n[a++]|n[a++]<<8,hr=n[a++]|n[a++]<<8,rr=n[a++]|n[a++]<<8,Jt=n[a++],Zr=Jt>>6&1,wn=1<<1+(7&Jt),ln=V,xr=te,er=!1;Jt>>7&&(er=!0,ln=a,xr=wn,a+=3*wn);var Nr=a;for(a++;;){var At;if(!((At=n[a++])>=0))throw Error("Invalid block size");if(At===0)break;a+=At}Ce.push({x:kt,y:ct,width:hr,height:rr,has_local_palette:er,palette_offset:ln,palette_size:xr,data_offset:Nr,data_length:a-Nr,transparent_index:et,interlaced:!!Zr,delay:Ge,disposal:xe});break;case 59:se=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return Ce.length},this.loopCount=function(){return Ft},this.frameInfo=function(Rt){if(Rt<0||Rt>=Ce.length)throw new Error("Frame index out of range.");return Ce[Rt]},this.decodeAndBlitFrameBGRA=function(Rt,dr){var lr=this.frameInfo(Rt),$r=lr.width*lr.height,on=new Uint8Array($r);_r(n,lr.data_offset,on,$r);var An=lr.palette_offset,Gr=lr.transparent_index;Gr===null&&(Gr=256);var dn=lr.width,Wn=s-dn,Fn=dn,ot=4*(lr.y*s+lr.x),Xt=4*((lr.y+lr.height)*s+lr.x),tr=ot,mr=4*Wn;lr.interlaced===!0&&(mr+=4*s*7);for(var Tr=8,jr=0,un=on.length;jr=Xt&&(mr=4*Wn+4*s*(Tr-1),tr=ot+(dn+Wn)*(Tr<<1),Tr>>=1)),fn===Gr)tr+=4;else{var Bn=n[An+3*fn],zn=n[An+3*fn+1],yi=n[An+3*fn+2];dr[tr++]=yi,dr[tr++]=zn,dr[tr++]=Bn,dr[tr++]=255}--Fn}},this.decodeAndBlitFrameRGBA=function(Rt,dr){var lr=this.frameInfo(Rt),$r=lr.width*lr.height,on=new Uint8Array($r);_r(n,lr.data_offset,on,$r);var An=lr.palette_offset,Gr=lr.transparent_index;Gr===null&&(Gr=256);var dn=lr.width,Wn=s-dn,Fn=dn,ot=4*(lr.y*s+lr.x),Xt=4*((lr.y+lr.height)*s+lr.x),tr=ot,mr=4*Wn;lr.interlaced===!0&&(mr+=4*s*7);for(var Tr=8,jr=0,un=on.length;jr=Xt&&(mr=4*Wn+4*s*(Tr-1),tr=ot+(dn+Wn)*(Tr<<1),Tr>>=1)),fn===Gr)tr+=4;else{var Bn=n[An+3*fn],zn=n[An+3*fn+1],yi=n[An+3*fn+2];dr[tr++]=Bn,dr[tr++]=zn,dr[tr++]=yi,dr[tr++]=255}--Fn}}}function _r(n,a,s,c){for(var p=n[a++],E=1<>=te,Ce-=te,kt!==E){if(kt===q)break;for(var ct=ktE;)rr=Ft[rr]>>8,++hr;var Jt=rr;if(et+hr+(ct!==kt?1:0)>c)return void Ga.log("Warning, gif stream longer than expected.");s[et++]=Jt;var Zr=et+=hr;for(ct!==kt&&(s[et++]=Jt),rr=ct;hr--;)rr=Ft[rr],s[--Zr]=255&rr,rr>>=8;_t!==null&&V<4096&&(Ft[V++]=_t<<8|Jt,V>=se+1&&te<12&&(++te,se=se<<1|1)),_t=kt}else V=q+1,se=(1<<(te=p+1))-1,_t=null}return et!==c&&Ga.log("Warning, gif stream shorter than expected."),s}function zr(n){var a,s,c,p,E,q=Math.floor,V=new Array(64),te=new Array(64),se=new Array(64),Ce=new Array(64),Ge=new Array(65535),et=new Array(65535),xe=new Array(64),Ft=new Array(64),_t=[],kt=0,ct=7,hr=new Array(64),rr=new Array(64),Jt=new Array(64),Zr=new Array(256),wn=new Array(2048),ln=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],xr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],Nr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],At=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],dr=[0,1,2,3,4,5,6,7,8,9,10,11],lr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],$r=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function on(ot,Xt){for(var tr=0,mr=0,Tr=new Array,jr=1;jr<=16;jr++){for(var un=1;un<=ot[jr];un++)Tr[Xt[mr]]=[],Tr[Xt[mr]][0]=tr,Tr[Xt[mr]][1]=jr,mr++,tr++;tr*=2}return Tr}function An(ot){for(var Xt=ot[0],tr=ot[1]-1;tr>=0;)Xt&1<>8&255),Gr(255&ot)}function Wn(ot,Xt,tr,mr,Tr){for(var jr,un=Tr[0],fn=Tr[240],Bn=function(Un,Us){var zi,Cs,ps,vo,ka,ta,Pa,Ra,es,aa,os=0;for(es=0;es<8;++es){zi=Un[os],Cs=Un[os+1],ps=Un[os+2],vo=Un[os+3],ka=Un[os+4],ta=Un[os+5],Pa=Un[os+6];var Sl=zi+(Ra=Un[os+7]),$a=zi-Ra,wa=Cs+Pa,ba=Cs-Pa,sl=ps+ta,ws=ps-ta,Go=vo+ka,zs=vo-ka,ra=Sl+Go,al=Sl-Go,Ca=wa+sl,Ps=wa-sl;Un[os]=ra+Ca,Un[os+4]=ra-Ca;var yo=.707106781*(Ps+al);Un[os+2]=al+yo,Un[os+6]=al-yo;var Gf=.382683433*((ra=zs+ws)-(Ps=ba+$a)),Nu=.5411961*ra+Gf,j0=1.306562965*Ps+Gf,n0=.707106781*(Ca=ws+ba),Qs=$a+n0,H0=$a-n0;Un[os+5]=H0+Nu,Un[os+3]=H0-Nu,Un[os+1]=Qs+j0,Un[os+7]=Qs-j0,os+=8}for(os=0,es=0;es<8;++es){zi=Un[os],Cs=Un[os+8],ps=Un[os+16],vo=Un[os+24],ka=Un[os+32],ta=Un[os+40],Pa=Un[os+48];var z0=zi+(Ra=Un[os+56]),oc=zi-Ra,lc=Cs+Pa,El=Cs-Pa,fu=ps+ta,Eu=ps-ta,Vf=vo+ka,Hh=vo-ka,kc=z0+Vf,i0=z0-Vf,Rc=lc+fu,Oc=lc-fu;Un[os]=kc+Rc,Un[os+32]=kc-Rc;var uc=.707106781*(Oc+i0);Un[os+16]=i0+uc,Un[os+48]=i0-uc;var Wf=.382683433*((kc=Hh+Eu)-(Oc=El+oc)),s0=.5411961*kc+Wf,Zf=1.306562965*Oc+Wf,Qd=.707106781*(Rc=Eu+El),jd=oc+Qd,Hd=oc-Qd;Un[os+40]=Hd+s0,Un[os+24]=Hd-s0,Un[os+8]=jd+Zf,Un[os+56]=jd-Zf,os++}for(es=0;es<64;++es)aa=Un[es]*Us[es],xe[es]=aa>0?aa+.5|0:aa-.5|0;return xe}(ot,Xt),zn=0;zn<64;++zn)Ft[ln[zn]]=Bn[zn];var yi=Ft[0]-tr;tr=Ft[0],yi==0?An(mr[0]):(An(mr[et[jr=32767+yi]]),An(Ge[jr]));for(var pi=63;pi>0&&Ft[pi]==0;)pi--;if(pi==0)return An(un),tr;for(var As,Ot=1;Ot<=pi;){for(var wi=Ot;Ft[Ot]==0&&Ot<=pi;)++Ot;var ma=Ot-wi;if(ma>=16){As=ma>>4;for(var Ms=1;Ms<=As;++Ms)An(fn);ma&=15}jr=32767+Ft[Ot],An(Tr[(ma<<4)+et[jr]]),An(Ge[jr]),Ot++}return pi!=63&&An(un),tr}function Fn(ot){ot=Math.min(Math.max(ot,1),100),E!=ot&&(function(Xt){for(var tr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Tr=q((tr[mr]*Xt+50)/100);Tr=Math.min(Math.max(Tr,1),255),V[ln[mr]]=Tr}for(var jr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],un=0;un<64;un++){var fn=q((jr[un]*Xt+50)/100);fn=Math.min(Math.max(fn,1),255),te[ln[un]]=fn}for(var Bn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],zn=0,yi=0;yi<8;yi++)for(var pi=0;pi<8;pi++)se[zn]=1/(V[ln[zn]]*Bn[yi]*Bn[pi]*8),Ce[zn]=1/(te[ln[zn]]*Bn[yi]*Bn[pi]*8),zn++}(ot<50?Math.floor(5e3/ot):Math.floor(200-2*ot)),E=ot)}this.encode=function(ot,Xt){Xt&&Fn(Xt),_t=new Array,kt=0,ct=7,dn(65496),dn(65504),dn(16),Gr(74),Gr(70),Gr(73),Gr(70),Gr(0),Gr(1),Gr(1),Gr(0),dn(1),dn(1),Gr(0),Gr(0),function(){dn(65499),dn(132),Gr(0);for(var Cs=0;Cs<64;Cs++)Gr(V[Cs]);Gr(1);for(var ps=0;ps<64;ps++)Gr(te[ps])}(),function(Cs,ps){dn(65472),dn(17),Gr(8),dn(ps),dn(Cs),Gr(3),Gr(1),Gr(17),Gr(0),Gr(2),Gr(17),Gr(1),Gr(3),Gr(17),Gr(1)}(ot.width,ot.height),function(){dn(65476),dn(418),Gr(0);for(var Cs=0;Cs<16;Cs++)Gr(xr[Cs+1]);for(var ps=0;ps<=11;ps++)Gr(er[ps]);Gr(16);for(var vo=0;vo<16;vo++)Gr(Nr[vo+1]);for(var ka=0;ka<=161;ka++)Gr(At[ka]);Gr(1);for(var ta=0;ta<16;ta++)Gr(Rt[ta+1]);for(var Pa=0;Pa<=11;Pa++)Gr(dr[Pa]);Gr(17);for(var Ra=0;Ra<16;Ra++)Gr(lr[Ra+1]);for(var es=0;es<=161;es++)Gr($r[es])}(),dn(65498),dn(12),Gr(3),Gr(1),Gr(0),Gr(2),Gr(17),Gr(3),Gr(17),Gr(0),Gr(63),Gr(0);var tr=0,mr=0,Tr=0;kt=0,ct=7,this.encode.displayName="_encode_";for(var jr,un,fn,Bn,zn,yi,pi,As,Ot,wi=ot.data,ma=ot.width,Ms=ot.height,Un=4*ma,Us=0;Us>3)*Un+(pi=4*(7&Ot)),Us+As>=Ms&&(yi-=Un*(Us+1+As-Ms)),jr+pi>=Un&&(yi-=jr+pi-Un+4),un=wi[yi++],fn=wi[yi++],Bn=wi[yi++],hr[Ot]=(wn[un]+wn[fn+256|0]+wn[Bn+512|0]>>16)-128,rr[Ot]=(wn[un+768|0]+wn[fn+1024|0]+wn[Bn+1280|0]>>16)-128,Jt[Ot]=(wn[un+1280|0]+wn[fn+1536|0]+wn[Bn+1792|0]>>16)-128;tr=Wn(hr,se,tr,a,c),mr=Wn(rr,Ce,mr,s,p),Tr=Wn(Jt,Ce,Tr,s,p),jr+=32}Us+=8}if(ct>=0){var zi=[];zi[1]=ct+1,zi[0]=(1<Rt;Rt++)if(er[Nr+Rt]!=At.charCodeAt(Rt))return!0;return!1}function c(er,Nr,At,Rt,dr){for(var lr=0;lrlr+1?[]:new Nr),!($r.length>>0;C&me;)me>>>=1;return me?(C&me-1)+me:C}function At(C,G,me,Le,Xe){a(!(Le%me));do C[G+(Le-=me)]=Xe;while(0=Xe),512>=Xe)var nt=E(512);else if((nt=E(Xe))==null)return 0;return function(st,gt,Et,jt,br,Wr){var Ht,Sr,Pr=gt,yn=1<Ht;++Ht){if(Kr[Ht]>1<(ca-=Kr[Ht]))return 0;for(;0=Ht;++Ht,br<<=1){if(Qi+=ca<<=1,0>(ca-=Kr[Ht]))return 0;for(;0Qn&&!(0>=(xn-=Kr[Qn]));)++Qn,xn<<=1;yn+=Xi=1<<(xn=Qn-Et),st[gt+(Qn=ns&Ln)].g=xn+Et,st[gt+Qn].value=Pr-gt-Qn}jt.g=Ht-Et,jt.value=Wr[Sr++],At(st,Pr+(ns>>Et),br,Xi,jt),ns=Nr(ns,Ht)}}return Qi!=2*En[15]-1?0:yn}(C,G,me,Le,Xe,nt)}function dr(){this.value=this.g=0}function lr(){this.value=this.g=0}function $r(){this.G=q(5,dr),this.H=E(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=q(sd,lr)}function on(C,G,me,Le){a(C!=null),a(G!=null),a(2147483648>Le),C.Ca=254,C.I=0,C.b=-8,C.Ka=0,C.oa=G,C.pa=me,C.Jd=G,C.Yc=me+Le,C.Zc=4<=Le?me+Le-4+1:me,un(C)}function An(C,G){for(var me=0;0Le),C.Sb=Le,C.Ra=0,C.u=0,C.h=0,4>>=8,C.Ra+=C.oa[C.pa+C.bb]<>>0,++C.bb,C.u-=8;mr(C)&&(C.h=1,C.u=0)}function Fn(C,G){if(a(0<=G),!C.h&&G<=QA){var me=tr(C)&PA[G];return C.u+=G,Wn(C),me}return C.h=1,C.u=0}function ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Xt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function tr(C){return C.Ra>>>(C.u&Vh-1)>>>0}function mr(C){return a(C.bb<=C.Sb),C.h||C.bb==C.Sb&&C.u>Vh}function Tr(C,G){C.u=G,C.h=mr(C)}function jr(C){C.u>=eh&&(a(C.u>=eh),Wn(C))}function un(C){a(C!=null&&C.oa!=null),C.pa>>0,C.b+=8):(a(C!=null&&C.oa!=null),C.paC.b&&un(C);var Le=C.b,Xe=me*G>>>8,nt=(C.I>>>Le>Xe)+0;for(nt?(me-=Xe,C.I-=Xe+1<>>0):me=Xe+1,Le=me,Xe=0;256<=Le;)Xe+=8,Le>>=8;return Le=7^Xe+Wh[Le],C.b-=Le,C.Ca=(me<>24&255,C[G+1]=me>>16&255,C[G+2]=me>>8&255,C[G+3]=255&me}function yi(C,G){return C[G+0]|C[G+1]<<8}function pi(C,G){return yi(C,G)|C[G+2]<<16}function As(C,G){return yi(C,G)|yi(C,G+2)<<16}function Ot(C,G){var me=1<=Xe||0>=nt?0:(me[0]=Xe,Le[0]=nt,1)}function Un(C,G){return C+(1<>>G}function Us(C,G){return((4278255360&C)+(4278255360&G)>>>0&4278255360)+((16711935&C)+(16711935&G)>>>0&16711935)>>>0}function zi(C,G){er[G]=function(me,Le,Xe,nt,st,gt,Et){var jt;for(jt=0;jt>>1)+(C&G)>>>0}function vo(C){return 0<=C&&256>C?C:0>C?0:255>1))}function ta(C,G,me){return Math.abs(G-me)-Math.abs(C-me)}function Pa(C,G,me,Le,Xe,nt,st){for(Le=nt[st-1],me=0;me>8&255,Et=16711935&(Et=(Et=16711935&st)+((gt<<16)+gt));Le[Xe+nt]=(4278255360&st)+Et>>>0}}function es(C,G){G.jd=255&C,G.hd=C>>8&255,G.ud=C>>16&255}function aa(C,G,me,Le,Xe,nt){var st;for(st=0;st>>8,jt=gt,br=255&(br=(br=gt>>>16)+((C.jd<<24>>24)*(Et<<24>>24)>>>5));jt=255&(jt=(jt+=(C.hd<<24>>24)*(Et<<24>>24)>>>5)+((C.ud<<24>>24)*(br<<24>>24)>>>5)),Xe[nt+st]=(4278255360>)+(br<<16)+jt}}function os(C,G,me,Le,Xe){er[G]=function(nt,st,gt,Et,jt,br,Wr,Ht,Sr){for(Et=Wr;Et>nt.b,Sr=nt.Ea,Pr=nt.K[0],yn=nt.w;if(8>Ht)for(nt=(1<>=Ht}else er["VP8LMapColor"+me](Et,jt,Pr,yn,br,Wr,st,gt,Sr)}}function Sl(C,G,me,Le,Xe){for(me=G+me;G>16&255,Le[Xe++]=nt>>8&255,Le[Xe++]=255&nt}}function $a(C,G,me,Le,Xe){for(me=G+me;G>16&255,Le[Xe++]=nt>>8&255,Le[Xe++]=255&nt,Le[Xe++]=nt>>24&255}}function wa(C,G,me,Le,Xe){for(me=G+me;G>16&240|st>>12&15,st=240&st|st>>28&15;Le[Xe++]=nt,Le[Xe++]=st}}function ba(C,G,me,Le,Xe){for(me=G+me;G>16&248|st>>13&7,st=st>>5&224|st>>3&31;Le[Xe++]=nt,Le[Xe++]=st}}function sl(C,G,me,Le,Xe){for(me=G+me;G>8&255,Le[Xe++]=nt>>16&255}}function ws(C,G,me,Le,Xe,nt){if(nt==0)for(me=G+me;G>24|nt[1]>>8&65280|nt[2]<<8&16711680|nt[3]<<24)>>>0),Xe+=32;else c(Le,Xe,C,G,me)}function Go(C,G){er[G][0]=er[C+"0"],er[G][1]=er[C+"1"],er[G][2]=er[C+"2"],er[G][3]=er[C+"3"],er[G][4]=er[C+"4"],er[G][5]=er[C+"5"],er[G][6]=er[C+"6"],er[G][7]=er[C+"7"],er[G][8]=er[C+"8"],er[G][9]=er[C+"9"],er[G][10]=er[C+"10"],er[G][11]=er[C+"11"],er[G][12]=er[C+"12"],er[G][13]=er[C+"13"],er[G][14]=er[C+"0"],er[G][15]=er[C+"0"]}function zs(C){return C==q1||C==$1||C==_1||C==eg}function ra(){this.eb=[],this.size=this.A=this.fb=0}function al(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Ca(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ra,this.f.kb=new al,this.sd=null}function Ps(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function yo(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(C){return alert("todo:WebPSamplerProcessPlane"),C.T}function Nu(C,G){var me=C.T,Le=G.ba.f.RGBA,Xe=Le.eb,nt=Le.fb+C.ka*Le.A,st=pc[G.ba.S],gt=C.y,Et=C.O,jt=C.f,br=C.N,Wr=C.ea,Ht=C.W,Sr=G.cc,Pr=G.dc,yn=G.Mc,Kr=G.Nc,En=C.ka,xn=C.ka+C.T,Qn=C.U,Ln=Qn+1>>1;for(En==0?st(gt,Et,null,null,jt,br,Wr,Ht,jt,br,Wr,Ht,Xe,nt,null,null,Qn):(st(G.ec,G.fc,gt,Et,Sr,Pr,yn,Kr,jt,br,Wr,Ht,Xe,nt-Le.A,Xe,nt,Qn),++me);En+2me,Xe=me==w1||me==b1||me==E1||me==J1||me==12||zs(me);if(G.memory=null,G.Ib=null,G.Jb=null,G.Nd=null,!Op(G.Oa,C,Xe?11:12))return 0;if(Xe&&zs(me)&&Lp(),C.da)alert("todo:use_scaling");else{if(Le){if(G.Ib=Gf,C.Kb){if(me=C.U+1>>1,G.memory=E(C.U+2*me),G.memory==null)return 0;G.ec=G.memory,G.fc=0,G.cc=G.ec,G.dc=G.fc+C.U,G.Mc=G.cc,G.Nc=G.dc+me,G.Ib=Nu,Lp()}}else alert("todo:EmitYUV");Xe&&(G.Jb=j0,Le&&Uc())}if(Le&&!Ng){for(C=0;256>C;++C)wm[C]=89858*(C-128)+B1>>x1,_m[C]=-22014*(C-128)+B1,Em[C]=-45773*(C-128),bm[C]=113618*(C-128)+B1>>x1;for(C=Gp;C>x1,xm[C-Gp]=a0(G,255),Bm[C-Gp]=a0(G+8>>4,15);Ng=1}return 1}function Qs(C){var G=C.ma,me=C.U,Le=C.T;return a(!(1&C.ka)),0>=me||0>=Le?0:(me=G.Ib(C,G),G.Jb!=null&&G.Jb(C,G,me),G.Dc+=me,1)}function H0(C){C.ma.memory=null}function z0(C,G,me,Le){return Fn(C,8)!=47?0:(G[0]=Fn(C,14)+1,me[0]=Fn(C,14)+1,Le[0]=Fn(C,1),Fn(C,3)!=0?0:!C.h)}function oc(C,G){if(4>C)return C+1;var me=C-2>>1;return(2+(1&C)<>4)*C+(8-(15&me)))?me:1;var me}function El(C,G,me){var Le=tr(me),Xe=C[G+=255&Le].g-8;return 0>>0,a(8>=me.g),C.g}function Eu(C,G,me){var Le=C.xc;return a((G=Le==0?0:C.vc[C.md*(me>>Le)+(G>>Le)])>Xi.b)*Qi;ynQn&&(Ji=Qn),(0,Pp[Qa[nu++]>>8&15])(Ht,Sr+ +ha,En,xn+ha-Qn,Ji-ha,En,xn+ha),ha=Ji}Sr+=Qn,xn+=Qn,++yn&ns||(Xi+=Qi)}Wr!=jt.nc&&c(Et,gt-Pr,Et,gt+(Wr-br-1)*Pr,Pr);break;case 1:for(Pr=Ht,Kr=Sr,Qn=(Ht=jt.Ea)-(xn=Ht&~(En=(Sr=1<>jt.b)*yn;br=Xe),0nt.o&&(Le=nt.o),me=Le?me=0:(Xe[0]+=4*nt.v,nt.ka=me-nt.j,nt.U=nt.va-nt.v,nt.T=Le-me,me=1),me){if(gt=gt[0],11>(me=C.ca).S){var br=me.f.RGBA,Wr=(Le=me.S,Xe=nt.U,nt=nt.T,jt=br.eb,br.A),Ht=nt;for(br=br.fb+C.Ma*br.A;0Le){var Xe=C.l.width,nt=me.ca,st=me.tb+Xe*Le,gt=C.V,Et=C.Ba+C.c*Le,jt=C.gc;a(C.ab==1),a(jt[0].hc==3),A0(jt[0],Le,G,gt,Et,nt,st),i0(me,Le,G,nt,st,Xe)}C.C=C.Ma=G}function Oc(C,G,me,Le,Xe,nt,st){var gt=C.$/Le,Et=C.$%Le,jt=C.m,br=C.s,Wr=me+C.$,Ht=Wr;Xe=me+Le*Xe;var Sr=me+Le*nt,Pr=280+br.ua,yn=C.Pb?gt:16777216,Kr=0=yn){var ns=Wr-me;a((yn=C).Pb),yn.wd=yn.m,yn.xd=ns,0ca.g?(Tr(Ln,Ln.u+ca.g),ns[Qi]=ca.value,Ln=0):(Tr(Ln,Ln.u+ca.g-256),a(256<=ca.value),Ln=ca.value),Ln==0&&(Qn=!0)}else Ln=El(xn.G[0],xn.H[0],jt);if(jt.h)break;if(Qn||256>Ln){if(!Qn)if(xn.nd)G[Wr]=(xn.qb|Ln<<8)>>>0;else{if(jr(jt),Qn=El(xn.G[1],xn.H[1],jt),jr(jt),ns=El(xn.G[2],xn.H[2],jt),Qi=El(xn.G[3],xn.H[3],jt),jt.h)break;G[Wr]=(Qi<<24|Qn<<16|Ln<<8|ns)>>>0}if(Qn=!1,++Wr,++Et>=Le&&(Et=0,++gt,st!=null&><=nt&&!(gt%16)&&st(C,gt),Kr!=null))for(;Ht>>Kr.Mb]=Ln}else if(280>Ln){if(Ln=oc(Ln-256,jt),ns=El(xn.G[4],xn.H[4],jt),jr(jt),ns=lc(Le,ns=oc(ns,jt)),jt.h)break;if(Wr-me=Le;)Et-=Le,++gt,st!=null&><=nt&&!(gt%16)&&st(C,gt);if(a(Wr<=Xe),Et&En&&(xn=Eu(br,Et,gt)),Kr!=null)for(;Ht>>Kr.Mb]=Ln}else{if(!(Ln>>Kr.Mb]=Ln;Ln=Wr,a(!(Qn>>>(ns=Kr).Xa)),G[Ln]=ns.X[Qn],Qn=!0}Qn||a(jt.h==mr(jt))}if(C.Pb&&jt.h&&Wrnt?nt:gt),C.a=0,C.$=Wr-me}return 1}return C.a=3,0}function uc(C){a(C!=null),C.vc=null,C.yc=null,C.Ya=null;var G=C.Wa;G!=null&&(G.X=null),C.vb=null,a(C!=null)}function Wf(){var C=new Zs;return C==null?null:(C.a=0,C.xb=Lg,Go("Predictor","VP8LPredictors"),Go("Predictor","VP8LPredictors_C"),Go("PredictorAdd","VP8LPredictorsAdd"),Go("PredictorAdd","VP8LPredictorsAdd_C"),Il=Ra,Qp=aa,jp=Sl,Zh=$a,Yh=wa,Xh=ba,ad=sl,er.VP8LMapColor32b=u0,er.VP8LMapColor8b=Np,C)}function s0(C,G,me,Le,Xe){var nt=1,st=[C],gt=[G],Et=Le.m,jt=Le.s,br=null,Wr=0;e:for(;;){if(me)for(;nt&&Fn(Et,1);){var Ht=st,Sr=gt,Pr=Le,yn=1,Kr=Pr.m,En=Pr.gc[Pr.ab],xn=Fn(Kr,2);if(Pr.Oc&1<=Pr.ab),xn){case 0:case 1:En.b=Fn(Kr,3)+2,yn=s0(Un(En.Ea,En.b),Un(En.nc,En.b),0,Pr,En.K),En.K=En.K[0];break;case 3:var Qn,Ln=Fn(Kr,8)+1,ns=16>Xi.b),nu=E(Qa);if(nu==null)Qn=0;else{var ha=Xi.K[0],Ji=Xi.w;for(nu[0]=Xi.K[0][0],Qi=1;Qi<1*ca;++Qi)nu[Qi]=Us(ha[Ji+Qi],nu[Qi-1]);for(;Qi<4*Qa;++Qi)nu[Qi]=0;Xi.K[0]=null,Xi.K[0]=nu,Qn=1}}yn=Qn;break;case 2:break;default:a(0)}nt=yn}}if(st=st[0],gt=gt[0],nt&&Fn(Et,1)&&!(nt=1<=(Wr=Fn(Et,4))&&11>=Wr)){Le.a=3;break e}var oi;if(oi=nt)t:{var Fl,na,Wa,$o=Le,Bu=st,eA=gt,_l=Wr,Pu=me,tA=$o.m,iu=$o.s,to=[null],Co=1,xl=0,So=om[_l];r:for(;;){if(Pu&&Fn(tA,1)){var Cu=Fn(tA,3)+2,Pc=Un(Bu,Cu),Dl=Un(eA,Cu),yA=Pc*Dl;if(!s0(Pc,Dl,0,$o,to))break r;for(to=to[0],iu.xc=Cu,Fl=0;Fl>8&65535;to[Fl]=No,No>=Co&&(Co=No+1)}}if(tA.h)break r;for(na=0;5>na;++na){var su=Fg[na];!na&&0<_l&&(su+=1<<_l),xl=rA),KA=zA;var wA=E(xl);if(KA==null||wA==null||HA==null){$o.a=1;break r}var GA=HA;for(Fl=Wa=0;Flna;++na){su=Fg[na],VA[na]=GA,Qc[na]=Wa,!na&&0<_l&&(su+=1<<_l);i:{var S1,ig=su,I1=$o,Vp=wA,Im=GA,Tm=Wa,sg=0,ef=I1.m,Fm=Fn(ef,1);if(p(Vp,0,0,ig),Fm){var Dm=Fn(ef,1)+1,Lm=Fn(ef,1),jg=Fn(ef,Lm==0?1:8);Vp[jg]=1,Dm==2&&(Vp[jg=Fn(ef,8)]=1);var T1=1}else{var Hg=E(19),zg=Fn(ef,4)+4;if(19D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Om=qd==16,Yg=qd-16,Mm=nm[Yg],Xg=Fn(tf,rm[Yg])+Mm;if(Wp+Xg>D1)break n;for(var Um=Om?Vg:0;0=na){var Zp,lg=wA[0];for(Zp=1;Zplg&&(lg=wA[Zp]);Su+=lg}}if(Wo.nd=nh,Wo.Qb=0,nh&&(Wo.qb=(VA[3][Qc[3]+0].value<<24|VA[1][Qc[1]+0].value<<16|VA[2][Qc[2]+0].value)>>>0,ld==0&&256>VA[0][Qc[0]+0].value&&(Wo.Qb=1,Wo.qb+=VA[0][Qc[0]+0].value<<8)),Wo.jc=!Wo.Qb&&6>Su,Wo.jc){var L1,ih=Wo;for(L1=0;L1>=fu(k1,8,nf),rf>>=fu(ih.G[1][ih.H[1]+rf],16,nf),rf>>=fu(ih.G[2][ih.H[2]+rf],0,nf),fu(ih.G[3][ih.H[3]+rf],24,nf))}}}iu.vc=to,iu.Wb=Co,iu.Ya=KA,iu.yc=HA,oi=1;break t}oi=0}if(!(nt=oi)){Le.a=3;break e}if(0Le+1?[]:0),!(Xe.lengthC?0:C>G?G:C}function zd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function O1(){var C=new n1;return C!=null&&(C.a=0,C.sc="OK",C.cb=0,C.Xb=0,Kp||(Kp=Kd)),C}function Hl(C,G,me){return C.a==0&&(C.a=G,C.sc=me,C.cb=0),0}function i1(C,G,me){return 3<=me&&C[G+0]==157&&C[G+1]==1&&C[G+2]==42}function o0(C,G){if(C==null)return 0;if(C.a=0,C.sc="OK",G==null)return Hl(C,2,"null VP8Io passed to VP8GetHeaders()");var me=G.data,Le=G.w,Xe=G.ha;if(4>Xe)return Hl(C,7,"Truncated header.");var nt=me[Le+0]|me[Le+1]<<8|me[Le+2]<<16,st=C.Od;if(st.Rb=!(1&nt),st.td=nt>>1&7,st.yd=nt>>4&1,st.ub=nt>>5,3Xe)return Hl(C,7,"cannot parse picture header");if(!i1(me,Le,Xe))return Hl(C,3,"Bad code word");gt.c=16383&(me[Le+4]<<8|me[Le+3]),gt.Td=me[Le+4]>>6,gt.i=16383&(me[Le+6]<<8|me[Le+5]),gt.Ud=me[Le+6]>>6,Le+=7,Xe-=7,C.za=gt.c+15>>4,C.Ub=gt.i+15>>4,G.width=gt.c,G.height=gt.i,G.Da=0,G.j=0,G.v=0,G.va=G.width,G.o=G.height,G.da=0,G.ib=G.width,G.hb=G.height,G.U=G.width,G.T=G.height,p((nt=C.Pa).jb,0,255,nt.jb.length),a((nt=C.Qa)!=null),nt.Cb=0,nt.Bb=0,nt.Fb=1,p(nt.Zb,0,0,nt.Zb.length),p(nt.Lb,0,0,nt.Lb)}if(st.ub>Xe)return Hl(C,7,"bad partition length");on(nt=C.m,me,Le,st.ub),Le+=st.ub,Xe-=st.ub,st.Rb&&(gt.Ld=fn(nt),gt.Kd=fn(nt)),gt=C.Qa;var Et,jt=C.Pa;if(a(nt!=null),a(gt!=null),gt.Cb=fn(nt),gt.Cb){if(gt.Bb=fn(nt),fn(nt)){for(gt.Fb=fn(nt),Et=0;4>Et;++Et)gt.Zb[Et]=fn(nt)?Gr(nt,7):0;for(Et=0;4>Et;++Et)gt.Lb[Et]=fn(nt)?Gr(nt,6):0}if(gt.Bb)for(Et=0;3>Et;++Et)jt.jb[Et]=fn(nt)?An(nt,8):255}else gt.Bb=0;if(nt.Ka)return Hl(C,3,"cannot parse segment header");if((gt=C.ed).zd=fn(nt),gt.Tb=An(nt,6),gt.wb=An(nt,3),gt.Pc=fn(nt),gt.Pc&&fn(nt)){for(jt=0;4>jt;++jt)fn(nt)&&(gt.vd[jt]=Gr(nt,6));for(jt=0;4>jt;++jt)fn(nt)&&(gt.od[jt]=Gr(nt,6))}if(C.L=gt.Tb==0?0:gt.zd?1:2,nt.Ka)return Hl(C,3,"cannot parse filter header");var br=Xe;if(Xe=Et=Le,Le=Et+br,gt=br,C.Xb=(1<gt&&(Wr=gt),on(C.Jc[+br],me,Et,Wr),Et+=Wr,gt-=Wr,Xe+=3}on(C.Jc[+jt],me,Et,gt),me=EtWr;++Wr){if(br.Cb){var Ht=br.Zb[Wr];br.Fb||(Ht+=me)}else{if(0>16,8>Sr.Eb[1]&&(Sr.Eb[1]=8),Sr.Qc[0]=tg[a0(Ht+jt,117)],Sr.Qc[1]=rg[a0(Ht+Et,127)],Sr.lc=Ht+Et}if(!st.Rb)return Hl(C,4,"Not a key frame.");for(fn(nt),st=C.Pa,me=0;4>me;++me){for(Xe=0;8>Xe;++Xe)for(Le=0;3>Le;++Le)for(gt=0;11>gt;++gt)jt=Bn(nt,fm[me][Xe][Le][gt])?An(nt,8):cm[me][Xe][Le][gt],st.Wc[me][Xe].Yb[Le][gt]=jt;for(Xe=0;17>Xe;++Xe)st.Xc[me][Xe]=st.Wc[me][dm[Xe]]}return C.kc=fn(nt),C.kc&&(C.Bd=An(nt,8)),C.cb=1}function Kd(C,G,me,Le,Xe,nt,st){var gt=G[Xe].Yb[me];for(me=0;16>Xe;++Xe){if(!Bn(C,gt[me+0]))return Xe;for(;!Bn(C,gt[me+1]);)if(gt=G[++Xe].Yb[0],me=0,Xe==16)return 16;var Et=G[Xe+1].Yb;if(Bn(C,gt[me+2])){var jt=C,br=0;if(Bn(jt,(Ht=gt)[(Wr=me)+3]))if(Bn(jt,Ht[Wr+6])){for(gt=0,Wr=2*(br=Bn(jt,Ht[Wr+8]))+(Ht=Bn(jt,Ht[Wr+9+br])),br=0,Ht=um[Wr];Ht[gt];++gt)br+=br+Bn(jt,Ht[gt]);br+=3+(8<(jt=C).b&&un(jt);var Wr,Ht=jt.b,Sr=(Wr=jt.Ca>>1)-(jt.I>>Ht)>>31;--jt.b,jt.Ca+=Sr,jt.Ca|=1,jt.I-=(Wr+1&Sr)<>3),C[G+me+32*Le]=-256&Xe?0>Xe?0:255:Xe}function eu(C,G,me,Le,Xe,nt){cc(C,G,0,me,Le+Xe),cc(C,G,1,me,Le+nt),cc(C,G,2,me,Le-nt),cc(C,G,3,me,Le-Xe)}function K0(C){return(20091*C>>16)+C}function a1(C,G,me,Le){var Xe,nt=0,st=E(16);for(Xe=0;4>Xe;++Xe){var gt=C[G+0]+C[G+8],Et=C[G+0]-C[G+8],jt=(35468*C[G+4]>>16)-K0(C[G+12]),br=K0(C[G+4])+(35468*C[G+12]>>16);st[nt+0]=gt+br,st[nt+1]=Et+jt,st[nt+2]=Et-jt,st[nt+3]=gt-br,nt+=4,G++}for(Xe=nt=0;4>Xe;++Xe)gt=(C=st[nt+0]+4)+st[nt+8],Et=C-st[nt+8],jt=(35468*st[nt+4]>>16)-K0(st[nt+12]),cc(me,Le,0,0,gt+(br=K0(st[nt+4])+(35468*st[nt+12]>>16))),cc(me,Le,1,0,Et+jt),cc(me,Le,2,0,Et-jt),cc(me,Le,3,0,gt-br),nt++,Le+=32}function M1(C,G,me,Le){var Xe=C[G+0]+4,nt=35468*C[G+4]>>16,st=K0(C[G+4]),gt=35468*C[G+1]>>16;eu(me,Le,0,Xe+st,C=K0(C[G+1]),gt),eu(me,Le,1,Xe+nt,C,gt),eu(me,Le,2,Xe-nt,C,gt),eu(me,Le,3,Xe-st,C,gt)}function U1(C,G,me,Le,Xe){a1(C,G,me,Le),Xe&&a1(C,G+16,me,Le+4)}function l0(C,G,me,Le){od(C,G+0,me,Le,1),od(C,G+32,me,Le+128,1)}function o1(C,G,me,Le){var Xe;for(C=C[G+0]+4,Xe=0;4>Xe;++Xe)for(G=0;4>G;++G)cc(me,Le,G,Xe,C)}function l1(C,G,me,Le){C[G+0]&&wo(C,G+0,me,Le),C[G+16]&&wo(C,G+16,me,Le+4),C[G+32]&&wo(C,G+32,me,Le+128),C[G+48]&&wo(C,G+48,me,Le+128+4)}function Gd(C,G,me,Le){var Xe,nt=E(16);for(Xe=0;4>Xe;++Xe){var st=C[G+0+Xe]+C[G+12+Xe],gt=C[G+4+Xe]+C[G+8+Xe],Et=C[G+4+Xe]-C[G+8+Xe],jt=C[G+0+Xe]-C[G+12+Xe];nt[0+Xe]=st+gt,nt[8+Xe]=st-gt,nt[4+Xe]=jt+Et,nt[12+Xe]=jt-Et}for(Xe=0;4>Xe;++Xe)st=(C=nt[0+4*Xe]+3)+nt[3+4*Xe],gt=nt[1+4*Xe]+nt[2+4*Xe],Et=nt[1+4*Xe]-nt[2+4*Xe],jt=C-nt[3+4*Xe],me[Le+0]=st+gt>>3,me[Le+16]=jt+Et>>3,me[Le+32]=st-gt>>3,me[Le+48]=jt-Et>>3,Le+=64}function Yf(C,G,me){var Le,Xe=G-32,nt=jA,st=255-C[Xe-1];for(Le=0;Leme;++me)c(C,G+32*me,C,G-32,16)}function u1(C,G){var me;for(me=16;0Le;++Le)p(G,me+32*Le,C,16)}function j1(C,G){var me,Le=16;for(me=0;16>me;++me)Le+=C[G-1+32*me]+C[G+me-32];Mc(Le>>5,C,G)}function Xf(C,G){var me,Le=8;for(me=0;16>me;++me)Le+=C[G-1+32*me];Mc(Le>>4,C,G)}function Bp(C,G){var me,Le=8;for(me=0;16>me;++me)Le+=C[G+me-32];Mc(Le>>4,C,G)}function H1(C,G){Mc(128,C,G)}function Js(C,G,me){return C+2*G+me+2>>2}function z1(C,G){var me,Le=G-32;for(Le=new Uint8Array([Js(C[Le-1],C[Le+0],C[Le+1]),Js(C[Le+0],C[Le+1],C[Le+2]),Js(C[Le+1],C[Le+2],C[Le+3]),Js(C[Le+2],C[Le+3],C[Le+4])]),me=0;4>me;++me)c(C,G+32*me,Le,0,Le.length)}function K1(C,G){var me=C[G-1],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96];zn(C,G+0,16843009*Js(C[G-1-32],me,Le)),zn(C,G+32,16843009*Js(me,Le,Xe)),zn(C,G+64,16843009*Js(Le,Xe,nt)),zn(C,G+96,16843009*Js(Xe,nt,nt))}function G1(C,G){var me,Le=4;for(me=0;4>me;++me)Le+=C[G+me-32]+C[G-1+32*me];for(Le>>=3,me=0;4>me;++me)p(C,G+32*me,Le,4)}function G0(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1-32],st=C[G+0-32],gt=C[G+1-32],Et=C[G+2-32],jt=C[G+3-32];C[G+0+96]=Js(Le,Xe,C[G-1+96]),C[G+1+96]=C[G+0+64]=Js(me,Le,Xe),C[G+2+96]=C[G+1+64]=C[G+0+32]=Js(nt,me,Le),C[G+3+96]=C[G+2+64]=C[G+1+32]=C[G+0+0]=Js(st,nt,me),C[G+3+64]=C[G+2+32]=C[G+1+0]=Js(gt,st,nt),C[G+3+32]=C[G+2+0]=Js(Et,gt,st),C[G+3+0]=Js(jt,Et,gt)}function V0(C,G){var me=C[G+1-32],Le=C[G+2-32],Xe=C[G+3-32],nt=C[G+4-32],st=C[G+5-32],gt=C[G+6-32],Et=C[G+7-32];C[G+0+0]=Js(C[G+0-32],me,Le),C[G+1+0]=C[G+0+32]=Js(me,Le,Xe),C[G+2+0]=C[G+1+32]=C[G+0+64]=Js(Le,Xe,nt),C[G+3+0]=C[G+2+32]=C[G+1+64]=C[G+0+96]=Js(Xe,nt,st),C[G+3+32]=C[G+2+64]=C[G+1+96]=Js(nt,st,gt),C[G+3+64]=C[G+2+96]=Js(st,gt,Et),C[G+3+96]=Js(gt,Et,Et)}function V1(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1-32],st=C[G+0-32],gt=C[G+1-32],Et=C[G+2-32],jt=C[G+3-32];C[G+0+0]=C[G+1+64]=nt+st+1>>1,C[G+1+0]=C[G+2+64]=st+gt+1>>1,C[G+2+0]=C[G+3+64]=gt+Et+1>>1,C[G+3+0]=Et+jt+1>>1,C[G+0+96]=Js(Xe,Le,me),C[G+0+64]=Js(Le,me,nt),C[G+0+32]=C[G+1+96]=Js(me,nt,st),C[G+1+32]=C[G+2+96]=Js(nt,st,gt),C[G+2+32]=C[G+3+96]=Js(st,gt,Et),C[G+3+32]=Js(gt,Et,jt)}function W1(C,G){var me=C[G+0-32],Le=C[G+1-32],Xe=C[G+2-32],nt=C[G+3-32],st=C[G+4-32],gt=C[G+5-32],Et=C[G+6-32],jt=C[G+7-32];C[G+0+0]=me+Le+1>>1,C[G+1+0]=C[G+0+64]=Le+Xe+1>>1,C[G+2+0]=C[G+1+64]=Xe+nt+1>>1,C[G+3+0]=C[G+2+64]=nt+st+1>>1,C[G+0+32]=Js(me,Le,Xe),C[G+1+32]=C[G+0+96]=Js(Le,Xe,nt),C[G+2+32]=C[G+1+96]=Js(Xe,nt,st),C[G+3+32]=C[G+2+96]=Js(nt,st,gt),C[G+3+64]=Js(st,gt,Et),C[G+3+96]=Js(gt,Et,jt)}function Vd(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96];C[G+0+0]=me+Le+1>>1,C[G+2+0]=C[G+0+32]=Le+Xe+1>>1,C[G+2+32]=C[G+0+64]=Xe+nt+1>>1,C[G+1+0]=Js(me,Le,Xe),C[G+3+0]=C[G+1+32]=Js(Le,Xe,nt),C[G+3+32]=C[G+1+64]=Js(Xe,nt,nt),C[G+3+64]=C[G+2+64]=C[G+0+96]=C[G+1+96]=C[G+2+96]=C[G+3+96]=nt}function Cp(C,G){var me=C[G-1+0],Le=C[G-1+32],Xe=C[G-1+64],nt=C[G-1+96],st=C[G-1-32],gt=C[G+0-32],Et=C[G+1-32],jt=C[G+2-32];C[G+0+0]=C[G+2+32]=me+st+1>>1,C[G+0+32]=C[G+2+64]=Le+me+1>>1,C[G+0+64]=C[G+2+96]=Xe+Le+1>>1,C[G+0+96]=nt+Xe+1>>1,C[G+3+0]=Js(gt,Et,jt),C[G+2+0]=Js(st,gt,Et),C[G+1+0]=C[G+3+32]=Js(me,st,gt),C[G+1+32]=C[G+3+64]=Js(Le,me,st),C[G+1+64]=C[G+3+96]=Js(Xe,Le,me),C[G+1+96]=Js(nt,Xe,Le)}function Jf(C,G){var me;for(me=0;8>me;++me)c(C,G+32*me,C,G-32,8)}function Z1(C,G){var me;for(me=0;8>me;++me)p(C,G,C[G-1],8),G+=32}function W0(C,G,me){var Le;for(Le=0;8>Le;++Le)p(G,me+32*Le,C,8)}function Y1(C,G){var me,Le=8;for(me=0;8>me;++me)Le+=C[G+me-32]+C[G-1+32*me];W0(Le>>4,C,G)}function Sp(C,G){var me,Le=4;for(me=0;8>me;++me)Le+=C[G+me-32];W0(Le>>3,C,G)}function Ip(C,G){var me,Le=4;for(me=0;8>me;++me)Le+=C[G-1+32*me];W0(Le>>3,C,G)}function A1(C,G){W0(128,C,G)}function Z0(C,G,me){var Le=C[G-me],Xe=C[G+0],nt=3*(Xe-Le)+X1[1020+C[G-2*me]-C[G+me]],st=v1[112+(nt+4>>3)];C[G-me]=jA[255+Le+v1[112+(nt+3>>3)]],C[G+0]=jA[255+Xe-st]}function Tp(C,G,me,Le){var Xe=C[G+0],nt=C[G+me];return dc[255+C[G-2*me]-C[G-me]]>Le||dc[255+nt-Xe]>Le}function Wd(C,G,me,Le){return 4*dc[255+C[G-me]-C[G+0]]+dc[255+C[G-2*me]-C[G+me]]<=Le}function Fp(C,G,me,Le,Xe){var nt=C[G-3*me],st=C[G-2*me],gt=C[G-me],Et=C[G+0],jt=C[G+me],br=C[G+2*me],Wr=C[G+3*me];return 4*dc[255+gt-Et]+dc[255+st-jt]>Le?0:dc[255+C[G-4*me]-nt]<=Xe&&dc[255+nt-st]<=Xe&&dc[255+st-gt]<=Xe&&dc[255+Wr-br]<=Xe&&dc[255+br-jt]<=Xe&&dc[255+jt-Et]<=Xe}function qf(C,G,me,Le){var Xe=2*Le+1;for(Le=0;16>Le;++Le)Wd(C,G+Le,me,Xe)&&Z0(C,G+Le,me)}function Dp(C,G,me,Le){var Xe=2*Le+1;for(Le=0;16>Le;++Le)Wd(C,G+Le*me,1,Xe)&&Z0(C,G+Le*me,1)}function c1(C,G,me,Le){var Xe;for(Xe=3;0>7,En=18*xn+63>>7,xn=9*xn+63>>7;Et[jt-3*br]=jA[255+Et[jt-3*br]+xn],Et[jt-2*br]=jA[255+Wr+En],Et[jt-br]=jA[255+Ht+Kr],Et[jt+0]=jA[255+Sr-Kr],Et[jt+br]=jA[255+Pr-En],Et[jt+2*br]=jA[255+yn-xn]}G+=Le}}function X0(C,G,me,Le,Xe,nt,st,gt){for(nt=2*nt+1;0>3)],yn=v1[112+(yn+3>>3)],Kr=Pr+1>>1;Et[jt-2*br]=jA[255+Et[jt-2*br]+Kr],Et[jt-br]=jA[255+Wr+yn],Et[jt+0]=jA[255+Ht-Pr],Et[jt+br]=jA[255+Sr-Kr]}G+=Le}}function f1(C,G,me,Le,Xe,nt){Y0(C,G,me,1,16,Le,Xe,nt)}function $f(C,G,me,Le,Xe,nt){Y0(C,G,1,me,16,Le,Xe,nt)}function d1(C,G,me,Le,Xe,nt){var st;for(st=3;0jt?0:255:jt)&255,jt=Et,Xe[nt+gt]=br}}function Vo(C,G,me,Le){var Xe=G.width,nt=G.o;if(a(C!=null&&G!=null),0>me||0>=Le||me+Le>nt)return null;if(!C.Cc){if(C.ga==null){var st;if(C.ga=new oa,(st=C.ga==null)||(st=G.width*G.o,a(C.Gb.length==0),C.Gb=E(st),C.Uc=0,C.Gb==null?st=0:(C.mb=C.Gb,C.nb=C.Uc,C.rc=null,st=1),st=!st),!st){st=C.ga;var gt=C.Fa,Et=C.P,jt=C.qc,br=C.mb,Wr=C.nb,Ht=Et+1,Sr=jt-1,Pr=st.l;if(a(gt!=null&&br!=null&&G!=null),$h[0]=null,$h[1]=eo,$h[2]=fl,$h[3]=zl,st.ca=br,st.tb=Wr,st.c=G.width,st.i=G.height,a(0=jt)G=0;else if(st.$a=3>[Et+0],st.Z=gt[Et+0]>>2&3,st.Lc=gt[Et+0]>>4&3,Et=gt[Et+0]>>6&3,0>st.$a||1=st.c*st.i;st=!G}if(st)return null;C.ga.Lc!=1?C.Ga=0:Le=nt-me}a(C.ga!=null),a(me+Le<=nt);e:{if(G=(gt=C.ga).c,nt=gt.l.o,gt.$a==0){if(Ht=C.rc,Sr=C.Vc,Pr=C.Fa,Et=C.P+1+me*G,jt=C.mb,br=C.nb+me*G,a(Et<=C.P+C.qc),gt.Z!=0)for(a($h[gt.Z]!=null),st=0;st=G)G=1;else if(gt.ic||Uc(),gt.ic){gt=st.V,Ht=st.Ba,Sr=st.c;var yn=st.i,Kr=(Pr=1,Et=st.$/Sr,jt=st.$%Sr,br=st.m,Wr=st.s,st.$),En=Sr*yn,xn=Sr*G,Qn=Wr.wc,Ln=Kr(yn=El(Ln.G[0],Ln.H[0],br)))gt[Ht+Kr]=yn,++Kr,++jt>=Sr&&(jt=0,++Et<=G&&!(Et%16)&&Rc(st,Et));else{if(!(280>yn)){Pr=0;break t}yn=oc(yn-256,br);var ns,Qi=El(Ln.G[4],Ln.H[4],br);if(jr(br),!(Kr>=(Qi=lc(Sr,Qi=oc(Qi,br)))&&En-Kr>=yn)){Pr=0;break t}for(ns=0;ns=Sr;)jt-=Sr,++Et<=G&&!(Et%16)&&Rc(st,Et);KrG?G:Et);break t}!Pr||br.h&&Kr=nt&&(C.Cc=1),Le=1}if(!Le)return null;if(C.Cc&&((Le=C.ga)!=null&&(Le.mc=null),C.ga=null,0>23,gt[Et+4*st+1]=gt[Et+4*st+1]*Wr>>23,gt[Et+4*st+2]=gt[Et+4*st+2]*Wr>>23)}G+=nt}}function Kl(C,G,me,Le,Xe){for(;0>4)*Et>>16;C[G+2*nt+0]=(240&st|st>>4)*Et>>16&240|(15&st|st<<4)*Et>>16>>4&15,C[G+2*nt+1]=240&jt|gt}G+=Xe}}function _u(C,G,me,Le,Xe,nt,st,gt){var Et,jt,br=255;for(jt=0;jt>8}function Uc(){zp=tu,wg=Kl,bg=_u,Eg=J0}function q0(C,G,me){er[C]=function(Le,Xe,nt,st,gt,Et,jt,br,Wr,Ht,Sr,Pr,yn,Kr,En,xn,Qn){var Ln,ns=Qn-1>>1,Qi=gt[Et+0]|jt[br+0]<<16,ca=Wr[Ht+0]|Sr[Pr+0]<<16;a(Le!=null);var Xi=3*Qi+ca+131074>>2;for(G(Le[Xe+0],255&Xi,Xi>>16,yn,Kr),nt!=null&&(Xi=3*ca+Qi+131074>>2,G(nt[st+0],255&Xi,Xi>>16,En,xn)),Ln=1;Ln<=ns;++Ln){var Qa=gt[Et+Ln]|jt[br+Ln]<<16,nu=Wr[Ht+Ln]|Sr[Pr+Ln]<<16,ha=Qi+Qa+ca+nu+524296,Ji=ha+2*(Qa+ca)>>3;Xi=Ji+Qi>>1,Qi=(ha=ha+2*(Qi+nu)>>3)+Qa>>1,G(Le[Xe+2*Ln-1],255&Xi,Xi>>16,yn,Kr+(2*Ln-1)*me),G(Le[Xe+2*Ln-0],255&Qi,Qi>>16,yn,Kr+(2*Ln-0)*me),nt!=null&&(Xi=ha+ca>>1,Qi=Ji+nu>>1,G(nt[st+2*Ln-1],255&Xi,Xi>>16,En,xn+(2*Ln-1)*me),G(nt[st+2*Ln+0],255&Qi,Qi>>16,En,xn+(2*Ln+0)*me)),Qi=Qa,ca=nu}1&Qn||(Xi=3*Qi+ca+131074>>2,G(Le[Xe+Qn-1],255&Xi,Xi>>16,yn,Kr+(Qn-1)*me),nt!=null&&(Xi=3*ca+Qi+131074>>2,G(nt[st+Qn-1],255&Xi,Xi>>16,En,xn+(Qn-1)*me)))}}function Lp(){pc[y1]=gm,pc[w1]=kg,pc[Ig]=mm,pc[b1]=Rg,pc[E1]=Og,pc[J1]=Mg,pc[Tg]=vm,pc[q1]=kg,pc[$1]=Rg,pc[_1]=Og,pc[eg]=Mg}function Zd(C){return C&~ym?0>C?0:255:C>>Ug}function zh(C,G){return Zd((19077*C>>8)+(26149*G>>8)-14234)}function ed(C,G,me){return Zd((19077*C>>8)-(6419*G>>8)-(13320*me>>8)+8708)}function td(C,G){return Zd((19077*C>>8)+(33050*G>>8)-17685)}function Kh(C,G,me,Le,Xe){Le[Xe+0]=zh(C,me),Le[Xe+1]=ed(C,G,me),Le[Xe+2]=td(C,G)}function xu(C,G,me,Le,Xe){Le[Xe+0]=td(C,G),Le[Xe+1]=ed(C,G,me),Le[Xe+2]=zh(C,me)}function rd(C,G,me,Le,Xe){var nt=ed(C,G,me);G=nt<<3&224|td(C,G)>>3,Le[Xe+0]=248&zh(C,me)|nt>>5,Le[Xe+1]=G}function nd(C,G,me,Le,Xe){var nt=240&td(C,G)|15;Le[Xe+0]=240&zh(C,me)|ed(C,G,me)>>4,Le[Xe+1]=nt}function kp(C,G,me,Le,Xe){Le[Xe+0]=255,Kh(C,G,me,Le,Xe+1)}function Rp(C,G,me,Le,Xe){xu(C,G,me,Le,Xe),Le[Xe+3]=255}function $u(C,G,me,Le,Xe){Kh(C,G,me,Le,Xe),Le[Xe+3]=255}function $0(C,G,me){er[C]=function(Le,Xe,nt,st,gt,Et,jt,br,Wr){for(var Ht=br+(-2&Wr)*me;br!=Ht;)G(Le[Xe+0],nt[st+0],gt[Et+0],jt,br),G(Le[Xe+1],nt[st+0],gt[Et+0],jt,br+me),Xe+=2,++st,++Et,br+=2*me;1&Wr&&G(Le[Xe+0],nt[st+0],gt[Et+0],jt,br)}}function Yd(C,G,me){return me==0?C==0?G==0?6:5:G==0?4:0:me}function p1(C,G,me,Le,Xe){switch(C>>>30){case 3:od(G,me,Le,Xe,0);break;case 2:fc(G,me,Le,Xe);break;case 1:wo(G,me,Le,Xe)}}function hc(C,G){var me,Le,Xe=G.M,nt=G.Nb,st=C.oc,gt=C.pc+40,Et=C.oc,jt=C.pc+584,br=C.oc,Wr=C.pc+600;for(me=0;16>me;++me)st[gt+32*me-1]=129;for(me=0;8>me;++me)Et[jt+32*me-1]=129,br[Wr+32*me-1]=129;for(0me;++me)c(st,gt+32*me-4,st,gt+32*me+12,4);for(me=-1;8>me;++me)c(Et,jt+32*me-4,Et,jt+32*me+4,4),c(br,Wr+32*me-4,br,Wr+32*me+4,4)}var Sr=C.Gd,Pr=C.Hd+Le,yn=Ht.ad,Kr=Ht.Hc;if(0=C.za-1?p(En,xn,Sr[Pr].y[15],4):c(En,xn,Sr[Pr+1].y,0,4)),me=0;4>me;me++)En[xn+128+me]=En[xn+256+me]=En[xn+384+me]=En[xn+0+me];for(me=0;16>me;++me,Kr<<=2)En=st,xn=gt+Pg[me],Nc[Ht.Ob[me]](En,xn),p1(Kr,yn,16*+me,En,xn)}else if(En=Yd(Le,Xe,Ht.Ob[0]),qh[En](st,gt),Kr!=0)for(me=0;16>me;++me,Kr<<=2)p1(Kr,yn,16*+me,st,gt+Pg[me]);for(me=Ht.Gc,En=Yd(Le,Xe,Ht.Dd),rh[En](Et,jt),rh[En](br,Wr),Kr=yn,En=Et,xn=jt,255&(Ht=0|me)&&(170&Ht?c0(Kr,256,En,xn):Uo(Kr,256,En,xn)),Ht=br,Kr=Wr,255&(me>>=8)&&(170&me?c0(yn,320,Ht,Kr):Uo(yn,320,Ht,Kr)),Xeme;++me)c(Sr,Pr+me*C.R,st,gt+32*me,16);for(me=0;8>me;++me)c(yn,Ht+me*C.B,Et,jt+32*me,8),c(Kr,En+me*C.B,br,Wr+32*me,8)}}function id(C,G,me,Le,Xe,nt,st,gt,Et){var jt=[0],br=[0],Wr=0,Ht=Et!=null?Et.kd:0,Sr=Et!=null?Et:new Dn;if(C==null||12>me)return 7;Sr.data=C,Sr.w=G,Sr.ha=me,G=[G],me=[me],Sr.gb=[Sr.gb];e:{var Pr=G,yn=me,Kr=Sr.gb;if(a(C!=null),a(yn!=null),a(Kr!=null),Kr[0]=0,12<=yn[0]&&!s(C,Pr[0],"RIFF")){if(s(C,Pr[0]+8,"WEBP")){Kr=3;break e}var En=As(C,Pr[0]+4);if(12>En||4294967286yn[0]-8){Kr=7;break e}Kr[0]=En,Pr[0]+=12,yn[0]-=12}Kr=0}if(Kr!=0)return Kr;for(En=0Kr[0])Kr=7;else{if(!s(xn,yn[0],"VP8X")){if(As(xn,yn[0]+4)!=10){Kr=3;break e}if(18>Kr[0]){Kr=7;break e}var Qi=As(xn,yn[0]+8),ca=1+pi(xn,yn[0]+12);if(2147483648<=ca*(xn=1+pi(xn,yn[0]+15))){Kr=3;break e}ns!=null&&(ns[0]=Qi),Qn!=null&&(Qn[0]=ca),Ln!=null&&(Ln[0]=xn),yn[0]+=18,Kr[0]-=18,Xi[0]=1}Kr=0}}if(Wr=Wr[0],Pr=Pr[0],Kr!=0)return Kr;if(yn=!!(2&Pr),!En&&Wr)return 3;if(nt!=null&&(nt[0]=!!(16&Pr)),st!=null&&(st[0]=yn),gt!=null&&(gt[0]=0),st=jt[0],Pr=br[0],Wr&&yn&&Et==null){Kr=0;break}if(4>me){Kr=7;break}if(En&&Wr||!En&&!Wr&&!s(C,G[0],"ALPH")){me=[me],Sr.na=[Sr.na],Sr.P=[Sr.P],Sr.Sa=[Sr.Sa];e:{Qi=C,Kr=G,En=me;var Xi=Sr.gb;Qn=Sr.na,Ln=Sr.P,ns=Sr.Sa,ca=22,a(Qi!=null),a(En!=null),xn=Kr[0];var Qa=En[0];for(a(Qn!=null),a(ns!=null),Qn[0]=null,Ln[0]=null,ns[0]=0;;){if(Kr[0]=xn,En[0]=Qa,8>Qa){Kr=7;break e}var nu=As(Qi,xn+4);if(4294967286Xi){Kr=3;break e}if(!s(Qi,xn,"VP8 ")||!s(Qi,xn,"VP8L")){Kr=0;break e}if(Qa[0]En[0])Kr=7;else{if(xn||ca){if(Xi=As(Xi,Qi+4),12<=Qn&&Xi>Qn-12){Kr=3;break e}if(Ht&&Xi>En[0]-8){Kr=7;break e}Ln[0]=Xi,Kr[0]+=8,En[0]-=8,ns[0]=ca}else ns[0]=5<=En[0]&&Xi[Qi+0]==47&&!(Xi[Qi+4]>>5),Ln[0]=En[0];Kr=0}if(me=me[0],Sr.Ja=Sr.Ja[0],Sr.xa=Sr.xa[0],G=G[0],Kr!=0)break;if(4294967286me){Kr=7;break}gt=st,Ht=Pr,yn=nt,C==null||5>me?C=0:5<=me&&C[G+0]==47&&!(C[G+4]>>5)?(En=[0],Xi=[0],Qn=[0],dn(Ln=new Xt,C,G,me),z0(Ln,En,Xi,Qn)?(gt!=null&&(gt[0]=En[0]),Ht!=null&&(Ht[0]=Xi[0]),yn!=null&&(yn[0]=Qn[0]),C=1):C=0):C=0}else{if(10>me){Kr=7;break}gt=Pr,C==null||10>me||!i1(C,G+3,me-3)?C=0:(Ht=C[G+0]|C[G+1]<<8|C[G+2]<<16,yn=16383&(C[G+7]<<8|C[G+6]),C=16383&(C[G+9]<<8|C[G+8]),1&Ht||3<(Ht>>1&7)||!(Ht>>4&1)||Ht>>5>=Sr.Ja||!yn||!C?C=0:(st&&(st[0]=yn),gt&&(gt[0]=C),C=1))}if(!C||(st=st[0],Pr=Pr[0],Wr&&(jt[0]!=st||br[0]!=Pr)))return 3;Et!=null&&(Et[0]=Sr,Et.offset=G-Et.w,a(4294967286>G-Et.w),a(Et.offset==Et.ha-me));break}return Kr==0||Kr==7&&Wr&&Et==null?(nt!=null&&(nt[0]|=Sr.na!=null&&0me||(nt&=-2,st&=-2),0>nt||0>st||0>=gt||0>=Et||nt+gt>Le||st+Et>Xe))return 0;if(G.v=nt,G.j=st,G.va=nt+gt,G.o=st+Et,G.U=gt,G.T=Et,G.da=C!=null&&0C.S){var G=C.f.RGBA;G.fb+=(C.height-1)*G.A,G.A=-G.A}else G=C.f.kb,C=C.height,G.O+=(C-1)*G.fa,G.fa=-G.fa,G.N+=(C-1>>1)*G.Ab,G.Ab=-G.Ab,G.W+=(C-1>>1)*G.Db,G.Db=-G.Db,G.F!=null&&(G.J+=(C-1)*G.lb,G.lb=-G.lb);return 0}function Gh(C,G,me,Le){if(Le==null||0>=C||0>=G)return 2;if(me!=null){if(me.Da){var Xe=me.cd,nt=me.bd,st=-2&me.v,gt=-2&me.j;if(0>st||0>gt||0>=Xe||0>=nt||st+Xe>C||gt+nt>G)return 2;C=Xe,G=nt}if(me.da){if(!Ms(C,G,Xe=[me.ib],nt=[me.hb]))return 2;C=Xe[0],G=nt[0]}}Le.width=C,Le.height=G;e:{var Et=Le.width,jt=Le.height;if(C=Le.S,0>=Et||0>=jt||!(C>=y1&&13>C))C=2;else{if(0>=Le.Rd&&Le.sd==null){st=nt=Xe=G=0;var br=(gt=Et*Qg[C])*jt;if(11>C||(nt=(jt+1)/2*(G=(Et+1)/2),C==12&&(st=(Xe=Et)*jt)),(jt=E(br+2*nt+st))==null){C=1;break e}Le.sd=jt,11>C?((Et=Le.f.RGBA).eb=jt,Et.fb=0,Et.A=gt,Et.size=br):((Et=Le.f.kb).y=jt,Et.O=0,Et.fa=gt,Et.Fd=br,Et.f=jt,Et.N=0+br,Et.Ab=G,Et.Cd=nt,Et.ea=jt,Et.W=0+br+nt,Et.Db=G,Et.Ed=nt,C==12&&(Et.F=jt,Et.J=0+br+2*nt),Et.Tc=st,Et.lb=Xe)}if(G=1,Xe=Le.S,nt=Le.width,st=Le.height,Xe>=y1&&13>Xe)if(11>Xe)C=Le.f.RGBA,G&=(gt=Math.abs(C.A))*(st-1)+nt<=C.size,G&=gt>=nt*Qg[Xe],G&=C.eb!=null;else{C=Le.f.kb,gt=(nt+1)/2,br=(st+1)/2,Et=Math.abs(C.fa),jt=Math.abs(C.Ab);var Wr=Math.abs(C.Db),Ht=Math.abs(C.lb),Sr=Ht*(st-1)+nt;G&=Et*(st-1)+nt<=C.Fd,G&=jt*(br-1)+gt<=C.Cd,G=(G&=Wr*(br-1)+gt<=C.Ed)&Et>=nt&jt>=gt&Wr>=gt,G&=C.y!=null,G&=C.f!=null,G&=C.ea!=null,Xe==12&&(G&=Ht>=nt,G&=Sr<=C.Tc,G&=C.F!=null)}else G=0;C=G?0:2}}return C!=0||me!=null&&me.fd&&(C=Mp(Le)),C}var sd=64,PA=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],QA=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];zi("Predictor0","PredictorAdd0"),er.Predictor0=function(){return 4278190080},er.Predictor1=function(C){return C},er.Predictor2=function(C,G,me){return G[me+0]},er.Predictor3=function(C,G,me){return G[me+1]},er.Predictor4=function(C,G,me){return G[me-1]},er.Predictor5=function(C,G,me){return ps(ps(C,G[me+1]),G[me+0])},er.Predictor6=function(C,G,me){return ps(C,G[me-1])},er.Predictor7=function(C,G,me){return ps(C,G[me+0])},er.Predictor8=function(C,G,me){return ps(G[me-1],G[me+0])},er.Predictor9=function(C,G,me){return ps(G[me+0],G[me+1])},er.Predictor10=function(C,G,me){return ps(ps(C,G[me-1]),ps(G[me+0],G[me+1]))},er.Predictor11=function(C,G,me){var Le=G[me+0];return 0>=ta(Le>>24&255,C>>24&255,(G=G[me-1])>>24&255)+ta(Le>>16&255,C>>16&255,G>>16&255)+ta(Le>>8&255,C>>8&255,G>>8&255)+ta(255&Le,255&C,255&G)?Le:C},er.Predictor12=function(C,G,me){var Le=G[me+0];return(vo((C>>24&255)+(Le>>24&255)-((G=G[me-1])>>24&255))<<24|vo((C>>16&255)+(Le>>16&255)-(G>>16&255))<<16|vo((C>>8&255)+(Le>>8&255)-(G>>8&255))<<8|vo((255&C)+(255&Le)-(255&G)))>>>0},er.Predictor13=function(C,G,me){var Le=G[me-1];return(ka((C=ps(C,G[me+0]))>>24&255,Le>>24&255)<<24|ka(C>>16&255,Le>>16&255)<<16|ka(C>>8&255,Le>>8&255)<<8|ka(255&C,255&Le))>>>0};var Up=er.PredictorAdd0;er.PredictorAdd1=Pa,zi("Predictor2","PredictorAdd2"),zi("Predictor3","PredictorAdd3"),zi("Predictor4","PredictorAdd4"),zi("Predictor5","PredictorAdd5"),zi("Predictor6","PredictorAdd6"),zi("Predictor7","PredictorAdd7"),zi("Predictor8","PredictorAdd8"),zi("Predictor9","PredictorAdd9"),zi("Predictor10","PredictorAdd10"),zi("Predictor11","PredictorAdd11"),zi("Predictor12","PredictorAdd12"),zi("Predictor13","PredictorAdd13");var Xd=er.PredictorAdd2;os("ColorIndexInverseTransform","MapARGB","32b",function(C){return C>>8&255},function(C){return C}),os("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(C){return C},function(C){return C>>8&255});var Il,g1=er.ColorIndexInverseTransform,u0=er.MapARGB,A0=er.VP8LColorIndexInverseTransformAlpha,Np=er.MapAlpha,Pp=er.VP8LPredictorsAdd=[];Pp.length=16,(er.VP8LPredictors=[]).length=16,(er.VP8LPredictorsAdd_C=[]).length=16,(er.VP8LPredictors_C=[]).length=16;var Qp,jp,Zh,Yh,Xh,ad,Jh,od,fc,c0,wo,Uo,Tl,ru,th,Hp,Jd,m1,dg,pg,gg,mg,vg,yg,zp,wg,bg,Eg,_g=E(511),xg=E(2041),Bg=E(225),Cg=E(767),Sg=0,X1=xg,v1=Bg,jA=Cg,dc=_g,y1=0,w1=1,Ig=2,b1=3,E1=4,J1=5,Tg=6,q1=7,$1=8,_1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Kp=null,um=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Nc=[],rh=[],pm=1,Lg=2,$h=[],pc=[];q0("UpsampleRgbLinePair",Kh,3),q0("UpsampleBgrLinePair",xu,3),q0("UpsampleRgbaLinePair",$u,4),q0("UpsampleBgraLinePair",Rp,4),q0("UpsampleArgbLinePair",kp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=er.UpsampleRgbLinePair,mm=er.UpsampleBgrLinePair,kg=er.UpsampleRgbaLinePair,Rg=er.UpsampleBgraLinePair,Og=er.UpsampleArgbLinePair,Mg=er.UpsampleRgba4444LinePair,vm=er.UpsampleRgb565LinePair,x1=16,B1=1<Le.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Le.ca.f.kb.F!=null&&Uc()),Le.Pb&&0(Et=me.Md)?0:100jt;++jt)12>(Wr=Xe.pb[jt]).lc&&(Wr.ia=Et*Cm[0>Wr.lc?0:Wr.lc]>>3),br|=Wr.ia;br&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=me.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Ht,Sr){if(Ht==null)return 0;if(Sr==null)return Hl(Ht,2,"NULL VP8Io parameter in VP8Decode().");if(!Ht.cb&&!o0(Ht,Sr))return 0;if(a(Ht.cb),Sr.ac==null||Sr.ac(Sr)){Sr.ob&&(Ht.L=0);var Pr=C1[Ht.L];if(Ht.L==2?(Ht.yb=0,Ht.zb=0):(Ht.yb=Sr.v-Pr>>4,Ht.zb=Sr.j-Pr>>4,0>Ht.yb&&(Ht.yb=0),0>Ht.zb&&(Ht.zb=0)),Ht.Va=Sr.o+15+Pr>>4,Ht.Hb=Sr.va+15+Pr>>4,Ht.Hb>Ht.za&&(Ht.Hb=Ht.za),Ht.Va>Ht.Ub&&(Ht.Va=Ht.Ub),0Pr;++Pr){var Kr;if(Ht.Qa.Cb){var En=Ht.Qa.Lb[Pr];Ht.Qa.Fb||(En+=yn.Tb)}else En=yn.Tb;for(Kr=0;1>=Kr;++Kr){var xn=Ht.gd[Pr][Kr],Qn=En;if(yn.Pc&&(Qn+=yn.vd[0],Kr&&(Qn+=yn.od[0])),0<(Qn=0>Qn?0:63>2:Ln>>1)>9-yn.wb&&(Ln=9-yn.wb),1>Ln&&(Ln=1),xn.dd=Ln,xn.tc=2*Qn+Ln,xn.ld=40<=Qn?2:15<=Qn?1:0}else xn.tc=0;xn.La=Kr}}}Pr=0}else Hl(Ht,6,"Frame setup failed"),Pr=Ht.a;if(Pr=Pr==0){if(Pr){Ht.$c=0,0Ht.Vb){if(Ht.Vb=0,Ht.Ec=E(xn),Ht.Fc=0,Ht.Ec==null){Pr=Hl(Ht,1,"no memory during frame initialization.");break t}Ht.Vb=xn}xn=Ht.Ec,Qn=Ht.Fc,Ht.Ac=xn,Ht.Bc=Qn,Qn+=yn,Ht.Gd=q(ns,r1),Ht.Hd=0,Ht.rb=q(Qi+1,Ep),Ht.sb=1,Ht.wa=ca?q(ca,Ac):null,Ht.Y=0,Ht.D.Nb=0,Ht.D.wa=Ht.wa,Ht.D.Y=Ht.Y,0=Pr;++Pr)_g[255+Pr]=0>Pr?-Pr:Pr;for(Pr=-1020;1020>=Pr;++Pr)xg[1020+Pr]=-128>Pr?-128:127=Pr;++Pr)Bg[112+Pr]=-16>Pr?-16:15=Pr;++Pr)Cg[255+Pr]=0>Pr?0:255Wa;++Wa){var iu,to=eA[0+Wa];for(iu=0;4>iu;++iu){to=hm[$o[Bu+iu]][to];for(var Co=Dg[Bn(na,to[0])];0>3;for(Co=0;256>Co;Co+=16)Wa[Pu+Co]=yA}Cu=1,Pc=Bu[0]}var No=15&na.la,su=15&tA.la;for(Co=0;4>Co;++Co){var HA=1&su;for(yA=So=0;4>yA;++yA)No=No>>1|(HA=(Dl=Kp($o,Pc,Dl=HA+(1&No),_l.Sc,Cu,Wa,Pu))>Cu)<<7,So=So<<2|(3>=4,su=su>>1|HA<<7,iu=(iu<<8|So)>>>0}for(Pc=No,Cu=su>>4,xl=0;4>xl;xl+=2){for(So=0,No=na.la>>4+xl,su=tA.la>>4+xl,Co=0;2>Co;++Co){for(HA=1&su,yA=0;2>yA;++yA)Dl=HA+(1&No),No=No>>1|(HA=0<(Dl=Kp($o,Bu[2],Dl,_l.Qc,0,Wa,Pu)))<<3,So=So<<2|(3>=2,su=su>>1|HA<<5}to|=So<<4*xl,Pc|=No<<4<=Ji.zb&&Ji.M<=Ji.Va,Ji.Aa==0)t:{if(ha.M=Ji.M,ha.uc=na,hc(Ji,ha),Fl=1,ha=(So=Ji.D).Nb,na=(to=C1[Ji.L])*Ji.R,$o=to/2*Ji.B,Co=16*ha*Ji.R,yA=8*ha*Ji.B,Bu=Ji.sa,eA=Ji.ta-na+Co,_l=Ji.qa,Wa=Ji.ra-$o+yA,Pu=Ji.Ha,tA=Ji.Ia-$o+yA,su=(No=So.M)==0,iu=No>=Ji.Va-1,Ji.Aa==2&&hc(Ji,So),So.uc)for(HA=(Dl=Ji).D.M,a(Dl.D.uc),So=Dl.yb;Sooi.o&&(No=oi.o),oi.F=null,oi.J=null,Ji.Fa!=null&&0>1),oi.W+=Ji.B*(to>>1),oi.F!=null&&(oi.J+=oi.width*to)),So>1,oi.W+=oi.v>>1,oi.F!=null&&(oi.J+=oi.v),oi.ka=So-oi.j,oi.U=oi.va-oi.v,oi.T=No-So,Fl=oi.put(oi))}ha+1!=Ji.Ic||iu||(c(Ji.sa,Ji.ta-na,Bu,eA+16*Ji.R,na),c(Ji.qa,Ji.ra-$o,_l,Wa+8*Ji.B,$o),c(Ji.Ha,Ji.Ia-$o,Pu,tA+8*Ji.B,$o))}if(!Fl)return Hl(Qa,6,"Output aborted.")}return 1}(Ht,Sr)),Sr.bc!=null&&Sr.bc(Sr),Pr&=1}return Pr?(Ht.cb=0,Pr):0})(C,Le)||(G=C.a)}}else G=C.a}G==0&&st.Oa!=null&&st.Oa.fd&&(G=Mp(st.ba))}st=G}nt=st!=0?null:11>nt?gt.f.RGBA.eb:gt.f.kb.y}else nt=null;return nt};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function se(er,Nr){for(var At="",Rt=0;Rt<4;Rt++)At+=String.fromCharCode(er[Nr++]);return At}function Ce(er,Nr){return er[Nr+0]|er[Nr+1]<<8}function Ge(er,Nr){return(er[Nr+0]|er[Nr+1]<<8|er[Nr+2]<<16)>>>0}function et(er,Nr){return(er[Nr+0]|er[Nr+1]<<8|er[Nr+2]<<16|er[Nr+3]<<24)>>>0}new te;var xe=[0],Ft=[0],_t=[],kt=new te,ct=n,hr=function(er,Nr){var At={},Rt=0,dr=!1,lr=0,$r=0;if(At.frames=[],!function(ot,Xt){for(var tr=0;tr<4;tr++)if(ot[Xt+tr]!="RIFF".charCodeAt(tr))return!0;return!1}(er,Nr)){for(et(er,Nr+=4),Nr+=8;Nr>1&1}on!="ANMF"&&(Nr+=Gr)}return At}}(ct,0);hr.response=ct,hr.rgbaoutput=!0,hr.dataurl=!1;var rr=hr.header?hr.header:null,Jt=hr.frames?hr.frames:null;if(rr){rr.loop_counter=rr.loop_count,xe=[rr.canvas_height],Ft=[rr.canvas_width];for(var Zr=0;Zr=2?Ot[1]:wi[0],wi[2]=Ot.length>=3?Ot[2]:wi[0],wi[3]=Ot.length>=4?Ot[3]:wi[1]),se.margin=wi}});var un=!1;Object.defineProperty(this,"autoPaging",{get:function(){return un},set:function(Ot){un=Ot}});var fn=0;Object.defineProperty(this,"lastBreak",{get:function(){return fn},set:function(Ot){fn=Ot}});var Bn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Bn},set:function(Ot){Bn=Ot}}),Object.defineProperty(this,"ctx",{get:function(){return se},set:function(Ot){Ot instanceof Ce&&(se=Ot)}}),Object.defineProperty(this,"path",{get:function(){return se.path},set:function(Ot){se.path=Ot}});var zn=[];Object.defineProperty(this,"ctxStack",{get:function(){return zn},set:function(Ot){zn=Ot}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ot){var wi;wi=et(Ot),this.ctx.fillStyle=wi.style,this.ctx.isFillTransparent=wi.a===0,this.ctx.fillOpacity=wi.a,this.pdf.setFillColor(wi.r,wi.g,wi.b,{a:wi.a}),this.pdf.setTextColor(wi.r,wi.g,wi.b,{a:wi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ot){var wi=et(Ot);this.ctx.strokeStyle=wi.style,this.ctx.isStrokeTransparent=wi.a===0,this.ctx.strokeOpacity=wi.a,wi.a===0?this.pdf.setDrawColor(255,255,255):(wi.a,this.pdf.setDrawColor(wi.r,wi.g,wi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ot){["butt","round","square"].indexOf(Ot)!==-1&&(this.ctx.lineCap=Ot,this.pdf.setLineCap(Ot))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ot){isNaN(Ot)||(this.ctx.lineWidth=Ot,this.pdf.setLineWidth(Ot))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ot){["bevel","round","miter"].indexOf(Ot)!==-1&&(this.ctx.lineJoin=Ot,this.pdf.setLineJoin(Ot))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ot){isNaN(Ot)||(this.ctx.miterLimit=Ot,this.pdf.setMiterLimit(Ot))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ot){this.ctx.textBaseline=Ot}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ot){["right","end","center","left","start"].indexOf(Ot)!==-1&&(this.ctx.textAlign=Ot)}});var yi=null,pi=null,As=null;Object.defineProperty(this,"fontFaces",{get:function(){return As},set:function(Ot){yi=null,pi=null,As=Ot}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ot){var wi;if(this.ctx.font=Ot,(wi=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Ot))!==null){var ma=wi[1];wi[2];var Ms=wi[3],Un=wi[4];wi[5];var Us=wi[6],zi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Un)[2];Un=Math.floor(zi==="px"?parseFloat(Un)*this.pdf.internal.scaleFactor:zi==="em"?parseFloat(Un)*this.pdf.getFontSize():parseFloat(Un)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Un);var Cs=function(os){var Sl,$a,wa=[],ba=os.trim();if(ba==="")return U;if(ba in gA)return[gA[ba]];for(;ba!=="";){switch($a=null,Sl=(ba=ql(ba)).charAt(0)){case'"':case"'":$a=A(ba.substring(1),Sl);break;default:$a=e(ba)}if($a===null||(wa.push($a[0]),(ba=ql($a[1]))!==""&&ba.charAt(0)!==","))return U;ba=ba.replace(/^,/,"")}return wa}(Us);if(this.fontFaces){var ps=function(os,Sl){var $a=os.getFontList(),wa=JSON.stringify($a);if(yi===null||pi!==wa){var ba=function(sl){var ws=[];return Object.keys(sl).forEach(function(Go){sl[Go].forEach(function(zs){var ra=null;switch(zs){case"bold":ra={family:Go,weight:"bold"};break;case"italic":ra={family:Go,style:"italic"};break;case"bolditalic":ra={family:Go,weight:"bold",style:"italic"};break;case"":case"normal":ra={family:Go}}ra!==null&&(ra.ref={name:Go,style:zs},ws.push(ra))})}),ws}($a);yi=function(sl){for(var ws={},Go=0;Go=700||ma==="bold")&&(ta="bold"),ma==="italic"&&(ta+="italic"),ta.length===0&&(ta="normal");for(var Pa="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},es=0;es=2*Math.PI&&(mr=0,Tr=2*Math.PI),this.path.push({type:"arc",x:ot,y:Xt,radius:tr,startAngle:mr,endAngle:Tr,counterclockwise:jr})},Ge.prototype.arcTo=function(ot,Xt,tr,mr,Tr){throw new Error("arcTo not implemented.")},Ge.prototype.rect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ot,Xt),this.lineTo(ot+tr,Xt),this.lineTo(ot+tr,Xt+mr),this.lineTo(ot,Xt+mr),this.lineTo(ot,Xt),this.lineTo(ot+tr,Xt),this.lineTo(ot,Xt)},Ge.prototype.fillRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!xe.call(this)){var Tr={};this.lineCap!=="butt"&&(Tr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Tr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ot,Xt,tr,mr),this.fill(),Tr.hasOwnProperty("lineCap")&&(this.lineCap=Tr.lineCap),Tr.hasOwnProperty("lineJoin")&&(this.lineJoin=Tr.lineJoin)}},Ge.prototype.strokeRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(ot,Xt,tr,mr),this.stroke())},Ge.prototype.clearRect=function(ot,Xt,tr,mr){if(isNaN(ot)||isNaN(Xt)||isNaN(tr)||isNaN(mr))throw Ga.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ot,Xt,tr,mr))},Ge.prototype.save=function(ot){ot=typeof ot!="boolean"||ot;for(var Xt=this.pdf.internal.getCurrentPageInfo().pageNumber,tr=0;tr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ge.prototype.drawImage=function(ot,Xt,tr,mr,Tr,jr,un,fn,Bn){var zn=this.pdf.getImageProperties(ot),yi=1,pi=1,As=1,Ot=1;mr!==void 0&&fn!==void 0&&(As=fn/mr,Ot=Bn/Tr,yi=zn.width/mr*fn/mr,pi=zn.height/Tr*Bn/Tr),jr===void 0&&(jr=Xt,un=tr,Xt=0,tr=0),mr!==void 0&&fn===void 0&&(fn=mr,Bn=Tr),mr===void 0&&fn===void 0&&(fn=zn.width,Bn=zn.height);var wi=this.ctx.transform.decompose(),ma=Gr(wi.rotate.shx),Ms=new te,Un=(Ms=(Ms=(Ms=Ms.multiply(wi.translate)).multiply(wi.skew)).multiply(wi.scale)).applyToRectangle(new V(jr-Xt*As,un-tr*Ot,mr*yi,Tr*pi));if(this.autoPaging){for(var Us,zi=kt.call(this,Un),Cs=[],ps=0;psvo||taUn||zi0)){for(;Bn>=0;Bn--)if(Tr[Bn-1].close!==!0&&Tr[Bn-1].begin!==!0){Tr[Bn-1].deltas.push(tr),Tr[Bn-1].abs.push(fn);break}}break;case"bct":tr=[fn.x1-jr[un-1].x,fn.y1-jr[un-1].y,fn.x2-jr[un-1].x,fn.y2-jr[un-1].y,fn.x-jr[un-1].x,fn.y-jr[un-1].y],Tr[Tr.length-1].deltas.push(tr);break;case"qct":var zn=jr[un-1].x+2/3*(fn.x1-jr[un-1].x),yi=jr[un-1].y+2/3*(fn.y1-jr[un-1].y),pi=fn.x+2/3*(fn.x1-fn.x),As=fn.y+2/3*(fn.y1-fn.y),Ot=fn.x,wi=fn.y;tr=[zn-jr[un-1].x,yi-jr[un-1].y,pi-jr[un-1].x,As-jr[un-1].y,Ot-jr[un-1].x,wi-jr[un-1].y],Tr[Tr.length-1].deltas.push(tr);break;case"arc":Tr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tr[Tr.length-1].abs)&&Tr[Tr.length-1].abs.push(fn)}}mr=Xt?null:ot==="stroke"?"stroke":"fill";for(var ma=!1,Ms=0;Ms=.01&&(mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(mr*ot.scale),Tr=this.lineWidth,this.lineWidth=Tr*ot.scale);var aa=this.autoPaging!=="text";if(aa||es.y+es.h<=ps){if(aa||es.y>=zi&&es.x<=ka){var os=aa?ot.text:this.pdf.splitTextToSize(ot.text,ot.maxWidth||ka-es.x)[0],Sl=hr([JSON.parse(JSON.stringify(pi))],this.posX+this.margin[3],-Pa+zi+this.ctx.prevPageLastElemOffset)[0],$a=aa&&(Us>Ms||Us=.01&&(this.pdf.setFontSize(mr),this.lineWidth=Tr)}}else ot.scale>=.01&&(mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(mr*ot.scale),Tr=this.lineWidth,this.lineWidth=Tr*ot.scale),this.pdf.text(ot.text,Bn.x+this.posX,Bn.y+this.posY,{angle:ot.angle,align:Xt,renderingMode:ot.renderingMode,maxWidth:ot.maxWidth}),ot.scale>=.01&&(this.pdf.setFontSize(mr),this.lineWidth=Tr)},dr=function(ot,Xt,tr,mr){tr=tr||0,mr=mr||0,this.pdf.internal.out(s(ot+tr)+" "+c(Xt+mr)+" l")},lr=function(ot,Xt,tr){return this.pdf.lines(ot,Xt,tr,null,null)},$r=function(ot,Xt,tr,mr,Tr,jr,un,fn){this.pdf.internal.out([a(p(tr+ot)),a(E(mr+Xt)),a(p(Tr+ot)),a(E(jr+Xt)),a(p(un+ot)),a(E(fn+Xt)),"c"].join(" "))},on=function(ot,Xt,tr,mr){for(var Tr=2*Math.PI,jr=Math.PI/2;Xt>tr;)Xt-=Tr;var un=Math.abs(tr-Xt);un1e-5;){var yi=zn+Bn*Math.min(un,jr);fn.push(An.call(this,ot,zn,yi)),un-=Math.abs(yi-zn),zn=yi}return fn},An=function(ot,Xt,tr){var mr=(tr-Xt)/2,Tr=ot*Math.cos(mr),jr=ot*Math.sin(mr),un=Tr,fn=-jr,Bn=un*un+fn*fn,zn=Bn+un*Tr+fn*jr,yi=4/3*(Math.sqrt(2*Bn*zn)-zn)/(un*jr-fn*Tr),pi=un-yi*fn,As=fn+yi*un,Ot=pi,wi=-As,ma=mr+Xt,Ms=Math.cos(ma),Un=Math.sin(ma);return{x1:ot*Math.cos(Xt),y1:ot*Math.sin(Xt),x2:pi*Ms-As*Un,y2:pi*Un+As*Ms,x3:Ot*Ms-wi*Un,y3:Ot*Un+wi*Ms,x4:ot*Math.cos(tr),y4:ot*Math.sin(tr)}},Gr=function(ot){return 180*ot/Math.PI},dn=function(ot,Xt,tr,mr,Tr,jr){var un=ot+.5*(tr-ot),fn=Xt+.5*(mr-Xt),Bn=Tr+.5*(tr-Tr),zn=jr+.5*(mr-jr),yi=Math.min(ot,Tr,un,Bn),pi=Math.max(ot,Tr,un,Bn),As=Math.min(Xt,jr,fn,zn),Ot=Math.max(Xt,jr,fn,zn);return new V(yi,As,pi-yi,Ot-As)},Wn=function(ot,Xt,tr,mr,Tr,jr,un,fn){var Bn,zn,yi,pi,As,Ot,wi,ma,Ms,Un,Us,zi,Cs,ps,vo=tr-ot,ka=mr-Xt,ta=Tr-tr,Pa=jr-mr,Ra=un-Tr,es=fn-jr;for(zn=0;zn<41;zn++)Ms=(wi=(yi=ot+(Bn=zn/40)*vo)+Bn*((As=tr+Bn*ta)-yi))+Bn*(As+Bn*(Tr+Bn*Ra-As)-wi),Un=(ma=(pi=Xt+Bn*ka)+Bn*((Ot=mr+Bn*Pa)-pi))+Bn*(Ot+Bn*(jr+Bn*es-Ot)-ma),zn==0?(Us=Ms,zi=Un,Cs=Ms,ps=Un):(Us=Math.min(Us,Ms),zi=Math.min(zi,Un),Cs=Math.max(Cs,Ms),ps=Math.max(ps,Un));return new V(Math.round(Us),Math.round(zi),Math.round(Cs-Us),Math.round(ps-zi))},Fn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ot,Xt,tr=(ot=this.ctx.lineDash,Xt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ot,lineDashOffset:Xt}));this.prevLineDash!==tr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=tr)}}})(Pi.API),function(n){var a=function(q){var V,te,se,Ce,Ge,et,xe,Ft,_t,kt;for(/[^\x00-\xFF]/.test(q),te=[],se=0,Ce=(q+=V="\0\0\0\0".slice(q.length%4||4)).length;Ce>se;se+=4)(Ge=(q.charCodeAt(se)<<24)+(q.charCodeAt(se+1)<<16)+(q.charCodeAt(se+2)<<8)+q.charCodeAt(se+3))!==0?(et=(Ge=((Ge=((Ge=((Ge=(Ge-(kt=Ge%85))/85)-(_t=Ge%85))/85)-(Ft=Ge%85))/85)-(xe=Ge%85))/85)%85,te.push(et+33,xe+33,Ft+33,_t+33,kt+33)):te.push(122);return function(ct,hr){for(var rr=hr;rr>0;rr--)ct.pop()}(te,V.length),String.fromCharCode.apply(String,te)+"~>"},s=function(q){var V,te,se,Ce,Ge,et=String,xe="length",Ft=255,_t="charCodeAt",kt="slice",ct="replace";for(q[kt](-2),q=q[kt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),se=[],Ce=0,Ge=(q+=V="uuuuu"[kt](q[xe]%5||5))[xe];Ge>Ce;Ce+=5)te=52200625*(q[_t](Ce)-33)+614125*(q[_t](Ce+1)-33)+7225*(q[_t](Ce+2)-33)+85*(q[_t](Ce+3)-33)+(q[_t](Ce+4)-33),se.push(Ft&te>>24,Ft&te>>16,Ft&te>>8,Ft&te);return function(hr,rr){for(var Jt=rr;Jt>0;Jt--)hr.pop()}(se,V[xe]),et.fromCharCode.apply(et,se)},c=function(q){return q.split("").map(function(V){return("0"+V.charCodeAt().toString(16)).slice(-2)}).join("")+">"},p=function(q){var V=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((q=q.replace(/\s/g,"")).indexOf(">")!==-1&&(q=q.substr(0,q.indexOf(">"))),q.length%2&&(q+="0"),V.test(q)===!1)return"";for(var te="",se=0;se_t&&(Ft=kt,kt=_t,_t=Ft);else{if(V!=="l"&&V!=="landscape")throw"Invalid orientation: "+V;V="l",_t>kt&&(Ft=kt,kt=_t,_t=Ft)}return{width:kt,height:_t,unit:te,k:Ge,orientation:V}},n.html=function(V,te){(te=te||{}).callback=te.callback||function(){},te.html2canvas=te.html2canvas||{},te.html2canvas.canvas=te.html2canvas.canvas||this.canvas,te.jsPDF=te.jsPDF||this,te.fontFaces=te.fontFaces?te.fontFaces.map(Uu):null;var se=new q(te);return te.worker?se:se.from(V).doCallback()}}(Pi.API),Pi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var p=s.outline.render().split(/\r\n/),E=0;E> endobj")}var xe=s.internal.newObject();for(s.internal.write("<< /Names [ "),E=0;E>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+xe+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,p,E){var q={title:p,options:E,children:[]};return c==null&&(c=this.root),c.children.push(q),q},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var p=0;p0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var p=this.ctx.pdf.internal.getVerticalCoordinateString,E=0;E0&&this.line("/Prev "+this.makeRef(c.children[E-1])),E0&&(this.line("/First "+this.makeRef(q.children[0])),this.line("/Last "+this.makeRef(q.children[q.children.length-1])));var V=this.count=this.count_r({count:0},q);if(V>0&&this.line("/Count "+V),q.options&&q.options.pageNumber){var te=s.internal.getPageInfo(q.options.pageNumber);this.line("/Dest ["+te.objId+" 0 R /XYZ 0 "+p(0)+" 0]")}this.objEnd()}for(var se=0;se>"}),"transparency"in ft&&Array.isArray(ft.transparency)&&ft.transparency.length>0){for(var er="",On=0,or=ft.transparency.length;On>",tt.content=l;var kt=tt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=3};var G=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length==4},be=e.__arabicParser__.resolveLigatures=function(tt){var ut=0,Ze=t,Yt="",kt=0;for(ut=0;ut>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(m){t=m}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(m){r=isNaN(m)||Number.isInteger(m)===!1||m<0?150:m,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(m){a=isNaN(m)||Number.isInteger(m)===!1||m<0?300:m,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(m){l=m}});var y={};Object.defineProperty(this,"style",{get:function(){return y},set:function(m){y=m}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(to.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var F=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return F},set:function(tt){F=tt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var G=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return G},set:function(tt){G=tt}});var be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return be},set:function(tt){be=tt}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(tt){Le=tt}});var V=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return V},set:function(tt){V=tt}});var st=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return st},set:function(tt){st=tt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(F){return r.call(this),this.internal.__cell__.headerFunction=typeof F=="function"?F:void 0,this},e.getTextDimensions=function(F,U){r.call(this);var G=(U=U||{}).fontSize||this.getFontSize(),be=U.font||this.getFont(),Le=U.scaleFactor||this.internal.scaleFactor,V=0,st=0,tt=0,ut=this;if(!Array.isArray(F)&&typeof F!="string"){if(typeof F!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");F=String(F)}var Ze=U.maxWidth;Ze>0?typeof F=="string"?F=this.splitTextToSize(F,Ze):Object.prototype.toString.call(F)==="[object Array]"&&(F=F.reduce(function(kt,It){return kt.concat(ut.splitTextToSize(It,Ze))},[])):F=Array.isArray(F)?F:[F];for(var Yt=0;Ytthis.getPageHeight()?(this.cellAddPage(),F.y=be.top,V&&Le&&(this.printHeaderRow(F.lineNumber,!0),F.y+=Le[0].height)):F.y=U.y+U.height||F.y),F.text[0]!==void 0&&(this.rect(F.x,F.y,F.width,F.height,t===!0?"FD":void 0),F.align==="right"?this.text(F.text,F.x+F.width-G,F.y+G,{align:"right",baseline:"top"}):F.align==="center"?this.text(F.text,F.x+F.width/2,F.y+G,{align:"center",baseline:"top",maxWidth:F.width-G-G}):this.text(F.text,F.x+G,F.y+G,{align:"left",baseline:"top",maxWidth:F.width-G-G})),this.internal.__cell__.lastCell=F,this};e.table=function(F,U,G,be,Le){if(r.call(this),!G)throw new Error("No data for PDF table.");var V,st,tt,ut,Ze=[],Yt=[],kt=[],It={},Rn={},dr=[],Jn=[],An=(Le=Le||{}).autoSize||!1,Ft=Le.printHeaders!==!1,wn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,ze=Le.margins||Object.assign({width:this.getPageWidth()},n),ft=typeof Le.padding=="number"?Le.padding:3,Jt=Le.headerBackgroundColor||"#c8c8c8",Zt=Le.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Ft,this.internal.__cell__.margins=ze,this.internal.__cell__.table_font_size=wn,this.internal.__cell__.padding=ft,this.internal.__cell__.headerBackgroundColor=Jt,this.internal.__cell__.headerTextColor=Zt,this.setFontSize(wn),be==null)Yt=Ze=Object.keys(G[0]),kt=Ze.map(function(){return"left"});else if(Array.isArray(be)&&(0,A.Z)(be[0])==="object")for(Ze=be.map(function(iA){return iA.name}),Yt=be.map(function(iA){return iA.prompt||iA.name||""}),kt=be.map(function(iA){return iA.align||"left"}),V=0;V0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(to.API);var ms={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ds=ei(wc),zs=[100,200,300,400,500,600,700,800,900],yu=ei(zs);function Sl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ms[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),a=function(l){return typeof Ds[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function yc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function kp(e,n,t){var r=e.length,a=[];a[0]=4;for(var l=0;l>l&y}function Kp(e,n,t,r){var a=t*r,l=Math.floor(a/8),y=16-(a-8*l+r),m=(1<>8&255;U.setUint8(G,Le)}})(e,l,zp(e,l)&~(m<>7,y=1<<1+(7&a);e[n++],e[n++];var m=null,F=null;l&&(m=n,F=y,n+=3*y);var U=!0,G=[],be=0,Le=null,V=0,st=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];be=e[n++]|e[n++]<<8,Le=e[n++],1&tt||(Le=null),V=tt>>2&7,n++;break;case 254:for(;;){if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ut=e[n++]|e[n++]<<8,Ze=e[n++]|e[n++]<<8,Yt=e[n++]|e[n++]<<8,kt=e[n++]|e[n++]<<8,It=e[n++],Rn=It>>6&1,dr=1<<1+(7&It),Jn=m,An=F,Ft=!1;It>>7&&(Ft=!0,Jn=n,An=dr,n+=3*dr);var wn=n;for(n++;;){var ze;if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}G.push({x:ut,y:Ze,width:Yt,height:kt,has_local_palette:Ft,palette_offset:Jn,palette_size:An,data_offset:wn,data_length:n-wn,transparent_index:Le,interlaced:!!Rn,delay:be,disposal:V});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return G.length},this.loopCount=function(){return st},this.frameInfo=function(ft){if(ft<0||ft>=G.length)throw new Error("Frame index out of range.");return G[ft]},this.decodeAndBlitFrameBGRA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=FA,Jt[Rt++]=Vr,Jt[Rt++]=Cr,Jt[Rt++]=255}--Fr}},this.decodeAndBlitFrameRGBA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=Cr,Jt[Rt++]=Vr,Jt[Rt++]=FA,Jt[Rt++]=255}--Fr}}}function Zp(e,n,t,r){for(var a=e[n++],l=1<>=F,G-=F,ut!==l){if(ut===y)break;for(var Ze=utl;)kt=st[kt]>>8,++Yt;var It=kt;if(Le+Yt+(Ze!==ut?1:0)>r)return void ci.log("Warning, gif stream longer than expected.");t[Le++]=It;var Rn=Le+=Yt;for(Ze!==ut&&(t[Le++]=It),kt=Ze;Yt--;)kt=st[kt],t[--Rn]=255&kt,kt>>=8;tt!==null&&m<4096&&(st[m++]=tt<<8|It,m>=U+1&&F<12&&(++F,U=U<<1|1)),tt=ut}else m=y+1,U=(1<<(F=a+1))-1,tt=null}return Le!==r&&ci.log("Warning, gif stream shorter than expected."),t}function V0(e){var n,t,r,a,l,y=Math.floor,m=new Array(64),F=new Array(64),U=new Array(64),G=new Array(64),be=new Array(65535),Le=new Array(65535),V=new Array(64),st=new Array(64),tt=[],ut=0,Ze=7,Yt=new Array(64),kt=new Array(64),It=new Array(64),Rn=new Array(256),dr=new Array(2048),Jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],An=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ft=[0,1,2,3,4,5,6,7,8,9,10,11],wn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ze=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Jt=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gn(ke,bt){for(var Rt=0,qt=0,un=new Array,In=1;In<=16;In++){for(var Yn=1;Yn<=ke[In];Yn++)un[bt[qt]]=[],un[bt[qt]][0]=Rt,un[bt[qt]][1]=In,qt++,Rt++;Rt*=2}return un}function er(ke){for(var bt=ke[0],Rt=ke[1]-1;Rt>=0;)bt&1<>8&255),On(255&ke)}function iA(ke,bt,Rt,qt,un){for(var In,Yn=un[0],nr=un[240],Cr=function(kr,Po){var YA,xo,Co,Ai,La,ea,ja,Ra,ao,ia,uo=0;for(ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+1],Co=kr[uo+2],Ai=kr[uo+3],La=kr[uo+4],ea=kr[uo+5],ja=kr[uo+6];var ds=YA+(Ra=kr[uo+7]),Ka=YA-Ra,Ca=xo+ja,wa=xo-ja,Hi=Co+ea,yo=Co-ea,Ei=Ai+La,To=Ai-La,ta=ds+Ei,Mi=ds-Ei,Sa=Ca+Hi,Oo=Ca-Hi;kr[uo]=ta+Sa,kr[uo+4]=ta-Sa;var oi=.707106781*(Oo+Mi);kr[uo+2]=Mi+oi,kr[uo+6]=Mi-oi;var tf=.382683433*((ta=To+yo)-(Oo=wa+Ka)),il=.5411961*ta+tf,Eu=1.306562965*Oo+tf,$c=.707106781*(Sa=yo+wa),Uo=Ka+$c,xu=Ka-$c;kr[uo+5]=xu+il,kr[uo+3]=xu-il,kr[uo+1]=Uo+Eu,kr[uo+7]=Uo-Eu,uo+=8}for(uo=0,ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+8],Co=kr[uo+16],Ai=kr[uo+24],La=kr[uo+32],ea=kr[uo+40],ja=kr[uo+48];var Iu=YA+(Ra=kr[uo+56]),_l=YA-Ra,$l=xo+ja,rs=xo-ja,js=Co+ea,Zs=Co-ea,nf=Ai+La,dd=Ai-La,Ic=Iu+nf,eu=Iu-nf,Sc=$l+js,Fc=$l-js;kr[uo]=Ic+Sc,kr[uo+32]=Ic-Sc;var ec=.707106781*(Fc+eu);kr[uo+16]=eu+ec,kr[uo+48]=eu-ec;var rf=.382683433*((Ic=dd+Zs)-(Fc=rs+_l)),tu=.5411961*Ic+rf,Af=1.306562965*Fc+rf,Zf=.707106781*(Sc=Zs+rs),Wf=_l+Zf,Xf=_l-Zf;kr[uo+40]=Xf+tu,kr[uo+24]=Xf-tu,kr[uo+8]=Wf+Af,kr[uo+56]=Wf-Af,uo++}for(ao=0;ao<64;++ao)ia=kr[ao]*Po[ao],V[ao]=ia>0?ia+.5|0:ia-.5|0;return V}(ke,bt),Vr=0;Vr<64;++Vr)st[Jn[Vr]]=Cr[Vr];var FA=st[0]-Rt;Rt=st[0],FA==0?er(qt[0]):(er(qt[Le[In=32767+FA]]),er(be[In]));for(var SA=63;SA>0&&st[SA]==0;)SA--;if(SA==0)return er(Yn),Rt;for(var go,ht=1;ht<=SA;){for(var QA=ht;st[ht]==0&&ht<=SA;)++ht;var va=ht-QA;if(va>=16){go=va>>4;for(var Qo=1;Qo<=go;++Qo)er(nr);va&=15}In=32767+st[ht],er(un[(va<<4)+Le[In]]),er(be[In]),ht++}return SA!=63&&er(Yn),Rt}function Fr(ke){ke=Math.min(Math.max(ke,1),100),l!=ke&&(function(bt){for(var Rt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],qt=0;qt<64;qt++){var un=y((Rt[qt]*bt+50)/100);un=Math.min(Math.max(un,1),255),m[Jn[qt]]=un}for(var In=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Yn=0;Yn<64;Yn++){var nr=y((In[Yn]*bt+50)/100);nr=Math.min(Math.max(nr,1),255),F[Jn[Yn]]=nr}for(var Cr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vr=0,FA=0;FA<8;FA++)for(var SA=0;SA<8;SA++)U[Vr]=1/(m[Jn[Vr]]*Cr[FA]*Cr[SA]*8),G[Vr]=1/(F[Jn[Vr]]*Cr[FA]*Cr[SA]*8),Vr++}(ke<50?Math.floor(5e3/ke):Math.floor(200-2*ke)),l=ke)}this.encode=function(ke,bt){bt&&Fr(bt),tt=new Array,ut=0,Ze=7,or(65496),or(65504),or(16),On(74),On(70),On(73),On(70),On(0),On(1),On(1),On(0),or(1),or(1),On(0),On(0),function(){or(65499),or(132),On(0);for(var xo=0;xo<64;xo++)On(m[xo]);On(1);for(var Co=0;Co<64;Co++)On(F[Co])}(),function(xo,Co){or(65472),or(17),On(8),or(Co),or(xo),On(3),On(1),On(17),On(0),On(2),On(17),On(1),On(3),On(17),On(1)}(ke.width,ke.height),function(){or(65476),or(418),On(0);for(var xo=0;xo<16;xo++)On(An[xo+1]);for(var Co=0;Co<=11;Co++)On(Ft[Co]);On(16);for(var Ai=0;Ai<16;Ai++)On(wn[Ai+1]);for(var La=0;La<=161;La++)On(ze[La]);On(1);for(var ea=0;ea<16;ea++)On(ft[ea+1]);for(var ja=0;ja<=11;ja++)On(Jt[ja]);On(17);for(var Ra=0;Ra<16;Ra++)On(Zt[Ra+1]);for(var ao=0;ao<=161;ao++)On(Mn[ao])}(),or(65498),or(12),On(3),On(1),On(0),On(2),On(17),On(3),On(17),On(0),On(63),On(0);var Rt=0,qt=0,un=0;ut=0,Ze=7,this.encode.displayName="_encode_";for(var In,Yn,nr,Cr,Vr,FA,SA,go,ht,QA=ke.data,va=ke.width,Qo=ke.height,kr=4*va,Po=0;Po>3)*kr+(SA=4*(7&ht)),Po+go>=Qo&&(FA-=kr*(Po+1+go-Qo)),In+SA>=kr&&(FA-=In+SA-kr+4),Yn=QA[FA++],nr=QA[FA++],Cr=QA[FA++],Yt[ht]=(dr[Yn]+dr[nr+256|0]+dr[Cr+512|0]>>16)-128,kt[ht]=(dr[Yn+768|0]+dr[nr+1024|0]+dr[Cr+1280|0]>>16)-128,It[ht]=(dr[Yn+1280|0]+dr[nr+1536|0]+dr[Cr+1792|0]>>16)-128;Rt=iA(Yt,U,Rt,n,r),qt=iA(kt,G,qt,t,a),un=iA(It,G,un,t,a),In+=32}Po+=8}if(Ze>=0){var YA=[];YA[1]=Ze+1,YA[0]=(1<ft;ft++)if(Ft[wn+ft]!=ze.charCodeAt(ft))return!0;return!1}function r(Ft,wn,ze,ft,Jt){for(var Zt=0;ZtZt+1?[]:new wn),!(Mn.length>>0;c&z;)z>>>=1;return z?(c&z-1)+z:c}function ze(c,v,z,re,Ie){n(!(re%z));do c[v+(re-=z)]=Ie;while(0=Ie),512>=Ie)var Ne=l(512);else if((Ne=l(Ie))==null)return 0;return function(Te,Ge,$e,gt,tn,Ln){var pt,ln,yn=Ge,ur=1<<$e,Qn=l(16),fr=l(16);for(n(tn!=0),n(gt!=null),n(Te!=null),n(0<$e),ln=0;lnpt;++pt){if(Qn[pt]>1<(da-=Qn[pt]))return 0;for(;0=pt;++pt,tn<<=1){if(XA+=da<<=1,0>(da-=Qn[pt]))return 0;for(;0Zr&&!(0>=(mr-=Qn[Zr]));)++Zr,mr<<=1;ur+=no=1<<(mr=Zr-$e),Te[Ge+(Zr=lo&Ur)].g=mr+$e,Te[Ge+Zr].value=yn-Ge-Zr}gt.g=pt-$e,gt.value=Ln[ln++],ze(Te,yn+(lo>>$e),tn,no,gt),lo=wn(lo,pt)}}return XA!=2*fr[15]-1?0:ur}(c,v,z,re,Ie,Ne)}function Jt(){this.value=this.g=0}function Zt(){this.value=this.g=0}function Mn(){this.G=y(5,Jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=y(pf,Zt)}function Gn(c,v,z,re){n(c!=null),n(v!=null),n(2147483648>re),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=v,c.pa=z,c.Jd=v,c.Yc=z+re,c.Zc=4<=re?z+re-4+1:z,Yn(c)}function er(c,v){for(var z=0;0re),c.Sb=re,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;qt(c)&&(c.h=1,c.u=0)}function Fr(c,v){if(n(0<=v),!c.h&&v<=Tl){var z=Rt(c)&jl[v];return c.u+=v,iA(c),z}return c.h=1,c.u=0}function ke(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Rt(c){return c.Ra>>>(c.u&pd-1)>>>0}function qt(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>pd}function un(c,v){c.u=v,c.h=qt(c)}function In(c){c.u>=ju&&(n(c.u>=ju),iA(c))}function Yn(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&Yn(c);var re=c.b,Ie=z*v>>>8,Ne=(c.I>>>re>Ie)+0;for(Ne?(z-=Ie,c.I-=Ie+1<>>0):z=Ie+1,re=z,Ie=0;256<=re;)Ie+=8,re>>=8;return re=7^Ie+vd[re],c.b-=re,c.Ca=(z<>24&255,c[v+1]=z>>16&255,c[v+2]=z>>8&255,c[v+3]=255&z}function FA(c,v){return c[v+0]|c[v+1]<<8}function SA(c,v){return FA(c,v)|c[v+2]<<16}function go(c,v){return FA(c,v)|FA(c,v+2)<<16}function ht(c,v){var z=1<=Ie||0>=Ne?0:(z[0]=Ie,re[0]=Ne,1)}function kr(c,v){return c+(1<>>v}function Po(c,v){return((4278255360&c)+(4278255360&v)>>>0&4278255360)+((16711935&c)+(16711935&v)>>>0&16711935)>>>0}function YA(c,v){Ft[v]=function(z,re,Ie,Ne,Te,Ge,$e){var gt;for(gt=0;gt>>1)+(c&v)>>>0}function Ai(c){return 0<=c&&256>c?c:0>c?0:255>1))}function ea(c,v,z){return Math.abs(v-z)-Math.abs(c-z)}function ja(c,v,z,re,Ie,Ne,Te){for(re=Ne[Te-1],z=0;z>8&255,$e=16711935&($e=($e=16711935&Te)+((Ge<<16)+Ge));re[Ie+Ne]=(4278255360&Te)+$e>>>0}}function ao(c,v){v.jd=255&c,v.hd=c>>8&255,v.ud=c>>16&255}function ia(c,v,z,re,Ie,Ne){var Te;for(Te=0;Te>>8,gt=Ge,tn=255&(tn=(tn=Ge>>>16)+((c.jd<<24>>24)*($e<<24>>24)>>>5));gt=255&(gt=(gt+=(c.hd<<24>>24)*($e<<24>>24)>>>5)+((c.ud<<24>>24)*(tn<<24>>24)>>>5)),Ie[Ne+Te]=(4278255360&Ge)+(tn<<16)+gt}}function uo(c,v,z,re,Ie){Ft[v]=function(Ne,Te,Ge,$e,gt,tn,Ln,pt,ln){for($e=Ln;$e>Ne.b,ln=Ne.Ea,yn=Ne.K[0],ur=Ne.w;if(8>pt)for(Ne=(1<>=pt}else Ft["VP8LMapColor"+z]($e,gt,yn,ur,tn,Ln,Te,Ge,ln)}}function ds(c,v,z,re,Ie){for(z=v+z;v>16&255,re[Ie++]=Ne>>8&255,re[Ie++]=255&Ne}}function Ka(c,v,z,re,Ie){for(z=v+z;v>16&255,re[Ie++]=Ne>>8&255,re[Ie++]=255&Ne,re[Ie++]=Ne>>24&255}}function Ca(c,v,z,re,Ie){for(z=v+z;v>16&240|Te>>12&15,Te=240&Te|Te>>28&15;re[Ie++]=Ne,re[Ie++]=Te}}function wa(c,v,z,re,Ie){for(z=v+z;v>16&248|Te>>13&7,Te=Te>>5&224|Te>>3&31;re[Ie++]=Ne,re[Ie++]=Te}}function Hi(c,v,z,re,Ie){for(z=v+z;v>8&255,re[Ie++]=Ne>>16&255}}function yo(c,v,z,re,Ie,Ne){if(Ne==0)for(z=v+z;v>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Ie+=32;else r(re,Ie,c,v,z)}function Ei(c,v){Ft[v][0]=Ft[c+"0"],Ft[v][1]=Ft[c+"1"],Ft[v][2]=Ft[c+"2"],Ft[v][3]=Ft[c+"3"],Ft[v][4]=Ft[c+"4"],Ft[v][5]=Ft[c+"5"],Ft[v][6]=Ft[c+"6"],Ft[v][7]=Ft[c+"7"],Ft[v][8]=Ft[c+"8"],Ft[v][9]=Ft[c+"9"],Ft[v][10]=Ft[c+"10"],Ft[v][11]=Ft[c+"11"],Ft[v][12]=Ft[c+"12"],Ft[v][13]=Ft[c+"13"],Ft[v][14]=Ft[c+"0"],Ft[v][15]=Ft[c+"0"]}function To(c){return c==dp||c==fp||c==p0||c==hp}function ta(){this.eb=[],this.size=this.A=this.fb=0}function Mi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Sa(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ta,this.f.kb=new Mi,this.sd=null}function Oo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function il(c,v){var z=c.T,re=v.ba.f.RGBA,Ie=re.eb,Ne=re.fb+c.ka*re.A,Te=ac[v.ba.S],Ge=c.y,$e=c.O,gt=c.f,tn=c.N,Ln=c.ea,pt=c.W,ln=v.cc,yn=v.dc,ur=v.Mc,Qn=v.Nc,fr=c.ka,mr=c.ka+c.T,Zr=c.U,Ur=Zr+1>>1;for(fr==0?Te(Ge,$e,null,null,gt,tn,Ln,pt,gt,tn,Ln,pt,Ie,Ne,null,null,Zr):(Te(v.ec,v.fc,Ge,$e,ln,yn,ur,Qn,gt,tn,Ln,pt,Ie,Ne-re.A,Ie,Ne,Zr),++z);fr+2z,Ie=z==f0||z==h0||z==g0||z==up||z==12||To(z);if(v.memory=null,v.Ib=null,v.Jb=null,v.Nd=null,!eg(v.Oa,c,Ie?11:12))return 0;if(Ie&&To(z)&&qh(),c.da)alert("todo:use_scaling");else{if(re){if(v.Ib=tf,c.Kb){if(z=c.U+1>>1,v.memory=l(c.U+2*z),v.memory==null)return 0;v.ec=v.memory,v.fc=0,v.cc=v.ec,v.dc=v.fc+c.U,v.Mc=v.cc,v.Nc=v.dc+z,v.Ib=il,qh()}}else alert("todo:EmitYUV");Ie&&(v.Jb=Eu,re&&Pc())}if(re&&!Bv){for(c=0;256>c;++c)mm[c]=89858*(c-128)+m0>>v0,wm[c]=-22014*(c-128)+m0,Cm[c]=-45773*(c-128),Bm[c]=113618*(c-128)+m0>>v0;for(c=cg;c>v0,ym[c-cg]=nu(v,255),bm[c-cg]=nu(v+8>>4,15);Bv=1}return 1}function Uo(c){var v=c.ma,z=c.U,re=c.T;return n(!(1&c.ka)),0>=z||0>=re?0:(z=v.Ib(c,v),v.Jb!=null&&v.Jb(c,v,z),v.Dc+=z,1)}function xu(c){c.ma.memory=null}function Iu(c,v,z,re){return Fr(c,8)!=47?0:(v[0]=Fr(c,14)+1,z[0]=Fr(c,14)+1,re[0]=Fr(c,1),Fr(c,3)!=0?0:!c.h)}function _l(c,v){if(4>c)return c+1;var z=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&z)))?z:1;var z}function rs(c,v,z){var re=Rt(z),Ie=c[v+=255&re].g-8;return 0>>0,n(8>=z.g),c.g}function Zs(c,v,z){var re=c.xc;return n((v=re==0?0:c.vc[c.md*(z>>re)+(v>>re)])>no.b)*XA;urZr&&(ro=Zr),(0,Ag[Ta[Qs++]>>8&15])(pt,ln+ +fa,fr,mr+fa-Zr,ro-fa,fr,mr+fa),fa=ro}ln+=Zr,mr+=Zr,++ur&lo||(no+=XA)}Ln!=gt.nc&&r($e,Ge-yn,$e,Ge+(Ln-tn-1)*yn,yn);break;case 1:for(yn=pt,Qn=ln,Zr=(pt=gt.Ea)-(mr=pt&~(fr=(ln=1<>gt.b)*ur;tn=Ie),0Ne.o&&(re=Ne.o),z=re?z=0:(Ie[0]+=4*Ne.v,Ne.ka=z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=re-z,z=1),z){if(Ge=Ge[0],11>(z=c.ca).S){var tn=z.f.RGBA,Ln=(re=z.S,Ie=Ne.U,Ne=Ne.T,gt=tn.eb,tn.A),pt=Ne;for(tn=tn.fb+c.Ma*tn.A;0re){var Ie=c.l.width,Ne=z.ca,Te=z.tb+Ie*re,Ge=c.V,$e=c.Ba+c.c*re,gt=c.gc;n(c.ab==1),n(gt[0].hc==3),au(gt[0],re,v,Ge,$e,Ne,Te),eu(z,re,v,Ne,Te,Ie)}c.C=c.Ma=v}function Fc(c,v,z,re,Ie,Ne,Te){var Ge=c.$/re,$e=c.$%re,gt=c.m,tn=c.s,Ln=z+c.$,pt=Ln;Ie=z+re*Ie;var ln=z+re*Ne,yn=280+tn.ua,ur=c.Pb?Ge:16777216,Qn=0=ur){var lo=Ln-z;n((ur=c).Pb),ur.wd=ur.m,ur.xd=lo,0da.g?(un(Ur,Ur.u+da.g),lo[XA]=da.value,Ur=0):(un(Ur,Ur.u+da.g-256),n(256<=da.value),Ur=da.value),Ur==0&&(Zr=!0)}else Ur=rs(mr.G[0],mr.H[0],gt);if(gt.h)break;if(Zr||256>Ur){if(!Zr)if(mr.nd)v[Ln]=(mr.qb|Ur<<8)>>>0;else{if(In(gt),Zr=rs(mr.G[1],mr.H[1],gt),In(gt),lo=rs(mr.G[2],mr.H[2],gt),XA=rs(mr.G[3],mr.H[3],gt),gt.h)break;v[Ln]=(XA<<24|Zr<<16|Ur<<8|lo)>>>0}if(Zr=!1,++Ln,++$e>=re&&($e=0,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge),Qn!=null))for(;pt>>Qn.Mb]=Ur}else if(280>Ur){if(Ur=_l(Ur-256,gt),lo=rs(mr.G[4],mr.H[4],gt),In(gt),lo=$l(re,lo=_l(lo,gt)),gt.h)break;if(Ln-z=re;)$e-=re,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge);if(n(Ln<=Ie),$e&fr&&(mr=Zs(tn,$e,Ge)),Qn!=null)for(;pt>>Qn.Mb]=Ur}else{if(!(Ur>>Qn.Mb]=Ur;Ur=Ln,n(!(Zr>>>(lo=Qn).Xa)),v[Ur]=lo.X[Zr],Zr=!0}Zr||n(gt.h==qt(gt))}if(c.Pb&>.h&&LnNe?Ne:Ge),c.a=0,c.$=Ln-z}return 1}return c.a=3,0}function ec(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var v=c.Wa;v!=null&&(v.X=null),c.vb=null,n(c!=null)}function rf(){var c=new Vo;return c==null?null:(c.a=0,c.xb=fv,Ei("Predictor","VP8LPredictors"),Ei("Predictor","VP8LPredictors_C"),Ei("PredictorAdd","VP8LPredictorsAdd"),Ei("PredictorAdd","VP8LPredictorsAdd_C"),fs=Ra,og=ia,ag=ds,md=Ka,Bd=Ca,Cd=wa,vf=Hi,Ft.VP8LMapColor32b=ou,Ft.VP8LMapColor8b=rg,c)}function tu(c,v,z,re,Ie){var Ne=1,Te=[c],Ge=[v],$e=re.m,gt=re.s,tn=null,Ln=0;e:for(;;){if(z)for(;Ne&&Fr($e,1);){var pt=Te,ln=Ge,yn=re,ur=1,Qn=yn.m,fr=yn.gc[yn.ab],mr=Fr(Qn,2);if(yn.Oc&1<=yn.ab),mr){case 0:case 1:fr.b=Fr(Qn,3)+2,ur=tu(kr(fr.Ea,fr.b),kr(fr.nc,fr.b),0,yn,fr.K),fr.K=fr.K[0];break;case 3:var Zr,Ur=Fr(Qn,8)+1,lo=16>no.b),Qs=l(Ta);if(Qs==null)Zr=0;else{var fa=no.K[0],ro=no.w;for(Qs[0]=no.K[0][0],XA=1;XA<1*da;++XA)Qs[XA]=Po(fa[ro+XA],Qs[XA-1]);for(;XA<4*Ta;++XA)Qs[XA]=0;no.K[0]=null,no.K[0]=Qs,Zr=1}}ur=Zr;break;case 2:break;default:n(0)}Ne=ur}}if(Te=Te[0],Ge=Ge[0],Ne&&Fr($e,1)&&!(Ne=1<=(Ln=Fr($e,4))&&11>=Ln)){re.a=3;break e}var bA;if(bA=Ne)t:{var gs,na,ka,Li=re,Vs=Te,gl=Ge,As=Ln,sl=z,pl=Li.m,Ps=Li.s,Za=[null],ui=1,os=0,di=om[As];n:for(;;){if(sl&&Fr(pl,1)){var Gs=Fr(pl,3)+2,Uc=kr(Vs,Gs),ps=kr(gl,Gs),Fl=Uc*ps;if(!tu(Uc,ps,0,Li,Za))break n;for(Za=Za[0],Ps.xc=Gs,gs=0;gs>8&65535;Za[gs]=Bi,Bi>=ui&&(ui=Bi+1)}}if(pl.h)break n;for(na=0;5>na;++na){var Os=uv[na];!na&&0=vl),Kl=kl;var Ql=l(os);if(Kl==null||Ql==null||Ml==null){Li.a=1;break n}var zl=Ml;for(gs=ka=0;gsna;++na){Os=uv[na],Zl[na]=zl,Lc[na]=ka,!na&&0E0)break r}else Cp=E0;for(dg=0;dgnh)Iv[dg++]=nh,nh!=0&&(Sv=nh);else{var Lm=nh==16,Pv=nh-16,Rm=tm[Pv],Ov=Fr(xd,em[Pv])+Rm;if(dg+Ov>E0)break r;for(var Nm=Lm?Sv:0;0=na){var fg,yp=Ql[0];for(fg=1;fgyp&&(yp=Ql[fg]);Js+=yp}}if(Ii.nd=Mu,Ii.Qb=0,Mu&&(Ii.qb=(Zl[3][Lc[3]+0].value<<24|Zl[1][Lc[1]+0].value<<16|Zl[2][Lc[2]+0].value)>>>0,Bf==0&&256>Zl[0][Lc[0]+0].value&&(Ii.Qb=1,Ii.qb+=Zl[0][Lc[0]+0].value<<8)),Ii.jc=!Ii.Qb&&6>Js,Ii.jc){var x0,ku=Ii;for(x0=0;x0>=js(I0,8,Sd),Id>>=js(ku.G[1][ku.H[1]+Id],16,Sd),Id>>=js(ku.G[2][ku.H[2]+Id],0,Sd),js(ku.G[3][ku.H[3]+Id],24,Sd))}}}Ps.vc=Za,Ps.Wb=ui,Ps.Ya=Kl,Ps.yc=Ml,bA=1;break t}bA=0}if(!(Ne=bA)){re.a=3;break e}if(0re+1?[]:0),!(Ie.lengthc?0:c>v?v:c}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Yg;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,lg||(lg=Gf)),c}function Bs(c,v,z){return c.a==0&&(c.a=v,c.sc=z,c.cb=0),0}function qg(c,v,z){return 3<=z&&c[v+0]==157&&c[v+1]==1&&c[v+2]==42}function ru(c,v){if(c==null)return 0;if(c.a=0,c.sc="OK",v==null)return Bs(c,2,"null VP8Io passed to VP8GetHeaders()");var z=v.data,re=v.w,Ie=v.ha;if(4>Ie)return Bs(c,7,"Truncated header.");var Ne=z[re+0]|z[re+1]<<8|z[re+2]<<16,Te=c.Od;if(Te.Rb=!(1&Ne),Te.td=Ne>>1&7,Te.yd=Ne>>4&1,Te.ub=Ne>>5,3Ie)return Bs(c,7,"cannot parse picture header");if(!qg(z,re,Ie))return Bs(c,3,"Bad code word");Ge.c=16383&(z[re+4]<<8|z[re+3]),Ge.Td=z[re+4]>>6,Ge.i=16383&(z[re+6]<<8|z[re+5]),Ge.Ud=z[re+6]>>6,re+=7,Ie-=7,c.za=Ge.c+15>>4,c.Ub=Ge.i+15>>4,v.width=Ge.c,v.height=Ge.i,v.Da=0,v.j=0,v.v=0,v.va=v.width,v.o=v.height,v.da=0,v.ib=v.width,v.hb=v.height,v.U=v.width,v.T=v.height,a((Ne=c.Pa).jb,0,255,Ne.jb.length),n((Ne=c.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,a(Ne.Zb,0,0,Ne.Zb.length),a(Ne.Lb,0,0,Ne.Lb)}if(Te.ub>Ie)return Bs(c,7,"bad partition length");Gn(Ne=c.m,z,re,Te.ub),re+=Te.ub,Ie-=Te.ub,Te.Rb&&(Ge.Ld=nr(Ne),Ge.Kd=nr(Ne)),Ge=c.Qa;var $e,gt=c.Pa;if(n(Ne!=null),n(Ge!=null),Ge.Cb=nr(Ne),Ge.Cb){if(Ge.Bb=nr(Ne),nr(Ne)){for(Ge.Fb=nr(Ne),$e=0;4>$e;++$e)Ge.Zb[$e]=nr(Ne)?On(Ne,7):0;for($e=0;4>$e;++$e)Ge.Lb[$e]=nr(Ne)?On(Ne,6):0}if(Ge.Bb)for($e=0;3>$e;++$e)gt.jb[$e]=nr(Ne)?er(Ne,8):255}else Ge.Bb=0;if(Ne.Ka)return Bs(c,3,"cannot parse segment header");if((Ge=c.ed).zd=nr(Ne),Ge.Tb=er(Ne,6),Ge.wb=er(Ne,3),Ge.Pc=nr(Ne),Ge.Pc&&nr(Ne)){for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.vd[gt]=On(Ne,6));for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.od[gt]=On(Ne,6))}if(c.L=Ge.Tb==0?0:Ge.zd?1:2,Ne.Ka)return Bs(c,3,"cannot parse filter header");var tn=Ie;if(Ie=$e=re,re=$e+tn,Ge=tn,c.Xb=(1<Ge&&(Ln=Ge),Gn(c.Jc[+tn],z,$e,Ln),$e+=Ln,Ge-=Ln,Ie+=3}Gn(c.Jc[+gt],z,$e,Ge),z=$eLn;++Ln){if(tn.Cb){var pt=tn.Zb[Ln];tn.Fb||(pt+=z)}else{if(0>16,8>ln.Eb[1]&&(ln.Eb[1]=8),ln.Qc[0]=gp[nu(pt+gt,117)],ln.Qc[1]=pp[nu(pt+$e,127)],ln.lc=pt+$e}if(!Te.Rb)return Bs(c,4,"Not a key frame.");for(nr(Ne),Te=c.Pa,z=0;4>z;++z){for(Ie=0;8>Ie;++Ie)for(re=0;3>re;++re)for(Ge=0;11>Ge;++Ge)gt=Cr(Ne,um[z][Ie][re][Ge])?er(Ne,8):lm[z][Ie][re][Ge],Te.Wc[z][Ie].Yb[re][Ge]=gt;for(Ie=0;17>Ie;++Ie)Te.Xc[z][Ie]=Te.Wc[z][dm[Ie]]}return c.kc=nr(Ne),c.kc&&(c.Bd=er(Ne,8)),c.cb=1}function Gf(c,v,z,re,Ie,Ne,Te){var Ge=v[Ie].Yb[z];for(z=0;16>Ie;++Ie){if(!Cr(c,Ge[z+0]))return Ie;for(;!Cr(c,Ge[z+1]);)if(Ge=v[++Ie].Yb[0],z=0,Ie==16)return 16;var $e=v[Ie+1].Yb;if(Cr(c,Ge[z+2])){var gt=c,tn=0;if(Cr(gt,(pt=Ge)[(Ln=z)+3]))if(Cr(gt,pt[Ln+6])){for(Ge=0,Ln=2*(tn=Cr(gt,pt[Ln+8]))+(pt=Cr(gt,pt[Ln+9+tn])),tn=0,pt=im[Ln];pt[Ge];++Ge)tn+=tn+Cr(gt,pt[Ge]);tn+=3+(8<(gt=c).b&&Yn(gt);var Ln,pt=gt.b,ln=(Ln=gt.Ca>>1)-(gt.I>>pt)>>31;--gt.b,gt.Ca+=ln,gt.Ca|=1,gt.I-=(Ln+1&ln)<>3),c[v+z+32*re]=-256&Ie?0>Ie?0:255:Ie}function Is(c,v,z,re,Ie,Ne){nc(c,v,0,z,re+Ie),nc(c,v,1,z,re+Ne),nc(c,v,2,z,re-Ne),nc(c,v,3,z,re-Ie)}function Su(c){return(20091*c>>16)+c}function $g(c,v,z,re){var Ie,Ne=0,Te=l(16);for(Ie=0;4>Ie;++Ie){var Ge=c[v+0]+c[v+8],$e=c[v+0]-c[v+8],gt=(35468*c[v+4]>>16)-Su(c[v+12]),tn=Su(c[v+4])+(35468*c[v+12]>>16);Te[Ne+0]=Ge+tn,Te[Ne+1]=$e+gt,Te[Ne+2]=$e-gt,Te[Ne+3]=Ge-tn,Ne+=4,v++}for(Ie=Ne=0;4>Ie;++Ie)Ge=(c=Te[Ne+0]+4)+Te[Ne+8],$e=c-Te[Ne+8],gt=(35468*Te[Ne+4]>>16)-Su(Te[Ne+12]),nc(z,re,0,0,Ge+(tn=Su(Te[Ne+4])+(35468*Te[Ne+12]>>16))),nc(z,re,1,0,$e+gt),nc(z,re,2,0,$e-gt),nc(z,re,3,0,Ge-tn),Ne++,re+=32}function Y0(c,v,z,re){var Ie=c[v+0]+4,Ne=35468*c[v+4]>>16,Te=Su(c[v+4]),Ge=35468*c[v+1]>>16;Is(z,re,0,Ie+Te,c=Su(c[v+1]),Ge),Is(z,re,1,Ie+Ne,c,Ge),Is(z,re,2,Ie-Ne,c,Ge),Is(z,re,3,Ie-Te,c,Ge)}function q0(c,v,z,re,Ie){$g(c,v,z,re),Ie&&$g(c,v+16,z,re+4)}function Au(c,v,z,re){mf(c,v+0,z,re,1),mf(c,v+32,z,re+128,1)}function e0(c,v,z,re){var Ie;for(c=c[v+0]+4,Ie=0;4>Ie;++Ie)for(v=0;4>v;++v)nc(z,re,v,Ie,c)}function t0(c,v,z,re){c[v+0]&&ai(c,v+0,z,re),c[v+16]&&ai(c,v+16,z,re+4),c[v+32]&&ai(c,v+32,z,re+128),c[v+48]&&ai(c,v+48,z,re+128+4)}function Jf(c,v,z,re){var Ie,Ne=l(16);for(Ie=0;4>Ie;++Ie){var Te=c[v+0+Ie]+c[v+12+Ie],Ge=c[v+4+Ie]+c[v+8+Ie],$e=c[v+4+Ie]-c[v+8+Ie],gt=c[v+0+Ie]-c[v+12+Ie];Ne[0+Ie]=Te+Ge,Ne[8+Ie]=Te-Ge,Ne[4+Ie]=gt+$e,Ne[12+Ie]=gt-$e}for(Ie=0;4>Ie;++Ie)Te=(c=Ne[0+4*Ie]+3)+Ne[3+4*Ie],Ge=Ne[1+4*Ie]+Ne[2+4*Ie],$e=Ne[1+4*Ie]-Ne[2+4*Ie],gt=c-Ne[3+4*Ie],z[re+0]=Te+Ge>>3,z[re+16]=gt+$e>>3,z[re+32]=Te-Ge>>3,z[re+48]=gt-$e>>3,re+=64}function of(c,v,z){var re,Ie=v-32,Ne=Hl,Te=255-c[Ie-1];for(re=0;rez;++z)r(c,v+32*z,c,v-32,16)}function n0(c,v){var z;for(z=16;0re;++re)a(v,z+32*re,c,16)}function tp(c,v){var z,re=16;for(z=0;16>z;++z)re+=c[v-1+32*z]+c[v+z-32];Qc(re>>5,c,v)}function af(c,v){var z,re=8;for(z=0;16>z;++z)re+=c[v-1+32*z];Qc(re>>4,c,v)}function Zh(c,v){var z,re=8;for(z=0;16>z;++z)re+=c[v+z-32];Qc(re>>4,c,v)}function np(c,v){Qc(128,c,v)}function Jo(c,v,z){return c+2*v+z+2>>2}function rp(c,v){var z,re=v-32;for(re=new Uint8Array([Jo(c[re-1],c[re+0],c[re+1]),Jo(c[re+0],c[re+1],c[re+2]),Jo(c[re+1],c[re+2],c[re+3]),Jo(c[re+2],c[re+3],c[re+4])]),z=0;4>z;++z)r(c,v+32*z,re,0,re.length)}function Ap(c,v){var z=c[v-1],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];Vr(c,v+0,16843009*Jo(c[v-1-32],z,re)),Vr(c,v+32,16843009*Jo(z,re,Ie)),Vr(c,v+64,16843009*Jo(re,Ie,Ne)),Vr(c,v+96,16843009*Jo(Ie,Ne,Ne))}function op(c,v){var z,re=4;for(z=0;4>z;++z)re+=c[v+z-32]+c[v-1+32*z];for(re>>=3,z=0;4>z;++z)a(c,v+32*z,re,4)}function Fu(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+96]=Jo(re,Ie,c[v-1+96]),c[v+1+96]=c[v+0+64]=Jo(z,re,Ie),c[v+2+96]=c[v+1+64]=c[v+0+32]=Jo(Ne,z,re),c[v+3+96]=c[v+2+64]=c[v+1+32]=c[v+0+0]=Jo(Te,Ne,z),c[v+3+64]=c[v+2+32]=c[v+1+0]=Jo(Ge,Te,Ne),c[v+3+32]=c[v+2+0]=Jo($e,Ge,Te),c[v+3+0]=Jo(gt,$e,Ge)}function Qu(c,v){var z=c[v+1-32],re=c[v+2-32],Ie=c[v+3-32],Ne=c[v+4-32],Te=c[v+5-32],Ge=c[v+6-32],$e=c[v+7-32];c[v+0+0]=Jo(c[v+0-32],z,re),c[v+1+0]=c[v+0+32]=Jo(z,re,Ie),c[v+2+0]=c[v+1+32]=c[v+0+64]=Jo(re,Ie,Ne),c[v+3+0]=c[v+2+32]=c[v+1+64]=c[v+0+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+64]=c[v+1+96]=Jo(Ne,Te,Ge),c[v+3+64]=c[v+2+96]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,$e)}function ap(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+0]=c[v+1+64]=Ne+Te+1>>1,c[v+1+0]=c[v+2+64]=Te+Ge+1>>1,c[v+2+0]=c[v+3+64]=Ge+$e+1>>1,c[v+3+0]=$e+gt+1>>1,c[v+0+96]=Jo(Ie,re,z),c[v+0+64]=Jo(re,z,Ne),c[v+0+32]=c[v+1+96]=Jo(z,Ne,Te),c[v+1+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+2+32]=c[v+3+96]=Jo(Te,Ge,$e),c[v+3+32]=Jo(Ge,$e,gt)}function ip(c,v){var z=c[v+0-32],re=c[v+1-32],Ie=c[v+2-32],Ne=c[v+3-32],Te=c[v+4-32],Ge=c[v+5-32],$e=c[v+6-32],gt=c[v+7-32];c[v+0+0]=z+re+1>>1,c[v+1+0]=c[v+0+64]=re+Ie+1>>1,c[v+2+0]=c[v+1+64]=Ie+Ne+1>>1,c[v+3+0]=c[v+2+64]=Ne+Te+1>>1,c[v+0+32]=Jo(z,re,Ie),c[v+1+32]=c[v+0+96]=Jo(re,Ie,Ne),c[v+2+32]=c[v+1+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+3+64]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,gt)}function Yf(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];c[v+0+0]=z+re+1>>1,c[v+2+0]=c[v+0+32]=re+Ie+1>>1,c[v+2+32]=c[v+0+64]=Ie+Ne+1>>1,c[v+1+0]=Jo(z,re,Ie),c[v+3+0]=c[v+1+32]=Jo(re,Ie,Ne),c[v+3+32]=c[v+1+64]=Jo(Ie,Ne,Ne),c[v+3+64]=c[v+2+64]=c[v+0+96]=c[v+1+96]=c[v+2+96]=c[v+3+96]=Ne}function Wh(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96],Te=c[v-1-32],Ge=c[v+0-32],$e=c[v+1-32],gt=c[v+2-32];c[v+0+0]=c[v+2+32]=z+Te+1>>1,c[v+0+32]=c[v+2+64]=re+z+1>>1,c[v+0+64]=c[v+2+96]=Ie+re+1>>1,c[v+0+96]=Ne+Ie+1>>1,c[v+3+0]=Jo(Ge,$e,gt),c[v+2+0]=Jo(Te,Ge,$e),c[v+1+0]=c[v+3+32]=Jo(z,Te,Ge),c[v+1+32]=c[v+3+64]=Jo(re,z,Te),c[v+1+64]=c[v+3+96]=Jo(Ie,re,z),c[v+1+96]=Jo(Ne,Ie,re)}function sf(c,v){var z;for(z=0;8>z;++z)r(c,v+32*z,c,v-32,8)}function sp(c,v){var z;for(z=0;8>z;++z)a(c,v,c[v-1],8),v+=32}function Pu(c,v,z){var re;for(re=0;8>re;++re)a(v,z+32*re,c,8)}function lp(c,v){var z,re=8;for(z=0;8>z;++z)re+=c[v+z-32]+c[v-1+32*z];Pu(re>>4,c,v)}function Xh(c,v){var z,re=4;for(z=0;8>z;++z)re+=c[v+z-32];Pu(re>>3,c,v)}function Vh(c,v){var z,re=4;for(z=0;8>z;++z)re+=c[v-1+32*z];Pu(re>>3,c,v)}function r0(c,v){Pu(128,c,v)}function Ou(c,v,z){var re=c[v-z],Ie=c[v+0],Ne=3*(Ie-re)+cp[1020+c[v-2*z]-c[v+z]],Te=u0[112+(Ne+4>>3)];c[v-z]=Hl[255+re+u0[112+(Ne+3>>3)]],c[v+0]=Hl[255+Ie-Te]}function Gh(c,v,z,re){var Ie=c[v+0],Ne=c[v+z];return oc[255+c[v-2*z]-c[v-z]]>re||oc[255+Ne-Ie]>re}function qf(c,v,z,re){return 4*oc[255+c[v-z]-c[v+0]]+oc[255+c[v-2*z]-c[v+z]]<=re}function Jh(c,v,z,re,Ie){var Ne=c[v-3*z],Te=c[v-2*z],Ge=c[v-z],$e=c[v+0],gt=c[v+z],tn=c[v+2*z],Ln=c[v+3*z];return 4*oc[255+Ge-$e]+oc[255+Te-gt]>re?0:oc[255+c[v-4*z]-Ne]<=Ie&&oc[255+Ne-Te]<=Ie&&oc[255+Te-Ge]<=Ie&&oc[255+Ln-tn]<=Ie&&oc[255+tn-gt]<=Ie&&oc[255+gt-$e]<=Ie}function lf(c,v,z,re){var Ie=2*re+1;for(re=0;16>re;++re)qf(c,v+re,z,Ie)&&Ou(c,v+re,z)}function Yh(c,v,z,re){var Ie=2*re+1;for(re=0;16>re;++re)qf(c,v+re*z,1,Ie)&&Ou(c,v+re*z,1)}function A0(c,v,z,re){var Ie;for(Ie=3;0>7,fr=18*mr+63>>7,mr=9*mr+63>>7;$e[gt-3*tn]=Hl[255+$e[gt-3*tn]+mr],$e[gt-2*tn]=Hl[255+Ln+fr],$e[gt-tn]=Hl[255+pt+Qn],$e[gt+0]=Hl[255+ln-Qn],$e[gt+tn]=Hl[255+yn-fr],$e[gt+2*tn]=Hl[255+ur-mr]}v+=re}}function Lu(c,v,z,re,Ie,Ne,Te,Ge){for(Ne=2*Ne+1;0>3)],ur=u0[112+(ur+3>>3)],Qn=yn+1>>1;$e[gt-2*tn]=Hl[255+$e[gt-2*tn]+Qn],$e[gt-tn]=Hl[255+Ln+ur],$e[gt+0]=Hl[255+pt-yn],$e[gt+tn]=Hl[255+ln-Qn]}v+=re}}function a0(c,v,z,re,Ie,Ne){Uu(c,v,z,1,16,re,Ie,Ne)}function cf(c,v,z,re,Ie,Ne){Uu(c,v,1,z,16,re,Ie,Ne)}function i0(c,v,z,re,Ie,Ne){var Te;for(Te=3;0gt?0:255:gt)&255,gt=$e,Ie[Ne+Ge]=tn}}function xi(c,v,z,re){var Ie=v.width,Ne=v.o;if(n(c!=null&&v!=null),0>z||0>=re||z+re>Ne)return null;if(!c.Cc){if(c.ga==null){var Te;if(c.ga=new sa,(Te=c.ga==null)||(Te=v.width*v.o,n(c.Gb.length==0),c.Gb=l(Te),c.Uc=0,c.Gb==null?Te=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Te=1),Te=!Te),!Te){Te=c.ga;var Ge=c.Fa,$e=c.P,gt=c.qc,tn=c.mb,Ln=c.nb,pt=$e+1,ln=gt-1,yn=Te.l;if(n(Ge!=null&&tn!=null&&v!=null),bd[0]=null,bd[1]=za,bd[2]=Xi,bd[3]=Cs,Te.ca=tn,Te.tb=Ln,Te.c=v.width,Te.i=v.height,n(0=gt)v=0;else if(Te.$a=3&Ge[$e+0],Te.Z=Ge[$e+0]>>2&3,Te.Lc=Ge[$e+0]>>4&3,$e=Ge[$e+0]>>6&3,0>Te.$a||1=Te.c*Te.i;Te=!v}if(Te)return null;c.ga.Lc!=1?c.Ga=0:re=Ne-z}n(c.ga!=null),n(z+re<=Ne);e:{if(v=(Ge=c.ga).c,Ne=Ge.l.o,Ge.$a==0){if(pt=c.rc,ln=c.Vc,yn=c.Fa,$e=c.P+1+z*v,gt=c.mb,tn=c.nb+z*v,n($e<=c.P+c.qc),Ge.Z!=0)for(n(bd[Ge.Z]!=null),Te=0;Te=v)v=1;else if(Ge.ic||Pc(),Ge.ic){Ge=Te.V,pt=Te.Ba,ln=Te.c;var ur=Te.i,Qn=(yn=1,$e=Te.$/ln,gt=Te.$%ln,tn=Te.m,Ln=Te.s,Te.$),fr=ln*ur,mr=ln*v,Zr=Ln.wc,Ur=Qn(ur=rs(Ur.G[0],Ur.H[0],tn)))Ge[pt+Qn]=ur,++Qn,++gt>=ln&&(gt=0,++$e<=v&&!($e%16)&&Sc(Te,$e));else{if(!(280>ur)){yn=0;break t}ur=_l(ur-256,tn);var lo,XA=rs(Ur.G[4],Ur.H[4],tn);if(In(tn),!(Qn>=(XA=$l(ln,XA=_l(XA,tn)))&&fr-Qn>=ur)){yn=0;break t}for(lo=0;lo=ln;)gt-=ln,++$e<=v&&!($e%16)&&Sc(Te,$e);Qnv?v:$e);break t}!yn||tn.h&&Qn=Ne&&(c.Cc=1),re=1}if(!re)return null;if(c.Cc&&((re=c.ga)!=null&&(re.mc=null),c.ga=null,0>23,Ge[$e+4*Te+1]=Ge[$e+4*Te+1]*Ln>>23,Ge[$e+4*Te+2]=Ge[$e+4*Te+2]*Ln>>23)}v+=Ne}}function ws(c,v,z,re,Ie){for(;0>4)*$e>>16;c[v+2*Ne+0]=(240&Te|Te>>4)*$e>>16&240|(15&Te|Te<<4)*$e>>16>>4&15,c[v+2*Ne+1]=240>|Ge}v+=Ie}}function Ws(c,v,z,re,Ie,Ne,Te,Ge){var $e,gt,tn=255;for(gt=0;gt>8}function Pc(){sg=Ss,tv=ws,nv=Ws,rv=Ru}function Nu(c,v,z){Ft[c]=function(re,Ie,Ne,Te,Ge,$e,gt,tn,Ln,pt,ln,yn,ur,Qn,fr,mr,Zr){var Ur,lo=Zr-1>>1,XA=Ge[$e+0]|gt[tn+0]<<16,da=Ln[pt+0]|ln[yn+0]<<16;n(re!=null);var no=3*XA+da+131074>>2;for(v(re[Ie+0],255&no,no>>16,ur,Qn),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+0],255&no,no>>16,fr,mr)),Ur=1;Ur<=lo;++Ur){var Ta=Ge[$e+Ur]|gt[tn+Ur]<<16,Qs=Ln[pt+Ur]|ln[yn+Ur]<<16,fa=XA+Ta+da+Qs+524296,ro=fa+2*(Ta+da)>>3;no=ro+XA>>1,XA=(fa=fa+2*(XA+Qs)>>3)+Ta>>1,v(re[Ie+2*Ur-1],255&no,no>>16,ur,Qn+(2*Ur-1)*z),v(re[Ie+2*Ur-0],255&XA,XA>>16,ur,Qn+(2*Ur-0)*z),Ne!=null&&(no=fa+da>>1,XA=ro+Qs>>1,v(Ne[Te+2*Ur-1],255&no,no>>16,fr,mr+(2*Ur-1)*z),v(Ne[Te+2*Ur+0],255&XA,XA>>16,fr,mr+(2*Ur+0)*z)),XA=Ta,da=Qs}1&Zr||(no=3*XA+da+131074>>2,v(re[Ie+Zr-1],255&no,no>>16,ur,Qn+(Zr-1)*z),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+Zr-1],255&no,no>>16,fr,mr+(Zr-1)*z)))}}function qh(){ac[d0]=hm,ac[f0]=hv,ac[lv]=gm,ac[h0]=gv,ac[g0]=pv,ac[up]=vv,ac[cv]=pm,ac[dp]=hv,ac[fp]=gv,ac[p0]=pv,ac[hp]=vv}function _f(c){return c&~vm?0>c?0:255:c>>mv}function fd(c,v){return _f((19077*c>>8)+(26149*v>>8)-14234)}function uf(c,v,z){return _f((19077*c>>8)-(6419*v>>8)-(13320*z>>8)+8708)}function df(c,v){return _f((19077*c>>8)+(33050*v>>8)-17685)}function hd(c,v,z,re,Ie){re[Ie+0]=fd(c,z),re[Ie+1]=uf(c,v,z),re[Ie+2]=df(c,v)}function Xs(c,v,z,re,Ie){re[Ie+0]=df(c,v),re[Ie+1]=uf(c,v,z),re[Ie+2]=fd(c,z)}function ff(c,v,z,re,Ie){var Ne=uf(c,v,z);v=Ne<<3&224|df(c,v)>>3,re[Ie+0]=248&fd(c,z)|Ne>>5,re[Ie+1]=v}function hf(c,v,z,re,Ie){var Ne=240&df(c,v)|15;re[Ie+0]=240&fd(c,z)|uf(c,v,z)>>4,re[Ie+1]=Ne}function _h(c,v,z,re,Ie){re[Ie+0]=255,hd(c,v,z,re,Ie+1)}function $h(c,v,z,re,Ie){Xs(c,v,z,re,Ie),re[Ie+3]=255}function hl(c,v,z,re,Ie){hd(c,v,z,re,Ie),re[Ie+3]=255}function Du(c,v,z){Ft[c]=function(re,Ie,Ne,Te,Ge,$e,gt,tn,Ln){for(var pt=tn+(-2&Ln)*z;tn!=pt;)v(re[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn),v(re[Ie+1],Ne[Te+0],Ge[$e+0],gt,tn+z),Ie+=2,++Te,++$e,tn+=2*z;1&Ln&&v(re[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn)}}function $f(c,v,z){return z==0?c==0?v==0?6:5:v==0?4:0:z}function s0(c,v,z,re,Ie){switch(c>>>30){case 3:mf(v,z,re,Ie,0);break;case 2:Ac(v,z,re,Ie);break;case 1:ai(v,z,re,Ie)}}function rc(c,v){var z,re,Ie=v.M,Ne=v.Nb,Te=c.oc,Ge=c.pc+40,$e=c.oc,gt=c.pc+584,tn=c.oc,Ln=c.pc+600;for(z=0;16>z;++z)Te[Ge+32*z-1]=129;for(z=0;8>z;++z)$e[gt+32*z-1]=129,tn[Ln+32*z-1]=129;for(0z;++z)r(Te,Ge+32*z-4,Te,Ge+32*z+12,4);for(z=-1;8>z;++z)r($e,gt+32*z-4,$e,gt+32*z+4,4),r(tn,Ln+32*z-4,tn,Ln+32*z+4,4)}var ln=c.Gd,yn=c.Hd+re,ur=pt.ad,Qn=pt.Hc;if(0=c.za-1?a(fr,mr,ln[yn].y[15],4):r(fr,mr,ln[yn+1].y,0,4)),z=0;4>z;z++)fr[mr+128+z]=fr[mr+256+z]=fr[mr+384+z]=fr[mr+0+z];for(z=0;16>z;++z,Qn<<=2)fr=Te,mr=Ge+Cv[z],Oc[pt.Ob[z]](fr,mr),s0(Qn,ur,16*+z,fr,mr)}else if(fr=$f(re,Ie,pt.Ob[0]),yd[fr](Te,Ge),Qn!=0)for(z=0;16>z;++z,Qn<<=2)s0(Qn,ur,16*+z,Te,Ge+Cv[z]);for(z=pt.Gc,fr=$f(re,Ie,pt.Dd),Hu[fr]($e,gt),Hu[fr](tn,Ln),Qn=ur,fr=$e,mr=gt,255&(pt=0|z)&&(170&pt?iu(Qn,256,fr,mr):mi(Qn,256,fr,mr)),pt=tn,Qn=Ln,255&(z>>=8)&&(170&z?iu(ur,320,pt,Qn):mi(ur,320,pt,Qn)),Iez;++z)r(ln,yn+z*c.R,Te,Ge+32*z,16);for(z=0;8>z;++z)r(ur,pt+z*c.B,$e,gt+32*z,8),r(Qn,fr+z*c.B,tn,Ln+32*z,8)}}function gf(c,v,z,re,Ie,Ne,Te,Ge,$e){var gt=[0],tn=[0],Ln=0,pt=$e!=null?$e.kd:0,ln=$e!=null?$e:new Or;if(c==null||12>z)return 7;ln.data=c,ln.w=v,ln.ha=z,v=[v],z=[z],ln.gb=[ln.gb];e:{var yn=v,ur=z,Qn=ln.gb;if(n(c!=null),n(ur!=null),n(Qn!=null),Qn[0]=0,12<=ur[0]&&!t(c,yn[0],"RIFF")){if(t(c,yn[0]+8,"WEBP")){Qn=3;break e}var fr=go(c,yn[0]+4);if(12>fr||4294967286ur[0]-8){Qn=7;break e}Qn[0]=fr,yn[0]+=12,ur[0]-=12}Qn=0}if(Qn!=0)return Qn;for(fr=0Qn[0])Qn=7;else{if(!t(mr,ur[0],"VP8X")){if(go(mr,ur[0]+4)!=10){Qn=3;break e}if(18>Qn[0]){Qn=7;break e}var XA=go(mr,ur[0]+8),da=1+SA(mr,ur[0]+12);if(2147483648<=da*(mr=1+SA(mr,ur[0]+15))){Qn=3;break e}lo!=null&&(lo[0]=XA),Zr!=null&&(Zr[0]=da),Ur!=null&&(Ur[0]=mr),ur[0]+=18,Qn[0]-=18,no[0]=1}Qn=0}}if(Ln=Ln[0],yn=yn[0],Qn!=0)return Qn;if(ur=!!(2&yn),!fr&&Ln)return 3;if(Ne!=null&&(Ne[0]=!!(16&yn)),Te!=null&&(Te[0]=ur),Ge!=null&&(Ge[0]=0),Te=gt[0],yn=tn[0],Ln&&ur&&$e==null){Qn=0;break}if(4>z){Qn=7;break}if(fr&&Ln||!fr&&!Ln&&!t(c,v[0],"ALPH")){z=[z],ln.na=[ln.na],ln.P=[ln.P],ln.Sa=[ln.Sa];e:{XA=c,Qn=v,fr=z;var no=ln.gb;Zr=ln.na,Ur=ln.P,lo=ln.Sa,da=22,n(XA!=null),n(fr!=null),mr=Qn[0];var Ta=fr[0];for(n(Zr!=null),n(lo!=null),Zr[0]=null,Ur[0]=null,lo[0]=0;;){if(Qn[0]=mr,fr[0]=Ta,8>Ta){Qn=7;break e}var Qs=go(XA,mr+4);if(4294967286no){Qn=3;break e}if(!t(XA,mr,"VP8 ")||!t(XA,mr,"VP8L")){Qn=0;break e}if(Ta[0]fr[0])Qn=7;else{if(mr||da){if(no=go(no,XA+4),12<=Zr&&no>Zr-12){Qn=3;break e}if(pt&&no>fr[0]-8){Qn=7;break e}Ur[0]=no,Qn[0]+=8,fr[0]-=8,lo[0]=da}else lo[0]=5<=fr[0]&&no[XA+0]==47&&!(no[XA+4]>>5),Ur[0]=fr[0];Qn=0}if(z=z[0],ln.Ja=ln.Ja[0],ln.xa=ln.xa[0],v=v[0],Qn!=0)break;if(4294967286z){Qn=7;break}Ge=Te,pt=yn,ur=Ne,c==null||5>z?c=0:5<=z&&c[v+0]==47&&!(c[v+4]>>5)?(fr=[0],no=[0],Zr=[0],or(Ur=new bt,c,v,z),Iu(Ur,fr,no,Zr)?(Ge!=null&&(Ge[0]=fr[0]),pt!=null&&(pt[0]=no[0]),ur!=null&&(ur[0]=Zr[0]),c=1):c=0):c=0}else{if(10>z){Qn=7;break}Ge=yn,c==null||10>z||!qg(c,v+3,z-3)?c=0:(pt=c[v+0]|c[v+1]<<8|c[v+2]<<16,ur=16383&(c[v+7]<<8|c[v+6]),c=16383&(c[v+9]<<8|c[v+8]),1&pt||3<(pt>>1&7)||!(pt>>4&1)||pt>>5>=ln.Ja||!ur||!c?c=0:(Te&&(Te[0]=ur),Ge&&(Ge[0]=c),c=1))}if(!c||(Te=Te[0],yn=yn[0],Ln&&(gt[0]!=Te||tn[0]!=yn)))return 3;$e!=null&&($e[0]=ln,$e.offset=v-$e.w,n(4294967286>v-$e.w),n($e.offset==$e.ha-z));break}return Qn==0||Qn==7&&Ln&&$e==null?(Ne!=null&&(Ne[0]|=ln.na!=null&&0z||(Ne&=-2,Te&=-2),0>Ne||0>Te||0>=Ge||0>=$e||Ne+Ge>re||Te+$e>Ie))return 0;if(v.v=Ne,v.j=Te,v.va=Ne+Ge,v.o=Te+$e,v.U=Ge,v.T=$e,v.da=c!=null&&0c.S){var v=c.f.RGBA;v.fb+=(c.height-1)*v.A,v.A=-v.A}else v=c.f.kb,c=c.height,v.O+=(c-1)*v.fa,v.fa=-v.fa,v.N+=(c-1>>1)*v.Ab,v.Ab=-v.Ab,v.W+=(c-1>>1)*v.Db,v.Db=-v.Db,v.F!=null&&(v.J+=(c-1)*v.lb,v.lb=-v.lb);return 0}function gd(c,v,z,re){if(re==null||0>=c||0>=v)return 2;if(z!=null){if(z.Da){var Ie=z.cd,Ne=z.bd,Te=-2&z.v,Ge=-2&z.j;if(0>Te||0>Ge||0>=Ie||0>=Ne||Te+Ie>c||Ge+Ne>v)return 2;c=Ie,v=Ne}if(z.da){if(!Qo(c,v,Ie=[z.ib],Ne=[z.hb]))return 2;c=Ie[0],v=Ne[0]}}re.width=c,re.height=v;e:{var $e=re.width,gt=re.height;if(c=re.S,0>=$e||0>=gt||!(c>=d0&&13>c))c=2;else{if(0>=re.Rd&&re.sd==null){Te=Ne=Ie=v=0;var tn=(Ge=$e*wv[c])*gt;if(11>c||(Ne=(gt+1)/2*(v=($e+1)/2),c==12&&(Te=(Ie=$e)*gt)),(gt=l(tn+2*Ne+Te))==null){c=1;break e}re.sd=gt,11>c?(($e=re.f.RGBA).eb=gt,$e.fb=0,$e.A=Ge,$e.size=tn):(($e=re.f.kb).y=gt,$e.O=0,$e.fa=Ge,$e.Fd=tn,$e.f=gt,$e.N=0+tn,$e.Ab=v,$e.Cd=Ne,$e.ea=gt,$e.W=0+tn+Ne,$e.Db=v,$e.Ed=Ne,c==12&&($e.F=gt,$e.J=0+tn+2*Ne),$e.Tc=Te,$e.lb=Ie)}if(v=1,Ie=re.S,Ne=re.width,Te=re.height,Ie>=d0&&13>Ie)if(11>Ie)c=re.f.RGBA,v&=(Ge=Math.abs(c.A))*(Te-1)+Ne<=c.size,v&=Ge>=Ne*wv[Ie],v&=c.eb!=null;else{c=re.f.kb,Ge=(Ne+1)/2,tn=(Te+1)/2,$e=Math.abs(c.fa),gt=Math.abs(c.Ab);var Ln=Math.abs(c.Db),pt=Math.abs(c.lb),ln=pt*(Te-1)+Ne;v&=$e*(Te-1)+Ne<=c.Fd,v&=gt*(tn-1)+Ge<=c.Cd,v=(v&=Ln*(tn-1)+Ge<=c.Ed)&$e>=Ne>>=Ge&Ln>=Ge,v&=c.y!=null,v&=c.f!=null,v&=c.ea!=null,Ie==12&&(v&=pt>=Ne,v&=ln<=c.Tc,v&=c.F!=null)}else v=0;c=v?0:2}}return c!=0||z!=null&&z.fd&&(c=tg(re)),c}var pf=64,jl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Tl=24,pd=32,ju=8,vd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];YA("Predictor0","PredictorAdd0"),Ft.Predictor0=function(){return 4278190080},Ft.Predictor1=function(c){return c},Ft.Predictor2=function(c,v,z){return v[z+0]},Ft.Predictor3=function(c,v,z){return v[z+1]},Ft.Predictor4=function(c,v,z){return v[z-1]},Ft.Predictor5=function(c,v,z){return Co(Co(c,v[z+1]),v[z+0])},Ft.Predictor6=function(c,v,z){return Co(c,v[z-1])},Ft.Predictor7=function(c,v,z){return Co(c,v[z+0])},Ft.Predictor8=function(c,v,z){return Co(v[z-1],v[z+0])},Ft.Predictor9=function(c,v,z){return Co(v[z+0],v[z+1])},Ft.Predictor10=function(c,v,z){return Co(Co(c,v[z-1]),Co(v[z+0],v[z+1]))},Ft.Predictor11=function(c,v,z){var re=v[z+0];return 0>=ea(re>>24&255,c>>24&255,(v=v[z-1])>>24&255)+ea(re>>16&255,c>>16&255,v>>16&255)+ea(re>>8&255,c>>8&255,v>>8&255)+ea(255&re,255&c,255&v)?re:c},Ft.Predictor12=function(c,v,z){var re=v[z+0];return(Ai((c>>24&255)+(re>>24&255)-((v=v[z-1])>>24&255))<<24|Ai((c>>16&255)+(re>>16&255)-(v>>16&255))<<16|Ai((c>>8&255)+(re>>8&255)-(v>>8&255))<<8|Ai((255&c)+(255&re)-(255&v)))>>>0},Ft.Predictor13=function(c,v,z){var re=v[z-1];return(La((c=Co(c,v[z+0]))>>24&255,re>>24&255)<<24|La(c>>16&255,re>>16&255)<<16|La(c>>8&255,re>>8&255)<<8|La(255&c,255&re))>>>0};var ng=Ft.PredictorAdd0;Ft.PredictorAdd1=ja,YA("Predictor2","PredictorAdd2"),YA("Predictor3","PredictorAdd3"),YA("Predictor4","PredictorAdd4"),YA("Predictor5","PredictorAdd5"),YA("Predictor6","PredictorAdd6"),YA("Predictor7","PredictorAdd7"),YA("Predictor8","PredictorAdd8"),YA("Predictor9","PredictorAdd9"),YA("Predictor10","PredictorAdd10"),YA("Predictor11","PredictorAdd11"),YA("Predictor12","PredictorAdd12"),YA("Predictor13","PredictorAdd13");var eh=Ft.PredictorAdd2;uo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var fs,l0=Ft.ColorIndexInverseTransform,ou=Ft.MapARGB,au=Ft.VP8LColorIndexInverseTransformAlpha,rg=Ft.MapAlpha,Ag=Ft.VP8LPredictorsAdd=[];Ag.length=16,(Ft.VP8LPredictors=[]).length=16,(Ft.VP8LPredictorsAdd_C=[]).length=16,(Ft.VP8LPredictors_C=[]).length=16;var og,ag,md,Bd,Cd,vf,wd,mf,Ac,iu,ai,mi,hs,Fs,Tu,ig,th,c0,Jp,Yp,qp,_p,$p,ev,sg,tv,nv,rv,Av=l(511),ov=l(2041),av=l(225),iv=l(767),sv=0,cp=ov,u0=av,Hl=iv,oc=Av,d0=0,f0=1,lv=2,h0=3,g0=4,up=5,cv=6,dp=7,fp=8,p0=9,hp=10,em=[2,3,7],tm=[3,3,11],uv=[280,256,256,256,40],nm=[0,1,1,1,0],rm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],pp=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],cm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],um=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],yd=[],Oc=[],Hu=[],fm=1,fv=2,bd=[],ac=[];Nu("UpsampleRgbLinePair",hd,3),Nu("UpsampleBgrLinePair",Xs,3),Nu("UpsampleRgbaLinePair",hl,4),Nu("UpsampleBgraLinePair",$h,4),Nu("UpsampleArgbLinePair",_h,4),Nu("UpsampleRgba4444LinePair",hf,2),Nu("UpsampleRgb565LinePair",ff,2);var hm=Ft.UpsampleRgbLinePair,gm=Ft.UpsampleBgrLinePair,hv=Ft.UpsampleRgbaLinePair,gv=Ft.UpsampleBgraLinePair,pv=Ft.UpsampleArgbLinePair,vv=Ft.UpsampleRgba4444LinePair,pm=Ft.UpsampleRgb565LinePair,v0=16,m0=1<re.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),re.ca.f.kb.F!=null&&Pc()),re.Pb&&0($e=z.Md)?0:100<$e?255:255*$e/100)){for(gt=tn=0;4>gt;++gt)12>(Ln=Ie.pb[gt]).lc&&(Ln.ia=$e*Em[0>Ln.lc?0:Ln.lc]>>3),tn|=Ln.ia;tn&&(alert("todo:VP8InitRandom"),Ie.ia=1)}Ie.Ga=z.Id,100Ie.Ga&&(Ie.Ga=0)}(function(pt,ln){if(pt==null)return 0;if(ln==null)return Bs(pt,2,"NULL VP8Io parameter in VP8Decode().");if(!pt.cb&&!ru(pt,ln))return 0;if(n(pt.cb),ln.ac==null||ln.ac(ln)){ln.ob&&(pt.L=0);var yn=B0[pt.L];if(pt.L==2?(pt.yb=0,pt.zb=0):(pt.yb=ln.v-yn>>4,pt.zb=ln.j-yn>>4,0>pt.yb&&(pt.yb=0),0>pt.zb&&(pt.zb=0)),pt.Va=ln.o+15+yn>>4,pt.Hb=ln.va+15+yn>>4,pt.Hb>pt.za&&(pt.Hb=pt.za),pt.Va>pt.Ub&&(pt.Va=pt.Ub),0yn;++yn){var Qn;if(pt.Qa.Cb){var fr=pt.Qa.Lb[yn];pt.Qa.Fb||(fr+=ur.Tb)}else fr=ur.Tb;for(Qn=0;1>=Qn;++Qn){var mr=pt.gd[yn][Qn],Zr=fr;if(ur.Pc&&(Zr+=ur.vd[0],Qn&&(Zr+=ur.od[0])),0<(Zr=0>Zr?0:63>2:Ur>>1)>9-ur.wb&&(Ur=9-ur.wb),1>Ur&&(Ur=1),mr.dd=Ur,mr.tc=2*Zr+Ur,mr.ld=40<=Zr?2:15<=Zr?1:0}else mr.tc=0;mr.La=Qn}}}yn=0}else Bs(pt,6,"Frame setup failed"),yn=pt.a;if(yn=yn==0){if(yn){pt.$c=0,0pt.Vb){if(pt.Vb=0,pt.Ec=l(mr),pt.Fc=0,pt.Ec==null){yn=Bs(pt,1,"no memory during frame initialization.");break t}pt.Vb=mr}mr=pt.Ec,Zr=pt.Fc,pt.Ac=mr,pt.Bc=Zr,Zr+=ur,pt.Gd=y(lo,Jg),pt.Hd=0,pt.rb=y(XA+1,kh),pt.sb=1,pt.wa=da?y(da,tc):null,pt.Y=0,pt.D.Nb=0,pt.D.wa=pt.wa,pt.D.Y=pt.Y,0=yn;++yn)Av[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)ov[1020+yn]=-128>yn?-128:127=yn;++yn)av[112+yn]=-16>yn?-16:15=yn;++yn)iv[255+yn]=0>yn?0:255ka;++ka){var Ps,Za=gl[0+ka];for(Ps=0;4>Ps;++Ps){Za=cm[Li[Vs+Ps]][Za];for(var ui=dv[Cr(na,Za[0])];0>3;for(ui=0;256>ui;ui+=16)ka[sl+ui]=Fl}Gs=1,Uc=Vs[0]}var Bi=15&na.la,Os=15&pl.la;for(ui=0;4>ui;++ui){var Ml=1&Os;for(Fl=di=0;4>Fl;++Fl)Bi=Bi>>1|(Ml=(ps=lg(Li,Uc,ps=Ml+(1&Bi),As.Sc,Gs,ka,sl))>Gs)<<7,di=di<<2|(3>=4,Os=Os>>1|Ml<<7,Ps=(Ps<<8|di)>>>0}for(Uc=Bi,Gs=Os>>4,os=0;4>os;os+=2){for(di=0,Bi=na.la>>4+os,Os=pl.la>>4+os,ui=0;2>ui;++ui){for(Ml=1&Os,Fl=0;2>Fl;++Fl)ps=Ml+(1&Bi),Bi=Bi>>1|(Ml=0<(ps=lg(Li,Vs[2],ps,As.Qc,0,ka,sl)))<<3,di=di<<2|(3>=2,Os=Os>>1|Ml<<5}Za|=di<<4*os,Uc|=Bi<<4<=ro.zb&&ro.M<=ro.Va,ro.Aa==0)t:{if(fa.M=ro.M,fa.uc=na,rc(ro,fa),gs=1,fa=(di=ro.D).Nb,na=(Za=B0[ro.L])*ro.R,Li=Za/2*ro.B,ui=16*fa*ro.R,Fl=8*fa*ro.B,Vs=ro.sa,gl=ro.ta-na+ui,As=ro.qa,ka=ro.ra-Li+Fl,sl=ro.Ha,pl=ro.Ia-Li+Fl,Os=(Bi=di.M)==0,Ps=Bi>=ro.Va-1,ro.Aa==2&&rc(ro,di),di.uc)for(Ml=(ps=ro).D.M,n(ps.D.uc),di=ps.yb;dibA.o&&(Bi=bA.o),bA.F=null,bA.J=null,ro.Fa!=null&&0>1),bA.W+=ro.B*(Za>>1),bA.F!=null&&(bA.J+=bA.width*Za)),di>1,bA.W+=bA.v>>1,bA.F!=null&&(bA.J+=bA.v),bA.ka=di-bA.j,bA.U=bA.va-bA.v,bA.T=Bi-di,gs=bA.put(bA))}fa+1!=ro.Ic||Ps||(r(ro.sa,ro.ta-na,Vs,gl+16*ro.R,na),r(ro.qa,ro.ra-Li,As,ka+8*ro.B,Li),r(ro.Ha,ro.Ia-Li,sl,pl+8*ro.B,Li))}if(!gs)return Bs(Ta,6,"Output aborted.")}return 1}(pt,ln)),ln.bc!=null&&ln.bc(ln),yn&=1}return yn?(pt.cb=0,yn):0})(c,re)||(v=c.a)}}else v=c.a}v==0&&Te.Oa!=null&&Te.Oa.fd&&(v=tg(Te.ba))}Te=v}Ne=Te!=0?null:11>Ne?Ge.f.RGBA.eb:Ge.f.kb.y}else Ne=null;return Ne};var wv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(Ft,wn){for(var ze="",ft=0;ft<4;ft++)ze+=String.fromCharCode(Ft[wn++]);return ze}function G(Ft,wn){return Ft[wn+0]|Ft[wn+1]<<8}function be(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16)>>>0}function Le(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16|Ft[wn+3]<<24)>>>0}new F;var V=[0],st=[0],tt=[],ut=new F,Ze=e,Yt=function(Ft,wn){var ze={},ft=0,Jt=!1,Zt=0,Mn=0;if(ze.frames=[],!function(ke,bt){for(var Rt=0;Rt<4;Rt++)if(ke[bt+Rt]!="RIFF".charCodeAt(Rt))return!0;return!1}(Ft,wn)){for(Le(Ft,wn+=4),wn+=8;wn>1&1}Gn!="ANMF"&&(wn+=On)}return ze}}(Ze,0);Yt.response=Ze,Yt.rgbaoutput=!0,Yt.dataurl=!1;var kt=Yt.header?Yt.header:null,It=Yt.frames?Yt.frames:null;if(kt){kt.loop_counter=kt.loop_count,V=[kt.canvas_height],st=[kt.canvas_width];for(var Rn=0;Rn=2?ht[1]:QA[0],QA[2]=ht.length>=3?ht[2]:QA[0],QA[3]=ht.length>=4?ht[3]:QA[1]),U.margin=QA}});var Yn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Yn},set:function(ht){Yn=ht}});var nr=0;Object.defineProperty(this,"lastBreak",{get:function(){return nr},set:function(ht){nr=ht}});var Cr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Cr},set:function(ht){Cr=ht}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(ht){ht instanceof G&&(U=ht)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(ht){U.path=ht}});var Vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Vr},set:function(ht){Vr=ht}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ht){var QA;QA=Le(ht),this.ctx.fillStyle=QA.style,this.ctx.isFillTransparent=QA.a===0,this.ctx.fillOpacity=QA.a,this.pdf.setFillColor(QA.r,QA.g,QA.b,{a:QA.a}),this.pdf.setTextColor(QA.r,QA.g,QA.b,{a:QA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ht){var QA=Le(ht);this.ctx.strokeStyle=QA.style,this.ctx.isStrokeTransparent=QA.a===0,this.ctx.strokeOpacity=QA.a,QA.a===0?this.pdf.setDrawColor(255,255,255):(QA.a,this.pdf.setDrawColor(QA.r,QA.g,QA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ht){["butt","round","square"].indexOf(ht)!==-1&&(this.ctx.lineCap=ht,this.pdf.setLineCap(ht))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ht){isNaN(ht)||(this.ctx.lineWidth=ht,this.pdf.setLineWidth(ht))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ht){["bevel","round","miter"].indexOf(ht)!==-1&&(this.ctx.lineJoin=ht,this.pdf.setLineJoin(ht))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ht){isNaN(ht)||(this.ctx.miterLimit=ht,this.pdf.setMiterLimit(ht))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ht){this.ctx.textBaseline=ht}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ht){["right","end","center","left","start"].indexOf(ht)!==-1&&(this.ctx.textAlign=ht)}});var FA=null,SA=null,go=null;Object.defineProperty(this,"fontFaces",{get:function(){return go},set:function(ht){FA=null,SA=null,go=ht}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ht){var QA;if(this.ctx.font=ht,(QA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ht))!==null){var va=QA[1];QA[2];var Qo=QA[3],kr=QA[4];QA[5];var Po=QA[6],YA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(kr)[2];kr=Math.floor(YA==="px"?parseFloat(kr)*this.pdf.internal.scaleFactor:YA==="em"?parseFloat(kr)*this.pdf.getFontSize():parseFloat(kr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(kr);var xo=function(uo){var ds,Ka,Ca=[],wa=uo.trim();if(wa==="")return W0;if(wa in Jc)return[Jc[wa]];for(;wa!=="";){switch(Ka=null,ds=(wa=Yc(wa)).charAt(0)){case'"':case"'":Ka=bc(wa.substring(1),ds);break;default:Ka=cd(wa)}if(Ka===null||(Ca.push(Ka[0]),(wa=Yc(Ka[1]))!==""&&wa.charAt(0)!==","))return W0;wa=wa.replace(/^,/,"")}return Ca}(Po);if(this.fontFaces){var Co=function(uo,ds){var Ka=uo.getFontList(),Ca=JSON.stringify(Ka);if(FA===null||SA!==Ca){var wa=function(Hi){var yo=[];return Object.keys(Hi).forEach(function(Ei){Hi[Ei].forEach(function(To){var ta=null;switch(To){case"bold":ta={family:Ei,weight:"bold"};break;case"italic":ta={family:Ei,style:"italic"};break;case"bolditalic":ta={family:Ei,weight:"bold",style:"italic"};break;case"":case"normal":ta={family:Ei}}ta!==null&&(ta.ref={name:Ei,style:To},yo.push(ta))})}),yo}(Ka);FA=function(Hi){for(var yo={},Ei=0;Ei=700||va==="bold")&&(ea="bold"),va==="italic"&&(ea+="italic"),ea.length===0&&(ea="normal");for(var ja="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ao=0;ao=2*Math.PI&&(qt=0,un=2*Math.PI),this.path.push({type:"arc",x:ke,y:bt,radius:Rt,startAngle:qt,endAngle:un,counterclockwise:In})},be.prototype.arcTo=function(ke,bt,Rt,qt,un){throw new Error("arcTo not implemented.")},be.prototype.rect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke+Rt,bt+qt),this.lineTo(ke,bt+qt),this.lineTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke,bt)},be.prototype.fillRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!V.call(this)){var un={};this.lineCap!=="butt"&&(un.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(un.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ke,bt,Rt,qt),this.fill(),un.hasOwnProperty("lineCap")&&(this.lineCap=un.lineCap),un.hasOwnProperty("lineJoin")&&(this.lineJoin=un.lineJoin)}},be.prototype.strokeRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");st.call(this)||(this.beginPath(),this.rect(ke,bt,Rt,qt),this.stroke())},be.prototype.clearRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ke,bt,Rt,qt))},be.prototype.save=function(ke){ke=typeof ke!="boolean"||ke;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Rt=0;Rt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};be.prototype.drawImage=function(ke,bt,Rt,qt,un,In,Yn,nr,Cr){var Vr=this.pdf.getImageProperties(ke),FA=1,SA=1,go=1,ht=1;qt!==void 0&&nr!==void 0&&(go=nr/qt,ht=Cr/un,FA=Vr.width/qt*nr/qt,SA=Vr.height/un*Cr/un),In===void 0&&(In=bt,Yn=Rt,bt=0,Rt=0),qt!==void 0&&nr===void 0&&(nr=qt,Cr=un),qt===void 0&&nr===void 0&&(nr=Vr.width,Cr=Vr.height);var QA=this.ctx.transform.decompose(),va=On(QA.rotate.shx),Qo=new F,kr=(Qo=(Qo=(Qo=Qo.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale)).applyToRectangle(new m(In-bt*go,Yn-Rt*ht,qt*FA,un*SA));if(this.autoPaging){for(var Po,YA=ut.call(this,kr),xo=[],Co=0;CoAi||eakr||YA0)){for(;Cr>=0;Cr--)if(un[Cr-1].close!==!0&&un[Cr-1].begin!==!0){un[Cr-1].deltas.push(Rt),un[Cr-1].abs.push(nr);break}}break;case"bct":Rt=[nr.x1-In[Yn-1].x,nr.y1-In[Yn-1].y,nr.x2-In[Yn-1].x,nr.y2-In[Yn-1].y,nr.x-In[Yn-1].x,nr.y-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"qct":var Vr=In[Yn-1].x+2/3*(nr.x1-In[Yn-1].x),FA=In[Yn-1].y+2/3*(nr.y1-In[Yn-1].y),SA=nr.x+2/3*(nr.x1-nr.x),go=nr.y+2/3*(nr.y1-nr.y),ht=nr.x,QA=nr.y;Rt=[Vr-In[Yn-1].x,FA-In[Yn-1].y,SA-In[Yn-1].x,go-In[Yn-1].y,ht-In[Yn-1].x,QA-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"arc":un.push({deltas:[],abs:[],arc:!0}),Array.isArray(un[un.length-1].abs)&&un[un.length-1].abs.push(nr)}}qt=bt?null:ke==="stroke"?"stroke":"fill";for(var va=!1,Qo=0;Qo=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale);var ia=this.autoPaging!=="text";if(ia||ao.y+ao.h<=Co){if(ia||ao.y>=YA&&ao.x<=La){var uo=ia?ke.text:this.pdf.splitTextToSize(ke.text,ke.maxWidth||La-ao.x)[0],ds=Yt([JSON.parse(JSON.stringify(SA))],this.posX+this.margin[3],-ja+YA+this.ctx.prevPageLastElemOffset)[0],Ka=ia&&(Po>Qo||Po=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)}}else ke.scale>=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale),this.pdf.text(ke.text,Cr.x+this.posX,Cr.y+this.posY,{angle:ke.angle,align:bt,renderingMode:ke.renderingMode,maxWidth:ke.maxWidth}),ke.scale>=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)},Jt=function(ke,bt,Rt,qt){Rt=Rt||0,qt=qt||0,this.pdf.internal.out(t(ke+Rt)+" "+r(bt+qt)+" l")},Zt=function(ke,bt,Rt){return this.pdf.lines(ke,bt,Rt,null,null)},Mn=function(ke,bt,Rt,qt,un,In,Yn,nr){this.pdf.internal.out([n(a(Rt+ke)),n(l(qt+bt)),n(a(un+ke)),n(l(In+bt)),n(a(Yn+ke)),n(l(nr+bt)),"c"].join(" "))},Gn=function(ke,bt,Rt,qt){for(var un=2*Math.PI,In=Math.PI/2;bt>Rt;)bt-=un;var Yn=Math.abs(Rt-bt);Yn1e-5;){var FA=Vr+Cr*Math.min(Yn,In);nr.push(er.call(this,ke,Vr,FA)),Yn-=Math.abs(FA-Vr),Vr=FA}return nr},er=function(ke,bt,Rt){var qt=(Rt-bt)/2,un=ke*Math.cos(qt),In=ke*Math.sin(qt),Yn=un,nr=-In,Cr=Yn*Yn+nr*nr,Vr=Cr+Yn*un+nr*In,FA=4/3*(Math.sqrt(2*Cr*Vr)-Vr)/(Yn*In-nr*un),SA=Yn-FA*nr,go=nr+FA*Yn,ht=SA,QA=-go,va=qt+bt,Qo=Math.cos(va),kr=Math.sin(va);return{x1:ke*Math.cos(bt),y1:ke*Math.sin(bt),x2:SA*Qo-go*kr,y2:SA*kr+go*Qo,x3:ht*Qo-QA*kr,y3:ht*kr+QA*Qo,x4:ke*Math.cos(Rt),y4:ke*Math.sin(Rt)}},On=function(ke){return 180*ke/Math.PI},or=function(ke,bt,Rt,qt,un,In){var Yn=ke+.5*(Rt-ke),nr=bt+.5*(qt-bt),Cr=un+.5*(Rt-un),Vr=In+.5*(qt-In),FA=Math.min(ke,un,Yn,Cr),SA=Math.max(ke,un,Yn,Cr),go=Math.min(bt,In,nr,Vr),ht=Math.max(bt,In,nr,Vr);return new m(FA,go,SA-FA,ht-go)},iA=function(ke,bt,Rt,qt,un,In,Yn,nr){var Cr,Vr,FA,SA,go,ht,QA,va,Qo,kr,Po,YA,xo,Co,Ai=Rt-ke,La=qt-bt,ea=un-Rt,ja=In-qt,Ra=Yn-un,ao=nr-In;for(Vr=0;Vr<41;Vr++)Qo=(QA=(FA=ke+(Cr=Vr/40)*Ai)+Cr*((go=Rt+Cr*ea)-FA))+Cr*(go+Cr*(un+Cr*Ra-go)-QA),kr=(va=(SA=bt+Cr*La)+Cr*((ht=qt+Cr*ja)-SA))+Cr*(ht+Cr*(In+Cr*ao-ht)-va),Vr==0?(Po=Qo,YA=kr,xo=Qo,Co=kr):(Po=Math.min(Po,Qo),YA=Math.min(YA,kr),xo=Math.max(xo,Qo),Co=Math.max(Co,kr));return new m(Math.round(Po),Math.round(YA),Math.round(xo-Po),Math.round(Co-YA))},Fr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ke,bt,Rt=(ke=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ke,lineDashOffset:bt}));this.prevLineDash!==Rt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Rt)}}})(to.API),function(e){var n=function(y){var m,F,U,G,be,Le,V,st,tt,ut;for(/[^\x00-\xFF]/.test(y),F=[],U=0,G=(y+=m="\0\0\0\0".slice(y.length%4||4)).length;G>U;U+=4)(be=(y.charCodeAt(U)<<24)+(y.charCodeAt(U+1)<<16)+(y.charCodeAt(U+2)<<8)+y.charCodeAt(U+3))!==0?(Le=(be=((be=((be=((be=(be-(ut=be%85))/85)-(tt=be%85))/85)-(st=be%85))/85)-(V=be%85))/85)%85,F.push(Le+33,V+33,st+33,tt+33,ut+33)):F.push(122);return function(Ze,Yt){for(var kt=Yt;kt>0;kt--)Ze.pop()}(F,m.length),String.fromCharCode.apply(String,F)+"~>"},t=function(y){var m,F,U,G,be,Le=String,V="length",st=255,tt="charCodeAt",ut="slice",Ze="replace";for(y[ut](-2),y=y[ut](0,-2)[Ze](/\s/g,"")[Ze]("z","!!!!!"),U=[],G=0,be=(y+=m="uuuuu"[ut](y[V]%5||5))[V];be>G;G+=5)F=52200625*(y[tt](G)-33)+614125*(y[tt](G+1)-33)+7225*(y[tt](G+2)-33)+85*(y[tt](G+3)-33)+(y[tt](G+4)-33),U.push(st&F>>24,st&F>>16,st&F>>8,st&F);return function(Yt,kt){for(var It=kt;It>0;It--)Yt.pop()}(U,m[V]),Le.fromCharCode.apply(Le,U)},r=function(y){return y.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(y){var m=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((y=y.replace(/\s/g,"")).indexOf(">")!==-1&&(y=y.substr(0,y.indexOf(">"))),y.length%2&&(y+="0"),m.test(y)===!1)return"";for(var F="",U=0;Utt&&(st=ut,ut=tt,tt=st);else{if(m!=="l"&&m!=="landscape")throw"Invalid orientation: "+m;m="l",tt>ut&&(st=ut,ut=tt,tt=st)}return{width:ut,height:tt,unit:F,k:be,orientation:m}},e.html=function(m,F){(F=F||{}).callback=F.callback||function(){},F.html2canvas=F.html2canvas||{},F.html2canvas.canvas=F.html2canvas.canvas||this.canvas,F.jsPDF=F.jsPDF||this,F.fontFaces=F.fontFaces?F.fontFaces.map(Sl):null;var U=new y(F);return F.worker?U:U.from(m).doCallback()}}(to.API),to.API.addJS=function(e){return Lp=e,this.internal.events.subscribe("postPutResources",function(){qc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qc!==void 0&&Up!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),l=0;l> endobj")}var V=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+V+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,l){var y={title:a,options:l,children:[]};return r==null&&(r=this.root),r.children.push(y),y},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(y.children[0])),this.line("/Last "+this.makeRef(y.children[y.children.length-1])));var m=this.count=this.count_r({count:0},y);if(m>0&&this.line("/Count "+m),y.options&&y.options.pageNumber){var F=t.internal.getPageInfo(y.options.pageNumber);this.line("/Dest ["+F.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in ft&&Array.isArray(ft.transparency)&&ft.transparency.length>0){for(var er="",On=0,or=ft.transparency.length;On>",tt.content=l;var kt=tt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=3};var G=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length==4},be=e.__arabicParser__.resolveLigatures=function(tt){var ut=0,Ze=t,Yt="",kt=0;for(ut=0;ut>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(m){t=m}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(m){r=isNaN(m)||Number.isInteger(m)===!1||m<0?150:m,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(m){a=isNaN(m)||Number.isInteger(m)===!1||m<0?300:m,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(m){l=m}});var y={};Object.defineProperty(this,"style",{get:function(){return y},set:function(m){y=m}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(to.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var F=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return F},set:function(tt){F=tt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var G=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return G},set:function(tt){G=tt}});var be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return be},set:function(tt){be=tt}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(tt){Le=tt}});var V=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return V},set:function(tt){V=tt}});var st=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return st},set:function(tt){st=tt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(F){return r.call(this),this.internal.__cell__.headerFunction=typeof F=="function"?F:void 0,this},e.getTextDimensions=function(F,U){r.call(this);var G=(U=U||{}).fontSize||this.getFontSize(),be=U.font||this.getFont(),Le=U.scaleFactor||this.internal.scaleFactor,V=0,st=0,tt=0,ut=this;if(!Array.isArray(F)&&typeof F!="string"){if(typeof F!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");F=String(F)}var Ze=U.maxWidth;Ze>0?typeof F=="string"?F=this.splitTextToSize(F,Ze):Object.prototype.toString.call(F)==="[object Array]"&&(F=F.reduce(function(kt,It){return kt.concat(ut.splitTextToSize(It,Ze))},[])):F=Array.isArray(F)?F:[F];for(var Yt=0;Ytthis.getPageHeight()?(this.cellAddPage(),F.y=be.top,V&&Le&&(this.printHeaderRow(F.lineNumber,!0),F.y+=Le[0].height)):F.y=U.y+U.height||F.y),F.text[0]!==void 0&&(this.rect(F.x,F.y,F.width,F.height,t===!0?"FD":void 0),F.align==="right"?this.text(F.text,F.x+F.width-G,F.y+G,{align:"right",baseline:"top"}):F.align==="center"?this.text(F.text,F.x+F.width/2,F.y+G,{align:"center",baseline:"top",maxWidth:F.width-G-G}):this.text(F.text,F.x+G,F.y+G,{align:"left",baseline:"top",maxWidth:F.width-G-G})),this.internal.__cell__.lastCell=F,this};e.table=function(F,U,G,be,Le){if(r.call(this),!G)throw new Error("No data for PDF table.");var V,st,tt,ut,Ze=[],Yt=[],kt=[],It={},Rn={},dr=[],Jn=[],An=(Le=Le||{}).autoSize||!1,Ft=Le.printHeaders!==!1,wn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,ze=Le.margins||Object.assign({width:this.getPageWidth()},n),ft=typeof Le.padding=="number"?Le.padding:3,Jt=Le.headerBackgroundColor||"#c8c8c8",Zt=Le.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Ft,this.internal.__cell__.margins=ze,this.internal.__cell__.table_font_size=wn,this.internal.__cell__.padding=ft,this.internal.__cell__.headerBackgroundColor=Jt,this.internal.__cell__.headerTextColor=Zt,this.setFontSize(wn),be==null)Yt=Ze=Object.keys(G[0]),kt=Ze.map(function(){return"left"});else if(Array.isArray(be)&&(0,A.Z)(be[0])==="object")for(Ze=be.map(function(iA){return iA.name}),Yt=be.map(function(iA){return iA.prompt||iA.name||""}),kt=be.map(function(iA){return iA.align||"left"}),V=0;V0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(to.API);var ms={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ds=ei(wc),zs=[100,200,300,400,500,600,700,800,900],yu=ei(zs);function Sl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ms[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),a=function(l){return typeof Ds[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function yc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function kp(e,n,t){var r=e.length,a=[];a[0]=4;for(var l=0;l>l&y}function Kp(e,n,t,r){var a=t*r,l=Math.floor(a/8),y=16-(a-8*l+r),m=(1<>8&255;U.setUint8(G,Le)}})(e,l,zp(e,l)&~(m<>7,y=1<<1+(7&a);e[n++],e[n++];var m=null,F=null;l&&(m=n,F=y,n+=3*y);var U=!0,G=[],be=0,Le=null,V=0,st=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];be=e[n++]|e[n++]<<8,Le=e[n++],1&tt||(Le=null),V=tt>>2&7,n++;break;case 254:for(;;){if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ut=e[n++]|e[n++]<<8,Ze=e[n++]|e[n++]<<8,Yt=e[n++]|e[n++]<<8,kt=e[n++]|e[n++]<<8,It=e[n++],Rn=It>>6&1,dr=1<<1+(7&It),Jn=m,An=F,Ft=!1;It>>7&&(Ft=!0,Jn=n,An=dr,n+=3*dr);var wn=n;for(n++;;){var ze;if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}G.push({x:ut,y:Ze,width:Yt,height:kt,has_local_palette:Ft,palette_offset:Jn,palette_size:An,data_offset:wn,data_length:n-wn,transparent_index:Le,interlaced:!!Rn,delay:be,disposal:V});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return G.length},this.loopCount=function(){return st},this.frameInfo=function(ft){if(ft<0||ft>=G.length)throw new Error("Frame index out of range.");return G[ft]},this.decodeAndBlitFrameBGRA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=FA,Jt[Rt++]=Vr,Jt[Rt++]=Cr,Jt[Rt++]=255}--Fr}},this.decodeAndBlitFrameRGBA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=Cr,Jt[Rt++]=Vr,Jt[Rt++]=FA,Jt[Rt++]=255}--Fr}}}function Zp(e,n,t,r){for(var a=e[n++],l=1<>=F,G-=F,ut!==l){if(ut===y)break;for(var Ze=utl;)kt=st[kt]>>8,++Yt;var It=kt;if(Le+Yt+(Ze!==ut?1:0)>r)return void ci.log("Warning, gif stream longer than expected.");t[Le++]=It;var Rn=Le+=Yt;for(Ze!==ut&&(t[Le++]=It),kt=Ze;Yt--;)kt=st[kt],t[--Rn]=255&kt,kt>>=8;tt!==null&&m<4096&&(st[m++]=tt<<8|It,m>=U+1&&F<12&&(++F,U=U<<1|1)),tt=ut}else m=y+1,U=(1<<(F=a+1))-1,tt=null}return Le!==r&&ci.log("Warning, gif stream shorter than expected."),t}function V0(e){var n,t,r,a,l,y=Math.floor,m=new Array(64),F=new Array(64),U=new Array(64),G=new Array(64),be=new Array(65535),Le=new Array(65535),V=new Array(64),st=new Array(64),tt=[],ut=0,Ze=7,Yt=new Array(64),kt=new Array(64),It=new Array(64),Rn=new Array(256),dr=new Array(2048),Jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],An=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ft=[0,1,2,3,4,5,6,7,8,9,10,11],wn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ze=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Jt=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gn(ke,bt){for(var Rt=0,qt=0,un=new Array,In=1;In<=16;In++){for(var Yn=1;Yn<=ke[In];Yn++)un[bt[qt]]=[],un[bt[qt]][0]=Rt,un[bt[qt]][1]=In,qt++,Rt++;Rt*=2}return un}function er(ke){for(var bt=ke[0],Rt=ke[1]-1;Rt>=0;)bt&1<>8&255),On(255&ke)}function iA(ke,bt,Rt,qt,un){for(var In,Yn=un[0],nr=un[240],Cr=function(kr,Po){var YA,xo,Co,Ai,La,ea,ja,Ra,ao,ia,uo=0;for(ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+1],Co=kr[uo+2],Ai=kr[uo+3],La=kr[uo+4],ea=kr[uo+5],ja=kr[uo+6];var ds=YA+(Ra=kr[uo+7]),Ka=YA-Ra,Ca=xo+ja,wa=xo-ja,Hi=Co+ea,yo=Co-ea,Ei=Ai+La,To=Ai-La,ta=ds+Ei,Mi=ds-Ei,Sa=Ca+Hi,Oo=Ca-Hi;kr[uo]=ta+Sa,kr[uo+4]=ta-Sa;var oi=.707106781*(Oo+Mi);kr[uo+2]=Mi+oi,kr[uo+6]=Mi-oi;var tf=.382683433*((ta=To+yo)-(Oo=wa+Ka)),il=.5411961*ta+tf,Eu=1.306562965*Oo+tf,$c=.707106781*(Sa=yo+wa),Uo=Ka+$c,xu=Ka-$c;kr[uo+5]=xu+il,kr[uo+3]=xu-il,kr[uo+1]=Uo+Eu,kr[uo+7]=Uo-Eu,uo+=8}for(uo=0,ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+8],Co=kr[uo+16],Ai=kr[uo+24],La=kr[uo+32],ea=kr[uo+40],ja=kr[uo+48];var Iu=YA+(Ra=kr[uo+56]),_l=YA-Ra,$l=xo+ja,rs=xo-ja,js=Co+ea,Zs=Co-ea,nf=Ai+La,dd=Ai-La,Ic=Iu+nf,eu=Iu-nf,Sc=$l+js,Fc=$l-js;kr[uo]=Ic+Sc,kr[uo+32]=Ic-Sc;var ec=.707106781*(Fc+eu);kr[uo+16]=eu+ec,kr[uo+48]=eu-ec;var rf=.382683433*((Ic=dd+Zs)-(Fc=rs+_l)),tu=.5411961*Ic+rf,Af=1.306562965*Fc+rf,Zf=.707106781*(Sc=Zs+rs),Wf=_l+Zf,Xf=_l-Zf;kr[uo+40]=Xf+tu,kr[uo+24]=Xf-tu,kr[uo+8]=Wf+Af,kr[uo+56]=Wf-Af,uo++}for(ao=0;ao<64;++ao)ia=kr[ao]*Po[ao],V[ao]=ia>0?ia+.5|0:ia-.5|0;return V}(ke,bt),Vr=0;Vr<64;++Vr)st[Jn[Vr]]=Cr[Vr];var FA=st[0]-Rt;Rt=st[0],FA==0?er(qt[0]):(er(qt[Le[In=32767+FA]]),er(be[In]));for(var SA=63;SA>0&&st[SA]==0;)SA--;if(SA==0)return er(Yn),Rt;for(var go,ht=1;ht<=SA;){for(var QA=ht;st[ht]==0&&ht<=SA;)++ht;var va=ht-QA;if(va>=16){go=va>>4;for(var Qo=1;Qo<=go;++Qo)er(nr);va&=15}In=32767+st[ht],er(un[(va<<4)+Le[In]]),er(be[In]),ht++}return SA!=63&&er(Yn),Rt}function Fr(ke){ke=Math.min(Math.max(ke,1),100),l!=ke&&(function(bt){for(var Rt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],qt=0;qt<64;qt++){var un=y((Rt[qt]*bt+50)/100);un=Math.min(Math.max(un,1),255),m[Jn[qt]]=un}for(var In=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Yn=0;Yn<64;Yn++){var nr=y((In[Yn]*bt+50)/100);nr=Math.min(Math.max(nr,1),255),F[Jn[Yn]]=nr}for(var Cr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vr=0,FA=0;FA<8;FA++)for(var SA=0;SA<8;SA++)U[Vr]=1/(m[Jn[Vr]]*Cr[FA]*Cr[SA]*8),G[Vr]=1/(F[Jn[Vr]]*Cr[FA]*Cr[SA]*8),Vr++}(ke<50?Math.floor(5e3/ke):Math.floor(200-2*ke)),l=ke)}this.encode=function(ke,bt){bt&&Fr(bt),tt=new Array,ut=0,Ze=7,or(65496),or(65504),or(16),On(74),On(70),On(73),On(70),On(0),On(1),On(1),On(0),or(1),or(1),On(0),On(0),function(){or(65499),or(132),On(0);for(var xo=0;xo<64;xo++)On(m[xo]);On(1);for(var Co=0;Co<64;Co++)On(F[Co])}(),function(xo,Co){or(65472),or(17),On(8),or(Co),or(xo),On(3),On(1),On(17),On(0),On(2),On(17),On(1),On(3),On(17),On(1)}(ke.width,ke.height),function(){or(65476),or(418),On(0);for(var xo=0;xo<16;xo++)On(An[xo+1]);for(var Co=0;Co<=11;Co++)On(Ft[Co]);On(16);for(var Ai=0;Ai<16;Ai++)On(wn[Ai+1]);for(var La=0;La<=161;La++)On(ze[La]);On(1);for(var ea=0;ea<16;ea++)On(ft[ea+1]);for(var ja=0;ja<=11;ja++)On(Jt[ja]);On(17);for(var Ra=0;Ra<16;Ra++)On(Zt[Ra+1]);for(var ao=0;ao<=161;ao++)On(Mn[ao])}(),or(65498),or(12),On(3),On(1),On(0),On(2),On(17),On(3),On(17),On(0),On(63),On(0);var Rt=0,qt=0,un=0;ut=0,Ze=7,this.encode.displayName="_encode_";for(var In,Yn,nr,Cr,Vr,FA,SA,go,ht,QA=ke.data,va=ke.width,Qo=ke.height,kr=4*va,Po=0;Po>3)*kr+(SA=4*(7&ht)),Po+go>=Qo&&(FA-=kr*(Po+1+go-Qo)),In+SA>=kr&&(FA-=In+SA-kr+4),Yn=QA[FA++],nr=QA[FA++],Cr=QA[FA++],Yt[ht]=(dr[Yn]+dr[nr+256|0]+dr[Cr+512|0]>>16)-128,kt[ht]=(dr[Yn+768|0]+dr[nr+1024|0]+dr[Cr+1280|0]>>16)-128,It[ht]=(dr[Yn+1280|0]+dr[nr+1536|0]+dr[Cr+1792|0]>>16)-128;Rt=iA(Yt,U,Rt,n,r),qt=iA(kt,G,qt,t,a),un=iA(It,G,un,t,a),In+=32}Po+=8}if(Ze>=0){var YA=[];YA[1]=Ze+1,YA[0]=(1<ft;ft++)if(Ft[wn+ft]!=ze.charCodeAt(ft))return!0;return!1}function r(Ft,wn,ze,ft,Jt){for(var Zt=0;ZtZt+1?[]:new wn),!(Mn.length>>0;c&z;)z>>>=1;return z?(c&z-1)+z:c}function ze(c,v,z,re,Ie){n(!(re%z));do c[v+(re-=z)]=Ie;while(0=Ie),512>=Ie)var Ne=l(512);else if((Ne=l(Ie))==null)return 0;return function(Te,Ge,$e,gt,tn,Ln){var pt,ln,yn=Ge,ur=1<<$e,Qn=l(16),fr=l(16);for(n(tn!=0),n(gt!=null),n(Te!=null),n(0<$e),ln=0;lnpt;++pt){if(Qn[pt]>1<(da-=Qn[pt]))return 0;for(;0=pt;++pt,tn<<=1){if(XA+=da<<=1,0>(da-=Qn[pt]))return 0;for(;0Zr&&!(0>=(mr-=Qn[Zr]));)++Zr,mr<<=1;ur+=no=1<<(mr=Zr-$e),Te[Ge+(Zr=lo&Ur)].g=mr+$e,Te[Ge+Zr].value=yn-Ge-Zr}gt.g=pt-$e,gt.value=Ln[ln++],ze(Te,yn+(lo>>$e),tn,no,gt),lo=wn(lo,pt)}}return XA!=2*fr[15]-1?0:ur}(c,v,z,re,Ie,Ne)}function Jt(){this.value=this.g=0}function Zt(){this.value=this.g=0}function Mn(){this.G=y(5,Jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=y(pf,Zt)}function Gn(c,v,z,re){n(c!=null),n(v!=null),n(2147483648>re),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=v,c.pa=z,c.Jd=v,c.Yc=z+re,c.Zc=4<=re?z+re-4+1:z,Yn(c)}function er(c,v){for(var z=0;0re),c.Sb=re,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;qt(c)&&(c.h=1,c.u=0)}function Fr(c,v){if(n(0<=v),!c.h&&v<=Tl){var z=Rt(c)&jl[v];return c.u+=v,iA(c),z}return c.h=1,c.u=0}function ke(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Rt(c){return c.Ra>>>(c.u&pd-1)>>>0}function qt(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>pd}function un(c,v){c.u=v,c.h=qt(c)}function In(c){c.u>=ju&&(n(c.u>=ju),iA(c))}function Yn(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&Yn(c);var re=c.b,Ie=z*v>>>8,Ne=(c.I>>>re>Ie)+0;for(Ne?(z-=Ie,c.I-=Ie+1<>>0):z=Ie+1,re=z,Ie=0;256<=re;)Ie+=8,re>>=8;return re=7^Ie+vd[re],c.b-=re,c.Ca=(z<>24&255,c[v+1]=z>>16&255,c[v+2]=z>>8&255,c[v+3]=255&z}function FA(c,v){return c[v+0]|c[v+1]<<8}function SA(c,v){return FA(c,v)|c[v+2]<<16}function go(c,v){return FA(c,v)|FA(c,v+2)<<16}function ht(c,v){var z=1<=Ie||0>=Ne?0:(z[0]=Ie,re[0]=Ne,1)}function kr(c,v){return c+(1<>>v}function Po(c,v){return((4278255360&c)+(4278255360&v)>>>0&4278255360)+((16711935&c)+(16711935&v)>>>0&16711935)>>>0}function YA(c,v){Ft[v]=function(z,re,Ie,Ne,Te,Ge,$e){var gt;for(gt=0;gt>>1)+(c&v)>>>0}function Ai(c){return 0<=c&&256>c?c:0>c?0:255>1))}function ea(c,v,z){return Math.abs(v-z)-Math.abs(c-z)}function ja(c,v,z,re,Ie,Ne,Te){for(re=Ne[Te-1],z=0;z>8&255,$e=16711935&($e=($e=16711935&Te)+((Ge<<16)+Ge));re[Ie+Ne]=(4278255360&Te)+$e>>>0}}function ao(c,v){v.jd=255&c,v.hd=c>>8&255,v.ud=c>>16&255}function ia(c,v,z,re,Ie,Ne){var Te;for(Te=0;Te>>8,gt=Ge,tn=255&(tn=(tn=Ge>>>16)+((c.jd<<24>>24)*($e<<24>>24)>>>5));gt=255&(gt=(gt+=(c.hd<<24>>24)*($e<<24>>24)>>>5)+((c.ud<<24>>24)*(tn<<24>>24)>>>5)),Ie[Ne+Te]=(4278255360&Ge)+(tn<<16)+gt}}function uo(c,v,z,re,Ie){Ft[v]=function(Ne,Te,Ge,$e,gt,tn,Ln,pt,ln){for($e=Ln;$e>Ne.b,ln=Ne.Ea,yn=Ne.K[0],ur=Ne.w;if(8>pt)for(Ne=(1<>=pt}else Ft["VP8LMapColor"+z]($e,gt,yn,ur,tn,Ln,Te,Ge,ln)}}function ds(c,v,z,re,Ie){for(z=v+z;v>16&255,re[Ie++]=Ne>>8&255,re[Ie++]=255&Ne}}function Ka(c,v,z,re,Ie){for(z=v+z;v>16&255,re[Ie++]=Ne>>8&255,re[Ie++]=255&Ne,re[Ie++]=Ne>>24&255}}function Ca(c,v,z,re,Ie){for(z=v+z;v>16&240|Te>>12&15,Te=240&Te|Te>>28&15;re[Ie++]=Ne,re[Ie++]=Te}}function wa(c,v,z,re,Ie){for(z=v+z;v>16&248|Te>>13&7,Te=Te>>5&224|Te>>3&31;re[Ie++]=Ne,re[Ie++]=Te}}function Hi(c,v,z,re,Ie){for(z=v+z;v>8&255,re[Ie++]=Ne>>16&255}}function yo(c,v,z,re,Ie,Ne){if(Ne==0)for(z=v+z;v>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Ie+=32;else r(re,Ie,c,v,z)}function Ei(c,v){Ft[v][0]=Ft[c+"0"],Ft[v][1]=Ft[c+"1"],Ft[v][2]=Ft[c+"2"],Ft[v][3]=Ft[c+"3"],Ft[v][4]=Ft[c+"4"],Ft[v][5]=Ft[c+"5"],Ft[v][6]=Ft[c+"6"],Ft[v][7]=Ft[c+"7"],Ft[v][8]=Ft[c+"8"],Ft[v][9]=Ft[c+"9"],Ft[v][10]=Ft[c+"10"],Ft[v][11]=Ft[c+"11"],Ft[v][12]=Ft[c+"12"],Ft[v][13]=Ft[c+"13"],Ft[v][14]=Ft[c+"0"],Ft[v][15]=Ft[c+"0"]}function To(c){return c==dp||c==fp||c==p0||c==hp}function ta(){this.eb=[],this.size=this.A=this.fb=0}function Mi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Sa(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ta,this.f.kb=new Mi,this.sd=null}function Oo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function il(c,v){var z=c.T,re=v.ba.f.RGBA,Ie=re.eb,Ne=re.fb+c.ka*re.A,Te=ac[v.ba.S],Ge=c.y,$e=c.O,gt=c.f,tn=c.N,Ln=c.ea,pt=c.W,ln=v.cc,yn=v.dc,ur=v.Mc,Qn=v.Nc,fr=c.ka,mr=c.ka+c.T,Zr=c.U,Ur=Zr+1>>1;for(fr==0?Te(Ge,$e,null,null,gt,tn,Ln,pt,gt,tn,Ln,pt,Ie,Ne,null,null,Zr):(Te(v.ec,v.fc,Ge,$e,ln,yn,ur,Qn,gt,tn,Ln,pt,Ie,Ne-re.A,Ie,Ne,Zr),++z);fr+2z,Ie=z==f0||z==h0||z==g0||z==up||z==12||To(z);if(v.memory=null,v.Ib=null,v.Jb=null,v.Nd=null,!eg(v.Oa,c,Ie?11:12))return 0;if(Ie&&To(z)&&qh(),c.da)alert("todo:use_scaling");else{if(re){if(v.Ib=tf,c.Kb){if(z=c.U+1>>1,v.memory=l(c.U+2*z),v.memory==null)return 0;v.ec=v.memory,v.fc=0,v.cc=v.ec,v.dc=v.fc+c.U,v.Mc=v.cc,v.Nc=v.dc+z,v.Ib=il,qh()}}else alert("todo:EmitYUV");Ie&&(v.Jb=Eu,re&&Pc())}if(re&&!Bv){for(c=0;256>c;++c)mm[c]=89858*(c-128)+m0>>v0,wm[c]=-22014*(c-128)+m0,Cm[c]=-45773*(c-128),Bm[c]=113618*(c-128)+m0>>v0;for(c=cg;c>v0,ym[c-cg]=nu(v,255),bm[c-cg]=nu(v+8>>4,15);Bv=1}return 1}function Uo(c){var v=c.ma,z=c.U,re=c.T;return n(!(1&c.ka)),0>=z||0>=re?0:(z=v.Ib(c,v),v.Jb!=null&&v.Jb(c,v,z),v.Dc+=z,1)}function xu(c){c.ma.memory=null}function Iu(c,v,z,re){return Fr(c,8)!=47?0:(v[0]=Fr(c,14)+1,z[0]=Fr(c,14)+1,re[0]=Fr(c,1),Fr(c,3)!=0?0:!c.h)}function _l(c,v){if(4>c)return c+1;var z=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&z)))?z:1;var z}function rs(c,v,z){var re=Rt(z),Ie=c[v+=255&re].g-8;return 0>>0,n(8>=z.g),c.g}function Zs(c,v,z){var re=c.xc;return n((v=re==0?0:c.vc[c.md*(z>>re)+(v>>re)])>no.b)*XA;urZr&&(ro=Zr),(0,Ag[Ta[Qs++]>>8&15])(pt,ln+ +fa,fr,mr+fa-Zr,ro-fa,fr,mr+fa),fa=ro}ln+=Zr,mr+=Zr,++ur&lo||(no+=XA)}Ln!=gt.nc&&r($e,Ge-yn,$e,Ge+(Ln-tn-1)*yn,yn);break;case 1:for(yn=pt,Qn=ln,Zr=(pt=gt.Ea)-(mr=pt&~(fr=(ln=1<>gt.b)*ur;tn=Ie),0Ne.o&&(re=Ne.o),z=re?z=0:(Ie[0]+=4*Ne.v,Ne.ka=z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=re-z,z=1),z){if(Ge=Ge[0],11>(z=c.ca).S){var tn=z.f.RGBA,Ln=(re=z.S,Ie=Ne.U,Ne=Ne.T,gt=tn.eb,tn.A),pt=Ne;for(tn=tn.fb+c.Ma*tn.A;0re){var Ie=c.l.width,Ne=z.ca,Te=z.tb+Ie*re,Ge=c.V,$e=c.Ba+c.c*re,gt=c.gc;n(c.ab==1),n(gt[0].hc==3),au(gt[0],re,v,Ge,$e,Ne,Te),eu(z,re,v,Ne,Te,Ie)}c.C=c.Ma=v}function Fc(c,v,z,re,Ie,Ne,Te){var Ge=c.$/re,$e=c.$%re,gt=c.m,tn=c.s,Ln=z+c.$,pt=Ln;Ie=z+re*Ie;var ln=z+re*Ne,yn=280+tn.ua,ur=c.Pb?Ge:16777216,Qn=0=ur){var lo=Ln-z;n((ur=c).Pb),ur.wd=ur.m,ur.xd=lo,0da.g?(un(Ur,Ur.u+da.g),lo[XA]=da.value,Ur=0):(un(Ur,Ur.u+da.g-256),n(256<=da.value),Ur=da.value),Ur==0&&(Zr=!0)}else Ur=rs(mr.G[0],mr.H[0],gt);if(gt.h)break;if(Zr||256>Ur){if(!Zr)if(mr.nd)v[Ln]=(mr.qb|Ur<<8)>>>0;else{if(In(gt),Zr=rs(mr.G[1],mr.H[1],gt),In(gt),lo=rs(mr.G[2],mr.H[2],gt),XA=rs(mr.G[3],mr.H[3],gt),gt.h)break;v[Ln]=(XA<<24|Zr<<16|Ur<<8|lo)>>>0}if(Zr=!1,++Ln,++$e>=re&&($e=0,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge),Qn!=null))for(;pt>>Qn.Mb]=Ur}else if(280>Ur){if(Ur=_l(Ur-256,gt),lo=rs(mr.G[4],mr.H[4],gt),In(gt),lo=$l(re,lo=_l(lo,gt)),gt.h)break;if(Ln-z=re;)$e-=re,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge);if(n(Ln<=Ie),$e&fr&&(mr=Zs(tn,$e,Ge)),Qn!=null)for(;pt>>Qn.Mb]=Ur}else{if(!(Ur>>Qn.Mb]=Ur;Ur=Ln,n(!(Zr>>>(lo=Qn).Xa)),v[Ur]=lo.X[Zr],Zr=!0}Zr||n(gt.h==qt(gt))}if(c.Pb&>.h&&LnNe?Ne:Ge),c.a=0,c.$=Ln-z}return 1}return c.a=3,0}function ec(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var v=c.Wa;v!=null&&(v.X=null),c.vb=null,n(c!=null)}function rf(){var c=new Vo;return c==null?null:(c.a=0,c.xb=fv,Ei("Predictor","VP8LPredictors"),Ei("Predictor","VP8LPredictors_C"),Ei("PredictorAdd","VP8LPredictorsAdd"),Ei("PredictorAdd","VP8LPredictorsAdd_C"),fs=Ra,og=ia,ag=ds,md=Ka,Bd=Ca,Cd=wa,vf=Hi,Ft.VP8LMapColor32b=ou,Ft.VP8LMapColor8b=rg,c)}function tu(c,v,z,re,Ie){var Ne=1,Te=[c],Ge=[v],$e=re.m,gt=re.s,tn=null,Ln=0;e:for(;;){if(z)for(;Ne&&Fr($e,1);){var pt=Te,ln=Ge,yn=re,ur=1,Qn=yn.m,fr=yn.gc[yn.ab],mr=Fr(Qn,2);if(yn.Oc&1<=yn.ab),mr){case 0:case 1:fr.b=Fr(Qn,3)+2,ur=tu(kr(fr.Ea,fr.b),kr(fr.nc,fr.b),0,yn,fr.K),fr.K=fr.K[0];break;case 3:var Zr,Ur=Fr(Qn,8)+1,lo=16>no.b),Qs=l(Ta);if(Qs==null)Zr=0;else{var fa=no.K[0],ro=no.w;for(Qs[0]=no.K[0][0],XA=1;XA<1*da;++XA)Qs[XA]=Po(fa[ro+XA],Qs[XA-1]);for(;XA<4*Ta;++XA)Qs[XA]=0;no.K[0]=null,no.K[0]=Qs,Zr=1}}ur=Zr;break;case 2:break;default:n(0)}Ne=ur}}if(Te=Te[0],Ge=Ge[0],Ne&&Fr($e,1)&&!(Ne=1<=(Ln=Fr($e,4))&&11>=Ln)){re.a=3;break e}var bA;if(bA=Ne)t:{var gs,na,ka,Li=re,Vs=Te,gl=Ge,As=Ln,sl=z,pl=Li.m,Ps=Li.s,Za=[null],ui=1,os=0,di=om[As];n:for(;;){if(sl&&Fr(pl,1)){var Gs=Fr(pl,3)+2,Uc=kr(Vs,Gs),ps=kr(gl,Gs),Fl=Uc*ps;if(!tu(Uc,ps,0,Li,Za))break n;for(Za=Za[0],Ps.xc=Gs,gs=0;gs>8&65535;Za[gs]=Bi,Bi>=ui&&(ui=Bi+1)}}if(pl.h)break n;for(na=0;5>na;++na){var Os=uv[na];!na&&0=vl),Kl=kl;var Ql=l(os);if(Kl==null||Ql==null||Ml==null){Li.a=1;break n}var zl=Ml;for(gs=ka=0;gsna;++na){Os=uv[na],Zl[na]=zl,Lc[na]=ka,!na&&0E0)break r}else Cp=E0;for(dg=0;dgnh)Iv[dg++]=nh,nh!=0&&(Sv=nh);else{var Lm=nh==16,Pv=nh-16,Rm=tm[Pv],Ov=Fr(xd,em[Pv])+Rm;if(dg+Ov>E0)break r;for(var Nm=Lm?Sv:0;0=na){var fg,yp=Ql[0];for(fg=1;fgyp&&(yp=Ql[fg]);Js+=yp}}if(Ii.nd=Mu,Ii.Qb=0,Mu&&(Ii.qb=(Zl[3][Lc[3]+0].value<<24|Zl[1][Lc[1]+0].value<<16|Zl[2][Lc[2]+0].value)>>>0,Bf==0&&256>Zl[0][Lc[0]+0].value&&(Ii.Qb=1,Ii.qb+=Zl[0][Lc[0]+0].value<<8)),Ii.jc=!Ii.Qb&&6>Js,Ii.jc){var x0,ku=Ii;for(x0=0;x0>=js(I0,8,Sd),Id>>=js(ku.G[1][ku.H[1]+Id],16,Sd),Id>>=js(ku.G[2][ku.H[2]+Id],0,Sd),js(ku.G[3][ku.H[3]+Id],24,Sd))}}}Ps.vc=Za,Ps.Wb=ui,Ps.Ya=Kl,Ps.yc=Ml,bA=1;break t}bA=0}if(!(Ne=bA)){re.a=3;break e}if(0re+1?[]:0),!(Ie.lengthc?0:c>v?v:c}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Yg;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,lg||(lg=Gf)),c}function Bs(c,v,z){return c.a==0&&(c.a=v,c.sc=z,c.cb=0),0}function qg(c,v,z){return 3<=z&&c[v+0]==157&&c[v+1]==1&&c[v+2]==42}function ru(c,v){if(c==null)return 0;if(c.a=0,c.sc="OK",v==null)return Bs(c,2,"null VP8Io passed to VP8GetHeaders()");var z=v.data,re=v.w,Ie=v.ha;if(4>Ie)return Bs(c,7,"Truncated header.");var Ne=z[re+0]|z[re+1]<<8|z[re+2]<<16,Te=c.Od;if(Te.Rb=!(1&Ne),Te.td=Ne>>1&7,Te.yd=Ne>>4&1,Te.ub=Ne>>5,3Ie)return Bs(c,7,"cannot parse picture header");if(!qg(z,re,Ie))return Bs(c,3,"Bad code word");Ge.c=16383&(z[re+4]<<8|z[re+3]),Ge.Td=z[re+4]>>6,Ge.i=16383&(z[re+6]<<8|z[re+5]),Ge.Ud=z[re+6]>>6,re+=7,Ie-=7,c.za=Ge.c+15>>4,c.Ub=Ge.i+15>>4,v.width=Ge.c,v.height=Ge.i,v.Da=0,v.j=0,v.v=0,v.va=v.width,v.o=v.height,v.da=0,v.ib=v.width,v.hb=v.height,v.U=v.width,v.T=v.height,a((Ne=c.Pa).jb,0,255,Ne.jb.length),n((Ne=c.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,a(Ne.Zb,0,0,Ne.Zb.length),a(Ne.Lb,0,0,Ne.Lb)}if(Te.ub>Ie)return Bs(c,7,"bad partition length");Gn(Ne=c.m,z,re,Te.ub),re+=Te.ub,Ie-=Te.ub,Te.Rb&&(Ge.Ld=nr(Ne),Ge.Kd=nr(Ne)),Ge=c.Qa;var $e,gt=c.Pa;if(n(Ne!=null),n(Ge!=null),Ge.Cb=nr(Ne),Ge.Cb){if(Ge.Bb=nr(Ne),nr(Ne)){for(Ge.Fb=nr(Ne),$e=0;4>$e;++$e)Ge.Zb[$e]=nr(Ne)?On(Ne,7):0;for($e=0;4>$e;++$e)Ge.Lb[$e]=nr(Ne)?On(Ne,6):0}if(Ge.Bb)for($e=0;3>$e;++$e)gt.jb[$e]=nr(Ne)?er(Ne,8):255}else Ge.Bb=0;if(Ne.Ka)return Bs(c,3,"cannot parse segment header");if((Ge=c.ed).zd=nr(Ne),Ge.Tb=er(Ne,6),Ge.wb=er(Ne,3),Ge.Pc=nr(Ne),Ge.Pc&&nr(Ne)){for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.vd[gt]=On(Ne,6));for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.od[gt]=On(Ne,6))}if(c.L=Ge.Tb==0?0:Ge.zd?1:2,Ne.Ka)return Bs(c,3,"cannot parse filter header");var tn=Ie;if(Ie=$e=re,re=$e+tn,Ge=tn,c.Xb=(1<Ge&&(Ln=Ge),Gn(c.Jc[+tn],z,$e,Ln),$e+=Ln,Ge-=Ln,Ie+=3}Gn(c.Jc[+gt],z,$e,Ge),z=$eLn;++Ln){if(tn.Cb){var pt=tn.Zb[Ln];tn.Fb||(pt+=z)}else{if(0>16,8>ln.Eb[1]&&(ln.Eb[1]=8),ln.Qc[0]=gp[nu(pt+gt,117)],ln.Qc[1]=pp[nu(pt+$e,127)],ln.lc=pt+$e}if(!Te.Rb)return Bs(c,4,"Not a key frame.");for(nr(Ne),Te=c.Pa,z=0;4>z;++z){for(Ie=0;8>Ie;++Ie)for(re=0;3>re;++re)for(Ge=0;11>Ge;++Ge)gt=Cr(Ne,um[z][Ie][re][Ge])?er(Ne,8):lm[z][Ie][re][Ge],Te.Wc[z][Ie].Yb[re][Ge]=gt;for(Ie=0;17>Ie;++Ie)Te.Xc[z][Ie]=Te.Wc[z][dm[Ie]]}return c.kc=nr(Ne),c.kc&&(c.Bd=er(Ne,8)),c.cb=1}function Gf(c,v,z,re,Ie,Ne,Te){var Ge=v[Ie].Yb[z];for(z=0;16>Ie;++Ie){if(!Cr(c,Ge[z+0]))return Ie;for(;!Cr(c,Ge[z+1]);)if(Ge=v[++Ie].Yb[0],z=0,Ie==16)return 16;var $e=v[Ie+1].Yb;if(Cr(c,Ge[z+2])){var gt=c,tn=0;if(Cr(gt,(pt=Ge)[(Ln=z)+3]))if(Cr(gt,pt[Ln+6])){for(Ge=0,Ln=2*(tn=Cr(gt,pt[Ln+8]))+(pt=Cr(gt,pt[Ln+9+tn])),tn=0,pt=im[Ln];pt[Ge];++Ge)tn+=tn+Cr(gt,pt[Ge]);tn+=3+(8<(gt=c).b&&Yn(gt);var Ln,pt=gt.b,ln=(Ln=gt.Ca>>1)-(gt.I>>pt)>>31;--gt.b,gt.Ca+=ln,gt.Ca|=1,gt.I-=(Ln+1&ln)<>3),c[v+z+32*re]=-256&Ie?0>Ie?0:255:Ie}function Is(c,v,z,re,Ie,Ne){nc(c,v,0,z,re+Ie),nc(c,v,1,z,re+Ne),nc(c,v,2,z,re-Ne),nc(c,v,3,z,re-Ie)}function Su(c){return(20091*c>>16)+c}function $g(c,v,z,re){var Ie,Ne=0,Te=l(16);for(Ie=0;4>Ie;++Ie){var Ge=c[v+0]+c[v+8],$e=c[v+0]-c[v+8],gt=(35468*c[v+4]>>16)-Su(c[v+12]),tn=Su(c[v+4])+(35468*c[v+12]>>16);Te[Ne+0]=Ge+tn,Te[Ne+1]=$e+gt,Te[Ne+2]=$e-gt,Te[Ne+3]=Ge-tn,Ne+=4,v++}for(Ie=Ne=0;4>Ie;++Ie)Ge=(c=Te[Ne+0]+4)+Te[Ne+8],$e=c-Te[Ne+8],gt=(35468*Te[Ne+4]>>16)-Su(Te[Ne+12]),nc(z,re,0,0,Ge+(tn=Su(Te[Ne+4])+(35468*Te[Ne+12]>>16))),nc(z,re,1,0,$e+gt),nc(z,re,2,0,$e-gt),nc(z,re,3,0,Ge-tn),Ne++,re+=32}function Y0(c,v,z,re){var Ie=c[v+0]+4,Ne=35468*c[v+4]>>16,Te=Su(c[v+4]),Ge=35468*c[v+1]>>16;Is(z,re,0,Ie+Te,c=Su(c[v+1]),Ge),Is(z,re,1,Ie+Ne,c,Ge),Is(z,re,2,Ie-Ne,c,Ge),Is(z,re,3,Ie-Te,c,Ge)}function q0(c,v,z,re,Ie){$g(c,v,z,re),Ie&&$g(c,v+16,z,re+4)}function Au(c,v,z,re){mf(c,v+0,z,re,1),mf(c,v+32,z,re+128,1)}function e0(c,v,z,re){var Ie;for(c=c[v+0]+4,Ie=0;4>Ie;++Ie)for(v=0;4>v;++v)nc(z,re,v,Ie,c)}function t0(c,v,z,re){c[v+0]&&ai(c,v+0,z,re),c[v+16]&&ai(c,v+16,z,re+4),c[v+32]&&ai(c,v+32,z,re+128),c[v+48]&&ai(c,v+48,z,re+128+4)}function Jf(c,v,z,re){var Ie,Ne=l(16);for(Ie=0;4>Ie;++Ie){var Te=c[v+0+Ie]+c[v+12+Ie],Ge=c[v+4+Ie]+c[v+8+Ie],$e=c[v+4+Ie]-c[v+8+Ie],gt=c[v+0+Ie]-c[v+12+Ie];Ne[0+Ie]=Te+Ge,Ne[8+Ie]=Te-Ge,Ne[4+Ie]=gt+$e,Ne[12+Ie]=gt-$e}for(Ie=0;4>Ie;++Ie)Te=(c=Ne[0+4*Ie]+3)+Ne[3+4*Ie],Ge=Ne[1+4*Ie]+Ne[2+4*Ie],$e=Ne[1+4*Ie]-Ne[2+4*Ie],gt=c-Ne[3+4*Ie],z[re+0]=Te+Ge>>3,z[re+16]=gt+$e>>3,z[re+32]=Te-Ge>>3,z[re+48]=gt-$e>>3,re+=64}function of(c,v,z){var re,Ie=v-32,Ne=Hl,Te=255-c[Ie-1];for(re=0;rez;++z)r(c,v+32*z,c,v-32,16)}function n0(c,v){var z;for(z=16;0re;++re)a(v,z+32*re,c,16)}function tp(c,v){var z,re=16;for(z=0;16>z;++z)re+=c[v-1+32*z]+c[v+z-32];Qc(re>>5,c,v)}function af(c,v){var z,re=8;for(z=0;16>z;++z)re+=c[v-1+32*z];Qc(re>>4,c,v)}function Zh(c,v){var z,re=8;for(z=0;16>z;++z)re+=c[v+z-32];Qc(re>>4,c,v)}function np(c,v){Qc(128,c,v)}function Jo(c,v,z){return c+2*v+z+2>>2}function rp(c,v){var z,re=v-32;for(re=new Uint8Array([Jo(c[re-1],c[re+0],c[re+1]),Jo(c[re+0],c[re+1],c[re+2]),Jo(c[re+1],c[re+2],c[re+3]),Jo(c[re+2],c[re+3],c[re+4])]),z=0;4>z;++z)r(c,v+32*z,re,0,re.length)}function Ap(c,v){var z=c[v-1],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];Vr(c,v+0,16843009*Jo(c[v-1-32],z,re)),Vr(c,v+32,16843009*Jo(z,re,Ie)),Vr(c,v+64,16843009*Jo(re,Ie,Ne)),Vr(c,v+96,16843009*Jo(Ie,Ne,Ne))}function op(c,v){var z,re=4;for(z=0;4>z;++z)re+=c[v+z-32]+c[v-1+32*z];for(re>>=3,z=0;4>z;++z)a(c,v+32*z,re,4)}function Fu(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+96]=Jo(re,Ie,c[v-1+96]),c[v+1+96]=c[v+0+64]=Jo(z,re,Ie),c[v+2+96]=c[v+1+64]=c[v+0+32]=Jo(Ne,z,re),c[v+3+96]=c[v+2+64]=c[v+1+32]=c[v+0+0]=Jo(Te,Ne,z),c[v+3+64]=c[v+2+32]=c[v+1+0]=Jo(Ge,Te,Ne),c[v+3+32]=c[v+2+0]=Jo($e,Ge,Te),c[v+3+0]=Jo(gt,$e,Ge)}function Qu(c,v){var z=c[v+1-32],re=c[v+2-32],Ie=c[v+3-32],Ne=c[v+4-32],Te=c[v+5-32],Ge=c[v+6-32],$e=c[v+7-32];c[v+0+0]=Jo(c[v+0-32],z,re),c[v+1+0]=c[v+0+32]=Jo(z,re,Ie),c[v+2+0]=c[v+1+32]=c[v+0+64]=Jo(re,Ie,Ne),c[v+3+0]=c[v+2+32]=c[v+1+64]=c[v+0+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+64]=c[v+1+96]=Jo(Ne,Te,Ge),c[v+3+64]=c[v+2+96]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,$e)}function ap(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+0]=c[v+1+64]=Ne+Te+1>>1,c[v+1+0]=c[v+2+64]=Te+Ge+1>>1,c[v+2+0]=c[v+3+64]=Ge+$e+1>>1,c[v+3+0]=$e+gt+1>>1,c[v+0+96]=Jo(Ie,re,z),c[v+0+64]=Jo(re,z,Ne),c[v+0+32]=c[v+1+96]=Jo(z,Ne,Te),c[v+1+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+2+32]=c[v+3+96]=Jo(Te,Ge,$e),c[v+3+32]=Jo(Ge,$e,gt)}function ip(c,v){var z=c[v+0-32],re=c[v+1-32],Ie=c[v+2-32],Ne=c[v+3-32],Te=c[v+4-32],Ge=c[v+5-32],$e=c[v+6-32],gt=c[v+7-32];c[v+0+0]=z+re+1>>1,c[v+1+0]=c[v+0+64]=re+Ie+1>>1,c[v+2+0]=c[v+1+64]=Ie+Ne+1>>1,c[v+3+0]=c[v+2+64]=Ne+Te+1>>1,c[v+0+32]=Jo(z,re,Ie),c[v+1+32]=c[v+0+96]=Jo(re,Ie,Ne),c[v+2+32]=c[v+1+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+3+64]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,gt)}function Yf(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];c[v+0+0]=z+re+1>>1,c[v+2+0]=c[v+0+32]=re+Ie+1>>1,c[v+2+32]=c[v+0+64]=Ie+Ne+1>>1,c[v+1+0]=Jo(z,re,Ie),c[v+3+0]=c[v+1+32]=Jo(re,Ie,Ne),c[v+3+32]=c[v+1+64]=Jo(Ie,Ne,Ne),c[v+3+64]=c[v+2+64]=c[v+0+96]=c[v+1+96]=c[v+2+96]=c[v+3+96]=Ne}function Wh(c,v){var z=c[v-1+0],re=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96],Te=c[v-1-32],Ge=c[v+0-32],$e=c[v+1-32],gt=c[v+2-32];c[v+0+0]=c[v+2+32]=z+Te+1>>1,c[v+0+32]=c[v+2+64]=re+z+1>>1,c[v+0+64]=c[v+2+96]=Ie+re+1>>1,c[v+0+96]=Ne+Ie+1>>1,c[v+3+0]=Jo(Ge,$e,gt),c[v+2+0]=Jo(Te,Ge,$e),c[v+1+0]=c[v+3+32]=Jo(z,Te,Ge),c[v+1+32]=c[v+3+64]=Jo(re,z,Te),c[v+1+64]=c[v+3+96]=Jo(Ie,re,z),c[v+1+96]=Jo(Ne,Ie,re)}function sf(c,v){var z;for(z=0;8>z;++z)r(c,v+32*z,c,v-32,8)}function sp(c,v){var z;for(z=0;8>z;++z)a(c,v,c[v-1],8),v+=32}function Pu(c,v,z){var re;for(re=0;8>re;++re)a(v,z+32*re,c,8)}function lp(c,v){var z,re=8;for(z=0;8>z;++z)re+=c[v+z-32]+c[v-1+32*z];Pu(re>>4,c,v)}function Xh(c,v){var z,re=4;for(z=0;8>z;++z)re+=c[v+z-32];Pu(re>>3,c,v)}function Vh(c,v){var z,re=4;for(z=0;8>z;++z)re+=c[v-1+32*z];Pu(re>>3,c,v)}function r0(c,v){Pu(128,c,v)}function Ou(c,v,z){var re=c[v-z],Ie=c[v+0],Ne=3*(Ie-re)+cp[1020+c[v-2*z]-c[v+z]],Te=u0[112+(Ne+4>>3)];c[v-z]=Hl[255+re+u0[112+(Ne+3>>3)]],c[v+0]=Hl[255+Ie-Te]}function Gh(c,v,z,re){var Ie=c[v+0],Ne=c[v+z];return oc[255+c[v-2*z]-c[v-z]]>re||oc[255+Ne-Ie]>re}function qf(c,v,z,re){return 4*oc[255+c[v-z]-c[v+0]]+oc[255+c[v-2*z]-c[v+z]]<=re}function Jh(c,v,z,re,Ie){var Ne=c[v-3*z],Te=c[v-2*z],Ge=c[v-z],$e=c[v+0],gt=c[v+z],tn=c[v+2*z],Ln=c[v+3*z];return 4*oc[255+Ge-$e]+oc[255+Te-gt]>re?0:oc[255+c[v-4*z]-Ne]<=Ie&&oc[255+Ne-Te]<=Ie&&oc[255+Te-Ge]<=Ie&&oc[255+Ln-tn]<=Ie&&oc[255+tn-gt]<=Ie&&oc[255+gt-$e]<=Ie}function lf(c,v,z,re){var Ie=2*re+1;for(re=0;16>re;++re)qf(c,v+re,z,Ie)&&Ou(c,v+re,z)}function Yh(c,v,z,re){var Ie=2*re+1;for(re=0;16>re;++re)qf(c,v+re*z,1,Ie)&&Ou(c,v+re*z,1)}function A0(c,v,z,re){var Ie;for(Ie=3;0>7,fr=18*mr+63>>7,mr=9*mr+63>>7;$e[gt-3*tn]=Hl[255+$e[gt-3*tn]+mr],$e[gt-2*tn]=Hl[255+Ln+fr],$e[gt-tn]=Hl[255+pt+Qn],$e[gt+0]=Hl[255+ln-Qn],$e[gt+tn]=Hl[255+yn-fr],$e[gt+2*tn]=Hl[255+ur-mr]}v+=re}}function Lu(c,v,z,re,Ie,Ne,Te,Ge){for(Ne=2*Ne+1;0>3)],ur=u0[112+(ur+3>>3)],Qn=yn+1>>1;$e[gt-2*tn]=Hl[255+$e[gt-2*tn]+Qn],$e[gt-tn]=Hl[255+Ln+ur],$e[gt+0]=Hl[255+pt-yn],$e[gt+tn]=Hl[255+ln-Qn]}v+=re}}function a0(c,v,z,re,Ie,Ne){Uu(c,v,z,1,16,re,Ie,Ne)}function cf(c,v,z,re,Ie,Ne){Uu(c,v,1,z,16,re,Ie,Ne)}function i0(c,v,z,re,Ie,Ne){var Te;for(Te=3;0gt?0:255:gt)&255,gt=$e,Ie[Ne+Ge]=tn}}function xi(c,v,z,re){var Ie=v.width,Ne=v.o;if(n(c!=null&&v!=null),0>z||0>=re||z+re>Ne)return null;if(!c.Cc){if(c.ga==null){var Te;if(c.ga=new sa,(Te=c.ga==null)||(Te=v.width*v.o,n(c.Gb.length==0),c.Gb=l(Te),c.Uc=0,c.Gb==null?Te=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Te=1),Te=!Te),!Te){Te=c.ga;var Ge=c.Fa,$e=c.P,gt=c.qc,tn=c.mb,Ln=c.nb,pt=$e+1,ln=gt-1,yn=Te.l;if(n(Ge!=null&&tn!=null&&v!=null),bd[0]=null,bd[1]=za,bd[2]=Xi,bd[3]=Cs,Te.ca=tn,Te.tb=Ln,Te.c=v.width,Te.i=v.height,n(0=gt)v=0;else if(Te.$a=3&Ge[$e+0],Te.Z=Ge[$e+0]>>2&3,Te.Lc=Ge[$e+0]>>4&3,$e=Ge[$e+0]>>6&3,0>Te.$a||1=Te.c*Te.i;Te=!v}if(Te)return null;c.ga.Lc!=1?c.Ga=0:re=Ne-z}n(c.ga!=null),n(z+re<=Ne);e:{if(v=(Ge=c.ga).c,Ne=Ge.l.o,Ge.$a==0){if(pt=c.rc,ln=c.Vc,yn=c.Fa,$e=c.P+1+z*v,gt=c.mb,tn=c.nb+z*v,n($e<=c.P+c.qc),Ge.Z!=0)for(n(bd[Ge.Z]!=null),Te=0;Te=v)v=1;else if(Ge.ic||Pc(),Ge.ic){Ge=Te.V,pt=Te.Ba,ln=Te.c;var ur=Te.i,Qn=(yn=1,$e=Te.$/ln,gt=Te.$%ln,tn=Te.m,Ln=Te.s,Te.$),fr=ln*ur,mr=ln*v,Zr=Ln.wc,Ur=Qn(ur=rs(Ur.G[0],Ur.H[0],tn)))Ge[pt+Qn]=ur,++Qn,++gt>=ln&&(gt=0,++$e<=v&&!($e%16)&&Sc(Te,$e));else{if(!(280>ur)){yn=0;break t}ur=_l(ur-256,tn);var lo,XA=rs(Ur.G[4],Ur.H[4],tn);if(In(tn),!(Qn>=(XA=$l(ln,XA=_l(XA,tn)))&&fr-Qn>=ur)){yn=0;break t}for(lo=0;lo=ln;)gt-=ln,++$e<=v&&!($e%16)&&Sc(Te,$e);Qnv?v:$e);break t}!yn||tn.h&&Qn=Ne&&(c.Cc=1),re=1}if(!re)return null;if(c.Cc&&((re=c.ga)!=null&&(re.mc=null),c.ga=null,0>23,Ge[$e+4*Te+1]=Ge[$e+4*Te+1]*Ln>>23,Ge[$e+4*Te+2]=Ge[$e+4*Te+2]*Ln>>23)}v+=Ne}}function ws(c,v,z,re,Ie){for(;0>4)*$e>>16;c[v+2*Ne+0]=(240&Te|Te>>4)*$e>>16&240|(15&Te|Te<<4)*$e>>16>>4&15,c[v+2*Ne+1]=240>|Ge}v+=Ie}}function Ws(c,v,z,re,Ie,Ne,Te,Ge){var $e,gt,tn=255;for(gt=0;gt>8}function Pc(){sg=Ss,tv=ws,nv=Ws,rv=Ru}function Nu(c,v,z){Ft[c]=function(re,Ie,Ne,Te,Ge,$e,gt,tn,Ln,pt,ln,yn,ur,Qn,fr,mr,Zr){var Ur,lo=Zr-1>>1,XA=Ge[$e+0]|gt[tn+0]<<16,da=Ln[pt+0]|ln[yn+0]<<16;n(re!=null);var no=3*XA+da+131074>>2;for(v(re[Ie+0],255&no,no>>16,ur,Qn),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+0],255&no,no>>16,fr,mr)),Ur=1;Ur<=lo;++Ur){var Ta=Ge[$e+Ur]|gt[tn+Ur]<<16,Qs=Ln[pt+Ur]|ln[yn+Ur]<<16,fa=XA+Ta+da+Qs+524296,ro=fa+2*(Ta+da)>>3;no=ro+XA>>1,XA=(fa=fa+2*(XA+Qs)>>3)+Ta>>1,v(re[Ie+2*Ur-1],255&no,no>>16,ur,Qn+(2*Ur-1)*z),v(re[Ie+2*Ur-0],255&XA,XA>>16,ur,Qn+(2*Ur-0)*z),Ne!=null&&(no=fa+da>>1,XA=ro+Qs>>1,v(Ne[Te+2*Ur-1],255&no,no>>16,fr,mr+(2*Ur-1)*z),v(Ne[Te+2*Ur+0],255&XA,XA>>16,fr,mr+(2*Ur+0)*z)),XA=Ta,da=Qs}1&Zr||(no=3*XA+da+131074>>2,v(re[Ie+Zr-1],255&no,no>>16,ur,Qn+(Zr-1)*z),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+Zr-1],255&no,no>>16,fr,mr+(Zr-1)*z)))}}function qh(){ac[d0]=hm,ac[f0]=hv,ac[lv]=gm,ac[h0]=gv,ac[g0]=pv,ac[up]=vv,ac[cv]=pm,ac[dp]=hv,ac[fp]=gv,ac[p0]=pv,ac[hp]=vv}function _f(c){return c&~vm?0>c?0:255:c>>mv}function fd(c,v){return _f((19077*c>>8)+(26149*v>>8)-14234)}function uf(c,v,z){return _f((19077*c>>8)-(6419*v>>8)-(13320*z>>8)+8708)}function df(c,v){return _f((19077*c>>8)+(33050*v>>8)-17685)}function hd(c,v,z,re,Ie){re[Ie+0]=fd(c,z),re[Ie+1]=uf(c,v,z),re[Ie+2]=df(c,v)}function Xs(c,v,z,re,Ie){re[Ie+0]=df(c,v),re[Ie+1]=uf(c,v,z),re[Ie+2]=fd(c,z)}function ff(c,v,z,re,Ie){var Ne=uf(c,v,z);v=Ne<<3&224|df(c,v)>>3,re[Ie+0]=248&fd(c,z)|Ne>>5,re[Ie+1]=v}function hf(c,v,z,re,Ie){var Ne=240&df(c,v)|15;re[Ie+0]=240&fd(c,z)|uf(c,v,z)>>4,re[Ie+1]=Ne}function _h(c,v,z,re,Ie){re[Ie+0]=255,hd(c,v,z,re,Ie+1)}function $h(c,v,z,re,Ie){Xs(c,v,z,re,Ie),re[Ie+3]=255}function hl(c,v,z,re,Ie){hd(c,v,z,re,Ie),re[Ie+3]=255}function Du(c,v,z){Ft[c]=function(re,Ie,Ne,Te,Ge,$e,gt,tn,Ln){for(var pt=tn+(-2&Ln)*z;tn!=pt;)v(re[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn),v(re[Ie+1],Ne[Te+0],Ge[$e+0],gt,tn+z),Ie+=2,++Te,++$e,tn+=2*z;1&Ln&&v(re[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn)}}function $f(c,v,z){return z==0?c==0?v==0?6:5:v==0?4:0:z}function s0(c,v,z,re,Ie){switch(c>>>30){case 3:mf(v,z,re,Ie,0);break;case 2:Ac(v,z,re,Ie);break;case 1:ai(v,z,re,Ie)}}function rc(c,v){var z,re,Ie=v.M,Ne=v.Nb,Te=c.oc,Ge=c.pc+40,$e=c.oc,gt=c.pc+584,tn=c.oc,Ln=c.pc+600;for(z=0;16>z;++z)Te[Ge+32*z-1]=129;for(z=0;8>z;++z)$e[gt+32*z-1]=129,tn[Ln+32*z-1]=129;for(0z;++z)r(Te,Ge+32*z-4,Te,Ge+32*z+12,4);for(z=-1;8>z;++z)r($e,gt+32*z-4,$e,gt+32*z+4,4),r(tn,Ln+32*z-4,tn,Ln+32*z+4,4)}var ln=c.Gd,yn=c.Hd+re,ur=pt.ad,Qn=pt.Hc;if(0=c.za-1?a(fr,mr,ln[yn].y[15],4):r(fr,mr,ln[yn+1].y,0,4)),z=0;4>z;z++)fr[mr+128+z]=fr[mr+256+z]=fr[mr+384+z]=fr[mr+0+z];for(z=0;16>z;++z,Qn<<=2)fr=Te,mr=Ge+Cv[z],Oc[pt.Ob[z]](fr,mr),s0(Qn,ur,16*+z,fr,mr)}else if(fr=$f(re,Ie,pt.Ob[0]),yd[fr](Te,Ge),Qn!=0)for(z=0;16>z;++z,Qn<<=2)s0(Qn,ur,16*+z,Te,Ge+Cv[z]);for(z=pt.Gc,fr=$f(re,Ie,pt.Dd),Hu[fr]($e,gt),Hu[fr](tn,Ln),Qn=ur,fr=$e,mr=gt,255&(pt=0|z)&&(170&pt?iu(Qn,256,fr,mr):mi(Qn,256,fr,mr)),pt=tn,Qn=Ln,255&(z>>=8)&&(170&z?iu(ur,320,pt,Qn):mi(ur,320,pt,Qn)),Iez;++z)r(ln,yn+z*c.R,Te,Ge+32*z,16);for(z=0;8>z;++z)r(ur,pt+z*c.B,$e,gt+32*z,8),r(Qn,fr+z*c.B,tn,Ln+32*z,8)}}function gf(c,v,z,re,Ie,Ne,Te,Ge,$e){var gt=[0],tn=[0],Ln=0,pt=$e!=null?$e.kd:0,ln=$e!=null?$e:new Or;if(c==null||12>z)return 7;ln.data=c,ln.w=v,ln.ha=z,v=[v],z=[z],ln.gb=[ln.gb];e:{var yn=v,ur=z,Qn=ln.gb;if(n(c!=null),n(ur!=null),n(Qn!=null),Qn[0]=0,12<=ur[0]&&!t(c,yn[0],"RIFF")){if(t(c,yn[0]+8,"WEBP")){Qn=3;break e}var fr=go(c,yn[0]+4);if(12>fr||4294967286ur[0]-8){Qn=7;break e}Qn[0]=fr,yn[0]+=12,ur[0]-=12}Qn=0}if(Qn!=0)return Qn;for(fr=0Qn[0])Qn=7;else{if(!t(mr,ur[0],"VP8X")){if(go(mr,ur[0]+4)!=10){Qn=3;break e}if(18>Qn[0]){Qn=7;break e}var XA=go(mr,ur[0]+8),da=1+SA(mr,ur[0]+12);if(2147483648<=da*(mr=1+SA(mr,ur[0]+15))){Qn=3;break e}lo!=null&&(lo[0]=XA),Zr!=null&&(Zr[0]=da),Ur!=null&&(Ur[0]=mr),ur[0]+=18,Qn[0]-=18,no[0]=1}Qn=0}}if(Ln=Ln[0],yn=yn[0],Qn!=0)return Qn;if(ur=!!(2&yn),!fr&&Ln)return 3;if(Ne!=null&&(Ne[0]=!!(16&yn)),Te!=null&&(Te[0]=ur),Ge!=null&&(Ge[0]=0),Te=gt[0],yn=tn[0],Ln&&ur&&$e==null){Qn=0;break}if(4>z){Qn=7;break}if(fr&&Ln||!fr&&!Ln&&!t(c,v[0],"ALPH")){z=[z],ln.na=[ln.na],ln.P=[ln.P],ln.Sa=[ln.Sa];e:{XA=c,Qn=v,fr=z;var no=ln.gb;Zr=ln.na,Ur=ln.P,lo=ln.Sa,da=22,n(XA!=null),n(fr!=null),mr=Qn[0];var Ta=fr[0];for(n(Zr!=null),n(lo!=null),Zr[0]=null,Ur[0]=null,lo[0]=0;;){if(Qn[0]=mr,fr[0]=Ta,8>Ta){Qn=7;break e}var Qs=go(XA,mr+4);if(4294967286no){Qn=3;break e}if(!t(XA,mr,"VP8 ")||!t(XA,mr,"VP8L")){Qn=0;break e}if(Ta[0]fr[0])Qn=7;else{if(mr||da){if(no=go(no,XA+4),12<=Zr&&no>Zr-12){Qn=3;break e}if(pt&&no>fr[0]-8){Qn=7;break e}Ur[0]=no,Qn[0]+=8,fr[0]-=8,lo[0]=da}else lo[0]=5<=fr[0]&&no[XA+0]==47&&!(no[XA+4]>>5),Ur[0]=fr[0];Qn=0}if(z=z[0],ln.Ja=ln.Ja[0],ln.xa=ln.xa[0],v=v[0],Qn!=0)break;if(4294967286z){Qn=7;break}Ge=Te,pt=yn,ur=Ne,c==null||5>z?c=0:5<=z&&c[v+0]==47&&!(c[v+4]>>5)?(fr=[0],no=[0],Zr=[0],or(Ur=new bt,c,v,z),Iu(Ur,fr,no,Zr)?(Ge!=null&&(Ge[0]=fr[0]),pt!=null&&(pt[0]=no[0]),ur!=null&&(ur[0]=Zr[0]),c=1):c=0):c=0}else{if(10>z){Qn=7;break}Ge=yn,c==null||10>z||!qg(c,v+3,z-3)?c=0:(pt=c[v+0]|c[v+1]<<8|c[v+2]<<16,ur=16383&(c[v+7]<<8|c[v+6]),c=16383&(c[v+9]<<8|c[v+8]),1&pt||3<(pt>>1&7)||!(pt>>4&1)||pt>>5>=ln.Ja||!ur||!c?c=0:(Te&&(Te[0]=ur),Ge&&(Ge[0]=c),c=1))}if(!c||(Te=Te[0],yn=yn[0],Ln&&(gt[0]!=Te||tn[0]!=yn)))return 3;$e!=null&&($e[0]=ln,$e.offset=v-$e.w,n(4294967286>v-$e.w),n($e.offset==$e.ha-z));break}return Qn==0||Qn==7&&Ln&&$e==null?(Ne!=null&&(Ne[0]|=ln.na!=null&&0z||(Ne&=-2,Te&=-2),0>Ne||0>Te||0>=Ge||0>=$e||Ne+Ge>re||Te+$e>Ie))return 0;if(v.v=Ne,v.j=Te,v.va=Ne+Ge,v.o=Te+$e,v.U=Ge,v.T=$e,v.da=c!=null&&0c.S){var v=c.f.RGBA;v.fb+=(c.height-1)*v.A,v.A=-v.A}else v=c.f.kb,c=c.height,v.O+=(c-1)*v.fa,v.fa=-v.fa,v.N+=(c-1>>1)*v.Ab,v.Ab=-v.Ab,v.W+=(c-1>>1)*v.Db,v.Db=-v.Db,v.F!=null&&(v.J+=(c-1)*v.lb,v.lb=-v.lb);return 0}function gd(c,v,z,re){if(re==null||0>=c||0>=v)return 2;if(z!=null){if(z.Da){var Ie=z.cd,Ne=z.bd,Te=-2&z.v,Ge=-2&z.j;if(0>Te||0>Ge||0>=Ie||0>=Ne||Te+Ie>c||Ge+Ne>v)return 2;c=Ie,v=Ne}if(z.da){if(!Qo(c,v,Ie=[z.ib],Ne=[z.hb]))return 2;c=Ie[0],v=Ne[0]}}re.width=c,re.height=v;e:{var $e=re.width,gt=re.height;if(c=re.S,0>=$e||0>=gt||!(c>=d0&&13>c))c=2;else{if(0>=re.Rd&&re.sd==null){Te=Ne=Ie=v=0;var tn=(Ge=$e*wv[c])*gt;if(11>c||(Ne=(gt+1)/2*(v=($e+1)/2),c==12&&(Te=(Ie=$e)*gt)),(gt=l(tn+2*Ne+Te))==null){c=1;break e}re.sd=gt,11>c?(($e=re.f.RGBA).eb=gt,$e.fb=0,$e.A=Ge,$e.size=tn):(($e=re.f.kb).y=gt,$e.O=0,$e.fa=Ge,$e.Fd=tn,$e.f=gt,$e.N=0+tn,$e.Ab=v,$e.Cd=Ne,$e.ea=gt,$e.W=0+tn+Ne,$e.Db=v,$e.Ed=Ne,c==12&&($e.F=gt,$e.J=0+tn+2*Ne),$e.Tc=Te,$e.lb=Ie)}if(v=1,Ie=re.S,Ne=re.width,Te=re.height,Ie>=d0&&13>Ie)if(11>Ie)c=re.f.RGBA,v&=(Ge=Math.abs(c.A))*(Te-1)+Ne<=c.size,v&=Ge>=Ne*wv[Ie],v&=c.eb!=null;else{c=re.f.kb,Ge=(Ne+1)/2,tn=(Te+1)/2,$e=Math.abs(c.fa),gt=Math.abs(c.Ab);var Ln=Math.abs(c.Db),pt=Math.abs(c.lb),ln=pt*(Te-1)+Ne;v&=$e*(Te-1)+Ne<=c.Fd,v&=gt*(tn-1)+Ge<=c.Cd,v=(v&=Ln*(tn-1)+Ge<=c.Ed)&$e>=Ne>>=Ge&Ln>=Ge,v&=c.y!=null,v&=c.f!=null,v&=c.ea!=null,Ie==12&&(v&=pt>=Ne,v&=ln<=c.Tc,v&=c.F!=null)}else v=0;c=v?0:2}}return c!=0||z!=null&&z.fd&&(c=tg(re)),c}var pf=64,jl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Tl=24,pd=32,ju=8,vd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];YA("Predictor0","PredictorAdd0"),Ft.Predictor0=function(){return 4278190080},Ft.Predictor1=function(c){return c},Ft.Predictor2=function(c,v,z){return v[z+0]},Ft.Predictor3=function(c,v,z){return v[z+1]},Ft.Predictor4=function(c,v,z){return v[z-1]},Ft.Predictor5=function(c,v,z){return Co(Co(c,v[z+1]),v[z+0])},Ft.Predictor6=function(c,v,z){return Co(c,v[z-1])},Ft.Predictor7=function(c,v,z){return Co(c,v[z+0])},Ft.Predictor8=function(c,v,z){return Co(v[z-1],v[z+0])},Ft.Predictor9=function(c,v,z){return Co(v[z+0],v[z+1])},Ft.Predictor10=function(c,v,z){return Co(Co(c,v[z-1]),Co(v[z+0],v[z+1]))},Ft.Predictor11=function(c,v,z){var re=v[z+0];return 0>=ea(re>>24&255,c>>24&255,(v=v[z-1])>>24&255)+ea(re>>16&255,c>>16&255,v>>16&255)+ea(re>>8&255,c>>8&255,v>>8&255)+ea(255&re,255&c,255&v)?re:c},Ft.Predictor12=function(c,v,z){var re=v[z+0];return(Ai((c>>24&255)+(re>>24&255)-((v=v[z-1])>>24&255))<<24|Ai((c>>16&255)+(re>>16&255)-(v>>16&255))<<16|Ai((c>>8&255)+(re>>8&255)-(v>>8&255))<<8|Ai((255&c)+(255&re)-(255&v)))>>>0},Ft.Predictor13=function(c,v,z){var re=v[z-1];return(La((c=Co(c,v[z+0]))>>24&255,re>>24&255)<<24|La(c>>16&255,re>>16&255)<<16|La(c>>8&255,re>>8&255)<<8|La(255&c,255&re))>>>0};var ng=Ft.PredictorAdd0;Ft.PredictorAdd1=ja,YA("Predictor2","PredictorAdd2"),YA("Predictor3","PredictorAdd3"),YA("Predictor4","PredictorAdd4"),YA("Predictor5","PredictorAdd5"),YA("Predictor6","PredictorAdd6"),YA("Predictor7","PredictorAdd7"),YA("Predictor8","PredictorAdd8"),YA("Predictor9","PredictorAdd9"),YA("Predictor10","PredictorAdd10"),YA("Predictor11","PredictorAdd11"),YA("Predictor12","PredictorAdd12"),YA("Predictor13","PredictorAdd13");var eh=Ft.PredictorAdd2;uo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var fs,l0=Ft.ColorIndexInverseTransform,ou=Ft.MapARGB,au=Ft.VP8LColorIndexInverseTransformAlpha,rg=Ft.MapAlpha,Ag=Ft.VP8LPredictorsAdd=[];Ag.length=16,(Ft.VP8LPredictors=[]).length=16,(Ft.VP8LPredictorsAdd_C=[]).length=16,(Ft.VP8LPredictors_C=[]).length=16;var og,ag,md,Bd,Cd,vf,wd,mf,Ac,iu,ai,mi,hs,Fs,Tu,ig,th,c0,Jp,Yp,qp,_p,$p,ev,sg,tv,nv,rv,Av=l(511),ov=l(2041),av=l(225),iv=l(767),sv=0,cp=ov,u0=av,Hl=iv,oc=Av,d0=0,f0=1,lv=2,h0=3,g0=4,up=5,cv=6,dp=7,fp=8,p0=9,hp=10,em=[2,3,7],tm=[3,3,11],uv=[280,256,256,256,40],nm=[0,1,1,1,0],rm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],pp=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],cm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],um=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],yd=[],Oc=[],Hu=[],fm=1,fv=2,bd=[],ac=[];Nu("UpsampleRgbLinePair",hd,3),Nu("UpsampleBgrLinePair",Xs,3),Nu("UpsampleRgbaLinePair",hl,4),Nu("UpsampleBgraLinePair",$h,4),Nu("UpsampleArgbLinePair",_h,4),Nu("UpsampleRgba4444LinePair",hf,2),Nu("UpsampleRgb565LinePair",ff,2);var hm=Ft.UpsampleRgbLinePair,gm=Ft.UpsampleBgrLinePair,hv=Ft.UpsampleRgbaLinePair,gv=Ft.UpsampleBgraLinePair,pv=Ft.UpsampleArgbLinePair,vv=Ft.UpsampleRgba4444LinePair,pm=Ft.UpsampleRgb565LinePair,v0=16,m0=1<re.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),re.ca.f.kb.F!=null&&Pc()),re.Pb&&0($e=z.Md)?0:100<$e?255:255*$e/100)){for(gt=tn=0;4>gt;++gt)12>(Ln=Ie.pb[gt]).lc&&(Ln.ia=$e*Em[0>Ln.lc?0:Ln.lc]>>3),tn|=Ln.ia;tn&&(alert("todo:VP8InitRandom"),Ie.ia=1)}Ie.Ga=z.Id,100Ie.Ga&&(Ie.Ga=0)}(function(pt,ln){if(pt==null)return 0;if(ln==null)return Bs(pt,2,"NULL VP8Io parameter in VP8Decode().");if(!pt.cb&&!ru(pt,ln))return 0;if(n(pt.cb),ln.ac==null||ln.ac(ln)){ln.ob&&(pt.L=0);var yn=B0[pt.L];if(pt.L==2?(pt.yb=0,pt.zb=0):(pt.yb=ln.v-yn>>4,pt.zb=ln.j-yn>>4,0>pt.yb&&(pt.yb=0),0>pt.zb&&(pt.zb=0)),pt.Va=ln.o+15+yn>>4,pt.Hb=ln.va+15+yn>>4,pt.Hb>pt.za&&(pt.Hb=pt.za),pt.Va>pt.Ub&&(pt.Va=pt.Ub),0yn;++yn){var Qn;if(pt.Qa.Cb){var fr=pt.Qa.Lb[yn];pt.Qa.Fb||(fr+=ur.Tb)}else fr=ur.Tb;for(Qn=0;1>=Qn;++Qn){var mr=pt.gd[yn][Qn],Zr=fr;if(ur.Pc&&(Zr+=ur.vd[0],Qn&&(Zr+=ur.od[0])),0<(Zr=0>Zr?0:63>2:Ur>>1)>9-ur.wb&&(Ur=9-ur.wb),1>Ur&&(Ur=1),mr.dd=Ur,mr.tc=2*Zr+Ur,mr.ld=40<=Zr?2:15<=Zr?1:0}else mr.tc=0;mr.La=Qn}}}yn=0}else Bs(pt,6,"Frame setup failed"),yn=pt.a;if(yn=yn==0){if(yn){pt.$c=0,0pt.Vb){if(pt.Vb=0,pt.Ec=l(mr),pt.Fc=0,pt.Ec==null){yn=Bs(pt,1,"no memory during frame initialization.");break t}pt.Vb=mr}mr=pt.Ec,Zr=pt.Fc,pt.Ac=mr,pt.Bc=Zr,Zr+=ur,pt.Gd=y(lo,Jg),pt.Hd=0,pt.rb=y(XA+1,kh),pt.sb=1,pt.wa=da?y(da,tc):null,pt.Y=0,pt.D.Nb=0,pt.D.wa=pt.wa,pt.D.Y=pt.Y,0=yn;++yn)Av[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)ov[1020+yn]=-128>yn?-128:127=yn;++yn)av[112+yn]=-16>yn?-16:15=yn;++yn)iv[255+yn]=0>yn?0:255ka;++ka){var Ps,Za=gl[0+ka];for(Ps=0;4>Ps;++Ps){Za=cm[Li[Vs+Ps]][Za];for(var ui=dv[Cr(na,Za[0])];0>3;for(ui=0;256>ui;ui+=16)ka[sl+ui]=Fl}Gs=1,Uc=Vs[0]}var Bi=15&na.la,Os=15&pl.la;for(ui=0;4>ui;++ui){var Ml=1&Os;for(Fl=di=0;4>Fl;++Fl)Bi=Bi>>1|(Ml=(ps=lg(Li,Uc,ps=Ml+(1&Bi),As.Sc,Gs,ka,sl))>Gs)<<7,di=di<<2|(3>=4,Os=Os>>1|Ml<<7,Ps=(Ps<<8|di)>>>0}for(Uc=Bi,Gs=Os>>4,os=0;4>os;os+=2){for(di=0,Bi=na.la>>4+os,Os=pl.la>>4+os,ui=0;2>ui;++ui){for(Ml=1&Os,Fl=0;2>Fl;++Fl)ps=Ml+(1&Bi),Bi=Bi>>1|(Ml=0<(ps=lg(Li,Vs[2],ps,As.Qc,0,ka,sl)))<<3,di=di<<2|(3>=2,Os=Os>>1|Ml<<5}Za|=di<<4*os,Uc|=Bi<<4<=ro.zb&&ro.M<=ro.Va,ro.Aa==0)t:{if(fa.M=ro.M,fa.uc=na,rc(ro,fa),gs=1,fa=(di=ro.D).Nb,na=(Za=B0[ro.L])*ro.R,Li=Za/2*ro.B,ui=16*fa*ro.R,Fl=8*fa*ro.B,Vs=ro.sa,gl=ro.ta-na+ui,As=ro.qa,ka=ro.ra-Li+Fl,sl=ro.Ha,pl=ro.Ia-Li+Fl,Os=(Bi=di.M)==0,Ps=Bi>=ro.Va-1,ro.Aa==2&&rc(ro,di),di.uc)for(Ml=(ps=ro).D.M,n(ps.D.uc),di=ps.yb;dibA.o&&(Bi=bA.o),bA.F=null,bA.J=null,ro.Fa!=null&&0>1),bA.W+=ro.B*(Za>>1),bA.F!=null&&(bA.J+=bA.width*Za)),di>1,bA.W+=bA.v>>1,bA.F!=null&&(bA.J+=bA.v),bA.ka=di-bA.j,bA.U=bA.va-bA.v,bA.T=Bi-di,gs=bA.put(bA))}fa+1!=ro.Ic||Ps||(r(ro.sa,ro.ta-na,Vs,gl+16*ro.R,na),r(ro.qa,ro.ra-Li,As,ka+8*ro.B,Li),r(ro.Ha,ro.Ia-Li,sl,pl+8*ro.B,Li))}if(!gs)return Bs(Ta,6,"Output aborted.")}return 1}(pt,ln)),ln.bc!=null&&ln.bc(ln),yn&=1}return yn?(pt.cb=0,yn):0})(c,re)||(v=c.a)}}else v=c.a}v==0&&Te.Oa!=null&&Te.Oa.fd&&(v=tg(Te.ba))}Te=v}Ne=Te!=0?null:11>Ne?Ge.f.RGBA.eb:Ge.f.kb.y}else Ne=null;return Ne};var wv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(Ft,wn){for(var ze="",ft=0;ft<4;ft++)ze+=String.fromCharCode(Ft[wn++]);return ze}function G(Ft,wn){return Ft[wn+0]|Ft[wn+1]<<8}function be(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16)>>>0}function Le(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16|Ft[wn+3]<<24)>>>0}new F;var V=[0],st=[0],tt=[],ut=new F,Ze=e,Yt=function(Ft,wn){var ze={},ft=0,Jt=!1,Zt=0,Mn=0;if(ze.frames=[],!function(ke,bt){for(var Rt=0;Rt<4;Rt++)if(ke[bt+Rt]!="RIFF".charCodeAt(Rt))return!0;return!1}(Ft,wn)){for(Le(Ft,wn+=4),wn+=8;wn>1&1}Gn!="ANMF"&&(wn+=On)}return ze}}(Ze,0);Yt.response=Ze,Yt.rgbaoutput=!0,Yt.dataurl=!1;var kt=Yt.header?Yt.header:null,It=Yt.frames?Yt.frames:null;if(kt){kt.loop_counter=kt.loop_count,V=[kt.canvas_height],st=[kt.canvas_width];for(var Rn=0;Rn=2?ht[1]:QA[0],QA[2]=ht.length>=3?ht[2]:QA[0],QA[3]=ht.length>=4?ht[3]:QA[1]),U.margin=QA}});var Yn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Yn},set:function(ht){Yn=ht}});var nr=0;Object.defineProperty(this,"lastBreak",{get:function(){return nr},set:function(ht){nr=ht}});var Cr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Cr},set:function(ht){Cr=ht}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(ht){ht instanceof G&&(U=ht)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(ht){U.path=ht}});var Vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Vr},set:function(ht){Vr=ht}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ht){var QA;QA=Le(ht),this.ctx.fillStyle=QA.style,this.ctx.isFillTransparent=QA.a===0,this.ctx.fillOpacity=QA.a,this.pdf.setFillColor(QA.r,QA.g,QA.b,{a:QA.a}),this.pdf.setTextColor(QA.r,QA.g,QA.b,{a:QA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ht){var QA=Le(ht);this.ctx.strokeStyle=QA.style,this.ctx.isStrokeTransparent=QA.a===0,this.ctx.strokeOpacity=QA.a,QA.a===0?this.pdf.setDrawColor(255,255,255):(QA.a,this.pdf.setDrawColor(QA.r,QA.g,QA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ht){["butt","round","square"].indexOf(ht)!==-1&&(this.ctx.lineCap=ht,this.pdf.setLineCap(ht))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ht){isNaN(ht)||(this.ctx.lineWidth=ht,this.pdf.setLineWidth(ht))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ht){["bevel","round","miter"].indexOf(ht)!==-1&&(this.ctx.lineJoin=ht,this.pdf.setLineJoin(ht))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ht){isNaN(ht)||(this.ctx.miterLimit=ht,this.pdf.setMiterLimit(ht))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ht){this.ctx.textBaseline=ht}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ht){["right","end","center","left","start"].indexOf(ht)!==-1&&(this.ctx.textAlign=ht)}});var FA=null,SA=null,go=null;Object.defineProperty(this,"fontFaces",{get:function(){return go},set:function(ht){FA=null,SA=null,go=ht}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ht){var QA;if(this.ctx.font=ht,(QA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ht))!==null){var va=QA[1];QA[2];var Qo=QA[3],kr=QA[4];QA[5];var Po=QA[6],YA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(kr)[2];kr=Math.floor(YA==="px"?parseFloat(kr)*this.pdf.internal.scaleFactor:YA==="em"?parseFloat(kr)*this.pdf.getFontSize():parseFloat(kr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(kr);var xo=function(uo){var ds,Ka,Ca=[],wa=uo.trim();if(wa==="")return W0;if(wa in Jc)return[Jc[wa]];for(;wa!=="";){switch(Ka=null,ds=(wa=Yc(wa)).charAt(0)){case'"':case"'":Ka=bc(wa.substring(1),ds);break;default:Ka=cd(wa)}if(Ka===null||(Ca.push(Ka[0]),(wa=Yc(Ka[1]))!==""&&wa.charAt(0)!==","))return W0;wa=wa.replace(/^,/,"")}return Ca}(Po);if(this.fontFaces){var Co=function(uo,ds){var Ka=uo.getFontList(),Ca=JSON.stringify(Ka);if(FA===null||SA!==Ca){var wa=function(Hi){var yo=[];return Object.keys(Hi).forEach(function(Ei){Hi[Ei].forEach(function(To){var ta=null;switch(To){case"bold":ta={family:Ei,weight:"bold"};break;case"italic":ta={family:Ei,style:"italic"};break;case"bolditalic":ta={family:Ei,weight:"bold",style:"italic"};break;case"":case"normal":ta={family:Ei}}ta!==null&&(ta.ref={name:Ei,style:To},yo.push(ta))})}),yo}(Ka);FA=function(Hi){for(var yo={},Ei=0;Ei=700||va==="bold")&&(ea="bold"),va==="italic"&&(ea+="italic"),ea.length===0&&(ea="normal");for(var ja="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ao=0;ao=2*Math.PI&&(qt=0,un=2*Math.PI),this.path.push({type:"arc",x:ke,y:bt,radius:Rt,startAngle:qt,endAngle:un,counterclockwise:In})},be.prototype.arcTo=function(ke,bt,Rt,qt,un){throw new Error("arcTo not implemented.")},be.prototype.rect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke+Rt,bt+qt),this.lineTo(ke,bt+qt),this.lineTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke,bt)},be.prototype.fillRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!V.call(this)){var un={};this.lineCap!=="butt"&&(un.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(un.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ke,bt,Rt,qt),this.fill(),un.hasOwnProperty("lineCap")&&(this.lineCap=un.lineCap),un.hasOwnProperty("lineJoin")&&(this.lineJoin=un.lineJoin)}},be.prototype.strokeRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");st.call(this)||(this.beginPath(),this.rect(ke,bt,Rt,qt),this.stroke())},be.prototype.clearRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ke,bt,Rt,qt))},be.prototype.save=function(ke){ke=typeof ke!="boolean"||ke;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Rt=0;Rt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};be.prototype.drawImage=function(ke,bt,Rt,qt,un,In,Yn,nr,Cr){var Vr=this.pdf.getImageProperties(ke),FA=1,SA=1,go=1,ht=1;qt!==void 0&&nr!==void 0&&(go=nr/qt,ht=Cr/un,FA=Vr.width/qt*nr/qt,SA=Vr.height/un*Cr/un),In===void 0&&(In=bt,Yn=Rt,bt=0,Rt=0),qt!==void 0&&nr===void 0&&(nr=qt,Cr=un),qt===void 0&&nr===void 0&&(nr=Vr.width,Cr=Vr.height);var QA=this.ctx.transform.decompose(),va=On(QA.rotate.shx),Qo=new F,kr=(Qo=(Qo=(Qo=Qo.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale)).applyToRectangle(new m(In-bt*go,Yn-Rt*ht,qt*FA,un*SA));if(this.autoPaging){for(var Po,YA=ut.call(this,kr),xo=[],Co=0;CoAi||eakr||YA0)){for(;Cr>=0;Cr--)if(un[Cr-1].close!==!0&&un[Cr-1].begin!==!0){un[Cr-1].deltas.push(Rt),un[Cr-1].abs.push(nr);break}}break;case"bct":Rt=[nr.x1-In[Yn-1].x,nr.y1-In[Yn-1].y,nr.x2-In[Yn-1].x,nr.y2-In[Yn-1].y,nr.x-In[Yn-1].x,nr.y-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"qct":var Vr=In[Yn-1].x+2/3*(nr.x1-In[Yn-1].x),FA=In[Yn-1].y+2/3*(nr.y1-In[Yn-1].y),SA=nr.x+2/3*(nr.x1-nr.x),go=nr.y+2/3*(nr.y1-nr.y),ht=nr.x,QA=nr.y;Rt=[Vr-In[Yn-1].x,FA-In[Yn-1].y,SA-In[Yn-1].x,go-In[Yn-1].y,ht-In[Yn-1].x,QA-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"arc":un.push({deltas:[],abs:[],arc:!0}),Array.isArray(un[un.length-1].abs)&&un[un.length-1].abs.push(nr)}}qt=bt?null:ke==="stroke"?"stroke":"fill";for(var va=!1,Qo=0;Qo=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale);var ia=this.autoPaging!=="text";if(ia||ao.y+ao.h<=Co){if(ia||ao.y>=YA&&ao.x<=La){var uo=ia?ke.text:this.pdf.splitTextToSize(ke.text,ke.maxWidth||La-ao.x)[0],ds=Yt([JSON.parse(JSON.stringify(SA))],this.posX+this.margin[3],-ja+YA+this.ctx.prevPageLastElemOffset)[0],Ka=ia&&(Po>Qo||Po=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)}}else ke.scale>=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale),this.pdf.text(ke.text,Cr.x+this.posX,Cr.y+this.posY,{angle:ke.angle,align:bt,renderingMode:ke.renderingMode,maxWidth:ke.maxWidth}),ke.scale>=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)},Jt=function(ke,bt,Rt,qt){Rt=Rt||0,qt=qt||0,this.pdf.internal.out(t(ke+Rt)+" "+r(bt+qt)+" l")},Zt=function(ke,bt,Rt){return this.pdf.lines(ke,bt,Rt,null,null)},Mn=function(ke,bt,Rt,qt,un,In,Yn,nr){this.pdf.internal.out([n(a(Rt+ke)),n(l(qt+bt)),n(a(un+ke)),n(l(In+bt)),n(a(Yn+ke)),n(l(nr+bt)),"c"].join(" "))},Gn=function(ke,bt,Rt,qt){for(var un=2*Math.PI,In=Math.PI/2;bt>Rt;)bt-=un;var Yn=Math.abs(Rt-bt);Yn1e-5;){var FA=Vr+Cr*Math.min(Yn,In);nr.push(er.call(this,ke,Vr,FA)),Yn-=Math.abs(FA-Vr),Vr=FA}return nr},er=function(ke,bt,Rt){var qt=(Rt-bt)/2,un=ke*Math.cos(qt),In=ke*Math.sin(qt),Yn=un,nr=-In,Cr=Yn*Yn+nr*nr,Vr=Cr+Yn*un+nr*In,FA=4/3*(Math.sqrt(2*Cr*Vr)-Vr)/(Yn*In-nr*un),SA=Yn-FA*nr,go=nr+FA*Yn,ht=SA,QA=-go,va=qt+bt,Qo=Math.cos(va),kr=Math.sin(va);return{x1:ke*Math.cos(bt),y1:ke*Math.sin(bt),x2:SA*Qo-go*kr,y2:SA*kr+go*Qo,x3:ht*Qo-QA*kr,y3:ht*kr+QA*Qo,x4:ke*Math.cos(Rt),y4:ke*Math.sin(Rt)}},On=function(ke){return 180*ke/Math.PI},or=function(ke,bt,Rt,qt,un,In){var Yn=ke+.5*(Rt-ke),nr=bt+.5*(qt-bt),Cr=un+.5*(Rt-un),Vr=In+.5*(qt-In),FA=Math.min(ke,un,Yn,Cr),SA=Math.max(ke,un,Yn,Cr),go=Math.min(bt,In,nr,Vr),ht=Math.max(bt,In,nr,Vr);return new m(FA,go,SA-FA,ht-go)},iA=function(ke,bt,Rt,qt,un,In,Yn,nr){var Cr,Vr,FA,SA,go,ht,QA,va,Qo,kr,Po,YA,xo,Co,Ai=Rt-ke,La=qt-bt,ea=un-Rt,ja=In-qt,Ra=Yn-un,ao=nr-In;for(Vr=0;Vr<41;Vr++)Qo=(QA=(FA=ke+(Cr=Vr/40)*Ai)+Cr*((go=Rt+Cr*ea)-FA))+Cr*(go+Cr*(un+Cr*Ra-go)-QA),kr=(va=(SA=bt+Cr*La)+Cr*((ht=qt+Cr*ja)-SA))+Cr*(ht+Cr*(In+Cr*ao-ht)-va),Vr==0?(Po=Qo,YA=kr,xo=Qo,Co=kr):(Po=Math.min(Po,Qo),YA=Math.min(YA,kr),xo=Math.max(xo,Qo),Co=Math.max(Co,kr));return new m(Math.round(Po),Math.round(YA),Math.round(xo-Po),Math.round(Co-YA))},Fr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ke,bt,Rt=(ke=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ke,lineDashOffset:bt}));this.prevLineDash!==Rt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Rt)}}})(to.API),function(e){var n=function(y){var m,F,U,G,be,Le,V,st,tt,ut;for(/[^\x00-\xFF]/.test(y),F=[],U=0,G=(y+=m="\0\0\0\0".slice(y.length%4||4)).length;G>U;U+=4)(be=(y.charCodeAt(U)<<24)+(y.charCodeAt(U+1)<<16)+(y.charCodeAt(U+2)<<8)+y.charCodeAt(U+3))!==0?(Le=(be=((be=((be=((be=(be-(ut=be%85))/85)-(tt=be%85))/85)-(st=be%85))/85)-(V=be%85))/85)%85,F.push(Le+33,V+33,st+33,tt+33,ut+33)):F.push(122);return function(Ze,Yt){for(var kt=Yt;kt>0;kt--)Ze.pop()}(F,m.length),String.fromCharCode.apply(String,F)+"~>"},t=function(y){var m,F,U,G,be,Le=String,V="length",st=255,tt="charCodeAt",ut="slice",Ze="replace";for(y[ut](-2),y=y[ut](0,-2)[Ze](/\s/g,"")[Ze]("z","!!!!!"),U=[],G=0,be=(y+=m="uuuuu"[ut](y[V]%5||5))[V];be>G;G+=5)F=52200625*(y[tt](G)-33)+614125*(y[tt](G+1)-33)+7225*(y[tt](G+2)-33)+85*(y[tt](G+3)-33)+(y[tt](G+4)-33),U.push(st&F>>24,st&F>>16,st&F>>8,st&F);return function(Yt,kt){for(var It=kt;It>0;It--)Yt.pop()}(U,m[V]),Le.fromCharCode.apply(Le,U)},r=function(y){return y.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(y){var m=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((y=y.replace(/\s/g,"")).indexOf(">")!==-1&&(y=y.substr(0,y.indexOf(">"))),y.length%2&&(y+="0"),m.test(y)===!1)return"";for(var F="",U=0;Utt&&(st=ut,ut=tt,tt=st);else{if(m!=="l"&&m!=="landscape")throw"Invalid orientation: "+m;m="l",tt>ut&&(st=ut,ut=tt,tt=st)}return{width:ut,height:tt,unit:F,k:be,orientation:m}},e.html=function(m,F){(F=F||{}).callback=F.callback||function(){},F.html2canvas=F.html2canvas||{},F.html2canvas.canvas=F.html2canvas.canvas||this.canvas,F.jsPDF=F.jsPDF||this,F.fontFaces=F.fontFaces?F.fontFaces.map(Sl):null;var U=new y(F);return F.worker?U:U.from(m).doCallback()}}(to.API),to.API.addJS=function(e){return Lp=e,this.internal.events.subscribe("postPutResources",function(){qc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qc!==void 0&&Up!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),l=0;l> endobj")}var V=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+V+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,l){var y={title:a,options:l,children:[]};return r==null&&(r=this.root),r.children.push(y),y},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(y.children[0])),this.line("/Last "+this.makeRef(y.children[y.children.length-1])));var m=this.count=this.count_r({count:0},y);if(m>0&&this.line("/Count "+m),y.options&&y.options.pageNumber){var F=t.internal.getPageInfo(y.options.pageNumber);this.line("/Dest ["+F.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in It&&Array.isArray(It.transparency)&&It.transparency.length>0){for(var Jn="",Mn=0,tr=It.transparency.length;Mn>",Ct.content=te;var _t=Ct.objId+" 0 R";te="<>";else if(x.options.pageNumber)switch(te="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=1};var de=a.__arabicParser__.arabicLetterHasFinalForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=3};var Ee=a.__arabicParser__.arabicLetterHasMedialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length==4},ze=a.__arabicParser__.resolveLigatures=function(Ct){var xt=0,ct=E,ln="",_t=0;for(xt=0;xt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+y+" 0 R")})),this},function(a){var y=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(oe){E=oe}});var x=150;Object.defineProperty(this,"width",{get:function(){return x},set:function(oe){x=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=x+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(oe){z=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var te=[];Object.defineProperty(this,"childNodes",{get:function(){return te},set:function(oe){te=oe}});var ie={};Object.defineProperty(this,"style",{get:function(){return ie},set:function(oe){ie=oe}}),Object.defineProperty(this,"parentNode",{})};y.prototype.getContext=function(E,x){var z;if((E=E||"2d")!=="2d")return null;for(z in x)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=x[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},y.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new y,this.canvas.pdf=this}])}(Xa.API),function(a){var y={left:0,top:0,bottom:0,right:0},E=!1,x=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},y),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new te,this.internal.__cell__.pages=1},te=function(){var ue=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ue},set:function(Ct){ue=Ct}});var de=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return de},set:function(Ct){de=Ct}});var Ee=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ee},set:function(Ct){Ee=Ct}});var ze=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return ze},set:function(Ct){ze=Ct}});var $e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return $e},set:function(Ct){$e=Ct}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ct){ve=Ct}});var Bt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Bt},set:function(Ct){Bt=Ct}}),this};te.prototype.clone=function(){return new te(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},te.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(ue){return x.call(this),this.internal.__cell__.headerFunction=typeof ue=="function"?ue:void 0,this},a.getTextDimensions=function(ue,de){x.call(this);var Ee=(de=de||{}).fontSize||this.getFontSize(),ze=de.font||this.getFont(),$e=de.scaleFactor||this.internal.scaleFactor,ve=0,Bt=0,Ct=0,xt=this;if(!Array.isArray(ue)&&typeof ue!="string"){if(typeof ue!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ue=String(ue)}var ct=de.maxWidth;ct>0?typeof ue=="string"?ue=this.splitTextToSize(ue,ct):Object.prototype.toString.call(ue)==="[object Array]"&&(ue=ue.reduce(function(_t,Qt){return _t.concat(xt.splitTextToSize(Qt,ct))},[])):ue=Array.isArray(ue)?ue:[ue];for(var ln=0;lnthis.getPageHeight()?(this.cellAddPage(),ue.y=ze.top,ve&&$e&&(this.printHeaderRow(ue.lineNumber,!0),ue.y+=$e[0].height)):ue.y=de.y+de.height||ue.y),ue.text[0]!==void 0&&(this.rect(ue.x,ue.y,ue.width,ue.height,E===!0?"FD":void 0),ue.align==="right"?this.text(ue.text,ue.x+ue.width-Ee,ue.y+Ee,{align:"right",baseline:"top"}):ue.align==="center"?this.text(ue.text,ue.x+ue.width/2,ue.y+Ee,{align:"center",baseline:"top",maxWidth:ue.width-Ee-Ee}):this.text(ue.text,ue.x+Ee,ue.y+Ee,{align:"left",baseline:"top",maxWidth:ue.width-Ee-Ee})),this.internal.__cell__.lastCell=ue,this};a.table=function(ue,de,Ee,ze,$e){if(x.call(this),!Ee)throw new Error("No data for PDF table.");var ve,Bt,Ct,xt,ct=[],ln=[],_t=[],Qt={},Rn={},or=[],Yn=[],gn=($e=$e||{}).autoSize||!1,zt=$e.printHeaders!==!1,In=$e.css&&$e.css["font-size"]!==void 0?16*$e.css["font-size"]:$e.fontSize||12,st=$e.margins||Object.assign({width:this.getPageWidth()},y),It=typeof $e.padding=="number"?$e.padding:3,sn=$e.headerBackgroundColor||"#c8c8c8",$t=$e.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=zt,this.internal.__cell__.margins=st,this.internal.__cell__.table_font_size=In,this.internal.__cell__.padding=It,this.internal.__cell__.headerBackgroundColor=sn,this.internal.__cell__.headerTextColor=$t,this.setFontSize(In),ze==null)ln=ct=Object.keys(Ee[0]),_t=ct.map(function(){return"left"});else if(Array.isArray(ze)&&(0,b.Z)(ze[0])==="object")for(ct=ze.map(function(Yr){return Yr.name}),ln=ze.map(function(Yr){return Yr.prompt||Yr.name||""}),_t=ze.map(function(Yr){return Yr.align||"left"}),ve=0;ve0&&this.setTableHeaderRow($e),this.setFont(void 0,"normal"),E=!1}}(Xa.API);var rg={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},ag=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Rm=ng(ag),og=[100,200,300,400,500,600,700,800,900],yv=ng(og);function Tm(a){var y=a.family.replace(/"|'/g,"").toLowerCase(),E=function(te){return rg[te=te||"normal"]?te:"normal"}(a.style),x=function(te){return te?typeof te=="number"?te>=100&&te<=900&&te%100==0?te:400:/^\d00$/.test(te)?parseInt(te):te==="bold"?700:400:400}(a.weight),z=function(te){return typeof Rm[te=te||"normal"]=="number"?te:"normal"}(a.stretch);return{family:y,style:E,weight:x,stretch:z,src:a.src||[],ref:a.ref||{name:y,style:[z,E,x].join(" ")}}}function ig(a,y,E,x){var z;for(z=E;z>=0&&z=0&&z>>1)&255}return z}function Eg(a,y,E){var x=a.length,z=[];z[0]=4;for(var te=0;te>te&ie}function yg(a,y,E,x){var z=E*x,te=Math.floor(z/8),ie=16-(z-8*te+x),oe=(1<>8&255;de.setUint8(Ee,$e)}})(a,te,Cg(a,te)&~(oe<>7,ie=1<<1+(7&z);a[y++],a[y++];var oe=null,ue=null;te&&(oe=y,ue=ie,y+=3*ie);var de=!0,Ee=[],ze=0,$e=null,ve=0,Bt=null;for(this.width=E,this.height=x;de&&y=0))throw Error("Invalid block size");if(st===0)break;y+=st}break;case 249:if(a[y++]!==4||a[y+4]!==0)throw new Error("Invalid graphics extension block.");var Ct=a[y++];ze=a[y++]|a[y++]<<8,$e=a[y++],1&Ct||($e=null),ve=Ct>>2&7,y++;break;case 254:for(;;){if(!((st=a[y++])>=0))throw Error("Invalid block size");if(st===0)break;y+=st}break;default:throw new Error("Unknown graphic control label: 0x"+a[y-1].toString(16))}break;case 44:var xt=a[y++]|a[y++]<<8,ct=a[y++]|a[y++]<<8,ln=a[y++]|a[y++]<<8,_t=a[y++]|a[y++]<<8,Qt=a[y++],Rn=Qt>>6&1,or=1<<1+(7&Qt),Yn=oe,gn=ue,zt=!1;Qt>>7&&(zt=!0,Yn=y,gn=or,y+=3*or);var In=y;for(y++;;){var st;if(!((st=a[y++])>=0))throw Error("Invalid block size");if(st===0)break;y+=st}Ee.push({x:xt,y:ct,width:ln,height:_t,has_local_palette:zt,palette_offset:Yn,palette_size:gn,data_offset:In,data_length:y-In,transparent_index:$e,interlaced:!!Rn,delay:ze,disposal:ve});break;case 59:de=!1;break;default:throw new Error("Unknown gif block: 0x"+a[y-1].toString(16))}this.numFrames=function(){return Ee.length},this.loopCount=function(){return Bt},this.frameInfo=function(It){if(It<0||It>=Ee.length)throw new Error("Frame index out of range.");return Ee[It]},this.decodeAndBlitFrameBGRA=function(It,sn){var $t=this.frameInfo(It),zn=$t.width*$t.height,Xn=new Uint8Array(zn);wg(a,$t.data_offset,Xn,zn);var Jn=$t.palette_offset,Mn=$t.transparent_index;Mn===null&&(Mn=256);var tr=$t.width,Yr=E-tr,wr=tr,ot=4*($t.y*E+$t.x),Rt=4*(($t.y+$t.height)*E+$t.x),Jt=ot,cn=4*Yr;$t.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Pn=0,Kn=Xn.length;Pn=Rt&&(cn=4*Yr+4*E*(Cn-1),Jt=ot+(tr+Yr)*(Cn<<1),Cn>>=1)),_n===Mn)Jt+=4;else{var vr=a[Jn+3*_n],zr=a[Jn+3*_n+1],Ea=a[Jn+3*_n+2];sn[Jt++]=Ea,sn[Jt++]=zr,sn[Jt++]=vr,sn[Jt++]=255}--wr}},this.decodeAndBlitFrameRGBA=function(It,sn){var $t=this.frameInfo(It),zn=$t.width*$t.height,Xn=new Uint8Array(zn);wg(a,$t.data_offset,Xn,zn);var Jn=$t.palette_offset,Mn=$t.transparent_index;Mn===null&&(Mn=256);var tr=$t.width,Yr=E-tr,wr=tr,ot=4*($t.y*E+$t.x),Rt=4*(($t.y+$t.height)*E+$t.x),Jt=ot,cn=4*Yr;$t.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Pn=0,Kn=Xn.length;Pn=Rt&&(cn=4*Yr+4*E*(Cn-1),Jt=ot+(tr+Yr)*(Cn<<1),Cn>>=1)),_n===Mn)Jt+=4;else{var vr=a[Jn+3*_n],zr=a[Jn+3*_n+1],Ea=a[Jn+3*_n+2];sn[Jt++]=vr,sn[Jt++]=zr,sn[Jt++]=Ea,sn[Jt++]=255}--wr}}}function wg(a,y,E,x){for(var z=a[y++],te=1<>=ue,Ee-=ue,xt!==te){if(xt===ie)break;for(var ct=xtte;)_t=Bt[_t]>>8,++ln;var Qt=_t;if($e+ln+(ct!==xt?1:0)>x)return void as.log("Warning, gif stream longer than expected.");E[$e++]=Qt;var Rn=$e+=ln;for(ct!==xt&&(E[$e++]=Qt),_t=ct;ln--;)_t=Bt[_t],E[--Rn]=255&_t,_t>>=8;Ct!==null&&oe<4096&&(Bt[oe++]=Ct<<8|Qt,oe>=de+1&&ue<12&&(++ue,de=de<<1|1)),Ct=xt}else oe=ie+1,de=(1<<(ue=z+1))-1,Ct=null}return $e!==x&&as.log("Warning, gif stream shorter than expected."),E}function zm(a){var y,E,x,z,te,ie=Math.floor,oe=new Array(64),ue=new Array(64),de=new Array(64),Ee=new Array(64),ze=new Array(65535),$e=new Array(65535),ve=new Array(64),Bt=new Array(64),Ct=[],xt=0,ct=7,ln=new Array(64),_t=new Array(64),Qt=new Array(64),Rn=new Array(256),or=new Array(2048),Yn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],zt=[0,1,2,3,4,5,6,7,8,9,10,11],In=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],st=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],It=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],sn=[0,1,2,3,4,5,6,7,8,9,10,11],$t=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],zn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Xn(ot,Rt){for(var Jt=0,cn=0,Cn=new Array,Pn=1;Pn<=16;Pn++){for(var Kn=1;Kn<=ot[Pn];Kn++)Cn[Rt[cn]]=[],Cn[Rt[cn]][0]=Jt,Cn[Rt[cn]][1]=Pn,cn++,Jt++;Jt*=2}return Cn}function Jn(ot){for(var Rt=ot[0],Jt=ot[1]-1;Jt>=0;)Rt&1<>8&255),Mn(255&ot)}function Yr(ot,Rt,Jt,cn,Cn){for(var Pn,Kn=Cn[0],_n=Cn[240],vr=function(Or,Po){var Qa,wo,fo,Gi,xi,ti,Fi,Ii,Ya,ii,no=0;for(Ya=0;Ya<8;++Ya){Qa=Or[no],wo=Or[no+1],fo=Or[no+2],Gi=Or[no+3],xi=Or[no+4],ti=Or[no+5],Fi=Or[no+6];var Rs=Qa+(Ii=Or[no+7]),Li=Qa-Ii,Ei=wo+Fi,yi=wo-Fi,vs=fo+ti,ho=fo-ti,us=Gi+xi,To=Gi-xi,ni=Rs+us,Es=Rs-us,wi=Ei+vs,Mo=Ei-vs;Or[no]=ni+wi,Or[no+4]=ni-wi;var Vi=.707106781*(Mo+Es);Or[no+2]=Es+Vi,Or[no+6]=Es-Vi;var ld=.382683433*((ni=To+ho)-(Mo=yi+Li)),bl=.5411961*ni+ld,_u=1.306562965*Mo+ld,Mu=.707106781*(wi=ho+yi),Lo=Li+Mu,$u=Li-Mu;Or[no+5]=$u+bl,Or[no+3]=$u-bl,Or[no+1]=Lo+_u,Or[no+7]=Lo-_u,no+=8}for(no=0,Ya=0;Ya<8;++Ya){Qa=Or[no],wo=Or[no+8],fo=Or[no+16],Gi=Or[no+24],xi=Or[no+32],ti=Or[no+40],Fi=Or[no+48];var ec=Qa+(Ii=Or[no+56]),_l=Qa-Ii,$l=wo+Fi,Bs=wo-Fi,al=fo+ti,ll=fo-ti,ud=Gi+xi,jc=Gi-xi,hu=ec+ud,Lu=ec-ud,gu=$l+al,pu=$l-al;Or[no]=hu+gu,Or[no+32]=hu-gu;var eu=.707106781*(pu+Lu);Or[no+16]=Lu+eu,Or[no+48]=Lu-eu;var cd=.382683433*((hu=jc+ll)-(pu=Bs+_l)),Ou=.5411961*hu+cd,dd=1.306562965*pu+cd,qd=.707106781*(gu=ll+Bs),_d=_l+qd,$d=_l-qd;Or[no+40]=$d+Ou,Or[no+24]=$d-Ou,Or[no+8]=_d+dd,Or[no+56]=_d-dd,no++}for(Ya=0;Ya<64;++Ya)ii=Or[Ya]*Po[Ya],ve[Ya]=ii>0?ii+.5|0:ii-.5|0;return ve}(ot,Rt),zr=0;zr<64;++zr)Bt[Yn[zr]]=vr[zr];var Ea=Bt[0]-Jt;Jt=Bt[0],Ea==0?Jn(cn[0]):(Jn(cn[$e[Pn=32767+Ea]]),Jn(ze[Pn]));for(var pa=63;pa>0&&Bt[pa]==0;)pa--;if(pa==0)return Jn(Kn),Jt;for(var io,Ft=1;Ft<=pa;){for(var ya=Ft;Bt[Ft]==0&&Ft<=pa;)++Ft;var gi=Ft-ya;if(gi>=16){io=gi>>4;for(var Do=1;Do<=io;++Do)Jn(_n);gi&=15}Pn=32767+Bt[Ft],Jn(Cn[(gi<<4)+$e[Pn]]),Jn(ze[Pn]),Ft++}return pa!=63&&Jn(Kn),Jt}function wr(ot){ot=Math.min(Math.max(ot,1),100),te!=ot&&(function(Rt){for(var Jt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var Cn=ie((Jt[cn]*Rt+50)/100);Cn=Math.min(Math.max(Cn,1),255),oe[Yn[cn]]=Cn}for(var Pn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Kn=0;Kn<64;Kn++){var _n=ie((Pn[Kn]*Rt+50)/100);_n=Math.min(Math.max(_n,1),255),ue[Yn[Kn]]=_n}for(var vr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],zr=0,Ea=0;Ea<8;Ea++)for(var pa=0;pa<8;pa++)de[zr]=1/(oe[Yn[zr]]*vr[Ea]*vr[pa]*8),Ee[zr]=1/(ue[Yn[zr]]*vr[Ea]*vr[pa]*8),zr++}(ot<50?Math.floor(5e3/ot):Math.floor(200-2*ot)),te=ot)}this.encode=function(ot,Rt){Rt&&wr(Rt),Ct=new Array,xt=0,ct=7,tr(65496),tr(65504),tr(16),Mn(74),Mn(70),Mn(73),Mn(70),Mn(0),Mn(1),Mn(1),Mn(0),tr(1),tr(1),Mn(0),Mn(0),function(){tr(65499),tr(132),Mn(0);for(var wo=0;wo<64;wo++)Mn(oe[wo]);Mn(1);for(var fo=0;fo<64;fo++)Mn(ue[fo])}(),function(wo,fo){tr(65472),tr(17),Mn(8),tr(fo),tr(wo),Mn(3),Mn(1),Mn(17),Mn(0),Mn(2),Mn(17),Mn(1),Mn(3),Mn(17),Mn(1)}(ot.width,ot.height),function(){tr(65476),tr(418),Mn(0);for(var wo=0;wo<16;wo++)Mn(gn[wo+1]);for(var fo=0;fo<=11;fo++)Mn(zt[fo]);Mn(16);for(var Gi=0;Gi<16;Gi++)Mn(In[Gi+1]);for(var xi=0;xi<=161;xi++)Mn(st[xi]);Mn(1);for(var ti=0;ti<16;ti++)Mn(It[ti+1]);for(var Fi=0;Fi<=11;Fi++)Mn(sn[Fi]);Mn(17);for(var Ii=0;Ii<16;Ii++)Mn($t[Ii+1]);for(var Ya=0;Ya<=161;Ya++)Mn(zn[Ya])}(),tr(65498),tr(12),Mn(3),Mn(1),Mn(0),Mn(2),Mn(17),Mn(3),Mn(17),Mn(0),Mn(63),Mn(0);var Jt=0,cn=0,Cn=0;xt=0,ct=7,this.encode.displayName="_encode_";for(var Pn,Kn,_n,vr,zr,Ea,pa,io,Ft,ya=ot.data,gi=ot.width,Do=ot.height,Or=4*gi,Po=0;Po>3)*Or+(pa=4*(7&Ft)),Po+io>=Do&&(Ea-=Or*(Po+1+io-Do)),Pn+pa>=Or&&(Ea-=Pn+pa-Or+4),Kn=ya[Ea++],_n=ya[Ea++],vr=ya[Ea++],ln[Ft]=(or[Kn]+or[_n+256|0]+or[vr+512|0]>>16)-128,_t[Ft]=(or[Kn+768|0]+or[_n+1024|0]+or[vr+1280|0]>>16)-128,Qt[Ft]=(or[Kn+1280|0]+or[_n+1536|0]+or[vr+1792|0]>>16)-128;Jt=Yr(ln,de,Jt,y,x),cn=Yr(_t,Ee,cn,E,z),Cn=Yr(Qt,Ee,Cn,E,z),Pn+=32}Po+=8}if(ct>=0){var Qa=[];Qa[1]=ct+1,Qa[0]=(1<It;It++)if(zt[In+It]!=st.charCodeAt(It))return!0;return!1}function x(zt,In,st,It,sn){for(var $t=0;$t$t+1?[]:new In),!(zn.length<$t+1));Jn++)It(sn[Jn],$t+1,zn)}(st,0,zt),st}var ue=function(){var zt=this;function In(ne,ae){for(var ge=1<>>0;ne≥)ge>>>=1;return ge?(ne&ge-1)+ge:ne}function st(ne,ae,ge,Ie,Ge){y(!(Ie%ge));do ne[ae+(Ie-=ge)]=Ge;while(0=Ge),512>=Ge)var nt=te(512);else if((nt=te(Ge))==null)return 0;return function(at,At,Et,St,fn,On){var jt,En,Dn=At,rr=1<jt;++jt){if(Nn[jt]>1<(fi-=Nn[jt]))return 0;for(;0=jt;++jt,fn<<=1){if(Ta+=fi<<=1,0>(fi-=Nn[jt]))return 0;for(;0Qr&&!(0>=(mr-=Nn[Qr]));)++Qr,mr<<=1;rr+=Ha=1<<(mr=Qr-Et),at[At+(Qr=qa&Dr)].g=mr+Et,at[At+Qr].value=Dn-At-Qr}St.g=jt-Et,St.value=On[En++],st(at,Dn+(qa>>Et),fn,Ha,St),qa=In(qa,jt)}}return Ta!=2*sr[15]-1?0:rr}(ne,ae,ge,Ie,Ge,nt)}function sn(){this.value=this.g=0}function $t(){this.value=this.g=0}function zn(){this.G=ie(5,sn),this.H=te(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ie(wd,$t)}function Xn(ne,ae,ge,Ie){y(ne!=null),y(ae!=null),y(2147483648>Ie),ne.Ca=254,ne.I=0,ne.b=-8,ne.Ka=0,ne.oa=ae,ne.pa=ge,ne.Jd=ae,ne.Yc=ge+Ie,ne.Zc=4<=Ie?ge+Ie-4+1:ge,Kn(ne)}function Jn(ne,ae){for(var ge=0;0Ie),ne.Sb=Ie,ne.Ra=0,ne.u=0,ne.h=0,4>>=8,ne.Ra+=ne.oa[ne.pa+ne.bb]<>>0,++ne.bb,ne.u-=8;cn(ne)&&(ne.h=1,ne.u=0)}function wr(ne,ae){if(y(0<=ae),!ne.h&&ae<=Wl){var ge=Jt(ne)&Zl[ae];return ne.u+=ae,Yr(ne),ge}return ne.h=1,ne.u=0}function ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Jt(ne){return ne.Ra>>>(ne.u&Oc-1)>>>0}function cn(ne){return y(ne.bb<=ne.Sb),ne.h||ne.bb==ne.Sb&&ne.u>Oc}function Cn(ne,ae){ne.u=ae,ne.h=cn(ne)}function Pn(ne){ne.u>=dc&&(y(ne.u>=dc),Yr(ne))}function Kn(ne){y(ne!=null&&ne.oa!=null),ne.pa>>0,ne.b+=8):(y(ne!=null&&ne.oa!=null),ne.pane.b&&Kn(ne);var Ie=ne.b,Ge=ge*ae>>>8,nt=(ne.I>>>Ie>Ge)+0;for(nt?(ge-=Ge,ne.I-=Ge+1<>>0):ge=Ge+1,Ie=ge,Ge=0;256<=Ie;)Ge+=8,Ie>>=8;return Ie=7^Ge+Rc[Ie],ne.b-=Ie,ne.Ca=(ge<>24&255,ne[ae+1]=ge>>16&255,ne[ae+2]=ge>>8&255,ne[ae+3]=255&ge}function Ea(ne,ae){return ne[ae+0]|ne[ae+1]<<8}function pa(ne,ae){return Ea(ne,ae)|ne[ae+2]<<16}function io(ne,ae){return Ea(ne,ae)|Ea(ne,ae+2)<<16}function Ft(ne,ae){var ge=1<=Ge||0>=nt?0:(ge[0]=Ge,Ie[0]=nt,1)}function Or(ne,ae){return ne+(1<>>ae}function Po(ne,ae){return((4278255360&ne)+(4278255360&ae)>>>0&4278255360)+((16711935&ne)+(16711935&ae)>>>0&16711935)>>>0}function Qa(ne,ae){zt[ae]=function(ge,Ie,Ge,nt,at,At,Et){var St;for(St=0;St>>1)+(ne&ae)>>>0}function Gi(ne){return 0<=ne&&256>ne?ne:0>ne?0:255>1))}function ti(ne,ae,ge){return Math.abs(ae-ge)-Math.abs(ne-ge)}function Fi(ne,ae,ge,Ie,Ge,nt,at){for(Ie=nt[at-1],ge=0;ge>8&255,Et=16711935&(Et=(Et=16711935&at)+((At<<16)+At));Ie[Ge+nt]=(4278255360&at)+Et>>>0}}function Ya(ne,ae){ae.jd=255&ne,ae.hd=ne>>8&255,ae.ud=ne>>16&255}function ii(ne,ae,ge,Ie,Ge,nt){var at;for(at=0;at>>8,St=At,fn=255&(fn=(fn=At>>>16)+((ne.jd<<24>>24)*(Et<<24>>24)>>>5));St=255&(St=(St+=(ne.hd<<24>>24)*(Et<<24>>24)>>>5)+((ne.ud<<24>>24)*(fn<<24>>24)>>>5)),Ge[nt+at]=(4278255360&At)+(fn<<16)+St}}function no(ne,ae,ge,Ie,Ge){zt[ae]=function(nt,at,At,Et,St,fn,On,jt,En){for(Et=On;Et>nt.b,En=nt.Ea,Dn=nt.K[0],rr=nt.w;if(8>jt)for(nt=(1<>=jt}else zt["VP8LMapColor"+ge](Et,St,Dn,rr,fn,On,at,At,En)}}function Rs(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&255,Ie[Ge++]=nt>>8&255,Ie[Ge++]=255&nt}}function Li(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&255,Ie[Ge++]=nt>>8&255,Ie[Ge++]=255&nt,Ie[Ge++]=nt>>24&255}}function Ei(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&240|at>>12&15,at=240&at|at>>28&15;Ie[Ge++]=nt,Ie[Ge++]=at}}function yi(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&248|at>>13&7,at=at>>5&224|at>>3&31;Ie[Ge++]=nt,Ie[Ge++]=at}}function vs(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>8&255,Ie[Ge++]=nt>>16&255}}function ho(ne,ae,ge,Ie,Ge,nt){if(nt==0)for(ge=ae+ge;ae>24|nt[1]>>8&65280|nt[2]<<8&16711680|nt[3]<<24)>>>0),Ge+=32;else x(Ie,Ge,ne,ae,ge)}function us(ne,ae){zt[ae][0]=zt[ne+"0"],zt[ae][1]=zt[ne+"1"],zt[ae][2]=zt[ne+"2"],zt[ae][3]=zt[ne+"3"],zt[ae][4]=zt[ne+"4"],zt[ae][5]=zt[ne+"5"],zt[ae][6]=zt[ne+"6"],zt[ae][7]=zt[ne+"7"],zt[ae][8]=zt[ne+"8"],zt[ae][9]=zt[ne+"9"],zt[ae][10]=zt[ne+"10"],zt[ae][11]=zt[ne+"11"],zt[ae][12]=zt[ne+"12"],zt[ae][13]=zt[ne+"13"],zt[ae][14]=zt[ne+"0"],zt[ae][15]=zt[ne+"0"]}function To(ne){return ne==oh||ne==ih||ne==J0||ne==sh}function ni(){this.eb=[],this.size=this.A=this.fb=0}function Es(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function wi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ni,this.f.kb=new Es,this.sd=null}function Mo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Vi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ld(ne){return alert("todo:WebPSamplerProcessPlane"),ne.T}function bl(ne,ae){var ge=ne.T,Ie=ae.ba.f.RGBA,Ge=Ie.eb,nt=Ie.fb+ne.ka*Ie.A,at=iu[ae.ba.S],At=ne.y,Et=ne.O,St=ne.f,fn=ne.N,On=ne.ea,jt=ne.W,En=ae.cc,Dn=ae.dc,rr=ae.Mc,Nn=ae.Nc,sr=ne.ka,mr=ne.ka+ne.T,Qr=ne.U,Dr=Qr+1>>1;for(sr==0?at(At,Et,null,null,St,fn,On,jt,St,fn,On,jt,Ge,nt,null,null,Qr):(at(ae.ec,ae.fc,At,Et,En,Dn,rr,Nn,St,fn,On,jt,Ge,nt-Ie.A,Ge,nt,Qr),++ge);sr+2ge,Ge=ge==X0||ge==Y0||ge==K0||ge==ah||ge==12||To(ge);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!_f(ae.Oa,ne,Ge?11:12))return 0;if(Ge&&To(ge)&&Kf(),ne.da)alert("todo:use_scaling");else{if(Ie){if(ae.Ib=ld,ne.Kb){if(ge=ne.U+1>>1,ae.memory=te(ne.U+2*ge),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+ne.U,ae.Mc=ae.cc,ae.Nc=ae.dc+ge,ae.Ib=bl,Kf()}}else alert("todo:EmitYUV");Ge&&(ae.Jb=_u,Ie&&Eu())}if(Ie&&!qg){for(ne=0;256>ne;++ne)s1[ne]=89858*(ne-128)+_0>>q0,c1[ne]=-22014*(ne-128)+_0,u1[ne]=-45773*(ne-128),l1[ne]=113618*(ne-128)+_0>>q0;for(ne=lA;ne>q0,d1[ne-lA]=Ru(ae,255),f1[ne-lA]=Ru(ae+8>>4,15);qg=1}return 1}function Lo(ne){var ae=ne.ma,ge=ne.U,Ie=ne.T;return y(!(1&ne.ka)),0>=ge||0>=Ie?0:(ge=ae.Ib(ne,ae),ae.Jb!=null&&ae.Jb(ne,ae,ge),ae.Dc+=ge,1)}function $u(ne){ne.ma.memory=null}function ec(ne,ae,ge,Ie){return wr(ne,8)!=47?0:(ae[0]=wr(ne,14)+1,ge[0]=wr(ne,14)+1,Ie[0]=wr(ne,1),wr(ne,3)!=0?0:!ne.h)}function _l(ne,ae){if(4>ne)return ne+1;var ge=ne-2>>1;return(2+(1&ne)<>4)*ne+(8-(15&ge)))?ge:1;var ge}function Bs(ne,ae,ge){var Ie=Jt(ge),Ge=ne[ae+=255&Ie].g-8;return 0>>0,y(8>=ge.g),ne.g}function ll(ne,ae,ge){var Ie=ne.xc;return y((ae=Ie==0?0:ne.vc[ne.md*(ge>>Ie)+(ae>>Ie)])>Ha.b)*Ta;rrQr&&(Za=Qr),(0,nA[Di[$s++]>>8&15])(jt,En+ +Ai,sr,mr+Ai-Qr,Za-Ai,sr,mr+Ai),Ai=Za}En+=Qr,mr+=Qr,++rr&qa||(Ha+=Ta)}On!=St.nc&&x(Et,At-Dn,Et,At+(On-fn-1)*Dn,Dn);break;case 1:for(Dn=jt,Nn=En,Qr=(jt=St.Ea)-(mr=jt&~(sr=(En=1<>St.b)*rr;fn=Ge),0nt.o&&(Ie=nt.o),ge=Ie?ge=0:(Ge[0]+=4*nt.v,nt.ka=ge-nt.j,nt.U=nt.va-nt.v,nt.T=Ie-ge,ge=1),ge){if(At=At[0],11>(ge=ne.ca).S){var fn=ge.f.RGBA,On=(Ie=ge.S,Ge=nt.U,nt=nt.T,St=fn.eb,fn.A),jt=nt;for(fn=fn.fb+ne.Ma*fn.A;0Ie){var Ge=ne.l.width,nt=ge.ca,at=ge.tb+Ge*Ie,At=ne.V,Et=ne.Ba+ne.c*Ie,St=ne.gc;y(ne.ab==1),y(St[0].hc==3),zu(St[0],Ie,ae,At,Et,nt,at),Lu(ge,Ie,ae,nt,at,Ge)}ne.C=ne.Ma=ae}function pu(ne,ae,ge,Ie,Ge,nt,at){var At=ne.$/Ie,Et=ne.$%Ie,St=ne.m,fn=ne.s,On=ge+ne.$,jt=On;Ge=ge+Ie*Ge;var En=ge+Ie*nt,Dn=280+fn.ua,rr=ne.Pb?At:16777216,Nn=0=rr){var qa=On-ge;y((rr=ne).Pb),rr.wd=rr.m,rr.xd=qa,0fi.g?(Cn(Dr,Dr.u+fi.g),qa[Ta]=fi.value,Dr=0):(Cn(Dr,Dr.u+fi.g-256),y(256<=fi.value),Dr=fi.value),Dr==0&&(Qr=!0)}else Dr=Bs(mr.G[0],mr.H[0],St);if(St.h)break;if(Qr||256>Dr){if(!Qr)if(mr.nd)ae[On]=(mr.qb|Dr<<8)>>>0;else{if(Pn(St),Qr=Bs(mr.G[1],mr.H[1],St),Pn(St),qa=Bs(mr.G[2],mr.H[2],St),Ta=Bs(mr.G[3],mr.H[3],St),St.h)break;ae[On]=(Ta<<24|Qr<<16|Dr<<8|qa)>>>0}if(Qr=!1,++On,++Et>=Ie&&(Et=0,++At,at!=null&&At<=nt&&!(At%16)&&at(ne,At),Nn!=null))for(;jt>>Nn.Mb]=Dr}else if(280>Dr){if(Dr=_l(Dr-256,St),qa=Bs(mr.G[4],mr.H[4],St),Pn(St),qa=$l(Ie,qa=_l(qa,St)),St.h)break;if(On-ge=Ie;)Et-=Ie,++At,at!=null&&At<=nt&&!(At%16)&&at(ne,At);if(y(On<=Ge),Et&sr&&(mr=ll(fn,Et,At)),Nn!=null)for(;jt>>Nn.Mb]=Dr}else{if(!(Dr>>Nn.Mb]=Dr;Dr=On,y(!(Qr>>>(qa=Nn).Xa)),ae[Dr]=qa.X[Qr],Qr=!0}Qr||y(St.h==cn(St))}if(ne.Pb&&St.h&&Onnt?nt:At),ne.a=0,ne.$=On-ge}return 1}return ne.a=3,0}function eu(ne){y(ne!=null),ne.vc=null,ne.yc=null,ne.Ya=null;var ae=ne.Wa;ae!=null&&(ae.X=null),ne.vb=null,y(ne!=null)}function cd(){var ne=new Go;return ne==null?null:(ne.a=0,ne.xb=Gg,us("Predictor","VP8LPredictors"),us("Predictor","VP8LPredictors_C"),us("PredictorAdd","VP8LPredictorsAdd"),us("PredictorAdd","VP8LPredictorsAdd_C"),Ts=Ii,rA=ii,aA=Rs,Tc=Li,kc=Ei,Qc=yi,bd=vs,zt.VP8LMapColor32b=Qu,zt.VP8LMapColor8b=tA,ne)}function Ou(ne,ae,ge,Ie,Ge){var nt=1,at=[ne],At=[ae],Et=Ie.m,St=Ie.s,fn=null,On=0;e:for(;;){if(ge)for(;nt&&wr(Et,1);){var jt=at,En=At,Dn=Ie,rr=1,Nn=Dn.m,sr=Dn.gc[Dn.ab],mr=wr(Nn,2);if(Dn.Oc&1<=Dn.ab),mr){case 0:case 1:sr.b=wr(Nn,3)+2,rr=Ou(Or(sr.Ea,sr.b),Or(sr.nc,sr.b),0,Dn,sr.K),sr.K=sr.K[0];break;case 3:var Qr,Dr=wr(Nn,8)+1,qa=16>Ha.b),$s=te(Di);if($s==null)Qr=0;else{var Ai=Ha.K[0],Za=Ha.w;for($s[0]=Ha.K[0][0],Ta=1;Ta<1*fi;++Ta)$s[Ta]=Po(Ai[Za+Ta],$s[Ta-1]);for(;Ta<4*Di;++Ta)$s[Ta]=0;Ha.K[0]=null,Ha.K[0]=$s,Qr=1}}rr=Qr;break;case 2:break;default:y(0)}nt=rr}}if(at=at[0],At=At[0],nt&&wr(Et,1)&&!(nt=1<=(On=wr(Et,4))&&11>=On)){Ie.a=3;break e}var ca;if(ca=nt)t:{var Qs,ri,ji,As=Ie,dl=at,Dl=At,xs=On,Bl=ge,Pl=As.m,el=As.s,Ri=[null],Ki=1,Is=0,Ji=Yv[xs];n:for(;;){if(Bl&&wr(Pl,1)){var fl=wr(Pl,3)+2,Cu=Or(dl,fl),zs=Or(Dl,fl),Ol=Cu*zs;if(!Ou(Cu,zs,0,As,Ri))break n;for(Ri=Ri[0],el.xc=fl,Qs=0;Qs>8&65535;Ri[Qs]=is,is>=Ki&&(Ki=is+1)}}if(Pl.h)break n;for(ri=0;5>ri;++ri){var tl=Zg[ri];!ri&&0=Sl),Yl=Xl;var Rl=te(Is);if(Yl==null||Rl==null||Vl==null){As.a=1;break n}var Kl=Vl;for(Qs=ji=0;Qsri;++ri){tl=Zg[ri],Jl[ri]=Kl,wu[ri]=ji,!ri&&0am)break r}else Ah=am;for(cA=0;cAcf)ap[cA++]=cf,cf!=0&&(op=cf);else{var w1=cf==16,lp=cf-16,b1=Wv[lp],up=wr(Wc,Zv[lp])+b1;if(cA+up>am)break r;for(var B1=w1?op:0;0=ri){var dA,hh=Rl[0];for(dA=1;dAhh&&(hh=Rl[dA]);Al+=hh}}if(ds.nd=mc,ds.Qb=0,mc&&(ds.qb=(Jl[3][wu[3]+0].value<<24|Jl[1][wu[1]+0].value<<16|Jl[2][wu[2]+0].value)>>>0,xd==0&&256>Jl[0][wu[0]+0].value&&(ds.Qb=1,ds.qb+=Jl[0][wu[0]+0].value<<8)),ds.jc=!ds.Qb&&6>Al,ds.jc){var om,hc=ds;for(om=0;om>=al(im,8,Vc),Gc>>=al(hc.G[1][hc.H[1]+Gc],16,Vc),Gc>>=al(hc.G[2][hc.H[2]+Gc],0,Vc),al(hc.G[3][hc.H[3]+Gc],24,Vc))}}}el.vc=Ri,el.Wb=Ki,el.Ya=Yl,el.yc=Vl,ca=1;break t}ca=0}if(!(nt=ca)){Ie.a=3;break e}if(0Ie+1?[]:0),!(Ge.lengthne?0:ne>ae?ae:ne}function ef(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Hm(){var ne=new S0;return ne!=null&&(ne.a=0,ne.sc="OK",ne.cb=0,ne.Xb=0,sA||(sA=tf)),ne}function Gs(ne,ae,ge){return ne.a==0&&(ne.a=ae,ne.sc=ge,ne.cb=0),0}function j0(ne,ae,ge){return 3<=ge&&ne[ae+0]==157&&ne[ae+1]==1&&ne[ae+2]==42}function Tu(ne,ae){if(ne==null)return 0;if(ne.a=0,ne.sc="OK",ae==null)return Gs(ne,2,"null VP8Io passed to VP8GetHeaders()");var ge=ae.data,Ie=ae.w,Ge=ae.ha;if(4>Ge)return Gs(ne,7,"Truncated header.");var nt=ge[Ie+0]|ge[Ie+1]<<8|ge[Ie+2]<<16,at=ne.Od;if(at.Rb=!(1&nt),at.td=nt>>1&7,at.yd=nt>>4&1,at.ub=nt>>5,3Ge)return Gs(ne,7,"cannot parse picture header");if(!j0(ge,Ie,Ge))return Gs(ne,3,"Bad code word");At.c=16383&(ge[Ie+4]<<8|ge[Ie+3]),At.Td=ge[Ie+4]>>6,At.i=16383&(ge[Ie+6]<<8|ge[Ie+5]),At.Ud=ge[Ie+6]>>6,Ie+=7,Ge-=7,ne.za=At.c+15>>4,ne.Ub=At.i+15>>4,ae.width=At.c,ae.height=At.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,z((nt=ne.Pa).jb,0,255,nt.jb.length),y((nt=ne.Qa)!=null),nt.Cb=0,nt.Bb=0,nt.Fb=1,z(nt.Zb,0,0,nt.Zb.length),z(nt.Lb,0,0,nt.Lb)}if(at.ub>Ge)return Gs(ne,7,"bad partition length");Xn(nt=ne.m,ge,Ie,at.ub),Ie+=at.ub,Ge-=at.ub,at.Rb&&(At.Ld=_n(nt),At.Kd=_n(nt)),At=ne.Qa;var Et,St=ne.Pa;if(y(nt!=null),y(At!=null),At.Cb=_n(nt),At.Cb){if(At.Bb=_n(nt),_n(nt)){for(At.Fb=_n(nt),Et=0;4>Et;++Et)At.Zb[Et]=_n(nt)?Mn(nt,7):0;for(Et=0;4>Et;++Et)At.Lb[Et]=_n(nt)?Mn(nt,6):0}if(At.Bb)for(Et=0;3>Et;++Et)St.jb[Et]=_n(nt)?Jn(nt,8):255}else At.Bb=0;if(nt.Ka)return Gs(ne,3,"cannot parse segment header");if((At=ne.ed).zd=_n(nt),At.Tb=Jn(nt,6),At.wb=Jn(nt,3),At.Pc=_n(nt),At.Pc&&_n(nt)){for(St=0;4>St;++St)_n(nt)&&(At.vd[St]=Mn(nt,6));for(St=0;4>St;++St)_n(nt)&&(At.od[St]=Mn(nt,6))}if(ne.L=At.Tb==0?0:At.zd?1:2,nt.Ka)return Gs(ne,3,"cannot parse filter header");var fn=Ge;if(Ge=Et=Ie,Ie=Et+fn,At=fn,ne.Xb=(1<At&&(On=At),Xn(ne.Jc[+fn],ge,Et,On),Et+=On,At-=On,Ge+=3}Xn(ne.Jc[+St],ge,Et,At),ge=EtOn;++On){if(fn.Cb){var jt=fn.Zb[On];fn.Fb||(jt+=ge)}else{if(0>16,8>En.Eb[1]&&(En.Eb[1]=8),En.Qc[0]=lh[Ru(jt+St,117)],En.Qc[1]=uh[Ru(jt+Et,127)],En.lc=jt+Et}if(!at.Rb)return Gs(ne,4,"Not a key frame.");for(_n(nt),at=ne.Pa,ge=0;4>ge;++ge){for(Ge=0;8>Ge;++Ge)for(Ie=0;3>Ie;++Ie)for(At=0;11>At;++At)St=vr(nt,e1[ge][Ge][Ie][At])?Jn(nt,8):_v[ge][Ge][Ie][At],at.Wc[ge][Ge].Yb[Ie][At]=St;for(Ge=0;17>Ge;++Ge)at.Xc[ge][Ge]=at.Wc[ge][t1[Ge]]}return ne.kc=_n(nt),ne.kc&&(ne.Bd=Jn(nt,8)),ne.cb=1}function tf(ne,ae,ge,Ie,Ge,nt,at){var At=ae[Ge].Yb[ge];for(ge=0;16>Ge;++Ge){if(!vr(ne,At[ge+0]))return Ge;for(;!vr(ne,At[ge+1]);)if(At=ae[++Ge].Yb[0],ge=0,Ge==16)return 16;var Et=ae[Ge+1].Yb;if(vr(ne,At[ge+2])){var St=ne,fn=0;if(vr(St,(jt=At)[(On=ge)+3]))if(vr(St,jt[On+6])){for(At=0,On=2*(fn=vr(St,jt[On+8]))+(jt=vr(St,jt[On+9+fn])),fn=0,jt=Jv[On];jt[At];++At)fn+=fn+vr(St,jt[At]);fn+=3+(8<(St=ne).b&&Kn(St);var On,jt=St.b,En=(On=St.Ca>>1)-(St.I>>jt)>>31;--St.b,St.Ca+=En,St.Ca|=1,St.I-=(On+1&En)<>3),ne[ae+ge+32*Ie]=-256&Ge?0>Ge?0:255:Ge}function Js(ne,ae,ge,Ie,Ge,nt){nu(ne,ae,0,ge,Ie+Ge),nu(ne,ae,1,ge,Ie+nt),nu(ne,ae,2,ge,Ie-nt),nu(ne,ae,3,ge,Ie-Ge)}function tc(ne){return(20091*ne>>16)+ne}function M0(ne,ae,ge,Ie){var Ge,nt=0,at=te(16);for(Ge=0;4>Ge;++Ge){var At=ne[ae+0]+ne[ae+8],Et=ne[ae+0]-ne[ae+8],St=(35468*ne[ae+4]>>16)-tc(ne[ae+12]),fn=tc(ne[ae+4])+(35468*ne[ae+12]>>16);at[nt+0]=At+fn,at[nt+1]=Et+St,at[nt+2]=Et-St,at[nt+3]=At-fn,nt+=4,ae++}for(Ge=nt=0;4>Ge;++Ge)At=(ne=at[nt+0]+4)+at[nt+8],Et=ne-at[nt+8],St=(35468*at[nt+4]>>16)-tc(at[nt+12]),nu(ge,Ie,0,0,At+(fn=tc(at[nt+4])+(35468*at[nt+12]>>16))),nu(ge,Ie,1,0,Et+St),nu(ge,Ie,2,0,Et-St),nu(ge,Ie,3,0,At-fn),nt++,Ie+=32}function Zm(ne,ae,ge,Ie){var Ge=ne[ae+0]+4,nt=35468*ne[ae+4]>>16,at=tc(ne[ae+4]),At=35468*ne[ae+1]>>16;Js(ge,Ie,0,Ge+at,ne=tc(ne[ae+1]),At),Js(ge,Ie,1,Ge+nt,ne,At),Js(ge,Ie,2,Ge-nt,ne,At),Js(ge,Ie,3,Ge-at,ne,At)}function Wm(ne,ae,ge,Ie,Ge){M0(ne,ae,ge,Ie),Ge&&M0(ne,ae+16,ge,Ie+4)}function ku(ne,ae,ge,Ie){Bd(ne,ae+0,ge,Ie,1),Bd(ne,ae+32,ge,Ie+128,1)}function L0(ne,ae,ge,Ie){var Ge;for(ne=ne[ae+0]+4,Ge=0;4>Ge;++Ge)for(ae=0;4>ae;++ae)nu(ge,Ie,ae,Ge,ne)}function O0(ne,ae,ge,Ie){ne[ae+0]&&Xi(ne,ae+0,ge,Ie),ne[ae+16]&&Xi(ne,ae+16,ge,Ie+4),ne[ae+32]&&Xi(ne,ae+32,ge,Ie+128),ne[ae+48]&&Xi(ne,ae+48,ge,Ie+128+4)}function nf(ne,ae,ge,Ie){var Ge,nt=te(16);for(Ge=0;4>Ge;++Ge){var at=ne[ae+0+Ge]+ne[ae+12+Ge],At=ne[ae+4+Ge]+ne[ae+8+Ge],Et=ne[ae+4+Ge]-ne[ae+8+Ge],St=ne[ae+0+Ge]-ne[ae+12+Ge];nt[0+Ge]=at+At,nt[8+Ge]=at-At,nt[4+Ge]=St+Et,nt[12+Ge]=St-Et}for(Ge=0;4>Ge;++Ge)at=(ne=nt[0+4*Ge]+3)+nt[3+4*Ge],At=nt[1+4*Ge]+nt[2+4*Ge],Et=nt[1+4*Ge]-nt[2+4*Ge],St=ne-nt[3+4*Ge],ge[Ie+0]=at+At>>3,ge[Ie+16]=St+Et>>3,ge[Ie+32]=at-At>>3,ge[Ie+48]=St-Et>>3,Ie+=64}function fd(ne,ae,ge){var Ie,Ge=ae-32,nt=Gl,at=255-ne[Ge-1];for(Ie=0;Iege;++ge)x(ne,ae+32*ge,ne,ae-32,16)}function R0(ne,ae){var ge;for(ge=16;0Ie;++Ie)z(ae,ge+32*Ie,ne,16)}function Ym(ne,ae){var ge,Ie=16;for(ge=0;16>ge;++ge)Ie+=ne[ae-1+32*ge]+ne[ae+ge-32];vu(Ie>>5,ne,ae)}function Ad(ne,ae){var ge,Ie=8;for(ge=0;16>ge;++ge)Ie+=ne[ae-1+32*ge];vu(Ie>>4,ne,ae)}function Hf(ne,ae){var ge,Ie=8;for(ge=0;16>ge;++ge)Ie+=ne[ae+ge-32];vu(Ie>>4,ne,ae)}function Km(ne,ae){vu(128,ne,ae)}function Ko(ne,ae,ge){return ne+2*ae+ge+2>>2}function Jm(ne,ae){var ge,Ie=ae-32;for(Ie=new Uint8Array([Ko(ne[Ie-1],ne[Ie+0],ne[Ie+1]),Ko(ne[Ie+0],ne[Ie+1],ne[Ie+2]),Ko(ne[Ie+1],ne[Ie+2],ne[Ie+3]),Ko(ne[Ie+2],ne[Ie+3],ne[Ie+4])]),ge=0;4>ge;++ge)x(ne,ae+32*ge,Ie,0,Ie.length)}function qm(ne,ae){var ge=ne[ae-1],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96];zr(ne,ae+0,16843009*Ko(ne[ae-1-32],ge,Ie)),zr(ne,ae+32,16843009*Ko(ge,Ie,Ge)),zr(ne,ae+64,16843009*Ko(Ie,Ge,nt)),zr(ne,ae+96,16843009*Ko(Ge,nt,nt))}function _m(ne,ae){var ge,Ie=4;for(ge=0;4>ge;++ge)Ie+=ne[ae+ge-32]+ne[ae-1+32*ge];for(Ie>>=3,ge=0;4>ge;++ge)z(ne,ae+32*ge,Ie,4)}function nc(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+96]=Ko(Ie,Ge,ne[ae-1+96]),ne[ae+1+96]=ne[ae+0+64]=Ko(ge,Ie,Ge),ne[ae+2+96]=ne[ae+1+64]=ne[ae+0+32]=Ko(nt,ge,Ie),ne[ae+3+96]=ne[ae+2+64]=ne[ae+1+32]=ne[ae+0+0]=Ko(at,nt,ge),ne[ae+3+64]=ne[ae+2+32]=ne[ae+1+0]=Ko(At,at,nt),ne[ae+3+32]=ne[ae+2+0]=Ko(Et,At,at),ne[ae+3+0]=Ko(St,Et,At)}function rc(ne,ae){var ge=ne[ae+1-32],Ie=ne[ae+2-32],Ge=ne[ae+3-32],nt=ne[ae+4-32],at=ne[ae+5-32],At=ne[ae+6-32],Et=ne[ae+7-32];ne[ae+0+0]=Ko(ne[ae+0-32],ge,Ie),ne[ae+1+0]=ne[ae+0+32]=Ko(ge,Ie,Ge),ne[ae+2+0]=ne[ae+1+32]=ne[ae+0+64]=Ko(Ie,Ge,nt),ne[ae+3+0]=ne[ae+2+32]=ne[ae+1+64]=ne[ae+0+96]=Ko(Ge,nt,at),ne[ae+3+32]=ne[ae+2+64]=ne[ae+1+96]=Ko(nt,at,At),ne[ae+3+64]=ne[ae+2+96]=Ko(at,At,Et),ne[ae+3+96]=Ko(At,Et,Et)}function $m(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+0]=ne[ae+1+64]=nt+at+1>>1,ne[ae+1+0]=ne[ae+2+64]=at+At+1>>1,ne[ae+2+0]=ne[ae+3+64]=At+Et+1>>1,ne[ae+3+0]=Et+St+1>>1,ne[ae+0+96]=Ko(Ge,Ie,ge),ne[ae+0+64]=Ko(Ie,ge,nt),ne[ae+0+32]=ne[ae+1+96]=Ko(ge,nt,at),ne[ae+1+32]=ne[ae+2+96]=Ko(nt,at,At),ne[ae+2+32]=ne[ae+3+96]=Ko(at,At,Et),ne[ae+3+32]=Ko(At,Et,St)}function eh(ne,ae){var ge=ne[ae+0-32],Ie=ne[ae+1-32],Ge=ne[ae+2-32],nt=ne[ae+3-32],at=ne[ae+4-32],At=ne[ae+5-32],Et=ne[ae+6-32],St=ne[ae+7-32];ne[ae+0+0]=ge+Ie+1>>1,ne[ae+1+0]=ne[ae+0+64]=Ie+Ge+1>>1,ne[ae+2+0]=ne[ae+1+64]=Ge+nt+1>>1,ne[ae+3+0]=ne[ae+2+64]=nt+at+1>>1,ne[ae+0+32]=Ko(ge,Ie,Ge),ne[ae+1+32]=ne[ae+0+96]=Ko(Ie,Ge,nt),ne[ae+2+32]=ne[ae+1+96]=Ko(Ge,nt,at),ne[ae+3+32]=ne[ae+2+96]=Ko(nt,at,At),ne[ae+3+64]=Ko(at,At,Et),ne[ae+3+96]=Ko(At,Et,St)}function rf(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96];ne[ae+0+0]=ge+Ie+1>>1,ne[ae+2+0]=ne[ae+0+32]=Ie+Ge+1>>1,ne[ae+2+32]=ne[ae+0+64]=Ge+nt+1>>1,ne[ae+1+0]=Ko(ge,Ie,Ge),ne[ae+3+0]=ne[ae+1+32]=Ko(Ie,Ge,nt),ne[ae+3+32]=ne[ae+1+64]=Ko(Ge,nt,nt),ne[ae+3+64]=ne[ae+2+64]=ne[ae+0+96]=ne[ae+1+96]=ne[ae+2+96]=ne[ae+3+96]=nt}function Zf(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96],at=ne[ae-1-32],At=ne[ae+0-32],Et=ne[ae+1-32],St=ne[ae+2-32];ne[ae+0+0]=ne[ae+2+32]=ge+at+1>>1,ne[ae+0+32]=ne[ae+2+64]=Ie+ge+1>>1,ne[ae+0+64]=ne[ae+2+96]=Ge+Ie+1>>1,ne[ae+0+96]=nt+Ge+1>>1,ne[ae+3+0]=Ko(At,Et,St),ne[ae+2+0]=Ko(at,At,Et),ne[ae+1+0]=ne[ae+3+32]=Ko(ge,at,At),ne[ae+1+32]=ne[ae+3+64]=Ko(Ie,ge,at),ne[ae+1+64]=ne[ae+3+96]=Ko(Ge,Ie,ge),ne[ae+1+96]=Ko(nt,Ge,Ie)}function md(ne,ae){var ge;for(ge=0;8>ge;++ge)x(ne,ae+32*ge,ne,ae-32,8)}function th(ne,ae){var ge;for(ge=0;8>ge;++ge)z(ne,ae,ne[ae-1],8),ae+=32}function ac(ne,ae,ge){var Ie;for(Ie=0;8>Ie;++Ie)z(ae,ge+32*Ie,ne,8)}function nh(ne,ae){var ge,Ie=8;for(ge=0;8>ge;++ge)Ie+=ne[ae+ge-32]+ne[ae-1+32*ge];ac(Ie>>4,ne,ae)}function Wf(ne,ae){var ge,Ie=4;for(ge=0;8>ge;++ge)Ie+=ne[ae+ge-32];ac(Ie>>3,ne,ae)}function Gf(ne,ae){var ge,Ie=4;for(ge=0;8>ge;++ge)Ie+=ne[ae-1+32*ge];ac(Ie>>3,ne,ae)}function T0(ne,ae){ac(128,ne,ae)}function oc(ne,ae,ge){var Ie=ne[ae-ge],Ge=ne[ae+0],nt=3*(Ge-Ie)+rh[1020+ne[ae-2*ge]-ne[ae+ge]],at=G0[112+(nt+4>>3)];ne[ae-ge]=Gl[255+Ie+G0[112+(nt+3>>3)]],ne[ae+0]=Gl[255+Ge-at]}function Vf(ne,ae,ge,Ie){var Ge=ne[ae+0],nt=ne[ae+ge];return ou[255+ne[ae-2*ge]-ne[ae-ge]]>Ie||ou[255+nt-Ge]>Ie}function af(ne,ae,ge,Ie){return 4*ou[255+ne[ae-ge]-ne[ae+0]]+ou[255+ne[ae-2*ge]-ne[ae+ge]]<=Ie}function Xf(ne,ae,ge,Ie,Ge){var nt=ne[ae-3*ge],at=ne[ae-2*ge],At=ne[ae-ge],Et=ne[ae+0],St=ne[ae+ge],fn=ne[ae+2*ge],On=ne[ae+3*ge];return 4*ou[255+At-Et]+ou[255+at-St]>Ie?0:ou[255+ne[ae-4*ge]-nt]<=Ge&&ou[255+nt-at]<=Ge&&ou[255+at-At]<=Ge&&ou[255+On-fn]<=Ge&&ou[255+fn-St]<=Ge&&ou[255+St-Et]<=Ge}function hd(ne,ae,ge,Ie){var Ge=2*Ie+1;for(Ie=0;16>Ie;++Ie)af(ne,ae+Ie,ge,Ge)&&oc(ne,ae+Ie,ge)}function Yf(ne,ae,ge,Ie){var Ge=2*Ie+1;for(Ie=0;16>Ie;++Ie)af(ne,ae+Ie*ge,1,Ge)&&oc(ne,ae+Ie*ge,1)}function k0(ne,ae,ge,Ie){var Ge;for(Ge=3;0>7,sr=18*mr+63>>7,mr=9*mr+63>>7;Et[St-3*fn]=Gl[255+Et[St-3*fn]+mr],Et[St-2*fn]=Gl[255+On+sr],Et[St-fn]=Gl[255+jt+Nn],Et[St+0]=Gl[255+En-Nn],Et[St+fn]=Gl[255+Dn-sr],Et[St+2*fn]=Gl[255+rr-mr]}ae+=Ie}}function sc(ne,ae,ge,Ie,Ge,nt,at,At){for(nt=2*nt+1;0>3)],rr=G0[112+(rr+3>>3)],Nn=Dn+1>>1;Et[St-2*fn]=Gl[255+Et[St-2*fn]+Nn],Et[St-fn]=Gl[255+On+rr],Et[St+0]=Gl[255+jt-Dn],Et[St+fn]=Gl[255+En-Nn]}ae+=Ie}}function z0(ne,ae,ge,Ie,Ge,nt){ic(ne,ae,ge,1,16,Ie,Ge,nt)}function gd(ne,ae,ge,Ie,Ge,nt){ic(ne,ae,1,ge,16,Ie,Ge,nt)}function U0(ne,ae,ge,Ie,Ge,nt){var at;for(at=3;0St?0:255:St)&255,St=Et,Ge[nt+At]=fn}}function cs(ne,ae,ge,Ie){var Ge=ae.width,nt=ae.o;if(y(ne!=null&&ae!=null),0>ge||0>=Ie||ge+Ie>nt)return null;if(!ne.Cc){if(ne.ga==null){var at;if(ne.ga=new si,(at=ne.ga==null)||(at=ae.width*ae.o,y(ne.Gb.length==0),ne.Gb=te(at),ne.Uc=0,ne.Gb==null?at=0:(ne.mb=ne.Gb,ne.nb=ne.Uc,ne.rc=null,at=1),at=!at),!at){at=ne.ga;var At=ne.Fa,Et=ne.P,St=ne.qc,fn=ne.mb,On=ne.nb,jt=Et+1,En=St-1,Dn=at.l;if(y(At!=null&&fn!=null&&ae!=null),Hc[0]=null,Hc[1]=Oi,Hc[2]=Cs,Hc[3]=Vs,at.ca=fn,at.tb=On,at.c=ae.width,at.i=ae.height,y(0=St)ae=0;else if(at.$a=3&At[Et+0],at.Z=At[Et+0]>>2&3,at.Lc=At[Et+0]>>4&3,Et=At[Et+0]>>6&3,0>at.$a||1=at.c*at.i;at=!ae}if(at)return null;ne.ga.Lc!=1?ne.Ga=0:Ie=nt-ge}y(ne.ga!=null),y(ge+Ie<=nt);e:{if(ae=(At=ne.ga).c,nt=At.l.o,At.$a==0){if(jt=ne.rc,En=ne.Vc,Dn=ne.Fa,Et=ne.P+1+ge*ae,St=ne.mb,fn=ne.nb+ge*ae,y(Et<=ne.P+ne.qc),At.Z!=0)for(y(Hc[At.Z]!=null),at=0;at=ae)ae=1;else if(At.ic||Eu(),At.ic){At=at.V,jt=at.Ba,En=at.c;var rr=at.i,Nn=(Dn=1,Et=at.$/En,St=at.$%En,fn=at.m,On=at.s,at.$),sr=En*rr,mr=En*ae,Qr=On.wc,Dr=Nn(rr=Bs(Dr.G[0],Dr.H[0],fn)))At[jt+Nn]=rr,++Nn,++St>=En&&(St=0,++Et<=ae&&!(Et%16)&&gu(at,Et));else{if(!(280>rr)){Dn=0;break t}rr=_l(rr-256,fn);var qa,Ta=Bs(Dr.G[4],Dr.H[4],fn);if(Pn(fn),!(Nn>=(Ta=$l(En,Ta=_l(Ta,fn)))&&sr-Nn>=rr)){Dn=0;break t}for(qa=0;qa=En;)St-=En,++Et<=ae&&!(Et%16)&&gu(at,Et);Nnae?ae:Et);break t}!Dn||fn.h&&Nn=nt&&(ne.Cc=1),Ie=1}if(!Ie)return null;if(ne.Cc&&((Ie=ne.ga)!=null&&(Ie.mc=null),ne.ga=null,0>23,At[Et+4*at+1]=At[Et+4*at+1]*On>>23,At[Et+4*at+2]=At[Et+4*at+2]*On>>23)}ae+=nt}}function Xs(ne,ae,ge,Ie,Ge){for(;0>4)*Et>>16;ne[ae+2*nt+0]=(240&at|at>>4)*Et>>16&240|(15&at|at<<4)*Et>>16>>4&15,ne[ae+2*nt+1]=240&St|At}ae+=Ge}}function ul(ne,ae,ge,Ie,Ge,nt,at,At){var Et,St,fn=255;for(St=0;St>8}function Eu(){iA=qs,Mg=Xs,Lg=ul,Og=lc}function uc(ne,ae,ge){zt[ne]=function(Ie,Ge,nt,at,At,Et,St,fn,On,jt,En,Dn,rr,Nn,sr,mr,Qr){var Dr,qa=Qr-1>>1,Ta=At[Et+0]|St[fn+0]<<16,fi=On[jt+0]|En[Dn+0]<<16;y(Ie!=null);var Ha=3*Ta+fi+131074>>2;for(ae(Ie[Ge+0],255&Ha,Ha>>16,rr,Nn),nt!=null&&(Ha=3*fi+Ta+131074>>2,ae(nt[at+0],255&Ha,Ha>>16,sr,mr)),Dr=1;Dr<=qa;++Dr){var Di=At[Et+Dr]|St[fn+Dr]<<16,$s=On[jt+Dr]|En[Dn+Dr]<<16,Ai=Ta+Di+fi+$s+524296,Za=Ai+2*(Di+fi)>>3;Ha=Za+Ta>>1,Ta=(Ai=Ai+2*(Ta+$s)>>3)+Di>>1,ae(Ie[Ge+2*Dr-1],255&Ha,Ha>>16,rr,Nn+(2*Dr-1)*ge),ae(Ie[Ge+2*Dr-0],255&Ta,Ta>>16,rr,Nn+(2*Dr-0)*ge),nt!=null&&(Ha=Ai+fi>>1,Ta=Za+$s>>1,ae(nt[at+2*Dr-1],255&Ha,Ha>>16,sr,mr+(2*Dr-1)*ge),ae(nt[at+2*Dr+0],255&Ta,Ta>>16,sr,mr+(2*Dr+0)*ge)),Ta=Di,fi=$s}1&Qr||(Ha=3*Ta+fi+131074>>2,ae(Ie[Ge+Qr-1],255&Ha,Ha>>16,rr,Nn+(Qr-1)*ge),nt!=null&&(Ha=3*fi+Ta+131074>>2,ae(nt[at+Qr-1],255&Ha,Ha>>16,sr,mr+(Qr-1)*ge)))}}function Kf(){iu[V0]=r1,iu[X0]=Vg,iu[Ug]=a1,iu[Y0]=Xg,iu[K0]=Yg,iu[ah]=Kg,iu[Hg]=o1,iu[oh]=Vg,iu[ih]=Xg,iu[J0]=Yg,iu[sh]=Kg}function of(ne){return ne&~i1?0>ne?0:255:ne>>Jg}function Nc(ne,ae){return of((19077*ne>>8)+(26149*ae>>8)-14234)}function pd(ne,ae,ge){return of((19077*ne>>8)-(6419*ae>>8)-(13320*ge>>8)+8708)}function vd(ne,ae){return of((19077*ne>>8)+(33050*ae>>8)-17685)}function Mc(ne,ae,ge,Ie,Ge){Ie[Ge+0]=Nc(ne,ge),Ie[Ge+1]=pd(ne,ae,ge),Ie[Ge+2]=vd(ne,ae)}function cl(ne,ae,ge,Ie,Ge){Ie[Ge+0]=vd(ne,ae),Ie[Ge+1]=pd(ne,ae,ge),Ie[Ge+2]=Nc(ne,ge)}function Ed(ne,ae,ge,Ie,Ge){var nt=pd(ne,ae,ge);ae=nt<<3&224|vd(ne,ae)>>3,Ie[Ge+0]=248&Nc(ne,ge)|nt>>5,Ie[Ge+1]=ae}function yd(ne,ae,ge,Ie,Ge){var nt=240&vd(ne,ae)|15;Ie[Ge+0]=240&Nc(ne,ge)|pd(ne,ae,ge)>>4,Ie[Ge+1]=nt}function Jf(ne,ae,ge,Ie,Ge){Ie[Ge+0]=255,Mc(ne,ae,ge,Ie,Ge+1)}function qf(ne,ae,ge,Ie,Ge){cl(ne,ae,ge,Ie,Ge),Ie[Ge+3]=255}function Fl(ne,ae,ge,Ie,Ge){Mc(ne,ae,ge,Ie,Ge),Ie[Ge+3]=255}function cc(ne,ae,ge){zt[ne]=function(Ie,Ge,nt,at,At,Et,St,fn,On){for(var jt=fn+(-2&On)*ge;fn!=jt;)ae(Ie[Ge+0],nt[at+0],At[Et+0],St,fn),ae(Ie[Ge+1],nt[at+0],At[Et+0],St,fn+ge),Ge+=2,++at,++Et,fn+=2*ge;1&On&&ae(Ie[Ge+0],nt[at+0],At[Et+0],St,fn)}}function sf(ne,ae,ge){return ge==0?ne==0?ae==0?6:5:ae==0?4:0:ge}function H0(ne,ae,ge,Ie,Ge){switch(ne>>>30){case 3:Bd(ae,ge,Ie,Ge,0);break;case 2:au(ae,ge,Ie,Ge);break;case 1:Xi(ae,ge,Ie,Ge)}}function ru(ne,ae){var ge,Ie,Ge=ae.M,nt=ae.Nb,at=ne.oc,At=ne.pc+40,Et=ne.oc,St=ne.pc+584,fn=ne.oc,On=ne.pc+600;for(ge=0;16>ge;++ge)at[At+32*ge-1]=129;for(ge=0;8>ge;++ge)Et[St+32*ge-1]=129,fn[On+32*ge-1]=129;for(0ge;++ge)x(at,At+32*ge-4,at,At+32*ge+12,4);for(ge=-1;8>ge;++ge)x(Et,St+32*ge-4,Et,St+32*ge+4,4),x(fn,On+32*ge-4,fn,On+32*ge+4,4)}var En=ne.Gd,Dn=ne.Hd+Ie,rr=jt.ad,Nn=jt.Hc;if(0=ne.za-1?z(sr,mr,En[Dn].y[15],4):x(sr,mr,En[Dn+1].y,0,4)),ge=0;4>ge;ge++)sr[mr+128+ge]=sr[mr+256+ge]=sr[mr+384+ge]=sr[mr+0+ge];for(ge=0;16>ge;++ge,Nn<<=2)sr=at,mr=At+_g[ge],yu[jt.Ob[ge]](sr,mr),H0(Nn,rr,16*+ge,sr,mr)}else if(sr=sf(Ie,Ge,jt.Ob[0]),Uc[sr](at,At),Nn!=0)for(ge=0;16>ge;++ge,Nn<<=2)H0(Nn,rr,16*+ge,at,At+_g[ge]);for(ge=jt.Gc,sr=sf(Ie,Ge,jt.Dd),Ac[sr](Et,St),Ac[sr](fn,On),Nn=rr,sr=Et,mr=St,255&(jt=0|ge)&&(170&jt?Uu(Nn,256,sr,mr):os(Nn,256,sr,mr)),jt=fn,Nn=On,255&(ge>>=8)&&(170&ge?Uu(rr,320,jt,Nn):os(rr,320,jt,Nn)),Gege;++ge)x(En,Dn+ge*ne.R,at,At+32*ge,16);for(ge=0;8>ge;++ge)x(rr,jt+ge*ne.B,Et,St+32*ge,8),x(Nn,sr+ge*ne.B,fn,On+32*ge,8)}}function Cd(ne,ae,ge,Ie,Ge,nt,at,At,Et){var St=[0],fn=[0],On=0,jt=Et!=null?Et.kd:0,En=Et!=null?Et:new Fr;if(ne==null||12>ge)return 7;En.data=ne,En.w=ae,En.ha=ge,ae=[ae],ge=[ge],En.gb=[En.gb];e:{var Dn=ae,rr=ge,Nn=En.gb;if(y(ne!=null),y(rr!=null),y(Nn!=null),Nn[0]=0,12<=rr[0]&&!E(ne,Dn[0],"RIFF")){if(E(ne,Dn[0]+8,"WEBP")){Nn=3;break e}var sr=io(ne,Dn[0]+4);if(12>sr||4294967286rr[0]-8){Nn=7;break e}Nn[0]=sr,Dn[0]+=12,rr[0]-=12}Nn=0}if(Nn!=0)return Nn;for(sr=0Nn[0])Nn=7;else{if(!E(mr,rr[0],"VP8X")){if(io(mr,rr[0]+4)!=10){Nn=3;break e}if(18>Nn[0]){Nn=7;break e}var Ta=io(mr,rr[0]+8),fi=1+pa(mr,rr[0]+12);if(2147483648<=fi*(mr=1+pa(mr,rr[0]+15))){Nn=3;break e}qa!=null&&(qa[0]=Ta),Qr!=null&&(Qr[0]=fi),Dr!=null&&(Dr[0]=mr),rr[0]+=18,Nn[0]-=18,Ha[0]=1}Nn=0}}if(On=On[0],Dn=Dn[0],Nn!=0)return Nn;if(rr=!!(2&Dn),!sr&&On)return 3;if(nt!=null&&(nt[0]=!!(16&Dn)),at!=null&&(at[0]=rr),At!=null&&(At[0]=0),at=St[0],Dn=fn[0],On&&rr&&Et==null){Nn=0;break}if(4>ge){Nn=7;break}if(sr&&On||!sr&&!On&&!E(ne,ae[0],"ALPH")){ge=[ge],En.na=[En.na],En.P=[En.P],En.Sa=[En.Sa];e:{Ta=ne,Nn=ae,sr=ge;var Ha=En.gb;Qr=En.na,Dr=En.P,qa=En.Sa,fi=22,y(Ta!=null),y(sr!=null),mr=Nn[0];var Di=sr[0];for(y(Qr!=null),y(qa!=null),Qr[0]=null,Dr[0]=null,qa[0]=0;;){if(Nn[0]=mr,sr[0]=Di,8>Di){Nn=7;break e}var $s=io(Ta,mr+4);if(4294967286<$s){Nn=3;break e}var Ai=8+$s+1&-2;if(fi+=Ai,0Ha){Nn=3;break e}if(!E(Ta,mr,"VP8 ")||!E(Ta,mr,"VP8L")){Nn=0;break e}if(Di[0]sr[0])Nn=7;else{if(mr||fi){if(Ha=io(Ha,Ta+4),12<=Qr&&Ha>Qr-12){Nn=3;break e}if(jt&&Ha>sr[0]-8){Nn=7;break e}Dr[0]=Ha,Nn[0]+=8,sr[0]-=8,qa[0]=fi}else qa[0]=5<=sr[0]&&Ha[Ta+0]==47&&!(Ha[Ta+4]>>5),Dr[0]=sr[0];Nn=0}if(ge=ge[0],En.Ja=En.Ja[0],En.xa=En.xa[0],ae=ae[0],Nn!=0)break;if(4294967286ge){Nn=7;break}At=at,jt=Dn,rr=nt,ne==null||5>ge?ne=0:5<=ge&&ne[ae+0]==47&&!(ne[ae+4]>>5)?(sr=[0],Ha=[0],Qr=[0],tr(Dr=new Rt,ne,ae,ge),ec(Dr,sr,Ha,Qr)?(At!=null&&(At[0]=sr[0]),jt!=null&&(jt[0]=Ha[0]),rr!=null&&(rr[0]=Qr[0]),ne=1):ne=0):ne=0}else{if(10>ge){Nn=7;break}At=Dn,ne==null||10>ge||!j0(ne,ae+3,ge-3)?ne=0:(jt=ne[ae+0]|ne[ae+1]<<8|ne[ae+2]<<16,rr=16383&(ne[ae+7]<<8|ne[ae+6]),ne=16383&(ne[ae+9]<<8|ne[ae+8]),1&jt||3<(jt>>1&7)||!(jt>>4&1)||jt>>5>=En.Ja||!rr||!ne?ne=0:(at&&(at[0]=rr),At&&(At[0]=ne),ne=1))}if(!ne||(at=at[0],Dn=Dn[0],On&&(St[0]!=at||fn[0]!=Dn)))return 3;Et!=null&&(Et[0]=En,Et.offset=ae-Et.w,y(4294967286>ae-Et.w),y(Et.offset==Et.ha-ge));break}return Nn==0||Nn==7&&On&&Et==null?(nt!=null&&(nt[0]|=En.na!=null&&0ge||(nt&=-2,at&=-2),0>nt||0>at||0>=At||0>=Et||nt+At>Ie||at+Et>Ge))return 0;if(ae.v=nt,ae.j=at,ae.va=nt+At,ae.o=at+Et,ae.U=At,ae.T=Et,ae.da=ne!=null&&0ne.S){var ae=ne.f.RGBA;ae.fb+=(ne.height-1)*ae.A,ae.A=-ae.A}else ae=ne.f.kb,ne=ne.height,ae.O+=(ne-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(ne-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(ne-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(ne-1)*ae.lb,ae.lb=-ae.lb);return 0}function Lc(ne,ae,ge,Ie){if(Ie==null||0>=ne||0>=ae)return 2;if(ge!=null){if(ge.Da){var Ge=ge.cd,nt=ge.bd,at=-2&ge.v,At=-2&ge.j;if(0>at||0>At||0>=Ge||0>=nt||at+Ge>ne||At+nt>ae)return 2;ne=Ge,ae=nt}if(ge.da){if(!Do(ne,ae,Ge=[ge.ib],nt=[ge.hb]))return 2;ne=Ge[0],ae=nt[0]}}Ie.width=ne,Ie.height=ae;e:{var Et=Ie.width,St=Ie.height;if(ne=Ie.S,0>=Et||0>=St||!(ne>=V0&&13>ne))ne=2;else{if(0>=Ie.Rd&&Ie.sd==null){at=nt=Ge=ae=0;var fn=(At=Et*$g[ne])*St;if(11>ne||(nt=(St+1)/2*(ae=(Et+1)/2),ne==12&&(at=(Ge=Et)*St)),(St=te(fn+2*nt+at))==null){ne=1;break e}Ie.sd=St,11>ne?((Et=Ie.f.RGBA).eb=St,Et.fb=0,Et.A=At,Et.size=fn):((Et=Ie.f.kb).y=St,Et.O=0,Et.fa=At,Et.Fd=fn,Et.f=St,Et.N=0+fn,Et.Ab=ae,Et.Cd=nt,Et.ea=St,Et.W=0+fn+nt,Et.Db=ae,Et.Ed=nt,ne==12&&(Et.F=St,Et.J=0+fn+2*nt),Et.Tc=at,Et.lb=Ge)}if(ae=1,Ge=Ie.S,nt=Ie.width,at=Ie.height,Ge>=V0&&13>Ge)if(11>Ge)ne=Ie.f.RGBA,ae&=(At=Math.abs(ne.A))*(at-1)+nt<=ne.size,ae&=At>=nt*$g[Ge],ae&=ne.eb!=null;else{ne=Ie.f.kb,At=(nt+1)/2,fn=(at+1)/2,Et=Math.abs(ne.fa),St=Math.abs(ne.Ab);var On=Math.abs(ne.Db),jt=Math.abs(ne.lb),En=jt*(at-1)+nt;ae&=Et*(at-1)+nt<=ne.Fd,ae&=St*(fn-1)+At<=ne.Cd,ae=(ae&=On*(fn-1)+At<=ne.Ed)&Et>=nt&St>=At&On>=At,ae&=ne.y!=null,ae&=ne.f!=null,ae&=ne.ea!=null,Ge==12&&(ae&=jt>=nt,ae&=En<=ne.Tc,ae&=ne.F!=null)}else ae=0;ne=ae?0:2}}return ne!=0||ge!=null&&ge.fd&&(ne=$f(Ie)),ne}var wd=64,Zl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wl=24,Oc=32,dc=8,Rc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Qa("Predictor0","PredictorAdd0"),zt.Predictor0=function(){return 4278190080},zt.Predictor1=function(ne){return ne},zt.Predictor2=function(ne,ae,ge){return ae[ge+0]},zt.Predictor3=function(ne,ae,ge){return ae[ge+1]},zt.Predictor4=function(ne,ae,ge){return ae[ge-1]},zt.Predictor5=function(ne,ae,ge){return fo(fo(ne,ae[ge+1]),ae[ge+0])},zt.Predictor6=function(ne,ae,ge){return fo(ne,ae[ge-1])},zt.Predictor7=function(ne,ae,ge){return fo(ne,ae[ge+0])},zt.Predictor8=function(ne,ae,ge){return fo(ae[ge-1],ae[ge+0])},zt.Predictor9=function(ne,ae,ge){return fo(ae[ge+0],ae[ge+1])},zt.Predictor10=function(ne,ae,ge){return fo(fo(ne,ae[ge-1]),fo(ae[ge+0],ae[ge+1]))},zt.Predictor11=function(ne,ae,ge){var Ie=ae[ge+0];return 0>=ti(Ie>>24&255,ne>>24&255,(ae=ae[ge-1])>>24&255)+ti(Ie>>16&255,ne>>16&255,ae>>16&255)+ti(Ie>>8&255,ne>>8&255,ae>>8&255)+ti(255&Ie,255&ne,255&ae)?Ie:ne},zt.Predictor12=function(ne,ae,ge){var Ie=ae[ge+0];return(Gi((ne>>24&255)+(Ie>>24&255)-((ae=ae[ge-1])>>24&255))<<24|Gi((ne>>16&255)+(Ie>>16&255)-(ae>>16&255))<<16|Gi((ne>>8&255)+(Ie>>8&255)-(ae>>8&255))<<8|Gi((255&ne)+(255&Ie)-(255&ae)))>>>0},zt.Predictor13=function(ne,ae,ge){var Ie=ae[ge-1];return(xi((ne=fo(ne,ae[ge+0]))>>24&255,Ie>>24&255)<<24|xi(ne>>16&255,Ie>>16&255)<<16|xi(ne>>8&255,Ie>>8&255)<<8|xi(255&ne,255&Ie))>>>0};var eA=zt.PredictorAdd0;zt.PredictorAdd1=Fi,Qa("Predictor2","PredictorAdd2"),Qa("Predictor3","PredictorAdd3"),Qa("Predictor4","PredictorAdd4"),Qa("Predictor5","PredictorAdd5"),Qa("Predictor6","PredictorAdd6"),Qa("Predictor7","PredictorAdd7"),Qa("Predictor8","PredictorAdd8"),Qa("Predictor9","PredictorAdd9"),Qa("Predictor10","PredictorAdd10"),Qa("Predictor11","PredictorAdd11"),Qa("Predictor12","PredictorAdd12"),Qa("Predictor13","PredictorAdd13");var lf=zt.PredictorAdd2;no("ColorIndexInverseTransform","MapARGB","32b",function(ne){return ne>>8&255},function(ne){return ne}),no("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ne){return ne},function(ne){return ne>>8&255});var Ts,Z0=zt.ColorIndexInverseTransform,Qu=zt.MapARGB,zu=zt.VP8LColorIndexInverseTransformAlpha,tA=zt.MapAlpha,nA=zt.VP8LPredictorsAdd=[];nA.length=16,(zt.VP8LPredictors=[]).length=16,(zt.VP8LPredictorsAdd_C=[]).length=16,(zt.VP8LPredictors_C=[]).length=16;var rA,aA,Tc,kc,Qc,bd,zc,Bd,au,Uu,Xi,os,ks,_s,fc,oA,uf,W0,Fg,Dg,Pg,Sg,jg,Ng,iA,Mg,Lg,Og,Rg=te(511),Tg=te(2041),kg=te(225),Qg=te(767),zg=0,rh=Tg,G0=kg,Gl=Qg,ou=Rg,V0=0,X0=1,Ug=2,Y0=3,K0=4,ah=5,Hg=6,oh=7,ih=8,J0=9,sh=10,Zv=[2,3,7],Wv=[3,3,11],Zg=[280,256,256,256,40],Gv=[0,1,1,1,0],Vv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Yv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Kv=8,lh=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],uh=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],sA=null,Jv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],qv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Wg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],_v=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],$v=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],e1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],t1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Uc=[],yu=[],Ac=[],n1=1,Gg=2,Hc=[],iu=[];uc("UpsampleRgbLinePair",Mc,3),uc("UpsampleBgrLinePair",cl,3),uc("UpsampleRgbaLinePair",Fl,4),uc("UpsampleBgraLinePair",qf,4),uc("UpsampleArgbLinePair",Jf,4),uc("UpsampleRgba4444LinePair",yd,2),uc("UpsampleRgb565LinePair",Ed,2);var r1=zt.UpsampleRgbLinePair,a1=zt.UpsampleBgrLinePair,Vg=zt.UpsampleRgbaLinePair,Xg=zt.UpsampleBgraLinePair,Yg=zt.UpsampleArgbLinePair,Kg=zt.UpsampleRgba4444LinePair,o1=zt.UpsampleRgb565LinePair,q0=16,_0=1<Ie.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ie.ca.f.kb.F!=null&&Eu()),Ie.Pb&&0(Et=ge.Md)?0:100St;++St)12>(On=Ge.pb[St]).lc&&(On.ia=Et*A1[0>On.lc?0:On.lc]>>3),fn|=On.ia;fn&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ge.Id,100Ge.Ga&&(Ge.Ga=0)}(function(jt,En){if(jt==null)return 0;if(En==null)return Gs(jt,2,"NULL VP8Io parameter in VP8Decode().");if(!jt.cb&&!Tu(jt,En))return 0;if(y(jt.cb),En.ac==null||En.ac(En)){En.ob&&(jt.L=0);var Dn=$0[jt.L];if(jt.L==2?(jt.yb=0,jt.zb=0):(jt.yb=En.v-Dn>>4,jt.zb=En.j-Dn>>4,0>jt.yb&&(jt.yb=0),0>jt.zb&&(jt.zb=0)),jt.Va=En.o+15+Dn>>4,jt.Hb=En.va+15+Dn>>4,jt.Hb>jt.za&&(jt.Hb=jt.za),jt.Va>jt.Ub&&(jt.Va=jt.Ub),0Dn;++Dn){var Nn;if(jt.Qa.Cb){var sr=jt.Qa.Lb[Dn];jt.Qa.Fb||(sr+=rr.Tb)}else sr=rr.Tb;for(Nn=0;1>=Nn;++Nn){var mr=jt.gd[Dn][Nn],Qr=sr;if(rr.Pc&&(Qr+=rr.vd[0],Nn&&(Qr+=rr.od[0])),0<(Qr=0>Qr?0:63>2:Dr>>1)>9-rr.wb&&(Dr=9-rr.wb),1>Dr&&(Dr=1),mr.dd=Dr,mr.tc=2*Qr+Dr,mr.ld=40<=Qr?2:15<=Qr?1:0}else mr.tc=0;mr.La=Nn}}}Dn=0}else Gs(jt,6,"Frame setup failed"),Dn=jt.a;if(Dn=Dn==0){if(Dn){jt.$c=0,0jt.Vb){if(jt.Vb=0,jt.Ec=te(mr),jt.Fc=0,jt.Ec==null){Dn=Gs(jt,1,"no memory during frame initialization.");break t}jt.Vb=mr}mr=jt.Ec,Qr=jt.Fc,jt.Ac=mr,jt.Bc=Qr,Qr+=rr,jt.Gd=ie(qa,P0),jt.Hd=0,jt.rb=ie(Ta+1,Qf),jt.sb=1,jt.wa=fi?ie(fi,tu):null,jt.Y=0,jt.D.Nb=0,jt.D.wa=jt.wa,jt.D.Y=jt.Y,0=Dn;++Dn)Rg[255+Dn]=0>Dn?-Dn:Dn;for(Dn=-1020;1020>=Dn;++Dn)Tg[1020+Dn]=-128>Dn?-128:127=Dn;++Dn)kg[112+Dn]=-16>Dn?-16:15=Dn;++Dn)Qg[255+Dn]=0>Dn?0:255ji;++ji){var el,Ri=Dl[0+ji];for(el=0;4>el;++el){Ri=$v[As[dl+el]][Ri];for(var Ki=Wg[vr(ri,Ri[0])];0>3;for(Ki=0;256>Ki;Ki+=16)ji[Bl+Ki]=Ol}fl=1,Cu=dl[0]}var is=15&ri.la,tl=15&Pl.la;for(Ki=0;4>Ki;++Ki){var Vl=1&tl;for(Ol=Ji=0;4>Ol;++Ol)is=is>>1|(Vl=(zs=sA(As,Cu,zs=Vl+(1&is),xs.Sc,fl,ji,Bl))>fl)<<7,Ji=Ji<<2|(3>=4,tl=tl>>1|Vl<<7,el=(el<<8|Ji)>>>0}for(Cu=is,fl=tl>>4,Is=0;4>Is;Is+=2){for(Ji=0,is=ri.la>>4+Is,tl=Pl.la>>4+Is,Ki=0;2>Ki;++Ki){for(Vl=1&tl,Ol=0;2>Ol;++Ol)zs=Vl+(1&is),is=is>>1|(Vl=0<(zs=sA(As,dl[2],zs,xs.Qc,0,ji,Bl)))<<3,Ji=Ji<<2|(3>=2,tl=tl>>1|Vl<<5}Ri|=Ji<<4*Is,Cu|=is<<4<=Za.zb&&Za.M<=Za.Va,Za.Aa==0)t:{if(Ai.M=Za.M,Ai.uc=ri,ru(Za,Ai),Qs=1,Ai=(Ji=Za.D).Nb,ri=(Ri=$0[Za.L])*Za.R,As=Ri/2*Za.B,Ki=16*Ai*Za.R,Ol=8*Ai*Za.B,dl=Za.sa,Dl=Za.ta-ri+Ki,xs=Za.qa,ji=Za.ra-As+Ol,Bl=Za.Ha,Pl=Za.Ia-As+Ol,tl=(is=Ji.M)==0,el=is>=Za.Va-1,Za.Aa==2&&ru(Za,Ji),Ji.uc)for(Vl=(zs=Za).D.M,y(zs.D.uc),Ji=zs.yb;Jica.o&&(is=ca.o),ca.F=null,ca.J=null,Za.Fa!=null&&0>1),ca.W+=Za.B*(Ri>>1),ca.F!=null&&(ca.J+=ca.width*Ri)),Ji>1,ca.W+=ca.v>>1,ca.F!=null&&(ca.J+=ca.v),ca.ka=Ji-ca.j,ca.U=ca.va-ca.v,ca.T=is-Ji,Qs=ca.put(ca))}Ai+1!=Za.Ic||el||(x(Za.sa,Za.ta-ri,dl,Dl+16*Za.R,ri),x(Za.qa,Za.ra-As,xs,ji+8*Za.B,As),x(Za.Ha,Za.Ia-As,Bl,Pl+8*Za.B,As))}if(!Qs)return Gs(Di,6,"Output aborted.")}return 1}(jt,En)),En.bc!=null&&En.bc(En),Dn&=1}return Dn?(jt.cb=0,Dn):0})(ne,Ie)||(ae=ne.a)}}else ae=ne.a}ae==0&&at.Oa!=null&&at.Oa.fd&&(ae=$f(at.ba))}at=ae}nt=at!=0?null:11>nt?At.f.RGBA.eb:At.f.kb.y}else nt=null;return nt};var $g=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function de(zt,In){for(var st="",It=0;It<4;It++)st+=String.fromCharCode(zt[In++]);return st}function Ee(zt,In){return zt[In+0]|zt[In+1]<<8}function ze(zt,In){return(zt[In+0]|zt[In+1]<<8|zt[In+2]<<16)>>>0}function $e(zt,In){return(zt[In+0]|zt[In+1]<<8|zt[In+2]<<16|zt[In+3]<<24)>>>0}new ue;var ve=[0],Bt=[0],Ct=[],xt=new ue,ct=a,ln=function(zt,In){var st={},It=0,sn=!1,$t=0,zn=0;if(st.frames=[],!function(ot,Rt){for(var Jt=0;Jt<4;Jt++)if(ot[Rt+Jt]!="RIFF".charCodeAt(Jt))return!0;return!1}(zt,In)){for($e(zt,In+=4),In+=8;In>1&1}Xn!="ANMF"&&(In+=Mn)}return st}}(ct,0);ln.response=ct,ln.rgbaoutput=!0,ln.dataurl=!1;var _t=ln.header?ln.header:null,Qt=ln.frames?ln.frames:null;if(_t){_t.loop_counter=_t.loop_count,ve=[_t.canvas_height],Bt=[_t.canvas_width];for(var Rn=0;Rn=2?Ft[1]:ya[0],ya[2]=Ft.length>=3?Ft[2]:ya[0],ya[3]=Ft.length>=4?Ft[3]:ya[1]),de.margin=ya}});var Kn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Kn},set:function(Ft){Kn=Ft}});var _n=0;Object.defineProperty(this,"lastBreak",{get:function(){return _n},set:function(Ft){_n=Ft}});var vr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return vr},set:function(Ft){vr=Ft}}),Object.defineProperty(this,"ctx",{get:function(){return de},set:function(Ft){Ft instanceof Ee&&(de=Ft)}}),Object.defineProperty(this,"path",{get:function(){return de.path},set:function(Ft){de.path=Ft}});var zr=[];Object.defineProperty(this,"ctxStack",{get:function(){return zr},set:function(Ft){zr=Ft}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ft){var ya;ya=$e(Ft),this.ctx.fillStyle=ya.style,this.ctx.isFillTransparent=ya.a===0,this.ctx.fillOpacity=ya.a,this.pdf.setFillColor(ya.r,ya.g,ya.b,{a:ya.a}),this.pdf.setTextColor(ya.r,ya.g,ya.b,{a:ya.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ft){var ya=$e(Ft);this.ctx.strokeStyle=ya.style,this.ctx.isStrokeTransparent=ya.a===0,this.ctx.strokeOpacity=ya.a,ya.a===0?this.pdf.setDrawColor(255,255,255):(ya.a,this.pdf.setDrawColor(ya.r,ya.g,ya.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ft){["butt","round","square"].indexOf(Ft)!==-1&&(this.ctx.lineCap=Ft,this.pdf.setLineCap(Ft))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ft){isNaN(Ft)||(this.ctx.lineWidth=Ft,this.pdf.setLineWidth(Ft))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ft){["bevel","round","miter"].indexOf(Ft)!==-1&&(this.ctx.lineJoin=Ft,this.pdf.setLineJoin(Ft))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ft){isNaN(Ft)||(this.ctx.miterLimit=Ft,this.pdf.setMiterLimit(Ft))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ft){this.ctx.textBaseline=Ft}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ft){["right","end","center","left","start"].indexOf(Ft)!==-1&&(this.ctx.textAlign=Ft)}});var Ea=null,pa=null,io=null;Object.defineProperty(this,"fontFaces",{get:function(){return io},set:function(Ft){Ea=null,pa=null,io=Ft}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ft){var ya;if(this.ctx.font=Ft,(ya=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Ft))!==null){var gi=ya[1];ya[2];var Do=ya[3],Or=ya[4];ya[5];var Po=ya[6],Qa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Or)[2];Or=Math.floor(Qa==="px"?parseFloat(Or)*this.pdf.internal.scaleFactor:Qa==="em"?parseFloat(Or)*this.pdf.getFontSize():parseFloat(Or)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Or);var wo=function(no){var Rs,Li,Ei=[],yi=no.trim();if(yi==="")return km;if(yi in sg)return[sg[yi]];for(;yi!=="";){switch(Li=null,Rs=(yi=ug(yi)).charAt(0)){case'"':case"'":Li=wv(yi.substring(1),Rs);break;default:Li=bv(yi)}if(Li===null||(Ei.push(Li[0]),(yi=ug(Li[1]))!==""&&yi.charAt(0)!==","))return km;yi=yi.replace(/^,/,"")}return Ei}(Po);if(this.fontFaces){var fo=function(no,Rs){var Li=no.getFontList(),Ei=JSON.stringify(Li);if(Ea===null||pa!==Ei){var yi=function(vs){var ho=[];return Object.keys(vs).forEach(function(us){vs[us].forEach(function(To){var ni=null;switch(To){case"bold":ni={family:us,weight:"bold"};break;case"italic":ni={family:us,style:"italic"};break;case"bolditalic":ni={family:us,weight:"bold",style:"italic"};break;case"":case"normal":ni={family:us}}ni!==null&&(ni.ref={name:us,style:To},ho.push(ni))})}),ho}(Li);Ea=function(vs){for(var ho={},us=0;us=700||gi==="bold")&&(ti="bold"),gi==="italic"&&(ti+="italic"),ti.length===0&&(ti="normal");for(var Fi="",Ii={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ya=0;Ya=2*Math.PI&&(cn=0,Cn=2*Math.PI),this.path.push({type:"arc",x:ot,y:Rt,radius:Jt,startAngle:cn,endAngle:Cn,counterclockwise:Pn})},ze.prototype.arcTo=function(ot,Rt,Jt,cn,Cn){throw new Error("arcTo not implemented.")},ze.prototype.rect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ot,Rt),this.lineTo(ot+Jt,Rt),this.lineTo(ot+Jt,Rt+cn),this.lineTo(ot,Rt+cn),this.lineTo(ot,Rt),this.lineTo(ot+Jt,Rt),this.lineTo(ot,Rt)},ze.prototype.fillRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Cn={};this.lineCap!=="butt"&&(Cn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Cn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ot,Rt,Jt,cn),this.fill(),Cn.hasOwnProperty("lineCap")&&(this.lineCap=Cn.lineCap),Cn.hasOwnProperty("lineJoin")&&(this.lineJoin=Cn.lineJoin)}},ze.prototype.strokeRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Bt.call(this)||(this.beginPath(),this.rect(ot,Rt,Jt,cn),this.stroke())},ze.prototype.clearRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ot,Rt,Jt,cn))},ze.prototype.save=function(ot){ot=typeof ot!="boolean"||ot;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,Jt=0;Jt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};ze.prototype.drawImage=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n,vr){var zr=this.pdf.getImageProperties(ot),Ea=1,pa=1,io=1,Ft=1;cn!==void 0&&_n!==void 0&&(io=_n/cn,Ft=vr/Cn,Ea=zr.width/cn*_n/cn,pa=zr.height/Cn*vr/Cn),Pn===void 0&&(Pn=Rt,Kn=Jt,Rt=0,Jt=0),cn!==void 0&&_n===void 0&&(_n=cn,vr=Cn),cn===void 0&&_n===void 0&&(_n=zr.width,vr=zr.height);var ya=this.ctx.transform.decompose(),gi=Mn(ya.rotate.shx),Do=new ue,Or=(Do=(Do=(Do=Do.multiply(ya.translate)).multiply(ya.skew)).multiply(ya.scale)).applyToRectangle(new oe(Pn-Rt*io,Kn-Jt*Ft,cn*Ea,Cn*pa));if(this.autoPaging){for(var Po,Qa=xt.call(this,Or),wo=[],fo=0;foGi||tiOr||Qa0)){for(;vr>=0;vr--)if(Cn[vr-1].close!==!0&&Cn[vr-1].begin!==!0){Cn[vr-1].deltas.push(Jt),Cn[vr-1].abs.push(_n);break}}break;case"bct":Jt=[_n.x1-Pn[Kn-1].x,_n.y1-Pn[Kn-1].y,_n.x2-Pn[Kn-1].x,_n.y2-Pn[Kn-1].y,_n.x-Pn[Kn-1].x,_n.y-Pn[Kn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"qct":var zr=Pn[Kn-1].x+2/3*(_n.x1-Pn[Kn-1].x),Ea=Pn[Kn-1].y+2/3*(_n.y1-Pn[Kn-1].y),pa=_n.x+2/3*(_n.x1-_n.x),io=_n.y+2/3*(_n.y1-_n.y),Ft=_n.x,ya=_n.y;Jt=[zr-Pn[Kn-1].x,Ea-Pn[Kn-1].y,pa-Pn[Kn-1].x,io-Pn[Kn-1].y,Ft-Pn[Kn-1].x,ya-Pn[Kn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"arc":Cn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Cn[Cn.length-1].abs)&&Cn[Cn.length-1].abs.push(_n)}}cn=Rt?null:ot==="stroke"?"stroke":"fill";for(var gi=!1,Do=0;Do=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*ot.scale),Cn=this.lineWidth,this.lineWidth=Cn*ot.scale);var ii=this.autoPaging!=="text";if(ii||Ya.y+Ya.h<=fo){if(ii||Ya.y>=Qa&&Ya.x<=xi){var no=ii?ot.text:this.pdf.splitTextToSize(ot.text,ot.maxWidth||xi-Ya.x)[0],Rs=ln([JSON.parse(JSON.stringify(pa))],this.posX+this.margin[3],-Fi+Qa+this.ctx.prevPageLastElemOffset)[0],Li=ii&&(Po>Do||Po=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)}}else ot.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*ot.scale),Cn=this.lineWidth,this.lineWidth=Cn*ot.scale),this.pdf.text(ot.text,vr.x+this.posX,vr.y+this.posY,{angle:ot.angle,align:Rt,renderingMode:ot.renderingMode,maxWidth:ot.maxWidth}),ot.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)},sn=function(ot,Rt,Jt,cn){Jt=Jt||0,cn=cn||0,this.pdf.internal.out(E(ot+Jt)+" "+x(Rt+cn)+" l")},$t=function(ot,Rt,Jt){return this.pdf.lines(ot,Rt,Jt,null,null)},zn=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n){this.pdf.internal.out([y(z(Jt+ot)),y(te(cn+Rt)),y(z(Cn+ot)),y(te(Pn+Rt)),y(z(Kn+ot)),y(te(_n+Rt)),"c"].join(" "))},Xn=function(ot,Rt,Jt,cn){for(var Cn=2*Math.PI,Pn=Math.PI/2;Rt>Jt;)Rt-=Cn;var Kn=Math.abs(Jt-Rt);Kn1e-5;){var Ea=zr+vr*Math.min(Kn,Pn);_n.push(Jn.call(this,ot,zr,Ea)),Kn-=Math.abs(Ea-zr),zr=Ea}return _n},Jn=function(ot,Rt,Jt){var cn=(Jt-Rt)/2,Cn=ot*Math.cos(cn),Pn=ot*Math.sin(cn),Kn=Cn,_n=-Pn,vr=Kn*Kn+_n*_n,zr=vr+Kn*Cn+_n*Pn,Ea=4/3*(Math.sqrt(2*vr*zr)-zr)/(Kn*Pn-_n*Cn),pa=Kn-Ea*_n,io=_n+Ea*Kn,Ft=pa,ya=-io,gi=cn+Rt,Do=Math.cos(gi),Or=Math.sin(gi);return{x1:ot*Math.cos(Rt),y1:ot*Math.sin(Rt),x2:pa*Do-io*Or,y2:pa*Or+io*Do,x3:Ft*Do-ya*Or,y3:Ft*Or+ya*Do,x4:ot*Math.cos(Jt),y4:ot*Math.sin(Jt)}},Mn=function(ot){return 180*ot/Math.PI},tr=function(ot,Rt,Jt,cn,Cn,Pn){var Kn=ot+.5*(Jt-ot),_n=Rt+.5*(cn-Rt),vr=Cn+.5*(Jt-Cn),zr=Pn+.5*(cn-Pn),Ea=Math.min(ot,Cn,Kn,vr),pa=Math.max(ot,Cn,Kn,vr),io=Math.min(Rt,Pn,_n,zr),Ft=Math.max(Rt,Pn,_n,zr);return new oe(Ea,io,pa-Ea,Ft-io)},Yr=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n){var vr,zr,Ea,pa,io,Ft,ya,gi,Do,Or,Po,Qa,wo,fo,Gi=Jt-ot,xi=cn-Rt,ti=Cn-Jt,Fi=Pn-cn,Ii=Kn-Cn,Ya=_n-Pn;for(zr=0;zr<41;zr++)Do=(ya=(Ea=ot+(vr=zr/40)*Gi)+vr*((io=Jt+vr*ti)-Ea))+vr*(io+vr*(Cn+vr*Ii-io)-ya),Or=(gi=(pa=Rt+vr*xi)+vr*((Ft=cn+vr*Fi)-pa))+vr*(Ft+vr*(Pn+vr*Ya-Ft)-gi),zr==0?(Po=Do,Qa=Or,wo=Do,fo=Or):(Po=Math.min(Po,Do),Qa=Math.min(Qa,Or),wo=Math.max(wo,Do),fo=Math.max(fo,Or));return new oe(Math.round(Po),Math.round(Qa),Math.round(wo-Po),Math.round(fo-Qa))},wr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ot,Rt,Jt=(ot=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ot,lineDashOffset:Rt}));this.prevLineDash!==Jt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Jt)}}})(Xa.API),function(a){var y=function(ie){var oe,ue,de,Ee,ze,$e,ve,Bt,Ct,xt;for(/[^\x00-\xFF]/.test(ie),ue=[],de=0,Ee=(ie+=oe="\0\0\0\0".slice(ie.length%4||4)).length;Ee>de;de+=4)(ze=(ie.charCodeAt(de)<<24)+(ie.charCodeAt(de+1)<<16)+(ie.charCodeAt(de+2)<<8)+ie.charCodeAt(de+3))!==0?($e=(ze=((ze=((ze=((ze=(ze-(xt=ze%85))/85)-(Ct=ze%85))/85)-(Bt=ze%85))/85)-(ve=ze%85))/85)%85,ue.push($e+33,ve+33,Bt+33,Ct+33,xt+33)):ue.push(122);return function(ct,ln){for(var _t=ln;_t>0;_t--)ct.pop()}(ue,oe.length),String.fromCharCode.apply(String,ue)+"~>"},E=function(ie){var oe,ue,de,Ee,ze,$e=String,ve="length",Bt=255,Ct="charCodeAt",xt="slice",ct="replace";for(ie[xt](-2),ie=ie[xt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),de=[],Ee=0,ze=(ie+=oe="uuuuu"[xt](ie[ve]%5||5))[ve];ze>Ee;Ee+=5)ue=52200625*(ie[Ct](Ee)-33)+614125*(ie[Ct](Ee+1)-33)+7225*(ie[Ct](Ee+2)-33)+85*(ie[Ct](Ee+3)-33)+(ie[Ct](Ee+4)-33),de.push(Bt&ue>>24,Bt&ue>>16,Bt&ue>>8,Bt&ue);return function(ln,_t){for(var Qt=_t;Qt>0;Qt--)ln.pop()}(de,oe[ve]),$e.fromCharCode.apply($e,de)},x=function(ie){return ie.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(ie){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ie=ie.replace(/\s/g,"")).indexOf(">")!==-1&&(ie=ie.substr(0,ie.indexOf(">"))),ie.length%2&&(ie+="0"),oe.test(ie)===!1)return"";for(var ue="",de=0;deCt&&(Bt=xt,xt=Ct,Ct=Bt);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",Ct>xt&&(Bt=xt,xt=Ct,Ct=Bt)}return{width:xt,height:Ct,unit:ue,k:ze,orientation:oe}},a.html=function(oe,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.fontFaces=ue.fontFaces?ue.fontFaces.map(Tm):null;var de=new ie(ue);return ue.worker?de:de.from(oe).doCallback()}}(Xa.API),Xa.API.addJS=function(a){return dg=a,this.internal.events.subscribe("postPutResources",function(){b0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(b0+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),cg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+dg+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){b0!==void 0&&cg!==void 0&&this.internal.out("/Names <>")}),this},function(a){var y;a.events.push(["postPutResources",function(){var E=this,x=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=E.outline.render().split(/\r\n/),te=0;te> endobj")}var ve=E.internal.newObject();for(E.internal.write("<< /Names [ "),te=0;te>","endobj"),y=E.internal.newObject(),E.internal.write("<< /Dests "+ve+" 0 R"),E.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+y+" 0 R"))}]),a.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(x,z,te){var ie={title:z,options:te,children:[]};return x==null&&(x=this.root),x.children.push(ie),ie},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(x){x.id=E.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(x.children[0])),this.line("/Last "+this.makeRef(x.children[x.children.length-1]))),this.line("/Count "+this.count_r({count:0},x)),this.objEnd()},E.outline.renderItems=function(x){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,te=0;te0&&this.line("/Prev "+this.makeRef(x.children[te-1])),te0&&(this.line("/First "+this.makeRef(ie.children[0])),this.line("/Last "+this.makeRef(ie.children[ie.children.length-1])));var oe=this.count=this.count_r({count:0},ie);if(oe>0&&this.line("/Count "+oe),ie.options&&ie.options.pageNumber){var ue=E.internal.getPageInfo(ie.options.pageNumber);this.line("/Dest ["+ue.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var de=0;de>"}),"transparency"in It&&Array.isArray(It.transparency)&&It.transparency.length>0){for(var Jn="",Mn=0,tr=It.transparency.length;Mn>",Ct.content=te;var _t=Ct.objId+" 0 R";te="<>";else if(x.options.pageNumber)switch(te="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=1};var de=a.__arabicParser__.arabicLetterHasFinalForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=3};var Ee=a.__arabicParser__.arabicLetterHasMedialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length==4},ze=a.__arabicParser__.resolveLigatures=function(Ct){var xt=0,ct=E,ln="",_t=0;for(xt=0;xt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+y+" 0 R")})),this},function(a){var y=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(oe){E=oe}});var x=150;Object.defineProperty(this,"width",{get:function(){return x},set:function(oe){x=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=x+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(oe){z=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var te=[];Object.defineProperty(this,"childNodes",{get:function(){return te},set:function(oe){te=oe}});var ie={};Object.defineProperty(this,"style",{get:function(){return ie},set:function(oe){ie=oe}}),Object.defineProperty(this,"parentNode",{})};y.prototype.getContext=function(E,x){var z;if((E=E||"2d")!=="2d")return null;for(z in x)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=x[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},y.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new y,this.canvas.pdf=this}])}(Xa.API),function(a){var y={left:0,top:0,bottom:0,right:0},E=!1,x=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},y),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new te,this.internal.__cell__.pages=1},te=function(){var ue=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ue},set:function(Ct){ue=Ct}});var de=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return de},set:function(Ct){de=Ct}});var Ee=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ee},set:function(Ct){Ee=Ct}});var ze=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return ze},set:function(Ct){ze=Ct}});var $e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return $e},set:function(Ct){$e=Ct}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ct){ve=Ct}});var Bt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Bt},set:function(Ct){Bt=Ct}}),this};te.prototype.clone=function(){return new te(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},te.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(ue){return x.call(this),this.internal.__cell__.headerFunction=typeof ue=="function"?ue:void 0,this},a.getTextDimensions=function(ue,de){x.call(this);var Ee=(de=de||{}).fontSize||this.getFontSize(),ze=de.font||this.getFont(),$e=de.scaleFactor||this.internal.scaleFactor,ve=0,Bt=0,Ct=0,xt=this;if(!Array.isArray(ue)&&typeof ue!="string"){if(typeof ue!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ue=String(ue)}var ct=de.maxWidth;ct>0?typeof ue=="string"?ue=this.splitTextToSize(ue,ct):Object.prototype.toString.call(ue)==="[object Array]"&&(ue=ue.reduce(function(_t,Qt){return _t.concat(xt.splitTextToSize(Qt,ct))},[])):ue=Array.isArray(ue)?ue:[ue];for(var ln=0;lnthis.getPageHeight()?(this.cellAddPage(),ue.y=ze.top,ve&&$e&&(this.printHeaderRow(ue.lineNumber,!0),ue.y+=$e[0].height)):ue.y=de.y+de.height||ue.y),ue.text[0]!==void 0&&(this.rect(ue.x,ue.y,ue.width,ue.height,E===!0?"FD":void 0),ue.align==="right"?this.text(ue.text,ue.x+ue.width-Ee,ue.y+Ee,{align:"right",baseline:"top"}):ue.align==="center"?this.text(ue.text,ue.x+ue.width/2,ue.y+Ee,{align:"center",baseline:"top",maxWidth:ue.width-Ee-Ee}):this.text(ue.text,ue.x+Ee,ue.y+Ee,{align:"left",baseline:"top",maxWidth:ue.width-Ee-Ee})),this.internal.__cell__.lastCell=ue,this};a.table=function(ue,de,Ee,ze,$e){if(x.call(this),!Ee)throw new Error("No data for PDF table.");var ve,Bt,Ct,xt,ct=[],ln=[],_t=[],Qt={},Rn={},or=[],Yn=[],gn=($e=$e||{}).autoSize||!1,zt=$e.printHeaders!==!1,In=$e.css&&$e.css["font-size"]!==void 0?16*$e.css["font-size"]:$e.fontSize||12,st=$e.margins||Object.assign({width:this.getPageWidth()},y),It=typeof $e.padding=="number"?$e.padding:3,sn=$e.headerBackgroundColor||"#c8c8c8",$t=$e.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=zt,this.internal.__cell__.margins=st,this.internal.__cell__.table_font_size=In,this.internal.__cell__.padding=It,this.internal.__cell__.headerBackgroundColor=sn,this.internal.__cell__.headerTextColor=$t,this.setFontSize(In),ze==null)ln=ct=Object.keys(Ee[0]),_t=ct.map(function(){return"left"});else if(Array.isArray(ze)&&(0,b.Z)(ze[0])==="object")for(ct=ze.map(function(Yr){return Yr.name}),ln=ze.map(function(Yr){return Yr.prompt||Yr.name||""}),_t=ze.map(function(Yr){return Yr.align||"left"}),ve=0;ve0&&this.setTableHeaderRow($e),this.setFont(void 0,"normal"),E=!1}}(Xa.API);var rg={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},ag=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Rm=ng(ag),og=[100,200,300,400,500,600,700,800,900],yv=ng(og);function Tm(a){var y=a.family.replace(/"|'/g,"").toLowerCase(),E=function(te){return rg[te=te||"normal"]?te:"normal"}(a.style),x=function(te){return te?typeof te=="number"?te>=100&&te<=900&&te%100==0?te:400:/^\d00$/.test(te)?parseInt(te):te==="bold"?700:400:400}(a.weight),z=function(te){return typeof Rm[te=te||"normal"]=="number"?te:"normal"}(a.stretch);return{family:y,style:E,weight:x,stretch:z,src:a.src||[],ref:a.ref||{name:y,style:[z,E,x].join(" ")}}}function ig(a,y,E,x){var z;for(z=E;z>=0&&z=0&&z>>1)&255}return z}function Eg(a,y,E){var x=a.length,z=[];z[0]=4;for(var te=0;te>te&ie}function yg(a,y,E,x){var z=E*x,te=Math.floor(z/8),ie=16-(z-8*te+x),oe=(1<>8&255;de.setUint8(Ee,$e)}})(a,te,Cg(a,te)&~(oe<>7,ie=1<<1+(7&z);a[y++],a[y++];var oe=null,ue=null;te&&(oe=y,ue=ie,y+=3*ie);var de=!0,Ee=[],ze=0,$e=null,ve=0,Bt=null;for(this.width=E,this.height=x;de&&y=0))throw Error("Invalid block size");if(st===0)break;y+=st}break;case 249:if(a[y++]!==4||a[y+4]!==0)throw new Error("Invalid graphics extension block.");var Ct=a[y++];ze=a[y++]|a[y++]<<8,$e=a[y++],1&Ct||($e=null),ve=Ct>>2&7,y++;break;case 254:for(;;){if(!((st=a[y++])>=0))throw Error("Invalid block size");if(st===0)break;y+=st}break;default:throw new Error("Unknown graphic control label: 0x"+a[y-1].toString(16))}break;case 44:var xt=a[y++]|a[y++]<<8,ct=a[y++]|a[y++]<<8,ln=a[y++]|a[y++]<<8,_t=a[y++]|a[y++]<<8,Qt=a[y++],Rn=Qt>>6&1,or=1<<1+(7&Qt),Yn=oe,gn=ue,zt=!1;Qt>>7&&(zt=!0,Yn=y,gn=or,y+=3*or);var In=y;for(y++;;){var st;if(!((st=a[y++])>=0))throw Error("Invalid block size");if(st===0)break;y+=st}Ee.push({x:xt,y:ct,width:ln,height:_t,has_local_palette:zt,palette_offset:Yn,palette_size:gn,data_offset:In,data_length:y-In,transparent_index:$e,interlaced:!!Rn,delay:ze,disposal:ve});break;case 59:de=!1;break;default:throw new Error("Unknown gif block: 0x"+a[y-1].toString(16))}this.numFrames=function(){return Ee.length},this.loopCount=function(){return Bt},this.frameInfo=function(It){if(It<0||It>=Ee.length)throw new Error("Frame index out of range.");return Ee[It]},this.decodeAndBlitFrameBGRA=function(It,sn){var $t=this.frameInfo(It),zn=$t.width*$t.height,Xn=new Uint8Array(zn);wg(a,$t.data_offset,Xn,zn);var Jn=$t.palette_offset,Mn=$t.transparent_index;Mn===null&&(Mn=256);var tr=$t.width,Yr=E-tr,wr=tr,ot=4*($t.y*E+$t.x),Rt=4*(($t.y+$t.height)*E+$t.x),Jt=ot,cn=4*Yr;$t.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Pn=0,Kn=Xn.length;Pn=Rt&&(cn=4*Yr+4*E*(Cn-1),Jt=ot+(tr+Yr)*(Cn<<1),Cn>>=1)),_n===Mn)Jt+=4;else{var vr=a[Jn+3*_n],zr=a[Jn+3*_n+1],Ea=a[Jn+3*_n+2];sn[Jt++]=Ea,sn[Jt++]=zr,sn[Jt++]=vr,sn[Jt++]=255}--wr}},this.decodeAndBlitFrameRGBA=function(It,sn){var $t=this.frameInfo(It),zn=$t.width*$t.height,Xn=new Uint8Array(zn);wg(a,$t.data_offset,Xn,zn);var Jn=$t.palette_offset,Mn=$t.transparent_index;Mn===null&&(Mn=256);var tr=$t.width,Yr=E-tr,wr=tr,ot=4*($t.y*E+$t.x),Rt=4*(($t.y+$t.height)*E+$t.x),Jt=ot,cn=4*Yr;$t.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Pn=0,Kn=Xn.length;Pn=Rt&&(cn=4*Yr+4*E*(Cn-1),Jt=ot+(tr+Yr)*(Cn<<1),Cn>>=1)),_n===Mn)Jt+=4;else{var vr=a[Jn+3*_n],zr=a[Jn+3*_n+1],Ea=a[Jn+3*_n+2];sn[Jt++]=vr,sn[Jt++]=zr,sn[Jt++]=Ea,sn[Jt++]=255}--wr}}}function wg(a,y,E,x){for(var z=a[y++],te=1<>=ue,Ee-=ue,xt!==te){if(xt===ie)break;for(var ct=xtte;)_t=Bt[_t]>>8,++ln;var Qt=_t;if($e+ln+(ct!==xt?1:0)>x)return void as.log("Warning, gif stream longer than expected.");E[$e++]=Qt;var Rn=$e+=ln;for(ct!==xt&&(E[$e++]=Qt),_t=ct;ln--;)_t=Bt[_t],E[--Rn]=255&_t,_t>>=8;Ct!==null&&oe<4096&&(Bt[oe++]=Ct<<8|Qt,oe>=de+1&&ue<12&&(++ue,de=de<<1|1)),Ct=xt}else oe=ie+1,de=(1<<(ue=z+1))-1,Ct=null}return $e!==x&&as.log("Warning, gif stream shorter than expected."),E}function zm(a){var y,E,x,z,te,ie=Math.floor,oe=new Array(64),ue=new Array(64),de=new Array(64),Ee=new Array(64),ze=new Array(65535),$e=new Array(65535),ve=new Array(64),Bt=new Array(64),Ct=[],xt=0,ct=7,ln=new Array(64),_t=new Array(64),Qt=new Array(64),Rn=new Array(256),or=new Array(2048),Yn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],zt=[0,1,2,3,4,5,6,7,8,9,10,11],In=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],st=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],It=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],sn=[0,1,2,3,4,5,6,7,8,9,10,11],$t=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],zn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Xn(ot,Rt){for(var Jt=0,cn=0,Cn=new Array,Pn=1;Pn<=16;Pn++){for(var Kn=1;Kn<=ot[Pn];Kn++)Cn[Rt[cn]]=[],Cn[Rt[cn]][0]=Jt,Cn[Rt[cn]][1]=Pn,cn++,Jt++;Jt*=2}return Cn}function Jn(ot){for(var Rt=ot[0],Jt=ot[1]-1;Jt>=0;)Rt&1<>8&255),Mn(255&ot)}function Yr(ot,Rt,Jt,cn,Cn){for(var Pn,Kn=Cn[0],_n=Cn[240],vr=function(Or,Po){var Qa,wo,fo,Gi,xi,ti,Fi,Ii,Ya,ii,no=0;for(Ya=0;Ya<8;++Ya){Qa=Or[no],wo=Or[no+1],fo=Or[no+2],Gi=Or[no+3],xi=Or[no+4],ti=Or[no+5],Fi=Or[no+6];var Rs=Qa+(Ii=Or[no+7]),Li=Qa-Ii,Ei=wo+Fi,yi=wo-Fi,vs=fo+ti,ho=fo-ti,us=Gi+xi,To=Gi-xi,ni=Rs+us,Es=Rs-us,wi=Ei+vs,Mo=Ei-vs;Or[no]=ni+wi,Or[no+4]=ni-wi;var Vi=.707106781*(Mo+Es);Or[no+2]=Es+Vi,Or[no+6]=Es-Vi;var ld=.382683433*((ni=To+ho)-(Mo=yi+Li)),bl=.5411961*ni+ld,_u=1.306562965*Mo+ld,Mu=.707106781*(wi=ho+yi),Lo=Li+Mu,$u=Li-Mu;Or[no+5]=$u+bl,Or[no+3]=$u-bl,Or[no+1]=Lo+_u,Or[no+7]=Lo-_u,no+=8}for(no=0,Ya=0;Ya<8;++Ya){Qa=Or[no],wo=Or[no+8],fo=Or[no+16],Gi=Or[no+24],xi=Or[no+32],ti=Or[no+40],Fi=Or[no+48];var ec=Qa+(Ii=Or[no+56]),_l=Qa-Ii,$l=wo+Fi,Bs=wo-Fi,al=fo+ti,ll=fo-ti,ud=Gi+xi,jc=Gi-xi,hu=ec+ud,Lu=ec-ud,gu=$l+al,pu=$l-al;Or[no]=hu+gu,Or[no+32]=hu-gu;var eu=.707106781*(pu+Lu);Or[no+16]=Lu+eu,Or[no+48]=Lu-eu;var cd=.382683433*((hu=jc+ll)-(pu=Bs+_l)),Ou=.5411961*hu+cd,dd=1.306562965*pu+cd,qd=.707106781*(gu=ll+Bs),_d=_l+qd,$d=_l-qd;Or[no+40]=$d+Ou,Or[no+24]=$d-Ou,Or[no+8]=_d+dd,Or[no+56]=_d-dd,no++}for(Ya=0;Ya<64;++Ya)ii=Or[Ya]*Po[Ya],ve[Ya]=ii>0?ii+.5|0:ii-.5|0;return ve}(ot,Rt),zr=0;zr<64;++zr)Bt[Yn[zr]]=vr[zr];var Ea=Bt[0]-Jt;Jt=Bt[0],Ea==0?Jn(cn[0]):(Jn(cn[$e[Pn=32767+Ea]]),Jn(ze[Pn]));for(var pa=63;pa>0&&Bt[pa]==0;)pa--;if(pa==0)return Jn(Kn),Jt;for(var io,Ft=1;Ft<=pa;){for(var ya=Ft;Bt[Ft]==0&&Ft<=pa;)++Ft;var gi=Ft-ya;if(gi>=16){io=gi>>4;for(var Do=1;Do<=io;++Do)Jn(_n);gi&=15}Pn=32767+Bt[Ft],Jn(Cn[(gi<<4)+$e[Pn]]),Jn(ze[Pn]),Ft++}return pa!=63&&Jn(Kn),Jt}function wr(ot){ot=Math.min(Math.max(ot,1),100),te!=ot&&(function(Rt){for(var Jt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var Cn=ie((Jt[cn]*Rt+50)/100);Cn=Math.min(Math.max(Cn,1),255),oe[Yn[cn]]=Cn}for(var Pn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Kn=0;Kn<64;Kn++){var _n=ie((Pn[Kn]*Rt+50)/100);_n=Math.min(Math.max(_n,1),255),ue[Yn[Kn]]=_n}for(var vr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],zr=0,Ea=0;Ea<8;Ea++)for(var pa=0;pa<8;pa++)de[zr]=1/(oe[Yn[zr]]*vr[Ea]*vr[pa]*8),Ee[zr]=1/(ue[Yn[zr]]*vr[Ea]*vr[pa]*8),zr++}(ot<50?Math.floor(5e3/ot):Math.floor(200-2*ot)),te=ot)}this.encode=function(ot,Rt){Rt&&wr(Rt),Ct=new Array,xt=0,ct=7,tr(65496),tr(65504),tr(16),Mn(74),Mn(70),Mn(73),Mn(70),Mn(0),Mn(1),Mn(1),Mn(0),tr(1),tr(1),Mn(0),Mn(0),function(){tr(65499),tr(132),Mn(0);for(var wo=0;wo<64;wo++)Mn(oe[wo]);Mn(1);for(var fo=0;fo<64;fo++)Mn(ue[fo])}(),function(wo,fo){tr(65472),tr(17),Mn(8),tr(fo),tr(wo),Mn(3),Mn(1),Mn(17),Mn(0),Mn(2),Mn(17),Mn(1),Mn(3),Mn(17),Mn(1)}(ot.width,ot.height),function(){tr(65476),tr(418),Mn(0);for(var wo=0;wo<16;wo++)Mn(gn[wo+1]);for(var fo=0;fo<=11;fo++)Mn(zt[fo]);Mn(16);for(var Gi=0;Gi<16;Gi++)Mn(In[Gi+1]);for(var xi=0;xi<=161;xi++)Mn(st[xi]);Mn(1);for(var ti=0;ti<16;ti++)Mn(It[ti+1]);for(var Fi=0;Fi<=11;Fi++)Mn(sn[Fi]);Mn(17);for(var Ii=0;Ii<16;Ii++)Mn($t[Ii+1]);for(var Ya=0;Ya<=161;Ya++)Mn(zn[Ya])}(),tr(65498),tr(12),Mn(3),Mn(1),Mn(0),Mn(2),Mn(17),Mn(3),Mn(17),Mn(0),Mn(63),Mn(0);var Jt=0,cn=0,Cn=0;xt=0,ct=7,this.encode.displayName="_encode_";for(var Pn,Kn,_n,vr,zr,Ea,pa,io,Ft,ya=ot.data,gi=ot.width,Do=ot.height,Or=4*gi,Po=0;Po>3)*Or+(pa=4*(7&Ft)),Po+io>=Do&&(Ea-=Or*(Po+1+io-Do)),Pn+pa>=Or&&(Ea-=Pn+pa-Or+4),Kn=ya[Ea++],_n=ya[Ea++],vr=ya[Ea++],ln[Ft]=(or[Kn]+or[_n+256|0]+or[vr+512|0]>>16)-128,_t[Ft]=(or[Kn+768|0]+or[_n+1024|0]+or[vr+1280|0]>>16)-128,Qt[Ft]=(or[Kn+1280|0]+or[_n+1536|0]+or[vr+1792|0]>>16)-128;Jt=Yr(ln,de,Jt,y,x),cn=Yr(_t,Ee,cn,E,z),Cn=Yr(Qt,Ee,Cn,E,z),Pn+=32}Po+=8}if(ct>=0){var Qa=[];Qa[1]=ct+1,Qa[0]=(1<It;It++)if(zt[In+It]!=st.charCodeAt(It))return!0;return!1}function x(zt,In,st,It,sn){for(var $t=0;$t$t+1?[]:new In),!(zn.length<$t+1));Jn++)It(sn[Jn],$t+1,zn)}(st,0,zt),st}var ue=function(){var zt=this;function In(ne,ae){for(var ge=1<>>0;ne≥)ge>>>=1;return ge?(ne&ge-1)+ge:ne}function st(ne,ae,ge,Ie,Ge){y(!(Ie%ge));do ne[ae+(Ie-=ge)]=Ge;while(0=Ge),512>=Ge)var nt=te(512);else if((nt=te(Ge))==null)return 0;return function(at,At,Et,St,fn,On){var jt,En,Dn=At,rr=1<jt;++jt){if(Nn[jt]>1<(fi-=Nn[jt]))return 0;for(;0=jt;++jt,fn<<=1){if(Ta+=fi<<=1,0>(fi-=Nn[jt]))return 0;for(;0Qr&&!(0>=(mr-=Nn[Qr]));)++Qr,mr<<=1;rr+=Ha=1<<(mr=Qr-Et),at[At+(Qr=qa&Dr)].g=mr+Et,at[At+Qr].value=Dn-At-Qr}St.g=jt-Et,St.value=On[En++],st(at,Dn+(qa>>Et),fn,Ha,St),qa=In(qa,jt)}}return Ta!=2*sr[15]-1?0:rr}(ne,ae,ge,Ie,Ge,nt)}function sn(){this.value=this.g=0}function $t(){this.value=this.g=0}function zn(){this.G=ie(5,sn),this.H=te(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ie(wd,$t)}function Xn(ne,ae,ge,Ie){y(ne!=null),y(ae!=null),y(2147483648>Ie),ne.Ca=254,ne.I=0,ne.b=-8,ne.Ka=0,ne.oa=ae,ne.pa=ge,ne.Jd=ae,ne.Yc=ge+Ie,ne.Zc=4<=Ie?ge+Ie-4+1:ge,Kn(ne)}function Jn(ne,ae){for(var ge=0;0Ie),ne.Sb=Ie,ne.Ra=0,ne.u=0,ne.h=0,4>>=8,ne.Ra+=ne.oa[ne.pa+ne.bb]<>>0,++ne.bb,ne.u-=8;cn(ne)&&(ne.h=1,ne.u=0)}function wr(ne,ae){if(y(0<=ae),!ne.h&&ae<=Wl){var ge=Jt(ne)&Zl[ae];return ne.u+=ae,Yr(ne),ge}return ne.h=1,ne.u=0}function ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Jt(ne){return ne.Ra>>>(ne.u&Oc-1)>>>0}function cn(ne){return y(ne.bb<=ne.Sb),ne.h||ne.bb==ne.Sb&&ne.u>Oc}function Cn(ne,ae){ne.u=ae,ne.h=cn(ne)}function Pn(ne){ne.u>=dc&&(y(ne.u>=dc),Yr(ne))}function Kn(ne){y(ne!=null&&ne.oa!=null),ne.pa>>0,ne.b+=8):(y(ne!=null&&ne.oa!=null),ne.pane.b&&Kn(ne);var Ie=ne.b,Ge=ge*ae>>>8,nt=(ne.I>>>Ie>Ge)+0;for(nt?(ge-=Ge,ne.I-=Ge+1<>>0):ge=Ge+1,Ie=ge,Ge=0;256<=Ie;)Ge+=8,Ie>>=8;return Ie=7^Ge+Rc[Ie],ne.b-=Ie,ne.Ca=(ge<>24&255,ne[ae+1]=ge>>16&255,ne[ae+2]=ge>>8&255,ne[ae+3]=255&ge}function Ea(ne,ae){return ne[ae+0]|ne[ae+1]<<8}function pa(ne,ae){return Ea(ne,ae)|ne[ae+2]<<16}function io(ne,ae){return Ea(ne,ae)|Ea(ne,ae+2)<<16}function Ft(ne,ae){var ge=1<=Ge||0>=nt?0:(ge[0]=Ge,Ie[0]=nt,1)}function Or(ne,ae){return ne+(1<>>ae}function Po(ne,ae){return((4278255360&ne)+(4278255360&ae)>>>0&4278255360)+((16711935&ne)+(16711935&ae)>>>0&16711935)>>>0}function Qa(ne,ae){zt[ae]=function(ge,Ie,Ge,nt,at,At,Et){var St;for(St=0;St>>1)+(ne&ae)>>>0}function Gi(ne){return 0<=ne&&256>ne?ne:0>ne?0:255>1))}function ti(ne,ae,ge){return Math.abs(ae-ge)-Math.abs(ne-ge)}function Fi(ne,ae,ge,Ie,Ge,nt,at){for(Ie=nt[at-1],ge=0;ge>8&255,Et=16711935&(Et=(Et=16711935&at)+((At<<16)+At));Ie[Ge+nt]=(4278255360&at)+Et>>>0}}function Ya(ne,ae){ae.jd=255&ne,ae.hd=ne>>8&255,ae.ud=ne>>16&255}function ii(ne,ae,ge,Ie,Ge,nt){var at;for(at=0;at>>8,St=At,fn=255&(fn=(fn=At>>>16)+((ne.jd<<24>>24)*(Et<<24>>24)>>>5));St=255&(St=(St+=(ne.hd<<24>>24)*(Et<<24>>24)>>>5)+((ne.ud<<24>>24)*(fn<<24>>24)>>>5)),Ge[nt+at]=(4278255360&At)+(fn<<16)+St}}function no(ne,ae,ge,Ie,Ge){zt[ae]=function(nt,at,At,Et,St,fn,On,jt,En){for(Et=On;Et>nt.b,En=nt.Ea,Dn=nt.K[0],rr=nt.w;if(8>jt)for(nt=(1<>=jt}else zt["VP8LMapColor"+ge](Et,St,Dn,rr,fn,On,at,At,En)}}function Rs(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&255,Ie[Ge++]=nt>>8&255,Ie[Ge++]=255&nt}}function Li(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&255,Ie[Ge++]=nt>>8&255,Ie[Ge++]=255&nt,Ie[Ge++]=nt>>24&255}}function Ei(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&240|at>>12&15,at=240&at|at>>28&15;Ie[Ge++]=nt,Ie[Ge++]=at}}function yi(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>16&248|at>>13&7,at=at>>5&224|at>>3&31;Ie[Ge++]=nt,Ie[Ge++]=at}}function vs(ne,ae,ge,Ie,Ge){for(ge=ae+ge;ae>8&255,Ie[Ge++]=nt>>16&255}}function ho(ne,ae,ge,Ie,Ge,nt){if(nt==0)for(ge=ae+ge;ae>24|nt[1]>>8&65280|nt[2]<<8&16711680|nt[3]<<24)>>>0),Ge+=32;else x(Ie,Ge,ne,ae,ge)}function us(ne,ae){zt[ae][0]=zt[ne+"0"],zt[ae][1]=zt[ne+"1"],zt[ae][2]=zt[ne+"2"],zt[ae][3]=zt[ne+"3"],zt[ae][4]=zt[ne+"4"],zt[ae][5]=zt[ne+"5"],zt[ae][6]=zt[ne+"6"],zt[ae][7]=zt[ne+"7"],zt[ae][8]=zt[ne+"8"],zt[ae][9]=zt[ne+"9"],zt[ae][10]=zt[ne+"10"],zt[ae][11]=zt[ne+"11"],zt[ae][12]=zt[ne+"12"],zt[ae][13]=zt[ne+"13"],zt[ae][14]=zt[ne+"0"],zt[ae][15]=zt[ne+"0"]}function To(ne){return ne==oh||ne==ih||ne==J0||ne==sh}function ni(){this.eb=[],this.size=this.A=this.fb=0}function Es(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function wi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ni,this.f.kb=new Es,this.sd=null}function Mo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Vi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ld(ne){return alert("todo:WebPSamplerProcessPlane"),ne.T}function bl(ne,ae){var ge=ne.T,Ie=ae.ba.f.RGBA,Ge=Ie.eb,nt=Ie.fb+ne.ka*Ie.A,at=iu[ae.ba.S],At=ne.y,Et=ne.O,St=ne.f,fn=ne.N,On=ne.ea,jt=ne.W,En=ae.cc,Dn=ae.dc,rr=ae.Mc,Nn=ae.Nc,sr=ne.ka,mr=ne.ka+ne.T,Qr=ne.U,Dr=Qr+1>>1;for(sr==0?at(At,Et,null,null,St,fn,On,jt,St,fn,On,jt,Ge,nt,null,null,Qr):(at(ae.ec,ae.fc,At,Et,En,Dn,rr,Nn,St,fn,On,jt,Ge,nt-Ie.A,Ge,nt,Qr),++ge);sr+2ge,Ge=ge==X0||ge==Y0||ge==K0||ge==ah||ge==12||To(ge);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!_f(ae.Oa,ne,Ge?11:12))return 0;if(Ge&&To(ge)&&Kf(),ne.da)alert("todo:use_scaling");else{if(Ie){if(ae.Ib=ld,ne.Kb){if(ge=ne.U+1>>1,ae.memory=te(ne.U+2*ge),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+ne.U,ae.Mc=ae.cc,ae.Nc=ae.dc+ge,ae.Ib=bl,Kf()}}else alert("todo:EmitYUV");Ge&&(ae.Jb=_u,Ie&&Eu())}if(Ie&&!qg){for(ne=0;256>ne;++ne)s1[ne]=89858*(ne-128)+_0>>q0,c1[ne]=-22014*(ne-128)+_0,u1[ne]=-45773*(ne-128),l1[ne]=113618*(ne-128)+_0>>q0;for(ne=lA;ne>q0,d1[ne-lA]=Ru(ae,255),f1[ne-lA]=Ru(ae+8>>4,15);qg=1}return 1}function Lo(ne){var ae=ne.ma,ge=ne.U,Ie=ne.T;return y(!(1&ne.ka)),0>=ge||0>=Ie?0:(ge=ae.Ib(ne,ae),ae.Jb!=null&&ae.Jb(ne,ae,ge),ae.Dc+=ge,1)}function $u(ne){ne.ma.memory=null}function ec(ne,ae,ge,Ie){return wr(ne,8)!=47?0:(ae[0]=wr(ne,14)+1,ge[0]=wr(ne,14)+1,Ie[0]=wr(ne,1),wr(ne,3)!=0?0:!ne.h)}function _l(ne,ae){if(4>ne)return ne+1;var ge=ne-2>>1;return(2+(1&ne)<>4)*ne+(8-(15&ge)))?ge:1;var ge}function Bs(ne,ae,ge){var Ie=Jt(ge),Ge=ne[ae+=255&Ie].g-8;return 0>>0,y(8>=ge.g),ne.g}function ll(ne,ae,ge){var Ie=ne.xc;return y((ae=Ie==0?0:ne.vc[ne.md*(ge>>Ie)+(ae>>Ie)])>Ha.b)*Ta;rrQr&&(Za=Qr),(0,nA[Di[$s++]>>8&15])(jt,En+ +Ai,sr,mr+Ai-Qr,Za-Ai,sr,mr+Ai),Ai=Za}En+=Qr,mr+=Qr,++rr&qa||(Ha+=Ta)}On!=St.nc&&x(Et,At-Dn,Et,At+(On-fn-1)*Dn,Dn);break;case 1:for(Dn=jt,Nn=En,Qr=(jt=St.Ea)-(mr=jt&~(sr=(En=1<>St.b)*rr;fn=Ge),0nt.o&&(Ie=nt.o),ge=Ie?ge=0:(Ge[0]+=4*nt.v,nt.ka=ge-nt.j,nt.U=nt.va-nt.v,nt.T=Ie-ge,ge=1),ge){if(At=At[0],11>(ge=ne.ca).S){var fn=ge.f.RGBA,On=(Ie=ge.S,Ge=nt.U,nt=nt.T,St=fn.eb,fn.A),jt=nt;for(fn=fn.fb+ne.Ma*fn.A;0Ie){var Ge=ne.l.width,nt=ge.ca,at=ge.tb+Ge*Ie,At=ne.V,Et=ne.Ba+ne.c*Ie,St=ne.gc;y(ne.ab==1),y(St[0].hc==3),zu(St[0],Ie,ae,At,Et,nt,at),Lu(ge,Ie,ae,nt,at,Ge)}ne.C=ne.Ma=ae}function pu(ne,ae,ge,Ie,Ge,nt,at){var At=ne.$/Ie,Et=ne.$%Ie,St=ne.m,fn=ne.s,On=ge+ne.$,jt=On;Ge=ge+Ie*Ge;var En=ge+Ie*nt,Dn=280+fn.ua,rr=ne.Pb?At:16777216,Nn=0=rr){var qa=On-ge;y((rr=ne).Pb),rr.wd=rr.m,rr.xd=qa,0fi.g?(Cn(Dr,Dr.u+fi.g),qa[Ta]=fi.value,Dr=0):(Cn(Dr,Dr.u+fi.g-256),y(256<=fi.value),Dr=fi.value),Dr==0&&(Qr=!0)}else Dr=Bs(mr.G[0],mr.H[0],St);if(St.h)break;if(Qr||256>Dr){if(!Qr)if(mr.nd)ae[On]=(mr.qb|Dr<<8)>>>0;else{if(Pn(St),Qr=Bs(mr.G[1],mr.H[1],St),Pn(St),qa=Bs(mr.G[2],mr.H[2],St),Ta=Bs(mr.G[3],mr.H[3],St),St.h)break;ae[On]=(Ta<<24|Qr<<16|Dr<<8|qa)>>>0}if(Qr=!1,++On,++Et>=Ie&&(Et=0,++At,at!=null&&At<=nt&&!(At%16)&&at(ne,At),Nn!=null))for(;jt>>Nn.Mb]=Dr}else if(280>Dr){if(Dr=_l(Dr-256,St),qa=Bs(mr.G[4],mr.H[4],St),Pn(St),qa=$l(Ie,qa=_l(qa,St)),St.h)break;if(On-ge=Ie;)Et-=Ie,++At,at!=null&&At<=nt&&!(At%16)&&at(ne,At);if(y(On<=Ge),Et&sr&&(mr=ll(fn,Et,At)),Nn!=null)for(;jt>>Nn.Mb]=Dr}else{if(!(Dr>>Nn.Mb]=Dr;Dr=On,y(!(Qr>>>(qa=Nn).Xa)),ae[Dr]=qa.X[Qr],Qr=!0}Qr||y(St.h==cn(St))}if(ne.Pb&&St.h&&Onnt?nt:At),ne.a=0,ne.$=On-ge}return 1}return ne.a=3,0}function eu(ne){y(ne!=null),ne.vc=null,ne.yc=null,ne.Ya=null;var ae=ne.Wa;ae!=null&&(ae.X=null),ne.vb=null,y(ne!=null)}function cd(){var ne=new Go;return ne==null?null:(ne.a=0,ne.xb=Gg,us("Predictor","VP8LPredictors"),us("Predictor","VP8LPredictors_C"),us("PredictorAdd","VP8LPredictorsAdd"),us("PredictorAdd","VP8LPredictorsAdd_C"),Ts=Ii,rA=ii,aA=Rs,Tc=Li,kc=Ei,Qc=yi,bd=vs,zt.VP8LMapColor32b=Qu,zt.VP8LMapColor8b=tA,ne)}function Ou(ne,ae,ge,Ie,Ge){var nt=1,at=[ne],At=[ae],Et=Ie.m,St=Ie.s,fn=null,On=0;e:for(;;){if(ge)for(;nt&&wr(Et,1);){var jt=at,En=At,Dn=Ie,rr=1,Nn=Dn.m,sr=Dn.gc[Dn.ab],mr=wr(Nn,2);if(Dn.Oc&1<=Dn.ab),mr){case 0:case 1:sr.b=wr(Nn,3)+2,rr=Ou(Or(sr.Ea,sr.b),Or(sr.nc,sr.b),0,Dn,sr.K),sr.K=sr.K[0];break;case 3:var Qr,Dr=wr(Nn,8)+1,qa=16>Ha.b),$s=te(Di);if($s==null)Qr=0;else{var Ai=Ha.K[0],Za=Ha.w;for($s[0]=Ha.K[0][0],Ta=1;Ta<1*fi;++Ta)$s[Ta]=Po(Ai[Za+Ta],$s[Ta-1]);for(;Ta<4*Di;++Ta)$s[Ta]=0;Ha.K[0]=null,Ha.K[0]=$s,Qr=1}}rr=Qr;break;case 2:break;default:y(0)}nt=rr}}if(at=at[0],At=At[0],nt&&wr(Et,1)&&!(nt=1<=(On=wr(Et,4))&&11>=On)){Ie.a=3;break e}var ca;if(ca=nt)t:{var Qs,ri,ji,As=Ie,dl=at,Dl=At,xs=On,Bl=ge,Pl=As.m,el=As.s,Ri=[null],Ki=1,Is=0,Ji=Yv[xs];n:for(;;){if(Bl&&wr(Pl,1)){var fl=wr(Pl,3)+2,Cu=Or(dl,fl),zs=Or(Dl,fl),Ol=Cu*zs;if(!Ou(Cu,zs,0,As,Ri))break n;for(Ri=Ri[0],el.xc=fl,Qs=0;Qs>8&65535;Ri[Qs]=is,is>=Ki&&(Ki=is+1)}}if(Pl.h)break n;for(ri=0;5>ri;++ri){var tl=Zg[ri];!ri&&0=Sl),Yl=Xl;var Rl=te(Is);if(Yl==null||Rl==null||Vl==null){As.a=1;break n}var Kl=Vl;for(Qs=ji=0;Qsri;++ri){tl=Zg[ri],Jl[ri]=Kl,wu[ri]=ji,!ri&&0am)break r}else Ah=am;for(cA=0;cAcf)ap[cA++]=cf,cf!=0&&(op=cf);else{var w1=cf==16,lp=cf-16,b1=Wv[lp],up=wr(Wc,Zv[lp])+b1;if(cA+up>am)break r;for(var B1=w1?op:0;0=ri){var dA,hh=Rl[0];for(dA=1;dAhh&&(hh=Rl[dA]);Al+=hh}}if(ds.nd=mc,ds.Qb=0,mc&&(ds.qb=(Jl[3][wu[3]+0].value<<24|Jl[1][wu[1]+0].value<<16|Jl[2][wu[2]+0].value)>>>0,xd==0&&256>Jl[0][wu[0]+0].value&&(ds.Qb=1,ds.qb+=Jl[0][wu[0]+0].value<<8)),ds.jc=!ds.Qb&&6>Al,ds.jc){var om,hc=ds;for(om=0;om>=al(im,8,Vc),Gc>>=al(hc.G[1][hc.H[1]+Gc],16,Vc),Gc>>=al(hc.G[2][hc.H[2]+Gc],0,Vc),al(hc.G[3][hc.H[3]+Gc],24,Vc))}}}el.vc=Ri,el.Wb=Ki,el.Ya=Yl,el.yc=Vl,ca=1;break t}ca=0}if(!(nt=ca)){Ie.a=3;break e}if(0Ie+1?[]:0),!(Ge.lengthne?0:ne>ae?ae:ne}function ef(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Hm(){var ne=new S0;return ne!=null&&(ne.a=0,ne.sc="OK",ne.cb=0,ne.Xb=0,sA||(sA=tf)),ne}function Gs(ne,ae,ge){return ne.a==0&&(ne.a=ae,ne.sc=ge,ne.cb=0),0}function j0(ne,ae,ge){return 3<=ge&&ne[ae+0]==157&&ne[ae+1]==1&&ne[ae+2]==42}function Tu(ne,ae){if(ne==null)return 0;if(ne.a=0,ne.sc="OK",ae==null)return Gs(ne,2,"null VP8Io passed to VP8GetHeaders()");var ge=ae.data,Ie=ae.w,Ge=ae.ha;if(4>Ge)return Gs(ne,7,"Truncated header.");var nt=ge[Ie+0]|ge[Ie+1]<<8|ge[Ie+2]<<16,at=ne.Od;if(at.Rb=!(1&nt),at.td=nt>>1&7,at.yd=nt>>4&1,at.ub=nt>>5,3Ge)return Gs(ne,7,"cannot parse picture header");if(!j0(ge,Ie,Ge))return Gs(ne,3,"Bad code word");At.c=16383&(ge[Ie+4]<<8|ge[Ie+3]),At.Td=ge[Ie+4]>>6,At.i=16383&(ge[Ie+6]<<8|ge[Ie+5]),At.Ud=ge[Ie+6]>>6,Ie+=7,Ge-=7,ne.za=At.c+15>>4,ne.Ub=At.i+15>>4,ae.width=At.c,ae.height=At.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,z((nt=ne.Pa).jb,0,255,nt.jb.length),y((nt=ne.Qa)!=null),nt.Cb=0,nt.Bb=0,nt.Fb=1,z(nt.Zb,0,0,nt.Zb.length),z(nt.Lb,0,0,nt.Lb)}if(at.ub>Ge)return Gs(ne,7,"bad partition length");Xn(nt=ne.m,ge,Ie,at.ub),Ie+=at.ub,Ge-=at.ub,at.Rb&&(At.Ld=_n(nt),At.Kd=_n(nt)),At=ne.Qa;var Et,St=ne.Pa;if(y(nt!=null),y(At!=null),At.Cb=_n(nt),At.Cb){if(At.Bb=_n(nt),_n(nt)){for(At.Fb=_n(nt),Et=0;4>Et;++Et)At.Zb[Et]=_n(nt)?Mn(nt,7):0;for(Et=0;4>Et;++Et)At.Lb[Et]=_n(nt)?Mn(nt,6):0}if(At.Bb)for(Et=0;3>Et;++Et)St.jb[Et]=_n(nt)?Jn(nt,8):255}else At.Bb=0;if(nt.Ka)return Gs(ne,3,"cannot parse segment header");if((At=ne.ed).zd=_n(nt),At.Tb=Jn(nt,6),At.wb=Jn(nt,3),At.Pc=_n(nt),At.Pc&&_n(nt)){for(St=0;4>St;++St)_n(nt)&&(At.vd[St]=Mn(nt,6));for(St=0;4>St;++St)_n(nt)&&(At.od[St]=Mn(nt,6))}if(ne.L=At.Tb==0?0:At.zd?1:2,nt.Ka)return Gs(ne,3,"cannot parse filter header");var fn=Ge;if(Ge=Et=Ie,Ie=Et+fn,At=fn,ne.Xb=(1<At&&(On=At),Xn(ne.Jc[+fn],ge,Et,On),Et+=On,At-=On,Ge+=3}Xn(ne.Jc[+St],ge,Et,At),ge=EtOn;++On){if(fn.Cb){var jt=fn.Zb[On];fn.Fb||(jt+=ge)}else{if(0>16,8>En.Eb[1]&&(En.Eb[1]=8),En.Qc[0]=lh[Ru(jt+St,117)],En.Qc[1]=uh[Ru(jt+Et,127)],En.lc=jt+Et}if(!at.Rb)return Gs(ne,4,"Not a key frame.");for(_n(nt),at=ne.Pa,ge=0;4>ge;++ge){for(Ge=0;8>Ge;++Ge)for(Ie=0;3>Ie;++Ie)for(At=0;11>At;++At)St=vr(nt,e1[ge][Ge][Ie][At])?Jn(nt,8):_v[ge][Ge][Ie][At],at.Wc[ge][Ge].Yb[Ie][At]=St;for(Ge=0;17>Ge;++Ge)at.Xc[ge][Ge]=at.Wc[ge][t1[Ge]]}return ne.kc=_n(nt),ne.kc&&(ne.Bd=Jn(nt,8)),ne.cb=1}function tf(ne,ae,ge,Ie,Ge,nt,at){var At=ae[Ge].Yb[ge];for(ge=0;16>Ge;++Ge){if(!vr(ne,At[ge+0]))return Ge;for(;!vr(ne,At[ge+1]);)if(At=ae[++Ge].Yb[0],ge=0,Ge==16)return 16;var Et=ae[Ge+1].Yb;if(vr(ne,At[ge+2])){var St=ne,fn=0;if(vr(St,(jt=At)[(On=ge)+3]))if(vr(St,jt[On+6])){for(At=0,On=2*(fn=vr(St,jt[On+8]))+(jt=vr(St,jt[On+9+fn])),fn=0,jt=Jv[On];jt[At];++At)fn+=fn+vr(St,jt[At]);fn+=3+(8<(St=ne).b&&Kn(St);var On,jt=St.b,En=(On=St.Ca>>1)-(St.I>>jt)>>31;--St.b,St.Ca+=En,St.Ca|=1,St.I-=(On+1&En)<>3),ne[ae+ge+32*Ie]=-256&Ge?0>Ge?0:255:Ge}function Js(ne,ae,ge,Ie,Ge,nt){nu(ne,ae,0,ge,Ie+Ge),nu(ne,ae,1,ge,Ie+nt),nu(ne,ae,2,ge,Ie-nt),nu(ne,ae,3,ge,Ie-Ge)}function tc(ne){return(20091*ne>>16)+ne}function M0(ne,ae,ge,Ie){var Ge,nt=0,at=te(16);for(Ge=0;4>Ge;++Ge){var At=ne[ae+0]+ne[ae+8],Et=ne[ae+0]-ne[ae+8],St=(35468*ne[ae+4]>>16)-tc(ne[ae+12]),fn=tc(ne[ae+4])+(35468*ne[ae+12]>>16);at[nt+0]=At+fn,at[nt+1]=Et+St,at[nt+2]=Et-St,at[nt+3]=At-fn,nt+=4,ae++}for(Ge=nt=0;4>Ge;++Ge)At=(ne=at[nt+0]+4)+at[nt+8],Et=ne-at[nt+8],St=(35468*at[nt+4]>>16)-tc(at[nt+12]),nu(ge,Ie,0,0,At+(fn=tc(at[nt+4])+(35468*at[nt+12]>>16))),nu(ge,Ie,1,0,Et+St),nu(ge,Ie,2,0,Et-St),nu(ge,Ie,3,0,At-fn),nt++,Ie+=32}function Zm(ne,ae,ge,Ie){var Ge=ne[ae+0]+4,nt=35468*ne[ae+4]>>16,at=tc(ne[ae+4]),At=35468*ne[ae+1]>>16;Js(ge,Ie,0,Ge+at,ne=tc(ne[ae+1]),At),Js(ge,Ie,1,Ge+nt,ne,At),Js(ge,Ie,2,Ge-nt,ne,At),Js(ge,Ie,3,Ge-at,ne,At)}function Wm(ne,ae,ge,Ie,Ge){M0(ne,ae,ge,Ie),Ge&&M0(ne,ae+16,ge,Ie+4)}function ku(ne,ae,ge,Ie){Bd(ne,ae+0,ge,Ie,1),Bd(ne,ae+32,ge,Ie+128,1)}function L0(ne,ae,ge,Ie){var Ge;for(ne=ne[ae+0]+4,Ge=0;4>Ge;++Ge)for(ae=0;4>ae;++ae)nu(ge,Ie,ae,Ge,ne)}function O0(ne,ae,ge,Ie){ne[ae+0]&&Xi(ne,ae+0,ge,Ie),ne[ae+16]&&Xi(ne,ae+16,ge,Ie+4),ne[ae+32]&&Xi(ne,ae+32,ge,Ie+128),ne[ae+48]&&Xi(ne,ae+48,ge,Ie+128+4)}function nf(ne,ae,ge,Ie){var Ge,nt=te(16);for(Ge=0;4>Ge;++Ge){var at=ne[ae+0+Ge]+ne[ae+12+Ge],At=ne[ae+4+Ge]+ne[ae+8+Ge],Et=ne[ae+4+Ge]-ne[ae+8+Ge],St=ne[ae+0+Ge]-ne[ae+12+Ge];nt[0+Ge]=at+At,nt[8+Ge]=at-At,nt[4+Ge]=St+Et,nt[12+Ge]=St-Et}for(Ge=0;4>Ge;++Ge)at=(ne=nt[0+4*Ge]+3)+nt[3+4*Ge],At=nt[1+4*Ge]+nt[2+4*Ge],Et=nt[1+4*Ge]-nt[2+4*Ge],St=ne-nt[3+4*Ge],ge[Ie+0]=at+At>>3,ge[Ie+16]=St+Et>>3,ge[Ie+32]=at-At>>3,ge[Ie+48]=St-Et>>3,Ie+=64}function fd(ne,ae,ge){var Ie,Ge=ae-32,nt=Gl,at=255-ne[Ge-1];for(Ie=0;Iege;++ge)x(ne,ae+32*ge,ne,ae-32,16)}function R0(ne,ae){var ge;for(ge=16;0Ie;++Ie)z(ae,ge+32*Ie,ne,16)}function Ym(ne,ae){var ge,Ie=16;for(ge=0;16>ge;++ge)Ie+=ne[ae-1+32*ge]+ne[ae+ge-32];vu(Ie>>5,ne,ae)}function Ad(ne,ae){var ge,Ie=8;for(ge=0;16>ge;++ge)Ie+=ne[ae-1+32*ge];vu(Ie>>4,ne,ae)}function Hf(ne,ae){var ge,Ie=8;for(ge=0;16>ge;++ge)Ie+=ne[ae+ge-32];vu(Ie>>4,ne,ae)}function Km(ne,ae){vu(128,ne,ae)}function Ko(ne,ae,ge){return ne+2*ae+ge+2>>2}function Jm(ne,ae){var ge,Ie=ae-32;for(Ie=new Uint8Array([Ko(ne[Ie-1],ne[Ie+0],ne[Ie+1]),Ko(ne[Ie+0],ne[Ie+1],ne[Ie+2]),Ko(ne[Ie+1],ne[Ie+2],ne[Ie+3]),Ko(ne[Ie+2],ne[Ie+3],ne[Ie+4])]),ge=0;4>ge;++ge)x(ne,ae+32*ge,Ie,0,Ie.length)}function qm(ne,ae){var ge=ne[ae-1],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96];zr(ne,ae+0,16843009*Ko(ne[ae-1-32],ge,Ie)),zr(ne,ae+32,16843009*Ko(ge,Ie,Ge)),zr(ne,ae+64,16843009*Ko(Ie,Ge,nt)),zr(ne,ae+96,16843009*Ko(Ge,nt,nt))}function _m(ne,ae){var ge,Ie=4;for(ge=0;4>ge;++ge)Ie+=ne[ae+ge-32]+ne[ae-1+32*ge];for(Ie>>=3,ge=0;4>ge;++ge)z(ne,ae+32*ge,Ie,4)}function nc(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+96]=Ko(Ie,Ge,ne[ae-1+96]),ne[ae+1+96]=ne[ae+0+64]=Ko(ge,Ie,Ge),ne[ae+2+96]=ne[ae+1+64]=ne[ae+0+32]=Ko(nt,ge,Ie),ne[ae+3+96]=ne[ae+2+64]=ne[ae+1+32]=ne[ae+0+0]=Ko(at,nt,ge),ne[ae+3+64]=ne[ae+2+32]=ne[ae+1+0]=Ko(At,at,nt),ne[ae+3+32]=ne[ae+2+0]=Ko(Et,At,at),ne[ae+3+0]=Ko(St,Et,At)}function rc(ne,ae){var ge=ne[ae+1-32],Ie=ne[ae+2-32],Ge=ne[ae+3-32],nt=ne[ae+4-32],at=ne[ae+5-32],At=ne[ae+6-32],Et=ne[ae+7-32];ne[ae+0+0]=Ko(ne[ae+0-32],ge,Ie),ne[ae+1+0]=ne[ae+0+32]=Ko(ge,Ie,Ge),ne[ae+2+0]=ne[ae+1+32]=ne[ae+0+64]=Ko(Ie,Ge,nt),ne[ae+3+0]=ne[ae+2+32]=ne[ae+1+64]=ne[ae+0+96]=Ko(Ge,nt,at),ne[ae+3+32]=ne[ae+2+64]=ne[ae+1+96]=Ko(nt,at,At),ne[ae+3+64]=ne[ae+2+96]=Ko(at,At,Et),ne[ae+3+96]=Ko(At,Et,Et)}function $m(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+0]=ne[ae+1+64]=nt+at+1>>1,ne[ae+1+0]=ne[ae+2+64]=at+At+1>>1,ne[ae+2+0]=ne[ae+3+64]=At+Et+1>>1,ne[ae+3+0]=Et+St+1>>1,ne[ae+0+96]=Ko(Ge,Ie,ge),ne[ae+0+64]=Ko(Ie,ge,nt),ne[ae+0+32]=ne[ae+1+96]=Ko(ge,nt,at),ne[ae+1+32]=ne[ae+2+96]=Ko(nt,at,At),ne[ae+2+32]=ne[ae+3+96]=Ko(at,At,Et),ne[ae+3+32]=Ko(At,Et,St)}function eh(ne,ae){var ge=ne[ae+0-32],Ie=ne[ae+1-32],Ge=ne[ae+2-32],nt=ne[ae+3-32],at=ne[ae+4-32],At=ne[ae+5-32],Et=ne[ae+6-32],St=ne[ae+7-32];ne[ae+0+0]=ge+Ie+1>>1,ne[ae+1+0]=ne[ae+0+64]=Ie+Ge+1>>1,ne[ae+2+0]=ne[ae+1+64]=Ge+nt+1>>1,ne[ae+3+0]=ne[ae+2+64]=nt+at+1>>1,ne[ae+0+32]=Ko(ge,Ie,Ge),ne[ae+1+32]=ne[ae+0+96]=Ko(Ie,Ge,nt),ne[ae+2+32]=ne[ae+1+96]=Ko(Ge,nt,at),ne[ae+3+32]=ne[ae+2+96]=Ko(nt,at,At),ne[ae+3+64]=Ko(at,At,Et),ne[ae+3+96]=Ko(At,Et,St)}function rf(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96];ne[ae+0+0]=ge+Ie+1>>1,ne[ae+2+0]=ne[ae+0+32]=Ie+Ge+1>>1,ne[ae+2+32]=ne[ae+0+64]=Ge+nt+1>>1,ne[ae+1+0]=Ko(ge,Ie,Ge),ne[ae+3+0]=ne[ae+1+32]=Ko(Ie,Ge,nt),ne[ae+3+32]=ne[ae+1+64]=Ko(Ge,nt,nt),ne[ae+3+64]=ne[ae+2+64]=ne[ae+0+96]=ne[ae+1+96]=ne[ae+2+96]=ne[ae+3+96]=nt}function Zf(ne,ae){var ge=ne[ae-1+0],Ie=ne[ae-1+32],Ge=ne[ae-1+64],nt=ne[ae-1+96],at=ne[ae-1-32],At=ne[ae+0-32],Et=ne[ae+1-32],St=ne[ae+2-32];ne[ae+0+0]=ne[ae+2+32]=ge+at+1>>1,ne[ae+0+32]=ne[ae+2+64]=Ie+ge+1>>1,ne[ae+0+64]=ne[ae+2+96]=Ge+Ie+1>>1,ne[ae+0+96]=nt+Ge+1>>1,ne[ae+3+0]=Ko(At,Et,St),ne[ae+2+0]=Ko(at,At,Et),ne[ae+1+0]=ne[ae+3+32]=Ko(ge,at,At),ne[ae+1+32]=ne[ae+3+64]=Ko(Ie,ge,at),ne[ae+1+64]=ne[ae+3+96]=Ko(Ge,Ie,ge),ne[ae+1+96]=Ko(nt,Ge,Ie)}function md(ne,ae){var ge;for(ge=0;8>ge;++ge)x(ne,ae+32*ge,ne,ae-32,8)}function th(ne,ae){var ge;for(ge=0;8>ge;++ge)z(ne,ae,ne[ae-1],8),ae+=32}function ac(ne,ae,ge){var Ie;for(Ie=0;8>Ie;++Ie)z(ae,ge+32*Ie,ne,8)}function nh(ne,ae){var ge,Ie=8;for(ge=0;8>ge;++ge)Ie+=ne[ae+ge-32]+ne[ae-1+32*ge];ac(Ie>>4,ne,ae)}function Wf(ne,ae){var ge,Ie=4;for(ge=0;8>ge;++ge)Ie+=ne[ae+ge-32];ac(Ie>>3,ne,ae)}function Gf(ne,ae){var ge,Ie=4;for(ge=0;8>ge;++ge)Ie+=ne[ae-1+32*ge];ac(Ie>>3,ne,ae)}function T0(ne,ae){ac(128,ne,ae)}function oc(ne,ae,ge){var Ie=ne[ae-ge],Ge=ne[ae+0],nt=3*(Ge-Ie)+rh[1020+ne[ae-2*ge]-ne[ae+ge]],at=G0[112+(nt+4>>3)];ne[ae-ge]=Gl[255+Ie+G0[112+(nt+3>>3)]],ne[ae+0]=Gl[255+Ge-at]}function Vf(ne,ae,ge,Ie){var Ge=ne[ae+0],nt=ne[ae+ge];return ou[255+ne[ae-2*ge]-ne[ae-ge]]>Ie||ou[255+nt-Ge]>Ie}function af(ne,ae,ge,Ie){return 4*ou[255+ne[ae-ge]-ne[ae+0]]+ou[255+ne[ae-2*ge]-ne[ae+ge]]<=Ie}function Xf(ne,ae,ge,Ie,Ge){var nt=ne[ae-3*ge],at=ne[ae-2*ge],At=ne[ae-ge],Et=ne[ae+0],St=ne[ae+ge],fn=ne[ae+2*ge],On=ne[ae+3*ge];return 4*ou[255+At-Et]+ou[255+at-St]>Ie?0:ou[255+ne[ae-4*ge]-nt]<=Ge&&ou[255+nt-at]<=Ge&&ou[255+at-At]<=Ge&&ou[255+On-fn]<=Ge&&ou[255+fn-St]<=Ge&&ou[255+St-Et]<=Ge}function hd(ne,ae,ge,Ie){var Ge=2*Ie+1;for(Ie=0;16>Ie;++Ie)af(ne,ae+Ie,ge,Ge)&&oc(ne,ae+Ie,ge)}function Yf(ne,ae,ge,Ie){var Ge=2*Ie+1;for(Ie=0;16>Ie;++Ie)af(ne,ae+Ie*ge,1,Ge)&&oc(ne,ae+Ie*ge,1)}function k0(ne,ae,ge,Ie){var Ge;for(Ge=3;0>7,sr=18*mr+63>>7,mr=9*mr+63>>7;Et[St-3*fn]=Gl[255+Et[St-3*fn]+mr],Et[St-2*fn]=Gl[255+On+sr],Et[St-fn]=Gl[255+jt+Nn],Et[St+0]=Gl[255+En-Nn],Et[St+fn]=Gl[255+Dn-sr],Et[St+2*fn]=Gl[255+rr-mr]}ae+=Ie}}function sc(ne,ae,ge,Ie,Ge,nt,at,At){for(nt=2*nt+1;0>3)],rr=G0[112+(rr+3>>3)],Nn=Dn+1>>1;Et[St-2*fn]=Gl[255+Et[St-2*fn]+Nn],Et[St-fn]=Gl[255+On+rr],Et[St+0]=Gl[255+jt-Dn],Et[St+fn]=Gl[255+En-Nn]}ae+=Ie}}function z0(ne,ae,ge,Ie,Ge,nt){ic(ne,ae,ge,1,16,Ie,Ge,nt)}function gd(ne,ae,ge,Ie,Ge,nt){ic(ne,ae,1,ge,16,Ie,Ge,nt)}function U0(ne,ae,ge,Ie,Ge,nt){var at;for(at=3;0St?0:255:St)&255,St=Et,Ge[nt+At]=fn}}function cs(ne,ae,ge,Ie){var Ge=ae.width,nt=ae.o;if(y(ne!=null&&ae!=null),0>ge||0>=Ie||ge+Ie>nt)return null;if(!ne.Cc){if(ne.ga==null){var at;if(ne.ga=new si,(at=ne.ga==null)||(at=ae.width*ae.o,y(ne.Gb.length==0),ne.Gb=te(at),ne.Uc=0,ne.Gb==null?at=0:(ne.mb=ne.Gb,ne.nb=ne.Uc,ne.rc=null,at=1),at=!at),!at){at=ne.ga;var At=ne.Fa,Et=ne.P,St=ne.qc,fn=ne.mb,On=ne.nb,jt=Et+1,En=St-1,Dn=at.l;if(y(At!=null&&fn!=null&&ae!=null),Hc[0]=null,Hc[1]=Oi,Hc[2]=Cs,Hc[3]=Vs,at.ca=fn,at.tb=On,at.c=ae.width,at.i=ae.height,y(0=St)ae=0;else if(at.$a=3&At[Et+0],at.Z=At[Et+0]>>2&3,at.Lc=At[Et+0]>>4&3,Et=At[Et+0]>>6&3,0>at.$a||1=at.c*at.i;at=!ae}if(at)return null;ne.ga.Lc!=1?ne.Ga=0:Ie=nt-ge}y(ne.ga!=null),y(ge+Ie<=nt);e:{if(ae=(At=ne.ga).c,nt=At.l.o,At.$a==0){if(jt=ne.rc,En=ne.Vc,Dn=ne.Fa,Et=ne.P+1+ge*ae,St=ne.mb,fn=ne.nb+ge*ae,y(Et<=ne.P+ne.qc),At.Z!=0)for(y(Hc[At.Z]!=null),at=0;at=ae)ae=1;else if(At.ic||Eu(),At.ic){At=at.V,jt=at.Ba,En=at.c;var rr=at.i,Nn=(Dn=1,Et=at.$/En,St=at.$%En,fn=at.m,On=at.s,at.$),sr=En*rr,mr=En*ae,Qr=On.wc,Dr=Nn(rr=Bs(Dr.G[0],Dr.H[0],fn)))At[jt+Nn]=rr,++Nn,++St>=En&&(St=0,++Et<=ae&&!(Et%16)&&gu(at,Et));else{if(!(280>rr)){Dn=0;break t}rr=_l(rr-256,fn);var qa,Ta=Bs(Dr.G[4],Dr.H[4],fn);if(Pn(fn),!(Nn>=(Ta=$l(En,Ta=_l(Ta,fn)))&&sr-Nn>=rr)){Dn=0;break t}for(qa=0;qa=En;)St-=En,++Et<=ae&&!(Et%16)&&gu(at,Et);Nnae?ae:Et);break t}!Dn||fn.h&&Nn=nt&&(ne.Cc=1),Ie=1}if(!Ie)return null;if(ne.Cc&&((Ie=ne.ga)!=null&&(Ie.mc=null),ne.ga=null,0>23,At[Et+4*at+1]=At[Et+4*at+1]*On>>23,At[Et+4*at+2]=At[Et+4*at+2]*On>>23)}ae+=nt}}function Xs(ne,ae,ge,Ie,Ge){for(;0>4)*Et>>16;ne[ae+2*nt+0]=(240&at|at>>4)*Et>>16&240|(15&at|at<<4)*Et>>16>>4&15,ne[ae+2*nt+1]=240&St|At}ae+=Ge}}function ul(ne,ae,ge,Ie,Ge,nt,at,At){var Et,St,fn=255;for(St=0;St>8}function Eu(){iA=qs,Mg=Xs,Lg=ul,Og=lc}function uc(ne,ae,ge){zt[ne]=function(Ie,Ge,nt,at,At,Et,St,fn,On,jt,En,Dn,rr,Nn,sr,mr,Qr){var Dr,qa=Qr-1>>1,Ta=At[Et+0]|St[fn+0]<<16,fi=On[jt+0]|En[Dn+0]<<16;y(Ie!=null);var Ha=3*Ta+fi+131074>>2;for(ae(Ie[Ge+0],255&Ha,Ha>>16,rr,Nn),nt!=null&&(Ha=3*fi+Ta+131074>>2,ae(nt[at+0],255&Ha,Ha>>16,sr,mr)),Dr=1;Dr<=qa;++Dr){var Di=At[Et+Dr]|St[fn+Dr]<<16,$s=On[jt+Dr]|En[Dn+Dr]<<16,Ai=Ta+Di+fi+$s+524296,Za=Ai+2*(Di+fi)>>3;Ha=Za+Ta>>1,Ta=(Ai=Ai+2*(Ta+$s)>>3)+Di>>1,ae(Ie[Ge+2*Dr-1],255&Ha,Ha>>16,rr,Nn+(2*Dr-1)*ge),ae(Ie[Ge+2*Dr-0],255&Ta,Ta>>16,rr,Nn+(2*Dr-0)*ge),nt!=null&&(Ha=Ai+fi>>1,Ta=Za+$s>>1,ae(nt[at+2*Dr-1],255&Ha,Ha>>16,sr,mr+(2*Dr-1)*ge),ae(nt[at+2*Dr+0],255&Ta,Ta>>16,sr,mr+(2*Dr+0)*ge)),Ta=Di,fi=$s}1&Qr||(Ha=3*Ta+fi+131074>>2,ae(Ie[Ge+Qr-1],255&Ha,Ha>>16,rr,Nn+(Qr-1)*ge),nt!=null&&(Ha=3*fi+Ta+131074>>2,ae(nt[at+Qr-1],255&Ha,Ha>>16,sr,mr+(Qr-1)*ge)))}}function Kf(){iu[V0]=r1,iu[X0]=Vg,iu[Ug]=a1,iu[Y0]=Xg,iu[K0]=Yg,iu[ah]=Kg,iu[Hg]=o1,iu[oh]=Vg,iu[ih]=Xg,iu[J0]=Yg,iu[sh]=Kg}function of(ne){return ne&~i1?0>ne?0:255:ne>>Jg}function Nc(ne,ae){return of((19077*ne>>8)+(26149*ae>>8)-14234)}function pd(ne,ae,ge){return of((19077*ne>>8)-(6419*ae>>8)-(13320*ge>>8)+8708)}function vd(ne,ae){return of((19077*ne>>8)+(33050*ae>>8)-17685)}function Mc(ne,ae,ge,Ie,Ge){Ie[Ge+0]=Nc(ne,ge),Ie[Ge+1]=pd(ne,ae,ge),Ie[Ge+2]=vd(ne,ae)}function cl(ne,ae,ge,Ie,Ge){Ie[Ge+0]=vd(ne,ae),Ie[Ge+1]=pd(ne,ae,ge),Ie[Ge+2]=Nc(ne,ge)}function Ed(ne,ae,ge,Ie,Ge){var nt=pd(ne,ae,ge);ae=nt<<3&224|vd(ne,ae)>>3,Ie[Ge+0]=248&Nc(ne,ge)|nt>>5,Ie[Ge+1]=ae}function yd(ne,ae,ge,Ie,Ge){var nt=240&vd(ne,ae)|15;Ie[Ge+0]=240&Nc(ne,ge)|pd(ne,ae,ge)>>4,Ie[Ge+1]=nt}function Jf(ne,ae,ge,Ie,Ge){Ie[Ge+0]=255,Mc(ne,ae,ge,Ie,Ge+1)}function qf(ne,ae,ge,Ie,Ge){cl(ne,ae,ge,Ie,Ge),Ie[Ge+3]=255}function Fl(ne,ae,ge,Ie,Ge){Mc(ne,ae,ge,Ie,Ge),Ie[Ge+3]=255}function cc(ne,ae,ge){zt[ne]=function(Ie,Ge,nt,at,At,Et,St,fn,On){for(var jt=fn+(-2&On)*ge;fn!=jt;)ae(Ie[Ge+0],nt[at+0],At[Et+0],St,fn),ae(Ie[Ge+1],nt[at+0],At[Et+0],St,fn+ge),Ge+=2,++at,++Et,fn+=2*ge;1&On&&ae(Ie[Ge+0],nt[at+0],At[Et+0],St,fn)}}function sf(ne,ae,ge){return ge==0?ne==0?ae==0?6:5:ae==0?4:0:ge}function H0(ne,ae,ge,Ie,Ge){switch(ne>>>30){case 3:Bd(ae,ge,Ie,Ge,0);break;case 2:au(ae,ge,Ie,Ge);break;case 1:Xi(ae,ge,Ie,Ge)}}function ru(ne,ae){var ge,Ie,Ge=ae.M,nt=ae.Nb,at=ne.oc,At=ne.pc+40,Et=ne.oc,St=ne.pc+584,fn=ne.oc,On=ne.pc+600;for(ge=0;16>ge;++ge)at[At+32*ge-1]=129;for(ge=0;8>ge;++ge)Et[St+32*ge-1]=129,fn[On+32*ge-1]=129;for(0ge;++ge)x(at,At+32*ge-4,at,At+32*ge+12,4);for(ge=-1;8>ge;++ge)x(Et,St+32*ge-4,Et,St+32*ge+4,4),x(fn,On+32*ge-4,fn,On+32*ge+4,4)}var En=ne.Gd,Dn=ne.Hd+Ie,rr=jt.ad,Nn=jt.Hc;if(0=ne.za-1?z(sr,mr,En[Dn].y[15],4):x(sr,mr,En[Dn+1].y,0,4)),ge=0;4>ge;ge++)sr[mr+128+ge]=sr[mr+256+ge]=sr[mr+384+ge]=sr[mr+0+ge];for(ge=0;16>ge;++ge,Nn<<=2)sr=at,mr=At+_g[ge],yu[jt.Ob[ge]](sr,mr),H0(Nn,rr,16*+ge,sr,mr)}else if(sr=sf(Ie,Ge,jt.Ob[0]),Uc[sr](at,At),Nn!=0)for(ge=0;16>ge;++ge,Nn<<=2)H0(Nn,rr,16*+ge,at,At+_g[ge]);for(ge=jt.Gc,sr=sf(Ie,Ge,jt.Dd),Ac[sr](Et,St),Ac[sr](fn,On),Nn=rr,sr=Et,mr=St,255&(jt=0|ge)&&(170&jt?Uu(Nn,256,sr,mr):os(Nn,256,sr,mr)),jt=fn,Nn=On,255&(ge>>=8)&&(170&ge?Uu(rr,320,jt,Nn):os(rr,320,jt,Nn)),Gege;++ge)x(En,Dn+ge*ne.R,at,At+32*ge,16);for(ge=0;8>ge;++ge)x(rr,jt+ge*ne.B,Et,St+32*ge,8),x(Nn,sr+ge*ne.B,fn,On+32*ge,8)}}function Cd(ne,ae,ge,Ie,Ge,nt,at,At,Et){var St=[0],fn=[0],On=0,jt=Et!=null?Et.kd:0,En=Et!=null?Et:new Fr;if(ne==null||12>ge)return 7;En.data=ne,En.w=ae,En.ha=ge,ae=[ae],ge=[ge],En.gb=[En.gb];e:{var Dn=ae,rr=ge,Nn=En.gb;if(y(ne!=null),y(rr!=null),y(Nn!=null),Nn[0]=0,12<=rr[0]&&!E(ne,Dn[0],"RIFF")){if(E(ne,Dn[0]+8,"WEBP")){Nn=3;break e}var sr=io(ne,Dn[0]+4);if(12>sr||4294967286rr[0]-8){Nn=7;break e}Nn[0]=sr,Dn[0]+=12,rr[0]-=12}Nn=0}if(Nn!=0)return Nn;for(sr=0Nn[0])Nn=7;else{if(!E(mr,rr[0],"VP8X")){if(io(mr,rr[0]+4)!=10){Nn=3;break e}if(18>Nn[0]){Nn=7;break e}var Ta=io(mr,rr[0]+8),fi=1+pa(mr,rr[0]+12);if(2147483648<=fi*(mr=1+pa(mr,rr[0]+15))){Nn=3;break e}qa!=null&&(qa[0]=Ta),Qr!=null&&(Qr[0]=fi),Dr!=null&&(Dr[0]=mr),rr[0]+=18,Nn[0]-=18,Ha[0]=1}Nn=0}}if(On=On[0],Dn=Dn[0],Nn!=0)return Nn;if(rr=!!(2&Dn),!sr&&On)return 3;if(nt!=null&&(nt[0]=!!(16&Dn)),at!=null&&(at[0]=rr),At!=null&&(At[0]=0),at=St[0],Dn=fn[0],On&&rr&&Et==null){Nn=0;break}if(4>ge){Nn=7;break}if(sr&&On||!sr&&!On&&!E(ne,ae[0],"ALPH")){ge=[ge],En.na=[En.na],En.P=[En.P],En.Sa=[En.Sa];e:{Ta=ne,Nn=ae,sr=ge;var Ha=En.gb;Qr=En.na,Dr=En.P,qa=En.Sa,fi=22,y(Ta!=null),y(sr!=null),mr=Nn[0];var Di=sr[0];for(y(Qr!=null),y(qa!=null),Qr[0]=null,Dr[0]=null,qa[0]=0;;){if(Nn[0]=mr,sr[0]=Di,8>Di){Nn=7;break e}var $s=io(Ta,mr+4);if(4294967286<$s){Nn=3;break e}var Ai=8+$s+1&-2;if(fi+=Ai,0Ha){Nn=3;break e}if(!E(Ta,mr,"VP8 ")||!E(Ta,mr,"VP8L")){Nn=0;break e}if(Di[0]sr[0])Nn=7;else{if(mr||fi){if(Ha=io(Ha,Ta+4),12<=Qr&&Ha>Qr-12){Nn=3;break e}if(jt&&Ha>sr[0]-8){Nn=7;break e}Dr[0]=Ha,Nn[0]+=8,sr[0]-=8,qa[0]=fi}else qa[0]=5<=sr[0]&&Ha[Ta+0]==47&&!(Ha[Ta+4]>>5),Dr[0]=sr[0];Nn=0}if(ge=ge[0],En.Ja=En.Ja[0],En.xa=En.xa[0],ae=ae[0],Nn!=0)break;if(4294967286ge){Nn=7;break}At=at,jt=Dn,rr=nt,ne==null||5>ge?ne=0:5<=ge&&ne[ae+0]==47&&!(ne[ae+4]>>5)?(sr=[0],Ha=[0],Qr=[0],tr(Dr=new Rt,ne,ae,ge),ec(Dr,sr,Ha,Qr)?(At!=null&&(At[0]=sr[0]),jt!=null&&(jt[0]=Ha[0]),rr!=null&&(rr[0]=Qr[0]),ne=1):ne=0):ne=0}else{if(10>ge){Nn=7;break}At=Dn,ne==null||10>ge||!j0(ne,ae+3,ge-3)?ne=0:(jt=ne[ae+0]|ne[ae+1]<<8|ne[ae+2]<<16,rr=16383&(ne[ae+7]<<8|ne[ae+6]),ne=16383&(ne[ae+9]<<8|ne[ae+8]),1&jt||3<(jt>>1&7)||!(jt>>4&1)||jt>>5>=En.Ja||!rr||!ne?ne=0:(at&&(at[0]=rr),At&&(At[0]=ne),ne=1))}if(!ne||(at=at[0],Dn=Dn[0],On&&(St[0]!=at||fn[0]!=Dn)))return 3;Et!=null&&(Et[0]=En,Et.offset=ae-Et.w,y(4294967286>ae-Et.w),y(Et.offset==Et.ha-ge));break}return Nn==0||Nn==7&&On&&Et==null?(nt!=null&&(nt[0]|=En.na!=null&&0ge||(nt&=-2,at&=-2),0>nt||0>at||0>=At||0>=Et||nt+At>Ie||at+Et>Ge))return 0;if(ae.v=nt,ae.j=at,ae.va=nt+At,ae.o=at+Et,ae.U=At,ae.T=Et,ae.da=ne!=null&&0ne.S){var ae=ne.f.RGBA;ae.fb+=(ne.height-1)*ae.A,ae.A=-ae.A}else ae=ne.f.kb,ne=ne.height,ae.O+=(ne-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(ne-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(ne-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(ne-1)*ae.lb,ae.lb=-ae.lb);return 0}function Lc(ne,ae,ge,Ie){if(Ie==null||0>=ne||0>=ae)return 2;if(ge!=null){if(ge.Da){var Ge=ge.cd,nt=ge.bd,at=-2&ge.v,At=-2&ge.j;if(0>at||0>At||0>=Ge||0>=nt||at+Ge>ne||At+nt>ae)return 2;ne=Ge,ae=nt}if(ge.da){if(!Do(ne,ae,Ge=[ge.ib],nt=[ge.hb]))return 2;ne=Ge[0],ae=nt[0]}}Ie.width=ne,Ie.height=ae;e:{var Et=Ie.width,St=Ie.height;if(ne=Ie.S,0>=Et||0>=St||!(ne>=V0&&13>ne))ne=2;else{if(0>=Ie.Rd&&Ie.sd==null){at=nt=Ge=ae=0;var fn=(At=Et*$g[ne])*St;if(11>ne||(nt=(St+1)/2*(ae=(Et+1)/2),ne==12&&(at=(Ge=Et)*St)),(St=te(fn+2*nt+at))==null){ne=1;break e}Ie.sd=St,11>ne?((Et=Ie.f.RGBA).eb=St,Et.fb=0,Et.A=At,Et.size=fn):((Et=Ie.f.kb).y=St,Et.O=0,Et.fa=At,Et.Fd=fn,Et.f=St,Et.N=0+fn,Et.Ab=ae,Et.Cd=nt,Et.ea=St,Et.W=0+fn+nt,Et.Db=ae,Et.Ed=nt,ne==12&&(Et.F=St,Et.J=0+fn+2*nt),Et.Tc=at,Et.lb=Ge)}if(ae=1,Ge=Ie.S,nt=Ie.width,at=Ie.height,Ge>=V0&&13>Ge)if(11>Ge)ne=Ie.f.RGBA,ae&=(At=Math.abs(ne.A))*(at-1)+nt<=ne.size,ae&=At>=nt*$g[Ge],ae&=ne.eb!=null;else{ne=Ie.f.kb,At=(nt+1)/2,fn=(at+1)/2,Et=Math.abs(ne.fa),St=Math.abs(ne.Ab);var On=Math.abs(ne.Db),jt=Math.abs(ne.lb),En=jt*(at-1)+nt;ae&=Et*(at-1)+nt<=ne.Fd,ae&=St*(fn-1)+At<=ne.Cd,ae=(ae&=On*(fn-1)+At<=ne.Ed)&Et>=nt&St>=At&On>=At,ae&=ne.y!=null,ae&=ne.f!=null,ae&=ne.ea!=null,Ge==12&&(ae&=jt>=nt,ae&=En<=ne.Tc,ae&=ne.F!=null)}else ae=0;ne=ae?0:2}}return ne!=0||ge!=null&&ge.fd&&(ne=$f(Ie)),ne}var wd=64,Zl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wl=24,Oc=32,dc=8,Rc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Qa("Predictor0","PredictorAdd0"),zt.Predictor0=function(){return 4278190080},zt.Predictor1=function(ne){return ne},zt.Predictor2=function(ne,ae,ge){return ae[ge+0]},zt.Predictor3=function(ne,ae,ge){return ae[ge+1]},zt.Predictor4=function(ne,ae,ge){return ae[ge-1]},zt.Predictor5=function(ne,ae,ge){return fo(fo(ne,ae[ge+1]),ae[ge+0])},zt.Predictor6=function(ne,ae,ge){return fo(ne,ae[ge-1])},zt.Predictor7=function(ne,ae,ge){return fo(ne,ae[ge+0])},zt.Predictor8=function(ne,ae,ge){return fo(ae[ge-1],ae[ge+0])},zt.Predictor9=function(ne,ae,ge){return fo(ae[ge+0],ae[ge+1])},zt.Predictor10=function(ne,ae,ge){return fo(fo(ne,ae[ge-1]),fo(ae[ge+0],ae[ge+1]))},zt.Predictor11=function(ne,ae,ge){var Ie=ae[ge+0];return 0>=ti(Ie>>24&255,ne>>24&255,(ae=ae[ge-1])>>24&255)+ti(Ie>>16&255,ne>>16&255,ae>>16&255)+ti(Ie>>8&255,ne>>8&255,ae>>8&255)+ti(255&Ie,255&ne,255&ae)?Ie:ne},zt.Predictor12=function(ne,ae,ge){var Ie=ae[ge+0];return(Gi((ne>>24&255)+(Ie>>24&255)-((ae=ae[ge-1])>>24&255))<<24|Gi((ne>>16&255)+(Ie>>16&255)-(ae>>16&255))<<16|Gi((ne>>8&255)+(Ie>>8&255)-(ae>>8&255))<<8|Gi((255&ne)+(255&Ie)-(255&ae)))>>>0},zt.Predictor13=function(ne,ae,ge){var Ie=ae[ge-1];return(xi((ne=fo(ne,ae[ge+0]))>>24&255,Ie>>24&255)<<24|xi(ne>>16&255,Ie>>16&255)<<16|xi(ne>>8&255,Ie>>8&255)<<8|xi(255&ne,255&Ie))>>>0};var eA=zt.PredictorAdd0;zt.PredictorAdd1=Fi,Qa("Predictor2","PredictorAdd2"),Qa("Predictor3","PredictorAdd3"),Qa("Predictor4","PredictorAdd4"),Qa("Predictor5","PredictorAdd5"),Qa("Predictor6","PredictorAdd6"),Qa("Predictor7","PredictorAdd7"),Qa("Predictor8","PredictorAdd8"),Qa("Predictor9","PredictorAdd9"),Qa("Predictor10","PredictorAdd10"),Qa("Predictor11","PredictorAdd11"),Qa("Predictor12","PredictorAdd12"),Qa("Predictor13","PredictorAdd13");var lf=zt.PredictorAdd2;no("ColorIndexInverseTransform","MapARGB","32b",function(ne){return ne>>8&255},function(ne){return ne}),no("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ne){return ne},function(ne){return ne>>8&255});var Ts,Z0=zt.ColorIndexInverseTransform,Qu=zt.MapARGB,zu=zt.VP8LColorIndexInverseTransformAlpha,tA=zt.MapAlpha,nA=zt.VP8LPredictorsAdd=[];nA.length=16,(zt.VP8LPredictors=[]).length=16,(zt.VP8LPredictorsAdd_C=[]).length=16,(zt.VP8LPredictors_C=[]).length=16;var rA,aA,Tc,kc,Qc,bd,zc,Bd,au,Uu,Xi,os,ks,_s,fc,oA,uf,W0,Fg,Dg,Pg,Sg,jg,Ng,iA,Mg,Lg,Og,Rg=te(511),Tg=te(2041),kg=te(225),Qg=te(767),zg=0,rh=Tg,G0=kg,Gl=Qg,ou=Rg,V0=0,X0=1,Ug=2,Y0=3,K0=4,ah=5,Hg=6,oh=7,ih=8,J0=9,sh=10,Zv=[2,3,7],Wv=[3,3,11],Zg=[280,256,256,256,40],Gv=[0,1,1,1,0],Vv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Yv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Kv=8,lh=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],uh=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],sA=null,Jv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],qv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Wg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],_v=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],$v=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],e1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],t1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Uc=[],yu=[],Ac=[],n1=1,Gg=2,Hc=[],iu=[];uc("UpsampleRgbLinePair",Mc,3),uc("UpsampleBgrLinePair",cl,3),uc("UpsampleRgbaLinePair",Fl,4),uc("UpsampleBgraLinePair",qf,4),uc("UpsampleArgbLinePair",Jf,4),uc("UpsampleRgba4444LinePair",yd,2),uc("UpsampleRgb565LinePair",Ed,2);var r1=zt.UpsampleRgbLinePair,a1=zt.UpsampleBgrLinePair,Vg=zt.UpsampleRgbaLinePair,Xg=zt.UpsampleBgraLinePair,Yg=zt.UpsampleArgbLinePair,Kg=zt.UpsampleRgba4444LinePair,o1=zt.UpsampleRgb565LinePair,q0=16,_0=1<Ie.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ie.ca.f.kb.F!=null&&Eu()),Ie.Pb&&0(Et=ge.Md)?0:100St;++St)12>(On=Ge.pb[St]).lc&&(On.ia=Et*A1[0>On.lc?0:On.lc]>>3),fn|=On.ia;fn&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ge.Id,100Ge.Ga&&(Ge.Ga=0)}(function(jt,En){if(jt==null)return 0;if(En==null)return Gs(jt,2,"NULL VP8Io parameter in VP8Decode().");if(!jt.cb&&!Tu(jt,En))return 0;if(y(jt.cb),En.ac==null||En.ac(En)){En.ob&&(jt.L=0);var Dn=$0[jt.L];if(jt.L==2?(jt.yb=0,jt.zb=0):(jt.yb=En.v-Dn>>4,jt.zb=En.j-Dn>>4,0>jt.yb&&(jt.yb=0),0>jt.zb&&(jt.zb=0)),jt.Va=En.o+15+Dn>>4,jt.Hb=En.va+15+Dn>>4,jt.Hb>jt.za&&(jt.Hb=jt.za),jt.Va>jt.Ub&&(jt.Va=jt.Ub),0Dn;++Dn){var Nn;if(jt.Qa.Cb){var sr=jt.Qa.Lb[Dn];jt.Qa.Fb||(sr+=rr.Tb)}else sr=rr.Tb;for(Nn=0;1>=Nn;++Nn){var mr=jt.gd[Dn][Nn],Qr=sr;if(rr.Pc&&(Qr+=rr.vd[0],Nn&&(Qr+=rr.od[0])),0<(Qr=0>Qr?0:63>2:Dr>>1)>9-rr.wb&&(Dr=9-rr.wb),1>Dr&&(Dr=1),mr.dd=Dr,mr.tc=2*Qr+Dr,mr.ld=40<=Qr?2:15<=Qr?1:0}else mr.tc=0;mr.La=Nn}}}Dn=0}else Gs(jt,6,"Frame setup failed"),Dn=jt.a;if(Dn=Dn==0){if(Dn){jt.$c=0,0jt.Vb){if(jt.Vb=0,jt.Ec=te(mr),jt.Fc=0,jt.Ec==null){Dn=Gs(jt,1,"no memory during frame initialization.");break t}jt.Vb=mr}mr=jt.Ec,Qr=jt.Fc,jt.Ac=mr,jt.Bc=Qr,Qr+=rr,jt.Gd=ie(qa,P0),jt.Hd=0,jt.rb=ie(Ta+1,Qf),jt.sb=1,jt.wa=fi?ie(fi,tu):null,jt.Y=0,jt.D.Nb=0,jt.D.wa=jt.wa,jt.D.Y=jt.Y,0=Dn;++Dn)Rg[255+Dn]=0>Dn?-Dn:Dn;for(Dn=-1020;1020>=Dn;++Dn)Tg[1020+Dn]=-128>Dn?-128:127=Dn;++Dn)kg[112+Dn]=-16>Dn?-16:15=Dn;++Dn)Qg[255+Dn]=0>Dn?0:255ji;++ji){var el,Ri=Dl[0+ji];for(el=0;4>el;++el){Ri=$v[As[dl+el]][Ri];for(var Ki=Wg[vr(ri,Ri[0])];0>3;for(Ki=0;256>Ki;Ki+=16)ji[Bl+Ki]=Ol}fl=1,Cu=dl[0]}var is=15&ri.la,tl=15&Pl.la;for(Ki=0;4>Ki;++Ki){var Vl=1&tl;for(Ol=Ji=0;4>Ol;++Ol)is=is>>1|(Vl=(zs=sA(As,Cu,zs=Vl+(1&is),xs.Sc,fl,ji,Bl))>fl)<<7,Ji=Ji<<2|(3>=4,tl=tl>>1|Vl<<7,el=(el<<8|Ji)>>>0}for(Cu=is,fl=tl>>4,Is=0;4>Is;Is+=2){for(Ji=0,is=ri.la>>4+Is,tl=Pl.la>>4+Is,Ki=0;2>Ki;++Ki){for(Vl=1&tl,Ol=0;2>Ol;++Ol)zs=Vl+(1&is),is=is>>1|(Vl=0<(zs=sA(As,dl[2],zs,xs.Qc,0,ji,Bl)))<<3,Ji=Ji<<2|(3>=2,tl=tl>>1|Vl<<5}Ri|=Ji<<4*Is,Cu|=is<<4<=Za.zb&&Za.M<=Za.Va,Za.Aa==0)t:{if(Ai.M=Za.M,Ai.uc=ri,ru(Za,Ai),Qs=1,Ai=(Ji=Za.D).Nb,ri=(Ri=$0[Za.L])*Za.R,As=Ri/2*Za.B,Ki=16*Ai*Za.R,Ol=8*Ai*Za.B,dl=Za.sa,Dl=Za.ta-ri+Ki,xs=Za.qa,ji=Za.ra-As+Ol,Bl=Za.Ha,Pl=Za.Ia-As+Ol,tl=(is=Ji.M)==0,el=is>=Za.Va-1,Za.Aa==2&&ru(Za,Ji),Ji.uc)for(Vl=(zs=Za).D.M,y(zs.D.uc),Ji=zs.yb;Jica.o&&(is=ca.o),ca.F=null,ca.J=null,Za.Fa!=null&&0>1),ca.W+=Za.B*(Ri>>1),ca.F!=null&&(ca.J+=ca.width*Ri)),Ji>1,ca.W+=ca.v>>1,ca.F!=null&&(ca.J+=ca.v),ca.ka=Ji-ca.j,ca.U=ca.va-ca.v,ca.T=is-Ji,Qs=ca.put(ca))}Ai+1!=Za.Ic||el||(x(Za.sa,Za.ta-ri,dl,Dl+16*Za.R,ri),x(Za.qa,Za.ra-As,xs,ji+8*Za.B,As),x(Za.Ha,Za.Ia-As,Bl,Pl+8*Za.B,As))}if(!Qs)return Gs(Di,6,"Output aborted.")}return 1}(jt,En)),En.bc!=null&&En.bc(En),Dn&=1}return Dn?(jt.cb=0,Dn):0})(ne,Ie)||(ae=ne.a)}}else ae=ne.a}ae==0&&at.Oa!=null&&at.Oa.fd&&(ae=$f(at.ba))}at=ae}nt=at!=0?null:11>nt?At.f.RGBA.eb:At.f.kb.y}else nt=null;return nt};var $g=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function de(zt,In){for(var st="",It=0;It<4;It++)st+=String.fromCharCode(zt[In++]);return st}function Ee(zt,In){return zt[In+0]|zt[In+1]<<8}function ze(zt,In){return(zt[In+0]|zt[In+1]<<8|zt[In+2]<<16)>>>0}function $e(zt,In){return(zt[In+0]|zt[In+1]<<8|zt[In+2]<<16|zt[In+3]<<24)>>>0}new ue;var ve=[0],Bt=[0],Ct=[],xt=new ue,ct=a,ln=function(zt,In){var st={},It=0,sn=!1,$t=0,zn=0;if(st.frames=[],!function(ot,Rt){for(var Jt=0;Jt<4;Jt++)if(ot[Rt+Jt]!="RIFF".charCodeAt(Jt))return!0;return!1}(zt,In)){for($e(zt,In+=4),In+=8;In>1&1}Xn!="ANMF"&&(In+=Mn)}return st}}(ct,0);ln.response=ct,ln.rgbaoutput=!0,ln.dataurl=!1;var _t=ln.header?ln.header:null,Qt=ln.frames?ln.frames:null;if(_t){_t.loop_counter=_t.loop_count,ve=[_t.canvas_height],Bt=[_t.canvas_width];for(var Rn=0;Rn=2?Ft[1]:ya[0],ya[2]=Ft.length>=3?Ft[2]:ya[0],ya[3]=Ft.length>=4?Ft[3]:ya[1]),de.margin=ya}});var Kn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Kn},set:function(Ft){Kn=Ft}});var _n=0;Object.defineProperty(this,"lastBreak",{get:function(){return _n},set:function(Ft){_n=Ft}});var vr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return vr},set:function(Ft){vr=Ft}}),Object.defineProperty(this,"ctx",{get:function(){return de},set:function(Ft){Ft instanceof Ee&&(de=Ft)}}),Object.defineProperty(this,"path",{get:function(){return de.path},set:function(Ft){de.path=Ft}});var zr=[];Object.defineProperty(this,"ctxStack",{get:function(){return zr},set:function(Ft){zr=Ft}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ft){var ya;ya=$e(Ft),this.ctx.fillStyle=ya.style,this.ctx.isFillTransparent=ya.a===0,this.ctx.fillOpacity=ya.a,this.pdf.setFillColor(ya.r,ya.g,ya.b,{a:ya.a}),this.pdf.setTextColor(ya.r,ya.g,ya.b,{a:ya.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ft){var ya=$e(Ft);this.ctx.strokeStyle=ya.style,this.ctx.isStrokeTransparent=ya.a===0,this.ctx.strokeOpacity=ya.a,ya.a===0?this.pdf.setDrawColor(255,255,255):(ya.a,this.pdf.setDrawColor(ya.r,ya.g,ya.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ft){["butt","round","square"].indexOf(Ft)!==-1&&(this.ctx.lineCap=Ft,this.pdf.setLineCap(Ft))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ft){isNaN(Ft)||(this.ctx.lineWidth=Ft,this.pdf.setLineWidth(Ft))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ft){["bevel","round","miter"].indexOf(Ft)!==-1&&(this.ctx.lineJoin=Ft,this.pdf.setLineJoin(Ft))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ft){isNaN(Ft)||(this.ctx.miterLimit=Ft,this.pdf.setMiterLimit(Ft))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ft){this.ctx.textBaseline=Ft}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ft){["right","end","center","left","start"].indexOf(Ft)!==-1&&(this.ctx.textAlign=Ft)}});var Ea=null,pa=null,io=null;Object.defineProperty(this,"fontFaces",{get:function(){return io},set:function(Ft){Ea=null,pa=null,io=Ft}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ft){var ya;if(this.ctx.font=Ft,(ya=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Ft))!==null){var gi=ya[1];ya[2];var Do=ya[3],Or=ya[4];ya[5];var Po=ya[6],Qa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Or)[2];Or=Math.floor(Qa==="px"?parseFloat(Or)*this.pdf.internal.scaleFactor:Qa==="em"?parseFloat(Or)*this.pdf.getFontSize():parseFloat(Or)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Or);var wo=function(no){var Rs,Li,Ei=[],yi=no.trim();if(yi==="")return km;if(yi in sg)return[sg[yi]];for(;yi!=="";){switch(Li=null,Rs=(yi=ug(yi)).charAt(0)){case'"':case"'":Li=wv(yi.substring(1),Rs);break;default:Li=bv(yi)}if(Li===null||(Ei.push(Li[0]),(yi=ug(Li[1]))!==""&&yi.charAt(0)!==","))return km;yi=yi.replace(/^,/,"")}return Ei}(Po);if(this.fontFaces){var fo=function(no,Rs){var Li=no.getFontList(),Ei=JSON.stringify(Li);if(Ea===null||pa!==Ei){var yi=function(vs){var ho=[];return Object.keys(vs).forEach(function(us){vs[us].forEach(function(To){var ni=null;switch(To){case"bold":ni={family:us,weight:"bold"};break;case"italic":ni={family:us,style:"italic"};break;case"bolditalic":ni={family:us,weight:"bold",style:"italic"};break;case"":case"normal":ni={family:us}}ni!==null&&(ni.ref={name:us,style:To},ho.push(ni))})}),ho}(Li);Ea=function(vs){for(var ho={},us=0;us=700||gi==="bold")&&(ti="bold"),gi==="italic"&&(ti+="italic"),ti.length===0&&(ti="normal");for(var Fi="",Ii={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ya=0;Ya=2*Math.PI&&(cn=0,Cn=2*Math.PI),this.path.push({type:"arc",x:ot,y:Rt,radius:Jt,startAngle:cn,endAngle:Cn,counterclockwise:Pn})},ze.prototype.arcTo=function(ot,Rt,Jt,cn,Cn){throw new Error("arcTo not implemented.")},ze.prototype.rect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ot,Rt),this.lineTo(ot+Jt,Rt),this.lineTo(ot+Jt,Rt+cn),this.lineTo(ot,Rt+cn),this.lineTo(ot,Rt),this.lineTo(ot+Jt,Rt),this.lineTo(ot,Rt)},ze.prototype.fillRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Cn={};this.lineCap!=="butt"&&(Cn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Cn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ot,Rt,Jt,cn),this.fill(),Cn.hasOwnProperty("lineCap")&&(this.lineCap=Cn.lineCap),Cn.hasOwnProperty("lineJoin")&&(this.lineJoin=Cn.lineJoin)}},ze.prototype.strokeRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Bt.call(this)||(this.beginPath(),this.rect(ot,Rt,Jt,cn),this.stroke())},ze.prototype.clearRect=function(ot,Rt,Jt,cn){if(isNaN(ot)||isNaN(Rt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ot,Rt,Jt,cn))},ze.prototype.save=function(ot){ot=typeof ot!="boolean"||ot;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,Jt=0;Jt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};ze.prototype.drawImage=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n,vr){var zr=this.pdf.getImageProperties(ot),Ea=1,pa=1,io=1,Ft=1;cn!==void 0&&_n!==void 0&&(io=_n/cn,Ft=vr/Cn,Ea=zr.width/cn*_n/cn,pa=zr.height/Cn*vr/Cn),Pn===void 0&&(Pn=Rt,Kn=Jt,Rt=0,Jt=0),cn!==void 0&&_n===void 0&&(_n=cn,vr=Cn),cn===void 0&&_n===void 0&&(_n=zr.width,vr=zr.height);var ya=this.ctx.transform.decompose(),gi=Mn(ya.rotate.shx),Do=new ue,Or=(Do=(Do=(Do=Do.multiply(ya.translate)).multiply(ya.skew)).multiply(ya.scale)).applyToRectangle(new oe(Pn-Rt*io,Kn-Jt*Ft,cn*Ea,Cn*pa));if(this.autoPaging){for(var Po,Qa=xt.call(this,Or),wo=[],fo=0;foGi||tiOr||Qa0)){for(;vr>=0;vr--)if(Cn[vr-1].close!==!0&&Cn[vr-1].begin!==!0){Cn[vr-1].deltas.push(Jt),Cn[vr-1].abs.push(_n);break}}break;case"bct":Jt=[_n.x1-Pn[Kn-1].x,_n.y1-Pn[Kn-1].y,_n.x2-Pn[Kn-1].x,_n.y2-Pn[Kn-1].y,_n.x-Pn[Kn-1].x,_n.y-Pn[Kn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"qct":var zr=Pn[Kn-1].x+2/3*(_n.x1-Pn[Kn-1].x),Ea=Pn[Kn-1].y+2/3*(_n.y1-Pn[Kn-1].y),pa=_n.x+2/3*(_n.x1-_n.x),io=_n.y+2/3*(_n.y1-_n.y),Ft=_n.x,ya=_n.y;Jt=[zr-Pn[Kn-1].x,Ea-Pn[Kn-1].y,pa-Pn[Kn-1].x,io-Pn[Kn-1].y,Ft-Pn[Kn-1].x,ya-Pn[Kn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"arc":Cn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Cn[Cn.length-1].abs)&&Cn[Cn.length-1].abs.push(_n)}}cn=Rt?null:ot==="stroke"?"stroke":"fill";for(var gi=!1,Do=0;Do=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*ot.scale),Cn=this.lineWidth,this.lineWidth=Cn*ot.scale);var ii=this.autoPaging!=="text";if(ii||Ya.y+Ya.h<=fo){if(ii||Ya.y>=Qa&&Ya.x<=xi){var no=ii?ot.text:this.pdf.splitTextToSize(ot.text,ot.maxWidth||xi-Ya.x)[0],Rs=ln([JSON.parse(JSON.stringify(pa))],this.posX+this.margin[3],-Fi+Qa+this.ctx.prevPageLastElemOffset)[0],Li=ii&&(Po>Do||Po=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)}}else ot.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*ot.scale),Cn=this.lineWidth,this.lineWidth=Cn*ot.scale),this.pdf.text(ot.text,vr.x+this.posX,vr.y+this.posY,{angle:ot.angle,align:Rt,renderingMode:ot.renderingMode,maxWidth:ot.maxWidth}),ot.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)},sn=function(ot,Rt,Jt,cn){Jt=Jt||0,cn=cn||0,this.pdf.internal.out(E(ot+Jt)+" "+x(Rt+cn)+" l")},$t=function(ot,Rt,Jt){return this.pdf.lines(ot,Rt,Jt,null,null)},zn=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n){this.pdf.internal.out([y(z(Jt+ot)),y(te(cn+Rt)),y(z(Cn+ot)),y(te(Pn+Rt)),y(z(Kn+ot)),y(te(_n+Rt)),"c"].join(" "))},Xn=function(ot,Rt,Jt,cn){for(var Cn=2*Math.PI,Pn=Math.PI/2;Rt>Jt;)Rt-=Cn;var Kn=Math.abs(Jt-Rt);Kn1e-5;){var Ea=zr+vr*Math.min(Kn,Pn);_n.push(Jn.call(this,ot,zr,Ea)),Kn-=Math.abs(Ea-zr),zr=Ea}return _n},Jn=function(ot,Rt,Jt){var cn=(Jt-Rt)/2,Cn=ot*Math.cos(cn),Pn=ot*Math.sin(cn),Kn=Cn,_n=-Pn,vr=Kn*Kn+_n*_n,zr=vr+Kn*Cn+_n*Pn,Ea=4/3*(Math.sqrt(2*vr*zr)-zr)/(Kn*Pn-_n*Cn),pa=Kn-Ea*_n,io=_n+Ea*Kn,Ft=pa,ya=-io,gi=cn+Rt,Do=Math.cos(gi),Or=Math.sin(gi);return{x1:ot*Math.cos(Rt),y1:ot*Math.sin(Rt),x2:pa*Do-io*Or,y2:pa*Or+io*Do,x3:Ft*Do-ya*Or,y3:Ft*Or+ya*Do,x4:ot*Math.cos(Jt),y4:ot*Math.sin(Jt)}},Mn=function(ot){return 180*ot/Math.PI},tr=function(ot,Rt,Jt,cn,Cn,Pn){var Kn=ot+.5*(Jt-ot),_n=Rt+.5*(cn-Rt),vr=Cn+.5*(Jt-Cn),zr=Pn+.5*(cn-Pn),Ea=Math.min(ot,Cn,Kn,vr),pa=Math.max(ot,Cn,Kn,vr),io=Math.min(Rt,Pn,_n,zr),Ft=Math.max(Rt,Pn,_n,zr);return new oe(Ea,io,pa-Ea,Ft-io)},Yr=function(ot,Rt,Jt,cn,Cn,Pn,Kn,_n){var vr,zr,Ea,pa,io,Ft,ya,gi,Do,Or,Po,Qa,wo,fo,Gi=Jt-ot,xi=cn-Rt,ti=Cn-Jt,Fi=Pn-cn,Ii=Kn-Cn,Ya=_n-Pn;for(zr=0;zr<41;zr++)Do=(ya=(Ea=ot+(vr=zr/40)*Gi)+vr*((io=Jt+vr*ti)-Ea))+vr*(io+vr*(Cn+vr*Ii-io)-ya),Or=(gi=(pa=Rt+vr*xi)+vr*((Ft=cn+vr*Fi)-pa))+vr*(Ft+vr*(Pn+vr*Ya-Ft)-gi),zr==0?(Po=Do,Qa=Or,wo=Do,fo=Or):(Po=Math.min(Po,Do),Qa=Math.min(Qa,Or),wo=Math.max(wo,Do),fo=Math.max(fo,Or));return new oe(Math.round(Po),Math.round(Qa),Math.round(wo-Po),Math.round(fo-Qa))},wr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ot,Rt,Jt=(ot=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ot,lineDashOffset:Rt}));this.prevLineDash!==Jt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Jt)}}})(Xa.API),function(a){var y=function(ie){var oe,ue,de,Ee,ze,$e,ve,Bt,Ct,xt;for(/[^\x00-\xFF]/.test(ie),ue=[],de=0,Ee=(ie+=oe="\0\0\0\0".slice(ie.length%4||4)).length;Ee>de;de+=4)(ze=(ie.charCodeAt(de)<<24)+(ie.charCodeAt(de+1)<<16)+(ie.charCodeAt(de+2)<<8)+ie.charCodeAt(de+3))!==0?($e=(ze=((ze=((ze=((ze=(ze-(xt=ze%85))/85)-(Ct=ze%85))/85)-(Bt=ze%85))/85)-(ve=ze%85))/85)%85,ue.push($e+33,ve+33,Bt+33,Ct+33,xt+33)):ue.push(122);return function(ct,ln){for(var _t=ln;_t>0;_t--)ct.pop()}(ue,oe.length),String.fromCharCode.apply(String,ue)+"~>"},E=function(ie){var oe,ue,de,Ee,ze,$e=String,ve="length",Bt=255,Ct="charCodeAt",xt="slice",ct="replace";for(ie[xt](-2),ie=ie[xt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),de=[],Ee=0,ze=(ie+=oe="uuuuu"[xt](ie[ve]%5||5))[ve];ze>Ee;Ee+=5)ue=52200625*(ie[Ct](Ee)-33)+614125*(ie[Ct](Ee+1)-33)+7225*(ie[Ct](Ee+2)-33)+85*(ie[Ct](Ee+3)-33)+(ie[Ct](Ee+4)-33),de.push(Bt&ue>>24,Bt&ue>>16,Bt&ue>>8,Bt&ue);return function(ln,_t){for(var Qt=_t;Qt>0;Qt--)ln.pop()}(de,oe[ve]),$e.fromCharCode.apply($e,de)},x=function(ie){return ie.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(ie){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ie=ie.replace(/\s/g,"")).indexOf(">")!==-1&&(ie=ie.substr(0,ie.indexOf(">"))),ie.length%2&&(ie+="0"),oe.test(ie)===!1)return"";for(var ue="",de=0;deCt&&(Bt=xt,xt=Ct,Ct=Bt);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",Ct>xt&&(Bt=xt,xt=Ct,Ct=Bt)}return{width:xt,height:Ct,unit:ue,k:ze,orientation:oe}},a.html=function(oe,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.fontFaces=ue.fontFaces?ue.fontFaces.map(Tm):null;var de=new ie(ue);return ue.worker?de:de.from(oe).doCallback()}}(Xa.API),Xa.API.addJS=function(a){return dg=a,this.internal.events.subscribe("postPutResources",function(){b0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(b0+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),cg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+dg+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){b0!==void 0&&cg!==void 0&&this.internal.out("/Names <>")}),this},function(a){var y;a.events.push(["postPutResources",function(){var E=this,x=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=E.outline.render().split(/\r\n/),te=0;te> endobj")}var ve=E.internal.newObject();for(E.internal.write("<< /Names [ "),te=0;te>","endobj"),y=E.internal.newObject(),E.internal.write("<< /Dests "+ve+" 0 R"),E.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+y+" 0 R"))}]),a.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(x,z,te){var ie={title:z,options:te,children:[]};return x==null&&(x=this.root),x.children.push(ie),ie},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(x){x.id=E.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(x.children[0])),this.line("/Last "+this.makeRef(x.children[x.children.length-1]))),this.line("/Count "+this.count_r({count:0},x)),this.objEnd()},E.outline.renderItems=function(x){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,te=0;te0&&this.line("/Prev "+this.makeRef(x.children[te-1])),te0&&(this.line("/First "+this.makeRef(ie.children[0])),this.line("/Last "+this.makeRef(ie.children[ie.children.length-1])));var oe=this.count=this.count_r({count:0},ie);if(oe>0&&this.line("/Count "+oe),ie.options&&ie.options.pageNumber){var ue=E.internal.getPageInfo(ie.options.pageNumber);this.line("/Dest ["+ue.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var de=0;de>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var PA="",_A=0,kA=R.transparency.length;_A>",D.content=s;var eA=D.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=3};var m=A.__arabicParser__.arabicLetterHasMedialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length==4},F=A.__arabicParser__.resolveLigatures=function(D){var M=0,N=e,sA="",eA=0;for(M=0;M>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ze.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var d=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return d},set:function(D){d=D}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(D){g=D}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(D){m=D}});var F=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return F},set:function(D){F=D}});var _=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _},set:function(D){_=D}});var w=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return w},set:function(D){w=D}});var P=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return P},set:function(D){P=D}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(d){return r.call(this),this.internal.__cell__.headerFunction=typeof d=="function"?d:void 0,this},A.getTextDimensions=function(d,g){r.call(this);var m=(g=g||{}).fontSize||this.getFontSize(),F=g.font||this.getFont(),_=g.scaleFactor||this.internal.scaleFactor,w=0,P=0,D=0,M=this;if(!Array.isArray(d)&&typeof d!="string"){if(typeof d!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");d=String(d)}var N=g.maxWidth;N>0?typeof d=="string"?d=this.splitTextToSize(d,N):Object.prototype.toString.call(d)==="[object Array]"&&(d=d.reduce(function(eA,W){return eA.concat(M.splitTextToSize(W,N))},[])):d=Array.isArray(d)?d:[d];for(var sA=0;sAthis.getPageHeight()?(this.cellAddPage(),d.y=F.top,w&&_&&(this.printHeaderRow(d.lineNumber,!0),d.y+=_[0].height)):d.y=g.y+g.height||d.y),d.text[0]!==void 0&&(this.rect(d.x,d.y,d.width,d.height,e===!0?"FD":void 0),d.align==="right"?this.text(d.text,d.x+d.width-m,d.y+m,{align:"right",baseline:"top"}):d.align==="center"?this.text(d.text,d.x+d.width/2,d.y+m,{align:"center",baseline:"top",maxWidth:d.width-m-m}):this.text(d.text,d.x+m,d.y+m,{align:"left",baseline:"top",maxWidth:d.width-m-m})),this.internal.__cell__.lastCell=d,this};A.table=function(d,g,m,F,_){if(r.call(this),!m)throw new Error("No data for PDF table.");var w,P,D,M,N=[],sA=[],eA=[],W={},IA={},zA=[],HA=[],uA=(_=_||{}).autoSize||!1,X=_.printHeaders!==!1,CA=_.css&&_.css["font-size"]!==void 0?16*_.css["font-size"]:_.fontSize||12,S=_.margins||Object.assign({width:this.getPageWidth()},t),R=typeof _.padding=="number"?_.padding:3,iA=_.headerBackgroundColor||"#c8c8c8",tA=_.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=X,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=CA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=iA,this.internal.__cell__.headerTextColor=tA,this.setFontSize(CA),F==null)sA=N=Object.keys(m[0]),eA=N.map(function(){return"left"});else if(Array.isArray(F)&&(0,wt.Z)(F[0])==="object")for(N=F.map(function(pe){return pe.name}),sA=F.map(function(pe){return pe.prompt||pe.name||""}),eA=F.map(function(pe){return pe.align||"left"}),w=0;w0&&this.setTableHeaderRow(_),this.setFont(void 0,"normal"),e=!1}}(ze.API);var gn={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bs=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Hn=dr(bs),Pn=[100,200,300,400,500,600,700,800,900],Sa=dr(Pn);function Ci(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return gn[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Hn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Cs(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function Rg(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function kg(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(m,_)}})(A,s,Kg(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,d=null;s&&(f=t,d=h,t+=3*h);var g=!0,m=[],F=0,_=null,w=0,P=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var D=A[t++];F=A[t++]|A[t++]<<8,_=A[t++],1&D||(_=null),w=D>>2&7,t++;break;case 254:for(;;){if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var M=A[t++]|A[t++]<<8,N=A[t++]|A[t++]<<8,sA=A[t++]|A[t++]<<8,eA=A[t++]|A[t++]<<8,W=A[t++],IA=W>>6&1,zA=1<<1+(7&W),HA=f,uA=d,X=!1;W>>7&&(X=!0,HA=t,uA=zA,t+=3*zA);var CA=t;for(t++;;){var S;if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}m.push({x:M,y:N,width:sA,height:eA,has_local_palette:X,palette_offset:HA,palette_size:uA,data_offset:CA,data_length:t-CA,transparent_index:_,interlaced:!!IA,delay:F,disposal:w});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return P},this.frameInfo=function(R){if(R<0||R>=m.length)throw new Error("Frame index out of range.");return m[R]},this.decodeAndBlitFrameBGRA=function(R,iA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var kA=tA.width,pe=e-kA,te=kA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*pe;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,DA=jA.length;EA=z&&(aA=4*pe+4*e*(vA-1),AA=L+(kA+pe)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],fe=A[PA+3*MA+1],Qe=A[PA+3*MA+2];iA[AA++]=Qe,iA[AA++]=fe,iA[AA++]=qA,iA[AA++]=255}--te}},this.decodeAndBlitFrameRGBA=function(R,iA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var kA=tA.width,pe=e-kA,te=kA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*pe;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,DA=jA.length;EA=z&&(aA=4*pe+4*e*(vA-1),AA=L+(kA+pe)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],fe=A[PA+3*MA+1],Qe=A[PA+3*MA+2];iA[AA++]=qA,iA[AA++]=fe,iA[AA++]=Qe,iA[AA++]=255}--te}}}function Gg(A,t,e,r){for(var n=A[t++],s=1<>=d,m-=d,M!==s){if(M===h)break;for(var N=Ms;)eA=P[eA]>>8,++sA;var W=eA;if(_+sA+(N!==M?1:0)>r)return void yr.log("Warning, gif stream longer than expected.");e[_++]=W;var IA=_+=sA;for(N!==M&&(e[_++]=W),eA=N;sA--;)eA=P[eA],e[--IA]=255&eA,eA>>=8;D!==null&&f<4096&&(P[f++]=D<<8|W,f>=g+1&&d<12&&(++d,g=g<<1|1)),D=M}else f=h+1,g=(1<<(d=n+1))-1,D=null}return _!==r&&yr.log("Warning, gif stream shorter than expected."),e}function Vp(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),d=new Array(64),g=new Array(64),m=new Array(64),F=new Array(65535),_=new Array(65535),w=new Array(64),P=new Array(64),D=[],M=0,N=7,sA=new Array(64),eA=new Array(64),W=new Array(64),IA=new Array(256),zA=new Array(2048),HA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],uA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],X=[0,1,2,3,4,5,6,7,8,9,10,11],CA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],iA=[0,1,2,3,4,5,6,7,8,9,10,11],tA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],SA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function jA(L,z){for(var AA=0,aA=0,vA=new Array,EA=1;EA<=16;EA++){for(var DA=1;DA<=L[EA];DA++)vA[z[aA]]=[],vA[z[aA]][0]=AA,vA[z[aA]][1]=EA,aA++,AA++;AA*=2}return vA}function PA(L){for(var z=L[0],AA=L[1]-1;AA>=0;)z&1<>8&255),_A(255&L)}function pe(L,z,AA,aA,vA){for(var EA,DA=vA[0],MA=vA[240],qA=function(le,ct){var Re,ot,nt,gr,Zt,St,qt,Yt,Ze,Ht,$e=0;for(Ze=0;Ze<8;++Ze){Re=le[$e],ot=le[$e+1],nt=le[$e+2],gr=le[$e+3],Zt=le[$e+4],St=le[$e+5],qt=le[$e+6];var sn=Re+(Yt=le[$e+7]),sr=Re-Yt,Gt=ot+qt,Vt=ot-qt,Rr=nt+St,it=nt-St,Nr=gr+Zt,vt=gr-Zt,Nt=sn+Nr,kr=sn-Nr,zt=Gt+Rr,ft=Gt-Rr;le[$e]=Nt+zt,le[$e+4]=Nt-zt;var Br=.707106781*(ft+kr);le[$e+2]=kr+Br,le[$e+6]=kr-Br;var _l=.382683433*((Nt=vt+it)-(ft=Vt+sr)),qn=.5411961*Nt+_l,ja=1.306562965*ft+_l,ia=.707106781*(zt=it+Vt),ht=sr+ia,Ha=sr-ia;le[$e+5]=Ha+qn,le[$e+3]=Ha-qn,le[$e+1]=ht+ja,le[$e+7]=ht-ja,$e+=8}for($e=0,Ze=0;Ze<8;++Ze){Re=le[$e],ot=le[$e+8],nt=le[$e+16],gr=le[$e+24],Zt=le[$e+32],St=le[$e+40],qt=le[$e+48];var Da=Re+(Yt=le[$e+56]),es=Re-Yt,ts=ot+qt,$r=ot-qt,Dn=nt+St,Mn=nt-St,xl=gr+Zt,Ho=gr-Zt,Qs=Da+xl,sa=Da-xl,_s=ts+Dn,xs=ts-Dn;le[$e]=Qs+_s,le[$e+32]=Qs-_s;var rs=.707106781*(xs+sa);le[$e+16]=sa+rs,le[$e+48]=sa-rs;var Il=.382683433*((Qs=Ho+Mn)-(xs=$r+es)),aa=.5411961*Qs+Il,Ll=1.306562965*xs+Il,Su=.707106781*(_s=Mn+$r),Nu=es+Su,ju=es-Su;le[$e+40]=ju+aa,le[$e+24]=ju-aa,le[$e+8]=Nu+Ll,le[$e+56]=Nu-Ll,$e++}for(Ze=0;Ze<64;++Ze)Ht=le[Ze]*ct[Ze],w[Ze]=Ht>0?Ht+.5|0:Ht-.5|0;return w}(L,z),fe=0;fe<64;++fe)P[HA[fe]]=qA[fe];var Qe=P[0]-AA;AA=P[0],Qe==0?PA(aA[0]):(PA(aA[_[EA=32767+Qe]]),PA(F[EA]));for(var Ue=63;Ue>0&&P[Ue]==0;)Ue--;if(Ue==0)return PA(DA),AA;for(var tt,k=1;k<=Ue;){for(var _e=k;P[k]==0&&k<=Ue;)++k;var Rt=k-_e;if(Rt>=16){tt=Rt>>4;for(var ut=1;ut<=tt;++ut)PA(MA);Rt&=15}EA=32767+P[k],PA(vA[(Rt<<4)+_[EA]]),PA(F[EA]),k++}return Ue!=63&&PA(DA),AA}function te(L){L=Math.min(Math.max(L,1),100),s!=L&&(function(z){for(var AA=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],aA=0;aA<64;aA++){var vA=h((AA[aA]*z+50)/100);vA=Math.min(Math.max(vA,1),255),f[HA[aA]]=vA}for(var EA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],DA=0;DA<64;DA++){var MA=h((EA[DA]*z+50)/100);MA=Math.min(Math.max(MA,1),255),d[HA[DA]]=MA}for(var qA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],fe=0,Qe=0;Qe<8;Qe++)for(var Ue=0;Ue<8;Ue++)g[fe]=1/(f[HA[fe]]*qA[Qe]*qA[Ue]*8),m[fe]=1/(d[HA[fe]]*qA[Qe]*qA[Ue]*8),fe++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),s=L)}this.encode=function(L,z){z&&te(z),D=new Array,M=0,N=7,kA(65496),kA(65504),kA(16),_A(74),_A(70),_A(73),_A(70),_A(0),_A(1),_A(1),_A(0),kA(1),kA(1),_A(0),_A(0),function(){kA(65499),kA(132),_A(0);for(var ot=0;ot<64;ot++)_A(f[ot]);_A(1);for(var nt=0;nt<64;nt++)_A(d[nt])}(),function(ot,nt){kA(65472),kA(17),_A(8),kA(nt),kA(ot),_A(3),_A(1),_A(17),_A(0),_A(2),_A(17),_A(1),_A(3),_A(17),_A(1)}(L.width,L.height),function(){kA(65476),kA(418),_A(0);for(var ot=0;ot<16;ot++)_A(uA[ot+1]);for(var nt=0;nt<=11;nt++)_A(X[nt]);_A(16);for(var gr=0;gr<16;gr++)_A(CA[gr+1]);for(var Zt=0;Zt<=161;Zt++)_A(S[Zt]);_A(1);for(var St=0;St<16;St++)_A(R[St+1]);for(var qt=0;qt<=11;qt++)_A(iA[qt]);_A(17);for(var Yt=0;Yt<16;Yt++)_A(tA[Yt+1]);for(var Ze=0;Ze<=161;Ze++)_A(SA[Ze])}(),kA(65498),kA(12),_A(3),_A(1),_A(0),_A(2),_A(17),_A(3),_A(17),_A(0),_A(63),_A(0);var AA=0,aA=0,vA=0;M=0,N=7,this.encode.displayName="_encode_";for(var EA,DA,MA,qA,fe,Qe,Ue,tt,k,_e=L.data,Rt=L.width,ut=L.height,le=4*Rt,ct=0;ct>3)*le+(Ue=4*(7&k)),ct+tt>=ut&&(Qe-=le*(ct+1+tt-ut)),EA+Ue>=le&&(Qe-=EA+Ue-le+4),DA=_e[Qe++],MA=_e[Qe++],qA=_e[Qe++],sA[k]=(zA[DA]+zA[MA+256|0]+zA[qA+512|0]>>16)-128,eA[k]=(zA[DA+768|0]+zA[MA+1024|0]+zA[qA+1280|0]>>16)-128,W[k]=(zA[DA+1280|0]+zA[MA+1536|0]+zA[qA+1792|0]>>16)-128;AA=pe(sA,g,AA,t,r),aA=pe(eA,m,aA,e,n),vA=pe(W,m,vA,e,n),EA+=32}ct+=8}if(N>=0){var Re=[];Re[1]=N+1,Re[0]=(1<R;R++)if(X[CA+R]!=S.charCodeAt(R))return!0;return!1}function r(X,CA,S,R,iA){for(var tA=0;tAtA+1?[]:new CA),!(SA.length>>0;a&v;)v>>>=1;return v?(a&v-1)+v:a}function S(a,c,v,b,U){t(!(b%v));do a[c+(b-=v)]=U;while(0=U),512>=U)var x=s(512);else if((x=s(U))==null)return 0;return function(I,j,H,K,lA,xA){var G,BA,FA=j,VA=1<G;++G){if(QA[G]>1<(Tt-=QA[G]))return 0;for(;0=G;++G,lA<<=1){if(Pe+=Tt<<=1,0>(Tt-=QA[G]))return 0;for(;0ue&&!(0>=(YA-=QA[ue]));)++ue,YA<<=1;VA+=We=1<<(YA=ue-H),I[j+(ue=qe&ne)].g=YA+H,I[j+ue].value=FA-j-ue}K.g=G-H,K.value=xA[BA++],S(I,FA+(qe>>H),lA,We,K),qe=CA(qe,G)}}return Pe!=2*WA[15]-1?0:VA}(a,c,v,b,U,x)}function iA(){this.value=this.g=0}function tA(){this.value=this.g=0}function SA(){this.G=h(5,iA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(kl,tA)}function jA(a,c,v,b){t(a!=null),t(c!=null),t(2147483648>b),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=c,a.pa=v,a.Jd=c,a.Yc=v+b,a.Zc=4<=b?v+b-4+1:v,DA(a)}function PA(a,c){for(var v=0;0b),a.Sb=b,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;aA(a)&&(a.h=1,a.u=0)}function te(a,c){if(t(0<=c),!a.h&&c<=Hi){var v=AA(a)&ji[c];return a.u+=c,pe(a),v}return a.h=1,a.u=0}function L(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function AA(a){return a.Ra>>>(a.u&Po-1)>>>0}function aA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Po}function vA(a,c){a.u=c,a.h=aA(a)}function EA(a){a.u>=Wa&&(t(a.u>=Wa),pe(a))}function DA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&DA(a);var b=a.b,U=v*c>>>8,x=(a.I>>>b>U)+0;for(x?(v-=U,a.I-=U+1<>>0):v=U+1,b=v,U=0;256<=b;)U+=8,b>>=8;return b=7^U+Mo[b],a.b-=b,a.Ca=(v<>24&255,a[c+1]=v>>16&255,a[c+2]=v>>8&255,a[c+3]=255&v}function Qe(a,c){return a[c+0]|a[c+1]<<8}function Ue(a,c){return Qe(a,c)|a[c+2]<<16}function tt(a,c){return Qe(a,c)|Qe(a,c+2)<<16}function k(a,c){var v=1<=U||0>=x?0:(v[0]=U,b[0]=x,1)}function le(a,c){return a+(1<>>c}function ct(a,c){return((4278255360&a)+(4278255360&c)>>>0&4278255360)+((16711935&a)+(16711935&c)>>>0&16711935)>>>0}function Re(a,c){X[c]=function(v,b,U,x,I,j,H){var K;for(K=0;K>>1)+(a&c)>>>0}function gr(a){return 0<=a&&256>a?a:0>a?0:255>1))}function St(a,c,v){return Math.abs(c-v)-Math.abs(a-v)}function qt(a,c,v,b,U,x,I){for(b=x[I-1],v=0;v>8&255,H=16711935&(H=(H=16711935&I)+((j<<16)+j));b[U+x]=(4278255360&I)+H>>>0}}function Ze(a,c){c.jd=255&a,c.hd=a>>8&255,c.ud=a>>16&255}function Ht(a,c,v,b,U,x){var I;for(I=0;I>>8,K=j,lA=255&(lA=(lA=j>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));K=255&(K=(K+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(lA<<24>>24)>>>5)),U[x+I]=(4278255360&j)+(lA<<16)+K}}function $e(a,c,v,b,U){X[c]=function(x,I,j,H,K,lA,xA,G,BA){for(H=xA;H>x.b,BA=x.Ea,FA=x.K[0],VA=x.w;if(8>G)for(x=(1<>=G}else X["VP8LMapColor"+v](H,K,FA,VA,lA,xA,I,j,BA)}}function sn(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x}}function sr(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x,b[U++]=x>>24&255}}function Gt(a,c,v,b,U){for(v=c+v;c>16&240|I>>12&15,I=240&I|I>>28&15;b[U++]=x,b[U++]=I}}function Vt(a,c,v,b,U){for(v=c+v;c>16&248|I>>13&7,I=I>>5&224|I>>3&31;b[U++]=x,b[U++]=I}}function Rr(a,c,v,b,U){for(v=c+v;c>8&255,b[U++]=x>>16&255}}function it(a,c,v,b,U,x){if(x==0)for(v=c+v;c>24|x[1]>>8&65280|x[2]<<8&16711680|x[3]<<24)>>>0),U+=32;else r(b,U,a,c,v)}function Nr(a,c){X[c][0]=X[a+"0"],X[c][1]=X[a+"1"],X[c][2]=X[a+"2"],X[c][3]=X[a+"3"],X[c][4]=X[a+"4"],X[c][5]=X[a+"5"],X[c][6]=X[a+"6"],X[c][7]=X[a+"7"],X[c][8]=X[a+"8"],X[c][9]=X[a+"9"],X[c][10]=X[a+"10"],X[c][11]=X[a+"11"],X[c][12]=X[a+"12"],X[c][13]=X[a+"13"],X[c][14]=X[a+"0"],X[c][15]=X[a+"0"]}function vt(a){return a==ug||a==cg||a==Wd||a==fg}function Nt(){this.eb=[],this.size=this.A=this.fb=0}function kr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function zt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Nt,this.f.kb=new kr,this.sd=null}function ft(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Br(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function _l(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function qn(a,c){var v=a.T,b=c.ba.f.RGBA,U=b.eb,x=b.fb+a.ka*b.A,I=ls[c.ba.S],j=a.y,H=a.O,K=a.f,lA=a.N,xA=a.ea,G=a.W,BA=c.cc,FA=c.dc,VA=c.Mc,QA=c.Nc,WA=a.ka,YA=a.ka+a.T,ue=a.U,ne=ue+1>>1;for(WA==0?I(j,H,null,null,K,lA,xA,G,K,lA,xA,G,U,x,null,null,ue):(I(c.ec,c.fc,j,H,BA,FA,VA,QA,K,lA,xA,G,U,x-b.A,U,x,ue),++v);WA+2v,U=v==Gd||v==Vd||v==zd||v==lg||v==12||vt(v);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!df(c.Oa,a,U?11:12))return 0;if(U&&vt(v)&&cf(),a.da)alert("todo:use_scaling");else{if(b){if(c.Ib=_l,a.Kb){if(v=a.U+1>>1,c.memory=s(a.U+2*v),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+a.U,c.Mc=c.cc,c.Nc=c.dc+v,c.Ib=qn,cf()}}else alert("todo:EmitYUV");U&&(c.Jb=ja,b&&Ls())}if(b&&!w1){for(a=0;256>a;++a)BB[a]=89858*(a-128)+Jd>>Xd,mB[a]=-22014*(a-128)+Jd,wB[a]=-45773*(a-128),vB[a]=113618*(a-128)+Jd>>Xd;for(a=Ff;a>Xd,yB[a-Ff]=oa(c,255),bB[a-Ff]=oa(c+8>>4,15);w1=1}return 1}function ht(a){var c=a.ma,v=a.U,b=a.T;return t(!(1&a.ka)),0>=v||0>=b?0:(v=c.Ib(a,c),c.Jb!=null&&c.Jb(a,c,v),c.Dc+=v,1)}function Ha(a){a.ma.memory=null}function Da(a,c,v,b){return te(a,8)!=47?0:(c[0]=te(a,14)+1,v[0]=te(a,14)+1,b[0]=te(a,1),te(a,3)!=0?0:!a.h)}function es(a,c){if(4>a)return a+1;var v=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&v)))?v:1;var v}function $r(a,c,v){var b=AA(v),U=a[c+=255&b].g-8;return 0>>0,t(8>=v.g),a.g}function Mn(a,c,v){var b=a.xc;return t((c=b==0?0:a.vc[a.md*(v>>b)+(c>>b)])>We.b)*Pe;VAue&&(Xe=ue),(0,vf[$t[Qn++]>>8&15])(G,BA+ +Pt,WA,YA+Pt-ue,Xe-Pt,WA,YA+Pt),Pt=Xe}BA+=ue,YA+=ue,++VA&qe||(We+=Pe)}xA!=K.nc&&r(H,j-FA,H,j+(xA-lA-1)*FA,FA);break;case 1:for(FA=G,QA=BA,ue=(G=K.Ea)-(YA=G&~(WA=(BA=1<>K.b)*VA;lA=U),0x.o&&(b=x.o),v=b?v=0:(U[0]+=4*x.v,x.ka=v-x.j,x.U=x.va-x.v,x.T=b-v,v=1),v){if(j=j[0],11>(v=a.ca).S){var lA=v.f.RGBA,xA=(b=v.S,U=x.U,x=x.T,K=lA.eb,lA.A),G=x;for(lA=lA.fb+a.Ma*lA.A;0b){var U=a.l.width,x=v.ca,I=v.tb+U*b,j=a.V,H=a.Ba+a.c*b,K=a.gc;t(a.ab==1),t(K[0].hc==3),fa(K[0],b,c,j,H,x,I),sa(v,b,c,x,I,U)}a.C=a.Ma=c}function xs(a,c,v,b,U,x,I){var j=a.$/b,H=a.$%b,K=a.m,lA=a.s,xA=v+a.$,G=xA;U=v+b*U;var BA=v+b*x,FA=280+lA.ua,VA=a.Pb?j:16777216,QA=0=VA){var qe=xA-v;t((VA=a).Pb),VA.wd=VA.m,VA.xd=qe,0Tt.g?(vA(ne,ne.u+Tt.g),qe[Pe]=Tt.value,ne=0):(vA(ne,ne.u+Tt.g-256),t(256<=Tt.value),ne=Tt.value),ne==0&&(ue=!0)}else ne=$r(YA.G[0],YA.H[0],K);if(K.h)break;if(ue||256>ne){if(!ue)if(YA.nd)c[xA]=(YA.qb|ne<<8)>>>0;else{if(EA(K),ue=$r(YA.G[1],YA.H[1],K),EA(K),qe=$r(YA.G[2],YA.H[2],K),Pe=$r(YA.G[3],YA.H[3],K),K.h)break;c[xA]=(Pe<<24|ue<<16|ne<<8|qe)>>>0}if(ue=!1,++xA,++H>=b&&(H=0,++j,I!=null&&j<=x&&!(j%16)&&I(a,j),QA!=null))for(;G>>QA.Mb]=ne}else if(280>ne){if(ne=es(ne-256,K),qe=$r(YA.G[4],YA.H[4],K),EA(K),qe=ts(b,qe=es(qe,K)),K.h)break;if(xA-v=b;)H-=b,++j,I!=null&&j<=x&&!(j%16)&&I(a,j);if(t(xA<=U),H&WA&&(YA=Mn(lA,H,j)),QA!=null)for(;G>>QA.Mb]=ne}else{if(!(ne>>QA.Mb]=ne;ne=xA,t(!(ue>>>(qe=QA).Xa)),c[ne]=qe.X[ue],ue=!0}ue||t(K.h==aA(K))}if(a.Pb&&K.h&&xAx?x:j),a.a=0,a.$=xA-v}return 1}return a.a=3,0}function rs(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var c=a.Wa;c!=null&&(c.X=null),a.vb=null,t(a!=null)}function Il(){var a=new Ft;return a==null?null:(a.a=0,a.xb=h1,Nr("Predictor","VP8LPredictors"),Nr("Predictor","VP8LPredictors_C"),Nr("PredictorAdd","VP8LPredictorsAdd"),Nr("PredictorAdd","VP8LPredictorsAdd_C"),an=Yt,wf=Ht,mf=sn,Ro=sr,ko=Gt,Ko=Vt,Kl=Rr,X.VP8LMapColor32b=ca,X.VP8LMapColor8b=Bf,a)}function aa(a,c,v,b,U){var x=1,I=[a],j=[c],H=b.m,K=b.s,lA=null,xA=0;A:for(;;){if(v)for(;x&&te(H,1);){var G=I,BA=j,FA=b,VA=1,QA=FA.m,WA=FA.gc[FA.ab],YA=te(QA,2);if(FA.Oc&1<=FA.ab),YA){case 0:case 1:WA.b=te(QA,3)+2,VA=aa(le(WA.Ea,WA.b),le(WA.nc,WA.b),0,FA,WA.K),WA.K=WA.K[0];break;case 3:var ue,ne=te(QA,8)+1,qe=16>We.b),Qn=s($t);if(Qn==null)ue=0;else{var Pt=We.K[0],Xe=We.w;for(Qn[0]=We.K[0][0],Pe=1;Pe<1*Tt;++Pe)Qn[Pe]=ct(Pt[Xe+Pe],Qn[Pe-1]);for(;Pe<4*$t;++Pe)Qn[Pe]=0;We.K[0]=null,We.K[0]=Qn,ue=1}}VA=ue;break;case 2:break;default:t(0)}x=VA}}if(I=I[0],j=j[0],x&&te(H,1)&&!(x=1<=(xA=te(H,4))&&11>=xA)){b.a=3;break A}var be;if(be=x)e:{var ln,jt,tr,Or=b,Kn=I,ci=j,An=xA,$n=v,fi=Or.m,_n=Or.s,or=[null],br=1,en=0,Cr=nB[An];t:for(;;){if($n&&te(fi,1)){var Gn=te(fi,3)+2,Ns=le(Kn,Gn),un=le(ci,Gn),Fi=Ns*un;if(!aa(Ns,un,0,Or,or))break t;for(or=or[0],_n.xc=Gn,ln=0;ln>8&65535;or[ln]=xr,xr>=br&&(br=xr+1)}}if(fi.h)break t;for(jt=0;5>jt;++jt){var xn=c1[jt];!jt&&0=hi),Pi=Ti;var Ei=s(en);if(Pi==null||Ei==null||Oi==null){Or.a=1;break t}var Mi=Oi;for(ln=tr=0;lnjt;++jt){xn=c1[jt],Ri[jt]=Mi,js[jt]=tr,!jt&&0e0)break r}else vg=e0;for(Uf=0;UfGu)U1[Uf++]=Gu,Gu!=0&&(Q1=Gu);else{var SB=Gu==16,I1=Gu-16,NB=AB[I1],L1=te(Xo,$1[I1])+NB;if(Uf+L1>e0)break r;for(var jB=SB?Q1:0;0=jt){var Qf,mg=Ei[0];for(Qf=1;Qfmg&&(mg=Ei[Qf]);Vn+=mg}}if(Hr.nd=Za,Hr.Qb=0,Za&&(Hr.qb=(Ri[3][js[3]+0].value<<24|Ri[1][js[1]+0].value<<16|Ri[2][js[2]+0].value)>>>0,Vl==0&&256>Ri[0][js[0]+0].value&&(Hr.Qb=1,Hr.qb+=Ri[0][js[0]+0].value<<8)),Hr.jc=!Hr.Qb&&6>Vn,Hr.jc){var t0,Ya=Hr;for(t0=0;t0>=Dn(r0,8,Zo),Jo>>=Dn(Ya.G[1][Ya.H[1]+Jo],16,Zo),Jo>>=Dn(Ya.G[2][Ya.H[2]+Jo],0,Zo),Dn(Ya.G[3][Ya.H[3]+Jo],24,Zo))}}}_n.vc=or,_n.Wb=br,_n.Ya=Pi,_n.yc=Oi,be=1;break e}be=0}if(!(x=be)){b.a=3;break A}if(0b+1?[]:0),!(U.lengtha?0:a>c?c:a}function Hu(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Wp(){var a=new Qd;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,Cf||(Cf=Du)),a}function Bn(a,c,v){return a.a==0&&(a.a=c,a.sc=v,a.cb=0),0}function _d(a,c,v){return 3<=v&&a[c+0]==157&&a[c+1]==1&&a[c+2]==42}function la(a,c){if(a==null)return 0;if(a.a=0,a.sc="OK",c==null)return Bn(a,2,"null VP8Io passed to VP8GetHeaders()");var v=c.data,b=c.w,U=c.ha;if(4>U)return Bn(a,7,"Truncated header.");var x=v[b+0]|v[b+1]<<8|v[b+2]<<16,I=a.Od;if(I.Rb=!(1&x),I.td=x>>1&7,I.yd=x>>4&1,I.ub=x>>5,3U)return Bn(a,7,"cannot parse picture header");if(!_d(v,b,U))return Bn(a,3,"Bad code word");j.c=16383&(v[b+4]<<8|v[b+3]),j.Td=v[b+4]>>6,j.i=16383&(v[b+6]<<8|v[b+5]),j.Ud=v[b+6]>>6,b+=7,U-=7,a.za=j.c+15>>4,a.Ub=j.i+15>>4,c.width=j.c,c.height=j.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((x=a.Pa).jb,0,255,x.jb.length),t((x=a.Qa)!=null),x.Cb=0,x.Bb=0,x.Fb=1,n(x.Zb,0,0,x.Zb.length),n(x.Lb,0,0,x.Lb)}if(I.ub>U)return Bn(a,7,"bad partition length");jA(x=a.m,v,b,I.ub),b+=I.ub,U-=I.ub,I.Rb&&(j.Ld=MA(x),j.Kd=MA(x)),j=a.Qa;var H,K=a.Pa;if(t(x!=null),t(j!=null),j.Cb=MA(x),j.Cb){if(j.Bb=MA(x),MA(x)){for(j.Fb=MA(x),H=0;4>H;++H)j.Zb[H]=MA(x)?_A(x,7):0;for(H=0;4>H;++H)j.Lb[H]=MA(x)?_A(x,6):0}if(j.Bb)for(H=0;3>H;++H)K.jb[H]=MA(x)?PA(x,8):255}else j.Bb=0;if(x.Ka)return Bn(a,3,"cannot parse segment header");if((j=a.ed).zd=MA(x),j.Tb=PA(x,6),j.wb=PA(x,3),j.Pc=MA(x),j.Pc&&MA(x)){for(K=0;4>K;++K)MA(x)&&(j.vd[K]=_A(x,6));for(K=0;4>K;++K)MA(x)&&(j.od[K]=_A(x,6))}if(a.L=j.Tb==0?0:j.zd?1:2,x.Ka)return Bn(a,3,"cannot parse filter header");var lA=U;if(U=H=b,b=H+lA,j=lA,a.Xb=(1<j&&(xA=j),jA(a.Jc[+lA],v,H,xA),H+=xA,j-=xA,U+=3}jA(a.Jc[+K],v,H,j),v=HxA;++xA){if(lA.Cb){var G=lA.Zb[xA];lA.Fb||(G+=v)}else{if(0>16,8>BA.Eb[1]&&(BA.Eb[1]=8),BA.Qc[0]=hg[oa(G+K,117)],BA.Qc[1]=dg[oa(G+H,127)],BA.lc=G+H}if(!I.Rb)return Bn(a,4,"Not a key frame.");for(MA(x),I=a.Pa,v=0;4>v;++v){for(U=0;8>U;++U)for(b=0;3>b;++b)for(j=0;11>j;++j)K=qA(x,uB[v][U][b][j])?PA(x,8):oB[v][U][b][j],I.Wc[v][U].Yb[b][j]=K;for(U=0;17>U;++U)I.Xc[v][U]=I.Wc[v][cB[U]]}return a.kc=MA(x),a.kc&&(a.Bd=PA(x,8)),a.cb=1}function Du(a,c,v,b,U,x,I){var j=c[U].Yb[v];for(v=0;16>U;++U){if(!qA(a,j[v+0]))return U;for(;!qA(a,j[v+1]);)if(j=c[++U].Yb[0],v=0,U==16)return 16;var H=c[U+1].Yb;if(qA(a,j[v+2])){var K=a,lA=0;if(qA(K,(G=j)[(xA=v)+3]))if(qA(K,G[xA+6])){for(j=0,xA=2*(lA=qA(K,G[xA+8]))+(G=qA(K,G[xA+9+lA])),lA=0,G=sB[xA];G[j];++j)lA+=lA+qA(K,G[j]);lA+=3+(8<(K=a).b&&DA(K);var xA,G=K.b,BA=(xA=K.Ca>>1)-(K.I>>G)>>31;--K.b,K.Ca+=BA,K.Ca|=1,K.I-=(xA+1&BA)<>3),a[c+v+32*b]=-256&U?0>U?0:255:U}function Fn(a,c,v,b,U,x){is(a,c,0,v,b+U),is(a,c,1,v,b+x),is(a,c,2,v,b-x),is(a,c,3,v,b-U)}function Oa(a){return(20091*a>>16)+a}function Id(a,c,v,b){var U,x=0,I=s(16);for(U=0;4>U;++U){var j=a[c+0]+a[c+8],H=a[c+0]-a[c+8],K=(35468*a[c+4]>>16)-Oa(a[c+12]),lA=Oa(a[c+4])+(35468*a[c+12]>>16);I[x+0]=j+lA,I[x+1]=H+K,I[x+2]=H-K,I[x+3]=j-lA,x+=4,c++}for(U=x=0;4>U;++U)j=(a=I[x+0]+4)+I[x+8],H=a-I[x+8],K=(35468*I[x+4]>>16)-Oa(I[x+12]),is(v,b,0,0,j+(lA=Oa(I[x+4])+(35468*I[x+12]>>16))),is(v,b,1,0,H+K),is(v,b,2,0,H-K),is(v,b,3,0,j-lA),x++,b+=32}function Xp(a,c,v,b){var U=a[c+0]+4,x=35468*a[c+4]>>16,I=Oa(a[c+4]),j=35468*a[c+1]>>16;Fn(v,b,0,U+I,a=Oa(a[c+1]),j),Fn(v,b,1,U+x,a,j),Fn(v,b,2,U-x,a,j),Fn(v,b,3,U-I,a,j)}function Jp(a,c,v,b,U){Id(a,c,v,b),U&&Id(a,c+16,v,b+4)}function ua(a,c,v,b){Gl(a,c+0,v,b,1),Gl(a,c+32,v,b+128,1)}function Ld(a,c,v,b){var U;for(a=a[c+0]+4,U=0;4>U;++U)for(c=0;4>c;++c)is(v,b,c,U,a)}function Sd(a,c,v,b){a[c+0]&&vr(a,c+0,v,b),a[c+16]&&vr(a,c+16,v,b+4),a[c+32]&&vr(a,c+32,v,b+128),a[c+48]&&vr(a,c+48,v,b+128+4)}function Ou(a,c,v,b){var U,x=s(16);for(U=0;4>U;++U){var I=a[c+0+U]+a[c+12+U],j=a[c+4+U]+a[c+8+U],H=a[c+4+U]-a[c+8+U],K=a[c+0+U]-a[c+12+U];x[0+U]=I+j,x[8+U]=I-j,x[4+U]=K+H,x[12+U]=K-H}for(U=0;4>U;++U)I=(a=x[0+4*U]+3)+x[3+4*U],j=x[1+4*U]+x[2+4*U],H=x[1+4*U]-x[2+4*U],K=a-x[3+4*U],v[b+0]=I+j>>3,v[b+16]=K+H>>3,v[b+32]=I-j>>3,v[b+48]=K-H>>3,b+=64}function Sl(a,c,v){var b,U=c-32,x=Di,I=255-a[U-1];for(b=0;bv;++v)r(a,c+32*v,a,c-32,16)}function Nd(a,c){var v;for(v=16;0b;++b)n(c,v+32*b,a,16)}function $p(a,c){var v,b=16;for(v=0;16>v;++v)b+=a[c-1+32*v]+a[c+v-32];Is(b>>5,a,c)}function Nl(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c-1+32*v];Is(b>>4,a,c)}function rf(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c+v-32];Is(b>>4,a,c)}function Ag(a,c){Is(128,a,c)}function Qt(a,c,v){return a+2*c+v+2>>2}function eg(a,c){var v,b=c-32;for(b=new Uint8Array([Qt(a[b-1],a[b+0],a[b+1]),Qt(a[b+0],a[b+1],a[b+2]),Qt(a[b+1],a[b+2],a[b+3]),Qt(a[b+2],a[b+3],a[b+4])]),v=0;4>v;++v)r(a,c+32*v,b,0,b.length)}function tg(a,c){var v=a[c-1],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];fe(a,c+0,16843009*Qt(a[c-1-32],v,b)),fe(a,c+32,16843009*Qt(v,b,U)),fe(a,c+64,16843009*Qt(b,U,x)),fe(a,c+96,16843009*Qt(U,x,x))}function rg(a,c){var v,b=4;for(v=0;4>v;++v)b+=a[c+v-32]+a[c-1+32*v];for(b>>=3,v=0;4>v;++v)n(a,c+32*v,b,4)}function Ta(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+96]=Qt(b,U,a[c-1+96]),a[c+1+96]=a[c+0+64]=Qt(v,b,U),a[c+2+96]=a[c+1+64]=a[c+0+32]=Qt(x,v,b),a[c+3+96]=a[c+2+64]=a[c+1+32]=a[c+0+0]=Qt(I,x,v),a[c+3+64]=a[c+2+32]=a[c+1+0]=Qt(j,I,x),a[c+3+32]=a[c+2+0]=Qt(H,j,I),a[c+3+0]=Qt(K,H,j)}function Pa(a,c){var v=a[c+1-32],b=a[c+2-32],U=a[c+3-32],x=a[c+4-32],I=a[c+5-32],j=a[c+6-32],H=a[c+7-32];a[c+0+0]=Qt(a[c+0-32],v,b),a[c+1+0]=a[c+0+32]=Qt(v,b,U),a[c+2+0]=a[c+1+32]=a[c+0+64]=Qt(b,U,x),a[c+3+0]=a[c+2+32]=a[c+1+64]=a[c+0+96]=Qt(U,x,I),a[c+3+32]=a[c+2+64]=a[c+1+96]=Qt(x,I,j),a[c+3+64]=a[c+2+96]=Qt(I,j,H),a[c+3+96]=Qt(j,H,H)}function ng(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+0]=a[c+1+64]=x+I+1>>1,a[c+1+0]=a[c+2+64]=I+j+1>>1,a[c+2+0]=a[c+3+64]=j+H+1>>1,a[c+3+0]=H+K+1>>1,a[c+0+96]=Qt(U,b,v),a[c+0+64]=Qt(b,v,x),a[c+0+32]=a[c+1+96]=Qt(v,x,I),a[c+1+32]=a[c+2+96]=Qt(x,I,j),a[c+2+32]=a[c+3+96]=Qt(I,j,H),a[c+3+32]=Qt(j,H,K)}function ig(a,c){var v=a[c+0-32],b=a[c+1-32],U=a[c+2-32],x=a[c+3-32],I=a[c+4-32],j=a[c+5-32],H=a[c+6-32],K=a[c+7-32];a[c+0+0]=v+b+1>>1,a[c+1+0]=a[c+0+64]=b+U+1>>1,a[c+2+0]=a[c+1+64]=U+x+1>>1,a[c+3+0]=a[c+2+64]=x+I+1>>1,a[c+0+32]=Qt(v,b,U),a[c+1+32]=a[c+0+96]=Qt(b,U,x),a[c+2+32]=a[c+1+96]=Qt(U,x,I),a[c+3+32]=a[c+2+96]=Qt(x,I,j),a[c+3+64]=Qt(I,j,H),a[c+3+96]=Qt(j,H,K)}function Tu(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];a[c+0+0]=v+b+1>>1,a[c+2+0]=a[c+0+32]=b+U+1>>1,a[c+2+32]=a[c+0+64]=U+x+1>>1,a[c+1+0]=Qt(v,b,U),a[c+3+0]=a[c+1+32]=Qt(b,U,x),a[c+3+32]=a[c+1+64]=Qt(U,x,x),a[c+3+64]=a[c+2+64]=a[c+0+96]=a[c+1+96]=a[c+2+96]=a[c+3+96]=x}function nf(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96],I=a[c-1-32],j=a[c+0-32],H=a[c+1-32],K=a[c+2-32];a[c+0+0]=a[c+2+32]=v+I+1>>1,a[c+0+32]=a[c+2+64]=b+v+1>>1,a[c+0+64]=a[c+2+96]=U+b+1>>1,a[c+0+96]=x+U+1>>1,a[c+3+0]=Qt(j,H,K),a[c+2+0]=Qt(I,j,H),a[c+1+0]=a[c+3+32]=Qt(v,I,j),a[c+1+32]=a[c+3+64]=Qt(b,v,I),a[c+1+64]=a[c+3+96]=Qt(U,b,v),a[c+1+96]=Qt(x,U,b)}function jl(a,c){var v;for(v=0;8>v;++v)r(a,c+32*v,a,c-32,8)}function sg(a,c){var v;for(v=0;8>v;++v)n(a,c,a[c-1],8),c+=32}function Ma(a,c,v){var b;for(b=0;8>b;++b)n(c,v+32*b,a,8)}function ag(a,c){var v,b=8;for(v=0;8>v;++v)b+=a[c+v-32]+a[c-1+32*v];Ma(b>>4,a,c)}function sf(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c+v-32];Ma(b>>3,a,c)}function af(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c-1+32*v];Ma(b>>3,a,c)}function jd(a,c){Ma(128,a,c)}function Ra(a,c,v){var b=a[c-v],U=a[c+0],x=3*(U-b)+og[1020+a[c-2*v]-a[c+v]],I=kd[112+(x+4>>3)];a[c-v]=Di[255+b+kd[112+(x+3>>3)]],a[c+0]=Di[255+U-I]}function of(a,c,v,b){var U=a[c+0],x=a[c+v];return os[255+a[c-2*v]-a[c-v]]>b||os[255+x-U]>b}function Pu(a,c,v,b){return 4*os[255+a[c-v]-a[c+0]]+os[255+a[c-2*v]-a[c+v]]<=b}function lf(a,c,v,b,U){var x=a[c-3*v],I=a[c-2*v],j=a[c-v],H=a[c+0],K=a[c+v],lA=a[c+2*v],xA=a[c+3*v];return 4*os[255+j-H]+os[255+I-K]>b?0:os[255+a[c-4*v]-x]<=U&&os[255+x-I]<=U&&os[255+I-j]<=U&&os[255+xA-lA]<=U&&os[255+lA-K]<=U&&os[255+K-H]<=U}function Hl(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b,v,U)&&Ra(a,c+b,v)}function uf(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b*v,1,U)&&Ra(a,c+b*v,1)}function Hd(a,c,v,b){var U;for(U=3;0>7,WA=18*YA+63>>7,YA=9*YA+63>>7;H[K-3*lA]=Di[255+H[K-3*lA]+YA],H[K-2*lA]=Di[255+xA+WA],H[K-lA]=Di[255+G+QA],H[K+0]=Di[255+BA-QA],H[K+lA]=Di[255+FA-WA],H[K+2*lA]=Di[255+VA-YA]}c+=b}}function Ka(a,c,v,b,U,x,I,j){for(x=2*x+1;0>3)],VA=kd[112+(VA+3>>3)],QA=FA+1>>1;H[K-2*lA]=Di[255+H[K-2*lA]+QA],H[K-lA]=Di[255+xA+VA],H[K+0]=Di[255+G-FA],H[K+lA]=Di[255+BA-QA]}c+=b}}function Od(a,c,v,b,U,x){ka(a,c,v,1,16,b,U,x)}function Dl(a,c,v,b,U,x){ka(a,c,1,v,16,b,U,x)}function Td(a,c,v,b,U,x){var I;for(I=3;0K?0:255:K)&255,K=H,U[x+j]=lA}}function jr(a,c,v,b){var U=c.width,x=c.o;if(t(a!=null&&c!=null),0>v||0>=b||v+b>x)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Dt,(I=a.ga==null)||(I=c.width*c.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var j=a.Fa,H=a.P,K=a.qc,lA=a.mb,xA=a.nb,G=H+1,BA=K-1,FA=I.l;if(t(j!=null&&lA!=null&&c!=null),zo[0]=null,zo[1]=ar,zo[2]=Xr,zo[3]=vn,I.ca=lA,I.tb=xA,I.c=c.width,I.i=c.height,t(0=K)c=0;else if(I.$a=3&j[H+0],I.Z=j[H+0]>>2&3,I.Lc=j[H+0]>>4&3,H=j[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!c}if(I)return null;a.ga.Lc!=1?a.Ga=0:b=x-v}t(a.ga!=null),t(v+b<=x);A:{if(c=(j=a.ga).c,x=j.l.o,j.$a==0){if(G=a.rc,BA=a.Vc,FA=a.Fa,H=a.P+1+v*c,K=a.mb,lA=a.nb+v*c,t(H<=a.P+a.qc),j.Z!=0)for(t(zo[j.Z]!=null),I=0;I=c)c=1;else if(j.ic||Ls(),j.ic){j=I.V,G=I.Ba,BA=I.c;var VA=I.i,QA=(FA=1,H=I.$/BA,K=I.$%BA,lA=I.m,xA=I.s,I.$),WA=BA*VA,YA=BA*c,ue=xA.wc,ne=QA(VA=$r(ne.G[0],ne.H[0],lA)))j[G+QA]=VA,++QA,++K>=BA&&(K=0,++H<=c&&!(H%16)&&_s(I,H));else{if(!(280>VA)){FA=0;break e}VA=es(VA-256,lA);var qe,Pe=$r(ne.G[4],ne.H[4],lA);if(EA(lA),!(QA>=(Pe=ts(BA,Pe=es(Pe,lA)))&&WA-QA>=VA)){FA=0;break e}for(qe=0;qe=BA;)K-=BA,++H<=c&&!(H%16)&&_s(I,H);QAc?c:H);break e}!FA||lA.h&&QA=x&&(a.Cc=1),b=1}if(!b)return null;if(a.Cc&&((b=a.ga)!=null&&(b.mc=null),a.ga=null,0>23,j[H+4*I+1]=j[H+4*I+1]*xA>>23,j[H+4*I+2]=j[H+4*I+2]*xA>>23)}c+=x}}function wn(a,c,v,b,U){for(;0>4)*H>>16;a[c+2*x+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[c+2*x+1]=240&K|j}c+=U}}function Rn(a,c,v,b,U,x,I,j){var H,K,lA=255;for(K=0;K>8}function Ls(){bf=En,e1=wn,t1=Rn,r1=Ga}function Va(a,c,v){X[a]=function(b,U,x,I,j,H,K,lA,xA,G,BA,FA,VA,QA,WA,YA,ue){var ne,qe=ue-1>>1,Pe=j[H+0]|K[lA+0]<<16,Tt=xA[G+0]|BA[FA+0]<<16;t(b!=null);var We=3*Pe+Tt+131074>>2;for(c(b[U+0],255&We,We>>16,VA,QA),x!=null&&(We=3*Tt+Pe+131074>>2,c(x[I+0],255&We,We>>16,WA,YA)),ne=1;ne<=qe;++ne){var $t=j[H+ne]|K[lA+ne]<<16,Qn=xA[G+ne]|BA[FA+ne]<<16,Pt=Pe+$t+Tt+Qn+524296,Xe=Pt+2*($t+Tt)>>3;We=Xe+Pe>>1,Pe=(Pt=Pt+2*(Pe+Qn)>>3)+$t>>1,c(b[U+2*ne-1],255&We,We>>16,VA,QA+(2*ne-1)*v),c(b[U+2*ne-0],255&Pe,Pe>>16,VA,QA+(2*ne-0)*v),x!=null&&(We=Pt+Tt>>1,Pe=Xe+Qn>>1,c(x[I+2*ne-1],255&We,We>>16,WA,YA+(2*ne-1)*v),c(x[I+2*ne+0],255&Pe,Pe>>16,WA,YA+(2*ne+0)*v)),Pe=$t,Tt=Qn}1&ue||(We=3*Pe+Tt+131074>>2,c(b[U+ue-1],255&We,We>>16,VA,QA+(ue-1)*v),x!=null&&(We=3*Tt+Pe+131074>>2,c(x[I+ue-1],255&We,We>>16,WA,YA+(ue-1)*v)))}}function cf(){ls[Kd]=hB,ls[Gd]=d1,ls[l1]=dB,ls[Vd]=p1,ls[zd]=g1,ls[lg]=B1,ls[u1]=pB,ls[ug]=d1,ls[cg]=p1,ls[Wd]=g1,ls[fg]=B1}function Mu(a){return a&~gB?0>a?0:255:a>>v1}function Do(a,c){return Mu((19077*a>>8)+(26149*c>>8)-14234)}function Ol(a,c,v){return Mu((19077*a>>8)-(6419*c>>8)-(13320*v>>8)+8708)}function Tl(a,c){return Mu((19077*a>>8)+(33050*c>>8)-17685)}function Oo(a,c,v,b,U){b[U+0]=Do(a,v),b[U+1]=Ol(a,c,v),b[U+2]=Tl(a,c)}function kn(a,c,v,b,U){b[U+0]=Tl(a,c),b[U+1]=Ol(a,c,v),b[U+2]=Do(a,v)}function Pl(a,c,v,b,U){var x=Ol(a,c,v);c=x<<3&224|Tl(a,c)>>3,b[U+0]=248&Do(a,v)|x>>5,b[U+1]=c}function Ml(a,c,v,b,U){var x=240&Tl(a,c)|15;b[U+0]=240&Do(a,v)|Ol(a,c,v)>>4,b[U+1]=x}function ff(a,c,v,b,U){b[U+0]=255,Oo(a,c,v,b,U+1)}function hf(a,c,v,b,U){kn(a,c,v,b,U),b[U+3]=255}function ui(a,c,v,b,U){Oo(a,c,v,b,U),b[U+3]=255}function za(a,c,v){X[a]=function(b,U,x,I,j,H,K,lA,xA){for(var G=lA+(-2&xA)*v;lA!=G;)c(b[U+0],x[I+0],j[H+0],K,lA),c(b[U+1],x[I+0],j[H+0],K,lA+v),U+=2,++I,++H,lA+=2*v;1&xA&&c(b[U+0],x[I+0],j[H+0],K,lA)}}function Ru(a,c,v){return v==0?a==0?c==0?6:5:c==0?4:0:v}function Pd(a,c,v,b,U){switch(a>>>30){case 3:Gl(c,v,b,U,0);break;case 2:as(c,v,b,U);break;case 1:vr(c,v,b,U)}}function ss(a,c){var v,b,U=c.M,x=c.Nb,I=a.oc,j=a.pc+40,H=a.oc,K=a.pc+584,lA=a.oc,xA=a.pc+600;for(v=0;16>v;++v)I[j+32*v-1]=129;for(v=0;8>v;++v)H[K+32*v-1]=129,lA[xA+32*v-1]=129;for(0v;++v)r(I,j+32*v-4,I,j+32*v+12,4);for(v=-1;8>v;++v)r(H,K+32*v-4,H,K+32*v+4,4),r(lA,xA+32*v-4,lA,xA+32*v+4,4)}var BA=a.Gd,FA=a.Hd+b,VA=G.ad,QA=G.Hc;if(0=a.za-1?n(WA,YA,BA[FA].y[15],4):r(WA,YA,BA[FA+1].y,0,4)),v=0;4>v;v++)WA[YA+128+v]=WA[YA+256+v]=WA[YA+384+v]=WA[YA+0+v];for(v=0;16>v;++v,QA<<=2)WA=I,YA=j+m1[v],Ss[G.Ob[v]](WA,YA),Pd(QA,VA,16*+v,WA,YA)}else if(WA=Ru(b,U,G.Ob[0]),Vo[WA](I,j),QA!=0)for(v=0;16>v;++v,QA<<=2)Pd(QA,VA,16*+v,I,j+m1[v]);for(v=G.Gc,WA=Ru(b,U,G.Dd),Ja[WA](H,K),Ja[WA](lA,xA),QA=VA,WA=H,YA=K,255&(G=0|v)&&(170&G?ha(QA,256,WA,YA):_r(QA,256,WA,YA)),G=lA,QA=xA,255&(v>>=8)&&(170&v?ha(VA,320,G,QA):_r(VA,320,G,QA)),Uv;++v)r(BA,FA+v*a.R,I,j+32*v,16);for(v=0;8>v;++v)r(VA,G+v*a.B,H,K+32*v,8),r(QA,WA+v*a.B,lA,xA+32*v,8)}}function Rl(a,c,v,b,U,x,I,j,H){var K=[0],lA=[0],xA=0,G=H!=null?H.kd:0,BA=H!=null?H:new re;if(a==null||12>v)return 7;BA.data=a,BA.w=c,BA.ha=v,c=[c],v=[v],BA.gb=[BA.gb];A:{var FA=c,VA=v,QA=BA.gb;if(t(a!=null),t(VA!=null),t(QA!=null),QA[0]=0,12<=VA[0]&&!e(a,FA[0],"RIFF")){if(e(a,FA[0]+8,"WEBP")){QA=3;break A}var WA=tt(a,FA[0]+4);if(12>WA||4294967286VA[0]-8){QA=7;break A}QA[0]=WA,FA[0]+=12,VA[0]-=12}QA=0}if(QA!=0)return QA;for(WA=0QA[0])QA=7;else{if(!e(YA,VA[0],"VP8X")){if(tt(YA,VA[0]+4)!=10){QA=3;break A}if(18>QA[0]){QA=7;break A}var Pe=tt(YA,VA[0]+8),Tt=1+Ue(YA,VA[0]+12);if(2147483648<=Tt*(YA=1+Ue(YA,VA[0]+15))){QA=3;break A}qe!=null&&(qe[0]=Pe),ue!=null&&(ue[0]=Tt),ne!=null&&(ne[0]=YA),VA[0]+=18,QA[0]-=18,We[0]=1}QA=0}}if(xA=xA[0],FA=FA[0],QA!=0)return QA;if(VA=!!(2&FA),!WA&&xA)return 3;if(x!=null&&(x[0]=!!(16&FA)),I!=null&&(I[0]=VA),j!=null&&(j[0]=0),I=K[0],FA=lA[0],xA&&VA&&H==null){QA=0;break}if(4>v){QA=7;break}if(WA&&xA||!WA&&!xA&&!e(a,c[0],"ALPH")){v=[v],BA.na=[BA.na],BA.P=[BA.P],BA.Sa=[BA.Sa];A:{Pe=a,QA=c,WA=v;var We=BA.gb;ue=BA.na,ne=BA.P,qe=BA.Sa,Tt=22,t(Pe!=null),t(WA!=null),YA=QA[0];var $t=WA[0];for(t(ue!=null),t(qe!=null),ue[0]=null,ne[0]=null,qe[0]=0;;){if(QA[0]=YA,WA[0]=$t,8>$t){QA=7;break A}var Qn=tt(Pe,YA+4);if(4294967286We){QA=3;break A}if(!e(Pe,YA,"VP8 ")||!e(Pe,YA,"VP8L")){QA=0;break A}if($t[0]WA[0])QA=7;else{if(YA||Tt){if(We=tt(We,Pe+4),12<=ue&&We>ue-12){QA=3;break A}if(G&&We>WA[0]-8){QA=7;break A}ne[0]=We,QA[0]+=8,WA[0]-=8,qe[0]=Tt}else qe[0]=5<=WA[0]&&We[Pe+0]==47&&!(We[Pe+4]>>5),ne[0]=WA[0];QA=0}if(v=v[0],BA.Ja=BA.Ja[0],BA.xa=BA.xa[0],c=c[0],QA!=0)break;if(4294967286v){QA=7;break}j=I,G=FA,VA=x,a==null||5>v?a=0:5<=v&&a[c+0]==47&&!(a[c+4]>>5)?(WA=[0],We=[0],ue=[0],kA(ne=new z,a,c,v),Da(ne,WA,We,ue)?(j!=null&&(j[0]=WA[0]),G!=null&&(G[0]=We[0]),VA!=null&&(VA[0]=ue[0]),a=1):a=0):a=0}else{if(10>v){QA=7;break}j=FA,a==null||10>v||!_d(a,c+3,v-3)?a=0:(G=a[c+0]|a[c+1]<<8|a[c+2]<<16,VA=16383&(a[c+7]<<8|a[c+6]),a=16383&(a[c+9]<<8|a[c+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=BA.Ja||!VA||!a?a=0:(I&&(I[0]=VA),j&&(j[0]=a),a=1))}if(!a||(I=I[0],FA=FA[0],xA&&(K[0]!=I||lA[0]!=FA)))return 3;H!=null&&(H[0]=BA,H.offset=c-H.w,t(4294967286>c-H.w),t(H.offset==H.ha-v));break}return QA==0||QA==7&&xA&&H==null?(x!=null&&(x[0]|=BA.na!=null&&0v||(x&=-2,I&=-2),0>x||0>I||0>=j||0>=H||x+j>b||I+H>U))return 0;if(c.v=x,c.j=I,c.va=x+j,c.o=I+H,c.U=j,c.T=H,c.da=a!=null&&0a.S){var c=a.f.RGBA;c.fb+=(a.height-1)*c.A,c.A=-c.A}else c=a.f.kb,a=a.height,c.O+=(a-1)*c.fa,c.fa=-c.fa,c.N+=(a-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(a-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(a-1)*c.lb,c.lb=-c.lb);return 0}function To(a,c,v,b){if(b==null||0>=a||0>=c)return 2;if(v!=null){if(v.Da){var U=v.cd,x=v.bd,I=-2&v.v,j=-2&v.j;if(0>I||0>j||0>=U||0>=x||I+U>a||j+x>c)return 2;a=U,c=x}if(v.da){if(!ut(a,c,U=[v.ib],x=[v.hb]))return 2;a=U[0],c=x[0]}}b.width=a,b.height=c;A:{var H=b.width,K=b.height;if(a=b.S,0>=H||0>=K||!(a>=Kd&&13>a))a=2;else{if(0>=b.Rd&&b.sd==null){I=x=U=c=0;var lA=(j=H*y1[a])*K;if(11>a||(x=(K+1)/2*(c=(H+1)/2),a==12&&(I=(U=H)*K)),(K=s(lA+2*x+I))==null){a=1;break A}b.sd=K,11>a?((H=b.f.RGBA).eb=K,H.fb=0,H.A=j,H.size=lA):((H=b.f.kb).y=K,H.O=0,H.fa=j,H.Fd=lA,H.f=K,H.N=0+lA,H.Ab=c,H.Cd=x,H.ea=K,H.W=0+lA+x,H.Db=c,H.Ed=x,a==12&&(H.F=K,H.J=0+lA+2*x),H.Tc=I,H.lb=U)}if(c=1,U=b.S,x=b.width,I=b.height,U>=Kd&&13>U)if(11>U)a=b.f.RGBA,c&=(j=Math.abs(a.A))*(I-1)+x<=a.size,c&=j>=x*y1[U],c&=a.eb!=null;else{a=b.f.kb,j=(x+1)/2,lA=(I+1)/2,H=Math.abs(a.fa),K=Math.abs(a.Ab);var xA=Math.abs(a.Db),G=Math.abs(a.lb),BA=G*(I-1)+x;c&=H*(I-1)+x<=a.Fd,c&=K*(lA-1)+j<=a.Cd,c=(c&=xA*(lA-1)+j<=a.Ed)&H>=x&K>=j&xA>=j,c&=a.y!=null,c&=a.f!=null,c&=a.ea!=null,U==12&&(c&=G>=x,c&=BA<=a.Tc,c&=a.F!=null)}else c=0;a=c?0:2}}return a!=0||v!=null&&v.fd&&(a=pf(b)),a}var kl=64,ji=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Hi=24,Po=32,Wa=8,Mo=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Re("Predictor0","PredictorAdd0"),X.Predictor0=function(){return 4278190080},X.Predictor1=function(a){return a},X.Predictor2=function(a,c,v){return c[v+0]},X.Predictor3=function(a,c,v){return c[v+1]},X.Predictor4=function(a,c,v){return c[v-1]},X.Predictor5=function(a,c,v){return nt(nt(a,c[v+1]),c[v+0])},X.Predictor6=function(a,c,v){return nt(a,c[v-1])},X.Predictor7=function(a,c,v){return nt(a,c[v+0])},X.Predictor8=function(a,c,v){return nt(c[v-1],c[v+0])},X.Predictor9=function(a,c,v){return nt(c[v+0],c[v+1])},X.Predictor10=function(a,c,v){return nt(nt(a,c[v-1]),nt(c[v+0],c[v+1]))},X.Predictor11=function(a,c,v){var b=c[v+0];return 0>=St(b>>24&255,a>>24&255,(c=c[v-1])>>24&255)+St(b>>16&255,a>>16&255,c>>16&255)+St(b>>8&255,a>>8&255,c>>8&255)+St(255&b,255&a,255&c)?b:a},X.Predictor12=function(a,c,v){var b=c[v+0];return(gr((a>>24&255)+(b>>24&255)-((c=c[v-1])>>24&255))<<24|gr((a>>16&255)+(b>>16&255)-(c>>16&255))<<16|gr((a>>8&255)+(b>>8&255)-(c>>8&255))<<8|gr((255&a)+(255&b)-(255&c)))>>>0},X.Predictor13=function(a,c,v){var b=c[v-1];return(Zt((a=nt(a,c[v+0]))>>24&255,b>>24&255)<<24|Zt(a>>16&255,b>>16&255)<<16|Zt(a>>8&255,b>>8&255)<<8|Zt(255&a,255&b))>>>0};var gf=X.PredictorAdd0;X.PredictorAdd1=qt,Re("Predictor2","PredictorAdd2"),Re("Predictor3","PredictorAdd3"),Re("Predictor4","PredictorAdd4"),Re("Predictor5","PredictorAdd5"),Re("Predictor6","PredictorAdd6"),Re("Predictor7","PredictorAdd7"),Re("Predictor8","PredictorAdd8"),Re("Predictor9","PredictorAdd9"),Re("Predictor10","PredictorAdd10"),Re("Predictor11","PredictorAdd11"),Re("Predictor12","PredictorAdd12"),Re("Predictor13","PredictorAdd13");var ku=X.PredictorAdd2;$e("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),$e("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var an,Md=X.ColorIndexInverseTransform,ca=X.MapARGB,fa=X.VP8LColorIndexInverseTransformAlpha,Bf=X.MapAlpha,vf=X.VP8LPredictorsAdd=[];vf.length=16,(X.VP8LPredictors=[]).length=16,(X.VP8LPredictorsAdd_C=[]).length=16,(X.VP8LPredictors_C=[]).length=16;var wf,mf,Ro,ko,Ko,Kl,Go,Gl,as,ha,vr,_r,on,Un,Xa,yf,Ku,Rd,Jg,Zg,Yg,qg,$g,A1,bf,e1,t1,r1,n1=s(511),i1=s(2041),s1=s(225),a1=s(767),o1=0,og=i1,kd=s1,Di=a1,os=n1,Kd=0,Gd=1,l1=2,Vd=3,zd=4,lg=5,u1=6,ug=7,cg=8,Wd=9,fg=10,$1=[2,3,7],AB=[3,3,11],c1=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,hg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],dg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Cf=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],f1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],uB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],cB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Vo=[],Ss=[],Ja=[],fB=1,h1=2,zo=[],ls=[];Va("UpsampleRgbLinePair",Oo,3),Va("UpsampleBgrLinePair",kn,3),Va("UpsampleRgbaLinePair",ui,4),Va("UpsampleBgraLinePair",hf,4),Va("UpsampleArgbLinePair",ff,4),Va("UpsampleRgba4444LinePair",Ml,2),Va("UpsampleRgb565LinePair",Pl,2);var hB=X.UpsampleRgbLinePair,dB=X.UpsampleBgrLinePair,d1=X.UpsampleRgbaLinePair,p1=X.UpsampleBgraLinePair,g1=X.UpsampleArgbLinePair,B1=X.UpsampleRgba4444LinePair,pB=X.UpsampleRgb565LinePair,Xd=16,Jd=1<b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&Ls()),b.Pb&&0(H=v.Md)?0:100K;++K)12>(xA=U.pb[K]).lc&&(xA.ia=H*CB[0>xA.lc?0:xA.lc]>>3),lA|=xA.ia;lA&&(alert("todo:VP8InitRandom"),U.ia=1)}U.Ga=v.Id,100U.Ga&&(U.Ga=0)}(function(G,BA){if(G==null)return 0;if(BA==null)return Bn(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!la(G,BA))return 0;if(t(G.cb),BA.ac==null||BA.ac(BA)){BA.ob&&(G.L=0);var FA=Zd[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=BA.v-FA>>4,G.zb=BA.j-FA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=BA.o+15+FA>>4,G.Hb=BA.va+15+FA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0FA;++FA){var QA;if(G.Qa.Cb){var WA=G.Qa.Lb[FA];G.Qa.Fb||(WA+=VA.Tb)}else WA=VA.Tb;for(QA=0;1>=QA;++QA){var YA=G.gd[FA][QA],ue=WA;if(VA.Pc&&(ue+=VA.vd[0],QA&&(ue+=VA.od[0])),0<(ue=0>ue?0:63>2:ne>>1)>9-VA.wb&&(ne=9-VA.wb),1>ne&&(ne=1),YA.dd=ne,YA.tc=2*ue+ne,YA.ld=40<=ue?2:15<=ue?1:0}else YA.tc=0;YA.La=QA}}}FA=0}else Bn(G,6,"Frame setup failed"),FA=G.a;if(FA=FA==0){if(FA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){FA=Bn(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,ue=G.Fc,G.Ac=YA,G.Bc=ue,ue+=VA,G.Gd=h(qe,Ud),G.Hd=0,G.rb=h(Pe+1,Af),G.sb=1,G.wa=Tt?h(Tt,ns):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=FA;++FA)n1[255+FA]=0>FA?-FA:FA;for(FA=-1020;1020>=FA;++FA)i1[1020+FA]=-128>FA?-128:127=FA;++FA)s1[112+FA]=-16>FA?-16:15=FA;++FA)a1[255+FA]=0>FA?0:255tr;++tr){var _n,or=ci[0+tr];for(_n=0;4>_n;++_n){or=lB[Or[Kn+_n]][or];for(var br=f1[qA(jt,or[0])];0>3;for(br=0;256>br;br+=16)tr[$n+br]=Fi}Gn=1,Ns=Kn[0]}var xr=15&jt.la,xn=15&fi.la;for(br=0;4>br;++br){var Oi=1&xn;for(Fi=Cr=0;4>Fi;++Fi)xr=xr>>1|(Oi=(un=Cf(Or,Ns,un=Oi+(1&xr),An.Sc,Gn,tr,$n))>Gn)<<7,Cr=Cr<<2|(3>=4,xn=xn>>1|Oi<<7,_n=(_n<<8|Cr)>>>0}for(Ns=xr,Gn=xn>>4,en=0;4>en;en+=2){for(Cr=0,xr=jt.la>>4+en,xn=fi.la>>4+en,br=0;2>br;++br){for(Oi=1&xn,Fi=0;2>Fi;++Fi)un=Oi+(1&xr),xr=xr>>1|(Oi=0<(un=Cf(Or,Kn[2],un,An.Qc,0,tr,$n)))<<3,Cr=Cr<<2|(3>=2,xn=xn>>1|Oi<<5}or|=Cr<<4*en,Ns|=xr<<4<=Xe.zb&&Xe.M<=Xe.Va,Xe.Aa==0)e:{if(Pt.M=Xe.M,Pt.uc=jt,ss(Xe,Pt),ln=1,Pt=(Cr=Xe.D).Nb,jt=(or=Zd[Xe.L])*Xe.R,Or=or/2*Xe.B,br=16*Pt*Xe.R,Fi=8*Pt*Xe.B,Kn=Xe.sa,ci=Xe.ta-jt+br,An=Xe.qa,tr=Xe.ra-Or+Fi,$n=Xe.Ha,fi=Xe.Ia-Or+Fi,xn=(xr=Cr.M)==0,_n=xr>=Xe.Va-1,Xe.Aa==2&&ss(Xe,Cr),Cr.uc)for(Oi=(un=Xe).D.M,t(un.D.uc),Cr=un.yb;Crbe.o&&(xr=be.o),be.F=null,be.J=null,Xe.Fa!=null&&0>1),be.W+=Xe.B*(or>>1),be.F!=null&&(be.J+=be.width*or)),Cr>1,be.W+=be.v>>1,be.F!=null&&(be.J+=be.v),be.ka=Cr-be.j,be.U=be.va-be.v,be.T=xr-Cr,ln=be.put(be))}Pt+1!=Xe.Ic||_n||(r(Xe.sa,Xe.ta-jt,Kn,ci+16*Xe.R,jt),r(Xe.qa,Xe.ra-Or,An,tr+8*Xe.B,Or),r(Xe.Ha,Xe.Ia-Or,$n,fi+8*Xe.B,Or))}if(!ln)return Bn($t,6,"Output aborted.")}return 1}(G,BA)),BA.bc!=null&&BA.bc(BA),FA&=1}return FA?(G.cb=0,FA):0})(a,b)||(c=a.a)}}else c=a.a}c==0&&I.Oa!=null&&I.Oa.fd&&(c=pf(I.ba))}I=c}x=I!=0?null:11>x?j.f.RGBA.eb:j.f.kb.y}else x=null;return x};var y1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(X,CA){for(var S="",R=0;R<4;R++)S+=String.fromCharCode(X[CA++]);return S}function m(X,CA){return X[CA+0]|X[CA+1]<<8}function F(X,CA){return(X[CA+0]|X[CA+1]<<8|X[CA+2]<<16)>>>0}function _(X,CA){return(X[CA+0]|X[CA+1]<<8|X[CA+2]<<16|X[CA+3]<<24)>>>0}new d;var w=[0],P=[0],D=[],M=new d,N=A,sA=function(X,CA){var S={},R=0,iA=!1,tA=0,SA=0;if(S.frames=[],!function(L,z){for(var AA=0;AA<4;AA++)if(L[z+AA]!="RIFF".charCodeAt(AA))return!0;return!1}(X,CA)){for(_(X,CA+=4),CA+=8;CA>1&1}jA!="ANMF"&&(CA+=_A)}return S}}(N,0);sA.response=N,sA.rgbaoutput=!0,sA.dataurl=!1;var eA=sA.header?sA.header:null,W=sA.frames?sA.frames:null;if(eA){eA.loop_counter=eA.loop_count,w=[eA.canvas_height],P=[eA.canvas_width];for(var IA=0;IA=2?k[1]:_e[0],_e[2]=k.length>=3?k[2]:_e[0],_e[3]=k.length>=4?k[3]:_e[1]),g.margin=_e}});var DA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return DA},set:function(k){DA=k}});var MA=0;Object.defineProperty(this,"lastBreak",{get:function(){return MA},set:function(k){MA=k}});var qA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return qA},set:function(k){qA=k}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(k){k instanceof m&&(g=k)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(k){g.path=k}});var fe=[];Object.defineProperty(this,"ctxStack",{get:function(){return fe},set:function(k){fe=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var _e;_e=_(k),this.ctx.fillStyle=_e.style,this.ctx.isFillTransparent=_e.a===0,this.ctx.fillOpacity=_e.a,this.pdf.setFillColor(_e.r,_e.g,_e.b,{a:_e.a}),this.pdf.setTextColor(_e.r,_e.g,_e.b,{a:_e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var _e=_(k);this.ctx.strokeStyle=_e.style,this.ctx.isStrokeTransparent=_e.a===0,this.ctx.strokeOpacity=_e.a,_e.a===0?this.pdf.setDrawColor(255,255,255):(_e.a,this.pdf.setDrawColor(_e.r,_e.g,_e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var Qe=null,Ue=null,tt=null;Object.defineProperty(this,"fontFaces",{get:function(){return tt},set:function(k){Qe=null,Ue=null,tt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var _e;if(this.ctx.font=k,(_e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(k))!==null){var Rt=_e[1];_e[2];var ut=_e[3],le=_e[4];_e[5];var ct=_e[6],Re=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(le)[2];le=Math.floor(Re==="px"?parseFloat(le)*this.pdf.internal.scaleFactor:Re==="em"?parseFloat(le)*this.pdf.getFontSize():parseFloat(le)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(le);var ot=function($e){var sn,sr,Gt=[],Vt=$e.trim();if(Vt==="")return Kp;if(Vt in ea)return[ea[Vt]];for(;Vt!=="";){switch(sr=null,sn=(Vt=ta(Vt)).charAt(0)){case'"':case"'":sr=Fs(Vt.substring(1),sn);break;default:sr=No(Vt)}if(sr===null||(Gt.push(sr[0]),(Vt=ta(sr[1]))!==""&&Vt.charAt(0)!==","))return Kp;Vt=Vt.replace(/^,/,"")}return Gt}(ct);if(this.fontFaces){var nt=function($e,sn){var sr=$e.getFontList(),Gt=JSON.stringify(sr);if(Qe===null||Ue!==Gt){var Vt=function(Rr){var it=[];return Object.keys(Rr).forEach(function(Nr){Rr[Nr].forEach(function(vt){var Nt=null;switch(vt){case"bold":Nt={family:Nr,weight:"bold"};break;case"italic":Nt={family:Nr,style:"italic"};break;case"bolditalic":Nt={family:Nr,weight:"bold",style:"italic"};break;case"":case"normal":Nt={family:Nr}}Nt!==null&&(Nt.ref={name:Nr,style:vt},it.push(Nt))})}),it}(sr);Qe=function(Rr){for(var it={},Nr=0;Nr=700||Rt==="bold")&&(St="bold"),Rt==="italic"&&(St+="italic"),St.length===0&&(St="normal");for(var qt="",Yt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ze=0;Ze=2*Math.PI&&(aA=0,vA=2*Math.PI),this.path.push({type:"arc",x:L,y:z,radius:AA,startAngle:aA,endAngle:vA,counterclockwise:EA})},F.prototype.arcTo=function(L,z,AA,aA,vA){throw new Error("arcTo not implemented.")},F.prototype.rect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,z),this.lineTo(L+AA,z),this.lineTo(L+AA,z+aA),this.lineTo(L,z+aA),this.lineTo(L,z),this.lineTo(L+AA,z),this.lineTo(L,z)},F.prototype.fillRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!w.call(this)){var vA={};this.lineCap!=="butt"&&(vA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(vA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,z,AA,aA),this.fill(),vA.hasOwnProperty("lineCap")&&(this.lineCap=vA.lineCap),vA.hasOwnProperty("lineJoin")&&(this.lineJoin=vA.lineJoin)}},F.prototype.strokeRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");P.call(this)||(this.beginPath(),this.rect(L,z,AA,aA),this.stroke())},F.prototype.clearRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,z,AA,aA))},F.prototype.save=function(L){L=typeof L!="boolean"||L;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,AA=0;AA0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};F.prototype.drawImage=function(L,z,AA,aA,vA,EA,DA,MA,qA){var fe=this.pdf.getImageProperties(L),Qe=1,Ue=1,tt=1,k=1;aA!==void 0&&MA!==void 0&&(tt=MA/aA,k=qA/vA,Qe=fe.width/aA*MA/aA,Ue=fe.height/vA*qA/vA),EA===void 0&&(EA=z,DA=AA,z=0,AA=0),aA!==void 0&&MA===void 0&&(MA=aA,qA=vA),aA===void 0&&MA===void 0&&(MA=fe.width,qA=fe.height);var _e=this.ctx.transform.decompose(),Rt=_A(_e.rotate.shx),ut=new d,le=(ut=(ut=(ut=ut.multiply(_e.translate)).multiply(_e.skew)).multiply(_e.scale)).applyToRectangle(new f(EA-z*tt,DA-AA*k,aA*Qe,vA*Ue));if(this.autoPaging){for(var ct,Re=M.call(this,le),ot=[],nt=0;ntgr||Stle||Re0)){for(;qA>=0;qA--)if(vA[qA-1].close!==!0&&vA[qA-1].begin!==!0){vA[qA-1].deltas.push(AA),vA[qA-1].abs.push(MA);break}}break;case"bct":AA=[MA.x1-EA[DA-1].x,MA.y1-EA[DA-1].y,MA.x2-EA[DA-1].x,MA.y2-EA[DA-1].y,MA.x-EA[DA-1].x,MA.y-EA[DA-1].y],vA[vA.length-1].deltas.push(AA);break;case"qct":var fe=EA[DA-1].x+2/3*(MA.x1-EA[DA-1].x),Qe=EA[DA-1].y+2/3*(MA.y1-EA[DA-1].y),Ue=MA.x+2/3*(MA.x1-MA.x),tt=MA.y+2/3*(MA.y1-MA.y),k=MA.x,_e=MA.y;AA=[fe-EA[DA-1].x,Qe-EA[DA-1].y,Ue-EA[DA-1].x,tt-EA[DA-1].y,k-EA[DA-1].x,_e-EA[DA-1].y],vA[vA.length-1].deltas.push(AA);break;case"arc":vA.push({deltas:[],abs:[],arc:!0}),Array.isArray(vA[vA.length-1].abs)&&vA[vA.length-1].abs.push(MA)}}aA=z?null:L==="stroke"?"stroke":"fill";for(var Rt=!1,ut=0;ut=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale);var Ht=this.autoPaging!=="text";if(Ht||Ze.y+Ze.h<=nt){if(Ht||Ze.y>=Re&&Ze.x<=Zt){var $e=Ht?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Zt-Ze.x)[0],sn=sA([JSON.parse(JSON.stringify(Ue))],this.posX+this.margin[3],-qt+Re+this.ctx.prevPageLastElemOffset)[0],sr=Ht&&(ct>ut||ct=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)}}else L.scale>=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale),this.pdf.text(L.text,qA.x+this.posX,qA.y+this.posY,{angle:L.angle,align:z,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)},iA=function(L,z,AA,aA){AA=AA||0,aA=aA||0,this.pdf.internal.out(e(L+AA)+" "+r(z+aA)+" l")},tA=function(L,z,AA){return this.pdf.lines(L,z,AA,null,null)},SA=function(L,z,AA,aA,vA,EA,DA,MA){this.pdf.internal.out([t(n(AA+L)),t(s(aA+z)),t(n(vA+L)),t(s(EA+z)),t(n(DA+L)),t(s(MA+z)),"c"].join(" "))},jA=function(L,z,AA,aA){for(var vA=2*Math.PI,EA=Math.PI/2;z>AA;)z-=vA;var DA=Math.abs(AA-z);DA1e-5;){var Qe=fe+qA*Math.min(DA,EA);MA.push(PA.call(this,L,fe,Qe)),DA-=Math.abs(Qe-fe),fe=Qe}return MA},PA=function(L,z,AA){var aA=(AA-z)/2,vA=L*Math.cos(aA),EA=L*Math.sin(aA),DA=vA,MA=-EA,qA=DA*DA+MA*MA,fe=qA+DA*vA+MA*EA,Qe=4/3*(Math.sqrt(2*qA*fe)-fe)/(DA*EA-MA*vA),Ue=DA-Qe*MA,tt=MA+Qe*DA,k=Ue,_e=-tt,Rt=aA+z,ut=Math.cos(Rt),le=Math.sin(Rt);return{x1:L*Math.cos(z),y1:L*Math.sin(z),x2:Ue*ut-tt*le,y2:Ue*le+tt*ut,x3:k*ut-_e*le,y3:k*le+_e*ut,x4:L*Math.cos(AA),y4:L*Math.sin(AA)}},_A=function(L){return 180*L/Math.PI},kA=function(L,z,AA,aA,vA,EA){var DA=L+.5*(AA-L),MA=z+.5*(aA-z),qA=vA+.5*(AA-vA),fe=EA+.5*(aA-EA),Qe=Math.min(L,vA,DA,qA),Ue=Math.max(L,vA,DA,qA),tt=Math.min(z,EA,MA,fe),k=Math.max(z,EA,MA,fe);return new f(Qe,tt,Ue-Qe,k-tt)},pe=function(L,z,AA,aA,vA,EA,DA,MA){var qA,fe,Qe,Ue,tt,k,_e,Rt,ut,le,ct,Re,ot,nt,gr=AA-L,Zt=aA-z,St=vA-AA,qt=EA-aA,Yt=DA-vA,Ze=MA-EA;for(fe=0;fe<41;fe++)ut=(_e=(Qe=L+(qA=fe/40)*gr)+qA*((tt=AA+qA*St)-Qe))+qA*(tt+qA*(vA+qA*Yt-tt)-_e),le=(Rt=(Ue=z+qA*Zt)+qA*((k=aA+qA*qt)-Ue))+qA*(k+qA*(EA+qA*Ze-k)-Rt),fe==0?(ct=ut,Re=le,ot=ut,nt=le):(ct=Math.min(ct,ut),Re=Math.min(Re,le),ot=Math.max(ot,ut),nt=Math.max(nt,le));return new f(Math.round(ct),Math.round(Re),Math.round(ot-ct),Math.round(nt-Re))},te=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,z,AA=(L=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:z}));this.prevLineDash!==AA&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=AA)}}})(ze.API),function(A){var t=function(h){var f,d,g,m,F,_,w,P,D,M;for(/[^\x00-\xFF]/.test(h),d=[],g=0,m=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;m>g;g+=4)(F=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(_=(F=((F=((F=((F=(F-(M=F%85))/85)-(D=F%85))/85)-(P=F%85))/85)-(w=F%85))/85)%85,d.push(_+33,w+33,P+33,D+33,M+33)):d.push(122);return function(N,sA){for(var eA=sA;eA>0;eA--)N.pop()}(d,f.length),String.fromCharCode.apply(String,d)+"~>"},e=function(h){var f,d,g,m,F,_=String,w="length",P=255,D="charCodeAt",M="slice",N="replace";for(h[M](-2),h=h[M](0,-2)[N](/\s/g,"")[N]("z","!!!!!"),g=[],m=0,F=(h+=f="uuuuu"[M](h[w]%5||5))[w];F>m;m+=5)d=52200625*(h[D](m)-33)+614125*(h[D](m+1)-33)+7225*(h[D](m+2)-33)+85*(h[D](m+3)-33)+(h[D](m+4)-33),g.push(P&d>>24,P&d>>16,P&d>>8,P&d);return function(sA,eA){for(var W=eA;W>0;W--)sA.pop()}(g,f[w]),_.fromCharCode.apply(_,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var d="",g=0;gD&&(P=M,M=D,D=P);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",D>M&&(P=M,M=D,D=P)}return{width:M,height:D,unit:d,k:F,orientation:f}},A.html=function(f,d){(d=d||{}).callback=d.callback||function(){},d.html2canvas=d.html2canvas||{},d.html2canvas.canvas=d.html2canvas.canvas||this.canvas,d.jsPDF=d.jsPDF||this,d.fontFaces=d.fontFaces?d.fontFaces.map(Ci):null;var g=new h(d);return d.worker?g:g.from(f).doCallback()}}(ze.API),ze.API.addJS=function(A){return Ng=A,this.internal.events.subscribe("postPutResources",function(){ra=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ra+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Sg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ng+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ra!==void 0&&Sg!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var w=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+w+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var d=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+d.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var PA="",_A=0,kA=R.transparency.length;_A>",D.content=s;var eA=D.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=3};var m=A.__arabicParser__.arabicLetterHasMedialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length==4},F=A.__arabicParser__.resolveLigatures=function(D){var M=0,N=e,sA="",eA=0;for(M=0;M>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ze.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var d=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return d},set:function(D){d=D}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(D){g=D}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(D){m=D}});var F=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return F},set:function(D){F=D}});var _=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _},set:function(D){_=D}});var w=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return w},set:function(D){w=D}});var P=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return P},set:function(D){P=D}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(d){return r.call(this),this.internal.__cell__.headerFunction=typeof d=="function"?d:void 0,this},A.getTextDimensions=function(d,g){r.call(this);var m=(g=g||{}).fontSize||this.getFontSize(),F=g.font||this.getFont(),_=g.scaleFactor||this.internal.scaleFactor,w=0,P=0,D=0,M=this;if(!Array.isArray(d)&&typeof d!="string"){if(typeof d!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");d=String(d)}var N=g.maxWidth;N>0?typeof d=="string"?d=this.splitTextToSize(d,N):Object.prototype.toString.call(d)==="[object Array]"&&(d=d.reduce(function(eA,W){return eA.concat(M.splitTextToSize(W,N))},[])):d=Array.isArray(d)?d:[d];for(var sA=0;sAthis.getPageHeight()?(this.cellAddPage(),d.y=F.top,w&&_&&(this.printHeaderRow(d.lineNumber,!0),d.y+=_[0].height)):d.y=g.y+g.height||d.y),d.text[0]!==void 0&&(this.rect(d.x,d.y,d.width,d.height,e===!0?"FD":void 0),d.align==="right"?this.text(d.text,d.x+d.width-m,d.y+m,{align:"right",baseline:"top"}):d.align==="center"?this.text(d.text,d.x+d.width/2,d.y+m,{align:"center",baseline:"top",maxWidth:d.width-m-m}):this.text(d.text,d.x+m,d.y+m,{align:"left",baseline:"top",maxWidth:d.width-m-m})),this.internal.__cell__.lastCell=d,this};A.table=function(d,g,m,F,_){if(r.call(this),!m)throw new Error("No data for PDF table.");var w,P,D,M,N=[],sA=[],eA=[],W={},IA={},zA=[],HA=[],uA=(_=_||{}).autoSize||!1,X=_.printHeaders!==!1,CA=_.css&&_.css["font-size"]!==void 0?16*_.css["font-size"]:_.fontSize||12,S=_.margins||Object.assign({width:this.getPageWidth()},t),R=typeof _.padding=="number"?_.padding:3,iA=_.headerBackgroundColor||"#c8c8c8",tA=_.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=X,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=CA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=iA,this.internal.__cell__.headerTextColor=tA,this.setFontSize(CA),F==null)sA=N=Object.keys(m[0]),eA=N.map(function(){return"left"});else if(Array.isArray(F)&&(0,wt.Z)(F[0])==="object")for(N=F.map(function(pe){return pe.name}),sA=F.map(function(pe){return pe.prompt||pe.name||""}),eA=F.map(function(pe){return pe.align||"left"}),w=0;w0&&this.setTableHeaderRow(_),this.setFont(void 0,"normal"),e=!1}}(ze.API);var gn={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bs=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Hn=dr(bs),Pn=[100,200,300,400,500,600,700,800,900],Sa=dr(Pn);function Ci(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return gn[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Hn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Cs(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function Rg(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function kg(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(m,_)}})(A,s,Kg(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,d=null;s&&(f=t,d=h,t+=3*h);var g=!0,m=[],F=0,_=null,w=0,P=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var D=A[t++];F=A[t++]|A[t++]<<8,_=A[t++],1&D||(_=null),w=D>>2&7,t++;break;case 254:for(;;){if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var M=A[t++]|A[t++]<<8,N=A[t++]|A[t++]<<8,sA=A[t++]|A[t++]<<8,eA=A[t++]|A[t++]<<8,W=A[t++],IA=W>>6&1,zA=1<<1+(7&W),HA=f,uA=d,X=!1;W>>7&&(X=!0,HA=t,uA=zA,t+=3*zA);var CA=t;for(t++;;){var S;if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}m.push({x:M,y:N,width:sA,height:eA,has_local_palette:X,palette_offset:HA,palette_size:uA,data_offset:CA,data_length:t-CA,transparent_index:_,interlaced:!!IA,delay:F,disposal:w});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return P},this.frameInfo=function(R){if(R<0||R>=m.length)throw new Error("Frame index out of range.");return m[R]},this.decodeAndBlitFrameBGRA=function(R,iA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var kA=tA.width,pe=e-kA,te=kA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*pe;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,DA=jA.length;EA=z&&(aA=4*pe+4*e*(vA-1),AA=L+(kA+pe)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],fe=A[PA+3*MA+1],Qe=A[PA+3*MA+2];iA[AA++]=Qe,iA[AA++]=fe,iA[AA++]=qA,iA[AA++]=255}--te}},this.decodeAndBlitFrameRGBA=function(R,iA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var kA=tA.width,pe=e-kA,te=kA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*pe;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,DA=jA.length;EA=z&&(aA=4*pe+4*e*(vA-1),AA=L+(kA+pe)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],fe=A[PA+3*MA+1],Qe=A[PA+3*MA+2];iA[AA++]=qA,iA[AA++]=fe,iA[AA++]=Qe,iA[AA++]=255}--te}}}function Gg(A,t,e,r){for(var n=A[t++],s=1<>=d,m-=d,M!==s){if(M===h)break;for(var N=Ms;)eA=P[eA]>>8,++sA;var W=eA;if(_+sA+(N!==M?1:0)>r)return void yr.log("Warning, gif stream longer than expected.");e[_++]=W;var IA=_+=sA;for(N!==M&&(e[_++]=W),eA=N;sA--;)eA=P[eA],e[--IA]=255&eA,eA>>=8;D!==null&&f<4096&&(P[f++]=D<<8|W,f>=g+1&&d<12&&(++d,g=g<<1|1)),D=M}else f=h+1,g=(1<<(d=n+1))-1,D=null}return _!==r&&yr.log("Warning, gif stream shorter than expected."),e}function Vp(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),d=new Array(64),g=new Array(64),m=new Array(64),F=new Array(65535),_=new Array(65535),w=new Array(64),P=new Array(64),D=[],M=0,N=7,sA=new Array(64),eA=new Array(64),W=new Array(64),IA=new Array(256),zA=new Array(2048),HA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],uA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],X=[0,1,2,3,4,5,6,7,8,9,10,11],CA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],iA=[0,1,2,3,4,5,6,7,8,9,10,11],tA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],SA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function jA(L,z){for(var AA=0,aA=0,vA=new Array,EA=1;EA<=16;EA++){for(var DA=1;DA<=L[EA];DA++)vA[z[aA]]=[],vA[z[aA]][0]=AA,vA[z[aA]][1]=EA,aA++,AA++;AA*=2}return vA}function PA(L){for(var z=L[0],AA=L[1]-1;AA>=0;)z&1<>8&255),_A(255&L)}function pe(L,z,AA,aA,vA){for(var EA,DA=vA[0],MA=vA[240],qA=function(le,ct){var Re,ot,nt,gr,Zt,St,qt,Yt,Ze,Ht,$e=0;for(Ze=0;Ze<8;++Ze){Re=le[$e],ot=le[$e+1],nt=le[$e+2],gr=le[$e+3],Zt=le[$e+4],St=le[$e+5],qt=le[$e+6];var sn=Re+(Yt=le[$e+7]),sr=Re-Yt,Gt=ot+qt,Vt=ot-qt,Rr=nt+St,it=nt-St,Nr=gr+Zt,vt=gr-Zt,Nt=sn+Nr,kr=sn-Nr,zt=Gt+Rr,ft=Gt-Rr;le[$e]=Nt+zt,le[$e+4]=Nt-zt;var Br=.707106781*(ft+kr);le[$e+2]=kr+Br,le[$e+6]=kr-Br;var _l=.382683433*((Nt=vt+it)-(ft=Vt+sr)),qn=.5411961*Nt+_l,ja=1.306562965*ft+_l,ia=.707106781*(zt=it+Vt),ht=sr+ia,Ha=sr-ia;le[$e+5]=Ha+qn,le[$e+3]=Ha-qn,le[$e+1]=ht+ja,le[$e+7]=ht-ja,$e+=8}for($e=0,Ze=0;Ze<8;++Ze){Re=le[$e],ot=le[$e+8],nt=le[$e+16],gr=le[$e+24],Zt=le[$e+32],St=le[$e+40],qt=le[$e+48];var Da=Re+(Yt=le[$e+56]),es=Re-Yt,ts=ot+qt,$r=ot-qt,Dn=nt+St,Mn=nt-St,xl=gr+Zt,Ho=gr-Zt,Qs=Da+xl,sa=Da-xl,_s=ts+Dn,xs=ts-Dn;le[$e]=Qs+_s,le[$e+32]=Qs-_s;var rs=.707106781*(xs+sa);le[$e+16]=sa+rs,le[$e+48]=sa-rs;var Il=.382683433*((Qs=Ho+Mn)-(xs=$r+es)),aa=.5411961*Qs+Il,Ll=1.306562965*xs+Il,Su=.707106781*(_s=Mn+$r),Nu=es+Su,ju=es-Su;le[$e+40]=ju+aa,le[$e+24]=ju-aa,le[$e+8]=Nu+Ll,le[$e+56]=Nu-Ll,$e++}for(Ze=0;Ze<64;++Ze)Ht=le[Ze]*ct[Ze],w[Ze]=Ht>0?Ht+.5|0:Ht-.5|0;return w}(L,z),fe=0;fe<64;++fe)P[HA[fe]]=qA[fe];var Qe=P[0]-AA;AA=P[0],Qe==0?PA(aA[0]):(PA(aA[_[EA=32767+Qe]]),PA(F[EA]));for(var Ue=63;Ue>0&&P[Ue]==0;)Ue--;if(Ue==0)return PA(DA),AA;for(var tt,k=1;k<=Ue;){for(var _e=k;P[k]==0&&k<=Ue;)++k;var Rt=k-_e;if(Rt>=16){tt=Rt>>4;for(var ut=1;ut<=tt;++ut)PA(MA);Rt&=15}EA=32767+P[k],PA(vA[(Rt<<4)+_[EA]]),PA(F[EA]),k++}return Ue!=63&&PA(DA),AA}function te(L){L=Math.min(Math.max(L,1),100),s!=L&&(function(z){for(var AA=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],aA=0;aA<64;aA++){var vA=h((AA[aA]*z+50)/100);vA=Math.min(Math.max(vA,1),255),f[HA[aA]]=vA}for(var EA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],DA=0;DA<64;DA++){var MA=h((EA[DA]*z+50)/100);MA=Math.min(Math.max(MA,1),255),d[HA[DA]]=MA}for(var qA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],fe=0,Qe=0;Qe<8;Qe++)for(var Ue=0;Ue<8;Ue++)g[fe]=1/(f[HA[fe]]*qA[Qe]*qA[Ue]*8),m[fe]=1/(d[HA[fe]]*qA[Qe]*qA[Ue]*8),fe++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),s=L)}this.encode=function(L,z){z&&te(z),D=new Array,M=0,N=7,kA(65496),kA(65504),kA(16),_A(74),_A(70),_A(73),_A(70),_A(0),_A(1),_A(1),_A(0),kA(1),kA(1),_A(0),_A(0),function(){kA(65499),kA(132),_A(0);for(var ot=0;ot<64;ot++)_A(f[ot]);_A(1);for(var nt=0;nt<64;nt++)_A(d[nt])}(),function(ot,nt){kA(65472),kA(17),_A(8),kA(nt),kA(ot),_A(3),_A(1),_A(17),_A(0),_A(2),_A(17),_A(1),_A(3),_A(17),_A(1)}(L.width,L.height),function(){kA(65476),kA(418),_A(0);for(var ot=0;ot<16;ot++)_A(uA[ot+1]);for(var nt=0;nt<=11;nt++)_A(X[nt]);_A(16);for(var gr=0;gr<16;gr++)_A(CA[gr+1]);for(var Zt=0;Zt<=161;Zt++)_A(S[Zt]);_A(1);for(var St=0;St<16;St++)_A(R[St+1]);for(var qt=0;qt<=11;qt++)_A(iA[qt]);_A(17);for(var Yt=0;Yt<16;Yt++)_A(tA[Yt+1]);for(var Ze=0;Ze<=161;Ze++)_A(SA[Ze])}(),kA(65498),kA(12),_A(3),_A(1),_A(0),_A(2),_A(17),_A(3),_A(17),_A(0),_A(63),_A(0);var AA=0,aA=0,vA=0;M=0,N=7,this.encode.displayName="_encode_";for(var EA,DA,MA,qA,fe,Qe,Ue,tt,k,_e=L.data,Rt=L.width,ut=L.height,le=4*Rt,ct=0;ct>3)*le+(Ue=4*(7&k)),ct+tt>=ut&&(Qe-=le*(ct+1+tt-ut)),EA+Ue>=le&&(Qe-=EA+Ue-le+4),DA=_e[Qe++],MA=_e[Qe++],qA=_e[Qe++],sA[k]=(zA[DA]+zA[MA+256|0]+zA[qA+512|0]>>16)-128,eA[k]=(zA[DA+768|0]+zA[MA+1024|0]+zA[qA+1280|0]>>16)-128,W[k]=(zA[DA+1280|0]+zA[MA+1536|0]+zA[qA+1792|0]>>16)-128;AA=pe(sA,g,AA,t,r),aA=pe(eA,m,aA,e,n),vA=pe(W,m,vA,e,n),EA+=32}ct+=8}if(N>=0){var Re=[];Re[1]=N+1,Re[0]=(1<R;R++)if(X[CA+R]!=S.charCodeAt(R))return!0;return!1}function r(X,CA,S,R,iA){for(var tA=0;tAtA+1?[]:new CA),!(SA.length>>0;a&v;)v>>>=1;return v?(a&v-1)+v:a}function S(a,c,v,b,U){t(!(b%v));do a[c+(b-=v)]=U;while(0=U),512>=U)var x=s(512);else if((x=s(U))==null)return 0;return function(I,j,H,K,lA,xA){var G,BA,FA=j,VA=1<G;++G){if(QA[G]>1<(Tt-=QA[G]))return 0;for(;0=G;++G,lA<<=1){if(Pe+=Tt<<=1,0>(Tt-=QA[G]))return 0;for(;0ue&&!(0>=(YA-=QA[ue]));)++ue,YA<<=1;VA+=We=1<<(YA=ue-H),I[j+(ue=qe&ne)].g=YA+H,I[j+ue].value=FA-j-ue}K.g=G-H,K.value=xA[BA++],S(I,FA+(qe>>H),lA,We,K),qe=CA(qe,G)}}return Pe!=2*WA[15]-1?0:VA}(a,c,v,b,U,x)}function iA(){this.value=this.g=0}function tA(){this.value=this.g=0}function SA(){this.G=h(5,iA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(kl,tA)}function jA(a,c,v,b){t(a!=null),t(c!=null),t(2147483648>b),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=c,a.pa=v,a.Jd=c,a.Yc=v+b,a.Zc=4<=b?v+b-4+1:v,DA(a)}function PA(a,c){for(var v=0;0b),a.Sb=b,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;aA(a)&&(a.h=1,a.u=0)}function te(a,c){if(t(0<=c),!a.h&&c<=Hi){var v=AA(a)&ji[c];return a.u+=c,pe(a),v}return a.h=1,a.u=0}function L(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function AA(a){return a.Ra>>>(a.u&Po-1)>>>0}function aA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Po}function vA(a,c){a.u=c,a.h=aA(a)}function EA(a){a.u>=Wa&&(t(a.u>=Wa),pe(a))}function DA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&DA(a);var b=a.b,U=v*c>>>8,x=(a.I>>>b>U)+0;for(x?(v-=U,a.I-=U+1<>>0):v=U+1,b=v,U=0;256<=b;)U+=8,b>>=8;return b=7^U+Mo[b],a.b-=b,a.Ca=(v<>24&255,a[c+1]=v>>16&255,a[c+2]=v>>8&255,a[c+3]=255&v}function Qe(a,c){return a[c+0]|a[c+1]<<8}function Ue(a,c){return Qe(a,c)|a[c+2]<<16}function tt(a,c){return Qe(a,c)|Qe(a,c+2)<<16}function k(a,c){var v=1<=U||0>=x?0:(v[0]=U,b[0]=x,1)}function le(a,c){return a+(1<>>c}function ct(a,c){return((4278255360&a)+(4278255360&c)>>>0&4278255360)+((16711935&a)+(16711935&c)>>>0&16711935)>>>0}function Re(a,c){X[c]=function(v,b,U,x,I,j,H){var K;for(K=0;K>>1)+(a&c)>>>0}function gr(a){return 0<=a&&256>a?a:0>a?0:255>1))}function St(a,c,v){return Math.abs(c-v)-Math.abs(a-v)}function qt(a,c,v,b,U,x,I){for(b=x[I-1],v=0;v>8&255,H=16711935&(H=(H=16711935&I)+((j<<16)+j));b[U+x]=(4278255360&I)+H>>>0}}function Ze(a,c){c.jd=255&a,c.hd=a>>8&255,c.ud=a>>16&255}function Ht(a,c,v,b,U,x){var I;for(I=0;I>>8,K=j,lA=255&(lA=(lA=j>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));K=255&(K=(K+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(lA<<24>>24)>>>5)),U[x+I]=(4278255360&j)+(lA<<16)+K}}function $e(a,c,v,b,U){X[c]=function(x,I,j,H,K,lA,xA,G,BA){for(H=xA;H>x.b,BA=x.Ea,FA=x.K[0],VA=x.w;if(8>G)for(x=(1<>=G}else X["VP8LMapColor"+v](H,K,FA,VA,lA,xA,I,j,BA)}}function sn(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x}}function sr(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x,b[U++]=x>>24&255}}function Gt(a,c,v,b,U){for(v=c+v;c>16&240|I>>12&15,I=240&I|I>>28&15;b[U++]=x,b[U++]=I}}function Vt(a,c,v,b,U){for(v=c+v;c>16&248|I>>13&7,I=I>>5&224|I>>3&31;b[U++]=x,b[U++]=I}}function Rr(a,c,v,b,U){for(v=c+v;c>8&255,b[U++]=x>>16&255}}function it(a,c,v,b,U,x){if(x==0)for(v=c+v;c>24|x[1]>>8&65280|x[2]<<8&16711680|x[3]<<24)>>>0),U+=32;else r(b,U,a,c,v)}function Nr(a,c){X[c][0]=X[a+"0"],X[c][1]=X[a+"1"],X[c][2]=X[a+"2"],X[c][3]=X[a+"3"],X[c][4]=X[a+"4"],X[c][5]=X[a+"5"],X[c][6]=X[a+"6"],X[c][7]=X[a+"7"],X[c][8]=X[a+"8"],X[c][9]=X[a+"9"],X[c][10]=X[a+"10"],X[c][11]=X[a+"11"],X[c][12]=X[a+"12"],X[c][13]=X[a+"13"],X[c][14]=X[a+"0"],X[c][15]=X[a+"0"]}function vt(a){return a==ug||a==cg||a==Wd||a==fg}function Nt(){this.eb=[],this.size=this.A=this.fb=0}function kr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function zt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Nt,this.f.kb=new kr,this.sd=null}function ft(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Br(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function _l(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function qn(a,c){var v=a.T,b=c.ba.f.RGBA,U=b.eb,x=b.fb+a.ka*b.A,I=ls[c.ba.S],j=a.y,H=a.O,K=a.f,lA=a.N,xA=a.ea,G=a.W,BA=c.cc,FA=c.dc,VA=c.Mc,QA=c.Nc,WA=a.ka,YA=a.ka+a.T,ue=a.U,ne=ue+1>>1;for(WA==0?I(j,H,null,null,K,lA,xA,G,K,lA,xA,G,U,x,null,null,ue):(I(c.ec,c.fc,j,H,BA,FA,VA,QA,K,lA,xA,G,U,x-b.A,U,x,ue),++v);WA+2v,U=v==Gd||v==Vd||v==zd||v==lg||v==12||vt(v);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!df(c.Oa,a,U?11:12))return 0;if(U&&vt(v)&&cf(),a.da)alert("todo:use_scaling");else{if(b){if(c.Ib=_l,a.Kb){if(v=a.U+1>>1,c.memory=s(a.U+2*v),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+a.U,c.Mc=c.cc,c.Nc=c.dc+v,c.Ib=qn,cf()}}else alert("todo:EmitYUV");U&&(c.Jb=ja,b&&Ls())}if(b&&!w1){for(a=0;256>a;++a)BB[a]=89858*(a-128)+Jd>>Xd,mB[a]=-22014*(a-128)+Jd,wB[a]=-45773*(a-128),vB[a]=113618*(a-128)+Jd>>Xd;for(a=Ff;a>Xd,yB[a-Ff]=oa(c,255),bB[a-Ff]=oa(c+8>>4,15);w1=1}return 1}function ht(a){var c=a.ma,v=a.U,b=a.T;return t(!(1&a.ka)),0>=v||0>=b?0:(v=c.Ib(a,c),c.Jb!=null&&c.Jb(a,c,v),c.Dc+=v,1)}function Ha(a){a.ma.memory=null}function Da(a,c,v,b){return te(a,8)!=47?0:(c[0]=te(a,14)+1,v[0]=te(a,14)+1,b[0]=te(a,1),te(a,3)!=0?0:!a.h)}function es(a,c){if(4>a)return a+1;var v=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&v)))?v:1;var v}function $r(a,c,v){var b=AA(v),U=a[c+=255&b].g-8;return 0>>0,t(8>=v.g),a.g}function Mn(a,c,v){var b=a.xc;return t((c=b==0?0:a.vc[a.md*(v>>b)+(c>>b)])>We.b)*Pe;VAue&&(Xe=ue),(0,vf[$t[Qn++]>>8&15])(G,BA+ +Pt,WA,YA+Pt-ue,Xe-Pt,WA,YA+Pt),Pt=Xe}BA+=ue,YA+=ue,++VA&qe||(We+=Pe)}xA!=K.nc&&r(H,j-FA,H,j+(xA-lA-1)*FA,FA);break;case 1:for(FA=G,QA=BA,ue=(G=K.Ea)-(YA=G&~(WA=(BA=1<>K.b)*VA;lA=U),0x.o&&(b=x.o),v=b?v=0:(U[0]+=4*x.v,x.ka=v-x.j,x.U=x.va-x.v,x.T=b-v,v=1),v){if(j=j[0],11>(v=a.ca).S){var lA=v.f.RGBA,xA=(b=v.S,U=x.U,x=x.T,K=lA.eb,lA.A),G=x;for(lA=lA.fb+a.Ma*lA.A;0b){var U=a.l.width,x=v.ca,I=v.tb+U*b,j=a.V,H=a.Ba+a.c*b,K=a.gc;t(a.ab==1),t(K[0].hc==3),fa(K[0],b,c,j,H,x,I),sa(v,b,c,x,I,U)}a.C=a.Ma=c}function xs(a,c,v,b,U,x,I){var j=a.$/b,H=a.$%b,K=a.m,lA=a.s,xA=v+a.$,G=xA;U=v+b*U;var BA=v+b*x,FA=280+lA.ua,VA=a.Pb?j:16777216,QA=0=VA){var qe=xA-v;t((VA=a).Pb),VA.wd=VA.m,VA.xd=qe,0Tt.g?(vA(ne,ne.u+Tt.g),qe[Pe]=Tt.value,ne=0):(vA(ne,ne.u+Tt.g-256),t(256<=Tt.value),ne=Tt.value),ne==0&&(ue=!0)}else ne=$r(YA.G[0],YA.H[0],K);if(K.h)break;if(ue||256>ne){if(!ue)if(YA.nd)c[xA]=(YA.qb|ne<<8)>>>0;else{if(EA(K),ue=$r(YA.G[1],YA.H[1],K),EA(K),qe=$r(YA.G[2],YA.H[2],K),Pe=$r(YA.G[3],YA.H[3],K),K.h)break;c[xA]=(Pe<<24|ue<<16|ne<<8|qe)>>>0}if(ue=!1,++xA,++H>=b&&(H=0,++j,I!=null&&j<=x&&!(j%16)&&I(a,j),QA!=null))for(;G>>QA.Mb]=ne}else if(280>ne){if(ne=es(ne-256,K),qe=$r(YA.G[4],YA.H[4],K),EA(K),qe=ts(b,qe=es(qe,K)),K.h)break;if(xA-v=b;)H-=b,++j,I!=null&&j<=x&&!(j%16)&&I(a,j);if(t(xA<=U),H&WA&&(YA=Mn(lA,H,j)),QA!=null)for(;G>>QA.Mb]=ne}else{if(!(ne>>QA.Mb]=ne;ne=xA,t(!(ue>>>(qe=QA).Xa)),c[ne]=qe.X[ue],ue=!0}ue||t(K.h==aA(K))}if(a.Pb&&K.h&&xAx?x:j),a.a=0,a.$=xA-v}return 1}return a.a=3,0}function rs(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var c=a.Wa;c!=null&&(c.X=null),a.vb=null,t(a!=null)}function Il(){var a=new Ft;return a==null?null:(a.a=0,a.xb=h1,Nr("Predictor","VP8LPredictors"),Nr("Predictor","VP8LPredictors_C"),Nr("PredictorAdd","VP8LPredictorsAdd"),Nr("PredictorAdd","VP8LPredictorsAdd_C"),an=Yt,wf=Ht,mf=sn,Ro=sr,ko=Gt,Ko=Vt,Kl=Rr,X.VP8LMapColor32b=ca,X.VP8LMapColor8b=Bf,a)}function aa(a,c,v,b,U){var x=1,I=[a],j=[c],H=b.m,K=b.s,lA=null,xA=0;A:for(;;){if(v)for(;x&&te(H,1);){var G=I,BA=j,FA=b,VA=1,QA=FA.m,WA=FA.gc[FA.ab],YA=te(QA,2);if(FA.Oc&1<=FA.ab),YA){case 0:case 1:WA.b=te(QA,3)+2,VA=aa(le(WA.Ea,WA.b),le(WA.nc,WA.b),0,FA,WA.K),WA.K=WA.K[0];break;case 3:var ue,ne=te(QA,8)+1,qe=16>We.b),Qn=s($t);if(Qn==null)ue=0;else{var Pt=We.K[0],Xe=We.w;for(Qn[0]=We.K[0][0],Pe=1;Pe<1*Tt;++Pe)Qn[Pe]=ct(Pt[Xe+Pe],Qn[Pe-1]);for(;Pe<4*$t;++Pe)Qn[Pe]=0;We.K[0]=null,We.K[0]=Qn,ue=1}}VA=ue;break;case 2:break;default:t(0)}x=VA}}if(I=I[0],j=j[0],x&&te(H,1)&&!(x=1<=(xA=te(H,4))&&11>=xA)){b.a=3;break A}var be;if(be=x)e:{var ln,jt,tr,Or=b,Kn=I,ci=j,An=xA,$n=v,fi=Or.m,_n=Or.s,or=[null],br=1,en=0,Cr=nB[An];t:for(;;){if($n&&te(fi,1)){var Gn=te(fi,3)+2,Ns=le(Kn,Gn),un=le(ci,Gn),Fi=Ns*un;if(!aa(Ns,un,0,Or,or))break t;for(or=or[0],_n.xc=Gn,ln=0;ln>8&65535;or[ln]=xr,xr>=br&&(br=xr+1)}}if(fi.h)break t;for(jt=0;5>jt;++jt){var xn=c1[jt];!jt&&0=hi),Pi=Ti;var Ei=s(en);if(Pi==null||Ei==null||Oi==null){Or.a=1;break t}var Mi=Oi;for(ln=tr=0;lnjt;++jt){xn=c1[jt],Ri[jt]=Mi,js[jt]=tr,!jt&&0e0)break r}else vg=e0;for(Uf=0;UfGu)U1[Uf++]=Gu,Gu!=0&&(Q1=Gu);else{var SB=Gu==16,I1=Gu-16,NB=AB[I1],L1=te(Xo,$1[I1])+NB;if(Uf+L1>e0)break r;for(var jB=SB?Q1:0;0=jt){var Qf,mg=Ei[0];for(Qf=1;Qfmg&&(mg=Ei[Qf]);Vn+=mg}}if(Hr.nd=Za,Hr.Qb=0,Za&&(Hr.qb=(Ri[3][js[3]+0].value<<24|Ri[1][js[1]+0].value<<16|Ri[2][js[2]+0].value)>>>0,Vl==0&&256>Ri[0][js[0]+0].value&&(Hr.Qb=1,Hr.qb+=Ri[0][js[0]+0].value<<8)),Hr.jc=!Hr.Qb&&6>Vn,Hr.jc){var t0,Ya=Hr;for(t0=0;t0>=Dn(r0,8,Zo),Jo>>=Dn(Ya.G[1][Ya.H[1]+Jo],16,Zo),Jo>>=Dn(Ya.G[2][Ya.H[2]+Jo],0,Zo),Dn(Ya.G[3][Ya.H[3]+Jo],24,Zo))}}}_n.vc=or,_n.Wb=br,_n.Ya=Pi,_n.yc=Oi,be=1;break e}be=0}if(!(x=be)){b.a=3;break A}if(0b+1?[]:0),!(U.lengtha?0:a>c?c:a}function Hu(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Wp(){var a=new Qd;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,Cf||(Cf=Du)),a}function Bn(a,c,v){return a.a==0&&(a.a=c,a.sc=v,a.cb=0),0}function _d(a,c,v){return 3<=v&&a[c+0]==157&&a[c+1]==1&&a[c+2]==42}function la(a,c){if(a==null)return 0;if(a.a=0,a.sc="OK",c==null)return Bn(a,2,"null VP8Io passed to VP8GetHeaders()");var v=c.data,b=c.w,U=c.ha;if(4>U)return Bn(a,7,"Truncated header.");var x=v[b+0]|v[b+1]<<8|v[b+2]<<16,I=a.Od;if(I.Rb=!(1&x),I.td=x>>1&7,I.yd=x>>4&1,I.ub=x>>5,3U)return Bn(a,7,"cannot parse picture header");if(!_d(v,b,U))return Bn(a,3,"Bad code word");j.c=16383&(v[b+4]<<8|v[b+3]),j.Td=v[b+4]>>6,j.i=16383&(v[b+6]<<8|v[b+5]),j.Ud=v[b+6]>>6,b+=7,U-=7,a.za=j.c+15>>4,a.Ub=j.i+15>>4,c.width=j.c,c.height=j.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((x=a.Pa).jb,0,255,x.jb.length),t((x=a.Qa)!=null),x.Cb=0,x.Bb=0,x.Fb=1,n(x.Zb,0,0,x.Zb.length),n(x.Lb,0,0,x.Lb)}if(I.ub>U)return Bn(a,7,"bad partition length");jA(x=a.m,v,b,I.ub),b+=I.ub,U-=I.ub,I.Rb&&(j.Ld=MA(x),j.Kd=MA(x)),j=a.Qa;var H,K=a.Pa;if(t(x!=null),t(j!=null),j.Cb=MA(x),j.Cb){if(j.Bb=MA(x),MA(x)){for(j.Fb=MA(x),H=0;4>H;++H)j.Zb[H]=MA(x)?_A(x,7):0;for(H=0;4>H;++H)j.Lb[H]=MA(x)?_A(x,6):0}if(j.Bb)for(H=0;3>H;++H)K.jb[H]=MA(x)?PA(x,8):255}else j.Bb=0;if(x.Ka)return Bn(a,3,"cannot parse segment header");if((j=a.ed).zd=MA(x),j.Tb=PA(x,6),j.wb=PA(x,3),j.Pc=MA(x),j.Pc&&MA(x)){for(K=0;4>K;++K)MA(x)&&(j.vd[K]=_A(x,6));for(K=0;4>K;++K)MA(x)&&(j.od[K]=_A(x,6))}if(a.L=j.Tb==0?0:j.zd?1:2,x.Ka)return Bn(a,3,"cannot parse filter header");var lA=U;if(U=H=b,b=H+lA,j=lA,a.Xb=(1<j&&(xA=j),jA(a.Jc[+lA],v,H,xA),H+=xA,j-=xA,U+=3}jA(a.Jc[+K],v,H,j),v=HxA;++xA){if(lA.Cb){var G=lA.Zb[xA];lA.Fb||(G+=v)}else{if(0>16,8>BA.Eb[1]&&(BA.Eb[1]=8),BA.Qc[0]=hg[oa(G+K,117)],BA.Qc[1]=dg[oa(G+H,127)],BA.lc=G+H}if(!I.Rb)return Bn(a,4,"Not a key frame.");for(MA(x),I=a.Pa,v=0;4>v;++v){for(U=0;8>U;++U)for(b=0;3>b;++b)for(j=0;11>j;++j)K=qA(x,uB[v][U][b][j])?PA(x,8):oB[v][U][b][j],I.Wc[v][U].Yb[b][j]=K;for(U=0;17>U;++U)I.Xc[v][U]=I.Wc[v][cB[U]]}return a.kc=MA(x),a.kc&&(a.Bd=PA(x,8)),a.cb=1}function Du(a,c,v,b,U,x,I){var j=c[U].Yb[v];for(v=0;16>U;++U){if(!qA(a,j[v+0]))return U;for(;!qA(a,j[v+1]);)if(j=c[++U].Yb[0],v=0,U==16)return 16;var H=c[U+1].Yb;if(qA(a,j[v+2])){var K=a,lA=0;if(qA(K,(G=j)[(xA=v)+3]))if(qA(K,G[xA+6])){for(j=0,xA=2*(lA=qA(K,G[xA+8]))+(G=qA(K,G[xA+9+lA])),lA=0,G=sB[xA];G[j];++j)lA+=lA+qA(K,G[j]);lA+=3+(8<(K=a).b&&DA(K);var xA,G=K.b,BA=(xA=K.Ca>>1)-(K.I>>G)>>31;--K.b,K.Ca+=BA,K.Ca|=1,K.I-=(xA+1&BA)<>3),a[c+v+32*b]=-256&U?0>U?0:255:U}function Fn(a,c,v,b,U,x){is(a,c,0,v,b+U),is(a,c,1,v,b+x),is(a,c,2,v,b-x),is(a,c,3,v,b-U)}function Oa(a){return(20091*a>>16)+a}function Id(a,c,v,b){var U,x=0,I=s(16);for(U=0;4>U;++U){var j=a[c+0]+a[c+8],H=a[c+0]-a[c+8],K=(35468*a[c+4]>>16)-Oa(a[c+12]),lA=Oa(a[c+4])+(35468*a[c+12]>>16);I[x+0]=j+lA,I[x+1]=H+K,I[x+2]=H-K,I[x+3]=j-lA,x+=4,c++}for(U=x=0;4>U;++U)j=(a=I[x+0]+4)+I[x+8],H=a-I[x+8],K=(35468*I[x+4]>>16)-Oa(I[x+12]),is(v,b,0,0,j+(lA=Oa(I[x+4])+(35468*I[x+12]>>16))),is(v,b,1,0,H+K),is(v,b,2,0,H-K),is(v,b,3,0,j-lA),x++,b+=32}function Xp(a,c,v,b){var U=a[c+0]+4,x=35468*a[c+4]>>16,I=Oa(a[c+4]),j=35468*a[c+1]>>16;Fn(v,b,0,U+I,a=Oa(a[c+1]),j),Fn(v,b,1,U+x,a,j),Fn(v,b,2,U-x,a,j),Fn(v,b,3,U-I,a,j)}function Jp(a,c,v,b,U){Id(a,c,v,b),U&&Id(a,c+16,v,b+4)}function ua(a,c,v,b){Gl(a,c+0,v,b,1),Gl(a,c+32,v,b+128,1)}function Ld(a,c,v,b){var U;for(a=a[c+0]+4,U=0;4>U;++U)for(c=0;4>c;++c)is(v,b,c,U,a)}function Sd(a,c,v,b){a[c+0]&&vr(a,c+0,v,b),a[c+16]&&vr(a,c+16,v,b+4),a[c+32]&&vr(a,c+32,v,b+128),a[c+48]&&vr(a,c+48,v,b+128+4)}function Ou(a,c,v,b){var U,x=s(16);for(U=0;4>U;++U){var I=a[c+0+U]+a[c+12+U],j=a[c+4+U]+a[c+8+U],H=a[c+4+U]-a[c+8+U],K=a[c+0+U]-a[c+12+U];x[0+U]=I+j,x[8+U]=I-j,x[4+U]=K+H,x[12+U]=K-H}for(U=0;4>U;++U)I=(a=x[0+4*U]+3)+x[3+4*U],j=x[1+4*U]+x[2+4*U],H=x[1+4*U]-x[2+4*U],K=a-x[3+4*U],v[b+0]=I+j>>3,v[b+16]=K+H>>3,v[b+32]=I-j>>3,v[b+48]=K-H>>3,b+=64}function Sl(a,c,v){var b,U=c-32,x=Di,I=255-a[U-1];for(b=0;bv;++v)r(a,c+32*v,a,c-32,16)}function Nd(a,c){var v;for(v=16;0b;++b)n(c,v+32*b,a,16)}function $p(a,c){var v,b=16;for(v=0;16>v;++v)b+=a[c-1+32*v]+a[c+v-32];Is(b>>5,a,c)}function Nl(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c-1+32*v];Is(b>>4,a,c)}function rf(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c+v-32];Is(b>>4,a,c)}function Ag(a,c){Is(128,a,c)}function Qt(a,c,v){return a+2*c+v+2>>2}function eg(a,c){var v,b=c-32;for(b=new Uint8Array([Qt(a[b-1],a[b+0],a[b+1]),Qt(a[b+0],a[b+1],a[b+2]),Qt(a[b+1],a[b+2],a[b+3]),Qt(a[b+2],a[b+3],a[b+4])]),v=0;4>v;++v)r(a,c+32*v,b,0,b.length)}function tg(a,c){var v=a[c-1],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];fe(a,c+0,16843009*Qt(a[c-1-32],v,b)),fe(a,c+32,16843009*Qt(v,b,U)),fe(a,c+64,16843009*Qt(b,U,x)),fe(a,c+96,16843009*Qt(U,x,x))}function rg(a,c){var v,b=4;for(v=0;4>v;++v)b+=a[c+v-32]+a[c-1+32*v];for(b>>=3,v=0;4>v;++v)n(a,c+32*v,b,4)}function Ta(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+96]=Qt(b,U,a[c-1+96]),a[c+1+96]=a[c+0+64]=Qt(v,b,U),a[c+2+96]=a[c+1+64]=a[c+0+32]=Qt(x,v,b),a[c+3+96]=a[c+2+64]=a[c+1+32]=a[c+0+0]=Qt(I,x,v),a[c+3+64]=a[c+2+32]=a[c+1+0]=Qt(j,I,x),a[c+3+32]=a[c+2+0]=Qt(H,j,I),a[c+3+0]=Qt(K,H,j)}function Pa(a,c){var v=a[c+1-32],b=a[c+2-32],U=a[c+3-32],x=a[c+4-32],I=a[c+5-32],j=a[c+6-32],H=a[c+7-32];a[c+0+0]=Qt(a[c+0-32],v,b),a[c+1+0]=a[c+0+32]=Qt(v,b,U),a[c+2+0]=a[c+1+32]=a[c+0+64]=Qt(b,U,x),a[c+3+0]=a[c+2+32]=a[c+1+64]=a[c+0+96]=Qt(U,x,I),a[c+3+32]=a[c+2+64]=a[c+1+96]=Qt(x,I,j),a[c+3+64]=a[c+2+96]=Qt(I,j,H),a[c+3+96]=Qt(j,H,H)}function ng(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+0]=a[c+1+64]=x+I+1>>1,a[c+1+0]=a[c+2+64]=I+j+1>>1,a[c+2+0]=a[c+3+64]=j+H+1>>1,a[c+3+0]=H+K+1>>1,a[c+0+96]=Qt(U,b,v),a[c+0+64]=Qt(b,v,x),a[c+0+32]=a[c+1+96]=Qt(v,x,I),a[c+1+32]=a[c+2+96]=Qt(x,I,j),a[c+2+32]=a[c+3+96]=Qt(I,j,H),a[c+3+32]=Qt(j,H,K)}function ig(a,c){var v=a[c+0-32],b=a[c+1-32],U=a[c+2-32],x=a[c+3-32],I=a[c+4-32],j=a[c+5-32],H=a[c+6-32],K=a[c+7-32];a[c+0+0]=v+b+1>>1,a[c+1+0]=a[c+0+64]=b+U+1>>1,a[c+2+0]=a[c+1+64]=U+x+1>>1,a[c+3+0]=a[c+2+64]=x+I+1>>1,a[c+0+32]=Qt(v,b,U),a[c+1+32]=a[c+0+96]=Qt(b,U,x),a[c+2+32]=a[c+1+96]=Qt(U,x,I),a[c+3+32]=a[c+2+96]=Qt(x,I,j),a[c+3+64]=Qt(I,j,H),a[c+3+96]=Qt(j,H,K)}function Tu(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];a[c+0+0]=v+b+1>>1,a[c+2+0]=a[c+0+32]=b+U+1>>1,a[c+2+32]=a[c+0+64]=U+x+1>>1,a[c+1+0]=Qt(v,b,U),a[c+3+0]=a[c+1+32]=Qt(b,U,x),a[c+3+32]=a[c+1+64]=Qt(U,x,x),a[c+3+64]=a[c+2+64]=a[c+0+96]=a[c+1+96]=a[c+2+96]=a[c+3+96]=x}function nf(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96],I=a[c-1-32],j=a[c+0-32],H=a[c+1-32],K=a[c+2-32];a[c+0+0]=a[c+2+32]=v+I+1>>1,a[c+0+32]=a[c+2+64]=b+v+1>>1,a[c+0+64]=a[c+2+96]=U+b+1>>1,a[c+0+96]=x+U+1>>1,a[c+3+0]=Qt(j,H,K),a[c+2+0]=Qt(I,j,H),a[c+1+0]=a[c+3+32]=Qt(v,I,j),a[c+1+32]=a[c+3+64]=Qt(b,v,I),a[c+1+64]=a[c+3+96]=Qt(U,b,v),a[c+1+96]=Qt(x,U,b)}function jl(a,c){var v;for(v=0;8>v;++v)r(a,c+32*v,a,c-32,8)}function sg(a,c){var v;for(v=0;8>v;++v)n(a,c,a[c-1],8),c+=32}function Ma(a,c,v){var b;for(b=0;8>b;++b)n(c,v+32*b,a,8)}function ag(a,c){var v,b=8;for(v=0;8>v;++v)b+=a[c+v-32]+a[c-1+32*v];Ma(b>>4,a,c)}function sf(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c+v-32];Ma(b>>3,a,c)}function af(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c-1+32*v];Ma(b>>3,a,c)}function jd(a,c){Ma(128,a,c)}function Ra(a,c,v){var b=a[c-v],U=a[c+0],x=3*(U-b)+og[1020+a[c-2*v]-a[c+v]],I=kd[112+(x+4>>3)];a[c-v]=Di[255+b+kd[112+(x+3>>3)]],a[c+0]=Di[255+U-I]}function of(a,c,v,b){var U=a[c+0],x=a[c+v];return os[255+a[c-2*v]-a[c-v]]>b||os[255+x-U]>b}function Pu(a,c,v,b){return 4*os[255+a[c-v]-a[c+0]]+os[255+a[c-2*v]-a[c+v]]<=b}function lf(a,c,v,b,U){var x=a[c-3*v],I=a[c-2*v],j=a[c-v],H=a[c+0],K=a[c+v],lA=a[c+2*v],xA=a[c+3*v];return 4*os[255+j-H]+os[255+I-K]>b?0:os[255+a[c-4*v]-x]<=U&&os[255+x-I]<=U&&os[255+I-j]<=U&&os[255+xA-lA]<=U&&os[255+lA-K]<=U&&os[255+K-H]<=U}function Hl(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b,v,U)&&Ra(a,c+b,v)}function uf(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b*v,1,U)&&Ra(a,c+b*v,1)}function Hd(a,c,v,b){var U;for(U=3;0>7,WA=18*YA+63>>7,YA=9*YA+63>>7;H[K-3*lA]=Di[255+H[K-3*lA]+YA],H[K-2*lA]=Di[255+xA+WA],H[K-lA]=Di[255+G+QA],H[K+0]=Di[255+BA-QA],H[K+lA]=Di[255+FA-WA],H[K+2*lA]=Di[255+VA-YA]}c+=b}}function Ka(a,c,v,b,U,x,I,j){for(x=2*x+1;0>3)],VA=kd[112+(VA+3>>3)],QA=FA+1>>1;H[K-2*lA]=Di[255+H[K-2*lA]+QA],H[K-lA]=Di[255+xA+VA],H[K+0]=Di[255+G-FA],H[K+lA]=Di[255+BA-QA]}c+=b}}function Od(a,c,v,b,U,x){ka(a,c,v,1,16,b,U,x)}function Dl(a,c,v,b,U,x){ka(a,c,1,v,16,b,U,x)}function Td(a,c,v,b,U,x){var I;for(I=3;0K?0:255:K)&255,K=H,U[x+j]=lA}}function jr(a,c,v,b){var U=c.width,x=c.o;if(t(a!=null&&c!=null),0>v||0>=b||v+b>x)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Dt,(I=a.ga==null)||(I=c.width*c.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var j=a.Fa,H=a.P,K=a.qc,lA=a.mb,xA=a.nb,G=H+1,BA=K-1,FA=I.l;if(t(j!=null&&lA!=null&&c!=null),zo[0]=null,zo[1]=ar,zo[2]=Xr,zo[3]=vn,I.ca=lA,I.tb=xA,I.c=c.width,I.i=c.height,t(0=K)c=0;else if(I.$a=3&j[H+0],I.Z=j[H+0]>>2&3,I.Lc=j[H+0]>>4&3,H=j[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!c}if(I)return null;a.ga.Lc!=1?a.Ga=0:b=x-v}t(a.ga!=null),t(v+b<=x);A:{if(c=(j=a.ga).c,x=j.l.o,j.$a==0){if(G=a.rc,BA=a.Vc,FA=a.Fa,H=a.P+1+v*c,K=a.mb,lA=a.nb+v*c,t(H<=a.P+a.qc),j.Z!=0)for(t(zo[j.Z]!=null),I=0;I=c)c=1;else if(j.ic||Ls(),j.ic){j=I.V,G=I.Ba,BA=I.c;var VA=I.i,QA=(FA=1,H=I.$/BA,K=I.$%BA,lA=I.m,xA=I.s,I.$),WA=BA*VA,YA=BA*c,ue=xA.wc,ne=QA(VA=$r(ne.G[0],ne.H[0],lA)))j[G+QA]=VA,++QA,++K>=BA&&(K=0,++H<=c&&!(H%16)&&_s(I,H));else{if(!(280>VA)){FA=0;break e}VA=es(VA-256,lA);var qe,Pe=$r(ne.G[4],ne.H[4],lA);if(EA(lA),!(QA>=(Pe=ts(BA,Pe=es(Pe,lA)))&&WA-QA>=VA)){FA=0;break e}for(qe=0;qe=BA;)K-=BA,++H<=c&&!(H%16)&&_s(I,H);QAc?c:H);break e}!FA||lA.h&&QA=x&&(a.Cc=1),b=1}if(!b)return null;if(a.Cc&&((b=a.ga)!=null&&(b.mc=null),a.ga=null,0>23,j[H+4*I+1]=j[H+4*I+1]*xA>>23,j[H+4*I+2]=j[H+4*I+2]*xA>>23)}c+=x}}function wn(a,c,v,b,U){for(;0>4)*H>>16;a[c+2*x+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[c+2*x+1]=240&K|j}c+=U}}function Rn(a,c,v,b,U,x,I,j){var H,K,lA=255;for(K=0;K>8}function Ls(){bf=En,e1=wn,t1=Rn,r1=Ga}function Va(a,c,v){X[a]=function(b,U,x,I,j,H,K,lA,xA,G,BA,FA,VA,QA,WA,YA,ue){var ne,qe=ue-1>>1,Pe=j[H+0]|K[lA+0]<<16,Tt=xA[G+0]|BA[FA+0]<<16;t(b!=null);var We=3*Pe+Tt+131074>>2;for(c(b[U+0],255&We,We>>16,VA,QA),x!=null&&(We=3*Tt+Pe+131074>>2,c(x[I+0],255&We,We>>16,WA,YA)),ne=1;ne<=qe;++ne){var $t=j[H+ne]|K[lA+ne]<<16,Qn=xA[G+ne]|BA[FA+ne]<<16,Pt=Pe+$t+Tt+Qn+524296,Xe=Pt+2*($t+Tt)>>3;We=Xe+Pe>>1,Pe=(Pt=Pt+2*(Pe+Qn)>>3)+$t>>1,c(b[U+2*ne-1],255&We,We>>16,VA,QA+(2*ne-1)*v),c(b[U+2*ne-0],255&Pe,Pe>>16,VA,QA+(2*ne-0)*v),x!=null&&(We=Pt+Tt>>1,Pe=Xe+Qn>>1,c(x[I+2*ne-1],255&We,We>>16,WA,YA+(2*ne-1)*v),c(x[I+2*ne+0],255&Pe,Pe>>16,WA,YA+(2*ne+0)*v)),Pe=$t,Tt=Qn}1&ue||(We=3*Pe+Tt+131074>>2,c(b[U+ue-1],255&We,We>>16,VA,QA+(ue-1)*v),x!=null&&(We=3*Tt+Pe+131074>>2,c(x[I+ue-1],255&We,We>>16,WA,YA+(ue-1)*v)))}}function cf(){ls[Kd]=hB,ls[Gd]=d1,ls[l1]=dB,ls[Vd]=p1,ls[zd]=g1,ls[lg]=B1,ls[u1]=pB,ls[ug]=d1,ls[cg]=p1,ls[Wd]=g1,ls[fg]=B1}function Mu(a){return a&~gB?0>a?0:255:a>>v1}function Do(a,c){return Mu((19077*a>>8)+(26149*c>>8)-14234)}function Ol(a,c,v){return Mu((19077*a>>8)-(6419*c>>8)-(13320*v>>8)+8708)}function Tl(a,c){return Mu((19077*a>>8)+(33050*c>>8)-17685)}function Oo(a,c,v,b,U){b[U+0]=Do(a,v),b[U+1]=Ol(a,c,v),b[U+2]=Tl(a,c)}function kn(a,c,v,b,U){b[U+0]=Tl(a,c),b[U+1]=Ol(a,c,v),b[U+2]=Do(a,v)}function Pl(a,c,v,b,U){var x=Ol(a,c,v);c=x<<3&224|Tl(a,c)>>3,b[U+0]=248&Do(a,v)|x>>5,b[U+1]=c}function Ml(a,c,v,b,U){var x=240&Tl(a,c)|15;b[U+0]=240&Do(a,v)|Ol(a,c,v)>>4,b[U+1]=x}function ff(a,c,v,b,U){b[U+0]=255,Oo(a,c,v,b,U+1)}function hf(a,c,v,b,U){kn(a,c,v,b,U),b[U+3]=255}function ui(a,c,v,b,U){Oo(a,c,v,b,U),b[U+3]=255}function za(a,c,v){X[a]=function(b,U,x,I,j,H,K,lA,xA){for(var G=lA+(-2&xA)*v;lA!=G;)c(b[U+0],x[I+0],j[H+0],K,lA),c(b[U+1],x[I+0],j[H+0],K,lA+v),U+=2,++I,++H,lA+=2*v;1&xA&&c(b[U+0],x[I+0],j[H+0],K,lA)}}function Ru(a,c,v){return v==0?a==0?c==0?6:5:c==0?4:0:v}function Pd(a,c,v,b,U){switch(a>>>30){case 3:Gl(c,v,b,U,0);break;case 2:as(c,v,b,U);break;case 1:vr(c,v,b,U)}}function ss(a,c){var v,b,U=c.M,x=c.Nb,I=a.oc,j=a.pc+40,H=a.oc,K=a.pc+584,lA=a.oc,xA=a.pc+600;for(v=0;16>v;++v)I[j+32*v-1]=129;for(v=0;8>v;++v)H[K+32*v-1]=129,lA[xA+32*v-1]=129;for(0v;++v)r(I,j+32*v-4,I,j+32*v+12,4);for(v=-1;8>v;++v)r(H,K+32*v-4,H,K+32*v+4,4),r(lA,xA+32*v-4,lA,xA+32*v+4,4)}var BA=a.Gd,FA=a.Hd+b,VA=G.ad,QA=G.Hc;if(0=a.za-1?n(WA,YA,BA[FA].y[15],4):r(WA,YA,BA[FA+1].y,0,4)),v=0;4>v;v++)WA[YA+128+v]=WA[YA+256+v]=WA[YA+384+v]=WA[YA+0+v];for(v=0;16>v;++v,QA<<=2)WA=I,YA=j+m1[v],Ss[G.Ob[v]](WA,YA),Pd(QA,VA,16*+v,WA,YA)}else if(WA=Ru(b,U,G.Ob[0]),Vo[WA](I,j),QA!=0)for(v=0;16>v;++v,QA<<=2)Pd(QA,VA,16*+v,I,j+m1[v]);for(v=G.Gc,WA=Ru(b,U,G.Dd),Ja[WA](H,K),Ja[WA](lA,xA),QA=VA,WA=H,YA=K,255&(G=0|v)&&(170&G?ha(QA,256,WA,YA):_r(QA,256,WA,YA)),G=lA,QA=xA,255&(v>>=8)&&(170&v?ha(VA,320,G,QA):_r(VA,320,G,QA)),Uv;++v)r(BA,FA+v*a.R,I,j+32*v,16);for(v=0;8>v;++v)r(VA,G+v*a.B,H,K+32*v,8),r(QA,WA+v*a.B,lA,xA+32*v,8)}}function Rl(a,c,v,b,U,x,I,j,H){var K=[0],lA=[0],xA=0,G=H!=null?H.kd:0,BA=H!=null?H:new re;if(a==null||12>v)return 7;BA.data=a,BA.w=c,BA.ha=v,c=[c],v=[v],BA.gb=[BA.gb];A:{var FA=c,VA=v,QA=BA.gb;if(t(a!=null),t(VA!=null),t(QA!=null),QA[0]=0,12<=VA[0]&&!e(a,FA[0],"RIFF")){if(e(a,FA[0]+8,"WEBP")){QA=3;break A}var WA=tt(a,FA[0]+4);if(12>WA||4294967286VA[0]-8){QA=7;break A}QA[0]=WA,FA[0]+=12,VA[0]-=12}QA=0}if(QA!=0)return QA;for(WA=0QA[0])QA=7;else{if(!e(YA,VA[0],"VP8X")){if(tt(YA,VA[0]+4)!=10){QA=3;break A}if(18>QA[0]){QA=7;break A}var Pe=tt(YA,VA[0]+8),Tt=1+Ue(YA,VA[0]+12);if(2147483648<=Tt*(YA=1+Ue(YA,VA[0]+15))){QA=3;break A}qe!=null&&(qe[0]=Pe),ue!=null&&(ue[0]=Tt),ne!=null&&(ne[0]=YA),VA[0]+=18,QA[0]-=18,We[0]=1}QA=0}}if(xA=xA[0],FA=FA[0],QA!=0)return QA;if(VA=!!(2&FA),!WA&&xA)return 3;if(x!=null&&(x[0]=!!(16&FA)),I!=null&&(I[0]=VA),j!=null&&(j[0]=0),I=K[0],FA=lA[0],xA&&VA&&H==null){QA=0;break}if(4>v){QA=7;break}if(WA&&xA||!WA&&!xA&&!e(a,c[0],"ALPH")){v=[v],BA.na=[BA.na],BA.P=[BA.P],BA.Sa=[BA.Sa];A:{Pe=a,QA=c,WA=v;var We=BA.gb;ue=BA.na,ne=BA.P,qe=BA.Sa,Tt=22,t(Pe!=null),t(WA!=null),YA=QA[0];var $t=WA[0];for(t(ue!=null),t(qe!=null),ue[0]=null,ne[0]=null,qe[0]=0;;){if(QA[0]=YA,WA[0]=$t,8>$t){QA=7;break A}var Qn=tt(Pe,YA+4);if(4294967286We){QA=3;break A}if(!e(Pe,YA,"VP8 ")||!e(Pe,YA,"VP8L")){QA=0;break A}if($t[0]WA[0])QA=7;else{if(YA||Tt){if(We=tt(We,Pe+4),12<=ue&&We>ue-12){QA=3;break A}if(G&&We>WA[0]-8){QA=7;break A}ne[0]=We,QA[0]+=8,WA[0]-=8,qe[0]=Tt}else qe[0]=5<=WA[0]&&We[Pe+0]==47&&!(We[Pe+4]>>5),ne[0]=WA[0];QA=0}if(v=v[0],BA.Ja=BA.Ja[0],BA.xa=BA.xa[0],c=c[0],QA!=0)break;if(4294967286v){QA=7;break}j=I,G=FA,VA=x,a==null||5>v?a=0:5<=v&&a[c+0]==47&&!(a[c+4]>>5)?(WA=[0],We=[0],ue=[0],kA(ne=new z,a,c,v),Da(ne,WA,We,ue)?(j!=null&&(j[0]=WA[0]),G!=null&&(G[0]=We[0]),VA!=null&&(VA[0]=ue[0]),a=1):a=0):a=0}else{if(10>v){QA=7;break}j=FA,a==null||10>v||!_d(a,c+3,v-3)?a=0:(G=a[c+0]|a[c+1]<<8|a[c+2]<<16,VA=16383&(a[c+7]<<8|a[c+6]),a=16383&(a[c+9]<<8|a[c+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=BA.Ja||!VA||!a?a=0:(I&&(I[0]=VA),j&&(j[0]=a),a=1))}if(!a||(I=I[0],FA=FA[0],xA&&(K[0]!=I||lA[0]!=FA)))return 3;H!=null&&(H[0]=BA,H.offset=c-H.w,t(4294967286>c-H.w),t(H.offset==H.ha-v));break}return QA==0||QA==7&&xA&&H==null?(x!=null&&(x[0]|=BA.na!=null&&0v||(x&=-2,I&=-2),0>x||0>I||0>=j||0>=H||x+j>b||I+H>U))return 0;if(c.v=x,c.j=I,c.va=x+j,c.o=I+H,c.U=j,c.T=H,c.da=a!=null&&0a.S){var c=a.f.RGBA;c.fb+=(a.height-1)*c.A,c.A=-c.A}else c=a.f.kb,a=a.height,c.O+=(a-1)*c.fa,c.fa=-c.fa,c.N+=(a-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(a-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(a-1)*c.lb,c.lb=-c.lb);return 0}function To(a,c,v,b){if(b==null||0>=a||0>=c)return 2;if(v!=null){if(v.Da){var U=v.cd,x=v.bd,I=-2&v.v,j=-2&v.j;if(0>I||0>j||0>=U||0>=x||I+U>a||j+x>c)return 2;a=U,c=x}if(v.da){if(!ut(a,c,U=[v.ib],x=[v.hb]))return 2;a=U[0],c=x[0]}}b.width=a,b.height=c;A:{var H=b.width,K=b.height;if(a=b.S,0>=H||0>=K||!(a>=Kd&&13>a))a=2;else{if(0>=b.Rd&&b.sd==null){I=x=U=c=0;var lA=(j=H*y1[a])*K;if(11>a||(x=(K+1)/2*(c=(H+1)/2),a==12&&(I=(U=H)*K)),(K=s(lA+2*x+I))==null){a=1;break A}b.sd=K,11>a?((H=b.f.RGBA).eb=K,H.fb=0,H.A=j,H.size=lA):((H=b.f.kb).y=K,H.O=0,H.fa=j,H.Fd=lA,H.f=K,H.N=0+lA,H.Ab=c,H.Cd=x,H.ea=K,H.W=0+lA+x,H.Db=c,H.Ed=x,a==12&&(H.F=K,H.J=0+lA+2*x),H.Tc=I,H.lb=U)}if(c=1,U=b.S,x=b.width,I=b.height,U>=Kd&&13>U)if(11>U)a=b.f.RGBA,c&=(j=Math.abs(a.A))*(I-1)+x<=a.size,c&=j>=x*y1[U],c&=a.eb!=null;else{a=b.f.kb,j=(x+1)/2,lA=(I+1)/2,H=Math.abs(a.fa),K=Math.abs(a.Ab);var xA=Math.abs(a.Db),G=Math.abs(a.lb),BA=G*(I-1)+x;c&=H*(I-1)+x<=a.Fd,c&=K*(lA-1)+j<=a.Cd,c=(c&=xA*(lA-1)+j<=a.Ed)&H>=x&K>=j&xA>=j,c&=a.y!=null,c&=a.f!=null,c&=a.ea!=null,U==12&&(c&=G>=x,c&=BA<=a.Tc,c&=a.F!=null)}else c=0;a=c?0:2}}return a!=0||v!=null&&v.fd&&(a=pf(b)),a}var kl=64,ji=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Hi=24,Po=32,Wa=8,Mo=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Re("Predictor0","PredictorAdd0"),X.Predictor0=function(){return 4278190080},X.Predictor1=function(a){return a},X.Predictor2=function(a,c,v){return c[v+0]},X.Predictor3=function(a,c,v){return c[v+1]},X.Predictor4=function(a,c,v){return c[v-1]},X.Predictor5=function(a,c,v){return nt(nt(a,c[v+1]),c[v+0])},X.Predictor6=function(a,c,v){return nt(a,c[v-1])},X.Predictor7=function(a,c,v){return nt(a,c[v+0])},X.Predictor8=function(a,c,v){return nt(c[v-1],c[v+0])},X.Predictor9=function(a,c,v){return nt(c[v+0],c[v+1])},X.Predictor10=function(a,c,v){return nt(nt(a,c[v-1]),nt(c[v+0],c[v+1]))},X.Predictor11=function(a,c,v){var b=c[v+0];return 0>=St(b>>24&255,a>>24&255,(c=c[v-1])>>24&255)+St(b>>16&255,a>>16&255,c>>16&255)+St(b>>8&255,a>>8&255,c>>8&255)+St(255&b,255&a,255&c)?b:a},X.Predictor12=function(a,c,v){var b=c[v+0];return(gr((a>>24&255)+(b>>24&255)-((c=c[v-1])>>24&255))<<24|gr((a>>16&255)+(b>>16&255)-(c>>16&255))<<16|gr((a>>8&255)+(b>>8&255)-(c>>8&255))<<8|gr((255&a)+(255&b)-(255&c)))>>>0},X.Predictor13=function(a,c,v){var b=c[v-1];return(Zt((a=nt(a,c[v+0]))>>24&255,b>>24&255)<<24|Zt(a>>16&255,b>>16&255)<<16|Zt(a>>8&255,b>>8&255)<<8|Zt(255&a,255&b))>>>0};var gf=X.PredictorAdd0;X.PredictorAdd1=qt,Re("Predictor2","PredictorAdd2"),Re("Predictor3","PredictorAdd3"),Re("Predictor4","PredictorAdd4"),Re("Predictor5","PredictorAdd5"),Re("Predictor6","PredictorAdd6"),Re("Predictor7","PredictorAdd7"),Re("Predictor8","PredictorAdd8"),Re("Predictor9","PredictorAdd9"),Re("Predictor10","PredictorAdd10"),Re("Predictor11","PredictorAdd11"),Re("Predictor12","PredictorAdd12"),Re("Predictor13","PredictorAdd13");var ku=X.PredictorAdd2;$e("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),$e("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var an,Md=X.ColorIndexInverseTransform,ca=X.MapARGB,fa=X.VP8LColorIndexInverseTransformAlpha,Bf=X.MapAlpha,vf=X.VP8LPredictorsAdd=[];vf.length=16,(X.VP8LPredictors=[]).length=16,(X.VP8LPredictorsAdd_C=[]).length=16,(X.VP8LPredictors_C=[]).length=16;var wf,mf,Ro,ko,Ko,Kl,Go,Gl,as,ha,vr,_r,on,Un,Xa,yf,Ku,Rd,Jg,Zg,Yg,qg,$g,A1,bf,e1,t1,r1,n1=s(511),i1=s(2041),s1=s(225),a1=s(767),o1=0,og=i1,kd=s1,Di=a1,os=n1,Kd=0,Gd=1,l1=2,Vd=3,zd=4,lg=5,u1=6,ug=7,cg=8,Wd=9,fg=10,$1=[2,3,7],AB=[3,3,11],c1=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,hg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],dg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Cf=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],f1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],uB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],cB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Vo=[],Ss=[],Ja=[],fB=1,h1=2,zo=[],ls=[];Va("UpsampleRgbLinePair",Oo,3),Va("UpsampleBgrLinePair",kn,3),Va("UpsampleRgbaLinePair",ui,4),Va("UpsampleBgraLinePair",hf,4),Va("UpsampleArgbLinePair",ff,4),Va("UpsampleRgba4444LinePair",Ml,2),Va("UpsampleRgb565LinePair",Pl,2);var hB=X.UpsampleRgbLinePair,dB=X.UpsampleBgrLinePair,d1=X.UpsampleRgbaLinePair,p1=X.UpsampleBgraLinePair,g1=X.UpsampleArgbLinePair,B1=X.UpsampleRgba4444LinePair,pB=X.UpsampleRgb565LinePair,Xd=16,Jd=1<b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&Ls()),b.Pb&&0(H=v.Md)?0:100K;++K)12>(xA=U.pb[K]).lc&&(xA.ia=H*CB[0>xA.lc?0:xA.lc]>>3),lA|=xA.ia;lA&&(alert("todo:VP8InitRandom"),U.ia=1)}U.Ga=v.Id,100U.Ga&&(U.Ga=0)}(function(G,BA){if(G==null)return 0;if(BA==null)return Bn(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!la(G,BA))return 0;if(t(G.cb),BA.ac==null||BA.ac(BA)){BA.ob&&(G.L=0);var FA=Zd[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=BA.v-FA>>4,G.zb=BA.j-FA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=BA.o+15+FA>>4,G.Hb=BA.va+15+FA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0FA;++FA){var QA;if(G.Qa.Cb){var WA=G.Qa.Lb[FA];G.Qa.Fb||(WA+=VA.Tb)}else WA=VA.Tb;for(QA=0;1>=QA;++QA){var YA=G.gd[FA][QA],ue=WA;if(VA.Pc&&(ue+=VA.vd[0],QA&&(ue+=VA.od[0])),0<(ue=0>ue?0:63>2:ne>>1)>9-VA.wb&&(ne=9-VA.wb),1>ne&&(ne=1),YA.dd=ne,YA.tc=2*ue+ne,YA.ld=40<=ue?2:15<=ue?1:0}else YA.tc=0;YA.La=QA}}}FA=0}else Bn(G,6,"Frame setup failed"),FA=G.a;if(FA=FA==0){if(FA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){FA=Bn(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,ue=G.Fc,G.Ac=YA,G.Bc=ue,ue+=VA,G.Gd=h(qe,Ud),G.Hd=0,G.rb=h(Pe+1,Af),G.sb=1,G.wa=Tt?h(Tt,ns):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=FA;++FA)n1[255+FA]=0>FA?-FA:FA;for(FA=-1020;1020>=FA;++FA)i1[1020+FA]=-128>FA?-128:127=FA;++FA)s1[112+FA]=-16>FA?-16:15=FA;++FA)a1[255+FA]=0>FA?0:255tr;++tr){var _n,or=ci[0+tr];for(_n=0;4>_n;++_n){or=lB[Or[Kn+_n]][or];for(var br=f1[qA(jt,or[0])];0>3;for(br=0;256>br;br+=16)tr[$n+br]=Fi}Gn=1,Ns=Kn[0]}var xr=15&jt.la,xn=15&fi.la;for(br=0;4>br;++br){var Oi=1&xn;for(Fi=Cr=0;4>Fi;++Fi)xr=xr>>1|(Oi=(un=Cf(Or,Ns,un=Oi+(1&xr),An.Sc,Gn,tr,$n))>Gn)<<7,Cr=Cr<<2|(3>=4,xn=xn>>1|Oi<<7,_n=(_n<<8|Cr)>>>0}for(Ns=xr,Gn=xn>>4,en=0;4>en;en+=2){for(Cr=0,xr=jt.la>>4+en,xn=fi.la>>4+en,br=0;2>br;++br){for(Oi=1&xn,Fi=0;2>Fi;++Fi)un=Oi+(1&xr),xr=xr>>1|(Oi=0<(un=Cf(Or,Kn[2],un,An.Qc,0,tr,$n)))<<3,Cr=Cr<<2|(3>=2,xn=xn>>1|Oi<<5}or|=Cr<<4*en,Ns|=xr<<4<=Xe.zb&&Xe.M<=Xe.Va,Xe.Aa==0)e:{if(Pt.M=Xe.M,Pt.uc=jt,ss(Xe,Pt),ln=1,Pt=(Cr=Xe.D).Nb,jt=(or=Zd[Xe.L])*Xe.R,Or=or/2*Xe.B,br=16*Pt*Xe.R,Fi=8*Pt*Xe.B,Kn=Xe.sa,ci=Xe.ta-jt+br,An=Xe.qa,tr=Xe.ra-Or+Fi,$n=Xe.Ha,fi=Xe.Ia-Or+Fi,xn=(xr=Cr.M)==0,_n=xr>=Xe.Va-1,Xe.Aa==2&&ss(Xe,Cr),Cr.uc)for(Oi=(un=Xe).D.M,t(un.D.uc),Cr=un.yb;Crbe.o&&(xr=be.o),be.F=null,be.J=null,Xe.Fa!=null&&0>1),be.W+=Xe.B*(or>>1),be.F!=null&&(be.J+=be.width*or)),Cr>1,be.W+=be.v>>1,be.F!=null&&(be.J+=be.v),be.ka=Cr-be.j,be.U=be.va-be.v,be.T=xr-Cr,ln=be.put(be))}Pt+1!=Xe.Ic||_n||(r(Xe.sa,Xe.ta-jt,Kn,ci+16*Xe.R,jt),r(Xe.qa,Xe.ra-Or,An,tr+8*Xe.B,Or),r(Xe.Ha,Xe.Ia-Or,$n,fi+8*Xe.B,Or))}if(!ln)return Bn($t,6,"Output aborted.")}return 1}(G,BA)),BA.bc!=null&&BA.bc(BA),FA&=1}return FA?(G.cb=0,FA):0})(a,b)||(c=a.a)}}else c=a.a}c==0&&I.Oa!=null&&I.Oa.fd&&(c=pf(I.ba))}I=c}x=I!=0?null:11>x?j.f.RGBA.eb:j.f.kb.y}else x=null;return x};var y1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(X,CA){for(var S="",R=0;R<4;R++)S+=String.fromCharCode(X[CA++]);return S}function m(X,CA){return X[CA+0]|X[CA+1]<<8}function F(X,CA){return(X[CA+0]|X[CA+1]<<8|X[CA+2]<<16)>>>0}function _(X,CA){return(X[CA+0]|X[CA+1]<<8|X[CA+2]<<16|X[CA+3]<<24)>>>0}new d;var w=[0],P=[0],D=[],M=new d,N=A,sA=function(X,CA){var S={},R=0,iA=!1,tA=0,SA=0;if(S.frames=[],!function(L,z){for(var AA=0;AA<4;AA++)if(L[z+AA]!="RIFF".charCodeAt(AA))return!0;return!1}(X,CA)){for(_(X,CA+=4),CA+=8;CA>1&1}jA!="ANMF"&&(CA+=_A)}return S}}(N,0);sA.response=N,sA.rgbaoutput=!0,sA.dataurl=!1;var eA=sA.header?sA.header:null,W=sA.frames?sA.frames:null;if(eA){eA.loop_counter=eA.loop_count,w=[eA.canvas_height],P=[eA.canvas_width];for(var IA=0;IA=2?k[1]:_e[0],_e[2]=k.length>=3?k[2]:_e[0],_e[3]=k.length>=4?k[3]:_e[1]),g.margin=_e}});var DA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return DA},set:function(k){DA=k}});var MA=0;Object.defineProperty(this,"lastBreak",{get:function(){return MA},set:function(k){MA=k}});var qA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return qA},set:function(k){qA=k}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(k){k instanceof m&&(g=k)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(k){g.path=k}});var fe=[];Object.defineProperty(this,"ctxStack",{get:function(){return fe},set:function(k){fe=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var _e;_e=_(k),this.ctx.fillStyle=_e.style,this.ctx.isFillTransparent=_e.a===0,this.ctx.fillOpacity=_e.a,this.pdf.setFillColor(_e.r,_e.g,_e.b,{a:_e.a}),this.pdf.setTextColor(_e.r,_e.g,_e.b,{a:_e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var _e=_(k);this.ctx.strokeStyle=_e.style,this.ctx.isStrokeTransparent=_e.a===0,this.ctx.strokeOpacity=_e.a,_e.a===0?this.pdf.setDrawColor(255,255,255):(_e.a,this.pdf.setDrawColor(_e.r,_e.g,_e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var Qe=null,Ue=null,tt=null;Object.defineProperty(this,"fontFaces",{get:function(){return tt},set:function(k){Qe=null,Ue=null,tt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var _e;if(this.ctx.font=k,(_e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(k))!==null){var Rt=_e[1];_e[2];var ut=_e[3],le=_e[4];_e[5];var ct=_e[6],Re=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(le)[2];le=Math.floor(Re==="px"?parseFloat(le)*this.pdf.internal.scaleFactor:Re==="em"?parseFloat(le)*this.pdf.getFontSize():parseFloat(le)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(le);var ot=function($e){var sn,sr,Gt=[],Vt=$e.trim();if(Vt==="")return Kp;if(Vt in ea)return[ea[Vt]];for(;Vt!=="";){switch(sr=null,sn=(Vt=ta(Vt)).charAt(0)){case'"':case"'":sr=Fs(Vt.substring(1),sn);break;default:sr=No(Vt)}if(sr===null||(Gt.push(sr[0]),(Vt=ta(sr[1]))!==""&&Vt.charAt(0)!==","))return Kp;Vt=Vt.replace(/^,/,"")}return Gt}(ct);if(this.fontFaces){var nt=function($e,sn){var sr=$e.getFontList(),Gt=JSON.stringify(sr);if(Qe===null||Ue!==Gt){var Vt=function(Rr){var it=[];return Object.keys(Rr).forEach(function(Nr){Rr[Nr].forEach(function(vt){var Nt=null;switch(vt){case"bold":Nt={family:Nr,weight:"bold"};break;case"italic":Nt={family:Nr,style:"italic"};break;case"bolditalic":Nt={family:Nr,weight:"bold",style:"italic"};break;case"":case"normal":Nt={family:Nr}}Nt!==null&&(Nt.ref={name:Nr,style:vt},it.push(Nt))})}),it}(sr);Qe=function(Rr){for(var it={},Nr=0;Nr=700||Rt==="bold")&&(St="bold"),Rt==="italic"&&(St+="italic"),St.length===0&&(St="normal");for(var qt="",Yt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ze=0;Ze=2*Math.PI&&(aA=0,vA=2*Math.PI),this.path.push({type:"arc",x:L,y:z,radius:AA,startAngle:aA,endAngle:vA,counterclockwise:EA})},F.prototype.arcTo=function(L,z,AA,aA,vA){throw new Error("arcTo not implemented.")},F.prototype.rect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,z),this.lineTo(L+AA,z),this.lineTo(L+AA,z+aA),this.lineTo(L,z+aA),this.lineTo(L,z),this.lineTo(L+AA,z),this.lineTo(L,z)},F.prototype.fillRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!w.call(this)){var vA={};this.lineCap!=="butt"&&(vA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(vA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,z,AA,aA),this.fill(),vA.hasOwnProperty("lineCap")&&(this.lineCap=vA.lineCap),vA.hasOwnProperty("lineJoin")&&(this.lineJoin=vA.lineJoin)}},F.prototype.strokeRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");P.call(this)||(this.beginPath(),this.rect(L,z,AA,aA),this.stroke())},F.prototype.clearRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw yr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,z,AA,aA))},F.prototype.save=function(L){L=typeof L!="boolean"||L;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,AA=0;AA0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};F.prototype.drawImage=function(L,z,AA,aA,vA,EA,DA,MA,qA){var fe=this.pdf.getImageProperties(L),Qe=1,Ue=1,tt=1,k=1;aA!==void 0&&MA!==void 0&&(tt=MA/aA,k=qA/vA,Qe=fe.width/aA*MA/aA,Ue=fe.height/vA*qA/vA),EA===void 0&&(EA=z,DA=AA,z=0,AA=0),aA!==void 0&&MA===void 0&&(MA=aA,qA=vA),aA===void 0&&MA===void 0&&(MA=fe.width,qA=fe.height);var _e=this.ctx.transform.decompose(),Rt=_A(_e.rotate.shx),ut=new d,le=(ut=(ut=(ut=ut.multiply(_e.translate)).multiply(_e.skew)).multiply(_e.scale)).applyToRectangle(new f(EA-z*tt,DA-AA*k,aA*Qe,vA*Ue));if(this.autoPaging){for(var ct,Re=M.call(this,le),ot=[],nt=0;ntgr||Stle||Re0)){for(;qA>=0;qA--)if(vA[qA-1].close!==!0&&vA[qA-1].begin!==!0){vA[qA-1].deltas.push(AA),vA[qA-1].abs.push(MA);break}}break;case"bct":AA=[MA.x1-EA[DA-1].x,MA.y1-EA[DA-1].y,MA.x2-EA[DA-1].x,MA.y2-EA[DA-1].y,MA.x-EA[DA-1].x,MA.y-EA[DA-1].y],vA[vA.length-1].deltas.push(AA);break;case"qct":var fe=EA[DA-1].x+2/3*(MA.x1-EA[DA-1].x),Qe=EA[DA-1].y+2/3*(MA.y1-EA[DA-1].y),Ue=MA.x+2/3*(MA.x1-MA.x),tt=MA.y+2/3*(MA.y1-MA.y),k=MA.x,_e=MA.y;AA=[fe-EA[DA-1].x,Qe-EA[DA-1].y,Ue-EA[DA-1].x,tt-EA[DA-1].y,k-EA[DA-1].x,_e-EA[DA-1].y],vA[vA.length-1].deltas.push(AA);break;case"arc":vA.push({deltas:[],abs:[],arc:!0}),Array.isArray(vA[vA.length-1].abs)&&vA[vA.length-1].abs.push(MA)}}aA=z?null:L==="stroke"?"stroke":"fill";for(var Rt=!1,ut=0;ut=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale);var Ht=this.autoPaging!=="text";if(Ht||Ze.y+Ze.h<=nt){if(Ht||Ze.y>=Re&&Ze.x<=Zt){var $e=Ht?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Zt-Ze.x)[0],sn=sA([JSON.parse(JSON.stringify(Ue))],this.posX+this.margin[3],-qt+Re+this.ctx.prevPageLastElemOffset)[0],sr=Ht&&(ct>ut||ct=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)}}else L.scale>=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale),this.pdf.text(L.text,qA.x+this.posX,qA.y+this.posY,{angle:L.angle,align:z,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)},iA=function(L,z,AA,aA){AA=AA||0,aA=aA||0,this.pdf.internal.out(e(L+AA)+" "+r(z+aA)+" l")},tA=function(L,z,AA){return this.pdf.lines(L,z,AA,null,null)},SA=function(L,z,AA,aA,vA,EA,DA,MA){this.pdf.internal.out([t(n(AA+L)),t(s(aA+z)),t(n(vA+L)),t(s(EA+z)),t(n(DA+L)),t(s(MA+z)),"c"].join(" "))},jA=function(L,z,AA,aA){for(var vA=2*Math.PI,EA=Math.PI/2;z>AA;)z-=vA;var DA=Math.abs(AA-z);DA1e-5;){var Qe=fe+qA*Math.min(DA,EA);MA.push(PA.call(this,L,fe,Qe)),DA-=Math.abs(Qe-fe),fe=Qe}return MA},PA=function(L,z,AA){var aA=(AA-z)/2,vA=L*Math.cos(aA),EA=L*Math.sin(aA),DA=vA,MA=-EA,qA=DA*DA+MA*MA,fe=qA+DA*vA+MA*EA,Qe=4/3*(Math.sqrt(2*qA*fe)-fe)/(DA*EA-MA*vA),Ue=DA-Qe*MA,tt=MA+Qe*DA,k=Ue,_e=-tt,Rt=aA+z,ut=Math.cos(Rt),le=Math.sin(Rt);return{x1:L*Math.cos(z),y1:L*Math.sin(z),x2:Ue*ut-tt*le,y2:Ue*le+tt*ut,x3:k*ut-_e*le,y3:k*le+_e*ut,x4:L*Math.cos(AA),y4:L*Math.sin(AA)}},_A=function(L){return 180*L/Math.PI},kA=function(L,z,AA,aA,vA,EA){var DA=L+.5*(AA-L),MA=z+.5*(aA-z),qA=vA+.5*(AA-vA),fe=EA+.5*(aA-EA),Qe=Math.min(L,vA,DA,qA),Ue=Math.max(L,vA,DA,qA),tt=Math.min(z,EA,MA,fe),k=Math.max(z,EA,MA,fe);return new f(Qe,tt,Ue-Qe,k-tt)},pe=function(L,z,AA,aA,vA,EA,DA,MA){var qA,fe,Qe,Ue,tt,k,_e,Rt,ut,le,ct,Re,ot,nt,gr=AA-L,Zt=aA-z,St=vA-AA,qt=EA-aA,Yt=DA-vA,Ze=MA-EA;for(fe=0;fe<41;fe++)ut=(_e=(Qe=L+(qA=fe/40)*gr)+qA*((tt=AA+qA*St)-Qe))+qA*(tt+qA*(vA+qA*Yt-tt)-_e),le=(Rt=(Ue=z+qA*Zt)+qA*((k=aA+qA*qt)-Ue))+qA*(k+qA*(EA+qA*Ze-k)-Rt),fe==0?(ct=ut,Re=le,ot=ut,nt=le):(ct=Math.min(ct,ut),Re=Math.min(Re,le),ot=Math.max(ot,ut),nt=Math.max(nt,le));return new f(Math.round(ct),Math.round(Re),Math.round(ot-ct),Math.round(nt-Re))},te=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,z,AA=(L=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:z}));this.prevLineDash!==AA&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=AA)}}})(ze.API),function(A){var t=function(h){var f,d,g,m,F,_,w,P,D,M;for(/[^\x00-\xFF]/.test(h),d=[],g=0,m=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;m>g;g+=4)(F=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(_=(F=((F=((F=((F=(F-(M=F%85))/85)-(D=F%85))/85)-(P=F%85))/85)-(w=F%85))/85)%85,d.push(_+33,w+33,P+33,D+33,M+33)):d.push(122);return function(N,sA){for(var eA=sA;eA>0;eA--)N.pop()}(d,f.length),String.fromCharCode.apply(String,d)+"~>"},e=function(h){var f,d,g,m,F,_=String,w="length",P=255,D="charCodeAt",M="slice",N="replace";for(h[M](-2),h=h[M](0,-2)[N](/\s/g,"")[N]("z","!!!!!"),g=[],m=0,F=(h+=f="uuuuu"[M](h[w]%5||5))[w];F>m;m+=5)d=52200625*(h[D](m)-33)+614125*(h[D](m+1)-33)+7225*(h[D](m+2)-33)+85*(h[D](m+3)-33)+(h[D](m+4)-33),g.push(P&d>>24,P&d>>16,P&d>>8,P&d);return function(sA,eA){for(var W=eA;W>0;W--)sA.pop()}(g,f[w]),_.fromCharCode.apply(_,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var d="",g=0;gD&&(P=M,M=D,D=P);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",D>M&&(P=M,M=D,D=P)}return{width:M,height:D,unit:d,k:F,orientation:f}},A.html=function(f,d){(d=d||{}).callback=d.callback||function(){},d.html2canvas=d.html2canvas||{},d.html2canvas.canvas=d.html2canvas.canvas||this.canvas,d.jsPDF=d.jsPDF||this,d.fontFaces=d.fontFaces?d.fontFaces.map(Ci):null;var g=new h(d);return d.worker?g:g.from(f).doCallback()}}(ze.API),ze.API.addJS=function(A){return Ng=A,this.internal.events.subscribe("postPutResources",function(){ra=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ra+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Sg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ng+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ra!==void 0&&Sg!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var w=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+w+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var d=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+d.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in Rn&&Array.isArray(Rn.transparency)&&Rn.transparency.length>0){for(var Zi="",bi=0,Ji=Rn.transparency.length;bi>",wn.content=M;var sr=wn.objId+" 0 R";M="<>";else if(m.options.pageNumber)switch(M="<=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=1};var Le=r.__arabicParser__.arabicLetterHasFinalForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=3};var et=r.__arabicParser__.arabicLetterHasMedialForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length==4},Mt=r.__arabicParser__.resolveLigatures=function(wn){var Pn=0,An=s,Er="",sr=0;for(Pn=0;Pn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+l+" 0 R")})),this},function(r){var l=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(oe){s=oe}});var m=150;Object.defineProperty(this,"width",{get:function(){return m},set:function(oe){m=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=m+1)}});var I=300;Object.defineProperty(this,"height",{get:function(){return I},set:function(oe){I=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=I+1)}});var M=[];Object.defineProperty(this,"childNodes",{get:function(){return M},set:function(oe){M=oe}});var ve={};Object.defineProperty(this,"style",{get:function(){return ve},set:function(oe){ve=oe}}),Object.defineProperty(this,"parentNode",{})};l.prototype.getContext=function(s,m){var I;if((s=s||"2d")!=="2d")return null;for(I in m)this.pdf.context2d.hasOwnProperty(I)&&(this.pdf.context2d[I]=m[I]);return this.pdf.context2d._canvas=this,this.pdf.context2d},l.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new l,this.canvas.pdf=this}])}(To.API),function(r){var l={left:0,top:0,bottom:0,right:0},s=!1,m=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},l),this.internal.__cell__.margins.width=this.getPageWidth(),I.call(this))},I=function(){this.internal.__cell__.lastCell=new M,this.internal.__cell__.pages=1},M=function(){var Ce=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ce},set:function(wn){Ce=wn}});var Le=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Le},set:function(wn){Le=wn}});var et=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return et},set:function(wn){et=wn}});var Mt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Mt},set:function(wn){Mt=wn}});var $t=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return $t},set:function(wn){$t=wn}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(wn){$e=wn}});var Fn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Fn},set:function(wn){Fn=wn}}),this};M.prototype.clone=function(){return new M(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},M.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(Ce){return m.call(this),this.internal.__cell__.headerFunction=typeof Ce=="function"?Ce:void 0,this},r.getTextDimensions=function(Ce,Le){m.call(this);var et=(Le=Le||{}).fontSize||this.getFontSize(),Mt=Le.font||this.getFont(),$t=Le.scaleFactor||this.internal.scaleFactor,$e=0,Fn=0,wn=0,Pn=this;if(!Array.isArray(Ce)&&typeof Ce!="string"){if(typeof Ce!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ce=String(Ce)}var An=Le.maxWidth;An>0?typeof Ce=="string"?Ce=this.splitTextToSize(Ce,An):Object.prototype.toString.call(Ce)==="[object Array]"&&(Ce=Ce.reduce(function(sr,Vn){return sr.concat(Pn.splitTextToSize(Vn,An))},[])):Ce=Array.isArray(Ce)?Ce:[Ce];for(var Er=0;Erthis.getPageHeight()?(this.cellAddPage(),Ce.y=Mt.top,$e&&$t&&(this.printHeaderRow(Ce.lineNumber,!0),Ce.y+=$t[0].height)):Ce.y=Le.y+Le.height||Ce.y),Ce.text[0]!==void 0&&(this.rect(Ce.x,Ce.y,Ce.width,Ce.height,s===!0?"FD":void 0),Ce.align==="right"?this.text(Ce.text,Ce.x+Ce.width-et,Ce.y+et,{align:"right",baseline:"top"}):Ce.align==="center"?this.text(Ce.text,Ce.x+Ce.width/2,Ce.y+et,{align:"center",baseline:"top",maxWidth:Ce.width-et-et}):this.text(Ce.text,Ce.x+et,Ce.y+et,{align:"left",baseline:"top",maxWidth:Ce.width-et-et})),this.internal.__cell__.lastCell=Ce,this};r.table=function(Ce,Le,et,Mt,$t){if(m.call(this),!et)throw new Error("No data for PDF table.");var $e,Fn,wn,Pn,An=[],Er=[],sr=[],Vn={},Ci={},sa=[],Ki=[],Hr=($t=$t||{}).autoSize||!1,Yn=$t.printHeaders!==!1,oi=$t.css&&$t.css["font-size"]!==void 0?16*$t.css["font-size"]:$t.fontSize||12,cn=$t.margins||Object.assign({width:this.getPageWidth()},l),Rn=typeof $t.padding=="number"?$t.padding:3,xr=$t.headerBackgroundColor||"#c8c8c8",pr=$t.headerTextColor||"#000";if(I.call(this),this.internal.__cell__.printHeaders=Yn,this.internal.__cell__.margins=cn,this.internal.__cell__.table_font_size=oi,this.internal.__cell__.padding=Rn,this.internal.__cell__.headerBackgroundColor=xr,this.internal.__cell__.headerTextColor=pr,this.setFontSize(oi),Mt==null)Er=An=Object.keys(et[0]),sr=An.map(function(){return"left"});else if(Array.isArray(Mt)&&(0,a.Z)(Mt[0])==="object")for(An=Mt.map(function(As){return As.name}),Er=Mt.map(function(As){return As.prompt||As.name||""}),sr=Mt.map(function(As){return As.align||"left"}),$e=0;$e0&&this.setTableHeaderRow($t),this.setFont(void 0,"normal"),s=!1}}(To.API);var Hc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},md=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=Ku(md),uA=[100,200,300,400,500,600,700,800,900],rf=Ku(uA);function UA(r){var l=r.family.replace(/"|'/g,"").toLowerCase(),s=function(M){return Hc[M=M||"normal"]?M:"normal"}(r.style),m=function(M){return M?typeof M=="number"?M>=100&&M<=900&&M%100==0?M:400:/^\d00$/.test(M)?parseInt(M):M==="bold"?700:400:400}(r.weight),I=function(M){return typeof nA[M=M||"normal"]=="number"?M:"normal"}(r.stretch);return{family:l,style:s,weight:m,stretch:I,src:r.src||[],ref:r.ref||{name:l,style:[I,s,m].join(" ")}}}function GA(r,l,s,m){var I;for(I=s;I>=0&&I=0&&I>>1)&255}return I}function Lt(r,l,s){var m=r.length,I=[];I[0]=4;for(var M=0;M>M&ve}function hr(r,l,s,m){var I=s*m,M=Math.floor(I/8),ve=16-(I-8*M+m),oe=(1<>8&255;Le.setUint8(et,$t)}})(r,M,Mr(r,M)&~(oe<>7,ve=1<<1+(7&I);r[l++],r[l++];var oe=null,Ce=null;M&&(oe=l,Ce=ve,l+=3*ve);var Le=!0,et=[],Mt=0,$t=null,$e=0,Fn=null;for(this.width=s,this.height=m;Le&&l=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}break;case 249:if(r[l++]!==4||r[l+4]!==0)throw new Error("Invalid graphics extension block.");var wn=r[l++];Mt=r[l++]|r[l++]<<8,$t=r[l++],1&wn||($t=null),$e=wn>>2&7,l++;break;case 254:for(;;){if(!((cn=r[l++])>=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}break;default:throw new Error("Unknown graphic control label: 0x"+r[l-1].toString(16))}break;case 44:var Pn=r[l++]|r[l++]<<8,An=r[l++]|r[l++]<<8,Er=r[l++]|r[l++]<<8,sr=r[l++]|r[l++]<<8,Vn=r[l++],Ci=Vn>>6&1,sa=1<<1+(7&Vn),Ki=oe,Hr=Ce,Yn=!1;Vn>>7&&(Yn=!0,Ki=l,Hr=sa,l+=3*sa);var oi=l;for(l++;;){var cn;if(!((cn=r[l++])>=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}et.push({x:Pn,y:An,width:Er,height:sr,has_local_palette:Yn,palette_offset:Ki,palette_size:Hr,data_offset:oi,data_length:l-oi,transparent_index:$t,interlaced:!!Ci,delay:Mt,disposal:$e});break;case 59:Le=!1;break;default:throw new Error("Unknown gif block: 0x"+r[l-1].toString(16))}this.numFrames=function(){return et.length},this.loopCount=function(){return Fn},this.frameInfo=function(Rn){if(Rn<0||Rn>=et.length)throw new Error("Frame index out of range.");return et[Rn]},this.decodeAndBlitFrameBGRA=function(Rn,xr){var pr=this.frameInfo(Rn),Si=pr.width*pr.height,Hi=new Uint8Array(Si);jr(r,pr.data_offset,Hi,Si);var Zi=pr.palette_offset,bi=pr.transparent_index;bi===null&&(bi=256);var Ji=pr.width,As=s-Ji,Fa=Ji,sn=4*(pr.y*s+pr.x),Kn=4*((pr.y+pr.height)*s+pr.x),ir=sn,Tr=4*As;pr.interlaced===!0&&(Tr+=4*s*7);for(var Zr=8,gi=0,Wi=Hi.length;gi=Kn&&(Tr=4*As+4*s*(Zr-1),ir=sn+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===bi)ir+=4;else{var ya=r[Zi+3*Yi],Ya=r[Zi+3*Yi+1],so=r[Zi+3*Yi+2];xr[ir++]=so,xr[ir++]=Ya,xr[ir++]=ya,xr[ir++]=255}--Fa}},this.decodeAndBlitFrameRGBA=function(Rn,xr){var pr=this.frameInfo(Rn),Si=pr.width*pr.height,Hi=new Uint8Array(Si);jr(r,pr.data_offset,Hi,Si);var Zi=pr.palette_offset,bi=pr.transparent_index;bi===null&&(bi=256);var Ji=pr.width,As=s-Ji,Fa=Ji,sn=4*(pr.y*s+pr.x),Kn=4*((pr.y+pr.height)*s+pr.x),ir=sn,Tr=4*As;pr.interlaced===!0&&(Tr+=4*s*7);for(var Zr=8,gi=0,Wi=Hi.length;gi=Kn&&(Tr=4*As+4*s*(Zr-1),ir=sn+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===bi)ir+=4;else{var ya=r[Zi+3*Yi],Ya=r[Zi+3*Yi+1],so=r[Zi+3*Yi+2];xr[ir++]=ya,xr[ir++]=Ya,xr[ir++]=so,xr[ir++]=255}--Fa}}}function jr(r,l,s,m){for(var I=r[l++],M=1<>=Ce,et-=Ce,Pn!==M){if(Pn===ve)break;for(var An=PnM;)sr=Fn[sr]>>8,++Er;var Vn=sr;if($t+Er+(An!==Pn?1:0)>m)return void zu.log("Warning, gif stream longer than expected.");s[$t++]=Vn;var Ci=$t+=Er;for(An!==Pn&&(s[$t++]=Vn),sr=An;Er--;)sr=Fn[sr],s[--Ci]=255&sr,sr>>=8;wn!==null&&oe<4096&&(Fn[oe++]=wn<<8|Vn,oe>=Le+1&&Ce<12&&(++Ce,Le=Le<<1|1)),wn=Pn}else oe=ve+1,Le=(1<<(Ce=I+1))-1,wn=null}return $t!==m&&zu.log("Warning, gif stream shorter than expected."),s}function pi(r){var l,s,m,I,M,ve=Math.floor,oe=new Array(64),Ce=new Array(64),Le=new Array(64),et=new Array(64),Mt=new Array(65535),$t=new Array(65535),$e=new Array(64),Fn=new Array(64),wn=[],Pn=0,An=7,Er=new Array(64),sr=new Array(64),Vn=new Array(64),Ci=new Array(256),sa=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Hr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Yn=[0,1,2,3,4,5,6,7,8,9,10,11],oi=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],cn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],xr=[0,1,2,3,4,5,6,7,8,9,10,11],pr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Si=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hi(sn,Kn){for(var ir=0,Tr=0,Zr=new Array,gi=1;gi<=16;gi++){for(var Wi=1;Wi<=sn[gi];Wi++)Zr[Kn[Tr]]=[],Zr[Kn[Tr]][0]=ir,Zr[Kn[Tr]][1]=gi,Tr++,ir++;ir*=2}return Zr}function Zi(sn){for(var Kn=sn[0],ir=sn[1]-1;ir>=0;)Kn&1<>8&255),bi(255&sn)}function As(sn,Kn,ir,Tr,Zr){for(var gi,Wi=Zr[0],Yi=Zr[240],ya=function(ja,Il){var No,El,gl,rc,Mu,Au,ju,ku,Xo,mu,nl=0;for(Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+1],gl=ja[nl+2],rc=ja[nl+3],Mu=ja[nl+4],Au=ja[nl+5],ju=ja[nl+6];var Xc=No+(ku=ja[nl+7]),Vu=No-ku,Bu=El+ju,Su=El-ju,kc=gl+Au,vl=gl-Au,Bc=rc+Mu,kl=rc-Mu,du=Xc+Bc,Uc=Xc-Bc,Du=Bu+kc,Ll=Bu-kc;ja[nl]=du+Du,ja[nl+4]=du-Du;var ic=.707106781*(Ll+Uc);ja[nl+2]=Uc+ic,ja[nl+6]=Uc-ic;var yh=.382683433*((du=kl+vl)-(Ll=Su+Vu)),QA=.5411961*du+yh,$f=1.306562965*Ll+yh,Sf=.707106781*(Du=vl+Su),Rl=Vu+Sf,e0=Vu-Sf;ja[nl+5]=e0+QA,ja[nl+3]=e0-QA,ja[nl+1]=Rl+$f,ja[nl+7]=Rl-$f,nl+=8}for(nl=0,Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+8],gl=ja[nl+16],rc=ja[nl+24],Mu=ja[nl+32],Au=ja[nl+40],ju=ja[nl+48];var t0=No+(ku=ja[nl+56]),Ud=No-ku,Qd=El+ju,Wc=El-ju,CA=gl+Au,SA=gl-Au,bh=rc+Mu,k0=rc-Mu,af=t0+bh,If=t0-bh,sf=Qd+CA,of=Qd-CA;ja[nl]=af+sf,ja[nl+32]=af-sf;var jd=.707106781*(of+If);ja[nl+16]=If+jd,ja[nl+48]=If-jd;var Eh=.382683433*((af=k0+SA)-(of=Wc+Ud)),Ff=.5411961*af+Eh,wh=1.306562965*of+Eh,_h=.707106781*(sf=SA+Wc),$h=Ud+_h,eg=Ud-_h;ja[nl+40]=eg+Ff,ja[nl+24]=eg-Ff,ja[nl+8]=$h+wh,ja[nl+56]=$h-wh,nl++}for(Xo=0;Xo<64;++Xo)mu=ja[Xo]*Il[Xo],$e[Xo]=mu>0?mu+.5|0:mu-.5|0;return $e}(sn,Kn),Ya=0;Ya<64;++Ya)Fn[Ki[Ya]]=ya[Ya];var so=Fn[0]-ir;ir=Fn[0],so==0?Zi(Tr[0]):(Zi(Tr[$t[gi=32767+so]]),Zi(Mt[gi]));for(var to=63;to>0&&Fn[to]==0;)to--;if(to==0)return Zi(Wi),ir;for(var Al,On=1;On<=to;){for(var oo=On;Fn[On]==0&&On<=to;)++On;var xu=On-oo;if(xu>=16){Al=xu>>4;for(var Sl=1;Sl<=Al;++Sl)Zi(Yi);xu&=15}gi=32767+Fn[On],Zi(Zr[(xu<<4)+$t[gi]]),Zi(Mt[gi]),On++}return to!=63&&Zi(Wi),ir}function Fa(sn){sn=Math.min(Math.max(sn,1),100),M!=sn&&(function(Kn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Tr=0;Tr<64;Tr++){var Zr=ve((ir[Tr]*Kn+50)/100);Zr=Math.min(Math.max(Zr,1),255),oe[Ki[Tr]]=Zr}for(var gi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wi=0;Wi<64;Wi++){var Yi=ve((gi[Wi]*Kn+50)/100);Yi=Math.min(Math.max(Yi,1),255),Ce[Ki[Wi]]=Yi}for(var ya=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ya=0,so=0;so<8;so++)for(var to=0;to<8;to++)Le[Ya]=1/(oe[Ki[Ya]]*ya[so]*ya[to]*8),et[Ya]=1/(Ce[Ki[Ya]]*ya[so]*ya[to]*8),Ya++}(sn<50?Math.floor(5e3/sn):Math.floor(200-2*sn)),M=sn)}this.encode=function(sn,Kn){Kn&&Fa(Kn),wn=new Array,Pn=0,An=7,Ji(65496),Ji(65504),Ji(16),bi(74),bi(70),bi(73),bi(70),bi(0),bi(1),bi(1),bi(0),Ji(1),Ji(1),bi(0),bi(0),function(){Ji(65499),Ji(132),bi(0);for(var El=0;El<64;El++)bi(oe[El]);bi(1);for(var gl=0;gl<64;gl++)bi(Ce[gl])}(),function(El,gl){Ji(65472),Ji(17),bi(8),Ji(gl),Ji(El),bi(3),bi(1),bi(17),bi(0),bi(2),bi(17),bi(1),bi(3),bi(17),bi(1)}(sn.width,sn.height),function(){Ji(65476),Ji(418),bi(0);for(var El=0;El<16;El++)bi(Hr[El+1]);for(var gl=0;gl<=11;gl++)bi(Yn[gl]);bi(16);for(var rc=0;rc<16;rc++)bi(oi[rc+1]);for(var Mu=0;Mu<=161;Mu++)bi(cn[Mu]);bi(1);for(var Au=0;Au<16;Au++)bi(Rn[Au+1]);for(var ju=0;ju<=11;ju++)bi(xr[ju]);bi(17);for(var ku=0;ku<16;ku++)bi(pr[ku+1]);for(var Xo=0;Xo<=161;Xo++)bi(Si[Xo])}(),Ji(65498),Ji(12),bi(3),bi(1),bi(0),bi(2),bi(17),bi(3),bi(17),bi(0),bi(63),bi(0);var ir=0,Tr=0,Zr=0;Pn=0,An=7,this.encode.displayName="_encode_";for(var gi,Wi,Yi,ya,Ya,so,to,Al,On,oo=sn.data,xu=sn.width,Sl=sn.height,ja=4*xu,Il=0;Il>3)*ja+(to=4*(7&On)),Il+Al>=Sl&&(so-=ja*(Il+1+Al-Sl)),gi+to>=ja&&(so-=gi+to-ja+4),Wi=oo[so++],Yi=oo[so++],ya=oo[so++],Er[On]=(sa[Wi]+sa[Yi+256|0]+sa[ya+512|0]>>16)-128,sr[On]=(sa[Wi+768|0]+sa[Yi+1024|0]+sa[ya+1280|0]>>16)-128,Vn[On]=(sa[Wi+1280|0]+sa[Yi+1536|0]+sa[ya+1792|0]>>16)-128;ir=As(Er,Le,ir,l,m),Tr=As(sr,et,Tr,s,I),Zr=As(Vn,et,Zr,s,I),gi+=32}Il+=8}if(An>=0){var No=[];No[1]=An+1,No[0]=(1<Rn;Rn++)if(Yn[oi+Rn]!=cn.charCodeAt(Rn))return!0;return!1}function m(Yn,oi,cn,Rn,xr){for(var pr=0;prpr+1?[]:new oi),!(Si.length>>0;j&Ke;)Ke>>>=1;return Ke?(j&Ke-1)+Ke:j}function cn(j,ae,Ke,ot,Kt){l(!(ot%Ke));do j[ae+(ot-=Ke)]=Kt;while(0=Kt),512>=Kt)var rn=M(512);else if((rn=M(Kt))==null)return 0;return function(an,hn,En,Mn,kr,wi){var kn,Wr,ui=hn,ia=1<kn;++kn){if(yi[kn]>1<(bu-=yi[kn]))return 0;for(;0=kn;++kn,kr<<=1){if(Po+=bu<<=1,0>(bu-=yi[kn]))return 0;for(;0Ka&&!(0>=(ha-=yi[Ka]));)++Ka,ha<<=1;ia+=zo=1<<(ha=Ka-En),an[hn+(Ka=qo&La)].g=ha+En,an[hn+Ka].value=ui-hn-Ka}Mn.g=kn-En,Mn.value=wi[Wr++],cn(an,ui+(qo>>En),kr,zo,Mn),qo=oi(qo,kn)}}return Po!=2*ua[15]-1?0:ia}(j,ae,Ke,ot,Kt,rn)}function xr(){this.value=this.g=0}function pr(){this.value=this.g=0}function Si(){this.G=ve(5,xr),this.H=M(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ve(Rh,pr)}function Hi(j,ae,Ke,ot){l(j!=null),l(ae!=null),l(2147483648>ot),j.Ca=254,j.I=0,j.b=-8,j.Ka=0,j.oa=ae,j.pa=Ke,j.Jd=ae,j.Yc=Ke+ot,j.Zc=4<=ot?Ke+ot-4+1:Ke,Wi(j)}function Zi(j,ae){for(var Ke=0;0ot),j.Sb=ot,j.Ra=0,j.u=0,j.h=0,4>>=8,j.Ra+=j.oa[j.pa+j.bb]<>>0,++j.bb,j.u-=8;Tr(j)&&(j.h=1,j.u=0)}function Fa(j,ae){if(l(0<=ae),!j.h&&ae<=yd){var Ke=ir(j)&vd[ae];return j.u+=ae,As(j),Ke}return j.h=1,j.u=0}function sn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Kn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(j){return j.Ra>>>(j.u&H0-1)>>>0}function Tr(j){return l(j.bb<=j.Sb),j.h||j.bb==j.Sb&&j.u>H0}function Zr(j,ae){j.u=ae,j.h=Tr(j)}function gi(j){j.u>=d0&&(l(j.u>=d0),As(j))}function Wi(j){l(j!=null&&j.oa!=null),j.pa>>0,j.b+=8):(l(j!=null&&j.oa!=null),j.paj.b&&Wi(j);var ot=j.b,Kt=Ke*ae>>>8,rn=(j.I>>>ot>Kt)+0;for(rn?(Ke-=Kt,j.I-=Kt+1<>>0):Ke=Kt+1,ot=Ke,Kt=0;256<=ot;)Kt+=8,ot>>=8;return ot=7^Kt+z0[ot],j.b-=ot,j.Ca=(Ke<>24&255,j[ae+1]=Ke>>16&255,j[ae+2]=Ke>>8&255,j[ae+3]=255&Ke}function so(j,ae){return j[ae+0]|j[ae+1]<<8}function to(j,ae){return so(j,ae)|j[ae+2]<<16}function Al(j,ae){return so(j,ae)|so(j,ae+2)<<16}function On(j,ae){var Ke=1<=Kt||0>=rn?0:(Ke[0]=Kt,ot[0]=rn,1)}function ja(j,ae){return j+(1<>>ae}function Il(j,ae){return((4278255360&j)+(4278255360&ae)>>>0&4278255360)+((16711935&j)+(16711935&ae)>>>0&16711935)>>>0}function No(j,ae){Yn[ae]=function(Ke,ot,Kt,rn,an,hn,En){var Mn;for(Mn=0;Mn>>1)+(j&ae)>>>0}function rc(j){return 0<=j&&256>j?j:0>j?0:255>1))}function Au(j,ae,Ke){return Math.abs(ae-Ke)-Math.abs(j-Ke)}function ju(j,ae,Ke,ot,Kt,rn,an){for(ot=rn[an-1],Ke=0;Ke>8&255,En=16711935&(En=(En=16711935&an)+((hn<<16)+hn));ot[Kt+rn]=(4278255360&an)+En>>>0}}function Xo(j,ae){ae.jd=255&j,ae.hd=j>>8&255,ae.ud=j>>16&255}function mu(j,ae,Ke,ot,Kt,rn){var an;for(an=0;an>>8,Mn=hn,kr=255&(kr=(kr=hn>>>16)+((j.jd<<24>>24)*(En<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(j.hd<<24>>24)*(En<<24>>24)>>>5)+((j.ud<<24>>24)*(kr<<24>>24)>>>5)),Kt[rn+an]=(4278255360&hn)+(kr<<16)+Mn}}function nl(j,ae,Ke,ot,Kt){Yn[ae]=function(rn,an,hn,En,Mn,kr,wi,kn,Wr){for(En=wi;En>rn.b,Wr=rn.Ea,ui=rn.K[0],ia=rn.w;if(8>kn)for(rn=(1<>=kn}else Yn["VP8LMapColor"+Ke](En,Mn,ui,ia,kr,wi,an,hn,Wr)}}function Xc(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&255,ot[Kt++]=rn>>8&255,ot[Kt++]=255&rn}}function Vu(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&255,ot[Kt++]=rn>>8&255,ot[Kt++]=255&rn,ot[Kt++]=rn>>24&255}}function Bu(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&240|an>>12&15,an=240&an|an>>28&15;ot[Kt++]=rn,ot[Kt++]=an}}function Su(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&248|an>>13&7,an=an>>5&224|an>>3&31;ot[Kt++]=rn,ot[Kt++]=an}}function kc(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>8&255,ot[Kt++]=rn>>16&255}}function vl(j,ae,Ke,ot,Kt,rn){if(rn==0)for(Ke=ae+Ke;ae>24|rn[1]>>8&65280|rn[2]<<8&16711680|rn[3]<<24)>>>0),Kt+=32;else m(ot,Kt,j,ae,Ke)}function Bc(j,ae){Yn[ae][0]=Yn[j+"0"],Yn[ae][1]=Yn[j+"1"],Yn[ae][2]=Yn[j+"2"],Yn[ae][3]=Yn[j+"3"],Yn[ae][4]=Yn[j+"4"],Yn[ae][5]=Yn[j+"5"],Yn[ae][6]=Yn[j+"6"],Yn[ae][7]=Yn[j+"7"],Yn[ae][8]=Yn[j+"8"],Yn[ae][9]=Yn[j+"9"],Yn[ae][10]=Yn[j+"10"],Yn[ae][11]=Yn[j+"11"],Yn[ae][12]=Yn[j+"12"],Yn[ae][13]=Yn[j+"13"],Yn[ae][14]=Yn[j+"0"],Yn[ae][15]=Yn[j+"0"]}function kl(j){return j==_p||j==$p||j==Cp||j==em}function du(){this.eb=[],this.size=this.A=this.fb=0}function Uc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Du(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new du,this.f.kb=new Uc,this.sd=null}function Ll(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ic(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function yh(j){return alert("todo:WebPSamplerProcessPlane"),j.T}function QA(j,ae){var Ke=j.T,ot=ae.ba.f.RGBA,Kt=ot.eb,rn=ot.fb+j.ka*ot.A,an=Vd[ae.ba.S],hn=j.y,En=j.O,Mn=j.f,kr=j.N,wi=j.ea,kn=j.W,Wr=ae.cc,ui=ae.dc,ia=ae.Mc,yi=ae.Nc,ua=j.ka,ha=j.ka+j.T,Ka=j.U,La=Ka+1>>1;for(ua==0?an(hn,En,null,null,Mn,kr,wi,kn,Mn,kr,wi,kn,Kt,rn,null,null,Ka):(an(ae.ec,ae.fc,hn,En,Wr,ui,ia,yi,Mn,kr,wi,kn,Kt,rn-ot.A,Kt,rn,Ka),++Ke);ua+2Ke,Kt=Ke==bp||Ke==Ep||Ke==wp||Ke==qp||Ke==12||kl(Ke);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!Ng(ae.Oa,j,Kt?11:12))return 0;if(Kt&&kl(Ke)&&Lg(),j.da)alert("todo:use_scaling");else{if(ot){if(ae.Ib=yh,j.Kb){if(Ke=j.U+1>>1,ae.memory=M(j.U+2*Ke),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+j.U,ae.Mc=ae.cc,ae.Nc=ae.dc+Ke,ae.Ib=QA,Lg()}}else alert("todo:EmitYUV");Kt&&(ae.Jb=$f,ot&&uf())}if(ot&&!Um){for(j=0;256>j;++j)bv[j]=89858*(j-128)+Bp>>xp,Cv[j]=-22014*(j-128)+Bp,wv[j]=-45773*(j-128),Ev[j]=113618*(j-128)+Bp>>xp;for(j=Zg;j>xp,xv[j-Zg]=Df(ae,255),Bv[j-Zg]=Df(ae+8>>4,15);Um=1}return 1}function Rl(j){var ae=j.ma,Ke=j.U,ot=j.T;return l(!(1&j.ka)),0>=Ke||0>=ot?0:(Ke=ae.Ib(j,ae),ae.Jb!=null&&ae.Jb(j,ae,Ke),ae.Dc+=Ke,1)}function e0(j){j.ma.memory=null}function t0(j,ae,Ke,ot){return Fa(j,8)!=47?0:(ae[0]=Fa(j,14)+1,Ke[0]=Fa(j,14)+1,ot[0]=Fa(j,1),Fa(j,3)!=0?0:!j.h)}function Ud(j,ae){if(4>j)return j+1;var Ke=j-2>>1;return(2+(1&j)<>4)*j+(8-(15&Ke)))?Ke:1;var Ke}function Wc(j,ae,Ke){var ot=ir(Ke),Kt=j[ae+=255&ot].g-8;return 0>>0,l(8>=Ke.g),j.g}function SA(j,ae,Ke){var ot=j.xc;return l((ae=ot==0?0:j.vc[j.md*(Ke>>ot)+(ae>>ot)])>zo.b)*Po;iaKa&&(Ko=Ka),(0,Qg[Hu[gA++]>>8&15])(kn,Wr+ +Eu,ua,ha+Eu-Ka,Ko-Eu,ua,ha+Eu),Eu=Ko}Wr+=Ka,ha+=Ka,++ia&qo||(zo+=Po)}wi!=Mn.nc&&m(En,hn-ui,En,hn+(wi-kr-1)*ui,ui);break;case 1:for(ui=kn,yi=Wr,Ka=(kn=Mn.Ea)-(ha=kn&~(ua=(Wr=1<>Mn.b)*ia;kr=Kt),0rn.o&&(ot=rn.o),Ke=ot?Ke=0:(Kt[0]+=4*rn.v,rn.ka=Ke-rn.j,rn.U=rn.va-rn.v,rn.T=ot-Ke,Ke=1),Ke){if(hn=hn[0],11>(Ke=j.ca).S){var kr=Ke.f.RGBA,wi=(ot=Ke.S,Kt=rn.U,rn=rn.T,Mn=kr.eb,kr.A),kn=rn;for(kr=kr.fb+j.Ma*kr.A;0ot){var Kt=j.l.width,rn=Ke.ca,an=Ke.tb+Kt*ot,hn=j.V,En=j.Ba+j.c*ot,Mn=j.gc;l(j.ab==1),l(Mn[0].hc==3),Rf(Mn[0],ot,ae,hn,En,rn,an),If(Ke,ot,ae,rn,an,Kt)}j.C=j.Ma=ae}function of(j,ae,Ke,ot,Kt,rn,an){var hn=j.$/ot,En=j.$%ot,Mn=j.m,kr=j.s,wi=Ke+j.$,kn=wi;Kt=Ke+ot*Kt;var Wr=Ke+ot*rn,ui=280+kr.ua,ia=j.Pb?hn:16777216,yi=0=ia){var qo=wi-Ke;l((ia=j).Pb),ia.wd=ia.m,ia.xd=qo,0bu.g?(Zr(La,La.u+bu.g),qo[Po]=bu.value,La=0):(Zr(La,La.u+bu.g-256),l(256<=bu.value),La=bu.value),La==0&&(Ka=!0)}else La=Wc(ha.G[0],ha.H[0],Mn);if(Mn.h)break;if(Ka||256>La){if(!Ka)if(ha.nd)ae[wi]=(ha.qb|La<<8)>>>0;else{if(gi(Mn),Ka=Wc(ha.G[1],ha.H[1],Mn),gi(Mn),qo=Wc(ha.G[2],ha.H[2],Mn),Po=Wc(ha.G[3],ha.H[3],Mn),Mn.h)break;ae[wi]=(Po<<24|Ka<<16|La<<8|qo)>>>0}if(Ka=!1,++wi,++En>=ot&&(En=0,++hn,an!=null&&hn<=rn&&!(hn%16)&&an(j,hn),yi!=null))for(;kn>>yi.Mb]=La}else if(280>La){if(La=Ud(La-256,Mn),qo=Wc(ha.G[4],ha.H[4],Mn),gi(Mn),qo=Qd(ot,qo=Ud(qo,Mn)),Mn.h)break;if(wi-Ke=ot;)En-=ot,++hn,an!=null&&hn<=rn&&!(hn%16)&&an(j,hn);if(l(wi<=Kt),En&ua&&(ha=SA(kr,En,hn)),yi!=null)for(;kn>>yi.Mb]=La}else{if(!(La>>yi.Mb]=La;La=wi,l(!(Ka>>>(qo=yi).Xa)),ae[La]=qo.X[Ka],Ka=!0}Ka||l(Mn.h==Tr(Mn))}if(j.Pb&&Mn.h&&wirn?rn:hn),j.a=0,j.$=wi-Ke}return 1}return j.a=3,0}function jd(j){l(j!=null),j.vc=null,j.yc=null,j.Ya=null;var ae=j.Wa;ae!=null&&(ae.X=null),j.vb=null,l(j!=null)}function Eh(){var j=new $l;return j==null?null:(j.a=0,j.xb=Lm,Bc("Predictor","VP8LPredictors"),Bc("Predictor","VP8LPredictors_C"),Bc("PredictorAdd","VP8LPredictorsAdd"),Bc("PredictorAdd","VP8LPredictorsAdd_C"),Yc=ku,jg=mu,Hg=Xc,K0=Vu,W0=Bu,Z0=Su,Oh=kc,Yn.VP8LMapColor32b=Lf,Yn.VP8LMapColor8b=Ug,j)}function Ff(j,ae,Ke,ot,Kt){var rn=1,an=[j],hn=[ae],En=ot.m,Mn=ot.s,kr=null,wi=0;e:for(;;){if(Ke)for(;rn&&Fa(En,1);){var kn=an,Wr=hn,ui=ot,ia=1,yi=ui.m,ua=ui.gc[ui.ab],ha=Fa(yi,2);if(ui.Oc&1<=ui.ab),ha){case 0:case 1:ua.b=Fa(yi,3)+2,ia=Ff(ja(ua.Ea,ua.b),ja(ua.nc,ua.b),0,ui,ua.K),ua.K=ua.K[0];break;case 3:var Ka,La=Fa(yi,8)+1,qo=16>zo.b),gA=M(Hu);if(gA==null)Ka=0;else{var Eu=zo.K[0],Ko=zo.w;for(gA[0]=zo.K[0][0],Po=1;Po<1*bu;++Po)gA[Po]=Il(Eu[Ko+Po],gA[Po-1]);for(;Po<4*Hu;++Po)gA[Po]=0;zo.K[0]=null,zo.K[0]=gA,Ka=1}}ia=Ka;break;case 2:break;default:l(0)}rn=ia}}if(an=an[0],hn=hn[0],rn&&Fa(En,1)&&!(rn=1<=(wi=Fa(En,4))&&11>=wi)){ot.a=3;break e}var Ws;if(Ws=rn)t:{var qc,fu,Wu,Oc=ot,DA=an,YA=hn,Zc=wi,jA=Ke,JA=Oc.m,pA=Oc.s,Xu=[null],Ac=1,Vc=0,dc=ov[Zc];n:for(;;){if(jA&&Fa(JA,1)){var TA=Fa(JA,3)+2,Af=ja(DA,TA),_c=ja(YA,TA),ud=Af*_c;if(!Ff(Af,_c,0,Oc,Xu))break n;for(Xu=Xu[0],pA.xc=TA,qc=0;qc>8&65535;Xu[qc]=yc,yc>=Ac&&(Ac=yc+1)}}if(JA.h)break n;for(fu=0;5>fu;++fu){var mA=Tm[fu];!fu&&0=qA),Cd=wd;var cd=M(Vc);if(Cd==null||cd==null||Ed==null){Oc.a=1;break n}var xd=Ed;for(qc=Wu=0;qcfu;++fu){mA=Tm[fu],Bd[fu]=xd,df[fu]=Wu,!fu&&0Pp)break r}else sm=Pp;for(Gg=0;Ggcg)Zm[Gg++]=cg,cg!=0&&(Vm=cg);else{var Nv=cg==16,Ym=cg-16,Mv=rv[Ym],Jm=Fa(J0,nv[Ym])+Mv;if(Gg+Jm>Pp)break r;for(var kv=Nv?Vm:0;0=fu){var Xg,lm=cd[0];for(Xg=1;Xglm&&(lm=cd[Xg]);PA+=lm}}if(Ic.nd=g0,Ic.Qb=0,g0&&(Ic.qb=(Bd[3][df[3]+0].value<<24|Bd[1][df[1]+0].value<<16|Bd[2][df[2]+0].value)>>>0,Mh==0&&256>Bd[0][df[0]+0].value&&(Ic.Qb=1,Ic.qb+=Bd[0][df[0]+0].value<<8)),Ic.jc=!Ic.Qb&&6>PA,Ic.jc){var Lp,p0=Ic;for(Lp=0;Lp>=CA(Rp,8,_0),q0>>=CA(p0.G[1][p0.H[1]+q0],16,_0),q0>>=CA(p0.G[2][p0.H[2]+q0],0,_0),CA(p0.G[3][p0.H[3]+q0],24,_0))}}}pA.vc=Xu,pA.Wb=Ac,pA.Ya=Cd,pA.yc=Ed,Ws=1;break t}Ws=0}if(!(rn=Ws)){ot.a=3;break e}if(0ot+1?[]:0),!(Kt.lengthj?0:j>ae?ae:j}function tg(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Np(){var j=new rp;return j!=null&&(j.a=0,j.sc="OK",j.cb=0,j.Xb=0,Wg||(Wg=ng)),j}function rA(j,ae,Ke){return j.a==0&&(j.a=ae,j.sc=Ke,j.cb=0),0}function ip(j,ae,Ke){return 3<=Ke&&j[ae+0]==157&&j[ae+1]==1&&j[ae+2]==42}function Tf(j,ae){if(j==null)return 0;if(j.a=0,j.sc="OK",ae==null)return rA(j,2,"null VP8Io passed to VP8GetHeaders()");var Ke=ae.data,ot=ae.w,Kt=ae.ha;if(4>Kt)return rA(j,7,"Truncated header.");var rn=Ke[ot+0]|Ke[ot+1]<<8|Ke[ot+2]<<16,an=j.Od;if(an.Rb=!(1&rn),an.td=rn>>1&7,an.yd=rn>>4&1,an.ub=rn>>5,3Kt)return rA(j,7,"cannot parse picture header");if(!ip(Ke,ot,Kt))return rA(j,3,"Bad code word");hn.c=16383&(Ke[ot+4]<<8|Ke[ot+3]),hn.Td=Ke[ot+4]>>6,hn.i=16383&(Ke[ot+6]<<8|Ke[ot+5]),hn.Ud=Ke[ot+6]>>6,ot+=7,Kt-=7,j.za=hn.c+15>>4,j.Ub=hn.i+15>>4,ae.width=hn.c,ae.height=hn.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,I((rn=j.Pa).jb,0,255,rn.jb.length),l((rn=j.Qa)!=null),rn.Cb=0,rn.Bb=0,rn.Fb=1,I(rn.Zb,0,0,rn.Zb.length),I(rn.Lb,0,0,rn.Lb)}if(an.ub>Kt)return rA(j,7,"bad partition length");Hi(rn=j.m,Ke,ot,an.ub),ot+=an.ub,Kt-=an.ub,an.Rb&&(hn.Ld=Yi(rn),hn.Kd=Yi(rn)),hn=j.Qa;var En,Mn=j.Pa;if(l(rn!=null),l(hn!=null),hn.Cb=Yi(rn),hn.Cb){if(hn.Bb=Yi(rn),Yi(rn)){for(hn.Fb=Yi(rn),En=0;4>En;++En)hn.Zb[En]=Yi(rn)?bi(rn,7):0;for(En=0;4>En;++En)hn.Lb[En]=Yi(rn)?bi(rn,6):0}if(hn.Bb)for(En=0;3>En;++En)Mn.jb[En]=Yi(rn)?Zi(rn,8):255}else hn.Bb=0;if(rn.Ka)return rA(j,3,"cannot parse segment header");if((hn=j.ed).zd=Yi(rn),hn.Tb=Zi(rn,6),hn.wb=Zi(rn,3),hn.Pc=Yi(rn),hn.Pc&&Yi(rn)){for(Mn=0;4>Mn;++Mn)Yi(rn)&&(hn.vd[Mn]=bi(rn,6));for(Mn=0;4>Mn;++Mn)Yi(rn)&&(hn.od[Mn]=bi(rn,6))}if(j.L=hn.Tb==0?0:hn.zd?1:2,rn.Ka)return rA(j,3,"cannot parse filter header");var kr=Kt;if(Kt=En=ot,ot=En+kr,hn=kr,j.Xb=(1<hn&&(wi=hn),Hi(j.Jc[+kr],Ke,En,wi),En+=wi,hn-=wi,Kt+=3}Hi(j.Jc[+Mn],Ke,En,hn),Ke=Enwi;++wi){if(kr.Cb){var kn=kr.Zb[wi];kr.Fb||(kn+=Ke)}else{if(0>16,8>Wr.Eb[1]&&(Wr.Eb[1]=8),Wr.Qc[0]=tm[Df(kn+Mn,117)],Wr.Qc[1]=nm[Df(kn+En,127)],Wr.lc=kn+En}if(!an.Rb)return rA(j,4,"Not a key frame.");for(Yi(rn),an=j.Pa,Ke=0;4>Ke;++Ke){for(Kt=0;8>Kt;++Kt)for(ot=0;3>ot;++ot)for(hn=0;11>hn;++hn)Mn=ya(rn,fv[Ke][Kt][ot][hn])?Zi(rn,8):Av[Ke][Kt][ot][hn],an.Wc[Ke][Kt].Yb[ot][hn]=Mn;for(Kt=0;17>Kt;++Kt)an.Xc[Ke][Kt]=an.Wc[Ke][hv[Kt]]}return j.kc=Yi(rn),j.kc&&(j.Bd=Zi(rn,8)),j.cb=1}function ng(j,ae,Ke,ot,Kt,rn,an){var hn=ae[Kt].Yb[Ke];for(Ke=0;16>Kt;++Kt){if(!ya(j,hn[Ke+0]))return Kt;for(;!ya(j,hn[Ke+1]);)if(hn=ae[++Kt].Yb[0],Ke=0,Kt==16)return 16;var En=ae[Kt+1].Yb;if(ya(j,hn[Ke+2])){var Mn=j,kr=0;if(ya(Mn,(kn=hn)[(wi=Ke)+3]))if(ya(Mn,kn[wi+6])){for(hn=0,wi=2*(kr=ya(Mn,kn[wi+8]))+(kn=ya(Mn,kn[wi+9+kr])),kr=0,kn=uv[wi];kn[hn];++hn)kr+=kr+ya(Mn,kn[hn]);kr+=3+(8<(Mn=j).b&&Wi(Mn);var wi,kn=Mn.b,Wr=(wi=Mn.Ca>>1)-(Mn.I>>kn)>>31;--Mn.b,Mn.Ca+=Wr,Mn.Ca|=1,Mn.I-=(wi+1&Wr)<>3),j[ae+Ke+32*ot]=-256&Kt?0>Kt?0:255:Kt}function dA(j,ae,Ke,ot,Kt,rn){zd(j,ae,0,Ke,ot+Kt),zd(j,ae,1,Ke,ot+rn),zd(j,ae,2,Ke,ot-rn),zd(j,ae,3,Ke,ot-Kt)}function n0(j){return(20091*j>>16)+j}function sp(j,ae,Ke,ot){var Kt,rn=0,an=M(16);for(Kt=0;4>Kt;++Kt){var hn=j[ae+0]+j[ae+8],En=j[ae+0]-j[ae+8],Mn=(35468*j[ae+4]>>16)-n0(j[ae+12]),kr=n0(j[ae+4])+(35468*j[ae+12]>>16);an[rn+0]=hn+kr,an[rn+1]=En+Mn,an[rn+2]=En-Mn,an[rn+3]=hn-kr,rn+=4,ae++}for(Kt=rn=0;4>Kt;++Kt)hn=(j=an[rn+0]+4)+an[rn+8],En=j-an[rn+8],Mn=(35468*an[rn+4]>>16)-n0(an[rn+12]),zd(Ke,ot,0,0,hn+(kr=n0(an[rn+4])+(35468*an[rn+12]>>16))),zd(Ke,ot,1,0,En+Mn),zd(Ke,ot,2,0,En-Mn),zd(Ke,ot,3,0,hn-kr),rn++,ot+=32}function Mp(j,ae,Ke,ot){var Kt=j[ae+0]+4,rn=35468*j[ae+4]>>16,an=n0(j[ae+4]),hn=35468*j[ae+1]>>16;dA(Ke,ot,0,Kt+an,j=n0(j[ae+1]),hn),dA(Ke,ot,1,Kt+rn,j,hn),dA(Ke,ot,2,Kt-rn,j,hn),dA(Ke,ot,3,Kt-an,j,hn)}function kp(j,ae,Ke,ot,Kt){sp(j,ae,Ke,ot),Kt&&sp(j,ae+16,Ke,ot+4)}function Pf(j,ae,Ke,ot){Nh(j,ae+0,Ke,ot,1),Nh(j,ae+32,Ke,ot+128,1)}function op(j,ae,Ke,ot){var Kt;for(j=j[ae+0]+4,Kt=0;4>Kt;++Kt)for(ae=0;4>ae;++ae)zd(Ke,ot,ae,Kt,j)}function lp(j,ae,Ke,ot){j[ae+0]&&ac(j,ae+0,Ke,ot),j[ae+16]&&ac(j,ae+16,Ke,ot+4),j[ae+32]&&ac(j,ae+32,Ke,ot+128),j[ae+48]&&ac(j,ae+48,Ke,ot+128+4)}function rg(j,ae,Ke,ot){var Kt,rn=M(16);for(Kt=0;4>Kt;++Kt){var an=j[ae+0+Kt]+j[ae+12+Kt],hn=j[ae+4+Kt]+j[ae+8+Kt],En=j[ae+4+Kt]-j[ae+8+Kt],Mn=j[ae+0+Kt]-j[ae+12+Kt];rn[0+Kt]=an+hn,rn[8+Kt]=an-hn,rn[4+Kt]=Mn+En,rn[12+Kt]=Mn-En}for(Kt=0;4>Kt;++Kt)an=(j=rn[0+4*Kt]+3)+rn[3+4*Kt],hn=rn[1+4*Kt]+rn[2+4*Kt],En=rn[1+4*Kt]-rn[2+4*Kt],Mn=j-rn[3+4*Kt],Ke[ot+0]=an+hn>>3,Ke[ot+16]=Mn+En>>3,Ke[ot+32]=an-hn>>3,Ke[ot+48]=Mn-En>>3,ot+=64}function Ch(j,ae,Ke){var ot,Kt=ae-32,rn=bd,an=255-j[Kt-1];for(ot=0;otKe;++Ke)m(j,ae+32*Ke,j,ae-32,16)}function up(j,ae){var Ke;for(Ke=16;0ot;++ot)I(ae,Ke+32*ot,j,16)}function Hp(j,ae){var Ke,ot=16;for(Ke=0;16>Ke;++Ke)ot+=j[ae-1+32*Ke]+j[ae+Ke-32];lf(ot>>5,j,ae)}function xh(j,ae){var Ke,ot=8;for(Ke=0;16>Ke;++Ke)ot+=j[ae-1+32*Ke];lf(ot>>4,j,ae)}function Bg(j,ae){var Ke,ot=8;for(Ke=0;16>Ke;++Ke)ot+=j[ae+Ke-32];lf(ot>>4,j,ae)}function zp(j,ae){lf(128,j,ae)}function ru(j,ae,Ke){return j+2*ae+Ke+2>>2}function Kp(j,ae){var Ke,ot=ae-32;for(ot=new Uint8Array([ru(j[ot-1],j[ot+0],j[ot+1]),ru(j[ot+0],j[ot+1],j[ot+2]),ru(j[ot+1],j[ot+2],j[ot+3]),ru(j[ot+2],j[ot+3],j[ot+4])]),Ke=0;4>Ke;++Ke)m(j,ae+32*Ke,ot,0,ot.length)}function Wp(j,ae){var Ke=j[ae-1],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96];Ya(j,ae+0,16843009*ru(j[ae-1-32],Ke,ot)),Ya(j,ae+32,16843009*ru(Ke,ot,Kt)),Ya(j,ae+64,16843009*ru(ot,Kt,rn)),Ya(j,ae+96,16843009*ru(Kt,rn,rn))}function Zp(j,ae){var Ke,ot=4;for(Ke=0;4>Ke;++Ke)ot+=j[ae+Ke-32]+j[ae-1+32*Ke];for(ot>>=3,Ke=0;4>Ke;++Ke)I(j,ae+32*Ke,ot,4)}function r0(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1-32],an=j[ae+0-32],hn=j[ae+1-32],En=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+96]=ru(ot,Kt,j[ae-1+96]),j[ae+1+96]=j[ae+0+64]=ru(Ke,ot,Kt),j[ae+2+96]=j[ae+1+64]=j[ae+0+32]=ru(rn,Ke,ot),j[ae+3+96]=j[ae+2+64]=j[ae+1+32]=j[ae+0+0]=ru(an,rn,Ke),j[ae+3+64]=j[ae+2+32]=j[ae+1+0]=ru(hn,an,rn),j[ae+3+32]=j[ae+2+0]=ru(En,hn,an),j[ae+3+0]=ru(Mn,En,hn)}function i0(j,ae){var Ke=j[ae+1-32],ot=j[ae+2-32],Kt=j[ae+3-32],rn=j[ae+4-32],an=j[ae+5-32],hn=j[ae+6-32],En=j[ae+7-32];j[ae+0+0]=ru(j[ae+0-32],Ke,ot),j[ae+1+0]=j[ae+0+32]=ru(Ke,ot,Kt),j[ae+2+0]=j[ae+1+32]=j[ae+0+64]=ru(ot,Kt,rn),j[ae+3+0]=j[ae+2+32]=j[ae+1+64]=j[ae+0+96]=ru(Kt,rn,an),j[ae+3+32]=j[ae+2+64]=j[ae+1+96]=ru(rn,an,hn),j[ae+3+64]=j[ae+2+96]=ru(an,hn,En),j[ae+3+96]=ru(hn,En,En)}function Vp(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1-32],an=j[ae+0-32],hn=j[ae+1-32],En=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+0]=j[ae+1+64]=rn+an+1>>1,j[ae+1+0]=j[ae+2+64]=an+hn+1>>1,j[ae+2+0]=j[ae+3+64]=hn+En+1>>1,j[ae+3+0]=En+Mn+1>>1,j[ae+0+96]=ru(Kt,ot,Ke),j[ae+0+64]=ru(ot,Ke,rn),j[ae+0+32]=j[ae+1+96]=ru(Ke,rn,an),j[ae+1+32]=j[ae+2+96]=ru(rn,an,hn),j[ae+2+32]=j[ae+3+96]=ru(an,hn,En),j[ae+3+32]=ru(hn,En,Mn)}function Gp(j,ae){var Ke=j[ae+0-32],ot=j[ae+1-32],Kt=j[ae+2-32],rn=j[ae+3-32],an=j[ae+4-32],hn=j[ae+5-32],En=j[ae+6-32],Mn=j[ae+7-32];j[ae+0+0]=Ke+ot+1>>1,j[ae+1+0]=j[ae+0+64]=ot+Kt+1>>1,j[ae+2+0]=j[ae+1+64]=Kt+rn+1>>1,j[ae+3+0]=j[ae+2+64]=rn+an+1>>1,j[ae+0+32]=ru(Ke,ot,Kt),j[ae+1+32]=j[ae+0+96]=ru(ot,Kt,rn),j[ae+2+32]=j[ae+1+96]=ru(Kt,rn,an),j[ae+3+32]=j[ae+2+96]=ru(rn,an,hn),j[ae+3+64]=ru(an,hn,En),j[ae+3+96]=ru(hn,En,Mn)}function ig(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96];j[ae+0+0]=Ke+ot+1>>1,j[ae+2+0]=j[ae+0+32]=ot+Kt+1>>1,j[ae+2+32]=j[ae+0+64]=Kt+rn+1>>1,j[ae+1+0]=ru(Ke,ot,Kt),j[ae+3+0]=j[ae+1+32]=ru(ot,Kt,rn),j[ae+3+32]=j[ae+1+64]=ru(Kt,rn,rn),j[ae+3+64]=j[ae+2+64]=j[ae+0+96]=j[ae+1+96]=j[ae+2+96]=j[ae+3+96]=rn}function Sg(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96],an=j[ae-1-32],hn=j[ae+0-32],En=j[ae+1-32],Mn=j[ae+2-32];j[ae+0+0]=j[ae+2+32]=Ke+an+1>>1,j[ae+0+32]=j[ae+2+64]=ot+Ke+1>>1,j[ae+0+64]=j[ae+2+96]=Kt+ot+1>>1,j[ae+0+96]=rn+Kt+1>>1,j[ae+3+0]=ru(hn,En,Mn),j[ae+2+0]=ru(an,hn,En),j[ae+1+0]=j[ae+3+32]=ru(Ke,an,hn),j[ae+1+32]=j[ae+3+64]=ru(ot,Ke,an),j[ae+1+64]=j[ae+3+96]=ru(Kt,ot,Ke),j[ae+1+96]=ru(rn,Kt,ot)}function Bh(j,ae){var Ke;for(Ke=0;8>Ke;++Ke)m(j,ae+32*Ke,j,ae-32,8)}function Xp(j,ae){var Ke;for(Ke=0;8>Ke;++Ke)I(j,ae,j[ae-1],8),ae+=32}function a0(j,ae,Ke){var ot;for(ot=0;8>ot;++ot)I(ae,Ke+32*ot,j,8)}function Yp(j,ae){var Ke,ot=8;for(Ke=0;8>Ke;++Ke)ot+=j[ae+Ke-32]+j[ae-1+32*Ke];a0(ot>>4,j,ae)}function Ig(j,ae){var Ke,ot=4;for(Ke=0;8>Ke;++Ke)ot+=j[ae+Ke-32];a0(ot>>3,j,ae)}function Fg(j,ae){var Ke,ot=4;for(Ke=0;8>Ke;++Ke)ot+=j[ae-1+32*Ke];a0(ot>>3,j,ae)}function cp(j,ae){a0(128,j,ae)}function s0(j,ae,Ke){var ot=j[ae-Ke],Kt=j[ae+0],rn=3*(Kt-ot)+Jp[1020+j[ae-2*Ke]-j[ae+Ke]],an=vp[112+(rn+4>>3)];j[ae-Ke]=bd[255+ot+vp[112+(rn+3>>3)]],j[ae+0]=bd[255+Kt-an]}function Dg(j,ae,Ke,ot){var Kt=j[ae+0],rn=j[ae+Ke];return Zd[255+j[ae-2*Ke]-j[ae-Ke]]>ot||Zd[255+rn-Kt]>ot}function ag(j,ae,Ke,ot){return 4*Zd[255+j[ae-Ke]-j[ae+0]]+Zd[255+j[ae-2*Ke]-j[ae+Ke]]<=ot}function Tg(j,ae,Ke,ot,Kt){var rn=j[ae-3*Ke],an=j[ae-2*Ke],hn=j[ae-Ke],En=j[ae+0],Mn=j[ae+Ke],kr=j[ae+2*Ke],wi=j[ae+3*Ke];return 4*Zd[255+hn-En]+Zd[255+an-Mn]>ot?0:Zd[255+j[ae-4*Ke]-rn]<=Kt&&Zd[255+rn-an]<=Kt&&Zd[255+an-hn]<=Kt&&Zd[255+wi-kr]<=Kt&&Zd[255+kr-Mn]<=Kt&&Zd[255+Mn-En]<=Kt}function Sh(j,ae,Ke,ot){var Kt=2*ot+1;for(ot=0;16>ot;++ot)ag(j,ae+ot,Ke,Kt)&&s0(j,ae+ot,Ke)}function Pg(j,ae,Ke,ot){var Kt=2*ot+1;for(ot=0;16>ot;++ot)ag(j,ae+ot*Ke,1,Kt)&&s0(j,ae+ot*Ke,1)}function Ap(j,ae,Ke,ot){var Kt;for(Kt=3;0>7,ua=18*ha+63>>7,ha=9*ha+63>>7;En[Mn-3*kr]=bd[255+En[Mn-3*kr]+ha],En[Mn-2*kr]=bd[255+wi+ua],En[Mn-kr]=bd[255+kn+yi],En[Mn+0]=bd[255+Wr-yi],En[Mn+kr]=bd[255+ui-ua],En[Mn+2*kr]=bd[255+ia-ha]}ae+=ot}}function l0(j,ae,Ke,ot,Kt,rn,an,hn){for(rn=2*rn+1;0>3)],ia=vp[112+(ia+3>>3)],yi=ui+1>>1;En[Mn-2*kr]=bd[255+En[Mn-2*kr]+yi],En[Mn-kr]=bd[255+wi+ia],En[Mn+0]=bd[255+kn-ui],En[Mn+kr]=bd[255+Wr-yi]}ae+=ot}}function fp(j,ae,Ke,ot,Kt,rn){o0(j,ae,Ke,1,16,ot,Kt,rn)}function Ih(j,ae,Ke,ot,Kt,rn){o0(j,ae,1,Ke,16,ot,Kt,rn)}function hp(j,ae,Ke,ot,Kt,rn){var an;for(an=3;0Mn?0:255:Mn)&255,Mn=En,Kt[rn+hn]=kr}}function Sc(j,ae,Ke,ot){var Kt=ae.width,rn=ae.o;if(l(j!=null&&ae!=null),0>Ke||0>=ot||Ke+ot>rn)return null;if(!j.Cc){if(j.ga==null){var an;if(j.ga=new vu,(an=j.ga==null)||(an=ae.width*ae.o,l(j.Gb.length==0),j.Gb=M(an),j.Uc=0,j.Gb==null?an=0:(j.mb=j.Gb,j.nb=j.Uc,j.rc=null,an=1),an=!an),!an){an=j.ga;var hn=j.Fa,En=j.P,Mn=j.qc,kr=j.mb,wi=j.nb,kn=En+1,Wr=Mn-1,ui=an.l;if(l(hn!=null&&kr!=null&&ae!=null),X0[0]=null,X0[1]=Gu,X0[2]=zc,X0[3]=iA,an.ca=kr,an.tb=wi,an.c=ae.width,an.i=ae.height,l(0=Mn)ae=0;else if(an.$a=3&hn[En+0],an.Z=hn[En+0]>>2&3,an.Lc=hn[En+0]>>4&3,En=hn[En+0]>>6&3,0>an.$a||1=an.c*an.i;an=!ae}if(an)return null;j.ga.Lc!=1?j.Ga=0:ot=rn-Ke}l(j.ga!=null),l(Ke+ot<=rn);e:{if(ae=(hn=j.ga).c,rn=hn.l.o,hn.$a==0){if(kn=j.rc,Wr=j.Vc,ui=j.Fa,En=j.P+1+Ke*ae,Mn=j.mb,kr=j.nb+Ke*ae,l(En<=j.P+j.qc),hn.Z!=0)for(l(X0[hn.Z]!=null),an=0;an=ae)ae=1;else if(hn.ic||uf(),hn.ic){hn=an.V,kn=an.Ba,Wr=an.c;var ia=an.i,yi=(ui=1,En=an.$/Wr,Mn=an.$%Wr,kr=an.m,wi=an.s,an.$),ua=Wr*ia,ha=Wr*ae,Ka=wi.wc,La=yi(ia=Wc(La.G[0],La.H[0],kr)))hn[kn+yi]=ia,++yi,++Mn>=Wr&&(Mn=0,++En<=ae&&!(En%16)&&sf(an,En));else{if(!(280>ia)){ui=0;break t}ia=Ud(ia-256,kr);var qo,Po=Wc(La.G[4],La.H[4],kr);if(gi(kr),!(yi>=(Po=Qd(Wr,Po=Ud(Po,kr)))&&ua-yi>=ia)){ui=0;break t}for(qo=0;qo=Wr;)Mn-=Wr,++En<=ae&&!(En%16)&&sf(an,En);yiae?ae:En);break t}!ui||kr.h&&yi=rn&&(j.Cc=1),ot=1}if(!ot)return null;if(j.Cc&&((ot=j.ga)!=null&&(ot.mc=null),j.ga=null,0>23,hn[En+4*an+1]=hn[En+4*an+1]*wi>>23,hn[En+4*an+2]=hn[En+4*an+2]*wi>>23)}ae+=rn}}function aA(j,ae,Ke,ot,Kt){for(;0>4)*En>>16;j[ae+2*rn+0]=(240&an|an>>4)*En>>16&240|(15&an|an<<4)*En>>16>>4&15,j[ae+2*rn+1]=240&Mn|hn}ae+=Kt}}function IA(j,ae,Ke,ot,Kt,rn,an,hn){var En,Mn,kr=255;for(Mn=0;Mn>8}function uf(){Kg=fA,bm=aA,Em=IA,wm=u0}function c0(j,ae,Ke){Yn[j]=function(ot,Kt,rn,an,hn,En,Mn,kr,wi,kn,Wr,ui,ia,yi,ua,ha,Ka){var La,qo=Ka-1>>1,Po=hn[En+0]|Mn[kr+0]<<16,bu=wi[kn+0]|Wr[ui+0]<<16;l(ot!=null);var zo=3*Po+bu+131074>>2;for(ae(ot[Kt+0],255&zo,zo>>16,ia,yi),rn!=null&&(zo=3*bu+Po+131074>>2,ae(rn[an+0],255&zo,zo>>16,ua,ha)),La=1;La<=qo;++La){var Hu=hn[En+La]|Mn[kr+La]<<16,gA=wi[kn+La]|Wr[ui+La]<<16,Eu=Po+Hu+bu+gA+524296,Ko=Eu+2*(Hu+bu)>>3;zo=Ko+Po>>1,Po=(Eu=Eu+2*(Po+gA)>>3)+Hu>>1,ae(ot[Kt+2*La-1],255&zo,zo>>16,ia,yi+(2*La-1)*Ke),ae(ot[Kt+2*La-0],255&Po,Po>>16,ia,yi+(2*La-0)*Ke),rn!=null&&(zo=Eu+bu>>1,Po=Ko+gA>>1,ae(rn[an+2*La-1],255&zo,zo>>16,ua,ha+(2*La-1)*Ke),ae(rn[an+2*La+0],255&Po,Po>>16,ua,ha+(2*La+0)*Ke)),Po=Hu,bu=gA}1&Ka||(zo=3*Po+bu+131074>>2,ae(ot[Kt+Ka-1],255&zo,zo>>16,ia,yi+(Ka-1)*Ke),rn!=null&&(zo=3*bu+Po+131074>>2,ae(rn[an+Ka-1],255&zo,zo>>16,ua,ha+(Ka-1)*Ke)))}}function Lg(){Vd[yp]=pv,Vd[bp]=Rm,Vd[Fm]=mv,Vd[Ep]=Om,Vd[wp]=Nm,Vd[qp]=Mm,Vd[Dm]=vv,Vd[_p]=Rm,Vd[$p]=Om,Vd[Cp]=Nm,Vd[em]=Mm}function sg(j){return j&~yv?0>j?0:255:j>>km}function U0(j,ae){return sg((19077*j>>8)+(26149*ae>>8)-14234)}function Fh(j,ae,Ke){return sg((19077*j>>8)-(6419*ae>>8)-(13320*Ke>>8)+8708)}function Dh(j,ae){return sg((19077*j>>8)+(33050*ae>>8)-17685)}function Q0(j,ae,Ke,ot,Kt){ot[Kt+0]=U0(j,Ke),ot[Kt+1]=Fh(j,ae,Ke),ot[Kt+2]=Dh(j,ae)}function FA(j,ae,Ke,ot,Kt){ot[Kt+0]=Dh(j,ae),ot[Kt+1]=Fh(j,ae,Ke),ot[Kt+2]=U0(j,Ke)}function Th(j,ae,Ke,ot,Kt){var rn=Fh(j,ae,Ke);ae=rn<<3&224|Dh(j,ae)>>3,ot[Kt+0]=248&U0(j,Ke)|rn>>5,ot[Kt+1]=ae}function Ph(j,ae,Ke,ot,Kt){var rn=240&Dh(j,ae)|15;ot[Kt+0]=240&U0(j,Ke)|Fh(j,ae,Ke)>>4,ot[Kt+1]=rn}function Rg(j,ae,Ke,ot,Kt){ot[Kt+0]=255,Q0(j,ae,Ke,ot,Kt+1)}function Og(j,ae,Ke,ot,Kt){FA(j,ae,Ke,ot,Kt),ot[Kt+3]=255}function XA(j,ae,Ke,ot,Kt){Q0(j,ae,Ke,ot,Kt),ot[Kt+3]=255}function A0(j,ae,Ke){Yn[j]=function(ot,Kt,rn,an,hn,En,Mn,kr,wi){for(var kn=kr+(-2&wi)*Ke;kr!=kn;)ae(ot[Kt+0],rn[an+0],hn[En+0],Mn,kr),ae(ot[Kt+1],rn[an+0],hn[En+0],Mn,kr+Ke),Kt+=2,++an,++En,kr+=2*Ke;1&wi&&ae(ot[Kt+0],rn[an+0],hn[En+0],Mn,kr)}}function og(j,ae,Ke){return Ke==0?j==0?ae==0?6:5:ae==0?4:0:Ke}function gp(j,ae,Ke,ot,Kt){switch(j>>>30){case 3:Nh(ae,Ke,ot,Kt,0);break;case 2:Wd(ae,Ke,ot,Kt);break;case 1:ac(ae,Ke,ot,Kt)}}function Kd(j,ae){var Ke,ot,Kt=ae.M,rn=ae.Nb,an=j.oc,hn=j.pc+40,En=j.oc,Mn=j.pc+584,kr=j.oc,wi=j.pc+600;for(Ke=0;16>Ke;++Ke)an[hn+32*Ke-1]=129;for(Ke=0;8>Ke;++Ke)En[Mn+32*Ke-1]=129,kr[wi+32*Ke-1]=129;for(0Ke;++Ke)m(an,hn+32*Ke-4,an,hn+32*Ke+12,4);for(Ke=-1;8>Ke;++Ke)m(En,Mn+32*Ke-4,En,Mn+32*Ke+4,4),m(kr,wi+32*Ke-4,kr,wi+32*Ke+4,4)}var Wr=j.Gd,ui=j.Hd+ot,ia=kn.ad,yi=kn.Hc;if(0=j.za-1?I(ua,ha,Wr[ui].y[15],4):m(ua,ha,Wr[ui+1].y,0,4)),Ke=0;4>Ke;Ke++)ua[ha+128+Ke]=ua[ha+256+Ke]=ua[ha+384+Ke]=ua[ha+0+Ke];for(Ke=0;16>Ke;++Ke,yi<<=2)ua=an,ha=hn+Qm[Ke],cf[kn.Ob[Ke]](ua,ha),gp(yi,ia,16*+Ke,ua,ha)}else if(ua=og(ot,Kt,kn.Ob[0]),G0[ua](an,hn),yi!=0)for(Ke=0;16>Ke;++Ke,yi<<=2)gp(yi,ia,16*+Ke,an,hn+Qm[Ke]);for(Ke=kn.Gc,ua=og(ot,Kt,kn.Dd),h0[ua](En,Mn),h0[ua](kr,wi),yi=ia,ua=En,ha=Mn,255&(kn=0|Ke)&&(170&kn?Of(yi,256,ua,ha):vc(yi,256,ua,ha)),kn=kr,yi=wi,255&(Ke>>=8)&&(170&Ke?Of(ia,320,kn,yi):vc(ia,320,kn,yi)),KtKe;++Ke)m(Wr,ui+Ke*j.R,an,hn+32*Ke,16);for(Ke=0;8>Ke;++Ke)m(ia,kn+Ke*j.B,En,Mn+32*Ke,8),m(yi,ua+Ke*j.B,kr,wi+32*Ke,8)}}function Lh(j,ae,Ke,ot,Kt,rn,an,hn,En){var Mn=[0],kr=[0],wi=0,kn=En!=null?En.kd:0,Wr=En!=null?En:new Pa;if(j==null||12>Ke)return 7;Wr.data=j,Wr.w=ae,Wr.ha=Ke,ae=[ae],Ke=[Ke],Wr.gb=[Wr.gb];e:{var ui=ae,ia=Ke,yi=Wr.gb;if(l(j!=null),l(ia!=null),l(yi!=null),yi[0]=0,12<=ia[0]&&!s(j,ui[0],"RIFF")){if(s(j,ui[0]+8,"WEBP")){yi=3;break e}var ua=Al(j,ui[0]+4);if(12>ua||4294967286ia[0]-8){yi=7;break e}yi[0]=ua,ui[0]+=12,ia[0]-=12}yi=0}if(yi!=0)return yi;for(ua=0yi[0])yi=7;else{if(!s(ha,ia[0],"VP8X")){if(Al(ha,ia[0]+4)!=10){yi=3;break e}if(18>yi[0]){yi=7;break e}var Po=Al(ha,ia[0]+8),bu=1+to(ha,ia[0]+12);if(2147483648<=bu*(ha=1+to(ha,ia[0]+15))){yi=3;break e}qo!=null&&(qo[0]=Po),Ka!=null&&(Ka[0]=bu),La!=null&&(La[0]=ha),ia[0]+=18,yi[0]-=18,zo[0]=1}yi=0}}if(wi=wi[0],ui=ui[0],yi!=0)return yi;if(ia=!!(2&ui),!ua&&wi)return 3;if(rn!=null&&(rn[0]=!!(16&ui)),an!=null&&(an[0]=ia),hn!=null&&(hn[0]=0),an=Mn[0],ui=kr[0],wi&&ia&&En==null){yi=0;break}if(4>Ke){yi=7;break}if(ua&&wi||!ua&&!wi&&!s(j,ae[0],"ALPH")){Ke=[Ke],Wr.na=[Wr.na],Wr.P=[Wr.P],Wr.Sa=[Wr.Sa];e:{Po=j,yi=ae,ua=Ke;var zo=Wr.gb;Ka=Wr.na,La=Wr.P,qo=Wr.Sa,bu=22,l(Po!=null),l(ua!=null),ha=yi[0];var Hu=ua[0];for(l(Ka!=null),l(qo!=null),Ka[0]=null,La[0]=null,qo[0]=0;;){if(yi[0]=ha,ua[0]=Hu,8>Hu){yi=7;break e}var gA=Al(Po,ha+4);if(4294967286zo){yi=3;break e}if(!s(Po,ha,"VP8 ")||!s(Po,ha,"VP8L")){yi=0;break e}if(Hu[0]ua[0])yi=7;else{if(ha||bu){if(zo=Al(zo,Po+4),12<=Ka&&zo>Ka-12){yi=3;break e}if(kn&&zo>ua[0]-8){yi=7;break e}La[0]=zo,yi[0]+=8,ua[0]-=8,qo[0]=bu}else qo[0]=5<=ua[0]&&zo[Po+0]==47&&!(zo[Po+4]>>5),La[0]=ua[0];yi=0}if(Ke=Ke[0],Wr.Ja=Wr.Ja[0],Wr.xa=Wr.xa[0],ae=ae[0],yi!=0)break;if(4294967286Ke){yi=7;break}hn=an,kn=ui,ia=rn,j==null||5>Ke?j=0:5<=Ke&&j[ae+0]==47&&!(j[ae+4]>>5)?(ua=[0],zo=[0],Ka=[0],Ji(La=new Kn,j,ae,Ke),t0(La,ua,zo,Ka)?(hn!=null&&(hn[0]=ua[0]),kn!=null&&(kn[0]=zo[0]),ia!=null&&(ia[0]=Ka[0]),j=1):j=0):j=0}else{if(10>Ke){yi=7;break}hn=ui,j==null||10>Ke||!ip(j,ae+3,Ke-3)?j=0:(kn=j[ae+0]|j[ae+1]<<8|j[ae+2]<<16,ia=16383&(j[ae+7]<<8|j[ae+6]),j=16383&(j[ae+9]<<8|j[ae+8]),1&kn||3<(kn>>1&7)||!(kn>>4&1)||kn>>5>=Wr.Ja||!ia||!j?j=0:(an&&(an[0]=ia),hn&&(hn[0]=j),j=1))}if(!j||(an=an[0],ui=ui[0],wi&&(Mn[0]!=an||kr[0]!=ui)))return 3;En!=null&&(En[0]=Wr,En.offset=ae-En.w,l(4294967286>ae-En.w),l(En.offset==En.ha-Ke));break}return yi==0||yi==7&&wi&&En==null?(rn!=null&&(rn[0]|=Wr.na!=null&&0Ke||(rn&=-2,an&=-2),0>rn||0>an||0>=hn||0>=En||rn+hn>ot||an+En>Kt))return 0;if(ae.v=rn,ae.j=an,ae.va=rn+hn,ae.o=an+En,ae.U=hn,ae.T=En,ae.da=j!=null&&0j.S){var ae=j.f.RGBA;ae.fb+=(j.height-1)*ae.A,ae.A=-ae.A}else ae=j.f.kb,j=j.height,ae.O+=(j-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(j-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(j-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(j-1)*ae.lb,ae.lb=-ae.lb);return 0}function j0(j,ae,Ke,ot){if(ot==null||0>=j||0>=ae)return 2;if(Ke!=null){if(Ke.Da){var Kt=Ke.cd,rn=Ke.bd,an=-2&Ke.v,hn=-2&Ke.j;if(0>an||0>hn||0>=Kt||0>=rn||an+Kt>j||hn+rn>ae)return 2;j=Kt,ae=rn}if(Ke.da){if(!Sl(j,ae,Kt=[Ke.ib],rn=[Ke.hb]))return 2;j=Kt[0],ae=rn[0]}}ot.width=j,ot.height=ae;e:{var En=ot.width,Mn=ot.height;if(j=ot.S,0>=En||0>=Mn||!(j>=yp&&13>j))j=2;else{if(0>=ot.Rd&&ot.sd==null){an=rn=Kt=ae=0;var kr=(hn=En*jm[j])*Mn;if(11>j||(rn=(Mn+1)/2*(ae=(En+1)/2),j==12&&(an=(Kt=En)*Mn)),(Mn=M(kr+2*rn+an))==null){j=1;break e}ot.sd=Mn,11>j?((En=ot.f.RGBA).eb=Mn,En.fb=0,En.A=hn,En.size=kr):((En=ot.f.kb).y=Mn,En.O=0,En.fa=hn,En.Fd=kr,En.f=Mn,En.N=0+kr,En.Ab=ae,En.Cd=rn,En.ea=Mn,En.W=0+kr+rn,En.Db=ae,En.Ed=rn,j==12&&(En.F=Mn,En.J=0+kr+2*rn),En.Tc=an,En.lb=Kt)}if(ae=1,Kt=ot.S,rn=ot.width,an=ot.height,Kt>=yp&&13>Kt)if(11>Kt)j=ot.f.RGBA,ae&=(hn=Math.abs(j.A))*(an-1)+rn<=j.size,ae&=hn>=rn*jm[Kt],ae&=j.eb!=null;else{j=ot.f.kb,hn=(rn+1)/2,kr=(an+1)/2,En=Math.abs(j.fa),Mn=Math.abs(j.Ab);var wi=Math.abs(j.Db),kn=Math.abs(j.lb),Wr=kn*(an-1)+rn;ae&=En*(an-1)+rn<=j.Fd,ae&=Mn*(kr-1)+hn<=j.Cd,ae=(ae&=wi*(kr-1)+hn<=j.Ed)&En>=rn&Mn>=hn&wi>=hn,ae&=j.y!=null,ae&=j.f!=null,ae&=j.ea!=null,Kt==12&&(ae&=kn>=rn,ae&=Wr<=j.Tc,ae&=j.F!=null)}else ae=0;j=ae?0:2}}return j!=0||Ke!=null&&Ke.fd&&(j=Mg(ot)),j}var Rh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,H0=32,d0=8,z0=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];No("Predictor0","PredictorAdd0"),Yn.Predictor0=function(){return 4278190080},Yn.Predictor1=function(j){return j},Yn.Predictor2=function(j,ae,Ke){return ae[Ke+0]},Yn.Predictor3=function(j,ae,Ke){return ae[Ke+1]},Yn.Predictor4=function(j,ae,Ke){return ae[Ke-1]},Yn.Predictor5=function(j,ae,Ke){return gl(gl(j,ae[Ke+1]),ae[Ke+0])},Yn.Predictor6=function(j,ae,Ke){return gl(j,ae[Ke-1])},Yn.Predictor7=function(j,ae,Ke){return gl(j,ae[Ke+0])},Yn.Predictor8=function(j,ae,Ke){return gl(ae[Ke-1],ae[Ke+0])},Yn.Predictor9=function(j,ae,Ke){return gl(ae[Ke+0],ae[Ke+1])},Yn.Predictor10=function(j,ae,Ke){return gl(gl(j,ae[Ke-1]),gl(ae[Ke+0],ae[Ke+1]))},Yn.Predictor11=function(j,ae,Ke){var ot=ae[Ke+0];return 0>=Au(ot>>24&255,j>>24&255,(ae=ae[Ke-1])>>24&255)+Au(ot>>16&255,j>>16&255,ae>>16&255)+Au(ot>>8&255,j>>8&255,ae>>8&255)+Au(255&ot,255&j,255&ae)?ot:j},Yn.Predictor12=function(j,ae,Ke){var ot=ae[Ke+0];return(rc((j>>24&255)+(ot>>24&255)-((ae=ae[Ke-1])>>24&255))<<24|rc((j>>16&255)+(ot>>16&255)-(ae>>16&255))<<16|rc((j>>8&255)+(ot>>8&255)-(ae>>8&255))<<8|rc((255&j)+(255&ot)-(255&ae)))>>>0},Yn.Predictor13=function(j,ae,Ke){var ot=ae[Ke-1];return(Mu((j=gl(j,ae[Ke+0]))>>24&255,ot>>24&255)<<24|Mu(j>>16&255,ot>>16&255)<<16|Mu(j>>8&255,ot>>8&255)<<8|Mu(255&j,255&ot))>>>0};var kg=Yn.PredictorAdd0;Yn.PredictorAdd1=ju,No("Predictor2","PredictorAdd2"),No("Predictor3","PredictorAdd3"),No("Predictor4","PredictorAdd4"),No("Predictor5","PredictorAdd5"),No("Predictor6","PredictorAdd6"),No("Predictor7","PredictorAdd7"),No("Predictor8","PredictorAdd8"),No("Predictor9","PredictorAdd9"),No("Predictor10","PredictorAdd10"),No("Predictor11","PredictorAdd11"),No("Predictor12","PredictorAdd12"),No("Predictor13","PredictorAdd13");var lg=Yn.PredictorAdd2;nl("ColorIndexInverseTransform","MapARGB","32b",function(j){return j>>8&255},function(j){return j}),nl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(j){return j},function(j){return j>>8&255});var Yc,pp=Yn.ColorIndexInverseTransform,Lf=Yn.MapARGB,Rf=Yn.VP8LColorIndexInverseTransformAlpha,Ug=Yn.MapAlpha,Qg=Yn.VP8LPredictorsAdd=[];Qg.length=16,(Yn.VP8LPredictors=[]).length=16,(Yn.VP8LPredictorsAdd_C=[]).length=16,(Yn.VP8LPredictors_C=[]).length=16;var jg,Hg,K0,W0,Z0,Oh,V0,Nh,Wd,Of,ac,vc,Jc,hA,f0,zg,ug,mp,hm,gm,pm,mm,vm,ym,Kg,bm,Em,wm,Cm=M(511),xm=M(2041),Bm=M(225),Sm=M(767),Im=0,Jp=xm,vp=Bm,bd=Sm,Zd=Cm,yp=0,bp=1,Fm=2,Ep=3,wp=4,qp=5,Dm=6,_p=7,$p=8,Cp=9,em=10,nv=[2,3,7],rv=[3,3,11],Tm=[280,256,256,256,40],iv=[0,1,1,1,0],av=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],sv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ov=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lv=8,tm=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],nm=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Wg=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Pm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],dv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],hv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],G0=[],cf=[],h0=[],gv=1,Lm=2,X0=[],Vd=[];c0("UpsampleRgbLinePair",Q0,3),c0("UpsampleBgrLinePair",FA,3),c0("UpsampleRgbaLinePair",XA,4),c0("UpsampleBgraLinePair",Og,4),c0("UpsampleArgbLinePair",Rg,4),c0("UpsampleRgba4444LinePair",Ph,2),c0("UpsampleRgb565LinePair",Th,2);var pv=Yn.UpsampleRgbLinePair,mv=Yn.UpsampleBgrLinePair,Rm=Yn.UpsampleRgbaLinePair,Om=Yn.UpsampleBgraLinePair,Nm=Yn.UpsampleArgbLinePair,Mm=Yn.UpsampleRgba4444LinePair,vv=Yn.UpsampleRgb565LinePair,xp=16,Bp=1<ot.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ot.ca.f.kb.F!=null&&uf()),ot.Pb&&0(En=Ke.Md)?0:100Mn;++Mn)12>(wi=Kt.pb[Mn]).lc&&(wi.ia=En*Sv[0>wi.lc?0:wi.lc]>>3),kr|=wi.ia;kr&&(alert("todo:VP8InitRandom"),Kt.ia=1)}Kt.Ga=Ke.Id,100Kt.Ga&&(Kt.Ga=0)}(function(kn,Wr){if(kn==null)return 0;if(Wr==null)return rA(kn,2,"NULL VP8Io parameter in VP8Decode().");if(!kn.cb&&!Tf(kn,Wr))return 0;if(l(kn.cb),Wr.ac==null||Wr.ac(Wr)){Wr.ob&&(kn.L=0);var ui=Sp[kn.L];if(kn.L==2?(kn.yb=0,kn.zb=0):(kn.yb=Wr.v-ui>>4,kn.zb=Wr.j-ui>>4,0>kn.yb&&(kn.yb=0),0>kn.zb&&(kn.zb=0)),kn.Va=Wr.o+15+ui>>4,kn.Hb=Wr.va+15+ui>>4,kn.Hb>kn.za&&(kn.Hb=kn.za),kn.Va>kn.Ub&&(kn.Va=kn.Ub),0ui;++ui){var yi;if(kn.Qa.Cb){var ua=kn.Qa.Lb[ui];kn.Qa.Fb||(ua+=ia.Tb)}else ua=ia.Tb;for(yi=0;1>=yi;++yi){var ha=kn.gd[ui][yi],Ka=ua;if(ia.Pc&&(Ka+=ia.vd[0],yi&&(Ka+=ia.od[0])),0<(Ka=0>Ka?0:63>2:La>>1)>9-ia.wb&&(La=9-ia.wb),1>La&&(La=1),ha.dd=La,ha.tc=2*Ka+La,ha.ld=40<=Ka?2:15<=Ka?1:0}else ha.tc=0;ha.La=yi}}}ui=0}else rA(kn,6,"Frame setup failed"),ui=kn.a;if(ui=ui==0){if(ui){kn.$c=0,0kn.Vb){if(kn.Vb=0,kn.Ec=M(ha),kn.Fc=0,kn.Ec==null){ui=rA(kn,1,"no memory during frame initialization.");break t}kn.Vb=ha}ha=kn.Ec,Ka=kn.Fc,kn.Ac=ha,kn.Bc=Ka,Ka+=ia,kn.Gd=ve(qo,np),kn.Hd=0,kn.rb=ve(Po+1,wg),kn.sb=1,kn.wa=bu?ve(bu,Hd):null,kn.Y=0,kn.D.Nb=0,kn.D.wa=kn.wa,kn.D.Y=kn.Y,0=ui;++ui)Cm[255+ui]=0>ui?-ui:ui;for(ui=-1020;1020>=ui;++ui)xm[1020+ui]=-128>ui?-128:127=ui;++ui)Bm[112+ui]=-16>ui?-16:15=ui;++ui)Sm[255+ui]=0>ui?0:255Wu;++Wu){var pA,Xu=YA[0+Wu];for(pA=0;4>pA;++pA){Xu=dv[Oc[DA+pA]][Xu];for(var Ac=Pm[ya(fu,Xu[0])];0>3;for(Ac=0;256>Ac;Ac+=16)Wu[jA+Ac]=ud}TA=1,Af=DA[0]}var yc=15&fu.la,mA=15&JA.la;for(Ac=0;4>Ac;++Ac){var Ed=1&mA;for(ud=dc=0;4>ud;++ud)yc=yc>>1|(Ed=(_c=Wg(Oc,Af,_c=Ed+(1&yc),Zc.Sc,TA,Wu,jA))>TA)<<7,dc=dc<<2|(3<_c?3:1<_c?2:Wu[jA+0]!=0),jA+=16;yc>>=4,mA=mA>>1|Ed<<7,pA=(pA<<8|dc)>>>0}for(Af=yc,TA=mA>>4,Vc=0;4>Vc;Vc+=2){for(dc=0,yc=fu.la>>4+Vc,mA=JA.la>>4+Vc,Ac=0;2>Ac;++Ac){for(Ed=1&mA,ud=0;2>ud;++ud)_c=Ed+(1&yc),yc=yc>>1|(Ed=0<(_c=Wg(Oc,DA[2],_c,Zc.Qc,0,Wu,jA)))<<3,dc=dc<<2|(3<_c?3:1<_c?2:Wu[jA+0]!=0),jA+=16;yc>>=2,mA=mA>>1|Ed<<5}Xu|=dc<<4*Vc,Af|=yc<<4<=Ko.zb&&Ko.M<=Ko.Va,Ko.Aa==0)t:{if(Eu.M=Ko.M,Eu.uc=fu,Kd(Ko,Eu),qc=1,Eu=(dc=Ko.D).Nb,fu=(Xu=Sp[Ko.L])*Ko.R,Oc=Xu/2*Ko.B,Ac=16*Eu*Ko.R,ud=8*Eu*Ko.B,DA=Ko.sa,YA=Ko.ta-fu+Ac,Zc=Ko.qa,Wu=Ko.ra-Oc+ud,jA=Ko.Ha,JA=Ko.Ia-Oc+ud,mA=(yc=dc.M)==0,pA=yc>=Ko.Va-1,Ko.Aa==2&&Kd(Ko,dc),dc.uc)for(Ed=(_c=Ko).D.M,l(_c.D.uc),dc=_c.yb;dc<_c.Hb;++dc){TA=dc,Af=Ed;var qA=(wd=(PA=_c).D).Nb;Vc=PA.R;var wd=wd.wa[wd.Y+TA],Cd=PA.sa,cd=PA.ta+16*qA*Vc+16*TA,xd=wd.dd,Ic=wd.tc;if(Ic!=0)if(l(3<=Ic),PA.L==1)0Ws.o&&(yc=Ws.o),Ws.F=null,Ws.J=null,Ko.Fa!=null&&0>1),Ws.W+=Ko.B*(Xu>>1),Ws.F!=null&&(Ws.J+=Ws.width*Xu)),dc>1,Ws.W+=Ws.v>>1,Ws.F!=null&&(Ws.J+=Ws.v),Ws.ka=dc-Ws.j,Ws.U=Ws.va-Ws.v,Ws.T=yc-dc,qc=Ws.put(Ws))}Eu+1!=Ko.Ic||pA||(m(Ko.sa,Ko.ta-fu,DA,YA+16*Ko.R,fu),m(Ko.qa,Ko.ra-Oc,Zc,Wu+8*Ko.B,Oc),m(Ko.Ha,Ko.Ia-Oc,jA,JA+8*Ko.B,Oc))}if(!qc)return rA(Hu,6,"Output aborted.")}return 1}(kn,Wr)),Wr.bc!=null&&Wr.bc(Wr),ui&=1}return ui?(kn.cb=0,ui):0})(j,ot)||(ae=j.a)}}else ae=j.a}ae==0&&an.Oa!=null&&an.Oa.fd&&(ae=Mg(an.ba))}an=ae}rn=an!=0?null:11>rn?hn.f.RGBA.eb:hn.f.kb.y}else rn=null;return rn};var jm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Le(Yn,oi){for(var cn="",Rn=0;Rn<4;Rn++)cn+=String.fromCharCode(Yn[oi++]);return cn}function et(Yn,oi){return Yn[oi+0]|Yn[oi+1]<<8}function Mt(Yn,oi){return(Yn[oi+0]|Yn[oi+1]<<8|Yn[oi+2]<<16)>>>0}function $t(Yn,oi){return(Yn[oi+0]|Yn[oi+1]<<8|Yn[oi+2]<<16|Yn[oi+3]<<24)>>>0}new Ce;var $e=[0],Fn=[0],wn=[],Pn=new Ce,An=r,Er=function(Yn,oi){var cn={},Rn=0,xr=!1,pr=0,Si=0;if(cn.frames=[],!function(sn,Kn){for(var ir=0;ir<4;ir++)if(sn[Kn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(Yn,oi)){for($t(Yn,oi+=4),oi+=8;oi>1&1}Hi!="ANMF"&&(oi+=bi)}return cn}}(An,0);Er.response=An,Er.rgbaoutput=!0,Er.dataurl=!1;var sr=Er.header?Er.header:null,Vn=Er.frames?Er.frames:null;if(sr){sr.loop_counter=sr.loop_count,$e=[sr.canvas_height],Fn=[sr.canvas_width];for(var Ci=0;Ci=2?On[1]:oo[0],oo[2]=On.length>=3?On[2]:oo[0],oo[3]=On.length>=4?On[3]:oo[1]),Le.margin=oo}});var Wi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wi},set:function(On){Wi=On}});var Yi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Yi},set:function(On){Yi=On}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(On){ya=On}}),Object.defineProperty(this,"ctx",{get:function(){return Le},set:function(On){On instanceof et&&(Le=On)}}),Object.defineProperty(this,"path",{get:function(){return Le.path},set:function(On){Le.path=On}});var Ya=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ya},set:function(On){Ya=On}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(On){var oo;oo=$t(On),this.ctx.fillStyle=oo.style,this.ctx.isFillTransparent=oo.a===0,this.ctx.fillOpacity=oo.a,this.pdf.setFillColor(oo.r,oo.g,oo.b,{a:oo.a}),this.pdf.setTextColor(oo.r,oo.g,oo.b,{a:oo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(On){var oo=$t(On);this.ctx.strokeStyle=oo.style,this.ctx.isStrokeTransparent=oo.a===0,this.ctx.strokeOpacity=oo.a,oo.a===0?this.pdf.setDrawColor(255,255,255):(oo.a,this.pdf.setDrawColor(oo.r,oo.g,oo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(On){["butt","round","square"].indexOf(On)!==-1&&(this.ctx.lineCap=On,this.pdf.setLineCap(On))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(On){isNaN(On)||(this.ctx.lineWidth=On,this.pdf.setLineWidth(On))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(On){["bevel","round","miter"].indexOf(On)!==-1&&(this.ctx.lineJoin=On,this.pdf.setLineJoin(On))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(On){isNaN(On)||(this.ctx.miterLimit=On,this.pdf.setMiterLimit(On))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(On){this.ctx.textBaseline=On}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(On){["right","end","center","left","start"].indexOf(On)!==-1&&(this.ctx.textAlign=On)}});var so=null,to=null,Al=null;Object.defineProperty(this,"fontFaces",{get:function(){return Al},set:function(On){so=null,to=null,Al=On}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(On){var oo;if(this.ctx.font=On,(oo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(On))!==null){var xu=oo[1];oo[2];var Sl=oo[3],ja=oo[4];oo[5];var Il=oo[6],No=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ja)[2];ja=Math.floor(No==="px"?parseFloat(ja)*this.pdf.internal.scaleFactor:No==="em"?parseFloat(ja)*this.pdf.getFontSize():parseFloat(ja)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ja);var El=function(nl){var Xc,Vu,Bu=[],Su=nl.trim();if(Su==="")return Y;if(Su in sd)return[sd[Su]];for(;Su!=="";){switch(Vu=null,Xc=(Su=cA(Su)).charAt(0)){case'"':case"'":Vu=f(Su.substring(1),Xc);break;default:Vu=e(Su)}if(Vu===null||(Bu.push(Vu[0]),(Su=cA(Vu[1]))!==""&&Su.charAt(0)!==","))return Y;Su=Su.replace(/^,/,"")}return Bu}(Il);if(this.fontFaces){var gl=function(nl,Xc){var Vu=nl.getFontList(),Bu=JSON.stringify(Vu);if(so===null||to!==Bu){var Su=function(kc){var vl=[];return Object.keys(kc).forEach(function(Bc){kc[Bc].forEach(function(kl){var du=null;switch(kl){case"bold":du={family:Bc,weight:"bold"};break;case"italic":du={family:Bc,style:"italic"};break;case"bolditalic":du={family:Bc,weight:"bold",style:"italic"};break;case"":case"normal":du={family:Bc}}du!==null&&(du.ref={name:Bc,style:kl},vl.push(du))})}),vl}(Vu);so=function(kc){for(var vl={},Bc=0;Bc=700||xu==="bold")&&(Au="bold"),xu==="italic"&&(Au+="italic"),Au.length===0&&(Au="normal");for(var ju="",ku={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Tr=0,Zr=2*Math.PI),this.path.push({type:"arc",x:sn,y:Kn,radius:ir,startAngle:Tr,endAngle:Zr,counterclockwise:gi})},Mt.prototype.arcTo=function(sn,Kn,ir,Tr,Zr){throw new Error("arcTo not implemented.")},Mt.prototype.rect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(sn,Kn),this.lineTo(sn+ir,Kn),this.lineTo(sn+ir,Kn+Tr),this.lineTo(sn,Kn+Tr),this.lineTo(sn,Kn),this.lineTo(sn+ir,Kn),this.lineTo(sn,Kn)},Mt.prototype.fillRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Zr={};this.lineCap!=="butt"&&(Zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(sn,Kn,ir,Tr),this.fill(),Zr.hasOwnProperty("lineCap")&&(this.lineCap=Zr.lineCap),Zr.hasOwnProperty("lineJoin")&&(this.lineJoin=Zr.lineJoin)}},Mt.prototype.strokeRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Fn.call(this)||(this.beginPath(),this.rect(sn,Kn,ir,Tr),this.stroke())},Mt.prototype.clearRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(sn,Kn,ir,Tr))},Mt.prototype.save=function(sn){sn=typeof sn!="boolean"||sn;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Mt.prototype.drawImage=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi,ya){var Ya=this.pdf.getImageProperties(sn),so=1,to=1,Al=1,On=1;Tr!==void 0&&Yi!==void 0&&(Al=Yi/Tr,On=ya/Zr,so=Ya.width/Tr*Yi/Tr,to=Ya.height/Zr*ya/Zr),gi===void 0&&(gi=Kn,Wi=ir,Kn=0,ir=0),Tr!==void 0&&Yi===void 0&&(Yi=Tr,ya=Zr),Tr===void 0&&Yi===void 0&&(Yi=Ya.width,ya=Ya.height);var oo=this.ctx.transform.decompose(),xu=bi(oo.rotate.shx),Sl=new Ce,ja=(Sl=(Sl=(Sl=Sl.multiply(oo.translate)).multiply(oo.skew)).multiply(oo.scale)).applyToRectangle(new oe(gi-Kn*Al,Wi-ir*On,Tr*so,Zr*to));if(this.autoPaging){for(var Il,No=Pn.call(this,ja),El=[],gl=0;glrc||Auja||No0)){for(;ya>=0;ya--)if(Zr[ya-1].close!==!0&&Zr[ya-1].begin!==!0){Zr[ya-1].deltas.push(ir),Zr[ya-1].abs.push(Yi);break}}break;case"bct":ir=[Yi.x1-gi[Wi-1].x,Yi.y1-gi[Wi-1].y,Yi.x2-gi[Wi-1].x,Yi.y2-gi[Wi-1].y,Yi.x-gi[Wi-1].x,Yi.y-gi[Wi-1].y],Zr[Zr.length-1].deltas.push(ir);break;case"qct":var Ya=gi[Wi-1].x+2/3*(Yi.x1-gi[Wi-1].x),so=gi[Wi-1].y+2/3*(Yi.y1-gi[Wi-1].y),to=Yi.x+2/3*(Yi.x1-Yi.x),Al=Yi.y+2/3*(Yi.y1-Yi.y),On=Yi.x,oo=Yi.y;ir=[Ya-gi[Wi-1].x,so-gi[Wi-1].y,to-gi[Wi-1].x,Al-gi[Wi-1].y,On-gi[Wi-1].x,oo-gi[Wi-1].y],Zr[Zr.length-1].deltas.push(ir);break;case"arc":Zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Zr[Zr.length-1].abs)&&Zr[Zr.length-1].abs.push(Yi)}}Tr=Kn?null:sn==="stroke"?"stroke":"fill";for(var xu=!1,Sl=0;Sl=.01&&(Tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Tr*sn.scale),Zr=this.lineWidth,this.lineWidth=Zr*sn.scale);var mu=this.autoPaging!=="text";if(mu||Xo.y+Xo.h<=gl){if(mu||Xo.y>=No&&Xo.x<=Mu){var nl=mu?sn.text:this.pdf.splitTextToSize(sn.text,sn.maxWidth||Mu-Xo.x)[0],Xc=Er([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-ju+No+this.ctx.prevPageLastElemOffset)[0],Vu=mu&&(Il>Sl||Il=.01&&(this.pdf.setFontSize(Tr),this.lineWidth=Zr)}}else sn.scale>=.01&&(Tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Tr*sn.scale),Zr=this.lineWidth,this.lineWidth=Zr*sn.scale),this.pdf.text(sn.text,ya.x+this.posX,ya.y+this.posY,{angle:sn.angle,align:Kn,renderingMode:sn.renderingMode,maxWidth:sn.maxWidth}),sn.scale>=.01&&(this.pdf.setFontSize(Tr),this.lineWidth=Zr)},xr=function(sn,Kn,ir,Tr){ir=ir||0,Tr=Tr||0,this.pdf.internal.out(s(sn+ir)+" "+m(Kn+Tr)+" l")},pr=function(sn,Kn,ir){return this.pdf.lines(sn,Kn,ir,null,null)},Si=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi){this.pdf.internal.out([l(I(ir+sn)),l(M(Tr+Kn)),l(I(Zr+sn)),l(M(gi+Kn)),l(I(Wi+sn)),l(M(Yi+Kn)),"c"].join(" "))},Hi=function(sn,Kn,ir,Tr){for(var Zr=2*Math.PI,gi=Math.PI/2;Kn>ir;)Kn-=Zr;var Wi=Math.abs(ir-Kn);Wi1e-5;){var so=Ya+ya*Math.min(Wi,gi);Yi.push(Zi.call(this,sn,Ya,so)),Wi-=Math.abs(so-Ya),Ya=so}return Yi},Zi=function(sn,Kn,ir){var Tr=(ir-Kn)/2,Zr=sn*Math.cos(Tr),gi=sn*Math.sin(Tr),Wi=Zr,Yi=-gi,ya=Wi*Wi+Yi*Yi,Ya=ya+Wi*Zr+Yi*gi,so=4/3*(Math.sqrt(2*ya*Ya)-Ya)/(Wi*gi-Yi*Zr),to=Wi-so*Yi,Al=Yi+so*Wi,On=to,oo=-Al,xu=Tr+Kn,Sl=Math.cos(xu),ja=Math.sin(xu);return{x1:sn*Math.cos(Kn),y1:sn*Math.sin(Kn),x2:to*Sl-Al*ja,y2:to*ja+Al*Sl,x3:On*Sl-oo*ja,y3:On*ja+oo*Sl,x4:sn*Math.cos(ir),y4:sn*Math.sin(ir)}},bi=function(sn){return 180*sn/Math.PI},Ji=function(sn,Kn,ir,Tr,Zr,gi){var Wi=sn+.5*(ir-sn),Yi=Kn+.5*(Tr-Kn),ya=Zr+.5*(ir-Zr),Ya=gi+.5*(Tr-gi),so=Math.min(sn,Zr,Wi,ya),to=Math.max(sn,Zr,Wi,ya),Al=Math.min(Kn,gi,Yi,Ya),On=Math.max(Kn,gi,Yi,Ya);return new oe(so,Al,to-so,On-Al)},As=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi){var ya,Ya,so,to,Al,On,oo,xu,Sl,ja,Il,No,El,gl,rc=ir-sn,Mu=Tr-Kn,Au=Zr-ir,ju=gi-Tr,ku=Wi-Zr,Xo=Yi-gi;for(Ya=0;Ya<41;Ya++)Sl=(oo=(so=sn+(ya=Ya/40)*rc)+ya*((Al=ir+ya*Au)-so))+ya*(Al+ya*(Zr+ya*ku-Al)-oo),ja=(xu=(to=Kn+ya*Mu)+ya*((On=Tr+ya*ju)-to))+ya*(On+ya*(gi+ya*Xo-On)-xu),Ya==0?(Il=Sl,No=ja,El=Sl,gl=ja):(Il=Math.min(Il,Sl),No=Math.min(No,ja),El=Math.max(El,Sl),gl=Math.max(gl,ja));return new oe(Math.round(Il),Math.round(No),Math.round(El-Il),Math.round(gl-No))},Fa=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var sn,Kn,ir=(sn=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:sn,lineDashOffset:Kn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(To.API),function(r){var l=function(ve){var oe,Ce,Le,et,Mt,$t,$e,Fn,wn,Pn;for(/[^\x00-\xFF]/.test(ve),Ce=[],Le=0,et=(ve+=oe="\0\0\0\0".slice(ve.length%4||4)).length;et>Le;Le+=4)(Mt=(ve.charCodeAt(Le)<<24)+(ve.charCodeAt(Le+1)<<16)+(ve.charCodeAt(Le+2)<<8)+ve.charCodeAt(Le+3))!==0?($t=(Mt=((Mt=((Mt=((Mt=(Mt-(Pn=Mt%85))/85)-(wn=Mt%85))/85)-(Fn=Mt%85))/85)-($e=Mt%85))/85)%85,Ce.push($t+33,$e+33,Fn+33,wn+33,Pn+33)):Ce.push(122);return function(An,Er){for(var sr=Er;sr>0;sr--)An.pop()}(Ce,oe.length),String.fromCharCode.apply(String,Ce)+"~>"},s=function(ve){var oe,Ce,Le,et,Mt,$t=String,$e="length",Fn=255,wn="charCodeAt",Pn="slice",An="replace";for(ve[Pn](-2),ve=ve[Pn](0,-2)[An](/\s/g,"")[An]("z","!!!!!"),Le=[],et=0,Mt=(ve+=oe="uuuuu"[Pn](ve[$e]%5||5))[$e];Mt>et;et+=5)Ce=52200625*(ve[wn](et)-33)+614125*(ve[wn](et+1)-33)+7225*(ve[wn](et+2)-33)+85*(ve[wn](et+3)-33)+(ve[wn](et+4)-33),Le.push(Fn&Ce>>24,Fn&Ce>>16,Fn&Ce>>8,Fn&Ce);return function(Er,sr){for(var Vn=sr;Vn>0;Vn--)Er.pop()}(Le,oe[$e]),$t.fromCharCode.apply($t,Le)},m=function(ve){return ve.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},I=function(ve){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),oe.test(ve)===!1)return"";for(var Ce="",Le=0;Lewn&&(Fn=Pn,Pn=wn,wn=Fn);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",wn>Pn&&(Fn=Pn,Pn=wn,wn=Fn)}return{width:Pn,height:wn,unit:Ce,k:Mt,orientation:oe}},r.html=function(oe,Ce){(Ce=Ce||{}).callback=Ce.callback||function(){},Ce.html2canvas=Ce.html2canvas||{},Ce.html2canvas.canvas=Ce.html2canvas.canvas||this.canvas,Ce.jsPDF=Ce.jsPDF||this,Ce.fontFaces=Ce.fontFaces?Ce.fontFaces.map(UA):null;var Le=new ve(Ce);return Ce.worker?Le:Le.from(oe).doCallback()}}(To.API),To.API.addJS=function(r){return i=r,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <>")}),this},function(r){var l;r.events.push(["postPutResources",function(){var s=this,m=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var I=s.outline.render().split(/\r\n/),M=0;M> endobj")}var $e=s.internal.newObject();for(s.internal.write("<< /Names [ "),M=0;M>","endobj"),l=s.internal.newObject(),s.internal.write("<< /Dests "+$e+" 0 R"),s.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+l+" 0 R"))}]),r.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(m,I,M){var ve={title:I,options:M,children:[]};return m==null&&(m=this.root),m.children.push(ve),ve},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(m){m.id=s.internal.newObjectDeferred();for(var I=0;I0&&(this.line("/First "+this.makeRef(m.children[0])),this.line("/Last "+this.makeRef(m.children[m.children.length-1]))),this.line("/Count "+this.count_r({count:0},m)),this.objEnd()},s.outline.renderItems=function(m){for(var I=this.ctx.pdf.internal.getVerticalCoordinateString,M=0;M0&&this.line("/Prev "+this.makeRef(m.children[M-1])),M0&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1])));var oe=this.count=this.count_r({count:0},ve);if(oe>0&&this.line("/Count "+oe),ve.options&&ve.options.pageNumber){var Ce=s.internal.getPageInfo(ve.options.pageNumber);this.line("/Dest ["+Ce.objId+" 0 R /XYZ 0 "+I(0)+" 0]")}this.objEnd()}for(var Le=0;Le>"}),"transparency"in Rn&&Array.isArray(Rn.transparency)&&Rn.transparency.length>0){for(var Zi="",bi=0,Ji=Rn.transparency.length;bi>",wn.content=M;var sr=wn.objId+" 0 R";M="<>";else if(m.options.pageNumber)switch(M="<=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=1};var Le=r.__arabicParser__.arabicLetterHasFinalForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length>=3};var et=r.__arabicParser__.arabicLetterHasMedialForm=function(wn){return ve(wn)&&M(wn)&&l[wn.charCodeAt(0)].length==4},Mt=r.__arabicParser__.resolveLigatures=function(wn){var Pn=0,An=s,Er="",sr=0;for(Pn=0;Pn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+l+" 0 R")})),this},function(r){var l=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(oe){s=oe}});var m=150;Object.defineProperty(this,"width",{get:function(){return m},set:function(oe){m=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=m+1)}});var I=300;Object.defineProperty(this,"height",{get:function(){return I},set:function(oe){I=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=I+1)}});var M=[];Object.defineProperty(this,"childNodes",{get:function(){return M},set:function(oe){M=oe}});var ve={};Object.defineProperty(this,"style",{get:function(){return ve},set:function(oe){ve=oe}}),Object.defineProperty(this,"parentNode",{})};l.prototype.getContext=function(s,m){var I;if((s=s||"2d")!=="2d")return null;for(I in m)this.pdf.context2d.hasOwnProperty(I)&&(this.pdf.context2d[I]=m[I]);return this.pdf.context2d._canvas=this,this.pdf.context2d},l.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new l,this.canvas.pdf=this}])}(To.API),function(r){var l={left:0,top:0,bottom:0,right:0},s=!1,m=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},l),this.internal.__cell__.margins.width=this.getPageWidth(),I.call(this))},I=function(){this.internal.__cell__.lastCell=new M,this.internal.__cell__.pages=1},M=function(){var Ce=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ce},set:function(wn){Ce=wn}});var Le=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Le},set:function(wn){Le=wn}});var et=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return et},set:function(wn){et=wn}});var Mt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Mt},set:function(wn){Mt=wn}});var $t=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return $t},set:function(wn){$t=wn}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(wn){$e=wn}});var Fn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Fn},set:function(wn){Fn=wn}}),this};M.prototype.clone=function(){return new M(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},M.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(Ce){return m.call(this),this.internal.__cell__.headerFunction=typeof Ce=="function"?Ce:void 0,this},r.getTextDimensions=function(Ce,Le){m.call(this);var et=(Le=Le||{}).fontSize||this.getFontSize(),Mt=Le.font||this.getFont(),$t=Le.scaleFactor||this.internal.scaleFactor,$e=0,Fn=0,wn=0,Pn=this;if(!Array.isArray(Ce)&&typeof Ce!="string"){if(typeof Ce!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ce=String(Ce)}var An=Le.maxWidth;An>0?typeof Ce=="string"?Ce=this.splitTextToSize(Ce,An):Object.prototype.toString.call(Ce)==="[object Array]"&&(Ce=Ce.reduce(function(sr,Vn){return sr.concat(Pn.splitTextToSize(Vn,An))},[])):Ce=Array.isArray(Ce)?Ce:[Ce];for(var Er=0;Erthis.getPageHeight()?(this.cellAddPage(),Ce.y=Mt.top,$e&&$t&&(this.printHeaderRow(Ce.lineNumber,!0),Ce.y+=$t[0].height)):Ce.y=Le.y+Le.height||Ce.y),Ce.text[0]!==void 0&&(this.rect(Ce.x,Ce.y,Ce.width,Ce.height,s===!0?"FD":void 0),Ce.align==="right"?this.text(Ce.text,Ce.x+Ce.width-et,Ce.y+et,{align:"right",baseline:"top"}):Ce.align==="center"?this.text(Ce.text,Ce.x+Ce.width/2,Ce.y+et,{align:"center",baseline:"top",maxWidth:Ce.width-et-et}):this.text(Ce.text,Ce.x+et,Ce.y+et,{align:"left",baseline:"top",maxWidth:Ce.width-et-et})),this.internal.__cell__.lastCell=Ce,this};r.table=function(Ce,Le,et,Mt,$t){if(m.call(this),!et)throw new Error("No data for PDF table.");var $e,Fn,wn,Pn,An=[],Er=[],sr=[],Vn={},Ci={},sa=[],Ki=[],Hr=($t=$t||{}).autoSize||!1,Yn=$t.printHeaders!==!1,oi=$t.css&&$t.css["font-size"]!==void 0?16*$t.css["font-size"]:$t.fontSize||12,cn=$t.margins||Object.assign({width:this.getPageWidth()},l),Rn=typeof $t.padding=="number"?$t.padding:3,xr=$t.headerBackgroundColor||"#c8c8c8",pr=$t.headerTextColor||"#000";if(I.call(this),this.internal.__cell__.printHeaders=Yn,this.internal.__cell__.margins=cn,this.internal.__cell__.table_font_size=oi,this.internal.__cell__.padding=Rn,this.internal.__cell__.headerBackgroundColor=xr,this.internal.__cell__.headerTextColor=pr,this.setFontSize(oi),Mt==null)Er=An=Object.keys(et[0]),sr=An.map(function(){return"left"});else if(Array.isArray(Mt)&&(0,a.Z)(Mt[0])==="object")for(An=Mt.map(function(As){return As.name}),Er=Mt.map(function(As){return As.prompt||As.name||""}),sr=Mt.map(function(As){return As.align||"left"}),$e=0;$e0&&this.setTableHeaderRow($t),this.setFont(void 0,"normal"),s=!1}}(To.API);var Hc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},md=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=Ku(md),uA=[100,200,300,400,500,600,700,800,900],rf=Ku(uA);function UA(r){var l=r.family.replace(/"|'/g,"").toLowerCase(),s=function(M){return Hc[M=M||"normal"]?M:"normal"}(r.style),m=function(M){return M?typeof M=="number"?M>=100&&M<=900&&M%100==0?M:400:/^\d00$/.test(M)?parseInt(M):M==="bold"?700:400:400}(r.weight),I=function(M){return typeof nA[M=M||"normal"]=="number"?M:"normal"}(r.stretch);return{family:l,style:s,weight:m,stretch:I,src:r.src||[],ref:r.ref||{name:l,style:[I,s,m].join(" ")}}}function GA(r,l,s,m){var I;for(I=s;I>=0&&I=0&&I>>1)&255}return I}function Lt(r,l,s){var m=r.length,I=[];I[0]=4;for(var M=0;M>M&ve}function hr(r,l,s,m){var I=s*m,M=Math.floor(I/8),ve=16-(I-8*M+m),oe=(1<>8&255;Le.setUint8(et,$t)}})(r,M,Mr(r,M)&~(oe<>7,ve=1<<1+(7&I);r[l++],r[l++];var oe=null,Ce=null;M&&(oe=l,Ce=ve,l+=3*ve);var Le=!0,et=[],Mt=0,$t=null,$e=0,Fn=null;for(this.width=s,this.height=m;Le&&l=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}break;case 249:if(r[l++]!==4||r[l+4]!==0)throw new Error("Invalid graphics extension block.");var wn=r[l++];Mt=r[l++]|r[l++]<<8,$t=r[l++],1&wn||($t=null),$e=wn>>2&7,l++;break;case 254:for(;;){if(!((cn=r[l++])>=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}break;default:throw new Error("Unknown graphic control label: 0x"+r[l-1].toString(16))}break;case 44:var Pn=r[l++]|r[l++]<<8,An=r[l++]|r[l++]<<8,Er=r[l++]|r[l++]<<8,sr=r[l++]|r[l++]<<8,Vn=r[l++],Ci=Vn>>6&1,sa=1<<1+(7&Vn),Ki=oe,Hr=Ce,Yn=!1;Vn>>7&&(Yn=!0,Ki=l,Hr=sa,l+=3*sa);var oi=l;for(l++;;){var cn;if(!((cn=r[l++])>=0))throw Error("Invalid block size");if(cn===0)break;l+=cn}et.push({x:Pn,y:An,width:Er,height:sr,has_local_palette:Yn,palette_offset:Ki,palette_size:Hr,data_offset:oi,data_length:l-oi,transparent_index:$t,interlaced:!!Ci,delay:Mt,disposal:$e});break;case 59:Le=!1;break;default:throw new Error("Unknown gif block: 0x"+r[l-1].toString(16))}this.numFrames=function(){return et.length},this.loopCount=function(){return Fn},this.frameInfo=function(Rn){if(Rn<0||Rn>=et.length)throw new Error("Frame index out of range.");return et[Rn]},this.decodeAndBlitFrameBGRA=function(Rn,xr){var pr=this.frameInfo(Rn),Si=pr.width*pr.height,Hi=new Uint8Array(Si);jr(r,pr.data_offset,Hi,Si);var Zi=pr.palette_offset,bi=pr.transparent_index;bi===null&&(bi=256);var Ji=pr.width,As=s-Ji,Fa=Ji,sn=4*(pr.y*s+pr.x),Kn=4*((pr.y+pr.height)*s+pr.x),ir=sn,Tr=4*As;pr.interlaced===!0&&(Tr+=4*s*7);for(var Zr=8,gi=0,Wi=Hi.length;gi=Kn&&(Tr=4*As+4*s*(Zr-1),ir=sn+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===bi)ir+=4;else{var ya=r[Zi+3*Yi],Ya=r[Zi+3*Yi+1],so=r[Zi+3*Yi+2];xr[ir++]=so,xr[ir++]=Ya,xr[ir++]=ya,xr[ir++]=255}--Fa}},this.decodeAndBlitFrameRGBA=function(Rn,xr){var pr=this.frameInfo(Rn),Si=pr.width*pr.height,Hi=new Uint8Array(Si);jr(r,pr.data_offset,Hi,Si);var Zi=pr.palette_offset,bi=pr.transparent_index;bi===null&&(bi=256);var Ji=pr.width,As=s-Ji,Fa=Ji,sn=4*(pr.y*s+pr.x),Kn=4*((pr.y+pr.height)*s+pr.x),ir=sn,Tr=4*As;pr.interlaced===!0&&(Tr+=4*s*7);for(var Zr=8,gi=0,Wi=Hi.length;gi=Kn&&(Tr=4*As+4*s*(Zr-1),ir=sn+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===bi)ir+=4;else{var ya=r[Zi+3*Yi],Ya=r[Zi+3*Yi+1],so=r[Zi+3*Yi+2];xr[ir++]=ya,xr[ir++]=Ya,xr[ir++]=so,xr[ir++]=255}--Fa}}}function jr(r,l,s,m){for(var I=r[l++],M=1<>=Ce,et-=Ce,Pn!==M){if(Pn===ve)break;for(var An=PnM;)sr=Fn[sr]>>8,++Er;var Vn=sr;if($t+Er+(An!==Pn?1:0)>m)return void zu.log("Warning, gif stream longer than expected.");s[$t++]=Vn;var Ci=$t+=Er;for(An!==Pn&&(s[$t++]=Vn),sr=An;Er--;)sr=Fn[sr],s[--Ci]=255&sr,sr>>=8;wn!==null&&oe<4096&&(Fn[oe++]=wn<<8|Vn,oe>=Le+1&&Ce<12&&(++Ce,Le=Le<<1|1)),wn=Pn}else oe=ve+1,Le=(1<<(Ce=I+1))-1,wn=null}return $t!==m&&zu.log("Warning, gif stream shorter than expected."),s}function pi(r){var l,s,m,I,M,ve=Math.floor,oe=new Array(64),Ce=new Array(64),Le=new Array(64),et=new Array(64),Mt=new Array(65535),$t=new Array(65535),$e=new Array(64),Fn=new Array(64),wn=[],Pn=0,An=7,Er=new Array(64),sr=new Array(64),Vn=new Array(64),Ci=new Array(256),sa=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Hr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Yn=[0,1,2,3,4,5,6,7,8,9,10,11],oi=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],cn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],xr=[0,1,2,3,4,5,6,7,8,9,10,11],pr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Si=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hi(sn,Kn){for(var ir=0,Tr=0,Zr=new Array,gi=1;gi<=16;gi++){for(var Wi=1;Wi<=sn[gi];Wi++)Zr[Kn[Tr]]=[],Zr[Kn[Tr]][0]=ir,Zr[Kn[Tr]][1]=gi,Tr++,ir++;ir*=2}return Zr}function Zi(sn){for(var Kn=sn[0],ir=sn[1]-1;ir>=0;)Kn&1<>8&255),bi(255&sn)}function As(sn,Kn,ir,Tr,Zr){for(var gi,Wi=Zr[0],Yi=Zr[240],ya=function(ja,Il){var No,El,gl,rc,Mu,Au,ju,ku,Xo,mu,nl=0;for(Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+1],gl=ja[nl+2],rc=ja[nl+3],Mu=ja[nl+4],Au=ja[nl+5],ju=ja[nl+6];var Xc=No+(ku=ja[nl+7]),Vu=No-ku,Bu=El+ju,Su=El-ju,kc=gl+Au,vl=gl-Au,Bc=rc+Mu,kl=rc-Mu,du=Xc+Bc,Uc=Xc-Bc,Du=Bu+kc,Ll=Bu-kc;ja[nl]=du+Du,ja[nl+4]=du-Du;var ic=.707106781*(Ll+Uc);ja[nl+2]=Uc+ic,ja[nl+6]=Uc-ic;var yh=.382683433*((du=kl+vl)-(Ll=Su+Vu)),QA=.5411961*du+yh,$f=1.306562965*Ll+yh,Sf=.707106781*(Du=vl+Su),Rl=Vu+Sf,e0=Vu-Sf;ja[nl+5]=e0+QA,ja[nl+3]=e0-QA,ja[nl+1]=Rl+$f,ja[nl+7]=Rl-$f,nl+=8}for(nl=0,Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+8],gl=ja[nl+16],rc=ja[nl+24],Mu=ja[nl+32],Au=ja[nl+40],ju=ja[nl+48];var t0=No+(ku=ja[nl+56]),Ud=No-ku,Qd=El+ju,Wc=El-ju,CA=gl+Au,SA=gl-Au,bh=rc+Mu,k0=rc-Mu,af=t0+bh,If=t0-bh,sf=Qd+CA,of=Qd-CA;ja[nl]=af+sf,ja[nl+32]=af-sf;var jd=.707106781*(of+If);ja[nl+16]=If+jd,ja[nl+48]=If-jd;var Eh=.382683433*((af=k0+SA)-(of=Wc+Ud)),Ff=.5411961*af+Eh,wh=1.306562965*of+Eh,_h=.707106781*(sf=SA+Wc),$h=Ud+_h,eg=Ud-_h;ja[nl+40]=eg+Ff,ja[nl+24]=eg-Ff,ja[nl+8]=$h+wh,ja[nl+56]=$h-wh,nl++}for(Xo=0;Xo<64;++Xo)mu=ja[Xo]*Il[Xo],$e[Xo]=mu>0?mu+.5|0:mu-.5|0;return $e}(sn,Kn),Ya=0;Ya<64;++Ya)Fn[Ki[Ya]]=ya[Ya];var so=Fn[0]-ir;ir=Fn[0],so==0?Zi(Tr[0]):(Zi(Tr[$t[gi=32767+so]]),Zi(Mt[gi]));for(var to=63;to>0&&Fn[to]==0;)to--;if(to==0)return Zi(Wi),ir;for(var Al,On=1;On<=to;){for(var oo=On;Fn[On]==0&&On<=to;)++On;var xu=On-oo;if(xu>=16){Al=xu>>4;for(var Sl=1;Sl<=Al;++Sl)Zi(Yi);xu&=15}gi=32767+Fn[On],Zi(Zr[(xu<<4)+$t[gi]]),Zi(Mt[gi]),On++}return to!=63&&Zi(Wi),ir}function Fa(sn){sn=Math.min(Math.max(sn,1),100),M!=sn&&(function(Kn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Tr=0;Tr<64;Tr++){var Zr=ve((ir[Tr]*Kn+50)/100);Zr=Math.min(Math.max(Zr,1),255),oe[Ki[Tr]]=Zr}for(var gi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wi=0;Wi<64;Wi++){var Yi=ve((gi[Wi]*Kn+50)/100);Yi=Math.min(Math.max(Yi,1),255),Ce[Ki[Wi]]=Yi}for(var ya=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ya=0,so=0;so<8;so++)for(var to=0;to<8;to++)Le[Ya]=1/(oe[Ki[Ya]]*ya[so]*ya[to]*8),et[Ya]=1/(Ce[Ki[Ya]]*ya[so]*ya[to]*8),Ya++}(sn<50?Math.floor(5e3/sn):Math.floor(200-2*sn)),M=sn)}this.encode=function(sn,Kn){Kn&&Fa(Kn),wn=new Array,Pn=0,An=7,Ji(65496),Ji(65504),Ji(16),bi(74),bi(70),bi(73),bi(70),bi(0),bi(1),bi(1),bi(0),Ji(1),Ji(1),bi(0),bi(0),function(){Ji(65499),Ji(132),bi(0);for(var El=0;El<64;El++)bi(oe[El]);bi(1);for(var gl=0;gl<64;gl++)bi(Ce[gl])}(),function(El,gl){Ji(65472),Ji(17),bi(8),Ji(gl),Ji(El),bi(3),bi(1),bi(17),bi(0),bi(2),bi(17),bi(1),bi(3),bi(17),bi(1)}(sn.width,sn.height),function(){Ji(65476),Ji(418),bi(0);for(var El=0;El<16;El++)bi(Hr[El+1]);for(var gl=0;gl<=11;gl++)bi(Yn[gl]);bi(16);for(var rc=0;rc<16;rc++)bi(oi[rc+1]);for(var Mu=0;Mu<=161;Mu++)bi(cn[Mu]);bi(1);for(var Au=0;Au<16;Au++)bi(Rn[Au+1]);for(var ju=0;ju<=11;ju++)bi(xr[ju]);bi(17);for(var ku=0;ku<16;ku++)bi(pr[ku+1]);for(var Xo=0;Xo<=161;Xo++)bi(Si[Xo])}(),Ji(65498),Ji(12),bi(3),bi(1),bi(0),bi(2),bi(17),bi(3),bi(17),bi(0),bi(63),bi(0);var ir=0,Tr=0,Zr=0;Pn=0,An=7,this.encode.displayName="_encode_";for(var gi,Wi,Yi,ya,Ya,so,to,Al,On,oo=sn.data,xu=sn.width,Sl=sn.height,ja=4*xu,Il=0;Il>3)*ja+(to=4*(7&On)),Il+Al>=Sl&&(so-=ja*(Il+1+Al-Sl)),gi+to>=ja&&(so-=gi+to-ja+4),Wi=oo[so++],Yi=oo[so++],ya=oo[so++],Er[On]=(sa[Wi]+sa[Yi+256|0]+sa[ya+512|0]>>16)-128,sr[On]=(sa[Wi+768|0]+sa[Yi+1024|0]+sa[ya+1280|0]>>16)-128,Vn[On]=(sa[Wi+1280|0]+sa[Yi+1536|0]+sa[ya+1792|0]>>16)-128;ir=As(Er,Le,ir,l,m),Tr=As(sr,et,Tr,s,I),Zr=As(Vn,et,Zr,s,I),gi+=32}Il+=8}if(An>=0){var No=[];No[1]=An+1,No[0]=(1<Rn;Rn++)if(Yn[oi+Rn]!=cn.charCodeAt(Rn))return!0;return!1}function m(Yn,oi,cn,Rn,xr){for(var pr=0;prpr+1?[]:new oi),!(Si.length>>0;j&Ke;)Ke>>>=1;return Ke?(j&Ke-1)+Ke:j}function cn(j,ae,Ke,ot,Kt){l(!(ot%Ke));do j[ae+(ot-=Ke)]=Kt;while(0=Kt),512>=Kt)var rn=M(512);else if((rn=M(Kt))==null)return 0;return function(an,hn,En,Mn,kr,wi){var kn,Wr,ui=hn,ia=1<kn;++kn){if(yi[kn]>1<(bu-=yi[kn]))return 0;for(;0=kn;++kn,kr<<=1){if(Po+=bu<<=1,0>(bu-=yi[kn]))return 0;for(;0Ka&&!(0>=(ha-=yi[Ka]));)++Ka,ha<<=1;ia+=zo=1<<(ha=Ka-En),an[hn+(Ka=qo&La)].g=ha+En,an[hn+Ka].value=ui-hn-Ka}Mn.g=kn-En,Mn.value=wi[Wr++],cn(an,ui+(qo>>En),kr,zo,Mn),qo=oi(qo,kn)}}return Po!=2*ua[15]-1?0:ia}(j,ae,Ke,ot,Kt,rn)}function xr(){this.value=this.g=0}function pr(){this.value=this.g=0}function Si(){this.G=ve(5,xr),this.H=M(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ve(Rh,pr)}function Hi(j,ae,Ke,ot){l(j!=null),l(ae!=null),l(2147483648>ot),j.Ca=254,j.I=0,j.b=-8,j.Ka=0,j.oa=ae,j.pa=Ke,j.Jd=ae,j.Yc=Ke+ot,j.Zc=4<=ot?Ke+ot-4+1:Ke,Wi(j)}function Zi(j,ae){for(var Ke=0;0ot),j.Sb=ot,j.Ra=0,j.u=0,j.h=0,4>>=8,j.Ra+=j.oa[j.pa+j.bb]<>>0,++j.bb,j.u-=8;Tr(j)&&(j.h=1,j.u=0)}function Fa(j,ae){if(l(0<=ae),!j.h&&ae<=yd){var Ke=ir(j)&vd[ae];return j.u+=ae,As(j),Ke}return j.h=1,j.u=0}function sn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Kn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(j){return j.Ra>>>(j.u&H0-1)>>>0}function Tr(j){return l(j.bb<=j.Sb),j.h||j.bb==j.Sb&&j.u>H0}function Zr(j,ae){j.u=ae,j.h=Tr(j)}function gi(j){j.u>=d0&&(l(j.u>=d0),As(j))}function Wi(j){l(j!=null&&j.oa!=null),j.pa>>0,j.b+=8):(l(j!=null&&j.oa!=null),j.paj.b&&Wi(j);var ot=j.b,Kt=Ke*ae>>>8,rn=(j.I>>>ot>Kt)+0;for(rn?(Ke-=Kt,j.I-=Kt+1<>>0):Ke=Kt+1,ot=Ke,Kt=0;256<=ot;)Kt+=8,ot>>=8;return ot=7^Kt+z0[ot],j.b-=ot,j.Ca=(Ke<>24&255,j[ae+1]=Ke>>16&255,j[ae+2]=Ke>>8&255,j[ae+3]=255&Ke}function so(j,ae){return j[ae+0]|j[ae+1]<<8}function to(j,ae){return so(j,ae)|j[ae+2]<<16}function Al(j,ae){return so(j,ae)|so(j,ae+2)<<16}function On(j,ae){var Ke=1<=Kt||0>=rn?0:(Ke[0]=Kt,ot[0]=rn,1)}function ja(j,ae){return j+(1<>>ae}function Il(j,ae){return((4278255360&j)+(4278255360&ae)>>>0&4278255360)+((16711935&j)+(16711935&ae)>>>0&16711935)>>>0}function No(j,ae){Yn[ae]=function(Ke,ot,Kt,rn,an,hn,En){var Mn;for(Mn=0;Mn>>1)+(j&ae)>>>0}function rc(j){return 0<=j&&256>j?j:0>j?0:255>1))}function Au(j,ae,Ke){return Math.abs(ae-Ke)-Math.abs(j-Ke)}function ju(j,ae,Ke,ot,Kt,rn,an){for(ot=rn[an-1],Ke=0;Ke>8&255,En=16711935&(En=(En=16711935&an)+((hn<<16)+hn));ot[Kt+rn]=(4278255360&an)+En>>>0}}function Xo(j,ae){ae.jd=255&j,ae.hd=j>>8&255,ae.ud=j>>16&255}function mu(j,ae,Ke,ot,Kt,rn){var an;for(an=0;an>>8,Mn=hn,kr=255&(kr=(kr=hn>>>16)+((j.jd<<24>>24)*(En<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(j.hd<<24>>24)*(En<<24>>24)>>>5)+((j.ud<<24>>24)*(kr<<24>>24)>>>5)),Kt[rn+an]=(4278255360&hn)+(kr<<16)+Mn}}function nl(j,ae,Ke,ot,Kt){Yn[ae]=function(rn,an,hn,En,Mn,kr,wi,kn,Wr){for(En=wi;En>rn.b,Wr=rn.Ea,ui=rn.K[0],ia=rn.w;if(8>kn)for(rn=(1<>=kn}else Yn["VP8LMapColor"+Ke](En,Mn,ui,ia,kr,wi,an,hn,Wr)}}function Xc(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&255,ot[Kt++]=rn>>8&255,ot[Kt++]=255&rn}}function Vu(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&255,ot[Kt++]=rn>>8&255,ot[Kt++]=255&rn,ot[Kt++]=rn>>24&255}}function Bu(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&240|an>>12&15,an=240&an|an>>28&15;ot[Kt++]=rn,ot[Kt++]=an}}function Su(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>16&248|an>>13&7,an=an>>5&224|an>>3&31;ot[Kt++]=rn,ot[Kt++]=an}}function kc(j,ae,Ke,ot,Kt){for(Ke=ae+Ke;ae>8&255,ot[Kt++]=rn>>16&255}}function vl(j,ae,Ke,ot,Kt,rn){if(rn==0)for(Ke=ae+Ke;ae>24|rn[1]>>8&65280|rn[2]<<8&16711680|rn[3]<<24)>>>0),Kt+=32;else m(ot,Kt,j,ae,Ke)}function Bc(j,ae){Yn[ae][0]=Yn[j+"0"],Yn[ae][1]=Yn[j+"1"],Yn[ae][2]=Yn[j+"2"],Yn[ae][3]=Yn[j+"3"],Yn[ae][4]=Yn[j+"4"],Yn[ae][5]=Yn[j+"5"],Yn[ae][6]=Yn[j+"6"],Yn[ae][7]=Yn[j+"7"],Yn[ae][8]=Yn[j+"8"],Yn[ae][9]=Yn[j+"9"],Yn[ae][10]=Yn[j+"10"],Yn[ae][11]=Yn[j+"11"],Yn[ae][12]=Yn[j+"12"],Yn[ae][13]=Yn[j+"13"],Yn[ae][14]=Yn[j+"0"],Yn[ae][15]=Yn[j+"0"]}function kl(j){return j==_p||j==$p||j==Cp||j==em}function du(){this.eb=[],this.size=this.A=this.fb=0}function Uc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Du(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new du,this.f.kb=new Uc,this.sd=null}function Ll(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ic(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function yh(j){return alert("todo:WebPSamplerProcessPlane"),j.T}function QA(j,ae){var Ke=j.T,ot=ae.ba.f.RGBA,Kt=ot.eb,rn=ot.fb+j.ka*ot.A,an=Vd[ae.ba.S],hn=j.y,En=j.O,Mn=j.f,kr=j.N,wi=j.ea,kn=j.W,Wr=ae.cc,ui=ae.dc,ia=ae.Mc,yi=ae.Nc,ua=j.ka,ha=j.ka+j.T,Ka=j.U,La=Ka+1>>1;for(ua==0?an(hn,En,null,null,Mn,kr,wi,kn,Mn,kr,wi,kn,Kt,rn,null,null,Ka):(an(ae.ec,ae.fc,hn,En,Wr,ui,ia,yi,Mn,kr,wi,kn,Kt,rn-ot.A,Kt,rn,Ka),++Ke);ua+2Ke,Kt=Ke==bp||Ke==Ep||Ke==wp||Ke==qp||Ke==12||kl(Ke);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!Ng(ae.Oa,j,Kt?11:12))return 0;if(Kt&&kl(Ke)&&Lg(),j.da)alert("todo:use_scaling");else{if(ot){if(ae.Ib=yh,j.Kb){if(Ke=j.U+1>>1,ae.memory=M(j.U+2*Ke),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+j.U,ae.Mc=ae.cc,ae.Nc=ae.dc+Ke,ae.Ib=QA,Lg()}}else alert("todo:EmitYUV");Kt&&(ae.Jb=$f,ot&&uf())}if(ot&&!Um){for(j=0;256>j;++j)bv[j]=89858*(j-128)+Bp>>xp,Cv[j]=-22014*(j-128)+Bp,wv[j]=-45773*(j-128),Ev[j]=113618*(j-128)+Bp>>xp;for(j=Zg;j>xp,xv[j-Zg]=Df(ae,255),Bv[j-Zg]=Df(ae+8>>4,15);Um=1}return 1}function Rl(j){var ae=j.ma,Ke=j.U,ot=j.T;return l(!(1&j.ka)),0>=Ke||0>=ot?0:(Ke=ae.Ib(j,ae),ae.Jb!=null&&ae.Jb(j,ae,Ke),ae.Dc+=Ke,1)}function e0(j){j.ma.memory=null}function t0(j,ae,Ke,ot){return Fa(j,8)!=47?0:(ae[0]=Fa(j,14)+1,Ke[0]=Fa(j,14)+1,ot[0]=Fa(j,1),Fa(j,3)!=0?0:!j.h)}function Ud(j,ae){if(4>j)return j+1;var Ke=j-2>>1;return(2+(1&j)<>4)*j+(8-(15&Ke)))?Ke:1;var Ke}function Wc(j,ae,Ke){var ot=ir(Ke),Kt=j[ae+=255&ot].g-8;return 0>>0,l(8>=Ke.g),j.g}function SA(j,ae,Ke){var ot=j.xc;return l((ae=ot==0?0:j.vc[j.md*(Ke>>ot)+(ae>>ot)])>zo.b)*Po;iaKa&&(Ko=Ka),(0,Qg[Hu[gA++]>>8&15])(kn,Wr+ +Eu,ua,ha+Eu-Ka,Ko-Eu,ua,ha+Eu),Eu=Ko}Wr+=Ka,ha+=Ka,++ia&qo||(zo+=Po)}wi!=Mn.nc&&m(En,hn-ui,En,hn+(wi-kr-1)*ui,ui);break;case 1:for(ui=kn,yi=Wr,Ka=(kn=Mn.Ea)-(ha=kn&~(ua=(Wr=1<>Mn.b)*ia;kr=Kt),0rn.o&&(ot=rn.o),Ke=ot?Ke=0:(Kt[0]+=4*rn.v,rn.ka=Ke-rn.j,rn.U=rn.va-rn.v,rn.T=ot-Ke,Ke=1),Ke){if(hn=hn[0],11>(Ke=j.ca).S){var kr=Ke.f.RGBA,wi=(ot=Ke.S,Kt=rn.U,rn=rn.T,Mn=kr.eb,kr.A),kn=rn;for(kr=kr.fb+j.Ma*kr.A;0ot){var Kt=j.l.width,rn=Ke.ca,an=Ke.tb+Kt*ot,hn=j.V,En=j.Ba+j.c*ot,Mn=j.gc;l(j.ab==1),l(Mn[0].hc==3),Rf(Mn[0],ot,ae,hn,En,rn,an),If(Ke,ot,ae,rn,an,Kt)}j.C=j.Ma=ae}function of(j,ae,Ke,ot,Kt,rn,an){var hn=j.$/ot,En=j.$%ot,Mn=j.m,kr=j.s,wi=Ke+j.$,kn=wi;Kt=Ke+ot*Kt;var Wr=Ke+ot*rn,ui=280+kr.ua,ia=j.Pb?hn:16777216,yi=0=ia){var qo=wi-Ke;l((ia=j).Pb),ia.wd=ia.m,ia.xd=qo,0bu.g?(Zr(La,La.u+bu.g),qo[Po]=bu.value,La=0):(Zr(La,La.u+bu.g-256),l(256<=bu.value),La=bu.value),La==0&&(Ka=!0)}else La=Wc(ha.G[0],ha.H[0],Mn);if(Mn.h)break;if(Ka||256>La){if(!Ka)if(ha.nd)ae[wi]=(ha.qb|La<<8)>>>0;else{if(gi(Mn),Ka=Wc(ha.G[1],ha.H[1],Mn),gi(Mn),qo=Wc(ha.G[2],ha.H[2],Mn),Po=Wc(ha.G[3],ha.H[3],Mn),Mn.h)break;ae[wi]=(Po<<24|Ka<<16|La<<8|qo)>>>0}if(Ka=!1,++wi,++En>=ot&&(En=0,++hn,an!=null&&hn<=rn&&!(hn%16)&&an(j,hn),yi!=null))for(;kn>>yi.Mb]=La}else if(280>La){if(La=Ud(La-256,Mn),qo=Wc(ha.G[4],ha.H[4],Mn),gi(Mn),qo=Qd(ot,qo=Ud(qo,Mn)),Mn.h)break;if(wi-Ke=ot;)En-=ot,++hn,an!=null&&hn<=rn&&!(hn%16)&&an(j,hn);if(l(wi<=Kt),En&ua&&(ha=SA(kr,En,hn)),yi!=null)for(;kn>>yi.Mb]=La}else{if(!(La>>yi.Mb]=La;La=wi,l(!(Ka>>>(qo=yi).Xa)),ae[La]=qo.X[Ka],Ka=!0}Ka||l(Mn.h==Tr(Mn))}if(j.Pb&&Mn.h&&wirn?rn:hn),j.a=0,j.$=wi-Ke}return 1}return j.a=3,0}function jd(j){l(j!=null),j.vc=null,j.yc=null,j.Ya=null;var ae=j.Wa;ae!=null&&(ae.X=null),j.vb=null,l(j!=null)}function Eh(){var j=new $l;return j==null?null:(j.a=0,j.xb=Lm,Bc("Predictor","VP8LPredictors"),Bc("Predictor","VP8LPredictors_C"),Bc("PredictorAdd","VP8LPredictorsAdd"),Bc("PredictorAdd","VP8LPredictorsAdd_C"),Yc=ku,jg=mu,Hg=Xc,K0=Vu,W0=Bu,Z0=Su,Oh=kc,Yn.VP8LMapColor32b=Lf,Yn.VP8LMapColor8b=Ug,j)}function Ff(j,ae,Ke,ot,Kt){var rn=1,an=[j],hn=[ae],En=ot.m,Mn=ot.s,kr=null,wi=0;e:for(;;){if(Ke)for(;rn&&Fa(En,1);){var kn=an,Wr=hn,ui=ot,ia=1,yi=ui.m,ua=ui.gc[ui.ab],ha=Fa(yi,2);if(ui.Oc&1<=ui.ab),ha){case 0:case 1:ua.b=Fa(yi,3)+2,ia=Ff(ja(ua.Ea,ua.b),ja(ua.nc,ua.b),0,ui,ua.K),ua.K=ua.K[0];break;case 3:var Ka,La=Fa(yi,8)+1,qo=16>zo.b),gA=M(Hu);if(gA==null)Ka=0;else{var Eu=zo.K[0],Ko=zo.w;for(gA[0]=zo.K[0][0],Po=1;Po<1*bu;++Po)gA[Po]=Il(Eu[Ko+Po],gA[Po-1]);for(;Po<4*Hu;++Po)gA[Po]=0;zo.K[0]=null,zo.K[0]=gA,Ka=1}}ia=Ka;break;case 2:break;default:l(0)}rn=ia}}if(an=an[0],hn=hn[0],rn&&Fa(En,1)&&!(rn=1<=(wi=Fa(En,4))&&11>=wi)){ot.a=3;break e}var Ws;if(Ws=rn)t:{var qc,fu,Wu,Oc=ot,DA=an,YA=hn,Zc=wi,jA=Ke,JA=Oc.m,pA=Oc.s,Xu=[null],Ac=1,Vc=0,dc=ov[Zc];n:for(;;){if(jA&&Fa(JA,1)){var TA=Fa(JA,3)+2,Af=ja(DA,TA),_c=ja(YA,TA),ud=Af*_c;if(!Ff(Af,_c,0,Oc,Xu))break n;for(Xu=Xu[0],pA.xc=TA,qc=0;qc>8&65535;Xu[qc]=yc,yc>=Ac&&(Ac=yc+1)}}if(JA.h)break n;for(fu=0;5>fu;++fu){var mA=Tm[fu];!fu&&0=qA),Cd=wd;var cd=M(Vc);if(Cd==null||cd==null||Ed==null){Oc.a=1;break n}var xd=Ed;for(qc=Wu=0;qcfu;++fu){mA=Tm[fu],Bd[fu]=xd,df[fu]=Wu,!fu&&0Pp)break r}else sm=Pp;for(Gg=0;Ggcg)Zm[Gg++]=cg,cg!=0&&(Vm=cg);else{var Nv=cg==16,Ym=cg-16,Mv=rv[Ym],Jm=Fa(J0,nv[Ym])+Mv;if(Gg+Jm>Pp)break r;for(var kv=Nv?Vm:0;0=fu){var Xg,lm=cd[0];for(Xg=1;Xglm&&(lm=cd[Xg]);PA+=lm}}if(Ic.nd=g0,Ic.Qb=0,g0&&(Ic.qb=(Bd[3][df[3]+0].value<<24|Bd[1][df[1]+0].value<<16|Bd[2][df[2]+0].value)>>>0,Mh==0&&256>Bd[0][df[0]+0].value&&(Ic.Qb=1,Ic.qb+=Bd[0][df[0]+0].value<<8)),Ic.jc=!Ic.Qb&&6>PA,Ic.jc){var Lp,p0=Ic;for(Lp=0;Lp>=CA(Rp,8,_0),q0>>=CA(p0.G[1][p0.H[1]+q0],16,_0),q0>>=CA(p0.G[2][p0.H[2]+q0],0,_0),CA(p0.G[3][p0.H[3]+q0],24,_0))}}}pA.vc=Xu,pA.Wb=Ac,pA.Ya=Cd,pA.yc=Ed,Ws=1;break t}Ws=0}if(!(rn=Ws)){ot.a=3;break e}if(0ot+1?[]:0),!(Kt.lengthj?0:j>ae?ae:j}function tg(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Np(){var j=new rp;return j!=null&&(j.a=0,j.sc="OK",j.cb=0,j.Xb=0,Wg||(Wg=ng)),j}function rA(j,ae,Ke){return j.a==0&&(j.a=ae,j.sc=Ke,j.cb=0),0}function ip(j,ae,Ke){return 3<=Ke&&j[ae+0]==157&&j[ae+1]==1&&j[ae+2]==42}function Tf(j,ae){if(j==null)return 0;if(j.a=0,j.sc="OK",ae==null)return rA(j,2,"null VP8Io passed to VP8GetHeaders()");var Ke=ae.data,ot=ae.w,Kt=ae.ha;if(4>Kt)return rA(j,7,"Truncated header.");var rn=Ke[ot+0]|Ke[ot+1]<<8|Ke[ot+2]<<16,an=j.Od;if(an.Rb=!(1&rn),an.td=rn>>1&7,an.yd=rn>>4&1,an.ub=rn>>5,3Kt)return rA(j,7,"cannot parse picture header");if(!ip(Ke,ot,Kt))return rA(j,3,"Bad code word");hn.c=16383&(Ke[ot+4]<<8|Ke[ot+3]),hn.Td=Ke[ot+4]>>6,hn.i=16383&(Ke[ot+6]<<8|Ke[ot+5]),hn.Ud=Ke[ot+6]>>6,ot+=7,Kt-=7,j.za=hn.c+15>>4,j.Ub=hn.i+15>>4,ae.width=hn.c,ae.height=hn.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,I((rn=j.Pa).jb,0,255,rn.jb.length),l((rn=j.Qa)!=null),rn.Cb=0,rn.Bb=0,rn.Fb=1,I(rn.Zb,0,0,rn.Zb.length),I(rn.Lb,0,0,rn.Lb)}if(an.ub>Kt)return rA(j,7,"bad partition length");Hi(rn=j.m,Ke,ot,an.ub),ot+=an.ub,Kt-=an.ub,an.Rb&&(hn.Ld=Yi(rn),hn.Kd=Yi(rn)),hn=j.Qa;var En,Mn=j.Pa;if(l(rn!=null),l(hn!=null),hn.Cb=Yi(rn),hn.Cb){if(hn.Bb=Yi(rn),Yi(rn)){for(hn.Fb=Yi(rn),En=0;4>En;++En)hn.Zb[En]=Yi(rn)?bi(rn,7):0;for(En=0;4>En;++En)hn.Lb[En]=Yi(rn)?bi(rn,6):0}if(hn.Bb)for(En=0;3>En;++En)Mn.jb[En]=Yi(rn)?Zi(rn,8):255}else hn.Bb=0;if(rn.Ka)return rA(j,3,"cannot parse segment header");if((hn=j.ed).zd=Yi(rn),hn.Tb=Zi(rn,6),hn.wb=Zi(rn,3),hn.Pc=Yi(rn),hn.Pc&&Yi(rn)){for(Mn=0;4>Mn;++Mn)Yi(rn)&&(hn.vd[Mn]=bi(rn,6));for(Mn=0;4>Mn;++Mn)Yi(rn)&&(hn.od[Mn]=bi(rn,6))}if(j.L=hn.Tb==0?0:hn.zd?1:2,rn.Ka)return rA(j,3,"cannot parse filter header");var kr=Kt;if(Kt=En=ot,ot=En+kr,hn=kr,j.Xb=(1<hn&&(wi=hn),Hi(j.Jc[+kr],Ke,En,wi),En+=wi,hn-=wi,Kt+=3}Hi(j.Jc[+Mn],Ke,En,hn),Ke=Enwi;++wi){if(kr.Cb){var kn=kr.Zb[wi];kr.Fb||(kn+=Ke)}else{if(0>16,8>Wr.Eb[1]&&(Wr.Eb[1]=8),Wr.Qc[0]=tm[Df(kn+Mn,117)],Wr.Qc[1]=nm[Df(kn+En,127)],Wr.lc=kn+En}if(!an.Rb)return rA(j,4,"Not a key frame.");for(Yi(rn),an=j.Pa,Ke=0;4>Ke;++Ke){for(Kt=0;8>Kt;++Kt)for(ot=0;3>ot;++ot)for(hn=0;11>hn;++hn)Mn=ya(rn,fv[Ke][Kt][ot][hn])?Zi(rn,8):Av[Ke][Kt][ot][hn],an.Wc[Ke][Kt].Yb[ot][hn]=Mn;for(Kt=0;17>Kt;++Kt)an.Xc[Ke][Kt]=an.Wc[Ke][hv[Kt]]}return j.kc=Yi(rn),j.kc&&(j.Bd=Zi(rn,8)),j.cb=1}function ng(j,ae,Ke,ot,Kt,rn,an){var hn=ae[Kt].Yb[Ke];for(Ke=0;16>Kt;++Kt){if(!ya(j,hn[Ke+0]))return Kt;for(;!ya(j,hn[Ke+1]);)if(hn=ae[++Kt].Yb[0],Ke=0,Kt==16)return 16;var En=ae[Kt+1].Yb;if(ya(j,hn[Ke+2])){var Mn=j,kr=0;if(ya(Mn,(kn=hn)[(wi=Ke)+3]))if(ya(Mn,kn[wi+6])){for(hn=0,wi=2*(kr=ya(Mn,kn[wi+8]))+(kn=ya(Mn,kn[wi+9+kr])),kr=0,kn=uv[wi];kn[hn];++hn)kr+=kr+ya(Mn,kn[hn]);kr+=3+(8<(Mn=j).b&&Wi(Mn);var wi,kn=Mn.b,Wr=(wi=Mn.Ca>>1)-(Mn.I>>kn)>>31;--Mn.b,Mn.Ca+=Wr,Mn.Ca|=1,Mn.I-=(wi+1&Wr)<>3),j[ae+Ke+32*ot]=-256&Kt?0>Kt?0:255:Kt}function dA(j,ae,Ke,ot,Kt,rn){zd(j,ae,0,Ke,ot+Kt),zd(j,ae,1,Ke,ot+rn),zd(j,ae,2,Ke,ot-rn),zd(j,ae,3,Ke,ot-Kt)}function n0(j){return(20091*j>>16)+j}function sp(j,ae,Ke,ot){var Kt,rn=0,an=M(16);for(Kt=0;4>Kt;++Kt){var hn=j[ae+0]+j[ae+8],En=j[ae+0]-j[ae+8],Mn=(35468*j[ae+4]>>16)-n0(j[ae+12]),kr=n0(j[ae+4])+(35468*j[ae+12]>>16);an[rn+0]=hn+kr,an[rn+1]=En+Mn,an[rn+2]=En-Mn,an[rn+3]=hn-kr,rn+=4,ae++}for(Kt=rn=0;4>Kt;++Kt)hn=(j=an[rn+0]+4)+an[rn+8],En=j-an[rn+8],Mn=(35468*an[rn+4]>>16)-n0(an[rn+12]),zd(Ke,ot,0,0,hn+(kr=n0(an[rn+4])+(35468*an[rn+12]>>16))),zd(Ke,ot,1,0,En+Mn),zd(Ke,ot,2,0,En-Mn),zd(Ke,ot,3,0,hn-kr),rn++,ot+=32}function Mp(j,ae,Ke,ot){var Kt=j[ae+0]+4,rn=35468*j[ae+4]>>16,an=n0(j[ae+4]),hn=35468*j[ae+1]>>16;dA(Ke,ot,0,Kt+an,j=n0(j[ae+1]),hn),dA(Ke,ot,1,Kt+rn,j,hn),dA(Ke,ot,2,Kt-rn,j,hn),dA(Ke,ot,3,Kt-an,j,hn)}function kp(j,ae,Ke,ot,Kt){sp(j,ae,Ke,ot),Kt&&sp(j,ae+16,Ke,ot+4)}function Pf(j,ae,Ke,ot){Nh(j,ae+0,Ke,ot,1),Nh(j,ae+32,Ke,ot+128,1)}function op(j,ae,Ke,ot){var Kt;for(j=j[ae+0]+4,Kt=0;4>Kt;++Kt)for(ae=0;4>ae;++ae)zd(Ke,ot,ae,Kt,j)}function lp(j,ae,Ke,ot){j[ae+0]&&ac(j,ae+0,Ke,ot),j[ae+16]&&ac(j,ae+16,Ke,ot+4),j[ae+32]&&ac(j,ae+32,Ke,ot+128),j[ae+48]&&ac(j,ae+48,Ke,ot+128+4)}function rg(j,ae,Ke,ot){var Kt,rn=M(16);for(Kt=0;4>Kt;++Kt){var an=j[ae+0+Kt]+j[ae+12+Kt],hn=j[ae+4+Kt]+j[ae+8+Kt],En=j[ae+4+Kt]-j[ae+8+Kt],Mn=j[ae+0+Kt]-j[ae+12+Kt];rn[0+Kt]=an+hn,rn[8+Kt]=an-hn,rn[4+Kt]=Mn+En,rn[12+Kt]=Mn-En}for(Kt=0;4>Kt;++Kt)an=(j=rn[0+4*Kt]+3)+rn[3+4*Kt],hn=rn[1+4*Kt]+rn[2+4*Kt],En=rn[1+4*Kt]-rn[2+4*Kt],Mn=j-rn[3+4*Kt],Ke[ot+0]=an+hn>>3,Ke[ot+16]=Mn+En>>3,Ke[ot+32]=an-hn>>3,Ke[ot+48]=Mn-En>>3,ot+=64}function Ch(j,ae,Ke){var ot,Kt=ae-32,rn=bd,an=255-j[Kt-1];for(ot=0;otKe;++Ke)m(j,ae+32*Ke,j,ae-32,16)}function up(j,ae){var Ke;for(Ke=16;0ot;++ot)I(ae,Ke+32*ot,j,16)}function Hp(j,ae){var Ke,ot=16;for(Ke=0;16>Ke;++Ke)ot+=j[ae-1+32*Ke]+j[ae+Ke-32];lf(ot>>5,j,ae)}function xh(j,ae){var Ke,ot=8;for(Ke=0;16>Ke;++Ke)ot+=j[ae-1+32*Ke];lf(ot>>4,j,ae)}function Bg(j,ae){var Ke,ot=8;for(Ke=0;16>Ke;++Ke)ot+=j[ae+Ke-32];lf(ot>>4,j,ae)}function zp(j,ae){lf(128,j,ae)}function ru(j,ae,Ke){return j+2*ae+Ke+2>>2}function Kp(j,ae){var Ke,ot=ae-32;for(ot=new Uint8Array([ru(j[ot-1],j[ot+0],j[ot+1]),ru(j[ot+0],j[ot+1],j[ot+2]),ru(j[ot+1],j[ot+2],j[ot+3]),ru(j[ot+2],j[ot+3],j[ot+4])]),Ke=0;4>Ke;++Ke)m(j,ae+32*Ke,ot,0,ot.length)}function Wp(j,ae){var Ke=j[ae-1],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96];Ya(j,ae+0,16843009*ru(j[ae-1-32],Ke,ot)),Ya(j,ae+32,16843009*ru(Ke,ot,Kt)),Ya(j,ae+64,16843009*ru(ot,Kt,rn)),Ya(j,ae+96,16843009*ru(Kt,rn,rn))}function Zp(j,ae){var Ke,ot=4;for(Ke=0;4>Ke;++Ke)ot+=j[ae+Ke-32]+j[ae-1+32*Ke];for(ot>>=3,Ke=0;4>Ke;++Ke)I(j,ae+32*Ke,ot,4)}function r0(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1-32],an=j[ae+0-32],hn=j[ae+1-32],En=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+96]=ru(ot,Kt,j[ae-1+96]),j[ae+1+96]=j[ae+0+64]=ru(Ke,ot,Kt),j[ae+2+96]=j[ae+1+64]=j[ae+0+32]=ru(rn,Ke,ot),j[ae+3+96]=j[ae+2+64]=j[ae+1+32]=j[ae+0+0]=ru(an,rn,Ke),j[ae+3+64]=j[ae+2+32]=j[ae+1+0]=ru(hn,an,rn),j[ae+3+32]=j[ae+2+0]=ru(En,hn,an),j[ae+3+0]=ru(Mn,En,hn)}function i0(j,ae){var Ke=j[ae+1-32],ot=j[ae+2-32],Kt=j[ae+3-32],rn=j[ae+4-32],an=j[ae+5-32],hn=j[ae+6-32],En=j[ae+7-32];j[ae+0+0]=ru(j[ae+0-32],Ke,ot),j[ae+1+0]=j[ae+0+32]=ru(Ke,ot,Kt),j[ae+2+0]=j[ae+1+32]=j[ae+0+64]=ru(ot,Kt,rn),j[ae+3+0]=j[ae+2+32]=j[ae+1+64]=j[ae+0+96]=ru(Kt,rn,an),j[ae+3+32]=j[ae+2+64]=j[ae+1+96]=ru(rn,an,hn),j[ae+3+64]=j[ae+2+96]=ru(an,hn,En),j[ae+3+96]=ru(hn,En,En)}function Vp(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1-32],an=j[ae+0-32],hn=j[ae+1-32],En=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+0]=j[ae+1+64]=rn+an+1>>1,j[ae+1+0]=j[ae+2+64]=an+hn+1>>1,j[ae+2+0]=j[ae+3+64]=hn+En+1>>1,j[ae+3+0]=En+Mn+1>>1,j[ae+0+96]=ru(Kt,ot,Ke),j[ae+0+64]=ru(ot,Ke,rn),j[ae+0+32]=j[ae+1+96]=ru(Ke,rn,an),j[ae+1+32]=j[ae+2+96]=ru(rn,an,hn),j[ae+2+32]=j[ae+3+96]=ru(an,hn,En),j[ae+3+32]=ru(hn,En,Mn)}function Gp(j,ae){var Ke=j[ae+0-32],ot=j[ae+1-32],Kt=j[ae+2-32],rn=j[ae+3-32],an=j[ae+4-32],hn=j[ae+5-32],En=j[ae+6-32],Mn=j[ae+7-32];j[ae+0+0]=Ke+ot+1>>1,j[ae+1+0]=j[ae+0+64]=ot+Kt+1>>1,j[ae+2+0]=j[ae+1+64]=Kt+rn+1>>1,j[ae+3+0]=j[ae+2+64]=rn+an+1>>1,j[ae+0+32]=ru(Ke,ot,Kt),j[ae+1+32]=j[ae+0+96]=ru(ot,Kt,rn),j[ae+2+32]=j[ae+1+96]=ru(Kt,rn,an),j[ae+3+32]=j[ae+2+96]=ru(rn,an,hn),j[ae+3+64]=ru(an,hn,En),j[ae+3+96]=ru(hn,En,Mn)}function ig(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96];j[ae+0+0]=Ke+ot+1>>1,j[ae+2+0]=j[ae+0+32]=ot+Kt+1>>1,j[ae+2+32]=j[ae+0+64]=Kt+rn+1>>1,j[ae+1+0]=ru(Ke,ot,Kt),j[ae+3+0]=j[ae+1+32]=ru(ot,Kt,rn),j[ae+3+32]=j[ae+1+64]=ru(Kt,rn,rn),j[ae+3+64]=j[ae+2+64]=j[ae+0+96]=j[ae+1+96]=j[ae+2+96]=j[ae+3+96]=rn}function Sg(j,ae){var Ke=j[ae-1+0],ot=j[ae-1+32],Kt=j[ae-1+64],rn=j[ae-1+96],an=j[ae-1-32],hn=j[ae+0-32],En=j[ae+1-32],Mn=j[ae+2-32];j[ae+0+0]=j[ae+2+32]=Ke+an+1>>1,j[ae+0+32]=j[ae+2+64]=ot+Ke+1>>1,j[ae+0+64]=j[ae+2+96]=Kt+ot+1>>1,j[ae+0+96]=rn+Kt+1>>1,j[ae+3+0]=ru(hn,En,Mn),j[ae+2+0]=ru(an,hn,En),j[ae+1+0]=j[ae+3+32]=ru(Ke,an,hn),j[ae+1+32]=j[ae+3+64]=ru(ot,Ke,an),j[ae+1+64]=j[ae+3+96]=ru(Kt,ot,Ke),j[ae+1+96]=ru(rn,Kt,ot)}function Bh(j,ae){var Ke;for(Ke=0;8>Ke;++Ke)m(j,ae+32*Ke,j,ae-32,8)}function Xp(j,ae){var Ke;for(Ke=0;8>Ke;++Ke)I(j,ae,j[ae-1],8),ae+=32}function a0(j,ae,Ke){var ot;for(ot=0;8>ot;++ot)I(ae,Ke+32*ot,j,8)}function Yp(j,ae){var Ke,ot=8;for(Ke=0;8>Ke;++Ke)ot+=j[ae+Ke-32]+j[ae-1+32*Ke];a0(ot>>4,j,ae)}function Ig(j,ae){var Ke,ot=4;for(Ke=0;8>Ke;++Ke)ot+=j[ae+Ke-32];a0(ot>>3,j,ae)}function Fg(j,ae){var Ke,ot=4;for(Ke=0;8>Ke;++Ke)ot+=j[ae-1+32*Ke];a0(ot>>3,j,ae)}function cp(j,ae){a0(128,j,ae)}function s0(j,ae,Ke){var ot=j[ae-Ke],Kt=j[ae+0],rn=3*(Kt-ot)+Jp[1020+j[ae-2*Ke]-j[ae+Ke]],an=vp[112+(rn+4>>3)];j[ae-Ke]=bd[255+ot+vp[112+(rn+3>>3)]],j[ae+0]=bd[255+Kt-an]}function Dg(j,ae,Ke,ot){var Kt=j[ae+0],rn=j[ae+Ke];return Zd[255+j[ae-2*Ke]-j[ae-Ke]]>ot||Zd[255+rn-Kt]>ot}function ag(j,ae,Ke,ot){return 4*Zd[255+j[ae-Ke]-j[ae+0]]+Zd[255+j[ae-2*Ke]-j[ae+Ke]]<=ot}function Tg(j,ae,Ke,ot,Kt){var rn=j[ae-3*Ke],an=j[ae-2*Ke],hn=j[ae-Ke],En=j[ae+0],Mn=j[ae+Ke],kr=j[ae+2*Ke],wi=j[ae+3*Ke];return 4*Zd[255+hn-En]+Zd[255+an-Mn]>ot?0:Zd[255+j[ae-4*Ke]-rn]<=Kt&&Zd[255+rn-an]<=Kt&&Zd[255+an-hn]<=Kt&&Zd[255+wi-kr]<=Kt&&Zd[255+kr-Mn]<=Kt&&Zd[255+Mn-En]<=Kt}function Sh(j,ae,Ke,ot){var Kt=2*ot+1;for(ot=0;16>ot;++ot)ag(j,ae+ot,Ke,Kt)&&s0(j,ae+ot,Ke)}function Pg(j,ae,Ke,ot){var Kt=2*ot+1;for(ot=0;16>ot;++ot)ag(j,ae+ot*Ke,1,Kt)&&s0(j,ae+ot*Ke,1)}function Ap(j,ae,Ke,ot){var Kt;for(Kt=3;0>7,ua=18*ha+63>>7,ha=9*ha+63>>7;En[Mn-3*kr]=bd[255+En[Mn-3*kr]+ha],En[Mn-2*kr]=bd[255+wi+ua],En[Mn-kr]=bd[255+kn+yi],En[Mn+0]=bd[255+Wr-yi],En[Mn+kr]=bd[255+ui-ua],En[Mn+2*kr]=bd[255+ia-ha]}ae+=ot}}function l0(j,ae,Ke,ot,Kt,rn,an,hn){for(rn=2*rn+1;0>3)],ia=vp[112+(ia+3>>3)],yi=ui+1>>1;En[Mn-2*kr]=bd[255+En[Mn-2*kr]+yi],En[Mn-kr]=bd[255+wi+ia],En[Mn+0]=bd[255+kn-ui],En[Mn+kr]=bd[255+Wr-yi]}ae+=ot}}function fp(j,ae,Ke,ot,Kt,rn){o0(j,ae,Ke,1,16,ot,Kt,rn)}function Ih(j,ae,Ke,ot,Kt,rn){o0(j,ae,1,Ke,16,ot,Kt,rn)}function hp(j,ae,Ke,ot,Kt,rn){var an;for(an=3;0Mn?0:255:Mn)&255,Mn=En,Kt[rn+hn]=kr}}function Sc(j,ae,Ke,ot){var Kt=ae.width,rn=ae.o;if(l(j!=null&&ae!=null),0>Ke||0>=ot||Ke+ot>rn)return null;if(!j.Cc){if(j.ga==null){var an;if(j.ga=new vu,(an=j.ga==null)||(an=ae.width*ae.o,l(j.Gb.length==0),j.Gb=M(an),j.Uc=0,j.Gb==null?an=0:(j.mb=j.Gb,j.nb=j.Uc,j.rc=null,an=1),an=!an),!an){an=j.ga;var hn=j.Fa,En=j.P,Mn=j.qc,kr=j.mb,wi=j.nb,kn=En+1,Wr=Mn-1,ui=an.l;if(l(hn!=null&&kr!=null&&ae!=null),X0[0]=null,X0[1]=Gu,X0[2]=zc,X0[3]=iA,an.ca=kr,an.tb=wi,an.c=ae.width,an.i=ae.height,l(0=Mn)ae=0;else if(an.$a=3&hn[En+0],an.Z=hn[En+0]>>2&3,an.Lc=hn[En+0]>>4&3,En=hn[En+0]>>6&3,0>an.$a||1=an.c*an.i;an=!ae}if(an)return null;j.ga.Lc!=1?j.Ga=0:ot=rn-Ke}l(j.ga!=null),l(Ke+ot<=rn);e:{if(ae=(hn=j.ga).c,rn=hn.l.o,hn.$a==0){if(kn=j.rc,Wr=j.Vc,ui=j.Fa,En=j.P+1+Ke*ae,Mn=j.mb,kr=j.nb+Ke*ae,l(En<=j.P+j.qc),hn.Z!=0)for(l(X0[hn.Z]!=null),an=0;an=ae)ae=1;else if(hn.ic||uf(),hn.ic){hn=an.V,kn=an.Ba,Wr=an.c;var ia=an.i,yi=(ui=1,En=an.$/Wr,Mn=an.$%Wr,kr=an.m,wi=an.s,an.$),ua=Wr*ia,ha=Wr*ae,Ka=wi.wc,La=yi(ia=Wc(La.G[0],La.H[0],kr)))hn[kn+yi]=ia,++yi,++Mn>=Wr&&(Mn=0,++En<=ae&&!(En%16)&&sf(an,En));else{if(!(280>ia)){ui=0;break t}ia=Ud(ia-256,kr);var qo,Po=Wc(La.G[4],La.H[4],kr);if(gi(kr),!(yi>=(Po=Qd(Wr,Po=Ud(Po,kr)))&&ua-yi>=ia)){ui=0;break t}for(qo=0;qo=Wr;)Mn-=Wr,++En<=ae&&!(En%16)&&sf(an,En);yiae?ae:En);break t}!ui||kr.h&&yi=rn&&(j.Cc=1),ot=1}if(!ot)return null;if(j.Cc&&((ot=j.ga)!=null&&(ot.mc=null),j.ga=null,0>23,hn[En+4*an+1]=hn[En+4*an+1]*wi>>23,hn[En+4*an+2]=hn[En+4*an+2]*wi>>23)}ae+=rn}}function aA(j,ae,Ke,ot,Kt){for(;0>4)*En>>16;j[ae+2*rn+0]=(240&an|an>>4)*En>>16&240|(15&an|an<<4)*En>>16>>4&15,j[ae+2*rn+1]=240&Mn|hn}ae+=Kt}}function IA(j,ae,Ke,ot,Kt,rn,an,hn){var En,Mn,kr=255;for(Mn=0;Mn>8}function uf(){Kg=fA,bm=aA,Em=IA,wm=u0}function c0(j,ae,Ke){Yn[j]=function(ot,Kt,rn,an,hn,En,Mn,kr,wi,kn,Wr,ui,ia,yi,ua,ha,Ka){var La,qo=Ka-1>>1,Po=hn[En+0]|Mn[kr+0]<<16,bu=wi[kn+0]|Wr[ui+0]<<16;l(ot!=null);var zo=3*Po+bu+131074>>2;for(ae(ot[Kt+0],255&zo,zo>>16,ia,yi),rn!=null&&(zo=3*bu+Po+131074>>2,ae(rn[an+0],255&zo,zo>>16,ua,ha)),La=1;La<=qo;++La){var Hu=hn[En+La]|Mn[kr+La]<<16,gA=wi[kn+La]|Wr[ui+La]<<16,Eu=Po+Hu+bu+gA+524296,Ko=Eu+2*(Hu+bu)>>3;zo=Ko+Po>>1,Po=(Eu=Eu+2*(Po+gA)>>3)+Hu>>1,ae(ot[Kt+2*La-1],255&zo,zo>>16,ia,yi+(2*La-1)*Ke),ae(ot[Kt+2*La-0],255&Po,Po>>16,ia,yi+(2*La-0)*Ke),rn!=null&&(zo=Eu+bu>>1,Po=Ko+gA>>1,ae(rn[an+2*La-1],255&zo,zo>>16,ua,ha+(2*La-1)*Ke),ae(rn[an+2*La+0],255&Po,Po>>16,ua,ha+(2*La+0)*Ke)),Po=Hu,bu=gA}1&Ka||(zo=3*Po+bu+131074>>2,ae(ot[Kt+Ka-1],255&zo,zo>>16,ia,yi+(Ka-1)*Ke),rn!=null&&(zo=3*bu+Po+131074>>2,ae(rn[an+Ka-1],255&zo,zo>>16,ua,ha+(Ka-1)*Ke)))}}function Lg(){Vd[yp]=pv,Vd[bp]=Rm,Vd[Fm]=mv,Vd[Ep]=Om,Vd[wp]=Nm,Vd[qp]=Mm,Vd[Dm]=vv,Vd[_p]=Rm,Vd[$p]=Om,Vd[Cp]=Nm,Vd[em]=Mm}function sg(j){return j&~yv?0>j?0:255:j>>km}function U0(j,ae){return sg((19077*j>>8)+(26149*ae>>8)-14234)}function Fh(j,ae,Ke){return sg((19077*j>>8)-(6419*ae>>8)-(13320*Ke>>8)+8708)}function Dh(j,ae){return sg((19077*j>>8)+(33050*ae>>8)-17685)}function Q0(j,ae,Ke,ot,Kt){ot[Kt+0]=U0(j,Ke),ot[Kt+1]=Fh(j,ae,Ke),ot[Kt+2]=Dh(j,ae)}function FA(j,ae,Ke,ot,Kt){ot[Kt+0]=Dh(j,ae),ot[Kt+1]=Fh(j,ae,Ke),ot[Kt+2]=U0(j,Ke)}function Th(j,ae,Ke,ot,Kt){var rn=Fh(j,ae,Ke);ae=rn<<3&224|Dh(j,ae)>>3,ot[Kt+0]=248&U0(j,Ke)|rn>>5,ot[Kt+1]=ae}function Ph(j,ae,Ke,ot,Kt){var rn=240&Dh(j,ae)|15;ot[Kt+0]=240&U0(j,Ke)|Fh(j,ae,Ke)>>4,ot[Kt+1]=rn}function Rg(j,ae,Ke,ot,Kt){ot[Kt+0]=255,Q0(j,ae,Ke,ot,Kt+1)}function Og(j,ae,Ke,ot,Kt){FA(j,ae,Ke,ot,Kt),ot[Kt+3]=255}function XA(j,ae,Ke,ot,Kt){Q0(j,ae,Ke,ot,Kt),ot[Kt+3]=255}function A0(j,ae,Ke){Yn[j]=function(ot,Kt,rn,an,hn,En,Mn,kr,wi){for(var kn=kr+(-2&wi)*Ke;kr!=kn;)ae(ot[Kt+0],rn[an+0],hn[En+0],Mn,kr),ae(ot[Kt+1],rn[an+0],hn[En+0],Mn,kr+Ke),Kt+=2,++an,++En,kr+=2*Ke;1&wi&&ae(ot[Kt+0],rn[an+0],hn[En+0],Mn,kr)}}function og(j,ae,Ke){return Ke==0?j==0?ae==0?6:5:ae==0?4:0:Ke}function gp(j,ae,Ke,ot,Kt){switch(j>>>30){case 3:Nh(ae,Ke,ot,Kt,0);break;case 2:Wd(ae,Ke,ot,Kt);break;case 1:ac(ae,Ke,ot,Kt)}}function Kd(j,ae){var Ke,ot,Kt=ae.M,rn=ae.Nb,an=j.oc,hn=j.pc+40,En=j.oc,Mn=j.pc+584,kr=j.oc,wi=j.pc+600;for(Ke=0;16>Ke;++Ke)an[hn+32*Ke-1]=129;for(Ke=0;8>Ke;++Ke)En[Mn+32*Ke-1]=129,kr[wi+32*Ke-1]=129;for(0Ke;++Ke)m(an,hn+32*Ke-4,an,hn+32*Ke+12,4);for(Ke=-1;8>Ke;++Ke)m(En,Mn+32*Ke-4,En,Mn+32*Ke+4,4),m(kr,wi+32*Ke-4,kr,wi+32*Ke+4,4)}var Wr=j.Gd,ui=j.Hd+ot,ia=kn.ad,yi=kn.Hc;if(0=j.za-1?I(ua,ha,Wr[ui].y[15],4):m(ua,ha,Wr[ui+1].y,0,4)),Ke=0;4>Ke;Ke++)ua[ha+128+Ke]=ua[ha+256+Ke]=ua[ha+384+Ke]=ua[ha+0+Ke];for(Ke=0;16>Ke;++Ke,yi<<=2)ua=an,ha=hn+Qm[Ke],cf[kn.Ob[Ke]](ua,ha),gp(yi,ia,16*+Ke,ua,ha)}else if(ua=og(ot,Kt,kn.Ob[0]),G0[ua](an,hn),yi!=0)for(Ke=0;16>Ke;++Ke,yi<<=2)gp(yi,ia,16*+Ke,an,hn+Qm[Ke]);for(Ke=kn.Gc,ua=og(ot,Kt,kn.Dd),h0[ua](En,Mn),h0[ua](kr,wi),yi=ia,ua=En,ha=Mn,255&(kn=0|Ke)&&(170&kn?Of(yi,256,ua,ha):vc(yi,256,ua,ha)),kn=kr,yi=wi,255&(Ke>>=8)&&(170&Ke?Of(ia,320,kn,yi):vc(ia,320,kn,yi)),KtKe;++Ke)m(Wr,ui+Ke*j.R,an,hn+32*Ke,16);for(Ke=0;8>Ke;++Ke)m(ia,kn+Ke*j.B,En,Mn+32*Ke,8),m(yi,ua+Ke*j.B,kr,wi+32*Ke,8)}}function Lh(j,ae,Ke,ot,Kt,rn,an,hn,En){var Mn=[0],kr=[0],wi=0,kn=En!=null?En.kd:0,Wr=En!=null?En:new Pa;if(j==null||12>Ke)return 7;Wr.data=j,Wr.w=ae,Wr.ha=Ke,ae=[ae],Ke=[Ke],Wr.gb=[Wr.gb];e:{var ui=ae,ia=Ke,yi=Wr.gb;if(l(j!=null),l(ia!=null),l(yi!=null),yi[0]=0,12<=ia[0]&&!s(j,ui[0],"RIFF")){if(s(j,ui[0]+8,"WEBP")){yi=3;break e}var ua=Al(j,ui[0]+4);if(12>ua||4294967286ia[0]-8){yi=7;break e}yi[0]=ua,ui[0]+=12,ia[0]-=12}yi=0}if(yi!=0)return yi;for(ua=0yi[0])yi=7;else{if(!s(ha,ia[0],"VP8X")){if(Al(ha,ia[0]+4)!=10){yi=3;break e}if(18>yi[0]){yi=7;break e}var Po=Al(ha,ia[0]+8),bu=1+to(ha,ia[0]+12);if(2147483648<=bu*(ha=1+to(ha,ia[0]+15))){yi=3;break e}qo!=null&&(qo[0]=Po),Ka!=null&&(Ka[0]=bu),La!=null&&(La[0]=ha),ia[0]+=18,yi[0]-=18,zo[0]=1}yi=0}}if(wi=wi[0],ui=ui[0],yi!=0)return yi;if(ia=!!(2&ui),!ua&&wi)return 3;if(rn!=null&&(rn[0]=!!(16&ui)),an!=null&&(an[0]=ia),hn!=null&&(hn[0]=0),an=Mn[0],ui=kr[0],wi&&ia&&En==null){yi=0;break}if(4>Ke){yi=7;break}if(ua&&wi||!ua&&!wi&&!s(j,ae[0],"ALPH")){Ke=[Ke],Wr.na=[Wr.na],Wr.P=[Wr.P],Wr.Sa=[Wr.Sa];e:{Po=j,yi=ae,ua=Ke;var zo=Wr.gb;Ka=Wr.na,La=Wr.P,qo=Wr.Sa,bu=22,l(Po!=null),l(ua!=null),ha=yi[0];var Hu=ua[0];for(l(Ka!=null),l(qo!=null),Ka[0]=null,La[0]=null,qo[0]=0;;){if(yi[0]=ha,ua[0]=Hu,8>Hu){yi=7;break e}var gA=Al(Po,ha+4);if(4294967286zo){yi=3;break e}if(!s(Po,ha,"VP8 ")||!s(Po,ha,"VP8L")){yi=0;break e}if(Hu[0]ua[0])yi=7;else{if(ha||bu){if(zo=Al(zo,Po+4),12<=Ka&&zo>Ka-12){yi=3;break e}if(kn&&zo>ua[0]-8){yi=7;break e}La[0]=zo,yi[0]+=8,ua[0]-=8,qo[0]=bu}else qo[0]=5<=ua[0]&&zo[Po+0]==47&&!(zo[Po+4]>>5),La[0]=ua[0];yi=0}if(Ke=Ke[0],Wr.Ja=Wr.Ja[0],Wr.xa=Wr.xa[0],ae=ae[0],yi!=0)break;if(4294967286Ke){yi=7;break}hn=an,kn=ui,ia=rn,j==null||5>Ke?j=0:5<=Ke&&j[ae+0]==47&&!(j[ae+4]>>5)?(ua=[0],zo=[0],Ka=[0],Ji(La=new Kn,j,ae,Ke),t0(La,ua,zo,Ka)?(hn!=null&&(hn[0]=ua[0]),kn!=null&&(kn[0]=zo[0]),ia!=null&&(ia[0]=Ka[0]),j=1):j=0):j=0}else{if(10>Ke){yi=7;break}hn=ui,j==null||10>Ke||!ip(j,ae+3,Ke-3)?j=0:(kn=j[ae+0]|j[ae+1]<<8|j[ae+2]<<16,ia=16383&(j[ae+7]<<8|j[ae+6]),j=16383&(j[ae+9]<<8|j[ae+8]),1&kn||3<(kn>>1&7)||!(kn>>4&1)||kn>>5>=Wr.Ja||!ia||!j?j=0:(an&&(an[0]=ia),hn&&(hn[0]=j),j=1))}if(!j||(an=an[0],ui=ui[0],wi&&(Mn[0]!=an||kr[0]!=ui)))return 3;En!=null&&(En[0]=Wr,En.offset=ae-En.w,l(4294967286>ae-En.w),l(En.offset==En.ha-Ke));break}return yi==0||yi==7&&wi&&En==null?(rn!=null&&(rn[0]|=Wr.na!=null&&0Ke||(rn&=-2,an&=-2),0>rn||0>an||0>=hn||0>=En||rn+hn>ot||an+En>Kt))return 0;if(ae.v=rn,ae.j=an,ae.va=rn+hn,ae.o=an+En,ae.U=hn,ae.T=En,ae.da=j!=null&&0j.S){var ae=j.f.RGBA;ae.fb+=(j.height-1)*ae.A,ae.A=-ae.A}else ae=j.f.kb,j=j.height,ae.O+=(j-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(j-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(j-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(j-1)*ae.lb,ae.lb=-ae.lb);return 0}function j0(j,ae,Ke,ot){if(ot==null||0>=j||0>=ae)return 2;if(Ke!=null){if(Ke.Da){var Kt=Ke.cd,rn=Ke.bd,an=-2&Ke.v,hn=-2&Ke.j;if(0>an||0>hn||0>=Kt||0>=rn||an+Kt>j||hn+rn>ae)return 2;j=Kt,ae=rn}if(Ke.da){if(!Sl(j,ae,Kt=[Ke.ib],rn=[Ke.hb]))return 2;j=Kt[0],ae=rn[0]}}ot.width=j,ot.height=ae;e:{var En=ot.width,Mn=ot.height;if(j=ot.S,0>=En||0>=Mn||!(j>=yp&&13>j))j=2;else{if(0>=ot.Rd&&ot.sd==null){an=rn=Kt=ae=0;var kr=(hn=En*jm[j])*Mn;if(11>j||(rn=(Mn+1)/2*(ae=(En+1)/2),j==12&&(an=(Kt=En)*Mn)),(Mn=M(kr+2*rn+an))==null){j=1;break e}ot.sd=Mn,11>j?((En=ot.f.RGBA).eb=Mn,En.fb=0,En.A=hn,En.size=kr):((En=ot.f.kb).y=Mn,En.O=0,En.fa=hn,En.Fd=kr,En.f=Mn,En.N=0+kr,En.Ab=ae,En.Cd=rn,En.ea=Mn,En.W=0+kr+rn,En.Db=ae,En.Ed=rn,j==12&&(En.F=Mn,En.J=0+kr+2*rn),En.Tc=an,En.lb=Kt)}if(ae=1,Kt=ot.S,rn=ot.width,an=ot.height,Kt>=yp&&13>Kt)if(11>Kt)j=ot.f.RGBA,ae&=(hn=Math.abs(j.A))*(an-1)+rn<=j.size,ae&=hn>=rn*jm[Kt],ae&=j.eb!=null;else{j=ot.f.kb,hn=(rn+1)/2,kr=(an+1)/2,En=Math.abs(j.fa),Mn=Math.abs(j.Ab);var wi=Math.abs(j.Db),kn=Math.abs(j.lb),Wr=kn*(an-1)+rn;ae&=En*(an-1)+rn<=j.Fd,ae&=Mn*(kr-1)+hn<=j.Cd,ae=(ae&=wi*(kr-1)+hn<=j.Ed)&En>=rn&Mn>=hn&wi>=hn,ae&=j.y!=null,ae&=j.f!=null,ae&=j.ea!=null,Kt==12&&(ae&=kn>=rn,ae&=Wr<=j.Tc,ae&=j.F!=null)}else ae=0;j=ae?0:2}}return j!=0||Ke!=null&&Ke.fd&&(j=Mg(ot)),j}var Rh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,H0=32,d0=8,z0=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];No("Predictor0","PredictorAdd0"),Yn.Predictor0=function(){return 4278190080},Yn.Predictor1=function(j){return j},Yn.Predictor2=function(j,ae,Ke){return ae[Ke+0]},Yn.Predictor3=function(j,ae,Ke){return ae[Ke+1]},Yn.Predictor4=function(j,ae,Ke){return ae[Ke-1]},Yn.Predictor5=function(j,ae,Ke){return gl(gl(j,ae[Ke+1]),ae[Ke+0])},Yn.Predictor6=function(j,ae,Ke){return gl(j,ae[Ke-1])},Yn.Predictor7=function(j,ae,Ke){return gl(j,ae[Ke+0])},Yn.Predictor8=function(j,ae,Ke){return gl(ae[Ke-1],ae[Ke+0])},Yn.Predictor9=function(j,ae,Ke){return gl(ae[Ke+0],ae[Ke+1])},Yn.Predictor10=function(j,ae,Ke){return gl(gl(j,ae[Ke-1]),gl(ae[Ke+0],ae[Ke+1]))},Yn.Predictor11=function(j,ae,Ke){var ot=ae[Ke+0];return 0>=Au(ot>>24&255,j>>24&255,(ae=ae[Ke-1])>>24&255)+Au(ot>>16&255,j>>16&255,ae>>16&255)+Au(ot>>8&255,j>>8&255,ae>>8&255)+Au(255&ot,255&j,255&ae)?ot:j},Yn.Predictor12=function(j,ae,Ke){var ot=ae[Ke+0];return(rc((j>>24&255)+(ot>>24&255)-((ae=ae[Ke-1])>>24&255))<<24|rc((j>>16&255)+(ot>>16&255)-(ae>>16&255))<<16|rc((j>>8&255)+(ot>>8&255)-(ae>>8&255))<<8|rc((255&j)+(255&ot)-(255&ae)))>>>0},Yn.Predictor13=function(j,ae,Ke){var ot=ae[Ke-1];return(Mu((j=gl(j,ae[Ke+0]))>>24&255,ot>>24&255)<<24|Mu(j>>16&255,ot>>16&255)<<16|Mu(j>>8&255,ot>>8&255)<<8|Mu(255&j,255&ot))>>>0};var kg=Yn.PredictorAdd0;Yn.PredictorAdd1=ju,No("Predictor2","PredictorAdd2"),No("Predictor3","PredictorAdd3"),No("Predictor4","PredictorAdd4"),No("Predictor5","PredictorAdd5"),No("Predictor6","PredictorAdd6"),No("Predictor7","PredictorAdd7"),No("Predictor8","PredictorAdd8"),No("Predictor9","PredictorAdd9"),No("Predictor10","PredictorAdd10"),No("Predictor11","PredictorAdd11"),No("Predictor12","PredictorAdd12"),No("Predictor13","PredictorAdd13");var lg=Yn.PredictorAdd2;nl("ColorIndexInverseTransform","MapARGB","32b",function(j){return j>>8&255},function(j){return j}),nl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(j){return j},function(j){return j>>8&255});var Yc,pp=Yn.ColorIndexInverseTransform,Lf=Yn.MapARGB,Rf=Yn.VP8LColorIndexInverseTransformAlpha,Ug=Yn.MapAlpha,Qg=Yn.VP8LPredictorsAdd=[];Qg.length=16,(Yn.VP8LPredictors=[]).length=16,(Yn.VP8LPredictorsAdd_C=[]).length=16,(Yn.VP8LPredictors_C=[]).length=16;var jg,Hg,K0,W0,Z0,Oh,V0,Nh,Wd,Of,ac,vc,Jc,hA,f0,zg,ug,mp,hm,gm,pm,mm,vm,ym,Kg,bm,Em,wm,Cm=M(511),xm=M(2041),Bm=M(225),Sm=M(767),Im=0,Jp=xm,vp=Bm,bd=Sm,Zd=Cm,yp=0,bp=1,Fm=2,Ep=3,wp=4,qp=5,Dm=6,_p=7,$p=8,Cp=9,em=10,nv=[2,3,7],rv=[3,3,11],Tm=[280,256,256,256,40],iv=[0,1,1,1,0],av=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],sv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ov=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lv=8,tm=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],nm=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Wg=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Pm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],dv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],hv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],G0=[],cf=[],h0=[],gv=1,Lm=2,X0=[],Vd=[];c0("UpsampleRgbLinePair",Q0,3),c0("UpsampleBgrLinePair",FA,3),c0("UpsampleRgbaLinePair",XA,4),c0("UpsampleBgraLinePair",Og,4),c0("UpsampleArgbLinePair",Rg,4),c0("UpsampleRgba4444LinePair",Ph,2),c0("UpsampleRgb565LinePair",Th,2);var pv=Yn.UpsampleRgbLinePair,mv=Yn.UpsampleBgrLinePair,Rm=Yn.UpsampleRgbaLinePair,Om=Yn.UpsampleBgraLinePair,Nm=Yn.UpsampleArgbLinePair,Mm=Yn.UpsampleRgba4444LinePair,vv=Yn.UpsampleRgb565LinePair,xp=16,Bp=1<ot.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ot.ca.f.kb.F!=null&&uf()),ot.Pb&&0(En=Ke.Md)?0:100Mn;++Mn)12>(wi=Kt.pb[Mn]).lc&&(wi.ia=En*Sv[0>wi.lc?0:wi.lc]>>3),kr|=wi.ia;kr&&(alert("todo:VP8InitRandom"),Kt.ia=1)}Kt.Ga=Ke.Id,100Kt.Ga&&(Kt.Ga=0)}(function(kn,Wr){if(kn==null)return 0;if(Wr==null)return rA(kn,2,"NULL VP8Io parameter in VP8Decode().");if(!kn.cb&&!Tf(kn,Wr))return 0;if(l(kn.cb),Wr.ac==null||Wr.ac(Wr)){Wr.ob&&(kn.L=0);var ui=Sp[kn.L];if(kn.L==2?(kn.yb=0,kn.zb=0):(kn.yb=Wr.v-ui>>4,kn.zb=Wr.j-ui>>4,0>kn.yb&&(kn.yb=0),0>kn.zb&&(kn.zb=0)),kn.Va=Wr.o+15+ui>>4,kn.Hb=Wr.va+15+ui>>4,kn.Hb>kn.za&&(kn.Hb=kn.za),kn.Va>kn.Ub&&(kn.Va=kn.Ub),0ui;++ui){var yi;if(kn.Qa.Cb){var ua=kn.Qa.Lb[ui];kn.Qa.Fb||(ua+=ia.Tb)}else ua=ia.Tb;for(yi=0;1>=yi;++yi){var ha=kn.gd[ui][yi],Ka=ua;if(ia.Pc&&(Ka+=ia.vd[0],yi&&(Ka+=ia.od[0])),0<(Ka=0>Ka?0:63>2:La>>1)>9-ia.wb&&(La=9-ia.wb),1>La&&(La=1),ha.dd=La,ha.tc=2*Ka+La,ha.ld=40<=Ka?2:15<=Ka?1:0}else ha.tc=0;ha.La=yi}}}ui=0}else rA(kn,6,"Frame setup failed"),ui=kn.a;if(ui=ui==0){if(ui){kn.$c=0,0kn.Vb){if(kn.Vb=0,kn.Ec=M(ha),kn.Fc=0,kn.Ec==null){ui=rA(kn,1,"no memory during frame initialization.");break t}kn.Vb=ha}ha=kn.Ec,Ka=kn.Fc,kn.Ac=ha,kn.Bc=Ka,Ka+=ia,kn.Gd=ve(qo,np),kn.Hd=0,kn.rb=ve(Po+1,wg),kn.sb=1,kn.wa=bu?ve(bu,Hd):null,kn.Y=0,kn.D.Nb=0,kn.D.wa=kn.wa,kn.D.Y=kn.Y,0=ui;++ui)Cm[255+ui]=0>ui?-ui:ui;for(ui=-1020;1020>=ui;++ui)xm[1020+ui]=-128>ui?-128:127=ui;++ui)Bm[112+ui]=-16>ui?-16:15=ui;++ui)Sm[255+ui]=0>ui?0:255Wu;++Wu){var pA,Xu=YA[0+Wu];for(pA=0;4>pA;++pA){Xu=dv[Oc[DA+pA]][Xu];for(var Ac=Pm[ya(fu,Xu[0])];0>3;for(Ac=0;256>Ac;Ac+=16)Wu[jA+Ac]=ud}TA=1,Af=DA[0]}var yc=15&fu.la,mA=15&JA.la;for(Ac=0;4>Ac;++Ac){var Ed=1&mA;for(ud=dc=0;4>ud;++ud)yc=yc>>1|(Ed=(_c=Wg(Oc,Af,_c=Ed+(1&yc),Zc.Sc,TA,Wu,jA))>TA)<<7,dc=dc<<2|(3<_c?3:1<_c?2:Wu[jA+0]!=0),jA+=16;yc>>=4,mA=mA>>1|Ed<<7,pA=(pA<<8|dc)>>>0}for(Af=yc,TA=mA>>4,Vc=0;4>Vc;Vc+=2){for(dc=0,yc=fu.la>>4+Vc,mA=JA.la>>4+Vc,Ac=0;2>Ac;++Ac){for(Ed=1&mA,ud=0;2>ud;++ud)_c=Ed+(1&yc),yc=yc>>1|(Ed=0<(_c=Wg(Oc,DA[2],_c,Zc.Qc,0,Wu,jA)))<<3,dc=dc<<2|(3<_c?3:1<_c?2:Wu[jA+0]!=0),jA+=16;yc>>=2,mA=mA>>1|Ed<<5}Xu|=dc<<4*Vc,Af|=yc<<4<=Ko.zb&&Ko.M<=Ko.Va,Ko.Aa==0)t:{if(Eu.M=Ko.M,Eu.uc=fu,Kd(Ko,Eu),qc=1,Eu=(dc=Ko.D).Nb,fu=(Xu=Sp[Ko.L])*Ko.R,Oc=Xu/2*Ko.B,Ac=16*Eu*Ko.R,ud=8*Eu*Ko.B,DA=Ko.sa,YA=Ko.ta-fu+Ac,Zc=Ko.qa,Wu=Ko.ra-Oc+ud,jA=Ko.Ha,JA=Ko.Ia-Oc+ud,mA=(yc=dc.M)==0,pA=yc>=Ko.Va-1,Ko.Aa==2&&Kd(Ko,dc),dc.uc)for(Ed=(_c=Ko).D.M,l(_c.D.uc),dc=_c.yb;dc<_c.Hb;++dc){TA=dc,Af=Ed;var qA=(wd=(PA=_c).D).Nb;Vc=PA.R;var wd=wd.wa[wd.Y+TA],Cd=PA.sa,cd=PA.ta+16*qA*Vc+16*TA,xd=wd.dd,Ic=wd.tc;if(Ic!=0)if(l(3<=Ic),PA.L==1)0Ws.o&&(yc=Ws.o),Ws.F=null,Ws.J=null,Ko.Fa!=null&&0>1),Ws.W+=Ko.B*(Xu>>1),Ws.F!=null&&(Ws.J+=Ws.width*Xu)),dc>1,Ws.W+=Ws.v>>1,Ws.F!=null&&(Ws.J+=Ws.v),Ws.ka=dc-Ws.j,Ws.U=Ws.va-Ws.v,Ws.T=yc-dc,qc=Ws.put(Ws))}Eu+1!=Ko.Ic||pA||(m(Ko.sa,Ko.ta-fu,DA,YA+16*Ko.R,fu),m(Ko.qa,Ko.ra-Oc,Zc,Wu+8*Ko.B,Oc),m(Ko.Ha,Ko.Ia-Oc,jA,JA+8*Ko.B,Oc))}if(!qc)return rA(Hu,6,"Output aborted.")}return 1}(kn,Wr)),Wr.bc!=null&&Wr.bc(Wr),ui&=1}return ui?(kn.cb=0,ui):0})(j,ot)||(ae=j.a)}}else ae=j.a}ae==0&&an.Oa!=null&&an.Oa.fd&&(ae=Mg(an.ba))}an=ae}rn=an!=0?null:11>rn?hn.f.RGBA.eb:hn.f.kb.y}else rn=null;return rn};var jm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Le(Yn,oi){for(var cn="",Rn=0;Rn<4;Rn++)cn+=String.fromCharCode(Yn[oi++]);return cn}function et(Yn,oi){return Yn[oi+0]|Yn[oi+1]<<8}function Mt(Yn,oi){return(Yn[oi+0]|Yn[oi+1]<<8|Yn[oi+2]<<16)>>>0}function $t(Yn,oi){return(Yn[oi+0]|Yn[oi+1]<<8|Yn[oi+2]<<16|Yn[oi+3]<<24)>>>0}new Ce;var $e=[0],Fn=[0],wn=[],Pn=new Ce,An=r,Er=function(Yn,oi){var cn={},Rn=0,xr=!1,pr=0,Si=0;if(cn.frames=[],!function(sn,Kn){for(var ir=0;ir<4;ir++)if(sn[Kn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(Yn,oi)){for($t(Yn,oi+=4),oi+=8;oi>1&1}Hi!="ANMF"&&(oi+=bi)}return cn}}(An,0);Er.response=An,Er.rgbaoutput=!0,Er.dataurl=!1;var sr=Er.header?Er.header:null,Vn=Er.frames?Er.frames:null;if(sr){sr.loop_counter=sr.loop_count,$e=[sr.canvas_height],Fn=[sr.canvas_width];for(var Ci=0;Ci=2?On[1]:oo[0],oo[2]=On.length>=3?On[2]:oo[0],oo[3]=On.length>=4?On[3]:oo[1]),Le.margin=oo}});var Wi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wi},set:function(On){Wi=On}});var Yi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Yi},set:function(On){Yi=On}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(On){ya=On}}),Object.defineProperty(this,"ctx",{get:function(){return Le},set:function(On){On instanceof et&&(Le=On)}}),Object.defineProperty(this,"path",{get:function(){return Le.path},set:function(On){Le.path=On}});var Ya=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ya},set:function(On){Ya=On}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(On){var oo;oo=$t(On),this.ctx.fillStyle=oo.style,this.ctx.isFillTransparent=oo.a===0,this.ctx.fillOpacity=oo.a,this.pdf.setFillColor(oo.r,oo.g,oo.b,{a:oo.a}),this.pdf.setTextColor(oo.r,oo.g,oo.b,{a:oo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(On){var oo=$t(On);this.ctx.strokeStyle=oo.style,this.ctx.isStrokeTransparent=oo.a===0,this.ctx.strokeOpacity=oo.a,oo.a===0?this.pdf.setDrawColor(255,255,255):(oo.a,this.pdf.setDrawColor(oo.r,oo.g,oo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(On){["butt","round","square"].indexOf(On)!==-1&&(this.ctx.lineCap=On,this.pdf.setLineCap(On))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(On){isNaN(On)||(this.ctx.lineWidth=On,this.pdf.setLineWidth(On))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(On){["bevel","round","miter"].indexOf(On)!==-1&&(this.ctx.lineJoin=On,this.pdf.setLineJoin(On))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(On){isNaN(On)||(this.ctx.miterLimit=On,this.pdf.setMiterLimit(On))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(On){this.ctx.textBaseline=On}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(On){["right","end","center","left","start"].indexOf(On)!==-1&&(this.ctx.textAlign=On)}});var so=null,to=null,Al=null;Object.defineProperty(this,"fontFaces",{get:function(){return Al},set:function(On){so=null,to=null,Al=On}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(On){var oo;if(this.ctx.font=On,(oo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(On))!==null){var xu=oo[1];oo[2];var Sl=oo[3],ja=oo[4];oo[5];var Il=oo[6],No=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ja)[2];ja=Math.floor(No==="px"?parseFloat(ja)*this.pdf.internal.scaleFactor:No==="em"?parseFloat(ja)*this.pdf.getFontSize():parseFloat(ja)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ja);var El=function(nl){var Xc,Vu,Bu=[],Su=nl.trim();if(Su==="")return Y;if(Su in sd)return[sd[Su]];for(;Su!=="";){switch(Vu=null,Xc=(Su=cA(Su)).charAt(0)){case'"':case"'":Vu=f(Su.substring(1),Xc);break;default:Vu=e(Su)}if(Vu===null||(Bu.push(Vu[0]),(Su=cA(Vu[1]))!==""&&Su.charAt(0)!==","))return Y;Su=Su.replace(/^,/,"")}return Bu}(Il);if(this.fontFaces){var gl=function(nl,Xc){var Vu=nl.getFontList(),Bu=JSON.stringify(Vu);if(so===null||to!==Bu){var Su=function(kc){var vl=[];return Object.keys(kc).forEach(function(Bc){kc[Bc].forEach(function(kl){var du=null;switch(kl){case"bold":du={family:Bc,weight:"bold"};break;case"italic":du={family:Bc,style:"italic"};break;case"bolditalic":du={family:Bc,weight:"bold",style:"italic"};break;case"":case"normal":du={family:Bc}}du!==null&&(du.ref={name:Bc,style:kl},vl.push(du))})}),vl}(Vu);so=function(kc){for(var vl={},Bc=0;Bc=700||xu==="bold")&&(Au="bold"),xu==="italic"&&(Au+="italic"),Au.length===0&&(Au="normal");for(var ju="",ku={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Tr=0,Zr=2*Math.PI),this.path.push({type:"arc",x:sn,y:Kn,radius:ir,startAngle:Tr,endAngle:Zr,counterclockwise:gi})},Mt.prototype.arcTo=function(sn,Kn,ir,Tr,Zr){throw new Error("arcTo not implemented.")},Mt.prototype.rect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(sn,Kn),this.lineTo(sn+ir,Kn),this.lineTo(sn+ir,Kn+Tr),this.lineTo(sn,Kn+Tr),this.lineTo(sn,Kn),this.lineTo(sn+ir,Kn),this.lineTo(sn,Kn)},Mt.prototype.fillRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Zr={};this.lineCap!=="butt"&&(Zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(sn,Kn,ir,Tr),this.fill(),Zr.hasOwnProperty("lineCap")&&(this.lineCap=Zr.lineCap),Zr.hasOwnProperty("lineJoin")&&(this.lineJoin=Zr.lineJoin)}},Mt.prototype.strokeRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Fn.call(this)||(this.beginPath(),this.rect(sn,Kn,ir,Tr),this.stroke())},Mt.prototype.clearRect=function(sn,Kn,ir,Tr){if(isNaN(sn)||isNaN(Kn)||isNaN(ir)||isNaN(Tr))throw zu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(sn,Kn,ir,Tr))},Mt.prototype.save=function(sn){sn=typeof sn!="boolean"||sn;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Mt.prototype.drawImage=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi,ya){var Ya=this.pdf.getImageProperties(sn),so=1,to=1,Al=1,On=1;Tr!==void 0&&Yi!==void 0&&(Al=Yi/Tr,On=ya/Zr,so=Ya.width/Tr*Yi/Tr,to=Ya.height/Zr*ya/Zr),gi===void 0&&(gi=Kn,Wi=ir,Kn=0,ir=0),Tr!==void 0&&Yi===void 0&&(Yi=Tr,ya=Zr),Tr===void 0&&Yi===void 0&&(Yi=Ya.width,ya=Ya.height);var oo=this.ctx.transform.decompose(),xu=bi(oo.rotate.shx),Sl=new Ce,ja=(Sl=(Sl=(Sl=Sl.multiply(oo.translate)).multiply(oo.skew)).multiply(oo.scale)).applyToRectangle(new oe(gi-Kn*Al,Wi-ir*On,Tr*so,Zr*to));if(this.autoPaging){for(var Il,No=Pn.call(this,ja),El=[],gl=0;glrc||Auja||No0)){for(;ya>=0;ya--)if(Zr[ya-1].close!==!0&&Zr[ya-1].begin!==!0){Zr[ya-1].deltas.push(ir),Zr[ya-1].abs.push(Yi);break}}break;case"bct":ir=[Yi.x1-gi[Wi-1].x,Yi.y1-gi[Wi-1].y,Yi.x2-gi[Wi-1].x,Yi.y2-gi[Wi-1].y,Yi.x-gi[Wi-1].x,Yi.y-gi[Wi-1].y],Zr[Zr.length-1].deltas.push(ir);break;case"qct":var Ya=gi[Wi-1].x+2/3*(Yi.x1-gi[Wi-1].x),so=gi[Wi-1].y+2/3*(Yi.y1-gi[Wi-1].y),to=Yi.x+2/3*(Yi.x1-Yi.x),Al=Yi.y+2/3*(Yi.y1-Yi.y),On=Yi.x,oo=Yi.y;ir=[Ya-gi[Wi-1].x,so-gi[Wi-1].y,to-gi[Wi-1].x,Al-gi[Wi-1].y,On-gi[Wi-1].x,oo-gi[Wi-1].y],Zr[Zr.length-1].deltas.push(ir);break;case"arc":Zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Zr[Zr.length-1].abs)&&Zr[Zr.length-1].abs.push(Yi)}}Tr=Kn?null:sn==="stroke"?"stroke":"fill";for(var xu=!1,Sl=0;Sl=.01&&(Tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Tr*sn.scale),Zr=this.lineWidth,this.lineWidth=Zr*sn.scale);var mu=this.autoPaging!=="text";if(mu||Xo.y+Xo.h<=gl){if(mu||Xo.y>=No&&Xo.x<=Mu){var nl=mu?sn.text:this.pdf.splitTextToSize(sn.text,sn.maxWidth||Mu-Xo.x)[0],Xc=Er([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-ju+No+this.ctx.prevPageLastElemOffset)[0],Vu=mu&&(Il>Sl||Il=.01&&(this.pdf.setFontSize(Tr),this.lineWidth=Zr)}}else sn.scale>=.01&&(Tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Tr*sn.scale),Zr=this.lineWidth,this.lineWidth=Zr*sn.scale),this.pdf.text(sn.text,ya.x+this.posX,ya.y+this.posY,{angle:sn.angle,align:Kn,renderingMode:sn.renderingMode,maxWidth:sn.maxWidth}),sn.scale>=.01&&(this.pdf.setFontSize(Tr),this.lineWidth=Zr)},xr=function(sn,Kn,ir,Tr){ir=ir||0,Tr=Tr||0,this.pdf.internal.out(s(sn+ir)+" "+m(Kn+Tr)+" l")},pr=function(sn,Kn,ir){return this.pdf.lines(sn,Kn,ir,null,null)},Si=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi){this.pdf.internal.out([l(I(ir+sn)),l(M(Tr+Kn)),l(I(Zr+sn)),l(M(gi+Kn)),l(I(Wi+sn)),l(M(Yi+Kn)),"c"].join(" "))},Hi=function(sn,Kn,ir,Tr){for(var Zr=2*Math.PI,gi=Math.PI/2;Kn>ir;)Kn-=Zr;var Wi=Math.abs(ir-Kn);Wi1e-5;){var so=Ya+ya*Math.min(Wi,gi);Yi.push(Zi.call(this,sn,Ya,so)),Wi-=Math.abs(so-Ya),Ya=so}return Yi},Zi=function(sn,Kn,ir){var Tr=(ir-Kn)/2,Zr=sn*Math.cos(Tr),gi=sn*Math.sin(Tr),Wi=Zr,Yi=-gi,ya=Wi*Wi+Yi*Yi,Ya=ya+Wi*Zr+Yi*gi,so=4/3*(Math.sqrt(2*ya*Ya)-Ya)/(Wi*gi-Yi*Zr),to=Wi-so*Yi,Al=Yi+so*Wi,On=to,oo=-Al,xu=Tr+Kn,Sl=Math.cos(xu),ja=Math.sin(xu);return{x1:sn*Math.cos(Kn),y1:sn*Math.sin(Kn),x2:to*Sl-Al*ja,y2:to*ja+Al*Sl,x3:On*Sl-oo*ja,y3:On*ja+oo*Sl,x4:sn*Math.cos(ir),y4:sn*Math.sin(ir)}},bi=function(sn){return 180*sn/Math.PI},Ji=function(sn,Kn,ir,Tr,Zr,gi){var Wi=sn+.5*(ir-sn),Yi=Kn+.5*(Tr-Kn),ya=Zr+.5*(ir-Zr),Ya=gi+.5*(Tr-gi),so=Math.min(sn,Zr,Wi,ya),to=Math.max(sn,Zr,Wi,ya),Al=Math.min(Kn,gi,Yi,Ya),On=Math.max(Kn,gi,Yi,Ya);return new oe(so,Al,to-so,On-Al)},As=function(sn,Kn,ir,Tr,Zr,gi,Wi,Yi){var ya,Ya,so,to,Al,On,oo,xu,Sl,ja,Il,No,El,gl,rc=ir-sn,Mu=Tr-Kn,Au=Zr-ir,ju=gi-Tr,ku=Wi-Zr,Xo=Yi-gi;for(Ya=0;Ya<41;Ya++)Sl=(oo=(so=sn+(ya=Ya/40)*rc)+ya*((Al=ir+ya*Au)-so))+ya*(Al+ya*(Zr+ya*ku-Al)-oo),ja=(xu=(to=Kn+ya*Mu)+ya*((On=Tr+ya*ju)-to))+ya*(On+ya*(gi+ya*Xo-On)-xu),Ya==0?(Il=Sl,No=ja,El=Sl,gl=ja):(Il=Math.min(Il,Sl),No=Math.min(No,ja),El=Math.max(El,Sl),gl=Math.max(gl,ja));return new oe(Math.round(Il),Math.round(No),Math.round(El-Il),Math.round(gl-No))},Fa=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var sn,Kn,ir=(sn=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:sn,lineDashOffset:Kn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(To.API),function(r){var l=function(ve){var oe,Ce,Le,et,Mt,$t,$e,Fn,wn,Pn;for(/[^\x00-\xFF]/.test(ve),Ce=[],Le=0,et=(ve+=oe="\0\0\0\0".slice(ve.length%4||4)).length;et>Le;Le+=4)(Mt=(ve.charCodeAt(Le)<<24)+(ve.charCodeAt(Le+1)<<16)+(ve.charCodeAt(Le+2)<<8)+ve.charCodeAt(Le+3))!==0?($t=(Mt=((Mt=((Mt=((Mt=(Mt-(Pn=Mt%85))/85)-(wn=Mt%85))/85)-(Fn=Mt%85))/85)-($e=Mt%85))/85)%85,Ce.push($t+33,$e+33,Fn+33,wn+33,Pn+33)):Ce.push(122);return function(An,Er){for(var sr=Er;sr>0;sr--)An.pop()}(Ce,oe.length),String.fromCharCode.apply(String,Ce)+"~>"},s=function(ve){var oe,Ce,Le,et,Mt,$t=String,$e="length",Fn=255,wn="charCodeAt",Pn="slice",An="replace";for(ve[Pn](-2),ve=ve[Pn](0,-2)[An](/\s/g,"")[An]("z","!!!!!"),Le=[],et=0,Mt=(ve+=oe="uuuuu"[Pn](ve[$e]%5||5))[$e];Mt>et;et+=5)Ce=52200625*(ve[wn](et)-33)+614125*(ve[wn](et+1)-33)+7225*(ve[wn](et+2)-33)+85*(ve[wn](et+3)-33)+(ve[wn](et+4)-33),Le.push(Fn&Ce>>24,Fn&Ce>>16,Fn&Ce>>8,Fn&Ce);return function(Er,sr){for(var Vn=sr;Vn>0;Vn--)Er.pop()}(Le,oe[$e]),$t.fromCharCode.apply($t,Le)},m=function(ve){return ve.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},I=function(ve){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),oe.test(ve)===!1)return"";for(var Ce="",Le=0;Lewn&&(Fn=Pn,Pn=wn,wn=Fn);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",wn>Pn&&(Fn=Pn,Pn=wn,wn=Fn)}return{width:Pn,height:wn,unit:Ce,k:Mt,orientation:oe}},r.html=function(oe,Ce){(Ce=Ce||{}).callback=Ce.callback||function(){},Ce.html2canvas=Ce.html2canvas||{},Ce.html2canvas.canvas=Ce.html2canvas.canvas||this.canvas,Ce.jsPDF=Ce.jsPDF||this,Ce.fontFaces=Ce.fontFaces?Ce.fontFaces.map(UA):null;var Le=new ve(Ce);return Ce.worker?Le:Le.from(oe).doCallback()}}(To.API),To.API.addJS=function(r){return i=r,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <>")}),this},function(r){var l;r.events.push(["postPutResources",function(){var s=this,m=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var I=s.outline.render().split(/\r\n/),M=0;M> endobj")}var $e=s.internal.newObject();for(s.internal.write("<< /Names [ "),M=0;M>","endobj"),l=s.internal.newObject(),s.internal.write("<< /Dests "+$e+" 0 R"),s.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+l+" 0 R"))}]),r.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(m,I,M){var ve={title:I,options:M,children:[]};return m==null&&(m=this.root),m.children.push(ve),ve},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(m){m.id=s.internal.newObjectDeferred();for(var I=0;I0&&(this.line("/First "+this.makeRef(m.children[0])),this.line("/Last "+this.makeRef(m.children[m.children.length-1]))),this.line("/Count "+this.count_r({count:0},m)),this.objEnd()},s.outline.renderItems=function(m){for(var I=this.ctx.pdf.internal.getVerticalCoordinateString,M=0;M0&&this.line("/Prev "+this.makeRef(m.children[M-1])),M0&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1])));var oe=this.count=this.count_r({count:0},ve);if(oe>0&&this.line("/Count "+oe),ve.options&&ve.options.pageNumber){var Ce=s.internal.getPageInfo(ve.options.pageNumber);this.line("/Dest ["+Ce.objId+" 0 R /XYZ 0 "+I(0)+" 0]")}this.objEnd()}for(var Le=0;Le>"}),"transparency"in Nt&&Array.isArray(Nt.transparency)&&Nt.transparency.length>0){for(var zn="",Dn=0,Hn=Nt.transparency.length;Dn>",Et.content=ee;var Qt=Et.objId+" 0 R";ee="<>";else if(b.options.pageNumber)switch(ee="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=1};var ye=a.__arabicParser__.arabicLetterHasFinalForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=3};var Le=a.__arabicParser__.arabicLetterHasMedialForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length==4},Ge=a.__arabicParser__.resolveLigatures=function(Et){var Bt=0,ht=y,en="",Qt=0;for(Bt=0;Bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(a){var E=function(){var y=void 0;Object.defineProperty(this,"pdf",{get:function(){return y},set:function(le){y=le}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(le){b=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(le){z=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var ee=[];Object.defineProperty(this,"childNodes",{get:function(){return ee},set:function(le){ee=le}});var de={};Object.defineProperty(this,"style",{get:function(){return de},set:function(le){de=le}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(y,b){var z;if((y=y||"2d")!=="2d")return null;for(z in b)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=b[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ha.API),function(a){var E={left:0,top:0,bottom:0,right:0},y=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new ee,this.internal.__cell__.pages=1},ee=function(){var pe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pe},set:function(Et){pe=Et}});var ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ye},set:function(Et){ye=Et}});var Le=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Le},set:function(Et){Le=Et}});var Ge=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ge},set:function(Et){Ge=Et}});var nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return nt},set:function(Et){nt=Et}});var De=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return De},set:function(Et){De=Et}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(Et){Ft=Et}}),this};ee.prototype.clone=function(){return new ee(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ee.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(pe){return b.call(this),this.internal.__cell__.headerFunction=typeof pe=="function"?pe:void 0,this},a.getTextDimensions=function(pe,ye){b.call(this);var Le=(ye=ye||{}).fontSize||this.getFontSize(),Ge=ye.font||this.getFont(),nt=ye.scaleFactor||this.internal.scaleFactor,De=0,Ft=0,Et=0,Bt=this;if(!Array.isArray(pe)&&typeof pe!="string"){if(typeof pe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");pe=String(pe)}var ht=ye.maxWidth;ht>0?typeof pe=="string"?pe=this.splitTextToSize(pe,ht):Object.prototype.toString.call(pe)==="[object Array]"&&(pe=pe.reduce(function(Qt,Rt){return Qt.concat(Bt.splitTextToSize(Rt,ht))},[])):pe=Array.isArray(pe)?pe:[pe];for(var en=0;enthis.getPageHeight()?(this.cellAddPage(),pe.y=Ge.top,De&&nt&&(this.printHeaderRow(pe.lineNumber,!0),pe.y+=nt[0].height)):pe.y=ye.y+ye.height||pe.y),pe.text[0]!==void 0&&(this.rect(pe.x,pe.y,pe.width,pe.height,y===!0?"FD":void 0),pe.align==="right"?this.text(pe.text,pe.x+pe.width-Le,pe.y+Le,{align:"right",baseline:"top"}):pe.align==="center"?this.text(pe.text,pe.x+pe.width/2,pe.y+Le,{align:"center",baseline:"top",maxWidth:pe.width-Le-Le}):this.text(pe.text,pe.x+Le,pe.y+Le,{align:"left",baseline:"top",maxWidth:pe.width-Le-Le})),this.internal.__cell__.lastCell=pe,this};a.table=function(pe,ye,Le,Ge,nt){if(b.call(this),!Le)throw new Error("No data for PDF table.");var De,Ft,Et,Bt,ht=[],en=[],Qt=[],Rt={},Nn={},qn=[],_n=[],un=(nt=nt||{}).autoSize||!1,Wt=nt.printHeaders!==!1,An=nt.css&&nt.css["font-size"]!==void 0?16*nt.css["font-size"]:nt.fontSize||12,dt=nt.margins||Object.assign({width:this.getPageWidth()},E),Nt=typeof nt.padding=="number"?nt.padding:3,qt=nt.headerBackgroundColor||"#c8c8c8",Jt=nt.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Wt,this.internal.__cell__.margins=dt,this.internal.__cell__.table_font_size=An,this.internal.__cell__.padding=Nt,this.internal.__cell__.headerBackgroundColor=qt,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(An),Ge==null)en=ht=Object.keys(Le[0]),Qt=ht.map(function(){return"left"});else if(Array.isArray(Ge)&&(0,x.Z)(Ge[0])==="object")for(ht=Ge.map(function(Dr){return Dr.name}),en=Ge.map(function(Dr){return Dr.prompt||Dr.name||""}),Qt=Ge.map(function(Dr){return Dr.align||"left"}),De=0;De0&&this.setTableHeaderRow(nt),this.setFont(void 0,"normal"),y=!1}}(ha.API);var Cm={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Fm=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],l0=xm(Fm),Bm=[100,200,300,400,500,600,700,800,900],hv=xm(Bm);function u0(a){var E=a.family.replace(/"|'/g,"").toLowerCase(),y=function(ee){return Cm[ee=ee||"normal"]?ee:"normal"}(a.style),b=function(ee){return ee?typeof ee=="number"?ee>=100&&ee<=900&&ee%100==0?ee:400:/^\d00$/.test(ee)?parseInt(ee):ee==="bold"?700:400:400}(a.weight),z=function(ee){return typeof l0[ee=ee||"normal"]=="number"?ee:"normal"}(a.stretch);return{family:E,style:y,weight:b,stretch:z,src:a.src||[],ref:a.ref||{name:E,style:[z,y,b].join(" ")}}}function Dm(a,E,y,b){var z;for(z=y;z>=0&&z=0&&z>>1)&255}return z}function zm(a,E,y){var b=a.length,z=[];z[0]=4;for(var ee=0;ee>ee&de}function Um(a,E,y,b){var z=y*b,ee=Math.floor(z/8),de=16-(z-8*ee+b),le=(1<>8&255;ye.setUint8(Le,nt)}})(a,ee,Wm(a,ee)&~(le<>7,de=1<<1+(7&z);a[E++],a[E++];var le=null,pe=null;ee&&(le=E,pe=de,E+=3*de);var ye=!0,Le=[],Ge=0,nt=null,De=0,Ft=null;for(this.width=y,this.height=b;ye&&E=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}break;case 249:if(a[E++]!==4||a[E+4]!==0)throw new Error("Invalid graphics extension block.");var Et=a[E++];Ge=a[E++]|a[E++]<<8,nt=a[E++],1&Et||(nt=null),De=Et>>2&7,E++;break;case 254:for(;;){if(!((dt=a[E++])>=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}break;default:throw new Error("Unknown graphic control label: 0x"+a[E-1].toString(16))}break;case 44:var Bt=a[E++]|a[E++]<<8,ht=a[E++]|a[E++]<<8,en=a[E++]|a[E++]<<8,Qt=a[E++]|a[E++]<<8,Rt=a[E++],Nn=Rt>>6&1,qn=1<<1+(7&Rt),_n=le,un=pe,Wt=!1;Rt>>7&&(Wt=!0,_n=E,un=qn,E+=3*qn);var An=E;for(E++;;){var dt;if(!((dt=a[E++])>=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}Le.push({x:Bt,y:ht,width:en,height:Qt,has_local_palette:Wt,palette_offset:_n,palette_size:un,data_offset:An,data_length:E-An,transparent_index:nt,interlaced:!!Nn,delay:Ge,disposal:De});break;case 59:ye=!1;break;default:throw new Error("Unknown gif block: 0x"+a[E-1].toString(16))}this.numFrames=function(){return Le.length},this.loopCount=function(){return Ft},this.frameInfo=function(Nt){if(Nt<0||Nt>=Le.length)throw new Error("Frame index out of range.");return Le[Nt]},this.decodeAndBlitFrameBGRA=function(Nt,qt){var Jt=this.frameInfo(Nt),In=Jt.width*Jt.height,Tn=new Uint8Array(In);Zm(a,Jt.data_offset,Tn,In);var zn=Jt.palette_offset,Dn=Jt.transparent_index;Dn===null&&(Dn=256);var Hn=Jt.width,Dr=y-Hn,lr=Hn,st=4*(Jt.y*y+Jt.x),_t=4*((Jt.y+Jt.height)*y+Jt.x),Vt=st,tn=4*Dr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,wn=0,Rn=Tn.length;wn=_t&&(tn=4*Dr+4*y*(mn-1),Vt=st+(Hn+Dr)*(mn<<1),mn>>=1)),Wn===Dn)Vt+=4;else{var or=a[zn+3*Wn],Ar=a[zn+3*Wn+1],Yr=a[zn+3*Wn+2];qt[Vt++]=Yr,qt[Vt++]=Ar,qt[Vt++]=or,qt[Vt++]=255}--lr}},this.decodeAndBlitFrameRGBA=function(Nt,qt){var Jt=this.frameInfo(Nt),In=Jt.width*Jt.height,Tn=new Uint8Array(In);Zm(a,Jt.data_offset,Tn,In);var zn=Jt.palette_offset,Dn=Jt.transparent_index;Dn===null&&(Dn=256);var Hn=Jt.width,Dr=y-Hn,lr=Hn,st=4*(Jt.y*y+Jt.x),_t=4*((Jt.y+Jt.height)*y+Jt.x),Vt=st,tn=4*Dr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,wn=0,Rn=Tn.length;wn=_t&&(tn=4*Dr+4*y*(mn-1),Vt=st+(Hn+Dr)*(mn<<1),mn>>=1)),Wn===Dn)Vt+=4;else{var or=a[zn+3*Wn],Ar=a[zn+3*Wn+1],Yr=a[zn+3*Wn+2];qt[Vt++]=or,qt[Vt++]=Ar,qt[Vt++]=Yr,qt[Vt++]=255}--lr}}}function Zm(a,E,y,b){for(var z=a[E++],ee=1<>=pe,Le-=pe,Bt!==ee){if(Bt===de)break;for(var ht=Btee;)Qt=Ft[Qt]>>8,++en;var Rt=Qt;if(nt+en+(ht!==Bt?1:0)>b)return void qi.log("Warning, gif stream longer than expected.");y[nt++]=Rt;var Nn=nt+=en;for(ht!==Bt&&(y[nt++]=Rt),Qt=ht;en--;)Qt=Ft[Qt],y[--Nn]=255&Qt,Qt>>=8;Et!==null&&le<4096&&(Ft[le++]=Et<<8|Rt,le>=ye+1&&pe<12&&(++pe,ye=ye<<1|1)),Et=Bt}else le=de+1,ye=(1<<(pe=z+1))-1,Et=null}return nt!==b&&qi.log("Warning, gif stream shorter than expected."),y}function f0(a){var E,y,b,z,ee,de=Math.floor,le=new Array(64),pe=new Array(64),ye=new Array(64),Le=new Array(64),Ge=new Array(65535),nt=new Array(65535),De=new Array(64),Ft=new Array(64),Et=[],Bt=0,ht=7,en=new Array(64),Qt=new Array(64),Rt=new Array(64),Nn=new Array(256),qn=new Array(2048),_n=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],un=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Wt=[0,1,2,3,4,5,6,7,8,9,10,11],An=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Nt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],qt=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],In=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(st,_t){for(var Vt=0,tn=0,mn=new Array,wn=1;wn<=16;wn++){for(var Rn=1;Rn<=st[wn];Rn++)mn[_t[tn]]=[],mn[_t[tn]][0]=Vt,mn[_t[tn]][1]=wn,tn++,Vt++;Vt*=2}return mn}function zn(st){for(var _t=st[0],Vt=st[1]-1;Vt>=0;)_t&1<>8&255),Dn(255&st)}function Dr(st,_t,Vt,tn,mn){for(var wn,Rn=mn[0],Wn=mn[240],or=function(pr,ka){var aa,Ia,Fa,Zi,xi,ai,Ni,Ci,ma,si,Aa=0;for(ma=0;ma<8;++ma){aa=pr[Aa],Ia=pr[Aa+1],Fa=pr[Aa+2],Zi=pr[Aa+3],xi=pr[Aa+4],ai=pr[Aa+5],Ni=pr[Aa+6];var Lo=aa+(Ci=pr[Aa+7]),Ti=aa-Ci,pi=Ia+Ni,vi=Ia-Ni,vo=Fa+ai,Na=Fa-ai,no=Zi+xi,za=Zi-xi,ii=Lo+no,go=Lo-no,gi=pi+vo,Ta=pi-vo;pr[Aa]=ii+gi,pr[Aa+4]=ii-gi;var Hi=.707106781*(Ta+go);pr[Aa+2]=go+Hi,pr[Aa+6]=go-Hi;var qu=.382683433*((ii=za+Na)-(Ta=vi+Ti)),As=.5411961*ii+qu,Hl=1.306562965*Ta+qu,Sl=.707106781*(gi=Na+vi),_a=Ti+Sl,Yl=Ti-Sl;pr[Aa+5]=Yl+As,pr[Aa+3]=Yl-As,pr[Aa+1]=_a+Hl,pr[Aa+7]=_a-Hl,Aa+=8}for(Aa=0,ma=0;ma<8;++ma){aa=pr[Aa],Ia=pr[Aa+8],Fa=pr[Aa+16],Zi=pr[Aa+24],xi=pr[Aa+32],ai=pr[Aa+40],Ni=pr[Aa+48];var Vl=aa+(Ci=pr[Aa+56]),Xs=aa-Ci,qs=Ia+Ni,xo=Ia-Ni,as=Fa+ai,ls=Fa-ai,$u=Zi+xi,Au=Zi-xi,fl=Vl+$u,Nl=Vl-$u,hl=qs+as,ml=qs-as;pr[Aa]=fl+hl,pr[Aa+32]=fl-hl;var $s=.707106781*(ml+Nl);pr[Aa+16]=Nl+$s,pr[Aa+48]=Nl-$s;var ec=.382683433*((fl=Au+ls)-(ml=xo+Xs)),Ll=.5411961*fl+ec,tc=1.306562965*ml+ec,Sc=.707106781*(hl=ls+xo),Nc=Xs+Sc,Lc=Xs-Sc;pr[Aa+40]=Lc+Ll,pr[Aa+24]=Lc-Ll,pr[Aa+8]=Nc+tc,pr[Aa+56]=Nc-tc,Aa++}for(ma=0;ma<64;++ma)si=pr[ma]*ka[ma],De[ma]=si>0?si+.5|0:si-.5|0;return De}(st,_t),Ar=0;Ar<64;++Ar)Ft[_n[Ar]]=or[Ar];var Yr=Ft[0]-Vt;Vt=Ft[0],Yr==0?zn(tn[0]):(zn(tn[nt[wn=32767+Yr]]),zn(Ge[wn]));for(var Hr=63;Hr>0&&Ft[Hr]==0;)Hr--;if(Hr==0)return zn(Rn),Vt;for(var wa,Lt=1;Lt<=Hr;){for(var Vr=Lt;Ft[Lt]==0&&Lt<=Hr;)++Lt;var hi=Lt-Vr;if(hi>=16){wa=hi>>4;for(var Oa=1;Oa<=wa;++Oa)zn(Wn);hi&=15}wn=32767+Ft[Lt],zn(mn[(hi<<4)+nt[wn]]),zn(Ge[wn]),Lt++}return Hr!=63&&zn(Rn),Vt}function lr(st){st=Math.min(Math.max(st,1),100),ee!=st&&(function(_t){for(var Vt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tn=0;tn<64;tn++){var mn=de((Vt[tn]*_t+50)/100);mn=Math.min(Math.max(mn,1),255),le[_n[tn]]=mn}for(var wn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Rn=0;Rn<64;Rn++){var Wn=de((wn[Rn]*_t+50)/100);Wn=Math.min(Math.max(Wn,1),255),pe[_n[Rn]]=Wn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ar=0,Yr=0;Yr<8;Yr++)for(var Hr=0;Hr<8;Hr++)ye[Ar]=1/(le[_n[Ar]]*or[Yr]*or[Hr]*8),Le[Ar]=1/(pe[_n[Ar]]*or[Yr]*or[Hr]*8),Ar++}(st<50?Math.floor(5e3/st):Math.floor(200-2*st)),ee=st)}this.encode=function(st,_t){_t&&lr(_t),Et=new Array,Bt=0,ht=7,Hn(65496),Hn(65504),Hn(16),Dn(74),Dn(70),Dn(73),Dn(70),Dn(0),Dn(1),Dn(1),Dn(0),Hn(1),Hn(1),Dn(0),Dn(0),function(){Hn(65499),Hn(132),Dn(0);for(var Ia=0;Ia<64;Ia++)Dn(le[Ia]);Dn(1);for(var Fa=0;Fa<64;Fa++)Dn(pe[Fa])}(),function(Ia,Fa){Hn(65472),Hn(17),Dn(8),Hn(Fa),Hn(Ia),Dn(3),Dn(1),Dn(17),Dn(0),Dn(2),Dn(17),Dn(1),Dn(3),Dn(17),Dn(1)}(st.width,st.height),function(){Hn(65476),Hn(418),Dn(0);for(var Ia=0;Ia<16;Ia++)Dn(un[Ia+1]);for(var Fa=0;Fa<=11;Fa++)Dn(Wt[Fa]);Dn(16);for(var Zi=0;Zi<16;Zi++)Dn(An[Zi+1]);for(var xi=0;xi<=161;xi++)Dn(dt[xi]);Dn(1);for(var ai=0;ai<16;ai++)Dn(Nt[ai+1]);for(var Ni=0;Ni<=11;Ni++)Dn(qt[Ni]);Dn(17);for(var Ci=0;Ci<16;Ci++)Dn(Jt[Ci+1]);for(var ma=0;ma<=161;ma++)Dn(In[ma])}(),Hn(65498),Hn(12),Dn(3),Dn(1),Dn(0),Dn(2),Dn(17),Dn(3),Dn(17),Dn(0),Dn(63),Dn(0);var Vt=0,tn=0,mn=0;Bt=0,ht=7,this.encode.displayName="_encode_";for(var wn,Rn,Wn,or,Ar,Yr,Hr,wa,Lt,Vr=st.data,hi=st.width,Oa=st.height,pr=4*hi,ka=0;ka>3)*pr+(Hr=4*(7&Lt)),ka+wa>=Oa&&(Yr-=pr*(ka+1+wa-Oa)),wn+Hr>=pr&&(Yr-=wn+Hr-pr+4),Rn=Vr[Yr++],Wn=Vr[Yr++],or=Vr[Yr++],en[Lt]=(qn[Rn]+qn[Wn+256|0]+qn[or+512|0]>>16)-128,Qt[Lt]=(qn[Rn+768|0]+qn[Wn+1024|0]+qn[or+1280|0]>>16)-128,Rt[Lt]=(qn[Rn+1280|0]+qn[Wn+1536|0]+qn[or+1792|0]>>16)-128;Vt=Dr(en,ye,Vt,E,b),tn=Dr(Qt,Le,tn,y,z),mn=Dr(Rt,Le,mn,y,z),wn+=32}ka+=8}if(ht>=0){var aa=[];aa[1]=ht+1,aa[0]=(1<Nt;Nt++)if(Wt[An+Nt]!=dt.charCodeAt(Nt))return!0;return!1}function b(Wt,An,dt,Nt,qt){for(var Jt=0;JtJt+1?[]:new An),!(In.length>>0;te&xe;)xe>>>=1;return xe?(te&xe-1)+xe:te}function dt(te,oe,xe,ke,Xe){E(!(ke%xe));do te[oe+(ke-=xe)]=Xe;while(0=Xe),512>=Xe)var at=ee(512);else if((at=ee(Xe))==null)return 0;return function(ot,vt,yt,Mt,sn,Sn){var Ot,hn,bn=vt,Jn=1<Ot;++Ot){if(Bn[Ot]>1<(di-=Bn[Ot]))return 0;for(;0=Ot;++Ot,sn<<=1){if(ta+=di<<=1,0>(di-=Bn[Ot]))return 0;for(;0gr&&!(0>=(rr-=Bn[gr]));)++gr,rr<<=1;Jn+=ua=1<<(rr=gr-yt),ot[vt+(gr=ga&fr)].g=rr+yt,ot[vt+gr].value=bn-vt-gr}Mt.g=Ot-yt,Mt.value=Sn[hn++],dt(ot,bn+(ga>>yt),sn,ua,Mt),ga=An(ga,Ot)}}return ta!=2*er[15]-1?0:Jn}(te,oe,xe,ke,Xe,at)}function qt(){this.value=this.g=0}function Jt(){this.value=this.g=0}function In(){this.G=de(5,qt),this.H=ee(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=de(fc,Jt)}function Tn(te,oe,xe,ke){E(te!=null),E(oe!=null),E(2147483648>ke),te.Ca=254,te.I=0,te.b=-8,te.Ka=0,te.oa=oe,te.pa=xe,te.Jd=oe,te.Yc=xe+ke,te.Zc=4<=ke?xe+ke-4+1:xe,Rn(te)}function zn(te,oe){for(var xe=0;0ke),te.Sb=ke,te.Ra=0,te.u=0,te.h=0,4>>=8,te.Ra+=te.oa[te.pa+te.bb]<>>0,++te.bb,te.u-=8;tn(te)&&(te.h=1,te.u=0)}function lr(te,oe){if(E(0<=oe),!te.h&&oe<=Zs){var xe=Vt(te)&Ws[oe];return te.u+=oe,Dr(te),xe}return te.h=1,te.u=0}function st(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _t(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Vt(te){return te.Ra>>>(te.u&xu-1)>>>0}function tn(te){return E(te.bb<=te.Sb),te.h||te.bb==te.Sb&&te.u>xu}function mn(te,oe){te.u=oe,te.h=tn(te)}function wn(te){te.u>=ru&&(E(te.u>=ru),Dr(te))}function Rn(te){E(te!=null&&te.oa!=null),te.pa>>0,te.b+=8):(E(te!=null&&te.oa!=null),te.pate.b&&Rn(te);var ke=te.b,Xe=xe*oe>>>8,at=(te.I>>>ke>Xe)+0;for(at?(xe-=Xe,te.I-=Xe+1<>>0):xe=Xe+1,ke=xe,Xe=0;256<=ke;)Xe+=8,ke>>=8;return ke=7^Xe+Cu[ke],te.b-=ke,te.Ca=(xe<>24&255,te[oe+1]=xe>>16&255,te[oe+2]=xe>>8&255,te[oe+3]=255&xe}function Yr(te,oe){return te[oe+0]|te[oe+1]<<8}function Hr(te,oe){return Yr(te,oe)|te[oe+2]<<16}function wa(te,oe){return Yr(te,oe)|Yr(te,oe+2)<<16}function Lt(te,oe){var xe=1<=Xe||0>=at?0:(xe[0]=Xe,ke[0]=at,1)}function pr(te,oe){return te+(1<>>oe}function ka(te,oe){return((4278255360&te)+(4278255360&oe)>>>0&4278255360)+((16711935&te)+(16711935&oe)>>>0&16711935)>>>0}function aa(te,oe){Wt[oe]=function(xe,ke,Xe,at,ot,vt,yt){var Mt;for(Mt=0;Mt>>1)+(te&oe)>>>0}function Zi(te){return 0<=te&&256>te?te:0>te?0:255>1))}function ai(te,oe,xe){return Math.abs(oe-xe)-Math.abs(te-xe)}function Ni(te,oe,xe,ke,Xe,at,ot){for(ke=at[ot-1],xe=0;xe>8&255,yt=16711935&(yt=(yt=16711935&ot)+((vt<<16)+vt));ke[Xe+at]=(4278255360&ot)+yt>>>0}}function ma(te,oe){oe.jd=255&te,oe.hd=te>>8&255,oe.ud=te>>16&255}function si(te,oe,xe,ke,Xe,at){var ot;for(ot=0;ot>>8,Mt=vt,sn=255&(sn=(sn=vt>>>16)+((te.jd<<24>>24)*(yt<<24>>24)>>>5));Mt=255&(Mt=(Mt+=(te.hd<<24>>24)*(yt<<24>>24)>>>5)+((te.ud<<24>>24)*(sn<<24>>24)>>>5)),Xe[at+ot]=(4278255360&vt)+(sn<<16)+Mt}}function Aa(te,oe,xe,ke,Xe){Wt[oe]=function(at,ot,vt,yt,Mt,sn,Sn,Ot,hn){for(yt=Sn;yt>at.b,hn=at.Ea,bn=at.K[0],Jn=at.w;if(8>Ot)for(at=(1<>=Ot}else Wt["VP8LMapColor"+xe](yt,Mt,bn,Jn,sn,Sn,ot,vt,hn)}}function Lo(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=at>>8&255,ke[Xe++]=255&at}}function Ti(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=at>>8&255,ke[Xe++]=255&at,ke[Xe++]=at>>24&255}}function pi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&240|ot>>12&15,ot=240&ot|ot>>28&15;ke[Xe++]=at,ke[Xe++]=ot}}function vi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&248|ot>>13&7,ot=ot>>5&224|ot>>3&31;ke[Xe++]=at,ke[Xe++]=ot}}function vo(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>8&255,ke[Xe++]=at>>16&255}}function Na(te,oe,xe,ke,Xe,at){if(at==0)for(xe=oe+xe;oe>24|at[1]>>8&65280|at[2]<<8&16711680|at[3]<<24)>>>0),Xe+=32;else b(ke,Xe,te,oe,xe)}function no(te,oe){Wt[oe][0]=Wt[te+"0"],Wt[oe][1]=Wt[te+"1"],Wt[oe][2]=Wt[te+"2"],Wt[oe][3]=Wt[te+"3"],Wt[oe][4]=Wt[te+"4"],Wt[oe][5]=Wt[te+"5"],Wt[oe][6]=Wt[te+"6"],Wt[oe][7]=Wt[te+"7"],Wt[oe][8]=Wt[te+"8"],Wt[oe][9]=Wt[te+"9"],Wt[oe][10]=Wt[te+"10"],Wt[oe][11]=Wt[te+"11"],Wt[oe][12]=Wt[te+"12"],Wt[oe][13]=Wt[te+"13"],Wt[oe][14]=Wt[te+"0"],Wt[oe][15]=Wt[te+"0"]}function za(te){return te==P0||te==j0||te==bf||te==I0}function ii(){this.eb=[],this.size=this.A=this.fb=0}function go(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function gi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ii,this.f.kb=new go,this.sd=null}function Ta(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Hi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function qu(te){return alert("todo:WebPSamplerProcessPlane"),te.T}function As(te,oe){var xe=te.T,ke=oe.ba.f.RGBA,Xe=ke.eb,at=ke.fb+te.ka*ke.A,ot=il[oe.ba.S],vt=te.y,yt=te.O,Mt=te.f,sn=te.N,Sn=te.ea,Ot=te.W,hn=oe.cc,bn=oe.dc,Jn=oe.Mc,Bn=oe.Nc,er=te.ka,rr=te.ka+te.T,gr=te.U,fr=gr+1>>1;for(er==0?ot(vt,yt,null,null,Mt,sn,Sn,Ot,Mt,sn,Sn,Ot,Xe,at,null,null,gr):(ot(oe.ec,oe.fc,vt,yt,hn,bn,Jn,Bn,Mt,sn,Sn,Ot,Xe,at-ke.A,Xe,at,gr),++xe);er+2xe,Xe=xe==yf||xe==Af||xe==Ef||xe==L0||xe==12||za(xe);if(oe.memory=null,oe.Ib=null,oe.Jb=null,oe.Nd=null,!yd(oe.Oa,te,Xe?11:12))return 0;if(Xe&&za(xe)&&pd(),te.da)alert("todo:use_scaling");else{if(ke){if(oe.Ib=qu,te.Kb){if(xe=te.U+1>>1,oe.memory=ee(te.U+2*xe),oe.memory==null)return 0;oe.ec=oe.memory,oe.fc=0,oe.cc=oe.ec,oe.dc=oe.fc+te.U,oe.Mc=oe.cc,oe.Nc=oe.dc+xe,oe.Ib=As,pd()}}else alert("todo:EmitYUV");Xe&&(oe.Jb=Hl,ke&&vl())}if(ke&&!yp){for(te=0;256>te;++te)eg[te]=89858*(te-128)+xf>>wf,rg[te]=-22014*(te-128)+xf,ng[te]=-45773*(te-128),tg[te]=113618*(te-128)+xf>>wf;for(te=Sd;te>wf,ag[te-Sd]=Pl(oe,255),ig[te-Sd]=Pl(oe+8>>4,15);yp=1}return 1}function _a(te){var oe=te.ma,xe=te.U,ke=te.T;return E(!(1&te.ka)),0>=xe||0>=ke?0:(xe=oe.Ib(te,oe),oe.Jb!=null&&oe.Jb(te,oe,xe),oe.Dc+=xe,1)}function Yl(te){te.ma.memory=null}function Vl(te,oe,xe,ke){return lr(te,8)!=47?0:(oe[0]=lr(te,14)+1,xe[0]=lr(te,14)+1,ke[0]=lr(te,1),lr(te,3)!=0?0:!te.h)}function Xs(te,oe){if(4>te)return te+1;var xe=te-2>>1;return(2+(1&te)<>4)*te+(8-(15&xe)))?xe:1;var xe}function xo(te,oe,xe){var ke=Vt(xe),Xe=te[oe+=255&ke].g-8;return 0>>0,E(8>=xe.g),te.g}function ls(te,oe,xe){var ke=te.xc;return E((oe=ke==0?0:te.vc[te.md*(xe>>ke)+(oe>>ke)])>ua.b)*ta;Jngr&&(ca=gr),(0,wd[Li[Jo++]>>8&15])(Ot,hn+ +fi,er,rr+fi-gr,ca-fi,er,rr+fi),fi=ca}hn+=gr,rr+=gr,++Jn&ga||(ua+=ta)}Sn!=Mt.nc&&b(yt,vt-bn,yt,vt+(Sn-sn-1)*bn,bn);break;case 1:for(bn=Ot,Bn=hn,gr=(Ot=Mt.Ea)-(rr=Ot&~(er=(hn=1<>Mt.b)*Jn;sn=Xe),0at.o&&(ke=at.o),xe=ke?xe=0:(Xe[0]+=4*at.v,at.ka=xe-at.j,at.U=at.va-at.v,at.T=ke-xe,xe=1),xe){if(vt=vt[0],11>(xe=te.ca).S){var sn=xe.f.RGBA,Sn=(ke=xe.S,Xe=at.U,at=at.T,Mt=sn.eb,sn.A),Ot=at;for(sn=sn.fb+te.Ma*sn.A;0ke){var Xe=te.l.width,at=xe.ca,ot=xe.tb+Xe*ke,vt=te.V,yt=te.Ba+te.c*ke,Mt=te.gc;E(te.ab==1),E(Mt[0].hc==3),Ol(Mt[0],ke,oe,vt,yt,at,ot),Nl(xe,ke,oe,at,ot,Xe)}te.C=te.Ma=oe}function ml(te,oe,xe,ke,Xe,at,ot){var vt=te.$/ke,yt=te.$%ke,Mt=te.m,sn=te.s,Sn=xe+te.$,Ot=Sn;Xe=xe+ke*Xe;var hn=xe+ke*at,bn=280+sn.ua,Jn=te.Pb?vt:16777216,Bn=0=Jn){var ga=Sn-xe;E((Jn=te).Pb),Jn.wd=Jn.m,Jn.xd=ga,0di.g?(mn(fr,fr.u+di.g),ga[ta]=di.value,fr=0):(mn(fr,fr.u+di.g-256),E(256<=di.value),fr=di.value),fr==0&&(gr=!0)}else fr=xo(rr.G[0],rr.H[0],Mt);if(Mt.h)break;if(gr||256>fr){if(!gr)if(rr.nd)oe[Sn]=(rr.qb|fr<<8)>>>0;else{if(wn(Mt),gr=xo(rr.G[1],rr.H[1],Mt),wn(Mt),ga=xo(rr.G[2],rr.H[2],Mt),ta=xo(rr.G[3],rr.H[3],Mt),Mt.h)break;oe[Sn]=(ta<<24|gr<<16|fr<<8|ga)>>>0}if(gr=!1,++Sn,++yt>=ke&&(yt=0,++vt,ot!=null&&vt<=at&&!(vt%16)&&ot(te,vt),Bn!=null))for(;Ot>>Bn.Mb]=fr}else if(280>fr){if(fr=Xs(fr-256,Mt),ga=xo(rr.G[4],rr.H[4],Mt),wn(Mt),ga=qs(ke,ga=Xs(ga,Mt)),Mt.h)break;if(Sn-xe=ke;)yt-=ke,++vt,ot!=null&&vt<=at&&!(vt%16)&&ot(te,vt);if(E(Sn<=Xe),yt&er&&(rr=ls(sn,yt,vt)),Bn!=null)for(;Ot>>Bn.Mb]=fr}else{if(!(fr>>Bn.Mb]=fr;fr=Sn,E(!(gr>>>(ga=Bn).Xa)),oe[fr]=ga.X[gr],gr=!0}gr||E(Mt.h==tn(Mt))}if(te.Pb&&Mt.h&&Snat?at:vt),te.a=0,te.$=Sn-xe}return 1}return te.a=3,0}function $s(te){E(te!=null),te.vc=null,te.yc=null,te.Ya=null;var oe=te.Wa;oe!=null&&(oe.X=null),te.vb=null,E(te!=null)}function ec(){var te=new Ga;return te==null?null:(te.a=0,te.xb=fp,no("Predictor","VP8LPredictors"),no("Predictor","VP8LPredictors_C"),no("PredictorAdd","VP8LPredictorsAdd"),no("PredictorAdd","VP8LPredictorsAdd_C"),Po=Ci,xd=si,Cd=Lo,Fu=Ti,Bu=pi,Du=vi,hc=vo,Wt.VP8LMapColor32b=Ml,Wt.VP8LMapColor8b=bd,te)}function Ll(te,oe,xe,ke,Xe){var at=1,ot=[te],vt=[oe],yt=ke.m,Mt=ke.s,sn=null,Sn=0;e:for(;;){if(xe)for(;at&&lr(yt,1);){var Ot=ot,hn=vt,bn=ke,Jn=1,Bn=bn.m,er=bn.gc[bn.ab],rr=lr(Bn,2);if(bn.Oc&1<=bn.ab),rr){case 0:case 1:er.b=lr(Bn,3)+2,Jn=Ll(pr(er.Ea,er.b),pr(er.nc,er.b),0,bn,er.K),er.K=er.K[0];break;case 3:var gr,fr=lr(Bn,8)+1,ga=16>ua.b),Jo=ee(Li);if(Jo==null)gr=0;else{var fi=ua.K[0],ca=ua.w;for(Jo[0]=ua.K[0][0],ta=1;ta<1*di;++ta)Jo[ta]=ka(fi[ca+ta],Jo[ta-1]);for(;ta<4*Li;++ta)Jo[ta]=0;ua.K[0]=null,ua.K[0]=Jo,gr=1}}Jn=gr;break;case 2:break;default:E(0)}at=Jn}}if(ot=ot[0],vt=vt[0],at&&lr(yt,1)&&!(at=1<=(Sn=lr(yt,4))&&11>=Sn)){ke.a=3;break e}var Wr;if(Wr=at)t:{var Io,oi,Mi,lo=ke,ds=ot,Fs=vt,Co=Sn,Es=xe,Bs=lo.m,Xo=lo.s,Ri=[null],Ki=1,Fo=0,Qi=Uv[Co];n:for(;;){if(Es&&lr(Bs,1)){var fs=lr(Bs,3)+2,yl=pr(ds,fs),Mo=pr(Fs,fs),Ps=yl*Mo;if(!Ll(yl,Mo,0,lo,Ri))break n;for(Ri=Ri[0],Xo.xc=fs,Io=0;Io>8&65535;Ri[Io]=eo,eo>=Ki&&(Ki=eo+1)}}if(Bs.h)break n;for(oi=0;5>oi;++oi){var qo=cp[oi];!oi&&0=Ds),Gs=Vs;var js=ee(Fo);if(Gs==null||js==null||Ys==null){lo.a=1;break n}var Ks=Ys;for(Io=Mi=0;Iooi;++oi){qo=cp[oi],Qs[oi]=Ks,Al[oi]=Mi,!oi&&0Nf)break r}else R0=Nf;for(Ld=0;Ldzc)Fp[Ld++]=zc,zc!=0&&(Bp=zc);else{var pg=zc==16,Np=zc-16,vg=Tv[Np],Lp=lr(ju,kv[Np])+vg;if(Ld+Lp>Nf)break r;for(var gg=pg?Bp:0;0=oi){var Pd,U0=js[0];for(Pd=1;PdU0&&(U0=js[Pd]);hs+=U0}}if(ao.nd=ou,ao.Qb=0,ou&&(ao.qb=(Qs[3][Al[3]+0].value<<24|Qs[1][Al[1]+0].value<<16|Qs[2][Al[2]+0].value)>>>0,pc==0&&256>Qs[0][Al[0]+0].value&&(ao.Qb=1,ao.qb+=Qs[0][Al[0]+0].value<<8)),ao.jc=!ao.Qb&&6>hs,ao.jc){var Lf,su=ao;for(Lf=0;Lf>=as(Pf,8,Mu),Iu>>=as(su.G[1][su.H[1]+Iu],16,Mu),Iu>>=as(su.G[2][su.H[2]+Iu],0,Mu),as(su.G[3][su.H[3]+Iu],24,Mu))}}}Xo.vc=Ri,Xo.Wb=Ki,Xo.Ya=Gs,Xo.yc=Ys,Wr=1;break t}Wr=0}if(!(at=Wr)){ke.a=3;break e}if(0ke+1?[]:0),!(Xe.lengthte?0:te>oe?oe:te}function Pc(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function m0(){var te=new ef;return te!=null&&(te.a=0,te.sc="OK",te.cb=0,te.Xb=0,Dd||(Dd=jc)),te}function Ro(te,oe,xe){return te.a==0&&(te.a=oe,te.sc=xe,te.cb=0),0}function tf(te,oe,xe){return 3<=xe&&te[oe+0]==157&&te[oe+1]==1&&te[oe+2]==42}function jl(te,oe){if(te==null)return 0;if(te.a=0,te.sc="OK",oe==null)return Ro(te,2,"null VP8Io passed to VP8GetHeaders()");var xe=oe.data,ke=oe.w,Xe=oe.ha;if(4>Xe)return Ro(te,7,"Truncated header.");var at=xe[ke+0]|xe[ke+1]<<8|xe[ke+2]<<16,ot=te.Od;if(ot.Rb=!(1&at),ot.td=at>>1&7,ot.yd=at>>4&1,ot.ub=at>>5,3Xe)return Ro(te,7,"cannot parse picture header");if(!tf(xe,ke,Xe))return Ro(te,3,"Bad code word");vt.c=16383&(xe[ke+4]<<8|xe[ke+3]),vt.Td=xe[ke+4]>>6,vt.i=16383&(xe[ke+6]<<8|xe[ke+5]),vt.Ud=xe[ke+6]>>6,ke+=7,Xe-=7,te.za=vt.c+15>>4,te.Ub=vt.i+15>>4,oe.width=vt.c,oe.height=vt.i,oe.Da=0,oe.j=0,oe.v=0,oe.va=oe.width,oe.o=oe.height,oe.da=0,oe.ib=oe.width,oe.hb=oe.height,oe.U=oe.width,oe.T=oe.height,z((at=te.Pa).jb,0,255,at.jb.length),E((at=te.Qa)!=null),at.Cb=0,at.Bb=0,at.Fb=1,z(at.Zb,0,0,at.Zb.length),z(at.Lb,0,0,at.Lb)}if(ot.ub>Xe)return Ro(te,7,"bad partition length");Tn(at=te.m,xe,ke,ot.ub),ke+=ot.ub,Xe-=ot.ub,ot.Rb&&(vt.Ld=Wn(at),vt.Kd=Wn(at)),vt=te.Qa;var yt,Mt=te.Pa;if(E(at!=null),E(vt!=null),vt.Cb=Wn(at),vt.Cb){if(vt.Bb=Wn(at),Wn(at)){for(vt.Fb=Wn(at),yt=0;4>yt;++yt)vt.Zb[yt]=Wn(at)?Dn(at,7):0;for(yt=0;4>yt;++yt)vt.Lb[yt]=Wn(at)?Dn(at,6):0}if(vt.Bb)for(yt=0;3>yt;++yt)Mt.jb[yt]=Wn(at)?zn(at,8):255}else vt.Bb=0;if(at.Ka)return Ro(te,3,"cannot parse segment header");if((vt=te.ed).zd=Wn(at),vt.Tb=zn(at,6),vt.wb=zn(at,3),vt.Pc=Wn(at),vt.Pc&&Wn(at)){for(Mt=0;4>Mt;++Mt)Wn(at)&&(vt.vd[Mt]=Dn(at,6));for(Mt=0;4>Mt;++Mt)Wn(at)&&(vt.od[Mt]=Dn(at,6))}if(te.L=vt.Tb==0?0:vt.zd?1:2,at.Ka)return Ro(te,3,"cannot parse filter header");var sn=Xe;if(Xe=yt=ke,ke=yt+sn,vt=sn,te.Xb=(1<vt&&(Sn=vt),Tn(te.Jc[+sn],xe,yt,Sn),yt+=Sn,vt-=Sn,Xe+=3}Tn(te.Jc[+Mt],xe,yt,vt),xe=ytSn;++Sn){if(sn.Cb){var Ot=sn.Zb[Sn];sn.Fb||(Ot+=xe)}else{if(0>16,8>hn.Eb[1]&&(hn.Eb[1]=8),hn.Qc[0]=M0[Pl(Ot+Mt,117)],hn.Qc[1]=O0[Pl(Ot+yt,127)],hn.lc=Ot+yt}if(!ot.Rb)return Ro(te,4,"Not a key frame.");for(Wn(at),ot=te.Pa,xe=0;4>xe;++xe){for(Xe=0;8>Xe;++Xe)for(ke=0;3>ke;++ke)for(vt=0;11>vt;++vt)Mt=or(at,Gv[xe][Xe][ke][vt])?zn(at,8):Yv[xe][Xe][ke][vt],ot.Wc[xe][Xe].Yb[ke][vt]=Mt;for(Xe=0;17>Xe;++Xe)ot.Xc[xe][Xe]=ot.Wc[xe][Kv[Xe]]}return te.kc=Wn(at),te.kc&&(te.Bd=zn(at,8)),te.cb=1}function jc(te,oe,xe,ke,Xe,at,ot){var vt=oe[Xe].Yb[xe];for(xe=0;16>Xe;++Xe){if(!or(te,vt[xe+0]))return Xe;for(;!or(te,vt[xe+1]);)if(vt=oe[++Xe].Yb[0],xe=0,Xe==16)return 16;var yt=oe[Xe+1].Yb;if(or(te,vt[xe+2])){var Mt=te,sn=0;if(or(Mt,(Ot=vt)[(Sn=xe)+3]))if(or(Mt,Ot[Sn+6])){for(vt=0,Sn=2*(sn=or(Mt,Ot[Sn+8]))+(Ot=or(Mt,Ot[Sn+9+sn])),sn=0,Ot=Zv[Sn];Ot[vt];++vt)sn+=sn+or(Mt,Ot[vt]);sn+=3+(8<(Mt=te).b&&Rn(Mt);var Sn,Ot=Mt.b,hn=(Sn=Mt.Ca>>1)-(Mt.I>>Ot)>>31;--Mt.b,Mt.Ca+=hn,Mt.Ca|=1,Mt.I-=(Sn+1&hn)<>3),te[oe+xe+32*ke]=-256&Xe?0>Xe?0:255:Xe}function Go(te,oe,xe,ke,Xe,at){tl(te,oe,0,xe,ke+Xe),tl(te,oe,1,xe,ke+at),tl(te,oe,2,xe,ke-at),tl(te,oe,3,xe,ke-Xe)}function Gl(te){return(20091*te>>16)+te}function rf(te,oe,xe,ke){var Xe,at=0,ot=ee(16);for(Xe=0;4>Xe;++Xe){var vt=te[oe+0]+te[oe+8],yt=te[oe+0]-te[oe+8],Mt=(35468*te[oe+4]>>16)-Gl(te[oe+12]),sn=Gl(te[oe+4])+(35468*te[oe+12]>>16);ot[at+0]=vt+sn,ot[at+1]=yt+Mt,ot[at+2]=yt-Mt,ot[at+3]=vt-sn,at+=4,oe++}for(Xe=at=0;4>Xe;++Xe)vt=(te=ot[at+0]+4)+ot[at+8],yt=te-ot[at+8],Mt=(35468*ot[at+4]>>16)-Gl(ot[at+12]),tl(xe,ke,0,0,vt+(sn=Gl(ot[at+4])+(35468*ot[at+12]>>16))),tl(xe,ke,1,0,yt+Mt),tl(xe,ke,2,0,yt-Mt),tl(xe,ke,3,0,vt-sn),at++,ke+=32}function p0(te,oe,xe,ke){var Xe=te[oe+0]+4,at=35468*te[oe+4]>>16,ot=Gl(te[oe+4]),vt=35468*te[oe+1]>>16;Go(xe,ke,0,Xe+ot,te=Gl(te[oe+1]),vt),Go(xe,ke,1,Xe+at,te,vt),Go(xe,ke,2,Xe-at,te,vt),Go(xe,ke,3,Xe-ot,te,vt)}function v0(te,oe,xe,ke,Xe){rf(te,oe,xe,ke),Xe&&rf(te,oe+16,xe,ke+4)}function Il(te,oe,xe,ke){mc(te,oe+0,xe,ke,1),mc(te,oe+32,xe,ke+128,1)}function af(te,oe,xe,ke){var Xe;for(te=te[oe+0]+4,Xe=0;4>Xe;++Xe)for(oe=0;4>oe;++oe)tl(xe,ke,oe,Xe,te)}function of(te,oe,xe,ke){te[oe+0]&&Yi(te,oe+0,xe,ke),te[oe+16]&&Yi(te,oe+16,xe,ke+4),te[oe+32]&&Yi(te,oe+32,xe,ke+128),te[oe+48]&&Yi(te,oe+48,xe,ke+128+4)}function Ic(te,oe,xe,ke){var Xe,at=ee(16);for(Xe=0;4>Xe;++Xe){var ot=te[oe+0+Xe]+te[oe+12+Xe],vt=te[oe+4+Xe]+te[oe+8+Xe],yt=te[oe+4+Xe]-te[oe+8+Xe],Mt=te[oe+0+Xe]-te[oe+12+Xe];at[0+Xe]=ot+vt,at[8+Xe]=ot-vt,at[4+Xe]=Mt+yt,at[12+Xe]=Mt-yt}for(Xe=0;4>Xe;++Xe)ot=(te=at[0+4*Xe]+3)+at[3+4*Xe],vt=at[1+4*Xe]+at[2+4*Xe],yt=at[1+4*Xe]-at[2+4*Xe],Mt=te-at[3+4*Xe],xe[ke+0]=ot+vt>>3,xe[ke+16]=Mt+yt>>3,xe[ke+32]=ot-vt>>3,xe[ke+48]=Mt-yt>>3,ke+=64}function nc(te,oe,xe){var ke,Xe=oe-32,at=Hs,ot=255-te[Xe-1];for(ke=0;kexe;++xe)b(te,oe+32*xe,te,oe-32,16)}function sf(te,oe){var xe;for(xe=16;0ke;++ke)z(oe,xe+32*ke,te,16)}function E0(te,oe){var xe,ke=16;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe]+te[oe+xe-32];pl(ke>>5,te,oe)}function rc(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe];pl(ke>>4,te,oe)}function ld(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe+xe-32];pl(ke>>4,te,oe)}function b0(te,oe){pl(128,te,oe)}function Ja(te,oe,xe){return te+2*oe+xe+2>>2}function w0(te,oe){var xe,ke=oe-32;for(ke=new Uint8Array([Ja(te[ke-1],te[ke+0],te[ke+1]),Ja(te[ke+0],te[ke+1],te[ke+2]),Ja(te[ke+1],te[ke+2],te[ke+3]),Ja(te[ke+2],te[ke+3],te[ke+4])]),xe=0;4>xe;++xe)b(te,oe+32*xe,ke,0,ke.length)}function x0(te,oe){var xe=te[oe-1],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96];Ar(te,oe+0,16843009*Ja(te[oe-1-32],xe,ke)),Ar(te,oe+32,16843009*Ja(xe,ke,Xe)),Ar(te,oe+64,16843009*Ja(ke,Xe,at)),Ar(te,oe+96,16843009*Ja(Xe,at,at))}function C0(te,oe){var xe,ke=4;for(xe=0;4>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];for(ke>>=3,xe=0;4>xe;++xe)z(te,oe+32*xe,ke,4)}function Kl(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],yt=te[oe+2-32],Mt=te[oe+3-32];te[oe+0+96]=Ja(ke,Xe,te[oe-1+96]),te[oe+1+96]=te[oe+0+64]=Ja(xe,ke,Xe),te[oe+2+96]=te[oe+1+64]=te[oe+0+32]=Ja(at,xe,ke),te[oe+3+96]=te[oe+2+64]=te[oe+1+32]=te[oe+0+0]=Ja(ot,at,xe),te[oe+3+64]=te[oe+2+32]=te[oe+1+0]=Ja(vt,ot,at),te[oe+3+32]=te[oe+2+0]=Ja(yt,vt,ot),te[oe+3+0]=Ja(Mt,yt,vt)}function Ql(te,oe){var xe=te[oe+1-32],ke=te[oe+2-32],Xe=te[oe+3-32],at=te[oe+4-32],ot=te[oe+5-32],vt=te[oe+6-32],yt=te[oe+7-32];te[oe+0+0]=Ja(te[oe+0-32],xe,ke),te[oe+1+0]=te[oe+0+32]=Ja(xe,ke,Xe),te[oe+2+0]=te[oe+1+32]=te[oe+0+64]=Ja(ke,Xe,at),te[oe+3+0]=te[oe+2+32]=te[oe+1+64]=te[oe+0+96]=Ja(Xe,at,ot),te[oe+3+32]=te[oe+2+64]=te[oe+1+96]=Ja(at,ot,vt),te[oe+3+64]=te[oe+2+96]=Ja(ot,vt,yt),te[oe+3+96]=Ja(vt,yt,yt)}function F0(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],yt=te[oe+2-32],Mt=te[oe+3-32];te[oe+0+0]=te[oe+1+64]=at+ot+1>>1,te[oe+1+0]=te[oe+2+64]=ot+vt+1>>1,te[oe+2+0]=te[oe+3+64]=vt+yt+1>>1,te[oe+3+0]=yt+Mt+1>>1,te[oe+0+96]=Ja(Xe,ke,xe),te[oe+0+64]=Ja(ke,xe,at),te[oe+0+32]=te[oe+1+96]=Ja(xe,at,ot),te[oe+1+32]=te[oe+2+96]=Ja(at,ot,vt),te[oe+2+32]=te[oe+3+96]=Ja(ot,vt,yt),te[oe+3+32]=Ja(vt,yt,Mt)}function B0(te,oe){var xe=te[oe+0-32],ke=te[oe+1-32],Xe=te[oe+2-32],at=te[oe+3-32],ot=te[oe+4-32],vt=te[oe+5-32],yt=te[oe+6-32],Mt=te[oe+7-32];te[oe+0+0]=xe+ke+1>>1,te[oe+1+0]=te[oe+0+64]=ke+Xe+1>>1,te[oe+2+0]=te[oe+1+64]=Xe+at+1>>1,te[oe+3+0]=te[oe+2+64]=at+ot+1>>1,te[oe+0+32]=Ja(xe,ke,Xe),te[oe+1+32]=te[oe+0+96]=Ja(ke,Xe,at),te[oe+2+32]=te[oe+1+96]=Ja(Xe,at,ot),te[oe+3+32]=te[oe+2+96]=Ja(at,ot,vt),te[oe+3+64]=Ja(ot,vt,yt),te[oe+3+96]=Ja(vt,yt,Mt)}function Mc(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96];te[oe+0+0]=xe+ke+1>>1,te[oe+2+0]=te[oe+0+32]=ke+Xe+1>>1,te[oe+2+32]=te[oe+0+64]=Xe+at+1>>1,te[oe+1+0]=Ja(xe,ke,Xe),te[oe+3+0]=te[oe+1+32]=Ja(ke,Xe,at),te[oe+3+32]=te[oe+1+64]=Ja(Xe,at,at),te[oe+3+64]=te[oe+2+64]=te[oe+0+96]=te[oe+1+96]=te[oe+2+96]=te[oe+3+96]=at}function ud(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96],ot=te[oe-1-32],vt=te[oe+0-32],yt=te[oe+1-32],Mt=te[oe+2-32];te[oe+0+0]=te[oe+2+32]=xe+ot+1>>1,te[oe+0+32]=te[oe+2+64]=ke+xe+1>>1,te[oe+0+64]=te[oe+2+96]=Xe+ke+1>>1,te[oe+0+96]=at+Xe+1>>1,te[oe+3+0]=Ja(vt,yt,Mt),te[oe+2+0]=Ja(ot,vt,yt),te[oe+1+0]=te[oe+3+32]=Ja(xe,ot,vt),te[oe+1+32]=te[oe+3+64]=Ja(ke,xe,ot),te[oe+1+64]=te[oe+3+96]=Ja(Xe,ke,xe),te[oe+1+96]=Ja(at,Xe,ke)}function ac(te,oe){var xe;for(xe=0;8>xe;++xe)b(te,oe+32*xe,te,oe-32,8)}function D0(te,oe){var xe;for(xe=0;8>xe;++xe)z(te,oe,te[oe-1],8),oe+=32}function Jl(te,oe,xe){var ke;for(ke=0;8>ke;++ke)z(oe,xe+32*ke,te,8)}function S0(te,oe){var xe,ke=8;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];Jl(ke>>4,te,oe)}function cd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32];Jl(ke>>3,te,oe)}function dd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe-1+32*xe];Jl(ke>>3,te,oe)}function lf(te,oe){Jl(128,te,oe)}function Xl(te,oe,xe){var ke=te[oe-xe],Xe=te[oe+0],at=3*(Xe-ke)+N0[1020+te[oe-2*xe]-te[oe+xe]],ot=vf[112+(at+4>>3)];te[oe-xe]=Hs[255+ke+vf[112+(at+3>>3)]],te[oe+0]=Hs[255+Xe-ot]}function fd(te,oe,xe,ke){var Xe=te[oe+0],at=te[oe+xe];return al[255+te[oe-2*xe]-te[oe-xe]]>ke||al[255+at-Xe]>ke}function Oc(te,oe,xe,ke){return 4*al[255+te[oe-xe]-te[oe+0]]+al[255+te[oe-2*xe]-te[oe+xe]]<=ke}function hd(te,oe,xe,ke,Xe){var at=te[oe-3*xe],ot=te[oe-2*xe],vt=te[oe-xe],yt=te[oe+0],Mt=te[oe+xe],sn=te[oe+2*xe],Sn=te[oe+3*xe];return 4*al[255+vt-yt]+al[255+ot-Mt]>ke?0:al[255+te[oe-4*xe]-at]<=Xe&&al[255+at-ot]<=Xe&&al[255+ot-vt]<=Xe&&al[255+Sn-sn]<=Xe&&al[255+sn-Mt]<=Xe&&al[255+Mt-yt]<=Xe}function ic(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Oc(te,oe+ke,xe,Xe)&&Xl(te,oe+ke,xe)}function md(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Oc(te,oe+ke*xe,1,Xe)&&Xl(te,oe+ke*xe,1)}function uf(te,oe,xe,ke){var Xe;for(Xe=3;0>7,er=18*rr+63>>7,rr=9*rr+63>>7;yt[Mt-3*sn]=Hs[255+yt[Mt-3*sn]+rr],yt[Mt-2*sn]=Hs[255+Sn+er],yt[Mt-sn]=Hs[255+Ot+Bn],yt[Mt+0]=Hs[255+hn-Bn],yt[Mt+sn]=Hs[255+bn-er],yt[Mt+2*sn]=Hs[255+Jn-rr]}oe+=ke}}function $l(te,oe,xe,ke,Xe,at,ot,vt){for(at=2*at+1;0>3)],Jn=vf[112+(Jn+3>>3)],Bn=bn+1>>1;yt[Mt-2*sn]=Hs[255+yt[Mt-2*sn]+Bn],yt[Mt-sn]=Hs[255+Sn+Jn],yt[Mt+0]=Hs[255+Ot-bn],yt[Mt+sn]=Hs[255+hn-Bn]}oe+=ke}}function df(te,oe,xe,ke,Xe,at){ql(te,oe,xe,1,16,ke,Xe,at)}function oc(te,oe,xe,ke,Xe,at){ql(te,oe,1,xe,16,ke,Xe,at)}function ff(te,oe,xe,ke,Xe,at){var ot;for(ot=3;0Mt?0:255:Mt)&255,Mt=yt,Xe[at+vt]=sn}}function ro(te,oe,xe,ke){var Xe=oe.width,at=oe.o;if(E(te!=null&&oe!=null),0>xe||0>=ke||xe+ke>at)return null;if(!te.Cc){if(te.ga==null){var ot;if(te.ga=new li,(ot=te.ga==null)||(ot=oe.width*oe.o,E(te.Gb.length==0),te.Gb=ee(ot),te.Uc=0,te.Gb==null?ot=0:(te.mb=te.Gb,te.nb=te.Uc,te.rc=null,ot=1),ot=!ot),!ot){ot=te.ga;var vt=te.Fa,yt=te.P,Mt=te.qc,sn=te.mb,Sn=te.nb,Ot=yt+1,hn=Mt-1,bn=ot.l;if(E(vt!=null&&sn!=null&&oe!=null),Lu[0]=null,Lu[1]=_i,Lu[2]=Ao,Lu[3]=zo,ot.ca=sn,ot.tb=Sn,ot.c=oe.width,ot.i=oe.height,E(0=Mt)oe=0;else if(ot.$a=3&vt[yt+0],ot.Z=vt[yt+0]>>2&3,ot.Lc=vt[yt+0]>>4&3,yt=vt[yt+0]>>6&3,0>ot.$a||1=ot.c*ot.i;ot=!oe}if(ot)return null;te.ga.Lc!=1?te.Ga=0:ke=at-xe}E(te.ga!=null),E(xe+ke<=at);e:{if(oe=(vt=te.ga).c,at=vt.l.o,vt.$a==0){if(Ot=te.rc,hn=te.Vc,bn=te.Fa,yt=te.P+1+xe*oe,Mt=te.mb,sn=te.nb+xe*oe,E(yt<=te.P+te.qc),vt.Z!=0)for(E(Lu[vt.Z]!=null),ot=0;ot=oe)oe=1;else if(vt.ic||vl(),vt.ic){vt=ot.V,Ot=ot.Ba,hn=ot.c;var Jn=ot.i,Bn=(bn=1,yt=ot.$/hn,Mt=ot.$%hn,sn=ot.m,Sn=ot.s,ot.$),er=hn*Jn,rr=hn*oe,gr=Sn.wc,fr=Bn(Jn=xo(fr.G[0],fr.H[0],sn)))vt[Ot+Bn]=Jn,++Bn,++Mt>=hn&&(Mt=0,++yt<=oe&&!(yt%16)&&hl(ot,yt));else{if(!(280>Jn)){bn=0;break t}Jn=Xs(Jn-256,sn);var ga,ta=xo(fr.G[4],fr.H[4],sn);if(wn(sn),!(Bn>=(ta=qs(hn,ta=Xs(ta,sn)))&&er-Bn>=Jn)){bn=0;break t}for(ga=0;ga=hn;)Mt-=hn,++yt<=oe&&!(yt%16)&&hl(ot,yt);Bnoe?oe:yt);break t}!bn||sn.h&&Bn=at&&(te.Cc=1),ke=1}if(!ke)return null;if(te.Cc&&((ke=te.ga)!=null&&(ke.mc=null),te.ga=null,0>23,vt[yt+4*ot+1]=vt[yt+4*ot+1]*Sn>>23,vt[yt+4*ot+2]=vt[yt+4*ot+2]*Sn>>23)}oe+=at}}function Uo(te,oe,xe,ke,Xe){for(;0>4)*yt>>16;te[oe+2*at+0]=(240&ot|ot>>4)*yt>>16&240|(15&ot|ot<<4)*yt>>16>>4&15,te[oe+2*at+1]=240&Mt|vt}oe+=Xe}}function us(te,oe,xe,ke,Xe,at,ot,vt){var yt,Mt,sn=255;for(Mt=0;Mt>8}function vl(){Bd=Ko,ep=Uo,tp=us,np=eu}function tu(te,oe,xe){Wt[te]=function(ke,Xe,at,ot,vt,yt,Mt,sn,Sn,Ot,hn,bn,Jn,Bn,er,rr,gr){var fr,ga=gr-1>>1,ta=vt[yt+0]|Mt[sn+0]<<16,di=Sn[Ot+0]|hn[bn+0]<<16;E(ke!=null);var ua=3*ta+di+131074>>2;for(oe(ke[Xe+0],255&ua,ua>>16,Jn,Bn),at!=null&&(ua=3*di+ta+131074>>2,oe(at[ot+0],255&ua,ua>>16,er,rr)),fr=1;fr<=ga;++fr){var Li=vt[yt+fr]|Mt[sn+fr]<<16,Jo=Sn[Ot+fr]|hn[bn+fr]<<16,fi=ta+Li+di+Jo+524296,ca=fi+2*(Li+di)>>3;ua=ca+ta>>1,ta=(fi=fi+2*(ta+Jo)>>3)+Li>>1,oe(ke[Xe+2*fr-1],255&ua,ua>>16,Jn,Bn+(2*fr-1)*xe),oe(ke[Xe+2*fr-0],255&ta,ta>>16,Jn,Bn+(2*fr-0)*xe),at!=null&&(ua=fi+di>>1,ta=ca+Jo>>1,oe(at[ot+2*fr-1],255&ua,ua>>16,er,rr+(2*fr-1)*xe),oe(at[ot+2*fr+0],255&ta,ta>>16,er,rr+(2*fr+0)*xe)),ta=Li,di=Jo}1&gr||(ua=3*ta+di+131074>>2,oe(ke[Xe+gr-1],255&ua,ua>>16,Jn,Bn+(gr-1)*xe),at!=null&&(ua=3*di+ta+131074>>2,oe(at[ot+gr-1],255&ua,ua>>16,er,rr+(gr-1)*xe)))}}function pd(){il[gf]=Jv,il[yf]=hp,il[lp]=Xv,il[Af]=mp,il[Ef]=pp,il[L0]=vp,il[up]=qv,il[P0]=hp,il[j0]=mp,il[bf]=pp,il[I0]=vp}function kc(te){return te&~$v?0>te?0:255:te>>gp}function Eu(te,oe){return kc((19077*te>>8)+(26149*oe>>8)-14234)}function sc(te,oe,xe){return kc((19077*te>>8)-(6419*oe>>8)-(13320*xe>>8)+8708)}function lc(te,oe){return kc((19077*te>>8)+(33050*oe>>8)-17685)}function bu(te,oe,xe,ke,Xe){ke[Xe+0]=Eu(te,xe),ke[Xe+1]=sc(te,oe,xe),ke[Xe+2]=lc(te,oe)}function cs(te,oe,xe,ke,Xe){ke[Xe+0]=lc(te,oe),ke[Xe+1]=sc(te,oe,xe),ke[Xe+2]=Eu(te,xe)}function uc(te,oe,xe,ke,Xe){var at=sc(te,oe,xe);oe=at<<3&224|lc(te,oe)>>3,ke[Xe+0]=248&Eu(te,xe)|at>>5,ke[Xe+1]=oe}function cc(te,oe,xe,ke,Xe){var at=240&lc(te,oe)|15;ke[Xe+0]=240&Eu(te,xe)|sc(te,oe,xe)>>4,ke[Xe+1]=at}function vd(te,oe,xe,ke,Xe){ke[Xe+0]=255,bu(te,oe,xe,ke,Xe+1)}function gd(te,oe,xe,ke,Xe){cs(te,oe,xe,ke,Xe),ke[Xe+3]=255}function Cs(te,oe,xe,ke,Xe){bu(te,oe,xe,ke,Xe),ke[Xe+3]=255}function nu(te,oe,xe){Wt[te]=function(ke,Xe,at,ot,vt,yt,Mt,sn,Sn){for(var Ot=sn+(-2&Sn)*xe;sn!=Ot;)oe(ke[Xe+0],at[ot+0],vt[yt+0],Mt,sn),oe(ke[Xe+1],at[ot+0],vt[yt+0],Mt,sn+xe),Xe+=2,++ot,++yt,sn+=2*xe;1&Sn&&oe(ke[Xe+0],at[ot+0],vt[yt+0],Mt,sn)}}function Tc(te,oe,xe){return xe==0?te==0?oe==0?6:5:oe==0?4:0:xe}function hf(te,oe,xe,ke,Xe){switch(te>>>30){case 3:mc(oe,xe,ke,Xe,0);break;case 2:rl(oe,xe,ke,Xe);break;case 1:Yi(oe,xe,ke,Xe)}}function nl(te,oe){var xe,ke,Xe=oe.M,at=oe.Nb,ot=te.oc,vt=te.pc+40,yt=te.oc,Mt=te.pc+584,sn=te.oc,Sn=te.pc+600;for(xe=0;16>xe;++xe)ot[vt+32*xe-1]=129;for(xe=0;8>xe;++xe)yt[Mt+32*xe-1]=129,sn[Sn+32*xe-1]=129;for(0xe;++xe)b(ot,vt+32*xe-4,ot,vt+32*xe+12,4);for(xe=-1;8>xe;++xe)b(yt,Mt+32*xe-4,yt,Mt+32*xe+4,4),b(sn,Sn+32*xe-4,sn,Sn+32*xe+4,4)}var hn=te.Gd,bn=te.Hd+ke,Jn=Ot.ad,Bn=Ot.Hc;if(0=te.za-1?z(er,rr,hn[bn].y[15],4):b(er,rr,hn[bn+1].y,0,4)),xe=0;4>xe;xe++)er[rr+128+xe]=er[rr+256+xe]=er[rr+384+xe]=er[rr+0+xe];for(xe=0;16>xe;++xe,Bn<<=2)er=ot,rr=vt+Ap[xe],gl[Ot.Ob[xe]](er,rr),hf(Bn,Jn,16*+xe,er,rr)}else if(er=Tc(ke,Xe,Ot.Ob[0]),Nu[er](ot,vt),Bn!=0)for(xe=0;16>xe;++xe,Bn<<=2)hf(Bn,Jn,16*+xe,ot,vt+Ap[xe]);for(xe=Ot.Gc,er=Tc(ke,Xe,Ot.Dd),iu[er](yt,Mt),iu[er](sn,Sn),Bn=Jn,er=yt,rr=Mt,255&(Ot=0|xe)&&(170&Ot?kl(Bn,256,er,rr):$i(Bn,256,er,rr)),Ot=sn,Bn=Sn,255&(xe>>=8)&&(170&xe?kl(Jn,320,Ot,Bn):$i(Jn,320,Ot,Bn)),Xexe;++xe)b(hn,bn+xe*te.R,ot,vt+32*xe,16);for(xe=0;8>xe;++xe)b(Jn,Ot+xe*te.B,yt,Mt+32*xe,8),b(Bn,er+xe*te.B,sn,Sn+32*xe,8)}}function dc(te,oe,xe,ke,Xe,at,ot,vt,yt){var Mt=[0],sn=[0],Sn=0,Ot=yt!=null?yt.kd:0,hn=yt!=null?yt:new dr;if(te==null||12>xe)return 7;hn.data=te,hn.w=oe,hn.ha=xe,oe=[oe],xe=[xe],hn.gb=[hn.gb];e:{var bn=oe,Jn=xe,Bn=hn.gb;if(E(te!=null),E(Jn!=null),E(Bn!=null),Bn[0]=0,12<=Jn[0]&&!y(te,bn[0],"RIFF")){if(y(te,bn[0]+8,"WEBP")){Bn=3;break e}var er=wa(te,bn[0]+4);if(12>er||4294967286Jn[0]-8){Bn=7;break e}Bn[0]=er,bn[0]+=12,Jn[0]-=12}Bn=0}if(Bn!=0)return Bn;for(er=0Bn[0])Bn=7;else{if(!y(rr,Jn[0],"VP8X")){if(wa(rr,Jn[0]+4)!=10){Bn=3;break e}if(18>Bn[0]){Bn=7;break e}var ta=wa(rr,Jn[0]+8),di=1+Hr(rr,Jn[0]+12);if(2147483648<=di*(rr=1+Hr(rr,Jn[0]+15))){Bn=3;break e}ga!=null&&(ga[0]=ta),gr!=null&&(gr[0]=di),fr!=null&&(fr[0]=rr),Jn[0]+=18,Bn[0]-=18,ua[0]=1}Bn=0}}if(Sn=Sn[0],bn=bn[0],Bn!=0)return Bn;if(Jn=!!(2&bn),!er&&Sn)return 3;if(at!=null&&(at[0]=!!(16&bn)),ot!=null&&(ot[0]=Jn),vt!=null&&(vt[0]=0),ot=Mt[0],bn=sn[0],Sn&&Jn&&yt==null){Bn=0;break}if(4>xe){Bn=7;break}if(er&&Sn||!er&&!Sn&&!y(te,oe[0],"ALPH")){xe=[xe],hn.na=[hn.na],hn.P=[hn.P],hn.Sa=[hn.Sa];e:{ta=te,Bn=oe,er=xe;var ua=hn.gb;gr=hn.na,fr=hn.P,ga=hn.Sa,di=22,E(ta!=null),E(er!=null),rr=Bn[0];var Li=er[0];for(E(gr!=null),E(ga!=null),gr[0]=null,fr[0]=null,ga[0]=0;;){if(Bn[0]=rr,er[0]=Li,8>Li){Bn=7;break e}var Jo=wa(ta,rr+4);if(4294967286ua){Bn=3;break e}if(!y(ta,rr,"VP8 ")||!y(ta,rr,"VP8L")){Bn=0;break e}if(Li[0]er[0])Bn=7;else{if(rr||di){if(ua=wa(ua,ta+4),12<=gr&&ua>gr-12){Bn=3;break e}if(Ot&&ua>er[0]-8){Bn=7;break e}fr[0]=ua,Bn[0]+=8,er[0]-=8,ga[0]=di}else ga[0]=5<=er[0]&&ua[ta+0]==47&&!(ua[ta+4]>>5),fr[0]=er[0];Bn=0}if(xe=xe[0],hn.Ja=hn.Ja[0],hn.xa=hn.xa[0],oe=oe[0],Bn!=0)break;if(4294967286xe){Bn=7;break}vt=ot,Ot=bn,Jn=at,te==null||5>xe?te=0:5<=xe&&te[oe+0]==47&&!(te[oe+4]>>5)?(er=[0],ua=[0],gr=[0],Hn(fr=new _t,te,oe,xe),Vl(fr,er,ua,gr)?(vt!=null&&(vt[0]=er[0]),Ot!=null&&(Ot[0]=ua[0]),Jn!=null&&(Jn[0]=gr[0]),te=1):te=0):te=0}else{if(10>xe){Bn=7;break}vt=bn,te==null||10>xe||!tf(te,oe+3,xe-3)?te=0:(Ot=te[oe+0]|te[oe+1]<<8|te[oe+2]<<16,Jn=16383&(te[oe+7]<<8|te[oe+6]),te=16383&(te[oe+9]<<8|te[oe+8]),1&Ot||3<(Ot>>1&7)||!(Ot>>4&1)||Ot>>5>=hn.Ja||!Jn||!te?te=0:(ot&&(ot[0]=Jn),vt&&(vt[0]=te),te=1))}if(!te||(ot=ot[0],bn=bn[0],Sn&&(Mt[0]!=ot||sn[0]!=bn)))return 3;yt!=null&&(yt[0]=hn,yt.offset=oe-yt.w,E(4294967286>oe-yt.w),E(yt.offset==yt.ha-xe));break}return Bn==0||Bn==7&&Sn&&yt==null?(at!=null&&(at[0]|=hn.na!=null&&0xe||(at&=-2,ot&=-2),0>at||0>ot||0>=vt||0>=yt||at+vt>ke||ot+yt>Xe))return 0;if(oe.v=at,oe.j=ot,oe.va=at+vt,oe.o=ot+yt,oe.U=vt,oe.T=yt,oe.da=te!=null&&0te.S){var oe=te.f.RGBA;oe.fb+=(te.height-1)*oe.A,oe.A=-oe.A}else oe=te.f.kb,te=te.height,oe.O+=(te-1)*oe.fa,oe.fa=-oe.fa,oe.N+=(te-1>>1)*oe.Ab,oe.Ab=-oe.Ab,oe.W+=(te-1>>1)*oe.Db,oe.Db=-oe.Db,oe.F!=null&&(oe.J+=(te-1)*oe.lb,oe.lb=-oe.lb);return 0}function wu(te,oe,xe,ke){if(ke==null||0>=te||0>=oe)return 2;if(xe!=null){if(xe.Da){var Xe=xe.cd,at=xe.bd,ot=-2&xe.v,vt=-2&xe.j;if(0>ot||0>vt||0>=Xe||0>=at||ot+Xe>te||vt+at>oe)return 2;te=Xe,oe=at}if(xe.da){if(!Oa(te,oe,Xe=[xe.ib],at=[xe.hb]))return 2;te=Xe[0],oe=at[0]}}ke.width=te,ke.height=oe;e:{var yt=ke.width,Mt=ke.height;if(te=ke.S,0>=yt||0>=Mt||!(te>=gf&&13>te))te=2;else{if(0>=ke.Rd&&ke.sd==null){ot=at=Xe=oe=0;var sn=(vt=yt*Ep[te])*Mt;if(11>te||(at=(Mt+1)/2*(oe=(yt+1)/2),te==12&&(ot=(Xe=yt)*Mt)),(Mt=ee(sn+2*at+ot))==null){te=1;break e}ke.sd=Mt,11>te?((yt=ke.f.RGBA).eb=Mt,yt.fb=0,yt.A=vt,yt.size=sn):((yt=ke.f.kb).y=Mt,yt.O=0,yt.fa=vt,yt.Fd=sn,yt.f=Mt,yt.N=0+sn,yt.Ab=oe,yt.Cd=at,yt.ea=Mt,yt.W=0+sn+at,yt.Db=oe,yt.Ed=at,te==12&&(yt.F=Mt,yt.J=0+sn+2*at),yt.Tc=ot,yt.lb=Xe)}if(oe=1,Xe=ke.S,at=ke.width,ot=ke.height,Xe>=gf&&13>Xe)if(11>Xe)te=ke.f.RGBA,oe&=(vt=Math.abs(te.A))*(ot-1)+at<=te.size,oe&=vt>=at*Ep[Xe],oe&=te.eb!=null;else{te=ke.f.kb,vt=(at+1)/2,sn=(ot+1)/2,yt=Math.abs(te.fa),Mt=Math.abs(te.Ab);var Sn=Math.abs(te.Db),Ot=Math.abs(te.lb),hn=Ot*(ot-1)+at;oe&=yt*(ot-1)+at<=te.Fd,oe&=Mt*(sn-1)+vt<=te.Cd,oe=(oe&=Sn*(sn-1)+vt<=te.Ed)&yt>=at&Mt>=vt&Sn>=vt,oe&=te.y!=null,oe&=te.f!=null,oe&=te.ea!=null,Xe==12&&(oe&=Ot>=at,oe&=hn<=te.Tc,oe&=te.F!=null)}else oe=0;te=oe?0:2}}return te!=0||xe!=null&&xe.fd&&(te=Ad(ke)),te}var fc=64,Ws=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Zs=24,xu=32,ru=8,Cu=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];aa("Predictor0","PredictorAdd0"),Wt.Predictor0=function(){return 4278190080},Wt.Predictor1=function(te){return te},Wt.Predictor2=function(te,oe,xe){return oe[xe+0]},Wt.Predictor3=function(te,oe,xe){return oe[xe+1]},Wt.Predictor4=function(te,oe,xe){return oe[xe-1]},Wt.Predictor5=function(te,oe,xe){return Fa(Fa(te,oe[xe+1]),oe[xe+0])},Wt.Predictor6=function(te,oe,xe){return Fa(te,oe[xe-1])},Wt.Predictor7=function(te,oe,xe){return Fa(te,oe[xe+0])},Wt.Predictor8=function(te,oe,xe){return Fa(oe[xe-1],oe[xe+0])},Wt.Predictor9=function(te,oe,xe){return Fa(oe[xe+0],oe[xe+1])},Wt.Predictor10=function(te,oe,xe){return Fa(Fa(te,oe[xe-1]),Fa(oe[xe+0],oe[xe+1]))},Wt.Predictor11=function(te,oe,xe){var ke=oe[xe+0];return 0>=ai(ke>>24&255,te>>24&255,(oe=oe[xe-1])>>24&255)+ai(ke>>16&255,te>>16&255,oe>>16&255)+ai(ke>>8&255,te>>8&255,oe>>8&255)+ai(255&ke,255&te,255&oe)?ke:te},Wt.Predictor12=function(te,oe,xe){var ke=oe[xe+0];return(Zi((te>>24&255)+(ke>>24&255)-((oe=oe[xe-1])>>24&255))<<24|Zi((te>>16&255)+(ke>>16&255)-(oe>>16&255))<<16|Zi((te>>8&255)+(ke>>8&255)-(oe>>8&255))<<8|Zi((255&te)+(255&ke)-(255&oe)))>>>0},Wt.Predictor13=function(te,oe,xe){var ke=oe[xe-1];return(xi((te=Fa(te,oe[xe+0]))>>24&255,ke>>24&255)<<24|xi(te>>16&255,ke>>16&255)<<16|xi(te>>8&255,ke>>8&255)<<8|xi(255&te,255&ke))>>>0};var Ed=Wt.PredictorAdd0;Wt.PredictorAdd1=Ni,aa("Predictor2","PredictorAdd2"),aa("Predictor3","PredictorAdd3"),aa("Predictor4","PredictorAdd4"),aa("Predictor5","PredictorAdd5"),aa("Predictor6","PredictorAdd6"),aa("Predictor7","PredictorAdd7"),aa("Predictor8","PredictorAdd8"),aa("Predictor9","PredictorAdd9"),aa("Predictor10","PredictorAdd10"),aa("Predictor11","PredictorAdd11"),aa("Predictor12","PredictorAdd12"),aa("Predictor13","PredictorAdd13");var _c=Wt.PredictorAdd2;Aa("ColorIndexInverseTransform","MapARGB","32b",function(te){return te>>8&255},function(te){return te}),Aa("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(te){return te},function(te){return te>>8&255});var Po,mf=Wt.ColorIndexInverseTransform,Ml=Wt.MapARGB,Ol=Wt.VP8LColorIndexInverseTransformAlpha,bd=Wt.MapAlpha,wd=Wt.VP8LPredictorsAdd=[];wd.length=16,(Wt.VP8LPredictors=[]).length=16,(Wt.VP8LPredictorsAdd_C=[]).length=16,(Wt.VP8LPredictors_C=[]).length=16;var xd,Cd,Fu,Bu,Du,hc,Su,mc,rl,kl,Yi,$i,jo,Qo,au,Fd,Rc,pf,Km,Qm,Jm,Xm,qm,$m,Bd,ep,tp,np,rp=ee(511),ap=ee(2041),ip=ee(225),op=ee(767),sp=0,N0=ap,vf=ip,Hs=op,al=rp,gf=0,yf=1,lp=2,Af=3,Ef=4,L0=5,up=6,P0=7,j0=8,bf=9,I0=10,kv=[2,3,7],Tv=[3,3,11],cp=[280,256,256,256,40],_v=[0,1,1,1,0],Rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],zv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Uv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Wv=8,M0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],O0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Dd=null,Zv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Hv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Yv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Vv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Gv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Kv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Nu=[],gl=[],iu=[],Qv=1,fp=2,Lu=[],il=[];tu("UpsampleRgbLinePair",bu,3),tu("UpsampleBgrLinePair",cs,3),tu("UpsampleRgbaLinePair",Cs,4),tu("UpsampleBgraLinePair",gd,4),tu("UpsampleArgbLinePair",vd,4),tu("UpsampleRgba4444LinePair",cc,2),tu("UpsampleRgb565LinePair",uc,2);var Jv=Wt.UpsampleRgbLinePair,Xv=Wt.UpsampleBgrLinePair,hp=Wt.UpsampleRgbaLinePair,mp=Wt.UpsampleBgraLinePair,pp=Wt.UpsampleArgbLinePair,vp=Wt.UpsampleRgba4444LinePair,qv=Wt.UpsampleRgb565LinePair,wf=16,xf=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&vl()),ke.Pb&&0(yt=xe.Md)?0:100Mt;++Mt)12>(Sn=Xe.pb[Mt]).lc&&(Sn.ia=yt*og[0>Sn.lc?0:Sn.lc]>>3),sn|=Sn.ia;sn&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=xe.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Ot,hn){if(Ot==null)return 0;if(hn==null)return Ro(Ot,2,"NULL VP8Io parameter in VP8Decode().");if(!Ot.cb&&!jl(Ot,hn))return 0;if(E(Ot.cb),hn.ac==null||hn.ac(hn)){hn.ob&&(Ot.L=0);var bn=Cf[Ot.L];if(Ot.L==2?(Ot.yb=0,Ot.zb=0):(Ot.yb=hn.v-bn>>4,Ot.zb=hn.j-bn>>4,0>Ot.yb&&(Ot.yb=0),0>Ot.zb&&(Ot.zb=0)),Ot.Va=hn.o+15+bn>>4,Ot.Hb=hn.va+15+bn>>4,Ot.Hb>Ot.za&&(Ot.Hb=Ot.za),Ot.Va>Ot.Ub&&(Ot.Va=Ot.Ub),0bn;++bn){var Bn;if(Ot.Qa.Cb){var er=Ot.Qa.Lb[bn];Ot.Qa.Fb||(er+=Jn.Tb)}else er=Jn.Tb;for(Bn=0;1>=Bn;++Bn){var rr=Ot.gd[bn][Bn],gr=er;if(Jn.Pc&&(gr+=Jn.vd[0],Bn&&(gr+=Jn.od[0])),0<(gr=0>gr?0:63>2:fr>>1)>9-Jn.wb&&(fr=9-Jn.wb),1>fr&&(fr=1),rr.dd=fr,rr.tc=2*gr+fr,rr.ld=40<=gr?2:15<=gr?1:0}else rr.tc=0;rr.La=Bn}}}bn=0}else Ro(Ot,6,"Frame setup failed"),bn=Ot.a;if(bn=bn==0){if(bn){Ot.$c=0,0Ot.Vb){if(Ot.Vb=0,Ot.Ec=ee(rr),Ot.Fc=0,Ot.Ec==null){bn=Ro(Ot,1,"no memory during frame initialization.");break t}Ot.Vb=rr}rr=Ot.Ec,gr=Ot.Fc,Ot.Ac=rr,Ot.Bc=gr,gr+=Jn,Ot.Gd=de(ga,$d),Ot.Hd=0,Ot.rb=de(ta+1,id),Ot.sb=1,Ot.wa=di?de(di,el):null,Ot.Y=0,Ot.D.Nb=0,Ot.D.wa=Ot.wa,Ot.D.Y=Ot.Y,0=bn;++bn)rp[255+bn]=0>bn?-bn:bn;for(bn=-1020;1020>=bn;++bn)ap[1020+bn]=-128>bn?-128:127=bn;++bn)ip[112+bn]=-16>bn?-16:15=bn;++bn)op[255+bn]=0>bn?0:255Mi;++Mi){var Xo,Ri=Fs[0+Mi];for(Xo=0;4>Xo;++Xo){Ri=Vv[lo[ds+Xo]][Ri];for(var Ki=dp[or(oi,Ri[0])];0>3;for(Ki=0;256>Ki;Ki+=16)Mi[Es+Ki]=Ps}fs=1,yl=ds[0]}var eo=15&oi.la,qo=15&Bs.la;for(Ki=0;4>Ki;++Ki){var Ys=1&qo;for(Ps=Qi=0;4>Ps;++Ps)eo=eo>>1|(Ys=(Mo=Dd(lo,yl,Mo=Ys+(1&eo),Co.Sc,fs,Mi,Es))>fs)<<7,Qi=Qi<<2|(3>=4,qo=qo>>1|Ys<<7,Xo=(Xo<<8|Qi)>>>0}for(yl=eo,fs=qo>>4,Fo=0;4>Fo;Fo+=2){for(Qi=0,eo=oi.la>>4+Fo,qo=Bs.la>>4+Fo,Ki=0;2>Ki;++Ki){for(Ys=1&qo,Ps=0;2>Ps;++Ps)Mo=Ys+(1&eo),eo=eo>>1|(Ys=0<(Mo=Dd(lo,ds[2],Mo,Co.Qc,0,Mi,Es)))<<3,Qi=Qi<<2|(3>=2,qo=qo>>1|Ys<<5}Ri|=Qi<<4*Fo,yl|=eo<<4<=ca.zb&&ca.M<=ca.Va,ca.Aa==0)t:{if(fi.M=ca.M,fi.uc=oi,nl(ca,fi),Io=1,fi=(Qi=ca.D).Nb,oi=(Ri=Cf[ca.L])*ca.R,lo=Ri/2*ca.B,Ki=16*fi*ca.R,Ps=8*fi*ca.B,ds=ca.sa,Fs=ca.ta-oi+Ki,Co=ca.qa,Mi=ca.ra-lo+Ps,Es=ca.Ha,Bs=ca.Ia-lo+Ps,qo=(eo=Qi.M)==0,Xo=eo>=ca.Va-1,ca.Aa==2&&nl(ca,Qi),Qi.uc)for(Ys=(Mo=ca).D.M,E(Mo.D.uc),Qi=Mo.yb;QiWr.o&&(eo=Wr.o),Wr.F=null,Wr.J=null,ca.Fa!=null&&0>1),Wr.W+=ca.B*(Ri>>1),Wr.F!=null&&(Wr.J+=Wr.width*Ri)),Qi>1,Wr.W+=Wr.v>>1,Wr.F!=null&&(Wr.J+=Wr.v),Wr.ka=Qi-Wr.j,Wr.U=Wr.va-Wr.v,Wr.T=eo-Qi,Io=Wr.put(Wr))}fi+1!=ca.Ic||Xo||(b(ca.sa,ca.ta-oi,ds,Fs+16*ca.R,oi),b(ca.qa,ca.ra-lo,Co,Mi+8*ca.B,lo),b(ca.Ha,ca.Ia-lo,Es,Bs+8*ca.B,lo))}if(!Io)return Ro(Li,6,"Output aborted.")}return 1}(Ot,hn)),hn.bc!=null&&hn.bc(hn),bn&=1}return bn?(Ot.cb=0,bn):0})(te,ke)||(oe=te.a)}}else oe=te.a}oe==0&&ot.Oa!=null&&ot.Oa.fd&&(oe=Ad(ot.ba))}ot=oe}at=ot!=0?null:11>at?vt.f.RGBA.eb:vt.f.kb.y}else at=null;return at};var Ep=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function ye(Wt,An){for(var dt="",Nt=0;Nt<4;Nt++)dt+=String.fromCharCode(Wt[An++]);return dt}function Le(Wt,An){return Wt[An+0]|Wt[An+1]<<8}function Ge(Wt,An){return(Wt[An+0]|Wt[An+1]<<8|Wt[An+2]<<16)>>>0}function nt(Wt,An){return(Wt[An+0]|Wt[An+1]<<8|Wt[An+2]<<16|Wt[An+3]<<24)>>>0}new pe;var De=[0],Ft=[0],Et=[],Bt=new pe,ht=a,en=function(Wt,An){var dt={},Nt=0,qt=!1,Jt=0,In=0;if(dt.frames=[],!function(st,_t){for(var Vt=0;Vt<4;Vt++)if(st[_t+Vt]!="RIFF".charCodeAt(Vt))return!0;return!1}(Wt,An)){for(nt(Wt,An+=4),An+=8;An>1&1}Tn!="ANMF"&&(An+=Dn)}return dt}}(ht,0);en.response=ht,en.rgbaoutput=!0,en.dataurl=!1;var Qt=en.header?en.header:null,Rt=en.frames?en.frames:null;if(Qt){Qt.loop_counter=Qt.loop_count,De=[Qt.canvas_height],Ft=[Qt.canvas_width];for(var Nn=0;Nn=2?Lt[1]:Vr[0],Vr[2]=Lt.length>=3?Lt[2]:Vr[0],Vr[3]=Lt.length>=4?Lt[3]:Vr[1]),ye.margin=Vr}});var Rn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Rn},set:function(Lt){Rn=Lt}});var Wn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Wn},set:function(Lt){Wn=Lt}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(Lt){or=Lt}}),Object.defineProperty(this,"ctx",{get:function(){return ye},set:function(Lt){Lt instanceof Le&&(ye=Lt)}}),Object.defineProperty(this,"path",{get:function(){return ye.path},set:function(Lt){ye.path=Lt}});var Ar=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ar},set:function(Lt){Ar=Lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lt){var Vr;Vr=nt(Lt),this.ctx.fillStyle=Vr.style,this.ctx.isFillTransparent=Vr.a===0,this.ctx.fillOpacity=Vr.a,this.pdf.setFillColor(Vr.r,Vr.g,Vr.b,{a:Vr.a}),this.pdf.setTextColor(Vr.r,Vr.g,Vr.b,{a:Vr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lt){var Vr=nt(Lt);this.ctx.strokeStyle=Vr.style,this.ctx.isStrokeTransparent=Vr.a===0,this.ctx.strokeOpacity=Vr.a,Vr.a===0?this.pdf.setDrawColor(255,255,255):(Vr.a,this.pdf.setDrawColor(Vr.r,Vr.g,Vr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lt){["butt","round","square"].indexOf(Lt)!==-1&&(this.ctx.lineCap=Lt,this.pdf.setLineCap(Lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lt){isNaN(Lt)||(this.ctx.lineWidth=Lt,this.pdf.setLineWidth(Lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lt){["bevel","round","miter"].indexOf(Lt)!==-1&&(this.ctx.lineJoin=Lt,this.pdf.setLineJoin(Lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lt){isNaN(Lt)||(this.ctx.miterLimit=Lt,this.pdf.setMiterLimit(Lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lt){this.ctx.textBaseline=Lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lt){["right","end","center","left","start"].indexOf(Lt)!==-1&&(this.ctx.textAlign=Lt)}});var Yr=null,Hr=null,wa=null;Object.defineProperty(this,"fontFaces",{get:function(){return wa},set:function(Lt){Yr=null,Hr=null,wa=Lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lt){var Vr;if(this.ctx.font=Lt,(Vr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Lt))!==null){var hi=Vr[1];Vr[2];var Oa=Vr[3],pr=Vr[4];Vr[5];var ka=Vr[6],aa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(pr)[2];pr=Math.floor(aa==="px"?parseFloat(pr)*this.pdf.internal.scaleFactor:aa==="em"?parseFloat(pr)*this.pdf.getFontSize():parseFloat(pr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(pr);var Ia=function(Aa){var Lo,Ti,pi=[],vi=Aa.trim();if(vi==="")return c0;if(vi in Sm)return[Sm[vi]];for(;vi!=="";){switch(Ti=null,Lo=(vi=Lm(vi)).charAt(0)){case'"':case"'":Ti=pv(vi.substring(1),Lo);break;default:Ti=vv(vi)}if(Ti===null||(pi.push(Ti[0]),(vi=Lm(Ti[1]))!==""&&vi.charAt(0)!==","))return c0;vi=vi.replace(/^,/,"")}return pi}(ka);if(this.fontFaces){var Fa=function(Aa,Lo){var Ti=Aa.getFontList(),pi=JSON.stringify(Ti);if(Yr===null||Hr!==pi){var vi=function(vo){var Na=[];return Object.keys(vo).forEach(function(no){vo[no].forEach(function(za){var ii=null;switch(za){case"bold":ii={family:no,weight:"bold"};break;case"italic":ii={family:no,style:"italic"};break;case"bolditalic":ii={family:no,weight:"bold",style:"italic"};break;case"":case"normal":ii={family:no}}ii!==null&&(ii.ref={name:no,style:za},Na.push(ii))})}),Na}(Ti);Yr=function(vo){for(var Na={},no=0;no=700||hi==="bold")&&(ai="bold"),hi==="italic"&&(ai+="italic"),ai.length===0&&(ai="normal");for(var Ni="",Ci={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ma=0;ma=2*Math.PI&&(tn=0,mn=2*Math.PI),this.path.push({type:"arc",x:st,y:_t,radius:Vt,startAngle:tn,endAngle:mn,counterclockwise:wn})},Ge.prototype.arcTo=function(st,_t,Vt,tn,mn){throw new Error("arcTo not implemented.")},Ge.prototype.rect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(st,_t),this.lineTo(st+Vt,_t),this.lineTo(st+Vt,_t+tn),this.lineTo(st,_t+tn),this.lineTo(st,_t),this.lineTo(st+Vt,_t),this.lineTo(st,_t)},Ge.prototype.fillRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!De.call(this)){var mn={};this.lineCap!=="butt"&&(mn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(mn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(st,_t,Vt,tn),this.fill(),mn.hasOwnProperty("lineCap")&&(this.lineCap=mn.lineCap),mn.hasOwnProperty("lineJoin")&&(this.lineJoin=mn.lineJoin)}},Ge.prototype.strokeRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(st,_t,Vt,tn),this.stroke())},Ge.prototype.clearRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(st,_t,Vt,tn))},Ge.prototype.save=function(st){st=typeof st!="boolean"||st;for(var _t=this.pdf.internal.getCurrentPageInfo().pageNumber,Vt=0;Vt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ge.prototype.drawImage=function(st,_t,Vt,tn,mn,wn,Rn,Wn,or){var Ar=this.pdf.getImageProperties(st),Yr=1,Hr=1,wa=1,Lt=1;tn!==void 0&&Wn!==void 0&&(wa=Wn/tn,Lt=or/mn,Yr=Ar.width/tn*Wn/tn,Hr=Ar.height/mn*or/mn),wn===void 0&&(wn=_t,Rn=Vt,_t=0,Vt=0),tn!==void 0&&Wn===void 0&&(Wn=tn,or=mn),tn===void 0&&Wn===void 0&&(Wn=Ar.width,or=Ar.height);var Vr=this.ctx.transform.decompose(),hi=Dn(Vr.rotate.shx),Oa=new pe,pr=(Oa=(Oa=(Oa=Oa.multiply(Vr.translate)).multiply(Vr.skew)).multiply(Vr.scale)).applyToRectangle(new le(wn-_t*wa,Rn-Vt*Lt,tn*Yr,mn*Hr));if(this.autoPaging){for(var ka,aa=Bt.call(this,pr),Ia=[],Fa=0;FaZi||aipr||aa0)){for(;or>=0;or--)if(mn[or-1].close!==!0&&mn[or-1].begin!==!0){mn[or-1].deltas.push(Vt),mn[or-1].abs.push(Wn);break}}break;case"bct":Vt=[Wn.x1-wn[Rn-1].x,Wn.y1-wn[Rn-1].y,Wn.x2-wn[Rn-1].x,Wn.y2-wn[Rn-1].y,Wn.x-wn[Rn-1].x,Wn.y-wn[Rn-1].y],mn[mn.length-1].deltas.push(Vt);break;case"qct":var Ar=wn[Rn-1].x+2/3*(Wn.x1-wn[Rn-1].x),Yr=wn[Rn-1].y+2/3*(Wn.y1-wn[Rn-1].y),Hr=Wn.x+2/3*(Wn.x1-Wn.x),wa=Wn.y+2/3*(Wn.y1-Wn.y),Lt=Wn.x,Vr=Wn.y;Vt=[Ar-wn[Rn-1].x,Yr-wn[Rn-1].y,Hr-wn[Rn-1].x,wa-wn[Rn-1].y,Lt-wn[Rn-1].x,Vr-wn[Rn-1].y],mn[mn.length-1].deltas.push(Vt);break;case"arc":mn.push({deltas:[],abs:[],arc:!0}),Array.isArray(mn[mn.length-1].abs)&&mn[mn.length-1].abs.push(Wn)}}tn=_t?null:st==="stroke"?"stroke":"fill";for(var hi=!1,Oa=0;Oa=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale);var si=this.autoPaging!=="text";if(si||ma.y+ma.h<=Fa){if(si||ma.y>=aa&&ma.x<=xi){var Aa=si?st.text:this.pdf.splitTextToSize(st.text,st.maxWidth||xi-ma.x)[0],Lo=en([JSON.parse(JSON.stringify(Hr))],this.posX+this.margin[3],-Ni+aa+this.ctx.prevPageLastElemOffset)[0],Ti=si&&(ka>Oa||ka=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)}}else st.scale>=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale),this.pdf.text(st.text,or.x+this.posX,or.y+this.posY,{angle:st.angle,align:_t,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),st.scale>=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)},qt=function(st,_t,Vt,tn){Vt=Vt||0,tn=tn||0,this.pdf.internal.out(y(st+Vt)+" "+b(_t+tn)+" l")},Jt=function(st,_t,Vt){return this.pdf.lines(st,_t,Vt,null,null)},In=function(st,_t,Vt,tn,mn,wn,Rn,Wn){this.pdf.internal.out([E(z(Vt+st)),E(ee(tn+_t)),E(z(mn+st)),E(ee(wn+_t)),E(z(Rn+st)),E(ee(Wn+_t)),"c"].join(" "))},Tn=function(st,_t,Vt,tn){for(var mn=2*Math.PI,wn=Math.PI/2;_t>Vt;)_t-=mn;var Rn=Math.abs(Vt-_t);Rn1e-5;){var Yr=Ar+or*Math.min(Rn,wn);Wn.push(zn.call(this,st,Ar,Yr)),Rn-=Math.abs(Yr-Ar),Ar=Yr}return Wn},zn=function(st,_t,Vt){var tn=(Vt-_t)/2,mn=st*Math.cos(tn),wn=st*Math.sin(tn),Rn=mn,Wn=-wn,or=Rn*Rn+Wn*Wn,Ar=or+Rn*mn+Wn*wn,Yr=4/3*(Math.sqrt(2*or*Ar)-Ar)/(Rn*wn-Wn*mn),Hr=Rn-Yr*Wn,wa=Wn+Yr*Rn,Lt=Hr,Vr=-wa,hi=tn+_t,Oa=Math.cos(hi),pr=Math.sin(hi);return{x1:st*Math.cos(_t),y1:st*Math.sin(_t),x2:Hr*Oa-wa*pr,y2:Hr*pr+wa*Oa,x3:Lt*Oa-Vr*pr,y3:Lt*pr+Vr*Oa,x4:st*Math.cos(Vt),y4:st*Math.sin(Vt)}},Dn=function(st){return 180*st/Math.PI},Hn=function(st,_t,Vt,tn,mn,wn){var Rn=st+.5*(Vt-st),Wn=_t+.5*(tn-_t),or=mn+.5*(Vt-mn),Ar=wn+.5*(tn-wn),Yr=Math.min(st,mn,Rn,or),Hr=Math.max(st,mn,Rn,or),wa=Math.min(_t,wn,Wn,Ar),Lt=Math.max(_t,wn,Wn,Ar);return new le(Yr,wa,Hr-Yr,Lt-wa)},Dr=function(st,_t,Vt,tn,mn,wn,Rn,Wn){var or,Ar,Yr,Hr,wa,Lt,Vr,hi,Oa,pr,ka,aa,Ia,Fa,Zi=Vt-st,xi=tn-_t,ai=mn-Vt,Ni=wn-tn,Ci=Rn-mn,ma=Wn-wn;for(Ar=0;Ar<41;Ar++)Oa=(Vr=(Yr=st+(or=Ar/40)*Zi)+or*((wa=Vt+or*ai)-Yr))+or*(wa+or*(mn+or*Ci-wa)-Vr),pr=(hi=(Hr=_t+or*xi)+or*((Lt=tn+or*Ni)-Hr))+or*(Lt+or*(wn+or*ma-Lt)-hi),Ar==0?(ka=Oa,aa=pr,Ia=Oa,Fa=pr):(ka=Math.min(ka,Oa),aa=Math.min(aa,pr),Ia=Math.max(Ia,Oa),Fa=Math.max(Fa,pr));return new le(Math.round(ka),Math.round(aa),Math.round(Ia-ka),Math.round(Fa-aa))},lr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var st,_t,Vt=(st=this.ctx.lineDash,_t=this.ctx.lineDashOffset,JSON.stringify({lineDash:st,lineDashOffset:_t}));this.prevLineDash!==Vt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Vt)}}})(ha.API),function(a){var E=function(de){var le,pe,ye,Le,Ge,nt,De,Ft,Et,Bt;for(/[^\x00-\xFF]/.test(de),pe=[],ye=0,Le=(de+=le="\0\0\0\0".slice(de.length%4||4)).length;Le>ye;ye+=4)(Ge=(de.charCodeAt(ye)<<24)+(de.charCodeAt(ye+1)<<16)+(de.charCodeAt(ye+2)<<8)+de.charCodeAt(ye+3))!==0?(nt=(Ge=((Ge=((Ge=((Ge=(Ge-(Bt=Ge%85))/85)-(Et=Ge%85))/85)-(Ft=Ge%85))/85)-(De=Ge%85))/85)%85,pe.push(nt+33,De+33,Ft+33,Et+33,Bt+33)):pe.push(122);return function(ht,en){for(var Qt=en;Qt>0;Qt--)ht.pop()}(pe,le.length),String.fromCharCode.apply(String,pe)+"~>"},y=function(de){var le,pe,ye,Le,Ge,nt=String,De="length",Ft=255,Et="charCodeAt",Bt="slice",ht="replace";for(de[Bt](-2),de=de[Bt](0,-2)[ht](/\s/g,"")[ht]("z","!!!!!"),ye=[],Le=0,Ge=(de+=le="uuuuu"[Bt](de[De]%5||5))[De];Ge>Le;Le+=5)pe=52200625*(de[Et](Le)-33)+614125*(de[Et](Le+1)-33)+7225*(de[Et](Le+2)-33)+85*(de[Et](Le+3)-33)+(de[Et](Le+4)-33),ye.push(Ft&pe>>24,Ft&pe>>16,Ft&pe>>8,Ft&pe);return function(en,Qt){for(var Rt=Qt;Rt>0;Rt--)en.pop()}(ye,le[De]),nt.fromCharCode.apply(nt,ye)},b=function(de){return de.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(de){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((de=de.replace(/\s/g,"")).indexOf(">")!==-1&&(de=de.substr(0,de.indexOf(">"))),de.length%2&&(de+="0"),le.test(de)===!1)return"";for(var pe="",ye=0;yeEt&&(Ft=Bt,Bt=Et,Et=Ft);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",Et>Bt&&(Ft=Bt,Bt=Et,Et=Ft)}return{width:Bt,height:Et,unit:pe,k:Ge,orientation:le}},a.html=function(le,pe){(pe=pe||{}).callback=pe.callback||function(){},pe.html2canvas=pe.html2canvas||{},pe.html2canvas.canvas=pe.html2canvas.canvas||this.canvas,pe.jsPDF=pe.jsPDF||this,pe.fontFaces=pe.fontFaces?pe.fontFaces.map(u0):null;var ye=new de(pe);return pe.worker?ye:ye.from(le).doCallback()}}(ha.API),ha.API.addJS=function(a){return jm=a,this.internal.events.subscribe("postPutResources",function(){Gd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Gd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Pm=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+jm+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Gd!==void 0&&Pm!==void 0&&this.internal.out("/Names <>")}),this},function(a){var E;a.events.push(["postPutResources",function(){var y=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=y.outline.render().split(/\r\n/),ee=0;ee> endobj")}var De=y.internal.newObject();for(y.internal.write("<< /Names [ "),ee=0;ee>","endobj"),E=y.internal.newObject(),y.internal.write("<< /Dests "+De+" 0 R"),y.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var y=this;y.outline.root.children.length>0&&(y.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&y.internal.write("/Names "+E+" 0 R"))}]),a.events.push(["initialized",function(){var y=this;y.outline={createNamedDestinations:!1,root:{children:[]}},y.outline.add=function(b,z,ee){var de={title:z,options:ee,children:[]};return b==null&&(b=this.root),b.children.push(de),de},y.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=y,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},y.outline.genIds_r=function(b){b.id=y.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},y.outline.renderItems=function(b){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,ee=0;ee0&&this.line("/Prev "+this.makeRef(b.children[ee-1])),ee0&&(this.line("/First "+this.makeRef(de.children[0])),this.line("/Last "+this.makeRef(de.children[de.children.length-1])));var le=this.count=this.count_r({count:0},de);if(le>0&&this.line("/Count "+le),de.options&&de.options.pageNumber){var pe=y.internal.getPageInfo(de.options.pageNumber);this.line("/Dest ["+pe.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var ye=0;ye>"}),"transparency"in Nt&&Array.isArray(Nt.transparency)&&Nt.transparency.length>0){for(var zn="",Dn=0,Hn=Nt.transparency.length;Dn>",Et.content=ee;var Qt=Et.objId+" 0 R";ee="<>";else if(b.options.pageNumber)switch(ee="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=1};var ye=a.__arabicParser__.arabicLetterHasFinalForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length>=3};var Le=a.__arabicParser__.arabicLetterHasMedialForm=function(Et){return de(Et)&&ee(Et)&&E[Et.charCodeAt(0)].length==4},Ge=a.__arabicParser__.resolveLigatures=function(Et){var Bt=0,ht=y,en="",Qt=0;for(Bt=0;Bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(a){var E=function(){var y=void 0;Object.defineProperty(this,"pdf",{get:function(){return y},set:function(le){y=le}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(le){b=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(le){z=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var ee=[];Object.defineProperty(this,"childNodes",{get:function(){return ee},set:function(le){ee=le}});var de={};Object.defineProperty(this,"style",{get:function(){return de},set:function(le){de=le}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(y,b){var z;if((y=y||"2d")!=="2d")return null;for(z in b)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=b[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ha.API),function(a){var E={left:0,top:0,bottom:0,right:0},y=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new ee,this.internal.__cell__.pages=1},ee=function(){var pe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pe},set:function(Et){pe=Et}});var ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ye},set:function(Et){ye=Et}});var Le=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Le},set:function(Et){Le=Et}});var Ge=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ge},set:function(Et){Ge=Et}});var nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return nt},set:function(Et){nt=Et}});var De=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return De},set:function(Et){De=Et}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(Et){Ft=Et}}),this};ee.prototype.clone=function(){return new ee(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ee.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(pe){return b.call(this),this.internal.__cell__.headerFunction=typeof pe=="function"?pe:void 0,this},a.getTextDimensions=function(pe,ye){b.call(this);var Le=(ye=ye||{}).fontSize||this.getFontSize(),Ge=ye.font||this.getFont(),nt=ye.scaleFactor||this.internal.scaleFactor,De=0,Ft=0,Et=0,Bt=this;if(!Array.isArray(pe)&&typeof pe!="string"){if(typeof pe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");pe=String(pe)}var ht=ye.maxWidth;ht>0?typeof pe=="string"?pe=this.splitTextToSize(pe,ht):Object.prototype.toString.call(pe)==="[object Array]"&&(pe=pe.reduce(function(Qt,Rt){return Qt.concat(Bt.splitTextToSize(Rt,ht))},[])):pe=Array.isArray(pe)?pe:[pe];for(var en=0;enthis.getPageHeight()?(this.cellAddPage(),pe.y=Ge.top,De&&nt&&(this.printHeaderRow(pe.lineNumber,!0),pe.y+=nt[0].height)):pe.y=ye.y+ye.height||pe.y),pe.text[0]!==void 0&&(this.rect(pe.x,pe.y,pe.width,pe.height,y===!0?"FD":void 0),pe.align==="right"?this.text(pe.text,pe.x+pe.width-Le,pe.y+Le,{align:"right",baseline:"top"}):pe.align==="center"?this.text(pe.text,pe.x+pe.width/2,pe.y+Le,{align:"center",baseline:"top",maxWidth:pe.width-Le-Le}):this.text(pe.text,pe.x+Le,pe.y+Le,{align:"left",baseline:"top",maxWidth:pe.width-Le-Le})),this.internal.__cell__.lastCell=pe,this};a.table=function(pe,ye,Le,Ge,nt){if(b.call(this),!Le)throw new Error("No data for PDF table.");var De,Ft,Et,Bt,ht=[],en=[],Qt=[],Rt={},Nn={},qn=[],_n=[],un=(nt=nt||{}).autoSize||!1,Wt=nt.printHeaders!==!1,An=nt.css&&nt.css["font-size"]!==void 0?16*nt.css["font-size"]:nt.fontSize||12,dt=nt.margins||Object.assign({width:this.getPageWidth()},E),Nt=typeof nt.padding=="number"?nt.padding:3,qt=nt.headerBackgroundColor||"#c8c8c8",Jt=nt.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Wt,this.internal.__cell__.margins=dt,this.internal.__cell__.table_font_size=An,this.internal.__cell__.padding=Nt,this.internal.__cell__.headerBackgroundColor=qt,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(An),Ge==null)en=ht=Object.keys(Le[0]),Qt=ht.map(function(){return"left"});else if(Array.isArray(Ge)&&(0,x.Z)(Ge[0])==="object")for(ht=Ge.map(function(Dr){return Dr.name}),en=Ge.map(function(Dr){return Dr.prompt||Dr.name||""}),Qt=Ge.map(function(Dr){return Dr.align||"left"}),De=0;De0&&this.setTableHeaderRow(nt),this.setFont(void 0,"normal"),y=!1}}(ha.API);var Cm={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Fm=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],l0=xm(Fm),Bm=[100,200,300,400,500,600,700,800,900],hv=xm(Bm);function u0(a){var E=a.family.replace(/"|'/g,"").toLowerCase(),y=function(ee){return Cm[ee=ee||"normal"]?ee:"normal"}(a.style),b=function(ee){return ee?typeof ee=="number"?ee>=100&&ee<=900&&ee%100==0?ee:400:/^\d00$/.test(ee)?parseInt(ee):ee==="bold"?700:400:400}(a.weight),z=function(ee){return typeof l0[ee=ee||"normal"]=="number"?ee:"normal"}(a.stretch);return{family:E,style:y,weight:b,stretch:z,src:a.src||[],ref:a.ref||{name:E,style:[z,y,b].join(" ")}}}function Dm(a,E,y,b){var z;for(z=y;z>=0&&z=0&&z>>1)&255}return z}function zm(a,E,y){var b=a.length,z=[];z[0]=4;for(var ee=0;ee>ee&de}function Um(a,E,y,b){var z=y*b,ee=Math.floor(z/8),de=16-(z-8*ee+b),le=(1<>8&255;ye.setUint8(Le,nt)}})(a,ee,Wm(a,ee)&~(le<>7,de=1<<1+(7&z);a[E++],a[E++];var le=null,pe=null;ee&&(le=E,pe=de,E+=3*de);var ye=!0,Le=[],Ge=0,nt=null,De=0,Ft=null;for(this.width=y,this.height=b;ye&&E=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}break;case 249:if(a[E++]!==4||a[E+4]!==0)throw new Error("Invalid graphics extension block.");var Et=a[E++];Ge=a[E++]|a[E++]<<8,nt=a[E++],1&Et||(nt=null),De=Et>>2&7,E++;break;case 254:for(;;){if(!((dt=a[E++])>=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}break;default:throw new Error("Unknown graphic control label: 0x"+a[E-1].toString(16))}break;case 44:var Bt=a[E++]|a[E++]<<8,ht=a[E++]|a[E++]<<8,en=a[E++]|a[E++]<<8,Qt=a[E++]|a[E++]<<8,Rt=a[E++],Nn=Rt>>6&1,qn=1<<1+(7&Rt),_n=le,un=pe,Wt=!1;Rt>>7&&(Wt=!0,_n=E,un=qn,E+=3*qn);var An=E;for(E++;;){var dt;if(!((dt=a[E++])>=0))throw Error("Invalid block size");if(dt===0)break;E+=dt}Le.push({x:Bt,y:ht,width:en,height:Qt,has_local_palette:Wt,palette_offset:_n,palette_size:un,data_offset:An,data_length:E-An,transparent_index:nt,interlaced:!!Nn,delay:Ge,disposal:De});break;case 59:ye=!1;break;default:throw new Error("Unknown gif block: 0x"+a[E-1].toString(16))}this.numFrames=function(){return Le.length},this.loopCount=function(){return Ft},this.frameInfo=function(Nt){if(Nt<0||Nt>=Le.length)throw new Error("Frame index out of range.");return Le[Nt]},this.decodeAndBlitFrameBGRA=function(Nt,qt){var Jt=this.frameInfo(Nt),In=Jt.width*Jt.height,Tn=new Uint8Array(In);Zm(a,Jt.data_offset,Tn,In);var zn=Jt.palette_offset,Dn=Jt.transparent_index;Dn===null&&(Dn=256);var Hn=Jt.width,Dr=y-Hn,lr=Hn,st=4*(Jt.y*y+Jt.x),_t=4*((Jt.y+Jt.height)*y+Jt.x),Vt=st,tn=4*Dr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,wn=0,Rn=Tn.length;wn=_t&&(tn=4*Dr+4*y*(mn-1),Vt=st+(Hn+Dr)*(mn<<1),mn>>=1)),Wn===Dn)Vt+=4;else{var or=a[zn+3*Wn],Ar=a[zn+3*Wn+1],Yr=a[zn+3*Wn+2];qt[Vt++]=Yr,qt[Vt++]=Ar,qt[Vt++]=or,qt[Vt++]=255}--lr}},this.decodeAndBlitFrameRGBA=function(Nt,qt){var Jt=this.frameInfo(Nt),In=Jt.width*Jt.height,Tn=new Uint8Array(In);Zm(a,Jt.data_offset,Tn,In);var zn=Jt.palette_offset,Dn=Jt.transparent_index;Dn===null&&(Dn=256);var Hn=Jt.width,Dr=y-Hn,lr=Hn,st=4*(Jt.y*y+Jt.x),_t=4*((Jt.y+Jt.height)*y+Jt.x),Vt=st,tn=4*Dr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,wn=0,Rn=Tn.length;wn=_t&&(tn=4*Dr+4*y*(mn-1),Vt=st+(Hn+Dr)*(mn<<1),mn>>=1)),Wn===Dn)Vt+=4;else{var or=a[zn+3*Wn],Ar=a[zn+3*Wn+1],Yr=a[zn+3*Wn+2];qt[Vt++]=or,qt[Vt++]=Ar,qt[Vt++]=Yr,qt[Vt++]=255}--lr}}}function Zm(a,E,y,b){for(var z=a[E++],ee=1<>=pe,Le-=pe,Bt!==ee){if(Bt===de)break;for(var ht=Btee;)Qt=Ft[Qt]>>8,++en;var Rt=Qt;if(nt+en+(ht!==Bt?1:0)>b)return void qi.log("Warning, gif stream longer than expected.");y[nt++]=Rt;var Nn=nt+=en;for(ht!==Bt&&(y[nt++]=Rt),Qt=ht;en--;)Qt=Ft[Qt],y[--Nn]=255&Qt,Qt>>=8;Et!==null&&le<4096&&(Ft[le++]=Et<<8|Rt,le>=ye+1&&pe<12&&(++pe,ye=ye<<1|1)),Et=Bt}else le=de+1,ye=(1<<(pe=z+1))-1,Et=null}return nt!==b&&qi.log("Warning, gif stream shorter than expected."),y}function f0(a){var E,y,b,z,ee,de=Math.floor,le=new Array(64),pe=new Array(64),ye=new Array(64),Le=new Array(64),Ge=new Array(65535),nt=new Array(65535),De=new Array(64),Ft=new Array(64),Et=[],Bt=0,ht=7,en=new Array(64),Qt=new Array(64),Rt=new Array(64),Nn=new Array(256),qn=new Array(2048),_n=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],un=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Wt=[0,1,2,3,4,5,6,7,8,9,10,11],An=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Nt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],qt=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],In=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(st,_t){for(var Vt=0,tn=0,mn=new Array,wn=1;wn<=16;wn++){for(var Rn=1;Rn<=st[wn];Rn++)mn[_t[tn]]=[],mn[_t[tn]][0]=Vt,mn[_t[tn]][1]=wn,tn++,Vt++;Vt*=2}return mn}function zn(st){for(var _t=st[0],Vt=st[1]-1;Vt>=0;)_t&1<>8&255),Dn(255&st)}function Dr(st,_t,Vt,tn,mn){for(var wn,Rn=mn[0],Wn=mn[240],or=function(pr,ka){var aa,Ia,Fa,Zi,xi,ai,Ni,Ci,ma,si,Aa=0;for(ma=0;ma<8;++ma){aa=pr[Aa],Ia=pr[Aa+1],Fa=pr[Aa+2],Zi=pr[Aa+3],xi=pr[Aa+4],ai=pr[Aa+5],Ni=pr[Aa+6];var Lo=aa+(Ci=pr[Aa+7]),Ti=aa-Ci,pi=Ia+Ni,vi=Ia-Ni,vo=Fa+ai,Na=Fa-ai,no=Zi+xi,za=Zi-xi,ii=Lo+no,go=Lo-no,gi=pi+vo,Ta=pi-vo;pr[Aa]=ii+gi,pr[Aa+4]=ii-gi;var Hi=.707106781*(Ta+go);pr[Aa+2]=go+Hi,pr[Aa+6]=go-Hi;var qu=.382683433*((ii=za+Na)-(Ta=vi+Ti)),As=.5411961*ii+qu,Hl=1.306562965*Ta+qu,Sl=.707106781*(gi=Na+vi),_a=Ti+Sl,Yl=Ti-Sl;pr[Aa+5]=Yl+As,pr[Aa+3]=Yl-As,pr[Aa+1]=_a+Hl,pr[Aa+7]=_a-Hl,Aa+=8}for(Aa=0,ma=0;ma<8;++ma){aa=pr[Aa],Ia=pr[Aa+8],Fa=pr[Aa+16],Zi=pr[Aa+24],xi=pr[Aa+32],ai=pr[Aa+40],Ni=pr[Aa+48];var Vl=aa+(Ci=pr[Aa+56]),Xs=aa-Ci,qs=Ia+Ni,xo=Ia-Ni,as=Fa+ai,ls=Fa-ai,$u=Zi+xi,Au=Zi-xi,fl=Vl+$u,Nl=Vl-$u,hl=qs+as,ml=qs-as;pr[Aa]=fl+hl,pr[Aa+32]=fl-hl;var $s=.707106781*(ml+Nl);pr[Aa+16]=Nl+$s,pr[Aa+48]=Nl-$s;var ec=.382683433*((fl=Au+ls)-(ml=xo+Xs)),Ll=.5411961*fl+ec,tc=1.306562965*ml+ec,Sc=.707106781*(hl=ls+xo),Nc=Xs+Sc,Lc=Xs-Sc;pr[Aa+40]=Lc+Ll,pr[Aa+24]=Lc-Ll,pr[Aa+8]=Nc+tc,pr[Aa+56]=Nc-tc,Aa++}for(ma=0;ma<64;++ma)si=pr[ma]*ka[ma],De[ma]=si>0?si+.5|0:si-.5|0;return De}(st,_t),Ar=0;Ar<64;++Ar)Ft[_n[Ar]]=or[Ar];var Yr=Ft[0]-Vt;Vt=Ft[0],Yr==0?zn(tn[0]):(zn(tn[nt[wn=32767+Yr]]),zn(Ge[wn]));for(var Hr=63;Hr>0&&Ft[Hr]==0;)Hr--;if(Hr==0)return zn(Rn),Vt;for(var wa,Lt=1;Lt<=Hr;){for(var Vr=Lt;Ft[Lt]==0&&Lt<=Hr;)++Lt;var hi=Lt-Vr;if(hi>=16){wa=hi>>4;for(var Oa=1;Oa<=wa;++Oa)zn(Wn);hi&=15}wn=32767+Ft[Lt],zn(mn[(hi<<4)+nt[wn]]),zn(Ge[wn]),Lt++}return Hr!=63&&zn(Rn),Vt}function lr(st){st=Math.min(Math.max(st,1),100),ee!=st&&(function(_t){for(var Vt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tn=0;tn<64;tn++){var mn=de((Vt[tn]*_t+50)/100);mn=Math.min(Math.max(mn,1),255),le[_n[tn]]=mn}for(var wn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Rn=0;Rn<64;Rn++){var Wn=de((wn[Rn]*_t+50)/100);Wn=Math.min(Math.max(Wn,1),255),pe[_n[Rn]]=Wn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ar=0,Yr=0;Yr<8;Yr++)for(var Hr=0;Hr<8;Hr++)ye[Ar]=1/(le[_n[Ar]]*or[Yr]*or[Hr]*8),Le[Ar]=1/(pe[_n[Ar]]*or[Yr]*or[Hr]*8),Ar++}(st<50?Math.floor(5e3/st):Math.floor(200-2*st)),ee=st)}this.encode=function(st,_t){_t&&lr(_t),Et=new Array,Bt=0,ht=7,Hn(65496),Hn(65504),Hn(16),Dn(74),Dn(70),Dn(73),Dn(70),Dn(0),Dn(1),Dn(1),Dn(0),Hn(1),Hn(1),Dn(0),Dn(0),function(){Hn(65499),Hn(132),Dn(0);for(var Ia=0;Ia<64;Ia++)Dn(le[Ia]);Dn(1);for(var Fa=0;Fa<64;Fa++)Dn(pe[Fa])}(),function(Ia,Fa){Hn(65472),Hn(17),Dn(8),Hn(Fa),Hn(Ia),Dn(3),Dn(1),Dn(17),Dn(0),Dn(2),Dn(17),Dn(1),Dn(3),Dn(17),Dn(1)}(st.width,st.height),function(){Hn(65476),Hn(418),Dn(0);for(var Ia=0;Ia<16;Ia++)Dn(un[Ia+1]);for(var Fa=0;Fa<=11;Fa++)Dn(Wt[Fa]);Dn(16);for(var Zi=0;Zi<16;Zi++)Dn(An[Zi+1]);for(var xi=0;xi<=161;xi++)Dn(dt[xi]);Dn(1);for(var ai=0;ai<16;ai++)Dn(Nt[ai+1]);for(var Ni=0;Ni<=11;Ni++)Dn(qt[Ni]);Dn(17);for(var Ci=0;Ci<16;Ci++)Dn(Jt[Ci+1]);for(var ma=0;ma<=161;ma++)Dn(In[ma])}(),Hn(65498),Hn(12),Dn(3),Dn(1),Dn(0),Dn(2),Dn(17),Dn(3),Dn(17),Dn(0),Dn(63),Dn(0);var Vt=0,tn=0,mn=0;Bt=0,ht=7,this.encode.displayName="_encode_";for(var wn,Rn,Wn,or,Ar,Yr,Hr,wa,Lt,Vr=st.data,hi=st.width,Oa=st.height,pr=4*hi,ka=0;ka>3)*pr+(Hr=4*(7&Lt)),ka+wa>=Oa&&(Yr-=pr*(ka+1+wa-Oa)),wn+Hr>=pr&&(Yr-=wn+Hr-pr+4),Rn=Vr[Yr++],Wn=Vr[Yr++],or=Vr[Yr++],en[Lt]=(qn[Rn]+qn[Wn+256|0]+qn[or+512|0]>>16)-128,Qt[Lt]=(qn[Rn+768|0]+qn[Wn+1024|0]+qn[or+1280|0]>>16)-128,Rt[Lt]=(qn[Rn+1280|0]+qn[Wn+1536|0]+qn[or+1792|0]>>16)-128;Vt=Dr(en,ye,Vt,E,b),tn=Dr(Qt,Le,tn,y,z),mn=Dr(Rt,Le,mn,y,z),wn+=32}ka+=8}if(ht>=0){var aa=[];aa[1]=ht+1,aa[0]=(1<Nt;Nt++)if(Wt[An+Nt]!=dt.charCodeAt(Nt))return!0;return!1}function b(Wt,An,dt,Nt,qt){for(var Jt=0;JtJt+1?[]:new An),!(In.length>>0;te&xe;)xe>>>=1;return xe?(te&xe-1)+xe:te}function dt(te,oe,xe,ke,Xe){E(!(ke%xe));do te[oe+(ke-=xe)]=Xe;while(0=Xe),512>=Xe)var at=ee(512);else if((at=ee(Xe))==null)return 0;return function(ot,vt,yt,Mt,sn,Sn){var Ot,hn,bn=vt,Jn=1<Ot;++Ot){if(Bn[Ot]>1<(di-=Bn[Ot]))return 0;for(;0=Ot;++Ot,sn<<=1){if(ta+=di<<=1,0>(di-=Bn[Ot]))return 0;for(;0gr&&!(0>=(rr-=Bn[gr]));)++gr,rr<<=1;Jn+=ua=1<<(rr=gr-yt),ot[vt+(gr=ga&fr)].g=rr+yt,ot[vt+gr].value=bn-vt-gr}Mt.g=Ot-yt,Mt.value=Sn[hn++],dt(ot,bn+(ga>>yt),sn,ua,Mt),ga=An(ga,Ot)}}return ta!=2*er[15]-1?0:Jn}(te,oe,xe,ke,Xe,at)}function qt(){this.value=this.g=0}function Jt(){this.value=this.g=0}function In(){this.G=de(5,qt),this.H=ee(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=de(fc,Jt)}function Tn(te,oe,xe,ke){E(te!=null),E(oe!=null),E(2147483648>ke),te.Ca=254,te.I=0,te.b=-8,te.Ka=0,te.oa=oe,te.pa=xe,te.Jd=oe,te.Yc=xe+ke,te.Zc=4<=ke?xe+ke-4+1:xe,Rn(te)}function zn(te,oe){for(var xe=0;0ke),te.Sb=ke,te.Ra=0,te.u=0,te.h=0,4>>=8,te.Ra+=te.oa[te.pa+te.bb]<>>0,++te.bb,te.u-=8;tn(te)&&(te.h=1,te.u=0)}function lr(te,oe){if(E(0<=oe),!te.h&&oe<=Zs){var xe=Vt(te)&Ws[oe];return te.u+=oe,Dr(te),xe}return te.h=1,te.u=0}function st(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _t(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Vt(te){return te.Ra>>>(te.u&xu-1)>>>0}function tn(te){return E(te.bb<=te.Sb),te.h||te.bb==te.Sb&&te.u>xu}function mn(te,oe){te.u=oe,te.h=tn(te)}function wn(te){te.u>=ru&&(E(te.u>=ru),Dr(te))}function Rn(te){E(te!=null&&te.oa!=null),te.pa>>0,te.b+=8):(E(te!=null&&te.oa!=null),te.pate.b&&Rn(te);var ke=te.b,Xe=xe*oe>>>8,at=(te.I>>>ke>Xe)+0;for(at?(xe-=Xe,te.I-=Xe+1<>>0):xe=Xe+1,ke=xe,Xe=0;256<=ke;)Xe+=8,ke>>=8;return ke=7^Xe+Cu[ke],te.b-=ke,te.Ca=(xe<>24&255,te[oe+1]=xe>>16&255,te[oe+2]=xe>>8&255,te[oe+3]=255&xe}function Yr(te,oe){return te[oe+0]|te[oe+1]<<8}function Hr(te,oe){return Yr(te,oe)|te[oe+2]<<16}function wa(te,oe){return Yr(te,oe)|Yr(te,oe+2)<<16}function Lt(te,oe){var xe=1<=Xe||0>=at?0:(xe[0]=Xe,ke[0]=at,1)}function pr(te,oe){return te+(1<>>oe}function ka(te,oe){return((4278255360&te)+(4278255360&oe)>>>0&4278255360)+((16711935&te)+(16711935&oe)>>>0&16711935)>>>0}function aa(te,oe){Wt[oe]=function(xe,ke,Xe,at,ot,vt,yt){var Mt;for(Mt=0;Mt>>1)+(te&oe)>>>0}function Zi(te){return 0<=te&&256>te?te:0>te?0:255>1))}function ai(te,oe,xe){return Math.abs(oe-xe)-Math.abs(te-xe)}function Ni(te,oe,xe,ke,Xe,at,ot){for(ke=at[ot-1],xe=0;xe>8&255,yt=16711935&(yt=(yt=16711935&ot)+((vt<<16)+vt));ke[Xe+at]=(4278255360&ot)+yt>>>0}}function ma(te,oe){oe.jd=255&te,oe.hd=te>>8&255,oe.ud=te>>16&255}function si(te,oe,xe,ke,Xe,at){var ot;for(ot=0;ot>>8,Mt=vt,sn=255&(sn=(sn=vt>>>16)+((te.jd<<24>>24)*(yt<<24>>24)>>>5));Mt=255&(Mt=(Mt+=(te.hd<<24>>24)*(yt<<24>>24)>>>5)+((te.ud<<24>>24)*(sn<<24>>24)>>>5)),Xe[at+ot]=(4278255360&vt)+(sn<<16)+Mt}}function Aa(te,oe,xe,ke,Xe){Wt[oe]=function(at,ot,vt,yt,Mt,sn,Sn,Ot,hn){for(yt=Sn;yt>at.b,hn=at.Ea,bn=at.K[0],Jn=at.w;if(8>Ot)for(at=(1<>=Ot}else Wt["VP8LMapColor"+xe](yt,Mt,bn,Jn,sn,Sn,ot,vt,hn)}}function Lo(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=at>>8&255,ke[Xe++]=255&at}}function Ti(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=at>>8&255,ke[Xe++]=255&at,ke[Xe++]=at>>24&255}}function pi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&240|ot>>12&15,ot=240&ot|ot>>28&15;ke[Xe++]=at,ke[Xe++]=ot}}function vi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&248|ot>>13&7,ot=ot>>5&224|ot>>3&31;ke[Xe++]=at,ke[Xe++]=ot}}function vo(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>8&255,ke[Xe++]=at>>16&255}}function Na(te,oe,xe,ke,Xe,at){if(at==0)for(xe=oe+xe;oe>24|at[1]>>8&65280|at[2]<<8&16711680|at[3]<<24)>>>0),Xe+=32;else b(ke,Xe,te,oe,xe)}function no(te,oe){Wt[oe][0]=Wt[te+"0"],Wt[oe][1]=Wt[te+"1"],Wt[oe][2]=Wt[te+"2"],Wt[oe][3]=Wt[te+"3"],Wt[oe][4]=Wt[te+"4"],Wt[oe][5]=Wt[te+"5"],Wt[oe][6]=Wt[te+"6"],Wt[oe][7]=Wt[te+"7"],Wt[oe][8]=Wt[te+"8"],Wt[oe][9]=Wt[te+"9"],Wt[oe][10]=Wt[te+"10"],Wt[oe][11]=Wt[te+"11"],Wt[oe][12]=Wt[te+"12"],Wt[oe][13]=Wt[te+"13"],Wt[oe][14]=Wt[te+"0"],Wt[oe][15]=Wt[te+"0"]}function za(te){return te==P0||te==j0||te==bf||te==I0}function ii(){this.eb=[],this.size=this.A=this.fb=0}function go(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function gi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ii,this.f.kb=new go,this.sd=null}function Ta(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Hi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function qu(te){return alert("todo:WebPSamplerProcessPlane"),te.T}function As(te,oe){var xe=te.T,ke=oe.ba.f.RGBA,Xe=ke.eb,at=ke.fb+te.ka*ke.A,ot=il[oe.ba.S],vt=te.y,yt=te.O,Mt=te.f,sn=te.N,Sn=te.ea,Ot=te.W,hn=oe.cc,bn=oe.dc,Jn=oe.Mc,Bn=oe.Nc,er=te.ka,rr=te.ka+te.T,gr=te.U,fr=gr+1>>1;for(er==0?ot(vt,yt,null,null,Mt,sn,Sn,Ot,Mt,sn,Sn,Ot,Xe,at,null,null,gr):(ot(oe.ec,oe.fc,vt,yt,hn,bn,Jn,Bn,Mt,sn,Sn,Ot,Xe,at-ke.A,Xe,at,gr),++xe);er+2xe,Xe=xe==yf||xe==Af||xe==Ef||xe==L0||xe==12||za(xe);if(oe.memory=null,oe.Ib=null,oe.Jb=null,oe.Nd=null,!yd(oe.Oa,te,Xe?11:12))return 0;if(Xe&&za(xe)&&pd(),te.da)alert("todo:use_scaling");else{if(ke){if(oe.Ib=qu,te.Kb){if(xe=te.U+1>>1,oe.memory=ee(te.U+2*xe),oe.memory==null)return 0;oe.ec=oe.memory,oe.fc=0,oe.cc=oe.ec,oe.dc=oe.fc+te.U,oe.Mc=oe.cc,oe.Nc=oe.dc+xe,oe.Ib=As,pd()}}else alert("todo:EmitYUV");Xe&&(oe.Jb=Hl,ke&&vl())}if(ke&&!yp){for(te=0;256>te;++te)eg[te]=89858*(te-128)+xf>>wf,rg[te]=-22014*(te-128)+xf,ng[te]=-45773*(te-128),tg[te]=113618*(te-128)+xf>>wf;for(te=Sd;te>wf,ag[te-Sd]=Pl(oe,255),ig[te-Sd]=Pl(oe+8>>4,15);yp=1}return 1}function _a(te){var oe=te.ma,xe=te.U,ke=te.T;return E(!(1&te.ka)),0>=xe||0>=ke?0:(xe=oe.Ib(te,oe),oe.Jb!=null&&oe.Jb(te,oe,xe),oe.Dc+=xe,1)}function Yl(te){te.ma.memory=null}function Vl(te,oe,xe,ke){return lr(te,8)!=47?0:(oe[0]=lr(te,14)+1,xe[0]=lr(te,14)+1,ke[0]=lr(te,1),lr(te,3)!=0?0:!te.h)}function Xs(te,oe){if(4>te)return te+1;var xe=te-2>>1;return(2+(1&te)<>4)*te+(8-(15&xe)))?xe:1;var xe}function xo(te,oe,xe){var ke=Vt(xe),Xe=te[oe+=255&ke].g-8;return 0>>0,E(8>=xe.g),te.g}function ls(te,oe,xe){var ke=te.xc;return E((oe=ke==0?0:te.vc[te.md*(xe>>ke)+(oe>>ke)])>ua.b)*ta;Jngr&&(ca=gr),(0,wd[Li[Jo++]>>8&15])(Ot,hn+ +fi,er,rr+fi-gr,ca-fi,er,rr+fi),fi=ca}hn+=gr,rr+=gr,++Jn&ga||(ua+=ta)}Sn!=Mt.nc&&b(yt,vt-bn,yt,vt+(Sn-sn-1)*bn,bn);break;case 1:for(bn=Ot,Bn=hn,gr=(Ot=Mt.Ea)-(rr=Ot&~(er=(hn=1<>Mt.b)*Jn;sn=Xe),0at.o&&(ke=at.o),xe=ke?xe=0:(Xe[0]+=4*at.v,at.ka=xe-at.j,at.U=at.va-at.v,at.T=ke-xe,xe=1),xe){if(vt=vt[0],11>(xe=te.ca).S){var sn=xe.f.RGBA,Sn=(ke=xe.S,Xe=at.U,at=at.T,Mt=sn.eb,sn.A),Ot=at;for(sn=sn.fb+te.Ma*sn.A;0ke){var Xe=te.l.width,at=xe.ca,ot=xe.tb+Xe*ke,vt=te.V,yt=te.Ba+te.c*ke,Mt=te.gc;E(te.ab==1),E(Mt[0].hc==3),Ol(Mt[0],ke,oe,vt,yt,at,ot),Nl(xe,ke,oe,at,ot,Xe)}te.C=te.Ma=oe}function ml(te,oe,xe,ke,Xe,at,ot){var vt=te.$/ke,yt=te.$%ke,Mt=te.m,sn=te.s,Sn=xe+te.$,Ot=Sn;Xe=xe+ke*Xe;var hn=xe+ke*at,bn=280+sn.ua,Jn=te.Pb?vt:16777216,Bn=0=Jn){var ga=Sn-xe;E((Jn=te).Pb),Jn.wd=Jn.m,Jn.xd=ga,0di.g?(mn(fr,fr.u+di.g),ga[ta]=di.value,fr=0):(mn(fr,fr.u+di.g-256),E(256<=di.value),fr=di.value),fr==0&&(gr=!0)}else fr=xo(rr.G[0],rr.H[0],Mt);if(Mt.h)break;if(gr||256>fr){if(!gr)if(rr.nd)oe[Sn]=(rr.qb|fr<<8)>>>0;else{if(wn(Mt),gr=xo(rr.G[1],rr.H[1],Mt),wn(Mt),ga=xo(rr.G[2],rr.H[2],Mt),ta=xo(rr.G[3],rr.H[3],Mt),Mt.h)break;oe[Sn]=(ta<<24|gr<<16|fr<<8|ga)>>>0}if(gr=!1,++Sn,++yt>=ke&&(yt=0,++vt,ot!=null&&vt<=at&&!(vt%16)&&ot(te,vt),Bn!=null))for(;Ot>>Bn.Mb]=fr}else if(280>fr){if(fr=Xs(fr-256,Mt),ga=xo(rr.G[4],rr.H[4],Mt),wn(Mt),ga=qs(ke,ga=Xs(ga,Mt)),Mt.h)break;if(Sn-xe=ke;)yt-=ke,++vt,ot!=null&&vt<=at&&!(vt%16)&&ot(te,vt);if(E(Sn<=Xe),yt&er&&(rr=ls(sn,yt,vt)),Bn!=null)for(;Ot>>Bn.Mb]=fr}else{if(!(fr>>Bn.Mb]=fr;fr=Sn,E(!(gr>>>(ga=Bn).Xa)),oe[fr]=ga.X[gr],gr=!0}gr||E(Mt.h==tn(Mt))}if(te.Pb&&Mt.h&&Snat?at:vt),te.a=0,te.$=Sn-xe}return 1}return te.a=3,0}function $s(te){E(te!=null),te.vc=null,te.yc=null,te.Ya=null;var oe=te.Wa;oe!=null&&(oe.X=null),te.vb=null,E(te!=null)}function ec(){var te=new Ga;return te==null?null:(te.a=0,te.xb=fp,no("Predictor","VP8LPredictors"),no("Predictor","VP8LPredictors_C"),no("PredictorAdd","VP8LPredictorsAdd"),no("PredictorAdd","VP8LPredictorsAdd_C"),Po=Ci,xd=si,Cd=Lo,Fu=Ti,Bu=pi,Du=vi,hc=vo,Wt.VP8LMapColor32b=Ml,Wt.VP8LMapColor8b=bd,te)}function Ll(te,oe,xe,ke,Xe){var at=1,ot=[te],vt=[oe],yt=ke.m,Mt=ke.s,sn=null,Sn=0;e:for(;;){if(xe)for(;at&&lr(yt,1);){var Ot=ot,hn=vt,bn=ke,Jn=1,Bn=bn.m,er=bn.gc[bn.ab],rr=lr(Bn,2);if(bn.Oc&1<=bn.ab),rr){case 0:case 1:er.b=lr(Bn,3)+2,Jn=Ll(pr(er.Ea,er.b),pr(er.nc,er.b),0,bn,er.K),er.K=er.K[0];break;case 3:var gr,fr=lr(Bn,8)+1,ga=16>ua.b),Jo=ee(Li);if(Jo==null)gr=0;else{var fi=ua.K[0],ca=ua.w;for(Jo[0]=ua.K[0][0],ta=1;ta<1*di;++ta)Jo[ta]=ka(fi[ca+ta],Jo[ta-1]);for(;ta<4*Li;++ta)Jo[ta]=0;ua.K[0]=null,ua.K[0]=Jo,gr=1}}Jn=gr;break;case 2:break;default:E(0)}at=Jn}}if(ot=ot[0],vt=vt[0],at&&lr(yt,1)&&!(at=1<=(Sn=lr(yt,4))&&11>=Sn)){ke.a=3;break e}var Wr;if(Wr=at)t:{var Io,oi,Mi,lo=ke,ds=ot,Fs=vt,Co=Sn,Es=xe,Bs=lo.m,Xo=lo.s,Ri=[null],Ki=1,Fo=0,Qi=Uv[Co];n:for(;;){if(Es&&lr(Bs,1)){var fs=lr(Bs,3)+2,yl=pr(ds,fs),Mo=pr(Fs,fs),Ps=yl*Mo;if(!Ll(yl,Mo,0,lo,Ri))break n;for(Ri=Ri[0],Xo.xc=fs,Io=0;Io>8&65535;Ri[Io]=eo,eo>=Ki&&(Ki=eo+1)}}if(Bs.h)break n;for(oi=0;5>oi;++oi){var qo=cp[oi];!oi&&0=Ds),Gs=Vs;var js=ee(Fo);if(Gs==null||js==null||Ys==null){lo.a=1;break n}var Ks=Ys;for(Io=Mi=0;Iooi;++oi){qo=cp[oi],Qs[oi]=Ks,Al[oi]=Mi,!oi&&0Nf)break r}else R0=Nf;for(Ld=0;Ldzc)Fp[Ld++]=zc,zc!=0&&(Bp=zc);else{var pg=zc==16,Np=zc-16,vg=Tv[Np],Lp=lr(ju,kv[Np])+vg;if(Ld+Lp>Nf)break r;for(var gg=pg?Bp:0;0=oi){var Pd,U0=js[0];for(Pd=1;PdU0&&(U0=js[Pd]);hs+=U0}}if(ao.nd=ou,ao.Qb=0,ou&&(ao.qb=(Qs[3][Al[3]+0].value<<24|Qs[1][Al[1]+0].value<<16|Qs[2][Al[2]+0].value)>>>0,pc==0&&256>Qs[0][Al[0]+0].value&&(ao.Qb=1,ao.qb+=Qs[0][Al[0]+0].value<<8)),ao.jc=!ao.Qb&&6>hs,ao.jc){var Lf,su=ao;for(Lf=0;Lf>=as(Pf,8,Mu),Iu>>=as(su.G[1][su.H[1]+Iu],16,Mu),Iu>>=as(su.G[2][su.H[2]+Iu],0,Mu),as(su.G[3][su.H[3]+Iu],24,Mu))}}}Xo.vc=Ri,Xo.Wb=Ki,Xo.Ya=Gs,Xo.yc=Ys,Wr=1;break t}Wr=0}if(!(at=Wr)){ke.a=3;break e}if(0ke+1?[]:0),!(Xe.lengthte?0:te>oe?oe:te}function Pc(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function m0(){var te=new ef;return te!=null&&(te.a=0,te.sc="OK",te.cb=0,te.Xb=0,Dd||(Dd=jc)),te}function Ro(te,oe,xe){return te.a==0&&(te.a=oe,te.sc=xe,te.cb=0),0}function tf(te,oe,xe){return 3<=xe&&te[oe+0]==157&&te[oe+1]==1&&te[oe+2]==42}function jl(te,oe){if(te==null)return 0;if(te.a=0,te.sc="OK",oe==null)return Ro(te,2,"null VP8Io passed to VP8GetHeaders()");var xe=oe.data,ke=oe.w,Xe=oe.ha;if(4>Xe)return Ro(te,7,"Truncated header.");var at=xe[ke+0]|xe[ke+1]<<8|xe[ke+2]<<16,ot=te.Od;if(ot.Rb=!(1&at),ot.td=at>>1&7,ot.yd=at>>4&1,ot.ub=at>>5,3Xe)return Ro(te,7,"cannot parse picture header");if(!tf(xe,ke,Xe))return Ro(te,3,"Bad code word");vt.c=16383&(xe[ke+4]<<8|xe[ke+3]),vt.Td=xe[ke+4]>>6,vt.i=16383&(xe[ke+6]<<8|xe[ke+5]),vt.Ud=xe[ke+6]>>6,ke+=7,Xe-=7,te.za=vt.c+15>>4,te.Ub=vt.i+15>>4,oe.width=vt.c,oe.height=vt.i,oe.Da=0,oe.j=0,oe.v=0,oe.va=oe.width,oe.o=oe.height,oe.da=0,oe.ib=oe.width,oe.hb=oe.height,oe.U=oe.width,oe.T=oe.height,z((at=te.Pa).jb,0,255,at.jb.length),E((at=te.Qa)!=null),at.Cb=0,at.Bb=0,at.Fb=1,z(at.Zb,0,0,at.Zb.length),z(at.Lb,0,0,at.Lb)}if(ot.ub>Xe)return Ro(te,7,"bad partition length");Tn(at=te.m,xe,ke,ot.ub),ke+=ot.ub,Xe-=ot.ub,ot.Rb&&(vt.Ld=Wn(at),vt.Kd=Wn(at)),vt=te.Qa;var yt,Mt=te.Pa;if(E(at!=null),E(vt!=null),vt.Cb=Wn(at),vt.Cb){if(vt.Bb=Wn(at),Wn(at)){for(vt.Fb=Wn(at),yt=0;4>yt;++yt)vt.Zb[yt]=Wn(at)?Dn(at,7):0;for(yt=0;4>yt;++yt)vt.Lb[yt]=Wn(at)?Dn(at,6):0}if(vt.Bb)for(yt=0;3>yt;++yt)Mt.jb[yt]=Wn(at)?zn(at,8):255}else vt.Bb=0;if(at.Ka)return Ro(te,3,"cannot parse segment header");if((vt=te.ed).zd=Wn(at),vt.Tb=zn(at,6),vt.wb=zn(at,3),vt.Pc=Wn(at),vt.Pc&&Wn(at)){for(Mt=0;4>Mt;++Mt)Wn(at)&&(vt.vd[Mt]=Dn(at,6));for(Mt=0;4>Mt;++Mt)Wn(at)&&(vt.od[Mt]=Dn(at,6))}if(te.L=vt.Tb==0?0:vt.zd?1:2,at.Ka)return Ro(te,3,"cannot parse filter header");var sn=Xe;if(Xe=yt=ke,ke=yt+sn,vt=sn,te.Xb=(1<vt&&(Sn=vt),Tn(te.Jc[+sn],xe,yt,Sn),yt+=Sn,vt-=Sn,Xe+=3}Tn(te.Jc[+Mt],xe,yt,vt),xe=ytSn;++Sn){if(sn.Cb){var Ot=sn.Zb[Sn];sn.Fb||(Ot+=xe)}else{if(0>16,8>hn.Eb[1]&&(hn.Eb[1]=8),hn.Qc[0]=M0[Pl(Ot+Mt,117)],hn.Qc[1]=O0[Pl(Ot+yt,127)],hn.lc=Ot+yt}if(!ot.Rb)return Ro(te,4,"Not a key frame.");for(Wn(at),ot=te.Pa,xe=0;4>xe;++xe){for(Xe=0;8>Xe;++Xe)for(ke=0;3>ke;++ke)for(vt=0;11>vt;++vt)Mt=or(at,Gv[xe][Xe][ke][vt])?zn(at,8):Yv[xe][Xe][ke][vt],ot.Wc[xe][Xe].Yb[ke][vt]=Mt;for(Xe=0;17>Xe;++Xe)ot.Xc[xe][Xe]=ot.Wc[xe][Kv[Xe]]}return te.kc=Wn(at),te.kc&&(te.Bd=zn(at,8)),te.cb=1}function jc(te,oe,xe,ke,Xe,at,ot){var vt=oe[Xe].Yb[xe];for(xe=0;16>Xe;++Xe){if(!or(te,vt[xe+0]))return Xe;for(;!or(te,vt[xe+1]);)if(vt=oe[++Xe].Yb[0],xe=0,Xe==16)return 16;var yt=oe[Xe+1].Yb;if(or(te,vt[xe+2])){var Mt=te,sn=0;if(or(Mt,(Ot=vt)[(Sn=xe)+3]))if(or(Mt,Ot[Sn+6])){for(vt=0,Sn=2*(sn=or(Mt,Ot[Sn+8]))+(Ot=or(Mt,Ot[Sn+9+sn])),sn=0,Ot=Zv[Sn];Ot[vt];++vt)sn+=sn+or(Mt,Ot[vt]);sn+=3+(8<(Mt=te).b&&Rn(Mt);var Sn,Ot=Mt.b,hn=(Sn=Mt.Ca>>1)-(Mt.I>>Ot)>>31;--Mt.b,Mt.Ca+=hn,Mt.Ca|=1,Mt.I-=(Sn+1&hn)<>3),te[oe+xe+32*ke]=-256&Xe?0>Xe?0:255:Xe}function Go(te,oe,xe,ke,Xe,at){tl(te,oe,0,xe,ke+Xe),tl(te,oe,1,xe,ke+at),tl(te,oe,2,xe,ke-at),tl(te,oe,3,xe,ke-Xe)}function Gl(te){return(20091*te>>16)+te}function rf(te,oe,xe,ke){var Xe,at=0,ot=ee(16);for(Xe=0;4>Xe;++Xe){var vt=te[oe+0]+te[oe+8],yt=te[oe+0]-te[oe+8],Mt=(35468*te[oe+4]>>16)-Gl(te[oe+12]),sn=Gl(te[oe+4])+(35468*te[oe+12]>>16);ot[at+0]=vt+sn,ot[at+1]=yt+Mt,ot[at+2]=yt-Mt,ot[at+3]=vt-sn,at+=4,oe++}for(Xe=at=0;4>Xe;++Xe)vt=(te=ot[at+0]+4)+ot[at+8],yt=te-ot[at+8],Mt=(35468*ot[at+4]>>16)-Gl(ot[at+12]),tl(xe,ke,0,0,vt+(sn=Gl(ot[at+4])+(35468*ot[at+12]>>16))),tl(xe,ke,1,0,yt+Mt),tl(xe,ke,2,0,yt-Mt),tl(xe,ke,3,0,vt-sn),at++,ke+=32}function p0(te,oe,xe,ke){var Xe=te[oe+0]+4,at=35468*te[oe+4]>>16,ot=Gl(te[oe+4]),vt=35468*te[oe+1]>>16;Go(xe,ke,0,Xe+ot,te=Gl(te[oe+1]),vt),Go(xe,ke,1,Xe+at,te,vt),Go(xe,ke,2,Xe-at,te,vt),Go(xe,ke,3,Xe-ot,te,vt)}function v0(te,oe,xe,ke,Xe){rf(te,oe,xe,ke),Xe&&rf(te,oe+16,xe,ke+4)}function Il(te,oe,xe,ke){mc(te,oe+0,xe,ke,1),mc(te,oe+32,xe,ke+128,1)}function af(te,oe,xe,ke){var Xe;for(te=te[oe+0]+4,Xe=0;4>Xe;++Xe)for(oe=0;4>oe;++oe)tl(xe,ke,oe,Xe,te)}function of(te,oe,xe,ke){te[oe+0]&&Yi(te,oe+0,xe,ke),te[oe+16]&&Yi(te,oe+16,xe,ke+4),te[oe+32]&&Yi(te,oe+32,xe,ke+128),te[oe+48]&&Yi(te,oe+48,xe,ke+128+4)}function Ic(te,oe,xe,ke){var Xe,at=ee(16);for(Xe=0;4>Xe;++Xe){var ot=te[oe+0+Xe]+te[oe+12+Xe],vt=te[oe+4+Xe]+te[oe+8+Xe],yt=te[oe+4+Xe]-te[oe+8+Xe],Mt=te[oe+0+Xe]-te[oe+12+Xe];at[0+Xe]=ot+vt,at[8+Xe]=ot-vt,at[4+Xe]=Mt+yt,at[12+Xe]=Mt-yt}for(Xe=0;4>Xe;++Xe)ot=(te=at[0+4*Xe]+3)+at[3+4*Xe],vt=at[1+4*Xe]+at[2+4*Xe],yt=at[1+4*Xe]-at[2+4*Xe],Mt=te-at[3+4*Xe],xe[ke+0]=ot+vt>>3,xe[ke+16]=Mt+yt>>3,xe[ke+32]=ot-vt>>3,xe[ke+48]=Mt-yt>>3,ke+=64}function nc(te,oe,xe){var ke,Xe=oe-32,at=Hs,ot=255-te[Xe-1];for(ke=0;kexe;++xe)b(te,oe+32*xe,te,oe-32,16)}function sf(te,oe){var xe;for(xe=16;0ke;++ke)z(oe,xe+32*ke,te,16)}function E0(te,oe){var xe,ke=16;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe]+te[oe+xe-32];pl(ke>>5,te,oe)}function rc(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe];pl(ke>>4,te,oe)}function ld(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe+xe-32];pl(ke>>4,te,oe)}function b0(te,oe){pl(128,te,oe)}function Ja(te,oe,xe){return te+2*oe+xe+2>>2}function w0(te,oe){var xe,ke=oe-32;for(ke=new Uint8Array([Ja(te[ke-1],te[ke+0],te[ke+1]),Ja(te[ke+0],te[ke+1],te[ke+2]),Ja(te[ke+1],te[ke+2],te[ke+3]),Ja(te[ke+2],te[ke+3],te[ke+4])]),xe=0;4>xe;++xe)b(te,oe+32*xe,ke,0,ke.length)}function x0(te,oe){var xe=te[oe-1],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96];Ar(te,oe+0,16843009*Ja(te[oe-1-32],xe,ke)),Ar(te,oe+32,16843009*Ja(xe,ke,Xe)),Ar(te,oe+64,16843009*Ja(ke,Xe,at)),Ar(te,oe+96,16843009*Ja(Xe,at,at))}function C0(te,oe){var xe,ke=4;for(xe=0;4>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];for(ke>>=3,xe=0;4>xe;++xe)z(te,oe+32*xe,ke,4)}function Kl(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],yt=te[oe+2-32],Mt=te[oe+3-32];te[oe+0+96]=Ja(ke,Xe,te[oe-1+96]),te[oe+1+96]=te[oe+0+64]=Ja(xe,ke,Xe),te[oe+2+96]=te[oe+1+64]=te[oe+0+32]=Ja(at,xe,ke),te[oe+3+96]=te[oe+2+64]=te[oe+1+32]=te[oe+0+0]=Ja(ot,at,xe),te[oe+3+64]=te[oe+2+32]=te[oe+1+0]=Ja(vt,ot,at),te[oe+3+32]=te[oe+2+0]=Ja(yt,vt,ot),te[oe+3+0]=Ja(Mt,yt,vt)}function Ql(te,oe){var xe=te[oe+1-32],ke=te[oe+2-32],Xe=te[oe+3-32],at=te[oe+4-32],ot=te[oe+5-32],vt=te[oe+6-32],yt=te[oe+7-32];te[oe+0+0]=Ja(te[oe+0-32],xe,ke),te[oe+1+0]=te[oe+0+32]=Ja(xe,ke,Xe),te[oe+2+0]=te[oe+1+32]=te[oe+0+64]=Ja(ke,Xe,at),te[oe+3+0]=te[oe+2+32]=te[oe+1+64]=te[oe+0+96]=Ja(Xe,at,ot),te[oe+3+32]=te[oe+2+64]=te[oe+1+96]=Ja(at,ot,vt),te[oe+3+64]=te[oe+2+96]=Ja(ot,vt,yt),te[oe+3+96]=Ja(vt,yt,yt)}function F0(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],yt=te[oe+2-32],Mt=te[oe+3-32];te[oe+0+0]=te[oe+1+64]=at+ot+1>>1,te[oe+1+0]=te[oe+2+64]=ot+vt+1>>1,te[oe+2+0]=te[oe+3+64]=vt+yt+1>>1,te[oe+3+0]=yt+Mt+1>>1,te[oe+0+96]=Ja(Xe,ke,xe),te[oe+0+64]=Ja(ke,xe,at),te[oe+0+32]=te[oe+1+96]=Ja(xe,at,ot),te[oe+1+32]=te[oe+2+96]=Ja(at,ot,vt),te[oe+2+32]=te[oe+3+96]=Ja(ot,vt,yt),te[oe+3+32]=Ja(vt,yt,Mt)}function B0(te,oe){var xe=te[oe+0-32],ke=te[oe+1-32],Xe=te[oe+2-32],at=te[oe+3-32],ot=te[oe+4-32],vt=te[oe+5-32],yt=te[oe+6-32],Mt=te[oe+7-32];te[oe+0+0]=xe+ke+1>>1,te[oe+1+0]=te[oe+0+64]=ke+Xe+1>>1,te[oe+2+0]=te[oe+1+64]=Xe+at+1>>1,te[oe+3+0]=te[oe+2+64]=at+ot+1>>1,te[oe+0+32]=Ja(xe,ke,Xe),te[oe+1+32]=te[oe+0+96]=Ja(ke,Xe,at),te[oe+2+32]=te[oe+1+96]=Ja(Xe,at,ot),te[oe+3+32]=te[oe+2+96]=Ja(at,ot,vt),te[oe+3+64]=Ja(ot,vt,yt),te[oe+3+96]=Ja(vt,yt,Mt)}function Mc(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96];te[oe+0+0]=xe+ke+1>>1,te[oe+2+0]=te[oe+0+32]=ke+Xe+1>>1,te[oe+2+32]=te[oe+0+64]=Xe+at+1>>1,te[oe+1+0]=Ja(xe,ke,Xe),te[oe+3+0]=te[oe+1+32]=Ja(ke,Xe,at),te[oe+3+32]=te[oe+1+64]=Ja(Xe,at,at),te[oe+3+64]=te[oe+2+64]=te[oe+0+96]=te[oe+1+96]=te[oe+2+96]=te[oe+3+96]=at}function ud(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],at=te[oe-1+96],ot=te[oe-1-32],vt=te[oe+0-32],yt=te[oe+1-32],Mt=te[oe+2-32];te[oe+0+0]=te[oe+2+32]=xe+ot+1>>1,te[oe+0+32]=te[oe+2+64]=ke+xe+1>>1,te[oe+0+64]=te[oe+2+96]=Xe+ke+1>>1,te[oe+0+96]=at+Xe+1>>1,te[oe+3+0]=Ja(vt,yt,Mt),te[oe+2+0]=Ja(ot,vt,yt),te[oe+1+0]=te[oe+3+32]=Ja(xe,ot,vt),te[oe+1+32]=te[oe+3+64]=Ja(ke,xe,ot),te[oe+1+64]=te[oe+3+96]=Ja(Xe,ke,xe),te[oe+1+96]=Ja(at,Xe,ke)}function ac(te,oe){var xe;for(xe=0;8>xe;++xe)b(te,oe+32*xe,te,oe-32,8)}function D0(te,oe){var xe;for(xe=0;8>xe;++xe)z(te,oe,te[oe-1],8),oe+=32}function Jl(te,oe,xe){var ke;for(ke=0;8>ke;++ke)z(oe,xe+32*ke,te,8)}function S0(te,oe){var xe,ke=8;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];Jl(ke>>4,te,oe)}function cd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32];Jl(ke>>3,te,oe)}function dd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe-1+32*xe];Jl(ke>>3,te,oe)}function lf(te,oe){Jl(128,te,oe)}function Xl(te,oe,xe){var ke=te[oe-xe],Xe=te[oe+0],at=3*(Xe-ke)+N0[1020+te[oe-2*xe]-te[oe+xe]],ot=vf[112+(at+4>>3)];te[oe-xe]=Hs[255+ke+vf[112+(at+3>>3)]],te[oe+0]=Hs[255+Xe-ot]}function fd(te,oe,xe,ke){var Xe=te[oe+0],at=te[oe+xe];return al[255+te[oe-2*xe]-te[oe-xe]]>ke||al[255+at-Xe]>ke}function Oc(te,oe,xe,ke){return 4*al[255+te[oe-xe]-te[oe+0]]+al[255+te[oe-2*xe]-te[oe+xe]]<=ke}function hd(te,oe,xe,ke,Xe){var at=te[oe-3*xe],ot=te[oe-2*xe],vt=te[oe-xe],yt=te[oe+0],Mt=te[oe+xe],sn=te[oe+2*xe],Sn=te[oe+3*xe];return 4*al[255+vt-yt]+al[255+ot-Mt]>ke?0:al[255+te[oe-4*xe]-at]<=Xe&&al[255+at-ot]<=Xe&&al[255+ot-vt]<=Xe&&al[255+Sn-sn]<=Xe&&al[255+sn-Mt]<=Xe&&al[255+Mt-yt]<=Xe}function ic(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Oc(te,oe+ke,xe,Xe)&&Xl(te,oe+ke,xe)}function md(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Oc(te,oe+ke*xe,1,Xe)&&Xl(te,oe+ke*xe,1)}function uf(te,oe,xe,ke){var Xe;for(Xe=3;0>7,er=18*rr+63>>7,rr=9*rr+63>>7;yt[Mt-3*sn]=Hs[255+yt[Mt-3*sn]+rr],yt[Mt-2*sn]=Hs[255+Sn+er],yt[Mt-sn]=Hs[255+Ot+Bn],yt[Mt+0]=Hs[255+hn-Bn],yt[Mt+sn]=Hs[255+bn-er],yt[Mt+2*sn]=Hs[255+Jn-rr]}oe+=ke}}function $l(te,oe,xe,ke,Xe,at,ot,vt){for(at=2*at+1;0>3)],Jn=vf[112+(Jn+3>>3)],Bn=bn+1>>1;yt[Mt-2*sn]=Hs[255+yt[Mt-2*sn]+Bn],yt[Mt-sn]=Hs[255+Sn+Jn],yt[Mt+0]=Hs[255+Ot-bn],yt[Mt+sn]=Hs[255+hn-Bn]}oe+=ke}}function df(te,oe,xe,ke,Xe,at){ql(te,oe,xe,1,16,ke,Xe,at)}function oc(te,oe,xe,ke,Xe,at){ql(te,oe,1,xe,16,ke,Xe,at)}function ff(te,oe,xe,ke,Xe,at){var ot;for(ot=3;0Mt?0:255:Mt)&255,Mt=yt,Xe[at+vt]=sn}}function ro(te,oe,xe,ke){var Xe=oe.width,at=oe.o;if(E(te!=null&&oe!=null),0>xe||0>=ke||xe+ke>at)return null;if(!te.Cc){if(te.ga==null){var ot;if(te.ga=new li,(ot=te.ga==null)||(ot=oe.width*oe.o,E(te.Gb.length==0),te.Gb=ee(ot),te.Uc=0,te.Gb==null?ot=0:(te.mb=te.Gb,te.nb=te.Uc,te.rc=null,ot=1),ot=!ot),!ot){ot=te.ga;var vt=te.Fa,yt=te.P,Mt=te.qc,sn=te.mb,Sn=te.nb,Ot=yt+1,hn=Mt-1,bn=ot.l;if(E(vt!=null&&sn!=null&&oe!=null),Lu[0]=null,Lu[1]=_i,Lu[2]=Ao,Lu[3]=zo,ot.ca=sn,ot.tb=Sn,ot.c=oe.width,ot.i=oe.height,E(0=Mt)oe=0;else if(ot.$a=3&vt[yt+0],ot.Z=vt[yt+0]>>2&3,ot.Lc=vt[yt+0]>>4&3,yt=vt[yt+0]>>6&3,0>ot.$a||1=ot.c*ot.i;ot=!oe}if(ot)return null;te.ga.Lc!=1?te.Ga=0:ke=at-xe}E(te.ga!=null),E(xe+ke<=at);e:{if(oe=(vt=te.ga).c,at=vt.l.o,vt.$a==0){if(Ot=te.rc,hn=te.Vc,bn=te.Fa,yt=te.P+1+xe*oe,Mt=te.mb,sn=te.nb+xe*oe,E(yt<=te.P+te.qc),vt.Z!=0)for(E(Lu[vt.Z]!=null),ot=0;ot=oe)oe=1;else if(vt.ic||vl(),vt.ic){vt=ot.V,Ot=ot.Ba,hn=ot.c;var Jn=ot.i,Bn=(bn=1,yt=ot.$/hn,Mt=ot.$%hn,sn=ot.m,Sn=ot.s,ot.$),er=hn*Jn,rr=hn*oe,gr=Sn.wc,fr=Bn(Jn=xo(fr.G[0],fr.H[0],sn)))vt[Ot+Bn]=Jn,++Bn,++Mt>=hn&&(Mt=0,++yt<=oe&&!(yt%16)&&hl(ot,yt));else{if(!(280>Jn)){bn=0;break t}Jn=Xs(Jn-256,sn);var ga,ta=xo(fr.G[4],fr.H[4],sn);if(wn(sn),!(Bn>=(ta=qs(hn,ta=Xs(ta,sn)))&&er-Bn>=Jn)){bn=0;break t}for(ga=0;ga=hn;)Mt-=hn,++yt<=oe&&!(yt%16)&&hl(ot,yt);Bnoe?oe:yt);break t}!bn||sn.h&&Bn=at&&(te.Cc=1),ke=1}if(!ke)return null;if(te.Cc&&((ke=te.ga)!=null&&(ke.mc=null),te.ga=null,0>23,vt[yt+4*ot+1]=vt[yt+4*ot+1]*Sn>>23,vt[yt+4*ot+2]=vt[yt+4*ot+2]*Sn>>23)}oe+=at}}function Uo(te,oe,xe,ke,Xe){for(;0>4)*yt>>16;te[oe+2*at+0]=(240&ot|ot>>4)*yt>>16&240|(15&ot|ot<<4)*yt>>16>>4&15,te[oe+2*at+1]=240&Mt|vt}oe+=Xe}}function us(te,oe,xe,ke,Xe,at,ot,vt){var yt,Mt,sn=255;for(Mt=0;Mt>8}function vl(){Bd=Ko,ep=Uo,tp=us,np=eu}function tu(te,oe,xe){Wt[te]=function(ke,Xe,at,ot,vt,yt,Mt,sn,Sn,Ot,hn,bn,Jn,Bn,er,rr,gr){var fr,ga=gr-1>>1,ta=vt[yt+0]|Mt[sn+0]<<16,di=Sn[Ot+0]|hn[bn+0]<<16;E(ke!=null);var ua=3*ta+di+131074>>2;for(oe(ke[Xe+0],255&ua,ua>>16,Jn,Bn),at!=null&&(ua=3*di+ta+131074>>2,oe(at[ot+0],255&ua,ua>>16,er,rr)),fr=1;fr<=ga;++fr){var Li=vt[yt+fr]|Mt[sn+fr]<<16,Jo=Sn[Ot+fr]|hn[bn+fr]<<16,fi=ta+Li+di+Jo+524296,ca=fi+2*(Li+di)>>3;ua=ca+ta>>1,ta=(fi=fi+2*(ta+Jo)>>3)+Li>>1,oe(ke[Xe+2*fr-1],255&ua,ua>>16,Jn,Bn+(2*fr-1)*xe),oe(ke[Xe+2*fr-0],255&ta,ta>>16,Jn,Bn+(2*fr-0)*xe),at!=null&&(ua=fi+di>>1,ta=ca+Jo>>1,oe(at[ot+2*fr-1],255&ua,ua>>16,er,rr+(2*fr-1)*xe),oe(at[ot+2*fr+0],255&ta,ta>>16,er,rr+(2*fr+0)*xe)),ta=Li,di=Jo}1&gr||(ua=3*ta+di+131074>>2,oe(ke[Xe+gr-1],255&ua,ua>>16,Jn,Bn+(gr-1)*xe),at!=null&&(ua=3*di+ta+131074>>2,oe(at[ot+gr-1],255&ua,ua>>16,er,rr+(gr-1)*xe)))}}function pd(){il[gf]=Jv,il[yf]=hp,il[lp]=Xv,il[Af]=mp,il[Ef]=pp,il[L0]=vp,il[up]=qv,il[P0]=hp,il[j0]=mp,il[bf]=pp,il[I0]=vp}function kc(te){return te&~$v?0>te?0:255:te>>gp}function Eu(te,oe){return kc((19077*te>>8)+(26149*oe>>8)-14234)}function sc(te,oe,xe){return kc((19077*te>>8)-(6419*oe>>8)-(13320*xe>>8)+8708)}function lc(te,oe){return kc((19077*te>>8)+(33050*oe>>8)-17685)}function bu(te,oe,xe,ke,Xe){ke[Xe+0]=Eu(te,xe),ke[Xe+1]=sc(te,oe,xe),ke[Xe+2]=lc(te,oe)}function cs(te,oe,xe,ke,Xe){ke[Xe+0]=lc(te,oe),ke[Xe+1]=sc(te,oe,xe),ke[Xe+2]=Eu(te,xe)}function uc(te,oe,xe,ke,Xe){var at=sc(te,oe,xe);oe=at<<3&224|lc(te,oe)>>3,ke[Xe+0]=248&Eu(te,xe)|at>>5,ke[Xe+1]=oe}function cc(te,oe,xe,ke,Xe){var at=240&lc(te,oe)|15;ke[Xe+0]=240&Eu(te,xe)|sc(te,oe,xe)>>4,ke[Xe+1]=at}function vd(te,oe,xe,ke,Xe){ke[Xe+0]=255,bu(te,oe,xe,ke,Xe+1)}function gd(te,oe,xe,ke,Xe){cs(te,oe,xe,ke,Xe),ke[Xe+3]=255}function Cs(te,oe,xe,ke,Xe){bu(te,oe,xe,ke,Xe),ke[Xe+3]=255}function nu(te,oe,xe){Wt[te]=function(ke,Xe,at,ot,vt,yt,Mt,sn,Sn){for(var Ot=sn+(-2&Sn)*xe;sn!=Ot;)oe(ke[Xe+0],at[ot+0],vt[yt+0],Mt,sn),oe(ke[Xe+1],at[ot+0],vt[yt+0],Mt,sn+xe),Xe+=2,++ot,++yt,sn+=2*xe;1&Sn&&oe(ke[Xe+0],at[ot+0],vt[yt+0],Mt,sn)}}function Tc(te,oe,xe){return xe==0?te==0?oe==0?6:5:oe==0?4:0:xe}function hf(te,oe,xe,ke,Xe){switch(te>>>30){case 3:mc(oe,xe,ke,Xe,0);break;case 2:rl(oe,xe,ke,Xe);break;case 1:Yi(oe,xe,ke,Xe)}}function nl(te,oe){var xe,ke,Xe=oe.M,at=oe.Nb,ot=te.oc,vt=te.pc+40,yt=te.oc,Mt=te.pc+584,sn=te.oc,Sn=te.pc+600;for(xe=0;16>xe;++xe)ot[vt+32*xe-1]=129;for(xe=0;8>xe;++xe)yt[Mt+32*xe-1]=129,sn[Sn+32*xe-1]=129;for(0xe;++xe)b(ot,vt+32*xe-4,ot,vt+32*xe+12,4);for(xe=-1;8>xe;++xe)b(yt,Mt+32*xe-4,yt,Mt+32*xe+4,4),b(sn,Sn+32*xe-4,sn,Sn+32*xe+4,4)}var hn=te.Gd,bn=te.Hd+ke,Jn=Ot.ad,Bn=Ot.Hc;if(0=te.za-1?z(er,rr,hn[bn].y[15],4):b(er,rr,hn[bn+1].y,0,4)),xe=0;4>xe;xe++)er[rr+128+xe]=er[rr+256+xe]=er[rr+384+xe]=er[rr+0+xe];for(xe=0;16>xe;++xe,Bn<<=2)er=ot,rr=vt+Ap[xe],gl[Ot.Ob[xe]](er,rr),hf(Bn,Jn,16*+xe,er,rr)}else if(er=Tc(ke,Xe,Ot.Ob[0]),Nu[er](ot,vt),Bn!=0)for(xe=0;16>xe;++xe,Bn<<=2)hf(Bn,Jn,16*+xe,ot,vt+Ap[xe]);for(xe=Ot.Gc,er=Tc(ke,Xe,Ot.Dd),iu[er](yt,Mt),iu[er](sn,Sn),Bn=Jn,er=yt,rr=Mt,255&(Ot=0|xe)&&(170&Ot?kl(Bn,256,er,rr):$i(Bn,256,er,rr)),Ot=sn,Bn=Sn,255&(xe>>=8)&&(170&xe?kl(Jn,320,Ot,Bn):$i(Jn,320,Ot,Bn)),Xexe;++xe)b(hn,bn+xe*te.R,ot,vt+32*xe,16);for(xe=0;8>xe;++xe)b(Jn,Ot+xe*te.B,yt,Mt+32*xe,8),b(Bn,er+xe*te.B,sn,Sn+32*xe,8)}}function dc(te,oe,xe,ke,Xe,at,ot,vt,yt){var Mt=[0],sn=[0],Sn=0,Ot=yt!=null?yt.kd:0,hn=yt!=null?yt:new dr;if(te==null||12>xe)return 7;hn.data=te,hn.w=oe,hn.ha=xe,oe=[oe],xe=[xe],hn.gb=[hn.gb];e:{var bn=oe,Jn=xe,Bn=hn.gb;if(E(te!=null),E(Jn!=null),E(Bn!=null),Bn[0]=0,12<=Jn[0]&&!y(te,bn[0],"RIFF")){if(y(te,bn[0]+8,"WEBP")){Bn=3;break e}var er=wa(te,bn[0]+4);if(12>er||4294967286Jn[0]-8){Bn=7;break e}Bn[0]=er,bn[0]+=12,Jn[0]-=12}Bn=0}if(Bn!=0)return Bn;for(er=0Bn[0])Bn=7;else{if(!y(rr,Jn[0],"VP8X")){if(wa(rr,Jn[0]+4)!=10){Bn=3;break e}if(18>Bn[0]){Bn=7;break e}var ta=wa(rr,Jn[0]+8),di=1+Hr(rr,Jn[0]+12);if(2147483648<=di*(rr=1+Hr(rr,Jn[0]+15))){Bn=3;break e}ga!=null&&(ga[0]=ta),gr!=null&&(gr[0]=di),fr!=null&&(fr[0]=rr),Jn[0]+=18,Bn[0]-=18,ua[0]=1}Bn=0}}if(Sn=Sn[0],bn=bn[0],Bn!=0)return Bn;if(Jn=!!(2&bn),!er&&Sn)return 3;if(at!=null&&(at[0]=!!(16&bn)),ot!=null&&(ot[0]=Jn),vt!=null&&(vt[0]=0),ot=Mt[0],bn=sn[0],Sn&&Jn&&yt==null){Bn=0;break}if(4>xe){Bn=7;break}if(er&&Sn||!er&&!Sn&&!y(te,oe[0],"ALPH")){xe=[xe],hn.na=[hn.na],hn.P=[hn.P],hn.Sa=[hn.Sa];e:{ta=te,Bn=oe,er=xe;var ua=hn.gb;gr=hn.na,fr=hn.P,ga=hn.Sa,di=22,E(ta!=null),E(er!=null),rr=Bn[0];var Li=er[0];for(E(gr!=null),E(ga!=null),gr[0]=null,fr[0]=null,ga[0]=0;;){if(Bn[0]=rr,er[0]=Li,8>Li){Bn=7;break e}var Jo=wa(ta,rr+4);if(4294967286ua){Bn=3;break e}if(!y(ta,rr,"VP8 ")||!y(ta,rr,"VP8L")){Bn=0;break e}if(Li[0]er[0])Bn=7;else{if(rr||di){if(ua=wa(ua,ta+4),12<=gr&&ua>gr-12){Bn=3;break e}if(Ot&&ua>er[0]-8){Bn=7;break e}fr[0]=ua,Bn[0]+=8,er[0]-=8,ga[0]=di}else ga[0]=5<=er[0]&&ua[ta+0]==47&&!(ua[ta+4]>>5),fr[0]=er[0];Bn=0}if(xe=xe[0],hn.Ja=hn.Ja[0],hn.xa=hn.xa[0],oe=oe[0],Bn!=0)break;if(4294967286xe){Bn=7;break}vt=ot,Ot=bn,Jn=at,te==null||5>xe?te=0:5<=xe&&te[oe+0]==47&&!(te[oe+4]>>5)?(er=[0],ua=[0],gr=[0],Hn(fr=new _t,te,oe,xe),Vl(fr,er,ua,gr)?(vt!=null&&(vt[0]=er[0]),Ot!=null&&(Ot[0]=ua[0]),Jn!=null&&(Jn[0]=gr[0]),te=1):te=0):te=0}else{if(10>xe){Bn=7;break}vt=bn,te==null||10>xe||!tf(te,oe+3,xe-3)?te=0:(Ot=te[oe+0]|te[oe+1]<<8|te[oe+2]<<16,Jn=16383&(te[oe+7]<<8|te[oe+6]),te=16383&(te[oe+9]<<8|te[oe+8]),1&Ot||3<(Ot>>1&7)||!(Ot>>4&1)||Ot>>5>=hn.Ja||!Jn||!te?te=0:(ot&&(ot[0]=Jn),vt&&(vt[0]=te),te=1))}if(!te||(ot=ot[0],bn=bn[0],Sn&&(Mt[0]!=ot||sn[0]!=bn)))return 3;yt!=null&&(yt[0]=hn,yt.offset=oe-yt.w,E(4294967286>oe-yt.w),E(yt.offset==yt.ha-xe));break}return Bn==0||Bn==7&&Sn&&yt==null?(at!=null&&(at[0]|=hn.na!=null&&0xe||(at&=-2,ot&=-2),0>at||0>ot||0>=vt||0>=yt||at+vt>ke||ot+yt>Xe))return 0;if(oe.v=at,oe.j=ot,oe.va=at+vt,oe.o=ot+yt,oe.U=vt,oe.T=yt,oe.da=te!=null&&0te.S){var oe=te.f.RGBA;oe.fb+=(te.height-1)*oe.A,oe.A=-oe.A}else oe=te.f.kb,te=te.height,oe.O+=(te-1)*oe.fa,oe.fa=-oe.fa,oe.N+=(te-1>>1)*oe.Ab,oe.Ab=-oe.Ab,oe.W+=(te-1>>1)*oe.Db,oe.Db=-oe.Db,oe.F!=null&&(oe.J+=(te-1)*oe.lb,oe.lb=-oe.lb);return 0}function wu(te,oe,xe,ke){if(ke==null||0>=te||0>=oe)return 2;if(xe!=null){if(xe.Da){var Xe=xe.cd,at=xe.bd,ot=-2&xe.v,vt=-2&xe.j;if(0>ot||0>vt||0>=Xe||0>=at||ot+Xe>te||vt+at>oe)return 2;te=Xe,oe=at}if(xe.da){if(!Oa(te,oe,Xe=[xe.ib],at=[xe.hb]))return 2;te=Xe[0],oe=at[0]}}ke.width=te,ke.height=oe;e:{var yt=ke.width,Mt=ke.height;if(te=ke.S,0>=yt||0>=Mt||!(te>=gf&&13>te))te=2;else{if(0>=ke.Rd&&ke.sd==null){ot=at=Xe=oe=0;var sn=(vt=yt*Ep[te])*Mt;if(11>te||(at=(Mt+1)/2*(oe=(yt+1)/2),te==12&&(ot=(Xe=yt)*Mt)),(Mt=ee(sn+2*at+ot))==null){te=1;break e}ke.sd=Mt,11>te?((yt=ke.f.RGBA).eb=Mt,yt.fb=0,yt.A=vt,yt.size=sn):((yt=ke.f.kb).y=Mt,yt.O=0,yt.fa=vt,yt.Fd=sn,yt.f=Mt,yt.N=0+sn,yt.Ab=oe,yt.Cd=at,yt.ea=Mt,yt.W=0+sn+at,yt.Db=oe,yt.Ed=at,te==12&&(yt.F=Mt,yt.J=0+sn+2*at),yt.Tc=ot,yt.lb=Xe)}if(oe=1,Xe=ke.S,at=ke.width,ot=ke.height,Xe>=gf&&13>Xe)if(11>Xe)te=ke.f.RGBA,oe&=(vt=Math.abs(te.A))*(ot-1)+at<=te.size,oe&=vt>=at*Ep[Xe],oe&=te.eb!=null;else{te=ke.f.kb,vt=(at+1)/2,sn=(ot+1)/2,yt=Math.abs(te.fa),Mt=Math.abs(te.Ab);var Sn=Math.abs(te.Db),Ot=Math.abs(te.lb),hn=Ot*(ot-1)+at;oe&=yt*(ot-1)+at<=te.Fd,oe&=Mt*(sn-1)+vt<=te.Cd,oe=(oe&=Sn*(sn-1)+vt<=te.Ed)&yt>=at&Mt>=vt&Sn>=vt,oe&=te.y!=null,oe&=te.f!=null,oe&=te.ea!=null,Xe==12&&(oe&=Ot>=at,oe&=hn<=te.Tc,oe&=te.F!=null)}else oe=0;te=oe?0:2}}return te!=0||xe!=null&&xe.fd&&(te=Ad(ke)),te}var fc=64,Ws=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Zs=24,xu=32,ru=8,Cu=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];aa("Predictor0","PredictorAdd0"),Wt.Predictor0=function(){return 4278190080},Wt.Predictor1=function(te){return te},Wt.Predictor2=function(te,oe,xe){return oe[xe+0]},Wt.Predictor3=function(te,oe,xe){return oe[xe+1]},Wt.Predictor4=function(te,oe,xe){return oe[xe-1]},Wt.Predictor5=function(te,oe,xe){return Fa(Fa(te,oe[xe+1]),oe[xe+0])},Wt.Predictor6=function(te,oe,xe){return Fa(te,oe[xe-1])},Wt.Predictor7=function(te,oe,xe){return Fa(te,oe[xe+0])},Wt.Predictor8=function(te,oe,xe){return Fa(oe[xe-1],oe[xe+0])},Wt.Predictor9=function(te,oe,xe){return Fa(oe[xe+0],oe[xe+1])},Wt.Predictor10=function(te,oe,xe){return Fa(Fa(te,oe[xe-1]),Fa(oe[xe+0],oe[xe+1]))},Wt.Predictor11=function(te,oe,xe){var ke=oe[xe+0];return 0>=ai(ke>>24&255,te>>24&255,(oe=oe[xe-1])>>24&255)+ai(ke>>16&255,te>>16&255,oe>>16&255)+ai(ke>>8&255,te>>8&255,oe>>8&255)+ai(255&ke,255&te,255&oe)?ke:te},Wt.Predictor12=function(te,oe,xe){var ke=oe[xe+0];return(Zi((te>>24&255)+(ke>>24&255)-((oe=oe[xe-1])>>24&255))<<24|Zi((te>>16&255)+(ke>>16&255)-(oe>>16&255))<<16|Zi((te>>8&255)+(ke>>8&255)-(oe>>8&255))<<8|Zi((255&te)+(255&ke)-(255&oe)))>>>0},Wt.Predictor13=function(te,oe,xe){var ke=oe[xe-1];return(xi((te=Fa(te,oe[xe+0]))>>24&255,ke>>24&255)<<24|xi(te>>16&255,ke>>16&255)<<16|xi(te>>8&255,ke>>8&255)<<8|xi(255&te,255&ke))>>>0};var Ed=Wt.PredictorAdd0;Wt.PredictorAdd1=Ni,aa("Predictor2","PredictorAdd2"),aa("Predictor3","PredictorAdd3"),aa("Predictor4","PredictorAdd4"),aa("Predictor5","PredictorAdd5"),aa("Predictor6","PredictorAdd6"),aa("Predictor7","PredictorAdd7"),aa("Predictor8","PredictorAdd8"),aa("Predictor9","PredictorAdd9"),aa("Predictor10","PredictorAdd10"),aa("Predictor11","PredictorAdd11"),aa("Predictor12","PredictorAdd12"),aa("Predictor13","PredictorAdd13");var _c=Wt.PredictorAdd2;Aa("ColorIndexInverseTransform","MapARGB","32b",function(te){return te>>8&255},function(te){return te}),Aa("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(te){return te},function(te){return te>>8&255});var Po,mf=Wt.ColorIndexInverseTransform,Ml=Wt.MapARGB,Ol=Wt.VP8LColorIndexInverseTransformAlpha,bd=Wt.MapAlpha,wd=Wt.VP8LPredictorsAdd=[];wd.length=16,(Wt.VP8LPredictors=[]).length=16,(Wt.VP8LPredictorsAdd_C=[]).length=16,(Wt.VP8LPredictors_C=[]).length=16;var xd,Cd,Fu,Bu,Du,hc,Su,mc,rl,kl,Yi,$i,jo,Qo,au,Fd,Rc,pf,Km,Qm,Jm,Xm,qm,$m,Bd,ep,tp,np,rp=ee(511),ap=ee(2041),ip=ee(225),op=ee(767),sp=0,N0=ap,vf=ip,Hs=op,al=rp,gf=0,yf=1,lp=2,Af=3,Ef=4,L0=5,up=6,P0=7,j0=8,bf=9,I0=10,kv=[2,3,7],Tv=[3,3,11],cp=[280,256,256,256,40],_v=[0,1,1,1,0],Rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],zv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Uv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Wv=8,M0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],O0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Dd=null,Zv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Hv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Yv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Vv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Gv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Kv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Nu=[],gl=[],iu=[],Qv=1,fp=2,Lu=[],il=[];tu("UpsampleRgbLinePair",bu,3),tu("UpsampleBgrLinePair",cs,3),tu("UpsampleRgbaLinePair",Cs,4),tu("UpsampleBgraLinePair",gd,4),tu("UpsampleArgbLinePair",vd,4),tu("UpsampleRgba4444LinePair",cc,2),tu("UpsampleRgb565LinePair",uc,2);var Jv=Wt.UpsampleRgbLinePair,Xv=Wt.UpsampleBgrLinePair,hp=Wt.UpsampleRgbaLinePair,mp=Wt.UpsampleBgraLinePair,pp=Wt.UpsampleArgbLinePair,vp=Wt.UpsampleRgba4444LinePair,qv=Wt.UpsampleRgb565LinePair,wf=16,xf=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&vl()),ke.Pb&&0(yt=xe.Md)?0:100Mt;++Mt)12>(Sn=Xe.pb[Mt]).lc&&(Sn.ia=yt*og[0>Sn.lc?0:Sn.lc]>>3),sn|=Sn.ia;sn&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=xe.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Ot,hn){if(Ot==null)return 0;if(hn==null)return Ro(Ot,2,"NULL VP8Io parameter in VP8Decode().");if(!Ot.cb&&!jl(Ot,hn))return 0;if(E(Ot.cb),hn.ac==null||hn.ac(hn)){hn.ob&&(Ot.L=0);var bn=Cf[Ot.L];if(Ot.L==2?(Ot.yb=0,Ot.zb=0):(Ot.yb=hn.v-bn>>4,Ot.zb=hn.j-bn>>4,0>Ot.yb&&(Ot.yb=0),0>Ot.zb&&(Ot.zb=0)),Ot.Va=hn.o+15+bn>>4,Ot.Hb=hn.va+15+bn>>4,Ot.Hb>Ot.za&&(Ot.Hb=Ot.za),Ot.Va>Ot.Ub&&(Ot.Va=Ot.Ub),0bn;++bn){var Bn;if(Ot.Qa.Cb){var er=Ot.Qa.Lb[bn];Ot.Qa.Fb||(er+=Jn.Tb)}else er=Jn.Tb;for(Bn=0;1>=Bn;++Bn){var rr=Ot.gd[bn][Bn],gr=er;if(Jn.Pc&&(gr+=Jn.vd[0],Bn&&(gr+=Jn.od[0])),0<(gr=0>gr?0:63>2:fr>>1)>9-Jn.wb&&(fr=9-Jn.wb),1>fr&&(fr=1),rr.dd=fr,rr.tc=2*gr+fr,rr.ld=40<=gr?2:15<=gr?1:0}else rr.tc=0;rr.La=Bn}}}bn=0}else Ro(Ot,6,"Frame setup failed"),bn=Ot.a;if(bn=bn==0){if(bn){Ot.$c=0,0Ot.Vb){if(Ot.Vb=0,Ot.Ec=ee(rr),Ot.Fc=0,Ot.Ec==null){bn=Ro(Ot,1,"no memory during frame initialization.");break t}Ot.Vb=rr}rr=Ot.Ec,gr=Ot.Fc,Ot.Ac=rr,Ot.Bc=gr,gr+=Jn,Ot.Gd=de(ga,$d),Ot.Hd=0,Ot.rb=de(ta+1,id),Ot.sb=1,Ot.wa=di?de(di,el):null,Ot.Y=0,Ot.D.Nb=0,Ot.D.wa=Ot.wa,Ot.D.Y=Ot.Y,0=bn;++bn)rp[255+bn]=0>bn?-bn:bn;for(bn=-1020;1020>=bn;++bn)ap[1020+bn]=-128>bn?-128:127=bn;++bn)ip[112+bn]=-16>bn?-16:15=bn;++bn)op[255+bn]=0>bn?0:255Mi;++Mi){var Xo,Ri=Fs[0+Mi];for(Xo=0;4>Xo;++Xo){Ri=Vv[lo[ds+Xo]][Ri];for(var Ki=dp[or(oi,Ri[0])];0>3;for(Ki=0;256>Ki;Ki+=16)Mi[Es+Ki]=Ps}fs=1,yl=ds[0]}var eo=15&oi.la,qo=15&Bs.la;for(Ki=0;4>Ki;++Ki){var Ys=1&qo;for(Ps=Qi=0;4>Ps;++Ps)eo=eo>>1|(Ys=(Mo=Dd(lo,yl,Mo=Ys+(1&eo),Co.Sc,fs,Mi,Es))>fs)<<7,Qi=Qi<<2|(3>=4,qo=qo>>1|Ys<<7,Xo=(Xo<<8|Qi)>>>0}for(yl=eo,fs=qo>>4,Fo=0;4>Fo;Fo+=2){for(Qi=0,eo=oi.la>>4+Fo,qo=Bs.la>>4+Fo,Ki=0;2>Ki;++Ki){for(Ys=1&qo,Ps=0;2>Ps;++Ps)Mo=Ys+(1&eo),eo=eo>>1|(Ys=0<(Mo=Dd(lo,ds[2],Mo,Co.Qc,0,Mi,Es)))<<3,Qi=Qi<<2|(3>=2,qo=qo>>1|Ys<<5}Ri|=Qi<<4*Fo,yl|=eo<<4<=ca.zb&&ca.M<=ca.Va,ca.Aa==0)t:{if(fi.M=ca.M,fi.uc=oi,nl(ca,fi),Io=1,fi=(Qi=ca.D).Nb,oi=(Ri=Cf[ca.L])*ca.R,lo=Ri/2*ca.B,Ki=16*fi*ca.R,Ps=8*fi*ca.B,ds=ca.sa,Fs=ca.ta-oi+Ki,Co=ca.qa,Mi=ca.ra-lo+Ps,Es=ca.Ha,Bs=ca.Ia-lo+Ps,qo=(eo=Qi.M)==0,Xo=eo>=ca.Va-1,ca.Aa==2&&nl(ca,Qi),Qi.uc)for(Ys=(Mo=ca).D.M,E(Mo.D.uc),Qi=Mo.yb;QiWr.o&&(eo=Wr.o),Wr.F=null,Wr.J=null,ca.Fa!=null&&0>1),Wr.W+=ca.B*(Ri>>1),Wr.F!=null&&(Wr.J+=Wr.width*Ri)),Qi>1,Wr.W+=Wr.v>>1,Wr.F!=null&&(Wr.J+=Wr.v),Wr.ka=Qi-Wr.j,Wr.U=Wr.va-Wr.v,Wr.T=eo-Qi,Io=Wr.put(Wr))}fi+1!=ca.Ic||Xo||(b(ca.sa,ca.ta-oi,ds,Fs+16*ca.R,oi),b(ca.qa,ca.ra-lo,Co,Mi+8*ca.B,lo),b(ca.Ha,ca.Ia-lo,Es,Bs+8*ca.B,lo))}if(!Io)return Ro(Li,6,"Output aborted.")}return 1}(Ot,hn)),hn.bc!=null&&hn.bc(hn),bn&=1}return bn?(Ot.cb=0,bn):0})(te,ke)||(oe=te.a)}}else oe=te.a}oe==0&&ot.Oa!=null&&ot.Oa.fd&&(oe=Ad(ot.ba))}ot=oe}at=ot!=0?null:11>at?vt.f.RGBA.eb:vt.f.kb.y}else at=null;return at};var Ep=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function ye(Wt,An){for(var dt="",Nt=0;Nt<4;Nt++)dt+=String.fromCharCode(Wt[An++]);return dt}function Le(Wt,An){return Wt[An+0]|Wt[An+1]<<8}function Ge(Wt,An){return(Wt[An+0]|Wt[An+1]<<8|Wt[An+2]<<16)>>>0}function nt(Wt,An){return(Wt[An+0]|Wt[An+1]<<8|Wt[An+2]<<16|Wt[An+3]<<24)>>>0}new pe;var De=[0],Ft=[0],Et=[],Bt=new pe,ht=a,en=function(Wt,An){var dt={},Nt=0,qt=!1,Jt=0,In=0;if(dt.frames=[],!function(st,_t){for(var Vt=0;Vt<4;Vt++)if(st[_t+Vt]!="RIFF".charCodeAt(Vt))return!0;return!1}(Wt,An)){for(nt(Wt,An+=4),An+=8;An>1&1}Tn!="ANMF"&&(An+=Dn)}return dt}}(ht,0);en.response=ht,en.rgbaoutput=!0,en.dataurl=!1;var Qt=en.header?en.header:null,Rt=en.frames?en.frames:null;if(Qt){Qt.loop_counter=Qt.loop_count,De=[Qt.canvas_height],Ft=[Qt.canvas_width];for(var Nn=0;Nn=2?Lt[1]:Vr[0],Vr[2]=Lt.length>=3?Lt[2]:Vr[0],Vr[3]=Lt.length>=4?Lt[3]:Vr[1]),ye.margin=Vr}});var Rn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Rn},set:function(Lt){Rn=Lt}});var Wn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Wn},set:function(Lt){Wn=Lt}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(Lt){or=Lt}}),Object.defineProperty(this,"ctx",{get:function(){return ye},set:function(Lt){Lt instanceof Le&&(ye=Lt)}}),Object.defineProperty(this,"path",{get:function(){return ye.path},set:function(Lt){ye.path=Lt}});var Ar=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ar},set:function(Lt){Ar=Lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lt){var Vr;Vr=nt(Lt),this.ctx.fillStyle=Vr.style,this.ctx.isFillTransparent=Vr.a===0,this.ctx.fillOpacity=Vr.a,this.pdf.setFillColor(Vr.r,Vr.g,Vr.b,{a:Vr.a}),this.pdf.setTextColor(Vr.r,Vr.g,Vr.b,{a:Vr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lt){var Vr=nt(Lt);this.ctx.strokeStyle=Vr.style,this.ctx.isStrokeTransparent=Vr.a===0,this.ctx.strokeOpacity=Vr.a,Vr.a===0?this.pdf.setDrawColor(255,255,255):(Vr.a,this.pdf.setDrawColor(Vr.r,Vr.g,Vr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lt){["butt","round","square"].indexOf(Lt)!==-1&&(this.ctx.lineCap=Lt,this.pdf.setLineCap(Lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lt){isNaN(Lt)||(this.ctx.lineWidth=Lt,this.pdf.setLineWidth(Lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lt){["bevel","round","miter"].indexOf(Lt)!==-1&&(this.ctx.lineJoin=Lt,this.pdf.setLineJoin(Lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lt){isNaN(Lt)||(this.ctx.miterLimit=Lt,this.pdf.setMiterLimit(Lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lt){this.ctx.textBaseline=Lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lt){["right","end","center","left","start"].indexOf(Lt)!==-1&&(this.ctx.textAlign=Lt)}});var Yr=null,Hr=null,wa=null;Object.defineProperty(this,"fontFaces",{get:function(){return wa},set:function(Lt){Yr=null,Hr=null,wa=Lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lt){var Vr;if(this.ctx.font=Lt,(Vr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Lt))!==null){var hi=Vr[1];Vr[2];var Oa=Vr[3],pr=Vr[4];Vr[5];var ka=Vr[6],aa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(pr)[2];pr=Math.floor(aa==="px"?parseFloat(pr)*this.pdf.internal.scaleFactor:aa==="em"?parseFloat(pr)*this.pdf.getFontSize():parseFloat(pr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(pr);var Ia=function(Aa){var Lo,Ti,pi=[],vi=Aa.trim();if(vi==="")return c0;if(vi in Sm)return[Sm[vi]];for(;vi!=="";){switch(Ti=null,Lo=(vi=Lm(vi)).charAt(0)){case'"':case"'":Ti=pv(vi.substring(1),Lo);break;default:Ti=vv(vi)}if(Ti===null||(pi.push(Ti[0]),(vi=Lm(Ti[1]))!==""&&vi.charAt(0)!==","))return c0;vi=vi.replace(/^,/,"")}return pi}(ka);if(this.fontFaces){var Fa=function(Aa,Lo){var Ti=Aa.getFontList(),pi=JSON.stringify(Ti);if(Yr===null||Hr!==pi){var vi=function(vo){var Na=[];return Object.keys(vo).forEach(function(no){vo[no].forEach(function(za){var ii=null;switch(za){case"bold":ii={family:no,weight:"bold"};break;case"italic":ii={family:no,style:"italic"};break;case"bolditalic":ii={family:no,weight:"bold",style:"italic"};break;case"":case"normal":ii={family:no}}ii!==null&&(ii.ref={name:no,style:za},Na.push(ii))})}),Na}(Ti);Yr=function(vo){for(var Na={},no=0;no=700||hi==="bold")&&(ai="bold"),hi==="italic"&&(ai+="italic"),ai.length===0&&(ai="normal");for(var Ni="",Ci={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ma=0;ma=2*Math.PI&&(tn=0,mn=2*Math.PI),this.path.push({type:"arc",x:st,y:_t,radius:Vt,startAngle:tn,endAngle:mn,counterclockwise:wn})},Ge.prototype.arcTo=function(st,_t,Vt,tn,mn){throw new Error("arcTo not implemented.")},Ge.prototype.rect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(st,_t),this.lineTo(st+Vt,_t),this.lineTo(st+Vt,_t+tn),this.lineTo(st,_t+tn),this.lineTo(st,_t),this.lineTo(st+Vt,_t),this.lineTo(st,_t)},Ge.prototype.fillRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!De.call(this)){var mn={};this.lineCap!=="butt"&&(mn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(mn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(st,_t,Vt,tn),this.fill(),mn.hasOwnProperty("lineCap")&&(this.lineCap=mn.lineCap),mn.hasOwnProperty("lineJoin")&&(this.lineJoin=mn.lineJoin)}},Ge.prototype.strokeRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(st,_t,Vt,tn),this.stroke())},Ge.prototype.clearRect=function(st,_t,Vt,tn){if(isNaN(st)||isNaN(_t)||isNaN(Vt)||isNaN(tn))throw qi.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(st,_t,Vt,tn))},Ge.prototype.save=function(st){st=typeof st!="boolean"||st;for(var _t=this.pdf.internal.getCurrentPageInfo().pageNumber,Vt=0;Vt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ge.prototype.drawImage=function(st,_t,Vt,tn,mn,wn,Rn,Wn,or){var Ar=this.pdf.getImageProperties(st),Yr=1,Hr=1,wa=1,Lt=1;tn!==void 0&&Wn!==void 0&&(wa=Wn/tn,Lt=or/mn,Yr=Ar.width/tn*Wn/tn,Hr=Ar.height/mn*or/mn),wn===void 0&&(wn=_t,Rn=Vt,_t=0,Vt=0),tn!==void 0&&Wn===void 0&&(Wn=tn,or=mn),tn===void 0&&Wn===void 0&&(Wn=Ar.width,or=Ar.height);var Vr=this.ctx.transform.decompose(),hi=Dn(Vr.rotate.shx),Oa=new pe,pr=(Oa=(Oa=(Oa=Oa.multiply(Vr.translate)).multiply(Vr.skew)).multiply(Vr.scale)).applyToRectangle(new le(wn-_t*wa,Rn-Vt*Lt,tn*Yr,mn*Hr));if(this.autoPaging){for(var ka,aa=Bt.call(this,pr),Ia=[],Fa=0;FaZi||aipr||aa0)){for(;or>=0;or--)if(mn[or-1].close!==!0&&mn[or-1].begin!==!0){mn[or-1].deltas.push(Vt),mn[or-1].abs.push(Wn);break}}break;case"bct":Vt=[Wn.x1-wn[Rn-1].x,Wn.y1-wn[Rn-1].y,Wn.x2-wn[Rn-1].x,Wn.y2-wn[Rn-1].y,Wn.x-wn[Rn-1].x,Wn.y-wn[Rn-1].y],mn[mn.length-1].deltas.push(Vt);break;case"qct":var Ar=wn[Rn-1].x+2/3*(Wn.x1-wn[Rn-1].x),Yr=wn[Rn-1].y+2/3*(Wn.y1-wn[Rn-1].y),Hr=Wn.x+2/3*(Wn.x1-Wn.x),wa=Wn.y+2/3*(Wn.y1-Wn.y),Lt=Wn.x,Vr=Wn.y;Vt=[Ar-wn[Rn-1].x,Yr-wn[Rn-1].y,Hr-wn[Rn-1].x,wa-wn[Rn-1].y,Lt-wn[Rn-1].x,Vr-wn[Rn-1].y],mn[mn.length-1].deltas.push(Vt);break;case"arc":mn.push({deltas:[],abs:[],arc:!0}),Array.isArray(mn[mn.length-1].abs)&&mn[mn.length-1].abs.push(Wn)}}tn=_t?null:st==="stroke"?"stroke":"fill";for(var hi=!1,Oa=0;Oa=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale);var si=this.autoPaging!=="text";if(si||ma.y+ma.h<=Fa){if(si||ma.y>=aa&&ma.x<=xi){var Aa=si?st.text:this.pdf.splitTextToSize(st.text,st.maxWidth||xi-ma.x)[0],Lo=en([JSON.parse(JSON.stringify(Hr))],this.posX+this.margin[3],-Ni+aa+this.ctx.prevPageLastElemOffset)[0],Ti=si&&(ka>Oa||ka=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)}}else st.scale>=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale),this.pdf.text(st.text,or.x+this.posX,or.y+this.posY,{angle:st.angle,align:_t,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),st.scale>=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)},qt=function(st,_t,Vt,tn){Vt=Vt||0,tn=tn||0,this.pdf.internal.out(y(st+Vt)+" "+b(_t+tn)+" l")},Jt=function(st,_t,Vt){return this.pdf.lines(st,_t,Vt,null,null)},In=function(st,_t,Vt,tn,mn,wn,Rn,Wn){this.pdf.internal.out([E(z(Vt+st)),E(ee(tn+_t)),E(z(mn+st)),E(ee(wn+_t)),E(z(Rn+st)),E(ee(Wn+_t)),"c"].join(" "))},Tn=function(st,_t,Vt,tn){for(var mn=2*Math.PI,wn=Math.PI/2;_t>Vt;)_t-=mn;var Rn=Math.abs(Vt-_t);Rn1e-5;){var Yr=Ar+or*Math.min(Rn,wn);Wn.push(zn.call(this,st,Ar,Yr)),Rn-=Math.abs(Yr-Ar),Ar=Yr}return Wn},zn=function(st,_t,Vt){var tn=(Vt-_t)/2,mn=st*Math.cos(tn),wn=st*Math.sin(tn),Rn=mn,Wn=-wn,or=Rn*Rn+Wn*Wn,Ar=or+Rn*mn+Wn*wn,Yr=4/3*(Math.sqrt(2*or*Ar)-Ar)/(Rn*wn-Wn*mn),Hr=Rn-Yr*Wn,wa=Wn+Yr*Rn,Lt=Hr,Vr=-wa,hi=tn+_t,Oa=Math.cos(hi),pr=Math.sin(hi);return{x1:st*Math.cos(_t),y1:st*Math.sin(_t),x2:Hr*Oa-wa*pr,y2:Hr*pr+wa*Oa,x3:Lt*Oa-Vr*pr,y3:Lt*pr+Vr*Oa,x4:st*Math.cos(Vt),y4:st*Math.sin(Vt)}},Dn=function(st){return 180*st/Math.PI},Hn=function(st,_t,Vt,tn,mn,wn){var Rn=st+.5*(Vt-st),Wn=_t+.5*(tn-_t),or=mn+.5*(Vt-mn),Ar=wn+.5*(tn-wn),Yr=Math.min(st,mn,Rn,or),Hr=Math.max(st,mn,Rn,or),wa=Math.min(_t,wn,Wn,Ar),Lt=Math.max(_t,wn,Wn,Ar);return new le(Yr,wa,Hr-Yr,Lt-wa)},Dr=function(st,_t,Vt,tn,mn,wn,Rn,Wn){var or,Ar,Yr,Hr,wa,Lt,Vr,hi,Oa,pr,ka,aa,Ia,Fa,Zi=Vt-st,xi=tn-_t,ai=mn-Vt,Ni=wn-tn,Ci=Rn-mn,ma=Wn-wn;for(Ar=0;Ar<41;Ar++)Oa=(Vr=(Yr=st+(or=Ar/40)*Zi)+or*((wa=Vt+or*ai)-Yr))+or*(wa+or*(mn+or*Ci-wa)-Vr),pr=(hi=(Hr=_t+or*xi)+or*((Lt=tn+or*Ni)-Hr))+or*(Lt+or*(wn+or*ma-Lt)-hi),Ar==0?(ka=Oa,aa=pr,Ia=Oa,Fa=pr):(ka=Math.min(ka,Oa),aa=Math.min(aa,pr),Ia=Math.max(Ia,Oa),Fa=Math.max(Fa,pr));return new le(Math.round(ka),Math.round(aa),Math.round(Ia-ka),Math.round(Fa-aa))},lr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var st,_t,Vt=(st=this.ctx.lineDash,_t=this.ctx.lineDashOffset,JSON.stringify({lineDash:st,lineDashOffset:_t}));this.prevLineDash!==Vt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Vt)}}})(ha.API),function(a){var E=function(de){var le,pe,ye,Le,Ge,nt,De,Ft,Et,Bt;for(/[^\x00-\xFF]/.test(de),pe=[],ye=0,Le=(de+=le="\0\0\0\0".slice(de.length%4||4)).length;Le>ye;ye+=4)(Ge=(de.charCodeAt(ye)<<24)+(de.charCodeAt(ye+1)<<16)+(de.charCodeAt(ye+2)<<8)+de.charCodeAt(ye+3))!==0?(nt=(Ge=((Ge=((Ge=((Ge=(Ge-(Bt=Ge%85))/85)-(Et=Ge%85))/85)-(Ft=Ge%85))/85)-(De=Ge%85))/85)%85,pe.push(nt+33,De+33,Ft+33,Et+33,Bt+33)):pe.push(122);return function(ht,en){for(var Qt=en;Qt>0;Qt--)ht.pop()}(pe,le.length),String.fromCharCode.apply(String,pe)+"~>"},y=function(de){var le,pe,ye,Le,Ge,nt=String,De="length",Ft=255,Et="charCodeAt",Bt="slice",ht="replace";for(de[Bt](-2),de=de[Bt](0,-2)[ht](/\s/g,"")[ht]("z","!!!!!"),ye=[],Le=0,Ge=(de+=le="uuuuu"[Bt](de[De]%5||5))[De];Ge>Le;Le+=5)pe=52200625*(de[Et](Le)-33)+614125*(de[Et](Le+1)-33)+7225*(de[Et](Le+2)-33)+85*(de[Et](Le+3)-33)+(de[Et](Le+4)-33),ye.push(Ft&pe>>24,Ft&pe>>16,Ft&pe>>8,Ft&pe);return function(en,Qt){for(var Rt=Qt;Rt>0;Rt--)en.pop()}(ye,le[De]),nt.fromCharCode.apply(nt,ye)},b=function(de){return de.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(de){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((de=de.replace(/\s/g,"")).indexOf(">")!==-1&&(de=de.substr(0,de.indexOf(">"))),de.length%2&&(de+="0"),le.test(de)===!1)return"";for(var pe="",ye=0;yeEt&&(Ft=Bt,Bt=Et,Et=Ft);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",Et>Bt&&(Ft=Bt,Bt=Et,Et=Ft)}return{width:Bt,height:Et,unit:pe,k:Ge,orientation:le}},a.html=function(le,pe){(pe=pe||{}).callback=pe.callback||function(){},pe.html2canvas=pe.html2canvas||{},pe.html2canvas.canvas=pe.html2canvas.canvas||this.canvas,pe.jsPDF=pe.jsPDF||this,pe.fontFaces=pe.fontFaces?pe.fontFaces.map(u0):null;var ye=new de(pe);return pe.worker?ye:ye.from(le).doCallback()}}(ha.API),ha.API.addJS=function(a){return jm=a,this.internal.events.subscribe("postPutResources",function(){Gd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Gd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Pm=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+jm+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Gd!==void 0&&Pm!==void 0&&this.internal.out("/Names <>")}),this},function(a){var E;a.events.push(["postPutResources",function(){var y=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=y.outline.render().split(/\r\n/),ee=0;ee> endobj")}var De=y.internal.newObject();for(y.internal.write("<< /Names [ "),ee=0;ee>","endobj"),E=y.internal.newObject(),y.internal.write("<< /Dests "+De+" 0 R"),y.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var y=this;y.outline.root.children.length>0&&(y.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&y.internal.write("/Names "+E+" 0 R"))}]),a.events.push(["initialized",function(){var y=this;y.outline={createNamedDestinations:!1,root:{children:[]}},y.outline.add=function(b,z,ee){var de={title:z,options:ee,children:[]};return b==null&&(b=this.root),b.children.push(de),de},y.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=y,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},y.outline.genIds_r=function(b){b.id=y.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},y.outline.renderItems=function(b){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,ee=0;ee0&&this.line("/Prev "+this.makeRef(b.children[ee-1])),ee0&&(this.line("/First "+this.makeRef(de.children[0])),this.line("/Last "+this.makeRef(de.children[de.children.length-1])));var le=this.count=this.count_r({count:0},de);if(le>0&&this.line("/Count "+le),de.options&&de.options.pageNumber){var pe=y.internal.getPageInfo(de.options.pageNumber);this.line("/Dest ["+pe.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var ye=0;ye>"}),"transparency"in Pn&&Array.isArray(Pn.transparency)&&Pn.transparency.length>0){for(var Oi="",Ai=0,_i=Pn.transparency.length;Ai<_i;Ai++)Oi+=Pn.transparency[Ai]+" "+Pn.transparency[Ai]+" ";Fi.push({key:"Mask",value:"["+Oi+"]"})}Pn.sMask!==void 0&&Fi.push({key:"SMask",value:Pn.objectId+1+" 0 R"});var Po=Pn.filter!==void 0?["/"+Pn.filter]:void 0;if(cr({data:Pn.data,additionalKeyValues:Fi,alreadyAppliedFilters:Po,objectId:Pn.objectId}),pr("endobj"),"sMask"in Pn&&Pn.sMask!==void 0){var ro,on=(ro=Pn.sMaskBitsPerComponent)!==null&&ro!==void 0?ro:Pn.bitsPerComponent,zn={width:Pn.width,height:Pn.height,colorSpace:"DeviceGray",bitsPerComponent:on,data:Pn.sMask};"filter"in Pn&&(zn.decodeParameters="/Predictor ".concat(Pn.predictor," /Colors 1 /BitsPerComponent ").concat(on," /Columns ").concat(Pn.width),zn.filter=Pn.filter),An.call(this,zn)}if(Pn.colorSpace===dn.INDEXED){var ir=this.internal.newObject();cr({data:Ir(new Uint8Array(Pn.palette)),objectId:ir}),pr("endobj")}},Ze=function(){var An=this.internal.collections[z+"images"];for(var Pn in An)he.call(this,An[Pn])},Pe=function(){var An,Pn=this.internal.collections[z+"images"],pr=this.internal.write;for(var cr in Pn)pr("/I"+(An=Pn[cr]).index,An.objectId,"0","R")},Ve=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ze),this.internal.events.subscribe("putXobjectDict",Pe))},Ye=function(){var An=this.internal.collections[z+"images"];return Ve.call(this),An},dt=function(){return Object.keys(this.internal.collections[z+"images"]).length},Tt=function(An){return typeof y["process"+An.toUpperCase()]=="function"},Jt=function(An){return(0,x.Z)(An)==="object"&&An.nodeType===1},At=function(An,Pn){if(An.nodeName==="IMG"&&An.hasAttribute("src")){var pr=""+An.getAttribute("src");if(pr.indexOf("data:image/")===0)return bp(unescape(pr).split("base64,").pop());var cr=y.loadFile(pr,!0);if(cr!==void 0)return cr}if(An.nodeName==="CANVAS"){if(An.width===0||An.height===0)throw new Error("Given canvas must have data. Canvas width: "+An.width+", height: "+An.height);var yi;switch(Pn){case"PNG":yi="image/png";break;case"WEBP":yi="image/webp";break;default:yi="image/jpeg"}return bp(An.toDataURL(yi,1).split("base64,").pop())}},In=function(An){var Pn=this.internal.collections[z+"images"];if(Pn){for(var pr in Pn)if(An===Pn[pr].alias)return Pn[pr]}},xn=function(An,Pn,pr){return An||Pn||(An=-96,Pn=-96),An<0&&(An=-1*pr.width*72/An/this.internal.scaleFactor),Pn<0&&(Pn=-1*pr.height*72/Pn/this.internal.scaleFactor),An===0&&(An=Pn*pr.width/pr.height),Pn===0&&(Pn=An*pr.height/pr.width),[An,Pn]},Nn=function(An,Pn,pr,cr,yi,Fi){var Oi=xn.call(this,pr,cr,yi),Ai=this.internal.getCoordinateString,_i=this.internal.getVerticalCoordinateString,Po=Ye.call(this);if(pr=Oi[0],cr=Oi[1],Po[yi.index]=yi,Fi){Fi*=Math.PI/180;var ro=Math.cos(Fi),on=Math.sin(Fi),zn=function(br){return br.toFixed(4)},ir=[zn(ro),zn(on),zn(-1*on),zn(ro),0,0,"cm"]}this.internal.write("q"),Fi?(this.internal.write([1,"0","0",1,Ai(An),_i(Pn+cr),"cm"].join(" ")),this.internal.write(ir.join(" ")),this.internal.write([Ai(pr),"0","0",Ai(cr),"0","0","cm"].join(" "))):this.internal.write([Ai(pr),"0","0",Ai(cr),Ai(An),_i(Pn+cr),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+yi.index+" Do"),this.internal.write("Q")},dn=y.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};y.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var yr=y.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},lr=y.__addimage__.sHashCode=function(An){var Pn,pr,cr=0;if(typeof An=="string")for(pr=An.length,Pn=0;Pn>",xn.content=he;var lr=xn.objId+" 0 R";he="<>";else if(re.options.pageNumber)switch(he="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=1};var Ye=y.__arabicParser__.arabicLetterHasFinalForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=3};var dt=y.__arabicParser__.arabicLetterHasMedialForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length==4},Tt=y.__arabicParser__.resolveLigatures=function(xn){var Nn=0,dn=E,yr="",lr=0;for(Nn=0;Nn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(y){var z=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(Pe){E=Pe}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Pe){re=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?150:Pe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var Ae=300;Object.defineProperty(this,"height",{get:function(){return Ae},set:function(Pe){Ae=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?300:Pe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ae+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Pe){he=Pe}});var Ze={};Object.defineProperty(this,"style",{get:function(){return Ze},set:function(Pe){Ze=Pe}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var Ae;if((E=E||"2d")!=="2d")return null;for(Ae in re)this.pdf.context2d.hasOwnProperty(Ae)&&(this.pdf.context2d[Ae]=re[Ae]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(La.API),function(y){var z={left:0,top:0,bottom:0,right:0},E=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),Ae.call(this))},Ae=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Ve=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ve},set:function(xn){Ve=xn}});var Ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ye},set:function(xn){Ye=xn}});var dt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return dt},set:function(xn){dt=xn}});var Tt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Tt},set:function(xn){Tt=xn}});var Jt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Jt},set:function(xn){Jt=xn}});var At=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return At},set:function(xn){At=xn}});var In=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return In},set:function(xn){In=xn}}),this};he.prototype.clone=function(){return new he(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},he.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Ve){return re.call(this),this.internal.__cell__.headerFunction=typeof Ve=="function"?Ve:void 0,this},y.getTextDimensions=function(Ve,Ye){re.call(this);var dt=(Ye=Ye||{}).fontSize||this.getFontSize(),Tt=Ye.font||this.getFont(),Jt=Ye.scaleFactor||this.internal.scaleFactor,At=0,In=0,xn=0,Nn=this;if(!Array.isArray(Ve)&&typeof Ve!="string"){if(typeof Ve!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ve=String(Ve)}var dn=Ye.maxWidth;dn>0?typeof Ve=="string"?Ve=this.splitTextToSize(Ve,dn):Object.prototype.toString.call(Ve)==="[object Array]"&&(Ve=Ve.reduce(function(lr,Zn){return lr.concat(Nn.splitTextToSize(Zn,dn))},[])):Ve=Array.isArray(Ve)?Ve:[Ve];for(var yr=0;yrthis.getPageHeight()?(this.cellAddPage(),Ve.y=Tt.top,At&&Jt&&(this.printHeaderRow(Ve.lineNumber,!0),Ve.y+=Jt[0].height)):Ve.y=Ye.y+Ye.height||Ve.y),Ve.text[0]!==void 0&&(this.rect(Ve.x,Ve.y,Ve.width,Ve.height,E===!0?"FD":void 0),Ve.align==="right"?this.text(Ve.text,Ve.x+Ve.width-dt,Ve.y+dt,{align:"right",baseline:"top"}):Ve.align==="center"?this.text(Ve.text,Ve.x+Ve.width/2,Ve.y+dt,{align:"center",baseline:"top",maxWidth:Ve.width-dt-dt}):this.text(Ve.text,Ve.x+dt,Ve.y+dt,{align:"left",baseline:"top",maxWidth:Ve.width-dt-dt})),this.internal.__cell__.lastCell=Ve,this};y.table=function(Ve,Ye,dt,Tt,Jt){if(re.call(this),!dt)throw new Error("No data for PDF table.");var At,In,xn,Nn,dn=[],yr=[],lr=[],Zn={},fi={},Hi=[],Li=[],Ir=(Jt=Jt||{}).autoSize||!1,Gn=Jt.printHeaders!==!1,Gr=Jt.css&&Jt.css["font-size"]!==void 0?16*Jt.css["font-size"]:Jt.fontSize||12,An=Jt.margins||Object.assign({width:this.getPageWidth()},z),Pn=typeof Jt.padding=="number"?Jt.padding:3,pr=Jt.headerBackgroundColor||"#c8c8c8",cr=Jt.headerTextColor||"#000";if(Ae.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=An,this.internal.__cell__.table_font_size=Gr,this.internal.__cell__.padding=Pn,this.internal.__cell__.headerBackgroundColor=pr,this.internal.__cell__.headerTextColor=cr,this.setFontSize(Gr),Tt==null)yr=dn=Object.keys(dt[0]),lr=dn.map(function(){return"left"});else if(Array.isArray(Tt)&&(0,x.Z)(Tt[0])==="object")for(dn=Tt.map(function(Po){return Po.name}),yr=Tt.map(function(Po){return Po.prompt||Po.name||""}),lr=Tt.map(function(Po){return Po.align||"left"}),At=0;At0&&this.setTableHeaderRow(Jt),this.setFont(void 0,"normal"),E=!1}}(La.API);var SA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},sf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],JA=Vl(sf),ac=[100,200,300,400,500,600,700,800,900],hh=Vl(ac);function qc(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return SA[he=he||"normal"]?he:"normal"}(y.style),re=function(he){return he?typeof he=="number"?he>=100&&he<=900&&he%100==0?he:400:/^\d00$/.test(he)?parseInt(he):he==="bold"?700:400:400}(y.weight),Ae=function(he){return typeof JA[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:Ae,src:y.src||[],ref:y.ref||{name:z,style:[Ae,E,re].join(" ")}}}function lf(y,z,E,re){var Ae;for(Ae=E;Ae>=0&&Ae=0&&Ae>>1)&255}return Ae}function M0(y,z,E){var re=y.length,Ae=[];Ae[0]=4;for(var he=0;he>he&Ze}function U0(y,z,E,re){var Ae=E*re,he=Math.floor(Ae/8),Ze=16-(Ae-8*he+re),Pe=(1<>8&255;Ye.setUint8(dt,Jt)}})(y,he,R0(y,he)&~(Pe<>7,Ze=1<<1+(7&Ae);y[z++],y[z++];var Pe=null,Ve=null;he&&(Pe=z,Ve=Ze,z+=3*Ze);var Ye=!0,dt=[],Tt=0,Jt=null,At=0,In=null;for(this.width=E,this.height=re;Ye&&z=0))throw Error("Invalid block size");if(An===0)break;z+=An}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var xn=y[z++];Tt=y[z++]|y[z++]<<8,Jt=y[z++],1&xn||(Jt=null),At=xn>>2&7,z++;break;case 254:for(;;){if(!((An=y[z++])>=0))throw Error("Invalid block size");if(An===0)break;z+=An}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Nn=y[z++]|y[z++]<<8,dn=y[z++]|y[z++]<<8,yr=y[z++]|y[z++]<<8,lr=y[z++]|y[z++]<<8,Zn=y[z++],fi=Zn>>6&1,Hi=1<<1+(7&Zn),Li=Pe,Ir=Ve,Gn=!1;Zn>>7&&(Gn=!0,Li=z,Ir=Hi,z+=3*Hi);var Gr=z;for(z++;;){var An;if(!((An=y[z++])>=0))throw Error("Invalid block size");if(An===0)break;z+=An}dt.push({x:Nn,y:dn,width:yr,height:lr,has_local_palette:Gn,palette_offset:Li,palette_size:Ir,data_offset:Gr,data_length:z-Gr,transparent_index:Jt,interlaced:!!fi,delay:Tt,disposal:At});break;case 59:Ye=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return dt.length},this.loopCount=function(){return In},this.frameInfo=function(Pn){if(Pn<0||Pn>=dt.length)throw new Error("Frame index out of range.");return dt[Pn]},this.decodeAndBlitFrameBGRA=function(Pn,pr){var cr=this.frameInfo(Pn),yi=cr.width*cr.height,Fi=new Uint8Array(yi);j0(y,cr.data_offset,Fi,yi);var Oi=cr.palette_offset,Ai=cr.transparent_index;Ai===null&&(Ai=256);var _i=cr.width,Po=E-_i,ro=_i,on=4*(cr.y*E+cr.x),zn=4*((cr.y+cr.height)*E+cr.x),ir=on,br=4*Po;cr.interlaced===!0&&(br+=4*E*7);for(var Tr=8,ei=0,Di=Fi.length;ei=zn&&(br=4*Po+4*E*(Tr-1),ir=on+(_i+Po)*(Tr<<1),Tr>>=1)),Pi===Ai)ir+=4;else{var Xi=y[Oi+3*Pi],xo=y[Oi+3*Pi+1],Aa=y[Oi+3*Pi+2];pr[ir++]=Aa,pr[ir++]=xo,pr[ir++]=Xi,pr[ir++]=255}--ro}},this.decodeAndBlitFrameRGBA=function(Pn,pr){var cr=this.frameInfo(Pn),yi=cr.width*cr.height,Fi=new Uint8Array(yi);j0(y,cr.data_offset,Fi,yi);var Oi=cr.palette_offset,Ai=cr.transparent_index;Ai===null&&(Ai=256);var _i=cr.width,Po=E-_i,ro=_i,on=4*(cr.y*E+cr.x),zn=4*((cr.y+cr.height)*E+cr.x),ir=on,br=4*Po;cr.interlaced===!0&&(br+=4*E*7);for(var Tr=8,ei=0,Di=Fi.length;ei=zn&&(br=4*Po+4*E*(Tr-1),ir=on+(_i+Po)*(Tr<<1),Tr>>=1)),Pi===Ai)ir+=4;else{var Xi=y[Oi+3*Pi],xo=y[Oi+3*Pi+1],Aa=y[Oi+3*Pi+2];pr[ir++]=Xi,pr[ir++]=xo,pr[ir++]=Aa,pr[ir++]=255}--ro}}}function j0(y,z,E,re){for(var Ae=y[z++],he=1<>=Ve,dt-=Ve,Nn!==he){if(Nn===Ze)break;for(var dn=Nnhe;)lr=In[lr]>>8,++yr;var Zn=lr;if(Jt+yr+(dn!==Nn?1:0)>re)return void hl.log("Warning, gif stream longer than expected.");E[Jt++]=Zn;var fi=Jt+=yr;for(dn!==Nn&&(E[Jt++]=Zn),lr=dn;yr--;)lr=In[lr],E[--fi]=255&lr,lr>>=8;xn!==null&&Pe<4096&&(In[Pe++]=xn<<8|Zn,Pe>=Ye+1&&Ve<12&&(++Ve,Ye=Ye<<1|1)),xn=Nn}else Pe=Ze+1,Ye=(1<<(Ve=Ae+1))-1,xn=null}return Jt!==re&&hl.log("Warning, gif stream shorter than expected."),E}function $m(y){var z,E,re,Ae,he,Ze=Math.floor,Pe=new Array(64),Ve=new Array(64),Ye=new Array(64),dt=new Array(64),Tt=new Array(65535),Jt=new Array(65535),At=new Array(64),In=new Array(64),xn=[],Nn=0,dn=7,yr=new Array(64),lr=new Array(64),Zn=new Array(64),fi=new Array(256),Hi=new Array(2048),Li=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ir=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Gr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],An=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Pn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pr=[0,1,2,3,4,5,6,7,8,9,10,11],cr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],yi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fi(on,zn){for(var ir=0,br=0,Tr=new Array,ei=1;ei<=16;ei++){for(var Di=1;Di<=on[ei];Di++)Tr[zn[br]]=[],Tr[zn[br]][0]=ir,Tr[zn[br]][1]=ei,br++,ir++;ir*=2}return Tr}function Oi(on){for(var zn=on[0],ir=on[1]-1;ir>=0;)zn&1<>8&255),Ai(255&on)}function Po(on,zn,ir,br,Tr){for(var ei,Di=Tr[0],Pi=Tr[240],Xi=function(go,os){var Ba,ts,Va,iu,ml,Ps,Bl,vl,Ta,Us,Ha=0;for(Ta=0;Ta<8;++Ta){Ba=go[Ha],ts=go[Ha+1],Va=go[Ha+2],iu=go[Ha+3],ml=go[Ha+4],Ps=go[Ha+5],Bl=go[Ha+6];var yA=Ba+(vl=go[Ha+7]),Ol=Ba-vl,el=ts+Bl,tl=ts-Bl,Zu=Va+Ps,Ya=Va-Ps,Su=iu+ml,ds=iu-ml,_s=yA+Su,Wu=yA-Su,sl=el+Zu,us=el-Zu;go[Ha]=_s+sl,go[Ha+4]=_s-sl;var ou=.707106781*(us+Wu);go[Ha+2]=Wu+ou,go[Ha+6]=Wu-ou;var Sp=.382683433*((_s=ds+Ya)-(us=tl+Ol)),Lc=.5411961*_s+Sp,gh=1.306562965*us+Sp,zf=.707106781*(sl=Ya+tl),As=Ol+zf,mh=Ol-zf;go[Ha+5]=mh+Lc,go[Ha+3]=mh-Lc,go[Ha+1]=As+gh,go[Ha+7]=As-gh,Ha+=8}for(Ha=0,Ta=0;Ta<8;++Ta){Ba=go[Ha],ts=go[Ha+8],Va=go[Ha+16],iu=go[Ha+24],ml=go[Ha+32],Ps=go[Ha+40],Bl=go[Ha+48];var vh=Ba+(vl=go[Ha+56]),jd=Ba-vl,Hd=ts+Bl,cA=ts-Bl,qA=Va+Ps,sc=Va-Ps,Fp=iu+ml,$h=iu-ml,df=vh+Fp,Kf=vh-Fp,ff=Hd+qA,hf=Hd-qA;go[Ha]=df+ff,go[Ha+32]=df-ff;var Qd=.707106781*(hf+Kf);go[Ha+16]=Kf+Qd,go[Ha+48]=Kf-Qd;var Ip=.382683433*((df=$h+sc)-(hf=cA+jd)),Zf=.5411961*df+Ip,Lp=1.306562965*hf+Ip,rg=.707106781*(ff=sc+cA),ig=jd+rg,og=jd-rg;go[Ha+40]=og+Zf,go[Ha+24]=og-Zf,go[Ha+8]=ig+Lp,go[Ha+56]=ig-Lp,Ha++}for(Ta=0;Ta<64;++Ta)Us=go[Ta]*os[Ta],At[Ta]=Us>0?Us+.5|0:Us-.5|0;return At}(on,zn),xo=0;xo<64;++xo)In[Li[xo]]=Xi[xo];var Aa=In[0]-ir;ir=In[0],Aa==0?Oi(br[0]):(Oi(br[Jt[ei=32767+Aa]]),Oi(Tt[ei]));for(var la=63;la>0&&In[la]==0;)la--;if(la==0)return Oi(Di),ir;for(var $a,_n=1;_n<=la;){for(var ca=_n;In[_n]==0&&_n<=la;)++_n;var Js=_n-ca;if(Js>=16){$a=Js>>4;for(var is=1;is<=$a;++is)Oi(Pi);Js&=15}ei=32767+In[_n],Oi(Tr[(Js<<4)+Jt[ei]]),Oi(Tt[ei]),_n++}return la!=63&&Oi(Di),ir}function ro(on){on=Math.min(Math.max(on,1),100),he!=on&&(function(zn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],br=0;br<64;br++){var Tr=Ze((ir[br]*zn+50)/100);Tr=Math.min(Math.max(Tr,1),255),Pe[Li[br]]=Tr}for(var ei=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Di=0;Di<64;Di++){var Pi=Ze((ei[Di]*zn+50)/100);Pi=Math.min(Math.max(Pi,1),255),Ve[Li[Di]]=Pi}for(var Xi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],xo=0,Aa=0;Aa<8;Aa++)for(var la=0;la<8;la++)Ye[xo]=1/(Pe[Li[xo]]*Xi[Aa]*Xi[la]*8),dt[xo]=1/(Ve[Li[xo]]*Xi[Aa]*Xi[la]*8),xo++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),he=on)}this.encode=function(on,zn){zn&&ro(zn),xn=new Array,Nn=0,dn=7,_i(65496),_i(65504),_i(16),Ai(74),Ai(70),Ai(73),Ai(70),Ai(0),Ai(1),Ai(1),Ai(0),_i(1),_i(1),Ai(0),Ai(0),function(){_i(65499),_i(132),Ai(0);for(var ts=0;ts<64;ts++)Ai(Pe[ts]);Ai(1);for(var Va=0;Va<64;Va++)Ai(Ve[Va])}(),function(ts,Va){_i(65472),_i(17),Ai(8),_i(Va),_i(ts),Ai(3),Ai(1),Ai(17),Ai(0),Ai(2),Ai(17),Ai(1),Ai(3),Ai(17),Ai(1)}(on.width,on.height),function(){_i(65476),_i(418),Ai(0);for(var ts=0;ts<16;ts++)Ai(Ir[ts+1]);for(var Va=0;Va<=11;Va++)Ai(Gn[Va]);Ai(16);for(var iu=0;iu<16;iu++)Ai(Gr[iu+1]);for(var ml=0;ml<=161;ml++)Ai(An[ml]);Ai(1);for(var Ps=0;Ps<16;Ps++)Ai(Pn[Ps+1]);for(var Bl=0;Bl<=11;Bl++)Ai(pr[Bl]);Ai(17);for(var vl=0;vl<16;vl++)Ai(cr[vl+1]);for(var Ta=0;Ta<=161;Ta++)Ai(yi[Ta])}(),_i(65498),_i(12),Ai(3),Ai(1),Ai(0),Ai(2),Ai(17),Ai(3),Ai(17),Ai(0),Ai(63),Ai(0);var ir=0,br=0,Tr=0;Nn=0,dn=7,this.encode.displayName="_encode_";for(var ei,Di,Pi,Xi,xo,Aa,la,$a,_n,ca=on.data,Js=on.width,is=on.height,go=4*Js,os=0;os>3)*go+(la=4*(7&_n)),os+$a>=is&&(Aa-=go*(os+1+$a-is)),ei+la>=go&&(Aa-=ei+la-go+4),Di=ca[Aa++],Pi=ca[Aa++],Xi=ca[Aa++],yr[_n]=(Hi[Di]+Hi[Pi+256|0]+Hi[Xi+512|0]>>16)-128,lr[_n]=(Hi[Di+768|0]+Hi[Pi+1024|0]+Hi[Xi+1280|0]>>16)-128,Zn[_n]=(Hi[Di+1280|0]+Hi[Pi+1536|0]+Hi[Xi+1792|0]>>16)-128;ir=Po(yr,Ye,ir,z,re),br=Po(lr,dt,br,E,Ae),Tr=Po(Zn,dt,Tr,E,Ae),ei+=32}os+=8}if(dn>=0){var Ba=[];Ba[1]=dn+1,Ba[0]=(1<Pn;Pn++)if(Gn[Gr+Pn]!=An.charCodeAt(Pn))return!0;return!1}function re(Gn,Gr,An,Pn,pr){for(var cr=0;crcr+1?[]:new Gr),!(yi.length>>0;ge&rt;)rt>>>=1;return rt?(ge&rt-1)+rt:ge}function An(ge,Ie,rt,xt,Qt){z(!(xt%rt));do ge[Ie+(xt-=rt)]=Qt;while(0=Qt),512>=Qt)var qt=he(512);else if((qt=he(Qt))==null)return 0;return function(nn,hn,bn,Mn,Er,ci){var Un,_r,Xr=hn,Ri=1<Un;++Un){if(si[Un]>1<(Zs-=si[Un]))return 0;for(;0=Un;++Un,Er<<=1){if(xa+=Zs<<=1,0>(Zs-=si[Un]))return 0;for(;0yo&&!(0>=(Gi-=si[yo]));)++yo,Gi<<=1;Ri+=Da=1<<(Gi=yo-bn),nn[hn+(yo=ja&ao)].g=Gi+bn,nn[hn+yo].value=Xr-hn-yo}Mn.g=Un-bn,Mn.value=ci[_r++],An(nn,Xr+(ja>>bn),Er,Da,Mn),ja=Gr(ja,Un)}}return xa!=2*zi[15]-1?0:Ri}(ge,Ie,rt,xt,Qt,qt)}function pr(){this.value=this.g=0}function cr(){this.value=this.g=0}function yi(){this.G=Ze(5,pr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(jp,cr)}function Fi(ge,Ie,rt,xt){z(ge!=null),z(Ie!=null),z(2147483648>xt),ge.Ca=254,ge.I=0,ge.b=-8,ge.Ka=0,ge.oa=Ie,ge.pa=rt,ge.Jd=Ie,ge.Yc=rt+xt,ge.Zc=4<=xt?rt+xt-4+1:rt,Di(ge)}function Oi(ge,Ie){for(var rt=0;0xt),ge.Sb=xt,ge.Ra=0,ge.u=0,ge.h=0,4>>=8,ge.Ra+=ge.oa[ge.pa+ge.bb]<>>0,++ge.bb,ge.u-=8;br(ge)&&(ge.h=1,ge.u=0)}function ro(ge,Ie){if(z(0<=Ie),!ge.h&&Ie<=vd){var rt=ir(ge)&md[Ie];return ge.u+=Ie,Po(ge),rt}return ge.h=1,ge.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function zn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(ge){return ge.Ra>>>(ge.u&Yh-1)>>>0}function br(ge){return z(ge.bb<=ge.Sb),ge.h||ge.bb==ge.Sb&&ge.u>Yh}function Tr(ge,Ie){ge.u=Ie,ge.h=br(ge)}function ei(ge){ge.u>=Lh&&(z(ge.u>=Lh),Po(ge))}function Di(ge){z(ge!=null&&ge.oa!=null),ge.pa>>0,ge.b+=8):(z(ge!=null&&ge.oa!=null),ge.page.b&&Di(ge);var xt=ge.b,Qt=rt*Ie>>>8,qt=(ge.I>>>xt>Qt)+0;for(qt?(rt-=Qt,ge.I-=Qt+1<>>0):rt=Qt+1,xt=rt,Qt=0;256<=xt;)Qt+=8,xt>>=8;return xt=7^Qt+Jh[xt],ge.b-=xt,ge.Ca=(rt<>24&255,ge[Ie+1]=rt>>16&255,ge[Ie+2]=rt>>8&255,ge[Ie+3]=255&rt}function Aa(ge,Ie){return ge[Ie+0]|ge[Ie+1]<<8}function la(ge,Ie){return Aa(ge,Ie)|ge[Ie+2]<<16}function $a(ge,Ie){return Aa(ge,Ie)|Aa(ge,Ie+2)<<16}function _n(ge,Ie){var rt=1<=Qt||0>=qt?0:(rt[0]=Qt,xt[0]=qt,1)}function go(ge,Ie){return ge+(1<>>Ie}function os(ge,Ie){return((4278255360&ge)+(4278255360&Ie)>>>0&4278255360)+((16711935&ge)+(16711935&Ie)>>>0&16711935)>>>0}function Ba(ge,Ie){Gn[Ie]=function(rt,xt,Qt,qt,nn,hn,bn){var Mn;for(Mn=0;Mn>>1)+(ge&Ie)>>>0}function iu(ge){return 0<=ge&&256>ge?ge:0>ge?0:255>1))}function Ps(ge,Ie,rt){return Math.abs(Ie-rt)-Math.abs(ge-rt)}function Bl(ge,Ie,rt,xt,Qt,qt,nn){for(xt=qt[nn-1],rt=0;rt>8&255,bn=16711935&(bn=(bn=16711935&nn)+((hn<<16)+hn));xt[Qt+qt]=(4278255360&nn)+bn>>>0}}function Ta(ge,Ie){Ie.jd=255&ge,Ie.hd=ge>>8&255,Ie.ud=ge>>16&255}function Us(ge,Ie,rt,xt,Qt,qt){var nn;for(nn=0;nn>>8,Mn=hn,Er=255&(Er=(Er=hn>>>16)+((ge.jd<<24>>24)*(bn<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(ge.hd<<24>>24)*(bn<<24>>24)>>>5)+((ge.ud<<24>>24)*(Er<<24>>24)>>>5)),Qt[qt+nn]=(4278255360&hn)+(Er<<16)+Mn}}function Ha(ge,Ie,rt,xt,Qt){Gn[Ie]=function(qt,nn,hn,bn,Mn,Er,ci,Un,_r){for(bn=ci;bn>qt.b,_r=qt.Ea,Xr=qt.K[0],Ri=qt.w;if(8>Un)for(qt=(1<>=Un}else Gn["VP8LMapColor"+rt](bn,Mn,Xr,Ri,Er,ci,nn,hn,_r)}}function yA(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&255,xt[Qt++]=qt>>8&255,xt[Qt++]=255&qt}}function Ol(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&255,xt[Qt++]=qt>>8&255,xt[Qt++]=255&qt,xt[Qt++]=qt>>24&255}}function el(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&240|nn>>12&15,nn=240&nn|nn>>28&15;xt[Qt++]=qt,xt[Qt++]=nn}}function tl(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&248|nn>>13&7,nn=nn>>5&224|nn>>3&31;xt[Qt++]=qt,xt[Qt++]=nn}}function Zu(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>8&255,xt[Qt++]=qt>>16&255}}function Ya(ge,Ie,rt,xt,Qt,qt){if(qt==0)for(rt=Ie+rt;Ie>24|qt[1]>>8&65280|qt[2]<<8&16711680|qt[3]<<24)>>>0),Qt+=32;else re(xt,Qt,ge,Ie,rt)}function Su(ge,Ie){Gn[Ie][0]=Gn[ge+"0"],Gn[Ie][1]=Gn[ge+"1"],Gn[Ie][2]=Gn[ge+"2"],Gn[Ie][3]=Gn[ge+"3"],Gn[Ie][4]=Gn[ge+"4"],Gn[Ie][5]=Gn[ge+"5"],Gn[Ie][6]=Gn[ge+"6"],Gn[Ie][7]=Gn[ge+"7"],Gn[Ie][8]=Gn[ge+"8"],Gn[Ie][9]=Gn[ge+"9"],Gn[Ie][10]=Gn[ge+"10"],Gn[Ie][11]=Gn[ge+"11"],Gn[Ie][12]=Gn[ge+"12"],Gn[Ie][13]=Gn[ge+"13"],Gn[Ie][14]=Gn[ge+"0"],Gn[Ie][15]=Gn[ge+"0"]}function ds(ge){return ge==d0||ge==f0||ge==Lm||ge==h0}function _s(){this.eb=[],this.size=this.A=this.fb=0}function Wu(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function sl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new _s,this.f.kb=new Wu,this.sd=null}function us(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ou(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sp(ge){return alert("todo:WebPSamplerProcessPlane"),ge.T}function Lc(ge,Ie){var rt=ge.T,xt=Ie.ba.f.RGBA,Qt=xt.eb,qt=xt.fb+ge.ka*xt.A,nn=Gd[Ie.ba.S],hn=ge.y,bn=ge.O,Mn=ge.f,Er=ge.N,ci=ge.ea,Un=ge.W,_r=Ie.cc,Xr=Ie.dc,Ri=Ie.Mc,si=Ie.Nc,zi=ge.ka,Gi=ge.ka+ge.T,yo=ge.U,ao=yo+1>>1;for(zi==0?nn(hn,bn,null,null,Mn,Er,ci,Un,Mn,Er,ci,Un,Qt,qt,null,null,yo):(nn(Ie.ec,Ie.fc,hn,bn,_r,Xr,Ri,si,Mn,Er,ci,Un,Qt,qt-xt.A,Qt,qt,yo),++rt);zi+2rt,Qt=rt==Sm||rt==Fm||rt==Im||rt==c0||rt==12||ds(rt);if(Ie.memory=null,Ie.Ib=null,Ie.Jb=null,Ie.Nd=null,!Ug(Ie.Oa,ge,Qt?11:12))return 0;if(Qt&&ds(rt)&&Tg(),ge.da)alert("todo:use_scaling");else{if(xt){if(Ie.Ib=Sp,ge.Kb){if(rt=ge.U+1>>1,Ie.memory=he(ge.U+2*rt),Ie.memory==null)return 0;Ie.ec=Ie.memory,Ie.fc=0,Ie.cc=Ie.ec,Ie.dc=Ie.fc+ge.U,Ie.Mc=Ie.cc,Ie.Nc=Ie.dc+rt,Ie.Ib=Lc,Tg()}}else alert("todo:EmitYUV");Qt&&(Ie.Jb=gh,xt&&gf())}if(xt&&!pv){for(ge=0;256>ge;++ge)g1[ge]=89858*(ge-128)+Nm>>Dm,y1[ge]=-22014*(ge-128)+Nm,v1[ge]=-45773*(ge-128),m1[ge]=113618*(ge-128)+Nm>>Dm;for(ge=Gg;ge>Dm,w1[ge-Gg]=Wf(Ie,255),b1[ge-Gg]=Wf(Ie+8>>4,15);pv=1}return 1}function As(ge){var Ie=ge.ma,rt=ge.U,xt=ge.T;return z(!(1&ge.ka)),0>=rt||0>=xt?0:(rt=Ie.Ib(ge,Ie),Ie.Jb!=null&&Ie.Jb(ge,Ie,rt),Ie.Dc+=rt,1)}function mh(ge){ge.ma.memory=null}function vh(ge,Ie,rt,xt){return ro(ge,8)!=47?0:(Ie[0]=ro(ge,14)+1,rt[0]=ro(ge,14)+1,xt[0]=ro(ge,1),ro(ge,3)!=0?0:!ge.h)}function jd(ge,Ie){if(4>ge)return ge+1;var rt=ge-2>>1;return(2+(1&ge)<>4)*ge+(8-(15&rt)))?rt:1;var rt}function cA(ge,Ie,rt){var xt=ir(rt),Qt=ge[Ie+=255&xt].g-8;return 0>>0,z(8>=rt.g),ge.g}function sc(ge,Ie,rt){var xt=ge.xc;return z((Ie=xt==0?0:ge.vc[ge.md*(rt>>xt)+(Ie>>xt)])>Da.b)*xa;Riyo&&(Na=yo),(0,Qg[El[RA++]>>8&15])(Un,_r+ +Ws,zi,Gi+Ws-yo,Na-Ws,zi,Gi+Ws),Ws=Na}_r+=yo,Gi+=yo,++Ri&ja||(Da+=xa)}ci!=Mn.nc&&re(bn,hn-Xr,bn,hn+(ci-Er-1)*Xr,Xr);break;case 1:for(Xr=Un,si=_r,yo=(Un=Mn.Ea)-(Gi=Un&~(zi=(_r=1<>Mn.b)*Ri;Er=Qt),0qt.o&&(xt=qt.o),rt=xt?rt=0:(Qt[0]+=4*qt.v,qt.ka=rt-qt.j,qt.U=qt.va-qt.v,qt.T=xt-rt,rt=1),rt){if(hn=hn[0],11>(rt=ge.ca).S){var Er=rt.f.RGBA,ci=(xt=rt.S,Qt=qt.U,qt=qt.T,Mn=Er.eb,Er.A),Un=qt;for(Er=Er.fb+ge.Ma*Er.A;0xt){var Qt=ge.l.width,qt=rt.ca,nn=rt.tb+Qt*xt,hn=ge.V,bn=ge.Ba+ge.c*xt,Mn=ge.gc;z(ge.ab==1),z(Mn[0].hc==3),Xf(Mn[0],xt,Ie,hn,bn,qt,nn),Kf(rt,xt,Ie,qt,nn,Qt)}ge.C=ge.Ma=Ie}function hf(ge,Ie,rt,xt,Qt,qt,nn){var hn=ge.$/xt,bn=ge.$%xt,Mn=ge.m,Er=ge.s,ci=rt+ge.$,Un=ci;Qt=rt+xt*Qt;var _r=rt+xt*qt,Xr=280+Er.ua,Ri=ge.Pb?hn:16777216,si=0=Ri){var ja=ci-rt;z((Ri=ge).Pb),Ri.wd=Ri.m,Ri.xd=ja,0Zs.g?(Tr(ao,ao.u+Zs.g),ja[xa]=Zs.value,ao=0):(Tr(ao,ao.u+Zs.g-256),z(256<=Zs.value),ao=Zs.value),ao==0&&(yo=!0)}else ao=cA(Gi.G[0],Gi.H[0],Mn);if(Mn.h)break;if(yo||256>ao){if(!yo)if(Gi.nd)Ie[ci]=(Gi.qb|ao<<8)>>>0;else{if(ei(Mn),yo=cA(Gi.G[1],Gi.H[1],Mn),ei(Mn),ja=cA(Gi.G[2],Gi.H[2],Mn),xa=cA(Gi.G[3],Gi.H[3],Mn),Mn.h)break;Ie[ci]=(xa<<24|yo<<16|ao<<8|ja)>>>0}if(yo=!1,++ci,++bn>=xt&&(bn=0,++hn,nn!=null&&hn<=qt&&!(hn%16)&&nn(ge,hn),si!=null))for(;Un>>si.Mb]=ao}else if(280>ao){if(ao=jd(ao-256,Mn),ja=cA(Gi.G[4],Gi.H[4],Mn),ei(Mn),ja=Hd(xt,ja=jd(ja,Mn)),Mn.h)break;if(ci-rt=xt;)bn-=xt,++hn,nn!=null&&hn<=qt&&!(hn%16)&&nn(ge,hn);if(z(ci<=Qt),bn&zi&&(Gi=sc(Er,bn,hn)),si!=null)for(;Un>>si.Mb]=ao}else{if(!(ao>>si.Mb]=ao;ao=ci,z(!(yo>>>(ja=si).Xa)),Ie[ao]=ja.X[yo],yo=!0}yo||z(Mn.h==br(Mn))}if(ge.Pb&&Mn.h&&ciqt?qt:hn),ge.a=0,ge.$=ci-rt}return 1}return ge.a=3,0}function Qd(ge){z(ge!=null),ge.vc=null,ge.yc=null,ge.Ya=null;var Ie=ge.Wa;Ie!=null&&(Ie.X=null),ge.vb=null,z(ge!=null)}function Ip(){var ge=new Cs;return ge==null?null:(ge.a=0,ge.xb=uv,Su("Predictor","VP8LPredictors"),Su("Predictor","VP8LPredictors_C"),Su("PredictorAdd","VP8LPredictorsAdd"),Su("PredictorAdd","VP8LPredictorsAdd_C"),wA=vl,zg=Us,Kg=yA,qh=Ol,ep=el,tp=tl,Hp=Zu,Gn.VP8LMapColor32b=Vf,Gn.VP8LMapColor8b=Hg,ge)}function Zf(ge,Ie,rt,xt,Qt){var qt=1,nn=[ge],hn=[Ie],bn=xt.m,Mn=xt.s,Er=null,ci=0;e:for(;;){if(rt)for(;qt&&ro(bn,1);){var Un=nn,_r=hn,Xr=xt,Ri=1,si=Xr.m,zi=Xr.gc[Xr.ab],Gi=ro(si,2);if(Xr.Oc&1<=Xr.ab),Gi){case 0:case 1:zi.b=ro(si,3)+2,Ri=Zf(go(zi.Ea,zi.b),go(zi.nc,zi.b),0,Xr,zi.K),zi.K=zi.K[0];break;case 3:var yo,ao=ro(si,8)+1,ja=16>Da.b),RA=he(El);if(RA==null)yo=0;else{var Ws=Da.K[0],Na=Da.w;for(RA[0]=Da.K[0][0],xa=1;xa<1*Zs;++xa)RA[xa]=os(Ws[Na+xa],RA[xa-1]);for(;xa<4*El;++xa)RA[xa]=0;Da.K[0]=null,Da.K[0]=RA,yo=1}}Ri=yo;break;case 2:break;default:z(0)}qt=Ri}}if(nn=nn[0],hn=hn[0],qt&&ro(bn,1)&&!(qt=1<=(ci=ro(bn,4))&&11>=ci)){xt.a=3;break e}var Xo;if(Xo=qt)t:{var CA,Ts,Nl,Mu=xt,Ac=nn,Hc=hn,dA=ci,Dc=rt,Qc=Mu.m,jA=Mu.s,_l=[null],cu=1,fA=0,du=r1[dA];n:for(;;){if(Dc&&ro(Qc,1)){var cc=ro(Qc,3)+2,vf=go(Ac,cc),xA=go(Hc,cc),ed=vf*xA;if(!Zf(vf,xA,0,Mu,_l))break n;for(_l=_l[0],jA.xc=cc,CA=0;CA>8&65535;_l[CA]=xu,xu>=cu&&(cu=xu+1)}}if(Qc.h)break n;for(Ts=0;5>Ts;++Ts){var HA=sv[Ts];!Ts&&0=zc),Cd=bd;var td=he(fA);if(Cd==null||td==null||wd==null){Mu.a=1;break n}var xd=wd;for(CA=Nl=0;CATs;++Ts){HA=sv[Ts],Bd[Ts]=xd,yf[Ts]=Nl,!Ts&&0Mm)break r}else w0=Mm;for(Xg=0;Xgpg)Cv[Xg++]=pg,pg!=0&&(xv=pg);else{var N1=pg==16,Sv=pg-16,O1=qv[Sv],Fv=ro(ap,Jv[Sv])+O1;if(Xg+Fv>Mm)break r;for(var P1=N1?xv:0;0=Ts){var Yg,C0=td[0];for(Yg=1;YgC0&&(C0=td[Yg]);dc+=C0}}if(Iu.nd=Oh,Iu.Qb=0,Oh&&(Iu.qb=(Bd[3][yf[3]+0].value<<24|Bd[1][yf[1]+0].value<<16|Bd[2][yf[2]+0].value)>>>0,zp==0&&256>Bd[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Bd[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>dc,Iu.jc){var Um,Ph=Iu;for(Um=0;Um>=qA(Rm,8,lp),sp>>=qA(Ph.G[1][Ph.H[1]+sp],16,lp),sp>>=qA(Ph.G[2][Ph.H[2]+sp],0,lp),qA(Ph.G[3][Ph.H[3]+sp],24,lp))}}}jA.vc=_l,jA.Wb=cu,jA.Ya=Cd,jA.yc=wd,Xo=1;break t}Xo=0}if(!(qt=Xo)){xt.a=3;break e}if(0xt+1?[]:0),!(Qt.lengthge?0:ge>Ie?Ie:ge}function ag(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var ge=new um;return ge!=null&&(ge.a=0,ge.sc="OK",ge.cb=0,ge.Xb=0,$g||($g=sg)),ge}function FA(ge,Ie,rt){return ge.a==0&&(ge.a=Ie,ge.sc=rt,ge.cb=0),0}function Am(ge,Ie,rt){return 3<=rt&&ge[Ie+0]==157&&ge[Ie+1]==1&&ge[Ie+2]==42}function $f(ge,Ie){if(ge==null)return 0;if(ge.a=0,ge.sc="OK",Ie==null)return FA(ge,2,"null VP8Io passed to VP8GetHeaders()");var rt=Ie.data,xt=Ie.w,Qt=Ie.ha;if(4>Qt)return FA(ge,7,"Truncated header.");var qt=rt[xt+0]|rt[xt+1]<<8|rt[xt+2]<<16,nn=ge.Od;if(nn.Rb=!(1&qt),nn.td=qt>>1&7,nn.yd=qt>>4&1,nn.ub=qt>>5,3Qt)return FA(ge,7,"cannot parse picture header");if(!Am(rt,xt,Qt))return FA(ge,3,"Bad code word");hn.c=16383&(rt[xt+4]<<8|rt[xt+3]),hn.Td=rt[xt+4]>>6,hn.i=16383&(rt[xt+6]<<8|rt[xt+5]),hn.Ud=rt[xt+6]>>6,xt+=7,Qt-=7,ge.za=hn.c+15>>4,ge.Ub=hn.i+15>>4,Ie.width=hn.c,Ie.height=hn.i,Ie.Da=0,Ie.j=0,Ie.v=0,Ie.va=Ie.width,Ie.o=Ie.height,Ie.da=0,Ie.ib=Ie.width,Ie.hb=Ie.height,Ie.U=Ie.width,Ie.T=Ie.height,Ae((qt=ge.Pa).jb,0,255,qt.jb.length),z((qt=ge.Qa)!=null),qt.Cb=0,qt.Bb=0,qt.Fb=1,Ae(qt.Zb,0,0,qt.Zb.length),Ae(qt.Lb,0,0,qt.Lb)}if(nn.ub>Qt)return FA(ge,7,"bad partition length");Fi(qt=ge.m,rt,xt,nn.ub),xt+=nn.ub,Qt-=nn.ub,nn.Rb&&(hn.Ld=Pi(qt),hn.Kd=Pi(qt)),hn=ge.Qa;var bn,Mn=ge.Pa;if(z(qt!=null),z(hn!=null),hn.Cb=Pi(qt),hn.Cb){if(hn.Bb=Pi(qt),Pi(qt)){for(hn.Fb=Pi(qt),bn=0;4>bn;++bn)hn.Zb[bn]=Pi(qt)?Ai(qt,7):0;for(bn=0;4>bn;++bn)hn.Lb[bn]=Pi(qt)?Ai(qt,6):0}if(hn.Bb)for(bn=0;3>bn;++bn)Mn.jb[bn]=Pi(qt)?Oi(qt,8):255}else hn.Bb=0;if(qt.Ka)return FA(ge,3,"cannot parse segment header");if((hn=ge.ed).zd=Pi(qt),hn.Tb=Oi(qt,6),hn.wb=Oi(qt,3),hn.Pc=Pi(qt),hn.Pc&&Pi(qt)){for(Mn=0;4>Mn;++Mn)Pi(qt)&&(hn.vd[Mn]=Ai(qt,6));for(Mn=0;4>Mn;++Mn)Pi(qt)&&(hn.od[Mn]=Ai(qt,6))}if(ge.L=hn.Tb==0?0:hn.zd?1:2,qt.Ka)return FA(ge,3,"cannot parse filter header");var Er=Qt;if(Qt=bn=xt,xt=bn+Er,hn=Er,ge.Xb=(1<hn&&(ci=hn),Fi(ge.Jc[+Er],rt,bn,ci),bn+=ci,hn-=ci,Qt+=3}Fi(ge.Jc[+Mn],rt,bn,hn),rt=bnci;++ci){if(Er.Cb){var Un=Er.Zb[ci];Er.Fb||(Un+=rt)}else{if(0>16,8>_r.Eb[1]&&(_r.Eb[1]=8),_r.Qc[0]=p0[Wf(Un+Mn,117)],_r.Qc[1]=g0[Wf(Un+bn,127)],_r.lc=Un+bn}if(!nn.Rb)return FA(ge,4,"Not a key frame.");for(Pi(qt),nn=ge.Pa,rt=0;4>rt;++rt){for(Qt=0;8>Qt;++Qt)for(xt=0;3>xt;++xt)for(hn=0;11>hn;++hn)Mn=Xi(qt,u1[rt][Qt][xt][hn])?Oi(qt,8):s1[rt][Qt][xt][hn],nn.Wc[rt][Qt].Yb[xt][hn]=Mn;for(Qt=0;17>Qt;++Qt)nn.Xc[rt][Qt]=nn.Wc[rt][A1[Qt]]}return ge.kc=Pi(qt),ge.kc&&(ge.Bd=Oi(qt,8)),ge.cb=1}function sg(ge,Ie,rt,xt,Qt,qt,nn){var hn=Ie[Qt].Yb[rt];for(rt=0;16>Qt;++Qt){if(!Xi(ge,hn[rt+0]))return Qt;for(;!Xi(ge,hn[rt+1]);)if(hn=Ie[++Qt].Yb[0],rt=0,Qt==16)return 16;var bn=Ie[Qt+1].Yb;if(Xi(ge,hn[rt+2])){var Mn=ge,Er=0;if(Xi(Mn,(Un=hn)[(ci=rt)+3]))if(Xi(Mn,Un[ci+6])){for(hn=0,ci=2*(Er=Xi(Mn,Un[ci+8]))+(Un=Xi(Mn,Un[ci+9+Er])),Er=0,Un=o1[ci];Un[hn];++hn)Er+=Er+Xi(Mn,Un[hn]);Er+=3+(8<(Mn=ge).b&&Di(Mn);var ci,Un=Mn.b,_r=(ci=Mn.Ca>>1)-(Mn.I>>Un)>>31;--Mn.b,Mn.Ca+=_r,Mn.Ca|=1,Mn.I-=(ci+1&_r)<>3),ge[Ie+rt+32*xt]=-256&Qt?0>Qt?0:255:Qt}function kA(ge,Ie,rt,xt,Qt,qt){Kd(ge,Ie,0,rt,xt+Qt),Kd(ge,Ie,1,rt,xt+qt),Kd(ge,Ie,2,rt,xt-qt),Kd(ge,Ie,3,rt,xt-Qt)}function yh(ge){return(20091*ge>>16)+ge}function dm(ge,Ie,rt,xt){var Qt,qt=0,nn=he(16);for(Qt=0;4>Qt;++Qt){var hn=ge[Ie+0]+ge[Ie+8],bn=ge[Ie+0]-ge[Ie+8],Mn=(35468*ge[Ie+4]>>16)-yh(ge[Ie+12]),Er=yh(ge[Ie+4])+(35468*ge[Ie+12]>>16);nn[qt+0]=hn+Er,nn[qt+1]=bn+Mn,nn[qt+2]=bn-Mn,nn[qt+3]=hn-Er,qt+=4,Ie++}for(Qt=qt=0;4>Qt;++Qt)hn=(ge=nn[qt+0]+4)+nn[qt+8],bn=ge-nn[qt+8],Mn=(35468*nn[qt+4]>>16)-yh(nn[qt+12]),Kd(rt,xt,0,0,hn+(Er=yh(nn[qt+4])+(35468*nn[qt+12]>>16))),Kd(rt,xt,1,0,bn+Mn),Kd(rt,xt,2,0,bn-Mn),Kd(rt,xt,3,0,hn-Er),qt++,xt+=32}function Xm(ge,Ie,rt,xt){var Qt=ge[Ie+0]+4,qt=35468*ge[Ie+4]>>16,nn=yh(ge[Ie+4]),hn=35468*ge[Ie+1]>>16;kA(rt,xt,0,Qt+nn,ge=yh(ge[Ie+1]),hn),kA(rt,xt,1,Qt+qt,ge,hn),kA(rt,xt,2,Qt-qt,ge,hn),kA(rt,xt,3,Qt-nn,ge,hn)}function Ym(ge,Ie,rt,xt,Qt){dm(ge,Ie,rt,xt),Qt&&dm(ge,Ie+16,rt,xt+4)}function Gf(ge,Ie,rt,xt){Qp(ge,Ie+0,rt,xt,1),Qp(ge,Ie+32,rt,xt+128,1)}function fm(ge,Ie,rt,xt){var Qt;for(ge=ge[Ie+0]+4,Qt=0;4>Qt;++Qt)for(Ie=0;4>Ie;++Ie)Kd(rt,xt,Ie,Qt,ge)}function hm(ge,Ie,rt,xt){ge[Ie+0]&&au(ge,Ie+0,rt,xt),ge[Ie+16]&&au(ge,Ie+16,rt,xt+4),ge[Ie+32]&&au(ge,Ie+32,rt,xt+128),ge[Ie+48]&&au(ge,Ie+48,rt,xt+128+4)}function lg(ge,Ie,rt,xt){var Qt,qt=he(16);for(Qt=0;4>Qt;++Qt){var nn=ge[Ie+0+Qt]+ge[Ie+12+Qt],hn=ge[Ie+4+Qt]+ge[Ie+8+Qt],bn=ge[Ie+4+Qt]-ge[Ie+8+Qt],Mn=ge[Ie+0+Qt]-ge[Ie+12+Qt];qt[0+Qt]=nn+hn,qt[8+Qt]=nn-hn,qt[4+Qt]=Mn+bn,qt[12+Qt]=Mn-bn}for(Qt=0;4>Qt;++Qt)nn=(ge=qt[0+4*Qt]+3)+qt[3+4*Qt],hn=qt[1+4*Qt]+qt[2+4*Qt],bn=qt[1+4*Qt]-qt[2+4*Qt],Mn=ge-qt[3+4*Qt],rt[xt+0]=nn+hn>>3,rt[xt+16]=Mn+bn>>3,rt[xt+32]=nn-hn>>3,rt[xt+48]=Mn-bn>>3,xt+=64}function Dp(ge,Ie,rt){var xt,Qt=Ie-32,qt=yd,nn=255-ge[Qt-1];for(xt=0;xtrt;++rt)re(ge,Ie+32*rt,ge,Ie-32,16)}function pm(ge,Ie){var rt;for(rt=16;0xt;++xt)Ae(Ie,rt+32*xt,ge,16)}function t0(ge,Ie){var rt,xt=16;for(rt=0;16>rt;++rt)xt+=ge[Ie-1+32*rt]+ge[Ie+rt-32];pf(xt>>5,ge,Ie)}function Np(ge,Ie){var rt,xt=8;for(rt=0;16>rt;++rt)xt+=ge[Ie-1+32*rt];pf(xt>>4,ge,Ie)}function Ig(ge,Ie){var rt,xt=8;for(rt=0;16>rt;++rt)xt+=ge[Ie+rt-32];pf(xt>>4,ge,Ie)}function n0(ge,Ie){pf(128,ge,Ie)}function Es(ge,Ie,rt){return ge+2*Ie+rt+2>>2}function r0(ge,Ie){var rt,xt=Ie-32;for(xt=new Uint8Array([Es(ge[xt-1],ge[xt+0],ge[xt+1]),Es(ge[xt+0],ge[xt+1],ge[xt+2]),Es(ge[xt+1],ge[xt+2],ge[xt+3]),Es(ge[xt+2],ge[xt+3],ge[xt+4])]),rt=0;4>rt;++rt)re(ge,Ie+32*rt,xt,0,xt.length)}function i0(ge,Ie){var rt=ge[Ie-1],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96];xo(ge,Ie+0,16843009*Es(ge[Ie-1-32],rt,xt)),xo(ge,Ie+32,16843009*Es(rt,xt,Qt)),xo(ge,Ie+64,16843009*Es(xt,Qt,qt)),xo(ge,Ie+96,16843009*Es(Qt,qt,qt))}function o0(ge,Ie){var rt,xt=4;for(rt=0;4>rt;++rt)xt+=ge[Ie+rt-32]+ge[Ie-1+32*rt];for(xt>>=3,rt=0;4>rt;++rt)Ae(ge,Ie+32*rt,xt,4)}function wh(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1-32],nn=ge[Ie+0-32],hn=ge[Ie+1-32],bn=ge[Ie+2-32],Mn=ge[Ie+3-32];ge[Ie+0+96]=Es(xt,Qt,ge[Ie-1+96]),ge[Ie+1+96]=ge[Ie+0+64]=Es(rt,xt,Qt),ge[Ie+2+96]=ge[Ie+1+64]=ge[Ie+0+32]=Es(qt,rt,xt),ge[Ie+3+96]=ge[Ie+2+64]=ge[Ie+1+32]=ge[Ie+0+0]=Es(nn,qt,rt),ge[Ie+3+64]=ge[Ie+2+32]=ge[Ie+1+0]=Es(hn,nn,qt),ge[Ie+3+32]=ge[Ie+2+0]=Es(bn,hn,nn),ge[Ie+3+0]=Es(Mn,bn,hn)}function bh(ge,Ie){var rt=ge[Ie+1-32],xt=ge[Ie+2-32],Qt=ge[Ie+3-32],qt=ge[Ie+4-32],nn=ge[Ie+5-32],hn=ge[Ie+6-32],bn=ge[Ie+7-32];ge[Ie+0+0]=Es(ge[Ie+0-32],rt,xt),ge[Ie+1+0]=ge[Ie+0+32]=Es(rt,xt,Qt),ge[Ie+2+0]=ge[Ie+1+32]=ge[Ie+0+64]=Es(xt,Qt,qt),ge[Ie+3+0]=ge[Ie+2+32]=ge[Ie+1+64]=ge[Ie+0+96]=Es(Qt,qt,nn),ge[Ie+3+32]=ge[Ie+2+64]=ge[Ie+1+96]=Es(qt,nn,hn),ge[Ie+3+64]=ge[Ie+2+96]=Es(nn,hn,bn),ge[Ie+3+96]=Es(hn,bn,bn)}function a0(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1-32],nn=ge[Ie+0-32],hn=ge[Ie+1-32],bn=ge[Ie+2-32],Mn=ge[Ie+3-32];ge[Ie+0+0]=ge[Ie+1+64]=qt+nn+1>>1,ge[Ie+1+0]=ge[Ie+2+64]=nn+hn+1>>1,ge[Ie+2+0]=ge[Ie+3+64]=hn+bn+1>>1,ge[Ie+3+0]=bn+Mn+1>>1,ge[Ie+0+96]=Es(Qt,xt,rt),ge[Ie+0+64]=Es(xt,rt,qt),ge[Ie+0+32]=ge[Ie+1+96]=Es(rt,qt,nn),ge[Ie+1+32]=ge[Ie+2+96]=Es(qt,nn,hn),ge[Ie+2+32]=ge[Ie+3+96]=Es(nn,hn,bn),ge[Ie+3+32]=Es(hn,bn,Mn)}function s0(ge,Ie){var rt=ge[Ie+0-32],xt=ge[Ie+1-32],Qt=ge[Ie+2-32],qt=ge[Ie+3-32],nn=ge[Ie+4-32],hn=ge[Ie+5-32],bn=ge[Ie+6-32],Mn=ge[Ie+7-32];ge[Ie+0+0]=rt+xt+1>>1,ge[Ie+1+0]=ge[Ie+0+64]=xt+Qt+1>>1,ge[Ie+2+0]=ge[Ie+1+64]=Qt+qt+1>>1,ge[Ie+3+0]=ge[Ie+2+64]=qt+nn+1>>1,ge[Ie+0+32]=Es(rt,xt,Qt),ge[Ie+1+32]=ge[Ie+0+96]=Es(xt,Qt,qt),ge[Ie+2+32]=ge[Ie+1+96]=Es(Qt,qt,nn),ge[Ie+3+32]=ge[Ie+2+96]=Es(qt,nn,hn),ge[Ie+3+64]=Es(nn,hn,bn),ge[Ie+3+96]=Es(hn,bn,Mn)}function ug(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96];ge[Ie+0+0]=rt+xt+1>>1,ge[Ie+2+0]=ge[Ie+0+32]=xt+Qt+1>>1,ge[Ie+2+32]=ge[Ie+0+64]=Qt+qt+1>>1,ge[Ie+1+0]=Es(rt,xt,Qt),ge[Ie+3+0]=ge[Ie+1+32]=Es(xt,Qt,qt),ge[Ie+3+32]=ge[Ie+1+64]=Es(Qt,qt,qt),ge[Ie+3+64]=ge[Ie+2+64]=ge[Ie+0+96]=ge[Ie+1+96]=ge[Ie+2+96]=ge[Ie+3+96]=qt}function Lg(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96],nn=ge[Ie-1-32],hn=ge[Ie+0-32],bn=ge[Ie+1-32],Mn=ge[Ie+2-32];ge[Ie+0+0]=ge[Ie+2+32]=rt+nn+1>>1,ge[Ie+0+32]=ge[Ie+2+64]=xt+rt+1>>1,ge[Ie+0+64]=ge[Ie+2+96]=Qt+xt+1>>1,ge[Ie+0+96]=qt+Qt+1>>1,ge[Ie+3+0]=Es(hn,bn,Mn),ge[Ie+2+0]=Es(nn,hn,bn),ge[Ie+1+0]=ge[Ie+3+32]=Es(rt,nn,hn),ge[Ie+1+32]=ge[Ie+3+64]=Es(xt,rt,nn),ge[Ie+1+64]=ge[Ie+3+96]=Es(Qt,xt,rt),ge[Ie+1+96]=Es(qt,Qt,xt)}function Op(ge,Ie){var rt;for(rt=0;8>rt;++rt)re(ge,Ie+32*rt,ge,Ie-32,8)}function l0(ge,Ie){var rt;for(rt=0;8>rt;++rt)Ae(ge,Ie,ge[Ie-1],8),Ie+=32}function Ch(ge,Ie,rt){var xt;for(xt=0;8>xt;++xt)Ae(Ie,rt+32*xt,ge,8)}function u0(ge,Ie){var rt,xt=8;for(rt=0;8>rt;++rt)xt+=ge[Ie+rt-32]+ge[Ie-1+32*rt];Ch(xt>>4,ge,Ie)}function Dg(ge,Ie){var rt,xt=4;for(rt=0;8>rt;++rt)xt+=ge[Ie+rt-32];Ch(xt>>3,ge,Ie)}function Ng(ge,Ie){var rt,xt=4;for(rt=0;8>rt;++rt)xt+=ge[Ie-1+32*rt];Ch(xt>>3,ge,Ie)}function gm(ge,Ie){Ch(128,ge,Ie)}function xh(ge,Ie,rt){var xt=ge[Ie-rt],Qt=ge[Ie+0],qt=3*(Qt-xt)+A0[1020+ge[Ie-2*rt]-ge[Ie+rt]],nn=Bm[112+(qt+4>>3)];ge[Ie-rt]=yd[255+xt+Bm[112+(qt+3>>3)]],ge[Ie+0]=yd[255+Qt-nn]}function Og(ge,Ie,rt,xt){var Qt=ge[Ie+0],qt=ge[Ie+rt];return $d[255+ge[Ie-2*rt]-ge[Ie-rt]]>xt||$d[255+qt-Qt]>xt}function Ag(ge,Ie,rt,xt){return 4*$d[255+ge[Ie-rt]-ge[Ie+0]]+$d[255+ge[Ie-2*rt]-ge[Ie+rt]]<=xt}function Pg(ge,Ie,rt,xt,Qt){var qt=ge[Ie-3*rt],nn=ge[Ie-2*rt],hn=ge[Ie-rt],bn=ge[Ie+0],Mn=ge[Ie+rt],Er=ge[Ie+2*rt],ci=ge[Ie+3*rt];return 4*$d[255+hn-bn]+$d[255+nn-Mn]>xt?0:$d[255+ge[Ie-4*rt]-qt]<=Qt&&$d[255+qt-nn]<=Qt&&$d[255+nn-hn]<=Qt&&$d[255+ci-Er]<=Qt&&$d[255+Er-Mn]<=Qt&&$d[255+Mn-bn]<=Qt}function Pp(ge,Ie,rt,xt){var Qt=2*xt+1;for(xt=0;16>xt;++xt)Ag(ge,Ie+xt,rt,Qt)&&xh(ge,Ie+xt,rt)}function _g(ge,Ie,rt,xt){var Qt=2*xt+1;for(xt=0;16>xt;++xt)Ag(ge,Ie+xt*rt,1,Qt)&&xh(ge,Ie+xt*rt,1)}function mm(ge,Ie,rt,xt){var Qt;for(Qt=3;0>7,zi=18*Gi+63>>7,Gi=9*Gi+63>>7;bn[Mn-3*Er]=yd[255+bn[Mn-3*Er]+Gi],bn[Mn-2*Er]=yd[255+ci+zi],bn[Mn-Er]=yd[255+Un+si],bn[Mn+0]=yd[255+_r-si],bn[Mn+Er]=yd[255+Xr-zi],bn[Mn+2*Er]=yd[255+Ri-Gi]}Ie+=xt}}function Eh(ge,Ie,rt,xt,Qt,qt,nn,hn){for(qt=2*qt+1;0>3)],Ri=Bm[112+(Ri+3>>3)],si=Xr+1>>1;bn[Mn-2*Er]=yd[255+bn[Mn-2*Er]+si],bn[Mn-Er]=yd[255+ci+Ri],bn[Mn+0]=yd[255+Un-Xr],bn[Mn+Er]=yd[255+_r-si]}Ie+=xt}}function ym(ge,Ie,rt,xt,Qt,qt){Bh(ge,Ie,rt,1,16,xt,Qt,qt)}function _p(ge,Ie,rt,xt,Qt,qt){Bh(ge,Ie,1,rt,16,xt,Qt,qt)}function wm(ge,Ie,rt,xt,Qt,qt){var nn;for(nn=3;0Mn?0:255:Mn)&255,Mn=bn,Qt[qt+hn]=Er}}function Fu(ge,Ie,rt,xt){var Qt=Ie.width,qt=Ie.o;if(z(ge!=null&&Ie!=null),0>rt||0>=xt||rt+xt>qt)return null;if(!ge.Cc){if(ge.ga==null){var nn;if(ge.ga=new Rs,(nn=ge.ga==null)||(nn=Ie.width*Ie.o,z(ge.Gb.length==0),ge.Gb=he(nn),ge.Uc=0,ge.Gb==null?nn=0:(ge.mb=ge.Gb,ge.nb=ge.Uc,ge.rc=null,nn=1),nn=!nn),!nn){nn=ge.ga;var hn=ge.Fa,bn=ge.P,Mn=ge.qc,Er=ge.mb,ci=ge.nb,Un=bn+1,_r=Mn-1,Xr=nn.l;if(z(hn!=null&&Er!=null&&Ie!=null),ip[0]=null,ip[1]=Pl,ip[2]=qu,ip[3]=IA,nn.ca=Er,nn.tb=ci,nn.c=Ie.width,nn.i=Ie.height,z(0=Mn)Ie=0;else if(nn.$a=3&hn[bn+0],nn.Z=hn[bn+0]>>2&3,nn.Lc=hn[bn+0]>>4&3,bn=hn[bn+0]>>6&3,0>nn.$a||1=nn.c*nn.i;nn=!Ie}if(nn)return null;ge.ga.Lc!=1?ge.Ga=0:xt=qt-rt}z(ge.ga!=null),z(rt+xt<=qt);e:{if(Ie=(hn=ge.ga).c,qt=hn.l.o,hn.$a==0){if(Un=ge.rc,_r=ge.Vc,Xr=ge.Fa,bn=ge.P+1+rt*Ie,Mn=ge.mb,Er=ge.nb+rt*Ie,z(bn<=ge.P+ge.qc),hn.Z!=0)for(z(ip[hn.Z]!=null),nn=0;nn=Ie)Ie=1;else if(hn.ic||gf(),hn.ic){hn=nn.V,Un=nn.Ba,_r=nn.c;var Ri=nn.i,si=(Xr=1,bn=nn.$/_r,Mn=nn.$%_r,Er=nn.m,ci=nn.s,nn.$),zi=_r*Ri,Gi=_r*Ie,yo=ci.wc,ao=si(Ri=cA(ao.G[0],ao.H[0],Er)))hn[Un+si]=Ri,++si,++Mn>=_r&&(Mn=0,++bn<=Ie&&!(bn%16)&&ff(nn,bn));else{if(!(280>Ri)){Xr=0;break t}Ri=jd(Ri-256,Er);var ja,xa=cA(ao.G[4],ao.H[4],Er);if(ei(Er),!(si>=(xa=Hd(_r,xa=jd(xa,Er)))&&zi-si>=Ri)){Xr=0;break t}for(ja=0;ja=_r;)Mn-=_r,++bn<=Ie&&!(bn%16)&&ff(nn,bn);siIe?Ie:bn);break t}!Xr||Er.h&&si=qt&&(ge.Cc=1),xt=1}if(!xt)return null;if(ge.Cc&&((xt=ge.ga)!=null&&(xt.mc=null),ge.ga=null,0>23,hn[bn+4*nn+1]=hn[bn+4*nn+1]*ci>>23,hn[bn+4*nn+2]=hn[bn+4*nn+2]*ci>>23)}Ie+=qt}}function LA(ge,Ie,rt,xt,Qt){for(;0>4)*bn>>16;ge[Ie+2*qt+0]=(240&nn|nn>>4)*bn>>16&240|(15&nn|nn<<4)*bn>>16>>4&15,ge[Ie+2*qt+1]=240&Mn|hn}Ie+=Qt}}function lc(ge,Ie,rt,xt,Qt,qt,nn,hn){var bn,Mn,Er=255;for(Mn=0;Mn>8}function gf(){Wg=MA,Y0=LA,J0=lc,q0=Sh}function Fh(ge,Ie,rt){Gn[ge]=function(xt,Qt,qt,nn,hn,bn,Mn,Er,ci,Un,_r,Xr,Ri,si,zi,Gi,yo){var ao,ja=yo-1>>1,xa=hn[bn+0]|Mn[Er+0]<<16,Zs=ci[Un+0]|_r[Xr+0]<<16;z(xt!=null);var Da=3*xa+Zs+131074>>2;for(Ie(xt[Qt+0],255&Da,Da>>16,Ri,si),qt!=null&&(Da=3*Zs+xa+131074>>2,Ie(qt[nn+0],255&Da,Da>>16,zi,Gi)),ao=1;ao<=ja;++ao){var El=hn[bn+ao]|Mn[Er+ao]<<16,RA=ci[Un+ao]|_r[Xr+ao]<<16,Ws=xa+El+Zs+RA+524296,Na=Ws+2*(El+Zs)>>3;Da=Na+xa>>1,xa=(Ws=Ws+2*(xa+RA)>>3)+El>>1,Ie(xt[Qt+2*ao-1],255&Da,Da>>16,Ri,si+(2*ao-1)*rt),Ie(xt[Qt+2*ao-0],255&xa,xa>>16,Ri,si+(2*ao-0)*rt),qt!=null&&(Da=Ws+Zs>>1,xa=Na+RA>>1,Ie(qt[nn+2*ao-1],255&Da,Da>>16,zi,Gi+(2*ao-1)*rt),Ie(qt[nn+2*ao+0],255&xa,xa>>16,zi,Gi+(2*ao+0)*rt)),xa=El,Zs=RA}1&yo||(Da=3*xa+Zs+131074>>2,Ie(xt[Qt+yo-1],255&Da,Da>>16,Ri,si+(yo-1)*rt),qt!=null&&(Da=3*Zs+xa+131074>>2,Ie(qt[nn+yo-1],255&Da,Da>>16,zi,Gi+(yo-1)*rt)))}}function Tg(){Gd[Em]=d1,Gd[Sm]=Av,Gd[ov]=f1,Gd[Fm]=cv,Gd[Im]=dv,Gd[c0]=fv,Gd[av]=h1,Gd[d0]=Av,Gd[f0]=cv,Gd[Lm]=dv,Gd[h0]=fv}function cg(ge){return ge&~p1?0>ge?0:255:ge>>hv}function Gh(ge,Ie){return cg((19077*ge>>8)+(26149*Ie>>8)-14234)}function Tp(ge,Ie,rt){return cg((19077*ge>>8)-(6419*Ie>>8)-(13320*rt>>8)+8708)}function kp(ge,Ie){return cg((19077*ge>>8)+(33050*Ie>>8)-17685)}function Vh(ge,Ie,rt,xt,Qt){xt[Qt+0]=Gh(ge,rt),xt[Qt+1]=Tp(ge,Ie,rt),xt[Qt+2]=kp(ge,Ie)}function uc(ge,Ie,rt,xt,Qt){xt[Qt+0]=kp(ge,Ie),xt[Qt+1]=Tp(ge,Ie,rt),xt[Qt+2]=Gh(ge,rt)}function Mp(ge,Ie,rt,xt,Qt){var qt=Tp(ge,Ie,rt);Ie=qt<<3&224|kp(ge,Ie)>>3,xt[Qt+0]=248&Gh(ge,rt)|qt>>5,xt[Qt+1]=Ie}function Up(ge,Ie,rt,xt,Qt){var qt=240&kp(ge,Ie)|15;xt[Qt+0]=240&Gh(ge,rt)|Tp(ge,Ie,rt)>>4,xt[Qt+1]=qt}function kg(ge,Ie,rt,xt,Qt){xt[Qt+0]=255,Vh(ge,Ie,rt,xt,Qt+1)}function Mg(ge,Ie,rt,xt,Qt){uc(ge,Ie,rt,xt,Qt),xt[Qt+3]=255}function jc(ge,Ie,rt,xt,Qt){Vh(ge,Ie,rt,xt,Qt),xt[Qt+3]=255}function Ih(ge,Ie,rt){Gn[ge]=function(xt,Qt,qt,nn,hn,bn,Mn,Er,ci){for(var Un=Er+(-2&ci)*rt;Er!=Un;)Ie(xt[Qt+0],qt[nn+0],hn[bn+0],Mn,Er),Ie(xt[Qt+1],qt[nn+0],hn[bn+0],Mn,Er+rt),Qt+=2,++nn,++bn,Er+=2*rt;1&ci&&Ie(xt[Qt+0],qt[nn+0],hn[bn+0],Mn,Er)}}function dg(ge,Ie,rt){return rt==0?ge==0?Ie==0?6:5:Ie==0?4:0:rt}function bm(ge,Ie,rt,xt,Qt){switch(ge>>>30){case 3:Qp(Ie,rt,xt,Qt,0);break;case 2:Wd(Ie,rt,xt,Qt);break;case 1:au(Ie,rt,xt,Qt)}}function Zd(ge,Ie){var rt,xt,Qt=Ie.M,qt=Ie.Nb,nn=ge.oc,hn=ge.pc+40,bn=ge.oc,Mn=ge.pc+584,Er=ge.oc,ci=ge.pc+600;for(rt=0;16>rt;++rt)nn[hn+32*rt-1]=129;for(rt=0;8>rt;++rt)bn[Mn+32*rt-1]=129,Er[ci+32*rt-1]=129;for(0rt;++rt)re(nn,hn+32*rt-4,nn,hn+32*rt+12,4);for(rt=-1;8>rt;++rt)re(bn,Mn+32*rt-4,bn,Mn+32*rt+4,4),re(Er,ci+32*rt-4,Er,ci+32*rt+4,4)}var _r=ge.Gd,Xr=ge.Hd+xt,Ri=Un.ad,si=Un.Hc;if(0=ge.za-1?Ae(zi,Gi,_r[Xr].y[15],4):re(zi,Gi,_r[Xr+1].y,0,4)),rt=0;4>rt;rt++)zi[Gi+128+rt]=zi[Gi+256+rt]=zi[Gi+384+rt]=zi[Gi+0+rt];for(rt=0;16>rt;++rt,si<<=2)zi=nn,Gi=hn+gv[rt],mf[Un.Ob[rt]](zi,Gi),bm(si,Ri,16*+rt,zi,Gi)}else if(zi=dg(xt,Qt,Un.Ob[0]),rp[zi](nn,hn),si!=0)for(rt=0;16>rt;++rt,si<<=2)bm(si,Ri,16*+rt,nn,hn+gv[rt]);for(rt=Un.Gc,zi=dg(xt,Qt,Un.Dd),Nh[zi](bn,Mn),Nh[zi](Er,ci),si=Ri,zi=bn,Gi=Mn,255&(Un=0|rt)&&(170&Un?Yf(si,256,zi,Gi):Cu(si,256,zi,Gi)),Un=Er,si=ci,255&(rt>>=8)&&(170&rt?Yf(Ri,320,Un,si):Cu(Ri,320,Un,si)),Qtrt;++rt)re(_r,Xr+rt*ge.R,nn,hn+32*rt,16);for(rt=0;8>rt;++rt)re(Ri,Un+rt*ge.B,bn,Mn+32*rt,8),re(si,zi+rt*ge.B,Er,ci+32*rt,8)}}function Rp(ge,Ie,rt,xt,Qt,qt,nn,hn,bn){var Mn=[0],Er=[0],ci=0,Un=bn!=null?bn.kd:0,_r=bn!=null?bn:new oo;if(ge==null||12>rt)return 7;_r.data=ge,_r.w=Ie,_r.ha=rt,Ie=[Ie],rt=[rt],_r.gb=[_r.gb];e:{var Xr=Ie,Ri=rt,si=_r.gb;if(z(ge!=null),z(Ri!=null),z(si!=null),si[0]=0,12<=Ri[0]&&!E(ge,Xr[0],"RIFF")){if(E(ge,Xr[0]+8,"WEBP")){si=3;break e}var zi=$a(ge,Xr[0]+4);if(12>zi||4294967286Ri[0]-8){si=7;break e}si[0]=zi,Xr[0]+=12,Ri[0]-=12}si=0}if(si!=0)return si;for(zi=0<_r.gb[0],rt=rt[0];;){e:{var Gi=ge;Ri=Ie,si=rt;var yo=Mn,ao=Er,ja=Xr=[0];if((Da=ci=[ci])[0]=0,8>si[0])si=7;else{if(!E(Gi,Ri[0],"VP8X")){if($a(Gi,Ri[0]+4)!=10){si=3;break e}if(18>si[0]){si=7;break e}var xa=$a(Gi,Ri[0]+8),Zs=1+la(Gi,Ri[0]+12);if(2147483648<=Zs*(Gi=1+la(Gi,Ri[0]+15))){si=3;break e}ja!=null&&(ja[0]=xa),yo!=null&&(yo[0]=Zs),ao!=null&&(ao[0]=Gi),Ri[0]+=18,si[0]-=18,Da[0]=1}si=0}}if(ci=ci[0],Xr=Xr[0],si!=0)return si;if(Ri=!!(2&Xr),!zi&&ci)return 3;if(qt!=null&&(qt[0]=!!(16&Xr)),nn!=null&&(nn[0]=Ri),hn!=null&&(hn[0]=0),nn=Mn[0],Xr=Er[0],ci&&Ri&&bn==null){si=0;break}if(4>rt){si=7;break}if(zi&&ci||!zi&&!ci&&!E(ge,Ie[0],"ALPH")){rt=[rt],_r.na=[_r.na],_r.P=[_r.P],_r.Sa=[_r.Sa];e:{xa=ge,si=Ie,zi=rt;var Da=_r.gb;yo=_r.na,ao=_r.P,ja=_r.Sa,Zs=22,z(xa!=null),z(zi!=null),Gi=si[0];var El=zi[0];for(z(yo!=null),z(ja!=null),yo[0]=null,ao[0]=null,ja[0]=0;;){if(si[0]=Gi,zi[0]=El,8>El){si=7;break e}var RA=$a(xa,Gi+4);if(4294967286Da){si=3;break e}if(!E(xa,Gi,"VP8 ")||!E(xa,Gi,"VP8L")){si=0;break e}if(El[0]zi[0])si=7;else{if(Gi||Zs){if(Da=$a(Da,xa+4),12<=yo&&Da>yo-12){si=3;break e}if(Un&&Da>zi[0]-8){si=7;break e}ao[0]=Da,si[0]+=8,zi[0]-=8,ja[0]=Zs}else ja[0]=5<=zi[0]&&Da[xa+0]==47&&!(Da[xa+4]>>5),ao[0]=zi[0];si=0}if(rt=rt[0],_r.Ja=_r.Ja[0],_r.xa=_r.xa[0],Ie=Ie[0],si!=0)break;if(4294967286<_r.Ja)return 3;if(hn==null||Ri||(hn[0]=_r.xa?2:1),nn=[nn],Xr=[Xr],_r.xa){if(5>rt){si=7;break}hn=nn,Un=Xr,Ri=qt,ge==null||5>rt?ge=0:5<=rt&&ge[Ie+0]==47&&!(ge[Ie+4]>>5)?(zi=[0],Da=[0],yo=[0],_i(ao=new zn,ge,Ie,rt),vh(ao,zi,Da,yo)?(hn!=null&&(hn[0]=zi[0]),Un!=null&&(Un[0]=Da[0]),Ri!=null&&(Ri[0]=yo[0]),ge=1):ge=0):ge=0}else{if(10>rt){si=7;break}hn=Xr,ge==null||10>rt||!Am(ge,Ie+3,rt-3)?ge=0:(Un=ge[Ie+0]|ge[Ie+1]<<8|ge[Ie+2]<<16,Ri=16383&(ge[Ie+7]<<8|ge[Ie+6]),ge=16383&(ge[Ie+9]<<8|ge[Ie+8]),1&Un||3<(Un>>1&7)||!(Un>>4&1)||Un>>5>=_r.Ja||!Ri||!ge?ge=0:(nn&&(nn[0]=Ri),hn&&(hn[0]=ge),ge=1))}if(!ge||(nn=nn[0],Xr=Xr[0],ci&&(Mn[0]!=nn||Er[0]!=Xr)))return 3;bn!=null&&(bn[0]=_r,bn.offset=Ie-bn.w,z(4294967286>Ie-bn.w),z(bn.offset==bn.ha-rt));break}return si==0||si==7&&ci&&bn==null?(qt!=null&&(qt[0]|=_r.na!=null&&0<_r.na.length),xt!=null&&(xt[0]=nn),Qt!=null&&(Qt[0]=Xr),0):si}function Ug(ge,Ie,rt){var xt=Ie.width,Qt=Ie.height,qt=0,nn=0,hn=xt,bn=Qt;if(Ie.Da=ge!=null&&0rt||(qt&=-2,nn&=-2),0>qt||0>nn||0>=hn||0>=bn||qt+hn>xt||nn+bn>Qt))return 0;if(Ie.v=qt,Ie.j=nn,Ie.va=qt+hn,Ie.o=nn+bn,Ie.U=hn,Ie.T=bn,Ie.da=ge!=null&&0ge.S){var Ie=ge.f.RGBA;Ie.fb+=(ge.height-1)*Ie.A,Ie.A=-Ie.A}else Ie=ge.f.kb,ge=ge.height,Ie.O+=(ge-1)*Ie.fa,Ie.fa=-Ie.fa,Ie.N+=(ge-1>>1)*Ie.Ab,Ie.Ab=-Ie.Ab,Ie.W+=(ge-1>>1)*Ie.Db,Ie.Db=-Ie.Db,Ie.F!=null&&(Ie.J+=(ge-1)*Ie.lb,Ie.lb=-Ie.lb);return 0}function Xh(ge,Ie,rt,xt){if(xt==null||0>=ge||0>=Ie)return 2;if(rt!=null){if(rt.Da){var Qt=rt.cd,qt=rt.bd,nn=-2&rt.v,hn=-2&rt.j;if(0>nn||0>hn||0>=Qt||0>=qt||nn+Qt>ge||hn+qt>Ie)return 2;ge=Qt,Ie=qt}if(rt.da){if(!is(ge,Ie,Qt=[rt.ib],qt=[rt.hb]))return 2;ge=Qt[0],Ie=qt[0]}}xt.width=ge,xt.height=Ie;e:{var bn=xt.width,Mn=xt.height;if(ge=xt.S,0>=bn||0>=Mn||!(ge>=Em&&13>ge))ge=2;else{if(0>=xt.Rd&&xt.sd==null){nn=qt=Qt=Ie=0;var Er=(hn=bn*mv[ge])*Mn;if(11>ge||(qt=(Mn+1)/2*(Ie=(bn+1)/2),ge==12&&(nn=(Qt=bn)*Mn)),(Mn=he(Er+2*qt+nn))==null){ge=1;break e}xt.sd=Mn,11>ge?((bn=xt.f.RGBA).eb=Mn,bn.fb=0,bn.A=hn,bn.size=Er):((bn=xt.f.kb).y=Mn,bn.O=0,bn.fa=hn,bn.Fd=Er,bn.f=Mn,bn.N=0+Er,bn.Ab=Ie,bn.Cd=qt,bn.ea=Mn,bn.W=0+Er+qt,bn.Db=Ie,bn.Ed=qt,ge==12&&(bn.F=Mn,bn.J=0+Er+2*qt),bn.Tc=nn,bn.lb=Qt)}if(Ie=1,Qt=xt.S,qt=xt.width,nn=xt.height,Qt>=Em&&13>Qt)if(11>Qt)ge=xt.f.RGBA,Ie&=(hn=Math.abs(ge.A))*(nn-1)+qt<=ge.size,Ie&=hn>=qt*mv[Qt],Ie&=ge.eb!=null;else{ge=xt.f.kb,hn=(qt+1)/2,Er=(nn+1)/2,bn=Math.abs(ge.fa),Mn=Math.abs(ge.Ab);var ci=Math.abs(ge.Db),Un=Math.abs(ge.lb),_r=Un*(nn-1)+qt;Ie&=bn*(nn-1)+qt<=ge.Fd,Ie&=Mn*(Er-1)+hn<=ge.Cd,Ie=(Ie&=ci*(Er-1)+hn<=ge.Ed)&bn>=qt&Mn>=hn&ci>=hn,Ie&=ge.y!=null,Ie&=ge.f!=null,Ie&=ge.ea!=null,Qt==12&&(Ie&=Un>=qt,Ie&=_r<=ge.Tc,Ie&=ge.F!=null)}else Ie=0;ge=Ie?0:2}}return ge!=0||rt!=null&&rt.fd&&(ge=Rg(xt)),ge}var jp=64,md=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],vd=24,Yh=32,Lh=8,Jh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ba("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(ge){return ge},Gn.Predictor2=function(ge,Ie,rt){return Ie[rt+0]},Gn.Predictor3=function(ge,Ie,rt){return Ie[rt+1]},Gn.Predictor4=function(ge,Ie,rt){return Ie[rt-1]},Gn.Predictor5=function(ge,Ie,rt){return Va(Va(ge,Ie[rt+1]),Ie[rt+0])},Gn.Predictor6=function(ge,Ie,rt){return Va(ge,Ie[rt-1])},Gn.Predictor7=function(ge,Ie,rt){return Va(ge,Ie[rt+0])},Gn.Predictor8=function(ge,Ie,rt){return Va(Ie[rt-1],Ie[rt+0])},Gn.Predictor9=function(ge,Ie,rt){return Va(Ie[rt+0],Ie[rt+1])},Gn.Predictor10=function(ge,Ie,rt){return Va(Va(ge,Ie[rt-1]),Va(Ie[rt+0],Ie[rt+1]))},Gn.Predictor11=function(ge,Ie,rt){var xt=Ie[rt+0];return 0>=Ps(xt>>24&255,ge>>24&255,(Ie=Ie[rt-1])>>24&255)+Ps(xt>>16&255,ge>>16&255,Ie>>16&255)+Ps(xt>>8&255,ge>>8&255,Ie>>8&255)+Ps(255&xt,255&ge,255&Ie)?xt:ge},Gn.Predictor12=function(ge,Ie,rt){var xt=Ie[rt+0];return(iu((ge>>24&255)+(xt>>24&255)-((Ie=Ie[rt-1])>>24&255))<<24|iu((ge>>16&255)+(xt>>16&255)-(Ie>>16&255))<<16|iu((ge>>8&255)+(xt>>8&255)-(Ie>>8&255))<<8|iu((255&ge)+(255&xt)-(255&Ie)))>>>0},Gn.Predictor13=function(ge,Ie,rt){var xt=Ie[rt-1];return(ml((ge=Va(ge,Ie[rt+0]))>>24&255,xt>>24&255)<<24|ml(ge>>16&255,xt>>16&255)<<16|ml(ge>>8&255,xt>>8&255)<<8|ml(255&ge,255&xt))>>>0};var jg=Gn.PredictorAdd0;Gn.PredictorAdd1=Bl,Ba("Predictor2","PredictorAdd2"),Ba("Predictor3","PredictorAdd3"),Ba("Predictor4","PredictorAdd4"),Ba("Predictor5","PredictorAdd5"),Ba("Predictor6","PredictorAdd6"),Ba("Predictor7","PredictorAdd7"),Ba("Predictor8","PredictorAdd8"),Ba("Predictor9","PredictorAdd9"),Ba("Predictor10","PredictorAdd10"),Ba("Predictor11","PredictorAdd11"),Ba("Predictor12","PredictorAdd12"),Ba("Predictor13","PredictorAdd13");var fg=Gn.PredictorAdd2;Ha("ColorIndexInverseTransform","MapARGB","32b",function(ge){return ge>>8&255},function(ge){return ge}),Ha("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ge){return ge},function(ge){return ge>>8&255});var wA,Cm=Gn.ColorIndexInverseTransform,Vf=Gn.MapARGB,Xf=Gn.VP8LColorIndexInverseTransformAlpha,Hg=Gn.MapAlpha,Qg=Gn.VP8LPredictorsAdd=[];Qg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var zg,Kg,qh,ep,tp,Hp,np,Qp,Wd,Yf,au,Cu,bA,UA,Dh,Zg,hg,xm,Z0,W0,$0,G0,V0,X0,Wg,Y0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,A0=tv,Bm=nv,yd=rv,$d=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,c0=5,av=6,d0=7,f0=8,Lm=9,h0=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],i1=8,p0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],g0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],$g=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],a1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],s1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],u1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],A1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rp=[],mf=[],Nh=[],c1=1,uv=2,ip=[],Gd=[];Fh("UpsampleRgbLinePair",Vh,3),Fh("UpsampleBgrLinePair",uc,3),Fh("UpsampleRgbaLinePair",jc,4),Fh("UpsampleBgraLinePair",Mg,4),Fh("UpsampleArgbLinePair",kg,4),Fh("UpsampleRgba4444LinePair",Up,2),Fh("UpsampleRgb565LinePair",Mp,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,Av=Gn.UpsampleRgbaLinePair,cv=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<xt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),xt.ca.f.kb.F!=null&&gf()),xt.Pb&&0(bn=rt.Md)?0:100Mn;++Mn)12>(ci=Qt.pb[Mn]).lc&&(ci.ia=bn*C1[0>ci.lc?0:ci.lc]>>3),Er|=ci.ia;Er&&(alert("todo:VP8InitRandom"),Qt.ia=1)}Qt.Ga=rt.Id,100Qt.Ga&&(Qt.Ga=0)}(function(Un,_r){if(Un==null)return 0;if(_r==null)return FA(Un,2,"NULL VP8Io parameter in VP8Decode().");if(!Un.cb&&!$f(Un,_r))return 0;if(z(Un.cb),_r.ac==null||_r.ac(_r)){_r.ob&&(Un.L=0);var Xr=Om[Un.L];if(Un.L==2?(Un.yb=0,Un.zb=0):(Un.yb=_r.v-Xr>>4,Un.zb=_r.j-Xr>>4,0>Un.yb&&(Un.yb=0),0>Un.zb&&(Un.zb=0)),Un.Va=_r.o+15+Xr>>4,Un.Hb=_r.va+15+Xr>>4,Un.Hb>Un.za&&(Un.Hb=Un.za),Un.Va>Un.Ub&&(Un.Va=Un.Ub),0Xr;++Xr){var si;if(Un.Qa.Cb){var zi=Un.Qa.Lb[Xr];Un.Qa.Fb||(zi+=Ri.Tb)}else zi=Ri.Tb;for(si=0;1>=si;++si){var Gi=Un.gd[Xr][si],yo=zi;if(Ri.Pc&&(yo+=Ri.vd[0],si&&(yo+=Ri.od[0])),0<(yo=0>yo?0:63>2:ao>>1)>9-Ri.wb&&(ao=9-Ri.wb),1>ao&&(ao=1),Gi.dd=ao,Gi.tc=2*yo+ao,Gi.ld=40<=yo?2:15<=yo?1:0}else Gi.tc=0;Gi.La=si}}}Xr=0}else FA(Un,6,"Frame setup failed"),Xr=Un.a;if(Xr=Xr==0){if(Xr){Un.$c=0,0Un.Vb){if(Un.Vb=0,Un.Ec=he(Gi),Un.Fc=0,Un.Ec==null){Xr=FA(Un,1,"no memory during frame initialization.");break t}Un.Vb=Gi}Gi=Un.Ec,yo=Un.Fc,Un.Ac=Gi,Un.Bc=yo,yo+=Ri,Un.Gd=Ze(ja,lm),Un.Hd=0,Un.rb=Ze(xa+1,Eg),Un.sb=1,Un.wa=Zs?Ze(Zs,zd):null,Un.Y=0,Un.D.Nb=0,Un.D.wa=Un.wa,Un.D.Y=Un.Y,0=Xr;++Xr)ev[255+Xr]=0>Xr?-Xr:Xr;for(Xr=-1020;1020>=Xr;++Xr)tv[1020+Xr]=-128>Xr?-128:127=Xr;++Xr)nv[112+Xr]=-16>Xr?-16:15=Xr;++Xr)rv[255+Xr]=0>Xr?0:255Nl;++Nl){var jA,_l=Hc[0+Nl];for(jA=0;4>jA;++jA){_l=l1[Mu[Ac+jA]][_l];for(var cu=lv[Xi(Ts,_l[0])];0>3;for(cu=0;256>cu;cu+=16)Nl[Dc+cu]=ed}cc=1,vf=Ac[0]}var xu=15&Ts.la,HA=15&Qc.la;for(cu=0;4>cu;++cu){var wd=1&HA;for(ed=du=0;4>ed;++ed)xu=xu>>1|(wd=(xA=$g(Mu,vf,xA=wd+(1&xu),dA.Sc,cc,Nl,Dc))>cc)<<7,du=du<<2|(3>=4,HA=HA>>1|wd<<7,jA=(jA<<8|du)>>>0}for(vf=xu,cc=HA>>4,fA=0;4>fA;fA+=2){for(du=0,xu=Ts.la>>4+fA,HA=Qc.la>>4+fA,cu=0;2>cu;++cu){for(wd=1&HA,ed=0;2>ed;++ed)xA=wd+(1&xu),xu=xu>>1|(wd=0<(xA=$g(Mu,Ac[2],xA,dA.Qc,0,Nl,Dc)))<<3,du=du<<2|(3>=2,HA=HA>>1|wd<<5}_l|=du<<4*fA,vf|=xu<<4<=Na.zb&&Na.M<=Na.Va,Na.Aa==0)t:{if(Ws.M=Na.M,Ws.uc=Ts,Zd(Na,Ws),CA=1,Ws=(du=Na.D).Nb,Ts=(_l=Om[Na.L])*Na.R,Mu=_l/2*Na.B,cu=16*Ws*Na.R,ed=8*Ws*Na.B,Ac=Na.sa,Hc=Na.ta-Ts+cu,dA=Na.qa,Nl=Na.ra-Mu+ed,Dc=Na.Ha,Qc=Na.Ia-Mu+ed,HA=(xu=du.M)==0,jA=xu>=Na.Va-1,Na.Aa==2&&Zd(Na,du),du.uc)for(wd=(xA=Na).D.M,z(xA.D.uc),du=xA.yb;duXo.o&&(xu=Xo.o),Xo.F=null,Xo.J=null,Na.Fa!=null&&0>1),Xo.W+=Na.B*(_l>>1),Xo.F!=null&&(Xo.J+=Xo.width*_l)),du>1,Xo.W+=Xo.v>>1,Xo.F!=null&&(Xo.J+=Xo.v),Xo.ka=du-Xo.j,Xo.U=Xo.va-Xo.v,Xo.T=xu-du,CA=Xo.put(Xo))}Ws+1!=Na.Ic||jA||(re(Na.sa,Na.ta-Ts,Ac,Hc+16*Na.R,Ts),re(Na.qa,Na.ra-Mu,dA,Nl+8*Na.B,Mu),re(Na.Ha,Na.Ia-Mu,Dc,Qc+8*Na.B,Mu))}if(!CA)return FA(El,6,"Output aborted.")}return 1}(Un,_r)),_r.bc!=null&&_r.bc(_r),Xr&=1}return Xr?(Un.cb=0,Xr):0})(ge,xt)||(Ie=ge.a)}}else Ie=ge.a}Ie==0&&nn.Oa!=null&&nn.Oa.fd&&(Ie=Rg(nn.ba))}nn=Ie}qt=nn!=0?null:11>qt?hn.f.RGBA.eb:hn.f.kb.y}else qt=null;return qt};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ye(Gn,Gr){for(var An="",Pn=0;Pn<4;Pn++)An+=String.fromCharCode(Gn[Gr++]);return An}function dt(Gn,Gr){return Gn[Gr+0]|Gn[Gr+1]<<8}function Tt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16)>>>0}function Jt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16|Gn[Gr+3]<<24)>>>0}new Ve;var At=[0],In=[0],xn=[],Nn=new Ve,dn=y,yr=function(Gn,Gr){var An={},Pn=0,pr=!1,cr=0,yi=0;if(An.frames=[],!function(on,zn){for(var ir=0;ir<4;ir++)if(on[zn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(Gn,Gr)){for(Jt(Gn,Gr+=4),Gr+=8;Gr>1&1}Fi!="ANMF"&&(Gr+=Ai)}return An}}(dn,0);yr.response=dn,yr.rgbaoutput=!0,yr.dataurl=!1;var lr=yr.header?yr.header:null,Zn=yr.frames?yr.frames:null;if(lr){lr.loop_counter=lr.loop_count,At=[lr.canvas_height],In=[lr.canvas_width];for(var fi=0;fi=2?_n[1]:ca[0],ca[2]=_n.length>=3?_n[2]:ca[0],ca[3]=_n.length>=4?_n[3]:ca[1]),Ye.margin=ca}});var Di=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Di},set:function(_n){Di=_n}});var Pi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Pi},set:function(_n){Pi=_n}});var Xi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Xi},set:function(_n){Xi=_n}}),Object.defineProperty(this,"ctx",{get:function(){return Ye},set:function(_n){_n instanceof dt&&(Ye=_n)}}),Object.defineProperty(this,"path",{get:function(){return Ye.path},set:function(_n){Ye.path=_n}});var xo=[];Object.defineProperty(this,"ctxStack",{get:function(){return xo},set:function(_n){xo=_n}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_n){var ca;ca=Jt(_n),this.ctx.fillStyle=ca.style,this.ctx.isFillTransparent=ca.a===0,this.ctx.fillOpacity=ca.a,this.pdf.setFillColor(ca.r,ca.g,ca.b,{a:ca.a}),this.pdf.setTextColor(ca.r,ca.g,ca.b,{a:ca.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_n){var ca=Jt(_n);this.ctx.strokeStyle=ca.style,this.ctx.isStrokeTransparent=ca.a===0,this.ctx.strokeOpacity=ca.a,ca.a===0?this.pdf.setDrawColor(255,255,255):(ca.a,this.pdf.setDrawColor(ca.r,ca.g,ca.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_n){["butt","round","square"].indexOf(_n)!==-1&&(this.ctx.lineCap=_n,this.pdf.setLineCap(_n))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_n){isNaN(_n)||(this.ctx.lineWidth=_n,this.pdf.setLineWidth(_n))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_n){["bevel","round","miter"].indexOf(_n)!==-1&&(this.ctx.lineJoin=_n,this.pdf.setLineJoin(_n))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_n){isNaN(_n)||(this.ctx.miterLimit=_n,this.pdf.setMiterLimit(_n))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_n){this.ctx.textBaseline=_n}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_n){["right","end","center","left","start"].indexOf(_n)!==-1&&(this.ctx.textAlign=_n)}});var Aa=null,la=null,$a=null;Object.defineProperty(this,"fontFaces",{get:function(){return $a},set:function(_n){Aa=null,la=null,$a=_n}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_n){var ca;if(this.ctx.font=_n,(ca=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(_n))!==null){var Js=ca[1];ca[2];var is=ca[3],go=ca[4];ca[5];var os=ca[6],Ba=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(go)[2];go=Math.floor(Ba==="px"?parseFloat(go)*this.pdf.internal.scaleFactor:Ba==="em"?parseFloat(go)*this.pdf.getFontSize():parseFloat(go)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(go);var ts=function(Ha){var yA,Ol,el=[],tl=Ha.trim();if(tl==="")return Zm;if(tl in Rf)return[Rf[tl]];for(;tl!=="";){switch(Ol=null,yA=(tl=jf(tl)).charAt(0)){case'"':case"'":Ol=uf(tl.substring(1),yA);break;default:Ol=Zh(tl)}if(Ol===null||(el.push(Ol[0]),(tl=jf(Ol[1]))!==""&&tl.charAt(0)!==","))return Zm;tl=tl.replace(/^,/,"")}return el}(os);if(this.fontFaces){var Va=function(Ha,yA){var Ol=Ha.getFontList(),el=JSON.stringify(Ol);if(Aa===null||la!==el){var tl=function(Zu){var Ya=[];return Object.keys(Zu).forEach(function(Su){Zu[Su].forEach(function(ds){var _s=null;switch(ds){case"bold":_s={family:Su,weight:"bold"};break;case"italic":_s={family:Su,style:"italic"};break;case"bolditalic":_s={family:Su,weight:"bold",style:"italic"};break;case"":case"normal":_s={family:Su}}_s!==null&&(_s.ref={name:Su,style:ds},Ya.push(_s))})}),Ya}(Ol);Aa=function(Zu){for(var Ya={},Su=0;Su=700||Js==="bold")&&(Ps="bold"),Js==="italic"&&(Ps+="italic"),Ps.length===0&&(Ps="normal");for(var Bl="",vl={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ta=0;Ta=2*Math.PI&&(br=0,Tr=2*Math.PI),this.path.push({type:"arc",x:on,y:zn,radius:ir,startAngle:br,endAngle:Tr,counterclockwise:ei})},Tt.prototype.arcTo=function(on,zn,ir,br,Tr){throw new Error("arcTo not implemented.")},Tt.prototype.rect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,zn),this.lineTo(on+ir,zn),this.lineTo(on+ir,zn+br),this.lineTo(on,zn+br),this.lineTo(on,zn),this.lineTo(on+ir,zn),this.lineTo(on,zn)},Tt.prototype.fillRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!At.call(this)){var Tr={};this.lineCap!=="butt"&&(Tr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Tr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,zn,ir,br),this.fill(),Tr.hasOwnProperty("lineCap")&&(this.lineCap=Tr.lineCap),Tr.hasOwnProperty("lineJoin")&&(this.lineJoin=Tr.lineJoin)}},Tt.prototype.strokeRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");In.call(this)||(this.beginPath(),this.rect(on,zn,ir,br),this.stroke())},Tt.prototype.clearRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,zn,ir,br))},Tt.prototype.save=function(on){on=typeof on!="boolean"||on;for(var zn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Tt.prototype.drawImage=function(on,zn,ir,br,Tr,ei,Di,Pi,Xi){var xo=this.pdf.getImageProperties(on),Aa=1,la=1,$a=1,_n=1;br!==void 0&&Pi!==void 0&&($a=Pi/br,_n=Xi/Tr,Aa=xo.width/br*Pi/br,la=xo.height/Tr*Xi/Tr),ei===void 0&&(ei=zn,Di=ir,zn=0,ir=0),br!==void 0&&Pi===void 0&&(Pi=br,Xi=Tr),br===void 0&&Pi===void 0&&(Pi=xo.width,Xi=xo.height);var ca=this.ctx.transform.decompose(),Js=Ai(ca.rotate.shx),is=new Ve,go=(is=(is=(is=is.multiply(ca.translate)).multiply(ca.skew)).multiply(ca.scale)).applyToRectangle(new Pe(ei-zn*$a,Di-ir*_n,br*Aa,Tr*la));if(this.autoPaging){for(var os,Ba=Nn.call(this,go),ts=[],Va=0;Vaiu||Psgo||Ba0)){for(;Xi>=0;Xi--)if(Tr[Xi-1].close!==!0&&Tr[Xi-1].begin!==!0){Tr[Xi-1].deltas.push(ir),Tr[Xi-1].abs.push(Pi);break}}break;case"bct":ir=[Pi.x1-ei[Di-1].x,Pi.y1-ei[Di-1].y,Pi.x2-ei[Di-1].x,Pi.y2-ei[Di-1].y,Pi.x-ei[Di-1].x,Pi.y-ei[Di-1].y],Tr[Tr.length-1].deltas.push(ir);break;case"qct":var xo=ei[Di-1].x+2/3*(Pi.x1-ei[Di-1].x),Aa=ei[Di-1].y+2/3*(Pi.y1-ei[Di-1].y),la=Pi.x+2/3*(Pi.x1-Pi.x),$a=Pi.y+2/3*(Pi.y1-Pi.y),_n=Pi.x,ca=Pi.y;ir=[xo-ei[Di-1].x,Aa-ei[Di-1].y,la-ei[Di-1].x,$a-ei[Di-1].y,_n-ei[Di-1].x,ca-ei[Di-1].y],Tr[Tr.length-1].deltas.push(ir);break;case"arc":Tr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tr[Tr.length-1].abs)&&Tr[Tr.length-1].abs.push(Pi)}}br=zn?null:on==="stroke"?"stroke":"fill";for(var Js=!1,is=0;is=.01&&(br=this.pdf.internal.getFontSize(),this.pdf.setFontSize(br*on.scale),Tr=this.lineWidth,this.lineWidth=Tr*on.scale);var Us=this.autoPaging!=="text";if(Us||Ta.y+Ta.h<=Va){if(Us||Ta.y>=Ba&&Ta.x<=ml){var Ha=Us?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||ml-Ta.x)[0],yA=yr([JSON.parse(JSON.stringify(la))],this.posX+this.margin[3],-Bl+Ba+this.ctx.prevPageLastElemOffset)[0],Ol=Us&&(os>is||os=.01&&(this.pdf.setFontSize(br),this.lineWidth=Tr)}}else on.scale>=.01&&(br=this.pdf.internal.getFontSize(),this.pdf.setFontSize(br*on.scale),Tr=this.lineWidth,this.lineWidth=Tr*on.scale),this.pdf.text(on.text,Xi.x+this.posX,Xi.y+this.posY,{angle:on.angle,align:zn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(br),this.lineWidth=Tr)},pr=function(on,zn,ir,br){ir=ir||0,br=br||0,this.pdf.internal.out(E(on+ir)+" "+re(zn+br)+" l")},cr=function(on,zn,ir){return this.pdf.lines(on,zn,ir,null,null)},yi=function(on,zn,ir,br,Tr,ei,Di,Pi){this.pdf.internal.out([z(Ae(ir+on)),z(he(br+zn)),z(Ae(Tr+on)),z(he(ei+zn)),z(Ae(Di+on)),z(he(Pi+zn)),"c"].join(" "))},Fi=function(on,zn,ir,br){for(var Tr=2*Math.PI,ei=Math.PI/2;zn>ir;)zn-=Tr;var Di=Math.abs(ir-zn);Di1e-5;){var Aa=xo+Xi*Math.min(Di,ei);Pi.push(Oi.call(this,on,xo,Aa)),Di-=Math.abs(Aa-xo),xo=Aa}return Pi},Oi=function(on,zn,ir){var br=(ir-zn)/2,Tr=on*Math.cos(br),ei=on*Math.sin(br),Di=Tr,Pi=-ei,Xi=Di*Di+Pi*Pi,xo=Xi+Di*Tr+Pi*ei,Aa=4/3*(Math.sqrt(2*Xi*xo)-xo)/(Di*ei-Pi*Tr),la=Di-Aa*Pi,$a=Pi+Aa*Di,_n=la,ca=-$a,Js=br+zn,is=Math.cos(Js),go=Math.sin(Js);return{x1:on*Math.cos(zn),y1:on*Math.sin(zn),x2:la*is-$a*go,y2:la*go+$a*is,x3:_n*is-ca*go,y3:_n*go+ca*is,x4:on*Math.cos(ir),y4:on*Math.sin(ir)}},Ai=function(on){return 180*on/Math.PI},_i=function(on,zn,ir,br,Tr,ei){var Di=on+.5*(ir-on),Pi=zn+.5*(br-zn),Xi=Tr+.5*(ir-Tr),xo=ei+.5*(br-ei),Aa=Math.min(on,Tr,Di,Xi),la=Math.max(on,Tr,Di,Xi),$a=Math.min(zn,ei,Pi,xo),_n=Math.max(zn,ei,Pi,xo);return new Pe(Aa,$a,la-Aa,_n-$a)},Po=function(on,zn,ir,br,Tr,ei,Di,Pi){var Xi,xo,Aa,la,$a,_n,ca,Js,is,go,os,Ba,ts,Va,iu=ir-on,ml=br-zn,Ps=Tr-ir,Bl=ei-br,vl=Di-Tr,Ta=Pi-ei;for(xo=0;xo<41;xo++)is=(ca=(Aa=on+(Xi=xo/40)*iu)+Xi*(($a=ir+Xi*Ps)-Aa))+Xi*($a+Xi*(Tr+Xi*vl-$a)-ca),go=(Js=(la=zn+Xi*ml)+Xi*((_n=br+Xi*Bl)-la))+Xi*(_n+Xi*(ei+Xi*Ta-_n)-Js),xo==0?(os=is,Ba=go,ts=is,Va=go):(os=Math.min(os,is),Ba=Math.min(Ba,go),ts=Math.max(ts,is),Va=Math.max(Va,go));return new Pe(Math.round(os),Math.round(Ba),Math.round(ts-os),Math.round(Va-Ba))},ro=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,zn,ir=(on=this.ctx.lineDash,zn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:zn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(La.API),function(y){var z=function(Ze){var Pe,Ve,Ye,dt,Tt,Jt,At,In,xn,Nn;for(/[^\x00-\xFF]/.test(Ze),Ve=[],Ye=0,dt=(Ze+=Pe="\0\0\0\0".slice(Ze.length%4||4)).length;dt>Ye;Ye+=4)(Tt=(Ze.charCodeAt(Ye)<<24)+(Ze.charCodeAt(Ye+1)<<16)+(Ze.charCodeAt(Ye+2)<<8)+Ze.charCodeAt(Ye+3))!==0?(Jt=(Tt=((Tt=((Tt=((Tt=(Tt-(Nn=Tt%85))/85)-(xn=Tt%85))/85)-(In=Tt%85))/85)-(At=Tt%85))/85)%85,Ve.push(Jt+33,At+33,In+33,xn+33,Nn+33)):Ve.push(122);return function(dn,yr){for(var lr=yr;lr>0;lr--)dn.pop()}(Ve,Pe.length),String.fromCharCode.apply(String,Ve)+"~>"},E=function(Ze){var Pe,Ve,Ye,dt,Tt,Jt=String,At="length",In=255,xn="charCodeAt",Nn="slice",dn="replace";for(Ze[Nn](-2),Ze=Ze[Nn](0,-2)[dn](/\s/g,"")[dn]("z","!!!!!"),Ye=[],dt=0,Tt=(Ze+=Pe="uuuuu"[Nn](Ze[At]%5||5))[At];Tt>dt;dt+=5)Ve=52200625*(Ze[xn](dt)-33)+614125*(Ze[xn](dt+1)-33)+7225*(Ze[xn](dt+2)-33)+85*(Ze[xn](dt+3)-33)+(Ze[xn](dt+4)-33),Ye.push(In&Ve>>24,In&Ve>>16,In&Ve>>8,In&Ve);return function(yr,lr){for(var Zn=lr;Zn>0;Zn--)yr.pop()}(Ye,Pe[At]),Jt.fromCharCode.apply(Jt,Ye)},re=function(Ze){return Ze.split("").map(function(Pe){return("0"+Pe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},Ae=function(Ze){var Pe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),Pe.test(Ze)===!1)return"";for(var Ve="",Ye=0;Yexn&&(In=Nn,Nn=xn,xn=In);else{if(Pe!=="l"&&Pe!=="landscape")throw"Invalid orientation: "+Pe;Pe="l",xn>Nn&&(In=Nn,Nn=xn,xn=In)}return{width:Nn,height:xn,unit:Ve,k:Tt,orientation:Pe}},y.html=function(Pe,Ve){(Ve=Ve||{}).callback=Ve.callback||function(){},Ve.html2canvas=Ve.html2canvas||{},Ve.html2canvas.canvas=Ve.html2canvas.canvas||this.canvas,Ve.jsPDF=Ve.jsPDF||this,Ve.fontFaces=Ve.fontFaces?Ve.fontFaces.map(qc):null;var Ye=new Ze(Ve);return Ve.worker?Ye:Ye.from(Pe).doCallback()}}(La.API),La.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){Hf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Hf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Hf!==void 0&&I0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var z;y.events.push(["postPutResources",function(){var E=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ae=E.outline.render().split(/\r\n/),he=0;he> endobj")}var At=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+At+" 0 R"),E.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+z+" 0 R"))}]),y.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(re,Ae,he){var Ze={title:Ae,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ze),Ze},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(re){re.id=E.internal.newObjectDeferred();for(var Ae=0;Ae0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},E.outline.renderItems=function(re){for(var Ae=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he0&&this.line("/Prev "+this.makeRef(re.children[he-1])),he0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var Pe=this.count=this.count_r({count:0},Ze);if(Pe>0&&this.line("/Count "+Pe),Ze.options&&Ze.options.pageNumber){var Ve=E.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+Ve.objId+" 0 R /XYZ 0 "+Ae(0)+" 0]")}this.objEnd()}for(var Ye=0;Ye>"}),"transparency"in Pn&&Array.isArray(Pn.transparency)&&Pn.transparency.length>0){for(var Oi="",Ai=0,_i=Pn.transparency.length;Ai<_i;Ai++)Oi+=Pn.transparency[Ai]+" "+Pn.transparency[Ai]+" ";Fi.push({key:"Mask",value:"["+Oi+"]"})}Pn.sMask!==void 0&&Fi.push({key:"SMask",value:Pn.objectId+1+" 0 R"});var Po=Pn.filter!==void 0?["/"+Pn.filter]:void 0;if(cr({data:Pn.data,additionalKeyValues:Fi,alreadyAppliedFilters:Po,objectId:Pn.objectId}),pr("endobj"),"sMask"in Pn&&Pn.sMask!==void 0){var ro,on=(ro=Pn.sMaskBitsPerComponent)!==null&&ro!==void 0?ro:Pn.bitsPerComponent,zn={width:Pn.width,height:Pn.height,colorSpace:"DeviceGray",bitsPerComponent:on,data:Pn.sMask};"filter"in Pn&&(zn.decodeParameters="/Predictor ".concat(Pn.predictor," /Colors 1 /BitsPerComponent ").concat(on," /Columns ").concat(Pn.width),zn.filter=Pn.filter),An.call(this,zn)}if(Pn.colorSpace===dn.INDEXED){var ir=this.internal.newObject();cr({data:Ir(new Uint8Array(Pn.palette)),objectId:ir}),pr("endobj")}},Ze=function(){var An=this.internal.collections[z+"images"];for(var Pn in An)he.call(this,An[Pn])},Pe=function(){var An,Pn=this.internal.collections[z+"images"],pr=this.internal.write;for(var cr in Pn)pr("/I"+(An=Pn[cr]).index,An.objectId,"0","R")},Ve=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ze),this.internal.events.subscribe("putXobjectDict",Pe))},Ye=function(){var An=this.internal.collections[z+"images"];return Ve.call(this),An},dt=function(){return Object.keys(this.internal.collections[z+"images"]).length},Tt=function(An){return typeof y["process"+An.toUpperCase()]=="function"},Jt=function(An){return(0,x.Z)(An)==="object"&&An.nodeType===1},At=function(An,Pn){if(An.nodeName==="IMG"&&An.hasAttribute("src")){var pr=""+An.getAttribute("src");if(pr.indexOf("data:image/")===0)return bp(unescape(pr).split("base64,").pop());var cr=y.loadFile(pr,!0);if(cr!==void 0)return cr}if(An.nodeName==="CANVAS"){if(An.width===0||An.height===0)throw new Error("Given canvas must have data. Canvas width: "+An.width+", height: "+An.height);var yi;switch(Pn){case"PNG":yi="image/png";break;case"WEBP":yi="image/webp";break;default:yi="image/jpeg"}return bp(An.toDataURL(yi,1).split("base64,").pop())}},In=function(An){var Pn=this.internal.collections[z+"images"];if(Pn){for(var pr in Pn)if(An===Pn[pr].alias)return Pn[pr]}},xn=function(An,Pn,pr){return An||Pn||(An=-96,Pn=-96),An<0&&(An=-1*pr.width*72/An/this.internal.scaleFactor),Pn<0&&(Pn=-1*pr.height*72/Pn/this.internal.scaleFactor),An===0&&(An=Pn*pr.width/pr.height),Pn===0&&(Pn=An*pr.height/pr.width),[An,Pn]},Nn=function(An,Pn,pr,cr,yi,Fi){var Oi=xn.call(this,pr,cr,yi),Ai=this.internal.getCoordinateString,_i=this.internal.getVerticalCoordinateString,Po=Ye.call(this);if(pr=Oi[0],cr=Oi[1],Po[yi.index]=yi,Fi){Fi*=Math.PI/180;var ro=Math.cos(Fi),on=Math.sin(Fi),zn=function(br){return br.toFixed(4)},ir=[zn(ro),zn(on),zn(-1*on),zn(ro),0,0,"cm"]}this.internal.write("q"),Fi?(this.internal.write([1,"0","0",1,Ai(An),_i(Pn+cr),"cm"].join(" ")),this.internal.write(ir.join(" ")),this.internal.write([Ai(pr),"0","0",Ai(cr),"0","0","cm"].join(" "))):this.internal.write([Ai(pr),"0","0",Ai(cr),Ai(An),_i(Pn+cr),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+yi.index+" Do"),this.internal.write("Q")},dn=y.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};y.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var yr=y.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},lr=y.__addimage__.sHashCode=function(An){var Pn,pr,cr=0;if(typeof An=="string")for(pr=An.length,Pn=0;Pn>",xn.content=he;var lr=xn.objId+" 0 R";he="<>";else if(re.options.pageNumber)switch(he="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=1};var Ye=y.__arabicParser__.arabicLetterHasFinalForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length>=3};var dt=y.__arabicParser__.arabicLetterHasMedialForm=function(xn){return Ze(xn)&&he(xn)&&z[xn.charCodeAt(0)].length==4},Tt=y.__arabicParser__.resolveLigatures=function(xn){var Nn=0,dn=E,yr="",lr=0;for(Nn=0;Nn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(y){var z=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(Pe){E=Pe}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Pe){re=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?150:Pe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var Ae=300;Object.defineProperty(this,"height",{get:function(){return Ae},set:function(Pe){Ae=isNaN(Pe)||Number.isInteger(Pe)===!1||Pe<0?300:Pe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ae+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Pe){he=Pe}});var Ze={};Object.defineProperty(this,"style",{get:function(){return Ze},set:function(Pe){Ze=Pe}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var Ae;if((E=E||"2d")!=="2d")return null;for(Ae in re)this.pdf.context2d.hasOwnProperty(Ae)&&(this.pdf.context2d[Ae]=re[Ae]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(La.API),function(y){var z={left:0,top:0,bottom:0,right:0},E=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),Ae.call(this))},Ae=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Ve=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ve},set:function(xn){Ve=xn}});var Ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ye},set:function(xn){Ye=xn}});var dt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return dt},set:function(xn){dt=xn}});var Tt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Tt},set:function(xn){Tt=xn}});var Jt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Jt},set:function(xn){Jt=xn}});var At=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return At},set:function(xn){At=xn}});var In=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return In},set:function(xn){In=xn}}),this};he.prototype.clone=function(){return new he(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},he.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Ve){return re.call(this),this.internal.__cell__.headerFunction=typeof Ve=="function"?Ve:void 0,this},y.getTextDimensions=function(Ve,Ye){re.call(this);var dt=(Ye=Ye||{}).fontSize||this.getFontSize(),Tt=Ye.font||this.getFont(),Jt=Ye.scaleFactor||this.internal.scaleFactor,At=0,In=0,xn=0,Nn=this;if(!Array.isArray(Ve)&&typeof Ve!="string"){if(typeof Ve!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Ve=String(Ve)}var dn=Ye.maxWidth;dn>0?typeof Ve=="string"?Ve=this.splitTextToSize(Ve,dn):Object.prototype.toString.call(Ve)==="[object Array]"&&(Ve=Ve.reduce(function(lr,Zn){return lr.concat(Nn.splitTextToSize(Zn,dn))},[])):Ve=Array.isArray(Ve)?Ve:[Ve];for(var yr=0;yrthis.getPageHeight()?(this.cellAddPage(),Ve.y=Tt.top,At&&Jt&&(this.printHeaderRow(Ve.lineNumber,!0),Ve.y+=Jt[0].height)):Ve.y=Ye.y+Ye.height||Ve.y),Ve.text[0]!==void 0&&(this.rect(Ve.x,Ve.y,Ve.width,Ve.height,E===!0?"FD":void 0),Ve.align==="right"?this.text(Ve.text,Ve.x+Ve.width-dt,Ve.y+dt,{align:"right",baseline:"top"}):Ve.align==="center"?this.text(Ve.text,Ve.x+Ve.width/2,Ve.y+dt,{align:"center",baseline:"top",maxWidth:Ve.width-dt-dt}):this.text(Ve.text,Ve.x+dt,Ve.y+dt,{align:"left",baseline:"top",maxWidth:Ve.width-dt-dt})),this.internal.__cell__.lastCell=Ve,this};y.table=function(Ve,Ye,dt,Tt,Jt){if(re.call(this),!dt)throw new Error("No data for PDF table.");var At,In,xn,Nn,dn=[],yr=[],lr=[],Zn={},fi={},Hi=[],Li=[],Ir=(Jt=Jt||{}).autoSize||!1,Gn=Jt.printHeaders!==!1,Gr=Jt.css&&Jt.css["font-size"]!==void 0?16*Jt.css["font-size"]:Jt.fontSize||12,An=Jt.margins||Object.assign({width:this.getPageWidth()},z),Pn=typeof Jt.padding=="number"?Jt.padding:3,pr=Jt.headerBackgroundColor||"#c8c8c8",cr=Jt.headerTextColor||"#000";if(Ae.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=An,this.internal.__cell__.table_font_size=Gr,this.internal.__cell__.padding=Pn,this.internal.__cell__.headerBackgroundColor=pr,this.internal.__cell__.headerTextColor=cr,this.setFontSize(Gr),Tt==null)yr=dn=Object.keys(dt[0]),lr=dn.map(function(){return"left"});else if(Array.isArray(Tt)&&(0,x.Z)(Tt[0])==="object")for(dn=Tt.map(function(Po){return Po.name}),yr=Tt.map(function(Po){return Po.prompt||Po.name||""}),lr=Tt.map(function(Po){return Po.align||"left"}),At=0;At0&&this.setTableHeaderRow(Jt),this.setFont(void 0,"normal"),E=!1}}(La.API);var SA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},sf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],JA=Vl(sf),ac=[100,200,300,400,500,600,700,800,900],hh=Vl(ac);function qc(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return SA[he=he||"normal"]?he:"normal"}(y.style),re=function(he){return he?typeof he=="number"?he>=100&&he<=900&&he%100==0?he:400:/^\d00$/.test(he)?parseInt(he):he==="bold"?700:400:400}(y.weight),Ae=function(he){return typeof JA[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:Ae,src:y.src||[],ref:y.ref||{name:z,style:[Ae,E,re].join(" ")}}}function lf(y,z,E,re){var Ae;for(Ae=E;Ae>=0&&Ae=0&&Ae>>1)&255}return Ae}function M0(y,z,E){var re=y.length,Ae=[];Ae[0]=4;for(var he=0;he>he&Ze}function U0(y,z,E,re){var Ae=E*re,he=Math.floor(Ae/8),Ze=16-(Ae-8*he+re),Pe=(1<>8&255;Ye.setUint8(dt,Jt)}})(y,he,R0(y,he)&~(Pe<>7,Ze=1<<1+(7&Ae);y[z++],y[z++];var Pe=null,Ve=null;he&&(Pe=z,Ve=Ze,z+=3*Ze);var Ye=!0,dt=[],Tt=0,Jt=null,At=0,In=null;for(this.width=E,this.height=re;Ye&&z=0))throw Error("Invalid block size");if(An===0)break;z+=An}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var xn=y[z++];Tt=y[z++]|y[z++]<<8,Jt=y[z++],1&xn||(Jt=null),At=xn>>2&7,z++;break;case 254:for(;;){if(!((An=y[z++])>=0))throw Error("Invalid block size");if(An===0)break;z+=An}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Nn=y[z++]|y[z++]<<8,dn=y[z++]|y[z++]<<8,yr=y[z++]|y[z++]<<8,lr=y[z++]|y[z++]<<8,Zn=y[z++],fi=Zn>>6&1,Hi=1<<1+(7&Zn),Li=Pe,Ir=Ve,Gn=!1;Zn>>7&&(Gn=!0,Li=z,Ir=Hi,z+=3*Hi);var Gr=z;for(z++;;){var An;if(!((An=y[z++])>=0))throw Error("Invalid block size");if(An===0)break;z+=An}dt.push({x:Nn,y:dn,width:yr,height:lr,has_local_palette:Gn,palette_offset:Li,palette_size:Ir,data_offset:Gr,data_length:z-Gr,transparent_index:Jt,interlaced:!!fi,delay:Tt,disposal:At});break;case 59:Ye=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return dt.length},this.loopCount=function(){return In},this.frameInfo=function(Pn){if(Pn<0||Pn>=dt.length)throw new Error("Frame index out of range.");return dt[Pn]},this.decodeAndBlitFrameBGRA=function(Pn,pr){var cr=this.frameInfo(Pn),yi=cr.width*cr.height,Fi=new Uint8Array(yi);j0(y,cr.data_offset,Fi,yi);var Oi=cr.palette_offset,Ai=cr.transparent_index;Ai===null&&(Ai=256);var _i=cr.width,Po=E-_i,ro=_i,on=4*(cr.y*E+cr.x),zn=4*((cr.y+cr.height)*E+cr.x),ir=on,br=4*Po;cr.interlaced===!0&&(br+=4*E*7);for(var Tr=8,ei=0,Di=Fi.length;ei=zn&&(br=4*Po+4*E*(Tr-1),ir=on+(_i+Po)*(Tr<<1),Tr>>=1)),Pi===Ai)ir+=4;else{var Xi=y[Oi+3*Pi],xo=y[Oi+3*Pi+1],Aa=y[Oi+3*Pi+2];pr[ir++]=Aa,pr[ir++]=xo,pr[ir++]=Xi,pr[ir++]=255}--ro}},this.decodeAndBlitFrameRGBA=function(Pn,pr){var cr=this.frameInfo(Pn),yi=cr.width*cr.height,Fi=new Uint8Array(yi);j0(y,cr.data_offset,Fi,yi);var Oi=cr.palette_offset,Ai=cr.transparent_index;Ai===null&&(Ai=256);var _i=cr.width,Po=E-_i,ro=_i,on=4*(cr.y*E+cr.x),zn=4*((cr.y+cr.height)*E+cr.x),ir=on,br=4*Po;cr.interlaced===!0&&(br+=4*E*7);for(var Tr=8,ei=0,Di=Fi.length;ei=zn&&(br=4*Po+4*E*(Tr-1),ir=on+(_i+Po)*(Tr<<1),Tr>>=1)),Pi===Ai)ir+=4;else{var Xi=y[Oi+3*Pi],xo=y[Oi+3*Pi+1],Aa=y[Oi+3*Pi+2];pr[ir++]=Xi,pr[ir++]=xo,pr[ir++]=Aa,pr[ir++]=255}--ro}}}function j0(y,z,E,re){for(var Ae=y[z++],he=1<>=Ve,dt-=Ve,Nn!==he){if(Nn===Ze)break;for(var dn=Nnhe;)lr=In[lr]>>8,++yr;var Zn=lr;if(Jt+yr+(dn!==Nn?1:0)>re)return void hl.log("Warning, gif stream longer than expected.");E[Jt++]=Zn;var fi=Jt+=yr;for(dn!==Nn&&(E[Jt++]=Zn),lr=dn;yr--;)lr=In[lr],E[--fi]=255&lr,lr>>=8;xn!==null&&Pe<4096&&(In[Pe++]=xn<<8|Zn,Pe>=Ye+1&&Ve<12&&(++Ve,Ye=Ye<<1|1)),xn=Nn}else Pe=Ze+1,Ye=(1<<(Ve=Ae+1))-1,xn=null}return Jt!==re&&hl.log("Warning, gif stream shorter than expected."),E}function $m(y){var z,E,re,Ae,he,Ze=Math.floor,Pe=new Array(64),Ve=new Array(64),Ye=new Array(64),dt=new Array(64),Tt=new Array(65535),Jt=new Array(65535),At=new Array(64),In=new Array(64),xn=[],Nn=0,dn=7,yr=new Array(64),lr=new Array(64),Zn=new Array(64),fi=new Array(256),Hi=new Array(2048),Li=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ir=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Gr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],An=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Pn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pr=[0,1,2,3,4,5,6,7,8,9,10,11],cr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],yi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fi(on,zn){for(var ir=0,br=0,Tr=new Array,ei=1;ei<=16;ei++){for(var Di=1;Di<=on[ei];Di++)Tr[zn[br]]=[],Tr[zn[br]][0]=ir,Tr[zn[br]][1]=ei,br++,ir++;ir*=2}return Tr}function Oi(on){for(var zn=on[0],ir=on[1]-1;ir>=0;)zn&1<>8&255),Ai(255&on)}function Po(on,zn,ir,br,Tr){for(var ei,Di=Tr[0],Pi=Tr[240],Xi=function(go,os){var Ba,ts,Va,iu,ml,Ps,Bl,vl,Ta,Us,Ha=0;for(Ta=0;Ta<8;++Ta){Ba=go[Ha],ts=go[Ha+1],Va=go[Ha+2],iu=go[Ha+3],ml=go[Ha+4],Ps=go[Ha+5],Bl=go[Ha+6];var yA=Ba+(vl=go[Ha+7]),Ol=Ba-vl,el=ts+Bl,tl=ts-Bl,Zu=Va+Ps,Ya=Va-Ps,Su=iu+ml,ds=iu-ml,_s=yA+Su,Wu=yA-Su,sl=el+Zu,us=el-Zu;go[Ha]=_s+sl,go[Ha+4]=_s-sl;var ou=.707106781*(us+Wu);go[Ha+2]=Wu+ou,go[Ha+6]=Wu-ou;var Sp=.382683433*((_s=ds+Ya)-(us=tl+Ol)),Lc=.5411961*_s+Sp,gh=1.306562965*us+Sp,zf=.707106781*(sl=Ya+tl),As=Ol+zf,mh=Ol-zf;go[Ha+5]=mh+Lc,go[Ha+3]=mh-Lc,go[Ha+1]=As+gh,go[Ha+7]=As-gh,Ha+=8}for(Ha=0,Ta=0;Ta<8;++Ta){Ba=go[Ha],ts=go[Ha+8],Va=go[Ha+16],iu=go[Ha+24],ml=go[Ha+32],Ps=go[Ha+40],Bl=go[Ha+48];var vh=Ba+(vl=go[Ha+56]),jd=Ba-vl,Hd=ts+Bl,cA=ts-Bl,qA=Va+Ps,sc=Va-Ps,Fp=iu+ml,$h=iu-ml,df=vh+Fp,Kf=vh-Fp,ff=Hd+qA,hf=Hd-qA;go[Ha]=df+ff,go[Ha+32]=df-ff;var Qd=.707106781*(hf+Kf);go[Ha+16]=Kf+Qd,go[Ha+48]=Kf-Qd;var Ip=.382683433*((df=$h+sc)-(hf=cA+jd)),Zf=.5411961*df+Ip,Lp=1.306562965*hf+Ip,rg=.707106781*(ff=sc+cA),ig=jd+rg,og=jd-rg;go[Ha+40]=og+Zf,go[Ha+24]=og-Zf,go[Ha+8]=ig+Lp,go[Ha+56]=ig-Lp,Ha++}for(Ta=0;Ta<64;++Ta)Us=go[Ta]*os[Ta],At[Ta]=Us>0?Us+.5|0:Us-.5|0;return At}(on,zn),xo=0;xo<64;++xo)In[Li[xo]]=Xi[xo];var Aa=In[0]-ir;ir=In[0],Aa==0?Oi(br[0]):(Oi(br[Jt[ei=32767+Aa]]),Oi(Tt[ei]));for(var la=63;la>0&&In[la]==0;)la--;if(la==0)return Oi(Di),ir;for(var $a,_n=1;_n<=la;){for(var ca=_n;In[_n]==0&&_n<=la;)++_n;var Js=_n-ca;if(Js>=16){$a=Js>>4;for(var is=1;is<=$a;++is)Oi(Pi);Js&=15}ei=32767+In[_n],Oi(Tr[(Js<<4)+Jt[ei]]),Oi(Tt[ei]),_n++}return la!=63&&Oi(Di),ir}function ro(on){on=Math.min(Math.max(on,1),100),he!=on&&(function(zn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],br=0;br<64;br++){var Tr=Ze((ir[br]*zn+50)/100);Tr=Math.min(Math.max(Tr,1),255),Pe[Li[br]]=Tr}for(var ei=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Di=0;Di<64;Di++){var Pi=Ze((ei[Di]*zn+50)/100);Pi=Math.min(Math.max(Pi,1),255),Ve[Li[Di]]=Pi}for(var Xi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],xo=0,Aa=0;Aa<8;Aa++)for(var la=0;la<8;la++)Ye[xo]=1/(Pe[Li[xo]]*Xi[Aa]*Xi[la]*8),dt[xo]=1/(Ve[Li[xo]]*Xi[Aa]*Xi[la]*8),xo++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),he=on)}this.encode=function(on,zn){zn&&ro(zn),xn=new Array,Nn=0,dn=7,_i(65496),_i(65504),_i(16),Ai(74),Ai(70),Ai(73),Ai(70),Ai(0),Ai(1),Ai(1),Ai(0),_i(1),_i(1),Ai(0),Ai(0),function(){_i(65499),_i(132),Ai(0);for(var ts=0;ts<64;ts++)Ai(Pe[ts]);Ai(1);for(var Va=0;Va<64;Va++)Ai(Ve[Va])}(),function(ts,Va){_i(65472),_i(17),Ai(8),_i(Va),_i(ts),Ai(3),Ai(1),Ai(17),Ai(0),Ai(2),Ai(17),Ai(1),Ai(3),Ai(17),Ai(1)}(on.width,on.height),function(){_i(65476),_i(418),Ai(0);for(var ts=0;ts<16;ts++)Ai(Ir[ts+1]);for(var Va=0;Va<=11;Va++)Ai(Gn[Va]);Ai(16);for(var iu=0;iu<16;iu++)Ai(Gr[iu+1]);for(var ml=0;ml<=161;ml++)Ai(An[ml]);Ai(1);for(var Ps=0;Ps<16;Ps++)Ai(Pn[Ps+1]);for(var Bl=0;Bl<=11;Bl++)Ai(pr[Bl]);Ai(17);for(var vl=0;vl<16;vl++)Ai(cr[vl+1]);for(var Ta=0;Ta<=161;Ta++)Ai(yi[Ta])}(),_i(65498),_i(12),Ai(3),Ai(1),Ai(0),Ai(2),Ai(17),Ai(3),Ai(17),Ai(0),Ai(63),Ai(0);var ir=0,br=0,Tr=0;Nn=0,dn=7,this.encode.displayName="_encode_";for(var ei,Di,Pi,Xi,xo,Aa,la,$a,_n,ca=on.data,Js=on.width,is=on.height,go=4*Js,os=0;os>3)*go+(la=4*(7&_n)),os+$a>=is&&(Aa-=go*(os+1+$a-is)),ei+la>=go&&(Aa-=ei+la-go+4),Di=ca[Aa++],Pi=ca[Aa++],Xi=ca[Aa++],yr[_n]=(Hi[Di]+Hi[Pi+256|0]+Hi[Xi+512|0]>>16)-128,lr[_n]=(Hi[Di+768|0]+Hi[Pi+1024|0]+Hi[Xi+1280|0]>>16)-128,Zn[_n]=(Hi[Di+1280|0]+Hi[Pi+1536|0]+Hi[Xi+1792|0]>>16)-128;ir=Po(yr,Ye,ir,z,re),br=Po(lr,dt,br,E,Ae),Tr=Po(Zn,dt,Tr,E,Ae),ei+=32}os+=8}if(dn>=0){var Ba=[];Ba[1]=dn+1,Ba[0]=(1<Pn;Pn++)if(Gn[Gr+Pn]!=An.charCodeAt(Pn))return!0;return!1}function re(Gn,Gr,An,Pn,pr){for(var cr=0;crcr+1?[]:new Gr),!(yi.length>>0;ge&rt;)rt>>>=1;return rt?(ge&rt-1)+rt:ge}function An(ge,Ie,rt,xt,Qt){z(!(xt%rt));do ge[Ie+(xt-=rt)]=Qt;while(0=Qt),512>=Qt)var qt=he(512);else if((qt=he(Qt))==null)return 0;return function(nn,hn,bn,Mn,Er,ci){var Un,_r,Xr=hn,Ri=1<Un;++Un){if(si[Un]>1<(Zs-=si[Un]))return 0;for(;0=Un;++Un,Er<<=1){if(xa+=Zs<<=1,0>(Zs-=si[Un]))return 0;for(;0yo&&!(0>=(Gi-=si[yo]));)++yo,Gi<<=1;Ri+=Da=1<<(Gi=yo-bn),nn[hn+(yo=ja&ao)].g=Gi+bn,nn[hn+yo].value=Xr-hn-yo}Mn.g=Un-bn,Mn.value=ci[_r++],An(nn,Xr+(ja>>bn),Er,Da,Mn),ja=Gr(ja,Un)}}return xa!=2*zi[15]-1?0:Ri}(ge,Ie,rt,xt,Qt,qt)}function pr(){this.value=this.g=0}function cr(){this.value=this.g=0}function yi(){this.G=Ze(5,pr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(jp,cr)}function Fi(ge,Ie,rt,xt){z(ge!=null),z(Ie!=null),z(2147483648>xt),ge.Ca=254,ge.I=0,ge.b=-8,ge.Ka=0,ge.oa=Ie,ge.pa=rt,ge.Jd=Ie,ge.Yc=rt+xt,ge.Zc=4<=xt?rt+xt-4+1:rt,Di(ge)}function Oi(ge,Ie){for(var rt=0;0xt),ge.Sb=xt,ge.Ra=0,ge.u=0,ge.h=0,4>>=8,ge.Ra+=ge.oa[ge.pa+ge.bb]<>>0,++ge.bb,ge.u-=8;br(ge)&&(ge.h=1,ge.u=0)}function ro(ge,Ie){if(z(0<=Ie),!ge.h&&Ie<=vd){var rt=ir(ge)&md[Ie];return ge.u+=Ie,Po(ge),rt}return ge.h=1,ge.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function zn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(ge){return ge.Ra>>>(ge.u&Yh-1)>>>0}function br(ge){return z(ge.bb<=ge.Sb),ge.h||ge.bb==ge.Sb&&ge.u>Yh}function Tr(ge,Ie){ge.u=Ie,ge.h=br(ge)}function ei(ge){ge.u>=Lh&&(z(ge.u>=Lh),Po(ge))}function Di(ge){z(ge!=null&&ge.oa!=null),ge.pa>>0,ge.b+=8):(z(ge!=null&&ge.oa!=null),ge.page.b&&Di(ge);var xt=ge.b,Qt=rt*Ie>>>8,qt=(ge.I>>>xt>Qt)+0;for(qt?(rt-=Qt,ge.I-=Qt+1<>>0):rt=Qt+1,xt=rt,Qt=0;256<=xt;)Qt+=8,xt>>=8;return xt=7^Qt+Jh[xt],ge.b-=xt,ge.Ca=(rt<>24&255,ge[Ie+1]=rt>>16&255,ge[Ie+2]=rt>>8&255,ge[Ie+3]=255&rt}function Aa(ge,Ie){return ge[Ie+0]|ge[Ie+1]<<8}function la(ge,Ie){return Aa(ge,Ie)|ge[Ie+2]<<16}function $a(ge,Ie){return Aa(ge,Ie)|Aa(ge,Ie+2)<<16}function _n(ge,Ie){var rt=1<=Qt||0>=qt?0:(rt[0]=Qt,xt[0]=qt,1)}function go(ge,Ie){return ge+(1<>>Ie}function os(ge,Ie){return((4278255360&ge)+(4278255360&Ie)>>>0&4278255360)+((16711935&ge)+(16711935&Ie)>>>0&16711935)>>>0}function Ba(ge,Ie){Gn[Ie]=function(rt,xt,Qt,qt,nn,hn,bn){var Mn;for(Mn=0;Mn>>1)+(ge&Ie)>>>0}function iu(ge){return 0<=ge&&256>ge?ge:0>ge?0:255>1))}function Ps(ge,Ie,rt){return Math.abs(Ie-rt)-Math.abs(ge-rt)}function Bl(ge,Ie,rt,xt,Qt,qt,nn){for(xt=qt[nn-1],rt=0;rt>8&255,bn=16711935&(bn=(bn=16711935&nn)+((hn<<16)+hn));xt[Qt+qt]=(4278255360&nn)+bn>>>0}}function Ta(ge,Ie){Ie.jd=255&ge,Ie.hd=ge>>8&255,Ie.ud=ge>>16&255}function Us(ge,Ie,rt,xt,Qt,qt){var nn;for(nn=0;nn>>8,Mn=hn,Er=255&(Er=(Er=hn>>>16)+((ge.jd<<24>>24)*(bn<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(ge.hd<<24>>24)*(bn<<24>>24)>>>5)+((ge.ud<<24>>24)*(Er<<24>>24)>>>5)),Qt[qt+nn]=(4278255360&hn)+(Er<<16)+Mn}}function Ha(ge,Ie,rt,xt,Qt){Gn[Ie]=function(qt,nn,hn,bn,Mn,Er,ci,Un,_r){for(bn=ci;bn>qt.b,_r=qt.Ea,Xr=qt.K[0],Ri=qt.w;if(8>Un)for(qt=(1<>=Un}else Gn["VP8LMapColor"+rt](bn,Mn,Xr,Ri,Er,ci,nn,hn,_r)}}function yA(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&255,xt[Qt++]=qt>>8&255,xt[Qt++]=255&qt}}function Ol(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&255,xt[Qt++]=qt>>8&255,xt[Qt++]=255&qt,xt[Qt++]=qt>>24&255}}function el(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&240|nn>>12&15,nn=240&nn|nn>>28&15;xt[Qt++]=qt,xt[Qt++]=nn}}function tl(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>16&248|nn>>13&7,nn=nn>>5&224|nn>>3&31;xt[Qt++]=qt,xt[Qt++]=nn}}function Zu(ge,Ie,rt,xt,Qt){for(rt=Ie+rt;Ie>8&255,xt[Qt++]=qt>>16&255}}function Ya(ge,Ie,rt,xt,Qt,qt){if(qt==0)for(rt=Ie+rt;Ie>24|qt[1]>>8&65280|qt[2]<<8&16711680|qt[3]<<24)>>>0),Qt+=32;else re(xt,Qt,ge,Ie,rt)}function Su(ge,Ie){Gn[Ie][0]=Gn[ge+"0"],Gn[Ie][1]=Gn[ge+"1"],Gn[Ie][2]=Gn[ge+"2"],Gn[Ie][3]=Gn[ge+"3"],Gn[Ie][4]=Gn[ge+"4"],Gn[Ie][5]=Gn[ge+"5"],Gn[Ie][6]=Gn[ge+"6"],Gn[Ie][7]=Gn[ge+"7"],Gn[Ie][8]=Gn[ge+"8"],Gn[Ie][9]=Gn[ge+"9"],Gn[Ie][10]=Gn[ge+"10"],Gn[Ie][11]=Gn[ge+"11"],Gn[Ie][12]=Gn[ge+"12"],Gn[Ie][13]=Gn[ge+"13"],Gn[Ie][14]=Gn[ge+"0"],Gn[Ie][15]=Gn[ge+"0"]}function ds(ge){return ge==d0||ge==f0||ge==Lm||ge==h0}function _s(){this.eb=[],this.size=this.A=this.fb=0}function Wu(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function sl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new _s,this.f.kb=new Wu,this.sd=null}function us(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ou(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sp(ge){return alert("todo:WebPSamplerProcessPlane"),ge.T}function Lc(ge,Ie){var rt=ge.T,xt=Ie.ba.f.RGBA,Qt=xt.eb,qt=xt.fb+ge.ka*xt.A,nn=Gd[Ie.ba.S],hn=ge.y,bn=ge.O,Mn=ge.f,Er=ge.N,ci=ge.ea,Un=ge.W,_r=Ie.cc,Xr=Ie.dc,Ri=Ie.Mc,si=Ie.Nc,zi=ge.ka,Gi=ge.ka+ge.T,yo=ge.U,ao=yo+1>>1;for(zi==0?nn(hn,bn,null,null,Mn,Er,ci,Un,Mn,Er,ci,Un,Qt,qt,null,null,yo):(nn(Ie.ec,Ie.fc,hn,bn,_r,Xr,Ri,si,Mn,Er,ci,Un,Qt,qt-xt.A,Qt,qt,yo),++rt);zi+2rt,Qt=rt==Sm||rt==Fm||rt==Im||rt==c0||rt==12||ds(rt);if(Ie.memory=null,Ie.Ib=null,Ie.Jb=null,Ie.Nd=null,!Ug(Ie.Oa,ge,Qt?11:12))return 0;if(Qt&&ds(rt)&&Tg(),ge.da)alert("todo:use_scaling");else{if(xt){if(Ie.Ib=Sp,ge.Kb){if(rt=ge.U+1>>1,Ie.memory=he(ge.U+2*rt),Ie.memory==null)return 0;Ie.ec=Ie.memory,Ie.fc=0,Ie.cc=Ie.ec,Ie.dc=Ie.fc+ge.U,Ie.Mc=Ie.cc,Ie.Nc=Ie.dc+rt,Ie.Ib=Lc,Tg()}}else alert("todo:EmitYUV");Qt&&(Ie.Jb=gh,xt&&gf())}if(xt&&!pv){for(ge=0;256>ge;++ge)g1[ge]=89858*(ge-128)+Nm>>Dm,y1[ge]=-22014*(ge-128)+Nm,v1[ge]=-45773*(ge-128),m1[ge]=113618*(ge-128)+Nm>>Dm;for(ge=Gg;ge>Dm,w1[ge-Gg]=Wf(Ie,255),b1[ge-Gg]=Wf(Ie+8>>4,15);pv=1}return 1}function As(ge){var Ie=ge.ma,rt=ge.U,xt=ge.T;return z(!(1&ge.ka)),0>=rt||0>=xt?0:(rt=Ie.Ib(ge,Ie),Ie.Jb!=null&&Ie.Jb(ge,Ie,rt),Ie.Dc+=rt,1)}function mh(ge){ge.ma.memory=null}function vh(ge,Ie,rt,xt){return ro(ge,8)!=47?0:(Ie[0]=ro(ge,14)+1,rt[0]=ro(ge,14)+1,xt[0]=ro(ge,1),ro(ge,3)!=0?0:!ge.h)}function jd(ge,Ie){if(4>ge)return ge+1;var rt=ge-2>>1;return(2+(1&ge)<>4)*ge+(8-(15&rt)))?rt:1;var rt}function cA(ge,Ie,rt){var xt=ir(rt),Qt=ge[Ie+=255&xt].g-8;return 0>>0,z(8>=rt.g),ge.g}function sc(ge,Ie,rt){var xt=ge.xc;return z((Ie=xt==0?0:ge.vc[ge.md*(rt>>xt)+(Ie>>xt)])>Da.b)*xa;Riyo&&(Na=yo),(0,Qg[El[RA++]>>8&15])(Un,_r+ +Ws,zi,Gi+Ws-yo,Na-Ws,zi,Gi+Ws),Ws=Na}_r+=yo,Gi+=yo,++Ri&ja||(Da+=xa)}ci!=Mn.nc&&re(bn,hn-Xr,bn,hn+(ci-Er-1)*Xr,Xr);break;case 1:for(Xr=Un,si=_r,yo=(Un=Mn.Ea)-(Gi=Un&~(zi=(_r=1<>Mn.b)*Ri;Er=Qt),0qt.o&&(xt=qt.o),rt=xt?rt=0:(Qt[0]+=4*qt.v,qt.ka=rt-qt.j,qt.U=qt.va-qt.v,qt.T=xt-rt,rt=1),rt){if(hn=hn[0],11>(rt=ge.ca).S){var Er=rt.f.RGBA,ci=(xt=rt.S,Qt=qt.U,qt=qt.T,Mn=Er.eb,Er.A),Un=qt;for(Er=Er.fb+ge.Ma*Er.A;0xt){var Qt=ge.l.width,qt=rt.ca,nn=rt.tb+Qt*xt,hn=ge.V,bn=ge.Ba+ge.c*xt,Mn=ge.gc;z(ge.ab==1),z(Mn[0].hc==3),Xf(Mn[0],xt,Ie,hn,bn,qt,nn),Kf(rt,xt,Ie,qt,nn,Qt)}ge.C=ge.Ma=Ie}function hf(ge,Ie,rt,xt,Qt,qt,nn){var hn=ge.$/xt,bn=ge.$%xt,Mn=ge.m,Er=ge.s,ci=rt+ge.$,Un=ci;Qt=rt+xt*Qt;var _r=rt+xt*qt,Xr=280+Er.ua,Ri=ge.Pb?hn:16777216,si=0=Ri){var ja=ci-rt;z((Ri=ge).Pb),Ri.wd=Ri.m,Ri.xd=ja,0Zs.g?(Tr(ao,ao.u+Zs.g),ja[xa]=Zs.value,ao=0):(Tr(ao,ao.u+Zs.g-256),z(256<=Zs.value),ao=Zs.value),ao==0&&(yo=!0)}else ao=cA(Gi.G[0],Gi.H[0],Mn);if(Mn.h)break;if(yo||256>ao){if(!yo)if(Gi.nd)Ie[ci]=(Gi.qb|ao<<8)>>>0;else{if(ei(Mn),yo=cA(Gi.G[1],Gi.H[1],Mn),ei(Mn),ja=cA(Gi.G[2],Gi.H[2],Mn),xa=cA(Gi.G[3],Gi.H[3],Mn),Mn.h)break;Ie[ci]=(xa<<24|yo<<16|ao<<8|ja)>>>0}if(yo=!1,++ci,++bn>=xt&&(bn=0,++hn,nn!=null&&hn<=qt&&!(hn%16)&&nn(ge,hn),si!=null))for(;Un>>si.Mb]=ao}else if(280>ao){if(ao=jd(ao-256,Mn),ja=cA(Gi.G[4],Gi.H[4],Mn),ei(Mn),ja=Hd(xt,ja=jd(ja,Mn)),Mn.h)break;if(ci-rt=xt;)bn-=xt,++hn,nn!=null&&hn<=qt&&!(hn%16)&&nn(ge,hn);if(z(ci<=Qt),bn&zi&&(Gi=sc(Er,bn,hn)),si!=null)for(;Un>>si.Mb]=ao}else{if(!(ao>>si.Mb]=ao;ao=ci,z(!(yo>>>(ja=si).Xa)),Ie[ao]=ja.X[yo],yo=!0}yo||z(Mn.h==br(Mn))}if(ge.Pb&&Mn.h&&ciqt?qt:hn),ge.a=0,ge.$=ci-rt}return 1}return ge.a=3,0}function Qd(ge){z(ge!=null),ge.vc=null,ge.yc=null,ge.Ya=null;var Ie=ge.Wa;Ie!=null&&(Ie.X=null),ge.vb=null,z(ge!=null)}function Ip(){var ge=new Cs;return ge==null?null:(ge.a=0,ge.xb=uv,Su("Predictor","VP8LPredictors"),Su("Predictor","VP8LPredictors_C"),Su("PredictorAdd","VP8LPredictorsAdd"),Su("PredictorAdd","VP8LPredictorsAdd_C"),wA=vl,zg=Us,Kg=yA,qh=Ol,ep=el,tp=tl,Hp=Zu,Gn.VP8LMapColor32b=Vf,Gn.VP8LMapColor8b=Hg,ge)}function Zf(ge,Ie,rt,xt,Qt){var qt=1,nn=[ge],hn=[Ie],bn=xt.m,Mn=xt.s,Er=null,ci=0;e:for(;;){if(rt)for(;qt&&ro(bn,1);){var Un=nn,_r=hn,Xr=xt,Ri=1,si=Xr.m,zi=Xr.gc[Xr.ab],Gi=ro(si,2);if(Xr.Oc&1<=Xr.ab),Gi){case 0:case 1:zi.b=ro(si,3)+2,Ri=Zf(go(zi.Ea,zi.b),go(zi.nc,zi.b),0,Xr,zi.K),zi.K=zi.K[0];break;case 3:var yo,ao=ro(si,8)+1,ja=16>Da.b),RA=he(El);if(RA==null)yo=0;else{var Ws=Da.K[0],Na=Da.w;for(RA[0]=Da.K[0][0],xa=1;xa<1*Zs;++xa)RA[xa]=os(Ws[Na+xa],RA[xa-1]);for(;xa<4*El;++xa)RA[xa]=0;Da.K[0]=null,Da.K[0]=RA,yo=1}}Ri=yo;break;case 2:break;default:z(0)}qt=Ri}}if(nn=nn[0],hn=hn[0],qt&&ro(bn,1)&&!(qt=1<=(ci=ro(bn,4))&&11>=ci)){xt.a=3;break e}var Xo;if(Xo=qt)t:{var CA,Ts,Nl,Mu=xt,Ac=nn,Hc=hn,dA=ci,Dc=rt,Qc=Mu.m,jA=Mu.s,_l=[null],cu=1,fA=0,du=r1[dA];n:for(;;){if(Dc&&ro(Qc,1)){var cc=ro(Qc,3)+2,vf=go(Ac,cc),xA=go(Hc,cc),ed=vf*xA;if(!Zf(vf,xA,0,Mu,_l))break n;for(_l=_l[0],jA.xc=cc,CA=0;CA>8&65535;_l[CA]=xu,xu>=cu&&(cu=xu+1)}}if(Qc.h)break n;for(Ts=0;5>Ts;++Ts){var HA=sv[Ts];!Ts&&0=zc),Cd=bd;var td=he(fA);if(Cd==null||td==null||wd==null){Mu.a=1;break n}var xd=wd;for(CA=Nl=0;CATs;++Ts){HA=sv[Ts],Bd[Ts]=xd,yf[Ts]=Nl,!Ts&&0Mm)break r}else w0=Mm;for(Xg=0;Xgpg)Cv[Xg++]=pg,pg!=0&&(xv=pg);else{var N1=pg==16,Sv=pg-16,O1=qv[Sv],Fv=ro(ap,Jv[Sv])+O1;if(Xg+Fv>Mm)break r;for(var P1=N1?xv:0;0=Ts){var Yg,C0=td[0];for(Yg=1;YgC0&&(C0=td[Yg]);dc+=C0}}if(Iu.nd=Oh,Iu.Qb=0,Oh&&(Iu.qb=(Bd[3][yf[3]+0].value<<24|Bd[1][yf[1]+0].value<<16|Bd[2][yf[2]+0].value)>>>0,zp==0&&256>Bd[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Bd[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>dc,Iu.jc){var Um,Ph=Iu;for(Um=0;Um>=qA(Rm,8,lp),sp>>=qA(Ph.G[1][Ph.H[1]+sp],16,lp),sp>>=qA(Ph.G[2][Ph.H[2]+sp],0,lp),qA(Ph.G[3][Ph.H[3]+sp],24,lp))}}}jA.vc=_l,jA.Wb=cu,jA.Ya=Cd,jA.yc=wd,Xo=1;break t}Xo=0}if(!(qt=Xo)){xt.a=3;break e}if(0xt+1?[]:0),!(Qt.lengthge?0:ge>Ie?Ie:ge}function ag(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var ge=new um;return ge!=null&&(ge.a=0,ge.sc="OK",ge.cb=0,ge.Xb=0,$g||($g=sg)),ge}function FA(ge,Ie,rt){return ge.a==0&&(ge.a=Ie,ge.sc=rt,ge.cb=0),0}function Am(ge,Ie,rt){return 3<=rt&&ge[Ie+0]==157&&ge[Ie+1]==1&&ge[Ie+2]==42}function $f(ge,Ie){if(ge==null)return 0;if(ge.a=0,ge.sc="OK",Ie==null)return FA(ge,2,"null VP8Io passed to VP8GetHeaders()");var rt=Ie.data,xt=Ie.w,Qt=Ie.ha;if(4>Qt)return FA(ge,7,"Truncated header.");var qt=rt[xt+0]|rt[xt+1]<<8|rt[xt+2]<<16,nn=ge.Od;if(nn.Rb=!(1&qt),nn.td=qt>>1&7,nn.yd=qt>>4&1,nn.ub=qt>>5,3Qt)return FA(ge,7,"cannot parse picture header");if(!Am(rt,xt,Qt))return FA(ge,3,"Bad code word");hn.c=16383&(rt[xt+4]<<8|rt[xt+3]),hn.Td=rt[xt+4]>>6,hn.i=16383&(rt[xt+6]<<8|rt[xt+5]),hn.Ud=rt[xt+6]>>6,xt+=7,Qt-=7,ge.za=hn.c+15>>4,ge.Ub=hn.i+15>>4,Ie.width=hn.c,Ie.height=hn.i,Ie.Da=0,Ie.j=0,Ie.v=0,Ie.va=Ie.width,Ie.o=Ie.height,Ie.da=0,Ie.ib=Ie.width,Ie.hb=Ie.height,Ie.U=Ie.width,Ie.T=Ie.height,Ae((qt=ge.Pa).jb,0,255,qt.jb.length),z((qt=ge.Qa)!=null),qt.Cb=0,qt.Bb=0,qt.Fb=1,Ae(qt.Zb,0,0,qt.Zb.length),Ae(qt.Lb,0,0,qt.Lb)}if(nn.ub>Qt)return FA(ge,7,"bad partition length");Fi(qt=ge.m,rt,xt,nn.ub),xt+=nn.ub,Qt-=nn.ub,nn.Rb&&(hn.Ld=Pi(qt),hn.Kd=Pi(qt)),hn=ge.Qa;var bn,Mn=ge.Pa;if(z(qt!=null),z(hn!=null),hn.Cb=Pi(qt),hn.Cb){if(hn.Bb=Pi(qt),Pi(qt)){for(hn.Fb=Pi(qt),bn=0;4>bn;++bn)hn.Zb[bn]=Pi(qt)?Ai(qt,7):0;for(bn=0;4>bn;++bn)hn.Lb[bn]=Pi(qt)?Ai(qt,6):0}if(hn.Bb)for(bn=0;3>bn;++bn)Mn.jb[bn]=Pi(qt)?Oi(qt,8):255}else hn.Bb=0;if(qt.Ka)return FA(ge,3,"cannot parse segment header");if((hn=ge.ed).zd=Pi(qt),hn.Tb=Oi(qt,6),hn.wb=Oi(qt,3),hn.Pc=Pi(qt),hn.Pc&&Pi(qt)){for(Mn=0;4>Mn;++Mn)Pi(qt)&&(hn.vd[Mn]=Ai(qt,6));for(Mn=0;4>Mn;++Mn)Pi(qt)&&(hn.od[Mn]=Ai(qt,6))}if(ge.L=hn.Tb==0?0:hn.zd?1:2,qt.Ka)return FA(ge,3,"cannot parse filter header");var Er=Qt;if(Qt=bn=xt,xt=bn+Er,hn=Er,ge.Xb=(1<hn&&(ci=hn),Fi(ge.Jc[+Er],rt,bn,ci),bn+=ci,hn-=ci,Qt+=3}Fi(ge.Jc[+Mn],rt,bn,hn),rt=bnci;++ci){if(Er.Cb){var Un=Er.Zb[ci];Er.Fb||(Un+=rt)}else{if(0>16,8>_r.Eb[1]&&(_r.Eb[1]=8),_r.Qc[0]=p0[Wf(Un+Mn,117)],_r.Qc[1]=g0[Wf(Un+bn,127)],_r.lc=Un+bn}if(!nn.Rb)return FA(ge,4,"Not a key frame.");for(Pi(qt),nn=ge.Pa,rt=0;4>rt;++rt){for(Qt=0;8>Qt;++Qt)for(xt=0;3>xt;++xt)for(hn=0;11>hn;++hn)Mn=Xi(qt,u1[rt][Qt][xt][hn])?Oi(qt,8):s1[rt][Qt][xt][hn],nn.Wc[rt][Qt].Yb[xt][hn]=Mn;for(Qt=0;17>Qt;++Qt)nn.Xc[rt][Qt]=nn.Wc[rt][A1[Qt]]}return ge.kc=Pi(qt),ge.kc&&(ge.Bd=Oi(qt,8)),ge.cb=1}function sg(ge,Ie,rt,xt,Qt,qt,nn){var hn=Ie[Qt].Yb[rt];for(rt=0;16>Qt;++Qt){if(!Xi(ge,hn[rt+0]))return Qt;for(;!Xi(ge,hn[rt+1]);)if(hn=Ie[++Qt].Yb[0],rt=0,Qt==16)return 16;var bn=Ie[Qt+1].Yb;if(Xi(ge,hn[rt+2])){var Mn=ge,Er=0;if(Xi(Mn,(Un=hn)[(ci=rt)+3]))if(Xi(Mn,Un[ci+6])){for(hn=0,ci=2*(Er=Xi(Mn,Un[ci+8]))+(Un=Xi(Mn,Un[ci+9+Er])),Er=0,Un=o1[ci];Un[hn];++hn)Er+=Er+Xi(Mn,Un[hn]);Er+=3+(8<(Mn=ge).b&&Di(Mn);var ci,Un=Mn.b,_r=(ci=Mn.Ca>>1)-(Mn.I>>Un)>>31;--Mn.b,Mn.Ca+=_r,Mn.Ca|=1,Mn.I-=(ci+1&_r)<>3),ge[Ie+rt+32*xt]=-256&Qt?0>Qt?0:255:Qt}function kA(ge,Ie,rt,xt,Qt,qt){Kd(ge,Ie,0,rt,xt+Qt),Kd(ge,Ie,1,rt,xt+qt),Kd(ge,Ie,2,rt,xt-qt),Kd(ge,Ie,3,rt,xt-Qt)}function yh(ge){return(20091*ge>>16)+ge}function dm(ge,Ie,rt,xt){var Qt,qt=0,nn=he(16);for(Qt=0;4>Qt;++Qt){var hn=ge[Ie+0]+ge[Ie+8],bn=ge[Ie+0]-ge[Ie+8],Mn=(35468*ge[Ie+4]>>16)-yh(ge[Ie+12]),Er=yh(ge[Ie+4])+(35468*ge[Ie+12]>>16);nn[qt+0]=hn+Er,nn[qt+1]=bn+Mn,nn[qt+2]=bn-Mn,nn[qt+3]=hn-Er,qt+=4,Ie++}for(Qt=qt=0;4>Qt;++Qt)hn=(ge=nn[qt+0]+4)+nn[qt+8],bn=ge-nn[qt+8],Mn=(35468*nn[qt+4]>>16)-yh(nn[qt+12]),Kd(rt,xt,0,0,hn+(Er=yh(nn[qt+4])+(35468*nn[qt+12]>>16))),Kd(rt,xt,1,0,bn+Mn),Kd(rt,xt,2,0,bn-Mn),Kd(rt,xt,3,0,hn-Er),qt++,xt+=32}function Xm(ge,Ie,rt,xt){var Qt=ge[Ie+0]+4,qt=35468*ge[Ie+4]>>16,nn=yh(ge[Ie+4]),hn=35468*ge[Ie+1]>>16;kA(rt,xt,0,Qt+nn,ge=yh(ge[Ie+1]),hn),kA(rt,xt,1,Qt+qt,ge,hn),kA(rt,xt,2,Qt-qt,ge,hn),kA(rt,xt,3,Qt-nn,ge,hn)}function Ym(ge,Ie,rt,xt,Qt){dm(ge,Ie,rt,xt),Qt&&dm(ge,Ie+16,rt,xt+4)}function Gf(ge,Ie,rt,xt){Qp(ge,Ie+0,rt,xt,1),Qp(ge,Ie+32,rt,xt+128,1)}function fm(ge,Ie,rt,xt){var Qt;for(ge=ge[Ie+0]+4,Qt=0;4>Qt;++Qt)for(Ie=0;4>Ie;++Ie)Kd(rt,xt,Ie,Qt,ge)}function hm(ge,Ie,rt,xt){ge[Ie+0]&&au(ge,Ie+0,rt,xt),ge[Ie+16]&&au(ge,Ie+16,rt,xt+4),ge[Ie+32]&&au(ge,Ie+32,rt,xt+128),ge[Ie+48]&&au(ge,Ie+48,rt,xt+128+4)}function lg(ge,Ie,rt,xt){var Qt,qt=he(16);for(Qt=0;4>Qt;++Qt){var nn=ge[Ie+0+Qt]+ge[Ie+12+Qt],hn=ge[Ie+4+Qt]+ge[Ie+8+Qt],bn=ge[Ie+4+Qt]-ge[Ie+8+Qt],Mn=ge[Ie+0+Qt]-ge[Ie+12+Qt];qt[0+Qt]=nn+hn,qt[8+Qt]=nn-hn,qt[4+Qt]=Mn+bn,qt[12+Qt]=Mn-bn}for(Qt=0;4>Qt;++Qt)nn=(ge=qt[0+4*Qt]+3)+qt[3+4*Qt],hn=qt[1+4*Qt]+qt[2+4*Qt],bn=qt[1+4*Qt]-qt[2+4*Qt],Mn=ge-qt[3+4*Qt],rt[xt+0]=nn+hn>>3,rt[xt+16]=Mn+bn>>3,rt[xt+32]=nn-hn>>3,rt[xt+48]=Mn-bn>>3,xt+=64}function Dp(ge,Ie,rt){var xt,Qt=Ie-32,qt=yd,nn=255-ge[Qt-1];for(xt=0;xtrt;++rt)re(ge,Ie+32*rt,ge,Ie-32,16)}function pm(ge,Ie){var rt;for(rt=16;0xt;++xt)Ae(Ie,rt+32*xt,ge,16)}function t0(ge,Ie){var rt,xt=16;for(rt=0;16>rt;++rt)xt+=ge[Ie-1+32*rt]+ge[Ie+rt-32];pf(xt>>5,ge,Ie)}function Np(ge,Ie){var rt,xt=8;for(rt=0;16>rt;++rt)xt+=ge[Ie-1+32*rt];pf(xt>>4,ge,Ie)}function Ig(ge,Ie){var rt,xt=8;for(rt=0;16>rt;++rt)xt+=ge[Ie+rt-32];pf(xt>>4,ge,Ie)}function n0(ge,Ie){pf(128,ge,Ie)}function Es(ge,Ie,rt){return ge+2*Ie+rt+2>>2}function r0(ge,Ie){var rt,xt=Ie-32;for(xt=new Uint8Array([Es(ge[xt-1],ge[xt+0],ge[xt+1]),Es(ge[xt+0],ge[xt+1],ge[xt+2]),Es(ge[xt+1],ge[xt+2],ge[xt+3]),Es(ge[xt+2],ge[xt+3],ge[xt+4])]),rt=0;4>rt;++rt)re(ge,Ie+32*rt,xt,0,xt.length)}function i0(ge,Ie){var rt=ge[Ie-1],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96];xo(ge,Ie+0,16843009*Es(ge[Ie-1-32],rt,xt)),xo(ge,Ie+32,16843009*Es(rt,xt,Qt)),xo(ge,Ie+64,16843009*Es(xt,Qt,qt)),xo(ge,Ie+96,16843009*Es(Qt,qt,qt))}function o0(ge,Ie){var rt,xt=4;for(rt=0;4>rt;++rt)xt+=ge[Ie+rt-32]+ge[Ie-1+32*rt];for(xt>>=3,rt=0;4>rt;++rt)Ae(ge,Ie+32*rt,xt,4)}function wh(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1-32],nn=ge[Ie+0-32],hn=ge[Ie+1-32],bn=ge[Ie+2-32],Mn=ge[Ie+3-32];ge[Ie+0+96]=Es(xt,Qt,ge[Ie-1+96]),ge[Ie+1+96]=ge[Ie+0+64]=Es(rt,xt,Qt),ge[Ie+2+96]=ge[Ie+1+64]=ge[Ie+0+32]=Es(qt,rt,xt),ge[Ie+3+96]=ge[Ie+2+64]=ge[Ie+1+32]=ge[Ie+0+0]=Es(nn,qt,rt),ge[Ie+3+64]=ge[Ie+2+32]=ge[Ie+1+0]=Es(hn,nn,qt),ge[Ie+3+32]=ge[Ie+2+0]=Es(bn,hn,nn),ge[Ie+3+0]=Es(Mn,bn,hn)}function bh(ge,Ie){var rt=ge[Ie+1-32],xt=ge[Ie+2-32],Qt=ge[Ie+3-32],qt=ge[Ie+4-32],nn=ge[Ie+5-32],hn=ge[Ie+6-32],bn=ge[Ie+7-32];ge[Ie+0+0]=Es(ge[Ie+0-32],rt,xt),ge[Ie+1+0]=ge[Ie+0+32]=Es(rt,xt,Qt),ge[Ie+2+0]=ge[Ie+1+32]=ge[Ie+0+64]=Es(xt,Qt,qt),ge[Ie+3+0]=ge[Ie+2+32]=ge[Ie+1+64]=ge[Ie+0+96]=Es(Qt,qt,nn),ge[Ie+3+32]=ge[Ie+2+64]=ge[Ie+1+96]=Es(qt,nn,hn),ge[Ie+3+64]=ge[Ie+2+96]=Es(nn,hn,bn),ge[Ie+3+96]=Es(hn,bn,bn)}function a0(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1-32],nn=ge[Ie+0-32],hn=ge[Ie+1-32],bn=ge[Ie+2-32],Mn=ge[Ie+3-32];ge[Ie+0+0]=ge[Ie+1+64]=qt+nn+1>>1,ge[Ie+1+0]=ge[Ie+2+64]=nn+hn+1>>1,ge[Ie+2+0]=ge[Ie+3+64]=hn+bn+1>>1,ge[Ie+3+0]=bn+Mn+1>>1,ge[Ie+0+96]=Es(Qt,xt,rt),ge[Ie+0+64]=Es(xt,rt,qt),ge[Ie+0+32]=ge[Ie+1+96]=Es(rt,qt,nn),ge[Ie+1+32]=ge[Ie+2+96]=Es(qt,nn,hn),ge[Ie+2+32]=ge[Ie+3+96]=Es(nn,hn,bn),ge[Ie+3+32]=Es(hn,bn,Mn)}function s0(ge,Ie){var rt=ge[Ie+0-32],xt=ge[Ie+1-32],Qt=ge[Ie+2-32],qt=ge[Ie+3-32],nn=ge[Ie+4-32],hn=ge[Ie+5-32],bn=ge[Ie+6-32],Mn=ge[Ie+7-32];ge[Ie+0+0]=rt+xt+1>>1,ge[Ie+1+0]=ge[Ie+0+64]=xt+Qt+1>>1,ge[Ie+2+0]=ge[Ie+1+64]=Qt+qt+1>>1,ge[Ie+3+0]=ge[Ie+2+64]=qt+nn+1>>1,ge[Ie+0+32]=Es(rt,xt,Qt),ge[Ie+1+32]=ge[Ie+0+96]=Es(xt,Qt,qt),ge[Ie+2+32]=ge[Ie+1+96]=Es(Qt,qt,nn),ge[Ie+3+32]=ge[Ie+2+96]=Es(qt,nn,hn),ge[Ie+3+64]=Es(nn,hn,bn),ge[Ie+3+96]=Es(hn,bn,Mn)}function ug(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96];ge[Ie+0+0]=rt+xt+1>>1,ge[Ie+2+0]=ge[Ie+0+32]=xt+Qt+1>>1,ge[Ie+2+32]=ge[Ie+0+64]=Qt+qt+1>>1,ge[Ie+1+0]=Es(rt,xt,Qt),ge[Ie+3+0]=ge[Ie+1+32]=Es(xt,Qt,qt),ge[Ie+3+32]=ge[Ie+1+64]=Es(Qt,qt,qt),ge[Ie+3+64]=ge[Ie+2+64]=ge[Ie+0+96]=ge[Ie+1+96]=ge[Ie+2+96]=ge[Ie+3+96]=qt}function Lg(ge,Ie){var rt=ge[Ie-1+0],xt=ge[Ie-1+32],Qt=ge[Ie-1+64],qt=ge[Ie-1+96],nn=ge[Ie-1-32],hn=ge[Ie+0-32],bn=ge[Ie+1-32],Mn=ge[Ie+2-32];ge[Ie+0+0]=ge[Ie+2+32]=rt+nn+1>>1,ge[Ie+0+32]=ge[Ie+2+64]=xt+rt+1>>1,ge[Ie+0+64]=ge[Ie+2+96]=Qt+xt+1>>1,ge[Ie+0+96]=qt+Qt+1>>1,ge[Ie+3+0]=Es(hn,bn,Mn),ge[Ie+2+0]=Es(nn,hn,bn),ge[Ie+1+0]=ge[Ie+3+32]=Es(rt,nn,hn),ge[Ie+1+32]=ge[Ie+3+64]=Es(xt,rt,nn),ge[Ie+1+64]=ge[Ie+3+96]=Es(Qt,xt,rt),ge[Ie+1+96]=Es(qt,Qt,xt)}function Op(ge,Ie){var rt;for(rt=0;8>rt;++rt)re(ge,Ie+32*rt,ge,Ie-32,8)}function l0(ge,Ie){var rt;for(rt=0;8>rt;++rt)Ae(ge,Ie,ge[Ie-1],8),Ie+=32}function Ch(ge,Ie,rt){var xt;for(xt=0;8>xt;++xt)Ae(Ie,rt+32*xt,ge,8)}function u0(ge,Ie){var rt,xt=8;for(rt=0;8>rt;++rt)xt+=ge[Ie+rt-32]+ge[Ie-1+32*rt];Ch(xt>>4,ge,Ie)}function Dg(ge,Ie){var rt,xt=4;for(rt=0;8>rt;++rt)xt+=ge[Ie+rt-32];Ch(xt>>3,ge,Ie)}function Ng(ge,Ie){var rt,xt=4;for(rt=0;8>rt;++rt)xt+=ge[Ie-1+32*rt];Ch(xt>>3,ge,Ie)}function gm(ge,Ie){Ch(128,ge,Ie)}function xh(ge,Ie,rt){var xt=ge[Ie-rt],Qt=ge[Ie+0],qt=3*(Qt-xt)+A0[1020+ge[Ie-2*rt]-ge[Ie+rt]],nn=Bm[112+(qt+4>>3)];ge[Ie-rt]=yd[255+xt+Bm[112+(qt+3>>3)]],ge[Ie+0]=yd[255+Qt-nn]}function Og(ge,Ie,rt,xt){var Qt=ge[Ie+0],qt=ge[Ie+rt];return $d[255+ge[Ie-2*rt]-ge[Ie-rt]]>xt||$d[255+qt-Qt]>xt}function Ag(ge,Ie,rt,xt){return 4*$d[255+ge[Ie-rt]-ge[Ie+0]]+$d[255+ge[Ie-2*rt]-ge[Ie+rt]]<=xt}function Pg(ge,Ie,rt,xt,Qt){var qt=ge[Ie-3*rt],nn=ge[Ie-2*rt],hn=ge[Ie-rt],bn=ge[Ie+0],Mn=ge[Ie+rt],Er=ge[Ie+2*rt],ci=ge[Ie+3*rt];return 4*$d[255+hn-bn]+$d[255+nn-Mn]>xt?0:$d[255+ge[Ie-4*rt]-qt]<=Qt&&$d[255+qt-nn]<=Qt&&$d[255+nn-hn]<=Qt&&$d[255+ci-Er]<=Qt&&$d[255+Er-Mn]<=Qt&&$d[255+Mn-bn]<=Qt}function Pp(ge,Ie,rt,xt){var Qt=2*xt+1;for(xt=0;16>xt;++xt)Ag(ge,Ie+xt,rt,Qt)&&xh(ge,Ie+xt,rt)}function _g(ge,Ie,rt,xt){var Qt=2*xt+1;for(xt=0;16>xt;++xt)Ag(ge,Ie+xt*rt,1,Qt)&&xh(ge,Ie+xt*rt,1)}function mm(ge,Ie,rt,xt){var Qt;for(Qt=3;0>7,zi=18*Gi+63>>7,Gi=9*Gi+63>>7;bn[Mn-3*Er]=yd[255+bn[Mn-3*Er]+Gi],bn[Mn-2*Er]=yd[255+ci+zi],bn[Mn-Er]=yd[255+Un+si],bn[Mn+0]=yd[255+_r-si],bn[Mn+Er]=yd[255+Xr-zi],bn[Mn+2*Er]=yd[255+Ri-Gi]}Ie+=xt}}function Eh(ge,Ie,rt,xt,Qt,qt,nn,hn){for(qt=2*qt+1;0>3)],Ri=Bm[112+(Ri+3>>3)],si=Xr+1>>1;bn[Mn-2*Er]=yd[255+bn[Mn-2*Er]+si],bn[Mn-Er]=yd[255+ci+Ri],bn[Mn+0]=yd[255+Un-Xr],bn[Mn+Er]=yd[255+_r-si]}Ie+=xt}}function ym(ge,Ie,rt,xt,Qt,qt){Bh(ge,Ie,rt,1,16,xt,Qt,qt)}function _p(ge,Ie,rt,xt,Qt,qt){Bh(ge,Ie,1,rt,16,xt,Qt,qt)}function wm(ge,Ie,rt,xt,Qt,qt){var nn;for(nn=3;0Mn?0:255:Mn)&255,Mn=bn,Qt[qt+hn]=Er}}function Fu(ge,Ie,rt,xt){var Qt=Ie.width,qt=Ie.o;if(z(ge!=null&&Ie!=null),0>rt||0>=xt||rt+xt>qt)return null;if(!ge.Cc){if(ge.ga==null){var nn;if(ge.ga=new Rs,(nn=ge.ga==null)||(nn=Ie.width*Ie.o,z(ge.Gb.length==0),ge.Gb=he(nn),ge.Uc=0,ge.Gb==null?nn=0:(ge.mb=ge.Gb,ge.nb=ge.Uc,ge.rc=null,nn=1),nn=!nn),!nn){nn=ge.ga;var hn=ge.Fa,bn=ge.P,Mn=ge.qc,Er=ge.mb,ci=ge.nb,Un=bn+1,_r=Mn-1,Xr=nn.l;if(z(hn!=null&&Er!=null&&Ie!=null),ip[0]=null,ip[1]=Pl,ip[2]=qu,ip[3]=IA,nn.ca=Er,nn.tb=ci,nn.c=Ie.width,nn.i=Ie.height,z(0=Mn)Ie=0;else if(nn.$a=3&hn[bn+0],nn.Z=hn[bn+0]>>2&3,nn.Lc=hn[bn+0]>>4&3,bn=hn[bn+0]>>6&3,0>nn.$a||1=nn.c*nn.i;nn=!Ie}if(nn)return null;ge.ga.Lc!=1?ge.Ga=0:xt=qt-rt}z(ge.ga!=null),z(rt+xt<=qt);e:{if(Ie=(hn=ge.ga).c,qt=hn.l.o,hn.$a==0){if(Un=ge.rc,_r=ge.Vc,Xr=ge.Fa,bn=ge.P+1+rt*Ie,Mn=ge.mb,Er=ge.nb+rt*Ie,z(bn<=ge.P+ge.qc),hn.Z!=0)for(z(ip[hn.Z]!=null),nn=0;nn=Ie)Ie=1;else if(hn.ic||gf(),hn.ic){hn=nn.V,Un=nn.Ba,_r=nn.c;var Ri=nn.i,si=(Xr=1,bn=nn.$/_r,Mn=nn.$%_r,Er=nn.m,ci=nn.s,nn.$),zi=_r*Ri,Gi=_r*Ie,yo=ci.wc,ao=si(Ri=cA(ao.G[0],ao.H[0],Er)))hn[Un+si]=Ri,++si,++Mn>=_r&&(Mn=0,++bn<=Ie&&!(bn%16)&&ff(nn,bn));else{if(!(280>Ri)){Xr=0;break t}Ri=jd(Ri-256,Er);var ja,xa=cA(ao.G[4],ao.H[4],Er);if(ei(Er),!(si>=(xa=Hd(_r,xa=jd(xa,Er)))&&zi-si>=Ri)){Xr=0;break t}for(ja=0;ja=_r;)Mn-=_r,++bn<=Ie&&!(bn%16)&&ff(nn,bn);siIe?Ie:bn);break t}!Xr||Er.h&&si=qt&&(ge.Cc=1),xt=1}if(!xt)return null;if(ge.Cc&&((xt=ge.ga)!=null&&(xt.mc=null),ge.ga=null,0>23,hn[bn+4*nn+1]=hn[bn+4*nn+1]*ci>>23,hn[bn+4*nn+2]=hn[bn+4*nn+2]*ci>>23)}Ie+=qt}}function LA(ge,Ie,rt,xt,Qt){for(;0>4)*bn>>16;ge[Ie+2*qt+0]=(240&nn|nn>>4)*bn>>16&240|(15&nn|nn<<4)*bn>>16>>4&15,ge[Ie+2*qt+1]=240&Mn|hn}Ie+=Qt}}function lc(ge,Ie,rt,xt,Qt,qt,nn,hn){var bn,Mn,Er=255;for(Mn=0;Mn>8}function gf(){Wg=MA,Y0=LA,J0=lc,q0=Sh}function Fh(ge,Ie,rt){Gn[ge]=function(xt,Qt,qt,nn,hn,bn,Mn,Er,ci,Un,_r,Xr,Ri,si,zi,Gi,yo){var ao,ja=yo-1>>1,xa=hn[bn+0]|Mn[Er+0]<<16,Zs=ci[Un+0]|_r[Xr+0]<<16;z(xt!=null);var Da=3*xa+Zs+131074>>2;for(Ie(xt[Qt+0],255&Da,Da>>16,Ri,si),qt!=null&&(Da=3*Zs+xa+131074>>2,Ie(qt[nn+0],255&Da,Da>>16,zi,Gi)),ao=1;ao<=ja;++ao){var El=hn[bn+ao]|Mn[Er+ao]<<16,RA=ci[Un+ao]|_r[Xr+ao]<<16,Ws=xa+El+Zs+RA+524296,Na=Ws+2*(El+Zs)>>3;Da=Na+xa>>1,xa=(Ws=Ws+2*(xa+RA)>>3)+El>>1,Ie(xt[Qt+2*ao-1],255&Da,Da>>16,Ri,si+(2*ao-1)*rt),Ie(xt[Qt+2*ao-0],255&xa,xa>>16,Ri,si+(2*ao-0)*rt),qt!=null&&(Da=Ws+Zs>>1,xa=Na+RA>>1,Ie(qt[nn+2*ao-1],255&Da,Da>>16,zi,Gi+(2*ao-1)*rt),Ie(qt[nn+2*ao+0],255&xa,xa>>16,zi,Gi+(2*ao+0)*rt)),xa=El,Zs=RA}1&yo||(Da=3*xa+Zs+131074>>2,Ie(xt[Qt+yo-1],255&Da,Da>>16,Ri,si+(yo-1)*rt),qt!=null&&(Da=3*Zs+xa+131074>>2,Ie(qt[nn+yo-1],255&Da,Da>>16,zi,Gi+(yo-1)*rt)))}}function Tg(){Gd[Em]=d1,Gd[Sm]=Av,Gd[ov]=f1,Gd[Fm]=cv,Gd[Im]=dv,Gd[c0]=fv,Gd[av]=h1,Gd[d0]=Av,Gd[f0]=cv,Gd[Lm]=dv,Gd[h0]=fv}function cg(ge){return ge&~p1?0>ge?0:255:ge>>hv}function Gh(ge,Ie){return cg((19077*ge>>8)+(26149*Ie>>8)-14234)}function Tp(ge,Ie,rt){return cg((19077*ge>>8)-(6419*Ie>>8)-(13320*rt>>8)+8708)}function kp(ge,Ie){return cg((19077*ge>>8)+(33050*Ie>>8)-17685)}function Vh(ge,Ie,rt,xt,Qt){xt[Qt+0]=Gh(ge,rt),xt[Qt+1]=Tp(ge,Ie,rt),xt[Qt+2]=kp(ge,Ie)}function uc(ge,Ie,rt,xt,Qt){xt[Qt+0]=kp(ge,Ie),xt[Qt+1]=Tp(ge,Ie,rt),xt[Qt+2]=Gh(ge,rt)}function Mp(ge,Ie,rt,xt,Qt){var qt=Tp(ge,Ie,rt);Ie=qt<<3&224|kp(ge,Ie)>>3,xt[Qt+0]=248&Gh(ge,rt)|qt>>5,xt[Qt+1]=Ie}function Up(ge,Ie,rt,xt,Qt){var qt=240&kp(ge,Ie)|15;xt[Qt+0]=240&Gh(ge,rt)|Tp(ge,Ie,rt)>>4,xt[Qt+1]=qt}function kg(ge,Ie,rt,xt,Qt){xt[Qt+0]=255,Vh(ge,Ie,rt,xt,Qt+1)}function Mg(ge,Ie,rt,xt,Qt){uc(ge,Ie,rt,xt,Qt),xt[Qt+3]=255}function jc(ge,Ie,rt,xt,Qt){Vh(ge,Ie,rt,xt,Qt),xt[Qt+3]=255}function Ih(ge,Ie,rt){Gn[ge]=function(xt,Qt,qt,nn,hn,bn,Mn,Er,ci){for(var Un=Er+(-2&ci)*rt;Er!=Un;)Ie(xt[Qt+0],qt[nn+0],hn[bn+0],Mn,Er),Ie(xt[Qt+1],qt[nn+0],hn[bn+0],Mn,Er+rt),Qt+=2,++nn,++bn,Er+=2*rt;1&ci&&Ie(xt[Qt+0],qt[nn+0],hn[bn+0],Mn,Er)}}function dg(ge,Ie,rt){return rt==0?ge==0?Ie==0?6:5:Ie==0?4:0:rt}function bm(ge,Ie,rt,xt,Qt){switch(ge>>>30){case 3:Qp(Ie,rt,xt,Qt,0);break;case 2:Wd(Ie,rt,xt,Qt);break;case 1:au(Ie,rt,xt,Qt)}}function Zd(ge,Ie){var rt,xt,Qt=Ie.M,qt=Ie.Nb,nn=ge.oc,hn=ge.pc+40,bn=ge.oc,Mn=ge.pc+584,Er=ge.oc,ci=ge.pc+600;for(rt=0;16>rt;++rt)nn[hn+32*rt-1]=129;for(rt=0;8>rt;++rt)bn[Mn+32*rt-1]=129,Er[ci+32*rt-1]=129;for(0rt;++rt)re(nn,hn+32*rt-4,nn,hn+32*rt+12,4);for(rt=-1;8>rt;++rt)re(bn,Mn+32*rt-4,bn,Mn+32*rt+4,4),re(Er,ci+32*rt-4,Er,ci+32*rt+4,4)}var _r=ge.Gd,Xr=ge.Hd+xt,Ri=Un.ad,si=Un.Hc;if(0=ge.za-1?Ae(zi,Gi,_r[Xr].y[15],4):re(zi,Gi,_r[Xr+1].y,0,4)),rt=0;4>rt;rt++)zi[Gi+128+rt]=zi[Gi+256+rt]=zi[Gi+384+rt]=zi[Gi+0+rt];for(rt=0;16>rt;++rt,si<<=2)zi=nn,Gi=hn+gv[rt],mf[Un.Ob[rt]](zi,Gi),bm(si,Ri,16*+rt,zi,Gi)}else if(zi=dg(xt,Qt,Un.Ob[0]),rp[zi](nn,hn),si!=0)for(rt=0;16>rt;++rt,si<<=2)bm(si,Ri,16*+rt,nn,hn+gv[rt]);for(rt=Un.Gc,zi=dg(xt,Qt,Un.Dd),Nh[zi](bn,Mn),Nh[zi](Er,ci),si=Ri,zi=bn,Gi=Mn,255&(Un=0|rt)&&(170&Un?Yf(si,256,zi,Gi):Cu(si,256,zi,Gi)),Un=Er,si=ci,255&(rt>>=8)&&(170&rt?Yf(Ri,320,Un,si):Cu(Ri,320,Un,si)),Qtrt;++rt)re(_r,Xr+rt*ge.R,nn,hn+32*rt,16);for(rt=0;8>rt;++rt)re(Ri,Un+rt*ge.B,bn,Mn+32*rt,8),re(si,zi+rt*ge.B,Er,ci+32*rt,8)}}function Rp(ge,Ie,rt,xt,Qt,qt,nn,hn,bn){var Mn=[0],Er=[0],ci=0,Un=bn!=null?bn.kd:0,_r=bn!=null?bn:new oo;if(ge==null||12>rt)return 7;_r.data=ge,_r.w=Ie,_r.ha=rt,Ie=[Ie],rt=[rt],_r.gb=[_r.gb];e:{var Xr=Ie,Ri=rt,si=_r.gb;if(z(ge!=null),z(Ri!=null),z(si!=null),si[0]=0,12<=Ri[0]&&!E(ge,Xr[0],"RIFF")){if(E(ge,Xr[0]+8,"WEBP")){si=3;break e}var zi=$a(ge,Xr[0]+4);if(12>zi||4294967286Ri[0]-8){si=7;break e}si[0]=zi,Xr[0]+=12,Ri[0]-=12}si=0}if(si!=0)return si;for(zi=0<_r.gb[0],rt=rt[0];;){e:{var Gi=ge;Ri=Ie,si=rt;var yo=Mn,ao=Er,ja=Xr=[0];if((Da=ci=[ci])[0]=0,8>si[0])si=7;else{if(!E(Gi,Ri[0],"VP8X")){if($a(Gi,Ri[0]+4)!=10){si=3;break e}if(18>si[0]){si=7;break e}var xa=$a(Gi,Ri[0]+8),Zs=1+la(Gi,Ri[0]+12);if(2147483648<=Zs*(Gi=1+la(Gi,Ri[0]+15))){si=3;break e}ja!=null&&(ja[0]=xa),yo!=null&&(yo[0]=Zs),ao!=null&&(ao[0]=Gi),Ri[0]+=18,si[0]-=18,Da[0]=1}si=0}}if(ci=ci[0],Xr=Xr[0],si!=0)return si;if(Ri=!!(2&Xr),!zi&&ci)return 3;if(qt!=null&&(qt[0]=!!(16&Xr)),nn!=null&&(nn[0]=Ri),hn!=null&&(hn[0]=0),nn=Mn[0],Xr=Er[0],ci&&Ri&&bn==null){si=0;break}if(4>rt){si=7;break}if(zi&&ci||!zi&&!ci&&!E(ge,Ie[0],"ALPH")){rt=[rt],_r.na=[_r.na],_r.P=[_r.P],_r.Sa=[_r.Sa];e:{xa=ge,si=Ie,zi=rt;var Da=_r.gb;yo=_r.na,ao=_r.P,ja=_r.Sa,Zs=22,z(xa!=null),z(zi!=null),Gi=si[0];var El=zi[0];for(z(yo!=null),z(ja!=null),yo[0]=null,ao[0]=null,ja[0]=0;;){if(si[0]=Gi,zi[0]=El,8>El){si=7;break e}var RA=$a(xa,Gi+4);if(4294967286Da){si=3;break e}if(!E(xa,Gi,"VP8 ")||!E(xa,Gi,"VP8L")){si=0;break e}if(El[0]zi[0])si=7;else{if(Gi||Zs){if(Da=$a(Da,xa+4),12<=yo&&Da>yo-12){si=3;break e}if(Un&&Da>zi[0]-8){si=7;break e}ao[0]=Da,si[0]+=8,zi[0]-=8,ja[0]=Zs}else ja[0]=5<=zi[0]&&Da[xa+0]==47&&!(Da[xa+4]>>5),ao[0]=zi[0];si=0}if(rt=rt[0],_r.Ja=_r.Ja[0],_r.xa=_r.xa[0],Ie=Ie[0],si!=0)break;if(4294967286<_r.Ja)return 3;if(hn==null||Ri||(hn[0]=_r.xa?2:1),nn=[nn],Xr=[Xr],_r.xa){if(5>rt){si=7;break}hn=nn,Un=Xr,Ri=qt,ge==null||5>rt?ge=0:5<=rt&&ge[Ie+0]==47&&!(ge[Ie+4]>>5)?(zi=[0],Da=[0],yo=[0],_i(ao=new zn,ge,Ie,rt),vh(ao,zi,Da,yo)?(hn!=null&&(hn[0]=zi[0]),Un!=null&&(Un[0]=Da[0]),Ri!=null&&(Ri[0]=yo[0]),ge=1):ge=0):ge=0}else{if(10>rt){si=7;break}hn=Xr,ge==null||10>rt||!Am(ge,Ie+3,rt-3)?ge=0:(Un=ge[Ie+0]|ge[Ie+1]<<8|ge[Ie+2]<<16,Ri=16383&(ge[Ie+7]<<8|ge[Ie+6]),ge=16383&(ge[Ie+9]<<8|ge[Ie+8]),1&Un||3<(Un>>1&7)||!(Un>>4&1)||Un>>5>=_r.Ja||!Ri||!ge?ge=0:(nn&&(nn[0]=Ri),hn&&(hn[0]=ge),ge=1))}if(!ge||(nn=nn[0],Xr=Xr[0],ci&&(Mn[0]!=nn||Er[0]!=Xr)))return 3;bn!=null&&(bn[0]=_r,bn.offset=Ie-bn.w,z(4294967286>Ie-bn.w),z(bn.offset==bn.ha-rt));break}return si==0||si==7&&ci&&bn==null?(qt!=null&&(qt[0]|=_r.na!=null&&0<_r.na.length),xt!=null&&(xt[0]=nn),Qt!=null&&(Qt[0]=Xr),0):si}function Ug(ge,Ie,rt){var xt=Ie.width,Qt=Ie.height,qt=0,nn=0,hn=xt,bn=Qt;if(Ie.Da=ge!=null&&0rt||(qt&=-2,nn&=-2),0>qt||0>nn||0>=hn||0>=bn||qt+hn>xt||nn+bn>Qt))return 0;if(Ie.v=qt,Ie.j=nn,Ie.va=qt+hn,Ie.o=nn+bn,Ie.U=hn,Ie.T=bn,Ie.da=ge!=null&&0ge.S){var Ie=ge.f.RGBA;Ie.fb+=(ge.height-1)*Ie.A,Ie.A=-Ie.A}else Ie=ge.f.kb,ge=ge.height,Ie.O+=(ge-1)*Ie.fa,Ie.fa=-Ie.fa,Ie.N+=(ge-1>>1)*Ie.Ab,Ie.Ab=-Ie.Ab,Ie.W+=(ge-1>>1)*Ie.Db,Ie.Db=-Ie.Db,Ie.F!=null&&(Ie.J+=(ge-1)*Ie.lb,Ie.lb=-Ie.lb);return 0}function Xh(ge,Ie,rt,xt){if(xt==null||0>=ge||0>=Ie)return 2;if(rt!=null){if(rt.Da){var Qt=rt.cd,qt=rt.bd,nn=-2&rt.v,hn=-2&rt.j;if(0>nn||0>hn||0>=Qt||0>=qt||nn+Qt>ge||hn+qt>Ie)return 2;ge=Qt,Ie=qt}if(rt.da){if(!is(ge,Ie,Qt=[rt.ib],qt=[rt.hb]))return 2;ge=Qt[0],Ie=qt[0]}}xt.width=ge,xt.height=Ie;e:{var bn=xt.width,Mn=xt.height;if(ge=xt.S,0>=bn||0>=Mn||!(ge>=Em&&13>ge))ge=2;else{if(0>=xt.Rd&&xt.sd==null){nn=qt=Qt=Ie=0;var Er=(hn=bn*mv[ge])*Mn;if(11>ge||(qt=(Mn+1)/2*(Ie=(bn+1)/2),ge==12&&(nn=(Qt=bn)*Mn)),(Mn=he(Er+2*qt+nn))==null){ge=1;break e}xt.sd=Mn,11>ge?((bn=xt.f.RGBA).eb=Mn,bn.fb=0,bn.A=hn,bn.size=Er):((bn=xt.f.kb).y=Mn,bn.O=0,bn.fa=hn,bn.Fd=Er,bn.f=Mn,bn.N=0+Er,bn.Ab=Ie,bn.Cd=qt,bn.ea=Mn,bn.W=0+Er+qt,bn.Db=Ie,bn.Ed=qt,ge==12&&(bn.F=Mn,bn.J=0+Er+2*qt),bn.Tc=nn,bn.lb=Qt)}if(Ie=1,Qt=xt.S,qt=xt.width,nn=xt.height,Qt>=Em&&13>Qt)if(11>Qt)ge=xt.f.RGBA,Ie&=(hn=Math.abs(ge.A))*(nn-1)+qt<=ge.size,Ie&=hn>=qt*mv[Qt],Ie&=ge.eb!=null;else{ge=xt.f.kb,hn=(qt+1)/2,Er=(nn+1)/2,bn=Math.abs(ge.fa),Mn=Math.abs(ge.Ab);var ci=Math.abs(ge.Db),Un=Math.abs(ge.lb),_r=Un*(nn-1)+qt;Ie&=bn*(nn-1)+qt<=ge.Fd,Ie&=Mn*(Er-1)+hn<=ge.Cd,Ie=(Ie&=ci*(Er-1)+hn<=ge.Ed)&bn>=qt&Mn>=hn&ci>=hn,Ie&=ge.y!=null,Ie&=ge.f!=null,Ie&=ge.ea!=null,Qt==12&&(Ie&=Un>=qt,Ie&=_r<=ge.Tc,Ie&=ge.F!=null)}else Ie=0;ge=Ie?0:2}}return ge!=0||rt!=null&&rt.fd&&(ge=Rg(xt)),ge}var jp=64,md=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],vd=24,Yh=32,Lh=8,Jh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ba("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(ge){return ge},Gn.Predictor2=function(ge,Ie,rt){return Ie[rt+0]},Gn.Predictor3=function(ge,Ie,rt){return Ie[rt+1]},Gn.Predictor4=function(ge,Ie,rt){return Ie[rt-1]},Gn.Predictor5=function(ge,Ie,rt){return Va(Va(ge,Ie[rt+1]),Ie[rt+0])},Gn.Predictor6=function(ge,Ie,rt){return Va(ge,Ie[rt-1])},Gn.Predictor7=function(ge,Ie,rt){return Va(ge,Ie[rt+0])},Gn.Predictor8=function(ge,Ie,rt){return Va(Ie[rt-1],Ie[rt+0])},Gn.Predictor9=function(ge,Ie,rt){return Va(Ie[rt+0],Ie[rt+1])},Gn.Predictor10=function(ge,Ie,rt){return Va(Va(ge,Ie[rt-1]),Va(Ie[rt+0],Ie[rt+1]))},Gn.Predictor11=function(ge,Ie,rt){var xt=Ie[rt+0];return 0>=Ps(xt>>24&255,ge>>24&255,(Ie=Ie[rt-1])>>24&255)+Ps(xt>>16&255,ge>>16&255,Ie>>16&255)+Ps(xt>>8&255,ge>>8&255,Ie>>8&255)+Ps(255&xt,255&ge,255&Ie)?xt:ge},Gn.Predictor12=function(ge,Ie,rt){var xt=Ie[rt+0];return(iu((ge>>24&255)+(xt>>24&255)-((Ie=Ie[rt-1])>>24&255))<<24|iu((ge>>16&255)+(xt>>16&255)-(Ie>>16&255))<<16|iu((ge>>8&255)+(xt>>8&255)-(Ie>>8&255))<<8|iu((255&ge)+(255&xt)-(255&Ie)))>>>0},Gn.Predictor13=function(ge,Ie,rt){var xt=Ie[rt-1];return(ml((ge=Va(ge,Ie[rt+0]))>>24&255,xt>>24&255)<<24|ml(ge>>16&255,xt>>16&255)<<16|ml(ge>>8&255,xt>>8&255)<<8|ml(255&ge,255&xt))>>>0};var jg=Gn.PredictorAdd0;Gn.PredictorAdd1=Bl,Ba("Predictor2","PredictorAdd2"),Ba("Predictor3","PredictorAdd3"),Ba("Predictor4","PredictorAdd4"),Ba("Predictor5","PredictorAdd5"),Ba("Predictor6","PredictorAdd6"),Ba("Predictor7","PredictorAdd7"),Ba("Predictor8","PredictorAdd8"),Ba("Predictor9","PredictorAdd9"),Ba("Predictor10","PredictorAdd10"),Ba("Predictor11","PredictorAdd11"),Ba("Predictor12","PredictorAdd12"),Ba("Predictor13","PredictorAdd13");var fg=Gn.PredictorAdd2;Ha("ColorIndexInverseTransform","MapARGB","32b",function(ge){return ge>>8&255},function(ge){return ge}),Ha("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ge){return ge},function(ge){return ge>>8&255});var wA,Cm=Gn.ColorIndexInverseTransform,Vf=Gn.MapARGB,Xf=Gn.VP8LColorIndexInverseTransformAlpha,Hg=Gn.MapAlpha,Qg=Gn.VP8LPredictorsAdd=[];Qg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var zg,Kg,qh,ep,tp,Hp,np,Qp,Wd,Yf,au,Cu,bA,UA,Dh,Zg,hg,xm,Z0,W0,$0,G0,V0,X0,Wg,Y0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,A0=tv,Bm=nv,yd=rv,$d=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,c0=5,av=6,d0=7,f0=8,Lm=9,h0=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],i1=8,p0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],g0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],$g=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],a1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],s1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],u1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],A1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rp=[],mf=[],Nh=[],c1=1,uv=2,ip=[],Gd=[];Fh("UpsampleRgbLinePair",Vh,3),Fh("UpsampleBgrLinePair",uc,3),Fh("UpsampleRgbaLinePair",jc,4),Fh("UpsampleBgraLinePair",Mg,4),Fh("UpsampleArgbLinePair",kg,4),Fh("UpsampleRgba4444LinePair",Up,2),Fh("UpsampleRgb565LinePair",Mp,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,Av=Gn.UpsampleRgbaLinePair,cv=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<xt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),xt.ca.f.kb.F!=null&&gf()),xt.Pb&&0(bn=rt.Md)?0:100Mn;++Mn)12>(ci=Qt.pb[Mn]).lc&&(ci.ia=bn*C1[0>ci.lc?0:ci.lc]>>3),Er|=ci.ia;Er&&(alert("todo:VP8InitRandom"),Qt.ia=1)}Qt.Ga=rt.Id,100Qt.Ga&&(Qt.Ga=0)}(function(Un,_r){if(Un==null)return 0;if(_r==null)return FA(Un,2,"NULL VP8Io parameter in VP8Decode().");if(!Un.cb&&!$f(Un,_r))return 0;if(z(Un.cb),_r.ac==null||_r.ac(_r)){_r.ob&&(Un.L=0);var Xr=Om[Un.L];if(Un.L==2?(Un.yb=0,Un.zb=0):(Un.yb=_r.v-Xr>>4,Un.zb=_r.j-Xr>>4,0>Un.yb&&(Un.yb=0),0>Un.zb&&(Un.zb=0)),Un.Va=_r.o+15+Xr>>4,Un.Hb=_r.va+15+Xr>>4,Un.Hb>Un.za&&(Un.Hb=Un.za),Un.Va>Un.Ub&&(Un.Va=Un.Ub),0Xr;++Xr){var si;if(Un.Qa.Cb){var zi=Un.Qa.Lb[Xr];Un.Qa.Fb||(zi+=Ri.Tb)}else zi=Ri.Tb;for(si=0;1>=si;++si){var Gi=Un.gd[Xr][si],yo=zi;if(Ri.Pc&&(yo+=Ri.vd[0],si&&(yo+=Ri.od[0])),0<(yo=0>yo?0:63>2:ao>>1)>9-Ri.wb&&(ao=9-Ri.wb),1>ao&&(ao=1),Gi.dd=ao,Gi.tc=2*yo+ao,Gi.ld=40<=yo?2:15<=yo?1:0}else Gi.tc=0;Gi.La=si}}}Xr=0}else FA(Un,6,"Frame setup failed"),Xr=Un.a;if(Xr=Xr==0){if(Xr){Un.$c=0,0Un.Vb){if(Un.Vb=0,Un.Ec=he(Gi),Un.Fc=0,Un.Ec==null){Xr=FA(Un,1,"no memory during frame initialization.");break t}Un.Vb=Gi}Gi=Un.Ec,yo=Un.Fc,Un.Ac=Gi,Un.Bc=yo,yo+=Ri,Un.Gd=Ze(ja,lm),Un.Hd=0,Un.rb=Ze(xa+1,Eg),Un.sb=1,Un.wa=Zs?Ze(Zs,zd):null,Un.Y=0,Un.D.Nb=0,Un.D.wa=Un.wa,Un.D.Y=Un.Y,0=Xr;++Xr)ev[255+Xr]=0>Xr?-Xr:Xr;for(Xr=-1020;1020>=Xr;++Xr)tv[1020+Xr]=-128>Xr?-128:127=Xr;++Xr)nv[112+Xr]=-16>Xr?-16:15=Xr;++Xr)rv[255+Xr]=0>Xr?0:255Nl;++Nl){var jA,_l=Hc[0+Nl];for(jA=0;4>jA;++jA){_l=l1[Mu[Ac+jA]][_l];for(var cu=lv[Xi(Ts,_l[0])];0>3;for(cu=0;256>cu;cu+=16)Nl[Dc+cu]=ed}cc=1,vf=Ac[0]}var xu=15&Ts.la,HA=15&Qc.la;for(cu=0;4>cu;++cu){var wd=1&HA;for(ed=du=0;4>ed;++ed)xu=xu>>1|(wd=(xA=$g(Mu,vf,xA=wd+(1&xu),dA.Sc,cc,Nl,Dc))>cc)<<7,du=du<<2|(3>=4,HA=HA>>1|wd<<7,jA=(jA<<8|du)>>>0}for(vf=xu,cc=HA>>4,fA=0;4>fA;fA+=2){for(du=0,xu=Ts.la>>4+fA,HA=Qc.la>>4+fA,cu=0;2>cu;++cu){for(wd=1&HA,ed=0;2>ed;++ed)xA=wd+(1&xu),xu=xu>>1|(wd=0<(xA=$g(Mu,Ac[2],xA,dA.Qc,0,Nl,Dc)))<<3,du=du<<2|(3>=2,HA=HA>>1|wd<<5}_l|=du<<4*fA,vf|=xu<<4<=Na.zb&&Na.M<=Na.Va,Na.Aa==0)t:{if(Ws.M=Na.M,Ws.uc=Ts,Zd(Na,Ws),CA=1,Ws=(du=Na.D).Nb,Ts=(_l=Om[Na.L])*Na.R,Mu=_l/2*Na.B,cu=16*Ws*Na.R,ed=8*Ws*Na.B,Ac=Na.sa,Hc=Na.ta-Ts+cu,dA=Na.qa,Nl=Na.ra-Mu+ed,Dc=Na.Ha,Qc=Na.Ia-Mu+ed,HA=(xu=du.M)==0,jA=xu>=Na.Va-1,Na.Aa==2&&Zd(Na,du),du.uc)for(wd=(xA=Na).D.M,z(xA.D.uc),du=xA.yb;duXo.o&&(xu=Xo.o),Xo.F=null,Xo.J=null,Na.Fa!=null&&0>1),Xo.W+=Na.B*(_l>>1),Xo.F!=null&&(Xo.J+=Xo.width*_l)),du>1,Xo.W+=Xo.v>>1,Xo.F!=null&&(Xo.J+=Xo.v),Xo.ka=du-Xo.j,Xo.U=Xo.va-Xo.v,Xo.T=xu-du,CA=Xo.put(Xo))}Ws+1!=Na.Ic||jA||(re(Na.sa,Na.ta-Ts,Ac,Hc+16*Na.R,Ts),re(Na.qa,Na.ra-Mu,dA,Nl+8*Na.B,Mu),re(Na.Ha,Na.Ia-Mu,Dc,Qc+8*Na.B,Mu))}if(!CA)return FA(El,6,"Output aborted.")}return 1}(Un,_r)),_r.bc!=null&&_r.bc(_r),Xr&=1}return Xr?(Un.cb=0,Xr):0})(ge,xt)||(Ie=ge.a)}}else Ie=ge.a}Ie==0&&nn.Oa!=null&&nn.Oa.fd&&(Ie=Rg(nn.ba))}nn=Ie}qt=nn!=0?null:11>qt?hn.f.RGBA.eb:hn.f.kb.y}else qt=null;return qt};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ye(Gn,Gr){for(var An="",Pn=0;Pn<4;Pn++)An+=String.fromCharCode(Gn[Gr++]);return An}function dt(Gn,Gr){return Gn[Gr+0]|Gn[Gr+1]<<8}function Tt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16)>>>0}function Jt(Gn,Gr){return(Gn[Gr+0]|Gn[Gr+1]<<8|Gn[Gr+2]<<16|Gn[Gr+3]<<24)>>>0}new Ve;var At=[0],In=[0],xn=[],Nn=new Ve,dn=y,yr=function(Gn,Gr){var An={},Pn=0,pr=!1,cr=0,yi=0;if(An.frames=[],!function(on,zn){for(var ir=0;ir<4;ir++)if(on[zn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(Gn,Gr)){for(Jt(Gn,Gr+=4),Gr+=8;Gr>1&1}Fi!="ANMF"&&(Gr+=Ai)}return An}}(dn,0);yr.response=dn,yr.rgbaoutput=!0,yr.dataurl=!1;var lr=yr.header?yr.header:null,Zn=yr.frames?yr.frames:null;if(lr){lr.loop_counter=lr.loop_count,At=[lr.canvas_height],In=[lr.canvas_width];for(var fi=0;fi=2?_n[1]:ca[0],ca[2]=_n.length>=3?_n[2]:ca[0],ca[3]=_n.length>=4?_n[3]:ca[1]),Ye.margin=ca}});var Di=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Di},set:function(_n){Di=_n}});var Pi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Pi},set:function(_n){Pi=_n}});var Xi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Xi},set:function(_n){Xi=_n}}),Object.defineProperty(this,"ctx",{get:function(){return Ye},set:function(_n){_n instanceof dt&&(Ye=_n)}}),Object.defineProperty(this,"path",{get:function(){return Ye.path},set:function(_n){Ye.path=_n}});var xo=[];Object.defineProperty(this,"ctxStack",{get:function(){return xo},set:function(_n){xo=_n}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_n){var ca;ca=Jt(_n),this.ctx.fillStyle=ca.style,this.ctx.isFillTransparent=ca.a===0,this.ctx.fillOpacity=ca.a,this.pdf.setFillColor(ca.r,ca.g,ca.b,{a:ca.a}),this.pdf.setTextColor(ca.r,ca.g,ca.b,{a:ca.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_n){var ca=Jt(_n);this.ctx.strokeStyle=ca.style,this.ctx.isStrokeTransparent=ca.a===0,this.ctx.strokeOpacity=ca.a,ca.a===0?this.pdf.setDrawColor(255,255,255):(ca.a,this.pdf.setDrawColor(ca.r,ca.g,ca.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_n){["butt","round","square"].indexOf(_n)!==-1&&(this.ctx.lineCap=_n,this.pdf.setLineCap(_n))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_n){isNaN(_n)||(this.ctx.lineWidth=_n,this.pdf.setLineWidth(_n))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_n){["bevel","round","miter"].indexOf(_n)!==-1&&(this.ctx.lineJoin=_n,this.pdf.setLineJoin(_n))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_n){isNaN(_n)||(this.ctx.miterLimit=_n,this.pdf.setMiterLimit(_n))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_n){this.ctx.textBaseline=_n}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_n){["right","end","center","left","start"].indexOf(_n)!==-1&&(this.ctx.textAlign=_n)}});var Aa=null,la=null,$a=null;Object.defineProperty(this,"fontFaces",{get:function(){return $a},set:function(_n){Aa=null,la=null,$a=_n}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_n){var ca;if(this.ctx.font=_n,(ca=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(_n))!==null){var Js=ca[1];ca[2];var is=ca[3],go=ca[4];ca[5];var os=ca[6],Ba=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(go)[2];go=Math.floor(Ba==="px"?parseFloat(go)*this.pdf.internal.scaleFactor:Ba==="em"?parseFloat(go)*this.pdf.getFontSize():parseFloat(go)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(go);var ts=function(Ha){var yA,Ol,el=[],tl=Ha.trim();if(tl==="")return Zm;if(tl in Rf)return[Rf[tl]];for(;tl!=="";){switch(Ol=null,yA=(tl=jf(tl)).charAt(0)){case'"':case"'":Ol=uf(tl.substring(1),yA);break;default:Ol=Zh(tl)}if(Ol===null||(el.push(Ol[0]),(tl=jf(Ol[1]))!==""&&tl.charAt(0)!==","))return Zm;tl=tl.replace(/^,/,"")}return el}(os);if(this.fontFaces){var Va=function(Ha,yA){var Ol=Ha.getFontList(),el=JSON.stringify(Ol);if(Aa===null||la!==el){var tl=function(Zu){var Ya=[];return Object.keys(Zu).forEach(function(Su){Zu[Su].forEach(function(ds){var _s=null;switch(ds){case"bold":_s={family:Su,weight:"bold"};break;case"italic":_s={family:Su,style:"italic"};break;case"bolditalic":_s={family:Su,weight:"bold",style:"italic"};break;case"":case"normal":_s={family:Su}}_s!==null&&(_s.ref={name:Su,style:ds},Ya.push(_s))})}),Ya}(Ol);Aa=function(Zu){for(var Ya={},Su=0;Su=700||Js==="bold")&&(Ps="bold"),Js==="italic"&&(Ps+="italic"),Ps.length===0&&(Ps="normal");for(var Bl="",vl={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ta=0;Ta=2*Math.PI&&(br=0,Tr=2*Math.PI),this.path.push({type:"arc",x:on,y:zn,radius:ir,startAngle:br,endAngle:Tr,counterclockwise:ei})},Tt.prototype.arcTo=function(on,zn,ir,br,Tr){throw new Error("arcTo not implemented.")},Tt.prototype.rect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,zn),this.lineTo(on+ir,zn),this.lineTo(on+ir,zn+br),this.lineTo(on,zn+br),this.lineTo(on,zn),this.lineTo(on+ir,zn),this.lineTo(on,zn)},Tt.prototype.fillRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!At.call(this)){var Tr={};this.lineCap!=="butt"&&(Tr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Tr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,zn,ir,br),this.fill(),Tr.hasOwnProperty("lineCap")&&(this.lineCap=Tr.lineCap),Tr.hasOwnProperty("lineJoin")&&(this.lineJoin=Tr.lineJoin)}},Tt.prototype.strokeRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");In.call(this)||(this.beginPath(),this.rect(on,zn,ir,br),this.stroke())},Tt.prototype.clearRect=function(on,zn,ir,br){if(isNaN(on)||isNaN(zn)||isNaN(ir)||isNaN(br))throw hl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,zn,ir,br))},Tt.prototype.save=function(on){on=typeof on!="boolean"||on;for(var zn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Tt.prototype.drawImage=function(on,zn,ir,br,Tr,ei,Di,Pi,Xi){var xo=this.pdf.getImageProperties(on),Aa=1,la=1,$a=1,_n=1;br!==void 0&&Pi!==void 0&&($a=Pi/br,_n=Xi/Tr,Aa=xo.width/br*Pi/br,la=xo.height/Tr*Xi/Tr),ei===void 0&&(ei=zn,Di=ir,zn=0,ir=0),br!==void 0&&Pi===void 0&&(Pi=br,Xi=Tr),br===void 0&&Pi===void 0&&(Pi=xo.width,Xi=xo.height);var ca=this.ctx.transform.decompose(),Js=Ai(ca.rotate.shx),is=new Ve,go=(is=(is=(is=is.multiply(ca.translate)).multiply(ca.skew)).multiply(ca.scale)).applyToRectangle(new Pe(ei-zn*$a,Di-ir*_n,br*Aa,Tr*la));if(this.autoPaging){for(var os,Ba=Nn.call(this,go),ts=[],Va=0;Vaiu||Psgo||Ba0)){for(;Xi>=0;Xi--)if(Tr[Xi-1].close!==!0&&Tr[Xi-1].begin!==!0){Tr[Xi-1].deltas.push(ir),Tr[Xi-1].abs.push(Pi);break}}break;case"bct":ir=[Pi.x1-ei[Di-1].x,Pi.y1-ei[Di-1].y,Pi.x2-ei[Di-1].x,Pi.y2-ei[Di-1].y,Pi.x-ei[Di-1].x,Pi.y-ei[Di-1].y],Tr[Tr.length-1].deltas.push(ir);break;case"qct":var xo=ei[Di-1].x+2/3*(Pi.x1-ei[Di-1].x),Aa=ei[Di-1].y+2/3*(Pi.y1-ei[Di-1].y),la=Pi.x+2/3*(Pi.x1-Pi.x),$a=Pi.y+2/3*(Pi.y1-Pi.y),_n=Pi.x,ca=Pi.y;ir=[xo-ei[Di-1].x,Aa-ei[Di-1].y,la-ei[Di-1].x,$a-ei[Di-1].y,_n-ei[Di-1].x,ca-ei[Di-1].y],Tr[Tr.length-1].deltas.push(ir);break;case"arc":Tr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Tr[Tr.length-1].abs)&&Tr[Tr.length-1].abs.push(Pi)}}br=zn?null:on==="stroke"?"stroke":"fill";for(var Js=!1,is=0;is=.01&&(br=this.pdf.internal.getFontSize(),this.pdf.setFontSize(br*on.scale),Tr=this.lineWidth,this.lineWidth=Tr*on.scale);var Us=this.autoPaging!=="text";if(Us||Ta.y+Ta.h<=Va){if(Us||Ta.y>=Ba&&Ta.x<=ml){var Ha=Us?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||ml-Ta.x)[0],yA=yr([JSON.parse(JSON.stringify(la))],this.posX+this.margin[3],-Bl+Ba+this.ctx.prevPageLastElemOffset)[0],Ol=Us&&(os>is||os=.01&&(this.pdf.setFontSize(br),this.lineWidth=Tr)}}else on.scale>=.01&&(br=this.pdf.internal.getFontSize(),this.pdf.setFontSize(br*on.scale),Tr=this.lineWidth,this.lineWidth=Tr*on.scale),this.pdf.text(on.text,Xi.x+this.posX,Xi.y+this.posY,{angle:on.angle,align:zn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(br),this.lineWidth=Tr)},pr=function(on,zn,ir,br){ir=ir||0,br=br||0,this.pdf.internal.out(E(on+ir)+" "+re(zn+br)+" l")},cr=function(on,zn,ir){return this.pdf.lines(on,zn,ir,null,null)},yi=function(on,zn,ir,br,Tr,ei,Di,Pi){this.pdf.internal.out([z(Ae(ir+on)),z(he(br+zn)),z(Ae(Tr+on)),z(he(ei+zn)),z(Ae(Di+on)),z(he(Pi+zn)),"c"].join(" "))},Fi=function(on,zn,ir,br){for(var Tr=2*Math.PI,ei=Math.PI/2;zn>ir;)zn-=Tr;var Di=Math.abs(ir-zn);Di1e-5;){var Aa=xo+Xi*Math.min(Di,ei);Pi.push(Oi.call(this,on,xo,Aa)),Di-=Math.abs(Aa-xo),xo=Aa}return Pi},Oi=function(on,zn,ir){var br=(ir-zn)/2,Tr=on*Math.cos(br),ei=on*Math.sin(br),Di=Tr,Pi=-ei,Xi=Di*Di+Pi*Pi,xo=Xi+Di*Tr+Pi*ei,Aa=4/3*(Math.sqrt(2*Xi*xo)-xo)/(Di*ei-Pi*Tr),la=Di-Aa*Pi,$a=Pi+Aa*Di,_n=la,ca=-$a,Js=br+zn,is=Math.cos(Js),go=Math.sin(Js);return{x1:on*Math.cos(zn),y1:on*Math.sin(zn),x2:la*is-$a*go,y2:la*go+$a*is,x3:_n*is-ca*go,y3:_n*go+ca*is,x4:on*Math.cos(ir),y4:on*Math.sin(ir)}},Ai=function(on){return 180*on/Math.PI},_i=function(on,zn,ir,br,Tr,ei){var Di=on+.5*(ir-on),Pi=zn+.5*(br-zn),Xi=Tr+.5*(ir-Tr),xo=ei+.5*(br-ei),Aa=Math.min(on,Tr,Di,Xi),la=Math.max(on,Tr,Di,Xi),$a=Math.min(zn,ei,Pi,xo),_n=Math.max(zn,ei,Pi,xo);return new Pe(Aa,$a,la-Aa,_n-$a)},Po=function(on,zn,ir,br,Tr,ei,Di,Pi){var Xi,xo,Aa,la,$a,_n,ca,Js,is,go,os,Ba,ts,Va,iu=ir-on,ml=br-zn,Ps=Tr-ir,Bl=ei-br,vl=Di-Tr,Ta=Pi-ei;for(xo=0;xo<41;xo++)is=(ca=(Aa=on+(Xi=xo/40)*iu)+Xi*(($a=ir+Xi*Ps)-Aa))+Xi*($a+Xi*(Tr+Xi*vl-$a)-ca),go=(Js=(la=zn+Xi*ml)+Xi*((_n=br+Xi*Bl)-la))+Xi*(_n+Xi*(ei+Xi*Ta-_n)-Js),xo==0?(os=is,Ba=go,ts=is,Va=go):(os=Math.min(os,is),Ba=Math.min(Ba,go),ts=Math.max(ts,is),Va=Math.max(Va,go));return new Pe(Math.round(os),Math.round(Ba),Math.round(ts-os),Math.round(Va-Ba))},ro=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,zn,ir=(on=this.ctx.lineDash,zn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:zn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(La.API),function(y){var z=function(Ze){var Pe,Ve,Ye,dt,Tt,Jt,At,In,xn,Nn;for(/[^\x00-\xFF]/.test(Ze),Ve=[],Ye=0,dt=(Ze+=Pe="\0\0\0\0".slice(Ze.length%4||4)).length;dt>Ye;Ye+=4)(Tt=(Ze.charCodeAt(Ye)<<24)+(Ze.charCodeAt(Ye+1)<<16)+(Ze.charCodeAt(Ye+2)<<8)+Ze.charCodeAt(Ye+3))!==0?(Jt=(Tt=((Tt=((Tt=((Tt=(Tt-(Nn=Tt%85))/85)-(xn=Tt%85))/85)-(In=Tt%85))/85)-(At=Tt%85))/85)%85,Ve.push(Jt+33,At+33,In+33,xn+33,Nn+33)):Ve.push(122);return function(dn,yr){for(var lr=yr;lr>0;lr--)dn.pop()}(Ve,Pe.length),String.fromCharCode.apply(String,Ve)+"~>"},E=function(Ze){var Pe,Ve,Ye,dt,Tt,Jt=String,At="length",In=255,xn="charCodeAt",Nn="slice",dn="replace";for(Ze[Nn](-2),Ze=Ze[Nn](0,-2)[dn](/\s/g,"")[dn]("z","!!!!!"),Ye=[],dt=0,Tt=(Ze+=Pe="uuuuu"[Nn](Ze[At]%5||5))[At];Tt>dt;dt+=5)Ve=52200625*(Ze[xn](dt)-33)+614125*(Ze[xn](dt+1)-33)+7225*(Ze[xn](dt+2)-33)+85*(Ze[xn](dt+3)-33)+(Ze[xn](dt+4)-33),Ye.push(In&Ve>>24,In&Ve>>16,In&Ve>>8,In&Ve);return function(yr,lr){for(var Zn=lr;Zn>0;Zn--)yr.pop()}(Ye,Pe[At]),Jt.fromCharCode.apply(Jt,Ye)},re=function(Ze){return Ze.split("").map(function(Pe){return("0"+Pe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},Ae=function(Ze){var Pe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),Pe.test(Ze)===!1)return"";for(var Ve="",Ye=0;Yexn&&(In=Nn,Nn=xn,xn=In);else{if(Pe!=="l"&&Pe!=="landscape")throw"Invalid orientation: "+Pe;Pe="l",xn>Nn&&(In=Nn,Nn=xn,xn=In)}return{width:Nn,height:xn,unit:Ve,k:Tt,orientation:Pe}},y.html=function(Pe,Ve){(Ve=Ve||{}).callback=Ve.callback||function(){},Ve.html2canvas=Ve.html2canvas||{},Ve.html2canvas.canvas=Ve.html2canvas.canvas||this.canvas,Ve.jsPDF=Ve.jsPDF||this,Ve.fontFaces=Ve.fontFaces?Ve.fontFaces.map(qc):null;var Ye=new Ze(Ve);return Ve.worker?Ye:Ye.from(Pe).doCallback()}}(La.API),La.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){Hf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Hf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Hf!==void 0&&I0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var z;y.events.push(["postPutResources",function(){var E=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ae=E.outline.render().split(/\r\n/),he=0;he> endobj")}var At=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+At+" 0 R"),E.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+z+" 0 R"))}]),y.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(re,Ae,he){var Ze={title:Ae,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ze),Ze},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(re){re.id=E.internal.newObjectDeferred();for(var Ae=0;Ae0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},E.outline.renderItems=function(re){for(var Ae=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he0&&this.line("/Prev "+this.makeRef(re.children[he-1])),he0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var Pe=this.count=this.count_r({count:0},Ze);if(Pe>0&&this.line("/Count "+Pe),Ze.options&&Ze.options.pageNumber){var Ve=E.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+Ve.objId+" 0 R /XYZ 0 "+Ae(0)+" 0]")}this.objEnd()}for(var Ye=0;Ye>"}),"transparency"in gt&&Array.isArray(gt.transparency)&>.transparency.length>0){for(var $r="",Ur=0,qr=gt.transparency.length;Ur>",st.content=m;var jt=st.objId+" 0 R";m="<>";else if(u.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=1};var z=n.__arabicParser__.arabicLetterHasFinalForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=3};var te=n.__arabicParser__.arabicLetterHasMedialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length==4},Se=n.__arabicParser__.resolveLigatures=function(st){var dt=0,ze=s,Wt="",jt=0;for(dt=0;dt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(L){s=L}});var u=150;Object.defineProperty(this,"width",{get:function(){return u},set:function(L){u=isNaN(L)||Number.isInteger(L)===!1||L<0?150:L,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=u+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(L){d=isNaN(L)||Number.isInteger(L)===!1||L<0?300:L,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(L){m=L}});var O={};Object.defineProperty(this,"style",{get:function(){return O},set:function(L){O=L}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,u){var d;if((s=s||"2d")!=="2d")return null;for(d in u)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=u[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(hi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,u=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var M=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(st){M=st}});var z=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return z},set:function(st){z=st}});var te=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return te},set:function(st){te=st}});var Se=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Se},set:function(st){Se=st}});var Ue=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ue},set:function(st){Ue=st}});var ee=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ee},set:function(st){ee=st}});var ut=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ut},set:function(st){ut=st}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(M){return u.call(this),this.internal.__cell__.headerFunction=typeof M=="function"?M:void 0,this},n.getTextDimensions=function(M,z){u.call(this);var te=(z=z||{}).fontSize||this.getFontSize(),Se=z.font||this.getFont(),Ue=z.scaleFactor||this.internal.scaleFactor,ee=0,ut=0,st=0,dt=this;if(!Array.isArray(M)&&typeof M!="string"){if(typeof M!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");M=String(M)}var ze=z.maxWidth;ze>0?typeof M=="string"?M=this.splitTextToSize(M,ze):Object.prototype.toString.call(M)==="[object Array]"&&(M=M.reduce(function(jt,Dt){return jt.concat(dt.splitTextToSize(Dt,ze))},[])):M=Array.isArray(M)?M:[M];for(var Wt=0;Wtthis.getPageHeight()?(this.cellAddPage(),M.y=Se.top,ee&&Ue&&(this.printHeaderRow(M.lineNumber,!0),M.y+=Ue[0].height)):M.y=z.y+z.height||M.y),M.text[0]!==void 0&&(this.rect(M.x,M.y,M.width,M.height,s===!0?"FD":void 0),M.align==="right"?this.text(M.text,M.x+M.width-te,M.y+te,{align:"right",baseline:"top"}):M.align==="center"?this.text(M.text,M.x+M.width/2,M.y+te,{align:"center",baseline:"top",maxWidth:M.width-te-te}):this.text(M.text,M.x+te,M.y+te,{align:"left",baseline:"top",maxWidth:M.width-te-te})),this.internal.__cell__.lastCell=M,this};n.table=function(M,z,te,Se,Ue){if(u.call(this),!te)throw new Error("No data for PDF table.");var ee,ut,st,dt,ze=[],Wt=[],jt=[],Dt={},Or={},on=[],Vr=[],Ar=(Ue=Ue||{}).autoSize||!1,Rt=Ue.printHeaders!==!1,Tr=Ue.css&&Ue.css["font-size"]!==void 0?16*Ue.css["font-size"]:Ue.fontSize||12,He=Ue.margins||Object.assign({width:this.getPageWidth()},a),gt=typeof Ue.padding=="number"?Ue.padding:3,Zt=Ue.headerBackgroundColor||"#c8c8c8",Gt=Ue.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Rt,this.internal.__cell__.margins=He,this.internal.__cell__.table_font_size=Tr,this.internal.__cell__.padding=gt,this.internal.__cell__.headerBackgroundColor=Zt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Tr),Se==null)Wt=ze=Object.keys(te[0]),jt=ze.map(function(){return"left"});else if(Array.isArray(Se)&&(0,V.Z)(Se[0])==="object")for(ze=Se.map(function(Rn){return Rn.name}),Wt=Se.map(function(Rn){return Rn.prompt||Rn.name||""}),jt=Se.map(function(Rn){return Rn.align||"left"}),ee=0;ee0&&this.setTableHeaderRow(Ue),this.setFont(void 0,"normal"),s=!1}}(hi.API);var qo={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Lu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tl=ya(Lu),jl=[100,200,300,400,500,600,700,800,900],Ic=ya(jl);function IA(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return qo[m=m||"normal"]?m:"normal"}(n.style),u=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Tl[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:u,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,u].join(" ")}}}function zA(n,a,s,u){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function _e(n,a,s){var u=n.length,d=[];d[0]=4;for(var m=0;m>m&O}function zt(n,a,s,u){var d=s*u,m=Math.floor(d/8),O=16-(d-8*m+u),L=(1<>8&255;z.setUint8(te,Ue)}})(n,m,ir(n,m)&~(L<>7,O=1<<1+(7&d);n[a++],n[a++];var L=null,M=null;m&&(L=a,M=O,a+=3*O);var z=!0,te=[],Se=0,Ue=null,ee=0,ut=null;for(this.width=s,this.height=u;z&&a=0))throw Error("Invalid block size");if(He===0)break;a+=He}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var st=n[a++];Se=n[a++]|n[a++]<<8,Ue=n[a++],1&st||(Ue=null),ee=st>>2&7,a++;break;case 254:for(;;){if(!((He=n[a++])>=0))throw Error("Invalid block size");if(He===0)break;a+=He}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var dt=n[a++]|n[a++]<<8,ze=n[a++]|n[a++]<<8,Wt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Dt=n[a++],Or=Dt>>6&1,on=1<<1+(7&Dt),Vr=L,Ar=M,Rt=!1;Dt>>7&&(Rt=!0,Vr=a,Ar=on,a+=3*on);var Tr=a;for(a++;;){var He;if(!((He=n[a++])>=0))throw Error("Invalid block size");if(He===0)break;a+=He}te.push({x:dt,y:ze,width:Wt,height:jt,has_local_palette:Rt,palette_offset:Vr,palette_size:Ar,data_offset:Tr,data_length:a-Tr,transparent_index:Ue,interlaced:!!Or,delay:Se,disposal:ee});break;case 59:z=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return te.length},this.loopCount=function(){return ut},this.frameInfo=function(gt){if(gt<0||gt>=te.length)throw new Error("Frame index out of range.");return te[gt]},this.decodeAndBlitFrameBGRA=function(gt,Zt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,tr=4*Rn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(tr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Zt[Nt++]=Xn,Zt[Nt++]=In,Zt[Nt++]=dn,Zt[Nt++]=255}--wn}},this.decodeAndBlitFrameRGBA=function(gt,Zt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,tr=4*Rn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(tr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Zt[Nt++]=dn,Zt[Nt++]=In,Zt[Nt++]=Xn,Zt[Nt++]=255}--wn}}}function lr(n,a,s,u){for(var d=n[a++],m=1<>=M,te-=M,dt!==m){if(dt===O)break;for(var ze=dtm;)jt=ut[jt]>>8,++Wt;var Dt=jt;if(Ue+Wt+(ze!==dt?1:0)>u)return void va.log("Warning, gif stream longer than expected.");s[Ue++]=Dt;var Or=Ue+=Wt;for(ze!==dt&&(s[Ue++]=Dt),jt=ze;Wt--;)jt=ut[jt],s[--Or]=255&jt,jt>>=8;st!==null&&L<4096&&(ut[L++]=st<<8|Dt,L>=z+1&&M<12&&(++M,z=z<<1|1)),st=dt}else L=O+1,z=(1<<(M=d+1))-1,st=null}return Ue!==u&&va.log("Warning, gif stream shorter than expected."),s}function Rr(n){var a,s,u,d,m,O=Math.floor,L=new Array(64),M=new Array(64),z=new Array(64),te=new Array(64),Se=new Array(65535),Ue=new Array(65535),ee=new Array(64),ut=new Array(64),st=[],dt=0,ze=7,Wt=new Array(64),jt=new Array(64),Dt=new Array(64),Or=new Array(256),on=new Array(2048),Vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Tr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],He=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],gt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Zt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gr(Qe,Tt){for(var Nt=0,tr=0,fr=new Array,Dr=1;Dr<=16;Dr++){for(var Wr=1;Wr<=Qe[Dr];Wr++)fr[Tt[tr]]=[],fr[Tt[tr]][0]=Nt,fr[Tt[tr]][1]=Dr,tr++,Nt++;Nt*=2}return fr}function $r(Qe){for(var Tt=Qe[0],Nt=Qe[1]-1;Nt>=0;)Tt&1<>8&255),Ur(255&Qe)}function Rn(Qe,Tt,Nt,tr,fr){for(var Dr,Wr=fr[0],Xr=fr[240],dn=function(xn,rs){var mi,Yi,Hi,$a,la,Ds,da,Aa,Ci,Ns,Ri=0;for(Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+1],Hi=xn[Ri+2],$a=xn[Ri+3],la=xn[Ri+4],Ds=xn[Ri+5],da=xn[Ri+6];var cl=mi+(Aa=xn[Ri+7]),Ta=mi-Aa,Xs=Yi+da,qs=Yi-da,Oo=Hi+Ds,Gi=Hi-Ds,Bo=$a+la,ls=$a-la,Fs=cl+Bo,No=cl-Bo,ra=Xs+Oo,ns=Xs-Oo;xn[Ri]=Fs+ra,xn[Ri+4]=Fs-ra;var Za=.707106781*(ns+No);xn[Ri+2]=No+Za,xn[Ri+6]=No-Za;var Gf=.382683433*((Fs=ls+Gi)-(ns=qs+Ta)),LA=.5411961*Fs+Gf,j0=1.306562965*ns+Gf,n0=.707106781*(ra=Gi+qs),is=Ta+n0,H0=Ta-n0;xn[Ri+5]=H0+LA,xn[Ri+3]=H0-LA,xn[Ri+1]=is+j0,xn[Ri+7]=is-j0,Ri+=8}for(Ri=0,Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+8],Hi=xn[Ri+16],$a=xn[Ri+24],la=xn[Ri+32],Ds=xn[Ri+40],da=xn[Ri+48];var K0=mi+(Aa=xn[Ri+56]),tc=mi-Aa,rc=Yi+da,ol=Yi-da,nA=Hi+Ds,pA=Hi-Ds,Vf=$a+la,Hh=$a-la,Lc=K0+Vf,i0=K0-Vf,Dc=rc+nA,Fc=rc-nA;xn[Ri]=Lc+Dc,xn[Ri+32]=Lc-Dc;var nc=.707106781*(Fc+i0);xn[Ri+16]=i0+nc,xn[Ri+48]=i0-nc;var Wf=.382683433*((Lc=Hh+pA)-(Fc=ol+tc)),s0=.5411961*Lc+Wf,$f=1.306562965*Fc+Wf,Qd=.707106781*(Dc=pA+ol),jd=tc+Qd,Hd=tc-Qd;xn[Ri+40]=Hd+s0,xn[Ri+24]=Hd-s0,xn[Ri+8]=jd+$f,xn[Ri+56]=jd-$f,Ri++}for(Ci=0;Ci<64;++Ci)Ns=xn[Ci]*rs[Ci],ee[Ci]=Ns>0?Ns+.5|0:Ns-.5|0;return ee}(Qe,Tt),In=0;In<64;++In)ut[Vr[In]]=dn[In];var Xn=ut[0]-Nt;Nt=ut[0],Xn==0?$r(tr[0]):($r(tr[Ue[Dr=32767+Xn]]),$r(Se[Dr]));for(var Yn=63;Yn>0&&ut[Yn]==0;)Yn--;if(Yn==0)return $r(Wr),Nt;for(var Ni,mt=1;mt<=Yn;){for(var qn=mt;ut[mt]==0&&mt<=Yn;)++mt;var Ws=mt-qn;if(Ws>=16){Ni=Ws>>4;for(var ts=1;ts<=Ni;++ts)$r(Xr);Ws&=15}Dr=32767+ut[mt],$r(fr[(Ws<<4)+Ue[Dr]]),$r(Se[Dr]),mt++}return Yn!=63&&$r(Wr),Nt}function wn(Qe){Qe=Math.min(Math.max(Qe,1),100),m!=Qe&&(function(Tt){for(var Nt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=O((Nt[tr]*Tt+50)/100);fr=Math.min(Math.max(fr,1),255),L[Vr[tr]]=fr}for(var Dr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wr=0;Wr<64;Wr++){var Xr=O((Dr[Wr]*Tt+50)/100);Xr=Math.min(Math.max(Xr,1),255),M[Vr[Wr]]=Xr}for(var dn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],In=0,Xn=0;Xn<8;Xn++)for(var Yn=0;Yn<8;Yn++)z[In]=1/(L[Vr[In]]*dn[Xn]*dn[Yn]*8),te[In]=1/(M[Vr[In]]*dn[Xn]*dn[Yn]*8),In++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),m=Qe)}this.encode=function(Qe,Tt){Tt&&wn(Tt),st=new Array,dt=0,ze=7,qr(65496),qr(65504),qr(16),Ur(74),Ur(70),Ur(73),Ur(70),Ur(0),Ur(1),Ur(1),Ur(0),qr(1),qr(1),Ur(0),Ur(0),function(){qr(65499),qr(132),Ur(0);for(var Yi=0;Yi<64;Yi++)Ur(L[Yi]);Ur(1);for(var Hi=0;Hi<64;Hi++)Ur(M[Hi])}(),function(Yi,Hi){qr(65472),qr(17),Ur(8),qr(Hi),qr(Yi),Ur(3),Ur(1),Ur(17),Ur(0),Ur(2),Ur(17),Ur(1),Ur(3),Ur(17),Ur(1)}(Qe.width,Qe.height),function(){qr(65476),qr(418),Ur(0);for(var Yi=0;Yi<16;Yi++)Ur(Ar[Yi+1]);for(var Hi=0;Hi<=11;Hi++)Ur(Rt[Hi]);Ur(16);for(var $a=0;$a<16;$a++)Ur(Tr[$a+1]);for(var la=0;la<=161;la++)Ur(He[la]);Ur(1);for(var Ds=0;Ds<16;Ds++)Ur(gt[Ds+1]);for(var da=0;da<=11;da++)Ur(Zt[da]);Ur(17);for(var Aa=0;Aa<16;Aa++)Ur(Gt[Aa+1]);for(var Ci=0;Ci<=161;Ci++)Ur(Qr[Ci])}(),qr(65498),qr(12),Ur(3),Ur(1),Ur(0),Ur(2),Ur(17),Ur(3),Ur(17),Ur(0),Ur(63),Ur(0);var Nt=0,tr=0,fr=0;dt=0,ze=7,this.encode.displayName="_encode_";for(var Dr,Wr,Xr,dn,In,Xn,Yn,Ni,mt,qn=Qe.data,Ws=Qe.width,ts=Qe.height,xn=4*Ws,rs=0;rs>3)*xn+(Yn=4*(7&mt)),rs+Ni>=ts&&(Xn-=xn*(rs+1+Ni-ts)),Dr+Yn>=xn&&(Xn-=Dr+Yn-xn+4),Wr=qn[Xn++],Xr=qn[Xn++],dn=qn[Xn++],Wt[mt]=(on[Wr]+on[Xr+256|0]+on[dn+512|0]>>16)-128,jt[mt]=(on[Wr+768|0]+on[Xr+1024|0]+on[dn+1280|0]>>16)-128,Dt[mt]=(on[Wr+1280|0]+on[Xr+1536|0]+on[dn+1792|0]>>16)-128;Nt=Rn(Wt,z,Nt,a,u),tr=Rn(jt,te,tr,s,d),fr=Rn(Dt,te,fr,s,d),Dr+=32}rs+=8}if(ze>=0){var mi=[];mi[1]=ze+1,mi[0]=(1<gt;gt++)if(Rt[Tr+gt]!=He.charCodeAt(gt))return!0;return!1}function u(Rt,Tr,He,gt,Zt){for(var Gt=0;GtGt+1?[]:new Tr),!(Qr.length>>0;w&Z;)Z>>>=1;return Z?(w&Z-1)+Z:w}function He(w,T,Z,ue,Le){a(!(ue%Z));do w[T+(ue-=Z)]=Le;while(0=Le),512>=Le)var Ne=m(512);else if((Ne=m(Le))==null)return 0;return function(Me,Xe,it,wt,sr,Pr){var bt,hr,Ir=Xe,an=1<bt;++bt){if(kr[bt]>1<(Ks-=kr[bt]))return 0;for(;0=bt;++bt,sr<<=1){if(fi+=Ks<<=1,0>(Ks-=kr[bt]))return 0;for(;0Sn&&!(0>=(hn-=kr[Sn]));)++Sn,hn<<=1;an+=Ei=1<<(hn=Sn-it),Me[Xe+(Sn=Di&_n)].g=hn+it,Me[Xe+Sn].value=Ir-Xe-Sn}wt.g=bt-it,wt.value=Pr[hr++],He(Me,Ir+(Di>>it),sr,Ei,wt),Di=Tr(Di,bt)}}return fi!=2*An[15]-1?0:an}(w,T,Z,ue,Le,Ne)}function Zt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Qr(){this.G=O(5,Zt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=O(sd,Gt)}function Gr(w,T,Z,ue){a(w!=null),a(T!=null),a(2147483648>ue),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=T,w.pa=Z,w.Jd=T,w.Yc=Z+ue,w.Zc=4<=ue?Z+ue-4+1:Z,Wr(w)}function $r(w,T){for(var Z=0;0ue),w.Sb=ue,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;tr(w)&&(w.h=1,w.u=0)}function wn(w,T){if(a(0<=T),!w.h&&T<=Fu){var Z=Nt(w)&Du[T];return w.u+=T,Rn(w),Z}return w.h=1,w.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Nt(w){return w.Ra>>>(w.u&Vh-1)>>>0}function tr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,T){w.u=T,w.h=tr(w)}function Dr(w){w.u>=eh&&(a(w.u>=eh),Rn(w))}function Wr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Wr(w);var ue=w.b,Le=Z*T>>>8,Ne=(w.I>>>ue>Le)+0;for(Ne?(Z-=Le,w.I-=Le+1<>>0):Z=Le+1,ue=Z,Le=0;256<=ue;)Le+=8,ue>>=8;return ue=7^Le+Wh[ue],w.b-=ue,w.Ca=(Z<>24&255,w[T+1]=Z>>16&255,w[T+2]=Z>>8&255,w[T+3]=255&Z}function Xn(w,T){return w[T+0]|w[T+1]<<8}function Yn(w,T){return Xn(w,T)|w[T+2]<<16}function Ni(w,T){return Xn(w,T)|Xn(w,T+2)<<16}function mt(w,T){var Z=1<=Le||0>=Ne?0:(Z[0]=Le,ue[0]=Ne,1)}function xn(w,T){return w+(1<>>T}function rs(w,T){return((4278255360&w)+(4278255360&T)>>>0&4278255360)+((16711935&w)+(16711935&T)>>>0&16711935)>>>0}function mi(w,T){Rt[T]=function(Z,ue,Le,Ne,Me,Xe,it){var wt;for(wt=0;wt>>1)+(w&T)>>>0}function $a(w){return 0<=w&&256>w?w:0>w?0:255>1))}function Ds(w,T,Z){return Math.abs(T-Z)-Math.abs(w-Z)}function da(w,T,Z,ue,Le,Ne,Me){for(ue=Ne[Me-1],Z=0;Z>8&255,it=16711935&(it=(it=16711935&Me)+((Xe<<16)+Xe));ue[Le+Ne]=(4278255360&Me)+it>>>0}}function Ci(w,T){T.jd=255&w,T.hd=w>>8&255,T.ud=w>>16&255}function Ns(w,T,Z,ue,Le,Ne){var Me;for(Me=0;Me>>8,wt=Xe,sr=255&(sr=(sr=Xe>>>16)+((w.jd<<24>>24)*(it<<24>>24)>>>5));wt=255&(wt=(wt+=(w.hd<<24>>24)*(it<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Le[Ne+Me]=(4278255360&Xe)+(sr<<16)+wt}}function Ri(w,T,Z,ue,Le){Rt[T]=function(Ne,Me,Xe,it,wt,sr,Pr,bt,hr){for(it=Pr;it>Ne.b,hr=Ne.Ea,Ir=Ne.K[0],an=Ne.w;if(8>bt)for(Ne=(1<>=bt}else Rt["VP8LMapColor"+Z](it,wt,Ir,an,sr,Pr,Me,Xe,hr)}}function cl(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne}}function Ta(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne,ue[Le++]=Ne>>24&255}}function Xs(w,T,Z,ue,Le){for(Z=T+Z;T>16&240|Me>>12&15,Me=240&Me|Me>>28&15;ue[Le++]=Ne,ue[Le++]=Me}}function qs(w,T,Z,ue,Le){for(Z=T+Z;T>16&248|Me>>13&7,Me=Me>>5&224|Me>>3&31;ue[Le++]=Ne,ue[Le++]=Me}}function Oo(w,T,Z,ue,Le){for(Z=T+Z;T>8&255,ue[Le++]=Ne>>16&255}}function Gi(w,T,Z,ue,Le,Ne){if(Ne==0)for(Z=T+Z;T>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Le+=32;else u(ue,Le,w,T,Z)}function Bo(w,T){Rt[T][0]=Rt[w+"0"],Rt[T][1]=Rt[w+"1"],Rt[T][2]=Rt[w+"2"],Rt[T][3]=Rt[w+"3"],Rt[T][4]=Rt[w+"4"],Rt[T][5]=Rt[w+"5"],Rt[T][6]=Rt[w+"6"],Rt[T][7]=Rt[w+"7"],Rt[T][8]=Rt[w+"8"],Rt[T][9]=Rt[w+"9"],Rt[T][10]=Rt[w+"10"],Rt[T][11]=Rt[w+"11"],Rt[T][12]=Rt[w+"12"],Rt[T][13]=Rt[w+"13"],Rt[T][14]=Rt[w+"0"],Rt[T][15]=Rt[w+"0"]}function ls(w){return w==q1||w==J1||w==E1||w==eg}function Fs(){this.eb=[],this.size=this.A=this.fb=0}function No(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ra(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Fs,this.f.kb=new No,this.sd=null}function ns(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Za(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function LA(w,T){var Z=w.T,ue=T.ba.f.RGBA,Le=ue.eb,Ne=ue.fb+w.ka*ue.A,Me=Ac[T.ba.S],Xe=w.y,it=w.O,wt=w.f,sr=w.N,Pr=w.ea,bt=w.W,hr=T.cc,Ir=T.dc,an=T.Mc,kr=T.Nc,An=w.ka,hn=w.ka+w.T,Sn=w.U,_n=Sn+1>>1;for(An==0?Me(Xe,it,null,null,wt,sr,Pr,bt,wt,sr,Pr,bt,Le,Ne,null,null,Sn):(Me(T.ec,T.fc,Xe,it,hr,Ir,an,kr,wt,sr,Pr,bt,Le,Ne-ue.A,Le,Ne,Sn),++Z);An+2Z,Le=Z==w1||Z==b1||Z==_1||Z==X1||Z==12||ls(Z);if(T.memory=null,T.Ib=null,T.Jb=null,T.Nd=null,!Up(T.Oa,w,Le?11:12))return 0;if(Le&&ls(Z)&&Fp(),w.da)alert("todo:use_scaling");else{if(ue){if(T.Ib=Gf,w.Kb){if(Z=w.U+1>>1,T.memory=m(w.U+2*Z),T.memory==null)return 0;T.ec=T.memory,T.fc=0,T.cc=T.ec,T.dc=T.fc+w.U,T.Mc=T.cc,T.Nc=T.dc+Z,T.Ib=LA,Fp()}}else alert("todo:EmitYUV");Le&&(T.Jb=j0,ue&&kc())}if(ue&&!Ng){for(w=0;256>w;++w)wm[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,_m[w]=-45773*(w-128),bm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=a0(T,255),xm[w-Gp]=a0(T+8>>4,15);Ng=1}return 1}function is(w){var T=w.ma,Z=w.U,ue=w.T;return a(!(1&w.ka)),0>=Z||0>=ue?0:(Z=T.Ib(w,T),T.Jb!=null&&T.Jb(w,T,Z),T.Dc+=Z,1)}function H0(w){w.ma.memory=null}function K0(w,T,Z,ue){return wn(w,8)!=47?0:(T[0]=wn(w,14)+1,Z[0]=wn(w,14)+1,ue[0]=wn(w,1),wn(w,3)!=0?0:!w.h)}function tc(w,T){if(4>w)return w+1;var Z=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&Z)))?Z:1;var Z}function ol(w,T,Z){var ue=Nt(Z),Le=w[T+=255&ue].g-8;return 0>>0,a(8>=Z.g),w.g}function pA(w,T,Z){var ue=w.xc;return a((T=ue==0?0:w.vc[w.md*(Z>>ue)+(T>>ue)])>Ei.b)*fi;anSn&&(Bi=Sn),(0,Mp[pa[Wl++]>>8&15])(bt,hr+ +zs,An,hn+zs-Sn,Bi-zs,An,hn+zs),zs=Bi}hr+=Sn,hn+=Sn,++an&Di||(Ei+=fi)}Pr!=wt.nc&&u(it,Xe-Ir,it,Xe+(Pr-sr-1)*Ir,Ir);break;case 1:for(Ir=bt,kr=hr,Sn=(bt=wt.Ea)-(hn=bt&~(An=(hr=1<>wt.b)*an;sr=Le),0Ne.o&&(ue=Ne.o),Z=ue?Z=0:(Le[0]+=4*Ne.v,Ne.ka=Z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=ue-Z,Z=1),Z){if(Xe=Xe[0],11>(Z=w.ca).S){var sr=Z.f.RGBA,Pr=(ue=Z.S,Le=Ne.U,Ne=Ne.T,wt=sr.eb,sr.A),bt=Ne;for(sr=sr.fb+w.Ma*sr.A;0ue){var Le=w.l.width,Ne=Z.ca,Me=Z.tb+Le*ue,Xe=w.V,it=w.Ba+w.c*ue,wt=w.gc;a(w.ab==1),a(wt[0].hc==3),u0(wt[0],ue,T,Xe,it,Ne,Me),i0(Z,ue,T,Ne,Me,Le)}w.C=w.Ma=T}function Fc(w,T,Z,ue,Le,Ne,Me){var Xe=w.$/ue,it=w.$%ue,wt=w.m,sr=w.s,Pr=Z+w.$,bt=Pr;Le=Z+ue*Le;var hr=Z+ue*Ne,Ir=280+sr.ua,an=w.Pb?Xe:16777216,kr=0=an){var Di=Pr-Z;a((an=w).Pb),an.wd=an.m,an.xd=Di,0Ks.g?(fr(_n,_n.u+Ks.g),Di[fi]=Ks.value,_n=0):(fr(_n,_n.u+Ks.g-256),a(256<=Ks.value),_n=Ks.value),_n==0&&(Sn=!0)}else _n=ol(hn.G[0],hn.H[0],wt);if(wt.h)break;if(Sn||256>_n){if(!Sn)if(hn.nd)T[Pr]=(hn.qb|_n<<8)>>>0;else{if(Dr(wt),Sn=ol(hn.G[1],hn.H[1],wt),Dr(wt),Di=ol(hn.G[2],hn.H[2],wt),fi=ol(hn.G[3],hn.H[3],wt),wt.h)break;T[Pr]=(fi<<24|Sn<<16|_n<<8|Di)>>>0}if(Sn=!1,++Pr,++it>=ue&&(it=0,++Xe,Me!=null&&Xe<=Ne&&!(Xe%16)&&Me(w,Xe),kr!=null))for(;bt>>kr.Mb]=_n}else if(280>_n){if(_n=tc(_n-256,wt),Di=ol(hn.G[4],hn.H[4],wt),Dr(wt),Di=rc(ue,Di=tc(Di,wt)),wt.h)break;if(Pr-Z=ue;)it-=ue,++Xe,Me!=null&&Xe<=Ne&&!(Xe%16)&&Me(w,Xe);if(a(Pr<=Le),it&An&&(hn=pA(sr,it,Xe)),kr!=null)for(;bt>>kr.Mb]=_n}else{if(!(_n>>kr.Mb]=_n;_n=Pr,a(!(Sn>>>(Di=kr).Xa)),T[_n]=Di.X[Sn],Sn=!0}Sn||a(wt.h==tr(wt))}if(w.Pb&&wt.h&&PrNe?Ne:Xe),w.a=0,w.$=Pr-Z}return 1}return w.a=3,0}function nc(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var T=w.Wa;T!=null&&(T.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Es;return w==null?null:(w.a=0,w.xb=Fg,Bo("Predictor","VP8LPredictors"),Bo("Predictor","VP8LPredictors_C"),Bo("PredictorAdd","VP8LPredictorsAdd"),Bo("PredictorAdd","VP8LPredictorsAdd_C"),hl=Aa,Qp=Ns,jp=cl,$h=Ta,Zh=Xs,Yh=qs,ad=Oo,Rt.VP8LMapColor32b=A0,Rt.VP8LMapColor8b=Np,w)}function s0(w,T,Z,ue,Le){var Ne=1,Me=[w],Xe=[T],it=ue.m,wt=ue.s,sr=null,Pr=0;e:for(;;){if(Z)for(;Ne&&wn(it,1);){var bt=Me,hr=Xe,Ir=ue,an=1,kr=Ir.m,An=Ir.gc[Ir.ab],hn=wn(kr,2);if(Ir.Oc&1<=Ir.ab),hn){case 0:case 1:An.b=wn(kr,3)+2,an=s0(xn(An.Ea,An.b),xn(An.nc,An.b),0,Ir,An.K),An.K=An.K[0];break;case 3:var Sn,_n=wn(kr,8)+1,Di=16<_n?0:4<_n?1:2<_n?2:3;if(bt[0]=xn(An.Ea,Di),An.b=Di,Sn=an=s0(_n,1,0,Ir,An.K)){var fi,Ks=_n,Ei=An,pa=1<<(8>>Ei.b),Wl=m(pa);if(Wl==null)Sn=0;else{var zs=Ei.K[0],Bi=Ei.w;for(Wl[0]=Ei.K[0][0],fi=1;fi<1*Ks;++fi)Wl[fi]=rs(zs[Bi+fi],Wl[fi-1]);for(;fi<4*pa;++fi)Wl[fi]=0;Ei.K[0]=null,Ei.K[0]=Wl,Sn=1}}an=Sn;break;case 2:break;default:a(0)}Ne=an}}if(Me=Me[0],Xe=Xe[0],Ne&&wn(it,1)&&!(Ne=1<=(Pr=wn(it,4))&&11>=Pr)){ue.a=3;break e}var Kn;if(Kn=Ne)t:{var dl,Rs,wa,Fo=ue,vA=Me,VA=Xe,ll=Pr,DA=Z,WA=Fo.m,$l=Fo.s,La=[null],eo=1,Al=0,to=om[ll];r:for(;;){if(DA&&wn(WA,1)){var yA=wn(WA,3)+2,Pc=xn(vA,yA),pl=xn(VA,yA),hu=Pc*pl;if(!s0(Pc,pl,0,Fo,La))break r;for(La=La[0],$l.xc=yA,dl=0;dl>8&65535;La[dl]=mo,mo>=eo&&(eo=mo+1)}}if(WA.h)break r;for(Rs=0;5>Rs;++Rs){var Zl=Lg[Rs];!Rs&&0=$A),Pu=Uu;var fu=m(Al);if(Pu==null||fu==null||ku==null){Fo.a=1;break r}var Ou=ku;for(dl=wa=0;dlRs;++Rs){Zl=Lg[Rs],Nu[Rs]=Ou,Oc[Rs]=wa,!Rs&&0D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Um=qd==16,Zg=qd-16,Pm=nm[Zg],Yg=wn(tf,rm[Zg])+Pm;if(Wp+Yg>D1)break n;for(var Om=Um?Vg:0;0=Rs){var $p,lg=fu[0];for($p=1;$plg&&(lg=fu[$p]);wA+=lg}}if(Co.nd=nh,Co.Qb=0,nh&&(Co.qb=(Nu[3][Oc[3]+0].value<<24|Nu[1][Oc[1]+0].value<<16|Nu[2][Oc[2]+0].value)>>>0,ld==0&&256>Nu[0][Oc[0]+0].value&&(Co.Qb=1,Co.qb+=Nu[0][Oc[0]+0].value<<8)),Co.jc=!Co.Qb&&6>wA,Co.jc){var F1,ih=Co;for(F1=0;F1>=nA(R1,8,nf),rf>>=nA(ih.G[1][ih.H[1]+rf],16,nf),rf>>=nA(ih.G[2][ih.H[2]+rf],0,nf),nA(ih.G[3][ih.H[3]+rf],24,nf))}}}$l.vc=La,$l.Wb=eo,$l.Ya=Pu,$l.yc=ku,Kn=1;break t}Kn=0}if(!(Ne=Kn)){ue.a=3;break e}if(0ue+1?[]:0),!(Le.lengthw?0:w>T?T:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Il(w,T,Z){return w.a==0&&(w.a=T,w.sc=Z,w.cb=0),0}function i1(w,T,Z){return 3<=Z&&w[T+0]==157&&w[T+1]==1&&w[T+2]==42}function o0(w,T){if(w==null)return 0;if(w.a=0,w.sc="OK",T==null)return Il(w,2,"null VP8Io passed to VP8GetHeaders()");var Z=T.data,ue=T.w,Le=T.ha;if(4>Le)return Il(w,7,"Truncated header.");var Ne=Z[ue+0]|Z[ue+1]<<8|Z[ue+2]<<16,Me=w.Od;if(Me.Rb=!(1&Ne),Me.td=Ne>>1&7,Me.yd=Ne>>4&1,Me.ub=Ne>>5,3Le)return Il(w,7,"cannot parse picture header");if(!i1(Z,ue,Le))return Il(w,3,"Bad code word");Xe.c=16383&(Z[ue+4]<<8|Z[ue+3]),Xe.Td=Z[ue+4]>>6,Xe.i=16383&(Z[ue+6]<<8|Z[ue+5]),Xe.Ud=Z[ue+6]>>6,ue+=7,Le-=7,w.za=Xe.c+15>>4,w.Ub=Xe.i+15>>4,T.width=Xe.c,T.height=Xe.i,T.Da=0,T.j=0,T.v=0,T.va=T.width,T.o=T.height,T.da=0,T.ib=T.width,T.hb=T.height,T.U=T.width,T.T=T.height,d((Ne=w.Pa).jb,0,255,Ne.jb.length),a((Ne=w.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,d(Ne.Zb,0,0,Ne.Zb.length),d(Ne.Lb,0,0,Ne.Lb)}if(Me.ub>Le)return Il(w,7,"bad partition length");Gr(Ne=w.m,Z,ue,Me.ub),ue+=Me.ub,Le-=Me.ub,Me.Rb&&(Xe.Ld=Xr(Ne),Xe.Kd=Xr(Ne)),Xe=w.Qa;var it,wt=w.Pa;if(a(Ne!=null),a(Xe!=null),Xe.Cb=Xr(Ne),Xe.Cb){if(Xe.Bb=Xr(Ne),Xr(Ne)){for(Xe.Fb=Xr(Ne),it=0;4>it;++it)Xe.Zb[it]=Xr(Ne)?Ur(Ne,7):0;for(it=0;4>it;++it)Xe.Lb[it]=Xr(Ne)?Ur(Ne,6):0}if(Xe.Bb)for(it=0;3>it;++it)wt.jb[it]=Xr(Ne)?$r(Ne,8):255}else Xe.Bb=0;if(Ne.Ka)return Il(w,3,"cannot parse segment header");if((Xe=w.ed).zd=Xr(Ne),Xe.Tb=$r(Ne,6),Xe.wb=$r(Ne,3),Xe.Pc=Xr(Ne),Xe.Pc&&Xr(Ne)){for(wt=0;4>wt;++wt)Xr(Ne)&&(Xe.vd[wt]=Ur(Ne,6));for(wt=0;4>wt;++wt)Xr(Ne)&&(Xe.od[wt]=Ur(Ne,6))}if(w.L=Xe.Tb==0?0:Xe.zd?1:2,Ne.Ka)return Il(w,3,"cannot parse filter header");var sr=Le;if(Le=it=ue,ue=it+sr,Xe=sr,w.Xb=(1<<$r(w.m,2))-1,sr<3*(wt=w.Xb))Z=7;else{for(it+=3*wt,Xe-=3*wt,sr=0;srXe&&(Pr=Xe),Gr(w.Jc[+sr],Z,it,Pr),it+=Pr,Xe-=Pr,Le+=3}Gr(w.Jc[+wt],Z,it,Xe),Z=itPr;++Pr){if(sr.Cb){var bt=sr.Zb[Pr];sr.Fb||(bt+=Z)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[a0(bt+wt,117)],hr.Qc[1]=rg[a0(bt+it,127)],hr.lc=bt+it}if(!Me.Rb)return Il(w,4,"Not a key frame.");for(Xr(Ne),Me=w.Pa,Z=0;4>Z;++Z){for(Le=0;8>Le;++Le)for(ue=0;3>ue;++ue)for(Xe=0;11>Xe;++Xe)wt=dn(Ne,fm[Z][Le][ue][Xe])?$r(Ne,8):cm[Z][Le][ue][Xe],Me.Wc[Z][Le].Yb[ue][Xe]=wt;for(Le=0;17>Le;++Le)Me.Xc[Z][Le]=Me.Wc[Z][dm[Le]]}return w.kc=Xr(Ne),w.kc&&(w.Bd=$r(Ne,8)),w.cb=1}function zd(w,T,Z,ue,Le,Ne,Me){var Xe=T[Le].Yb[Z];for(Z=0;16>Le;++Le){if(!dn(w,Xe[Z+0]))return Le;for(;!dn(w,Xe[Z+1]);)if(Xe=T[++Le].Yb[0],Z=0,Le==16)return 16;var it=T[Le+1].Yb;if(dn(w,Xe[Z+2])){var wt=w,sr=0;if(dn(wt,(bt=Xe)[(Pr=Z)+3]))if(dn(wt,bt[Pr+6])){for(Xe=0,Pr=2*(sr=dn(wt,bt[Pr+8]))+(bt=dn(wt,bt[Pr+9+sr])),sr=0,bt=Am[Pr];bt[Xe];++Xe)sr+=sr+dn(wt,bt[Xe]);sr+=3+(8<(wt=w).b&&Wr(wt);var Pr,bt=wt.b,hr=(Pr=wt.Ca>>1)-(wt.I>>bt)>>31;--wt.b,wt.Ca+=hr,wt.Ca|=1,wt.I-=(Pr+1&hr)<>3),w[T+Z+32*ue]=-256&Le?0>Le?0:255:Le}function zl(w,T,Z,ue,Le,Ne){sc(w,T,0,Z,ue+Le),sc(w,T,1,Z,ue+Ne),sc(w,T,2,Z,ue-Ne),sc(w,T,3,Z,ue-Le)}function z0(w){return(20091*w>>16)+w}function a1(w,T,Z,ue){var Le,Ne=0,Me=m(16);for(Le=0;4>Le;++Le){var Xe=w[T+0]+w[T+8],it=w[T+0]-w[T+8],wt=(35468*w[T+4]>>16)-z0(w[T+12]),sr=z0(w[T+4])+(35468*w[T+12]>>16);Me[Ne+0]=Xe+sr,Me[Ne+1]=it+wt,Me[Ne+2]=it-wt,Me[Ne+3]=Xe-sr,Ne+=4,T++}for(Le=Ne=0;4>Le;++Le)Xe=(w=Me[Ne+0]+4)+Me[Ne+8],it=w-Me[Ne+8],wt=(35468*Me[Ne+4]>>16)-z0(Me[Ne+12]),sc(Z,ue,0,0,Xe+(sr=z0(Me[Ne+4])+(35468*Me[Ne+12]>>16))),sc(Z,ue,1,0,it+wt),sc(Z,ue,2,0,it-wt),sc(Z,ue,3,0,Xe-sr),Ne++,ue+=32}function P1(w,T,Z,ue){var Le=w[T+0]+4,Ne=35468*w[T+4]>>16,Me=z0(w[T+4]),Xe=35468*w[T+1]>>16;zl(Z,ue,0,Le+Me,w=z0(w[T+1]),Xe),zl(Z,ue,1,Le+Ne,w,Xe),zl(Z,ue,2,Le-Ne,w,Xe),zl(Z,ue,3,Le-Me,w,Xe)}function O1(w,T,Z,ue,Le){a1(w,T,Z,ue),Le&&a1(w,T+16,Z,ue+4)}function l0(w,T,Z,ue){od(w,T+0,Z,ue,1),od(w,T+32,Z,ue+128,1)}function o1(w,T,Z,ue){var Le;for(w=w[T+0]+4,Le=0;4>Le;++Le)for(T=0;4>T;++T)sc(Z,ue,T,Le,w)}function l1(w,T,Z,ue){w[T+0]&&Ya(w,T+0,Z,ue),w[T+16]&&Ya(w,T+16,Z,ue+4),w[T+32]&&Ya(w,T+32,Z,ue+128),w[T+48]&&Ya(w,T+48,Z,ue+128+4)}function Gd(w,T,Z,ue){var Le,Ne=m(16);for(Le=0;4>Le;++Le){var Me=w[T+0+Le]+w[T+12+Le],Xe=w[T+4+Le]+w[T+8+Le],it=w[T+4+Le]-w[T+8+Le],wt=w[T+0+Le]-w[T+12+Le];Ne[0+Le]=Me+Xe,Ne[8+Le]=Me-Xe,Ne[4+Le]=wt+it,Ne[12+Le]=wt-it}for(Le=0;4>Le;++Le)Me=(w=Ne[0+4*Le]+3)+Ne[3+4*Le],Xe=Ne[1+4*Le]+Ne[2+4*Le],it=Ne[1+4*Le]-Ne[2+4*Le],wt=w-Ne[3+4*Le],Z[ue+0]=Me+Xe>>3,Z[ue+16]=wt+it>>3,Z[ue+32]=Me-Xe>>3,Z[ue+48]=wt-it>>3,ue+=64}function Zf(w,T,Z){var ue,Le=T-32,Ne=Ru,Me=255-w[Le-1];for(ue=0;ueZ;++Z)u(w,T+32*Z,w,T-32,16)}function A1(w,T){var Z;for(Z=16;0ue;++ue)d(T,Z+32*ue,w,16)}function j1(w,T){var Z,ue=16;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z]+w[T+Z-32];Rc(ue>>5,w,T)}function Yf(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z];Rc(ue>>4,w,T)}function xp(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T+Z-32];Rc(ue>>4,w,T)}function H1(w,T){Rc(128,w,T)}function Ss(w,T,Z){return w+2*T+Z+2>>2}function K1(w,T){var Z,ue=T-32;for(ue=new Uint8Array([Ss(w[ue-1],w[ue+0],w[ue+1]),Ss(w[ue+0],w[ue+1],w[ue+2]),Ss(w[ue+1],w[ue+2],w[ue+3]),Ss(w[ue+2],w[ue+3],w[ue+4])]),Z=0;4>Z;++Z)u(w,T+32*Z,ue,0,ue.length)}function z1(w,T){var Z=w[T-1],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];In(w,T+0,16843009*Ss(w[T-1-32],Z,ue)),In(w,T+32,16843009*Ss(Z,ue,Le)),In(w,T+64,16843009*Ss(ue,Le,Ne)),In(w,T+96,16843009*Ss(Le,Ne,Ne))}function G1(w,T){var Z,ue=4;for(Z=0;4>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];for(ue>>=3,Z=0;4>Z;++Z)d(w,T+32*Z,ue,4)}function G0(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Xe=w[T+1-32],it=w[T+2-32],wt=w[T+3-32];w[T+0+96]=Ss(ue,Le,w[T-1+96]),w[T+1+96]=w[T+0+64]=Ss(Z,ue,Le),w[T+2+96]=w[T+1+64]=w[T+0+32]=Ss(Ne,Z,ue),w[T+3+96]=w[T+2+64]=w[T+1+32]=w[T+0+0]=Ss(Me,Ne,Z),w[T+3+64]=w[T+2+32]=w[T+1+0]=Ss(Xe,Me,Ne),w[T+3+32]=w[T+2+0]=Ss(it,Xe,Me),w[T+3+0]=Ss(wt,it,Xe)}function V0(w,T){var Z=w[T+1-32],ue=w[T+2-32],Le=w[T+3-32],Ne=w[T+4-32],Me=w[T+5-32],Xe=w[T+6-32],it=w[T+7-32];w[T+0+0]=Ss(w[T+0-32],Z,ue),w[T+1+0]=w[T+0+32]=Ss(Z,ue,Le),w[T+2+0]=w[T+1+32]=w[T+0+64]=Ss(ue,Le,Ne),w[T+3+0]=w[T+2+32]=w[T+1+64]=w[T+0+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+64]=w[T+1+96]=Ss(Ne,Me,Xe),w[T+3+64]=w[T+2+96]=Ss(Me,Xe,it),w[T+3+96]=Ss(Xe,it,it)}function V1(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Xe=w[T+1-32],it=w[T+2-32],wt=w[T+3-32];w[T+0+0]=w[T+1+64]=Ne+Me+1>>1,w[T+1+0]=w[T+2+64]=Me+Xe+1>>1,w[T+2+0]=w[T+3+64]=Xe+it+1>>1,w[T+3+0]=it+wt+1>>1,w[T+0+96]=Ss(Le,ue,Z),w[T+0+64]=Ss(ue,Z,Ne),w[T+0+32]=w[T+1+96]=Ss(Z,Ne,Me),w[T+1+32]=w[T+2+96]=Ss(Ne,Me,Xe),w[T+2+32]=w[T+3+96]=Ss(Me,Xe,it),w[T+3+32]=Ss(Xe,it,wt)}function W1(w,T){var Z=w[T+0-32],ue=w[T+1-32],Le=w[T+2-32],Ne=w[T+3-32],Me=w[T+4-32],Xe=w[T+5-32],it=w[T+6-32],wt=w[T+7-32];w[T+0+0]=Z+ue+1>>1,w[T+1+0]=w[T+0+64]=ue+Le+1>>1,w[T+2+0]=w[T+1+64]=Le+Ne+1>>1,w[T+3+0]=w[T+2+64]=Ne+Me+1>>1,w[T+0+32]=Ss(Z,ue,Le),w[T+1+32]=w[T+0+96]=Ss(ue,Le,Ne),w[T+2+32]=w[T+1+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+96]=Ss(Ne,Me,Xe),w[T+3+64]=Ss(Me,Xe,it),w[T+3+96]=Ss(Xe,it,wt)}function Vd(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];w[T+0+0]=Z+ue+1>>1,w[T+2+0]=w[T+0+32]=ue+Le+1>>1,w[T+2+32]=w[T+0+64]=Le+Ne+1>>1,w[T+1+0]=Ss(Z,ue,Le),w[T+3+0]=w[T+1+32]=Ss(ue,Le,Ne),w[T+3+32]=w[T+1+64]=Ss(Le,Ne,Ne),w[T+3+64]=w[T+2+64]=w[T+0+96]=w[T+1+96]=w[T+2+96]=w[T+3+96]=Ne}function Cp(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96],Me=w[T-1-32],Xe=w[T+0-32],it=w[T+1-32],wt=w[T+2-32];w[T+0+0]=w[T+2+32]=Z+Me+1>>1,w[T+0+32]=w[T+2+64]=ue+Z+1>>1,w[T+0+64]=w[T+2+96]=Le+ue+1>>1,w[T+0+96]=Ne+Le+1>>1,w[T+3+0]=Ss(Xe,it,wt),w[T+2+0]=Ss(Me,Xe,it),w[T+1+0]=w[T+3+32]=Ss(Z,Me,Xe),w[T+1+32]=w[T+3+64]=Ss(ue,Z,Me),w[T+1+64]=w[T+3+96]=Ss(Le,ue,Z),w[T+1+96]=Ss(Ne,Le,ue)}function Xf(w,T){var Z;for(Z=0;8>Z;++Z)u(w,T+32*Z,w,T-32,8)}function $1(w,T){var Z;for(Z=0;8>Z;++Z)d(w,T,w[T-1],8),T+=32}function W0(w,T,Z){var ue;for(ue=0;8>ue;++ue)d(T,Z+32*ue,w,8)}function Z1(w,T){var Z,ue=8;for(Z=0;8>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];W0(ue>>4,w,T)}function Sp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T+Z-32];W0(ue>>3,w,T)}function Tp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T-1+32*Z];W0(ue>>3,w,T)}function u1(w,T){W0(128,w,T)}function $0(w,T,Z){var ue=w[T-Z],Le=w[T+0],Ne=3*(Le-ue)+Y1[1020+w[T-2*Z]-w[T+Z]],Me=v1[112+(Ne+4>>3)];w[T-Z]=Ru[255+ue+v1[112+(Ne+3>>3)]],w[T+0]=Ru[255+Le-Me]}function Ip(w,T,Z,ue){var Le=w[T+0],Ne=w[T+Z];return lc[255+w[T-2*Z]-w[T-Z]]>ue||lc[255+Ne-Le]>ue}function Wd(w,T,Z,ue){return 4*lc[255+w[T-Z]-w[T+0]]+lc[255+w[T-2*Z]-w[T+Z]]<=ue}function Lp(w,T,Z,ue,Le){var Ne=w[T-3*Z],Me=w[T-2*Z],Xe=w[T-Z],it=w[T+0],wt=w[T+Z],sr=w[T+2*Z],Pr=w[T+3*Z];return 4*lc[255+Xe-it]+lc[255+Me-wt]>ue?0:lc[255+w[T-4*Z]-Ne]<=Le&&lc[255+Ne-Me]<=Le&&lc[255+Me-Xe]<=Le&&lc[255+Pr-sr]<=Le&&lc[255+sr-wt]<=Le&&lc[255+wt-it]<=Le}function qf(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue,Z,Le)&&$0(w,T+ue,Z)}function Dp(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue*Z,1,Le)&&$0(w,T+ue*Z,1)}function c1(w,T,Z,ue){var Le;for(Le=3;0>7,An=18*hn+63>>7,hn=9*hn+63>>7;it[wt-3*sr]=Ru[255+it[wt-3*sr]+hn],it[wt-2*sr]=Ru[255+Pr+An],it[wt-sr]=Ru[255+bt+kr],it[wt+0]=Ru[255+hr-kr],it[wt+sr]=Ru[255+Ir-An],it[wt+2*sr]=Ru[255+an-hn]}T+=ue}}function Y0(w,T,Z,ue,Le,Ne,Me,Xe){for(Ne=2*Ne+1;0>3)],an=v1[112+(an+3>>3)],kr=Ir+1>>1;it[wt-2*sr]=Ru[255+it[wt-2*sr]+kr],it[wt-sr]=Ru[255+Pr+an],it[wt+0]=Ru[255+bt-Ir],it[wt+sr]=Ru[255+hr-kr]}T+=ue}}function f1(w,T,Z,ue,Le,Ne){Z0(w,T,Z,1,16,ue,Le,Ne)}function Jf(w,T,Z,ue,Le,Ne){Z0(w,T,1,Z,16,ue,Le,Ne)}function d1(w,T,Z,ue,Le,Ne){var Me;for(Me=3;0wt?0:255:wt)&255,wt=it,Le[Ne+Xe]=sr}}function xo(w,T,Z,ue){var Le=T.width,Ne=T.o;if(a(w!=null&&T!=null),0>Z||0>=ue||Z+ue>Ne)return null;if(!w.Cc){if(w.ga==null){var Me;if(w.ga=new Ms,(Me=w.ga==null)||(Me=T.width*T.o,a(w.Gb.length==0),w.Gb=m(Me),w.Uc=0,w.Gb==null?Me=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Me=1),Me=!Me),!Me){Me=w.ga;var Xe=w.Fa,it=w.P,wt=w.qc,sr=w.mb,Pr=w.nb,bt=it+1,hr=wt-1,Ir=Me.l;if(a(Xe!=null&&sr!=null&&T!=null),Jh[0]=null,Jh[1]=Ia,Jh[2]=Jo,Jh[3]=Ll,Me.ca=sr,Me.tb=Pr,Me.c=T.width,Me.i=T.height,a(0=wt)T=0;else if(Me.$a=3&Xe[it+0],Me.Z=Xe[it+0]>>2&3,Me.Lc=Xe[it+0]>>4&3,it=Xe[it+0]>>6&3,0>Me.$a||1=Me.c*Me.i;Me=!T}if(Me)return null;w.ga.Lc!=1?w.Ga=0:ue=Ne-Z}a(w.ga!=null),a(Z+ue<=Ne);e:{if(T=(Xe=w.ga).c,Ne=Xe.l.o,Xe.$a==0){if(bt=w.rc,hr=w.Vc,Ir=w.Fa,it=w.P+1+Z*T,wt=w.mb,sr=w.nb+Z*T,a(it<=w.P+w.qc),Xe.Z!=0)for(a(Jh[Xe.Z]!=null),Me=0;Me=T)T=1;else if(Xe.ic||kc(),Xe.ic){Xe=Me.V,bt=Me.Ba,hr=Me.c;var an=Me.i,kr=(Ir=1,it=Me.$/hr,wt=Me.$%hr,sr=Me.m,Pr=Me.s,Me.$),An=hr*an,hn=hr*T,Sn=Pr.wc,_n=kr(an=ol(_n.G[0],_n.H[0],sr)))Xe[bt+kr]=an,++kr,++wt>=hr&&(wt=0,++it<=T&&!(it%16)&&Dc(Me,it));else{if(!(280>an)){Ir=0;break t}an=tc(an-256,sr);var Di,fi=ol(_n.G[4],_n.H[4],sr);if(Dr(sr),!(kr>=(fi=rc(hr,fi=tc(fi,sr)))&&An-kr>=an)){Ir=0;break t}for(Di=0;Di=hr;)wt-=hr,++it<=T&&!(it%16)&&Dc(Me,it);krT?T:it);break t}!Ir||sr.h&&kr=Ne&&(w.Cc=1),ue=1}if(!ue)return null;if(w.Cc&&((ue=w.ga)!=null&&(ue.mc=null),w.ga=null,0>23,Xe[it+4*Me+1]=Xe[it+4*Me+1]*Pr>>23,Xe[it+4*Me+2]=Xe[it+4*Me+2]*Pr>>23)}T+=Ne}}function Dl(w,T,Z,ue,Le){for(;0>4)*it>>16;w[T+2*Ne+0]=(240&Me|Me>>4)*it>>16&240|(15&Me|Me<<4)*it>>16>>4&15,w[T+2*Ne+1]=240&wt|Xe}T+=Le}}function gA(w,T,Z,ue,Le,Ne,Me,Xe){var it,wt,sr=255;for(wt=0;wt>8}function kc(){Kp=Gl,wg=Dl,bg=gA,_g=X0}function q0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Xe,it,wt,sr,Pr,bt,hr,Ir,an,kr,An,hn,Sn){var _n,Di=Sn-1>>1,fi=Xe[it+0]|wt[sr+0]<<16,Ks=Pr[bt+0]|hr[Ir+0]<<16;a(ue!=null);var Ei=3*fi+Ks+131074>>2;for(T(ue[Le+0],255&Ei,Ei>>16,an,kr),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+0],255&Ei,Ei>>16,An,hn)),_n=1;_n<=Di;++_n){var pa=Xe[it+_n]|wt[sr+_n]<<16,Wl=Pr[bt+_n]|hr[Ir+_n]<<16,zs=fi+pa+Ks+Wl+524296,Bi=zs+2*(pa+Ks)>>3;Ei=Bi+fi>>1,fi=(zs=zs+2*(fi+Wl)>>3)+pa>>1,T(ue[Le+2*_n-1],255&Ei,Ei>>16,an,kr+(2*_n-1)*Z),T(ue[Le+2*_n-0],255&fi,fi>>16,an,kr+(2*_n-0)*Z),Ne!=null&&(Ei=zs+Ks>>1,fi=Bi+Wl>>1,T(Ne[Me+2*_n-1],255&Ei,Ei>>16,An,hn+(2*_n-1)*Z),T(Ne[Me+2*_n+0],255&fi,fi>>16,An,hn+(2*_n+0)*Z)),fi=pa,Ks=Wl}1&Sn||(Ei=3*fi+Ks+131074>>2,T(ue[Le+Sn-1],255&Ei,Ei>>16,an,kr+(Sn-1)*Z),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+Sn-1],255&Ei,Ei>>16,An,hn+(Sn-1)*Z)))}}function Fp(){Ac[y1]=gm,Ac[w1]=Rg,Ac[Tg]=mm,Ac[b1]=kg,Ac[_1]=Ug,Ac[X1]=Pg,Ac[Ig]=vm,Ac[q1]=Rg,Ac[J1]=kg,Ac[E1]=Ug,Ac[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,T){return $d((19077*w>>8)+(26149*T>>8)-14234)}function ed(w,T,Z){return $d((19077*w>>8)-(6419*T>>8)-(13320*Z>>8)+8708)}function td(w,T){return $d((19077*w>>8)+(33050*T>>8)-17685)}function zh(w,T,Z,ue,Le){ue[Le+0]=Kh(w,Z),ue[Le+1]=ed(w,T,Z),ue[Le+2]=td(w,T)}function mA(w,T,Z,ue,Le){ue[Le+0]=td(w,T),ue[Le+1]=ed(w,T,Z),ue[Le+2]=Kh(w,Z)}function rd(w,T,Z,ue,Le){var Ne=ed(w,T,Z);T=Ne<<3&224|td(w,T)>>3,ue[Le+0]=248&Kh(w,Z)|Ne>>5,ue[Le+1]=T}function nd(w,T,Z,ue,Le){var Ne=240&td(w,T)|15;ue[Le+0]=240&Kh(w,Z)|ed(w,T,Z)>>4,ue[Le+1]=Ne}function Rp(w,T,Z,ue,Le){ue[Le+0]=255,zh(w,T,Z,ue,Le+1)}function kp(w,T,Z,ue,Le){mA(w,T,Z,ue,Le),ue[Le+3]=255}function GA(w,T,Z,ue,Le){zh(w,T,Z,ue,Le),ue[Le+3]=255}function J0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Xe,it,wt,sr,Pr){for(var bt=sr+(-2&Pr)*Z;sr!=bt;)T(ue[Le+0],Ne[Me+0],Xe[it+0],wt,sr),T(ue[Le+1],Ne[Me+0],Xe[it+0],wt,sr+Z),Le+=2,++Me,++it,sr+=2*Z;1&Pr&&T(ue[Le+0],Ne[Me+0],Xe[it+0],wt,sr)}}function Zd(w,T,Z){return Z==0?w==0?T==0?6:5:T==0?4:0:Z}function p1(w,T,Z,ue,Le){switch(w>>>30){case 3:od(T,Z,ue,Le,0);break;case 2:oc(T,Z,ue,Le);break;case 1:Ya(T,Z,ue,Le)}}function ac(w,T){var Z,ue,Le=T.M,Ne=T.Nb,Me=w.oc,Xe=w.pc+40,it=w.oc,wt=w.pc+584,sr=w.oc,Pr=w.pc+600;for(Z=0;16>Z;++Z)Me[Xe+32*Z-1]=129;for(Z=0;8>Z;++Z)it[wt+32*Z-1]=129,sr[Pr+32*Z-1]=129;for(0Z;++Z)u(Me,Xe+32*Z-4,Me,Xe+32*Z+12,4);for(Z=-1;8>Z;++Z)u(it,wt+32*Z-4,it,wt+32*Z+4,4),u(sr,Pr+32*Z-4,sr,Pr+32*Z+4,4)}var hr=w.Gd,Ir=w.Hd+ue,an=bt.ad,kr=bt.Hc;if(0=w.za-1?d(An,hn,hr[Ir].y[15],4):u(An,hn,hr[Ir+1].y,0,4)),Z=0;4>Z;Z++)An[hn+128+Z]=An[hn+256+Z]=An[hn+384+Z]=An[hn+0+Z];for(Z=0;16>Z;++Z,kr<<=2)An=Me,hn=Xe+Mg[Z],Uc[bt.Ob[Z]](An,hn),p1(kr,an,16*+Z,An,hn)}else if(An=Zd(ue,Le,bt.Ob[0]),qh[An](Me,Xe),kr!=0)for(Z=0;16>Z;++Z,kr<<=2)p1(kr,an,16*+Z,Me,Xe+Mg[Z]);for(Z=bt.Gc,An=Zd(ue,Le,bt.Dd),rh[An](it,wt),rh[An](sr,Pr),kr=an,An=it,hn=wt,255&(bt=0|Z)&&(170&bt?c0(kr,256,An,hn):go(kr,256,An,hn)),bt=sr,kr=Pr,255&(Z>>=8)&&(170&Z?c0(an,320,bt,kr):go(an,320,bt,kr)),LeZ;++Z)u(hr,Ir+Z*w.R,Me,Xe+32*Z,16);for(Z=0;8>Z;++Z)u(an,bt+Z*w.B,it,wt+32*Z,8),u(kr,An+Z*w.B,sr,Pr+32*Z,8)}}function id(w,T,Z,ue,Le,Ne,Me,Xe,it){var wt=[0],sr=[0],Pr=0,bt=it!=null?it.kd:0,hr=it!=null?it:new bn;if(w==null||12>Z)return 7;hr.data=w,hr.w=T,hr.ha=Z,T=[T],Z=[Z],hr.gb=[hr.gb];e:{var Ir=T,an=Z,kr=hr.gb;if(a(w!=null),a(an!=null),a(kr!=null),kr[0]=0,12<=an[0]&&!s(w,Ir[0],"RIFF")){if(s(w,Ir[0]+8,"WEBP")){kr=3;break e}var An=Ni(w,Ir[0]+4);if(12>An||4294967286an[0]-8){kr=7;break e}kr[0]=An,Ir[0]+=12,an[0]-=12}kr=0}if(kr!=0)return kr;for(An=0kr[0])kr=7;else{if(!s(hn,an[0],"VP8X")){if(Ni(hn,an[0]+4)!=10){kr=3;break e}if(18>kr[0]){kr=7;break e}var fi=Ni(hn,an[0]+8),Ks=1+Yn(hn,an[0]+12);if(2147483648<=Ks*(hn=1+Yn(hn,an[0]+15))){kr=3;break e}Di!=null&&(Di[0]=fi),Sn!=null&&(Sn[0]=Ks),_n!=null&&(_n[0]=hn),an[0]+=18,kr[0]-=18,Ei[0]=1}kr=0}}if(Pr=Pr[0],Ir=Ir[0],kr!=0)return kr;if(an=!!(2&Ir),!An&&Pr)return 3;if(Ne!=null&&(Ne[0]=!!(16&Ir)),Me!=null&&(Me[0]=an),Xe!=null&&(Xe[0]=0),Me=wt[0],Ir=sr[0],Pr&&an&&it==null){kr=0;break}if(4>Z){kr=7;break}if(An&&Pr||!An&&!Pr&&!s(w,T[0],"ALPH")){Z=[Z],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{fi=w,kr=T,An=Z;var Ei=hr.gb;Sn=hr.na,_n=hr.P,Di=hr.Sa,Ks=22,a(fi!=null),a(An!=null),hn=kr[0];var pa=An[0];for(a(Sn!=null),a(Di!=null),Sn[0]=null,_n[0]=null,Di[0]=0;;){if(kr[0]=hn,An[0]=pa,8>pa){kr=7;break e}var Wl=Ni(fi,hn+4);if(4294967286Ei){kr=3;break e}if(!s(fi,hn,"VP8 ")||!s(fi,hn,"VP8L")){kr=0;break e}if(pa[0]An[0])kr=7;else{if(hn||Ks){if(Ei=Ni(Ei,fi+4),12<=Sn&&Ei>Sn-12){kr=3;break e}if(bt&&Ei>An[0]-8){kr=7;break e}_n[0]=Ei,kr[0]+=8,An[0]-=8,Di[0]=Ks}else Di[0]=5<=An[0]&&Ei[fi+0]==47&&!(Ei[fi+4]>>5),_n[0]=An[0];kr=0}if(Z=Z[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],T=T[0],kr!=0)break;if(4294967286Z){kr=7;break}Xe=Me,bt=Ir,an=Ne,w==null||5>Z?w=0:5<=Z&&w[T+0]==47&&!(w[T+4]>>5)?(An=[0],Ei=[0],Sn=[0],qr(_n=new Tt,w,T,Z),K0(_n,An,Ei,Sn)?(Xe!=null&&(Xe[0]=An[0]),bt!=null&&(bt[0]=Ei[0]),an!=null&&(an[0]=Sn[0]),w=1):w=0):w=0}else{if(10>Z){kr=7;break}Xe=Ir,w==null||10>Z||!i1(w,T+3,Z-3)?w=0:(bt=w[T+0]|w[T+1]<<8|w[T+2]<<16,an=16383&(w[T+7]<<8|w[T+6]),w=16383&(w[T+9]<<8|w[T+8]),1&bt||3<(bt>>1&7)||!(bt>>4&1)||bt>>5>=hr.Ja||!an||!w?w=0:(Me&&(Me[0]=an),Xe&&(Xe[0]=w),w=1))}if(!w||(Me=Me[0],Ir=Ir[0],Pr&&(wt[0]!=Me||sr[0]!=Ir)))return 3;it!=null&&(it[0]=hr,it.offset=T-it.w,a(4294967286>T-it.w),a(it.offset==it.ha-Z));break}return kr==0||kr==7&&Pr&&it==null?(Ne!=null&&(Ne[0]|=hr.na!=null&&0Z||(Ne&=-2,Me&=-2),0>Ne||0>Me||0>=Xe||0>=it||Ne+Xe>ue||Me+it>Le))return 0;if(T.v=Ne,T.j=Me,T.va=Ne+Xe,T.o=Me+it,T.U=Xe,T.T=it,T.da=w!=null&&0w.S){var T=w.f.RGBA;T.fb+=(w.height-1)*T.A,T.A=-T.A}else T=w.f.kb,w=w.height,T.O+=(w-1)*T.fa,T.fa=-T.fa,T.N+=(w-1>>1)*T.Ab,T.Ab=-T.Ab,T.W+=(w-1>>1)*T.Db,T.Db=-T.Db,T.F!=null&&(T.J+=(w-1)*T.lb,T.lb=-T.lb);return 0}function Gh(w,T,Z,ue){if(ue==null||0>=w||0>=T)return 2;if(Z!=null){if(Z.Da){var Le=Z.cd,Ne=Z.bd,Me=-2&Z.v,Xe=-2&Z.j;if(0>Me||0>Xe||0>=Le||0>=Ne||Me+Le>w||Xe+Ne>T)return 2;w=Le,T=Ne}if(Z.da){if(!ts(w,T,Le=[Z.ib],Ne=[Z.hb]))return 2;w=Le[0],T=Ne[0]}}ue.width=w,ue.height=T;e:{var it=ue.width,wt=ue.height;if(w=ue.S,0>=it||0>=wt||!(w>=y1&&13>w))w=2;else{if(0>=ue.Rd&&ue.sd==null){Me=Ne=Le=T=0;var sr=(Xe=it*Qg[w])*wt;if(11>w||(Ne=(wt+1)/2*(T=(it+1)/2),w==12&&(Me=(Le=it)*wt)),(wt=m(sr+2*Ne+Me))==null){w=1;break e}ue.sd=wt,11>w?((it=ue.f.RGBA).eb=wt,it.fb=0,it.A=Xe,it.size=sr):((it=ue.f.kb).y=wt,it.O=0,it.fa=Xe,it.Fd=sr,it.f=wt,it.N=0+sr,it.Ab=T,it.Cd=Ne,it.ea=wt,it.W=0+sr+Ne,it.Db=T,it.Ed=Ne,w==12&&(it.F=wt,it.J=0+sr+2*Ne),it.Tc=Me,it.lb=Le)}if(T=1,Le=ue.S,Ne=ue.width,Me=ue.height,Le>=y1&&13>Le)if(11>Le)w=ue.f.RGBA,T&=(Xe=Math.abs(w.A))*(Me-1)+Ne<=w.size,T&=Xe>=Ne*Qg[Le],T&=w.eb!=null;else{w=ue.f.kb,Xe=(Ne+1)/2,sr=(Me+1)/2,it=Math.abs(w.fa),wt=Math.abs(w.Ab);var Pr=Math.abs(w.Db),bt=Math.abs(w.lb),hr=bt*(Me-1)+Ne;T&=it*(Me-1)+Ne<=w.Fd,T&=wt*(sr-1)+Xe<=w.Cd,T=(T&=Pr*(sr-1)+Xe<=w.Ed)&it>=Ne&wt>=Xe&Pr>=Xe,T&=w.y!=null,T&=w.f!=null,T&=w.ea!=null,Le==12&&(T&=bt>=Ne,T&=hr<=w.Tc,T&=w.F!=null)}else T=0;w=T?0:2}}return w!=0||Z!=null&&Z.fd&&(w=Pp(ue)),w}var sd=64,Du=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Fu=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];mi("Predictor0","PredictorAdd0"),Rt.Predictor0=function(){return 4278190080},Rt.Predictor1=function(w){return w},Rt.Predictor2=function(w,T,Z){return T[Z+0]},Rt.Predictor3=function(w,T,Z){return T[Z+1]},Rt.Predictor4=function(w,T,Z){return T[Z-1]},Rt.Predictor5=function(w,T,Z){return Hi(Hi(w,T[Z+1]),T[Z+0])},Rt.Predictor6=function(w,T,Z){return Hi(w,T[Z-1])},Rt.Predictor7=function(w,T,Z){return Hi(w,T[Z+0])},Rt.Predictor8=function(w,T,Z){return Hi(T[Z-1],T[Z+0])},Rt.Predictor9=function(w,T,Z){return Hi(T[Z+0],T[Z+1])},Rt.Predictor10=function(w,T,Z){return Hi(Hi(w,T[Z-1]),Hi(T[Z+0],T[Z+1]))},Rt.Predictor11=function(w,T,Z){var ue=T[Z+0];return 0>=Ds(ue>>24&255,w>>24&255,(T=T[Z-1])>>24&255)+Ds(ue>>16&255,w>>16&255,T>>16&255)+Ds(ue>>8&255,w>>8&255,T>>8&255)+Ds(255&ue,255&w,255&T)?ue:w},Rt.Predictor12=function(w,T,Z){var ue=T[Z+0];return($a((w>>24&255)+(ue>>24&255)-((T=T[Z-1])>>24&255))<<24|$a((w>>16&255)+(ue>>16&255)-(T>>16&255))<<16|$a((w>>8&255)+(ue>>8&255)-(T>>8&255))<<8|$a((255&w)+(255&ue)-(255&T)))>>>0},Rt.Predictor13=function(w,T,Z){var ue=T[Z-1];return(la((w=Hi(w,T[Z+0]))>>24&255,ue>>24&255)<<24|la(w>>16&255,ue>>16&255)<<16|la(w>>8&255,ue>>8&255)<<8|la(255&w,255&ue))>>>0};var Op=Rt.PredictorAdd0;Rt.PredictorAdd1=da,mi("Predictor2","PredictorAdd2"),mi("Predictor3","PredictorAdd3"),mi("Predictor4","PredictorAdd4"),mi("Predictor5","PredictorAdd5"),mi("Predictor6","PredictorAdd6"),mi("Predictor7","PredictorAdd7"),mi("Predictor8","PredictorAdd8"),mi("Predictor9","PredictorAdd9"),mi("Predictor10","PredictorAdd10"),mi("Predictor11","PredictorAdd11"),mi("Predictor12","PredictorAdd12"),mi("Predictor13","PredictorAdd13");var Yd=Rt.PredictorAdd2;Ri("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),Ri("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var hl,g1=Rt.ColorIndexInverseTransform,A0=Rt.MapARGB,u0=Rt.VP8LColorIndexInverseTransformAlpha,Np=Rt.MapAlpha,Mp=Rt.VP8LPredictorsAdd=[];Mp.length=16,(Rt.VP8LPredictors=[]).length=16,(Rt.VP8LPredictorsAdd_C=[]).length=16,(Rt.VP8LPredictors_C=[]).length=16;var Qp,jp,$h,Zh,Yh,ad,Xh,od,oc,c0,Ya,go,fl,Vl,th,Hp,Xd,m1,dg,pg,gg,mg,vg,yg,Kp,wg,bg,_g,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Y1=Bg,v1=xg,Ru=Cg,lc=Eg,y1=0,w1=1,Tg=2,b1=3,_1=4,X1=5,Ig=6,q1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Lg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,Am=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Uc=[],rh=[],pm=1,Fg=2,Jh=[],Ac=[];q0("UpsampleRgbLinePair",zh,3),q0("UpsampleBgrLinePair",mA,3),q0("UpsampleRgbaLinePair",GA,4),q0("UpsampleBgraLinePair",kp,4),q0("UpsampleArgbLinePair",Rp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=Rt.UpsampleRgbLinePair,mm=Rt.UpsampleBgrLinePair,Rg=Rt.UpsampleRgbaLinePair,kg=Rt.UpsampleBgraLinePair,Ug=Rt.UpsampleArgbLinePair,Pg=Rt.UpsampleRgba4444LinePair,vm=Rt.UpsampleRgb565LinePair,B1=16,x1=1<ue.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ue.ca.f.kb.F!=null&&kc()),ue.Pb&&0(it=Z.Md)?0:100wt;++wt)12>(Pr=Le.pb[wt]).lc&&(Pr.ia=it*Cm[0>Pr.lc?0:Pr.lc]>>3),sr|=Pr.ia;sr&&(alert("todo:VP8InitRandom"),Le.ia=1)}Le.Ga=Z.Id,100Le.Ga&&(Le.Ga=0)}(function(bt,hr){if(bt==null)return 0;if(hr==null)return Il(bt,2,"NULL VP8Io parameter in VP8Decode().");if(!bt.cb&&!o0(bt,hr))return 0;if(a(bt.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(bt.L=0);var Ir=C1[bt.L];if(bt.L==2?(bt.yb=0,bt.zb=0):(bt.yb=hr.v-Ir>>4,bt.zb=hr.j-Ir>>4,0>bt.yb&&(bt.yb=0),0>bt.zb&&(bt.zb=0)),bt.Va=hr.o+15+Ir>>4,bt.Hb=hr.va+15+Ir>>4,bt.Hb>bt.za&&(bt.Hb=bt.za),bt.Va>bt.Ub&&(bt.Va=bt.Ub),0Ir;++Ir){var kr;if(bt.Qa.Cb){var An=bt.Qa.Lb[Ir];bt.Qa.Fb||(An+=an.Tb)}else An=an.Tb;for(kr=0;1>=kr;++kr){var hn=bt.gd[Ir][kr],Sn=An;if(an.Pc&&(Sn+=an.vd[0],kr&&(Sn+=an.od[0])),0<(Sn=0>Sn?0:63>2:_n>>1)>9-an.wb&&(_n=9-an.wb),1>_n&&(_n=1),hn.dd=_n,hn.tc=2*Sn+_n,hn.ld=40<=Sn?2:15<=Sn?1:0}else hn.tc=0;hn.La=kr}}}Ir=0}else Il(bt,6,"Frame setup failed"),Ir=bt.a;if(Ir=Ir==0){if(Ir){bt.$c=0,0bt.Vb){if(bt.Vb=0,bt.Ec=m(hn),bt.Fc=0,bt.Ec==null){Ir=Il(bt,1,"no memory during frame initialization.");break t}bt.Vb=hn}hn=bt.Ec,Sn=bt.Fc,bt.Ac=hn,bt.Bc=Sn,Sn+=an,bt.Gd=O(Di,r1),bt.Hd=0,bt.rb=O(fi+1,_p),bt.sb=1,bt.wa=Ks?O(Ks,ic):null,bt.Y=0,bt.D.Nb=0,bt.D.wa=bt.wa,bt.D.Y=bt.Y,0=Ir;++Ir)Eg[255+Ir]=0>Ir?-Ir:Ir;for(Ir=-1020;1020>=Ir;++Ir)Bg[1020+Ir]=-128>Ir?-128:127=Ir;++Ir)xg[112+Ir]=-16>Ir?-16:15=Ir;++Ir)Cg[255+Ir]=0>Ir?0:255wa;++wa){var $l,La=VA[0+wa];for($l=0;4>$l;++$l){La=hm[Fo[vA+$l]][La];for(var eo=Dg[dn(Rs,La[0])];0>3;for(eo=0;256>eo;eo+=16)wa[DA+eo]=hu}yA=1,Pc=vA[0]}var mo=15&Rs.la,Zl=15&WA.la;for(eo=0;4>eo;++eo){var ku=1&Zl;for(hu=to=0;4>hu;++hu)mo=mo>>1|(ku=(pl=zp(Fo,Pc,pl=ku+(1&mo),ll.Sc,yA,wa,DA))>yA)<<7,to=to<<2|(3>=4,Zl=Zl>>1|ku<<7,$l=($l<<8|to)>>>0}for(Pc=mo,yA=Zl>>4,Al=0;4>Al;Al+=2){for(to=0,mo=Rs.la>>4+Al,Zl=WA.la>>4+Al,eo=0;2>eo;++eo){for(ku=1&Zl,hu=0;2>hu;++hu)pl=ku+(1&mo),mo=mo>>1|(ku=0<(pl=zp(Fo,vA[2],pl,ll.Qc,0,wa,DA)))<<3,to=to<<2|(3>=2,Zl=Zl>>1|ku<<5}La|=to<<4*Al,Pc|=mo<<4<=Bi.zb&&Bi.M<=Bi.Va,Bi.Aa==0)t:{if(zs.M=Bi.M,zs.uc=Rs,ac(Bi,zs),dl=1,zs=(to=Bi.D).Nb,Rs=(La=C1[Bi.L])*Bi.R,Fo=La/2*Bi.B,eo=16*zs*Bi.R,hu=8*zs*Bi.B,vA=Bi.sa,VA=Bi.ta-Rs+eo,ll=Bi.qa,wa=Bi.ra-Fo+hu,DA=Bi.Ha,WA=Bi.Ia-Fo+hu,Zl=(mo=to.M)==0,$l=mo>=Bi.Va-1,Bi.Aa==2&&ac(Bi,to),to.uc)for(ku=(pl=Bi).D.M,a(pl.D.uc),to=pl.yb;toKn.o&&(mo=Kn.o),Kn.F=null,Kn.J=null,Bi.Fa!=null&&0>1),Kn.W+=Bi.B*(La>>1),Kn.F!=null&&(Kn.J+=Kn.width*La)),to>1,Kn.W+=Kn.v>>1,Kn.F!=null&&(Kn.J+=Kn.v),Kn.ka=to-Kn.j,Kn.U=Kn.va-Kn.v,Kn.T=mo-to,dl=Kn.put(Kn))}zs+1!=Bi.Ic||$l||(u(Bi.sa,Bi.ta-Rs,vA,VA+16*Bi.R,Rs),u(Bi.qa,Bi.ra-Fo,ll,wa+8*Bi.B,Fo),u(Bi.Ha,Bi.Ia-Fo,DA,WA+8*Bi.B,Fo))}if(!dl)return Il(pa,6,"Output aborted.")}return 1}(bt,hr)),hr.bc!=null&&hr.bc(hr),Ir&=1}return Ir?(bt.cb=0,Ir):0})(w,ue)||(T=w.a)}}else T=w.a}T==0&&Me.Oa!=null&&Me.Oa.fd&&(T=Pp(Me.ba))}Me=T}Ne=Me!=0?null:11>Ne?Xe.f.RGBA.eb:Xe.f.kb.y}else Ne=null;return Ne};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function z(Rt,Tr){for(var He="",gt=0;gt<4;gt++)He+=String.fromCharCode(Rt[Tr++]);return He}function te(Rt,Tr){return Rt[Tr+0]|Rt[Tr+1]<<8}function Se(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16)>>>0}function Ue(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16|Rt[Tr+3]<<24)>>>0}new M;var ee=[0],ut=[0],st=[],dt=new M,ze=n,Wt=function(Rt,Tr){var He={},gt=0,Zt=!1,Gt=0,Qr=0;if(He.frames=[],!function(Qe,Tt){for(var Nt=0;Nt<4;Nt++)if(Qe[Tt+Nt]!="RIFF".charCodeAt(Nt))return!0;return!1}(Rt,Tr)){for(Ue(Rt,Tr+=4),Tr+=8;Tr>1&1}Gr!="ANMF"&&(Tr+=Ur)}return He}}(ze,0);Wt.response=ze,Wt.rgbaoutput=!0,Wt.dataurl=!1;var jt=Wt.header?Wt.header:null,Dt=Wt.frames?Wt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ee=[jt.canvas_height],ut=[jt.canvas_width];for(var Or=0;Or=2?mt[1]:qn[0],qn[2]=mt.length>=3?mt[2]:qn[0],qn[3]=mt.length>=4?mt[3]:qn[1]),z.margin=qn}});var Wr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wr},set:function(mt){Wr=mt}});var Xr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Xr},set:function(mt){Xr=mt}});var dn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dn},set:function(mt){dn=mt}}),Object.defineProperty(this,"ctx",{get:function(){return z},set:function(mt){mt instanceof te&&(z=mt)}}),Object.defineProperty(this,"path",{get:function(){return z.path},set:function(mt){z.path=mt}});var In=[];Object.defineProperty(this,"ctxStack",{get:function(){return In},set:function(mt){In=mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(mt){var qn;qn=Ue(mt),this.ctx.fillStyle=qn.style,this.ctx.isFillTransparent=qn.a===0,this.ctx.fillOpacity=qn.a,this.pdf.setFillColor(qn.r,qn.g,qn.b,{a:qn.a}),this.pdf.setTextColor(qn.r,qn.g,qn.b,{a:qn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(mt){var qn=Ue(mt);this.ctx.strokeStyle=qn.style,this.ctx.isStrokeTransparent=qn.a===0,this.ctx.strokeOpacity=qn.a,qn.a===0?this.pdf.setDrawColor(255,255,255):(qn.a,this.pdf.setDrawColor(qn.r,qn.g,qn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(mt){["butt","round","square"].indexOf(mt)!==-1&&(this.ctx.lineCap=mt,this.pdf.setLineCap(mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(mt){isNaN(mt)||(this.ctx.lineWidth=mt,this.pdf.setLineWidth(mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(mt){["bevel","round","miter"].indexOf(mt)!==-1&&(this.ctx.lineJoin=mt,this.pdf.setLineJoin(mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(mt){isNaN(mt)||(this.ctx.miterLimit=mt,this.pdf.setMiterLimit(mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(mt){this.ctx.textBaseline=mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(mt){["right","end","center","left","start"].indexOf(mt)!==-1&&(this.ctx.textAlign=mt)}});var Xn=null,Yn=null,Ni=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ni},set:function(mt){Xn=null,Yn=null,Ni=mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(mt){var qn;if(this.ctx.font=mt,(qn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(mt))!==null){var Ws=qn[1];qn[2];var ts=qn[3],xn=qn[4];qn[5];var rs=qn[6],mi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(xn)[2];xn=Math.floor(mi==="px"?parseFloat(xn)*this.pdf.internal.scaleFactor:mi==="em"?parseFloat(xn)*this.pdf.getFontSize():parseFloat(xn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(xn);var Yi=function(Ri){var cl,Ta,Xs=[],qs=Ri.trim();if(qs==="")return x;if(qs in Au)return[Au[qs]];for(;qs!=="";){switch(Ta=null,cl=(qs=Hl(qs)).charAt(0)){case'"':case"'":Ta=A(qs.substring(1),cl);break;default:Ta=e(qs)}if(Ta===null||(Xs.push(Ta[0]),(qs=Hl(Ta[1]))!==""&&qs.charAt(0)!==","))return x;qs=qs.replace(/^,/,"")}return Xs}(rs);if(this.fontFaces){var Hi=function(Ri,cl){var Ta=Ri.getFontList(),Xs=JSON.stringify(Ta);if(Xn===null||Yn!==Xs){var qs=function(Oo){var Gi=[];return Object.keys(Oo).forEach(function(Bo){Oo[Bo].forEach(function(ls){var Fs=null;switch(ls){case"bold":Fs={family:Bo,weight:"bold"};break;case"italic":Fs={family:Bo,style:"italic"};break;case"bolditalic":Fs={family:Bo,weight:"bold",style:"italic"};break;case"":case"normal":Fs={family:Bo}}Fs!==null&&(Fs.ref={name:Bo,style:ls},Gi.push(Fs))})}),Gi}(Ta);Xn=function(Oo){for(var Gi={},Bo=0;Bo=700||Ws==="bold")&&(Ds="bold"),Ws==="italic"&&(Ds+="italic"),Ds.length===0&&(Ds="normal");for(var da="",Aa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ci=0;Ci=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:Qe,y:Tt,radius:Nt,startAngle:tr,endAngle:fr,counterclockwise:Dr})},Se.prototype.arcTo=function(Qe,Tt,Nt,tr,fr){throw new Error("arcTo not implemented.")},Se.prototype.rect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe+Nt,Tt+tr),this.lineTo(Qe,Tt+tr),this.lineTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe,Tt)},Se.prototype.fillRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ee.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,Tt,Nt,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Se.prototype.strokeRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ut.call(this)||(this.beginPath(),this.rect(Qe,Tt,Nt,tr),this.stroke())},Se.prototype.clearRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,Tt,Nt,tr))},Se.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Se.prototype.drawImage=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr,dn){var In=this.pdf.getImageProperties(Qe),Xn=1,Yn=1,Ni=1,mt=1;tr!==void 0&&Xr!==void 0&&(Ni=Xr/tr,mt=dn/fr,Xn=In.width/tr*Xr/tr,Yn=In.height/fr*dn/fr),Dr===void 0&&(Dr=Tt,Wr=Nt,Tt=0,Nt=0),tr!==void 0&&Xr===void 0&&(Xr=tr,dn=fr),tr===void 0&&Xr===void 0&&(Xr=In.width,dn=In.height);var qn=this.ctx.transform.decompose(),Ws=Ur(qn.rotate.shx),ts=new M,xn=(ts=(ts=(ts=ts.multiply(qn.translate)).multiply(qn.skew)).multiply(qn.scale)).applyToRectangle(new L(Dr-Tt*Ni,Wr-Nt*mt,tr*Xn,fr*Yn));if(this.autoPaging){for(var rs,mi=dt.call(this,xn),Yi=[],Hi=0;Hi$a||Dsxn||mi0)){for(;dn>=0;dn--)if(fr[dn-1].close!==!0&&fr[dn-1].begin!==!0){fr[dn-1].deltas.push(Nt),fr[dn-1].abs.push(Xr);break}}break;case"bct":Nt=[Xr.x1-Dr[Wr-1].x,Xr.y1-Dr[Wr-1].y,Xr.x2-Dr[Wr-1].x,Xr.y2-Dr[Wr-1].y,Xr.x-Dr[Wr-1].x,Xr.y-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"qct":var In=Dr[Wr-1].x+2/3*(Xr.x1-Dr[Wr-1].x),Xn=Dr[Wr-1].y+2/3*(Xr.y1-Dr[Wr-1].y),Yn=Xr.x+2/3*(Xr.x1-Xr.x),Ni=Xr.y+2/3*(Xr.y1-Xr.y),mt=Xr.x,qn=Xr.y;Nt=[In-Dr[Wr-1].x,Xn-Dr[Wr-1].y,Yn-Dr[Wr-1].x,Ni-Dr[Wr-1].y,mt-Dr[Wr-1].x,qn-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Xr)}}tr=Tt?null:Qe==="stroke"?"stroke":"fill";for(var Ws=!1,ts=0;ts=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale);var Ns=this.autoPaging!=="text";if(Ns||Ci.y+Ci.h<=Hi){if(Ns||Ci.y>=mi&&Ci.x<=la){var Ri=Ns?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||la-Ci.x)[0],cl=Wt([JSON.parse(JSON.stringify(Yn))],this.posX+this.margin[3],-da+mi+this.ctx.prevPageLastElemOffset)[0],Ta=Ns&&(rs>ts||rs=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else Qe.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale),this.pdf.text(Qe.text,dn.x+this.posX,dn.y+this.posY,{angle:Qe.angle,align:Tt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Zt=function(Qe,Tt,Nt,tr){Nt=Nt||0,tr=tr||0,this.pdf.internal.out(s(Qe+Nt)+" "+u(Tt+tr)+" l")},Gt=function(Qe,Tt,Nt){return this.pdf.lines(Qe,Tt,Nt,null,null)},Qr=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr){this.pdf.internal.out([a(d(Nt+Qe)),a(m(tr+Tt)),a(d(fr+Qe)),a(m(Dr+Tt)),a(d(Wr+Qe)),a(m(Xr+Tt)),"c"].join(" "))},Gr=function(Qe,Tt,Nt,tr){for(var fr=2*Math.PI,Dr=Math.PI/2;Tt>Nt;)Tt-=fr;var Wr=Math.abs(Nt-Tt);Wr1e-5;){var Xn=In+dn*Math.min(Wr,Dr);Xr.push($r.call(this,Qe,In,Xn)),Wr-=Math.abs(Xn-In),In=Xn}return Xr},$r=function(Qe,Tt,Nt){var tr=(Nt-Tt)/2,fr=Qe*Math.cos(tr),Dr=Qe*Math.sin(tr),Wr=fr,Xr=-Dr,dn=Wr*Wr+Xr*Xr,In=dn+Wr*fr+Xr*Dr,Xn=4/3*(Math.sqrt(2*dn*In)-In)/(Wr*Dr-Xr*fr),Yn=Wr-Xn*Xr,Ni=Xr+Xn*Wr,mt=Yn,qn=-Ni,Ws=tr+Tt,ts=Math.cos(Ws),xn=Math.sin(Ws);return{x1:Qe*Math.cos(Tt),y1:Qe*Math.sin(Tt),x2:Yn*ts-Ni*xn,y2:Yn*xn+Ni*ts,x3:mt*ts-qn*xn,y3:mt*xn+qn*ts,x4:Qe*Math.cos(Nt),y4:Qe*Math.sin(Nt)}},Ur=function(Qe){return 180*Qe/Math.PI},qr=function(Qe,Tt,Nt,tr,fr,Dr){var Wr=Qe+.5*(Nt-Qe),Xr=Tt+.5*(tr-Tt),dn=fr+.5*(Nt-fr),In=Dr+.5*(tr-Dr),Xn=Math.min(Qe,fr,Wr,dn),Yn=Math.max(Qe,fr,Wr,dn),Ni=Math.min(Tt,Dr,Xr,In),mt=Math.max(Tt,Dr,Xr,In);return new L(Xn,Ni,Yn-Xn,mt-Ni)},Rn=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr){var dn,In,Xn,Yn,Ni,mt,qn,Ws,ts,xn,rs,mi,Yi,Hi,$a=Nt-Qe,la=tr-Tt,Ds=fr-Nt,da=Dr-tr,Aa=Wr-fr,Ci=Xr-Dr;for(In=0;In<41;In++)ts=(qn=(Xn=Qe+(dn=In/40)*$a)+dn*((Ni=Nt+dn*Ds)-Xn))+dn*(Ni+dn*(fr+dn*Aa-Ni)-qn),xn=(Ws=(Yn=Tt+dn*la)+dn*((mt=tr+dn*da)-Yn))+dn*(mt+dn*(Dr+dn*Ci-mt)-Ws),In==0?(rs=ts,mi=xn,Yi=ts,Hi=xn):(rs=Math.min(rs,ts),mi=Math.min(mi,xn),Yi=Math.max(Yi,ts),Hi=Math.max(Hi,xn));return new L(Math.round(rs),Math.round(mi),Math.round(Yi-rs),Math.round(Hi-mi))},wn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,Tt,Nt=(Qe=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:Tt}));this.prevLineDash!==Nt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Nt)}}})(hi.API),function(n){var a=function(O){var L,M,z,te,Se,Ue,ee,ut,st,dt;for(/[^\x00-\xFF]/.test(O),M=[],z=0,te=(O+=L="\0\0\0\0".slice(O.length%4||4)).length;te>z;z+=4)(Se=(O.charCodeAt(z)<<24)+(O.charCodeAt(z+1)<<16)+(O.charCodeAt(z+2)<<8)+O.charCodeAt(z+3))!==0?(Ue=(Se=((Se=((Se=((Se=(Se-(dt=Se%85))/85)-(st=Se%85))/85)-(ut=Se%85))/85)-(ee=Se%85))/85)%85,M.push(Ue+33,ee+33,ut+33,st+33,dt+33)):M.push(122);return function(ze,Wt){for(var jt=Wt;jt>0;jt--)ze.pop()}(M,L.length),String.fromCharCode.apply(String,M)+"~>"},s=function(O){var L,M,z,te,Se,Ue=String,ee="length",ut=255,st="charCodeAt",dt="slice",ze="replace";for(O[dt](-2),O=O[dt](0,-2)[ze](/\s/g,"")[ze]("z","!!!!!"),z=[],te=0,Se=(O+=L="uuuuu"[dt](O[ee]%5||5))[ee];Se>te;te+=5)M=52200625*(O[st](te)-33)+614125*(O[st](te+1)-33)+7225*(O[st](te+2)-33)+85*(O[st](te+3)-33)+(O[st](te+4)-33),z.push(ut&M>>24,ut&M>>16,ut&M>>8,ut&M);return function(Wt,jt){for(var Dt=jt;Dt>0;Dt--)Wt.pop()}(z,L[ee]),Ue.fromCharCode.apply(Ue,z)},u=function(O){return O.split("").map(function(L){return("0"+L.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(O){var L=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((O=O.replace(/\s/g,"")).indexOf(">")!==-1&&(O=O.substr(0,O.indexOf(">"))),O.length%2&&(O+="0"),L.test(O)===!1)return"";for(var M="",z=0;zst&&(ut=dt,dt=st,st=ut);else{if(L!=="l"&&L!=="landscape")throw"Invalid orientation: "+L;L="l",st>dt&&(ut=dt,dt=st,st=ut)}return{width:dt,height:st,unit:M,k:Se,orientation:L}},n.html=function(L,M){(M=M||{}).callback=M.callback||function(){},M.html2canvas=M.html2canvas||{},M.html2canvas.canvas=M.html2canvas.canvas||this.canvas,M.jsPDF=M.jsPDF||this,M.fontFaces=M.fontFaces?M.fontFaces.map(IA):null;var z=new O(M);return M.worker?z:z.from(L).doCallback()}}(hi.API),hi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,u=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ee=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ee+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(u,d,m){var O={title:d,options:m,children:[]};return u==null&&(u=this.root),u.children.push(O),O},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(u){u.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(u.children[0])),this.line("/Last "+this.makeRef(u.children[u.children.length-1]))),this.line("/Count "+this.count_r({count:0},u)),this.objEnd()},s.outline.renderItems=function(u){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(u.children[m-1])),m0&&(this.line("/First "+this.makeRef(O.children[0])),this.line("/Last "+this.makeRef(O.children[O.children.length-1])));var L=this.count=this.count_r({count:0},O);if(L>0&&this.line("/Count "+L),O.options&&O.options.pageNumber){var M=s.internal.getPageInfo(O.options.pageNumber);this.line("/Dest ["+M.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var z=0;z>"}),"transparency"in gt&&Array.isArray(gt.transparency)&>.transparency.length>0){for(var $r="",Ur=0,qr=gt.transparency.length;Ur>",st.content=m;var jt=st.objId+" 0 R";m="<>";else if(u.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=1};var z=n.__arabicParser__.arabicLetterHasFinalForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=3};var te=n.__arabicParser__.arabicLetterHasMedialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length==4},Se=n.__arabicParser__.resolveLigatures=function(st){var dt=0,ze=s,Wt="",jt=0;for(dt=0;dt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(L){s=L}});var u=150;Object.defineProperty(this,"width",{get:function(){return u},set:function(L){u=isNaN(L)||Number.isInteger(L)===!1||L<0?150:L,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=u+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(L){d=isNaN(L)||Number.isInteger(L)===!1||L<0?300:L,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(L){m=L}});var O={};Object.defineProperty(this,"style",{get:function(){return O},set:function(L){O=L}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,u){var d;if((s=s||"2d")!=="2d")return null;for(d in u)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=u[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(hi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,u=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var M=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(st){M=st}});var z=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return z},set:function(st){z=st}});var te=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return te},set:function(st){te=st}});var Se=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Se},set:function(st){Se=st}});var Ue=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ue},set:function(st){Ue=st}});var ee=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ee},set:function(st){ee=st}});var ut=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ut},set:function(st){ut=st}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(M){return u.call(this),this.internal.__cell__.headerFunction=typeof M=="function"?M:void 0,this},n.getTextDimensions=function(M,z){u.call(this);var te=(z=z||{}).fontSize||this.getFontSize(),Se=z.font||this.getFont(),Ue=z.scaleFactor||this.internal.scaleFactor,ee=0,ut=0,st=0,dt=this;if(!Array.isArray(M)&&typeof M!="string"){if(typeof M!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");M=String(M)}var ze=z.maxWidth;ze>0?typeof M=="string"?M=this.splitTextToSize(M,ze):Object.prototype.toString.call(M)==="[object Array]"&&(M=M.reduce(function(jt,Dt){return jt.concat(dt.splitTextToSize(Dt,ze))},[])):M=Array.isArray(M)?M:[M];for(var Wt=0;Wtthis.getPageHeight()?(this.cellAddPage(),M.y=Se.top,ee&&Ue&&(this.printHeaderRow(M.lineNumber,!0),M.y+=Ue[0].height)):M.y=z.y+z.height||M.y),M.text[0]!==void 0&&(this.rect(M.x,M.y,M.width,M.height,s===!0?"FD":void 0),M.align==="right"?this.text(M.text,M.x+M.width-te,M.y+te,{align:"right",baseline:"top"}):M.align==="center"?this.text(M.text,M.x+M.width/2,M.y+te,{align:"center",baseline:"top",maxWidth:M.width-te-te}):this.text(M.text,M.x+te,M.y+te,{align:"left",baseline:"top",maxWidth:M.width-te-te})),this.internal.__cell__.lastCell=M,this};n.table=function(M,z,te,Se,Ue){if(u.call(this),!te)throw new Error("No data for PDF table.");var ee,ut,st,dt,ze=[],Wt=[],jt=[],Dt={},Or={},on=[],Vr=[],Ar=(Ue=Ue||{}).autoSize||!1,Rt=Ue.printHeaders!==!1,Tr=Ue.css&&Ue.css["font-size"]!==void 0?16*Ue.css["font-size"]:Ue.fontSize||12,He=Ue.margins||Object.assign({width:this.getPageWidth()},a),gt=typeof Ue.padding=="number"?Ue.padding:3,Zt=Ue.headerBackgroundColor||"#c8c8c8",Gt=Ue.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Rt,this.internal.__cell__.margins=He,this.internal.__cell__.table_font_size=Tr,this.internal.__cell__.padding=gt,this.internal.__cell__.headerBackgroundColor=Zt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Tr),Se==null)Wt=ze=Object.keys(te[0]),jt=ze.map(function(){return"left"});else if(Array.isArray(Se)&&(0,V.Z)(Se[0])==="object")for(ze=Se.map(function(Rn){return Rn.name}),Wt=Se.map(function(Rn){return Rn.prompt||Rn.name||""}),jt=Se.map(function(Rn){return Rn.align||"left"}),ee=0;ee0&&this.setTableHeaderRow(Ue),this.setFont(void 0,"normal"),s=!1}}(hi.API);var qo={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Lu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tl=ya(Lu),jl=[100,200,300,400,500,600,700,800,900],Ic=ya(jl);function IA(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return qo[m=m||"normal"]?m:"normal"}(n.style),u=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Tl[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:u,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,u].join(" ")}}}function zA(n,a,s,u){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function _e(n,a,s){var u=n.length,d=[];d[0]=4;for(var m=0;m>m&O}function zt(n,a,s,u){var d=s*u,m=Math.floor(d/8),O=16-(d-8*m+u),L=(1<>8&255;z.setUint8(te,Ue)}})(n,m,ir(n,m)&~(L<>7,O=1<<1+(7&d);n[a++],n[a++];var L=null,M=null;m&&(L=a,M=O,a+=3*O);var z=!0,te=[],Se=0,Ue=null,ee=0,ut=null;for(this.width=s,this.height=u;z&&a=0))throw Error("Invalid block size");if(He===0)break;a+=He}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var st=n[a++];Se=n[a++]|n[a++]<<8,Ue=n[a++],1&st||(Ue=null),ee=st>>2&7,a++;break;case 254:for(;;){if(!((He=n[a++])>=0))throw Error("Invalid block size");if(He===0)break;a+=He}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var dt=n[a++]|n[a++]<<8,ze=n[a++]|n[a++]<<8,Wt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Dt=n[a++],Or=Dt>>6&1,on=1<<1+(7&Dt),Vr=L,Ar=M,Rt=!1;Dt>>7&&(Rt=!0,Vr=a,Ar=on,a+=3*on);var Tr=a;for(a++;;){var He;if(!((He=n[a++])>=0))throw Error("Invalid block size");if(He===0)break;a+=He}te.push({x:dt,y:ze,width:Wt,height:jt,has_local_palette:Rt,palette_offset:Vr,palette_size:Ar,data_offset:Tr,data_length:a-Tr,transparent_index:Ue,interlaced:!!Or,delay:Se,disposal:ee});break;case 59:z=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return te.length},this.loopCount=function(){return ut},this.frameInfo=function(gt){if(gt<0||gt>=te.length)throw new Error("Frame index out of range.");return te[gt]},this.decodeAndBlitFrameBGRA=function(gt,Zt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,tr=4*Rn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(tr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Zt[Nt++]=Xn,Zt[Nt++]=In,Zt[Nt++]=dn,Zt[Nt++]=255}--wn}},this.decodeAndBlitFrameRGBA=function(gt,Zt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,tr=4*Rn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(tr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Zt[Nt++]=dn,Zt[Nt++]=In,Zt[Nt++]=Xn,Zt[Nt++]=255}--wn}}}function lr(n,a,s,u){for(var d=n[a++],m=1<>=M,te-=M,dt!==m){if(dt===O)break;for(var ze=dtm;)jt=ut[jt]>>8,++Wt;var Dt=jt;if(Ue+Wt+(ze!==dt?1:0)>u)return void va.log("Warning, gif stream longer than expected.");s[Ue++]=Dt;var Or=Ue+=Wt;for(ze!==dt&&(s[Ue++]=Dt),jt=ze;Wt--;)jt=ut[jt],s[--Or]=255&jt,jt>>=8;st!==null&&L<4096&&(ut[L++]=st<<8|Dt,L>=z+1&&M<12&&(++M,z=z<<1|1)),st=dt}else L=O+1,z=(1<<(M=d+1))-1,st=null}return Ue!==u&&va.log("Warning, gif stream shorter than expected."),s}function Rr(n){var a,s,u,d,m,O=Math.floor,L=new Array(64),M=new Array(64),z=new Array(64),te=new Array(64),Se=new Array(65535),Ue=new Array(65535),ee=new Array(64),ut=new Array(64),st=[],dt=0,ze=7,Wt=new Array(64),jt=new Array(64),Dt=new Array(64),Or=new Array(256),on=new Array(2048),Vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Tr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],He=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],gt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Zt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gr(Qe,Tt){for(var Nt=0,tr=0,fr=new Array,Dr=1;Dr<=16;Dr++){for(var Wr=1;Wr<=Qe[Dr];Wr++)fr[Tt[tr]]=[],fr[Tt[tr]][0]=Nt,fr[Tt[tr]][1]=Dr,tr++,Nt++;Nt*=2}return fr}function $r(Qe){for(var Tt=Qe[0],Nt=Qe[1]-1;Nt>=0;)Tt&1<>8&255),Ur(255&Qe)}function Rn(Qe,Tt,Nt,tr,fr){for(var Dr,Wr=fr[0],Xr=fr[240],dn=function(xn,rs){var mi,Yi,Hi,$a,la,Ds,da,Aa,Ci,Ns,Ri=0;for(Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+1],Hi=xn[Ri+2],$a=xn[Ri+3],la=xn[Ri+4],Ds=xn[Ri+5],da=xn[Ri+6];var cl=mi+(Aa=xn[Ri+7]),Ta=mi-Aa,Xs=Yi+da,qs=Yi-da,Oo=Hi+Ds,Gi=Hi-Ds,Bo=$a+la,ls=$a-la,Fs=cl+Bo,No=cl-Bo,ra=Xs+Oo,ns=Xs-Oo;xn[Ri]=Fs+ra,xn[Ri+4]=Fs-ra;var Za=.707106781*(ns+No);xn[Ri+2]=No+Za,xn[Ri+6]=No-Za;var Gf=.382683433*((Fs=ls+Gi)-(ns=qs+Ta)),LA=.5411961*Fs+Gf,j0=1.306562965*ns+Gf,n0=.707106781*(ra=Gi+qs),is=Ta+n0,H0=Ta-n0;xn[Ri+5]=H0+LA,xn[Ri+3]=H0-LA,xn[Ri+1]=is+j0,xn[Ri+7]=is-j0,Ri+=8}for(Ri=0,Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+8],Hi=xn[Ri+16],$a=xn[Ri+24],la=xn[Ri+32],Ds=xn[Ri+40],da=xn[Ri+48];var K0=mi+(Aa=xn[Ri+56]),tc=mi-Aa,rc=Yi+da,ol=Yi-da,nA=Hi+Ds,pA=Hi-Ds,Vf=$a+la,Hh=$a-la,Lc=K0+Vf,i0=K0-Vf,Dc=rc+nA,Fc=rc-nA;xn[Ri]=Lc+Dc,xn[Ri+32]=Lc-Dc;var nc=.707106781*(Fc+i0);xn[Ri+16]=i0+nc,xn[Ri+48]=i0-nc;var Wf=.382683433*((Lc=Hh+pA)-(Fc=ol+tc)),s0=.5411961*Lc+Wf,$f=1.306562965*Fc+Wf,Qd=.707106781*(Dc=pA+ol),jd=tc+Qd,Hd=tc-Qd;xn[Ri+40]=Hd+s0,xn[Ri+24]=Hd-s0,xn[Ri+8]=jd+$f,xn[Ri+56]=jd-$f,Ri++}for(Ci=0;Ci<64;++Ci)Ns=xn[Ci]*rs[Ci],ee[Ci]=Ns>0?Ns+.5|0:Ns-.5|0;return ee}(Qe,Tt),In=0;In<64;++In)ut[Vr[In]]=dn[In];var Xn=ut[0]-Nt;Nt=ut[0],Xn==0?$r(tr[0]):($r(tr[Ue[Dr=32767+Xn]]),$r(Se[Dr]));for(var Yn=63;Yn>0&&ut[Yn]==0;)Yn--;if(Yn==0)return $r(Wr),Nt;for(var Ni,mt=1;mt<=Yn;){for(var qn=mt;ut[mt]==0&&mt<=Yn;)++mt;var Ws=mt-qn;if(Ws>=16){Ni=Ws>>4;for(var ts=1;ts<=Ni;++ts)$r(Xr);Ws&=15}Dr=32767+ut[mt],$r(fr[(Ws<<4)+Ue[Dr]]),$r(Se[Dr]),mt++}return Yn!=63&&$r(Wr),Nt}function wn(Qe){Qe=Math.min(Math.max(Qe,1),100),m!=Qe&&(function(Tt){for(var Nt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=O((Nt[tr]*Tt+50)/100);fr=Math.min(Math.max(fr,1),255),L[Vr[tr]]=fr}for(var Dr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wr=0;Wr<64;Wr++){var Xr=O((Dr[Wr]*Tt+50)/100);Xr=Math.min(Math.max(Xr,1),255),M[Vr[Wr]]=Xr}for(var dn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],In=0,Xn=0;Xn<8;Xn++)for(var Yn=0;Yn<8;Yn++)z[In]=1/(L[Vr[In]]*dn[Xn]*dn[Yn]*8),te[In]=1/(M[Vr[In]]*dn[Xn]*dn[Yn]*8),In++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),m=Qe)}this.encode=function(Qe,Tt){Tt&&wn(Tt),st=new Array,dt=0,ze=7,qr(65496),qr(65504),qr(16),Ur(74),Ur(70),Ur(73),Ur(70),Ur(0),Ur(1),Ur(1),Ur(0),qr(1),qr(1),Ur(0),Ur(0),function(){qr(65499),qr(132),Ur(0);for(var Yi=0;Yi<64;Yi++)Ur(L[Yi]);Ur(1);for(var Hi=0;Hi<64;Hi++)Ur(M[Hi])}(),function(Yi,Hi){qr(65472),qr(17),Ur(8),qr(Hi),qr(Yi),Ur(3),Ur(1),Ur(17),Ur(0),Ur(2),Ur(17),Ur(1),Ur(3),Ur(17),Ur(1)}(Qe.width,Qe.height),function(){qr(65476),qr(418),Ur(0);for(var Yi=0;Yi<16;Yi++)Ur(Ar[Yi+1]);for(var Hi=0;Hi<=11;Hi++)Ur(Rt[Hi]);Ur(16);for(var $a=0;$a<16;$a++)Ur(Tr[$a+1]);for(var la=0;la<=161;la++)Ur(He[la]);Ur(1);for(var Ds=0;Ds<16;Ds++)Ur(gt[Ds+1]);for(var da=0;da<=11;da++)Ur(Zt[da]);Ur(17);for(var Aa=0;Aa<16;Aa++)Ur(Gt[Aa+1]);for(var Ci=0;Ci<=161;Ci++)Ur(Qr[Ci])}(),qr(65498),qr(12),Ur(3),Ur(1),Ur(0),Ur(2),Ur(17),Ur(3),Ur(17),Ur(0),Ur(63),Ur(0);var Nt=0,tr=0,fr=0;dt=0,ze=7,this.encode.displayName="_encode_";for(var Dr,Wr,Xr,dn,In,Xn,Yn,Ni,mt,qn=Qe.data,Ws=Qe.width,ts=Qe.height,xn=4*Ws,rs=0;rs>3)*xn+(Yn=4*(7&mt)),rs+Ni>=ts&&(Xn-=xn*(rs+1+Ni-ts)),Dr+Yn>=xn&&(Xn-=Dr+Yn-xn+4),Wr=qn[Xn++],Xr=qn[Xn++],dn=qn[Xn++],Wt[mt]=(on[Wr]+on[Xr+256|0]+on[dn+512|0]>>16)-128,jt[mt]=(on[Wr+768|0]+on[Xr+1024|0]+on[dn+1280|0]>>16)-128,Dt[mt]=(on[Wr+1280|0]+on[Xr+1536|0]+on[dn+1792|0]>>16)-128;Nt=Rn(Wt,z,Nt,a,u),tr=Rn(jt,te,tr,s,d),fr=Rn(Dt,te,fr,s,d),Dr+=32}rs+=8}if(ze>=0){var mi=[];mi[1]=ze+1,mi[0]=(1<gt;gt++)if(Rt[Tr+gt]!=He.charCodeAt(gt))return!0;return!1}function u(Rt,Tr,He,gt,Zt){for(var Gt=0;GtGt+1?[]:new Tr),!(Qr.length>>0;w&Z;)Z>>>=1;return Z?(w&Z-1)+Z:w}function He(w,T,Z,ue,Le){a(!(ue%Z));do w[T+(ue-=Z)]=Le;while(0=Le),512>=Le)var Ne=m(512);else if((Ne=m(Le))==null)return 0;return function(Me,Xe,it,wt,sr,Pr){var bt,hr,Ir=Xe,an=1<bt;++bt){if(kr[bt]>1<(Ks-=kr[bt]))return 0;for(;0=bt;++bt,sr<<=1){if(fi+=Ks<<=1,0>(Ks-=kr[bt]))return 0;for(;0Sn&&!(0>=(hn-=kr[Sn]));)++Sn,hn<<=1;an+=Ei=1<<(hn=Sn-it),Me[Xe+(Sn=Di&_n)].g=hn+it,Me[Xe+Sn].value=Ir-Xe-Sn}wt.g=bt-it,wt.value=Pr[hr++],He(Me,Ir+(Di>>it),sr,Ei,wt),Di=Tr(Di,bt)}}return fi!=2*An[15]-1?0:an}(w,T,Z,ue,Le,Ne)}function Zt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Qr(){this.G=O(5,Zt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=O(sd,Gt)}function Gr(w,T,Z,ue){a(w!=null),a(T!=null),a(2147483648>ue),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=T,w.pa=Z,w.Jd=T,w.Yc=Z+ue,w.Zc=4<=ue?Z+ue-4+1:Z,Wr(w)}function $r(w,T){for(var Z=0;0ue),w.Sb=ue,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;tr(w)&&(w.h=1,w.u=0)}function wn(w,T){if(a(0<=T),!w.h&&T<=Fu){var Z=Nt(w)&Du[T];return w.u+=T,Rn(w),Z}return w.h=1,w.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Nt(w){return w.Ra>>>(w.u&Vh-1)>>>0}function tr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,T){w.u=T,w.h=tr(w)}function Dr(w){w.u>=eh&&(a(w.u>=eh),Rn(w))}function Wr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Wr(w);var ue=w.b,Le=Z*T>>>8,Ne=(w.I>>>ue>Le)+0;for(Ne?(Z-=Le,w.I-=Le+1<>>0):Z=Le+1,ue=Z,Le=0;256<=ue;)Le+=8,ue>>=8;return ue=7^Le+Wh[ue],w.b-=ue,w.Ca=(Z<>24&255,w[T+1]=Z>>16&255,w[T+2]=Z>>8&255,w[T+3]=255&Z}function Xn(w,T){return w[T+0]|w[T+1]<<8}function Yn(w,T){return Xn(w,T)|w[T+2]<<16}function Ni(w,T){return Xn(w,T)|Xn(w,T+2)<<16}function mt(w,T){var Z=1<=Le||0>=Ne?0:(Z[0]=Le,ue[0]=Ne,1)}function xn(w,T){return w+(1<>>T}function rs(w,T){return((4278255360&w)+(4278255360&T)>>>0&4278255360)+((16711935&w)+(16711935&T)>>>0&16711935)>>>0}function mi(w,T){Rt[T]=function(Z,ue,Le,Ne,Me,Xe,it){var wt;for(wt=0;wt>>1)+(w&T)>>>0}function $a(w){return 0<=w&&256>w?w:0>w?0:255>1))}function Ds(w,T,Z){return Math.abs(T-Z)-Math.abs(w-Z)}function da(w,T,Z,ue,Le,Ne,Me){for(ue=Ne[Me-1],Z=0;Z>8&255,it=16711935&(it=(it=16711935&Me)+((Xe<<16)+Xe));ue[Le+Ne]=(4278255360&Me)+it>>>0}}function Ci(w,T){T.jd=255&w,T.hd=w>>8&255,T.ud=w>>16&255}function Ns(w,T,Z,ue,Le,Ne){var Me;for(Me=0;Me>>8,wt=Xe,sr=255&(sr=(sr=Xe>>>16)+((w.jd<<24>>24)*(it<<24>>24)>>>5));wt=255&(wt=(wt+=(w.hd<<24>>24)*(it<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Le[Ne+Me]=(4278255360&Xe)+(sr<<16)+wt}}function Ri(w,T,Z,ue,Le){Rt[T]=function(Ne,Me,Xe,it,wt,sr,Pr,bt,hr){for(it=Pr;it>Ne.b,hr=Ne.Ea,Ir=Ne.K[0],an=Ne.w;if(8>bt)for(Ne=(1<>=bt}else Rt["VP8LMapColor"+Z](it,wt,Ir,an,sr,Pr,Me,Xe,hr)}}function cl(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne}}function Ta(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne,ue[Le++]=Ne>>24&255}}function Xs(w,T,Z,ue,Le){for(Z=T+Z;T>16&240|Me>>12&15,Me=240&Me|Me>>28&15;ue[Le++]=Ne,ue[Le++]=Me}}function qs(w,T,Z,ue,Le){for(Z=T+Z;T>16&248|Me>>13&7,Me=Me>>5&224|Me>>3&31;ue[Le++]=Ne,ue[Le++]=Me}}function Oo(w,T,Z,ue,Le){for(Z=T+Z;T>8&255,ue[Le++]=Ne>>16&255}}function Gi(w,T,Z,ue,Le,Ne){if(Ne==0)for(Z=T+Z;T>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Le+=32;else u(ue,Le,w,T,Z)}function Bo(w,T){Rt[T][0]=Rt[w+"0"],Rt[T][1]=Rt[w+"1"],Rt[T][2]=Rt[w+"2"],Rt[T][3]=Rt[w+"3"],Rt[T][4]=Rt[w+"4"],Rt[T][5]=Rt[w+"5"],Rt[T][6]=Rt[w+"6"],Rt[T][7]=Rt[w+"7"],Rt[T][8]=Rt[w+"8"],Rt[T][9]=Rt[w+"9"],Rt[T][10]=Rt[w+"10"],Rt[T][11]=Rt[w+"11"],Rt[T][12]=Rt[w+"12"],Rt[T][13]=Rt[w+"13"],Rt[T][14]=Rt[w+"0"],Rt[T][15]=Rt[w+"0"]}function ls(w){return w==q1||w==J1||w==E1||w==eg}function Fs(){this.eb=[],this.size=this.A=this.fb=0}function No(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ra(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Fs,this.f.kb=new No,this.sd=null}function ns(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Za(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function LA(w,T){var Z=w.T,ue=T.ba.f.RGBA,Le=ue.eb,Ne=ue.fb+w.ka*ue.A,Me=Ac[T.ba.S],Xe=w.y,it=w.O,wt=w.f,sr=w.N,Pr=w.ea,bt=w.W,hr=T.cc,Ir=T.dc,an=T.Mc,kr=T.Nc,An=w.ka,hn=w.ka+w.T,Sn=w.U,_n=Sn+1>>1;for(An==0?Me(Xe,it,null,null,wt,sr,Pr,bt,wt,sr,Pr,bt,Le,Ne,null,null,Sn):(Me(T.ec,T.fc,Xe,it,hr,Ir,an,kr,wt,sr,Pr,bt,Le,Ne-ue.A,Le,Ne,Sn),++Z);An+2Z,Le=Z==w1||Z==b1||Z==_1||Z==X1||Z==12||ls(Z);if(T.memory=null,T.Ib=null,T.Jb=null,T.Nd=null,!Up(T.Oa,w,Le?11:12))return 0;if(Le&&ls(Z)&&Fp(),w.da)alert("todo:use_scaling");else{if(ue){if(T.Ib=Gf,w.Kb){if(Z=w.U+1>>1,T.memory=m(w.U+2*Z),T.memory==null)return 0;T.ec=T.memory,T.fc=0,T.cc=T.ec,T.dc=T.fc+w.U,T.Mc=T.cc,T.Nc=T.dc+Z,T.Ib=LA,Fp()}}else alert("todo:EmitYUV");Le&&(T.Jb=j0,ue&&kc())}if(ue&&!Ng){for(w=0;256>w;++w)wm[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,_m[w]=-45773*(w-128),bm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=a0(T,255),xm[w-Gp]=a0(T+8>>4,15);Ng=1}return 1}function is(w){var T=w.ma,Z=w.U,ue=w.T;return a(!(1&w.ka)),0>=Z||0>=ue?0:(Z=T.Ib(w,T),T.Jb!=null&&T.Jb(w,T,Z),T.Dc+=Z,1)}function H0(w){w.ma.memory=null}function K0(w,T,Z,ue){return wn(w,8)!=47?0:(T[0]=wn(w,14)+1,Z[0]=wn(w,14)+1,ue[0]=wn(w,1),wn(w,3)!=0?0:!w.h)}function tc(w,T){if(4>w)return w+1;var Z=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&Z)))?Z:1;var Z}function ol(w,T,Z){var ue=Nt(Z),Le=w[T+=255&ue].g-8;return 0>>0,a(8>=Z.g),w.g}function pA(w,T,Z){var ue=w.xc;return a((T=ue==0?0:w.vc[w.md*(Z>>ue)+(T>>ue)])>Ei.b)*fi;anSn&&(Bi=Sn),(0,Mp[pa[Wl++]>>8&15])(bt,hr+ +zs,An,hn+zs-Sn,Bi-zs,An,hn+zs),zs=Bi}hr+=Sn,hn+=Sn,++an&Di||(Ei+=fi)}Pr!=wt.nc&&u(it,Xe-Ir,it,Xe+(Pr-sr-1)*Ir,Ir);break;case 1:for(Ir=bt,kr=hr,Sn=(bt=wt.Ea)-(hn=bt&~(An=(hr=1<>wt.b)*an;sr=Le),0Ne.o&&(ue=Ne.o),Z=ue?Z=0:(Le[0]+=4*Ne.v,Ne.ka=Z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=ue-Z,Z=1),Z){if(Xe=Xe[0],11>(Z=w.ca).S){var sr=Z.f.RGBA,Pr=(ue=Z.S,Le=Ne.U,Ne=Ne.T,wt=sr.eb,sr.A),bt=Ne;for(sr=sr.fb+w.Ma*sr.A;0ue){var Le=w.l.width,Ne=Z.ca,Me=Z.tb+Le*ue,Xe=w.V,it=w.Ba+w.c*ue,wt=w.gc;a(w.ab==1),a(wt[0].hc==3),u0(wt[0],ue,T,Xe,it,Ne,Me),i0(Z,ue,T,Ne,Me,Le)}w.C=w.Ma=T}function Fc(w,T,Z,ue,Le,Ne,Me){var Xe=w.$/ue,it=w.$%ue,wt=w.m,sr=w.s,Pr=Z+w.$,bt=Pr;Le=Z+ue*Le;var hr=Z+ue*Ne,Ir=280+sr.ua,an=w.Pb?Xe:16777216,kr=0=an){var Di=Pr-Z;a((an=w).Pb),an.wd=an.m,an.xd=Di,0Ks.g?(fr(_n,_n.u+Ks.g),Di[fi]=Ks.value,_n=0):(fr(_n,_n.u+Ks.g-256),a(256<=Ks.value),_n=Ks.value),_n==0&&(Sn=!0)}else _n=ol(hn.G[0],hn.H[0],wt);if(wt.h)break;if(Sn||256>_n){if(!Sn)if(hn.nd)T[Pr]=(hn.qb|_n<<8)>>>0;else{if(Dr(wt),Sn=ol(hn.G[1],hn.H[1],wt),Dr(wt),Di=ol(hn.G[2],hn.H[2],wt),fi=ol(hn.G[3],hn.H[3],wt),wt.h)break;T[Pr]=(fi<<24|Sn<<16|_n<<8|Di)>>>0}if(Sn=!1,++Pr,++it>=ue&&(it=0,++Xe,Me!=null&&Xe<=Ne&&!(Xe%16)&&Me(w,Xe),kr!=null))for(;bt>>kr.Mb]=_n}else if(280>_n){if(_n=tc(_n-256,wt),Di=ol(hn.G[4],hn.H[4],wt),Dr(wt),Di=rc(ue,Di=tc(Di,wt)),wt.h)break;if(Pr-Z=ue;)it-=ue,++Xe,Me!=null&&Xe<=Ne&&!(Xe%16)&&Me(w,Xe);if(a(Pr<=Le),it&An&&(hn=pA(sr,it,Xe)),kr!=null)for(;bt>>kr.Mb]=_n}else{if(!(_n>>kr.Mb]=_n;_n=Pr,a(!(Sn>>>(Di=kr).Xa)),T[_n]=Di.X[Sn],Sn=!0}Sn||a(wt.h==tr(wt))}if(w.Pb&&wt.h&&PrNe?Ne:Xe),w.a=0,w.$=Pr-Z}return 1}return w.a=3,0}function nc(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var T=w.Wa;T!=null&&(T.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Es;return w==null?null:(w.a=0,w.xb=Fg,Bo("Predictor","VP8LPredictors"),Bo("Predictor","VP8LPredictors_C"),Bo("PredictorAdd","VP8LPredictorsAdd"),Bo("PredictorAdd","VP8LPredictorsAdd_C"),hl=Aa,Qp=Ns,jp=cl,$h=Ta,Zh=Xs,Yh=qs,ad=Oo,Rt.VP8LMapColor32b=A0,Rt.VP8LMapColor8b=Np,w)}function s0(w,T,Z,ue,Le){var Ne=1,Me=[w],Xe=[T],it=ue.m,wt=ue.s,sr=null,Pr=0;e:for(;;){if(Z)for(;Ne&&wn(it,1);){var bt=Me,hr=Xe,Ir=ue,an=1,kr=Ir.m,An=Ir.gc[Ir.ab],hn=wn(kr,2);if(Ir.Oc&1<=Ir.ab),hn){case 0:case 1:An.b=wn(kr,3)+2,an=s0(xn(An.Ea,An.b),xn(An.nc,An.b),0,Ir,An.K),An.K=An.K[0];break;case 3:var Sn,_n=wn(kr,8)+1,Di=16<_n?0:4<_n?1:2<_n?2:3;if(bt[0]=xn(An.Ea,Di),An.b=Di,Sn=an=s0(_n,1,0,Ir,An.K)){var fi,Ks=_n,Ei=An,pa=1<<(8>>Ei.b),Wl=m(pa);if(Wl==null)Sn=0;else{var zs=Ei.K[0],Bi=Ei.w;for(Wl[0]=Ei.K[0][0],fi=1;fi<1*Ks;++fi)Wl[fi]=rs(zs[Bi+fi],Wl[fi-1]);for(;fi<4*pa;++fi)Wl[fi]=0;Ei.K[0]=null,Ei.K[0]=Wl,Sn=1}}an=Sn;break;case 2:break;default:a(0)}Ne=an}}if(Me=Me[0],Xe=Xe[0],Ne&&wn(it,1)&&!(Ne=1<=(Pr=wn(it,4))&&11>=Pr)){ue.a=3;break e}var Kn;if(Kn=Ne)t:{var dl,Rs,wa,Fo=ue,vA=Me,VA=Xe,ll=Pr,DA=Z,WA=Fo.m,$l=Fo.s,La=[null],eo=1,Al=0,to=om[ll];r:for(;;){if(DA&&wn(WA,1)){var yA=wn(WA,3)+2,Pc=xn(vA,yA),pl=xn(VA,yA),hu=Pc*pl;if(!s0(Pc,pl,0,Fo,La))break r;for(La=La[0],$l.xc=yA,dl=0;dl>8&65535;La[dl]=mo,mo>=eo&&(eo=mo+1)}}if(WA.h)break r;for(Rs=0;5>Rs;++Rs){var Zl=Lg[Rs];!Rs&&0=$A),Pu=Uu;var fu=m(Al);if(Pu==null||fu==null||ku==null){Fo.a=1;break r}var Ou=ku;for(dl=wa=0;dlRs;++Rs){Zl=Lg[Rs],Nu[Rs]=Ou,Oc[Rs]=wa,!Rs&&0D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Um=qd==16,Zg=qd-16,Pm=nm[Zg],Yg=wn(tf,rm[Zg])+Pm;if(Wp+Yg>D1)break n;for(var Om=Um?Vg:0;0=Rs){var $p,lg=fu[0];for($p=1;$plg&&(lg=fu[$p]);wA+=lg}}if(Co.nd=nh,Co.Qb=0,nh&&(Co.qb=(Nu[3][Oc[3]+0].value<<24|Nu[1][Oc[1]+0].value<<16|Nu[2][Oc[2]+0].value)>>>0,ld==0&&256>Nu[0][Oc[0]+0].value&&(Co.Qb=1,Co.qb+=Nu[0][Oc[0]+0].value<<8)),Co.jc=!Co.Qb&&6>wA,Co.jc){var F1,ih=Co;for(F1=0;F1>=nA(R1,8,nf),rf>>=nA(ih.G[1][ih.H[1]+rf],16,nf),rf>>=nA(ih.G[2][ih.H[2]+rf],0,nf),nA(ih.G[3][ih.H[3]+rf],24,nf))}}}$l.vc=La,$l.Wb=eo,$l.Ya=Pu,$l.yc=ku,Kn=1;break t}Kn=0}if(!(Ne=Kn)){ue.a=3;break e}if(0ue+1?[]:0),!(Le.lengthw?0:w>T?T:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Il(w,T,Z){return w.a==0&&(w.a=T,w.sc=Z,w.cb=0),0}function i1(w,T,Z){return 3<=Z&&w[T+0]==157&&w[T+1]==1&&w[T+2]==42}function o0(w,T){if(w==null)return 0;if(w.a=0,w.sc="OK",T==null)return Il(w,2,"null VP8Io passed to VP8GetHeaders()");var Z=T.data,ue=T.w,Le=T.ha;if(4>Le)return Il(w,7,"Truncated header.");var Ne=Z[ue+0]|Z[ue+1]<<8|Z[ue+2]<<16,Me=w.Od;if(Me.Rb=!(1&Ne),Me.td=Ne>>1&7,Me.yd=Ne>>4&1,Me.ub=Ne>>5,3Le)return Il(w,7,"cannot parse picture header");if(!i1(Z,ue,Le))return Il(w,3,"Bad code word");Xe.c=16383&(Z[ue+4]<<8|Z[ue+3]),Xe.Td=Z[ue+4]>>6,Xe.i=16383&(Z[ue+6]<<8|Z[ue+5]),Xe.Ud=Z[ue+6]>>6,ue+=7,Le-=7,w.za=Xe.c+15>>4,w.Ub=Xe.i+15>>4,T.width=Xe.c,T.height=Xe.i,T.Da=0,T.j=0,T.v=0,T.va=T.width,T.o=T.height,T.da=0,T.ib=T.width,T.hb=T.height,T.U=T.width,T.T=T.height,d((Ne=w.Pa).jb,0,255,Ne.jb.length),a((Ne=w.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,d(Ne.Zb,0,0,Ne.Zb.length),d(Ne.Lb,0,0,Ne.Lb)}if(Me.ub>Le)return Il(w,7,"bad partition length");Gr(Ne=w.m,Z,ue,Me.ub),ue+=Me.ub,Le-=Me.ub,Me.Rb&&(Xe.Ld=Xr(Ne),Xe.Kd=Xr(Ne)),Xe=w.Qa;var it,wt=w.Pa;if(a(Ne!=null),a(Xe!=null),Xe.Cb=Xr(Ne),Xe.Cb){if(Xe.Bb=Xr(Ne),Xr(Ne)){for(Xe.Fb=Xr(Ne),it=0;4>it;++it)Xe.Zb[it]=Xr(Ne)?Ur(Ne,7):0;for(it=0;4>it;++it)Xe.Lb[it]=Xr(Ne)?Ur(Ne,6):0}if(Xe.Bb)for(it=0;3>it;++it)wt.jb[it]=Xr(Ne)?$r(Ne,8):255}else Xe.Bb=0;if(Ne.Ka)return Il(w,3,"cannot parse segment header");if((Xe=w.ed).zd=Xr(Ne),Xe.Tb=$r(Ne,6),Xe.wb=$r(Ne,3),Xe.Pc=Xr(Ne),Xe.Pc&&Xr(Ne)){for(wt=0;4>wt;++wt)Xr(Ne)&&(Xe.vd[wt]=Ur(Ne,6));for(wt=0;4>wt;++wt)Xr(Ne)&&(Xe.od[wt]=Ur(Ne,6))}if(w.L=Xe.Tb==0?0:Xe.zd?1:2,Ne.Ka)return Il(w,3,"cannot parse filter header");var sr=Le;if(Le=it=ue,ue=it+sr,Xe=sr,w.Xb=(1<<$r(w.m,2))-1,sr<3*(wt=w.Xb))Z=7;else{for(it+=3*wt,Xe-=3*wt,sr=0;srXe&&(Pr=Xe),Gr(w.Jc[+sr],Z,it,Pr),it+=Pr,Xe-=Pr,Le+=3}Gr(w.Jc[+wt],Z,it,Xe),Z=itPr;++Pr){if(sr.Cb){var bt=sr.Zb[Pr];sr.Fb||(bt+=Z)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[a0(bt+wt,117)],hr.Qc[1]=rg[a0(bt+it,127)],hr.lc=bt+it}if(!Me.Rb)return Il(w,4,"Not a key frame.");for(Xr(Ne),Me=w.Pa,Z=0;4>Z;++Z){for(Le=0;8>Le;++Le)for(ue=0;3>ue;++ue)for(Xe=0;11>Xe;++Xe)wt=dn(Ne,fm[Z][Le][ue][Xe])?$r(Ne,8):cm[Z][Le][ue][Xe],Me.Wc[Z][Le].Yb[ue][Xe]=wt;for(Le=0;17>Le;++Le)Me.Xc[Z][Le]=Me.Wc[Z][dm[Le]]}return w.kc=Xr(Ne),w.kc&&(w.Bd=$r(Ne,8)),w.cb=1}function zd(w,T,Z,ue,Le,Ne,Me){var Xe=T[Le].Yb[Z];for(Z=0;16>Le;++Le){if(!dn(w,Xe[Z+0]))return Le;for(;!dn(w,Xe[Z+1]);)if(Xe=T[++Le].Yb[0],Z=0,Le==16)return 16;var it=T[Le+1].Yb;if(dn(w,Xe[Z+2])){var wt=w,sr=0;if(dn(wt,(bt=Xe)[(Pr=Z)+3]))if(dn(wt,bt[Pr+6])){for(Xe=0,Pr=2*(sr=dn(wt,bt[Pr+8]))+(bt=dn(wt,bt[Pr+9+sr])),sr=0,bt=Am[Pr];bt[Xe];++Xe)sr+=sr+dn(wt,bt[Xe]);sr+=3+(8<(wt=w).b&&Wr(wt);var Pr,bt=wt.b,hr=(Pr=wt.Ca>>1)-(wt.I>>bt)>>31;--wt.b,wt.Ca+=hr,wt.Ca|=1,wt.I-=(Pr+1&hr)<>3),w[T+Z+32*ue]=-256&Le?0>Le?0:255:Le}function zl(w,T,Z,ue,Le,Ne){sc(w,T,0,Z,ue+Le),sc(w,T,1,Z,ue+Ne),sc(w,T,2,Z,ue-Ne),sc(w,T,3,Z,ue-Le)}function z0(w){return(20091*w>>16)+w}function a1(w,T,Z,ue){var Le,Ne=0,Me=m(16);for(Le=0;4>Le;++Le){var Xe=w[T+0]+w[T+8],it=w[T+0]-w[T+8],wt=(35468*w[T+4]>>16)-z0(w[T+12]),sr=z0(w[T+4])+(35468*w[T+12]>>16);Me[Ne+0]=Xe+sr,Me[Ne+1]=it+wt,Me[Ne+2]=it-wt,Me[Ne+3]=Xe-sr,Ne+=4,T++}for(Le=Ne=0;4>Le;++Le)Xe=(w=Me[Ne+0]+4)+Me[Ne+8],it=w-Me[Ne+8],wt=(35468*Me[Ne+4]>>16)-z0(Me[Ne+12]),sc(Z,ue,0,0,Xe+(sr=z0(Me[Ne+4])+(35468*Me[Ne+12]>>16))),sc(Z,ue,1,0,it+wt),sc(Z,ue,2,0,it-wt),sc(Z,ue,3,0,Xe-sr),Ne++,ue+=32}function P1(w,T,Z,ue){var Le=w[T+0]+4,Ne=35468*w[T+4]>>16,Me=z0(w[T+4]),Xe=35468*w[T+1]>>16;zl(Z,ue,0,Le+Me,w=z0(w[T+1]),Xe),zl(Z,ue,1,Le+Ne,w,Xe),zl(Z,ue,2,Le-Ne,w,Xe),zl(Z,ue,3,Le-Me,w,Xe)}function O1(w,T,Z,ue,Le){a1(w,T,Z,ue),Le&&a1(w,T+16,Z,ue+4)}function l0(w,T,Z,ue){od(w,T+0,Z,ue,1),od(w,T+32,Z,ue+128,1)}function o1(w,T,Z,ue){var Le;for(w=w[T+0]+4,Le=0;4>Le;++Le)for(T=0;4>T;++T)sc(Z,ue,T,Le,w)}function l1(w,T,Z,ue){w[T+0]&&Ya(w,T+0,Z,ue),w[T+16]&&Ya(w,T+16,Z,ue+4),w[T+32]&&Ya(w,T+32,Z,ue+128),w[T+48]&&Ya(w,T+48,Z,ue+128+4)}function Gd(w,T,Z,ue){var Le,Ne=m(16);for(Le=0;4>Le;++Le){var Me=w[T+0+Le]+w[T+12+Le],Xe=w[T+4+Le]+w[T+8+Le],it=w[T+4+Le]-w[T+8+Le],wt=w[T+0+Le]-w[T+12+Le];Ne[0+Le]=Me+Xe,Ne[8+Le]=Me-Xe,Ne[4+Le]=wt+it,Ne[12+Le]=wt-it}for(Le=0;4>Le;++Le)Me=(w=Ne[0+4*Le]+3)+Ne[3+4*Le],Xe=Ne[1+4*Le]+Ne[2+4*Le],it=Ne[1+4*Le]-Ne[2+4*Le],wt=w-Ne[3+4*Le],Z[ue+0]=Me+Xe>>3,Z[ue+16]=wt+it>>3,Z[ue+32]=Me-Xe>>3,Z[ue+48]=wt-it>>3,ue+=64}function Zf(w,T,Z){var ue,Le=T-32,Ne=Ru,Me=255-w[Le-1];for(ue=0;ueZ;++Z)u(w,T+32*Z,w,T-32,16)}function A1(w,T){var Z;for(Z=16;0ue;++ue)d(T,Z+32*ue,w,16)}function j1(w,T){var Z,ue=16;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z]+w[T+Z-32];Rc(ue>>5,w,T)}function Yf(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z];Rc(ue>>4,w,T)}function xp(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T+Z-32];Rc(ue>>4,w,T)}function H1(w,T){Rc(128,w,T)}function Ss(w,T,Z){return w+2*T+Z+2>>2}function K1(w,T){var Z,ue=T-32;for(ue=new Uint8Array([Ss(w[ue-1],w[ue+0],w[ue+1]),Ss(w[ue+0],w[ue+1],w[ue+2]),Ss(w[ue+1],w[ue+2],w[ue+3]),Ss(w[ue+2],w[ue+3],w[ue+4])]),Z=0;4>Z;++Z)u(w,T+32*Z,ue,0,ue.length)}function z1(w,T){var Z=w[T-1],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];In(w,T+0,16843009*Ss(w[T-1-32],Z,ue)),In(w,T+32,16843009*Ss(Z,ue,Le)),In(w,T+64,16843009*Ss(ue,Le,Ne)),In(w,T+96,16843009*Ss(Le,Ne,Ne))}function G1(w,T){var Z,ue=4;for(Z=0;4>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];for(ue>>=3,Z=0;4>Z;++Z)d(w,T+32*Z,ue,4)}function G0(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Xe=w[T+1-32],it=w[T+2-32],wt=w[T+3-32];w[T+0+96]=Ss(ue,Le,w[T-1+96]),w[T+1+96]=w[T+0+64]=Ss(Z,ue,Le),w[T+2+96]=w[T+1+64]=w[T+0+32]=Ss(Ne,Z,ue),w[T+3+96]=w[T+2+64]=w[T+1+32]=w[T+0+0]=Ss(Me,Ne,Z),w[T+3+64]=w[T+2+32]=w[T+1+0]=Ss(Xe,Me,Ne),w[T+3+32]=w[T+2+0]=Ss(it,Xe,Me),w[T+3+0]=Ss(wt,it,Xe)}function V0(w,T){var Z=w[T+1-32],ue=w[T+2-32],Le=w[T+3-32],Ne=w[T+4-32],Me=w[T+5-32],Xe=w[T+6-32],it=w[T+7-32];w[T+0+0]=Ss(w[T+0-32],Z,ue),w[T+1+0]=w[T+0+32]=Ss(Z,ue,Le),w[T+2+0]=w[T+1+32]=w[T+0+64]=Ss(ue,Le,Ne),w[T+3+0]=w[T+2+32]=w[T+1+64]=w[T+0+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+64]=w[T+1+96]=Ss(Ne,Me,Xe),w[T+3+64]=w[T+2+96]=Ss(Me,Xe,it),w[T+3+96]=Ss(Xe,it,it)}function V1(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Xe=w[T+1-32],it=w[T+2-32],wt=w[T+3-32];w[T+0+0]=w[T+1+64]=Ne+Me+1>>1,w[T+1+0]=w[T+2+64]=Me+Xe+1>>1,w[T+2+0]=w[T+3+64]=Xe+it+1>>1,w[T+3+0]=it+wt+1>>1,w[T+0+96]=Ss(Le,ue,Z),w[T+0+64]=Ss(ue,Z,Ne),w[T+0+32]=w[T+1+96]=Ss(Z,Ne,Me),w[T+1+32]=w[T+2+96]=Ss(Ne,Me,Xe),w[T+2+32]=w[T+3+96]=Ss(Me,Xe,it),w[T+3+32]=Ss(Xe,it,wt)}function W1(w,T){var Z=w[T+0-32],ue=w[T+1-32],Le=w[T+2-32],Ne=w[T+3-32],Me=w[T+4-32],Xe=w[T+5-32],it=w[T+6-32],wt=w[T+7-32];w[T+0+0]=Z+ue+1>>1,w[T+1+0]=w[T+0+64]=ue+Le+1>>1,w[T+2+0]=w[T+1+64]=Le+Ne+1>>1,w[T+3+0]=w[T+2+64]=Ne+Me+1>>1,w[T+0+32]=Ss(Z,ue,Le),w[T+1+32]=w[T+0+96]=Ss(ue,Le,Ne),w[T+2+32]=w[T+1+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+96]=Ss(Ne,Me,Xe),w[T+3+64]=Ss(Me,Xe,it),w[T+3+96]=Ss(Xe,it,wt)}function Vd(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];w[T+0+0]=Z+ue+1>>1,w[T+2+0]=w[T+0+32]=ue+Le+1>>1,w[T+2+32]=w[T+0+64]=Le+Ne+1>>1,w[T+1+0]=Ss(Z,ue,Le),w[T+3+0]=w[T+1+32]=Ss(ue,Le,Ne),w[T+3+32]=w[T+1+64]=Ss(Le,Ne,Ne),w[T+3+64]=w[T+2+64]=w[T+0+96]=w[T+1+96]=w[T+2+96]=w[T+3+96]=Ne}function Cp(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96],Me=w[T-1-32],Xe=w[T+0-32],it=w[T+1-32],wt=w[T+2-32];w[T+0+0]=w[T+2+32]=Z+Me+1>>1,w[T+0+32]=w[T+2+64]=ue+Z+1>>1,w[T+0+64]=w[T+2+96]=Le+ue+1>>1,w[T+0+96]=Ne+Le+1>>1,w[T+3+0]=Ss(Xe,it,wt),w[T+2+0]=Ss(Me,Xe,it),w[T+1+0]=w[T+3+32]=Ss(Z,Me,Xe),w[T+1+32]=w[T+3+64]=Ss(ue,Z,Me),w[T+1+64]=w[T+3+96]=Ss(Le,ue,Z),w[T+1+96]=Ss(Ne,Le,ue)}function Xf(w,T){var Z;for(Z=0;8>Z;++Z)u(w,T+32*Z,w,T-32,8)}function $1(w,T){var Z;for(Z=0;8>Z;++Z)d(w,T,w[T-1],8),T+=32}function W0(w,T,Z){var ue;for(ue=0;8>ue;++ue)d(T,Z+32*ue,w,8)}function Z1(w,T){var Z,ue=8;for(Z=0;8>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];W0(ue>>4,w,T)}function Sp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T+Z-32];W0(ue>>3,w,T)}function Tp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T-1+32*Z];W0(ue>>3,w,T)}function u1(w,T){W0(128,w,T)}function $0(w,T,Z){var ue=w[T-Z],Le=w[T+0],Ne=3*(Le-ue)+Y1[1020+w[T-2*Z]-w[T+Z]],Me=v1[112+(Ne+4>>3)];w[T-Z]=Ru[255+ue+v1[112+(Ne+3>>3)]],w[T+0]=Ru[255+Le-Me]}function Ip(w,T,Z,ue){var Le=w[T+0],Ne=w[T+Z];return lc[255+w[T-2*Z]-w[T-Z]]>ue||lc[255+Ne-Le]>ue}function Wd(w,T,Z,ue){return 4*lc[255+w[T-Z]-w[T+0]]+lc[255+w[T-2*Z]-w[T+Z]]<=ue}function Lp(w,T,Z,ue,Le){var Ne=w[T-3*Z],Me=w[T-2*Z],Xe=w[T-Z],it=w[T+0],wt=w[T+Z],sr=w[T+2*Z],Pr=w[T+3*Z];return 4*lc[255+Xe-it]+lc[255+Me-wt]>ue?0:lc[255+w[T-4*Z]-Ne]<=Le&&lc[255+Ne-Me]<=Le&&lc[255+Me-Xe]<=Le&&lc[255+Pr-sr]<=Le&&lc[255+sr-wt]<=Le&&lc[255+wt-it]<=Le}function qf(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue,Z,Le)&&$0(w,T+ue,Z)}function Dp(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue*Z,1,Le)&&$0(w,T+ue*Z,1)}function c1(w,T,Z,ue){var Le;for(Le=3;0>7,An=18*hn+63>>7,hn=9*hn+63>>7;it[wt-3*sr]=Ru[255+it[wt-3*sr]+hn],it[wt-2*sr]=Ru[255+Pr+An],it[wt-sr]=Ru[255+bt+kr],it[wt+0]=Ru[255+hr-kr],it[wt+sr]=Ru[255+Ir-An],it[wt+2*sr]=Ru[255+an-hn]}T+=ue}}function Y0(w,T,Z,ue,Le,Ne,Me,Xe){for(Ne=2*Ne+1;0>3)],an=v1[112+(an+3>>3)],kr=Ir+1>>1;it[wt-2*sr]=Ru[255+it[wt-2*sr]+kr],it[wt-sr]=Ru[255+Pr+an],it[wt+0]=Ru[255+bt-Ir],it[wt+sr]=Ru[255+hr-kr]}T+=ue}}function f1(w,T,Z,ue,Le,Ne){Z0(w,T,Z,1,16,ue,Le,Ne)}function Jf(w,T,Z,ue,Le,Ne){Z0(w,T,1,Z,16,ue,Le,Ne)}function d1(w,T,Z,ue,Le,Ne){var Me;for(Me=3;0wt?0:255:wt)&255,wt=it,Le[Ne+Xe]=sr}}function xo(w,T,Z,ue){var Le=T.width,Ne=T.o;if(a(w!=null&&T!=null),0>Z||0>=ue||Z+ue>Ne)return null;if(!w.Cc){if(w.ga==null){var Me;if(w.ga=new Ms,(Me=w.ga==null)||(Me=T.width*T.o,a(w.Gb.length==0),w.Gb=m(Me),w.Uc=0,w.Gb==null?Me=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Me=1),Me=!Me),!Me){Me=w.ga;var Xe=w.Fa,it=w.P,wt=w.qc,sr=w.mb,Pr=w.nb,bt=it+1,hr=wt-1,Ir=Me.l;if(a(Xe!=null&&sr!=null&&T!=null),Jh[0]=null,Jh[1]=Ia,Jh[2]=Jo,Jh[3]=Ll,Me.ca=sr,Me.tb=Pr,Me.c=T.width,Me.i=T.height,a(0=wt)T=0;else if(Me.$a=3&Xe[it+0],Me.Z=Xe[it+0]>>2&3,Me.Lc=Xe[it+0]>>4&3,it=Xe[it+0]>>6&3,0>Me.$a||1=Me.c*Me.i;Me=!T}if(Me)return null;w.ga.Lc!=1?w.Ga=0:ue=Ne-Z}a(w.ga!=null),a(Z+ue<=Ne);e:{if(T=(Xe=w.ga).c,Ne=Xe.l.o,Xe.$a==0){if(bt=w.rc,hr=w.Vc,Ir=w.Fa,it=w.P+1+Z*T,wt=w.mb,sr=w.nb+Z*T,a(it<=w.P+w.qc),Xe.Z!=0)for(a(Jh[Xe.Z]!=null),Me=0;Me=T)T=1;else if(Xe.ic||kc(),Xe.ic){Xe=Me.V,bt=Me.Ba,hr=Me.c;var an=Me.i,kr=(Ir=1,it=Me.$/hr,wt=Me.$%hr,sr=Me.m,Pr=Me.s,Me.$),An=hr*an,hn=hr*T,Sn=Pr.wc,_n=kr(an=ol(_n.G[0],_n.H[0],sr)))Xe[bt+kr]=an,++kr,++wt>=hr&&(wt=0,++it<=T&&!(it%16)&&Dc(Me,it));else{if(!(280>an)){Ir=0;break t}an=tc(an-256,sr);var Di,fi=ol(_n.G[4],_n.H[4],sr);if(Dr(sr),!(kr>=(fi=rc(hr,fi=tc(fi,sr)))&&An-kr>=an)){Ir=0;break t}for(Di=0;Di=hr;)wt-=hr,++it<=T&&!(it%16)&&Dc(Me,it);krT?T:it);break t}!Ir||sr.h&&kr=Ne&&(w.Cc=1),ue=1}if(!ue)return null;if(w.Cc&&((ue=w.ga)!=null&&(ue.mc=null),w.ga=null,0>23,Xe[it+4*Me+1]=Xe[it+4*Me+1]*Pr>>23,Xe[it+4*Me+2]=Xe[it+4*Me+2]*Pr>>23)}T+=Ne}}function Dl(w,T,Z,ue,Le){for(;0>4)*it>>16;w[T+2*Ne+0]=(240&Me|Me>>4)*it>>16&240|(15&Me|Me<<4)*it>>16>>4&15,w[T+2*Ne+1]=240&wt|Xe}T+=Le}}function gA(w,T,Z,ue,Le,Ne,Me,Xe){var it,wt,sr=255;for(wt=0;wt>8}function kc(){Kp=Gl,wg=Dl,bg=gA,_g=X0}function q0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Xe,it,wt,sr,Pr,bt,hr,Ir,an,kr,An,hn,Sn){var _n,Di=Sn-1>>1,fi=Xe[it+0]|wt[sr+0]<<16,Ks=Pr[bt+0]|hr[Ir+0]<<16;a(ue!=null);var Ei=3*fi+Ks+131074>>2;for(T(ue[Le+0],255&Ei,Ei>>16,an,kr),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+0],255&Ei,Ei>>16,An,hn)),_n=1;_n<=Di;++_n){var pa=Xe[it+_n]|wt[sr+_n]<<16,Wl=Pr[bt+_n]|hr[Ir+_n]<<16,zs=fi+pa+Ks+Wl+524296,Bi=zs+2*(pa+Ks)>>3;Ei=Bi+fi>>1,fi=(zs=zs+2*(fi+Wl)>>3)+pa>>1,T(ue[Le+2*_n-1],255&Ei,Ei>>16,an,kr+(2*_n-1)*Z),T(ue[Le+2*_n-0],255&fi,fi>>16,an,kr+(2*_n-0)*Z),Ne!=null&&(Ei=zs+Ks>>1,fi=Bi+Wl>>1,T(Ne[Me+2*_n-1],255&Ei,Ei>>16,An,hn+(2*_n-1)*Z),T(Ne[Me+2*_n+0],255&fi,fi>>16,An,hn+(2*_n+0)*Z)),fi=pa,Ks=Wl}1&Sn||(Ei=3*fi+Ks+131074>>2,T(ue[Le+Sn-1],255&Ei,Ei>>16,an,kr+(Sn-1)*Z),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+Sn-1],255&Ei,Ei>>16,An,hn+(Sn-1)*Z)))}}function Fp(){Ac[y1]=gm,Ac[w1]=Rg,Ac[Tg]=mm,Ac[b1]=kg,Ac[_1]=Ug,Ac[X1]=Pg,Ac[Ig]=vm,Ac[q1]=Rg,Ac[J1]=kg,Ac[E1]=Ug,Ac[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,T){return $d((19077*w>>8)+(26149*T>>8)-14234)}function ed(w,T,Z){return $d((19077*w>>8)-(6419*T>>8)-(13320*Z>>8)+8708)}function td(w,T){return $d((19077*w>>8)+(33050*T>>8)-17685)}function zh(w,T,Z,ue,Le){ue[Le+0]=Kh(w,Z),ue[Le+1]=ed(w,T,Z),ue[Le+2]=td(w,T)}function mA(w,T,Z,ue,Le){ue[Le+0]=td(w,T),ue[Le+1]=ed(w,T,Z),ue[Le+2]=Kh(w,Z)}function rd(w,T,Z,ue,Le){var Ne=ed(w,T,Z);T=Ne<<3&224|td(w,T)>>3,ue[Le+0]=248&Kh(w,Z)|Ne>>5,ue[Le+1]=T}function nd(w,T,Z,ue,Le){var Ne=240&td(w,T)|15;ue[Le+0]=240&Kh(w,Z)|ed(w,T,Z)>>4,ue[Le+1]=Ne}function Rp(w,T,Z,ue,Le){ue[Le+0]=255,zh(w,T,Z,ue,Le+1)}function kp(w,T,Z,ue,Le){mA(w,T,Z,ue,Le),ue[Le+3]=255}function GA(w,T,Z,ue,Le){zh(w,T,Z,ue,Le),ue[Le+3]=255}function J0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Xe,it,wt,sr,Pr){for(var bt=sr+(-2&Pr)*Z;sr!=bt;)T(ue[Le+0],Ne[Me+0],Xe[it+0],wt,sr),T(ue[Le+1],Ne[Me+0],Xe[it+0],wt,sr+Z),Le+=2,++Me,++it,sr+=2*Z;1&Pr&&T(ue[Le+0],Ne[Me+0],Xe[it+0],wt,sr)}}function Zd(w,T,Z){return Z==0?w==0?T==0?6:5:T==0?4:0:Z}function p1(w,T,Z,ue,Le){switch(w>>>30){case 3:od(T,Z,ue,Le,0);break;case 2:oc(T,Z,ue,Le);break;case 1:Ya(T,Z,ue,Le)}}function ac(w,T){var Z,ue,Le=T.M,Ne=T.Nb,Me=w.oc,Xe=w.pc+40,it=w.oc,wt=w.pc+584,sr=w.oc,Pr=w.pc+600;for(Z=0;16>Z;++Z)Me[Xe+32*Z-1]=129;for(Z=0;8>Z;++Z)it[wt+32*Z-1]=129,sr[Pr+32*Z-1]=129;for(0Z;++Z)u(Me,Xe+32*Z-4,Me,Xe+32*Z+12,4);for(Z=-1;8>Z;++Z)u(it,wt+32*Z-4,it,wt+32*Z+4,4),u(sr,Pr+32*Z-4,sr,Pr+32*Z+4,4)}var hr=w.Gd,Ir=w.Hd+ue,an=bt.ad,kr=bt.Hc;if(0=w.za-1?d(An,hn,hr[Ir].y[15],4):u(An,hn,hr[Ir+1].y,0,4)),Z=0;4>Z;Z++)An[hn+128+Z]=An[hn+256+Z]=An[hn+384+Z]=An[hn+0+Z];for(Z=0;16>Z;++Z,kr<<=2)An=Me,hn=Xe+Mg[Z],Uc[bt.Ob[Z]](An,hn),p1(kr,an,16*+Z,An,hn)}else if(An=Zd(ue,Le,bt.Ob[0]),qh[An](Me,Xe),kr!=0)for(Z=0;16>Z;++Z,kr<<=2)p1(kr,an,16*+Z,Me,Xe+Mg[Z]);for(Z=bt.Gc,An=Zd(ue,Le,bt.Dd),rh[An](it,wt),rh[An](sr,Pr),kr=an,An=it,hn=wt,255&(bt=0|Z)&&(170&bt?c0(kr,256,An,hn):go(kr,256,An,hn)),bt=sr,kr=Pr,255&(Z>>=8)&&(170&Z?c0(an,320,bt,kr):go(an,320,bt,kr)),LeZ;++Z)u(hr,Ir+Z*w.R,Me,Xe+32*Z,16);for(Z=0;8>Z;++Z)u(an,bt+Z*w.B,it,wt+32*Z,8),u(kr,An+Z*w.B,sr,Pr+32*Z,8)}}function id(w,T,Z,ue,Le,Ne,Me,Xe,it){var wt=[0],sr=[0],Pr=0,bt=it!=null?it.kd:0,hr=it!=null?it:new bn;if(w==null||12>Z)return 7;hr.data=w,hr.w=T,hr.ha=Z,T=[T],Z=[Z],hr.gb=[hr.gb];e:{var Ir=T,an=Z,kr=hr.gb;if(a(w!=null),a(an!=null),a(kr!=null),kr[0]=0,12<=an[0]&&!s(w,Ir[0],"RIFF")){if(s(w,Ir[0]+8,"WEBP")){kr=3;break e}var An=Ni(w,Ir[0]+4);if(12>An||4294967286an[0]-8){kr=7;break e}kr[0]=An,Ir[0]+=12,an[0]-=12}kr=0}if(kr!=0)return kr;for(An=0kr[0])kr=7;else{if(!s(hn,an[0],"VP8X")){if(Ni(hn,an[0]+4)!=10){kr=3;break e}if(18>kr[0]){kr=7;break e}var fi=Ni(hn,an[0]+8),Ks=1+Yn(hn,an[0]+12);if(2147483648<=Ks*(hn=1+Yn(hn,an[0]+15))){kr=3;break e}Di!=null&&(Di[0]=fi),Sn!=null&&(Sn[0]=Ks),_n!=null&&(_n[0]=hn),an[0]+=18,kr[0]-=18,Ei[0]=1}kr=0}}if(Pr=Pr[0],Ir=Ir[0],kr!=0)return kr;if(an=!!(2&Ir),!An&&Pr)return 3;if(Ne!=null&&(Ne[0]=!!(16&Ir)),Me!=null&&(Me[0]=an),Xe!=null&&(Xe[0]=0),Me=wt[0],Ir=sr[0],Pr&&an&&it==null){kr=0;break}if(4>Z){kr=7;break}if(An&&Pr||!An&&!Pr&&!s(w,T[0],"ALPH")){Z=[Z],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{fi=w,kr=T,An=Z;var Ei=hr.gb;Sn=hr.na,_n=hr.P,Di=hr.Sa,Ks=22,a(fi!=null),a(An!=null),hn=kr[0];var pa=An[0];for(a(Sn!=null),a(Di!=null),Sn[0]=null,_n[0]=null,Di[0]=0;;){if(kr[0]=hn,An[0]=pa,8>pa){kr=7;break e}var Wl=Ni(fi,hn+4);if(4294967286Ei){kr=3;break e}if(!s(fi,hn,"VP8 ")||!s(fi,hn,"VP8L")){kr=0;break e}if(pa[0]An[0])kr=7;else{if(hn||Ks){if(Ei=Ni(Ei,fi+4),12<=Sn&&Ei>Sn-12){kr=3;break e}if(bt&&Ei>An[0]-8){kr=7;break e}_n[0]=Ei,kr[0]+=8,An[0]-=8,Di[0]=Ks}else Di[0]=5<=An[0]&&Ei[fi+0]==47&&!(Ei[fi+4]>>5),_n[0]=An[0];kr=0}if(Z=Z[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],T=T[0],kr!=0)break;if(4294967286Z){kr=7;break}Xe=Me,bt=Ir,an=Ne,w==null||5>Z?w=0:5<=Z&&w[T+0]==47&&!(w[T+4]>>5)?(An=[0],Ei=[0],Sn=[0],qr(_n=new Tt,w,T,Z),K0(_n,An,Ei,Sn)?(Xe!=null&&(Xe[0]=An[0]),bt!=null&&(bt[0]=Ei[0]),an!=null&&(an[0]=Sn[0]),w=1):w=0):w=0}else{if(10>Z){kr=7;break}Xe=Ir,w==null||10>Z||!i1(w,T+3,Z-3)?w=0:(bt=w[T+0]|w[T+1]<<8|w[T+2]<<16,an=16383&(w[T+7]<<8|w[T+6]),w=16383&(w[T+9]<<8|w[T+8]),1&bt||3<(bt>>1&7)||!(bt>>4&1)||bt>>5>=hr.Ja||!an||!w?w=0:(Me&&(Me[0]=an),Xe&&(Xe[0]=w),w=1))}if(!w||(Me=Me[0],Ir=Ir[0],Pr&&(wt[0]!=Me||sr[0]!=Ir)))return 3;it!=null&&(it[0]=hr,it.offset=T-it.w,a(4294967286>T-it.w),a(it.offset==it.ha-Z));break}return kr==0||kr==7&&Pr&&it==null?(Ne!=null&&(Ne[0]|=hr.na!=null&&0Z||(Ne&=-2,Me&=-2),0>Ne||0>Me||0>=Xe||0>=it||Ne+Xe>ue||Me+it>Le))return 0;if(T.v=Ne,T.j=Me,T.va=Ne+Xe,T.o=Me+it,T.U=Xe,T.T=it,T.da=w!=null&&0w.S){var T=w.f.RGBA;T.fb+=(w.height-1)*T.A,T.A=-T.A}else T=w.f.kb,w=w.height,T.O+=(w-1)*T.fa,T.fa=-T.fa,T.N+=(w-1>>1)*T.Ab,T.Ab=-T.Ab,T.W+=(w-1>>1)*T.Db,T.Db=-T.Db,T.F!=null&&(T.J+=(w-1)*T.lb,T.lb=-T.lb);return 0}function Gh(w,T,Z,ue){if(ue==null||0>=w||0>=T)return 2;if(Z!=null){if(Z.Da){var Le=Z.cd,Ne=Z.bd,Me=-2&Z.v,Xe=-2&Z.j;if(0>Me||0>Xe||0>=Le||0>=Ne||Me+Le>w||Xe+Ne>T)return 2;w=Le,T=Ne}if(Z.da){if(!ts(w,T,Le=[Z.ib],Ne=[Z.hb]))return 2;w=Le[0],T=Ne[0]}}ue.width=w,ue.height=T;e:{var it=ue.width,wt=ue.height;if(w=ue.S,0>=it||0>=wt||!(w>=y1&&13>w))w=2;else{if(0>=ue.Rd&&ue.sd==null){Me=Ne=Le=T=0;var sr=(Xe=it*Qg[w])*wt;if(11>w||(Ne=(wt+1)/2*(T=(it+1)/2),w==12&&(Me=(Le=it)*wt)),(wt=m(sr+2*Ne+Me))==null){w=1;break e}ue.sd=wt,11>w?((it=ue.f.RGBA).eb=wt,it.fb=0,it.A=Xe,it.size=sr):((it=ue.f.kb).y=wt,it.O=0,it.fa=Xe,it.Fd=sr,it.f=wt,it.N=0+sr,it.Ab=T,it.Cd=Ne,it.ea=wt,it.W=0+sr+Ne,it.Db=T,it.Ed=Ne,w==12&&(it.F=wt,it.J=0+sr+2*Ne),it.Tc=Me,it.lb=Le)}if(T=1,Le=ue.S,Ne=ue.width,Me=ue.height,Le>=y1&&13>Le)if(11>Le)w=ue.f.RGBA,T&=(Xe=Math.abs(w.A))*(Me-1)+Ne<=w.size,T&=Xe>=Ne*Qg[Le],T&=w.eb!=null;else{w=ue.f.kb,Xe=(Ne+1)/2,sr=(Me+1)/2,it=Math.abs(w.fa),wt=Math.abs(w.Ab);var Pr=Math.abs(w.Db),bt=Math.abs(w.lb),hr=bt*(Me-1)+Ne;T&=it*(Me-1)+Ne<=w.Fd,T&=wt*(sr-1)+Xe<=w.Cd,T=(T&=Pr*(sr-1)+Xe<=w.Ed)&it>=Ne&wt>=Xe&Pr>=Xe,T&=w.y!=null,T&=w.f!=null,T&=w.ea!=null,Le==12&&(T&=bt>=Ne,T&=hr<=w.Tc,T&=w.F!=null)}else T=0;w=T?0:2}}return w!=0||Z!=null&&Z.fd&&(w=Pp(ue)),w}var sd=64,Du=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Fu=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];mi("Predictor0","PredictorAdd0"),Rt.Predictor0=function(){return 4278190080},Rt.Predictor1=function(w){return w},Rt.Predictor2=function(w,T,Z){return T[Z+0]},Rt.Predictor3=function(w,T,Z){return T[Z+1]},Rt.Predictor4=function(w,T,Z){return T[Z-1]},Rt.Predictor5=function(w,T,Z){return Hi(Hi(w,T[Z+1]),T[Z+0])},Rt.Predictor6=function(w,T,Z){return Hi(w,T[Z-1])},Rt.Predictor7=function(w,T,Z){return Hi(w,T[Z+0])},Rt.Predictor8=function(w,T,Z){return Hi(T[Z-1],T[Z+0])},Rt.Predictor9=function(w,T,Z){return Hi(T[Z+0],T[Z+1])},Rt.Predictor10=function(w,T,Z){return Hi(Hi(w,T[Z-1]),Hi(T[Z+0],T[Z+1]))},Rt.Predictor11=function(w,T,Z){var ue=T[Z+0];return 0>=Ds(ue>>24&255,w>>24&255,(T=T[Z-1])>>24&255)+Ds(ue>>16&255,w>>16&255,T>>16&255)+Ds(ue>>8&255,w>>8&255,T>>8&255)+Ds(255&ue,255&w,255&T)?ue:w},Rt.Predictor12=function(w,T,Z){var ue=T[Z+0];return($a((w>>24&255)+(ue>>24&255)-((T=T[Z-1])>>24&255))<<24|$a((w>>16&255)+(ue>>16&255)-(T>>16&255))<<16|$a((w>>8&255)+(ue>>8&255)-(T>>8&255))<<8|$a((255&w)+(255&ue)-(255&T)))>>>0},Rt.Predictor13=function(w,T,Z){var ue=T[Z-1];return(la((w=Hi(w,T[Z+0]))>>24&255,ue>>24&255)<<24|la(w>>16&255,ue>>16&255)<<16|la(w>>8&255,ue>>8&255)<<8|la(255&w,255&ue))>>>0};var Op=Rt.PredictorAdd0;Rt.PredictorAdd1=da,mi("Predictor2","PredictorAdd2"),mi("Predictor3","PredictorAdd3"),mi("Predictor4","PredictorAdd4"),mi("Predictor5","PredictorAdd5"),mi("Predictor6","PredictorAdd6"),mi("Predictor7","PredictorAdd7"),mi("Predictor8","PredictorAdd8"),mi("Predictor9","PredictorAdd9"),mi("Predictor10","PredictorAdd10"),mi("Predictor11","PredictorAdd11"),mi("Predictor12","PredictorAdd12"),mi("Predictor13","PredictorAdd13");var Yd=Rt.PredictorAdd2;Ri("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),Ri("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var hl,g1=Rt.ColorIndexInverseTransform,A0=Rt.MapARGB,u0=Rt.VP8LColorIndexInverseTransformAlpha,Np=Rt.MapAlpha,Mp=Rt.VP8LPredictorsAdd=[];Mp.length=16,(Rt.VP8LPredictors=[]).length=16,(Rt.VP8LPredictorsAdd_C=[]).length=16,(Rt.VP8LPredictors_C=[]).length=16;var Qp,jp,$h,Zh,Yh,ad,Xh,od,oc,c0,Ya,go,fl,Vl,th,Hp,Xd,m1,dg,pg,gg,mg,vg,yg,Kp,wg,bg,_g,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Y1=Bg,v1=xg,Ru=Cg,lc=Eg,y1=0,w1=1,Tg=2,b1=3,_1=4,X1=5,Ig=6,q1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Lg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,Am=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Uc=[],rh=[],pm=1,Fg=2,Jh=[],Ac=[];q0("UpsampleRgbLinePair",zh,3),q0("UpsampleBgrLinePair",mA,3),q0("UpsampleRgbaLinePair",GA,4),q0("UpsampleBgraLinePair",kp,4),q0("UpsampleArgbLinePair",Rp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=Rt.UpsampleRgbLinePair,mm=Rt.UpsampleBgrLinePair,Rg=Rt.UpsampleRgbaLinePair,kg=Rt.UpsampleBgraLinePair,Ug=Rt.UpsampleArgbLinePair,Pg=Rt.UpsampleRgba4444LinePair,vm=Rt.UpsampleRgb565LinePair,B1=16,x1=1<ue.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ue.ca.f.kb.F!=null&&kc()),ue.Pb&&0(it=Z.Md)?0:100wt;++wt)12>(Pr=Le.pb[wt]).lc&&(Pr.ia=it*Cm[0>Pr.lc?0:Pr.lc]>>3),sr|=Pr.ia;sr&&(alert("todo:VP8InitRandom"),Le.ia=1)}Le.Ga=Z.Id,100Le.Ga&&(Le.Ga=0)}(function(bt,hr){if(bt==null)return 0;if(hr==null)return Il(bt,2,"NULL VP8Io parameter in VP8Decode().");if(!bt.cb&&!o0(bt,hr))return 0;if(a(bt.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(bt.L=0);var Ir=C1[bt.L];if(bt.L==2?(bt.yb=0,bt.zb=0):(bt.yb=hr.v-Ir>>4,bt.zb=hr.j-Ir>>4,0>bt.yb&&(bt.yb=0),0>bt.zb&&(bt.zb=0)),bt.Va=hr.o+15+Ir>>4,bt.Hb=hr.va+15+Ir>>4,bt.Hb>bt.za&&(bt.Hb=bt.za),bt.Va>bt.Ub&&(bt.Va=bt.Ub),0Ir;++Ir){var kr;if(bt.Qa.Cb){var An=bt.Qa.Lb[Ir];bt.Qa.Fb||(An+=an.Tb)}else An=an.Tb;for(kr=0;1>=kr;++kr){var hn=bt.gd[Ir][kr],Sn=An;if(an.Pc&&(Sn+=an.vd[0],kr&&(Sn+=an.od[0])),0<(Sn=0>Sn?0:63>2:_n>>1)>9-an.wb&&(_n=9-an.wb),1>_n&&(_n=1),hn.dd=_n,hn.tc=2*Sn+_n,hn.ld=40<=Sn?2:15<=Sn?1:0}else hn.tc=0;hn.La=kr}}}Ir=0}else Il(bt,6,"Frame setup failed"),Ir=bt.a;if(Ir=Ir==0){if(Ir){bt.$c=0,0bt.Vb){if(bt.Vb=0,bt.Ec=m(hn),bt.Fc=0,bt.Ec==null){Ir=Il(bt,1,"no memory during frame initialization.");break t}bt.Vb=hn}hn=bt.Ec,Sn=bt.Fc,bt.Ac=hn,bt.Bc=Sn,Sn+=an,bt.Gd=O(Di,r1),bt.Hd=0,bt.rb=O(fi+1,_p),bt.sb=1,bt.wa=Ks?O(Ks,ic):null,bt.Y=0,bt.D.Nb=0,bt.D.wa=bt.wa,bt.D.Y=bt.Y,0=Ir;++Ir)Eg[255+Ir]=0>Ir?-Ir:Ir;for(Ir=-1020;1020>=Ir;++Ir)Bg[1020+Ir]=-128>Ir?-128:127=Ir;++Ir)xg[112+Ir]=-16>Ir?-16:15=Ir;++Ir)Cg[255+Ir]=0>Ir?0:255wa;++wa){var $l,La=VA[0+wa];for($l=0;4>$l;++$l){La=hm[Fo[vA+$l]][La];for(var eo=Dg[dn(Rs,La[0])];0>3;for(eo=0;256>eo;eo+=16)wa[DA+eo]=hu}yA=1,Pc=vA[0]}var mo=15&Rs.la,Zl=15&WA.la;for(eo=0;4>eo;++eo){var ku=1&Zl;for(hu=to=0;4>hu;++hu)mo=mo>>1|(ku=(pl=zp(Fo,Pc,pl=ku+(1&mo),ll.Sc,yA,wa,DA))>yA)<<7,to=to<<2|(3>=4,Zl=Zl>>1|ku<<7,$l=($l<<8|to)>>>0}for(Pc=mo,yA=Zl>>4,Al=0;4>Al;Al+=2){for(to=0,mo=Rs.la>>4+Al,Zl=WA.la>>4+Al,eo=0;2>eo;++eo){for(ku=1&Zl,hu=0;2>hu;++hu)pl=ku+(1&mo),mo=mo>>1|(ku=0<(pl=zp(Fo,vA[2],pl,ll.Qc,0,wa,DA)))<<3,to=to<<2|(3>=2,Zl=Zl>>1|ku<<5}La|=to<<4*Al,Pc|=mo<<4<=Bi.zb&&Bi.M<=Bi.Va,Bi.Aa==0)t:{if(zs.M=Bi.M,zs.uc=Rs,ac(Bi,zs),dl=1,zs=(to=Bi.D).Nb,Rs=(La=C1[Bi.L])*Bi.R,Fo=La/2*Bi.B,eo=16*zs*Bi.R,hu=8*zs*Bi.B,vA=Bi.sa,VA=Bi.ta-Rs+eo,ll=Bi.qa,wa=Bi.ra-Fo+hu,DA=Bi.Ha,WA=Bi.Ia-Fo+hu,Zl=(mo=to.M)==0,$l=mo>=Bi.Va-1,Bi.Aa==2&&ac(Bi,to),to.uc)for(ku=(pl=Bi).D.M,a(pl.D.uc),to=pl.yb;toKn.o&&(mo=Kn.o),Kn.F=null,Kn.J=null,Bi.Fa!=null&&0>1),Kn.W+=Bi.B*(La>>1),Kn.F!=null&&(Kn.J+=Kn.width*La)),to>1,Kn.W+=Kn.v>>1,Kn.F!=null&&(Kn.J+=Kn.v),Kn.ka=to-Kn.j,Kn.U=Kn.va-Kn.v,Kn.T=mo-to,dl=Kn.put(Kn))}zs+1!=Bi.Ic||$l||(u(Bi.sa,Bi.ta-Rs,vA,VA+16*Bi.R,Rs),u(Bi.qa,Bi.ra-Fo,ll,wa+8*Bi.B,Fo),u(Bi.Ha,Bi.Ia-Fo,DA,WA+8*Bi.B,Fo))}if(!dl)return Il(pa,6,"Output aborted.")}return 1}(bt,hr)),hr.bc!=null&&hr.bc(hr),Ir&=1}return Ir?(bt.cb=0,Ir):0})(w,ue)||(T=w.a)}}else T=w.a}T==0&&Me.Oa!=null&&Me.Oa.fd&&(T=Pp(Me.ba))}Me=T}Ne=Me!=0?null:11>Ne?Xe.f.RGBA.eb:Xe.f.kb.y}else Ne=null;return Ne};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function z(Rt,Tr){for(var He="",gt=0;gt<4;gt++)He+=String.fromCharCode(Rt[Tr++]);return He}function te(Rt,Tr){return Rt[Tr+0]|Rt[Tr+1]<<8}function Se(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16)>>>0}function Ue(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16|Rt[Tr+3]<<24)>>>0}new M;var ee=[0],ut=[0],st=[],dt=new M,ze=n,Wt=function(Rt,Tr){var He={},gt=0,Zt=!1,Gt=0,Qr=0;if(He.frames=[],!function(Qe,Tt){for(var Nt=0;Nt<4;Nt++)if(Qe[Tt+Nt]!="RIFF".charCodeAt(Nt))return!0;return!1}(Rt,Tr)){for(Ue(Rt,Tr+=4),Tr+=8;Tr>1&1}Gr!="ANMF"&&(Tr+=Ur)}return He}}(ze,0);Wt.response=ze,Wt.rgbaoutput=!0,Wt.dataurl=!1;var jt=Wt.header?Wt.header:null,Dt=Wt.frames?Wt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ee=[jt.canvas_height],ut=[jt.canvas_width];for(var Or=0;Or=2?mt[1]:qn[0],qn[2]=mt.length>=3?mt[2]:qn[0],qn[3]=mt.length>=4?mt[3]:qn[1]),z.margin=qn}});var Wr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wr},set:function(mt){Wr=mt}});var Xr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Xr},set:function(mt){Xr=mt}});var dn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dn},set:function(mt){dn=mt}}),Object.defineProperty(this,"ctx",{get:function(){return z},set:function(mt){mt instanceof te&&(z=mt)}}),Object.defineProperty(this,"path",{get:function(){return z.path},set:function(mt){z.path=mt}});var In=[];Object.defineProperty(this,"ctxStack",{get:function(){return In},set:function(mt){In=mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(mt){var qn;qn=Ue(mt),this.ctx.fillStyle=qn.style,this.ctx.isFillTransparent=qn.a===0,this.ctx.fillOpacity=qn.a,this.pdf.setFillColor(qn.r,qn.g,qn.b,{a:qn.a}),this.pdf.setTextColor(qn.r,qn.g,qn.b,{a:qn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(mt){var qn=Ue(mt);this.ctx.strokeStyle=qn.style,this.ctx.isStrokeTransparent=qn.a===0,this.ctx.strokeOpacity=qn.a,qn.a===0?this.pdf.setDrawColor(255,255,255):(qn.a,this.pdf.setDrawColor(qn.r,qn.g,qn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(mt){["butt","round","square"].indexOf(mt)!==-1&&(this.ctx.lineCap=mt,this.pdf.setLineCap(mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(mt){isNaN(mt)||(this.ctx.lineWidth=mt,this.pdf.setLineWidth(mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(mt){["bevel","round","miter"].indexOf(mt)!==-1&&(this.ctx.lineJoin=mt,this.pdf.setLineJoin(mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(mt){isNaN(mt)||(this.ctx.miterLimit=mt,this.pdf.setMiterLimit(mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(mt){this.ctx.textBaseline=mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(mt){["right","end","center","left","start"].indexOf(mt)!==-1&&(this.ctx.textAlign=mt)}});var Xn=null,Yn=null,Ni=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ni},set:function(mt){Xn=null,Yn=null,Ni=mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(mt){var qn;if(this.ctx.font=mt,(qn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(mt))!==null){var Ws=qn[1];qn[2];var ts=qn[3],xn=qn[4];qn[5];var rs=qn[6],mi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(xn)[2];xn=Math.floor(mi==="px"?parseFloat(xn)*this.pdf.internal.scaleFactor:mi==="em"?parseFloat(xn)*this.pdf.getFontSize():parseFloat(xn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(xn);var Yi=function(Ri){var cl,Ta,Xs=[],qs=Ri.trim();if(qs==="")return x;if(qs in Au)return[Au[qs]];for(;qs!=="";){switch(Ta=null,cl=(qs=Hl(qs)).charAt(0)){case'"':case"'":Ta=A(qs.substring(1),cl);break;default:Ta=e(qs)}if(Ta===null||(Xs.push(Ta[0]),(qs=Hl(Ta[1]))!==""&&qs.charAt(0)!==","))return x;qs=qs.replace(/^,/,"")}return Xs}(rs);if(this.fontFaces){var Hi=function(Ri,cl){var Ta=Ri.getFontList(),Xs=JSON.stringify(Ta);if(Xn===null||Yn!==Xs){var qs=function(Oo){var Gi=[];return Object.keys(Oo).forEach(function(Bo){Oo[Bo].forEach(function(ls){var Fs=null;switch(ls){case"bold":Fs={family:Bo,weight:"bold"};break;case"italic":Fs={family:Bo,style:"italic"};break;case"bolditalic":Fs={family:Bo,weight:"bold",style:"italic"};break;case"":case"normal":Fs={family:Bo}}Fs!==null&&(Fs.ref={name:Bo,style:ls},Gi.push(Fs))})}),Gi}(Ta);Xn=function(Oo){for(var Gi={},Bo=0;Bo=700||Ws==="bold")&&(Ds="bold"),Ws==="italic"&&(Ds+="italic"),Ds.length===0&&(Ds="normal");for(var da="",Aa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ci=0;Ci=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:Qe,y:Tt,radius:Nt,startAngle:tr,endAngle:fr,counterclockwise:Dr})},Se.prototype.arcTo=function(Qe,Tt,Nt,tr,fr){throw new Error("arcTo not implemented.")},Se.prototype.rect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe+Nt,Tt+tr),this.lineTo(Qe,Tt+tr),this.lineTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe,Tt)},Se.prototype.fillRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ee.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,Tt,Nt,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Se.prototype.strokeRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ut.call(this)||(this.beginPath(),this.rect(Qe,Tt,Nt,tr),this.stroke())},Se.prototype.clearRect=function(Qe,Tt,Nt,tr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(tr))throw va.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,Tt,Nt,tr))},Se.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Se.prototype.drawImage=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr,dn){var In=this.pdf.getImageProperties(Qe),Xn=1,Yn=1,Ni=1,mt=1;tr!==void 0&&Xr!==void 0&&(Ni=Xr/tr,mt=dn/fr,Xn=In.width/tr*Xr/tr,Yn=In.height/fr*dn/fr),Dr===void 0&&(Dr=Tt,Wr=Nt,Tt=0,Nt=0),tr!==void 0&&Xr===void 0&&(Xr=tr,dn=fr),tr===void 0&&Xr===void 0&&(Xr=In.width,dn=In.height);var qn=this.ctx.transform.decompose(),Ws=Ur(qn.rotate.shx),ts=new M,xn=(ts=(ts=(ts=ts.multiply(qn.translate)).multiply(qn.skew)).multiply(qn.scale)).applyToRectangle(new L(Dr-Tt*Ni,Wr-Nt*mt,tr*Xn,fr*Yn));if(this.autoPaging){for(var rs,mi=dt.call(this,xn),Yi=[],Hi=0;Hi$a||Dsxn||mi0)){for(;dn>=0;dn--)if(fr[dn-1].close!==!0&&fr[dn-1].begin!==!0){fr[dn-1].deltas.push(Nt),fr[dn-1].abs.push(Xr);break}}break;case"bct":Nt=[Xr.x1-Dr[Wr-1].x,Xr.y1-Dr[Wr-1].y,Xr.x2-Dr[Wr-1].x,Xr.y2-Dr[Wr-1].y,Xr.x-Dr[Wr-1].x,Xr.y-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"qct":var In=Dr[Wr-1].x+2/3*(Xr.x1-Dr[Wr-1].x),Xn=Dr[Wr-1].y+2/3*(Xr.y1-Dr[Wr-1].y),Yn=Xr.x+2/3*(Xr.x1-Xr.x),Ni=Xr.y+2/3*(Xr.y1-Xr.y),mt=Xr.x,qn=Xr.y;Nt=[In-Dr[Wr-1].x,Xn-Dr[Wr-1].y,Yn-Dr[Wr-1].x,Ni-Dr[Wr-1].y,mt-Dr[Wr-1].x,qn-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Xr)}}tr=Tt?null:Qe==="stroke"?"stroke":"fill";for(var Ws=!1,ts=0;ts=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale);var Ns=this.autoPaging!=="text";if(Ns||Ci.y+Ci.h<=Hi){if(Ns||Ci.y>=mi&&Ci.x<=la){var Ri=Ns?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||la-Ci.x)[0],cl=Wt([JSON.parse(JSON.stringify(Yn))],this.posX+this.margin[3],-da+mi+this.ctx.prevPageLastElemOffset)[0],Ta=Ns&&(rs>ts||rs=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else Qe.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale),this.pdf.text(Qe.text,dn.x+this.posX,dn.y+this.posY,{angle:Qe.angle,align:Tt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Zt=function(Qe,Tt,Nt,tr){Nt=Nt||0,tr=tr||0,this.pdf.internal.out(s(Qe+Nt)+" "+u(Tt+tr)+" l")},Gt=function(Qe,Tt,Nt){return this.pdf.lines(Qe,Tt,Nt,null,null)},Qr=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr){this.pdf.internal.out([a(d(Nt+Qe)),a(m(tr+Tt)),a(d(fr+Qe)),a(m(Dr+Tt)),a(d(Wr+Qe)),a(m(Xr+Tt)),"c"].join(" "))},Gr=function(Qe,Tt,Nt,tr){for(var fr=2*Math.PI,Dr=Math.PI/2;Tt>Nt;)Tt-=fr;var Wr=Math.abs(Nt-Tt);Wr1e-5;){var Xn=In+dn*Math.min(Wr,Dr);Xr.push($r.call(this,Qe,In,Xn)),Wr-=Math.abs(Xn-In),In=Xn}return Xr},$r=function(Qe,Tt,Nt){var tr=(Nt-Tt)/2,fr=Qe*Math.cos(tr),Dr=Qe*Math.sin(tr),Wr=fr,Xr=-Dr,dn=Wr*Wr+Xr*Xr,In=dn+Wr*fr+Xr*Dr,Xn=4/3*(Math.sqrt(2*dn*In)-In)/(Wr*Dr-Xr*fr),Yn=Wr-Xn*Xr,Ni=Xr+Xn*Wr,mt=Yn,qn=-Ni,Ws=tr+Tt,ts=Math.cos(Ws),xn=Math.sin(Ws);return{x1:Qe*Math.cos(Tt),y1:Qe*Math.sin(Tt),x2:Yn*ts-Ni*xn,y2:Yn*xn+Ni*ts,x3:mt*ts-qn*xn,y3:mt*xn+qn*ts,x4:Qe*Math.cos(Nt),y4:Qe*Math.sin(Nt)}},Ur=function(Qe){return 180*Qe/Math.PI},qr=function(Qe,Tt,Nt,tr,fr,Dr){var Wr=Qe+.5*(Nt-Qe),Xr=Tt+.5*(tr-Tt),dn=fr+.5*(Nt-fr),In=Dr+.5*(tr-Dr),Xn=Math.min(Qe,fr,Wr,dn),Yn=Math.max(Qe,fr,Wr,dn),Ni=Math.min(Tt,Dr,Xr,In),mt=Math.max(Tt,Dr,Xr,In);return new L(Xn,Ni,Yn-Xn,mt-Ni)},Rn=function(Qe,Tt,Nt,tr,fr,Dr,Wr,Xr){var dn,In,Xn,Yn,Ni,mt,qn,Ws,ts,xn,rs,mi,Yi,Hi,$a=Nt-Qe,la=tr-Tt,Ds=fr-Nt,da=Dr-tr,Aa=Wr-fr,Ci=Xr-Dr;for(In=0;In<41;In++)ts=(qn=(Xn=Qe+(dn=In/40)*$a)+dn*((Ni=Nt+dn*Ds)-Xn))+dn*(Ni+dn*(fr+dn*Aa-Ni)-qn),xn=(Ws=(Yn=Tt+dn*la)+dn*((mt=tr+dn*da)-Yn))+dn*(mt+dn*(Dr+dn*Ci-mt)-Ws),In==0?(rs=ts,mi=xn,Yi=ts,Hi=xn):(rs=Math.min(rs,ts),mi=Math.min(mi,xn),Yi=Math.max(Yi,ts),Hi=Math.max(Hi,xn));return new L(Math.round(rs),Math.round(mi),Math.round(Yi-rs),Math.round(Hi-mi))},wn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,Tt,Nt=(Qe=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:Tt}));this.prevLineDash!==Nt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Nt)}}})(hi.API),function(n){var a=function(O){var L,M,z,te,Se,Ue,ee,ut,st,dt;for(/[^\x00-\xFF]/.test(O),M=[],z=0,te=(O+=L="\0\0\0\0".slice(O.length%4||4)).length;te>z;z+=4)(Se=(O.charCodeAt(z)<<24)+(O.charCodeAt(z+1)<<16)+(O.charCodeAt(z+2)<<8)+O.charCodeAt(z+3))!==0?(Ue=(Se=((Se=((Se=((Se=(Se-(dt=Se%85))/85)-(st=Se%85))/85)-(ut=Se%85))/85)-(ee=Se%85))/85)%85,M.push(Ue+33,ee+33,ut+33,st+33,dt+33)):M.push(122);return function(ze,Wt){for(var jt=Wt;jt>0;jt--)ze.pop()}(M,L.length),String.fromCharCode.apply(String,M)+"~>"},s=function(O){var L,M,z,te,Se,Ue=String,ee="length",ut=255,st="charCodeAt",dt="slice",ze="replace";for(O[dt](-2),O=O[dt](0,-2)[ze](/\s/g,"")[ze]("z","!!!!!"),z=[],te=0,Se=(O+=L="uuuuu"[dt](O[ee]%5||5))[ee];Se>te;te+=5)M=52200625*(O[st](te)-33)+614125*(O[st](te+1)-33)+7225*(O[st](te+2)-33)+85*(O[st](te+3)-33)+(O[st](te+4)-33),z.push(ut&M>>24,ut&M>>16,ut&M>>8,ut&M);return function(Wt,jt){for(var Dt=jt;Dt>0;Dt--)Wt.pop()}(z,L[ee]),Ue.fromCharCode.apply(Ue,z)},u=function(O){return O.split("").map(function(L){return("0"+L.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(O){var L=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((O=O.replace(/\s/g,"")).indexOf(">")!==-1&&(O=O.substr(0,O.indexOf(">"))),O.length%2&&(O+="0"),L.test(O)===!1)return"";for(var M="",z=0;zst&&(ut=dt,dt=st,st=ut);else{if(L!=="l"&&L!=="landscape")throw"Invalid orientation: "+L;L="l",st>dt&&(ut=dt,dt=st,st=ut)}return{width:dt,height:st,unit:M,k:Se,orientation:L}},n.html=function(L,M){(M=M||{}).callback=M.callback||function(){},M.html2canvas=M.html2canvas||{},M.html2canvas.canvas=M.html2canvas.canvas||this.canvas,M.jsPDF=M.jsPDF||this,M.fontFaces=M.fontFaces?M.fontFaces.map(IA):null;var z=new O(M);return M.worker?z:z.from(L).doCallback()}}(hi.API),hi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,u=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ee=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ee+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(u,d,m){var O={title:d,options:m,children:[]};return u==null&&(u=this.root),u.children.push(O),O},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(u){u.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(u.children[0])),this.line("/Last "+this.makeRef(u.children[u.children.length-1]))),this.line("/Count "+this.count_r({count:0},u)),this.objEnd()},s.outline.renderItems=function(u){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(u.children[m-1])),m0&&(this.line("/First "+this.makeRef(O.children[0])),this.line("/Last "+this.makeRef(O.children[O.children.length-1])));var L=this.count=this.count_r({count:0},O);if(L>0&&this.line("/Count "+L),O.options&&O.options.pageNumber){var M=s.internal.getPageInfo(O.options.pageNumber);this.line("/Dest ["+M.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var z=0;z>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var OA="",bA=0,MA=R.transparency.length;bA>",j.content=s;var AA=j.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=3};var D=A.__arabicParser__.arabicLetterHasMedialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length==4},y=A.__arabicParser__.resolveLigatures=function(j){var _=0,S=e,iA="",AA=0;for(_=0;_>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(_e.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var w=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return w},set:function(j){w=j}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(j){g=j}});var D=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return D},set:function(j){D=j}});var y=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return y},set:function(j){y=j}});var U=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return U},set:function(j){U=j}});var v=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return v},set:function(j){v=j}});var M=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return M},set:function(j){M=j}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(w){return r.call(this),this.internal.__cell__.headerFunction=typeof w=="function"?w:void 0,this},A.getTextDimensions=function(w,g){r.call(this);var D=(g=g||{}).fontSize||this.getFontSize(),y=g.font||this.getFont(),U=g.scaleFactor||this.internal.scaleFactor,v=0,M=0,j=0,_=this;if(!Array.isArray(w)&&typeof w!="string"){if(typeof w!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");w=String(w)}var S=g.maxWidth;S>0?typeof w=="string"?w=this.splitTextToSize(w,S):Object.prototype.toString.call(w)==="[object Array]"&&(w=w.reduce(function(AA,W){return AA.concat(_.splitTextToSize(W,S))},[])):w=Array.isArray(w)?w:[w];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),w.y=y.top,v&&U&&(this.printHeaderRow(w.lineNumber,!0),w.y+=U[0].height)):w.y=g.y+g.height||w.y),w.text[0]!==void 0&&(this.rect(w.x,w.y,w.width,w.height,e===!0?"FD":void 0),w.align==="right"?this.text(w.text,w.x+w.width-D,w.y+D,{align:"right",baseline:"top"}):w.align==="center"?this.text(w.text,w.x+w.width/2,w.y+D,{align:"center",baseline:"top",maxWidth:w.width-D-D}):this.text(w.text,w.x+D,w.y+D,{align:"left",baseline:"top",maxWidth:w.width-D-D})),this.internal.__cell__.lastCell=w,this};A.table=function(w,g,D,y,U){if(r.call(this),!D)throw new Error("No data for PDF table.");var v,M,j,_,S=[],iA=[],AA=[],W={},FA={},VA=[],NA=[],lA=(U=U||{}).autoSize||!1,Y=U.printHeaders!==!1,DA=U.css&&U.css["font-size"]!==void 0?16*U.css["font-size"]:U.fontSize||12,L=U.margins||Object.assign({width:this.getPageWidth()},t),R=typeof U.padding=="number"?U.padding:3,rA=U.headerBackgroundColor||"#c8c8c8",eA=U.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=L,this.internal.__cell__.table_font_size=DA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=rA,this.internal.__cell__.headerTextColor=eA,this.setFontSize(DA),y==null)iA=S=Object.keys(D[0]),AA=S.map(function(){return"left"});else if(Array.isArray(y)&&(0,kA.Z)(y[0])==="object")for(S=y.map(function(ue){return ue.name}),iA=y.map(function(ue){return ue.prompt||ue.name||""}),AA=y.map(function(ue){return ue.align||"left"}),v=0;v0&&this.setTableHeaderRow(U),this.setFont(void 0,"normal"),e=!1}}(_e.API);var Zr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Yi=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dn=rr(Yi),yn=[100,200,300,400,500,600,700,800,900],ta=rr(yn);function ri(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Zr[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Dn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Ji(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function R0(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function K0(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(D,U)}})(A,s,k0(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,w=null;s&&(f=t,w=h,t+=3*h);var g=!0,D=[],y=0,U=null,v=0,M=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var j=A[t++];y=A[t++]|A[t++]<<8,U=A[t++],1&j||(U=null),v=j>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var _=A[t++]|A[t++]<<8,S=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,AA=A[t++]|A[t++]<<8,W=A[t++],FA=W>>6&1,VA=1<<1+(7&W),NA=f,lA=w,Y=!1;W>>7&&(Y=!0,NA=t,lA=VA,t+=3*VA);var DA=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}D.push({x:_,y:S,width:iA,height:AA,has_local_palette:Y,palette_offset:NA,palette_size:lA,data_offset:DA,data_length:t-DA,transparent_index:U,interlaced:!!FA,delay:y,disposal:v});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return D.length},this.loopCount=function(){return M},this.frameInfo=function(R){if(R<0||R>=D.length)throw new Error("Frame index out of range.");return D[R]},this.decodeAndBlitFrameBGRA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=be,rA[$++]=le,rA[$++]=JA,rA[$++]=255}--ZA}},this.decodeAndBlitFrameRGBA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=JA,rA[$++]=le,rA[$++]=be,rA[$++]=255}--ZA}}}function G0(A,t,e,r){for(var n=A[t++],s=1<>=w,D-=w,_!==s){if(_===h)break;for(var S=_s;)AA=M[AA]>>8,++iA;var W=AA;if(U+iA+(S!==_?1:0)>r)return void lr.log("Warning, gif stream longer than expected.");e[U++]=W;var FA=U+=iA;for(S!==_&&(e[U++]=W),AA=S;iA--;)AA=M[AA],e[--FA]=255&AA,AA>>=8;j!==null&&f<4096&&(M[f++]=j<<8|W,f>=g+1&&w<12&&(++w,g=g<<1|1)),j=_}else f=h+1,g=(1<<(w=n+1))-1,j=null}return U!==r&&lr.log("Warning, gif stream shorter than expected."),e}function Fg(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),w=new Array(64),g=new Array(64),D=new Array(64),y=new Array(65535),U=new Array(65535),v=new Array(64),M=new Array(64),j=[],_=0,S=7,iA=new Array(64),AA=new Array(64),W=new Array(64),FA=new Array(256),VA=new Array(2048),NA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],lA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],DA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rA=[0,1,2,3,4,5,6,7,8,9,10,11],eA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],EA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function SA(x,z){for(var $=0,sA=0,dA=new Array,CA=1;CA<=16;CA++){for(var HA=1;HA<=x[CA];HA++)dA[z[sA]]=[],dA[z[sA]][0]=$,dA[z[sA]][1]=CA,sA++,$++;$*=2}return dA}function OA(x){for(var z=x[0],$=x[1]-1;$>=0;)z&1<<$&&(_|=1<>8&255),bA(255&x)}function ue(x,z,$,sA,dA){for(var CA,HA=dA[0],TA=dA[240],JA=function(ae,rt){var je,et,Xe,ir,Ot,Bt,_t,Tt,Ge,Pt,We=0;for(Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+1],Xe=ae[We+2],ir=ae[We+3],Ot=ae[We+4],Bt=ae[We+5],_t=ae[We+6];var Rr=je+(Tt=ae[We+7]),Yt=je-Tt,Et=et+_t,It=et-_t,Qr=Xe+Bt,Ze=Xe-Bt,Br=ir+Ot,lt=ir-Ot,vt=Rr+Br,Fr=Rr-Br,Lt=Et+Qr,it=Et-Qr;ae[We]=vt+Lt,ae[We+4]=vt-Lt;var sr=.707106781*(it+Fr);ae[We+2]=Fr+sr,ae[We+6]=Fr-sr;var Ro=.382683433*((vt=lt+Ze)-(it=It+Yt)),Tn=.5411961*vt+Ro,na=1.306562965*it+Ro,Us=.707106781*(Lt=Ze+It),st=Yt+Us,ia=Yt-Us;ae[We+5]=ia+Tn,ae[We+3]=ia-Tn,ae[We+1]=st+na,ae[We+7]=st-na,We+=8}for(We=0,Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+8],Xe=ae[We+16],ir=ae[We+24],Ot=ae[We+32],Bt=ae[We+40],_t=ae[We+48];var sa=je+(Tt=ae[We+56]),Ii=je-Tt,xi=et+_t,jr=et-_t,mn=Xe+Bt,bn=Xe-Bt,Ko=ir+Ot,Ga=ir-Ot,$i=sa+Ko,Es=sa-Ko,As=xi+mn,es=xi-mn;ae[We]=$i+As,ae[We+32]=$i-As;var Li=.707106781*(es+Es);ae[We+16]=Es+Li,ae[We+48]=Es-Li;var ko=.382683433*(($i=Ga+bn)-(es=jr+Ii)),Is=.5411961*$i+ko,Go=1.306562965*es+ko,Xl=.707106781*(As=bn+jr),Zl=Ii+Xl,ql=Ii-Xl;ae[We+40]=ql+Is,ae[We+24]=ql-Is,ae[We+8]=Zl+Go,ae[We+56]=Zl-Go,We++}for(Ge=0;Ge<64;++Ge)Pt=ae[Ge]*rt[Ge],v[Ge]=Pt>0?Pt+.5|0:Pt-.5|0;return v}(x,z),le=0;le<64;++le)M[NA[le]]=JA[le];var be=M[0]-$;$=M[0],be==0?OA(sA[0]):(OA(sA[U[CA=32767+be]]),OA(y[CA]));for(var Pe=63;Pe>0&&M[Pe]==0;)Pe--;if(Pe==0)return OA(HA),$;for(var Je,K=1;K<=Pe;){for(var Qe=K;M[K]==0&&K<=Pe;)++K;var Ft=K-Qe;if(Ft>=16){Je=Ft>>4;for(var tt=1;tt<=Je;++tt)OA(TA);Ft&=15}CA=32767+M[K],OA(dA[(Ft<<4)+U[CA]]),OA(y[CA]),K++}return Pe!=63&&OA(HA),$}function ZA(x){x=Math.min(Math.max(x,1),100),s!=x&&(function(z){for(var $=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],sA=0;sA<64;sA++){var dA=h(($[sA]*z+50)/100);dA=Math.min(Math.max(dA,1),255),f[NA[sA]]=dA}for(var CA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],HA=0;HA<64;HA++){var TA=h((CA[HA]*z+50)/100);TA=Math.min(Math.max(TA,1),255),w[NA[HA]]=TA}for(var JA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],le=0,be=0;be<8;be++)for(var Pe=0;Pe<8;Pe++)g[le]=1/(f[NA[le]]*JA[be]*JA[Pe]*8),D[le]=1/(w[NA[le]]*JA[be]*JA[Pe]*8),le++}(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),s=x)}this.encode=function(x,z){z&&ZA(z),j=new Array,_=0,S=7,MA(65496),MA(65504),MA(16),bA(74),bA(70),bA(73),bA(70),bA(0),bA(1),bA(1),bA(0),MA(1),MA(1),bA(0),bA(0),function(){MA(65499),MA(132),bA(0);for(var et=0;et<64;et++)bA(f[et]);bA(1);for(var Xe=0;Xe<64;Xe++)bA(w[Xe])}(),function(et,Xe){MA(65472),MA(17),bA(8),MA(Xe),MA(et),bA(3),bA(1),bA(17),bA(0),bA(2),bA(17),bA(1),bA(3),bA(17),bA(1)}(x.width,x.height),function(){MA(65476),MA(418),bA(0);for(var et=0;et<16;et++)bA(lA[et+1]);for(var Xe=0;Xe<=11;Xe++)bA(Y[Xe]);bA(16);for(var ir=0;ir<16;ir++)bA(DA[ir+1]);for(var Ot=0;Ot<=161;Ot++)bA(L[Ot]);bA(1);for(var Bt=0;Bt<16;Bt++)bA(R[Bt+1]);for(var _t=0;_t<=11;_t++)bA(rA[_t]);bA(17);for(var Tt=0;Tt<16;Tt++)bA(eA[Tt+1]);for(var Ge=0;Ge<=161;Ge++)bA(EA[Ge])}(),MA(65498),MA(12),bA(3),bA(1),bA(0),bA(2),bA(17),bA(3),bA(17),bA(0),bA(63),bA(0);var $=0,sA=0,dA=0;_=0,S=7,this.encode.displayName="_encode_";for(var CA,HA,TA,JA,le,be,Pe,Je,K,Qe=x.data,Ft=x.width,tt=x.height,ae=4*Ft,rt=0;rt>3)*ae+(Pe=4*(7&K)),rt+Je>=tt&&(be-=ae*(rt+1+Je-tt)),CA+Pe>=ae&&(be-=CA+Pe-ae+4),HA=Qe[be++],TA=Qe[be++],JA=Qe[be++],iA[K]=(VA[HA]+VA[TA+256|0]+VA[JA+512|0]>>16)-128,AA[K]=(VA[HA+768|0]+VA[TA+1024|0]+VA[JA+1280|0]>>16)-128,W[K]=(VA[HA+1280|0]+VA[TA+1536|0]+VA[JA+1792|0]>>16)-128;$=ue(iA,g,$,t,r),sA=ue(AA,D,sA,e,n),dA=ue(W,D,dA,e,n),CA+=32}rt+=8}if(S>=0){var je=[];je[1]=S+1,je[0]=(1<R;R++)if(Y[DA+R]!=L.charCodeAt(R))return!0;return!1}function r(Y,DA,L,R,rA){for(var eA=0;eAeA+1?[]:new DA),!(EA.length>>0;a&B;)B>>>=1;return B?(a&B-1)+B:a}function L(a,u,B,P,Q){t(!(P%B));do a[u+(P-=B)]=Q;while(0=Q),512>=Q)var E=s(512);else if((E=s(Q))==null)return 0;return function(I,N,H,k,oA,QA){var G,hA,mA=N,KA=1<G;++G){if(yA[G]>1<(yt-=yA[G]))return 0;for(;0=G;++G,oA<<=1){if(He+=yt<<=1,0>(yt-=yA[G]))return 0;for(;0oe&&!(0>=(YA-=yA[oe]));)++oe,YA<<=1;KA+=Re=1<<(YA=oe-H),I[N+(oe=ze&te)].g=YA+H,I[N+oe].value=mA-N-oe}k.g=G-H,k.value=QA[hA++],L(I,mA+(ze>>H),oA,Re,k),ze=DA(ze,G)}}return He!=2*zA[15]-1?0:KA}(a,u,B,P,Q,E)}function rA(){this.value=this.g=0}function eA(){this.value=this.g=0}function EA(){this.G=h(5,rA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(el,eA)}function SA(a,u,B,P){t(a!=null),t(u!=null),t(2147483648>P),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=u,a.pa=B,a.Jd=u,a.Yc=B+P,a.Zc=4<=P?B+P-4+1:B,HA(a)}function OA(a,u){for(var B=0;0P),a.Sb=P,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;sA(a)&&(a.h=1,a.u=0)}function ZA(a,u){if(t(0<=u),!a.h&&u<=hi){var B=$(a)&fi[u];return a.u+=u,ue(a),B}return a.h=1,a.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function $(a){return a.Ra>>>(a.u&Ya-1)>>>0}function sA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Ya}function dA(a,u){a.u=u,a.h=sA(a)}function CA(a){a.u>=pa&&(t(a.u>=pa),ue(a))}function HA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&HA(a);var P=a.b,Q=B*u>>>8,E=(a.I>>>P>Q)+0;for(E?(B-=Q,a.I-=Q+1<

>>0):B=Q+1,P=B,Q=0;256<=P;)Q+=8,P>>=8;return P=7^Q+Ja[P],a.b-=P,a.Ca=(B<>24&255,a[u+1]=B>>16&255,a[u+2]=B>>8&255,a[u+3]=255&B}function be(a,u){return a[u+0]|a[u+1]<<8}function Pe(a,u){return be(a,u)|a[u+2]<<16}function Je(a,u){return be(a,u)|be(a,u+2)<<16}function K(a,u){var B=1<=Q||0>=E?0:(B[0]=Q,P[0]=E,1)}function ae(a,u){return a+(1<>>u}function rt(a,u){return((4278255360&a)+(4278255360&u)>>>0&4278255360)+((16711935&a)+(16711935&u)>>>0&16711935)>>>0}function je(a,u){Y[u]=function(B,P,Q,E,I,N,H){var k;for(k=0;k>>1)+(a&u)>>>0}function ir(a){return 0<=a&&256>a?a:0>a?0:255>1))}function Bt(a,u,B){return Math.abs(u-B)-Math.abs(a-B)}function _t(a,u,B,P,Q,E,I){for(P=E[I-1],B=0;B>8&255,H=16711935&(H=(H=16711935&I)+((N<<16)+N));P[Q+E]=(4278255360&I)+H>>>0}}function Ge(a,u){u.jd=255&a,u.hd=a>>8&255,u.ud=a>>16&255}function Pt(a,u,B,P,Q,E){var I;for(I=0;I>>8,k=N,oA=255&(oA=(oA=N>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));k=255&(k=(k+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(oA<<24>>24)>>>5)),Q[E+I]=(4278255360&N)+(oA<<16)+k}}function We(a,u,B,P,Q){Y[u]=function(E,I,N,H,k,oA,QA,G,hA){for(H=QA;H>E.b,hA=E.Ea,mA=E.K[0],KA=E.w;if(8>G)for(E=(1<>=G}else Y["VP8LMapColor"+B](H,k,mA,KA,oA,QA,I,N,hA)}}function Rr(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E}}function Yt(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E,P[Q++]=E>>24&255}}function Et(a,u,B,P,Q){for(B=u+B;u>16&240|I>>12&15,I=240&I|I>>28&15;P[Q++]=E,P[Q++]=I}}function It(a,u,B,P,Q){for(B=u+B;u>16&248|I>>13&7,I=I>>5&224|I>>3&31;P[Q++]=E,P[Q++]=I}}function Qr(a,u,B,P,Q){for(B=u+B;u>8&255,P[Q++]=E>>16&255}}function Ze(a,u,B,P,Q,E){if(E==0)for(B=u+B;u>24|E[1]>>8&65280|E[2]<<8&16711680|E[3]<<24)>>>0),Q+=32;else r(P,Q,a,u,B)}function Br(a,u){Y[u][0]=Y[a+"0"],Y[u][1]=Y[a+"1"],Y[u][2]=Y[a+"2"],Y[u][3]=Y[a+"3"],Y[u][4]=Y[a+"4"],Y[u][5]=Y[a+"5"],Y[u][6]=Y[a+"6"],Y[u][7]=Y[a+"7"],Y[u][8]=Y[a+"8"],Y[u][9]=Y[a+"9"],Y[u][10]=Y[a+"10"],Y[u][11]=Y[a+"11"],Y[u][12]=Y[a+"12"],Y[u][13]=Y[a+"13"],Y[u][14]=Y[a+"0"],Y[u][15]=Y[a+"0"]}function lt(a){return a==zg||a==Wg||a==bw||a==Yg}function vt(){this.eb=[],this.size=this.A=this.fb=0}function Fr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Lt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vt,this.f.kb=new Fr,this.sd=null}function it(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function sr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ro(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function Tn(a,u){var B=a.T,P=u.ba.f.RGBA,Q=P.eb,E=P.fb+a.ka*P.A,I=Ti[u.ba.S],N=a.y,H=a.O,k=a.f,oA=a.N,QA=a.ea,G=a.W,hA=u.cc,mA=u.dc,KA=u.Mc,yA=u.Nc,zA=a.ka,YA=a.ka+a.T,oe=a.U,te=oe+1>>1;for(zA==0?I(N,H,null,null,k,oA,QA,G,k,oA,QA,G,Q,E,null,null,oe):(I(u.ec,u.fc,N,H,hA,mA,KA,yA,k,oA,QA,G,Q,E-P.A,Q,E,oe),++B);zA+2B,Q=B==Pw||B==Cw||B==yw||B==Vg||B==12||lt(B);if(u.memory=null,u.Ib=null,u.Jb=null,u.Nd=null,!Ou(u.Oa,a,Q?11:12))return 0;if(Q&<(B)&&Nu(),a.da)alert("todo:use_scaling");else{if(P){if(u.Ib=Ro,a.Kb){if(B=a.U+1>>1,u.memory=s(a.U+2*B),u.memory==null)return 0;u.ec=u.memory,u.fc=0,u.cc=u.ec,u.dc=u.fc+a.U,u.Mc=u.cc,u.Nc=u.dc+B,u.Ib=Tn,Nu()}}else alert("todo:EmitYUV");Q&&(u.Jb=na,P&&rs())}if(P&&!vp){for(a=0;256>a;++a)pB[a]=89858*(a-128)+Fw>>Qw,DB[a]=-22014*(a-128)+Fw,vB[a]=-45773*(a-128),BB[a]=113618*(a-128)+Fw>>Qw;for(a=Wu;a>Qw,mB[a-Wu]=xs(u,255),PB[a-Wu]=xs(u+8>>4,15);vp=1}return 1}function st(a){var u=a.ma,B=a.U,P=a.T;return t(!(1&a.ka)),0>=B||0>=P?0:(B=u.Ib(a,u),u.Jb!=null&&u.Jb(a,u,B),u.Dc+=B,1)}function ia(a){a.ma.memory=null}function sa(a,u,B,P){return ZA(a,8)!=47?0:(u[0]=ZA(a,14)+1,B[0]=ZA(a,14)+1,P[0]=ZA(a,1),ZA(a,3)!=0?0:!a.h)}function Ii(a,u){if(4>a)return a+1;var B=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&B)))?B:1;var B}function jr(a,u,B){var P=$(B),Q=a[u+=255&P].g-8;return 0>>0,t(8>=B.g),a.g}function bn(a,u,B){var P=a.xc;return t((u=P==0?0:a.vc[a.md*(B>>P)+(u>>P)])>Re.b)*He;KAoe&&(Ke=oe),(0,Ru[Rt[ln++]>>8&15])(G,hA+ +bt,zA,YA+bt-oe,Ke-bt,zA,YA+bt),bt=Ke}hA+=oe,YA+=oe,++KA&ze||(Re+=He)}QA!=k.nc&&r(H,N-mA,H,N+(QA-oA-1)*mA,mA);break;case 1:for(mA=G,yA=hA,oe=(G=k.Ea)-(YA=G&~(zA=(hA=1<>k.b)*KA;oA=Q),0E.o&&(P=E.o),B=P?B=0:(Q[0]+=4*E.v,E.ka=B-E.j,E.U=E.va-E.v,E.T=P-B,B=1),B){if(N=N[0],11>(B=a.ca).S){var oA=B.f.RGBA,QA=(P=B.S,Q=E.U,E=E.T,k=oA.eb,oA.A),G=E;for(oA=oA.fb+a.Ma*oA.A;0P){var Q=a.l.width,E=B.ca,I=B.tb+Q*P,N=a.V,H=a.Ba+a.c*P,k=a.gc;t(a.ab==1),t(k[0].hc==3),Hs(k[0],P,u,N,H,E,I),Es(B,P,u,E,I,Q)}a.C=a.Ma=u}function es(a,u,B,P,Q,E,I){var N=a.$/P,H=a.$%P,k=a.m,oA=a.s,QA=B+a.$,G=QA;Q=B+P*Q;var hA=B+P*E,mA=280+oA.ua,KA=a.Pb?N:16777216,yA=0=KA){var ze=QA-B;t((KA=a).Pb),KA.wd=KA.m,KA.xd=ze,0yt.g?(dA(te,te.u+yt.g),ze[He]=yt.value,te=0):(dA(te,te.u+yt.g-256),t(256<=yt.value),te=yt.value),te==0&&(oe=!0)}else te=jr(YA.G[0],YA.H[0],k);if(k.h)break;if(oe||256>te){if(!oe)if(YA.nd)u[QA]=(YA.qb|te<<8)>>>0;else{if(CA(k),oe=jr(YA.G[1],YA.H[1],k),CA(k),ze=jr(YA.G[2],YA.H[2],k),He=jr(YA.G[3],YA.H[3],k),k.h)break;u[QA]=(He<<24|oe<<16|te<<8|ze)>>>0}if(oe=!1,++QA,++H>=P&&(H=0,++N,I!=null&&N<=E&&!(N%16)&&I(a,N),yA!=null))for(;G>>yA.Mb]=te}else if(280>te){if(te=Ii(te-256,k),ze=jr(YA.G[4],YA.H[4],k),CA(k),ze=xi(P,ze=Ii(ze,k)),k.h)break;if(QA-B=P;)H-=P,++N,I!=null&&N<=E&&!(N%16)&&I(a,N);if(t(QA<=Q),H&zA&&(YA=bn(oA,H,N)),yA!=null)for(;G>>yA.Mb]=te}else{if(!(te>>yA.Mb]=te;te=QA,t(!(oe>>>(ze=yA).Xa)),u[te]=ze.X[oe],oe=!0}oe||t(k.h==sA(k))}if(a.Pb&&k.h&&QAE?E:N),a.a=0,a.$=QA-B}return 1}return a.a=3,0}function Li(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var u=a.Wa;u!=null&&(u.X=null),a.vb=null,t(a!=null)}function ko(){var a=new wt;return a==null?null:(a.a=0,a.xb=hp,Br("Predictor","VP8LPredictors"),Br("Predictor","VP8LPredictors_C"),Br("PredictorAdd","VP8LPredictorsAdd"),Br("PredictorAdd","VP8LPredictorsAdd_C"),Kr=Tt,Ku=Pt,ku=Rr,Xa=Yt,Za=Et,qa=It,tl=Qr,Y.VP8LMapColor32b=Ns,Y.VP8LMapColor8b=_u,a)}function Is(a,u,B,P,Q){var E=1,I=[a],N=[u],H=P.m,k=P.s,oA=null,QA=0;A:for(;;){if(B)for(;E&&ZA(H,1);){var G=I,hA=N,mA=P,KA=1,yA=mA.m,zA=mA.gc[mA.ab],YA=ZA(yA,2);if(mA.Oc&1<=mA.ab),YA){case 0:case 1:zA.b=ZA(yA,3)+2,KA=Is(ae(zA.Ea,zA.b),ae(zA.nc,zA.b),0,mA,zA.K),zA.K=zA.K[0];break;case 3:var oe,te=ZA(yA,8)+1,ze=16>Re.b),ln=s(Rt);if(ln==null)oe=0;else{var bt=Re.K[0],Ke=Re.w;for(ln[0]=Re.K[0][0],He=1;He<1*yt;++He)ln[He]=rt(bt[Ke+He],ln[He-1]);for(;He<4*Rt;++He)ln[He]=0;Re.K[0]=null,Re.K[0]=ln,oe=1}}KA=oe;break;case 2:break;default:t(0)}E=KA}}if(I=I[0],N=N[0],E&&ZA(H,1)&&!(E=1<=(QA=ZA(H,4))&&11>=QA)){P.a=3;break A}var ve;if(ve=E)e:{var Gr,Dt,kt,Cr=P,Un=I,Yn=N,Or=QA,Mn=B,Jn=Cr.m,cn=Cr.s,Xt=[null],cr=1,Tr=0,ur=nB[Or];t:for(;;){if(Mn&&ZA(Jn,1)){var En=ZA(Jn,3)+2,is=ae(Un,En),Vr=ae(Yn,En),ni=is*Vr;if(!Is(is,Vr,0,Cr,Xt))break t;for(Xt=Xt[0],cn.xc=En,Gr=0;Gr>8&65535;Xt[Gr]=gr,gr>=cr&&(cr=gr+1)}}if(Jn.h)break t;for(Dt=0;5>Dt;++Dt){var un=up[Dt];!Dt&&0=Xn),pi=gi;var ii=s(Tr);if(pi==null||ii==null||di==null){Cr.a=1;break t}var Bi=di;for(Gr=kt=0;GrDt;++Dt){un=up[Dt],vi[Dt]=Bi,ss[Dt]=kt,!Dt&&0Sw)break r}else A0=Sw;for(Ju=0;Juoc)Qp[Ju++]=oc,oc!=0&&(Fp=oc);else{var LB=oc==16,Ip=oc-16,SB=AB[Ip],xp=ZA(ro,$p[Ip])+SB;if(Ju+xp>Sw)break r;for(var NB=LB?Fp:0;0=Dt){var Xu,t0=ii[0];for(Xu=1;Xut0&&(t0=ii[Xu]);In+=t0}}if(Dr.nd=Da,Dr.Qb=0,Da&&(Dr.qb=(vi[3][ss[3]+0].value<<24|vi[1][ss[1]+0].value<<16|vi[2][ss[2]+0].value)>>>0,nl==0&&256>vi[0][ss[0]+0].value&&(Dr.Qb=1,Dr.qb+=vi[0][ss[0]+0].value<<8)),Dr.jc=!Dr.Qb&&6>In,Dr.jc){var Nw,ma=Dr;for(Nw=0;Nw>=mn(Hw,8,io),no>>=mn(ma.G[1][ma.H[1]+no],16,io),no>>=mn(ma.G[2][ma.H[2]+no],0,io),mn(ma.G[3][ma.H[3]+no],24,io))}}}cn.vc=Xt,cn.Wb=cr,cn.Ya=pi,cn.yc=di,ve=1;break e}ve=0}if(!(E=ve)){P.a=3;break A}if(0P+1?[]:0),!(Q.lengtha?0:a>u?u:a}function $l(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Eg(){var a=new iw;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,zu||(zu=Ac)),a}function qr(a,u,B){return a.a==0&&(a.a=u,a.sc=B,a.cb=0),0}function sw(a,u,B){return 3<=B&&a[u+0]==157&&a[u+1]==1&&a[u+2]==42}function Ls(a,u){if(a==null)return 0;if(a.a=0,a.sc="OK",u==null)return qr(a,2,"null VP8Io passed to VP8GetHeaders()");var B=u.data,P=u.w,Q=u.ha;if(4>Q)return qr(a,7,"Truncated header.");var E=B[P+0]|B[P+1]<<8|B[P+2]<<16,I=a.Od;if(I.Rb=!(1&E),I.td=E>>1&7,I.yd=E>>4&1,I.ub=E>>5,3Q)return qr(a,7,"cannot parse picture header");if(!sw(B,P,Q))return qr(a,3,"Bad code word");N.c=16383&(B[P+4]<<8|B[P+3]),N.Td=B[P+4]>>6,N.i=16383&(B[P+6]<<8|B[P+5]),N.Ud=B[P+6]>>6,P+=7,Q-=7,a.za=N.c+15>>4,a.Ub=N.i+15>>4,u.width=N.c,u.height=N.i,u.Da=0,u.j=0,u.v=0,u.va=u.width,u.o=u.height,u.da=0,u.ib=u.width,u.hb=u.height,u.U=u.width,u.T=u.height,n((E=a.Pa).jb,0,255,E.jb.length),t((E=a.Qa)!=null),E.Cb=0,E.Bb=0,E.Fb=1,n(E.Zb,0,0,E.Zb.length),n(E.Lb,0,0,E.Lb)}if(I.ub>Q)return qr(a,7,"bad partition length");SA(E=a.m,B,P,I.ub),P+=I.ub,Q-=I.ub,I.Rb&&(N.Ld=TA(E),N.Kd=TA(E)),N=a.Qa;var H,k=a.Pa;if(t(E!=null),t(N!=null),N.Cb=TA(E),N.Cb){if(N.Bb=TA(E),TA(E)){for(N.Fb=TA(E),H=0;4>H;++H)N.Zb[H]=TA(E)?bA(E,7):0;for(H=0;4>H;++H)N.Lb[H]=TA(E)?bA(E,6):0}if(N.Bb)for(H=0;3>H;++H)k.jb[H]=TA(E)?OA(E,8):255}else N.Bb=0;if(E.Ka)return qr(a,3,"cannot parse segment header");if((N=a.ed).zd=TA(E),N.Tb=OA(E,6),N.wb=OA(E,3),N.Pc=TA(E),N.Pc&&TA(E)){for(k=0;4>k;++k)TA(E)&&(N.vd[k]=bA(E,6));for(k=0;4>k;++k)TA(E)&&(N.od[k]=bA(E,6))}if(a.L=N.Tb==0?0:N.zd?1:2,E.Ka)return qr(a,3,"cannot parse filter header");var oA=Q;if(Q=H=P,P=H+oA,N=oA,a.Xb=(1<N&&(QA=N),SA(a.Jc[+oA],B,H,QA),H+=QA,N-=QA,Q+=3}SA(a.Jc[+k],B,H,N),B=HQA;++QA){if(oA.Cb){var G=oA.Zb[QA];oA.Fb||(G+=B)}else{if(0>16,8>hA.Eb[1]&&(hA.Eb[1]=8),hA.Qc[0]=Jg[xs(G+k,117)],hA.Qc[1]=Xg[xs(G+H,127)],hA.lc=G+H}if(!I.Rb)return qr(a,4,"Not a key frame.");for(TA(E),I=a.Pa,B=0;4>B;++B){for(Q=0;8>Q;++Q)for(P=0;3>P;++P)for(N=0;11>N;++N)k=JA(E,cB[B][Q][P][N])?OA(E,8):oB[B][Q][P][N],I.Wc[B][Q].Yb[P][N]=k;for(Q=0;17>Q;++Q)I.Xc[B][Q]=I.Wc[B][uB[Q]]}return a.kc=TA(E),a.kc&&(a.Bd=OA(E,8)),a.cb=1}function Ac(a,u,B,P,Q,E,I){var N=u[Q].Yb[B];for(B=0;16>Q;++Q){if(!JA(a,N[B+0]))return Q;for(;!JA(a,N[B+1]);)if(N=u[++Q].Yb[0],B=0,Q==16)return 16;var H=u[Q+1].Yb;if(JA(a,N[B+2])){var k=a,oA=0;if(JA(k,(G=N)[(QA=B)+3]))if(JA(k,G[QA+6])){for(N=0,QA=2*(oA=JA(k,G[QA+8]))+(G=JA(k,G[QA+9+oA])),oA=0,G=sB[QA];G[N];++N)oA+=oA+JA(k,G[N]);oA+=3+(8<(k=a).b&&HA(k);var QA,G=k.b,hA=(QA=k.Ca>>1)-(k.I>>G)>>31;--k.b,k.Ca+=hA,k.Ca|=1,k.I-=(QA+1&hA)<>3),a[u+B+32*P]=-256&Q?0>Q?0:255:Q}function sn(a,u,B,P,Q,E){Ni(a,u,0,B,P+Q),Ni(a,u,1,B,P+E),Ni(a,u,2,B,P-E),Ni(a,u,3,B,P-Q)}function aa(a){return(20091*a>>16)+a}function ow(a,u,B,P){var Q,E=0,I=s(16);for(Q=0;4>Q;++Q){var N=a[u+0]+a[u+8],H=a[u+0]-a[u+8],k=(35468*a[u+4]>>16)-aa(a[u+12]),oA=aa(a[u+4])+(35468*a[u+12]>>16);I[E+0]=N+oA,I[E+1]=H+k,I[E+2]=H-k,I[E+3]=N-oA,E+=4,u++}for(Q=E=0;4>Q;++Q)N=(a=I[E+0]+4)+I[E+8],H=a-I[E+8],k=(35468*I[E+4]>>16)-aa(I[E+12]),Ni(B,P,0,0,N+(oA=aa(I[E+4])+(35468*I[E+12]>>16))),Ni(B,P,1,0,H+k),Ni(B,P,2,0,H-k),Ni(B,P,3,0,N-oA),E++,P+=32}function Ig(a,u,B,P){var Q=a[u+0]+4,E=35468*a[u+4]>>16,I=aa(a[u+4]),N=35468*a[u+1]>>16;sn(B,P,0,Q+I,a=aa(a[u+1]),N),sn(B,P,1,Q+E,a,N),sn(B,P,2,Q-E,a,N),sn(B,P,3,Q-I,a,N)}function xg(a,u,B,P,Q){ow(a,u,B,P),Q&&ow(a,u+16,B,P+4)}function Ss(a,u,B,P){rl(a,u+0,B,P,1),rl(a,u+32,B,P+128,1)}function lw(a,u,B,P){var Q;for(a=a[u+0]+4,Q=0;4>Q;++Q)for(u=0;4>u;++u)Ni(B,P,u,Q,a)}function cw(a,u,B,P){a[u+0]&&ar(a,u+0,B,P),a[u+16]&&ar(a,u+16,B,P+4),a[u+32]&&ar(a,u+32,B,P+128),a[u+48]&&ar(a,u+48,B,P+128+4)}function ec(a,u,B,P){var Q,E=s(16);for(Q=0;4>Q;++Q){var I=a[u+0+Q]+a[u+12+Q],N=a[u+4+Q]+a[u+8+Q],H=a[u+4+Q]-a[u+8+Q],k=a[u+0+Q]-a[u+12+Q];E[0+Q]=I+N,E[8+Q]=I-N,E[4+Q]=k+H,E[12+Q]=k-H}for(Q=0;4>Q;++Q)I=(a=E[0+4*Q]+3)+E[3+4*Q],N=E[1+4*Q]+E[2+4*Q],H=E[1+4*Q]-E[2+4*Q],k=a-E[3+4*Q],B[P+0]=I+N>>3,B[P+16]=k+H>>3,B[P+32]=I-N>>3,B[P+48]=k-H>>3,P+=64}function Vo(a,u,B){var P,Q=u-32,E=wi,I=255-a[Q-1];for(P=0;PB;++B)r(a,u+32*B,a,u-32,16)}function uw(a,u){var B;for(B=16;0P;++P)n(u,B+32*P,a,16)}function Hg(a,u){var B,P=16;for(B=0;16>B;++B)P+=a[u-1+32*B]+a[u+B-32];ts(P>>5,a,u)}function zo(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u-1+32*B];ts(P>>4,a,u)}function Fu(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u+B-32];ts(P>>4,a,u)}function jg(a,u){ts(128,a,u)}function dt(a,u,B){return a+2*u+B+2>>2}function Og(a,u){var B,P=u-32;for(P=new Uint8Array([dt(a[P-1],a[P+0],a[P+1]),dt(a[P+0],a[P+1],a[P+2]),dt(a[P+1],a[P+2],a[P+3]),dt(a[P+2],a[P+3],a[P+4])]),B=0;4>B;++B)r(a,u+32*B,P,0,P.length)}function Tg(a,u){var B=a[u-1],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];le(a,u+0,16843009*dt(a[u-1-32],B,P)),le(a,u+32,16843009*dt(B,P,Q)),le(a,u+64,16843009*dt(P,Q,E)),le(a,u+96,16843009*dt(Q,E,E))}function Mg(a,u){var B,P=4;for(B=0;4>B;++B)P+=a[u+B-32]+a[u-1+32*B];for(P>>=3,B=0;4>B;++B)n(a,u+32*B,P,4)}function oa(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+96]=dt(P,Q,a[u-1+96]),a[u+1+96]=a[u+0+64]=dt(B,P,Q),a[u+2+96]=a[u+1+64]=a[u+0+32]=dt(E,B,P),a[u+3+96]=a[u+2+64]=a[u+1+32]=a[u+0+0]=dt(I,E,B),a[u+3+64]=a[u+2+32]=a[u+1+0]=dt(N,I,E),a[u+3+32]=a[u+2+0]=dt(H,N,I),a[u+3+0]=dt(k,H,N)}function la(a,u){var B=a[u+1-32],P=a[u+2-32],Q=a[u+3-32],E=a[u+4-32],I=a[u+5-32],N=a[u+6-32],H=a[u+7-32];a[u+0+0]=dt(a[u+0-32],B,P),a[u+1+0]=a[u+0+32]=dt(B,P,Q),a[u+2+0]=a[u+1+32]=a[u+0+64]=dt(P,Q,E),a[u+3+0]=a[u+2+32]=a[u+1+64]=a[u+0+96]=dt(Q,E,I),a[u+3+32]=a[u+2+64]=a[u+1+96]=dt(E,I,N),a[u+3+64]=a[u+2+96]=dt(I,N,H),a[u+3+96]=dt(N,H,H)}function _g(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+0]=a[u+1+64]=E+I+1>>1,a[u+1+0]=a[u+2+64]=I+N+1>>1,a[u+2+0]=a[u+3+64]=N+H+1>>1,a[u+3+0]=H+k+1>>1,a[u+0+96]=dt(Q,P,B),a[u+0+64]=dt(P,B,E),a[u+0+32]=a[u+1+96]=dt(B,E,I),a[u+1+32]=a[u+2+96]=dt(E,I,N),a[u+2+32]=a[u+3+96]=dt(I,N,H),a[u+3+32]=dt(N,H,k)}function Rg(a,u){var B=a[u+0-32],P=a[u+1-32],Q=a[u+2-32],E=a[u+3-32],I=a[u+4-32],N=a[u+5-32],H=a[u+6-32],k=a[u+7-32];a[u+0+0]=B+P+1>>1,a[u+1+0]=a[u+0+64]=P+Q+1>>1,a[u+2+0]=a[u+1+64]=Q+E+1>>1,a[u+3+0]=a[u+2+64]=E+I+1>>1,a[u+0+32]=dt(B,P,Q),a[u+1+32]=a[u+0+96]=dt(P,Q,E),a[u+2+32]=a[u+1+96]=dt(Q,E,I),a[u+3+32]=a[u+2+96]=dt(E,I,N),a[u+3+64]=dt(I,N,H),a[u+3+96]=dt(N,H,k)}function tc(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];a[u+0+0]=B+P+1>>1,a[u+2+0]=a[u+0+32]=P+Q+1>>1,a[u+2+32]=a[u+0+64]=Q+E+1>>1,a[u+1+0]=dt(B,P,Q),a[u+3+0]=a[u+1+32]=dt(P,Q,E),a[u+3+32]=a[u+1+64]=dt(Q,E,E),a[u+3+64]=a[u+2+64]=a[u+0+96]=a[u+1+96]=a[u+2+96]=a[u+3+96]=E}function Uu(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96],I=a[u-1-32],N=a[u+0-32],H=a[u+1-32],k=a[u+2-32];a[u+0+0]=a[u+2+32]=B+I+1>>1,a[u+0+32]=a[u+2+64]=P+B+1>>1,a[u+0+64]=a[u+2+96]=Q+P+1>>1,a[u+0+96]=E+Q+1>>1,a[u+3+0]=dt(N,H,k),a[u+2+0]=dt(I,N,H),a[u+1+0]=a[u+3+32]=dt(B,I,N),a[u+1+32]=a[u+3+64]=dt(P,B,I),a[u+1+64]=a[u+3+96]=dt(Q,P,B),a[u+1+96]=dt(E,Q,P)}function Wo(a,u){var B;for(B=0;8>B;++B)r(a,u+32*B,a,u-32,8)}function Kg(a,u){var B;for(B=0;8>B;++B)n(a,u,a[u-1],8),u+=32}function ca(a,u,B){var P;for(P=0;8>P;++P)n(u,B+32*P,a,8)}function kg(a,u){var B,P=8;for(B=0;8>B;++B)P+=a[u+B-32]+a[u-1+32*B];ca(P>>4,a,u)}function Eu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u+B-32];ca(P>>3,a,u)}function Iu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u-1+32*B];ca(P>>3,a,u)}function fw(a,u){ca(128,a,u)}function ua(a,u,B){var P=a[u-B],Q=a[u+0],E=3*(Q-P)+Gg[1020+a[u-2*B]-a[u+B]],I=Dw[112+(E+4>>3)];a[u-B]=wi[255+P+Dw[112+(E+3>>3)]],a[u+0]=wi[255+Q-I]}function xu(a,u,B,P){var Q=a[u+0],E=a[u+B];return Oi[255+a[u-2*B]-a[u-B]]>P||Oi[255+E-Q]>P}function rc(a,u,B,P){return 4*Oi[255+a[u-B]-a[u+0]]+Oi[255+a[u-2*B]-a[u+B]]<=P}function Lu(a,u,B,P,Q){var E=a[u-3*B],I=a[u-2*B],N=a[u-B],H=a[u+0],k=a[u+B],oA=a[u+2*B],QA=a[u+3*B];return 4*Oi[255+N-H]+Oi[255+I-k]>P?0:Oi[255+a[u-4*B]-E]<=Q&&Oi[255+E-I]<=Q&&Oi[255+I-N]<=Q&&Oi[255+QA-oA]<=Q&&Oi[255+oA-k]<=Q&&Oi[255+k-H]<=Q}function Yo(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P,B,Q)&&ua(a,u+P,B)}function Su(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P*B,1,Q)&&ua(a,u+P*B,1)}function hw(a,u,B,P){var Q;for(Q=3;0>7,zA=18*YA+63>>7,YA=9*YA+63>>7;H[k-3*oA]=wi[255+H[k-3*oA]+YA],H[k-2*oA]=wi[255+QA+zA],H[k-oA]=wi[255+G+yA],H[k+0]=wi[255+hA-yA],H[k+oA]=wi[255+mA-zA],H[k+2*oA]=wi[255+KA-YA]}u+=P}}function ha(a,u,B,P,Q,E,I,N){for(E=2*E+1;0>3)],KA=Dw[112+(KA+3>>3)],yA=mA+1>>1;H[k-2*oA]=wi[255+H[k-2*oA]+yA],H[k-oA]=wi[255+QA+KA],H[k+0]=wi[255+G-mA],H[k+oA]=wi[255+hA-yA]}u+=P}}function dw(a,u,B,P,Q,E){fa(a,u,B,1,16,P,Q,E)}function Jo(a,u,B,P,Q,E){fa(a,u,1,B,16,P,Q,E)}function gw(a,u,B,P,Q,E){var I;for(I=3;0k?0:255:k)&255,k=H,Q[E+N]=oA}}function vr(a,u,B,P){var Q=u.width,E=u.o;if(t(a!=null&&u!=null),0>B||0>=P||B+P>E)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Ct,(I=a.ga==null)||(I=u.width*u.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var N=a.Fa,H=a.P,k=a.qc,oA=a.mb,QA=a.nb,G=H+1,hA=k-1,mA=I.l;if(t(N!=null&&oA!=null&&u!=null),eo[0]=null,eo[1]=Jt,eo[2]=xr,eo[3]=$r,I.ca=oA,I.tb=QA,I.c=u.width,I.i=u.height,t(0=k)u=0;else if(I.$a=3&N[H+0],I.Z=N[H+0]>>2&3,I.Lc=N[H+0]>>4&3,H=N[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!u}if(I)return null;a.ga.Lc!=1?a.Ga=0:P=E-B}t(a.ga!=null),t(B+P<=E);A:{if(u=(N=a.ga).c,E=N.l.o,N.$a==0){if(G=a.rc,hA=a.Vc,mA=a.Fa,H=a.P+1+B*u,k=a.mb,oA=a.nb+B*u,t(H<=a.P+a.qc),N.Z!=0)for(t(eo[N.Z]!=null),I=0;I=u)u=1;else if(N.ic||rs(),N.ic){N=I.V,G=I.Ba,hA=I.c;var KA=I.i,yA=(mA=1,H=I.$/hA,k=I.$%hA,oA=I.m,QA=I.s,I.$),zA=hA*KA,YA=hA*u,oe=QA.wc,te=yA(KA=jr(te.G[0],te.H[0],oA)))N[G+yA]=KA,++yA,++k>=hA&&(k=0,++H<=u&&!(H%16)&&As(I,H));else{if(!(280>KA)){mA=0;break e}KA=Ii(KA-256,oA);var ze,He=jr(te.G[4],te.H[4],oA);if(CA(oA),!(yA>=(He=xi(hA,He=Ii(He,oA)))&&zA-yA>=KA)){mA=0;break e}for(ze=0;ze=hA;)k-=hA,++H<=u&&!(H%16)&&As(I,H);yAu?u:H);break e}!mA||oA.h&&yA=E&&(a.Cc=1),P=1}if(!P)return null;if(a.Cc&&((P=a.ga)!=null&&(P.mc=null),a.ga=null,0>23,N[H+4*I+1]=N[H+4*I+1]*QA>>23,N[H+4*I+2]=N[H+4*I+2]*QA>>23)}u+=E}}function An(a,u,B,P,Q){for(;0>4)*H>>16;a[u+2*E+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[u+2*E+1]=240&k|N}u+=Q}}function Qn(a,u,B,P,Q,E,I,N){var H,k,oA=255;for(k=0;k>8}function rs(){Vu=an,ep=An,tp=Qn,rp=wa}function da(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA,G,hA,mA,KA,yA,zA,YA,oe){var te,ze=oe-1>>1,He=N[H+0]|k[oA+0]<<16,yt=QA[G+0]|hA[mA+0]<<16;t(P!=null);var Re=3*He+yt+131074>>2;for(u(P[Q+0],255&Re,Re>>16,KA,yA),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+0],255&Re,Re>>16,zA,YA)),te=1;te<=ze;++te){var Rt=N[H+te]|k[oA+te]<<16,ln=QA[G+te]|hA[mA+te]<<16,bt=He+Rt+yt+ln+524296,Ke=bt+2*(Rt+yt)>>3;Re=Ke+He>>1,He=(bt=bt+2*(He+ln)>>3)+Rt>>1,u(P[Q+2*te-1],255&Re,Re>>16,KA,yA+(2*te-1)*B),u(P[Q+2*te-0],255&He,He>>16,KA,yA+(2*te-0)*B),E!=null&&(Re=bt+yt>>1,He=Ke+ln>>1,u(E[I+2*te-1],255&Re,Re>>16,zA,YA+(2*te-1)*B),u(E[I+2*te+0],255&He,He>>16,zA,YA+(2*te+0)*B)),He=Rt,yt=ln}1&oe||(Re=3*He+yt+131074>>2,u(P[Q+oe-1],255&Re,Re>>16,KA,yA+(oe-1)*B),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+oe-1],255&Re,Re>>16,zA,YA+(oe-1)*B)))}}function Nu(){Ti[mw]=hB,Ti[Pw]=wp,Ti[lp]=wB,Ti[Cw]=dp,Ti[yw]=gp,Ti[Vg]=pp,Ti[cp]=dB,Ti[zg]=wp,Ti[Wg]=dp,Ti[bw]=gp,Ti[Yg]=pp}function nc(a){return a&~gB?0>a?0:255:a>>Bp}function Va(a,u){return nc((19077*a>>8)+(26149*u>>8)-14234)}function Xo(a,u,B){return nc((19077*a>>8)-(6419*u>>8)-(13320*B>>8)+8708)}function Zo(a,u){return nc((19077*a>>8)+(33050*u>>8)-17685)}function za(a,u,B,P,Q){P[Q+0]=Va(a,B),P[Q+1]=Xo(a,u,B),P[Q+2]=Zo(a,u)}function Fn(a,u,B,P,Q){P[Q+0]=Zo(a,u),P[Q+1]=Xo(a,u,B),P[Q+2]=Va(a,B)}function qo(a,u,B,P,Q){var E=Xo(a,u,B);u=E<<3&224|Zo(a,u)>>3,P[Q+0]=248&Va(a,B)|E>>5,P[Q+1]=u}function $o(a,u,B,P,Q){var E=240&Zo(a,u)|15;P[Q+0]=240&Va(a,B)|Xo(a,u,B)>>4,P[Q+1]=E}function Hu(a,u,B,P,Q){P[Q+0]=255,za(a,u,B,P,Q+1)}function ju(a,u,B,P,Q){Fn(a,u,B,P,Q),P[Q+3]=255}function Wn(a,u,B,P,Q){za(a,u,B,P,Q),P[Q+3]=255}function ga(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA){for(var G=oA+(-2&QA)*B;oA!=G;)u(P[Q+0],E[I+0],N[H+0],k,oA),u(P[Q+1],E[I+0],N[H+0],k,oA+B),Q+=2,++I,++H,oA+=2*B;1&QA&&u(P[Q+0],E[I+0],N[H+0],k,oA)}}function ic(a,u,B){return B==0?a==0?u==0?6:5:u==0?4:0:B}function pw(a,u,B,P,Q){switch(a>>>30){case 3:rl(u,B,P,Q,0);break;case 2:ji(u,B,P,Q);break;case 1:ar(u,B,P,Q)}}function Hi(a,u){var B,P,Q=u.M,E=u.Nb,I=a.oc,N=a.pc+40,H=a.oc,k=a.pc+584,oA=a.oc,QA=a.pc+600;for(B=0;16>B;++B)I[N+32*B-1]=129;for(B=0;8>B;++B)H[k+32*B-1]=129,oA[QA+32*B-1]=129;for(0B;++B)r(I,N+32*B-4,I,N+32*B+12,4);for(B=-1;8>B;++B)r(H,k+32*B-4,H,k+32*B+4,4),r(oA,QA+32*B-4,oA,QA+32*B+4,4)}var hA=a.Gd,mA=a.Hd+P,KA=G.ad,yA=G.Hc;if(0=a.za-1?n(zA,YA,hA[mA].y[15],4):r(zA,YA,hA[mA+1].y,0,4)),B=0;4>B;B++)zA[YA+128+B]=zA[YA+256+B]=zA[YA+384+B]=zA[YA+0+B];for(B=0;16>B;++B,yA<<=2)zA=I,YA=N+Dp[B],ns[G.Ob[B]](zA,YA),pw(yA,KA,16*+B,zA,YA)}else if(zA=ic(P,Q,G.Ob[0]),Ao[zA](I,N),yA!=0)for(B=0;16>B;++B,yA<<=2)pw(yA,KA,16*+B,I,N+Dp[B]);for(B=G.Gc,zA=ic(P,Q,G.Dd),va[zA](H,k),va[zA](oA,QA),yA=KA,zA=H,YA=k,255&(G=0|B)&&(170&G?js(yA,256,zA,YA):dr(yA,256,zA,YA)),G=oA,yA=QA,255&(B>>=8)&&(170&B?js(KA,320,G,yA):dr(KA,320,G,yA)),QB;++B)r(hA,mA+B*a.R,I,N+32*B,16);for(B=0;8>B;++B)r(KA,G+B*a.B,H,k+32*B,8),r(yA,zA+B*a.B,oA,QA+32*B,8)}}function Al(a,u,B,P,Q,E,I,N,H){var k=[0],oA=[0],QA=0,G=H!=null?H.kd:0,hA=H!=null?H:new ee;if(a==null||12>B)return 7;hA.data=a,hA.w=u,hA.ha=B,u=[u],B=[B],hA.gb=[hA.gb];A:{var mA=u,KA=B,yA=hA.gb;if(t(a!=null),t(KA!=null),t(yA!=null),yA[0]=0,12<=KA[0]&&!e(a,mA[0],"RIFF")){if(e(a,mA[0]+8,"WEBP")){yA=3;break A}var zA=Je(a,mA[0]+4);if(12>zA||4294967286KA[0]-8){yA=7;break A}yA[0]=zA,mA[0]+=12,KA[0]-=12}yA=0}if(yA!=0)return yA;for(zA=0yA[0])yA=7;else{if(!e(YA,KA[0],"VP8X")){if(Je(YA,KA[0]+4)!=10){yA=3;break A}if(18>yA[0]){yA=7;break A}var He=Je(YA,KA[0]+8),yt=1+Pe(YA,KA[0]+12);if(2147483648<=yt*(YA=1+Pe(YA,KA[0]+15))){yA=3;break A}ze!=null&&(ze[0]=He),oe!=null&&(oe[0]=yt),te!=null&&(te[0]=YA),KA[0]+=18,yA[0]-=18,Re[0]=1}yA=0}}if(QA=QA[0],mA=mA[0],yA!=0)return yA;if(KA=!!(2&mA),!zA&&QA)return 3;if(E!=null&&(E[0]=!!(16&mA)),I!=null&&(I[0]=KA),N!=null&&(N[0]=0),I=k[0],mA=oA[0],QA&&KA&&H==null){yA=0;break}if(4>B){yA=7;break}if(zA&&QA||!zA&&!QA&&!e(a,u[0],"ALPH")){B=[B],hA.na=[hA.na],hA.P=[hA.P],hA.Sa=[hA.Sa];A:{He=a,yA=u,zA=B;var Re=hA.gb;oe=hA.na,te=hA.P,ze=hA.Sa,yt=22,t(He!=null),t(zA!=null),YA=yA[0];var Rt=zA[0];for(t(oe!=null),t(ze!=null),oe[0]=null,te[0]=null,ze[0]=0;;){if(yA[0]=YA,zA[0]=Rt,8>Rt){yA=7;break A}var ln=Je(He,YA+4);if(4294967286Re){yA=3;break A}if(!e(He,YA,"VP8 ")||!e(He,YA,"VP8L")){yA=0;break A}if(Rt[0]zA[0])yA=7;else{if(YA||yt){if(Re=Je(Re,He+4),12<=oe&&Re>oe-12){yA=3;break A}if(G&&Re>zA[0]-8){yA=7;break A}te[0]=Re,yA[0]+=8,zA[0]-=8,ze[0]=yt}else ze[0]=5<=zA[0]&&Re[He+0]==47&&!(Re[He+4]>>5),te[0]=zA[0];yA=0}if(B=B[0],hA.Ja=hA.Ja[0],hA.xa=hA.xa[0],u=u[0],yA!=0)break;if(4294967286B){yA=7;break}N=I,G=mA,KA=E,a==null||5>B?a=0:5<=B&&a[u+0]==47&&!(a[u+4]>>5)?(zA=[0],Re=[0],oe=[0],MA(te=new z,a,u,B),sa(te,zA,Re,oe)?(N!=null&&(N[0]=zA[0]),G!=null&&(G[0]=Re[0]),KA!=null&&(KA[0]=oe[0]),a=1):a=0):a=0}else{if(10>B){yA=7;break}N=mA,a==null||10>B||!sw(a,u+3,B-3)?a=0:(G=a[u+0]|a[u+1]<<8|a[u+2]<<16,KA=16383&(a[u+7]<<8|a[u+6]),a=16383&(a[u+9]<<8|a[u+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=hA.Ja||!KA||!a?a=0:(I&&(I[0]=KA),N&&(N[0]=a),a=1))}if(!a||(I=I[0],mA=mA[0],QA&&(k[0]!=I||oA[0]!=mA)))return 3;H!=null&&(H[0]=hA,H.offset=u-H.w,t(4294967286>u-H.w),t(H.offset==H.ha-B));break}return yA==0||yA==7&&QA&&H==null?(E!=null&&(E[0]|=hA.na!=null&&0B||(E&=-2,I&=-2),0>E||0>I||0>=N||0>=H||E+N>P||I+H>Q))return 0;if(u.v=E,u.j=I,u.va=E+N,u.o=I+H,u.U=N,u.T=H,u.da=a!=null&&0a.S){var u=a.f.RGBA;u.fb+=(a.height-1)*u.A,u.A=-u.A}else u=a.f.kb,a=a.height,u.O+=(a-1)*u.fa,u.fa=-u.fa,u.N+=(a-1>>1)*u.Ab,u.Ab=-u.Ab,u.W+=(a-1>>1)*u.Db,u.Db=-u.Db,u.F!=null&&(u.J+=(a-1)*u.lb,u.lb=-u.lb);return 0}function Wa(a,u,B,P){if(P==null||0>=a||0>=u)return 2;if(B!=null){if(B.Da){var Q=B.cd,E=B.bd,I=-2&B.v,N=-2&B.j;if(0>I||0>N||0>=Q||0>=E||I+Q>a||N+E>u)return 2;a=Q,u=E}if(B.da){if(!tt(a,u,Q=[B.ib],E=[B.hb]))return 2;a=Q[0],u=E[0]}}P.width=a,P.height=u;A:{var H=P.width,k=P.height;if(a=P.S,0>=H||0>=k||!(a>=mw&&13>a))a=2;else{if(0>=P.Rd&&P.sd==null){I=E=Q=u=0;var oA=(N=H*mp[a])*k;if(11>a||(E=(k+1)/2*(u=(H+1)/2),a==12&&(I=(Q=H)*k)),(k=s(oA+2*E+I))==null){a=1;break A}P.sd=k,11>a?((H=P.f.RGBA).eb=k,H.fb=0,H.A=N,H.size=oA):((H=P.f.kb).y=k,H.O=0,H.fa=N,H.Fd=oA,H.f=k,H.N=0+oA,H.Ab=u,H.Cd=E,H.ea=k,H.W=0+oA+E,H.Db=u,H.Ed=E,a==12&&(H.F=k,H.J=0+oA+2*E),H.Tc=I,H.lb=Q)}if(u=1,Q=P.S,E=P.width,I=P.height,Q>=mw&&13>Q)if(11>Q)a=P.f.RGBA,u&=(N=Math.abs(a.A))*(I-1)+E<=a.size,u&=N>=E*mp[Q],u&=a.eb!=null;else{a=P.f.kb,N=(E+1)/2,oA=(I+1)/2,H=Math.abs(a.fa),k=Math.abs(a.Ab);var QA=Math.abs(a.Db),G=Math.abs(a.lb),hA=G*(I-1)+E;u&=H*(I-1)+E<=a.Fd,u&=k*(oA-1)+N<=a.Cd,u=(u&=QA*(oA-1)+N<=a.Ed)&H>=E&k>=N&QA>=N,u&=a.y!=null,u&=a.f!=null,u&=a.ea!=null,Q==12&&(u&=G>=E,u&=hA<=a.Tc,u&=a.F!=null)}else u=0;a=u?0:2}}return a!=0||B!=null&&B.fd&&(a=Tu(P)),a}var el=64,fi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],hi=24,Ya=32,pa=8,Ja=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];je("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(a){return a},Y.Predictor2=function(a,u,B){return u[B+0]},Y.Predictor3=function(a,u,B){return u[B+1]},Y.Predictor4=function(a,u,B){return u[B-1]},Y.Predictor5=function(a,u,B){return Xe(Xe(a,u[B+1]),u[B+0])},Y.Predictor6=function(a,u,B){return Xe(a,u[B-1])},Y.Predictor7=function(a,u,B){return Xe(a,u[B+0])},Y.Predictor8=function(a,u,B){return Xe(u[B-1],u[B+0])},Y.Predictor9=function(a,u,B){return Xe(u[B+0],u[B+1])},Y.Predictor10=function(a,u,B){return Xe(Xe(a,u[B-1]),Xe(u[B+0],u[B+1]))},Y.Predictor11=function(a,u,B){var P=u[B+0];return 0>=Bt(P>>24&255,a>>24&255,(u=u[B-1])>>24&255)+Bt(P>>16&255,a>>16&255,u>>16&255)+Bt(P>>8&255,a>>8&255,u>>8&255)+Bt(255&P,255&a,255&u)?P:a},Y.Predictor12=function(a,u,B){var P=u[B+0];return(ir((a>>24&255)+(P>>24&255)-((u=u[B-1])>>24&255))<<24|ir((a>>16&255)+(P>>16&255)-(u>>16&255))<<16|ir((a>>8&255)+(P>>8&255)-(u>>8&255))<<8|ir((255&a)+(255&P)-(255&u)))>>>0},Y.Predictor13=function(a,u,B){var P=u[B-1];return(Ot((a=Xe(a,u[B+0]))>>24&255,P>>24&255)<<24|Ot(a>>16&255,P>>16&255)<<16|Ot(a>>8&255,P>>8&255)<<8|Ot(255&a,255&P))>>>0};var Mu=Y.PredictorAdd0;Y.PredictorAdd1=_t,je("Predictor2","PredictorAdd2"),je("Predictor3","PredictorAdd3"),je("Predictor4","PredictorAdd4"),je("Predictor5","PredictorAdd5"),je("Predictor6","PredictorAdd6"),je("Predictor7","PredictorAdd7"),je("Predictor8","PredictorAdd8"),je("Predictor9","PredictorAdd9"),je("Predictor10","PredictorAdd10"),je("Predictor11","PredictorAdd11"),je("Predictor12","PredictorAdd12"),je("Predictor13","PredictorAdd13");var sc=Y.PredictorAdd2;We("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),We("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var Kr,Bw=Y.ColorIndexInverseTransform,Ns=Y.MapARGB,Hs=Y.VP8LColorIndexInverseTransformAlpha,_u=Y.MapAlpha,Ru=Y.VP8LPredictorsAdd=[];Ru.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var Ku,ku,Xa,Za,qa,tl,$a,rl,ji,js,ar,dr,kr,on,Ba,Gu,ac,vw,J0,X0,Z0,q0,$0,Ap,Vu,ep,tp,rp,np=s(511),ip=s(2041),sp=s(225),ap=s(767),op=0,Gg=ip,Dw=sp,wi=ap,Oi=np,mw=0,Pw=1,lp=2,Cw=3,yw=4,Vg=5,cp=6,zg=7,Wg=8,bw=9,Yg=10,$p=[2,3,7],AB=[3,3,11],up=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,Jg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Xg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zu=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],ns=[],va=[],fB=1,hp=2,eo=[],Ti=[];da("UpsampleRgbLinePair",za,3),da("UpsampleBgrLinePair",Fn,3),da("UpsampleRgbaLinePair",Wn,4),da("UpsampleBgraLinePair",ju,4),da("UpsampleArgbLinePair",Hu,4),da("UpsampleRgba4444LinePair",$o,2),da("UpsampleRgb565LinePair",qo,2);var hB=Y.UpsampleRgbLinePair,wB=Y.UpsampleBgrLinePair,wp=Y.UpsampleRgbaLinePair,dp=Y.UpsampleBgraLinePair,gp=Y.UpsampleArgbLinePair,pp=Y.UpsampleRgba4444LinePair,dB=Y.UpsampleRgb565LinePair,Qw=16,Fw=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&rs()),P.Pb&&0(H=B.Md)?0:100k;++k)12>(QA=Q.pb[k]).lc&&(QA.ia=H*CB[0>QA.lc?0:QA.lc]>>3),oA|=QA.ia;oA&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=B.Id,100Q.Ga&&(Q.Ga=0)}(function(G,hA){if(G==null)return 0;if(hA==null)return qr(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!Ls(G,hA))return 0;if(t(G.cb),hA.ac==null||hA.ac(hA)){hA.ob&&(G.L=0);var mA=Uw[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=hA.v-mA>>4,G.zb=hA.j-mA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=hA.o+15+mA>>4,G.Hb=hA.va+15+mA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0mA;++mA){var yA;if(G.Qa.Cb){var zA=G.Qa.Lb[mA];G.Qa.Fb||(zA+=KA.Tb)}else zA=KA.Tb;for(yA=0;1>=yA;++yA){var YA=G.gd[mA][yA],oe=zA;if(KA.Pc&&(oe+=KA.vd[0],yA&&(oe+=KA.od[0])),0<(oe=0>oe?0:63>2:te>>1)>9-KA.wb&&(te=9-KA.wb),1>te&&(te=1),YA.dd=te,YA.tc=2*oe+te,YA.ld=40<=oe?2:15<=oe?1:0}else YA.tc=0;YA.La=yA}}}mA=0}else qr(G,6,"Frame setup failed"),mA=G.a;if(mA=mA==0){if(mA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){mA=qr(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,oe=G.Fc,G.Ac=YA,G.Bc=oe,oe+=KA,G.Gd=h(ze,nw),G.Hd=0,G.rb=h(He+1,yu),G.sb=1,G.wa=yt?h(yt,Si):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=mA;++mA)np[255+mA]=0>mA?-mA:mA;for(mA=-1020;1020>=mA;++mA)ip[1020+mA]=-128>mA?-128:127=mA;++mA)sp[112+mA]=-16>mA?-16:15=mA;++mA)ap[255+mA]=0>mA?0:255kt;++kt){var cn,Xt=Yn[0+kt];for(cn=0;4>cn;++cn){Xt=lB[Cr[Un+cn]][Xt];for(var cr=fp[JA(Dt,Xt[0])];0>3;for(cr=0;256>cr;cr+=16)kt[Mn+cr]=ni}En=1,is=Un[0]}var gr=15&Dt.la,un=15&Jn.la;for(cr=0;4>cr;++cr){var di=1&un;for(ni=ur=0;4>ni;++ni)gr=gr>>1|(di=(Vr=zu(Cr,is,Vr=di+(1&gr),Or.Sc,En,kt,Mn))>En)<<7,ur=ur<<2|(3>=4,un=un>>1|di<<7,cn=(cn<<8|ur)>>>0}for(is=gr,En=un>>4,Tr=0;4>Tr;Tr+=2){for(ur=0,gr=Dt.la>>4+Tr,un=Jn.la>>4+Tr,cr=0;2>cr;++cr){for(di=1&un,ni=0;2>ni;++ni)Vr=di+(1&gr),gr=gr>>1|(di=0<(Vr=zu(Cr,Un[2],Vr,Or.Qc,0,kt,Mn)))<<3,ur=ur<<2|(3>=2,un=un>>1|di<<5}Xt|=ur<<4*Tr,is|=gr<<4<=Ke.zb&&Ke.M<=Ke.Va,Ke.Aa==0)e:{if(bt.M=Ke.M,bt.uc=Dt,Hi(Ke,bt),Gr=1,bt=(ur=Ke.D).Nb,Dt=(Xt=Uw[Ke.L])*Ke.R,Cr=Xt/2*Ke.B,cr=16*bt*Ke.R,ni=8*bt*Ke.B,Un=Ke.sa,Yn=Ke.ta-Dt+cr,Or=Ke.qa,kt=Ke.ra-Cr+ni,Mn=Ke.Ha,Jn=Ke.Ia-Cr+ni,un=(gr=ur.M)==0,cn=gr>=Ke.Va-1,Ke.Aa==2&&Hi(Ke,ur),ur.uc)for(di=(Vr=Ke).D.M,t(Vr.D.uc),ur=Vr.yb;urve.o&&(gr=ve.o),ve.F=null,ve.J=null,Ke.Fa!=null&&0>1),ve.W+=Ke.B*(Xt>>1),ve.F!=null&&(ve.J+=ve.width*Xt)),ur>1,ve.W+=ve.v>>1,ve.F!=null&&(ve.J+=ve.v),ve.ka=ur-ve.j,ve.U=ve.va-ve.v,ve.T=gr-ur,Gr=ve.put(ve))}bt+1!=Ke.Ic||cn||(r(Ke.sa,Ke.ta-Dt,Un,Yn+16*Ke.R,Dt),r(Ke.qa,Ke.ra-Cr,Or,kt+8*Ke.B,Cr),r(Ke.Ha,Ke.Ia-Cr,Mn,Jn+8*Ke.B,Cr))}if(!Gr)return qr(Rt,6,"Output aborted.")}return 1}(G,hA)),hA.bc!=null&&hA.bc(hA),mA&=1}return mA?(G.cb=0,mA):0})(a,P)||(u=a.a)}}else u=a.a}u==0&&I.Oa!=null&&I.Oa.fd&&(u=Tu(I.ba))}I=u}E=I!=0?null:11>E?N.f.RGBA.eb:N.f.kb.y}else E=null;return E};var mp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(Y,DA){for(var L="",R=0;R<4;R++)L+=String.fromCharCode(Y[DA++]);return L}function D(Y,DA){return Y[DA+0]|Y[DA+1]<<8}function y(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16)>>>0}function U(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16|Y[DA+3]<<24)>>>0}new w;var v=[0],M=[0],j=[],_=new w,S=A,iA=function(Y,DA){var L={},R=0,rA=!1,eA=0,EA=0;if(L.frames=[],!function(x,z){for(var $=0;$<4;$++)if(x[z+$]!="RIFF".charCodeAt($))return!0;return!1}(Y,DA)){for(U(Y,DA+=4),DA+=8;DA>1&1}SA!="ANMF"&&(DA+=bA)}return L}}(S,0);iA.response=S,iA.rgbaoutput=!0,iA.dataurl=!1;var AA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(AA){AA.loop_counter=AA.loop_count,v=[AA.canvas_height],M=[AA.canvas_width];for(var FA=0;FA=2?K[1]:Qe[0],Qe[2]=K.length>=3?K[2]:Qe[0],Qe[3]=K.length>=4?K[3]:Qe[1]),g.margin=Qe}});var HA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return HA},set:function(K){HA=K}});var TA=0;Object.defineProperty(this,"lastBreak",{get:function(){return TA},set:function(K){TA=K}});var JA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return JA},set:function(K){JA=K}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(K){K instanceof D&&(g=K)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(K){g.path=K}});var le=[];Object.defineProperty(this,"ctxStack",{get:function(){return le},set:function(K){le=K}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(K){var Qe;Qe=U(K),this.ctx.fillStyle=Qe.style,this.ctx.isFillTransparent=Qe.a===0,this.ctx.fillOpacity=Qe.a,this.pdf.setFillColor(Qe.r,Qe.g,Qe.b,{a:Qe.a}),this.pdf.setTextColor(Qe.r,Qe.g,Qe.b,{a:Qe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(K){var Qe=U(K);this.ctx.strokeStyle=Qe.style,this.ctx.isStrokeTransparent=Qe.a===0,this.ctx.strokeOpacity=Qe.a,Qe.a===0?this.pdf.setDrawColor(255,255,255):(Qe.a,this.pdf.setDrawColor(Qe.r,Qe.g,Qe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(K){["butt","round","square"].indexOf(K)!==-1&&(this.ctx.lineCap=K,this.pdf.setLineCap(K))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(K){isNaN(K)||(this.ctx.lineWidth=K,this.pdf.setLineWidth(K))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(K){["bevel","round","miter"].indexOf(K)!==-1&&(this.ctx.lineJoin=K,this.pdf.setLineJoin(K))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(K){isNaN(K)||(this.ctx.miterLimit=K,this.pdf.setMiterLimit(K))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(K){this.ctx.textBaseline=K}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(K){["right","end","center","left","start"].indexOf(K)!==-1&&(this.ctx.textAlign=K)}});var be=null,Pe=null,Je=null;Object.defineProperty(this,"fontFaces",{get:function(){return Je},set:function(K){be=null,Pe=null,Je=K}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(K){var Qe;if(this.ctx.font=K,(Qe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(K))!==null){var Ft=Qe[1];Qe[2];var tt=Qe[3],ae=Qe[4];Qe[5];var rt=Qe[6],je=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ae)[2];ae=Math.floor(je==="px"?parseFloat(ae)*this.pdf.internal.scaleFactor:je==="em"?parseFloat(ae)*this.pdf.getFontSize():parseFloat(ae)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ae);var et=function(We){var Rr,Yt,Et=[],It=We.trim();if(It==="")return bg;if(It in ys)return[ys[It]];for(;It!=="";){switch(Yt=null,Rr=(It=bs(It)).charAt(0)){case'"':case"'":Yt=Xi(It.substring(1),Rr);break;default:Yt=Ka(It)}if(Yt===null||(Et.push(Yt[0]),(It=bs(Yt[1]))!==""&&It.charAt(0)!==","))return bg;It=It.replace(/^,/,"")}return Et}(rt);if(this.fontFaces){var Xe=function(We,Rr){var Yt=We.getFontList(),Et=JSON.stringify(Yt);if(be===null||Pe!==Et){var It=function(Qr){var Ze=[];return Object.keys(Qr).forEach(function(Br){Qr[Br].forEach(function(lt){var vt=null;switch(lt){case"bold":vt={family:Br,weight:"bold"};break;case"italic":vt={family:Br,style:"italic"};break;case"bolditalic":vt={family:Br,weight:"bold",style:"italic"};break;case"":case"normal":vt={family:Br}}vt!==null&&(vt.ref={name:Br,style:lt},Ze.push(vt))})}),Ze}(Yt);be=function(Qr){for(var Ze={},Br=0;Br=700||Ft==="bold")&&(Bt="bold"),Ft==="italic"&&(Bt+="italic"),Bt.length===0&&(Bt="normal");for(var _t="",Tt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ge=0;Ge=2*Math.PI&&(sA=0,dA=2*Math.PI),this.path.push({type:"arc",x,y:z,radius:$,startAngle:sA,endAngle:dA,counterclockwise:CA})},y.prototype.arcTo=function(x,z,$,sA,dA){throw new Error("arcTo not implemented.")},y.prototype.rect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,z),this.lineTo(x+$,z),this.lineTo(x+$,z+sA),this.lineTo(x,z+sA),this.lineTo(x,z),this.lineTo(x+$,z),this.lineTo(x,z)},y.prototype.fillRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var dA={};this.lineCap!=="butt"&&(dA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(dA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,z,$,sA),this.fill(),dA.hasOwnProperty("lineCap")&&(this.lineCap=dA.lineCap),dA.hasOwnProperty("lineJoin")&&(this.lineJoin=dA.lineJoin)}},y.prototype.strokeRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");M.call(this)||(this.beginPath(),this.rect(x,z,$,sA),this.stroke())},y.prototype.clearRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,z,$,sA))},y.prototype.save=function(x){x=typeof x!="boolean"||x;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,$=0;$0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};y.prototype.drawImage=function(x,z,$,sA,dA,CA,HA,TA,JA){var le=this.pdf.getImageProperties(x),be=1,Pe=1,Je=1,K=1;sA!==void 0&&TA!==void 0&&(Je=TA/sA,K=JA/dA,be=le.width/sA*TA/sA,Pe=le.height/dA*JA/dA),CA===void 0&&(CA=z,HA=$,z=0,$=0),sA!==void 0&&TA===void 0&&(TA=sA,JA=dA),sA===void 0&&TA===void 0&&(TA=le.width,JA=le.height);var Qe=this.ctx.transform.decompose(),Ft=bA(Qe.rotate.shx),tt=new w,ae=(tt=(tt=(tt=tt.multiply(Qe.translate)).multiply(Qe.skew)).multiply(Qe.scale)).applyToRectangle(new f(CA-z*Je,HA-$*K,sA*be,dA*Pe));if(this.autoPaging){for(var rt,je=_.call(this,ae),et=[],Xe=0;Xeir||Btae||je0)){for(;JA>=0;JA--)if(dA[JA-1].close!==!0&&dA[JA-1].begin!==!0){dA[JA-1].deltas.push($),dA[JA-1].abs.push(TA);break}}break;case"bct":$=[TA.x1-CA[HA-1].x,TA.y1-CA[HA-1].y,TA.x2-CA[HA-1].x,TA.y2-CA[HA-1].y,TA.x-CA[HA-1].x,TA.y-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"qct":var le=CA[HA-1].x+2/3*(TA.x1-CA[HA-1].x),be=CA[HA-1].y+2/3*(TA.y1-CA[HA-1].y),Pe=TA.x+2/3*(TA.x1-TA.x),Je=TA.y+2/3*(TA.y1-TA.y),K=TA.x,Qe=TA.y;$=[le-CA[HA-1].x,be-CA[HA-1].y,Pe-CA[HA-1].x,Je-CA[HA-1].y,K-CA[HA-1].x,Qe-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"arc":dA.push({deltas:[],abs:[],arc:!0}),Array.isArray(dA[dA.length-1].abs)&&dA[dA.length-1].abs.push(TA)}}sA=z?null:x==="stroke"?"stroke":"fill";for(var Ft=!1,tt=0;tt=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale);var Pt=this.autoPaging!=="text";if(Pt||Ge.y+Ge.h<=Xe){if(Pt||Ge.y>=je&&Ge.x<=Ot){var We=Pt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Ot-Ge.x)[0],Rr=iA([JSON.parse(JSON.stringify(Pe))],this.posX+this.margin[3],-_t+je+this.ctx.prevPageLastElemOffset)[0],Yt=Pt&&(rt>tt||rt=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)}}else x.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale),this.pdf.text(x.text,JA.x+this.posX,JA.y+this.posY,{angle:x.angle,align:z,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)},rA=function(x,z,$,sA){$=$||0,sA=sA||0,this.pdf.internal.out(e(x+$)+" "+r(z+sA)+" l")},eA=function(x,z,$){return this.pdf.lines(x,z,$,null,null)},EA=function(x,z,$,sA,dA,CA,HA,TA){this.pdf.internal.out([t(n($+x)),t(s(sA+z)),t(n(dA+x)),t(s(CA+z)),t(n(HA+x)),t(s(TA+z)),"c"].join(" "))},SA=function(x,z,$,sA){for(var dA=2*Math.PI,CA=Math.PI/2;z>$;)z-=dA;var HA=Math.abs($-z);HA1e-5;){var be=le+JA*Math.min(HA,CA);TA.push(OA.call(this,x,le,be)),HA-=Math.abs(be-le),le=be}return TA},OA=function(x,z,$){var sA=($-z)/2,dA=x*Math.cos(sA),CA=x*Math.sin(sA),HA=dA,TA=-CA,JA=HA*HA+TA*TA,le=JA+HA*dA+TA*CA,be=4/3*(Math.sqrt(2*JA*le)-le)/(HA*CA-TA*dA),Pe=HA-be*TA,Je=TA+be*HA,K=Pe,Qe=-Je,Ft=sA+z,tt=Math.cos(Ft),ae=Math.sin(Ft);return{x1:x*Math.cos(z),y1:x*Math.sin(z),x2:Pe*tt-Je*ae,y2:Pe*ae+Je*tt,x3:K*tt-Qe*ae,y3:K*ae+Qe*tt,x4:x*Math.cos($),y4:x*Math.sin($)}},bA=function(x){return 180*x/Math.PI},MA=function(x,z,$,sA,dA,CA){var HA=x+.5*($-x),TA=z+.5*(sA-z),JA=dA+.5*($-dA),le=CA+.5*(sA-CA),be=Math.min(x,dA,HA,JA),Pe=Math.max(x,dA,HA,JA),Je=Math.min(z,CA,TA,le),K=Math.max(z,CA,TA,le);return new f(be,Je,Pe-be,K-Je)},ue=function(x,z,$,sA,dA,CA,HA,TA){var JA,le,be,Pe,Je,K,Qe,Ft,tt,ae,rt,je,et,Xe,ir=$-x,Ot=sA-z,Bt=dA-$,_t=CA-sA,Tt=HA-dA,Ge=TA-CA;for(le=0;le<41;le++)tt=(Qe=(be=x+(JA=le/40)*ir)+JA*((Je=$+JA*Bt)-be))+JA*(Je+JA*(dA+JA*Tt-Je)-Qe),ae=(Ft=(Pe=z+JA*Ot)+JA*((K=sA+JA*_t)-Pe))+JA*(K+JA*(CA+JA*Ge-K)-Ft),le==0?(rt=tt,je=ae,et=tt,Xe=ae):(rt=Math.min(rt,tt),je=Math.min(je,ae),et=Math.max(et,tt),Xe=Math.max(Xe,ae));return new f(Math.round(rt),Math.round(je),Math.round(et-rt),Math.round(Xe-je))},ZA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,z,$=(x=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:z}));this.prevLineDash!==$&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=$)}}})(_e.API),function(A){var t=function(h){var f,w,g,D,y,U,v,M,j,_;for(/[^\x00-\xFF]/.test(h),w=[],g=0,D=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;D>g;g+=4)(y=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(U=(y=((y=((y=((y=(y-(_=y%85))/85)-(j=y%85))/85)-(M=y%85))/85)-(v=y%85))/85)%85,w.push(U+33,v+33,M+33,j+33,_+33)):w.push(122);return function(S,iA){for(var AA=iA;AA>0;AA--)S.pop()}(w,f.length),String.fromCharCode.apply(String,w)+"~>"},e=function(h){var f,w,g,D,y,U=String,v="length",M=255,j="charCodeAt",_="slice",S="replace";for(h[_](-2),h=h[_](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),g=[],D=0,y=(h+=f="uuuuu"[_](h[v]%5||5))[v];y>D;D+=5)w=52200625*(h[j](D)-33)+614125*(h[j](D+1)-33)+7225*(h[j](D+2)-33)+85*(h[j](D+3)-33)+(h[j](D+4)-33),g.push(M&w>>24,M&w>>16,M&w>>8,M&w);return function(iA,AA){for(var W=AA;W>0;W--)iA.pop()}(g,f[v]),U.fromCharCode.apply(U,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var w="",g=0;gj&&(M=_,_=j,j=M);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",j>_&&(M=_,_=j,j=M)}return{width:_,height:j,unit:w,k:y,orientation:f}},A.html=function(f,w){(w=w||{}).callback=w.callback||function(){},w.html2canvas=w.html2canvas||{},w.html2canvas.canvas=w.html2canvas.canvas||this.canvas,w.jsPDF=w.jsPDF||this,w.fontFaces=w.fontFaces?w.fontFaces.map(ri):null;var g=new h(w);return w.worker?g:g.from(f).doCallback()}}(_e.API),_e.API.addJS=function(A){return S0=A,this.internal.events.subscribe("postPutResources",function(){Qs=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Qs+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),L0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+S0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Qs!==void 0&&L0!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var v=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+v+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var w=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+w.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var OA="",bA=0,MA=R.transparency.length;bA>",j.content=s;var AA=j.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=3};var D=A.__arabicParser__.arabicLetterHasMedialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length==4},y=A.__arabicParser__.resolveLigatures=function(j){var _=0,S=e,iA="",AA=0;for(_=0;_>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(_e.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var w=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return w},set:function(j){w=j}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(j){g=j}});var D=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return D},set:function(j){D=j}});var y=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return y},set:function(j){y=j}});var U=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return U},set:function(j){U=j}});var v=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return v},set:function(j){v=j}});var M=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return M},set:function(j){M=j}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(w){return r.call(this),this.internal.__cell__.headerFunction=typeof w=="function"?w:void 0,this},A.getTextDimensions=function(w,g){r.call(this);var D=(g=g||{}).fontSize||this.getFontSize(),y=g.font||this.getFont(),U=g.scaleFactor||this.internal.scaleFactor,v=0,M=0,j=0,_=this;if(!Array.isArray(w)&&typeof w!="string"){if(typeof w!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");w=String(w)}var S=g.maxWidth;S>0?typeof w=="string"?w=this.splitTextToSize(w,S):Object.prototype.toString.call(w)==="[object Array]"&&(w=w.reduce(function(AA,W){return AA.concat(_.splitTextToSize(W,S))},[])):w=Array.isArray(w)?w:[w];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),w.y=y.top,v&&U&&(this.printHeaderRow(w.lineNumber,!0),w.y+=U[0].height)):w.y=g.y+g.height||w.y),w.text[0]!==void 0&&(this.rect(w.x,w.y,w.width,w.height,e===!0?"FD":void 0),w.align==="right"?this.text(w.text,w.x+w.width-D,w.y+D,{align:"right",baseline:"top"}):w.align==="center"?this.text(w.text,w.x+w.width/2,w.y+D,{align:"center",baseline:"top",maxWidth:w.width-D-D}):this.text(w.text,w.x+D,w.y+D,{align:"left",baseline:"top",maxWidth:w.width-D-D})),this.internal.__cell__.lastCell=w,this};A.table=function(w,g,D,y,U){if(r.call(this),!D)throw new Error("No data for PDF table.");var v,M,j,_,S=[],iA=[],AA=[],W={},FA={},VA=[],NA=[],lA=(U=U||{}).autoSize||!1,Y=U.printHeaders!==!1,DA=U.css&&U.css["font-size"]!==void 0?16*U.css["font-size"]:U.fontSize||12,L=U.margins||Object.assign({width:this.getPageWidth()},t),R=typeof U.padding=="number"?U.padding:3,rA=U.headerBackgroundColor||"#c8c8c8",eA=U.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=L,this.internal.__cell__.table_font_size=DA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=rA,this.internal.__cell__.headerTextColor=eA,this.setFontSize(DA),y==null)iA=S=Object.keys(D[0]),AA=S.map(function(){return"left"});else if(Array.isArray(y)&&(0,kA.Z)(y[0])==="object")for(S=y.map(function(ue){return ue.name}),iA=y.map(function(ue){return ue.prompt||ue.name||""}),AA=y.map(function(ue){return ue.align||"left"}),v=0;v0&&this.setTableHeaderRow(U),this.setFont(void 0,"normal"),e=!1}}(_e.API);var Zr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Yi=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dn=rr(Yi),yn=[100,200,300,400,500,600,700,800,900],ta=rr(yn);function ri(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Zr[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Dn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Ji(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function R0(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function K0(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(D,U)}})(A,s,k0(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,w=null;s&&(f=t,w=h,t+=3*h);var g=!0,D=[],y=0,U=null,v=0,M=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var j=A[t++];y=A[t++]|A[t++]<<8,U=A[t++],1&j||(U=null),v=j>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var _=A[t++]|A[t++]<<8,S=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,AA=A[t++]|A[t++]<<8,W=A[t++],FA=W>>6&1,VA=1<<1+(7&W),NA=f,lA=w,Y=!1;W>>7&&(Y=!0,NA=t,lA=VA,t+=3*VA);var DA=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}D.push({x:_,y:S,width:iA,height:AA,has_local_palette:Y,palette_offset:NA,palette_size:lA,data_offset:DA,data_length:t-DA,transparent_index:U,interlaced:!!FA,delay:y,disposal:v});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return D.length},this.loopCount=function(){return M},this.frameInfo=function(R){if(R<0||R>=D.length)throw new Error("Frame index out of range.");return D[R]},this.decodeAndBlitFrameBGRA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=be,rA[$++]=le,rA[$++]=JA,rA[$++]=255}--ZA}},this.decodeAndBlitFrameRGBA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=JA,rA[$++]=le,rA[$++]=be,rA[$++]=255}--ZA}}}function G0(A,t,e,r){for(var n=A[t++],s=1<>=w,D-=w,_!==s){if(_===h)break;for(var S=_s;)AA=M[AA]>>8,++iA;var W=AA;if(U+iA+(S!==_?1:0)>r)return void lr.log("Warning, gif stream longer than expected.");e[U++]=W;var FA=U+=iA;for(S!==_&&(e[U++]=W),AA=S;iA--;)AA=M[AA],e[--FA]=255&AA,AA>>=8;j!==null&&f<4096&&(M[f++]=j<<8|W,f>=g+1&&w<12&&(++w,g=g<<1|1)),j=_}else f=h+1,g=(1<<(w=n+1))-1,j=null}return U!==r&&lr.log("Warning, gif stream shorter than expected."),e}function Fg(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),w=new Array(64),g=new Array(64),D=new Array(64),y=new Array(65535),U=new Array(65535),v=new Array(64),M=new Array(64),j=[],_=0,S=7,iA=new Array(64),AA=new Array(64),W=new Array(64),FA=new Array(256),VA=new Array(2048),NA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],lA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],DA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rA=[0,1,2,3,4,5,6,7,8,9,10,11],eA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],EA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function SA(x,z){for(var $=0,sA=0,dA=new Array,CA=1;CA<=16;CA++){for(var HA=1;HA<=x[CA];HA++)dA[z[sA]]=[],dA[z[sA]][0]=$,dA[z[sA]][1]=CA,sA++,$++;$*=2}return dA}function OA(x){for(var z=x[0],$=x[1]-1;$>=0;)z&1<<$&&(_|=1<>8&255),bA(255&x)}function ue(x,z,$,sA,dA){for(var CA,HA=dA[0],TA=dA[240],JA=function(ae,rt){var je,et,Xe,ir,Ot,Bt,_t,Tt,Ge,Pt,We=0;for(Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+1],Xe=ae[We+2],ir=ae[We+3],Ot=ae[We+4],Bt=ae[We+5],_t=ae[We+6];var Rr=je+(Tt=ae[We+7]),Yt=je-Tt,Et=et+_t,It=et-_t,Qr=Xe+Bt,Ze=Xe-Bt,Br=ir+Ot,lt=ir-Ot,vt=Rr+Br,Fr=Rr-Br,Lt=Et+Qr,it=Et-Qr;ae[We]=vt+Lt,ae[We+4]=vt-Lt;var sr=.707106781*(it+Fr);ae[We+2]=Fr+sr,ae[We+6]=Fr-sr;var Ro=.382683433*((vt=lt+Ze)-(it=It+Yt)),Tn=.5411961*vt+Ro,na=1.306562965*it+Ro,Us=.707106781*(Lt=Ze+It),st=Yt+Us,ia=Yt-Us;ae[We+5]=ia+Tn,ae[We+3]=ia-Tn,ae[We+1]=st+na,ae[We+7]=st-na,We+=8}for(We=0,Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+8],Xe=ae[We+16],ir=ae[We+24],Ot=ae[We+32],Bt=ae[We+40],_t=ae[We+48];var sa=je+(Tt=ae[We+56]),Ii=je-Tt,xi=et+_t,jr=et-_t,mn=Xe+Bt,bn=Xe-Bt,Ko=ir+Ot,Ga=ir-Ot,$i=sa+Ko,Es=sa-Ko,As=xi+mn,es=xi-mn;ae[We]=$i+As,ae[We+32]=$i-As;var Li=.707106781*(es+Es);ae[We+16]=Es+Li,ae[We+48]=Es-Li;var ko=.382683433*(($i=Ga+bn)-(es=jr+Ii)),Is=.5411961*$i+ko,Go=1.306562965*es+ko,Xl=.707106781*(As=bn+jr),Zl=Ii+Xl,ql=Ii-Xl;ae[We+40]=ql+Is,ae[We+24]=ql-Is,ae[We+8]=Zl+Go,ae[We+56]=Zl-Go,We++}for(Ge=0;Ge<64;++Ge)Pt=ae[Ge]*rt[Ge],v[Ge]=Pt>0?Pt+.5|0:Pt-.5|0;return v}(x,z),le=0;le<64;++le)M[NA[le]]=JA[le];var be=M[0]-$;$=M[0],be==0?OA(sA[0]):(OA(sA[U[CA=32767+be]]),OA(y[CA]));for(var Pe=63;Pe>0&&M[Pe]==0;)Pe--;if(Pe==0)return OA(HA),$;for(var Je,K=1;K<=Pe;){for(var Qe=K;M[K]==0&&K<=Pe;)++K;var Ft=K-Qe;if(Ft>=16){Je=Ft>>4;for(var tt=1;tt<=Je;++tt)OA(TA);Ft&=15}CA=32767+M[K],OA(dA[(Ft<<4)+U[CA]]),OA(y[CA]),K++}return Pe!=63&&OA(HA),$}function ZA(x){x=Math.min(Math.max(x,1),100),s!=x&&(function(z){for(var $=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],sA=0;sA<64;sA++){var dA=h(($[sA]*z+50)/100);dA=Math.min(Math.max(dA,1),255),f[NA[sA]]=dA}for(var CA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],HA=0;HA<64;HA++){var TA=h((CA[HA]*z+50)/100);TA=Math.min(Math.max(TA,1),255),w[NA[HA]]=TA}for(var JA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],le=0,be=0;be<8;be++)for(var Pe=0;Pe<8;Pe++)g[le]=1/(f[NA[le]]*JA[be]*JA[Pe]*8),D[le]=1/(w[NA[le]]*JA[be]*JA[Pe]*8),le++}(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),s=x)}this.encode=function(x,z){z&&ZA(z),j=new Array,_=0,S=7,MA(65496),MA(65504),MA(16),bA(74),bA(70),bA(73),bA(70),bA(0),bA(1),bA(1),bA(0),MA(1),MA(1),bA(0),bA(0),function(){MA(65499),MA(132),bA(0);for(var et=0;et<64;et++)bA(f[et]);bA(1);for(var Xe=0;Xe<64;Xe++)bA(w[Xe])}(),function(et,Xe){MA(65472),MA(17),bA(8),MA(Xe),MA(et),bA(3),bA(1),bA(17),bA(0),bA(2),bA(17),bA(1),bA(3),bA(17),bA(1)}(x.width,x.height),function(){MA(65476),MA(418),bA(0);for(var et=0;et<16;et++)bA(lA[et+1]);for(var Xe=0;Xe<=11;Xe++)bA(Y[Xe]);bA(16);for(var ir=0;ir<16;ir++)bA(DA[ir+1]);for(var Ot=0;Ot<=161;Ot++)bA(L[Ot]);bA(1);for(var Bt=0;Bt<16;Bt++)bA(R[Bt+1]);for(var _t=0;_t<=11;_t++)bA(rA[_t]);bA(17);for(var Tt=0;Tt<16;Tt++)bA(eA[Tt+1]);for(var Ge=0;Ge<=161;Ge++)bA(EA[Ge])}(),MA(65498),MA(12),bA(3),bA(1),bA(0),bA(2),bA(17),bA(3),bA(17),bA(0),bA(63),bA(0);var $=0,sA=0,dA=0;_=0,S=7,this.encode.displayName="_encode_";for(var CA,HA,TA,JA,le,be,Pe,Je,K,Qe=x.data,Ft=x.width,tt=x.height,ae=4*Ft,rt=0;rt>3)*ae+(Pe=4*(7&K)),rt+Je>=tt&&(be-=ae*(rt+1+Je-tt)),CA+Pe>=ae&&(be-=CA+Pe-ae+4),HA=Qe[be++],TA=Qe[be++],JA=Qe[be++],iA[K]=(VA[HA]+VA[TA+256|0]+VA[JA+512|0]>>16)-128,AA[K]=(VA[HA+768|0]+VA[TA+1024|0]+VA[JA+1280|0]>>16)-128,W[K]=(VA[HA+1280|0]+VA[TA+1536|0]+VA[JA+1792|0]>>16)-128;$=ue(iA,g,$,t,r),sA=ue(AA,D,sA,e,n),dA=ue(W,D,dA,e,n),CA+=32}rt+=8}if(S>=0){var je=[];je[1]=S+1,je[0]=(1<R;R++)if(Y[DA+R]!=L.charCodeAt(R))return!0;return!1}function r(Y,DA,L,R,rA){for(var eA=0;eAeA+1?[]:new DA),!(EA.length>>0;a&B;)B>>>=1;return B?(a&B-1)+B:a}function L(a,u,B,P,Q){t(!(P%B));do a[u+(P-=B)]=Q;while(0=Q),512>=Q)var E=s(512);else if((E=s(Q))==null)return 0;return function(I,N,H,k,oA,QA){var G,hA,mA=N,KA=1<G;++G){if(yA[G]>1<(yt-=yA[G]))return 0;for(;0=G;++G,oA<<=1){if(He+=yt<<=1,0>(yt-=yA[G]))return 0;for(;0oe&&!(0>=(YA-=yA[oe]));)++oe,YA<<=1;KA+=Re=1<<(YA=oe-H),I[N+(oe=ze&te)].g=YA+H,I[N+oe].value=mA-N-oe}k.g=G-H,k.value=QA[hA++],L(I,mA+(ze>>H),oA,Re,k),ze=DA(ze,G)}}return He!=2*zA[15]-1?0:KA}(a,u,B,P,Q,E)}function rA(){this.value=this.g=0}function eA(){this.value=this.g=0}function EA(){this.G=h(5,rA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(el,eA)}function SA(a,u,B,P){t(a!=null),t(u!=null),t(2147483648>P),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=u,a.pa=B,a.Jd=u,a.Yc=B+P,a.Zc=4<=P?B+P-4+1:B,HA(a)}function OA(a,u){for(var B=0;0P),a.Sb=P,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;sA(a)&&(a.h=1,a.u=0)}function ZA(a,u){if(t(0<=u),!a.h&&u<=hi){var B=$(a)&fi[u];return a.u+=u,ue(a),B}return a.h=1,a.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function $(a){return a.Ra>>>(a.u&Ya-1)>>>0}function sA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Ya}function dA(a,u){a.u=u,a.h=sA(a)}function CA(a){a.u>=pa&&(t(a.u>=pa),ue(a))}function HA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&HA(a);var P=a.b,Q=B*u>>>8,E=(a.I>>>P>Q)+0;for(E?(B-=Q,a.I-=Q+1<

>>0):B=Q+1,P=B,Q=0;256<=P;)Q+=8,P>>=8;return P=7^Q+Ja[P],a.b-=P,a.Ca=(B<>24&255,a[u+1]=B>>16&255,a[u+2]=B>>8&255,a[u+3]=255&B}function be(a,u){return a[u+0]|a[u+1]<<8}function Pe(a,u){return be(a,u)|a[u+2]<<16}function Je(a,u){return be(a,u)|be(a,u+2)<<16}function K(a,u){var B=1<=Q||0>=E?0:(B[0]=Q,P[0]=E,1)}function ae(a,u){return a+(1<>>u}function rt(a,u){return((4278255360&a)+(4278255360&u)>>>0&4278255360)+((16711935&a)+(16711935&u)>>>0&16711935)>>>0}function je(a,u){Y[u]=function(B,P,Q,E,I,N,H){var k;for(k=0;k>>1)+(a&u)>>>0}function ir(a){return 0<=a&&256>a?a:0>a?0:255>1))}function Bt(a,u,B){return Math.abs(u-B)-Math.abs(a-B)}function _t(a,u,B,P,Q,E,I){for(P=E[I-1],B=0;B>8&255,H=16711935&(H=(H=16711935&I)+((N<<16)+N));P[Q+E]=(4278255360&I)+H>>>0}}function Ge(a,u){u.jd=255&a,u.hd=a>>8&255,u.ud=a>>16&255}function Pt(a,u,B,P,Q,E){var I;for(I=0;I>>8,k=N,oA=255&(oA=(oA=N>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));k=255&(k=(k+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(oA<<24>>24)>>>5)),Q[E+I]=(4278255360&N)+(oA<<16)+k}}function We(a,u,B,P,Q){Y[u]=function(E,I,N,H,k,oA,QA,G,hA){for(H=QA;H>E.b,hA=E.Ea,mA=E.K[0],KA=E.w;if(8>G)for(E=(1<>=G}else Y["VP8LMapColor"+B](H,k,mA,KA,oA,QA,I,N,hA)}}function Rr(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E}}function Yt(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E,P[Q++]=E>>24&255}}function Et(a,u,B,P,Q){for(B=u+B;u>16&240|I>>12&15,I=240&I|I>>28&15;P[Q++]=E,P[Q++]=I}}function It(a,u,B,P,Q){for(B=u+B;u>16&248|I>>13&7,I=I>>5&224|I>>3&31;P[Q++]=E,P[Q++]=I}}function Qr(a,u,B,P,Q){for(B=u+B;u>8&255,P[Q++]=E>>16&255}}function Ze(a,u,B,P,Q,E){if(E==0)for(B=u+B;u>24|E[1]>>8&65280|E[2]<<8&16711680|E[3]<<24)>>>0),Q+=32;else r(P,Q,a,u,B)}function Br(a,u){Y[u][0]=Y[a+"0"],Y[u][1]=Y[a+"1"],Y[u][2]=Y[a+"2"],Y[u][3]=Y[a+"3"],Y[u][4]=Y[a+"4"],Y[u][5]=Y[a+"5"],Y[u][6]=Y[a+"6"],Y[u][7]=Y[a+"7"],Y[u][8]=Y[a+"8"],Y[u][9]=Y[a+"9"],Y[u][10]=Y[a+"10"],Y[u][11]=Y[a+"11"],Y[u][12]=Y[a+"12"],Y[u][13]=Y[a+"13"],Y[u][14]=Y[a+"0"],Y[u][15]=Y[a+"0"]}function lt(a){return a==zg||a==Wg||a==bw||a==Yg}function vt(){this.eb=[],this.size=this.A=this.fb=0}function Fr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Lt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vt,this.f.kb=new Fr,this.sd=null}function it(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function sr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ro(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function Tn(a,u){var B=a.T,P=u.ba.f.RGBA,Q=P.eb,E=P.fb+a.ka*P.A,I=Ti[u.ba.S],N=a.y,H=a.O,k=a.f,oA=a.N,QA=a.ea,G=a.W,hA=u.cc,mA=u.dc,KA=u.Mc,yA=u.Nc,zA=a.ka,YA=a.ka+a.T,oe=a.U,te=oe+1>>1;for(zA==0?I(N,H,null,null,k,oA,QA,G,k,oA,QA,G,Q,E,null,null,oe):(I(u.ec,u.fc,N,H,hA,mA,KA,yA,k,oA,QA,G,Q,E-P.A,Q,E,oe),++B);zA+2B,Q=B==Pw||B==Cw||B==yw||B==Vg||B==12||lt(B);if(u.memory=null,u.Ib=null,u.Jb=null,u.Nd=null,!Ou(u.Oa,a,Q?11:12))return 0;if(Q&<(B)&&Nu(),a.da)alert("todo:use_scaling");else{if(P){if(u.Ib=Ro,a.Kb){if(B=a.U+1>>1,u.memory=s(a.U+2*B),u.memory==null)return 0;u.ec=u.memory,u.fc=0,u.cc=u.ec,u.dc=u.fc+a.U,u.Mc=u.cc,u.Nc=u.dc+B,u.Ib=Tn,Nu()}}else alert("todo:EmitYUV");Q&&(u.Jb=na,P&&rs())}if(P&&!vp){for(a=0;256>a;++a)pB[a]=89858*(a-128)+Fw>>Qw,DB[a]=-22014*(a-128)+Fw,vB[a]=-45773*(a-128),BB[a]=113618*(a-128)+Fw>>Qw;for(a=Wu;a>Qw,mB[a-Wu]=xs(u,255),PB[a-Wu]=xs(u+8>>4,15);vp=1}return 1}function st(a){var u=a.ma,B=a.U,P=a.T;return t(!(1&a.ka)),0>=B||0>=P?0:(B=u.Ib(a,u),u.Jb!=null&&u.Jb(a,u,B),u.Dc+=B,1)}function ia(a){a.ma.memory=null}function sa(a,u,B,P){return ZA(a,8)!=47?0:(u[0]=ZA(a,14)+1,B[0]=ZA(a,14)+1,P[0]=ZA(a,1),ZA(a,3)!=0?0:!a.h)}function Ii(a,u){if(4>a)return a+1;var B=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&B)))?B:1;var B}function jr(a,u,B){var P=$(B),Q=a[u+=255&P].g-8;return 0>>0,t(8>=B.g),a.g}function bn(a,u,B){var P=a.xc;return t((u=P==0?0:a.vc[a.md*(B>>P)+(u>>P)])>Re.b)*He;KAoe&&(Ke=oe),(0,Ru[Rt[ln++]>>8&15])(G,hA+ +bt,zA,YA+bt-oe,Ke-bt,zA,YA+bt),bt=Ke}hA+=oe,YA+=oe,++KA&ze||(Re+=He)}QA!=k.nc&&r(H,N-mA,H,N+(QA-oA-1)*mA,mA);break;case 1:for(mA=G,yA=hA,oe=(G=k.Ea)-(YA=G&~(zA=(hA=1<>k.b)*KA;oA=Q),0E.o&&(P=E.o),B=P?B=0:(Q[0]+=4*E.v,E.ka=B-E.j,E.U=E.va-E.v,E.T=P-B,B=1),B){if(N=N[0],11>(B=a.ca).S){var oA=B.f.RGBA,QA=(P=B.S,Q=E.U,E=E.T,k=oA.eb,oA.A),G=E;for(oA=oA.fb+a.Ma*oA.A;0P){var Q=a.l.width,E=B.ca,I=B.tb+Q*P,N=a.V,H=a.Ba+a.c*P,k=a.gc;t(a.ab==1),t(k[0].hc==3),Hs(k[0],P,u,N,H,E,I),Es(B,P,u,E,I,Q)}a.C=a.Ma=u}function es(a,u,B,P,Q,E,I){var N=a.$/P,H=a.$%P,k=a.m,oA=a.s,QA=B+a.$,G=QA;Q=B+P*Q;var hA=B+P*E,mA=280+oA.ua,KA=a.Pb?N:16777216,yA=0=KA){var ze=QA-B;t((KA=a).Pb),KA.wd=KA.m,KA.xd=ze,0yt.g?(dA(te,te.u+yt.g),ze[He]=yt.value,te=0):(dA(te,te.u+yt.g-256),t(256<=yt.value),te=yt.value),te==0&&(oe=!0)}else te=jr(YA.G[0],YA.H[0],k);if(k.h)break;if(oe||256>te){if(!oe)if(YA.nd)u[QA]=(YA.qb|te<<8)>>>0;else{if(CA(k),oe=jr(YA.G[1],YA.H[1],k),CA(k),ze=jr(YA.G[2],YA.H[2],k),He=jr(YA.G[3],YA.H[3],k),k.h)break;u[QA]=(He<<24|oe<<16|te<<8|ze)>>>0}if(oe=!1,++QA,++H>=P&&(H=0,++N,I!=null&&N<=E&&!(N%16)&&I(a,N),yA!=null))for(;G>>yA.Mb]=te}else if(280>te){if(te=Ii(te-256,k),ze=jr(YA.G[4],YA.H[4],k),CA(k),ze=xi(P,ze=Ii(ze,k)),k.h)break;if(QA-B=P;)H-=P,++N,I!=null&&N<=E&&!(N%16)&&I(a,N);if(t(QA<=Q),H&zA&&(YA=bn(oA,H,N)),yA!=null)for(;G>>yA.Mb]=te}else{if(!(te>>yA.Mb]=te;te=QA,t(!(oe>>>(ze=yA).Xa)),u[te]=ze.X[oe],oe=!0}oe||t(k.h==sA(k))}if(a.Pb&&k.h&&QAE?E:N),a.a=0,a.$=QA-B}return 1}return a.a=3,0}function Li(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var u=a.Wa;u!=null&&(u.X=null),a.vb=null,t(a!=null)}function ko(){var a=new wt;return a==null?null:(a.a=0,a.xb=hp,Br("Predictor","VP8LPredictors"),Br("Predictor","VP8LPredictors_C"),Br("PredictorAdd","VP8LPredictorsAdd"),Br("PredictorAdd","VP8LPredictorsAdd_C"),Kr=Tt,Ku=Pt,ku=Rr,Xa=Yt,Za=Et,qa=It,tl=Qr,Y.VP8LMapColor32b=Ns,Y.VP8LMapColor8b=_u,a)}function Is(a,u,B,P,Q){var E=1,I=[a],N=[u],H=P.m,k=P.s,oA=null,QA=0;A:for(;;){if(B)for(;E&&ZA(H,1);){var G=I,hA=N,mA=P,KA=1,yA=mA.m,zA=mA.gc[mA.ab],YA=ZA(yA,2);if(mA.Oc&1<=mA.ab),YA){case 0:case 1:zA.b=ZA(yA,3)+2,KA=Is(ae(zA.Ea,zA.b),ae(zA.nc,zA.b),0,mA,zA.K),zA.K=zA.K[0];break;case 3:var oe,te=ZA(yA,8)+1,ze=16>Re.b),ln=s(Rt);if(ln==null)oe=0;else{var bt=Re.K[0],Ke=Re.w;for(ln[0]=Re.K[0][0],He=1;He<1*yt;++He)ln[He]=rt(bt[Ke+He],ln[He-1]);for(;He<4*Rt;++He)ln[He]=0;Re.K[0]=null,Re.K[0]=ln,oe=1}}KA=oe;break;case 2:break;default:t(0)}E=KA}}if(I=I[0],N=N[0],E&&ZA(H,1)&&!(E=1<=(QA=ZA(H,4))&&11>=QA)){P.a=3;break A}var ve;if(ve=E)e:{var Gr,Dt,kt,Cr=P,Un=I,Yn=N,Or=QA,Mn=B,Jn=Cr.m,cn=Cr.s,Xt=[null],cr=1,Tr=0,ur=nB[Or];t:for(;;){if(Mn&&ZA(Jn,1)){var En=ZA(Jn,3)+2,is=ae(Un,En),Vr=ae(Yn,En),ni=is*Vr;if(!Is(is,Vr,0,Cr,Xt))break t;for(Xt=Xt[0],cn.xc=En,Gr=0;Gr>8&65535;Xt[Gr]=gr,gr>=cr&&(cr=gr+1)}}if(Jn.h)break t;for(Dt=0;5>Dt;++Dt){var un=up[Dt];!Dt&&0=Xn),pi=gi;var ii=s(Tr);if(pi==null||ii==null||di==null){Cr.a=1;break t}var Bi=di;for(Gr=kt=0;GrDt;++Dt){un=up[Dt],vi[Dt]=Bi,ss[Dt]=kt,!Dt&&0Sw)break r}else A0=Sw;for(Ju=0;Juoc)Qp[Ju++]=oc,oc!=0&&(Fp=oc);else{var LB=oc==16,Ip=oc-16,SB=AB[Ip],xp=ZA(ro,$p[Ip])+SB;if(Ju+xp>Sw)break r;for(var NB=LB?Fp:0;0=Dt){var Xu,t0=ii[0];for(Xu=1;Xut0&&(t0=ii[Xu]);In+=t0}}if(Dr.nd=Da,Dr.Qb=0,Da&&(Dr.qb=(vi[3][ss[3]+0].value<<24|vi[1][ss[1]+0].value<<16|vi[2][ss[2]+0].value)>>>0,nl==0&&256>vi[0][ss[0]+0].value&&(Dr.Qb=1,Dr.qb+=vi[0][ss[0]+0].value<<8)),Dr.jc=!Dr.Qb&&6>In,Dr.jc){var Nw,ma=Dr;for(Nw=0;Nw>=mn(Hw,8,io),no>>=mn(ma.G[1][ma.H[1]+no],16,io),no>>=mn(ma.G[2][ma.H[2]+no],0,io),mn(ma.G[3][ma.H[3]+no],24,io))}}}cn.vc=Xt,cn.Wb=cr,cn.Ya=pi,cn.yc=di,ve=1;break e}ve=0}if(!(E=ve)){P.a=3;break A}if(0P+1?[]:0),!(Q.lengtha?0:a>u?u:a}function $l(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Eg(){var a=new iw;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,zu||(zu=Ac)),a}function qr(a,u,B){return a.a==0&&(a.a=u,a.sc=B,a.cb=0),0}function sw(a,u,B){return 3<=B&&a[u+0]==157&&a[u+1]==1&&a[u+2]==42}function Ls(a,u){if(a==null)return 0;if(a.a=0,a.sc="OK",u==null)return qr(a,2,"null VP8Io passed to VP8GetHeaders()");var B=u.data,P=u.w,Q=u.ha;if(4>Q)return qr(a,7,"Truncated header.");var E=B[P+0]|B[P+1]<<8|B[P+2]<<16,I=a.Od;if(I.Rb=!(1&E),I.td=E>>1&7,I.yd=E>>4&1,I.ub=E>>5,3Q)return qr(a,7,"cannot parse picture header");if(!sw(B,P,Q))return qr(a,3,"Bad code word");N.c=16383&(B[P+4]<<8|B[P+3]),N.Td=B[P+4]>>6,N.i=16383&(B[P+6]<<8|B[P+5]),N.Ud=B[P+6]>>6,P+=7,Q-=7,a.za=N.c+15>>4,a.Ub=N.i+15>>4,u.width=N.c,u.height=N.i,u.Da=0,u.j=0,u.v=0,u.va=u.width,u.o=u.height,u.da=0,u.ib=u.width,u.hb=u.height,u.U=u.width,u.T=u.height,n((E=a.Pa).jb,0,255,E.jb.length),t((E=a.Qa)!=null),E.Cb=0,E.Bb=0,E.Fb=1,n(E.Zb,0,0,E.Zb.length),n(E.Lb,0,0,E.Lb)}if(I.ub>Q)return qr(a,7,"bad partition length");SA(E=a.m,B,P,I.ub),P+=I.ub,Q-=I.ub,I.Rb&&(N.Ld=TA(E),N.Kd=TA(E)),N=a.Qa;var H,k=a.Pa;if(t(E!=null),t(N!=null),N.Cb=TA(E),N.Cb){if(N.Bb=TA(E),TA(E)){for(N.Fb=TA(E),H=0;4>H;++H)N.Zb[H]=TA(E)?bA(E,7):0;for(H=0;4>H;++H)N.Lb[H]=TA(E)?bA(E,6):0}if(N.Bb)for(H=0;3>H;++H)k.jb[H]=TA(E)?OA(E,8):255}else N.Bb=0;if(E.Ka)return qr(a,3,"cannot parse segment header");if((N=a.ed).zd=TA(E),N.Tb=OA(E,6),N.wb=OA(E,3),N.Pc=TA(E),N.Pc&&TA(E)){for(k=0;4>k;++k)TA(E)&&(N.vd[k]=bA(E,6));for(k=0;4>k;++k)TA(E)&&(N.od[k]=bA(E,6))}if(a.L=N.Tb==0?0:N.zd?1:2,E.Ka)return qr(a,3,"cannot parse filter header");var oA=Q;if(Q=H=P,P=H+oA,N=oA,a.Xb=(1<N&&(QA=N),SA(a.Jc[+oA],B,H,QA),H+=QA,N-=QA,Q+=3}SA(a.Jc[+k],B,H,N),B=HQA;++QA){if(oA.Cb){var G=oA.Zb[QA];oA.Fb||(G+=B)}else{if(0>16,8>hA.Eb[1]&&(hA.Eb[1]=8),hA.Qc[0]=Jg[xs(G+k,117)],hA.Qc[1]=Xg[xs(G+H,127)],hA.lc=G+H}if(!I.Rb)return qr(a,4,"Not a key frame.");for(TA(E),I=a.Pa,B=0;4>B;++B){for(Q=0;8>Q;++Q)for(P=0;3>P;++P)for(N=0;11>N;++N)k=JA(E,cB[B][Q][P][N])?OA(E,8):oB[B][Q][P][N],I.Wc[B][Q].Yb[P][N]=k;for(Q=0;17>Q;++Q)I.Xc[B][Q]=I.Wc[B][uB[Q]]}return a.kc=TA(E),a.kc&&(a.Bd=OA(E,8)),a.cb=1}function Ac(a,u,B,P,Q,E,I){var N=u[Q].Yb[B];for(B=0;16>Q;++Q){if(!JA(a,N[B+0]))return Q;for(;!JA(a,N[B+1]);)if(N=u[++Q].Yb[0],B=0,Q==16)return 16;var H=u[Q+1].Yb;if(JA(a,N[B+2])){var k=a,oA=0;if(JA(k,(G=N)[(QA=B)+3]))if(JA(k,G[QA+6])){for(N=0,QA=2*(oA=JA(k,G[QA+8]))+(G=JA(k,G[QA+9+oA])),oA=0,G=sB[QA];G[N];++N)oA+=oA+JA(k,G[N]);oA+=3+(8<(k=a).b&&HA(k);var QA,G=k.b,hA=(QA=k.Ca>>1)-(k.I>>G)>>31;--k.b,k.Ca+=hA,k.Ca|=1,k.I-=(QA+1&hA)<>3),a[u+B+32*P]=-256&Q?0>Q?0:255:Q}function sn(a,u,B,P,Q,E){Ni(a,u,0,B,P+Q),Ni(a,u,1,B,P+E),Ni(a,u,2,B,P-E),Ni(a,u,3,B,P-Q)}function aa(a){return(20091*a>>16)+a}function ow(a,u,B,P){var Q,E=0,I=s(16);for(Q=0;4>Q;++Q){var N=a[u+0]+a[u+8],H=a[u+0]-a[u+8],k=(35468*a[u+4]>>16)-aa(a[u+12]),oA=aa(a[u+4])+(35468*a[u+12]>>16);I[E+0]=N+oA,I[E+1]=H+k,I[E+2]=H-k,I[E+3]=N-oA,E+=4,u++}for(Q=E=0;4>Q;++Q)N=(a=I[E+0]+4)+I[E+8],H=a-I[E+8],k=(35468*I[E+4]>>16)-aa(I[E+12]),Ni(B,P,0,0,N+(oA=aa(I[E+4])+(35468*I[E+12]>>16))),Ni(B,P,1,0,H+k),Ni(B,P,2,0,H-k),Ni(B,P,3,0,N-oA),E++,P+=32}function Ig(a,u,B,P){var Q=a[u+0]+4,E=35468*a[u+4]>>16,I=aa(a[u+4]),N=35468*a[u+1]>>16;sn(B,P,0,Q+I,a=aa(a[u+1]),N),sn(B,P,1,Q+E,a,N),sn(B,P,2,Q-E,a,N),sn(B,P,3,Q-I,a,N)}function xg(a,u,B,P,Q){ow(a,u,B,P),Q&&ow(a,u+16,B,P+4)}function Ss(a,u,B,P){rl(a,u+0,B,P,1),rl(a,u+32,B,P+128,1)}function lw(a,u,B,P){var Q;for(a=a[u+0]+4,Q=0;4>Q;++Q)for(u=0;4>u;++u)Ni(B,P,u,Q,a)}function cw(a,u,B,P){a[u+0]&&ar(a,u+0,B,P),a[u+16]&&ar(a,u+16,B,P+4),a[u+32]&&ar(a,u+32,B,P+128),a[u+48]&&ar(a,u+48,B,P+128+4)}function ec(a,u,B,P){var Q,E=s(16);for(Q=0;4>Q;++Q){var I=a[u+0+Q]+a[u+12+Q],N=a[u+4+Q]+a[u+8+Q],H=a[u+4+Q]-a[u+8+Q],k=a[u+0+Q]-a[u+12+Q];E[0+Q]=I+N,E[8+Q]=I-N,E[4+Q]=k+H,E[12+Q]=k-H}for(Q=0;4>Q;++Q)I=(a=E[0+4*Q]+3)+E[3+4*Q],N=E[1+4*Q]+E[2+4*Q],H=E[1+4*Q]-E[2+4*Q],k=a-E[3+4*Q],B[P+0]=I+N>>3,B[P+16]=k+H>>3,B[P+32]=I-N>>3,B[P+48]=k-H>>3,P+=64}function Vo(a,u,B){var P,Q=u-32,E=wi,I=255-a[Q-1];for(P=0;PB;++B)r(a,u+32*B,a,u-32,16)}function uw(a,u){var B;for(B=16;0P;++P)n(u,B+32*P,a,16)}function Hg(a,u){var B,P=16;for(B=0;16>B;++B)P+=a[u-1+32*B]+a[u+B-32];ts(P>>5,a,u)}function zo(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u-1+32*B];ts(P>>4,a,u)}function Fu(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u+B-32];ts(P>>4,a,u)}function jg(a,u){ts(128,a,u)}function dt(a,u,B){return a+2*u+B+2>>2}function Og(a,u){var B,P=u-32;for(P=new Uint8Array([dt(a[P-1],a[P+0],a[P+1]),dt(a[P+0],a[P+1],a[P+2]),dt(a[P+1],a[P+2],a[P+3]),dt(a[P+2],a[P+3],a[P+4])]),B=0;4>B;++B)r(a,u+32*B,P,0,P.length)}function Tg(a,u){var B=a[u-1],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];le(a,u+0,16843009*dt(a[u-1-32],B,P)),le(a,u+32,16843009*dt(B,P,Q)),le(a,u+64,16843009*dt(P,Q,E)),le(a,u+96,16843009*dt(Q,E,E))}function Mg(a,u){var B,P=4;for(B=0;4>B;++B)P+=a[u+B-32]+a[u-1+32*B];for(P>>=3,B=0;4>B;++B)n(a,u+32*B,P,4)}function oa(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+96]=dt(P,Q,a[u-1+96]),a[u+1+96]=a[u+0+64]=dt(B,P,Q),a[u+2+96]=a[u+1+64]=a[u+0+32]=dt(E,B,P),a[u+3+96]=a[u+2+64]=a[u+1+32]=a[u+0+0]=dt(I,E,B),a[u+3+64]=a[u+2+32]=a[u+1+0]=dt(N,I,E),a[u+3+32]=a[u+2+0]=dt(H,N,I),a[u+3+0]=dt(k,H,N)}function la(a,u){var B=a[u+1-32],P=a[u+2-32],Q=a[u+3-32],E=a[u+4-32],I=a[u+5-32],N=a[u+6-32],H=a[u+7-32];a[u+0+0]=dt(a[u+0-32],B,P),a[u+1+0]=a[u+0+32]=dt(B,P,Q),a[u+2+0]=a[u+1+32]=a[u+0+64]=dt(P,Q,E),a[u+3+0]=a[u+2+32]=a[u+1+64]=a[u+0+96]=dt(Q,E,I),a[u+3+32]=a[u+2+64]=a[u+1+96]=dt(E,I,N),a[u+3+64]=a[u+2+96]=dt(I,N,H),a[u+3+96]=dt(N,H,H)}function _g(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+0]=a[u+1+64]=E+I+1>>1,a[u+1+0]=a[u+2+64]=I+N+1>>1,a[u+2+0]=a[u+3+64]=N+H+1>>1,a[u+3+0]=H+k+1>>1,a[u+0+96]=dt(Q,P,B),a[u+0+64]=dt(P,B,E),a[u+0+32]=a[u+1+96]=dt(B,E,I),a[u+1+32]=a[u+2+96]=dt(E,I,N),a[u+2+32]=a[u+3+96]=dt(I,N,H),a[u+3+32]=dt(N,H,k)}function Rg(a,u){var B=a[u+0-32],P=a[u+1-32],Q=a[u+2-32],E=a[u+3-32],I=a[u+4-32],N=a[u+5-32],H=a[u+6-32],k=a[u+7-32];a[u+0+0]=B+P+1>>1,a[u+1+0]=a[u+0+64]=P+Q+1>>1,a[u+2+0]=a[u+1+64]=Q+E+1>>1,a[u+3+0]=a[u+2+64]=E+I+1>>1,a[u+0+32]=dt(B,P,Q),a[u+1+32]=a[u+0+96]=dt(P,Q,E),a[u+2+32]=a[u+1+96]=dt(Q,E,I),a[u+3+32]=a[u+2+96]=dt(E,I,N),a[u+3+64]=dt(I,N,H),a[u+3+96]=dt(N,H,k)}function tc(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];a[u+0+0]=B+P+1>>1,a[u+2+0]=a[u+0+32]=P+Q+1>>1,a[u+2+32]=a[u+0+64]=Q+E+1>>1,a[u+1+0]=dt(B,P,Q),a[u+3+0]=a[u+1+32]=dt(P,Q,E),a[u+3+32]=a[u+1+64]=dt(Q,E,E),a[u+3+64]=a[u+2+64]=a[u+0+96]=a[u+1+96]=a[u+2+96]=a[u+3+96]=E}function Uu(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96],I=a[u-1-32],N=a[u+0-32],H=a[u+1-32],k=a[u+2-32];a[u+0+0]=a[u+2+32]=B+I+1>>1,a[u+0+32]=a[u+2+64]=P+B+1>>1,a[u+0+64]=a[u+2+96]=Q+P+1>>1,a[u+0+96]=E+Q+1>>1,a[u+3+0]=dt(N,H,k),a[u+2+0]=dt(I,N,H),a[u+1+0]=a[u+3+32]=dt(B,I,N),a[u+1+32]=a[u+3+64]=dt(P,B,I),a[u+1+64]=a[u+3+96]=dt(Q,P,B),a[u+1+96]=dt(E,Q,P)}function Wo(a,u){var B;for(B=0;8>B;++B)r(a,u+32*B,a,u-32,8)}function Kg(a,u){var B;for(B=0;8>B;++B)n(a,u,a[u-1],8),u+=32}function ca(a,u,B){var P;for(P=0;8>P;++P)n(u,B+32*P,a,8)}function kg(a,u){var B,P=8;for(B=0;8>B;++B)P+=a[u+B-32]+a[u-1+32*B];ca(P>>4,a,u)}function Eu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u+B-32];ca(P>>3,a,u)}function Iu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u-1+32*B];ca(P>>3,a,u)}function fw(a,u){ca(128,a,u)}function ua(a,u,B){var P=a[u-B],Q=a[u+0],E=3*(Q-P)+Gg[1020+a[u-2*B]-a[u+B]],I=Dw[112+(E+4>>3)];a[u-B]=wi[255+P+Dw[112+(E+3>>3)]],a[u+0]=wi[255+Q-I]}function xu(a,u,B,P){var Q=a[u+0],E=a[u+B];return Oi[255+a[u-2*B]-a[u-B]]>P||Oi[255+E-Q]>P}function rc(a,u,B,P){return 4*Oi[255+a[u-B]-a[u+0]]+Oi[255+a[u-2*B]-a[u+B]]<=P}function Lu(a,u,B,P,Q){var E=a[u-3*B],I=a[u-2*B],N=a[u-B],H=a[u+0],k=a[u+B],oA=a[u+2*B],QA=a[u+3*B];return 4*Oi[255+N-H]+Oi[255+I-k]>P?0:Oi[255+a[u-4*B]-E]<=Q&&Oi[255+E-I]<=Q&&Oi[255+I-N]<=Q&&Oi[255+QA-oA]<=Q&&Oi[255+oA-k]<=Q&&Oi[255+k-H]<=Q}function Yo(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P,B,Q)&&ua(a,u+P,B)}function Su(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P*B,1,Q)&&ua(a,u+P*B,1)}function hw(a,u,B,P){var Q;for(Q=3;0>7,zA=18*YA+63>>7,YA=9*YA+63>>7;H[k-3*oA]=wi[255+H[k-3*oA]+YA],H[k-2*oA]=wi[255+QA+zA],H[k-oA]=wi[255+G+yA],H[k+0]=wi[255+hA-yA],H[k+oA]=wi[255+mA-zA],H[k+2*oA]=wi[255+KA-YA]}u+=P}}function ha(a,u,B,P,Q,E,I,N){for(E=2*E+1;0>3)],KA=Dw[112+(KA+3>>3)],yA=mA+1>>1;H[k-2*oA]=wi[255+H[k-2*oA]+yA],H[k-oA]=wi[255+QA+KA],H[k+0]=wi[255+G-mA],H[k+oA]=wi[255+hA-yA]}u+=P}}function dw(a,u,B,P,Q,E){fa(a,u,B,1,16,P,Q,E)}function Jo(a,u,B,P,Q,E){fa(a,u,1,B,16,P,Q,E)}function gw(a,u,B,P,Q,E){var I;for(I=3;0k?0:255:k)&255,k=H,Q[E+N]=oA}}function vr(a,u,B,P){var Q=u.width,E=u.o;if(t(a!=null&&u!=null),0>B||0>=P||B+P>E)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Ct,(I=a.ga==null)||(I=u.width*u.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var N=a.Fa,H=a.P,k=a.qc,oA=a.mb,QA=a.nb,G=H+1,hA=k-1,mA=I.l;if(t(N!=null&&oA!=null&&u!=null),eo[0]=null,eo[1]=Jt,eo[2]=xr,eo[3]=$r,I.ca=oA,I.tb=QA,I.c=u.width,I.i=u.height,t(0=k)u=0;else if(I.$a=3&N[H+0],I.Z=N[H+0]>>2&3,I.Lc=N[H+0]>>4&3,H=N[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!u}if(I)return null;a.ga.Lc!=1?a.Ga=0:P=E-B}t(a.ga!=null),t(B+P<=E);A:{if(u=(N=a.ga).c,E=N.l.o,N.$a==0){if(G=a.rc,hA=a.Vc,mA=a.Fa,H=a.P+1+B*u,k=a.mb,oA=a.nb+B*u,t(H<=a.P+a.qc),N.Z!=0)for(t(eo[N.Z]!=null),I=0;I=u)u=1;else if(N.ic||rs(),N.ic){N=I.V,G=I.Ba,hA=I.c;var KA=I.i,yA=(mA=1,H=I.$/hA,k=I.$%hA,oA=I.m,QA=I.s,I.$),zA=hA*KA,YA=hA*u,oe=QA.wc,te=yA(KA=jr(te.G[0],te.H[0],oA)))N[G+yA]=KA,++yA,++k>=hA&&(k=0,++H<=u&&!(H%16)&&As(I,H));else{if(!(280>KA)){mA=0;break e}KA=Ii(KA-256,oA);var ze,He=jr(te.G[4],te.H[4],oA);if(CA(oA),!(yA>=(He=xi(hA,He=Ii(He,oA)))&&zA-yA>=KA)){mA=0;break e}for(ze=0;ze=hA;)k-=hA,++H<=u&&!(H%16)&&As(I,H);yAu?u:H);break e}!mA||oA.h&&yA=E&&(a.Cc=1),P=1}if(!P)return null;if(a.Cc&&((P=a.ga)!=null&&(P.mc=null),a.ga=null,0>23,N[H+4*I+1]=N[H+4*I+1]*QA>>23,N[H+4*I+2]=N[H+4*I+2]*QA>>23)}u+=E}}function An(a,u,B,P,Q){for(;0>4)*H>>16;a[u+2*E+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[u+2*E+1]=240&k|N}u+=Q}}function Qn(a,u,B,P,Q,E,I,N){var H,k,oA=255;for(k=0;k>8}function rs(){Vu=an,ep=An,tp=Qn,rp=wa}function da(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA,G,hA,mA,KA,yA,zA,YA,oe){var te,ze=oe-1>>1,He=N[H+0]|k[oA+0]<<16,yt=QA[G+0]|hA[mA+0]<<16;t(P!=null);var Re=3*He+yt+131074>>2;for(u(P[Q+0],255&Re,Re>>16,KA,yA),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+0],255&Re,Re>>16,zA,YA)),te=1;te<=ze;++te){var Rt=N[H+te]|k[oA+te]<<16,ln=QA[G+te]|hA[mA+te]<<16,bt=He+Rt+yt+ln+524296,Ke=bt+2*(Rt+yt)>>3;Re=Ke+He>>1,He=(bt=bt+2*(He+ln)>>3)+Rt>>1,u(P[Q+2*te-1],255&Re,Re>>16,KA,yA+(2*te-1)*B),u(P[Q+2*te-0],255&He,He>>16,KA,yA+(2*te-0)*B),E!=null&&(Re=bt+yt>>1,He=Ke+ln>>1,u(E[I+2*te-1],255&Re,Re>>16,zA,YA+(2*te-1)*B),u(E[I+2*te+0],255&He,He>>16,zA,YA+(2*te+0)*B)),He=Rt,yt=ln}1&oe||(Re=3*He+yt+131074>>2,u(P[Q+oe-1],255&Re,Re>>16,KA,yA+(oe-1)*B),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+oe-1],255&Re,Re>>16,zA,YA+(oe-1)*B)))}}function Nu(){Ti[mw]=hB,Ti[Pw]=wp,Ti[lp]=wB,Ti[Cw]=dp,Ti[yw]=gp,Ti[Vg]=pp,Ti[cp]=dB,Ti[zg]=wp,Ti[Wg]=dp,Ti[bw]=gp,Ti[Yg]=pp}function nc(a){return a&~gB?0>a?0:255:a>>Bp}function Va(a,u){return nc((19077*a>>8)+(26149*u>>8)-14234)}function Xo(a,u,B){return nc((19077*a>>8)-(6419*u>>8)-(13320*B>>8)+8708)}function Zo(a,u){return nc((19077*a>>8)+(33050*u>>8)-17685)}function za(a,u,B,P,Q){P[Q+0]=Va(a,B),P[Q+1]=Xo(a,u,B),P[Q+2]=Zo(a,u)}function Fn(a,u,B,P,Q){P[Q+0]=Zo(a,u),P[Q+1]=Xo(a,u,B),P[Q+2]=Va(a,B)}function qo(a,u,B,P,Q){var E=Xo(a,u,B);u=E<<3&224|Zo(a,u)>>3,P[Q+0]=248&Va(a,B)|E>>5,P[Q+1]=u}function $o(a,u,B,P,Q){var E=240&Zo(a,u)|15;P[Q+0]=240&Va(a,B)|Xo(a,u,B)>>4,P[Q+1]=E}function Hu(a,u,B,P,Q){P[Q+0]=255,za(a,u,B,P,Q+1)}function ju(a,u,B,P,Q){Fn(a,u,B,P,Q),P[Q+3]=255}function Wn(a,u,B,P,Q){za(a,u,B,P,Q),P[Q+3]=255}function ga(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA){for(var G=oA+(-2&QA)*B;oA!=G;)u(P[Q+0],E[I+0],N[H+0],k,oA),u(P[Q+1],E[I+0],N[H+0],k,oA+B),Q+=2,++I,++H,oA+=2*B;1&QA&&u(P[Q+0],E[I+0],N[H+0],k,oA)}}function ic(a,u,B){return B==0?a==0?u==0?6:5:u==0?4:0:B}function pw(a,u,B,P,Q){switch(a>>>30){case 3:rl(u,B,P,Q,0);break;case 2:ji(u,B,P,Q);break;case 1:ar(u,B,P,Q)}}function Hi(a,u){var B,P,Q=u.M,E=u.Nb,I=a.oc,N=a.pc+40,H=a.oc,k=a.pc+584,oA=a.oc,QA=a.pc+600;for(B=0;16>B;++B)I[N+32*B-1]=129;for(B=0;8>B;++B)H[k+32*B-1]=129,oA[QA+32*B-1]=129;for(0B;++B)r(I,N+32*B-4,I,N+32*B+12,4);for(B=-1;8>B;++B)r(H,k+32*B-4,H,k+32*B+4,4),r(oA,QA+32*B-4,oA,QA+32*B+4,4)}var hA=a.Gd,mA=a.Hd+P,KA=G.ad,yA=G.Hc;if(0=a.za-1?n(zA,YA,hA[mA].y[15],4):r(zA,YA,hA[mA+1].y,0,4)),B=0;4>B;B++)zA[YA+128+B]=zA[YA+256+B]=zA[YA+384+B]=zA[YA+0+B];for(B=0;16>B;++B,yA<<=2)zA=I,YA=N+Dp[B],ns[G.Ob[B]](zA,YA),pw(yA,KA,16*+B,zA,YA)}else if(zA=ic(P,Q,G.Ob[0]),Ao[zA](I,N),yA!=0)for(B=0;16>B;++B,yA<<=2)pw(yA,KA,16*+B,I,N+Dp[B]);for(B=G.Gc,zA=ic(P,Q,G.Dd),va[zA](H,k),va[zA](oA,QA),yA=KA,zA=H,YA=k,255&(G=0|B)&&(170&G?js(yA,256,zA,YA):dr(yA,256,zA,YA)),G=oA,yA=QA,255&(B>>=8)&&(170&B?js(KA,320,G,yA):dr(KA,320,G,yA)),QB;++B)r(hA,mA+B*a.R,I,N+32*B,16);for(B=0;8>B;++B)r(KA,G+B*a.B,H,k+32*B,8),r(yA,zA+B*a.B,oA,QA+32*B,8)}}function Al(a,u,B,P,Q,E,I,N,H){var k=[0],oA=[0],QA=0,G=H!=null?H.kd:0,hA=H!=null?H:new ee;if(a==null||12>B)return 7;hA.data=a,hA.w=u,hA.ha=B,u=[u],B=[B],hA.gb=[hA.gb];A:{var mA=u,KA=B,yA=hA.gb;if(t(a!=null),t(KA!=null),t(yA!=null),yA[0]=0,12<=KA[0]&&!e(a,mA[0],"RIFF")){if(e(a,mA[0]+8,"WEBP")){yA=3;break A}var zA=Je(a,mA[0]+4);if(12>zA||4294967286KA[0]-8){yA=7;break A}yA[0]=zA,mA[0]+=12,KA[0]-=12}yA=0}if(yA!=0)return yA;for(zA=0yA[0])yA=7;else{if(!e(YA,KA[0],"VP8X")){if(Je(YA,KA[0]+4)!=10){yA=3;break A}if(18>yA[0]){yA=7;break A}var He=Je(YA,KA[0]+8),yt=1+Pe(YA,KA[0]+12);if(2147483648<=yt*(YA=1+Pe(YA,KA[0]+15))){yA=3;break A}ze!=null&&(ze[0]=He),oe!=null&&(oe[0]=yt),te!=null&&(te[0]=YA),KA[0]+=18,yA[0]-=18,Re[0]=1}yA=0}}if(QA=QA[0],mA=mA[0],yA!=0)return yA;if(KA=!!(2&mA),!zA&&QA)return 3;if(E!=null&&(E[0]=!!(16&mA)),I!=null&&(I[0]=KA),N!=null&&(N[0]=0),I=k[0],mA=oA[0],QA&&KA&&H==null){yA=0;break}if(4>B){yA=7;break}if(zA&&QA||!zA&&!QA&&!e(a,u[0],"ALPH")){B=[B],hA.na=[hA.na],hA.P=[hA.P],hA.Sa=[hA.Sa];A:{He=a,yA=u,zA=B;var Re=hA.gb;oe=hA.na,te=hA.P,ze=hA.Sa,yt=22,t(He!=null),t(zA!=null),YA=yA[0];var Rt=zA[0];for(t(oe!=null),t(ze!=null),oe[0]=null,te[0]=null,ze[0]=0;;){if(yA[0]=YA,zA[0]=Rt,8>Rt){yA=7;break A}var ln=Je(He,YA+4);if(4294967286Re){yA=3;break A}if(!e(He,YA,"VP8 ")||!e(He,YA,"VP8L")){yA=0;break A}if(Rt[0]zA[0])yA=7;else{if(YA||yt){if(Re=Je(Re,He+4),12<=oe&&Re>oe-12){yA=3;break A}if(G&&Re>zA[0]-8){yA=7;break A}te[0]=Re,yA[0]+=8,zA[0]-=8,ze[0]=yt}else ze[0]=5<=zA[0]&&Re[He+0]==47&&!(Re[He+4]>>5),te[0]=zA[0];yA=0}if(B=B[0],hA.Ja=hA.Ja[0],hA.xa=hA.xa[0],u=u[0],yA!=0)break;if(4294967286B){yA=7;break}N=I,G=mA,KA=E,a==null||5>B?a=0:5<=B&&a[u+0]==47&&!(a[u+4]>>5)?(zA=[0],Re=[0],oe=[0],MA(te=new z,a,u,B),sa(te,zA,Re,oe)?(N!=null&&(N[0]=zA[0]),G!=null&&(G[0]=Re[0]),KA!=null&&(KA[0]=oe[0]),a=1):a=0):a=0}else{if(10>B){yA=7;break}N=mA,a==null||10>B||!sw(a,u+3,B-3)?a=0:(G=a[u+0]|a[u+1]<<8|a[u+2]<<16,KA=16383&(a[u+7]<<8|a[u+6]),a=16383&(a[u+9]<<8|a[u+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=hA.Ja||!KA||!a?a=0:(I&&(I[0]=KA),N&&(N[0]=a),a=1))}if(!a||(I=I[0],mA=mA[0],QA&&(k[0]!=I||oA[0]!=mA)))return 3;H!=null&&(H[0]=hA,H.offset=u-H.w,t(4294967286>u-H.w),t(H.offset==H.ha-B));break}return yA==0||yA==7&&QA&&H==null?(E!=null&&(E[0]|=hA.na!=null&&0B||(E&=-2,I&=-2),0>E||0>I||0>=N||0>=H||E+N>P||I+H>Q))return 0;if(u.v=E,u.j=I,u.va=E+N,u.o=I+H,u.U=N,u.T=H,u.da=a!=null&&0a.S){var u=a.f.RGBA;u.fb+=(a.height-1)*u.A,u.A=-u.A}else u=a.f.kb,a=a.height,u.O+=(a-1)*u.fa,u.fa=-u.fa,u.N+=(a-1>>1)*u.Ab,u.Ab=-u.Ab,u.W+=(a-1>>1)*u.Db,u.Db=-u.Db,u.F!=null&&(u.J+=(a-1)*u.lb,u.lb=-u.lb);return 0}function Wa(a,u,B,P){if(P==null||0>=a||0>=u)return 2;if(B!=null){if(B.Da){var Q=B.cd,E=B.bd,I=-2&B.v,N=-2&B.j;if(0>I||0>N||0>=Q||0>=E||I+Q>a||N+E>u)return 2;a=Q,u=E}if(B.da){if(!tt(a,u,Q=[B.ib],E=[B.hb]))return 2;a=Q[0],u=E[0]}}P.width=a,P.height=u;A:{var H=P.width,k=P.height;if(a=P.S,0>=H||0>=k||!(a>=mw&&13>a))a=2;else{if(0>=P.Rd&&P.sd==null){I=E=Q=u=0;var oA=(N=H*mp[a])*k;if(11>a||(E=(k+1)/2*(u=(H+1)/2),a==12&&(I=(Q=H)*k)),(k=s(oA+2*E+I))==null){a=1;break A}P.sd=k,11>a?((H=P.f.RGBA).eb=k,H.fb=0,H.A=N,H.size=oA):((H=P.f.kb).y=k,H.O=0,H.fa=N,H.Fd=oA,H.f=k,H.N=0+oA,H.Ab=u,H.Cd=E,H.ea=k,H.W=0+oA+E,H.Db=u,H.Ed=E,a==12&&(H.F=k,H.J=0+oA+2*E),H.Tc=I,H.lb=Q)}if(u=1,Q=P.S,E=P.width,I=P.height,Q>=mw&&13>Q)if(11>Q)a=P.f.RGBA,u&=(N=Math.abs(a.A))*(I-1)+E<=a.size,u&=N>=E*mp[Q],u&=a.eb!=null;else{a=P.f.kb,N=(E+1)/2,oA=(I+1)/2,H=Math.abs(a.fa),k=Math.abs(a.Ab);var QA=Math.abs(a.Db),G=Math.abs(a.lb),hA=G*(I-1)+E;u&=H*(I-1)+E<=a.Fd,u&=k*(oA-1)+N<=a.Cd,u=(u&=QA*(oA-1)+N<=a.Ed)&H>=E&k>=N&QA>=N,u&=a.y!=null,u&=a.f!=null,u&=a.ea!=null,Q==12&&(u&=G>=E,u&=hA<=a.Tc,u&=a.F!=null)}else u=0;a=u?0:2}}return a!=0||B!=null&&B.fd&&(a=Tu(P)),a}var el=64,fi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],hi=24,Ya=32,pa=8,Ja=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];je("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(a){return a},Y.Predictor2=function(a,u,B){return u[B+0]},Y.Predictor3=function(a,u,B){return u[B+1]},Y.Predictor4=function(a,u,B){return u[B-1]},Y.Predictor5=function(a,u,B){return Xe(Xe(a,u[B+1]),u[B+0])},Y.Predictor6=function(a,u,B){return Xe(a,u[B-1])},Y.Predictor7=function(a,u,B){return Xe(a,u[B+0])},Y.Predictor8=function(a,u,B){return Xe(u[B-1],u[B+0])},Y.Predictor9=function(a,u,B){return Xe(u[B+0],u[B+1])},Y.Predictor10=function(a,u,B){return Xe(Xe(a,u[B-1]),Xe(u[B+0],u[B+1]))},Y.Predictor11=function(a,u,B){var P=u[B+0];return 0>=Bt(P>>24&255,a>>24&255,(u=u[B-1])>>24&255)+Bt(P>>16&255,a>>16&255,u>>16&255)+Bt(P>>8&255,a>>8&255,u>>8&255)+Bt(255&P,255&a,255&u)?P:a},Y.Predictor12=function(a,u,B){var P=u[B+0];return(ir((a>>24&255)+(P>>24&255)-((u=u[B-1])>>24&255))<<24|ir((a>>16&255)+(P>>16&255)-(u>>16&255))<<16|ir((a>>8&255)+(P>>8&255)-(u>>8&255))<<8|ir((255&a)+(255&P)-(255&u)))>>>0},Y.Predictor13=function(a,u,B){var P=u[B-1];return(Ot((a=Xe(a,u[B+0]))>>24&255,P>>24&255)<<24|Ot(a>>16&255,P>>16&255)<<16|Ot(a>>8&255,P>>8&255)<<8|Ot(255&a,255&P))>>>0};var Mu=Y.PredictorAdd0;Y.PredictorAdd1=_t,je("Predictor2","PredictorAdd2"),je("Predictor3","PredictorAdd3"),je("Predictor4","PredictorAdd4"),je("Predictor5","PredictorAdd5"),je("Predictor6","PredictorAdd6"),je("Predictor7","PredictorAdd7"),je("Predictor8","PredictorAdd8"),je("Predictor9","PredictorAdd9"),je("Predictor10","PredictorAdd10"),je("Predictor11","PredictorAdd11"),je("Predictor12","PredictorAdd12"),je("Predictor13","PredictorAdd13");var sc=Y.PredictorAdd2;We("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),We("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var Kr,Bw=Y.ColorIndexInverseTransform,Ns=Y.MapARGB,Hs=Y.VP8LColorIndexInverseTransformAlpha,_u=Y.MapAlpha,Ru=Y.VP8LPredictorsAdd=[];Ru.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var Ku,ku,Xa,Za,qa,tl,$a,rl,ji,js,ar,dr,kr,on,Ba,Gu,ac,vw,J0,X0,Z0,q0,$0,Ap,Vu,ep,tp,rp,np=s(511),ip=s(2041),sp=s(225),ap=s(767),op=0,Gg=ip,Dw=sp,wi=ap,Oi=np,mw=0,Pw=1,lp=2,Cw=3,yw=4,Vg=5,cp=6,zg=7,Wg=8,bw=9,Yg=10,$p=[2,3,7],AB=[3,3,11],up=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,Jg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Xg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zu=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],ns=[],va=[],fB=1,hp=2,eo=[],Ti=[];da("UpsampleRgbLinePair",za,3),da("UpsampleBgrLinePair",Fn,3),da("UpsampleRgbaLinePair",Wn,4),da("UpsampleBgraLinePair",ju,4),da("UpsampleArgbLinePair",Hu,4),da("UpsampleRgba4444LinePair",$o,2),da("UpsampleRgb565LinePair",qo,2);var hB=Y.UpsampleRgbLinePair,wB=Y.UpsampleBgrLinePair,wp=Y.UpsampleRgbaLinePair,dp=Y.UpsampleBgraLinePair,gp=Y.UpsampleArgbLinePair,pp=Y.UpsampleRgba4444LinePair,dB=Y.UpsampleRgb565LinePair,Qw=16,Fw=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&rs()),P.Pb&&0(H=B.Md)?0:100k;++k)12>(QA=Q.pb[k]).lc&&(QA.ia=H*CB[0>QA.lc?0:QA.lc]>>3),oA|=QA.ia;oA&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=B.Id,100Q.Ga&&(Q.Ga=0)}(function(G,hA){if(G==null)return 0;if(hA==null)return qr(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!Ls(G,hA))return 0;if(t(G.cb),hA.ac==null||hA.ac(hA)){hA.ob&&(G.L=0);var mA=Uw[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=hA.v-mA>>4,G.zb=hA.j-mA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=hA.o+15+mA>>4,G.Hb=hA.va+15+mA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0mA;++mA){var yA;if(G.Qa.Cb){var zA=G.Qa.Lb[mA];G.Qa.Fb||(zA+=KA.Tb)}else zA=KA.Tb;for(yA=0;1>=yA;++yA){var YA=G.gd[mA][yA],oe=zA;if(KA.Pc&&(oe+=KA.vd[0],yA&&(oe+=KA.od[0])),0<(oe=0>oe?0:63>2:te>>1)>9-KA.wb&&(te=9-KA.wb),1>te&&(te=1),YA.dd=te,YA.tc=2*oe+te,YA.ld=40<=oe?2:15<=oe?1:0}else YA.tc=0;YA.La=yA}}}mA=0}else qr(G,6,"Frame setup failed"),mA=G.a;if(mA=mA==0){if(mA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){mA=qr(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,oe=G.Fc,G.Ac=YA,G.Bc=oe,oe+=KA,G.Gd=h(ze,nw),G.Hd=0,G.rb=h(He+1,yu),G.sb=1,G.wa=yt?h(yt,Si):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=mA;++mA)np[255+mA]=0>mA?-mA:mA;for(mA=-1020;1020>=mA;++mA)ip[1020+mA]=-128>mA?-128:127=mA;++mA)sp[112+mA]=-16>mA?-16:15=mA;++mA)ap[255+mA]=0>mA?0:255kt;++kt){var cn,Xt=Yn[0+kt];for(cn=0;4>cn;++cn){Xt=lB[Cr[Un+cn]][Xt];for(var cr=fp[JA(Dt,Xt[0])];0>3;for(cr=0;256>cr;cr+=16)kt[Mn+cr]=ni}En=1,is=Un[0]}var gr=15&Dt.la,un=15&Jn.la;for(cr=0;4>cr;++cr){var di=1&un;for(ni=ur=0;4>ni;++ni)gr=gr>>1|(di=(Vr=zu(Cr,is,Vr=di+(1&gr),Or.Sc,En,kt,Mn))>En)<<7,ur=ur<<2|(3>=4,un=un>>1|di<<7,cn=(cn<<8|ur)>>>0}for(is=gr,En=un>>4,Tr=0;4>Tr;Tr+=2){for(ur=0,gr=Dt.la>>4+Tr,un=Jn.la>>4+Tr,cr=0;2>cr;++cr){for(di=1&un,ni=0;2>ni;++ni)Vr=di+(1&gr),gr=gr>>1|(di=0<(Vr=zu(Cr,Un[2],Vr,Or.Qc,0,kt,Mn)))<<3,ur=ur<<2|(3>=2,un=un>>1|di<<5}Xt|=ur<<4*Tr,is|=gr<<4<=Ke.zb&&Ke.M<=Ke.Va,Ke.Aa==0)e:{if(bt.M=Ke.M,bt.uc=Dt,Hi(Ke,bt),Gr=1,bt=(ur=Ke.D).Nb,Dt=(Xt=Uw[Ke.L])*Ke.R,Cr=Xt/2*Ke.B,cr=16*bt*Ke.R,ni=8*bt*Ke.B,Un=Ke.sa,Yn=Ke.ta-Dt+cr,Or=Ke.qa,kt=Ke.ra-Cr+ni,Mn=Ke.Ha,Jn=Ke.Ia-Cr+ni,un=(gr=ur.M)==0,cn=gr>=Ke.Va-1,Ke.Aa==2&&Hi(Ke,ur),ur.uc)for(di=(Vr=Ke).D.M,t(Vr.D.uc),ur=Vr.yb;urve.o&&(gr=ve.o),ve.F=null,ve.J=null,Ke.Fa!=null&&0>1),ve.W+=Ke.B*(Xt>>1),ve.F!=null&&(ve.J+=ve.width*Xt)),ur>1,ve.W+=ve.v>>1,ve.F!=null&&(ve.J+=ve.v),ve.ka=ur-ve.j,ve.U=ve.va-ve.v,ve.T=gr-ur,Gr=ve.put(ve))}bt+1!=Ke.Ic||cn||(r(Ke.sa,Ke.ta-Dt,Un,Yn+16*Ke.R,Dt),r(Ke.qa,Ke.ra-Cr,Or,kt+8*Ke.B,Cr),r(Ke.Ha,Ke.Ia-Cr,Mn,Jn+8*Ke.B,Cr))}if(!Gr)return qr(Rt,6,"Output aborted.")}return 1}(G,hA)),hA.bc!=null&&hA.bc(hA),mA&=1}return mA?(G.cb=0,mA):0})(a,P)||(u=a.a)}}else u=a.a}u==0&&I.Oa!=null&&I.Oa.fd&&(u=Tu(I.ba))}I=u}E=I!=0?null:11>E?N.f.RGBA.eb:N.f.kb.y}else E=null;return E};var mp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(Y,DA){for(var L="",R=0;R<4;R++)L+=String.fromCharCode(Y[DA++]);return L}function D(Y,DA){return Y[DA+0]|Y[DA+1]<<8}function y(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16)>>>0}function U(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16|Y[DA+3]<<24)>>>0}new w;var v=[0],M=[0],j=[],_=new w,S=A,iA=function(Y,DA){var L={},R=0,rA=!1,eA=0,EA=0;if(L.frames=[],!function(x,z){for(var $=0;$<4;$++)if(x[z+$]!="RIFF".charCodeAt($))return!0;return!1}(Y,DA)){for(U(Y,DA+=4),DA+=8;DA>1&1}SA!="ANMF"&&(DA+=bA)}return L}}(S,0);iA.response=S,iA.rgbaoutput=!0,iA.dataurl=!1;var AA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(AA){AA.loop_counter=AA.loop_count,v=[AA.canvas_height],M=[AA.canvas_width];for(var FA=0;FA=2?K[1]:Qe[0],Qe[2]=K.length>=3?K[2]:Qe[0],Qe[3]=K.length>=4?K[3]:Qe[1]),g.margin=Qe}});var HA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return HA},set:function(K){HA=K}});var TA=0;Object.defineProperty(this,"lastBreak",{get:function(){return TA},set:function(K){TA=K}});var JA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return JA},set:function(K){JA=K}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(K){K instanceof D&&(g=K)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(K){g.path=K}});var le=[];Object.defineProperty(this,"ctxStack",{get:function(){return le},set:function(K){le=K}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(K){var Qe;Qe=U(K),this.ctx.fillStyle=Qe.style,this.ctx.isFillTransparent=Qe.a===0,this.ctx.fillOpacity=Qe.a,this.pdf.setFillColor(Qe.r,Qe.g,Qe.b,{a:Qe.a}),this.pdf.setTextColor(Qe.r,Qe.g,Qe.b,{a:Qe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(K){var Qe=U(K);this.ctx.strokeStyle=Qe.style,this.ctx.isStrokeTransparent=Qe.a===0,this.ctx.strokeOpacity=Qe.a,Qe.a===0?this.pdf.setDrawColor(255,255,255):(Qe.a,this.pdf.setDrawColor(Qe.r,Qe.g,Qe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(K){["butt","round","square"].indexOf(K)!==-1&&(this.ctx.lineCap=K,this.pdf.setLineCap(K))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(K){isNaN(K)||(this.ctx.lineWidth=K,this.pdf.setLineWidth(K))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(K){["bevel","round","miter"].indexOf(K)!==-1&&(this.ctx.lineJoin=K,this.pdf.setLineJoin(K))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(K){isNaN(K)||(this.ctx.miterLimit=K,this.pdf.setMiterLimit(K))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(K){this.ctx.textBaseline=K}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(K){["right","end","center","left","start"].indexOf(K)!==-1&&(this.ctx.textAlign=K)}});var be=null,Pe=null,Je=null;Object.defineProperty(this,"fontFaces",{get:function(){return Je},set:function(K){be=null,Pe=null,Je=K}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(K){var Qe;if(this.ctx.font=K,(Qe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(K))!==null){var Ft=Qe[1];Qe[2];var tt=Qe[3],ae=Qe[4];Qe[5];var rt=Qe[6],je=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ae)[2];ae=Math.floor(je==="px"?parseFloat(ae)*this.pdf.internal.scaleFactor:je==="em"?parseFloat(ae)*this.pdf.getFontSize():parseFloat(ae)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ae);var et=function(We){var Rr,Yt,Et=[],It=We.trim();if(It==="")return bg;if(It in ys)return[ys[It]];for(;It!=="";){switch(Yt=null,Rr=(It=bs(It)).charAt(0)){case'"':case"'":Yt=Xi(It.substring(1),Rr);break;default:Yt=Ka(It)}if(Yt===null||(Et.push(Yt[0]),(It=bs(Yt[1]))!==""&&It.charAt(0)!==","))return bg;It=It.replace(/^,/,"")}return Et}(rt);if(this.fontFaces){var Xe=function(We,Rr){var Yt=We.getFontList(),Et=JSON.stringify(Yt);if(be===null||Pe!==Et){var It=function(Qr){var Ze=[];return Object.keys(Qr).forEach(function(Br){Qr[Br].forEach(function(lt){var vt=null;switch(lt){case"bold":vt={family:Br,weight:"bold"};break;case"italic":vt={family:Br,style:"italic"};break;case"bolditalic":vt={family:Br,weight:"bold",style:"italic"};break;case"":case"normal":vt={family:Br}}vt!==null&&(vt.ref={name:Br,style:lt},Ze.push(vt))})}),Ze}(Yt);be=function(Qr){for(var Ze={},Br=0;Br=700||Ft==="bold")&&(Bt="bold"),Ft==="italic"&&(Bt+="italic"),Bt.length===0&&(Bt="normal");for(var _t="",Tt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ge=0;Ge=2*Math.PI&&(sA=0,dA=2*Math.PI),this.path.push({type:"arc",x,y:z,radius:$,startAngle:sA,endAngle:dA,counterclockwise:CA})},y.prototype.arcTo=function(x,z,$,sA,dA){throw new Error("arcTo not implemented.")},y.prototype.rect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,z),this.lineTo(x+$,z),this.lineTo(x+$,z+sA),this.lineTo(x,z+sA),this.lineTo(x,z),this.lineTo(x+$,z),this.lineTo(x,z)},y.prototype.fillRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var dA={};this.lineCap!=="butt"&&(dA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(dA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,z,$,sA),this.fill(),dA.hasOwnProperty("lineCap")&&(this.lineCap=dA.lineCap),dA.hasOwnProperty("lineJoin")&&(this.lineJoin=dA.lineJoin)}},y.prototype.strokeRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");M.call(this)||(this.beginPath(),this.rect(x,z,$,sA),this.stroke())},y.prototype.clearRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,z,$,sA))},y.prototype.save=function(x){x=typeof x!="boolean"||x;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,$=0;$0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};y.prototype.drawImage=function(x,z,$,sA,dA,CA,HA,TA,JA){var le=this.pdf.getImageProperties(x),be=1,Pe=1,Je=1,K=1;sA!==void 0&&TA!==void 0&&(Je=TA/sA,K=JA/dA,be=le.width/sA*TA/sA,Pe=le.height/dA*JA/dA),CA===void 0&&(CA=z,HA=$,z=0,$=0),sA!==void 0&&TA===void 0&&(TA=sA,JA=dA),sA===void 0&&TA===void 0&&(TA=le.width,JA=le.height);var Qe=this.ctx.transform.decompose(),Ft=bA(Qe.rotate.shx),tt=new w,ae=(tt=(tt=(tt=tt.multiply(Qe.translate)).multiply(Qe.skew)).multiply(Qe.scale)).applyToRectangle(new f(CA-z*Je,HA-$*K,sA*be,dA*Pe));if(this.autoPaging){for(var rt,je=_.call(this,ae),et=[],Xe=0;Xeir||Btae||je0)){for(;JA>=0;JA--)if(dA[JA-1].close!==!0&&dA[JA-1].begin!==!0){dA[JA-1].deltas.push($),dA[JA-1].abs.push(TA);break}}break;case"bct":$=[TA.x1-CA[HA-1].x,TA.y1-CA[HA-1].y,TA.x2-CA[HA-1].x,TA.y2-CA[HA-1].y,TA.x-CA[HA-1].x,TA.y-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"qct":var le=CA[HA-1].x+2/3*(TA.x1-CA[HA-1].x),be=CA[HA-1].y+2/3*(TA.y1-CA[HA-1].y),Pe=TA.x+2/3*(TA.x1-TA.x),Je=TA.y+2/3*(TA.y1-TA.y),K=TA.x,Qe=TA.y;$=[le-CA[HA-1].x,be-CA[HA-1].y,Pe-CA[HA-1].x,Je-CA[HA-1].y,K-CA[HA-1].x,Qe-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"arc":dA.push({deltas:[],abs:[],arc:!0}),Array.isArray(dA[dA.length-1].abs)&&dA[dA.length-1].abs.push(TA)}}sA=z?null:x==="stroke"?"stroke":"fill";for(var Ft=!1,tt=0;tt=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale);var Pt=this.autoPaging!=="text";if(Pt||Ge.y+Ge.h<=Xe){if(Pt||Ge.y>=je&&Ge.x<=Ot){var We=Pt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Ot-Ge.x)[0],Rr=iA([JSON.parse(JSON.stringify(Pe))],this.posX+this.margin[3],-_t+je+this.ctx.prevPageLastElemOffset)[0],Yt=Pt&&(rt>tt||rt=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)}}else x.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale),this.pdf.text(x.text,JA.x+this.posX,JA.y+this.posY,{angle:x.angle,align:z,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)},rA=function(x,z,$,sA){$=$||0,sA=sA||0,this.pdf.internal.out(e(x+$)+" "+r(z+sA)+" l")},eA=function(x,z,$){return this.pdf.lines(x,z,$,null,null)},EA=function(x,z,$,sA,dA,CA,HA,TA){this.pdf.internal.out([t(n($+x)),t(s(sA+z)),t(n(dA+x)),t(s(CA+z)),t(n(HA+x)),t(s(TA+z)),"c"].join(" "))},SA=function(x,z,$,sA){for(var dA=2*Math.PI,CA=Math.PI/2;z>$;)z-=dA;var HA=Math.abs($-z);HA1e-5;){var be=le+JA*Math.min(HA,CA);TA.push(OA.call(this,x,le,be)),HA-=Math.abs(be-le),le=be}return TA},OA=function(x,z,$){var sA=($-z)/2,dA=x*Math.cos(sA),CA=x*Math.sin(sA),HA=dA,TA=-CA,JA=HA*HA+TA*TA,le=JA+HA*dA+TA*CA,be=4/3*(Math.sqrt(2*JA*le)-le)/(HA*CA-TA*dA),Pe=HA-be*TA,Je=TA+be*HA,K=Pe,Qe=-Je,Ft=sA+z,tt=Math.cos(Ft),ae=Math.sin(Ft);return{x1:x*Math.cos(z),y1:x*Math.sin(z),x2:Pe*tt-Je*ae,y2:Pe*ae+Je*tt,x3:K*tt-Qe*ae,y3:K*ae+Qe*tt,x4:x*Math.cos($),y4:x*Math.sin($)}},bA=function(x){return 180*x/Math.PI},MA=function(x,z,$,sA,dA,CA){var HA=x+.5*($-x),TA=z+.5*(sA-z),JA=dA+.5*($-dA),le=CA+.5*(sA-CA),be=Math.min(x,dA,HA,JA),Pe=Math.max(x,dA,HA,JA),Je=Math.min(z,CA,TA,le),K=Math.max(z,CA,TA,le);return new f(be,Je,Pe-be,K-Je)},ue=function(x,z,$,sA,dA,CA,HA,TA){var JA,le,be,Pe,Je,K,Qe,Ft,tt,ae,rt,je,et,Xe,ir=$-x,Ot=sA-z,Bt=dA-$,_t=CA-sA,Tt=HA-dA,Ge=TA-CA;for(le=0;le<41;le++)tt=(Qe=(be=x+(JA=le/40)*ir)+JA*((Je=$+JA*Bt)-be))+JA*(Je+JA*(dA+JA*Tt-Je)-Qe),ae=(Ft=(Pe=z+JA*Ot)+JA*((K=sA+JA*_t)-Pe))+JA*(K+JA*(CA+JA*Ge-K)-Ft),le==0?(rt=tt,je=ae,et=tt,Xe=ae):(rt=Math.min(rt,tt),je=Math.min(je,ae),et=Math.max(et,tt),Xe=Math.max(Xe,ae));return new f(Math.round(rt),Math.round(je),Math.round(et-rt),Math.round(Xe-je))},ZA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,z,$=(x=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:z}));this.prevLineDash!==$&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=$)}}})(_e.API),function(A){var t=function(h){var f,w,g,D,y,U,v,M,j,_;for(/[^\x00-\xFF]/.test(h),w=[],g=0,D=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;D>g;g+=4)(y=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(U=(y=((y=((y=((y=(y-(_=y%85))/85)-(j=y%85))/85)-(M=y%85))/85)-(v=y%85))/85)%85,w.push(U+33,v+33,M+33,j+33,_+33)):w.push(122);return function(S,iA){for(var AA=iA;AA>0;AA--)S.pop()}(w,f.length),String.fromCharCode.apply(String,w)+"~>"},e=function(h){var f,w,g,D,y,U=String,v="length",M=255,j="charCodeAt",_="slice",S="replace";for(h[_](-2),h=h[_](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),g=[],D=0,y=(h+=f="uuuuu"[_](h[v]%5||5))[v];y>D;D+=5)w=52200625*(h[j](D)-33)+614125*(h[j](D+1)-33)+7225*(h[j](D+2)-33)+85*(h[j](D+3)-33)+(h[j](D+4)-33),g.push(M&w>>24,M&w>>16,M&w>>8,M&w);return function(iA,AA){for(var W=AA;W>0;W--)iA.pop()}(g,f[v]),U.fromCharCode.apply(U,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var w="",g=0;gj&&(M=_,_=j,j=M);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",j>_&&(M=_,_=j,j=M)}return{width:_,height:j,unit:w,k:y,orientation:f}},A.html=function(f,w){(w=w||{}).callback=w.callback||function(){},w.html2canvas=w.html2canvas||{},w.html2canvas.canvas=w.html2canvas.canvas||this.canvas,w.jsPDF=w.jsPDF||this,w.fontFaces=w.fontFaces?w.fontFaces.map(ri):null;var g=new h(w);return w.worker?g:g.from(f).doCallback()}}(_e.API),_e.API.addJS=function(A){return S0=A,this.internal.events.subscribe("postPutResources",function(){Qs=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Qs+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),L0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+S0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Qs!==void 0&&L0!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var v=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+v+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var w=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+w.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in an&&Array.isArray(an.transparency)&&an.transparency.length>0){for(var zr="",yr=0,Vr=an.transparency.length;yr>",Xt.content=ae;var On=Xt.objId+" 0 R";ae="<>";else if(te.options.pageNumber)switch(ae="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=1};var Se=y.__arabicParser__.arabicLetterHasFinalForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=3};var Ne=y.__arabicParser__.arabicLetterHasMedialForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length==4},tt=y.__arabicParser__.resolveLigatures=function(Xt){var on=0,Ot=x,Hn="",On=0;for(on=0;on>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(y){var E=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(ve){x=ve}});var te=150;Object.defineProperty(this,"width",{get:function(){return te},set:function(ve){te=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?150:ve,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=te+1)}});var re=300;Object.defineProperty(this,"height",{get:function(){return re},set:function(ve){re=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?300:ve,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=re+1)}});var ae=[];Object.defineProperty(this,"childNodes",{get:function(){return ae},set:function(ve){ae=ve}});var we={};Object.defineProperty(this,"style",{get:function(){return we},set:function(ve){we=ve}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(x,te){var re;if((x=x||"2d")!=="2d")return null;for(re in te)this.pdf.context2d.hasOwnProperty(re)&&(this.pdf.context2d[re]=te[re]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ao.API),function(y){var E={left:0,top:0,bottom:0,right:0},x=!1,te=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),re.call(this))},re=function(){this.internal.__cell__.lastCell=new ae,this.internal.__cell__.pages=1},ae=function(){var be=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return be},set:function(Xt){be=Xt}});var Se=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Se},set:function(Xt){Se=Xt}});var Ne=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ne},set:function(Xt){Ne=Xt}});var tt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return tt},set:function(Xt){tt=Xt}});var dt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return dt},set:function(Xt){dt=Xt}});var Oe=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Oe},set:function(Xt){Oe=Xt}});var nn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nn},set:function(Xt){nn=Xt}}),this};ae.prototype.clone=function(){return new ae(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ae.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(be){return te.call(this),this.internal.__cell__.headerFunction=typeof be=="function"?be:void 0,this},y.getTextDimensions=function(be,Se){te.call(this);var Ne=(Se=Se||{}).fontSize||this.getFontSize(),tt=Se.font||this.getFont(),dt=Se.scaleFactor||this.internal.scaleFactor,Oe=0,nn=0,Xt=0,on=this;if(!Array.isArray(be)&&typeof be!="string"){if(typeof be!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");be=String(be)}var Ot=Se.maxWidth;Ot>0?typeof be=="string"?be=this.splitTextToSize(be,Ot):Object.prototype.toString.call(be)==="[object Array]"&&(be=be.reduce(function(On,Bn){return On.concat(on.splitTextToSize(Bn,Ot))},[])):be=Array.isArray(be)?be:[be];for(var Hn=0;Hnthis.getPageHeight()?(this.cellAddPage(),be.y=tt.top,Oe&&dt&&(this.printHeaderRow(be.lineNumber,!0),be.y+=dt[0].height)):be.y=Se.y+Se.height||be.y),be.text[0]!==void 0&&(this.rect(be.x,be.y,be.width,be.height,x===!0?"FD":void 0),be.align==="right"?this.text(be.text,be.x+be.width-Ne,be.y+Ne,{align:"right",baseline:"top"}):be.align==="center"?this.text(be.text,be.x+be.width/2,be.y+Ne,{align:"center",baseline:"top",maxWidth:be.width-Ne-Ne}):this.text(be.text,be.x+Ne,be.y+Ne,{align:"left",baseline:"top",maxWidth:be.width-Ne-Ne})),this.internal.__cell__.lastCell=be,this};y.table=function(be,Se,Ne,tt,dt){if(te.call(this),!Ne)throw new Error("No data for PDF table.");var Oe,nn,Xt,on,Ot=[],Hn=[],On=[],Bn={},Br={},qr=[],_r=[],$n=(dt=dt||{}).autoSize||!1,Cn=dt.printHeaders!==!1,fr=dt.css&&dt.css["font-size"]!==void 0?16*dt.css["font-size"]:dt.fontSize||12,Dt=dt.margins||Object.assign({width:this.getPageWidth()},E),an=typeof dt.padding=="number"?dt.padding:3,Mn=dt.headerBackgroundColor||"#c8c8c8",Nn=dt.headerTextColor||"#000";if(re.call(this),this.internal.__cell__.printHeaders=Cn,this.internal.__cell__.margins=Dt,this.internal.__cell__.table_font_size=fr,this.internal.__cell__.padding=an,this.internal.__cell__.headerBackgroundColor=Mn,this.internal.__cell__.headerTextColor=Nn,this.setFontSize(fr),tt==null)Hn=Ot=Object.keys(Ne[0]),On=Ot.map(function(){return"left"});else if(Array.isArray(tt)&&(0,oe.Z)(tt[0])==="object")for(Ot=tt.map(function(Ei){return Ei.name}),Hn=tt.map(function(Ei){return Ei.prompt||Ei.name||""}),On=tt.map(function(Ei){return Ei.align||"left"}),Oe=0;Oe0&&this.setTableHeaderRow(dt),this.setFont(void 0,"normal"),x=!1}}(ao.API);var bA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],GA=$a(lc),rl=[100,200,300,400,500,600,700,800,900],Mf=$a(rl);function Wl(y){var E=y.family.replace(/"|'/g,"").toLowerCase(),x=function(ae){return bA[ae=ae||"normal"]?ae:"normal"}(y.style),te=function(ae){return ae?typeof ae=="number"?ae>=100&&ae<=900&&ae%100==0?ae:400:/^\d00$/.test(ae)?parseInt(ae):ae==="bold"?700:400:400}(y.weight),re=function(ae){return typeof GA[ae=ae||"normal"]=="number"?ae:"normal"}(y.stretch);return{family:E,style:x,weight:te,stretch:re,src:y.src||[],ref:y.ref||{name:E,style:[re,x,te].join(" ")}}}function uc(y,E,x,te){var re;for(re=x;re>=0&&re=0&&re>>1)&255}return re}function T0(y,E,x){var te=y.length,re=[];re[0]=4;for(var ae=0;ae>ae&we}function Q0(y,E,x,te){var re=x*te,ae=Math.floor(re/8),we=16-(re-8*ae+te),ve=(1<>8&255;Se.setUint8(Ne,dt)}})(y,ae,M0(y,ae)&~(ve<>7,we=1<<1+(7&re);y[E++],y[E++];var ve=null,be=null;ae&&(ve=E,be=we,E+=3*we);var Se=!0,Ne=[],tt=0,dt=null,Oe=0,nn=null;for(this.width=x,this.height=te;Se&&E=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}break;case 249:if(y[E++]!==4||y[E+4]!==0)throw new Error("Invalid graphics extension block.");var Xt=y[E++];tt=y[E++]|y[E++]<<8,dt=y[E++],1&Xt||(dt=null),Oe=Xt>>2&7,E++;break;case 254:for(;;){if(!((Dt=y[E++])>=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}break;default:throw new Error("Unknown graphic control label: 0x"+y[E-1].toString(16))}break;case 44:var on=y[E++]|y[E++]<<8,Ot=y[E++]|y[E++]<<8,Hn=y[E++]|y[E++]<<8,On=y[E++]|y[E++]<<8,Bn=y[E++],Br=Bn>>6&1,qr=1<<1+(7&Bn),_r=ve,$n=be,Cn=!1;Bn>>7&&(Cn=!0,_r=E,$n=qr,E+=3*qr);var fr=E;for(E++;;){var Dt;if(!((Dt=y[E++])>=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}Ne.push({x:on,y:Ot,width:Hn,height:On,has_local_palette:Cn,palette_offset:_r,palette_size:$n,data_offset:fr,data_length:E-fr,transparent_index:dt,interlaced:!!Br,delay:tt,disposal:Oe});break;case 59:Se=!1;break;default:throw new Error("Unknown gif block: 0x"+y[E-1].toString(16))}this.numFrames=function(){return Ne.length},this.loopCount=function(){return nn},this.frameInfo=function(an){if(an<0||an>=Ne.length)throw new Error("Frame index out of range.");return Ne[an]},this.decodeAndBlitFrameBGRA=function(an,Mn){var Nn=this.frameInfo(an),Sr=Nn.width*Nn.height,Hr=new Uint8Array(Sr);k0(y,Nn.data_offset,Hr,Sr);var zr=Nn.palette_offset,yr=Nn.transparent_index;yr===null&&(yr=256);var Vr=Nn.width,Ei=x-Vr,ui=Vr,Ft=4*(Nn.y*x+Nn.x),wn=4*((Nn.y+Nn.height)*x+Nn.x),In=Ft,jn=4*Ei;Nn.interlaced===!0&&(jn+=4*x*7);for(var rr=8,mr=0,Rr=Hr.length;mr=wn&&(jn=4*Ei+4*x*(rr-1),In=Ft+(Vr+Ei)*(rr<<1),rr>>=1)),Wr===yr)In+=4;else{var oi=y[zr+3*Wr],bi=y[zr+3*Wr+1],Ri=y[zr+3*Wr+2];Mn[In++]=Ri,Mn[In++]=bi,Mn[In++]=oi,Mn[In++]=255}--ui}},this.decodeAndBlitFrameRGBA=function(an,Mn){var Nn=this.frameInfo(an),Sr=Nn.width*Nn.height,Hr=new Uint8Array(Sr);k0(y,Nn.data_offset,Hr,Sr);var zr=Nn.palette_offset,yr=Nn.transparent_index;yr===null&&(yr=256);var Vr=Nn.width,Ei=x-Vr,ui=Vr,Ft=4*(Nn.y*x+Nn.x),wn=4*((Nn.y+Nn.height)*x+Nn.x),In=Ft,jn=4*Ei;Nn.interlaced===!0&&(jn+=4*x*7);for(var rr=8,mr=0,Rr=Hr.length;mr=wn&&(jn=4*Ei+4*x*(rr-1),In=Ft+(Vr+Ei)*(rr<<1),rr>>=1)),Wr===yr)In+=4;else{var oi=y[zr+3*Wr],bi=y[zr+3*Wr+1],Ri=y[zr+3*Wr+2];Mn[In++]=oi,Mn[In++]=bi,Mn[In++]=Ri,Mn[In++]=255}--ui}}}function k0(y,E,x,te){for(var re=y[E++],ae=1<>=be,Ne-=be,on!==ae){if(on===we)break;for(var Ot=onae;)On=nn[On]>>8,++Hn;var Bn=On;if(dt+Hn+(Ot!==on?1:0)>te)return void Pa.log("Warning, gif stream longer than expected.");x[dt++]=Bn;var Br=dt+=Hn;for(Ot!==on&&(x[dt++]=Bn),On=Ot;Hn--;)On=nn[On],x[--Br]=255&On,On>>=8;Xt!==null&&ve<4096&&(nn[ve++]=Xt<<8|Bn,ve>=Se+1&&be<12&&(++be,Se=Se<<1|1)),Xt=on}else ve=we+1,Se=(1<<(be=re+1))-1,Xt=null}return dt!==te&&Pa.log("Warning, gif stream shorter than expected."),x}function Km(y){var E,x,te,re,ae,we=Math.floor,ve=new Array(64),be=new Array(64),Se=new Array(64),Ne=new Array(64),tt=new Array(65535),dt=new Array(65535),Oe=new Array(64),nn=new Array(64),Xt=[],on=0,Ot=7,Hn=new Array(64),On=new Array(64),Bn=new Array(64),Br=new Array(256),qr=new Array(2048),_r=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],$n=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Cn=[0,1,2,3,4,5,6,7,8,9,10,11],fr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],an=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Mn=[0,1,2,3,4,5,6,7,8,9,10,11],Nn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Sr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hr(Ft,wn){for(var In=0,jn=0,rr=new Array,mr=1;mr<=16;mr++){for(var Rr=1;Rr<=Ft[mr];Rr++)rr[wn[jn]]=[],rr[wn[jn]][0]=In,rr[wn[jn]][1]=mr,jn++,In++;In*=2}return rr}function zr(Ft){for(var wn=Ft[0],In=Ft[1]-1;In>=0;)wn&1<>8&255),yr(255&Ft)}function Ei(Ft,wn,In,jn,rr){for(var mr,Rr=rr[0],Wr=rr[240],oi=function(vi,Ho){var no,Mo,Uo,is,Ta,oa,Ha,Qa,ho,ca,xo=0;for(ho=0;ho<8;++ho){no=vi[xo],Mo=vi[xo+1],Uo=vi[xo+2],is=vi[xo+3],Ta=vi[xo+4],oa=vi[xo+5],Ha=vi[xo+6];var fA=no+(Qa=vi[xo+7]),Wa=no-Qa,Ea=Mo+Ha,Fa=Mo-Ha,Ns=Uo+oa,No=Uo-oa,ms=is+Ta,Go=is-Ta,aa=fA+ms,Ps=fA-ms,La=Ea+Ns,jo=Ea-Ns;vi[xo]=aa+La,vi[xo+4]=aa-La;var os=.707106781*(jo+Ps);vi[xo+2]=Ps+os,vi[xo+6]=Ps-os;var Nh=.382683433*((aa=Go+No)-(jo=Fa+Wa)),wl=.5411961*aa+Nh,Hf=1.306562965*jo+Nh,$c=.707106781*(La=No+Fa),zo=Wa+$c,_f=Wa-$c;vi[xo+5]=_f+wl,vi[xo+3]=_f-wl,vi[xo+1]=zo+Hf,vi[xo+7]=zo-Hf,xo+=8}for(xo=0,ho=0;ho<8;++ho){no=vi[xo],Mo=vi[xo+8],Uo=vi[xo+16],is=vi[xo+24],Ta=vi[xo+32],oa=vi[xo+40],Ha=vi[xo+48];var Rf=no+(Qa=vi[xo+56]),Mu=no-Qa,ku=Mo+Ha,Ys=Mo-Ha,VA=Uo+oa,il=Uo-oa,Ph=is+Ta,Nd=is-Ta,hc=Rf+Ph,qc=Rf-Ph,pc=ku+VA,gc=ku-VA;vi[xo]=hc+pc,vi[xo+32]=hc-pc;var Hu=.707106781*(gc+qc);vi[xo+16]=qc+Hu,vi[xo+48]=qc-Hu;var Th=.382683433*((hc=Nd+il)-(gc=Ys+Mu)),ef=.5411961*hc+Th,Qh=1.306562965*gc+Th,Mp=.707106781*(pc=il+Ys),kp=Mu+Mp,Hp=Mu-Mp;vi[xo+40]=Hp+ef,vi[xo+24]=Hp-ef,vi[xo+8]=kp+Qh,vi[xo+56]=kp-Qh,xo++}for(ho=0;ho<64;++ho)ca=vi[ho]*Ho[ho],Oe[ho]=ca>0?ca+.5|0:ca-.5|0;return Oe}(Ft,wn),bi=0;bi<64;++bi)nn[_r[bi]]=oi[bi];var Ri=nn[0]-In;In=nn[0],Ri==0?zr(jn[0]):(zr(jn[dt[mr=32767+Ri]]),zr(tt[mr]));for(var ki=63;ki>0&&nn[ki]==0;)ki--;if(ki==0)return zr(Rr),In;for(var Io,sn=1;sn<=ki;){for(var ji=sn;nn[sn]==0&&sn<=ki;)++sn;var Ca=sn-ji;if(Ca>=16){Io=Ca>>4;for(var ko=1;ko<=Io;++ko)zr(Wr);Ca&=15}mr=32767+nn[sn],zr(rr[(Ca<<4)+dt[mr]]),zr(tt[mr]),sn++}return ki!=63&&zr(Rr),In}function ui(Ft){Ft=Math.min(Math.max(Ft,1),100),ae!=Ft&&(function(wn){for(var In=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],jn=0;jn<64;jn++){var rr=we((In[jn]*wn+50)/100);rr=Math.min(Math.max(rr,1),255),ve[_r[jn]]=rr}for(var mr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Rr=0;Rr<64;Rr++){var Wr=we((mr[Rr]*wn+50)/100);Wr=Math.min(Math.max(Wr,1),255),be[_r[Rr]]=Wr}for(var oi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],bi=0,Ri=0;Ri<8;Ri++)for(var ki=0;ki<8;ki++)Se[bi]=1/(ve[_r[bi]]*oi[Ri]*oi[ki]*8),Ne[bi]=1/(be[_r[bi]]*oi[Ri]*oi[ki]*8),bi++}(Ft<50?Math.floor(5e3/Ft):Math.floor(200-2*Ft)),ae=Ft)}this.encode=function(Ft,wn){wn&&ui(wn),Xt=new Array,on=0,Ot=7,Vr(65496),Vr(65504),Vr(16),yr(74),yr(70),yr(73),yr(70),yr(0),yr(1),yr(1),yr(0),Vr(1),Vr(1),yr(0),yr(0),function(){Vr(65499),Vr(132),yr(0);for(var Mo=0;Mo<64;Mo++)yr(ve[Mo]);yr(1);for(var Uo=0;Uo<64;Uo++)yr(be[Uo])}(),function(Mo,Uo){Vr(65472),Vr(17),yr(8),Vr(Uo),Vr(Mo),yr(3),yr(1),yr(17),yr(0),yr(2),yr(17),yr(1),yr(3),yr(17),yr(1)}(Ft.width,Ft.height),function(){Vr(65476),Vr(418),yr(0);for(var Mo=0;Mo<16;Mo++)yr($n[Mo+1]);for(var Uo=0;Uo<=11;Uo++)yr(Cn[Uo]);yr(16);for(var is=0;is<16;is++)yr(fr[is+1]);for(var Ta=0;Ta<=161;Ta++)yr(Dt[Ta]);yr(1);for(var oa=0;oa<16;oa++)yr(an[oa+1]);for(var Ha=0;Ha<=11;Ha++)yr(Mn[Ha]);yr(17);for(var Qa=0;Qa<16;Qa++)yr(Nn[Qa+1]);for(var ho=0;ho<=161;ho++)yr(Sr[ho])}(),Vr(65498),Vr(12),yr(3),yr(1),yr(0),yr(2),yr(17),yr(3),yr(17),yr(0),yr(63),yr(0);var In=0,jn=0,rr=0;on=0,Ot=7,this.encode.displayName="_encode_";for(var mr,Rr,Wr,oi,bi,Ri,ki,Io,sn,ji=Ft.data,Ca=Ft.width,ko=Ft.height,vi=4*Ca,Ho=0;Ho>3)*vi+(ki=4*(7&sn)),Ho+Io>=ko&&(Ri-=vi*(Ho+1+Io-ko)),mr+ki>=vi&&(Ri-=mr+ki-vi+4),Rr=ji[Ri++],Wr=ji[Ri++],oi=ji[Ri++],Hn[sn]=(qr[Rr]+qr[Wr+256|0]+qr[oi+512|0]>>16)-128,On[sn]=(qr[Rr+768|0]+qr[Wr+1024|0]+qr[oi+1280|0]>>16)-128,Bn[sn]=(qr[Rr+1280|0]+qr[Wr+1536|0]+qr[oi+1792|0]>>16)-128;In=Ei(Hn,Se,In,E,te),jn=Ei(On,Ne,jn,x,re),rr=Ei(Bn,Ne,rr,x,re),mr+=32}Ho+=8}if(Ot>=0){var no=[];no[1]=Ot+1,no[0]=(1<an;an++)if(Cn[fr+an]!=Dt.charCodeAt(an))return!0;return!1}function te(Cn,fr,Dt,an,Mn){for(var Nn=0;NnNn+1?[]:new fr),!(Sr.length>>0;se&Ue;)Ue>>>=1;return Ue?(se&Ue-1)+Ue:se}function Dt(se,ge,Ue,ke,st){E(!(ke%Ue));do se[ge+(ke-=Ue)]=st;while(0=st),512>=st)var yt=ae(512);else if((yt=ae(st))==null)return 0;return function(xt,Pt,Gt,cn,Yn,br){var fn,nr,hr=Pt,$r=1<fn;++fn){if(vr[fn]>1<(pa-=vr[fn]))return 0;for(;0=fn;++fn,Yn<<=1){if(qi+=pa<<=1,0>(pa-=vr[fn]))return 0;for(;0wi&&!(0>=(ii-=vr[wi]));)++wi,ii<<=1;$r+=so=1<<(ii=wi-Gt),xt[Pt+(wi=wo&di)].g=ii+Gt,xt[Pt+wi].value=hr-Pt-wi}cn.g=fn-Gt,cn.value=br[nr++],Dt(xt,hr+(wo>>Gt),Yn,so,cn),wo=fr(wo,fn)}}return qi!=2*ei[15]-1?0:$r}(se,ge,Ue,ke,st,yt)}function Mn(){this.value=this.g=0}function Nn(){this.value=this.g=0}function Sr(){this.G=we(5,Mn),this.H=ae(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=we(Vh,Nn)}function Hr(se,ge,Ue,ke){E(se!=null),E(ge!=null),E(2147483648>ke),se.Ca=254,se.I=0,se.b=-8,se.Ka=0,se.oa=ge,se.pa=Ue,se.Jd=ge,se.Yc=Ue+ke,se.Zc=4<=ke?Ue+ke-4+1:Ue,Rr(se)}function zr(se,ge){for(var Ue=0;0ke),se.Sb=ke,se.Ra=0,se.u=0,se.h=0,4>>=8,se.Ra+=se.oa[se.pa+se.bb]<>>0,++se.bb,se.u-=8;jn(se)&&(se.h=1,se.u=0)}function ui(se,ge){if(E(0<=ge),!se.h&&ge<=uu){var Ue=In(se)&lu[ge];return se.u+=ge,Ei(se),Ue}return se.h=1,se.u=0}function Ft(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function wn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function In(se){return se.Ra>>>(se.u&Md-1)>>>0}function jn(se){return E(se.bb<=se.Sb),se.h||se.bb==se.Sb&&se.u>Md}function rr(se,ge){se.u=ge,se.h=jn(se)}function mr(se){se.u>=$f&&(E(se.u>=$f),Ei(se))}function Rr(se){E(se!=null&&se.oa!=null),se.pa>>0,se.b+=8):(E(se!=null&&se.oa!=null),se.pase.b&&Rr(se);var ke=se.b,st=Ue*ge>>>8,yt=(se.I>>>ke>st)+0;for(yt?(Ue-=st,se.I-=st+1<>>0):Ue=st+1,ke=Ue,st=0;256<=ke;)st+=8,ke>>=8;return ke=7^st+kd[ke],se.b-=ke,se.Ca=(Ue<>24&255,se[ge+1]=Ue>>16&255,se[ge+2]=Ue>>8&255,se[ge+3]=255&Ue}function Ri(se,ge){return se[ge+0]|se[ge+1]<<8}function ki(se,ge){return Ri(se,ge)|se[ge+2]<<16}function Io(se,ge){return Ri(se,ge)|Ri(se,ge+2)<<16}function sn(se,ge){var Ue=1<=st||0>=yt?0:(Ue[0]=st,ke[0]=yt,1)}function vi(se,ge){return se+(1<>>ge}function Ho(se,ge){return((4278255360&se)+(4278255360&ge)>>>0&4278255360)+((16711935&se)+(16711935&ge)>>>0&16711935)>>>0}function no(se,ge){Cn[ge]=function(Ue,ke,st,yt,xt,Pt,Gt){var cn;for(cn=0;cn>>1)+(se&ge)>>>0}function is(se){return 0<=se&&256>se?se:0>se?0:255>1))}function oa(se,ge,Ue){return Math.abs(ge-Ue)-Math.abs(se-Ue)}function Ha(se,ge,Ue,ke,st,yt,xt){for(ke=yt[xt-1],Ue=0;Ue>8&255,Gt=16711935&(Gt=(Gt=16711935&xt)+((Pt<<16)+Pt));ke[st+yt]=(4278255360&xt)+Gt>>>0}}function ho(se,ge){ge.jd=255&se,ge.hd=se>>8&255,ge.ud=se>>16&255}function ca(se,ge,Ue,ke,st,yt){var xt;for(xt=0;xt>>8,cn=Pt,Yn=255&(Yn=(Yn=Pt>>>16)+((se.jd<<24>>24)*(Gt<<24>>24)>>>5));cn=255&(cn=(cn+=(se.hd<<24>>24)*(Gt<<24>>24)>>>5)+((se.ud<<24>>24)*(Yn<<24>>24)>>>5)),st[yt+xt]=(4278255360&Pt)+(Yn<<16)+cn}}function xo(se,ge,Ue,ke,st){Cn[ge]=function(yt,xt,Pt,Gt,cn,Yn,br,fn,nr){for(Gt=br;Gt>yt.b,nr=yt.Ea,hr=yt.K[0],$r=yt.w;if(8>fn)for(yt=(1<>=fn}else Cn["VP8LMapColor"+Ue](Gt,cn,hr,$r,Yn,br,xt,Pt,nr)}}function fA(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&255,ke[st++]=yt>>8&255,ke[st++]=255&yt}}function Wa(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&255,ke[st++]=yt>>8&255,ke[st++]=255&yt,ke[st++]=yt>>24&255}}function Ea(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&240|xt>>12&15,xt=240&xt|xt>>28&15;ke[st++]=yt,ke[st++]=xt}}function Fa(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&248|xt>>13&7,xt=xt>>5&224|xt>>3&31;ke[st++]=yt,ke[st++]=xt}}function Ns(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>8&255,ke[st++]=yt>>16&255}}function No(se,ge,Ue,ke,st,yt){if(yt==0)for(Ue=ge+Ue;ge>24|yt[1]>>8&65280|yt[2]<<8&16711680|yt[3]<<24)>>>0),st+=32;else te(ke,st,se,ge,Ue)}function ms(se,ge){Cn[ge][0]=Cn[se+"0"],Cn[ge][1]=Cn[se+"1"],Cn[ge][2]=Cn[se+"2"],Cn[ge][3]=Cn[se+"3"],Cn[ge][4]=Cn[se+"4"],Cn[ge][5]=Cn[se+"5"],Cn[ge][6]=Cn[se+"6"],Cn[ge][7]=Cn[se+"7"],Cn[ge][8]=Cn[se+"8"],Cn[ge][9]=Cn[se+"9"],Cn[ge][10]=Cn[se+"10"],Cn[ge][11]=Cn[se+"11"],Cn[ge][12]=Cn[se+"12"],Cn[ge][13]=Cn[se+"13"],Cn[ge][14]=Cn[se+"0"],Cn[ge][15]=Cn[se+"0"]}function Go(se){return se==u0||se==c0||se==Im||se==f0}function aa(){this.eb=[],this.size=this.A=this.fb=0}function Ps(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function La(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new aa,this.f.kb=new Ps,this.sd=null}function jo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function os(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Nh(se){return alert("todo:WebPSamplerProcessPlane"),se.T}function wl(se,ge){var Ue=se.T,ke=ge.ba.f.RGBA,st=ke.eb,yt=ke.fb+se.ka*ke.A,xt=Ku[ge.ba.S],Pt=se.y,Gt=se.O,cn=se.f,Yn=se.N,br=se.ea,fn=se.W,nr=ge.cc,hr=ge.dc,$r=ge.Mc,vr=ge.Nc,ei=se.ka,ii=se.ka+se.T,wi=se.U,di=wi+1>>1;for(ei==0?xt(Pt,Gt,null,null,cn,Yn,br,fn,cn,Yn,br,fn,st,yt,null,null,wi):(xt(ge.ec,ge.fc,Pt,Gt,nr,hr,$r,vr,cn,Yn,br,fn,st,yt-ke.A,st,yt,wi),++Ue);ei+2Ue,st=Ue==Sm||Ue==Em||Ue==Fm||Ue==l0||Ue==12||Go(Ue);if(ge.memory=null,ge.Ib=null,ge.Jb=null,ge.Nd=null,!Qg(ge.Oa,se,st?11:12))return 0;if(st&&Go(Ue)&&Ng(),se.da)alert("todo:use_scaling");else{if(ke){if(ge.Ib=Nh,se.Kb){if(Ue=se.U+1>>1,ge.memory=ae(se.U+2*Ue),ge.memory==null)return 0;ge.ec=ge.memory,ge.fc=0,ge.cc=ge.ec,ge.dc=ge.fc+se.U,ge.Mc=ge.cc,ge.Nc=ge.dc+Ue,ge.Ib=wl,Ng()}}else alert("todo:EmitYUV");st&&(ge.Jb=Hf,ke&&vc())}if(ke&&!dv){for(se=0;256>se;++se)f1[se]=89858*(se-128)+Um>>Lm,p1[se]=-22014*(se-128)+Um,h1[se]=-45773*(se-128),d1[se]=113618*(se-128)+Um>>Lm;for(se=Gg;se>Lm,g1[se-Gg]=tf(ge,255),m1[se-Gg]=tf(ge+8>>4,15);dv=1}return 1}function zo(se){var ge=se.ma,Ue=se.U,ke=se.T;return E(!(1&se.ka)),0>=Ue||0>=ke?0:(Ue=ge.Ib(se,ge),ge.Jb!=null&&ge.Jb(se,ge,Ue),ge.Dc+=Ue,1)}function _f(se){se.ma.memory=null}function Rf(se,ge,Ue,ke){return ui(se,8)!=47?0:(ge[0]=ui(se,14)+1,Ue[0]=ui(se,14)+1,ke[0]=ui(se,1),ui(se,3)!=0?0:!se.h)}function Mu(se,ge){if(4>se)return se+1;var Ue=se-2>>1;return(2+(1&se)<>4)*se+(8-(15&Ue)))?Ue:1;var Ue}function Ys(se,ge,Ue){var ke=In(Ue),st=se[ge+=255&ke].g-8;return 0>>0,E(8>=Ue.g),se.g}function il(se,ge,Ue){var ke=se.xc;return E((ge=ke==0?0:se.vc[se.md*(Ue>>ke)+(ge>>ke)])>so.b)*qi;$rwi&&(Ao=wi),(0,_g[_a[TA++]>>8&15])(fn,nr+ +ga,ei,ii+ga-wi,Ao-ga,ei,ii+ga),ga=Ao}nr+=wi,ii+=wi,++$r&wo||(so+=qi)}br!=cn.nc&&te(Gt,Pt-hr,Gt,Pt+(br-Yn-1)*hr,hr);break;case 1:for(hr=fn,vr=nr,wi=(fn=cn.Ea)-(ii=fn&~(ei=(nr=1<>cn.b)*$r;Yn=st),0yt.o&&(ke=yt.o),Ue=ke?Ue=0:(st[0]+=4*yt.v,yt.ka=Ue-yt.j,yt.U=yt.va-yt.v,yt.T=ke-Ue,Ue=1),Ue){if(Pt=Pt[0],11>(Ue=se.ca).S){var Yn=Ue.f.RGBA,br=(ke=Ue.S,st=yt.U,yt=yt.T,cn=Yn.eb,Yn.A),fn=yt;for(Yn=Yn.fb+se.Ma*Yn.A;0ke){var st=se.l.width,yt=Ue.ca,xt=Ue.tb+st*ke,Pt=se.V,Gt=se.Ba+se.c*ke,cn=se.gc;E(se.ab==1),E(cn[0].hc==3),af(cn[0],ke,ge,Pt,Gt,yt,xt),qc(Ue,ke,ge,yt,xt,st)}se.C=se.Ma=ge}function gc(se,ge,Ue,ke,st,yt,xt){var Pt=se.$/ke,Gt=se.$%ke,cn=se.m,Yn=se.s,br=Ue+se.$,fn=br;st=Ue+ke*st;var nr=Ue+ke*yt,hr=280+Yn.ua,$r=se.Pb?Pt:16777216,vr=0=$r){var wo=br-Ue;E(($r=se).Pb),$r.wd=$r.m,$r.xd=wo,0<$r.s.ua&&ji($r.s.Wa,$r.s.vb),$r=Pt+e1}if(Gt&ei||(ii=il(Yn,Gt,Pt)),E(ii!=null),ii.Qb&&(ge[br]=ii.qb,wi=!0),!wi)if(mr(cn),ii.jc){di=cn,wo=ge;var qi=br,pa=ii.pd[In(di)&Vh-1];E(ii.jc),256>pa.g?(rr(di,di.u+pa.g),wo[qi]=pa.value,di=0):(rr(di,di.u+pa.g-256),E(256<=pa.value),di=pa.value),di==0&&(wi=!0)}else di=Ys(ii.G[0],ii.H[0],cn);if(cn.h)break;if(wi||256>di){if(!wi)if(ii.nd)ge[br]=(ii.qb|di<<8)>>>0;else{if(mr(cn),wi=Ys(ii.G[1],ii.H[1],cn),mr(cn),wo=Ys(ii.G[2],ii.H[2],cn),qi=Ys(ii.G[3],ii.H[3],cn),cn.h)break;ge[br]=(qi<<24|wi<<16|di<<8|wo)>>>0}if(wi=!1,++br,++Gt>=ke&&(Gt=0,++Pt,xt!=null&&Pt<=yt&&!(Pt%16)&&xt(se,Pt),vr!=null))for(;fn>>vr.Mb]=di}else if(280>di){if(di=Mu(di-256,cn),wo=Ys(ii.G[4],ii.H[4],cn),mr(cn),wo=ku(ke,wo=Mu(wo,cn)),cn.h)break;if(br-Ue=ke;)Gt-=ke,++Pt,xt!=null&&Pt<=yt&&!(Pt%16)&&xt(se,Pt);if(E(br<=st),Gt&ei&&(ii=il(Yn,Gt,Pt)),vr!=null)for(;fn>>vr.Mb]=di}else{if(!(di>>vr.Mb]=di;di=br,E(!(wi>>>(wo=vr).Xa)),ge[di]=wo.X[wi],wi=!0}wi||E(cn.h==jn(cn))}if(se.Pb&&cn.h&&bryt?yt:Pt),se.a=0,se.$=br-Ue}return 1}return se.a=3,0}function Hu(se){E(se!=null),se.vc=null,se.yc=null,se.Ya=null;var ge=se.Wa;ge!=null&&(ge.X=null),se.vb=null,E(se!=null)}function Th(){var se=new Jo;return se==null?null:(se.a=0,se.xb=sv,ms("Predictor","VP8LPredictors"),ms("Predictor","VP8LPredictors_C"),ms("PredictorAdd","VP8LPredictorsAdd"),ms("PredictorAdd","VP8LPredictorsAdd_C"),dA=Qa,Rg=ca,jg=fA,Hd=Wa,_d=Ea,Rd=Fa,Zh=Ns,Cn.VP8LMapColor32b=of,Cn.VP8LMapColor8b=Hg,se)}function ef(se,ge,Ue,ke,st){var yt=1,xt=[se],Pt=[ge],Gt=ke.m,cn=ke.s,Yn=null,br=0;e:for(;;){if(Ue)for(;yt&&ui(Gt,1);){var fn=xt,nr=Pt,hr=ke,$r=1,vr=hr.m,ei=hr.gc[hr.ab],ii=ui(vr,2);if(hr.Oc&1<=hr.ab),ii){case 0:case 1:ei.b=ui(vr,3)+2,$r=ef(vi(ei.Ea,ei.b),vi(ei.nc,ei.b),0,hr,ei.K),ei.K=ei.K[0];break;case 3:var wi,di=ui(vr,8)+1,wo=16>so.b),TA=ae(_a);if(TA==null)wi=0;else{var ga=so.K[0],Ao=so.w;for(TA[0]=so.K[0][0],qi=1;qi<1*pa;++qi)TA[qi]=Ho(ga[Ao+qi],TA[qi-1]);for(;qi<4*_a;++qi)TA[qi]=0;so.K[0]=null,so.K[0]=TA,wi=1}}$r=wi;break;case 2:break;default:E(0)}yt=$r}}if(xt=xt[0],Pt=Pt[0],yt&&ui(Gt,1)&&!(yt=1<=(br=ui(Gt,4))&&11>=br)){ke.a=3;break e}var Ni;if(Ni=yt)t:{var pA,sa,za,Fs=ke,sl=xt,Ql=Pt,Js=br,bl=Ue,Ml=Fs.m,QA=Fs.s,Ga=[null],ss=1,$s=0,As=qv[Js];n:for(;;){if(bl&&ui(Ml,1)){var Al=ui(Ml,3)+2,wc=vi(sl,Al),gA=vi(Ql,Al),Kl=wc*gA;if(!ef(wc,gA,0,Fs,Ga))break n;for(Ga=Ga[0],QA.xc=Al,pA=0;pA>8&65535;Ga[pA]=hs,hs>=ss&&(ss=hs+1)}}if(Ml.h)break n;for(sa=0;5>sa;++sa){var MA=ov[sa];!sa&&0=kl),hu=du;var Gl=ae($s);if(hu==null||Gl==null||fu==null){Fs.a=1;break n}var pu=fu;for(pA=za=0;pAsa;++sa){MA=ov[sa],gu[sa]=pu,bc[sa]=za,!sa&&0Qm)break r}else v0=Qm;for(Zg=0;ZgXp)wv[Zg++]=Xp,Xp!=0&&(bv=Xp);else{var F1=Xp==16,xv=Xp-16,I1=Xv[xv],Sv=ui(Gd,Zv[xv])+I1;if(Zg+Sv>Qm)break r;for(var L1=F1?bv:0;0=sa){var Xg,w0=Gl[0];for(Xg=1;Xgw0&&(w0=Gl[Xg]);ll+=w0}}if(ys.nd=td,ys.Qb=0,td&&(ys.qb=(gu[3][bc[3]+0].value<<24|gu[1][bc[1]+0].value<<16|gu[2][bc[2]+0].value)>>>0,Yh==0&&256>gu[0][bc[0]+0].value&&(ys.Qb=1,ys.qb+=gu[0][bc[0]+0].value<<8)),ys.jc=!ys.Qb&&6>ll,ys.jc){var Mm,nd=ys;for(Mm=0;Mm>=VA(km,8,Zd),Vd>>=VA(nd.G[1][nd.H[1]+Vd],16,Zd),Vd>>=VA(nd.G[2][nd.H[2]+Vd],0,Zd),VA(nd.G[3][nd.H[3]+Vd],24,Zd))}}}QA.vc=Ga,QA.Wb=ss,QA.Ya=hu,QA.yc=fu,Ni=1;break t}Ni=0}if(!(yt=Ni)){ke.a=3;break e}if(0ke+1?[]:0),!(st.lengthse?0:se>ge?ge:se}function _p(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var se=new Am;return se!=null&&(se.a=0,se.sc="OK",se.cb=0,se.Xb=0,Kg||(Kg=Rp)),se}function BA(se,ge,Ue){return se.a==0&&(se.a=ge,se.sc=Ue,se.cb=0),0}function lm(se,ge,Ue){return 3<=Ue&&se[ge+0]==157&&se[ge+1]==1&&se[ge+2]==42}function nf(se,ge){if(se==null)return 0;if(se.a=0,se.sc="OK",ge==null)return BA(se,2,"null VP8Io passed to VP8GetHeaders()");var Ue=ge.data,ke=ge.w,st=ge.ha;if(4>st)return BA(se,7,"Truncated header.");var yt=Ue[ke+0]|Ue[ke+1]<<8|Ue[ke+2]<<16,xt=se.Od;if(xt.Rb=!(1&yt),xt.td=yt>>1&7,xt.yd=yt>>4&1,xt.ub=yt>>5,3st)return BA(se,7,"cannot parse picture header");if(!lm(Ue,ke,st))return BA(se,3,"Bad code word");Pt.c=16383&(Ue[ke+4]<<8|Ue[ke+3]),Pt.Td=Ue[ke+4]>>6,Pt.i=16383&(Ue[ke+6]<<8|Ue[ke+5]),Pt.Ud=Ue[ke+6]>>6,ke+=7,st-=7,se.za=Pt.c+15>>4,se.Ub=Pt.i+15>>4,ge.width=Pt.c,ge.height=Pt.i,ge.Da=0,ge.j=0,ge.v=0,ge.va=ge.width,ge.o=ge.height,ge.da=0,ge.ib=ge.width,ge.hb=ge.height,ge.U=ge.width,ge.T=ge.height,re((yt=se.Pa).jb,0,255,yt.jb.length),E((yt=se.Qa)!=null),yt.Cb=0,yt.Bb=0,yt.Fb=1,re(yt.Zb,0,0,yt.Zb.length),re(yt.Lb,0,0,yt.Lb)}if(xt.ub>st)return BA(se,7,"bad partition length");Hr(yt=se.m,Ue,ke,xt.ub),ke+=xt.ub,st-=xt.ub,xt.Rb&&(Pt.Ld=Wr(yt),Pt.Kd=Wr(yt)),Pt=se.Qa;var Gt,cn=se.Pa;if(E(yt!=null),E(Pt!=null),Pt.Cb=Wr(yt),Pt.Cb){if(Pt.Bb=Wr(yt),Wr(yt)){for(Pt.Fb=Wr(yt),Gt=0;4>Gt;++Gt)Pt.Zb[Gt]=Wr(yt)?yr(yt,7):0;for(Gt=0;4>Gt;++Gt)Pt.Lb[Gt]=Wr(yt)?yr(yt,6):0}if(Pt.Bb)for(Gt=0;3>Gt;++Gt)cn.jb[Gt]=Wr(yt)?zr(yt,8):255}else Pt.Bb=0;if(yt.Ka)return BA(se,3,"cannot parse segment header");if((Pt=se.ed).zd=Wr(yt),Pt.Tb=zr(yt,6),Pt.wb=zr(yt,3),Pt.Pc=Wr(yt),Pt.Pc&&Wr(yt)){for(cn=0;4>cn;++cn)Wr(yt)&&(Pt.vd[cn]=yr(yt,6));for(cn=0;4>cn;++cn)Wr(yt)&&(Pt.od[cn]=yr(yt,6))}if(se.L=Pt.Tb==0?0:Pt.zd?1:2,yt.Ka)return BA(se,3,"cannot parse filter header");var Yn=st;if(st=Gt=ke,ke=Gt+Yn,Pt=Yn,se.Xb=(1<Pt&&(br=Pt),Hr(se.Jc[+Yn],Ue,Gt,br),Gt+=br,Pt-=br,st+=3}Hr(se.Jc[+cn],Ue,Gt,Pt),Ue=Gtbr;++br){if(Yn.Cb){var fn=Yn.Zb[br];Yn.Fb||(fn+=Ue)}else{if(0>16,8>nr.Eb[1]&&(nr.Eb[1]=8),nr.Qc[0]=d0[tf(fn+cn,117)],nr.Qc[1]=h0[tf(fn+Gt,127)],nr.lc=fn+Gt}if(!xt.Rb)return BA(se,4,"Not a key frame.");for(Wr(yt),xt=se.Pa,Ue=0;4>Ue;++Ue){for(st=0;8>st;++st)for(ke=0;3>ke;++ke)for(Pt=0;11>Pt;++Pt)cn=oi(yt,o1[Ue][st][ke][Pt])?zr(yt,8):r1[Ue][st][ke][Pt],xt.Wc[Ue][st].Yb[ke][Pt]=cn;for(st=0;17>st;++st)xt.Xc[Ue][st]=xt.Wc[Ue][a1[st]]}return se.kc=Wr(yt),se.kc&&(se.Bd=zr(yt,8)),se.cb=1}function Rp(se,ge,Ue,ke,st,yt,xt){var Pt=ge[st].Yb[Ue];for(Ue=0;16>st;++st){if(!oi(se,Pt[Ue+0]))return st;for(;!oi(se,Pt[Ue+1]);)if(Pt=ge[++st].Yb[0],Ue=0,st==16)return 16;var Gt=ge[st+1].Yb;if(oi(se,Pt[Ue+2])){var cn=se,Yn=0;if(oi(cn,(fn=Pt)[(br=Ue)+3]))if(oi(cn,fn[br+6])){for(Pt=0,br=2*(Yn=oi(cn,fn[br+8]))+(fn=oi(cn,fn[br+9+Yn])),Yn=0,fn=t1[br];fn[Pt];++Pt)Yn+=Yn+oi(cn,fn[Pt]);Yn+=3+(8<(cn=se).b&&Rr(cn);var br,fn=cn.b,nr=(br=cn.Ca>>1)-(cn.I>>fn)>>31;--cn.b,cn.Ca+=nr,cn.Ca|=1,cn.I-=(br+1&nr)<>3),se[ge+Ue+32*ke]=-256&st?0>st?0:255:st}function OA(se,ge,Ue,ke,st,yt){Ru(se,ge,0,Ue,ke+st),Ru(se,ge,1,Ue,ke+yt),Ru(se,ge,2,Ue,ke-yt),Ru(se,ge,3,Ue,ke-st)}function jf(se){return(20091*se>>16)+se}function cm(se,ge,Ue,ke){var st,yt=0,xt=ae(16);for(st=0;4>st;++st){var Pt=se[ge+0]+se[ge+8],Gt=se[ge+0]-se[ge+8],cn=(35468*se[ge+4]>>16)-jf(se[ge+12]),Yn=jf(se[ge+4])+(35468*se[ge+12]>>16);xt[yt+0]=Pt+Yn,xt[yt+1]=Gt+cn,xt[yt+2]=Gt-cn,xt[yt+3]=Pt-Yn,yt+=4,ge++}for(st=yt=0;4>st;++st)Pt=(se=xt[yt+0]+4)+xt[yt+8],Gt=se-xt[yt+8],cn=(35468*xt[yt+4]>>16)-jf(xt[yt+12]),Ru(Ue,ke,0,0,Pt+(Yn=jf(xt[yt+4])+(35468*xt[yt+12]>>16))),Ru(Ue,ke,1,0,Gt+cn),Ru(Ue,ke,2,0,Gt-cn),Ru(Ue,ke,3,0,Pt-Yn),yt++,ke+=32}function Zm(se,ge,Ue,ke){var st=se[ge+0]+4,yt=35468*se[ge+4]>>16,xt=jf(se[ge+4]),Pt=35468*se[ge+1]>>16;OA(Ue,ke,0,st+xt,se=jf(se[ge+1]),Pt),OA(Ue,ke,1,st+yt,se,Pt),OA(Ue,ke,2,st-yt,se,Pt),OA(Ue,ke,3,st-xt,se,Pt)}function Xm(se,ge,Ue,ke,st){cm(se,ge,Ue,ke),st&&cm(se,ge+16,Ue,ke+4)}function rf(se,ge,Ue,ke){Xh(se,ge+0,Ue,ke,1),Xh(se,ge+32,Ue,ke+128,1)}function fm(se,ge,Ue,ke){var st;for(se=se[ge+0]+4,st=0;4>st;++st)for(ge=0;4>ge;++ge)Ru(Ue,ke,ge,st,se)}function dm(se,ge,Ue,ke){se[ge+0]&&as(se,ge+0,Ue,ke),se[ge+16]&&as(se,ge+16,Ue,ke+4),se[ge+32]&&as(se,ge+32,Ue,ke+128),se[ge+48]&&as(se,ge+48,Ue,ke+128+4)}function jp(se,ge,Ue,ke){var st,yt=ae(16);for(st=0;4>st;++st){var xt=se[ge+0+st]+se[ge+12+st],Pt=se[ge+4+st]+se[ge+8+st],Gt=se[ge+4+st]-se[ge+8+st],cn=se[ge+0+st]-se[ge+12+st];yt[0+st]=xt+Pt,yt[8+st]=xt-Pt,yt[4+st]=cn+Gt,yt[12+st]=cn-Gt}for(st=0;4>st;++st)xt=(se=yt[0+4*st]+3)+yt[3+4*st],Pt=yt[1+4*st]+yt[2+4*st],Gt=yt[1+4*st]-yt[2+4*st],cn=se-yt[3+4*st],Ue[ke+0]=xt+Pt>>3,Ue[ke+16]=cn+Gt>>3,Ue[ke+32]=xt-Pt>>3,Ue[ke+48]=cn-Gt>>3,ke+=64}function Mh(se,ge,Ue){var ke,st=ge-32,yt=cu,xt=255-se[st-1];for(ke=0;keUe;++Ue)te(se,ge+32*Ue,se,ge-32,16)}function hm(se,ge){var Ue;for(Ue=16;0ke;++ke)re(ge,Ue+32*ke,se,16)}function qm(se,ge){var Ue,ke=16;for(Ue=0;16>Ue;++Ue)ke+=se[ge-1+32*Ue]+se[ge+Ue-32];mc(ke>>5,se,ge)}function kh(se,ge){var Ue,ke=8;for(Ue=0;16>Ue;++Ue)ke+=se[ge-1+32*Ue];mc(ke>>4,se,ge)}function Eg(se,ge){var Ue,ke=8;for(Ue=0;16>Ue;++Ue)ke+=se[ge+Ue-32];mc(ke>>4,se,ge)}function e0(se,ge){mc(128,se,ge)}function na(se,ge,Ue){return se+2*ge+Ue+2>>2}function t0(se,ge){var Ue,ke=ge-32;for(ke=new Uint8Array([na(se[ke-1],se[ke+0],se[ke+1]),na(se[ke+0],se[ke+1],se[ke+2]),na(se[ke+1],se[ke+2],se[ke+3]),na(se[ke+2],se[ke+3],se[ke+4])]),Ue=0;4>Ue;++Ue)te(se,ge+32*Ue,ke,0,ke.length)}function n0(se,ge){var Ue=se[ge-1],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96];bi(se,ge+0,16843009*na(se[ge-1-32],Ue,ke)),bi(se,ge+32,16843009*na(Ue,ke,st)),bi(se,ge+64,16843009*na(ke,st,yt)),bi(se,ge+96,16843009*na(st,yt,yt))}function r0(se,ge){var Ue,ke=4;for(Ue=0;4>Ue;++Ue)ke+=se[ge+Ue-32]+se[ge-1+32*Ue];for(ke>>=3,Ue=0;4>Ue;++Ue)re(se,ge+32*Ue,ke,4)}function zf(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1-32],xt=se[ge+0-32],Pt=se[ge+1-32],Gt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+96]=na(ke,st,se[ge-1+96]),se[ge+1+96]=se[ge+0+64]=na(Ue,ke,st),se[ge+2+96]=se[ge+1+64]=se[ge+0+32]=na(yt,Ue,ke),se[ge+3+96]=se[ge+2+64]=se[ge+1+32]=se[ge+0+0]=na(xt,yt,Ue),se[ge+3+64]=se[ge+2+32]=se[ge+1+0]=na(Pt,xt,yt),se[ge+3+32]=se[ge+2+0]=na(Gt,Pt,xt),se[ge+3+0]=na(cn,Gt,Pt)}function Wf(se,ge){var Ue=se[ge+1-32],ke=se[ge+2-32],st=se[ge+3-32],yt=se[ge+4-32],xt=se[ge+5-32],Pt=se[ge+6-32],Gt=se[ge+7-32];se[ge+0+0]=na(se[ge+0-32],Ue,ke),se[ge+1+0]=se[ge+0+32]=na(Ue,ke,st),se[ge+2+0]=se[ge+1+32]=se[ge+0+64]=na(ke,st,yt),se[ge+3+0]=se[ge+2+32]=se[ge+1+64]=se[ge+0+96]=na(st,yt,xt),se[ge+3+32]=se[ge+2+64]=se[ge+1+96]=na(yt,xt,Pt),se[ge+3+64]=se[ge+2+96]=na(xt,Pt,Gt),se[ge+3+96]=na(Pt,Gt,Gt)}function i0(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1-32],xt=se[ge+0-32],Pt=se[ge+1-32],Gt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+0]=se[ge+1+64]=yt+xt+1>>1,se[ge+1+0]=se[ge+2+64]=xt+Pt+1>>1,se[ge+2+0]=se[ge+3+64]=Pt+Gt+1>>1,se[ge+3+0]=Gt+cn+1>>1,se[ge+0+96]=na(st,ke,Ue),se[ge+0+64]=na(ke,Ue,yt),se[ge+0+32]=se[ge+1+96]=na(Ue,yt,xt),se[ge+1+32]=se[ge+2+96]=na(yt,xt,Pt),se[ge+2+32]=se[ge+3+96]=na(xt,Pt,Gt),se[ge+3+32]=na(Pt,Gt,cn)}function o0(se,ge){var Ue=se[ge+0-32],ke=se[ge+1-32],st=se[ge+2-32],yt=se[ge+3-32],xt=se[ge+4-32],Pt=se[ge+5-32],Gt=se[ge+6-32],cn=se[ge+7-32];se[ge+0+0]=Ue+ke+1>>1,se[ge+1+0]=se[ge+0+64]=ke+st+1>>1,se[ge+2+0]=se[ge+1+64]=st+yt+1>>1,se[ge+3+0]=se[ge+2+64]=yt+xt+1>>1,se[ge+0+32]=na(Ue,ke,st),se[ge+1+32]=se[ge+0+96]=na(ke,st,yt),se[ge+2+32]=se[ge+1+96]=na(st,yt,xt),se[ge+3+32]=se[ge+2+96]=na(yt,xt,Pt),se[ge+3+64]=na(xt,Pt,Gt),se[ge+3+96]=na(Pt,Gt,cn)}function zp(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96];se[ge+0+0]=Ue+ke+1>>1,se[ge+2+0]=se[ge+0+32]=ke+st+1>>1,se[ge+2+32]=se[ge+0+64]=st+yt+1>>1,se[ge+1+0]=na(Ue,ke,st),se[ge+3+0]=se[ge+1+32]=na(ke,st,yt),se[ge+3+32]=se[ge+1+64]=na(st,yt,yt),se[ge+3+64]=se[ge+2+64]=se[ge+0+96]=se[ge+1+96]=se[ge+2+96]=se[ge+3+96]=yt}function Fg(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96],xt=se[ge-1-32],Pt=se[ge+0-32],Gt=se[ge+1-32],cn=se[ge+2-32];se[ge+0+0]=se[ge+2+32]=Ue+xt+1>>1,se[ge+0+32]=se[ge+2+64]=ke+Ue+1>>1,se[ge+0+64]=se[ge+2+96]=st+ke+1>>1,se[ge+0+96]=yt+st+1>>1,se[ge+3+0]=na(Pt,Gt,cn),se[ge+2+0]=na(xt,Pt,Gt),se[ge+1+0]=se[ge+3+32]=na(Ue,xt,Pt),se[ge+1+32]=se[ge+3+64]=na(ke,Ue,xt),se[ge+1+64]=se[ge+3+96]=na(st,ke,Ue),se[ge+1+96]=na(yt,st,ke)}function Hh(se,ge){var Ue;for(Ue=0;8>Ue;++Ue)te(se,ge+32*Ue,se,ge-32,8)}function a0(se,ge){var Ue;for(Ue=0;8>Ue;++Ue)re(se,ge,se[ge-1],8),ge+=32}function Kf(se,ge,Ue){var ke;for(ke=0;8>ke;++ke)re(ge,Ue+32*ke,se,8)}function s0(se,ge){var Ue,ke=8;for(Ue=0;8>Ue;++Ue)ke+=se[ge+Ue-32]+se[ge-1+32*Ue];Kf(ke>>4,se,ge)}function Ig(se,ge){var Ue,ke=4;for(Ue=0;8>Ue;++Ue)ke+=se[ge+Ue-32];Kf(ke>>3,se,ge)}function Lg(se,ge){var Ue,ke=4;for(Ue=0;8>Ue;++Ue)ke+=se[ge-1+32*Ue];Kf(ke>>3,se,ge)}function pm(se,ge){Kf(128,se,ge)}function Gf(se,ge,Ue){var ke=se[ge-Ue],st=se[ge+0],yt=3*(st-ke)+A0[1020+se[ge-2*Ue]-se[ge+Ue]],xt=Cm[112+(yt+4>>3)];se[ge-Ue]=cu[255+ke+Cm[112+(yt+3>>3)]],se[ge+0]=cu[255+st-xt]}function Ug(se,ge,Ue,ke){var st=se[ge+0],yt=se[ge+Ue];return Wu[255+se[ge-2*Ue]-se[ge-Ue]]>ke||Wu[255+yt-st]>ke}function Wp(se,ge,Ue,ke){return 4*Wu[255+se[ge-Ue]-se[ge+0]]+Wu[255+se[ge-2*Ue]-se[ge+Ue]]<=ke}function Dg(se,ge,Ue,ke,st){var yt=se[ge-3*Ue],xt=se[ge-2*Ue],Pt=se[ge-Ue],Gt=se[ge+0],cn=se[ge+Ue],Yn=se[ge+2*Ue],br=se[ge+3*Ue];return 4*Wu[255+Pt-Gt]+Wu[255+xt-cn]>ke?0:Wu[255+se[ge-4*Ue]-yt]<=st&&Wu[255+yt-xt]<=st&&Wu[255+xt-Pt]<=st&&Wu[255+br-Yn]<=st&&Wu[255+Yn-cn]<=st&&Wu[255+cn-Gt]<=st}function _h(se,ge,Ue,ke){var st=2*ke+1;for(ke=0;16>ke;++ke)Wp(se,ge+ke,Ue,st)&&Gf(se,ge+ke,Ue)}function Og(se,ge,Ue,ke){var st=2*ke+1;for(ke=0;16>ke;++ke)Wp(se,ge+ke*Ue,1,st)&&Gf(se,ge+ke*Ue,1)}function gm(se,ge,Ue,ke){var st;for(st=3;0>7,ei=18*ii+63>>7,ii=9*ii+63>>7;Gt[cn-3*Yn]=cu[255+Gt[cn-3*Yn]+ii],Gt[cn-2*Yn]=cu[255+br+ei],Gt[cn-Yn]=cu[255+fn+vr],Gt[cn+0]=cu[255+nr-vr],Gt[cn+Yn]=cu[255+hr-ei],Gt[cn+2*Yn]=cu[255+$r-ii]}ge+=ke}}function Zf(se,ge,Ue,ke,st,yt,xt,Pt){for(yt=2*yt+1;0>3)],$r=Cm[112+($r+3>>3)],vr=hr+1>>1;Gt[cn-2*Yn]=cu[255+Gt[cn-2*Yn]+vr],Gt[cn-Yn]=cu[255+br+$r],Gt[cn+0]=cu[255+fn-hr],Gt[cn+Yn]=cu[255+nr-vr]}ge+=ke}}function vm(se,ge,Ue,ke,st,yt){Vf(se,ge,Ue,1,16,ke,st,yt)}function Rh(se,ge,Ue,ke,st,yt){Vf(se,ge,1,Ue,16,ke,st,yt)}function ym(se,ge,Ue,ke,st,yt){var xt;for(xt=3;0cn?0:255:cn)&255,cn=Gt,st[yt+Pt]=Yn}}function vs(se,ge,Ue,ke){var st=ge.width,yt=ge.o;if(E(se!=null&&ge!=null),0>Ue||0>=ke||Ue+ke>yt)return null;if(!se.Cc){if(se.ga==null){var xt;if(se.ga=new fa,(xt=se.ga==null)||(xt=ge.width*ge.o,E(se.Gb.length==0),se.Gb=ae(xt),se.Uc=0,se.Gb==null?xt=0:(se.mb=se.Gb,se.nb=se.Uc,se.rc=null,xt=1),xt=!xt),!xt){xt=se.ga;var Pt=se.Fa,Gt=se.P,cn=se.qc,Yn=se.mb,br=se.nb,fn=Gt+1,nr=cn-1,hr=xt.l;if(E(Pt!=null&&Yn!=null&&ge!=null),Wd[0]=null,Wd[1]=Ka,Wd[2]=zs,Wd[3]=CA,xt.ca=Yn,xt.tb=br,xt.c=ge.width,xt.i=ge.height,E(0=cn)ge=0;else if(xt.$a=3&Pt[Gt+0],xt.Z=Pt[Gt+0]>>2&3,xt.Lc=Pt[Gt+0]>>4&3,Gt=Pt[Gt+0]>>6&3,0>xt.$a||1=xt.c*xt.i;xt=!ge}if(xt)return null;se.ga.Lc!=1?se.Ga=0:ke=yt-Ue}E(se.ga!=null),E(Ue+ke<=yt);e:{if(ge=(Pt=se.ga).c,yt=Pt.l.o,Pt.$a==0){if(fn=se.rc,nr=se.Vc,hr=se.Fa,Gt=se.P+1+Ue*ge,cn=se.mb,Yn=se.nb+Ue*ge,E(Gt<=se.P+se.qc),Pt.Z!=0)for(E(Wd[Pt.Z]!=null),xt=0;xt=ge)ge=1;else if(Pt.ic||vc(),Pt.ic){Pt=xt.V,fn=xt.Ba,nr=xt.c;var $r=xt.i,vr=(hr=1,Gt=xt.$/nr,cn=xt.$%nr,Yn=xt.m,br=xt.s,xt.$),ei=nr*$r,ii=nr*ge,wi=br.wc,di=vr($r=Ys(di.G[0],di.H[0],Yn)))Pt[fn+vr]=$r,++vr,++cn>=nr&&(cn=0,++Gt<=ge&&!(Gt%16)&&pc(xt,Gt));else{if(!(280>$r)){hr=0;break t}$r=Mu($r-256,Yn);var wo,qi=Ys(di.G[4],di.H[4],Yn);if(mr(Yn),!(vr>=(qi=ku(nr,qi=Mu(qi,Yn)))&&ei-vr>=$r)){hr=0;break t}for(wo=0;wo<$r;++wo)Pt[fn+vr+wo]=Pt[fn+vr+wo-qi];for(vr+=$r,cn+=$r;cn>=nr;)cn-=nr,++Gt<=ge&&!(Gt%16)&&pc(xt,Gt);vrge?ge:Gt);break t}!hr||Yn.h&&vr=yt&&(se.Cc=1),ke=1}if(!ke)return null;if(se.Cc&&((ke=se.ga)!=null&&(ke.mc=null),se.ga=null,0>23,Pt[Gt+4*xt+1]=Pt[Gt+4*xt+1]*br>>23,Pt[Gt+4*xt+2]=Pt[Gt+4*xt+2]*br>>23)}ge+=yt}}function xA(se,ge,Ue,ke,st){for(;0>4)*Gt>>16;se[ge+2*yt+0]=(240&xt|xt>>4)*Gt>>16&240|(15&xt|xt<<4)*Gt>>16>>4&15,se[ge+2*yt+1]=240&cn|Pt}ge+=st}}function ol(se,ge,Ue,ke,st,yt,xt,Pt){var Gt,cn,Yn=255;for(cn=0;cn>8}function vc(){Wg=NA,X0=xA,Y0=ol,J0=Xf}function Yf(se,ge,Ue){Cn[se]=function(ke,st,yt,xt,Pt,Gt,cn,Yn,br,fn,nr,hr,$r,vr,ei,ii,wi){var di,wo=wi-1>>1,qi=Pt[Gt+0]|cn[Yn+0]<<16,pa=br[fn+0]|nr[hr+0]<<16;E(ke!=null);var so=3*qi+pa+131074>>2;for(ge(ke[st+0],255&so,so>>16,$r,vr),yt!=null&&(so=3*pa+qi+131074>>2,ge(yt[xt+0],255&so,so>>16,ei,ii)),di=1;di<=wo;++di){var _a=Pt[Gt+di]|cn[Yn+di]<<16,TA=br[fn+di]|nr[hr+di]<<16,ga=qi+_a+pa+TA+524296,Ao=ga+2*(_a+pa)>>3;so=Ao+qi>>1,qi=(ga=ga+2*(qi+TA)>>3)+_a>>1,ge(ke[st+2*di-1],255&so,so>>16,$r,vr+(2*di-1)*Ue),ge(ke[st+2*di-0],255&qi,qi>>16,$r,vr+(2*di-0)*Ue),yt!=null&&(so=ga+pa>>1,qi=Ao+TA>>1,ge(yt[xt+2*di-1],255&so,so>>16,ei,ii+(2*di-1)*Ue),ge(yt[xt+2*di+0],255&qi,qi>>16,ei,ii+(2*di+0)*Ue)),qi=_a,pa=TA}1&wi||(so=3*qi+pa+131074>>2,ge(ke[st+wi-1],255&so,so>>16,$r,vr+(wi-1)*Ue),yt!=null&&(so=3*pa+qi+131074>>2,ge(yt[xt+wi-1],255&so,so>>16,ei,ii+(wi-1)*Ue)))}}function Ng(){Ku[xm]=A1,Ku[Sm]=Av,Ku[rv]=l1,Ku[Em]=lv,Ku[Fm]=uv,Ku[l0]=cv,Ku[iv]=u1,Ku[u0]=Av,Ku[c0]=lv,Ku[Im]=uv,Ku[f0]=cv}function Kp(se){return se&~c1?0>se?0:255:se>>fv}function Pd(se,ge){return Kp((19077*se>>8)+(26149*ge>>8)-14234)}function jh(se,ge,Ue){return Kp((19077*se>>8)-(6419*ge>>8)-(13320*Ue>>8)+8708)}function zh(se,ge){return Kp((19077*se>>8)+(33050*ge>>8)-17685)}function Td(se,ge,Ue,ke,st){ke[st+0]=Pd(se,Ue),ke[st+1]=jh(se,ge,Ue),ke[st+2]=zh(se,ge)}function al(se,ge,Ue,ke,st){ke[st+0]=zh(se,ge),ke[st+1]=jh(se,ge,Ue),ke[st+2]=Pd(se,Ue)}function Wh(se,ge,Ue,ke,st){var yt=jh(se,ge,Ue);ge=yt<<3&224|zh(se,ge)>>3,ke[st+0]=248&Pd(se,Ue)|yt>>5,ke[st+1]=ge}function Kh(se,ge,Ue,ke,st){var yt=240&zh(se,ge)|15;ke[st+0]=240&Pd(se,Ue)|jh(se,ge,Ue)>>4,ke[st+1]=yt}function Pg(se,ge,Ue,ke,st){ke[st+0]=255,Td(se,ge,Ue,ke,st+1)}function Tg(se,ge,Ue,ke,st){al(se,ge,Ue,ke,st),ke[st+3]=255}function Tl(se,ge,Ue,ke,st){Td(se,ge,Ue,ke,st),ke[st+3]=255}function Jf(se,ge,Ue){Cn[se]=function(ke,st,yt,xt,Pt,Gt,cn,Yn,br){for(var fn=Yn+(-2&br)*Ue;Yn!=fn;)ge(ke[st+0],yt[xt+0],Pt[Gt+0],cn,Yn),ge(ke[st+1],yt[xt+0],Pt[Gt+0],cn,Yn+Ue),st+=2,++xt,++Gt,Yn+=2*Ue;1&br&&ge(ke[st+0],yt[xt+0],Pt[Gt+0],cn,Yn)}}function Gp(se,ge,Ue){return Ue==0?se==0?ge==0?6:5:ge==0?4:0:Ue}function wm(se,ge,Ue,ke,st){switch(se>>>30){case 3:Xh(ge,Ue,ke,st,0);break;case 2:zu(ge,Ue,ke,st);break;case 1:as(ge,Ue,ke,st)}}function ju(se,ge){var Ue,ke,st=ge.M,yt=ge.Nb,xt=se.oc,Pt=se.pc+40,Gt=se.oc,cn=se.pc+584,Yn=se.oc,br=se.pc+600;for(Ue=0;16>Ue;++Ue)xt[Pt+32*Ue-1]=129;for(Ue=0;8>Ue;++Ue)Gt[cn+32*Ue-1]=129,Yn[br+32*Ue-1]=129;for(0Ue;++Ue)te(xt,Pt+32*Ue-4,xt,Pt+32*Ue+12,4);for(Ue=-1;8>Ue;++Ue)te(Gt,cn+32*Ue-4,Gt,cn+32*Ue+4,4),te(Yn,br+32*Ue-4,Yn,br+32*Ue+4,4)}var nr=se.Gd,hr=se.Hd+ke,$r=fn.ad,vr=fn.Hc;if(0=se.za-1?re(ei,ii,nr[hr].y[15],4):te(ei,ii,nr[hr+1].y,0,4)),Ue=0;4>Ue;Ue++)ei[ii+128+Ue]=ei[ii+256+Ue]=ei[ii+384+Ue]=ei[ii+0+Ue];for(Ue=0;16>Ue;++Ue,vr<<=2)ei=xt,ii=Pt+hv[Ue],yc[fn.Ob[Ue]](ei,ii),wm(vr,$r,16*+Ue,ei,ii)}else if(ei=Gp(ke,st,fn.Ob[0]),zd[ei](xt,Pt),vr!=0)for(Ue=0;16>Ue;++Ue,vr<<=2)wm(vr,$r,16*+Ue,xt,Pt+hv[Ue]);for(Ue=fn.Gc,ei=Gp(ke,st,fn.Dd),ed[ei](Gt,cn),ed[ei](Yn,br),vr=$r,ei=Gt,ii=cn,255&(fn=0|Ue)&&(170&fn?sf(vr,256,ei,ii):ds(vr,256,ei,ii)),fn=Yn,vr=br,255&(Ue>>=8)&&(170&Ue?sf($r,320,fn,vr):ds($r,320,fn,vr)),stUe;++Ue)te(nr,hr+Ue*se.R,xt,Pt+32*Ue,16);for(Ue=0;8>Ue;++Ue)te($r,fn+Ue*se.B,Gt,cn+32*Ue,8),te(vr,ei+Ue*se.B,Yn,br+32*Ue,8)}}function Gh(se,ge,Ue,ke,st,yt,xt,Pt,Gt){var cn=[0],Yn=[0],br=0,fn=Gt!=null?Gt.kd:0,nr=Gt!=null?Gt:new fi;if(se==null||12>Ue)return 7;nr.data=se,nr.w=ge,nr.ha=Ue,ge=[ge],Ue=[Ue],nr.gb=[nr.gb];e:{var hr=ge,$r=Ue,vr=nr.gb;if(E(se!=null),E($r!=null),E(vr!=null),vr[0]=0,12<=$r[0]&&!x(se,hr[0],"RIFF")){if(x(se,hr[0]+8,"WEBP")){vr=3;break e}var ei=Io(se,hr[0]+4);if(12>ei||4294967286$r[0]-8){vr=7;break e}vr[0]=ei,hr[0]+=12,$r[0]-=12}vr=0}if(vr!=0)return vr;for(ei=0vr[0])vr=7;else{if(!x(ii,$r[0],"VP8X")){if(Io(ii,$r[0]+4)!=10){vr=3;break e}if(18>vr[0]){vr=7;break e}var qi=Io(ii,$r[0]+8),pa=1+ki(ii,$r[0]+12);if(2147483648<=pa*(ii=1+ki(ii,$r[0]+15))){vr=3;break e}wo!=null&&(wo[0]=qi),wi!=null&&(wi[0]=pa),di!=null&&(di[0]=ii),$r[0]+=18,vr[0]-=18,so[0]=1}vr=0}}if(br=br[0],hr=hr[0],vr!=0)return vr;if($r=!!(2&hr),!ei&&br)return 3;if(yt!=null&&(yt[0]=!!(16&hr)),xt!=null&&(xt[0]=$r),Pt!=null&&(Pt[0]=0),xt=cn[0],hr=Yn[0],br&&$r&&Gt==null){vr=0;break}if(4>Ue){vr=7;break}if(ei&&br||!ei&&!br&&!x(se,ge[0],"ALPH")){Ue=[Ue],nr.na=[nr.na],nr.P=[nr.P],nr.Sa=[nr.Sa];e:{qi=se,vr=ge,ei=Ue;var so=nr.gb;wi=nr.na,di=nr.P,wo=nr.Sa,pa=22,E(qi!=null),E(ei!=null),ii=vr[0];var _a=ei[0];for(E(wi!=null),E(wo!=null),wi[0]=null,di[0]=null,wo[0]=0;;){if(vr[0]=ii,ei[0]=_a,8>_a){vr=7;break e}var TA=Io(qi,ii+4);if(4294967286so){vr=3;break e}if(!x(qi,ii,"VP8 ")||!x(qi,ii,"VP8L")){vr=0;break e}if(_a[0]ei[0])vr=7;else{if(ii||pa){if(so=Io(so,qi+4),12<=wi&&so>wi-12){vr=3;break e}if(fn&&so>ei[0]-8){vr=7;break e}di[0]=so,vr[0]+=8,ei[0]-=8,wo[0]=pa}else wo[0]=5<=ei[0]&&so[qi+0]==47&&!(so[qi+4]>>5),di[0]=ei[0];vr=0}if(Ue=Ue[0],nr.Ja=nr.Ja[0],nr.xa=nr.xa[0],ge=ge[0],vr!=0)break;if(4294967286Ue){vr=7;break}Pt=xt,fn=hr,$r=yt,se==null||5>Ue?se=0:5<=Ue&&se[ge+0]==47&&!(se[ge+4]>>5)?(ei=[0],so=[0],wi=[0],Vr(di=new wn,se,ge,Ue),Rf(di,ei,so,wi)?(Pt!=null&&(Pt[0]=ei[0]),fn!=null&&(fn[0]=so[0]),$r!=null&&($r[0]=wi[0]),se=1):se=0):se=0}else{if(10>Ue){vr=7;break}Pt=hr,se==null||10>Ue||!lm(se,ge+3,Ue-3)?se=0:(fn=se[ge+0]|se[ge+1]<<8|se[ge+2]<<16,$r=16383&(se[ge+7]<<8|se[ge+6]),se=16383&(se[ge+9]<<8|se[ge+8]),1&fn||3<(fn>>1&7)||!(fn>>4&1)||fn>>5>=nr.Ja||!$r||!se?se=0:(xt&&(xt[0]=$r),Pt&&(Pt[0]=se),se=1))}if(!se||(xt=xt[0],hr=hr[0],br&&(cn[0]!=xt||Yn[0]!=hr)))return 3;Gt!=null&&(Gt[0]=nr,Gt.offset=ge-Gt.w,E(4294967286>ge-Gt.w),E(Gt.offset==Gt.ha-Ue));break}return vr==0||vr==7&&br&&Gt==null?(yt!=null&&(yt[0]|=nr.na!=null&&0Ue||(yt&=-2,xt&=-2),0>yt||0>xt||0>=Pt||0>=Gt||yt+Pt>ke||xt+Gt>st))return 0;if(ge.v=yt,ge.j=xt,ge.va=yt+Pt,ge.o=xt+Gt,ge.U=Pt,ge.T=Gt,ge.da=se!=null&&0se.S){var ge=se.f.RGBA;ge.fb+=(se.height-1)*ge.A,ge.A=-ge.A}else ge=se.f.kb,se=se.height,ge.O+=(se-1)*ge.fa,ge.fa=-ge.fa,ge.N+=(se-1>>1)*ge.Ab,ge.Ab=-ge.Ab,ge.W+=(se-1>>1)*ge.Db,ge.Db=-ge.Db,ge.F!=null&&(ge.J+=(se-1)*ge.lb,ge.lb=-ge.lb);return 0}function Qd(se,ge,Ue,ke){if(ke==null||0>=se||0>=ge)return 2;if(Ue!=null){if(Ue.Da){var st=Ue.cd,yt=Ue.bd,xt=-2&Ue.v,Pt=-2&Ue.j;if(0>xt||0>Pt||0>=st||0>=yt||xt+st>se||Pt+yt>ge)return 2;se=st,ge=yt}if(Ue.da){if(!ko(se,ge,st=[Ue.ib],yt=[Ue.hb]))return 2;se=st[0],ge=yt[0]}}ke.width=se,ke.height=ge;e:{var Gt=ke.width,cn=ke.height;if(se=ke.S,0>=Gt||0>=cn||!(se>=xm&&13>se))se=2;else{if(0>=ke.Rd&&ke.sd==null){xt=yt=st=ge=0;var Yn=(Pt=Gt*pv[se])*cn;if(11>se||(yt=(cn+1)/2*(ge=(Gt+1)/2),se==12&&(xt=(st=Gt)*cn)),(cn=ae(Yn+2*yt+xt))==null){se=1;break e}ke.sd=cn,11>se?((Gt=ke.f.RGBA).eb=cn,Gt.fb=0,Gt.A=Pt,Gt.size=Yn):((Gt=ke.f.kb).y=cn,Gt.O=0,Gt.fa=Pt,Gt.Fd=Yn,Gt.f=cn,Gt.N=0+Yn,Gt.Ab=ge,Gt.Cd=yt,Gt.ea=cn,Gt.W=0+Yn+yt,Gt.Db=ge,Gt.Ed=yt,se==12&&(Gt.F=cn,Gt.J=0+Yn+2*yt),Gt.Tc=xt,Gt.lb=st)}if(ge=1,st=ke.S,yt=ke.width,xt=ke.height,st>=xm&&13>st)if(11>st)se=ke.f.RGBA,ge&=(Pt=Math.abs(se.A))*(xt-1)+yt<=se.size,ge&=Pt>=yt*pv[st],ge&=se.eb!=null;else{se=ke.f.kb,Pt=(yt+1)/2,Yn=(xt+1)/2,Gt=Math.abs(se.fa),cn=Math.abs(se.Ab);var br=Math.abs(se.Db),fn=Math.abs(se.lb),nr=fn*(xt-1)+yt;ge&=Gt*(xt-1)+yt<=se.Fd,ge&=cn*(Yn-1)+Pt<=se.Cd,ge=(ge&=br*(Yn-1)+Pt<=se.Ed)&Gt>=yt&cn>=Pt&br>=Pt,ge&=se.y!=null,ge&=se.f!=null,ge&=se.ea!=null,st==12&&(ge&=fn>=yt,ge&=nr<=se.Tc,ge&=se.F!=null)}else ge=0;se=ge?0:2}}return se!=0||Ue!=null&&Ue.fd&&(se=Mg(ke)),se}var Vh=64,lu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],uu=24,Md=32,$f=8,kd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];no("Predictor0","PredictorAdd0"),Cn.Predictor0=function(){return 4278190080},Cn.Predictor1=function(se){return se},Cn.Predictor2=function(se,ge,Ue){return ge[Ue+0]},Cn.Predictor3=function(se,ge,Ue){return ge[Ue+1]},Cn.Predictor4=function(se,ge,Ue){return ge[Ue-1]},Cn.Predictor5=function(se,ge,Ue){return Uo(Uo(se,ge[Ue+1]),ge[Ue+0])},Cn.Predictor6=function(se,ge,Ue){return Uo(se,ge[Ue-1])},Cn.Predictor7=function(se,ge,Ue){return Uo(se,ge[Ue+0])},Cn.Predictor8=function(se,ge,Ue){return Uo(ge[Ue-1],ge[Ue+0])},Cn.Predictor9=function(se,ge,Ue){return Uo(ge[Ue+0],ge[Ue+1])},Cn.Predictor10=function(se,ge,Ue){return Uo(Uo(se,ge[Ue-1]),Uo(ge[Ue+0],ge[Ue+1]))},Cn.Predictor11=function(se,ge,Ue){var ke=ge[Ue+0];return 0>=oa(ke>>24&255,se>>24&255,(ge=ge[Ue-1])>>24&255)+oa(ke>>16&255,se>>16&255,ge>>16&255)+oa(ke>>8&255,se>>8&255,ge>>8&255)+oa(255&ke,255&se,255&ge)?ke:se},Cn.Predictor12=function(se,ge,Ue){var ke=ge[Ue+0];return(is((se>>24&255)+(ke>>24&255)-((ge=ge[Ue-1])>>24&255))<<24|is((se>>16&255)+(ke>>16&255)-(ge>>16&255))<<16|is((se>>8&255)+(ke>>8&255)-(ge>>8&255))<<8|is((255&se)+(255&ke)-(255&ge)))>>>0},Cn.Predictor13=function(se,ge,Ue){var ke=ge[Ue-1];return(Ta((se=Uo(se,ge[Ue+0]))>>24&255,ke>>24&255)<<24|Ta(se>>16&255,ke>>16&255)<<16|Ta(se>>8&255,ke>>8&255)<<8|Ta(255&se,255&ke))>>>0};var kg=Cn.PredictorAdd0;Cn.PredictorAdd1=Ha,no("Predictor2","PredictorAdd2"),no("Predictor3","PredictorAdd3"),no("Predictor4","PredictorAdd4"),no("Predictor5","PredictorAdd5"),no("Predictor6","PredictorAdd6"),no("Predictor7","PredictorAdd7"),no("Predictor8","PredictorAdd8"),no("Predictor9","PredictorAdd9"),no("Predictor10","PredictorAdd10"),no("Predictor11","PredictorAdd11"),no("Predictor12","PredictorAdd12"),no("Predictor13","PredictorAdd13");var Vp=Cn.PredictorAdd2;xo("ColorIndexInverseTransform","MapARGB","32b",function(se){return se>>8&255},function(se){return se}),xo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(se){return se},function(se){return se>>8&255});var dA,bm=Cn.ColorIndexInverseTransform,of=Cn.MapARGB,af=Cn.VP8LColorIndexInverseTransformAlpha,Hg=Cn.MapAlpha,_g=Cn.VP8LPredictorsAdd=[];_g.length=16,(Cn.VP8LPredictors=[]).length=16,(Cn.VP8LPredictorsAdd_C=[]).length=16,(Cn.VP8LPredictors_C=[]).length=16;var Rg,jg,Hd,_d,Rd,Zh,jd,Xh,zu,sf,as,ds,hA,PA,qf,zg,Zp,Bm,z0,W0,K0,G0,V0,Z0,Wg,X0,Y0,J0,$0=ae(511),q0=ae(2041),ev=ae(225),tv=ae(767),nv=0,A0=q0,Cm=ev,cu=tv,Wu=$0,xm=0,Sm=1,rv=2,Em=3,Fm=4,l0=5,iv=6,u0=7,c0=8,Im=9,f0=10,Zv=[2,3,7],Xv=[3,3,11],ov=[280,256,256,256,40],Yv=[0,1,1,1,0],Jv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],$v=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],e1=8,d0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],h0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Kg=null,t1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],n1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],av=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],r1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],i1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],a1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],zd=[],yc=[],ed=[],s1=1,sv=2,Wd=[],Ku=[];Yf("UpsampleRgbLinePair",Td,3),Yf("UpsampleBgrLinePair",al,3),Yf("UpsampleRgbaLinePair",Tl,4),Yf("UpsampleBgraLinePair",Tg,4),Yf("UpsampleArgbLinePair",Pg,4),Yf("UpsampleRgba4444LinePair",Kh,2),Yf("UpsampleRgb565LinePair",Wh,2);var A1=Cn.UpsampleRgbLinePair,l1=Cn.UpsampleBgrLinePair,Av=Cn.UpsampleRgbaLinePair,lv=Cn.UpsampleBgraLinePair,uv=Cn.UpsampleArgbLinePair,cv=Cn.UpsampleRgba4444LinePair,u1=Cn.UpsampleRgb565LinePair,Lm=16,Um=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&vc()),ke.Pb&&0(Gt=Ue.Md)?0:100cn;++cn)12>(br=st.pb[cn]).lc&&(br.ia=Gt*v1[0>br.lc?0:br.lc]>>3),Yn|=br.ia;Yn&&(alert("todo:VP8InitRandom"),st.ia=1)}st.Ga=Ue.Id,100st.Ga&&(st.Ga=0)}(function(fn,nr){if(fn==null)return 0;if(nr==null)return BA(fn,2,"NULL VP8Io parameter in VP8Decode().");if(!fn.cb&&!nf(fn,nr))return 0;if(E(fn.cb),nr.ac==null||nr.ac(nr)){nr.ob&&(fn.L=0);var hr=Dm[fn.L];if(fn.L==2?(fn.yb=0,fn.zb=0):(fn.yb=nr.v-hr>>4,fn.zb=nr.j-hr>>4,0>fn.yb&&(fn.yb=0),0>fn.zb&&(fn.zb=0)),fn.Va=nr.o+15+hr>>4,fn.Hb=nr.va+15+hr>>4,fn.Hb>fn.za&&(fn.Hb=fn.za),fn.Va>fn.Ub&&(fn.Va=fn.Ub),0hr;++hr){var vr;if(fn.Qa.Cb){var ei=fn.Qa.Lb[hr];fn.Qa.Fb||(ei+=$r.Tb)}else ei=$r.Tb;for(vr=0;1>=vr;++vr){var ii=fn.gd[hr][vr],wi=ei;if($r.Pc&&(wi+=$r.vd[0],vr&&(wi+=$r.od[0])),0<(wi=0>wi?0:63>2:di>>1)>9-$r.wb&&(di=9-$r.wb),1>di&&(di=1),ii.dd=di,ii.tc=2*wi+di,ii.ld=40<=wi?2:15<=wi?1:0}else ii.tc=0;ii.La=vr}}}hr=0}else BA(fn,6,"Frame setup failed"),hr=fn.a;if(hr=hr==0){if(hr){fn.$c=0,0fn.Vb){if(fn.Vb=0,fn.Ec=ae(ii),fn.Fc=0,fn.Ec==null){hr=BA(fn,1,"no memory during frame initialization.");break t}fn.Vb=ii}ii=fn.Ec,wi=fn.Fc,fn.Ac=ii,fn.Bc=wi,wi+=$r,fn.Gd=we(wo,sm),fn.Hd=0,fn.rb=we(qi+1,Cg),fn.sb=1,fn.wa=pa?we(pa,_u):null,fn.Y=0,fn.D.Nb=0,fn.D.wa=fn.wa,fn.D.Y=fn.Y,0=hr;++hr)$0[255+hr]=0>hr?-hr:hr;for(hr=-1020;1020>=hr;++hr)q0[1020+hr]=-128>hr?-128:127=hr;++hr)ev[112+hr]=-16>hr?-16:15=hr;++hr)tv[255+hr]=0>hr?0:255za;++za){var QA,Ga=Ql[0+za];for(QA=0;4>QA;++QA){Ga=i1[Fs[sl+QA]][Ga];for(var ss=av[oi(sa,Ga[0])];0>3;for(ss=0;256>ss;ss+=16)za[bl+ss]=Kl}Al=1,wc=sl[0]}var hs=15&sa.la,MA=15&Ml.la;for(ss=0;4>ss;++ss){var fu=1&MA;for(Kl=As=0;4>Kl;++Kl)hs=hs>>1|(fu=(gA=Kg(Fs,wc,gA=fu+(1&hs),Js.Sc,Al,za,bl))>Al)<<7,As=As<<2|(3>=4,MA=MA>>1|fu<<7,QA=(QA<<8|As)>>>0}for(wc=hs,Al=MA>>4,$s=0;4>$s;$s+=2){for(As=0,hs=sa.la>>4+$s,MA=Ml.la>>4+$s,ss=0;2>ss;++ss){for(fu=1&MA,Kl=0;2>Kl;++Kl)gA=fu+(1&hs),hs=hs>>1|(fu=0<(gA=Kg(Fs,sl[2],gA,Js.Qc,0,za,bl)))<<3,As=As<<2|(3>=2,MA=MA>>1|fu<<5}Ga|=As<<4*$s,wc|=hs<<4<<$s,Al|=(240&MA)<<$s}sa.la=wc,Ml.la=Al,Ql.Hc=QA,Ql.Gc=Ga,Ql.ia=43690&Ga?0:Js.ia,sl=!(QA|Ga)}if(0=Ao.zb&&Ao.M<=Ao.Va,Ao.Aa==0)t:{if(ga.M=Ao.M,ga.uc=sa,ju(Ao,ga),pA=1,ga=(As=Ao.D).Nb,sa=(Ga=Dm[Ao.L])*Ao.R,Fs=Ga/2*Ao.B,ss=16*ga*Ao.R,Kl=8*ga*Ao.B,sl=Ao.sa,Ql=Ao.ta-sa+ss,Js=Ao.qa,za=Ao.ra-Fs+Kl,bl=Ao.Ha,Ml=Ao.Ia-Fs+Kl,MA=(hs=As.M)==0,QA=hs>=Ao.Va-1,Ao.Aa==2&&ju(Ao,As),As.uc)for(fu=(gA=Ao).D.M,E(gA.D.uc),As=gA.yb;AsNi.o&&(hs=Ni.o),Ni.F=null,Ni.J=null,Ao.Fa!=null&&0>1),Ni.W+=Ao.B*(Ga>>1),Ni.F!=null&&(Ni.J+=Ni.width*Ga)),As>1,Ni.W+=Ni.v>>1,Ni.F!=null&&(Ni.J+=Ni.v),Ni.ka=As-Ni.j,Ni.U=Ni.va-Ni.v,Ni.T=hs-As,pA=Ni.put(Ni))}ga+1!=Ao.Ic||QA||(te(Ao.sa,Ao.ta-sa,sl,Ql+16*Ao.R,sa),te(Ao.qa,Ao.ra-Fs,Js,za+8*Ao.B,Fs),te(Ao.Ha,Ao.Ia-Fs,bl,Ml+8*Ao.B,Fs))}if(!pA)return BA(_a,6,"Output aborted.")}return 1}(fn,nr)),nr.bc!=null&&nr.bc(nr),hr&=1}return hr?(fn.cb=0,hr):0})(se,ke)||(ge=se.a)}}else ge=se.a}ge==0&&xt.Oa!=null&&xt.Oa.fd&&(ge=Mg(xt.ba))}xt=ge}yt=xt!=0?null:11>yt?Pt.f.RGBA.eb:Pt.f.kb.y}else yt=null;return yt};var pv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Se(Cn,fr){for(var Dt="",an=0;an<4;an++)Dt+=String.fromCharCode(Cn[fr++]);return Dt}function Ne(Cn,fr){return Cn[fr+0]|Cn[fr+1]<<8}function tt(Cn,fr){return(Cn[fr+0]|Cn[fr+1]<<8|Cn[fr+2]<<16)>>>0}function dt(Cn,fr){return(Cn[fr+0]|Cn[fr+1]<<8|Cn[fr+2]<<16|Cn[fr+3]<<24)>>>0}new be;var Oe=[0],nn=[0],Xt=[],on=new be,Ot=y,Hn=function(Cn,fr){var Dt={},an=0,Mn=!1,Nn=0,Sr=0;if(Dt.frames=[],!function(Ft,wn){for(var In=0;In<4;In++)if(Ft[wn+In]!="RIFF".charCodeAt(In))return!0;return!1}(Cn,fr)){for(dt(Cn,fr+=4),fr+=8;fr>1&1}Hr!="ANMF"&&(fr+=yr)}return Dt}}(Ot,0);Hn.response=Ot,Hn.rgbaoutput=!0,Hn.dataurl=!1;var On=Hn.header?Hn.header:null,Bn=Hn.frames?Hn.frames:null;if(On){On.loop_counter=On.loop_count,Oe=[On.canvas_height],nn=[On.canvas_width];for(var Br=0;Br=2?sn[1]:ji[0],ji[2]=sn.length>=3?sn[2]:ji[0],ji[3]=sn.length>=4?sn[3]:ji[1]),Se.margin=ji}});var Rr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Rr},set:function(sn){Rr=sn}});var Wr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Wr},set:function(sn){Wr=sn}});var oi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return oi},set:function(sn){oi=sn}}),Object.defineProperty(this,"ctx",{get:function(){return Se},set:function(sn){sn instanceof Ne&&(Se=sn)}}),Object.defineProperty(this,"path",{get:function(){return Se.path},set:function(sn){Se.path=sn}});var bi=[];Object.defineProperty(this,"ctxStack",{get:function(){return bi},set:function(sn){bi=sn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(sn){var ji;ji=dt(sn),this.ctx.fillStyle=ji.style,this.ctx.isFillTransparent=ji.a===0,this.ctx.fillOpacity=ji.a,this.pdf.setFillColor(ji.r,ji.g,ji.b,{a:ji.a}),this.pdf.setTextColor(ji.r,ji.g,ji.b,{a:ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(sn){var ji=dt(sn);this.ctx.strokeStyle=ji.style,this.ctx.isStrokeTransparent=ji.a===0,this.ctx.strokeOpacity=ji.a,ji.a===0?this.pdf.setDrawColor(255,255,255):(ji.a,this.pdf.setDrawColor(ji.r,ji.g,ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(sn){["butt","round","square"].indexOf(sn)!==-1&&(this.ctx.lineCap=sn,this.pdf.setLineCap(sn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(sn){isNaN(sn)||(this.ctx.lineWidth=sn,this.pdf.setLineWidth(sn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(sn){["bevel","round","miter"].indexOf(sn)!==-1&&(this.ctx.lineJoin=sn,this.pdf.setLineJoin(sn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(sn){isNaN(sn)||(this.ctx.miterLimit=sn,this.pdf.setMiterLimit(sn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(sn){this.ctx.textBaseline=sn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(sn){["right","end","center","left","start"].indexOf(sn)!==-1&&(this.ctx.textAlign=sn)}});var Ri=null,ki=null,Io=null;Object.defineProperty(this,"fontFaces",{get:function(){return Io},set:function(sn){Ri=null,ki=null,Io=sn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(sn){var ji;if(this.ctx.font=sn,(ji=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(sn))!==null){var Ca=ji[1];ji[2];var ko=ji[3],vi=ji[4];ji[5];var Ho=ji[6],no=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(vi)[2];vi=Math.floor(no==="px"?parseFloat(vi)*this.pdf.internal.scaleFactor:no==="em"?parseFloat(vi)*this.pdf.getFontSize():parseFloat(vi)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(vi);var Mo=function(xo){var fA,Wa,Ea=[],Fa=xo.trim();if(Fa==="")return zm;if(Fa in Zc)return[Zc[Fa]];for(;Fa!=="";){switch(Wa=null,fA=(Fa=Xc(Fa)).charAt(0)){case'"':case"'":Wa=cc(Fa.substring(1),fA);break;default:Wa=Dd(Fa)}if(Wa===null||(Ea.push(Wa[0]),(Fa=Xc(Wa[1]))!==""&&Fa.charAt(0)!==","))return zm;Fa=Fa.replace(/^,/,"")}return Ea}(Ho);if(this.fontFaces){var Uo=function(xo,fA){var Wa=xo.getFontList(),Ea=JSON.stringify(Wa);if(Ri===null||ki!==Ea){var Fa=function(Ns){var No=[];return Object.keys(Ns).forEach(function(ms){Ns[ms].forEach(function(Go){var aa=null;switch(Go){case"bold":aa={family:ms,weight:"bold"};break;case"italic":aa={family:ms,style:"italic"};break;case"bolditalic":aa={family:ms,weight:"bold",style:"italic"};break;case"":case"normal":aa={family:ms}}aa!==null&&(aa.ref={name:ms,style:Go},No.push(aa))})}),No}(Wa);Ri=function(Ns){for(var No={},ms=0;ms=700||Ca==="bold")&&(oa="bold"),Ca==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var Ha="",Qa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ho=0;ho=2*Math.PI&&(jn=0,rr=2*Math.PI),this.path.push({type:"arc",x:Ft,y:wn,radius:In,startAngle:jn,endAngle:rr,counterclockwise:mr})},tt.prototype.arcTo=function(Ft,wn,In,jn,rr){throw new Error("arcTo not implemented.")},tt.prototype.rect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ft,wn),this.lineTo(Ft+In,wn),this.lineTo(Ft+In,wn+jn),this.lineTo(Ft,wn+jn),this.lineTo(Ft,wn),this.lineTo(Ft+In,wn),this.lineTo(Ft,wn)},tt.prototype.fillRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Oe.call(this)){var rr={};this.lineCap!=="butt"&&(rr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(rr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ft,wn,In,jn),this.fill(),rr.hasOwnProperty("lineCap")&&(this.lineCap=rr.lineCap),rr.hasOwnProperty("lineJoin")&&(this.lineJoin=rr.lineJoin)}},tt.prototype.strokeRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");nn.call(this)||(this.beginPath(),this.rect(Ft,wn,In,jn),this.stroke())},tt.prototype.clearRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ft,wn,In,jn))},tt.prototype.save=function(Ft){Ft=typeof Ft!="boolean"||Ft;for(var wn=this.pdf.internal.getCurrentPageInfo().pageNumber,In=0;In0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};tt.prototype.drawImage=function(Ft,wn,In,jn,rr,mr,Rr,Wr,oi){var bi=this.pdf.getImageProperties(Ft),Ri=1,ki=1,Io=1,sn=1;jn!==void 0&&Wr!==void 0&&(Io=Wr/jn,sn=oi/rr,Ri=bi.width/jn*Wr/jn,ki=bi.height/rr*oi/rr),mr===void 0&&(mr=wn,Rr=In,wn=0,In=0),jn!==void 0&&Wr===void 0&&(Wr=jn,oi=rr),jn===void 0&&Wr===void 0&&(Wr=bi.width,oi=bi.height);var ji=this.ctx.transform.decompose(),Ca=yr(ji.rotate.shx),ko=new be,vi=(ko=(ko=(ko=ko.multiply(ji.translate)).multiply(ji.skew)).multiply(ji.scale)).applyToRectangle(new ve(mr-wn*Io,Rr-In*sn,jn*Ri,rr*ki));if(this.autoPaging){for(var Ho,no=on.call(this,vi),Mo=[],Uo=0;Uois||oavi||no0)){for(;oi>=0;oi--)if(rr[oi-1].close!==!0&&rr[oi-1].begin!==!0){rr[oi-1].deltas.push(In),rr[oi-1].abs.push(Wr);break}}break;case"bct":In=[Wr.x1-mr[Rr-1].x,Wr.y1-mr[Rr-1].y,Wr.x2-mr[Rr-1].x,Wr.y2-mr[Rr-1].y,Wr.x-mr[Rr-1].x,Wr.y-mr[Rr-1].y],rr[rr.length-1].deltas.push(In);break;case"qct":var bi=mr[Rr-1].x+2/3*(Wr.x1-mr[Rr-1].x),Ri=mr[Rr-1].y+2/3*(Wr.y1-mr[Rr-1].y),ki=Wr.x+2/3*(Wr.x1-Wr.x),Io=Wr.y+2/3*(Wr.y1-Wr.y),sn=Wr.x,ji=Wr.y;In=[bi-mr[Rr-1].x,Ri-mr[Rr-1].y,ki-mr[Rr-1].x,Io-mr[Rr-1].y,sn-mr[Rr-1].x,ji-mr[Rr-1].y],rr[rr.length-1].deltas.push(In);break;case"arc":rr.push({deltas:[],abs:[],arc:!0}),Array.isArray(rr[rr.length-1].abs)&&rr[rr.length-1].abs.push(Wr)}}jn=wn?null:Ft==="stroke"?"stroke":"fill";for(var Ca=!1,ko=0;ko=.01&&(jn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jn*Ft.scale),rr=this.lineWidth,this.lineWidth=rr*Ft.scale);var ca=this.autoPaging!=="text";if(ca||ho.y+ho.h<=Uo){if(ca||ho.y>=no&&ho.x<=Ta){var xo=ca?Ft.text:this.pdf.splitTextToSize(Ft.text,Ft.maxWidth||Ta-ho.x)[0],fA=Hn([JSON.parse(JSON.stringify(ki))],this.posX+this.margin[3],-Ha+no+this.ctx.prevPageLastElemOffset)[0],Wa=ca&&(Ho>ko||Ho=.01&&(this.pdf.setFontSize(jn),this.lineWidth=rr)}}else Ft.scale>=.01&&(jn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jn*Ft.scale),rr=this.lineWidth,this.lineWidth=rr*Ft.scale),this.pdf.text(Ft.text,oi.x+this.posX,oi.y+this.posY,{angle:Ft.angle,align:wn,renderingMode:Ft.renderingMode,maxWidth:Ft.maxWidth}),Ft.scale>=.01&&(this.pdf.setFontSize(jn),this.lineWidth=rr)},Mn=function(Ft,wn,In,jn){In=In||0,jn=jn||0,this.pdf.internal.out(x(Ft+In)+" "+te(wn+jn)+" l")},Nn=function(Ft,wn,In){return this.pdf.lines(Ft,wn,In,null,null)},Sr=function(Ft,wn,In,jn,rr,mr,Rr,Wr){this.pdf.internal.out([E(re(In+Ft)),E(ae(jn+wn)),E(re(rr+Ft)),E(ae(mr+wn)),E(re(Rr+Ft)),E(ae(Wr+wn)),"c"].join(" "))},Hr=function(Ft,wn,In,jn){for(var rr=2*Math.PI,mr=Math.PI/2;wn>In;)wn-=rr;var Rr=Math.abs(In-wn);Rr1e-5;){var Ri=bi+oi*Math.min(Rr,mr);Wr.push(zr.call(this,Ft,bi,Ri)),Rr-=Math.abs(Ri-bi),bi=Ri}return Wr},zr=function(Ft,wn,In){var jn=(In-wn)/2,rr=Ft*Math.cos(jn),mr=Ft*Math.sin(jn),Rr=rr,Wr=-mr,oi=Rr*Rr+Wr*Wr,bi=oi+Rr*rr+Wr*mr,Ri=4/3*(Math.sqrt(2*oi*bi)-bi)/(Rr*mr-Wr*rr),ki=Rr-Ri*Wr,Io=Wr+Ri*Rr,sn=ki,ji=-Io,Ca=jn+wn,ko=Math.cos(Ca),vi=Math.sin(Ca);return{x1:Ft*Math.cos(wn),y1:Ft*Math.sin(wn),x2:ki*ko-Io*vi,y2:ki*vi+Io*ko,x3:sn*ko-ji*vi,y3:sn*vi+ji*ko,x4:Ft*Math.cos(In),y4:Ft*Math.sin(In)}},yr=function(Ft){return 180*Ft/Math.PI},Vr=function(Ft,wn,In,jn,rr,mr){var Rr=Ft+.5*(In-Ft),Wr=wn+.5*(jn-wn),oi=rr+.5*(In-rr),bi=mr+.5*(jn-mr),Ri=Math.min(Ft,rr,Rr,oi),ki=Math.max(Ft,rr,Rr,oi),Io=Math.min(wn,mr,Wr,bi),sn=Math.max(wn,mr,Wr,bi);return new ve(Ri,Io,ki-Ri,sn-Io)},Ei=function(Ft,wn,In,jn,rr,mr,Rr,Wr){var oi,bi,Ri,ki,Io,sn,ji,Ca,ko,vi,Ho,no,Mo,Uo,is=In-Ft,Ta=jn-wn,oa=rr-In,Ha=mr-jn,Qa=Rr-rr,ho=Wr-mr;for(bi=0;bi<41;bi++)ko=(ji=(Ri=Ft+(oi=bi/40)*is)+oi*((Io=In+oi*oa)-Ri))+oi*(Io+oi*(rr+oi*Qa-Io)-ji),vi=(Ca=(ki=wn+oi*Ta)+oi*((sn=jn+oi*Ha)-ki))+oi*(sn+oi*(mr+oi*ho-sn)-Ca),bi==0?(Ho=ko,no=vi,Mo=ko,Uo=vi):(Ho=Math.min(Ho,ko),no=Math.min(no,vi),Mo=Math.max(Mo,ko),Uo=Math.max(Uo,vi));return new ve(Math.round(Ho),Math.round(no),Math.round(Mo-Ho),Math.round(Uo-no))},ui=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ft,wn,In=(Ft=this.ctx.lineDash,wn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ft,lineDashOffset:wn}));this.prevLineDash!==In&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=In)}}})(ao.API),function(y){var E=function(we){var ve,be,Se,Ne,tt,dt,Oe,nn,Xt,on;for(/[^\x00-\xFF]/.test(we),be=[],Se=0,Ne=(we+=ve="\0\0\0\0".slice(we.length%4||4)).length;Ne>Se;Se+=4)(tt=(we.charCodeAt(Se)<<24)+(we.charCodeAt(Se+1)<<16)+(we.charCodeAt(Se+2)<<8)+we.charCodeAt(Se+3))!==0?(dt=(tt=((tt=((tt=((tt=(tt-(on=tt%85))/85)-(Xt=tt%85))/85)-(nn=tt%85))/85)-(Oe=tt%85))/85)%85,be.push(dt+33,Oe+33,nn+33,Xt+33,on+33)):be.push(122);return function(Ot,Hn){for(var On=Hn;On>0;On--)Ot.pop()}(be,ve.length),String.fromCharCode.apply(String,be)+"~>"},x=function(we){var ve,be,Se,Ne,tt,dt=String,Oe="length",nn=255,Xt="charCodeAt",on="slice",Ot="replace";for(we[on](-2),we=we[on](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Se=[],Ne=0,tt=(we+=ve="uuuuu"[on](we[Oe]%5||5))[Oe];tt>Ne;Ne+=5)be=52200625*(we[Xt](Ne)-33)+614125*(we[Xt](Ne+1)-33)+7225*(we[Xt](Ne+2)-33)+85*(we[Xt](Ne+3)-33)+(we[Xt](Ne+4)-33),Se.push(nn&be>>24,nn&be>>16,nn&be>>8,nn&be);return function(Hn,On){for(var Bn=On;Bn>0;Bn--)Hn.pop()}(Se,ve[Oe]),dt.fromCharCode.apply(dt,Se)},te=function(we){return we.split("").map(function(ve){return("0"+ve.charCodeAt().toString(16)).slice(-2)}).join("")+">"},re=function(we){var ve=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((we=we.replace(/\s/g,"")).indexOf(">")!==-1&&(we=we.substr(0,we.indexOf(">"))),we.length%2&&(we+="0"),ve.test(we)===!1)return"";for(var be="",Se=0;SeXt&&(nn=on,on=Xt,Xt=nn);else{if(ve!=="l"&&ve!=="landscape")throw"Invalid orientation: "+ve;ve="l",Xt>on&&(nn=on,on=Xt,Xt=nn)}return{width:on,height:Xt,unit:be,k:tt,orientation:ve}},y.html=function(ve,be){(be=be||{}).callback=be.callback||function(){},be.html2canvas=be.html2canvas||{},be.html2canvas.canvas=be.html2canvas.canvas||this.canvas,be.jsPDF=be.jsPDF||this,be.fontFaces=be.fontFaces?be.fontFaces.map(Wl):null;var Se=new we(be);return be.worker?Se:Se.from(ve).doCallback()}}(ao.API),ao.API.addJS=function(y){return F0=y,this.internal.events.subscribe("postPutResources",function(){Yc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),E0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+F0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yc!==void 0&&E0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var E;y.events.push(["postPutResources",function(){var x=this,te=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var re=x.outline.render().split(/\r\n/),ae=0;ae> endobj")}var Oe=x.internal.newObject();for(x.internal.write("<< /Names [ "),ae=0;ae>","endobj"),E=x.internal.newObject(),x.internal.write("<< /Dests "+Oe+" 0 R"),x.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+E+" 0 R"))}]),y.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(te,re,ae){var we={title:re,options:ae,children:[]};return te==null&&(te=this.root),te.children.push(we),we},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(te){te.id=x.internal.newObjectDeferred();for(var re=0;re0&&(this.line("/First "+this.makeRef(te.children[0])),this.line("/Last "+this.makeRef(te.children[te.children.length-1]))),this.line("/Count "+this.count_r({count:0},te)),this.objEnd()},x.outline.renderItems=function(te){for(var re=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae0&&this.line("/Prev "+this.makeRef(te.children[ae-1])),ae0&&(this.line("/First "+this.makeRef(we.children[0])),this.line("/Last "+this.makeRef(we.children[we.children.length-1])));var ve=this.count=this.count_r({count:0},we);if(ve>0&&this.line("/Count "+ve),we.options&&we.options.pageNumber){var be=x.internal.getPageInfo(we.options.pageNumber);this.line("/Dest ["+be.objId+" 0 R /XYZ 0 "+re(0)+" 0]")}this.objEnd()}for(var Se=0;Se>"}),"transparency"in an&&Array.isArray(an.transparency)&&an.transparency.length>0){for(var zr="",yr=0,Vr=an.transparency.length;yr>",Xt.content=ae;var On=Xt.objId+" 0 R";ae="<>";else if(te.options.pageNumber)switch(ae="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=1};var Se=y.__arabicParser__.arabicLetterHasFinalForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length>=3};var Ne=y.__arabicParser__.arabicLetterHasMedialForm=function(Xt){return we(Xt)&&ae(Xt)&&E[Xt.charCodeAt(0)].length==4},tt=y.__arabicParser__.resolveLigatures=function(Xt){var on=0,Ot=x,Hn="",On=0;for(on=0;on>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(y){var E=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(ve){x=ve}});var te=150;Object.defineProperty(this,"width",{get:function(){return te},set:function(ve){te=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?150:ve,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=te+1)}});var re=300;Object.defineProperty(this,"height",{get:function(){return re},set:function(ve){re=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?300:ve,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=re+1)}});var ae=[];Object.defineProperty(this,"childNodes",{get:function(){return ae},set:function(ve){ae=ve}});var we={};Object.defineProperty(this,"style",{get:function(){return we},set:function(ve){we=ve}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(x,te){var re;if((x=x||"2d")!=="2d")return null;for(re in te)this.pdf.context2d.hasOwnProperty(re)&&(this.pdf.context2d[re]=te[re]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ao.API),function(y){var E={left:0,top:0,bottom:0,right:0},x=!1,te=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),re.call(this))},re=function(){this.internal.__cell__.lastCell=new ae,this.internal.__cell__.pages=1},ae=function(){var be=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return be},set:function(Xt){be=Xt}});var Se=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Se},set:function(Xt){Se=Xt}});var Ne=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ne},set:function(Xt){Ne=Xt}});var tt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return tt},set:function(Xt){tt=Xt}});var dt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return dt},set:function(Xt){dt=Xt}});var Oe=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Oe},set:function(Xt){Oe=Xt}});var nn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nn},set:function(Xt){nn=Xt}}),this};ae.prototype.clone=function(){return new ae(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ae.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(be){return te.call(this),this.internal.__cell__.headerFunction=typeof be=="function"?be:void 0,this},y.getTextDimensions=function(be,Se){te.call(this);var Ne=(Se=Se||{}).fontSize||this.getFontSize(),tt=Se.font||this.getFont(),dt=Se.scaleFactor||this.internal.scaleFactor,Oe=0,nn=0,Xt=0,on=this;if(!Array.isArray(be)&&typeof be!="string"){if(typeof be!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");be=String(be)}var Ot=Se.maxWidth;Ot>0?typeof be=="string"?be=this.splitTextToSize(be,Ot):Object.prototype.toString.call(be)==="[object Array]"&&(be=be.reduce(function(On,Bn){return On.concat(on.splitTextToSize(Bn,Ot))},[])):be=Array.isArray(be)?be:[be];for(var Hn=0;Hnthis.getPageHeight()?(this.cellAddPage(),be.y=tt.top,Oe&&dt&&(this.printHeaderRow(be.lineNumber,!0),be.y+=dt[0].height)):be.y=Se.y+Se.height||be.y),be.text[0]!==void 0&&(this.rect(be.x,be.y,be.width,be.height,x===!0?"FD":void 0),be.align==="right"?this.text(be.text,be.x+be.width-Ne,be.y+Ne,{align:"right",baseline:"top"}):be.align==="center"?this.text(be.text,be.x+be.width/2,be.y+Ne,{align:"center",baseline:"top",maxWidth:be.width-Ne-Ne}):this.text(be.text,be.x+Ne,be.y+Ne,{align:"left",baseline:"top",maxWidth:be.width-Ne-Ne})),this.internal.__cell__.lastCell=be,this};y.table=function(be,Se,Ne,tt,dt){if(te.call(this),!Ne)throw new Error("No data for PDF table.");var Oe,nn,Xt,on,Ot=[],Hn=[],On=[],Bn={},Br={},qr=[],_r=[],$n=(dt=dt||{}).autoSize||!1,Cn=dt.printHeaders!==!1,fr=dt.css&&dt.css["font-size"]!==void 0?16*dt.css["font-size"]:dt.fontSize||12,Dt=dt.margins||Object.assign({width:this.getPageWidth()},E),an=typeof dt.padding=="number"?dt.padding:3,Mn=dt.headerBackgroundColor||"#c8c8c8",Nn=dt.headerTextColor||"#000";if(re.call(this),this.internal.__cell__.printHeaders=Cn,this.internal.__cell__.margins=Dt,this.internal.__cell__.table_font_size=fr,this.internal.__cell__.padding=an,this.internal.__cell__.headerBackgroundColor=Mn,this.internal.__cell__.headerTextColor=Nn,this.setFontSize(fr),tt==null)Hn=Ot=Object.keys(Ne[0]),On=Ot.map(function(){return"left"});else if(Array.isArray(tt)&&(0,oe.Z)(tt[0])==="object")for(Ot=tt.map(function(Ei){return Ei.name}),Hn=tt.map(function(Ei){return Ei.prompt||Ei.name||""}),On=tt.map(function(Ei){return Ei.align||"left"}),Oe=0;Oe0&&this.setTableHeaderRow(dt),this.setFont(void 0,"normal"),x=!1}}(ao.API);var bA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],GA=$a(lc),rl=[100,200,300,400,500,600,700,800,900],Mf=$a(rl);function Wl(y){var E=y.family.replace(/"|'/g,"").toLowerCase(),x=function(ae){return bA[ae=ae||"normal"]?ae:"normal"}(y.style),te=function(ae){return ae?typeof ae=="number"?ae>=100&&ae<=900&&ae%100==0?ae:400:/^\d00$/.test(ae)?parseInt(ae):ae==="bold"?700:400:400}(y.weight),re=function(ae){return typeof GA[ae=ae||"normal"]=="number"?ae:"normal"}(y.stretch);return{family:E,style:x,weight:te,stretch:re,src:y.src||[],ref:y.ref||{name:E,style:[re,x,te].join(" ")}}}function uc(y,E,x,te){var re;for(re=x;re>=0&&re=0&&re>>1)&255}return re}function T0(y,E,x){var te=y.length,re=[];re[0]=4;for(var ae=0;ae>ae&we}function Q0(y,E,x,te){var re=x*te,ae=Math.floor(re/8),we=16-(re-8*ae+te),ve=(1<>8&255;Se.setUint8(Ne,dt)}})(y,ae,M0(y,ae)&~(ve<>7,we=1<<1+(7&re);y[E++],y[E++];var ve=null,be=null;ae&&(ve=E,be=we,E+=3*we);var Se=!0,Ne=[],tt=0,dt=null,Oe=0,nn=null;for(this.width=x,this.height=te;Se&&E=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}break;case 249:if(y[E++]!==4||y[E+4]!==0)throw new Error("Invalid graphics extension block.");var Xt=y[E++];tt=y[E++]|y[E++]<<8,dt=y[E++],1&Xt||(dt=null),Oe=Xt>>2&7,E++;break;case 254:for(;;){if(!((Dt=y[E++])>=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}break;default:throw new Error("Unknown graphic control label: 0x"+y[E-1].toString(16))}break;case 44:var on=y[E++]|y[E++]<<8,Ot=y[E++]|y[E++]<<8,Hn=y[E++]|y[E++]<<8,On=y[E++]|y[E++]<<8,Bn=y[E++],Br=Bn>>6&1,qr=1<<1+(7&Bn),_r=ve,$n=be,Cn=!1;Bn>>7&&(Cn=!0,_r=E,$n=qr,E+=3*qr);var fr=E;for(E++;;){var Dt;if(!((Dt=y[E++])>=0))throw Error("Invalid block size");if(Dt===0)break;E+=Dt}Ne.push({x:on,y:Ot,width:Hn,height:On,has_local_palette:Cn,palette_offset:_r,palette_size:$n,data_offset:fr,data_length:E-fr,transparent_index:dt,interlaced:!!Br,delay:tt,disposal:Oe});break;case 59:Se=!1;break;default:throw new Error("Unknown gif block: 0x"+y[E-1].toString(16))}this.numFrames=function(){return Ne.length},this.loopCount=function(){return nn},this.frameInfo=function(an){if(an<0||an>=Ne.length)throw new Error("Frame index out of range.");return Ne[an]},this.decodeAndBlitFrameBGRA=function(an,Mn){var Nn=this.frameInfo(an),Sr=Nn.width*Nn.height,Hr=new Uint8Array(Sr);k0(y,Nn.data_offset,Hr,Sr);var zr=Nn.palette_offset,yr=Nn.transparent_index;yr===null&&(yr=256);var Vr=Nn.width,Ei=x-Vr,ui=Vr,Ft=4*(Nn.y*x+Nn.x),wn=4*((Nn.y+Nn.height)*x+Nn.x),In=Ft,jn=4*Ei;Nn.interlaced===!0&&(jn+=4*x*7);for(var rr=8,mr=0,Rr=Hr.length;mr=wn&&(jn=4*Ei+4*x*(rr-1),In=Ft+(Vr+Ei)*(rr<<1),rr>>=1)),Wr===yr)In+=4;else{var oi=y[zr+3*Wr],bi=y[zr+3*Wr+1],Ri=y[zr+3*Wr+2];Mn[In++]=Ri,Mn[In++]=bi,Mn[In++]=oi,Mn[In++]=255}--ui}},this.decodeAndBlitFrameRGBA=function(an,Mn){var Nn=this.frameInfo(an),Sr=Nn.width*Nn.height,Hr=new Uint8Array(Sr);k0(y,Nn.data_offset,Hr,Sr);var zr=Nn.palette_offset,yr=Nn.transparent_index;yr===null&&(yr=256);var Vr=Nn.width,Ei=x-Vr,ui=Vr,Ft=4*(Nn.y*x+Nn.x),wn=4*((Nn.y+Nn.height)*x+Nn.x),In=Ft,jn=4*Ei;Nn.interlaced===!0&&(jn+=4*x*7);for(var rr=8,mr=0,Rr=Hr.length;mr=wn&&(jn=4*Ei+4*x*(rr-1),In=Ft+(Vr+Ei)*(rr<<1),rr>>=1)),Wr===yr)In+=4;else{var oi=y[zr+3*Wr],bi=y[zr+3*Wr+1],Ri=y[zr+3*Wr+2];Mn[In++]=oi,Mn[In++]=bi,Mn[In++]=Ri,Mn[In++]=255}--ui}}}function k0(y,E,x,te){for(var re=y[E++],ae=1<>=be,Ne-=be,on!==ae){if(on===we)break;for(var Ot=onae;)On=nn[On]>>8,++Hn;var Bn=On;if(dt+Hn+(Ot!==on?1:0)>te)return void Pa.log("Warning, gif stream longer than expected.");x[dt++]=Bn;var Br=dt+=Hn;for(Ot!==on&&(x[dt++]=Bn),On=Ot;Hn--;)On=nn[On],x[--Br]=255&On,On>>=8;Xt!==null&&ve<4096&&(nn[ve++]=Xt<<8|Bn,ve>=Se+1&&be<12&&(++be,Se=Se<<1|1)),Xt=on}else ve=we+1,Se=(1<<(be=re+1))-1,Xt=null}return dt!==te&&Pa.log("Warning, gif stream shorter than expected."),x}function Km(y){var E,x,te,re,ae,we=Math.floor,ve=new Array(64),be=new Array(64),Se=new Array(64),Ne=new Array(64),tt=new Array(65535),dt=new Array(65535),Oe=new Array(64),nn=new Array(64),Xt=[],on=0,Ot=7,Hn=new Array(64),On=new Array(64),Bn=new Array(64),Br=new Array(256),qr=new Array(2048),_r=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],$n=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Cn=[0,1,2,3,4,5,6,7,8,9,10,11],fr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],an=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Mn=[0,1,2,3,4,5,6,7,8,9,10,11],Nn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Sr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hr(Ft,wn){for(var In=0,jn=0,rr=new Array,mr=1;mr<=16;mr++){for(var Rr=1;Rr<=Ft[mr];Rr++)rr[wn[jn]]=[],rr[wn[jn]][0]=In,rr[wn[jn]][1]=mr,jn++,In++;In*=2}return rr}function zr(Ft){for(var wn=Ft[0],In=Ft[1]-1;In>=0;)wn&1<>8&255),yr(255&Ft)}function Ei(Ft,wn,In,jn,rr){for(var mr,Rr=rr[0],Wr=rr[240],oi=function(vi,Ho){var no,Mo,Uo,is,Ta,oa,Ha,Qa,ho,ca,xo=0;for(ho=0;ho<8;++ho){no=vi[xo],Mo=vi[xo+1],Uo=vi[xo+2],is=vi[xo+3],Ta=vi[xo+4],oa=vi[xo+5],Ha=vi[xo+6];var fA=no+(Qa=vi[xo+7]),Wa=no-Qa,Ea=Mo+Ha,Fa=Mo-Ha,Ns=Uo+oa,No=Uo-oa,ms=is+Ta,Go=is-Ta,aa=fA+ms,Ps=fA-ms,La=Ea+Ns,jo=Ea-Ns;vi[xo]=aa+La,vi[xo+4]=aa-La;var os=.707106781*(jo+Ps);vi[xo+2]=Ps+os,vi[xo+6]=Ps-os;var Nh=.382683433*((aa=Go+No)-(jo=Fa+Wa)),wl=.5411961*aa+Nh,Hf=1.306562965*jo+Nh,$c=.707106781*(La=No+Fa),zo=Wa+$c,_f=Wa-$c;vi[xo+5]=_f+wl,vi[xo+3]=_f-wl,vi[xo+1]=zo+Hf,vi[xo+7]=zo-Hf,xo+=8}for(xo=0,ho=0;ho<8;++ho){no=vi[xo],Mo=vi[xo+8],Uo=vi[xo+16],is=vi[xo+24],Ta=vi[xo+32],oa=vi[xo+40],Ha=vi[xo+48];var Rf=no+(Qa=vi[xo+56]),Mu=no-Qa,ku=Mo+Ha,Ys=Mo-Ha,VA=Uo+oa,il=Uo-oa,Ph=is+Ta,Nd=is-Ta,hc=Rf+Ph,qc=Rf-Ph,pc=ku+VA,gc=ku-VA;vi[xo]=hc+pc,vi[xo+32]=hc-pc;var Hu=.707106781*(gc+qc);vi[xo+16]=qc+Hu,vi[xo+48]=qc-Hu;var Th=.382683433*((hc=Nd+il)-(gc=Ys+Mu)),ef=.5411961*hc+Th,Qh=1.306562965*gc+Th,Mp=.707106781*(pc=il+Ys),kp=Mu+Mp,Hp=Mu-Mp;vi[xo+40]=Hp+ef,vi[xo+24]=Hp-ef,vi[xo+8]=kp+Qh,vi[xo+56]=kp-Qh,xo++}for(ho=0;ho<64;++ho)ca=vi[ho]*Ho[ho],Oe[ho]=ca>0?ca+.5|0:ca-.5|0;return Oe}(Ft,wn),bi=0;bi<64;++bi)nn[_r[bi]]=oi[bi];var Ri=nn[0]-In;In=nn[0],Ri==0?zr(jn[0]):(zr(jn[dt[mr=32767+Ri]]),zr(tt[mr]));for(var ki=63;ki>0&&nn[ki]==0;)ki--;if(ki==0)return zr(Rr),In;for(var Io,sn=1;sn<=ki;){for(var ji=sn;nn[sn]==0&&sn<=ki;)++sn;var Ca=sn-ji;if(Ca>=16){Io=Ca>>4;for(var ko=1;ko<=Io;++ko)zr(Wr);Ca&=15}mr=32767+nn[sn],zr(rr[(Ca<<4)+dt[mr]]),zr(tt[mr]),sn++}return ki!=63&&zr(Rr),In}function ui(Ft){Ft=Math.min(Math.max(Ft,1),100),ae!=Ft&&(function(wn){for(var In=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],jn=0;jn<64;jn++){var rr=we((In[jn]*wn+50)/100);rr=Math.min(Math.max(rr,1),255),ve[_r[jn]]=rr}for(var mr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Rr=0;Rr<64;Rr++){var Wr=we((mr[Rr]*wn+50)/100);Wr=Math.min(Math.max(Wr,1),255),be[_r[Rr]]=Wr}for(var oi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],bi=0,Ri=0;Ri<8;Ri++)for(var ki=0;ki<8;ki++)Se[bi]=1/(ve[_r[bi]]*oi[Ri]*oi[ki]*8),Ne[bi]=1/(be[_r[bi]]*oi[Ri]*oi[ki]*8),bi++}(Ft<50?Math.floor(5e3/Ft):Math.floor(200-2*Ft)),ae=Ft)}this.encode=function(Ft,wn){wn&&ui(wn),Xt=new Array,on=0,Ot=7,Vr(65496),Vr(65504),Vr(16),yr(74),yr(70),yr(73),yr(70),yr(0),yr(1),yr(1),yr(0),Vr(1),Vr(1),yr(0),yr(0),function(){Vr(65499),Vr(132),yr(0);for(var Mo=0;Mo<64;Mo++)yr(ve[Mo]);yr(1);for(var Uo=0;Uo<64;Uo++)yr(be[Uo])}(),function(Mo,Uo){Vr(65472),Vr(17),yr(8),Vr(Uo),Vr(Mo),yr(3),yr(1),yr(17),yr(0),yr(2),yr(17),yr(1),yr(3),yr(17),yr(1)}(Ft.width,Ft.height),function(){Vr(65476),Vr(418),yr(0);for(var Mo=0;Mo<16;Mo++)yr($n[Mo+1]);for(var Uo=0;Uo<=11;Uo++)yr(Cn[Uo]);yr(16);for(var is=0;is<16;is++)yr(fr[is+1]);for(var Ta=0;Ta<=161;Ta++)yr(Dt[Ta]);yr(1);for(var oa=0;oa<16;oa++)yr(an[oa+1]);for(var Ha=0;Ha<=11;Ha++)yr(Mn[Ha]);yr(17);for(var Qa=0;Qa<16;Qa++)yr(Nn[Qa+1]);for(var ho=0;ho<=161;ho++)yr(Sr[ho])}(),Vr(65498),Vr(12),yr(3),yr(1),yr(0),yr(2),yr(17),yr(3),yr(17),yr(0),yr(63),yr(0);var In=0,jn=0,rr=0;on=0,Ot=7,this.encode.displayName="_encode_";for(var mr,Rr,Wr,oi,bi,Ri,ki,Io,sn,ji=Ft.data,Ca=Ft.width,ko=Ft.height,vi=4*Ca,Ho=0;Ho>3)*vi+(ki=4*(7&sn)),Ho+Io>=ko&&(Ri-=vi*(Ho+1+Io-ko)),mr+ki>=vi&&(Ri-=mr+ki-vi+4),Rr=ji[Ri++],Wr=ji[Ri++],oi=ji[Ri++],Hn[sn]=(qr[Rr]+qr[Wr+256|0]+qr[oi+512|0]>>16)-128,On[sn]=(qr[Rr+768|0]+qr[Wr+1024|0]+qr[oi+1280|0]>>16)-128,Bn[sn]=(qr[Rr+1280|0]+qr[Wr+1536|0]+qr[oi+1792|0]>>16)-128;In=Ei(Hn,Se,In,E,te),jn=Ei(On,Ne,jn,x,re),rr=Ei(Bn,Ne,rr,x,re),mr+=32}Ho+=8}if(Ot>=0){var no=[];no[1]=Ot+1,no[0]=(1<an;an++)if(Cn[fr+an]!=Dt.charCodeAt(an))return!0;return!1}function te(Cn,fr,Dt,an,Mn){for(var Nn=0;NnNn+1?[]:new fr),!(Sr.length>>0;se&Ue;)Ue>>>=1;return Ue?(se&Ue-1)+Ue:se}function Dt(se,ge,Ue,ke,st){E(!(ke%Ue));do se[ge+(ke-=Ue)]=st;while(0=st),512>=st)var yt=ae(512);else if((yt=ae(st))==null)return 0;return function(xt,Pt,Gt,cn,Yn,br){var fn,nr,hr=Pt,$r=1<fn;++fn){if(vr[fn]>1<(pa-=vr[fn]))return 0;for(;0=fn;++fn,Yn<<=1){if(qi+=pa<<=1,0>(pa-=vr[fn]))return 0;for(;0wi&&!(0>=(ii-=vr[wi]));)++wi,ii<<=1;$r+=so=1<<(ii=wi-Gt),xt[Pt+(wi=wo&di)].g=ii+Gt,xt[Pt+wi].value=hr-Pt-wi}cn.g=fn-Gt,cn.value=br[nr++],Dt(xt,hr+(wo>>Gt),Yn,so,cn),wo=fr(wo,fn)}}return qi!=2*ei[15]-1?0:$r}(se,ge,Ue,ke,st,yt)}function Mn(){this.value=this.g=0}function Nn(){this.value=this.g=0}function Sr(){this.G=we(5,Mn),this.H=ae(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=we(Vh,Nn)}function Hr(se,ge,Ue,ke){E(se!=null),E(ge!=null),E(2147483648>ke),se.Ca=254,se.I=0,se.b=-8,se.Ka=0,se.oa=ge,se.pa=Ue,se.Jd=ge,se.Yc=Ue+ke,se.Zc=4<=ke?Ue+ke-4+1:Ue,Rr(se)}function zr(se,ge){for(var Ue=0;0ke),se.Sb=ke,se.Ra=0,se.u=0,se.h=0,4>>=8,se.Ra+=se.oa[se.pa+se.bb]<>>0,++se.bb,se.u-=8;jn(se)&&(se.h=1,se.u=0)}function ui(se,ge){if(E(0<=ge),!se.h&&ge<=uu){var Ue=In(se)&lu[ge];return se.u+=ge,Ei(se),Ue}return se.h=1,se.u=0}function Ft(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function wn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function In(se){return se.Ra>>>(se.u&Md-1)>>>0}function jn(se){return E(se.bb<=se.Sb),se.h||se.bb==se.Sb&&se.u>Md}function rr(se,ge){se.u=ge,se.h=jn(se)}function mr(se){se.u>=$f&&(E(se.u>=$f),Ei(se))}function Rr(se){E(se!=null&&se.oa!=null),se.pa>>0,se.b+=8):(E(se!=null&&se.oa!=null),se.pase.b&&Rr(se);var ke=se.b,st=Ue*ge>>>8,yt=(se.I>>>ke>st)+0;for(yt?(Ue-=st,se.I-=st+1<>>0):Ue=st+1,ke=Ue,st=0;256<=ke;)st+=8,ke>>=8;return ke=7^st+kd[ke],se.b-=ke,se.Ca=(Ue<>24&255,se[ge+1]=Ue>>16&255,se[ge+2]=Ue>>8&255,se[ge+3]=255&Ue}function Ri(se,ge){return se[ge+0]|se[ge+1]<<8}function ki(se,ge){return Ri(se,ge)|se[ge+2]<<16}function Io(se,ge){return Ri(se,ge)|Ri(se,ge+2)<<16}function sn(se,ge){var Ue=1<=st||0>=yt?0:(Ue[0]=st,ke[0]=yt,1)}function vi(se,ge){return se+(1<>>ge}function Ho(se,ge){return((4278255360&se)+(4278255360&ge)>>>0&4278255360)+((16711935&se)+(16711935&ge)>>>0&16711935)>>>0}function no(se,ge){Cn[ge]=function(Ue,ke,st,yt,xt,Pt,Gt){var cn;for(cn=0;cn>>1)+(se&ge)>>>0}function is(se){return 0<=se&&256>se?se:0>se?0:255>1))}function oa(se,ge,Ue){return Math.abs(ge-Ue)-Math.abs(se-Ue)}function Ha(se,ge,Ue,ke,st,yt,xt){for(ke=yt[xt-1],Ue=0;Ue>8&255,Gt=16711935&(Gt=(Gt=16711935&xt)+((Pt<<16)+Pt));ke[st+yt]=(4278255360&xt)+Gt>>>0}}function ho(se,ge){ge.jd=255&se,ge.hd=se>>8&255,ge.ud=se>>16&255}function ca(se,ge,Ue,ke,st,yt){var xt;for(xt=0;xt>>8,cn=Pt,Yn=255&(Yn=(Yn=Pt>>>16)+((se.jd<<24>>24)*(Gt<<24>>24)>>>5));cn=255&(cn=(cn+=(se.hd<<24>>24)*(Gt<<24>>24)>>>5)+((se.ud<<24>>24)*(Yn<<24>>24)>>>5)),st[yt+xt]=(4278255360&Pt)+(Yn<<16)+cn}}function xo(se,ge,Ue,ke,st){Cn[ge]=function(yt,xt,Pt,Gt,cn,Yn,br,fn,nr){for(Gt=br;Gt>yt.b,nr=yt.Ea,hr=yt.K[0],$r=yt.w;if(8>fn)for(yt=(1<>=fn}else Cn["VP8LMapColor"+Ue](Gt,cn,hr,$r,Yn,br,xt,Pt,nr)}}function fA(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&255,ke[st++]=yt>>8&255,ke[st++]=255&yt}}function Wa(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&255,ke[st++]=yt>>8&255,ke[st++]=255&yt,ke[st++]=yt>>24&255}}function Ea(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&240|xt>>12&15,xt=240&xt|xt>>28&15;ke[st++]=yt,ke[st++]=xt}}function Fa(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>16&248|xt>>13&7,xt=xt>>5&224|xt>>3&31;ke[st++]=yt,ke[st++]=xt}}function Ns(se,ge,Ue,ke,st){for(Ue=ge+Ue;ge>8&255,ke[st++]=yt>>16&255}}function No(se,ge,Ue,ke,st,yt){if(yt==0)for(Ue=ge+Ue;ge>24|yt[1]>>8&65280|yt[2]<<8&16711680|yt[3]<<24)>>>0),st+=32;else te(ke,st,se,ge,Ue)}function ms(se,ge){Cn[ge][0]=Cn[se+"0"],Cn[ge][1]=Cn[se+"1"],Cn[ge][2]=Cn[se+"2"],Cn[ge][3]=Cn[se+"3"],Cn[ge][4]=Cn[se+"4"],Cn[ge][5]=Cn[se+"5"],Cn[ge][6]=Cn[se+"6"],Cn[ge][7]=Cn[se+"7"],Cn[ge][8]=Cn[se+"8"],Cn[ge][9]=Cn[se+"9"],Cn[ge][10]=Cn[se+"10"],Cn[ge][11]=Cn[se+"11"],Cn[ge][12]=Cn[se+"12"],Cn[ge][13]=Cn[se+"13"],Cn[ge][14]=Cn[se+"0"],Cn[ge][15]=Cn[se+"0"]}function Go(se){return se==u0||se==c0||se==Im||se==f0}function aa(){this.eb=[],this.size=this.A=this.fb=0}function Ps(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function La(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new aa,this.f.kb=new Ps,this.sd=null}function jo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function os(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Nh(se){return alert("todo:WebPSamplerProcessPlane"),se.T}function wl(se,ge){var Ue=se.T,ke=ge.ba.f.RGBA,st=ke.eb,yt=ke.fb+se.ka*ke.A,xt=Ku[ge.ba.S],Pt=se.y,Gt=se.O,cn=se.f,Yn=se.N,br=se.ea,fn=se.W,nr=ge.cc,hr=ge.dc,$r=ge.Mc,vr=ge.Nc,ei=se.ka,ii=se.ka+se.T,wi=se.U,di=wi+1>>1;for(ei==0?xt(Pt,Gt,null,null,cn,Yn,br,fn,cn,Yn,br,fn,st,yt,null,null,wi):(xt(ge.ec,ge.fc,Pt,Gt,nr,hr,$r,vr,cn,Yn,br,fn,st,yt-ke.A,st,yt,wi),++Ue);ei+2Ue,st=Ue==Sm||Ue==Em||Ue==Fm||Ue==l0||Ue==12||Go(Ue);if(ge.memory=null,ge.Ib=null,ge.Jb=null,ge.Nd=null,!Qg(ge.Oa,se,st?11:12))return 0;if(st&&Go(Ue)&&Ng(),se.da)alert("todo:use_scaling");else{if(ke){if(ge.Ib=Nh,se.Kb){if(Ue=se.U+1>>1,ge.memory=ae(se.U+2*Ue),ge.memory==null)return 0;ge.ec=ge.memory,ge.fc=0,ge.cc=ge.ec,ge.dc=ge.fc+se.U,ge.Mc=ge.cc,ge.Nc=ge.dc+Ue,ge.Ib=wl,Ng()}}else alert("todo:EmitYUV");st&&(ge.Jb=Hf,ke&&vc())}if(ke&&!dv){for(se=0;256>se;++se)f1[se]=89858*(se-128)+Um>>Lm,p1[se]=-22014*(se-128)+Um,h1[se]=-45773*(se-128),d1[se]=113618*(se-128)+Um>>Lm;for(se=Gg;se>Lm,g1[se-Gg]=tf(ge,255),m1[se-Gg]=tf(ge+8>>4,15);dv=1}return 1}function zo(se){var ge=se.ma,Ue=se.U,ke=se.T;return E(!(1&se.ka)),0>=Ue||0>=ke?0:(Ue=ge.Ib(se,ge),ge.Jb!=null&&ge.Jb(se,ge,Ue),ge.Dc+=Ue,1)}function _f(se){se.ma.memory=null}function Rf(se,ge,Ue,ke){return ui(se,8)!=47?0:(ge[0]=ui(se,14)+1,Ue[0]=ui(se,14)+1,ke[0]=ui(se,1),ui(se,3)!=0?0:!se.h)}function Mu(se,ge){if(4>se)return se+1;var Ue=se-2>>1;return(2+(1&se)<>4)*se+(8-(15&Ue)))?Ue:1;var Ue}function Ys(se,ge,Ue){var ke=In(Ue),st=se[ge+=255&ke].g-8;return 0>>0,E(8>=Ue.g),se.g}function il(se,ge,Ue){var ke=se.xc;return E((ge=ke==0?0:se.vc[se.md*(Ue>>ke)+(ge>>ke)])>so.b)*qi;$rwi&&(Ao=wi),(0,_g[_a[TA++]>>8&15])(fn,nr+ +ga,ei,ii+ga-wi,Ao-ga,ei,ii+ga),ga=Ao}nr+=wi,ii+=wi,++$r&wo||(so+=qi)}br!=cn.nc&&te(Gt,Pt-hr,Gt,Pt+(br-Yn-1)*hr,hr);break;case 1:for(hr=fn,vr=nr,wi=(fn=cn.Ea)-(ii=fn&~(ei=(nr=1<>cn.b)*$r;Yn=st),0yt.o&&(ke=yt.o),Ue=ke?Ue=0:(st[0]+=4*yt.v,yt.ka=Ue-yt.j,yt.U=yt.va-yt.v,yt.T=ke-Ue,Ue=1),Ue){if(Pt=Pt[0],11>(Ue=se.ca).S){var Yn=Ue.f.RGBA,br=(ke=Ue.S,st=yt.U,yt=yt.T,cn=Yn.eb,Yn.A),fn=yt;for(Yn=Yn.fb+se.Ma*Yn.A;0ke){var st=se.l.width,yt=Ue.ca,xt=Ue.tb+st*ke,Pt=se.V,Gt=se.Ba+se.c*ke,cn=se.gc;E(se.ab==1),E(cn[0].hc==3),af(cn[0],ke,ge,Pt,Gt,yt,xt),qc(Ue,ke,ge,yt,xt,st)}se.C=se.Ma=ge}function gc(se,ge,Ue,ke,st,yt,xt){var Pt=se.$/ke,Gt=se.$%ke,cn=se.m,Yn=se.s,br=Ue+se.$,fn=br;st=Ue+ke*st;var nr=Ue+ke*yt,hr=280+Yn.ua,$r=se.Pb?Pt:16777216,vr=0=$r){var wo=br-Ue;E(($r=se).Pb),$r.wd=$r.m,$r.xd=wo,0<$r.s.ua&&ji($r.s.Wa,$r.s.vb),$r=Pt+e1}if(Gt&ei||(ii=il(Yn,Gt,Pt)),E(ii!=null),ii.Qb&&(ge[br]=ii.qb,wi=!0),!wi)if(mr(cn),ii.jc){di=cn,wo=ge;var qi=br,pa=ii.pd[In(di)&Vh-1];E(ii.jc),256>pa.g?(rr(di,di.u+pa.g),wo[qi]=pa.value,di=0):(rr(di,di.u+pa.g-256),E(256<=pa.value),di=pa.value),di==0&&(wi=!0)}else di=Ys(ii.G[0],ii.H[0],cn);if(cn.h)break;if(wi||256>di){if(!wi)if(ii.nd)ge[br]=(ii.qb|di<<8)>>>0;else{if(mr(cn),wi=Ys(ii.G[1],ii.H[1],cn),mr(cn),wo=Ys(ii.G[2],ii.H[2],cn),qi=Ys(ii.G[3],ii.H[3],cn),cn.h)break;ge[br]=(qi<<24|wi<<16|di<<8|wo)>>>0}if(wi=!1,++br,++Gt>=ke&&(Gt=0,++Pt,xt!=null&&Pt<=yt&&!(Pt%16)&&xt(se,Pt),vr!=null))for(;fn>>vr.Mb]=di}else if(280>di){if(di=Mu(di-256,cn),wo=Ys(ii.G[4],ii.H[4],cn),mr(cn),wo=ku(ke,wo=Mu(wo,cn)),cn.h)break;if(br-Ue=ke;)Gt-=ke,++Pt,xt!=null&&Pt<=yt&&!(Pt%16)&&xt(se,Pt);if(E(br<=st),Gt&ei&&(ii=il(Yn,Gt,Pt)),vr!=null)for(;fn>>vr.Mb]=di}else{if(!(di>>vr.Mb]=di;di=br,E(!(wi>>>(wo=vr).Xa)),ge[di]=wo.X[wi],wi=!0}wi||E(cn.h==jn(cn))}if(se.Pb&&cn.h&&bryt?yt:Pt),se.a=0,se.$=br-Ue}return 1}return se.a=3,0}function Hu(se){E(se!=null),se.vc=null,se.yc=null,se.Ya=null;var ge=se.Wa;ge!=null&&(ge.X=null),se.vb=null,E(se!=null)}function Th(){var se=new Jo;return se==null?null:(se.a=0,se.xb=sv,ms("Predictor","VP8LPredictors"),ms("Predictor","VP8LPredictors_C"),ms("PredictorAdd","VP8LPredictorsAdd"),ms("PredictorAdd","VP8LPredictorsAdd_C"),dA=Qa,Rg=ca,jg=fA,Hd=Wa,_d=Ea,Rd=Fa,Zh=Ns,Cn.VP8LMapColor32b=of,Cn.VP8LMapColor8b=Hg,se)}function ef(se,ge,Ue,ke,st){var yt=1,xt=[se],Pt=[ge],Gt=ke.m,cn=ke.s,Yn=null,br=0;e:for(;;){if(Ue)for(;yt&&ui(Gt,1);){var fn=xt,nr=Pt,hr=ke,$r=1,vr=hr.m,ei=hr.gc[hr.ab],ii=ui(vr,2);if(hr.Oc&1<=hr.ab),ii){case 0:case 1:ei.b=ui(vr,3)+2,$r=ef(vi(ei.Ea,ei.b),vi(ei.nc,ei.b),0,hr,ei.K),ei.K=ei.K[0];break;case 3:var wi,di=ui(vr,8)+1,wo=16>so.b),TA=ae(_a);if(TA==null)wi=0;else{var ga=so.K[0],Ao=so.w;for(TA[0]=so.K[0][0],qi=1;qi<1*pa;++qi)TA[qi]=Ho(ga[Ao+qi],TA[qi-1]);for(;qi<4*_a;++qi)TA[qi]=0;so.K[0]=null,so.K[0]=TA,wi=1}}$r=wi;break;case 2:break;default:E(0)}yt=$r}}if(xt=xt[0],Pt=Pt[0],yt&&ui(Gt,1)&&!(yt=1<=(br=ui(Gt,4))&&11>=br)){ke.a=3;break e}var Ni;if(Ni=yt)t:{var pA,sa,za,Fs=ke,sl=xt,Ql=Pt,Js=br,bl=Ue,Ml=Fs.m,QA=Fs.s,Ga=[null],ss=1,$s=0,As=qv[Js];n:for(;;){if(bl&&ui(Ml,1)){var Al=ui(Ml,3)+2,wc=vi(sl,Al),gA=vi(Ql,Al),Kl=wc*gA;if(!ef(wc,gA,0,Fs,Ga))break n;for(Ga=Ga[0],QA.xc=Al,pA=0;pA>8&65535;Ga[pA]=hs,hs>=ss&&(ss=hs+1)}}if(Ml.h)break n;for(sa=0;5>sa;++sa){var MA=ov[sa];!sa&&0=kl),hu=du;var Gl=ae($s);if(hu==null||Gl==null||fu==null){Fs.a=1;break n}var pu=fu;for(pA=za=0;pAsa;++sa){MA=ov[sa],gu[sa]=pu,bc[sa]=za,!sa&&0Qm)break r}else v0=Qm;for(Zg=0;ZgXp)wv[Zg++]=Xp,Xp!=0&&(bv=Xp);else{var F1=Xp==16,xv=Xp-16,I1=Xv[xv],Sv=ui(Gd,Zv[xv])+I1;if(Zg+Sv>Qm)break r;for(var L1=F1?bv:0;0=sa){var Xg,w0=Gl[0];for(Xg=1;Xgw0&&(w0=Gl[Xg]);ll+=w0}}if(ys.nd=td,ys.Qb=0,td&&(ys.qb=(gu[3][bc[3]+0].value<<24|gu[1][bc[1]+0].value<<16|gu[2][bc[2]+0].value)>>>0,Yh==0&&256>gu[0][bc[0]+0].value&&(ys.Qb=1,ys.qb+=gu[0][bc[0]+0].value<<8)),ys.jc=!ys.Qb&&6>ll,ys.jc){var Mm,nd=ys;for(Mm=0;Mm>=VA(km,8,Zd),Vd>>=VA(nd.G[1][nd.H[1]+Vd],16,Zd),Vd>>=VA(nd.G[2][nd.H[2]+Vd],0,Zd),VA(nd.G[3][nd.H[3]+Vd],24,Zd))}}}QA.vc=Ga,QA.Wb=ss,QA.Ya=hu,QA.yc=fu,Ni=1;break t}Ni=0}if(!(yt=Ni)){ke.a=3;break e}if(0ke+1?[]:0),!(st.lengthse?0:se>ge?ge:se}function _p(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var se=new Am;return se!=null&&(se.a=0,se.sc="OK",se.cb=0,se.Xb=0,Kg||(Kg=Rp)),se}function BA(se,ge,Ue){return se.a==0&&(se.a=ge,se.sc=Ue,se.cb=0),0}function lm(se,ge,Ue){return 3<=Ue&&se[ge+0]==157&&se[ge+1]==1&&se[ge+2]==42}function nf(se,ge){if(se==null)return 0;if(se.a=0,se.sc="OK",ge==null)return BA(se,2,"null VP8Io passed to VP8GetHeaders()");var Ue=ge.data,ke=ge.w,st=ge.ha;if(4>st)return BA(se,7,"Truncated header.");var yt=Ue[ke+0]|Ue[ke+1]<<8|Ue[ke+2]<<16,xt=se.Od;if(xt.Rb=!(1&yt),xt.td=yt>>1&7,xt.yd=yt>>4&1,xt.ub=yt>>5,3st)return BA(se,7,"cannot parse picture header");if(!lm(Ue,ke,st))return BA(se,3,"Bad code word");Pt.c=16383&(Ue[ke+4]<<8|Ue[ke+3]),Pt.Td=Ue[ke+4]>>6,Pt.i=16383&(Ue[ke+6]<<8|Ue[ke+5]),Pt.Ud=Ue[ke+6]>>6,ke+=7,st-=7,se.za=Pt.c+15>>4,se.Ub=Pt.i+15>>4,ge.width=Pt.c,ge.height=Pt.i,ge.Da=0,ge.j=0,ge.v=0,ge.va=ge.width,ge.o=ge.height,ge.da=0,ge.ib=ge.width,ge.hb=ge.height,ge.U=ge.width,ge.T=ge.height,re((yt=se.Pa).jb,0,255,yt.jb.length),E((yt=se.Qa)!=null),yt.Cb=0,yt.Bb=0,yt.Fb=1,re(yt.Zb,0,0,yt.Zb.length),re(yt.Lb,0,0,yt.Lb)}if(xt.ub>st)return BA(se,7,"bad partition length");Hr(yt=se.m,Ue,ke,xt.ub),ke+=xt.ub,st-=xt.ub,xt.Rb&&(Pt.Ld=Wr(yt),Pt.Kd=Wr(yt)),Pt=se.Qa;var Gt,cn=se.Pa;if(E(yt!=null),E(Pt!=null),Pt.Cb=Wr(yt),Pt.Cb){if(Pt.Bb=Wr(yt),Wr(yt)){for(Pt.Fb=Wr(yt),Gt=0;4>Gt;++Gt)Pt.Zb[Gt]=Wr(yt)?yr(yt,7):0;for(Gt=0;4>Gt;++Gt)Pt.Lb[Gt]=Wr(yt)?yr(yt,6):0}if(Pt.Bb)for(Gt=0;3>Gt;++Gt)cn.jb[Gt]=Wr(yt)?zr(yt,8):255}else Pt.Bb=0;if(yt.Ka)return BA(se,3,"cannot parse segment header");if((Pt=se.ed).zd=Wr(yt),Pt.Tb=zr(yt,6),Pt.wb=zr(yt,3),Pt.Pc=Wr(yt),Pt.Pc&&Wr(yt)){for(cn=0;4>cn;++cn)Wr(yt)&&(Pt.vd[cn]=yr(yt,6));for(cn=0;4>cn;++cn)Wr(yt)&&(Pt.od[cn]=yr(yt,6))}if(se.L=Pt.Tb==0?0:Pt.zd?1:2,yt.Ka)return BA(se,3,"cannot parse filter header");var Yn=st;if(st=Gt=ke,ke=Gt+Yn,Pt=Yn,se.Xb=(1<Pt&&(br=Pt),Hr(se.Jc[+Yn],Ue,Gt,br),Gt+=br,Pt-=br,st+=3}Hr(se.Jc[+cn],Ue,Gt,Pt),Ue=Gtbr;++br){if(Yn.Cb){var fn=Yn.Zb[br];Yn.Fb||(fn+=Ue)}else{if(0>16,8>nr.Eb[1]&&(nr.Eb[1]=8),nr.Qc[0]=d0[tf(fn+cn,117)],nr.Qc[1]=h0[tf(fn+Gt,127)],nr.lc=fn+Gt}if(!xt.Rb)return BA(se,4,"Not a key frame.");for(Wr(yt),xt=se.Pa,Ue=0;4>Ue;++Ue){for(st=0;8>st;++st)for(ke=0;3>ke;++ke)for(Pt=0;11>Pt;++Pt)cn=oi(yt,o1[Ue][st][ke][Pt])?zr(yt,8):r1[Ue][st][ke][Pt],xt.Wc[Ue][st].Yb[ke][Pt]=cn;for(st=0;17>st;++st)xt.Xc[Ue][st]=xt.Wc[Ue][a1[st]]}return se.kc=Wr(yt),se.kc&&(se.Bd=zr(yt,8)),se.cb=1}function Rp(se,ge,Ue,ke,st,yt,xt){var Pt=ge[st].Yb[Ue];for(Ue=0;16>st;++st){if(!oi(se,Pt[Ue+0]))return st;for(;!oi(se,Pt[Ue+1]);)if(Pt=ge[++st].Yb[0],Ue=0,st==16)return 16;var Gt=ge[st+1].Yb;if(oi(se,Pt[Ue+2])){var cn=se,Yn=0;if(oi(cn,(fn=Pt)[(br=Ue)+3]))if(oi(cn,fn[br+6])){for(Pt=0,br=2*(Yn=oi(cn,fn[br+8]))+(fn=oi(cn,fn[br+9+Yn])),Yn=0,fn=t1[br];fn[Pt];++Pt)Yn+=Yn+oi(cn,fn[Pt]);Yn+=3+(8<(cn=se).b&&Rr(cn);var br,fn=cn.b,nr=(br=cn.Ca>>1)-(cn.I>>fn)>>31;--cn.b,cn.Ca+=nr,cn.Ca|=1,cn.I-=(br+1&nr)<>3),se[ge+Ue+32*ke]=-256&st?0>st?0:255:st}function OA(se,ge,Ue,ke,st,yt){Ru(se,ge,0,Ue,ke+st),Ru(se,ge,1,Ue,ke+yt),Ru(se,ge,2,Ue,ke-yt),Ru(se,ge,3,Ue,ke-st)}function jf(se){return(20091*se>>16)+se}function cm(se,ge,Ue,ke){var st,yt=0,xt=ae(16);for(st=0;4>st;++st){var Pt=se[ge+0]+se[ge+8],Gt=se[ge+0]-se[ge+8],cn=(35468*se[ge+4]>>16)-jf(se[ge+12]),Yn=jf(se[ge+4])+(35468*se[ge+12]>>16);xt[yt+0]=Pt+Yn,xt[yt+1]=Gt+cn,xt[yt+2]=Gt-cn,xt[yt+3]=Pt-Yn,yt+=4,ge++}for(st=yt=0;4>st;++st)Pt=(se=xt[yt+0]+4)+xt[yt+8],Gt=se-xt[yt+8],cn=(35468*xt[yt+4]>>16)-jf(xt[yt+12]),Ru(Ue,ke,0,0,Pt+(Yn=jf(xt[yt+4])+(35468*xt[yt+12]>>16))),Ru(Ue,ke,1,0,Gt+cn),Ru(Ue,ke,2,0,Gt-cn),Ru(Ue,ke,3,0,Pt-Yn),yt++,ke+=32}function Zm(se,ge,Ue,ke){var st=se[ge+0]+4,yt=35468*se[ge+4]>>16,xt=jf(se[ge+4]),Pt=35468*se[ge+1]>>16;OA(Ue,ke,0,st+xt,se=jf(se[ge+1]),Pt),OA(Ue,ke,1,st+yt,se,Pt),OA(Ue,ke,2,st-yt,se,Pt),OA(Ue,ke,3,st-xt,se,Pt)}function Xm(se,ge,Ue,ke,st){cm(se,ge,Ue,ke),st&&cm(se,ge+16,Ue,ke+4)}function rf(se,ge,Ue,ke){Xh(se,ge+0,Ue,ke,1),Xh(se,ge+32,Ue,ke+128,1)}function fm(se,ge,Ue,ke){var st;for(se=se[ge+0]+4,st=0;4>st;++st)for(ge=0;4>ge;++ge)Ru(Ue,ke,ge,st,se)}function dm(se,ge,Ue,ke){se[ge+0]&&as(se,ge+0,Ue,ke),se[ge+16]&&as(se,ge+16,Ue,ke+4),se[ge+32]&&as(se,ge+32,Ue,ke+128),se[ge+48]&&as(se,ge+48,Ue,ke+128+4)}function jp(se,ge,Ue,ke){var st,yt=ae(16);for(st=0;4>st;++st){var xt=se[ge+0+st]+se[ge+12+st],Pt=se[ge+4+st]+se[ge+8+st],Gt=se[ge+4+st]-se[ge+8+st],cn=se[ge+0+st]-se[ge+12+st];yt[0+st]=xt+Pt,yt[8+st]=xt-Pt,yt[4+st]=cn+Gt,yt[12+st]=cn-Gt}for(st=0;4>st;++st)xt=(se=yt[0+4*st]+3)+yt[3+4*st],Pt=yt[1+4*st]+yt[2+4*st],Gt=yt[1+4*st]-yt[2+4*st],cn=se-yt[3+4*st],Ue[ke+0]=xt+Pt>>3,Ue[ke+16]=cn+Gt>>3,Ue[ke+32]=xt-Pt>>3,Ue[ke+48]=cn-Gt>>3,ke+=64}function Mh(se,ge,Ue){var ke,st=ge-32,yt=cu,xt=255-se[st-1];for(ke=0;keUe;++Ue)te(se,ge+32*Ue,se,ge-32,16)}function hm(se,ge){var Ue;for(Ue=16;0ke;++ke)re(ge,Ue+32*ke,se,16)}function qm(se,ge){var Ue,ke=16;for(Ue=0;16>Ue;++Ue)ke+=se[ge-1+32*Ue]+se[ge+Ue-32];mc(ke>>5,se,ge)}function kh(se,ge){var Ue,ke=8;for(Ue=0;16>Ue;++Ue)ke+=se[ge-1+32*Ue];mc(ke>>4,se,ge)}function Eg(se,ge){var Ue,ke=8;for(Ue=0;16>Ue;++Ue)ke+=se[ge+Ue-32];mc(ke>>4,se,ge)}function e0(se,ge){mc(128,se,ge)}function na(se,ge,Ue){return se+2*ge+Ue+2>>2}function t0(se,ge){var Ue,ke=ge-32;for(ke=new Uint8Array([na(se[ke-1],se[ke+0],se[ke+1]),na(se[ke+0],se[ke+1],se[ke+2]),na(se[ke+1],se[ke+2],se[ke+3]),na(se[ke+2],se[ke+3],se[ke+4])]),Ue=0;4>Ue;++Ue)te(se,ge+32*Ue,ke,0,ke.length)}function n0(se,ge){var Ue=se[ge-1],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96];bi(se,ge+0,16843009*na(se[ge-1-32],Ue,ke)),bi(se,ge+32,16843009*na(Ue,ke,st)),bi(se,ge+64,16843009*na(ke,st,yt)),bi(se,ge+96,16843009*na(st,yt,yt))}function r0(se,ge){var Ue,ke=4;for(Ue=0;4>Ue;++Ue)ke+=se[ge+Ue-32]+se[ge-1+32*Ue];for(ke>>=3,Ue=0;4>Ue;++Ue)re(se,ge+32*Ue,ke,4)}function zf(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1-32],xt=se[ge+0-32],Pt=se[ge+1-32],Gt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+96]=na(ke,st,se[ge-1+96]),se[ge+1+96]=se[ge+0+64]=na(Ue,ke,st),se[ge+2+96]=se[ge+1+64]=se[ge+0+32]=na(yt,Ue,ke),se[ge+3+96]=se[ge+2+64]=se[ge+1+32]=se[ge+0+0]=na(xt,yt,Ue),se[ge+3+64]=se[ge+2+32]=se[ge+1+0]=na(Pt,xt,yt),se[ge+3+32]=se[ge+2+0]=na(Gt,Pt,xt),se[ge+3+0]=na(cn,Gt,Pt)}function Wf(se,ge){var Ue=se[ge+1-32],ke=se[ge+2-32],st=se[ge+3-32],yt=se[ge+4-32],xt=se[ge+5-32],Pt=se[ge+6-32],Gt=se[ge+7-32];se[ge+0+0]=na(se[ge+0-32],Ue,ke),se[ge+1+0]=se[ge+0+32]=na(Ue,ke,st),se[ge+2+0]=se[ge+1+32]=se[ge+0+64]=na(ke,st,yt),se[ge+3+0]=se[ge+2+32]=se[ge+1+64]=se[ge+0+96]=na(st,yt,xt),se[ge+3+32]=se[ge+2+64]=se[ge+1+96]=na(yt,xt,Pt),se[ge+3+64]=se[ge+2+96]=na(xt,Pt,Gt),se[ge+3+96]=na(Pt,Gt,Gt)}function i0(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1-32],xt=se[ge+0-32],Pt=se[ge+1-32],Gt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+0]=se[ge+1+64]=yt+xt+1>>1,se[ge+1+0]=se[ge+2+64]=xt+Pt+1>>1,se[ge+2+0]=se[ge+3+64]=Pt+Gt+1>>1,se[ge+3+0]=Gt+cn+1>>1,se[ge+0+96]=na(st,ke,Ue),se[ge+0+64]=na(ke,Ue,yt),se[ge+0+32]=se[ge+1+96]=na(Ue,yt,xt),se[ge+1+32]=se[ge+2+96]=na(yt,xt,Pt),se[ge+2+32]=se[ge+3+96]=na(xt,Pt,Gt),se[ge+3+32]=na(Pt,Gt,cn)}function o0(se,ge){var Ue=se[ge+0-32],ke=se[ge+1-32],st=se[ge+2-32],yt=se[ge+3-32],xt=se[ge+4-32],Pt=se[ge+5-32],Gt=se[ge+6-32],cn=se[ge+7-32];se[ge+0+0]=Ue+ke+1>>1,se[ge+1+0]=se[ge+0+64]=ke+st+1>>1,se[ge+2+0]=se[ge+1+64]=st+yt+1>>1,se[ge+3+0]=se[ge+2+64]=yt+xt+1>>1,se[ge+0+32]=na(Ue,ke,st),se[ge+1+32]=se[ge+0+96]=na(ke,st,yt),se[ge+2+32]=se[ge+1+96]=na(st,yt,xt),se[ge+3+32]=se[ge+2+96]=na(yt,xt,Pt),se[ge+3+64]=na(xt,Pt,Gt),se[ge+3+96]=na(Pt,Gt,cn)}function zp(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96];se[ge+0+0]=Ue+ke+1>>1,se[ge+2+0]=se[ge+0+32]=ke+st+1>>1,se[ge+2+32]=se[ge+0+64]=st+yt+1>>1,se[ge+1+0]=na(Ue,ke,st),se[ge+3+0]=se[ge+1+32]=na(ke,st,yt),se[ge+3+32]=se[ge+1+64]=na(st,yt,yt),se[ge+3+64]=se[ge+2+64]=se[ge+0+96]=se[ge+1+96]=se[ge+2+96]=se[ge+3+96]=yt}function Fg(se,ge){var Ue=se[ge-1+0],ke=se[ge-1+32],st=se[ge-1+64],yt=se[ge-1+96],xt=se[ge-1-32],Pt=se[ge+0-32],Gt=se[ge+1-32],cn=se[ge+2-32];se[ge+0+0]=se[ge+2+32]=Ue+xt+1>>1,se[ge+0+32]=se[ge+2+64]=ke+Ue+1>>1,se[ge+0+64]=se[ge+2+96]=st+ke+1>>1,se[ge+0+96]=yt+st+1>>1,se[ge+3+0]=na(Pt,Gt,cn),se[ge+2+0]=na(xt,Pt,Gt),se[ge+1+0]=se[ge+3+32]=na(Ue,xt,Pt),se[ge+1+32]=se[ge+3+64]=na(ke,Ue,xt),se[ge+1+64]=se[ge+3+96]=na(st,ke,Ue),se[ge+1+96]=na(yt,st,ke)}function Hh(se,ge){var Ue;for(Ue=0;8>Ue;++Ue)te(se,ge+32*Ue,se,ge-32,8)}function a0(se,ge){var Ue;for(Ue=0;8>Ue;++Ue)re(se,ge,se[ge-1],8),ge+=32}function Kf(se,ge,Ue){var ke;for(ke=0;8>ke;++ke)re(ge,Ue+32*ke,se,8)}function s0(se,ge){var Ue,ke=8;for(Ue=0;8>Ue;++Ue)ke+=se[ge+Ue-32]+se[ge-1+32*Ue];Kf(ke>>4,se,ge)}function Ig(se,ge){var Ue,ke=4;for(Ue=0;8>Ue;++Ue)ke+=se[ge+Ue-32];Kf(ke>>3,se,ge)}function Lg(se,ge){var Ue,ke=4;for(Ue=0;8>Ue;++Ue)ke+=se[ge-1+32*Ue];Kf(ke>>3,se,ge)}function pm(se,ge){Kf(128,se,ge)}function Gf(se,ge,Ue){var ke=se[ge-Ue],st=se[ge+0],yt=3*(st-ke)+A0[1020+se[ge-2*Ue]-se[ge+Ue]],xt=Cm[112+(yt+4>>3)];se[ge-Ue]=cu[255+ke+Cm[112+(yt+3>>3)]],se[ge+0]=cu[255+st-xt]}function Ug(se,ge,Ue,ke){var st=se[ge+0],yt=se[ge+Ue];return Wu[255+se[ge-2*Ue]-se[ge-Ue]]>ke||Wu[255+yt-st]>ke}function Wp(se,ge,Ue,ke){return 4*Wu[255+se[ge-Ue]-se[ge+0]]+Wu[255+se[ge-2*Ue]-se[ge+Ue]]<=ke}function Dg(se,ge,Ue,ke,st){var yt=se[ge-3*Ue],xt=se[ge-2*Ue],Pt=se[ge-Ue],Gt=se[ge+0],cn=se[ge+Ue],Yn=se[ge+2*Ue],br=se[ge+3*Ue];return 4*Wu[255+Pt-Gt]+Wu[255+xt-cn]>ke?0:Wu[255+se[ge-4*Ue]-yt]<=st&&Wu[255+yt-xt]<=st&&Wu[255+xt-Pt]<=st&&Wu[255+br-Yn]<=st&&Wu[255+Yn-cn]<=st&&Wu[255+cn-Gt]<=st}function _h(se,ge,Ue,ke){var st=2*ke+1;for(ke=0;16>ke;++ke)Wp(se,ge+ke,Ue,st)&&Gf(se,ge+ke,Ue)}function Og(se,ge,Ue,ke){var st=2*ke+1;for(ke=0;16>ke;++ke)Wp(se,ge+ke*Ue,1,st)&&Gf(se,ge+ke*Ue,1)}function gm(se,ge,Ue,ke){var st;for(st=3;0>7,ei=18*ii+63>>7,ii=9*ii+63>>7;Gt[cn-3*Yn]=cu[255+Gt[cn-3*Yn]+ii],Gt[cn-2*Yn]=cu[255+br+ei],Gt[cn-Yn]=cu[255+fn+vr],Gt[cn+0]=cu[255+nr-vr],Gt[cn+Yn]=cu[255+hr-ei],Gt[cn+2*Yn]=cu[255+$r-ii]}ge+=ke}}function Zf(se,ge,Ue,ke,st,yt,xt,Pt){for(yt=2*yt+1;0>3)],$r=Cm[112+($r+3>>3)],vr=hr+1>>1;Gt[cn-2*Yn]=cu[255+Gt[cn-2*Yn]+vr],Gt[cn-Yn]=cu[255+br+$r],Gt[cn+0]=cu[255+fn-hr],Gt[cn+Yn]=cu[255+nr-vr]}ge+=ke}}function vm(se,ge,Ue,ke,st,yt){Vf(se,ge,Ue,1,16,ke,st,yt)}function Rh(se,ge,Ue,ke,st,yt){Vf(se,ge,1,Ue,16,ke,st,yt)}function ym(se,ge,Ue,ke,st,yt){var xt;for(xt=3;0cn?0:255:cn)&255,cn=Gt,st[yt+Pt]=Yn}}function vs(se,ge,Ue,ke){var st=ge.width,yt=ge.o;if(E(se!=null&&ge!=null),0>Ue||0>=ke||Ue+ke>yt)return null;if(!se.Cc){if(se.ga==null){var xt;if(se.ga=new fa,(xt=se.ga==null)||(xt=ge.width*ge.o,E(se.Gb.length==0),se.Gb=ae(xt),se.Uc=0,se.Gb==null?xt=0:(se.mb=se.Gb,se.nb=se.Uc,se.rc=null,xt=1),xt=!xt),!xt){xt=se.ga;var Pt=se.Fa,Gt=se.P,cn=se.qc,Yn=se.mb,br=se.nb,fn=Gt+1,nr=cn-1,hr=xt.l;if(E(Pt!=null&&Yn!=null&&ge!=null),Wd[0]=null,Wd[1]=Ka,Wd[2]=zs,Wd[3]=CA,xt.ca=Yn,xt.tb=br,xt.c=ge.width,xt.i=ge.height,E(0=cn)ge=0;else if(xt.$a=3&Pt[Gt+0],xt.Z=Pt[Gt+0]>>2&3,xt.Lc=Pt[Gt+0]>>4&3,Gt=Pt[Gt+0]>>6&3,0>xt.$a||1=xt.c*xt.i;xt=!ge}if(xt)return null;se.ga.Lc!=1?se.Ga=0:ke=yt-Ue}E(se.ga!=null),E(Ue+ke<=yt);e:{if(ge=(Pt=se.ga).c,yt=Pt.l.o,Pt.$a==0){if(fn=se.rc,nr=se.Vc,hr=se.Fa,Gt=se.P+1+Ue*ge,cn=se.mb,Yn=se.nb+Ue*ge,E(Gt<=se.P+se.qc),Pt.Z!=0)for(E(Wd[Pt.Z]!=null),xt=0;xt=ge)ge=1;else if(Pt.ic||vc(),Pt.ic){Pt=xt.V,fn=xt.Ba,nr=xt.c;var $r=xt.i,vr=(hr=1,Gt=xt.$/nr,cn=xt.$%nr,Yn=xt.m,br=xt.s,xt.$),ei=nr*$r,ii=nr*ge,wi=br.wc,di=vr($r=Ys(di.G[0],di.H[0],Yn)))Pt[fn+vr]=$r,++vr,++cn>=nr&&(cn=0,++Gt<=ge&&!(Gt%16)&&pc(xt,Gt));else{if(!(280>$r)){hr=0;break t}$r=Mu($r-256,Yn);var wo,qi=Ys(di.G[4],di.H[4],Yn);if(mr(Yn),!(vr>=(qi=ku(nr,qi=Mu(qi,Yn)))&&ei-vr>=$r)){hr=0;break t}for(wo=0;wo<$r;++wo)Pt[fn+vr+wo]=Pt[fn+vr+wo-qi];for(vr+=$r,cn+=$r;cn>=nr;)cn-=nr,++Gt<=ge&&!(Gt%16)&&pc(xt,Gt);vrge?ge:Gt);break t}!hr||Yn.h&&vr=yt&&(se.Cc=1),ke=1}if(!ke)return null;if(se.Cc&&((ke=se.ga)!=null&&(ke.mc=null),se.ga=null,0>23,Pt[Gt+4*xt+1]=Pt[Gt+4*xt+1]*br>>23,Pt[Gt+4*xt+2]=Pt[Gt+4*xt+2]*br>>23)}ge+=yt}}function xA(se,ge,Ue,ke,st){for(;0>4)*Gt>>16;se[ge+2*yt+0]=(240&xt|xt>>4)*Gt>>16&240|(15&xt|xt<<4)*Gt>>16>>4&15,se[ge+2*yt+1]=240&cn|Pt}ge+=st}}function ol(se,ge,Ue,ke,st,yt,xt,Pt){var Gt,cn,Yn=255;for(cn=0;cn>8}function vc(){Wg=NA,X0=xA,Y0=ol,J0=Xf}function Yf(se,ge,Ue){Cn[se]=function(ke,st,yt,xt,Pt,Gt,cn,Yn,br,fn,nr,hr,$r,vr,ei,ii,wi){var di,wo=wi-1>>1,qi=Pt[Gt+0]|cn[Yn+0]<<16,pa=br[fn+0]|nr[hr+0]<<16;E(ke!=null);var so=3*qi+pa+131074>>2;for(ge(ke[st+0],255&so,so>>16,$r,vr),yt!=null&&(so=3*pa+qi+131074>>2,ge(yt[xt+0],255&so,so>>16,ei,ii)),di=1;di<=wo;++di){var _a=Pt[Gt+di]|cn[Yn+di]<<16,TA=br[fn+di]|nr[hr+di]<<16,ga=qi+_a+pa+TA+524296,Ao=ga+2*(_a+pa)>>3;so=Ao+qi>>1,qi=(ga=ga+2*(qi+TA)>>3)+_a>>1,ge(ke[st+2*di-1],255&so,so>>16,$r,vr+(2*di-1)*Ue),ge(ke[st+2*di-0],255&qi,qi>>16,$r,vr+(2*di-0)*Ue),yt!=null&&(so=ga+pa>>1,qi=Ao+TA>>1,ge(yt[xt+2*di-1],255&so,so>>16,ei,ii+(2*di-1)*Ue),ge(yt[xt+2*di+0],255&qi,qi>>16,ei,ii+(2*di+0)*Ue)),qi=_a,pa=TA}1&wi||(so=3*qi+pa+131074>>2,ge(ke[st+wi-1],255&so,so>>16,$r,vr+(wi-1)*Ue),yt!=null&&(so=3*pa+qi+131074>>2,ge(yt[xt+wi-1],255&so,so>>16,ei,ii+(wi-1)*Ue)))}}function Ng(){Ku[xm]=A1,Ku[Sm]=Av,Ku[rv]=l1,Ku[Em]=lv,Ku[Fm]=uv,Ku[l0]=cv,Ku[iv]=u1,Ku[u0]=Av,Ku[c0]=lv,Ku[Im]=uv,Ku[f0]=cv}function Kp(se){return se&~c1?0>se?0:255:se>>fv}function Pd(se,ge){return Kp((19077*se>>8)+(26149*ge>>8)-14234)}function jh(se,ge,Ue){return Kp((19077*se>>8)-(6419*ge>>8)-(13320*Ue>>8)+8708)}function zh(se,ge){return Kp((19077*se>>8)+(33050*ge>>8)-17685)}function Td(se,ge,Ue,ke,st){ke[st+0]=Pd(se,Ue),ke[st+1]=jh(se,ge,Ue),ke[st+2]=zh(se,ge)}function al(se,ge,Ue,ke,st){ke[st+0]=zh(se,ge),ke[st+1]=jh(se,ge,Ue),ke[st+2]=Pd(se,Ue)}function Wh(se,ge,Ue,ke,st){var yt=jh(se,ge,Ue);ge=yt<<3&224|zh(se,ge)>>3,ke[st+0]=248&Pd(se,Ue)|yt>>5,ke[st+1]=ge}function Kh(se,ge,Ue,ke,st){var yt=240&zh(se,ge)|15;ke[st+0]=240&Pd(se,Ue)|jh(se,ge,Ue)>>4,ke[st+1]=yt}function Pg(se,ge,Ue,ke,st){ke[st+0]=255,Td(se,ge,Ue,ke,st+1)}function Tg(se,ge,Ue,ke,st){al(se,ge,Ue,ke,st),ke[st+3]=255}function Tl(se,ge,Ue,ke,st){Td(se,ge,Ue,ke,st),ke[st+3]=255}function Jf(se,ge,Ue){Cn[se]=function(ke,st,yt,xt,Pt,Gt,cn,Yn,br){for(var fn=Yn+(-2&br)*Ue;Yn!=fn;)ge(ke[st+0],yt[xt+0],Pt[Gt+0],cn,Yn),ge(ke[st+1],yt[xt+0],Pt[Gt+0],cn,Yn+Ue),st+=2,++xt,++Gt,Yn+=2*Ue;1&br&&ge(ke[st+0],yt[xt+0],Pt[Gt+0],cn,Yn)}}function Gp(se,ge,Ue){return Ue==0?se==0?ge==0?6:5:ge==0?4:0:Ue}function wm(se,ge,Ue,ke,st){switch(se>>>30){case 3:Xh(ge,Ue,ke,st,0);break;case 2:zu(ge,Ue,ke,st);break;case 1:as(ge,Ue,ke,st)}}function ju(se,ge){var Ue,ke,st=ge.M,yt=ge.Nb,xt=se.oc,Pt=se.pc+40,Gt=se.oc,cn=se.pc+584,Yn=se.oc,br=se.pc+600;for(Ue=0;16>Ue;++Ue)xt[Pt+32*Ue-1]=129;for(Ue=0;8>Ue;++Ue)Gt[cn+32*Ue-1]=129,Yn[br+32*Ue-1]=129;for(0Ue;++Ue)te(xt,Pt+32*Ue-4,xt,Pt+32*Ue+12,4);for(Ue=-1;8>Ue;++Ue)te(Gt,cn+32*Ue-4,Gt,cn+32*Ue+4,4),te(Yn,br+32*Ue-4,Yn,br+32*Ue+4,4)}var nr=se.Gd,hr=se.Hd+ke,$r=fn.ad,vr=fn.Hc;if(0=se.za-1?re(ei,ii,nr[hr].y[15],4):te(ei,ii,nr[hr+1].y,0,4)),Ue=0;4>Ue;Ue++)ei[ii+128+Ue]=ei[ii+256+Ue]=ei[ii+384+Ue]=ei[ii+0+Ue];for(Ue=0;16>Ue;++Ue,vr<<=2)ei=xt,ii=Pt+hv[Ue],yc[fn.Ob[Ue]](ei,ii),wm(vr,$r,16*+Ue,ei,ii)}else if(ei=Gp(ke,st,fn.Ob[0]),zd[ei](xt,Pt),vr!=0)for(Ue=0;16>Ue;++Ue,vr<<=2)wm(vr,$r,16*+Ue,xt,Pt+hv[Ue]);for(Ue=fn.Gc,ei=Gp(ke,st,fn.Dd),ed[ei](Gt,cn),ed[ei](Yn,br),vr=$r,ei=Gt,ii=cn,255&(fn=0|Ue)&&(170&fn?sf(vr,256,ei,ii):ds(vr,256,ei,ii)),fn=Yn,vr=br,255&(Ue>>=8)&&(170&Ue?sf($r,320,fn,vr):ds($r,320,fn,vr)),stUe;++Ue)te(nr,hr+Ue*se.R,xt,Pt+32*Ue,16);for(Ue=0;8>Ue;++Ue)te($r,fn+Ue*se.B,Gt,cn+32*Ue,8),te(vr,ei+Ue*se.B,Yn,br+32*Ue,8)}}function Gh(se,ge,Ue,ke,st,yt,xt,Pt,Gt){var cn=[0],Yn=[0],br=0,fn=Gt!=null?Gt.kd:0,nr=Gt!=null?Gt:new fi;if(se==null||12>Ue)return 7;nr.data=se,nr.w=ge,nr.ha=Ue,ge=[ge],Ue=[Ue],nr.gb=[nr.gb];e:{var hr=ge,$r=Ue,vr=nr.gb;if(E(se!=null),E($r!=null),E(vr!=null),vr[0]=0,12<=$r[0]&&!x(se,hr[0],"RIFF")){if(x(se,hr[0]+8,"WEBP")){vr=3;break e}var ei=Io(se,hr[0]+4);if(12>ei||4294967286$r[0]-8){vr=7;break e}vr[0]=ei,hr[0]+=12,$r[0]-=12}vr=0}if(vr!=0)return vr;for(ei=0vr[0])vr=7;else{if(!x(ii,$r[0],"VP8X")){if(Io(ii,$r[0]+4)!=10){vr=3;break e}if(18>vr[0]){vr=7;break e}var qi=Io(ii,$r[0]+8),pa=1+ki(ii,$r[0]+12);if(2147483648<=pa*(ii=1+ki(ii,$r[0]+15))){vr=3;break e}wo!=null&&(wo[0]=qi),wi!=null&&(wi[0]=pa),di!=null&&(di[0]=ii),$r[0]+=18,vr[0]-=18,so[0]=1}vr=0}}if(br=br[0],hr=hr[0],vr!=0)return vr;if($r=!!(2&hr),!ei&&br)return 3;if(yt!=null&&(yt[0]=!!(16&hr)),xt!=null&&(xt[0]=$r),Pt!=null&&(Pt[0]=0),xt=cn[0],hr=Yn[0],br&&$r&&Gt==null){vr=0;break}if(4>Ue){vr=7;break}if(ei&&br||!ei&&!br&&!x(se,ge[0],"ALPH")){Ue=[Ue],nr.na=[nr.na],nr.P=[nr.P],nr.Sa=[nr.Sa];e:{qi=se,vr=ge,ei=Ue;var so=nr.gb;wi=nr.na,di=nr.P,wo=nr.Sa,pa=22,E(qi!=null),E(ei!=null),ii=vr[0];var _a=ei[0];for(E(wi!=null),E(wo!=null),wi[0]=null,di[0]=null,wo[0]=0;;){if(vr[0]=ii,ei[0]=_a,8>_a){vr=7;break e}var TA=Io(qi,ii+4);if(4294967286so){vr=3;break e}if(!x(qi,ii,"VP8 ")||!x(qi,ii,"VP8L")){vr=0;break e}if(_a[0]ei[0])vr=7;else{if(ii||pa){if(so=Io(so,qi+4),12<=wi&&so>wi-12){vr=3;break e}if(fn&&so>ei[0]-8){vr=7;break e}di[0]=so,vr[0]+=8,ei[0]-=8,wo[0]=pa}else wo[0]=5<=ei[0]&&so[qi+0]==47&&!(so[qi+4]>>5),di[0]=ei[0];vr=0}if(Ue=Ue[0],nr.Ja=nr.Ja[0],nr.xa=nr.xa[0],ge=ge[0],vr!=0)break;if(4294967286Ue){vr=7;break}Pt=xt,fn=hr,$r=yt,se==null||5>Ue?se=0:5<=Ue&&se[ge+0]==47&&!(se[ge+4]>>5)?(ei=[0],so=[0],wi=[0],Vr(di=new wn,se,ge,Ue),Rf(di,ei,so,wi)?(Pt!=null&&(Pt[0]=ei[0]),fn!=null&&(fn[0]=so[0]),$r!=null&&($r[0]=wi[0]),se=1):se=0):se=0}else{if(10>Ue){vr=7;break}Pt=hr,se==null||10>Ue||!lm(se,ge+3,Ue-3)?se=0:(fn=se[ge+0]|se[ge+1]<<8|se[ge+2]<<16,$r=16383&(se[ge+7]<<8|se[ge+6]),se=16383&(se[ge+9]<<8|se[ge+8]),1&fn||3<(fn>>1&7)||!(fn>>4&1)||fn>>5>=nr.Ja||!$r||!se?se=0:(xt&&(xt[0]=$r),Pt&&(Pt[0]=se),se=1))}if(!se||(xt=xt[0],hr=hr[0],br&&(cn[0]!=xt||Yn[0]!=hr)))return 3;Gt!=null&&(Gt[0]=nr,Gt.offset=ge-Gt.w,E(4294967286>ge-Gt.w),E(Gt.offset==Gt.ha-Ue));break}return vr==0||vr==7&&br&&Gt==null?(yt!=null&&(yt[0]|=nr.na!=null&&0Ue||(yt&=-2,xt&=-2),0>yt||0>xt||0>=Pt||0>=Gt||yt+Pt>ke||xt+Gt>st))return 0;if(ge.v=yt,ge.j=xt,ge.va=yt+Pt,ge.o=xt+Gt,ge.U=Pt,ge.T=Gt,ge.da=se!=null&&0se.S){var ge=se.f.RGBA;ge.fb+=(se.height-1)*ge.A,ge.A=-ge.A}else ge=se.f.kb,se=se.height,ge.O+=(se-1)*ge.fa,ge.fa=-ge.fa,ge.N+=(se-1>>1)*ge.Ab,ge.Ab=-ge.Ab,ge.W+=(se-1>>1)*ge.Db,ge.Db=-ge.Db,ge.F!=null&&(ge.J+=(se-1)*ge.lb,ge.lb=-ge.lb);return 0}function Qd(se,ge,Ue,ke){if(ke==null||0>=se||0>=ge)return 2;if(Ue!=null){if(Ue.Da){var st=Ue.cd,yt=Ue.bd,xt=-2&Ue.v,Pt=-2&Ue.j;if(0>xt||0>Pt||0>=st||0>=yt||xt+st>se||Pt+yt>ge)return 2;se=st,ge=yt}if(Ue.da){if(!ko(se,ge,st=[Ue.ib],yt=[Ue.hb]))return 2;se=st[0],ge=yt[0]}}ke.width=se,ke.height=ge;e:{var Gt=ke.width,cn=ke.height;if(se=ke.S,0>=Gt||0>=cn||!(se>=xm&&13>se))se=2;else{if(0>=ke.Rd&&ke.sd==null){xt=yt=st=ge=0;var Yn=(Pt=Gt*pv[se])*cn;if(11>se||(yt=(cn+1)/2*(ge=(Gt+1)/2),se==12&&(xt=(st=Gt)*cn)),(cn=ae(Yn+2*yt+xt))==null){se=1;break e}ke.sd=cn,11>se?((Gt=ke.f.RGBA).eb=cn,Gt.fb=0,Gt.A=Pt,Gt.size=Yn):((Gt=ke.f.kb).y=cn,Gt.O=0,Gt.fa=Pt,Gt.Fd=Yn,Gt.f=cn,Gt.N=0+Yn,Gt.Ab=ge,Gt.Cd=yt,Gt.ea=cn,Gt.W=0+Yn+yt,Gt.Db=ge,Gt.Ed=yt,se==12&&(Gt.F=cn,Gt.J=0+Yn+2*yt),Gt.Tc=xt,Gt.lb=st)}if(ge=1,st=ke.S,yt=ke.width,xt=ke.height,st>=xm&&13>st)if(11>st)se=ke.f.RGBA,ge&=(Pt=Math.abs(se.A))*(xt-1)+yt<=se.size,ge&=Pt>=yt*pv[st],ge&=se.eb!=null;else{se=ke.f.kb,Pt=(yt+1)/2,Yn=(xt+1)/2,Gt=Math.abs(se.fa),cn=Math.abs(se.Ab);var br=Math.abs(se.Db),fn=Math.abs(se.lb),nr=fn*(xt-1)+yt;ge&=Gt*(xt-1)+yt<=se.Fd,ge&=cn*(Yn-1)+Pt<=se.Cd,ge=(ge&=br*(Yn-1)+Pt<=se.Ed)&Gt>=yt&cn>=Pt&br>=Pt,ge&=se.y!=null,ge&=se.f!=null,ge&=se.ea!=null,st==12&&(ge&=fn>=yt,ge&=nr<=se.Tc,ge&=se.F!=null)}else ge=0;se=ge?0:2}}return se!=0||Ue!=null&&Ue.fd&&(se=Mg(ke)),se}var Vh=64,lu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],uu=24,Md=32,$f=8,kd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];no("Predictor0","PredictorAdd0"),Cn.Predictor0=function(){return 4278190080},Cn.Predictor1=function(se){return se},Cn.Predictor2=function(se,ge,Ue){return ge[Ue+0]},Cn.Predictor3=function(se,ge,Ue){return ge[Ue+1]},Cn.Predictor4=function(se,ge,Ue){return ge[Ue-1]},Cn.Predictor5=function(se,ge,Ue){return Uo(Uo(se,ge[Ue+1]),ge[Ue+0])},Cn.Predictor6=function(se,ge,Ue){return Uo(se,ge[Ue-1])},Cn.Predictor7=function(se,ge,Ue){return Uo(se,ge[Ue+0])},Cn.Predictor8=function(se,ge,Ue){return Uo(ge[Ue-1],ge[Ue+0])},Cn.Predictor9=function(se,ge,Ue){return Uo(ge[Ue+0],ge[Ue+1])},Cn.Predictor10=function(se,ge,Ue){return Uo(Uo(se,ge[Ue-1]),Uo(ge[Ue+0],ge[Ue+1]))},Cn.Predictor11=function(se,ge,Ue){var ke=ge[Ue+0];return 0>=oa(ke>>24&255,se>>24&255,(ge=ge[Ue-1])>>24&255)+oa(ke>>16&255,se>>16&255,ge>>16&255)+oa(ke>>8&255,se>>8&255,ge>>8&255)+oa(255&ke,255&se,255&ge)?ke:se},Cn.Predictor12=function(se,ge,Ue){var ke=ge[Ue+0];return(is((se>>24&255)+(ke>>24&255)-((ge=ge[Ue-1])>>24&255))<<24|is((se>>16&255)+(ke>>16&255)-(ge>>16&255))<<16|is((se>>8&255)+(ke>>8&255)-(ge>>8&255))<<8|is((255&se)+(255&ke)-(255&ge)))>>>0},Cn.Predictor13=function(se,ge,Ue){var ke=ge[Ue-1];return(Ta((se=Uo(se,ge[Ue+0]))>>24&255,ke>>24&255)<<24|Ta(se>>16&255,ke>>16&255)<<16|Ta(se>>8&255,ke>>8&255)<<8|Ta(255&se,255&ke))>>>0};var kg=Cn.PredictorAdd0;Cn.PredictorAdd1=Ha,no("Predictor2","PredictorAdd2"),no("Predictor3","PredictorAdd3"),no("Predictor4","PredictorAdd4"),no("Predictor5","PredictorAdd5"),no("Predictor6","PredictorAdd6"),no("Predictor7","PredictorAdd7"),no("Predictor8","PredictorAdd8"),no("Predictor9","PredictorAdd9"),no("Predictor10","PredictorAdd10"),no("Predictor11","PredictorAdd11"),no("Predictor12","PredictorAdd12"),no("Predictor13","PredictorAdd13");var Vp=Cn.PredictorAdd2;xo("ColorIndexInverseTransform","MapARGB","32b",function(se){return se>>8&255},function(se){return se}),xo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(se){return se},function(se){return se>>8&255});var dA,bm=Cn.ColorIndexInverseTransform,of=Cn.MapARGB,af=Cn.VP8LColorIndexInverseTransformAlpha,Hg=Cn.MapAlpha,_g=Cn.VP8LPredictorsAdd=[];_g.length=16,(Cn.VP8LPredictors=[]).length=16,(Cn.VP8LPredictorsAdd_C=[]).length=16,(Cn.VP8LPredictors_C=[]).length=16;var Rg,jg,Hd,_d,Rd,Zh,jd,Xh,zu,sf,as,ds,hA,PA,qf,zg,Zp,Bm,z0,W0,K0,G0,V0,Z0,Wg,X0,Y0,J0,$0=ae(511),q0=ae(2041),ev=ae(225),tv=ae(767),nv=0,A0=q0,Cm=ev,cu=tv,Wu=$0,xm=0,Sm=1,rv=2,Em=3,Fm=4,l0=5,iv=6,u0=7,c0=8,Im=9,f0=10,Zv=[2,3,7],Xv=[3,3,11],ov=[280,256,256,256,40],Yv=[0,1,1,1,0],Jv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],$v=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],e1=8,d0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],h0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Kg=null,t1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],n1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],av=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],r1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],i1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],a1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],zd=[],yc=[],ed=[],s1=1,sv=2,Wd=[],Ku=[];Yf("UpsampleRgbLinePair",Td,3),Yf("UpsampleBgrLinePair",al,3),Yf("UpsampleRgbaLinePair",Tl,4),Yf("UpsampleBgraLinePair",Tg,4),Yf("UpsampleArgbLinePair",Pg,4),Yf("UpsampleRgba4444LinePair",Kh,2),Yf("UpsampleRgb565LinePair",Wh,2);var A1=Cn.UpsampleRgbLinePair,l1=Cn.UpsampleBgrLinePair,Av=Cn.UpsampleRgbaLinePair,lv=Cn.UpsampleBgraLinePair,uv=Cn.UpsampleArgbLinePair,cv=Cn.UpsampleRgba4444LinePair,u1=Cn.UpsampleRgb565LinePair,Lm=16,Um=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&vc()),ke.Pb&&0(Gt=Ue.Md)?0:100cn;++cn)12>(br=st.pb[cn]).lc&&(br.ia=Gt*v1[0>br.lc?0:br.lc]>>3),Yn|=br.ia;Yn&&(alert("todo:VP8InitRandom"),st.ia=1)}st.Ga=Ue.Id,100st.Ga&&(st.Ga=0)}(function(fn,nr){if(fn==null)return 0;if(nr==null)return BA(fn,2,"NULL VP8Io parameter in VP8Decode().");if(!fn.cb&&!nf(fn,nr))return 0;if(E(fn.cb),nr.ac==null||nr.ac(nr)){nr.ob&&(fn.L=0);var hr=Dm[fn.L];if(fn.L==2?(fn.yb=0,fn.zb=0):(fn.yb=nr.v-hr>>4,fn.zb=nr.j-hr>>4,0>fn.yb&&(fn.yb=0),0>fn.zb&&(fn.zb=0)),fn.Va=nr.o+15+hr>>4,fn.Hb=nr.va+15+hr>>4,fn.Hb>fn.za&&(fn.Hb=fn.za),fn.Va>fn.Ub&&(fn.Va=fn.Ub),0hr;++hr){var vr;if(fn.Qa.Cb){var ei=fn.Qa.Lb[hr];fn.Qa.Fb||(ei+=$r.Tb)}else ei=$r.Tb;for(vr=0;1>=vr;++vr){var ii=fn.gd[hr][vr],wi=ei;if($r.Pc&&(wi+=$r.vd[0],vr&&(wi+=$r.od[0])),0<(wi=0>wi?0:63>2:di>>1)>9-$r.wb&&(di=9-$r.wb),1>di&&(di=1),ii.dd=di,ii.tc=2*wi+di,ii.ld=40<=wi?2:15<=wi?1:0}else ii.tc=0;ii.La=vr}}}hr=0}else BA(fn,6,"Frame setup failed"),hr=fn.a;if(hr=hr==0){if(hr){fn.$c=0,0fn.Vb){if(fn.Vb=0,fn.Ec=ae(ii),fn.Fc=0,fn.Ec==null){hr=BA(fn,1,"no memory during frame initialization.");break t}fn.Vb=ii}ii=fn.Ec,wi=fn.Fc,fn.Ac=ii,fn.Bc=wi,wi+=$r,fn.Gd=we(wo,sm),fn.Hd=0,fn.rb=we(qi+1,Cg),fn.sb=1,fn.wa=pa?we(pa,_u):null,fn.Y=0,fn.D.Nb=0,fn.D.wa=fn.wa,fn.D.Y=fn.Y,0=hr;++hr)$0[255+hr]=0>hr?-hr:hr;for(hr=-1020;1020>=hr;++hr)q0[1020+hr]=-128>hr?-128:127=hr;++hr)ev[112+hr]=-16>hr?-16:15=hr;++hr)tv[255+hr]=0>hr?0:255za;++za){var QA,Ga=Ql[0+za];for(QA=0;4>QA;++QA){Ga=i1[Fs[sl+QA]][Ga];for(var ss=av[oi(sa,Ga[0])];0>3;for(ss=0;256>ss;ss+=16)za[bl+ss]=Kl}Al=1,wc=sl[0]}var hs=15&sa.la,MA=15&Ml.la;for(ss=0;4>ss;++ss){var fu=1&MA;for(Kl=As=0;4>Kl;++Kl)hs=hs>>1|(fu=(gA=Kg(Fs,wc,gA=fu+(1&hs),Js.Sc,Al,za,bl))>Al)<<7,As=As<<2|(3>=4,MA=MA>>1|fu<<7,QA=(QA<<8|As)>>>0}for(wc=hs,Al=MA>>4,$s=0;4>$s;$s+=2){for(As=0,hs=sa.la>>4+$s,MA=Ml.la>>4+$s,ss=0;2>ss;++ss){for(fu=1&MA,Kl=0;2>Kl;++Kl)gA=fu+(1&hs),hs=hs>>1|(fu=0<(gA=Kg(Fs,sl[2],gA,Js.Qc,0,za,bl)))<<3,As=As<<2|(3>=2,MA=MA>>1|fu<<5}Ga|=As<<4*$s,wc|=hs<<4<<$s,Al|=(240&MA)<<$s}sa.la=wc,Ml.la=Al,Ql.Hc=QA,Ql.Gc=Ga,Ql.ia=43690&Ga?0:Js.ia,sl=!(QA|Ga)}if(0=Ao.zb&&Ao.M<=Ao.Va,Ao.Aa==0)t:{if(ga.M=Ao.M,ga.uc=sa,ju(Ao,ga),pA=1,ga=(As=Ao.D).Nb,sa=(Ga=Dm[Ao.L])*Ao.R,Fs=Ga/2*Ao.B,ss=16*ga*Ao.R,Kl=8*ga*Ao.B,sl=Ao.sa,Ql=Ao.ta-sa+ss,Js=Ao.qa,za=Ao.ra-Fs+Kl,bl=Ao.Ha,Ml=Ao.Ia-Fs+Kl,MA=(hs=As.M)==0,QA=hs>=Ao.Va-1,Ao.Aa==2&&ju(Ao,As),As.uc)for(fu=(gA=Ao).D.M,E(gA.D.uc),As=gA.yb;AsNi.o&&(hs=Ni.o),Ni.F=null,Ni.J=null,Ao.Fa!=null&&0>1),Ni.W+=Ao.B*(Ga>>1),Ni.F!=null&&(Ni.J+=Ni.width*Ga)),As>1,Ni.W+=Ni.v>>1,Ni.F!=null&&(Ni.J+=Ni.v),Ni.ka=As-Ni.j,Ni.U=Ni.va-Ni.v,Ni.T=hs-As,pA=Ni.put(Ni))}ga+1!=Ao.Ic||QA||(te(Ao.sa,Ao.ta-sa,sl,Ql+16*Ao.R,sa),te(Ao.qa,Ao.ra-Fs,Js,za+8*Ao.B,Fs),te(Ao.Ha,Ao.Ia-Fs,bl,Ml+8*Ao.B,Fs))}if(!pA)return BA(_a,6,"Output aborted.")}return 1}(fn,nr)),nr.bc!=null&&nr.bc(nr),hr&=1}return hr?(fn.cb=0,hr):0})(se,ke)||(ge=se.a)}}else ge=se.a}ge==0&&xt.Oa!=null&&xt.Oa.fd&&(ge=Mg(xt.ba))}xt=ge}yt=xt!=0?null:11>yt?Pt.f.RGBA.eb:Pt.f.kb.y}else yt=null;return yt};var pv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Se(Cn,fr){for(var Dt="",an=0;an<4;an++)Dt+=String.fromCharCode(Cn[fr++]);return Dt}function Ne(Cn,fr){return Cn[fr+0]|Cn[fr+1]<<8}function tt(Cn,fr){return(Cn[fr+0]|Cn[fr+1]<<8|Cn[fr+2]<<16)>>>0}function dt(Cn,fr){return(Cn[fr+0]|Cn[fr+1]<<8|Cn[fr+2]<<16|Cn[fr+3]<<24)>>>0}new be;var Oe=[0],nn=[0],Xt=[],on=new be,Ot=y,Hn=function(Cn,fr){var Dt={},an=0,Mn=!1,Nn=0,Sr=0;if(Dt.frames=[],!function(Ft,wn){for(var In=0;In<4;In++)if(Ft[wn+In]!="RIFF".charCodeAt(In))return!0;return!1}(Cn,fr)){for(dt(Cn,fr+=4),fr+=8;fr>1&1}Hr!="ANMF"&&(fr+=yr)}return Dt}}(Ot,0);Hn.response=Ot,Hn.rgbaoutput=!0,Hn.dataurl=!1;var On=Hn.header?Hn.header:null,Bn=Hn.frames?Hn.frames:null;if(On){On.loop_counter=On.loop_count,Oe=[On.canvas_height],nn=[On.canvas_width];for(var Br=0;Br=2?sn[1]:ji[0],ji[2]=sn.length>=3?sn[2]:ji[0],ji[3]=sn.length>=4?sn[3]:ji[1]),Se.margin=ji}});var Rr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Rr},set:function(sn){Rr=sn}});var Wr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Wr},set:function(sn){Wr=sn}});var oi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return oi},set:function(sn){oi=sn}}),Object.defineProperty(this,"ctx",{get:function(){return Se},set:function(sn){sn instanceof Ne&&(Se=sn)}}),Object.defineProperty(this,"path",{get:function(){return Se.path},set:function(sn){Se.path=sn}});var bi=[];Object.defineProperty(this,"ctxStack",{get:function(){return bi},set:function(sn){bi=sn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(sn){var ji;ji=dt(sn),this.ctx.fillStyle=ji.style,this.ctx.isFillTransparent=ji.a===0,this.ctx.fillOpacity=ji.a,this.pdf.setFillColor(ji.r,ji.g,ji.b,{a:ji.a}),this.pdf.setTextColor(ji.r,ji.g,ji.b,{a:ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(sn){var ji=dt(sn);this.ctx.strokeStyle=ji.style,this.ctx.isStrokeTransparent=ji.a===0,this.ctx.strokeOpacity=ji.a,ji.a===0?this.pdf.setDrawColor(255,255,255):(ji.a,this.pdf.setDrawColor(ji.r,ji.g,ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(sn){["butt","round","square"].indexOf(sn)!==-1&&(this.ctx.lineCap=sn,this.pdf.setLineCap(sn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(sn){isNaN(sn)||(this.ctx.lineWidth=sn,this.pdf.setLineWidth(sn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(sn){["bevel","round","miter"].indexOf(sn)!==-1&&(this.ctx.lineJoin=sn,this.pdf.setLineJoin(sn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(sn){isNaN(sn)||(this.ctx.miterLimit=sn,this.pdf.setMiterLimit(sn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(sn){this.ctx.textBaseline=sn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(sn){["right","end","center","left","start"].indexOf(sn)!==-1&&(this.ctx.textAlign=sn)}});var Ri=null,ki=null,Io=null;Object.defineProperty(this,"fontFaces",{get:function(){return Io},set:function(sn){Ri=null,ki=null,Io=sn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(sn){var ji;if(this.ctx.font=sn,(ji=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(sn))!==null){var Ca=ji[1];ji[2];var ko=ji[3],vi=ji[4];ji[5];var Ho=ji[6],no=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(vi)[2];vi=Math.floor(no==="px"?parseFloat(vi)*this.pdf.internal.scaleFactor:no==="em"?parseFloat(vi)*this.pdf.getFontSize():parseFloat(vi)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(vi);var Mo=function(xo){var fA,Wa,Ea=[],Fa=xo.trim();if(Fa==="")return zm;if(Fa in Zc)return[Zc[Fa]];for(;Fa!=="";){switch(Wa=null,fA=(Fa=Xc(Fa)).charAt(0)){case'"':case"'":Wa=cc(Fa.substring(1),fA);break;default:Wa=Dd(Fa)}if(Wa===null||(Ea.push(Wa[0]),(Fa=Xc(Wa[1]))!==""&&Fa.charAt(0)!==","))return zm;Fa=Fa.replace(/^,/,"")}return Ea}(Ho);if(this.fontFaces){var Uo=function(xo,fA){var Wa=xo.getFontList(),Ea=JSON.stringify(Wa);if(Ri===null||ki!==Ea){var Fa=function(Ns){var No=[];return Object.keys(Ns).forEach(function(ms){Ns[ms].forEach(function(Go){var aa=null;switch(Go){case"bold":aa={family:ms,weight:"bold"};break;case"italic":aa={family:ms,style:"italic"};break;case"bolditalic":aa={family:ms,weight:"bold",style:"italic"};break;case"":case"normal":aa={family:ms}}aa!==null&&(aa.ref={name:ms,style:Go},No.push(aa))})}),No}(Wa);Ri=function(Ns){for(var No={},ms=0;ms=700||Ca==="bold")&&(oa="bold"),Ca==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var Ha="",Qa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ho=0;ho=2*Math.PI&&(jn=0,rr=2*Math.PI),this.path.push({type:"arc",x:Ft,y:wn,radius:In,startAngle:jn,endAngle:rr,counterclockwise:mr})},tt.prototype.arcTo=function(Ft,wn,In,jn,rr){throw new Error("arcTo not implemented.")},tt.prototype.rect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ft,wn),this.lineTo(Ft+In,wn),this.lineTo(Ft+In,wn+jn),this.lineTo(Ft,wn+jn),this.lineTo(Ft,wn),this.lineTo(Ft+In,wn),this.lineTo(Ft,wn)},tt.prototype.fillRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Oe.call(this)){var rr={};this.lineCap!=="butt"&&(rr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(rr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ft,wn,In,jn),this.fill(),rr.hasOwnProperty("lineCap")&&(this.lineCap=rr.lineCap),rr.hasOwnProperty("lineJoin")&&(this.lineJoin=rr.lineJoin)}},tt.prototype.strokeRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");nn.call(this)||(this.beginPath(),this.rect(Ft,wn,In,jn),this.stroke())},tt.prototype.clearRect=function(Ft,wn,In,jn){if(isNaN(Ft)||isNaN(wn)||isNaN(In)||isNaN(jn))throw Pa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ft,wn,In,jn))},tt.prototype.save=function(Ft){Ft=typeof Ft!="boolean"||Ft;for(var wn=this.pdf.internal.getCurrentPageInfo().pageNumber,In=0;In0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};tt.prototype.drawImage=function(Ft,wn,In,jn,rr,mr,Rr,Wr,oi){var bi=this.pdf.getImageProperties(Ft),Ri=1,ki=1,Io=1,sn=1;jn!==void 0&&Wr!==void 0&&(Io=Wr/jn,sn=oi/rr,Ri=bi.width/jn*Wr/jn,ki=bi.height/rr*oi/rr),mr===void 0&&(mr=wn,Rr=In,wn=0,In=0),jn!==void 0&&Wr===void 0&&(Wr=jn,oi=rr),jn===void 0&&Wr===void 0&&(Wr=bi.width,oi=bi.height);var ji=this.ctx.transform.decompose(),Ca=yr(ji.rotate.shx),ko=new be,vi=(ko=(ko=(ko=ko.multiply(ji.translate)).multiply(ji.skew)).multiply(ji.scale)).applyToRectangle(new ve(mr-wn*Io,Rr-In*sn,jn*Ri,rr*ki));if(this.autoPaging){for(var Ho,no=on.call(this,vi),Mo=[],Uo=0;Uois||oavi||no0)){for(;oi>=0;oi--)if(rr[oi-1].close!==!0&&rr[oi-1].begin!==!0){rr[oi-1].deltas.push(In),rr[oi-1].abs.push(Wr);break}}break;case"bct":In=[Wr.x1-mr[Rr-1].x,Wr.y1-mr[Rr-1].y,Wr.x2-mr[Rr-1].x,Wr.y2-mr[Rr-1].y,Wr.x-mr[Rr-1].x,Wr.y-mr[Rr-1].y],rr[rr.length-1].deltas.push(In);break;case"qct":var bi=mr[Rr-1].x+2/3*(Wr.x1-mr[Rr-1].x),Ri=mr[Rr-1].y+2/3*(Wr.y1-mr[Rr-1].y),ki=Wr.x+2/3*(Wr.x1-Wr.x),Io=Wr.y+2/3*(Wr.y1-Wr.y),sn=Wr.x,ji=Wr.y;In=[bi-mr[Rr-1].x,Ri-mr[Rr-1].y,ki-mr[Rr-1].x,Io-mr[Rr-1].y,sn-mr[Rr-1].x,ji-mr[Rr-1].y],rr[rr.length-1].deltas.push(In);break;case"arc":rr.push({deltas:[],abs:[],arc:!0}),Array.isArray(rr[rr.length-1].abs)&&rr[rr.length-1].abs.push(Wr)}}jn=wn?null:Ft==="stroke"?"stroke":"fill";for(var Ca=!1,ko=0;ko=.01&&(jn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jn*Ft.scale),rr=this.lineWidth,this.lineWidth=rr*Ft.scale);var ca=this.autoPaging!=="text";if(ca||ho.y+ho.h<=Uo){if(ca||ho.y>=no&&ho.x<=Ta){var xo=ca?Ft.text:this.pdf.splitTextToSize(Ft.text,Ft.maxWidth||Ta-ho.x)[0],fA=Hn([JSON.parse(JSON.stringify(ki))],this.posX+this.margin[3],-Ha+no+this.ctx.prevPageLastElemOffset)[0],Wa=ca&&(Ho>ko||Ho=.01&&(this.pdf.setFontSize(jn),this.lineWidth=rr)}}else Ft.scale>=.01&&(jn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jn*Ft.scale),rr=this.lineWidth,this.lineWidth=rr*Ft.scale),this.pdf.text(Ft.text,oi.x+this.posX,oi.y+this.posY,{angle:Ft.angle,align:wn,renderingMode:Ft.renderingMode,maxWidth:Ft.maxWidth}),Ft.scale>=.01&&(this.pdf.setFontSize(jn),this.lineWidth=rr)},Mn=function(Ft,wn,In,jn){In=In||0,jn=jn||0,this.pdf.internal.out(x(Ft+In)+" "+te(wn+jn)+" l")},Nn=function(Ft,wn,In){return this.pdf.lines(Ft,wn,In,null,null)},Sr=function(Ft,wn,In,jn,rr,mr,Rr,Wr){this.pdf.internal.out([E(re(In+Ft)),E(ae(jn+wn)),E(re(rr+Ft)),E(ae(mr+wn)),E(re(Rr+Ft)),E(ae(Wr+wn)),"c"].join(" "))},Hr=function(Ft,wn,In,jn){for(var rr=2*Math.PI,mr=Math.PI/2;wn>In;)wn-=rr;var Rr=Math.abs(In-wn);Rr1e-5;){var Ri=bi+oi*Math.min(Rr,mr);Wr.push(zr.call(this,Ft,bi,Ri)),Rr-=Math.abs(Ri-bi),bi=Ri}return Wr},zr=function(Ft,wn,In){var jn=(In-wn)/2,rr=Ft*Math.cos(jn),mr=Ft*Math.sin(jn),Rr=rr,Wr=-mr,oi=Rr*Rr+Wr*Wr,bi=oi+Rr*rr+Wr*mr,Ri=4/3*(Math.sqrt(2*oi*bi)-bi)/(Rr*mr-Wr*rr),ki=Rr-Ri*Wr,Io=Wr+Ri*Rr,sn=ki,ji=-Io,Ca=jn+wn,ko=Math.cos(Ca),vi=Math.sin(Ca);return{x1:Ft*Math.cos(wn),y1:Ft*Math.sin(wn),x2:ki*ko-Io*vi,y2:ki*vi+Io*ko,x3:sn*ko-ji*vi,y3:sn*vi+ji*ko,x4:Ft*Math.cos(In),y4:Ft*Math.sin(In)}},yr=function(Ft){return 180*Ft/Math.PI},Vr=function(Ft,wn,In,jn,rr,mr){var Rr=Ft+.5*(In-Ft),Wr=wn+.5*(jn-wn),oi=rr+.5*(In-rr),bi=mr+.5*(jn-mr),Ri=Math.min(Ft,rr,Rr,oi),ki=Math.max(Ft,rr,Rr,oi),Io=Math.min(wn,mr,Wr,bi),sn=Math.max(wn,mr,Wr,bi);return new ve(Ri,Io,ki-Ri,sn-Io)},Ei=function(Ft,wn,In,jn,rr,mr,Rr,Wr){var oi,bi,Ri,ki,Io,sn,ji,Ca,ko,vi,Ho,no,Mo,Uo,is=In-Ft,Ta=jn-wn,oa=rr-In,Ha=mr-jn,Qa=Rr-rr,ho=Wr-mr;for(bi=0;bi<41;bi++)ko=(ji=(Ri=Ft+(oi=bi/40)*is)+oi*((Io=In+oi*oa)-Ri))+oi*(Io+oi*(rr+oi*Qa-Io)-ji),vi=(Ca=(ki=wn+oi*Ta)+oi*((sn=jn+oi*Ha)-ki))+oi*(sn+oi*(mr+oi*ho-sn)-Ca),bi==0?(Ho=ko,no=vi,Mo=ko,Uo=vi):(Ho=Math.min(Ho,ko),no=Math.min(no,vi),Mo=Math.max(Mo,ko),Uo=Math.max(Uo,vi));return new ve(Math.round(Ho),Math.round(no),Math.round(Mo-Ho),Math.round(Uo-no))},ui=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ft,wn,In=(Ft=this.ctx.lineDash,wn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ft,lineDashOffset:wn}));this.prevLineDash!==In&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=In)}}})(ao.API),function(y){var E=function(we){var ve,be,Se,Ne,tt,dt,Oe,nn,Xt,on;for(/[^\x00-\xFF]/.test(we),be=[],Se=0,Ne=(we+=ve="\0\0\0\0".slice(we.length%4||4)).length;Ne>Se;Se+=4)(tt=(we.charCodeAt(Se)<<24)+(we.charCodeAt(Se+1)<<16)+(we.charCodeAt(Se+2)<<8)+we.charCodeAt(Se+3))!==0?(dt=(tt=((tt=((tt=((tt=(tt-(on=tt%85))/85)-(Xt=tt%85))/85)-(nn=tt%85))/85)-(Oe=tt%85))/85)%85,be.push(dt+33,Oe+33,nn+33,Xt+33,on+33)):be.push(122);return function(Ot,Hn){for(var On=Hn;On>0;On--)Ot.pop()}(be,ve.length),String.fromCharCode.apply(String,be)+"~>"},x=function(we){var ve,be,Se,Ne,tt,dt=String,Oe="length",nn=255,Xt="charCodeAt",on="slice",Ot="replace";for(we[on](-2),we=we[on](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Se=[],Ne=0,tt=(we+=ve="uuuuu"[on](we[Oe]%5||5))[Oe];tt>Ne;Ne+=5)be=52200625*(we[Xt](Ne)-33)+614125*(we[Xt](Ne+1)-33)+7225*(we[Xt](Ne+2)-33)+85*(we[Xt](Ne+3)-33)+(we[Xt](Ne+4)-33),Se.push(nn&be>>24,nn&be>>16,nn&be>>8,nn&be);return function(Hn,On){for(var Bn=On;Bn>0;Bn--)Hn.pop()}(Se,ve[Oe]),dt.fromCharCode.apply(dt,Se)},te=function(we){return we.split("").map(function(ve){return("0"+ve.charCodeAt().toString(16)).slice(-2)}).join("")+">"},re=function(we){var ve=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((we=we.replace(/\s/g,"")).indexOf(">")!==-1&&(we=we.substr(0,we.indexOf(">"))),we.length%2&&(we+="0"),ve.test(we)===!1)return"";for(var be="",Se=0;SeXt&&(nn=on,on=Xt,Xt=nn);else{if(ve!=="l"&&ve!=="landscape")throw"Invalid orientation: "+ve;ve="l",Xt>on&&(nn=on,on=Xt,Xt=nn)}return{width:on,height:Xt,unit:be,k:tt,orientation:ve}},y.html=function(ve,be){(be=be||{}).callback=be.callback||function(){},be.html2canvas=be.html2canvas||{},be.html2canvas.canvas=be.html2canvas.canvas||this.canvas,be.jsPDF=be.jsPDF||this,be.fontFaces=be.fontFaces?be.fontFaces.map(Wl):null;var Se=new we(be);return be.worker?Se:Se.from(ve).doCallback()}}(ao.API),ao.API.addJS=function(y){return F0=y,this.internal.events.subscribe("postPutResources",function(){Yc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),E0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+F0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yc!==void 0&&E0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var E;y.events.push(["postPutResources",function(){var x=this,te=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var re=x.outline.render().split(/\r\n/),ae=0;ae> endobj")}var Oe=x.internal.newObject();for(x.internal.write("<< /Names [ "),ae=0;ae>","endobj"),E=x.internal.newObject(),x.internal.write("<< /Dests "+Oe+" 0 R"),x.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+E+" 0 R"))}]),y.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(te,re,ae){var we={title:re,options:ae,children:[]};return te==null&&(te=this.root),te.children.push(we),we},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(te){te.id=x.internal.newObjectDeferred();for(var re=0;re0&&(this.line("/First "+this.makeRef(te.children[0])),this.line("/Last "+this.makeRef(te.children[te.children.length-1]))),this.line("/Count "+this.count_r({count:0},te)),this.objEnd()},x.outline.renderItems=function(te){for(var re=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae0&&this.line("/Prev "+this.makeRef(te.children[ae-1])),ae0&&(this.line("/First "+this.makeRef(we.children[0])),this.line("/Last "+this.makeRef(we.children[we.children.length-1])));var ve=this.count=this.count_r({count:0},we);if(ve>0&&this.line("/Count "+ve),we.options&&we.options.pageNumber){var be=x.internal.getPageInfo(we.options.pageNumber);this.line("/Dest ["+be.objId+" 0 R /XYZ 0 "+re(0)+" 0]")}this.objEnd()}for(var Se=0;Se>"}),"transparency"in At&&Array.isArray(At.transparency)&&At.transparency.length>0){for(var Nn="",gn=0,Tn=At.transparency.length;gn>",Je.content=l;var Ot=Je.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=1};var Q=e.__arabicParser__.arabicLetterHasFinalForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=3};var V=e.__arabicParser__.arabicLetterHasMedialForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length==4},fe=e.__arabicParser__.resolveLigatures=function(Je){var it=0,Me=t,Mt="",Ot=0;for(it=0;it>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(y){t=y}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(y){r=isNaN(y)||Number.isInteger(y)===!1||y<0?150:y,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(y){o=isNaN(y)||Number.isInteger(y)===!1||y<0?300:y,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(y){l=y}});var w={};Object.defineProperty(this,"style",{get:function(){return w},set:function(y){w=y}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(yo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(Je){S=Je}});var Q=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Q},set:function(Je){Q=Je}});var V=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return V},set:function(Je){V=Je}});var fe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return fe},set:function(Je){fe=Je}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(Je){Le=Je}});var z=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return z},set:function(Je){z=Je}});var ot=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ot},set:function(Je){ot=Je}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,Q){r.call(this);var V=(Q=Q||{}).fontSize||this.getFontSize(),fe=Q.font||this.getFont(),Le=Q.scaleFactor||this.internal.scaleFactor,z=0,ot=0,Je=0,it=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var Me=Q.maxWidth;Me>0?typeof S=="string"?S=this.splitTextToSize(S,Me):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Ot,Ct){return Ot.concat(it.splitTextToSize(Ct,Me))},[])):S=Array.isArray(S)?S:[S];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),S.y=fe.top,z&&Le&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Le[0].height)):S.y=Q.y+Q.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-V,S.y+V,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+V,{align:"center",baseline:"top",maxWidth:S.width-V-V}):this.text(S.text,S.x+V,S.y+V,{align:"left",baseline:"top",maxWidth:S.width-V-V})),this.internal.__cell__.lastCell=S,this};e.table=function(S,Q,V,fe,Le){if(r.call(this),!V)throw new Error("No data for PDF table.");var z,ot,Je,it,Me=[],Mt=[],Ot=[],Ct={},vn={},Hn=[],Un=[],Gt=(Le=Le||{}).autoSize||!1,xt=Le.printHeaders!==!1,sn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,_e=Le.margins||Object.assign({width:this.getPageWidth()},n),At=typeof Le.padding=="number"?Le.padding:3,jt=Le.headerBackgroundColor||"#c8c8c8",Tt=Le.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=xt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=sn,this.internal.__cell__.padding=At,this.internal.__cell__.headerBackgroundColor=jt,this.internal.__cell__.headerTextColor=Tt,this.setFontSize(sn),fe==null)Mt=Me=Object.keys(V[0]),Ot=Me.map(function(){return"left"});else if(Array.isArray(fe)&&(0,s.Z)(fe[0])==="object")for(Me=fe.map(function(Ir){return Ir.name}),Mt=fe.map(function(Ir){return Ir.prompt||Ir.name||""}),Ot=fe.map(function(Ir){return Ir.align||"left"}),z=0;z0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(yo.API);var ss={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Us=Qa(yu),Rs=[100,200,300,400,500,600,700,800,900],bc=Qa(Rs);function Bl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ss[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),o=function(l){return typeof Us[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function wu(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Hg(e,n,t){var r=e.length,o=[];o[0]=4;for(var l=0;l>l&w}function kg(e,n,t,r){var o=t*r,l=Math.floor(o/8),w=16-(o-8*l+r),y=(1<>8&255;Q.setUint8(V,Le)}})(e,l,Kg(e,l)&~(y<>7,w=1<<1+(7&o);e[n++],e[n++];var y=null,S=null;l&&(y=n,S=w,n+=3*w);var Q=!0,V=[],fe=0,Le=null,z=0,ot=null;for(this.width=t,this.height=r;Q&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Je=e[n++];fe=e[n++]|e[n++]<<8,Le=e[n++],1&Je||(Le=null),z=Je>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var it=e[n++]|e[n++]<<8,Me=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Ot=e[n++]|e[n++]<<8,Ct=e[n++],vn=Ct>>6&1,Hn=1<<1+(7&Ct),Un=y,Gt=S,xt=!1;Ct>>7&&(xt=!0,Un=n,Gt=Hn,n+=3*Hn);var sn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}V.push({x:it,y:Me,width:Mt,height:Ot,has_local_palette:xt,palette_offset:Un,palette_size:Gt,data_offset:sn,data_length:n-sn,transparent_index:Le,interlaced:!!vn,delay:fe,disposal:z});break;case 59:Q=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return V.length},this.loopCount=function(){return ot},this.frameInfo=function(At){if(At<0||At>=V.length)throw new Error("Frame index out of range.");return V[At]},this.decodeAndBlitFrameBGRA=function(At,jt){var Tt=this.frameInfo(At),Bn=Tt.width*Tt.height,Fn=new Uint8Array(Bn);zg(e,Tt.data_offset,Fn,Bn);var Nn=Tt.palette_offset,gn=Tt.transparent_index;gn===null&&(gn=256);var Tn=Tt.width,Ir=t-Tn,or=Tn,Pe=4*(Tt.y*t+Tt.x),bt=4*((Tt.y+Tt.height)*t+Tt.x),Lt=Pe,Ht=4*Ir;Tt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,fn=0,Ln=Fn.length;fn=bt&&(Ht=4*Ir+4*t*(Jt-1),Lt=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),On===gn)Lt+=4;else{var $n=e[Nn+3*On],wr=e[Nn+3*On+1],$r=e[Nn+3*On+2];jt[Lt++]=$r,jt[Lt++]=wr,jt[Lt++]=$n,jt[Lt++]=255}--or}},this.decodeAndBlitFrameRGBA=function(At,jt){var Tt=this.frameInfo(At),Bn=Tt.width*Tt.height,Fn=new Uint8Array(Bn);zg(e,Tt.data_offset,Fn,Bn);var Nn=Tt.palette_offset,gn=Tt.transparent_index;gn===null&&(gn=256);var Tn=Tt.width,Ir=t-Tn,or=Tn,Pe=4*(Tt.y*t+Tt.x),bt=4*((Tt.y+Tt.height)*t+Tt.x),Lt=Pe,Ht=4*Ir;Tt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,fn=0,Ln=Fn.length;fn=bt&&(Ht=4*Ir+4*t*(Jt-1),Lt=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),On===gn)Lt+=4;else{var $n=e[Nn+3*On],wr=e[Nn+3*On+1],$r=e[Nn+3*On+2];jt[Lt++]=$n,jt[Lt++]=wr,jt[Lt++]=$r,jt[Lt++]=255}--or}}}function zg(e,n,t,r){for(var o=e[n++],l=1<>=S,V-=S,it!==l){if(it===w)break;for(var Me=itl;)Ot=ot[Ot]>>8,++Mt;var Ct=Ot;if(Le+Mt+(Me!==it?1:0)>r)return void Ka.log("Warning, gif stream longer than expected.");t[Le++]=Ct;var vn=Le+=Mt;for(Me!==it&&(t[Le++]=Ct),Ot=Me;Mt--;)Ot=ot[Ot],t[--vn]=255&Ot,Ot>>=8;Je!==null&&y<4096&&(ot[y++]=Je<<8|Ct,y>=Q+1&&S<12&&(++S,Q=Q<<1|1)),Je=it}else y=w+1,Q=(1<<(S=o+1))-1,Je=null}return Le!==r&&Ka.log("Warning, gif stream shorter than expected."),t}function Wp(e){var n,t,r,o,l,w=Math.floor,y=new Array(64),S=new Array(64),Q=new Array(64),V=new Array(64),fe=new Array(65535),Le=new Array(65535),z=new Array(64),ot=new Array(64),Je=[],it=0,Me=7,Mt=new Array(64),Ot=new Array(64),Ct=new Array(64),vn=new Array(256),Hn=new Array(2048),Un=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Gt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xt=[0,1,2,3,4,5,6,7,8,9,10,11],sn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],At=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Tt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Bn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fn(Pe,bt){for(var Lt=0,Ht=0,Jt=new Array,fn=1;fn<=16;fn++){for(var Ln=1;Ln<=Pe[fn];Ln++)Jt[bt[Ht]]=[],Jt[bt[Ht]][0]=Lt,Jt[bt[Ht]][1]=fn,Ht++,Lt++;Lt*=2}return Jt}function Nn(Pe){for(var bt=Pe[0],Lt=Pe[1]-1;Lt>=0;)bt&1<>8&255),gn(255&Pe)}function Ir(Pe,bt,Lt,Ht,Jt){for(var fn,Ln=Jt[0],On=Jt[240],$n=function(dr,$o){var po,ko,To,Pa,oa,mi,ca,ia,xo,xi,Uo=0;for(xo=0;xo<8;++xo){po=dr[Uo],ko=dr[Uo+1],To=dr[Uo+2],Pa=dr[Uo+3],oa=dr[Uo+4],mi=dr[Uo+5],ca=dr[Uo+6];var ts=po+(ia=dr[Uo+7]),ba=po-ia,Mi=ko+ca,Hi=ko-ca,xA=To+mi,jo=To-mi,iA=Pa+oa,ni=Pa-oa,vi=ts+iA,SA=ts-iA,Gi=Mi+xA,Yo=Mi-xA;dr[Uo]=vi+Gi,dr[Uo+4]=vi-Gi;var Ta=.707106781*(Yo+SA);dr[Uo+2]=SA+Ta,dr[Uo+6]=SA-Ta;var tf=.382683433*((vi=ni+jo)-(Yo=Hi+ba)),qs=.5411961*vi+tf,Ec=1.306562965*Yo+tf,qu=.707106781*(Gi=jo+Hi),Jo=ba+qu,xc=ba-qu;dr[Uo+5]=xc+qs,dr[Uo+3]=xc-qs,dr[Uo+1]=Jo+Ec,dr[Uo+7]=Jo-Ec,Uo+=8}for(Uo=0,xo=0;xo<8;++xo){po=dr[Uo],ko=dr[Uo+8],To=dr[Uo+16],Pa=dr[Uo+24],oa=dr[Uo+32],mi=dr[Uo+40],ca=dr[Uo+48];var Sc=po+(ia=dr[Uo+56]),Gl=po-ia,$l=ko+ca,VA=ko-ca,Ls=To+mi,_s=To-mi,nf=Pa+oa,dd=Pa-oa,Eu=Sc+nf,ec=Sc-nf,xu=$l+Ls,Su=$l-Ls;dr[Uo]=Eu+xu,dr[Uo+32]=Eu-xu;var Xl=.707106781*(Su+ec);dr[Uo+16]=ec+Xl,dr[Uo+48]=ec-Xl;var rf=.382683433*((Eu=dd+_s)-(Su=VA+Gl)),tc=.5411961*Eu+rf,of=1.306562965*Su+rf,zf=.707106781*(xu=_s+VA),Zf=Gl+zf,Vf=Gl-zf;dr[Uo+40]=Vf+tc,dr[Uo+24]=Vf-tc,dr[Uo+8]=Zf+of,dr[Uo+56]=Zf-of,Uo++}for(xo=0;xo<64;++xo)xi=dr[xo]*$o[xo],z[xo]=xi>0?xi+.5|0:xi-.5|0;return z}(Pe,bt),wr=0;wr<64;++wr)ot[Un[wr]]=$n[wr];var $r=ot[0]-Lt;Lt=ot[0],$r==0?Nn(Ht[0]):(Nn(Ht[Le[fn=32767+$r]]),Nn(fe[fn]));for(var Gr=63;Gr>0&&ot[Gr]==0;)Gr--;if(Gr==0)return Nn(Ln),Lt;for(var Qo,st=1;st<=Gr;){for(var Xr=st;ot[st]==0&&st<=Gr;)++st;var Ri=st-Xr;if(Ri>=16){Qo=Ri>>4;for(var Go=1;Go<=Qo;++Go)Nn(On);Ri&=15}fn=32767+ot[st],Nn(Jt[(Ri<<4)+Le[fn]]),Nn(fe[fn]),st++}return Gr!=63&&Nn(Ln),Lt}function or(Pe){Pe=Math.min(Math.max(Pe,1),100),l!=Pe&&(function(bt){for(var Lt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var Jt=w((Lt[Ht]*bt+50)/100);Jt=Math.min(Math.max(Jt,1),255),y[Un[Ht]]=Jt}for(var fn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Ln=0;Ln<64;Ln++){var On=w((fn[Ln]*bt+50)/100);On=Math.min(Math.max(On,1),255),S[Un[Ln]]=On}for(var $n=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wr=0,$r=0;$r<8;$r++)for(var Gr=0;Gr<8;Gr++)Q[wr]=1/(y[Un[wr]]*$n[$r]*$n[Gr]*8),V[wr]=1/(S[Un[wr]]*$n[$r]*$n[Gr]*8),wr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),l=Pe)}this.encode=function(Pe,bt){bt&&or(bt),Je=new Array,it=0,Me=7,Tn(65496),Tn(65504),Tn(16),gn(74),gn(70),gn(73),gn(70),gn(0),gn(1),gn(1),gn(0),Tn(1),Tn(1),gn(0),gn(0),function(){Tn(65499),Tn(132),gn(0);for(var ko=0;ko<64;ko++)gn(y[ko]);gn(1);for(var To=0;To<64;To++)gn(S[To])}(),function(ko,To){Tn(65472),Tn(17),gn(8),Tn(To),Tn(ko),gn(3),gn(1),gn(17),gn(0),gn(2),gn(17),gn(1),gn(3),gn(17),gn(1)}(Pe.width,Pe.height),function(){Tn(65476),Tn(418),gn(0);for(var ko=0;ko<16;ko++)gn(Gt[ko+1]);for(var To=0;To<=11;To++)gn(xt[To]);gn(16);for(var Pa=0;Pa<16;Pa++)gn(sn[Pa+1]);for(var oa=0;oa<=161;oa++)gn(_e[oa]);gn(1);for(var mi=0;mi<16;mi++)gn(At[mi+1]);for(var ca=0;ca<=11;ca++)gn(jt[ca]);gn(17);for(var ia=0;ia<16;ia++)gn(Tt[ia+1]);for(var xo=0;xo<=161;xo++)gn(Bn[xo])}(),Tn(65498),Tn(12),gn(3),gn(1),gn(0),gn(2),gn(17),gn(3),gn(17),gn(0),gn(63),gn(0);var Lt=0,Ht=0,Jt=0;it=0,Me=7,this.encode.displayName="_encode_";for(var fn,Ln,On,$n,wr,$r,Gr,Qo,st,Xr=Pe.data,Ri=Pe.width,Go=Pe.height,dr=4*Ri,$o=0;$o>3)*dr+(Gr=4*(7&st)),$o+Qo>=Go&&($r-=dr*($o+1+Qo-Go)),fn+Gr>=dr&&($r-=fn+Gr-dr+4),Ln=Xr[$r++],On=Xr[$r++],$n=Xr[$r++],Mt[st]=(Hn[Ln]+Hn[On+256|0]+Hn[$n+512|0]>>16)-128,Ot[st]=(Hn[Ln+768|0]+Hn[On+1024|0]+Hn[$n+1280|0]>>16)-128,Ct[st]=(Hn[Ln+1280|0]+Hn[On+1536|0]+Hn[$n+1792|0]>>16)-128;Lt=Ir(Mt,Q,Lt,n,r),Ht=Ir(Ot,V,Ht,t,o),Jt=Ir(Ct,V,Jt,t,o),fn+=32}$o+=8}if(Me>=0){var po=[];po[1]=Me+1,po[0]=(1<At;At++)if(xt[sn+At]!=_e.charCodeAt(At))return!0;return!1}function r(xt,sn,_e,At,jt){for(var Tt=0;TtTt+1?[]:new sn),!(Bn.length>>0;u&_;)_>>>=1;return _?(u&_-1)+_:u}function _e(u,m,_,q,be){n(!(q%_));do u[m+(q-=_)]=be;while(0=be),512>=be)var Ne=l(512);else if((Ne=l(be))==null)return 0;return function(De,Ze,Ye,ft,Wt,mn){var ht,Xt,un=Ze,jn=1<ht;++ht){if(pn[ht]>1<(Ni-=pn[ht]))return 0;for(;0=ht;++ht,Wt<<=1){if(fo+=Ni<<=1,0>(Ni-=pn[ht]))return 0;for(;0yr&&!(0>=(Vn-=pn[yr]));)++yr,Vn<<=1;jn+=wo=1<<(Vn=yr-Ye),De[Ze+(yr=Fo&ar)].g=Vn+Ye,De[Ze+yr].value=un-Ze-yr}ft.g=ht-Ye,ft.value=mn[Xt++],_e(De,un+(Fo>>Ye),Wt,wo,ft),Fo=sn(Fo,ht)}}return fo!=2*kn[15]-1?0:jn}(u,m,_,q,be,Ne)}function jt(){this.value=this.g=0}function Tt(){this.value=this.g=0}function Bn(){this.G=w(5,jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=w(gf,Tt)}function Fn(u,m,_,q){n(u!=null),n(m!=null),n(2147483648>q),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=m,u.pa=_,u.Jd=m,u.Yc=_+q,u.Zc=4<=q?_+q-4+1:_,Ln(u)}function Nn(u,m){for(var _=0;0q),u.Sb=q,u.Ra=0,u.u=0,u.h=0,4>>=8,u.Ra+=u.oa[u.pa+u.bb]<>>0,++u.bb,u.u-=8;Ht(u)&&(u.h=1,u.u=0)}function or(u,m){if(n(0<=m),!u.h&&m<=Ol){var _=Lt(u)&Ql[m];return u.u+=m,Ir(u),_}return u.h=1,u.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Lt(u){return u.Ra>>>(u.u&gd-1)>>>0}function Ht(u){return n(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>gd}function Jt(u,m){u.u=m,u.h=Ht(u)}function fn(u){u.u>=Rc&&(n(u.u>=Rc),Ir(u))}function Ln(u){n(u!=null&&u.oa!=null),u.pa>>0,u.b+=8):(n(u!=null&&u.oa!=null),u.pau.b&&Ln(u);var q=u.b,be=_*m>>>8,Ne=(u.I>>>q>be)+0;for(Ne?(_-=be,u.I-=be+1<>>0):_=be+1,q=_,be=0;256<=q;)be+=8,q>>=8;return q=7^be+md[q],u.b-=q,u.Ca=(_<>24&255,u[m+1]=_>>16&255,u[m+2]=_>>8&255,u[m+3]=255&_}function $r(u,m){return u[m+0]|u[m+1]<<8}function Gr(u,m){return $r(u,m)|u[m+2]<<16}function Qo(u,m){return $r(u,m)|$r(u,m+2)<<16}function st(u,m){var _=1<=be||0>=Ne?0:(_[0]=be,q[0]=Ne,1)}function dr(u,m){return u+(1<>>m}function $o(u,m){return((4278255360&u)+(4278255360&m)>>>0&4278255360)+((16711935&u)+(16711935&m)>>>0&16711935)>>>0}function po(u,m){xt[m]=function(_,q,be,Ne,De,Ze,Ye){var ft;for(ft=0;ft>>1)+(u&m)>>>0}function Pa(u){return 0<=u&&256>u?u:0>u?0:255>1))}function mi(u,m,_){return Math.abs(m-_)-Math.abs(u-_)}function ca(u,m,_,q,be,Ne,De){for(q=Ne[De-1],_=0;_>8&255,Ye=16711935&(Ye=(Ye=16711935&De)+((Ze<<16)+Ze));q[be+Ne]=(4278255360&De)+Ye>>>0}}function xo(u,m){m.jd=255&u,m.hd=u>>8&255,m.ud=u>>16&255}function xi(u,m,_,q,be,Ne){var De;for(De=0;De>>8,ft=Ze,Wt=255&(Wt=(Wt=Ze>>>16)+((u.jd<<24>>24)*(Ye<<24>>24)>>>5));ft=255&(ft=(ft+=(u.hd<<24>>24)*(Ye<<24>>24)>>>5)+((u.ud<<24>>24)*(Wt<<24>>24)>>>5)),be[Ne+De]=(4278255360&Ze)+(Wt<<16)+ft}}function Uo(u,m,_,q,be){xt[m]=function(Ne,De,Ze,Ye,ft,Wt,mn,ht,Xt){for(Ye=mn;Ye>Ne.b,Xt=Ne.Ea,un=Ne.K[0],jn=Ne.w;if(8>ht)for(Ne=(1<>=ht}else xt["VP8LMapColor"+_](Ye,ft,un,jn,Wt,mn,De,Ze,Xt)}}function ts(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=Ne>>16&255,q[be++]=Ne>>8&255,q[be++]=255&Ne}}function ba(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=Ne>>16&255,q[be++]=Ne>>8&255,q[be++]=255&Ne,q[be++]=Ne>>24&255}}function Mi(u,m,_,q,be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&240|De>>12&15,De=240&De|De>>28&15;q[be++]=Ne,q[be++]=De}}function Hi(u,m,_,q,be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&248|De>>13&7,De=De>>5&224|De>>3&31;q[be++]=Ne,q[be++]=De}}function xA(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=255&Ne,q[be++]=Ne>>8&255,q[be++]=Ne>>16&255}}function jo(u,m,_,q,be,Ne){if(Ne==0)for(_=m+_;m<_;)wr(q,((Ne=u[m++])[0]>>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),be+=32;else r(q,be,u,m,_)}function iA(u,m){xt[m][0]=xt[u+"0"],xt[m][1]=xt[u+"1"],xt[m][2]=xt[u+"2"],xt[m][3]=xt[u+"3"],xt[m][4]=xt[u+"4"],xt[m][5]=xt[u+"5"],xt[m][6]=xt[u+"6"],xt[m][7]=xt[u+"7"],xt[m][8]=xt[u+"8"],xt[m][9]=xt[u+"9"],xt[m][10]=xt[u+"10"],xt[m][11]=xt[u+"11"],xt[m][12]=xt[u+"12"],xt[m][13]=xt[u+"13"],xt[m][14]=xt[u+"0"],xt[m][15]=xt[u+"0"]}function ni(u){return u==dg||u==fg||u==gp||u==hg}function vi(){this.eb=[],this.size=this.A=this.fb=0}function SA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Gi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vi,this.f.kb=new SA,this.sd=null}function Yo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ta(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function qs(u,m){var _=u.T,q=m.ba.f.RGBA,be=q.eb,Ne=q.fb+u.ka*q.A,De=nu[m.ba.S],Ze=u.y,Ye=u.O,ft=u.f,Wt=u.N,mn=u.ea,ht=u.W,Xt=m.cc,un=m.dc,jn=m.Mc,pn=m.Nc,kn=u.ka,Vn=u.ka+u.T,yr=u.U,ar=yr+1>>1;for(kn==0?De(Ze,Ye,null,null,ft,Wt,mn,ht,ft,Wt,mn,ht,be,Ne,null,null,yr):(De(m.ec,m.fc,Ze,Ye,Xt,un,jn,pn,ft,Wt,mn,ht,be,Ne-q.A,be,Ne,yr),++_);kn+2_,be=_==fp||_==hp||_==pp||_==cg||_==12||ni(_);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!e0(m.Oa,u,be?11:12))return 0;if(be&&ni(_)&&Yh(),u.da)alert("todo:use_scaling");else{if(q){if(m.Ib=tf,u.Kb){if(_=u.U+1>>1,m.memory=l(u.U+2*_),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+u.U,m.Mc=m.cc,m.Nc=m.dc+_,m.Ib=qs,Yh()}}else alert("todo:EmitYUV");be&&(m.Jb=Ec,q&&Iu())}if(q&&!ym){for(u=0;256>u;++u)vv[u]=89858*(u-128)+vp>>mp,Bv[u]=-22014*(u-128)+vp,wv[u]=-45773*(u-128),yv[u]=113618*(u-128)+vp>>mp;for(u=u0;u>mp,bv[u-u0]=nc(m,255),Cv[u-u0]=nc(m+8>>4,15);ym=1}return 1}function Jo(u){var m=u.ma,_=u.U,q=u.T;return n(!(1&u.ka)),0>=_||0>=q?0:(_=m.Ib(u,m),m.Jb!=null&&m.Jb(u,m,_),m.Dc+=_,1)}function xc(u){u.ma.memory=null}function Sc(u,m,_,q){return or(u,8)!=47?0:(m[0]=or(u,14)+1,_[0]=or(u,14)+1,q[0]=or(u,1),or(u,3)!=0?0:!u.h)}function Gl(u,m){if(4>u)return u+1;var _=u-2>>1;return(2+(1&u)<<_)+or(m,_)+1}function $l(u,m){return 120>4)*u+(8-(15&_)))?_:1;var _}function VA(u,m,_){var q=Lt(_),be=u[m+=255&q].g-8;return 0>>0,n(8>=_.g),u.g}function _s(u,m,_){var q=u.xc;return n((m=q==0?0:u.vc[u.md*(_>>q)+(m>>q)])>wo.b)*fo;jnyr&&(Bo=yr),(0,o0[da[ws++]>>8&15])(ht,Xt+ +Qi,kn,Vn+Qi-yr,Bo-Qi,kn,Vn+Qi),Qi=Bo}Xt+=yr,Vn+=yr,++jn&Fo||(wo+=fo)}mn!=ft.nc&&r(Ye,Ze-un,Ye,Ze+(mn-Wt-1)*un,un);break;case 1:for(un=ht,pn=Xt,yr=(ht=ft.Ea)-(Vn=ht&~(kn=(Xt=1<>ft.b)*jn;Wt=be),0Ne.o&&(q=Ne.o),_=q?_=0:(be[0]+=4*Ne.v,Ne.ka=_-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=q-_,_=1),_){if(Ze=Ze[0],11>(_=u.ca).S){var Wt=_.f.RGBA,mn=(q=_.S,be=Ne.U,Ne=Ne.T,ft=Wt.eb,Wt.A),ht=Ne;for(Wt=Wt.fb+u.Ma*Wt.A;0q){var be=u.l.width,Ne=_.ca,De=_.tb+be*q,Ze=u.V,Ye=u.Ba+u.c*q,ft=u.gc;n(u.ab==1),n(ft[0].hc==3),ac(ft[0],q,m,Ze,Ye,Ne,De),ec(_,q,m,Ne,De,be)}u.C=u.Ma=m}function Su(u,m,_,q,be,Ne,De){var Ze=u.$/q,Ye=u.$%q,ft=u.m,Wt=u.s,mn=_+u.$,ht=mn;be=_+q*be;var Xt=_+q*Ne,un=280+Wt.ua,jn=u.Pb?Ze:16777216,pn=0=jn){var Fo=mn-_;n((jn=u).Pb),jn.wd=jn.m,jn.xd=Fo,0Ni.g?(Jt(ar,ar.u+Ni.g),Fo[fo]=Ni.value,ar=0):(Jt(ar,ar.u+Ni.g-256),n(256<=Ni.value),ar=Ni.value),ar==0&&(yr=!0)}else ar=VA(Vn.G[0],Vn.H[0],ft);if(ft.h)break;if(yr||256>ar){if(!yr)if(Vn.nd)m[mn]=(Vn.qb|ar<<8)>>>0;else{if(fn(ft),yr=VA(Vn.G[1],Vn.H[1],ft),fn(ft),Fo=VA(Vn.G[2],Vn.H[2],ft),fo=VA(Vn.G[3],Vn.H[3],ft),ft.h)break;m[mn]=(fo<<24|yr<<16|ar<<8|Fo)>>>0}if(yr=!1,++mn,++Ye>=q&&(Ye=0,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze),pn!=null))for(;ht>>pn.Mb]=ar}else if(280>ar){if(ar=Gl(ar-256,ft),Fo=VA(Vn.G[4],Vn.H[4],ft),fn(ft),Fo=$l(q,Fo=Gl(Fo,ft)),ft.h)break;if(mn-_=q;)Ye-=q,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze);if(n(mn<=be),Ye&kn&&(Vn=_s(Wt,Ye,Ze)),pn!=null)for(;ht>>pn.Mb]=ar}else{if(!(ar>>pn.Mb]=ar;ar=mn,n(!(yr>>>(Fo=pn).Xa)),m[ar]=Fo.X[yr],yr=!0}yr||n(ft.h==Ht(ft))}if(u.Pb&&ft.h&&mnNe?Ne:Ze),u.a=0,u.$=mn-_}return 1}return u.a=3,0}function Xl(u){n(u!=null),u.vc=null,u.yc=null,u.Ya=null;var m=u.Wa;m!=null&&(m.X=null),u.vb=null,n(u!=null)}function rf(){var u=new li;return u==null?null:(u.a=0,u.xb=fm,iA("Predictor","VP8LPredictors"),iA("Predictor","VP8LPredictors_C"),iA("PredictorAdd","VP8LPredictorsAdd"),iA("PredictorAdd","VP8LPredictorsAdd_C"),ns=ia,i0=xi,a0=ts,vd=ba,yd=Mi,wd=Hi,mf=xA,xt.VP8LMapColor32b=ic,xt.VP8LMapColor8b=r0,u)}function tc(u,m,_,q,be){var Ne=1,De=[u],Ze=[m],Ye=q.m,ft=q.s,Wt=null,mn=0;e:for(;;){if(_)for(;Ne&&or(Ye,1);){var ht=De,Xt=Ze,un=q,jn=1,pn=un.m,kn=un.gc[un.ab],Vn=or(pn,2);if(un.Oc&1<=un.ab),Vn){case 0:case 1:kn.b=or(pn,3)+2,jn=tc(dr(kn.Ea,kn.b),dr(kn.nc,kn.b),0,un,kn.K),kn.K=kn.K[0];break;case 3:var yr,ar=or(pn,8)+1,Fo=16>wo.b),ws=l(da);if(ws==null)yr=0;else{var Qi=wo.K[0],Bo=wo.w;for(ws[0]=wo.K[0][0],fo=1;fo<1*Ni;++fo)ws[fo]=$o(Qi[Bo+fo],ws[fo-1]);for(;fo<4*da;++fo)ws[fo]=0;wo.K[0]=null,wo.K[0]=ws,yr=1}}jn=yr;break;case 2:break;default:n(0)}Ne=jn}}if(De=De[0],Ze=Ze[0],Ne&&or(Ye,1)&&!(Ne=1<=(mn=or(Ye,4))&&11>=mn)){q.a=3;break e}var Kr;if(Kr=Ne)t:{var os,yi,va,mA=q,Hs=De,Al=Ze,WA=mn,el=_,sl=mA.m,Bs=mA.s,Ea=[null],za=1,GA=0,Za=iv[WA];n:for(;;){if(el&&or(sl,1)){var ks=or(sl,3)+2,Lu=dr(Hs,ks),is=dr(Al,ks),bl=Lu*is;if(!tc(Lu,is,0,mA,Ea))break n;for(Ea=Ea[0],Bs.xc=ks,os=0;os>8&65535;Ea[os]=qa,qa>=za&&(za=qa+1)}}if(sl.h)break n;for(yi=0;5>yi;++yi){var bs=cm[yi];!yi&&0=ll),Rl=Tl;var Cl=l(GA);if(Rl==null||Cl==null||Pl==null){mA.a=1;break n}var _l=Pl;for(os=va=0;osyi;++yi){bs=cm[yi],jl[yi]=_l,Nu[yi]=va,!yi&&0Ep)break r}else wg=Ep;for(d0=0;d0nh)Sm[d0++]=nh,nh!=0&&(Fm=nh);else{var Ov=nh==16,Lm=nh-16,Dv=tv[Lm],Nm=or(xd,ev[Lm])+Dv;if(d0+Nm>Ep)break r;for(var Pv=Ov?Fm:0;0=yi){var f0,bg=Cl[0];for(f0=1;f0bg&&(bg=Cl[f0]);Ks+=bg}}if(AA.nd=Mc,AA.Qb=0,Mc&&(AA.qb=(jl[3][Nu[3]+0].value<<24|jl[1][Nu[1]+0].value<<16|jl[2][Nu[2]+0].value)>>>0,yf==0&&256>jl[0][Nu[0]+0].value&&(AA.Qb=1,AA.qb+=jl[0][Nu[0]+0].value<<8)),AA.jc=!AA.Qb&&6>Ks,AA.jc){var xp,Hc=AA;for(xp=0;xp>=Ls(Sp,8,Fd),Sd>>=Ls(Hc.G[1][Hc.H[1]+Sd],16,Fd),Sd>>=Ls(Hc.G[2][Hc.H[2]+Sd],0,Fd),Ls(Hc.G[3][Hc.H[3]+Sd],24,Fd))}}}Bs.vc=Ea,Bs.Wb=za,Bs.Ya=Rl,Bs.yc=Pl,Kr=1;break t}Kr=0}if(!(Ne=Kr)){q.a=3;break e}if(0q+1?[]:0),!(be.lengthu?0:u>m?m:u}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $p(){var u=new X0;return u!=null&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,l0||(l0=Gf)),u}function ls(u,m,_){return u.a==0&&(u.a=m,u.sc=_,u.cb=0),0}function Y0(u,m,_){return 3<=_&&u[m+0]==157&&u[m+1]==1&&u[m+2]==42}function rc(u,m){if(u==null)return 0;if(u.a=0,u.sc="OK",m==null)return ls(u,2,"null VP8Io passed to VP8GetHeaders()");var _=m.data,q=m.w,be=m.ha;if(4>be)return ls(u,7,"Truncated header.");var Ne=_[q+0]|_[q+1]<<8|_[q+2]<<16,De=u.Od;if(De.Rb=!(1&Ne),De.td=Ne>>1&7,De.yd=Ne>>4&1,De.ub=Ne>>5,3be)return ls(u,7,"cannot parse picture header");if(!Y0(_,q,be))return ls(u,3,"Bad code word");Ze.c=16383&(_[q+4]<<8|_[q+3]),Ze.Td=_[q+4]>>6,Ze.i=16383&(_[q+6]<<8|_[q+5]),Ze.Ud=_[q+6]>>6,q+=7,be-=7,u.za=Ze.c+15>>4,u.Ub=Ze.i+15>>4,m.width=Ze.c,m.height=Ze.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,o((Ne=u.Pa).jb,0,255,Ne.jb.length),n((Ne=u.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,o(Ne.Zb,0,0,Ne.Zb.length),o(Ne.Lb,0,0,Ne.Lb)}if(De.ub>be)return ls(u,7,"bad partition length");Fn(Ne=u.m,_,q,De.ub),q+=De.ub,be-=De.ub,De.Rb&&(Ze.Ld=On(Ne),Ze.Kd=On(Ne)),Ze=u.Qa;var Ye,ft=u.Pa;if(n(Ne!=null),n(Ze!=null),Ze.Cb=On(Ne),Ze.Cb){if(Ze.Bb=On(Ne),On(Ne)){for(Ze.Fb=On(Ne),Ye=0;4>Ye;++Ye)Ze.Zb[Ye]=On(Ne)?gn(Ne,7):0;for(Ye=0;4>Ye;++Ye)Ze.Lb[Ye]=On(Ne)?gn(Ne,6):0}if(Ze.Bb)for(Ye=0;3>Ye;++Ye)ft.jb[Ye]=On(Ne)?Nn(Ne,8):255}else Ze.Bb=0;if(Ne.Ka)return ls(u,3,"cannot parse segment header");if((Ze=u.ed).zd=On(Ne),Ze.Tb=Nn(Ne,6),Ze.wb=Nn(Ne,3),Ze.Pc=On(Ne),Ze.Pc&&On(Ne)){for(ft=0;4>ft;++ft)On(Ne)&&(Ze.vd[ft]=gn(Ne,6));for(ft=0;4>ft;++ft)On(Ne)&&(Ze.od[ft]=gn(Ne,6))}if(u.L=Ze.Tb==0?0:Ze.zd?1:2,Ne.Ka)return ls(u,3,"cannot parse filter header");var Wt=be;if(be=Ye=q,q=Ye+Wt,Ze=Wt,u.Xb=(1<Ze&&(mn=Ze),Fn(u.Jc[+Wt],_,Ye,mn),Ye+=mn,Ze-=mn,be+=3}Fn(u.Jc[+ft],_,Ye,Ze),_=Yemn;++mn){if(Wt.Cb){var ht=Wt.Zb[mn];Wt.Fb||(ht+=_)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=pg[nc(ht+ft,117)],Xt.Qc[1]=gg[nc(ht+Ye,127)],Xt.lc=ht+Ye}if(!De.Rb)return ls(u,4,"Not a key frame.");for(On(Ne),De=u.Pa,_=0;4>_;++_){for(be=0;8>be;++be)for(q=0;3>q;++q)for(Ze=0;11>Ze;++Ze)ft=$n(Ne,cv[_][be][q][Ze])?Nn(Ne,8):lv[_][be][q][Ze],De.Wc[_][be].Yb[q][Ze]=ft;for(be=0;17>be;++be)De.Xc[_][be]=De.Wc[_][dv[be]]}return u.kc=On(Ne),u.kc&&(u.Bd=Nn(Ne,8)),u.cb=1}function Gf(u,m,_,q,be,Ne,De){var Ze=m[be].Yb[_];for(_=0;16>be;++be){if(!$n(u,Ze[_+0]))return be;for(;!$n(u,Ze[_+1]);)if(Ze=m[++be].Yb[0],_=0,be==16)return 16;var Ye=m[be+1].Yb;if($n(u,Ze[_+2])){var ft=u,Wt=0;if($n(ft,(ht=Ze)[(mn=_)+3]))if($n(ft,ht[mn+6])){for(Ze=0,mn=2*(Wt=$n(ft,ht[mn+8]))+(ht=$n(ft,ht[mn+9+Wt])),Wt=0,ht=Av[mn];ht[Ze];++Ze)Wt+=Wt+$n(ft,ht[Ze]);Wt+=3+(8<(ft=u).b&&Ln(ft);var mn,ht=ft.b,Xt=(mn=ft.Ca>>1)-(ft.I>>ht)>>31;--ft.b,ft.Ca+=Xt,ft.Ca|=1,ft.I-=(mn+1&Xt)<>3),u[m+_+32*q]=-256&be?0>be?0:255:be}function ms(u,m,_,q,be,Ne){Jl(u,m,0,_,q+be),Jl(u,m,1,_,q+Ne),Jl(u,m,2,_,q-Ne),Jl(u,m,3,_,q-be)}function Fc(u){return(20091*u>>16)+u}function q0(u,m,_,q){var be,Ne=0,De=l(16);for(be=0;4>be;++be){var Ze=u[m+0]+u[m+8],Ye=u[m+0]-u[m+8],ft=(35468*u[m+4]>>16)-Fc(u[m+12]),Wt=Fc(u[m+4])+(35468*u[m+12]>>16);De[Ne+0]=Ze+Wt,De[Ne+1]=Ye+ft,De[Ne+2]=Ye-ft,De[Ne+3]=Ze-Wt,Ne+=4,m++}for(be=Ne=0;4>be;++be)Ze=(u=De[Ne+0]+4)+De[Ne+8],Ye=u-De[Ne+8],ft=(35468*De[Ne+4]>>16)-Fc(De[Ne+12]),Jl(_,q,0,0,Ze+(Wt=Fc(De[Ne+4])+(35468*De[Ne+12]>>16))),Jl(_,q,1,0,Ye+ft),Jl(_,q,2,0,Ye-ft),Jl(_,q,3,0,Ze-Wt),Ne++,q+=32}function Xp(u,m,_,q){var be=u[m+0]+4,Ne=35468*u[m+4]>>16,De=Fc(u[m+4]),Ze=35468*u[m+1]>>16;ms(_,q,0,be+De,u=Fc(u[m+1]),Ze),ms(_,q,1,be+Ne,u,Ze),ms(_,q,2,be-Ne,u,Ze),ms(_,q,3,be-De,u,Ze)}function Yp(u,m,_,q,be){q0(u,m,_,q),be&&q0(u,m+16,_,q+4)}function oc(u,m,_,q){vf(u,m+0,_,q,1),vf(u,m+32,_,q+128,1)}function ep(u,m,_,q){var be;for(u=u[m+0]+4,be=0;4>be;++be)for(m=0;4>m;++m)Jl(_,q,m,be,u)}function tp(u,m,_,q){u[m+0]&&Ra(u,m+0,_,q),u[m+16]&&Ra(u,m+16,_,q+4),u[m+32]&&Ra(u,m+32,_,q+128),u[m+48]&&Ra(u,m+48,_,q+128+4)}function $f(u,m,_,q){var be,Ne=l(16);for(be=0;4>be;++be){var De=u[m+0+be]+u[m+12+be],Ze=u[m+4+be]+u[m+8+be],Ye=u[m+4+be]-u[m+8+be],ft=u[m+0+be]-u[m+12+be];Ne[0+be]=De+Ze,Ne[8+be]=De-Ze,Ne[4+be]=ft+Ye,Ne[12+be]=ft-Ye}for(be=0;4>be;++be)De=(u=Ne[0+4*be]+3)+Ne[3+4*be],Ze=Ne[1+4*be]+Ne[2+4*be],Ye=Ne[1+4*be]-Ne[2+4*be],ft=u-Ne[3+4*be],_[q+0]=De+Ze>>3,_[q+16]=ft+Ye>>3,_[q+32]=De-Ze>>3,_[q+48]=ft-Ye>>3,q+=64}function af(u,m,_){var q,be=m-32,Ne=Dl,De=255-u[be-1];for(q=0;q<_;++q){var Ze,Ye=Ne,ft=De+u[m-1];for(Ze=0;Ze<_;++Ze)u[m+Ze]=Ye[ft+u[be+Ze]];m+=32}}function Jp(u,m){af(u,m,4)}function qp(u,m){af(u,m,8)}function eg(u,m){af(u,m,16)}function Kh(u,m){var _;for(_=0;16>_;++_)r(u,m+32*_,u,m-32,16)}function np(u,m){var _;for(_=16;0<_;--_)o(u,m,u[m-1],16),m+=32}function Fu(u,m,_){var q;for(q=0;16>q;++q)o(m,_+32*q,u,16)}function tg(u,m){var _,q=16;for(_=0;16>_;++_)q+=u[m-1+32*_]+u[m+_-32];Fu(q>>5,u,m)}function Af(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m-1+32*_];Fu(q>>4,u,m)}function zh(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m+_-32];Fu(q>>4,u,m)}function ng(u,m){Fu(128,u,m)}function ci(u,m,_){return u+2*m+_+2>>2}function rg(u,m){var _,q=m-32;for(q=new Uint8Array([ci(u[q-1],u[q+0],u[q+1]),ci(u[q+0],u[q+1],u[q+2]),ci(u[q+1],u[q+2],u[q+3]),ci(u[q+2],u[q+3],u[q+4])]),_=0;4>_;++_)r(u,m+32*_,q,0,q.length)}function og(u,m){var _=u[m-1],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96];wr(u,m+0,16843009*ci(u[m-1-32],_,q)),wr(u,m+32,16843009*ci(_,q,be)),wr(u,m+64,16843009*ci(q,be,Ne)),wr(u,m+96,16843009*ci(be,Ne,Ne))}function ig(u,m){var _,q=4;for(_=0;4>_;++_)q+=u[m+_-32]+u[m-1+32*_];for(q>>=3,_=0;4>_;++_)o(u,m+32*_,q,4)}function Ic(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ye=u[m+2-32],ft=u[m+3-32];u[m+0+96]=ci(q,be,u[m-1+96]),u[m+1+96]=u[m+0+64]=ci(_,q,be),u[m+2+96]=u[m+1+64]=u[m+0+32]=ci(Ne,_,q),u[m+3+96]=u[m+2+64]=u[m+1+32]=u[m+0+0]=ci(De,Ne,_),u[m+3+64]=u[m+2+32]=u[m+1+0]=ci(Ze,De,Ne),u[m+3+32]=u[m+2+0]=ci(Ye,Ze,De),u[m+3+0]=ci(ft,Ye,Ze)}function Uc(u,m){var _=u[m+1-32],q=u[m+2-32],be=u[m+3-32],Ne=u[m+4-32],De=u[m+5-32],Ze=u[m+6-32],Ye=u[m+7-32];u[m+0+0]=ci(u[m+0-32],_,q),u[m+1+0]=u[m+0+32]=ci(_,q,be),u[m+2+0]=u[m+1+32]=u[m+0+64]=ci(q,be,Ne),u[m+3+0]=u[m+2+32]=u[m+1+64]=u[m+0+96]=ci(be,Ne,De),u[m+3+32]=u[m+2+64]=u[m+1+96]=ci(Ne,De,Ze),u[m+3+64]=u[m+2+96]=ci(De,Ze,Ye),u[m+3+96]=ci(Ze,Ye,Ye)}function ag(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ye=u[m+2-32],ft=u[m+3-32];u[m+0+0]=u[m+1+64]=Ne+De+1>>1,u[m+1+0]=u[m+2+64]=De+Ze+1>>1,u[m+2+0]=u[m+3+64]=Ze+Ye+1>>1,u[m+3+0]=Ye+ft+1>>1,u[m+0+96]=ci(be,q,_),u[m+0+64]=ci(q,_,Ne),u[m+0+32]=u[m+1+96]=ci(_,Ne,De),u[m+1+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+2+32]=u[m+3+96]=ci(De,Ze,Ye),u[m+3+32]=ci(Ze,Ye,ft)}function Ag(u,m){var _=u[m+0-32],q=u[m+1-32],be=u[m+2-32],Ne=u[m+3-32],De=u[m+4-32],Ze=u[m+5-32],Ye=u[m+6-32],ft=u[m+7-32];u[m+0+0]=_+q+1>>1,u[m+1+0]=u[m+0+64]=q+be+1>>1,u[m+2+0]=u[m+1+64]=be+Ne+1>>1,u[m+3+0]=u[m+2+64]=Ne+De+1>>1,u[m+0+32]=ci(_,q,be),u[m+1+32]=u[m+0+96]=ci(q,be,Ne),u[m+2+32]=u[m+1+96]=ci(be,Ne,De),u[m+3+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+3+64]=ci(De,Ze,Ye),u[m+3+96]=ci(Ze,Ye,ft)}function Xf(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96];u[m+0+0]=_+q+1>>1,u[m+2+0]=u[m+0+32]=q+be+1>>1,u[m+2+32]=u[m+0+64]=be+Ne+1>>1,u[m+1+0]=ci(_,q,be),u[m+3+0]=u[m+1+32]=ci(q,be,Ne),u[m+3+32]=u[m+1+64]=ci(be,Ne,Ne),u[m+3+64]=u[m+2+64]=u[m+0+96]=u[m+1+96]=u[m+2+96]=u[m+3+96]=Ne}function Zh(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96],De=u[m-1-32],Ze=u[m+0-32],Ye=u[m+1-32],ft=u[m+2-32];u[m+0+0]=u[m+2+32]=_+De+1>>1,u[m+0+32]=u[m+2+64]=q+_+1>>1,u[m+0+64]=u[m+2+96]=be+q+1>>1,u[m+0+96]=Ne+be+1>>1,u[m+3+0]=ci(Ze,Ye,ft),u[m+2+0]=ci(De,Ze,Ye),u[m+1+0]=u[m+3+32]=ci(_,De,Ze),u[m+1+32]=u[m+3+64]=ci(q,_,De),u[m+1+64]=u[m+3+96]=ci(be,q,_),u[m+1+96]=ci(Ne,be,q)}function sf(u,m){var _;for(_=0;8>_;++_)r(u,m+32*_,u,m-32,8)}function sg(u,m){var _;for(_=0;8>_;++_)o(u,m,u[m-1],8),m+=32}function Lc(u,m,_){var q;for(q=0;8>q;++q)o(m,_+32*q,u,8)}function lg(u,m){var _,q=8;for(_=0;8>_;++_)q+=u[m+_-32]+u[m-1+32*_];Lc(q>>4,u,m)}function Vh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m+_-32];Lc(q>>3,u,m)}function Wh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m-1+32*_];Lc(q>>3,u,m)}function rp(u,m){Lc(128,u,m)}function Nc(u,m,_){var q=u[m-_],be=u[m+0],Ne=3*(be-q)+ug[1020+u[m-2*_]-u[m+_]],De=cp[112+(Ne+4>>3)];u[m-_]=Dl[255+q+cp[112+(Ne+3>>3)]],u[m+0]=Dl[255+be-De]}function Gh(u,m,_,q){var be=u[m+0],Ne=u[m+_];return tu[255+u[m-2*_]-u[m-_]]>q||tu[255+Ne-be]>q}function Yf(u,m,_,q){return 4*tu[255+u[m-_]-u[m+0]]+tu[255+u[m-2*_]-u[m+_]]<=q}function $h(u,m,_,q,be){var Ne=u[m-3*_],De=u[m-2*_],Ze=u[m-_],Ye=u[m+0],ft=u[m+_],Wt=u[m+2*_],mn=u[m+3*_];return 4*tu[255+Ze-Ye]+tu[255+De-ft]>q?0:tu[255+u[m-4*_]-Ne]<=be&&tu[255+Ne-De]<=be&&tu[255+De-Ze]<=be&&tu[255+mn-Wt]<=be&&tu[255+Wt-ft]<=be&&tu[255+ft-Ye]<=be}function lf(u,m,_,q){var be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q,_,be)&&Nc(u,m+q,_)}function Xh(u,m,_,q){var be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q*_,1,be)&&Nc(u,m+q*_,1)}function op(u,m,_,q){var be;for(be=3;0>7,kn=18*Vn+63>>7,Vn=9*Vn+63>>7;Ye[ft-3*Wt]=Dl[255+Ye[ft-3*Wt]+Vn],Ye[ft-2*Wt]=Dl[255+mn+kn],Ye[ft-Wt]=Dl[255+ht+pn],Ye[ft+0]=Dl[255+Xt-pn],Ye[ft+Wt]=Dl[255+un-kn],Ye[ft+2*Wt]=Dl[255+jn-Vn]}m+=q}}function Oc(u,m,_,q,be,Ne,De,Ze){for(Ne=2*Ne+1;0>3)],jn=cp[112+(jn+3>>3)],pn=un+1>>1;Ye[ft-2*Wt]=Dl[255+Ye[ft-2*Wt]+pn],Ye[ft-Wt]=Dl[255+mn+jn],Ye[ft+0]=Dl[255+ht-un],Ye[ft+Wt]=Dl[255+Xt-pn]}m+=q}}function ap(u,m,_,q,be,Ne){Qc(u,m,_,1,16,q,be,Ne)}function uf(u,m,_,q,be,Ne){Qc(u,m,1,_,16,q,be,Ne)}function Ap(u,m,_,q,be,Ne){var De;for(De=3;0ft?0:255:ft)&255,ft=Ye,be[Ne+Ze]=Wt}}function aA(u,m,_,q){var be=m.width,Ne=m.o;if(n(u!=null&&m!=null),0>_||0>=q||_+q>Ne)return null;if(!u.Cc){if(u.ga==null){var De;if(u.ga=new Si,(De=u.ga==null)||(De=m.width*m.o,n(u.Gb.length==0),u.Gb=l(De),u.Uc=0,u.Gb==null?De=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,De=1),De=!De),!De){De=u.ga;var Ze=u.Fa,Ye=u.P,ft=u.qc,Wt=u.mb,mn=u.nb,ht=Ye+1,Xt=ft-1,un=De.l;if(n(Ze!=null&&Wt!=null&&m!=null),Cd[0]=null,Cd[1]=Ca,Cd[2]=DA,Cd[3]=us,De.ca=Wt,De.tb=mn,De.c=m.width,De.i=m.height,n(0=ft)m=0;else if(De.$a=3&Ze[Ye+0],De.Z=Ze[Ye+0]>>2&3,De.Lc=Ze[Ye+0]>>4&3,Ye=Ze[Ye+0]>>6&3,0>De.$a||1=De.c*De.i;De=!m}if(De)return null;u.ga.Lc!=1?u.Ga=0:q=Ne-_}n(u.ga!=null),n(_+q<=Ne);e:{if(m=(Ze=u.ga).c,Ne=Ze.l.o,Ze.$a==0){if(ht=u.rc,Xt=u.Vc,un=u.Fa,Ye=u.P+1+_*m,ft=u.mb,Wt=u.nb+_*m,n(Ye<=u.P+u.qc),Ze.Z!=0)for(n(Cd[Ze.Z]!=null),De=0;De=m)m=1;else if(Ze.ic||Iu(),Ze.ic){Ze=De.V,ht=De.Ba,Xt=De.c;var jn=De.i,pn=(un=1,Ye=De.$/Xt,ft=De.$%Xt,Wt=De.m,mn=De.s,De.$),kn=Xt*jn,Vn=Xt*m,yr=mn.wc,ar=pn(jn=VA(ar.G[0],ar.H[0],Wt)))Ze[ht+pn]=jn,++pn,++ft>=Xt&&(ft=0,++Ye<=m&&!(Ye%16)&&xu(De,Ye));else{if(!(280>jn)){un=0;break t}jn=Gl(jn-256,Wt);var Fo,fo=VA(ar.G[4],ar.H[4],Wt);if(fn(Wt),!(pn>=(fo=$l(Xt,fo=Gl(fo,Wt)))&&kn-pn>=jn)){un=0;break t}for(Fo=0;Fo=Xt;)ft-=Xt,++Ye<=m&&!(Ye%16)&&xu(De,Ye);pnm?m:Ye);break t}!un||Wt.h&&pn=Ne&&(u.Cc=1),q=1}if(!q)return null;if(u.Cc&&((q=u.ga)!=null&&(q.mc=null),u.ga=null,0>23,Ze[Ye+4*De+1]=Ze[Ye+4*De+1]*mn>>23,Ze[Ye+4*De+2]=Ze[Ye+4*De+2]*mn>>23)}m+=Ne}}function cs(u,m,_,q,be){for(;0>4)*Ye>>16;u[m+2*Ne+0]=(240&De|De>>4)*Ye>>16&240|(15&De|De<<4)*Ye>>16>>4&15,u[m+2*Ne+1]=240&ft|Ze}m+=be}}function js(u,m,_,q,be,Ne,De,Ze){var Ye,ft,Wt=255;for(ft=0;ft>8}function Iu(){s0=vs,tm=cs,nm=js,rm=Dc}function Pc(u,m,_){xt[u]=function(q,be,Ne,De,Ze,Ye,ft,Wt,mn,ht,Xt,un,jn,pn,kn,Vn,yr){var ar,Fo=yr-1>>1,fo=Ze[Ye+0]|ft[Wt+0]<<16,Ni=mn[ht+0]|Xt[un+0]<<16;n(q!=null);var wo=3*fo+Ni+131074>>2;for(m(q[be+0],255&wo,wo>>16,jn,pn),Ne!=null&&(wo=3*Ni+fo+131074>>2,m(Ne[De+0],255&wo,wo>>16,kn,Vn)),ar=1;ar<=Fo;++ar){var da=Ze[Ye+ar]|ft[Wt+ar]<<16,ws=mn[ht+ar]|Xt[un+ar]<<16,Qi=fo+da+Ni+ws+524296,Bo=Qi+2*(da+Ni)>>3;wo=Bo+fo>>1,fo=(Qi=Qi+2*(fo+ws)>>3)+da>>1,m(q[be+2*ar-1],255&wo,wo>>16,jn,pn+(2*ar-1)*_),m(q[be+2*ar-0],255&fo,fo>>16,jn,pn+(2*ar-0)*_),Ne!=null&&(wo=Qi+Ni>>1,fo=Bo+ws>>1,m(Ne[De+2*ar-1],255&wo,wo>>16,kn,Vn+(2*ar-1)*_),m(Ne[De+2*ar+0],255&fo,fo>>16,kn,Vn+(2*ar+0)*_)),fo=da,Ni=ws}1&yr||(wo=3*fo+Ni+131074>>2,m(q[be+yr-1],255&wo,wo>>16,jn,pn+(yr-1)*_),Ne!=null&&(wo=3*Ni+fo+131074>>2,m(Ne[De+yr-1],255&wo,wo>>16,kn,Vn+(yr-1)*_)))}}function Yh(){nu[dp]=hv,nu[fp]=hm,nu[lm]=pv,nu[hp]=pm,nu[pp]=gm,nu[cg]=mm,nu[um]=gv,nu[dg]=hm,nu[fg]=pm,nu[gp]=gm,nu[hg]=mm}function Jf(u){return u&~mv?0>u?0:255:u>>vm}function fd(u,m){return Jf((19077*u>>8)+(26149*m>>8)-14234)}function cf(u,m,_){return Jf((19077*u>>8)-(6419*m>>8)-(13320*_>>8)+8708)}function df(u,m){return Jf((19077*u>>8)+(33050*m>>8)-17685)}function hd(u,m,_,q,be){q[be+0]=fd(u,_),q[be+1]=cf(u,m,_),q[be+2]=df(u,m)}function Ms(u,m,_,q,be){q[be+0]=df(u,m),q[be+1]=cf(u,m,_),q[be+2]=fd(u,_)}function ff(u,m,_,q,be){var Ne=cf(u,m,_);m=Ne<<3&224|df(u,m)>>3,q[be+0]=248&fd(u,_)|Ne>>5,q[be+1]=m}function hf(u,m,_,q,be){var Ne=240&df(u,m)|15;q[be+0]=240&fd(u,_)|cf(u,m,_)>>4,q[be+1]=Ne}function Jh(u,m,_,q,be){q[be+0]=255,hd(u,m,_,q,be+1)}function qh(u,m,_,q,be){Ms(u,m,_,q,be),q[be+3]=255}function al(u,m,_,q,be){hd(u,m,_,q,be),q[be+3]=255}function Tc(u,m,_){xt[u]=function(q,be,Ne,De,Ze,Ye,ft,Wt,mn){for(var ht=Wt+(-2&mn)*_;Wt!=ht;)m(q[be+0],Ne[De+0],Ze[Ye+0],ft,Wt),m(q[be+1],Ne[De+0],Ze[Ye+0],ft,Wt+_),be+=2,++De,++Ye,Wt+=2*_;1&mn&&m(q[be+0],Ne[De+0],Ze[Ye+0],ft,Wt)}}function qf(u,m,_){return _==0?u==0?m==0?6:5:m==0?4:0:_}function sp(u,m,_,q,be){switch(u>>>30){case 3:vf(m,_,q,be,0);break;case 2:eu(m,_,q,be);break;case 1:Ra(m,_,q,be)}}function ql(u,m){var _,q,be=m.M,Ne=m.Nb,De=u.oc,Ze=u.pc+40,Ye=u.oc,ft=u.pc+584,Wt=u.oc,mn=u.pc+600;for(_=0;16>_;++_)De[Ze+32*_-1]=129;for(_=0;8>_;++_)Ye[ft+32*_-1]=129,Wt[mn+32*_-1]=129;for(0_;++_)r(De,Ze+32*_-4,De,Ze+32*_+12,4);for(_=-1;8>_;++_)r(Ye,ft+32*_-4,Ye,ft+32*_+4,4),r(Wt,mn+32*_-4,Wt,mn+32*_+4,4)}var Xt=u.Gd,un=u.Hd+q,jn=ht.ad,pn=ht.Hc;if(0=u.za-1?o(kn,Vn,Xt[un].y[15],4):r(kn,Vn,Xt[un+1].y,0,4)),_=0;4>_;_++)kn[Vn+128+_]=kn[Vn+256+_]=kn[Vn+384+_]=kn[Vn+0+_];for(_=0;16>_;++_,pn<<=2)kn=De,Vn=Ze+wm[_],Uu[ht.Ob[_]](kn,Vn),sp(pn,jn,16*+_,kn,Vn)}else if(kn=qf(q,be,ht.Ob[0]),bd[kn](De,Ze),pn!=0)for(_=0;16>_;++_,pn<<=2)sp(pn,jn,16*+_,De,Ze+wm[_]);for(_=ht.Gc,kn=qf(q,be,ht.Dd),jc[kn](Ye,ft),jc[kn](Wt,mn),pn=jn,kn=Ye,Vn=ft,255&(ht=0|_)&&(170&ht?Ac(pn,256,kn,Vn):Ja(pn,256,kn,Vn)),ht=Wt,pn=mn,255&(_>>=8)&&(170&_?Ac(jn,320,ht,pn):Ja(jn,320,ht,pn)),be_;++_)r(Xt,un+_*u.R,De,Ze+32*_,16);for(_=0;8>_;++_)r(jn,ht+_*u.B,Ye,ft+32*_,8),r(pn,kn+_*u.B,Wt,mn+32*_,8)}}function pf(u,m,_,q,be,Ne,De,Ze,Ye){var ft=[0],Wt=[0],mn=0,ht=Ye!=null?Ye.kd:0,Xt=Ye!=null?Ye:new ir;if(u==null||12>_)return 7;Xt.data=u,Xt.w=m,Xt.ha=_,m=[m],_=[_],Xt.gb=[Xt.gb];e:{var un=m,jn=_,pn=Xt.gb;if(n(u!=null),n(jn!=null),n(pn!=null),pn[0]=0,12<=jn[0]&&!t(u,un[0],"RIFF")){if(t(u,un[0]+8,"WEBP")){pn=3;break e}var kn=Qo(u,un[0]+4);if(12>kn||4294967286jn[0]-8){pn=7;break e}pn[0]=kn,un[0]+=12,jn[0]-=12}pn=0}if(pn!=0)return pn;for(kn=0pn[0])pn=7;else{if(!t(Vn,jn[0],"VP8X")){if(Qo(Vn,jn[0]+4)!=10){pn=3;break e}if(18>pn[0]){pn=7;break e}var fo=Qo(Vn,jn[0]+8),Ni=1+Gr(Vn,jn[0]+12);if(2147483648<=Ni*(Vn=1+Gr(Vn,jn[0]+15))){pn=3;break e}Fo!=null&&(Fo[0]=fo),yr!=null&&(yr[0]=Ni),ar!=null&&(ar[0]=Vn),jn[0]+=18,pn[0]-=18,wo[0]=1}pn=0}}if(mn=mn[0],un=un[0],pn!=0)return pn;if(jn=!!(2&un),!kn&&mn)return 3;if(Ne!=null&&(Ne[0]=!!(16&un)),De!=null&&(De[0]=jn),Ze!=null&&(Ze[0]=0),De=ft[0],un=Wt[0],mn&&jn&&Ye==null){pn=0;break}if(4>_){pn=7;break}if(kn&&mn||!kn&&!mn&&!t(u,m[0],"ALPH")){_=[_],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{fo=u,pn=m,kn=_;var wo=Xt.gb;yr=Xt.na,ar=Xt.P,Fo=Xt.Sa,Ni=22,n(fo!=null),n(kn!=null),Vn=pn[0];var da=kn[0];for(n(yr!=null),n(Fo!=null),yr[0]=null,ar[0]=null,Fo[0]=0;;){if(pn[0]=Vn,kn[0]=da,8>da){pn=7;break e}var ws=Qo(fo,Vn+4);if(4294967286wo){pn=3;break e}if(!t(fo,Vn,"VP8 ")||!t(fo,Vn,"VP8L")){pn=0;break e}if(da[0]kn[0])pn=7;else{if(Vn||Ni){if(wo=Qo(wo,fo+4),12<=yr&&wo>yr-12){pn=3;break e}if(ht&&wo>kn[0]-8){pn=7;break e}ar[0]=wo,pn[0]+=8,kn[0]-=8,Fo[0]=Ni}else Fo[0]=5<=kn[0]&&wo[fo+0]==47&&!(wo[fo+4]>>5),ar[0]=kn[0];pn=0}if(_=_[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],m=m[0],pn!=0)break;if(4294967286_){pn=7;break}Ze=De,ht=un,jn=Ne,u==null||5>_?u=0:5<=_&&u[m+0]==47&&!(u[m+4]>>5)?(kn=[0],wo=[0],yr=[0],Tn(ar=new bt,u,m,_),Sc(ar,kn,wo,yr)?(Ze!=null&&(Ze[0]=kn[0]),ht!=null&&(ht[0]=wo[0]),jn!=null&&(jn[0]=yr[0]),u=1):u=0):u=0}else{if(10>_){pn=7;break}Ze=un,u==null||10>_||!Y0(u,m+3,_-3)?u=0:(ht=u[m+0]|u[m+1]<<8|u[m+2]<<16,jn=16383&(u[m+7]<<8|u[m+6]),u=16383&(u[m+9]<<8|u[m+8]),1&ht||3<(ht>>1&7)||!(ht>>4&1)||ht>>5>=Xt.Ja||!jn||!u?u=0:(De&&(De[0]=jn),Ze&&(Ze[0]=u),u=1))}if(!u||(De=De[0],un=un[0],mn&&(ft[0]!=De||Wt[0]!=un)))return 3;Ye!=null&&(Ye[0]=Xt,Ye.offset=m-Ye.w,n(4294967286>m-Ye.w),n(Ye.offset==Ye.ha-_));break}return pn==0||pn==7&&mn&&Ye==null?(Ne!=null&&(Ne[0]|=Xt.na!=null&&0_||(Ne&=-2,De&=-2),0>Ne||0>De||0>=Ze||0>=Ye||Ne+Ze>q||De+Ye>be))return 0;if(m.v=Ne,m.j=De,m.va=Ne+Ze,m.o=De+Ye,m.U=Ze,m.T=Ye,m.da=u!=null&&0u.S){var m=u.f.RGBA;m.fb+=(u.height-1)*m.A,m.A=-m.A}else m=u.f.kb,u=u.height,m.O+=(u-1)*m.fa,m.fa=-m.fa,m.N+=(u-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(u-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(u-1)*m.lb,m.lb=-m.lb);return 0}function pd(u,m,_,q){if(q==null||0>=u||0>=m)return 2;if(_!=null){if(_.Da){var be=_.cd,Ne=_.bd,De=-2&_.v,Ze=-2&_.j;if(0>De||0>Ze||0>=be||0>=Ne||De+be>u||Ze+Ne>m)return 2;u=be,m=Ne}if(_.da){if(!Go(u,m,be=[_.ib],Ne=[_.hb]))return 2;u=be[0],m=Ne[0]}}q.width=u,q.height=m;e:{var Ye=q.width,ft=q.height;if(u=q.S,0>=Ye||0>=ft||!(u>=dp&&13>u))u=2;else{if(0>=q.Rd&&q.sd==null){De=Ne=be=m=0;var Wt=(Ze=Ye*Bm[u])*ft;if(11>u||(Ne=(ft+1)/2*(m=(Ye+1)/2),u==12&&(De=(be=Ye)*ft)),(ft=l(Wt+2*Ne+De))==null){u=1;break e}q.sd=ft,11>u?((Ye=q.f.RGBA).eb=ft,Ye.fb=0,Ye.A=Ze,Ye.size=Wt):((Ye=q.f.kb).y=ft,Ye.O=0,Ye.fa=Ze,Ye.Fd=Wt,Ye.f=ft,Ye.N=0+Wt,Ye.Ab=m,Ye.Cd=Ne,Ye.ea=ft,Ye.W=0+Wt+Ne,Ye.Db=m,Ye.Ed=Ne,u==12&&(Ye.F=ft,Ye.J=0+Wt+2*Ne),Ye.Tc=De,Ye.lb=be)}if(m=1,be=q.S,Ne=q.width,De=q.height,be>=dp&&13>be)if(11>be)u=q.f.RGBA,m&=(Ze=Math.abs(u.A))*(De-1)+Ne<=u.size,m&=Ze>=Ne*Bm[be],m&=u.eb!=null;else{u=q.f.kb,Ze=(Ne+1)/2,Wt=(De+1)/2,Ye=Math.abs(u.fa),ft=Math.abs(u.Ab);var mn=Math.abs(u.Db),ht=Math.abs(u.lb),Xt=ht*(De-1)+Ne;m&=Ye*(De-1)+Ne<=u.Fd,m&=ft*(Wt-1)+Ze<=u.Cd,m=(m&=mn*(Wt-1)+Ze<=u.Ed)&Ye>=Ne&ft>=Ze&mn>=Ze,m&=u.y!=null,m&=u.f!=null,m&=u.ea!=null,be==12&&(m&=ht>=Ne,m&=Xt<=u.Tc,m&=u.F!=null)}else m=0;u=m?0:2}}return u!=0||_!=null&&_.fd&&(u=t0(q)),u}var gf=64,Ql=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ol=24,gd=32,Rc=8,md=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];po("Predictor0","PredictorAdd0"),xt.Predictor0=function(){return 4278190080},xt.Predictor1=function(u){return u},xt.Predictor2=function(u,m,_){return m[_+0]},xt.Predictor3=function(u,m,_){return m[_+1]},xt.Predictor4=function(u,m,_){return m[_-1]},xt.Predictor5=function(u,m,_){return To(To(u,m[_+1]),m[_+0])},xt.Predictor6=function(u,m,_){return To(u,m[_-1])},xt.Predictor7=function(u,m,_){return To(u,m[_+0])},xt.Predictor8=function(u,m,_){return To(m[_-1],m[_+0])},xt.Predictor9=function(u,m,_){return To(m[_+0],m[_+1])},xt.Predictor10=function(u,m,_){return To(To(u,m[_-1]),To(m[_+0],m[_+1]))},xt.Predictor11=function(u,m,_){var q=m[_+0];return 0>=mi(q>>24&255,u>>24&255,(m=m[_-1])>>24&255)+mi(q>>16&255,u>>16&255,m>>16&255)+mi(q>>8&255,u>>8&255,m>>8&255)+mi(255&q,255&u,255&m)?q:u},xt.Predictor12=function(u,m,_){var q=m[_+0];return(Pa((u>>24&255)+(q>>24&255)-((m=m[_-1])>>24&255))<<24|Pa((u>>16&255)+(q>>16&255)-(m>>16&255))<<16|Pa((u>>8&255)+(q>>8&255)-(m>>8&255))<<8|Pa((255&u)+(255&q)-(255&m)))>>>0},xt.Predictor13=function(u,m,_){var q=m[_-1];return(oa((u=To(u,m[_+0]))>>24&255,q>>24&255)<<24|oa(u>>16&255,q>>16&255)<<16|oa(u>>8&255,q>>8&255)<<8|oa(255&u,255&q))>>>0};var n0=xt.PredictorAdd0;xt.PredictorAdd1=ca,po("Predictor2","PredictorAdd2"),po("Predictor3","PredictorAdd3"),po("Predictor4","PredictorAdd4"),po("Predictor5","PredictorAdd5"),po("Predictor6","PredictorAdd6"),po("Predictor7","PredictorAdd7"),po("Predictor8","PredictorAdd8"),po("Predictor9","PredictorAdd9"),po("Predictor10","PredictorAdd10"),po("Predictor11","PredictorAdd11"),po("Predictor12","PredictorAdd12"),po("Predictor13","PredictorAdd13");var eh=xt.PredictorAdd2;Uo("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),Uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var ns,lp=xt.ColorIndexInverseTransform,ic=xt.MapARGB,ac=xt.VP8LColorIndexInverseTransformAlpha,r0=xt.MapAlpha,o0=xt.VP8LPredictorsAdd=[];o0.length=16,(xt.VP8LPredictors=[]).length=16,(xt.VP8LPredictorsAdd_C=[]).length=16,(xt.VP8LPredictors_C=[]).length=16;var i0,a0,vd,yd,wd,mf,Bd,vf,eu,Ac,Ra,Ja,rs,ys,_c,A0,th,up,$g,Xg,Yg,Jg,qg,em,s0,tm,nm,rm,om=l(511),im=l(2041),am=l(225),Am=l(767),sm=0,ug=im,cp=am,Dl=Am,tu=om,dp=0,fp=1,lm=2,hp=3,pp=4,cg=5,um=6,dg=7,fg=8,gp=9,hg=10,ev=[2,3,7],tv=[3,3,11],cm=[280,256,256,256,40],nv=[0,1,1,1,0],rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ov=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],iv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],av=8,pg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],gg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,Av=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],bd=[],Uu=[],jc=[],fv=1,fm=2,Cd=[],nu=[];Pc("UpsampleRgbLinePair",hd,3),Pc("UpsampleBgrLinePair",Ms,3),Pc("UpsampleRgbaLinePair",al,4),Pc("UpsampleBgraLinePair",qh,4),Pc("UpsampleArgbLinePair",Jh,4),Pc("UpsampleRgba4444LinePair",hf,2),Pc("UpsampleRgb565LinePair",ff,2);var hv=xt.UpsampleRgbLinePair,pv=xt.UpsampleBgrLinePair,hm=xt.UpsampleRgbaLinePair,pm=xt.UpsampleBgraLinePair,gm=xt.UpsampleArgbLinePair,mm=xt.UpsampleRgba4444LinePair,gv=xt.UpsampleRgb565LinePair,mp=16,vp=1<q.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),q.ca.f.kb.F!=null&&Iu()),q.Pb&&0(Ye=_.Md)?0:100ft;++ft)12>(mn=be.pb[ft]).lc&&(mn.ia=Ye*Ev[0>mn.lc?0:mn.lc]>>3),Wt|=mn.ia;Wt&&(alert("todo:VP8InitRandom"),be.ia=1)}be.Ga=_.Id,100be.Ga&&(be.Ga=0)}(function(ht,Xt){if(ht==null)return 0;if(Xt==null)return ls(ht,2,"NULL VP8Io parameter in VP8Decode().");if(!ht.cb&&!rc(ht,Xt))return 0;if(n(ht.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(ht.L=0);var un=yp[ht.L];if(ht.L==2?(ht.yb=0,ht.zb=0):(ht.yb=Xt.v-un>>4,ht.zb=Xt.j-un>>4,0>ht.yb&&(ht.yb=0),0>ht.zb&&(ht.zb=0)),ht.Va=Xt.o+15+un>>4,ht.Hb=Xt.va+15+un>>4,ht.Hb>ht.za&&(ht.Hb=ht.za),ht.Va>ht.Ub&&(ht.Va=ht.Ub),0un;++un){var pn;if(ht.Qa.Cb){var kn=ht.Qa.Lb[un];ht.Qa.Fb||(kn+=jn.Tb)}else kn=jn.Tb;for(pn=0;1>=pn;++pn){var Vn=ht.gd[un][pn],yr=kn;if(jn.Pc&&(yr+=jn.vd[0],pn&&(yr+=jn.od[0])),0<(yr=0>yr?0:63>2:ar>>1)>9-jn.wb&&(ar=9-jn.wb),1>ar&&(ar=1),Vn.dd=ar,Vn.tc=2*yr+ar,Vn.ld=40<=yr?2:15<=yr?1:0}else Vn.tc=0;Vn.La=pn}}}un=0}else ls(ht,6,"Frame setup failed"),un=ht.a;if(un=un==0){if(un){ht.$c=0,0ht.Vb){if(ht.Vb=0,ht.Ec=l(Vn),ht.Fc=0,ht.Ec==null){un=ls(ht,1,"no memory during frame initialization.");break t}ht.Vb=Vn}Vn=ht.Ec,yr=ht.Fc,ht.Ac=Vn,ht.Bc=yr,yr+=jn,ht.Gd=w(Fo,$0),ht.Hd=0,ht.rb=w(fo+1,Hh),ht.sb=1,ht.wa=Ni?w(Ni,Yl):null,ht.Y=0,ht.D.Nb=0,ht.D.wa=ht.wa,ht.D.Y=ht.Y,0=un;++un)om[255+un]=0>un?-un:un;for(un=-1020;1020>=un;++un)im[1020+un]=-128>un?-128:127=un;++un)am[112+un]=-16>un?-16:15=un;++un)Am[255+un]=0>un?0:255va;++va){var Bs,Ea=Al[0+va];for(Bs=0;4>Bs;++Bs){Ea=uv[mA[Hs+Bs]][Ea];for(var za=dm[$n(yi,Ea[0])];0>3;for(za=0;256>za;za+=16)va[el+za]=bl}ks=1,Lu=Hs[0]}var qa=15&yi.la,bs=15&sl.la;for(za=0;4>za;++za){var Pl=1&bs;for(bl=Za=0;4>bl;++bl)qa=qa>>1|(Pl=(is=l0(mA,Lu,is=Pl+(1&qa),WA.Sc,ks,va,el))>ks)<<7,Za=Za<<2|(3>=4,bs=bs>>1|Pl<<7,Bs=(Bs<<8|Za)>>>0}for(Lu=qa,ks=bs>>4,GA=0;4>GA;GA+=2){for(Za=0,qa=yi.la>>4+GA,bs=sl.la>>4+GA,za=0;2>za;++za){for(Pl=1&bs,bl=0;2>bl;++bl)is=Pl+(1&qa),qa=qa>>1|(Pl=0<(is=l0(mA,Hs[2],is,WA.Qc,0,va,el)))<<3,Za=Za<<2|(3>=2,bs=bs>>1|Pl<<5}Ea|=Za<<4*GA,Lu|=qa<<4<=Bo.zb&&Bo.M<=Bo.Va,Bo.Aa==0)t:{if(Qi.M=Bo.M,Qi.uc=yi,ql(Bo,Qi),os=1,Qi=(Za=Bo.D).Nb,yi=(Ea=yp[Bo.L])*Bo.R,mA=Ea/2*Bo.B,za=16*Qi*Bo.R,bl=8*Qi*Bo.B,Hs=Bo.sa,Al=Bo.ta-yi+za,WA=Bo.qa,va=Bo.ra-mA+bl,el=Bo.Ha,sl=Bo.Ia-mA+bl,bs=(qa=Za.M)==0,Bs=qa>=Bo.Va-1,Bo.Aa==2&&ql(Bo,Za),Za.uc)for(Pl=(is=Bo).D.M,n(is.D.uc),Za=is.yb;ZaKr.o&&(qa=Kr.o),Kr.F=null,Kr.J=null,Bo.Fa!=null&&0>1),Kr.W+=Bo.B*(Ea>>1),Kr.F!=null&&(Kr.J+=Kr.width*Ea)),Za>1,Kr.W+=Kr.v>>1,Kr.F!=null&&(Kr.J+=Kr.v),Kr.ka=Za-Kr.j,Kr.U=Kr.va-Kr.v,Kr.T=qa-Za,os=Kr.put(Kr))}Qi+1!=Bo.Ic||Bs||(r(Bo.sa,Bo.ta-yi,Hs,Al+16*Bo.R,yi),r(Bo.qa,Bo.ra-mA,WA,va+8*Bo.B,mA),r(Bo.Ha,Bo.Ia-mA,el,sl+8*Bo.B,mA))}if(!os)return ls(da,6,"Output aborted.")}return 1}(ht,Xt)),Xt.bc!=null&&Xt.bc(Xt),un&=1}return un?(ht.cb=0,un):0})(u,q)||(m=u.a)}}else m=u.a}m==0&&De.Oa!=null&&De.Oa.fd&&(m=t0(De.ba))}De=m}Ne=De!=0?null:11>Ne?Ze.f.RGBA.eb:Ze.f.kb.y}else Ne=null;return Ne};var Bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Q(xt,sn){for(var _e="",At=0;At<4;At++)_e+=String.fromCharCode(xt[sn++]);return _e}function V(xt,sn){return xt[sn+0]|xt[sn+1]<<8}function fe(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16)>>>0}function Le(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16|xt[sn+3]<<24)>>>0}new S;var z=[0],ot=[0],Je=[],it=new S,Me=e,Mt=function(xt,sn){var _e={},At=0,jt=!1,Tt=0,Bn=0;if(_e.frames=[],!function(Pe,bt){for(var Lt=0;Lt<4;Lt++)if(Pe[bt+Lt]!="RIFF".charCodeAt(Lt))return!0;return!1}(xt,sn)){for(Le(xt,sn+=4),sn+=8;sn>1&1}Fn!="ANMF"&&(sn+=gn)}return _e}}(Me,0);Mt.response=Me,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Ot=Mt.header?Mt.header:null,Ct=Mt.frames?Mt.frames:null;if(Ot){Ot.loop_counter=Ot.loop_count,z=[Ot.canvas_height],ot=[Ot.canvas_width];for(var vn=0;vn=2?st[1]:Xr[0],Xr[2]=st.length>=3?st[2]:Xr[0],Xr[3]=st.length>=4?st[3]:Xr[1]),Q.margin=Xr}});var Ln=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Ln},set:function(st){Ln=st}});var On=0;Object.defineProperty(this,"lastBreak",{get:function(){return On},set:function(st){On=st}});var $n=[];Object.defineProperty(this,"pageBreaks",{get:function(){return $n},set:function(st){$n=st}}),Object.defineProperty(this,"ctx",{get:function(){return Q},set:function(st){st instanceof V&&(Q=st)}}),Object.defineProperty(this,"path",{get:function(){return Q.path},set:function(st){Q.path=st}});var wr=[];Object.defineProperty(this,"ctxStack",{get:function(){return wr},set:function(st){wr=st}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(st){var Xr;Xr=Le(st),this.ctx.fillStyle=Xr.style,this.ctx.isFillTransparent=Xr.a===0,this.ctx.fillOpacity=Xr.a,this.pdf.setFillColor(Xr.r,Xr.g,Xr.b,{a:Xr.a}),this.pdf.setTextColor(Xr.r,Xr.g,Xr.b,{a:Xr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(st){var Xr=Le(st);this.ctx.strokeStyle=Xr.style,this.ctx.isStrokeTransparent=Xr.a===0,this.ctx.strokeOpacity=Xr.a,Xr.a===0?this.pdf.setDrawColor(255,255,255):(Xr.a,this.pdf.setDrawColor(Xr.r,Xr.g,Xr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(st){["butt","round","square"].indexOf(st)!==-1&&(this.ctx.lineCap=st,this.pdf.setLineCap(st))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(st){isNaN(st)||(this.ctx.lineWidth=st,this.pdf.setLineWidth(st))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(st){["bevel","round","miter"].indexOf(st)!==-1&&(this.ctx.lineJoin=st,this.pdf.setLineJoin(st))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(st){isNaN(st)||(this.ctx.miterLimit=st,this.pdf.setMiterLimit(st))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(st){this.ctx.textBaseline=st}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(st){["right","end","center","left","start"].indexOf(st)!==-1&&(this.ctx.textAlign=st)}});var $r=null,Gr=null,Qo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Qo},set:function(st){$r=null,Gr=null,Qo=st}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(st){var Xr;if(this.ctx.font=st,(Xr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(st))!==null){var Ri=Xr[1];Xr[2];var Go=Xr[3],dr=Xr[4];Xr[5];var $o=Xr[6],po=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(dr)[2];dr=Math.floor(po==="px"?parseFloat(dr)*this.pdf.internal.scaleFactor:po==="em"?parseFloat(dr)*this.pdf.getFontSize():parseFloat(dr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(dr);var ko=function(Uo){var ts,ba,Mi=[],Hi=Uo.trim();if(Hi==="")return Zp;if(Hi in $u)return[$u[Hi]];for(;Hi!=="";){switch(ba=null,ts=(Hi=Xu(Hi)).charAt(0)){case'"':case"'":ba=Bu(Hi.substring(1),ts);break;default:ba=ud(Hi)}if(ba===null||(Mi.push(ba[0]),(Hi=Xu(ba[1]))!==""&&Hi.charAt(0)!==","))return Zp;Hi=Hi.replace(/^,/,"")}return Mi}($o);if(this.fontFaces){var To=function(Uo,ts){var ba=Uo.getFontList(),Mi=JSON.stringify(ba);if($r===null||Gr!==Mi){var Hi=function(xA){var jo=[];return Object.keys(xA).forEach(function(iA){xA[iA].forEach(function(ni){var vi=null;switch(ni){case"bold":vi={family:iA,weight:"bold"};break;case"italic":vi={family:iA,style:"italic"};break;case"bolditalic":vi={family:iA,weight:"bold",style:"italic"};break;case"":case"normal":vi={family:iA}}vi!==null&&(vi.ref={name:iA,style:ni},jo.push(vi))})}),jo}(ba);$r=function(xA){for(var jo={},iA=0;iA=700||Ri==="bold")&&(mi="bold"),Ri==="italic"&&(mi+="italic"),mi.length===0&&(mi="normal");for(var ca="",ia={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},xo=0;xo=2*Math.PI&&(Ht=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:bt,radius:Lt,startAngle:Ht,endAngle:Jt,counterclockwise:fn})},fe.prototype.arcTo=function(Pe,bt,Lt,Ht,Jt){throw new Error("arcTo not implemented.")},fe.prototype.rect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,bt),this.lineTo(Pe+Lt,bt),this.lineTo(Pe+Lt,bt+Ht),this.lineTo(Pe,bt+Ht),this.lineTo(Pe,bt),this.lineTo(Pe+Lt,bt),this.lineTo(Pe,bt)},fe.prototype.fillRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!z.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,bt,Lt,Ht),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},fe.prototype.strokeRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ot.call(this)||(this.beginPath(),this.rect(Pe,bt,Lt,Ht),this.stroke())},fe.prototype.clearRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,bt,Lt,Ht))},fe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Lt=0;Lt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};fe.prototype.drawImage=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On,$n){var wr=this.pdf.getImageProperties(Pe),$r=1,Gr=1,Qo=1,st=1;Ht!==void 0&&On!==void 0&&(Qo=On/Ht,st=$n/Jt,$r=wr.width/Ht*On/Ht,Gr=wr.height/Jt*$n/Jt),fn===void 0&&(fn=bt,Ln=Lt,bt=0,Lt=0),Ht!==void 0&&On===void 0&&(On=Ht,$n=Jt),Ht===void 0&&On===void 0&&(On=wr.width,$n=wr.height);var Xr=this.ctx.transform.decompose(),Ri=gn(Xr.rotate.shx),Go=new S,dr=(Go=(Go=(Go=Go.multiply(Xr.translate)).multiply(Xr.skew)).multiply(Xr.scale)).applyToRectangle(new y(fn-bt*Qo,Ln-Lt*st,Ht*$r,Jt*Gr));if(this.autoPaging){for(var $o,po=it.call(this,dr),ko=[],To=0;ToPa||midr||po<$o)&&Je.call(this);ia&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ko,oa,null).clip().discardPath()),vn.call(this,Pe,bt),ia&&this.pdf.restoreGraphicsState()}this.lineWidth=fn}this.path=$r}else this.lineWidth=Ln,vn.call(this,Pe,bt),this.lineWidth=fn},vn=function(Pe,bt){if((Pe!=="stroke"||bt||!ot.call(this))&&(Pe==="stroke"||bt||!z.call(this))){for(var Lt,Ht,Jt=[],fn=this.path,Ln=0;Ln0)){for(;$n>=0;$n--)if(Jt[$n-1].close!==!0&&Jt[$n-1].begin!==!0){Jt[$n-1].deltas.push(Lt),Jt[$n-1].abs.push(On);break}}break;case"bct":Lt=[On.x1-fn[Ln-1].x,On.y1-fn[Ln-1].y,On.x2-fn[Ln-1].x,On.y2-fn[Ln-1].y,On.x-fn[Ln-1].x,On.y-fn[Ln-1].y],Jt[Jt.length-1].deltas.push(Lt);break;case"qct":var wr=fn[Ln-1].x+2/3*(On.x1-fn[Ln-1].x),$r=fn[Ln-1].y+2/3*(On.y1-fn[Ln-1].y),Gr=On.x+2/3*(On.x1-On.x),Qo=On.y+2/3*(On.y1-On.y),st=On.x,Xr=On.y;Lt=[wr-fn[Ln-1].x,$r-fn[Ln-1].y,Gr-fn[Ln-1].x,Qo-fn[Ln-1].y,st-fn[Ln-1].x,Xr-fn[Ln-1].y],Jt[Jt.length-1].deltas.push(Lt);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(On)}}Ht=bt?null:Pe==="stroke"?"stroke":"fill";for(var Ri=!1,Go=0;Go=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale);var xi=this.autoPaging!=="text";if(xi||xo.y+xo.h<=To){if(xi||xo.y>=po&&xo.x<=oa){var Uo=xi?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||oa-xo.x)[0],ts=Mt([JSON.parse(JSON.stringify(Gr))],this.posX+this.margin[3],-ca+po+this.ctx.prevPageLastElemOffset)[0],ba=xi&&($o>Go||$o=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale),this.pdf.text(Pe.text,$n.x+this.posX,$n.y+this.posY,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)},jt=function(Pe,bt,Lt,Ht){Lt=Lt||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Lt)+" "+r(bt+Ht)+" l")},Tt=function(Pe,bt,Lt){return this.pdf.lines(Pe,bt,Lt,null,null)},Bn=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On){this.pdf.internal.out([n(o(Lt+Pe)),n(l(Ht+bt)),n(o(Jt+Pe)),n(l(fn+bt)),n(o(Ln+Pe)),n(l(On+bt)),"c"].join(" "))},Fn=function(Pe,bt,Lt,Ht){for(var Jt=2*Math.PI,fn=Math.PI/2;bt>Lt;)bt-=Jt;var Ln=Math.abs(Lt-bt);Ln1e-5;){var $r=wr+$n*Math.min(Ln,fn);On.push(Nn.call(this,Pe,wr,$r)),Ln-=Math.abs($r-wr),wr=$r}return On},Nn=function(Pe,bt,Lt){var Ht=(Lt-bt)/2,Jt=Pe*Math.cos(Ht),fn=Pe*Math.sin(Ht),Ln=Jt,On=-fn,$n=Ln*Ln+On*On,wr=$n+Ln*Jt+On*fn,$r=4/3*(Math.sqrt(2*$n*wr)-wr)/(Ln*fn-On*Jt),Gr=Ln-$r*On,Qo=On+$r*Ln,st=Gr,Xr=-Qo,Ri=Ht+bt,Go=Math.cos(Ri),dr=Math.sin(Ri);return{x1:Pe*Math.cos(bt),y1:Pe*Math.sin(bt),x2:Gr*Go-Qo*dr,y2:Gr*dr+Qo*Go,x3:st*Go-Xr*dr,y3:st*dr+Xr*Go,x4:Pe*Math.cos(Lt),y4:Pe*Math.sin(Lt)}},gn=function(Pe){return 180*Pe/Math.PI},Tn=function(Pe,bt,Lt,Ht,Jt,fn){var Ln=Pe+.5*(Lt-Pe),On=bt+.5*(Ht-bt),$n=Jt+.5*(Lt-Jt),wr=fn+.5*(Ht-fn),$r=Math.min(Pe,Jt,Ln,$n),Gr=Math.max(Pe,Jt,Ln,$n),Qo=Math.min(bt,fn,On,wr),st=Math.max(bt,fn,On,wr);return new y($r,Qo,Gr-$r,st-Qo)},Ir=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On){var $n,wr,$r,Gr,Qo,st,Xr,Ri,Go,dr,$o,po,ko,To,Pa=Lt-Pe,oa=Ht-bt,mi=Jt-Lt,ca=fn-Ht,ia=Ln-Jt,xo=On-fn;for(wr=0;wr<41;wr++)Go=(Xr=($r=Pe+($n=wr/40)*Pa)+$n*((Qo=Lt+$n*mi)-$r))+$n*(Qo+$n*(Jt+$n*ia-Qo)-Xr),dr=(Ri=(Gr=bt+$n*oa)+$n*((st=Ht+$n*ca)-Gr))+$n*(st+$n*(fn+$n*xo-st)-Ri),wr==0?($o=Go,po=dr,ko=Go,To=dr):($o=Math.min($o,Go),po=Math.min(po,dr),ko=Math.max(ko,Go),To=Math.max(To,dr));return new y(Math.round($o),Math.round(po),Math.round(ko-$o),Math.round(To-po))},or=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,bt,Lt=(Pe=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:bt}));this.prevLineDash!==Lt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Lt)}}})(yo.API),function(e){var n=function(w){var y,S,Q,V,fe,Le,z,ot,Je,it;for(/[^\x00-\xFF]/.test(w),S=[],Q=0,V=(w+=y="\0\0\0\0".slice(w.length%4||4)).length;V>Q;Q+=4)(fe=(w.charCodeAt(Q)<<24)+(w.charCodeAt(Q+1)<<16)+(w.charCodeAt(Q+2)<<8)+w.charCodeAt(Q+3))!==0?(Le=(fe=((fe=((fe=((fe=(fe-(it=fe%85))/85)-(Je=fe%85))/85)-(ot=fe%85))/85)-(z=fe%85))/85)%85,S.push(Le+33,z+33,ot+33,Je+33,it+33)):S.push(122);return function(Me,Mt){for(var Ot=Mt;Ot>0;Ot--)Me.pop()}(S,y.length),String.fromCharCode.apply(String,S)+"~>"},t=function(w){var y,S,Q,V,fe,Le=String,z="length",ot=255,Je="charCodeAt",it="slice",Me="replace";for(w[it](-2),w=w[it](0,-2)[Me](/\s/g,"")[Me]("z","!!!!!"),Q=[],V=0,fe=(w+=y="uuuuu"[it](w[z]%5||5))[z];fe>V;V+=5)S=52200625*(w[Je](V)-33)+614125*(w[Je](V+1)-33)+7225*(w[Je](V+2)-33)+85*(w[Je](V+3)-33)+(w[Je](V+4)-33),Q.push(ot&S>>24,ot&S>>16,ot&S>>8,ot&S);return function(Mt,Ot){for(var Ct=Ot;Ct>0;Ct--)Mt.pop()}(Q,y[z]),Le.fromCharCode.apply(Le,Q)},r=function(w){return w.split("").map(function(y){return("0"+y.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(w){var y=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((w=w.replace(/\s/g,"")).indexOf(">")!==-1&&(w=w.substr(0,w.indexOf(">"))),w.length%2&&(w+="0"),y.test(w)===!1)return"";for(var S="",Q=0;QJe&&(ot=it,it=Je,Je=ot);else{if(y!=="l"&&y!=="landscape")throw"Invalid orientation: "+y;y="l",Je>it&&(ot=it,it=Je,Je=ot)}return{width:it,height:Je,unit:S,k:fe,orientation:y}},e.html=function(y,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Bl):null;var Q=new w(S);return S.worker?Q:Q.from(y).doCallback()}}(yo.API),yo.API.addJS=function(e){return Og=e,this.internal.events.subscribe("postPutResources",function(){Yu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Qg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Og+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yu!==void 0&&Qg!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),l=0;l> endobj")}var z=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+z+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,l){var w={title:o,options:l,children:[]};return r==null&&(r=this.root),r.children.push(w),w},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(w.children[0])),this.line("/Last "+this.makeRef(w.children[w.children.length-1])));var y=this.count=this.count_r({count:0},w);if(y>0&&this.line("/Count "+y),w.options&&w.options.pageNumber){var S=t.internal.getPageInfo(w.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var Q=0;Q>"}),"transparency"in At&&Array.isArray(At.transparency)&&At.transparency.length>0){for(var Nn="",gn=0,Tn=At.transparency.length;gn>",Je.content=l;var Ot=Je.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=1};var Q=e.__arabicParser__.arabicLetterHasFinalForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length>=3};var V=e.__arabicParser__.arabicLetterHasMedialForm=function(Je){return w(Je)&&l(Je)&&n[Je.charCodeAt(0)].length==4},fe=e.__arabicParser__.resolveLigatures=function(Je){var it=0,Me=t,Mt="",Ot=0;for(it=0;it>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(y){t=y}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(y){r=isNaN(y)||Number.isInteger(y)===!1||y<0?150:y,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(y){o=isNaN(y)||Number.isInteger(y)===!1||y<0?300:y,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(y){l=y}});var w={};Object.defineProperty(this,"style",{get:function(){return w},set:function(y){w=y}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(yo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(Je){S=Je}});var Q=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Q},set:function(Je){Q=Je}});var V=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return V},set:function(Je){V=Je}});var fe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return fe},set:function(Je){fe=Je}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(Je){Le=Je}});var z=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return z},set:function(Je){z=Je}});var ot=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ot},set:function(Je){ot=Je}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,Q){r.call(this);var V=(Q=Q||{}).fontSize||this.getFontSize(),fe=Q.font||this.getFont(),Le=Q.scaleFactor||this.internal.scaleFactor,z=0,ot=0,Je=0,it=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var Me=Q.maxWidth;Me>0?typeof S=="string"?S=this.splitTextToSize(S,Me):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Ot,Ct){return Ot.concat(it.splitTextToSize(Ct,Me))},[])):S=Array.isArray(S)?S:[S];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),S.y=fe.top,z&&Le&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Le[0].height)):S.y=Q.y+Q.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-V,S.y+V,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+V,{align:"center",baseline:"top",maxWidth:S.width-V-V}):this.text(S.text,S.x+V,S.y+V,{align:"left",baseline:"top",maxWidth:S.width-V-V})),this.internal.__cell__.lastCell=S,this};e.table=function(S,Q,V,fe,Le){if(r.call(this),!V)throw new Error("No data for PDF table.");var z,ot,Je,it,Me=[],Mt=[],Ot=[],Ct={},vn={},Hn=[],Un=[],Gt=(Le=Le||{}).autoSize||!1,xt=Le.printHeaders!==!1,sn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,_e=Le.margins||Object.assign({width:this.getPageWidth()},n),At=typeof Le.padding=="number"?Le.padding:3,jt=Le.headerBackgroundColor||"#c8c8c8",Tt=Le.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=xt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=sn,this.internal.__cell__.padding=At,this.internal.__cell__.headerBackgroundColor=jt,this.internal.__cell__.headerTextColor=Tt,this.setFontSize(sn),fe==null)Mt=Me=Object.keys(V[0]),Ot=Me.map(function(){return"left"});else if(Array.isArray(fe)&&(0,s.Z)(fe[0])==="object")for(Me=fe.map(function(Ir){return Ir.name}),Mt=fe.map(function(Ir){return Ir.prompt||Ir.name||""}),Ot=fe.map(function(Ir){return Ir.align||"left"}),z=0;z0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(yo.API);var ss={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Us=Qa(yu),Rs=[100,200,300,400,500,600,700,800,900],bc=Qa(Rs);function Bl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ss[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),o=function(l){return typeof Us[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function wu(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Hg(e,n,t){var r=e.length,o=[];o[0]=4;for(var l=0;l>l&w}function kg(e,n,t,r){var o=t*r,l=Math.floor(o/8),w=16-(o-8*l+r),y=(1<>8&255;Q.setUint8(V,Le)}})(e,l,Kg(e,l)&~(y<>7,w=1<<1+(7&o);e[n++],e[n++];var y=null,S=null;l&&(y=n,S=w,n+=3*w);var Q=!0,V=[],fe=0,Le=null,z=0,ot=null;for(this.width=t,this.height=r;Q&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Je=e[n++];fe=e[n++]|e[n++]<<8,Le=e[n++],1&Je||(Le=null),z=Je>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var it=e[n++]|e[n++]<<8,Me=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Ot=e[n++]|e[n++]<<8,Ct=e[n++],vn=Ct>>6&1,Hn=1<<1+(7&Ct),Un=y,Gt=S,xt=!1;Ct>>7&&(xt=!0,Un=n,Gt=Hn,n+=3*Hn);var sn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}V.push({x:it,y:Me,width:Mt,height:Ot,has_local_palette:xt,palette_offset:Un,palette_size:Gt,data_offset:sn,data_length:n-sn,transparent_index:Le,interlaced:!!vn,delay:fe,disposal:z});break;case 59:Q=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return V.length},this.loopCount=function(){return ot},this.frameInfo=function(At){if(At<0||At>=V.length)throw new Error("Frame index out of range.");return V[At]},this.decodeAndBlitFrameBGRA=function(At,jt){var Tt=this.frameInfo(At),Bn=Tt.width*Tt.height,Fn=new Uint8Array(Bn);zg(e,Tt.data_offset,Fn,Bn);var Nn=Tt.palette_offset,gn=Tt.transparent_index;gn===null&&(gn=256);var Tn=Tt.width,Ir=t-Tn,or=Tn,Pe=4*(Tt.y*t+Tt.x),bt=4*((Tt.y+Tt.height)*t+Tt.x),Lt=Pe,Ht=4*Ir;Tt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,fn=0,Ln=Fn.length;fn=bt&&(Ht=4*Ir+4*t*(Jt-1),Lt=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),On===gn)Lt+=4;else{var $n=e[Nn+3*On],wr=e[Nn+3*On+1],$r=e[Nn+3*On+2];jt[Lt++]=$r,jt[Lt++]=wr,jt[Lt++]=$n,jt[Lt++]=255}--or}},this.decodeAndBlitFrameRGBA=function(At,jt){var Tt=this.frameInfo(At),Bn=Tt.width*Tt.height,Fn=new Uint8Array(Bn);zg(e,Tt.data_offset,Fn,Bn);var Nn=Tt.palette_offset,gn=Tt.transparent_index;gn===null&&(gn=256);var Tn=Tt.width,Ir=t-Tn,or=Tn,Pe=4*(Tt.y*t+Tt.x),bt=4*((Tt.y+Tt.height)*t+Tt.x),Lt=Pe,Ht=4*Ir;Tt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,fn=0,Ln=Fn.length;fn=bt&&(Ht=4*Ir+4*t*(Jt-1),Lt=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),On===gn)Lt+=4;else{var $n=e[Nn+3*On],wr=e[Nn+3*On+1],$r=e[Nn+3*On+2];jt[Lt++]=$n,jt[Lt++]=wr,jt[Lt++]=$r,jt[Lt++]=255}--or}}}function zg(e,n,t,r){for(var o=e[n++],l=1<>=S,V-=S,it!==l){if(it===w)break;for(var Me=itl;)Ot=ot[Ot]>>8,++Mt;var Ct=Ot;if(Le+Mt+(Me!==it?1:0)>r)return void Ka.log("Warning, gif stream longer than expected.");t[Le++]=Ct;var vn=Le+=Mt;for(Me!==it&&(t[Le++]=Ct),Ot=Me;Mt--;)Ot=ot[Ot],t[--vn]=255&Ot,Ot>>=8;Je!==null&&y<4096&&(ot[y++]=Je<<8|Ct,y>=Q+1&&S<12&&(++S,Q=Q<<1|1)),Je=it}else y=w+1,Q=(1<<(S=o+1))-1,Je=null}return Le!==r&&Ka.log("Warning, gif stream shorter than expected."),t}function Wp(e){var n,t,r,o,l,w=Math.floor,y=new Array(64),S=new Array(64),Q=new Array(64),V=new Array(64),fe=new Array(65535),Le=new Array(65535),z=new Array(64),ot=new Array(64),Je=[],it=0,Me=7,Mt=new Array(64),Ot=new Array(64),Ct=new Array(64),vn=new Array(256),Hn=new Array(2048),Un=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Gt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xt=[0,1,2,3,4,5,6,7,8,9,10,11],sn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],At=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Tt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Bn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fn(Pe,bt){for(var Lt=0,Ht=0,Jt=new Array,fn=1;fn<=16;fn++){for(var Ln=1;Ln<=Pe[fn];Ln++)Jt[bt[Ht]]=[],Jt[bt[Ht]][0]=Lt,Jt[bt[Ht]][1]=fn,Ht++,Lt++;Lt*=2}return Jt}function Nn(Pe){for(var bt=Pe[0],Lt=Pe[1]-1;Lt>=0;)bt&1<>8&255),gn(255&Pe)}function Ir(Pe,bt,Lt,Ht,Jt){for(var fn,Ln=Jt[0],On=Jt[240],$n=function(dr,$o){var po,ko,To,Pa,oa,mi,ca,ia,xo,xi,Uo=0;for(xo=0;xo<8;++xo){po=dr[Uo],ko=dr[Uo+1],To=dr[Uo+2],Pa=dr[Uo+3],oa=dr[Uo+4],mi=dr[Uo+5],ca=dr[Uo+6];var ts=po+(ia=dr[Uo+7]),ba=po-ia,Mi=ko+ca,Hi=ko-ca,xA=To+mi,jo=To-mi,iA=Pa+oa,ni=Pa-oa,vi=ts+iA,SA=ts-iA,Gi=Mi+xA,Yo=Mi-xA;dr[Uo]=vi+Gi,dr[Uo+4]=vi-Gi;var Ta=.707106781*(Yo+SA);dr[Uo+2]=SA+Ta,dr[Uo+6]=SA-Ta;var tf=.382683433*((vi=ni+jo)-(Yo=Hi+ba)),qs=.5411961*vi+tf,Ec=1.306562965*Yo+tf,qu=.707106781*(Gi=jo+Hi),Jo=ba+qu,xc=ba-qu;dr[Uo+5]=xc+qs,dr[Uo+3]=xc-qs,dr[Uo+1]=Jo+Ec,dr[Uo+7]=Jo-Ec,Uo+=8}for(Uo=0,xo=0;xo<8;++xo){po=dr[Uo],ko=dr[Uo+8],To=dr[Uo+16],Pa=dr[Uo+24],oa=dr[Uo+32],mi=dr[Uo+40],ca=dr[Uo+48];var Sc=po+(ia=dr[Uo+56]),Gl=po-ia,$l=ko+ca,VA=ko-ca,Ls=To+mi,_s=To-mi,nf=Pa+oa,dd=Pa-oa,Eu=Sc+nf,ec=Sc-nf,xu=$l+Ls,Su=$l-Ls;dr[Uo]=Eu+xu,dr[Uo+32]=Eu-xu;var Xl=.707106781*(Su+ec);dr[Uo+16]=ec+Xl,dr[Uo+48]=ec-Xl;var rf=.382683433*((Eu=dd+_s)-(Su=VA+Gl)),tc=.5411961*Eu+rf,of=1.306562965*Su+rf,zf=.707106781*(xu=_s+VA),Zf=Gl+zf,Vf=Gl-zf;dr[Uo+40]=Vf+tc,dr[Uo+24]=Vf-tc,dr[Uo+8]=Zf+of,dr[Uo+56]=Zf-of,Uo++}for(xo=0;xo<64;++xo)xi=dr[xo]*$o[xo],z[xo]=xi>0?xi+.5|0:xi-.5|0;return z}(Pe,bt),wr=0;wr<64;++wr)ot[Un[wr]]=$n[wr];var $r=ot[0]-Lt;Lt=ot[0],$r==0?Nn(Ht[0]):(Nn(Ht[Le[fn=32767+$r]]),Nn(fe[fn]));for(var Gr=63;Gr>0&&ot[Gr]==0;)Gr--;if(Gr==0)return Nn(Ln),Lt;for(var Qo,st=1;st<=Gr;){for(var Xr=st;ot[st]==0&&st<=Gr;)++st;var Ri=st-Xr;if(Ri>=16){Qo=Ri>>4;for(var Go=1;Go<=Qo;++Go)Nn(On);Ri&=15}fn=32767+ot[st],Nn(Jt[(Ri<<4)+Le[fn]]),Nn(fe[fn]),st++}return Gr!=63&&Nn(Ln),Lt}function or(Pe){Pe=Math.min(Math.max(Pe,1),100),l!=Pe&&(function(bt){for(var Lt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var Jt=w((Lt[Ht]*bt+50)/100);Jt=Math.min(Math.max(Jt,1),255),y[Un[Ht]]=Jt}for(var fn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Ln=0;Ln<64;Ln++){var On=w((fn[Ln]*bt+50)/100);On=Math.min(Math.max(On,1),255),S[Un[Ln]]=On}for(var $n=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wr=0,$r=0;$r<8;$r++)for(var Gr=0;Gr<8;Gr++)Q[wr]=1/(y[Un[wr]]*$n[$r]*$n[Gr]*8),V[wr]=1/(S[Un[wr]]*$n[$r]*$n[Gr]*8),wr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),l=Pe)}this.encode=function(Pe,bt){bt&&or(bt),Je=new Array,it=0,Me=7,Tn(65496),Tn(65504),Tn(16),gn(74),gn(70),gn(73),gn(70),gn(0),gn(1),gn(1),gn(0),Tn(1),Tn(1),gn(0),gn(0),function(){Tn(65499),Tn(132),gn(0);for(var ko=0;ko<64;ko++)gn(y[ko]);gn(1);for(var To=0;To<64;To++)gn(S[To])}(),function(ko,To){Tn(65472),Tn(17),gn(8),Tn(To),Tn(ko),gn(3),gn(1),gn(17),gn(0),gn(2),gn(17),gn(1),gn(3),gn(17),gn(1)}(Pe.width,Pe.height),function(){Tn(65476),Tn(418),gn(0);for(var ko=0;ko<16;ko++)gn(Gt[ko+1]);for(var To=0;To<=11;To++)gn(xt[To]);gn(16);for(var Pa=0;Pa<16;Pa++)gn(sn[Pa+1]);for(var oa=0;oa<=161;oa++)gn(_e[oa]);gn(1);for(var mi=0;mi<16;mi++)gn(At[mi+1]);for(var ca=0;ca<=11;ca++)gn(jt[ca]);gn(17);for(var ia=0;ia<16;ia++)gn(Tt[ia+1]);for(var xo=0;xo<=161;xo++)gn(Bn[xo])}(),Tn(65498),Tn(12),gn(3),gn(1),gn(0),gn(2),gn(17),gn(3),gn(17),gn(0),gn(63),gn(0);var Lt=0,Ht=0,Jt=0;it=0,Me=7,this.encode.displayName="_encode_";for(var fn,Ln,On,$n,wr,$r,Gr,Qo,st,Xr=Pe.data,Ri=Pe.width,Go=Pe.height,dr=4*Ri,$o=0;$o>3)*dr+(Gr=4*(7&st)),$o+Qo>=Go&&($r-=dr*($o+1+Qo-Go)),fn+Gr>=dr&&($r-=fn+Gr-dr+4),Ln=Xr[$r++],On=Xr[$r++],$n=Xr[$r++],Mt[st]=(Hn[Ln]+Hn[On+256|0]+Hn[$n+512|0]>>16)-128,Ot[st]=(Hn[Ln+768|0]+Hn[On+1024|0]+Hn[$n+1280|0]>>16)-128,Ct[st]=(Hn[Ln+1280|0]+Hn[On+1536|0]+Hn[$n+1792|0]>>16)-128;Lt=Ir(Mt,Q,Lt,n,r),Ht=Ir(Ot,V,Ht,t,o),Jt=Ir(Ct,V,Jt,t,o),fn+=32}$o+=8}if(Me>=0){var po=[];po[1]=Me+1,po[0]=(1<At;At++)if(xt[sn+At]!=_e.charCodeAt(At))return!0;return!1}function r(xt,sn,_e,At,jt){for(var Tt=0;TtTt+1?[]:new sn),!(Bn.length>>0;u&_;)_>>>=1;return _?(u&_-1)+_:u}function _e(u,m,_,q,be){n(!(q%_));do u[m+(q-=_)]=be;while(0=be),512>=be)var Ne=l(512);else if((Ne=l(be))==null)return 0;return function(De,Ze,Ye,ft,Wt,mn){var ht,Xt,un=Ze,jn=1<ht;++ht){if(pn[ht]>1<(Ni-=pn[ht]))return 0;for(;0=ht;++ht,Wt<<=1){if(fo+=Ni<<=1,0>(Ni-=pn[ht]))return 0;for(;0yr&&!(0>=(Vn-=pn[yr]));)++yr,Vn<<=1;jn+=wo=1<<(Vn=yr-Ye),De[Ze+(yr=Fo&ar)].g=Vn+Ye,De[Ze+yr].value=un-Ze-yr}ft.g=ht-Ye,ft.value=mn[Xt++],_e(De,un+(Fo>>Ye),Wt,wo,ft),Fo=sn(Fo,ht)}}return fo!=2*kn[15]-1?0:jn}(u,m,_,q,be,Ne)}function jt(){this.value=this.g=0}function Tt(){this.value=this.g=0}function Bn(){this.G=w(5,jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=w(gf,Tt)}function Fn(u,m,_,q){n(u!=null),n(m!=null),n(2147483648>q),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=m,u.pa=_,u.Jd=m,u.Yc=_+q,u.Zc=4<=q?_+q-4+1:_,Ln(u)}function Nn(u,m){for(var _=0;0q),u.Sb=q,u.Ra=0,u.u=0,u.h=0,4>>=8,u.Ra+=u.oa[u.pa+u.bb]<>>0,++u.bb,u.u-=8;Ht(u)&&(u.h=1,u.u=0)}function or(u,m){if(n(0<=m),!u.h&&m<=Ol){var _=Lt(u)&Ql[m];return u.u+=m,Ir(u),_}return u.h=1,u.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Lt(u){return u.Ra>>>(u.u&gd-1)>>>0}function Ht(u){return n(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>gd}function Jt(u,m){u.u=m,u.h=Ht(u)}function fn(u){u.u>=Rc&&(n(u.u>=Rc),Ir(u))}function Ln(u){n(u!=null&&u.oa!=null),u.pa>>0,u.b+=8):(n(u!=null&&u.oa!=null),u.pau.b&&Ln(u);var q=u.b,be=_*m>>>8,Ne=(u.I>>>q>be)+0;for(Ne?(_-=be,u.I-=be+1<>>0):_=be+1,q=_,be=0;256<=q;)be+=8,q>>=8;return q=7^be+md[q],u.b-=q,u.Ca=(_<>24&255,u[m+1]=_>>16&255,u[m+2]=_>>8&255,u[m+3]=255&_}function $r(u,m){return u[m+0]|u[m+1]<<8}function Gr(u,m){return $r(u,m)|u[m+2]<<16}function Qo(u,m){return $r(u,m)|$r(u,m+2)<<16}function st(u,m){var _=1<=be||0>=Ne?0:(_[0]=be,q[0]=Ne,1)}function dr(u,m){return u+(1<>>m}function $o(u,m){return((4278255360&u)+(4278255360&m)>>>0&4278255360)+((16711935&u)+(16711935&m)>>>0&16711935)>>>0}function po(u,m){xt[m]=function(_,q,be,Ne,De,Ze,Ye){var ft;for(ft=0;ft>>1)+(u&m)>>>0}function Pa(u){return 0<=u&&256>u?u:0>u?0:255>1))}function mi(u,m,_){return Math.abs(m-_)-Math.abs(u-_)}function ca(u,m,_,q,be,Ne,De){for(q=Ne[De-1],_=0;_>8&255,Ye=16711935&(Ye=(Ye=16711935&De)+((Ze<<16)+Ze));q[be+Ne]=(4278255360&De)+Ye>>>0}}function xo(u,m){m.jd=255&u,m.hd=u>>8&255,m.ud=u>>16&255}function xi(u,m,_,q,be,Ne){var De;for(De=0;De>>8,ft=Ze,Wt=255&(Wt=(Wt=Ze>>>16)+((u.jd<<24>>24)*(Ye<<24>>24)>>>5));ft=255&(ft=(ft+=(u.hd<<24>>24)*(Ye<<24>>24)>>>5)+((u.ud<<24>>24)*(Wt<<24>>24)>>>5)),be[Ne+De]=(4278255360&Ze)+(Wt<<16)+ft}}function Uo(u,m,_,q,be){xt[m]=function(Ne,De,Ze,Ye,ft,Wt,mn,ht,Xt){for(Ye=mn;Ye>Ne.b,Xt=Ne.Ea,un=Ne.K[0],jn=Ne.w;if(8>ht)for(Ne=(1<>=ht}else xt["VP8LMapColor"+_](Ye,ft,un,jn,Wt,mn,De,Ze,Xt)}}function ts(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=Ne>>16&255,q[be++]=Ne>>8&255,q[be++]=255&Ne}}function ba(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=Ne>>16&255,q[be++]=Ne>>8&255,q[be++]=255&Ne,q[be++]=Ne>>24&255}}function Mi(u,m,_,q,be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&240|De>>12&15,De=240&De|De>>28&15;q[be++]=Ne,q[be++]=De}}function Hi(u,m,_,q,be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&248|De>>13&7,De=De>>5&224|De>>3&31;q[be++]=Ne,q[be++]=De}}function xA(u,m,_,q,be){for(_=m+_;m<_;){var Ne=u[m++];q[be++]=255&Ne,q[be++]=Ne>>8&255,q[be++]=Ne>>16&255}}function jo(u,m,_,q,be,Ne){if(Ne==0)for(_=m+_;m<_;)wr(q,((Ne=u[m++])[0]>>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),be+=32;else r(q,be,u,m,_)}function iA(u,m){xt[m][0]=xt[u+"0"],xt[m][1]=xt[u+"1"],xt[m][2]=xt[u+"2"],xt[m][3]=xt[u+"3"],xt[m][4]=xt[u+"4"],xt[m][5]=xt[u+"5"],xt[m][6]=xt[u+"6"],xt[m][7]=xt[u+"7"],xt[m][8]=xt[u+"8"],xt[m][9]=xt[u+"9"],xt[m][10]=xt[u+"10"],xt[m][11]=xt[u+"11"],xt[m][12]=xt[u+"12"],xt[m][13]=xt[u+"13"],xt[m][14]=xt[u+"0"],xt[m][15]=xt[u+"0"]}function ni(u){return u==dg||u==fg||u==gp||u==hg}function vi(){this.eb=[],this.size=this.A=this.fb=0}function SA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Gi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vi,this.f.kb=new SA,this.sd=null}function Yo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ta(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function qs(u,m){var _=u.T,q=m.ba.f.RGBA,be=q.eb,Ne=q.fb+u.ka*q.A,De=nu[m.ba.S],Ze=u.y,Ye=u.O,ft=u.f,Wt=u.N,mn=u.ea,ht=u.W,Xt=m.cc,un=m.dc,jn=m.Mc,pn=m.Nc,kn=u.ka,Vn=u.ka+u.T,yr=u.U,ar=yr+1>>1;for(kn==0?De(Ze,Ye,null,null,ft,Wt,mn,ht,ft,Wt,mn,ht,be,Ne,null,null,yr):(De(m.ec,m.fc,Ze,Ye,Xt,un,jn,pn,ft,Wt,mn,ht,be,Ne-q.A,be,Ne,yr),++_);kn+2_,be=_==fp||_==hp||_==pp||_==cg||_==12||ni(_);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!e0(m.Oa,u,be?11:12))return 0;if(be&&ni(_)&&Yh(),u.da)alert("todo:use_scaling");else{if(q){if(m.Ib=tf,u.Kb){if(_=u.U+1>>1,m.memory=l(u.U+2*_),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+u.U,m.Mc=m.cc,m.Nc=m.dc+_,m.Ib=qs,Yh()}}else alert("todo:EmitYUV");be&&(m.Jb=Ec,q&&Iu())}if(q&&!ym){for(u=0;256>u;++u)vv[u]=89858*(u-128)+vp>>mp,Bv[u]=-22014*(u-128)+vp,wv[u]=-45773*(u-128),yv[u]=113618*(u-128)+vp>>mp;for(u=u0;u>mp,bv[u-u0]=nc(m,255),Cv[u-u0]=nc(m+8>>4,15);ym=1}return 1}function Jo(u){var m=u.ma,_=u.U,q=u.T;return n(!(1&u.ka)),0>=_||0>=q?0:(_=m.Ib(u,m),m.Jb!=null&&m.Jb(u,m,_),m.Dc+=_,1)}function xc(u){u.ma.memory=null}function Sc(u,m,_,q){return or(u,8)!=47?0:(m[0]=or(u,14)+1,_[0]=or(u,14)+1,q[0]=or(u,1),or(u,3)!=0?0:!u.h)}function Gl(u,m){if(4>u)return u+1;var _=u-2>>1;return(2+(1&u)<<_)+or(m,_)+1}function $l(u,m){return 120>4)*u+(8-(15&_)))?_:1;var _}function VA(u,m,_){var q=Lt(_),be=u[m+=255&q].g-8;return 0>>0,n(8>=_.g),u.g}function _s(u,m,_){var q=u.xc;return n((m=q==0?0:u.vc[u.md*(_>>q)+(m>>q)])>wo.b)*fo;jnyr&&(Bo=yr),(0,o0[da[ws++]>>8&15])(ht,Xt+ +Qi,kn,Vn+Qi-yr,Bo-Qi,kn,Vn+Qi),Qi=Bo}Xt+=yr,Vn+=yr,++jn&Fo||(wo+=fo)}mn!=ft.nc&&r(Ye,Ze-un,Ye,Ze+(mn-Wt-1)*un,un);break;case 1:for(un=ht,pn=Xt,yr=(ht=ft.Ea)-(Vn=ht&~(kn=(Xt=1<>ft.b)*jn;Wt=be),0Ne.o&&(q=Ne.o),_=q?_=0:(be[0]+=4*Ne.v,Ne.ka=_-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=q-_,_=1),_){if(Ze=Ze[0],11>(_=u.ca).S){var Wt=_.f.RGBA,mn=(q=_.S,be=Ne.U,Ne=Ne.T,ft=Wt.eb,Wt.A),ht=Ne;for(Wt=Wt.fb+u.Ma*Wt.A;0q){var be=u.l.width,Ne=_.ca,De=_.tb+be*q,Ze=u.V,Ye=u.Ba+u.c*q,ft=u.gc;n(u.ab==1),n(ft[0].hc==3),ac(ft[0],q,m,Ze,Ye,Ne,De),ec(_,q,m,Ne,De,be)}u.C=u.Ma=m}function Su(u,m,_,q,be,Ne,De){var Ze=u.$/q,Ye=u.$%q,ft=u.m,Wt=u.s,mn=_+u.$,ht=mn;be=_+q*be;var Xt=_+q*Ne,un=280+Wt.ua,jn=u.Pb?Ze:16777216,pn=0=jn){var Fo=mn-_;n((jn=u).Pb),jn.wd=jn.m,jn.xd=Fo,0Ni.g?(Jt(ar,ar.u+Ni.g),Fo[fo]=Ni.value,ar=0):(Jt(ar,ar.u+Ni.g-256),n(256<=Ni.value),ar=Ni.value),ar==0&&(yr=!0)}else ar=VA(Vn.G[0],Vn.H[0],ft);if(ft.h)break;if(yr||256>ar){if(!yr)if(Vn.nd)m[mn]=(Vn.qb|ar<<8)>>>0;else{if(fn(ft),yr=VA(Vn.G[1],Vn.H[1],ft),fn(ft),Fo=VA(Vn.G[2],Vn.H[2],ft),fo=VA(Vn.G[3],Vn.H[3],ft),ft.h)break;m[mn]=(fo<<24|yr<<16|ar<<8|Fo)>>>0}if(yr=!1,++mn,++Ye>=q&&(Ye=0,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze),pn!=null))for(;ht>>pn.Mb]=ar}else if(280>ar){if(ar=Gl(ar-256,ft),Fo=VA(Vn.G[4],Vn.H[4],ft),fn(ft),Fo=$l(q,Fo=Gl(Fo,ft)),ft.h)break;if(mn-_=q;)Ye-=q,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze);if(n(mn<=be),Ye&kn&&(Vn=_s(Wt,Ye,Ze)),pn!=null)for(;ht>>pn.Mb]=ar}else{if(!(ar>>pn.Mb]=ar;ar=mn,n(!(yr>>>(Fo=pn).Xa)),m[ar]=Fo.X[yr],yr=!0}yr||n(ft.h==Ht(ft))}if(u.Pb&&ft.h&&mnNe?Ne:Ze),u.a=0,u.$=mn-_}return 1}return u.a=3,0}function Xl(u){n(u!=null),u.vc=null,u.yc=null,u.Ya=null;var m=u.Wa;m!=null&&(m.X=null),u.vb=null,n(u!=null)}function rf(){var u=new li;return u==null?null:(u.a=0,u.xb=fm,iA("Predictor","VP8LPredictors"),iA("Predictor","VP8LPredictors_C"),iA("PredictorAdd","VP8LPredictorsAdd"),iA("PredictorAdd","VP8LPredictorsAdd_C"),ns=ia,i0=xi,a0=ts,vd=ba,yd=Mi,wd=Hi,mf=xA,xt.VP8LMapColor32b=ic,xt.VP8LMapColor8b=r0,u)}function tc(u,m,_,q,be){var Ne=1,De=[u],Ze=[m],Ye=q.m,ft=q.s,Wt=null,mn=0;e:for(;;){if(_)for(;Ne&&or(Ye,1);){var ht=De,Xt=Ze,un=q,jn=1,pn=un.m,kn=un.gc[un.ab],Vn=or(pn,2);if(un.Oc&1<=un.ab),Vn){case 0:case 1:kn.b=or(pn,3)+2,jn=tc(dr(kn.Ea,kn.b),dr(kn.nc,kn.b),0,un,kn.K),kn.K=kn.K[0];break;case 3:var yr,ar=or(pn,8)+1,Fo=16>wo.b),ws=l(da);if(ws==null)yr=0;else{var Qi=wo.K[0],Bo=wo.w;for(ws[0]=wo.K[0][0],fo=1;fo<1*Ni;++fo)ws[fo]=$o(Qi[Bo+fo],ws[fo-1]);for(;fo<4*da;++fo)ws[fo]=0;wo.K[0]=null,wo.K[0]=ws,yr=1}}jn=yr;break;case 2:break;default:n(0)}Ne=jn}}if(De=De[0],Ze=Ze[0],Ne&&or(Ye,1)&&!(Ne=1<=(mn=or(Ye,4))&&11>=mn)){q.a=3;break e}var Kr;if(Kr=Ne)t:{var os,yi,va,mA=q,Hs=De,Al=Ze,WA=mn,el=_,sl=mA.m,Bs=mA.s,Ea=[null],za=1,GA=0,Za=iv[WA];n:for(;;){if(el&&or(sl,1)){var ks=or(sl,3)+2,Lu=dr(Hs,ks),is=dr(Al,ks),bl=Lu*is;if(!tc(Lu,is,0,mA,Ea))break n;for(Ea=Ea[0],Bs.xc=ks,os=0;os>8&65535;Ea[os]=qa,qa>=za&&(za=qa+1)}}if(sl.h)break n;for(yi=0;5>yi;++yi){var bs=cm[yi];!yi&&0=ll),Rl=Tl;var Cl=l(GA);if(Rl==null||Cl==null||Pl==null){mA.a=1;break n}var _l=Pl;for(os=va=0;osyi;++yi){bs=cm[yi],jl[yi]=_l,Nu[yi]=va,!yi&&0Ep)break r}else wg=Ep;for(d0=0;d0nh)Sm[d0++]=nh,nh!=0&&(Fm=nh);else{var Ov=nh==16,Lm=nh-16,Dv=tv[Lm],Nm=or(xd,ev[Lm])+Dv;if(d0+Nm>Ep)break r;for(var Pv=Ov?Fm:0;0=yi){var f0,bg=Cl[0];for(f0=1;f0bg&&(bg=Cl[f0]);Ks+=bg}}if(AA.nd=Mc,AA.Qb=0,Mc&&(AA.qb=(jl[3][Nu[3]+0].value<<24|jl[1][Nu[1]+0].value<<16|jl[2][Nu[2]+0].value)>>>0,yf==0&&256>jl[0][Nu[0]+0].value&&(AA.Qb=1,AA.qb+=jl[0][Nu[0]+0].value<<8)),AA.jc=!AA.Qb&&6>Ks,AA.jc){var xp,Hc=AA;for(xp=0;xp>=Ls(Sp,8,Fd),Sd>>=Ls(Hc.G[1][Hc.H[1]+Sd],16,Fd),Sd>>=Ls(Hc.G[2][Hc.H[2]+Sd],0,Fd),Ls(Hc.G[3][Hc.H[3]+Sd],24,Fd))}}}Bs.vc=Ea,Bs.Wb=za,Bs.Ya=Rl,Bs.yc=Pl,Kr=1;break t}Kr=0}if(!(Ne=Kr)){q.a=3;break e}if(0q+1?[]:0),!(be.lengthu?0:u>m?m:u}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $p(){var u=new X0;return u!=null&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,l0||(l0=Gf)),u}function ls(u,m,_){return u.a==0&&(u.a=m,u.sc=_,u.cb=0),0}function Y0(u,m,_){return 3<=_&&u[m+0]==157&&u[m+1]==1&&u[m+2]==42}function rc(u,m){if(u==null)return 0;if(u.a=0,u.sc="OK",m==null)return ls(u,2,"null VP8Io passed to VP8GetHeaders()");var _=m.data,q=m.w,be=m.ha;if(4>be)return ls(u,7,"Truncated header.");var Ne=_[q+0]|_[q+1]<<8|_[q+2]<<16,De=u.Od;if(De.Rb=!(1&Ne),De.td=Ne>>1&7,De.yd=Ne>>4&1,De.ub=Ne>>5,3be)return ls(u,7,"cannot parse picture header");if(!Y0(_,q,be))return ls(u,3,"Bad code word");Ze.c=16383&(_[q+4]<<8|_[q+3]),Ze.Td=_[q+4]>>6,Ze.i=16383&(_[q+6]<<8|_[q+5]),Ze.Ud=_[q+6]>>6,q+=7,be-=7,u.za=Ze.c+15>>4,u.Ub=Ze.i+15>>4,m.width=Ze.c,m.height=Ze.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,o((Ne=u.Pa).jb,0,255,Ne.jb.length),n((Ne=u.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,o(Ne.Zb,0,0,Ne.Zb.length),o(Ne.Lb,0,0,Ne.Lb)}if(De.ub>be)return ls(u,7,"bad partition length");Fn(Ne=u.m,_,q,De.ub),q+=De.ub,be-=De.ub,De.Rb&&(Ze.Ld=On(Ne),Ze.Kd=On(Ne)),Ze=u.Qa;var Ye,ft=u.Pa;if(n(Ne!=null),n(Ze!=null),Ze.Cb=On(Ne),Ze.Cb){if(Ze.Bb=On(Ne),On(Ne)){for(Ze.Fb=On(Ne),Ye=0;4>Ye;++Ye)Ze.Zb[Ye]=On(Ne)?gn(Ne,7):0;for(Ye=0;4>Ye;++Ye)Ze.Lb[Ye]=On(Ne)?gn(Ne,6):0}if(Ze.Bb)for(Ye=0;3>Ye;++Ye)ft.jb[Ye]=On(Ne)?Nn(Ne,8):255}else Ze.Bb=0;if(Ne.Ka)return ls(u,3,"cannot parse segment header");if((Ze=u.ed).zd=On(Ne),Ze.Tb=Nn(Ne,6),Ze.wb=Nn(Ne,3),Ze.Pc=On(Ne),Ze.Pc&&On(Ne)){for(ft=0;4>ft;++ft)On(Ne)&&(Ze.vd[ft]=gn(Ne,6));for(ft=0;4>ft;++ft)On(Ne)&&(Ze.od[ft]=gn(Ne,6))}if(u.L=Ze.Tb==0?0:Ze.zd?1:2,Ne.Ka)return ls(u,3,"cannot parse filter header");var Wt=be;if(be=Ye=q,q=Ye+Wt,Ze=Wt,u.Xb=(1<Ze&&(mn=Ze),Fn(u.Jc[+Wt],_,Ye,mn),Ye+=mn,Ze-=mn,be+=3}Fn(u.Jc[+ft],_,Ye,Ze),_=Yemn;++mn){if(Wt.Cb){var ht=Wt.Zb[mn];Wt.Fb||(ht+=_)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=pg[nc(ht+ft,117)],Xt.Qc[1]=gg[nc(ht+Ye,127)],Xt.lc=ht+Ye}if(!De.Rb)return ls(u,4,"Not a key frame.");for(On(Ne),De=u.Pa,_=0;4>_;++_){for(be=0;8>be;++be)for(q=0;3>q;++q)for(Ze=0;11>Ze;++Ze)ft=$n(Ne,cv[_][be][q][Ze])?Nn(Ne,8):lv[_][be][q][Ze],De.Wc[_][be].Yb[q][Ze]=ft;for(be=0;17>be;++be)De.Xc[_][be]=De.Wc[_][dv[be]]}return u.kc=On(Ne),u.kc&&(u.Bd=Nn(Ne,8)),u.cb=1}function Gf(u,m,_,q,be,Ne,De){var Ze=m[be].Yb[_];for(_=0;16>be;++be){if(!$n(u,Ze[_+0]))return be;for(;!$n(u,Ze[_+1]);)if(Ze=m[++be].Yb[0],_=0,be==16)return 16;var Ye=m[be+1].Yb;if($n(u,Ze[_+2])){var ft=u,Wt=0;if($n(ft,(ht=Ze)[(mn=_)+3]))if($n(ft,ht[mn+6])){for(Ze=0,mn=2*(Wt=$n(ft,ht[mn+8]))+(ht=$n(ft,ht[mn+9+Wt])),Wt=0,ht=Av[mn];ht[Ze];++Ze)Wt+=Wt+$n(ft,ht[Ze]);Wt+=3+(8<(ft=u).b&&Ln(ft);var mn,ht=ft.b,Xt=(mn=ft.Ca>>1)-(ft.I>>ht)>>31;--ft.b,ft.Ca+=Xt,ft.Ca|=1,ft.I-=(mn+1&Xt)<>3),u[m+_+32*q]=-256&be?0>be?0:255:be}function ms(u,m,_,q,be,Ne){Jl(u,m,0,_,q+be),Jl(u,m,1,_,q+Ne),Jl(u,m,2,_,q-Ne),Jl(u,m,3,_,q-be)}function Fc(u){return(20091*u>>16)+u}function q0(u,m,_,q){var be,Ne=0,De=l(16);for(be=0;4>be;++be){var Ze=u[m+0]+u[m+8],Ye=u[m+0]-u[m+8],ft=(35468*u[m+4]>>16)-Fc(u[m+12]),Wt=Fc(u[m+4])+(35468*u[m+12]>>16);De[Ne+0]=Ze+Wt,De[Ne+1]=Ye+ft,De[Ne+2]=Ye-ft,De[Ne+3]=Ze-Wt,Ne+=4,m++}for(be=Ne=0;4>be;++be)Ze=(u=De[Ne+0]+4)+De[Ne+8],Ye=u-De[Ne+8],ft=(35468*De[Ne+4]>>16)-Fc(De[Ne+12]),Jl(_,q,0,0,Ze+(Wt=Fc(De[Ne+4])+(35468*De[Ne+12]>>16))),Jl(_,q,1,0,Ye+ft),Jl(_,q,2,0,Ye-ft),Jl(_,q,3,0,Ze-Wt),Ne++,q+=32}function Xp(u,m,_,q){var be=u[m+0]+4,Ne=35468*u[m+4]>>16,De=Fc(u[m+4]),Ze=35468*u[m+1]>>16;ms(_,q,0,be+De,u=Fc(u[m+1]),Ze),ms(_,q,1,be+Ne,u,Ze),ms(_,q,2,be-Ne,u,Ze),ms(_,q,3,be-De,u,Ze)}function Yp(u,m,_,q,be){q0(u,m,_,q),be&&q0(u,m+16,_,q+4)}function oc(u,m,_,q){vf(u,m+0,_,q,1),vf(u,m+32,_,q+128,1)}function ep(u,m,_,q){var be;for(u=u[m+0]+4,be=0;4>be;++be)for(m=0;4>m;++m)Jl(_,q,m,be,u)}function tp(u,m,_,q){u[m+0]&&Ra(u,m+0,_,q),u[m+16]&&Ra(u,m+16,_,q+4),u[m+32]&&Ra(u,m+32,_,q+128),u[m+48]&&Ra(u,m+48,_,q+128+4)}function $f(u,m,_,q){var be,Ne=l(16);for(be=0;4>be;++be){var De=u[m+0+be]+u[m+12+be],Ze=u[m+4+be]+u[m+8+be],Ye=u[m+4+be]-u[m+8+be],ft=u[m+0+be]-u[m+12+be];Ne[0+be]=De+Ze,Ne[8+be]=De-Ze,Ne[4+be]=ft+Ye,Ne[12+be]=ft-Ye}for(be=0;4>be;++be)De=(u=Ne[0+4*be]+3)+Ne[3+4*be],Ze=Ne[1+4*be]+Ne[2+4*be],Ye=Ne[1+4*be]-Ne[2+4*be],ft=u-Ne[3+4*be],_[q+0]=De+Ze>>3,_[q+16]=ft+Ye>>3,_[q+32]=De-Ze>>3,_[q+48]=ft-Ye>>3,q+=64}function af(u,m,_){var q,be=m-32,Ne=Dl,De=255-u[be-1];for(q=0;q<_;++q){var Ze,Ye=Ne,ft=De+u[m-1];for(Ze=0;Ze<_;++Ze)u[m+Ze]=Ye[ft+u[be+Ze]];m+=32}}function Jp(u,m){af(u,m,4)}function qp(u,m){af(u,m,8)}function eg(u,m){af(u,m,16)}function Kh(u,m){var _;for(_=0;16>_;++_)r(u,m+32*_,u,m-32,16)}function np(u,m){var _;for(_=16;0<_;--_)o(u,m,u[m-1],16),m+=32}function Fu(u,m,_){var q;for(q=0;16>q;++q)o(m,_+32*q,u,16)}function tg(u,m){var _,q=16;for(_=0;16>_;++_)q+=u[m-1+32*_]+u[m+_-32];Fu(q>>5,u,m)}function Af(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m-1+32*_];Fu(q>>4,u,m)}function zh(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m+_-32];Fu(q>>4,u,m)}function ng(u,m){Fu(128,u,m)}function ci(u,m,_){return u+2*m+_+2>>2}function rg(u,m){var _,q=m-32;for(q=new Uint8Array([ci(u[q-1],u[q+0],u[q+1]),ci(u[q+0],u[q+1],u[q+2]),ci(u[q+1],u[q+2],u[q+3]),ci(u[q+2],u[q+3],u[q+4])]),_=0;4>_;++_)r(u,m+32*_,q,0,q.length)}function og(u,m){var _=u[m-1],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96];wr(u,m+0,16843009*ci(u[m-1-32],_,q)),wr(u,m+32,16843009*ci(_,q,be)),wr(u,m+64,16843009*ci(q,be,Ne)),wr(u,m+96,16843009*ci(be,Ne,Ne))}function ig(u,m){var _,q=4;for(_=0;4>_;++_)q+=u[m+_-32]+u[m-1+32*_];for(q>>=3,_=0;4>_;++_)o(u,m+32*_,q,4)}function Ic(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ye=u[m+2-32],ft=u[m+3-32];u[m+0+96]=ci(q,be,u[m-1+96]),u[m+1+96]=u[m+0+64]=ci(_,q,be),u[m+2+96]=u[m+1+64]=u[m+0+32]=ci(Ne,_,q),u[m+3+96]=u[m+2+64]=u[m+1+32]=u[m+0+0]=ci(De,Ne,_),u[m+3+64]=u[m+2+32]=u[m+1+0]=ci(Ze,De,Ne),u[m+3+32]=u[m+2+0]=ci(Ye,Ze,De),u[m+3+0]=ci(ft,Ye,Ze)}function Uc(u,m){var _=u[m+1-32],q=u[m+2-32],be=u[m+3-32],Ne=u[m+4-32],De=u[m+5-32],Ze=u[m+6-32],Ye=u[m+7-32];u[m+0+0]=ci(u[m+0-32],_,q),u[m+1+0]=u[m+0+32]=ci(_,q,be),u[m+2+0]=u[m+1+32]=u[m+0+64]=ci(q,be,Ne),u[m+3+0]=u[m+2+32]=u[m+1+64]=u[m+0+96]=ci(be,Ne,De),u[m+3+32]=u[m+2+64]=u[m+1+96]=ci(Ne,De,Ze),u[m+3+64]=u[m+2+96]=ci(De,Ze,Ye),u[m+3+96]=ci(Ze,Ye,Ye)}function ag(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ye=u[m+2-32],ft=u[m+3-32];u[m+0+0]=u[m+1+64]=Ne+De+1>>1,u[m+1+0]=u[m+2+64]=De+Ze+1>>1,u[m+2+0]=u[m+3+64]=Ze+Ye+1>>1,u[m+3+0]=Ye+ft+1>>1,u[m+0+96]=ci(be,q,_),u[m+0+64]=ci(q,_,Ne),u[m+0+32]=u[m+1+96]=ci(_,Ne,De),u[m+1+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+2+32]=u[m+3+96]=ci(De,Ze,Ye),u[m+3+32]=ci(Ze,Ye,ft)}function Ag(u,m){var _=u[m+0-32],q=u[m+1-32],be=u[m+2-32],Ne=u[m+3-32],De=u[m+4-32],Ze=u[m+5-32],Ye=u[m+6-32],ft=u[m+7-32];u[m+0+0]=_+q+1>>1,u[m+1+0]=u[m+0+64]=q+be+1>>1,u[m+2+0]=u[m+1+64]=be+Ne+1>>1,u[m+3+0]=u[m+2+64]=Ne+De+1>>1,u[m+0+32]=ci(_,q,be),u[m+1+32]=u[m+0+96]=ci(q,be,Ne),u[m+2+32]=u[m+1+96]=ci(be,Ne,De),u[m+3+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+3+64]=ci(De,Ze,Ye),u[m+3+96]=ci(Ze,Ye,ft)}function Xf(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96];u[m+0+0]=_+q+1>>1,u[m+2+0]=u[m+0+32]=q+be+1>>1,u[m+2+32]=u[m+0+64]=be+Ne+1>>1,u[m+1+0]=ci(_,q,be),u[m+3+0]=u[m+1+32]=ci(q,be,Ne),u[m+3+32]=u[m+1+64]=ci(be,Ne,Ne),u[m+3+64]=u[m+2+64]=u[m+0+96]=u[m+1+96]=u[m+2+96]=u[m+3+96]=Ne}function Zh(u,m){var _=u[m-1+0],q=u[m-1+32],be=u[m-1+64],Ne=u[m-1+96],De=u[m-1-32],Ze=u[m+0-32],Ye=u[m+1-32],ft=u[m+2-32];u[m+0+0]=u[m+2+32]=_+De+1>>1,u[m+0+32]=u[m+2+64]=q+_+1>>1,u[m+0+64]=u[m+2+96]=be+q+1>>1,u[m+0+96]=Ne+be+1>>1,u[m+3+0]=ci(Ze,Ye,ft),u[m+2+0]=ci(De,Ze,Ye),u[m+1+0]=u[m+3+32]=ci(_,De,Ze),u[m+1+32]=u[m+3+64]=ci(q,_,De),u[m+1+64]=u[m+3+96]=ci(be,q,_),u[m+1+96]=ci(Ne,be,q)}function sf(u,m){var _;for(_=0;8>_;++_)r(u,m+32*_,u,m-32,8)}function sg(u,m){var _;for(_=0;8>_;++_)o(u,m,u[m-1],8),m+=32}function Lc(u,m,_){var q;for(q=0;8>q;++q)o(m,_+32*q,u,8)}function lg(u,m){var _,q=8;for(_=0;8>_;++_)q+=u[m+_-32]+u[m-1+32*_];Lc(q>>4,u,m)}function Vh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m+_-32];Lc(q>>3,u,m)}function Wh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m-1+32*_];Lc(q>>3,u,m)}function rp(u,m){Lc(128,u,m)}function Nc(u,m,_){var q=u[m-_],be=u[m+0],Ne=3*(be-q)+ug[1020+u[m-2*_]-u[m+_]],De=cp[112+(Ne+4>>3)];u[m-_]=Dl[255+q+cp[112+(Ne+3>>3)]],u[m+0]=Dl[255+be-De]}function Gh(u,m,_,q){var be=u[m+0],Ne=u[m+_];return tu[255+u[m-2*_]-u[m-_]]>q||tu[255+Ne-be]>q}function Yf(u,m,_,q){return 4*tu[255+u[m-_]-u[m+0]]+tu[255+u[m-2*_]-u[m+_]]<=q}function $h(u,m,_,q,be){var Ne=u[m-3*_],De=u[m-2*_],Ze=u[m-_],Ye=u[m+0],ft=u[m+_],Wt=u[m+2*_],mn=u[m+3*_];return 4*tu[255+Ze-Ye]+tu[255+De-ft]>q?0:tu[255+u[m-4*_]-Ne]<=be&&tu[255+Ne-De]<=be&&tu[255+De-Ze]<=be&&tu[255+mn-Wt]<=be&&tu[255+Wt-ft]<=be&&tu[255+ft-Ye]<=be}function lf(u,m,_,q){var be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q,_,be)&&Nc(u,m+q,_)}function Xh(u,m,_,q){var be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q*_,1,be)&&Nc(u,m+q*_,1)}function op(u,m,_,q){var be;for(be=3;0>7,kn=18*Vn+63>>7,Vn=9*Vn+63>>7;Ye[ft-3*Wt]=Dl[255+Ye[ft-3*Wt]+Vn],Ye[ft-2*Wt]=Dl[255+mn+kn],Ye[ft-Wt]=Dl[255+ht+pn],Ye[ft+0]=Dl[255+Xt-pn],Ye[ft+Wt]=Dl[255+un-kn],Ye[ft+2*Wt]=Dl[255+jn-Vn]}m+=q}}function Oc(u,m,_,q,be,Ne,De,Ze){for(Ne=2*Ne+1;0>3)],jn=cp[112+(jn+3>>3)],pn=un+1>>1;Ye[ft-2*Wt]=Dl[255+Ye[ft-2*Wt]+pn],Ye[ft-Wt]=Dl[255+mn+jn],Ye[ft+0]=Dl[255+ht-un],Ye[ft+Wt]=Dl[255+Xt-pn]}m+=q}}function ap(u,m,_,q,be,Ne){Qc(u,m,_,1,16,q,be,Ne)}function uf(u,m,_,q,be,Ne){Qc(u,m,1,_,16,q,be,Ne)}function Ap(u,m,_,q,be,Ne){var De;for(De=3;0ft?0:255:ft)&255,ft=Ye,be[Ne+Ze]=Wt}}function aA(u,m,_,q){var be=m.width,Ne=m.o;if(n(u!=null&&m!=null),0>_||0>=q||_+q>Ne)return null;if(!u.Cc){if(u.ga==null){var De;if(u.ga=new Si,(De=u.ga==null)||(De=m.width*m.o,n(u.Gb.length==0),u.Gb=l(De),u.Uc=0,u.Gb==null?De=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,De=1),De=!De),!De){De=u.ga;var Ze=u.Fa,Ye=u.P,ft=u.qc,Wt=u.mb,mn=u.nb,ht=Ye+1,Xt=ft-1,un=De.l;if(n(Ze!=null&&Wt!=null&&m!=null),Cd[0]=null,Cd[1]=Ca,Cd[2]=DA,Cd[3]=us,De.ca=Wt,De.tb=mn,De.c=m.width,De.i=m.height,n(0=ft)m=0;else if(De.$a=3&Ze[Ye+0],De.Z=Ze[Ye+0]>>2&3,De.Lc=Ze[Ye+0]>>4&3,Ye=Ze[Ye+0]>>6&3,0>De.$a||1=De.c*De.i;De=!m}if(De)return null;u.ga.Lc!=1?u.Ga=0:q=Ne-_}n(u.ga!=null),n(_+q<=Ne);e:{if(m=(Ze=u.ga).c,Ne=Ze.l.o,Ze.$a==0){if(ht=u.rc,Xt=u.Vc,un=u.Fa,Ye=u.P+1+_*m,ft=u.mb,Wt=u.nb+_*m,n(Ye<=u.P+u.qc),Ze.Z!=0)for(n(Cd[Ze.Z]!=null),De=0;De=m)m=1;else if(Ze.ic||Iu(),Ze.ic){Ze=De.V,ht=De.Ba,Xt=De.c;var jn=De.i,pn=(un=1,Ye=De.$/Xt,ft=De.$%Xt,Wt=De.m,mn=De.s,De.$),kn=Xt*jn,Vn=Xt*m,yr=mn.wc,ar=pn(jn=VA(ar.G[0],ar.H[0],Wt)))Ze[ht+pn]=jn,++pn,++ft>=Xt&&(ft=0,++Ye<=m&&!(Ye%16)&&xu(De,Ye));else{if(!(280>jn)){un=0;break t}jn=Gl(jn-256,Wt);var Fo,fo=VA(ar.G[4],ar.H[4],Wt);if(fn(Wt),!(pn>=(fo=$l(Xt,fo=Gl(fo,Wt)))&&kn-pn>=jn)){un=0;break t}for(Fo=0;Fo=Xt;)ft-=Xt,++Ye<=m&&!(Ye%16)&&xu(De,Ye);pnm?m:Ye);break t}!un||Wt.h&&pn=Ne&&(u.Cc=1),q=1}if(!q)return null;if(u.Cc&&((q=u.ga)!=null&&(q.mc=null),u.ga=null,0>23,Ze[Ye+4*De+1]=Ze[Ye+4*De+1]*mn>>23,Ze[Ye+4*De+2]=Ze[Ye+4*De+2]*mn>>23)}m+=Ne}}function cs(u,m,_,q,be){for(;0>4)*Ye>>16;u[m+2*Ne+0]=(240&De|De>>4)*Ye>>16&240|(15&De|De<<4)*Ye>>16>>4&15,u[m+2*Ne+1]=240&ft|Ze}m+=be}}function js(u,m,_,q,be,Ne,De,Ze){var Ye,ft,Wt=255;for(ft=0;ft>8}function Iu(){s0=vs,tm=cs,nm=js,rm=Dc}function Pc(u,m,_){xt[u]=function(q,be,Ne,De,Ze,Ye,ft,Wt,mn,ht,Xt,un,jn,pn,kn,Vn,yr){var ar,Fo=yr-1>>1,fo=Ze[Ye+0]|ft[Wt+0]<<16,Ni=mn[ht+0]|Xt[un+0]<<16;n(q!=null);var wo=3*fo+Ni+131074>>2;for(m(q[be+0],255&wo,wo>>16,jn,pn),Ne!=null&&(wo=3*Ni+fo+131074>>2,m(Ne[De+0],255&wo,wo>>16,kn,Vn)),ar=1;ar<=Fo;++ar){var da=Ze[Ye+ar]|ft[Wt+ar]<<16,ws=mn[ht+ar]|Xt[un+ar]<<16,Qi=fo+da+Ni+ws+524296,Bo=Qi+2*(da+Ni)>>3;wo=Bo+fo>>1,fo=(Qi=Qi+2*(fo+ws)>>3)+da>>1,m(q[be+2*ar-1],255&wo,wo>>16,jn,pn+(2*ar-1)*_),m(q[be+2*ar-0],255&fo,fo>>16,jn,pn+(2*ar-0)*_),Ne!=null&&(wo=Qi+Ni>>1,fo=Bo+ws>>1,m(Ne[De+2*ar-1],255&wo,wo>>16,kn,Vn+(2*ar-1)*_),m(Ne[De+2*ar+0],255&fo,fo>>16,kn,Vn+(2*ar+0)*_)),fo=da,Ni=ws}1&yr||(wo=3*fo+Ni+131074>>2,m(q[be+yr-1],255&wo,wo>>16,jn,pn+(yr-1)*_),Ne!=null&&(wo=3*Ni+fo+131074>>2,m(Ne[De+yr-1],255&wo,wo>>16,kn,Vn+(yr-1)*_)))}}function Yh(){nu[dp]=hv,nu[fp]=hm,nu[lm]=pv,nu[hp]=pm,nu[pp]=gm,nu[cg]=mm,nu[um]=gv,nu[dg]=hm,nu[fg]=pm,nu[gp]=gm,nu[hg]=mm}function Jf(u){return u&~mv?0>u?0:255:u>>vm}function fd(u,m){return Jf((19077*u>>8)+(26149*m>>8)-14234)}function cf(u,m,_){return Jf((19077*u>>8)-(6419*m>>8)-(13320*_>>8)+8708)}function df(u,m){return Jf((19077*u>>8)+(33050*m>>8)-17685)}function hd(u,m,_,q,be){q[be+0]=fd(u,_),q[be+1]=cf(u,m,_),q[be+2]=df(u,m)}function Ms(u,m,_,q,be){q[be+0]=df(u,m),q[be+1]=cf(u,m,_),q[be+2]=fd(u,_)}function ff(u,m,_,q,be){var Ne=cf(u,m,_);m=Ne<<3&224|df(u,m)>>3,q[be+0]=248&fd(u,_)|Ne>>5,q[be+1]=m}function hf(u,m,_,q,be){var Ne=240&df(u,m)|15;q[be+0]=240&fd(u,_)|cf(u,m,_)>>4,q[be+1]=Ne}function Jh(u,m,_,q,be){q[be+0]=255,hd(u,m,_,q,be+1)}function qh(u,m,_,q,be){Ms(u,m,_,q,be),q[be+3]=255}function al(u,m,_,q,be){hd(u,m,_,q,be),q[be+3]=255}function Tc(u,m,_){xt[u]=function(q,be,Ne,De,Ze,Ye,ft,Wt,mn){for(var ht=Wt+(-2&mn)*_;Wt!=ht;)m(q[be+0],Ne[De+0],Ze[Ye+0],ft,Wt),m(q[be+1],Ne[De+0],Ze[Ye+0],ft,Wt+_),be+=2,++De,++Ye,Wt+=2*_;1&mn&&m(q[be+0],Ne[De+0],Ze[Ye+0],ft,Wt)}}function qf(u,m,_){return _==0?u==0?m==0?6:5:m==0?4:0:_}function sp(u,m,_,q,be){switch(u>>>30){case 3:vf(m,_,q,be,0);break;case 2:eu(m,_,q,be);break;case 1:Ra(m,_,q,be)}}function ql(u,m){var _,q,be=m.M,Ne=m.Nb,De=u.oc,Ze=u.pc+40,Ye=u.oc,ft=u.pc+584,Wt=u.oc,mn=u.pc+600;for(_=0;16>_;++_)De[Ze+32*_-1]=129;for(_=0;8>_;++_)Ye[ft+32*_-1]=129,Wt[mn+32*_-1]=129;for(0_;++_)r(De,Ze+32*_-4,De,Ze+32*_+12,4);for(_=-1;8>_;++_)r(Ye,ft+32*_-4,Ye,ft+32*_+4,4),r(Wt,mn+32*_-4,Wt,mn+32*_+4,4)}var Xt=u.Gd,un=u.Hd+q,jn=ht.ad,pn=ht.Hc;if(0=u.za-1?o(kn,Vn,Xt[un].y[15],4):r(kn,Vn,Xt[un+1].y,0,4)),_=0;4>_;_++)kn[Vn+128+_]=kn[Vn+256+_]=kn[Vn+384+_]=kn[Vn+0+_];for(_=0;16>_;++_,pn<<=2)kn=De,Vn=Ze+wm[_],Uu[ht.Ob[_]](kn,Vn),sp(pn,jn,16*+_,kn,Vn)}else if(kn=qf(q,be,ht.Ob[0]),bd[kn](De,Ze),pn!=0)for(_=0;16>_;++_,pn<<=2)sp(pn,jn,16*+_,De,Ze+wm[_]);for(_=ht.Gc,kn=qf(q,be,ht.Dd),jc[kn](Ye,ft),jc[kn](Wt,mn),pn=jn,kn=Ye,Vn=ft,255&(ht=0|_)&&(170&ht?Ac(pn,256,kn,Vn):Ja(pn,256,kn,Vn)),ht=Wt,pn=mn,255&(_>>=8)&&(170&_?Ac(jn,320,ht,pn):Ja(jn,320,ht,pn)),be_;++_)r(Xt,un+_*u.R,De,Ze+32*_,16);for(_=0;8>_;++_)r(jn,ht+_*u.B,Ye,ft+32*_,8),r(pn,kn+_*u.B,Wt,mn+32*_,8)}}function pf(u,m,_,q,be,Ne,De,Ze,Ye){var ft=[0],Wt=[0],mn=0,ht=Ye!=null?Ye.kd:0,Xt=Ye!=null?Ye:new ir;if(u==null||12>_)return 7;Xt.data=u,Xt.w=m,Xt.ha=_,m=[m],_=[_],Xt.gb=[Xt.gb];e:{var un=m,jn=_,pn=Xt.gb;if(n(u!=null),n(jn!=null),n(pn!=null),pn[0]=0,12<=jn[0]&&!t(u,un[0],"RIFF")){if(t(u,un[0]+8,"WEBP")){pn=3;break e}var kn=Qo(u,un[0]+4);if(12>kn||4294967286jn[0]-8){pn=7;break e}pn[0]=kn,un[0]+=12,jn[0]-=12}pn=0}if(pn!=0)return pn;for(kn=0pn[0])pn=7;else{if(!t(Vn,jn[0],"VP8X")){if(Qo(Vn,jn[0]+4)!=10){pn=3;break e}if(18>pn[0]){pn=7;break e}var fo=Qo(Vn,jn[0]+8),Ni=1+Gr(Vn,jn[0]+12);if(2147483648<=Ni*(Vn=1+Gr(Vn,jn[0]+15))){pn=3;break e}Fo!=null&&(Fo[0]=fo),yr!=null&&(yr[0]=Ni),ar!=null&&(ar[0]=Vn),jn[0]+=18,pn[0]-=18,wo[0]=1}pn=0}}if(mn=mn[0],un=un[0],pn!=0)return pn;if(jn=!!(2&un),!kn&&mn)return 3;if(Ne!=null&&(Ne[0]=!!(16&un)),De!=null&&(De[0]=jn),Ze!=null&&(Ze[0]=0),De=ft[0],un=Wt[0],mn&&jn&&Ye==null){pn=0;break}if(4>_){pn=7;break}if(kn&&mn||!kn&&!mn&&!t(u,m[0],"ALPH")){_=[_],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{fo=u,pn=m,kn=_;var wo=Xt.gb;yr=Xt.na,ar=Xt.P,Fo=Xt.Sa,Ni=22,n(fo!=null),n(kn!=null),Vn=pn[0];var da=kn[0];for(n(yr!=null),n(Fo!=null),yr[0]=null,ar[0]=null,Fo[0]=0;;){if(pn[0]=Vn,kn[0]=da,8>da){pn=7;break e}var ws=Qo(fo,Vn+4);if(4294967286wo){pn=3;break e}if(!t(fo,Vn,"VP8 ")||!t(fo,Vn,"VP8L")){pn=0;break e}if(da[0]kn[0])pn=7;else{if(Vn||Ni){if(wo=Qo(wo,fo+4),12<=yr&&wo>yr-12){pn=3;break e}if(ht&&wo>kn[0]-8){pn=7;break e}ar[0]=wo,pn[0]+=8,kn[0]-=8,Fo[0]=Ni}else Fo[0]=5<=kn[0]&&wo[fo+0]==47&&!(wo[fo+4]>>5),ar[0]=kn[0];pn=0}if(_=_[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],m=m[0],pn!=0)break;if(4294967286_){pn=7;break}Ze=De,ht=un,jn=Ne,u==null||5>_?u=0:5<=_&&u[m+0]==47&&!(u[m+4]>>5)?(kn=[0],wo=[0],yr=[0],Tn(ar=new bt,u,m,_),Sc(ar,kn,wo,yr)?(Ze!=null&&(Ze[0]=kn[0]),ht!=null&&(ht[0]=wo[0]),jn!=null&&(jn[0]=yr[0]),u=1):u=0):u=0}else{if(10>_){pn=7;break}Ze=un,u==null||10>_||!Y0(u,m+3,_-3)?u=0:(ht=u[m+0]|u[m+1]<<8|u[m+2]<<16,jn=16383&(u[m+7]<<8|u[m+6]),u=16383&(u[m+9]<<8|u[m+8]),1&ht||3<(ht>>1&7)||!(ht>>4&1)||ht>>5>=Xt.Ja||!jn||!u?u=0:(De&&(De[0]=jn),Ze&&(Ze[0]=u),u=1))}if(!u||(De=De[0],un=un[0],mn&&(ft[0]!=De||Wt[0]!=un)))return 3;Ye!=null&&(Ye[0]=Xt,Ye.offset=m-Ye.w,n(4294967286>m-Ye.w),n(Ye.offset==Ye.ha-_));break}return pn==0||pn==7&&mn&&Ye==null?(Ne!=null&&(Ne[0]|=Xt.na!=null&&0_||(Ne&=-2,De&=-2),0>Ne||0>De||0>=Ze||0>=Ye||Ne+Ze>q||De+Ye>be))return 0;if(m.v=Ne,m.j=De,m.va=Ne+Ze,m.o=De+Ye,m.U=Ze,m.T=Ye,m.da=u!=null&&0u.S){var m=u.f.RGBA;m.fb+=(u.height-1)*m.A,m.A=-m.A}else m=u.f.kb,u=u.height,m.O+=(u-1)*m.fa,m.fa=-m.fa,m.N+=(u-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(u-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(u-1)*m.lb,m.lb=-m.lb);return 0}function pd(u,m,_,q){if(q==null||0>=u||0>=m)return 2;if(_!=null){if(_.Da){var be=_.cd,Ne=_.bd,De=-2&_.v,Ze=-2&_.j;if(0>De||0>Ze||0>=be||0>=Ne||De+be>u||Ze+Ne>m)return 2;u=be,m=Ne}if(_.da){if(!Go(u,m,be=[_.ib],Ne=[_.hb]))return 2;u=be[0],m=Ne[0]}}q.width=u,q.height=m;e:{var Ye=q.width,ft=q.height;if(u=q.S,0>=Ye||0>=ft||!(u>=dp&&13>u))u=2;else{if(0>=q.Rd&&q.sd==null){De=Ne=be=m=0;var Wt=(Ze=Ye*Bm[u])*ft;if(11>u||(Ne=(ft+1)/2*(m=(Ye+1)/2),u==12&&(De=(be=Ye)*ft)),(ft=l(Wt+2*Ne+De))==null){u=1;break e}q.sd=ft,11>u?((Ye=q.f.RGBA).eb=ft,Ye.fb=0,Ye.A=Ze,Ye.size=Wt):((Ye=q.f.kb).y=ft,Ye.O=0,Ye.fa=Ze,Ye.Fd=Wt,Ye.f=ft,Ye.N=0+Wt,Ye.Ab=m,Ye.Cd=Ne,Ye.ea=ft,Ye.W=0+Wt+Ne,Ye.Db=m,Ye.Ed=Ne,u==12&&(Ye.F=ft,Ye.J=0+Wt+2*Ne),Ye.Tc=De,Ye.lb=be)}if(m=1,be=q.S,Ne=q.width,De=q.height,be>=dp&&13>be)if(11>be)u=q.f.RGBA,m&=(Ze=Math.abs(u.A))*(De-1)+Ne<=u.size,m&=Ze>=Ne*Bm[be],m&=u.eb!=null;else{u=q.f.kb,Ze=(Ne+1)/2,Wt=(De+1)/2,Ye=Math.abs(u.fa),ft=Math.abs(u.Ab);var mn=Math.abs(u.Db),ht=Math.abs(u.lb),Xt=ht*(De-1)+Ne;m&=Ye*(De-1)+Ne<=u.Fd,m&=ft*(Wt-1)+Ze<=u.Cd,m=(m&=mn*(Wt-1)+Ze<=u.Ed)&Ye>=Ne&ft>=Ze&mn>=Ze,m&=u.y!=null,m&=u.f!=null,m&=u.ea!=null,be==12&&(m&=ht>=Ne,m&=Xt<=u.Tc,m&=u.F!=null)}else m=0;u=m?0:2}}return u!=0||_!=null&&_.fd&&(u=t0(q)),u}var gf=64,Ql=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ol=24,gd=32,Rc=8,md=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];po("Predictor0","PredictorAdd0"),xt.Predictor0=function(){return 4278190080},xt.Predictor1=function(u){return u},xt.Predictor2=function(u,m,_){return m[_+0]},xt.Predictor3=function(u,m,_){return m[_+1]},xt.Predictor4=function(u,m,_){return m[_-1]},xt.Predictor5=function(u,m,_){return To(To(u,m[_+1]),m[_+0])},xt.Predictor6=function(u,m,_){return To(u,m[_-1])},xt.Predictor7=function(u,m,_){return To(u,m[_+0])},xt.Predictor8=function(u,m,_){return To(m[_-1],m[_+0])},xt.Predictor9=function(u,m,_){return To(m[_+0],m[_+1])},xt.Predictor10=function(u,m,_){return To(To(u,m[_-1]),To(m[_+0],m[_+1]))},xt.Predictor11=function(u,m,_){var q=m[_+0];return 0>=mi(q>>24&255,u>>24&255,(m=m[_-1])>>24&255)+mi(q>>16&255,u>>16&255,m>>16&255)+mi(q>>8&255,u>>8&255,m>>8&255)+mi(255&q,255&u,255&m)?q:u},xt.Predictor12=function(u,m,_){var q=m[_+0];return(Pa((u>>24&255)+(q>>24&255)-((m=m[_-1])>>24&255))<<24|Pa((u>>16&255)+(q>>16&255)-(m>>16&255))<<16|Pa((u>>8&255)+(q>>8&255)-(m>>8&255))<<8|Pa((255&u)+(255&q)-(255&m)))>>>0},xt.Predictor13=function(u,m,_){var q=m[_-1];return(oa((u=To(u,m[_+0]))>>24&255,q>>24&255)<<24|oa(u>>16&255,q>>16&255)<<16|oa(u>>8&255,q>>8&255)<<8|oa(255&u,255&q))>>>0};var n0=xt.PredictorAdd0;xt.PredictorAdd1=ca,po("Predictor2","PredictorAdd2"),po("Predictor3","PredictorAdd3"),po("Predictor4","PredictorAdd4"),po("Predictor5","PredictorAdd5"),po("Predictor6","PredictorAdd6"),po("Predictor7","PredictorAdd7"),po("Predictor8","PredictorAdd8"),po("Predictor9","PredictorAdd9"),po("Predictor10","PredictorAdd10"),po("Predictor11","PredictorAdd11"),po("Predictor12","PredictorAdd12"),po("Predictor13","PredictorAdd13");var eh=xt.PredictorAdd2;Uo("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),Uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var ns,lp=xt.ColorIndexInverseTransform,ic=xt.MapARGB,ac=xt.VP8LColorIndexInverseTransformAlpha,r0=xt.MapAlpha,o0=xt.VP8LPredictorsAdd=[];o0.length=16,(xt.VP8LPredictors=[]).length=16,(xt.VP8LPredictorsAdd_C=[]).length=16,(xt.VP8LPredictors_C=[]).length=16;var i0,a0,vd,yd,wd,mf,Bd,vf,eu,Ac,Ra,Ja,rs,ys,_c,A0,th,up,$g,Xg,Yg,Jg,qg,em,s0,tm,nm,rm,om=l(511),im=l(2041),am=l(225),Am=l(767),sm=0,ug=im,cp=am,Dl=Am,tu=om,dp=0,fp=1,lm=2,hp=3,pp=4,cg=5,um=6,dg=7,fg=8,gp=9,hg=10,ev=[2,3,7],tv=[3,3,11],cm=[280,256,256,256,40],nv=[0,1,1,1,0],rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ov=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],iv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],av=8,pg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],gg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,Av=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],bd=[],Uu=[],jc=[],fv=1,fm=2,Cd=[],nu=[];Pc("UpsampleRgbLinePair",hd,3),Pc("UpsampleBgrLinePair",Ms,3),Pc("UpsampleRgbaLinePair",al,4),Pc("UpsampleBgraLinePair",qh,4),Pc("UpsampleArgbLinePair",Jh,4),Pc("UpsampleRgba4444LinePair",hf,2),Pc("UpsampleRgb565LinePair",ff,2);var hv=xt.UpsampleRgbLinePair,pv=xt.UpsampleBgrLinePair,hm=xt.UpsampleRgbaLinePair,pm=xt.UpsampleBgraLinePair,gm=xt.UpsampleArgbLinePair,mm=xt.UpsampleRgba4444LinePair,gv=xt.UpsampleRgb565LinePair,mp=16,vp=1<q.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),q.ca.f.kb.F!=null&&Iu()),q.Pb&&0(Ye=_.Md)?0:100ft;++ft)12>(mn=be.pb[ft]).lc&&(mn.ia=Ye*Ev[0>mn.lc?0:mn.lc]>>3),Wt|=mn.ia;Wt&&(alert("todo:VP8InitRandom"),be.ia=1)}be.Ga=_.Id,100be.Ga&&(be.Ga=0)}(function(ht,Xt){if(ht==null)return 0;if(Xt==null)return ls(ht,2,"NULL VP8Io parameter in VP8Decode().");if(!ht.cb&&!rc(ht,Xt))return 0;if(n(ht.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(ht.L=0);var un=yp[ht.L];if(ht.L==2?(ht.yb=0,ht.zb=0):(ht.yb=Xt.v-un>>4,ht.zb=Xt.j-un>>4,0>ht.yb&&(ht.yb=0),0>ht.zb&&(ht.zb=0)),ht.Va=Xt.o+15+un>>4,ht.Hb=Xt.va+15+un>>4,ht.Hb>ht.za&&(ht.Hb=ht.za),ht.Va>ht.Ub&&(ht.Va=ht.Ub),0un;++un){var pn;if(ht.Qa.Cb){var kn=ht.Qa.Lb[un];ht.Qa.Fb||(kn+=jn.Tb)}else kn=jn.Tb;for(pn=0;1>=pn;++pn){var Vn=ht.gd[un][pn],yr=kn;if(jn.Pc&&(yr+=jn.vd[0],pn&&(yr+=jn.od[0])),0<(yr=0>yr?0:63>2:ar>>1)>9-jn.wb&&(ar=9-jn.wb),1>ar&&(ar=1),Vn.dd=ar,Vn.tc=2*yr+ar,Vn.ld=40<=yr?2:15<=yr?1:0}else Vn.tc=0;Vn.La=pn}}}un=0}else ls(ht,6,"Frame setup failed"),un=ht.a;if(un=un==0){if(un){ht.$c=0,0ht.Vb){if(ht.Vb=0,ht.Ec=l(Vn),ht.Fc=0,ht.Ec==null){un=ls(ht,1,"no memory during frame initialization.");break t}ht.Vb=Vn}Vn=ht.Ec,yr=ht.Fc,ht.Ac=Vn,ht.Bc=yr,yr+=jn,ht.Gd=w(Fo,$0),ht.Hd=0,ht.rb=w(fo+1,Hh),ht.sb=1,ht.wa=Ni?w(Ni,Yl):null,ht.Y=0,ht.D.Nb=0,ht.D.wa=ht.wa,ht.D.Y=ht.Y,0=un;++un)om[255+un]=0>un?-un:un;for(un=-1020;1020>=un;++un)im[1020+un]=-128>un?-128:127=un;++un)am[112+un]=-16>un?-16:15=un;++un)Am[255+un]=0>un?0:255va;++va){var Bs,Ea=Al[0+va];for(Bs=0;4>Bs;++Bs){Ea=uv[mA[Hs+Bs]][Ea];for(var za=dm[$n(yi,Ea[0])];0>3;for(za=0;256>za;za+=16)va[el+za]=bl}ks=1,Lu=Hs[0]}var qa=15&yi.la,bs=15&sl.la;for(za=0;4>za;++za){var Pl=1&bs;for(bl=Za=0;4>bl;++bl)qa=qa>>1|(Pl=(is=l0(mA,Lu,is=Pl+(1&qa),WA.Sc,ks,va,el))>ks)<<7,Za=Za<<2|(3>=4,bs=bs>>1|Pl<<7,Bs=(Bs<<8|Za)>>>0}for(Lu=qa,ks=bs>>4,GA=0;4>GA;GA+=2){for(Za=0,qa=yi.la>>4+GA,bs=sl.la>>4+GA,za=0;2>za;++za){for(Pl=1&bs,bl=0;2>bl;++bl)is=Pl+(1&qa),qa=qa>>1|(Pl=0<(is=l0(mA,Hs[2],is,WA.Qc,0,va,el)))<<3,Za=Za<<2|(3>=2,bs=bs>>1|Pl<<5}Ea|=Za<<4*GA,Lu|=qa<<4<=Bo.zb&&Bo.M<=Bo.Va,Bo.Aa==0)t:{if(Qi.M=Bo.M,Qi.uc=yi,ql(Bo,Qi),os=1,Qi=(Za=Bo.D).Nb,yi=(Ea=yp[Bo.L])*Bo.R,mA=Ea/2*Bo.B,za=16*Qi*Bo.R,bl=8*Qi*Bo.B,Hs=Bo.sa,Al=Bo.ta-yi+za,WA=Bo.qa,va=Bo.ra-mA+bl,el=Bo.Ha,sl=Bo.Ia-mA+bl,bs=(qa=Za.M)==0,Bs=qa>=Bo.Va-1,Bo.Aa==2&&ql(Bo,Za),Za.uc)for(Pl=(is=Bo).D.M,n(is.D.uc),Za=is.yb;ZaKr.o&&(qa=Kr.o),Kr.F=null,Kr.J=null,Bo.Fa!=null&&0>1),Kr.W+=Bo.B*(Ea>>1),Kr.F!=null&&(Kr.J+=Kr.width*Ea)),Za>1,Kr.W+=Kr.v>>1,Kr.F!=null&&(Kr.J+=Kr.v),Kr.ka=Za-Kr.j,Kr.U=Kr.va-Kr.v,Kr.T=qa-Za,os=Kr.put(Kr))}Qi+1!=Bo.Ic||Bs||(r(Bo.sa,Bo.ta-yi,Hs,Al+16*Bo.R,yi),r(Bo.qa,Bo.ra-mA,WA,va+8*Bo.B,mA),r(Bo.Ha,Bo.Ia-mA,el,sl+8*Bo.B,mA))}if(!os)return ls(da,6,"Output aborted.")}return 1}(ht,Xt)),Xt.bc!=null&&Xt.bc(Xt),un&=1}return un?(ht.cb=0,un):0})(u,q)||(m=u.a)}}else m=u.a}m==0&&De.Oa!=null&&De.Oa.fd&&(m=t0(De.ba))}De=m}Ne=De!=0?null:11>Ne?Ze.f.RGBA.eb:Ze.f.kb.y}else Ne=null;return Ne};var Bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Q(xt,sn){for(var _e="",At=0;At<4;At++)_e+=String.fromCharCode(xt[sn++]);return _e}function V(xt,sn){return xt[sn+0]|xt[sn+1]<<8}function fe(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16)>>>0}function Le(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16|xt[sn+3]<<24)>>>0}new S;var z=[0],ot=[0],Je=[],it=new S,Me=e,Mt=function(xt,sn){var _e={},At=0,jt=!1,Tt=0,Bn=0;if(_e.frames=[],!function(Pe,bt){for(var Lt=0;Lt<4;Lt++)if(Pe[bt+Lt]!="RIFF".charCodeAt(Lt))return!0;return!1}(xt,sn)){for(Le(xt,sn+=4),sn+=8;sn>1&1}Fn!="ANMF"&&(sn+=gn)}return _e}}(Me,0);Mt.response=Me,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Ot=Mt.header?Mt.header:null,Ct=Mt.frames?Mt.frames:null;if(Ot){Ot.loop_counter=Ot.loop_count,z=[Ot.canvas_height],ot=[Ot.canvas_width];for(var vn=0;vn=2?st[1]:Xr[0],Xr[2]=st.length>=3?st[2]:Xr[0],Xr[3]=st.length>=4?st[3]:Xr[1]),Q.margin=Xr}});var Ln=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Ln},set:function(st){Ln=st}});var On=0;Object.defineProperty(this,"lastBreak",{get:function(){return On},set:function(st){On=st}});var $n=[];Object.defineProperty(this,"pageBreaks",{get:function(){return $n},set:function(st){$n=st}}),Object.defineProperty(this,"ctx",{get:function(){return Q},set:function(st){st instanceof V&&(Q=st)}}),Object.defineProperty(this,"path",{get:function(){return Q.path},set:function(st){Q.path=st}});var wr=[];Object.defineProperty(this,"ctxStack",{get:function(){return wr},set:function(st){wr=st}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(st){var Xr;Xr=Le(st),this.ctx.fillStyle=Xr.style,this.ctx.isFillTransparent=Xr.a===0,this.ctx.fillOpacity=Xr.a,this.pdf.setFillColor(Xr.r,Xr.g,Xr.b,{a:Xr.a}),this.pdf.setTextColor(Xr.r,Xr.g,Xr.b,{a:Xr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(st){var Xr=Le(st);this.ctx.strokeStyle=Xr.style,this.ctx.isStrokeTransparent=Xr.a===0,this.ctx.strokeOpacity=Xr.a,Xr.a===0?this.pdf.setDrawColor(255,255,255):(Xr.a,this.pdf.setDrawColor(Xr.r,Xr.g,Xr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(st){["butt","round","square"].indexOf(st)!==-1&&(this.ctx.lineCap=st,this.pdf.setLineCap(st))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(st){isNaN(st)||(this.ctx.lineWidth=st,this.pdf.setLineWidth(st))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(st){["bevel","round","miter"].indexOf(st)!==-1&&(this.ctx.lineJoin=st,this.pdf.setLineJoin(st))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(st){isNaN(st)||(this.ctx.miterLimit=st,this.pdf.setMiterLimit(st))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(st){this.ctx.textBaseline=st}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(st){["right","end","center","left","start"].indexOf(st)!==-1&&(this.ctx.textAlign=st)}});var $r=null,Gr=null,Qo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Qo},set:function(st){$r=null,Gr=null,Qo=st}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(st){var Xr;if(this.ctx.font=st,(Xr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(st))!==null){var Ri=Xr[1];Xr[2];var Go=Xr[3],dr=Xr[4];Xr[5];var $o=Xr[6],po=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(dr)[2];dr=Math.floor(po==="px"?parseFloat(dr)*this.pdf.internal.scaleFactor:po==="em"?parseFloat(dr)*this.pdf.getFontSize():parseFloat(dr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(dr);var ko=function(Uo){var ts,ba,Mi=[],Hi=Uo.trim();if(Hi==="")return Zp;if(Hi in $u)return[$u[Hi]];for(;Hi!=="";){switch(ba=null,ts=(Hi=Xu(Hi)).charAt(0)){case'"':case"'":ba=Bu(Hi.substring(1),ts);break;default:ba=ud(Hi)}if(ba===null||(Mi.push(ba[0]),(Hi=Xu(ba[1]))!==""&&Hi.charAt(0)!==","))return Zp;Hi=Hi.replace(/^,/,"")}return Mi}($o);if(this.fontFaces){var To=function(Uo,ts){var ba=Uo.getFontList(),Mi=JSON.stringify(ba);if($r===null||Gr!==Mi){var Hi=function(xA){var jo=[];return Object.keys(xA).forEach(function(iA){xA[iA].forEach(function(ni){var vi=null;switch(ni){case"bold":vi={family:iA,weight:"bold"};break;case"italic":vi={family:iA,style:"italic"};break;case"bolditalic":vi={family:iA,weight:"bold",style:"italic"};break;case"":case"normal":vi={family:iA}}vi!==null&&(vi.ref={name:iA,style:ni},jo.push(vi))})}),jo}(ba);$r=function(xA){for(var jo={},iA=0;iA=700||Ri==="bold")&&(mi="bold"),Ri==="italic"&&(mi+="italic"),mi.length===0&&(mi="normal");for(var ca="",ia={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},xo=0;xo=2*Math.PI&&(Ht=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:bt,radius:Lt,startAngle:Ht,endAngle:Jt,counterclockwise:fn})},fe.prototype.arcTo=function(Pe,bt,Lt,Ht,Jt){throw new Error("arcTo not implemented.")},fe.prototype.rect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,bt),this.lineTo(Pe+Lt,bt),this.lineTo(Pe+Lt,bt+Ht),this.lineTo(Pe,bt+Ht),this.lineTo(Pe,bt),this.lineTo(Pe+Lt,bt),this.lineTo(Pe,bt)},fe.prototype.fillRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!z.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,bt,Lt,Ht),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},fe.prototype.strokeRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ot.call(this)||(this.beginPath(),this.rect(Pe,bt,Lt,Ht),this.stroke())},fe.prototype.clearRect=function(Pe,bt,Lt,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Lt)||isNaN(Ht))throw Ka.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,bt,Lt,Ht))},fe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Lt=0;Lt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};fe.prototype.drawImage=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On,$n){var wr=this.pdf.getImageProperties(Pe),$r=1,Gr=1,Qo=1,st=1;Ht!==void 0&&On!==void 0&&(Qo=On/Ht,st=$n/Jt,$r=wr.width/Ht*On/Ht,Gr=wr.height/Jt*$n/Jt),fn===void 0&&(fn=bt,Ln=Lt,bt=0,Lt=0),Ht!==void 0&&On===void 0&&(On=Ht,$n=Jt),Ht===void 0&&On===void 0&&(On=wr.width,$n=wr.height);var Xr=this.ctx.transform.decompose(),Ri=gn(Xr.rotate.shx),Go=new S,dr=(Go=(Go=(Go=Go.multiply(Xr.translate)).multiply(Xr.skew)).multiply(Xr.scale)).applyToRectangle(new y(fn-bt*Qo,Ln-Lt*st,Ht*$r,Jt*Gr));if(this.autoPaging){for(var $o,po=it.call(this,dr),ko=[],To=0;ToPa||midr||po<$o)&&Je.call(this);ia&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ko,oa,null).clip().discardPath()),vn.call(this,Pe,bt),ia&&this.pdf.restoreGraphicsState()}this.lineWidth=fn}this.path=$r}else this.lineWidth=Ln,vn.call(this,Pe,bt),this.lineWidth=fn},vn=function(Pe,bt){if((Pe!=="stroke"||bt||!ot.call(this))&&(Pe==="stroke"||bt||!z.call(this))){for(var Lt,Ht,Jt=[],fn=this.path,Ln=0;Ln0)){for(;$n>=0;$n--)if(Jt[$n-1].close!==!0&&Jt[$n-1].begin!==!0){Jt[$n-1].deltas.push(Lt),Jt[$n-1].abs.push(On);break}}break;case"bct":Lt=[On.x1-fn[Ln-1].x,On.y1-fn[Ln-1].y,On.x2-fn[Ln-1].x,On.y2-fn[Ln-1].y,On.x-fn[Ln-1].x,On.y-fn[Ln-1].y],Jt[Jt.length-1].deltas.push(Lt);break;case"qct":var wr=fn[Ln-1].x+2/3*(On.x1-fn[Ln-1].x),$r=fn[Ln-1].y+2/3*(On.y1-fn[Ln-1].y),Gr=On.x+2/3*(On.x1-On.x),Qo=On.y+2/3*(On.y1-On.y),st=On.x,Xr=On.y;Lt=[wr-fn[Ln-1].x,$r-fn[Ln-1].y,Gr-fn[Ln-1].x,Qo-fn[Ln-1].y,st-fn[Ln-1].x,Xr-fn[Ln-1].y],Jt[Jt.length-1].deltas.push(Lt);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(On)}}Ht=bt?null:Pe==="stroke"?"stroke":"fill";for(var Ri=!1,Go=0;Go=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale);var xi=this.autoPaging!=="text";if(xi||xo.y+xo.h<=To){if(xi||xo.y>=po&&xo.x<=oa){var Uo=xi?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||oa-xo.x)[0],ts=Mt([JSON.parse(JSON.stringify(Gr))],this.posX+this.margin[3],-ca+po+this.ctx.prevPageLastElemOffset)[0],ba=xi&&($o>Go||$o=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale),this.pdf.text(Pe.text,$n.x+this.posX,$n.y+this.posY,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)},jt=function(Pe,bt,Lt,Ht){Lt=Lt||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Lt)+" "+r(bt+Ht)+" l")},Tt=function(Pe,bt,Lt){return this.pdf.lines(Pe,bt,Lt,null,null)},Bn=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On){this.pdf.internal.out([n(o(Lt+Pe)),n(l(Ht+bt)),n(o(Jt+Pe)),n(l(fn+bt)),n(o(Ln+Pe)),n(l(On+bt)),"c"].join(" "))},Fn=function(Pe,bt,Lt,Ht){for(var Jt=2*Math.PI,fn=Math.PI/2;bt>Lt;)bt-=Jt;var Ln=Math.abs(Lt-bt);Ln1e-5;){var $r=wr+$n*Math.min(Ln,fn);On.push(Nn.call(this,Pe,wr,$r)),Ln-=Math.abs($r-wr),wr=$r}return On},Nn=function(Pe,bt,Lt){var Ht=(Lt-bt)/2,Jt=Pe*Math.cos(Ht),fn=Pe*Math.sin(Ht),Ln=Jt,On=-fn,$n=Ln*Ln+On*On,wr=$n+Ln*Jt+On*fn,$r=4/3*(Math.sqrt(2*$n*wr)-wr)/(Ln*fn-On*Jt),Gr=Ln-$r*On,Qo=On+$r*Ln,st=Gr,Xr=-Qo,Ri=Ht+bt,Go=Math.cos(Ri),dr=Math.sin(Ri);return{x1:Pe*Math.cos(bt),y1:Pe*Math.sin(bt),x2:Gr*Go-Qo*dr,y2:Gr*dr+Qo*Go,x3:st*Go-Xr*dr,y3:st*dr+Xr*Go,x4:Pe*Math.cos(Lt),y4:Pe*Math.sin(Lt)}},gn=function(Pe){return 180*Pe/Math.PI},Tn=function(Pe,bt,Lt,Ht,Jt,fn){var Ln=Pe+.5*(Lt-Pe),On=bt+.5*(Ht-bt),$n=Jt+.5*(Lt-Jt),wr=fn+.5*(Ht-fn),$r=Math.min(Pe,Jt,Ln,$n),Gr=Math.max(Pe,Jt,Ln,$n),Qo=Math.min(bt,fn,On,wr),st=Math.max(bt,fn,On,wr);return new y($r,Qo,Gr-$r,st-Qo)},Ir=function(Pe,bt,Lt,Ht,Jt,fn,Ln,On){var $n,wr,$r,Gr,Qo,st,Xr,Ri,Go,dr,$o,po,ko,To,Pa=Lt-Pe,oa=Ht-bt,mi=Jt-Lt,ca=fn-Ht,ia=Ln-Jt,xo=On-fn;for(wr=0;wr<41;wr++)Go=(Xr=($r=Pe+($n=wr/40)*Pa)+$n*((Qo=Lt+$n*mi)-$r))+$n*(Qo+$n*(Jt+$n*ia-Qo)-Xr),dr=(Ri=(Gr=bt+$n*oa)+$n*((st=Ht+$n*ca)-Gr))+$n*(st+$n*(fn+$n*xo-st)-Ri),wr==0?($o=Go,po=dr,ko=Go,To=dr):($o=Math.min($o,Go),po=Math.min(po,dr),ko=Math.max(ko,Go),To=Math.max(To,dr));return new y(Math.round($o),Math.round(po),Math.round(ko-$o),Math.round(To-po))},or=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,bt,Lt=(Pe=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:bt}));this.prevLineDash!==Lt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Lt)}}})(yo.API),function(e){var n=function(w){var y,S,Q,V,fe,Le,z,ot,Je,it;for(/[^\x00-\xFF]/.test(w),S=[],Q=0,V=(w+=y="\0\0\0\0".slice(w.length%4||4)).length;V>Q;Q+=4)(fe=(w.charCodeAt(Q)<<24)+(w.charCodeAt(Q+1)<<16)+(w.charCodeAt(Q+2)<<8)+w.charCodeAt(Q+3))!==0?(Le=(fe=((fe=((fe=((fe=(fe-(it=fe%85))/85)-(Je=fe%85))/85)-(ot=fe%85))/85)-(z=fe%85))/85)%85,S.push(Le+33,z+33,ot+33,Je+33,it+33)):S.push(122);return function(Me,Mt){for(var Ot=Mt;Ot>0;Ot--)Me.pop()}(S,y.length),String.fromCharCode.apply(String,S)+"~>"},t=function(w){var y,S,Q,V,fe,Le=String,z="length",ot=255,Je="charCodeAt",it="slice",Me="replace";for(w[it](-2),w=w[it](0,-2)[Me](/\s/g,"")[Me]("z","!!!!!"),Q=[],V=0,fe=(w+=y="uuuuu"[it](w[z]%5||5))[z];fe>V;V+=5)S=52200625*(w[Je](V)-33)+614125*(w[Je](V+1)-33)+7225*(w[Je](V+2)-33)+85*(w[Je](V+3)-33)+(w[Je](V+4)-33),Q.push(ot&S>>24,ot&S>>16,ot&S>>8,ot&S);return function(Mt,Ot){for(var Ct=Ot;Ct>0;Ct--)Mt.pop()}(Q,y[z]),Le.fromCharCode.apply(Le,Q)},r=function(w){return w.split("").map(function(y){return("0"+y.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(w){var y=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((w=w.replace(/\s/g,"")).indexOf(">")!==-1&&(w=w.substr(0,w.indexOf(">"))),w.length%2&&(w+="0"),y.test(w)===!1)return"";for(var S="",Q=0;QJe&&(ot=it,it=Je,Je=ot);else{if(y!=="l"&&y!=="landscape")throw"Invalid orientation: "+y;y="l",Je>it&&(ot=it,it=Je,Je=ot)}return{width:it,height:Je,unit:S,k:fe,orientation:y}},e.html=function(y,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Bl):null;var Q=new w(S);return S.worker?Q:Q.from(y).doCallback()}}(yo.API),yo.API.addJS=function(e){return Og=e,this.internal.events.subscribe("postPutResources",function(){Yu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Qg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Og+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yu!==void 0&&Qg!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),l=0;l> endobj")}var z=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+z+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,l){var w={title:o,options:l,children:[]};return r==null&&(r=this.root),r.children.push(w),w},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(w.children[0])),this.line("/Last "+this.makeRef(w.children[w.children.length-1])));var y=this.count=this.count_r({count:0},w);if(y>0&&this.line("/Count "+y),w.options&&w.options.pageNumber){var S=t.internal.getPageInfo(w.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var Q=0;Q>"}),"transparency"in Qn&&Array.isArray(Qn.transparency)&&Qn.transparency.length>0){for(var Gi="",mi=0,Vi=Qn.transparency.length;mi>",Sn.content=je;var sr=Sn.objId+" 0 R";je="<>";else if(he.options.pageNumber)switch(je="<=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=1};var bt=E.__arabicParser__.arabicLetterHasFinalForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=3};var Mt=E.__arabicParser__.arabicLetterHasMedialForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length==4},nn=E.__arabicParser__.resolveLigatures=function(Sn){var jn=0,En=x,Cr="",sr=0;for(jn=0;jn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ee+" 0 R")})),this},function(E){var ee=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(st){x=st}});var he=150;Object.defineProperty(this,"width",{get:function(){return he},set:function(st){he=isNaN(st)||Number.isInteger(st)===!1||st<0?150:st,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=he+1)}});var De=300;Object.defineProperty(this,"height",{get:function(){return De},set:function(st){De=isNaN(st)||Number.isInteger(st)===!1||st<0?300:st,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=De+1)}});var je=[];Object.defineProperty(this,"childNodes",{get:function(){return je},set:function(st){je=st}});var pt={};Object.defineProperty(this,"style",{get:function(){return pt},set:function(st){pt=st}}),Object.defineProperty(this,"parentNode",{})};ee.prototype.getContext=function(x,he){var De;if((x=x||"2d")!=="2d")return null;for(De in he)this.pdf.context2d.hasOwnProperty(De)&&(this.pdf.context2d[De]=he[De]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ee.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},E.events.push(["initialized",function(){this.canvas=new ee,this.canvas.pdf=this}])}(Gs.API),function(E){var ee={left:0,top:0,bottom:0,right:0},x=!1,he=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ee),this.internal.__cell__.margins.width=this.getPageWidth(),De.call(this))},De=function(){this.internal.__cell__.lastCell=new je,this.internal.__cell__.pages=1},je=function(){var vt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return vt},set:function(Sn){vt=Sn}});var bt=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return bt},set:function(Sn){bt=Sn}});var Mt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Mt},set:function(Sn){Mt=Sn}});var nn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return nn},set:function(Sn){nn=Sn}});var cn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return cn},set:function(Sn){cn=Sn}});var Nt=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Nt},set:function(Sn){Nt=Sn}});var Tn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Tn},set:function(Sn){Tn=Sn}}),this};je.prototype.clone=function(){return new je(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},je.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},E.setHeaderFunction=function(vt){return he.call(this),this.internal.__cell__.headerFunction=typeof vt=="function"?vt:void 0,this},E.getTextDimensions=function(vt,bt){he.call(this);var Mt=(bt=bt||{}).fontSize||this.getFontSize(),nn=bt.font||this.getFont(),cn=bt.scaleFactor||this.internal.scaleFactor,Nt=0,Tn=0,Sn=0,jn=this;if(!Array.isArray(vt)&&typeof vt!="string"){if(typeof vt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");vt=String(vt)}var En=bt.maxWidth;En>0?typeof vt=="string"?vt=this.splitTextToSize(vt,En):Object.prototype.toString.call(vt)==="[object Array]"&&(vt=vt.reduce(function(sr,Jn){return sr.concat(jn.splitTextToSize(Jn,En))},[])):vt=Array.isArray(vt)?vt:[vt];for(var Cr=0;Crthis.getPageHeight()?(this.cellAddPage(),vt.y=nn.top,Nt&&cn&&(this.printHeaderRow(vt.lineNumber,!0),vt.y+=cn[0].height)):vt.y=bt.y+bt.height||vt.y),vt.text[0]!==void 0&&(this.rect(vt.x,vt.y,vt.width,vt.height,x===!0?"FD":void 0),vt.align==="right"?this.text(vt.text,vt.x+vt.width-Mt,vt.y+Mt,{align:"right",baseline:"top"}):vt.align==="center"?this.text(vt.text,vt.x+vt.width/2,vt.y+Mt,{align:"center",baseline:"top",maxWidth:vt.width-Mt-Mt}):this.text(vt.text,vt.x+Mt,vt.y+Mt,{align:"left",baseline:"top",maxWidth:vt.width-Mt-Mt})),this.internal.__cell__.lastCell=vt,this};E.table=function(vt,bt,Mt,nn,cn){if(he.call(this),!Mt)throw new Error("No data for PDF table.");var Nt,Tn,Sn,jn,En=[],Cr=[],sr=[],Jn={},wi={},ra=[],Ri=[],Or=(cn=cn||{}).autoSize||!1,qn=cn.printHeaders!==!1,si=cn.css&&cn.css["font-size"]!==void 0?16*cn.css["font-size"]:cn.fontSize||12,vn=cn.margins||Object.assign({width:this.getPageWidth()},ee),Qn=typeof cn.padding=="number"?cn.padding:3,wr=cn.headerBackgroundColor||"#c8c8c8",fr=cn.headerTextColor||"#000";if(De.call(this),this.internal.__cell__.printHeaders=qn,this.internal.__cell__.margins=vn,this.internal.__cell__.table_font_size=si,this.internal.__cell__.padding=Qn,this.internal.__cell__.headerBackgroundColor=wr,this.internal.__cell__.headerTextColor=fr,this.setFontSize(si),nn==null)Cr=En=Object.keys(Mt[0]),sr=En.map(function(){return"left"});else if(Array.isArray(nn)&&(0,a.Z)(nn[0])==="object")for(En=nn.map(function(bo){return bo.name}),Cr=nn.map(function(bo){return bo.prompt||bo.name||""}),sr=nn.map(function(bo){return bo.align||"left"}),Nt=0;Nt0&&this.setTableHeaderRow(cn),this.setFont(void 0,"normal"),x=!1}}(Gs.API);var vd={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},i0=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Xd=FA(i0),af=[100,200,300,400,500,600,700,800,900],ap=FA(af);function uh(E){var ee=E.family.replace(/"|'/g,"").toLowerCase(),x=function(je){return vd[je=je||"normal"]?je:"normal"}(E.style),he=function(je){return je?typeof je=="number"?je>=100&&je<=900&&je%100==0?je:400:/^\d00$/.test(je)?parseInt(je):je==="bold"?700:400:400}(E.weight),De=function(je){return typeof Xd[je=je||"normal"]=="number"?je:"normal"}(E.stretch);return{family:ee,style:x,weight:he,stretch:De,src:E.src||[],ref:E.ref||{name:ee,style:[De,x,he].join(" ")}}}function op(E,ee,x,he){var De;for(De=x;De>=0&&De=0&&De>>1)&255}return De}function Zm(E,ee,x){var he=E.length,De=[];De[0]=4;for(var je=0;je>je&pt}function Km(E,ee,x,he){var De=x*he,je=Math.floor(De/8),pt=16-(De-8*je+he),st=(1<>8&255;bt.setUint8(Mt,cn)}})(E,je,Ym(E,je)&~(st<>7,pt=1<<1+(7&De);E[ee++],E[ee++];var st=null,vt=null;je&&(st=ee,vt=pt,ee+=3*pt);var bt=!0,Mt=[],nn=0,cn=null,Nt=0,Tn=null;for(this.width=x,this.height=he;bt&&ee=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}break;case 249:if(E[ee++]!==4||E[ee+4]!==0)throw new Error("Invalid graphics extension block.");var Sn=E[ee++];nn=E[ee++]|E[ee++]<<8,cn=E[ee++],1&Sn||(cn=null),Nt=Sn>>2&7,ee++;break;case 254:for(;;){if(!((vn=E[ee++])>=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}break;default:throw new Error("Unknown graphic control label: 0x"+E[ee-1].toString(16))}break;case 44:var jn=E[ee++]|E[ee++]<<8,En=E[ee++]|E[ee++]<<8,Cr=E[ee++]|E[ee++]<<8,sr=E[ee++]|E[ee++]<<8,Jn=E[ee++],wi=Jn>>6&1,ra=1<<1+(7&Jn),Ri=st,Or=vt,qn=!1;Jn>>7&&(qn=!0,Ri=ee,Or=ra,ee+=3*ra);var si=ee;for(ee++;;){var vn;if(!((vn=E[ee++])>=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}Mt.push({x:jn,y:En,width:Cr,height:sr,has_local_palette:qn,palette_offset:Ri,palette_size:Or,data_offset:si,data_length:ee-si,transparent_index:cn,interlaced:!!wi,delay:nn,disposal:Nt});break;case 59:bt=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ee-1].toString(16))}this.numFrames=function(){return Mt.length},this.loopCount=function(){return Tn},this.frameInfo=function(Qn){if(Qn<0||Qn>=Mt.length)throw new Error("Frame index out of range.");return Mt[Qn]},this.decodeAndBlitFrameBGRA=function(Qn,wr){var fr=this.frameInfo(Qn),Mi=fr.width*fr.height,zi=new Uint8Array(Mi);qm(E,fr.data_offset,zi,Mi);var Gi=fr.palette_offset,mi=fr.transparent_index;mi===null&&(mi=256);var Vi=fr.width,bo=x-Vi,Na=Vi,gn=4*(fr.y*x+fr.x),Gn=4*((fr.y+fr.height)*x+fr.x),ir=gn,Mr=4*bo;fr.interlaced===!0&&(Mr+=4*x*7);for(var Gr=8,pi=0,Xi=zi.length;pi=Gn&&(Mr=4*bo+4*x*(Gr-1),ir=gn+(Vi+bo)*(Gr<<1),Gr>>=1)),Ki===mi)ir+=4;else{var ga=E[Gi+3*Ki],fo=E[Gi+3*Ki+1],As=E[Gi+3*Ki+2];wr[ir++]=As,wr[ir++]=fo,wr[ir++]=ga,wr[ir++]=255}--Na}},this.decodeAndBlitFrameRGBA=function(Qn,wr){var fr=this.frameInfo(Qn),Mi=fr.width*fr.height,zi=new Uint8Array(Mi);qm(E,fr.data_offset,zi,Mi);var Gi=fr.palette_offset,mi=fr.transparent_index;mi===null&&(mi=256);var Vi=fr.width,bo=x-Vi,Na=Vi,gn=4*(fr.y*x+fr.x),Gn=4*((fr.y+fr.height)*x+fr.x),ir=gn,Mr=4*bo;fr.interlaced===!0&&(Mr+=4*x*7);for(var Gr=8,pi=0,Xi=zi.length;pi=Gn&&(Mr=4*bo+4*x*(Gr-1),ir=gn+(Vi+bo)*(Gr<<1),Gr>>=1)),Ki===mi)ir+=4;else{var ga=E[Gi+3*Ki],fo=E[Gi+3*Ki+1],As=E[Gi+3*Ki+2];wr[ir++]=ga,wr[ir++]=fo,wr[ir++]=As,wr[ir++]=255}--Na}}}function qm(E,ee,x,he){for(var De=E[ee++],je=1<>=vt,Mt-=vt,jn!==je){if(jn===pt)break;for(var En=jnje;)sr=Tn[sr]>>8,++Cr;var Jn=sr;if(cn+Cr+(En!==jn?1:0)>he)return void Gu.log("Warning, gif stream longer than expected.");x[cn++]=Jn;var wi=cn+=Cr;for(En!==jn&&(x[cn++]=Jn),sr=En;Cr--;)sr=Tn[sr],x[--wi]=255&sr,sr>>=8;Sn!==null&&st<4096&&(Tn[st++]=Sn<<8|Jn,st>=bt+1&&vt<12&&(++vt,bt=bt<<1|1)),Sn=jn}else st=pt+1,bt=(1<<(vt=De+1))-1,Sn=null}return cn!==he&&Gu.log("Warning, gif stream shorter than expected."),x}function Pm(E){var ee,x,he,De,je,pt=Math.floor,st=new Array(64),vt=new Array(64),bt=new Array(64),Mt=new Array(64),nn=new Array(65535),cn=new Array(65535),Nt=new Array(64),Tn=new Array(64),Sn=[],jn=0,En=7,Cr=new Array(64),sr=new Array(64),Jn=new Array(64),wi=new Array(256),ra=new Array(2048),Ri=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Or=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],qn=[0,1,2,3,4,5,6,7,8,9,10,11],si=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],vn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Qn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wr=[0,1,2,3,4,5,6,7,8,9,10,11],fr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function zi(gn,Gn){for(var ir=0,Mr=0,Gr=new Array,pi=1;pi<=16;pi++){for(var Xi=1;Xi<=gn[pi];Xi++)Gr[Gn[Mr]]=[],Gr[Gn[Mr]][0]=ir,Gr[Gn[Mr]][1]=pi,Mr++,ir++;ir*=2}return Gr}function Gi(gn){for(var Gn=gn[0],ir=gn[1]-1;ir>=0;)Gn&1<>8&255),mi(255&gn)}function bo(gn,Gn,ir,Mr,Gr){for(var pi,Xi=Gr[0],Ki=Gr[240],ga=function(Ga,Ol){var Hs,Ll,El,RA,qu,mu,iA,_u,Ks,vu,cl=0;for(Ks=0;Ks<8;++Ks){Hs=Ga[cl],Ll=Ga[cl+1],El=Ga[cl+2],RA=Ga[cl+3],qu=Ga[cl+4],mu=Ga[cl+5],iA=Ga[cl+6];var td=Hs+(_u=Ga[cl+7]),Du=Hs-_u,wu=Ll+iA,ku=Ll-iA,$u=El+mu,Cl=El-mu,fc=RA+qu,Wl=RA-qu,Es=td+fc,Fc=td-fc,xu=wu+$u,kl=wu-$u;Ga[cl]=Es+xu,Ga[cl+4]=Es-xu;var MA=.707106781*(kl+Fc);Ga[cl+2]=Fc+MA,Ga[cl+6]=Fc-MA;var ug=.382683433*((Es=Wl+Cl)-(kl=ku+Du)),of=.5411961*Es+ug,Qp=1.306562965*kl+ug,dp=.707106781*(xu=Cl+ku),zl=Du+dp,fp=Du-dp;Ga[cl+5]=fp+of,Ga[cl+3]=fp-of,Ga[cl+1]=zl+Qp,Ga[cl+7]=zl-Qp,cl+=8}for(cl=0,Ks=0;Ks<8;++Ks){Hs=Ga[cl],Ll=Ga[cl+8],El=Ga[cl+16],RA=Ga[cl+24],qu=Ga[cl+32],mu=Ga[cl+40],iA=Ga[cl+48];var hp=Hs+(_u=Ga[cl+56]),o0=Hs-_u,s0=Ll+iA,Ze=Ll-iA,Ye=El+mu,be=El-mu,Tt=RA+qu,Bn=RA-qu,kn=hp+Tt,hr=hp-Tt,fn=s0+Ye,Xt=s0-Ye;Ga[cl]=kn+fn,Ga[cl+32]=kn-fn;var yn=.707106781*(Xt+hr);Ga[cl+16]=hr+yn,Ga[cl+48]=hr-yn;var ur=.382683433*((kn=Bn+be)-(Xt=Ze+o0)),Sr=.5411961*kn+ur,Tr=1.306562965*Xt+ur,kr=.707106781*(fn=be+Ze),ui=o0+kr,$r=o0-kr;Ga[cl+40]=$r+Sr,Ga[cl+24]=$r-Sr,Ga[cl+8]=ui+Tr,Ga[cl+56]=ui-Tr,cl++}for(Ks=0;Ks<64;++Ks)vu=Ga[Ks]*Ol[Ks],Nt[Ks]=vu>0?vu+.5|0:vu-.5|0;return Nt}(gn,Gn),fo=0;fo<64;++fo)Tn[Ri[fo]]=ga[fo];var As=Tn[0]-ir;ir=Tn[0],As==0?Gi(Mr[0]):(Gi(Mr[cn[pi=32767+As]]),Gi(nn[pi]));for(var is=63;is>0&&Tn[is]==0;)is--;if(is==0)return Gi(Xi),ir;for(var tl,Dn=1;Dn<=is;){for(var rs=Dn;Tn[Dn]==0&&Dn<=is;)++Dn;var Mu=Dn-rs;if(Mu>=16){tl=Mu>>4;for(var jl=1;jl<=tl;++jl)Gi(Ki);Mu&=15}pi=32767+Tn[Dn],Gi(Gr[(Mu<<4)+cn[pi]]),Gi(nn[pi]),Dn++}return is!=63&&Gi(Xi),ir}function Na(gn){gn=Math.min(Math.max(gn,1),100),je!=gn&&(function(Gn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Mr=0;Mr<64;Mr++){var Gr=pt((ir[Mr]*Gn+50)/100);Gr=Math.min(Math.max(Gr,1),255),st[Ri[Mr]]=Gr}for(var pi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Xi=0;Xi<64;Xi++){var Ki=pt((pi[Xi]*Gn+50)/100);Ki=Math.min(Math.max(Ki,1),255),vt[Ri[Xi]]=Ki}for(var ga=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],fo=0,As=0;As<8;As++)for(var is=0;is<8;is++)bt[fo]=1/(st[Ri[fo]]*ga[As]*ga[is]*8),Mt[fo]=1/(vt[Ri[fo]]*ga[As]*ga[is]*8),fo++}(gn<50?Math.floor(5e3/gn):Math.floor(200-2*gn)),je=gn)}this.encode=function(gn,Gn){Gn&&Na(Gn),Sn=new Array,jn=0,En=7,Vi(65496),Vi(65504),Vi(16),mi(74),mi(70),mi(73),mi(70),mi(0),mi(1),mi(1),mi(0),Vi(1),Vi(1),mi(0),mi(0),function(){Vi(65499),Vi(132),mi(0);for(var Ll=0;Ll<64;Ll++)mi(st[Ll]);mi(1);for(var El=0;El<64;El++)mi(vt[El])}(),function(Ll,El){Vi(65472),Vi(17),mi(8),Vi(El),Vi(Ll),mi(3),mi(1),mi(17),mi(0),mi(2),mi(17),mi(1),mi(3),mi(17),mi(1)}(gn.width,gn.height),function(){Vi(65476),Vi(418),mi(0);for(var Ll=0;Ll<16;Ll++)mi(Or[Ll+1]);for(var El=0;El<=11;El++)mi(qn[El]);mi(16);for(var RA=0;RA<16;RA++)mi(si[RA+1]);for(var qu=0;qu<=161;qu++)mi(vn[qu]);mi(1);for(var mu=0;mu<16;mu++)mi(Qn[mu+1]);for(var iA=0;iA<=11;iA++)mi(wr[iA]);mi(17);for(var _u=0;_u<16;_u++)mi(fr[_u+1]);for(var Ks=0;Ks<=161;Ks++)mi(Mi[Ks])}(),Vi(65498),Vi(12),mi(3),mi(1),mi(0),mi(2),mi(17),mi(3),mi(17),mi(0),mi(63),mi(0);var ir=0,Mr=0,Gr=0;jn=0,En=7,this.encode.displayName="_encode_";for(var pi,Xi,Ki,ga,fo,As,is,tl,Dn,rs=gn.data,Mu=gn.width,jl=gn.height,Ga=4*Mu,Ol=0;Ol>3)*Ga+(is=4*(7&Dn)),Ol+tl>=jl&&(As-=Ga*(Ol+1+tl-jl)),pi+is>=Ga&&(As-=pi+is-Ga+4),Xi=rs[As++],Ki=rs[As++],ga=rs[As++],Cr[Dn]=(ra[Xi]+ra[Ki+256|0]+ra[ga+512|0]>>16)-128,sr[Dn]=(ra[Xi+768|0]+ra[Ki+1024|0]+ra[ga+1280|0]>>16)-128,Jn[Dn]=(ra[Xi+1280|0]+ra[Ki+1536|0]+ra[ga+1792|0]>>16)-128;ir=bo(Cr,bt,ir,ee,he),Mr=bo(sr,Mt,Mr,x,De),Gr=bo(Jn,Mt,Gr,x,De),pi+=32}Ol+=8}if(En>=0){var Hs=[];Hs[1]=En+1,Hs[0]=(1<Qn;Qn++)if(qn[si+Qn]!=vn.charCodeAt(Qn))return!0;return!1}function he(qn,si,vn,Qn,wr){for(var fr=0;frfr+1?[]:new si),!(Mi.length>>0;Qe&It;)It>>>=1;return It?(Qe&It-1)+It:Qe}function vn(Qe,rt,It,zt,an){ee(!(zt%It));do Qe[rt+(zt-=It)]=an;while(0=an),512>=an)var dn=je(512);else if((dn=je(an))==null)return 0;return function(pn,wn,xn,Wn,jr,bi){var Xn,Kr,Ai=wn,aa=1<Xn;++Xn){if(yi[Xn]>1<(Qu-=yi[Xn]))return 0;for(;0=Xn;++Xn,jr<<=1){if(Vs+=Qu<<=1,0>(Qu-=yi[Xn]))return 0;for(;0ho&&!(0>=(ma-=yi[ho]));)++ho,ma<<=1;aa+=sl=1<<(ma=ho-xn),pn[wn+(ho=vl&Qa)].g=ma+xn,pn[wn+ho].value=Ai-wn-ho}Wn.g=Xn-xn,Wn.value=bi[Kr++],vn(pn,Ai+(vl>>xn),jr,sl,Wn),vl=si(vl,Xn)}}return Vs!=2*Aa[15]-1?0:aa}(Qe,rt,It,zt,an,dn)}function wr(){this.value=this.g=0}function fr(){this.value=this.g=0}function Mi(){this.G=pt(5,wr),this.H=je(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=pt(D0,fr)}function zi(Qe,rt,It,zt){ee(Qe!=null),ee(rt!=null),ee(2147483648>zt),Qe.Ca=254,Qe.I=0,Qe.b=-8,Qe.Ka=0,Qe.oa=rt,Qe.pa=It,Qe.Jd=rt,Qe.Yc=It+zt,Qe.Zc=4<=zt?It+zt-4+1:It,Xi(Qe)}function Gi(Qe,rt){for(var It=0;0zt),Qe.Sb=zt,Qe.Ra=0,Qe.u=0,Qe.h=0,4>>=8,Qe.Ra+=Qe.oa[Qe.pa+Qe.bb]<>>0,++Qe.bb,Qe.u-=8;Mr(Qe)&&(Qe.h=1,Qe.u=0)}function Na(Qe,rt){if(ee(0<=rt),!Qe.h&&rt<=Af){var It=ir(Qe)&uf[rt];return Qe.u+=rt,bo(Qe),It}return Qe.h=1,Qe.u=0}function gn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Gn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(Qe){return Qe.Ra>>>(Qe.u&d0-1)>>>0}function Mr(Qe){return ee(Qe.bb<=Qe.Sb),Qe.h||Qe.bb==Qe.Sb&&Qe.u>d0}function Gr(Qe,rt){Qe.u=rt,Qe.h=Mr(Qe)}function pi(Qe){Qe.u>=aA&&(ee(Qe.u>=aA),bo(Qe))}function Xi(Qe){ee(Qe!=null&&Qe.oa!=null),Qe.pa>>0,Qe.b+=8):(ee(Qe!=null&&Qe.oa!=null),Qe.paQe.b&&Xi(Qe);var zt=Qe.b,an=It*rt>>>8,dn=(Qe.I>>>zt>an)+0;for(dn?(It-=an,Qe.I-=an+1<>>0):It=an+1,zt=It,an=0;256<=zt;)an+=8,zt>>=8;return zt=7^an+mp[zt],Qe.b-=zt,Qe.Ca=(It<>24&255,Qe[rt+1]=It>>16&255,Qe[rt+2]=It>>8&255,Qe[rt+3]=255&It}function As(Qe,rt){return Qe[rt+0]|Qe[rt+1]<<8}function is(Qe,rt){return As(Qe,rt)|Qe[rt+2]<<16}function tl(Qe,rt){return As(Qe,rt)|As(Qe,rt+2)<<16}function Dn(Qe,rt){var It=1<=an||0>=dn?0:(It[0]=an,zt[0]=dn,1)}function Ga(Qe,rt){return Qe+(1<>>rt}function Ol(Qe,rt){return((4278255360&Qe)+(4278255360&rt)>>>0&4278255360)+((16711935&Qe)+(16711935&rt)>>>0&16711935)>>>0}function Hs(Qe,rt){qn[rt]=function(It,zt,an,dn,pn,wn,xn){var Wn;for(Wn=0;Wn>>1)+(Qe&rt)>>>0}function RA(Qe){return 0<=Qe&&256>Qe?Qe:0>Qe?0:255>1))}function mu(Qe,rt,It){return Math.abs(rt-It)-Math.abs(Qe-It)}function iA(Qe,rt,It,zt,an,dn,pn){for(zt=dn[pn-1],It=0;It>8&255,xn=16711935&(xn=(xn=16711935&pn)+((wn<<16)+wn));zt[an+dn]=(4278255360&pn)+xn>>>0}}function Ks(Qe,rt){rt.jd=255&Qe,rt.hd=Qe>>8&255,rt.ud=Qe>>16&255}function vu(Qe,rt,It,zt,an,dn){var pn;for(pn=0;pn>>8,Wn=wn,jr=255&(jr=(jr=wn>>>16)+((Qe.jd<<24>>24)*(xn<<24>>24)>>>5));Wn=255&(Wn=(Wn+=(Qe.hd<<24>>24)*(xn<<24>>24)>>>5)+((Qe.ud<<24>>24)*(jr<<24>>24)>>>5)),an[dn+pn]=(4278255360&wn)+(jr<<16)+Wn}}function cl(Qe,rt,It,zt,an){qn[rt]=function(dn,pn,wn,xn,Wn,jr,bi,Xn,Kr){for(xn=bi;xn>dn.b,Kr=dn.Ea,Ai=dn.K[0],aa=dn.w;if(8>Xn)for(dn=(1<>=Xn}else qn["VP8LMapColor"+It](xn,Wn,Ai,aa,jr,bi,pn,wn,Kr)}}function td(Qe,rt,It,zt,an){for(It=rt+It;rt>16&255,zt[an++]=dn>>8&255,zt[an++]=255&dn}}function Du(Qe,rt,It,zt,an){for(It=rt+It;rt>16&255,zt[an++]=dn>>8&255,zt[an++]=255&dn,zt[an++]=dn>>24&255}}function wu(Qe,rt,It,zt,an){for(It=rt+It;rt>16&240|pn>>12&15,pn=240&pn|pn>>28&15;zt[an++]=dn,zt[an++]=pn}}function ku(Qe,rt,It,zt,an){for(It=rt+It;rt>16&248|pn>>13&7,pn=pn>>5&224|pn>>3&31;zt[an++]=dn,zt[an++]=pn}}function $u(Qe,rt,It,zt,an){for(It=rt+It;rt>8&255,zt[an++]=dn>>16&255}}function Cl(Qe,rt,It,zt,an,dn){if(dn==0)for(It=rt+It;rt>24|dn[1]>>8&65280|dn[2]<<8&16711680|dn[3]<<24)>>>0),an+=32;else he(zt,an,Qe,rt,It)}function fc(Qe,rt){qn[rt][0]=qn[Qe+"0"],qn[rt][1]=qn[Qe+"1"],qn[rt][2]=qn[Qe+"2"],qn[rt][3]=qn[Qe+"3"],qn[rt][4]=qn[Qe+"4"],qn[rt][5]=qn[Qe+"5"],qn[rt][6]=qn[Qe+"6"],qn[rt][7]=qn[Qe+"7"],qn[rt][8]=qn[Qe+"8"],qn[rt][9]=qn[Qe+"9"],qn[rt][10]=qn[Qe+"10"],qn[rt][11]=qn[Qe+"11"],qn[rt][12]=qn[Qe+"12"],qn[rt][13]=qn[Qe+"13"],qn[rt][14]=qn[Qe+"0"],qn[rt][15]=qn[Qe+"0"]}function Wl(Qe){return Qe==zc||Qe==T0||Qe==dd||Qe==hh}function Es(){this.eb=[],this.size=this.A=this.fb=0}function Fc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xu(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Es,this.f.kb=new Fc,this.sd=null}function kl(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function MA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ug(Qe){return alert("todo:WebPSamplerProcessPlane"),Qe.T}function of(Qe,rt){var It=Qe.T,zt=rt.ba.f.RGBA,an=zt.eb,dn=zt.fb+Qe.ka*zt.A,pn=wp[rt.ba.S],wn=Qe.y,xn=Qe.O,Wn=Qe.f,jr=Qe.N,bi=Qe.ea,Xn=Qe.W,Kr=rt.cc,Ai=rt.dc,aa=rt.Mc,yi=rt.Nc,Aa=Qe.ka,ma=Qe.ka+Qe.T,ho=Qe.U,Qa=ho+1>>1;for(Aa==0?pn(wn,xn,null,null,Wn,jr,bi,Xn,Wn,jr,bi,Xn,an,dn,null,null,ho):(pn(rt.ec,rt.fc,wn,xn,Kr,Ai,aa,yi,Wn,jr,bi,Xn,an,dn-zt.A,an,dn,ho),++It);Aa+2It,an=It==Wo||It==wA||It==Mc||It==Dc||It==12||Wl(It);if(rt.memory=null,rt.Ib=null,rt.Jb=null,rt.Nd=null,!Wf(rt.Oa,Qe,an?11:12))return 0;if(an&&Wl(It)&&Pl(),Qe.da)alert("todo:use_scaling");else{if(zt){if(rt.Ib=ug,Qe.Kb){if(It=Qe.U+1>>1,rt.memory=je(Qe.U+2*It),rt.memory==null)return 0;rt.ec=rt.memory,rt.fc=0,rt.cc=rt.ec,rt.dc=rt.fc+Qe.U,rt.Mc=rt.cc,rt.Nc=rt.dc+It,rt.Ib=of,Pl()}}else alert("todo:EmitYUV");an&&(rt.Jb=Qp,zt&&ao())}if(zt&&!Vv){for(Qe=0;256>Qe;++Qe)m1[Qe]=89858*(Qe-128)+sv>>ov,E1[Qe]=-22014*(Qe-128)+sv,y1[Qe]=-45773*(Qe-128),v1[Qe]=113618*(Qe-128)+sv>>ov;for(Qe=Om;Qe>ov,w1[Qe-Om]=Ui(rt,255),b1[Qe-Om]=Ui(rt+8>>4,15);Vv=1}return 1}function zl(Qe){var rt=Qe.ma,It=Qe.U,zt=Qe.T;return ee(!(1&Qe.ka)),0>=It||0>=zt?0:(It=rt.Ib(Qe,rt),rt.Jb!=null&&rt.Jb(Qe,rt,It),rt.Dc+=It,1)}function fp(Qe){Qe.ma.memory=null}function hp(Qe,rt,It,zt){return Na(Qe,8)!=47?0:(rt[0]=Na(Qe,14)+1,It[0]=Na(Qe,14)+1,zt[0]=Na(Qe,1),Na(Qe,3)!=0?0:!Qe.h)}function o0(Qe,rt){if(4>Qe)return Qe+1;var It=Qe-2>>1;return(2+(1&Qe)<>4)*Qe+(8-(15&It)))?It:1;var It}function Ze(Qe,rt,It){var zt=ir(It),an=Qe[rt+=255&zt].g-8;return 0>>0,ee(8>=It.g),Qe.g}function be(Qe,rt,It){var zt=Qe.xc;return ee((rt=zt==0?0:Qe.vc[Qe.md*(It>>zt)+(rt>>zt)])>sl.b)*Vs;aaho&&(ll=ho),(0,ml[pA[df++]>>8&15])(Xn,Kr+ +Uu,Aa,ma+Uu-ho,ll-Uu,Aa,ma+Uu),Uu=ll}Kr+=ho,ma+=ho,++aa&vl||(sl+=Vs)}bi!=Wn.nc&&he(xn,wn-Ai,xn,wn+(bi-jr-1)*Ai,Ai);break;case 1:for(Ai=Xn,yi=Kr,ho=(Xn=Wn.Ea)-(ma=Xn&~(Aa=(Kr=1<>Wn.b)*aa;jr=an),0dn.o&&(zt=dn.o),It=zt?It=0:(an[0]+=4*dn.v,dn.ka=It-dn.j,dn.U=dn.va-dn.v,dn.T=zt-It,It=1),It){if(wn=wn[0],11>(It=Qe.ca).S){var jr=It.f.RGBA,bi=(zt=It.S,an=dn.U,dn=dn.T,Wn=jr.eb,jr.A),Xn=dn;for(jr=jr.fb+Qe.Ma*jr.A;0zt){var an=Qe.l.width,dn=It.ca,pn=It.tb+an*zt,wn=Qe.V,xn=Qe.Ba+Qe.c*zt,Wn=Qe.gc;ee(Qe.ab==1),ee(Wn[0].hc==3),Lf(Wn[0],zt,rt,wn,xn,dn,pn),hr(It,zt,rt,dn,pn,an)}Qe.C=Qe.Ma=rt}function Xt(Qe,rt,It,zt,an,dn,pn){var wn=Qe.$/zt,xn=Qe.$%zt,Wn=Qe.m,jr=Qe.s,bi=It+Qe.$,Xn=bi;an=It+zt*an;var Kr=It+zt*dn,Ai=280+jr.ua,aa=Qe.Pb?wn:16777216,yi=0=aa){var vl=bi-It;ee((aa=Qe).Pb),aa.wd=aa.m,aa.xd=vl,0Qu.g?(Gr(Qa,Qa.u+Qu.g),vl[Vs]=Qu.value,Qa=0):(Gr(Qa,Qa.u+Qu.g-256),ee(256<=Qu.value),Qa=Qu.value),Qa==0&&(ho=!0)}else Qa=Ze(ma.G[0],ma.H[0],Wn);if(Wn.h)break;if(ho||256>Qa){if(!ho)if(ma.nd)rt[bi]=(ma.qb|Qa<<8)>>>0;else{if(pi(Wn),ho=Ze(ma.G[1],ma.H[1],Wn),pi(Wn),vl=Ze(ma.G[2],ma.H[2],Wn),Vs=Ze(ma.G[3],ma.H[3],Wn),Wn.h)break;rt[bi]=(Vs<<24|ho<<16|Qa<<8|vl)>>>0}if(ho=!1,++bi,++xn>=zt&&(xn=0,++wn,pn!=null&&wn<=dn&&!(wn%16)&&pn(Qe,wn),yi!=null))for(;Xn>>yi.Mb]=Qa}else if(280>Qa){if(Qa=o0(Qa-256,Wn),vl=Ze(ma.G[4],ma.H[4],Wn),pi(Wn),vl=s0(zt,vl=o0(vl,Wn)),Wn.h)break;if(bi-It=zt;)xn-=zt,++wn,pn!=null&&wn<=dn&&!(wn%16)&&pn(Qe,wn);if(ee(bi<=an),xn&Aa&&(ma=be(jr,xn,wn)),yi!=null)for(;Xn>>yi.Mb]=Qa}else{if(!(Qa>>yi.Mb]=Qa;Qa=bi,ee(!(ho>>>(vl=yi).Xa)),rt[Qa]=vl.X[ho],ho=!0}ho||ee(Wn.h==Mr(Wn))}if(Qe.Pb&&Wn.h&&bidn?dn:wn),Qe.a=0,Qe.$=bi-It}return 1}return Qe.a=3,0}function yn(Qe){ee(Qe!=null),Qe.vc=null,Qe.yc=null,Qe.Ya=null;var rt=Qe.Wa;rt!=null&&(rt.X=null),Qe.vb=null,ee(Qe!=null)}function ur(){var Qe=new Il;return Qe==null?null:(Qe.a=0,Qe.xb=Rv,fc("Predictor","VP8LPredictors"),fc("Predictor","VP8LPredictors_C"),fc("PredictorAdd","VP8LPredictorsAdd"),fc("PredictorAdd","VP8LPredictorsAdd_C"),yc=_u,zp=vu,L0=td,PA=Du,pl=wu,P0=ku,N0=$u,qn.VP8LMapColor32b=Xf,qn.VP8LMapColor8b=Rp,Qe)}function Sr(Qe,rt,It,zt,an){var dn=1,pn=[Qe],wn=[rt],xn=zt.m,Wn=zt.s,jr=null,bi=0;e:for(;;){if(It)for(;dn&&Na(xn,1);){var Xn=pn,Kr=wn,Ai=zt,aa=1,yi=Ai.m,Aa=Ai.gc[Ai.ab],ma=Na(yi,2);if(Ai.Oc&1<=Ai.ab),ma){case 0:case 1:Aa.b=Na(yi,3)+2,aa=Sr(Ga(Aa.Ea,Aa.b),Ga(Aa.nc,Aa.b),0,Ai,Aa.K),Aa.K=Aa.K[0];break;case 3:var ho,Qa=Na(yi,8)+1,vl=16>sl.b),df=je(pA);if(df==null)ho=0;else{var Uu=sl.K[0],ll=sl.w;for(df[0]=sl.K[0][0],Vs=1;Vs<1*Qu;++Vs)df[Vs]=Ol(Uu[ll+Vs],df[Vs-1]);for(;Vs<4*pA;++Vs)df[Vs]=0;sl.K[0]=null,sl.K[0]=df,ho=1}}aa=ho;break;case 2:break;default:ee(0)}dn=aa}}if(pn=pn[0],wn=wn[0],dn&&Na(xn,1)&&!(dn=1<=(bi=Na(xn,4))&&11>=bi)){zt.a=3;break e}var $o;if($o=dn)t:{var Td,Iu,bA,Hc=zt,Vf=pn,Hh=wn,wd=bi,gh=It,Wh=Hc.m,ff=Hc.s,NA=[null],sc=1,bd=0,lc=Vd[wd];n:for(;;){if(gh&&Na(Wh,1)){var Gf=Na(Wh,3)+2,Yp=Ga(Vf,Gf),jd=Ga(Hh,Gf),p0=Yp*jd;if(!Sr(Yp,jd,0,Hc,NA))break n;for(NA=NA[0],ff.xc=Gf,Td=0;Td>8&65535;NA[Td]=wc,wc>=sc&&(sc=wc+1)}}if(Wh.h)break n;for(Iu=0;5>Iu;++Iu){var hf=ka[Iu];!Iu&&0=Xh),U0=Q0;var g0=je(bd);if(U0==null||g0==null||k0==null){Hc.a=1;break n}var R0=k0;for(Td=bA=0;TdIu;++Iu){hf=ka[Iu],z0[Iu]=R0,Jp[Iu]=bA,!Iu&&0fv)break r}else Lv=fv;for(Qm=0;Qmxm)$v[Qm++]=xm,xm!=0&&(e1=xm);else{var P1=xm==16,r1=xm-16,N1=ol[r1],i1=Na(_g,wa[r1])+N1;if(Qm+i1>fv)break r;for(var T1=P1?e1:0;0=Iu){var Um,Nv=g0[0];for(Um=1;UmNv&&(Nv=g0[Um]);Kf+=Nv}}if(Lc.nd=Ng,Lc.Qb=0,Ng&&(Lc.qb=(z0[3][Jp[3]+0].value<<24|z0[1][Jp[1]+0].value<<16|z0[2][Jp[2]+0].value)>>>0,gm==0&&256>z0[0][Jp[0]+0].value&&(Lc.Qb=1,Lc.qb+=z0[0][Jp[0]+0].value<<8)),Lc.jc=!Lc.Qb&&6>Kf,Lc.jc){var hv,Tg=Lc;for(hv=0;hv>=Ye(pv,8,em),$g>>=Ye(Tg.G[1][Tg.H[1]+$g],16,em),$g>>=Ye(Tg.G[2][Tg.H[2]+$g],0,em),Ye(Tg.G[3][Tg.H[3]+$g],24,em))}}}ff.vc=NA,ff.Wb=sc,ff.Ya=U0,ff.yc=k0,$o=1;break t}$o=0}if(!(dn=$o)){zt.a=3;break e}if(0zt+1?[]:0),!(an.lengthQe?0:Qe>rt?rt:Qe}function lr(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Br(){var Qe=new ua;return Qe!=null&&(Qe.a=0,Qe.sc="OK",Qe.cb=0,Qe.Xb=0,Zf||(Zf=Ta)),Qe}function Ni(Qe,rt,It){return Qe.a==0&&(Qe.a=rt,Qe.sc=It,Qe.cb=0),0}function di(Qe,rt,It){return 3<=It&&Qe[rt+0]==157&&Qe[rt+1]==1&&Qe[rt+2]==42}function Fr(Qe,rt){if(Qe==null)return 0;if(Qe.a=0,Qe.sc="OK",rt==null)return Ni(Qe,2,"null VP8Io passed to VP8GetHeaders()");var It=rt.data,zt=rt.w,an=rt.ha;if(4>an)return Ni(Qe,7,"Truncated header.");var dn=It[zt+0]|It[zt+1]<<8|It[zt+2]<<16,pn=Qe.Od;if(pn.Rb=!(1&dn),pn.td=dn>>1&7,pn.yd=dn>>4&1,pn.ub=dn>>5,3an)return Ni(Qe,7,"cannot parse picture header");if(!di(It,zt,an))return Ni(Qe,3,"Bad code word");wn.c=16383&(It[zt+4]<<8|It[zt+3]),wn.Td=It[zt+4]>>6,wn.i=16383&(It[zt+6]<<8|It[zt+5]),wn.Ud=It[zt+6]>>6,zt+=7,an-=7,Qe.za=wn.c+15>>4,Qe.Ub=wn.i+15>>4,rt.width=wn.c,rt.height=wn.i,rt.Da=0,rt.j=0,rt.v=0,rt.va=rt.width,rt.o=rt.height,rt.da=0,rt.ib=rt.width,rt.hb=rt.height,rt.U=rt.width,rt.T=rt.height,De((dn=Qe.Pa).jb,0,255,dn.jb.length),ee((dn=Qe.Qa)!=null),dn.Cb=0,dn.Bb=0,dn.Fb=1,De(dn.Zb,0,0,dn.Zb.length),De(dn.Lb,0,0,dn.Lb)}if(pn.ub>an)return Ni(Qe,7,"bad partition length");zi(dn=Qe.m,It,zt,pn.ub),zt+=pn.ub,an-=pn.ub,pn.Rb&&(wn.Ld=Ki(dn),wn.Kd=Ki(dn)),wn=Qe.Qa;var xn,Wn=Qe.Pa;if(ee(dn!=null),ee(wn!=null),wn.Cb=Ki(dn),wn.Cb){if(wn.Bb=Ki(dn),Ki(dn)){for(wn.Fb=Ki(dn),xn=0;4>xn;++xn)wn.Zb[xn]=Ki(dn)?mi(dn,7):0;for(xn=0;4>xn;++xn)wn.Lb[xn]=Ki(dn)?mi(dn,6):0}if(wn.Bb)for(xn=0;3>xn;++xn)Wn.jb[xn]=Ki(dn)?Gi(dn,8):255}else wn.Bb=0;if(dn.Ka)return Ni(Qe,3,"cannot parse segment header");if((wn=Qe.ed).zd=Ki(dn),wn.Tb=Gi(dn,6),wn.wb=Gi(dn,3),wn.Pc=Ki(dn),wn.Pc&&Ki(dn)){for(Wn=0;4>Wn;++Wn)Ki(dn)&&(wn.vd[Wn]=mi(dn,6));for(Wn=0;4>Wn;++Wn)Ki(dn)&&(wn.od[Wn]=mi(dn,6))}if(Qe.L=wn.Tb==0?0:wn.zd?1:2,dn.Ka)return Ni(Qe,3,"cannot parse filter header");var jr=an;if(an=xn=zt,zt=xn+jr,wn=jr,Qe.Xb=(1<wn&&(bi=wn),zi(Qe.Jc[+jr],It,xn,bi),xn+=bi,wn-=bi,an+=3}zi(Qe.Jc[+Wn],It,xn,wn),It=xnbi;++bi){if(jr.Cb){var Xn=jr.Zb[bi];jr.Fb||(Xn+=It)}else{if(0>16,8>Kr.Eb[1]&&(Kr.Eb[1]=8),Kr.Qc[0]=yp[Ui(Xn+Wn,117)],Kr.Qc[1]=Ep[Ui(Xn+xn,127)],Kr.lc=Xn+xn}if(!pn.Rb)return Ni(Qe,4,"Not a key frame.");for(Ki(dn),pn=Qe.Pa,It=0;4>It;++It){for(an=0;8>an;++an)for(zt=0;3>zt;++zt)for(wn=0;11>wn;++wn)Wn=ga(dn,A1[It][an][zt][wn])?Gi(dn,8):av[It][an][zt][wn],pn.Wc[It][an].Yb[zt][wn]=Wn;for(an=0;17>an;++an)pn.Xc[It][an]=pn.Wc[It][c1[an]]}return Qe.kc=Ki(dn),Qe.kc&&(Qe.Bd=Gi(dn,8)),Qe.cb=1}function Ta(Qe,rt,It,zt,an,dn,pn){var wn=rt[an].Yb[It];for(It=0;16>an;++an){if(!ga(Qe,wn[It+0]))return an;for(;!ga(Qe,wn[It+1]);)if(wn=rt[++an].Yb[0],It=0,an==16)return 16;var xn=rt[an+1].Yb;if(ga(Qe,wn[It+2])){var Wn=Qe,jr=0;if(ga(Wn,(Xn=wn)[(bi=It)+3]))if(ga(Wn,Xn[bi+6])){for(wn=0,bi=2*(jr=ga(Wn,Xn[bi+8]))+(Xn=ga(Wn,Xn[bi+9+jr])),jr=0,Xn=ph[bi];Xn[wn];++wn)jr+=jr+ga(Wn,Xn[wn]);jr+=3+(8<(Wn=Qe).b&&Xi(Wn);var bi,Xn=Wn.b,Kr=(bi=Wn.Ca>>1)-(Wn.I>>Xn)>>31;--Wn.b,Wn.Ca+=Kr,Wn.Ca|=1,Wn.I-=(bi+1&Kr)<>3),Qe[rt+It+32*zt]=-256&an?0>an?0:255:an}function Ka(Qe,rt,It,zt,an,dn){ds(Qe,rt,0,It,zt+an),ds(Qe,rt,1,It,zt+dn),ds(Qe,rt,2,It,zt-dn),ds(Qe,rt,3,It,zt-an)}function Os(Qe){return(20091*Qe>>16)+Qe}function Oa(Qe,rt,It,zt){var an,dn=0,pn=je(16);for(an=0;4>an;++an){var wn=Qe[rt+0]+Qe[rt+8],xn=Qe[rt+0]-Qe[rt+8],Wn=(35468*Qe[rt+4]>>16)-Os(Qe[rt+12]),jr=Os(Qe[rt+4])+(35468*Qe[rt+12]>>16);pn[dn+0]=wn+jr,pn[dn+1]=xn+Wn,pn[dn+2]=xn-Wn,pn[dn+3]=wn-jr,dn+=4,rt++}for(an=dn=0;4>an;++an)wn=(Qe=pn[dn+0]+4)+pn[dn+8],xn=Qe-pn[dn+8],Wn=(35468*pn[dn+4]>>16)-Os(pn[dn+12]),ds(It,zt,0,0,wn+(jr=Os(pn[dn+4])+(35468*pn[dn+12]>>16))),ds(It,zt,1,0,xn+Wn),ds(It,zt,2,0,xn-Wn),ds(It,zt,3,0,wn-jr),dn++,zt+=32}function as(Qe,rt,It,zt){var an=Qe[rt+0]+4,dn=35468*Qe[rt+4]>>16,pn=Os(Qe[rt+4]),wn=35468*Qe[rt+1]>>16;Ka(It,zt,0,an+pn,Qe=Os(Qe[rt+1]),wn),Ka(It,zt,1,an+dn,Qe,wn),Ka(It,zt,2,an-dn,Qe,wn),Ka(It,zt,3,an-pn,Qe,wn)}function qa(Qe,rt,It,zt,an){Oa(Qe,rt,It,zt),an&&Oa(Qe,rt+16,It,zt+4)}function io(Qe,rt,It,zt){Hp(Qe,rt+0,It,zt,1),Hp(Qe,rt+32,It,zt+128,1)}function Sl(Qe,rt,It,zt){var an;for(Qe=Qe[rt+0]+4,an=0;4>an;++an)for(rt=0;4>rt;++rt)ds(It,zt,rt,an,Qe)}function gl(Qe,rt,It,zt){Qe[rt+0]&&yA(Qe,rt+0,It,zt),Qe[rt+16]&&yA(Qe,rt+16,It,zt+4),Qe[rt+32]&&yA(Qe,rt+32,It,zt+128),Qe[rt+48]&&yA(Qe,rt+48,It,zt+128+4)}function Ql(Qe,rt,It,zt){var an,dn=je(16);for(an=0;4>an;++an){var pn=Qe[rt+0+an]+Qe[rt+12+an],wn=Qe[rt+4+an]+Qe[rt+8+an],xn=Qe[rt+4+an]-Qe[rt+8+an],Wn=Qe[rt+0+an]-Qe[rt+12+an];dn[0+an]=pn+wn,dn[8+an]=pn-wn,dn[4+an]=Wn+xn,dn[12+an]=Wn-xn}for(an=0;4>an;++an)pn=(Qe=dn[0+4*an]+3)+dn[3+4*an],wn=dn[1+4*an]+dn[2+4*an],xn=dn[1+4*an]-dn[2+4*an],Wn=Qe-dn[3+4*an],It[zt+0]=pn+wn>>3,It[zt+16]=Wn+xn>>3,It[zt+32]=pn-wn>>3,It[zt+48]=Wn-xn>>3,zt+=64}function Uo(Qe,rt,It){var zt,an=rt-32,dn=Nd,pn=255-Qe[an-1];for(zt=0;ztIt;++It)he(Qe,rt+32*It,Qe,rt-32,16)}function or(Qe,rt){var It;for(It=16;0zt;++zt)De(rt,It+32*zt,Qe,16)}function Dr(Qe,rt){var It,zt=16;for(It=0;16>It;++It)zt+=Qe[rt-1+32*It]+Qe[rt+It-32];_a(zt>>5,Qe,rt)}function $n(Qe,rt){var It,zt=8;for(It=0;16>It;++It)zt+=Qe[rt-1+32*It];_a(zt>>4,Qe,rt)}function Hn(Qe,rt){var It,zt=8;for(It=0;16>It;++It)zt+=Qe[rt+It-32];_a(zt>>4,Qe,rt)}function Jr(Qe,rt){_a(128,Qe,rt)}function zr(Qe,rt,It){return Qe+2*rt+It+2>>2}function Ia(Qe,rt){var It,zt=rt-32;for(zt=new Uint8Array([zr(Qe[zt-1],Qe[zt+0],Qe[zt+1]),zr(Qe[zt+0],Qe[zt+1],Qe[zt+2]),zr(Qe[zt+1],Qe[zt+2],Qe[zt+3]),zr(Qe[zt+2],Qe[zt+3],Qe[zt+4])]),It=0;4>It;++It)he(Qe,rt+32*It,zt,0,zt.length)}function Fa(Qe,rt){var It=Qe[rt-1],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96];fo(Qe,rt+0,16843009*zr(Qe[rt-1-32],It,zt)),fo(Qe,rt+32,16843009*zr(It,zt,an)),fo(Qe,rt+64,16843009*zr(zt,an,dn)),fo(Qe,rt+96,16843009*zr(an,dn,dn))}function er(Qe,rt){var It,zt=4;for(It=0;4>It;++It)zt+=Qe[rt+It-32]+Qe[rt-1+32*It];for(zt>>=3,It=0;4>It;++It)De(Qe,rt+32*It,zt,4)}function Bs(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1-32],pn=Qe[rt+0-32],wn=Qe[rt+1-32],xn=Qe[rt+2-32],Wn=Qe[rt+3-32];Qe[rt+0+96]=zr(zt,an,Qe[rt-1+96]),Qe[rt+1+96]=Qe[rt+0+64]=zr(It,zt,an),Qe[rt+2+96]=Qe[rt+1+64]=Qe[rt+0+32]=zr(dn,It,zt),Qe[rt+3+96]=Qe[rt+2+64]=Qe[rt+1+32]=Qe[rt+0+0]=zr(pn,dn,It),Qe[rt+3+64]=Qe[rt+2+32]=Qe[rt+1+0]=zr(wn,pn,dn),Qe[rt+3+32]=Qe[rt+2+0]=zr(xn,wn,pn),Qe[rt+3+0]=zr(Wn,xn,wn)}function os(Qe,rt){var It=Qe[rt+1-32],zt=Qe[rt+2-32],an=Qe[rt+3-32],dn=Qe[rt+4-32],pn=Qe[rt+5-32],wn=Qe[rt+6-32],xn=Qe[rt+7-32];Qe[rt+0+0]=zr(Qe[rt+0-32],It,zt),Qe[rt+1+0]=Qe[rt+0+32]=zr(It,zt,an),Qe[rt+2+0]=Qe[rt+1+32]=Qe[rt+0+64]=zr(zt,an,dn),Qe[rt+3+0]=Qe[rt+2+32]=Qe[rt+1+64]=Qe[rt+0+96]=zr(an,dn,pn),Qe[rt+3+32]=Qe[rt+2+64]=Qe[rt+1+96]=zr(dn,pn,wn),Qe[rt+3+64]=Qe[rt+2+96]=zr(pn,wn,xn),Qe[rt+3+96]=zr(wn,xn,xn)}function dl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1-32],pn=Qe[rt+0-32],wn=Qe[rt+1-32],xn=Qe[rt+2-32],Wn=Qe[rt+3-32];Qe[rt+0+0]=Qe[rt+1+64]=dn+pn+1>>1,Qe[rt+1+0]=Qe[rt+2+64]=pn+wn+1>>1,Qe[rt+2+0]=Qe[rt+3+64]=wn+xn+1>>1,Qe[rt+3+0]=xn+Wn+1>>1,Qe[rt+0+96]=zr(an,zt,It),Qe[rt+0+64]=zr(zt,It,dn),Qe[rt+0+32]=Qe[rt+1+96]=zr(It,dn,pn),Qe[rt+1+32]=Qe[rt+2+96]=zr(dn,pn,wn),Qe[rt+2+32]=Qe[rt+3+96]=zr(pn,wn,xn),Qe[rt+3+32]=zr(wn,xn,Wn)}function fA(Qe,rt){var It=Qe[rt+0-32],zt=Qe[rt+1-32],an=Qe[rt+2-32],dn=Qe[rt+3-32],pn=Qe[rt+4-32],wn=Qe[rt+5-32],xn=Qe[rt+6-32],Wn=Qe[rt+7-32];Qe[rt+0+0]=It+zt+1>>1,Qe[rt+1+0]=Qe[rt+0+64]=zt+an+1>>1,Qe[rt+2+0]=Qe[rt+1+64]=an+dn+1>>1,Qe[rt+3+0]=Qe[rt+2+64]=dn+pn+1>>1,Qe[rt+0+32]=zr(It,zt,an),Qe[rt+1+32]=Qe[rt+0+96]=zr(zt,an,dn),Qe[rt+2+32]=Qe[rt+1+96]=zr(an,dn,pn),Qe[rt+3+32]=Qe[rt+2+96]=zr(dn,pn,wn),Qe[rt+3+64]=zr(pn,wn,xn),Qe[rt+3+96]=zr(wn,xn,Wn)}function Bl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96];Qe[rt+0+0]=It+zt+1>>1,Qe[rt+2+0]=Qe[rt+0+32]=zt+an+1>>1,Qe[rt+2+32]=Qe[rt+0+64]=an+dn+1>>1,Qe[rt+1+0]=zr(It,zt,an),Qe[rt+3+0]=Qe[rt+1+32]=zr(zt,an,dn),Qe[rt+3+32]=Qe[rt+1+64]=zr(an,dn,dn),Qe[rt+3+64]=Qe[rt+2+64]=Qe[rt+0+96]=Qe[rt+1+96]=Qe[rt+2+96]=Qe[rt+3+96]=dn}function fl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96],pn=Qe[rt-1-32],wn=Qe[rt+0-32],xn=Qe[rt+1-32],Wn=Qe[rt+2-32];Qe[rt+0+0]=Qe[rt+2+32]=It+pn+1>>1,Qe[rt+0+32]=Qe[rt+2+64]=zt+It+1>>1,Qe[rt+0+64]=Qe[rt+2+96]=an+zt+1>>1,Qe[rt+0+96]=dn+an+1>>1,Qe[rt+3+0]=zr(wn,xn,Wn),Qe[rt+2+0]=zr(pn,wn,xn),Qe[rt+1+0]=Qe[rt+3+32]=zr(It,pn,wn),Qe[rt+1+32]=Qe[rt+3+64]=zr(zt,It,pn),Qe[rt+1+64]=Qe[rt+3+96]=zr(an,zt,It),Qe[rt+1+96]=zr(dn,an,zt)}function DA(Qe,rt){var It;for(It=0;8>It;++It)he(Qe,rt+32*It,Qe,rt-32,8)}function al(Qe,rt){var It;for(It=0;8>It;++It)De(Qe,rt,Qe[rt-1],8),rt+=32}function hA(Qe,rt,It){var zt;for(zt=0;8>zt;++zt)De(rt,It+32*zt,Qe,8)}function Qc(Qe,rt){var It,zt=8;for(It=0;8>It;++It)zt+=Qe[rt+It-32]+Qe[rt-1+32*It];hA(zt>>4,Qe,rt)}function JA(Qe,rt){var It,zt=4;for(It=0;8>It;++It)zt+=Qe[rt+It-32];hA(zt>>3,Qe,rt)}function Mf(Qe,rt){var It,zt=4;for(It=0;8>It;++It)zt+=Qe[rt-1+32*It];hA(zt>>3,Qe,rt)}function Rf(Qe,rt){hA(128,Qe,rt)}function yd(Qe,rt,It){var zt=Qe[rt-It],an=Qe[rt+0],dn=3*(an-zt)+Kg[1020+Qe[rt-2*It]-Qe[rt+It]],pn=f0[112+(dn+4>>3)];Qe[rt-It]=Nd[255+zt+f0[112+(dn+3>>3)]],Qe[rt+0]=Nd[255+an-pn]}function sf(Qe,rt,It,zt){var an=Qe[rt+0],dn=Qe[rt+It];return Pf[255+Qe[rt-2*It]-Qe[rt-It]]>zt||Pf[255+dn-an]>zt}function Ld(Qe,rt,It,zt){return 4*Pf[255+Qe[rt-It]-Qe[rt+0]]+Pf[255+Qe[rt-2*It]-Qe[rt+It]]<=zt}function F0(Qe,rt,It,zt,an){var dn=Qe[rt-3*It],pn=Qe[rt-2*It],wn=Qe[rt-It],xn=Qe[rt+0],Wn=Qe[rt+It],jr=Qe[rt+2*It],bi=Qe[rt+3*It];return 4*Pf[255+wn-xn]+Pf[255+pn-Wn]>zt?0:Pf[255+Qe[rt-4*It]-dn]<=an&&Pf[255+dn-pn]<=an&&Pf[255+pn-wn]<=an&&Pf[255+bi-jr]<=an&&Pf[255+jr-Wn]<=an&&Pf[255+Wn-xn]<=an}function nd(Qe,rt,It,zt){var an=2*zt+1;for(zt=0;16>zt;++zt)Ld(Qe,rt+zt,It,an)&&yd(Qe,rt+zt,It)}function Oh(Qe,rt,It,zt){var an=2*zt+1;for(zt=0;16>zt;++zt)Ld(Qe,rt+zt*It,1,an)&&yd(Qe,rt+zt*It,1)}function M0(Qe,rt,It,zt){var an;for(an=3;0>7,Aa=18*ma+63>>7,ma=9*ma+63>>7;xn[Wn-3*jr]=Nd[255+xn[Wn-3*jr]+ma],xn[Wn-2*jr]=Nd[255+bi+Aa],xn[Wn-jr]=Nd[255+Xn+yi],xn[Wn+0]=Nd[255+Kr-yi],xn[Wn+jr]=Nd[255+Ai-Aa],xn[Wn+2*jr]=Nd[255+aa-ma]}rt+=zt}}function Hf(Qe,rt,It,zt,an,dn,pn,wn){for(dn=2*dn+1;0>3)],aa=f0[112+(aa+3>>3)],yi=Ai+1>>1;xn[Wn-2*jr]=Nd[255+xn[Wn-2*jr]+yi],xn[Wn-jr]=Nd[255+bi+aa],xn[Wn+0]=Nd[255+Xn-Ai],xn[Wn+jr]=Nd[255+Kr-yi]}rt+=zt}}function u0(Qe,rt,It,zt,an,dn){zf(Qe,rt,It,1,16,zt,an,dn)}function kh(Qe,rt,It,zt,an,dn){zf(Qe,rt,1,It,16,zt,an,dn)}function pp(Qe,rt,It,zt,an,dn){var pn;for(pn=3;0Wn?0:255:Wn)&255,Wn=xn,an[dn+wn]=jr}}function vA(Qe,rt,It,zt){var an=rt.width,dn=rt.o;if(ee(Qe!=null&&rt!=null),0>It||0>=zt||It+zt>dn)return null;if(!Qe.Cc){if(Qe.ga==null){var pn;if(Qe.ga=new Xl,(pn=Qe.ga==null)||(pn=rt.width*rt.o,ee(Qe.Gb.length==0),Qe.Gb=je(pn),Qe.Uc=0,Qe.Gb==null?pn=0:(Qe.mb=Qe.Gb,Qe.nb=Qe.Uc,Qe.rc=null,pn=1),pn=!pn),!pn){pn=Qe.ga;var wn=Qe.Fa,xn=Qe.P,Wn=Qe.qc,jr=Qe.mb,bi=Qe.nb,Xn=xn+1,Kr=Wn-1,Ai=pn.l;if(ee(wn!=null&&jr!=null&&rt!=null),Jg[0]=null,Jg[1]=Su,Jg[2]=LA,Jg[3]=hc,pn.ca=jr,pn.tb=bi,pn.c=rt.width,pn.i=rt.height,ee(0=Wn)rt=0;else if(pn.$a=3&wn[xn+0],pn.Z=wn[xn+0]>>2&3,pn.Lc=wn[xn+0]>>4&3,xn=wn[xn+0]>>6&3,0>pn.$a||1=pn.c*pn.i;pn=!rt}if(pn)return null;Qe.ga.Lc!=1?Qe.Ga=0:zt=dn-It}ee(Qe.ga!=null),ee(It+zt<=dn);e:{if(rt=(wn=Qe.ga).c,dn=wn.l.o,wn.$a==0){if(Xn=Qe.rc,Kr=Qe.Vc,Ai=Qe.Fa,xn=Qe.P+1+It*rt,Wn=Qe.mb,jr=Qe.nb+It*rt,ee(xn<=Qe.P+Qe.qc),wn.Z!=0)for(ee(Jg[wn.Z]!=null),pn=0;pn=rt)rt=1;else if(wn.ic||ao(),wn.ic){wn=pn.V,Xn=pn.Ba,Kr=pn.c;var aa=pn.i,yi=(Ai=1,xn=pn.$/Kr,Wn=pn.$%Kr,jr=pn.m,bi=pn.s,pn.$),Aa=Kr*aa,ma=Kr*rt,ho=bi.wc,Qa=yi(aa=Ze(Qa.G[0],Qa.H[0],jr)))wn[Xn+yi]=aa,++yi,++Wn>=Kr&&(Wn=0,++xn<=rt&&!(xn%16)&&fn(pn,xn));else{if(!(280>aa)){Ai=0;break t}aa=o0(aa-256,jr);var vl,Vs=Ze(Qa.G[4],Qa.H[4],jr);if(pi(jr),!(yi>=(Vs=s0(Kr,Vs=o0(Vs,jr)))&&Aa-yi>=aa)){Ai=0;break t}for(vl=0;vl=Kr;)Wn-=Kr,++xn<=rt&&!(xn%16)&&fn(pn,xn);yirt?rt:xn);break t}!Ai||jr.h&&yi=dn&&(Qe.Cc=1),zt=1}if(!zt)return null;if(Qe.Cc&&((zt=Qe.ga)!=null&&(zt.mc=null),Qe.ga=null,0>23,wn[xn+4*pn+1]=wn[xn+4*pn+1]*bi>>23,wn[xn+4*pn+2]=wn[xn+4*pn+2]*bi>>23)}rt+=dn}}function pc(Qe,rt,It,zt,an){for(;0>4)*xn>>16;Qe[rt+2*dn+0]=(240&pn|pn>>4)*xn>>16&240|(15&pn|pn<<4)*xn>>16>>4&15,Qe[rt+2*dn+1]=240&Wn|wn}rt+=an}}function Uc(Qe,rt,It,zt,an,dn,pn,wn){var xn,Wn,jr=255;for(Wn=0;Wn>8}function ao(){Ag=vc,jm=pc,fm=Uc,Zp=gi}function Ko(Qe,rt,It){qn[Qe]=function(zt,an,dn,pn,wn,xn,Wn,jr,bi,Xn,Kr,Ai,aa,yi,Aa,ma,ho){var Qa,vl=ho-1>>1,Vs=wn[xn+0]|Wn[jr+0]<<16,Qu=bi[Xn+0]|Kr[Ai+0]<<16;ee(zt!=null);var sl=3*Vs+Qu+131074>>2;for(rt(zt[an+0],255&sl,sl>>16,aa,yi),dn!=null&&(sl=3*Qu+Vs+131074>>2,rt(dn[pn+0],255&sl,sl>>16,Aa,ma)),Qa=1;Qa<=vl;++Qa){var pA=wn[xn+Qa]|Wn[jr+Qa]<<16,df=bi[Xn+Qa]|Kr[Ai+Qa]<<16,Uu=Vs+pA+Qu+df+524296,ll=Uu+2*(pA+Qu)>>3;sl=ll+Vs>>1,Vs=(Uu=Uu+2*(Vs+df)>>3)+pA>>1,rt(zt[an+2*Qa-1],255&sl,sl>>16,aa,yi+(2*Qa-1)*It),rt(zt[an+2*Qa-0],255&Vs,Vs>>16,aa,yi+(2*Qa-0)*It),dn!=null&&(sl=Uu+Qu>>1,Vs=ll+df>>1,rt(dn[pn+2*Qa-1],255&sl,sl>>16,Aa,ma+(2*Qa-1)*It),rt(dn[pn+2*Qa+0],255&Vs,Vs>>16,Aa,ma+(2*Qa+0)*It)),Vs=pA,Qu=df}1&ho||(sl=3*Vs+Qu+131074>>2,rt(zt[an+ho-1],255&sl,sl>>16,aa,yi+(ho-1)*It),dn!=null&&(sl=3*Qu+Vs+131074>>2,rt(dn[pn+ho-1],255&sl,sl>>16,Aa,ma+(ho-1)*It)))}}function Pl(){wp[Gp]=f1,wp[Wo]=zv,wp[EA]=h1,wp[wA]=Hv,wp[Mc]=Wv,wp[Dc]=Xv,wp[Ed]=p1,wp[zc]=zv,wp[T0]=Hv,wp[dd]=Wv,wp[hh]=Xv}function Xu(Qe){return Qe&~g1?0>Qe?0:255:Qe>>Zv}function Lu(Qe,rt){return Xu((19077*Qe>>8)+(26149*rt>>8)-14234)}function Pu(Qe,rt,It){return Xu((19077*Qe>>8)-(6419*rt>>8)-(13320*It>>8)+8708)}function oc(Qe,rt){return Xu((19077*Qe>>8)+(33050*rt>>8)-17685)}function Zd(Qe,rt,It,zt,an){zt[an+0]=Lu(Qe,It),zt[an+1]=Pu(Qe,rt,It),zt[an+2]=oc(Qe,rt)}function qA(Qe,rt,It,zt,an){zt[an+0]=oc(Qe,rt),zt[an+1]=Pu(Qe,rt,It),zt[an+2]=Lu(Qe,It)}function cd(Qe,rt,It,zt,an){var dn=Pu(Qe,rt,It);rt=dn<<3&224|oc(Qe,rt)>>3,zt[an+0]=248&Lu(Qe,It)|dn>>5,zt[an+1]=rt}function ch(Qe,rt,It,zt,an){var dn=240&oc(Qe,rt)|15;zt[an+0]=240&Lu(Qe,It)|Pu(Qe,rt,It)>>4,zt[an+1]=dn}function A0(Qe,rt,It,zt,an){zt[an+0]=255,Zd(Qe,rt,It,zt,an+1)}function lf(Qe,rt,It,zt,an){qA(Qe,rt,It,zt,an),zt[an+3]=255}function Rc(Qe,rt,It,zt,an){Zd(Qe,rt,It,zt,an),zt[an+3]=255}function Df(Qe,rt,It){qn[Qe]=function(zt,an,dn,pn,wn,xn,Wn,jr,bi){for(var Xn=jr+(-2&bi)*It;jr!=Xn;)rt(zt[an+0],dn[pn+0],wn[xn+0],Wn,jr),rt(zt[an+1],dn[pn+0],wn[xn+0],Wn,jr+It),an+=2,++pn,++xn,jr+=2*It;1&bi&&rt(zt[an+0],dn[pn+0],wn[xn+0],Wn,jr)}}function Qh(Qe,rt,It){return It==0?Qe==0?rt==0?6:5:rt==0?4:0:It}function gp(Qe,rt,It,zt,an){switch(Qe>>>30){case 3:Hp(rt,It,zt,an,0);break;case 2:dh(rt,It,zt,an);break;case 1:yA(rt,It,zt,an)}}function Pd(Qe,rt){var It,zt,an=rt.M,dn=rt.Nb,pn=Qe.oc,wn=Qe.pc+40,xn=Qe.oc,Wn=Qe.pc+584,jr=Qe.oc,bi=Qe.pc+600;for(It=0;16>It;++It)pn[wn+32*It-1]=129;for(It=0;8>It;++It)xn[Wn+32*It-1]=129,jr[bi+32*It-1]=129;for(0It;++It)he(pn,wn+32*It-4,pn,wn+32*It+12,4);for(It=-1;8>It;++It)he(xn,Wn+32*It-4,xn,Wn+32*It+4,4),he(jr,bi+32*It-4,jr,bi+32*It+4,4)}var Kr=Qe.Gd,Ai=Qe.Hd+zt,aa=Xn.ad,yi=Xn.Hc;if(0=Qe.za-1?De(Aa,ma,Kr[Ai].y[15],4):he(Aa,ma,Kr[Ai+1].y,0,4)),It=0;4>It;It++)Aa[ma+128+It]=Aa[ma+256+It]=Aa[ma+384+It]=Aa[ma+0+It];for(It=0;16>It;++It,yi<<=2)Aa=pn,ma=wn+Gv[It],Kp[Xn.Ob[It]](Aa,ma),gp(yi,aa,16*+It,Aa,ma)}else if(Aa=Qh(zt,an,Xn.Ob[0]),Yg[Aa](pn,wn),yi!=0)for(It=0;16>It;++It,yi<<=2)gp(yi,aa,16*+It,pn,wn+Gv[It]);for(It=Xn.Gc,Aa=Qh(zt,an,Xn.Dd),Pg[Aa](xn,Wn),Pg[Aa](jr,bi),yi=aa,Aa=xn,ma=Wn,255&(Xn=0|It)&&(170&Xn?fh(yi,256,Aa,ma):oA(yi,256,Aa,ma)),Xn=jr,yi=bi,255&(It>>=8)&&(170&It?fh(aa,320,Xn,yi):oA(aa,320,Xn,yi)),anIt;++It)he(Kr,Ai+It*Qe.R,pn,wn+32*It,16);for(It=0;8>It;++It)he(aa,Xn+It*Qe.B,xn,Wn+32*It,8),he(yi,Aa+It*Qe.B,jr,bi+32*It,8)}}function ZA(Qe,rt,It,zt,an,dn,pn,wn,xn){var Wn=[0],jr=[0],bi=0,Xn=xn!=null?xn.kd:0,Kr=xn!=null?xn:new Ma;if(Qe==null||12>It)return 7;Kr.data=Qe,Kr.w=rt,Kr.ha=It,rt=[rt],It=[It],Kr.gb=[Kr.gb];e:{var Ai=rt,aa=It,yi=Kr.gb;if(ee(Qe!=null),ee(aa!=null),ee(yi!=null),yi[0]=0,12<=aa[0]&&!x(Qe,Ai[0],"RIFF")){if(x(Qe,Ai[0]+8,"WEBP")){yi=3;break e}var Aa=tl(Qe,Ai[0]+4);if(12>Aa||4294967286aa[0]-8){yi=7;break e}yi[0]=Aa,Ai[0]+=12,aa[0]-=12}yi=0}if(yi!=0)return yi;for(Aa=0yi[0])yi=7;else{if(!x(ma,aa[0],"VP8X")){if(tl(ma,aa[0]+4)!=10){yi=3;break e}if(18>yi[0]){yi=7;break e}var Vs=tl(ma,aa[0]+8),Qu=1+is(ma,aa[0]+12);if(2147483648<=Qu*(ma=1+is(ma,aa[0]+15))){yi=3;break e}vl!=null&&(vl[0]=Vs),ho!=null&&(ho[0]=Qu),Qa!=null&&(Qa[0]=ma),aa[0]+=18,yi[0]-=18,sl[0]=1}yi=0}}if(bi=bi[0],Ai=Ai[0],yi!=0)return yi;if(aa=!!(2&Ai),!Aa&&bi)return 3;if(dn!=null&&(dn[0]=!!(16&Ai)),pn!=null&&(pn[0]=aa),wn!=null&&(wn[0]=0),pn=Wn[0],Ai=jr[0],bi&&aa&&xn==null){yi=0;break}if(4>It){yi=7;break}if(Aa&&bi||!Aa&&!bi&&!x(Qe,rt[0],"ALPH")){It=[It],Kr.na=[Kr.na],Kr.P=[Kr.P],Kr.Sa=[Kr.Sa];e:{Vs=Qe,yi=rt,Aa=It;var sl=Kr.gb;ho=Kr.na,Qa=Kr.P,vl=Kr.Sa,Qu=22,ee(Vs!=null),ee(Aa!=null),ma=yi[0];var pA=Aa[0];for(ee(ho!=null),ee(vl!=null),ho[0]=null,Qa[0]=null,vl[0]=0;;){if(yi[0]=ma,Aa[0]=pA,8>pA){yi=7;break e}var df=tl(Vs,ma+4);if(4294967286sl){yi=3;break e}if(!x(Vs,ma,"VP8 ")||!x(Vs,ma,"VP8L")){yi=0;break e}if(pA[0]Aa[0])yi=7;else{if(ma||Qu){if(sl=tl(sl,Vs+4),12<=ho&&sl>ho-12){yi=3;break e}if(Xn&&sl>Aa[0]-8){yi=7;break e}Qa[0]=sl,yi[0]+=8,Aa[0]-=8,vl[0]=Qu}else vl[0]=5<=Aa[0]&&sl[Vs+0]==47&&!(sl[Vs+4]>>5),Qa[0]=Aa[0];yi=0}if(It=It[0],Kr.Ja=Kr.Ja[0],Kr.xa=Kr.xa[0],rt=rt[0],yi!=0)break;if(4294967286It){yi=7;break}wn=pn,Xn=Ai,aa=dn,Qe==null||5>It?Qe=0:5<=It&&Qe[rt+0]==47&&!(Qe[rt+4]>>5)?(Aa=[0],sl=[0],ho=[0],Vi(Qa=new Gn,Qe,rt,It),hp(Qa,Aa,sl,ho)?(wn!=null&&(wn[0]=Aa[0]),Xn!=null&&(Xn[0]=sl[0]),aa!=null&&(aa[0]=ho[0]),Qe=1):Qe=0):Qe=0}else{if(10>It){yi=7;break}wn=Ai,Qe==null||10>It||!di(Qe,rt+3,It-3)?Qe=0:(Xn=Qe[rt+0]|Qe[rt+1]<<8|Qe[rt+2]<<16,aa=16383&(Qe[rt+7]<<8|Qe[rt+6]),Qe=16383&(Qe[rt+9]<<8|Qe[rt+8]),1&Xn||3<(Xn>>1&7)||!(Xn>>4&1)||Xn>>5>=Kr.Ja||!aa||!Qe?Qe=0:(pn&&(pn[0]=aa),wn&&(wn[0]=Qe),Qe=1))}if(!Qe||(pn=pn[0],Ai=Ai[0],bi&&(Wn[0]!=pn||jr[0]!=Ai)))return 3;xn!=null&&(xn[0]=Kr,xn.offset=rt-xn.w,ee(4294967286>rt-xn.w),ee(xn.offset==xn.ha-It));break}return yi==0||yi==7&&bi&&xn==null?(dn!=null&&(dn[0]|=Kr.na!=null&&0It||(dn&=-2,pn&=-2),0>dn||0>pn||0>=wn||0>=xn||dn+wn>zt||pn+xn>an))return 0;if(rt.v=dn,rt.j=pn,rt.va=dn+wn,rt.o=pn+xn,rt.U=wn,rt.T=xn,rt.da=Qe!=null&&0Qe.S){var rt=Qe.f.RGBA;rt.fb+=(Qe.height-1)*rt.A,rt.A=-rt.A}else rt=Qe.f.kb,Qe=Qe.height,rt.O+=(Qe-1)*rt.fa,rt.fa=-rt.fa,rt.N+=(Qe-1>>1)*rt.Ab,rt.Ab=-rt.Ab,rt.W+=(Qe-1>>1)*rt.Db,rt.Db=-rt.Db,rt.F!=null&&(rt.J+=(Qe-1)*rt.lb,rt.lb=-rt.lb);return 0}function c0(Qe,rt,It,zt){if(zt==null||0>=Qe||0>=rt)return 2;if(It!=null){if(It.Da){var an=It.cd,dn=It.bd,pn=-2&It.v,wn=-2&It.j;if(0>pn||0>wn||0>=an||0>=dn||pn+an>Qe||wn+dn>rt)return 2;Qe=an,rt=dn}if(It.da){if(!jl(Qe,rt,an=[It.ib],dn=[It.hb]))return 2;Qe=an[0],rt=dn[0]}}zt.width=Qe,zt.height=rt;e:{var xn=zt.width,Wn=zt.height;if(Qe=zt.S,0>=xn||0>=Wn||!(Qe>=Gp&&13>Qe))Qe=2;else{if(0>=zt.Rd&&zt.sd==null){pn=dn=an=rt=0;var jr=(wn=xn*Kv[Qe])*Wn;if(11>Qe||(dn=(Wn+1)/2*(rt=(xn+1)/2),Qe==12&&(pn=(an=xn)*Wn)),(Wn=je(jr+2*dn+pn))==null){Qe=1;break e}zt.sd=Wn,11>Qe?((xn=zt.f.RGBA).eb=Wn,xn.fb=0,xn.A=wn,xn.size=jr):((xn=zt.f.kb).y=Wn,xn.O=0,xn.fa=wn,xn.Fd=jr,xn.f=Wn,xn.N=0+jr,xn.Ab=rt,xn.Cd=dn,xn.ea=Wn,xn.W=0+jr+dn,xn.Db=rt,xn.Ed=dn,Qe==12&&(xn.F=Wn,xn.J=0+jr+2*dn),xn.Tc=pn,xn.lb=an)}if(rt=1,an=zt.S,dn=zt.width,pn=zt.height,an>=Gp&&13>an)if(11>an)Qe=zt.f.RGBA,rt&=(wn=Math.abs(Qe.A))*(pn-1)+dn<=Qe.size,rt&=wn>=dn*Kv[an],rt&=Qe.eb!=null;else{Qe=zt.f.kb,wn=(dn+1)/2,jr=(pn+1)/2,xn=Math.abs(Qe.fa),Wn=Math.abs(Qe.Ab);var bi=Math.abs(Qe.Db),Xn=Math.abs(Qe.lb),Kr=Xn*(pn-1)+dn;rt&=xn*(pn-1)+dn<=Qe.Fd,rt&=Wn*(jr-1)+wn<=Qe.Cd,rt=(rt&=bi*(jr-1)+wn<=Qe.Ed)&xn>=dn&Wn>=wn&bi>=wn,rt&=Qe.y!=null,rt&=Qe.f!=null,rt&=Qe.ea!=null,an==12&&(rt&=Xn>=dn,rt&=Kr<=Qe.Tc,rt&=Qe.F!=null)}else rt=0;Qe=rt?0:2}}return Qe!=0||It!=null&&It.fd&&(Qe=Uh(zt)),Qe}var D0=64,uf=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Af=24,d0=32,aA=8,mp=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Hs("Predictor0","PredictorAdd0"),qn.Predictor0=function(){return 4278190080},qn.Predictor1=function(Qe){return Qe},qn.Predictor2=function(Qe,rt,It){return rt[It+0]},qn.Predictor3=function(Qe,rt,It){return rt[It+1]},qn.Predictor4=function(Qe,rt,It){return rt[It-1]},qn.Predictor5=function(Qe,rt,It){return El(El(Qe,rt[It+1]),rt[It+0])},qn.Predictor6=function(Qe,rt,It){return El(Qe,rt[It-1])},qn.Predictor7=function(Qe,rt,It){return El(Qe,rt[It+0])},qn.Predictor8=function(Qe,rt,It){return El(rt[It-1],rt[It+0])},qn.Predictor9=function(Qe,rt,It){return El(rt[It+0],rt[It+1])},qn.Predictor10=function(Qe,rt,It){return El(El(Qe,rt[It-1]),El(rt[It+0],rt[It+1]))},qn.Predictor11=function(Qe,rt,It){var zt=rt[It+0];return 0>=mu(zt>>24&255,Qe>>24&255,(rt=rt[It-1])>>24&255)+mu(zt>>16&255,Qe>>16&255,rt>>16&255)+mu(zt>>8&255,Qe>>8&255,rt>>8&255)+mu(255&zt,255&Qe,255&rt)?zt:Qe},qn.Predictor12=function(Qe,rt,It){var zt=rt[It+0];return(RA((Qe>>24&255)+(zt>>24&255)-((rt=rt[It-1])>>24&255))<<24|RA((Qe>>16&255)+(zt>>16&255)-(rt>>16&255))<<16|RA((Qe>>8&255)+(zt>>8&255)-(rt>>8&255))<<8|RA((255&Qe)+(255&zt)-(255&rt)))>>>0},qn.Predictor13=function(Qe,rt,It){var zt=rt[It-1];return(qu((Qe=El(Qe,rt[It+0]))>>24&255,zt>>24&255)<<24|qu(Qe>>16&255,zt>>16&255)<<16|qu(Qe>>8&255,zt>>8&255)<<8|qu(255&Qe,255&zt))>>>0};var Dg=qn.PredictorAdd0;qn.PredictorAdd1=iA,Hs("Predictor2","PredictorAdd2"),Hs("Predictor3","PredictorAdd3"),Hs("Predictor4","PredictorAdd4"),Hs("Predictor5","PredictorAdd5"),Hs("Predictor6","PredictorAdd6"),Hs("Predictor7","PredictorAdd7"),Hs("Predictor8","PredictorAdd8"),Hs("Predictor9","PredictorAdd9"),Hs("Predictor10","PredictorAdd10"),Hs("Predictor11","PredictorAdd11"),Hs("Predictor12","PredictorAdd12"),Hs("Predictor13","PredictorAdd13");var Up=qn.PredictorAdd2;cl("ColorIndexInverseTransform","MapARGB","32b",function(Qe){return Qe>>8&255},function(Qe){return Qe}),cl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Qe){return Qe},function(Qe){return Qe>>8&255});var yc,vp=qn.ColorIndexInverseTransform,Xf=qn.MapARGB,Lf=qn.VP8LColorIndexInverseTransformAlpha,Rp=qn.MapAlpha,ml=qn.VP8LPredictorsAdd=[];ml.length=16,(qn.VP8LPredictors=[]).length=16,(qn.VP8LPredictorsAdd_C=[]).length=16,(qn.VP8LPredictors_C=[]).length=16;var zp,L0,PA,pl,P0,N0,cf,Hp,dh,fh,yA,oA,Ec,VA,Rh,Wp,Xp,Lg,Vg,zh,bm,Cm,cm,dm,Ag,jm,fm,Zp,Vp=je(511),hm=je(2041),Bm=je(225),Gg=je(767),pm=0,Kg=hm,f0=Bm,Nd=Gg,Pf=Vp,Gp=0,Wo=1,EA=2,wA=3,Mc=4,Dc=5,Ed=6,zc=7,T0=8,dd=9,hh=10,wa=[2,3,7],ol=[3,3,11],ka=[280,256,256,256,40],sA=[0,1,1,1,0],GA=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],eA=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Vd=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],j0=8,yp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Ep=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Zf=null,ph=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],O0=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],h0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],A1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],c1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Yg=[],Kp=[],Pg=[],d1=1,Rv=2,Jg=[],wp=[];Ko("UpsampleRgbLinePair",Zd,3),Ko("UpsampleBgrLinePair",qA,3),Ko("UpsampleRgbaLinePair",Rc,4),Ko("UpsampleBgraLinePair",lf,4),Ko("UpsampleArgbLinePair",A0,4),Ko("UpsampleRgba4444LinePair",ch,2),Ko("UpsampleRgb565LinePair",cd,2);var f1=qn.UpsampleRgbLinePair,h1=qn.UpsampleBgrLinePair,zv=qn.UpsampleRgbaLinePair,Hv=qn.UpsampleBgraLinePair,Wv=qn.UpsampleArgbLinePair,Xv=qn.UpsampleRgba4444LinePair,p1=qn.UpsampleRgb565LinePair,ov=16,sv=1<zt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),zt.ca.f.kb.F!=null&&ao()),zt.Pb&&0(xn=It.Md)?0:100Wn;++Wn)12>(bi=an.pb[Wn]).lc&&(bi.ia=xn*C1[0>bi.lc?0:bi.lc]>>3),jr|=bi.ia;jr&&(alert("todo:VP8InitRandom"),an.ia=1)}an.Ga=It.Id,100an.Ga&&(an.Ga=0)}(function(Xn,Kr){if(Xn==null)return 0;if(Kr==null)return Ni(Xn,2,"NULL VP8Io parameter in VP8Decode().");if(!Xn.cb&&!Fr(Xn,Kr))return 0;if(ee(Xn.cb),Kr.ac==null||Kr.ac(Kr)){Kr.ob&&(Xn.L=0);var Ai=lv[Xn.L];if(Xn.L==2?(Xn.yb=0,Xn.zb=0):(Xn.yb=Kr.v-Ai>>4,Xn.zb=Kr.j-Ai>>4,0>Xn.yb&&(Xn.yb=0),0>Xn.zb&&(Xn.zb=0)),Xn.Va=Kr.o+15+Ai>>4,Xn.Hb=Kr.va+15+Ai>>4,Xn.Hb>Xn.za&&(Xn.Hb=Xn.za),Xn.Va>Xn.Ub&&(Xn.Va=Xn.Ub),0Ai;++Ai){var yi;if(Xn.Qa.Cb){var Aa=Xn.Qa.Lb[Ai];Xn.Qa.Fb||(Aa+=aa.Tb)}else Aa=aa.Tb;for(yi=0;1>=yi;++yi){var ma=Xn.gd[Ai][yi],ho=Aa;if(aa.Pc&&(ho+=aa.vd[0],yi&&(ho+=aa.od[0])),0<(ho=0>ho?0:63>2:Qa>>1)>9-aa.wb&&(Qa=9-aa.wb),1>Qa&&(Qa=1),ma.dd=Qa,ma.tc=2*ho+Qa,ma.ld=40<=ho?2:15<=ho?1:0}else ma.tc=0;ma.La=yi}}}Ai=0}else Ni(Xn,6,"Frame setup failed"),Ai=Xn.a;if(Ai=Ai==0){if(Ai){Xn.$c=0,0Xn.Vb){if(Xn.Vb=0,Xn.Ec=je(ma),Xn.Fc=0,Xn.Ec==null){Ai=Ni(Xn,1,"no memory during frame initialization.");break t}Xn.Vb=ma}ma=Xn.Ec,ho=Xn.Fc,Xn.Ac=ma,Xn.Bc=ho,ho+=aa,Xn.Gd=pt(vl,mr),Xn.Hd=0,Xn.rb=pt(Vs+1,Vr),Xn.sb=1,Xn.wa=Qu?pt(Qu,Qr):null,Xn.Y=0,Xn.D.Nb=0,Xn.D.wa=Xn.wa,Xn.D.Y=Xn.Y,0=Ai;++Ai)Vp[255+Ai]=0>Ai?-Ai:Ai;for(Ai=-1020;1020>=Ai;++Ai)hm[1020+Ai]=-128>Ai?-128:127=Ai;++Ai)Bm[112+Ai]=-16>Ai?-16:15=Ai;++Ai)Gg[255+Ai]=0>Ai?0:255bA;++bA){var ff,NA=Hh[0+bA];for(ff=0;4>ff;++ff){NA=Uv[Hc[Vf+ff]][NA];for(var sc=h0[ga(Iu,NA[0])];0>3;for(sc=0;256>sc;sc+=16)bA[gh+sc]=p0}Gf=1,Yp=Vf[0]}var wc=15&Iu.la,hf=15&Wh.la;for(sc=0;4>sc;++sc){var k0=1&hf;for(p0=lc=0;4>p0;++p0)wc=wc>>1|(k0=(jd=Zf(Hc,Yp,jd=k0+(1&wc),wd.Sc,Gf,bA,gh))>Gf)<<7,lc=lc<<2|(3>=4,hf=hf>>1|k0<<7,ff=(ff<<8|lc)>>>0}for(Yp=wc,Gf=hf>>4,bd=0;4>bd;bd+=2){for(lc=0,wc=Iu.la>>4+bd,hf=Wh.la>>4+bd,sc=0;2>sc;++sc){for(k0=1&hf,p0=0;2>p0;++p0)jd=k0+(1&wc),wc=wc>>1|(k0=0<(jd=Zf(Hc,Vf[2],jd,wd.Qc,0,bA,gh)))<<3,lc=lc<<2|(3>=2,hf=hf>>1|k0<<5}NA|=lc<<4*bd,Yp|=wc<<4<=ll.zb&&ll.M<=ll.Va,ll.Aa==0)t:{if(Uu.M=ll.M,Uu.uc=Iu,Pd(ll,Uu),Td=1,Uu=(lc=ll.D).Nb,Iu=(NA=lv[ll.L])*ll.R,Hc=NA/2*ll.B,sc=16*Uu*ll.R,p0=8*Uu*ll.B,Vf=ll.sa,Hh=ll.ta-Iu+sc,wd=ll.qa,bA=ll.ra-Hc+p0,gh=ll.Ha,Wh=ll.Ia-Hc+p0,hf=(wc=lc.M)==0,ff=wc>=ll.Va-1,ll.Aa==2&&Pd(ll,lc),lc.uc)for(k0=(jd=ll).D.M,ee(jd.D.uc),lc=jd.yb;lc$o.o&&(wc=$o.o),$o.F=null,$o.J=null,ll.Fa!=null&&0>1),$o.W+=ll.B*(NA>>1),$o.F!=null&&($o.J+=$o.width*NA)),lc>1,$o.W+=$o.v>>1,$o.F!=null&&($o.J+=$o.v),$o.ka=lc-$o.j,$o.U=$o.va-$o.v,$o.T=wc-lc,Td=$o.put($o))}Uu+1!=ll.Ic||ff||(he(ll.sa,ll.ta-Iu,Vf,Hh+16*ll.R,Iu),he(ll.qa,ll.ra-Hc,wd,bA+8*ll.B,Hc),he(ll.Ha,ll.Ia-Hc,gh,Wh+8*ll.B,Hc))}if(!Td)return Ni(pA,6,"Output aborted.")}return 1}(Xn,Kr)),Kr.bc!=null&&Kr.bc(Kr),Ai&=1}return Ai?(Xn.cb=0,Ai):0})(Qe,zt)||(rt=Qe.a)}}else rt=Qe.a}rt==0&&pn.Oa!=null&&pn.Oa.fd&&(rt=Uh(pn.ba))}pn=rt}dn=pn!=0?null:11>dn?wn.f.RGBA.eb:wn.f.kb.y}else dn=null;return dn};var Kv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function bt(qn,si){for(var vn="",Qn=0;Qn<4;Qn++)vn+=String.fromCharCode(qn[si++]);return vn}function Mt(qn,si){return qn[si+0]|qn[si+1]<<8}function nn(qn,si){return(qn[si+0]|qn[si+1]<<8|qn[si+2]<<16)>>>0}function cn(qn,si){return(qn[si+0]|qn[si+1]<<8|qn[si+2]<<16|qn[si+3]<<24)>>>0}new vt;var Nt=[0],Tn=[0],Sn=[],jn=new vt,En=E,Cr=function(qn,si){var vn={},Qn=0,wr=!1,fr=0,Mi=0;if(vn.frames=[],!function(gn,Gn){for(var ir=0;ir<4;ir++)if(gn[Gn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(qn,si)){for(cn(qn,si+=4),si+=8;si>1&1}zi!="ANMF"&&(si+=mi)}return vn}}(En,0);Cr.response=En,Cr.rgbaoutput=!0,Cr.dataurl=!1;var sr=Cr.header?Cr.header:null,Jn=Cr.frames?Cr.frames:null;if(sr){sr.loop_counter=sr.loop_count,Nt=[sr.canvas_height],Tn=[sr.canvas_width];for(var wi=0;wi=2?Dn[1]:rs[0],rs[2]=Dn.length>=3?Dn[2]:rs[0],rs[3]=Dn.length>=4?Dn[3]:rs[1]),bt.margin=rs}});var Xi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Xi},set:function(Dn){Xi=Dn}});var Ki=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ki},set:function(Dn){Ki=Dn}});var ga=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ga},set:function(Dn){ga=Dn}}),Object.defineProperty(this,"ctx",{get:function(){return bt},set:function(Dn){Dn instanceof Mt&&(bt=Dn)}}),Object.defineProperty(this,"path",{get:function(){return bt.path},set:function(Dn){bt.path=Dn}});var fo=[];Object.defineProperty(this,"ctxStack",{get:function(){return fo},set:function(Dn){fo=Dn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Dn){var rs;rs=cn(Dn),this.ctx.fillStyle=rs.style,this.ctx.isFillTransparent=rs.a===0,this.ctx.fillOpacity=rs.a,this.pdf.setFillColor(rs.r,rs.g,rs.b,{a:rs.a}),this.pdf.setTextColor(rs.r,rs.g,rs.b,{a:rs.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Dn){var rs=cn(Dn);this.ctx.strokeStyle=rs.style,this.ctx.isStrokeTransparent=rs.a===0,this.ctx.strokeOpacity=rs.a,rs.a===0?this.pdf.setDrawColor(255,255,255):(rs.a,this.pdf.setDrawColor(rs.r,rs.g,rs.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Dn){["butt","round","square"].indexOf(Dn)!==-1&&(this.ctx.lineCap=Dn,this.pdf.setLineCap(Dn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Dn){isNaN(Dn)||(this.ctx.lineWidth=Dn,this.pdf.setLineWidth(Dn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Dn){["bevel","round","miter"].indexOf(Dn)!==-1&&(this.ctx.lineJoin=Dn,this.pdf.setLineJoin(Dn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Dn){isNaN(Dn)||(this.ctx.miterLimit=Dn,this.pdf.setMiterLimit(Dn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Dn){this.ctx.textBaseline=Dn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Dn){["right","end","center","left","start"].indexOf(Dn)!==-1&&(this.ctx.textAlign=Dn)}});var As=null,is=null,tl=null;Object.defineProperty(this,"fontFaces",{get:function(){return tl},set:function(Dn){As=null,is=null,tl=Dn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Dn){var rs;if(this.ctx.font=Dn,(rs=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Dn))!==null){var Mu=rs[1];rs[2];var jl=rs[3],Ga=rs[4];rs[5];var Ol=rs[6],Hs=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Ga)[2];Ga=Math.floor(Hs==="px"?parseFloat(Ga)*this.pdf.internal.scaleFactor:Hs==="em"?parseFloat(Ga)*this.pdf.getFontSize():parseFloat(Ga)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Ga);var Ll=function(cl){var td,Du,wu=[],ku=cl.trim();if(ku==="")return Dm;if(ku in sp)return[sp[ku]];for(;ku!=="";){switch(Du=null,td=(ku=lp(ku)).charAt(0)){case'"':case"'":Du=I0(ku.substring(1),td);break;default:Du=kp(ku)}if(Du===null||(wu.push(Du[0]),(ku=lp(Du[1]))!==""&&ku.charAt(0)!==","))return Dm;ku=ku.replace(/^,/,"")}return wu}(Ol);if(this.fontFaces){var El=function(cl,td){var Du=cl.getFontList(),wu=JSON.stringify(Du);if(As===null||is!==wu){var ku=function($u){var Cl=[];return Object.keys($u).forEach(function(fc){$u[fc].forEach(function(Wl){var Es=null;switch(Wl){case"bold":Es={family:fc,weight:"bold"};break;case"italic":Es={family:fc,style:"italic"};break;case"bolditalic":Es={family:fc,weight:"bold",style:"italic"};break;case"":case"normal":Es={family:fc}}Es!==null&&(Es.ref={name:fc,style:Wl},Cl.push(Es))})}),Cl}(Du);As=function($u){for(var Cl={},fc=0;fc<$u.length;++fc){var Wl=uh($u[fc]),Es=Wl.family,Fc=Wl.stretch,xu=Wl.style,kl=Wl.weight;Cl[Es]=Cl[Es]||{},Cl[Es][Fc]=Cl[Es][Fc]||{},Cl[Es][Fc][xu]=Cl[Es][Fc][xu]||{},Cl[Es][Fc][xu][kl]=Wl}return Cl}(ku.concat(td)),is=wu}return As}(this.pdf,this.fontFaces),RA=Ll.map(function(cl){return{family:cl,stretch:"normal",weight:jl,style:Mu}}),qu=function(cl,td,Du){for(var wu=(Du=Du||{}).defaultFontFamily||"times",ku=Object.assign({},Op,Du.genericFontFamilies||{}),$u=null,Cl=null,fc=0;fc=700||Mu==="bold")&&(mu="bold"),Mu==="italic"&&(mu+="italic"),mu.length===0&&(mu="normal");for(var iA="",_u={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ks=0;Ks=2*Math.PI&&(Mr=0,Gr=2*Math.PI),this.path.push({type:"arc",x:gn,y:Gn,radius:ir,startAngle:Mr,endAngle:Gr,counterclockwise:pi})},nn.prototype.arcTo=function(gn,Gn,ir,Mr,Gr){throw new Error("arcTo not implemented.")},nn.prototype.rect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(gn,Gn),this.lineTo(gn+ir,Gn),this.lineTo(gn+ir,Gn+Mr),this.lineTo(gn,Gn+Mr),this.lineTo(gn,Gn),this.lineTo(gn+ir,Gn),this.lineTo(gn,Gn)},nn.prototype.fillRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Nt.call(this)){var Gr={};this.lineCap!=="butt"&&(Gr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Gr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(gn,Gn,ir,Mr),this.fill(),Gr.hasOwnProperty("lineCap")&&(this.lineCap=Gr.lineCap),Gr.hasOwnProperty("lineJoin")&&(this.lineJoin=Gr.lineJoin)}},nn.prototype.strokeRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Tn.call(this)||(this.beginPath(),this.rect(gn,Gn,ir,Mr),this.stroke())},nn.prototype.clearRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(gn,Gn,ir,Mr))},nn.prototype.save=function(gn){gn=typeof gn!="boolean"||gn;for(var Gn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};nn.prototype.drawImage=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki,ga){var fo=this.pdf.getImageProperties(gn),As=1,is=1,tl=1,Dn=1;Mr!==void 0&&Ki!==void 0&&(tl=Ki/Mr,Dn=ga/Gr,As=fo.width/Mr*Ki/Mr,is=fo.height/Gr*ga/Gr),pi===void 0&&(pi=Gn,Xi=ir,Gn=0,ir=0),Mr!==void 0&&Ki===void 0&&(Ki=Mr,ga=Gr),Mr===void 0&&Ki===void 0&&(Ki=fo.width,ga=fo.height);var rs=this.ctx.transform.decompose(),Mu=mi(rs.rotate.shx),jl=new vt,Ga=(jl=(jl=(jl=jl.multiply(rs.translate)).multiply(rs.skew)).multiply(rs.scale)).applyToRectangle(new st(pi-Gn*tl,Xi-ir*Dn,Mr*As,Gr*is));if(this.autoPaging){for(var Ol,Hs=jn.call(this,Ga),Ll=[],El=0;ElRA||muGa||Hs0)){for(;ga>=0;ga--)if(Gr[ga-1].close!==!0&&Gr[ga-1].begin!==!0){Gr[ga-1].deltas.push(ir),Gr[ga-1].abs.push(Ki);break}}break;case"bct":ir=[Ki.x1-pi[Xi-1].x,Ki.y1-pi[Xi-1].y,Ki.x2-pi[Xi-1].x,Ki.y2-pi[Xi-1].y,Ki.x-pi[Xi-1].x,Ki.y-pi[Xi-1].y],Gr[Gr.length-1].deltas.push(ir);break;case"qct":var fo=pi[Xi-1].x+2/3*(Ki.x1-pi[Xi-1].x),As=pi[Xi-1].y+2/3*(Ki.y1-pi[Xi-1].y),is=Ki.x+2/3*(Ki.x1-Ki.x),tl=Ki.y+2/3*(Ki.y1-Ki.y),Dn=Ki.x,rs=Ki.y;ir=[fo-pi[Xi-1].x,As-pi[Xi-1].y,is-pi[Xi-1].x,tl-pi[Xi-1].y,Dn-pi[Xi-1].x,rs-pi[Xi-1].y],Gr[Gr.length-1].deltas.push(ir);break;case"arc":Gr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Gr[Gr.length-1].abs)&&Gr[Gr.length-1].abs.push(Ki)}}Mr=Gn?null:gn==="stroke"?"stroke":"fill";for(var Mu=!1,jl=0;jl=.01&&(Mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Mr*gn.scale),Gr=this.lineWidth,this.lineWidth=Gr*gn.scale);var vu=this.autoPaging!=="text";if(vu||Ks.y+Ks.h<=El){if(vu||Ks.y>=Hs&&Ks.x<=qu){var cl=vu?gn.text:this.pdf.splitTextToSize(gn.text,gn.maxWidth||qu-Ks.x)[0],td=Cr([JSON.parse(JSON.stringify(is))],this.posX+this.margin[3],-iA+Hs+this.ctx.prevPageLastElemOffset)[0],Du=vu&&(Ol>jl||Ol=.01&&(this.pdf.setFontSize(Mr),this.lineWidth=Gr)}}else gn.scale>=.01&&(Mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Mr*gn.scale),Gr=this.lineWidth,this.lineWidth=Gr*gn.scale),this.pdf.text(gn.text,ga.x+this.posX,ga.y+this.posY,{angle:gn.angle,align:Gn,renderingMode:gn.renderingMode,maxWidth:gn.maxWidth}),gn.scale>=.01&&(this.pdf.setFontSize(Mr),this.lineWidth=Gr)},wr=function(gn,Gn,ir,Mr){ir=ir||0,Mr=Mr||0,this.pdf.internal.out(x(gn+ir)+" "+he(Gn+Mr)+" l")},fr=function(gn,Gn,ir){return this.pdf.lines(gn,Gn,ir,null,null)},Mi=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki){this.pdf.internal.out([ee(De(ir+gn)),ee(je(Mr+Gn)),ee(De(Gr+gn)),ee(je(pi+Gn)),ee(De(Xi+gn)),ee(je(Ki+Gn)),"c"].join(" "))},zi=function(gn,Gn,ir,Mr){for(var Gr=2*Math.PI,pi=Math.PI/2;Gn>ir;)Gn-=Gr;var Xi=Math.abs(ir-Gn);Xi1e-5;){var As=fo+ga*Math.min(Xi,pi);Ki.push(Gi.call(this,gn,fo,As)),Xi-=Math.abs(As-fo),fo=As}return Ki},Gi=function(gn,Gn,ir){var Mr=(ir-Gn)/2,Gr=gn*Math.cos(Mr),pi=gn*Math.sin(Mr),Xi=Gr,Ki=-pi,ga=Xi*Xi+Ki*Ki,fo=ga+Xi*Gr+Ki*pi,As=4/3*(Math.sqrt(2*ga*fo)-fo)/(Xi*pi-Ki*Gr),is=Xi-As*Ki,tl=Ki+As*Xi,Dn=is,rs=-tl,Mu=Mr+Gn,jl=Math.cos(Mu),Ga=Math.sin(Mu);return{x1:gn*Math.cos(Gn),y1:gn*Math.sin(Gn),x2:is*jl-tl*Ga,y2:is*Ga+tl*jl,x3:Dn*jl-rs*Ga,y3:Dn*Ga+rs*jl,x4:gn*Math.cos(ir),y4:gn*Math.sin(ir)}},mi=function(gn){return 180*gn/Math.PI},Vi=function(gn,Gn,ir,Mr,Gr,pi){var Xi=gn+.5*(ir-gn),Ki=Gn+.5*(Mr-Gn),ga=Gr+.5*(ir-Gr),fo=pi+.5*(Mr-pi),As=Math.min(gn,Gr,Xi,ga),is=Math.max(gn,Gr,Xi,ga),tl=Math.min(Gn,pi,Ki,fo),Dn=Math.max(Gn,pi,Ki,fo);return new st(As,tl,is-As,Dn-tl)},bo=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki){var ga,fo,As,is,tl,Dn,rs,Mu,jl,Ga,Ol,Hs,Ll,El,RA=ir-gn,qu=Mr-Gn,mu=Gr-ir,iA=pi-Mr,_u=Xi-Gr,Ks=Ki-pi;for(fo=0;fo<41;fo++)jl=(rs=(As=gn+(ga=fo/40)*RA)+ga*((tl=ir+ga*mu)-As))+ga*(tl+ga*(Gr+ga*_u-tl)-rs),Ga=(Mu=(is=Gn+ga*qu)+ga*((Dn=Mr+ga*iA)-is))+ga*(Dn+ga*(pi+ga*Ks-Dn)-Mu),fo==0?(Ol=jl,Hs=Ga,Ll=jl,El=Ga):(Ol=Math.min(Ol,jl),Hs=Math.min(Hs,Ga),Ll=Math.max(Ll,jl),El=Math.max(El,Ga));return new st(Math.round(Ol),Math.round(Hs),Math.round(Ll-Ol),Math.round(El-Hs))},Na=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var gn,Gn,ir=(gn=this.ctx.lineDash,Gn=this.ctx.lineDashOffset,JSON.stringify({lineDash:gn,lineDashOffset:Gn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(Gs.API),function(E){var ee=function(pt){var st,vt,bt,Mt,nn,cn,Nt,Tn,Sn,jn;for(/[^\x00-\xFF]/.test(pt),vt=[],bt=0,Mt=(pt+=st="\0\0\0\0".slice(pt.length%4||4)).length;Mt>bt;bt+=4)(nn=(pt.charCodeAt(bt)<<24)+(pt.charCodeAt(bt+1)<<16)+(pt.charCodeAt(bt+2)<<8)+pt.charCodeAt(bt+3))!==0?(cn=(nn=((nn=((nn=((nn=(nn-(jn=nn%85))/85)-(Sn=nn%85))/85)-(Tn=nn%85))/85)-(Nt=nn%85))/85)%85,vt.push(cn+33,Nt+33,Tn+33,Sn+33,jn+33)):vt.push(122);return function(En,Cr){for(var sr=Cr;sr>0;sr--)En.pop()}(vt,st.length),String.fromCharCode.apply(String,vt)+"~>"},x=function(pt){var st,vt,bt,Mt,nn,cn=String,Nt="length",Tn=255,Sn="charCodeAt",jn="slice",En="replace";for(pt[jn](-2),pt=pt[jn](0,-2)[En](/\s/g,"")[En]("z","!!!!!"),bt=[],Mt=0,nn=(pt+=st="uuuuu"[jn](pt[Nt]%5||5))[Nt];nn>Mt;Mt+=5)vt=52200625*(pt[Sn](Mt)-33)+614125*(pt[Sn](Mt+1)-33)+7225*(pt[Sn](Mt+2)-33)+85*(pt[Sn](Mt+3)-33)+(pt[Sn](Mt+4)-33),bt.push(Tn&vt>>24,Tn&vt>>16,Tn&vt>>8,Tn&vt);return function(Cr,sr){for(var Jn=sr;Jn>0;Jn--)Cr.pop()}(bt,st[Nt]),cn.fromCharCode.apply(cn,bt)},he=function(pt){return pt.split("").map(function(st){return("0"+st.charCodeAt().toString(16)).slice(-2)}).join("")+">"},De=function(pt){var st=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((pt=pt.replace(/\s/g,"")).indexOf(">")!==-1&&(pt=pt.substr(0,pt.indexOf(">"))),pt.length%2&&(pt+="0"),st.test(pt)===!1)return"";for(var vt="",bt=0;btSn&&(Tn=jn,jn=Sn,Sn=Tn);else{if(st!=="l"&&st!=="landscape")throw"Invalid orientation: "+st;st="l",Sn>jn&&(Tn=jn,jn=Sn,Sn=Tn)}return{width:jn,height:Sn,unit:vt,k:nn,orientation:st}},E.html=function(st,vt){(vt=vt||{}).callback=vt.callback||function(){},vt.html2canvas=vt.html2canvas||{},vt.html2canvas.canvas=vt.html2canvas.canvas||this.canvas,vt.jsPDF=vt.jsPDF||this,vt.fontFaces=vt.fontFaces?vt.fontFaces.map(uh):null;var bt=new pt(vt);return vt.worker?bt:bt.from(st).doCallback()}}(Gs.API),Gs.API.addJS=function(E){return Rm=E,this.internal.events.subscribe("postPutResources",function(){up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(up+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),mv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rm+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){up!==void 0&&mv!==void 0&&this.internal.out("/Names <>")}),this},function(E){var ee;E.events.push(["postPutResources",function(){var x=this,he=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var De=x.outline.render().split(/\r\n/),je=0;je> endobj")}var Nt=x.internal.newObject();for(x.internal.write("<< /Names [ "),je=0;je>","endobj"),ee=x.internal.newObject(),x.internal.write("<< /Dests "+Nt+" 0 R"),x.internal.write(">>","endobj")}}]),E.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+ee+" 0 R"))}]),E.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(he,De,je){var pt={title:De,options:je,children:[]};return he==null&&(he=this.root),he.children.push(pt),pt},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(he){he.id=x.internal.newObjectDeferred();for(var De=0;De0&&(this.line("/First "+this.makeRef(he.children[0])),this.line("/Last "+this.makeRef(he.children[he.children.length-1]))),this.line("/Count "+this.count_r({count:0},he)),this.objEnd()},x.outline.renderItems=function(he){for(var De=this.ctx.pdf.internal.getVerticalCoordinateString,je=0;je0&&this.line("/Prev "+this.makeRef(he.children[je-1])),je0&&(this.line("/First "+this.makeRef(pt.children[0])),this.line("/Last "+this.makeRef(pt.children[pt.children.length-1])));var st=this.count=this.count_r({count:0},pt);if(st>0&&this.line("/Count "+st),pt.options&&pt.options.pageNumber){var vt=x.internal.getPageInfo(pt.options.pageNumber);this.line("/Dest ["+vt.objId+" 0 R /XYZ 0 "+De(0)+" 0]")}this.objEnd()}for(var bt=0;bt>"}),"transparency"in Qn&&Array.isArray(Qn.transparency)&&Qn.transparency.length>0){for(var Gi="",mi=0,Vi=Qn.transparency.length;mi>",Sn.content=je;var sr=Sn.objId+" 0 R";je="<>";else if(he.options.pageNumber)switch(je="<=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=1};var bt=E.__arabicParser__.arabicLetterHasFinalForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length>=3};var Mt=E.__arabicParser__.arabicLetterHasMedialForm=function(Sn){return pt(Sn)&&je(Sn)&&ee[Sn.charCodeAt(0)].length==4},nn=E.__arabicParser__.resolveLigatures=function(Sn){var jn=0,En=x,Cr="",sr=0;for(jn=0;jn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ee+" 0 R")})),this},function(E){var ee=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(st){x=st}});var he=150;Object.defineProperty(this,"width",{get:function(){return he},set:function(st){he=isNaN(st)||Number.isInteger(st)===!1||st<0?150:st,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=he+1)}});var De=300;Object.defineProperty(this,"height",{get:function(){return De},set:function(st){De=isNaN(st)||Number.isInteger(st)===!1||st<0?300:st,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=De+1)}});var je=[];Object.defineProperty(this,"childNodes",{get:function(){return je},set:function(st){je=st}});var pt={};Object.defineProperty(this,"style",{get:function(){return pt},set:function(st){pt=st}}),Object.defineProperty(this,"parentNode",{})};ee.prototype.getContext=function(x,he){var De;if((x=x||"2d")!=="2d")return null;for(De in he)this.pdf.context2d.hasOwnProperty(De)&&(this.pdf.context2d[De]=he[De]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ee.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},E.events.push(["initialized",function(){this.canvas=new ee,this.canvas.pdf=this}])}(Gs.API),function(E){var ee={left:0,top:0,bottom:0,right:0},x=!1,he=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ee),this.internal.__cell__.margins.width=this.getPageWidth(),De.call(this))},De=function(){this.internal.__cell__.lastCell=new je,this.internal.__cell__.pages=1},je=function(){var vt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return vt},set:function(Sn){vt=Sn}});var bt=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return bt},set:function(Sn){bt=Sn}});var Mt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Mt},set:function(Sn){Mt=Sn}});var nn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return nn},set:function(Sn){nn=Sn}});var cn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return cn},set:function(Sn){cn=Sn}});var Nt=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Nt},set:function(Sn){Nt=Sn}});var Tn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Tn},set:function(Sn){Tn=Sn}}),this};je.prototype.clone=function(){return new je(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},je.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},E.setHeaderFunction=function(vt){return he.call(this),this.internal.__cell__.headerFunction=typeof vt=="function"?vt:void 0,this},E.getTextDimensions=function(vt,bt){he.call(this);var Mt=(bt=bt||{}).fontSize||this.getFontSize(),nn=bt.font||this.getFont(),cn=bt.scaleFactor||this.internal.scaleFactor,Nt=0,Tn=0,Sn=0,jn=this;if(!Array.isArray(vt)&&typeof vt!="string"){if(typeof vt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");vt=String(vt)}var En=bt.maxWidth;En>0?typeof vt=="string"?vt=this.splitTextToSize(vt,En):Object.prototype.toString.call(vt)==="[object Array]"&&(vt=vt.reduce(function(sr,Jn){return sr.concat(jn.splitTextToSize(Jn,En))},[])):vt=Array.isArray(vt)?vt:[vt];for(var Cr=0;Crthis.getPageHeight()?(this.cellAddPage(),vt.y=nn.top,Nt&&cn&&(this.printHeaderRow(vt.lineNumber,!0),vt.y+=cn[0].height)):vt.y=bt.y+bt.height||vt.y),vt.text[0]!==void 0&&(this.rect(vt.x,vt.y,vt.width,vt.height,x===!0?"FD":void 0),vt.align==="right"?this.text(vt.text,vt.x+vt.width-Mt,vt.y+Mt,{align:"right",baseline:"top"}):vt.align==="center"?this.text(vt.text,vt.x+vt.width/2,vt.y+Mt,{align:"center",baseline:"top",maxWidth:vt.width-Mt-Mt}):this.text(vt.text,vt.x+Mt,vt.y+Mt,{align:"left",baseline:"top",maxWidth:vt.width-Mt-Mt})),this.internal.__cell__.lastCell=vt,this};E.table=function(vt,bt,Mt,nn,cn){if(he.call(this),!Mt)throw new Error("No data for PDF table.");var Nt,Tn,Sn,jn,En=[],Cr=[],sr=[],Jn={},wi={},ra=[],Ri=[],Or=(cn=cn||{}).autoSize||!1,qn=cn.printHeaders!==!1,si=cn.css&&cn.css["font-size"]!==void 0?16*cn.css["font-size"]:cn.fontSize||12,vn=cn.margins||Object.assign({width:this.getPageWidth()},ee),Qn=typeof cn.padding=="number"?cn.padding:3,wr=cn.headerBackgroundColor||"#c8c8c8",fr=cn.headerTextColor||"#000";if(De.call(this),this.internal.__cell__.printHeaders=qn,this.internal.__cell__.margins=vn,this.internal.__cell__.table_font_size=si,this.internal.__cell__.padding=Qn,this.internal.__cell__.headerBackgroundColor=wr,this.internal.__cell__.headerTextColor=fr,this.setFontSize(si),nn==null)Cr=En=Object.keys(Mt[0]),sr=En.map(function(){return"left"});else if(Array.isArray(nn)&&(0,a.Z)(nn[0])==="object")for(En=nn.map(function(bo){return bo.name}),Cr=nn.map(function(bo){return bo.prompt||bo.name||""}),sr=nn.map(function(bo){return bo.align||"left"}),Nt=0;Nt0&&this.setTableHeaderRow(cn),this.setFont(void 0,"normal"),x=!1}}(Gs.API);var vd={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},i0=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Xd=FA(i0),af=[100,200,300,400,500,600,700,800,900],ap=FA(af);function uh(E){var ee=E.family.replace(/"|'/g,"").toLowerCase(),x=function(je){return vd[je=je||"normal"]?je:"normal"}(E.style),he=function(je){return je?typeof je=="number"?je>=100&&je<=900&&je%100==0?je:400:/^\d00$/.test(je)?parseInt(je):je==="bold"?700:400:400}(E.weight),De=function(je){return typeof Xd[je=je||"normal"]=="number"?je:"normal"}(E.stretch);return{family:ee,style:x,weight:he,stretch:De,src:E.src||[],ref:E.ref||{name:ee,style:[De,x,he].join(" ")}}}function op(E,ee,x,he){var De;for(De=x;De>=0&&De=0&&De>>1)&255}return De}function Zm(E,ee,x){var he=E.length,De=[];De[0]=4;for(var je=0;je>je&pt}function Km(E,ee,x,he){var De=x*he,je=Math.floor(De/8),pt=16-(De-8*je+he),st=(1<>8&255;bt.setUint8(Mt,cn)}})(E,je,Ym(E,je)&~(st<>7,pt=1<<1+(7&De);E[ee++],E[ee++];var st=null,vt=null;je&&(st=ee,vt=pt,ee+=3*pt);var bt=!0,Mt=[],nn=0,cn=null,Nt=0,Tn=null;for(this.width=x,this.height=he;bt&&ee=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}break;case 249:if(E[ee++]!==4||E[ee+4]!==0)throw new Error("Invalid graphics extension block.");var Sn=E[ee++];nn=E[ee++]|E[ee++]<<8,cn=E[ee++],1&Sn||(cn=null),Nt=Sn>>2&7,ee++;break;case 254:for(;;){if(!((vn=E[ee++])>=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}break;default:throw new Error("Unknown graphic control label: 0x"+E[ee-1].toString(16))}break;case 44:var jn=E[ee++]|E[ee++]<<8,En=E[ee++]|E[ee++]<<8,Cr=E[ee++]|E[ee++]<<8,sr=E[ee++]|E[ee++]<<8,Jn=E[ee++],wi=Jn>>6&1,ra=1<<1+(7&Jn),Ri=st,Or=vt,qn=!1;Jn>>7&&(qn=!0,Ri=ee,Or=ra,ee+=3*ra);var si=ee;for(ee++;;){var vn;if(!((vn=E[ee++])>=0))throw Error("Invalid block size");if(vn===0)break;ee+=vn}Mt.push({x:jn,y:En,width:Cr,height:sr,has_local_palette:qn,palette_offset:Ri,palette_size:Or,data_offset:si,data_length:ee-si,transparent_index:cn,interlaced:!!wi,delay:nn,disposal:Nt});break;case 59:bt=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ee-1].toString(16))}this.numFrames=function(){return Mt.length},this.loopCount=function(){return Tn},this.frameInfo=function(Qn){if(Qn<0||Qn>=Mt.length)throw new Error("Frame index out of range.");return Mt[Qn]},this.decodeAndBlitFrameBGRA=function(Qn,wr){var fr=this.frameInfo(Qn),Mi=fr.width*fr.height,zi=new Uint8Array(Mi);qm(E,fr.data_offset,zi,Mi);var Gi=fr.palette_offset,mi=fr.transparent_index;mi===null&&(mi=256);var Vi=fr.width,bo=x-Vi,Na=Vi,gn=4*(fr.y*x+fr.x),Gn=4*((fr.y+fr.height)*x+fr.x),ir=gn,Mr=4*bo;fr.interlaced===!0&&(Mr+=4*x*7);for(var Gr=8,pi=0,Xi=zi.length;pi=Gn&&(Mr=4*bo+4*x*(Gr-1),ir=gn+(Vi+bo)*(Gr<<1),Gr>>=1)),Ki===mi)ir+=4;else{var ga=E[Gi+3*Ki],fo=E[Gi+3*Ki+1],As=E[Gi+3*Ki+2];wr[ir++]=As,wr[ir++]=fo,wr[ir++]=ga,wr[ir++]=255}--Na}},this.decodeAndBlitFrameRGBA=function(Qn,wr){var fr=this.frameInfo(Qn),Mi=fr.width*fr.height,zi=new Uint8Array(Mi);qm(E,fr.data_offset,zi,Mi);var Gi=fr.palette_offset,mi=fr.transparent_index;mi===null&&(mi=256);var Vi=fr.width,bo=x-Vi,Na=Vi,gn=4*(fr.y*x+fr.x),Gn=4*((fr.y+fr.height)*x+fr.x),ir=gn,Mr=4*bo;fr.interlaced===!0&&(Mr+=4*x*7);for(var Gr=8,pi=0,Xi=zi.length;pi=Gn&&(Mr=4*bo+4*x*(Gr-1),ir=gn+(Vi+bo)*(Gr<<1),Gr>>=1)),Ki===mi)ir+=4;else{var ga=E[Gi+3*Ki],fo=E[Gi+3*Ki+1],As=E[Gi+3*Ki+2];wr[ir++]=ga,wr[ir++]=fo,wr[ir++]=As,wr[ir++]=255}--Na}}}function qm(E,ee,x,he){for(var De=E[ee++],je=1<>=vt,Mt-=vt,jn!==je){if(jn===pt)break;for(var En=jnje;)sr=Tn[sr]>>8,++Cr;var Jn=sr;if(cn+Cr+(En!==jn?1:0)>he)return void Gu.log("Warning, gif stream longer than expected.");x[cn++]=Jn;var wi=cn+=Cr;for(En!==jn&&(x[cn++]=Jn),sr=En;Cr--;)sr=Tn[sr],x[--wi]=255&sr,sr>>=8;Sn!==null&&st<4096&&(Tn[st++]=Sn<<8|Jn,st>=bt+1&&vt<12&&(++vt,bt=bt<<1|1)),Sn=jn}else st=pt+1,bt=(1<<(vt=De+1))-1,Sn=null}return cn!==he&&Gu.log("Warning, gif stream shorter than expected."),x}function Pm(E){var ee,x,he,De,je,pt=Math.floor,st=new Array(64),vt=new Array(64),bt=new Array(64),Mt=new Array(64),nn=new Array(65535),cn=new Array(65535),Nt=new Array(64),Tn=new Array(64),Sn=[],jn=0,En=7,Cr=new Array(64),sr=new Array(64),Jn=new Array(64),wi=new Array(256),ra=new Array(2048),Ri=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Or=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],qn=[0,1,2,3,4,5,6,7,8,9,10,11],si=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],vn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Qn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wr=[0,1,2,3,4,5,6,7,8,9,10,11],fr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function zi(gn,Gn){for(var ir=0,Mr=0,Gr=new Array,pi=1;pi<=16;pi++){for(var Xi=1;Xi<=gn[pi];Xi++)Gr[Gn[Mr]]=[],Gr[Gn[Mr]][0]=ir,Gr[Gn[Mr]][1]=pi,Mr++,ir++;ir*=2}return Gr}function Gi(gn){for(var Gn=gn[0],ir=gn[1]-1;ir>=0;)Gn&1<>8&255),mi(255&gn)}function bo(gn,Gn,ir,Mr,Gr){for(var pi,Xi=Gr[0],Ki=Gr[240],ga=function(Ga,Ol){var Hs,Ll,El,RA,qu,mu,iA,_u,Ks,vu,cl=0;for(Ks=0;Ks<8;++Ks){Hs=Ga[cl],Ll=Ga[cl+1],El=Ga[cl+2],RA=Ga[cl+3],qu=Ga[cl+4],mu=Ga[cl+5],iA=Ga[cl+6];var td=Hs+(_u=Ga[cl+7]),Du=Hs-_u,wu=Ll+iA,ku=Ll-iA,$u=El+mu,Cl=El-mu,fc=RA+qu,Wl=RA-qu,Es=td+fc,Fc=td-fc,xu=wu+$u,kl=wu-$u;Ga[cl]=Es+xu,Ga[cl+4]=Es-xu;var MA=.707106781*(kl+Fc);Ga[cl+2]=Fc+MA,Ga[cl+6]=Fc-MA;var ug=.382683433*((Es=Wl+Cl)-(kl=ku+Du)),of=.5411961*Es+ug,Qp=1.306562965*kl+ug,dp=.707106781*(xu=Cl+ku),zl=Du+dp,fp=Du-dp;Ga[cl+5]=fp+of,Ga[cl+3]=fp-of,Ga[cl+1]=zl+Qp,Ga[cl+7]=zl-Qp,cl+=8}for(cl=0,Ks=0;Ks<8;++Ks){Hs=Ga[cl],Ll=Ga[cl+8],El=Ga[cl+16],RA=Ga[cl+24],qu=Ga[cl+32],mu=Ga[cl+40],iA=Ga[cl+48];var hp=Hs+(_u=Ga[cl+56]),o0=Hs-_u,s0=Ll+iA,Ze=Ll-iA,Ye=El+mu,be=El-mu,Tt=RA+qu,Bn=RA-qu,kn=hp+Tt,hr=hp-Tt,fn=s0+Ye,Xt=s0-Ye;Ga[cl]=kn+fn,Ga[cl+32]=kn-fn;var yn=.707106781*(Xt+hr);Ga[cl+16]=hr+yn,Ga[cl+48]=hr-yn;var ur=.382683433*((kn=Bn+be)-(Xt=Ze+o0)),Sr=.5411961*kn+ur,Tr=1.306562965*Xt+ur,kr=.707106781*(fn=be+Ze),ui=o0+kr,$r=o0-kr;Ga[cl+40]=$r+Sr,Ga[cl+24]=$r-Sr,Ga[cl+8]=ui+Tr,Ga[cl+56]=ui-Tr,cl++}for(Ks=0;Ks<64;++Ks)vu=Ga[Ks]*Ol[Ks],Nt[Ks]=vu>0?vu+.5|0:vu-.5|0;return Nt}(gn,Gn),fo=0;fo<64;++fo)Tn[Ri[fo]]=ga[fo];var As=Tn[0]-ir;ir=Tn[0],As==0?Gi(Mr[0]):(Gi(Mr[cn[pi=32767+As]]),Gi(nn[pi]));for(var is=63;is>0&&Tn[is]==0;)is--;if(is==0)return Gi(Xi),ir;for(var tl,Dn=1;Dn<=is;){for(var rs=Dn;Tn[Dn]==0&&Dn<=is;)++Dn;var Mu=Dn-rs;if(Mu>=16){tl=Mu>>4;for(var jl=1;jl<=tl;++jl)Gi(Ki);Mu&=15}pi=32767+Tn[Dn],Gi(Gr[(Mu<<4)+cn[pi]]),Gi(nn[pi]),Dn++}return is!=63&&Gi(Xi),ir}function Na(gn){gn=Math.min(Math.max(gn,1),100),je!=gn&&(function(Gn){for(var ir=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Mr=0;Mr<64;Mr++){var Gr=pt((ir[Mr]*Gn+50)/100);Gr=Math.min(Math.max(Gr,1),255),st[Ri[Mr]]=Gr}for(var pi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Xi=0;Xi<64;Xi++){var Ki=pt((pi[Xi]*Gn+50)/100);Ki=Math.min(Math.max(Ki,1),255),vt[Ri[Xi]]=Ki}for(var ga=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],fo=0,As=0;As<8;As++)for(var is=0;is<8;is++)bt[fo]=1/(st[Ri[fo]]*ga[As]*ga[is]*8),Mt[fo]=1/(vt[Ri[fo]]*ga[As]*ga[is]*8),fo++}(gn<50?Math.floor(5e3/gn):Math.floor(200-2*gn)),je=gn)}this.encode=function(gn,Gn){Gn&&Na(Gn),Sn=new Array,jn=0,En=7,Vi(65496),Vi(65504),Vi(16),mi(74),mi(70),mi(73),mi(70),mi(0),mi(1),mi(1),mi(0),Vi(1),Vi(1),mi(0),mi(0),function(){Vi(65499),Vi(132),mi(0);for(var Ll=0;Ll<64;Ll++)mi(st[Ll]);mi(1);for(var El=0;El<64;El++)mi(vt[El])}(),function(Ll,El){Vi(65472),Vi(17),mi(8),Vi(El),Vi(Ll),mi(3),mi(1),mi(17),mi(0),mi(2),mi(17),mi(1),mi(3),mi(17),mi(1)}(gn.width,gn.height),function(){Vi(65476),Vi(418),mi(0);for(var Ll=0;Ll<16;Ll++)mi(Or[Ll+1]);for(var El=0;El<=11;El++)mi(qn[El]);mi(16);for(var RA=0;RA<16;RA++)mi(si[RA+1]);for(var qu=0;qu<=161;qu++)mi(vn[qu]);mi(1);for(var mu=0;mu<16;mu++)mi(Qn[mu+1]);for(var iA=0;iA<=11;iA++)mi(wr[iA]);mi(17);for(var _u=0;_u<16;_u++)mi(fr[_u+1]);for(var Ks=0;Ks<=161;Ks++)mi(Mi[Ks])}(),Vi(65498),Vi(12),mi(3),mi(1),mi(0),mi(2),mi(17),mi(3),mi(17),mi(0),mi(63),mi(0);var ir=0,Mr=0,Gr=0;jn=0,En=7,this.encode.displayName="_encode_";for(var pi,Xi,Ki,ga,fo,As,is,tl,Dn,rs=gn.data,Mu=gn.width,jl=gn.height,Ga=4*Mu,Ol=0;Ol>3)*Ga+(is=4*(7&Dn)),Ol+tl>=jl&&(As-=Ga*(Ol+1+tl-jl)),pi+is>=Ga&&(As-=pi+is-Ga+4),Xi=rs[As++],Ki=rs[As++],ga=rs[As++],Cr[Dn]=(ra[Xi]+ra[Ki+256|0]+ra[ga+512|0]>>16)-128,sr[Dn]=(ra[Xi+768|0]+ra[Ki+1024|0]+ra[ga+1280|0]>>16)-128,Jn[Dn]=(ra[Xi+1280|0]+ra[Ki+1536|0]+ra[ga+1792|0]>>16)-128;ir=bo(Cr,bt,ir,ee,he),Mr=bo(sr,Mt,Mr,x,De),Gr=bo(Jn,Mt,Gr,x,De),pi+=32}Ol+=8}if(En>=0){var Hs=[];Hs[1]=En+1,Hs[0]=(1<Qn;Qn++)if(qn[si+Qn]!=vn.charCodeAt(Qn))return!0;return!1}function he(qn,si,vn,Qn,wr){for(var fr=0;frfr+1?[]:new si),!(Mi.length>>0;Qe&It;)It>>>=1;return It?(Qe&It-1)+It:Qe}function vn(Qe,rt,It,zt,an){ee(!(zt%It));do Qe[rt+(zt-=It)]=an;while(0=an),512>=an)var dn=je(512);else if((dn=je(an))==null)return 0;return function(pn,wn,xn,Wn,jr,bi){var Xn,Kr,Ai=wn,aa=1<Xn;++Xn){if(yi[Xn]>1<(Qu-=yi[Xn]))return 0;for(;0=Xn;++Xn,jr<<=1){if(Vs+=Qu<<=1,0>(Qu-=yi[Xn]))return 0;for(;0ho&&!(0>=(ma-=yi[ho]));)++ho,ma<<=1;aa+=sl=1<<(ma=ho-xn),pn[wn+(ho=vl&Qa)].g=ma+xn,pn[wn+ho].value=Ai-wn-ho}Wn.g=Xn-xn,Wn.value=bi[Kr++],vn(pn,Ai+(vl>>xn),jr,sl,Wn),vl=si(vl,Xn)}}return Vs!=2*Aa[15]-1?0:aa}(Qe,rt,It,zt,an,dn)}function wr(){this.value=this.g=0}function fr(){this.value=this.g=0}function Mi(){this.G=pt(5,wr),this.H=je(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=pt(D0,fr)}function zi(Qe,rt,It,zt){ee(Qe!=null),ee(rt!=null),ee(2147483648>zt),Qe.Ca=254,Qe.I=0,Qe.b=-8,Qe.Ka=0,Qe.oa=rt,Qe.pa=It,Qe.Jd=rt,Qe.Yc=It+zt,Qe.Zc=4<=zt?It+zt-4+1:It,Xi(Qe)}function Gi(Qe,rt){for(var It=0;0zt),Qe.Sb=zt,Qe.Ra=0,Qe.u=0,Qe.h=0,4>>=8,Qe.Ra+=Qe.oa[Qe.pa+Qe.bb]<>>0,++Qe.bb,Qe.u-=8;Mr(Qe)&&(Qe.h=1,Qe.u=0)}function Na(Qe,rt){if(ee(0<=rt),!Qe.h&&rt<=Af){var It=ir(Qe)&uf[rt];return Qe.u+=rt,bo(Qe),It}return Qe.h=1,Qe.u=0}function gn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Gn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function ir(Qe){return Qe.Ra>>>(Qe.u&d0-1)>>>0}function Mr(Qe){return ee(Qe.bb<=Qe.Sb),Qe.h||Qe.bb==Qe.Sb&&Qe.u>d0}function Gr(Qe,rt){Qe.u=rt,Qe.h=Mr(Qe)}function pi(Qe){Qe.u>=aA&&(ee(Qe.u>=aA),bo(Qe))}function Xi(Qe){ee(Qe!=null&&Qe.oa!=null),Qe.pa>>0,Qe.b+=8):(ee(Qe!=null&&Qe.oa!=null),Qe.paQe.b&&Xi(Qe);var zt=Qe.b,an=It*rt>>>8,dn=(Qe.I>>>zt>an)+0;for(dn?(It-=an,Qe.I-=an+1<>>0):It=an+1,zt=It,an=0;256<=zt;)an+=8,zt>>=8;return zt=7^an+mp[zt],Qe.b-=zt,Qe.Ca=(It<>24&255,Qe[rt+1]=It>>16&255,Qe[rt+2]=It>>8&255,Qe[rt+3]=255&It}function As(Qe,rt){return Qe[rt+0]|Qe[rt+1]<<8}function is(Qe,rt){return As(Qe,rt)|Qe[rt+2]<<16}function tl(Qe,rt){return As(Qe,rt)|As(Qe,rt+2)<<16}function Dn(Qe,rt){var It=1<=an||0>=dn?0:(It[0]=an,zt[0]=dn,1)}function Ga(Qe,rt){return Qe+(1<>>rt}function Ol(Qe,rt){return((4278255360&Qe)+(4278255360&rt)>>>0&4278255360)+((16711935&Qe)+(16711935&rt)>>>0&16711935)>>>0}function Hs(Qe,rt){qn[rt]=function(It,zt,an,dn,pn,wn,xn){var Wn;for(Wn=0;Wn>>1)+(Qe&rt)>>>0}function RA(Qe){return 0<=Qe&&256>Qe?Qe:0>Qe?0:255>1))}function mu(Qe,rt,It){return Math.abs(rt-It)-Math.abs(Qe-It)}function iA(Qe,rt,It,zt,an,dn,pn){for(zt=dn[pn-1],It=0;It>8&255,xn=16711935&(xn=(xn=16711935&pn)+((wn<<16)+wn));zt[an+dn]=(4278255360&pn)+xn>>>0}}function Ks(Qe,rt){rt.jd=255&Qe,rt.hd=Qe>>8&255,rt.ud=Qe>>16&255}function vu(Qe,rt,It,zt,an,dn){var pn;for(pn=0;pn>>8,Wn=wn,jr=255&(jr=(jr=wn>>>16)+((Qe.jd<<24>>24)*(xn<<24>>24)>>>5));Wn=255&(Wn=(Wn+=(Qe.hd<<24>>24)*(xn<<24>>24)>>>5)+((Qe.ud<<24>>24)*(jr<<24>>24)>>>5)),an[dn+pn]=(4278255360&wn)+(jr<<16)+Wn}}function cl(Qe,rt,It,zt,an){qn[rt]=function(dn,pn,wn,xn,Wn,jr,bi,Xn,Kr){for(xn=bi;xn>dn.b,Kr=dn.Ea,Ai=dn.K[0],aa=dn.w;if(8>Xn)for(dn=(1<>=Xn}else qn["VP8LMapColor"+It](xn,Wn,Ai,aa,jr,bi,pn,wn,Kr)}}function td(Qe,rt,It,zt,an){for(It=rt+It;rt>16&255,zt[an++]=dn>>8&255,zt[an++]=255&dn}}function Du(Qe,rt,It,zt,an){for(It=rt+It;rt>16&255,zt[an++]=dn>>8&255,zt[an++]=255&dn,zt[an++]=dn>>24&255}}function wu(Qe,rt,It,zt,an){for(It=rt+It;rt>16&240|pn>>12&15,pn=240&pn|pn>>28&15;zt[an++]=dn,zt[an++]=pn}}function ku(Qe,rt,It,zt,an){for(It=rt+It;rt>16&248|pn>>13&7,pn=pn>>5&224|pn>>3&31;zt[an++]=dn,zt[an++]=pn}}function $u(Qe,rt,It,zt,an){for(It=rt+It;rt>8&255,zt[an++]=dn>>16&255}}function Cl(Qe,rt,It,zt,an,dn){if(dn==0)for(It=rt+It;rt>24|dn[1]>>8&65280|dn[2]<<8&16711680|dn[3]<<24)>>>0),an+=32;else he(zt,an,Qe,rt,It)}function fc(Qe,rt){qn[rt][0]=qn[Qe+"0"],qn[rt][1]=qn[Qe+"1"],qn[rt][2]=qn[Qe+"2"],qn[rt][3]=qn[Qe+"3"],qn[rt][4]=qn[Qe+"4"],qn[rt][5]=qn[Qe+"5"],qn[rt][6]=qn[Qe+"6"],qn[rt][7]=qn[Qe+"7"],qn[rt][8]=qn[Qe+"8"],qn[rt][9]=qn[Qe+"9"],qn[rt][10]=qn[Qe+"10"],qn[rt][11]=qn[Qe+"11"],qn[rt][12]=qn[Qe+"12"],qn[rt][13]=qn[Qe+"13"],qn[rt][14]=qn[Qe+"0"],qn[rt][15]=qn[Qe+"0"]}function Wl(Qe){return Qe==zc||Qe==T0||Qe==dd||Qe==hh}function Es(){this.eb=[],this.size=this.A=this.fb=0}function Fc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xu(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Es,this.f.kb=new Fc,this.sd=null}function kl(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function MA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ug(Qe){return alert("todo:WebPSamplerProcessPlane"),Qe.T}function of(Qe,rt){var It=Qe.T,zt=rt.ba.f.RGBA,an=zt.eb,dn=zt.fb+Qe.ka*zt.A,pn=wp[rt.ba.S],wn=Qe.y,xn=Qe.O,Wn=Qe.f,jr=Qe.N,bi=Qe.ea,Xn=Qe.W,Kr=rt.cc,Ai=rt.dc,aa=rt.Mc,yi=rt.Nc,Aa=Qe.ka,ma=Qe.ka+Qe.T,ho=Qe.U,Qa=ho+1>>1;for(Aa==0?pn(wn,xn,null,null,Wn,jr,bi,Xn,Wn,jr,bi,Xn,an,dn,null,null,ho):(pn(rt.ec,rt.fc,wn,xn,Kr,Ai,aa,yi,Wn,jr,bi,Xn,an,dn-zt.A,an,dn,ho),++It);Aa+2It,an=It==Wo||It==wA||It==Mc||It==Dc||It==12||Wl(It);if(rt.memory=null,rt.Ib=null,rt.Jb=null,rt.Nd=null,!Wf(rt.Oa,Qe,an?11:12))return 0;if(an&&Wl(It)&&Pl(),Qe.da)alert("todo:use_scaling");else{if(zt){if(rt.Ib=ug,Qe.Kb){if(It=Qe.U+1>>1,rt.memory=je(Qe.U+2*It),rt.memory==null)return 0;rt.ec=rt.memory,rt.fc=0,rt.cc=rt.ec,rt.dc=rt.fc+Qe.U,rt.Mc=rt.cc,rt.Nc=rt.dc+It,rt.Ib=of,Pl()}}else alert("todo:EmitYUV");an&&(rt.Jb=Qp,zt&&ao())}if(zt&&!Vv){for(Qe=0;256>Qe;++Qe)m1[Qe]=89858*(Qe-128)+sv>>ov,E1[Qe]=-22014*(Qe-128)+sv,y1[Qe]=-45773*(Qe-128),v1[Qe]=113618*(Qe-128)+sv>>ov;for(Qe=Om;Qe>ov,w1[Qe-Om]=Ui(rt,255),b1[Qe-Om]=Ui(rt+8>>4,15);Vv=1}return 1}function zl(Qe){var rt=Qe.ma,It=Qe.U,zt=Qe.T;return ee(!(1&Qe.ka)),0>=It||0>=zt?0:(It=rt.Ib(Qe,rt),rt.Jb!=null&&rt.Jb(Qe,rt,It),rt.Dc+=It,1)}function fp(Qe){Qe.ma.memory=null}function hp(Qe,rt,It,zt){return Na(Qe,8)!=47?0:(rt[0]=Na(Qe,14)+1,It[0]=Na(Qe,14)+1,zt[0]=Na(Qe,1),Na(Qe,3)!=0?0:!Qe.h)}function o0(Qe,rt){if(4>Qe)return Qe+1;var It=Qe-2>>1;return(2+(1&Qe)<>4)*Qe+(8-(15&It)))?It:1;var It}function Ze(Qe,rt,It){var zt=ir(It),an=Qe[rt+=255&zt].g-8;return 0>>0,ee(8>=It.g),Qe.g}function be(Qe,rt,It){var zt=Qe.xc;return ee((rt=zt==0?0:Qe.vc[Qe.md*(It>>zt)+(rt>>zt)])>sl.b)*Vs;aaho&&(ll=ho),(0,ml[pA[df++]>>8&15])(Xn,Kr+ +Uu,Aa,ma+Uu-ho,ll-Uu,Aa,ma+Uu),Uu=ll}Kr+=ho,ma+=ho,++aa&vl||(sl+=Vs)}bi!=Wn.nc&&he(xn,wn-Ai,xn,wn+(bi-jr-1)*Ai,Ai);break;case 1:for(Ai=Xn,yi=Kr,ho=(Xn=Wn.Ea)-(ma=Xn&~(Aa=(Kr=1<>Wn.b)*aa;jr=an),0dn.o&&(zt=dn.o),It=zt?It=0:(an[0]+=4*dn.v,dn.ka=It-dn.j,dn.U=dn.va-dn.v,dn.T=zt-It,It=1),It){if(wn=wn[0],11>(It=Qe.ca).S){var jr=It.f.RGBA,bi=(zt=It.S,an=dn.U,dn=dn.T,Wn=jr.eb,jr.A),Xn=dn;for(jr=jr.fb+Qe.Ma*jr.A;0zt){var an=Qe.l.width,dn=It.ca,pn=It.tb+an*zt,wn=Qe.V,xn=Qe.Ba+Qe.c*zt,Wn=Qe.gc;ee(Qe.ab==1),ee(Wn[0].hc==3),Lf(Wn[0],zt,rt,wn,xn,dn,pn),hr(It,zt,rt,dn,pn,an)}Qe.C=Qe.Ma=rt}function Xt(Qe,rt,It,zt,an,dn,pn){var wn=Qe.$/zt,xn=Qe.$%zt,Wn=Qe.m,jr=Qe.s,bi=It+Qe.$,Xn=bi;an=It+zt*an;var Kr=It+zt*dn,Ai=280+jr.ua,aa=Qe.Pb?wn:16777216,yi=0=aa){var vl=bi-It;ee((aa=Qe).Pb),aa.wd=aa.m,aa.xd=vl,0Qu.g?(Gr(Qa,Qa.u+Qu.g),vl[Vs]=Qu.value,Qa=0):(Gr(Qa,Qa.u+Qu.g-256),ee(256<=Qu.value),Qa=Qu.value),Qa==0&&(ho=!0)}else Qa=Ze(ma.G[0],ma.H[0],Wn);if(Wn.h)break;if(ho||256>Qa){if(!ho)if(ma.nd)rt[bi]=(ma.qb|Qa<<8)>>>0;else{if(pi(Wn),ho=Ze(ma.G[1],ma.H[1],Wn),pi(Wn),vl=Ze(ma.G[2],ma.H[2],Wn),Vs=Ze(ma.G[3],ma.H[3],Wn),Wn.h)break;rt[bi]=(Vs<<24|ho<<16|Qa<<8|vl)>>>0}if(ho=!1,++bi,++xn>=zt&&(xn=0,++wn,pn!=null&&wn<=dn&&!(wn%16)&&pn(Qe,wn),yi!=null))for(;Xn>>yi.Mb]=Qa}else if(280>Qa){if(Qa=o0(Qa-256,Wn),vl=Ze(ma.G[4],ma.H[4],Wn),pi(Wn),vl=s0(zt,vl=o0(vl,Wn)),Wn.h)break;if(bi-It=zt;)xn-=zt,++wn,pn!=null&&wn<=dn&&!(wn%16)&&pn(Qe,wn);if(ee(bi<=an),xn&Aa&&(ma=be(jr,xn,wn)),yi!=null)for(;Xn>>yi.Mb]=Qa}else{if(!(Qa>>yi.Mb]=Qa;Qa=bi,ee(!(ho>>>(vl=yi).Xa)),rt[Qa]=vl.X[ho],ho=!0}ho||ee(Wn.h==Mr(Wn))}if(Qe.Pb&&Wn.h&&bidn?dn:wn),Qe.a=0,Qe.$=bi-It}return 1}return Qe.a=3,0}function yn(Qe){ee(Qe!=null),Qe.vc=null,Qe.yc=null,Qe.Ya=null;var rt=Qe.Wa;rt!=null&&(rt.X=null),Qe.vb=null,ee(Qe!=null)}function ur(){var Qe=new Il;return Qe==null?null:(Qe.a=0,Qe.xb=Rv,fc("Predictor","VP8LPredictors"),fc("Predictor","VP8LPredictors_C"),fc("PredictorAdd","VP8LPredictorsAdd"),fc("PredictorAdd","VP8LPredictorsAdd_C"),yc=_u,zp=vu,L0=td,PA=Du,pl=wu,P0=ku,N0=$u,qn.VP8LMapColor32b=Xf,qn.VP8LMapColor8b=Rp,Qe)}function Sr(Qe,rt,It,zt,an){var dn=1,pn=[Qe],wn=[rt],xn=zt.m,Wn=zt.s,jr=null,bi=0;e:for(;;){if(It)for(;dn&&Na(xn,1);){var Xn=pn,Kr=wn,Ai=zt,aa=1,yi=Ai.m,Aa=Ai.gc[Ai.ab],ma=Na(yi,2);if(Ai.Oc&1<=Ai.ab),ma){case 0:case 1:Aa.b=Na(yi,3)+2,aa=Sr(Ga(Aa.Ea,Aa.b),Ga(Aa.nc,Aa.b),0,Ai,Aa.K),Aa.K=Aa.K[0];break;case 3:var ho,Qa=Na(yi,8)+1,vl=16>sl.b),df=je(pA);if(df==null)ho=0;else{var Uu=sl.K[0],ll=sl.w;for(df[0]=sl.K[0][0],Vs=1;Vs<1*Qu;++Vs)df[Vs]=Ol(Uu[ll+Vs],df[Vs-1]);for(;Vs<4*pA;++Vs)df[Vs]=0;sl.K[0]=null,sl.K[0]=df,ho=1}}aa=ho;break;case 2:break;default:ee(0)}dn=aa}}if(pn=pn[0],wn=wn[0],dn&&Na(xn,1)&&!(dn=1<=(bi=Na(xn,4))&&11>=bi)){zt.a=3;break e}var $o;if($o=dn)t:{var Td,Iu,bA,Hc=zt,Vf=pn,Hh=wn,wd=bi,gh=It,Wh=Hc.m,ff=Hc.s,NA=[null],sc=1,bd=0,lc=Vd[wd];n:for(;;){if(gh&&Na(Wh,1)){var Gf=Na(Wh,3)+2,Yp=Ga(Vf,Gf),jd=Ga(Hh,Gf),p0=Yp*jd;if(!Sr(Yp,jd,0,Hc,NA))break n;for(NA=NA[0],ff.xc=Gf,Td=0;Td>8&65535;NA[Td]=wc,wc>=sc&&(sc=wc+1)}}if(Wh.h)break n;for(Iu=0;5>Iu;++Iu){var hf=ka[Iu];!Iu&&0=Xh),U0=Q0;var g0=je(bd);if(U0==null||g0==null||k0==null){Hc.a=1;break n}var R0=k0;for(Td=bA=0;TdIu;++Iu){hf=ka[Iu],z0[Iu]=R0,Jp[Iu]=bA,!Iu&&0fv)break r}else Lv=fv;for(Qm=0;Qmxm)$v[Qm++]=xm,xm!=0&&(e1=xm);else{var P1=xm==16,r1=xm-16,N1=ol[r1],i1=Na(_g,wa[r1])+N1;if(Qm+i1>fv)break r;for(var T1=P1?e1:0;0=Iu){var Um,Nv=g0[0];for(Um=1;UmNv&&(Nv=g0[Um]);Kf+=Nv}}if(Lc.nd=Ng,Lc.Qb=0,Ng&&(Lc.qb=(z0[3][Jp[3]+0].value<<24|z0[1][Jp[1]+0].value<<16|z0[2][Jp[2]+0].value)>>>0,gm==0&&256>z0[0][Jp[0]+0].value&&(Lc.Qb=1,Lc.qb+=z0[0][Jp[0]+0].value<<8)),Lc.jc=!Lc.Qb&&6>Kf,Lc.jc){var hv,Tg=Lc;for(hv=0;hv>=Ye(pv,8,em),$g>>=Ye(Tg.G[1][Tg.H[1]+$g],16,em),$g>>=Ye(Tg.G[2][Tg.H[2]+$g],0,em),Ye(Tg.G[3][Tg.H[3]+$g],24,em))}}}ff.vc=NA,ff.Wb=sc,ff.Ya=U0,ff.yc=k0,$o=1;break t}$o=0}if(!(dn=$o)){zt.a=3;break e}if(0zt+1?[]:0),!(an.lengthQe?0:Qe>rt?rt:Qe}function lr(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Br(){var Qe=new ua;return Qe!=null&&(Qe.a=0,Qe.sc="OK",Qe.cb=0,Qe.Xb=0,Zf||(Zf=Ta)),Qe}function Ni(Qe,rt,It){return Qe.a==0&&(Qe.a=rt,Qe.sc=It,Qe.cb=0),0}function di(Qe,rt,It){return 3<=It&&Qe[rt+0]==157&&Qe[rt+1]==1&&Qe[rt+2]==42}function Fr(Qe,rt){if(Qe==null)return 0;if(Qe.a=0,Qe.sc="OK",rt==null)return Ni(Qe,2,"null VP8Io passed to VP8GetHeaders()");var It=rt.data,zt=rt.w,an=rt.ha;if(4>an)return Ni(Qe,7,"Truncated header.");var dn=It[zt+0]|It[zt+1]<<8|It[zt+2]<<16,pn=Qe.Od;if(pn.Rb=!(1&dn),pn.td=dn>>1&7,pn.yd=dn>>4&1,pn.ub=dn>>5,3an)return Ni(Qe,7,"cannot parse picture header");if(!di(It,zt,an))return Ni(Qe,3,"Bad code word");wn.c=16383&(It[zt+4]<<8|It[zt+3]),wn.Td=It[zt+4]>>6,wn.i=16383&(It[zt+6]<<8|It[zt+5]),wn.Ud=It[zt+6]>>6,zt+=7,an-=7,Qe.za=wn.c+15>>4,Qe.Ub=wn.i+15>>4,rt.width=wn.c,rt.height=wn.i,rt.Da=0,rt.j=0,rt.v=0,rt.va=rt.width,rt.o=rt.height,rt.da=0,rt.ib=rt.width,rt.hb=rt.height,rt.U=rt.width,rt.T=rt.height,De((dn=Qe.Pa).jb,0,255,dn.jb.length),ee((dn=Qe.Qa)!=null),dn.Cb=0,dn.Bb=0,dn.Fb=1,De(dn.Zb,0,0,dn.Zb.length),De(dn.Lb,0,0,dn.Lb)}if(pn.ub>an)return Ni(Qe,7,"bad partition length");zi(dn=Qe.m,It,zt,pn.ub),zt+=pn.ub,an-=pn.ub,pn.Rb&&(wn.Ld=Ki(dn),wn.Kd=Ki(dn)),wn=Qe.Qa;var xn,Wn=Qe.Pa;if(ee(dn!=null),ee(wn!=null),wn.Cb=Ki(dn),wn.Cb){if(wn.Bb=Ki(dn),Ki(dn)){for(wn.Fb=Ki(dn),xn=0;4>xn;++xn)wn.Zb[xn]=Ki(dn)?mi(dn,7):0;for(xn=0;4>xn;++xn)wn.Lb[xn]=Ki(dn)?mi(dn,6):0}if(wn.Bb)for(xn=0;3>xn;++xn)Wn.jb[xn]=Ki(dn)?Gi(dn,8):255}else wn.Bb=0;if(dn.Ka)return Ni(Qe,3,"cannot parse segment header");if((wn=Qe.ed).zd=Ki(dn),wn.Tb=Gi(dn,6),wn.wb=Gi(dn,3),wn.Pc=Ki(dn),wn.Pc&&Ki(dn)){for(Wn=0;4>Wn;++Wn)Ki(dn)&&(wn.vd[Wn]=mi(dn,6));for(Wn=0;4>Wn;++Wn)Ki(dn)&&(wn.od[Wn]=mi(dn,6))}if(Qe.L=wn.Tb==0?0:wn.zd?1:2,dn.Ka)return Ni(Qe,3,"cannot parse filter header");var jr=an;if(an=xn=zt,zt=xn+jr,wn=jr,Qe.Xb=(1<wn&&(bi=wn),zi(Qe.Jc[+jr],It,xn,bi),xn+=bi,wn-=bi,an+=3}zi(Qe.Jc[+Wn],It,xn,wn),It=xnbi;++bi){if(jr.Cb){var Xn=jr.Zb[bi];jr.Fb||(Xn+=It)}else{if(0>16,8>Kr.Eb[1]&&(Kr.Eb[1]=8),Kr.Qc[0]=yp[Ui(Xn+Wn,117)],Kr.Qc[1]=Ep[Ui(Xn+xn,127)],Kr.lc=Xn+xn}if(!pn.Rb)return Ni(Qe,4,"Not a key frame.");for(Ki(dn),pn=Qe.Pa,It=0;4>It;++It){for(an=0;8>an;++an)for(zt=0;3>zt;++zt)for(wn=0;11>wn;++wn)Wn=ga(dn,A1[It][an][zt][wn])?Gi(dn,8):av[It][an][zt][wn],pn.Wc[It][an].Yb[zt][wn]=Wn;for(an=0;17>an;++an)pn.Xc[It][an]=pn.Wc[It][c1[an]]}return Qe.kc=Ki(dn),Qe.kc&&(Qe.Bd=Gi(dn,8)),Qe.cb=1}function Ta(Qe,rt,It,zt,an,dn,pn){var wn=rt[an].Yb[It];for(It=0;16>an;++an){if(!ga(Qe,wn[It+0]))return an;for(;!ga(Qe,wn[It+1]);)if(wn=rt[++an].Yb[0],It=0,an==16)return 16;var xn=rt[an+1].Yb;if(ga(Qe,wn[It+2])){var Wn=Qe,jr=0;if(ga(Wn,(Xn=wn)[(bi=It)+3]))if(ga(Wn,Xn[bi+6])){for(wn=0,bi=2*(jr=ga(Wn,Xn[bi+8]))+(Xn=ga(Wn,Xn[bi+9+jr])),jr=0,Xn=ph[bi];Xn[wn];++wn)jr+=jr+ga(Wn,Xn[wn]);jr+=3+(8<(Wn=Qe).b&&Xi(Wn);var bi,Xn=Wn.b,Kr=(bi=Wn.Ca>>1)-(Wn.I>>Xn)>>31;--Wn.b,Wn.Ca+=Kr,Wn.Ca|=1,Wn.I-=(bi+1&Kr)<>3),Qe[rt+It+32*zt]=-256&an?0>an?0:255:an}function Ka(Qe,rt,It,zt,an,dn){ds(Qe,rt,0,It,zt+an),ds(Qe,rt,1,It,zt+dn),ds(Qe,rt,2,It,zt-dn),ds(Qe,rt,3,It,zt-an)}function Os(Qe){return(20091*Qe>>16)+Qe}function Oa(Qe,rt,It,zt){var an,dn=0,pn=je(16);for(an=0;4>an;++an){var wn=Qe[rt+0]+Qe[rt+8],xn=Qe[rt+0]-Qe[rt+8],Wn=(35468*Qe[rt+4]>>16)-Os(Qe[rt+12]),jr=Os(Qe[rt+4])+(35468*Qe[rt+12]>>16);pn[dn+0]=wn+jr,pn[dn+1]=xn+Wn,pn[dn+2]=xn-Wn,pn[dn+3]=wn-jr,dn+=4,rt++}for(an=dn=0;4>an;++an)wn=(Qe=pn[dn+0]+4)+pn[dn+8],xn=Qe-pn[dn+8],Wn=(35468*pn[dn+4]>>16)-Os(pn[dn+12]),ds(It,zt,0,0,wn+(jr=Os(pn[dn+4])+(35468*pn[dn+12]>>16))),ds(It,zt,1,0,xn+Wn),ds(It,zt,2,0,xn-Wn),ds(It,zt,3,0,wn-jr),dn++,zt+=32}function as(Qe,rt,It,zt){var an=Qe[rt+0]+4,dn=35468*Qe[rt+4]>>16,pn=Os(Qe[rt+4]),wn=35468*Qe[rt+1]>>16;Ka(It,zt,0,an+pn,Qe=Os(Qe[rt+1]),wn),Ka(It,zt,1,an+dn,Qe,wn),Ka(It,zt,2,an-dn,Qe,wn),Ka(It,zt,3,an-pn,Qe,wn)}function qa(Qe,rt,It,zt,an){Oa(Qe,rt,It,zt),an&&Oa(Qe,rt+16,It,zt+4)}function io(Qe,rt,It,zt){Hp(Qe,rt+0,It,zt,1),Hp(Qe,rt+32,It,zt+128,1)}function Sl(Qe,rt,It,zt){var an;for(Qe=Qe[rt+0]+4,an=0;4>an;++an)for(rt=0;4>rt;++rt)ds(It,zt,rt,an,Qe)}function gl(Qe,rt,It,zt){Qe[rt+0]&&yA(Qe,rt+0,It,zt),Qe[rt+16]&&yA(Qe,rt+16,It,zt+4),Qe[rt+32]&&yA(Qe,rt+32,It,zt+128),Qe[rt+48]&&yA(Qe,rt+48,It,zt+128+4)}function Ql(Qe,rt,It,zt){var an,dn=je(16);for(an=0;4>an;++an){var pn=Qe[rt+0+an]+Qe[rt+12+an],wn=Qe[rt+4+an]+Qe[rt+8+an],xn=Qe[rt+4+an]-Qe[rt+8+an],Wn=Qe[rt+0+an]-Qe[rt+12+an];dn[0+an]=pn+wn,dn[8+an]=pn-wn,dn[4+an]=Wn+xn,dn[12+an]=Wn-xn}for(an=0;4>an;++an)pn=(Qe=dn[0+4*an]+3)+dn[3+4*an],wn=dn[1+4*an]+dn[2+4*an],xn=dn[1+4*an]-dn[2+4*an],Wn=Qe-dn[3+4*an],It[zt+0]=pn+wn>>3,It[zt+16]=Wn+xn>>3,It[zt+32]=pn-wn>>3,It[zt+48]=Wn-xn>>3,zt+=64}function Uo(Qe,rt,It){var zt,an=rt-32,dn=Nd,pn=255-Qe[an-1];for(zt=0;ztIt;++It)he(Qe,rt+32*It,Qe,rt-32,16)}function or(Qe,rt){var It;for(It=16;0zt;++zt)De(rt,It+32*zt,Qe,16)}function Dr(Qe,rt){var It,zt=16;for(It=0;16>It;++It)zt+=Qe[rt-1+32*It]+Qe[rt+It-32];_a(zt>>5,Qe,rt)}function $n(Qe,rt){var It,zt=8;for(It=0;16>It;++It)zt+=Qe[rt-1+32*It];_a(zt>>4,Qe,rt)}function Hn(Qe,rt){var It,zt=8;for(It=0;16>It;++It)zt+=Qe[rt+It-32];_a(zt>>4,Qe,rt)}function Jr(Qe,rt){_a(128,Qe,rt)}function zr(Qe,rt,It){return Qe+2*rt+It+2>>2}function Ia(Qe,rt){var It,zt=rt-32;for(zt=new Uint8Array([zr(Qe[zt-1],Qe[zt+0],Qe[zt+1]),zr(Qe[zt+0],Qe[zt+1],Qe[zt+2]),zr(Qe[zt+1],Qe[zt+2],Qe[zt+3]),zr(Qe[zt+2],Qe[zt+3],Qe[zt+4])]),It=0;4>It;++It)he(Qe,rt+32*It,zt,0,zt.length)}function Fa(Qe,rt){var It=Qe[rt-1],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96];fo(Qe,rt+0,16843009*zr(Qe[rt-1-32],It,zt)),fo(Qe,rt+32,16843009*zr(It,zt,an)),fo(Qe,rt+64,16843009*zr(zt,an,dn)),fo(Qe,rt+96,16843009*zr(an,dn,dn))}function er(Qe,rt){var It,zt=4;for(It=0;4>It;++It)zt+=Qe[rt+It-32]+Qe[rt-1+32*It];for(zt>>=3,It=0;4>It;++It)De(Qe,rt+32*It,zt,4)}function Bs(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1-32],pn=Qe[rt+0-32],wn=Qe[rt+1-32],xn=Qe[rt+2-32],Wn=Qe[rt+3-32];Qe[rt+0+96]=zr(zt,an,Qe[rt-1+96]),Qe[rt+1+96]=Qe[rt+0+64]=zr(It,zt,an),Qe[rt+2+96]=Qe[rt+1+64]=Qe[rt+0+32]=zr(dn,It,zt),Qe[rt+3+96]=Qe[rt+2+64]=Qe[rt+1+32]=Qe[rt+0+0]=zr(pn,dn,It),Qe[rt+3+64]=Qe[rt+2+32]=Qe[rt+1+0]=zr(wn,pn,dn),Qe[rt+3+32]=Qe[rt+2+0]=zr(xn,wn,pn),Qe[rt+3+0]=zr(Wn,xn,wn)}function os(Qe,rt){var It=Qe[rt+1-32],zt=Qe[rt+2-32],an=Qe[rt+3-32],dn=Qe[rt+4-32],pn=Qe[rt+5-32],wn=Qe[rt+6-32],xn=Qe[rt+7-32];Qe[rt+0+0]=zr(Qe[rt+0-32],It,zt),Qe[rt+1+0]=Qe[rt+0+32]=zr(It,zt,an),Qe[rt+2+0]=Qe[rt+1+32]=Qe[rt+0+64]=zr(zt,an,dn),Qe[rt+3+0]=Qe[rt+2+32]=Qe[rt+1+64]=Qe[rt+0+96]=zr(an,dn,pn),Qe[rt+3+32]=Qe[rt+2+64]=Qe[rt+1+96]=zr(dn,pn,wn),Qe[rt+3+64]=Qe[rt+2+96]=zr(pn,wn,xn),Qe[rt+3+96]=zr(wn,xn,xn)}function dl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1-32],pn=Qe[rt+0-32],wn=Qe[rt+1-32],xn=Qe[rt+2-32],Wn=Qe[rt+3-32];Qe[rt+0+0]=Qe[rt+1+64]=dn+pn+1>>1,Qe[rt+1+0]=Qe[rt+2+64]=pn+wn+1>>1,Qe[rt+2+0]=Qe[rt+3+64]=wn+xn+1>>1,Qe[rt+3+0]=xn+Wn+1>>1,Qe[rt+0+96]=zr(an,zt,It),Qe[rt+0+64]=zr(zt,It,dn),Qe[rt+0+32]=Qe[rt+1+96]=zr(It,dn,pn),Qe[rt+1+32]=Qe[rt+2+96]=zr(dn,pn,wn),Qe[rt+2+32]=Qe[rt+3+96]=zr(pn,wn,xn),Qe[rt+3+32]=zr(wn,xn,Wn)}function fA(Qe,rt){var It=Qe[rt+0-32],zt=Qe[rt+1-32],an=Qe[rt+2-32],dn=Qe[rt+3-32],pn=Qe[rt+4-32],wn=Qe[rt+5-32],xn=Qe[rt+6-32],Wn=Qe[rt+7-32];Qe[rt+0+0]=It+zt+1>>1,Qe[rt+1+0]=Qe[rt+0+64]=zt+an+1>>1,Qe[rt+2+0]=Qe[rt+1+64]=an+dn+1>>1,Qe[rt+3+0]=Qe[rt+2+64]=dn+pn+1>>1,Qe[rt+0+32]=zr(It,zt,an),Qe[rt+1+32]=Qe[rt+0+96]=zr(zt,an,dn),Qe[rt+2+32]=Qe[rt+1+96]=zr(an,dn,pn),Qe[rt+3+32]=Qe[rt+2+96]=zr(dn,pn,wn),Qe[rt+3+64]=zr(pn,wn,xn),Qe[rt+3+96]=zr(wn,xn,Wn)}function Bl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96];Qe[rt+0+0]=It+zt+1>>1,Qe[rt+2+0]=Qe[rt+0+32]=zt+an+1>>1,Qe[rt+2+32]=Qe[rt+0+64]=an+dn+1>>1,Qe[rt+1+0]=zr(It,zt,an),Qe[rt+3+0]=Qe[rt+1+32]=zr(zt,an,dn),Qe[rt+3+32]=Qe[rt+1+64]=zr(an,dn,dn),Qe[rt+3+64]=Qe[rt+2+64]=Qe[rt+0+96]=Qe[rt+1+96]=Qe[rt+2+96]=Qe[rt+3+96]=dn}function fl(Qe,rt){var It=Qe[rt-1+0],zt=Qe[rt-1+32],an=Qe[rt-1+64],dn=Qe[rt-1+96],pn=Qe[rt-1-32],wn=Qe[rt+0-32],xn=Qe[rt+1-32],Wn=Qe[rt+2-32];Qe[rt+0+0]=Qe[rt+2+32]=It+pn+1>>1,Qe[rt+0+32]=Qe[rt+2+64]=zt+It+1>>1,Qe[rt+0+64]=Qe[rt+2+96]=an+zt+1>>1,Qe[rt+0+96]=dn+an+1>>1,Qe[rt+3+0]=zr(wn,xn,Wn),Qe[rt+2+0]=zr(pn,wn,xn),Qe[rt+1+0]=Qe[rt+3+32]=zr(It,pn,wn),Qe[rt+1+32]=Qe[rt+3+64]=zr(zt,It,pn),Qe[rt+1+64]=Qe[rt+3+96]=zr(an,zt,It),Qe[rt+1+96]=zr(dn,an,zt)}function DA(Qe,rt){var It;for(It=0;8>It;++It)he(Qe,rt+32*It,Qe,rt-32,8)}function al(Qe,rt){var It;for(It=0;8>It;++It)De(Qe,rt,Qe[rt-1],8),rt+=32}function hA(Qe,rt,It){var zt;for(zt=0;8>zt;++zt)De(rt,It+32*zt,Qe,8)}function Qc(Qe,rt){var It,zt=8;for(It=0;8>It;++It)zt+=Qe[rt+It-32]+Qe[rt-1+32*It];hA(zt>>4,Qe,rt)}function JA(Qe,rt){var It,zt=4;for(It=0;8>It;++It)zt+=Qe[rt+It-32];hA(zt>>3,Qe,rt)}function Mf(Qe,rt){var It,zt=4;for(It=0;8>It;++It)zt+=Qe[rt-1+32*It];hA(zt>>3,Qe,rt)}function Rf(Qe,rt){hA(128,Qe,rt)}function yd(Qe,rt,It){var zt=Qe[rt-It],an=Qe[rt+0],dn=3*(an-zt)+Kg[1020+Qe[rt-2*It]-Qe[rt+It]],pn=f0[112+(dn+4>>3)];Qe[rt-It]=Nd[255+zt+f0[112+(dn+3>>3)]],Qe[rt+0]=Nd[255+an-pn]}function sf(Qe,rt,It,zt){var an=Qe[rt+0],dn=Qe[rt+It];return Pf[255+Qe[rt-2*It]-Qe[rt-It]]>zt||Pf[255+dn-an]>zt}function Ld(Qe,rt,It,zt){return 4*Pf[255+Qe[rt-It]-Qe[rt+0]]+Pf[255+Qe[rt-2*It]-Qe[rt+It]]<=zt}function F0(Qe,rt,It,zt,an){var dn=Qe[rt-3*It],pn=Qe[rt-2*It],wn=Qe[rt-It],xn=Qe[rt+0],Wn=Qe[rt+It],jr=Qe[rt+2*It],bi=Qe[rt+3*It];return 4*Pf[255+wn-xn]+Pf[255+pn-Wn]>zt?0:Pf[255+Qe[rt-4*It]-dn]<=an&&Pf[255+dn-pn]<=an&&Pf[255+pn-wn]<=an&&Pf[255+bi-jr]<=an&&Pf[255+jr-Wn]<=an&&Pf[255+Wn-xn]<=an}function nd(Qe,rt,It,zt){var an=2*zt+1;for(zt=0;16>zt;++zt)Ld(Qe,rt+zt,It,an)&&yd(Qe,rt+zt,It)}function Oh(Qe,rt,It,zt){var an=2*zt+1;for(zt=0;16>zt;++zt)Ld(Qe,rt+zt*It,1,an)&&yd(Qe,rt+zt*It,1)}function M0(Qe,rt,It,zt){var an;for(an=3;0>7,Aa=18*ma+63>>7,ma=9*ma+63>>7;xn[Wn-3*jr]=Nd[255+xn[Wn-3*jr]+ma],xn[Wn-2*jr]=Nd[255+bi+Aa],xn[Wn-jr]=Nd[255+Xn+yi],xn[Wn+0]=Nd[255+Kr-yi],xn[Wn+jr]=Nd[255+Ai-Aa],xn[Wn+2*jr]=Nd[255+aa-ma]}rt+=zt}}function Hf(Qe,rt,It,zt,an,dn,pn,wn){for(dn=2*dn+1;0>3)],aa=f0[112+(aa+3>>3)],yi=Ai+1>>1;xn[Wn-2*jr]=Nd[255+xn[Wn-2*jr]+yi],xn[Wn-jr]=Nd[255+bi+aa],xn[Wn+0]=Nd[255+Xn-Ai],xn[Wn+jr]=Nd[255+Kr-yi]}rt+=zt}}function u0(Qe,rt,It,zt,an,dn){zf(Qe,rt,It,1,16,zt,an,dn)}function kh(Qe,rt,It,zt,an,dn){zf(Qe,rt,1,It,16,zt,an,dn)}function pp(Qe,rt,It,zt,an,dn){var pn;for(pn=3;0Wn?0:255:Wn)&255,Wn=xn,an[dn+wn]=jr}}function vA(Qe,rt,It,zt){var an=rt.width,dn=rt.o;if(ee(Qe!=null&&rt!=null),0>It||0>=zt||It+zt>dn)return null;if(!Qe.Cc){if(Qe.ga==null){var pn;if(Qe.ga=new Xl,(pn=Qe.ga==null)||(pn=rt.width*rt.o,ee(Qe.Gb.length==0),Qe.Gb=je(pn),Qe.Uc=0,Qe.Gb==null?pn=0:(Qe.mb=Qe.Gb,Qe.nb=Qe.Uc,Qe.rc=null,pn=1),pn=!pn),!pn){pn=Qe.ga;var wn=Qe.Fa,xn=Qe.P,Wn=Qe.qc,jr=Qe.mb,bi=Qe.nb,Xn=xn+1,Kr=Wn-1,Ai=pn.l;if(ee(wn!=null&&jr!=null&&rt!=null),Jg[0]=null,Jg[1]=Su,Jg[2]=LA,Jg[3]=hc,pn.ca=jr,pn.tb=bi,pn.c=rt.width,pn.i=rt.height,ee(0=Wn)rt=0;else if(pn.$a=3&wn[xn+0],pn.Z=wn[xn+0]>>2&3,pn.Lc=wn[xn+0]>>4&3,xn=wn[xn+0]>>6&3,0>pn.$a||1=pn.c*pn.i;pn=!rt}if(pn)return null;Qe.ga.Lc!=1?Qe.Ga=0:zt=dn-It}ee(Qe.ga!=null),ee(It+zt<=dn);e:{if(rt=(wn=Qe.ga).c,dn=wn.l.o,wn.$a==0){if(Xn=Qe.rc,Kr=Qe.Vc,Ai=Qe.Fa,xn=Qe.P+1+It*rt,Wn=Qe.mb,jr=Qe.nb+It*rt,ee(xn<=Qe.P+Qe.qc),wn.Z!=0)for(ee(Jg[wn.Z]!=null),pn=0;pn=rt)rt=1;else if(wn.ic||ao(),wn.ic){wn=pn.V,Xn=pn.Ba,Kr=pn.c;var aa=pn.i,yi=(Ai=1,xn=pn.$/Kr,Wn=pn.$%Kr,jr=pn.m,bi=pn.s,pn.$),Aa=Kr*aa,ma=Kr*rt,ho=bi.wc,Qa=yi(aa=Ze(Qa.G[0],Qa.H[0],jr)))wn[Xn+yi]=aa,++yi,++Wn>=Kr&&(Wn=0,++xn<=rt&&!(xn%16)&&fn(pn,xn));else{if(!(280>aa)){Ai=0;break t}aa=o0(aa-256,jr);var vl,Vs=Ze(Qa.G[4],Qa.H[4],jr);if(pi(jr),!(yi>=(Vs=s0(Kr,Vs=o0(Vs,jr)))&&Aa-yi>=aa)){Ai=0;break t}for(vl=0;vl=Kr;)Wn-=Kr,++xn<=rt&&!(xn%16)&&fn(pn,xn);yirt?rt:xn);break t}!Ai||jr.h&&yi=dn&&(Qe.Cc=1),zt=1}if(!zt)return null;if(Qe.Cc&&((zt=Qe.ga)!=null&&(zt.mc=null),Qe.ga=null,0>23,wn[xn+4*pn+1]=wn[xn+4*pn+1]*bi>>23,wn[xn+4*pn+2]=wn[xn+4*pn+2]*bi>>23)}rt+=dn}}function pc(Qe,rt,It,zt,an){for(;0>4)*xn>>16;Qe[rt+2*dn+0]=(240&pn|pn>>4)*xn>>16&240|(15&pn|pn<<4)*xn>>16>>4&15,Qe[rt+2*dn+1]=240&Wn|wn}rt+=an}}function Uc(Qe,rt,It,zt,an,dn,pn,wn){var xn,Wn,jr=255;for(Wn=0;Wn>8}function ao(){Ag=vc,jm=pc,fm=Uc,Zp=gi}function Ko(Qe,rt,It){qn[Qe]=function(zt,an,dn,pn,wn,xn,Wn,jr,bi,Xn,Kr,Ai,aa,yi,Aa,ma,ho){var Qa,vl=ho-1>>1,Vs=wn[xn+0]|Wn[jr+0]<<16,Qu=bi[Xn+0]|Kr[Ai+0]<<16;ee(zt!=null);var sl=3*Vs+Qu+131074>>2;for(rt(zt[an+0],255&sl,sl>>16,aa,yi),dn!=null&&(sl=3*Qu+Vs+131074>>2,rt(dn[pn+0],255&sl,sl>>16,Aa,ma)),Qa=1;Qa<=vl;++Qa){var pA=wn[xn+Qa]|Wn[jr+Qa]<<16,df=bi[Xn+Qa]|Kr[Ai+Qa]<<16,Uu=Vs+pA+Qu+df+524296,ll=Uu+2*(pA+Qu)>>3;sl=ll+Vs>>1,Vs=(Uu=Uu+2*(Vs+df)>>3)+pA>>1,rt(zt[an+2*Qa-1],255&sl,sl>>16,aa,yi+(2*Qa-1)*It),rt(zt[an+2*Qa-0],255&Vs,Vs>>16,aa,yi+(2*Qa-0)*It),dn!=null&&(sl=Uu+Qu>>1,Vs=ll+df>>1,rt(dn[pn+2*Qa-1],255&sl,sl>>16,Aa,ma+(2*Qa-1)*It),rt(dn[pn+2*Qa+0],255&Vs,Vs>>16,Aa,ma+(2*Qa+0)*It)),Vs=pA,Qu=df}1&ho||(sl=3*Vs+Qu+131074>>2,rt(zt[an+ho-1],255&sl,sl>>16,aa,yi+(ho-1)*It),dn!=null&&(sl=3*Qu+Vs+131074>>2,rt(dn[pn+ho-1],255&sl,sl>>16,Aa,ma+(ho-1)*It)))}}function Pl(){wp[Gp]=f1,wp[Wo]=zv,wp[EA]=h1,wp[wA]=Hv,wp[Mc]=Wv,wp[Dc]=Xv,wp[Ed]=p1,wp[zc]=zv,wp[T0]=Hv,wp[dd]=Wv,wp[hh]=Xv}function Xu(Qe){return Qe&~g1?0>Qe?0:255:Qe>>Zv}function Lu(Qe,rt){return Xu((19077*Qe>>8)+(26149*rt>>8)-14234)}function Pu(Qe,rt,It){return Xu((19077*Qe>>8)-(6419*rt>>8)-(13320*It>>8)+8708)}function oc(Qe,rt){return Xu((19077*Qe>>8)+(33050*rt>>8)-17685)}function Zd(Qe,rt,It,zt,an){zt[an+0]=Lu(Qe,It),zt[an+1]=Pu(Qe,rt,It),zt[an+2]=oc(Qe,rt)}function qA(Qe,rt,It,zt,an){zt[an+0]=oc(Qe,rt),zt[an+1]=Pu(Qe,rt,It),zt[an+2]=Lu(Qe,It)}function cd(Qe,rt,It,zt,an){var dn=Pu(Qe,rt,It);rt=dn<<3&224|oc(Qe,rt)>>3,zt[an+0]=248&Lu(Qe,It)|dn>>5,zt[an+1]=rt}function ch(Qe,rt,It,zt,an){var dn=240&oc(Qe,rt)|15;zt[an+0]=240&Lu(Qe,It)|Pu(Qe,rt,It)>>4,zt[an+1]=dn}function A0(Qe,rt,It,zt,an){zt[an+0]=255,Zd(Qe,rt,It,zt,an+1)}function lf(Qe,rt,It,zt,an){qA(Qe,rt,It,zt,an),zt[an+3]=255}function Rc(Qe,rt,It,zt,an){Zd(Qe,rt,It,zt,an),zt[an+3]=255}function Df(Qe,rt,It){qn[Qe]=function(zt,an,dn,pn,wn,xn,Wn,jr,bi){for(var Xn=jr+(-2&bi)*It;jr!=Xn;)rt(zt[an+0],dn[pn+0],wn[xn+0],Wn,jr),rt(zt[an+1],dn[pn+0],wn[xn+0],Wn,jr+It),an+=2,++pn,++xn,jr+=2*It;1&bi&&rt(zt[an+0],dn[pn+0],wn[xn+0],Wn,jr)}}function Qh(Qe,rt,It){return It==0?Qe==0?rt==0?6:5:rt==0?4:0:It}function gp(Qe,rt,It,zt,an){switch(Qe>>>30){case 3:Hp(rt,It,zt,an,0);break;case 2:dh(rt,It,zt,an);break;case 1:yA(rt,It,zt,an)}}function Pd(Qe,rt){var It,zt,an=rt.M,dn=rt.Nb,pn=Qe.oc,wn=Qe.pc+40,xn=Qe.oc,Wn=Qe.pc+584,jr=Qe.oc,bi=Qe.pc+600;for(It=0;16>It;++It)pn[wn+32*It-1]=129;for(It=0;8>It;++It)xn[Wn+32*It-1]=129,jr[bi+32*It-1]=129;for(0It;++It)he(pn,wn+32*It-4,pn,wn+32*It+12,4);for(It=-1;8>It;++It)he(xn,Wn+32*It-4,xn,Wn+32*It+4,4),he(jr,bi+32*It-4,jr,bi+32*It+4,4)}var Kr=Qe.Gd,Ai=Qe.Hd+zt,aa=Xn.ad,yi=Xn.Hc;if(0=Qe.za-1?De(Aa,ma,Kr[Ai].y[15],4):he(Aa,ma,Kr[Ai+1].y,0,4)),It=0;4>It;It++)Aa[ma+128+It]=Aa[ma+256+It]=Aa[ma+384+It]=Aa[ma+0+It];for(It=0;16>It;++It,yi<<=2)Aa=pn,ma=wn+Gv[It],Kp[Xn.Ob[It]](Aa,ma),gp(yi,aa,16*+It,Aa,ma)}else if(Aa=Qh(zt,an,Xn.Ob[0]),Yg[Aa](pn,wn),yi!=0)for(It=0;16>It;++It,yi<<=2)gp(yi,aa,16*+It,pn,wn+Gv[It]);for(It=Xn.Gc,Aa=Qh(zt,an,Xn.Dd),Pg[Aa](xn,Wn),Pg[Aa](jr,bi),yi=aa,Aa=xn,ma=Wn,255&(Xn=0|It)&&(170&Xn?fh(yi,256,Aa,ma):oA(yi,256,Aa,ma)),Xn=jr,yi=bi,255&(It>>=8)&&(170&It?fh(aa,320,Xn,yi):oA(aa,320,Xn,yi)),anIt;++It)he(Kr,Ai+It*Qe.R,pn,wn+32*It,16);for(It=0;8>It;++It)he(aa,Xn+It*Qe.B,xn,Wn+32*It,8),he(yi,Aa+It*Qe.B,jr,bi+32*It,8)}}function ZA(Qe,rt,It,zt,an,dn,pn,wn,xn){var Wn=[0],jr=[0],bi=0,Xn=xn!=null?xn.kd:0,Kr=xn!=null?xn:new Ma;if(Qe==null||12>It)return 7;Kr.data=Qe,Kr.w=rt,Kr.ha=It,rt=[rt],It=[It],Kr.gb=[Kr.gb];e:{var Ai=rt,aa=It,yi=Kr.gb;if(ee(Qe!=null),ee(aa!=null),ee(yi!=null),yi[0]=0,12<=aa[0]&&!x(Qe,Ai[0],"RIFF")){if(x(Qe,Ai[0]+8,"WEBP")){yi=3;break e}var Aa=tl(Qe,Ai[0]+4);if(12>Aa||4294967286aa[0]-8){yi=7;break e}yi[0]=Aa,Ai[0]+=12,aa[0]-=12}yi=0}if(yi!=0)return yi;for(Aa=0yi[0])yi=7;else{if(!x(ma,aa[0],"VP8X")){if(tl(ma,aa[0]+4)!=10){yi=3;break e}if(18>yi[0]){yi=7;break e}var Vs=tl(ma,aa[0]+8),Qu=1+is(ma,aa[0]+12);if(2147483648<=Qu*(ma=1+is(ma,aa[0]+15))){yi=3;break e}vl!=null&&(vl[0]=Vs),ho!=null&&(ho[0]=Qu),Qa!=null&&(Qa[0]=ma),aa[0]+=18,yi[0]-=18,sl[0]=1}yi=0}}if(bi=bi[0],Ai=Ai[0],yi!=0)return yi;if(aa=!!(2&Ai),!Aa&&bi)return 3;if(dn!=null&&(dn[0]=!!(16&Ai)),pn!=null&&(pn[0]=aa),wn!=null&&(wn[0]=0),pn=Wn[0],Ai=jr[0],bi&&aa&&xn==null){yi=0;break}if(4>It){yi=7;break}if(Aa&&bi||!Aa&&!bi&&!x(Qe,rt[0],"ALPH")){It=[It],Kr.na=[Kr.na],Kr.P=[Kr.P],Kr.Sa=[Kr.Sa];e:{Vs=Qe,yi=rt,Aa=It;var sl=Kr.gb;ho=Kr.na,Qa=Kr.P,vl=Kr.Sa,Qu=22,ee(Vs!=null),ee(Aa!=null),ma=yi[0];var pA=Aa[0];for(ee(ho!=null),ee(vl!=null),ho[0]=null,Qa[0]=null,vl[0]=0;;){if(yi[0]=ma,Aa[0]=pA,8>pA){yi=7;break e}var df=tl(Vs,ma+4);if(4294967286sl){yi=3;break e}if(!x(Vs,ma,"VP8 ")||!x(Vs,ma,"VP8L")){yi=0;break e}if(pA[0]Aa[0])yi=7;else{if(ma||Qu){if(sl=tl(sl,Vs+4),12<=ho&&sl>ho-12){yi=3;break e}if(Xn&&sl>Aa[0]-8){yi=7;break e}Qa[0]=sl,yi[0]+=8,Aa[0]-=8,vl[0]=Qu}else vl[0]=5<=Aa[0]&&sl[Vs+0]==47&&!(sl[Vs+4]>>5),Qa[0]=Aa[0];yi=0}if(It=It[0],Kr.Ja=Kr.Ja[0],Kr.xa=Kr.xa[0],rt=rt[0],yi!=0)break;if(4294967286It){yi=7;break}wn=pn,Xn=Ai,aa=dn,Qe==null||5>It?Qe=0:5<=It&&Qe[rt+0]==47&&!(Qe[rt+4]>>5)?(Aa=[0],sl=[0],ho=[0],Vi(Qa=new Gn,Qe,rt,It),hp(Qa,Aa,sl,ho)?(wn!=null&&(wn[0]=Aa[0]),Xn!=null&&(Xn[0]=sl[0]),aa!=null&&(aa[0]=ho[0]),Qe=1):Qe=0):Qe=0}else{if(10>It){yi=7;break}wn=Ai,Qe==null||10>It||!di(Qe,rt+3,It-3)?Qe=0:(Xn=Qe[rt+0]|Qe[rt+1]<<8|Qe[rt+2]<<16,aa=16383&(Qe[rt+7]<<8|Qe[rt+6]),Qe=16383&(Qe[rt+9]<<8|Qe[rt+8]),1&Xn||3<(Xn>>1&7)||!(Xn>>4&1)||Xn>>5>=Kr.Ja||!aa||!Qe?Qe=0:(pn&&(pn[0]=aa),wn&&(wn[0]=Qe),Qe=1))}if(!Qe||(pn=pn[0],Ai=Ai[0],bi&&(Wn[0]!=pn||jr[0]!=Ai)))return 3;xn!=null&&(xn[0]=Kr,xn.offset=rt-xn.w,ee(4294967286>rt-xn.w),ee(xn.offset==xn.ha-It));break}return yi==0||yi==7&&bi&&xn==null?(dn!=null&&(dn[0]|=Kr.na!=null&&0It||(dn&=-2,pn&=-2),0>dn||0>pn||0>=wn||0>=xn||dn+wn>zt||pn+xn>an))return 0;if(rt.v=dn,rt.j=pn,rt.va=dn+wn,rt.o=pn+xn,rt.U=wn,rt.T=xn,rt.da=Qe!=null&&0Qe.S){var rt=Qe.f.RGBA;rt.fb+=(Qe.height-1)*rt.A,rt.A=-rt.A}else rt=Qe.f.kb,Qe=Qe.height,rt.O+=(Qe-1)*rt.fa,rt.fa=-rt.fa,rt.N+=(Qe-1>>1)*rt.Ab,rt.Ab=-rt.Ab,rt.W+=(Qe-1>>1)*rt.Db,rt.Db=-rt.Db,rt.F!=null&&(rt.J+=(Qe-1)*rt.lb,rt.lb=-rt.lb);return 0}function c0(Qe,rt,It,zt){if(zt==null||0>=Qe||0>=rt)return 2;if(It!=null){if(It.Da){var an=It.cd,dn=It.bd,pn=-2&It.v,wn=-2&It.j;if(0>pn||0>wn||0>=an||0>=dn||pn+an>Qe||wn+dn>rt)return 2;Qe=an,rt=dn}if(It.da){if(!jl(Qe,rt,an=[It.ib],dn=[It.hb]))return 2;Qe=an[0],rt=dn[0]}}zt.width=Qe,zt.height=rt;e:{var xn=zt.width,Wn=zt.height;if(Qe=zt.S,0>=xn||0>=Wn||!(Qe>=Gp&&13>Qe))Qe=2;else{if(0>=zt.Rd&&zt.sd==null){pn=dn=an=rt=0;var jr=(wn=xn*Kv[Qe])*Wn;if(11>Qe||(dn=(Wn+1)/2*(rt=(xn+1)/2),Qe==12&&(pn=(an=xn)*Wn)),(Wn=je(jr+2*dn+pn))==null){Qe=1;break e}zt.sd=Wn,11>Qe?((xn=zt.f.RGBA).eb=Wn,xn.fb=0,xn.A=wn,xn.size=jr):((xn=zt.f.kb).y=Wn,xn.O=0,xn.fa=wn,xn.Fd=jr,xn.f=Wn,xn.N=0+jr,xn.Ab=rt,xn.Cd=dn,xn.ea=Wn,xn.W=0+jr+dn,xn.Db=rt,xn.Ed=dn,Qe==12&&(xn.F=Wn,xn.J=0+jr+2*dn),xn.Tc=pn,xn.lb=an)}if(rt=1,an=zt.S,dn=zt.width,pn=zt.height,an>=Gp&&13>an)if(11>an)Qe=zt.f.RGBA,rt&=(wn=Math.abs(Qe.A))*(pn-1)+dn<=Qe.size,rt&=wn>=dn*Kv[an],rt&=Qe.eb!=null;else{Qe=zt.f.kb,wn=(dn+1)/2,jr=(pn+1)/2,xn=Math.abs(Qe.fa),Wn=Math.abs(Qe.Ab);var bi=Math.abs(Qe.Db),Xn=Math.abs(Qe.lb),Kr=Xn*(pn-1)+dn;rt&=xn*(pn-1)+dn<=Qe.Fd,rt&=Wn*(jr-1)+wn<=Qe.Cd,rt=(rt&=bi*(jr-1)+wn<=Qe.Ed)&xn>=dn&Wn>=wn&bi>=wn,rt&=Qe.y!=null,rt&=Qe.f!=null,rt&=Qe.ea!=null,an==12&&(rt&=Xn>=dn,rt&=Kr<=Qe.Tc,rt&=Qe.F!=null)}else rt=0;Qe=rt?0:2}}return Qe!=0||It!=null&&It.fd&&(Qe=Uh(zt)),Qe}var D0=64,uf=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Af=24,d0=32,aA=8,mp=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Hs("Predictor0","PredictorAdd0"),qn.Predictor0=function(){return 4278190080},qn.Predictor1=function(Qe){return Qe},qn.Predictor2=function(Qe,rt,It){return rt[It+0]},qn.Predictor3=function(Qe,rt,It){return rt[It+1]},qn.Predictor4=function(Qe,rt,It){return rt[It-1]},qn.Predictor5=function(Qe,rt,It){return El(El(Qe,rt[It+1]),rt[It+0])},qn.Predictor6=function(Qe,rt,It){return El(Qe,rt[It-1])},qn.Predictor7=function(Qe,rt,It){return El(Qe,rt[It+0])},qn.Predictor8=function(Qe,rt,It){return El(rt[It-1],rt[It+0])},qn.Predictor9=function(Qe,rt,It){return El(rt[It+0],rt[It+1])},qn.Predictor10=function(Qe,rt,It){return El(El(Qe,rt[It-1]),El(rt[It+0],rt[It+1]))},qn.Predictor11=function(Qe,rt,It){var zt=rt[It+0];return 0>=mu(zt>>24&255,Qe>>24&255,(rt=rt[It-1])>>24&255)+mu(zt>>16&255,Qe>>16&255,rt>>16&255)+mu(zt>>8&255,Qe>>8&255,rt>>8&255)+mu(255&zt,255&Qe,255&rt)?zt:Qe},qn.Predictor12=function(Qe,rt,It){var zt=rt[It+0];return(RA((Qe>>24&255)+(zt>>24&255)-((rt=rt[It-1])>>24&255))<<24|RA((Qe>>16&255)+(zt>>16&255)-(rt>>16&255))<<16|RA((Qe>>8&255)+(zt>>8&255)-(rt>>8&255))<<8|RA((255&Qe)+(255&zt)-(255&rt)))>>>0},qn.Predictor13=function(Qe,rt,It){var zt=rt[It-1];return(qu((Qe=El(Qe,rt[It+0]))>>24&255,zt>>24&255)<<24|qu(Qe>>16&255,zt>>16&255)<<16|qu(Qe>>8&255,zt>>8&255)<<8|qu(255&Qe,255&zt))>>>0};var Dg=qn.PredictorAdd0;qn.PredictorAdd1=iA,Hs("Predictor2","PredictorAdd2"),Hs("Predictor3","PredictorAdd3"),Hs("Predictor4","PredictorAdd4"),Hs("Predictor5","PredictorAdd5"),Hs("Predictor6","PredictorAdd6"),Hs("Predictor7","PredictorAdd7"),Hs("Predictor8","PredictorAdd8"),Hs("Predictor9","PredictorAdd9"),Hs("Predictor10","PredictorAdd10"),Hs("Predictor11","PredictorAdd11"),Hs("Predictor12","PredictorAdd12"),Hs("Predictor13","PredictorAdd13");var Up=qn.PredictorAdd2;cl("ColorIndexInverseTransform","MapARGB","32b",function(Qe){return Qe>>8&255},function(Qe){return Qe}),cl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Qe){return Qe},function(Qe){return Qe>>8&255});var yc,vp=qn.ColorIndexInverseTransform,Xf=qn.MapARGB,Lf=qn.VP8LColorIndexInverseTransformAlpha,Rp=qn.MapAlpha,ml=qn.VP8LPredictorsAdd=[];ml.length=16,(qn.VP8LPredictors=[]).length=16,(qn.VP8LPredictorsAdd_C=[]).length=16,(qn.VP8LPredictors_C=[]).length=16;var zp,L0,PA,pl,P0,N0,cf,Hp,dh,fh,yA,oA,Ec,VA,Rh,Wp,Xp,Lg,Vg,zh,bm,Cm,cm,dm,Ag,jm,fm,Zp,Vp=je(511),hm=je(2041),Bm=je(225),Gg=je(767),pm=0,Kg=hm,f0=Bm,Nd=Gg,Pf=Vp,Gp=0,Wo=1,EA=2,wA=3,Mc=4,Dc=5,Ed=6,zc=7,T0=8,dd=9,hh=10,wa=[2,3,7],ol=[3,3,11],ka=[280,256,256,256,40],sA=[0,1,1,1,0],GA=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],eA=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Vd=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],j0=8,yp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Ep=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Zf=null,ph=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],O0=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],h0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],A1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],c1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Yg=[],Kp=[],Pg=[],d1=1,Rv=2,Jg=[],wp=[];Ko("UpsampleRgbLinePair",Zd,3),Ko("UpsampleBgrLinePair",qA,3),Ko("UpsampleRgbaLinePair",Rc,4),Ko("UpsampleBgraLinePair",lf,4),Ko("UpsampleArgbLinePair",A0,4),Ko("UpsampleRgba4444LinePair",ch,2),Ko("UpsampleRgb565LinePair",cd,2);var f1=qn.UpsampleRgbLinePair,h1=qn.UpsampleBgrLinePair,zv=qn.UpsampleRgbaLinePair,Hv=qn.UpsampleBgraLinePair,Wv=qn.UpsampleArgbLinePair,Xv=qn.UpsampleRgba4444LinePair,p1=qn.UpsampleRgb565LinePair,ov=16,sv=1<zt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),zt.ca.f.kb.F!=null&&ao()),zt.Pb&&0(xn=It.Md)?0:100Wn;++Wn)12>(bi=an.pb[Wn]).lc&&(bi.ia=xn*C1[0>bi.lc?0:bi.lc]>>3),jr|=bi.ia;jr&&(alert("todo:VP8InitRandom"),an.ia=1)}an.Ga=It.Id,100an.Ga&&(an.Ga=0)}(function(Xn,Kr){if(Xn==null)return 0;if(Kr==null)return Ni(Xn,2,"NULL VP8Io parameter in VP8Decode().");if(!Xn.cb&&!Fr(Xn,Kr))return 0;if(ee(Xn.cb),Kr.ac==null||Kr.ac(Kr)){Kr.ob&&(Xn.L=0);var Ai=lv[Xn.L];if(Xn.L==2?(Xn.yb=0,Xn.zb=0):(Xn.yb=Kr.v-Ai>>4,Xn.zb=Kr.j-Ai>>4,0>Xn.yb&&(Xn.yb=0),0>Xn.zb&&(Xn.zb=0)),Xn.Va=Kr.o+15+Ai>>4,Xn.Hb=Kr.va+15+Ai>>4,Xn.Hb>Xn.za&&(Xn.Hb=Xn.za),Xn.Va>Xn.Ub&&(Xn.Va=Xn.Ub),0Ai;++Ai){var yi;if(Xn.Qa.Cb){var Aa=Xn.Qa.Lb[Ai];Xn.Qa.Fb||(Aa+=aa.Tb)}else Aa=aa.Tb;for(yi=0;1>=yi;++yi){var ma=Xn.gd[Ai][yi],ho=Aa;if(aa.Pc&&(ho+=aa.vd[0],yi&&(ho+=aa.od[0])),0<(ho=0>ho?0:63>2:Qa>>1)>9-aa.wb&&(Qa=9-aa.wb),1>Qa&&(Qa=1),ma.dd=Qa,ma.tc=2*ho+Qa,ma.ld=40<=ho?2:15<=ho?1:0}else ma.tc=0;ma.La=yi}}}Ai=0}else Ni(Xn,6,"Frame setup failed"),Ai=Xn.a;if(Ai=Ai==0){if(Ai){Xn.$c=0,0Xn.Vb){if(Xn.Vb=0,Xn.Ec=je(ma),Xn.Fc=0,Xn.Ec==null){Ai=Ni(Xn,1,"no memory during frame initialization.");break t}Xn.Vb=ma}ma=Xn.Ec,ho=Xn.Fc,Xn.Ac=ma,Xn.Bc=ho,ho+=aa,Xn.Gd=pt(vl,mr),Xn.Hd=0,Xn.rb=pt(Vs+1,Vr),Xn.sb=1,Xn.wa=Qu?pt(Qu,Qr):null,Xn.Y=0,Xn.D.Nb=0,Xn.D.wa=Xn.wa,Xn.D.Y=Xn.Y,0=Ai;++Ai)Vp[255+Ai]=0>Ai?-Ai:Ai;for(Ai=-1020;1020>=Ai;++Ai)hm[1020+Ai]=-128>Ai?-128:127=Ai;++Ai)Bm[112+Ai]=-16>Ai?-16:15=Ai;++Ai)Gg[255+Ai]=0>Ai?0:255bA;++bA){var ff,NA=Hh[0+bA];for(ff=0;4>ff;++ff){NA=Uv[Hc[Vf+ff]][NA];for(var sc=h0[ga(Iu,NA[0])];0>3;for(sc=0;256>sc;sc+=16)bA[gh+sc]=p0}Gf=1,Yp=Vf[0]}var wc=15&Iu.la,hf=15&Wh.la;for(sc=0;4>sc;++sc){var k0=1&hf;for(p0=lc=0;4>p0;++p0)wc=wc>>1|(k0=(jd=Zf(Hc,Yp,jd=k0+(1&wc),wd.Sc,Gf,bA,gh))>Gf)<<7,lc=lc<<2|(3>=4,hf=hf>>1|k0<<7,ff=(ff<<8|lc)>>>0}for(Yp=wc,Gf=hf>>4,bd=0;4>bd;bd+=2){for(lc=0,wc=Iu.la>>4+bd,hf=Wh.la>>4+bd,sc=0;2>sc;++sc){for(k0=1&hf,p0=0;2>p0;++p0)jd=k0+(1&wc),wc=wc>>1|(k0=0<(jd=Zf(Hc,Vf[2],jd,wd.Qc,0,bA,gh)))<<3,lc=lc<<2|(3>=2,hf=hf>>1|k0<<5}NA|=lc<<4*bd,Yp|=wc<<4<=ll.zb&&ll.M<=ll.Va,ll.Aa==0)t:{if(Uu.M=ll.M,Uu.uc=Iu,Pd(ll,Uu),Td=1,Uu=(lc=ll.D).Nb,Iu=(NA=lv[ll.L])*ll.R,Hc=NA/2*ll.B,sc=16*Uu*ll.R,p0=8*Uu*ll.B,Vf=ll.sa,Hh=ll.ta-Iu+sc,wd=ll.qa,bA=ll.ra-Hc+p0,gh=ll.Ha,Wh=ll.Ia-Hc+p0,hf=(wc=lc.M)==0,ff=wc>=ll.Va-1,ll.Aa==2&&Pd(ll,lc),lc.uc)for(k0=(jd=ll).D.M,ee(jd.D.uc),lc=jd.yb;lc$o.o&&(wc=$o.o),$o.F=null,$o.J=null,ll.Fa!=null&&0>1),$o.W+=ll.B*(NA>>1),$o.F!=null&&($o.J+=$o.width*NA)),lc>1,$o.W+=$o.v>>1,$o.F!=null&&($o.J+=$o.v),$o.ka=lc-$o.j,$o.U=$o.va-$o.v,$o.T=wc-lc,Td=$o.put($o))}Uu+1!=ll.Ic||ff||(he(ll.sa,ll.ta-Iu,Vf,Hh+16*ll.R,Iu),he(ll.qa,ll.ra-Hc,wd,bA+8*ll.B,Hc),he(ll.Ha,ll.Ia-Hc,gh,Wh+8*ll.B,Hc))}if(!Td)return Ni(pA,6,"Output aborted.")}return 1}(Xn,Kr)),Kr.bc!=null&&Kr.bc(Kr),Ai&=1}return Ai?(Xn.cb=0,Ai):0})(Qe,zt)||(rt=Qe.a)}}else rt=Qe.a}rt==0&&pn.Oa!=null&&pn.Oa.fd&&(rt=Uh(pn.ba))}pn=rt}dn=pn!=0?null:11>dn?wn.f.RGBA.eb:wn.f.kb.y}else dn=null;return dn};var Kv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function bt(qn,si){for(var vn="",Qn=0;Qn<4;Qn++)vn+=String.fromCharCode(qn[si++]);return vn}function Mt(qn,si){return qn[si+0]|qn[si+1]<<8}function nn(qn,si){return(qn[si+0]|qn[si+1]<<8|qn[si+2]<<16)>>>0}function cn(qn,si){return(qn[si+0]|qn[si+1]<<8|qn[si+2]<<16|qn[si+3]<<24)>>>0}new vt;var Nt=[0],Tn=[0],Sn=[],jn=new vt,En=E,Cr=function(qn,si){var vn={},Qn=0,wr=!1,fr=0,Mi=0;if(vn.frames=[],!function(gn,Gn){for(var ir=0;ir<4;ir++)if(gn[Gn+ir]!="RIFF".charCodeAt(ir))return!0;return!1}(qn,si)){for(cn(qn,si+=4),si+=8;si>1&1}zi!="ANMF"&&(si+=mi)}return vn}}(En,0);Cr.response=En,Cr.rgbaoutput=!0,Cr.dataurl=!1;var sr=Cr.header?Cr.header:null,Jn=Cr.frames?Cr.frames:null;if(sr){sr.loop_counter=sr.loop_count,Nt=[sr.canvas_height],Tn=[sr.canvas_width];for(var wi=0;wi=2?Dn[1]:rs[0],rs[2]=Dn.length>=3?Dn[2]:rs[0],rs[3]=Dn.length>=4?Dn[3]:rs[1]),bt.margin=rs}});var Xi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Xi},set:function(Dn){Xi=Dn}});var Ki=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ki},set:function(Dn){Ki=Dn}});var ga=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ga},set:function(Dn){ga=Dn}}),Object.defineProperty(this,"ctx",{get:function(){return bt},set:function(Dn){Dn instanceof Mt&&(bt=Dn)}}),Object.defineProperty(this,"path",{get:function(){return bt.path},set:function(Dn){bt.path=Dn}});var fo=[];Object.defineProperty(this,"ctxStack",{get:function(){return fo},set:function(Dn){fo=Dn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Dn){var rs;rs=cn(Dn),this.ctx.fillStyle=rs.style,this.ctx.isFillTransparent=rs.a===0,this.ctx.fillOpacity=rs.a,this.pdf.setFillColor(rs.r,rs.g,rs.b,{a:rs.a}),this.pdf.setTextColor(rs.r,rs.g,rs.b,{a:rs.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Dn){var rs=cn(Dn);this.ctx.strokeStyle=rs.style,this.ctx.isStrokeTransparent=rs.a===0,this.ctx.strokeOpacity=rs.a,rs.a===0?this.pdf.setDrawColor(255,255,255):(rs.a,this.pdf.setDrawColor(rs.r,rs.g,rs.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Dn){["butt","round","square"].indexOf(Dn)!==-1&&(this.ctx.lineCap=Dn,this.pdf.setLineCap(Dn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Dn){isNaN(Dn)||(this.ctx.lineWidth=Dn,this.pdf.setLineWidth(Dn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Dn){["bevel","round","miter"].indexOf(Dn)!==-1&&(this.ctx.lineJoin=Dn,this.pdf.setLineJoin(Dn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Dn){isNaN(Dn)||(this.ctx.miterLimit=Dn,this.pdf.setMiterLimit(Dn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Dn){this.ctx.textBaseline=Dn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Dn){["right","end","center","left","start"].indexOf(Dn)!==-1&&(this.ctx.textAlign=Dn)}});var As=null,is=null,tl=null;Object.defineProperty(this,"fontFaces",{get:function(){return tl},set:function(Dn){As=null,is=null,tl=Dn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Dn){var rs;if(this.ctx.font=Dn,(rs=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Dn))!==null){var Mu=rs[1];rs[2];var jl=rs[3],Ga=rs[4];rs[5];var Ol=rs[6],Hs=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Ga)[2];Ga=Math.floor(Hs==="px"?parseFloat(Ga)*this.pdf.internal.scaleFactor:Hs==="em"?parseFloat(Ga)*this.pdf.getFontSize():parseFloat(Ga)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Ga);var Ll=function(cl){var td,Du,wu=[],ku=cl.trim();if(ku==="")return Dm;if(ku in sp)return[sp[ku]];for(;ku!=="";){switch(Du=null,td=(ku=lp(ku)).charAt(0)){case'"':case"'":Du=I0(ku.substring(1),td);break;default:Du=kp(ku)}if(Du===null||(wu.push(Du[0]),(ku=lp(Du[1]))!==""&&ku.charAt(0)!==","))return Dm;ku=ku.replace(/^,/,"")}return wu}(Ol);if(this.fontFaces){var El=function(cl,td){var Du=cl.getFontList(),wu=JSON.stringify(Du);if(As===null||is!==wu){var ku=function($u){var Cl=[];return Object.keys($u).forEach(function(fc){$u[fc].forEach(function(Wl){var Es=null;switch(Wl){case"bold":Es={family:fc,weight:"bold"};break;case"italic":Es={family:fc,style:"italic"};break;case"bolditalic":Es={family:fc,weight:"bold",style:"italic"};break;case"":case"normal":Es={family:fc}}Es!==null&&(Es.ref={name:fc,style:Wl},Cl.push(Es))})}),Cl}(Du);As=function($u){for(var Cl={},fc=0;fc<$u.length;++fc){var Wl=uh($u[fc]),Es=Wl.family,Fc=Wl.stretch,xu=Wl.style,kl=Wl.weight;Cl[Es]=Cl[Es]||{},Cl[Es][Fc]=Cl[Es][Fc]||{},Cl[Es][Fc][xu]=Cl[Es][Fc][xu]||{},Cl[Es][Fc][xu][kl]=Wl}return Cl}(ku.concat(td)),is=wu}return As}(this.pdf,this.fontFaces),RA=Ll.map(function(cl){return{family:cl,stretch:"normal",weight:jl,style:Mu}}),qu=function(cl,td,Du){for(var wu=(Du=Du||{}).defaultFontFamily||"times",ku=Object.assign({},Op,Du.genericFontFamilies||{}),$u=null,Cl=null,fc=0;fc=700||Mu==="bold")&&(mu="bold"),Mu==="italic"&&(mu+="italic"),mu.length===0&&(mu="normal");for(var iA="",_u={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ks=0;Ks=2*Math.PI&&(Mr=0,Gr=2*Math.PI),this.path.push({type:"arc",x:gn,y:Gn,radius:ir,startAngle:Mr,endAngle:Gr,counterclockwise:pi})},nn.prototype.arcTo=function(gn,Gn,ir,Mr,Gr){throw new Error("arcTo not implemented.")},nn.prototype.rect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(gn,Gn),this.lineTo(gn+ir,Gn),this.lineTo(gn+ir,Gn+Mr),this.lineTo(gn,Gn+Mr),this.lineTo(gn,Gn),this.lineTo(gn+ir,Gn),this.lineTo(gn,Gn)},nn.prototype.fillRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Nt.call(this)){var Gr={};this.lineCap!=="butt"&&(Gr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Gr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(gn,Gn,ir,Mr),this.fill(),Gr.hasOwnProperty("lineCap")&&(this.lineCap=Gr.lineCap),Gr.hasOwnProperty("lineJoin")&&(this.lineJoin=Gr.lineJoin)}},nn.prototype.strokeRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Tn.call(this)||(this.beginPath(),this.rect(gn,Gn,ir,Mr),this.stroke())},nn.prototype.clearRect=function(gn,Gn,ir,Mr){if(isNaN(gn)||isNaN(Gn)||isNaN(ir)||isNaN(Mr))throw Gu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(gn,Gn,ir,Mr))},nn.prototype.save=function(gn){gn=typeof gn!="boolean"||gn;for(var Gn=this.pdf.internal.getCurrentPageInfo().pageNumber,ir=0;ir0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};nn.prototype.drawImage=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki,ga){var fo=this.pdf.getImageProperties(gn),As=1,is=1,tl=1,Dn=1;Mr!==void 0&&Ki!==void 0&&(tl=Ki/Mr,Dn=ga/Gr,As=fo.width/Mr*Ki/Mr,is=fo.height/Gr*ga/Gr),pi===void 0&&(pi=Gn,Xi=ir,Gn=0,ir=0),Mr!==void 0&&Ki===void 0&&(Ki=Mr,ga=Gr),Mr===void 0&&Ki===void 0&&(Ki=fo.width,ga=fo.height);var rs=this.ctx.transform.decompose(),Mu=mi(rs.rotate.shx),jl=new vt,Ga=(jl=(jl=(jl=jl.multiply(rs.translate)).multiply(rs.skew)).multiply(rs.scale)).applyToRectangle(new st(pi-Gn*tl,Xi-ir*Dn,Mr*As,Gr*is));if(this.autoPaging){for(var Ol,Hs=jn.call(this,Ga),Ll=[],El=0;ElRA||muGa||Hs0)){for(;ga>=0;ga--)if(Gr[ga-1].close!==!0&&Gr[ga-1].begin!==!0){Gr[ga-1].deltas.push(ir),Gr[ga-1].abs.push(Ki);break}}break;case"bct":ir=[Ki.x1-pi[Xi-1].x,Ki.y1-pi[Xi-1].y,Ki.x2-pi[Xi-1].x,Ki.y2-pi[Xi-1].y,Ki.x-pi[Xi-1].x,Ki.y-pi[Xi-1].y],Gr[Gr.length-1].deltas.push(ir);break;case"qct":var fo=pi[Xi-1].x+2/3*(Ki.x1-pi[Xi-1].x),As=pi[Xi-1].y+2/3*(Ki.y1-pi[Xi-1].y),is=Ki.x+2/3*(Ki.x1-Ki.x),tl=Ki.y+2/3*(Ki.y1-Ki.y),Dn=Ki.x,rs=Ki.y;ir=[fo-pi[Xi-1].x,As-pi[Xi-1].y,is-pi[Xi-1].x,tl-pi[Xi-1].y,Dn-pi[Xi-1].x,rs-pi[Xi-1].y],Gr[Gr.length-1].deltas.push(ir);break;case"arc":Gr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Gr[Gr.length-1].abs)&&Gr[Gr.length-1].abs.push(Ki)}}Mr=Gn?null:gn==="stroke"?"stroke":"fill";for(var Mu=!1,jl=0;jl=.01&&(Mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Mr*gn.scale),Gr=this.lineWidth,this.lineWidth=Gr*gn.scale);var vu=this.autoPaging!=="text";if(vu||Ks.y+Ks.h<=El){if(vu||Ks.y>=Hs&&Ks.x<=qu){var cl=vu?gn.text:this.pdf.splitTextToSize(gn.text,gn.maxWidth||qu-Ks.x)[0],td=Cr([JSON.parse(JSON.stringify(is))],this.posX+this.margin[3],-iA+Hs+this.ctx.prevPageLastElemOffset)[0],Du=vu&&(Ol>jl||Ol=.01&&(this.pdf.setFontSize(Mr),this.lineWidth=Gr)}}else gn.scale>=.01&&(Mr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Mr*gn.scale),Gr=this.lineWidth,this.lineWidth=Gr*gn.scale),this.pdf.text(gn.text,ga.x+this.posX,ga.y+this.posY,{angle:gn.angle,align:Gn,renderingMode:gn.renderingMode,maxWidth:gn.maxWidth}),gn.scale>=.01&&(this.pdf.setFontSize(Mr),this.lineWidth=Gr)},wr=function(gn,Gn,ir,Mr){ir=ir||0,Mr=Mr||0,this.pdf.internal.out(x(gn+ir)+" "+he(Gn+Mr)+" l")},fr=function(gn,Gn,ir){return this.pdf.lines(gn,Gn,ir,null,null)},Mi=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki){this.pdf.internal.out([ee(De(ir+gn)),ee(je(Mr+Gn)),ee(De(Gr+gn)),ee(je(pi+Gn)),ee(De(Xi+gn)),ee(je(Ki+Gn)),"c"].join(" "))},zi=function(gn,Gn,ir,Mr){for(var Gr=2*Math.PI,pi=Math.PI/2;Gn>ir;)Gn-=Gr;var Xi=Math.abs(ir-Gn);Xi1e-5;){var As=fo+ga*Math.min(Xi,pi);Ki.push(Gi.call(this,gn,fo,As)),Xi-=Math.abs(As-fo),fo=As}return Ki},Gi=function(gn,Gn,ir){var Mr=(ir-Gn)/2,Gr=gn*Math.cos(Mr),pi=gn*Math.sin(Mr),Xi=Gr,Ki=-pi,ga=Xi*Xi+Ki*Ki,fo=ga+Xi*Gr+Ki*pi,As=4/3*(Math.sqrt(2*ga*fo)-fo)/(Xi*pi-Ki*Gr),is=Xi-As*Ki,tl=Ki+As*Xi,Dn=is,rs=-tl,Mu=Mr+Gn,jl=Math.cos(Mu),Ga=Math.sin(Mu);return{x1:gn*Math.cos(Gn),y1:gn*Math.sin(Gn),x2:is*jl-tl*Ga,y2:is*Ga+tl*jl,x3:Dn*jl-rs*Ga,y3:Dn*Ga+rs*jl,x4:gn*Math.cos(ir),y4:gn*Math.sin(ir)}},mi=function(gn){return 180*gn/Math.PI},Vi=function(gn,Gn,ir,Mr,Gr,pi){var Xi=gn+.5*(ir-gn),Ki=Gn+.5*(Mr-Gn),ga=Gr+.5*(ir-Gr),fo=pi+.5*(Mr-pi),As=Math.min(gn,Gr,Xi,ga),is=Math.max(gn,Gr,Xi,ga),tl=Math.min(Gn,pi,Ki,fo),Dn=Math.max(Gn,pi,Ki,fo);return new st(As,tl,is-As,Dn-tl)},bo=function(gn,Gn,ir,Mr,Gr,pi,Xi,Ki){var ga,fo,As,is,tl,Dn,rs,Mu,jl,Ga,Ol,Hs,Ll,El,RA=ir-gn,qu=Mr-Gn,mu=Gr-ir,iA=pi-Mr,_u=Xi-Gr,Ks=Ki-pi;for(fo=0;fo<41;fo++)jl=(rs=(As=gn+(ga=fo/40)*RA)+ga*((tl=ir+ga*mu)-As))+ga*(tl+ga*(Gr+ga*_u-tl)-rs),Ga=(Mu=(is=Gn+ga*qu)+ga*((Dn=Mr+ga*iA)-is))+ga*(Dn+ga*(pi+ga*Ks-Dn)-Mu),fo==0?(Ol=jl,Hs=Ga,Ll=jl,El=Ga):(Ol=Math.min(Ol,jl),Hs=Math.min(Hs,Ga),Ll=Math.max(Ll,jl),El=Math.max(El,Ga));return new st(Math.round(Ol),Math.round(Hs),Math.round(Ll-Ol),Math.round(El-Hs))},Na=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var gn,Gn,ir=(gn=this.ctx.lineDash,Gn=this.ctx.lineDashOffset,JSON.stringify({lineDash:gn,lineDashOffset:Gn}));this.prevLineDash!==ir&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=ir)}}})(Gs.API),function(E){var ee=function(pt){var st,vt,bt,Mt,nn,cn,Nt,Tn,Sn,jn;for(/[^\x00-\xFF]/.test(pt),vt=[],bt=0,Mt=(pt+=st="\0\0\0\0".slice(pt.length%4||4)).length;Mt>bt;bt+=4)(nn=(pt.charCodeAt(bt)<<24)+(pt.charCodeAt(bt+1)<<16)+(pt.charCodeAt(bt+2)<<8)+pt.charCodeAt(bt+3))!==0?(cn=(nn=((nn=((nn=((nn=(nn-(jn=nn%85))/85)-(Sn=nn%85))/85)-(Tn=nn%85))/85)-(Nt=nn%85))/85)%85,vt.push(cn+33,Nt+33,Tn+33,Sn+33,jn+33)):vt.push(122);return function(En,Cr){for(var sr=Cr;sr>0;sr--)En.pop()}(vt,st.length),String.fromCharCode.apply(String,vt)+"~>"},x=function(pt){var st,vt,bt,Mt,nn,cn=String,Nt="length",Tn=255,Sn="charCodeAt",jn="slice",En="replace";for(pt[jn](-2),pt=pt[jn](0,-2)[En](/\s/g,"")[En]("z","!!!!!"),bt=[],Mt=0,nn=(pt+=st="uuuuu"[jn](pt[Nt]%5||5))[Nt];nn>Mt;Mt+=5)vt=52200625*(pt[Sn](Mt)-33)+614125*(pt[Sn](Mt+1)-33)+7225*(pt[Sn](Mt+2)-33)+85*(pt[Sn](Mt+3)-33)+(pt[Sn](Mt+4)-33),bt.push(Tn&vt>>24,Tn&vt>>16,Tn&vt>>8,Tn&vt);return function(Cr,sr){for(var Jn=sr;Jn>0;Jn--)Cr.pop()}(bt,st[Nt]),cn.fromCharCode.apply(cn,bt)},he=function(pt){return pt.split("").map(function(st){return("0"+st.charCodeAt().toString(16)).slice(-2)}).join("")+">"},De=function(pt){var st=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((pt=pt.replace(/\s/g,"")).indexOf(">")!==-1&&(pt=pt.substr(0,pt.indexOf(">"))),pt.length%2&&(pt+="0"),st.test(pt)===!1)return"";for(var vt="",bt=0;btSn&&(Tn=jn,jn=Sn,Sn=Tn);else{if(st!=="l"&&st!=="landscape")throw"Invalid orientation: "+st;st="l",Sn>jn&&(Tn=jn,jn=Sn,Sn=Tn)}return{width:jn,height:Sn,unit:vt,k:nn,orientation:st}},E.html=function(st,vt){(vt=vt||{}).callback=vt.callback||function(){},vt.html2canvas=vt.html2canvas||{},vt.html2canvas.canvas=vt.html2canvas.canvas||this.canvas,vt.jsPDF=vt.jsPDF||this,vt.fontFaces=vt.fontFaces?vt.fontFaces.map(uh):null;var bt=new pt(vt);return vt.worker?bt:bt.from(st).doCallback()}}(Gs.API),Gs.API.addJS=function(E){return Rm=E,this.internal.events.subscribe("postPutResources",function(){up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(up+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),mv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rm+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){up!==void 0&&mv!==void 0&&this.internal.out("/Names <>")}),this},function(E){var ee;E.events.push(["postPutResources",function(){var x=this,he=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var De=x.outline.render().split(/\r\n/),je=0;je> endobj")}var Nt=x.internal.newObject();for(x.internal.write("<< /Names [ "),je=0;je>","endobj"),ee=x.internal.newObject(),x.internal.write("<< /Dests "+Nt+" 0 R"),x.internal.write(">>","endobj")}}]),E.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+ee+" 0 R"))}]),E.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(he,De,je){var pt={title:De,options:je,children:[]};return he==null&&(he=this.root),he.children.push(pt),pt},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(he){he.id=x.internal.newObjectDeferred();for(var De=0;De0&&(this.line("/First "+this.makeRef(he.children[0])),this.line("/Last "+this.makeRef(he.children[he.children.length-1]))),this.line("/Count "+this.count_r({count:0},he)),this.objEnd()},x.outline.renderItems=function(he){for(var De=this.ctx.pdf.internal.getVerticalCoordinateString,je=0;je0&&this.line("/Prev "+this.makeRef(he.children[je-1])),je0&&(this.line("/First "+this.makeRef(pt.children[0])),this.line("/Last "+this.makeRef(pt.children[pt.children.length-1])));var st=this.count=this.count_r({count:0},pt);if(st>0&&this.line("/Count "+st),pt.options&&pt.options.pageNumber){var vt=x.internal.getPageInfo(pt.options.pageNumber);this.line("/Dest ["+vt.objId+" 0 R /XYZ 0 "+De(0)+" 0]")}this.objEnd()}for(var bt=0;bt>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Kr="",Lr=0,$r=Ct.transparency.length;Lr<$r;Lr++)Kr+=Ct.transparency[Lr]+" "+Ct.transparency[Lr]+" ";Mr.push({key:"Mask",value:"["+Kr+"]"})}Ct.sMask!==void 0&&Mr.push({key:"SMask",value:Ct.objectId+1+" 0 R"});var bn=Ct.filter!==void 0?["/"+Ct.filter]:void 0;if(Gt({data:Ct.data,additionalKeyValues:Mr,alreadyAppliedFilters:bn,objectId:Ct.objectId}),Xt("endobj"),"sMask"in Ct&&Ct.sMask!==void 0){var ln,et=(ln=Ct.sMaskBitsPerComponent)!==null&&ln!==void 0?ln:Ct.bitsPerComponent,Ut={width:Ct.width,height:Ct.height,colorSpace:"DeviceGray",bitsPerComponent:et,data:Ct.sMask};"filter"in Ct&&(Ut.decodeParameters="/Predictor ".concat(Ct.predictor," /Colors 1 /BitsPerComponent ").concat(et," /Columns ").concat(Ct.width),Ut.filter=Ct.filter),tt.call(this,Ut)}if(Ct.colorSpace===rt.INDEXED){var Ht=this.internal.newObject();Gt({data:Ar(new Uint8Array(Ct.palette)),objectId:Ht}),Xt("endobj")}},W=function(){var tt=this.internal.collections[a+"images"];for(var Ct in tt)m.call(this,tt[Ct])},O=function(){var tt,Ct=this.internal.collections[a+"images"],Xt=this.internal.write;for(var Gt in Ct)Xt("/I"+(tt=Ct[Gt]).index,tt.objectId,"0","R")},$=function(){this.internal.collections[a+"images"]||(this.internal.collections[a+"images"]={},this.internal.events.subscribe("putResources",W),this.internal.events.subscribe("putXobjectDict",O))},J=function(){var tt=this.internal.collections[a+"images"];return $.call(this),tt},he=function(){return Object.keys(this.internal.collections[a+"images"]).length},Ne=function(tt){return typeof n["process"+tt.toUpperCase()]=="function"},Ye=function(tt){return(0,Ie.Z)(tt)==="object"&&tt.nodeType===1},ce=function(tt,Ct){if(tt.nodeName==="IMG"&&tt.hasAttribute("src")){var Xt=""+tt.getAttribute("src");if(Xt.indexOf("data:image/")===0)return k0(unescape(Xt).split("base64,").pop());var Gt=n.loadFile(Xt,!0);if(Gt!==void 0)return Gt}if(tt.nodeName==="CANVAS"){if(tt.width===0||tt.height===0)throw new Error("Given canvas must have data. Canvas width: "+tt.width+", height: "+tt.height);var Ur;switch(Ct){case"PNG":Ur="image/png";break;case"WEBP":Ur="image/webp";break;default:Ur="image/jpeg"}return k0(tt.toDataURL(Ur,1).split("base64,").pop())}},wt=function(tt){var Ct=this.internal.collections[a+"images"];if(Ct){for(var Xt in Ct)if(tt===Ct[Xt].alias)return Ct[Xt]}},pt=function(tt,Ct,Xt){return tt||Ct||(tt=-96,Ct=-96),tt<0&&(tt=-1*Xt.width*72/tt/this.internal.scaleFactor),Ct<0&&(Ct=-1*Xt.height*72/Ct/this.internal.scaleFactor),tt===0&&(tt=Ct*Xt.width/Xt.height),Ct===0&&(Ct=tt*Xt.height/Xt.width),[tt,Ct]},bt=function(tt,Ct,Xt,Gt,Ur,Mr){var Kr=pt.call(this,Xt,Gt,Ur),Lr=this.internal.getCoordinateString,$r=this.internal.getVerticalCoordinateString,bn=J.call(this);if(Xt=Kr[0],Gt=Kr[1],bn[Ur.index]=Ur,Mr){Mr*=Math.PI/180;var ln=Math.cos(Mr),et=Math.sin(Mr),Ut=function(tr){return tr.toFixed(4)},Ht=[Ut(ln),Ut(et),Ut(-1*et),Ut(ln),0,0,"cm"]}this.internal.write("q"),Mr?(this.internal.write([1,"0","0",1,Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.internal.write(Ht.join(" ")),this.internal.write([Lr(Xt),"0","0",Lr(Gt),"0","0","cm"].join(" "))):this.internal.write([Lr(Xt),"0","0",Lr(Gt),Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ur.index+" Do"),this.internal.write("Q")},rt=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Yt=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},jt=n.__addimage__.sHashCode=function(tt){var Ct,Xt,Gt=0;if(typeof tt=="string")for(Xt=tt.length,Ct=0;Ct>",pt.content=m;var jt=pt.objId+" 0 R";m="<>";else if(c.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=1};var J=n.__arabicParser__.arabicLetterHasFinalForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=3};var he=n.__arabicParser__.arabicLetterHasMedialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length==4},Ne=n.__arabicParser__.resolveLigatures=function(pt){var bt=0,rt=s,Yt="",jt=0;for(bt=0;bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(O){s=O}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(O){c=isNaN(O)||Number.isInteger(O)===!1||O<0?150:O,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(O){d=isNaN(O)||Number.isInteger(O)===!1||O<0?300:O,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(O){m=O}});var W={};Object.defineProperty(this,"style",{get:function(){return W},set:function(O){W=O}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var d;if((s=s||"2d")!=="2d")return null;for(d in c)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=c[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(qn.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var $=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $},set:function(pt){$=pt}});var J=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return J},set:function(pt){J=pt}});var he=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return he},set:function(pt){he=pt}});var Ne=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ne},set:function(pt){Ne=pt}});var Ye=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ye},set:function(pt){Ye=pt}});var ce=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ce},set:function(pt){ce=pt}});var wt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return wt},set:function(pt){wt=pt}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function($){return c.call(this),this.internal.__cell__.headerFunction=typeof $=="function"?$:void 0,this},n.getTextDimensions=function($,J){c.call(this);var he=(J=J||{}).fontSize||this.getFontSize(),Ne=J.font||this.getFont(),Ye=J.scaleFactor||this.internal.scaleFactor,ce=0,wt=0,pt=0,bt=this;if(!Array.isArray($)&&typeof $!="string"){if(typeof $!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");$=String($)}var rt=J.maxWidth;rt>0?typeof $=="string"?$=this.splitTextToSize($,rt):Object.prototype.toString.call($)==="[object Array]"&&($=$.reduce(function(jt,Pt){return jt.concat(bt.splitTextToSize(Pt,rt))},[])):$=Array.isArray($)?$:[$];for(var Yt=0;Yt<$.length;Yt++)ce<(pt=this.getStringUnitWidth($[Yt],{font:Ne})*he)&&(ce=pt);return ce!==0&&(wt=$.length),{w:ce/=Ye,h:Math.max((wt*he*this.getLineHeightFactor()-he*(this.getLineHeightFactor()-1))/Ye,0)}},n.cellAddPage=function(){c.call(this),this.addPage();var $=this.internal.__cell__.margins||a;return this.internal.__cell__.lastCell=new m($.left,$.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var W=n.cell=function(){var $;$=arguments[0]instanceof m?arguments[0]:new m(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),c.call(this);var J=this.internal.__cell__.lastCell,he=this.internal.__cell__.padding,Ne=this.internal.__cell__.margins||a,Ye=this.internal.__cell__.tableHeaderRow,ce=this.internal.__cell__.printHeaders;return J.lineNumber!==void 0&&(J.lineNumber===$.lineNumber?($.x=(J.x||0)+(J.width||0),$.y=J.y||0):J.y+J.height+$.height+Ne.bottom>this.getPageHeight()?(this.cellAddPage(),$.y=Ne.top,ce&&Ye&&(this.printHeaderRow($.lineNumber,!0),$.y+=Ye[0].height)):$.y=J.y+J.height||$.y),$.text[0]!==void 0&&(this.rect($.x,$.y,$.width,$.height,s===!0?"FD":void 0),$.align==="right"?this.text($.text,$.x+$.width-he,$.y+he,{align:"right",baseline:"top"}):$.align==="center"?this.text($.text,$.x+$.width/2,$.y+he,{align:"center",baseline:"top",maxWidth:$.width-he-he}):this.text($.text,$.x+he,$.y+he,{align:"left",baseline:"top",maxWidth:$.width-he-he})),this.internal.__cell__.lastCell=$,this};n.table=function($,J,he,Ne,Ye){if(c.call(this),!he)throw new Error("No data for PDF table.");var ce,wt,pt,bt,rt=[],Yt=[],jt=[],Pt={},kr={},Jr=[],Qr=[],Ar=(Ye=Ye||{}).autoSize||!1,Mt=Ye.printHeaders!==!1,Er=Ye.css&&Ye.css["font-size"]!==void 0?16*Ye.css["font-size"]:Ye.fontSize||12,tt=Ye.margins||Object.assign({width:this.getPageWidth()},a),Ct=typeof Ye.padding=="number"?Ye.padding:3,Xt=Ye.headerBackgroundColor||"#c8c8c8",Gt=Ye.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Mt,this.internal.__cell__.margins=tt,this.internal.__cell__.table_font_size=Er,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=Xt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Er),Ne==null)Yt=rt=Object.keys(he[0]),jt=rt.map(function(){return"left"});else if(Array.isArray(Ne)&&(0,Ie.Z)(Ne[0])==="object")for(rt=Ne.map(function(bn){return bn.name}),Yt=Ne.map(function(bn){return bn.prompt||bn.name||""}),jt=Ne.map(function(bn){return bn.align||"left"}),ce=0;ce0&&this.setTableHeaderRow(Ye),this.setFont(void 0,"normal"),s=!1}}(qn.API);var ao={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},vu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Go=Ns(vu),eA=[100,200,300,400,500,600,700,800,900],pc=Ns(eA);function Al(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return ao[m=m||"normal"]?m:"normal"}(n.style),c=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Go[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,c].join(" ")}}}function Sl(n,a,s,c){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function ke(n,a,s){var c=n.length,d=[];d[0]=4;for(var m=0;m>m&W}function zt(n,a,s,c){var d=s*c,m=Math.floor(d/8),W=16-(d-8*m+c),O=(1<>8&255;J.setUint8(he,Ye)}})(n,m,ir(n,m)&~(O<>7,W=1<<1+(7&d);n[a++],n[a++];var O=null,$=null;m&&(O=a,$=W,a+=3*W);var J=!0,he=[],Ne=0,Ye=null,ce=0,wt=null;for(this.width=s,this.height=c;J&&a=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var pt=n[a++];Ne=n[a++]|n[a++]<<8,Ye=n[a++],1&pt||(Ye=null),ce=pt>>2&7,a++;break;case 254:for(;;){if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var bt=n[a++]|n[a++]<<8,rt=n[a++]|n[a++]<<8,Yt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Pt=n[a++],kr=Pt>>6&1,Jr=1<<1+(7&Pt),Qr=O,Ar=$,Mt=!1;Pt>>7&&(Mt=!0,Qr=a,Ar=Jr,a+=3*Jr);var Er=a;for(a++;;){var tt;if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}he.push({x:bt,y:rt,width:Yt,height:jt,has_local_palette:Mt,palette_offset:Qr,palette_size:Ar,data_offset:Er,data_length:a-Er,transparent_index:Ye,interlaced:!!kr,delay:Ne,disposal:ce});break;case 59:J=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return he.length},this.loopCount=function(){return wt},this.frameInfo=function(Ct){if(Ct<0||Ct>=he.length)throw new Error("Frame index out of range.");return he[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=Hn,Xt[Ht++]=yn,Xt[Ht++]=sn,Xt[Ht++]=255}--ln}},this.decodeAndBlitFrameRGBA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=sn,Xt[Ht++]=yn,Xt[Ht++]=Hn,Xt[Ht++]=255}--ln}}}function or(n,a,s,c){for(var d=n[a++],m=1<>=$,he-=$,bt!==m){if(bt===W)break;for(var rt=btm;)jt=wt[jt]>>8,++Yt;var Pt=jt;if(Ye+Yt+(rt!==bt?1:0)>c)return void Os.log("Warning, gif stream longer than expected.");s[Ye++]=Pt;var kr=Ye+=Yt;for(rt!==bt&&(s[Ye++]=Pt),jt=rt;Yt--;)jt=wt[jt],s[--kr]=255&jt,jt>>=8;pt!==null&&O<4096&&(wt[O++]=pt<<8|Pt,O>=J+1&&$<12&&(++$,J=J<<1|1)),pt=bt}else O=W+1,J=(1<<($=d+1))-1,pt=null}return Ye!==c&&Os.log("Warning, gif stream shorter than expected."),s}function Sr(n){var a,s,c,d,m,W=Math.floor,O=new Array(64),$=new Array(64),J=new Array(64),he=new Array(64),Ne=new Array(65535),Ye=new Array(65535),ce=new Array(64),wt=new Array(64),pt=[],bt=0,rt=7,Yt=new Array(64),jt=new Array(64),Pt=new Array(64),kr=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Er=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ur=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mr(et,Ut){for(var Ht=0,tr=0,fr=new Array,Cr=1;Cr<=16;Cr++){for(var Hr=1;Hr<=et[Cr];Hr++)fr[Ut[tr]]=[],fr[Ut[tr]][0]=Ht,fr[Ut[tr]][1]=Cr,tr++,Ht++;Ht*=2}return fr}function Kr(et){for(var Ut=et[0],Ht=et[1]-1;Ht>=0;)Ut&1<>8&255),Lr(255&et)}function bn(et,Ut,Ht,tr,fr){for(var Cr,Hr=fr[0],Gr=fr[240],sn=function(gn,Ri){var ei,Ti,Bi,na,Is,es,ks,Ts,li,as,pi=0;for(li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+1],Bi=gn[pi+2],na=gn[pi+3],Is=gn[pi+4],es=gn[pi+5],ks=gn[pi+6];var Co=ei+(Ts=gn[pi+7]),Ks=ei-Ts,ms=Ti+ks,vs=Ti-ks,Ga=Bi+es,Ci=Bi-es,Fa=na+Is,Mi=na-Is,ts=Co+Fa,Va=Co-Fa,ws=ms+Ga,Ui=ms-Ga;gn[pi]=ts+ws,gn[pi+4]=ts-ws;var ia=.707106781*(Ui+Va);gn[pi+2]=Va+ia,gn[pi+6]=Va-ia;var Gf=.382683433*((ts=Mi+Ci)-(Ui=vs+Ks)),ll=.5411961*ts+Gf,P0=1.306562965*Ui+Gf,Gc=.707106781*(ws=Ci+vs),Pi=Ks+Gc,O0=Ks-Gc;gn[pi+5]=O0+ll,gn[pi+3]=O0-ll,gn[pi+1]=Pi+P0,gn[pi+7]=Pi-P0,pi+=8}for(pi=0,li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+8],Bi=gn[pi+16],na=gn[pi+24],Is=gn[pi+32],es=gn[pi+40],ks=gn[pi+48];var N0=ei+(Ts=gn[pi+56]),Ku=ei-Ts,zu=Ti+ks,po=Ti-ks,EA=Bi+es,QA=Bi-es,Vf=na+Is,jh=na-Is,gc=N0+Vf,Vc=N0-Vf,mc=zu+EA,vc=zu-EA;gn[pi]=gc+mc,gn[pi+32]=gc-mc;var Gu=.707106781*(vc+Vc);gn[pi+16]=Vc+Gu,gn[pi+48]=Vc-Gu;var Wf=.382683433*((gc=jh+QA)-(vc=po+Ku)),Wc=.5411961*gc+Wf,$f=1.306562965*vc+Wf,Qd=.707106781*(mc=QA+po),Hd=Ku+Qd,jd=Ku-Qd;gn[pi+40]=jd+Wc,gn[pi+24]=jd-Wc,gn[pi+8]=Hd+$f,gn[pi+56]=Hd-$f,pi++}for(li=0;li<64;++li)as=gn[li]*Ri[li],ce[li]=as>0?as+.5|0:as-.5|0;return ce}(et,Ut),yn=0;yn<64;++yn)wt[Qr[yn]]=sn[yn];var Hn=wt[0]-Ht;Ht=wt[0],Hn==0?Kr(tr[0]):(Kr(tr[Ye[Cr=32767+Hn]]),Kr(Ne[Cr]));for(var Qn=63;Qn>0&&wt[Qn]==0;)Qn--;if(Qn==0)return Kr(Hr),Ht;for(var wi,St=1;St<=Qn;){for(var jn=St;wt[St]==0&&St<=Qn;)++St;var ds=St-jn;if(ds>=16){wi=ds>>4;for(var ki=1;ki<=wi;++ki)Kr(Gr);ds&=15}Cr=32767+wt[St],Kr(fr[(ds<<4)+Ye[Cr]]),Kr(Ne[Cr]),St++}return Qn!=63&&Kr(Hr),Ht}function ln(et){et=Math.min(Math.max(et,1),100),m!=et&&(function(Ut){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=W((Ht[tr]*Ut+50)/100);fr=Math.min(Math.max(fr,1),255),O[Qr[tr]]=fr}for(var Cr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hr=0;Hr<64;Hr++){var Gr=W((Cr[Hr]*Ut+50)/100);Gr=Math.min(Math.max(Gr,1),255),$[Qr[Hr]]=Gr}for(var sn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yn=0,Hn=0;Hn<8;Hn++)for(var Qn=0;Qn<8;Qn++)J[yn]=1/(O[Qr[yn]]*sn[Hn]*sn[Qn]*8),he[yn]=1/($[Qr[yn]]*sn[Hn]*sn[Qn]*8),yn++}(et<50?Math.floor(5e3/et):Math.floor(200-2*et)),m=et)}this.encode=function(et,Ut){Ut&&ln(Ut),pt=new Array,bt=0,rt=7,$r(65496),$r(65504),$r(16),Lr(74),Lr(70),Lr(73),Lr(70),Lr(0),Lr(1),Lr(1),Lr(0),$r(1),$r(1),Lr(0),Lr(0),function(){$r(65499),$r(132),Lr(0);for(var Ti=0;Ti<64;Ti++)Lr(O[Ti]);Lr(1);for(var Bi=0;Bi<64;Bi++)Lr($[Bi])}(),function(Ti,Bi){$r(65472),$r(17),Lr(8),$r(Bi),$r(Ti),Lr(3),Lr(1),Lr(17),Lr(0),Lr(2),Lr(17),Lr(1),Lr(3),Lr(17),Lr(1)}(et.width,et.height),function(){$r(65476),$r(418),Lr(0);for(var Ti=0;Ti<16;Ti++)Lr(Ar[Ti+1]);for(var Bi=0;Bi<=11;Bi++)Lr(Mt[Bi]);Lr(16);for(var na=0;na<16;na++)Lr(Er[na+1]);for(var Is=0;Is<=161;Is++)Lr(tt[Is]);Lr(1);for(var es=0;es<16;es++)Lr(Ct[es+1]);for(var ks=0;ks<=11;ks++)Lr(Xt[ks]);Lr(17);for(var Ts=0;Ts<16;Ts++)Lr(Gt[Ts+1]);for(var li=0;li<=161;li++)Lr(Ur[li])}(),$r(65498),$r(12),Lr(3),Lr(1),Lr(0),Lr(2),Lr(17),Lr(3),Lr(17),Lr(0),Lr(63),Lr(0);var Ht=0,tr=0,fr=0;bt=0,rt=7,this.encode.displayName="_encode_";for(var Cr,Hr,Gr,sn,yn,Hn,Qn,wi,St,jn=et.data,ds=et.width,ki=et.height,gn=4*ds,Ri=0;Ri>3)*gn+(Qn=4*(7&St)),Ri+wi>=ki&&(Hn-=gn*(Ri+1+wi-ki)),Cr+Qn>=gn&&(Hn-=Cr+Qn-gn+4),Hr=jn[Hn++],Gr=jn[Hn++],sn=jn[Hn++],Yt[St]=(Jr[Hr]+Jr[Gr+256|0]+Jr[sn+512|0]>>16)-128,jt[St]=(Jr[Hr+768|0]+Jr[Gr+1024|0]+Jr[sn+1280|0]>>16)-128,Pt[St]=(Jr[Hr+1280|0]+Jr[Gr+1536|0]+Jr[sn+1792|0]>>16)-128;Ht=bn(Yt,J,Ht,a,c),tr=bn(jt,he,tr,s,d),fr=bn(Pt,he,fr,s,d),Cr+=32}Ri+=8}if(rt>=0){var ei=[];ei[1]=rt+1,ei[0]=(1<Ct;Ct++)if(Mt[Er+Ct]!=tt.charCodeAt(Ct))return!0;return!1}function c(Mt,Er,tt,Ct,Xt){for(var Gt=0;GtGt+1?[]:new Er),!(Ur.length>>0;b≠)ne>>>=1;return ne?(b&ne-1)+ne:b}function tt(b,U,ne,we,Ge){a(!(we%ne));do b[U+(we-=ne)]=Ge;while(0=Ge),512>=Ge)var Xe=m(512);else if((Xe=m(Ge))==null)return 0;return function(Je,ot,dt,Tt,sr,Dr){var Ft,hr,Br=ot,Xr=1<Ft;++Ft){if(Tr[Ft]>1<(ls-=Tr[Ft]))return 0;for(;0=Ft;++Ft,sr<<=1){if(Xn+=ls<<=1,0>(ls-=Tr[Ft]))return 0;for(;0vn&&!(0>=(nn-=Tr[vn]));)++vn,nn<<=1;Xr+=si=1<<(nn=vn-dt),Je[ot+(vn=ci&cn)].g=nn+dt,Je[ot+vn].value=Br-ot-vn}Tt.g=Ft-dt,Tt.value=Dr[hr++],tt(Je,Br+(ci>>dt),sr,si,Tt),ci=Er(ci,Ft)}}return Xn!=2*tn[15]-1?0:Xr}(b,U,ne,we,Ge,Xe)}function Xt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Ur(){this.G=W(5,Xt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=W(sd,Gt)}function Mr(b,U,ne,we){a(b!=null),a(U!=null),a(2147483648>we),b.Ca=254,b.I=0,b.b=-8,b.Ka=0,b.oa=U,b.pa=ne,b.Jd=U,b.Yc=ne+we,b.Zc=4<=we?ne+we-4+1:ne,Hr(b)}function Kr(b,U){for(var ne=0;0we),b.Sb=we,b.Ra=0,b.u=0,b.h=0,4>>=8,b.Ra+=b.oa[b.pa+b.bb]<>>0,++b.bb,b.u-=8;tr(b)&&(b.h=1,b.u=0)}function ln(b,U){if(a(0<=U),!b.h&&U<=_u){var ne=Ht(b)&yu[U];return b.u+=U,bn(b),ne}return b.h=1,b.u=0}function et(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ut(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(b){return b.Ra>>>(b.u&Vh-1)>>>0}function tr(b){return a(b.bb<=b.Sb),b.h||b.bb==b.Sb&&b.u>Vh}function fr(b,U){b.u=U,b.h=tr(b)}function Cr(b){b.u>=Y0&&(a(b.u>=Y0),bn(b))}function Hr(b){a(b!=null&&b.oa!=null),b.pa>>0,b.b+=8):(a(b!=null&&b.oa!=null),b.pab.b&&Hr(b);var we=b.b,Ge=ne*U>>>8,Xe=(b.I>>>we>Ge)+0;for(Xe?(ne-=Ge,b.I-=Ge+1<>>0):ne=Ge+1,we=ne,Ge=0;256<=we;)Ge+=8,we>>=8;return we=7^Ge+Wh[we],b.b-=we,b.Ca=(ne<>24&255,b[U+1]=ne>>16&255,b[U+2]=ne>>8&255,b[U+3]=255&ne}function Hn(b,U){return b[U+0]|b[U+1]<<8}function Qn(b,U){return Hn(b,U)|b[U+2]<<16}function wi(b,U){return Hn(b,U)|Hn(b,U+2)<<16}function St(b,U){var ne=1<=Ge||0>=Xe?0:(ne[0]=Ge,we[0]=Xe,1)}function gn(b,U){return b+(1<>>U}function Ri(b,U){return((4278255360&b)+(4278255360&U)>>>0&4278255360)+((16711935&b)+(16711935&U)>>>0&16711935)>>>0}function ei(b,U){Mt[U]=function(ne,we,Ge,Xe,Je,ot,dt){var Tt;for(Tt=0;Tt>>1)+(b&U)>>>0}function na(b){return 0<=b&&256>b?b:0>b?0:255>1))}function es(b,U,ne){return Math.abs(U-ne)-Math.abs(b-ne)}function ks(b,U,ne,we,Ge,Xe,Je){for(we=Xe[Je-1],ne=0;ne>8&255,dt=16711935&(dt=(dt=16711935&Je)+((ot<<16)+ot));we[Ge+Xe]=(4278255360&Je)+dt>>>0}}function li(b,U){U.jd=255&b,U.hd=b>>8&255,U.ud=b>>16&255}function as(b,U,ne,we,Ge,Xe){var Je;for(Je=0;Je>>8,Tt=ot,sr=255&(sr=(sr=ot>>>16)+((b.jd<<24>>24)*(dt<<24>>24)>>>5));Tt=255&(Tt=(Tt+=(b.hd<<24>>24)*(dt<<24>>24)>>>5)+((b.ud<<24>>24)*(sr<<24>>24)>>>5)),Ge[Xe+Je]=(4278255360&ot)+(sr<<16)+Tt}}function pi(b,U,ne,we,Ge){Mt[U]=function(Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr){for(dt=Dr;dt>Xe.b,hr=Xe.Ea,Br=Xe.K[0],Xr=Xe.w;if(8>Ft)for(Xe=(1<>=Ft}else Mt["VP8LMapColor"+ne](dt,Tt,Br,Xr,sr,Dr,Je,ot,hr)}}function Co(b,U,ne,we,Ge){for(ne=U+ne;U>16&255,we[Ge++]=Xe>>8&255,we[Ge++]=255&Xe}}function Ks(b,U,ne,we,Ge){for(ne=U+ne;U>16&255,we[Ge++]=Xe>>8&255,we[Ge++]=255&Xe,we[Ge++]=Xe>>24&255}}function ms(b,U,ne,we,Ge){for(ne=U+ne;U>16&240|Je>>12&15,Je=240&Je|Je>>28&15;we[Ge++]=Xe,we[Ge++]=Je}}function vs(b,U,ne,we,Ge){for(ne=U+ne;U>16&248|Je>>13&7,Je=Je>>5&224|Je>>3&31;we[Ge++]=Xe,we[Ge++]=Je}}function Ga(b,U,ne,we,Ge){for(ne=U+ne;U>8&255,we[Ge++]=Xe>>16&255}}function Ci(b,U,ne,we,Ge,Xe){if(Xe==0)for(ne=U+ne;U>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Ge+=32;else c(we,Ge,b,U,ne)}function Fa(b,U){Mt[U][0]=Mt[b+"0"],Mt[U][1]=Mt[b+"1"],Mt[U][2]=Mt[b+"2"],Mt[U][3]=Mt[b+"3"],Mt[U][4]=Mt[b+"4"],Mt[U][5]=Mt[b+"5"],Mt[U][6]=Mt[b+"6"],Mt[U][7]=Mt[b+"7"],Mt[U][8]=Mt[b+"8"],Mt[U][9]=Mt[b+"9"],Mt[U][10]=Mt[b+"10"],Mt[U][11]=Mt[b+"11"],Mt[U][12]=Mt[b+"12"],Mt[U][13]=Mt[b+"13"],Mt[U][14]=Mt[b+"0"],Mt[U][15]=Mt[b+"0"]}function Mi(b){return b==X1||b==J1||b==E1||b==eg}function ts(){this.eb=[],this.size=this.A=this.fb=0}function Va(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ws(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ts,this.f.kb=new Va,this.sd=null}function Ui(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(b){return alert("todo:WebPSamplerProcessPlane"),b.T}function ll(b,U){var ne=b.T,we=U.ba.f.RGBA,Ge=we.eb,Xe=we.fb+b.ka*we.A,Je=qu[U.ba.S],ot=b.y,dt=b.O,Tt=b.f,sr=b.N,Dr=b.ea,Ft=b.W,hr=U.cc,Br=U.dc,Xr=U.Mc,Tr=U.Nc,tn=b.ka,nn=b.ka+b.T,vn=b.U,cn=vn+1>>1;for(tn==0?Je(ot,dt,null,null,Tt,sr,Dr,Ft,Tt,sr,Dr,Ft,Ge,Xe,null,null,vn):(Je(U.ec,U.fc,ot,dt,hr,Br,Xr,Tr,Tt,sr,Dr,Ft,Ge,Xe-we.A,Ge,Xe,vn),++ne);tn+2ne,Ge=ne==_1||ne==w1||ne==b1||ne==q1||ne==12||Mi(ne);if(U.memory=null,U.Ib=null,U.Jb=null,U.Nd=null,!Up(U.Oa,b,Ge?11:12))return 0;if(Ge&&Mi(ne)&&Dp(),b.da)alert("todo:use_scaling");else{if(we){if(U.Ib=Gf,b.Kb){if(ne=b.U+1>>1,U.memory=m(b.U+2*ne),U.memory==null)return 0;U.ec=U.memory,U.fc=0,U.cc=U.ec,U.dc=U.fc+b.U,U.Mc=U.cc,U.Nc=U.dc+ne,U.Ib=ll,Dp()}}else alert("todo:EmitYUV");Ge&&(U.Jb=P0,we&&_c())}if(we&&!Ng){for(b=0;256>b;++b)_m[b]=89858*(b-128)+x1>>B1,Em[b]=-22014*(b-128)+x1,bm[b]=-45773*(b-128),wm[b]=113618*(b-128)+x1>>B1;for(b=Gp;b>B1,Bm[b-Gp]=$c(U,255),xm[b-Gp]=$c(U+8>>4,15);Ng=1}return 1}function Pi(b){var U=b.ma,ne=b.U,we=b.T;return a(!(1&b.ka)),0>=ne||0>=we?0:(ne=U.Ib(b,U),U.Jb!=null&&U.Jb(b,U,ne),U.Dc+=ne,1)}function O0(b){b.ma.memory=null}function N0(b,U,ne,we){return ln(b,8)!=47?0:(U[0]=ln(b,14)+1,ne[0]=ln(b,14)+1,we[0]=ln(b,1),ln(b,3)!=0?0:!b.h)}function Ku(b,U){if(4>b)return b+1;var ne=b-2>>1;return(2+(1&b)<>4)*b+(8-(15&ne)))?ne:1;var ne}function po(b,U,ne){var we=Ht(ne),Ge=b[U+=255&we].g-8;return 0>>0,a(8>=ne.g),b.g}function QA(b,U,ne){var we=b.xc;return a((U=we==0?0:b.vc[b.md*(ne>>we)+(U>>we)])>si.b)*Xn;Xrvn&&(ai=vn),(0,Mp[Rs[aA++]>>8&15])(Ft,hr+ +us,tn,nn+us-vn,ai-us,tn,nn+us),us=ai}hr+=vn,nn+=vn,++Xr&ci||(si+=Xn)}Dr!=Tt.nc&&c(dt,ot-Br,dt,ot+(Dr-sr-1)*Br,Br);break;case 1:for(Br=Ft,Tr=hr,vn=(Ft=Tt.Ea)-(nn=Ft&~(tn=(hr=1<>Tt.b)*Xr;sr=Ge),0Xe.o&&(we=Xe.o),ne=we?ne=0:(Ge[0]+=4*Xe.v,Xe.ka=ne-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=we-ne,ne=1),ne){if(ot=ot[0],11>(ne=b.ca).S){var sr=ne.f.RGBA,Dr=(we=ne.S,Ge=Xe.U,Xe=Xe.T,Tt=sr.eb,sr.A),Ft=Xe;for(sr=sr.fb+b.Ma*sr.A;0we){var Ge=b.l.width,Xe=ne.ca,Je=ne.tb+Ge*we,ot=b.V,dt=b.Ba+b.c*we,Tt=b.gc;a(b.ab==1),a(Tt[0].hc==3),Xc(Tt[0],we,U,ot,dt,Xe,Je),Vc(ne,we,U,Xe,Je,Ge)}b.C=b.Ma=U}function vc(b,U,ne,we,Ge,Xe,Je){var ot=b.$/we,dt=b.$%we,Tt=b.m,sr=b.s,Dr=ne+b.$,Ft=Dr;Ge=ne+we*Ge;var hr=ne+we*Xe,Br=280+sr.ua,Xr=b.Pb?ot:16777216,Tr=0=Xr){var ci=Dr-ne;a((Xr=b).Pb),Xr.wd=Xr.m,Xr.xd=ci,0ls.g?(fr(cn,cn.u+ls.g),ci[Xn]=ls.value,cn=0):(fr(cn,cn.u+ls.g-256),a(256<=ls.value),cn=ls.value),cn==0&&(vn=!0)}else cn=po(nn.G[0],nn.H[0],Tt);if(Tt.h)break;if(vn||256>cn){if(!vn)if(nn.nd)U[Dr]=(nn.qb|cn<<8)>>>0;else{if(Cr(Tt),vn=po(nn.G[1],nn.H[1],Tt),Cr(Tt),ci=po(nn.G[2],nn.H[2],Tt),Xn=po(nn.G[3],nn.H[3],Tt),Tt.h)break;U[Dr]=(Xn<<24|vn<<16|cn<<8|ci)>>>0}if(vn=!1,++Dr,++dt>=we&&(dt=0,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(b,ot),Tr!=null))for(;Ft>>Tr.Mb]=cn}else if(280>cn){if(cn=Ku(cn-256,Tt),ci=po(nn.G[4],nn.H[4],Tt),Cr(Tt),ci=zu(we,ci=Ku(ci,Tt)),Tt.h)break;if(Dr-ne=we;)dt-=we,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(b,ot);if(a(Dr<=Ge),dt&tn&&(nn=QA(sr,dt,ot)),Tr!=null)for(;Ft>>Tr.Mb]=cn}else{if(!(cn>>Tr.Mb]=cn;cn=Dr,a(!(vn>>>(ci=Tr).Xa)),U[cn]=ci.X[vn],vn=!0}vn||a(Tt.h==tr(Tt))}if(b.Pb&&Tt.h&&DrXe?Xe:ot),b.a=0,b.$=Dr-ne}return 1}return b.a=3,0}function Gu(b){a(b!=null),b.vc=null,b.yc=null,b.Ya=null;var U=b.Wa;U!=null&&(U.X=null),b.vb=null,a(b!=null)}function Wf(){var b=new Vi;return b==null?null:(b.a=0,b.xb=Dg,Fa("Predictor","VP8LPredictors"),Fa("Predictor","VP8LPredictors_C"),Fa("PredictorAdd","VP8LPredictorsAdd"),Fa("PredictorAdd","VP8LPredictorsAdd_C"),So=Ts,Qp=as,Hp=Co,$h=Ks,Yh=ms,Zh=vs,ad=Ga,Mt.VP8LMapColor32b=qc,Mt.VP8LMapColor8b=Np,b)}function Wc(b,U,ne,we,Ge){var Xe=1,Je=[b],ot=[U],dt=we.m,Tt=we.s,sr=null,Dr=0;e:for(;;){if(ne)for(;Xe&&ln(dt,1);){var Ft=Je,hr=ot,Br=we,Xr=1,Tr=Br.m,tn=Br.gc[Br.ab],nn=ln(Tr,2);if(Br.Oc&1<=Br.ab),nn){case 0:case 1:tn.b=ln(Tr,3)+2,Xr=Wc(gn(tn.Ea,tn.b),gn(tn.nc,tn.b),0,Br,tn.K),tn.K=tn.K[0];break;case 3:var vn,cn=ln(Tr,8)+1,ci=16>si.b),aA=m(Rs);if(aA==null)vn=0;else{var us=si.K[0],ai=si.w;for(aA[0]=si.K[0][0],Xn=1;Xn<1*ls;++Xn)aA[Xn]=Ri(us[ai+Xn],aA[Xn-1]);for(;Xn<4*Rs;++Xn)aA[Xn]=0;si.K[0]=null,si.K[0]=aA,vn=1}}Xr=vn;break;case 2:break;default:a(0)}Xe=Xr}}if(Je=Je[0],ot=ot[0],Xe&&ln(dt,1)&&!(Xe=1<=(Dr=ln(dt,4))&&11>=Dr)){we.a=3;break e}var Rn;if(Rn=Xe)t:{var To,rs,Ms,Ha=we,KA=Je,Tl=ot,go=Dr,ul=ne,Fl=Ha.m,oA=Ha.s,Gs=[null],Aa=1,mo=0,la=om[go];r:for(;;){if(ul&&ln(Fl,1)){var zA=ln(Fl,3)+2,bc=gn(KA,zA),Fo=gn(Tl,zA),Zl=bc*Fo;if(!Wc(bc,Fo,0,Ha,Gs))break r;for(Gs=Gs[0],oA.xc=zA,To=0;To>8&65535;Gs[To]=wa,wa>=Aa&&(Aa=wa+1)}}if(Fl.h)break r;for(rs=0;5>rs;++rs){var AA=Fg[rs];!rs&&0=Ll),Bu=Eu;var ql=m(mo);if(Bu==null||ql==null||bu==null){Ha.a=1;break r}var xu=bu;for(To=Ms=0;Tors;++rs){AA=Fg[rs],Cu[rs]=xu,Ec[rs]=Ms,!rs&&0L1)break n}else ag=L1;for(Wp=0;WpXd)Gg[Wp++]=Xd,Xd!=0&&(Vg=Xd);else{var Um=Xd==16,Yg=Xd-16,Pm=nm[Yg],Zg=ln(tf,rm[Yg])+Pm;if(Wp+Zg>L1)break n;for(var Om=Um?Vg:0;0=rs){var $p,Ag=ql[0];for($p=1;$pAg&&(Ag=ql[$p]);GA+=Ag}}if(Da.nd=X0,Da.Qb=0,X0&&(Da.qb=(Cu[3][Ec[3]+0].value<<24|Cu[1][Ec[1]+0].value<<16|Cu[2][Ec[2]+0].value)>>>0,Ad==0&&256>Cu[0][Ec[0]+0].value&&(Da.Qb=1,Da.qb+=Cu[0][Ec[0]+0].value<<8)),Da.jc=!Da.Qb&&6>GA,Da.jc){var D1,J0=Da;for(D1=0;D1>=EA(k1,8,nf),rf>>=EA(J0.G[1][J0.H[1]+rf],16,nf),rf>>=EA(J0.G[2][J0.H[2]+rf],0,nf),EA(J0.G[3][J0.H[3]+rf],24,nf))}}}oA.vc=Gs,oA.Wb=Aa,oA.Ya=Bu,oA.yc=bu,Rn=1;break t}Rn=0}if(!(Xe=Rn)){we.a=3;break e}if(0we+1?[]:0),!(Ge.lengthb?0:b>U?U:b}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var b=new n1;return b!=null&&(b.a=0,b.sc="OK",b.cb=0,b.Xb=0,zp||(zp=zd)),b}function Vo(b,U,ne){return b.a==0&&(b.a=U,b.sc=ne,b.cb=0),0}function i1(b,U,ne){return 3<=ne&&b[U+0]==157&&b[U+1]==1&&b[U+2]==42}function Yc(b,U){if(b==null)return 0;if(b.a=0,b.sc="OK",U==null)return Vo(b,2,"null VP8Io passed to VP8GetHeaders()");var ne=U.data,we=U.w,Ge=U.ha;if(4>Ge)return Vo(b,7,"Truncated header.");var Xe=ne[we+0]|ne[we+1]<<8|ne[we+2]<<16,Je=b.Od;if(Je.Rb=!(1&Xe),Je.td=Xe>>1&7,Je.yd=Xe>>4&1,Je.ub=Xe>>5,3Ge)return Vo(b,7,"cannot parse picture header");if(!i1(ne,we,Ge))return Vo(b,3,"Bad code word");ot.c=16383&(ne[we+4]<<8|ne[we+3]),ot.Td=ne[we+4]>>6,ot.i=16383&(ne[we+6]<<8|ne[we+5]),ot.Ud=ne[we+6]>>6,we+=7,Ge-=7,b.za=ot.c+15>>4,b.Ub=ot.i+15>>4,U.width=ot.c,U.height=ot.i,U.Da=0,U.j=0,U.v=0,U.va=U.width,U.o=U.height,U.da=0,U.ib=U.width,U.hb=U.height,U.U=U.width,U.T=U.height,d((Xe=b.Pa).jb,0,255,Xe.jb.length),a((Xe=b.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,d(Xe.Zb,0,0,Xe.Zb.length),d(Xe.Lb,0,0,Xe.Lb)}if(Je.ub>Ge)return Vo(b,7,"bad partition length");Mr(Xe=b.m,ne,we,Je.ub),we+=Je.ub,Ge-=Je.ub,Je.Rb&&(ot.Ld=Gr(Xe),ot.Kd=Gr(Xe)),ot=b.Qa;var dt,Tt=b.Pa;if(a(Xe!=null),a(ot!=null),ot.Cb=Gr(Xe),ot.Cb){if(ot.Bb=Gr(Xe),Gr(Xe)){for(ot.Fb=Gr(Xe),dt=0;4>dt;++dt)ot.Zb[dt]=Gr(Xe)?Lr(Xe,7):0;for(dt=0;4>dt;++dt)ot.Lb[dt]=Gr(Xe)?Lr(Xe,6):0}if(ot.Bb)for(dt=0;3>dt;++dt)Tt.jb[dt]=Gr(Xe)?Kr(Xe,8):255}else ot.Bb=0;if(Xe.Ka)return Vo(b,3,"cannot parse segment header");if((ot=b.ed).zd=Gr(Xe),ot.Tb=Kr(Xe,6),ot.wb=Kr(Xe,3),ot.Pc=Gr(Xe),ot.Pc&&Gr(Xe)){for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.vd[Tt]=Lr(Xe,6));for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.od[Tt]=Lr(Xe,6))}if(b.L=ot.Tb==0?0:ot.zd?1:2,Xe.Ka)return Vo(b,3,"cannot parse filter header");var sr=Ge;if(Ge=dt=we,we=dt+sr,ot=sr,b.Xb=(1<ot&&(Dr=ot),Mr(b.Jc[+sr],ne,dt,Dr),dt+=Dr,ot-=Dr,Ge+=3}Mr(b.Jc[+Tt],ne,dt,ot),ne=dtDr;++Dr){if(sr.Cb){var Ft=sr.Zb[Dr];sr.Fb||(Ft+=ne)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[$c(Ft+Tt,117)],hr.Qc[1]=rg[$c(Ft+dt,127)],hr.lc=Ft+dt}if(!Je.Rb)return Vo(b,4,"Not a key frame.");for(Gr(Xe),Je=b.Pa,ne=0;4>ne;++ne){for(Ge=0;8>Ge;++Ge)for(we=0;3>we;++we)for(ot=0;11>ot;++ot)Tt=sn(Xe,fm[ne][Ge][we][ot])?Kr(Xe,8):cm[ne][Ge][we][ot],Je.Wc[ne][Ge].Yb[we][ot]=Tt;for(Ge=0;17>Ge;++Ge)Je.Xc[ne][Ge]=Je.Wc[ne][dm[Ge]]}return b.kc=Gr(Xe),b.kc&&(b.Bd=Kr(Xe,8)),b.cb=1}function zd(b,U,ne,we,Ge,Xe,Je){var ot=U[Ge].Yb[ne];for(ne=0;16>Ge;++Ge){if(!sn(b,ot[ne+0]))return Ge;for(;!sn(b,ot[ne+1]);)if(ot=U[++Ge].Yb[0],ne=0,Ge==16)return 16;var dt=U[Ge+1].Yb;if(sn(b,ot[ne+2])){var Tt=b,sr=0;if(sn(Tt,(Ft=ot)[(Dr=ne)+3]))if(sn(Tt,Ft[Dr+6])){for(ot=0,Dr=2*(sr=sn(Tt,Ft[Dr+8]))+(Ft=sn(Tt,Ft[Dr+9+sr])),sr=0,Ft=lm[Dr];Ft[ot];++ot)sr+=sr+sn(Tt,Ft[ot]);sr+=3+(8<(Tt=b).b&&Hr(Tt);var Dr,Ft=Tt.b,hr=(Dr=Tt.Ca>>1)-(Tt.I>>Ft)>>31;--Tt.b,Tt.Ca+=hr,Tt.Ca|=1,Tt.I-=(Dr+1&hr)<>3),b[U+ne+32*we]=-256&Ge?0>Ge?0:255:Ge}function nA(b,U,ne,we,Ge,Xe){Wu(b,U,0,ne,we+Ge),Wu(b,U,1,ne,we+Xe),Wu(b,U,2,ne,we-Xe),Wu(b,U,3,ne,we-Ge)}function M0(b){return(20091*b>>16)+b}function a1(b,U,ne,we){var Ge,Xe=0,Je=m(16);for(Ge=0;4>Ge;++Ge){var ot=b[U+0]+b[U+8],dt=b[U+0]-b[U+8],Tt=(35468*b[U+4]>>16)-M0(b[U+12]),sr=M0(b[U+4])+(35468*b[U+12]>>16);Je[Xe+0]=ot+sr,Je[Xe+1]=dt+Tt,Je[Xe+2]=dt-Tt,Je[Xe+3]=ot-sr,Xe+=4,U++}for(Ge=Xe=0;4>Ge;++Ge)ot=(b=Je[Xe+0]+4)+Je[Xe+8],dt=b-Je[Xe+8],Tt=(35468*Je[Xe+4]>>16)-M0(Je[Xe+12]),Wu(ne,we,0,0,ot+(sr=M0(Je[Xe+4])+(35468*Je[Xe+12]>>16))),Wu(ne,we,1,0,dt+Tt),Wu(ne,we,2,0,dt-Tt),Wu(ne,we,3,0,ot-sr),Xe++,we+=32}function P1(b,U,ne,we){var Ge=b[U+0]+4,Xe=35468*b[U+4]>>16,Je=M0(b[U+4]),ot=35468*b[U+1]>>16;nA(ne,we,0,Ge+Je,b=M0(b[U+1]),ot),nA(ne,we,1,Ge+Xe,b,ot),nA(ne,we,2,Ge-Xe,b,ot),nA(ne,we,3,Ge-Je,b,ot)}function O1(b,U,ne,we,Ge){a1(b,U,ne,we),Ge&&a1(b,U+16,ne,we+4)}function Zc(b,U,ne,we){od(b,U+0,ne,we,1),od(b,U+32,ne,we+128,1)}function o1(b,U,ne,we){var Ge;for(b=b[U+0]+4,Ge=0;4>Ge;++Ge)for(U=0;4>U;++U)Wu(ne,we,U,Ge,b)}function A1(b,U,ne,we){b[U+0]&&sa(b,U+0,ne,we),b[U+16]&&sa(b,U+16,ne,we+4),b[U+32]&&sa(b,U+32,ne,we+128),b[U+48]&&sa(b,U+48,ne,we+128+4)}function Gd(b,U,ne,we){var Ge,Xe=m(16);for(Ge=0;4>Ge;++Ge){var Je=b[U+0+Ge]+b[U+12+Ge],ot=b[U+4+Ge]+b[U+8+Ge],dt=b[U+4+Ge]-b[U+8+Ge],Tt=b[U+0+Ge]-b[U+12+Ge];Xe[0+Ge]=Je+ot,Xe[8+Ge]=Je-ot,Xe[4+Ge]=Tt+dt,Xe[12+Ge]=Tt-dt}for(Ge=0;4>Ge;++Ge)Je=(b=Xe[0+4*Ge]+3)+Xe[3+4*Ge],ot=Xe[1+4*Ge]+Xe[2+4*Ge],dt=Xe[1+4*Ge]-Xe[2+4*Ge],Tt=b-Xe[3+4*Ge],ne[we+0]=Je+ot>>3,ne[we+16]=Tt+dt>>3,ne[we+32]=Je-ot>>3,ne[we+48]=Tt-dt>>3,we+=64}function Yf(b,U,ne){var we,Ge=U-32,Xe=wu,Je=255-b[Ge-1];for(we=0;wene;++ne)c(b,U+32*ne,b,U-32,16)}function l1(b,U){var ne;for(ne=16;0we;++we)d(U,ne+32*we,b,16)}function H1(b,U){var ne,we=16;for(ne=0;16>ne;++ne)we+=b[U-1+32*ne]+b[U+ne-32];yc(we>>5,b,U)}function Zf(b,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=b[U-1+32*ne];yc(we>>4,b,U)}function xp(b,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=b[U+ne-32];yc(we>>4,b,U)}function j1(b,U){yc(128,b,U)}function Yi(b,U,ne){return b+2*U+ne+2>>2}function K1(b,U){var ne,we=U-32;for(we=new Uint8Array([Yi(b[we-1],b[we+0],b[we+1]),Yi(b[we+0],b[we+1],b[we+2]),Yi(b[we+1],b[we+2],b[we+3]),Yi(b[we+2],b[we+3],b[we+4])]),ne=0;4>ne;++ne)c(b,U+32*ne,we,0,we.length)}function z1(b,U){var ne=b[U-1],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96];yn(b,U+0,16843009*Yi(b[U-1-32],ne,we)),yn(b,U+32,16843009*Yi(ne,we,Ge)),yn(b,U+64,16843009*Yi(we,Ge,Xe)),yn(b,U+96,16843009*Yi(Ge,Xe,Xe))}function G1(b,U){var ne,we=4;for(ne=0;4>ne;++ne)we+=b[U+ne-32]+b[U-1+32*ne];for(we>>=3,ne=0;4>ne;++ne)d(b,U+32*ne,we,4)}function Q0(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1-32],Je=b[U+0-32],ot=b[U+1-32],dt=b[U+2-32],Tt=b[U+3-32];b[U+0+96]=Yi(we,Ge,b[U-1+96]),b[U+1+96]=b[U+0+64]=Yi(ne,we,Ge),b[U+2+96]=b[U+1+64]=b[U+0+32]=Yi(Xe,ne,we),b[U+3+96]=b[U+2+64]=b[U+1+32]=b[U+0+0]=Yi(Je,Xe,ne),b[U+3+64]=b[U+2+32]=b[U+1+0]=Yi(ot,Je,Xe),b[U+3+32]=b[U+2+0]=Yi(dt,ot,Je),b[U+3+0]=Yi(Tt,dt,ot)}function H0(b,U){var ne=b[U+1-32],we=b[U+2-32],Ge=b[U+3-32],Xe=b[U+4-32],Je=b[U+5-32],ot=b[U+6-32],dt=b[U+7-32];b[U+0+0]=Yi(b[U+0-32],ne,we),b[U+1+0]=b[U+0+32]=Yi(ne,we,Ge),b[U+2+0]=b[U+1+32]=b[U+0+64]=Yi(we,Ge,Xe),b[U+3+0]=b[U+2+32]=b[U+1+64]=b[U+0+96]=Yi(Ge,Xe,Je),b[U+3+32]=b[U+2+64]=b[U+1+96]=Yi(Xe,Je,ot),b[U+3+64]=b[U+2+96]=Yi(Je,ot,dt),b[U+3+96]=Yi(ot,dt,dt)}function V1(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1-32],Je=b[U+0-32],ot=b[U+1-32],dt=b[U+2-32],Tt=b[U+3-32];b[U+0+0]=b[U+1+64]=Xe+Je+1>>1,b[U+1+0]=b[U+2+64]=Je+ot+1>>1,b[U+2+0]=b[U+3+64]=ot+dt+1>>1,b[U+3+0]=dt+Tt+1>>1,b[U+0+96]=Yi(Ge,we,ne),b[U+0+64]=Yi(we,ne,Xe),b[U+0+32]=b[U+1+96]=Yi(ne,Xe,Je),b[U+1+32]=b[U+2+96]=Yi(Xe,Je,ot),b[U+2+32]=b[U+3+96]=Yi(Je,ot,dt),b[U+3+32]=Yi(ot,dt,Tt)}function W1(b,U){var ne=b[U+0-32],we=b[U+1-32],Ge=b[U+2-32],Xe=b[U+3-32],Je=b[U+4-32],ot=b[U+5-32],dt=b[U+6-32],Tt=b[U+7-32];b[U+0+0]=ne+we+1>>1,b[U+1+0]=b[U+0+64]=we+Ge+1>>1,b[U+2+0]=b[U+1+64]=Ge+Xe+1>>1,b[U+3+0]=b[U+2+64]=Xe+Je+1>>1,b[U+0+32]=Yi(ne,we,Ge),b[U+1+32]=b[U+0+96]=Yi(we,Ge,Xe),b[U+2+32]=b[U+1+96]=Yi(Ge,Xe,Je),b[U+3+32]=b[U+2+96]=Yi(Xe,Je,ot),b[U+3+64]=Yi(Je,ot,dt),b[U+3+96]=Yi(ot,dt,Tt)}function Vd(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96];b[U+0+0]=ne+we+1>>1,b[U+2+0]=b[U+0+32]=we+Ge+1>>1,b[U+2+32]=b[U+0+64]=Ge+Xe+1>>1,b[U+1+0]=Yi(ne,we,Ge),b[U+3+0]=b[U+1+32]=Yi(we,Ge,Xe),b[U+3+32]=b[U+1+64]=Yi(Ge,Xe,Xe),b[U+3+64]=b[U+2+64]=b[U+0+96]=b[U+1+96]=b[U+2+96]=b[U+3+96]=Xe}function Cp(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96],Je=b[U-1-32],ot=b[U+0-32],dt=b[U+1-32],Tt=b[U+2-32];b[U+0+0]=b[U+2+32]=ne+Je+1>>1,b[U+0+32]=b[U+2+64]=we+ne+1>>1,b[U+0+64]=b[U+2+96]=Ge+we+1>>1,b[U+0+96]=Xe+Ge+1>>1,b[U+3+0]=Yi(ot,dt,Tt),b[U+2+0]=Yi(Je,ot,dt),b[U+1+0]=b[U+3+32]=Yi(ne,Je,ot),b[U+1+32]=b[U+3+64]=Yi(we,ne,Je),b[U+1+64]=b[U+3+96]=Yi(Ge,we,ne),b[U+1+96]=Yi(Xe,Ge,we)}function qf(b,U){var ne;for(ne=0;8>ne;++ne)c(b,U+32*ne,b,U-32,8)}function $1(b,U){var ne;for(ne=0;8>ne;++ne)d(b,U,b[U-1],8),U+=32}function j0(b,U,ne){var we;for(we=0;8>we;++we)d(U,ne+32*we,b,8)}function Y1(b,U){var ne,we=8;for(ne=0;8>ne;++ne)we+=b[U+ne-32]+b[U-1+32*ne];j0(we>>4,b,U)}function Sp(b,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=b[U+ne-32];j0(we>>3,b,U)}function Ip(b,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=b[U-1+32*ne];j0(we>>3,b,U)}function u1(b,U){j0(128,b,U)}function K0(b,U,ne){var we=b[U-ne],Ge=b[U+0],Xe=3*(Ge-we)+Z1[1020+b[U-2*ne]-b[U+ne]],Je=v1[112+(Xe+4>>3)];b[U-ne]=wu[255+we+v1[112+(Xe+3>>3)]],b[U+0]=wu[255+Ge-Je]}function Tp(b,U,ne,we){var Ge=b[U+0],Xe=b[U+ne];return Zu[255+b[U-2*ne]-b[U-ne]]>we||Zu[255+Xe-Ge]>we}function Wd(b,U,ne,we){return 4*Zu[255+b[U-ne]-b[U+0]]+Zu[255+b[U-2*ne]-b[U+ne]]<=we}function Fp(b,U,ne,we,Ge){var Xe=b[U-3*ne],Je=b[U-2*ne],ot=b[U-ne],dt=b[U+0],Tt=b[U+ne],sr=b[U+2*ne],Dr=b[U+3*ne];return 4*Zu[255+ot-dt]+Zu[255+Je-Tt]>we?0:Zu[255+b[U-4*ne]-Xe]<=Ge&&Zu[255+Xe-Je]<=Ge&&Zu[255+Je-ot]<=Ge&&Zu[255+Dr-sr]<=Ge&&Zu[255+sr-Tt]<=Ge&&Zu[255+Tt-dt]<=Ge}function Xf(b,U,ne,we){var Ge=2*we+1;for(we=0;16>we;++we)Wd(b,U+we,ne,Ge)&&K0(b,U+we,ne)}function Lp(b,U,ne,we){var Ge=2*we+1;for(we=0;16>we;++we)Wd(b,U+we*ne,1,Ge)&&K0(b,U+we*ne,1)}function c1(b,U,ne,we){var Ge;for(Ge=3;0>7,tn=18*nn+63>>7,nn=9*nn+63>>7;dt[Tt-3*sr]=wu[255+dt[Tt-3*sr]+nn],dt[Tt-2*sr]=wu[255+Dr+tn],dt[Tt-sr]=wu[255+Ft+Tr],dt[Tt+0]=wu[255+hr-Tr],dt[Tt+sr]=wu[255+Br-tn],dt[Tt+2*sr]=wu[255+Xr-nn]}U+=we}}function G0(b,U,ne,we,Ge,Xe,Je,ot){for(Xe=2*Xe+1;0>3)],Xr=v1[112+(Xr+3>>3)],Tr=Br+1>>1;dt[Tt-2*sr]=wu[255+dt[Tt-2*sr]+Tr],dt[Tt-sr]=wu[255+Dr+Xr],dt[Tt+0]=wu[255+Ft-Br],dt[Tt+sr]=wu[255+hr-Tr]}U+=we}}function f1(b,U,ne,we,Ge,Xe){z0(b,U,ne,1,16,we,Ge,Xe)}function Jf(b,U,ne,we,Ge,Xe){z0(b,U,1,ne,16,we,Ge,Xe)}function d1(b,U,ne,we,Ge,Xe){var Je;for(Je=3;0Tt?0:255:Tt)&255,Tt=dt,Ge[Xe+ot]=sr}}function La(b,U,ne,we){var Ge=U.width,Xe=U.o;if(a(b!=null&&U!=null),0>ne||0>=we||ne+we>Xe)return null;if(!b.Cc){if(b.ga==null){var Je;if(b.ga=new os,(Je=b.ga==null)||(Je=U.width*U.o,a(b.Gb.length==0),b.Gb=m(Je),b.Uc=0,b.Gb==null?Je=0:(b.mb=b.Gb,b.nb=b.Uc,b.rc=null,Je=1),Je=!Je),!Je){Je=b.ga;var ot=b.Fa,dt=b.P,Tt=b.qc,sr=b.mb,Dr=b.nb,Ft=dt+1,hr=Tt-1,Br=Je.l;if(a(ot!=null&&sr!=null&&U!=null),Jh[0]=null,Jh[1]=zs,Jh[2]=oo,Jh[3]=Wo,Je.ca=sr,Je.tb=Dr,Je.c=U.width,Je.i=U.height,a(0=Tt)U=0;else if(Je.$a=3&ot[dt+0],Je.Z=ot[dt+0]>>2&3,Je.Lc=ot[dt+0]>>4&3,dt=ot[dt+0]>>6&3,0>Je.$a||1=Je.c*Je.i;Je=!U}if(Je)return null;b.ga.Lc!=1?b.Ga=0:we=Xe-ne}a(b.ga!=null),a(ne+we<=Xe);e:{if(U=(ot=b.ga).c,Xe=ot.l.o,ot.$a==0){if(Ft=b.rc,hr=b.Vc,Br=b.Fa,dt=b.P+1+ne*U,Tt=b.mb,sr=b.nb+ne*U,a(dt<=b.P+b.qc),ot.Z!=0)for(a(Jh[ot.Z]!=null),Je=0;Je=U)U=1;else if(ot.ic||_c(),ot.ic){ot=Je.V,Ft=Je.Ba,hr=Je.c;var Xr=Je.i,Tr=(Br=1,dt=Je.$/hr,Tt=Je.$%hr,sr=Je.m,Dr=Je.s,Je.$),tn=hr*Xr,nn=hr*U,vn=Dr.wc,cn=Tr(Xr=po(cn.G[0],cn.H[0],sr)))ot[Ft+Tr]=Xr,++Tr,++Tt>=hr&&(Tt=0,++dt<=U&&!(dt%16)&&mc(Je,dt));else{if(!(280>Xr)){Br=0;break t}Xr=Ku(Xr-256,sr);var ci,Xn=po(cn.G[4],cn.H[4],sr);if(Cr(sr),!(Tr>=(Xn=zu(hr,Xn=Ku(Xn,sr)))&&tn-Tr>=Xr)){Br=0;break t}for(ci=0;ci=hr;)Tt-=hr,++dt<=U&&!(dt%16)&&mc(Je,dt);TrU?U:dt);break t}!Br||sr.h&&Tr=Xe&&(b.Cc=1),we=1}if(!we)return null;if(b.Cc&&((we=b.ga)!=null&&(we.mc=null),b.ga=null,0>23,ot[dt+4*Je+1]=ot[dt+4*Je+1]*Dr>>23,ot[dt+4*Je+2]=ot[dt+4*Je+2]*Dr>>23)}U+=Xe}}function $o(b,U,ne,we,Ge){for(;0>4)*dt>>16;b[U+2*Xe+0]=(240&Je|Je>>4)*dt>>16&240|(15&Je|Je<<4)*dt>>16>>4&15,b[U+2*Xe+1]=240&Tt|ot}U+=Ge}}function HA(b,U,ne,we,Ge,Xe,Je,ot){var dt,Tt,sr=255;for(Tt=0;Tt>8}function _c(){Kp=iA,_g=$o,wg=HA,bg=V0}function W0(b,U,ne){Mt[b]=function(we,Ge,Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr,Br,Xr,Tr,tn,nn,vn){var cn,ci=vn-1>>1,Xn=ot[dt+0]|Tt[sr+0]<<16,ls=Dr[Ft+0]|hr[Br+0]<<16;a(we!=null);var si=3*Xn+ls+131074>>2;for(U(we[Ge+0],255&si,si>>16,Xr,Tr),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+0],255&si,si>>16,tn,nn)),cn=1;cn<=ci;++cn){var Rs=ot[dt+cn]|Tt[sr+cn]<<16,aA=Dr[Ft+cn]|hr[Br+cn]<<16,us=Xn+Rs+ls+aA+524296,ai=us+2*(Rs+ls)>>3;si=ai+Xn>>1,Xn=(us=us+2*(Xn+aA)>>3)+Rs>>1,U(we[Ge+2*cn-1],255&si,si>>16,Xr,Tr+(2*cn-1)*ne),U(we[Ge+2*cn-0],255&Xn,Xn>>16,Xr,Tr+(2*cn-0)*ne),Xe!=null&&(si=us+ls>>1,Xn=ai+aA>>1,U(Xe[Je+2*cn-1],255&si,si>>16,tn,nn+(2*cn-1)*ne),U(Xe[Je+2*cn+0],255&Xn,Xn>>16,tn,nn+(2*cn+0)*ne)),Xn=Rs,ls=aA}1&vn||(si=3*Xn+ls+131074>>2,U(we[Ge+vn-1],255&si,si>>16,Xr,Tr+(vn-1)*ne),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+vn-1],255&si,si>>16,tn,nn+(vn-1)*ne)))}}function Dp(){qu[y1]=gm,qu[_1]=kg,qu[Ig]=mm,qu[w1]=Rg,qu[b1]=Ug,qu[q1]=Pg,qu[Tg]=vm,qu[X1]=kg,qu[J1]=Rg,qu[E1]=Ug,qu[eg]=Pg}function $d(b){return b&~ym?0>b?0:255:b>>Og}function Kh(b,U){return $d((19077*b>>8)+(26149*U>>8)-14234)}function ed(b,U,ne){return $d((19077*b>>8)-(6419*U>>8)-(13320*ne>>8)+8708)}function td(b,U){return $d((19077*b>>8)+(33050*U>>8)-17685)}function zh(b,U,ne,we,Ge){we[Ge+0]=Kh(b,ne),we[Ge+1]=ed(b,U,ne),we[Ge+2]=td(b,U)}function jA(b,U,ne,we,Ge){we[Ge+0]=td(b,U),we[Ge+1]=ed(b,U,ne),we[Ge+2]=Kh(b,ne)}function rd(b,U,ne,we,Ge){var Xe=ed(b,U,ne);U=Xe<<3&224|td(b,U)>>3,we[Ge+0]=248&Kh(b,ne)|Xe>>5,we[Ge+1]=U}function nd(b,U,ne,we,Ge){var Xe=240&td(b,U)|15;we[Ge+0]=240&Kh(b,ne)|ed(b,U,ne)>>4,we[Ge+1]=Xe}function kp(b,U,ne,we,Ge){we[Ge+0]=255,zh(b,U,ne,we,Ge+1)}function Rp(b,U,ne,we,Ge){jA(b,U,ne,we,Ge),we[Ge+3]=255}function Il(b,U,ne,we,Ge){zh(b,U,ne,we,Ge),we[Ge+3]=255}function $0(b,U,ne){Mt[b]=function(we,Ge,Xe,Je,ot,dt,Tt,sr,Dr){for(var Ft=sr+(-2&Dr)*ne;sr!=Ft;)U(we[Ge+0],Xe[Je+0],ot[dt+0],Tt,sr),U(we[Ge+1],Xe[Je+0],ot[dt+0],Tt,sr+ne),Ge+=2,++Je,++dt,sr+=2*ne;1&Dr&&U(we[Ge+0],Xe[Je+0],ot[dt+0],Tt,sr)}}function Yd(b,U,ne){return ne==0?b==0?U==0?6:5:U==0?4:0:ne}function p1(b,U,ne,we,Ge){switch(b>>>30){case 3:od(U,ne,we,Ge,0);break;case 2:Yu(U,ne,we,Ge);break;case 1:sa(U,ne,we,Ge)}}function $u(b,U){var ne,we,Ge=U.M,Xe=U.Nb,Je=b.oc,ot=b.pc+40,dt=b.oc,Tt=b.pc+584,sr=b.oc,Dr=b.pc+600;for(ne=0;16>ne;++ne)Je[ot+32*ne-1]=129;for(ne=0;8>ne;++ne)dt[Tt+32*ne-1]=129,sr[Dr+32*ne-1]=129;for(0ne;++ne)c(Je,ot+32*ne-4,Je,ot+32*ne+12,4);for(ne=-1;8>ne;++ne)c(dt,Tt+32*ne-4,dt,Tt+32*ne+4,4),c(sr,Dr+32*ne-4,sr,Dr+32*ne+4,4)}var hr=b.Gd,Br=b.Hd+we,Xr=Ft.ad,Tr=Ft.Hc;if(0=b.za-1?d(tn,nn,hr[Br].y[15],4):c(tn,nn,hr[Br+1].y,0,4)),ne=0;4>ne;ne++)tn[nn+128+ne]=tn[nn+256+ne]=tn[nn+384+ne]=tn[nn+0+ne];for(ne=0;16>ne;++ne,Tr<<=2)tn=Je,nn=ot+Mg[ne],wc[Ft.Ob[ne]](tn,nn),p1(Tr,Xr,16*+ne,tn,nn)}else if(tn=Yd(we,Ge,Ft.Ob[0]),Xh[tn](Je,ot),Tr!=0)for(ne=0;16>ne;++ne,Tr<<=2)p1(Tr,Xr,16*+ne,Je,ot+Mg[ne]);for(ne=Ft.Gc,tn=Yd(we,Ge,Ft.Dd),q0[tn](dt,Tt),q0[tn](sr,Dr),Tr=Xr,tn=dt,nn=Tt,255&(Ft=0|ne)&&(170&Ft?Jc(Tr,256,tn,nn):_a(Tr,256,tn,nn)),Ft=sr,Tr=Dr,255&(ne>>=8)&&(170&ne?Jc(Xr,320,Ft,Tr):_a(Xr,320,Ft,Tr)),Gene;++ne)c(hr,Br+ne*b.R,Je,ot+32*ne,16);for(ne=0;8>ne;++ne)c(Xr,Ft+ne*b.B,dt,Tt+32*ne,8),c(Tr,tn+ne*b.B,sr,Dr+32*ne,8)}}function id(b,U,ne,we,Ge,Xe,Je,ot,dt){var Tt=[0],sr=[0],Dr=0,Ft=dt!=null?dt.kd:0,hr=dt!=null?dt:new un;if(b==null||12>ne)return 7;hr.data=b,hr.w=U,hr.ha=ne,U=[U],ne=[ne],hr.gb=[hr.gb];e:{var Br=U,Xr=ne,Tr=hr.gb;if(a(b!=null),a(Xr!=null),a(Tr!=null),Tr[0]=0,12<=Xr[0]&&!s(b,Br[0],"RIFF")){if(s(b,Br[0]+8,"WEBP")){Tr=3;break e}var tn=wi(b,Br[0]+4);if(12>tn||4294967286Xr[0]-8){Tr=7;break e}Tr[0]=tn,Br[0]+=12,Xr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(tn=0Tr[0])Tr=7;else{if(!s(nn,Xr[0],"VP8X")){if(wi(nn,Xr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var Xn=wi(nn,Xr[0]+8),ls=1+Qn(nn,Xr[0]+12);if(2147483648<=ls*(nn=1+Qn(nn,Xr[0]+15))){Tr=3;break e}ci!=null&&(ci[0]=Xn),vn!=null&&(vn[0]=ls),cn!=null&&(cn[0]=nn),Xr[0]+=18,Tr[0]-=18,si[0]=1}Tr=0}}if(Dr=Dr[0],Br=Br[0],Tr!=0)return Tr;if(Xr=!!(2&Br),!tn&&Dr)return 3;if(Xe!=null&&(Xe[0]=!!(16&Br)),Je!=null&&(Je[0]=Xr),ot!=null&&(ot[0]=0),Je=Tt[0],Br=sr[0],Dr&&Xr&&dt==null){Tr=0;break}if(4>ne){Tr=7;break}if(tn&&Dr||!tn&&!Dr&&!s(b,U[0],"ALPH")){ne=[ne],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{Xn=b,Tr=U,tn=ne;var si=hr.gb;vn=hr.na,cn=hr.P,ci=hr.Sa,ls=22,a(Xn!=null),a(tn!=null),nn=Tr[0];var Rs=tn[0];for(a(vn!=null),a(ci!=null),vn[0]=null,cn[0]=null,ci[0]=0;;){if(Tr[0]=nn,tn[0]=Rs,8>Rs){Tr=7;break e}var aA=wi(Xn,nn+4);if(4294967286si){Tr=3;break e}if(!s(Xn,nn,"VP8 ")||!s(Xn,nn,"VP8L")){Tr=0;break e}if(Rs[0]tn[0])Tr=7;else{if(nn||ls){if(si=wi(si,Xn+4),12<=vn&&si>vn-12){Tr=3;break e}if(Ft&&si>tn[0]-8){Tr=7;break e}cn[0]=si,Tr[0]+=8,tn[0]-=8,ci[0]=ls}else ci[0]=5<=tn[0]&&si[Xn+0]==47&&!(si[Xn+4]>>5),cn[0]=tn[0];Tr=0}if(ne=ne[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],U=U[0],Tr!=0)break;if(4294967286ne){Tr=7;break}ot=Je,Ft=Br,Xr=Xe,b==null||5>ne?b=0:5<=ne&&b[U+0]==47&&!(b[U+4]>>5)?(tn=[0],si=[0],vn=[0],$r(cn=new Ut,b,U,ne),N0(cn,tn,si,vn)?(ot!=null&&(ot[0]=tn[0]),Ft!=null&&(Ft[0]=si[0]),Xr!=null&&(Xr[0]=vn[0]),b=1):b=0):b=0}else{if(10>ne){Tr=7;break}ot=Br,b==null||10>ne||!i1(b,U+3,ne-3)?b=0:(Ft=b[U+0]|b[U+1]<<8|b[U+2]<<16,Xr=16383&(b[U+7]<<8|b[U+6]),b=16383&(b[U+9]<<8|b[U+8]),1&Ft||3<(Ft>>1&7)||!(Ft>>4&1)||Ft>>5>=hr.Ja||!Xr||!b?b=0:(Je&&(Je[0]=Xr),ot&&(ot[0]=b),b=1))}if(!b||(Je=Je[0],Br=Br[0],Dr&&(Tt[0]!=Je||sr[0]!=Br)))return 3;dt!=null&&(dt[0]=hr,dt.offset=U-dt.w,a(4294967286>U-dt.w),a(dt.offset==dt.ha-ne));break}return Tr==0||Tr==7&&Dr&&dt==null?(Xe!=null&&(Xe[0]|=hr.na!=null&&0ne||(Xe&=-2,Je&=-2),0>Xe||0>Je||0>=ot||0>=dt||Xe+ot>we||Je+dt>Ge))return 0;if(U.v=Xe,U.j=Je,U.va=Xe+ot,U.o=Je+dt,U.U=ot,U.T=dt,U.da=b!=null&&0b.S){var U=b.f.RGBA;U.fb+=(b.height-1)*U.A,U.A=-U.A}else U=b.f.kb,b=b.height,U.O+=(b-1)*U.fa,U.fa=-U.fa,U.N+=(b-1>>1)*U.Ab,U.Ab=-U.Ab,U.W+=(b-1>>1)*U.Db,U.Db=-U.Db,U.F!=null&&(U.J+=(b-1)*U.lb,U.lb=-U.lb);return 0}function Gh(b,U,ne,we){if(we==null||0>=b||0>=U)return 2;if(ne!=null){if(ne.Da){var Ge=ne.cd,Xe=ne.bd,Je=-2&ne.v,ot=-2&ne.j;if(0>Je||0>ot||0>=Ge||0>=Xe||Je+Ge>b||ot+Xe>U)return 2;b=Ge,U=Xe}if(ne.da){if(!ki(b,U,Ge=[ne.ib],Xe=[ne.hb]))return 2;b=Ge[0],U=Xe[0]}}we.width=b,we.height=U;e:{var dt=we.width,Tt=we.height;if(b=we.S,0>=dt||0>=Tt||!(b>=y1&&13>b))b=2;else{if(0>=we.Rd&&we.sd==null){Je=Xe=Ge=U=0;var sr=(ot=dt*Qg[b])*Tt;if(11>b||(Xe=(Tt+1)/2*(U=(dt+1)/2),b==12&&(Je=(Ge=dt)*Tt)),(Tt=m(sr+2*Xe+Je))==null){b=1;break e}we.sd=Tt,11>b?((dt=we.f.RGBA).eb=Tt,dt.fb=0,dt.A=ot,dt.size=sr):((dt=we.f.kb).y=Tt,dt.O=0,dt.fa=ot,dt.Fd=sr,dt.f=Tt,dt.N=0+sr,dt.Ab=U,dt.Cd=Xe,dt.ea=Tt,dt.W=0+sr+Xe,dt.Db=U,dt.Ed=Xe,b==12&&(dt.F=Tt,dt.J=0+sr+2*Xe),dt.Tc=Je,dt.lb=Ge)}if(U=1,Ge=we.S,Xe=we.width,Je=we.height,Ge>=y1&&13>Ge)if(11>Ge)b=we.f.RGBA,U&=(ot=Math.abs(b.A))*(Je-1)+Xe<=b.size,U&=ot>=Xe*Qg[Ge],U&=b.eb!=null;else{b=we.f.kb,ot=(Xe+1)/2,sr=(Je+1)/2,dt=Math.abs(b.fa),Tt=Math.abs(b.Ab);var Dr=Math.abs(b.Db),Ft=Math.abs(b.lb),hr=Ft*(Je-1)+Xe;U&=dt*(Je-1)+Xe<=b.Fd,U&=Tt*(sr-1)+ot<=b.Cd,U=(U&=Dr*(sr-1)+ot<=b.Ed)&dt>=Xe&Tt>=ot&Dr>=ot,U&=b.y!=null,U&=b.f!=null,U&=b.ea!=null,Ge==12&&(U&=Ft>=Xe,U&=hr<=b.Tc,U&=b.F!=null)}else U=0;b=U?0:2}}return b!=0||ne!=null&&ne.fd&&(b=Pp(we)),b}var sd=64,yu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],_u=24,Vh=32,Y0=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ei("Predictor0","PredictorAdd0"),Mt.Predictor0=function(){return 4278190080},Mt.Predictor1=function(b){return b},Mt.Predictor2=function(b,U,ne){return U[ne+0]},Mt.Predictor3=function(b,U,ne){return U[ne+1]},Mt.Predictor4=function(b,U,ne){return U[ne-1]},Mt.Predictor5=function(b,U,ne){return Bi(Bi(b,U[ne+1]),U[ne+0])},Mt.Predictor6=function(b,U,ne){return Bi(b,U[ne-1])},Mt.Predictor7=function(b,U,ne){return Bi(b,U[ne+0])},Mt.Predictor8=function(b,U,ne){return Bi(U[ne-1],U[ne+0])},Mt.Predictor9=function(b,U,ne){return Bi(U[ne+0],U[ne+1])},Mt.Predictor10=function(b,U,ne){return Bi(Bi(b,U[ne-1]),Bi(U[ne+0],U[ne+1]))},Mt.Predictor11=function(b,U,ne){var we=U[ne+0];return 0>=es(we>>24&255,b>>24&255,(U=U[ne-1])>>24&255)+es(we>>16&255,b>>16&255,U>>16&255)+es(we>>8&255,b>>8&255,U>>8&255)+es(255&we,255&b,255&U)?we:b},Mt.Predictor12=function(b,U,ne){var we=U[ne+0];return(na((b>>24&255)+(we>>24&255)-((U=U[ne-1])>>24&255))<<24|na((b>>16&255)+(we>>16&255)-(U>>16&255))<<16|na((b>>8&255)+(we>>8&255)-(U>>8&255))<<8|na((255&b)+(255&we)-(255&U)))>>>0},Mt.Predictor13=function(b,U,ne){var we=U[ne-1];return(Is((b=Bi(b,U[ne+0]))>>24&255,we>>24&255)<<24|Is(b>>16&255,we>>16&255)<<16|Is(b>>8&255,we>>8&255)<<8|Is(255&b,255&we))>>>0};var Op=Mt.PredictorAdd0;Mt.PredictorAdd1=ks,ei("Predictor2","PredictorAdd2"),ei("Predictor3","PredictorAdd3"),ei("Predictor4","PredictorAdd4"),ei("Predictor5","PredictorAdd5"),ei("Predictor6","PredictorAdd6"),ei("Predictor7","PredictorAdd7"),ei("Predictor8","PredictorAdd8"),ei("Predictor9","PredictorAdd9"),ei("Predictor10","PredictorAdd10"),ei("Predictor11","PredictorAdd11"),ei("Predictor12","PredictorAdd12"),ei("Predictor13","PredictorAdd13");var Zd=Mt.PredictorAdd2;pi("ColorIndexInverseTransform","MapARGB","32b",function(b){return b>>8&255},function(b){return b}),pi("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(b){return b},function(b){return b>>8&255});var So,g1=Mt.ColorIndexInverseTransform,qc=Mt.MapARGB,Xc=Mt.VP8LColorIndexInverseTransformAlpha,Np=Mt.MapAlpha,Mp=Mt.VP8LPredictorsAdd=[];Mp.length=16,(Mt.VP8LPredictors=[]).length=16,(Mt.VP8LPredictorsAdd_C=[]).length=16,(Mt.VP8LPredictors_C=[]).length=16;var Qp,Hp,$h,Yh,Zh,ad,qh,od,Yu,Jc,sa,_a,Io,sA,Z0,jp,qd,m1,dg,pg,gg,mg,vg,yg,Kp,_g,wg,bg,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Z1=Bg,v1=xg,wu=Cg,Zu=Eg,y1=0,_1=1,Ig=2,w1=3,b1=4,q1=5,Tg=6,X1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Am=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,lm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Lg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xh=[],wc=[],q0=[],pm=1,Dg=2,Jh=[],qu=[];W0("UpsampleRgbLinePair",zh,3),W0("UpsampleBgrLinePair",jA,3),W0("UpsampleRgbaLinePair",Il,4),W0("UpsampleBgraLinePair",Rp,4),W0("UpsampleArgbLinePair",kp,4),W0("UpsampleRgba4444LinePair",nd,2),W0("UpsampleRgb565LinePair",rd,2);var gm=Mt.UpsampleRgbLinePair,mm=Mt.UpsampleBgrLinePair,kg=Mt.UpsampleRgbaLinePair,Rg=Mt.UpsampleBgraLinePair,Ug=Mt.UpsampleArgbLinePair,Pg=Mt.UpsampleRgba4444LinePair,vm=Mt.UpsampleRgb565LinePair,B1=16,x1=1<we.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),we.ca.f.kb.F!=null&&_c()),we.Pb&&0(dt=ne.Md)?0:100Tt;++Tt)12>(Dr=Ge.pb[Tt]).lc&&(Dr.ia=dt*Cm[0>Dr.lc?0:Dr.lc]>>3),sr|=Dr.ia;sr&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ne.Id,100Ge.Ga&&(Ge.Ga=0)}(function(Ft,hr){if(Ft==null)return 0;if(hr==null)return Vo(Ft,2,"NULL VP8Io parameter in VP8Decode().");if(!Ft.cb&&!Yc(Ft,hr))return 0;if(a(Ft.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(Ft.L=0);var Br=C1[Ft.L];if(Ft.L==2?(Ft.yb=0,Ft.zb=0):(Ft.yb=hr.v-Br>>4,Ft.zb=hr.j-Br>>4,0>Ft.yb&&(Ft.yb=0),0>Ft.zb&&(Ft.zb=0)),Ft.Va=hr.o+15+Br>>4,Ft.Hb=hr.va+15+Br>>4,Ft.Hb>Ft.za&&(Ft.Hb=Ft.za),Ft.Va>Ft.Ub&&(Ft.Va=Ft.Ub),0Br;++Br){var Tr;if(Ft.Qa.Cb){var tn=Ft.Qa.Lb[Br];Ft.Qa.Fb||(tn+=Xr.Tb)}else tn=Xr.Tb;for(Tr=0;1>=Tr;++Tr){var nn=Ft.gd[Br][Tr],vn=tn;if(Xr.Pc&&(vn+=Xr.vd[0],Tr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63>2:cn>>1)>9-Xr.wb&&(cn=9-Xr.wb),1>cn&&(cn=1),nn.dd=cn,nn.tc=2*vn+cn,nn.ld=40<=vn?2:15<=vn?1:0}else nn.tc=0;nn.La=Tr}}}Br=0}else Vo(Ft,6,"Frame setup failed"),Br=Ft.a;if(Br=Br==0){if(Br){Ft.$c=0,0Ft.Vb){if(Ft.Vb=0,Ft.Ec=m(nn),Ft.Fc=0,Ft.Ec==null){Br=Vo(Ft,1,"no memory during frame initialization.");break t}Ft.Vb=nn}nn=Ft.Ec,vn=Ft.Fc,Ft.Ac=nn,Ft.Bc=vn,vn+=Xr,Ft.Gd=W(ci,r1),Ft.Hd=0,Ft.rb=W(Xn+1,bp),Ft.sb=1,Ft.wa=ls?W(ls,Vu):null,Ft.Y=0,Ft.D.Nb=0,Ft.D.wa=Ft.wa,Ft.D.Y=Ft.Y,0=Br;++Br)Eg[255+Br]=0>Br?-Br:Br;for(Br=-1020;1020>=Br;++Br)Bg[1020+Br]=-128>Br?-128:127=Br;++Br)xg[112+Br]=-16>Br?-16:15=Br;++Br)Cg[255+Br]=0>Br?0:255Ms;++Ms){var oA,Gs=Tl[0+Ms];for(oA=0;4>oA;++oA){Gs=hm[Ha[KA+oA]][Gs];for(var Aa=Lg[sn(rs,Gs[0])];0>3;for(Aa=0;256>Aa;Aa+=16)Ms[ul+Aa]=Zl}zA=1,bc=KA[0]}var wa=15&rs.la,AA=15&Fl.la;for(Aa=0;4>Aa;++Aa){var bu=1&AA;for(Zl=la=0;4>Zl;++Zl)wa=wa>>1|(bu=(Fo=zp(Ha,bc,Fo=bu+(1&wa),go.Sc,zA,Ms,ul))>zA)<<7,la=la<<2|(3>=4,AA=AA>>1|bu<<7,oA=(oA<<8|la)>>>0}for(bc=wa,zA=AA>>4,mo=0;4>mo;mo+=2){for(la=0,wa=rs.la>>4+mo,AA=Fl.la>>4+mo,Aa=0;2>Aa;++Aa){for(bu=1&AA,Zl=0;2>Zl;++Zl)Fo=bu+(1&wa),wa=wa>>1|(bu=0<(Fo=zp(Ha,KA[2],Fo,go.Qc,0,Ms,ul)))<<3,la=la<<2|(3>=2,AA=AA>>1|bu<<5}Gs|=la<<4*mo,bc|=wa<<4<=ai.zb&&ai.M<=ai.Va,ai.Aa==0)t:{if(us.M=ai.M,us.uc=rs,$u(ai,us),To=1,us=(la=ai.D).Nb,rs=(Gs=C1[ai.L])*ai.R,Ha=Gs/2*ai.B,Aa=16*us*ai.R,Zl=8*us*ai.B,KA=ai.sa,Tl=ai.ta-rs+Aa,go=ai.qa,Ms=ai.ra-Ha+Zl,ul=ai.Ha,Fl=ai.Ia-Ha+Zl,AA=(wa=la.M)==0,oA=wa>=ai.Va-1,ai.Aa==2&&$u(ai,la),la.uc)for(bu=(Fo=ai).D.M,a(Fo.D.uc),la=Fo.yb;laRn.o&&(wa=Rn.o),Rn.F=null,Rn.J=null,ai.Fa!=null&&0>1),Rn.W+=ai.B*(Gs>>1),Rn.F!=null&&(Rn.J+=Rn.width*Gs)),la>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=la-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=wa-la,To=Rn.put(Rn))}us+1!=ai.Ic||oA||(c(ai.sa,ai.ta-rs,KA,Tl+16*ai.R,rs),c(ai.qa,ai.ra-Ha,go,Ms+8*ai.B,Ha),c(ai.Ha,ai.Ia-Ha,ul,Fl+8*ai.B,Ha))}if(!To)return Vo(Rs,6,"Output aborted.")}return 1}(Ft,hr)),hr.bc!=null&&hr.bc(hr),Br&=1}return Br?(Ft.cb=0,Br):0})(b,we)||(U=b.a)}}else U=b.a}U==0&&Je.Oa!=null&&Je.Oa.fd&&(U=Pp(Je.ba))}Je=U}Xe=Je!=0?null:11>Xe?ot.f.RGBA.eb:ot.f.kb.y}else Xe=null;return Xe};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function J(Mt,Er){for(var tt="",Ct=0;Ct<4;Ct++)tt+=String.fromCharCode(Mt[Er++]);return tt}function he(Mt,Er){return Mt[Er+0]|Mt[Er+1]<<8}function Ne(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16)>>>0}function Ye(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16|Mt[Er+3]<<24)>>>0}new $;var ce=[0],wt=[0],pt=[],bt=new $,rt=n,Yt=function(Mt,Er){var tt={},Ct=0,Xt=!1,Gt=0,Ur=0;if(tt.frames=[],!function(et,Ut){for(var Ht=0;Ht<4;Ht++)if(et[Ut+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Mt,Er)){for(Ye(Mt,Er+=4),Er+=8;Er>1&1}Mr!="ANMF"&&(Er+=Lr)}return tt}}(rt,0);Yt.response=rt,Yt.rgbaoutput=!0,Yt.dataurl=!1;var jt=Yt.header?Yt.header:null,Pt=Yt.frames?Yt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ce=[jt.canvas_height],wt=[jt.canvas_width];for(var kr=0;kr=2?St[1]:jn[0],jn[2]=St.length>=3?St[2]:jn[0],jn[3]=St.length>=4?St[3]:jn[1]),J.margin=jn}});var Hr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hr},set:function(St){Hr=St}});var Gr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Gr},set:function(St){Gr=St}});var sn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return sn},set:function(St){sn=St}}),Object.defineProperty(this,"ctx",{get:function(){return J},set:function(St){St instanceof he&&(J=St)}}),Object.defineProperty(this,"path",{get:function(){return J.path},set:function(St){J.path=St}});var yn=[];Object.defineProperty(this,"ctxStack",{get:function(){return yn},set:function(St){yn=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var jn;jn=Ye(St),this.ctx.fillStyle=jn.style,this.ctx.isFillTransparent=jn.a===0,this.ctx.fillOpacity=jn.a,this.pdf.setFillColor(jn.r,jn.g,jn.b,{a:jn.a}),this.pdf.setTextColor(jn.r,jn.g,jn.b,{a:jn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var jn=Ye(St);this.ctx.strokeStyle=jn.style,this.ctx.isStrokeTransparent=jn.a===0,this.ctx.strokeOpacity=jn.a,jn.a===0?this.pdf.setDrawColor(255,255,255):(jn.a,this.pdf.setDrawColor(jn.r,jn.g,jn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Hn=null,Qn=null,wi=null;Object.defineProperty(this,"fontFaces",{get:function(){return wi},set:function(St){Hn=null,Qn=null,wi=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var jn;if(this.ctx.font=St,(jn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var ds=jn[1];jn[2];var ki=jn[3],gn=jn[4];jn[5];var Ri=jn[6],ei=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gn)[2];gn=Math.floor(ei==="px"?parseFloat(gn)*this.pdf.internal.scaleFactor:ei==="em"?parseFloat(gn)*this.pdf.getFontSize():parseFloat(gn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gn);var Ti=function(pi){var Co,Ks,ms=[],vs=pi.trim();if(vs==="")return F;if(vs in Wl)return[Wl[vs]];for(;vs!=="";){switch(Ks=null,Co=(vs=tA(vs)).charAt(0)){case'"':case"'":Ks=l(vs.substring(1),Co);break;default:Ks=e(vs)}if(Ks===null||(ms.push(Ks[0]),(vs=tA(Ks[1]))!==""&&vs.charAt(0)!==","))return F;vs=vs.replace(/^,/,"")}return ms}(Ri);if(this.fontFaces){var Bi=function(pi,Co){var Ks=pi.getFontList(),ms=JSON.stringify(Ks);if(Hn===null||Qn!==ms){var vs=function(Ga){var Ci=[];return Object.keys(Ga).forEach(function(Fa){Ga[Fa].forEach(function(Mi){var ts=null;switch(Mi){case"bold":ts={family:Fa,weight:"bold"};break;case"italic":ts={family:Fa,style:"italic"};break;case"bolditalic":ts={family:Fa,weight:"bold",style:"italic"};break;case"":case"normal":ts={family:Fa}}ts!==null&&(ts.ref={name:Fa,style:Mi},Ci.push(ts))})}),Ci}(Ks);Hn=function(Ga){for(var Ci={},Fa=0;Fa=700||ds==="bold")&&(es="bold"),ds==="italic"&&(es+="italic"),es.length===0&&(es="normal");for(var ks="",Ts={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},li=0;li=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:et,y:Ut,radius:Ht,startAngle:tr,endAngle:fr,counterclockwise:Cr})},Ne.prototype.arcTo=function(et,Ut,Ht,tr,fr){throw new Error("arcTo not implemented.")},Ne.prototype.rect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et+Ht,Ut+tr),this.lineTo(et,Ut+tr),this.lineTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et,Ut)},Ne.prototype.fillRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ce.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(et,Ut,Ht,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Ne.prototype.strokeRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");wt.call(this)||(this.beginPath(),this.rect(et,Ut,Ht,tr),this.stroke())},Ne.prototype.clearRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(et,Ut,Ht,tr))},Ne.prototype.save=function(et){et=typeof et!="boolean"||et;for(var Ut=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ne.prototype.drawImage=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr,sn){var yn=this.pdf.getImageProperties(et),Hn=1,Qn=1,wi=1,St=1;tr!==void 0&&Gr!==void 0&&(wi=Gr/tr,St=sn/fr,Hn=yn.width/tr*Gr/tr,Qn=yn.height/fr*sn/fr),Cr===void 0&&(Cr=Ut,Hr=Ht,Ut=0,Ht=0),tr!==void 0&&Gr===void 0&&(Gr=tr,sn=fr),tr===void 0&&Gr===void 0&&(Gr=yn.width,sn=yn.height);var jn=this.ctx.transform.decompose(),ds=Lr(jn.rotate.shx),ki=new $,gn=(ki=(ki=(ki=ki.multiply(jn.translate)).multiply(jn.skew)).multiply(jn.scale)).applyToRectangle(new O(Cr-Ut*wi,Hr-Ht*St,tr*Hn,fr*Qn));if(this.autoPaging){for(var Ri,ei=bt.call(this,gn),Ti=[],Bi=0;Bina||esgn||ei0)){for(;sn>=0;sn--)if(fr[sn-1].close!==!0&&fr[sn-1].begin!==!0){fr[sn-1].deltas.push(Ht),fr[sn-1].abs.push(Gr);break}}break;case"bct":Ht=[Gr.x1-Cr[Hr-1].x,Gr.y1-Cr[Hr-1].y,Gr.x2-Cr[Hr-1].x,Gr.y2-Cr[Hr-1].y,Gr.x-Cr[Hr-1].x,Gr.y-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"qct":var yn=Cr[Hr-1].x+2/3*(Gr.x1-Cr[Hr-1].x),Hn=Cr[Hr-1].y+2/3*(Gr.y1-Cr[Hr-1].y),Qn=Gr.x+2/3*(Gr.x1-Gr.x),wi=Gr.y+2/3*(Gr.y1-Gr.y),St=Gr.x,jn=Gr.y;Ht=[yn-Cr[Hr-1].x,Hn-Cr[Hr-1].y,Qn-Cr[Hr-1].x,wi-Cr[Hr-1].y,St-Cr[Hr-1].x,jn-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Gr)}}tr=Ut?null:et==="stroke"?"stroke":"fill";for(var ds=!1,ki=0;ki=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale);var as=this.autoPaging!=="text";if(as||li.y+li.h<=Bi){if(as||li.y>=ei&&li.x<=Is){var pi=as?et.text:this.pdf.splitTextToSize(et.text,et.maxWidth||Is-li.x)[0],Co=Yt([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-ks+ei+this.ctx.prevPageLastElemOffset)[0],Ks=as&&(Ri>ki||Ri=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else et.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale),this.pdf.text(et.text,sn.x+this.posX,sn.y+this.posY,{angle:et.angle,align:Ut,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),et.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Xt=function(et,Ut,Ht,tr){Ht=Ht||0,tr=tr||0,this.pdf.internal.out(s(et+Ht)+" "+c(Ut+tr)+" l")},Gt=function(et,Ut,Ht){return this.pdf.lines(et,Ut,Ht,null,null)},Ur=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){this.pdf.internal.out([a(d(Ht+et)),a(m(tr+Ut)),a(d(fr+et)),a(m(Cr+Ut)),a(d(Hr+et)),a(m(Gr+Ut)),"c"].join(" "))},Mr=function(et,Ut,Ht,tr){for(var fr=2*Math.PI,Cr=Math.PI/2;Ut>Ht;)Ut-=fr;var Hr=Math.abs(Ht-Ut);Hr1e-5;){var Hn=yn+sn*Math.min(Hr,Cr);Gr.push(Kr.call(this,et,yn,Hn)),Hr-=Math.abs(Hn-yn),yn=Hn}return Gr},Kr=function(et,Ut,Ht){var tr=(Ht-Ut)/2,fr=et*Math.cos(tr),Cr=et*Math.sin(tr),Hr=fr,Gr=-Cr,sn=Hr*Hr+Gr*Gr,yn=sn+Hr*fr+Gr*Cr,Hn=4/3*(Math.sqrt(2*sn*yn)-yn)/(Hr*Cr-Gr*fr),Qn=Hr-Hn*Gr,wi=Gr+Hn*Hr,St=Qn,jn=-wi,ds=tr+Ut,ki=Math.cos(ds),gn=Math.sin(ds);return{x1:et*Math.cos(Ut),y1:et*Math.sin(Ut),x2:Qn*ki-wi*gn,y2:Qn*gn+wi*ki,x3:St*ki-jn*gn,y3:St*gn+jn*ki,x4:et*Math.cos(Ht),y4:et*Math.sin(Ht)}},Lr=function(et){return 180*et/Math.PI},$r=function(et,Ut,Ht,tr,fr,Cr){var Hr=et+.5*(Ht-et),Gr=Ut+.5*(tr-Ut),sn=fr+.5*(Ht-fr),yn=Cr+.5*(tr-Cr),Hn=Math.min(et,fr,Hr,sn),Qn=Math.max(et,fr,Hr,sn),wi=Math.min(Ut,Cr,Gr,yn),St=Math.max(Ut,Cr,Gr,yn);return new O(Hn,wi,Qn-Hn,St-wi)},bn=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){var sn,yn,Hn,Qn,wi,St,jn,ds,ki,gn,Ri,ei,Ti,Bi,na=Ht-et,Is=tr-Ut,es=fr-Ht,ks=Cr-tr,Ts=Hr-fr,li=Gr-Cr;for(yn=0;yn<41;yn++)ki=(jn=(Hn=et+(sn=yn/40)*na)+sn*((wi=Ht+sn*es)-Hn))+sn*(wi+sn*(fr+sn*Ts-wi)-jn),gn=(ds=(Qn=Ut+sn*Is)+sn*((St=tr+sn*ks)-Qn))+sn*(St+sn*(Cr+sn*li-St)-ds),yn==0?(Ri=ki,ei=gn,Ti=ki,Bi=gn):(Ri=Math.min(Ri,ki),ei=Math.min(ei,gn),Ti=Math.max(Ti,ki),Bi=Math.max(Bi,gn));return new O(Math.round(Ri),Math.round(ei),Math.round(Ti-Ri),Math.round(Bi-ei))},ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var et,Ut,Ht=(et=this.ctx.lineDash,Ut=this.ctx.lineDashOffset,JSON.stringify({lineDash:et,lineDashOffset:Ut}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(qn.API),function(n){var a=function(W){var O,$,J,he,Ne,Ye,ce,wt,pt,bt;for(/[^\x00-\xFF]/.test(W),$=[],J=0,he=(W+=O="\0\0\0\0".slice(W.length%4||4)).length;he>J;J+=4)(Ne=(W.charCodeAt(J)<<24)+(W.charCodeAt(J+1)<<16)+(W.charCodeAt(J+2)<<8)+W.charCodeAt(J+3))!==0?(Ye=(Ne=((Ne=((Ne=((Ne=(Ne-(bt=Ne%85))/85)-(pt=Ne%85))/85)-(wt=Ne%85))/85)-(ce=Ne%85))/85)%85,$.push(Ye+33,ce+33,wt+33,pt+33,bt+33)):$.push(122);return function(rt,Yt){for(var jt=Yt;jt>0;jt--)rt.pop()}($,O.length),String.fromCharCode.apply(String,$)+"~>"},s=function(W){var O,$,J,he,Ne,Ye=String,ce="length",wt=255,pt="charCodeAt",bt="slice",rt="replace";for(W[bt](-2),W=W[bt](0,-2)[rt](/\s/g,"")[rt]("z","!!!!!"),J=[],he=0,Ne=(W+=O="uuuuu"[bt](W[ce]%5||5))[ce];Ne>he;he+=5)$=52200625*(W[pt](he)-33)+614125*(W[pt](he+1)-33)+7225*(W[pt](he+2)-33)+85*(W[pt](he+3)-33)+(W[pt](he+4)-33),J.push(wt&$>>24,wt&$>>16,wt&$>>8,wt&$);return function(Yt,jt){for(var Pt=jt;Pt>0;Pt--)Yt.pop()}(J,O[ce]),Ye.fromCharCode.apply(Ye,J)},c=function(W){return W.split("").map(function(O){return("0"+O.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(W){var O=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((W=W.replace(/\s/g,"")).indexOf(">")!==-1&&(W=W.substr(0,W.indexOf(">"))),W.length%2&&(W+="0"),O.test(W)===!1)return"";for(var $="",J=0;Jpt&&(wt=bt,bt=pt,pt=wt);else{if(O!=="l"&&O!=="landscape")throw"Invalid orientation: "+O;O="l",pt>bt&&(wt=bt,bt=pt,pt=wt)}return{width:bt,height:pt,unit:$,k:Ne,orientation:O}},n.html=function(O,$){($=$||{}).callback=$.callback||function(){},$.html2canvas=$.html2canvas||{},$.html2canvas.canvas=$.html2canvas.canvas||this.canvas,$.jsPDF=$.jsPDF||this,$.fontFaces=$.fontFaces?$.fontFaces.map(Al):null;var J=new W($);return $.worker?J:J.from(O).doCallback()}}(qn.API),qn.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ce=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ce+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,d,m){var W={title:d,options:m,children:[]};return c==null&&(c=this.root),c.children.push(W),W},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(c.children[m-1])),m0&&(this.line("/First "+this.makeRef(W.children[0])),this.line("/Last "+this.makeRef(W.children[W.children.length-1])));var O=this.count=this.count_r({count:0},W);if(O>0&&this.line("/Count "+O),W.options&&W.options.pageNumber){var $=s.internal.getPageInfo(W.options.pageNumber);this.line("/Dest ["+$.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var J=0;J>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Kr="",Lr=0,$r=Ct.transparency.length;Lr<$r;Lr++)Kr+=Ct.transparency[Lr]+" "+Ct.transparency[Lr]+" ";Mr.push({key:"Mask",value:"["+Kr+"]"})}Ct.sMask!==void 0&&Mr.push({key:"SMask",value:Ct.objectId+1+" 0 R"});var bn=Ct.filter!==void 0?["/"+Ct.filter]:void 0;if(Gt({data:Ct.data,additionalKeyValues:Mr,alreadyAppliedFilters:bn,objectId:Ct.objectId}),Xt("endobj"),"sMask"in Ct&&Ct.sMask!==void 0){var ln,et=(ln=Ct.sMaskBitsPerComponent)!==null&&ln!==void 0?ln:Ct.bitsPerComponent,Ut={width:Ct.width,height:Ct.height,colorSpace:"DeviceGray",bitsPerComponent:et,data:Ct.sMask};"filter"in Ct&&(Ut.decodeParameters="/Predictor ".concat(Ct.predictor," /Colors 1 /BitsPerComponent ").concat(et," /Columns ").concat(Ct.width),Ut.filter=Ct.filter),tt.call(this,Ut)}if(Ct.colorSpace===rt.INDEXED){var Ht=this.internal.newObject();Gt({data:Ar(new Uint8Array(Ct.palette)),objectId:Ht}),Xt("endobj")}},W=function(){var tt=this.internal.collections[a+"images"];for(var Ct in tt)m.call(this,tt[Ct])},O=function(){var tt,Ct=this.internal.collections[a+"images"],Xt=this.internal.write;for(var Gt in Ct)Xt("/I"+(tt=Ct[Gt]).index,tt.objectId,"0","R")},$=function(){this.internal.collections[a+"images"]||(this.internal.collections[a+"images"]={},this.internal.events.subscribe("putResources",W),this.internal.events.subscribe("putXobjectDict",O))},J=function(){var tt=this.internal.collections[a+"images"];return $.call(this),tt},he=function(){return Object.keys(this.internal.collections[a+"images"]).length},Ne=function(tt){return typeof n["process"+tt.toUpperCase()]=="function"},Ye=function(tt){return(0,Ie.Z)(tt)==="object"&&tt.nodeType===1},ce=function(tt,Ct){if(tt.nodeName==="IMG"&&tt.hasAttribute("src")){var Xt=""+tt.getAttribute("src");if(Xt.indexOf("data:image/")===0)return k0(unescape(Xt).split("base64,").pop());var Gt=n.loadFile(Xt,!0);if(Gt!==void 0)return Gt}if(tt.nodeName==="CANVAS"){if(tt.width===0||tt.height===0)throw new Error("Given canvas must have data. Canvas width: "+tt.width+", height: "+tt.height);var Ur;switch(Ct){case"PNG":Ur="image/png";break;case"WEBP":Ur="image/webp";break;default:Ur="image/jpeg"}return k0(tt.toDataURL(Ur,1).split("base64,").pop())}},wt=function(tt){var Ct=this.internal.collections[a+"images"];if(Ct){for(var Xt in Ct)if(tt===Ct[Xt].alias)return Ct[Xt]}},pt=function(tt,Ct,Xt){return tt||Ct||(tt=-96,Ct=-96),tt<0&&(tt=-1*Xt.width*72/tt/this.internal.scaleFactor),Ct<0&&(Ct=-1*Xt.height*72/Ct/this.internal.scaleFactor),tt===0&&(tt=Ct*Xt.width/Xt.height),Ct===0&&(Ct=tt*Xt.height/Xt.width),[tt,Ct]},bt=function(tt,Ct,Xt,Gt,Ur,Mr){var Kr=pt.call(this,Xt,Gt,Ur),Lr=this.internal.getCoordinateString,$r=this.internal.getVerticalCoordinateString,bn=J.call(this);if(Xt=Kr[0],Gt=Kr[1],bn[Ur.index]=Ur,Mr){Mr*=Math.PI/180;var ln=Math.cos(Mr),et=Math.sin(Mr),Ut=function(tr){return tr.toFixed(4)},Ht=[Ut(ln),Ut(et),Ut(-1*et),Ut(ln),0,0,"cm"]}this.internal.write("q"),Mr?(this.internal.write([1,"0","0",1,Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.internal.write(Ht.join(" ")),this.internal.write([Lr(Xt),"0","0",Lr(Gt),"0","0","cm"].join(" "))):this.internal.write([Lr(Xt),"0","0",Lr(Gt),Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ur.index+" Do"),this.internal.write("Q")},rt=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Yt=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},jt=n.__addimage__.sHashCode=function(tt){var Ct,Xt,Gt=0;if(typeof tt=="string")for(Xt=tt.length,Ct=0;Ct>",pt.content=m;var jt=pt.objId+" 0 R";m="<>";else if(c.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=1};var J=n.__arabicParser__.arabicLetterHasFinalForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=3};var he=n.__arabicParser__.arabicLetterHasMedialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length==4},Ne=n.__arabicParser__.resolveLigatures=function(pt){var bt=0,rt=s,Yt="",jt=0;for(bt=0;bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(O){s=O}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(O){c=isNaN(O)||Number.isInteger(O)===!1||O<0?150:O,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(O){d=isNaN(O)||Number.isInteger(O)===!1||O<0?300:O,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(O){m=O}});var W={};Object.defineProperty(this,"style",{get:function(){return W},set:function(O){W=O}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var d;if((s=s||"2d")!=="2d")return null;for(d in c)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=c[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(qn.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var $=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $},set:function(pt){$=pt}});var J=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return J},set:function(pt){J=pt}});var he=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return he},set:function(pt){he=pt}});var Ne=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ne},set:function(pt){Ne=pt}});var Ye=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ye},set:function(pt){Ye=pt}});var ce=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ce},set:function(pt){ce=pt}});var wt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return wt},set:function(pt){wt=pt}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function($){return c.call(this),this.internal.__cell__.headerFunction=typeof $=="function"?$:void 0,this},n.getTextDimensions=function($,J){c.call(this);var he=(J=J||{}).fontSize||this.getFontSize(),Ne=J.font||this.getFont(),Ye=J.scaleFactor||this.internal.scaleFactor,ce=0,wt=0,pt=0,bt=this;if(!Array.isArray($)&&typeof $!="string"){if(typeof $!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");$=String($)}var rt=J.maxWidth;rt>0?typeof $=="string"?$=this.splitTextToSize($,rt):Object.prototype.toString.call($)==="[object Array]"&&($=$.reduce(function(jt,Pt){return jt.concat(bt.splitTextToSize(Pt,rt))},[])):$=Array.isArray($)?$:[$];for(var Yt=0;Yt<$.length;Yt++)ce<(pt=this.getStringUnitWidth($[Yt],{font:Ne})*he)&&(ce=pt);return ce!==0&&(wt=$.length),{w:ce/=Ye,h:Math.max((wt*he*this.getLineHeightFactor()-he*(this.getLineHeightFactor()-1))/Ye,0)}},n.cellAddPage=function(){c.call(this),this.addPage();var $=this.internal.__cell__.margins||a;return this.internal.__cell__.lastCell=new m($.left,$.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var W=n.cell=function(){var $;$=arguments[0]instanceof m?arguments[0]:new m(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),c.call(this);var J=this.internal.__cell__.lastCell,he=this.internal.__cell__.padding,Ne=this.internal.__cell__.margins||a,Ye=this.internal.__cell__.tableHeaderRow,ce=this.internal.__cell__.printHeaders;return J.lineNumber!==void 0&&(J.lineNumber===$.lineNumber?($.x=(J.x||0)+(J.width||0),$.y=J.y||0):J.y+J.height+$.height+Ne.bottom>this.getPageHeight()?(this.cellAddPage(),$.y=Ne.top,ce&&Ye&&(this.printHeaderRow($.lineNumber,!0),$.y+=Ye[0].height)):$.y=J.y+J.height||$.y),$.text[0]!==void 0&&(this.rect($.x,$.y,$.width,$.height,s===!0?"FD":void 0),$.align==="right"?this.text($.text,$.x+$.width-he,$.y+he,{align:"right",baseline:"top"}):$.align==="center"?this.text($.text,$.x+$.width/2,$.y+he,{align:"center",baseline:"top",maxWidth:$.width-he-he}):this.text($.text,$.x+he,$.y+he,{align:"left",baseline:"top",maxWidth:$.width-he-he})),this.internal.__cell__.lastCell=$,this};n.table=function($,J,he,Ne,Ye){if(c.call(this),!he)throw new Error("No data for PDF table.");var ce,wt,pt,bt,rt=[],Yt=[],jt=[],Pt={},kr={},Jr=[],Qr=[],Ar=(Ye=Ye||{}).autoSize||!1,Mt=Ye.printHeaders!==!1,Er=Ye.css&&Ye.css["font-size"]!==void 0?16*Ye.css["font-size"]:Ye.fontSize||12,tt=Ye.margins||Object.assign({width:this.getPageWidth()},a),Ct=typeof Ye.padding=="number"?Ye.padding:3,Xt=Ye.headerBackgroundColor||"#c8c8c8",Gt=Ye.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Mt,this.internal.__cell__.margins=tt,this.internal.__cell__.table_font_size=Er,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=Xt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Er),Ne==null)Yt=rt=Object.keys(he[0]),jt=rt.map(function(){return"left"});else if(Array.isArray(Ne)&&(0,Ie.Z)(Ne[0])==="object")for(rt=Ne.map(function(bn){return bn.name}),Yt=Ne.map(function(bn){return bn.prompt||bn.name||""}),jt=Ne.map(function(bn){return bn.align||"left"}),ce=0;ce0&&this.setTableHeaderRow(Ye),this.setFont(void 0,"normal"),s=!1}}(qn.API);var ao={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},vu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Go=Ns(vu),eA=[100,200,300,400,500,600,700,800,900],pc=Ns(eA);function Al(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return ao[m=m||"normal"]?m:"normal"}(n.style),c=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Go[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,c].join(" ")}}}function Sl(n,a,s,c){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function ke(n,a,s){var c=n.length,d=[];d[0]=4;for(var m=0;m>m&W}function zt(n,a,s,c){var d=s*c,m=Math.floor(d/8),W=16-(d-8*m+c),O=(1<>8&255;J.setUint8(he,Ye)}})(n,m,ir(n,m)&~(O<>7,W=1<<1+(7&d);n[a++],n[a++];var O=null,$=null;m&&(O=a,$=W,a+=3*W);var J=!0,he=[],Ne=0,Ye=null,ce=0,wt=null;for(this.width=s,this.height=c;J&&a=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var pt=n[a++];Ne=n[a++]|n[a++]<<8,Ye=n[a++],1&pt||(Ye=null),ce=pt>>2&7,a++;break;case 254:for(;;){if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var bt=n[a++]|n[a++]<<8,rt=n[a++]|n[a++]<<8,Yt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Pt=n[a++],kr=Pt>>6&1,Jr=1<<1+(7&Pt),Qr=O,Ar=$,Mt=!1;Pt>>7&&(Mt=!0,Qr=a,Ar=Jr,a+=3*Jr);var Er=a;for(a++;;){var tt;if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}he.push({x:bt,y:rt,width:Yt,height:jt,has_local_palette:Mt,palette_offset:Qr,palette_size:Ar,data_offset:Er,data_length:a-Er,transparent_index:Ye,interlaced:!!kr,delay:Ne,disposal:ce});break;case 59:J=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return he.length},this.loopCount=function(){return wt},this.frameInfo=function(Ct){if(Ct<0||Ct>=he.length)throw new Error("Frame index out of range.");return he[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=Hn,Xt[Ht++]=yn,Xt[Ht++]=sn,Xt[Ht++]=255}--ln}},this.decodeAndBlitFrameRGBA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=sn,Xt[Ht++]=yn,Xt[Ht++]=Hn,Xt[Ht++]=255}--ln}}}function or(n,a,s,c){for(var d=n[a++],m=1<>=$,he-=$,bt!==m){if(bt===W)break;for(var rt=btm;)jt=wt[jt]>>8,++Yt;var Pt=jt;if(Ye+Yt+(rt!==bt?1:0)>c)return void Os.log("Warning, gif stream longer than expected.");s[Ye++]=Pt;var kr=Ye+=Yt;for(rt!==bt&&(s[Ye++]=Pt),jt=rt;Yt--;)jt=wt[jt],s[--kr]=255&jt,jt>>=8;pt!==null&&O<4096&&(wt[O++]=pt<<8|Pt,O>=J+1&&$<12&&(++$,J=J<<1|1)),pt=bt}else O=W+1,J=(1<<($=d+1))-1,pt=null}return Ye!==c&&Os.log("Warning, gif stream shorter than expected."),s}function Sr(n){var a,s,c,d,m,W=Math.floor,O=new Array(64),$=new Array(64),J=new Array(64),he=new Array(64),Ne=new Array(65535),Ye=new Array(65535),ce=new Array(64),wt=new Array(64),pt=[],bt=0,rt=7,Yt=new Array(64),jt=new Array(64),Pt=new Array(64),kr=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Er=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ur=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mr(et,Ut){for(var Ht=0,tr=0,fr=new Array,Cr=1;Cr<=16;Cr++){for(var Hr=1;Hr<=et[Cr];Hr++)fr[Ut[tr]]=[],fr[Ut[tr]][0]=Ht,fr[Ut[tr]][1]=Cr,tr++,Ht++;Ht*=2}return fr}function Kr(et){for(var Ut=et[0],Ht=et[1]-1;Ht>=0;)Ut&1<>8&255),Lr(255&et)}function bn(et,Ut,Ht,tr,fr){for(var Cr,Hr=fr[0],Gr=fr[240],sn=function(gn,Ri){var ei,Ti,Bi,na,Is,es,ks,Ts,li,as,pi=0;for(li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+1],Bi=gn[pi+2],na=gn[pi+3],Is=gn[pi+4],es=gn[pi+5],ks=gn[pi+6];var Co=ei+(Ts=gn[pi+7]),Ks=ei-Ts,ms=Ti+ks,vs=Ti-ks,Ga=Bi+es,Ci=Bi-es,Fa=na+Is,Mi=na-Is,ts=Co+Fa,Va=Co-Fa,ws=ms+Ga,Ui=ms-Ga;gn[pi]=ts+ws,gn[pi+4]=ts-ws;var ia=.707106781*(Ui+Va);gn[pi+2]=Va+ia,gn[pi+6]=Va-ia;var Gf=.382683433*((ts=Mi+Ci)-(Ui=vs+Ks)),ll=.5411961*ts+Gf,P0=1.306562965*Ui+Gf,Gc=.707106781*(ws=Ci+vs),Pi=Ks+Gc,O0=Ks-Gc;gn[pi+5]=O0+ll,gn[pi+3]=O0-ll,gn[pi+1]=Pi+P0,gn[pi+7]=Pi-P0,pi+=8}for(pi=0,li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+8],Bi=gn[pi+16],na=gn[pi+24],Is=gn[pi+32],es=gn[pi+40],ks=gn[pi+48];var N0=ei+(Ts=gn[pi+56]),Ku=ei-Ts,zu=Ti+ks,po=Ti-ks,EA=Bi+es,QA=Bi-es,Vf=na+Is,jh=na-Is,gc=N0+Vf,Vc=N0-Vf,mc=zu+EA,vc=zu-EA;gn[pi]=gc+mc,gn[pi+32]=gc-mc;var Gu=.707106781*(vc+Vc);gn[pi+16]=Vc+Gu,gn[pi+48]=Vc-Gu;var Wf=.382683433*((gc=jh+QA)-(vc=po+Ku)),Wc=.5411961*gc+Wf,$f=1.306562965*vc+Wf,Qd=.707106781*(mc=QA+po),Hd=Ku+Qd,jd=Ku-Qd;gn[pi+40]=jd+Wc,gn[pi+24]=jd-Wc,gn[pi+8]=Hd+$f,gn[pi+56]=Hd-$f,pi++}for(li=0;li<64;++li)as=gn[li]*Ri[li],ce[li]=as>0?as+.5|0:as-.5|0;return ce}(et,Ut),yn=0;yn<64;++yn)wt[Qr[yn]]=sn[yn];var Hn=wt[0]-Ht;Ht=wt[0],Hn==0?Kr(tr[0]):(Kr(tr[Ye[Cr=32767+Hn]]),Kr(Ne[Cr]));for(var Qn=63;Qn>0&&wt[Qn]==0;)Qn--;if(Qn==0)return Kr(Hr),Ht;for(var wi,St=1;St<=Qn;){for(var jn=St;wt[St]==0&&St<=Qn;)++St;var ds=St-jn;if(ds>=16){wi=ds>>4;for(var ki=1;ki<=wi;++ki)Kr(Gr);ds&=15}Cr=32767+wt[St],Kr(fr[(ds<<4)+Ye[Cr]]),Kr(Ne[Cr]),St++}return Qn!=63&&Kr(Hr),Ht}function ln(et){et=Math.min(Math.max(et,1),100),m!=et&&(function(Ut){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=W((Ht[tr]*Ut+50)/100);fr=Math.min(Math.max(fr,1),255),O[Qr[tr]]=fr}for(var Cr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hr=0;Hr<64;Hr++){var Gr=W((Cr[Hr]*Ut+50)/100);Gr=Math.min(Math.max(Gr,1),255),$[Qr[Hr]]=Gr}for(var sn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yn=0,Hn=0;Hn<8;Hn++)for(var Qn=0;Qn<8;Qn++)J[yn]=1/(O[Qr[yn]]*sn[Hn]*sn[Qn]*8),he[yn]=1/($[Qr[yn]]*sn[Hn]*sn[Qn]*8),yn++}(et<50?Math.floor(5e3/et):Math.floor(200-2*et)),m=et)}this.encode=function(et,Ut){Ut&&ln(Ut),pt=new Array,bt=0,rt=7,$r(65496),$r(65504),$r(16),Lr(74),Lr(70),Lr(73),Lr(70),Lr(0),Lr(1),Lr(1),Lr(0),$r(1),$r(1),Lr(0),Lr(0),function(){$r(65499),$r(132),Lr(0);for(var Ti=0;Ti<64;Ti++)Lr(O[Ti]);Lr(1);for(var Bi=0;Bi<64;Bi++)Lr($[Bi])}(),function(Ti,Bi){$r(65472),$r(17),Lr(8),$r(Bi),$r(Ti),Lr(3),Lr(1),Lr(17),Lr(0),Lr(2),Lr(17),Lr(1),Lr(3),Lr(17),Lr(1)}(et.width,et.height),function(){$r(65476),$r(418),Lr(0);for(var Ti=0;Ti<16;Ti++)Lr(Ar[Ti+1]);for(var Bi=0;Bi<=11;Bi++)Lr(Mt[Bi]);Lr(16);for(var na=0;na<16;na++)Lr(Er[na+1]);for(var Is=0;Is<=161;Is++)Lr(tt[Is]);Lr(1);for(var es=0;es<16;es++)Lr(Ct[es+1]);for(var ks=0;ks<=11;ks++)Lr(Xt[ks]);Lr(17);for(var Ts=0;Ts<16;Ts++)Lr(Gt[Ts+1]);for(var li=0;li<=161;li++)Lr(Ur[li])}(),$r(65498),$r(12),Lr(3),Lr(1),Lr(0),Lr(2),Lr(17),Lr(3),Lr(17),Lr(0),Lr(63),Lr(0);var Ht=0,tr=0,fr=0;bt=0,rt=7,this.encode.displayName="_encode_";for(var Cr,Hr,Gr,sn,yn,Hn,Qn,wi,St,jn=et.data,ds=et.width,ki=et.height,gn=4*ds,Ri=0;Ri>3)*gn+(Qn=4*(7&St)),Ri+wi>=ki&&(Hn-=gn*(Ri+1+wi-ki)),Cr+Qn>=gn&&(Hn-=Cr+Qn-gn+4),Hr=jn[Hn++],Gr=jn[Hn++],sn=jn[Hn++],Yt[St]=(Jr[Hr]+Jr[Gr+256|0]+Jr[sn+512|0]>>16)-128,jt[St]=(Jr[Hr+768|0]+Jr[Gr+1024|0]+Jr[sn+1280|0]>>16)-128,Pt[St]=(Jr[Hr+1280|0]+Jr[Gr+1536|0]+Jr[sn+1792|0]>>16)-128;Ht=bn(Yt,J,Ht,a,c),tr=bn(jt,he,tr,s,d),fr=bn(Pt,he,fr,s,d),Cr+=32}Ri+=8}if(rt>=0){var ei=[];ei[1]=rt+1,ei[0]=(1<Ct;Ct++)if(Mt[Er+Ct]!=tt.charCodeAt(Ct))return!0;return!1}function c(Mt,Er,tt,Ct,Xt){for(var Gt=0;GtGt+1?[]:new Er),!(Ur.length>>0;b≠)ne>>>=1;return ne?(b&ne-1)+ne:b}function tt(b,U,ne,we,Ge){a(!(we%ne));do b[U+(we-=ne)]=Ge;while(0=Ge),512>=Ge)var Xe=m(512);else if((Xe=m(Ge))==null)return 0;return function(Je,ot,dt,Tt,sr,Dr){var Ft,hr,Br=ot,Xr=1<Ft;++Ft){if(Tr[Ft]>1<(ls-=Tr[Ft]))return 0;for(;0=Ft;++Ft,sr<<=1){if(Xn+=ls<<=1,0>(ls-=Tr[Ft]))return 0;for(;0vn&&!(0>=(nn-=Tr[vn]));)++vn,nn<<=1;Xr+=si=1<<(nn=vn-dt),Je[ot+(vn=ci&cn)].g=nn+dt,Je[ot+vn].value=Br-ot-vn}Tt.g=Ft-dt,Tt.value=Dr[hr++],tt(Je,Br+(ci>>dt),sr,si,Tt),ci=Er(ci,Ft)}}return Xn!=2*tn[15]-1?0:Xr}(b,U,ne,we,Ge,Xe)}function Xt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Ur(){this.G=W(5,Xt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=W(sd,Gt)}function Mr(b,U,ne,we){a(b!=null),a(U!=null),a(2147483648>we),b.Ca=254,b.I=0,b.b=-8,b.Ka=0,b.oa=U,b.pa=ne,b.Jd=U,b.Yc=ne+we,b.Zc=4<=we?ne+we-4+1:ne,Hr(b)}function Kr(b,U){for(var ne=0;0we),b.Sb=we,b.Ra=0,b.u=0,b.h=0,4>>=8,b.Ra+=b.oa[b.pa+b.bb]<>>0,++b.bb,b.u-=8;tr(b)&&(b.h=1,b.u=0)}function ln(b,U){if(a(0<=U),!b.h&&U<=_u){var ne=Ht(b)&yu[U];return b.u+=U,bn(b),ne}return b.h=1,b.u=0}function et(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ut(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(b){return b.Ra>>>(b.u&Vh-1)>>>0}function tr(b){return a(b.bb<=b.Sb),b.h||b.bb==b.Sb&&b.u>Vh}function fr(b,U){b.u=U,b.h=tr(b)}function Cr(b){b.u>=Y0&&(a(b.u>=Y0),bn(b))}function Hr(b){a(b!=null&&b.oa!=null),b.pa>>0,b.b+=8):(a(b!=null&&b.oa!=null),b.pab.b&&Hr(b);var we=b.b,Ge=ne*U>>>8,Xe=(b.I>>>we>Ge)+0;for(Xe?(ne-=Ge,b.I-=Ge+1<>>0):ne=Ge+1,we=ne,Ge=0;256<=we;)Ge+=8,we>>=8;return we=7^Ge+Wh[we],b.b-=we,b.Ca=(ne<>24&255,b[U+1]=ne>>16&255,b[U+2]=ne>>8&255,b[U+3]=255&ne}function Hn(b,U){return b[U+0]|b[U+1]<<8}function Qn(b,U){return Hn(b,U)|b[U+2]<<16}function wi(b,U){return Hn(b,U)|Hn(b,U+2)<<16}function St(b,U){var ne=1<=Ge||0>=Xe?0:(ne[0]=Ge,we[0]=Xe,1)}function gn(b,U){return b+(1<>>U}function Ri(b,U){return((4278255360&b)+(4278255360&U)>>>0&4278255360)+((16711935&b)+(16711935&U)>>>0&16711935)>>>0}function ei(b,U){Mt[U]=function(ne,we,Ge,Xe,Je,ot,dt){var Tt;for(Tt=0;Tt>>1)+(b&U)>>>0}function na(b){return 0<=b&&256>b?b:0>b?0:255>1))}function es(b,U,ne){return Math.abs(U-ne)-Math.abs(b-ne)}function ks(b,U,ne,we,Ge,Xe,Je){for(we=Xe[Je-1],ne=0;ne>8&255,dt=16711935&(dt=(dt=16711935&Je)+((ot<<16)+ot));we[Ge+Xe]=(4278255360&Je)+dt>>>0}}function li(b,U){U.jd=255&b,U.hd=b>>8&255,U.ud=b>>16&255}function as(b,U,ne,we,Ge,Xe){var Je;for(Je=0;Je>>8,Tt=ot,sr=255&(sr=(sr=ot>>>16)+((b.jd<<24>>24)*(dt<<24>>24)>>>5));Tt=255&(Tt=(Tt+=(b.hd<<24>>24)*(dt<<24>>24)>>>5)+((b.ud<<24>>24)*(sr<<24>>24)>>>5)),Ge[Xe+Je]=(4278255360&ot)+(sr<<16)+Tt}}function pi(b,U,ne,we,Ge){Mt[U]=function(Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr){for(dt=Dr;dt>Xe.b,hr=Xe.Ea,Br=Xe.K[0],Xr=Xe.w;if(8>Ft)for(Xe=(1<>=Ft}else Mt["VP8LMapColor"+ne](dt,Tt,Br,Xr,sr,Dr,Je,ot,hr)}}function Co(b,U,ne,we,Ge){for(ne=U+ne;U>16&255,we[Ge++]=Xe>>8&255,we[Ge++]=255&Xe}}function Ks(b,U,ne,we,Ge){for(ne=U+ne;U>16&255,we[Ge++]=Xe>>8&255,we[Ge++]=255&Xe,we[Ge++]=Xe>>24&255}}function ms(b,U,ne,we,Ge){for(ne=U+ne;U>16&240|Je>>12&15,Je=240&Je|Je>>28&15;we[Ge++]=Xe,we[Ge++]=Je}}function vs(b,U,ne,we,Ge){for(ne=U+ne;U>16&248|Je>>13&7,Je=Je>>5&224|Je>>3&31;we[Ge++]=Xe,we[Ge++]=Je}}function Ga(b,U,ne,we,Ge){for(ne=U+ne;U>8&255,we[Ge++]=Xe>>16&255}}function Ci(b,U,ne,we,Ge,Xe){if(Xe==0)for(ne=U+ne;U>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Ge+=32;else c(we,Ge,b,U,ne)}function Fa(b,U){Mt[U][0]=Mt[b+"0"],Mt[U][1]=Mt[b+"1"],Mt[U][2]=Mt[b+"2"],Mt[U][3]=Mt[b+"3"],Mt[U][4]=Mt[b+"4"],Mt[U][5]=Mt[b+"5"],Mt[U][6]=Mt[b+"6"],Mt[U][7]=Mt[b+"7"],Mt[U][8]=Mt[b+"8"],Mt[U][9]=Mt[b+"9"],Mt[U][10]=Mt[b+"10"],Mt[U][11]=Mt[b+"11"],Mt[U][12]=Mt[b+"12"],Mt[U][13]=Mt[b+"13"],Mt[U][14]=Mt[b+"0"],Mt[U][15]=Mt[b+"0"]}function Mi(b){return b==X1||b==J1||b==E1||b==eg}function ts(){this.eb=[],this.size=this.A=this.fb=0}function Va(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ws(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ts,this.f.kb=new Va,this.sd=null}function Ui(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(b){return alert("todo:WebPSamplerProcessPlane"),b.T}function ll(b,U){var ne=b.T,we=U.ba.f.RGBA,Ge=we.eb,Xe=we.fb+b.ka*we.A,Je=qu[U.ba.S],ot=b.y,dt=b.O,Tt=b.f,sr=b.N,Dr=b.ea,Ft=b.W,hr=U.cc,Br=U.dc,Xr=U.Mc,Tr=U.Nc,tn=b.ka,nn=b.ka+b.T,vn=b.U,cn=vn+1>>1;for(tn==0?Je(ot,dt,null,null,Tt,sr,Dr,Ft,Tt,sr,Dr,Ft,Ge,Xe,null,null,vn):(Je(U.ec,U.fc,ot,dt,hr,Br,Xr,Tr,Tt,sr,Dr,Ft,Ge,Xe-we.A,Ge,Xe,vn),++ne);tn+2ne,Ge=ne==_1||ne==w1||ne==b1||ne==q1||ne==12||Mi(ne);if(U.memory=null,U.Ib=null,U.Jb=null,U.Nd=null,!Up(U.Oa,b,Ge?11:12))return 0;if(Ge&&Mi(ne)&&Dp(),b.da)alert("todo:use_scaling");else{if(we){if(U.Ib=Gf,b.Kb){if(ne=b.U+1>>1,U.memory=m(b.U+2*ne),U.memory==null)return 0;U.ec=U.memory,U.fc=0,U.cc=U.ec,U.dc=U.fc+b.U,U.Mc=U.cc,U.Nc=U.dc+ne,U.Ib=ll,Dp()}}else alert("todo:EmitYUV");Ge&&(U.Jb=P0,we&&_c())}if(we&&!Ng){for(b=0;256>b;++b)_m[b]=89858*(b-128)+x1>>B1,Em[b]=-22014*(b-128)+x1,bm[b]=-45773*(b-128),wm[b]=113618*(b-128)+x1>>B1;for(b=Gp;b>B1,Bm[b-Gp]=$c(U,255),xm[b-Gp]=$c(U+8>>4,15);Ng=1}return 1}function Pi(b){var U=b.ma,ne=b.U,we=b.T;return a(!(1&b.ka)),0>=ne||0>=we?0:(ne=U.Ib(b,U),U.Jb!=null&&U.Jb(b,U,ne),U.Dc+=ne,1)}function O0(b){b.ma.memory=null}function N0(b,U,ne,we){return ln(b,8)!=47?0:(U[0]=ln(b,14)+1,ne[0]=ln(b,14)+1,we[0]=ln(b,1),ln(b,3)!=0?0:!b.h)}function Ku(b,U){if(4>b)return b+1;var ne=b-2>>1;return(2+(1&b)<>4)*b+(8-(15&ne)))?ne:1;var ne}function po(b,U,ne){var we=Ht(ne),Ge=b[U+=255&we].g-8;return 0>>0,a(8>=ne.g),b.g}function QA(b,U,ne){var we=b.xc;return a((U=we==0?0:b.vc[b.md*(ne>>we)+(U>>we)])>si.b)*Xn;Xrvn&&(ai=vn),(0,Mp[Rs[aA++]>>8&15])(Ft,hr+ +us,tn,nn+us-vn,ai-us,tn,nn+us),us=ai}hr+=vn,nn+=vn,++Xr&ci||(si+=Xn)}Dr!=Tt.nc&&c(dt,ot-Br,dt,ot+(Dr-sr-1)*Br,Br);break;case 1:for(Br=Ft,Tr=hr,vn=(Ft=Tt.Ea)-(nn=Ft&~(tn=(hr=1<>Tt.b)*Xr;sr=Ge),0Xe.o&&(we=Xe.o),ne=we?ne=0:(Ge[0]+=4*Xe.v,Xe.ka=ne-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=we-ne,ne=1),ne){if(ot=ot[0],11>(ne=b.ca).S){var sr=ne.f.RGBA,Dr=(we=ne.S,Ge=Xe.U,Xe=Xe.T,Tt=sr.eb,sr.A),Ft=Xe;for(sr=sr.fb+b.Ma*sr.A;0we){var Ge=b.l.width,Xe=ne.ca,Je=ne.tb+Ge*we,ot=b.V,dt=b.Ba+b.c*we,Tt=b.gc;a(b.ab==1),a(Tt[0].hc==3),Xc(Tt[0],we,U,ot,dt,Xe,Je),Vc(ne,we,U,Xe,Je,Ge)}b.C=b.Ma=U}function vc(b,U,ne,we,Ge,Xe,Je){var ot=b.$/we,dt=b.$%we,Tt=b.m,sr=b.s,Dr=ne+b.$,Ft=Dr;Ge=ne+we*Ge;var hr=ne+we*Xe,Br=280+sr.ua,Xr=b.Pb?ot:16777216,Tr=0=Xr){var ci=Dr-ne;a((Xr=b).Pb),Xr.wd=Xr.m,Xr.xd=ci,0ls.g?(fr(cn,cn.u+ls.g),ci[Xn]=ls.value,cn=0):(fr(cn,cn.u+ls.g-256),a(256<=ls.value),cn=ls.value),cn==0&&(vn=!0)}else cn=po(nn.G[0],nn.H[0],Tt);if(Tt.h)break;if(vn||256>cn){if(!vn)if(nn.nd)U[Dr]=(nn.qb|cn<<8)>>>0;else{if(Cr(Tt),vn=po(nn.G[1],nn.H[1],Tt),Cr(Tt),ci=po(nn.G[2],nn.H[2],Tt),Xn=po(nn.G[3],nn.H[3],Tt),Tt.h)break;U[Dr]=(Xn<<24|vn<<16|cn<<8|ci)>>>0}if(vn=!1,++Dr,++dt>=we&&(dt=0,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(b,ot),Tr!=null))for(;Ft>>Tr.Mb]=cn}else if(280>cn){if(cn=Ku(cn-256,Tt),ci=po(nn.G[4],nn.H[4],Tt),Cr(Tt),ci=zu(we,ci=Ku(ci,Tt)),Tt.h)break;if(Dr-ne=we;)dt-=we,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(b,ot);if(a(Dr<=Ge),dt&tn&&(nn=QA(sr,dt,ot)),Tr!=null)for(;Ft>>Tr.Mb]=cn}else{if(!(cn>>Tr.Mb]=cn;cn=Dr,a(!(vn>>>(ci=Tr).Xa)),U[cn]=ci.X[vn],vn=!0}vn||a(Tt.h==tr(Tt))}if(b.Pb&&Tt.h&&DrXe?Xe:ot),b.a=0,b.$=Dr-ne}return 1}return b.a=3,0}function Gu(b){a(b!=null),b.vc=null,b.yc=null,b.Ya=null;var U=b.Wa;U!=null&&(U.X=null),b.vb=null,a(b!=null)}function Wf(){var b=new Vi;return b==null?null:(b.a=0,b.xb=Dg,Fa("Predictor","VP8LPredictors"),Fa("Predictor","VP8LPredictors_C"),Fa("PredictorAdd","VP8LPredictorsAdd"),Fa("PredictorAdd","VP8LPredictorsAdd_C"),So=Ts,Qp=as,Hp=Co,$h=Ks,Yh=ms,Zh=vs,ad=Ga,Mt.VP8LMapColor32b=qc,Mt.VP8LMapColor8b=Np,b)}function Wc(b,U,ne,we,Ge){var Xe=1,Je=[b],ot=[U],dt=we.m,Tt=we.s,sr=null,Dr=0;e:for(;;){if(ne)for(;Xe&&ln(dt,1);){var Ft=Je,hr=ot,Br=we,Xr=1,Tr=Br.m,tn=Br.gc[Br.ab],nn=ln(Tr,2);if(Br.Oc&1<=Br.ab),nn){case 0:case 1:tn.b=ln(Tr,3)+2,Xr=Wc(gn(tn.Ea,tn.b),gn(tn.nc,tn.b),0,Br,tn.K),tn.K=tn.K[0];break;case 3:var vn,cn=ln(Tr,8)+1,ci=16>si.b),aA=m(Rs);if(aA==null)vn=0;else{var us=si.K[0],ai=si.w;for(aA[0]=si.K[0][0],Xn=1;Xn<1*ls;++Xn)aA[Xn]=Ri(us[ai+Xn],aA[Xn-1]);for(;Xn<4*Rs;++Xn)aA[Xn]=0;si.K[0]=null,si.K[0]=aA,vn=1}}Xr=vn;break;case 2:break;default:a(0)}Xe=Xr}}if(Je=Je[0],ot=ot[0],Xe&&ln(dt,1)&&!(Xe=1<=(Dr=ln(dt,4))&&11>=Dr)){we.a=3;break e}var Rn;if(Rn=Xe)t:{var To,rs,Ms,Ha=we,KA=Je,Tl=ot,go=Dr,ul=ne,Fl=Ha.m,oA=Ha.s,Gs=[null],Aa=1,mo=0,la=om[go];r:for(;;){if(ul&&ln(Fl,1)){var zA=ln(Fl,3)+2,bc=gn(KA,zA),Fo=gn(Tl,zA),Zl=bc*Fo;if(!Wc(bc,Fo,0,Ha,Gs))break r;for(Gs=Gs[0],oA.xc=zA,To=0;To>8&65535;Gs[To]=wa,wa>=Aa&&(Aa=wa+1)}}if(Fl.h)break r;for(rs=0;5>rs;++rs){var AA=Fg[rs];!rs&&0=Ll),Bu=Eu;var ql=m(mo);if(Bu==null||ql==null||bu==null){Ha.a=1;break r}var xu=bu;for(To=Ms=0;Tors;++rs){AA=Fg[rs],Cu[rs]=xu,Ec[rs]=Ms,!rs&&0L1)break n}else ag=L1;for(Wp=0;WpXd)Gg[Wp++]=Xd,Xd!=0&&(Vg=Xd);else{var Um=Xd==16,Yg=Xd-16,Pm=nm[Yg],Zg=ln(tf,rm[Yg])+Pm;if(Wp+Zg>L1)break n;for(var Om=Um?Vg:0;0=rs){var $p,Ag=ql[0];for($p=1;$pAg&&(Ag=ql[$p]);GA+=Ag}}if(Da.nd=X0,Da.Qb=0,X0&&(Da.qb=(Cu[3][Ec[3]+0].value<<24|Cu[1][Ec[1]+0].value<<16|Cu[2][Ec[2]+0].value)>>>0,Ad==0&&256>Cu[0][Ec[0]+0].value&&(Da.Qb=1,Da.qb+=Cu[0][Ec[0]+0].value<<8)),Da.jc=!Da.Qb&&6>GA,Da.jc){var D1,J0=Da;for(D1=0;D1>=EA(k1,8,nf),rf>>=EA(J0.G[1][J0.H[1]+rf],16,nf),rf>>=EA(J0.G[2][J0.H[2]+rf],0,nf),EA(J0.G[3][J0.H[3]+rf],24,nf))}}}oA.vc=Gs,oA.Wb=Aa,oA.Ya=Bu,oA.yc=bu,Rn=1;break t}Rn=0}if(!(Xe=Rn)){we.a=3;break e}if(0we+1?[]:0),!(Ge.lengthb?0:b>U?U:b}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var b=new n1;return b!=null&&(b.a=0,b.sc="OK",b.cb=0,b.Xb=0,zp||(zp=zd)),b}function Vo(b,U,ne){return b.a==0&&(b.a=U,b.sc=ne,b.cb=0),0}function i1(b,U,ne){return 3<=ne&&b[U+0]==157&&b[U+1]==1&&b[U+2]==42}function Yc(b,U){if(b==null)return 0;if(b.a=0,b.sc="OK",U==null)return Vo(b,2,"null VP8Io passed to VP8GetHeaders()");var ne=U.data,we=U.w,Ge=U.ha;if(4>Ge)return Vo(b,7,"Truncated header.");var Xe=ne[we+0]|ne[we+1]<<8|ne[we+2]<<16,Je=b.Od;if(Je.Rb=!(1&Xe),Je.td=Xe>>1&7,Je.yd=Xe>>4&1,Je.ub=Xe>>5,3Ge)return Vo(b,7,"cannot parse picture header");if(!i1(ne,we,Ge))return Vo(b,3,"Bad code word");ot.c=16383&(ne[we+4]<<8|ne[we+3]),ot.Td=ne[we+4]>>6,ot.i=16383&(ne[we+6]<<8|ne[we+5]),ot.Ud=ne[we+6]>>6,we+=7,Ge-=7,b.za=ot.c+15>>4,b.Ub=ot.i+15>>4,U.width=ot.c,U.height=ot.i,U.Da=0,U.j=0,U.v=0,U.va=U.width,U.o=U.height,U.da=0,U.ib=U.width,U.hb=U.height,U.U=U.width,U.T=U.height,d((Xe=b.Pa).jb,0,255,Xe.jb.length),a((Xe=b.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,d(Xe.Zb,0,0,Xe.Zb.length),d(Xe.Lb,0,0,Xe.Lb)}if(Je.ub>Ge)return Vo(b,7,"bad partition length");Mr(Xe=b.m,ne,we,Je.ub),we+=Je.ub,Ge-=Je.ub,Je.Rb&&(ot.Ld=Gr(Xe),ot.Kd=Gr(Xe)),ot=b.Qa;var dt,Tt=b.Pa;if(a(Xe!=null),a(ot!=null),ot.Cb=Gr(Xe),ot.Cb){if(ot.Bb=Gr(Xe),Gr(Xe)){for(ot.Fb=Gr(Xe),dt=0;4>dt;++dt)ot.Zb[dt]=Gr(Xe)?Lr(Xe,7):0;for(dt=0;4>dt;++dt)ot.Lb[dt]=Gr(Xe)?Lr(Xe,6):0}if(ot.Bb)for(dt=0;3>dt;++dt)Tt.jb[dt]=Gr(Xe)?Kr(Xe,8):255}else ot.Bb=0;if(Xe.Ka)return Vo(b,3,"cannot parse segment header");if((ot=b.ed).zd=Gr(Xe),ot.Tb=Kr(Xe,6),ot.wb=Kr(Xe,3),ot.Pc=Gr(Xe),ot.Pc&&Gr(Xe)){for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.vd[Tt]=Lr(Xe,6));for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.od[Tt]=Lr(Xe,6))}if(b.L=ot.Tb==0?0:ot.zd?1:2,Xe.Ka)return Vo(b,3,"cannot parse filter header");var sr=Ge;if(Ge=dt=we,we=dt+sr,ot=sr,b.Xb=(1<ot&&(Dr=ot),Mr(b.Jc[+sr],ne,dt,Dr),dt+=Dr,ot-=Dr,Ge+=3}Mr(b.Jc[+Tt],ne,dt,ot),ne=dtDr;++Dr){if(sr.Cb){var Ft=sr.Zb[Dr];sr.Fb||(Ft+=ne)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[$c(Ft+Tt,117)],hr.Qc[1]=rg[$c(Ft+dt,127)],hr.lc=Ft+dt}if(!Je.Rb)return Vo(b,4,"Not a key frame.");for(Gr(Xe),Je=b.Pa,ne=0;4>ne;++ne){for(Ge=0;8>Ge;++Ge)for(we=0;3>we;++we)for(ot=0;11>ot;++ot)Tt=sn(Xe,fm[ne][Ge][we][ot])?Kr(Xe,8):cm[ne][Ge][we][ot],Je.Wc[ne][Ge].Yb[we][ot]=Tt;for(Ge=0;17>Ge;++Ge)Je.Xc[ne][Ge]=Je.Wc[ne][dm[Ge]]}return b.kc=Gr(Xe),b.kc&&(b.Bd=Kr(Xe,8)),b.cb=1}function zd(b,U,ne,we,Ge,Xe,Je){var ot=U[Ge].Yb[ne];for(ne=0;16>Ge;++Ge){if(!sn(b,ot[ne+0]))return Ge;for(;!sn(b,ot[ne+1]);)if(ot=U[++Ge].Yb[0],ne=0,Ge==16)return 16;var dt=U[Ge+1].Yb;if(sn(b,ot[ne+2])){var Tt=b,sr=0;if(sn(Tt,(Ft=ot)[(Dr=ne)+3]))if(sn(Tt,Ft[Dr+6])){for(ot=0,Dr=2*(sr=sn(Tt,Ft[Dr+8]))+(Ft=sn(Tt,Ft[Dr+9+sr])),sr=0,Ft=lm[Dr];Ft[ot];++ot)sr+=sr+sn(Tt,Ft[ot]);sr+=3+(8<(Tt=b).b&&Hr(Tt);var Dr,Ft=Tt.b,hr=(Dr=Tt.Ca>>1)-(Tt.I>>Ft)>>31;--Tt.b,Tt.Ca+=hr,Tt.Ca|=1,Tt.I-=(Dr+1&hr)<>3),b[U+ne+32*we]=-256&Ge?0>Ge?0:255:Ge}function nA(b,U,ne,we,Ge,Xe){Wu(b,U,0,ne,we+Ge),Wu(b,U,1,ne,we+Xe),Wu(b,U,2,ne,we-Xe),Wu(b,U,3,ne,we-Ge)}function M0(b){return(20091*b>>16)+b}function a1(b,U,ne,we){var Ge,Xe=0,Je=m(16);for(Ge=0;4>Ge;++Ge){var ot=b[U+0]+b[U+8],dt=b[U+0]-b[U+8],Tt=(35468*b[U+4]>>16)-M0(b[U+12]),sr=M0(b[U+4])+(35468*b[U+12]>>16);Je[Xe+0]=ot+sr,Je[Xe+1]=dt+Tt,Je[Xe+2]=dt-Tt,Je[Xe+3]=ot-sr,Xe+=4,U++}for(Ge=Xe=0;4>Ge;++Ge)ot=(b=Je[Xe+0]+4)+Je[Xe+8],dt=b-Je[Xe+8],Tt=(35468*Je[Xe+4]>>16)-M0(Je[Xe+12]),Wu(ne,we,0,0,ot+(sr=M0(Je[Xe+4])+(35468*Je[Xe+12]>>16))),Wu(ne,we,1,0,dt+Tt),Wu(ne,we,2,0,dt-Tt),Wu(ne,we,3,0,ot-sr),Xe++,we+=32}function P1(b,U,ne,we){var Ge=b[U+0]+4,Xe=35468*b[U+4]>>16,Je=M0(b[U+4]),ot=35468*b[U+1]>>16;nA(ne,we,0,Ge+Je,b=M0(b[U+1]),ot),nA(ne,we,1,Ge+Xe,b,ot),nA(ne,we,2,Ge-Xe,b,ot),nA(ne,we,3,Ge-Je,b,ot)}function O1(b,U,ne,we,Ge){a1(b,U,ne,we),Ge&&a1(b,U+16,ne,we+4)}function Zc(b,U,ne,we){od(b,U+0,ne,we,1),od(b,U+32,ne,we+128,1)}function o1(b,U,ne,we){var Ge;for(b=b[U+0]+4,Ge=0;4>Ge;++Ge)for(U=0;4>U;++U)Wu(ne,we,U,Ge,b)}function A1(b,U,ne,we){b[U+0]&&sa(b,U+0,ne,we),b[U+16]&&sa(b,U+16,ne,we+4),b[U+32]&&sa(b,U+32,ne,we+128),b[U+48]&&sa(b,U+48,ne,we+128+4)}function Gd(b,U,ne,we){var Ge,Xe=m(16);for(Ge=0;4>Ge;++Ge){var Je=b[U+0+Ge]+b[U+12+Ge],ot=b[U+4+Ge]+b[U+8+Ge],dt=b[U+4+Ge]-b[U+8+Ge],Tt=b[U+0+Ge]-b[U+12+Ge];Xe[0+Ge]=Je+ot,Xe[8+Ge]=Je-ot,Xe[4+Ge]=Tt+dt,Xe[12+Ge]=Tt-dt}for(Ge=0;4>Ge;++Ge)Je=(b=Xe[0+4*Ge]+3)+Xe[3+4*Ge],ot=Xe[1+4*Ge]+Xe[2+4*Ge],dt=Xe[1+4*Ge]-Xe[2+4*Ge],Tt=b-Xe[3+4*Ge],ne[we+0]=Je+ot>>3,ne[we+16]=Tt+dt>>3,ne[we+32]=Je-ot>>3,ne[we+48]=Tt-dt>>3,we+=64}function Yf(b,U,ne){var we,Ge=U-32,Xe=wu,Je=255-b[Ge-1];for(we=0;wene;++ne)c(b,U+32*ne,b,U-32,16)}function l1(b,U){var ne;for(ne=16;0we;++we)d(U,ne+32*we,b,16)}function H1(b,U){var ne,we=16;for(ne=0;16>ne;++ne)we+=b[U-1+32*ne]+b[U+ne-32];yc(we>>5,b,U)}function Zf(b,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=b[U-1+32*ne];yc(we>>4,b,U)}function xp(b,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=b[U+ne-32];yc(we>>4,b,U)}function j1(b,U){yc(128,b,U)}function Yi(b,U,ne){return b+2*U+ne+2>>2}function K1(b,U){var ne,we=U-32;for(we=new Uint8Array([Yi(b[we-1],b[we+0],b[we+1]),Yi(b[we+0],b[we+1],b[we+2]),Yi(b[we+1],b[we+2],b[we+3]),Yi(b[we+2],b[we+3],b[we+4])]),ne=0;4>ne;++ne)c(b,U+32*ne,we,0,we.length)}function z1(b,U){var ne=b[U-1],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96];yn(b,U+0,16843009*Yi(b[U-1-32],ne,we)),yn(b,U+32,16843009*Yi(ne,we,Ge)),yn(b,U+64,16843009*Yi(we,Ge,Xe)),yn(b,U+96,16843009*Yi(Ge,Xe,Xe))}function G1(b,U){var ne,we=4;for(ne=0;4>ne;++ne)we+=b[U+ne-32]+b[U-1+32*ne];for(we>>=3,ne=0;4>ne;++ne)d(b,U+32*ne,we,4)}function Q0(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1-32],Je=b[U+0-32],ot=b[U+1-32],dt=b[U+2-32],Tt=b[U+3-32];b[U+0+96]=Yi(we,Ge,b[U-1+96]),b[U+1+96]=b[U+0+64]=Yi(ne,we,Ge),b[U+2+96]=b[U+1+64]=b[U+0+32]=Yi(Xe,ne,we),b[U+3+96]=b[U+2+64]=b[U+1+32]=b[U+0+0]=Yi(Je,Xe,ne),b[U+3+64]=b[U+2+32]=b[U+1+0]=Yi(ot,Je,Xe),b[U+3+32]=b[U+2+0]=Yi(dt,ot,Je),b[U+3+0]=Yi(Tt,dt,ot)}function H0(b,U){var ne=b[U+1-32],we=b[U+2-32],Ge=b[U+3-32],Xe=b[U+4-32],Je=b[U+5-32],ot=b[U+6-32],dt=b[U+7-32];b[U+0+0]=Yi(b[U+0-32],ne,we),b[U+1+0]=b[U+0+32]=Yi(ne,we,Ge),b[U+2+0]=b[U+1+32]=b[U+0+64]=Yi(we,Ge,Xe),b[U+3+0]=b[U+2+32]=b[U+1+64]=b[U+0+96]=Yi(Ge,Xe,Je),b[U+3+32]=b[U+2+64]=b[U+1+96]=Yi(Xe,Je,ot),b[U+3+64]=b[U+2+96]=Yi(Je,ot,dt),b[U+3+96]=Yi(ot,dt,dt)}function V1(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1-32],Je=b[U+0-32],ot=b[U+1-32],dt=b[U+2-32],Tt=b[U+3-32];b[U+0+0]=b[U+1+64]=Xe+Je+1>>1,b[U+1+0]=b[U+2+64]=Je+ot+1>>1,b[U+2+0]=b[U+3+64]=ot+dt+1>>1,b[U+3+0]=dt+Tt+1>>1,b[U+0+96]=Yi(Ge,we,ne),b[U+0+64]=Yi(we,ne,Xe),b[U+0+32]=b[U+1+96]=Yi(ne,Xe,Je),b[U+1+32]=b[U+2+96]=Yi(Xe,Je,ot),b[U+2+32]=b[U+3+96]=Yi(Je,ot,dt),b[U+3+32]=Yi(ot,dt,Tt)}function W1(b,U){var ne=b[U+0-32],we=b[U+1-32],Ge=b[U+2-32],Xe=b[U+3-32],Je=b[U+4-32],ot=b[U+5-32],dt=b[U+6-32],Tt=b[U+7-32];b[U+0+0]=ne+we+1>>1,b[U+1+0]=b[U+0+64]=we+Ge+1>>1,b[U+2+0]=b[U+1+64]=Ge+Xe+1>>1,b[U+3+0]=b[U+2+64]=Xe+Je+1>>1,b[U+0+32]=Yi(ne,we,Ge),b[U+1+32]=b[U+0+96]=Yi(we,Ge,Xe),b[U+2+32]=b[U+1+96]=Yi(Ge,Xe,Je),b[U+3+32]=b[U+2+96]=Yi(Xe,Je,ot),b[U+3+64]=Yi(Je,ot,dt),b[U+3+96]=Yi(ot,dt,Tt)}function Vd(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96];b[U+0+0]=ne+we+1>>1,b[U+2+0]=b[U+0+32]=we+Ge+1>>1,b[U+2+32]=b[U+0+64]=Ge+Xe+1>>1,b[U+1+0]=Yi(ne,we,Ge),b[U+3+0]=b[U+1+32]=Yi(we,Ge,Xe),b[U+3+32]=b[U+1+64]=Yi(Ge,Xe,Xe),b[U+3+64]=b[U+2+64]=b[U+0+96]=b[U+1+96]=b[U+2+96]=b[U+3+96]=Xe}function Cp(b,U){var ne=b[U-1+0],we=b[U-1+32],Ge=b[U-1+64],Xe=b[U-1+96],Je=b[U-1-32],ot=b[U+0-32],dt=b[U+1-32],Tt=b[U+2-32];b[U+0+0]=b[U+2+32]=ne+Je+1>>1,b[U+0+32]=b[U+2+64]=we+ne+1>>1,b[U+0+64]=b[U+2+96]=Ge+we+1>>1,b[U+0+96]=Xe+Ge+1>>1,b[U+3+0]=Yi(ot,dt,Tt),b[U+2+0]=Yi(Je,ot,dt),b[U+1+0]=b[U+3+32]=Yi(ne,Je,ot),b[U+1+32]=b[U+3+64]=Yi(we,ne,Je),b[U+1+64]=b[U+3+96]=Yi(Ge,we,ne),b[U+1+96]=Yi(Xe,Ge,we)}function qf(b,U){var ne;for(ne=0;8>ne;++ne)c(b,U+32*ne,b,U-32,8)}function $1(b,U){var ne;for(ne=0;8>ne;++ne)d(b,U,b[U-1],8),U+=32}function j0(b,U,ne){var we;for(we=0;8>we;++we)d(U,ne+32*we,b,8)}function Y1(b,U){var ne,we=8;for(ne=0;8>ne;++ne)we+=b[U+ne-32]+b[U-1+32*ne];j0(we>>4,b,U)}function Sp(b,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=b[U+ne-32];j0(we>>3,b,U)}function Ip(b,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=b[U-1+32*ne];j0(we>>3,b,U)}function u1(b,U){j0(128,b,U)}function K0(b,U,ne){var we=b[U-ne],Ge=b[U+0],Xe=3*(Ge-we)+Z1[1020+b[U-2*ne]-b[U+ne]],Je=v1[112+(Xe+4>>3)];b[U-ne]=wu[255+we+v1[112+(Xe+3>>3)]],b[U+0]=wu[255+Ge-Je]}function Tp(b,U,ne,we){var Ge=b[U+0],Xe=b[U+ne];return Zu[255+b[U-2*ne]-b[U-ne]]>we||Zu[255+Xe-Ge]>we}function Wd(b,U,ne,we){return 4*Zu[255+b[U-ne]-b[U+0]]+Zu[255+b[U-2*ne]-b[U+ne]]<=we}function Fp(b,U,ne,we,Ge){var Xe=b[U-3*ne],Je=b[U-2*ne],ot=b[U-ne],dt=b[U+0],Tt=b[U+ne],sr=b[U+2*ne],Dr=b[U+3*ne];return 4*Zu[255+ot-dt]+Zu[255+Je-Tt]>we?0:Zu[255+b[U-4*ne]-Xe]<=Ge&&Zu[255+Xe-Je]<=Ge&&Zu[255+Je-ot]<=Ge&&Zu[255+Dr-sr]<=Ge&&Zu[255+sr-Tt]<=Ge&&Zu[255+Tt-dt]<=Ge}function Xf(b,U,ne,we){var Ge=2*we+1;for(we=0;16>we;++we)Wd(b,U+we,ne,Ge)&&K0(b,U+we,ne)}function Lp(b,U,ne,we){var Ge=2*we+1;for(we=0;16>we;++we)Wd(b,U+we*ne,1,Ge)&&K0(b,U+we*ne,1)}function c1(b,U,ne,we){var Ge;for(Ge=3;0>7,tn=18*nn+63>>7,nn=9*nn+63>>7;dt[Tt-3*sr]=wu[255+dt[Tt-3*sr]+nn],dt[Tt-2*sr]=wu[255+Dr+tn],dt[Tt-sr]=wu[255+Ft+Tr],dt[Tt+0]=wu[255+hr-Tr],dt[Tt+sr]=wu[255+Br-tn],dt[Tt+2*sr]=wu[255+Xr-nn]}U+=we}}function G0(b,U,ne,we,Ge,Xe,Je,ot){for(Xe=2*Xe+1;0>3)],Xr=v1[112+(Xr+3>>3)],Tr=Br+1>>1;dt[Tt-2*sr]=wu[255+dt[Tt-2*sr]+Tr],dt[Tt-sr]=wu[255+Dr+Xr],dt[Tt+0]=wu[255+Ft-Br],dt[Tt+sr]=wu[255+hr-Tr]}U+=we}}function f1(b,U,ne,we,Ge,Xe){z0(b,U,ne,1,16,we,Ge,Xe)}function Jf(b,U,ne,we,Ge,Xe){z0(b,U,1,ne,16,we,Ge,Xe)}function d1(b,U,ne,we,Ge,Xe){var Je;for(Je=3;0Tt?0:255:Tt)&255,Tt=dt,Ge[Xe+ot]=sr}}function La(b,U,ne,we){var Ge=U.width,Xe=U.o;if(a(b!=null&&U!=null),0>ne||0>=we||ne+we>Xe)return null;if(!b.Cc){if(b.ga==null){var Je;if(b.ga=new os,(Je=b.ga==null)||(Je=U.width*U.o,a(b.Gb.length==0),b.Gb=m(Je),b.Uc=0,b.Gb==null?Je=0:(b.mb=b.Gb,b.nb=b.Uc,b.rc=null,Je=1),Je=!Je),!Je){Je=b.ga;var ot=b.Fa,dt=b.P,Tt=b.qc,sr=b.mb,Dr=b.nb,Ft=dt+1,hr=Tt-1,Br=Je.l;if(a(ot!=null&&sr!=null&&U!=null),Jh[0]=null,Jh[1]=zs,Jh[2]=oo,Jh[3]=Wo,Je.ca=sr,Je.tb=Dr,Je.c=U.width,Je.i=U.height,a(0=Tt)U=0;else if(Je.$a=3&ot[dt+0],Je.Z=ot[dt+0]>>2&3,Je.Lc=ot[dt+0]>>4&3,dt=ot[dt+0]>>6&3,0>Je.$a||1=Je.c*Je.i;Je=!U}if(Je)return null;b.ga.Lc!=1?b.Ga=0:we=Xe-ne}a(b.ga!=null),a(ne+we<=Xe);e:{if(U=(ot=b.ga).c,Xe=ot.l.o,ot.$a==0){if(Ft=b.rc,hr=b.Vc,Br=b.Fa,dt=b.P+1+ne*U,Tt=b.mb,sr=b.nb+ne*U,a(dt<=b.P+b.qc),ot.Z!=0)for(a(Jh[ot.Z]!=null),Je=0;Je=U)U=1;else if(ot.ic||_c(),ot.ic){ot=Je.V,Ft=Je.Ba,hr=Je.c;var Xr=Je.i,Tr=(Br=1,dt=Je.$/hr,Tt=Je.$%hr,sr=Je.m,Dr=Je.s,Je.$),tn=hr*Xr,nn=hr*U,vn=Dr.wc,cn=Tr(Xr=po(cn.G[0],cn.H[0],sr)))ot[Ft+Tr]=Xr,++Tr,++Tt>=hr&&(Tt=0,++dt<=U&&!(dt%16)&&mc(Je,dt));else{if(!(280>Xr)){Br=0;break t}Xr=Ku(Xr-256,sr);var ci,Xn=po(cn.G[4],cn.H[4],sr);if(Cr(sr),!(Tr>=(Xn=zu(hr,Xn=Ku(Xn,sr)))&&tn-Tr>=Xr)){Br=0;break t}for(ci=0;ci=hr;)Tt-=hr,++dt<=U&&!(dt%16)&&mc(Je,dt);TrU?U:dt);break t}!Br||sr.h&&Tr=Xe&&(b.Cc=1),we=1}if(!we)return null;if(b.Cc&&((we=b.ga)!=null&&(we.mc=null),b.ga=null,0>23,ot[dt+4*Je+1]=ot[dt+4*Je+1]*Dr>>23,ot[dt+4*Je+2]=ot[dt+4*Je+2]*Dr>>23)}U+=Xe}}function $o(b,U,ne,we,Ge){for(;0>4)*dt>>16;b[U+2*Xe+0]=(240&Je|Je>>4)*dt>>16&240|(15&Je|Je<<4)*dt>>16>>4&15,b[U+2*Xe+1]=240&Tt|ot}U+=Ge}}function HA(b,U,ne,we,Ge,Xe,Je,ot){var dt,Tt,sr=255;for(Tt=0;Tt>8}function _c(){Kp=iA,_g=$o,wg=HA,bg=V0}function W0(b,U,ne){Mt[b]=function(we,Ge,Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr,Br,Xr,Tr,tn,nn,vn){var cn,ci=vn-1>>1,Xn=ot[dt+0]|Tt[sr+0]<<16,ls=Dr[Ft+0]|hr[Br+0]<<16;a(we!=null);var si=3*Xn+ls+131074>>2;for(U(we[Ge+0],255&si,si>>16,Xr,Tr),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+0],255&si,si>>16,tn,nn)),cn=1;cn<=ci;++cn){var Rs=ot[dt+cn]|Tt[sr+cn]<<16,aA=Dr[Ft+cn]|hr[Br+cn]<<16,us=Xn+Rs+ls+aA+524296,ai=us+2*(Rs+ls)>>3;si=ai+Xn>>1,Xn=(us=us+2*(Xn+aA)>>3)+Rs>>1,U(we[Ge+2*cn-1],255&si,si>>16,Xr,Tr+(2*cn-1)*ne),U(we[Ge+2*cn-0],255&Xn,Xn>>16,Xr,Tr+(2*cn-0)*ne),Xe!=null&&(si=us+ls>>1,Xn=ai+aA>>1,U(Xe[Je+2*cn-1],255&si,si>>16,tn,nn+(2*cn-1)*ne),U(Xe[Je+2*cn+0],255&Xn,Xn>>16,tn,nn+(2*cn+0)*ne)),Xn=Rs,ls=aA}1&vn||(si=3*Xn+ls+131074>>2,U(we[Ge+vn-1],255&si,si>>16,Xr,Tr+(vn-1)*ne),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+vn-1],255&si,si>>16,tn,nn+(vn-1)*ne)))}}function Dp(){qu[y1]=gm,qu[_1]=kg,qu[Ig]=mm,qu[w1]=Rg,qu[b1]=Ug,qu[q1]=Pg,qu[Tg]=vm,qu[X1]=kg,qu[J1]=Rg,qu[E1]=Ug,qu[eg]=Pg}function $d(b){return b&~ym?0>b?0:255:b>>Og}function Kh(b,U){return $d((19077*b>>8)+(26149*U>>8)-14234)}function ed(b,U,ne){return $d((19077*b>>8)-(6419*U>>8)-(13320*ne>>8)+8708)}function td(b,U){return $d((19077*b>>8)+(33050*U>>8)-17685)}function zh(b,U,ne,we,Ge){we[Ge+0]=Kh(b,ne),we[Ge+1]=ed(b,U,ne),we[Ge+2]=td(b,U)}function jA(b,U,ne,we,Ge){we[Ge+0]=td(b,U),we[Ge+1]=ed(b,U,ne),we[Ge+2]=Kh(b,ne)}function rd(b,U,ne,we,Ge){var Xe=ed(b,U,ne);U=Xe<<3&224|td(b,U)>>3,we[Ge+0]=248&Kh(b,ne)|Xe>>5,we[Ge+1]=U}function nd(b,U,ne,we,Ge){var Xe=240&td(b,U)|15;we[Ge+0]=240&Kh(b,ne)|ed(b,U,ne)>>4,we[Ge+1]=Xe}function kp(b,U,ne,we,Ge){we[Ge+0]=255,zh(b,U,ne,we,Ge+1)}function Rp(b,U,ne,we,Ge){jA(b,U,ne,we,Ge),we[Ge+3]=255}function Il(b,U,ne,we,Ge){zh(b,U,ne,we,Ge),we[Ge+3]=255}function $0(b,U,ne){Mt[b]=function(we,Ge,Xe,Je,ot,dt,Tt,sr,Dr){for(var Ft=sr+(-2&Dr)*ne;sr!=Ft;)U(we[Ge+0],Xe[Je+0],ot[dt+0],Tt,sr),U(we[Ge+1],Xe[Je+0],ot[dt+0],Tt,sr+ne),Ge+=2,++Je,++dt,sr+=2*ne;1&Dr&&U(we[Ge+0],Xe[Je+0],ot[dt+0],Tt,sr)}}function Yd(b,U,ne){return ne==0?b==0?U==0?6:5:U==0?4:0:ne}function p1(b,U,ne,we,Ge){switch(b>>>30){case 3:od(U,ne,we,Ge,0);break;case 2:Yu(U,ne,we,Ge);break;case 1:sa(U,ne,we,Ge)}}function $u(b,U){var ne,we,Ge=U.M,Xe=U.Nb,Je=b.oc,ot=b.pc+40,dt=b.oc,Tt=b.pc+584,sr=b.oc,Dr=b.pc+600;for(ne=0;16>ne;++ne)Je[ot+32*ne-1]=129;for(ne=0;8>ne;++ne)dt[Tt+32*ne-1]=129,sr[Dr+32*ne-1]=129;for(0ne;++ne)c(Je,ot+32*ne-4,Je,ot+32*ne+12,4);for(ne=-1;8>ne;++ne)c(dt,Tt+32*ne-4,dt,Tt+32*ne+4,4),c(sr,Dr+32*ne-4,sr,Dr+32*ne+4,4)}var hr=b.Gd,Br=b.Hd+we,Xr=Ft.ad,Tr=Ft.Hc;if(0=b.za-1?d(tn,nn,hr[Br].y[15],4):c(tn,nn,hr[Br+1].y,0,4)),ne=0;4>ne;ne++)tn[nn+128+ne]=tn[nn+256+ne]=tn[nn+384+ne]=tn[nn+0+ne];for(ne=0;16>ne;++ne,Tr<<=2)tn=Je,nn=ot+Mg[ne],wc[Ft.Ob[ne]](tn,nn),p1(Tr,Xr,16*+ne,tn,nn)}else if(tn=Yd(we,Ge,Ft.Ob[0]),Xh[tn](Je,ot),Tr!=0)for(ne=0;16>ne;++ne,Tr<<=2)p1(Tr,Xr,16*+ne,Je,ot+Mg[ne]);for(ne=Ft.Gc,tn=Yd(we,Ge,Ft.Dd),q0[tn](dt,Tt),q0[tn](sr,Dr),Tr=Xr,tn=dt,nn=Tt,255&(Ft=0|ne)&&(170&Ft?Jc(Tr,256,tn,nn):_a(Tr,256,tn,nn)),Ft=sr,Tr=Dr,255&(ne>>=8)&&(170&ne?Jc(Xr,320,Ft,Tr):_a(Xr,320,Ft,Tr)),Gene;++ne)c(hr,Br+ne*b.R,Je,ot+32*ne,16);for(ne=0;8>ne;++ne)c(Xr,Ft+ne*b.B,dt,Tt+32*ne,8),c(Tr,tn+ne*b.B,sr,Dr+32*ne,8)}}function id(b,U,ne,we,Ge,Xe,Je,ot,dt){var Tt=[0],sr=[0],Dr=0,Ft=dt!=null?dt.kd:0,hr=dt!=null?dt:new un;if(b==null||12>ne)return 7;hr.data=b,hr.w=U,hr.ha=ne,U=[U],ne=[ne],hr.gb=[hr.gb];e:{var Br=U,Xr=ne,Tr=hr.gb;if(a(b!=null),a(Xr!=null),a(Tr!=null),Tr[0]=0,12<=Xr[0]&&!s(b,Br[0],"RIFF")){if(s(b,Br[0]+8,"WEBP")){Tr=3;break e}var tn=wi(b,Br[0]+4);if(12>tn||4294967286Xr[0]-8){Tr=7;break e}Tr[0]=tn,Br[0]+=12,Xr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(tn=0Tr[0])Tr=7;else{if(!s(nn,Xr[0],"VP8X")){if(wi(nn,Xr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var Xn=wi(nn,Xr[0]+8),ls=1+Qn(nn,Xr[0]+12);if(2147483648<=ls*(nn=1+Qn(nn,Xr[0]+15))){Tr=3;break e}ci!=null&&(ci[0]=Xn),vn!=null&&(vn[0]=ls),cn!=null&&(cn[0]=nn),Xr[0]+=18,Tr[0]-=18,si[0]=1}Tr=0}}if(Dr=Dr[0],Br=Br[0],Tr!=0)return Tr;if(Xr=!!(2&Br),!tn&&Dr)return 3;if(Xe!=null&&(Xe[0]=!!(16&Br)),Je!=null&&(Je[0]=Xr),ot!=null&&(ot[0]=0),Je=Tt[0],Br=sr[0],Dr&&Xr&&dt==null){Tr=0;break}if(4>ne){Tr=7;break}if(tn&&Dr||!tn&&!Dr&&!s(b,U[0],"ALPH")){ne=[ne],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{Xn=b,Tr=U,tn=ne;var si=hr.gb;vn=hr.na,cn=hr.P,ci=hr.Sa,ls=22,a(Xn!=null),a(tn!=null),nn=Tr[0];var Rs=tn[0];for(a(vn!=null),a(ci!=null),vn[0]=null,cn[0]=null,ci[0]=0;;){if(Tr[0]=nn,tn[0]=Rs,8>Rs){Tr=7;break e}var aA=wi(Xn,nn+4);if(4294967286si){Tr=3;break e}if(!s(Xn,nn,"VP8 ")||!s(Xn,nn,"VP8L")){Tr=0;break e}if(Rs[0]tn[0])Tr=7;else{if(nn||ls){if(si=wi(si,Xn+4),12<=vn&&si>vn-12){Tr=3;break e}if(Ft&&si>tn[0]-8){Tr=7;break e}cn[0]=si,Tr[0]+=8,tn[0]-=8,ci[0]=ls}else ci[0]=5<=tn[0]&&si[Xn+0]==47&&!(si[Xn+4]>>5),cn[0]=tn[0];Tr=0}if(ne=ne[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],U=U[0],Tr!=0)break;if(4294967286ne){Tr=7;break}ot=Je,Ft=Br,Xr=Xe,b==null||5>ne?b=0:5<=ne&&b[U+0]==47&&!(b[U+4]>>5)?(tn=[0],si=[0],vn=[0],$r(cn=new Ut,b,U,ne),N0(cn,tn,si,vn)?(ot!=null&&(ot[0]=tn[0]),Ft!=null&&(Ft[0]=si[0]),Xr!=null&&(Xr[0]=vn[0]),b=1):b=0):b=0}else{if(10>ne){Tr=7;break}ot=Br,b==null||10>ne||!i1(b,U+3,ne-3)?b=0:(Ft=b[U+0]|b[U+1]<<8|b[U+2]<<16,Xr=16383&(b[U+7]<<8|b[U+6]),b=16383&(b[U+9]<<8|b[U+8]),1&Ft||3<(Ft>>1&7)||!(Ft>>4&1)||Ft>>5>=hr.Ja||!Xr||!b?b=0:(Je&&(Je[0]=Xr),ot&&(ot[0]=b),b=1))}if(!b||(Je=Je[0],Br=Br[0],Dr&&(Tt[0]!=Je||sr[0]!=Br)))return 3;dt!=null&&(dt[0]=hr,dt.offset=U-dt.w,a(4294967286>U-dt.w),a(dt.offset==dt.ha-ne));break}return Tr==0||Tr==7&&Dr&&dt==null?(Xe!=null&&(Xe[0]|=hr.na!=null&&0ne||(Xe&=-2,Je&=-2),0>Xe||0>Je||0>=ot||0>=dt||Xe+ot>we||Je+dt>Ge))return 0;if(U.v=Xe,U.j=Je,U.va=Xe+ot,U.o=Je+dt,U.U=ot,U.T=dt,U.da=b!=null&&0b.S){var U=b.f.RGBA;U.fb+=(b.height-1)*U.A,U.A=-U.A}else U=b.f.kb,b=b.height,U.O+=(b-1)*U.fa,U.fa=-U.fa,U.N+=(b-1>>1)*U.Ab,U.Ab=-U.Ab,U.W+=(b-1>>1)*U.Db,U.Db=-U.Db,U.F!=null&&(U.J+=(b-1)*U.lb,U.lb=-U.lb);return 0}function Gh(b,U,ne,we){if(we==null||0>=b||0>=U)return 2;if(ne!=null){if(ne.Da){var Ge=ne.cd,Xe=ne.bd,Je=-2&ne.v,ot=-2&ne.j;if(0>Je||0>ot||0>=Ge||0>=Xe||Je+Ge>b||ot+Xe>U)return 2;b=Ge,U=Xe}if(ne.da){if(!ki(b,U,Ge=[ne.ib],Xe=[ne.hb]))return 2;b=Ge[0],U=Xe[0]}}we.width=b,we.height=U;e:{var dt=we.width,Tt=we.height;if(b=we.S,0>=dt||0>=Tt||!(b>=y1&&13>b))b=2;else{if(0>=we.Rd&&we.sd==null){Je=Xe=Ge=U=0;var sr=(ot=dt*Qg[b])*Tt;if(11>b||(Xe=(Tt+1)/2*(U=(dt+1)/2),b==12&&(Je=(Ge=dt)*Tt)),(Tt=m(sr+2*Xe+Je))==null){b=1;break e}we.sd=Tt,11>b?((dt=we.f.RGBA).eb=Tt,dt.fb=0,dt.A=ot,dt.size=sr):((dt=we.f.kb).y=Tt,dt.O=0,dt.fa=ot,dt.Fd=sr,dt.f=Tt,dt.N=0+sr,dt.Ab=U,dt.Cd=Xe,dt.ea=Tt,dt.W=0+sr+Xe,dt.Db=U,dt.Ed=Xe,b==12&&(dt.F=Tt,dt.J=0+sr+2*Xe),dt.Tc=Je,dt.lb=Ge)}if(U=1,Ge=we.S,Xe=we.width,Je=we.height,Ge>=y1&&13>Ge)if(11>Ge)b=we.f.RGBA,U&=(ot=Math.abs(b.A))*(Je-1)+Xe<=b.size,U&=ot>=Xe*Qg[Ge],U&=b.eb!=null;else{b=we.f.kb,ot=(Xe+1)/2,sr=(Je+1)/2,dt=Math.abs(b.fa),Tt=Math.abs(b.Ab);var Dr=Math.abs(b.Db),Ft=Math.abs(b.lb),hr=Ft*(Je-1)+Xe;U&=dt*(Je-1)+Xe<=b.Fd,U&=Tt*(sr-1)+ot<=b.Cd,U=(U&=Dr*(sr-1)+ot<=b.Ed)&dt>=Xe&Tt>=ot&Dr>=ot,U&=b.y!=null,U&=b.f!=null,U&=b.ea!=null,Ge==12&&(U&=Ft>=Xe,U&=hr<=b.Tc,U&=b.F!=null)}else U=0;b=U?0:2}}return b!=0||ne!=null&&ne.fd&&(b=Pp(we)),b}var sd=64,yu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],_u=24,Vh=32,Y0=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ei("Predictor0","PredictorAdd0"),Mt.Predictor0=function(){return 4278190080},Mt.Predictor1=function(b){return b},Mt.Predictor2=function(b,U,ne){return U[ne+0]},Mt.Predictor3=function(b,U,ne){return U[ne+1]},Mt.Predictor4=function(b,U,ne){return U[ne-1]},Mt.Predictor5=function(b,U,ne){return Bi(Bi(b,U[ne+1]),U[ne+0])},Mt.Predictor6=function(b,U,ne){return Bi(b,U[ne-1])},Mt.Predictor7=function(b,U,ne){return Bi(b,U[ne+0])},Mt.Predictor8=function(b,U,ne){return Bi(U[ne-1],U[ne+0])},Mt.Predictor9=function(b,U,ne){return Bi(U[ne+0],U[ne+1])},Mt.Predictor10=function(b,U,ne){return Bi(Bi(b,U[ne-1]),Bi(U[ne+0],U[ne+1]))},Mt.Predictor11=function(b,U,ne){var we=U[ne+0];return 0>=es(we>>24&255,b>>24&255,(U=U[ne-1])>>24&255)+es(we>>16&255,b>>16&255,U>>16&255)+es(we>>8&255,b>>8&255,U>>8&255)+es(255&we,255&b,255&U)?we:b},Mt.Predictor12=function(b,U,ne){var we=U[ne+0];return(na((b>>24&255)+(we>>24&255)-((U=U[ne-1])>>24&255))<<24|na((b>>16&255)+(we>>16&255)-(U>>16&255))<<16|na((b>>8&255)+(we>>8&255)-(U>>8&255))<<8|na((255&b)+(255&we)-(255&U)))>>>0},Mt.Predictor13=function(b,U,ne){var we=U[ne-1];return(Is((b=Bi(b,U[ne+0]))>>24&255,we>>24&255)<<24|Is(b>>16&255,we>>16&255)<<16|Is(b>>8&255,we>>8&255)<<8|Is(255&b,255&we))>>>0};var Op=Mt.PredictorAdd0;Mt.PredictorAdd1=ks,ei("Predictor2","PredictorAdd2"),ei("Predictor3","PredictorAdd3"),ei("Predictor4","PredictorAdd4"),ei("Predictor5","PredictorAdd5"),ei("Predictor6","PredictorAdd6"),ei("Predictor7","PredictorAdd7"),ei("Predictor8","PredictorAdd8"),ei("Predictor9","PredictorAdd9"),ei("Predictor10","PredictorAdd10"),ei("Predictor11","PredictorAdd11"),ei("Predictor12","PredictorAdd12"),ei("Predictor13","PredictorAdd13");var Zd=Mt.PredictorAdd2;pi("ColorIndexInverseTransform","MapARGB","32b",function(b){return b>>8&255},function(b){return b}),pi("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(b){return b},function(b){return b>>8&255});var So,g1=Mt.ColorIndexInverseTransform,qc=Mt.MapARGB,Xc=Mt.VP8LColorIndexInverseTransformAlpha,Np=Mt.MapAlpha,Mp=Mt.VP8LPredictorsAdd=[];Mp.length=16,(Mt.VP8LPredictors=[]).length=16,(Mt.VP8LPredictorsAdd_C=[]).length=16,(Mt.VP8LPredictors_C=[]).length=16;var Qp,Hp,$h,Yh,Zh,ad,qh,od,Yu,Jc,sa,_a,Io,sA,Z0,jp,qd,m1,dg,pg,gg,mg,vg,yg,Kp,_g,wg,bg,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Z1=Bg,v1=xg,wu=Cg,Zu=Eg,y1=0,_1=1,Ig=2,w1=3,b1=4,q1=5,Tg=6,X1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Am=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,lm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Lg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xh=[],wc=[],q0=[],pm=1,Dg=2,Jh=[],qu=[];W0("UpsampleRgbLinePair",zh,3),W0("UpsampleBgrLinePair",jA,3),W0("UpsampleRgbaLinePair",Il,4),W0("UpsampleBgraLinePair",Rp,4),W0("UpsampleArgbLinePair",kp,4),W0("UpsampleRgba4444LinePair",nd,2),W0("UpsampleRgb565LinePair",rd,2);var gm=Mt.UpsampleRgbLinePair,mm=Mt.UpsampleBgrLinePair,kg=Mt.UpsampleRgbaLinePair,Rg=Mt.UpsampleBgraLinePair,Ug=Mt.UpsampleArgbLinePair,Pg=Mt.UpsampleRgba4444LinePair,vm=Mt.UpsampleRgb565LinePair,B1=16,x1=1<we.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),we.ca.f.kb.F!=null&&_c()),we.Pb&&0(dt=ne.Md)?0:100Tt;++Tt)12>(Dr=Ge.pb[Tt]).lc&&(Dr.ia=dt*Cm[0>Dr.lc?0:Dr.lc]>>3),sr|=Dr.ia;sr&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ne.Id,100Ge.Ga&&(Ge.Ga=0)}(function(Ft,hr){if(Ft==null)return 0;if(hr==null)return Vo(Ft,2,"NULL VP8Io parameter in VP8Decode().");if(!Ft.cb&&!Yc(Ft,hr))return 0;if(a(Ft.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(Ft.L=0);var Br=C1[Ft.L];if(Ft.L==2?(Ft.yb=0,Ft.zb=0):(Ft.yb=hr.v-Br>>4,Ft.zb=hr.j-Br>>4,0>Ft.yb&&(Ft.yb=0),0>Ft.zb&&(Ft.zb=0)),Ft.Va=hr.o+15+Br>>4,Ft.Hb=hr.va+15+Br>>4,Ft.Hb>Ft.za&&(Ft.Hb=Ft.za),Ft.Va>Ft.Ub&&(Ft.Va=Ft.Ub),0Br;++Br){var Tr;if(Ft.Qa.Cb){var tn=Ft.Qa.Lb[Br];Ft.Qa.Fb||(tn+=Xr.Tb)}else tn=Xr.Tb;for(Tr=0;1>=Tr;++Tr){var nn=Ft.gd[Br][Tr],vn=tn;if(Xr.Pc&&(vn+=Xr.vd[0],Tr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63>2:cn>>1)>9-Xr.wb&&(cn=9-Xr.wb),1>cn&&(cn=1),nn.dd=cn,nn.tc=2*vn+cn,nn.ld=40<=vn?2:15<=vn?1:0}else nn.tc=0;nn.La=Tr}}}Br=0}else Vo(Ft,6,"Frame setup failed"),Br=Ft.a;if(Br=Br==0){if(Br){Ft.$c=0,0Ft.Vb){if(Ft.Vb=0,Ft.Ec=m(nn),Ft.Fc=0,Ft.Ec==null){Br=Vo(Ft,1,"no memory during frame initialization.");break t}Ft.Vb=nn}nn=Ft.Ec,vn=Ft.Fc,Ft.Ac=nn,Ft.Bc=vn,vn+=Xr,Ft.Gd=W(ci,r1),Ft.Hd=0,Ft.rb=W(Xn+1,bp),Ft.sb=1,Ft.wa=ls?W(ls,Vu):null,Ft.Y=0,Ft.D.Nb=0,Ft.D.wa=Ft.wa,Ft.D.Y=Ft.Y,0=Br;++Br)Eg[255+Br]=0>Br?-Br:Br;for(Br=-1020;1020>=Br;++Br)Bg[1020+Br]=-128>Br?-128:127=Br;++Br)xg[112+Br]=-16>Br?-16:15=Br;++Br)Cg[255+Br]=0>Br?0:255Ms;++Ms){var oA,Gs=Tl[0+Ms];for(oA=0;4>oA;++oA){Gs=hm[Ha[KA+oA]][Gs];for(var Aa=Lg[sn(rs,Gs[0])];0>3;for(Aa=0;256>Aa;Aa+=16)Ms[ul+Aa]=Zl}zA=1,bc=KA[0]}var wa=15&rs.la,AA=15&Fl.la;for(Aa=0;4>Aa;++Aa){var bu=1&AA;for(Zl=la=0;4>Zl;++Zl)wa=wa>>1|(bu=(Fo=zp(Ha,bc,Fo=bu+(1&wa),go.Sc,zA,Ms,ul))>zA)<<7,la=la<<2|(3>=4,AA=AA>>1|bu<<7,oA=(oA<<8|la)>>>0}for(bc=wa,zA=AA>>4,mo=0;4>mo;mo+=2){for(la=0,wa=rs.la>>4+mo,AA=Fl.la>>4+mo,Aa=0;2>Aa;++Aa){for(bu=1&AA,Zl=0;2>Zl;++Zl)Fo=bu+(1&wa),wa=wa>>1|(bu=0<(Fo=zp(Ha,KA[2],Fo,go.Qc,0,Ms,ul)))<<3,la=la<<2|(3>=2,AA=AA>>1|bu<<5}Gs|=la<<4*mo,bc|=wa<<4<=ai.zb&&ai.M<=ai.Va,ai.Aa==0)t:{if(us.M=ai.M,us.uc=rs,$u(ai,us),To=1,us=(la=ai.D).Nb,rs=(Gs=C1[ai.L])*ai.R,Ha=Gs/2*ai.B,Aa=16*us*ai.R,Zl=8*us*ai.B,KA=ai.sa,Tl=ai.ta-rs+Aa,go=ai.qa,Ms=ai.ra-Ha+Zl,ul=ai.Ha,Fl=ai.Ia-Ha+Zl,AA=(wa=la.M)==0,oA=wa>=ai.Va-1,ai.Aa==2&&$u(ai,la),la.uc)for(bu=(Fo=ai).D.M,a(Fo.D.uc),la=Fo.yb;laRn.o&&(wa=Rn.o),Rn.F=null,Rn.J=null,ai.Fa!=null&&0>1),Rn.W+=ai.B*(Gs>>1),Rn.F!=null&&(Rn.J+=Rn.width*Gs)),la>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=la-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=wa-la,To=Rn.put(Rn))}us+1!=ai.Ic||oA||(c(ai.sa,ai.ta-rs,KA,Tl+16*ai.R,rs),c(ai.qa,ai.ra-Ha,go,Ms+8*ai.B,Ha),c(ai.Ha,ai.Ia-Ha,ul,Fl+8*ai.B,Ha))}if(!To)return Vo(Rs,6,"Output aborted.")}return 1}(Ft,hr)),hr.bc!=null&&hr.bc(hr),Br&=1}return Br?(Ft.cb=0,Br):0})(b,we)||(U=b.a)}}else U=b.a}U==0&&Je.Oa!=null&&Je.Oa.fd&&(U=Pp(Je.ba))}Je=U}Xe=Je!=0?null:11>Xe?ot.f.RGBA.eb:ot.f.kb.y}else Xe=null;return Xe};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function J(Mt,Er){for(var tt="",Ct=0;Ct<4;Ct++)tt+=String.fromCharCode(Mt[Er++]);return tt}function he(Mt,Er){return Mt[Er+0]|Mt[Er+1]<<8}function Ne(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16)>>>0}function Ye(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16|Mt[Er+3]<<24)>>>0}new $;var ce=[0],wt=[0],pt=[],bt=new $,rt=n,Yt=function(Mt,Er){var tt={},Ct=0,Xt=!1,Gt=0,Ur=0;if(tt.frames=[],!function(et,Ut){for(var Ht=0;Ht<4;Ht++)if(et[Ut+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Mt,Er)){for(Ye(Mt,Er+=4),Er+=8;Er>1&1}Mr!="ANMF"&&(Er+=Lr)}return tt}}(rt,0);Yt.response=rt,Yt.rgbaoutput=!0,Yt.dataurl=!1;var jt=Yt.header?Yt.header:null,Pt=Yt.frames?Yt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ce=[jt.canvas_height],wt=[jt.canvas_width];for(var kr=0;kr=2?St[1]:jn[0],jn[2]=St.length>=3?St[2]:jn[0],jn[3]=St.length>=4?St[3]:jn[1]),J.margin=jn}});var Hr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hr},set:function(St){Hr=St}});var Gr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Gr},set:function(St){Gr=St}});var sn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return sn},set:function(St){sn=St}}),Object.defineProperty(this,"ctx",{get:function(){return J},set:function(St){St instanceof he&&(J=St)}}),Object.defineProperty(this,"path",{get:function(){return J.path},set:function(St){J.path=St}});var yn=[];Object.defineProperty(this,"ctxStack",{get:function(){return yn},set:function(St){yn=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var jn;jn=Ye(St),this.ctx.fillStyle=jn.style,this.ctx.isFillTransparent=jn.a===0,this.ctx.fillOpacity=jn.a,this.pdf.setFillColor(jn.r,jn.g,jn.b,{a:jn.a}),this.pdf.setTextColor(jn.r,jn.g,jn.b,{a:jn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var jn=Ye(St);this.ctx.strokeStyle=jn.style,this.ctx.isStrokeTransparent=jn.a===0,this.ctx.strokeOpacity=jn.a,jn.a===0?this.pdf.setDrawColor(255,255,255):(jn.a,this.pdf.setDrawColor(jn.r,jn.g,jn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Hn=null,Qn=null,wi=null;Object.defineProperty(this,"fontFaces",{get:function(){return wi},set:function(St){Hn=null,Qn=null,wi=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var jn;if(this.ctx.font=St,(jn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var ds=jn[1];jn[2];var ki=jn[3],gn=jn[4];jn[5];var Ri=jn[6],ei=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gn)[2];gn=Math.floor(ei==="px"?parseFloat(gn)*this.pdf.internal.scaleFactor:ei==="em"?parseFloat(gn)*this.pdf.getFontSize():parseFloat(gn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gn);var Ti=function(pi){var Co,Ks,ms=[],vs=pi.trim();if(vs==="")return F;if(vs in Wl)return[Wl[vs]];for(;vs!=="";){switch(Ks=null,Co=(vs=tA(vs)).charAt(0)){case'"':case"'":Ks=l(vs.substring(1),Co);break;default:Ks=e(vs)}if(Ks===null||(ms.push(Ks[0]),(vs=tA(Ks[1]))!==""&&vs.charAt(0)!==","))return F;vs=vs.replace(/^,/,"")}return ms}(Ri);if(this.fontFaces){var Bi=function(pi,Co){var Ks=pi.getFontList(),ms=JSON.stringify(Ks);if(Hn===null||Qn!==ms){var vs=function(Ga){var Ci=[];return Object.keys(Ga).forEach(function(Fa){Ga[Fa].forEach(function(Mi){var ts=null;switch(Mi){case"bold":ts={family:Fa,weight:"bold"};break;case"italic":ts={family:Fa,style:"italic"};break;case"bolditalic":ts={family:Fa,weight:"bold",style:"italic"};break;case"":case"normal":ts={family:Fa}}ts!==null&&(ts.ref={name:Fa,style:Mi},Ci.push(ts))})}),Ci}(Ks);Hn=function(Ga){for(var Ci={},Fa=0;Fa=700||ds==="bold")&&(es="bold"),ds==="italic"&&(es+="italic"),es.length===0&&(es="normal");for(var ks="",Ts={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},li=0;li=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:et,y:Ut,radius:Ht,startAngle:tr,endAngle:fr,counterclockwise:Cr})},Ne.prototype.arcTo=function(et,Ut,Ht,tr,fr){throw new Error("arcTo not implemented.")},Ne.prototype.rect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et+Ht,Ut+tr),this.lineTo(et,Ut+tr),this.lineTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et,Ut)},Ne.prototype.fillRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ce.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(et,Ut,Ht,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Ne.prototype.strokeRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");wt.call(this)||(this.beginPath(),this.rect(et,Ut,Ht,tr),this.stroke())},Ne.prototype.clearRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(et,Ut,Ht,tr))},Ne.prototype.save=function(et){et=typeof et!="boolean"||et;for(var Ut=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ne.prototype.drawImage=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr,sn){var yn=this.pdf.getImageProperties(et),Hn=1,Qn=1,wi=1,St=1;tr!==void 0&&Gr!==void 0&&(wi=Gr/tr,St=sn/fr,Hn=yn.width/tr*Gr/tr,Qn=yn.height/fr*sn/fr),Cr===void 0&&(Cr=Ut,Hr=Ht,Ut=0,Ht=0),tr!==void 0&&Gr===void 0&&(Gr=tr,sn=fr),tr===void 0&&Gr===void 0&&(Gr=yn.width,sn=yn.height);var jn=this.ctx.transform.decompose(),ds=Lr(jn.rotate.shx),ki=new $,gn=(ki=(ki=(ki=ki.multiply(jn.translate)).multiply(jn.skew)).multiply(jn.scale)).applyToRectangle(new O(Cr-Ut*wi,Hr-Ht*St,tr*Hn,fr*Qn));if(this.autoPaging){for(var Ri,ei=bt.call(this,gn),Ti=[],Bi=0;Bina||esgn||ei0)){for(;sn>=0;sn--)if(fr[sn-1].close!==!0&&fr[sn-1].begin!==!0){fr[sn-1].deltas.push(Ht),fr[sn-1].abs.push(Gr);break}}break;case"bct":Ht=[Gr.x1-Cr[Hr-1].x,Gr.y1-Cr[Hr-1].y,Gr.x2-Cr[Hr-1].x,Gr.y2-Cr[Hr-1].y,Gr.x-Cr[Hr-1].x,Gr.y-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"qct":var yn=Cr[Hr-1].x+2/3*(Gr.x1-Cr[Hr-1].x),Hn=Cr[Hr-1].y+2/3*(Gr.y1-Cr[Hr-1].y),Qn=Gr.x+2/3*(Gr.x1-Gr.x),wi=Gr.y+2/3*(Gr.y1-Gr.y),St=Gr.x,jn=Gr.y;Ht=[yn-Cr[Hr-1].x,Hn-Cr[Hr-1].y,Qn-Cr[Hr-1].x,wi-Cr[Hr-1].y,St-Cr[Hr-1].x,jn-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Gr)}}tr=Ut?null:et==="stroke"?"stroke":"fill";for(var ds=!1,ki=0;ki=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale);var as=this.autoPaging!=="text";if(as||li.y+li.h<=Bi){if(as||li.y>=ei&&li.x<=Is){var pi=as?et.text:this.pdf.splitTextToSize(et.text,et.maxWidth||Is-li.x)[0],Co=Yt([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-ks+ei+this.ctx.prevPageLastElemOffset)[0],Ks=as&&(Ri>ki||Ri=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else et.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale),this.pdf.text(et.text,sn.x+this.posX,sn.y+this.posY,{angle:et.angle,align:Ut,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),et.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Xt=function(et,Ut,Ht,tr){Ht=Ht||0,tr=tr||0,this.pdf.internal.out(s(et+Ht)+" "+c(Ut+tr)+" l")},Gt=function(et,Ut,Ht){return this.pdf.lines(et,Ut,Ht,null,null)},Ur=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){this.pdf.internal.out([a(d(Ht+et)),a(m(tr+Ut)),a(d(fr+et)),a(m(Cr+Ut)),a(d(Hr+et)),a(m(Gr+Ut)),"c"].join(" "))},Mr=function(et,Ut,Ht,tr){for(var fr=2*Math.PI,Cr=Math.PI/2;Ut>Ht;)Ut-=fr;var Hr=Math.abs(Ht-Ut);Hr1e-5;){var Hn=yn+sn*Math.min(Hr,Cr);Gr.push(Kr.call(this,et,yn,Hn)),Hr-=Math.abs(Hn-yn),yn=Hn}return Gr},Kr=function(et,Ut,Ht){var tr=(Ht-Ut)/2,fr=et*Math.cos(tr),Cr=et*Math.sin(tr),Hr=fr,Gr=-Cr,sn=Hr*Hr+Gr*Gr,yn=sn+Hr*fr+Gr*Cr,Hn=4/3*(Math.sqrt(2*sn*yn)-yn)/(Hr*Cr-Gr*fr),Qn=Hr-Hn*Gr,wi=Gr+Hn*Hr,St=Qn,jn=-wi,ds=tr+Ut,ki=Math.cos(ds),gn=Math.sin(ds);return{x1:et*Math.cos(Ut),y1:et*Math.sin(Ut),x2:Qn*ki-wi*gn,y2:Qn*gn+wi*ki,x3:St*ki-jn*gn,y3:St*gn+jn*ki,x4:et*Math.cos(Ht),y4:et*Math.sin(Ht)}},Lr=function(et){return 180*et/Math.PI},$r=function(et,Ut,Ht,tr,fr,Cr){var Hr=et+.5*(Ht-et),Gr=Ut+.5*(tr-Ut),sn=fr+.5*(Ht-fr),yn=Cr+.5*(tr-Cr),Hn=Math.min(et,fr,Hr,sn),Qn=Math.max(et,fr,Hr,sn),wi=Math.min(Ut,Cr,Gr,yn),St=Math.max(Ut,Cr,Gr,yn);return new O(Hn,wi,Qn-Hn,St-wi)},bn=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){var sn,yn,Hn,Qn,wi,St,jn,ds,ki,gn,Ri,ei,Ti,Bi,na=Ht-et,Is=tr-Ut,es=fr-Ht,ks=Cr-tr,Ts=Hr-fr,li=Gr-Cr;for(yn=0;yn<41;yn++)ki=(jn=(Hn=et+(sn=yn/40)*na)+sn*((wi=Ht+sn*es)-Hn))+sn*(wi+sn*(fr+sn*Ts-wi)-jn),gn=(ds=(Qn=Ut+sn*Is)+sn*((St=tr+sn*ks)-Qn))+sn*(St+sn*(Cr+sn*li-St)-ds),yn==0?(Ri=ki,ei=gn,Ti=ki,Bi=gn):(Ri=Math.min(Ri,ki),ei=Math.min(ei,gn),Ti=Math.max(Ti,ki),Bi=Math.max(Bi,gn));return new O(Math.round(Ri),Math.round(ei),Math.round(Ti-Ri),Math.round(Bi-ei))},ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var et,Ut,Ht=(et=this.ctx.lineDash,Ut=this.ctx.lineDashOffset,JSON.stringify({lineDash:et,lineDashOffset:Ut}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(qn.API),function(n){var a=function(W){var O,$,J,he,Ne,Ye,ce,wt,pt,bt;for(/[^\x00-\xFF]/.test(W),$=[],J=0,he=(W+=O="\0\0\0\0".slice(W.length%4||4)).length;he>J;J+=4)(Ne=(W.charCodeAt(J)<<24)+(W.charCodeAt(J+1)<<16)+(W.charCodeAt(J+2)<<8)+W.charCodeAt(J+3))!==0?(Ye=(Ne=((Ne=((Ne=((Ne=(Ne-(bt=Ne%85))/85)-(pt=Ne%85))/85)-(wt=Ne%85))/85)-(ce=Ne%85))/85)%85,$.push(Ye+33,ce+33,wt+33,pt+33,bt+33)):$.push(122);return function(rt,Yt){for(var jt=Yt;jt>0;jt--)rt.pop()}($,O.length),String.fromCharCode.apply(String,$)+"~>"},s=function(W){var O,$,J,he,Ne,Ye=String,ce="length",wt=255,pt="charCodeAt",bt="slice",rt="replace";for(W[bt](-2),W=W[bt](0,-2)[rt](/\s/g,"")[rt]("z","!!!!!"),J=[],he=0,Ne=(W+=O="uuuuu"[bt](W[ce]%5||5))[ce];Ne>he;he+=5)$=52200625*(W[pt](he)-33)+614125*(W[pt](he+1)-33)+7225*(W[pt](he+2)-33)+85*(W[pt](he+3)-33)+(W[pt](he+4)-33),J.push(wt&$>>24,wt&$>>16,wt&$>>8,wt&$);return function(Yt,jt){for(var Pt=jt;Pt>0;Pt--)Yt.pop()}(J,O[ce]),Ye.fromCharCode.apply(Ye,J)},c=function(W){return W.split("").map(function(O){return("0"+O.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(W){var O=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((W=W.replace(/\s/g,"")).indexOf(">")!==-1&&(W=W.substr(0,W.indexOf(">"))),W.length%2&&(W+="0"),O.test(W)===!1)return"";for(var $="",J=0;Jpt&&(wt=bt,bt=pt,pt=wt);else{if(O!=="l"&&O!=="landscape")throw"Invalid orientation: "+O;O="l",pt>bt&&(wt=bt,bt=pt,pt=wt)}return{width:bt,height:pt,unit:$,k:Ne,orientation:O}},n.html=function(O,$){($=$||{}).callback=$.callback||function(){},$.html2canvas=$.html2canvas||{},$.html2canvas.canvas=$.html2canvas.canvas||this.canvas,$.jsPDF=$.jsPDF||this,$.fontFaces=$.fontFaces?$.fontFaces.map(Al):null;var J=new W($);return $.worker?J:J.from(O).doCallback()}}(qn.API),qn.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ce=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ce+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,d,m){var W={title:d,options:m,children:[]};return c==null&&(c=this.root),c.children.push(W),W},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(c.children[m-1])),m0&&(this.line("/First "+this.makeRef(W.children[0])),this.line("/Last "+this.makeRef(W.children[W.children.length-1])));var O=this.count=this.count_r({count:0},W);if(O>0&&this.line("/Count "+O),W.options&&W.options.pageNumber){var $=s.internal.getPageInfo(W.options.pageNumber);this.line("/Dest ["+$.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var J=0;J>"}),"transparency"in at&&Array.isArray(at.transparency)&&at.transparency.length>0){for(var Hn="",Bn=0,kn=at.transparency.length;Bn>",Je.content=A;var Nt=Je.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=3};var S=e.__arabicParser__.arabicLetterHasMedialForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length==4},G=e.__arabicParser__.resolveLigatures=function(Je){var ot=0,Ne=t,Mt="",Nt=0;for(ot=0;ot>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(g){o=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(ko.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var p=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return p},set:function(Je){p=Je}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(Je){y=Je}});var S=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return S},set:function(Je){S=Je}});var G=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return G},set:function(Je){G=Je}});var ve=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ve},set:function(Je){ve=Je}});var x=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return x},set:function(Je){x=Je}});var rt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return rt},set:function(Je){rt=Je}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(p){return r.call(this),this.internal.__cell__.headerFunction=typeof p=="function"?p:void 0,this},e.getTextDimensions=function(p,y){r.call(this);var S=(y=y||{}).fontSize||this.getFontSize(),G=y.font||this.getFont(),ve=y.scaleFactor||this.internal.scaleFactor,x=0,rt=0,Je=0,ot=this;if(!Array.isArray(p)&&typeof p!="string"){if(typeof p!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");p=String(p)}var Ne=y.maxWidth;Ne>0?typeof p=="string"?p=this.splitTextToSize(p,Ne):Object.prototype.toString.call(p)==="[object Array]"&&(p=p.reduce(function(Nt,pt){return Nt.concat(ot.splitTextToSize(pt,Ne))},[])):p=Array.isArray(p)?p:[p];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),p.y=G.top,x&&ve&&(this.printHeaderRow(p.lineNumber,!0),p.y+=ve[0].height)):p.y=y.y+y.height||p.y),p.text[0]!==void 0&&(this.rect(p.x,p.y,p.width,p.height,t===!0?"FD":void 0),p.align==="right"?this.text(p.text,p.x+p.width-S,p.y+S,{align:"right",baseline:"top"}):p.align==="center"?this.text(p.text,p.x+p.width/2,p.y+S,{align:"center",baseline:"top",maxWidth:p.width-S-S}):this.text(p.text,p.x+S,p.y+S,{align:"left",baseline:"top",maxWidth:p.width-S-S})),this.internal.__cell__.lastCell=p,this};e.table=function(p,y,S,G,ve){if(r.call(this),!S)throw new Error("No data for PDF table.");var x,rt,Je,ot,Ne=[],Mt=[],Nt=[],pt={},xn={},Jn=[],Tn=[],Vt=(ve=ve||{}).autoSize||!1,mt=ve.printHeaders!==!1,un=ve.css&&ve.css["font-size"]!==void 0?16*ve.css["font-size"]:ve.fontSize||12,Le=ve.margins||Object.assign({width:this.getPageWidth()},n),at=typeof ve.padding=="number"?ve.padding:3,Rt=ve.headerBackgroundColor||"#c8c8c8",Pt=ve.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=mt,this.internal.__cell__.margins=Le,this.internal.__cell__.table_font_size=un,this.internal.__cell__.padding=at,this.internal.__cell__.headerBackgroundColor=Rt,this.internal.__cell__.headerTextColor=Pt,this.setFontSize(un),G==null)Mt=Ne=Object.keys(S[0]),Nt=Ne.map(function(){return"left"});else if(Array.isArray(G)&&(0,a.Z)(G[0])==="object")for(Ne=G.map(function(Hr){return Hr.name}),Mt=G.map(function(Hr){return Hr.prompt||Hr.name||""}),Nt=G.map(function(Hr){return Hr.align||"left"}),x=0;x0&&this.setTableHeaderRow(ve),this.setFont(void 0,"normal"),t=!1}}(ko.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Pc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=sA(Pc),rl=[100,200,300,400,500,600,700,800,900],Du=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),o=function(A){return typeof $s[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function Dc(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Kv(e,n,t){var r=e.length,o=[];o[0]=4;for(var A=0;A>A&v}function Zv(e,n,t,r){var o=t*r,A=Math.floor(o/8),v=16-(o-8*A+r),g=(1<>8&255;y.setUint8(S,ve)}})(e,A,zv(e,A)&~(g<>7,v=1<<1+(7&o);e[n++],e[n++];var g=null,p=null;A&&(g=n,p=v,n+=3*v);var y=!0,S=[],G=0,ve=null,x=0,rt=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Je=e[n++];G=e[n++]|e[n++]<<8,ve=e[n++],1&Je||(ve=null),x=Je>>2&7,n++;break;case 254:for(;;){if(!((Le=e[n++])>=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ot=e[n++]|e[n++]<<8,Ne=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Nt=e[n++]|e[n++]<<8,pt=e[n++],xn=pt>>6&1,Jn=1<<1+(7&pt),Tn=g,Vt=p,mt=!1;pt>>7&&(mt=!0,Tn=n,Vt=Jn,n+=3*Jn);var un=n;for(n++;;){var Le;if(!((Le=e[n++])>=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}S.push({x:ot,y:Ne,width:Mt,height:Nt,has_local_palette:mt,palette_offset:Tn,palette_size:Vt,data_offset:un,data_length:n-un,transparent_index:ve,interlaced:!!xn,delay:G,disposal:x});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return S.length},this.loopCount=function(){return rt},this.frameInfo=function(at){if(at<0||at>=S.length)throw new Error("Frame index out of range.");return S[at]},this.decodeAndBlitFrameBGRA=function(at,Rt){var Pt=this.frameInfo(at),Fn=Pt.width*Pt.height,Mn=new Uint8Array(Fn);kv(e,Pt.data_offset,Mn,Fn);var Hn=Pt.palette_offset,Bn=Pt.transparent_index;Bn===null&&(Bn=256);var kn=Pt.width,Hr=t-kn,dr=kn,Se=4*(Pt.y*t+Pt.x),gt=4*((Pt.y+Pt.height)*t+Pt.x),Ft=Se,jt=4*Hr;Pt.interlaced===!0&&(jt+=4*t*7);for(var Jt=8,bn=0,jn=Mn.length;bn=gt&&(jt=4*Hr+4*t*(Jt-1),Ft=Se+(kn+Hr)*(Jt<<1),Jt>>=1)),Zn===Bn)Ft+=4;else{var rr=e[Hn+3*Zn],Lr=e[Hn+3*Zn+1],po=e[Hn+3*Zn+2];Rt[Ft++]=po,Rt[Ft++]=Lr,Rt[Ft++]=rr,Rt[Ft++]=255}--dr}},this.decodeAndBlitFrameRGBA=function(at,Rt){var Pt=this.frameInfo(at),Fn=Pt.width*Pt.height,Mn=new Uint8Array(Fn);kv(e,Pt.data_offset,Mn,Fn);var Hn=Pt.palette_offset,Bn=Pt.transparent_index;Bn===null&&(Bn=256);var kn=Pt.width,Hr=t-kn,dr=kn,Se=4*(Pt.y*t+Pt.x),gt=4*((Pt.y+Pt.height)*t+Pt.x),Ft=Se,jt=4*Hr;Pt.interlaced===!0&&(jt+=4*t*7);for(var Jt=8,bn=0,jn=Mn.length;bn=gt&&(jt=4*Hr+4*t*(Jt-1),Ft=Se+(kn+Hr)*(Jt<<1),Jt>>=1)),Zn===Bn)Ft+=4;else{var rr=e[Hn+3*Zn],Lr=e[Hn+3*Zn+1],po=e[Hn+3*Zn+2];Rt[Ft++]=rr,Rt[Ft++]=Lr,Rt[Ft++]=po,Rt[Ft++]=255}--dr}}}function kv(e,n,t,r){for(var o=e[n++],A=1<>=p,S-=p,ot!==A){if(ot===v)break;for(var Ne=otA;)Nt=rt[Nt]>>8,++Mt;var pt=Nt;if(ve+Mt+(Ne!==ot?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[ve++]=pt;var xn=ve+=Mt;for(Ne!==ot&&(t[ve++]=pt),Nt=Ne;Mt--;)Nt=rt[Nt],t[--xn]=255&Nt,Nt>>=8;Je!==null&&g<4096&&(rt[g++]=Je<<8|pt,g>=y+1&&p<12&&(++p,y=y<<1|1)),Je=ot}else g=v+1,y=(1<<(p=o+1))-1,Je=null}return ve!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,o,A,v=Math.floor,g=new Array(64),p=new Array(64),y=new Array(64),S=new Array(64),G=new Array(65535),ve=new Array(65535),x=new Array(64),rt=new Array(64),Je=[],ot=0,Ne=7,Mt=new Array(64),Nt=new Array(64),pt=new Array(64),xn=new Array(256),Jn=new Array(2048),Tn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Vt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],mt=[0,1,2,3,4,5,6,7,8,9,10,11],un=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Le=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],at=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Pt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Fn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mn(Se,gt){for(var Ft=0,jt=0,Jt=new Array,bn=1;bn<=16;bn++){for(var jn=1;jn<=Se[bn];jn++)Jt[gt[jt]]=[],Jt[gt[jt]][0]=Ft,Jt[gt[jt]][1]=bn,jt++,Ft++;Ft*=2}return Jt}function Hn(Se){for(var gt=Se[0],Ft=Se[1]-1;Ft>=0;)gt&1<>8&255),Bn(255&Se)}function Hr(Se,gt,Ft,jt,Jt){for(var bn,jn=Jt[0],Zn=Jt[240],rr=function(wr,xa){var jo,ma,ua,dA,Li,Ga,Ti,Ni,Yo,ni,na=0;for(Yo=0;Yo<8;++Yo){jo=wr[na],ma=wr[na+1],ua=wr[na+2],dA=wr[na+3],Li=wr[na+4],Ga=wr[na+5],Ti=wr[na+6];var Cs=jo+(Ni=wr[na+7]),Xi=jo-Ni,mi=ma+Ti,yi=ma-Ti,YA=ua+Ga,ha=ua-Ga,DA=dA+Li,La=dA-Li,Xa=Cs+DA,JA=Cs-DA,xi=mi+YA,Sa=mi-YA;wr[na]=Xa+xi,wr[na+4]=Xa-xi;var fA=.707106781*(Sa+JA);wr[na+2]=JA+fA,wr[na+6]=JA-fA;var of=.382683433*((Xa=La+ha)-(Sa=yi+Xi)),Bl=.5411961*Xa+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Fa=Xi+du,Tu=Xi-du;wr[na+5]=Tu+Bl,wr[na+3]=Tu-Bl,wr[na+1]=Fa+Mu,wr[na+7]=Fa-Mu,na+=8}for(na=0,Yo=0;Yo<8;++Yo){jo=wr[na],ma=wr[na+8],ua=wr[na+16],dA=wr[na+24],Li=wr[na+32],Ga=wr[na+40],Ti=wr[na+48];var ju=jo+(Ni=wr[na+56]),sc=jo-Ni,lc=ma+Ti,us=ma-Ti,qs=ua+Ga,ol=ua-Ga,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,Kc=lc-qs;wr[na]=jc+Hc,wr[na+32]=jc-Hc;var cc=.707106781*(Kc+fu);wr[na+16]=fu+cc,wr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Kc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Kc+Af,_f=.707106781*(Hc=ol+us),Wf=sc+_f,Vf=sc-_f;wr[na+40]=Vf+hu,wr[na+24]=Vf-hu,wr[na+8]=Wf+sf,wr[na+56]=Wf-sf,na++}for(Yo=0;Yo<64;++Yo)ni=wr[Yo]*xa[Yo],x[Yo]=ni>0?ni+.5|0:ni-.5|0;return x}(Se,gt),Lr=0;Lr<64;++Lr)rt[Tn[Lr]]=rr[Lr];var po=rt[0]-Ft;Ft=rt[0],po==0?Hn(jt[0]):(Hn(jt[ve[bn=32767+po]]),Hn(G[bn]));for(var ho=63;ho>0&&rt[ho]==0;)ho--;if(ho==0)return Hn(jn),Ft;for(var sa,it=1;it<=ho;){for(var mo=it;rt[it]==0&&it<=ho;)++it;var fi=it-mo;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)Hn(Zn);fi&=15}bn=32767+rt[it],Hn(Jt[(fi<<4)+ve[bn]]),Hn(G[bn]),it++}return ho!=63&&Hn(jn),Ft}function dr(Se){Se=Math.min(Math.max(Se,1),100),A!=Se&&(function(gt){for(var Ft=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],jt=0;jt<64;jt++){var Jt=v((Ft[jt]*gt+50)/100);Jt=Math.min(Math.max(Jt,1),255),g[Tn[jt]]=Jt}for(var bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],jn=0;jn<64;jn++){var Zn=v((bn[jn]*gt+50)/100);Zn=Math.min(Math.max(Zn,1),255),p[Tn[jn]]=Zn}for(var rr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,po=0;po<8;po++)for(var ho=0;ho<8;ho++)y[Lr]=1/(g[Tn[Lr]]*rr[po]*rr[ho]*8),S[Lr]=1/(p[Tn[Lr]]*rr[po]*rr[ho]*8),Lr++}(Se<50?Math.floor(5e3/Se):Math.floor(200-2*Se)),A=Se)}this.encode=function(Se,gt){gt&&dr(gt),Je=new Array,ot=0,Ne=7,kn(65496),kn(65504),kn(16),Bn(74),Bn(70),Bn(73),Bn(70),Bn(0),Bn(1),Bn(1),Bn(0),kn(1),kn(1),Bn(0),Bn(0),function(){kn(65499),kn(132),Bn(0);for(var ma=0;ma<64;ma++)Bn(g[ma]);Bn(1);for(var ua=0;ua<64;ua++)Bn(p[ua])}(),function(ma,ua){kn(65472),kn(17),Bn(8),kn(ua),kn(ma),Bn(3),Bn(1),Bn(17),Bn(0),Bn(2),Bn(17),Bn(1),Bn(3),Bn(17),Bn(1)}(Se.width,Se.height),function(){kn(65476),kn(418),Bn(0);for(var ma=0;ma<16;ma++)Bn(Vt[ma+1]);for(var ua=0;ua<=11;ua++)Bn(mt[ua]);Bn(16);for(var dA=0;dA<16;dA++)Bn(un[dA+1]);for(var Li=0;Li<=161;Li++)Bn(Le[Li]);Bn(1);for(var Ga=0;Ga<16;Ga++)Bn(at[Ga+1]);for(var Ti=0;Ti<=11;Ti++)Bn(Rt[Ti]);Bn(17);for(var Ni=0;Ni<16;Ni++)Bn(Pt[Ni+1]);for(var Yo=0;Yo<=161;Yo++)Bn(Fn[Yo])}(),kn(65498),kn(12),Bn(3),Bn(1),Bn(0),Bn(2),Bn(17),Bn(3),Bn(17),Bn(0),Bn(63),Bn(0);var Ft=0,jt=0,Jt=0;ot=0,Ne=7,this.encode.displayName="_encode_";for(var bn,jn,Zn,rr,Lr,po,ho,sa,it,mo=Se.data,fi=Se.width,Ca=Se.height,wr=4*fi,xa=0;xa>3)*wr+(ho=4*(7&it)),xa+sa>=Ca&&(po-=wr*(xa+1+sa-Ca)),bn+ho>=wr&&(po-=bn+ho-wr+4),jn=mo[po++],Zn=mo[po++],rr=mo[po++],Mt[it]=(Jn[jn]+Jn[Zn+256|0]+Jn[rr+512|0]>>16)-128,Nt[it]=(Jn[jn+768|0]+Jn[Zn+1024|0]+Jn[rr+1280|0]>>16)-128,pt[it]=(Jn[jn+1280|0]+Jn[Zn+1536|0]+Jn[rr+1792|0]>>16)-128;Ft=Hr(Mt,y,Ft,n,r),jt=Hr(Nt,S,jt,t,o),Jt=Hr(pt,S,Jt,t,o),bn+=32}xa+=8}if(Ne>=0){var jo=[];jo[1]=Ne+1,jo[0]=(1<at;at++)if(mt[un+at]!=Le.charCodeAt(at))return!0;return!1}function r(mt,un,Le,at,Rt){for(var Pt=0;PtPt+1?[]:new un),!(Fn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Le(s,h,B,P,q){n(!(P%B));do s[h+(P-=B)]=q;while(0=q),512>=q)var me=A(512);else if((me=A(q))==null)return 0;return function(xe,Ze,We,st,_t,Cn){var lt,Xt,dn=Ze,Xn=1<lt;++lt){if(wn[lt]>1<(si-=wn[lt]))return 0;for(;0=lt;++lt,_t<<=1){if(Mo+=si<<=1,0>(si-=wn[lt]))return 0;for(;0Fr&&!(0>=(nr-=wn[Fr]));)++Fr,nr<<=1;Xn+=_o=1<<(nr=Fr-We),xe[Ze+(Fr=ea&hr)].g=nr+We,xe[Ze+Fr].value=dn-Ze-Fr}st.g=lt-We,st.value=Cn[Xt++],Le(xe,dn+(ea>>We),_t,_o,st),ea=un(ea,lt)}}return Mo!=2*$n[15]-1?0:Xn}(s,h,B,P,q,me)}function Rt(){this.value=this.g=0}function Pt(){this.value=this.g=0}function Fn(){this.G=v(5,Rt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Pt)}function Mn(s,h,B,P){n(s!=null),n(h!=null),n(2147483648>P),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+P,s.Zc=4<=P?B+P-4+1:B,jn(s)}function Hn(s,h){for(var B=0;0P),s.Sb=P,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;jt(s)&&(s.h=1,s.u=0)}function dr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Ft(s)&Wl[h];return s.u+=h,Hr(s),B}return s.h=1,s.u=0}function Se(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function gt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ft(s){return s.Ra>>>(s.u&xd-1)>>>0}function jt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function Jt(s,h){s.u=h,s.h=jt(s)}function bn(s){s.u>=Yu&&(n(s.u>=Yu),Hr(s))}function jn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&jn(s);var P=s.b,q=B*h>>>8,me=(s.I>>>P>q)+0;for(me?(B-=q,s.I-=q+1<

>>0):B=q+1,P=B,q=0;256<=P;)q+=8,P>>=8;return P=7^q+Ed[P],s.b-=P,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function po(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return po(s,h)|s[h+2]<<16}function sa(s,h){return po(s,h)|po(s,h+2)<<16}function it(s,h){var B=1<=q||0>=me?0:(B[0]=q,P[0]=me,1)}function wr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){mt[h]=function(B,P,q,me,xe,Ze,We){var st;for(st=0;st>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Ga(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,P,q,me,xe){for(P=me[xe-1],B=0;B>8&255,We=16711935&(We=(We=16711935&xe)+((Ze<<16)+Ze));P[q+me]=(4278255360&xe)+We>>>0}}function Yo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,P,q,me){var xe;for(xe=0;xe>>8,st=Ze,_t=255&(_t=(_t=Ze>>>16)+((s.jd<<24>>24)*(We<<24>>24)>>>5));st=255&(st=(st+=(s.hd<<24>>24)*(We<<24>>24)>>>5)+((s.ud<<24>>24)*(_t<<24>>24)>>>5)),q[me+xe]=(4278255360&Ze)+(_t<<16)+st}}function na(s,h,B,P,q){mt[h]=function(me,xe,Ze,We,st,_t,Cn,lt,Xt){for(We=Cn;We>me.b,Xt=me.Ea,dn=me.K[0],Xn=me.w;if(8>lt)for(me=(1<>=lt}else mt["VP8LMapColor"+B](We,st,dn,Xn,_t,Cn,xe,Ze,Xt)}}function Cs(s,h,B,P,q){for(B=h+B;h>16&255,P[q++]=me>>8&255,P[q++]=255&me}}function Xi(s,h,B,P,q){for(B=h+B;h>16&255,P[q++]=me>>8&255,P[q++]=255&me,P[q++]=me>>24&255}}function mi(s,h,B,P,q){for(B=h+B;h>16&240|xe>>12&15,xe=240&xe|xe>>28&15;P[q++]=me,P[q++]=xe}}function yi(s,h,B,P,q){for(B=h+B;h>16&248|xe>>13&7,xe=xe>>5&224|xe>>3&31;P[q++]=me,P[q++]=xe}}function YA(s,h,B,P,q){for(B=h+B;h>8&255,P[q++]=me>>16&255}}function ha(s,h,B,P,q,me){if(me==0)for(B=h+B;h>24|me[1]>>8&65280|me[2]<<8&16711680|me[3]<<24)>>>0),q+=32;else r(P,q,s,h,B)}function DA(s,h){mt[h][0]=mt[s+"0"],mt[h][1]=mt[s+"1"],mt[h][2]=mt[s+"2"],mt[h][3]=mt[s+"3"],mt[h][4]=mt[s+"4"],mt[h][5]=mt[s+"5"],mt[h][6]=mt[s+"6"],mt[h][7]=mt[s+"7"],mt[h][8]=mt[s+"8"],mt[h][9]=mt[s+"9"],mt[h][10]=mt[s+"10"],mt[h][11]=mt[s+"11"],mt[h][12]=mt[s+"12"],mt[h][13]=mt[s+"13"],mt[h][14]=mt[s+"0"],mt[h][15]=mt[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function Xa(){this.eb=[],this.size=this.A=this.fb=0}function JA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Xa,this.f.kb=new JA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,P=h.ba.f.RGBA,q=P.eb,me=P.fb+s.ka*P.A,xe=vc[h.ba.S],Ze=s.y,We=s.O,st=s.f,_t=s.N,Cn=s.ea,lt=s.W,Xt=h.cc,dn=h.dc,Xn=h.Mc,wn=h.Nc,$n=s.ka,nr=s.ka+s.T,Fr=s.U,hr=Fr+1>>1;for($n==0?xe(Ze,We,null,null,st,_t,Cn,lt,st,_t,Cn,lt,q,me,null,null,Fr):(xe(h.ec,h.fc,Ze,We,Xt,dn,Xn,wn,st,_t,Cn,lt,q,me-P.A,q,me,Fr),++B);$n+2B,q=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,q?11:12))return 0;if(q&&La(B)&&Jh(),s.da)alert("todo:use_scaling");else{if(P){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Jh()}}else alert("todo:EmitYUV");q&&(h.Jb=Mu,P&&zc())}if(P&&!yp){for(s=0;256>s;++s)pm[s]=89858*(s-128)+mg>>pg,bm[s]=-22014*(s-128)+mg,ym[s]=-45773*(s-128),mm[s]=113618*(s-128)+mg>>pg;for(s=c0;s>pg,wm[s-c0]=gu(h,255),Bm[s-c0]=gu(h+8>>4,15);yp=1}return 1}function Fa(s){var h=s.ma,B=s.U,P=s.T;return n(!(1&s.ka)),0>=B||0>=P?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,P){return dr(s,8)!=47?0:(h[0]=dr(s,14)+1,B[0]=dr(s,14)+1,P[0]=dr(s,1),dr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var P=Ft(B),q=s[h+=255&P].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var P=s.xc;return n((h=P==0?0:s.vc[s.md*(B>>P)+(h>>P)])>_o.b)*Mo;XnFr&&(Wo=Fr),(0,o0[ji[Zs++]>>8&15])(lt,Xt+ +li,$n,nr+li-Fr,Wo-li,$n,nr+li),li=Wo}Xt+=Fr,nr+=Fr,++Xn&ea||(_o+=Mo)}Cn!=st.nc&&r(We,Ze-dn,We,Ze+(Cn-_t-1)*dn,dn);break;case 1:for(dn=lt,wn=Xt,Fr=(lt=st.Ea)-(nr=lt&~($n=(Xt=1<>st.b)*Xn;_t=q),0me.o&&(P=me.o),B=P?B=0:(q[0]+=4*me.v,me.ka=B-me.j,me.U=me.va-me.v,me.T=P-B,B=1),B){if(Ze=Ze[0],11>(B=s.ca).S){var _t=B.f.RGBA,Cn=(P=B.S,q=me.U,me=me.T,st=_t.eb,_t.A),lt=me;for(_t=_t.fb+s.Ma*_t.A;0P){var q=s.l.width,me=B.ca,xe=B.tb+q*P,Ze=s.V,We=s.Ba+s.c*P,st=s.gc;n(s.ab==1),n(st[0].hc==3),yu(st[0],P,h,Ze,We,me,xe),fu(B,P,h,me,xe,q)}s.C=s.Ma=h}function Kc(s,h,B,P,q,me,xe){var Ze=s.$/P,We=s.$%P,st=s.m,_t=s.s,Cn=B+s.$,lt=Cn;q=B+P*q;var Xt=B+P*me,dn=280+_t.ua,Xn=s.Pb?Ze:16777216,wn=0<_t.ua?_t.Wa:null,$n=_t.wc,nr=Cn=Xn){var ea=Cn-B;n((Xn=s).Pb),Xn.wd=Xn.m,Xn.xd=ea,0si.g?(Jt(hr,hr.u+si.g),ea[Mo]=si.value,hr=0):(Jt(hr,hr.u+si.g-256),n(256<=si.value),hr=si.value),hr==0&&(Fr=!0)}else hr=us(nr.G[0],nr.H[0],st);if(st.h)break;if(Fr||256>hr){if(!Fr)if(nr.nd)h[Cn]=(nr.qb|hr<<8)>>>0;else{if(bn(st),Fr=us(nr.G[1],nr.H[1],st),bn(st),ea=us(nr.G[2],nr.H[2],st),Mo=us(nr.G[3],nr.H[3],st),st.h)break;h[Cn]=(Mo<<24|Fr<<16|hr<<8|ea)>>>0}if(Fr=!1,++Cn,++We>=P&&(We=0,++Ze,xe!=null&&Ze<=me&&!(Ze%16)&&xe(s,Ze),wn!=null))for(;lt>>wn.Mb]=hr}else if(280>hr){if(hr=sc(hr-256,st),ea=us(nr.G[4],nr.H[4],st),bn(st),ea=lc(P,ea=sc(ea,st)),st.h)break;if(Cn-B=P;)We-=P,++Ze,xe!=null&&Ze<=me&&!(Ze%16)&&xe(s,Ze);if(n(Cn<=q),We&$n&&(nr=ol(_t,We,Ze)),wn!=null)for(;lt>>wn.Mb]=hr}else{if(!(hr>>wn.Mb]=hr;hr=Cn,n(!(Fr>>>(ea=wn).Xa)),h[hr]=ea.X[Fr],Fr=!0}Fr||n(st.h==jt(st))}if(s.Pb&&st.h&&Cnme?me:Ze),s.a=0,s.$=Cn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fp,DA("Predictor","VP8LPredictors"),DA("Predictor","VP8LPredictors_C"),DA("PredictorAdd","VP8LPredictorsAdd"),DA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Cs,Sd=Xi,Fd=mi,Id=yi,bf=YA,mt.VP8LMapColor32b=mu,mt.VP8LMapColor8b=r0,s)}function hu(s,h,B,P,q){var me=1,xe=[s],Ze=[h],We=P.m,st=P.s,_t=null,Cn=0;e:for(;;){if(B)for(;me&&dr(We,1);){var lt=xe,Xt=Ze,dn=P,Xn=1,wn=dn.m,$n=dn.gc[dn.ab],nr=dr(wn,2);if(dn.Oc&1<=dn.ab),nr){case 0:case 1:$n.b=dr(wn,3)+2,Xn=hu(wr($n.Ea,$n.b),wr($n.nc,$n.b),0,dn,$n.K),$n.K=$n.K[0];break;case 3:var Fr,hr=dr(wn,8)+1,ea=16>_o.b),Zs=A(ji);if(Zs==null)Fr=0;else{var li=_o.K[0],Wo=_o.w;for(Zs[0]=_o.K[0][0],Mo=1;Mo<1*si;++Mo)Zs[Mo]=xa(li[Wo+Mo],Zs[Mo-1]);for(;Mo<4*ji;++Mo)Zs[Mo]=0;_o.K[0]=null,_o.K[0]=Zs,Fr=1}}Xn=Fr;break;case 2:break;default:n(0)}me=Xn}}if(xe=xe[0],Ze=Ze[0],me&&dr(We,1)&&!(me=1<=(Cn=dr(We,4))&&11>=Cn)){P.a=3;break e}var Ao;if(Ao=me)t:{var Ss,Ya,ki,kA=P,Al=xe,Ul=Ze,ds=Cn,Cl=B,Ll=kA.m,zs=kA.s,Ji=[null],BA=1,fs=0,CA=om[ds];n:for(;;){if(Cl&&dr(Ll,1)){var sl=dr(Ll,3)+2,_c=wr(Al,sl),Fs=wr(Ul,sl),jl=_c*Fs;if(!hu(_c,Fs,0,kA,Ji))break n;for(Ji=Ji[0],zs.xc=sl,Ss=0;Ss>8&65535;Ji[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Ya=0;5>Ya;++Ya){var ks=up[Ya];!Ya&&0=Nl),Jl=Yl;var Hl=A(fs);if(Jl==null||Hl==null||Xl==null){kA.a=1;break n}var $l=Xl;for(Ss=ki=0;SsYa;++Ya){ks=up[Ya],ql[Ya]=$l,Wc[Ya]=ki,!Ya&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sp[d0++]=rh,rh!=0&&(Fp=rh);else{var Nm=rh==16,Up=rh-16,Qm=em[Up],Lp=dr(Qd,qp[Up])+Qm;if(d0+Lp>xg)break r;for(var Pm=Nm?Fp:0;0=Ya){var f0,Bv=Hl[0];for(f0=1;f0Bv&&(Bv=Hl[f0]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][Wc[3]+0].value<<24|ql[1][Wc[1]+0].value<<16|ql[2][Wc[2]+0].value)>>>0,Bf==0&&256>ql[0][Wc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][Wc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Dd),Pd>>=qs(ed.G[1][ed.H[1]+Pd],16,Dd),Pd>>=qs(ed.G[2][ed.H[2]+Pd],0,Dd),qs(ed.G[3][ed.H[3]+Pd],24,Dd))}}}zs.vc=Ji,zs.Wb=BA,zs.Ya=Jl,zs.yc=Xl,Ao=1;break t}Ao=0}if(!(me=Ao)){P.a=3;break e}if(0P+1?[]:0),!(q.lengths?0:s>h?h:s}function Gf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xg(){var s=new Y0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=Xf)),s}function Qs(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function J0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Qs(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,P=h.w,q=h.ha;if(4>q)return Qs(s,7,"Truncated header.");var me=B[P+0]|B[P+1]<<8|B[P+2]<<16,xe=s.Od;if(xe.Rb=!(1&me),xe.td=me>>1&7,xe.yd=me>>4&1,xe.ub=me>>5,3q)return Qs(s,7,"cannot parse picture header");if(!J0(B,P,q))return Qs(s,3,"Bad code word");Ze.c=16383&(B[P+4]<<8|B[P+3]),Ze.Td=B[P+4]>>6,Ze.i=16383&(B[P+6]<<8|B[P+5]),Ze.Ud=B[P+6]>>6,P+=7,q-=7,s.za=Ze.c+15>>4,s.Ub=Ze.i+15>>4,h.width=Ze.c,h.height=Ze.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,o((me=s.Pa).jb,0,255,me.jb.length),n((me=s.Qa)!=null),me.Cb=0,me.Bb=0,me.Fb=1,o(me.Zb,0,0,me.Zb.length),o(me.Lb,0,0,me.Lb)}if(xe.ub>q)return Qs(s,7,"bad partition length");Mn(me=s.m,B,P,xe.ub),P+=xe.ub,q-=xe.ub,xe.Rb&&(Ze.Ld=Zn(me),Ze.Kd=Zn(me)),Ze=s.Qa;var We,st=s.Pa;if(n(me!=null),n(Ze!=null),Ze.Cb=Zn(me),Ze.Cb){if(Ze.Bb=Zn(me),Zn(me)){for(Ze.Fb=Zn(me),We=0;4>We;++We)Ze.Zb[We]=Zn(me)?Bn(me,7):0;for(We=0;4>We;++We)Ze.Lb[We]=Zn(me)?Bn(me,6):0}if(Ze.Bb)for(We=0;3>We;++We)st.jb[We]=Zn(me)?Hn(me,8):255}else Ze.Bb=0;if(me.Ka)return Qs(s,3,"cannot parse segment header");if((Ze=s.ed).zd=Zn(me),Ze.Tb=Hn(me,6),Ze.wb=Hn(me,3),Ze.Pc=Zn(me),Ze.Pc&&Zn(me)){for(st=0;4>st;++st)Zn(me)&&(Ze.vd[st]=Bn(me,6));for(st=0;4>st;++st)Zn(me)&&(Ze.od[st]=Bn(me,6))}if(s.L=Ze.Tb==0?0:Ze.zd?1:2,me.Ka)return Qs(s,3,"cannot parse filter header");var _t=q;if(q=We=P,P=We+_t,Ze=_t,s.Xb=(1<Ze&&(Cn=Ze),Mn(s.Jc[+_t],B,We,Cn),We+=Cn,Ze-=Cn,q+=3}Mn(s.Jc[+st],B,We,Ze),B=WeCn;++Cn){if(_t.Cb){var lt=_t.Zb[Cn];_t.Fb||(lt+=B)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=gv[gu(lt+st,117)],Xt.Qc[1]=vv[gu(lt+We,127)],Xt.lc=lt+We}if(!xe.Rb)return Qs(s,4,"Not a key frame.");for(Zn(me),xe=s.Pa,B=0;4>B;++B){for(q=0;8>q;++q)for(P=0;3>P;++P)for(Ze=0;11>Ze;++Ze)st=rr(me,cm[B][q][P][Ze])?Hn(me,8):sm[B][q][P][Ze],xe.Wc[B][q].Yb[P][Ze]=st;for(q=0;17>q;++q)xe.Xc[B][q]=xe.Wc[B][um[q]]}return s.kc=Zn(me),s.kc&&(s.Bd=Hn(me,8)),s.cb=1}function Xf(s,h,B,P,q,me,xe){var Ze=h[q].Yb[B];for(B=0;16>q;++q){if(!rr(s,Ze[B+0]))return q;for(;!rr(s,Ze[B+1]);)if(Ze=h[++q].Yb[0],B=0,q==16)return 16;var We=h[q+1].Yb;if(rr(s,Ze[B+2])){var st=s,_t=0;if(rr(st,(lt=Ze)[(Cn=B)+3]))if(rr(st,lt[Cn+6])){for(Ze=0,Cn=2*(_t=rr(st,lt[Cn+8]))+(lt=rr(st,lt[Cn+9+_t])),_t=0,lt=im[Cn];lt[Ze];++Ze)_t+=_t+rr(st,lt[Ze]);_t+=3+(8<(st=s).b&&jn(st);var Cn,lt=st.b,Xt=(Cn=st.Ca>>1)-(st.I>>lt)>>31;--st.b,st.Ca+=Xt,st.Ca|=1,st.I-=(Cn+1&Xt)<>3),s[h+B+32*P]=-256&q?0>q?0:255:q}function js(s,h,B,P,q,me){dc(s,h,0,B,P+q),dc(s,h,1,B,P+me),dc(s,h,2,B,P-me),dc(s,h,3,B,P-q)}function Hu(s){return(20091*s>>16)+s}function q0(s,h,B,P){var q,me=0,xe=A(16);for(q=0;4>q;++q){var Ze=s[h+0]+s[h+8],We=s[h+0]-s[h+8],st=(35468*s[h+4]>>16)-Hu(s[h+12]),_t=Hu(s[h+4])+(35468*s[h+12]>>16);xe[me+0]=Ze+_t,xe[me+1]=We+st,xe[me+2]=We-st,xe[me+3]=Ze-_t,me+=4,h++}for(q=me=0;4>q;++q)Ze=(s=xe[me+0]+4)+xe[me+8],We=s-xe[me+8],st=(35468*xe[me+4]>>16)-Hu(xe[me+12]),dc(B,P,0,0,Ze+(_t=Hu(xe[me+4])+(35468*xe[me+12]>>16))),dc(B,P,1,0,We+st),dc(B,P,2,0,We-st),dc(B,P,3,0,Ze-_t),me++,P+=32}function Yg(s,h,B,P){var q=s[h+0]+4,me=35468*s[h+4]>>16,xe=Hu(s[h+4]),Ze=35468*s[h+1]>>16;js(B,P,0,q+xe,s=Hu(s[h+1]),Ze),js(B,P,1,q+me,s,Ze),js(B,P,2,q-me,s,Ze),js(B,P,3,q-xe,s,Ze)}function Jg(s,h,B,P,q){q0(s,h,B,P),q&&q0(s,h+16,B,P+4)}function pu(s,h,B,P){wf(s,h+0,B,P,1),wf(s,h+32,B,P+128,1)}function eg(s,h,B,P){var q;for(s=s[h+0]+4,q=0;4>q;++q)for(h=0;4>h;++h)dc(B,P,h,q,s)}function tg(s,h,B,P){s[h+0]&&hA(s,h+0,B,P),s[h+16]&&hA(s,h+16,B,P+4),s[h+32]&&hA(s,h+32,B,P+128),s[h+48]&&hA(s,h+48,B,P+128+4)}function Yf(s,h,B,P){var q,me=A(16);for(q=0;4>q;++q){var xe=s[h+0+q]+s[h+12+q],Ze=s[h+4+q]+s[h+8+q],We=s[h+4+q]-s[h+8+q],st=s[h+0+q]-s[h+12+q];me[0+q]=xe+Ze,me[8+q]=xe-Ze,me[4+q]=st+We,me[12+q]=st-We}for(q=0;4>q;++q)xe=(s=me[0+4*q]+3)+me[3+4*q],Ze=me[1+4*q]+me[2+4*q],We=me[1+4*q]-me[2+4*q],st=s-me[3+4*q],B[P+0]=xe+Ze>>3,B[P+16]=st+We>>3,B[P+32]=xe-Ze>>3,B[P+48]=st-We>>3,P+=64}function lf(s,h,B){var P,q=h-32,me=Gl,xe=255-s[q-1];for(P=0;PB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0P;++P)o(h,B+32*P,s,16)}function tv(s,h){var B,P=16;for(B=0;16>B;++B)P+=s[h-1+32*B]+s[h+B-32];Zc(P>>5,s,h)}function cf(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h-1+32*B];Zc(P>>4,s,h)}function kh(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h+B-32];Zc(P>>4,s,h)}function nv(s,h){Zc(128,s,h)}function Ka(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,P=h-32;for(P=new Uint8Array([Ka(s[P-1],s[P+0],s[P+1]),Ka(s[P+0],s[P+1],s[P+2]),Ka(s[P+1],s[P+2],s[P+3]),Ka(s[P+2],s[P+3],s[P+4])]),B=0;4>B;++B)r(s,h+32*B,P,0,P.length)}function ov(s,h){var B=s[h-1],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96];Lr(s,h+0,16843009*Ka(s[h-1-32],B,P)),Lr(s,h+32,16843009*Ka(B,P,q)),Lr(s,h+64,16843009*Ka(P,q,me)),Lr(s,h+96,16843009*Ka(q,me,me))}function av(s,h){var B,P=4;for(B=0;4>B;++B)P+=s[h+B-32]+s[h-1+32*B];for(P>>=3,B=0;4>B;++B)o(s,h+32*B,P,4)}function Ku(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1-32],xe=s[h+0-32],Ze=s[h+1-32],We=s[h+2-32],st=s[h+3-32];s[h+0+96]=Ka(P,q,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ka(B,P,q),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ka(me,B,P),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ka(xe,me,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ka(Ze,xe,me),s[h+3+32]=s[h+2+0]=Ka(We,Ze,xe),s[h+3+0]=Ka(st,We,Ze)}function Zu(s,h){var B=s[h+1-32],P=s[h+2-32],q=s[h+3-32],me=s[h+4-32],xe=s[h+5-32],Ze=s[h+6-32],We=s[h+7-32];s[h+0+0]=Ka(s[h+0-32],B,P),s[h+1+0]=s[h+0+32]=Ka(B,P,q),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ka(P,q,me),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ka(q,me,xe),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ka(me,xe,Ze),s[h+3+64]=s[h+2+96]=Ka(xe,Ze,We),s[h+3+96]=Ka(Ze,We,We)}function iv(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1-32],xe=s[h+0-32],Ze=s[h+1-32],We=s[h+2-32],st=s[h+3-32];s[h+0+0]=s[h+1+64]=me+xe+1>>1,s[h+1+0]=s[h+2+64]=xe+Ze+1>>1,s[h+2+0]=s[h+3+64]=Ze+We+1>>1,s[h+3+0]=We+st+1>>1,s[h+0+96]=Ka(q,P,B),s[h+0+64]=Ka(P,B,me),s[h+0+32]=s[h+1+96]=Ka(B,me,xe),s[h+1+32]=s[h+2+96]=Ka(me,xe,Ze),s[h+2+32]=s[h+3+96]=Ka(xe,Ze,We),s[h+3+32]=Ka(Ze,We,st)}function Av(s,h){var B=s[h+0-32],P=s[h+1-32],q=s[h+2-32],me=s[h+3-32],xe=s[h+4-32],Ze=s[h+5-32],We=s[h+6-32],st=s[h+7-32];s[h+0+0]=B+P+1>>1,s[h+1+0]=s[h+0+64]=P+q+1>>1,s[h+2+0]=s[h+1+64]=q+me+1>>1,s[h+3+0]=s[h+2+64]=me+xe+1>>1,s[h+0+32]=Ka(B,P,q),s[h+1+32]=s[h+0+96]=Ka(P,q,me),s[h+2+32]=s[h+1+96]=Ka(q,me,xe),s[h+3+32]=s[h+2+96]=Ka(me,xe,Ze),s[h+3+64]=Ka(xe,Ze,We),s[h+3+96]=Ka(Ze,We,st)}function Jf(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96];s[h+0+0]=B+P+1>>1,s[h+2+0]=s[h+0+32]=P+q+1>>1,s[h+2+32]=s[h+0+64]=q+me+1>>1,s[h+1+0]=Ka(B,P,q),s[h+3+0]=s[h+1+32]=Ka(P,q,me),s[h+3+32]=s[h+1+64]=Ka(q,me,me),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=me}function _h(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96],xe=s[h-1-32],Ze=s[h+0-32],We=s[h+1-32],st=s[h+2-32];s[h+0+0]=s[h+2+32]=B+xe+1>>1,s[h+0+32]=s[h+2+64]=P+B+1>>1,s[h+0+64]=s[h+2+96]=q+P+1>>1,s[h+0+96]=me+q+1>>1,s[h+3+0]=Ka(Ze,We,st),s[h+2+0]=Ka(xe,Ze,We),s[h+1+0]=s[h+3+32]=Ka(B,xe,Ze),s[h+1+32]=s[h+3+64]=Ka(P,B,xe),s[h+1+64]=s[h+3+96]=Ka(q,P,B),s[h+1+96]=Ka(me,q,P)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)o(s,h,s[h-1],8),h+=32}function zu(s,h,B){var P;for(P=0;8>P;++P)o(h,B+32*P,s,8)}function lv(s,h){var B,P=8;for(B=0;8>B;++B)P+=s[h+B-32]+s[h-1+32*B];zu(P>>4,s,h)}function Wh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h+B-32];zu(P>>3,s,h)}function Vh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h-1+32*B];zu(P>>3,s,h)}function rg(s,h){zu(128,s,h)}function ku(s,h,B){var P=s[h-B],q=s[h+0],me=3*(q-P)+cv[1020+s[h-2*B]-s[h+B]],xe=ug[112+(me+4>>3)];s[h-B]=Gl[255+P+ug[112+(me+3>>3)]],s[h+0]=Gl[255+q-xe]}function Gh(s,h,B,P){var q=s[h+0],me=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>P||gc[255+me-q]>P}function $f(s,h,B,P){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=P}function Xh(s,h,B,P,q){var me=s[h-3*B],xe=s[h-2*B],Ze=s[h-B],We=s[h+0],st=s[h+B],_t=s[h+2*B],Cn=s[h+3*B];return 4*gc[255+Ze-We]+gc[255+xe-st]>P?0:gc[255+s[h-4*B]-me]<=q&&gc[255+me-xe]<=q&&gc[255+xe-Ze]<=q&&gc[255+Cn-_t]<=q&&gc[255+_t-st]<=q&&gc[255+st-We]<=q}function df(s,h,B,P){var q=2*P+1;for(P=0;16>P;++P)$f(s,h+P,B,q)&&ku(s,h+P,B)}function Yh(s,h,B,P){var q=2*P+1;for(P=0;16>P;++P)$f(s,h+P*B,1,q)&&ku(s,h+P*B,1)}function og(s,h,B,P){var q;for(q=3;0>7,$n=18*nr+63>>7,nr=9*nr+63>>7;We[st-3*_t]=Gl[255+We[st-3*_t]+nr],We[st-2*_t]=Gl[255+Cn+$n],We[st-_t]=Gl[255+lt+wn],We[st+0]=Gl[255+Xt-wn],We[st+_t]=Gl[255+dn-$n],We[st+2*_t]=Gl[255+Xn-nr]}h+=P}}function Wu(s,h,B,P,q,me,xe,Ze){for(me=2*me+1;0>3)],Xn=ug[112+(Xn+3>>3)],wn=dn+1>>1;We[st-2*_t]=Gl[255+We[st-2*_t]+wn],We[st-_t]=Gl[255+Cn+Xn],We[st+0]=Gl[255+lt-dn],We[st+_t]=Gl[255+Xt-wn]}h+=P}}function ig(s,h,B,P,q,me){_u(s,h,B,1,16,P,q,me)}function ff(s,h,B,P,q,me){_u(s,h,1,B,16,P,q,me)}function Ag(s,h,B,P,q,me){var xe;for(xe=3;0st?0:255:st)&255,st=We,q[me+Ze]=_t}}function RA(s,h,B,P){var q=h.width,me=h.o;if(n(s!=null&&h!=null),0>B||0>=P||B+P>me)return null;if(!s.Cc){if(s.ga==null){var xe;if(s.ga=new ri,(xe=s.ga==null)||(xe=h.width*h.o,n(s.Gb.length==0),s.Gb=A(xe),s.Uc=0,s.Gb==null?xe=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,xe=1),xe=!xe),!xe){xe=s.ga;var Ze=s.Fa,We=s.P,st=s.qc,_t=s.mb,Cn=s.nb,lt=We+1,Xt=st-1,dn=xe.l;if(n(Ze!=null&&_t!=null&&h!=null),Ld[0]=null,Ld[1]=Yi,Ld[2]=ns,Ld[3]=Ps,xe.ca=_t,xe.tb=Cn,xe.c=h.width,xe.i=h.height,n(0=st)h=0;else if(xe.$a=3&Ze[We+0],xe.Z=Ze[We+0]>>2&3,xe.Lc=Ze[We+0]>>4&3,We=Ze[We+0]>>6&3,0>xe.$a||1=xe.c*xe.i;xe=!h}if(xe)return null;s.ga.Lc!=1?s.Ga=0:P=me-B}n(s.ga!=null),n(B+P<=me);e:{if(h=(Ze=s.ga).c,me=Ze.l.o,Ze.$a==0){if(lt=s.rc,Xt=s.Vc,dn=s.Fa,We=s.P+1+B*h,st=s.mb,_t=s.nb+B*h,n(We<=s.P+s.qc),Ze.Z!=0)for(n(Ld[Ze.Z]!=null),xe=0;xe=h)h=1;else if(Ze.ic||zc(),Ze.ic){Ze=xe.V,lt=xe.Ba,Xt=xe.c;var Xn=xe.i,wn=(dn=1,We=xe.$/Xt,st=xe.$%Xt,_t=xe.m,Cn=xe.s,xe.$),$n=Xt*Xn,nr=Xt*h,Fr=Cn.wc,hr=wn(Xn=us(hr.G[0],hr.H[0],_t)))Ze[lt+wn]=Xn,++wn,++st>=Xt&&(st=0,++We<=h&&!(We%16)&&Hc(xe,We));else{if(!(280>Xn)){dn=0;break t}Xn=sc(Xn-256,_t);var ea,Mo=us(hr.G[4],hr.H[4],_t);if(bn(_t),!(wn>=(Mo=lc(Xt,Mo=sc(Mo,_t)))&&$n-wn>=Xn)){dn=0;break t}for(ea=0;ea=Xt;)st-=Xt,++We<=h&&!(We%16)&&Hc(xe,We);wnh?h:We);break t}!dn||_t.h&&wn<$n?(dn=0,xe.a=_t.h?5:3):xe.$=wn,h=dn}else h=Kc(xe,xe.V,xe.Ba,xe.c,xe.i,h,_f);if(!h){P=0;break e}}B+P>=me&&(s.Cc=1),P=1}if(!P)return null;if(s.Cc&&((P=s.ga)!=null&&(P.mc=null),s.ga=null,0>23,Ze[We+4*xe+1]=Ze[We+4*xe+1]*Cn>>23,Ze[We+4*xe+2]=Ze[We+4*xe+2]*Cn>>23)}h+=me}}function Ds(s,h,B,P,q){for(;0>4)*We>>16;s[h+2*me+0]=(240&xe|xe>>4)*We>>16&240|(15&xe|xe<<4)*We>>16>>4&15,s[h+2*me+1]=240&st|Ze}h+=q}}function al(s,h,B,P,q,me,xe,Ze){var We,st,_t=255;for(st=0;st>8}function zc(){s0=Hs,tp=Ds,np=al,rp=Vu}function Gu(s,h,B){mt[s]=function(P,q,me,xe,Ze,We,st,_t,Cn,lt,Xt,dn,Xn,wn,$n,nr,Fr){var hr,ea=Fr-1>>1,Mo=Ze[We+0]|st[_t+0]<<16,si=Cn[lt+0]|Xt[dn+0]<<16;n(P!=null);var _o=3*Mo+si+131074>>2;for(h(P[q+0],255&_o,_o>>16,Xn,wn),me!=null&&(_o=3*si+Mo+131074>>2,h(me[xe+0],255&_o,_o>>16,$n,nr)),hr=1;hr<=ea;++hr){var ji=Ze[We+hr]|st[_t+hr]<<16,Zs=Cn[lt+hr]|Xt[dn+hr]<<16,li=Mo+ji+si+Zs+524296,Wo=li+2*(ji+si)>>3;_o=Wo+Mo>>1,Mo=(li=li+2*(Mo+Zs)>>3)+ji>>1,h(P[q+2*hr-1],255&_o,_o>>16,Xn,wn+(2*hr-1)*B),h(P[q+2*hr-0],255&Mo,Mo>>16,Xn,wn+(2*hr-0)*B),me!=null&&(_o=li+si>>1,Mo=Wo+Zs>>1,h(me[xe+2*hr-1],255&_o,_o>>16,$n,nr+(2*hr-1)*B),h(me[xe+2*hr+0],255&Mo,Mo>>16,$n,nr+(2*hr+0)*B)),Mo=ji,si=Zs}1&Fr||(_o=3*Mo+si+131074>>2,h(P[q+Fr-1],255&_o,_o>>16,Xn,wn+(Fr-1)*B),me!=null&&(_o=3*si+Mo+131074>>2,h(me[xe+Fr-1],255&_o,_o>>16,$n,nr+(Fr-1)*B)))}}function Jh(){vc[dg]=fm,vc[fg]=hp,vc[lp]=hm,vc[hg]=gp,vc[gg]=vp,vc[uv]=pp,vc[cp]=gm,vc[dv]=hp,vc[fv]=gp,vc[vg]=vp,vc[hv]=pp}function qf(s){return s&~vm?0>s?0:255:s>>mp}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,P,q){P[q+0]=wd(s,B),P[q+1]=hf(s,h,B),P[q+2]=gf(s,h)}function il(s,h,B,P,q){P[q+0]=gf(s,h),P[q+1]=hf(s,h,B),P[q+2]=wd(s,B)}function vf(s,h,B,P,q){var me=hf(s,h,B);h=me<<3&224|gf(s,h)>>3,P[q+0]=248&wd(s,B)|me>>5,P[q+1]=h}function pf(s,h,B,P,q){var me=240&gf(s,h)|15;P[q+0]=240&wd(s,B)|hf(s,h,B)>>4,P[q+1]=me}function $h(s,h,B,P,q){P[q+0]=255,Bd(s,h,B,P,q+1)}function qh(s,h,B,P,q){il(s,h,B,P,q),P[q+3]=255}function Ol(s,h,B,P,q){Bd(s,h,B,P,q),P[q+3]=255}function Xu(s,h,B){mt[s]=function(P,q,me,xe,Ze,We,st,_t,Cn){for(var lt=_t+(-2&Cn)*B;_t!=lt;)h(P[q+0],me[xe+0],Ze[We+0],st,_t),h(P[q+1],me[xe+0],Ze[We+0],st,_t+B),q+=2,++xe,++We,_t+=2*B;1&Cn&&h(P[q+0],me[xe+0],Ze[We+0],st,_t)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,P,q){switch(s>>>30){case 3:wf(h,B,P,q,0);break;case 2:hc(h,B,P,q);break;case 1:hA(h,B,P,q)}}function fc(s,h){var B,P,q=h.M,me=h.Nb,xe=s.oc,Ze=s.pc+40,We=s.oc,st=s.pc+584,_t=s.oc,Cn=s.pc+600;for(B=0;16>B;++B)xe[Ze+32*B-1]=129;for(B=0;8>B;++B)We[st+32*B-1]=129,_t[Cn+32*B-1]=129;for(0B;++B)r(xe,Ze+32*B-4,xe,Ze+32*B+12,4);for(B=-1;8>B;++B)r(We,st+32*B-4,We,st+32*B+4,4),r(_t,Cn+32*B-4,_t,Cn+32*B+4,4)}var Xt=s.Gd,dn=s.Hd+P,Xn=lt.ad,wn=lt.Hc;if(0=s.za-1?o($n,nr,Xt[dn].y[15],4):r($n,nr,Xt[dn+1].y,0,4)),B=0;4>B;B++)$n[nr+128+B]=$n[nr+256+B]=$n[nr+384+B]=$n[nr+0+B];for(B=0;16>B;++B,wn<<=2)$n=xe,nr=Ze+bp[B],kc[lt.Ob[B]]($n,nr),sg(wn,Xn,16*+B,$n,nr)}else if($n=eh(P,q,lt.Ob[0]),Ud[$n](xe,Ze),wn!=0)for(B=0;16>B;++B,wn<<=2)sg(wn,Xn,16*+B,xe,Ze+bp[B]);for(B=lt.Gc,$n=eh(P,q,lt.Dd),$u[$n](We,st),$u[$n](_t,Cn),wn=Xn,$n=We,nr=st,255&(lt=0|B)&&(170<?bu(wn,256,$n,nr):OA(wn,256,$n,nr)),lt=_t,wn=Cn,255&(B>>=8)&&(170&B?bu(Xn,320,lt,wn):OA(Xn,320,lt,wn)),qB;++B)r(Xt,dn+B*s.R,xe,Ze+32*B,16);for(B=0;8>B;++B)r(Xn,lt+B*s.B,We,st+32*B,8),r(wn,$n+B*s.B,_t,Cn+32*B,8)}}function mf(s,h,B,P,q,me,xe,Ze,We){var st=[0],_t=[0],Cn=0,lt=We!=null?We.kd:0,Xt=We!=null?We:new fr;if(s==null||12>B)return 7;Xt.data=s,Xt.w=h,Xt.ha=B,h=[h],B=[B],Xt.gb=[Xt.gb];e:{var dn=h,Xn=B,wn=Xt.gb;if(n(s!=null),n(Xn!=null),n(wn!=null),wn[0]=0,12<=Xn[0]&&!t(s,dn[0],"RIFF")){if(t(s,dn[0]+8,"WEBP")){wn=3;break e}var $n=sa(s,dn[0]+4);if(12>$n||4294967286<$n){wn=3;break e}if(lt&&$n>Xn[0]-8){wn=7;break e}wn[0]=$n,dn[0]+=12,Xn[0]-=12}wn=0}if(wn!=0)return wn;for($n=0wn[0])wn=7;else{if(!t(nr,Xn[0],"VP8X")){if(sa(nr,Xn[0]+4)!=10){wn=3;break e}if(18>wn[0]){wn=7;break e}var Mo=sa(nr,Xn[0]+8),si=1+ho(nr,Xn[0]+12);if(2147483648<=si*(nr=1+ho(nr,Xn[0]+15))){wn=3;break e}ea!=null&&(ea[0]=Mo),Fr!=null&&(Fr[0]=si),hr!=null&&(hr[0]=nr),Xn[0]+=18,wn[0]-=18,_o[0]=1}wn=0}}if(Cn=Cn[0],dn=dn[0],wn!=0)return wn;if(Xn=!!(2&dn),!$n&&Cn)return 3;if(me!=null&&(me[0]=!!(16&dn)),xe!=null&&(xe[0]=Xn),Ze!=null&&(Ze[0]=0),xe=st[0],dn=_t[0],Cn&&Xn&&We==null){wn=0;break}if(4>B){wn=7;break}if($n&&Cn||!$n&&!Cn&&!t(s,h[0],"ALPH")){B=[B],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{Mo=s,wn=h,$n=B;var _o=Xt.gb;Fr=Xt.na,hr=Xt.P,ea=Xt.Sa,si=22,n(Mo!=null),n($n!=null),nr=wn[0];var ji=$n[0];for(n(Fr!=null),n(ea!=null),Fr[0]=null,hr[0]=null,ea[0]=0;;){if(wn[0]=nr,$n[0]=ji,8>ji){wn=7;break e}var Zs=sa(Mo,nr+4);if(4294967286_o){wn=3;break e}if(!t(Mo,nr,"VP8 ")||!t(Mo,nr,"VP8L")){wn=0;break e}if(ji[0]$n[0])wn=7;else{if(nr||si){if(_o=sa(_o,Mo+4),12<=Fr&&_o>Fr-12){wn=3;break e}if(lt&&_o>$n[0]-8){wn=7;break e}hr[0]=_o,wn[0]+=8,$n[0]-=8,ea[0]=si}else ea[0]=5<=$n[0]&&_o[Mo+0]==47&&!(_o[Mo+4]>>5),hr[0]=$n[0];wn=0}if(B=B[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],h=h[0],wn!=0)break;if(4294967286B){wn=7;break}Ze=xe,lt=dn,Xn=me,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?($n=[0],_o=[0],Fr=[0],kn(hr=new gt,s,h,B),ju(hr,$n,_o,Fr)?(Ze!=null&&(Ze[0]=$n[0]),lt!=null&&(lt[0]=_o[0]),Xn!=null&&(Xn[0]=Fr[0]),s=1):s=0):s=0}else{if(10>B){wn=7;break}Ze=dn,s==null||10>B||!J0(s,h+3,B-3)?s=0:(lt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Xn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1<||3<(lt>>1&7)||!(lt>>4&1)||lt>>5>=Xt.Ja||!Xn||!s?s=0:(xe&&(xe[0]=Xn),Ze&&(Ze[0]=s),s=1))}if(!s||(xe=xe[0],dn=dn[0],Cn&&(st[0]!=xe||_t[0]!=dn)))return 3;We!=null&&(We[0]=Xt,We.offset=h-We.w,n(4294967286>h-We.w),n(We.offset==We.ha-B));break}return wn==0||wn==7&&Cn&&We==null?(me!=null&&(me[0]|=Xt.na!=null&&0B||(me&=-2,xe&=-2),0>me||0>xe||0>=Ze||0>=We||me+Ze>P||xe+We>q))return 0;if(h.v=me,h.j=xe,h.va=me+Ze,h.o=xe+We,h.U=Ze,h.T=We,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,P){if(P==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var q=B.cd,me=B.bd,xe=-2&B.v,Ze=-2&B.j;if(0>xe||0>Ze||0>=q||0>=me||xe+q>s||Ze+me>h)return 2;s=q,h=me}if(B.da){if(!Ca(s,h,q=[B.ib],me=[B.hb]))return 2;s=q[0],h=me[0]}}P.width=s,P.height=h;e:{var We=P.width,st=P.height;if(s=P.S,0>=We||0>=st||!(s>=dg&&13>s))s=2;else{if(0>=P.Rd&&P.sd==null){xe=me=q=h=0;var _t=(Ze=We*wp[s])*st;if(11>s||(me=(st+1)/2*(h=(We+1)/2),s==12&&(xe=(q=We)*st)),(st=A(_t+2*me+xe))==null){s=1;break e}P.sd=st,11>s?((We=P.f.RGBA).eb=st,We.fb=0,We.A=Ze,We.size=_t):((We=P.f.kb).y=st,We.O=0,We.fa=Ze,We.Fd=_t,We.f=st,We.N=0+_t,We.Ab=h,We.Cd=me,We.ea=st,We.W=0+_t+me,We.Db=h,We.Ed=me,s==12&&(We.F=st,We.J=0+_t+2*me),We.Tc=xe,We.lb=q)}if(h=1,q=P.S,me=P.width,xe=P.height,q>=dg&&13>q)if(11>q)s=P.f.RGBA,h&=(Ze=Math.abs(s.A))*(xe-1)+me<=s.size,h&=Ze>=me*wp[q],h&=s.eb!=null;else{s=P.f.kb,Ze=(me+1)/2,_t=(xe+1)/2,We=Math.abs(s.fa),st=Math.abs(s.Ab);var Cn=Math.abs(s.Db),lt=Math.abs(s.lb),Xt=lt*(xe-1)+me;h&=We*(xe-1)+me<=s.Fd,h&=st*(_t-1)+Ze<=s.Cd,h=(h&=Cn*(_t-1)+Ze<=s.Ed)&We>=me&st>=Ze&Cn>=Ze,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,q==12&&(h&=lt>=me,h&=Xt<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(P)),s}var yf=64,Wl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Yu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),mt.Predictor0=function(){return 4278190080},mt.Predictor1=function(s){return s},mt.Predictor2=function(s,h,B){return h[B+0]},mt.Predictor3=function(s,h,B){return h[B+1]},mt.Predictor4=function(s,h,B){return h[B-1]},mt.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},mt.Predictor6=function(s,h,B){return ua(s,h[B-1])},mt.Predictor7=function(s,h,B){return ua(s,h[B+0])},mt.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},mt.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},mt.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},mt.Predictor11=function(s,h,B){var P=h[B+0];return 0>=Ga(P>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Ga(P>>16&255,s>>16&255,h>>16&255)+Ga(P>>8&255,s>>8&255,h>>8&255)+Ga(255&P,255&s,255&h)?P:s},mt.Predictor12=function(s,h,B){var P=h[B+0];return(dA((s>>24&255)+(P>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(P>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(P>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&P)-(255&h)))>>>0},mt.Predictor13=function(s,h,B){var P=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,P>>24&255)<<24|Li(s>>16&255,P>>16&255)<<16|Li(s>>8&255,P>>8&255)<<8|Li(255&s,255&P))>>>0};var n0=mt.PredictorAdd0;mt.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=mt.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=mt.ColorIndexInverseTransform,mu=mt.MapARGB,yu=mt.VP8LColorIndexInverseTransformAlpha,r0=mt.MapAlpha,o0=mt.VP8LPredictorsAdd=[];o0.length=16,(mt.VP8LPredictors=[]).length=16,(mt.VP8LPredictorsAdd_C=[]).length=16,(mt.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Fd,Id,bf,Od,wf,hc,bu,hA,OA,Es,Ks,Ju,A0,nh,cg,Xv,Yv,Jv,$v,qv,ep,s0,tp,np,rp,op=A(511),ap=A(2041),ip=A(225),Ap=A(767),sp=0,cv=ap,ug=ip,Gl=Ap,gc=op,dg=0,fg=1,lp=2,hg=3,gg=4,uv=5,cp=6,dv=7,fv=8,vg=9,hv=10,qp=[2,3,7],em=[3,3,11],up=[280,256,256,256,40],tm=[0,1,1,1,0],nm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],um=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],kc=[],$u=[],dm=1,fp=2,Ld=[],vc=[];Gu("UpsampleRgbLinePair",Bd,3),Gu("UpsampleBgrLinePair",il,3),Gu("UpsampleRgbaLinePair",Ol,4),Gu("UpsampleBgraLinePair",qh,4),Gu("UpsampleArgbLinePair",$h,4),Gu("UpsampleRgba4444LinePair",pf,2),Gu("UpsampleRgb565LinePair",vf,2);var fm=mt.UpsampleRgbLinePair,hm=mt.UpsampleBgrLinePair,hp=mt.UpsampleRgbaLinePair,gp=mt.UpsampleBgraLinePair,vp=mt.UpsampleArgbLinePair,pp=mt.UpsampleRgba4444LinePair,gm=mt.UpsampleRgb565LinePair,pg=16,mg=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&zc()),P.Pb&&0(We=B.Md)?0:100st;++st)12>(Cn=q.pb[st]).lc&&(Cn.ia=We*Cm[0>Cn.lc?0:Cn.lc]>>3),_t|=Cn.ia;_t&&(alert("todo:VP8InitRandom"),q.ia=1)}q.Ga=B.Id,100q.Ga&&(q.Ga=0)}(function(lt,Xt){if(lt==null)return 0;if(Xt==null)return Qs(lt,2,"NULL VP8Io parameter in VP8Decode().");if(!lt.cb&&!vu(lt,Xt))return 0;if(n(lt.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(lt.L=0);var dn=yg[lt.L];if(lt.L==2?(lt.yb=0,lt.zb=0):(lt.yb=Xt.v-dn>>4,lt.zb=Xt.j-dn>>4,0>lt.yb&&(lt.yb=0),0>lt.zb&&(lt.zb=0)),lt.Va=Xt.o+15+dn>>4,lt.Hb=Xt.va+15+dn>>4,lt.Hb>lt.za&&(lt.Hb=lt.za),lt.Va>lt.Ub&&(lt.Va=lt.Ub),0dn;++dn){var wn;if(lt.Qa.Cb){var $n=lt.Qa.Lb[dn];lt.Qa.Fb||($n+=Xn.Tb)}else $n=Xn.Tb;for(wn=0;1>=wn;++wn){var nr=lt.gd[dn][wn],Fr=$n;if(Xn.Pc&&(Fr+=Xn.vd[0],wn&&(Fr+=Xn.od[0])),0<(Fr=0>Fr?0:63>2:hr>>1)>9-Xn.wb&&(hr=9-Xn.wb),1>hr&&(hr=1),nr.dd=hr,nr.tc=2*Fr+hr,nr.ld=40<=Fr?2:15<=Fr?1:0}else nr.tc=0;nr.La=wn}}}dn=0}else Qs(lt,6,"Frame setup failed"),dn=lt.a;if(dn=dn==0){if(dn){lt.$c=0,0lt.Vb){if(lt.Vb=0,lt.Ec=A(nr),lt.Fc=0,lt.Ec==null){dn=Qs(lt,1,"no memory during frame initialization.");break t}lt.Vb=nr}nr=lt.Ec,Fr=lt.Fc,lt.Ac=nr,lt.Bc=Fr,Fr+=Xn,lt.Gd=v(ea,X0),lt.Hd=0,lt.rb=v(Mo+1,Kh),lt.sb=1,lt.wa=si?v(si,uc):null,lt.Y=0,lt.D.Nb=0,lt.D.wa=lt.wa,lt.D.Y=lt.Y,0=dn;++dn)op[255+dn]=0>dn?-dn:dn;for(dn=-1020;1020>=dn;++dn)ap[1020+dn]=-128>dn?-128:127=dn;++dn)ip[112+dn]=-16>dn?-16:15=dn;++dn)Ap[255+dn]=0>dn?0:255ki;++ki){var zs,Ji=Ul[0+ki];for(zs=0;4>zs;++zs){Ji=lm[kA[Al+zs]][Ji];for(var BA=dp[rr(Ya,Ji[0])];0>3;for(BA=0;256>BA;BA+=16)ki[Cl+BA]=jl}sl=1,_c=Al[0]}var UA=15&Ya.la,ks=15&Ll.la;for(BA=0;4>BA;++BA){var Xl=1&ks;for(jl=CA=0;4>jl;++jl)UA=UA>>1|(Xl=(Fs=l0(kA,_c,Fs=Xl+(1&UA),ds.Sc,sl,ki,Cl))>sl)<<7,CA=CA<<2|(3>=4,ks=ks>>1|Xl<<7,zs=(zs<<8|CA)>>>0}for(_c=UA,sl=ks>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Ya.la>>4+fs,ks=Ll.la>>4+fs,BA=0;2>BA;++BA){for(Xl=1&ks,jl=0;2>jl;++jl)Fs=Xl+(1&UA),UA=UA>>1|(Xl=0<(Fs=l0(kA,Al[2],Fs,ds.Qc,0,ki,Cl)))<<3,CA=CA<<2|(3>=2,ks=ks>>1|Xl<<5}Ji|=CA<<4*fs,_c|=UA<<4<=Wo.zb&&Wo.M<=Wo.Va,Wo.Aa==0)t:{if(li.M=Wo.M,li.uc=Ya,fc(Wo,li),Ss=1,li=(CA=Wo.D).Nb,Ya=(Ji=yg[Wo.L])*Wo.R,kA=Ji/2*Wo.B,BA=16*li*Wo.R,jl=8*li*Wo.B,Al=Wo.sa,Ul=Wo.ta-Ya+BA,ds=Wo.qa,ki=Wo.ra-kA+jl,Cl=Wo.Ha,Ll=Wo.Ia-kA+jl,ks=(UA=CA.M)==0,zs=UA>=Wo.Va-1,Wo.Aa==2&&fc(Wo,CA),CA.uc)for(Xl=(Fs=Wo).D.M,n(Fs.D.uc),CA=Fs.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,Wo.Fa!=null&&0>1),Ao.W+=Wo.B*(Ji>>1),Ao.F!=null&&(Ao.J+=Ao.width*Ji)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=Wo.Ic||zs||(r(Wo.sa,Wo.ta-Ya,Al,Ul+16*Wo.R,Ya),r(Wo.qa,Wo.ra-kA,ds,ki+8*Wo.B,kA),r(Wo.Ha,Wo.Ia-kA,Cl,Ll+8*Wo.B,kA))}if(!Ss)return Qs(ji,6,"Output aborted.")}return 1}(lt,Xt)),Xt.bc!=null&&Xt.bc(Xt),dn&=1}return dn?(lt.cb=0,dn):0})(s,P)||(h=s.a)}}else h=s.a}h==0&&xe.Oa!=null&&xe.Oa.fd&&(h=t0(xe.ba))}xe=h}me=xe!=0?null:11>me?Ze.f.RGBA.eb:Ze.f.kb.y}else me=null;return me};var wp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(mt,un){for(var Le="",at=0;at<4;at++)Le+=String.fromCharCode(mt[un++]);return Le}function S(mt,un){return mt[un+0]|mt[un+1]<<8}function G(mt,un){return(mt[un+0]|mt[un+1]<<8|mt[un+2]<<16)>>>0}function ve(mt,un){return(mt[un+0]|mt[un+1]<<8|mt[un+2]<<16|mt[un+3]<<24)>>>0}new p;var x=[0],rt=[0],Je=[],ot=new p,Ne=e,Mt=function(mt,un){var Le={},at=0,Rt=!1,Pt=0,Fn=0;if(Le.frames=[],!function(Se,gt){for(var Ft=0;Ft<4;Ft++)if(Se[gt+Ft]!="RIFF".charCodeAt(Ft))return!0;return!1}(mt,un)){for(ve(mt,un+=4),un+=8;un>1&1}Mn!="ANMF"&&(un+=Bn)}return Le}}(Ne,0);Mt.response=Ne,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Nt=Mt.header?Mt.header:null,pt=Mt.frames?Mt.frames:null;if(Nt){Nt.loop_counter=Nt.loop_count,x=[Nt.canvas_height],rt=[Nt.canvas_width];for(var xn=0;xn=2?it[1]:mo[0],mo[2]=it.length>=3?it[2]:mo[0],mo[3]=it.length>=4?it[3]:mo[1]),y.margin=mo}});var jn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return jn},set:function(it){jn=it}});var Zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Zn},set:function(it){Zn=it}});var rr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return rr},set:function(it){rr=it}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(it){it instanceof S&&(y=it)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(it){y.path=it}});var Lr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Lr},set:function(it){Lr=it}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(it){var mo;mo=ve(it),this.ctx.fillStyle=mo.style,this.ctx.isFillTransparent=mo.a===0,this.ctx.fillOpacity=mo.a,this.pdf.setFillColor(mo.r,mo.g,mo.b,{a:mo.a}),this.pdf.setTextColor(mo.r,mo.g,mo.b,{a:mo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(it){var mo=ve(it);this.ctx.strokeStyle=mo.style,this.ctx.isStrokeTransparent=mo.a===0,this.ctx.strokeOpacity=mo.a,mo.a===0?this.pdf.setDrawColor(255,255,255):(mo.a,this.pdf.setDrawColor(mo.r,mo.g,mo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(it){["butt","round","square"].indexOf(it)!==-1&&(this.ctx.lineCap=it,this.pdf.setLineCap(it))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(it){isNaN(it)||(this.ctx.lineWidth=it,this.pdf.setLineWidth(it))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(it){["bevel","round","miter"].indexOf(it)!==-1&&(this.ctx.lineJoin=it,this.pdf.setLineJoin(it))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(it){isNaN(it)||(this.ctx.miterLimit=it,this.pdf.setMiterLimit(it))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(it){this.ctx.textBaseline=it}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(it){["right","end","center","left","start"].indexOf(it)!==-1&&(this.ctx.textAlign=it)}});var po=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(it){po=null,ho=null,sa=it}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(it){var mo;if(this.ctx.font=it,(mo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(it))!==null){var fi=mo[1];mo[2];var Ca=mo[3],wr=mo[4];mo[5];var xa=mo[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(wr)[2];wr=Math.floor(jo==="px"?parseFloat(wr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(wr)*this.pdf.getFontSize():parseFloat(wr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(wr);var ma=function(na){var Cs,Xi,mi=[],yi=na.trim();if(yi==="")return _g;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Xi=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":Xi=Rc(yi.substring(1),Cs);break;default:Xi=md(yi)}if(Xi===null||(mi.push(Xi[0]),(yi=lu(Xi[1]))!==""&&yi.charAt(0)!==","))return _g;yi=yi.replace(/^,/,"")}return mi}(xa);if(this.fontFaces){var ua=function(na,Cs){var Xi=na.getFontList(),mi=JSON.stringify(Xi);if(po===null||ho!==mi){var yi=function(YA){var ha=[];return Object.keys(YA).forEach(function(DA){YA[DA].forEach(function(La){var Xa=null;switch(La){case"bold":Xa={family:DA,weight:"bold"};break;case"italic":Xa={family:DA,style:"italic"};break;case"bolditalic":Xa={family:DA,weight:"bold",style:"italic"};break;case"":case"normal":Xa={family:DA}}Xa!==null&&(Xa.ref={name:DA,style:La},ha.push(Xa))})}),ha}(Xi);po=function(YA){for(var ha={},DA=0;DA=700||fi==="bold")&&(Ga="bold"),fi==="italic"&&(Ga+="italic"),Ga.length===0&&(Ga="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Yo=0;Yo=2*Math.PI&&(jt=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Se,y:gt,radius:Ft,startAngle:jt,endAngle:Jt,counterclockwise:bn})},G.prototype.arcTo=function(Se,gt,Ft,jt,Jt){throw new Error("arcTo not implemented.")},G.prototype.rect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Se,gt),this.lineTo(Se+Ft,gt),this.lineTo(Se+Ft,gt+jt),this.lineTo(Se,gt+jt),this.lineTo(Se,gt),this.lineTo(Se+Ft,gt),this.lineTo(Se,gt)},G.prototype.fillRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!x.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Se,gt,Ft,jt),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},G.prototype.strokeRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");rt.call(this)||(this.beginPath(),this.rect(Se,gt,Ft,jt),this.stroke())},G.prototype.clearRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Se,gt,Ft,jt))},G.prototype.save=function(Se){Se=typeof Se!="boolean"||Se;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};G.prototype.drawImage=function(Se,gt,Ft,jt,Jt,bn,jn,Zn,rr){var Lr=this.pdf.getImageProperties(Se),po=1,ho=1,sa=1,it=1;jt!==void 0&&Zn!==void 0&&(sa=Zn/jt,it=rr/Jt,po=Lr.width/jt*Zn/jt,ho=Lr.height/Jt*rr/Jt),bn===void 0&&(bn=gt,jn=Ft,gt=0,Ft=0),jt!==void 0&&Zn===void 0&&(Zn=jt,rr=Jt),jt===void 0&&Zn===void 0&&(Zn=Lr.width,rr=Lr.height);var mo=this.ctx.transform.decompose(),fi=Bn(mo.rotate.shx),Ca=new p,wr=(Ca=(Ca=(Ca=Ca.multiply(mo.translate)).multiply(mo.skew)).multiply(mo.scale)).applyToRectangle(new g(bn-gt*sa,jn-Ft*it,jt*po,Jt*ho));if(this.autoPaging){for(var xa,jo=ot.call(this,wr),ma=[],ua=0;uadA||Gawr||jo0)){for(;rr>=0;rr--)if(Jt[rr-1].close!==!0&&Jt[rr-1].begin!==!0){Jt[rr-1].deltas.push(Ft),Jt[rr-1].abs.push(Zn);break}}break;case"bct":Ft=[Zn.x1-bn[jn-1].x,Zn.y1-bn[jn-1].y,Zn.x2-bn[jn-1].x,Zn.y2-bn[jn-1].y,Zn.x-bn[jn-1].x,Zn.y-bn[jn-1].y],Jt[Jt.length-1].deltas.push(Ft);break;case"qct":var Lr=bn[jn-1].x+2/3*(Zn.x1-bn[jn-1].x),po=bn[jn-1].y+2/3*(Zn.y1-bn[jn-1].y),ho=Zn.x+2/3*(Zn.x1-Zn.x),sa=Zn.y+2/3*(Zn.y1-Zn.y),it=Zn.x,mo=Zn.y;Ft=[Lr-bn[jn-1].x,po-bn[jn-1].y,ho-bn[jn-1].x,sa-bn[jn-1].y,it-bn[jn-1].x,mo-bn[jn-1].y],Jt[Jt.length-1].deltas.push(Ft);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(Zn)}}jt=gt?null:Se==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(jt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jt*Se.scale),Jt=this.lineWidth,this.lineWidth=Jt*Se.scale);var ni=this.autoPaging!=="text";if(ni||Yo.y+Yo.h<=ua){if(ni||Yo.y>=jo&&Yo.x<=Li){var na=ni?Se.text:this.pdf.splitTextToSize(Se.text,Se.maxWidth||Li-Yo.x)[0],Cs=Mt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Xi=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(jt),this.lineWidth=Jt)}}else Se.scale>=.01&&(jt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jt*Se.scale),Jt=this.lineWidth,this.lineWidth=Jt*Se.scale),this.pdf.text(Se.text,rr.x+this.posX,rr.y+this.posY,{angle:Se.angle,align:gt,renderingMode:Se.renderingMode,maxWidth:Se.maxWidth}),Se.scale>=.01&&(this.pdf.setFontSize(jt),this.lineWidth=Jt)},Rt=function(Se,gt,Ft,jt){Ft=Ft||0,jt=jt||0,this.pdf.internal.out(t(Se+Ft)+" "+r(gt+jt)+" l")},Pt=function(Se,gt,Ft){return this.pdf.lines(Se,gt,Ft,null,null)},Fn=function(Se,gt,Ft,jt,Jt,bn,jn,Zn){this.pdf.internal.out([n(o(Ft+Se)),n(A(jt+gt)),n(o(Jt+Se)),n(A(bn+gt)),n(o(jn+Se)),n(A(Zn+gt)),"c"].join(" "))},Mn=function(Se,gt,Ft,jt){for(var Jt=2*Math.PI,bn=Math.PI/2;gt>Ft;)gt-=Jt;var jn=Math.abs(Ft-gt);jn1e-5;){var po=Lr+rr*Math.min(jn,bn);Zn.push(Hn.call(this,Se,Lr,po)),jn-=Math.abs(po-Lr),Lr=po}return Zn},Hn=function(Se,gt,Ft){var jt=(Ft-gt)/2,Jt=Se*Math.cos(jt),bn=Se*Math.sin(jt),jn=Jt,Zn=-bn,rr=jn*jn+Zn*Zn,Lr=rr+jn*Jt+Zn*bn,po=4/3*(Math.sqrt(2*rr*Lr)-Lr)/(jn*bn-Zn*Jt),ho=jn-po*Zn,sa=Zn+po*jn,it=ho,mo=-sa,fi=jt+gt,Ca=Math.cos(fi),wr=Math.sin(fi);return{x1:Se*Math.cos(gt),y1:Se*Math.sin(gt),x2:ho*Ca-sa*wr,y2:ho*wr+sa*Ca,x3:it*Ca-mo*wr,y3:it*wr+mo*Ca,x4:Se*Math.cos(Ft),y4:Se*Math.sin(Ft)}},Bn=function(Se){return 180*Se/Math.PI},kn=function(Se,gt,Ft,jt,Jt,bn){var jn=Se+.5*(Ft-Se),Zn=gt+.5*(jt-gt),rr=Jt+.5*(Ft-Jt),Lr=bn+.5*(jt-bn),po=Math.min(Se,Jt,jn,rr),ho=Math.max(Se,Jt,jn,rr),sa=Math.min(gt,bn,Zn,Lr),it=Math.max(gt,bn,Zn,Lr);return new g(po,sa,ho-po,it-sa)},Hr=function(Se,gt,Ft,jt,Jt,bn,jn,Zn){var rr,Lr,po,ho,sa,it,mo,fi,Ca,wr,xa,jo,ma,ua,dA=Ft-Se,Li=jt-gt,Ga=Jt-Ft,Ti=bn-jt,Ni=jn-Jt,Yo=Zn-bn;for(Lr=0;Lr<41;Lr++)Ca=(mo=(po=Se+(rr=Lr/40)*dA)+rr*((sa=Ft+rr*Ga)-po))+rr*(sa+rr*(Jt+rr*Ni-sa)-mo),wr=(fi=(ho=gt+rr*Li)+rr*((it=jt+rr*Ti)-ho))+rr*(it+rr*(bn+rr*Yo-it)-fi),Lr==0?(xa=Ca,jo=wr,ma=Ca,ua=wr):(xa=Math.min(xa,Ca),jo=Math.min(jo,wr),ma=Math.max(ma,Ca),ua=Math.max(ua,wr));return new g(Math.round(xa),Math.round(jo),Math.round(ma-xa),Math.round(ua-jo))},dr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Se,gt,Ft=(Se=this.ctx.lineDash,gt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Se,lineDashOffset:gt}));this.prevLineDash!==Ft&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ft)}}})(ko.API),function(e){var n=function(v){var g,p,y,S,G,ve,x,rt,Je,ot;for(/[^\x00-\xFF]/.test(v),p=[],y=0,S=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;S>y;y+=4)(G=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(ve=(G=((G=((G=((G=(G-(ot=G%85))/85)-(Je=G%85))/85)-(rt=G%85))/85)-(x=G%85))/85)%85,p.push(ve+33,x+33,rt+33,Je+33,ot+33)):p.push(122);return function(Ne,Mt){for(var Nt=Mt;Nt>0;Nt--)Ne.pop()}(p,g.length),String.fromCharCode.apply(String,p)+"~>"},t=function(v){var g,p,y,S,G,ve=String,x="length",rt=255,Je="charCodeAt",ot="slice",Ne="replace";for(v[ot](-2),v=v[ot](0,-2)[Ne](/\s/g,"")[Ne]("z","!!!!!"),y=[],S=0,G=(v+=g="uuuuu"[ot](v[x]%5||5))[x];G>S;S+=5)p=52200625*(v[Je](S)-33)+614125*(v[Je](S+1)-33)+7225*(v[Je](S+2)-33)+85*(v[Je](S+3)-33)+(v[Je](S+4)-33),y.push(rt&p>>24,rt&p>>16,rt&p>>8,rt&p);return function(Mt,Nt){for(var pt=Nt;pt>0;pt--)Mt.pop()}(y,g[x]),ve.fromCharCode.apply(ve,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var p="",y=0;yJe&&(rt=ot,ot=Je,Je=rt);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",Je>ot&&(rt=ot,ot=Je,Je=rt)}return{width:ot,height:Je,unit:p,k:G,orientation:g}},e.html=function(g,p){(p=p||{}).callback=p.callback||function(){},p.html2canvas=p.html2canvas||{},p.html2canvas.canvas=p.html2canvas.canvas||this.canvas,p.jsPDF=p.jsPDF||this,p.fontFaces=p.fontFaces?p.fontFaces.map(Tl):null;var y=new v(p);return p.worker?y:y.from(g).doCallback()}}(ko.API),ko.API.addJS=function(e){return Qv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),A=0;A> endobj")}var x=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+x+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,A){var v={title:o,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var p=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+p.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in at&&Array.isArray(at.transparency)&&at.transparency.length>0){for(var Hn="",Bn=0,kn=at.transparency.length;Bn>",Je.content=A;var Nt=Je.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=3};var S=e.__arabicParser__.arabicLetterHasMedialForm=function(Je){return v(Je)&&A(Je)&&n[Je.charCodeAt(0)].length==4},G=e.__arabicParser__.resolveLigatures=function(Je){var ot=0,Ne=t,Mt="",Nt=0;for(ot=0;ot>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(g){o=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(ko.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var p=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return p},set:function(Je){p=Je}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(Je){y=Je}});var S=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return S},set:function(Je){S=Je}});var G=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return G},set:function(Je){G=Je}});var ve=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ve},set:function(Je){ve=Je}});var x=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return x},set:function(Je){x=Je}});var rt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return rt},set:function(Je){rt=Je}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(p){return r.call(this),this.internal.__cell__.headerFunction=typeof p=="function"?p:void 0,this},e.getTextDimensions=function(p,y){r.call(this);var S=(y=y||{}).fontSize||this.getFontSize(),G=y.font||this.getFont(),ve=y.scaleFactor||this.internal.scaleFactor,x=0,rt=0,Je=0,ot=this;if(!Array.isArray(p)&&typeof p!="string"){if(typeof p!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");p=String(p)}var Ne=y.maxWidth;Ne>0?typeof p=="string"?p=this.splitTextToSize(p,Ne):Object.prototype.toString.call(p)==="[object Array]"&&(p=p.reduce(function(Nt,pt){return Nt.concat(ot.splitTextToSize(pt,Ne))},[])):p=Array.isArray(p)?p:[p];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),p.y=G.top,x&&ve&&(this.printHeaderRow(p.lineNumber,!0),p.y+=ve[0].height)):p.y=y.y+y.height||p.y),p.text[0]!==void 0&&(this.rect(p.x,p.y,p.width,p.height,t===!0?"FD":void 0),p.align==="right"?this.text(p.text,p.x+p.width-S,p.y+S,{align:"right",baseline:"top"}):p.align==="center"?this.text(p.text,p.x+p.width/2,p.y+S,{align:"center",baseline:"top",maxWidth:p.width-S-S}):this.text(p.text,p.x+S,p.y+S,{align:"left",baseline:"top",maxWidth:p.width-S-S})),this.internal.__cell__.lastCell=p,this};e.table=function(p,y,S,G,ve){if(r.call(this),!S)throw new Error("No data for PDF table.");var x,rt,Je,ot,Ne=[],Mt=[],Nt=[],pt={},xn={},Jn=[],Tn=[],Vt=(ve=ve||{}).autoSize||!1,mt=ve.printHeaders!==!1,un=ve.css&&ve.css["font-size"]!==void 0?16*ve.css["font-size"]:ve.fontSize||12,Le=ve.margins||Object.assign({width:this.getPageWidth()},n),at=typeof ve.padding=="number"?ve.padding:3,Rt=ve.headerBackgroundColor||"#c8c8c8",Pt=ve.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=mt,this.internal.__cell__.margins=Le,this.internal.__cell__.table_font_size=un,this.internal.__cell__.padding=at,this.internal.__cell__.headerBackgroundColor=Rt,this.internal.__cell__.headerTextColor=Pt,this.setFontSize(un),G==null)Mt=Ne=Object.keys(S[0]),Nt=Ne.map(function(){return"left"});else if(Array.isArray(G)&&(0,a.Z)(G[0])==="object")for(Ne=G.map(function(Hr){return Hr.name}),Mt=G.map(function(Hr){return Hr.prompt||Hr.name||""}),Nt=G.map(function(Hr){return Hr.align||"left"}),x=0;x0&&this.setTableHeaderRow(ve),this.setFont(void 0,"normal"),t=!1}}(ko.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Pc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=sA(Pc),rl=[100,200,300,400,500,600,700,800,900],Du=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),o=function(A){return typeof $s[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function Dc(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Kv(e,n,t){var r=e.length,o=[];o[0]=4;for(var A=0;A>A&v}function Zv(e,n,t,r){var o=t*r,A=Math.floor(o/8),v=16-(o-8*A+r),g=(1<>8&255;y.setUint8(S,ve)}})(e,A,zv(e,A)&~(g<>7,v=1<<1+(7&o);e[n++],e[n++];var g=null,p=null;A&&(g=n,p=v,n+=3*v);var y=!0,S=[],G=0,ve=null,x=0,rt=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Je=e[n++];G=e[n++]|e[n++]<<8,ve=e[n++],1&Je||(ve=null),x=Je>>2&7,n++;break;case 254:for(;;){if(!((Le=e[n++])>=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ot=e[n++]|e[n++]<<8,Ne=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Nt=e[n++]|e[n++]<<8,pt=e[n++],xn=pt>>6&1,Jn=1<<1+(7&pt),Tn=g,Vt=p,mt=!1;pt>>7&&(mt=!0,Tn=n,Vt=Jn,n+=3*Jn);var un=n;for(n++;;){var Le;if(!((Le=e[n++])>=0))throw Error("Invalid block size");if(Le===0)break;n+=Le}S.push({x:ot,y:Ne,width:Mt,height:Nt,has_local_palette:mt,palette_offset:Tn,palette_size:Vt,data_offset:un,data_length:n-un,transparent_index:ve,interlaced:!!xn,delay:G,disposal:x});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return S.length},this.loopCount=function(){return rt},this.frameInfo=function(at){if(at<0||at>=S.length)throw new Error("Frame index out of range.");return S[at]},this.decodeAndBlitFrameBGRA=function(at,Rt){var Pt=this.frameInfo(at),Fn=Pt.width*Pt.height,Mn=new Uint8Array(Fn);kv(e,Pt.data_offset,Mn,Fn);var Hn=Pt.palette_offset,Bn=Pt.transparent_index;Bn===null&&(Bn=256);var kn=Pt.width,Hr=t-kn,dr=kn,Se=4*(Pt.y*t+Pt.x),gt=4*((Pt.y+Pt.height)*t+Pt.x),Ft=Se,jt=4*Hr;Pt.interlaced===!0&&(jt+=4*t*7);for(var Jt=8,bn=0,jn=Mn.length;bn=gt&&(jt=4*Hr+4*t*(Jt-1),Ft=Se+(kn+Hr)*(Jt<<1),Jt>>=1)),Zn===Bn)Ft+=4;else{var rr=e[Hn+3*Zn],Lr=e[Hn+3*Zn+1],po=e[Hn+3*Zn+2];Rt[Ft++]=po,Rt[Ft++]=Lr,Rt[Ft++]=rr,Rt[Ft++]=255}--dr}},this.decodeAndBlitFrameRGBA=function(at,Rt){var Pt=this.frameInfo(at),Fn=Pt.width*Pt.height,Mn=new Uint8Array(Fn);kv(e,Pt.data_offset,Mn,Fn);var Hn=Pt.palette_offset,Bn=Pt.transparent_index;Bn===null&&(Bn=256);var kn=Pt.width,Hr=t-kn,dr=kn,Se=4*(Pt.y*t+Pt.x),gt=4*((Pt.y+Pt.height)*t+Pt.x),Ft=Se,jt=4*Hr;Pt.interlaced===!0&&(jt+=4*t*7);for(var Jt=8,bn=0,jn=Mn.length;bn=gt&&(jt=4*Hr+4*t*(Jt-1),Ft=Se+(kn+Hr)*(Jt<<1),Jt>>=1)),Zn===Bn)Ft+=4;else{var rr=e[Hn+3*Zn],Lr=e[Hn+3*Zn+1],po=e[Hn+3*Zn+2];Rt[Ft++]=rr,Rt[Ft++]=Lr,Rt[Ft++]=po,Rt[Ft++]=255}--dr}}}function kv(e,n,t,r){for(var o=e[n++],A=1<>=p,S-=p,ot!==A){if(ot===v)break;for(var Ne=otA;)Nt=rt[Nt]>>8,++Mt;var pt=Nt;if(ve+Mt+(Ne!==ot?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[ve++]=pt;var xn=ve+=Mt;for(Ne!==ot&&(t[ve++]=pt),Nt=Ne;Mt--;)Nt=rt[Nt],t[--xn]=255&Nt,Nt>>=8;Je!==null&&g<4096&&(rt[g++]=Je<<8|pt,g>=y+1&&p<12&&(++p,y=y<<1|1)),Je=ot}else g=v+1,y=(1<<(p=o+1))-1,Je=null}return ve!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,o,A,v=Math.floor,g=new Array(64),p=new Array(64),y=new Array(64),S=new Array(64),G=new Array(65535),ve=new Array(65535),x=new Array(64),rt=new Array(64),Je=[],ot=0,Ne=7,Mt=new Array(64),Nt=new Array(64),pt=new Array(64),xn=new Array(256),Jn=new Array(2048),Tn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Vt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],mt=[0,1,2,3,4,5,6,7,8,9,10,11],un=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Le=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],at=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Pt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Fn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mn(Se,gt){for(var Ft=0,jt=0,Jt=new Array,bn=1;bn<=16;bn++){for(var jn=1;jn<=Se[bn];jn++)Jt[gt[jt]]=[],Jt[gt[jt]][0]=Ft,Jt[gt[jt]][1]=bn,jt++,Ft++;Ft*=2}return Jt}function Hn(Se){for(var gt=Se[0],Ft=Se[1]-1;Ft>=0;)gt&1<>8&255),Bn(255&Se)}function Hr(Se,gt,Ft,jt,Jt){for(var bn,jn=Jt[0],Zn=Jt[240],rr=function(wr,xa){var jo,ma,ua,dA,Li,Ga,Ti,Ni,Yo,ni,na=0;for(Yo=0;Yo<8;++Yo){jo=wr[na],ma=wr[na+1],ua=wr[na+2],dA=wr[na+3],Li=wr[na+4],Ga=wr[na+5],Ti=wr[na+6];var Cs=jo+(Ni=wr[na+7]),Xi=jo-Ni,mi=ma+Ti,yi=ma-Ti,YA=ua+Ga,ha=ua-Ga,DA=dA+Li,La=dA-Li,Xa=Cs+DA,JA=Cs-DA,xi=mi+YA,Sa=mi-YA;wr[na]=Xa+xi,wr[na+4]=Xa-xi;var fA=.707106781*(Sa+JA);wr[na+2]=JA+fA,wr[na+6]=JA-fA;var of=.382683433*((Xa=La+ha)-(Sa=yi+Xi)),Bl=.5411961*Xa+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Fa=Xi+du,Tu=Xi-du;wr[na+5]=Tu+Bl,wr[na+3]=Tu-Bl,wr[na+1]=Fa+Mu,wr[na+7]=Fa-Mu,na+=8}for(na=0,Yo=0;Yo<8;++Yo){jo=wr[na],ma=wr[na+8],ua=wr[na+16],dA=wr[na+24],Li=wr[na+32],Ga=wr[na+40],Ti=wr[na+48];var ju=jo+(Ni=wr[na+56]),sc=jo-Ni,lc=ma+Ti,us=ma-Ti,qs=ua+Ga,ol=ua-Ga,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,Kc=lc-qs;wr[na]=jc+Hc,wr[na+32]=jc-Hc;var cc=.707106781*(Kc+fu);wr[na+16]=fu+cc,wr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Kc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Kc+Af,_f=.707106781*(Hc=ol+us),Wf=sc+_f,Vf=sc-_f;wr[na+40]=Vf+hu,wr[na+24]=Vf-hu,wr[na+8]=Wf+sf,wr[na+56]=Wf-sf,na++}for(Yo=0;Yo<64;++Yo)ni=wr[Yo]*xa[Yo],x[Yo]=ni>0?ni+.5|0:ni-.5|0;return x}(Se,gt),Lr=0;Lr<64;++Lr)rt[Tn[Lr]]=rr[Lr];var po=rt[0]-Ft;Ft=rt[0],po==0?Hn(jt[0]):(Hn(jt[ve[bn=32767+po]]),Hn(G[bn]));for(var ho=63;ho>0&&rt[ho]==0;)ho--;if(ho==0)return Hn(jn),Ft;for(var sa,it=1;it<=ho;){for(var mo=it;rt[it]==0&&it<=ho;)++it;var fi=it-mo;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)Hn(Zn);fi&=15}bn=32767+rt[it],Hn(Jt[(fi<<4)+ve[bn]]),Hn(G[bn]),it++}return ho!=63&&Hn(jn),Ft}function dr(Se){Se=Math.min(Math.max(Se,1),100),A!=Se&&(function(gt){for(var Ft=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],jt=0;jt<64;jt++){var Jt=v((Ft[jt]*gt+50)/100);Jt=Math.min(Math.max(Jt,1),255),g[Tn[jt]]=Jt}for(var bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],jn=0;jn<64;jn++){var Zn=v((bn[jn]*gt+50)/100);Zn=Math.min(Math.max(Zn,1),255),p[Tn[jn]]=Zn}for(var rr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,po=0;po<8;po++)for(var ho=0;ho<8;ho++)y[Lr]=1/(g[Tn[Lr]]*rr[po]*rr[ho]*8),S[Lr]=1/(p[Tn[Lr]]*rr[po]*rr[ho]*8),Lr++}(Se<50?Math.floor(5e3/Se):Math.floor(200-2*Se)),A=Se)}this.encode=function(Se,gt){gt&&dr(gt),Je=new Array,ot=0,Ne=7,kn(65496),kn(65504),kn(16),Bn(74),Bn(70),Bn(73),Bn(70),Bn(0),Bn(1),Bn(1),Bn(0),kn(1),kn(1),Bn(0),Bn(0),function(){kn(65499),kn(132),Bn(0);for(var ma=0;ma<64;ma++)Bn(g[ma]);Bn(1);for(var ua=0;ua<64;ua++)Bn(p[ua])}(),function(ma,ua){kn(65472),kn(17),Bn(8),kn(ua),kn(ma),Bn(3),Bn(1),Bn(17),Bn(0),Bn(2),Bn(17),Bn(1),Bn(3),Bn(17),Bn(1)}(Se.width,Se.height),function(){kn(65476),kn(418),Bn(0);for(var ma=0;ma<16;ma++)Bn(Vt[ma+1]);for(var ua=0;ua<=11;ua++)Bn(mt[ua]);Bn(16);for(var dA=0;dA<16;dA++)Bn(un[dA+1]);for(var Li=0;Li<=161;Li++)Bn(Le[Li]);Bn(1);for(var Ga=0;Ga<16;Ga++)Bn(at[Ga+1]);for(var Ti=0;Ti<=11;Ti++)Bn(Rt[Ti]);Bn(17);for(var Ni=0;Ni<16;Ni++)Bn(Pt[Ni+1]);for(var Yo=0;Yo<=161;Yo++)Bn(Fn[Yo])}(),kn(65498),kn(12),Bn(3),Bn(1),Bn(0),Bn(2),Bn(17),Bn(3),Bn(17),Bn(0),Bn(63),Bn(0);var Ft=0,jt=0,Jt=0;ot=0,Ne=7,this.encode.displayName="_encode_";for(var bn,jn,Zn,rr,Lr,po,ho,sa,it,mo=Se.data,fi=Se.width,Ca=Se.height,wr=4*fi,xa=0;xa>3)*wr+(ho=4*(7&it)),xa+sa>=Ca&&(po-=wr*(xa+1+sa-Ca)),bn+ho>=wr&&(po-=bn+ho-wr+4),jn=mo[po++],Zn=mo[po++],rr=mo[po++],Mt[it]=(Jn[jn]+Jn[Zn+256|0]+Jn[rr+512|0]>>16)-128,Nt[it]=(Jn[jn+768|0]+Jn[Zn+1024|0]+Jn[rr+1280|0]>>16)-128,pt[it]=(Jn[jn+1280|0]+Jn[Zn+1536|0]+Jn[rr+1792|0]>>16)-128;Ft=Hr(Mt,y,Ft,n,r),jt=Hr(Nt,S,jt,t,o),Jt=Hr(pt,S,Jt,t,o),bn+=32}xa+=8}if(Ne>=0){var jo=[];jo[1]=Ne+1,jo[0]=(1<at;at++)if(mt[un+at]!=Le.charCodeAt(at))return!0;return!1}function r(mt,un,Le,at,Rt){for(var Pt=0;PtPt+1?[]:new un),!(Fn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Le(s,h,B,P,q){n(!(P%B));do s[h+(P-=B)]=q;while(0=q),512>=q)var me=A(512);else if((me=A(q))==null)return 0;return function(xe,Ze,We,st,_t,Cn){var lt,Xt,dn=Ze,Xn=1<lt;++lt){if(wn[lt]>1<(si-=wn[lt]))return 0;for(;0=lt;++lt,_t<<=1){if(Mo+=si<<=1,0>(si-=wn[lt]))return 0;for(;0Fr&&!(0>=(nr-=wn[Fr]));)++Fr,nr<<=1;Xn+=_o=1<<(nr=Fr-We),xe[Ze+(Fr=ea&hr)].g=nr+We,xe[Ze+Fr].value=dn-Ze-Fr}st.g=lt-We,st.value=Cn[Xt++],Le(xe,dn+(ea>>We),_t,_o,st),ea=un(ea,lt)}}return Mo!=2*$n[15]-1?0:Xn}(s,h,B,P,q,me)}function Rt(){this.value=this.g=0}function Pt(){this.value=this.g=0}function Fn(){this.G=v(5,Rt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Pt)}function Mn(s,h,B,P){n(s!=null),n(h!=null),n(2147483648>P),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+P,s.Zc=4<=P?B+P-4+1:B,jn(s)}function Hn(s,h){for(var B=0;0P),s.Sb=P,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;jt(s)&&(s.h=1,s.u=0)}function dr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Ft(s)&Wl[h];return s.u+=h,Hr(s),B}return s.h=1,s.u=0}function Se(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function gt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ft(s){return s.Ra>>>(s.u&xd-1)>>>0}function jt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function Jt(s,h){s.u=h,s.h=jt(s)}function bn(s){s.u>=Yu&&(n(s.u>=Yu),Hr(s))}function jn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&jn(s);var P=s.b,q=B*h>>>8,me=(s.I>>>P>q)+0;for(me?(B-=q,s.I-=q+1<

>>0):B=q+1,P=B,q=0;256<=P;)q+=8,P>>=8;return P=7^q+Ed[P],s.b-=P,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function po(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return po(s,h)|s[h+2]<<16}function sa(s,h){return po(s,h)|po(s,h+2)<<16}function it(s,h){var B=1<=q||0>=me?0:(B[0]=q,P[0]=me,1)}function wr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){mt[h]=function(B,P,q,me,xe,Ze,We){var st;for(st=0;st>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Ga(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,P,q,me,xe){for(P=me[xe-1],B=0;B>8&255,We=16711935&(We=(We=16711935&xe)+((Ze<<16)+Ze));P[q+me]=(4278255360&xe)+We>>>0}}function Yo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,P,q,me){var xe;for(xe=0;xe>>8,st=Ze,_t=255&(_t=(_t=Ze>>>16)+((s.jd<<24>>24)*(We<<24>>24)>>>5));st=255&(st=(st+=(s.hd<<24>>24)*(We<<24>>24)>>>5)+((s.ud<<24>>24)*(_t<<24>>24)>>>5)),q[me+xe]=(4278255360&Ze)+(_t<<16)+st}}function na(s,h,B,P,q){mt[h]=function(me,xe,Ze,We,st,_t,Cn,lt,Xt){for(We=Cn;We>me.b,Xt=me.Ea,dn=me.K[0],Xn=me.w;if(8>lt)for(me=(1<>=lt}else mt["VP8LMapColor"+B](We,st,dn,Xn,_t,Cn,xe,Ze,Xt)}}function Cs(s,h,B,P,q){for(B=h+B;h>16&255,P[q++]=me>>8&255,P[q++]=255&me}}function Xi(s,h,B,P,q){for(B=h+B;h>16&255,P[q++]=me>>8&255,P[q++]=255&me,P[q++]=me>>24&255}}function mi(s,h,B,P,q){for(B=h+B;h>16&240|xe>>12&15,xe=240&xe|xe>>28&15;P[q++]=me,P[q++]=xe}}function yi(s,h,B,P,q){for(B=h+B;h>16&248|xe>>13&7,xe=xe>>5&224|xe>>3&31;P[q++]=me,P[q++]=xe}}function YA(s,h,B,P,q){for(B=h+B;h>8&255,P[q++]=me>>16&255}}function ha(s,h,B,P,q,me){if(me==0)for(B=h+B;h>24|me[1]>>8&65280|me[2]<<8&16711680|me[3]<<24)>>>0),q+=32;else r(P,q,s,h,B)}function DA(s,h){mt[h][0]=mt[s+"0"],mt[h][1]=mt[s+"1"],mt[h][2]=mt[s+"2"],mt[h][3]=mt[s+"3"],mt[h][4]=mt[s+"4"],mt[h][5]=mt[s+"5"],mt[h][6]=mt[s+"6"],mt[h][7]=mt[s+"7"],mt[h][8]=mt[s+"8"],mt[h][9]=mt[s+"9"],mt[h][10]=mt[s+"10"],mt[h][11]=mt[s+"11"],mt[h][12]=mt[s+"12"],mt[h][13]=mt[s+"13"],mt[h][14]=mt[s+"0"],mt[h][15]=mt[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function Xa(){this.eb=[],this.size=this.A=this.fb=0}function JA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Xa,this.f.kb=new JA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,P=h.ba.f.RGBA,q=P.eb,me=P.fb+s.ka*P.A,xe=vc[h.ba.S],Ze=s.y,We=s.O,st=s.f,_t=s.N,Cn=s.ea,lt=s.W,Xt=h.cc,dn=h.dc,Xn=h.Mc,wn=h.Nc,$n=s.ka,nr=s.ka+s.T,Fr=s.U,hr=Fr+1>>1;for($n==0?xe(Ze,We,null,null,st,_t,Cn,lt,st,_t,Cn,lt,q,me,null,null,Fr):(xe(h.ec,h.fc,Ze,We,Xt,dn,Xn,wn,st,_t,Cn,lt,q,me-P.A,q,me,Fr),++B);$n+2B,q=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,q?11:12))return 0;if(q&&La(B)&&Jh(),s.da)alert("todo:use_scaling");else{if(P){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Jh()}}else alert("todo:EmitYUV");q&&(h.Jb=Mu,P&&zc())}if(P&&!yp){for(s=0;256>s;++s)pm[s]=89858*(s-128)+mg>>pg,bm[s]=-22014*(s-128)+mg,ym[s]=-45773*(s-128),mm[s]=113618*(s-128)+mg>>pg;for(s=c0;s>pg,wm[s-c0]=gu(h,255),Bm[s-c0]=gu(h+8>>4,15);yp=1}return 1}function Fa(s){var h=s.ma,B=s.U,P=s.T;return n(!(1&s.ka)),0>=B||0>=P?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,P){return dr(s,8)!=47?0:(h[0]=dr(s,14)+1,B[0]=dr(s,14)+1,P[0]=dr(s,1),dr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var P=Ft(B),q=s[h+=255&P].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var P=s.xc;return n((h=P==0?0:s.vc[s.md*(B>>P)+(h>>P)])>_o.b)*Mo;XnFr&&(Wo=Fr),(0,o0[ji[Zs++]>>8&15])(lt,Xt+ +li,$n,nr+li-Fr,Wo-li,$n,nr+li),li=Wo}Xt+=Fr,nr+=Fr,++Xn&ea||(_o+=Mo)}Cn!=st.nc&&r(We,Ze-dn,We,Ze+(Cn-_t-1)*dn,dn);break;case 1:for(dn=lt,wn=Xt,Fr=(lt=st.Ea)-(nr=lt&~($n=(Xt=1<>st.b)*Xn;_t=q),0me.o&&(P=me.o),B=P?B=0:(q[0]+=4*me.v,me.ka=B-me.j,me.U=me.va-me.v,me.T=P-B,B=1),B){if(Ze=Ze[0],11>(B=s.ca).S){var _t=B.f.RGBA,Cn=(P=B.S,q=me.U,me=me.T,st=_t.eb,_t.A),lt=me;for(_t=_t.fb+s.Ma*_t.A;0P){var q=s.l.width,me=B.ca,xe=B.tb+q*P,Ze=s.V,We=s.Ba+s.c*P,st=s.gc;n(s.ab==1),n(st[0].hc==3),yu(st[0],P,h,Ze,We,me,xe),fu(B,P,h,me,xe,q)}s.C=s.Ma=h}function Kc(s,h,B,P,q,me,xe){var Ze=s.$/P,We=s.$%P,st=s.m,_t=s.s,Cn=B+s.$,lt=Cn;q=B+P*q;var Xt=B+P*me,dn=280+_t.ua,Xn=s.Pb?Ze:16777216,wn=0<_t.ua?_t.Wa:null,$n=_t.wc,nr=Cn=Xn){var ea=Cn-B;n((Xn=s).Pb),Xn.wd=Xn.m,Xn.xd=ea,0si.g?(Jt(hr,hr.u+si.g),ea[Mo]=si.value,hr=0):(Jt(hr,hr.u+si.g-256),n(256<=si.value),hr=si.value),hr==0&&(Fr=!0)}else hr=us(nr.G[0],nr.H[0],st);if(st.h)break;if(Fr||256>hr){if(!Fr)if(nr.nd)h[Cn]=(nr.qb|hr<<8)>>>0;else{if(bn(st),Fr=us(nr.G[1],nr.H[1],st),bn(st),ea=us(nr.G[2],nr.H[2],st),Mo=us(nr.G[3],nr.H[3],st),st.h)break;h[Cn]=(Mo<<24|Fr<<16|hr<<8|ea)>>>0}if(Fr=!1,++Cn,++We>=P&&(We=0,++Ze,xe!=null&&Ze<=me&&!(Ze%16)&&xe(s,Ze),wn!=null))for(;lt>>wn.Mb]=hr}else if(280>hr){if(hr=sc(hr-256,st),ea=us(nr.G[4],nr.H[4],st),bn(st),ea=lc(P,ea=sc(ea,st)),st.h)break;if(Cn-B=P;)We-=P,++Ze,xe!=null&&Ze<=me&&!(Ze%16)&&xe(s,Ze);if(n(Cn<=q),We&$n&&(nr=ol(_t,We,Ze)),wn!=null)for(;lt>>wn.Mb]=hr}else{if(!(hr>>wn.Mb]=hr;hr=Cn,n(!(Fr>>>(ea=wn).Xa)),h[hr]=ea.X[Fr],Fr=!0}Fr||n(st.h==jt(st))}if(s.Pb&&st.h&&Cnme?me:Ze),s.a=0,s.$=Cn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fp,DA("Predictor","VP8LPredictors"),DA("Predictor","VP8LPredictors_C"),DA("PredictorAdd","VP8LPredictorsAdd"),DA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Cs,Sd=Xi,Fd=mi,Id=yi,bf=YA,mt.VP8LMapColor32b=mu,mt.VP8LMapColor8b=r0,s)}function hu(s,h,B,P,q){var me=1,xe=[s],Ze=[h],We=P.m,st=P.s,_t=null,Cn=0;e:for(;;){if(B)for(;me&&dr(We,1);){var lt=xe,Xt=Ze,dn=P,Xn=1,wn=dn.m,$n=dn.gc[dn.ab],nr=dr(wn,2);if(dn.Oc&1<=dn.ab),nr){case 0:case 1:$n.b=dr(wn,3)+2,Xn=hu(wr($n.Ea,$n.b),wr($n.nc,$n.b),0,dn,$n.K),$n.K=$n.K[0];break;case 3:var Fr,hr=dr(wn,8)+1,ea=16>_o.b),Zs=A(ji);if(Zs==null)Fr=0;else{var li=_o.K[0],Wo=_o.w;for(Zs[0]=_o.K[0][0],Mo=1;Mo<1*si;++Mo)Zs[Mo]=xa(li[Wo+Mo],Zs[Mo-1]);for(;Mo<4*ji;++Mo)Zs[Mo]=0;_o.K[0]=null,_o.K[0]=Zs,Fr=1}}Xn=Fr;break;case 2:break;default:n(0)}me=Xn}}if(xe=xe[0],Ze=Ze[0],me&&dr(We,1)&&!(me=1<=(Cn=dr(We,4))&&11>=Cn)){P.a=3;break e}var Ao;if(Ao=me)t:{var Ss,Ya,ki,kA=P,Al=xe,Ul=Ze,ds=Cn,Cl=B,Ll=kA.m,zs=kA.s,Ji=[null],BA=1,fs=0,CA=om[ds];n:for(;;){if(Cl&&dr(Ll,1)){var sl=dr(Ll,3)+2,_c=wr(Al,sl),Fs=wr(Ul,sl),jl=_c*Fs;if(!hu(_c,Fs,0,kA,Ji))break n;for(Ji=Ji[0],zs.xc=sl,Ss=0;Ss>8&65535;Ji[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Ya=0;5>Ya;++Ya){var ks=up[Ya];!Ya&&0=Nl),Jl=Yl;var Hl=A(fs);if(Jl==null||Hl==null||Xl==null){kA.a=1;break n}var $l=Xl;for(Ss=ki=0;SsYa;++Ya){ks=up[Ya],ql[Ya]=$l,Wc[Ya]=ki,!Ya&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sp[d0++]=rh,rh!=0&&(Fp=rh);else{var Nm=rh==16,Up=rh-16,Qm=em[Up],Lp=dr(Qd,qp[Up])+Qm;if(d0+Lp>xg)break r;for(var Pm=Nm?Fp:0;0=Ya){var f0,Bv=Hl[0];for(f0=1;f0Bv&&(Bv=Hl[f0]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][Wc[3]+0].value<<24|ql[1][Wc[1]+0].value<<16|ql[2][Wc[2]+0].value)>>>0,Bf==0&&256>ql[0][Wc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][Wc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Dd),Pd>>=qs(ed.G[1][ed.H[1]+Pd],16,Dd),Pd>>=qs(ed.G[2][ed.H[2]+Pd],0,Dd),qs(ed.G[3][ed.H[3]+Pd],24,Dd))}}}zs.vc=Ji,zs.Wb=BA,zs.Ya=Jl,zs.yc=Xl,Ao=1;break t}Ao=0}if(!(me=Ao)){P.a=3;break e}if(0P+1?[]:0),!(q.lengths?0:s>h?h:s}function Gf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xg(){var s=new Y0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=Xf)),s}function Qs(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function J0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Qs(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,P=h.w,q=h.ha;if(4>q)return Qs(s,7,"Truncated header.");var me=B[P+0]|B[P+1]<<8|B[P+2]<<16,xe=s.Od;if(xe.Rb=!(1&me),xe.td=me>>1&7,xe.yd=me>>4&1,xe.ub=me>>5,3q)return Qs(s,7,"cannot parse picture header");if(!J0(B,P,q))return Qs(s,3,"Bad code word");Ze.c=16383&(B[P+4]<<8|B[P+3]),Ze.Td=B[P+4]>>6,Ze.i=16383&(B[P+6]<<8|B[P+5]),Ze.Ud=B[P+6]>>6,P+=7,q-=7,s.za=Ze.c+15>>4,s.Ub=Ze.i+15>>4,h.width=Ze.c,h.height=Ze.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,o((me=s.Pa).jb,0,255,me.jb.length),n((me=s.Qa)!=null),me.Cb=0,me.Bb=0,me.Fb=1,o(me.Zb,0,0,me.Zb.length),o(me.Lb,0,0,me.Lb)}if(xe.ub>q)return Qs(s,7,"bad partition length");Mn(me=s.m,B,P,xe.ub),P+=xe.ub,q-=xe.ub,xe.Rb&&(Ze.Ld=Zn(me),Ze.Kd=Zn(me)),Ze=s.Qa;var We,st=s.Pa;if(n(me!=null),n(Ze!=null),Ze.Cb=Zn(me),Ze.Cb){if(Ze.Bb=Zn(me),Zn(me)){for(Ze.Fb=Zn(me),We=0;4>We;++We)Ze.Zb[We]=Zn(me)?Bn(me,7):0;for(We=0;4>We;++We)Ze.Lb[We]=Zn(me)?Bn(me,6):0}if(Ze.Bb)for(We=0;3>We;++We)st.jb[We]=Zn(me)?Hn(me,8):255}else Ze.Bb=0;if(me.Ka)return Qs(s,3,"cannot parse segment header");if((Ze=s.ed).zd=Zn(me),Ze.Tb=Hn(me,6),Ze.wb=Hn(me,3),Ze.Pc=Zn(me),Ze.Pc&&Zn(me)){for(st=0;4>st;++st)Zn(me)&&(Ze.vd[st]=Bn(me,6));for(st=0;4>st;++st)Zn(me)&&(Ze.od[st]=Bn(me,6))}if(s.L=Ze.Tb==0?0:Ze.zd?1:2,me.Ka)return Qs(s,3,"cannot parse filter header");var _t=q;if(q=We=P,P=We+_t,Ze=_t,s.Xb=(1<Ze&&(Cn=Ze),Mn(s.Jc[+_t],B,We,Cn),We+=Cn,Ze-=Cn,q+=3}Mn(s.Jc[+st],B,We,Ze),B=WeCn;++Cn){if(_t.Cb){var lt=_t.Zb[Cn];_t.Fb||(lt+=B)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=gv[gu(lt+st,117)],Xt.Qc[1]=vv[gu(lt+We,127)],Xt.lc=lt+We}if(!xe.Rb)return Qs(s,4,"Not a key frame.");for(Zn(me),xe=s.Pa,B=0;4>B;++B){for(q=0;8>q;++q)for(P=0;3>P;++P)for(Ze=0;11>Ze;++Ze)st=rr(me,cm[B][q][P][Ze])?Hn(me,8):sm[B][q][P][Ze],xe.Wc[B][q].Yb[P][Ze]=st;for(q=0;17>q;++q)xe.Xc[B][q]=xe.Wc[B][um[q]]}return s.kc=Zn(me),s.kc&&(s.Bd=Hn(me,8)),s.cb=1}function Xf(s,h,B,P,q,me,xe){var Ze=h[q].Yb[B];for(B=0;16>q;++q){if(!rr(s,Ze[B+0]))return q;for(;!rr(s,Ze[B+1]);)if(Ze=h[++q].Yb[0],B=0,q==16)return 16;var We=h[q+1].Yb;if(rr(s,Ze[B+2])){var st=s,_t=0;if(rr(st,(lt=Ze)[(Cn=B)+3]))if(rr(st,lt[Cn+6])){for(Ze=0,Cn=2*(_t=rr(st,lt[Cn+8]))+(lt=rr(st,lt[Cn+9+_t])),_t=0,lt=im[Cn];lt[Ze];++Ze)_t+=_t+rr(st,lt[Ze]);_t+=3+(8<(st=s).b&&jn(st);var Cn,lt=st.b,Xt=(Cn=st.Ca>>1)-(st.I>>lt)>>31;--st.b,st.Ca+=Xt,st.Ca|=1,st.I-=(Cn+1&Xt)<>3),s[h+B+32*P]=-256&q?0>q?0:255:q}function js(s,h,B,P,q,me){dc(s,h,0,B,P+q),dc(s,h,1,B,P+me),dc(s,h,2,B,P-me),dc(s,h,3,B,P-q)}function Hu(s){return(20091*s>>16)+s}function q0(s,h,B,P){var q,me=0,xe=A(16);for(q=0;4>q;++q){var Ze=s[h+0]+s[h+8],We=s[h+0]-s[h+8],st=(35468*s[h+4]>>16)-Hu(s[h+12]),_t=Hu(s[h+4])+(35468*s[h+12]>>16);xe[me+0]=Ze+_t,xe[me+1]=We+st,xe[me+2]=We-st,xe[me+3]=Ze-_t,me+=4,h++}for(q=me=0;4>q;++q)Ze=(s=xe[me+0]+4)+xe[me+8],We=s-xe[me+8],st=(35468*xe[me+4]>>16)-Hu(xe[me+12]),dc(B,P,0,0,Ze+(_t=Hu(xe[me+4])+(35468*xe[me+12]>>16))),dc(B,P,1,0,We+st),dc(B,P,2,0,We-st),dc(B,P,3,0,Ze-_t),me++,P+=32}function Yg(s,h,B,P){var q=s[h+0]+4,me=35468*s[h+4]>>16,xe=Hu(s[h+4]),Ze=35468*s[h+1]>>16;js(B,P,0,q+xe,s=Hu(s[h+1]),Ze),js(B,P,1,q+me,s,Ze),js(B,P,2,q-me,s,Ze),js(B,P,3,q-xe,s,Ze)}function Jg(s,h,B,P,q){q0(s,h,B,P),q&&q0(s,h+16,B,P+4)}function pu(s,h,B,P){wf(s,h+0,B,P,1),wf(s,h+32,B,P+128,1)}function eg(s,h,B,P){var q;for(s=s[h+0]+4,q=0;4>q;++q)for(h=0;4>h;++h)dc(B,P,h,q,s)}function tg(s,h,B,P){s[h+0]&&hA(s,h+0,B,P),s[h+16]&&hA(s,h+16,B,P+4),s[h+32]&&hA(s,h+32,B,P+128),s[h+48]&&hA(s,h+48,B,P+128+4)}function Yf(s,h,B,P){var q,me=A(16);for(q=0;4>q;++q){var xe=s[h+0+q]+s[h+12+q],Ze=s[h+4+q]+s[h+8+q],We=s[h+4+q]-s[h+8+q],st=s[h+0+q]-s[h+12+q];me[0+q]=xe+Ze,me[8+q]=xe-Ze,me[4+q]=st+We,me[12+q]=st-We}for(q=0;4>q;++q)xe=(s=me[0+4*q]+3)+me[3+4*q],Ze=me[1+4*q]+me[2+4*q],We=me[1+4*q]-me[2+4*q],st=s-me[3+4*q],B[P+0]=xe+Ze>>3,B[P+16]=st+We>>3,B[P+32]=xe-Ze>>3,B[P+48]=st-We>>3,P+=64}function lf(s,h,B){var P,q=h-32,me=Gl,xe=255-s[q-1];for(P=0;PB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0P;++P)o(h,B+32*P,s,16)}function tv(s,h){var B,P=16;for(B=0;16>B;++B)P+=s[h-1+32*B]+s[h+B-32];Zc(P>>5,s,h)}function cf(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h-1+32*B];Zc(P>>4,s,h)}function kh(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h+B-32];Zc(P>>4,s,h)}function nv(s,h){Zc(128,s,h)}function Ka(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,P=h-32;for(P=new Uint8Array([Ka(s[P-1],s[P+0],s[P+1]),Ka(s[P+0],s[P+1],s[P+2]),Ka(s[P+1],s[P+2],s[P+3]),Ka(s[P+2],s[P+3],s[P+4])]),B=0;4>B;++B)r(s,h+32*B,P,0,P.length)}function ov(s,h){var B=s[h-1],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96];Lr(s,h+0,16843009*Ka(s[h-1-32],B,P)),Lr(s,h+32,16843009*Ka(B,P,q)),Lr(s,h+64,16843009*Ka(P,q,me)),Lr(s,h+96,16843009*Ka(q,me,me))}function av(s,h){var B,P=4;for(B=0;4>B;++B)P+=s[h+B-32]+s[h-1+32*B];for(P>>=3,B=0;4>B;++B)o(s,h+32*B,P,4)}function Ku(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1-32],xe=s[h+0-32],Ze=s[h+1-32],We=s[h+2-32],st=s[h+3-32];s[h+0+96]=Ka(P,q,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ka(B,P,q),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ka(me,B,P),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ka(xe,me,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ka(Ze,xe,me),s[h+3+32]=s[h+2+0]=Ka(We,Ze,xe),s[h+3+0]=Ka(st,We,Ze)}function Zu(s,h){var B=s[h+1-32],P=s[h+2-32],q=s[h+3-32],me=s[h+4-32],xe=s[h+5-32],Ze=s[h+6-32],We=s[h+7-32];s[h+0+0]=Ka(s[h+0-32],B,P),s[h+1+0]=s[h+0+32]=Ka(B,P,q),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ka(P,q,me),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ka(q,me,xe),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ka(me,xe,Ze),s[h+3+64]=s[h+2+96]=Ka(xe,Ze,We),s[h+3+96]=Ka(Ze,We,We)}function iv(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1-32],xe=s[h+0-32],Ze=s[h+1-32],We=s[h+2-32],st=s[h+3-32];s[h+0+0]=s[h+1+64]=me+xe+1>>1,s[h+1+0]=s[h+2+64]=xe+Ze+1>>1,s[h+2+0]=s[h+3+64]=Ze+We+1>>1,s[h+3+0]=We+st+1>>1,s[h+0+96]=Ka(q,P,B),s[h+0+64]=Ka(P,B,me),s[h+0+32]=s[h+1+96]=Ka(B,me,xe),s[h+1+32]=s[h+2+96]=Ka(me,xe,Ze),s[h+2+32]=s[h+3+96]=Ka(xe,Ze,We),s[h+3+32]=Ka(Ze,We,st)}function Av(s,h){var B=s[h+0-32],P=s[h+1-32],q=s[h+2-32],me=s[h+3-32],xe=s[h+4-32],Ze=s[h+5-32],We=s[h+6-32],st=s[h+7-32];s[h+0+0]=B+P+1>>1,s[h+1+0]=s[h+0+64]=P+q+1>>1,s[h+2+0]=s[h+1+64]=q+me+1>>1,s[h+3+0]=s[h+2+64]=me+xe+1>>1,s[h+0+32]=Ka(B,P,q),s[h+1+32]=s[h+0+96]=Ka(P,q,me),s[h+2+32]=s[h+1+96]=Ka(q,me,xe),s[h+3+32]=s[h+2+96]=Ka(me,xe,Ze),s[h+3+64]=Ka(xe,Ze,We),s[h+3+96]=Ka(Ze,We,st)}function Jf(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96];s[h+0+0]=B+P+1>>1,s[h+2+0]=s[h+0+32]=P+q+1>>1,s[h+2+32]=s[h+0+64]=q+me+1>>1,s[h+1+0]=Ka(B,P,q),s[h+3+0]=s[h+1+32]=Ka(P,q,me),s[h+3+32]=s[h+1+64]=Ka(q,me,me),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=me}function _h(s,h){var B=s[h-1+0],P=s[h-1+32],q=s[h-1+64],me=s[h-1+96],xe=s[h-1-32],Ze=s[h+0-32],We=s[h+1-32],st=s[h+2-32];s[h+0+0]=s[h+2+32]=B+xe+1>>1,s[h+0+32]=s[h+2+64]=P+B+1>>1,s[h+0+64]=s[h+2+96]=q+P+1>>1,s[h+0+96]=me+q+1>>1,s[h+3+0]=Ka(Ze,We,st),s[h+2+0]=Ka(xe,Ze,We),s[h+1+0]=s[h+3+32]=Ka(B,xe,Ze),s[h+1+32]=s[h+3+64]=Ka(P,B,xe),s[h+1+64]=s[h+3+96]=Ka(q,P,B),s[h+1+96]=Ka(me,q,P)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)o(s,h,s[h-1],8),h+=32}function zu(s,h,B){var P;for(P=0;8>P;++P)o(h,B+32*P,s,8)}function lv(s,h){var B,P=8;for(B=0;8>B;++B)P+=s[h+B-32]+s[h-1+32*B];zu(P>>4,s,h)}function Wh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h+B-32];zu(P>>3,s,h)}function Vh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h-1+32*B];zu(P>>3,s,h)}function rg(s,h){zu(128,s,h)}function ku(s,h,B){var P=s[h-B],q=s[h+0],me=3*(q-P)+cv[1020+s[h-2*B]-s[h+B]],xe=ug[112+(me+4>>3)];s[h-B]=Gl[255+P+ug[112+(me+3>>3)]],s[h+0]=Gl[255+q-xe]}function Gh(s,h,B,P){var q=s[h+0],me=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>P||gc[255+me-q]>P}function $f(s,h,B,P){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=P}function Xh(s,h,B,P,q){var me=s[h-3*B],xe=s[h-2*B],Ze=s[h-B],We=s[h+0],st=s[h+B],_t=s[h+2*B],Cn=s[h+3*B];return 4*gc[255+Ze-We]+gc[255+xe-st]>P?0:gc[255+s[h-4*B]-me]<=q&&gc[255+me-xe]<=q&&gc[255+xe-Ze]<=q&&gc[255+Cn-_t]<=q&&gc[255+_t-st]<=q&&gc[255+st-We]<=q}function df(s,h,B,P){var q=2*P+1;for(P=0;16>P;++P)$f(s,h+P,B,q)&&ku(s,h+P,B)}function Yh(s,h,B,P){var q=2*P+1;for(P=0;16>P;++P)$f(s,h+P*B,1,q)&&ku(s,h+P*B,1)}function og(s,h,B,P){var q;for(q=3;0>7,$n=18*nr+63>>7,nr=9*nr+63>>7;We[st-3*_t]=Gl[255+We[st-3*_t]+nr],We[st-2*_t]=Gl[255+Cn+$n],We[st-_t]=Gl[255+lt+wn],We[st+0]=Gl[255+Xt-wn],We[st+_t]=Gl[255+dn-$n],We[st+2*_t]=Gl[255+Xn-nr]}h+=P}}function Wu(s,h,B,P,q,me,xe,Ze){for(me=2*me+1;0>3)],Xn=ug[112+(Xn+3>>3)],wn=dn+1>>1;We[st-2*_t]=Gl[255+We[st-2*_t]+wn],We[st-_t]=Gl[255+Cn+Xn],We[st+0]=Gl[255+lt-dn],We[st+_t]=Gl[255+Xt-wn]}h+=P}}function ig(s,h,B,P,q,me){_u(s,h,B,1,16,P,q,me)}function ff(s,h,B,P,q,me){_u(s,h,1,B,16,P,q,me)}function Ag(s,h,B,P,q,me){var xe;for(xe=3;0st?0:255:st)&255,st=We,q[me+Ze]=_t}}function RA(s,h,B,P){var q=h.width,me=h.o;if(n(s!=null&&h!=null),0>B||0>=P||B+P>me)return null;if(!s.Cc){if(s.ga==null){var xe;if(s.ga=new ri,(xe=s.ga==null)||(xe=h.width*h.o,n(s.Gb.length==0),s.Gb=A(xe),s.Uc=0,s.Gb==null?xe=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,xe=1),xe=!xe),!xe){xe=s.ga;var Ze=s.Fa,We=s.P,st=s.qc,_t=s.mb,Cn=s.nb,lt=We+1,Xt=st-1,dn=xe.l;if(n(Ze!=null&&_t!=null&&h!=null),Ld[0]=null,Ld[1]=Yi,Ld[2]=ns,Ld[3]=Ps,xe.ca=_t,xe.tb=Cn,xe.c=h.width,xe.i=h.height,n(0=st)h=0;else if(xe.$a=3&Ze[We+0],xe.Z=Ze[We+0]>>2&3,xe.Lc=Ze[We+0]>>4&3,We=Ze[We+0]>>6&3,0>xe.$a||1=xe.c*xe.i;xe=!h}if(xe)return null;s.ga.Lc!=1?s.Ga=0:P=me-B}n(s.ga!=null),n(B+P<=me);e:{if(h=(Ze=s.ga).c,me=Ze.l.o,Ze.$a==0){if(lt=s.rc,Xt=s.Vc,dn=s.Fa,We=s.P+1+B*h,st=s.mb,_t=s.nb+B*h,n(We<=s.P+s.qc),Ze.Z!=0)for(n(Ld[Ze.Z]!=null),xe=0;xe=h)h=1;else if(Ze.ic||zc(),Ze.ic){Ze=xe.V,lt=xe.Ba,Xt=xe.c;var Xn=xe.i,wn=(dn=1,We=xe.$/Xt,st=xe.$%Xt,_t=xe.m,Cn=xe.s,xe.$),$n=Xt*Xn,nr=Xt*h,Fr=Cn.wc,hr=wn(Xn=us(hr.G[0],hr.H[0],_t)))Ze[lt+wn]=Xn,++wn,++st>=Xt&&(st=0,++We<=h&&!(We%16)&&Hc(xe,We));else{if(!(280>Xn)){dn=0;break t}Xn=sc(Xn-256,_t);var ea,Mo=us(hr.G[4],hr.H[4],_t);if(bn(_t),!(wn>=(Mo=lc(Xt,Mo=sc(Mo,_t)))&&$n-wn>=Xn)){dn=0;break t}for(ea=0;ea=Xt;)st-=Xt,++We<=h&&!(We%16)&&Hc(xe,We);wnh?h:We);break t}!dn||_t.h&&wn<$n?(dn=0,xe.a=_t.h?5:3):xe.$=wn,h=dn}else h=Kc(xe,xe.V,xe.Ba,xe.c,xe.i,h,_f);if(!h){P=0;break e}}B+P>=me&&(s.Cc=1),P=1}if(!P)return null;if(s.Cc&&((P=s.ga)!=null&&(P.mc=null),s.ga=null,0>23,Ze[We+4*xe+1]=Ze[We+4*xe+1]*Cn>>23,Ze[We+4*xe+2]=Ze[We+4*xe+2]*Cn>>23)}h+=me}}function Ds(s,h,B,P,q){for(;0>4)*We>>16;s[h+2*me+0]=(240&xe|xe>>4)*We>>16&240|(15&xe|xe<<4)*We>>16>>4&15,s[h+2*me+1]=240&st|Ze}h+=q}}function al(s,h,B,P,q,me,xe,Ze){var We,st,_t=255;for(st=0;st>8}function zc(){s0=Hs,tp=Ds,np=al,rp=Vu}function Gu(s,h,B){mt[s]=function(P,q,me,xe,Ze,We,st,_t,Cn,lt,Xt,dn,Xn,wn,$n,nr,Fr){var hr,ea=Fr-1>>1,Mo=Ze[We+0]|st[_t+0]<<16,si=Cn[lt+0]|Xt[dn+0]<<16;n(P!=null);var _o=3*Mo+si+131074>>2;for(h(P[q+0],255&_o,_o>>16,Xn,wn),me!=null&&(_o=3*si+Mo+131074>>2,h(me[xe+0],255&_o,_o>>16,$n,nr)),hr=1;hr<=ea;++hr){var ji=Ze[We+hr]|st[_t+hr]<<16,Zs=Cn[lt+hr]|Xt[dn+hr]<<16,li=Mo+ji+si+Zs+524296,Wo=li+2*(ji+si)>>3;_o=Wo+Mo>>1,Mo=(li=li+2*(Mo+Zs)>>3)+ji>>1,h(P[q+2*hr-1],255&_o,_o>>16,Xn,wn+(2*hr-1)*B),h(P[q+2*hr-0],255&Mo,Mo>>16,Xn,wn+(2*hr-0)*B),me!=null&&(_o=li+si>>1,Mo=Wo+Zs>>1,h(me[xe+2*hr-1],255&_o,_o>>16,$n,nr+(2*hr-1)*B),h(me[xe+2*hr+0],255&Mo,Mo>>16,$n,nr+(2*hr+0)*B)),Mo=ji,si=Zs}1&Fr||(_o=3*Mo+si+131074>>2,h(P[q+Fr-1],255&_o,_o>>16,Xn,wn+(Fr-1)*B),me!=null&&(_o=3*si+Mo+131074>>2,h(me[xe+Fr-1],255&_o,_o>>16,$n,nr+(Fr-1)*B)))}}function Jh(){vc[dg]=fm,vc[fg]=hp,vc[lp]=hm,vc[hg]=gp,vc[gg]=vp,vc[uv]=pp,vc[cp]=gm,vc[dv]=hp,vc[fv]=gp,vc[vg]=vp,vc[hv]=pp}function qf(s){return s&~vm?0>s?0:255:s>>mp}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,P,q){P[q+0]=wd(s,B),P[q+1]=hf(s,h,B),P[q+2]=gf(s,h)}function il(s,h,B,P,q){P[q+0]=gf(s,h),P[q+1]=hf(s,h,B),P[q+2]=wd(s,B)}function vf(s,h,B,P,q){var me=hf(s,h,B);h=me<<3&224|gf(s,h)>>3,P[q+0]=248&wd(s,B)|me>>5,P[q+1]=h}function pf(s,h,B,P,q){var me=240&gf(s,h)|15;P[q+0]=240&wd(s,B)|hf(s,h,B)>>4,P[q+1]=me}function $h(s,h,B,P,q){P[q+0]=255,Bd(s,h,B,P,q+1)}function qh(s,h,B,P,q){il(s,h,B,P,q),P[q+3]=255}function Ol(s,h,B,P,q){Bd(s,h,B,P,q),P[q+3]=255}function Xu(s,h,B){mt[s]=function(P,q,me,xe,Ze,We,st,_t,Cn){for(var lt=_t+(-2&Cn)*B;_t!=lt;)h(P[q+0],me[xe+0],Ze[We+0],st,_t),h(P[q+1],me[xe+0],Ze[We+0],st,_t+B),q+=2,++xe,++We,_t+=2*B;1&Cn&&h(P[q+0],me[xe+0],Ze[We+0],st,_t)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,P,q){switch(s>>>30){case 3:wf(h,B,P,q,0);break;case 2:hc(h,B,P,q);break;case 1:hA(h,B,P,q)}}function fc(s,h){var B,P,q=h.M,me=h.Nb,xe=s.oc,Ze=s.pc+40,We=s.oc,st=s.pc+584,_t=s.oc,Cn=s.pc+600;for(B=0;16>B;++B)xe[Ze+32*B-1]=129;for(B=0;8>B;++B)We[st+32*B-1]=129,_t[Cn+32*B-1]=129;for(0B;++B)r(xe,Ze+32*B-4,xe,Ze+32*B+12,4);for(B=-1;8>B;++B)r(We,st+32*B-4,We,st+32*B+4,4),r(_t,Cn+32*B-4,_t,Cn+32*B+4,4)}var Xt=s.Gd,dn=s.Hd+P,Xn=lt.ad,wn=lt.Hc;if(0=s.za-1?o($n,nr,Xt[dn].y[15],4):r($n,nr,Xt[dn+1].y,0,4)),B=0;4>B;B++)$n[nr+128+B]=$n[nr+256+B]=$n[nr+384+B]=$n[nr+0+B];for(B=0;16>B;++B,wn<<=2)$n=xe,nr=Ze+bp[B],kc[lt.Ob[B]]($n,nr),sg(wn,Xn,16*+B,$n,nr)}else if($n=eh(P,q,lt.Ob[0]),Ud[$n](xe,Ze),wn!=0)for(B=0;16>B;++B,wn<<=2)sg(wn,Xn,16*+B,xe,Ze+bp[B]);for(B=lt.Gc,$n=eh(P,q,lt.Dd),$u[$n](We,st),$u[$n](_t,Cn),wn=Xn,$n=We,nr=st,255&(lt=0|B)&&(170<?bu(wn,256,$n,nr):OA(wn,256,$n,nr)),lt=_t,wn=Cn,255&(B>>=8)&&(170&B?bu(Xn,320,lt,wn):OA(Xn,320,lt,wn)),qB;++B)r(Xt,dn+B*s.R,xe,Ze+32*B,16);for(B=0;8>B;++B)r(Xn,lt+B*s.B,We,st+32*B,8),r(wn,$n+B*s.B,_t,Cn+32*B,8)}}function mf(s,h,B,P,q,me,xe,Ze,We){var st=[0],_t=[0],Cn=0,lt=We!=null?We.kd:0,Xt=We!=null?We:new fr;if(s==null||12>B)return 7;Xt.data=s,Xt.w=h,Xt.ha=B,h=[h],B=[B],Xt.gb=[Xt.gb];e:{var dn=h,Xn=B,wn=Xt.gb;if(n(s!=null),n(Xn!=null),n(wn!=null),wn[0]=0,12<=Xn[0]&&!t(s,dn[0],"RIFF")){if(t(s,dn[0]+8,"WEBP")){wn=3;break e}var $n=sa(s,dn[0]+4);if(12>$n||4294967286<$n){wn=3;break e}if(lt&&$n>Xn[0]-8){wn=7;break e}wn[0]=$n,dn[0]+=12,Xn[0]-=12}wn=0}if(wn!=0)return wn;for($n=0wn[0])wn=7;else{if(!t(nr,Xn[0],"VP8X")){if(sa(nr,Xn[0]+4)!=10){wn=3;break e}if(18>wn[0]){wn=7;break e}var Mo=sa(nr,Xn[0]+8),si=1+ho(nr,Xn[0]+12);if(2147483648<=si*(nr=1+ho(nr,Xn[0]+15))){wn=3;break e}ea!=null&&(ea[0]=Mo),Fr!=null&&(Fr[0]=si),hr!=null&&(hr[0]=nr),Xn[0]+=18,wn[0]-=18,_o[0]=1}wn=0}}if(Cn=Cn[0],dn=dn[0],wn!=0)return wn;if(Xn=!!(2&dn),!$n&&Cn)return 3;if(me!=null&&(me[0]=!!(16&dn)),xe!=null&&(xe[0]=Xn),Ze!=null&&(Ze[0]=0),xe=st[0],dn=_t[0],Cn&&Xn&&We==null){wn=0;break}if(4>B){wn=7;break}if($n&&Cn||!$n&&!Cn&&!t(s,h[0],"ALPH")){B=[B],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{Mo=s,wn=h,$n=B;var _o=Xt.gb;Fr=Xt.na,hr=Xt.P,ea=Xt.Sa,si=22,n(Mo!=null),n($n!=null),nr=wn[0];var ji=$n[0];for(n(Fr!=null),n(ea!=null),Fr[0]=null,hr[0]=null,ea[0]=0;;){if(wn[0]=nr,$n[0]=ji,8>ji){wn=7;break e}var Zs=sa(Mo,nr+4);if(4294967286_o){wn=3;break e}if(!t(Mo,nr,"VP8 ")||!t(Mo,nr,"VP8L")){wn=0;break e}if(ji[0]$n[0])wn=7;else{if(nr||si){if(_o=sa(_o,Mo+4),12<=Fr&&_o>Fr-12){wn=3;break e}if(lt&&_o>$n[0]-8){wn=7;break e}hr[0]=_o,wn[0]+=8,$n[0]-=8,ea[0]=si}else ea[0]=5<=$n[0]&&_o[Mo+0]==47&&!(_o[Mo+4]>>5),hr[0]=$n[0];wn=0}if(B=B[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],h=h[0],wn!=0)break;if(4294967286B){wn=7;break}Ze=xe,lt=dn,Xn=me,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?($n=[0],_o=[0],Fr=[0],kn(hr=new gt,s,h,B),ju(hr,$n,_o,Fr)?(Ze!=null&&(Ze[0]=$n[0]),lt!=null&&(lt[0]=_o[0]),Xn!=null&&(Xn[0]=Fr[0]),s=1):s=0):s=0}else{if(10>B){wn=7;break}Ze=dn,s==null||10>B||!J0(s,h+3,B-3)?s=0:(lt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Xn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1<||3<(lt>>1&7)||!(lt>>4&1)||lt>>5>=Xt.Ja||!Xn||!s?s=0:(xe&&(xe[0]=Xn),Ze&&(Ze[0]=s),s=1))}if(!s||(xe=xe[0],dn=dn[0],Cn&&(st[0]!=xe||_t[0]!=dn)))return 3;We!=null&&(We[0]=Xt,We.offset=h-We.w,n(4294967286>h-We.w),n(We.offset==We.ha-B));break}return wn==0||wn==7&&Cn&&We==null?(me!=null&&(me[0]|=Xt.na!=null&&0B||(me&=-2,xe&=-2),0>me||0>xe||0>=Ze||0>=We||me+Ze>P||xe+We>q))return 0;if(h.v=me,h.j=xe,h.va=me+Ze,h.o=xe+We,h.U=Ze,h.T=We,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,P){if(P==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var q=B.cd,me=B.bd,xe=-2&B.v,Ze=-2&B.j;if(0>xe||0>Ze||0>=q||0>=me||xe+q>s||Ze+me>h)return 2;s=q,h=me}if(B.da){if(!Ca(s,h,q=[B.ib],me=[B.hb]))return 2;s=q[0],h=me[0]}}P.width=s,P.height=h;e:{var We=P.width,st=P.height;if(s=P.S,0>=We||0>=st||!(s>=dg&&13>s))s=2;else{if(0>=P.Rd&&P.sd==null){xe=me=q=h=0;var _t=(Ze=We*wp[s])*st;if(11>s||(me=(st+1)/2*(h=(We+1)/2),s==12&&(xe=(q=We)*st)),(st=A(_t+2*me+xe))==null){s=1;break e}P.sd=st,11>s?((We=P.f.RGBA).eb=st,We.fb=0,We.A=Ze,We.size=_t):((We=P.f.kb).y=st,We.O=0,We.fa=Ze,We.Fd=_t,We.f=st,We.N=0+_t,We.Ab=h,We.Cd=me,We.ea=st,We.W=0+_t+me,We.Db=h,We.Ed=me,s==12&&(We.F=st,We.J=0+_t+2*me),We.Tc=xe,We.lb=q)}if(h=1,q=P.S,me=P.width,xe=P.height,q>=dg&&13>q)if(11>q)s=P.f.RGBA,h&=(Ze=Math.abs(s.A))*(xe-1)+me<=s.size,h&=Ze>=me*wp[q],h&=s.eb!=null;else{s=P.f.kb,Ze=(me+1)/2,_t=(xe+1)/2,We=Math.abs(s.fa),st=Math.abs(s.Ab);var Cn=Math.abs(s.Db),lt=Math.abs(s.lb),Xt=lt*(xe-1)+me;h&=We*(xe-1)+me<=s.Fd,h&=st*(_t-1)+Ze<=s.Cd,h=(h&=Cn*(_t-1)+Ze<=s.Ed)&We>=me&st>=Ze&Cn>=Ze,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,q==12&&(h&=lt>=me,h&=Xt<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(P)),s}var yf=64,Wl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Yu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),mt.Predictor0=function(){return 4278190080},mt.Predictor1=function(s){return s},mt.Predictor2=function(s,h,B){return h[B+0]},mt.Predictor3=function(s,h,B){return h[B+1]},mt.Predictor4=function(s,h,B){return h[B-1]},mt.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},mt.Predictor6=function(s,h,B){return ua(s,h[B-1])},mt.Predictor7=function(s,h,B){return ua(s,h[B+0])},mt.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},mt.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},mt.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},mt.Predictor11=function(s,h,B){var P=h[B+0];return 0>=Ga(P>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Ga(P>>16&255,s>>16&255,h>>16&255)+Ga(P>>8&255,s>>8&255,h>>8&255)+Ga(255&P,255&s,255&h)?P:s},mt.Predictor12=function(s,h,B){var P=h[B+0];return(dA((s>>24&255)+(P>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(P>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(P>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&P)-(255&h)))>>>0},mt.Predictor13=function(s,h,B){var P=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,P>>24&255)<<24|Li(s>>16&255,P>>16&255)<<16|Li(s>>8&255,P>>8&255)<<8|Li(255&s,255&P))>>>0};var n0=mt.PredictorAdd0;mt.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=mt.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=mt.ColorIndexInverseTransform,mu=mt.MapARGB,yu=mt.VP8LColorIndexInverseTransformAlpha,r0=mt.MapAlpha,o0=mt.VP8LPredictorsAdd=[];o0.length=16,(mt.VP8LPredictors=[]).length=16,(mt.VP8LPredictorsAdd_C=[]).length=16,(mt.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Fd,Id,bf,Od,wf,hc,bu,hA,OA,Es,Ks,Ju,A0,nh,cg,Xv,Yv,Jv,$v,qv,ep,s0,tp,np,rp,op=A(511),ap=A(2041),ip=A(225),Ap=A(767),sp=0,cv=ap,ug=ip,Gl=Ap,gc=op,dg=0,fg=1,lp=2,hg=3,gg=4,uv=5,cp=6,dv=7,fv=8,vg=9,hv=10,qp=[2,3,7],em=[3,3,11],up=[280,256,256,256,40],tm=[0,1,1,1,0],nm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],um=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],kc=[],$u=[],dm=1,fp=2,Ld=[],vc=[];Gu("UpsampleRgbLinePair",Bd,3),Gu("UpsampleBgrLinePair",il,3),Gu("UpsampleRgbaLinePair",Ol,4),Gu("UpsampleBgraLinePair",qh,4),Gu("UpsampleArgbLinePair",$h,4),Gu("UpsampleRgba4444LinePair",pf,2),Gu("UpsampleRgb565LinePair",vf,2);var fm=mt.UpsampleRgbLinePair,hm=mt.UpsampleBgrLinePair,hp=mt.UpsampleRgbaLinePair,gp=mt.UpsampleBgraLinePair,vp=mt.UpsampleArgbLinePair,pp=mt.UpsampleRgba4444LinePair,gm=mt.UpsampleRgb565LinePair,pg=16,mg=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&zc()),P.Pb&&0(We=B.Md)?0:100st;++st)12>(Cn=q.pb[st]).lc&&(Cn.ia=We*Cm[0>Cn.lc?0:Cn.lc]>>3),_t|=Cn.ia;_t&&(alert("todo:VP8InitRandom"),q.ia=1)}q.Ga=B.Id,100q.Ga&&(q.Ga=0)}(function(lt,Xt){if(lt==null)return 0;if(Xt==null)return Qs(lt,2,"NULL VP8Io parameter in VP8Decode().");if(!lt.cb&&!vu(lt,Xt))return 0;if(n(lt.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(lt.L=0);var dn=yg[lt.L];if(lt.L==2?(lt.yb=0,lt.zb=0):(lt.yb=Xt.v-dn>>4,lt.zb=Xt.j-dn>>4,0>lt.yb&&(lt.yb=0),0>lt.zb&&(lt.zb=0)),lt.Va=Xt.o+15+dn>>4,lt.Hb=Xt.va+15+dn>>4,lt.Hb>lt.za&&(lt.Hb=lt.za),lt.Va>lt.Ub&&(lt.Va=lt.Ub),0dn;++dn){var wn;if(lt.Qa.Cb){var $n=lt.Qa.Lb[dn];lt.Qa.Fb||($n+=Xn.Tb)}else $n=Xn.Tb;for(wn=0;1>=wn;++wn){var nr=lt.gd[dn][wn],Fr=$n;if(Xn.Pc&&(Fr+=Xn.vd[0],wn&&(Fr+=Xn.od[0])),0<(Fr=0>Fr?0:63>2:hr>>1)>9-Xn.wb&&(hr=9-Xn.wb),1>hr&&(hr=1),nr.dd=hr,nr.tc=2*Fr+hr,nr.ld=40<=Fr?2:15<=Fr?1:0}else nr.tc=0;nr.La=wn}}}dn=0}else Qs(lt,6,"Frame setup failed"),dn=lt.a;if(dn=dn==0){if(dn){lt.$c=0,0lt.Vb){if(lt.Vb=0,lt.Ec=A(nr),lt.Fc=0,lt.Ec==null){dn=Qs(lt,1,"no memory during frame initialization.");break t}lt.Vb=nr}nr=lt.Ec,Fr=lt.Fc,lt.Ac=nr,lt.Bc=Fr,Fr+=Xn,lt.Gd=v(ea,X0),lt.Hd=0,lt.rb=v(Mo+1,Kh),lt.sb=1,lt.wa=si?v(si,uc):null,lt.Y=0,lt.D.Nb=0,lt.D.wa=lt.wa,lt.D.Y=lt.Y,0=dn;++dn)op[255+dn]=0>dn?-dn:dn;for(dn=-1020;1020>=dn;++dn)ap[1020+dn]=-128>dn?-128:127=dn;++dn)ip[112+dn]=-16>dn?-16:15=dn;++dn)Ap[255+dn]=0>dn?0:255ki;++ki){var zs,Ji=Ul[0+ki];for(zs=0;4>zs;++zs){Ji=lm[kA[Al+zs]][Ji];for(var BA=dp[rr(Ya,Ji[0])];0>3;for(BA=0;256>BA;BA+=16)ki[Cl+BA]=jl}sl=1,_c=Al[0]}var UA=15&Ya.la,ks=15&Ll.la;for(BA=0;4>BA;++BA){var Xl=1&ks;for(jl=CA=0;4>jl;++jl)UA=UA>>1|(Xl=(Fs=l0(kA,_c,Fs=Xl+(1&UA),ds.Sc,sl,ki,Cl))>sl)<<7,CA=CA<<2|(3>=4,ks=ks>>1|Xl<<7,zs=(zs<<8|CA)>>>0}for(_c=UA,sl=ks>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Ya.la>>4+fs,ks=Ll.la>>4+fs,BA=0;2>BA;++BA){for(Xl=1&ks,jl=0;2>jl;++jl)Fs=Xl+(1&UA),UA=UA>>1|(Xl=0<(Fs=l0(kA,Al[2],Fs,ds.Qc,0,ki,Cl)))<<3,CA=CA<<2|(3>=2,ks=ks>>1|Xl<<5}Ji|=CA<<4*fs,_c|=UA<<4<=Wo.zb&&Wo.M<=Wo.Va,Wo.Aa==0)t:{if(li.M=Wo.M,li.uc=Ya,fc(Wo,li),Ss=1,li=(CA=Wo.D).Nb,Ya=(Ji=yg[Wo.L])*Wo.R,kA=Ji/2*Wo.B,BA=16*li*Wo.R,jl=8*li*Wo.B,Al=Wo.sa,Ul=Wo.ta-Ya+BA,ds=Wo.qa,ki=Wo.ra-kA+jl,Cl=Wo.Ha,Ll=Wo.Ia-kA+jl,ks=(UA=CA.M)==0,zs=UA>=Wo.Va-1,Wo.Aa==2&&fc(Wo,CA),CA.uc)for(Xl=(Fs=Wo).D.M,n(Fs.D.uc),CA=Fs.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,Wo.Fa!=null&&0>1),Ao.W+=Wo.B*(Ji>>1),Ao.F!=null&&(Ao.J+=Ao.width*Ji)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=Wo.Ic||zs||(r(Wo.sa,Wo.ta-Ya,Al,Ul+16*Wo.R,Ya),r(Wo.qa,Wo.ra-kA,ds,ki+8*Wo.B,kA),r(Wo.Ha,Wo.Ia-kA,Cl,Ll+8*Wo.B,kA))}if(!Ss)return Qs(ji,6,"Output aborted.")}return 1}(lt,Xt)),Xt.bc!=null&&Xt.bc(Xt),dn&=1}return dn?(lt.cb=0,dn):0})(s,P)||(h=s.a)}}else h=s.a}h==0&&xe.Oa!=null&&xe.Oa.fd&&(h=t0(xe.ba))}xe=h}me=xe!=0?null:11>me?Ze.f.RGBA.eb:Ze.f.kb.y}else me=null;return me};var wp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(mt,un){for(var Le="",at=0;at<4;at++)Le+=String.fromCharCode(mt[un++]);return Le}function S(mt,un){return mt[un+0]|mt[un+1]<<8}function G(mt,un){return(mt[un+0]|mt[un+1]<<8|mt[un+2]<<16)>>>0}function ve(mt,un){return(mt[un+0]|mt[un+1]<<8|mt[un+2]<<16|mt[un+3]<<24)>>>0}new p;var x=[0],rt=[0],Je=[],ot=new p,Ne=e,Mt=function(mt,un){var Le={},at=0,Rt=!1,Pt=0,Fn=0;if(Le.frames=[],!function(Se,gt){for(var Ft=0;Ft<4;Ft++)if(Se[gt+Ft]!="RIFF".charCodeAt(Ft))return!0;return!1}(mt,un)){for(ve(mt,un+=4),un+=8;un>1&1}Mn!="ANMF"&&(un+=Bn)}return Le}}(Ne,0);Mt.response=Ne,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Nt=Mt.header?Mt.header:null,pt=Mt.frames?Mt.frames:null;if(Nt){Nt.loop_counter=Nt.loop_count,x=[Nt.canvas_height],rt=[Nt.canvas_width];for(var xn=0;xn=2?it[1]:mo[0],mo[2]=it.length>=3?it[2]:mo[0],mo[3]=it.length>=4?it[3]:mo[1]),y.margin=mo}});var jn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return jn},set:function(it){jn=it}});var Zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Zn},set:function(it){Zn=it}});var rr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return rr},set:function(it){rr=it}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(it){it instanceof S&&(y=it)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(it){y.path=it}});var Lr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Lr},set:function(it){Lr=it}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(it){var mo;mo=ve(it),this.ctx.fillStyle=mo.style,this.ctx.isFillTransparent=mo.a===0,this.ctx.fillOpacity=mo.a,this.pdf.setFillColor(mo.r,mo.g,mo.b,{a:mo.a}),this.pdf.setTextColor(mo.r,mo.g,mo.b,{a:mo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(it){var mo=ve(it);this.ctx.strokeStyle=mo.style,this.ctx.isStrokeTransparent=mo.a===0,this.ctx.strokeOpacity=mo.a,mo.a===0?this.pdf.setDrawColor(255,255,255):(mo.a,this.pdf.setDrawColor(mo.r,mo.g,mo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(it){["butt","round","square"].indexOf(it)!==-1&&(this.ctx.lineCap=it,this.pdf.setLineCap(it))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(it){isNaN(it)||(this.ctx.lineWidth=it,this.pdf.setLineWidth(it))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(it){["bevel","round","miter"].indexOf(it)!==-1&&(this.ctx.lineJoin=it,this.pdf.setLineJoin(it))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(it){isNaN(it)||(this.ctx.miterLimit=it,this.pdf.setMiterLimit(it))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(it){this.ctx.textBaseline=it}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(it){["right","end","center","left","start"].indexOf(it)!==-1&&(this.ctx.textAlign=it)}});var po=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(it){po=null,ho=null,sa=it}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(it){var mo;if(this.ctx.font=it,(mo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(it))!==null){var fi=mo[1];mo[2];var Ca=mo[3],wr=mo[4];mo[5];var xa=mo[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(wr)[2];wr=Math.floor(jo==="px"?parseFloat(wr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(wr)*this.pdf.getFontSize():parseFloat(wr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(wr);var ma=function(na){var Cs,Xi,mi=[],yi=na.trim();if(yi==="")return _g;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Xi=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":Xi=Rc(yi.substring(1),Cs);break;default:Xi=md(yi)}if(Xi===null||(mi.push(Xi[0]),(yi=lu(Xi[1]))!==""&&yi.charAt(0)!==","))return _g;yi=yi.replace(/^,/,"")}return mi}(xa);if(this.fontFaces){var ua=function(na,Cs){var Xi=na.getFontList(),mi=JSON.stringify(Xi);if(po===null||ho!==mi){var yi=function(YA){var ha=[];return Object.keys(YA).forEach(function(DA){YA[DA].forEach(function(La){var Xa=null;switch(La){case"bold":Xa={family:DA,weight:"bold"};break;case"italic":Xa={family:DA,style:"italic"};break;case"bolditalic":Xa={family:DA,weight:"bold",style:"italic"};break;case"":case"normal":Xa={family:DA}}Xa!==null&&(Xa.ref={name:DA,style:La},ha.push(Xa))})}),ha}(Xi);po=function(YA){for(var ha={},DA=0;DA=700||fi==="bold")&&(Ga="bold"),fi==="italic"&&(Ga+="italic"),Ga.length===0&&(Ga="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Yo=0;Yo=2*Math.PI&&(jt=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Se,y:gt,radius:Ft,startAngle:jt,endAngle:Jt,counterclockwise:bn})},G.prototype.arcTo=function(Se,gt,Ft,jt,Jt){throw new Error("arcTo not implemented.")},G.prototype.rect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Se,gt),this.lineTo(Se+Ft,gt),this.lineTo(Se+Ft,gt+jt),this.lineTo(Se,gt+jt),this.lineTo(Se,gt),this.lineTo(Se+Ft,gt),this.lineTo(Se,gt)},G.prototype.fillRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!x.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Se,gt,Ft,jt),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},G.prototype.strokeRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");rt.call(this)||(this.beginPath(),this.rect(Se,gt,Ft,jt),this.stroke())},G.prototype.clearRect=function(Se,gt,Ft,jt){if(isNaN(Se)||isNaN(gt)||isNaN(Ft)||isNaN(jt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Se,gt,Ft,jt))},G.prototype.save=function(Se){Se=typeof Se!="boolean"||Se;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};G.prototype.drawImage=function(Se,gt,Ft,jt,Jt,bn,jn,Zn,rr){var Lr=this.pdf.getImageProperties(Se),po=1,ho=1,sa=1,it=1;jt!==void 0&&Zn!==void 0&&(sa=Zn/jt,it=rr/Jt,po=Lr.width/jt*Zn/jt,ho=Lr.height/Jt*rr/Jt),bn===void 0&&(bn=gt,jn=Ft,gt=0,Ft=0),jt!==void 0&&Zn===void 0&&(Zn=jt,rr=Jt),jt===void 0&&Zn===void 0&&(Zn=Lr.width,rr=Lr.height);var mo=this.ctx.transform.decompose(),fi=Bn(mo.rotate.shx),Ca=new p,wr=(Ca=(Ca=(Ca=Ca.multiply(mo.translate)).multiply(mo.skew)).multiply(mo.scale)).applyToRectangle(new g(bn-gt*sa,jn-Ft*it,jt*po,Jt*ho));if(this.autoPaging){for(var xa,jo=ot.call(this,wr),ma=[],ua=0;uadA||Gawr||jo0)){for(;rr>=0;rr--)if(Jt[rr-1].close!==!0&&Jt[rr-1].begin!==!0){Jt[rr-1].deltas.push(Ft),Jt[rr-1].abs.push(Zn);break}}break;case"bct":Ft=[Zn.x1-bn[jn-1].x,Zn.y1-bn[jn-1].y,Zn.x2-bn[jn-1].x,Zn.y2-bn[jn-1].y,Zn.x-bn[jn-1].x,Zn.y-bn[jn-1].y],Jt[Jt.length-1].deltas.push(Ft);break;case"qct":var Lr=bn[jn-1].x+2/3*(Zn.x1-bn[jn-1].x),po=bn[jn-1].y+2/3*(Zn.y1-bn[jn-1].y),ho=Zn.x+2/3*(Zn.x1-Zn.x),sa=Zn.y+2/3*(Zn.y1-Zn.y),it=Zn.x,mo=Zn.y;Ft=[Lr-bn[jn-1].x,po-bn[jn-1].y,ho-bn[jn-1].x,sa-bn[jn-1].y,it-bn[jn-1].x,mo-bn[jn-1].y],Jt[Jt.length-1].deltas.push(Ft);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(Zn)}}jt=gt?null:Se==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(jt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jt*Se.scale),Jt=this.lineWidth,this.lineWidth=Jt*Se.scale);var ni=this.autoPaging!=="text";if(ni||Yo.y+Yo.h<=ua){if(ni||Yo.y>=jo&&Yo.x<=Li){var na=ni?Se.text:this.pdf.splitTextToSize(Se.text,Se.maxWidth||Li-Yo.x)[0],Cs=Mt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Xi=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(jt),this.lineWidth=Jt)}}else Se.scale>=.01&&(jt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(jt*Se.scale),Jt=this.lineWidth,this.lineWidth=Jt*Se.scale),this.pdf.text(Se.text,rr.x+this.posX,rr.y+this.posY,{angle:Se.angle,align:gt,renderingMode:Se.renderingMode,maxWidth:Se.maxWidth}),Se.scale>=.01&&(this.pdf.setFontSize(jt),this.lineWidth=Jt)},Rt=function(Se,gt,Ft,jt){Ft=Ft||0,jt=jt||0,this.pdf.internal.out(t(Se+Ft)+" "+r(gt+jt)+" l")},Pt=function(Se,gt,Ft){return this.pdf.lines(Se,gt,Ft,null,null)},Fn=function(Se,gt,Ft,jt,Jt,bn,jn,Zn){this.pdf.internal.out([n(o(Ft+Se)),n(A(jt+gt)),n(o(Jt+Se)),n(A(bn+gt)),n(o(jn+Se)),n(A(Zn+gt)),"c"].join(" "))},Mn=function(Se,gt,Ft,jt){for(var Jt=2*Math.PI,bn=Math.PI/2;gt>Ft;)gt-=Jt;var jn=Math.abs(Ft-gt);jn1e-5;){var po=Lr+rr*Math.min(jn,bn);Zn.push(Hn.call(this,Se,Lr,po)),jn-=Math.abs(po-Lr),Lr=po}return Zn},Hn=function(Se,gt,Ft){var jt=(Ft-gt)/2,Jt=Se*Math.cos(jt),bn=Se*Math.sin(jt),jn=Jt,Zn=-bn,rr=jn*jn+Zn*Zn,Lr=rr+jn*Jt+Zn*bn,po=4/3*(Math.sqrt(2*rr*Lr)-Lr)/(jn*bn-Zn*Jt),ho=jn-po*Zn,sa=Zn+po*jn,it=ho,mo=-sa,fi=jt+gt,Ca=Math.cos(fi),wr=Math.sin(fi);return{x1:Se*Math.cos(gt),y1:Se*Math.sin(gt),x2:ho*Ca-sa*wr,y2:ho*wr+sa*Ca,x3:it*Ca-mo*wr,y3:it*wr+mo*Ca,x4:Se*Math.cos(Ft),y4:Se*Math.sin(Ft)}},Bn=function(Se){return 180*Se/Math.PI},kn=function(Se,gt,Ft,jt,Jt,bn){var jn=Se+.5*(Ft-Se),Zn=gt+.5*(jt-gt),rr=Jt+.5*(Ft-Jt),Lr=bn+.5*(jt-bn),po=Math.min(Se,Jt,jn,rr),ho=Math.max(Se,Jt,jn,rr),sa=Math.min(gt,bn,Zn,Lr),it=Math.max(gt,bn,Zn,Lr);return new g(po,sa,ho-po,it-sa)},Hr=function(Se,gt,Ft,jt,Jt,bn,jn,Zn){var rr,Lr,po,ho,sa,it,mo,fi,Ca,wr,xa,jo,ma,ua,dA=Ft-Se,Li=jt-gt,Ga=Jt-Ft,Ti=bn-jt,Ni=jn-Jt,Yo=Zn-bn;for(Lr=0;Lr<41;Lr++)Ca=(mo=(po=Se+(rr=Lr/40)*dA)+rr*((sa=Ft+rr*Ga)-po))+rr*(sa+rr*(Jt+rr*Ni-sa)-mo),wr=(fi=(ho=gt+rr*Li)+rr*((it=jt+rr*Ti)-ho))+rr*(it+rr*(bn+rr*Yo-it)-fi),Lr==0?(xa=Ca,jo=wr,ma=Ca,ua=wr):(xa=Math.min(xa,Ca),jo=Math.min(jo,wr),ma=Math.max(ma,Ca),ua=Math.max(ua,wr));return new g(Math.round(xa),Math.round(jo),Math.round(ma-xa),Math.round(ua-jo))},dr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Se,gt,Ft=(Se=this.ctx.lineDash,gt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Se,lineDashOffset:gt}));this.prevLineDash!==Ft&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ft)}}})(ko.API),function(e){var n=function(v){var g,p,y,S,G,ve,x,rt,Je,ot;for(/[^\x00-\xFF]/.test(v),p=[],y=0,S=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;S>y;y+=4)(G=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(ve=(G=((G=((G=((G=(G-(ot=G%85))/85)-(Je=G%85))/85)-(rt=G%85))/85)-(x=G%85))/85)%85,p.push(ve+33,x+33,rt+33,Je+33,ot+33)):p.push(122);return function(Ne,Mt){for(var Nt=Mt;Nt>0;Nt--)Ne.pop()}(p,g.length),String.fromCharCode.apply(String,p)+"~>"},t=function(v){var g,p,y,S,G,ve=String,x="length",rt=255,Je="charCodeAt",ot="slice",Ne="replace";for(v[ot](-2),v=v[ot](0,-2)[Ne](/\s/g,"")[Ne]("z","!!!!!"),y=[],S=0,G=(v+=g="uuuuu"[ot](v[x]%5||5))[x];G>S;S+=5)p=52200625*(v[Je](S)-33)+614125*(v[Je](S+1)-33)+7225*(v[Je](S+2)-33)+85*(v[Je](S+3)-33)+(v[Je](S+4)-33),y.push(rt&p>>24,rt&p>>16,rt&p>>8,rt&p);return function(Mt,Nt){for(var pt=Nt;pt>0;pt--)Mt.pop()}(y,g[x]),ve.fromCharCode.apply(ve,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var p="",y=0;yJe&&(rt=ot,ot=Je,Je=rt);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",Je>ot&&(rt=ot,ot=Je,Je=rt)}return{width:ot,height:Je,unit:p,k:G,orientation:g}},e.html=function(g,p){(p=p||{}).callback=p.callback||function(){},p.html2canvas=p.html2canvas||{},p.html2canvas.canvas=p.html2canvas.canvas||this.canvas,p.jsPDF=p.jsPDF||this,p.fontFaces=p.fontFaces?p.fontFaces.map(Tl):null;var y=new v(p);return p.worker?y:y.from(g).doCallback()}}(ko.API),ko.API.addJS=function(e){return Qv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),A=0;A> endobj")}var x=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+x+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,A){var v={title:o,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var p=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+p.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var y=0;y component higher in the tree to provide a loading \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(i,f,e){"use strict";var t=e(65911),r=e(32621),n=e(68151),a=e(16332),s=e(58218),u=e(24538),c=e(44166),o=e(25576),d=e(7825),h=e(73068),p=e(61888),x=e(35454),g=e(16697);i.exports=function(P,O,S,I){var E="stackTraceLimit",A=I?2:1,R=P.split("."),T=R[R.length-1],D=t.apply(null,R);if(D){var M=D.prototype;if(!g&&r(M,"cause")&&delete M.cause,!S)return D;var B=t("Error"),j=O(function(G,H){var Y=d(I?H:G,void 0),L=I?new D(G):new D;return Y!==void 0&&n(L,"message",Y),p(L,j,L.stack,2),this&&a(M,this)&&o(L,this,j),arguments.length>A&&h(L,arguments[A]),L});if(j.prototype=M,T!=="Error"?s?s(j,B):u(j,B,{name:!0}):x&&E in D&&(c(j,D,E),c(j,D,"prepareStackTrace")),u(j,D),!g)try{M.name!==T&&n(M,"name",T),M.constructor=j}catch(G){}return j}}},93074:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(3338),s=e(78540),u="AggregateError",c=r(u),o=!a(function(){return c([1]).errors[0]!==1})&&a(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:o},{AggregateError:s(u,function(d){return function(p,x){return n(d,this,arguments)}},o,!0)})},6555:function(i,f,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),a=e(58218),s=e(24538),u=e(20132),c=e(68151),o=e(35012),d=e(73068),h=e(61888),p=e(62003),x=e(7825),g=e(59893),P=g("toStringTag"),O=Error,S=[].push,I=function(R,T){var D=r(E,this),M;a?M=a(new O,D?n(this):E):(M=D?this:u(E),c(M,P,"Error")),T!==void 0&&c(M,"message",x(T)),h(M,I,M.stack,1),arguments.length>2&&d(M,arguments[2]);var B=[];return p(R,S,{that:B}),c(M,"errors",B),M};a?a(I,O):s(I,O,{name:!0});var E=I.prototype=u(O.prototype,{constructor:o(1,I),message:o(1,""),name:o(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,f,e){"use strict";e(6555)},89170:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),a=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),a(s)},71012:function(i,f,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,f,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),a=e(91669),s=e(80449),u=e(51981),c=e(61578),o=e(60473),d=a.ArrayBuffer,h=a.DataView,p=h.prototype,x=r(d.prototype.slice),g=r(p.getUint8),P=r(p.setUint8),O=n(function(){return!new d(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:O},{slice:function(I,E){if(x&&E===void 0)return x(s(this),I);for(var A=s(this).byteLength,R=u(I,A),T=u(E===void 0?A:E,A),D=new(o(this,d))(c(T-R)),M=new h(this),B=new h(D),j=0;R=0?h:d+h;return p<0||p>=d?void 0:o[p]}}),s("at")},2924:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),a=e(31946),s=e(94029),u=e(82762),c=e(66434),o=e(69392),d=e(81427),h=e(17480),p=e(59893),x=e(46573),g=p("isConcatSpreadable"),P=x>=51||!r(function(){var I=[];return I[g]=!1,I.concat()[0]!==I}),O=function(I){if(!a(I))return!1;var E=I[g];return E!==void 0?!!E:n(I)},S=!P||!h("concat");t({target:"Array",proto:!0,arity:1,forced:S},{concat:function(E){var A=s(this),R=d(A,0),T=0,D,M,B,j,G;for(D=-1,B=arguments.length;D1?arguments[1]:void 0)}})},16137:function(i,f,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,f,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),a=n("filter");t({target:"Array",proto:!0,forced:!a},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,f,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},17482:function(i,f,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,f,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,f,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},65033:function(i,f,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),a=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(o){var d=a(this),h=s(d),p;return n(o),p=u(d,0),p.length=r(p,d,d,h,0,1,o,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,f,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),a=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var o=arguments.length?arguments[0]:void 0,d=n(this),h=a(d),p=u(d,0);return p.length=r(p,d,d,h,0,o===void 0?1:s(o)),p}})},52732:function(i,f,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,f,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),a=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:a},{from:r})},88437:function(i,f,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),a=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),a("includes")},68440:function(i,f,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,a=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!a("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(d){var h=arguments.length>1?arguments[1]:void 0;return u?s(this,d,h)||0:n(this,d,h)}})},13412:function(i,f,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,f,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),a=e(94844),s=e(37691).f,u=e(24019),c=e(25587),o=e(16697),d=e(35454),h="Array Iterator",p=a.set,x=a.getterFor(h);i.exports=u(Array,"Array",function(P,O){p(this,{type:h,target:t(P),index:0,kind:O})},function(){var P=x(this),O=P.target,S=P.index++;if(!O||S>=O.length)return P.target=void 0,c(void 0,!0);switch(P.kind){case"keys":return c(S,!1);case"values":return c(O[S],!1)}return c([S,O[S]],!1)},"values");var g=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!o&&d&&g.name!=="values")try{s(g,"name",{value:"values"})}catch(P){}},70348:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),a=e(80524),s=e(45601),u=r([].join),c=n!==Object,o=c||!s("join",",");t({target:"Array",proto:!0,forced:o},{join:function(h){return u(a(this),h===void 0?",":h)}})},19801:function(i,f,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,f,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),a=n("map");t({target:"Array",proto:!0,forced:!a},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),a=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var o=0,d=arguments.length,h=new(n(this)?this:s)(d);d>o;)a(h,o,arguments[o++]);return h.length=d,h}})},7154:function(i,f,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),a=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),o=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(h){return h instanceof TypeError}},d=c||!o();t({target:"Array",proto:!0,arity:1,forced:d},{push:function(p){var x=r(this),g=n(x),P=arguments.length;s(g+P);for(var O=0;O79&&a<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(d){return r(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,f,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),a=e(46573),s=e(90946),u=!s&&a>79&&a<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(d){var h=arguments.length;return r(this,d,h,h>1?arguments[1]:void 0)}})},9402:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),a=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),a(this)}})},62489:function(i,f,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),a=e(31946),s=e(51981),u=e(82762),c=e(80524),o=e(69392),d=e(59893),h=e(17480),p=e(30867),x=h("slice"),g=d("species"),P=Array,O=Math.max;t({target:"Array",proto:!0,forced:!x},{slice:function(I,E){var A=c(this),R=u(A),T=s(I,R),D=s(E===void 0?R:E,R),M,B,j;if(r(A)&&(M=A.constructor,n(M)&&(M===P||r(M.prototype))?M=void 0:a(M)&&(M=M[g],M===null&&(M=void 0)),M===P||M===void 0))return p(A,T,D);for(B=new(M===void 0?P:M)(O(D-T,0)),j=0;T1?arguments[1]:void 0)}})},62837:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),a=e(94029),s=e(82762),u=e(84233),c=e(69905),o=e(3338),d=e(63668),h=e(45601),p=e(78177),x=e(17687),g=e(46573),P=e(19684),O=[],S=r(O.sort),I=r(O.push),E=o(function(){O.sort(void 0)}),A=o(function(){O.sort(null)}),R=h("sort"),T=!o(function(){if(g)return g<70;if(!(p&&p>3)){if(x)return!0;if(P)return P<603;var B="",j,G,H,Y;for(j=65;j<76;j++){switch(G=String.fromCharCode(j),j){case 66:case 69:case 70:case 72:H=3;break;case 68:case 71:H=4;break;default:H=2}for(Y=0;Y<47;Y++)O.push({k:G+Y,v:H})}for(O.sort(function(L,V){return V.v-L.v}),Y=0;Yc(G)?1:-1}};t({target:"Array",proto:!0,forced:D},{sort:function(j){j!==void 0&&n(j);var G=a(this);if(T)return j===void 0?S(G):S(G,j);var H=[],Y=s(G),L,V;for(V=0;VA-M+D;j--)h(E,j-1)}else if(D>M)for(j=A-M;j>R;j--)G=j+M-1,H=j+D-1,G in E?E[H]=E[G]:h(E,H);for(j=0;j=0&&d<=99?d+1900:d;return u(this,h)}})},71390:function(i,f,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,f,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var o=n(this),d=a(o,"number");return typeof d=="number"&&!isFinite(d)?null:o.toISOString()}})},69762:function(i,f,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),a=e(59893),s=a("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,f,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,a="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==a&&r(n,s,function(){var d=c(this);return d===d?u(this):a})},31808:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),a=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,o=function(h,p){var x={};x[h]=a(h,p,c),t({global:!0,constructor:!0,arity:1,forced:c},x)},d=function(h,p){if(u&&u[h]){var x={};x[h]=a(s+"."+h,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},x)}};o("Error",function(h){return function(x){return n(h,this,arguments)}}),o("EvalError",function(h){return function(x){return n(h,this,arguments)}}),o("RangeError",function(h){return function(x){return n(h,this,arguments)}}),o("ReferenceError",function(h){return function(x){return n(h,this,arguments)}}),o("SyntaxError",function(h){return function(x){return n(h,this,arguments)}}),o("TypeError",function(h){return function(x){return n(h,this,arguments)}}),o("URIError",function(h){return function(x){return n(h,this,arguments)}}),d("CompileError",function(h){return function(x){return n(h,this,arguments)}}),d("LinkError",function(h){return function(x){return n(h,this,arguments)}}),d("RuntimeError",function(h){return function(x){return n(h,this,arguments)}})},99953:function(i,f,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),o=r("".toUpperCase),d=/[\w*+\-./@]/,h=function(p,x){for(var g=c(p,16);g.length9490626562425156e-8?a(h)+u:r(h-1+s(h-1)*s(h+1))}})},85660:function(i,f,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,a=Math.sqrt;function s(c){var o=+c;return!isFinite(o)||o===0?o:o<0?-s(-o):n(o+a(o*o+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,f,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,a=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:a},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,f,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,a=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*a(n(c),.3333333333333333)}})},83579:function(i,f,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,a=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*a):32}})},74307:function(i,f,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,a=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(o){var d=r(a(o)-1)+1;return(d+1/(d*s*s))*(s/2)}})},97423:function(i,f,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,f,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,f,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,a=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,o){for(var d=0,h=0,p=arguments.length,x=0,g,P;h0?(P=g/x,d+=P*P):d+=g;return x===1/0?1/0:x*a(d)}})},61425:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,a=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:a},{imul:function(u,c){var o=65535,d=+u,h=+c,p=o&d,x=o&h;return 0|p*x+((o&d>>>16)*x+p*(o&h>>>16)<<16>>>0)}})},61873:function(i,f,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,f,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,f,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,f,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),a=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(d){var h=+d;return a(h)<1?(n(h)-n(-h))/2:(s(h-1)-s(-h-1))*(u/2)}})},62455:function(i,f,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),o=r(-u);return c===1/0?1:o===1/0?-1:(c-o)/(n(u)+n(-u))}})},79965:function(i,f,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,f,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,f,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),a=e(92916),s=e(9699),u=e(94237),c=e(20865),o=e(32621),d=e(25576),h=e(16332),p=e(18446),x=e(97954),g=e(3338),P=e(80689).f,O=e(71256).f,S=e(37691).f,I=e(49228),E=e(52971).trim,A="Number",R=a[A],T=s[A],D=R.prototype,M=a.TypeError,B=u("".slice),j=u("".charCodeAt),G=function(Q){var W=x(Q,"number");return typeof W=="bigint"?W:H(W)},H=function(Q){var W=x(Q,"number"),F,J,k,Z,X,ee,ue,ie;if(p(W))throw new M("Cannot convert a Symbol value to a number");if(typeof W=="string"&&W.length>2){if(W=E(W),F=j(W,0),F===43||F===45){if(J=j(W,2),J===88||J===120)return NaN}else if(F===48){switch(j(W,1)){case 66:case 98:k=2,Z=49;break;case 79:case 111:k=8,Z=55;break;default:return+W}for(X=B(W,2),ee=X.length,ue=0;ueZ)return NaN;return parseInt(X,k)}}return+W},Y=c(A,!R(" 0o1")||!R("0b1")||R("+0x1")),L=function(Q){return h(D,Q)&&g(function(){I(Q)})},V=function(W){var F=arguments.length<1?0:R(G(W));return L(this)?d(Object(F),this,V):F};V.prototype=D,Y&&!r&&(D.constructor=V),t({global:!0,constructor:!0,wrap:!0,forced:Y},{Number:V});var K=function(Q,W){for(var F=n?P(W):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),J=0,k;F.length>J;J++)o(W,k=F[J])&&!o(Q,k)&&S(Q,k,O(W,k))};r&&T&&K(s[A],T),(Y||r)&&K(s[A],R)},31919:function(i,f,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,f,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,f,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,f,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,f,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,f,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,f,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,f,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,f,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(53309),c=e(3338),o=RangeError,d=String,h=isFinite,p=Math.abs,x=Math.floor,g=Math.pow,P=Math.round,O=r(1 .toExponential),S=r(s),I=r("".slice),E=O(-69e-12,4)==="-6.9000e-11"&&O(1.255,2)==="1.25e+0"&&O(12345,3)==="1.235e+4"&&O(25,0)==="3e+1",A=function(){return c(function(){O(1,1/0)})&&c(function(){O(1,-1/0)})},R=function(){return!c(function(){O(1/0,1/0),O(NaN,1/0)})},T=!E||!A()||!R();t({target:"Number",proto:!0,forced:T},{toExponential:function(M){var B=a(this);if(M===void 0)return O(B);var j=n(M);if(!h(B))return String(B);if(j<0||j>20)throw new o("Incorrect fraction digits");if(E)return O(B,j);var G="",H="",Y=0,L="",V="";if(B<0&&(G="-",B=-B),B===0)Y=0,H=S("0",j+1);else{var K=u(B);Y=x(K);var Q=0,W=g(10,Y-j);Q=P(B/W),2*B>=(2*Q+1)*W&&(Q+=1),Q>=g(10,j+1)&&(Q/=10,Y+=1),H=d(Q)}return j!==0&&(H=I(H,0,1)+"."+I(H,1)),Y===0?(L="+",V="0"):(L=Y>0?"+":"-",V=d(p(Y))),H+="e"+L+V,G+H}})},58055:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(3338),c=RangeError,o=String,d=Math.floor,h=r(s),p=r("".slice),x=r(1 .toFixed),g=function(A,R,T){return R===0?T:R%2===1?g(A,R-1,T*A):g(A*A,R/2,T)},P=function(A){for(var R=0,T=A;T>=4096;)R+=12,T/=4096;for(;T>=2;)R+=1,T/=2;return R},O=function(A,R,T){for(var D=-1,M=T;++D<6;)M+=R*A[D],A[D]=M%1e7,M=d(M/1e7)},S=function(A,R){for(var T=6,D=0;--T>=0;)D+=A[T],A[T]=d(D/R),D=D%R*1e7},I=function(A){for(var R=6,T="";--R>=0;)if(T!==""||R===0||A[R]!==0){var D=o(A[R]);T=T===""?D:T+h("0",7-D.length)+D}return T},E=u(function(){return x(8e-5,3)!=="0.000"||x(.9,0)!=="1"||x(1.255,2)!=="1.25"||x(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){x({})});t({target:"Number",proto:!0,forced:E},{toFixed:function(R){var T=a(this),D=n(R),M=[0,0,0,0,0,0],B="",j="0",G,H,Y,L;if(D<0||D>20)throw new c("Incorrect fraction digits");if(T!==T)return"NaN";if(T<=-1e21||T>=1e21)return o(T);if(T<0&&(B="-",T=-T),T>1e-21)if(G=P(T*g(2,69,1))-69,H=G<0?T*g(2,-G,1):T/g(2,G,1),H*=4503599627370496,G=52-G,G>0){for(O(M,0,H),Y=D;Y>=7;)O(M,1e7,0),Y-=7;for(O(M,g(10,Y,1),0),Y=G-1;Y>=23;)S(M,8388608),Y-=23;S(M,1<0?(L=j.length,j=B+(L<=D?"0."+h("0",D-L)+j:p(j,0,L-D)+"."+p(j,L-D))):j=B+j,j}})},93547:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),a=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(o){return o===void 0?s(a(this)):s(a(this),o)}})},31237:function(i,f,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(o,d){u.f(s(this),o,{get:a(d),enumerable:!0,configurable:!0})}})},47146:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(o,d){u.f(s(this),o,{set:a(d),enumerable:!0,configurable:!0})}})},72820:function(i,f,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(a){return r(a)}})},86070:function(i,f,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),a=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(d){return u&&a(d)?u(s(d)):d}})},23569:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,o){n(u,c,o)},{AS_ENTRIES:!0}),u}})},55639:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),a=e(71256).f,s=e(35454),u=!s||r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(o,d){return a(n(o),d)}})},63046:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),a=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(o){for(var d=a(o),h=s.f,p=n(d),x={},g=0,P,O;p.length>g;)O=h(d,P=p[g++]),O!==void 0&&u(x,P,O);return x}})},464:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,a=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:n})},67936:function(i,f,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),a=e(92635),s=e(94029),u=!r||n(function(){a.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(o){var d=a.f;return d?d(s(o)):[]}})},51082:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(53456),s=e(4870),u=r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(o){return a(n(o))}})},83850:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),a=e(63335),s=e(95955),u=e(17818),c=e(62003),o=r("Object","create"),d=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,x){s(p),a(x);var g=o(null),P=0;return c(p,function(O){var S=u(x(O,P++));S in g?d(g[S],O):g[S]=[O]}),g}})},41990:function(i,f,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,f,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(d){return!n(d)||s&&a(d)==="ArrayBuffer"?!0:u?u(d):!1}})},78143:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(d){return!n(d)||s&&a(d)==="ArrayBuffer"?!0:u?u(d):!1}})},15787:function(i,f,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,f,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),a=e(3338),s=a(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(d){var h=a(this),p=s(d),x;do if(x=c(h,p))return x.get;while(h=u(h))}})},14645:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(d){var h=a(this),p=s(d),x;do if(x=c(h,p))return x.set;while(h=u(h))}})},71122:function(i,f,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(d){return u&&r(d)?u(n(d)):d}})},42084:function(i,f,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),a=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,o=Object.prototype,d="__proto__";if(t&&u&&c&&!(d in o))try{r(o,d,{configurable:!0,get:function(){return u(a(this))},set:function(p){var x=s(this);!n(p)&&p!==null||!n(x)||c(x,p)}})}catch(h){}},25070:function(i,f,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(d){return u&&r(d)?u(n(d)):d}})},77140:function(i,f,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,f,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,f,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(a){return r(a)}})},49988:function(i,f,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,f,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(d){var h=this,p=a.f(h),x=p.resolve,g=p.reject,P=s(function(){var O=n(h.resolve),S=[],I=0,E=1;u(d,function(A){var R=I++,T=!1;E++,r(O,h,A).then(function(D){T||(T=!0,S[R]={status:"fulfilled",value:D},--E||x(S))},function(D){T||(T=!0,S[R]={status:"rejected",reason:D},--E||x(S))})}),--E||x(S)});return P.error&&g(P.value),p.promise}})},12785:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(d){var h=this,p=a.f(h),x=p.resolve,g=p.reject,P=s(function(){var O=n(h.resolve),S=[],I=0,E=1;u(d,function(A){var R=I++,T=!1;E++,r(O,h,A).then(function(D){T||(T=!0,S[R]=D,--E||x(S))},g)}),--E||x(S)});return P.error&&g(P.value),p.promise}})},50747:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(65911),s=e(73446),u=e(80734),c=e(62003),o=e(22093),d="No one promise resolved";t({target:"Promise",stat:!0,forced:o},{any:function(p){var x=this,g=a("AggregateError"),P=s.f(x),O=P.resolve,S=P.reject,I=u(function(){var E=n(x.resolve),A=[],R=0,T=1,D=!1;c(p,function(M){var B=R++,j=!1;T++,r(E,x,M).then(function(G){j||D||(D=!0,O(G))},function(G){j||D||(j=!0,A[B]=G,--T||S(new g(A,d)))})}),--T||S(new g(A,d))});return I.error&&S(I.value),P.promise}})},41902:function(i,f,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,a=e(2451),s=e(65911),u=e(55327),c=e(2291),o=a&&a.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(h){return this.then(void 0,h)}}),!r&&u(a)){var d=s("Promise").prototype.catch;o.catch!==d&&c(o,"catch",d,{unsafe:!0})}},90366:function(i,f,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),a=e(92916),s=e(89945),u=e(2291),c=e(58218),o=e(94573),d=e(51996),h=e(63335),p=e(55327),x=e(31946),g=e(56472),P=e(60473),O=e(28887).set,S=e(72933),I=e(61810),E=e(80734),A=e(66790),R=e(94844),T=e(2451),D=e(82830),M=e(73446),B="Promise",j=D.CONSTRUCTOR,G=D.REJECTION_EVENT,H=D.SUBCLASSING,Y=R.getterFor(B),L=R.set,V=T&&T.prototype,K=T,Q=V,W=a.TypeError,F=a.document,J=a.process,k=M.f,Z=k,X=!!(F&&F.createEvent&&a.dispatchEvent),ee="unhandledrejection",ue="rejectionhandled",ie=0,ce=1,le=2,He=1,ze=2,it,_t,$e,Xe,je=function(Le){var xe;return x(Le)&&p(xe=Le.then)?xe:!1},De=function(Le,xe){var fe=xe.value,ye=xe.state===ce,Ce=ye?Le.ok:Le.fail,tt=Le.resolve,xt=Le.reject,de=Le.domain,Ee,dt,Je;try{Ce?(ye||(xe.rejection===ze&&wt(xe),xe.rejection=He),Ce===!0?Ee=fe:(de&&de.enter(),Ee=Ce(fe),de&&(de.exit(),Je=!0)),Ee===Le.promise?xt(new W("Promise-chain cycle")):(dt=je(Ee))?s(dt,Ee,tt,xt):tt(Ee)):xt(fe)}catch(Ke){de&&!Je&&de.exit(),xt(Ke)}},me=function(Le,xe){Le.notified||(Le.notified=!0,S(function(){for(var fe=Le.reactions,ye;ye=fe.get();)De(ye,Le);Le.notified=!1,xe&&!Le.rejection&<(Le)}))},ot=function(Le,xe,fe){var ye,Ce;X?(ye=F.createEvent("Event"),ye.promise=xe,ye.reason=fe,ye.initEvent(Le,!1,!0),a.dispatchEvent(ye)):ye={promise:xe,reason:fe},!G&&(Ce=a["on"+Le])?Ce(ye):Le===ee&&I("Unhandled promise rejection",fe)},lt=function(Le){s(O,a,function(){var xe=Le.facade,fe=Le.value,ye=St(Le),Ce;if(ye&&(Ce=E(function(){n?J.emit("unhandledRejection",fe,xe):ot(ee,xe,fe)}),Le.rejection=n||St(Le)?ze:He,Ce.error))throw Ce.value})},St=function(Le){return Le.rejection!==He&&!Le.parent},wt=function(Le){s(O,a,function(){var xe=Le.facade;n?J.emit("rejectionHandled",xe):ot(ue,xe,Le.value)})},Ie=function(Le,xe,fe){return function(ye){Le(xe,ye,fe)}},qe=function(Le,xe,fe){Le.done||(Le.done=!0,fe&&(Le=fe),Le.value=xe,Le.state=le,me(Le,!0))},vt=function(Le,xe,fe){if(!Le.done){Le.done=!0,fe&&(Le=fe);try{if(Le.facade===xe)throw new W("Promise can't be resolved itself");var ye=je(xe);ye?S(function(){var Ce={done:!1};try{s(ye,xe,Ie(vt,Ce,Le),Ie(qe,Ce,Le))}catch(tt){qe(Ce,tt,Le)}}):(Le.value=xe,Le.state=ce,me(Le,!1))}catch(Ce){qe({done:!1},Ce,Le)}}};if(j&&(K=function(xe){g(this,Q),h(xe),s(it,this);var fe=Y(this);try{xe(Ie(vt,fe),Ie(qe,fe))}catch(ye){qe(fe,ye)}},Q=K.prototype,it=function(xe){L(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:ie,value:void 0})},it.prototype=u(Q,"then",function(xe,fe){var ye=Y(this),Ce=k(P(this,K));return ye.parent=!0,Ce.ok=p(xe)?xe:!0,Ce.fail=p(fe)&&fe,Ce.domain=n?J.domain:void 0,ye.state===ie?ye.reactions.add(Ce):S(function(){De(Ce,ye)}),Ce.promise}),_t=function(){var Le=new it,xe=Y(Le);this.promise=Le,this.resolve=Ie(vt,xe),this.reject=Ie(qe,xe)},M.f=k=function(Le){return Le===K||Le===$e?new _t(Le):Z(Le)},!r&&p(T)&&V!==Object.prototype)){Xe=V.then,H||u(V,"then",function(xe,fe){var ye=this;return new K(function(Ce,tt){s(Xe,ye,Ce,tt)}).then(xe,fe)},{unsafe:!0});try{delete V.constructor}catch(Le){}c&&c(V,Q)}t({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:K}),o(K,B,!1,!0),d(B)},43595:function(i,f,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),a=e(3338),s=e(65911),u=e(55327),c=e(60473),o=e(15597),d=e(2291),h=n&&n.prototype,p=!!n&&a(function(){h.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(g){var P=c(this,s("Promise")),O=u(g);return this.then(O?function(S){return o(P,g()).then(function(){return S})}:g,O?function(S){return o(P,g()).then(function(){throw S})}:g)}}),!r&&u(n)){var x=s("Promise").prototype.finally;h.finally!==x&&d(h,"finally",x,{unsafe:!0})}},24627:function(i,f,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(d){var h=this,p=a.f(h),x=p.reject,g=s(function(){var P=n(h.resolve);u(d,function(O){r(P,h,O).then(p.resolve,x)})});return g.error&&x(g.value),p.promise}})},95693:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),a=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:a},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),a=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),o=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(h){return u(o&&this===c?a:this,h)}})},92324:function(i,f,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var a=r.f(this);return{promise:a.promise,resolve:a.resolve,reject:a.reject}}})},23551:function(i,f,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),a=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(o,d,h){return r(n(o),d,a(h))}})},74521:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(4645),s=e(6086),u=e(80449),c=e(31946),o=e(20132),d=e(3338),h=r("Reflect","construct"),p=Object.prototype,x=[].push,g=d(function(){function S(){}return!(h(function(){},[],S)instanceof S)}),P=!d(function(){h(function(){})}),O=g||P;t({target:"Reflect",stat:!0,forced:O,sham:O},{construct:function(I,E){s(I),u(E);var A=arguments.length<3?I:s(arguments[2]);if(P&&!g)return h(I,E,A);if(I===A){switch(E.length){case 0:return new I;case 1:return new I(E[0]);case 2:return new I(E[0],E[1]);case 3:return new I(E[0],E[1],E[2]);case 4:return new I(E[0],E[1],E[2],E[3])}var R=[null];return n(x,R,E),new(n(a,I,R))}var T=A.prototype,D=o(c(T)?T:p),M=n(I,D,E);return c(M)?M:D}})},57891:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(d,h,p){n(d);var x=a(h);n(p);try{return s.f(d,x,p),!0}catch(g){return!1}}})},84138:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return a.f(n(u),c)}})},6474:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),a=e(4870);t({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),a=e(80449),s=e(60516),u=e(71256),c=e(53456);function o(d,h){var p=arguments.length<3?d:arguments[2],x,g;if(a(d)===p)return d[h];if(x=u.f(d,h),x)return s(x)?x.value:x.get===void 0?void 0:r(x.get,p);if(n(g=c(d)))return o(g,h,p)}t({target:"Reflect",stat:!0},{get:o})},40135:function(i,f,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,a){return a in n}})},7982:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,f,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),a=e(13247);t({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(o){return!1}}})},42844:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(557),a=e(58218);a&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return a(u,c),!0}catch(o){return!1}}})},92130:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(31946),s=e(60516),u=e(3338),c=e(37691),o=e(71256),d=e(53456),h=e(35012);function p(g,P,O){var S=arguments.length<4?g:arguments[3],I=o.f(n(g),P),E,A,R;if(!I){if(a(A=d(g)))return p(A,P,O,S);I=h(0)}if(s(I)){if(I.writable===!1||!a(S))return!1;if(E=o.f(S,P)){if(E.get||E.set||E.writable===!1)return!1;E.value=O,c.f(S,P,E)}else c.f(S,P,h(0,O))}else{if(R=I.set,R===void 0)return!1;r(R,S,O)}return!0}var x=u(function(){var g=function(){},P=c.f(new g,"a",{configurable:!0});return Reflect.set(g.prototype,"a",1,P)!==!1});t({target:"Reflect",stat:!0,forced:x},{set:p})},6536:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,f,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),a=e(20865),s=e(25576),u=e(68151),c=e(20132),o=e(80689).f,d=e(16332),h=e(44639),p=e(69905),x=e(81644),g=e(19286),P=e(44166),O=e(2291),S=e(3338),I=e(32621),E=e(94844).enforce,A=e(51996),R=e(59893),T=e(6041),D=e(51224),M=R("match"),B=r.RegExp,j=B.prototype,G=r.SyntaxError,H=n(j.exec),Y=n("".charAt),L=n("".replace),V=n("".indexOf),K=n("".slice),Q=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,W=/a/g,F=/a/g,J=new B(W)!==W,k=g.MISSED_STICKY,Z=g.UNSUPPORTED_Y,X=t&&(!J||k||T||D||S(function(){return F[M]=!1,B(W)!==W||B(F)===F||String(B(W,"i"))!=="/a/i"})),ee=function(He){for(var ze=He.length,it=0,_t="",$e=!1,Xe;it<=ze;it++){if(Xe=Y(He,it),Xe==="\\"){_t+=Xe+Y(He,++it);continue}!$e&&Xe==="."?_t+="[\\s\\S]":(Xe==="["?$e=!0:Xe==="]"&&($e=!1),_t+=Xe)}return _t},ue=function(He){for(var ze=He.length,it=0,_t="",$e=[],Xe=c(null),je=!1,De=!1,me=0,ot="",lt;it<=ze;it++){if(lt=Y(He,it),lt==="\\")lt+=Y(He,++it);else if(lt==="]")je=!1;else if(!je)switch(!0){case lt==="[":je=!0;break;case lt==="(":H(Q,K(He,it+1))&&(it+=2,De=!0),_t+=lt,me++;continue;case(lt===">"&&De):if(ot===""||I(Xe,ot))throw new G("Invalid capture group name");Xe[ot]=!0,$e[$e.length]=[ot,me],De=!1,ot="";continue}De?ot+=lt:_t+=lt}return[_t,$e]};if(a("RegExp",X)){for(var ie=function(ze,it){var _t=d(j,this),$e=h(ze),Xe=it===void 0,je=[],De=ze,me,ot,lt,St,wt,Ie;if(!_t&&$e&&Xe&&ze.constructor===ie)return ze;if(($e||d(j,ze))&&(ze=ze.source,Xe&&(it=x(De))),ze=ze===void 0?"":p(ze),it=it===void 0?"":p(it),De=ze,T&&"dotAll"in W&&(ot=!!it&&V(it,"s")>-1,ot&&(it=L(it,/s/g,""))),me=it,k&&"sticky"in W&&(lt=!!it&&V(it,"y")>-1,lt&&Z&&(it=L(it,/y/g,""))),D&&(St=ue(ze),ze=St[0],je=St[1]),wt=s(B(ze,it),_t?this:j,ie),(ot||lt||je.length)&&(Ie=E(wt),ot&&(Ie.dotAll=!0,Ie.raw=ie(ee(ze),me)),lt&&(Ie.sticky=!0),je.length&&(Ie.groups=je)),ze!==De)try{u(wt,"source",De===""?"(?:)":De)}catch(qe){}return wt},ce=o(B),le=0;ce.length>le;)P(ie,B,ce[le++]);j.constructor=ie,ie.prototype=j,O(r,"RegExp",ie,{constructor:!0})}A("RegExp")},62921:function(i,f,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,f,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,f,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),a=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,o=r&&s(function(){var d=!0;try{u(".","d")}catch(I){d=!1}var h={},p="",x=d?"dgimsy":"gimsy",g=function(I,E){Object.defineProperty(h,I,{get:function(){return p+=E,!0}})},P={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};d&&(P.hasIndices="d");for(var O in P)g(O,P[O]);var S=Object.getOwnPropertyDescriptor(c,"flags").get.call(h);return S!==x||p!==x});o&&n(c,"flags",{configurable:!0,get:a})},54744:function(i,f,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,f,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),a=e(80449),s=e(69905),u=function(){var o=!1,d=/[ac]/;return d.exec=function(){return o=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&o}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(o){var d=a(this),h=s(o),p=d.exec;if(!n(p))return r(c,d,h);var x=r(p,d,h);return x===null?!1:(a(x),!0)}})},12756:function(i,f,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),a=e(69905),s=e(3338),u=e(81644),c="toString",o=RegExp.prototype,d=o[c],h=s(function(){return d.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&d.name!==c;(h||p)&&r(RegExp.prototype,c,function(){var g=n(this),P=a(g.source),O=a(u(g));return"/"+P+"/"+O},{unsafe:!0})},69772:function(i,f,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,f,e){"use strict";e(69772)},34932:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=e(3338),c=r("".charAt),o=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:o},{at:function(h){var p=s(n(this)),x=p.length,g=a(h),P=g>=0?g:x+g;return P<0||P>=x?void 0:c(p,P)}})},81046:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,f,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(a){return r(this,a)}})},37343:function(i,f,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,a=e(61578),s=e(69905),u=e(41696),c=e(95955),o=e(86266),d=e(16697),h=r("".endsWith),p=r("".slice),x=Math.min,g=o("endsWith"),P=!d&&!g&&!!function(){var O=n(String.prototype,"endsWith");return O&&!O.writable}();t({target:"String",proto:!0,forced:!P&&!g},{endsWith:function(S){var I=s(c(this));u(S);var E=arguments.length>1?arguments[1]:void 0,A=I.length,R=E===void 0?A:x(a(E),A),T=s(S);return h?h(I,T,R):p(I,R-T.length,R)===T}})},56338:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),o=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:o},{fromCodePoint:function(h){for(var p=[],x=arguments.length,g=0,P;x>g;){if(P=+arguments[g++],n(P,1114111)!==P)throw new a(P+" is not a valid code point");p[g]=P<65536?s(P):s(((P-=65536)>>10)+55296,P%1024+56320)}return c(p,"")}})},75551:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),a=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(d){return!!~c(s(a(this)),s(n(d)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=a(n(this)),o=c.length,d=0;d=56320||++d>=o||(s(c,d)&64512)!==56320))return!1}return!0}})},4939:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,f,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),a=e(24019),s=e(25587),u="String Iterator",c=n.set,o=n.getterFor(u);a(String,"String",function(d){c(this,{type:u,string:r(d),index:0})},function(){var h=o(this),p=h.string,x=h.index,g;return x>=p.length?s(void 0,!0):(g=t(p,x),h.index+=g.length,s(g,!1))})},81927:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),a=e(83126),s=e(25587),u=e(95955),c=e(61578),o=e(69905),d=e(80449),h=e(4112),p=e(29076),x=e(44639),g=e(81644),P=e(53776),O=e(2291),S=e(3338),I=e(59893),E=e(60473),A=e(52216),R=e(94338),T=e(94844),D=e(16697),M=I("matchAll"),B="RegExp String",j=B+" Iterator",G=T.set,H=T.getterFor(j),Y=RegExp.prototype,L=TypeError,V=n("".indexOf),K=n("".matchAll),Q=!!K&&!S(function(){K("a",/./)}),W=a(function(k,Z,X,ee){G(this,{type:j,regexp:k,string:Z,global:X,unicode:ee,done:!1})},B,function(){var k=H(this);if(k.done)return s(void 0,!0);var Z=k.regexp,X=k.string,ee=R(Z,X);return ee===null?(k.done=!0,s(void 0,!0)):k.global?(o(ee[0])===""&&(Z.lastIndex=A(X,c(Z.lastIndex),k.unicode)),s(ee,!1)):(k.done=!0,s(ee,!1))}),F=function(J){var k=d(this),Z=o(J),X=E(k,RegExp),ee=o(g(k)),ue,ie,ce;return ue=new X(X===RegExp?k.source:k,ee),ie=!!~V(ee,"g"),ce=!!~V(ee,"u"),ue.lastIndex=c(k.lastIndex),new W(ue,Z,ie,ce)};t({target:"String",proto:!0,forced:Q},{matchAll:function(k){var Z=u(this),X,ee,ue,ie;if(h(k)){if(Q)return K(Z,k)}else{if(x(k)&&(X=o(u(g(k))),!~V(X,"g")))throw new L("`.matchAll` does not allow non-global regexes");if(Q)return K(Z,k);if(ue=P(k,M),ue===void 0&&D&&p(k)==="RegExp"&&(ue=F),ue)return r(ue,k,Z)}return ee=o(Z),ie=new RegExp(k,"g"),D?r(F,ie,ee):ie[M](ee)}}),D||M in Y||O(Y,M,F)},46302:function(i,f,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(61578),u=e(69905),c=e(95955),o=e(53776),d=e(52216),h=e(94338);r("match",function(p,x,g){return[function(O){var S=c(this),I=a(O)?void 0:o(O,p);return I?t(I,O,S):new RegExp(O)[p](u(S))},function(P){var O=n(this),S=u(P),I=g(x,O,S);if(I.done)return I.value;if(!O.global)return h(O,S);var E=O.unicode;O.lastIndex=0;for(var A=[],R=0,T;(T=h(O,S))!==null;){var D=u(T[0]);A[R]=D,D===""&&(O.lastIndex=d(S,s(O.lastIndex),E)),R++}return R===0?null:A}]})},76718:function(i,f,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,f,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),a=e(94029),s=e(69905),u=e(82762),c=r([].push),o=r([].join);t({target:"String",stat:!0},{raw:function(h){var p=n(a(h).raw),x=u(p);if(!x)return"";for(var g=arguments.length,P=[],O=0;;){if(c(P,s(p[O++])),O===x)return o(P,"");OT.length?-1:D===""?M:S(T,D,M)};t({target:"String",proto:!0},{replaceAll:function(D,M){var B=a(this),j,G,H,Y,L,V,K,Q,W,F=0,J=0,k="";if(!u(D)){if(j=c(D),j&&(G=o(a(h(D))),!~S(G,"g")))throw new O("`.replaceAll` does not allow non-global regexes");if(H=d(D,P),H)return r(H,D,B,M);if(g&&j)return I(o(B),D,M)}for(Y=o(B),L=o(D),V=s(M),V||(M=o(M)),K=L.length,Q=A(1,K),F=R(Y,L,0);F!==-1;)W=V?o(M(L,F,Y)):p(L,Y,F,[],void 0,M),k+=E(Y,J,F)+W,J=F+K,F=R(Y,L,F+Q);return J")!=="7"});a("replace",function(L,V,K){var Q=H?"$":"$0";return[function(F,J){var k=x(this),Z=o(F)?void 0:P(F,E);return Z?r(Z,F,k,J):r(V,p(k),F,J)},function(W,F){var J=u(this),k=p(W);if(typeof F=="string"&&M(F,Q)===-1&&M(F,"$<")===-1){var Z=K(V,J,k,F);if(Z.done)return Z.value}var X=c(F);X||(F=p(F));var ee=J.global,ue;ee&&(ue=J.unicode,J.lastIndex=0);for(var ie=[],ce;ce=S(J,k),!(ce===null||(D(ie,ce),!ee));){var le=p(ce[0]);le===""&&(J.lastIndex=g(k,h(J.lastIndex),ue))}for(var He="",ze=0,it=0;it=ze&&(He+=B(k,ze,$e)+je,ze=$e+_t.length)}return He+B(k,ze)}]},!Y||!G||H)},62925:function(i,f,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(95955),u=e(5370),c=e(69905),o=e(53776),d=e(94338);r("search",function(h,p,x){return[function(P){var O=s(this),S=a(P)?void 0:o(P,h);return S?t(S,P,O):new RegExp(P)[h](c(O))},function(g){var P=n(this),O=c(g),S=x(p,P,O);if(S.done)return S.value;var I=P.lastIndex;u(I,0)||(P.lastIndex=0);var E=d(P,O);return u(P.lastIndex,I)||(P.lastIndex=I),E===null?-1:E.index}]})},60462:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,f,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),a=e(8662),s=e(80449),u=e(4112),c=e(44639),o=e(95955),d=e(60473),h=e(52216),p=e(61578),x=e(69905),g=e(53776),P=e(71698),O=e(94338),S=e(88736),I=e(19286),E=e(3338),A=I.UNSUPPORTED_Y,R=4294967295,T=Math.min,D=[].push,M=n(/./.exec),B=n(D),j=n("".slice),G=!E(function(){var H=/(?:)/,Y=H.exec;H.exec=function(){return Y.apply(this,arguments)};var L="ab".split(H);return L.length!==2||L[0]!=="a"||L[1]!=="b"});a("split",function(H,Y,L){var V;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(K,Q){var W=x(o(this)),F=Q===void 0?R:Q>>>0;if(F===0)return[];if(K===void 0)return[W];if(!c(K))return r(Y,W,K,F);for(var J=[],k=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),Z=0,X=new RegExp(K.source,k+"g"),ee,ue,ie;(ee=r(S,X,W))&&(ue=X.lastIndex,!(ue>Z&&(B(J,j(W,Z,ee.index)),ee.length>1&&ee.index=F)));)X.lastIndex===ee.index&&X.lastIndex++;return Z===W.length?(ie||!M(X,""))&&B(J,""):B(J,j(W,Z)),J.length>F?P(J,0,F):J}:"0".split(void 0,0).length?V=function(K,Q){return K===void 0&&Q===0?[]:r(Y,this,K,Q)}:V=Y,[function(Q,W){var F=o(this),J=u(Q)?void 0:g(Q,H);return J?r(J,Q,F,W):r(V,x(F),Q,W)},function(K,Q){var W=s(this),F=x(K),J=L(V,W,F,Q,V!==Y);if(J.done)return J.value;var k=d(W,RegExp),Z=W.unicode,X=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(A?"g":"y"),ee=new k(A?"^(?:"+W.source+")":W,X),ue=Q===void 0?R:Q>>>0;if(ue===0)return[];if(F.length===0)return O(ee,F)===null?[F]:[];for(var ie=0,ce=0,le=[];ce1?arguments[1]:void 0,I.length)),A=s(S);return h?h(I,A,E):p(I,E,E+A.length)===A}})},72571:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=r("".slice),c=Math.max,o=Math.min,d=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:d},{substr:function(p,x){var g=s(n(this)),P=g.length,O=a(p),S,I;return O===1/0&&(O=0),O<0&&(O=c(P+O,0)),S=x===void 0?P:a(x),S<=0||S===1/0?"":(I=o(O+S,P),O>=I?"":u(g,O,I))}})},85767:function(i,f,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),a=e(95955),s=e(69905),u=e(3338),c=Array,o=n("".charAt),d=n("".charCodeAt),h=n([].join),p="".toWellFormed,x="\uFFFD",g=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:g},{toWellFormed:function(){var O=s(a(this));if(g)return r(p,O);for(var S=O.length,I=c(S),E=0;E=56320||E+1>=S||(d(O,E+1)&64512)!==56320?I[E]=x:(I[E]=o(O,E),I[++E]=o(O,E))}return h(I,"")}})},49257:function(i,f,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,f,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,f,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,f,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,f,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,f,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(16697),u=e(35454),c=e(42820),o=e(3338),d=e(32621),h=e(16332),p=e(80449),x=e(80524),g=e(17818),P=e(69905),O=e(35012),S=e(20132),I=e(7733),E=e(80689),A=e(53393),R=e(92635),T=e(71256),D=e(37691),M=e(55666),B=e(27597),j=e(2291),G=e(64110),H=e(77898),Y=e(11898),L=e(54406),V=e(6145),K=e(59893),Q=e(38282),W=e(94674),F=e(14311),J=e(94573),k=e(94844),Z=e(90560).forEach,X=Y("hidden"),ee="Symbol",ue="prototype",ie=k.set,ce=k.getterFor(ee),le=Object[ue],He=r.Symbol,ze=He&&He[ue],it=r.RangeError,_t=r.TypeError,$e=r.QObject,Xe=T.f,je=D.f,De=A.f,me=B.f,ot=a([].push),lt=H("symbols"),St=H("op-symbols"),wt=H("wks"),Ie=!$e||!$e[ue]||!$e[ue].findChild,qe=function(Ee,dt,Je){var Ke=Xe(le,dt);Ke&&delete le[dt],je(Ee,dt,Je),Ke&&Ee!==le&&je(le,dt,Ke)},vt=u&&o(function(){return S(je({},"a",{get:function(){return je(this,"a",{value:7}).a}})).a!==7})?qe:je,Le=function(Ee,dt){var Je=lt[Ee]=S(ze);return ie(Je,{type:ee,tag:Ee,description:dt}),u||(Je.description=dt),Je},xe=function(dt,Je,Ke){dt===le&&xe(St,Je,Ke),p(dt);var st=g(Je);return p(Ke),d(lt,st)?(Ke.enumerable?(d(dt,X)&&dt[X][st]&&(dt[X][st]=!1),Ke=S(Ke,{enumerable:O(0,!1)})):(d(dt,X)||je(dt,X,O(1,{})),dt[X][st]=!0),vt(dt,st,Ke)):je(dt,st,Ke)},fe=function(dt,Je){p(dt);var Ke=x(Je),st=I(Ke).concat(de(Ke));return Z(st,function(Tt){(!u||n(Ce,Ke,Tt))&&xe(dt,Tt,Ke[Tt])}),dt},ye=function(dt,Je){return Je===void 0?S(dt):fe(S(dt),Je)},Ce=function(dt){var Je=g(dt),Ke=n(me,this,Je);return this===le&&d(lt,Je)&&!d(St,Je)?!1:Ke||!d(this,Je)||!d(lt,Je)||d(this,X)&&this[X][Je]?Ke:!0},tt=function(dt,Je){var Ke=x(dt),st=g(Je);if(!(Ke===le&&d(lt,st)&&!d(St,st))){var Tt=Xe(Ke,st);return Tt&&d(lt,st)&&!(d(Ke,X)&&Ke[X][st])&&(Tt.enumerable=!0),Tt}},xt=function(dt){var Je=De(x(dt)),Ke=[];return Z(Je,function(st){!d(lt,st)&&!d(L,st)&&ot(Ke,st)}),Ke},de=function(Ee){var dt=Ee===le,Je=De(dt?St:x(Ee)),Ke=[];return Z(Je,function(st){d(lt,st)&&(!dt||d(le,st))&&ot(Ke,lt[st])}),Ke};c||(He=function(){if(h(ze,this))throw new _t("Symbol is not a constructor");var dt=!arguments.length||arguments[0]===void 0?void 0:P(arguments[0]),Je=V(dt),Ke=function(st){var Tt=this===void 0?r:this;Tt===le&&n(Ke,St,st),d(Tt,X)&&d(Tt[X],Je)&&(Tt[X][Je]=!1);var Yt=O(1,st);try{vt(Tt,Je,Yt)}catch(Oe){if(!(Oe instanceof it))throw Oe;qe(Tt,Je,Yt)}};return u&&Ie&&vt(le,Je,{configurable:!0,set:Ke}),Le(Je,dt)},ze=He[ue],j(ze,"toString",function(){return ce(this).tag}),j(He,"withoutSetter",function(Ee){return Le(V(Ee),Ee)}),B.f=Ce,D.f=xe,M.f=fe,T.f=tt,E.f=A.f=xt,R.f=de,Q.f=function(Ee){return Le(K(Ee),Ee)},u&&(G(ze,"description",{configurable:!0,get:function(){return ce(this).description}}),s||j(le,"propertyIsEnumerable",Ce,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:He}),Z(I(wt),function(Ee){W(Ee)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){Ie=!0},useSimple:function(){Ie=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:ye,defineProperty:xe,defineProperties:fe,getOwnPropertyDescriptor:tt}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:xt}),F(),J(He,ee),L[X]=!0},44852:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(94237),s=e(32621),u=e(55327),c=e(16332),o=e(69905),d=e(64110),h=e(24538),p=n.Symbol,x=p&&p.prototype;if(r&&u(p)&&(!("description"in x)||p().description!==void 0)){var g={},P=function(){var D=arguments.length<1||arguments[0]===void 0?void 0:o(arguments[0]),M=c(x,this)?new p(D):D===void 0?p():p(D);return D===""&&(g[M]=!0),M};h(P,p),P.prototype=x,x.constructor=P;var O=String(p("description detection"))==="Symbol(description detection)",S=a(x.valueOf),I=a(x.toString),E=/^Symbol\((.*)\)[^)]+$/,A=a("".replace),R=a("".slice);d(x,"description",{configurable:!0,get:function(){var D=S(this);if(s(g,D))return"";var M=I(D),B=O?R(M,7,-1):A(M,E,"$1");return B===""?void 0:B}}),t({global:!0,constructor:!0,forced:!0},{Symbol:P})}},54524:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),a=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),o=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(d){var h=a(d);if(n(c,h))return c[h];var p=r("Symbol")(h);return c[h]=p,o[p]=h,p}})},17898:function(i,f,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,f,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,f,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,f,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,f,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),a=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(d){if(!n(d))throw new TypeError(a(d)+" is not a symbol");if(r(c,d))return c[d]}})},69811:function(i,f,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,f,e){"use strict";var t=e(94674);t("match")},18114:function(i,f,e){"use strict";var t=e(94674);t("replace")},23844:function(i,f,e){"use strict";var t=e(94674);t("search")},39581:function(i,f,e){"use strict";var t=e(94674);t("species")},40632:function(i,f,e){"use strict";var t=e(94674);t("split")},22690:function(i,f,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,f,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,f,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,f,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var o=a(this),d=r(o),h=n(c),p=h>=0?h:d+h;return p<0||p>=d?void 0:o[p]})},83470:function(i,f,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),a=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(o,d){return a(s(this),o,d,arguments.length>2?arguments[2]:void 0)})},79641:function(i,f,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,f,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),a=e(97607),s=e(89945),u=e(94237),c=e(3338),o=t.aTypedArray,d=t.exportTypedArrayMethod,h=u("".slice),p=c(function(){var x=0;return new Int8Array(2).fill({valueOf:function(){return x++}}),x!==1});d("fill",function(g){var P=arguments.length;o(this);var O=h(a(this),0,3)==="Big"?n(g):+g;return s(r,this,O,P>1?arguments[1]:void 0,P>2?arguments[2]:void 0)},p)},24860:function(i,f,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)})},56233:function(i,f,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,f,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,f,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,f,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,f,e){"use strict";var t=e(69733);t("Float32",function(r){return function(a,s,u){return r(this,a,s,u)}})},59022:function(i,f,e){"use strict";var t=e(69733);t("Float64",function(r){return function(a,s,u){return r(this,a,s,u)}})},5316:function(i,f,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,f,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,f,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,f,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,f,e){"use strict";var t=e(69733);t("Int16",function(r){return function(a,s,u){return r(this,a,s,u)}})},60330:function(i,f,e){"use strict";var t=e(69733);t("Int32",function(r){return function(a,s,u){return r(this,a,s,u)}})},19363:function(i,f,e){"use strict";var t=e(69733);t("Int8",function(r){return function(a,s,u){return r(this,a,s,u)}})},91927:function(i,f,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(58261),s=e(11005),u=e(59893),c=u("iterator"),o=t.Uint8Array,d=n(s.values),h=n(s.keys),p=n(s.entries),x=a.aTypedArray,g=a.exportTypedArrayMethod,P=o&&o.prototype,O=!r(function(){P[c].call([1])}),S=!!P&&P.values&&P[c]===P.values&&P.values.name==="values",I=function(){return d(x(this))};g("entries",function(){return p(x(this))},O),g("keys",function(){return h(x(this))},O),g("values",I,O||!S,{name:"values"}),g(c,I,O||!S,{name:"values"})},27730:function(i,f,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,a=t.exportTypedArrayMethod,s=r([].join);a("join",function(c){return s(n(this),c)})},58707:function(i,f,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var o=arguments.length;return r(n,a(this),o>1?[c,arguments[1]]:[c])})},41356:function(i,f,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(a(this),c,arguments.length>1?arguments[1]:void 0,function(o,d){return new(n(o))(d)})})},51606:function(i,f,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,a=t.exportTypedArrayStaticMethod;a("of",function(){for(var u=0,c=arguments.length,o=new(n(this))(c);c>u;)o[u]=arguments[u++];return o},r)},38458:function(i,f,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,f,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,f,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,a=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,o=a(c/2),d=0,h;d1?arguments[1]:void 0,1),A=u(I);if(P)return r(p,this,A,E);var R=this.length,T=a(A),D=0;if(T+E>R)throw new o("Wrong length");for(;Dg;)O[g]=p[g++];return O},c)},96519:function(i,f,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,f,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),a=e(63335),s=e(63668),u=e(58261),c=e(78177),o=e(17687),d=e(46573),h=e(19684),p=u.aTypedArray,x=u.exportTypedArrayMethod,g=t.Uint16Array,P=g&&r(g.prototype.sort),O=!!P&&!(n(function(){P(new g(2),null)})&&n(function(){P(new g(2),{})})),S=!!P&&!n(function(){if(d)return d<74;if(c)return c<67;if(o)return!0;if(h)return h<602;var E=new g(516),A=Array(516),R,T;for(R=0;R<516;R++)T=R%4,E[R]=515-R,A[R]=R-2*T+3;for(P(E,function(D,M){return(D/4|0)-(M/4|0)}),R=0;R<516;R++)if(E[R]!==A[R])return!0}),I=function(E){return function(A,R){return E!==void 0?+E(A,R)||0:R!==R?-1:A!==A?1:A===0&&R===0?1/A>0&&1/R<0?1:-1:A>R}};x("sort",function(A){return A!==void 0&&a(A),S?P(this,A):s(p(this),I(A))},!S||O)},63079:function(i,f,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),a=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(o,d){var h=s(this),p=h.length,x=n(o,p),g=a(h);return new g(h.buffer,h.byteOffset+x*h.BYTES_PER_ELEMENT,r((d===void 0?p:n(d,p))-x))})},8995:function(i,f,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),a=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,o=n.exportTypedArrayMethod,d=[].toLocaleString,h=!!u&&a(function(){d.call(new u(1))}),p=a(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!a(function(){u.prototype.toLocaleString.call([1,2])});o("toLocaleString",function(){return r(d,h?s(c(this)):c(this),s(arguments))},p)},23080:function(i,f,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",function(){return t(n(this),s(this))})},74701:function(i,f,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),a=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,o=r(t.TypedArrayPrototype.sort);c("toSorted",function(h){h!==void 0&&n(h);var p=s(this),x=a(u(p),p);return o(x,h)})},91809:function(i,f,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),a=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,o=a([].join);r(function(){c.call({})})&&(c=function(){return o(this)});var d=u.toString!==c;t("toString",c,d)},64336:function(i,f,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(a,s,u){return r(this,a,s,u)}})},63914:function(i,f,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(a,s,u){return r(this,a,s,u)}})},55234:function(i,f,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}})},88104:function(i,f,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}},!0)},77517:function(i,f,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),a=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,o=r.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(h){return h===8}}();o("with",function(h,p){var x=u(this),g=a(h),P=n(x)?s(p):+p;return t(x,c(x),g,P)},!d)},30149:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),o=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var x=n(p),g="",P=x.length,O=0,S,I;O1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,f,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,f,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,f,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),a=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),n("groupByToMap")},8604:function(i,f,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),a=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),a("groupBy")},25178:function(i,f,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),a=e(16697);t({target:"Array",proto:!0,forced:a},{groupToMap:n}),r("groupToMap")},39034:function(i,f,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,f,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,a=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,o=s.length,d;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,o=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(h,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var x=a(h),g=s(u(p),10,2);return o(this,x,g[1]<<8|g[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(d,h){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=a(d);return c(this,p,s(h))}})},2278:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),a=e(63335),s=e(56472),u=e(2291),c=e(66477),o=e(64110),d=e(59893),h=e(94844),p=e(5978),x=n("SuppressedError"),g=ReferenceError,P=d("dispose"),O=d("toStringTag"),S="DisposableStack",I=h.set,E=h.getterFor(S),A="sync-dispose",R="disposed",T="pending",D=function(j){var G=E(j);if(G.state===R)throw new g(S+" already disposed");return G},M=function(){I(s(this,B),{type:S,state:T,stack:[]}),r||(this.disposed=!1)},B=M.prototype;c(B,{dispose:function(){var G=E(this);if(G.state!==R){G.state=R,r||(this.disposed=!0);for(var H=G.stack,Y=H.length,L=!1,V;Y;){var K=H[--Y];H[Y]=null;try{K()}catch(Q){L?V=new x(Q,V):(L=!0,V=Q)}}if(G.stack=null,L)throw V}},use:function(G){return p(D(this),G,A),G},adopt:function(G,H){var Y=D(this);return a(H),p(Y,void 0,A,function(){H(G)}),G},defer:function(G){var H=D(this);a(G),p(H,void 0,A,G)},move:function(){var G=D(this),H=new M;return E(H).stack=G.stack,G.stack=[],G.state=R,r||(this.disposed=!0),H}}),r&&o(B,"disposed",{configurable:!0,get:function(){return E(this).state===R}}),u(B,P,B.dispose,{name:"dispose"}),u(B,O,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:M})},36955:function(i,f,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),a=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,o=/^\s*class\b/,d=r(o.exec),h=function(p){try{if(!u||!d(o,a(p)))return!1}catch(g){}var x=c(p,"prototype");return!!x&&s(x,"writable")&&!x.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(x){return n(x)&&!h(x)}})},53571:function(i,f,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,f,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),a=Function.prototype;a[n]===void 0&&r(a,n,{value:null})},31050:function(i,f,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,f,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),a=e(80449),s=e(55327),u=e(53456),c=e(64110),o=e(69392),d=e(3338),h=e(32621),p=e(59893),x=e(46571).IteratorPrototype,g=e(35454),P=e(16697),O="constructor",S="Iterator",I=p("toStringTag"),E=TypeError,A=r[S],R=P||!s(A)||A.prototype!==x||!d(function(){A({})}),T=function(){if(n(this,x),u(this)===x)throw new E("Abstract class Iterator not directly constructable")},D=function(M,B){g?c(x,M,{configurable:!0,get:function(){return B},set:function(j){if(a(this),this===x)throw new E("You can't redefine this property");h(this,M)?this[M]=j:o(this,M,j)}}):x[M]=B};h(x,I)||D(I,S),(R||!h(x,O)||x[O]===Object)&&D(O,T),T.prototype=x,t({global:!0,constructor:!0,forced:R},{Iterator:T})},46304:function(i,f,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),a=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");a(u,c)||r(u,c,function(){var o=n(this,"return");o&&t(o,this)})},55163:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(16697),d=c(function(){for(var h=this.iterator,p=this.next,x,g;this.remaining;)if(this.remaining--,x=n(r(p,h)),g=this.done=!!x.done,g)return;if(x=n(r(p,h)),g=this.done=!!x.done,!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:o},{drop:function(p){n(this);var x=u(s(+p));return new d(a(this),{remaining:x})}})},78722:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){a(this),n(c);var o=s(this),d=0;return!r(o,function(h,p){if(!c(h,d++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(20547),c=e(46319),o=e(16697),d=u(function(){for(var h=this.iterator,p=this.predicate,x=this.next,g,P,O;;){if(g=a(r(x,h)),P=this.done=!!g.done,P)return;if(O=g.value,c(h,p,[O,this.counter++],!0))return O}});t({target:"Iterator",proto:!0,real:!0,forced:o},{filter:function(p){return a(this),n(p),new d(s(this),{predicate:p})}})},81848:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){a(this),n(c);var o=s(this),d=0;return r(o,function(h,p){if(c(h,d++))return p(h)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(7157),c=e(20547),o=e(67996),d=e(16697),h=c(function(){for(var p=this.iterator,x=this.mapper,g,P;;){if(P=this.inner)try{if(g=a(r(P.next,P.iterator)),!g.done)return g.value;this.inner=null}catch(O){o(p,"throw",O)}if(g=a(r(this.next,p)),this.done=!!g.done)return;try{this.inner=u(x(g.value,this.counter++),!1)}catch(O){o(p,"throw",O)}}});t({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(x){return a(this),n(x),new h(s(this),{mapper:x,inner:null})}})},72211:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){a(this),n(c);var o=s(this),d=0;r(o,function(h){c(h,d++)},{IS_RECORD:!0})}})},84862:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),a=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),o=e(16697),d=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:o},{from:function(p){var x=c(typeof p=="string"?n(p):p,!0);return a(s,x.iterator)?x.iterator:new d(x)}})},92381:function(i,f,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,f,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,f,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(o){a(this),n(o);var d=s(this),h=arguments.length<2,p=h?void 0:arguments[1],x=0;if(r(d,function(g){h?(h=!1,p=g):p=o(p,g,x),x++},{IS_RECORD:!0}),h)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,f,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){a(this),n(c);var o=s(this),d=0;return r(o,function(h,p){if(c(h,d++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(67996),d=e(16697),h=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,o(p,"normal",void 0);var x=n(r(this.next,p)),g=this.done=!!x.done;if(!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:d},{take:function(x){n(this);var g=u(s(+x));return new h(a(this),{remaining:g})}})},28566:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),a=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(a(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),a=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new a(s(new n(s(r(this)))))}})},61872:function(i,f,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,f,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(65911),s=e(94237),u=e(89945),c=e(55327),o=e(31946),d=e(18589),h=e(32621),p=e(69905),x=e(82762),g=e(69392),P=e(3338),O=e(70913),S=e(42820),I=n.JSON,E=n.Number,A=n.SyntaxError,R=I&&I.parse,T=a("Object","keys"),D=Object.getOwnPropertyDescriptor,M=s("".charAt),B=s("".slice),j=s(/./.exec),G=s([].push),H=/^\d$/,Y=/^[1-9]$/,L=/^(?:-|\d)$/,V=/^[\t\n\r ]$/,K=0,Q=1,W=function(ue,ie){ue=p(ue);var ce=new Z(ue,0,""),le=ce.parse(),He=le.value,ze=ce.skip(V,le.end);if(ze1?arguments[1]:void 0);return a(c,function(d,h){if(!o(d,h,c))return!1},!0)!==!1}})},28220:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(d){var h=n(this),p=r(d,arguments.length>1?arguments[1]:void 0),x=new u;return s(h,function(g,P){p(g,P,h)&&c(x,P,g)}),x}})},49350:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),d=a(c,function(h,p){if(o(h,p,c))return{key:p}},!0);return d&&d.key}})},62060:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),d=a(c,function(h,p){if(o(h,p,c))return{value:h}},!0);return d&&d.value}})},20126:function(i,f,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,f,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return a(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),a=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(o,d){var h=a(this)?this:u,p=new h;s(d);var x=s(p.set);return n(o,function(g){r(x,p,d(g),g)}),p}})},17822:function(i,f,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,o){if(c===s)return{key:o}},!0);return u&&u.key}})},83543:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(d){var h=n(this),p=r(d,arguments.length>1?arguments[1]:void 0),x=new u;return s(h,function(g,P){c(x,p(g,P,h),g)}),x}})},13853:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(d){var h=n(this),p=r(d,arguments.length>1?arguments[1]:void 0),x=new u;return s(h,function(g,P){c(x,P,p(g,P,h))}),x}})},25188:function(i,f,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),a=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),o=arguments.length,d=0;d1?arguments[1]:void 0);return a(c,function(d,h){if(o(d,h,c))return!0},!0)===!0}})},8774:function(i,f,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,f,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),a=e(2786),s=TypeError,u=a.get,c=a.has,o=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(h,p){var x=n(this),g=arguments.length;r(p);var P=c(x,h);if(!P&&g<3)throw new s("Updating absent value");var O=P?u(x,h):r(g>2?arguments[2]:void 0)(h,x);return o(x,h,p(O,h,x)),x}})},94065:function(i,f,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,f,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,f,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},43710:function(i,f,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,f,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,o,d){return n(r(s,u,c,o,d))}})},92762:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,a,s,u){var c=n>>>0,o=a>>>0,d=s>>>0;return o+(u>>>0)+((c&d|(c|d)&~(c+d>>>0))>>>31)|0}})},24467:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,d=c&s,h=u>>16,p=c>>16,x=(h*d>>>0)+(o*d>>>16);return h*p+(x>>16)+((o*p>>>0)+(x&s)>>16)}})},68465:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,a,s,u){var c=n>>>0,o=a>>>0,d=s>>>0;return o-(u>>>0)-((~c&d|~(c^d)&c-d>>>0)>>>31)|0}})},77004:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,f,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},51117:function(i,f,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,f,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),a=e(83126),s=e(25587),u=e(94844),c="Seeded Random",o=c+" Generator",d='Math.seededPRNG() argument should have a "seed" field with a finite value.',h=u.set,p=u.getterFor(o),x=TypeError,g=a(function(O){h(this,{type:o,seed:O%2147483647})},c,function(){var O=p(this),S=O.seed=(O.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(O){var S=r(O).seed;if(!n(S))throw new x(d);return new g(S)}})},83733:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var a=+n;return a===a&&a===0?1/a===-1/0:a<0}})},92044:function(i,f,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,d=c&s,h=u>>>16,p=c>>>16,x=(h*d>>>0)+(o*d>>>16);return h*p+(x>>>16)+((o*p>>>0)+(x&s)>>>16)}})},29190:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,o=TypeError,d=parseInt,h=Math.pow,p=/^[\d.a-z]+$/,x=r("".charAt),g=r(p.exec),P=r(1 .toString),O=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(E,A){var R=1;if(typeof E!="string")throw new o(a);if(!E.length)throw new c(a);if(x(E,0)==="-"&&(R=-1,E=O(E,1),!E.length))throw new c(a);var T=A===void 0?10:n(A);if(T<2||T>36)throw new u(s);if(!g(p,E))throw new c(a);var D=S(E,"."),M=d(D[0],T);if(D.length>1&&(M+=d(D[1],T)/h(T,D[1].length)),T===10&&P(M,T)!==E)throw new c(a);return R*M}})},10775:function(i,f,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,u){return new r(a,s,u,"number",0,1)}})},19593:function(i,f,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},26502:function(i,f,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},10174:function(i,f,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},76867:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),a=e(51996),s=e(63335),u=e(80449),c=e(56472),o=e(55327),d=e(4112),h=e(31946),p=e(53776),x=e(2291),g=e(66477),P=e(64110),O=e(61810),S=e(59893),I=e(94844),E=S("observable"),A="Observable",R="Subscription",T="SubscriptionObserver",D=I.getterFor,M=I.set,B=D(A),j=D(R),G=D(T),H=function(Q){this.observer=u(Q),this.cleanup=void 0,this.subscriptionObserver=void 0};H.prototype={type:R,clean:function(){var Q=this.cleanup;if(Q){this.cleanup=void 0;try{Q()}catch(W){O(W)}}},close:function(){if(!n){var Q=this.facade,W=this.subscriptionObserver;Q.closed=!0,W&&(W.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Y=function(Q,W){var F=M(this,new H(Q)),J;n||(this.closed=!1);try{(J=p(Q,"start"))&&r(J,Q,this)}catch(ee){O(ee)}if(!F.isClosed()){var k=F.subscriptionObserver=new L(F);try{var Z=W(k),X=Z;d(Z)||(F.cleanup=o(Z.unsubscribe)?function(){X.unsubscribe()}:s(Z))}catch(ee){k.error(ee);return}F.isClosed()&&F.clean()}};Y.prototype=g({},{unsubscribe:function(){var W=j(this);W.isClosed()||(W.close(),W.clean())}}),n&&P(Y.prototype,"closed",{configurable:!0,get:function(){return j(this).isClosed()}});var L=function(Q){M(this,{type:T,subscriptionState:Q}),n||(this.closed=!1)};L.prototype=g({},{next:function(W){var F=G(this).subscriptionState;if(!F.isClosed()){var J=F.observer;try{var k=p(J,"next");k&&r(k,J,W)}catch(Z){O(Z)}}},error:function(W){var F=G(this).subscriptionState;if(!F.isClosed()){var J=F.observer;F.close();try{var k=p(J,"error");k?r(k,J,W):O(W)}catch(Z){O(Z)}F.clean()}},complete:function(){var W=G(this).subscriptionState;if(!W.isClosed()){var F=W.observer;W.close();try{var J=p(F,"complete");J&&r(J,F)}catch(k){O(k)}W.clean()}}}),n&&P(L.prototype,"closed",{configurable:!0,get:function(){return G(this).subscriptionState.isClosed()}});var V=function(W){c(this,K),M(this,{type:A,subscriber:s(W)})},K=V.prototype;g(K,{subscribe:function(W){var F=arguments.length;return new Y(o(W)?{next:W,error:F>1?arguments[1]:void 0,complete:F>2?arguments[2]:void 0}:h(W)?W:{},B(this).subscriber)}}),x(K,E,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:V}),a(A)},14548:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),a=e(80449),s=e(39812),u=e(85428),c=e(53776),o=e(62003),d=e(59893),h=d("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(x){var g=s(this)?this:r("Observable"),P=c(a(x),h);if(P){var O=a(n(P,x));return O.constructor===g?O:new g(function(I){return O.subscribe(I)})}var S=u(x);return new g(function(I){o(S,function(E,A){if(I.next(E),I.closed)return A()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,f,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,f,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,o=a(c),d=0;d?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(d){var h=n(d),p=s(h,0);return(p>47&&p<58?"\\x3":"")+u(h,c,"\\$&")}})},1220:function(i,f,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return a(c,function(d){if(!o(d,d,c))return!1},!0)!==!1}})},38487:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(d){var h=n(this),p=r(d,arguments.length>1?arguments[1]:void 0),x=new u;return s(h,function(g){p(g,g,h)&&c(x,g)}),x}})},29916:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),d=a(c,function(h){if(o(h,h,c))return{value:h}},!0);return d&&d.value}})},25541:function(i,f,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(a,this,n(u))}})},45612:function(i,f,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),a=e(22627),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(a,this,n(u))}})},98080:function(i,f,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(a,this,n(u))}})},96351:function(i,f,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(a,this,n(u))}})},60244:function(i,f,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,f,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),a=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(d){var h=n(this),p=d===void 0?",":s(d),x=[];return a(h,function(g){c(x,g)}),u(x,p)}})},42947:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(d){var h=n(this),p=r(d,arguments.length>1?arguments[1]:void 0),x=new u;return s(h,function(g){c(x,p(g,g,h))}),x}})},71568:function(i,f,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,f,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),a=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var o=n(this),d=arguments.length<2,h=d?void 0:arguments[1];if(r(c),a(o,function(p){d?(d=!1,h=p):h=c(h,p,p,o)}),d)throw new s("Reduce of empty set with no initial value");return h}})},30556:function(i,f,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0);return a(c,function(d){if(o(d,d,c))return!0},!0)===!0}})},93102:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(a,this,n(u))}})},32100:function(i,f,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,f,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(a,this,n(u))}})},1821:function(i,f,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,f,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),a=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var o=s(n(this)),d=o.length,h=a(c),p=h>=0?h:d+h;return p<0||p>=d?void 0:r(o,p)}})},62882:function(i,f,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),a=e(95955),s=e(69905),u=e(94844),c=e(13764),o=c.codeAt,d=c.charAt,h="String Iterator",p=u.set,x=u.getterFor(h),g=r(function(O){p(this,{type:h,string:O,index:0})},"String",function(){var O=x(this),S=O.string,I=O.index,E;return I>=S.length?n(void 0,!0):(E=d(S,I),O.index+=E.length,n({codePoint:o(E,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new g(s(a(this)))}})},59348:function(i,f,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,f,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),a=e(94237),s=e(13743),u=e(80449),c=e(94029),o=e(55327),d=e(82762),h=e(37691).f,p=e(71698),x=e(42530),g=e(67410),P=e(79204),O=e(19268),S=new x.WeakMap,I=x.get,E=x.has,A=x.set,R=Array,T=TypeError,D=Object.freeze||Object,M=Object.isFrozen,B=Math.min,j=a("".charAt),G=a("".slice),H=a("".split),Y=a(/./.exec),L=/([\n\u2028\u2029]|\r\n?)/g,V=RegExp("^["+O+"]*"),K=RegExp("[^"+O+"]"),Q="Invalid tag",W="Invalid opening line",F="Invalid closing line",J=function(ie){var ce=ie.raw;if(t&&!M(ce))throw new T("Raw template should be frozen");if(E(S,ce))return I(S,ce);var le=k(ce),He=X(le);return h(He,"raw",{value:D(le)}),D(He),A(S,ce,He),He},k=function(ie){var ce=c(ie),le=d(ce),He=R(le),ze=R(le),it=0,_t,$e,Xe,je;if(!le)throw new T(Q);for(;it0)throw new T(W);_t[1]=""}if(me){if(_t.length===1||Y(K,_t[_t.length-1]))throw new T(F);_t[_t.length-2]="",_t[_t.length-1]=""}for(var ot=2;ot<_t.length;ot+=2){var lt=_t[ot],St=ot+1===_t.length&&!me,wt=Y(V,lt)[0];if(!St&&wt.length===lt.length){_t[ot]="";continue}$e=Z(wt,$e)}}var Ie=$e?$e.length:0;for(it=0;it1?arguments[1]:void 0);return n(this,o)},!0)},16315:function(i,f,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)},!0)},56966:function(i,f,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),a=e(58261),s=e(69478),u=a.aTypedArrayConstructor,c=a.exportTypedArrayStaticMethod;c("fromAsync",function(d){var h=this,p=arguments.length,x=p>1?arguments[1]:void 0,g=p>2?arguments[2]:void 0;return new(t("Promise"))(function(P){r(h),P(n(d,x,g))}).then(function(P){return s(u(h),P)})},!0)},60239:function(i,f,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var o=arguments.length>1?arguments[1]:void 0;return r(a(this),c,o,n)},!0)},49381:function(i,f,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),a=e(51981),s=e(93303),u=e(56902),c=e(3338),o=t.aTypedArray,d=t.getTypedArrayConstructor,h=t.exportTypedArrayMethod,p=Math.max,x=Math.min,g=!c(function(){var P=new Int8Array([1]),O=P.toSpliced(1,0,{valueOf:function(){return P[0]=2,3}});return O[0]!==2||O[1]!==3});h("toSpliced",function(O,S){var I=o(this),E=d(I),A=r(I),R=a(O,A),T=arguments.length,D=0,M,B,j,G,H,Y,L;if(T===0)M=B=0;else if(T===1)M=0,B=A-R;else if(B=x(p(u(S),0),A-R),M=T-2,M){G=new E(M),j=n(G);for(var V=2;V1?a(arguments[1]):void 0,M=d(D)==="base64"?h:p,B=D?!!D.strict:!1,j=B?T:O(T,E,"");if(j.length%4===0)S(j,-2)==="=="?j=S(j,0,-2):S(j,-1)==="="&&(j=S(j,0,-1));else if(B)throw new g("Input is not correctly padded");var G=j.length%4;switch(G){case 1:throw new g("Bad input length");case 2:j+="AA";break;case 3:j+="A"}for(var H=[],Y=0,L=j.length,V=function(W){var F=P(j,Y+W);if(!u(M,F))throw new g('Bad char in input: "'+F+'"');return M[F]<<18-6*W};Y>16&255,K>>8&255,K&255)}var Q=H.length;if(G===2){if(B&&H[Q-2]!==0)throw new g(A);Q-=2}else if(G===3){if(B&&H[Q-1]!==0)throw new g(A);Q--}return c(x,H,Q)}})},57151:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),a=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,o=/[^\da-f]/i,d=n(o.exec),h=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(x){a(x);var g=x.length;if(g%2)throw new u("String should have an even number of characters");if(d(o,x))throw new u("String should only contain hex characters");for(var P=new s(g/2),O=0;O>6*T&63)};I+2>(-2*L&6)));return H}})},55182:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(94237),s=e(89945),u=e(3338),c=e(69905),o=e(57106),d=e(66244).i2c,h=n("btoa"),p=a("".charAt),x=a("".charCodeAt),g=!!h&&!u(function(){return h("hi")!=="aGk="}),P=g&&!u(function(){h()}),O=g&&u(function(){return h(null)!=="bnVsbA=="}),S=g&&h.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!g||P||O||S},{btoa:function(E){if(o(arguments.length,1),g)return s(h,r,c(E));for(var A=c(E),R="",T=0,D=d,M,B;p(A,T)||(D="=",T%1);){if(B=x(A,T+=.75),B>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");M=M<<8|B,R+=p(D,63&M>>8-T%1*8)}return R}})},91472:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,f,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(59594),s=e(68151),u=function(o){if(o&&o.forEach!==a)try{s(o,"forEach",a)}catch(d){o.forEach=a}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,f,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(11005),s=e(68151),u=e(94573),c=e(59893),o=c("iterator"),d=a.values,h=function(x,g){if(x){if(x[o]!==d)try{s(x,o,d)}catch(O){x[o]=d}if(u(x,g,!0),r[g]){for(var P in a)if(x[P]!==a[P])try{s(x,P,a[P])}catch(O){x[P]=a[P]}}}};for(var p in r)h(t[p]&&t[p].prototype,p);h(n,"DOMTokenList")},64522:function(i,f,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),a=e(3338),s=e(20132),u=e(35012),c=e(37691).f,o=e(2291),d=e(64110),h=e(32621),p=e(56472),x=e(80449),g=e(13367),P=e(7825),O=e(52109),S=e(80739),I=e(94844),E=e(35454),A=e(16697),R="DOMException",T="DATA_CLONE_ERR",D=n("Error"),M=n(R)||function(){try{var ze=n("MessageChannel")||r("worker_threads").MessageChannel;new ze().port1.postMessage(new WeakMap)}catch(it){if(it.name===T&&it.code===25)return it.constructor}}(),B=M&&M.prototype,j=D.prototype,G=I.set,H=I.getterFor(R),Y="stack"in new D(R),L=function(ze){return h(O,ze)&&O[ze].m?O[ze].c:0},V=function(){p(this,K);var it=arguments.length,_t=P(it<1?void 0:arguments[0]),$e=P(it<2?void 0:arguments[1],"Error"),Xe=L($e);if(G(this,{type:R,name:$e,message:_t,code:Xe}),E||(this.name=$e,this.message=_t,this.code=Xe),Y){var je=new D(_t);je.name=R,c(this,"stack",u(1,S(je.stack,1)))}},K=V.prototype=s(j),Q=function(ze){return{enumerable:!0,configurable:!0,get:ze}},W=function(ze){return Q(function(){return H(this)[ze]})};E&&(d(K,"code",W("code")),d(K,"message",W("message")),d(K,"name",W("name"))),c(K,"constructor",u(1,V));var F=a(function(){return!(new M instanceof D)}),J=F||a(function(){return j.toString!==g||String(new M(1,2))!=="2: 1"}),k=F||a(function(){return new M(1,"DataCloneError").code!==25}),Z=F||M[T]!==25||B[T]!==25,X=A?J||k||Z:F;t({global:!0,constructor:!0,forced:X},{DOMException:X?V:M});var ee=n(R),ue=ee.prototype;J&&(A||M===ee)&&o(ue,"toString",g),k&&E&&M===ee&&d(ue,"code",Q(function(){return L(x(this).name)}));for(var ie in O)if(h(O,ie)){var ce=O[ie],le=ce.s,He=u(6,ce.c);h(ee,le)||c(ee,le,He),h(ue,le)||c(ue,le,He)}},41599:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(35012),s=e(37691).f,u=e(32621),c=e(56472),o=e(25576),d=e(7825),h=e(52109),p=e(80739),x=e(35454),g=e(16697),P="DOMException",O=n("Error"),S=n(P),I=function(){c(this,E);var V=arguments.length,K=d(V<1?void 0:arguments[0]),Q=d(V<2?void 0:arguments[1],"Error"),W=new S(K,Q),F=new O(K);return F.name=P,s(W,"stack",a(1,p(F.stack,1))),o(W,this,I),W},E=I.prototype=S.prototype,A="stack"in new O(P),R="stack"in new S(1,2),T=S&&x&&Object.getOwnPropertyDescriptor(r,P),D=!!T&&!(T.writable&&T.configurable),M=A&&!D&&!R;t({global:!0,constructor:!0,forced:g||M},{DOMException:M?I:S});var B=n(P),j=B.prototype;if(j.constructor!==B){g||s(j,"constructor",a(1,B));for(var G in h)if(u(h,G)){var H=h[G],Y=H.s;u(B,Y)||s(B,Y,a(6,H.c))}}},86465:function(i,f,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,f,e){"use strict";e(91472),e(91700)},73624:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),a=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(d){s(arguments.length,1),a(d);var h=u&&c.domain;n(h?h.bind(d):d)}})},62059:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),a=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(a){var o=Object.getOwnPropertyDescriptor(r,"self");(c||!o||!o.get||!o.enumerable)&&n(r,"self",{get:function(){return r},set:function(h){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:h,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(d){}},91700:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,a=e(93222),s=r.setImmediate?a(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},91572:function(i,f,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},10305:function(i,f,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),a=e(65911),s=e(94237),u=e(3338),c=e(6145),o=e(55327),d=e(39812),h=e(4112),p=e(31946),x=e(18446),g=e(62003),P=e(80449),O=e(97607),S=e(32621),I=e(69392),E=e(68151),A=e(82762),R=e(57106),T=e(81644),D=e(2786),M=e(19691),B=e(57002),j=e(39311),G=e(25406),H=e(80426),Y=n.Object,L=n.Array,V=n.Date,K=n.Error,Q=n.TypeError,W=n.PerformanceMark,F=a("DOMException"),J=D.Map,k=D.has,Z=D.get,X=D.set,ee=M.Set,ue=M.add,ie=M.has,ce=a("Object","keys"),le=s([].push),He=s((!0).valueOf),ze=s(1 .valueOf),it=s("".valueOf),_t=s(V.prototype.getTime),$e=c("structuredClone"),Xe="DataCloneError",je="Transferring",De=function(de){return!u(function(){var Ee=new n.Set([7]),dt=de(Ee),Je=de(Y(7));return dt===Ee||!dt.has(7)||!p(Je)||+Je!=7})&&de},me=function(de,Ee){return!u(function(){var dt=new Ee,Je=de({a:dt,b:dt});return!(Je&&Je.a===Je.b&&Je.a instanceof Ee&&Je.a.stack===dt.stack)})},ot=function(de){return!u(function(){var Ee=de(new n.AggregateError([1],$e,{cause:3}));return Ee.name!=="AggregateError"||Ee.errors[0]!==1||Ee.message!==$e||Ee.cause!==3})},lt=n.structuredClone,St=t||!me(lt,K)||!me(lt,F)||!ot(lt),wt=!lt&&De(function(de){return new W($e,{detail:de}).detail}),Ie=De(lt)||wt,qe=function(de){throw new F("Uncloneable type: "+de,Xe)},vt=function(de,Ee){throw new F((Ee||"Cloning")+" of "+de+" cannot be properly polyfilled in this engine",Xe)},Le=function(de,Ee){return Ie||vt(Ee),Ie(de)},xe=function(){var de;try{de=new n.DataTransfer}catch(Ee){try{de=new n.ClipboardEvent("").clipboardData}catch(dt){}}return de&&de.items&&de.files?de:null},fe=function(de,Ee,dt){if(k(Ee,de))return Z(Ee,de);var Je=dt||O(de),Ke,st,Tt,Yt,Oe,Fe;if(Je==="SharedArrayBuffer")Ie?Ke=Ie(de):Ke=de;else{var Be=n.DataView;!Be&&!o(de.slice)&&vt("ArrayBuffer");try{if(o(de.slice)&&!de.resizable)Ke=de.slice(0);else for(st=de.byteLength,Tt=("maxByteLength"in de)?{maxByteLength:de.maxByteLength}:void 0,Ke=new ArrayBuffer(st,Tt),Yt=new Be(de),Oe=new Be(Ke),Fe=0;Fe1&&!h(arguments[1])?P(arguments[1]):void 0,Je=dt?dt.transfer:void 0,Ke,st;Je!==void 0&&(Ke=new J,st=tt(Je,Ke));var Tt=Ce(Ee,Ke);return st&&xt(st),Tt}})},41208:function(i,f,e){"use strict";e(88469),e(91572)},91340:function(i,f,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(35454),u=e(3299),c=e(2291),o=e(64110),d=e(66477),h=e(94573),p=e(83126),x=e(94844),g=e(56472),P=e(55327),O=e(32621),S=e(80666),I=e(97607),E=e(80449),A=e(31946),R=e(69905),T=e(20132),D=e(35012),M=e(85428),B=e(26006),j=e(25587),G=e(57106),H=e(59893),Y=e(63668),L=H("iterator"),V="URLSearchParams",K=V+"Iterator",Q=x.set,W=x.getterFor(V),F=x.getterFor(K),J=Object.getOwnPropertyDescriptor,k=function(Ke){if(!s)return r[Ke];var st=J(r,Ke);return st&&st.value},Z=k("fetch"),X=k("Request"),ee=k("Headers"),ue=X&&X.prototype,ie=ee&&ee.prototype,ce=r.RegExp,le=r.TypeError,He=r.decodeURIComponent,ze=r.encodeURIComponent,it=a("".charAt),_t=a([].join),$e=a([].push),Xe=a("".replace),je=a([].shift),De=a([].splice),me=a("".split),ot=a("".slice),lt=/\+/g,St=Array(4),wt=function(Ke){return St[Ke-1]||(St[Ke-1]=ce("((?:%[\\da-f]{2}){"+Ke+"})","gi"))},Ie=function(Ke){try{return He(Ke)}catch(st){return Ke}},qe=function(Ke){var st=Xe(Ke,lt," "),Tt=4;try{return He(st)}catch(Yt){for(;Tt;)st=Xe(st,wt(Tt--),Ie);return st}},vt=/[!'()~]|%20/g,Le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},xe=function(Ke){return Le[Ke]},fe=function(Ke){return Xe(ze(Ke),vt,xe)},ye=p(function(st,Tt){Q(this,{type:K,target:W(st).entries,index:0,kind:Tt})},V,function(){var st=F(this),Tt=st.target,Yt=st.index++;if(!Tt||Yt>=Tt.length)return st.target=void 0,j(void 0,!0);var Oe=Tt[Yt];switch(st.kind){case"keys":return j(Oe.key,!1);case"values":return j(Oe.value,!1)}return j([Oe.key,Oe.value],!1)},!0),Ce=function(Ke){this.entries=[],this.url=null,Ke!==void 0&&(A(Ke)?this.parseObject(Ke):this.parseQuery(typeof Ke=="string"?it(Ke,0)==="?"?ot(Ke,1):Ke:R(Ke)))};Ce.prototype={type:V,bindURL:function(Ke){this.url=Ke,this.update()},parseObject:function(Ke){var st=this.entries,Tt=B(Ke),Yt,Oe,Fe,Be,mt,Dt,se;if(Tt)for(Yt=M(Ke,Tt),Oe=Yt.next;!(Fe=n(Oe,Yt)).done;){if(Be=M(E(Fe.value)),mt=Be.next,(Dt=n(mt,Be)).done||(se=n(mt,Be)).done||!n(mt,Be).done)throw new le("Expected sequence with length 2");$e(st,{key:R(Dt.value),value:R(se.value)})}else for(var gt in Ke)O(Ke,gt)&&$e(st,{key:gt,value:R(Ke[gt])})},parseQuery:function(Ke){if(Ke)for(var st=this.entries,Tt=me(Ke,"&"),Yt=0,Oe,Fe;Yt0?arguments[0]:void 0,Tt=Q(this,new Ce(st));s||(this.size=Tt.entries.length)},xt=tt.prototype;if(d(xt,{append:function(st,Tt){var Yt=W(this);G(arguments.length,2),$e(Yt.entries,{key:R(st),value:R(Tt)}),s||this.length++,Yt.updateURL()},delete:function(Ke){for(var st=W(this),Tt=G(arguments.length,1),Yt=st.entries,Oe=R(Ke),Fe=Tt<2?void 0:arguments[1],Be=Fe===void 0?Fe:R(Fe),mt=0;mtYt.key?1:-1}),st.updateURL()},forEach:function(st){for(var Tt=W(this).entries,Yt=S(st,arguments.length>1?arguments[1]:void 0),Oe=0,Fe;Oe1?dt(arguments[1]):{})}}),P(X)){var Je=function(st){return g(this,ue),new X(st,arguments.length>1?dt(arguments[1]):{})};ue.constructor=Je,Je.prototype=ue,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Je})}}i.exports={URLSearchParams:tt,getState:W}},4890:function(i,f,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),a=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),o=r(u.delete),d=r(u.forEach),h=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(x){var g=arguments.length,P=g<2?void 0:arguments[1];if(g&&P===void 0)return o(this,x);var O=[];d(this,function(M,B){h(O,{key:B,value:M})}),a(g,1);for(var S=n(x),I=n(P),E=0,A=0,R=!1,T=O.length,D;E?@[\\\]^|]/,lt=/[\0\t\n\r #/:<>?@[\\\]^|]/,St=/^[\u0000-\u0020]+/,wt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ie=/[\t\n\r]/g,qe,vt=function(bt){var et=X(bt,"."),Ue,Ne,rt,jt,Nt,gr,yr;if(et.length&&et[et.length-1]===""&&et.length--,Ue=et.length,Ue>4)return bt;for(Ne=[],rt=0;rt1&&V(jt,0)==="0"&&(Nt=K(Xe,jt)?16:8,jt=ee(jt,Nt===8?1:2)),jt==="")gr=0;else{if(!K(Nt===10?De:Nt===8?je:me,jt))return bt;gr=H(jt,Nt)}J(Ne,gr)}for(rt=0;rt=L(256,5-Ue))return null}else if(gr>255)return null;for(yr=F(Ne),rt=0;rt6))return;for(gr=0;Me();){if(yr=null,gr>0)if(Me()==="."&&gr<4)rt++;else return;if(!K($e,Me()))return;for(;K($e,Me());){if(Ur=H(Me(),10),yr===null)yr=Ur;else{if(yr===0)return;yr=yr*10+Ur}if(yr>255)return;rt++}et[Ue]=et[Ue]*256+yr,gr++,(gr===2||gr===4)&&Ue++}if(gr!==4)return;break}else if(Me()===":"){if(rt++,!Me())return}else if(Me())return;et[Ue++]=jt}if(Ne!==null)for(_n=Ue-Ne,Ue=7;Ue!==0&&_n>0;)ir=et[Ue],et[Ue--]=et[Ne+_n-1],et[Ne+--_n]=ir;else if(Ue!==8)return;return et},xe=function(bt){for(var et=null,Ue=1,Ne=null,rt=0,jt=0;jt<8;jt++)bt[jt]!==0?(rt>Ue&&(et=Ne,Ue=rt),Ne=null,rt=0):(Ne===null&&(Ne=jt),++rt);return rt>Ue&&(et=Ne,Ue=rt),et},fe=function(bt){var et,Ue,Ne,rt;if(typeof bt=="number"){for(et=[],Ue=0;Ue<4;Ue++)ie(et,bt%256),bt=Y(bt/256);return Q(et,".")}else if(typeof bt=="object"){for(et="",Ne=xe(bt),Ue=0;Ue<8;Ue++)rt&&bt[Ue]===0||(rt&&(rt=!1),Ne===Ue?(et+=Ue?":":"::",rt=!0):(et+=W(bt[Ue],16),Ue<7&&(et+=":")));return"["+et+"]"}return bt},ye={},Ce=p({},ye,{" ":1,'"':1,"<":1,">":1,"`":1}),tt=p({},Ce,{"#":1,"?":1,"{":1,"}":1}),xt=p({},tt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(bt,et){var Ue=P(bt,0);return Ue>32&&Ue<127&&!h(et,bt)?bt:encodeURIComponent(bt)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dt=function(bt,et){var Ue;return bt.length===2&&K(it,V(bt,0))&&((Ue=V(bt,1))===":"||!et&&Ue==="|")},Je=function(bt){var et;return bt.length>1&&dt(ee(bt,0,2))&&(bt.length===2||(et=V(bt,2))==="/"||et==="\\"||et==="?"||et==="#")},Ke=function(bt){return bt==="."||ue(bt)==="%2e"},st=function(bt){return bt=ue(bt),bt===".."||bt==="%2e."||bt===".%2e"||bt==="%2e%2e"},Tt={},Yt={},Oe={},Fe={},Be={},mt={},Dt={},se={},gt={},tr={},Ht={},Ut={},cr={},Ze={},pt={},kt={},or={},$t={},vr={},Or={},jr={},qt=function(bt,et,Ue){var Ne=S(bt),rt,jt,Nt;if(et){if(jt=this.parse(Ne),jt)throw new G(jt);this.searchParams=null}else{if(Ue!==void 0&&(rt=new qt(Ue,!0)),jt=this.parse(Ne,null,rt),jt)throw new G(jt);Nt=B(new M),Nt.bindURL(this),this.searchParams=Nt}};qt.prototype={type:"URL",parse:function(bt,et,Ue){var Ne=this,rt=et||Tt,jt=0,Nt="",gr=!1,yr=!1,Ur=!1,_n,ir,Me,Dr;for(bt=S(bt),et||(Ne.scheme="",Ne.username="",Ne.password="",Ne.host=null,Ne.port=null,Ne.path=[],Ne.query=null,Ne.fragment=null,Ne.cannotBeABaseURL=!1,bt=k(bt,St,""),bt=k(bt,wt,"$1")),bt=k(bt,Ie,""),_n=x(bt);jt<=_n.length;){switch(ir=_n[jt],rt){case Tt:if(ir&&K(it,ir))Nt+=ue(ir),rt=Yt;else{if(et)return le;rt=Oe;continue}break;case Yt:if(ir&&(K(_t,ir)||ir==="+"||ir==="-"||ir==="."))Nt+=ue(ir);else if(ir===":"){if(et&&(Ne.isSpecial()!==h(Ee,Nt)||Nt==="file"&&(Ne.includesCredentials()||Ne.port!==null)||Ne.scheme==="file"&&!Ne.host))return;if(Ne.scheme=Nt,et){Ne.isSpecial()&&Ee[Ne.scheme]===Ne.port&&(Ne.port=null);return}Nt="",Ne.scheme==="file"?rt=Ze:Ne.isSpecial()&&Ue&&Ue.scheme===Ne.scheme?rt=Fe:Ne.isSpecial()?rt=se:_n[jt+1]==="/"?(rt=Be,jt++):(Ne.cannotBeABaseURL=!0,J(Ne.path,""),rt=vr)}else{if(et)return le;Nt="",rt=Oe,jt=0;continue}break;case Oe:if(!Ue||Ue.cannotBeABaseURL&&ir!=="#")return le;if(Ue.cannotBeABaseURL&&ir==="#"){Ne.scheme=Ue.scheme,Ne.path=g(Ue.path),Ne.query=Ue.query,Ne.fragment="",Ne.cannotBeABaseURL=!0,rt=jr;break}rt=Ue.scheme==="file"?Ze:mt;continue;case Fe:if(ir==="/"&&_n[jt+1]==="/")rt=gt,jt++;else{rt=mt;continue}break;case Be:if(ir==="/"){rt=tr;break}else{rt=$t;continue}case mt:if(Ne.scheme=Ue.scheme,ir===qe)Ne.username=Ue.username,Ne.password=Ue.password,Ne.host=Ue.host,Ne.port=Ue.port,Ne.path=g(Ue.path),Ne.query=Ue.query;else if(ir==="/"||ir==="\\"&&Ne.isSpecial())rt=Dt;else if(ir==="?")Ne.username=Ue.username,Ne.password=Ue.password,Ne.host=Ue.host,Ne.port=Ue.port,Ne.path=g(Ue.path),Ne.query="",rt=Or;else if(ir==="#")Ne.username=Ue.username,Ne.password=Ue.password,Ne.host=Ue.host,Ne.port=Ue.port,Ne.path=g(Ue.path),Ne.query=Ue.query,Ne.fragment="",rt=jr;else{Ne.username=Ue.username,Ne.password=Ue.password,Ne.host=Ue.host,Ne.port=Ue.port,Ne.path=g(Ue.path),Ne.path.length--,rt=$t;continue}break;case Dt:if(Ne.isSpecial()&&(ir==="/"||ir==="\\"))rt=gt;else if(ir==="/")rt=tr;else{Ne.username=Ue.username,Ne.password=Ue.password,Ne.host=Ue.host,Ne.port=Ue.port,rt=$t;continue}break;case se:if(rt=gt,ir!=="/"||V(Nt,jt+1)!=="/")continue;jt++;break;case gt:if(ir!=="/"&&ir!=="\\"){rt=tr;continue}break;case tr:if(ir==="@"){gr&&(Nt="%40"+Nt),gr=!0,Me=x(Nt);for(var on=0;on65535)return ze;Ne.port=Ne.isSpecial()&&Mn===Ee[Ne.scheme]?null:Mn,Nt=""}if(et)return;rt=or;continue}else return ze;break;case Ze:if(Ne.scheme="file",ir==="/"||ir==="\\")rt=pt;else if(Ue&&Ue.scheme==="file")switch(ir){case qe:Ne.host=Ue.host,Ne.path=g(Ue.path),Ne.query=Ue.query;break;case"?":Ne.host=Ue.host,Ne.path=g(Ue.path),Ne.query="",rt=Or;break;case"#":Ne.host=Ue.host,Ne.path=g(Ue.path),Ne.query=Ue.query,Ne.fragment="",rt=jr;break;default:Je(Q(g(_n,jt),""))||(Ne.host=Ue.host,Ne.path=g(Ue.path),Ne.shortenPath()),rt=$t;continue}else{rt=$t;continue}break;case pt:if(ir==="/"||ir==="\\"){rt=kt;break}Ue&&Ue.scheme==="file"&&!Je(Q(g(_n,jt),""))&&(dt(Ue.path[0],!0)?J(Ne.path,Ue.path[0]):Ne.host=Ue.host),rt=$t;continue;case kt:if(ir===qe||ir==="/"||ir==="\\"||ir==="?"||ir==="#"){if(!et&&dt(Nt))rt=$t;else if(Nt===""){if(Ne.host="",et)return;rt=or}else{if(Dr=Ne.parseHost(Nt),Dr)return Dr;if(Ne.host==="localhost"&&(Ne.host=""),et)return;Nt="",rt=or}continue}else Nt+=ir;break;case or:if(Ne.isSpecial()){if(rt=$t,ir!=="/"&&ir!=="\\")continue}else if(!et&&ir==="?")Ne.query="",rt=Or;else if(!et&&ir==="#")Ne.fragment="",rt=jr;else if(ir!==qe&&(rt=$t,ir!=="/"))continue;break;case $t:if(ir===qe||ir==="/"||ir==="\\"&&Ne.isSpecial()||!et&&(ir==="?"||ir==="#")){if(st(Nt)?(Ne.shortenPath(),ir!=="/"&&!(ir==="\\"&&Ne.isSpecial())&&J(Ne.path,"")):Ke(Nt)?ir!=="/"&&!(ir==="\\"&&Ne.isSpecial())&&J(Ne.path,""):(Ne.scheme==="file"&&!Ne.path.length&&dt(Nt)&&(Ne.host&&(Ne.host=""),Nt=V(Nt,0)+":"),J(Ne.path,Nt)),Nt="",Ne.scheme==="file"&&(ir===qe||ir==="?"||ir==="#"))for(;Ne.path.length>1&&Ne.path[0]==="";)Z(Ne.path);ir==="?"?(Ne.query="",rt=Or):ir==="#"&&(Ne.fragment="",rt=jr)}else Nt+=de(ir,tt);break;case vr:ir==="?"?(Ne.query="",rt=Or):ir==="#"?(Ne.fragment="",rt=jr):ir!==qe&&(Ne.path[0]+=de(ir,ye));break;case Or:!et&&ir==="#"?(Ne.fragment="",rt=jr):ir!==qe&&(ir==="'"&&Ne.isSpecial()?Ne.query+="%27":ir==="#"?Ne.query+="%23":Ne.query+=de(ir,ye));break;case jr:ir!==qe&&(Ne.fragment+=de(ir,Ce));break}jt++}},parseHost:function(bt){var et,Ue,Ne;if(V(bt,0)==="["){if(V(bt,bt.length-1)!=="]"||(et=Le(ee(bt,1,-1)),!et))return He;this.host=et}else if(this.isSpecial()){if(bt=O(bt),K(ot,bt)||(et=vt(bt),et===null))return He;this.host=et}else{if(K(lt,bt))return He;for(et="",Ue=x(bt),Ne=0;Ne1?arguments[1]:void 0,rt=T(Ue,new qt(et,!1,Ne));r||(Ue.href=rt.serialize(),Ue.origin=rt.getOrigin(),Ue.protocol=rt.getProtocol(),Ue.username=rt.getUsername(),Ue.password=rt.getPassword(),Ue.host=rt.getHost(),Ue.hostname=rt.getHostname(),Ue.port=rt.getPort(),Ue.pathname=rt.getPathname(),Ue.search=rt.getSearch(),Ue.searchParams=rt.getSearchParams(),Ue.hash=rt.getHash())},Wt=Ft.prototype,Qt=function(bt,et){return{get:function(){return D(this)[bt]()},set:et&&function(Ue){return D(this)[et](Ue)},configurable:!0,enumerable:!0}};if(r&&(o(Wt,"href",Qt("serialize","setHref")),o(Wt,"origin",Qt("getOrigin")),o(Wt,"protocol",Qt("getProtocol","setProtocol")),o(Wt,"username",Qt("getUsername","setUsername")),o(Wt,"password",Qt("getPassword","setPassword")),o(Wt,"host",Qt("getHost","setHost")),o(Wt,"hostname",Qt("getHostname","setHostname")),o(Wt,"port",Qt("getPort","setPort")),o(Wt,"pathname",Qt("getPathname","setPathname")),o(Wt,"search",Qt("getSearch","setSearch")),o(Wt,"searchParams",Qt("getSearchParams")),o(Wt,"hash",Qt("getHash","setHash"))),c(Wt,"toJSON",function(){return D(this).serialize()},{enumerable:!0}),c(Wt,"toString",function(){return D(this).serialize()},{enumerable:!0}),j){var xr=j.createObjectURL,Er=j.revokeObjectURL;xr&&c(Ft,"createObjectURL",s(xr,j)),Er&&c(Ft,"revokeObjectURL",s(Er,j))}I(Ft,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:Ft})},25204:function(i,f,e){"use strict";e(13588)},47803:function(i,f,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,f,e){"use strict";e.d(f,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,f,e){"use strict";e.d(f,{Z:function(){return r}});var t=e(89878);function r(n,a,s){return a=(0,t.Z)(a),a in n?Object.defineProperty(n,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[a]=s,n}},38329:function(i,f,e){"use strict";e.d(f,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(s[c]=n[c]);return s}function r(n,a){if(n==null)return{};var s=t(n,a),u,c;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(s[u]=n[u])}return s}},87296:function(i,f,e){"use strict";e.d(f,{Z:function(){return s}});var t=e(73825);function r(u,c){var o=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(o!=null){var d,h,p,x,g=[],P=!0,O=!1;try{if(p=(o=o.call(u)).next,c===0){if(Object(o)!==o)return;P=!1}else for(;!(P=(d=p.call(o)).done)&&(g.push(d.value),g.length!==c);P=!0);}catch(S){O=!0,h=S}finally{try{if(!P&&o.return!=null&&(x=o.return(),Object(x)!==x))return}finally{if(O)throw h}}return g}}var n=e(99227),a=e(66160);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,a.Z)()}},89878:function(i,f,e){"use strict";e.d(f,{Z:function(){return n}});var t=e(8616);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function n(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},8616:function(i,f,e){"use strict";e.d(f,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},99227:function(i,f,e){"use strict";e.d(f,{Z:function(){return r}});function t(n,a){(a==null||a>n.length)&&(a=n.length);for(var s=0,u=new Array(a);sr.length)&&(n=r.length);for(var a=0,s=Array(n);a3?(le=it===ce)&&(J=He[(F=He[4])?5:(F=3,3)],He[4]=He[5]=p):He[0]<=ze&&((le=ie<2&&zece||ce>it)&&(He[4]=ie,He[5]=ce,ee.n=it,F=0))}if(le||ie>1)return I;throw X=!0,ce}return function(ie,ce,le){if(k>1)throw TypeError("Generator is already running");for(X&&ce===1&&ue(ce,le),F=ce,J=le;(x=F<2?p:J)||!X;){W||(F?F<3?(F>1&&(ee.n=-1),ue(F,J)):ee.n=J:ee.v=J);try{if(k=2,W){if(F||(ie="next"),x=W[ie]){if(!(x=x.call(W,J)))throw TypeError("iterator result is not an object");if(!x.done)return x;J=x.value,F<2&&(F=0)}else F===1&&(x=W.return)&&x.call(W),F<2&&(J=TypeError("The iterator does not provide a '"+ie+"' method"),F=1);W=p}else if((x=(X=ee.n<0)?J:V.call(K,ee))!==I)break}catch(He){W=p,F=1,J=He}finally{k=1}}return{value:x,done:X}}}(B,G,H),!0),L}var I={};function E(){}function A(){}function R(){}x=Object.getPrototypeOf;var T=[][P]?x(x([][P]())):(r(x={},P,function(){return this}),x),D=R.prototype=E.prototype=Object.create(T);function M(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,R):(B.__proto__=R,r(B,O,"GeneratorFunction")),B.prototype=Object.create(D),B}return A.prototype=R,r(D,"constructor",R),r(R,"constructor",A),A.displayName="GeneratorFunction",r(R,O,"GeneratorFunction"),r(D),r(D,O,"Generator"),r(D,P,function(){return this}),r(D,"toString",function(){return"[object Generator]"}),(n=function(){return{w:S,m:M}})()}function a(p,x){function g(O,S,I,E){try{var A=p[O](S),R=A.value;return R instanceof t?x.resolve(R.v).then(function(T){g("next",T,I,E)},function(T){g("throw",T,I,E)}):x.resolve(R).then(function(T){A.value=T,I(A)},function(T){return g("throw",T,I,E)})}catch(T){E(T)}}var P;this.next||(r(a.prototype),r(a.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(O,S,I){function E(){return new x(function(A,R){g(O,I,A,R)})}return P=P?P.then(E,E):E()},!0)}function s(p,x,g,P,O){return new a(n().w(p,x,g,P),O||Promise)}function u(p,x,g,P,O){var S=s(p,x,g,P,O);return S.next().then(function(I){return I.done?I.value:S.next()})}function c(p){var x=Object(p),g=[];for(var P in x)g.unshift(P);return function O(){for(;g.length;)if((P=g.pop())in x)return O.value=P,O.done=!1,O;return O.done=!0,O}}var o=e(76190);function d(p){if(p!=null){var x=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],g=0;if(x)return x.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&g>=p.length&&(p=void 0),{value:p&&p[g++],done:!p}}}}throw new TypeError((0,o.Z)(p)+" is not iterable")}function h(){"use strict";var p=n(),x=p.m(h),g=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function P(I){var E=typeof I=="function"&&I.constructor;return!!E&&(E===g||(E.displayName||E.name)==="GeneratorFunction")}var O={throw:1,return:2,break:3,continue:3};function S(I){var E,A;return function(R){E||(E={stop:function(){return A(R.a,2)},catch:function(){return R.v},abrupt:function(D,M){return A(R.a,O[D],M)},delegateYield:function(D,M,B){return E.resultName=M,A(R.d,d(D),B)},finish:function(D){return A(R.f,D)}},A=function(D,M,B){R.p=E.prev,R.n=E.next;try{return D(M,B)}finally{E.next=R.n}}),E.resultName&&(E[E.resultName]=R.v,E.resultName=void 0),E.sent=R.v,E.next=R.n;try{return I.call(this,E)}finally{R.p=E.prev,R.n=E.next}}}return(h=function(){return{wrap:function(A,R,T,D){return p.w(S(A),R,T,D&&D.reverse())},isGeneratorFunction:P,mark:p.m,awrap:function(A,R){return new t(A,R)},AsyncIterator:a,async:function(A,R,T,D,M){return(P(R)?s:u)(S(A),R,T,D,M)},keys:c,values:d}})()}},18773:function(i,f,e){"use strict";e.d(f,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,s){return a.__proto__=s,a},t(r,n)}},42978:function(i,f,e){"use strict";e.d(f,{Z:function(){return s}});var t=e(42028);function r(u,c){var o=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(o!=null){var d,h,p,x,g=[],P=!0,O=!1;try{if(p=(o=o.call(u)).next,c===0){if(Object(o)!==o)return;P=!1}else for(;!(P=(d=p.call(o)).done)&&(g.push(d.value),g.length!==c);P=!0);}catch(S){O=!0,h=S}finally{try{if(!P&&o.return!=null&&(x=o.return(),Object(x)!==x))return}finally{if(O)throw h}}return g}}var n=e(3208),a=e(23317);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,a.Z)()}},66712:function(i,f,e){"use strict";e.d(f,{Z:function(){return s}});var t=e(42028),r=e(7553),n=e(3208),a=e(23317);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,a.Z)()}},94480:function(i,f,e){"use strict";e.d(f,{Z:function(){return u}});var t=e(97047);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(7553),a=e(3208);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(c){return r(c)||(0,n.Z)(c)||(0,a.Z)(c)||s()}},88058:function(i,f,e){"use strict";e.d(f,{Z:function(){return n}});var t=e(76190);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function n(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},76190:function(i,f,e){"use strict";e.d(f,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},3208:function(i,f,e){"use strict";e.d(f,{Z:function(){return r}});var t=e(97047);function r(n,a){if(n){if(typeof n=="string")return(0,t.Z)(n,a);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,a):void 0}}},5529:function(i,f,e){"use strict";e.d(f,{Z:function(){return u}});var t=e(58289),r=e(18773);function n(c){try{return Function.toString.call(c).indexOf("[native code]")!==-1}catch(o){return typeof c=="function"}}var a=e(75538);function s(c,o,d){if((0,a.Z)())return Reflect.construct.apply(null,arguments);var h=[null];h.push.apply(h,o);var p=new(c.bind.apply(c,h));return d&&(0,r.Z)(p,d.prototype),p}function u(c){var o=typeof Map=="function"?new Map:void 0;return u=function(h){if(h===null||!n(h))return h;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(o!==void 0){if(o.has(h))return o.get(h);o.set(h,p)}function p(){return s(h,arguments,(0,t.Z)(this).constructor)}return p.prototype=Object.create(h.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),(0,r.Z)(p,h)},u(c)}},53280:function(i,f,e){"use strict";e.d(f,{D:function(){return r}});function t(n,a,s){var u=s||{},c=u.noTrailing,o=c===void 0?!1:c,d=u.noLeading,h=d===void 0?!1:d,p=u.debounceMode,x=p===void 0?void 0:p,g,P=!1,O=0;function S(){g&&clearTimeout(g)}function I(A){var R=A||{},T=R.upcomingOnly,D=T===void 0?!1:T;S(),P=!D}function E(){for(var A=arguments.length,R=new Array(A),T=0;Tn?h?(O=Date.now(),o||(g=setTimeout(x?j:B,n))):B():o!==!0&&(g=setTimeout(x?j:B,x===void 0?n-M:n))}return E.cancel=I,E}function r(n,a,s){var u=s||{},c=u.atBegin,o=c===void 0?!1:c;return t(n,a,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var f=__webpack_module_cache__[i];if(f!==void 0)return f.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var f=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(f,{a:f}),f}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},f;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};f=f||[null,i({}),i([]),i(i)];for(var a=t&2&&e;typeof a=="object"&&!~f.indexOf(a);a=i(a))Object.getOwnPropertyNames(a).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,f){for(var e in f)__webpack_require__.o(f,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:f[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(f,e){return __webpack_require__.f[e](i,f),f},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"d318f155",65:"a0df2a8b",67:"c322316f",81:"961218eb",109:"c2900097",195:"1bcc7bcc",264:"e08e4d15",265:"ed1970a3",292:"754e3df2",310:"31f7dac1",316:"1f60ada6",337:"5ee6bd99",342:"1514ecc3",354:"d4d139cf",435:"738d6a2d",479:"743ea42c",485:"eb6dfd03",508:"c6a3fbd1",532:"a0b9df09",533:"47b9df2e",547:"352f455b",556:"10ba24c2",559:"76c8a732",576:"8c386aae",594:"1344fa58",629:"44a1d9a5",643:"dca01dd4",671:"4a609b8d",680:"673a720d",700:"cf7a67e3",737:"8a3a6968",741:"ac5fd360",745:"c108ba98",799:"9b805ffa",869:"f2fd3be7",895:"e4b04907",919:"30e9293b",921:"4eff2647",928:"bf36ca71",981:"24da50c7",1006:"533282d2",1025:"191ab01d",1043:"7ed293d7",1045:"ebe9745f",1048:"ae6c25b7",1070:"f7835d8c",1144:"c90eccaf",1148:"24e20fb8",1150:"3d41c7be",1154:"8cb80842",1211:"1365fe70",1253:"f6c5b96d",1257:"94de9c94",1265:"dcab9de8",1274:"5f6ea65a",1276:"61697274",1343:"b9b76971",1344:"f114ee2e",1404:"ab061ec2",1416:"35ddb58a",1423:"35d2b359",1427:"37fecfb1",1443:"4986182f",1450:"ee1dc8c2",1461:"1d45eec7",1462:"fcf08abc",1470:"1f54f3a2",1475:"a4d63b25",1482:"dad8cdea",1512:"e204e01b",1520:"210c64fe",1545:"42cfb1b7",1578:"fc6e71ea",1581:"4b332319",1582:"bec1cc8c",1646:"e6e27b60",1657:"2d842f0c",1660:"bef3b6d1",1674:"1376b9a8",1702:"9872b693",1713:"ccb8a231",1717:"3888a1d4",1727:"6c66d0ee",1783:"b220ec96",1799:"6d1f9576",1831:"2daacb8f",1836:"1a353a32",1855:"fcbfbaba",1880:"43e79b09",1939:"a457636b",1953:"5f98dbd0",1962:"9dbd34d8",1994:"e701d8b0",2011:"59d51f98",2045:"85798c68",2076:"7bac769e",2102:"9e4446ef",2141:"7a868961",2216:"723d90ab",2240:"14c99f49",2249:"f4830452",2254:"aa92e7cb",2300:"ec855565",2303:"2da36da3",2306:"0a9ab511",2307:"40be6692",2338:"91efdbe7",2339:"00ffdbab",2341:"b323337b",2386:"192e235c",2396:"ad7467a0",2404:"a443f58e",2412:"4449322d",2425:"74322d46",2429:"6075a923",2443:"d5a3b3ca",2476:"4bda0d62",2494:"68080a87",2501:"3e3a38a0",2524:"356e18ed",2529:"6bb4ed96",2538:"de4a3723",2539:"61f3ca5a",2548:"91418d5f",2570:"394d1d56",2594:"e87d3761",2603:"75d7d956",2656:"b5299570",2659:"9cf2356a",2707:"5fd13e61",2806:"b2255777",2819:"dd1a7ce7",2823:"28fd3224",2826:"e94832e3",2829:"0985a658",2837:"54a82605",2865:"58c97979",2875:"5d2db876",2884:"b3cebfe0",2969:"ab3357d7",2983:"bfdabf75",3006:"434c627d",3133:"9bf3f89c",3141:"8b1fa1df",3157:"e91222d6",3183:"d067871f",3198:"9ca384b2",3212:"f6855474",3220:"9bb2e854",3225:"0193a80d",3247:"ddd79e3b",3260:"970fc1e9",3282:"c3877f87",3317:"f32d2376",3332:"e39d98c1",3355:"3330fdb2",3356:"30235676",3391:"e9c87176",3433:"4acff52b",3442:"1c57aa7d",3443:"e3996834",3447:"39435847",3451:"bdd99884",3496:"5683df9f",3509:"54816ba7",3550:"3dc83156",3581:"9504e50a",3585:"8d5e8084",3589:"e49a34c1",3665:"d16b699f",3668:"17153a2b",3673:"3b7fd06d",3685:"d13d285b",3690:"4e7a8523",3697:"481a10d9",3747:"9f1d4ae3",3754:"74aeec68",3777:"d5b0f2f1",3784:"4d593a0b",3805:"9dbcb95e",3841:"92501a50",3862:"0d1aa94b",3873:"4a1ca5b9",3885:"f87f7f15",3897:"23dc644e",3910:"e2815072",3935:"7d05a4dd",3951:"a20a471e",3987:"5cecd51b",4014:"27a8e97c",4017:"b6fd3238",4030:"aed7ad64",4056:"9d088106",4058:"8b259908",4078:"90b17e64",4088:"6f7d1078",4093:"c337cc19",4105:"5db26bc9",4144:"8811f4df",4164:"3e1db48a",4216:"30bbf2df",4217:"55ce61b1",4227:"70dcb574",4259:"5b4494dd",4264:"dfdf3fb2",4339:"3c17fc7c",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"d7ce6506",4492:"0acea105",4496:"46406174",4498:"464ca2b5",4504:"c9f4f890",4514:"45e4c388",4520:"97419680",4546:"09ae9345",4565:"bf3809ec",4572:"f466084f",4599:"546e508c",4601:"9a84a5dd",4610:"327566ae",4621:"0536b926",4628:"ece2c60c",4662:"40b8b567",4685:"c33f1528",4715:"7683cd1b",4736:"0ab0b82f",4741:"887290c6",4757:"75e043d9",4766:"5e75a05c",4770:"023d71e5",4790:"619413e4",4795:"43d1e8c2",4797:"a24e92db",4800:"bbb9bd38",4849:"7694e103",4850:"1edda4b7",4862:"1f580b21",4884:"5127189f",4889:"12f4c2c1",4928:"b5dc087e",4973:"255e9185",4994:"bb58edbb",5022:"ebaecde9",5043:"108b3622",5048:"a2ca3341",5060:"85dafcc6",5096:"deee37e6",5111:"a2f4a616",5125:"42ed5d83",5148:"9826a88e",5176:"8a1e6935",5179:"cc45ad9d",5186:"a4218e9b",5191:"b1804c37",5205:"049b954a",5238:"ecbbbb56",5290:"5dabcdc2",5297:"3cdae7bd",5319:"b2dd0f42",5321:"1163c84e",5335:"4341ef69",5354:"7ae70604",5357:"7d5bdb94",5359:"f517a9ae",5382:"33f9a488",5402:"69e77069",5416:"454536b7",5434:"38b302a6",5450:"e9f47a01",5470:"682ea389",5494:"d89549c4",5518:"1e66efc9",5549:"0d7d356e",5572:"14725bce",5573:"5b99cfd0",5599:"0875f6be",5624:"500f4c38",5631:"e00d3d36",5650:"f1d4e35e",5679:"4a090bef",5705:"e088c40d",5729:"733940e2",5741:"1772417d",5764:"e0d7e586",5775:"1c18ca25",5786:"23bf3f87",5798:"2124b46f",5816:"86b1e24a",5825:"96352c30",5876:"5eded409",5888:"60daeed5",5891:"e23974e7",5895:"9e3515c3",5902:"5c6b2329",5915:"8c1922e4",5927:"2aa01c8e",5992:"3b5d49c6",6029:"346dadf6",6034:"7feac8fd",6045:"d268f87f",6047:"3ce45acd",6052:"7aa1a4ba",6063:"ad655e05",6069:"1a294603",6126:"99519171",6127:"c66a009f",6170:"c37cfe11",6265:"b74edff4",6270:"8a29abb7",6277:"d281341a",6328:"7f550289",6366:"c20c7156",6378:"7f3a946a",6411:"2a270776",6434:"031b30cf",6444:"c3476116",6452:"b03af4ef",6531:"82448d1d",6541:"4e284b72",6583:"244924ca",6587:"c6c6e85d",6634:"a1656a85",6651:"dd385de2",6685:"6f79c083",6729:"8ee88d06",6741:"2d1c8f45",6758:"02c0daf3",6774:"59d4d618",6784:"fd18c81c",6788:"217d2377",6796:"73e2700c",6805:"45dbc432",6820:"65ecda91",6845:"e8db5dee",6882:"ce7c4813",6883:"b8fe78e3",6904:"99d17d1a",6913:"fb1c6453",6963:"8763dcea",6982:"1922c6af",7008:"2e663d1a",7042:"9c98daab",7043:"53b43919",7045:"de42156a",7046:"181627cd",7058:"880b0309",7062:"24691175",7084:"46ccce72",7156:"e7466006",7172:"a18865ce",7178:"0dc2fe8f",7182:"85a9543f",7242:"fa707374",7260:"894f24f7",7331:"2e27a23b",7333:"6440905a",7365:"1005464f",7395:"f5def0cb",7460:"7a64f751",7477:"85a13e85",7482:"6f3407a7",7527:"e6aae8f0",7545:"079ccece",7560:"72a934ec",7573:"97f85034",7589:"da30eb78",7591:"c8233ce9",7614:"186bb5f9",7622:"c6b765f5",7686:"4fcec9f9",7706:"c2a79e40",7806:"738691aa",7852:"df52e2af",7855:"8c01cb9e",7857:"0f2f4195",7878:"f8af5b6f",7883:"e24f7da8",7884:"8f85b9dd",7922:"dc79289d",7964:"29aed9a1",8014:"f57ac3a1",8062:"c8f61b8e",8072:"8c903e1f",8077:"096453a9",8085:"b4b05e94",8089:"d536b13a",8137:"e21e19f0",8143:"06e96e46",8155:"09f9f71e",8161:"83c5fa9a",8223:"247f0842",8237:"9f78439d",8241:"5523ed13",8302:"f935aeeb",8307:"5e56785f",8319:"68605b31",8340:"d7282ef7",8350:"07df8a75",8351:"8f363b6d",8398:"e083323c",8431:"befbf757",8435:"3d05c4b5",8447:"5fdab722",8517:"eeff2df9",8522:"bc284cfb",8561:"333e8ec9",8563:"872d92ab",8624:"3081b8bc",8634:"0543d1c0",8639:"d7179add",8665:"0f94f289",8688:"e13dd436",8689:"101862e1",8723:"5039a903",8737:"ce7dad23",8776:"0ad26240",8782:"3e8c1406",8787:"6a0790d9",8795:"aac5ca39",8797:"731bd592",8821:"73b11c60",8823:"d5a75263",8827:"59952dcb",8842:"9f25a3e2",8866:"9ae1fd30",8882:"4df22c29",8885:"175a729e",8898:"d002bcd8",8909:"157c96fe",8920:"7f82440c",8963:"790aecdd",8982:"b21f140a",8999:"7a6657a2",9076:"fdd3b486",9104:"bbcb2345",9133:"325e1743",9205:"f7b5b414",9215:"1cd9bb5c",9252:"0d791a59",9260:"f163e60e",9332:"7652b47f",9360:"849b7843",9366:"3ab6e0a6",9391:"0e6e46d4",9404:"9fcc3d3e",9408:"d03f7091",9416:"d16f4890",9472:"771af08f",9487:"ca0d2432",9489:"f8eeffc9",9507:"27888069",9554:"ed358e7b",9559:"4ea33181",9590:"ce5f1343",9595:"62cc924d",9647:"89906bf9",9649:"c41dd75d",9674:"50d84d49",9677:"3c34d038",9695:"6fd34584",9715:"78e36094",9716:"8297dd59",9785:"597581bf",9788:"4528373f",9890:"3b7770e7",9891:"c5e18779",9895:"b8e31ff2",9921:"7f040247",9922:"fb7e7f9d",9928:"5989f5e0",9944:"ec88d720",9950:"74f6dfb2",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"733ddb1e",65:"a6b3e531",67:"3d8ed847",109:"b9c23c40",195:"82e7f291",264:"5fd9b3fc",265:"d9248a47",292:"d7ff424c",310:"e8180a63",337:"fbb64c0c",342:"c968c291",479:"1bb3e420",485:"d63578fe",508:"9e254fc7",532:"c12d893f",533:"6660b6b8",547:"5581debc",556:"0c2aa7e3",559:"c49aa5ba",576:"8bf77b42",643:"d98420ff",680:"e67e9e01",700:"f8df0444",737:"72eaccaa",745:"db91daf0",799:"d78054b7",869:"af851eb7",895:"ce8634e8",919:"9796c16e",921:"b09f4288",928:"3745b2d1",1006:"cd44886b",1025:"a38e117e",1043:"e8c0878b",1045:"53865454",1048:"64fc11e1",1070:"e67e9e01",1148:"754fff63",1150:"bad483bc",1211:"9bf643f5",1253:"fc16cdfc",1257:"7b8c452c",1265:"cc8d4613",1276:"bbc6eeec",1343:"ef1d1155",1344:"f333da3b",1404:"03cdfb68",1416:"96b9d4c9",1423:"0534f297",1427:"c2df60a3",1443:"275581f6",1450:"63954a12",1461:"0eb2d899",1470:"afcb0f79",1475:"82cbf3b5",1482:"f9f88e34",1512:"f3653a35",1520:"f7300d0e",1545:"f145eeb1",1578:"955b54c7",1581:"144e8627",1582:"ba721023",1657:"1e9392de",1674:"fdbc1e05",1702:"522451c1",1713:"b98dd666",1717:"9017801c",1727:"c75b5258",1783:"e817e9b2",1831:"0c9ded6e",1836:"5f0d3f7f",1855:"a88676c2",1880:"0e2dfc83",1939:"283a4feb",1953:"45b8c3e9",1962:"84e145fa",1994:"aba61e18",2045:"dcfad42d",2076:"b0ffede5",2102:"08e28f8d",2141:"5eb2f330",2216:"54bc4b74",2240:"e7cce869",2254:"64cff177",2303:"37e0bd85",2306:"9c2945de",2307:"b2c54321",2338:"bd5e4b22",2339:"ec14ed87",2396:"afb61ef8",2404:"d9aa211d",2412:"01c633d8",2425:"cc6591f1",2443:"26d89d08",2476:"cf85a190",2501:"2441982c",2524:"b7a652de",2529:"c717395e",2539:"6ea6bf03",2548:"75182034",2570:"505bc8e4",2603:"3745b2d1",2659:"f6071a36",2707:"cabcb16e",2806:"f3508476",2819:"82c67c32",2823:"a13b21fb",2826:"c8c0993d",2829:"4605b854",2865:"6ef3cf6b",2875:"5b3114cd",2884:"1527b642",2983:"e8b2821c",3006:"7fce4e74",3141:"caf6f1b7",3157:"0156f0b0",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"f670cb5d",3260:"a01141ff",3282:"0f132e8b",3317:"390325ea",3332:"e293280f",3355:"ed85955d",3356:"12c7785d",3391:"89554b70",3433:"6e5e92c0",3442:"7216725b",3443:"9796c16e",3447:"1653d818",3451:"e3a31387",3496:"113f7cba",3509:"70043ca5",3581:"68faac46",3585:"5f288e7b",3665:"5014d82d",3668:"ba6bd19f",3673:"7f79db7c",3685:"5356e3de",3747:"a0b98647",3784:"05ecae20",3873:"93dce8e3",3897:"7f2c6d75",3910:"658d457f",3935:"d606974b",3951:"1893932c",4030:"f4507d6d",4056:"10eacfff",4078:"aa54548e",4093:"e06c8e3b",4105:"2872f595",4144:"f10aa199",4164:"f85061e6",4216:"3745b2d1",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"ae8a189b",4339:"f287a358",4449:"e68d8d58",4492:"d3f2f846",4496:"dcb45324",4498:"883b079a",4504:"1c1946c2",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"b424cfb7",4601:"3c8ac557",4610:"687005a6",4621:"30ee1340",4662:"1d6091d1",4715:"b440b9f8",4736:"bc8ffdeb",4741:"f15d0dd4",4757:"73b754d2",4766:"b5df5a8e",4770:"dafd4d8c",4795:"9e0c6059",4800:"f50302a4",4849:"74bc5105",4862:"301c8d3c",4884:"bd293d3b",4889:"6f432840",4928:"3ec9e47f",4973:"129c56e8",4994:"69d7ba77",5022:"81b1b86b",5043:"4d348909",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"aa8ceb84",5176:"9c49e7fa",5179:"21f01751",5186:"c00b7414",5191:"bffa1f71",5238:"2682d06e",5297:"3a2685a1",5319:"d7f8f334",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b228de34",5382:"dd511751",5402:"53eb2bc8",5470:"c33b95a0",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"baff77f5",5624:"a7d44e48",5650:"f8f63f4b",5705:"df6bf207",5729:"f6e4f676",5741:"b0ed8bef",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"36e1500a",5825:"1d16fdbc",5888:"215b0119",5891:"6339a112",5895:"d0f5273a",5902:"c30e5df2",5915:"bc9c3e69",5927:"64cbf3c5",5992:"a5625ec7",6029:"a31ddbcc",6052:"557c4435",6063:"a55b8867",6069:"33dd1cdb",6127:"66ea13ef",6265:"e6efd1b4",6270:"53b8e0f9",6277:"1767d631",6328:"1d366bbd",6366:"079fc2d8",6434:"3e26e73c",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"3f6c9121",6587:"9c49e7fa",6634:"b42eca3f",6651:"b07fe216",6685:"95e4d92a",6729:"376181a1",6741:"b838eb14",6758:"d08dc41f",6784:"1affe817",6788:"f26d377b",6796:"a591f5bc",6805:"a72f7fcf",6820:"1ac8b19c",6845:"a1154737",6882:"c2d2eada",6883:"227f3ddb",6904:"81f38392",6913:"4a62ce5c",6963:"84e145fa",6982:"2b2d234c",7008:"6befdb1d",7042:"9796c16e",7043:"d109402d",7045:"7d36736d",7046:"c7301ded",7058:"41bc5265",7062:"61f0b55a",7172:"3b787ec7",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"eb19edf0",7477:"66c58568",7482:"809f9009",7527:"e6a4bf5b",7545:"191174c0",7560:"d82e43ca",7589:"30a392cb",7614:"8e370373",7622:"f15adfe8",7806:"bd9accb9",7852:"e617f97c",7855:"092a3e3b",7857:"6071267c",7878:"2b521fde",7883:"f1b59553",7884:"749716d8",7922:"2e8e26c7",8014:"95f08f8b",8062:"8e384b9f",8072:"10958afc",8077:"4c2e0049",8085:"a8ac9463",8137:"66f37f26",8143:"b5c5b184",8155:"d345abd7",8237:"dacbeda9",8241:"bc9c2ad0",8302:"b3daeac3",8307:"677929c0",8319:"44f8355a",8398:"a909860d",8431:"244f47c8",8435:"d21bd652",8447:"5f846618",8517:"596dea44",8522:"1983b60f",8563:"2812cbfb",8634:"cbb7326a",8665:"c52575bc",8688:"f98a445e",8689:"0dc2d88b",8723:"a54bcc49",8782:"38a7e912",8787:"121de108",8795:"23231ec2",8797:"466ce893",8821:"f7d574a3",8823:"6afcaf56",8827:"bf1a4bac",8866:"088ba732",8882:"88d4f80b",8885:"de905169",8982:"8a75293a",8999:"42d19932",9076:"6a501148",9133:"8094ede3",9205:"1e43ebcb",9215:"f737e7e7",9332:"4cf64377",9360:"d2c3ac33",9366:"3f6c2582",9391:"59be6bd5",9404:"d8cf04f7",9408:"d3565b1a",9416:"b860d784",9472:"ff8c4206",9487:"3be6b9d9",9489:"ee2bb5b7",9507:"ffaae329",9590:"78d4289e",9595:"9796c16e",9647:"64a96ae9",9649:"5e708a2c",9674:"735c7616",9677:"2cb2931e",9695:"4fc082f0",9715:"7d3257ac",9716:"13664757",9785:"cfde2ff2",9788:"4459d92d",9890:"d61f2dfb",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,f){return Object.prototype.hasOwnProperty.call(i,f)}}(),function(){var i={};__webpack_require__.l=function(f,e,t,r){if(i[f]){i[f].push(e);return}var n,a;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;un?h?(O=Date.now(),o||(g=setTimeout(x?j:B,n))):B():o!==!0&&(g=setTimeout(x?j:B,x===void 0?n-M:n))}return E.cancel=I,E}function r(n,a,s){var u=s||{},c=u.atBegin,o=c===void 0?!1:c;return t(n,a,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var f=__webpack_module_cache__[i];if(f!==void 0)return f.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var f=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(f,{a:f}),f}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},f;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};f=f||[null,i({}),i([]),i(i)];for(var a=t&2&&e;typeof a=="object"&&!~f.indexOf(a);a=i(a))Object.getOwnPropertyNames(a).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,f){for(var e in f)__webpack_require__.o(f,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:f[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(f,e){return __webpack_require__.f[e](i,f),f},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"d318f155",65:"a0df2a8b",67:"1b9d3803",81:"961218eb",109:"c2900097",195:"1bcc7bcc",264:"e08e4d15",265:"ed1970a3",292:"754e3df2",310:"31f7dac1",316:"1f60ada6",337:"5ee6bd99",342:"11e38f1d",354:"d4d139cf",435:"738d6a2d",479:"743ea42c",485:"eb6dfd03",508:"c6a3fbd1",532:"a0b9df09",533:"47b9df2e",547:"352f455b",556:"10ba24c2",559:"76c8a732",576:"7dfe94a7",594:"1344fa58",629:"44a1d9a5",643:"dca01dd4",671:"4a609b8d",680:"673a720d",700:"cf7a67e3",737:"8a3a6968",741:"ac5fd360",745:"c108ba98",799:"9b805ffa",869:"f2fd3be7",895:"e4b04907",919:"30e9293b",921:"4eff2647",928:"bf36ca71",981:"24da50c7",1006:"533282d2",1025:"191ab01d",1043:"7ed293d7",1045:"ebe9745f",1048:"ae6c25b7",1070:"f7835d8c",1144:"c90eccaf",1148:"24e20fb8",1150:"3d41c7be",1154:"8cb80842",1211:"1365fe70",1253:"f6c5b96d",1257:"94de9c94",1265:"dcab9de8",1274:"5f6ea65a",1276:"61697274",1343:"b9b76971",1344:"f114ee2e",1404:"ab061ec2",1416:"35ddb58a",1423:"35d2b359",1427:"37fecfb1",1443:"4986182f",1450:"ee1dc8c2",1461:"1d45eec7",1462:"fcf08abc",1470:"1f54f3a2",1475:"a4d63b25",1482:"dad8cdea",1512:"e204e01b",1520:"210c64fe",1545:"42cfb1b7",1578:"fc6e71ea",1581:"4b332319",1582:"bec1cc8c",1646:"e6e27b60",1657:"2d842f0c",1660:"bef3b6d1",1674:"1376b9a8",1702:"9872b693",1713:"ccb8a231",1717:"3888a1d4",1727:"6c66d0ee",1783:"b220ec96",1799:"6d1f9576",1831:"2daacb8f",1836:"1a353a32",1855:"fcbfbaba",1880:"43e79b09",1939:"a457636b",1953:"5f98dbd0",1962:"9dbd34d8",1994:"e701d8b0",2011:"59d51f98",2045:"85798c68",2076:"7bac769e",2102:"9e4446ef",2141:"7a868961",2216:"723d90ab",2240:"14c99f49",2249:"f4830452",2254:"aa92e7cb",2300:"ec855565",2303:"1c00db42",2306:"0a9ab511",2307:"40be6692",2338:"91efdbe7",2339:"00ffdbab",2341:"b323337b",2386:"192e235c",2396:"ad7467a0",2404:"a443f58e",2412:"4449322d",2425:"74322d46",2429:"6075a923",2443:"d5a3b3ca",2476:"4bda0d62",2494:"68080a87",2501:"3e3a38a0",2524:"356e18ed",2529:"6bb4ed96",2538:"de4a3723",2539:"61f3ca5a",2548:"91418d5f",2570:"394d1d56",2594:"e87d3761",2603:"75d7d956",2656:"b5299570",2659:"9cf2356a",2707:"5fd13e61",2806:"b2255777",2819:"16b41cd6",2823:"28fd3224",2826:"e94832e3",2829:"0985a658",2837:"54a82605",2865:"58c97979",2875:"5d2db876",2884:"3bb116d2",2969:"ab3357d7",2983:"bfdabf75",3006:"434c627d",3133:"9bf3f89c",3141:"8b1fa1df",3157:"e91222d6",3183:"d067871f",3198:"9ca384b2",3212:"f6855474",3220:"9bb2e854",3225:"0193a80d",3247:"1c1207d7",3260:"970fc1e9",3282:"c3877f87",3317:"f32d2376",3332:"b7e31604",3355:"3330fdb2",3356:"30235676",3391:"e9c87176",3433:"4acff52b",3442:"1c57aa7d",3443:"e3996834",3447:"39435847",3451:"bdd99884",3496:"5683df9f",3509:"54816ba7",3550:"3dc83156",3581:"9504e50a",3585:"8d5e8084",3589:"e49a34c1",3665:"d16b699f",3668:"17153a2b",3673:"3b7fd06d",3685:"d13d285b",3690:"4e7a8523",3697:"481a10d9",3747:"9f1d4ae3",3754:"74aeec68",3777:"d5b0f2f1",3784:"4d593a0b",3805:"9dbcb95e",3841:"92501a50",3862:"0d1aa94b",3873:"4a1ca5b9",3885:"f87f7f15",3897:"23dc644e",3910:"e2815072",3935:"7d05a4dd",3951:"a20a471e",3987:"5cecd51b",4014:"27a8e97c",4017:"b6fd3238",4030:"aed7ad64",4056:"9d088106",4058:"8b259908",4078:"90b17e64",4088:"6f7d1078",4093:"91f84371",4105:"5db26bc9",4144:"8811f4df",4164:"3e1db48a",4216:"30bbf2df",4217:"55ce61b1",4227:"70dcb574",4259:"5b4494dd",4264:"dfdf3fb2",4339:"3c17fc7c",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"a16ea20a",4492:"0acea105",4496:"46406174",4498:"464ca2b5",4504:"c9f4f890",4514:"45e4c388",4520:"97419680",4546:"09ae9345",4565:"bf3809ec",4572:"f466084f",4599:"546e508c",4601:"9a84a5dd",4610:"327566ae",4621:"0536b926",4628:"ece2c60c",4662:"40b8b567",4685:"c33f1528",4715:"7683cd1b",4736:"0ab0b82f",4741:"887290c6",4757:"75e043d9",4766:"5e75a05c",4770:"023d71e5",4790:"619413e4",4795:"43d1e8c2",4797:"a24e92db",4800:"bbb9bd38",4849:"7694e103",4850:"1edda4b7",4862:"1f580b21",4884:"5127189f",4889:"12f4c2c1",4928:"b5dc087e",4973:"255e9185",4994:"bb58edbb",5022:"ebaecde9",5043:"108b3622",5048:"a2ca3341",5060:"85dafcc6",5096:"deee37e6",5111:"a2f4a616",5125:"42ed5d83",5148:"9826a88e",5176:"8a1e6935",5179:"cc45ad9d",5186:"a4218e9b",5191:"6684d6a2",5205:"049b954a",5238:"ecbbbb56",5290:"5dabcdc2",5297:"3cdae7bd",5319:"b2dd0f42",5321:"1163c84e",5335:"4341ef69",5354:"7ae70604",5357:"7d5bdb94",5359:"f517a9ae",5382:"33f9a488",5402:"69e77069",5416:"454536b7",5434:"38b302a6",5450:"e9f47a01",5470:"682ea389",5494:"d89549c4",5518:"1e66efc9",5549:"0d7d356e",5572:"14725bce",5573:"5b99cfd0",5599:"0875f6be",5624:"500f4c38",5631:"e00d3d36",5650:"f1d4e35e",5679:"4a090bef",5705:"e088c40d",5729:"733940e2",5741:"1772417d",5764:"e0d7e586",5775:"1c18ca25",5786:"23bf3f87",5798:"2124b46f",5816:"86b1e24a",5825:"96352c30",5876:"5eded409",5888:"60daeed5",5891:"e23974e7",5895:"9e3515c3",5902:"500589d6",5911:"84a8d8dc",5915:"8c1922e4",5927:"2aa01c8e",5992:"3b5d49c6",6029:"346dadf6",6034:"7feac8fd",6045:"d268f87f",6047:"3ce45acd",6052:"7aa1a4ba",6063:"ad655e05",6069:"1a294603",6126:"99519171",6127:"c66a009f",6170:"c37cfe11",6265:"b74edff4",6270:"8a29abb7",6277:"d281341a",6328:"7f550289",6366:"c20c7156",6378:"7f3a946a",6411:"2a270776",6434:"031b30cf",6444:"c3476116",6452:"b03af4ef",6531:"82448d1d",6541:"4e284b72",6583:"244924ca",6587:"c6c6e85d",6634:"a1656a85",6651:"dd385de2",6685:"6f79c083",6729:"8ee88d06",6741:"2d1c8f45",6758:"02c0daf3",6774:"59d4d618",6784:"fd18c81c",6788:"217d2377",6796:"73e2700c",6805:"45dbc432",6820:"65ecda91",6845:"e8db5dee",6882:"ce7c4813",6883:"b8fe78e3",6904:"99d17d1a",6913:"fb1c6453",6963:"8763dcea",6982:"1922c6af",7008:"2e663d1a",7042:"9c98daab",7043:"53b43919",7045:"de42156a",7046:"181627cd",7058:"880b0309",7062:"24691175",7084:"46ccce72",7156:"e7466006",7172:"a18865ce",7178:"0dc2fe8f",7182:"85a9543f",7242:"fa707374",7260:"894f24f7",7331:"2e27a23b",7333:"6440905a",7365:"1005464f",7395:"f5def0cb",7460:"7a64f751",7477:"85a13e85",7482:"6f3407a7",7527:"e6aae8f0",7545:"079ccece",7560:"72a934ec",7589:"da30eb78",7591:"c8233ce9",7614:"186bb5f9",7622:"552da3a5",7686:"4fcec9f9",7706:"c2a79e40",7806:"738691aa",7852:"df52e2af",7855:"8c01cb9e",7857:"0f2f4195",7878:"f8af5b6f",7883:"e24f7da8",7884:"0abbb22c",7922:"dc79289d",7964:"29aed9a1",8014:"f57ac3a1",8062:"c8f61b8e",8072:"8c903e1f",8077:"096453a9",8085:"e054f96c",8089:"d536b13a",8137:"e21e19f0",8143:"06e96e46",8155:"09f9f71e",8161:"83c5fa9a",8223:"247f0842",8237:"9f78439d",8241:"5523ed13",8302:"f935aeeb",8307:"5e56785f",8319:"68605b31",8340:"d7282ef7",8350:"07df8a75",8351:"8f363b6d",8398:"e083323c",8431:"21ee621b",8435:"bc36f649",8447:"5fdab722",8517:"eeff2df9",8522:"bc284cfb",8561:"333e8ec9",8563:"872d92ab",8624:"3081b8bc",8634:"0543d1c0",8639:"d7179add",8665:"0f94f289",8688:"e13dd436",8689:"101862e1",8723:"5039a903",8737:"ce7dad23",8776:"0ad26240",8782:"3e8c1406",8787:"6a0790d9",8795:"aac5ca39",8797:"731bd592",8821:"73b11c60",8823:"d5a75263",8827:"59952dcb",8842:"9f25a3e2",8866:"9ae1fd30",8882:"4df22c29",8885:"175a729e",8898:"d002bcd8",8909:"157c96fe",8920:"7f82440c",8963:"790aecdd",8982:"b21f140a",8999:"7a6657a2",9076:"fdd3b486",9104:"bbcb2345",9133:"325e1743",9205:"f7b5b414",9215:"1cd9bb5c",9252:"0d791a59",9260:"f163e60e",9332:"7652b47f",9360:"849b7843",9366:"3ab6e0a6",9391:"0e6e46d4",9404:"9fcc3d3e",9408:"d03f7091",9416:"d16f4890",9472:"771af08f",9487:"ca0d2432",9489:"f8eeffc9",9507:"27888069",9554:"ed358e7b",9559:"4ea33181",9590:"ce5f1343",9595:"62cc924d",9647:"89906bf9",9649:"c41dd75d",9674:"50d84d49",9677:"3c34d038",9695:"6fd34584",9715:"78e36094",9716:"8297dd59",9785:"597581bf",9788:"c4db6737",9890:"3b7770e7",9891:"c5e18779",9895:"b8e31ff2",9921:"7f040247",9922:"fb7e7f9d",9928:"5989f5e0",9944:"ec88d720",9950:"74f6dfb2",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"733ddb1e",65:"a6b3e531",67:"3d8ed847",109:"b9c23c40",195:"82e7f291",264:"5fd9b3fc",265:"d9248a47",292:"d7ff424c",310:"e8180a63",337:"fbb64c0c",342:"c968c291",479:"1bb3e420",485:"d63578fe",508:"9e254fc7",532:"c12d893f",533:"6660b6b8",547:"5581debc",556:"0c2aa7e3",559:"c49aa5ba",576:"8bf77b42",643:"d98420ff",680:"e67e9e01",700:"f8df0444",737:"72eaccaa",745:"db91daf0",799:"d78054b7",869:"af851eb7",895:"ce8634e8",919:"9796c16e",921:"b09f4288",928:"3745b2d1",1006:"cd44886b",1025:"a38e117e",1043:"e8c0878b",1045:"53865454",1048:"64fc11e1",1070:"e67e9e01",1148:"754fff63",1150:"bad483bc",1211:"9bf643f5",1253:"fc16cdfc",1257:"7b8c452c",1265:"cc8d4613",1276:"bbc6eeec",1343:"ef1d1155",1344:"f333da3b",1404:"03cdfb68",1416:"96b9d4c9",1423:"0534f297",1427:"c2df60a3",1443:"275581f6",1450:"63954a12",1461:"0eb2d899",1470:"afcb0f79",1475:"82cbf3b5",1482:"f9f88e34",1512:"f3653a35",1520:"f7300d0e",1545:"f145eeb1",1578:"955b54c7",1581:"144e8627",1582:"ba721023",1657:"1e9392de",1674:"fdbc1e05",1702:"522451c1",1713:"b98dd666",1717:"9017801c",1727:"c75b5258",1783:"e817e9b2",1831:"0c9ded6e",1836:"5f0d3f7f",1855:"a88676c2",1880:"0e2dfc83",1939:"283a4feb",1953:"45b8c3e9",1962:"84e145fa",1994:"aba61e18",2045:"dcfad42d",2076:"b0ffede5",2102:"08e28f8d",2141:"5eb2f330",2216:"54bc4b74",2240:"e7cce869",2254:"64cff177",2303:"37e0bd85",2306:"9c2945de",2307:"b2c54321",2338:"bd5e4b22",2339:"ec14ed87",2396:"afb61ef8",2404:"d9aa211d",2412:"01c633d8",2425:"cc6591f1",2443:"26d89d08",2476:"cf85a190",2501:"2441982c",2524:"b7a652de",2529:"c717395e",2539:"6ea6bf03",2548:"75182034",2570:"505bc8e4",2603:"3745b2d1",2659:"f6071a36",2707:"cabcb16e",2806:"f3508476",2819:"82c67c32",2823:"a13b21fb",2826:"c8c0993d",2829:"4605b854",2865:"6ef3cf6b",2875:"5b3114cd",2884:"1527b642",2983:"e8b2821c",3006:"7fce4e74",3141:"caf6f1b7",3157:"0156f0b0",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"f670cb5d",3260:"a01141ff",3282:"0f132e8b",3317:"390325ea",3332:"e293280f",3355:"ed85955d",3356:"12c7785d",3391:"89554b70",3433:"6e5e92c0",3442:"7216725b",3443:"9796c16e",3447:"1653d818",3451:"e3a31387",3496:"113f7cba",3509:"70043ca5",3581:"68faac46",3585:"5f288e7b",3665:"5014d82d",3668:"ba6bd19f",3673:"7f79db7c",3685:"5356e3de",3747:"a0b98647",3784:"05ecae20",3873:"93dce8e3",3897:"7f2c6d75",3910:"658d457f",3935:"d606974b",3951:"1893932c",4030:"f4507d6d",4056:"10eacfff",4078:"aa54548e",4093:"e06c8e3b",4105:"2872f595",4144:"f10aa199",4164:"f85061e6",4216:"3745b2d1",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"ae8a189b",4339:"f287a358",4449:"e68d8d58",4492:"d3f2f846",4496:"dcb45324",4498:"883b079a",4504:"1c1946c2",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"b424cfb7",4601:"3c8ac557",4610:"687005a6",4621:"30ee1340",4662:"1d6091d1",4715:"b440b9f8",4736:"bc8ffdeb",4741:"f15d0dd4",4757:"73b754d2",4766:"b5df5a8e",4770:"dafd4d8c",4795:"9e0c6059",4800:"f50302a4",4849:"74bc5105",4862:"301c8d3c",4884:"bd293d3b",4889:"6f432840",4928:"3ec9e47f",4973:"129c56e8",4994:"69d7ba77",5022:"81b1b86b",5043:"4d348909",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"aa8ceb84",5176:"9c49e7fa",5179:"21f01751",5186:"c00b7414",5191:"bffa1f71",5238:"2682d06e",5297:"3a2685a1",5319:"d7f8f334",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b228de34",5382:"dd511751",5402:"53eb2bc8",5470:"c33b95a0",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"baff77f5",5624:"a7d44e48",5650:"f8f63f4b",5705:"df6bf207",5729:"f6e4f676",5741:"b0ed8bef",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"36e1500a",5825:"1d16fdbc",5888:"215b0119",5891:"6339a112",5895:"d0f5273a",5902:"c30e5df2",5915:"bc9c3e69",5927:"64cbf3c5",5992:"a5625ec7",6029:"a31ddbcc",6052:"557c4435",6063:"a55b8867",6069:"33dd1cdb",6127:"66ea13ef",6265:"e6efd1b4",6270:"53b8e0f9",6277:"1767d631",6328:"1d366bbd",6366:"079fc2d8",6434:"3e26e73c",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"3f6c9121",6587:"9c49e7fa",6634:"b42eca3f",6651:"b07fe216",6685:"95e4d92a",6729:"376181a1",6741:"b838eb14",6758:"d08dc41f",6784:"1affe817",6788:"f26d377b",6796:"a591f5bc",6805:"a72f7fcf",6820:"1ac8b19c",6845:"a1154737",6882:"c2d2eada",6883:"227f3ddb",6904:"81f38392",6913:"4a62ce5c",6963:"84e145fa",6982:"2b2d234c",7008:"6befdb1d",7042:"9796c16e",7043:"d109402d",7045:"7d36736d",7046:"c7301ded",7058:"41bc5265",7062:"61f0b55a",7172:"3b787ec7",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"eb19edf0",7477:"66c58568",7482:"809f9009",7527:"e6a4bf5b",7545:"191174c0",7560:"d82e43ca",7589:"30a392cb",7614:"8e370373",7622:"f15adfe8",7806:"bd9accb9",7852:"e617f97c",7855:"092a3e3b",7857:"6071267c",7878:"2b521fde",7883:"f1b59553",7884:"749716d8",7922:"2e8e26c7",8014:"95f08f8b",8062:"8e384b9f",8072:"10958afc",8077:"4c2e0049",8085:"a8ac9463",8137:"66f37f26",8143:"b5c5b184",8155:"d345abd7",8237:"dacbeda9",8241:"bc9c2ad0",8302:"b3daeac3",8307:"677929c0",8319:"44f8355a",8398:"a909860d",8431:"244f47c8",8435:"d21bd652",8447:"5f846618",8517:"596dea44",8522:"1983b60f",8563:"2812cbfb",8634:"cbb7326a",8665:"c52575bc",8688:"f98a445e",8689:"0dc2d88b",8723:"a54bcc49",8782:"38a7e912",8787:"121de108",8795:"23231ec2",8797:"466ce893",8821:"f7d574a3",8823:"6afcaf56",8827:"bf1a4bac",8866:"088ba732",8882:"88d4f80b",8885:"de905169",8982:"8a75293a",8999:"42d19932",9076:"6a501148",9133:"8094ede3",9205:"1e43ebcb",9215:"f737e7e7",9332:"4cf64377",9360:"d2c3ac33",9366:"3f6c2582",9391:"59be6bd5",9404:"d8cf04f7",9408:"d3565b1a",9416:"b860d784",9472:"ff8c4206",9487:"3be6b9d9",9489:"ee2bb5b7",9507:"ffaae329",9590:"78d4289e",9595:"9796c16e",9647:"64a96ae9",9649:"5e708a2c",9674:"735c7616",9677:"2cb2931e",9695:"4fc082f0",9715:"7d3257ac",9716:"13664757",9785:"cfde2ff2",9788:"4459d92d",9890:"d61f2dfb",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,f){return Object.prototype.hasOwnProperty.call(i,f)}}(),function(){var i={};__webpack_require__.l=function(f,e,t,r){if(i[f]){i[f].push(e);return}var n,a;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Fr.endsWith("/")?Fr:"".concat(Fr,"/")}var tc=__webpack_require__(38127),Mu=__webpack_require__(38329),au=__webpack_require__(8616),ou=["content"],Wi=["content"],Mc=/^(http:|https:)?\/\//;function rc(Fr){return Mc.test(Fr)||Fr.startsWith("/")&&!Fr.startsWith("/*")||Fr.startsWith("./")||Fr.startsWith("../")}var ku=function(){return ne.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},ii=function(nn){var Bn,Ea=nn.loaderData,Kn=nn.htmlPageOpts,aa=nn.manifest,fa=(aa==null||(Bn=aa.assets)===null||Bn===void 0?void 0:Bn["umi.css"])||"";return ne.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ea||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Kn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(fa,"'")}})};function is(Fr){var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fr=="string")return rc(Fr)?(0,Go.Z)({src:Fr},nn):{content:Fr};if((0,au.Z)(Fr)==="object")return(0,Go.Z)((0,Go.Z)({},Fr),nn);throw new Error("Invalid script type: ".concat((0,au.Z)(Fr)))}function fl(Fr){return rc(Fr)?{type:"link",href:Fr}:{type:"style",content:Fr}}var dl=function(nn){var Bn,Ea,Kn,aa,fa,uo,Xn=nn.htmlPageOpts;return ne.createElement(ne.Fragment,null,(Xn==null?void 0:Xn.title)&&ne.createElement("title",null,Xn.title),Xn==null||(Bn=Xn.favicons)===null||Bn===void 0?void 0:Bn.map(function(co,Ps){return ne.createElement("link",{key:Ps,rel:"shortcut icon",href:co})}),(Xn==null?void 0:Xn.description)&&ne.createElement("meta",{name:"description",content:Xn.description}),(Xn==null||(Ea=Xn.keywords)===null||Ea===void 0?void 0:Ea.length)&&ne.createElement("meta",{name:"keywords",content:Xn.keywords.join(",")}),Xn==null||(Kn=Xn.metas)===null||Kn===void 0?void 0:Kn.map(function(co){return ne.createElement("meta",{key:co.name,name:co.name,content:co.content})}),Xn==null||(aa=Xn.links)===null||aa===void 0?void 0:aa.map(function(co,Ps){return ne.createElement("link",(0,Mu.Z)({key:Ps},co))}),Xn==null||(fa=Xn.styles)===null||fa===void 0?void 0:fa.map(function(co,Ps){var Es=fl(co),Bs=Es.type,zs=Es.href,fu=Es.content;if(Bs==="link")return ne.createElement("link",{key:Ps,rel:"stylesheet",href:zs});if(Bs==="style")return ne.createElement("style",{key:Ps},fu)}),Xn==null||(uo=Xn.headScripts)===null||uo===void 0?void 0:uo.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,ou);return ne.createElement("script",(0,Mu.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))}))};function nc(Fr){var nn,Bn=Fr.children,Ea=Fr.loaderData,Kn=Fr.manifest,aa=Fr.htmlPageOpts,fa=Fr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,uo=Fr.mountElementId;if(fa!=null&&fa.pureHtml)return ne.createElement("html",null,ne.createElement("head",null,ne.createElement(dl,{htmlPageOpts:aa})),ne.createElement("body",null,ne.createElement(ku,null),ne.createElement("div",{id:uo},Bn),ne.createElement(ii,{manifest:Kn,loaderData:Ea,htmlPageOpts:aa})));if(fa!=null&&fa.pureApp)return ne.createElement(ne.Fragment,null,Bn);var Xn=typeof window=="undefined"?Kn==null?void 0:Kn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ne.createElement("html",{suppressHydrationWarning:!0,lang:(aa==null?void 0:aa.lang)||"en"},ne.createElement("head",null,ne.createElement("meta",{charSet:"utf-8"}),ne.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Xn&&ne.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Xn}),ne.createElement(dl,{htmlPageOpts:aa})),ne.createElement("body",null,ne.createElement(ku,null),ne.createElement("div",{id:uo},Bn),ne.createElement(ii,{manifest:Kn,loaderData:Ea,htmlPageOpts:aa}),aa==null||(nn=aa.scripts)===null||nn===void 0?void 0:nn.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,Wi);return ne.createElement("script",(0,Mu.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))})))}var Vo=ne.createContext(void 0);function pl(){return ne.useContext(Vo)}var bu=["redirect"];function ju(Fr){var nn=Fr.routesById,Bn=Fr.parentId,Ea=Fr.routeComponents,Kn=Fr.useStream,aa=Kn===void 0?!0:Kn;return Object.keys(nn).filter(function(fa){return nn[fa].parentId===Bn}).map(function(fa){var uo=kc((0,Go.Z)((0,Go.Z)({route:nn[fa],routeComponent:Ea[fa],loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat},Fr.reactRouter5Compat&&{hasChildren:Object.keys(nn).filter(function(co){return nn[co].parentId===fa}).length>0}),{},{useStream:aa})),Xn=ju({routesById:nn,routeComponents:Ea,parentId:uo.id,loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat,useStream:aa});return Xn.length>0&&(uo.children=Xn,uo.routes=Xn),uo})}function ac(Fr){var nn=(0,Zo.UO)(),Bn=(0,Zo.Gn)(Fr.to,nn),Ea=(0,xu.T$)(),Kn=(0,Zo.TH)();if(Ea!=null&&Ea.keepQuery){var aa=Kn.search+Kn.hash;Bn+=aa}var fa=(0,Go.Z)((0,Go.Z)({},Fr),{},{to:Bn});return ne.createElement(Zo.Fg,(0,Mu.Z)({replace:!0},fa))}function kc(Fr){var nn=Fr.route,Bn=Fr.useStream,Ea=Bn===void 0?!0:Bn,Kn=nn.redirect,aa=(0,tc.Z)(nn,bu),fa=Fr.reactRouter5Compat?jc:Lc;return(0,Go.Z)({element:Kn?ne.createElement(ac,{to:Kn}):ne.createElement(Vo.Provider,{value:{route:Fr.route}},ne.createElement(fa,{loader:ne.memo(Fr.routeComponent),loadingComponent:Fr.loadingComponent||Lu,hasChildren:Fr.hasChildren,useStream:Ea}))},aa)}function Lu(){return ne.createElement("div",null)}function jc(Fr){var nn=pl(),Bn=nn.route,Ea=(0,xu.Ov)(),Kn=Ea.history,aa=Ea.clientRoutes,fa=(0,Zo.UO)(),uo={params:fa,isExact:!0,path:Bn.path,url:Kn.location.pathname},Xn=Fr.loader,co={location:Kn.location,match:uo,history:Kn,params:fa,route:Bn,routes:aa};return Fr.useStream?ne.createElement(ne.Suspense,{fallback:ne.createElement(Fr.loadingComponent,null)},ne.createElement(Xn,co,Fr.hasChildren&&ne.createElement(Zo.j3,null))):ne.createElement(Xn,co,Fr.hasChildren&&ne.createElement(Zo.j3,null))}function Lc(Fr){var nn=Fr.loader;return Fr.useStream?ne.createElement(ne.Suspense,{fallback:ne.createElement(Fr.loadingComponent,null)},ne.createElement(nn,null)):ne.createElement(nn,null)}var Fs=null;function Al(){return Fs}function oc(Fr){var nn=Fr.history,Bn=ne.useState({action:nn.action,location:nn.location}),Ea=(0,gu.Z)(Bn,2),Kn=Ea[0],aa=Ea[1];return(0,ne.useLayoutEffect)(function(){return nn.listen(aa)},[nn]),(0,ne.useLayoutEffect)(function(){function fa(uo){Fr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fr.routes,clientRoutes:Fr.clientRoutes,location:uo.location,action:uo.action,basename:Fr.basename,isFirst:!!uo.isFirst}})}return fa({location:Kn.location,action:Kn.action,isFirst:!0}),nn.listen(fa)},[nn,Fr.routes,Fr.clientRoutes]),ne.createElement(Zo.F0,{navigator:nn,location:Kn.location,basename:Fr.basename},Fr.children)}function ss(){var Fr=(0,xu.Ov)(),nn=Fr.clientRoutes;return(0,Zo.V$)(nn)}var ic=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Fu=function(nn,Bn){var Ea=nn.basename||"/",Kn=ju({routesById:nn.routes,routeComponents:nn.routeComponents,loadingComponent:nn.loadingComponent,reactRouter5Compat:nn.reactRouter5Compat,useStream:nn.useStream});nn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Kn}});for(var aa=ne.createElement(oc,{basename:Ea,pluginManager:nn.pluginManager,routes:nn.routes,clientRoutes:Kn,history:nn.history},Bn),fa=0,uo=ic;fanew Promise((Ea,Kn)=>{var aa=Xn=>{try{uo(Bn.next(Xn))}catch(co){Kn(co)}},fa=Xn=>{try{uo(Bn.throw(Xn))}catch(co){Kn(co)}},uo=Xn=>Xn.done?Ea(Xn.value):Promise.resolve(Xn.value).then(aa,fa);uo((Bn=Bn.apply(Fr,nn)).next())});function vl(){return Nu(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail/testresult",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/WordInfo/:userid",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"81"},82:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"82"},83:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"85"},86:{path:"/classrooms/guidance",parentId:"19",id:"86"},87:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"99"},100:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"101"},102:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"102"},103:{path:"/classrooms/",parentId:"19",id:"103"},104:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"103",id:"104"},105:{path:"/classrooms/:coursesId/shixun_homework",parentId:"103",id:"105"},106:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"103",id:"106"},107:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"103",id:"107"},108:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"103",id:"108"},109:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"103",id:"109"},110:{path:"/classrooms/:coursesId/exercise",parentId:"103",id:"110"},111:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"103",id:"111"},112:{path:"/classrooms/:coursesId/poll",parentId:"103",id:"112"},113:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"103",id:"113"},114:{path:"/classrooms/:coursesId/common_homework",parentId:"103",id:"114"},115:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"103",id:"115"},116:{path:"/classrooms/:coursesId/group_homework",parentId:"103",id:"116"},117:{path:"/classrooms/:coursesId/teachers",parentId:"103",id:"117"},118:{path:"/classrooms/:coursesId/students",parentId:"103",id:"118"},119:{path:"/classrooms/:coursesId/assistant",parentId:"103",id:"119"},120:{path:"/classrooms/:coursesId/program_homework",parentId:"103",id:"120"},121:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"103",id:"121"},122:{path:"/classrooms/:coursesId/engineering",parentId:"103",id:"122"},123:{path:"/classrooms/:coursesId/learning_path",parentId:"103",id:"123"},124:{path:"/classrooms/:coursesId/resource_recommend",parentId:"103",id:"124"},125:{path:"/classrooms/:coursesId/attendance",parentId:"103",id:"125"},126:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"103",id:"126"},127:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"103",id:"127"},128:{path:"/classrooms/:coursesId/announcement",parentId:"103",id:"128"},129:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"103",id:"129"},130:{path:"/classrooms/:coursesId/online_learning",parentId:"103",id:"130"},131:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"103",id:"131"},132:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"103",id:"132"},133:{path:"/classrooms/:coursesId/attachment",parentId:"103",id:"133"},134:{path:"/classrooms/:coursesId/video",parentId:"103",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"103",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"103",id:"136"},137:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"103",id:"137"},138:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"103",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"103",id:"139"},140:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"103",id:"140"},141:{path:"/classrooms/:coursesId/live_video",parentId:"103",id:"141"},142:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"103",id:"142"},143:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"103",id:"143"},144:{path:"/classrooms/:coursesId/board",parentId:"103",id:"144"},145:{path:"/classrooms/:coursesId/course_group",parentId:"103",id:"145"},146:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"103",id:"146"},147:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"103",id:"147"},148:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"103",id:"148"},149:{path:"/classrooms/:coursesId/not_course_group",parentId:"103",id:"149"},150:{path:"/classrooms/:coursesId/statistics/",parentId:"103",id:"150"},151:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"103",id:"151"},152:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"103",id:"152"},153:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"103",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"103",id:"154"},155:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"103",id:"155"},156:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"103",id:"156"},157:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"103",id:"157"},158:{path:"/classrooms/:coursesId",parentId:"103",id:"158"},159:{path:"/classrooms/:coursesId/template",parentId:"103",id:"159"},160:{path:"/classrooms/:coursesId/smart_plan",parentId:"103",id:"160"},161:{path:"/classrooms/:coursesId/ai_agent",parentId:"103",id:"161"},162:{path:"/classrooms/:coursesId/ai_knowledge",parentId:"103",id:"162"},163:{path:"/classrooms/:coursesId/smart_plan/:id/detail",parentId:"19",id:"163"},164:{path:"/competitions",parentId:"1",id:"164"},165:{path:"/competitions/index",parentId:"164",id:"165"},166:{path:"/competitions/:identifier/list",parentId:"164",id:"166"},167:{path:"/competitions/exports",parentId:"164",id:"167"},168:{path:"/competitions",parentId:"164",id:"168"},169:{path:"/competitions/:identifier",parentId:"164",id:"169"},170:{path:"/competitions/index/:identifier",parentId:"164",id:"170"},171:{path:"/competitions/:identifier/detail/enroll",parentId:"164",id:"171"},172:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"164",id:"172"},173:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"164",id:"173"},174:{path:"/competitions/detail/:identifier",parentId:"164",id:"174"},175:{path:"/forums",parentId:"1",id:"175"},176:{path:"/forums",parentId:"175",id:"176"},177:{path:"/forums/categories/:memoType",parentId:"175",id:"177"},178:{path:"/forums/new",parentId:"175",id:"178"},179:{path:"/forums/:memoId/edit",parentId:"175",id:"179"},180:{path:"/forums/:memoId",parentId:"175",id:"180"},181:{path:"/problemset",parentId:"1",id:"181"},182:{path:"/problemset",parentId:"181",id:"182"},183:{path:"/problemset/newitem",parentId:"181",id:"183"},184:{path:"/problemset/:type/:id",parentId:"181",id:"184"},185:{path:"/problemset/preview",parentId:"181",id:"185"},186:{path:"/problemset/preview_new",parentId:"181",id:"186"},187:{path:"/problemset/preview_select",parentId:"181",id:"187"},188:{path:"/shixuns",parentId:"1",id:"188"},189:{path:"/shixuns",parentId:"188",id:"189"},190:{path:"/shixuns/exports",parentId:"188",id:"190"},191:{path:"/shixuns/new",parentId:"188",id:"191"},192:{path:"/shixuns/aiStreamIndex",parentId:"188",id:"192"},193:{path:"/shixuns/new/CreateImg",parentId:"188",id:"193"},194:{path:"/shixuns/new/:id/imagepreview",parentId:"188",id:"194"},195:{path:"/shixuns/:id/Merge",parentId:"188",id:"195"},196:{path:"/shixuns/:id/Split",parentId:"188",id:"196"},197:{path:"/shixuns/:id/edit",parentId:"188",id:"197"},198:{path:"shixuns/:id/edit/warehouse",parentId:"197",id:"198"},199:{path:"/shixuns/:id/edit/newquestion",parentId:"197",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"197",id:"200"},201:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"197",id:"201"},202:{path:"/shixuns/:id/edit/new",parentId:"197",id:"202"},203:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"197",id:"203"},204:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"197",id:"204"},205:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"197",id:"205"},206:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"197",id:"206"},207:{path:"/shixuns/:id",parentId:"188",id:"207"},208:{path:"/shixuns/:id/poll",parentId:"207",id:"208"},209:{path:"/shixuns/:id/challenges",parentId:"207",id:"209"},210:{path:"/shixuns/:id/repository",parentId:"207",id:"210"},211:{path:"/shixuns/:id/secret_repository",parentId:"207",id:"211"},212:{path:"/shixuns/:id/collaborators",parentId:"207",id:"212"},213:{path:"/shixuns/:id/dataset",parentId:"207",id:"213"},214:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"207",id:"214"},215:{path:"/shixuns/:id/shixun_discuss",parentId:"207",id:"215"},216:{path:"/shixuns/:id/ranking_list",parentId:"207",id:"216"},217:{path:"/shixuns/:id/settings",parentId:"207",id:"217"},218:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"207",id:"218"},219:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"207",id:"219"},220:{path:"/shixuns/:id/repository/upload_file",parentId:"207",id:"220"},221:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"207",id:"221"},222:{path:"/shixuns/:id/repository/add_file",parentId:"207",id:"222"},223:{path:"/shixuns/:id/secret_repository/add_file",parentId:"207",id:"223"},224:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"207",id:"224"},225:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"207",id:"225"},226:{path:"/shixuns/:id/audit_situation",parentId:"207",id:"226"},227:{path:"/shixuns/:id/fork_list",parentId:"207",id:"227"},228:{path:"/users",parentId:"1",id:"228"},229:{path:"/users/:username/membercenter",parentId:"228",id:"229"},230:{path:"/users/:username/videos/protocol",parentId:"228",id:"230"},231:{path:"/users/:username/videos/resourceProtocol",parentId:"228",id:"231"},232:{path:"/users/:username/videos/success",parentId:"228",id:"232"},233:{path:"/users/:username/topicbank/:topicstype",parentId:"228",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"228",id:"234"},235:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"228",id:"235"},236:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"228",id:"236"},237:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"228",id:"237"},238:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"228",id:"238"},239:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"228",id:"239"},240:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"228",id:"240"},241:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"228",id:"241"},242:{path:"/users/:username/experiment-img/add",parentId:"228",id:"242"},243:{path:"/users/:username",parentId:"228",id:"243"},244:{path:"/users/:username",parentId:"243",id:"244"},245:{path:"/users/:username/baseInfo/edit",parentId:"243",id:"245"},246:{path:"/users/:username/baseInfo",parentId:"243",id:"246"},247:{path:"/users/:username/realNameCertification",parentId:"243",id:"247"},248:{path:"/users/:username/careerCertification",parentId:"243",id:"248"},249:{path:"/users/:username/classrooms",parentId:"243",id:"249"},250:{path:"/users/:username/shixuns",parentId:"243",id:"250"},251:{path:"/users/:username/dataSet",parentId:"243",id:"251"},252:{path:"/users/:username/userPortrait",parentId:"243",id:"252"},253:{path:"/users/:username/learningPath",parentId:"243",id:"253"},254:{path:"/users/:username/teach-group",parentId:"243",id:"254"},255:{path:"/users/:username/competitions",parentId:"243",id:"255"},256:{path:"/users/:username/experiment-img",parentId:"243",id:"256"},257:{path:"/users/:username/experiment-img/:experid/detail",parentId:"243",id:"257"},258:{path:"/users/:username/certificate",parentId:"243",id:"258"},259:{path:"/users/:username/otherResources",parentId:"243",id:"259"},260:{path:"/users/:username/paths",parentId:"243",id:"260"},261:{path:"/users/:username/projects",parentId:"243",id:"261"},262:{path:"/users/:username/videos",parentId:"243",id:"262"},263:{path:"/users/:username/videos/upload",parentId:"243",id:"263"},264:{path:"/users/:username/topics/:topicstype",parentId:"243",id:"264"},265:{path:"/users/:username/vspaces",parentId:"243",id:"265"},266:{path:"/users/:username/resourcesCenter",parentId:"243",id:"266"},267:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"243",id:"267"},268:{path:"/users/:username/resourceGuarantee",parentId:"243",id:"268"},269:{path:"/users/:username/resourceAllocation",parentId:"243",id:"269"},270:{parentId:"1",id:"270"},271:{path:"/problems",parentId:"270",id:"271"},272:{path:"/problems",parentId:"271",id:"272"},273:{path:"/problems/batchAdd",parentId:"271",id:"273"},274:{path:"/problems/newcreate",parentId:"270",id:"274"},275:{path:"/problems/newedit/:id",exact:!0,parentId:"270",id:"275"},276:{path:"/problems/:id/edit",exact:!0,parentId:"270",id:"276"},277:{path:"/problems/new",exact:!0,parentId:"270",id:"277"},278:{path:"/problems/:id/oj/:save_identifier",parentId:"270",id:"278"},279:{path:"/problems/:id/record-detail/:submitId",parentId:"270",id:"279"},280:{path:"/problems/add",parentId:"270",id:"280"},281:{path:"/problems/:id/ojedit",parentId:"270",id:"281"},282:{path:"/engineering",parentId:"1",id:"282"},283:{path:"/engineering",parentId:"282",id:"283"},284:{path:"/engineering/teacherList",parentId:"283",id:"284"},285:{path:"/engineering/studentList",parentId:"283",id:"285"},286:{path:"/engineering/training/program",parentId:"283",id:"286"},287:{path:"/engineering/training/program/add",parentId:"283",id:"287"},288:{path:"/engineering/training/program/edit",parentId:"283",id:"288"},289:{path:"/engineering/training/objectives",parentId:"283",id:"289"},290:{path:"/engineering/graduated/index",parentId:"283",id:"290"},291:{path:"/engineering/graduated/matrix",parentId:"283",id:"291"},292:{path:"/engineering/course/list",parentId:"283",id:"292"},293:{path:"/engineering/course/setting",parentId:"283",id:"293"},294:{path:"/engineering/course/matrix",parentId:"283",id:"294"},295:{path:"/engineering/navigation",parentId:"283",id:"295"},296:{path:"/engineering/evaluate/course",parentId:"283",id:"296"},297:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"283",id:"297"},298:{path:"/engineering/evaluate/norm",parentId:"283",id:"298"},299:{path:"/engineering/evaluate/document",parentId:"283",id:"299"},300:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"283",id:"300"},301:{path:"/engineering/*",redirect:"/404",parentId:"283",id:"301"},302:{path:"/innovation",parentId:"1",id:"302"},303:{path:"/innovation/tasks/:taskId",parentId:"302",id:"303"},304:{path:"/innovation",parentId:"302",id:"304"},305:{path:"/innovation/project",parentId:"304",id:"305"},306:{path:"/innovation/dataset",parentId:"304",id:"306"},307:{path:"/innovation/mirror",parentId:"304",id:"307"},308:{path:"/innovation/my-project",parentId:"304",id:"308"},309:{path:"/innovation/my-dataset",parentId:"304",id:"309"},310:{path:"/innovation/my-mirror",parentId:"304",id:"310"},311:{path:"/innovation/project/create",parentId:"304",id:"311"},312:{path:"/innovation/project/edit/:id",parentId:"304",id:"312"},313:{path:"/innovation/project/detail/:taskId",parentId:"304",id:"313"},314:{path:"/tasks",parentId:"1",id:"314"},315:{path:"/tasks/:taskId",exact:!0,parentId:"314",id:"315"},316:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"314",id:"316"},317:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"314",id:"317"},318:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"314",id:"318"},319:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"314",id:"319"},320:{path:"/tasks/:taskId/result",exact:!0,parentId:"314",id:"320"},321:{path:"/myproblems",parentId:"1",id:"321"},322:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"321",id:"322"},323:{path:"/myproblems/:id",exact:!0,parentId:"321",id:"323"},324:{path:"/account",parentId:"1",id:"324"},325:{path:"/account",parentId:"324",id:"325"},326:{path:"/account/profile",parentId:"325",id:"326"},327:{path:"/account/profile/edit",parentId:"325",id:"327"},328:{path:"/account/certification",parentId:"325",id:"328"},329:{path:"/account/secure",parentId:"325",id:"329"},330:{path:"/account/binding",parentId:"325",id:"330"},331:{path:"/account/Results",parentId:"325",id:"331"},332:{path:"/ch",parentId:"1",id:"332"},333:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"332",id:"333"},334:{path:"/ch/rest/",exact:!0,parentId:"332",id:"334"},335:{path:"/ch/rest/:id",exact:!0,parentId:"332",id:"335"},336:{path:"/order",parentId:"1",id:"336"},337:{path:"/order",parentId:"336",id:"337"},338:{path:"/order/invoice",parentId:"336",id:"338"},339:{path:"/order/records",parentId:"336",id:"339"},340:{path:"/order/apply",parentId:"336",id:"340"},341:{path:"/order/view",parentId:"336",id:"341"},342:{path:"/order/:courseId/information",parentId:"336",id:"342"},343:{path:"/order/:courseId/pay",parentId:"336",id:"343"},344:{path:"/order/:orderNum/result",parentId:"336",id:"344"},345:{path:"/messages",parentId:"1",id:"345"},346:{path:"/messages/:userId/user_tidings",parentId:"345",id:"346"},347:{path:"/messages/:userId/private_messages",parentId:"345",id:"347"},348:{path:"/messages/:userId/message_detail",parentId:"345",id:"348"},349:{path:"/vtrs",parentId:"1",id:"349"},350:{path:"/vtrs/:virtual_spacesId",parentId:"349",id:"350"},351:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"350",id:"351"},352:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"350",id:"352"},353:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"350",id:"353"},354:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"350",id:"354"},355:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"350",id:"355"},356:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"350",id:"356"},357:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"350",id:"357"},358:{path:"/vtrs/:virtual_spacesId/survey",parentId:"350",id:"358"},359:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"350",id:"359"},360:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"350",id:"360"},361:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"350",id:"361"},362:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"350",id:"362"},363:{path:"/vtrs/:virtual_spacesId/material",parentId:"350",id:"363"},364:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"350",id:"364"},365:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"350",id:"365"},366:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"350",id:"366"},367:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"350",id:"367"},368:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"350",id:"368"},369:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"350",id:"369"},370:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"350",id:"370"},371:{path:"/vtrs/:virtual_spacesId/settings",parentId:"350",id:"371"},372:{path:"/vtrs/:virtual_spacesId/resources",parentId:"350",id:"372"},373:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"350",id:"373"},374:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"350",id:"374"},375:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"350",id:"375"},376:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"350",id:"376"},377:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"350",id:"377"},378:{path:"/vtrs/:virtual_spacesId/*",parentId:"350",id:"378"},379:{path:"/101",parentId:"1",id:"379"},380:{path:"/101/:virtual_spacesId",parentId:"379",id:"380"},381:{path:"/101/:virtual_spacesId",exact:!0,parentId:"380",id:"381"},382:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"380",id:"382"},383:{path:"/101/:virtual_spacesId/experiment",parentId:"380",id:"383"},384:{path:"/101/:virtual_spacesId/announcement",parentId:"380",id:"384"},385:{path:"/101/:virtual_spacesId/announcement/add",parentId:"380",id:"385"},386:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"380",id:"386"},387:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"380",id:"387"},388:{path:"/101/:virtual_spacesId/survey",parentId:"380",id:"388"},389:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"380",id:"389"},390:{path:"/101/:virtual_spacesId/knowledge",parentId:"380",id:"390"},391:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"380",id:"391"},392:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"380",id:"392"},393:{path:"/101/:virtual_spacesId/material",parentId:"380",id:"393"},394:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"380",id:"394"},395:{path:"/101/:virtual_spacesId/lesson",parentId:"380",id:"395"},396:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"380",id:"396"},397:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"380",id:"397"},398:{path:"/101/:virtual_spacesId/discussion",parentId:"380",id:"398"},399:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"380",id:"399"},400:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"380",id:"400"},401:{path:"/101/:virtual_spacesId/settings",parentId:"380",id:"401"},402:{path:"/101/:virtual_spacesId/resources",parentId:"380",id:"402"},403:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"380",id:"403"},404:{path:"/101/:virtual_spacesId/Plan",parentId:"380",id:"404"},405:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"380",id:"405"},406:{path:"/101/:virtual_spacesId/digtal",parentId:"380",id:"406"},407:{path:"/101/:virtual_spacesId/homepage",parentId:"380",id:"407"},408:{path:"/101/:virtual_spacesId/*",parentId:"380",id:"408"},409:{path:"/administration",parentId:"1",id:"409"},410:{path:"/administration",parentId:"409",id:"410"},411:{path:"/administration/college",parentId:"410",id:"411"},412:{path:"/administration/student",parentId:"410",id:"412"},413:{path:"/administration/student/:studentId/edit",parentId:"410",id:"413"},414:{path:"/administration/profession",parentId:"410",id:"414"},415:{path:"/administration/classroom",parentId:"410",id:"415"},416:{path:"/graduations",parentId:"1",id:"416"},417:{path:"/graduations",exact:!0,parentId:"416",id:"417"},418:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"416",id:"418"},419:{path:"/graduations/:id",parentId:"416",id:"419"},420:{path:"/graduations/:id/index",parentId:"419",id:"420"},421:{path:"/graduations/:id/topics",parentId:"419",id:"421"},422:{path:"/graduations/:id/student_selection",parentId:"419",id:"422"},423:{path:"/graduations/:id/tasks",parentId:"419",id:"423"},424:{path:"/graduations/:id/opening_report",parentId:"419",id:"424"},425:{path:"/graduations/:id/midterm_report",parentId:"419",id:"425"},426:{path:"/graduations/:id/thesis",parentId:"419",id:"426"},427:{path:"/graduations/:id/final_defense",parentId:"419",id:"427"},428:{path:"/graduations/:id/final_thesis",parentId:"419",id:"428"},429:{path:"/graduations/:id/settings",parentId:"419",id:"429"},430:{path:"/graduations/:id/teachers",parentId:"419",id:"430"},431:{path:"/graduations/:id/students",parentId:"419",id:"431"},432:{path:"/graduations/:id/archives",parentId:"419",id:"432"},433:{path:"/graduations/:id/grading_summary",parentId:"419",id:"433"},434:{path:"/dataset",parentId:"1",id:"434"},435:{path:"/dataset",exact:!0,parentId:"434",id:"435"},436:{path:"/dataset/:id/detail",exact:!0,parentId:"434",id:"436"},437:{path:"/knowledgegraph",parentId:"1",id:"437"},438:{path:"/knowledgegraph/:pathId",parentId:"437",id:"438"},439:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"437",id:"439"},440:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"437",id:"440"},441:{path:"/knowledgegraph/:pathId/statistics",parentId:"437",id:"441"},442:{parentId:"437",id:"442"},443:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"442",id:"443"},444:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"442",id:"444"},445:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"442",id:"445"},446:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"442",id:"446"},447:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"442",id:"447"},448:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"442",id:"448"},449:{path:"/miniprogram",parentId:"1",id:"449"},450:{path:"/miniprogram/courseware/study",exact:!0,parentId:"449",id:"450"},451:{path:"/educoder-demo",exact:!0,parentId:"1",id:"451"},452:{path:"/classrooms/:coursesId/smart_plan/:id/ppt_info/info",exact:!0,parentId:"1",id:"452"},453:{path:"/classrooms/:coursesId/smart_plan/:id/users/:user_login/ppt_info/info",exact:!0,parentId:"1",id:"453"},454:{path:"/training",parentId:"1",id:"454"},455:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"454",id:"455"},456:{path:"/largeScreen",exact:!0,parentId:"1",id:"456"},457:{path:"/effectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"457"},458:{path:"/studentEffectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"458"},459:{path:"/quality",parentId:"1",id:"459"},460:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"459",id:"460"},461:{path:"/otherlogin",exact:!0,parentId:"1",id:"461"},462:{path:"/otherloginqq",exact:!0,parentId:"1",id:"462"},463:{path:"/otherloginstart",exact:!0,parentId:"1",id:"463"},464:{path:"/pathsoverview",exact:!0,parentId:"1",id:"464"},465:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"465"},466:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"466"},467:{path:"/login",parentId:"1",id:"467"},468:{path:"/login",parentId:"467",id:"468"},469:{path:"/user",parentId:"1",id:"469"},470:{path:"/user/login",parentId:"469",id:"470"},471:{path:"/user/register",parentId:"469",id:"471"},472:{path:"/user/reset-password",parentId:"469",id:"472"},473:{path:"/colleges",parentId:"1",id:"473"},474:{path:"/colleges/:id/statistics",parentId:"473",id:"474"},475:{path:"/help",parentId:"1",id:"475"},476:{path:"/help/:id",parentId:"475",id:"476"},477:{path:"/video",parentId:"1",id:"477"},478:{path:"/video/:videoId",parentId:"477",id:"478"},479:{path:"/terminal",parentId:"1",id:"479"},480:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"480"},481:{path:"/wrongAnswer",parentId:"1",id:"481"},482:{path:"/bwdemo",parentId:"1",id:"482"},483:{path:"/",parentId:"1",id:"483"},484:{path:"/",exact:!0,parentId:"483",id:"484"},485:{path:"/api/*",exact:!0,parentId:"483",id:"485"},486:{path:"/search",exact:!0,parentId:"483",id:"486"},487:{path:"/moop_cases",exact:!0,parentId:"483",id:"487"},488:{path:"/moop_cases/new",exact:!0,parentId:"483",id:"488"},489:{path:"/moop_cases/:caseId",exact:!0,parentId:"483",id:"489"},490:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"483",id:"490"},491:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"483",id:"491"},492:{path:"/randompaper",exact:!0,parentId:"483",id:"492"},493:{path:"/randompaper/edit/:id",exact:!0,parentId:"483",id:"493"},494:{path:"/randompaper/detail/:id",exact:!0,parentId:"483",id:"494"},495:{path:"/403",parentId:"483",id:"495"},496:{path:"/500",parentId:"483",id:"496"},497:{path:"/404",parentId:"483",id:"497"},498:{path:"/download",parentId:"483",id:"498"},499:{path:"/iwce",parentId:"483",id:"499"},500:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"483",id:"500"},501:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"483",id:"501"},502:{path:"/Activities",parentId:"483",id:"502"},503:{path:"/iwce/:itemname",parentId:"483",id:"503"},504:{path:"/knowledgeHub",parentId:"483",id:"504"},505:{path:"/admin/vgpu/:path*",parentId:"483",id:"505"},506:{path:"/hpc-course",parentId:"483",id:"506"},507:{path:"/user_agents",parentId:"483",id:"507"},508:{path:"/three",parentId:"483",id:"508"},509:{path:"/introduction",parentId:"483",id:"509"},510:{path:"/chatgpt",parentId:"483",id:"510"},511:{path:"/*",parentId:"483",id:"511"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),2:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),3:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,68714))),4:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73695))),5:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73695))),6:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,38772))),7:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),8:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,69890))),9:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),10:ne.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,55979))),11:ne.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,47568))),12:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1636))),13:ne.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,16067))),14:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,1817))),15:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,71914))),16:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,1636))),17:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),18:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),19:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),20:ne.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,69793))),21:ne.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,33352))),22:ne.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,5284))),23:ne.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,69793))),24:ne.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,17702))),25:ne.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,17702))),26:ne.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,67185))),27:ne.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,67185))),28:ne.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,88715))),29:ne.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,49721))),30:ne.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,69079))),31:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,8199))),32:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5927)]).then(__webpack_require__.bind(__webpack_require__,96252))),33:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,97724))),34:ne.lazy(()=>Promise.all([__webpack_require__.e(5450),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,93999))),35:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21674))),36:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8351),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,53635))),37:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8351),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,54422))),38:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,52235))),39:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,72988))),40:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,85863))),41:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,29662))),42:ne.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,13599))),43:ne.lazy(()=>__webpack_require__.e(8795).then(__webpack_require__.bind(__webpack_require__,34863))),44:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,84802))),45:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),46:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,48221))),47:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,45138))),48:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,10649))),49:ne.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,46806))),50:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33861))),51:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,29178))),52:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,9336))),53:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,9336))),54:ne.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,64815))),55:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,88713))),56:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,88713))),57:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,64977))),58:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(81),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,91804))),59:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(81),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,5778))),60:ne.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,68470))),61:ne.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,68470))),62:ne.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,42261))),63:ne.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,42261))),64:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,9024))),65:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,18873))),66:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,62506))),67:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,87459))),68:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,4824))),69:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,54445))),70:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,62841))),71:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,19946))),72:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,71028))),73:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,10436))),74:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,97452))),75:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,25228))),76:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,98437))),77:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,60704))),78:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,51966))),79:ne.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,64502))),80:ne.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,70462))),81:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,63427))),82:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,21630))),83:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,24908))),84:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,11805))),85:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,51653))),86:ne.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,16067))),87:ne.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,23058))),88:ne.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,3001))),89:ne.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,56222))),90:ne.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,81015))),91:ne.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,18449))),92:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,6850))),93:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,6850))),94:ne.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42447))),95:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,38923))),96:ne.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,81512))),97:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,99633))),98:ne.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,71092))),99:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,41643))),100:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,16e3))),101:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,17990))),102:ne.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,357))),103:ne.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,20685))),104:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,34687))),105:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,34687))),106:ne.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,75665))),107:ne.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,24942))),108:ne.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,24942))),109:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,36519))),110:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,36519))),111:ne.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,90126))),112:ne.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,90126))),113:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,65074))),114:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,65074))),115:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,5465))),116:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,5465))),117:ne.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,70980))),118:ne.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,67567))),119:ne.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,98468))),120:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,41760))),121:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2656),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,41760))),122:ne.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,40101))),123:ne.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,89250))),124:ne.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,63814))),125:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,85817))),126:ne.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,46722))),127:ne.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,90919))),128:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,56545))),129:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,56545))),130:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,48453))),131:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,48453))),132:ne.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,83949))),133:ne.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,83949))),134:ne.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,31523))),135:ne.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,31523))),136:ne.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,27308))),137:ne.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,90751))),138:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,6528))),139:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,85793))),140:ne.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,45270))),141:ne.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,45270))),142:ne.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,42055))),143:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,63289))),144:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,63289))),145:ne.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,39833))),146:ne.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,39833))),147:ne.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,57027))),148:ne.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,99273))),149:ne.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,99273))),150:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,21881))),151:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,21881))),152:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,80842))),153:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,88158))),154:ne.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,36809))),155:ne.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,25563))),156:ne.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,76396))),157:ne.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,11809))),158:ne.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,25138))),159:ne.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,1383))),160:ne.lazy(()=>__webpack_require__.e(5741).then(__webpack_require__.bind(__webpack_require__,46770))),161:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2306)]).then(__webpack_require__.bind(__webpack_require__,20319))),162:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1994)]).then(__webpack_require__.bind(__webpack_require__,72849))),163:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(745)]).then(__webpack_require__.bind(__webpack_require__,96181))),164:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),165:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,12247))),166:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,12247))),167:ne.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,38434))),168:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,12247))),169:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(594),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,85353))),170:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(594),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,85353))),171:ne.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,38410))),172:ne.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,5550))),173:ne.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,29161))),174:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(594),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,98902))),175:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),176:ne.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,74923))),177:ne.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,89018))),178:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96829))),179:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96829))),180:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,29071))),181:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),182:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),183:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,35994))),184:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,35994))),185:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,98110))),186:ne.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,10))),187:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,90121))),188:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),189:ne.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,36523))),190:ne.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,29925))),191:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,13687))),192:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8821)]).then(__webpack_require__.bind(__webpack_require__,55898))),193:ne.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,9665))),194:ne.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,16185))),195:ne.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,29686))),196:ne.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,42363))),197:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(3225),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,35453))),198:ne.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,4848))),199:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,5532))),200:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,34772))),201:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,34772))),202:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,34243))),203:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,34243))),204:ne.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,77413))),205:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,38910))),206:ne.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,86320))),207:ne.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,69095))),208:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,49411))),209:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,30170))),210:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,21252))),211:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,21252))),212:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,95322))),213:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,75520))),214:ne.lazy(()=>Promise.all([__webpack_require__.e(3225),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,38052))),215:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,44659))),216:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,91569))),217:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,32508))),218:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,34568))),219:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,34568))),220:ne.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76275))),221:ne.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76275))),222:ne.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,1603))),223:ne.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,1603))),224:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,21252))),225:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,21252))),226:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,5966))),227:ne.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,55992))),228:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),229:ne.lazy(()=>__webpack_require__.e(7172).then(__webpack_require__.bind(__webpack_require__,72854))),230:ne.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,12840))),231:ne.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,53305))),232:ne.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,43854))),233:ne.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,56688))),234:ne.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,13145))),235:ne.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,13145))),236:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,6984))),237:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,74670))),238:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,47530))),239:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,48235))),240:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,11541))),241:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,88671))),242:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,73164))),243:ne.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,80622))),244:ne.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,84028))),245:ne.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,92747))),246:ne.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,51869))),247:ne.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,86311))),248:ne.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,61604))),249:ne.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,84028))),250:ne.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,24219))),251:ne.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,23275))),252:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,21997))),253:ne.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,54295))),254:ne.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,63173))),255:ne.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,30642))),256:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,74557))),257:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,83773))),258:ne.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,64360))),259:ne.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,30931))),260:ne.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,24718))),261:ne.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,95968))),262:ne.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,17713))),263:ne.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,91397))),264:ne.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,12753))),265:ne.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,34558))),266:ne.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,37816))),267:ne.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,43872))),268:ne.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,83248))),269:ne.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,34758))),270:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),271:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),272:ne.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,72233))),273:ne.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,30965))),274:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2429),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,80269))),275:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2429),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,80269))),276:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2429),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,59264))),277:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2429),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,59264))),278:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,44032))),279:ne.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,52868))),280:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,52208))),281:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,52208))),282:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),283:ne.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,96254))),284:ne.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,15386))),285:ne.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,58298))),286:ne.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,10443))),287:ne.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,40033))),288:ne.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,67767))),289:ne.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,92336))),290:ne.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,16930))),291:ne.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,47523))),292:ne.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,47966))),293:ne.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,19499))),294:ne.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,46357))),295:ne.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,38264))),296:ne.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,43008))),297:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,48819))),298:ne.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,92062))),299:ne.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,17219))),300:ne.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,48846))),301:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),302:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),303:ne.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,58925))),304:ne.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,78802))),305:ne.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,86268))),306:ne.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,119))),307:ne.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,18324))),308:ne.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,20797))),309:ne.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,12159))),310:ne.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,35621))),311:ne.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,10884))),312:ne.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,10884))),313:ne.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,8190))),314:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),315:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,95914))),316:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,86965))),317:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,95914))),318:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,86965))),319:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,95914))),320:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8319)]).then(__webpack_require__.bind(__webpack_require__,86554))),321:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),322:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,45721))),323:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,59971))),324:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),325:ne.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,32027))),326:ne.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,33542))),327:ne.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,44770))),328:ne.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,32632))),329:ne.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,84646))),330:ne.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,59002))),331:ne.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,682))),332:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),333:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,82597))),334:ne.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,27038))),335:ne.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,27038))),336:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),337:ne.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,44599))),338:ne.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,29976))),339:ne.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,95949))),340:ne.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,67516))),341:ne.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,15175))),342:ne.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,79428))),343:ne.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,53690))),344:ne.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,59998))),345:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),346:ne.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,98442))),347:ne.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,97277))),348:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,12597))),349:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),350:ne.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54360))),351:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,56309))),352:ne.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,17979))),353:ne.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,23942))),354:ne.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,76550))),355:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,10507))),356:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,10507))),357:ne.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,92143))),358:ne.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,54018))),359:ne.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,75673))),360:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,51578))),361:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,14396))),362:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,14396))),363:ne.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,71920))),364:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,39848))),365:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,78147))),366:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,95340))),367:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,95340))),368:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,43082))),369:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,52360))),370:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,52360))),371:ne.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,81597))),372:ne.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,2132))),373:ne.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,23289))),374:ne.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,12636))),375:ne.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,869))),376:ne.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,36611))),377:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,56309))),378:ne.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,49058))),379:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),380:ne.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54360))),381:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,56309))),382:ne.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,17979))),383:ne.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,23942))),384:ne.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,76550))),385:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,10507))),386:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,10507))),387:ne.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,92143))),388:ne.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,54018))),389:ne.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,75673))),390:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,51578))),391:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,14396))),392:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,14396))),393:ne.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,71920))),394:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,39848))),395:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,78147))),396:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,95340))),397:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,95340))),398:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,43082))),399:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,52360))),400:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,52360))),401:ne.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,81597))),402:ne.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,2132))),403:ne.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,23289))),404:ne.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,12636))),405:ne.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,869))),406:ne.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,36611))),407:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,56309))),408:ne.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,49058))),409:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),410:ne.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,84637))),411:ne.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,72566))),412:ne.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,96769))),413:ne.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,69777))),414:ne.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,63145))),415:ne.lazy(()=>__webpack_require__.e(3673).then(__webpack_require__.bind(__webpack_require__,98835))),416:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),417:ne.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,72063))),418:ne.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,41113))),419:ne.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,35168))),420:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,70833))),421:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,73252))),422:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,76043))),423:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,64387))),424:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,95244))),425:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,95244))),426:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,95244))),427:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,95244))),428:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,95244))),429:ne.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,24704))),430:ne.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,44998))),431:ne.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,44998))),432:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,78967))),433:ne.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,5026))),434:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),435:ne.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83713))),436:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,90368))),437:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),438:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(3841),__webpack_require__.e(2341),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,46554))),439:ne.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,47986))),440:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2341),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,2544))),441:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,24222))),442:ne.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,49028))),443:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,15489))),444:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,90359))),445:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,83735))),446:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3841),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,33431))),447:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,61381))),448:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,8269))),449:ne.lazy(()=>__webpack_require__.e(5205).then(__webpack_require__.bind(__webpack_require__,35205))),450:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(3897)]).then(__webpack_require__.bind(__webpack_require__,67894))),451:ne.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,25573))),452:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,46703))),453:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6411),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,46703))),454:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),455:ne.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,24201))),456:ne.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,78204))),457:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1443)]).then(__webpack_require__.bind(__webpack_require__,17738))),458:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(65)]).then(__webpack_require__.bind(__webpack_require__,4204))),459:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),460:ne.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,14545))),461:ne.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,76008))),462:ne.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,91544))),463:ne.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,64404))),464:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,25489))),465:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,49155))),466:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,21943))),467:ne.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,1842))),468:ne.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,33587))),469:ne.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,1842))),470:ne.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,33587))),471:ne.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,86596))),472:ne.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,54710))),473:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),474:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,91815))),475:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),476:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,96397))),477:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),478:ne.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33944))),479:ne.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,42094))),480:ne.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,69757))),481:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(8624),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,10649))),482:ne.lazy(()=>__webpack_require__.e(1150).then(__webpack_require__.bind(__webpack_require__,77616))),483:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5450),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,69119))),484:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,78019))),485:ne.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,80557))),486:ne.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,25231))),487:ne.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,71262))),488:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,97525))),489:ne.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,10602))),490:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,97525))),491:ne.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,20841))),492:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33861))),493:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,33861))),494:ne.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,49052))),495:ne.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,76178))),496:ne.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,5901))),497:ne.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,75276))),498:ne.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,13645))),499:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,17261))),500:ne.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,19640))),501:ne.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,85817))),502:ne.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,73382))),503:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,17261))),504:ne.lazy(()=>__webpack_require__.e(1025).then(__webpack_require__.bind(__webpack_require__,97816))),505:ne.lazy(()=>__webpack_require__.e(1344).then(__webpack_require__.bind(__webpack_require__,68735))),506:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,17261))),507:ne.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,92384))),508:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,60631))),509:ne.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,46793))),510:ne.lazy(()=>Promise.all([__webpack_require__.e(8223),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,84595))),511:ne.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,75276))),"@@/global-layout":ne.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,89941)))}}})}var Dl=__webpack_require__(46391),m=__webpack_require__(67807),y=__webpack_require__(29787),b=__webpack_require__(64687),z=()=>ne.createElement(y.Z,{size:"middle",className:b.Z.loading}),oe=__webpack_require__(75790),mr=__webpack_require__(66649),dr=__webpack_require__.n(mr),Tn=__webpack_require__(91392),Wn=__webpack_require__.n(Tn),ra=__webpack_require__(73100),Ko=__webpack_require__.n(ra),To=__webpack_require__(14805),so=__webpack_require__.n(To),Ua=__webpack_require__(13477),Gi=__webpack_require__.n(Ua),Nc=__webpack_require__(64796),sc=__webpack_require__.n(Nc),Bc=__webpack_require__(9007),iu=__webpack_require__.n(Bc),An=__webpack_require__(58626),uc=__webpack_require__.n(An),cc=__webpack_require__(9084),Xo=__webpack_require__.n(cc),Fo=__webpack_require__(5116),su=__webpack_require__.n(Fo),ao=__webpack_require__(50991),uu=__webpack_require__.n(ao),lc=__webpack_require__(39050),us=__webpack_require__.n(lc),cu=__webpack_require__(1554),hl=__webpack_require__.n(cu),zc=__webpack_require__(59697),lu=__webpack_require__.n(zc);dr().extend(Ko()),dr().extend(so()),dr().extend(Gi()),dr().extend(sc()),dr().extend(iu()),dr().extend(uc()),dr().extend(Xo()),dr().extend(su()),dr().extend(uu()),dr().extend(us()),dr().extend(hl()),dr().extend(lu()),dr().extend(Wn());var _l=Object.defineProperty,fc=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,Ns=(Fr,nn,Bn)=>nn in Fr?_l(Fr,nn,{enumerable:!0,configurable:!0,writable:!0,value:Bn}):Fr[nn]=Bn,wu=(Fr,nn)=>{for(var Bn in nn||(nn={}))ml.call(nn,Bn)&&Ns(Fr,Bn,nn[Bn]);if(fc)for(var Bn of fc(nn))ki.call(nn,Bn)&&Ns(Fr,Bn,nn[Bn]);return Fr},dc=(Fr,nn,Bn)=>new Promise((Ea,Kn)=>{var aa=Xn=>{try{uo(Bn.next(Xn))}catch(co){Kn(co)}},fa=Xn=>{try{uo(Bn.throw(Xn))}catch(co){Kn(co)}},uo=Xn=>Xn.done?Ea(Xn.value):Promise.resolve(Xn.value).then(aa,fa);uo((Bn=Bn.apply(Fr,nn)).next())});const Vi="https://www-cdn.educoder.net/",pc=!1;function Pu(){return dc(this,null,function*(){const Fr=(0,Dl.gD)(),{routes:nn,routeComponents:Bn}=yield vl(Fr);yield Fr.applyPlugins({key:"patchRoutes",type:oe.ApplyPluginsType.event,args:{routes:nn,routeComponents:Bn}});const Ea=Fr.applyPlugins({key:"modifyContextOpts",type:oe.ApplyPluginsType.modify,initialValue:{}}),Kn=Ea.basename||"/",aa=Ea.historyType||"browser",fa=(0,m.fi)(wu({type:aa,basename:Kn},Ea.historyOpts));return Fr.applyPlugins({key:"render",type:oe.ApplyPluginsType.compose,initialValue(){const uo={useStream:!0,routes:nn,routeComponents:Bn,pluginManager:Fr,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:z,publicPath:Vi,runtimePublicPath:pc,history:fa,historyType:aa,basename:Kn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ea.callback},Xn=Fr.applyPlugins({key:"modifyClientRenderOpts",type:oe.ApplyPluginsType.modify,initialValue:uo});return Fc(Xn)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.6.5"})})()})();