text: /*! For license information please see 3.20139386.chunk.js.LICENSE.txt */
  (this.webpackJsonpnmfbofferletter=this.webpackJsonpnmfbofferletter||[]).push([[3],[function(e,t,n){"use strict";e.exports=n(72)},function(e,t,n){"use strict";e.exports=n(46)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return v}));var r=n(1),i=n.n(r),A=(n(16),i.a.createContext(null));var o=function(e){e()},a={notify:function(){}};function s(){var e=o,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var u=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=a,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=a)},e}(),c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var l=function(e){var t=e.store,n=e.context,o=e.children,a=Object(r.useMemo)((function(){var e=new u(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=Object(r.useMemo)((function(){return t.getState()}),[t]);c((function(){var e=a.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var l=n||A;return i.a.createElement(l.Provider,{value:a},o)};n(5),n(8),n(18),n(23);function f(){return Object(r.useContext)(A)}function h(e){void 0===e&&(e=A);var t=e===A?f:function(){return Object(r.useContext)(e)};return function(){return t().store}}var d=h();function p(e){void 0===e&&(e=A);var t=e===A?d:h(e);return function(){return t().dispatch}}var g=p(),w=function(e,t){return e===t};function m(e){void 0===e&&(e=A);var t=e===A?f:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=w);var i=t(),A=function(e,t,n,i){var A,o=Object(r.useReducer)((function(e){return e+1}),0)[1],a=Object(r.useMemo)((function(){return new u(n,i)}),[n,i]),s=Object(r.useRef)(),l=Object(r.useRef)(),f=Object(r.useRef)(),h=Object(r.useRef)(),d=n.getState();try{if(e!==l.current||d!==f.current||s.current){var p=e(d);A=void 0!==h.current&&t(p,h.current)?h.current:p}else A=h.current}catch(g){throw s.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),g}return c((function(){l.current=e,f.current=d,h.current=A,s.current=void 0})),c((function(){function e(){try{var e=n.getState(),r=l.current(e);if(t(r,h.current))return;h.current=r,f.current=e}catch(g){s.current=g}o()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),A}(e,n,i.store,i.subscription);return Object(r.useDebugValue)(A),A}}var B,v=m(),b=n(22);B=b.unstable_batchedUpdates,o=B},function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return F}));var r=n(11),i=n(1),A=n.n(i),o=(n(16),n(13)),a=n(29),s=n(10),u=n(5),c=n(30),l=n.n(c),f=(n(23),n(8)),h=(n(18),function(e){var t=Object(a.a)();return t.displayName=e,t}("Router-History")),d=function(e){var t=Object(a.a)();return t.displayName=e,t}("Router"),p=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return A.a.createElement(d.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},A.a.createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(A.a.Component);A.a.Component;A.a.Component;var g={},w=0;function m(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,A=void 0!==i&&i,o=n.strict,a=void 0!==o&&o,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var i=[],A={regexp:l()(e,i,t),keys:i};return w<1e4&&(r[e]=A,w++),A}(n,{end:A,strict:a,sensitive:u}),i=r.regexp,o=r.keys,s=i.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),h=e===c;return A&&!h?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:h,params:o.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var B=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return A.a.createElement(d.Consumer,null,(function(t){t||Object(s.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?m(n.pathname,e.props):t.match,i=Object(u.a)({},t,{location:n,match:r}),o=e.props,a=o.children,c=o.component,l=o.render;return Array.isArray(a)&&0===a.length&&(a=null),A.a.createElement(d.Provider,{value:i},i.match?a?"function"===typeof a?a(i):a:c?A.a.createElement(c,i):l?l(i):null:"function"===typeof a?a(i):null)}))},t}(A.a.Component);function v(e){return"/"===e.charAt(0)?e:"/"+e}function b(e,t){if(!e)return t;var n=v(e);return 0!==t.pathname.indexOf(n)?t:Object(u.a)({},t,{pathname:t.pathname.substr(n.length)})}function y(e){return"string"===typeof e?e:Object(o.e)(e)}function C(e){return function(){Object(s.a)(!1)}}function E(){}A.a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return A.a.createElement(d.Consumer,null,(function(t){t||Object(s.a)(!1);var n,r,i=e.props.location||t.location;return A.a.Children.forEach(e.props.children,(function(e){if(null==r&&A.a.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?m(i.pathname,Object(u.a)({},e.props,{path:o})):t.match}})),r?A.a.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(A.a.Component);var Q=A.a.useContext;function F(){return Q(h)}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return w}));var r=n(4),i=n(11),A=n(1),o=n.n(A),a=n(13),s=(n(16),n(5)),u=n(8),c=n(10),l=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(a.a)(t.props),t}return Object(i.a)(t,e),t.prototype.render=function(){return o.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(o.a.Component);o.a.Component;var f=function(e,t){return"function"===typeof e?e(t):e},h=function(e,t){return"string"===typeof e?Object(a.c)(e,null,null,t):e},d=function(e){return e},p=o.a.forwardRef;"undefined"===typeof p&&(p=d);var g=p((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,A=Object(u.a)(e,["innerRef","navigate","onClick"]),a=A.target,c=Object(s.a)({},A,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=d!==p&&t||n,o.a.createElement("a",c)}));var w=p((function(e,t){var n=e.component,i=void 0===n?g:n,A=e.replace,a=e.to,l=e.innerRef,w=Object(u.a)(e,["component","replace","to","innerRef"]);return o.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=e.history,r=h(f(a,e.location),e.location),u=r?n.createHref(r):"",g=Object(s.a)({},w,{href:u,navigate:function(){var t=f(a,e.location);(A?n.replace:n.push)(t)}});return d!==p?g.ref=t||l:g.innerRef=l,o.a.createElement(i,g)}))})),m=function(e){return e},B=o.a.forwardRef;"undefined"===typeof B&&(B=m);B((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,A=e.activeClassName,a=void 0===A?"active":A,l=e.activeStyle,d=e.className,p=e.exact,g=e.isActive,v=e.location,b=e.sensitive,y=e.strict,C=e.style,E=e.to,N=e.innerRef,Q=Object(u.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=v||e.location,A=h(f(E,n),n),u=A.pathname,F=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),U=F?Object(r.e)(n.pathname,{path:F,exact:p,sensitive:b,strict:y}):null,x=!!(g?g(U,n):U),L=x?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(d,a):d,S=x?Object(s.a)({},C,{},l):C,_=Object(s.a)({"aria-current":x&&i||null,className:L,style:S,to:A},Q);return m!==B?_.ref=t||N:_.innerRef=N,o.a.createElement(w,_)}))}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,A=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,A=s}finally{try{r||null==a.return||a.return()}finally{if(i)throw A}}return n}}(e,t)||function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(32),i=Object.prototype.toString;function A(e){return"[object Array]"===i.call(e)}function o(e){return"undefined"===typeof e}function a(e){return null!==e&&"object"===typeof e}function s(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),A(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:A,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:a,isPlainObject:s,isUndefined:o,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return a(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):A(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r="Invariant failed";t.a=function(e,t){if(!e)throw new Error(r)}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return i}))},function(e,t,n){e.exports=n(45)},function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return S})),n.d(t,"c",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return d}));var r=n(5);function i(e){return"/"===e.charAt(0)}function A(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var o=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],a=e&&i(e),s=t&&i(t),u=a||s;if(e&&i(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];n="."===c||".."===c||""===c}else n=!1;for(var l=0,f=o.length;f>=0;f--){var h=o[f];"."===h?A(o,f):".."===h?(A(o,f),l++):l&&(A(o,f),l--)}if(!u)for(;l--;l)o.unshift("..");!u||""===o[0]||o[0]&&i(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=a(t),i=a(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(10);function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function p(e,t,n,i){var A;"string"===typeof e?(A=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var A=t.indexOf("?");return-1!==A&&(n=t.substr(A),t=t.substr(0,A)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(A=Object(r.a)({},e)).pathname&&(A.pathname=""),A.search?"?"!==A.search.charAt(0)&&(A.search="?"+A.search):A.search="",A.hash?"#"!==A.hash.charAt(0)&&(A.hash="#"+A.hash):A.hash="",void 0!==t&&void 0===A.state&&(A.state=t));try{A.pathname=decodeURI(A.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+A.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return n&&(A.key=n),i?A.pathname?"/"!==A.pathname.charAt(0)&&(A.pathname=o(A.pathname,i.pathname)):A.pathname=i.pathname:A.pathname||(A.pathname="/"),A}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function w(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var A="function"===typeof e?e(t,n):e;"string"===typeof A?"function"===typeof r?r(A,i):i(!0):i(!1!==A)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"===typeof window||!window.document||!window.document.createElement);function B(e,t){t(window.confirm(e))}var v="popstate",b="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),m||Object(u.a)(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),i=!(-1===window.navigator.userAgent.indexOf("Trident")),A=e,o=A.forceRefresh,a=void 0!==o&&o,s=A.getUserConfirmation,l=void 0===s?B:s,g=A.keyLength,C=void 0===g?6:g,E=e.basename?h(c(e.basename)):"";function N(e){var t=e||{},n=t.key,r=t.state,i=window.location,A=i.pathname+i.search+i.hash;return E&&(A=f(A,E)),p(A,r,n)}function Q(){return Math.random().toString(36).substr(2,C)}var F=w();function U(e){Object(r.a)(M,e),M.length=t.length,F.notifyListeners(M.location,M.action)}function x(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||_(N(e.state))}function L(){_(N(y()))}var S=!1;function _(e){if(S)S=!1,U();else{F.confirmTransitionTo(e,"POP",l,(function(t){t?U({action:"POP",location:e}):function(e){var t=M.location,n=k.indexOf(t.key);-1===n&&(n=0);var r=k.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(S=!0,O(i))}(e)}))}}var H=N(y()),k=[H.key];function I(e){return E+d(e)}function O(e){t.go(e)}var T=0;function P(e){1===(T+=e)&&1===e?(window.addEventListener(v,x),i&&window.addEventListener(b,L)):0===T&&(window.removeEventListener(v,x),i&&window.removeEventListener(b,L))}var R=!1;var M={length:t.length,action:"POP",location:H,createHref:I,push:function(e,r){var i="PUSH",A=p(e,r,Q(),M.location);F.confirmTransitionTo(A,i,l,(function(e){if(e){var r=I(A),o=A.key,s=A.state;if(n)if(t.pushState({key:o,state:s},null,r),a)window.location.href=r;else{var u=k.indexOf(M.location.key),c=k.slice(0,u+1);c.push(A.key),k=c,U({action:i,location:A})}else window.location.href=r}}))},replace:function(e,r){var i="REPLACE",A=p(e,r,Q(),M.location);F.confirmTransitionTo(A,i,l,(function(e){if(e){var r=I(A),o=A.key,s=A.state;if(n)if(t.replaceState({key:o,state:s},null,r),a)window.location.replace(r);else{var u=k.indexOf(M.location.key);-1!==u&&(k[u]=A.key),U({action:i,location:A})}else window.location.replace(r)}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var t=F.setPrompt(e);return R||(P(1),R=!0),function(){return R&&(R=!1,P(-1)),t()}},listen:function(e){var t=F.appendListener(e);return P(1),function(){P(-1),t()}}};return M}var E="hashchange",N={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function Q(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function F(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function U(e){window.location.replace(Q(window.location.href)+"#"+e)}function x(e){void 0===e&&(e={}),m||Object(u.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,A=void 0===i?B:i,o=n.hashType,a=void 0===o?"slash":o,s=e.basename?h(c(e.basename)):"",l=N[a],g=l.encodePath,v=l.decodePath;function b(){var e=v(F());return s&&(e=f(e,s)),p(e)}var y=w();function C(e){Object(r.a)(M,e),M.length=t.length,y.notifyListeners(M.location,M.action)}var x=!1,L=null;function S(){var e,t,n=F(),r=g(n);if(n!==r)U(r);else{var i=b(),o=M.location;if(!x&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(L===d(i))return;L=null,function(e){if(x)x=!1,C();else{var t="POP";y.confirmTransitionTo(e,t,A,(function(n){n?C({action:t,location:e}):function(e){var t=M.location,n=I.lastIndexOf(d(t));-1===n&&(n=0);var r=I.lastIndexOf(d(e));-1===r&&(r=0);var i=n-r;i&&(x=!0,O(i))}(e)}))}}(i)}}var _=F(),H=g(_);_!==H&&U(H);var k=b(),I=[d(k)];function O(e){t.go(e)}var T=0;function P(e){1===(T+=e)&&1===e?window.addEventListener(E,S):0===T&&window.removeEventListener(E,S)}var R=!1;var M={length:t.length,action:"POP",location:k,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=Q(window.location.href)),n+"#"+g(s+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,M.location);y.confirmTransitionTo(r,n,A,(function(e){if(e){var t=d(r),i=g(s+t);if(F()!==i){L=t,function(e){window.location.hash=e}(i);var A=I.lastIndexOf(d(M.location)),o=I.slice(0,A+1);o.push(t),I=o,C({action:n,location:r})}else C()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,M.location);y.confirmTransitionTo(r,n,A,(function(e){if(e){var t=d(r),i=g(s+t);F()!==i&&(L=t,U(i));var A=I.indexOf(d(M.location));-1!==A&&(I[A]=t),C({action:n,location:r})}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var t=y.setPrompt(e);return R||(P(1),R=!0),function(){return R&&(R=!1,P(-1)),t()}},listen:function(e){var t=y.appendListener(e);return P(1),function(){P(-1),t()}}};return M}function L(e,t,n){return Math.min(Math.max(e,t),n)}function S(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,A=void 0===i?["/"]:i,o=t.initialIndex,a=void 0===o?0:o,s=t.keyLength,u=void 0===s?6:s,c=w();function l(e){Object(r.a)(v,e),v.length=v.entries.length,c.notifyListeners(v.location,v.action)}function f(){return Math.random().toString(36).substr(2,u)}var h=L(a,0,A.length-1),g=A.map((function(e){return p(e,void 0,"string"===typeof e?f():e.key||f())})),m=d;function B(e){var t=L(v.index+e,0,v.entries.length-1),r=v.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?l({action:"POP",location:r,index:t}):l()}))}var v={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:m,push:function(e,t){var r="PUSH",i=p(e,t,f(),v.location);c.confirmTransitionTo(i,r,n,(function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),l({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=p(e,t,f(),v.location);c.confirmTransitionTo(i,r,n,(function(e){e&&(v.entries[v.index]=i,l({action:r,location:i}))}))},go:B,goBack:function(){B(-1)},goForward:function(){B(1)},canGo:function(e){var t=v.index+e;return t>=0&&t<v.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return v}},function(e,t,n){"use strict";function r(e,t,n,r,i,A,o){try{var a=e[A](o),s=a.value}catch(u){return void n(u)}a.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,A){var o=e.apply(t,n);function a(e){r(o,i,A,a,s,"next",e)}function s(e){r(o,i,A,a,s,"throw",e)}a(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){e.exports=n(55)},function(e,t,n){e.exports=n(50)()},,function(e,t,n){"use strict";var r=n(23),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},A={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?o:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(d){var i=h(n);i&&i!==d&&e(t,i,r)}var o=c(n);l&&(o=o.concat(l(n)));for(var a=s(t),p=s(n),g=0;g<o.length;++g){var w=o[g];if(!A[w]&&(!r||!r[w])&&(!p||!p[w])&&(!a||!a[w])){var m=f(n,w);try{u(t,w,m)}catch(B){}}}}return t}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return u})),n.d(t,"applyMiddleware",(function(){return g})),n.d(t,"bindActionCreators",(function(){return d})),n.d(t,"combineReducers",(function(){return f})),n.d(t,"compose",(function(){return p})),n.d(t,"createStore",(function(){return l}));var a="function"===typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function c(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(o(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(o(1));return n(l)(e,t)}if("function"!==typeof e)throw new Error(o(2));var i=e,A=t,s=[],f=s,h=!1;function d(){f===s&&(f=s.slice())}function p(){if(h)throw new Error(o(3));return A}function g(e){if("function"!==typeof e)throw new Error(o(4));if(h)throw new Error(o(5));var t=!0;return d(),f.push(e),function(){if(t){if(h)throw new Error(o(6));t=!1,d();var n=f.indexOf(e);f.splice(n,1),s=null}}}function w(e){if(!c(e))throw new Error(o(7));if("undefined"===typeof e.type)throw new Error(o(8));if(h)throw new Error(o(9));try{h=!0,A=i(A,e)}finally{h=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function m(e){if("function"!==typeof e)throw new Error(o(10));i=e,w({type:u.REPLACE})}function B(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[a]=function(){return this},e}return w({type:u.INIT}),(r={dispatch:w,subscribe:g,getState:p,replaceReducer:m})[a]=B,r}function f(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"===typeof e[i]&&(n[i]=e[i])}var A,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:u.INIT}))throw new Error(o(12));if("undefined"===typeof n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(s){A=s}return function(e,t){if(void 0===e&&(e={}),A)throw A;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],c=n[u],l=e[u],f=c(l,t);if("undefined"===typeof f){t&&t.type;throw new Error(o(14))}i[u]=f,r=r||f!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}function h(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"===typeof e)return h(e,t);if("object"!==typeof e||null===e)throw new Error(o(16));var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=h(i,t))}return n}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(o(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return r=p.apply(void 0,a)(n.dispatch),A(A({},n),{},{dispatch:r})}}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return G})),n.d(t,"a",(function(){return W}));var r=Uint8Array,i=Uint16Array,A=Uint32Array,o=new r([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new A(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)o[a]=a-n[r]<<5|r;return[n,o]},c=u(o,2),l=c[0],f=c[1];l[28]=258,f[258]=28;for(var h=u(a,0),d=h[0],p=h[1],g=new i(32768),w=0;w<32768;++w){var m=(43690&w)>>>1|(21845&w)<<1;m=(61680&(m=(52428&m)>>>2|(13107&m)<<2))>>>4|(3855&m)<<4,g[w]=((65280&m)>>>8|(255&m)<<8)>>>1}var B=function(e,t,n){for(var r=e.length,A=0,o=new i(t);A<r;++A)++o[e[A]-1];var a,s=new i(t);for(A=0;A<t;++A)s[A]=s[A-1]+o[A-1]<<1;if(n){a=new i(1<<t);var u=15-t;for(A=0;A<r;++A)if(e[A])for(var c=A<<4|e[A],l=t-e[A],f=s[e[A]-1]++<<l,h=f|(1<<l)-1;f<=h;++f)a[g[f]>>>u]=c}else for(a=new i(r),A=0;A<r;++A)a[A]=g[s[e[A]-1]++]>>>15-e[A];return a},v=new r(288);for(w=0;w<144;++w)v[w]=8;for(w=144;w<256;++w)v[w]=9;for(w=256;w<280;++w)v[w]=7;for(w=280;w<288;++w)v[w]=8;var b=new r(32);for(w=0;w<32;++w)b[w]=5;var y=B(v,9,0),C=B(v,9,1),E=B(b,5,0),N=B(b,5,1),Q=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},F=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},U=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},x=function(e){return(e/8>>0)+(7&e&&1)},L=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var o=new(e instanceof i?i:e instanceof A?A:r)(n-t);return o.set(e.subarray(t,n)),o},S=function(e,t,n){var i=e.length,A=!t||n,u=!n||n.i;n||(n={}),t||(t=new r(3*i));var c=function(e){var n=t.length;if(e>n){var i=new r(Math.max(2*n,e));i.set(t),t=i}},f=n.f||0,h=n.p||0,p=n.b||0,g=n.l,w=n.d,m=n.m,v=n.n,b=8*i;do{if(!g){n.f=f=F(e,h,1);var y=F(e,h+1,3);if(h+=3,!y){var E=e[(D=x(h)+4)-4]|e[D-3]<<8,S=D+E;if(S>i){if(u)throw"unexpected EOF";break}A&&c(p+E),t.set(e.subarray(D,S),p),n.b=p+=E,n.p=h=8*S;continue}if(1==y)g=C,w=N,m=9,v=5;else{if(2!=y)throw"invalid block type";var _=F(e,h,31)+257,H=F(e,h+10,15)+4,k=_+F(e,h+5,31)+1;h+=14;for(var I=new r(k),O=new r(19),T=0;T<H;++T)O[s[T]]=F(e,h+3*T,7);h+=3*H;var P=Q(O),R=(1<<P)-1;if(!u&&h+k*(P+7)>b)break;var M=B(O,P,1);for(T=0;T<k;){var D,K=M[F(e,h,R)];if(h+=15&K,(D=K>>>4)<16)I[T++]=D;else{var j=0,z=0;for(16==D?(z=3+F(e,h,3),h+=2,j=I[T-1]):17==D?(z=3+F(e,h,7),h+=3):18==D&&(z=11+F(e,h,127),h+=7);z--;)I[T++]=j}}var V=I.subarray(0,_),q=I.subarray(_);m=Q(V),v=Q(q),g=B(V,m,1),w=B(q,v,1)}if(h>b)throw"unexpected EOF"}A&&c(p+131072);for(var X=(1<<m)-1,G=(1<<v)-1,W=m+v+18;u||h+W<b;){var J=(j=g[U(e,h)&X])>>>4;if((h+=15&j)>b)throw"unexpected EOF";if(!j)throw"invalid length/literal";if(J<256)t[p++]=J;else{if(256==J){g=null;break}var Y=J-254;if(J>264){var $=o[T=J-257];Y=F(e,h,(1<<$)-1)+l[T],h+=$}var Z=w[U(e,h)&G],ee=Z>>>4;if(!Z)throw"invalid distance";h+=15&Z;q=d[ee];if(ee>3){$=a[ee];q+=U(e,h)&(1<<$)-1,h+=$}if(h>b)throw"unexpected EOF";A&&c(p+131072);for(var te=p+Y;p<te;p+=4)t[p]=t[p-q],t[p+1]=t[p+1-q],t[p+2]=t[p+2-q],t[p+3]=t[p+3-q];p=te}}n.l=g,n.p=h,n.b=p,g&&(f=1,n.m=m,n.d=w,n.n=v)}while(!f);return p==t.length?t:L(t,0,p)},_=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},H=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},k=function(e,t){for(var n=[],A=0;A<e.length;++A)e[A]&&n.push({s:A,f:e[A]});var o=n.length,a=n.slice();if(!o)return[new r(0),0];if(1==o){var s=new r(n[0].s+1);return s[n[0].s]=1,[s,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var u=n[0],c=n[1],l=0,f=1,h=2;for(n[0]={s:-1,f:u.f+c.f,l:u,r:c};f!=o-1;)u=n[n[l].f<n[h].f?l++:h++],c=n[l!=f&&n[l].f<n[h].f?l++:h++],n[f++]={s:-1,f:u.f+c.f,l:u,r:c};var d=a[0].s;for(A=1;A<o;++A)a[A].s>d&&(d=a[A].s);var p=new i(d+1),g=I(n[f-1],p,0);if(g>t){A=0;var w=0,m=g-t,B=1<<m;for(a.sort((function(e,t){return p[t.s]-p[e.s]||e.f-t.f}));A<o;++A){var v=a[A].s;if(!(p[v]>t))break;w+=B-(1<<g-p[v]),p[v]=t}for(w>>>=m;w>0;){var b=a[A].s;p[b]<t?w-=1<<t-p[b]++-1:++A}for(;A>=0&&w;--A){var y=a[A].s;p[y]==t&&(--p[y],++w)}g=t}return[new r(p),g]},I=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},O=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,A=e[0],o=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==A&&s!=t)++o;else{if(!A&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(A),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(A);o=1,A=e[s]}return[n.subarray(0,r),t]},T=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},P=function(e,t,n){var r=n.length,i=x(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var A=0;A<r;++A)e[i+A+4]=n[A];return 8*(i+4+r)},R=function(e,t,n,r,A,u,c,l,f,h,d){_(t,d++,n),++A[256];for(var p=k(A,15),g=p[0],w=p[1],m=k(u,15),C=m[0],N=m[1],Q=O(g),F=Q[0],U=Q[1],x=O(C),L=x[0],S=x[1],I=new i(19),R=0;R<F.length;++R)I[31&F[R]]++;for(R=0;R<L.length;++R)I[31&L[R]]++;for(var M=k(I,7),D=M[0],K=M[1],j=19;j>4&&!D[s[j-1]];--j);var z,V,q,X,G=h+5<<3,W=T(A,v)+T(u,b)+c,J=T(A,g)+T(u,C)+c+14+3*j+T(I,D)+(2*I[16]+3*I[17]+7*I[18]);if(G<=W&&G<=J)return P(t,d,e.subarray(f,f+h));if(_(t,d,1+(J<W)),d+=2,J<W){z=B(g,w,0),V=g,q=B(C,N,0),X=C;var Y=B(D,K,0);_(t,d,U-257),_(t,d+5,S-1),_(t,d+10,j-4),d+=14;for(R=0;R<j;++R)_(t,d+3*R,D[s[R]]);d+=3*j;for(var $=[F,L],Z=0;Z<2;++Z){var ee=$[Z];for(R=0;R<ee.length;++R){var te=31&ee[R];_(t,d,Y[te]),d+=D[te],te>15&&(_(t,d,ee[R]>>>5&127),d+=ee[R]>>>12)}}}else z=y,V=v,q=E,X=b;for(R=0;R<l;++R)if(r[R]>255){te=r[R]>>>18&31;H(t,d,z[te+257]),d+=V[te+257],te>7&&(_(t,d,r[R]>>>23&31),d+=o[te]);var ne=31&r[R];H(t,d,q[ne]),d+=X[ne],ne>3&&(H(t,d,r[R]>>>5&8191),d+=a[ne])}else H(t,d,z[r[R]]),d+=V[r[R]];return H(t,d,z[256]),d+V[256]},M=new A([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),D=new r(0),K=function(e,t,n,s,u,c){var l=e.length,h=new r(s+l+5*(1+Math.floor(l/7e3))+u),d=h.subarray(s,h.length-u),g=0;if(!t||l<8)for(var w=0;w<=l;w+=65535){var m=w+65535;m<l?g=P(d,g,e.subarray(w,m)):(d[w]=c,g=P(d,g,e.subarray(w,l)))}else{for(var B=M[t-1],v=B>>>13,b=8191&B,y=(1<<n)-1,C=new i(32768),E=new i(y+1),N=Math.ceil(n/3),Q=2*N,F=function(t){return(e[t]^e[t+1]<<N^e[t+2]<<Q)&y},U=new A(25e3),S=new i(288),_=new i(32),H=0,k=0,I=(w=0,0),O=0,T=0;w<l;++w){var K=F(w),j=32767&w,z=E[K];if(C[j]=z,E[K]=j,O<=w){var V=l-w;if((H>7e3||I>24576)&&V>423){g=R(e,d,0,U,S,_,k,I,T,w-T,g),I=H=k=0,T=w;for(var q=0;q<286;++q)S[q]=0;for(q=0;q<30;++q)_[q]=0}var X=2,G=0,W=b,J=j-z&32767;if(V>2&&K==F(w-J))for(var Y=Math.min(v,V)-1,$=Math.min(32767,w),Z=Math.min(258,V);J<=$&&--W&&j!=z;){if(e[w+X]==e[w+X-J]){for(var ee=0;ee<Z&&e[w+ee]==e[w+ee-J];++ee);if(ee>X){if(X=ee,G=J,ee>Y)break;var te=Math.min(J,ee-2),ne=0;for(q=0;q<te;++q){var re=w-J+q+32768&32767,ie=re-C[re]+32768&32767;ie>ne&&(ne=ie,z=re)}}}J+=(j=z)-(z=C[j])+32768&32767}if(G){U[I++]=268435456|f[X]<<18|p[G];var Ae=31&f[X],oe=31&p[G];k+=o[Ae]+a[oe],++S[257+Ae],++_[oe],O=w+X,++H}else U[I++]=e[w],++S[e[w]]}}g=R(e,d,c,U,S,_,k,I,T,w-T,g),c||(g=P(d,g,D))}return L(h,0,s+x(g)+u)},j=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,A=n.length,o=0;o!=A;){for(var a=Math.min(o+5552,A);o<a;++o)i+=r+=n[o];r%=65521,i%=65521}e=r,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},z=function(e,t,n,r,i){return K(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},V=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},q=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},X=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function G(e,t){void 0===t&&(t={});var n=j();n.p(e);var r=z(e,t,2,4);return q(r,t),V(r,r.length-4,n.d()),r}function W(e,t){return S((X(e),e.subarray(2,-4)),t)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(47)},function(e,t,n){"use strict";e.exports=n(52)},,function(e,t,n){"use strict";(function(e){var r=n(20),i=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:this}();function A(){i.console&&"function"==typeof i.console.log&&i.console.log.apply(i.console,arguments)}var o={log:A,warn:function(e){i.console&&("function"==typeof i.console.warn?i.console.warn.apply(i.console,arguments):A.call(null,arguments))},error:function(e){i.console&&("function"==typeof i.console.error?i.console.error.apply(i.console,arguments):A(e))}};function a(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){f(r.response,t,n)},r.onerror=function(){o.error("could not download file")},r.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function u(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(i){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var c,l,f=i.saveAs||("object"!=typeof window||window!==i?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=i.URL||i.webkitURL,A=document.createElement("a");t=t||e.name||"download",A.download=t,A.rel="noopener","string"==typeof e?(A.href=e,A.origin!==location.origin?s(A.href)?a(e,t,n):u(A,A.target="_blank"):u(A)):(A.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(A.href)}),4e4),setTimeout((function(){u(A)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(s(e))a(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){u(r)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(o.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return a(e,t,n);var A="application/octet-stream"===e.type,o=/constructor/i.test(i.HTMLElement)||i.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||A&&o)&&"object"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},u.readAsDataURL(e)}else{var c=i.URL||i.webkitURL,l=c.createObjectURL(e);r?r.location=l:location.href=l,r=null,setTimeout((function(){c.revokeObjectURL(l)}),4e4)}});function h(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,A=n[r].process,o=i.exec(e);o&&(t=A(o),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function d(e,t){var n=e[0],r=e[1],i=e[2],A=e[3];n=g(n,r,i,A,t[0],7,-680876936),A=g(A,n,r,i,t[1],12,-389564586),i=g(i,A,n,r,t[2],17,606105819),r=g(r,i,A,n,t[3],22,-1044525330),n=g(n,r,i,A,t[4],7,-176418897),A=g(A,n,r,i,t[5],12,1200080426),i=g(i,A,n,r,t[6],17,-1473231341),r=g(r,i,A,n,t[7],22,-45705983),n=g(n,r,i,A,t[8],7,1770035416),A=g(A,n,r,i,t[9],12,-1958414417),i=g(i,A,n,r,t[10],17,-42063),r=g(r,i,A,n,t[11],22,-1990404162),n=g(n,r,i,A,t[12],7,1804603682),A=g(A,n,r,i,t[13],12,-40341101),i=g(i,A,n,r,t[14],17,-1502002290),n=w(n,r=g(r,i,A,n,t[15],22,1236535329),i,A,t[1],5,-165796510),A=w(A,n,r,i,t[6],9,-1069501632),i=w(i,A,n,r,t[11],14,643717713),r=w(r,i,A,n,t[0],20,-373897302),n=w(n,r,i,A,t[5],5,-701558691),A=w(A,n,r,i,t[10],9,38016083),i=w(i,A,n,r,t[15],14,-660478335),r=w(r,i,A,n,t[4],20,-405537848),n=w(n,r,i,A,t[9],5,568446438),A=w(A,n,r,i,t[14],9,-1019803690),i=w(i,A,n,r,t[3],14,-187363961),r=w(r,i,A,n,t[8],20,1163531501),n=w(n,r,i,A,t[13],5,-1444681467),A=w(A,n,r,i,t[2],9,-51403784),i=w(i,A,n,r,t[7],14,1735328473),n=m(n,r=w(r,i,A,n,t[12],20,-1926607734),i,A,t[5],4,-378558),A=m(A,n,r,i,t[8],11,-2022574463),i=m(i,A,n,r,t[11],16,1839030562),r=m(r,i,A,n,t[14],23,-35309556),n=m(n,r,i,A,t[1],4,-1530992060),A=m(A,n,r,i,t[4],11,1272893353),i=m(i,A,n,r,t[7],16,-155497632),r=m(r,i,A,n,t[10],23,-1094730640),n=m(n,r,i,A,t[13],4,681279174),A=m(A,n,r,i,t[0],11,-358537222),i=m(i,A,n,r,t[3],16,-722521979),r=m(r,i,A,n,t[6],23,76029189),n=m(n,r,i,A,t[9],4,-640364487),A=m(A,n,r,i,t[12],11,-421815835),i=m(i,A,n,r,t[15],16,530742520),n=B(n,r=m(r,i,A,n,t[2],23,-995338651),i,A,t[0],6,-198630844),A=B(A,n,r,i,t[7],10,1126891415),i=B(i,A,n,r,t[14],15,-1416354905),r=B(r,i,A,n,t[5],21,-57434055),n=B(n,r,i,A,t[12],6,1700485571),A=B(A,n,r,i,t[3],10,-1894986606),i=B(i,A,n,r,t[10],15,-1051523),r=B(r,i,A,n,t[1],21,-2054922799),n=B(n,r,i,A,t[8],6,1873313359),A=B(A,n,r,i,t[15],10,-30611744),i=B(i,A,n,r,t[6],15,-1560198380),r=B(r,i,A,n,t[13],21,1309151649),n=B(n,r,i,A,t[4],6,-145523070),A=B(A,n,r,i,t[11],10,-1120210379),i=B(i,A,n,r,t[2],15,718787259),r=B(r,i,A,n,t[9],21,-343485551),e[0]=Q(n,e[0]),e[1]=Q(r,e[1]),e[2]=Q(i,e[2]),e[3]=Q(A,e[3])}function p(e,t,n,r,i,A){return t=Q(Q(t,e),Q(r,A)),Q(t<<i|t>>>32-i,n)}function g(e,t,n,r,i,A,o){return p(t&n|~t&r,e,t,i,A,o)}function w(e,t,n,r,i,A,o){return p(t&r|n&~r,e,t,i,A,o)}function m(e,t,n,r,i,A,o){return p(t^n^r,e,t,i,A,o)}function B(e,t,n,r,i,A,o){return p(n^(t|~r),e,t,i,A,o)}function v(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)d(r,b(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(d(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,d(r,i),r}function b(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}c=i.atob.bind(i),l=i.btoa.bind(i);var y="0123456789abcdef".split("");function C(e){for(var t="",n=0;n<4;n++)t+=y[e>>8*n+4&15]+y[e>>8*n&15];return t}function E(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function N(e){return v(e).map(E).join("")}function Q(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=C(e[t]);return e.join("")}(v("hello")));function F(e,t){var n,r,i,A;if(e!==n){for(var o=(i=e,A=1+(256/e.length>>0),new Array(A+1).join(i)),a=[],s=0;s<256;s++)a[s]=s;var u=0;for(s=0;s<256;s++){var c=a[s];u=(u+c+o.charCodeAt(s))%256,a[s]=a[u],a[u]=c}n=e,r=a}else a=r;var l=t.length,f=0,h=0,d="";for(s=0;s<l;s++)h=(h+(c=a[f=(f+1)%256]))%256,a[f]=a[h],a[h]=c,o=a[(a[f]+a[h])%256],d+=String.fromCharCode(t.charCodeAt(s)^o);return d}var U={print:4,modify:8,copy:16,"annot-forms":32};function x(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==U.perm)throw new Error("Invalid permission: "+e);i+=U[e]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var A=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(A,o),this.P=-(1+(255^i)),this.encryptionKey=N(A+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=F(this.encryptionKey,this.padding)}function L(e){if("object"!=typeof e)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),A=[];for(var a in t[n]){var s=t[n][a];try{s[0].apply(e,r)}catch(e){i.console&&o.error("jsPDF PubSub Error",e.message,e)}s[1]&&A.push(a)}A.length&&A.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function S(e){if(!(this instanceof S))return new S(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function _(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function H(e,t,n,r,i){if(!(this instanceof H))return new H(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,_.call(this,r,i)}function k(e,t,n,r,i){if(!(this instanceof k))return new k(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,_.call(this,r,i)}function I(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],A=arguments[2],a=arguments[3],s=[],u=1,c=16,d="S",p=null;"object"==typeof(e=e||{})&&(n=e.orientation,r=e.unit||r,A=e.format||A,a=e.compress||e.compressPdf||a,null!==(p=e.encryption||null)&&(p.userPassword=p.userPassword||"",p.ownerPassword=p.ownerPassword||"",p.userPermissions=p.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(c=e.floatPrecision),d=e.defaultPathOperation||"S"),s=e.filters||(!0===a?["FlateEncode"]:s),r=r||"mm",n=(""+(n||"P")).toLowerCase();var g=e.putOnlyUsedFonts||!1,w={},m={internal:{},__private__:{}};m.__private__.PubSub=L;var B="1.3",v=m.__private__.getPdfVersion=function(){return B};m.__private__.setPdfVersion=function(e){B=e};var b={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return b};var y=m.__private__.getPageFormat=function(e){return b[e]};A=A||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},E=C.COMPAT;function N(){this.saveGraphicsState(),ue(new je(Ee,0,0,-Ee,0,Tn()*Ee).toString()+" cm"),this.setFontSize(this.getFontSize()/Ee),d="n",E=C.ADVANCED}function Q(){this.restoreGraphicsState(),d="S",E=C.COMPAT}var F=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&e!==t&&(e=400==t?"italic"==e?"italic":"normal":700==t&&"italic"!==e?"bold":e+""+t),e};m.advancedAPI=function(e){var t=E===C.COMPAT;return t&&N.call(this),"function"!=typeof e||(e(this),t&&Q.call(this)),this},m.compatAPI=function(e){var t=E===C.ADVANCED;return t&&Q.call(this),"function"!=typeof e||(e(this),t&&N.call(this)),this},m.isAdvancedAPI=function(){return E===C.ADVANCED};var U,_=function(e){if(E!==C.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},O=m.roundToPrecision=m.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};U=m.hpf=m.__private__.hpf="number"==typeof c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return O(e,c)}:"smart"===c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return O(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return O(e,16)};var T=m.f2=m.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return O(e,2)},P=m.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return O(e,3)},R=m.scale=m.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return E===C.COMPAT?e*Ee:E===C.ADVANCED?e:void 0},M=function(e){return E===C.COMPAT?Tn()-e:E===C.ADVANCED?e:void 0},D=function(e){return R(M(e))};m.__private__.setPrecision=m.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var K,j="00000000000000000000000000000000",z=m.__private__.getFileId=function(){return j},V=m.__private__.setFileId=function(e){return j=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():j.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==p&&(Vt=new x(p.userPermissions,p.userPassword,p.ownerPassword,j)),j};m.setFileId=function(e){return V(e),this},m.getFileId=function(){return z()};var q=m.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),A=[n,Y(r),"'",Y(i),"'"].join("");return["D:",e.getFullYear(),Y(e.getMonth()+1),Y(e.getDate()),Y(e.getHours()),Y(e.getMinutes()),Y(e.getSeconds()),A].join("")},X=m.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),A=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,A,o,0)},G=m.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=q(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return K=t},W=m.__private__.getCreationDate=function(e){var t=K;return"jsDate"===e&&(t=X(K)),t};m.setCreationDate=function(e){return G(e),this},m.getCreationDate=function(e){return W(e)};var J,Y=m.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},$=m.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Z=0,ee=[],te=[],ne=0,re=[],ie=[],Ae=!1,oe=te,ae=function(){Z=0,ne=0,te=[],ee=[],re=[],Ye=Ge(),$e=Ge()};m.__private__.setCustomOutputDestination=function(e){Ae=!0,oe=e};var se=function(e){Ae||(oe=e)};m.__private__.resetCustomOutputDestination=function(){Ae=!1,oe=te};var ue=m.__private__.out=function(e){return e=e.toString(),ne+=e.length+1,oe.push(e),oe},ce=m.__private__.write=function(e){return ue(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},le=m.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},fe=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return fe};var he=e.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(e){return he=E===C.ADVANCED?e/Ee:e,this};var de,pe=m.__private__.getFontSize=m.getFontSize=function(){return E===C.COMPAT?he:he*Ee},ge=e.R2L||!1;m.__private__.setR2L=m.setR2L=function(e){return ge=e,this},m.__private__.getR2L=m.getR2L=function(){return ge};var we,me=m.__private__.setZoomMode=function(e){if(/^\d*\.?\d*%$/.test(e))de=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');de=e}else de=parseInt(e,10)};m.__private__.getZoomMode=function(){return de};var Be,ve=m.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');we=e};m.__private__.getPageMode=function(){return we};var be=m.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');Be=e};m.__private__.getLayoutMode=function(){return Be},m.__private__.setDisplayMode=m.setDisplayMode=function(e,t,n){return me(e),be(t),ve(n),this};var ye={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ye).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ye[e]},m.__private__.getDocumentProperties=function(){return ye},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(e){for(var t in ye)ye.hasOwnProperty(t)&&e[t]&&(ye[t]=e[t]);return this},m.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ye).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ye[e]=t};var Ce,Ee,Ne,Qe,Fe,Ue={},xe={},Le=[],Se={},_e={},He={},ke={},Ie=null,Oe=0,Te=[],Pe=new L(m),Re=e.hotfixes||[],Me={},De={},Ke=[],je=function e(t,n,r,i,A,o){if(!(this instanceof e))return new e(t,n,r,i,A,o);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(A)&&(A=0),isNaN(o)&&(o=0),this._matrix=[t,n,r,i,A,o]};Object.defineProperty(je.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(je.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(je.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(je.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(je.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(je.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(je.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(je.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(je.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(je.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(je.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(je.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(je.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(je.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(je.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(je.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),je.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(U).join(e)},je.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,A=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new je(t,n,r,i,A,o)},je.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,A=this.ty,o=Math.sqrt(e*e+t*t),a=(e/=o)*n+(t/=o)*r;n-=e*a,r-=t*a;var s=Math.sqrt(n*n+r*r);return a/=s,e*(r/=s)<t*(n/=s)&&(e=-e,t=-t,a=-a,o=-o),{scale:new je(o,0,0,s,0,0),translate:new je(1,0,0,1,i,A),rotate:new je(e,t,-t,e,0,0),skew:new je(1,0,a,1,0,0)}},je.prototype.toString=function(e){return this.join(" ")},je.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,A=this.ty,o=1/(e*r-t*n),a=r*o,s=-t*o,u=-n*o,c=e*o;return new je(a,s,u,c,-a*i-u*A,-s*i-c*A)},je.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new xn(t,n)},je.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new xn(e.x+e.w,e.y+e.h));return new Ln(t.x,t.y,n.x-t.x,n.y-t.y)},je.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,A=this.ty;return new je(e,t,n,r,i,A)},m.Matrix=je;var ze=m.matrixMult=function(e,t){return t.multiply(e)},Ve=new je(1,0,0,1,0,0);m.unitMatrix=m.identityMatrix=Ve;var qe=function(e,t){if(!_e[e]){var n=(t instanceof H?"Sh":"P")+(Object.keys(Se).length+1).toString(10);t.id=n,_e[e]=n,Se[n]=t,Pe.publish("addPattern",t)}};m.ShadingPattern=H,m.TilingPattern=k,m.addShadingPattern=function(e,t){return _("addShadingPattern()"),qe(e,t),this},m.beginTilingPattern=function(e){_("beginTilingPattern()"),_n(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},m.endTilingPattern=function(e,t){_("endTilingPattern()"),t.stream=ie[J].join("\n"),qe(e,t),Pe.publish("endTilingPattern",t),Ke.pop().restore()};var Xe=m.__private__.newObject=function(){var e=Ge();return We(e,!0),e},Ge=m.__private__.newObjectDeferred=function(){return Z++,ee[Z]=function(){return ne},Z},We=function(e,t){return t="boolean"==typeof t&&t,ee[e]=ne,t&&ue(e+" 0 obj"),e},Je=m.__private__.newAdditionalObject=function(){var e={objId:Ge(),content:""};return re.push(e),e},Ye=Ge(),$e=Ge(),Ze=m.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},et=m.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,i=e.ch3,A=e.ch4,o="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var a=new h(n);if(a.ok)n=a.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var s=parseInt(n.substr(1),16);n=s>>16&255,r=s>>8&255,i=255&s}if(void 0===r||void 0===A&&n===r&&r===i)if("string"==typeof n)t=n+" "+o[0];else switch(e.precision){case 2:t=T(n/255)+" "+o[0];break;case 3:default:t=P(n/255)+" "+o[0]}else if(void 0===A||"object"==typeof A){if(A&&!isNaN(A.a)&&0===A.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof n)t=[n,r,i,o[1]].join(" ");else switch(e.precision){case 2:t=[T(n/255),T(r/255),T(i/255),o[1]].join(" ");break;default:case 3:t=[P(n/255),P(r/255),P(i/255),o[1]].join(" ")}}else if("string"==typeof n)t=[n,r,i,A,o[2]].join(" ");else switch(e.precision){case 2:t=[T(n),T(r),T(i),T(A),o[2]].join(" ");break;case 3:default:t=[P(n),P(r),P(i),P(A),o[2]].join(" ")}return t},tt=m.__private__.getFilters=function(){return s},nt=m.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||tt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,A=t.length,o=e.objectId,a=function(e){return e};if(null!==p&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==p&&(a=Vt.encryptor(o,0));var s={};!0===n&&(n=["FlateEncode"]);var u=e.additionalKeyValues||[],c=(s=void 0!==I.API.processDataByFilters?I.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==s.data.length&&(u.push({key:"Length",value:s.data.length}),!0===i&&u.push({key:"Length1",value:A})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var l=0;l<u.length;l+=1)if("DecodeParms"===u[l].key){for(var f=[],h=0;h<s.reverseChain.split("/").length-1;h+=1)f.push("null");f.push(u[l].value),u[l].value="["+f.join(" ")+"]"}}ue("<<");for(var d=0;d<u.length;d++)ue("/"+u[d].key+" "+u[d].value);ue(">>"),0!==s.data.length&&(ue("stream"),ue(a(s.data)),ue("endstream"))},rt=m.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;We(r,!0),ue("<</Type /Page"),ue("/Parent "+e.rootDictionaryObjId+" 0 R"),ue("/Resources "+e.resourceDictionaryObjId+" 0 R"),ue("/MediaBox ["+parseFloat(U(e.mediaBox.bottomLeftX))+" "+parseFloat(U(e.mediaBox.bottomLeftY))+" "+U(e.mediaBox.topRightX)+" "+U(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ue("/CropBox ["+U(e.cropBox.bottomLeftX)+" "+U(e.cropBox.bottomLeftY)+" "+U(e.cropBox.topRightX)+" "+U(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ue("/BleedBox ["+U(e.bleedBox.bottomLeftX)+" "+U(e.bleedBox.bottomLeftY)+" "+U(e.bleedBox.topRightX)+" "+U(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ue("/TrimBox ["+U(e.trimBox.bottomLeftX)+" "+U(e.trimBox.bottomLeftY)+" "+U(e.trimBox.topRightX)+" "+U(e.trimBox.topRightY)+"]"),null!==e.artBox&&ue("/ArtBox ["+U(e.artBox.bottomLeftX)+" "+U(e.artBox.bottomLeftY)+" "+U(e.artBox.topRightX)+" "+U(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ue("/UserUnit "+e.userUnit),Pe.publish("putPage",{objId:r,pageContext:Te[t],pageNumber:t,page:n}),ue("/Contents "+i+" 0 R"),ue(">>"),ue("endobj");var A=n.join("\n");return E===C.ADVANCED&&(A+="\nQ"),We(i,!0),nt({data:A,filters:tt(),objectId:i}),ue("endobj"),r},it=m.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Oe;e++)Te[e].objId=Ge(),Te[e].contentsObjId=Ge();for(e=1;e<=Oe;e++)n.push(rt({number:e,data:ie[e],objId:Te[e].objId,contentsObjId:Te[e].contentsObjId,mediaBox:Te[e].mediaBox,cropBox:Te[e].cropBox,bleedBox:Te[e].bleedBox,trimBox:Te[e].trimBox,artBox:Te[e].artBox,userUnit:Te[e].userUnit,rootDictionaryObjId:Ye,resourceDictionaryObjId:$e}));We(Ye,!0),ue("<</Type /Pages");var r="/Kids [";for(t=0;t<Oe;t++)r+=n[t]+" 0 R ";ue(r+"]"),ue("/Count "+Oe),ue(">>"),ue("endobj"),Pe.publish("postPutPages")},At=function(e){var t=function(e,t){return-1!==e.indexOf(" ")?"("+xt(e,t)+")":xt(e,t)};Pe.publish("putFont",{font:e,out:ue,newObject:Xe,putStream:nt,pdfEscapeWithNeededParanthesis:t}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),ue("<<"),ue("/Type /Font"),ue("/BaseFont /"+t(e.postScriptName)),ue("/Subtype /Type1"),"string"==typeof e.encoding&&ue("/Encoding /"+e.encoding),ue("/FirstChar 32"),ue("/LastChar 255"),ue(">>"),ue("endobj"))},ot=function(){for(var e in Ue)Ue.hasOwnProperty(e)&&(!1===g||!0===g&&w.hasOwnProperty(e))&&At(Ue[e])},at=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[U(e.x),U(e.y),U(e.x+e.width),U(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");nt({data:n,additionalKeyValues:t,objectId:e.objectNumber}),ue("endobj")},st=function(){for(var e in Me)Me.hasOwnProperty(e)&&at(Me[e])},ut=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var A={offset:0,color:e[0].color};e.unshift(A)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var a="",s=0,u=0;u<r.length;u++){for(n=r[u];n>e[s+1].offset;)s++;var c=e[s].offset,l=(n-c)/(e[s+1].offset-c),f=e[s].color,h=e[s+1].color;a+=$(Math.round((1-l)*f[0]+l*h[0]).toString(16))+$(Math.round((1-l)*f[1]+l*h[1]).toString(16))+$(Math.round((1-l)*f[2]+l*h[2]).toString(16))}return a.trim()},ct=function(e,t){t||(t=21);var n=Xe(),r=ut(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),ue("endobj"),e.objectNumber=Xe(),ue("<< /ShadingType "+e.type),ue("/ColorSpace /DeviceRGB");var A="/Coords ["+U(parseFloat(e.coords[0]))+" "+U(parseFloat(e.coords[1]))+" ";2===e.type?A+=U(parseFloat(e.coords[2]))+" "+U(parseFloat(e.coords[3])):A+=U(parseFloat(e.coords[2]))+" "+U(parseFloat(e.coords[3]))+" "+U(parseFloat(e.coords[4]))+" "+U(parseFloat(e.coords[5])),ue(A+="]"),e.matrix&&ue("/Matrix ["+e.matrix.toString()+"]"),ue("/Function "+n+" 0 R"),ue("/Extend [true true]"),ue(">>"),ue("endobj")},lt=function(e,t){var n=Ge(),r=Xe();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(U).join(" ")+"]"}),i.push({key:"XStep",value:U(e.xStep)}),i.push({key:"YStep",value:U(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),nt({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),ue("endobj")},ft=function(e){var t;for(t in Se)Se.hasOwnProperty(t)&&(Se[t]instanceof H?ct(Se[t]):Se[t]instanceof k&&lt(Se[t],e))},ht=function(e){for(var t in e.objectNumber=Xe(),ue("<<"),e)switch(t){case"opacity":ue("/ca "+T(e[t]));break;case"stroke-opacity":ue("/CA "+T(e[t]))}ue(">>"),ue("endobj")},dt=function(){var e;for(e in He)He.hasOwnProperty(e)&&ht(He[e])},pt=function(){for(var e in ue("/XObject <<"),Me)Me.hasOwnProperty(e)&&Me[e].objectNumber>=0&&ue("/"+e+" "+Me[e].objectNumber+" 0 R");Pe.publish("putXobjectDict"),ue(">>")},gt=function(){Vt.oid=Xe(),ue("<<"),ue("/Filter /Standard"),ue("/V "+Vt.v),ue("/R "+Vt.r),ue("/U <"+Vt.toHexString(Vt.U)+">"),ue("/O <"+Vt.toHexString(Vt.O)+">"),ue("/P "+Vt.P),ue(">>"),ue("endobj")},wt=function(){for(var e in ue("/Font <<"),Ue)Ue.hasOwnProperty(e)&&(!1===g||!0===g&&w.hasOwnProperty(e))&&ue("/"+e+" "+Ue[e].objectNumber+" 0 R");ue(">>")},mt=function(){if(Object.keys(Se).length>0){for(var e in ue("/Shading <<"),Se)Se.hasOwnProperty(e)&&Se[e]instanceof H&&Se[e].objectNumber>=0&&ue("/"+e+" "+Se[e].objectNumber+" 0 R");Pe.publish("putShadingPatternDict"),ue(">>")}},Bt=function(e){if(Object.keys(Se).length>0){for(var t in ue("/Pattern <<"),Se)Se.hasOwnProperty(t)&&Se[t]instanceof m.TilingPattern&&Se[t].objectNumber>=0&&Se[t].objectNumber<e&&ue("/"+t+" "+Se[t].objectNumber+" 0 R");Pe.publish("putTilingPatternDict"),ue(">>")}},vt=function(){if(Object.keys(He).length>0){var e;for(e in ue("/ExtGState <<"),He)He.hasOwnProperty(e)&&He[e].objectNumber>=0&&ue("/"+e+" "+He[e].objectNumber+" 0 R");Pe.publish("putGStateDict"),ue(">>")}},bt=function(e){We(e.resourcesOid,!0),ue("<<"),ue("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),wt(),mt(),Bt(e.objectOid),vt(),pt(),ue(">>"),ue("endobj")},yt=function(){var e=[];ot(),dt(),st(),ft(e),Pe.publish("putResources"),e.forEach(bt),bt({resourcesOid:$e,objectOid:Number.MAX_SAFE_INTEGER}),Pe.publish("postPutResources")},Ct=function(){Pe.publish("putAdditionalObjects");for(var e=0;e<re.length;e++){var t=re[e];We(t.objId,!0),ue(t.content),ue("endobj")}Pe.publish("postPutAdditionalObjects")},Et=function(e){xe[e.fontName]=xe[e.fontName]||{},xe[e.fontName][e.fontStyle]=e.id},Nt=function(e,t,n,r,i){var A={id:"F"+(Object.keys(Ue).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Pe.publish("addFont",{font:A,instance:this}),Ue[A.id]=A,Et(A),A.id},Qt=function(e){for(var t=0,n=fe.length;t<n;t++){var r=Nt.call(this,e[t][0],e[t][1],e[t][2],fe[t][3],!0);!1===g&&(w[r]=!0);var i=e[t][0].split("-");Et({id:r,fontName:i[0],fontStyle:i[1]||""})}Pe.publish("addFonts",{fonts:Ue,dictionary:xe})},Ft=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!i.console)throw new Error(n);i.console.error(n,e),i.alert&&alert(n)}},e.foo.bar=e,e.foo},Ut=function(e,t){var n,r,i,A,o,a,s,u,c;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&Ue[Ce].metadata&&Ue[Ce].metadata[i]&&Ue[Ce].metadata[i].encoding&&(A=Ue[Ce].metadata[i].encoding,!o&&Ue[Ce].encoding&&(o=Ue[Ce].encoding),!o&&A.codePages&&(o=A.codePages[0]),"string"==typeof o&&(o=A[o]),o)){for(s=!1,a=[],n=0,r=e.length;n<r;n++)(u=o[e.charCodeAt(n)])?a.push(String.fromCharCode(u)):a.push(e[n]),a[n].charCodeAt(0)>>8&&(s=!0);e=a.join("")}for(n=e.length;void 0===s&&0!==n;)e.charCodeAt(n-1)>>8&&(s=!0),n--;if(!s)return e;for(a=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((c=(u=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(c),a.push(u-(c<<8))}return String.fromCharCode.apply(void 0,a)},xt=m.__private__.pdfEscape=m.pdfEscape=function(e,t){return Ut(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Lt=m.__private__.beginPage=function(e){ie[++Oe]=[],Te[Oe]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Ht(Oe),se(ie[J])},St=function(e,t){var r,i,a;switch(n=t||n,"string"==typeof e&&(r=y(e.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(e)&&(i=e[0]*Ee,a=e[1]*Ee),isNaN(i)&&(i=A[0],a=A[1]),(i>14400||a>14400)&&(o.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),A=[i,a],n.substr(0,1)){case"l":a>i&&(A=[a,i]);break;case"p":i>a&&(A=[a,i])}Lt(A),fn(ln),ue(vn),0!==Qn&&ue(Qn+" J"),0!==Fn&&ue(Fn+" j"),Pe.publish("addPage",{pageNumber:Oe})},_t=function(e){e>0&&e<=Oe&&(ie.splice(e,1),Te.splice(e,1),Oe--,J>Oe&&(J=Oe),this.setPage(J))},Ht=function(e){e>0&&e<=Oe&&(J=e)},kt=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return ie.length-1},It=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:Ue[Ce].fontName,t=void 0!==t?t:Ue[Ce].fontStyle,r=e.toLowerCase(),void 0!==xe[r]&&void 0!==xe[r][t]?i=xe[r][t]:void 0!==xe[e]&&void 0!==xe[e][t]?i=xe[e][t]:!1===n.disableWarning&&o.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=xe.times[t])&&(i=xe.times.normal),i},Ot=m.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var n in null!==p&&(t=Vt.encryptor(e,0)),ue("<<"),ue("/Producer ("+xt(t("jsPDF "+I.version))+")"),ye)ye.hasOwnProperty(n)&&ye[n]&&ue("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+xt(t(ye[n]))+")");ue("/CreationDate ("+xt(t(K))+")"),ue(">>"),ue("endobj")},Tt=m.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ye;switch(Xe(),ue("<<"),ue("/Type /Catalog"),ue("/Pages "+t+" 0 R"),de||(de="fullwidth"),de){case"fullwidth":ue("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ue("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ue("/OpenAction [3 0 R /Fit]");break;case"original":ue("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+de;"%"===n.substr(n.length-1)&&(de=parseInt(de)/100),"number"==typeof de&&ue("/OpenAction [3 0 R /XYZ null null "+T(de)+"]")}switch(Be||(Be="continuous"),Be){case"continuous":ue("/PageLayout /OneColumn");break;case"single":ue("/PageLayout /SinglePage");break;case"two":case"twoleft":ue("/PageLayout /TwoColumnLeft");break;case"tworight":ue("/PageLayout /TwoColumnRight")}we&&ue("/PageMode /"+we),Pe.publish("putCatalog"),ue(">>"),ue("endobj")},Pt=m.__private__.putTrailer=function(){ue("trailer"),ue("<<"),ue("/Size "+(Z+1)),ue("/Root "+Z+" 0 R"),ue("/Info "+(Z-1)+" 0 R"),null!==p&&ue("/Encrypt "+Vt.oid+" 0 R"),ue("/ID [ <"+j+"> <"+j+"> ]"),ue(">>")},Rt=m.__private__.putHeader=function(){ue("%PDF-"+B),ue("%\xba\xdf\xac\xe0")},Mt=m.__private__.putXRef=function(){var e="0000000000";ue("xref"),ue("0 "+(Z+1)),ue("0000000000 65535 f ");for(var t=1;t<=Z;t++)"function"==typeof ee[t]?ue((e+ee[t]()).slice(-10)+" 00000 n "):void 0!==ee[t]?ue((e+ee[t]).slice(-10)+" 00000 n "):ue("0000000000 00000 n ")},Dt=m.__private__.buildDocument=function(){ae(),se(te),Pe.publish("buildDocument"),Rt(),it(),Ct(),yt(),null!==p&&gt(),Ot(),Tt();var e=ne;return Mt(),Pt(),ue("startxref"),ue(""+e),ue("%%EOF"),se(ie[J]),te.join("\n")},Kt=m.__private__.getBlob=function(e){return new Blob([le(e)],{type:"application/pdf"})},jt=m.output=m.__private__.output=Ft((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Dt();case"save":m.save(t.filename);break;case"arraybuffer":return le(Dt());case"blob":return Kt(Dt());case"bloburi":case"bloburl":if(void 0!==i.URL&&"function"==typeof i.URL.createObjectURL)return i.URL&&i.URL.createObjectURL(Kt(Dt()))||void 0;o.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=Dt();try{n=l(r)}catch(e){n=l(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(i)){var A='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+(t.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",a=i.open();return null!==a&&a.document.write(A),a}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(i)){var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',u=i.open();if(null!==u){u.document.write(s);var c=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=t.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(i))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var f='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',h=i.open();if(null!==h&&(h.document.write(f),h.document.title=t.filename),h||"undefined"==typeof safari)return h;break;case"datauri":case"dataurl":return i.document.location.href=this.output("datauristring",t);default:return null}})),zt=function(e){return!0===Array.isArray(Re)&&Re.indexOf(e)>-1};switch(r){case"pt":Ee=1;break;case"mm":Ee=72/25.4;break;case"cm":Ee=72/2.54;break;case"in":Ee=72;break;case"px":Ee=1==zt("px_scaling")?.75:96/72;break;case"pc":case"em":Ee=12;break;case"ex":Ee=6;break;default:throw new Error("Invalid unit: "+r)}var Vt=null;G(),V();var qt=function(e){return null!==p?Vt.encryptor(e,0):function(e){return e}},Xt=m.__private__.getPageInfo=m.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Te[e].objId,pageNumber:e,pageContext:Te[e]}},Gt=m.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Te)if(Te[t].objId===e)break;return Xt(t)},Wt=m.__private__.getCurrentPageInfo=m.getCurrentPageInfo=function(){return{objId:Te[J].objId,pageNumber:J,pageContext:Te[J]}};m.addPage=function(){return St.apply(this,arguments),this},m.setPage=function(){return Ht.apply(this,arguments),se.call(this,ie[J]),this},m.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},m.movePage=function(e,t){var n,r;if(e>t){n=ie[e],r=Te[e];for(var i=e;i>t;i--)ie[i]=ie[i-1],Te[i]=Te[i-1];ie[t]=n,Te[t]=r,this.setPage(t)}else if(e<t){n=ie[e],r=Te[e];for(var A=e;A<t;A++)ie[A]=ie[A+1],Te[A]=Te[A+1];ie[t]=n,Te[t]=r,this.setPage(t)}return this},m.deletePage=function(){return _t.apply(this,arguments),this},m.__private__.text=m.text=function(e,t,n,r,i){var A,o,a,s,u,c,l,f,h=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var d=n;n=t,t=e,e=d}if(arguments[3]instanceof je==0?(a=arguments[4],s=arguments[5],"object"==typeof(l=arguments[3])&&null!==l||("string"==typeof a&&(s=a,a=null),"string"==typeof l&&(s=l,l=null),"number"==typeof l&&(a=l,l=null),r={flags:l,angle:a,align:s})):(_("The transform parameter of text() with a Matrix value"),f=i),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return h;var p="",g=!1,m="number"==typeof r.lineHeightFactor?r.lineHeightFactor:cn,B=h.internal.scaleFactor;function v(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),xt(e,l)}function b(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function y(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,A=e.concat(),o=[],a=A.length;a--;)"string"==typeof(r=A.shift())?o.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),o.push([i[0],i[1],i[2]]));n=o}return n}var N=!1,Q=!0;if("string"==typeof e)N=!0;else if(Array.isArray(e)){var F=e.concat();o=[];for(var x,L=F.length;L--;)("string"!=typeof(x=F.shift())||Array.isArray(x)&&"string"!=typeof x[0])&&(Q=!1);N=Q}if(!1===N)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var S=he/h.internal.scaleFactor,H=S*(cn-1);switch(r.baseline){case"bottom":n-=H;break;case"top":n+=S-H;break;case"hanging":n+=S-2*H;break;case"middle":n+=S/2-H}if((c=r.maxWidth||0)>0&&("string"==typeof e?e=h.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(h.splitTextToSize(t,c))}),[]))),A={text:e,x:t,y:n,options:r,mutex:{pdfEscape:xt,activeFontKey:Ce,fonts:Ue,activeFontSize:he}},Pe.publish("preProcessText",A),e=A.text,a=(r=A.options).angle,f instanceof je==0&&a&&"number"==typeof a){a*=Math.PI/180,0===r.rotationDirection&&(a=-a),E===C.ADVANCED&&(a=-a);var k=Math.cos(a),I=Math.sin(a);f=new je(k,I,-I,k,0,0)}else a&&a instanceof je&&(f=a);E!==C.ADVANCED||f||(f=Ve),void 0!==(u=r.charSpace||En)&&(p+=U(R(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),r.lang;var O=-1,T=void 0!==r.renderingMode?r.renderingMode:r.stroke,P=h.internal.getCurrentPageInfo().pageContext;switch(T){case 0:case!1:case"fill":O=0;break;case 1:case!0:case"stroke":O=1;break;case 2:case"fillThenStroke":O=2;break;case 3:case"invisible":O=3;break;case 4:case"fillAndAddForClipping":O=4;break;case 5:case"strokeAndAddPathForClipping":O=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":O=6;break;case 7:case"addToPathForClipping":O=7}var M=void 0!==P.usedRenderingMode?P.usedRenderingMode:-1;-1!==O?p+=O+" Tr\n":-1!==M&&(p+="0 Tr\n"),-1!==O&&(P.usedRenderingMode=O),s=r.align||"left";var D,K=he*m,j=h.internal.pageSize.getWidth(),z=Ue[Ce];u=r.charSpace||En,c=r.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},r.flags);var V=[];if("[object Array]"===Object.prototype.toString.call(e)){var q;o=b(e),"left"!==s&&(D=o.map((function(e){return h.getStringUnitWidth(e,{font:z,charSpace:u,fontSize:he,doKerning:!1})*he/B})));var X,G=0;if("right"===s){t-=D[0],e=[],L=o.length;for(var W=0;W<L;W++)0===W?(X=gn(t),q=wn(n)):(X=R(G-D[W]),q=-K),e.push([o[W],X,q]),G=D[W]}else if("center"===s){t-=D[0]/2,e=[],L=o.length;for(var J=0;J<L;J++)0===J?(X=gn(t),q=wn(n)):(X=R((G-D[J])/2),q=-K),e.push([o[J],X,q]),G=D[J]}else if("left"===s){e=[],L=o.length;for(var Y=0;Y<L;Y++)e.push(o[Y])}else{if("justify"!==s)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],L=o.length,c=0!==c?c:j;for(var $=0;$<L;$++)q=0===$?wn(n):-K,X=0===$?gn(t):0,$<L-1&&V.push(U(R((c-D[$])/(o[$].split(" ").length-1)))),e.push([o[$],X,q])}}var Z="boolean"==typeof r.R2L?r.R2L:ge;!0===Z&&(e=y(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),A={text:e,x:t,y:n,options:r,mutex:{pdfEscape:xt,activeFontKey:Ce,fonts:Ue,activeFontSize:he}},Pe.publish("postProcessText",A),e=A.text,g=A.mutex.isHex||!1;var ee=Ue[Ce].encoding;"WinAnsiEncoding"!==ee&&"StandardEncoding"!==ee||(e=y(e,(function(e,t,n){return[v(e),t,n]}))),o=b(e),e=[];for(var te,ne,re,ie=0,Ae=1,oe=Array.isArray(o[0])?Ae:ie,ae="",se=function(e,t,n){var i="";return n instanceof je?(n="number"==typeof r.angle?ze(n,new je(1,0,0,1,e,t)):ze(new je(1,0,0,1,e,t),n),E===C.ADVANCED&&(n=ze(new je(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=U(e)+" "+U(t)+" Td\n",i},ce=0;ce<o.length;ce++){switch(ae="",oe){case Ae:re=(g?"<":"(")+o[ce][0]+(g?">":")"),te=parseFloat(o[ce][1]),ne=parseFloat(o[ce][2]);break;case ie:re=(g?"<":"(")+o[ce]+(g?">":")"),te=gn(t),ne=wn(n)}void 0!==V&&void 0!==V[ce]&&(ae=V[ce]+" Tw\n"),0===ce?e.push(ae+se(te,ne,f)+re):oe===ie?e.push(ae+re):oe===Ae&&e.push(ae+se(te,ne,f)+re)}e=oe===ie?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var le="BT\n/";return le+=Ce+" "+he+" Tf\n",le+=U(he*m)+" TL\n",le+=yn+"\n",le+=p,le+=e,ue(le+="ET"),w[Ce]=!0,h};var Jt=m.__private__.clip=m.clip=function(e){return ue("evenodd"===e?"W*":"W"),this};m.clipEvenOdd=function(){return Jt("evenodd")},m.__private__.discardPath=m.discardPath=function(){return ue("n"),this};var Yt=m.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};m.__private__.setDefaultPathOperation=m.setDefaultPathOperation=function(e){return Yt(e)&&(d=e),this};var $t=m.__private__.getStyle=m.getStyle=function(e){var t=d;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Zt=m.close=function(){return ue("h"),this};m.stroke=function(){return ue("S"),this},m.fill=function(e){return en("f",e),this},m.fillEvenOdd=function(e){return en("f*",e),this},m.fillStroke=function(e){return en("B",e),this},m.fillStrokeEvenOdd=function(e){return en("B*",e),this};var en=function(e,t){"object"==typeof t?rn(t,e):ue(e)},tn=function(e){null===e||E===C.ADVANCED&&void 0===e||(e=$t(e),ue(e))};function nn(e,t,n,r,i){var A=new k(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);A.stream=this.stream;var o=e+"$$"+this.cloneIndex+++"$$";return qe(o,A),A}var rn=function(e,t){var n=_e[e.key],r=Se[n];if(r instanceof H)ue("q"),ue(An(t)),r.gState&&m.setGState(r.gState),ue(e.matrix.toString()+" cm"),ue("/"+n+" sh"),ue("Q");else if(r instanceof k){var i=new je(1,0,0,-1,0,Tn());e.matrix&&(i=i.multiply(e.matrix||Ve),n=nn.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),ue("q"),ue("/Pattern cs"),ue("/"+n+" scn"),r.gState&&m.setGState(r.gState),ue(t),ue("Q")}},An=function(e){switch(e){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},on=m.moveTo=function(e,t){return ue(U(R(e))+" "+U(D(t))+" m"),this},an=m.lineTo=function(e,t){return ue(U(R(e))+" "+U(D(t))+" l"),this},sn=m.curveTo=function(e,t,n,r,i,A){return ue([U(R(e)),U(D(t)),U(R(n)),U(D(r)),U(R(i)),U(D(A)),"c"].join(" ")),this};m.__private__.line=m.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Yt(i))throw new Error("Invalid arguments passed to jsPDF.line");return E===C.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},m.__private__.lines=m.lines=function(e,t,n,r,i,A){var o,a,s,u,c,l,f,h,d,p,g,w;if("number"==typeof e&&(w=n,n=t,t=e,e=w),r=r||[1,1],A=A||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Yt(i)||"boolean"!=typeof A)throw new Error("Invalid arguments passed to jsPDF.lines");for(on(t,n),o=r[0],a=r[1],u=e.length,p=t,g=n,s=0;s<u;s++)2===(c=e[s]).length?(p=c[0]*o+p,g=c[1]*a+g,an(p,g)):(l=c[0]*o+p,f=c[1]*a+g,h=c[2]*o+p,d=c[3]*a+g,p=c[4]*o+p,g=c[5]*a+g,sn(l,f,h,d,p,g));return A&&Zt(),tn(i),this},m.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":on(r[0],r[1]);break;case"l":an(r[0],r[1]);break;case"c":sn.apply(this,r);break;case"h":Zt()}}return this},m.__private__.rect=m.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Yt(i))throw new Error("Invalid arguments passed to jsPDF.rect");return E===C.COMPAT&&(r=-r),ue([U(R(e)),U(D(t)),U(R(n)),U(R(r)),"re"].join(" ")),tn(i),this},m.__private__.triangle=m.triangle=function(e,t,n,r,i,A,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(A)||!Yt(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,A-r],[e-i,t-A]],e,t,[1,1],o,!0),this},m.__private__.roundedRect=m.roundedRect=function(e,t,n,r,i,A,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(A)||!Yt(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),A=Math.min(A,.5*r),this.lines([[n-2*i,0],[i*a,0,i,A-A*a,i,A],[0,r-2*A],[0,A*a,-i*a,A,-i,A],[2*i-n,0],[-i*a,0,-i,-A*a,-i,-A],[0,2*A-r],[0,-A*a,i*a,-A,i,-A]],e+i,t,[1,1],o,!0),this},m.__private__.ellipse=m.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Yt(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var A=4/3*(Math.SQRT2-1)*n,o=4/3*(Math.SQRT2-1)*r;return on(e+n,t),sn(e+n,t-o,e+A,t-r,e,t-r),sn(e-A,t-r,e-n,t-o,e-n,t),sn(e-n,t+o,e-A,t+r,e,t+r),sn(e+A,t+r,e+n,t+o,e+n,t),tn(i),this},m.__private__.circle=m.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Yt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},m.setFont=function(e,t,n){return n&&(t=F(t,n)),Ce=It(e,t,{disableWarning:!1}),this};var un=m.__private__.getFont=m.getFont=function(){return Ue[It.apply(m,arguments)]};m.__private__.getFontList=m.getFontList=function(){var e,t,n={};for(e in xe)if(xe.hasOwnProperty(e))for(t in n[e]=[],xe[e])xe[e].hasOwnProperty(t)&&n[e].push(t);return n},m.addFont=function(e,t,n,r,i){var A=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==A.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==A.indexOf(arguments[3])&&(n=F(n,r)),i=i||"Identity-H",Nt.call(this,e,t,n,i)};var cn,ln=e.lineWidth||.200025,fn=m.__private__.setLineWidth=m.setLineWidth=function(e){return ue(U(R(e))+" w"),this};m.__private__.setLineDash=I.API.setLineDash=I.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return U(R(e))})).join(" "),t=U(R(t)),ue("["+e+"] "+t+" d"),this};var hn=m.__private__.getLineHeight=m.getLineHeight=function(){return he*cn};m.__private__.getLineHeight=m.getLineHeight=function(){return he*cn};var dn=m.__private__.setLineHeightFactor=m.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(cn=e),this},pn=m.__private__.getLineHeightFactor=m.getLineHeightFactor=function(){return cn};dn(e.lineHeight);var gn=m.__private__.getHorizontalCoordinate=function(e){return R(e)},wn=m.__private__.getVerticalCoordinate=function(e){return E===C.ADVANCED?e:Te[J].mediaBox.topRightY-Te[J].mediaBox.bottomLeftY-R(e)},mn=m.__private__.getHorizontalCoordinateString=m.getHorizontalCoordinateString=function(e){return U(gn(e))},Bn=m.__private__.getVerticalCoordinateString=m.getVerticalCoordinateString=function(e){return U(wn(e))},vn=e.strokeColor||"0 G";m.__private__.getStrokeColor=m.getDrawColor=function(){return Ze(vn)},m.__private__.setStrokeColor=m.setDrawColor=function(e,t,n,r){return vn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),ue(vn),this};var bn=e.fillColor||"0 g";m.__private__.getFillColor=m.getFillColor=function(){return Ze(bn)},m.__private__.setFillColor=m.setFillColor=function(e,t,n,r){return bn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),ue(bn),this};var yn=e.textColor||"0 g",Cn=m.__private__.getTextColor=m.getTextColor=function(){return Ze(yn)};m.__private__.setTextColor=m.setTextColor=function(e,t,n,r){return yn=et({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var En=e.charSpace,Nn=m.__private__.getCharSpace=m.getCharSpace=function(){return parseFloat(En||0)};m.__private__.setCharSpace=m.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return En=e,this};var Qn=0;m.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},m.__private__.setLineCap=m.setLineCap=function(e){var t=m.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qn=t,ue(t+" J"),this};var Fn=0;m.__private__.setLineJoin=m.setLineJoin=function(e){var t=m.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Fn=t,ue(t+" j"),this},m.__private__.setLineMiterLimit=m.__private__.setMiterLimit=m.setLineMiterLimit=m.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ue(U(R(e))+" M"),this},m.GState=S,m.setGState=function(e){(e="string"==typeof e?He[ke[e]]:Un(null,e)).equals(Ie)||(ue("/"+e.id+" gs"),Ie=e)};var Un=function(e,t){if(!e||!ke[e]){var n=!1;for(var r in He)if(He.hasOwnProperty(r)&&He[r].equals(t)){n=!0;break}if(n)t=He[r];else{var i="GS"+(Object.keys(He).length+1).toString(10);He[i]=t,t.id=i}return e&&(ke[e]=t.id),Pe.publish("addGState",t),t}};m.addGState=function(e,t){return Un(e,t),this},m.saveGraphicsState=function(){return ue("q"),Le.push({key:Ce,size:he,color:yn}),this},m.restoreGraphicsState=function(){ue("Q");var e=Le.pop();return Ce=e.key,he=e.size,yn=e.color,Ie=null,this},m.setCurrentTransformationMatrix=function(e){return ue(e.toString()+" cm"),this},m.comment=function(e){return ue("#"+e),this};var xn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},Ln=function(e,t,n,r){xn.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var A=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return A},set:function(e){isNaN(e)||(A=parseFloat(e))}}),this},Sn=function(){this.page=Oe,this.currentPage=J,this.pages=ie.slice(0),this.pagesContext=Te.slice(0),this.x=Ne,this.y=Qe,this.matrix=Fe,this.width=In(J),this.height=Tn(J),this.outputDestination=oe,this.id="",this.objectNumber=-1};Sn.prototype.restore=function(){Oe=this.page,J=this.currentPage,Te=this.pagesContext,ie=this.pages,Ne=this.x,Qe=this.y,Fe=this.matrix,On(J,this.width),Pn(J,this.height),oe=this.outputDestination};var _n=function(e,t,n,r,i){Ke.push(new Sn),Oe=J=0,ie=[],Ne=e,Qe=t,Fe=i,Lt([n,r])},Hn=function(e){if(!De[e]){var t=new Sn,n="Xo"+(Object.keys(Me).length+1).toString(10);t.id=n,De[e]=n,Me[n]=t,Pe.publish("addFormObject",t),Ke.pop().restore()}};for(var kn in m.beginFormObject=function(e,t,n,r,i){return _n(e,t,n,r,i),this},m.endFormObject=function(e){return Hn(e),this},m.doFormObject=function(e,t){var n=Me[De[e]];return ue("q"),ue(t.toString()+" cm"),ue("/"+n.id+" Do"),ue("Q"),this},m.getFormObject=function(e){var t=Me[De[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},m.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(f(Kt(Dt()),e),"function"==typeof f.unload&&i.setTimeout&&setTimeout(f.unload,911),this):new Promise((function(t,n){try{var r=f(Kt(Dt()),e);"function"==typeof f.unload&&i.setTimeout&&setTimeout(f.unload,911),t(r)}catch(e){n(e.message)}}))},I.API)I.API.hasOwnProperty(kn)&&("events"===kn&&I.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(Pe,I.API.events):m[kn]=I.API[kn]);var In=m.getPageWidth=function(e){return(Te[e=e||J].mediaBox.topRightX-Te[e].mediaBox.bottomLeftX)/Ee},On=m.setPageWidth=function(e,t){Te[e].mediaBox.topRightX=t*Ee+Te[e].mediaBox.bottomLeftX},Tn=m.getPageHeight=function(e){return(Te[e=e||J].mediaBox.topRightY-Te[e].mediaBox.bottomLeftY)/Ee},Pn=m.setPageHeight=function(e,t){Te[e].mediaBox.topRightY=t*Ee+Te[e].mediaBox.bottomLeftY};return m.internal={pdfEscape:xt,getStyle:$t,getFont:un,getFontSize:pe,getCharSpace:Nn,getTextColor:Cn,getLineHeight:hn,getLineHeightFactor:pn,write:ce,getHorizontalCoordinate:gn,getVerticalCoordinate:wn,getCoordinateString:mn,getVerticalCoordinateString:Bn,collections:{},newObject:Xe,newAdditionalObject:Je,newObjectDeferred:Ge,newObjectDeferredBegin:We,getFilters:tt,putStream:nt,events:Pe,scaleFactor:Ee,pageSize:{getWidth:function(){return In(J)},setWidth:function(e){On(J,e)},getHeight:function(){return Tn(J)},setHeight:function(e){Pn(J,e)}},encryptionOptions:p,encryption:Vt,getEncryptor:qt,output:jt,getNumberOfPages:kt,pages:ie,out:ue,f2:T,f3:P,getPageInfo:Xt,getPageInfoByObjId:Gt,getCurrentPageInfo:Wt,getPDFVersion:v,Point:xn,Rectangle:Ln,Matrix:je,hasHotfix:zt},Object.defineProperty(m.internal.pageSize,"width",{get:function(){return In(J)},set:function(e){On(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(m.internal.pageSize,"height",{get:function(){return Tn(J)},set:function(e){Pn(J,e)},enumerable:!0,configurable:!0}),Qt.call(m,fe),Ce="F1",St(A,n),Pe.publish("initialized"),m}x.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},x.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},x.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},x.prototype.processOwnerPassword=function(e,t){return F(N(t).substr(0,5),e)},x.prototype.encryptor=function(e,t){var n=N(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return F(n,e)}},S.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||typeof e!=typeof this)return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},I.API={events:[]},I.version="2.3.1";var O=I.API,T=1,P=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},R=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},M=function(e){return e.toFixed(2)},D=function(e){return e.toFixed(5)};O.__acroform__={};var K=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},j=function(e){return e*T},z=function(e){var t=new oe,n=ve.internal.getHeight(e)||0,r=ve.internal.getWidth(e)||0;return t.BBox=[0,0,Number(M(r)),Number(M(n))],t},V=O.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},q=O.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},X=O.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},G=O.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return X(e,t-1)},W=O.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return V(e,t-1)},J=O.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return q(e,t-1)},Y=O.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],A=e[1],o=e[2],a=e[3],s={};return s.lowerLeft_X=n(i)||0,s.lowerLeft_Y=r(A+a)||0,s.upperRight_X=n(i+o)||0,s.upperRight_Y=r(A)||0,[Number(M(s.lowerLeft_X)),Number(M(s.lowerLeft_Y)),Number(M(s.upperRight_X)),Number(M(s.upperRight_Y))]},$=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=Z(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+M(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var A=z(e);return A.scope=e.scope,A.stream=t.join("\n"),A}},Z=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),A=n,o=ve.internal.getHeight(e)||0;o=o<0?-o:o;var a=ve.internal.getWidth(e)||0;a=a<0?-a:a;var s=function(t,n,r){if(t+1<i.length){var A=n+" "+i[t+1];return ee(A,e,r).width<=a-4}return!1};A++;e:for(;A>0;){t="",A--;var u,c,l=ee("3",e,A).height,f=e.multiline?o-A:(o-l)/2,h=f+=2,d=0,p=0;if(A<=0){t="(...) Tj\n",t+="% Width of Text: "+ee(t,e,A=12).width+", FieldWidth:"+a+"\n";break}var g="",w=0;for(var m in i)if(i.hasOwnProperty(m)){g=" "==(g+=i[m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var B=parseInt(m),v=s(B,g,A),b=m>=i.length-1;if(v&&!b){g+=" ";continue}if(v||b){if(b)p=B;else if(e.multiline&&(l+2)*(w+2)+2>o)continue e}else{if(!e.multiline)continue e;if((l+2)*(w+2)+2>o)continue e;p=B}for(var y="",C=d;C<=p;C++)y+=i[C]+" ";switch(y=" "==y.substr(y.length-1)?y.substr(0,y.length-1):y,c=ee(y,e,A).width,e.textAlign){case"right":u=a-c-2;break;case"center":u=(a-c)/2;break;case"left":default:u=2}t+=M(u)+" "+M(h)+" Td\n",t+="("+P(y)+") Tj\n",t+=-M(u)+" 0 Td\n",h=-(A+2),c=0,d=p+1,w++,g=""}break}return r.text=t,r.fontSize=A,r},ee=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},te={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ne=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},re=O.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var i="[",A=0;A<e.length;A++)switch(0!==A&&(i+=" "),typeof e[A]){case"boolean":case"number":case"object":i+=e[A].toString();break;case"string":"/"!==e[A].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),i+="("+P(r(e[A].toString()))+")"):i+=e[A].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ie=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+P(r(e))+")"},Ae=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Ae.prototype.toString=function(){return this.objId+" 0 R"},Ae.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},Ae.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:re(i,this.objId,this.scope)}):i instanceof Ae?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var oe=function(){Ae.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};K(oe,Ae);var ae=function(){Ae.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+P(t(e))+")"}},set:function(t){e=t}})};K(ae,Ae);var se=function e(){Ae.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(t,3))},set:function(e){!0===Boolean(e)?this.F=W(t,3):this.F=J(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var A=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!A||A.length<1){if(this instanceof ge)return;A="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+P(t(A))+")"},set:function(e){A=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return A},set:function(e){A=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/T:u},set:function(e){u=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var l="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!l||this instanceof ge||this instanceof me))return ie(l,this.objId,this.scope)},set:function(e){e=e.toString(),l=e}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof he==0?ie(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof he==0?"("===e.substr(0,1)?R(e.substr(1,e.length-2)):R(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof he==1?R(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof he==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof he==0?ie(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof he==0?"("===e.substr(0,1)?R(e.substr(1,e.length-2)):R(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof he==1?R(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof he==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(e){d=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,1):this.Ff=J(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,2):this.Ff=J(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,3):this.Ff=J(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};K(se,Ae);var ue=function(){se.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return re(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,18):this.Ff=J(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=W(this.Ff,19):this.Ff=J(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=W(this.Ff,20),t.sort()):this.Ff=J(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,22):this.Ff=J(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,23):this.Ff=J(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,27):this.Ff=J(this.Ff,27)}}),this.hasAppearanceStream=!1};K(ue,se);var ce=function(){ue.call(this),this.fontName="helvetica",this.combo=!1};K(ce,ue);var le=function(){ce.call(this),this.combo=!0};K(le,ce);var fe=function(){le.call(this),this.edit=!0};K(fe,le);var he=function(){se.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,15):this.Ff=J(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,16):this.Ff=J(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,17):this.Ff=J(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,26):this.Ff=J(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+P(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"==typeof e&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};K(he,se);var de=function(){he.call(this),this.pushButton=!0};K(de,he);var pe=function(){he.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};K(pe,he);var ge=function(){var e,t;se.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+P(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"==typeof e&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ve.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};K(ge,se),pe.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},pe.prototype.createOption=function(e){var t=new ge;return t.Parent=this,t.optionName=e,this.Kids.push(t),be.call(this.scope,t),t};var we=function(){he.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ve.CheckBox.createAppearanceStream()};K(we,he);var me=function(){se.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,13):this.Ff=J(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,21):this.Ff=J(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,23):this.Ff=J(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,24):this.Ff=J(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,25):this.Ff=J(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,26):this.Ff=J(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};K(me,se);var Be=function(){me.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(G(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=W(this.Ff,14):this.Ff=J(this.Ff,14)}}),this.password=!0};K(Be,me);var ve={CheckBox:{createAppearanceStream:function(){return{N:{On:ve.CheckBox.YesNormal},D:{On:ve.CheckBox.YesPushDown,Off:ve.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=z(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),A=Z(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+M(A.fontSize)+" Tf "+i),n.push("BT"),n.push(A.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=z(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],A=ve.internal.getHeight(e),o=ve.internal.getWidth(e),a=Z(e,e.caption);return i.push("1 g"),i.push("0 0 "+M(o)+" "+M(A)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+M(o-1)+" "+M(A-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+M(a.fontSize)+" Tf "+r),i.push(a.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=z(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Circle.YesNormal,t.D[e]=ve.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=z(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=ve.internal.Bezier_C,A=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+D(ve.internal.getWidth(e)/2)+" "+D(ve.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+A+" "+A+" "+r+" 0 "+r+" c"),n.push("-"+A+" "+r+" -"+r+" "+A+" -"+r+" 0 c"),n.push("-"+r+" -"+A+" -"+A+" -"+r+" 0 -"+r+" c"),n.push(A+" -"+r+" "+r+" -"+A+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=z(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*ve.internal.Bezier_C).toFixed(5)),o=Number((r*ve.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+D(ve.internal.getWidth(e)/2)+" "+D(ve.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),n.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),n.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),n.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+D(ve.internal.getWidth(e)/2)+" "+D(ve.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=z(e);t.scope=e.scope;var n=[],r=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*ve.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+D(ve.internal.getWidth(e)/2)+" "+D(ve.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),n.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),n.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),n.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Cross.YesNormal,t.D[e]=ve.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=z(e);t.scope=e.scope;var n=[],r=ve.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(M(r.x1.x)+" "+M(r.x1.y)+" m"),n.push(M(r.x2.x)+" "+M(r.x2.y)+" l"),n.push(M(r.x4.x)+" "+M(r.x4.y)+" m"),n.push(M(r.x3.x)+" "+M(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=z(e);t.scope=e.scope;var n=ve.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(M(n.x1.x)+" "+M(n.x1.y)+" m"),r.push(M(n.x2.x)+" "+M(n.x2.y)+" l"),r.push(M(n.x4.x)+" "+M(n.x4.y)+" m"),r.push(M(n.x3.x)+" "+M(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=z(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};ve.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ve.internal.getWidth(e),n=ve.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},ve.internal.getWidth=function(e){var t=0;return"object"==typeof e&&(t=j(e.Rect[2])),t},ve.internal.getHeight=function(e){var t=0;return"object"==typeof e&&(t=j(e.Rect[3])),t};var be=O.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(se.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(te)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");T=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ae,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&ne(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var i=e[r],A=[],o=i.Rect;if(i.Rect&&(i.Rect=Y(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=ve.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(A=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=$(i);A.push({key:"AP",value:"<</N "+a+">>"}),t.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var s="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var c=i.appearanceStreamContent[u];if(s+="/"+u+" ",s+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var r in c)if(c.hasOwnProperty(r)){var l=c[r];"function"==typeof l&&(l=l.call(t,i)),s+="/"+r+" "+l+" ",t.internal.acroformPlugin.xForms.indexOf(l)>=0||t.internal.acroformPlugin.xForms.push(l)}}else"function"==typeof(l=c)&&(l=l.call(t,i)),s+="/"+r+" "+l,t.internal.acroformPlugin.xForms.indexOf(l)>=0||t.internal.acroformPlugin.xForms.push(l);s+=">>"}A.push({key:"AP",value:"<<\n"+s+">>"})}t.internal.putStream({additionalKeyValues:A,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete e[r]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof se))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};O.AcroFormChoiceField=ue,O.AcroFormListBox=ce,O.AcroFormComboBox=le,O.AcroFormEditBox=fe,O.AcroFormButton=he,O.AcroFormPushButton=de,O.AcroFormRadioButton=pe,O.AcroFormCheckBox=we,O.AcroFormTextField=me,O.AcroFormPasswordField=Be,O.AcroFormAppearance=ve,O.AcroForm={ChoiceField:ue,ListBox:ce,ComboBox:le,EditBox:fe,Button:he,PushButton:de,RadioButton:pe,CheckBox:we,TextField:me,PasswordField:Be,Appearance:ve},I.AcroForm={ChoiceField:ue,ListBox:ce,ComboBox:le,EditBox:fe,Button:he,PushButton:de,RadioButton:pe,CheckBox:we,TextField:me,PasswordField:Be,Appearance:ve};I.AcroForm;function ye(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},r=e.__addimage__.getImageFileTypeByImageData=function(e,r){var i,A;r=r||t;var o,a,s,u=t;if(E(e))for(s in n)for(o=n[s],i=0;i<o.length;i+=1){for(a=!0,A=0;A<o[i].length;A+=1)if(void 0!==o[i][A]&&o[i][A]!==e[A]){a=!1;break}if(!0===a){u=s;break}}else for(s in n)for(o=n[s],i=0;i<o.length;i+=1){for(a=!0,A=0;A<o[i].length;A+=1)if(void 0!==o[i][A]&&o[i][A]!==e.charCodeAt(A)){a=!1;break}if(!0===a){u=s;break}}return u===t&&r!==t&&(u=r),u},i=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var A=[];if(A.push({key:"Type",value:"/XObject"}),A.push({key:"Subtype",value:"/Image"}),A.push({key:"Width",value:t.width}),A.push({key:"Height",value:t.height}),t.colorSpace===m.INDEXED?A.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(A.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===m.DEVICE_CMYK&&A.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),A.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&A.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var o="",a=0,s=t.transparency.length;a<s;a++)o+=t.transparency[a]+" "+t.transparency[a]+" ";A.push({key:"Mask",value:"["+o+"]"})}void 0!==t.sMask&&A.push({key:"SMask",value:t.objectId+1+" 0 R"});var u=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:A,alreadyAppliedFilters:u,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var c="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,l={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:c,data:t.sMask};"filter"in t&&(l.filter=t.filter),e.call(this,l)}if(t.colorSpace===m.INDEXED){var f=this.internal.newObject();r({data:Q(new Uint8Array(t.palette)),objectId:f}),n("endobj")}},A=function(){var e=this.internal.collections.addImage_images;for(var t in e)i.call(this,e[t])},o=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",A),this.internal.events.subscribe("putXobjectDict",o))},s=function(){var e=this.internal.collections.addImage_images;return a.call(this),e},u=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(t){return"function"==typeof e["process"+t.toUpperCase()]},h=function(e){return"object"==typeof e&&1===e.nodeType},d=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return c(unescape(r).split("base64,").pop());var i=e.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){var A;switch(n){case"PNG":A="image/png";break;case"WEBP":A="image/webp";break;case"JPEG":case"JPG":default:A="image/jpeg"}return c(t.toDataURL(A,1).split("base64,").pop())}},p=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},g=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},w=function(e,t,n,r,i,A){var o=g.call(this,n,r,i),a=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,c=s.call(this);if(n=o[0],r=o[1],c[i.index]=i,A){A*=Math.PI/180;var l=Math.cos(A),f=Math.sin(A),h=function(e){return e.toFixed(4)},d=[h(l),h(f),h(-1*f),h(l),0,0,"cm"]}this.internal.write("q"),A?(this.internal.write([1,"0","0",1,a(e),u(t+r),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([a(n),"0","0",a(r),"0","0","cm"].join(" "))):this.internal.write([a(n),"0","0",a(r),a(e),u(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},m=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 B=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(E(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},b=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},y=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},C=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return C()&&e instanceof ArrayBuffer};var E=e.__addimage__.isArrayBufferView=function(e){return C()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},N=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},Q=e.__addimage__.arrayBufferToBinaryString=function(e){try{return c(l(String.fromCharCode.apply(null,e)))}catch(t){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(e).reduce((function(e,t){return e.push(String.fromCharCode(t)),e}),[]).join("")}};e.addImage=function(){var e,n,r,i,A,o,s,u,c;if("number"==typeof arguments[1]?(n=t,r=arguments[1],i=arguments[2],A=arguments[3],o=arguments[4],s=arguments[5],u=arguments[6],c=arguments[7]):(n=arguments[1],r=arguments[2],i=arguments[3],A=arguments[4],o=arguments[5],s=arguments[6],u=arguments[7],c=arguments[8]),"object"==typeof(e=arguments[0])&&!h(e)&&"imageData"in e){var l=e;e=l.imageData,n=l.format||n||t,r=l.x||r||0,i=l.y||i||0,A=l.w||l.width||A,o=l.h||l.height||o,s=l.alias||s,u=l.compression||u,c=l.rotation||l.angle||c}var f=this.internal.getFilters();if(void 0===u&&-1!==f.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var d=F.call(this,e,n,s,u);return w.call(this,r,i,A,o,d,c),this};var F=function(n,i,A,o){var a,s,c;if("string"==typeof n&&r(n)===t){n=unescape(n);var l=U(n,!1);(""!==l||void 0!==(l=e.loadFile(n,!0)))&&(n=l)}if(h(n)&&(n=d(n,i)),i=r(n,i),!f(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(c=A)||0===c.length)&&(A=function(e){return"string"==typeof e||E(e)?v(e):null}(n)),(a=p.call(this,A))||(C()&&(n instanceof Uint8Array||(s=n,n=N(n))),a=this["process"+i.toUpperCase()](n,u.call(this),A,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:B.NONE}(o),s)),!a)throw new Error("An unknown error occurred whilst processing the image.");return a},U=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,i="";if("string"==typeof e){r=null!==(n=y(e))?n.data:e;try{i=c(r)}catch(e){if(t)throw b(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(n){var i,A,o="";if(h(n)&&(n=d(n)),"string"==typeof n&&r(n)===t&&(""===(o=U(n,!1))&&(o=e.loadFile(n)||""),n=o),A=r(n),!f(A))throw new Error("addImage does not support files of type '"+A+"', please ensure that a plugin for '"+A+"' support is added.");if(!C()||n instanceof Uint8Array||(n=N(n)),!(i=this["process"+A.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=A,i}}(I.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};I.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,A=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(e.objId),s=e.pageContext.annotations,u=!1,c=0;c<s.length&&!u;c++)switch((n=s[c]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var l=0;l<s.length;l++){n=s[l];var f=this.internal.pdfEscape,h=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var d=this.internal.newAdditionalObject(),p=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(d.objId),w=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+A(n.bounds.x)+" "+o(n.bounds.y+n.bounds.h)+" "+A(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y)+"] ")+"/Contents ("+f(g(n.contents))+")",i+=" /Popup "+p.objId+" 0 R",i+=" /P "+a.objId+" 0 R",i+=" /T ("+f(g(w))+") >>",d.content=i;var m=d.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+A(n.bounds.x+30)+" "+o(n.bounds.y+n.bounds.h)+" "+A(n.bounds.x+n.bounds.w+30)+" "+o(n.bounds.y)+"] ")+" /Parent "+m,n.open&&(i+=" /Open true"),i+=" >>",p.content=i,this.internal.write(d.objId,"0 R",p.objId,"0 R");break;case"freetext":r="/Rect ["+A(n.bounds.x)+" "+o(n.bounds.y)+" "+A(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y+n.bounds.h)+"] ";var B=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+f(h(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+B+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var v=this.annotations._nameMap[n.options.name];n.options.pageNumber=v.page,n.options.top=v.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+f(h(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var b=o(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+b+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,i){var A=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;A.pageContext.annotations.push({finalBounds:{x:o(e),y:a(t),w:o(e+n),h:a(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i=this.getTextWidth(e),A=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n,r),n+=.2*A,"center"===r.align&&(t-=i/2),"right"===r.align&&(t-=i),this.link(t,n-A,i,A,r),i},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(I.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var A=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},a=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&A(e)&&t[e.charCodeAt(0)].length<=2},s=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&A(e)&&t[e.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&A(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&A(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&A(e)&&4==t[e.charCodeAt(0)].length},l=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",A=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(A++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,A=0),t===e.length-1&&(r=n,i+=e.charAt(t-(A-1)),t-=A-1,A=0)):(r=n,i+=e.charAt(t-A),t-=A,A=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var f=e.__arabicParser__.getCorrectForm=function(e,t,n){return o(e)?!1===A(e)?-1:!u(e)||!o(t)&&!o(n)||!o(n)&&a(t)||a(e)&&!o(t)||a(e)&&s(t)||a(e)&&a(t)?0:c(e)&&o(t)&&!a(t)&&o(n)&&u(n)?3:a(e)||!o(n)?1:2:-1},h=function(e){var n=0,r=0,i=0,A="",a="",s="",u=(e=e||"").split("\\s+"),c=[];for(n=0;n<u.length;n+=1){for(c.push(""),r=0;r<u[n].length;r+=1)A=u[n][r],a=u[n][r-1],s=u[n][r+1],o(A)?(i=f(A,a,s),c[n]+=-1!==i?String.fromCharCode(t[A.charCodeAt(0)][i]):A):c[n]+=A;c[n]=l(c[n])}return c.join(" ")},d=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([h(t[r][0]),t[r][1],t[r][2]]):n.push([h(t[r])]);e=n}else e=h(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",d])}(I.API),I.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))}return this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(I.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(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(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var A=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return A},set:function(e){A=e}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(e){o=e}}),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(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),A=t.scaleFactor||this.internal.scaleFactor,o=0,a=0,s=0,u=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(u.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var l=0;l<e.length;l++)o<(s=this.getStringUnitWidth(e[l],{font:i})*n)&&(o=s);return 0!==o&&(a=e.length),{w:o/=A,h:Math.max((a*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/A,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new A(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=e.cell=function(){var e;e=arguments[0]instanceof A?arguments[0]:new A(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,a=this.internal.__cell__.margins||t,s=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+a.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=a.top,u&&s&&(this.printHeaderRow(e.lineNumber,!0),e.y+=s[0].height)):e.y=i.y+i.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,s,u,c){if(r.call(this),!s)throw new Error("No data for PDF table.");var l,f,h,d,p=[],g=[],w=[],m={},B={},v=[],b=[],y=(c=c||{}).autoSize||!1,C=!1!==c.printHeaders,E=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,N=c.margins||Object.assign({width:this.getPageWidth()},t),Q="number"==typeof c.padding?c.padding:3,F=c.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=E,this.internal.__cell__.padding=Q,this.internal.__cell__.headerBackgroundColor=F,this.setFontSize(E),null==u)g=p=Object.keys(s[0]),w=p.map((function(){return"left"}));else if(Array.isArray(u)&&"object"==typeof u[0])for(p=u.map((function(e){return e.name})),g=u.map((function(e){return e.prompt||e.name||""})),w=u.map((function(e){return e.align||"left"})),l=0;l<u.length;l+=1)B[u[l].name]=u[l].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(g=p=u,w=p.map((function(){return"left"})));if(y||Array.isArray(u)&&"string"==typeof u[0])for(l=0;l<p.length;l+=1){for(m[d=p[l]]=s.map((function(e){return e[d]})),this.setFont(void 0,"bold"),v.push(this.getTextDimensions(g[l],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=m[d],this.setFont(void 0,"normal"),h=0;h<f.length;h+=1)v.push(this.getTextDimensions(f[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);B[d]=Math.max.apply(null,v)+Q+Q,v=[]}if(C){var U={};for(l=0;l<p.length;l+=1)U[p[l]]={},U[p[l]].text=g[l],U[p[l]].align=w[l];var x=a.call(this,U,B);b=p.map((function(t){return new A(e,n,B[t],x,U[t].text,void 0,U[t].align)})),this.setTableHeaderRow(b),this.printHeaderRow(1,!1)}var L=u.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(l=0;l<s.length;l+=1){var S=a.call(this,s[l],B);for(h=0;h<p.length;h+=1)o.call(this,new A(e,n,B[p[h]],S,s[l][p[h]],l+2,L[p[h]]))}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var a=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/i+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var a=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new A(a[0],a[1],a[2],a[3],void 0,-1)}this.setFont(void 0,"bold");for(var s=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1)i=this.internal.__cell__.tableHeaderRow[u].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,s.push(i)),i.lineNumber=e,this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,i);s.length>0&&this.setTableHeaderRow(s),this.setFont(void 0,"normal"),n=!1}}(I.API);var Ce={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ee=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ne=ye(Ee),Qe=[100,200,300,400,500,600,700,800,900],Fe=ye(Qe);function Ue(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return Ce[e=e||"normal"]?e:"normal"}(e.style),r=function(e){if(!e)return 400;if("number"==typeof e)return e>=100&&e<=900&&e%100==0?e:400;if(/^\d00$/.test(e))return parseInt(e);switch(e){case"bold":return 700;case"normal":default:return 400}}(e.weight),i=function(e){return"number"==typeof Ne[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function xe(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var Le={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Se={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function _e(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function He(e){return e.trimLeft()}function ke(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Ie(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Oe,Te,Pe,Re,Me=["times"];!function(e){var t,n,r,i,A,a,s,u,c,l=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new u,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new a,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new a,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new f(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,A=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,u=this.internal.Matrix,c=new l}]);var f=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var A=0;Object.defineProperty(this,"posY",{get:function(){return A},set:function(e){isNaN(e)||(A=e)}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(e){o=Boolean(e)}});var a=0;Object.defineProperty(this,"lastBreak",{get:function(){return a},set:function(e){a=e}});var s=[];Object.defineProperty(this,"pageBreaks",{get:function(){return s},set:function(e){s=e}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(e){e instanceof l&&(c=e)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(e){c.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=d(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=d(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var f=null;function h(e,t){if(null===f){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());f=function(e){for(var t={},n=0;n<e.length;++n){var r=Ue(e[n]),i=r.family,A=r.stretch,o=r.style,a=r.weight;t[i]=t[i]||{},t[i][A]=t[i][A]||{},t[i][A][o]=t[i][A][o]||{},t[i][A][o][a]=r}return t}(n.concat(t))}return f}var p=null;Object.defineProperty(this,"fontFaces",{get:function(){return p},set:function(e){f=null,p=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\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-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),i=t[4],A=(t[5],t[6]),o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===o?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var a=function(e){var t,n,r=[],i=e.trim();if(""===i)return Me;if(i in Se)return[Se[i]];for(;""!==i;){switch(n=null,t=(i=He(i)).charAt(0)){case'"':case"'":n=ke(i.substring(1),t);break;default:n=Ie(i)}if(null===n)return Me;if(r.push(n[0]),""!==(i=He(n[1]))&&","!==i.charAt(0))return Me;i=i.replace(/^,/,"")}return r}(A);if(this.fontFaces){var s=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Le,n.genericFontFamilies||{}),A=null,o=null,a=0;a<t.length;++a)if(i[(A=Ue(t[a])).family]&&(A.family=i[A.family]),e.hasOwnProperty(A.family)){o=e[A.family];break}if(!(o=o||e[r]))throw new Error("Could not find a font-family for the rule '"+_e(A)+"' and default family '"+r+"'.");if(o=function(e,t){if(t[e])return t[e];var n=Ne[e],r=n<=Ne.normal?-1:1,i=xe(t,Ee,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(A.stretch,o),o=function(e,t){if(t[e])return t[e];for(var n=Ce[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(A.style,o),!(o=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=Fe[e],r=xe(t,Qe,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(A.weight,o)))throw new Error("Failed to resolve a font for the rule '"+_e(A)+"'.");return o}(h(this.pdf,this.fontFaces),a.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(s.ref.name,s.ref.style)}else{var u="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(u="bold"),"italic"===n&&(u+="italic"),0===u.length&&(u="normal");for(var c="",l={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"},f=0;f<a.length;f++){if(void 0!==this.pdf.internal.getFont(a[f],u,{noFallback:!0,disableWarning:!0})){c=a[f];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(a[f],"bold",{noFallback:!0,disableWarning:!0}))c=a[f],u="bold";else if(void 0!==this.pdf.internal.getFont(a[f],"normal",{noFallback:!0,disableWarning:!0})){c=a[f],u="normal";break}}if(""===c)for(var d=0;d<a.length;d++)if(l[a[d]]){c=l[a[d]];break}c=""===c?"Times":c,this.pdf.setFont(c,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};f.prototype.fill=function(){b.call(this,"fill",!1)},f.prototype.stroke=function(){b.call(this,"stroke",!1)},f.prototype.beginPath=function(){this.path=[{type:"begin"}]},f.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw o.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(e,t)},f.prototype.closePath=function(){var e=new a(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"==typeof this.path[t+1]&&"number"==typeof this.path[t+1].x){e=new a(this.path[t+1].x,this.path[t+1].y),this.path.push({type:"lt",x:e.x,y:e.y});break}"object"==typeof this.path[t+2]&&"number"==typeof this.path[t+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[t+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new a(e.x,e.y)},f.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw o.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(n.x,n.y)},f.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},f.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw o.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new a(n,r)),A=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"qct",x1:A.x,y1:A.y,x:i.x,y:i.y}),this.ctx.lastPoint=new a(i.x,i.y)},f.prototype.bezierCurveTo=function(e,t,n,r,i,A){if(isNaN(i)||isNaN(A)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw o.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new a(i,A)),u=this.ctx.transform.applyToPoint(new a(e,t)),c=this.ctx.transform.applyToPoint(new a(n,r));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:c.x,y2:c.y,x:s.x,y:s.y}),this.ctx.lastPoint=new a(s.x,s.y)},f.prototype.arc=function(e,t,n,r,i,A){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw o.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(A=Boolean(A),!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new a(e,t));e=s.x,t=s.y;var u=this.ctx.transform.applyToPoint(new a(0,n)),c=this.ctx.transform.applyToPoint(new a(0,0));n=Math.sqrt(Math.pow(u.x-c.x,2)+Math.pow(u.y-c.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:A})},f.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},f.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw o.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},f.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw o.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},f.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw o.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},f.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw o.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},f.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},f.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},f.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var A=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==A)t=parseInt(A[1]),n=parseInt(A[2]),r=parseInt(A[3]),i=1;else if(null!==(A=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(A[1]),n=parseInt(A[2]),r=parseInt(A[3]),i=parseFloat(A[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new h(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},p=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},g=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};f.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw o.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!p.call(this)){n=C.call(this,n);var i=k(this.ctx.transform.rotation),A=this.ctx.transform.scaleX;U.call(this,{text:e,x:t,y:n,scale:A,angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw o.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){r=isNaN(r)?void 0:r,n=C.call(this,n);var i=k(this.ctx.transform.rotation),A=this.ctx.transform.scaleX;U.call(this,{text:e,x:t,y:n,scale:A,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.measureText=function(e){if("string"!=typeof e)throw o.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor,A=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new A({width:i*=Math.round(96*n/72*1e4)/1e4})},f.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw o.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.rotate=function(e){if(isNaN(e))throw o.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},f.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw o.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new u(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.transform=function(e,t,n,r,i,A){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(A))throw o.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new u(e,t,n,r,i,A);this.ctx.transform=this.ctx.transform.multiply(a)},f.prototype.setTransform=function(e,t,n,r,i,A){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,A=isNaN(A)?0:A,this.ctx.transform=new u(e,t,n,r,i,A)},f.prototype.drawImage=function(e,t,n,r,i,A,o,a,c){var l=this.pdf.getImageProperties(e),f=1,h=1,d=1,p=1;void 0!==r&&void 0!==a&&(d=a/r,p=c/i,f=l.width/r*a/r,h=l.height/i*c/i),void 0===A&&(A=t,o=n,t=0,n=0),void 0!==r&&void 0===a&&(a=r,c=i),void 0===r&&void 0===a&&(a=l.width,c=l.height);for(var g,m=this.ctx.transform.decompose(),b=k(m.rotate.shx),C=new u,E=(C=(C=(C=C.multiply(m.translate)).multiply(m.skew)).multiply(m.scale)).applyToRectangle(new s(A-t*d,o-n*p,r*f,i*h)),N=w.call(this,E),Q=[],F=0;F<N.length;F+=1)-1===Q.indexOf(N[F])&&Q.push(N[F]);if(v(Q),this.autoPaging)for(var U=Q[0],x=Q[Q.length-1],L=U;L<x+1;L++){if(this.pdf.setPage(L),0!==this.ctx.clip_path.length){var S=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(g,this.posX,-1*this.pdf.internal.pageSize.height*(L-1)+this.posY),y.call(this,"fill",!0),this.path=S}var _=JSON.parse(JSON.stringify(E));_=B([_],this.posX,-1*this.pdf.internal.pageSize.height*(L-1)+this.posY)[0],this.pdf.addImage(e,"JPEG",_.x,_.y,_.w,_.h,null,null,b)}else this.pdf.addImage(e,"JPEG",E.x,E.y,E.w,E.h,null,null,b)};var w=function(e,t,n){var r=[];switch(t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+this.posY)/n)+1);break;case"arc":r.push(Math.floor((e.y+this.posY-e.radius)/n)+1),r.push(Math.floor((e.y+this.posY+e.radius)/n)+1);break;case"qct":var i=I(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor(i.y/n)+1),r.push(Math.floor((i.y+i.h)/n)+1);break;case"bct":var A=O(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor(A.y/n)+1),r.push(Math.floor((A.y+A.h)/n)+1);break;case"rect":r.push(Math.floor((e.y+this.posY)/n)+1),r.push(Math.floor((e.y+e.h+this.posY)/n)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)m.call(this);return r},m=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,A=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=A},B=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;case"mt":case"lt":case"arc":default:e[r].x+=t,e[r].y+=n}return e},v=function(e){return e.sort((function(e,t){return e-t}))},b=function(e,t){for(var n,r,i=this.fillStyle,A=this.strokeStyle,o=this.lineCap,a=this.lineWidth,s=a*this.ctx.transform.scaleX,u=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),l=JSON.parse(JSON.stringify(this.path)),f=[],h=0;h<l.length;h++)if(void 0!==l[h].x)for(var d=w.call(this,l[h]),p=0;p<d.length;p+=1)-1===f.indexOf(d[p])&&f.push(d[p]);for(var g=0;g<f.length;g++)for(;this.pdf.internal.getNumberOfPages()<f[g];)m.call(this);if(v(f),this.autoPaging)for(var b=f[0],C=f[f.length-1],E=b;E<C+1;E++){if(this.pdf.setPage(E),this.fillStyle=i,this.strokeStyle=A,this.lineCap=o,this.lineWidth=s,this.lineJoin=u,0!==this.ctx.clip_path.length){var N=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(n,this.posX,-1*this.pdf.internal.pageSize.height*(E-1)+this.posY),y.call(this,e,!0),this.path=N}r=JSON.parse(JSON.stringify(c)),this.path=B(r,this.posX,-1*this.pdf.internal.pageSize.height*(E-1)+this.posY),!1!==t&&0!==E||y.call(this,e,t),this.lineWidth=a}else this.lineWidth=s,y.call(this,e,t),this.lineWidth=a;this.path=c},y=function(e,t){if(("stroke"!==e||t||!g.call(this))&&("stroke"===e||t||!p.call(this))){for(var n,r,i=[],A=this.path,o=0;o<A.length;o++){var a=A[o];switch(a.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:a,deltas:[],abs:[]});break;case"lt":var s=i.length;if(!isNaN(A[o-1].x)&&(n=[a.x-A[o-1].x,a.y-A[o-1].y],s>0))for(;s>=0;s--)if(!0!==i[s-1].close&&!0!==i[s-1].begin){i[s-1].deltas.push(n),i[s-1].abs.push(a);break}break;case"bct":n=[a.x1-A[o-1].x,a.y1-A[o-1].y,a.x2-A[o-1].x,a.y2-A[o-1].y,a.x-A[o-1].x,a.y-A[o-1].y],i[i.length-1].deltas.push(n);break;case"qct":var u=A[o-1].x+2/3*(a.x1-A[o-1].x),c=A[o-1].y+2/3*(a.y1-A[o-1].y),l=a.x+2/3*(a.x1-a.x),f=a.y+2/3*(a.y1-a.y),h=a.x,d=a.y;n=[u-A[o-1].x,c-A[o-1].y,l-A[o-1].x,f-A[o-1].y,h-A[o-1].x,d-A[o-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(a)}}r=t?null:"stroke"===e?"stroke":"fill";for(var w=0;w<i.length;w++){if(i[w].arc){for(var m=i[w].abs,B=0;B<m.length;B++){var v=m[B];"arc"===v.type?E.call(this,v.x,v.y,v.radius,v.startAngle,v.endAngle,v.counterclockwise,void 0,t):x.call(this,v.x,v.y)}N.call(this,r),this.pdf.internal.out("h")}if(!i[w].arc&&!0!==i[w].close&&!0!==i[w].begin){var b=i[w].start.x,y=i[w].start.y;L.call(this,i[w].deltas,b,y)}}r&&N.call(this,r),t&&Q.call(this)}},C=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;case"ideographic":return e;case"alphabetic":default:return e}};f.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},f.prototype.createPattern=function(){return this.createLinearGradient()},f.prototype.createRadialGradient=function(){return this.createLinearGradient()};var E=function(e,t,n,r,i,A,o,a){for(var s=_.call(this,n,r,i,A),u=0;u<s.length;u++){var c=s[u];0===u&&F.call(this,c.x1+e,c.y1+t),S.call(this,e,t,c.x2,c.y2,c.x3,c.y3,c.x4,c.y4)}a?Q.call(this):N.call(this,o)},N=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Q=function(){this.pdf.clip(),this.pdf.discardPath()},F=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},U=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var n=this.ctx.transform.applyToPoint(new a(e.x,e.y)),r=this.ctx.transform.decompose(),i=new u;i=(i=(i=i.multiply(r.translate)).multiply(r.skew)).multiply(r.scale);for(var A,o,c,l=this.pdf.getTextDimensions(e.text),f=this.ctx.transform.applyToRectangle(new s(e.x,e.y,l.w,l.h)),h=i.applyToRectangle(new s(e.x,e.y-l.h,l.w,l.h)),d=w.call(this,h),p=[],g=0;g<d.length;g+=1)-1===p.indexOf(d[g])&&p.push(d[g]);if(v(p),!0===this.autoPaging)for(var m=p[0],b=p[p.length-1],C=m;C<b+1;C++){if(this.pdf.setPage(C),0!==this.ctx.clip_path.length){var E=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=B(A,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),y.call(this,"fill",!0),this.path=E}var N=JSON.parse(JSON.stringify(f));N=B([N],this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY)[0],e.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*e.scale),c=this.lineWidth,this.lineWidth=c*e.scale),this.pdf.text(e.text,N.x,N.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=c)}else e.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*e.scale),c=this.lineWidth,this.lineWidth=c*e.scale),this.pdf.text(e.text,n.x+this.posX,n.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=c)},x=function(e,t,i,A){i=i||0,A=A||0,this.pdf.internal.out(n(e+i)+" "+r(t+A)+" l")},L=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},S=function(e,n,r,o,a,s,u,c){this.pdf.internal.out([t(i(r+e)),t(A(o+n)),t(i(a+e)),t(A(s+n)),t(i(u+e)),t(A(c+n)),"c"].join(" "))},_=function(e,t,n,r){for(var i=2*Math.PI,A=Math.PI/2;t>n;)t-=i;var o=Math.abs(n-t);o<i&&r&&(o=i-o);for(var a=[],s=r?-1:1,u=t;o>1e-5;){var c=u+s*Math.min(o,A);a.push(H.call(this,e,u,c)),o-=Math.abs(c-u),u=c}return a},H=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),A=e*Math.sin(r),o=i,a=-A,s=o*o+a*a,u=s+o*i+a*A,c=4/3*(Math.sqrt(2*s*u)-u)/(o*A-a*i),l=o-c*a,f=a+c*o,h=l,d=-f,p=r+t,g=Math.cos(p),w=Math.sin(p);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:l*g-f*w,y2:l*w+f*g,x3:h*g-d*w,y3:h*w+d*g,x4:e*Math.cos(n),y4:e*Math.sin(n)}},k=function(e){return 180*e/Math.PI},I=function(e,t,n,r,i,A){var o=e+.5*(n-e),a=t+.5*(r-t),u=i+.5*(n-i),c=A+.5*(r-A),l=Math.min(e,i,o,u),f=Math.max(e,i,o,u),h=Math.min(t,A,a,c),d=Math.max(t,A,a,c);return new s(l,h,f-l,d-h)},O=function(e,t,n,r,i,A,o,a){var u,c,l,f,h,d,p,g,w,m,B,v,b,y,C=n-e,E=r-t,N=i-n,Q=A-r,F=o-i,U=a-A;for(c=0;c<41;c++)w=(p=(l=e+(u=c/40)*C)+u*((h=n+u*N)-l))+u*(h+u*(i+u*F-h)-p),m=(g=(f=t+u*E)+u*((d=r+u*Q)-f))+u*(d+u*(A+u*U-d)-g),0==c?(B=w,v=m,b=w,y=m):(B=Math.min(B,w),v=Math.min(v,m),b=Math.max(b,w),y=Math.max(y,m));return new s(Math.round(B),Math.round(v),Math.round(b-B),Math.round(y-v))}}(I.API),function(e){var t=function(e){var t,n,r,i,A,o,a,s,u,c;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(A=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(o=(A=((A=((A=((A=(A-(c=A%85))/85)-(u=A%85))/85)-(s=A%85))/85)-(a=A%85))/85)%85,n.push(o+33,a+33,s+33,u+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,A,o=String,a="length",s=255,u="charCodeAt",c="slice",l="replace";for(e[c](-2),e=e[c](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),r=[],i=0,A=(e+=t="uuuuu"[c](e[a]%5||5))[a];A>i;i+=5)n=52200625*(e[u](i)-33)+614125*(e[u](i+1)-33)+7225*(e[u](i+2)-33)+85*(e[u](i+3)-33)+(e[u](i+4)-33),r.push(s&n>>24,s&n>>16,s&n>>8,s&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[a]),o.fromCharCode.apply(o,r)},i=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},A=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=Object(r.b)(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,r){var o=0,a=e||"",s=[];for("string"==typeof(r=r||[])&&(r=[r]),o=0;o<r.length;o+=1)switch(r[o]){case"ASCII85Decode":case"/ASCII85Decode":a=n(a),s.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=t(a),s.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=i(a),s.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=a.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",s.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=A(a),s.push("/FlateDecode");break;default:throw new Error('The filter: "'+r[o]+'" is not implemented')}return{data:a,reverseChain:s.reverse().join(" ")}}}(I.API),(Re=I.API).loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,A=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(A(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return A(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},Re.loadImageFile=Re.loadFile,function(e){function t(){return(i.html2canvas?Promise.resolve(i.html2canvas):Promise.resolve().then(n.t.bind(null,28,7))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function r(){return(i.DOMPurify?Promise.resolve(i.DOMPurify):n.e(4).then(n.t.bind(null,76,7))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var A=function(e){var t=typeof e;return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},o=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},a=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(A(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then((function(t){return this.set({src:o("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},s.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete r.onrendered,t.context2d.autoPaging=!0,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var A=n[i],o=A.src.find((function(e){return"truetype"===e.format}));o&&t.addFont(o.url,A.ref.name,A.ref.style)}return r.windowHeight=r.windowHeight||0,r.windowHeight=0==r.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):r.windowHeight,e(this.prop.container,r)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},s.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},s.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},s.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},s.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},s.prototype.set=function(e){if("object"!==A(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in s.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},s.prototype.get=function(e,t){return this.then((function(){var n=e in s.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},s.prototype.setMargin=function(e){return this.then((function(){switch(A(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},s.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||I.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},s.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},s.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=n.call(r,e,t);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},s.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},s.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return s.convert(t,this)},s.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},s.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,I.getPageSize=function(e,t,n){if("object"==typeof e){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,A=(""+n).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var a,s=0,u=0;if(o.hasOwnProperty(A))s=o[A][1]/i,u=o[A][0]/i;else try{s=n[1],u=n[0]}catch(e){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",u>s&&(a=u,u=s,s=a);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",s>u&&(a=u,u=s,s=a)}return{width:u,height:s,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Ue):null;var n=new s(t);return t.worker?n:n.from(e).doCallback()}}(I.API),I.API.addJS=function(e){return Pe=e,this.internal.events.subscribe("postPutResources",(function(){Oe=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Oe+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Te=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pe+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Oe&&void 0!==Te&&this.internal.out("/Names <</JavaScript "+Oe+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var A=r[i],o=n.exec(A);if(null!=o){var a=o[1];e.internal.newObjectDeferredBegin(a,!1)}e.internal.write(A)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,u=[];for(i=0;i<s;i++){var c=e.internal.newObject();u.push(c);var l=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var f=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<u.length;i++)e.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+f+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},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(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var A=this.count=this.count_r({count:0},i);if(A>0&&this.line("/Count "+A),i.options&&i.options.pageNumber){var o=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var a=0;a<t.children.length;a++)this.renderItems(t.children[a])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(I.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,A,o){var a,s=this.decode.DCT_DECODE,u=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=A||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(a=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,A={width:0,height:0,numcomponents:1},o=4;o<i;o+=2){if(o+=r,-1!==t.indexOf(e.charCodeAt(o+1))){n=256*e.charCodeAt(o+5)+e.charCodeAt(o+6),A={width:256*e.charCodeAt(o+7)+e.charCodeAt(o+8),height:n,numcomponents:e.charCodeAt(o+9)};break}r=256*e.charCodeAt(o+2)+e.charCodeAt(o+3)}return A}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}u={data:e,width:a.width,height:a.height,colorSpace:o,bitsPerComponent:8,filter:s,index:n,alias:r}}return u}}(I.API);var De,Ke,je,ze,Ve,qe=function(){var e,t,n;function A(e){var t,n,r,i,A,o,a,s,u,c,l,f,h,d;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),u=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},A=this.readUInt16(),i=this.readUInt16()||100,o.delay=1e3*A/i,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,f=0;0<=t?f<t:f>t;0<=t?++f:--f)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((c=r-this.transparency.indexed.length)>0)for(h=0;0<=c?h<c:h>c;0<=c?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":a=(l=this.read(t)).indexOf(0),s=String.fromCharCode.apply(String,l.slice(0,a)),this.text[s]=String.fromCharCode.apply(String,l.slice(a+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(d=this.colorType)||6===d,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}A.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},A.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},A.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},A.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),i=0,A=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(r,o,a,s){var u,c,l,f,h,d,p,g,w,m,B,v,b,y,C,E,N,Q,F,U,x,L=Math.ceil((A.width-r)/a),S=Math.ceil((A.height-o)/s),_=A.width==L&&A.height==S;for(y=t*L,v=_?n:new Uint8Array(y*S),d=e.length,b=0,c=0;b<S&&i<d;){switch(e[i++]){case 0:for(f=N=0;N<y;f=N+=1)v[c++]=e[i++];break;case 1:for(f=Q=0;Q<y;f=Q+=1)u=e[i++],h=f<t?0:v[c-t],v[c++]=(u+h)%256;break;case 2:for(f=F=0;F<y;f=F+=1)u=e[i++],l=(f-f%t)/t,C=b&&v[(b-1)*y+l*t+f%t],v[c++]=(C+u)%256;break;case 3:for(f=U=0;U<y;f=U+=1)u=e[i++],l=(f-f%t)/t,h=f<t?0:v[c-t],C=b&&v[(b-1)*y+l*t+f%t],v[c++]=(u+Math.floor((h+C)/2))%256;break;case 4:for(f=x=0;x<y;f=x+=1)u=e[i++],l=(f-f%t)/t,h=f<t?0:v[c-t],0===b?C=E=0:(C=v[(b-1)*y+l*t+f%t],E=l&&v[(b-1)*y+(l-1)*t+f%t]),p=h+C-E,g=Math.abs(p-h),m=Math.abs(p-C),B=Math.abs(p-E),w=g<=m&&g<=B?h:m<=B?C:E,v[c++]=(u+w)%256;break;default:throw new Error("Invalid filter algorithm: "+e[i-1])}if(!_){var H=((o+b*s)*A.width+r)*t,k=b*y;for(f=0;f<L;f+=1){for(var I=0;I<t;I+=1)n[H++]=v[k++];H+=(a-1)*t}}b++}}return e=Object(r.a)(e),1==A.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),n},A.prototype.decodePalette=function(){var e,t,n,r,i,A,o,a,s;for(n=this.palette,A=this.transparency.indexed||[],i=new Uint8Array((A.length||0)+n.length),r=0,e=0,t=o=0,a=n.length;o<a;t=o+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(s=A[e++])?s:255;return i},A.prototype.copyToImageData=function(e,t){var n,r,i,A,o,a,s,u,c,l,f;if(r=this.colors,c=null,n=this.hasAlphaChannel,this.palette.length&&(c=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),r=4,n=!0),u=(i=e.data||e).length,o=c||t,A=a=0,1===r)for(;A<u;)s=c?4*t[A/4]:a,l=o[s++],i[A++]=l,i[A++]=l,i[A++]=l,i[A++]=n?o[s++]:255,a=s;else for(;A<u;)s=c?4*t[A/4]:a,i[A++]=o[s++],i[A++]=o[s++],i[A++]=o[s++],i[A++]=n?o[s++]:255,a=s},A.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(i)){try{t=i.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var r;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},A.prototype.decodeFrames=function(t){var n,r,i,A,o,a,s,u;if(this.animation){for(u=[],r=o=0,a=(s=this.animation.frames).length;o<a;r=++o)n=s[r],i=t.createImageData(n.width,n.height),A=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,A),n.imageData=i,u.push(n.image=e(i));return u}},A.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},A.prototype.animate=function(e){var t,n,r,i,A,o,a=this;return n=0,o=this.animation,i=o.numFrames,r=o.frames,A=o.numPlays,(t=function(){var o,s;if(o=n++%i,s=r[o],a.renderFrame(e,o),i>1&&n/i<A)return a.animation._timeout=setTimeout(t,s.delay)})()},A.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},A.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},A}();function Xe(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],A=i>>7,o=1<<1+(7&i);e[t++],e[t++];var a=null,s=null;A&&(a=t,s=o,t+=3*o);var u=!0,c=[],l=0,f=null,h=0,d=null;for(this.width=n,this.height=r;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,d=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var p=e[t++];l=e[t++]|e[t++]<<8,f=e[t++],0==(1&p)&&(f=null),h=p>>2&7,t++;break;case 254:for(;;){if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var g=e[t++]|e[t++]<<8,w=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,B=e[t++]|e[t++]<<8,v=e[t++],b=v>>6&1,y=1<<1+(7&v),C=a,E=s,N=!1;v>>7&&(N=!0,C=t,E=y,t+=3*y);var Q=t;for(t++;;){var F;if(!((F=e[t++])>=0))throw Error("Invalid block size");if(0===F)break;t+=F}c.push({x:g,y:w,width:m,height:B,has_local_palette:N,palette_offset:C,palette_size:E,data_offset:Q,data_length:t-Q,transparent_index:f,interlaced:!!b,delay:l,disposal:h});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return d},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),A=i.width*i.height,o=new Uint8Array(A);Ge(e,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=n-u,l=u,f=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),d=f,p=4*c;!0===i.interlaced&&(p+=4*n*7);for(var g=8,w=0,m=o.length;w<m;++w){var B=o[w];if(0===l&&(l=u,(d+=p)>=h&&(p=4*c+4*n*(g-1),d=f+(u+c)*(g<<1),g>>=1)),B===s)d+=4;else{var v=e[a+3*B],b=e[a+3*B+1],y=e[a+3*B+2];r[d++]=y,r[d++]=b,r[d++]=v,r[d++]=255}--l}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),A=i.width*i.height,o=new Uint8Array(A);Ge(e,i.data_offset,o,A);var a=i.palette_offset,s=i.transparent_index;null===s&&(s=256);var u=i.width,c=n-u,l=u,f=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),d=f,p=4*c;!0===i.interlaced&&(p+=4*n*7);for(var g=8,w=0,m=o.length;w<m;++w){var B=o[w];if(0===l&&(l=u,(d+=p)>=h&&(p=4*c+4*n*(g-1),d=f+(u+c)*(g<<1),g>>=1)),B===s)d+=4;else{var v=e[a+3*B],b=e[a+3*B+1],y=e[a+3*B+2];r[d++]=v,r[d++]=b,r[d++]=y,r[d++]=255}--l}}}function Ge(e,t,n,r){for(var i=e[t++],A=1<<i,a=A+1,s=a+1,u=i+1,c=(1<<u)-1,l=0,f=0,h=0,d=e[t++],p=new Int32Array(4096),g=null;;){for(;l<16&&0!==d;)f|=e[t++]<<l,l+=8,1===d?d=e[t++]:--d;if(l<u)break;var w=f&c;if(f>>=u,l-=u,w!==A){if(w===a)break;for(var m=w<s?w:g,B=0,v=m;v>A;)v=p[v]>>8,++B;var b=v;if(h+B+(m!==w?1:0)>r)return void o.log("Warning, gif stream longer than expected.");n[h++]=b;var y=h+=B;for(m!==w&&(n[h++]=b),v=m;B--;)v=p[v],n[--y]=255&v,v>>=8;null!==g&&s<4096&&(p[s++]=g<<8|b,s>=c+1&&u<12&&(++u,c=c<<1|1)),g=w}else s=a+1,c=(1<<(u=i+1))-1,g=null}return h!==r&&o.log("Warning, gif stream shorter than expected."),n}function We(e){var t,n,r,i,A,o=Math.floor,a=new Array(64),s=new Array(64),u=new Array(64),c=new Array(64),l=new Array(65535),f=new Array(65535),h=new Array(64),d=new Array(64),p=[],g=0,w=7,m=new Array(64),B=new Array(64),v=new Array(64),b=new Array(256),y=new Array(2048),C=[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],E=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],Q=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],F=[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],U=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],L=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],S=[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 _(e,t){for(var n=0,r=0,i=new Array,A=1;A<=16;A++){for(var o=1;o<=e[A];o++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=A,r++,n++;n*=2}return i}function H(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(g|=1<<w),n--,--w<0&&(255==g?(k(255),k(0)):k(g),w=7,g=0)}function k(e){p.push(e)}function I(e){k(e>>8&255),k(255&e)}function O(e,t,n,r,i){for(var A,o=i[0],a=i[240],s=function(e,t){var n,r,i,A,o,a,s,u,c,l,f=0;for(c=0;c<8;++c){n=e[f],r=e[f+1],i=e[f+2],A=e[f+3],o=e[f+4],a=e[f+5],s=e[f+6];var d=n+(u=e[f+7]),p=n-u,g=r+s,w=r-s,m=i+a,B=i-a,v=A+o,b=A-o,y=d+v,C=d-v,E=g+m,N=g-m;e[f]=y+E,e[f+4]=y-E;var Q=.707106781*(N+C);e[f+2]=C+Q,e[f+6]=C-Q;var F=.382683433*((y=b+B)-(N=w+p)),U=.5411961*y+F,x=1.306562965*N+F,L=.707106781*(E=B+w),S=p+L,_=p-L;e[f+5]=_+U,e[f+3]=_-U,e[f+1]=S+x,e[f+7]=S-x,f+=8}for(f=0,c=0;c<8;++c){n=e[f],r=e[f+8],i=e[f+16],A=e[f+24],o=e[f+32],a=e[f+40],s=e[f+48];var H=n+(u=e[f+56]),k=n-u,I=r+s,O=r-s,T=i+a,P=i-a,R=A+o,M=A-o,D=H+R,K=H-R,j=I+T,z=I-T;e[f]=D+j,e[f+32]=D-j;var V=.707106781*(z+K);e[f+16]=K+V,e[f+48]=K-V;var q=.382683433*((D=M+P)-(z=O+k)),X=.5411961*D+q,G=1.306562965*z+q,W=.707106781*(j=P+O),J=k+W,Y=k-W;e[f+40]=Y+X,e[f+24]=Y-X,e[f+8]=J+G,e[f+56]=J-G,f++}for(c=0;c<64;++c)l=e[c]*t[c],h[c]=l>0?l+.5|0:l-.5|0;return h}(e,t),u=0;u<64;++u)d[C[u]]=s[u];var c=d[0]-n;n=d[0],0==c?H(r[0]):(H(r[f[A=32767+c]]),H(l[A]));for(var p=63;p>0&&0==d[p];)p--;if(0==p)return H(o),n;for(var g,w=1;w<=p;){for(var m=w;0==d[w]&&w<=p;)++w;var B=w-m;if(B>=16){g=B>>4;for(var v=1;v<=g;++v)H(a);B&=15}A=32767+d[w],H(i[(B<<4)+f[A]]),H(l[A]),w++}return 63!=p&&H(o),n}function T(e){e=Math.min(Math.max(e,1),100),A!=e&&(function(e){for(var t=[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],n=0;n<64;n++){var r=o((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),a[C[n]]=r}for(var i=[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],A=0;A<64;A++){var l=o((i[A]*e+50)/100);l=Math.min(Math.max(l,1),255),s[C[A]]=l}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,d=0;d<8;d++)for(var p=0;p<8;p++)u[h]=1/(a[C[h]]*f[d]*f[p]*8),c[h]=1/(s[C[h]]*f[d]*f[p]*8),h++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),A=e)}this.encode=function(e,A){A&&T(A),p=new Array,g=0,w=7,I(65496),I(65504),I(16),k(74),k(70),k(73),k(70),k(0),k(1),k(1),k(0),I(1),I(1),k(0),k(0),function(){I(65499),I(132),k(0);for(var e=0;e<64;e++)k(a[e]);k(1);for(var t=0;t<64;t++)k(s[t])}(),function(e,t){I(65472),I(17),k(8),I(t),I(e),k(3),k(1),k(17),k(0),k(2),k(17),k(1),k(3),k(17),k(1)}(e.width,e.height),function(){I(65476),I(418),k(0);for(var e=0;e<16;e++)k(E[e+1]);for(var t=0;t<=11;t++)k(N[t]);k(16);for(var n=0;n<16;n++)k(Q[n+1]);for(var r=0;r<=161;r++)k(F[r]);k(1);for(var i=0;i<16;i++)k(U[i+1]);for(var A=0;A<=11;A++)k(x[A]);k(17);for(var o=0;o<16;o++)k(L[o+1]);for(var a=0;a<=161;a++)k(S[a])}(),I(65498),I(12),k(3),k(1),k(0),k(2),k(17),k(3),k(17),k(0),k(63),k(0);var o=0,l=0,f=0;g=0,w=7,this.encode.displayName="_encode_";for(var h,d,b,C,_,P,R,M,D,K=e.data,j=e.width,z=e.height,V=4*j,q=0;q<z;){for(h=0;h<V;){for(_=V*q+h,R=-1,M=0,D=0;D<64;D++)P=_+(M=D>>3)*V+(R=4*(7&D)),q+M>=z&&(P-=V*(q+1+M-z)),h+R>=V&&(P-=h+R-V+4),d=K[P++],b=K[P++],C=K[P++],m[D]=(y[d]+y[b+256>>0]+y[C+512>>0]>>16)-128,B[D]=(y[d+768>>0]+y[b+1024>>0]+y[C+1280>>0]>>16)-128,v[D]=(y[d+1280>>0]+y[b+1536>>0]+y[C+1792>>0]>>16)-128;o=O(m,u,o,t,r),l=O(B,c,l,n,i),f=O(v,c,f,n,i),h+=32}q+=8}if(w>=0){var X=[];X[1]=w+1,X[0]=(1<<w+1)-1,H(X)}return I(65497),new Uint8Array(p)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)b[t]=e(t)}(),t=_(E,N),n=_(U,x),r=_(Q,F),i=_(L,S),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)f[32767+r]=n,l[32767+r]=[],l[32767+r][1]=n,l[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)f[32767+i]=n,l[32767+i]=[],l[32767+i][1]=n,l[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)y[e]=19595*e,y[e+256>>0]=38470*e,y[e+512>>0]=7471*e+32768,y[e+768>>0]=-11059*e,y[e+1024>>0]=-21709*e,y[e+1280>>0]=32768*e+8421375,y[e+1536>>0]=-27439*e,y[e+1792>>0]=-5329*e}(),T(e)}function Je(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ye(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var A=0;A<i;A++)e[t+A]=n[r+A]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function A(e){return new Int32Array(e)}function o(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function a(e,t){var n=[];return function e(n,r,i){for(var A=i[r],o=0;o<A&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));o++)e(n[o],r+1,i)}(n,0,e),n}function s(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function c(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new(Ye=function(){var e=this;function s(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function u(e,n,r,i,A){t(!(i%r));do{e[n+(i-=r)]=A}while(0<i)}function c(e,n,r,i,o){if(t(2328>=o),512>=o)var a=A(512);else if(null==(a=A(o)))return 0;return function(e,n,r,i,o,a){var c,f,h=n,d=1<<r,p=A(16),g=A(16);for(t(0!=o),t(null!=i),t(null!=e),t(0<r),f=0;f<o;++f){if(15<i[f])return 0;++p[i[f]]}if(p[0]==o)return 0;for(g[1]=0,c=1;15>c;++c){if(p[c]>1<<c)return 0;g[c+1]=g[c]+p[c]}for(f=0;f<o;++f)c=i[f],0<i[f]&&(a[g[c]++]=f);if(1==g[15])return(i=new l).g=0,i.value=a[0],u(e,h,1,d,i),d;var w,m=-1,B=d-1,v=0,b=1,y=1,C=1<<r;for(f=0,c=1,o=2;c<=r;++c,o<<=1){if(b+=y<<=1,0>(y-=p[c]))return 0;for(;0<p[c];--p[c])(i=new l).g=c,i.value=a[f++],u(e,h+v,o,C,i),v=s(v,c)}for(c=r+1,o=2;15>=c;++c,o<<=1){if(b+=y<<=1,0>(y-=p[c]))return 0;for(;0<p[c];--p[c]){if(i=new l,(v&B)!=m){for(h+=C,w=1<<(m=c)-r;15>m&&!(0>=(w-=p[m]));)++m,w<<=1;d+=C=1<<(w=m-r),e[n+(m=v&B)].g=w+r,e[n+m].value=h-n-m}i.g=c-r,i.value=a[f++],u(e,h+(v>>r),o,C,i),v=s(v,c)}}return b!=2*g[15]-1?0:d}(e,n,r,i,o,a)}function l(){this.value=this.g=0}function f(){this.value=this.g=0}function h(){this.G=o(5,l),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(Rn,f)}function d(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,Q(e)}function p(e,t){for(var n=0;0<t--;)n|=U(e,128)<<t;return n}function g(e,t){var n=p(e,t);return F(e)?-n:n}function w(e,n,r,i){var A,o=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),A=0;A<i;++A)o+=n[r+A]<<8*A;e.Ra=o,e.bb=i,e.oa=n,e.pa=r}function m(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Kn-8>>>0,++e.bb,e.u-=8;C(e)&&(e.h=1,e.u=0)}function B(e,n){if(t(0<=n),!e.h&&n<=Dn){var r=y(e)&Mn[n];return e.u+=n,m(e),r}return e.h=1,e.u=0}function v(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function y(e){return e.Ra>>>(e.u&Kn-1)>>>0}function C(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Kn}function E(e,t){e.u=t,e.h=C(e)}function N(e){e.u>=jn&&(t(e.u>=jn),m(e))}function Q(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function F(e){return p(e,1)}function U(e,t){var n=e.Ca;0>e.b&&Q(e);var r=e.b,i=n*t>>>8,A=(e.I>>>r>i)+0;for(A?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+zn[r],e.b-=r,e.Ca=(n<<r)-1,A}function x(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function L(e,t){return e[t+0]<<0|e[t+1]<<8}function S(e,t){return L(e,t)|e[t+2]<<16}function _(e,t){return L(e,t)|L(e,t+2)<<16}function H(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=A(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function k(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function I(){this.X=[],this.Xa=this.Mb=0}function O(e,n,r,i){t(null!=r),t(null!=i);var A=r[0],o=i[0];return 0==A&&(A=(e*o+n/2)/n),0==o&&(o=(n*A+e/2)/e),0>=A||0>=o?0:(r[0]=A,i[0]=o,1)}function T(e,t){return e+(1<<t)-1>>>t}function P(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function R(t,n){e[n]=function(n,r,i,A,o,a,s){var u;for(u=0;u<o;++u){var c=e[t](a[s+u-1],i,A+u);a[s+u]=P(n[r+u],c)}}}function M(){this.ud=this.hd=this.jd=0}function D(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function K(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function j(e,t){return K(e+(e-t+.5>>1))}function z(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function V(e,t,n,r,i,A,o){for(r=A[o-1],n=0;n<i;++n)A[o+n]=r=P(e[t+n],r)}function q(e,t,n,r,i){var A;for(A=0;A<n;++A){var o=e[t+A],a=o>>8&255,s=16711935&(s=(s=16711935&o)+((a<<16)+a));r[i+A]=(4278255360&o)+s>>>0}}function X(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function G(e,t,n,r,i,A){var o;for(o=0;o<r;++o){var a=t[n+o],s=a>>>8,u=a,c=255&(c=(c=a>>>16)+((e.jd<<24>>24)*(s<<24>>24)>>>5));u=255&(u=(u+=(e.hd<<24>>24)*(s<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),i[A+o]=(4278255360&a)+(c<<16)+u}}function W(t,n,r,i,A){e[n]=function(e,t,n,r,o,a,s,u,c){for(r=s;r<u;++r)for(s=0;s<c;++s)o[a++]=A(n[i(e[t++])])},e[t]=function(t,n,o,a,s,u,c){var l=8>>t.b,f=t.Ea,h=t.K[0],d=t.w;if(8>l)for(t=(1<<t.b)-1,d=(1<<l)-1;n<o;++n){var p,g=0;for(p=0;p<f;++p)p&t||(g=i(a[s++])),u[c++]=A(h[g&d]),g>>=l}else e["VP8LMapColor"+r](a,s,h,d,u,c,n,o,f)}}function J(e,t,n,r,i){for(n=t+n;t<n;){var A=e[t++];r[i++]=A>>16&255,r[i++]=A>>8&255,r[i++]=A>>0&255}}function Y(e,t,n,r,i){for(n=t+n;t<n;){var A=e[t++];r[i++]=A>>16&255,r[i++]=A>>8&255,r[i++]=A>>0&255,r[i++]=A>>24&255}}function $(e,t,n,r,i){for(n=t+n;t<n;){var A=(o=e[t++])>>16&240|o>>12&15,o=o>>0&240|o>>28&15;r[i++]=A,r[i++]=o}}function Z(e,t,n,r,i){for(n=t+n;t<n;){var A=(o=e[t++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;r[i++]=A,r[i++]=o}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var A=e[t++];r[i++]=A>>0&255,r[i++]=A>>8&255,r[i++]=A>>16&255}}function te(e,t,n,i,A,o){if(0==o)for(n=t+n;t<n;)x(i,((o=e[t++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),A+=32;else r(i,A,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==jr||e==zr||e==Vr||e==qr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function Ae(){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 oe(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new Ae,this.sd=null}function ae(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function se(){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 ue(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var n=e.T,i=t.ba.f.RGBA,A=i.eb,o=i.fb+e.ka*i.A,a=wi[t.ba.S],s=e.y,u=e.O,c=e.f,l=e.N,f=e.ea,h=e.W,d=t.cc,p=t.dc,g=t.Mc,w=t.Nc,m=e.ka,B=e.ka+e.T,v=e.U,b=v+1>>1;for(0==m?a(s,u,null,null,c,l,f,h,c,l,f,h,A,o,null,null,v):(a(t.ec,t.fc,s,u,d,p,g,w,c,l,f,h,A,o-i.A,A,o,v),++n);m+2<B;m+=2)d=c,p=l,g=f,w=h,l+=e.Rc,h+=e.Rc,o+=2*i.A,a(s,(u+=2*e.fa)-e.fa,s,u,d,p,g,w,c,l,f,h,A,o-i.A,A,o,v);return u+=e.fa,e.j+B<e.o?(r(t.ec,t.fc,s,u,v),r(t.cc,t.dc,c,l,b),r(t.Mc,t.Nc,f,h,b),n--):1&B||a(s,u,null,null,c,l,f,h,c,l,f,h,A,o+i.A,null,null,v),n}function le(e,n,r){var i=e.F,A=[e.J];if(null!=i){var o=e.U,a=n.ba.S,s=a==Mr||a==Vr;n=n.ba.f.RGBA;var u=[0],c=e.ka;u[0]=e.T,e.Kb&&(0==c?--u[0]:(--c,A[0]-=e.width),e.j+e.ka+e.T==e.o&&(u[0]=e.o-e.j-c));var l=n.eb;c=n.fb+c*n.A,e=Nr(i,A[0],e.width,o,u,l,c+(s?0:3),n.A),t(r==u),e&&re(a)&&Cr(l,c,s,o,u,n.A)}return 0}function fe(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==Tr||n==Rr||n==Mr||n==Dr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!On(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&Bn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ue,e.Kb){if(n=e.U+1>>1,t.memory=A(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ce,Bn()}}else alert("todo:EmitYUV");i&&(t.Jb=le,r&&wn())}if(r&&!Si){for(e=0;256>e;++e)_i[e]=89858*(e-128)+Qi>>Ni,Ii[e]=-22014*(e-128)+Qi,ki[e]=-45773*(e-128),Hi[e]=113618*(e-128)+Qi>>Ni;for(e=Fi;e<Ui;++e)t=76283*(e-16)+Qi>>Ni,Oi[e-Fi]=Ve(t,255),Ti[e-Fi]=Ve(t+8>>4,15);Si=1}return 1}function he(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function de(e){e.ma.memory=null}function pe(e,t,n,r){return 47!=B(e,8)?0:(t[0]=B(e,14)+1,n[0]=B(e,14)+1,r[0]=B(e,1),0!=B(e,3)?0:!e.h)}function ge(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+B(t,n)+1}function we(e,t){return 120<t?t-120:1<=(n=((n=$r[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function me(e,t,n){var r=y(n),i=e[t+=255&r].g-8;return 0<i&&(E(n,n.u+8),r=y(n),t+=e[t].value,t+=r&(1<<i)-1),E(n,n.u+e[t].g),e[t].value}function Be(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ve(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function be(e,n,i,A){var o=e.ab,a=e.c*n,s=e.C;n=s+n;var u=i,c=A;for(A=e.Ta,i=e.Ua;0<o--;){var l=e.gc[o],f=s,h=n,d=u,p=c,g=(c=A,u=i,l.Ea);switch(t(f<h),t(h<=l.nc),l.hc){case 2:Xn(d,p,(h-f)*g,c,u);break;case 0:var w=f,m=h,B=c,v=u,b=(Q=l).Ea;0==w&&(Vn(d,p,null,null,1,B,v),V(d,p+1,0,0,b-1,B,v+1),p+=b,v+=b,++w);for(var y=1<<Q.b,C=y-1,E=T(b,Q.b),N=Q.K,Q=Q.w+(w>>Q.b)*E;w<m;){var F=N,U=Q,x=1;for(qn(d,p,B,v-b,1,B,v);x<b;){var L=(x&~C)+y;L>b&&(L=b),(0,$n[F[U++]>>8&15])(d,p+ +x,B,v+x-b,L-x,B,v+x),x=L}p+=b,v+=b,++w&C||(Q+=E)}h!=l.nc&&r(c,u-g,c,u+(h-f-1)*g,g);break;case 1:for(g=d,m=p,b=(d=l.Ea)-(v=d&~(B=(p=1<<l.b)-1)),w=T(d,l.b),y=l.K,l=l.w+(f>>l.b)*w;f<h;){for(C=y,E=l,N=new M,Q=m+v,F=m+d;m<Q;)X(C[E++],N),Zn(N,g,m,p,c,u),m+=p,u+=p;m<F&&(X(C[E++],N),Zn(N,g,m,b,c,u),m+=b,u+=b),++f&B||(l+=w)}break;case 3:if(d==c&&p==u&&0<l.b){for(m=c,d=g=u+(h-f)*g-(v=(h-f)*T(l.Ea,l.b)),p=c,B=u,w=[],v=(b=v)-1;0<=v;--v)w[v]=p[B+v];for(v=b-1;0<=v;--v)m[d+v]=w[v];Gn(l,f,h,c,g,c,u)}else Gn(l,f,h,d,p,c,u)}u=A,c=i}c!=i&&r(A,i,u,c,a)}function ye(e,n){var r=e.V,i=e.Ba+e.c*e.C,A=n-e.C;if(t(n<=e.l.o),t(16>=A),0<A){var o=e.l,a=e.Ta,s=e.Ua,u=o.width;if(be(e,A,r,i),A=s=[s],t((r=e.C)<(i=n)),t(o.v<o.va),i>o.o&&(i=o.o),r<o.j){var c=o.j-r;r=o.j,A[0]+=c*u}if(r>=i?r=0:(A[0]+=4*o.v,o.ka=r-o.j,o.U=o.va-o.v,o.T=i-r,r=1),r){if(s=s[0],11>(r=e.ca).S){var l=r.f.RGBA,f=(i=r.S,A=o.U,o=o.T,c=l.eb,l.A),h=o;for(l=l.fb+e.Ma*l.A;0<h--;){var d=a,p=s,g=A,w=c,m=l;switch(i){case Or:er(d,p,g,w,m);break;case Tr:tr(d,p,g,w,m);break;case jr:tr(d,p,g,w,m),Cr(w,m,0,g,1,0);break;case Pr:ir(d,p,g,w,m);break;case Rr:te(d,p,g,w,m,1);break;case zr:te(d,p,g,w,m,1),Cr(w,m,0,g,1,0);break;case Mr:te(d,p,g,w,m,0);break;case Vr:te(d,p,g,w,m,0),Cr(w,m,1,g,1,0);break;case Dr:nr(d,p,g,w,m);break;case qr:nr(d,p,g,w,m),Er(w,m,g,1,0);break;case Kr:rr(d,p,g,w,m);break;default:t(0)}s+=u,l+=f}e.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function Ce(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Ee(e,n,r,i,A,o){if(0!=e.Z){var a=e.qd,s=e.rd;for(t(null!=gi[e.Z]);n<r;++n)gi[e.Z](a,s,i,A,i,A,o),a=i,s=A,A+=o;e.qd=a,e.rd=s}}function Ne(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var A=e.l.width,o=r.ca,a=r.tb+A*i,s=e.V,u=e.Ba+e.c*i,c=e.gc;t(1==e.ab),t(3==c[0].hc),Jn(c[0],i,n,s,u,o,a),Ee(r,i,n,o,a,A)}e.C=e.Ma=n}function Qe(e,n,r,i,A,o,a){var s=e.$/i,u=e.$%i,c=e.m,l=e.s,f=r+e.$,h=f;A=r+i*A;var d=r+i*o,p=280+l.ua,g=e.Pb?s:16777216,w=0<l.ua?l.Wa:null,m=l.wc,B=f<d?ve(l,u,s):null;t(e.C<o),t(d<=A);var v=!1;e:for(;;){for(;v||f<d;){var b=0;if(s>=g){var Q=f-r;t((g=e).Pb),g.wd=g.m,g.xd=Q,0<g.s.ua&&k(g.s.Wa,g.s.vb),g=s+ei}if(u&m||(B=ve(l,u,s)),t(null!=B),B.Qb&&(n[f]=B.qb,v=!0),!v)if(N(c),B.jc){b=c,Q=n;var F=f,U=B.pd[y(b)&Rn-1];t(B.jc),256>U.g?(E(b,b.u+U.g),Q[F]=U.value,b=0):(E(b,b.u+U.g-256),t(256<=U.value),b=U.value),0==b&&(v=!0)}else b=me(B.G[0],B.H[0],c);if(c.h)break;if(v||256>b){if(!v)if(B.nd)n[f]=(B.qb|b<<8)>>>0;else{if(N(c),v=me(B.G[1],B.H[1],c),N(c),Q=me(B.G[2],B.H[2],c),F=me(B.G[3],B.H[3],c),c.h)break;n[f]=(F<<24|v<<16|b<<8|Q)>>>0}if(v=!1,++f,++u>=i&&(u=0,++s,null!=a&&s<=o&&!(s%16)&&a(e,s),null!=w))for(;h<f;)b=n[h++],w.X[(506832829*b&4294967295)>>>w.Mb]=b}else if(280>b){if(b=ge(b-256,c),Q=me(B.G[4],B.H[4],c),N(c),Q=we(i,Q=ge(Q,c)),c.h)break;if(f-r<Q||A-f<b)break e;for(F=0;F<b;++F)n[f+F]=n[f+F-Q];for(f+=b,u+=b;u>=i;)u-=i,++s,null!=a&&s<=o&&!(s%16)&&a(e,s);if(t(f<=A),u&m&&(B=ve(l,u,s)),null!=w)for(;h<f;)b=n[h++],w.X[(506832829*b&4294967295)>>>w.Mb]=b}else{if(!(b<p))break e;for(v=b-280,t(null!=w);h<f;)b=n[h++],w.X[(506832829*b&4294967295)>>>w.Mb]=b;b=f,t(!(v>>>(Q=w).Xa)),n[b]=Q.X[v],v=!0}v||t(c.h==C(c))}if(e.Pb&&c.h&&f<A)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&k(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=a&&a(e,s>o?o:s),e.a=0,e.$=f-r}return 1}return e.a=3,0}function Fe(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Ue(){var t=new an;return null==t?null:(t.a=0,t.xb=pi,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Xn=q,Zn=G,er=J,tr=Y,nr=$,rr=Z,ir=ee,e.VP8LMapColor32b=Wn,e.VP8LMapColor8b=Yn,t)}function xe(e,n,r,a,s){var u=1,f=[e],d=[n],p=a.m,g=a.s,w=null,m=0;e:for(;;){if(r)for(;u&&B(p,1);){var v=f,b=d,C=a,Q=1,F=C.m,U=C.gc[C.ab],x=B(F,2);if(C.Oc&1<<x)u=0;else{switch(C.Oc|=1<<x,U.hc=x,U.Ea=v[0],U.nc=b[0],U.K=[null],++C.ab,t(4>=C.ab),x){case 0:case 1:U.b=B(F,3)+2,Q=xe(T(U.Ea,U.b),T(U.nc,U.b),0,C,U.K),U.K=U.K[0];break;case 3:var L,S=B(F,8)+1,_=16<S?0:4<S?1:2<S?2:3;if(v[0]=T(U.Ea,_),U.b=_,L=Q=xe(S,1,0,C,U.K)){var k,I=S,O=U,R=1<<(8>>O.b),M=A(R);if(null==M)L=0;else{var D=O.K[0],K=O.w;for(M[0]=O.K[0][0],k=1;k<1*I;++k)M[k]=P(D[K+k],M[k-1]);for(;k<4*R;++k)M[k]=0;O.K[0]=null,O.K[0]=M,L=1}}Q=L;break;case 2:break;default:t(0)}u=Q}}if(f=f[0],d=d[0],u&&B(p,1)&&!(u=1<=(m=B(p,4))&&11>=m)){a.a=3;break e}var j;if(j=u)t:{var z,V,q,X=a,G=f,W=d,J=m,Y=r,$=X.m,Z=X.s,ee=[null],te=1,ne=0,re=Zr[J];n:for(;;){if(Y&&B($,1)){var ie=B($,3)+2,Ae=T(G,ie),oe=T(W,ie),ae=Ae*oe;if(!xe(Ae,oe,0,X,ee))break n;for(ee=ee[0],Z.xc=ie,z=0;z<ae;++z){var se=ee[z]>>8&65535;ee[z]=se,se>=te&&(te=se+1)}}if($.h)break n;for(V=0;5>V;++V){var ue=Wr[V];!V&&0<J&&(ue+=1<<J),ne<ue&&(ne=ue)}var ce=o(te*re,l),le=te,fe=o(le,h);if(null==fe)var he=null;else t(65536>=le),he=fe;var de=A(ne);if(null==he||null==de||null==ce){X.a=1;break n}var pe=ce;for(z=q=0;z<te;++z){var ge=he[z],we=ge.G,me=ge.H,ve=0,be=1,ye=0;for(V=0;5>V;++V){ue=Wr[V],we[V]=pe,me[V]=q,!V&&0<J&&(ue+=1<<J);r:{var Ce,Ee=ue,Ne=X,Ue=de,Le=pe,Se=q,_e=0,He=Ne.m,ke=B(He,1);if(i(Ue,0,0,Ee),ke){var Ie=B(He,1)+1,Oe=B(He,1),Te=B(He,0==Oe?1:8);Ue[Te]=1,2==Ie&&(Ue[Te=B(He,8)]=1);var Pe=1}else{var Re=A(19),Me=B(He,4)+4;if(19<Me){Ne.a=3;var De=0;break r}for(Ce=0;Ce<Me;++Ce)Re[Yr[Ce]]=B(He,3);var Ke=void 0,je=void 0,ze=Ne,Ve=Re,qe=Ee,Xe=Ue,Ge=0,We=ze.m,Je=8,Ye=o(128,l);i:for(;c(Ye,0,7,Ve,19);){if(B(We,1)){var $e=2+2*B(We,3);if((Ke=2+B(We,$e))>qe)break i}else Ke=qe;for(je=0;je<qe&&Ke--;){N(We);var Ze=Ye[0+(127&y(We))];E(We,We.u+Ze.g);var et=Ze.value;if(16>et)Xe[je++]=et,0!=et&&(Je=et);else{var tt=16==et,nt=et-16,rt=Gr[nt],it=B(We,Xr[nt])+rt;if(je+it>qe)break i;for(var At=tt?Je:0;0<it--;)Xe[je++]=At}}Ge=1;break i}Ge||(ze.a=3),Pe=Ge}(Pe=Pe&&!He.h)&&(_e=c(Le,Se,8,Ue,Ee)),Pe&&0!=_e?De=_e:(Ne.a=3,De=0)}if(0==De)break n;if(be&&1==Jr[V]&&(be=0==pe[q].g),ve+=pe[q].g,q+=De,3>=V){var ot,at=de[0];for(ot=1;ot<ue;++ot)de[ot]>at&&(at=de[ot]);ye+=at}}if(ge.nd=be,ge.Qb=0,be&&(ge.qb=(we[3][me[3]+0].value<<24|we[1][me[1]+0].value<<16|we[2][me[2]+0].value)>>>0,0==ve&&256>we[0][me[0]+0].value&&(ge.Qb=1,ge.qb+=we[0][me[0]+0].value<<8)),ge.jc=!ge.Qb&&6>ye,ge.jc){var st,ut=ge;for(st=0;st<Rn;++st){var ct=st,lt=ut.pd[ct],ft=ut.G[0][ut.H[0]+ct];256<=ft.value?(lt.g=ft.g+256,lt.value=ft.value):(lt.g=0,lt.value=0,ct>>=Be(ft,8,lt),ct>>=Be(ut.G[1][ut.H[1]+ct],16,lt),ct>>=Be(ut.G[2][ut.H[2]+ct],0,lt),Be(ut.G[3][ut.H[3]+ct],24,lt))}}}Z.vc=ee,Z.Wb=te,Z.Ya=he,Z.yc=ce,j=1;break t}j=0}if(!(u=j)){a.a=3;break e}if(0<m){if(g.ua=1<<m,!H(g.Wa,m)){a.a=1,u=0;break e}}else g.ua=0;var ht=a,dt=f,pt=d,gt=ht.s,wt=gt.xc;if(ht.c=dt,ht.i=pt,gt.md=T(dt,wt),gt.wc=0==wt?-1:(1<<wt)-1,r){a.xb=di;break e}if(null==(w=A(f*d))){a.a=1,u=0;break e}u=(u=Qe(a,w,0,f,d,d,null))&&!p.h;break e}return u?(null!=s?s[0]=w:(t(null==w),t(r)),a.$=0,r||Fe(g)):Fe(g),u}function Le(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=A(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Se(e,n){var r=e.C,i=n-r,A=e.V,o=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var a=16<i?16:i,s=e.l.ma,u=e.l.width,c=u*a,l=s.ca,f=s.tb+u*r,h=e.Ta,d=e.Ua;be(e,a,A,o),Qr(h,d,l,f,c),Ee(s,r,r+a,l,f,u),i-=a,A+=a*e.c,r+=a}t(r==n),e.C=e.Ma=n}function _e(){this.ub=this.yd=this.td=this.Rb=0}function He(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ke(){this.Fb=this.Bb=this.Cb=0,this.Zb=A(4),this.Lb=A(4)}function Ie(){this.Yb=function(){var e=[];return function e(t,n,r){for(var i=r[n],A=0;A<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));A++)e(t[A],n+1,r)}(e,0,[3,11]),e}()}function Oe(){this.jb=A(3),this.Wc=a([4,8],Ie),this.Xc=a([4,17],Ie)}function Te(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new A(4),this.od=new A(4)}function Pe(){this.ld=this.La=this.dd=this.tc=0}function Re(){this.Na=this.la=0}function Me(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function De(){this.ad=A(384),this.Za=0,this.Ob=A(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ke(){this.uc=this.M=this.Nb=0,this.wa=Array(new Pe),this.Y=0,this.ya=Array(new De),this.aa=0,this.l=new qe}function je(){this.y=A(16),this.f=A(8),this.ea=A(8)}function ze(){this.cb=this.a=0,this.sc="",this.m=new v,this.Od=new _e,this.Kc=new He,this.ed=new Te,this.Qa=new ke,this.Ic=this.$c=this.Aa=0,this.D=new Ke,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,v),this.ia=0,this.pb=o(4,Me),this.Pa=new Oe,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new je),this.Hd=0,this.rb=Array(new Re),this.sb=0,this.wa=Array(new Pe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new De),this.L=this.aa=0,this.gd=a([4,2],Pe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ve(e,t){return 0>e?0:e>t?t:e}function qe(){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 Xe(){var e=new ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ri||(ri=Ye)),e}function Ge(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function We(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Je(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ge(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,A=n.w,o=n.ha;if(4>o)return Ge(e,7,"Truncated header.");var a=r[A+0]|r[A+1]<<8|r[A+2]<<16,s=e.Od;if(s.Rb=!(1&a),s.td=a>>1&7,s.yd=a>>4&1,s.ub=a>>5,3<s.td)return Ge(e,3,"Incorrect keyframe parameters.");if(!s.yd)return Ge(e,4,"Frame not displayable.");A+=3,o-=3;var u=e.Kc;if(s.Rb){if(7>o)return Ge(e,7,"cannot parse picture header");if(!We(r,A,o))return Ge(e,3,"Bad code word");u.c=16383&(r[A+4]<<8|r[A+3]),u.Td=r[A+4]>>6,u.i=16383&(r[A+6]<<8|r[A+5]),u.Ud=r[A+6]>>6,A+=7,o-=7,e.za=u.c+15>>4,e.Ub=u.i+15>>4,n.width=u.c,n.height=u.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((a=e.Pa).jb,0,255,a.jb.length),t(null!=(a=e.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,i(a.Zb,0,0,a.Zb.length),i(a.Lb,0,0,a.Lb)}if(s.ub>o)return Ge(e,7,"bad partition length");d(a=e.m,r,A,s.ub),A+=s.ub,o-=s.ub,s.Rb&&(u.Ld=F(a),u.Kd=F(a)),u=e.Qa;var c,l=e.Pa;if(t(null!=a),t(null!=u),u.Cb=F(a),u.Cb){if(u.Bb=F(a),F(a)){for(u.Fb=F(a),c=0;4>c;++c)u.Zb[c]=F(a)?g(a,7):0;for(c=0;4>c;++c)u.Lb[c]=F(a)?g(a,6):0}if(u.Bb)for(c=0;3>c;++c)l.jb[c]=F(a)?p(a,8):255}else u.Bb=0;if(a.Ka)return Ge(e,3,"cannot parse segment header");if((u=e.ed).zd=F(a),u.Tb=p(a,6),u.wb=p(a,3),u.Pc=F(a),u.Pc&&F(a)){for(l=0;4>l;++l)F(a)&&(u.vd[l]=g(a,6));for(l=0;4>l;++l)F(a)&&(u.od[l]=g(a,6))}if(e.L=0==u.Tb?0:u.zd?1:2,a.Ka)return Ge(e,3,"cannot parse filter header");var f=o;if(o=c=A,A=c+f,u=f,e.Xb=(1<<p(e.m,2))-1,f<3*(l=e.Xb))r=7;else{for(c+=3*l,u-=3*l,f=0;f<l;++f){var h=r[o+0]|r[o+1]<<8|r[o+2]<<16;h>u&&(h=u),d(e.Jc[+f],r,c,h),c+=h,u-=h,o+=3}d(e.Jc[+l],r,c,u),r=c<A?0:5}if(0!=r)return Ge(e,r,"cannot parse partitions");for(r=p(c=e.m,7),o=F(c)?g(c,4):0,A=F(c)?g(c,4):0,u=F(c)?g(c,4):0,l=F(c)?g(c,4):0,c=F(c)?g(c,4):0,f=e.Qa,h=0;4>h;++h){if(f.Cb){var w=f.Zb[h];f.Fb||(w+=r)}else{if(0<h){e.pb[h]=e.pb[0];continue}w=r}var m=e.pb[h];m.Sc[0]=ti[Ve(w+o,127)],m.Sc[1]=ni[Ve(w+0,127)],m.Eb[0]=2*ti[Ve(w+A,127)],m.Eb[1]=101581*ni[Ve(w+u,127)]>>16,8>m.Eb[1]&&(m.Eb[1]=8),m.Qc[0]=ti[Ve(w+l,117)],m.Qc[1]=ni[Ve(w+c,127)],m.lc=w+c}if(!s.Rb)return Ge(e,4,"Not a key frame.");for(F(a),s=e.Pa,r=0;4>r;++r){for(o=0;8>o;++o)for(A=0;3>A;++A)for(u=0;11>u;++u)l=U(a,ui[r][o][A][u])?p(a,8):ai[r][o][A][u],s.Wc[r][o].Yb[A][u]=l;for(o=0;17>o;++o)s.Xc[r][o]=s.Wc[r][ci[o]]}return e.kc=F(a),e.kc&&(e.Bd=p(a,8)),e.cb=1}function Ye(e,t,n,r,i,A,o){var a=t[i].Yb[n];for(n=0;16>i;++i){if(!U(e,a[n+0]))return i;for(;!U(e,a[n+1]);)if(a=t[++i].Yb[0],n=0,16==i)return 16;var s=t[i+1].Yb;if(U(e,a[n+2])){var u=e,c=0;if(U(u,(f=a)[(l=n)+3]))if(U(u,f[l+6])){for(a=0,l=2*(c=U(u,f[l+8]))+(f=U(u,f[l+9+c])),c=0,f=ii[l];f[a];++a)c+=c+U(u,f[a]);c+=3+(8<<l)}else U(u,f[l+7])?(c=7+2*U(u,165),c+=U(u,145)):c=5+U(u,159);else c=U(u,f[l+4])?3+U(u,f[l+5]):2;a=s[2]}else c=1,a=s[1];s=o+Ai[i],0>(u=e).b&&Q(u);var l,f=u.b,h=(l=u.Ca>>1)-(u.I>>f)>>31;--u.b,u.Ca+=h,u.Ca|=1,u.I-=(l+1&h)<<f,A[s]=((c^h)-h)*r[(0<i)+0]}return 16}function $e(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function Ze(e,n){if(null==e)return 0;if(null==n)return Ge(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Je(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var a=Ri[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-a>>4,e.zb=n.j-a>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+a>>4,e.Hb=n.va+15+a>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var s=e.ed;for(a=0;4>a;++a){var u;if(e.Qa.Cb){var c=e.Qa.Lb[a];e.Qa.Fb||(c+=s.Tb)}else c=s.Tb;for(u=0;1>=u;++u){var l=e.gd[a][u],f=c;if(s.Pc&&(f+=s.vd[0],u&&(f+=s.od[0])),0<(f=0>f?0:63<f?63:f)){var h=f;0<s.wb&&(h=4<s.wb?h>>2:h>>1)>9-s.wb&&(h=9-s.wb),1>h&&(h=1),l.dd=h,l.tc=2*f+h,l.ld=40<=f?2:15<=f?1:0}else l.tc=0;l.La=u}}}a=0}else Ge(e,6,"Frame setup failed"),a=e.a;if(a=0==a){if(a){e.$c=0,0<e.Aa||(e.Ic=Di);e:{a=e.Ic,s=4*(h=e.za);var d=32*h,p=h+1,g=0<e.L?h*(0<e.Aa?2:1):0,w=(2==e.Aa?2:1)*h;if((l=s+832+(u=3*(16*a+Ri[e.L])/2*d)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=l)a=0;else{if(l>e.Vb){if(e.Vb=0,e.Ec=A(l),e.Fc=0,null==e.Ec){a=Ge(e,1,"no memory during frame initialization.");break e}e.Vb=l}l=e.Ec,f=e.Fc,e.Ac=l,e.Bc=f,f+=s,e.Gd=o(d,je),e.Hd=0,e.rb=o(p+1,Re),e.sb=1,e.wa=g?o(g,Pe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=h),t(!0),e.oc=l,e.pc=f,f+=832,e.ya=o(w,De),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=h),e.R=16*h,e.B=8*h,h=(d=Ri[e.L])*e.R,d=d/2*e.B,e.sa=l,e.ta=f+h,e.qa=e.sa,e.ra=e.ta+16*a*e.R+d,e.Ha=e.qa,e.Ia=e.ra+8*a*e.B+d,e.$c=0,f+=u,e.mb=c?l:null,e.nb=c?f:null,t(f+c<=e.Fc+e.Vb),$e(e),i(e.Ac,e.Bc,0,s),a=1}}if(a){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Sr){for(a=-255;255>=a;++a)Fr[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)Ur[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;++a)xr[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)Lr[255+a]=0>a?0:255<a?255:a;Sr=1}Ar=ut,or=At,sr=ot,ur=at,cr=st,ar=it,lr=Gt,fr=Wt,hr=$t,dr=Zt,pr=Jt,gr=Yt,wr=en,mr=tn,Br=Kt,vr=jt,br=zt,yr=Vt,fi[0]=Et,fi[1]=lt,fi[2]=yt,fi[3]=Ct,fi[4]=Nt,fi[5]=Ft,fi[6]=Qt,fi[7]=Ut,fi[8]=Lt,fi[9]=xt,li[0]=wt,li[1]=ht,li[2]=dt,li[3]=pt,li[4]=mt,li[5]=Bt,li[6]=vt,hi[0]=kt,hi[1]=ft,hi[2]=St,hi[3]=_t,hi[4]=Ot,hi[5]=It,hi[6]=Tt,a=1}else a=0}a&&(a=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var o,a=e.Jc[e.M&e.Xb],s=e.m,u=e;for(o=0;o<u.za;++o){var c=s,l=u,f=l.Ac,h=l.Bc+4*o,d=l.zc,p=l.ya[l.aa+o];if(l.Qa.Bb?p.$b=U(c,l.Pa.jb[0])?2+U(c,l.Pa.jb[2]):U(c,l.Pa.jb[1]):p.$b=0,l.kc&&(p.Ad=U(c,l.Bd)),p.Za=!U(c,145)+0,p.Za){var g=p.Ob,w=0;for(l=0;4>l;++l){var m,B=d[0+l];for(m=0;4>m;++m){B=si[f[h+m]][B];for(var v=oi[U(c,B[0])];0<v;)v=oi[2*v+U(c,B[v])];B=-v,f[h+m]=B}r(g,w,f,h,4),w+=4,d[0+l]=B}}else B=U(c,156)?U(c,128)?1:3:U(c,163)?2:0,p.Ob[0]=B,i(f,h,B,4),i(d,0,B,4);p.Dd=U(c,142)?U(c,114)?U(c,183)?1:3:2:0}if(u.m.Ka)return Ge(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(u=a,c=(s=e).rb[s.sb-1],f=s.rb[s.sb+s.ja],o=s.ya[s.aa+s.ja],h=s.kc?o.Ad:0)c.la=f.la=0,o.Za||(c.Na=f.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var b,y;if(c=f,f=u,h=s.Pa.Xc,d=s.ya[s.aa+s.ja],p=s.pb[d.$b],l=d.ad,g=0,w=s.rb[s.sb-1],B=m=0,i(l,g,0,384),d.Za)var C=0,E=h[3];else{v=A(16);var N=c.Na+w.Na;if(N=ri(f,h[1],N,p.Eb,0,v,0),c.Na=w.Na=(0<N)+0,1<N)Ar(v,0,l,g);else{var Q=v[0]+3>>3;for(v=0;256>v;v+=16)l[g+v]=Q}C=1,E=h[0]}var F=15&c.la,x=15&w.la;for(v=0;4>v;++v){var L=1&x;for(Q=y=0;4>Q;++Q)F=F>>1|(L=(N=ri(f,E,N=L+(1&F),p.Sc,C,l,g))>C)<<7,y=y<<2|(3<N?3:1<N?2:0!=l[g+0]),g+=16;F>>=4,x=x>>1|L<<7,m=(m<<8|y)>>>0}for(E=F,C=x>>4,b=0;4>b;b+=2){for(y=0,F=c.la>>4+b,x=w.la>>4+b,v=0;2>v;++v){for(L=1&x,Q=0;2>Q;++Q)N=L+(1&F),F=F>>1|(L=0<(N=ri(f,h[2],N,p.Qc,0,l,g)))<<3,y=y<<2|(3<N?3:1<N?2:0!=l[g+0]),g+=16;F>>=2,x=x>>1|L<<5}B|=y<<4*b,E|=F<<4<<b,C|=(240&x)<<b}c.la=E,w.la=C,d.Hc=m,d.Gc=B,d.ia=43690&B?0:p.ia,h=!(m|B)}if(0<s.L&&(s.wa[s.Y+s.ja]=s.gd[o.$b][o.Za],s.wa[s.Y+s.ja].La|=!h),u.Ka)return Ge(e,7,"Premature end-of-file encountered.")}if($e(e),s=n,u=1,o=(a=e).D,c=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)e:{if(o.M=a.M,o.uc=c,kn(a,o),u=1,o=(y=a.D).Nb,c=(B=Ri[a.L])*a.R,f=B/2*a.B,v=16*o*a.R,Q=8*o*a.B,h=a.sa,d=a.ta-c+v,p=a.qa,l=a.ra-f+Q,g=a.Ha,w=a.Ia-f+Q,x=0==(F=y.M),m=F>=a.Va-1,2==a.Aa&&kn(a,y),y.uc)for(L=(N=a).D.M,t(N.D.uc),y=N.yb;y<N.Hb;++y){C=y,E=L;var S=(_=(D=N).D).Nb;b=D.R;var _=_.wa[_.Y+C],H=D.sa,k=D.ta+16*S*b+16*C,I=_.dd,O=_.tc;if(0!=O)if(t(3<=O),1==D.L)0<C&&vr(H,k,b,O+4),_.La&&yr(H,k,b,O),0<E&&Br(H,k,b,O+4),_.La&&br(H,k,b,O);else{var T=D.B,P=D.qa,R=D.ra+8*S*T+8*C,M=D.Ha,D=D.Ia+8*S*T+8*C;S=_.ld,0<C&&(fr(H,k,b,O+4,I,S),dr(P,R,M,D,T,O+4,I,S)),_.La&&(gr(H,k,b,O,I,S),mr(P,R,M,D,T,O,I,S)),0<E&&(lr(H,k,b,O+4,I,S),hr(P,R,M,D,T,O+4,I,S)),_.La&&(pr(H,k,b,O,I,S),wr(P,R,M,D,T,O,I,S))}}if(a.ia&&alert("todo:DitherRow"),null!=s.put){if(y=16*F,F=16*(F+1),x?(s.y=a.sa,s.O=a.ta+v,s.f=a.qa,s.N=a.ra+Q,s.ea=a.Ha,s.W=a.Ia+Q):(y-=B,s.y=h,s.O=d,s.f=p,s.N=l,s.ea=g,s.W=w),m||(F-=B),F>s.o&&(F=s.o),s.F=null,s.J=null,null!=a.Fa&&0<a.Fa.length&&y<F&&(s.J=fn(a,s,y,F-y),s.F=a.mb,null==s.F&&0==s.F.length)){u=Ge(a,3,"Could not decode alpha data.");break e}y<s.j&&(B=s.j-y,y=s.j,t(!(1&B)),s.O+=a.R*B,s.N+=a.B*(B>>1),s.W+=a.B*(B>>1),null!=s.F&&(s.J+=s.width*B)),y<F&&(s.O+=s.v,s.N+=s.v>>1,s.W+=s.v>>1,null!=s.F&&(s.J+=s.v),s.ka=y-s.j,s.U=s.va-s.v,s.T=F-y,u=s.put(s))}o+1!=a.Ic||m||(r(a.sa,a.ta-c,h,d+16*a.R,c),r(a.qa,a.ra-f,p,l+8*a.B,f),r(a.Ha,a.Ia-f,g,w+8*a.B,f))}if(!u)return Ge(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),a&=1}return a?(e.cb=0,a):0}function et(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function tt(e,t,n,r,i,A){et(e,t,0,n,r+i),et(e,t,1,n,r+A),et(e,t,2,n,r-A),et(e,t,3,n,r-i)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var i,o=0,a=A(16);for(i=0;4>i;++i){var s=e[t+0]+e[t+8],u=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-nt(e[t+12]),l=nt(e[t+4])+(35468*e[t+12]>>16);a[o+0]=s+l,a[o+1]=u+c,a[o+2]=u-c,a[o+3]=s-l,o+=4,t++}for(i=o=0;4>i;++i)s=(e=a[o+0]+4)+a[o+8],u=e-a[o+8],c=(35468*a[o+4]>>16)-nt(a[o+12]),et(n,r,0,0,s+(l=nt(a[o+4])+(35468*a[o+12]>>16))),et(n,r,1,0,u+c),et(n,r,2,0,u-c),et(n,r,3,0,s-l),o++,r+=32}function it(e,t,n,r){var i=e[t+0]+4,A=35468*e[t+4]>>16,o=nt(e[t+4]),a=35468*e[t+1]>>16;tt(n,r,0,i+o,e=nt(e[t+1]),a),tt(n,r,1,i+A,e,a),tt(n,r,2,i-A,e,a),tt(n,r,3,i-o,e,a)}function At(e,t,n,r,i){rt(e,t,n,r),i&&rt(e,t+16,n,r+4)}function ot(e,t,n,r){or(e,t+0,n,r,1),or(e,t+32,n,r+128,1)}function at(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(n,r,t,i,e)}function st(e,t,n,r){e[t+0]&&ur(e,t+0,n,r),e[t+16]&&ur(e,t+16,n,r+4),e[t+32]&&ur(e,t+32,n,r+128),e[t+48]&&ur(e,t+48,n,r+128+4)}function ut(e,t,n,r){var i,o=A(16);for(i=0;4>i;++i){var a=e[t+0+i]+e[t+12+i],s=e[t+4+i]+e[t+8+i],u=e[t+4+i]-e[t+8+i],c=e[t+0+i]-e[t+12+i];o[0+i]=a+s,o[8+i]=a-s,o[4+i]=c+u,o[12+i]=c-u}for(i=0;4>i;++i)a=(e=o[0+4*i]+3)+o[3+4*i],s=o[1+4*i]+o[2+4*i],u=o[1+4*i]-o[2+4*i],c=e-o[3+4*i],n[r+0]=a+s>>3,n[r+16]=c+u>>3,n[r+32]=a-s>>3,n[r+48]=c-u>>3,r+=64}function ct(e,t,n){var r,i=t-32,A=kr,o=255-e[i-1];for(r=0;r<n;++r){var a,s=A,u=o+e[t-1];for(a=0;a<n;++a)e[t+a]=s[u+e[i+a]];t+=32}}function lt(e,t){ct(e,t,4)}function ft(e,t){ct(e,t,8)}function ht(e,t){ct(e,t,16)}function dt(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function pt(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function gt(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function wt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];gt(r>>5,e,t)}function mt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];gt(r>>4,e,t)}function Bt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];gt(r>>4,e,t)}function vt(e,t){gt(128,e,t)}function bt(e,t,n){return e+2*t+n+2>>2}function yt(e,t){var n,i=t-32;for(i=new Uint8Array([bt(e[i-1],e[i+0],e[i+1]),bt(e[i+0],e[i+1],e[i+2]),bt(e[i+1],e[i+2],e[i+3]),bt(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function Ct(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],A=e[t-1+96];x(e,t+0,16843009*bt(e[t-1-32],n,r)),x(e,t+32,16843009*bt(n,r,i)),x(e,t+64,16843009*bt(r,i,A)),x(e,t+96,16843009*bt(i,A,A))}function Et(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function Nt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],A=e[t-1-32],o=e[t+0-32],a=e[t+1-32],s=e[t+2-32],u=e[t+3-32];e[t+0+96]=bt(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=bt(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=bt(A,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=bt(o,A,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=bt(a,o,A),e[t+3+32]=e[t+2+0]=bt(s,a,o),e[t+3+0]=bt(u,s,a)}function Qt(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],A=e[t+4-32],o=e[t+5-32],a=e[t+6-32],s=e[t+7-32];e[t+0+0]=bt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=bt(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=bt(r,i,A),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=bt(i,A,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=bt(A,o,a),e[t+3+64]=e[t+2+96]=bt(o,a,s),e[t+3+96]=bt(a,s,s)}function Ft(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],A=e[t-1-32],o=e[t+0-32],a=e[t+1-32],s=e[t+2-32],u=e[t+3-32];e[t+0+0]=e[t+1+64]=A+o+1>>1,e[t+1+0]=e[t+2+64]=o+a+1>>1,e[t+2+0]=e[t+3+64]=a+s+1>>1,e[t+3+0]=s+u+1>>1,e[t+0+96]=bt(i,r,n),e[t+0+64]=bt(r,n,A),e[t+0+32]=e[t+1+96]=bt(n,A,o),e[t+1+32]=e[t+2+96]=bt(A,o,a),e[t+2+32]=e[t+3+96]=bt(o,a,s),e[t+3+32]=bt(a,s,u)}function Ut(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],A=e[t+3-32],o=e[t+4-32],a=e[t+5-32],s=e[t+6-32],u=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+A+1>>1,e[t+3+0]=e[t+2+64]=A+o+1>>1,e[t+0+32]=bt(n,r,i),e[t+1+32]=e[t+0+96]=bt(r,i,A),e[t+2+32]=e[t+1+96]=bt(i,A,o),e[t+3+32]=e[t+2+96]=bt(A,o,a),e[t+3+64]=bt(o,a,s),e[t+3+96]=bt(a,s,u)}function xt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],A=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+A+1>>1,e[t+1+0]=bt(n,r,i),e[t+3+0]=e[t+1+32]=bt(r,i,A),e[t+3+32]=e[t+1+64]=bt(i,A,A),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=A}function Lt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],A=e[t-1+96],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],u=e[t+2-32];e[t+0+0]=e[t+2+32]=n+o+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=A+i+1>>1,e[t+3+0]=bt(a,s,u),e[t+2+0]=bt(o,a,s),e[t+1+0]=e[t+3+32]=bt(n,o,a),e[t+1+32]=e[t+3+64]=bt(r,n,o),e[t+1+64]=e[t+3+96]=bt(i,r,n),e[t+1+96]=bt(A,i,r)}function St(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function _t(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function Ht(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function kt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Ht(r>>4,e,t)}function It(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Ht(r>>3,e,t)}function Ot(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Ht(r>>3,e,t)}function Tt(e,t){Ht(128,e,t)}function Pt(e,t,n){var r=e[t-n],i=e[t+0],A=3*(i-r)+_r[1020+e[t-2*n]-e[t+n]],o=Hr[112+(A+4>>3)];e[t-n]=kr[255+r+Hr[112+(A+3>>3)]],e[t+0]=kr[255+i-o]}function Rt(e,t,n,r){var i=e[t+0],A=e[t+n];return Ir[255+e[t-2*n]-e[t-n]]>r||Ir[255+A-i]>r}function Mt(e,t,n,r){return 4*Ir[255+e[t-n]-e[t+0]]+Ir[255+e[t-2*n]-e[t+n]]<=r}function Dt(e,t,n,r,i){var A=e[t-3*n],o=e[t-2*n],a=e[t-n],s=e[t+0],u=e[t+n],c=e[t+2*n],l=e[t+3*n];return 4*Ir[255+a-s]+Ir[255+o-u]>r?0:Ir[255+e[t-4*n]-A]<=i&&Ir[255+A-o]<=i&&Ir[255+o-a]<=i&&Ir[255+l-c]<=i&&Ir[255+c-u]<=i&&Ir[255+u-s]<=i}function Kt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Mt(e,t+r,n,i)&&Pt(e,t+r,n)}function jt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Mt(e,t+r*n,1,i)&&Pt(e,t+r*n,1)}function zt(e,t,n,r){var i;for(i=3;0<i;--i)Kt(e,t+=4*n,n,r)}function Vt(e,t,n,r){var i;for(i=3;0<i;--i)jt(e,t+=4,n,r)}function qt(e,t,n,r,i,A,o,a){for(A=2*A+1;0<i--;){if(Dt(e,t,n,A,o))if(Rt(e,t,n,a))Pt(e,t,n);else{var s=e,u=t,c=n,l=s[u-2*c],f=s[u-c],h=s[u+0],d=s[u+c],p=s[u+2*c],g=27*(m=_r[1020+3*(h-f)+_r[1020+l-d]])+63>>7,w=18*m+63>>7,m=9*m+63>>7;s[u-3*c]=kr[255+s[u-3*c]+m],s[u-2*c]=kr[255+l+w],s[u-c]=kr[255+f+g],s[u+0]=kr[255+h-g],s[u+c]=kr[255+d-w],s[u+2*c]=kr[255+p-m]}t+=r}}function Xt(e,t,n,r,i,A,o,a){for(A=2*A+1;0<i--;){if(Dt(e,t,n,A,o))if(Rt(e,t,n,a))Pt(e,t,n);else{var s=e,u=t,c=n,l=s[u-c],f=s[u+0],h=s[u+c],d=Hr[112+(4+(p=3*(f-l))>>3)],p=Hr[112+(p+3>>3)],g=d+1>>1;s[u-2*c]=kr[255+s[u-2*c]+g],s[u-c]=kr[255+l+p],s[u+0]=kr[255+f-d],s[u+c]=kr[255+h-g]}t+=r}}function Gt(e,t,n,r,i,A){qt(e,t,n,1,16,r,i,A)}function Wt(e,t,n,r,i,A){qt(e,t,1,n,16,r,i,A)}function Jt(e,t,n,r,i,A){var o;for(o=3;0<o;--o)Xt(e,t+=4*n,n,1,16,r,i,A)}function Yt(e,t,n,r,i,A){var o;for(o=3;0<o;--o)Xt(e,t+=4,1,n,16,r,i,A)}function $t(e,t,n,r,i,A,o,a){qt(e,t,i,1,8,A,o,a),qt(n,r,i,1,8,A,o,a)}function Zt(e,t,n,r,i,A,o,a){qt(e,t,1,i,8,A,o,a),qt(n,r,1,i,8,A,o,a)}function en(e,t,n,r,i,A,o,a){Xt(e,t+4*i,i,1,8,A,o,a),Xt(n,r+4*i,i,1,8,A,o,a)}function tn(e,t,n,r,i,A,o,a){Xt(e,t+4,1,i,8,A,o,a),Xt(n,r+4,1,i,8,A,o,a)}function nn(){this.ba=new oe,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new se,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function An(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function on(){this.ua=0,this.Wa=new I,this.vb=new I,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new h,this.yc=new l}function an(){this.xb=this.a=0,this.l=new qe,this.ca=new oe,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new b,this.Pb=0,this.wd=new b,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new on,this.ab=0,this.gc=o(4,An),this.Oc=0}function sn(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new qe,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function un(e,t,n,r,i,A,o){for(e=null==e?0:e[t+0],t=0;t<o;++t)i[A+t]=e+n[r+t]&255,e=i[A+t]}function cn(e,t,n,r,i,A,o){var a;if(null==e)un(null,null,n,r,i,A,o);else for(a=0;a<o;++a)i[A+a]=e[t+a]+n[r+a]&255}function ln(e,t,n,r,i,A,o){if(null==e)un(null,null,n,r,i,A,o);else{var a,s=e[t+0],u=s,c=s;for(a=0;a<o;++a)u=c+(s=e[t+a])-u,c=n[r+a]+(-256&u?0>u?0:255:u)&255,u=s,i[A+a]=c}}function fn(e,n,i,o){var a=n.width,s=n.o;if(t(null!=e&&null!=n),0>i||0>=o||i+o>s)return null;if(!e.Cc){if(null==e.ga){var u;if(e.ga=new sn,(u=null==e.ga)||(u=n.width*n.o,t(0==e.Gb.length),e.Gb=A(u),e.Uc=0,null==e.Gb?u=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,u=1),u=!u),!u){u=e.ga;var c=e.Fa,l=e.P,f=e.qc,h=e.mb,d=e.nb,p=l+1,g=f-1,m=u.l;if(t(null!=c&&null!=h&&null!=n),gi[0]=null,gi[1]=un,gi[2]=cn,gi[3]=ln,u.ca=h,u.tb=d,u.c=n.width,u.i=n.height,t(0<u.c&&0<u.i),1>=f)n=0;else if(u.$a=c[l+0]>>0&3,u.Z=c[l+0]>>2&3,u.Lc=c[l+0]>>4&3,l=c[l+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||l)n=0;else if(m.put=he,m.ac=fe,m.bc=de,m.ma=u,m.width=n.width,m.height=n.height,m.Da=n.Da,m.v=n.v,m.va=n.va,m.j=n.j,m.o=n.o,u.$a)e:{t(1==u.$a),n=Ue();t:for(;;){if(null==n){n=0;break e}if(t(null!=u),u.mc=n,n.c=u.c,n.i=u.i,n.l=u.l,n.l.ma=u,n.l.width=u.c,n.l.height=u.i,n.a=0,w(n.m,c,p,g),!xe(u.c,u.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&Ce(n.s)?(u.ic=1,c=n.c*n.i,n.Ta=null,n.Ua=0,n.V=A(c),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(u.ic=0,n=Le(n,u.c)),!n)break t;n=1;break e}u.mc=null,n=0}else n=g>=u.c*u.i;u=!n}if(u)return null;1!=e.ga.Lc?e.Ga=0:o=s-i}t(null!=e.ga),t(i+o<=s);e:{if(n=(c=e.ga).c,s=c.l.o,0==c.$a){if(p=e.rc,g=e.Vc,m=e.Fa,l=e.P+1+i*n,f=e.mb,h=e.nb+i*n,t(l<=e.P+e.qc),0!=c.Z)for(t(null!=gi[c.Z]),u=0;u<o;++u)gi[c.Z](p,g,m,l,f,h,n),p=f,g=h,h+=n,l+=n;else for(u=0;u<o;++u)r(f,h,m,l,n),p=f,g=h,h+=n,l+=n;e.rc=p,e.Vc=g}else{if(t(null!=c.mc),n=i+o,t(null!=(u=c.mc)),t(n<=u.i),u.C>=n)n=1;else if(c.ic||wn(),c.ic){c=u.V,p=u.Ba,g=u.c;var B=u.i,v=(m=1,l=u.$/g,f=u.$%g,h=u.m,d=u.s,u.$),b=g*B,y=g*n,E=d.wc,Q=v<y?ve(d,f,l):null;t(v<=b),t(n<=B),t(Ce(d));t:for(;;){for(;!h.h&&v<y;){if(f&E||(Q=ve(d,f,l)),t(null!=Q),N(h),256>(B=me(Q.G[0],Q.H[0],h)))c[p+v]=B,++v,++f>=g&&(f=0,++l<=n&&!(l%16)&&Ne(u,l));else{if(!(280>B)){m=0;break t}B=ge(B-256,h);var F,U=me(Q.G[4],Q.H[4],h);if(N(h),!(v>=(U=we(g,U=ge(U,h)))&&b-v>=B)){m=0;break t}for(F=0;F<B;++F)c[p+v+F]=c[p+v+F-U];for(v+=B,f+=B;f>=g;)f-=g,++l<=n&&!(l%16)&&Ne(u,l);v<y&&f&E&&(Q=ve(d,f,l))}t(h.h==C(h))}Ne(u,l>n?n:l);break t}!m||h.h&&v<b?(m=0,u.a=h.h?5:3):u.$=v,n=m}else n=Qe(u,u.V,u.Ba,u.c,u.i,n,Se);if(!n){o=0;break e}}i+o>=s&&(e.Cc=1),o=1}if(!o)return null;if(e.Cc&&(null!=(o=e.ga)&&(o.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*a}function hn(e,t,n,r,i,A){for(;0<i--;){var o,a=e,s=t+(n?1:0),u=e,c=t+(n?0:3);for(o=0;o<r;++o){var l=u[c+4*o];255!=l&&(l*=32897,a[s+4*o+0]=a[s+4*o+0]*l>>23,a[s+4*o+1]=a[s+4*o+1]*l>>23,a[s+4*o+2]=a[s+4*o+2]*l>>23)}t+=A}}function dn(e,t,n,r,i){for(;0<r--;){var A;for(A=0;A<n;++A){var o=e[t+2*A+0],a=15&(u=e[t+2*A+1]),s=4369*a,u=(240&u|u>>4)*s>>16;e[t+2*A+0]=(240&o|o>>4)*s>>16&240|(15&o|o<<4)*s>>16>>4&15,e[t+2*A+1]=240&u|a}t+=i}}function pn(e,t,n,r,i,A,o,a){var s,u,c=255;for(u=0;u<i;++u){for(s=0;s<r;++s){var l=e[t+s];A[o+4*s]=l,c&=l}t+=n,o+=a}return 255!=c}function gn(e,t,n,r,i){var A;for(A=0;A<i;++A)n[r+A]=e[t+A]>>8}function wn(){Cr=hn,Er=dn,Nr=pn,Qr=gn}function mn(n,r,i){e[n]=function(e,n,A,o,a,s,u,c,l,f,h,d,p,g,w,m,B){var v,b=B-1>>1,y=a[s+0]|u[c+0]<<16,C=l[f+0]|h[d+0]<<16;t(null!=e);var E=3*y+C+131074>>2;for(r(e[n+0],255&E,E>>16,p,g),null!=A&&(E=3*C+y+131074>>2,r(A[o+0],255&E,E>>16,w,m)),v=1;v<=b;++v){var N=a[s+v]|u[c+v]<<16,Q=l[f+v]|h[d+v]<<16,F=y+N+C+Q+524296,U=F+2*(N+C)>>3;E=U+y>>1,y=(F=F+2*(y+Q)>>3)+N>>1,r(e[n+2*v-1],255&E,E>>16,p,g+(2*v-1)*i),r(e[n+2*v-0],255&y,y>>16,p,g+(2*v-0)*i),null!=A&&(E=F+C>>1,y=U+Q>>1,r(A[o+2*v-1],255&E,E>>16,w,m+(2*v-1)*i),r(A[o+2*v+0],255&y,y>>16,w,m+(2*v+0)*i)),y=N,C=Q}1&B||(E=3*y+C+131074>>2,r(e[n+B-1],255&E,E>>16,p,g+(B-1)*i),null!=A&&(E=3*C+y+131074>>2,r(A[o+B-1],255&E,E>>16,w,m+(B-1)*i)))}}function Bn(){wi[Or]=mi,wi[Tr]=vi,wi[Pr]=Bi,wi[Rr]=bi,wi[Mr]=yi,wi[Dr]=Ci,wi[Kr]=Ei,wi[jr]=vi,wi[zr]=bi,wi[Vr]=yi,wi[qr]=Ci}function vn(e){return e&~Li?0>e?0:255:e>>xi}function bn(e,t){return vn((19077*e>>8)+(26149*t>>8)-14234)}function yn(e,t,n){return vn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function Cn(e,t){return vn((19077*e>>8)+(33050*t>>8)-17685)}function En(e,t,n,r,i){r[i+0]=bn(e,n),r[i+1]=yn(e,t,n),r[i+2]=Cn(e,t)}function Nn(e,t,n,r,i){r[i+0]=Cn(e,t),r[i+1]=yn(e,t,n),r[i+2]=bn(e,n)}function Qn(e,t,n,r,i){var A=yn(e,t,n);t=A<<3&224|Cn(e,t)>>3,r[i+0]=248&bn(e,n)|A>>5,r[i+1]=t}function Fn(e,t,n,r,i){var A=240&Cn(e,t)|15;r[i+0]=240&bn(e,n)|yn(e,t,n)>>4,r[i+1]=A}function Un(e,t,n,r,i){r[i+0]=255,En(e,t,n,r,i+1)}function xn(e,t,n,r,i){Nn(e,t,n,r,i),r[i+3]=255}function Ln(e,t,n,r,i){En(e,t,n,r,i),r[i+3]=255}function Ve(e,t){return 0>e?0:e>t?t:e}function Sn(t,n,r){e[t]=function(e,t,i,A,o,a,s,u,c){for(var l=u+(-2&c)*r;u!=l;)n(e[t+0],i[A+0],o[a+0],s,u),n(e[t+1],i[A+0],o[a+0],s,u+r),t+=2,++A,++a,u+=2*r;1&c&&n(e[t+0],i[A+0],o[a+0],s,u)}}function _n(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Hn(e,t,n,r,i){switch(e>>>30){case 3:or(t,n,r,i,0);break;case 2:ar(t,n,r,i);break;case 1:ur(t,n,r,i)}}function kn(e,t){var n,A,o=t.M,a=t.Nb,s=e.oc,u=e.pc+40,c=e.oc,l=e.pc+584,f=e.oc,h=e.pc+600;for(n=0;16>n;++n)s[u+32*n-1]=129;for(n=0;8>n;++n)c[l+32*n-1]=129,f[h+32*n-1]=129;for(0<o?s[u-1-32]=c[l-1-32]=f[h-1-32]=129:(i(s,u-32-1,127,21),i(c,l-32-1,127,9),i(f,h-32-1,127,9)),A=0;A<e.za;++A){var d=t.ya[t.aa+A];if(0<A){for(n=-1;16>n;++n)r(s,u+32*n-4,s,u+32*n+12,4);for(n=-1;8>n;++n)r(c,l+32*n-4,c,l+32*n+4,4),r(f,h+32*n-4,f,h+32*n+4,4)}var p=e.Gd,g=e.Hd+A,w=d.ad,m=d.Hc;if(0<o&&(r(s,u-32,p[g].y,0,16),r(c,l-32,p[g].f,0,8),r(f,h-32,p[g].ea,0,8)),d.Za){var B=s,v=u-32+16;for(0<o&&(A>=e.za-1?i(B,v,p[g].y[15],4):r(B,v,p[g+1].y,0,4)),n=0;4>n;n++)B[v+128+n]=B[v+256+n]=B[v+384+n]=B[v+0+n];for(n=0;16>n;++n,m<<=2)B=s,v=u+Pi[n],fi[d.Ob[n]](B,v),Hn(m,w,16*+n,B,v)}else if(B=_n(A,o,d.Ob[0]),li[B](s,u),0!=m)for(n=0;16>n;++n,m<<=2)Hn(m,w,16*+n,s,u+Pi[n]);for(n=d.Gc,B=_n(A,o,d.Dd),hi[B](c,l),hi[B](f,h),m=w,B=c,v=l,255&(d=n>>0)&&(170&d?sr(m,256,B,v):cr(m,256,B,v)),d=f,m=h,255&(n>>=8)&&(170&n?sr(w,320,d,m):cr(w,320,d,m)),o<e.Ub-1&&(r(p[g].y,0,s,u+480,16),r(p[g].f,0,c,l+224,8),r(p[g].ea,0,f,h+224,8)),n=8*a*e.B,p=e.sa,g=e.ta+16*A+16*a*e.R,w=e.qa,d=e.ra+8*A+n,m=e.Ha,B=e.Ia+8*A+n,n=0;16>n;++n)r(p,g+n*e.R,s,u+32*n,16);for(n=0;8>n;++n)r(w,d+n*e.B,c,l+32*n,8),r(m,B+n*e.B,f,h+32*n,8)}}function In(e,r,i,A,o,a,s,u,c){var l=[0],f=[0],h=0,d=null!=c?c.kd:0,p=null!=c?c:new rn;if(null==e||12>i)return 7;p.data=e,p.w=r,p.ha=i,r=[r],i=[i],p.gb=[p.gb];e:{var g=r,m=i,B=p.gb;if(t(null!=e),t(null!=m),t(null!=B),B[0]=0,12<=m[0]&&!n(e,g[0],"RIFF")){if(n(e,g[0]+8,"WEBP")){B=3;break e}var v=_(e,g[0]+4);if(12>v||4294967286<v){B=3;break e}if(d&&v>m[0]-8){B=7;break e}B[0]=v,g[0]+=12,m[0]-=12}B=0}if(0!=B)return B;for(v=0<p.gb[0],i=i[0];;){e:{var y=e;m=r,B=i;var C=l,E=f,N=g=[0];if((U=h=[h])[0]=0,8>B[0])B=7;else{if(!n(y,m[0],"VP8X")){if(10!=_(y,m[0]+4)){B=3;break e}if(18>B[0]){B=7;break e}var Q=_(y,m[0]+8),F=1+S(y,m[0]+12);if(2147483648<=F*(y=1+S(y,m[0]+15))){B=3;break e}null!=N&&(N[0]=Q),null!=C&&(C[0]=F),null!=E&&(E[0]=y),m[0]+=18,B[0]-=18,U[0]=1}B=0}}if(h=h[0],g=g[0],0!=B)return B;if(m=!!(2&g),!v&&h)return 3;if(null!=a&&(a[0]=!!(16&g)),null!=s&&(s[0]=m),null!=u&&(u[0]=0),s=l[0],g=f[0],h&&m&&null==c){B=0;break}if(4>i){B=7;break}if(v&&h||!v&&!h&&!n(e,r[0],"ALPH")){i=[i],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];e:{Q=e,B=r,v=i;var U=p.gb;C=p.na,E=p.P,N=p.Sa,F=22,t(null!=Q),t(null!=v),y=B[0];var x=v[0];for(t(null!=C),t(null!=N),C[0]=null,E[0]=null,N[0]=0;;){if(B[0]=y,v[0]=x,8>x){B=7;break e}var L=_(Q,y+4);if(4294967286<L){B=3;break e}var H=8+L+1&-2;if(F+=H,0<U&&F>U){B=3;break e}if(!n(Q,y,"VP8 ")||!n(Q,y,"VP8L")){B=0;break e}if(x[0]<H){B=7;break e}n(Q,y,"ALPH")||(C[0]=Q,E[0]=y+8,N[0]=L),y+=H,x-=H}}if(i=i[0],p.na=p.na[0],p.P=p.P[0],p.Sa=p.Sa[0],0!=B)break}i=[i],p.Ja=[p.Ja],p.xa=[p.xa];e:if(U=e,B=r,v=i,C=p.gb[0],E=p.Ja,N=p.xa,Q=B[0],y=!n(U,Q,"VP8 "),F=!n(U,Q,"VP8L"),t(null!=U),t(null!=v),t(null!=E),t(null!=N),8>v[0])B=7;else{if(y||F){if(U=_(U,Q+4),12<=C&&U>C-12){B=3;break e}if(d&&U>v[0]-8){B=7;break e}E[0]=U,B[0]+=8,v[0]-=8,N[0]=F}else N[0]=5<=v[0]&&47==U[Q+0]&&!(U[Q+4]>>5),E[0]=v[0];B=0}if(i=i[0],p.Ja=p.Ja[0],p.xa=p.xa[0],r=r[0],0!=B)break;if(4294967286<p.Ja)return 3;if(null==u||m||(u[0]=p.xa?2:1),s=[s],g=[g],p.xa){if(5>i){B=7;break}u=s,d=g,m=a,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(v=[0],U=[0],C=[0],w(E=new b,e,r,i),pe(E,v,U,C)?(null!=u&&(u[0]=v[0]),null!=d&&(d[0]=U[0]),null!=m&&(m[0]=C[0]),e=1):e=0):e=0}else{if(10>i){B=7;break}u=g,null==e||10>i||!We(e,r+3,i-3)?e=0:(d=e[r+0]|e[r+1]<<8|e[r+2]<<16,m=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&d||3<(d>>1&7)||!(d>>4&1)||d>>5>=p.Ja||!m||!e?e=0:(s&&(s[0]=m),u&&(u[0]=e),e=1))}if(!e)return 3;if(s=s[0],g=g[0],h&&(l[0]!=s||f[0]!=g))return 3;null!=c&&(c[0]=p,c.offset=r-c.w,t(4294967286>r-c.w),t(c.offset==c.ha-i));break}return 0==B||7==B&&h&&null==c?(null!=a&&(a[0]|=null!=p.na&&0<p.na.length),null!=A&&(A[0]=s),null!=o&&(o[0]=g),0):B}function On(e,t,n){var r=t.width,i=t.height,A=0,o=0,a=r,s=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(a=e.cd,s=e.bd,A=e.v,o=e.j,11>n||(A&=-2,o&=-2),0>A||0>o||0>=a||0>=s||A+a>r||o+s>i))return 0;if(t.v=A,t.j=o,t.va=A+a,t.o=o+s,t.U=a,t.T=s,t.da=null!=e&&0<e.da,t.da){if(!O(a,s,n=[e.ib],A=[e.hb]))return 0;t.ib=n[0],t.hb=A[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function Tn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Pn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,o=n.bd,a=-2&n.v,s=-2&n.j;if(0>a||0>s||0>=i||0>=o||a+i>e||s+o>t)return 2;e=i,t=o}if(n.da){if(!O(e,t,i=[n.ib],o=[n.hb]))return 2;e=i[0],t=o[0]}}r.width=e,r.height=t;e:{var u=r.width,c=r.height;if(e=r.S,0>=u||0>=c||!(e>=Or&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){a=o=i=t=0;var l=(s=u*Ki[e])*c;if(11>e||(o=(c+1)/2*(t=(u+1)/2),12==e&&(a=(i=u)*c)),null==(c=A(l+2*o+a))){e=1;break e}r.sd=c,11>e?((u=r.f.RGBA).eb=c,u.fb=0,u.A=s,u.size=l):((u=r.f.kb).y=c,u.O=0,u.fa=s,u.Fd=l,u.f=c,u.N=0+l,u.Ab=t,u.Cd=o,u.ea=c,u.W=0+l+o,u.Db=t,u.Ed=o,12==e&&(u.F=c,u.J=0+l+2*o),u.Tc=a,u.lb=i)}if(t=1,i=r.S,o=r.width,a=r.height,i>=Or&&13>i)if(11>i)e=r.f.RGBA,t&=(s=Math.abs(e.A))*(a-1)+o<=e.size,t&=s>=o*Ki[i],t&=null!=e.eb;else{e=r.f.kb,s=(o+1)/2,l=(a+1)/2,u=Math.abs(e.fa),c=Math.abs(e.Ab);var f=Math.abs(e.Db),h=Math.abs(e.lb),d=h*(a-1)+o;t&=u*(a-1)+o<=e.Fd,t&=c*(l-1)+s<=e.Cd,t=(t&=f*(l-1)+s<=e.Ed)&u>=o&c>=s&f>=s,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=h>=o,t&=d<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Tn(r)),e}var Rn=64,Mn=[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],Dn=24,Kn=32,jn=8,zn=[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];R("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return D(D(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return D(e,t[n-1])},e.Predictor7=function(e,t,n){return D(e,t[n+0])},e.Predictor8=function(e,t,n){return D(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return D(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return D(D(e,t[n-1]),D(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=z(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+z(r>>16&255,e>>16&255,t>>16&255)+z(r>>8&255,e>>8&255,t>>8&255)+z(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(K((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|K((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|K((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|K((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(j((e=D(e,t[n+0]))>>24&255,r>>24&255)<<24|j(e>>16&255,r>>16&255)<<16|j(e>>8&255,r>>8&255)<<8|j(e>>0&255,r>>0&255))>>>0};var Vn=e.PredictorAdd0;e.PredictorAdd1=V,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var qn=e.PredictorAdd2;W("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),W("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Xn,Gn=e.ColorIndexInverseTransform,Wn=e.MapARGB,Jn=e.VP8LColorIndexInverseTransformAlpha,Yn=e.MapAlpha,$n=e.VP8LPredictorsAdd=[];$n.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Zn,er,tr,nr,rr,ir,Ar,or,ar,sr,ur,cr,lr,fr,hr,dr,pr,gr,wr,mr,Br,vr,br,yr,Cr,Er,Nr,Qr,Fr=A(511),Ur=A(2041),xr=A(225),Lr=A(767),Sr=0,_r=Ur,Hr=xr,kr=Lr,Ir=Fr,Or=0,Tr=1,Pr=2,Rr=3,Mr=4,Dr=5,Kr=6,jr=7,zr=8,Vr=9,qr=10,Xr=[2,3,7],Gr=[3,3,11],Wr=[280,256,256,256,40],Jr=[0,1,1,1,0],Yr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],$r=[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],Zr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ei=8,ti=[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],ni=[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],ri=null,ii=[[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]],Ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[128,128,128,128,128,128,128,128,128,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]]]],si=[[[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]]],ui=[[[[255,255,255,255,255,255,255,255,255,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]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],li=[],fi=[],hi=[],di=1,pi=2,gi=[],wi=[];mn("UpsampleRgbLinePair",En,3),mn("UpsampleBgrLinePair",Nn,3),mn("UpsampleRgbaLinePair",Ln,4),mn("UpsampleBgraLinePair",xn,4),mn("UpsampleArgbLinePair",Un,4),mn("UpsampleRgba4444LinePair",Fn,2),mn("UpsampleRgb565LinePair",Qn,2);var mi=e.UpsampleRgbLinePair,Bi=e.UpsampleBgrLinePair,vi=e.UpsampleRgbaLinePair,bi=e.UpsampleBgraLinePair,yi=e.UpsampleArgbLinePair,Ci=e.UpsampleRgba4444LinePair,Ei=e.UpsampleRgb565LinePair,Ni=16,Qi=1<<Ni-1,Fi=-227,Ui=482,xi=6,Li=(256<<xi)-1,Si=0,_i=A(256),Hi=A(256),ki=A(256),Ii=A(256),Oi=A(Ui-Fi),Ti=A(Ui-Fi);Sn("YuvToRgbRow",En,3),Sn("YuvToBgrRow",Nn,3),Sn("YuvToRgbaRow",Ln,4),Sn("YuvToBgraRow",xn,4),Sn("YuvToArgbRow",Un,4),Sn("YuvToRgba4444Row",Fn,2),Sn("YuvToRgb565Row",Qn,2);var Pi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ri=[0,2,8],Mi=[8,7,6,4,4,2,2,2,1,1,1,1],Di=1;this.WebPDecodeRGBA=function(e,n,r,i,A){var o=Tr,a=new nn,s=new oe;a.ba=s,s.S=o,s.width=[s.width],s.height=[s.height];var u=s.width,c=s.height,l=new ae;if(null==l||null==e)var f=2;else t(null!=l),f=In(e,n,r,l.width,l.height,l.Pd,l.Qd,l.format,null);if(0!=f?u=0:(null!=u&&(u[0]=l.width[0]),null!=c&&(c[0]=l.height[0]),u=1),u){s.width=s.width[0],s.height=s.height[0],null!=i&&(i[0]=s.width),null!=A&&(A[0]=s.height);e:{if(i=new qe,(A=new rn).data=e,A.w=n,A.ha=r,A.kd=1,n=[0],t(null!=A),(0==(e=In(A.data,A.w,A.ha,null,null,null,n,null,A))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=a),i.data=A.data,i.w=A.w+A.offset,i.ha=A.ha-A.offset,i.put=he,i.ac=fe,i.bc=de,i.ma=a,A.xa){if(null==(e=Ue())){a=1;break e}if(function(e,n){var r=[0],i=[0],A=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,w(e.m,n.data,n.w,n.ha),!pe(e.m,r,i,A)){e.a=3;break t}if(e.xb=pi,n.width=r[0],n.height=i[0],!xe(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(n=Pn(i.width,i.height,a.Oa,a.ba))){t:{i=e;n:for(;;){if(null==i){i=0;break t}if(t(null!=i.s.yc),t(null!=i.s.Ya),t(0<i.s.Wb),t(null!=(r=i.l)),t(null!=(A=r.ma)),0!=i.xb){if(i.ca=A.ba,i.tb=A.tb,t(null!=i.ca),!On(A.Oa,r,Rr)){i.a=2;break n}if(!Le(i,r.width))break n;if(r.da)break n;if((r.da||re(i.ca.S))&&wn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&wn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!H(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!Qe(i,i.V,i.Ba,i.c,i.i,r.o,ye))break n;A.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(n=e.a)}else n=e.a}else{if(null==(e=new Xe)){a=1;break e}if(e.Fa=A.na,e.P=A.P,e.qc=A.Sa,Je(e,i)){if(0==(n=Pn(i.width,i.height,a.Oa,a.ba))){if(e.Aa=0,r=a.Oa,t(null!=(A=e)),null!=r){if(0<(u=0>(u=r.Md)?0:100<u?255:255*u/100)){for(c=l=0;4>c;++c)12>(f=A.pb[c]).lc&&(f.ia=u*Mi[0>f.lc?0:f.lc]>>3),l|=f.ia;l&&(alert("todo:VP8InitRandom"),A.ia=1)}A.Ga=r.Id,100<A.Ga?A.Ga=100:0>A.Ga&&(A.Ga=0)}Ze(e,i)||(n=e.a)}}else n=e.a}0==n&&null!=a.Oa&&a.Oa.fd&&(n=Tn(a.ba))}a=n}o=0!=a?null:11>o?s.f.RGBA.eb:s.f.kb.y}else o=null;return o};var Ki=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var l=[0],f=[0],h=[],d=new Ye,p=e,g=function(e,t){var n={},r=0,i=!1,A=0,o=0;if(n.frames=[],!function(e,t,n,r){for(var i=0;i<4;i++)if(e[t+i]!="RIFF".charCodeAt(i))return!0;return!1}(e,t)){var a,l;for(c(e,t+=4),t+=8;t<e.length;){var f=s(e,t),h=c(e,t+=4);t+=4;var d=h+(1&h);switch(f){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(w=n.frames[r]).src_off=i?o:t-8,w.src_size=A+h+8,r++,i&&(i=!1,A=0,o=0);break;case"VP8X":(w=n.header={}).feature_flags=e[t];var p=t+4;w.canvas_width=1+u(e,p),p+=3,w.canvas_height=1+u(e,p),p+=3;break;case"ALPH":i=!0,A=d+8,o=t-8;break;case"ANIM":(w=n.header).bgcolor=c(e,t),p=t+4,w.loop_count=(a=e)[(l=p)+0]<<0|a[l+1]<<8,p+=2;break;case"ANMF":var g,w;(w=n.frames[r]={}).offset_x=2*u(e,t),t+=3,w.offset_y=2*u(e,t),t+=3,w.width=1+u(e,t),t+=3,w.height=1+u(e,t),t+=3,w.duration=u(e,t),t+=3,g=e[t++],w.dispose=1&g,w.blend=g>>1&1}"ANMF"!=f&&(t+=d)}return n}}(p,0);g.response=p,g.rgbaoutput=!0,g.dataurl=!1;var w=g.header?g.header:null,m=g.frames?g.frames:null;if(w){w.loop_counter=w.loop_count,l=[w.canvas_height],f=[w.canvas_width];for(var B=0;B<m.length&&0!=m[B].blend;B++);}var v=m[0],b=d.WebPDecodeRGBA(p,v.src_off,v.src_size,f,l);v.rgba=b,v.imgwidth=f[0],v.imgheight=l[0];for(var y=0;y<f[0]*l[0]*4;y++)h[y]=b[y];return this.width=f,this.height=l,this.data=h,this}!function(e){var t=function(t,i,u,c){var l=4,f=o;switch(c){case e.image_compression.FAST:l=1,f=A;break;case e.image_compression.MEDIUM:l=6,f=a;break;case e.image_compression.SLOW:l=9,f=s}t=n(t,i,u,f);var h=Object(r.b)(t,{level:l});return e.__addimage__.arrayBufferToBinaryString(h)},n=function(e,t,n,r){for(var i,A,o,a=e.length/t,s=new Uint8Array(e.length+a),u=c(),f=0;f<a;f+=1){if(o=f*t,i=e.subarray(o,o+t),r)s.set(r(i,n,A),o+f);else{for(var h,d=u.length,p=[];h<d;h+=1)p[h]=u[h](i,n,A);var g=l(p.concat());s.set(p[g],o+f)}A=i}return s},i=function(e){var t=Array.apply([],e);return t.unshift(0),t},A=function(e,t){var n,r=[],i=e.length;r[0]=1;for(var A=0;A<i;A+=1)n=e[A-t]||0,r[A+1]=e[A]-n+256&255;return r},o=function(e,t,n){var r,i=[],A=e.length;i[0]=2;for(var o=0;o<A;o+=1)r=n&&n[o]||0,i[o+1]=e[o]-r+256&255;return i},a=function(e,t,n){var r,i,A=[],o=e.length;A[0]=3;for(var a=0;a<o;a+=1)r=e[a-t]||0,i=n&&n[a]||0,A[a+1]=e[a]+256-(r+i>>>1)&255;return A},s=function(e,t,n){var r,i,A,o,a=[],s=e.length;a[0]=4;for(var c=0;c<s;c+=1)r=e[c-t]||0,i=n&&n[c]||0,A=n&&n[c-t]||0,o=u(r,i,A),a[c+1]=e[c]-o+256&255;return a},u=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),A=Math.abs(e+t-n-n);return r<=i&&r<=A?e:i<=A?t:n},c=function(){return[i,A,o,a,s]},l=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,i,A,o){var a,s,u,c,l,f,h,d,p,g,w,m,B,v,b,y=this.decode.FLATE_DECODE,C="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(u=new qe(n)).imgData,s=u.bits,a=u.colorSpace,l=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){p=(d=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,w=new Uint8Array(p*u.colors),g=new Uint8Array(p);var E,N=u.pixelBitlength-u.bits;for(v=0,b=0;v<p;v++){for(B=d[v],E=0;E<N;)w[b++]=B>>>E&255,E+=u.bits;g[v]=B>>>E&255}}if(16===u.bits){p=(d=new Uint32Array(u.decodePixels().buffer)).length,w=new Uint8Array(p*(32/u.pixelBitlength)*u.colors),g=new Uint8Array(p*(32/u.pixelBitlength)),m=u.colors>1,v=0,b=0;for(var Q=0;v<p;)B=d[v++],w[b++]=B>>>0&255,m&&(w[b++]=B>>>16&255,B=d[v++],w[b++]=B>>>0&255),g[Q++]=B>>>16&255;s=8}o!==e.image_compression.NONE&&"function"==typeof r.b?(n=t(w,u.width*u.colors,u.colors,o),h=t(g,u.width,1,o)):(n=w,h=g,y=void 0)}if(3===u.colorType&&(a=this.color_spaces.INDEXED,f=u.palette,u.transparency.indexed)){var F=u.transparency.indexed,U=0;for(v=0,p=F.length;v<p;++v)U+=F[v];if((U/=255)===p-1&&-1!==F.indexOf(0))c=[F.indexOf(0)];else if(U!==p){for(d=u.decodePixels(),g=new Uint8Array(d.length),v=0,p=d.length;v<p;v++)g[v]=F[d[v]];h=t(g,u.width,1)}}var x=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(o);return y===this.decode.FLATE_DECODE&&(C="/Predictor "+x+" "),C+="/Colors "+l+" /BitsPerComponent "+s+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:A,data:n,index:i,filter:y,decodeParameters:C,transparency:c,palette:f,sMask:h,predictor:x,width:u.width,height:u.height,bitsPerComponent:s,colorSpace:a}}}}(I.API),function(e){e.processGIF89A=function(t,n,r,i){var A=new Xe(t),o=A.width,a=A.height,s=[];A.decodeAndBlitFrameRGBA(0,s);var u={data:s,width:o,height:a},c=new We(100).encode(u,100);return e.processJPEG.call(this,c,n,r,i)},e.processGIF87A=e.processGIF89A}(I.API),Je.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:A}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Je.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){o.log("bit decode error:"+e)}},Je.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var A=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var s=this.palette[A>>7-a&1];this.data[o+4*a]=s.blue,this.data[o+4*a+1]=s.green,this.data[o+4*a+2]=s.red,this.data[o+4*a+3]=255}0!==n&&(this.pos+=4-n)}},Je.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var A=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,a=A>>4,s=15&A,u=this.palette[a];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[s],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},Je.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),A=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[A]=o.red,this.data[A+1]=o.green,this.data[A+2]=o.blue,this.data[A+3]=255}else this.data[A]=255,this.data[A+1]=255,this.data[A+2]=255,this.data[A+3]=255}0!==e&&(this.pos+=4-e)}},Je.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var A=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(A&t)/t*255|0,a=(A>>5&t)/t*255|0,s=(A>>10&t)/t*255|0,u=A>>15?255:0,c=r*this.width*4+4*i;this.data[c]=s,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=u}this.pos+=e}},Je.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,A=0;A<this.width;A++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&t)/t*255|0,s=(o>>5&n)/n*255|0,u=(o>>11)/t*255|0,c=i*this.width*4+4*A;this.data[c]=u,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=255}this.pos+=e}},Je.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=A,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},Je.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=A,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=o}},Je.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var A=new Je(t,!1),o=A.width,a=A.height,s={data:A.getData(),width:o,height:a},u=new We(100).encode(s,100);return e.processJPEG.call(this,u,n,r,i)}}(I.API),Ye.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var A=new Ye(t,!1),o=A.width,a=A.height,s={data:A.getData(),width:o,height:a},u=new We(100).encode(s,100);return e.processJPEG.call(this,u,n,r,i)}}(I.API),I.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},De=I.API,Ke=De.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),A=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:i.metadata.Unicode.widths,s=a.fof?a.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,c=u.fof?u.fof:1,l=!1!==t.doKerning,f=0,h=e.length,d=0,p=a[0]||s,g=[];for(n=0;n<h;n++)r=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?g.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/A)||0)/1e3):(f=l&&"object"==typeof u[r]&&!isNaN(parseInt(u[r][d],10))?u[r][d]/c:0,g.push((a[r]||p)/s+f)),d=r;return g},je=De.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return De.processArabic&&(e=De.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:Ke.apply(this,arguments).reduce((function(e,t){return e+t}),0)},ze=function(e,t,n,r){for(var i=[],A=0,o=e.length,a=0;A!==o&&a+t[A]<n;)a+=t[A],A++;i.push(e.slice(0,A));var s=A;for(a=0;A!==o;)a+t[A]>r&&(i.push(e.slice(s,A)),a=0,s=A),a+=t[A],A++;return s!==A&&i.push(e.slice(s,A)),i},Ve=function(e,t,n){n||(n={});var r,i,A,o,a,s,u,c=[],l=[c],f=n.textIndent||0,h=0,d=0,p=e.split(" "),g=Ke.apply(this,[" ",n])[0];if(s=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var w=Array(s).join(" "),m=[];p.map((function(e){(e=e.split(/\s*\n/)).length>1?m=m.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):m.push(e[0])})),p=m,s=je.apply(this,[w,n])}for(A=0,o=p.length;A<o;A++){var B=0;if(r=p[A],s&&"\n"==r[0]&&(r=r.substr(1),B=1),f+h+(d=(i=Ke.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||B){if(d>t){for(a=ze.apply(this,[r,i,t-(f+h),t]),c.push(a.shift()),c=[a.pop()];a.length;)l.push([a.shift()]);d=i.slice(r.length-(c[0]?c[0].length:0)).reduce((function(e,t){return e+t}),0)}else c=[r];l.push(c),f=d+s,h=g}else c.push(r),f+=h+d,h=g}return u=s?function(e,t){return(t?w:"")+e.join(" ")}:function(e){return e.join(" ")},l.map(u)},De.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),A=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;A.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,A.lineIndent=n.lineIndent;var a,s,u=[];for(a=0,s=r.length;a<s;a++)u=u.concat(Ve.apply(this,[r[a],o,A]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var A=function(e){return"0x"+parseInt(e,10).toString(16)},o=e.__fontmetrics__.compress=function(e){var t,n,i,a,s=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?n="'"+u+"'":(u=parseInt(u,10),n=(n=A(u).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof t)t<0?(i=A(t).slice(3),a="-"):(i=A(t).slice(2),a=""),i=a+i.slice(0,-1)+r[i.slice(-1)];else{if("object"!=typeof t)throw new Error("Don't know what to do with value type "+typeof t+".");i=o(t)}s.push(n+i)}return s.push("}"),s.join("")},a=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,i,A,o={},a=1,s=o,u=[],c="",l="",f=e.length-1,h=1;h<f;h+=1)"'"==(A=e[h])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(A):"{"==A?(u.push([s,i]),s={},i=void 0):"}"==A?((r=u.pop())[0][r[1]]=s,i=void 0,s=r[0]):"-"==A?a=-1:void 0===i?n.hasOwnProperty(A)?(c+=n[A],i=parseInt(c,16)*a,a=1,c=""):c+=A:n.hasOwnProperty(A)?(l+=n[A],s[i]=parseInt(l,16)*a,a=1,i=void 0,l=""):l+=A;return o},s={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:s,"Courier-Bold":s,"Courier-BoldOblique":s,"Courier-Oblique":s,Helvetica:s,"Helvetica-Bold":s,"Helvetica-BoldOblique":s,"Helvetica-Oblique":s,"Times-Roman":s,"Times-Bold":s,"Times-BoldItalic":s,"Times-Italic":s}},c={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=c.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(I.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,A=n.instance;if(!i.isStandardFont){if(void 0===A)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===A.existsFileInVFS(i.postScriptName)?A.loadFile(i.postScriptName):A.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(c(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(I),function(e){function t(){return(i.canvg?Promise.resolve(i.canvg):n.e(2).then(n.bind(null,77))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}I.API.addSvgAsImage=function(e,n,r,i,A,a,s,u){if(isNaN(n)||isNaN(r))throw o.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(A))throw o.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=i,c.height=A;var l=c.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,c.width,c.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},h=this;return t().then((function(t){return t.fromString(l,e,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(f)})).then((function(){h.addImage(c.toDataURL("image/jpeg",1),n,r,i,A,s,u)}))}}(),I.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},I.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,A,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),s=[],u=0,c=0,l=0;function f(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var h=a.length;for(l=0;l<h;l+=1)n[a[l]].value=n[a[l]].defaultValue,n[a[l]].explicitSet=!1}if("object"==typeof e)for(i in e)if(A=e[i],f(a,i)&&void 0!==A){if("boolean"===n[i].type&&"boolean"==typeof A)n[i].value=A;else if("name"===n[i].type&&f(n[i].valueSet,A))n[i].value=A;else if("integer"===n[i].type&&Number.isInteger(A))n[i].value=A;else if("array"===n[i].type){for(u=0;u<A.length;u+=1)if(r=!0,1===A[u].length&&"number"==typeof A[u][0])s.push(String(A[u]-1));else if(A[u].length>1){for(c=0;c<A[u].length;c+=1)"number"!=typeof A[u][c]&&(r=!1);!0===r&&s.push([A[u][0]-1,A[u][1]-1].join(" "))}n[i].value="["+s.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),A=unescape(encodeURIComponent("</x:xmpmeta>")),o=n.length+r.length+i.length+t.length+A.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+A),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(I.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],A=[""],o=0,a=e.length;o<a;++o){if(n=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(o),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return A.join("");n=n.toString(16),A.push(i[4-n.length],n)}return A.join("")},r=function(e){var t,n,r,i,A,o,a;for(A="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],o=0,a=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;o<a;o++)t=n[o],r.length>=100&&(A+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(A+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),A+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,A=t.newObject,o=t.putStream,a=t.pdfEscapeWithNeededParanthesis;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,u=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",l=0;l<u.length;l++)c+=String.fromCharCode(u[l]);var f=A();o({data:c,addLength1:!0,objectId:f}),i("endobj");var h=A();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=A();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+a(n.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=A();i("<<"),i("/Type /Font"),i("/BaseFont /"+a(n.fontName)),i("/FontDescriptor "+d+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=A(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+a(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,A=t.newObject,o=t.putStream,a=t.pdfEscapeWithNeededParanthesis;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,u="",c=0;c<s.length;c++)u+=String.fromCharCode(s[c]);var l=A();o({data:u,addLength1:!0,objectId:l}),i("endobj");var f=A();o({data:r(n.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var h=A();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+l+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+a(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=A();for(var d=0;d<n.metadata.hmtx.widths.length;d++)n.metadata.hmtx.widths[d]=parseInt(n.metadata.hmtx.widths[d]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+a(n.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,A=e.y,o=e.options||{},a=e.mutex||{},s=a.pdfEscape,u=a.activeFontKey,c=a.fonts,l=u,f="",h=0,d="",p=c[l].encoding;if("Identity-H"!==c[l].encoding)return{text:r,x:i,y:A,options:o,mutex:a};for(d=r,l=u,Array.isArray(r)&&(d=r[0]),h=0;h<d.length;h+=1)c[l].metadata.hasOwnProperty("cmap")&&(t=c[l].metadata.cmap.unicode.codeMap[d[h].charCodeAt(0)]),t||d[h].charCodeAt(0)<256&&c[l].metadata.hasOwnProperty("Unicode")?f+=d[h]:f+="";var g="";return parseInt(l.slice(1))<14||"WinAnsiEncoding"===p?g=s(f,l).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===p&&(g=n(f,c[l])),a.isHex=!0,{text:g,x:i,y:A,options:o,mutex:a}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var A=0;for(A=0;A<t.length;A+=1)Array.isArray(t[A])&&3===t[A].length?n.push([i(Object.assign({},r,{text:t[A][0]})).text,t[A][1],t[A][2]]):n.push(i(Object.assign({},r,{text:t[A]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(I),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(I.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,A,o,a,s,u=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],l=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},d=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,w=0;this.__bidiEngine__={};var m=function(e){var t=e.charCodeAt(),n=t>>8,r=h[n];return void 0!==r?u[256*r+(255&t)]:252===n||253===n?"AL":p.test(n)?"L":8===n?"R":"N"},B=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=m(e.charAt(n))))return!1;if("R"===t)return!0}return!1},v=function(e,t,o,a){var s,u,c,l,f=t[a];switch(f){case"L":case"R":g=!1;break;case"N":case"AN":break;case"EN":g&&(f="AN");break;case"AL":g=!0,f="R";break;case"WS":f="N";break;case"CS":a<1||a+1>=t.length||"EN"!==(s=o[a-1])&&"AN"!==s||"EN"!==(u=t[a+1])&&"AN"!==u?f="N":g&&(u="AN"),f=u===s?u:"N";break;case"ES":f="EN"===(s=a>0?o[a-1]:"B")&&a+1<t.length&&"EN"===t[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===o[a-1]){f="EN";break}if(g){f="N";break}for(c=a+1,l=t.length;c<l&&"ET"===t[c];)c++;f=c<l&&"EN"===t[c]?"EN":"N";break;case"NSM":if(i&&!A){for(l=t.length,c=a+1;c<l&&"NSM"===t[c];)c++;if(c<l){var h=e[a],d=h>=1425&&h<=2303||64286===h;if(s=t[c],d&&("R"===s||"AL"===s)){f="R";break}}}f=a<1||"B"===(s=t[a-1])?"N":o[a-1];break;case"B":g=!1,n=!0,f=w;break;case"S":r=!0,f="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"BN":f="N"}return f},b=function(e,t,n){var r=e.split("");return n&&y(r,n,{hiLevel:w}),r.reverse(),t&&t.reverse(),r.join("")},y=function(e,t,i){var A,o,a,s,u,h=-1,d=e.length,p=0,B=[],b=w?l:c,y=[];for(g=!1,n=!1,r=!1,o=0;o<d;o++)y[o]=m(e[o]);for(a=0;a<d;a++){if(u=p,B[a]=v(e,y,B,a),A=240&(p=b[u][f[B[a]]]),p&=15,t[a]=s=b[p][5],A>0)if(16===A){for(o=h;o<a;o++)t[o]=1;h=-1}else h=-1;if(b[p][6])-1===h&&(h=a);else if(h>-1){for(o=h;o<a;o++)t[o]=s;h=-1}"B"===y[a]&&(t[a]=0),i.hiLevel|=s}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=w;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=w}}(y,t,d)},C=function(e,t,r,i,A){if(!(A.hiLevel<e)){if(1===e&&1===w&&!n)return t.reverse(),void(r&&r.reverse());for(var o,a,s,u,c=t.length,l=0;l<c;){if(i[l]>=e){for(s=l+1;s<c&&i[s]>=e;)s++;for(u=l,a=s-1;u<a;u++,a--)o=t[u],t[u]=t[a],t[a]=o,r&&(o=r[u],r[u]=r[a],r[a]=o);l=s}l++}}},E=function(e,t,n){var r=e.split(""),i={hiLevel:w};return n||(n=[]),y(r,n,i),function(e,t,n){if(0!==n.hiLevel&&s)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=d.indexOf(e[i]))>=0&&(e[i]=d[r+1])}(r,n,i),C(2,r,t,n,i),C(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===A&&(A=B(e)),void 0===a&&(a=B(e))}(e,t),i||!o||a)if(i&&o&&A^a)w=A?1:0,e=b(e,t,n);else if(!i&&o&&a)w=A?1:0,e=E(e,t,n),e=b(e,t);else if(!i||A||o||a){if(i&&!o&&A^a)e=b(e,t),A?(w=0,e=E(e,t,n)):(w=1,e=E(e,t,n),e=b(e,t));else if(i&&A&&!o&&a)w=1,e=E(e,t,n),e=b(e,t);else if(!i&&!o&&A^a){var r=s;A?(w=1,e=E(e,t,n),w=0,s=!1,e=E(e,t,n),s=r):(w=0,e=E(e,t,n),e=b(e,t),w=1,s=!1,e=E(e,t,n),s=r,e=b(e,t))}}else w=0,e=E(e,t,n);else w=A?1:0,e=E(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,A=e.isInputRtl,a=e.isOutputRtl,s=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var A=0;for(i=[],A=0;A<t.length;A+=1)"[object Array]"===Object.prototype.toString.call(t[A])?i.push([n.doBidiReorder(t[A][0]),t[A][1],t[A][2]]):i.push([n.doBidiReorder(t[A])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(I),I.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Ze(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new mt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new et(this.contents),this.head=new rt(this),this.name=new ct(this),this.cmap=new At(this),this.toUnicode={},this.hhea=new ot(this),this.maxp=new lt(this),this.hmtx=new ft(this),this.post=new st(this),this.os2=new at(this),this.loca=new wt(this),this.glyf=new dt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,A,o;for(A=0,i=0,o=(e=""+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)r=e.charCodeAt(i),A+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return A*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var $e,Ze=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,A,o,a;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),A=this.readByte(),o=this.readByte(),a=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^A)+256*(255^o)+(255^a)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*A+256*o+a},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),et=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,A,o,a,s,u,c,l,f,h,d;for(d in f=Object.keys(t).length,a=Math.log(2),c=16*Math.floor(Math.log(f)/a),A=Math.floor(c/a),u=16*f-c,(r=new Ze).writeInt(this.scalarType),r.writeShort(f),r.writeShort(c),r.writeShort(A),r.writeShort(u),i=16*f,s=r.pos+i,o=null,h=[],t)for(l=t[d],r.writeString(d),r.writeInt(e(l)),r.writeInt(s),r.writeInt(l.length),h=h.concat(l),"head"===d&&(o=s),s+=l.length;s%4;)h.push(0),s++;return r.write(h),n=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=ht.call(e);e.length%4;)e.push(0);for(r=new Ze(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),tt={}.hasOwnProperty,nt=function(e,t){for(var n in t)tt.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};$e=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var rt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Ze).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),it=function(){function e(e,t){var n,r,i,A,o,a,s,u,c,l,f,h,d,p,g,w,m;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=e.readByte();break;case 4:for(f=e.readUInt16(),l=f/2,e.pos+=6,i=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,d=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),s=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),u=function(){var t,n;for(n=[],a=t=0;0<=l?t<l:t>l;a=0<=l?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],a=t=0;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt16());return n}(),a=g=0,m=i.length;g<m;a=++g)for(p=i[a],n=w=h=d[a];h<=p?w<=p:w>=p;n=h<=p?++w:--w)0===u[a]?A=n+s[a]:0!==(A=o[u[a]/2+(n-h)-(l-a)]||0)&&(A+=s[a]),this.codeMap[n]=65535&A}e.pos=c}return e.encode=function(e,t){var n,r,i,A,o,a,s,u,c,l,f,h,d,p,g,w,m,B,v,b,y,C,E,N,Q,F,U,x,L,S,_,H,k,I,O,T,P,R,M,D,K,j,z,V,q,X;switch(x=new Ze,A=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(d=0,p=function(){var e=[];for(h=0;h<256;++h)e.push(0);return e}(),w={0:0},i={},L=0,k=A.length;L<k;L++)null==w[z=e[r=A[L]]]&&(w[z]=++d),i[r]={old:e[r],new:w[e[r]]},p[r]=w[e[r]];return x.writeUInt16(1),x.writeUInt16(0),x.writeUInt32(12),x.writeUInt16(0),x.writeUInt16(262),x.writeUInt16(0),x.write(p),{charMap:i,subtable:x.data,maxGlyphID:d+1};case"unicode":for(F=[],c=[],m=0,w={},n={},g=s=null,S=0,I=A.length;S<I;S++)null==w[v=e[r=A[S]]]&&(w[v]=++m),n[r]={old:v,new:w[v]},o=w[v]-r,null!=g&&o===s||(g&&c.push(g),F.push(r),s=o),g=r;for(g&&c.push(g),c.push(65535),F.push(65535),N=2*(E=F.length),C=2*Math.pow(Math.log(E)/Math.LN2,2),l=Math.log(C/2)/Math.LN2,y=2*E-C,a=[],b=[],f=[],h=_=0,O=F.length;_<O;h=++_){if(Q=F[h],u=c[h],65535===Q){a.push(0),b.push(0);break}if(Q-(U=n[Q].new)>=32768)for(a.push(0),b.push(2*(f.length+E-h)),r=H=Q;Q<=u?H<=u:H>=u;r=Q<=u?++H:--H)f.push(n[r].new);else a.push(U-Q),b.push(0)}for(x.writeUInt16(3),x.writeUInt16(1),x.writeUInt32(12),x.writeUInt16(4),x.writeUInt16(16+8*E+2*f.length),x.writeUInt16(0),x.writeUInt16(N),x.writeUInt16(C),x.writeUInt16(l),x.writeUInt16(y),K=0,T=c.length;K<T;K++)r=c[K],x.writeUInt16(r);for(x.writeUInt16(0),j=0,P=F.length;j<P;j++)r=F[j],x.writeUInt16(r);for(V=0,R=a.length;V<R;V++)o=a[V],x.writeUInt16(o);for(q=0,M=b.length;q<M;q++)B=b[q],x.writeUInt16(B);for(X=0,D=f.length;X<D;X++)d=f[X],x.writeUInt16(d);return{charMap:n,subtable:x.data,maxGlyphID:m+1}}},e}(),At=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new it(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=it.encode(e,t),(r=new Ze).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),ot=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),at=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),st=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),ut=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},ct=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,i,A,o,a,s,u,c,l;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(a={},i=u=0,c=n.length;u<c;i=++u)r=n[i],e.pos=r.offset,s=e.readString(r.length),A=new ut(s,r),null==a[l=r.nameID]&&(a[l]=[]),a[r.nameID].push(A);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},t}(),lt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),ft=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,i,A,o,a;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],a=[],t=A=0;0<=r?A<r:A>r;t=0<=r?++A:--A)a.push(this.widths.push(n));return a},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),ht=[].slice,dt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,A,o,a,s,u,c;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,A=(o=new Ze(t.read(r))).readShort(),s=o.readShort(),c=o.readShort(),a=o.readShort(),u=o.readShort(),this.cache[e]=-1===A?new gt(o,s,c,a,u):new pt(o,A,s,c,a,u),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,A,o,a;for(A=[],i=[],o=0,a=t.length;o<a;o++)r=e[t[o]],i.push(A.length),r&&(A=A.concat(r.encode(n)));return i.push(A.length),{table:A,offsets:i}},t}(),pt=function(){function e(e,t,n,r,i,A){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=A,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),gt=function(){function e(e,t,n,r,i){var A,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],A=this.raw;o=A.readShort(),this.glyphOffsets.push(A.pos),this.glyphIDs.push(A.readUInt16()),32&o;)A.pos+=1&o?4:2,128&o?A.pos+=8:64&o?A.pos+=4:8&o&&(A.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Ze(ht.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),wt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return nt(t,$e),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,A=0;A<n.length;++A)if(n[A]=r,i<t.length&&t[i]==A){++i,n[A]=r;var o=this.offsets[A],a=this.offsets[A+1]-o;a>0&&(r+=a)}for(var s=new Array(4*n.length),u=0;u<n.length;++u)s[4*u+3]=255&n[u],s[4*u+2]=(65280&n[u])>>8,s[4*u+1]=(16711680&n[u])>>16,s[4*u]=(4278190080&n[u])>>24;return s},t}(),mt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,A,o,a;for(r={},A=0,o=e.length;A<o;A++)r[i=e[A]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in a=this.glyphsFor(t))n=a[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,A,o,a,s,u,c,l,f,h,d,p,g;for(r in n=At.encode(this.generateCmap(),"unicode"),A=this.glyphsFor(e),f={0:0},g=n.charMap)f[(a=g[r]).old]=a.new;for(h in l=n.maxGlyphID,A)h in f||(f[h]=l++);return u=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(f),c=Object.keys(u).sort((function(e,t){return e-t})),d=function(){var e,t,n;for(n=[],e=0,t=c.length;e<t;e++)o=c[e],n.push(u[o]);return n}(),i=this.font.glyf.encode(A,d,f),s=this.font.loca.encode(i.offsets,d),p={cmap:this.font.cmap.raw(),glyf:i.table,loca:s,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(p["OS/2"]=this.font.os2.raw()),this.font.directory.encode(p)},e}();I.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,A,o;if(Array.isArray(n))return"["+function(){var e,i,A;for(A=[],e=0,i=n.length;e<i;e++)r=n[e],A.push(t.convert(r));return A}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in A=["<<"],n)o=n[i],A.push("/"+i+" "+t.convert(o));return A.push(">>"),A.join("\n")}return""+n},t}(),t.a=I}).call(this,n(21))},,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,a,s=o(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(s[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)A.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){e.exports=function(){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};function t(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t,n,r){return new(n||(n=Promise))((function(i,A){function o(e){try{s(r.next(e))}catch(Lt){A(Lt)}}function a(e){try{s(r.throw(e))}catch(Lt){A(Lt)}}function s(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(o,a)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,A,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return A={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(A[Symbol.iterator]=function(){return this}),A;function a(e){return function(t){return s([e,t])}}function s(A){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&A[0]?r.return:A[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,A[1])).done)return i;switch(r=0,i&&(A=[2&A[0],i.value]),A[0]){case 0:case 1:i=A;break;case 4:return o.label++,{value:A[1],done:!1};case 5:o.label++,r=A[1],A=[0];continue;case 7:A=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===A[0]||2===A[0])){o=0;continue}if(3===A[0]&&(!i||A[1]>i[0]&&A[1]<i[3])){o.label=A[1];break}if(6===A[0]&&o.label<i[1]){o.label=i[1],i=A;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(A);break}i[2]&&o.ops.pop(),o.trys.pop();continue}A=t.call(e,o)}catch(Lt){A=[6,Lt],r=0}finally{n=i=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}for(var A=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t){return new e(t.left,t.top,t.width,t.height)},e}(),o=function(e){return A.fromClientRect(e.getBoundingClientRect())},a=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new A(0,0,r,i)},s=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var A=e.charCodeAt(n++);56320===(64512&A)?t.push(((1023&i)<<10)+(1023&A)+65536):(t.push(i),n--)}else t.push(i)}return t},u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,A="";++i<n;){var o=e[i];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(i+1===n||r.length>16384)&&(A+=String.fromCharCode.apply(String,r),r.length=0)}return A},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<c.length;f++)l[c.charCodeAt(f)]=f;var h,d=function(e){var t,n,r,i,A,o=.75*e.length,a=e.length,s=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var u="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<a;t+=4)n=l[e.charCodeAt(t)],r=l[e.charCodeAt(t+1)],i=l[e.charCodeAt(t+2)],A=l[e.charCodeAt(t+3)],c[s++]=n<<2|r>>4,c[s++]=(15&r)<<4|i>>2,c[s++]=(3&i)<<6|63&A;return u},p=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},g=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},w=5,m=11,B=2,v=65536>>w,b=(1<<w)-1,y=v+(1024>>w)+32,C=65536>>m,E=(1<<m-w)-1,N=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Q=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},F=function(e){var t=d(e),n=Array.isArray(t)?g(t):new Uint32Array(t),r=Array.isArray(t)?p(t):new Uint16Array(t),i=24,A=N(r,i/2,n[4]/2),o=2===n[5]?N(r,(i+n[4])/2):Q(n,Math.ceil((i+n[4])/4));return new U(n[0],n[1],n[2],n[3],A,o)},U=function(){function e(e,t,n,r,i,A){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=A}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>w])<<B)+(e&b),this.data[t];if(e<=65535)return t=((t=this.index[v+(e-55296>>w)])<<B)+(e&b),this.data[t];if(e<this.highStart)return t=y-C+(e>>m),t=this.index[t],t+=e>>w&E,t=((t=this.index[t])<<B)+(e&b),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),x=50,L=1,S=2,_=3,H=4,k=5,I=7,O=8,T=9,P=10,R=11,M=12,D=13,K=14,j=15,z=16,V=17,q=18,X=19,G=20,W=21,J=22,Y=23,$=24,Z=25,ee=26,te=27,ne=28,re=29,ie=30,Ae=31,oe=32,ae=33,se=34,ue=35,ce=36,le=37,fe=38,he=39,de=40,pe=41,ge=42,we=43,me="!",Be="\xd7",ve="\xf7",be=F("KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"),ye=[ie,ce],Ce=[L,S,_,k],Ee=[P,O],Ne=[te,ee],Qe=Ce.concat(Ee),Fe=[fe,he,de,se,ue],Ue=[j,D],xe=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach((function(e,A){var o=be.get(e);if(o>x?(i.push(!0),o-=x):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(A),n.push(z);if(o===H||o===R){if(0===A)return r.push(A),n.push(ie);var a=n[A-1];return-1===Qe.indexOf(a)?(r.push(r[A-1]),n.push(a)):(r.push(A),n.push(ie))}return r.push(A),o===Ae?n.push("strict"===t?W:le):o===ge||o===re?n.push(ie):o===we?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(le):n.push(ie):void n.push(o)})),[r,n,i]},Le=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var A=n;A<=r.length;){if((s=r[++A])===t)return!0;if(s!==P)break}if(i===P)for(A=n;A>0;){var o=r[--A];if(Array.isArray(e)?-1!==e.indexOf(o):e===o)for(var a=n;a<=r.length;){var s;if((s=r[++a])===t)return!0;if(s!==P)break}if(o!==P)break}return!1},Se=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==P)return r;n--}return 0},_e=function(e,t,n,r,i){if(0===n[r])return Be;var A=r-1;if(Array.isArray(i)&&!0===i[A])return Be;var o=A-1,a=A+1,s=t[A],u=o>=0?t[o]:0,c=t[a];if(s===S&&c===_)return Be;if(-1!==Ce.indexOf(s))return me;if(-1!==Ce.indexOf(c))return Be;if(-1!==Ee.indexOf(c))return Be;if(Se(A,t)===O)return ve;if(be.get(e[A])===R&&(c===le||c===oe||c===ae))return Be;if(s===I||c===I)return Be;if(s===T)return Be;if(-1===[P,D,j].indexOf(s)&&c===T)return Be;if(-1!==[V,q,X,$,ne].indexOf(c))return Be;if(Se(A,t)===J)return Be;if(Le(Y,J,A,t))return Be;if(Le([V,q],W,A,t))return Be;if(Le(M,M,A,t))return Be;if(s===P)return ve;if(s===Y||c===Y)return Be;if(c===z||s===z)return ve;if(-1!==[D,j,W].indexOf(c)||s===K)return Be;if(u===ce&&-1!==Ue.indexOf(s))return Be;if(s===ne&&c===ce)return Be;if(c===G&&-1!==ye.concat(G,X,Z,le,oe,ae).indexOf(s))return Be;if(-1!==ye.indexOf(c)&&s===Z||-1!==ye.indexOf(s)&&c===Z)return Be;if(s===te&&-1!==[le,oe,ae].indexOf(c)||-1!==[le,oe,ae].indexOf(s)&&c===ee)return Be;if(-1!==ye.indexOf(s)&&-1!==Ne.indexOf(c)||-1!==Ne.indexOf(s)&&-1!==ye.indexOf(c))return Be;if(-1!==[te,ee].indexOf(s)&&(c===Z||-1!==[J,j].indexOf(c)&&t[a+1]===Z)||-1!==[J,j].indexOf(s)&&c===Z||s===Z&&-1!==[Z,ne,$].indexOf(c))return Be;if(-1!==[Z,ne,$,V,q].indexOf(c))for(var l=A;l>=0;){if((f=t[l])===Z)return Be;if(-1===[ne,$].indexOf(f))break;l--}if(-1!==[te,ee].indexOf(c))for(l=-1!==[V,q].indexOf(s)?o:A;l>=0;){var f;if((f=t[l])===Z)return Be;if(-1===[ne,$].indexOf(f))break;l--}if(fe===s&&-1!==[fe,he,se,ue].indexOf(c)||-1!==[he,se].indexOf(s)&&-1!==[he,de].indexOf(c)||-1!==[de,ue].indexOf(s)&&c===de)return Be;if(-1!==Fe.indexOf(s)&&-1!==[G,ee].indexOf(c)||-1!==Fe.indexOf(c)&&s===te)return Be;if(-1!==ye.indexOf(s)&&-1!==ye.indexOf(c))return Be;if(s===$&&-1!==ye.indexOf(c))return Be;if(-1!==ye.concat(Z).indexOf(s)&&c===J||-1!==ye.concat(Z).indexOf(c)&&s===q)return Be;if(s===pe&&c===pe){for(var h=n[A],d=1;h>0&&t[--h]===pe;)d++;if(d%2!==0)return Be}return s===oe&&c===ae?Be:ve},He=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=xe(e,t.lineBreak),r=n[0],i=n[1],A=n[2];return"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(e){return-1!==[Z,ie,ge].indexOf(e)?le:e}))),[r,i,"keep-all"===t.wordBreak?A.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0]},ke=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===me,this.start=n,this.end=r}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Ie=function(e,t){var n=s(e),r=He(n,t),i=r[0],A=r[1],o=r[2],a=n.length,u=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var e=Be;c<a&&(e=_e(n,A,i,++c,o))===Be;);if(e!==Be||c===a){var t=new ke(n,e,u,c);return u=c,{value:t,done:!1}}return{done:!0,value:null}}}};!function(e){e[e.STRING_TOKEN=0]="STRING_TOKEN",e[e.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",e[e.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",e[e.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",e[e.COMMA_TOKEN=4]="COMMA_TOKEN",e[e.HASH_TOKEN=5]="HASH_TOKEN",e[e.DELIM_TOKEN=6]="DELIM_TOKEN",e[e.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",e[e.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",e[e.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",e[e.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",e[e.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",e[e.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",e[e.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",e[e.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",e[e.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",e[e.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",e[e.NUMBER_TOKEN=17]="NUMBER_TOKEN",e[e.FUNCTION=18]="FUNCTION",e[e.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",e[e.IDENT_TOKEN=20]="IDENT_TOKEN",e[e.COLUMN_TOKEN=21]="COLUMN_TOKEN",e[e.URL_TOKEN=22]="URL_TOKEN",e[e.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",e[e.CDC_TOKEN=24]="CDC_TOKEN",e[e.CDO_TOKEN=25]="CDO_TOKEN",e[e.COLON_TOKEN=26]="COLON_TOKEN",e[e.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",e[e.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",e[e.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",e[e.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",e[e.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",e[e.EOF_TOKEN=32]="EOF_TOKEN"}(h||(h={}));var Oe=1,Te=2,Pe=4,Re=8,Me=10,De=47,Ke=92,je=9,ze=32,Ve=34,qe=61,Xe=35,Ge=36,We=37,Je=39,Ye=40,$e=41,Ze=95,et=45,tt=33,nt=60,rt=62,it=64,At=91,ot=93,at=61,st=123,ut=63,ct=125,lt=124,ft=126,ht=128,dt=65533,pt=42,gt=43,wt=44,mt=58,Bt=59,vt=46,bt=0,yt=8,Ct=11,Et=14,Nt=31,Qt=127,Ft=-1,Ut=48,xt=97,Lt=101,St=102,_t=117,Ht=122,kt=65,It=69,Ot=70,Tt=85,Pt=90,Rt=function(e){return e>=Ut&&e<=57},Mt=function(e){return e>=55296&&e<=57343},Dt=function(e){return Rt(e)||e>=kt&&e<=Ot||e>=xt&&e<=St},Kt=function(e){return e>=xt&&e<=Ht},jt=function(e){return e>=kt&&e<=Pt},zt=function(e){return Kt(e)||jt(e)},Vt=function(e){return e>=ht},qt=function(e){return e===Me||e===je||e===ze},Xt=function(e){return zt(e)||Vt(e)||e===Ze},Gt=function(e){return Xt(e)||Rt(e)||e===et},Wt=function(e){return e>=bt&&e<=yt||e===Ct||e>=Et&&e<=Nt||e===Qt},Jt=function(e,t){return e===Ke&&t!==Me},Yt=function(e,t,n){return e===et?Xt(t)||Jt(t,n):!!Xt(e)||!(e!==Ke||!Jt(e,t))},$t=function(e,t,n){return e===gt||e===et?!!Rt(t)||t===vt&&Rt(n):Rt(e===vt?t:e)},Zt=function(e){var t=0,n=1;e[t]!==gt&&e[t]!==et||(e[t]===et&&(n=-1),t++);for(var r=[];Rt(e[t]);)r.push(e[t++]);var i=r.length?parseInt(u.apply(void 0,r),10):0;e[t]===vt&&t++;for(var A=[];Rt(e[t]);)A.push(e[t++]);var o=A.length,a=o?parseInt(u.apply(void 0,A),10):0;e[t]!==It&&e[t]!==Lt||t++;var s=1;e[t]!==gt&&e[t]!==et||(e[t]===et&&(s=-1),t++);for(var c=[];Rt(e[t]);)c.push(e[t++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return n*(i+a*Math.pow(10,-o))*Math.pow(10,s*l)},en={type:h.LEFT_PARENTHESIS_TOKEN},tn={type:h.RIGHT_PARENTHESIS_TOKEN},nn={type:h.COMMA_TOKEN},rn={type:h.SUFFIX_MATCH_TOKEN},An={type:h.PREFIX_MATCH_TOKEN},on={type:h.COLUMN_TOKEN},an={type:h.DASH_MATCH_TOKEN},sn={type:h.INCLUDE_MATCH_TOKEN},un={type:h.LEFT_CURLY_BRACKET_TOKEN},cn={type:h.RIGHT_CURLY_BRACKET_TOKEN},ln={type:h.SUBSTRING_MATCH_TOKEN},fn={type:h.BAD_URL_TOKEN},hn={type:h.BAD_STRING_TOKEN},dn={type:h.CDO_TOKEN},pn={type:h.CDC_TOKEN},gn={type:h.COLON_TOKEN},wn={type:h.SEMICOLON_TOKEN},mn={type:h.LEFT_SQUARE_BRACKET_TOKEN},Bn={type:h.RIGHT_SQUARE_BRACKET_TOKEN},vn={type:h.WHITESPACE_TOKEN},bn={type:h.EOF_TOKEN},yn=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(s(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==bn;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Ve:return this.consumeStringToken(Ve);case Xe:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Gt(t)||Jt(n,r)){var i=Yt(t,n,r)?Te:Oe,A=this.consumeName();return{type:h.HASH_TOKEN,value:A,flags:i}}break;case Ge:if(this.peekCodePoint(0)===qe)return this.consumeCodePoint(),rn;break;case Je:return this.consumeStringToken(Je);case Ye:return en;case $e:return tn;case pt:if(this.peekCodePoint(0)===qe)return this.consumeCodePoint(),ln;break;case gt:if($t(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case wt:return nn;case et:var o=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if($t(o,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Yt(o,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===et&&s===rt)return this.consumeCodePoint(),this.consumeCodePoint(),pn;break;case vt:if($t(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case De:if(this.peekCodePoint(0)===pt)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===pt&&(c=this.consumeCodePoint())===De)return this.consumeToken();if(c===Ft)return this.consumeToken()}break;case mt:return gn;case Bt:return wn;case nt:if(this.peekCodePoint(0)===tt&&this.peekCodePoint(1)===et&&this.peekCodePoint(2)===et)return this.consumeCodePoint(),this.consumeCodePoint(),dn;break;case it:var l=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(Yt(l,f,d))return A=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:A};break;case At:return mn;case Ke:if(Jt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case ot:return Bn;case at:if(this.peekCodePoint(0)===qe)return this.consumeCodePoint(),An;break;case st:return un;case ct:return cn;case _t:case Tt:var p=this.peekCodePoint(0),g=this.peekCodePoint(1);return p!==gt||!Dt(g)&&g!==ut||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case lt:if(this.peekCodePoint(0)===qe)return this.consumeCodePoint(),an;if(this.peekCodePoint(0)===lt)return this.consumeCodePoint(),on;break;case ft:if(this.peekCodePoint(0)===qe)return this.consumeCodePoint(),sn;break;case Ft:return bn}return qt(e)?(this.consumeWhiteSpace(),vn):Rt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Xt(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:u(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Dt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===ut&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(u.apply(void 0,e.map((function(e){return e===ut?Ut:e}))),16),i=parseInt(u.apply(void 0,e.map((function(e){return e===ut?Ot:e}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:r,end:i}}var A=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===et&&Dt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];Dt(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return i=parseInt(u.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:A,end:i}}return{type:h.UNICODE_RANGE_TOKEN,start:A,end:A}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:e}):{type:h.IDENT_TOKEN,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ft)return{type:h.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===Je||t===Ve){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ft||this.peekCodePoint(0)===$e)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:n.value}):(this.consumeBadUrlRemnants(),fn)}for(;;){var r=this.consumeCodePoint();if(r===Ft||r===$e)return{type:h.URL_TOKEN,value:u.apply(void 0,e)};if(qt(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ft||this.peekCodePoint(0)===$e?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),fn);if(r===Ve||r===Je||r===Ye||Wt(r))return this.consumeBadUrlRemnants(),fn;if(r===Ke){if(!Jt(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),fn;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;qt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===$e||e===Ft)return;Jt(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=6e4,n="";e>0;){var r=Math.min(t,e);n+=u.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===Ft||void 0===r||r===e)return t+=this.consumeStringSlice(n),{type:h.STRING_TOKEN,value:t};if(r===Me)return this._value.splice(0,n),hn;if(r===Ke){var i=this._value[n+1];i!==Ft&&void 0!==i&&(i===Me?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):Jt(r,i)&&(t+=this.consumeStringSlice(n),t+=u(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=Pe,n=this.peekCodePoint(0);for(n!==gt&&n!==et||e.push(this.consumeCodePoint());Rt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===vt&&Rt(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Re;Rt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===It||n===Lt)&&((r===gt||r===et)&&Rt(i)||Rt(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Re;Rt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[Zt(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Yt(r,i,A)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:t,flags:n,unit:o}}return r===We?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:t,flags:n}):{type:h.NUMBER_TOKEN,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Dt(e)){for(var t=u(e);Dt(this.peekCodePoint(0))&&t.length<6;)t+=u(this.consumeCodePoint());qt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||Mt(n)||n>1114111?dt:n}return e===Ft?dt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Gt(t))e+=u(t);else{if(!Jt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),Cn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new yn;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===h.WHITESPACE_TOKEN;)e=this.consumeToken();if(e.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(e.type===h.WHITESPACE_TOKEN);if(e.type===h.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===h.EOF_TOKEN)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(e.type);case h.FUNCTION_TOKEN:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(n.type===h.EOF_TOKEN||_n(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:h.FUNCTION};;){var n=this.consumeToken();if(n.type===h.EOF_TOKEN||n.type===h.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?bn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),En=function(e){return e.type===h.DIMENSION_TOKEN},Nn=function(e){return e.type===h.NUMBER_TOKEN},Qn=function(e){return e.type===h.IDENT_TOKEN},Fn=function(e){return e.type===h.STRING_TOKEN},Un=function(e,t){return Qn(e)&&e.value===t},xn=function(e){return e.type!==h.WHITESPACE_TOKEN},Ln=function(e){return e.type!==h.WHITESPACE_TOKEN&&e.type!==h.COMMA_TOKEN},Sn=function(e){var t=[],n=[];return e.forEach((function(e){if(e.type===h.COMMA_TOKEN){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}e.type!==h.WHITESPACE_TOKEN&&n.push(e)})),n.length&&t.push(n),t},_n=function(e,t){return t===h.LEFT_CURLY_BRACKET_TOKEN&&e.type===h.RIGHT_CURLY_BRACKET_TOKEN||t===h.LEFT_SQUARE_BRACKET_TOKEN&&e.type===h.RIGHT_SQUARE_BRACKET_TOKEN||t===h.LEFT_PARENTHESIS_TOKEN&&e.type===h.RIGHT_PARENTHESIS_TOKEN},Hn=function(e){return e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN},kn=function(e){return e.type===h.PERCENTAGE_TOKEN||Hn(e)},In=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},On={type:h.NUMBER_TOKEN,number:0,flags:Pe},Tn={type:h.PERCENTAGE_TOKEN,number:50,flags:Pe},Pn={type:h.PERCENTAGE_TOKEN,number:100,flags:Pe},Rn=function(e,t,n){var r=e[0],i=e[1];return[Mn(r,t),Mn("undefined"!==typeof i?i:r,n)]},Mn=function(e,t){if(e.type===h.PERCENTAGE_TOKEN)return e.number/100*t;if(En(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},Dn="deg",Kn="grad",jn="rad",zn="turn",Vn={name:"angle",parse:function(e){if(e.type===h.DIMENSION_TOKEN)switch(e.unit){case Dn:return Math.PI*e.number/180;case Kn:return Math.PI/200*e.number;case jn:return e.number;case zn:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},qn=function(e){return e.type===h.DIMENSION_TOKEN&&(e.unit===Dn||e.unit===Kn||e.unit===jn||e.unit===zn)},Xn=function(e){switch(e.filter(Qn).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[On,On];case"to top":case"bottom":return Gn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[On,Pn];case"to right":case"left":return Gn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Pn,Pn];case"to bottom":case"top":return Gn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Pn,On];case"to left":case"right":return Gn(270)}return 0},Gn=function(e){return Math.PI*e/180},Wn={name:"color",parse:function(e){if(e.type===h.FUNCTION){var t=Ar[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(e.values)}if(e.type===h.HASH_TOKEN){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),i=e.value.substring(2,3);return $n(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),1)}if(4===e.value.length){n=e.value.substring(0,1),r=e.value.substring(1,2),i=e.value.substring(2,3);var A=e.value.substring(3,4);return $n(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),parseInt(A+A,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),i=e.value.substring(4,6),$n(parseInt(n,16),parseInt(r,16),parseInt(i,16),1);if(8===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),i=e.value.substring(4,6),A=e.value.substring(6,8),$n(parseInt(n,16),parseInt(r,16),parseInt(i,16),parseInt(A,16)/255)}if(e.type===h.IDENT_TOKEN){var o=or[e.value.toUpperCase()];if("undefined"!==typeof o)return o}return or.TRANSPARENT}},Jn=function(e){return 0===(255&e)},Yn=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},$n=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},Zn=function(e,t){if(e.type===h.NUMBER_TOKEN)return e.number;if(e.type===h.PERCENTAGE_TOKEN){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},er=function(e){var t=e.filter(Ln);if(3===t.length){var n=t.map(Zn),r=n[0],i=n[1],A=n[2];return $n(r,i,A,1)}if(4===t.length){var o=t.map(Zn),a=(r=o[0],i=o[1],A=o[2],o[3]);return $n(r,i,A,a)}return 0};function tr(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var nr,rr,ir=function(e){var t=e.filter(Ln),n=t[0],r=t[1],i=t[2],A=t[3],o=(n.type===h.NUMBER_TOKEN?Gn(n.number):Vn.parse(n))/(2*Math.PI),a=kn(r)?r.number/100:0,s=kn(i)?i.number/100:0,u="undefined"!==typeof A&&kn(A)?Mn(A,1):1;if(0===a)return $n(255*s,255*s,255*s,1);var c=s<=.5?s*(a+1):s+a-s*a,l=2*s-c,f=tr(l,c,o+1/3),d=tr(l,c,o),p=tr(l,c,o-1/3);return $n(255*f,255*d,255*p,u)},Ar={hsl:ir,hsla:ir,rgb:er,rgba:er},or={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(e){e[e.VALUE=0]="VALUE",e[e.LIST=1]="LIST",e[e.IDENT_VALUE=2]="IDENT_VALUE",e[e.TYPE_VALUE=3]="TYPE_VALUE",e[e.TOKEN_VALUE=4]="TOKEN_VALUE"})(nr||(nr={})),function(e){e[e.BORDER_BOX=0]="BORDER_BOX",e[e.PADDING_BOX=1]="PADDING_BOX",e[e.CONTENT_BOX=2]="CONTENT_BOX"}(rr||(rr={}));var ar,sr={name:"background-clip",initialValue:"border-box",prefix:!1,type:nr.LIST,parse:function(e){return e.map((function(e){if(Qn(e))switch(e.value){case"padding-box":return rr.PADDING_BOX;case"content-box":return rr.CONTENT_BOX}return rr.BORDER_BOX}))}},ur={name:"background-color",initialValue:"transparent",prefix:!1,type:nr.TYPE_VALUE,format:"color"},cr=function(e){var t=Wn.parse(e[0]),n=e[1];return n&&kn(n)?{color:t,stop:n}:{color:t,stop:null}},lr=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=On),null===r.stop&&(r.stop=Pn);for(var i=[],A=0,o=0;o<e.length;o++){var a=e[o].stop;if(null!==a){var s=Mn(a,t);s>A?i.push(s):i.push(A),A=s}else i.push(null)}var u=null;for(o=0;o<i.length;o++){var c=i[o];if(null===c)null===u&&(u=o);else if(null!==u){for(var l=o-u,f=(c-i[u-1])/(l+1),h=1;h<=l;h++)i[u+h-1]=f*h;u=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}}))},fr=function(e,t,n){var r=t/2,i=n/2,A=Mn(e[0],t)-r,o=i-Mn(e[1],n);return(Math.atan2(o,A)+2*Math.PI)%(2*Math.PI)},hr=function(e,t,n){var r="number"===typeof e?e:fr(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),A=t/2,o=n/2,a=i/2,s=Math.sin(r-Math.PI/2)*a,u=Math.cos(r-Math.PI/2)*a;return[i,A-u,A+u,o-s,o+s]},dr=function(e,t){return Math.sqrt(e*e+t*t)},pr=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var A=t[0],o=t[1],a=dr(n-A,r-o);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},gr=function(e,t,n,r,i){var A=0,o=0;switch(e.size){case Yr.CLOSEST_SIDE:e.shape===Jr.CIRCLE?A=o=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===Jr.ELLIPSE&&(A=Math.min(Math.abs(t),Math.abs(t-r)),o=Math.min(Math.abs(n),Math.abs(n-i)));break;case Yr.CLOSEST_CORNER:if(e.shape===Jr.CIRCLE)A=o=Math.min(dr(t,n),dr(t,n-i),dr(t-r,n),dr(t-r,n-i));else if(e.shape===Jr.ELLIPSE){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),s=pr(r,i,t,n,!0),u=s[0],c=s[1];o=a*(A=dr(u-t,(c-n)/a))}break;case Yr.FARTHEST_SIDE:e.shape===Jr.CIRCLE?A=o=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===Jr.ELLIPSE&&(A=Math.max(Math.abs(t),Math.abs(t-r)),o=Math.max(Math.abs(n),Math.abs(n-i)));break;case Yr.FARTHEST_CORNER:if(e.shape===Jr.CIRCLE)A=o=Math.max(dr(t,n),dr(t,n-i),dr(t-r,n),dr(t-r,n-i));else if(e.shape===Jr.ELLIPSE){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var l=pr(r,i,t,n,!1);u=l[0],c=l[1],o=a*(A=dr(u-t,(c-n)/a))}}return Array.isArray(e.size)&&(A=Mn(e.size[0],r),o=2===e.size.length?Mn(e.size[1],i):A),[A,o]},wr=function(e){var t=Gn(180),n=[];return Sn(e).forEach((function(e,r){if(0===r){var i=e[0];if(i.type===h.IDENT_TOKEN&&"to"===i.value)return void(t=Xn(e));if(qn(i))return void(t=Vn.parse(i))}var A=cr(e);n.push(A)})),{angle:t,stops:n,type:ar.LINEAR_GRADIENT}},mr=function(e){var t=Gn(180),n=[];return Sn(e).forEach((function(e,r){if(0===r){var i=e[0];if(i.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=Xn(e));if(qn(i))return void(t=(Vn.parse(i)+Gn(270))%Gn(360))}var A=cr(e);n.push(A)})),{angle:t,stops:n,type:ar.LINEAR_GRADIENT}},Br=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),A=Math.round(i.height);if(e.body.removeChild(r),A===t)return!0}}return!1},vr=function(){return"undefined"!==typeof(new Image).crossOrigin},br=function(){return"string"===typeof(new XMLHttpRequest).responseType},yr=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(Lt){return!1}return!0},Cr=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Er=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,A=t.toDataURL();i.src=A;var o=Nr(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),Qr(o).then((function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var o=e.createElement("div");return o.style.backgroundImage="url("+A+")",o.style.height=n+"px",Cr(i)?Qr(Nr(n,n,0,0,o)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Cr(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Nr=function(e,t,n,r,i){var A="http://www.w3.org/2000/svg",o=document.createElementNS(A,"svg"),a=document.createElementNS(A,"foreignObject");return o.setAttributeNS(null,"width",e.toString()),o.setAttributeNS(null,"height",t.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",n.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(i),o},Qr=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Fr={get SUPPORT_RANGE_BOUNDS(){var e=Br(document);return Object.defineProperty(Fr,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=yr(document);return Object.defineProperty(Fr,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Er(document):Promise.resolve(!1);return Object.defineProperty(Fr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=vr();return Object.defineProperty(Fr,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=br();return Object.defineProperty(Fr,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Fr,"SUPPORT_CORS_XHR",{value:e}),e}},Ur=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.create=function(t){e.instances[t.id]=new e(t)},e.destroy=function(t){delete e.instances[t]},e.getInstance=function(t){var n=e.instances[t];if("undefined"===typeof n)throw new Error("No logger instance found with id "+t);return n},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(e)):this.info.apply(this,e))},e.instances={},e}(),xr=function(){function e(){}return e.create=function(t,n){return e._caches[t]=new Lr(t,n)},e.destroy=function(t){delete e._caches[t]},e.open=function(t){var n=e._caches[t];if("undefined"!==typeof n)return n;throw new Error('Cache with key "'+t+'" not found')},e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e.getInstance=function(){var t=e._current;if(null===t)throw new Error("No cache instance attached");return t},e.attachInstance=function(t){e._current=t},e.detachInstance=function(){e._current=null},e._caches={},e._origin="about:blank",e._current=null,e}(),Lr=function(){function e(e,t){this.id=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Tr(e)||kr(e)?(this._cache[e]=this.loadImage(e),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,A,o=this;return i(this,(function(i){switch(i.label){case 0:return t=xr.isSameOrigin(e),n=!Ir(e)&&!0===this._options.useCORS&&Fr.SUPPORT_CORS_IMAGES&&!t,r=!Ir(e)&&!t&&"string"===typeof this._options.proxy&&Fr.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Ir(e)||r||n?(A=e,r?[4,this.proxy(A)]:[3,2]):[2];case 1:A=i.sent(),i.label=2;case 2:return Ur.getInstance(this.id).debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Or(A)||n)&&(r.crossOrigin="anonymous"),r.src=A,!0===r.complete&&setTimeout((function(){return e(r)}),500),o._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(i,A){var o=Fr.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status)if("text"===o)i(a.response);else{var e=new FileReader;e.addEventListener("load",(function(){return i(e.result)}),!1),e.addEventListener("error",(function(e){return A(e)}),!1),e.readAsDataURL(a.response)}else A("Failed to proxy resource "+r+" with status code "+a.status)},a.onerror=A,a.open("GET",n+"?url="+encodeURIComponent(e)+"&responseType="+o),"text"!==o&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var s=t._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return A("Timed out ("+s+"ms) proxying "+r)}}a.send()}))},e}(),Sr=/^data:image\/svg\+xml/i,_r=/^data:image\/.*;base64,/i,Hr=/^data:image\/.*/i,kr=function(e){return Fr.SUPPORT_SVG_DRAWING||!Pr(e)},Ir=function(e){return Hr.test(e)},Or=function(e){return _r.test(e)},Tr=function(e){return"blob"===e.substr(0,4)},Pr=function(e){return"svg"===e.substr(-3).toLowerCase()||Sr.test(e)},Rr=function(e){var t=Gn(180),n=[],r=ar.LINEAR_GRADIENT,i=Jr.CIRCLE,A=Yr.FARTHEST_CORNER,o=[];return Sn(e).forEach((function(e,t){var i=e[0];if(0===t){if(Qn(i)&&"linear"===i.value)return void(r=ar.LINEAR_GRADIENT);if(Qn(i)&&"radial"===i.value)return void(r=ar.RADIAL_GRADIENT)}if(i.type===h.FUNCTION)if("from"===i.name){var A=Wn.parse(i.values[0]);n.push({stop:On,color:A})}else if("to"===i.name)A=Wn.parse(i.values[0]),n.push({stop:Pn,color:A});else if("color-stop"===i.name){var o=i.values.filter(Ln);if(2===o.length){A=Wn.parse(o[1]);var a=o[0];Nn(a)&&n.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*a.number,flags:a.flags},color:A})}}})),r===ar.LINEAR_GRADIENT?{angle:(t+Gn(180))%Gn(360),stops:n,type:r}:{size:A,shape:i,stops:n,position:o,type:r}},Mr="closest-side",Dr="farthest-side",Kr="closest-corner",jr="farthest-corner",zr="circle",Vr="ellipse",qr="cover",Xr="contain",Gr=function(e){var t=Jr.CIRCLE,n=Yr.FARTHEST_CORNER,r=[],i=[];return Sn(e).forEach((function(e,A){var o=!0;if(0===A){var a=!1;o=e.reduce((function(e,r){if(a)if(Qn(r))switch(r.value){case"center":return i.push(Tn),e;case"top":case"left":return i.push(On),e;case"right":case"bottom":return i.push(Pn),e}else(kn(r)||Hn(r))&&i.push(r);else if(Qn(r))switch(r.value){case zr:return t=Jr.CIRCLE,!1;case Vr:return t=Jr.ELLIPSE,!1;case"at":return a=!0,!1;case Mr:return n=Yr.CLOSEST_SIDE,!1;case qr:case Dr:return n=Yr.FARTHEST_SIDE,!1;case Xr:case Kr:return n=Yr.CLOSEST_CORNER,!1;case jr:return n=Yr.FARTHEST_CORNER,!1}else if(Hn(r)||kn(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return e}),o)}if(o){var s=cr(e);r.push(s)}})),{size:n,shape:t,stops:r,position:i,type:ar.RADIAL_GRADIENT}},Wr=function(e){var t=Jr.CIRCLE,n=Yr.FARTHEST_CORNER,r=[],i=[];return Sn(e).forEach((function(e,A){var o=!0;if(0===A?o=e.reduce((function(e,t){if(Qn(t))switch(t.value){case"center":return i.push(Tn),!1;case"top":case"left":return i.push(On),!1;case"right":case"bottom":return i.push(Pn),!1}else if(kn(t)||Hn(t))return i.push(t),!1;return e}),o):1===A&&(o=e.reduce((function(e,r){if(Qn(r))switch(r.value){case zr:return t=Jr.CIRCLE,!1;case Vr:return t=Jr.ELLIPSE,!1;case Xr:case Mr:return n=Yr.CLOSEST_SIDE,!1;case Dr:return n=Yr.FARTHEST_SIDE,!1;case Kr:return n=Yr.CLOSEST_CORNER,!1;case qr:case jr:return n=Yr.FARTHEST_CORNER,!1}else if(Hn(r)||kn(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return e}),o)),o){var a=cr(e);r.push(a)}})),{size:n,shape:t,stops:r,position:i,type:ar.RADIAL_GRADIENT}};!function(e){e[e.URL=0]="URL",e[e.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",e[e.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(ar||(ar={}));var Jr,Yr,$r=function(e){return e.type===ar.LINEAR_GRADIENT},Zr=function(e){return e.type===ar.RADIAL_GRADIENT};(function(e){e[e.CIRCLE=0]="CIRCLE",e[e.ELLIPSE=1]="ELLIPSE"})(Jr||(Jr={})),function(e){e[e.CLOSEST_SIDE=0]="CLOSEST_SIDE",e[e.FARTHEST_SIDE=1]="FARTHEST_SIDE",e[e.CLOSEST_CORNER=2]="CLOSEST_CORNER",e[e.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(Yr||(Yr={}));var ei={name:"image",parse:function(e){if(e.type===h.URL_TOKEN){var t={url:e.value,type:ar.URL};return xr.getInstance().addImage(e.value),t}if(e.type===h.FUNCTION){var n=ri[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(e.values)}throw new Error("Unsupported image type")}};function ti(e){return e.type!==h.FUNCTION||ri[e.name]}var ni,ri={"linear-gradient":wr,"-moz-linear-gradient":mr,"-ms-linear-gradient":mr,"-o-linear-gradient":mr,"-webkit-linear-gradient":mr,"radial-gradient":Gr,"-moz-radial-gradient":Wr,"-ms-radial-gradient":Wr,"-o-radial-gradient":Wr,"-webkit-radial-gradient":Wr,"-webkit-gradient":Rr},ii={name:"background-image",initialValue:"none",type:nr.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e.filter((function(e){return Ln(e)&&ti(e)})).map(ei.parse)}},Ai={name:"background-origin",initialValue:"border-box",prefix:!1,type:nr.LIST,parse:function(e){return e.map((function(e){if(Qn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},oi={name:"background-position",initialValue:"0% 0%",type:nr.LIST,prefix:!1,parse:function(e){return Sn(e).map((function(e){return e.filter(kn)})).map(In)}};!function(e){e[e.REPEAT=0]="REPEAT",e[e.NO_REPEAT=1]="NO_REPEAT",e[e.REPEAT_X=2]="REPEAT_X",e[e.REPEAT_Y=3]="REPEAT_Y"}(ni||(ni={}));var ai,si={name:"background-repeat",initialValue:"repeat",prefix:!1,type:nr.LIST,parse:function(e){return Sn(e).map((function(e){return e.filter(Qn).map((function(e){return e.value})).join(" ")})).map(ui)}},ui=function(e){switch(e){case"no-repeat":return ni.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ni.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ni.REPEAT_Y;case"repeat":default:return ni.REPEAT}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(ai||(ai={}));var ci,li={name:"background-size",initialValue:"0",prefix:!1,type:nr.LIST,parse:function(e){return Sn(e).map((function(e){return e.filter(fi)}))}},fi=function(e){return Qn(e)||kn(e)},hi=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:nr.TYPE_VALUE,format:"color"}},di=hi("top"),pi=hi("right"),gi=hi("bottom"),wi=hi("left"),mi=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:nr.LIST,parse:function(e){return In(e.filter(kn))}}},Bi=mi("top-left"),vi=mi("top-right"),bi=mi("bottom-right"),yi=mi("bottom-left");!function(e){e[e.NONE=0]="NONE",e[e.SOLID=1]="SOLID",e[e.DASHED=2]="DASHED",e[e.DOTTED=3]="DOTTED",e[e.DOUBLE=4]="DOUBLE"}(ci||(ci={}));var Ci,Ei=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"none":return ci.NONE;case"dashed":return ci.DASHED;case"dotted":return ci.DOTTED;case"double":return ci.DOUBLE}return ci.SOLID}}},Ni=Ei("top"),Qi=Ei("right"),Fi=Ei("bottom"),Ui=Ei("left"),xi=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:nr.VALUE,prefix:!1,parse:function(e){return En(e)?e.number:0}}},Li=xi("top"),Si=xi("right"),_i=xi("bottom"),Hi=xi("left"),ki={name:"color",initialValue:"transparent",prefix:!1,type:nr.TYPE_VALUE,format:"color"},Ii={name:"display",initialValue:"inline-block",prefix:!1,type:nr.LIST,parse:function(e){return e.filter(Qn).reduce((function(e,t){return e|Oi(t.value)}),0)}},Oi=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(e){e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.INLINE_START=3]="INLINE_START",e[e.INLINE_END=4]="INLINE_END"}(Ci||(Ci={}));var Ti,Pi={name:"float",initialValue:"none",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"left":return Ci.LEFT;case"right":return Ci.RIGHT;case"inline-start":return Ci.INLINE_START;case"inline-end":return Ci.INLINE_END}return Ci.NONE}},Ri={name:"letter-spacing",initialValue:"0",prefix:!1,type:nr.VALUE,parse:function(e){return e.type===h.IDENT_TOKEN&&"normal"===e.value?0:e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN?e.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Ti||(Ti={}));var Mi,Di={name:"line-break",initialValue:"normal",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"strict":return Ti.STRICT;case"normal":default:return Ti.NORMAL}}},Ki={name:"line-height",initialValue:"normal",prefix:!1,type:nr.TOKEN_VALUE},ji=function(e,t){return Qn(e)&&"normal"===e.value?1.2*t:e.type===h.NUMBER_TOKEN?t*e.number:kn(e)?Mn(e,t):t},zi={name:"list-style-image",initialValue:"none",type:nr.VALUE,prefix:!1,parse:function(e){return e.type===h.IDENT_TOKEN&&"none"===e.value?null:ei.parse(e)}};!function(e){e[e.INSIDE=0]="INSIDE",e[e.OUTSIDE=1]="OUTSIDE"}(Mi||(Mi={}));var Vi,qi={name:"list-style-position",initialValue:"outside",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"inside":return Mi.INSIDE;case"outside":default:return Mi.OUTSIDE}}};!function(e){e[e.NONE=-1]="NONE",e[e.DISC=0]="DISC",e[e.CIRCLE=1]="CIRCLE",e[e.SQUARE=2]="SQUARE",e[e.DECIMAL=3]="DECIMAL",e[e.CJK_DECIMAL=4]="CJK_DECIMAL",e[e.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",e[e.LOWER_ROMAN=6]="LOWER_ROMAN",e[e.UPPER_ROMAN=7]="UPPER_ROMAN",e[e.LOWER_GREEK=8]="LOWER_GREEK",e[e.LOWER_ALPHA=9]="LOWER_ALPHA",e[e.UPPER_ALPHA=10]="UPPER_ALPHA",e[e.ARABIC_INDIC=11]="ARABIC_INDIC",e[e.ARMENIAN=12]="ARMENIAN",e[e.BENGALI=13]="BENGALI",e[e.CAMBODIAN=14]="CAMBODIAN",e[e.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",e[e.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",e[e.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",e[e.DEVANAGARI=18]="DEVANAGARI",e[e.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",e[e.GEORGIAN=20]="GEORGIAN",e[e.GUJARATI=21]="GUJARATI",e[e.GURMUKHI=22]="GURMUKHI",e[e.HEBREW=22]="HEBREW",e[e.HIRAGANA=23]="HIRAGANA",e[e.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",e[e.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",e[e.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",e[e.KANNADA=27]="KANNADA",e[e.KATAKANA=28]="KATAKANA",e[e.KATAKANA_IROHA=29]="KATAKANA_IROHA",e[e.KHMER=30]="KHMER",e[e.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",e[e.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",e[e.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",e[e.LAO=34]="LAO",e[e.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",e[e.MALAYALAM=36]="MALAYALAM",e[e.MONGOLIAN=37]="MONGOLIAN",e[e.MYANMAR=38]="MYANMAR",e[e.ORIYA=39]="ORIYA",e[e.PERSIAN=40]="PERSIAN",e[e.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",e[e.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",e[e.TAMIL=43]="TAMIL",e[e.TELUGU=44]="TELUGU",e[e.THAI=45]="THAI",e[e.TIBETAN=46]="TIBETAN",e[e.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",e[e.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",e[e.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",e[e.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",e[e.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(Vi||(Vi={}));var Xi,Gi={name:"list-style-type",initialValue:"none",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"disc":return Vi.DISC;case"circle":return Vi.CIRCLE;case"square":return Vi.SQUARE;case"decimal":return Vi.DECIMAL;case"cjk-decimal":return Vi.CJK_DECIMAL;case"decimal-leading-zero":return Vi.DECIMAL_LEADING_ZERO;case"lower-roman":return Vi.LOWER_ROMAN;case"upper-roman":return Vi.UPPER_ROMAN;case"lower-greek":return Vi.LOWER_GREEK;case"lower-alpha":return Vi.LOWER_ALPHA;case"upper-alpha":return Vi.UPPER_ALPHA;case"arabic-indic":return Vi.ARABIC_INDIC;case"armenian":return Vi.ARMENIAN;case"bengali":return Vi.BENGALI;case"cambodian":return Vi.CAMBODIAN;case"cjk-earthly-branch":return Vi.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Vi.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Vi.CJK_IDEOGRAPHIC;case"devanagari":return Vi.DEVANAGARI;case"ethiopic-numeric":return Vi.ETHIOPIC_NUMERIC;case"georgian":return Vi.GEORGIAN;case"gujarati":return Vi.GUJARATI;case"gurmukhi":return Vi.GURMUKHI;case"hebrew":return Vi.HEBREW;case"hiragana":return Vi.HIRAGANA;case"hiragana-iroha":return Vi.HIRAGANA_IROHA;case"japanese-formal":return Vi.JAPANESE_FORMAL;case"japanese-informal":return Vi.JAPANESE_INFORMAL;case"kannada":return Vi.KANNADA;case"katakana":return Vi.KATAKANA;case"katakana-iroha":return Vi.KATAKANA_IROHA;case"khmer":return Vi.KHMER;case"korean-hangul-formal":return Vi.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Vi.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Vi.KOREAN_HANJA_INFORMAL;case"lao":return Vi.LAO;case"lower-armenian":return Vi.LOWER_ARMENIAN;case"malayalam":return Vi.MALAYALAM;case"mongolian":return Vi.MONGOLIAN;case"myanmar":return Vi.MYANMAR;case"oriya":return Vi.ORIYA;case"persian":return Vi.PERSIAN;case"simp-chinese-formal":return Vi.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Vi.SIMP_CHINESE_INFORMAL;case"tamil":return Vi.TAMIL;case"telugu":return Vi.TELUGU;case"thai":return Vi.THAI;case"tibetan":return Vi.TIBETAN;case"trad-chinese-formal":return Vi.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Vi.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Vi.UPPER_ARMENIAN;case"disclosure-open":return Vi.DISCLOSURE_OPEN;case"disclosure-closed":return Vi.DISCLOSURE_CLOSED;case"none":default:return Vi.NONE}}},Wi=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:nr.TOKEN_VALUE}},Ji=Wi("top"),Yi=Wi("right"),$i=Wi("bottom"),Zi=Wi("left");!function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.SCROLL=2]="SCROLL",e[e.AUTO=3]="AUTO"}(Xi||(Xi={}));var eA,tA={name:"overflow",initialValue:"visible",prefix:!1,type:nr.LIST,parse:function(e){return e.filter(Qn).map((function(e){switch(e.value){case"hidden":return Xi.HIDDEN;case"scroll":return Xi.SCROLL;case"auto":return Xi.AUTO;case"visible":default:return Xi.VISIBLE}}))}};!function(e){e.NORMAL="normal",e.BREAK_WORD="break-word"}(eA||(eA={}));var nA,rA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"break-word":return eA.BREAK_WORD;case"normal":default:return eA.NORMAL}}},iA=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:nr.TYPE_VALUE,format:"length-percentage"}},AA=iA("top"),oA=iA("right"),aA=iA("bottom"),sA=iA("left");!function(e){e[e.LEFT=0]="LEFT",e[e.CENTER=1]="CENTER",e[e.RIGHT=2]="RIGHT"}(nA||(nA={}));var uA,cA={name:"text-align",initialValue:"left",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"right":return nA.RIGHT;case"center":case"justify":return nA.CENTER;case"left":default:return nA.LEFT}}};!function(e){e[e.STATIC=0]="STATIC",e[e.RELATIVE=1]="RELATIVE",e[e.ABSOLUTE=2]="ABSOLUTE",e[e.FIXED=3]="FIXED",e[e.STICKY=4]="STICKY"}(uA||(uA={}));var lA,fA={name:"position",initialValue:"static",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"relative":return uA.RELATIVE;case"absolute":return uA.ABSOLUTE;case"fixed":return uA.FIXED;case"sticky":return uA.STICKY}return uA.STATIC}},hA={name:"text-shadow",initialValue:"none",type:nr.LIST,prefix:!1,parse:function(e){return 1===e.length&&Un(e[0],"none")?[]:Sn(e).map((function(e){for(var t={color:or.TRANSPARENT,offsetX:On,offsetY:On,blur:On},n=0,r=0;r<e.length;r++){var i=e[r];Hn(i)?(0===n?t.offsetX=i:1===n?t.offsetY=i:t.blur=i,n++):t.color=Wn.parse(i)}return t}))}};!function(e){e[e.NONE=0]="NONE",e[e.LOWERCASE=1]="LOWERCASE",e[e.UPPERCASE=2]="UPPERCASE",e[e.CAPITALIZE=3]="CAPITALIZE"}(lA||(lA={}));var dA,pA={name:"text-transform",initialValue:"none",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"uppercase":return lA.UPPERCASE;case"lowercase":return lA.LOWERCASE;case"capitalize":return lA.CAPITALIZE}return lA.NONE}},gA={name:"transform",initialValue:"none",prefix:!0,type:nr.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN&&"none"===e.value)return null;if(e.type===h.FUNCTION){var t=wA[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},wA={matrix:function(e){var t=e.filter((function(e){return e.type===h.NUMBER_TOKEN})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return e.type===h.NUMBER_TOKEN})).map((function(e){return e.number})),n=t[0],r=t[1],i=(t[2],t[3],t[4]),A=t[5],o=(t[6],t[7],t[8],t[9],t[10],t[11],t[12]),a=t[13];return t[14],t[15],16===t.length?[n,r,i,A,o,a]:null}},mA={type:h.PERCENTAGE_TOKEN,number:50,flags:Pe},BA=[mA,mA],vA={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:nr.LIST,parse:function(e){var t=e.filter(kn);return 2!==t.length?BA:[t[0],t[1]]}};!function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.COLLAPSE=2]="COLLAPSE"}(dA||(dA={}));var bA,yA={name:"visible",initialValue:"none",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"hidden":return dA.HIDDEN;case"collapse":return dA.COLLAPSE;case"visible":default:return dA.VISIBLE}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(bA||(bA={}));var CA,EA={name:"word-break",initialValue:"normal",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"break-all":return bA.BREAK_ALL;case"keep-all":return bA.KEEP_ALL;case"normal":default:return bA.NORMAL}}},NA={name:"z-index",initialValue:"auto",prefix:!1,type:nr.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN)return{auto:!0,order:0};if(Nn(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},QA={name:"opacity",initialValue:"1",type:nr.VALUE,prefix:!1,parse:function(e){return Nn(e)?e.number:1}},FA={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:nr.TYPE_VALUE,format:"color"},UA={name:"text-decoration-line",initialValue:"none",prefix:!1,type:nr.LIST,parse:function(e){return e.filter(Qn).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},xA={name:"font-family",initialValue:"",prefix:!1,type:nr.LIST,parse:function(e){var t=[],n=[];return e.forEach((function(e){switch(e.type){case h.IDENT_TOKEN:case h.STRING_TOKEN:t.push(e.value);break;case h.NUMBER_TOKEN:t.push(e.number.toString());break;case h.COMMA_TOKEN:n.push(t.join(" ")),t.length=0}})),t.length&&n.push(t.join(" ")),n.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},LA={name:"font-size",initialValue:"0",prefix:!1,type:nr.TYPE_VALUE,format:"length"},SA={name:"font-weight",initialValue:"normal",type:nr.VALUE,prefix:!1,parse:function(e){if(Nn(e))return e.number;if(Qn(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},_A={name:"font-variant",initialValue:"none",type:nr.LIST,prefix:!1,parse:function(e){return e.filter(Qn).map((function(e){return e.value}))}};!function(e){e.NORMAL="normal",e.ITALIC="italic",e.OBLIQUE="oblique"}(CA||(CA={}));var HA,kA={name:"font-style",initialValue:"normal",prefix:!1,type:nr.IDENT_VALUE,parse:function(e){switch(e){case"oblique":return CA.OBLIQUE;case"italic":return CA.ITALIC;case"normal":default:return CA.NORMAL}}},IA=function(e,t){return 0!==(e&t)},OA={name:"content",initialValue:"none",type:nr.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e}},TA={name:"counter-increment",initialValue:"none",prefix:!0,type:nr.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;for(var n=[],r=e.filter(xn),i=0;i<r.length;i++){var A=r[i],o=r[i+1];if(A.type===h.IDENT_TOKEN){var a=o&&Nn(o)?o.number:1;n.push({counter:A.value,increment:a})}}return n}},PA={name:"counter-reset",initialValue:"none",prefix:!0,type:nr.LIST,parse:function(e){if(0===e.length)return[];for(var t=[],n=e.filter(xn),r=0;r<n.length;r++){var i=n[r],A=n[r+1];if(Qn(i)&&"none"!==i.value){var o=A&&Nn(A)?A.number:0;t.push({counter:i.value,reset:o})}}return t}},RA={name:"quotes",initialValue:"none",prefix:!0,type:nr.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;var n=[],r=e.filter(Fn);if(r.length%2!==0)return null;for(var i=0;i<r.length;i+=2){var A=r[i].value,o=r[i+1].value;n.push({open:A,close:o})}return n}},MA=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},DA={name:"box-shadow",initialValue:"none",type:nr.LIST,prefix:!1,parse:function(e){return 1===e.length&&Un(e[0],"none")?[]:Sn(e).map((function(e){for(var t={color:255,offsetX:On,offsetY:On,blur:On,spread:On,inset:!1},n=0,r=0;r<e.length;r++){var i=e[r];Un(i,"inset")?t.inset=!0:Hn(i)?(0===n?t.offsetX=i:1===n?t.offsetY=i:2===n?t.blur=i:t.spread=i,n++):t.color=Wn.parse(i)}return t}))}},KA=function(){function e(e){this.backgroundClip=VA(sr,e.backgroundClip),this.backgroundColor=VA(ur,e.backgroundColor),this.backgroundImage=VA(ii,e.backgroundImage),this.backgroundOrigin=VA(Ai,e.backgroundOrigin),this.backgroundPosition=VA(oi,e.backgroundPosition),this.backgroundRepeat=VA(si,e.backgroundRepeat),this.backgroundSize=VA(li,e.backgroundSize),this.borderTopColor=VA(di,e.borderTopColor),this.borderRightColor=VA(pi,e.borderRightColor),this.borderBottomColor=VA(gi,e.borderBottomColor),this.borderLeftColor=VA(wi,e.borderLeftColor),this.borderTopLeftRadius=VA(Bi,e.borderTopLeftRadius),this.borderTopRightRadius=VA(vi,e.borderTopRightRadius),this.borderBottomRightRadius=VA(bi,e.borderBottomRightRadius),this.borderBottomLeftRadius=VA(yi,e.borderBottomLeftRadius),this.borderTopStyle=VA(Ni,e.borderTopStyle),this.borderRightStyle=VA(Qi,e.borderRightStyle),this.borderBottomStyle=VA(Fi,e.borderBottomStyle),this.borderLeftStyle=VA(Ui,e.borderLeftStyle),this.borderTopWidth=VA(Li,e.borderTopWidth),this.borderRightWidth=VA(Si,e.borderRightWidth),this.borderBottomWidth=VA(_i,e.borderBottomWidth),this.borderLeftWidth=VA(Hi,e.borderLeftWidth),this.boxShadow=VA(DA,e.boxShadow),this.color=VA(ki,e.color),this.display=VA(Ii,e.display),this.float=VA(Pi,e.cssFloat),this.fontFamily=VA(xA,e.fontFamily),this.fontSize=VA(LA,e.fontSize),this.fontStyle=VA(kA,e.fontStyle),this.fontVariant=VA(_A,e.fontVariant),this.fontWeight=VA(SA,e.fontWeight),this.letterSpacing=VA(Ri,e.letterSpacing),this.lineBreak=VA(Di,e.lineBreak),this.lineHeight=VA(Ki,e.lineHeight),this.listStyleImage=VA(zi,e.listStyleImage),this.listStylePosition=VA(qi,e.listStylePosition),this.listStyleType=VA(Gi,e.listStyleType),this.marginTop=VA(Ji,e.marginTop),this.marginRight=VA(Yi,e.marginRight),this.marginBottom=VA($i,e.marginBottom),this.marginLeft=VA(Zi,e.marginLeft),this.opacity=VA(QA,e.opacity);var t=VA(tA,e.overflow);this.overflowX=t[0],this.overflowY=t[t.length>1?1:0],this.overflowWrap=VA(rA,e.overflowWrap),this.paddingTop=VA(AA,e.paddingTop),this.paddingRight=VA(oA,e.paddingRight),this.paddingBottom=VA(aA,e.paddingBottom),this.paddingLeft=VA(sA,e.paddingLeft),this.position=VA(fA,e.position),this.textAlign=VA(cA,e.textAlign),this.textDecorationColor=VA(FA,e.textDecorationColor||e.color),this.textDecorationLine=VA(UA,e.textDecorationLine),this.textShadow=VA(hA,e.textShadow),this.textTransform=VA(pA,e.textTransform),this.transform=VA(gA,e.transform),this.transformOrigin=VA(vA,e.transformOrigin),this.visibility=VA(yA,e.visibility),this.wordBreak=VA(EA,e.wordBreak),this.zIndex=VA(NA,e.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===dA.VISIBLE},e.prototype.isTransparent=function(){return Jn(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return this.position!==uA.STATIC},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==Ci.NONE},e.prototype.isInlineLevel=function(){return IA(this.display,4)||IA(this.display,33554432)||IA(this.display,268435456)||IA(this.display,536870912)||IA(this.display,67108864)||IA(this.display,134217728)},e}(),jA=function(){function e(e){this.content=VA(OA,e.content),this.quotes=VA(RA,e.quotes)}return e}(),zA=function(){function e(e){this.counterIncrement=VA(TA,e.counterIncrement),this.counterReset=VA(PA,e.counterReset)}return e}(),VA=function(e,t){var n=new yn,r=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;n.write(r);var i=new Cn(n.read());switch(e.type){case nr.IDENT_VALUE:var A=i.parseComponentValue();return e.parse(Qn(A)?A.value:e.initialValue);case nr.VALUE:return e.parse(i.parseComponentValue());case nr.LIST:return e.parse(i.parseComponentValues());case nr.TOKEN_VALUE:return i.parseComponentValue();case nr.TYPE_VALUE:switch(e.format){case"angle":return Vn.parse(i.parseComponentValue());case"color":return Wn.parse(i.parseComponentValue());case"image":return ei.parse(i.parseComponentValue());case"length":var o=i.parseComponentValue();return Hn(o)?o:On;case"length-percentage":var a=i.parseComponentValue();return kn(a)?a:On}}throw new Error("Attempting to parse unsupported css format type "+e.format)},qA=function(){function e(e){this.styles=new KA(window.getComputedStyle(e,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&Lo(e)&&(e.style.transform="none"),this.bounds=o(e),this.flags=0}return e}(),XA=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),GA=function(e,t,n){var r=YA(e,t),i=[],A=0;return r.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Fr.SUPPORT_RANGE_BOUNDS)i.push(new XA(e,JA(n,A,e.length)));else{var r=n.splitText(e.length);i.push(new XA(e,WA(n))),n=r}else Fr.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));A+=e.length})),i},WA=function(e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var i=o(n);return n.firstChild&&r.replaceChild(n.firstChild,n),i}}return new A(0,0,0,0)},JA=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),A.fromClientRect(i.getBoundingClientRect())},YA=function(e,t){return 0!==t.letterSpacing?s(e).map((function(e){return u(e)})):$A(e,t)},$A=function(e,t){for(var n,r=Ie(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===eA.BREAK_WORD?"break-word":t.wordBreak}),i=[];!(n=r.next()).done;)n.value&&i.push(n.value.slice());return i},ZA=function(){function e(e,t){this.text=eo(e.data,t.textTransform),this.textBounds=GA(this.text,t,e)}return e}(),eo=function(e,t){switch(t){case lA.LOWERCASE:return e.toLowerCase();case lA.CAPITALIZE:return e.replace(to,no);case lA.UPPERCASE:return e.toUpperCase();default:return e}},to=/(^|\s|:|-|\(|\))([a-z])/g,no=function(e,t,n){return e.length>0?t+n.toUpperCase():e},ro=function(e){function n(t){var n=e.call(this,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,xr.getInstance().addImage(n.src),n}return t(n,e),n}(qA),io=function(e){function n(t){var n=e.call(this,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return t(n,e),n}(qA),Ao=function(e){function n(t){var n=e.call(this,t)||this,r=new XMLSerializer;return n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,xr.getInstance().addImage(n.svg),n}return t(n,e),n}(qA),oo=function(e){function n(t){var n=e.call(this,t)||this;return n.value=t.value,n}return t(n,e),n}(qA),ao=function(e){function n(t){var n=e.call(this,t)||this;return n.start=t.start,n.reversed="boolean"===typeof t.reversed&&!0===t.reversed,n}return t(n,e),n}(qA),so=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],uo=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],co=function(e){return e.width>e.height?new A(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new A(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},lo=function(e){var t=e.type===po?new Array(e.value.length+1).join("\u2022"):e.value;return 0===t.length?e.placeholder||"":t},fo="checkbox",ho="radio",po="password",go=707406591,wo=function(e){function n(t){var n=e.call(this,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=lo(t),n.type!==fo&&n.type!==ho||(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=ci.SOLID,n.styles.backgroundClip=[rr.BORDER_BOX],n.styles.backgroundOrigin=[0],n.bounds=co(n.bounds)),n.type){case fo:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=so;break;case ho:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=uo}return n}return t(n,e),n}(qA),mo=function(e){function n(t){var n=e.call(this,t)||this,r=t.options[t.selectedIndex||0];return n.value=r&&r.text||"",n}return t(n,e),n}(qA),Bo=function(e){function n(t){var n=e.call(this,t)||this;return n.value=t.value,n}return t(n,e),n}(qA),vo=function(e){return Wn.parse(Cn.create(e).parseComponentValue())},bo=function(e){function n(t){var n=e.call(this,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=No(t.contentWindow.document.documentElement);var r=t.contentWindow.document.documentElement?vo(getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):or.TRANSPARENT,i=t.contentWindow.document.body?vo(getComputedStyle(t.contentWindow.document.body).backgroundColor):or.TRANSPARENT;n.backgroundColor=Jn(r)?Jn(i)?n.styles.backgroundColor:i:r}}catch(Lt){}return n}return t(n,e),n}(qA),yo=["OL","UL","MENU"],Co=function e(t,n,r){for(var i=t.firstChild,A=void 0;i;i=A)if(A=i.nextSibling,Uo(i)&&i.data.trim().length>0)n.textNodes.push(new ZA(i,n.styles));else if(xo(i)){var o=Eo(i);o.styles.isVisible()&&(Qo(i,o,r)?o.flags|=4:Fo(o.styles)&&(o.flags|=2),-1!==yo.indexOf(i.tagName)&&(o.flags|=8),n.elements.push(o),jo(i)||Oo(i)||zo(i)||e(i,o,r))}},Eo=function(e){return Ro(e)?new ro(e):Po(e)?new io(e):Oo(e)?new Ao(e):_o(e)?new oo(e):Ho(e)?new ao(e):ko(e)?new wo(e):zo(e)?new mo(e):jo(e)?new Bo(e):Mo(e)?new bo(e):new qA(e)},No=function(e){var t=Eo(e);return t.flags|=4,Co(e,t,t),t},Qo=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||To(e)&&n.styles.isTransparent()},Fo=function(e){return e.isPositioned()||e.isFloating()},Uo=function(e){return e.nodeType===Node.TEXT_NODE},xo=function(e){return e.nodeType===Node.ELEMENT_NODE},Lo=function(e){return xo(e)&&"undefined"!==typeof e.style&&!So(e)},So=function(e){return"object"===typeof e.className},_o=function(e){return"LI"===e.tagName},Ho=function(e){return"OL"===e.tagName},ko=function(e){return"INPUT"===e.tagName},Io=function(e){return"HTML"===e.tagName},Oo=function(e){return"svg"===e.tagName},To=function(e){return"BODY"===e.tagName},Po=function(e){return"CANVAS"===e.tagName},Ro=function(e){return"IMG"===e.tagName},Mo=function(e){return"IFRAME"===e.tagName},Do=function(e){return"STYLE"===e.tagName},Ko=function(e){return"SCRIPT"===e.tagName},jo=function(e){return"TEXTAREA"===e.tagName},zo=function(e){return"SELECT"===e.tagName},Vo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n[Math.max(0,n.length-1)]+=e.increment)}));var A=[];return i&&r.forEach((function(e){var n=t.counters[e.counter];A.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),A},e}(),qo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Xo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Wo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Jo=function(e,t,n,r,i,A){return e<t||e>n?ua(e,i,A.length>0):r.integers.reduce((function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t}),"")+A},Yo=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},$o=function(e,t,n,r,i){var A=n-t+1;return(e<0?"-":"")+(Yo(Math.abs(e),A,r,(function(e){return u(Math.floor(e%A)+t)}))+i)},Zo=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Yo(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},ea=1,ta=2,na=4,ra=8,ia=function(e,t,n,r,i,A){if(e<-9999||e>9999)return ua(e,Vi.CJK_DECIMAL,i.length>0);var o=Math.abs(e),a=i;if(0===o)return t[0]+a;for(var s=0;o>0&&s<=4;s++){var u=o%10;0===u&&IA(A,ea)&&""!==a?a=t[u]+a:u>1||1===u&&0===s||1===u&&1===s&&IA(A,ta)||1===u&&1===s&&IA(A,na)&&e>100||1===u&&s>1&&IA(A,ra)?a=t[u]+(s>0?n[s-1]:"")+a:1===u&&s>0&&(a=n[s-1]+a),o=Math.floor(o/10)}return(e<0?r:"")+a},Aa="\u5341\u767e\u5343\u842c",oa="\u62fe\u4f70\u4edf\u842c",aa="\u30de\u30a4\u30ca\u30b9",sa="\ub9c8\uc774\ub108\uc2a4",ua=function(e,t,n){var r=n?". ":"",i=n?"\u3001":"",A=n?", ":"",o=n?" ":"";switch(t){case Vi.DISC:return"\u2022"+o;case Vi.CIRCLE:return"\u25e6"+o;case Vi.SQUARE:return"\u25fe"+o;case Vi.DECIMAL_LEADING_ZERO:var a=$o(e,48,57,!0,r);return a.length<4?"0"+a:a;case Vi.CJK_DECIMAL:return Zo(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",i);case Vi.LOWER_ROMAN:return Jo(e,1,3999,qo,Vi.DECIMAL,r).toLowerCase();case Vi.UPPER_ROMAN:return Jo(e,1,3999,qo,Vi.DECIMAL,r);case Vi.LOWER_GREEK:return $o(e,945,969,!1,r);case Vi.LOWER_ALPHA:return $o(e,97,122,!1,r);case Vi.UPPER_ALPHA:return $o(e,65,90,!1,r);case Vi.ARABIC_INDIC:return $o(e,1632,1641,!0,r);case Vi.ARMENIAN:case Vi.UPPER_ARMENIAN:return Jo(e,1,9999,Xo,Vi.DECIMAL,r);case Vi.LOWER_ARMENIAN:return Jo(e,1,9999,Xo,Vi.DECIMAL,r).toLowerCase();case Vi.BENGALI:return $o(e,2534,2543,!0,r);case Vi.CAMBODIAN:case Vi.KHMER:return $o(e,6112,6121,!0,r);case Vi.CJK_EARTHLY_BRANCH:return Zo(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",i);case Vi.CJK_HEAVENLY_STEM:return Zo(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",i);case Vi.CJK_IDEOGRAPHIC:case Vi.TRAD_CHINESE_INFORMAL:return ia(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Aa,"\u8ca0",i,ta|na|ra);case Vi.TRAD_CHINESE_FORMAL:return ia(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",oa,"\u8ca0",i,ea|ta|na|ra);case Vi.SIMP_CHINESE_INFORMAL:return ia(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Aa,"\u8d1f",i,ta|na|ra);case Vi.SIMP_CHINESE_FORMAL:return ia(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",oa,"\u8d1f",i,ea|ta|na|ra);case Vi.JAPANESE_INFORMAL:return ia(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",aa,i,0);case Vi.JAPANESE_FORMAL:return ia(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",aa,i,ea|ta|na);case Vi.KOREAN_HANGUL_FORMAL:return ia(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",sa,A,ea|ta|na);case Vi.KOREAN_HANJA_INFORMAL:return ia(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",sa,A,0);case Vi.KOREAN_HANJA_FORMAL:return ia(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",sa,A,ea|ta|na);case Vi.DEVANAGARI:return $o(e,2406,2415,!0,r);case Vi.GEORGIAN:return Jo(e,1,19999,Wo,Vi.DECIMAL,r);case Vi.GUJARATI:return $o(e,2790,2799,!0,r);case Vi.GURMUKHI:return $o(e,2662,2671,!0,r);case Vi.HEBREW:return Jo(e,1,10999,Go,Vi.DECIMAL,r);case Vi.HIRAGANA:return Zo(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case Vi.HIRAGANA_IROHA:return Zo(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case Vi.KANNADA:return $o(e,3302,3311,!0,r);case Vi.KATAKANA:return Zo(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",i);case Vi.KATAKANA_IROHA:return Zo(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",i);case Vi.LAO:return $o(e,3792,3801,!0,r);case Vi.MONGOLIAN:return $o(e,6160,6169,!0,r);case Vi.MYANMAR:return $o(e,4160,4169,!0,r);case Vi.ORIYA:return $o(e,2918,2927,!0,r);case Vi.PERSIAN:return $o(e,1776,1785,!0,r);case Vi.TAMIL:return $o(e,3046,3055,!0,r);case Vi.TELUGU:return $o(e,3174,3183,!0,r);case Vi.THAI:return $o(e,3664,3673,!0,r);case Vi.TIBETAN:return $o(e,3872,3881,!0,r);case Vi.DECIMAL:default:return $o(e,48,57,!0,r)}},ca="data-html2canvas-ignore",la=function(){function e(e,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Vo,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement)}return e.prototype.toIFrame=function(e,t){var n=this,A=ha(e,t);if(!A.contentWindow)return Promise.reject("Unable to find iframe window");var o=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,s=A.contentWindow,u=s.document,c=da(A).then((function(){return r(n,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(ma),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(u.documentElement.style.top=-t.top+"px",u.documentElement.style.left=-t.left+"px",u.documentElement.style.position="absolute")),e=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(u)})).then((function(){return A}))]:[2,A]}}))}))}));return u.open(),u.write(ga(document.doctype)+"<html></html>"),wa(this.referenceElement.ownerDocument,o,a),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},e.prototype.createElementClone=function(e){if(Po(e))return this.createCanvasClone(e);if(Do(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Ro(t)&&"lazy"===t.loading&&(t.loading="eager"),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(Lt){if(Ur.getInstance(this.options.id).error("Unable to access cssRules property",Lt),"SecurityError"!==Lt.name)throw Lt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){if(this.options.inlineImages&&e.ownerDocument){var t=e.ownerDocument.createElement("img");try{return t.src=e.toDataURL(),t}catch(Lt){Ur.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var r=e.getContext("2d"),i=n.getContext("2d");return i&&(r?i.putImageData(r.getImageData(0,0,e.width,e.height),0,0):i.drawImage(e,0,0)),n}catch(Lt){}return n},e.prototype.cloneNode=function(e){if(Uo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var t=e.ownerDocument.defaultView;if(t&&xo(e)&&(Lo(e)||So(e))){var n=this.createElementClone(e),r=t.getComputedStyle(e),i=t.getComputedStyle(e,":before"),A=t.getComputedStyle(e,":after");this.referenceElement===e&&Lo(n)&&(this.clonedReferenceElement=n),To(n)&&Ea(n);for(var o=this.counters.parse(new zA(r)),a=this.resolvePseudoContent(e,n,i,HA.BEFORE),s=e.firstChild;s;s=s.nextSibling)xo(s)&&(Ko(s)||s.hasAttribute(ca)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.options.copyStyles&&xo(s)&&Do(s)||n.appendChild(this.cloneNode(s));a&&n.insertBefore(a,n.firstChild);var u=this.resolvePseudoContent(e,n,A,HA.AFTER);return u&&n.appendChild(u),this.counters.pop(o),r&&(this.options.copyStyles||So(e))&&!Mo(e)&&pa(r,n),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(jo(e)||zo(e))&&(jo(n)||zo(n))&&(n.value=e.value),n}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var A=n.content,o=t.ownerDocument;if(o&&A&&"none"!==A&&"-moz-alt-content"!==A&&"none"!==n.display){this.counters.parse(new zA(n));var a=new jA(n),s=o.createElement("html2canvaspseudoelement");pa(n,s),a.content.forEach((function(t){if(t.type===h.STRING_TOKEN)s.appendChild(o.createTextNode(t.value));else if(t.type===h.URL_TOKEN){var n=o.createElement("img");n.src=t.value,n.style.opacity="1",s.appendChild(n)}else if(t.type===h.FUNCTION){if("attr"===t.name){var r=t.values.filter(Qn);r.length&&s.appendChild(o.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var A=t.values.filter(Ln),u=A[0],c=A[1];if(u&&Qn(u)){var l=i.counters.getCounterValue(u.value),f=c&&Qn(c)?Gi.parse(c.value):Vi.DECIMAL;s.appendChild(o.createTextNode(ua(l,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(Ln),p=(u=d[0],d[1]);if(c=d[2],u&&Qn(u)){var g=i.counters.getCounterValues(u.value),w=c&&Qn(c)?Gi.parse(c.value):Vi.DECIMAL,m=p&&p.type===h.STRING_TOKEN?p.value:"",B=g.map((function(e){return ua(e,w,!1)})).join(m);s.appendChild(o.createTextNode(B))}}}else if(t.type===h.IDENT_TOKEN)switch(t.value){case"open-quote":s.appendChild(o.createTextNode(MA(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":s.appendChild(o.createTextNode(MA(a.quotes,--i.quoteDepth,!1)));break;default:s.appendChild(o.createTextNode(t.value))}})),s.className=ba+" "+ya;var u=r===HA.BEFORE?" "+ba:" "+ya;return So(t)?t.className.baseValue+=u:t.className+=u,s}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(HA||(HA={}));var fa,ha=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(ca,"true"),e.body.appendChild(n),n},da=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=i.onreadystatechange=function(){r.onload=e.onload=i.onreadystatechange=null;var n=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))}),50)}}))},pa=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);"content"!==r&&t.style.setProperty(r,e.getPropertyValue(r))}return t},ga=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},wa=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},ma=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},Ba=":before",va=":after",ba="___html2canvas___pseudoelement_before",ya="___html2canvas___pseudoelement_after",Ca='{\n    content: "" !important;\n    display: none !important;\n}',Ea=function(e){Na(e,"."+ba+Ba+Ca+"\n         ."+ya+va+Ca)},Na=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}};!function(e){e[e.VECTOR=0]="VECTOR",e[e.BEZIER_CURVE=1]="BEZIER_CURVE"}(fa||(fa={}));var Qa,Fa=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},Ua=function(e,t,n,r,i){return e.map((function(e,A){switch(A){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e}))},xa=function(){function e(e,t){this.type=fa.VECTOR,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),La=function(e,t,n){return new xa(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Sa=function(){function e(e,t,n,r){this.type=fa.BEZIER_CURVE,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=La(this.start,this.startControl,t),i=La(this.startControl,this.endControl,t),A=La(this.endControl,this.end,t),o=La(r,i,t),a=La(i,A,t),s=La(o,a,t);return n?new e(this.start,r,o,s):new e(s,a,A,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),_a=function(e){return e.type===fa.BEZIER_CURVE},Ha=function(){function e(e){var t=e.styles,n=e.bounds,r=Rn(t.borderTopLeftRadius,n.width,n.height),i=r[0],A=r[1],o=Rn(t.borderTopRightRadius,n.width,n.height),a=o[0],s=o[1],u=Rn(t.borderBottomRightRadius,n.width,n.height),c=u[0],l=u[1],f=Rn(t.borderBottomLeftRadius,n.width,n.height),h=f[0],d=f[1],p=[];p.push((i+a)/n.width),p.push((h+c)/n.width),p.push((A+d)/n.height),p.push((s+l)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,A/=g,a/=g,s/=g,c/=g,l/=g,h/=g,d/=g);var w=n.width-a,m=n.height-l,B=n.width-c,v=n.height-d,b=t.borderTopWidth,y=t.borderRightWidth,C=t.borderBottomWidth,E=t.borderLeftWidth,N=Mn(t.paddingTop,e.bounds.width),Q=Mn(t.paddingRight,e.bounds.width),F=Mn(t.paddingBottom,e.bounds.width),U=Mn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||A>0?ka(n.left+E/3,n.top+b/3,i-E/3,A-b/3,Qa.TOP_LEFT):new xa(n.left+E/3,n.top+b/3),this.topRightBorderDoubleOuterBox=i>0||A>0?ka(n.left+w,n.top+b/3,a-y/3,s-b/3,Qa.TOP_RIGHT):new xa(n.left+n.width-y/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=c>0||l>0?ka(n.left+B,n.top+m,c-y/3,l-C/3,Qa.BOTTOM_RIGHT):new xa(n.left+n.width-y/3,n.top+n.height-C/3),this.bottomLeftBorderDoubleOuterBox=h>0||d>0?ka(n.left+E/3,n.top+v,h-E/3,d-C/3,Qa.BOTTOM_LEFT):new xa(n.left+E/3,n.top+n.height-C/3),this.topLeftBorderDoubleInnerBox=i>0||A>0?ka(n.left+2*E/3,n.top+2*b/3,i-2*E/3,A-2*b/3,Qa.TOP_LEFT):new xa(n.left+2*E/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=i>0||A>0?ka(n.left+w,n.top+2*b/3,a-2*y/3,s-2*b/3,Qa.TOP_RIGHT):new xa(n.left+n.width-2*y/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=c>0||l>0?ka(n.left+B,n.top+m,c-2*y/3,l-2*C/3,Qa.BOTTOM_RIGHT):new xa(n.left+n.width-2*y/3,n.top+n.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=h>0||d>0?ka(n.left+2*E/3,n.top+v,h-2*E/3,d-2*C/3,Qa.BOTTOM_LEFT):new xa(n.left+2*E/3,n.top+n.height-2*C/3),this.topLeftBorderStroke=i>0||A>0?ka(n.left+E/2,n.top+b/2,i-E/2,A-b/2,Qa.TOP_LEFT):new xa(n.left+E/2,n.top+b/2),this.topRightBorderStroke=i>0||A>0?ka(n.left+w,n.top+b/2,a-y/2,s-b/2,Qa.TOP_RIGHT):new xa(n.left+n.width-y/2,n.top+b/2),this.bottomRightBorderStroke=c>0||l>0?ka(n.left+B,n.top+m,c-y/2,l-C/2,Qa.BOTTOM_RIGHT):new xa(n.left+n.width-y/2,n.top+n.height-C/2),this.bottomLeftBorderStroke=h>0||d>0?ka(n.left+E/2,n.top+v,h-E/2,d-C/2,Qa.BOTTOM_LEFT):new xa(n.left+E/2,n.top+n.height-C/2),this.topLeftBorderBox=i>0||A>0?ka(n.left,n.top,i,A,Qa.TOP_LEFT):new xa(n.left,n.top),this.topRightBorderBox=a>0||s>0?ka(n.left+w,n.top,a,s,Qa.TOP_RIGHT):new xa(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||l>0?ka(n.left+B,n.top+m,c,l,Qa.BOTTOM_RIGHT):new xa(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=h>0||d>0?ka(n.left,n.top+v,h,d,Qa.BOTTOM_LEFT):new xa(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||A>0?ka(n.left+E,n.top+b,Math.max(0,i-E),Math.max(0,A-b),Qa.TOP_LEFT):new xa(n.left+E,n.top+b),this.topRightPaddingBox=a>0||s>0?ka(n.left+Math.min(w,n.width-y),n.top+b,w>n.width+y?0:Math.max(0,a-y),Math.max(0,s-b),Qa.TOP_RIGHT):new xa(n.left+n.width-y,n.top+b),this.bottomRightPaddingBox=c>0||l>0?ka(n.left+Math.min(B,n.width-E),n.top+Math.min(m,n.height-C),Math.max(0,c-y),Math.max(0,l-C),Qa.BOTTOM_RIGHT):new xa(n.left+n.width-y,n.top+n.height-C),this.bottomLeftPaddingBox=h>0||d>0?ka(n.left+E,n.top+Math.min(v,n.height-C),Math.max(0,h-E),Math.max(0,d-C),Qa.BOTTOM_LEFT):new xa(n.left+E,n.top+n.height-C),this.topLeftContentBox=i>0||A>0?ka(n.left+E+U,n.top+b+N,Math.max(0,i-(E+U)),Math.max(0,A-(b+N)),Qa.TOP_LEFT):new xa(n.left+E+U,n.top+b+N),this.topRightContentBox=a>0||s>0?ka(n.left+Math.min(w,n.width+E+U),n.top+b+N,w>n.width+E+U?0:a-E+U,s-(b+N),Qa.TOP_RIGHT):new xa(n.left+n.width-(y+Q),n.top+b+N),this.bottomRightContentBox=c>0||l>0?ka(n.left+Math.min(B,n.width-(E+U)),n.top+Math.min(m,n.height+b+N),Math.max(0,c-(y+Q)),l-(C+F),Qa.BOTTOM_RIGHT):new xa(n.left+n.width-(y+Q),n.top+n.height-(C+F)),this.bottomLeftContentBox=h>0||d>0?ka(n.left+E+U,n.top+v,Math.max(0,h-(E+U)),d-(C+F),Qa.BOTTOM_LEFT):new xa(n.left+E+U,n.top+n.height-(C+F))}return e}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Qa||(Qa={}));var ka=function(e,t,n,r,i){var A=(Math.sqrt(2)-1)/3*4,o=n*A,a=r*A,s=e+n,u=t+r;switch(i){case Qa.TOP_LEFT:return new Sa(new xa(e,u),new xa(e,u-a),new xa(s-o,t),new xa(s,t));case Qa.TOP_RIGHT:return new Sa(new xa(e,t),new xa(e+o,t),new xa(s,u-a),new xa(s,u));case Qa.BOTTOM_RIGHT:return new Sa(new xa(s,t),new xa(s,t+a),new xa(e+o,u),new xa(e,u));case Qa.BOTTOM_LEFT:default:return new Sa(new xa(s,u),new xa(s-o,u),new xa(e,t+a),new xa(e,t))}},Ia=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Oa=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Ta=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Pa=function(){function e(e,t,n){this.type=0,this.target=6,this.offsetX=e,this.offsetY=t,this.matrix=n}return e}(),Ra=function(){function e(e,t){this.type=1,this.target=t,this.path=e}return e}(),Ma=function(){function e(e){this.type=2,this.target=6,this.opacity=e}return e}(),Da=function(e){return 0===e.type},Ka=function(e){return 1===e.type},ja=function(e){return 2===e.type},za=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),Va=function(){function e(e,t){if(this.container=e,this.effects=t.slice(0),this.curves=new Ha(e),e.styles.opacity<1&&this.effects.push(new Ma(e.styles.opacity)),null!==e.styles.transform){var n=e.bounds.left+e.styles.transformOrigin[0].number,r=e.bounds.top+e.styles.transformOrigin[1].number,i=e.styles.transform;this.effects.push(new Pa(n,r,i))}if(e.styles.overflowX!==Xi.VISIBLE){var A=Ia(this.curves),o=Ta(this.curves);Fa(A,o)?this.effects.push(new Ra(A,6)):(this.effects.push(new Ra(A,2)),this.effects.push(new Ra(o,4)))}}return e.prototype.getParentEffects=function(){var e=this.effects.slice(0);if(this.container.styles.overflowX!==Xi.VISIBLE){var t=Ia(this.curves),n=Ta(this.curves);Fa(t,n)||e.push(new Ra(n,6))}return e},e}(),qa=function e(t,n,r,i){t.container.elements.forEach((function(A){var o=IA(A.flags,4),a=IA(A.flags,2),s=new Va(A,t.getParentEffects());IA(A.styles.display,2048)&&i.push(s);var u=IA(A.flags,8)?[]:i;if(o||a){var c=o||A.styles.isPositioned()?r:n,l=new za(s);if(A.styles.isPositioned()||A.styles.opacity<1||A.styles.isTransformed()){var f=A.styles.zIndex.order;if(f<0){var h=0;c.negativeZIndex.some((function(e,t){return f>e.element.container.styles.zIndex.order?(h=t,!1):h>0})),c.negativeZIndex.splice(h,0,l)}else if(f>0){var d=0;c.positiveZIndex.some((function(e,t){return f>=e.element.container.styles.zIndex.order?(d=t+1,!1):d>0})),c.positiveZIndex.splice(d,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else A.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);e(s,l,o?l:r,u)}else A.styles.isInlineLevel()?n.inlineLevel.push(s):n.nonInlineLevel.push(s),e(s,n,r,u);IA(A.flags,8)&&Xa(A,u)}))},Xa=function(e,t){for(var n=e instanceof ao?e.start:1,r=e instanceof ao&&e.reversed,i=0;i<t.length;i++){var A=t[i];A.container instanceof oo&&"number"===typeof A.container.value&&0!==A.container.value&&(n=A.container.value),A.listValue=ua(n,A.container.styles.listStyleType,!0),n+=r?-1:1}},Ga=function(e){var t=new Va(e,[]),n=new za(t),r=[];return qa(t,n,n,r),Xa(t.container,r),n},Wa=function(e,t){switch(t){case 0:return es(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return es(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return es(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return es(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Ja=function(e,t){switch(t){case 0:return es(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return es(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return es(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return es(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Ya=function(e,t){switch(t){case 0:return es(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return es(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return es(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return es(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},$a=function(e,t){switch(t){case 0:return Za(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Za(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Za(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Za(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Za=function(e,t){var n=[];return _a(e)?n.push(e.subdivide(.5,!1)):n.push(e),_a(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},es=function(e,t,n,r){var i=[];return _a(e)?i.push(e.subdivide(.5,!1)):i.push(e),_a(n)?i.push(n.subdivide(.5,!0)):i.push(n),_a(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),_a(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},ts=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},ns=function(e){var t=e.styles,n=e.bounds,r=Mn(t.paddingLeft,n.width),i=Mn(t.paddingRight,n.width),A=Mn(t.paddingTop,n.width),o=Mn(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,A+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+A+o))},rs=function(e,t){return 0===e?t.bounds:2===e?ns(t):ts(t)},is=function(e,t){return e===rr.BORDER_BOX?t.bounds:e===rr.CONTENT_BOX?ns(t):ts(t)},As=function(e,t,n){var r=rs(us(e.styles.backgroundOrigin,t),e),i=is(us(e.styles.backgroundClip,t),e),A=ss(us(e.styles.backgroundSize,t),n,r),o=A[0],a=A[1],s=Rn(us(e.styles.backgroundPosition,t),r.width-o,r.height-a);return[cs(us(e.styles.backgroundRepeat,t),s,A,r,i),Math.round(r.left+s[0]),Math.round(r.top+s[1]),o,a]},os=function(e){return Qn(e)&&e.value===ai.AUTO},as=function(e){return"number"===typeof e},ss=function(e,t,n){var r=t[0],i=t[1],A=t[2],o=e[0],a=e[1];if(kn(o)&&a&&kn(a))return[Mn(o,n.width),Mn(a,n.height)];var s=as(A);if(Qn(o)&&(o.value===ai.CONTAIN||o.value===ai.COVER))return as(A)?n.width/n.height<A!==(o.value===ai.COVER)?[n.width,n.width/A]:[n.height*A,n.height]:[n.width,n.height];var u=as(r),c=as(i),l=u||c;if(os(o)&&(!a||os(a)))return u&&c?[r,i]:s||l?l&&s?[u?r:i*A,c?i:r/A]:[u?r:n.width,c?i:n.height]:[n.width,n.height];if(s){var f=0,h=0;return kn(o)?f=Mn(o,n.width):kn(a)&&(h=Mn(a,n.height)),os(o)?f=h*A:a&&!os(a)||(h=f/A),[f,h]}var d=null,p=null;if(kn(o)?d=Mn(o,n.width):a&&kn(a)&&(p=Mn(a,n.height)),null===d||a&&!os(a)||(p=u&&c?d/r*i:n.height),null!==p&&os(o)&&(d=u&&c?p/i*r:n.width),null!==d&&null!==p)return[d,p];throw new Error("Unable to calculate background-size for element")},us=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n},cs=function(e,t,n,r,i){var A=t[0],o=t[1],a=n[0],s=n[1];switch(e){case ni.REPEAT_X:return[new xa(Math.round(r.left),Math.round(r.top+o)),new xa(Math.round(r.left+r.width),Math.round(r.top+o)),new xa(Math.round(r.left+r.width),Math.round(s+r.top+o)),new xa(Math.round(r.left),Math.round(s+r.top+o))];case ni.REPEAT_Y:return[new xa(Math.round(r.left+A),Math.round(r.top)),new xa(Math.round(r.left+A+a),Math.round(r.top)),new xa(Math.round(r.left+A+a),Math.round(r.height+r.top)),new xa(Math.round(r.left+A),Math.round(r.height+r.top))];case ni.NO_REPEAT:return[new xa(Math.round(r.left+A),Math.round(r.top+o)),new xa(Math.round(r.left+A+a),Math.round(r.top+o)),new xa(Math.round(r.left+A+a),Math.round(r.top+o+s)),new xa(Math.round(r.left+A),Math.round(r.top+o+s))];default:return[new xa(Math.round(i.left),Math.round(i.top)),new xa(Math.round(i.left+i.width),Math.round(i.top)),new xa(Math.round(i.left+i.width),Math.round(i.height+i.top)),new xa(Math.round(i.left),Math.round(i.height+i.top))]}},ls="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fs="Hidden Text",hs=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),A=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",A.appendChild(n),r.src=ls,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(fs)),n.appendChild(i),n.appendChild(r);var o=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(fs)),n.style.lineHeight="normal",r.style.verticalAlign="super";var a=r.offsetTop-n.offsetTop+2;return A.removeChild(n),{baseline:o,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),ds=1e4,ps=function(){function e(e){this._activeEffects=[],this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px"),this.fontMetrics=new hs(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],Ur.getInstance(e.id).debug("Canvas renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.applyEffects=function(e,t){for(var n=this;this._activeEffects.length;)this.popEffect();e.filter((function(e){return IA(e.target,t)})).forEach((function(e){return n.applyEffect(e)}))},e.prototype.applyEffect=function(e){this.ctx.save(),ja(e)&&(this.ctx.globalAlpha=e.opacity),Da(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Ka(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},e.prototype.renderTextWithLetterSpacing=function(e,t){var n=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height):s(e.text).map((function(e){return u(e)})).reduce((function(t,r){return n.ctx.fillText(r,t,e.bounds.top+e.bounds.height),t+n.ctx.measureText(r).width}),e.bounds.left)},e.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=e.fontFamily.join(", "),r=En(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},e.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,A,o,a=this;return i(this,(function(i){return n=this.createFontStyle(t),r=n[0],A=n[1],o=n[2],this.ctx.font=r,e.textBounds.forEach((function(e){a.ctx.fillStyle=Yn(t.color),a.renderTextWithLetterSpacing(e,t.letterSpacing);var n=t.textShadow;n.length&&e.text.trim().length&&(n.slice(0).reverse().forEach((function(t){a.ctx.shadowColor=Yn(t.color),a.ctx.shadowOffsetX=t.offsetX.number*a.options.scale,a.ctx.shadowOffsetY=t.offsetY.number*a.options.scale,a.ctx.shadowBlur=t.blur.number,a.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height)})),a.ctx.shadowColor="",a.ctx.shadowOffsetX=0,a.ctx.shadowOffsetY=0,a.ctx.shadowBlur=0),t.textDecorationLine.length&&(a.ctx.fillStyle=Yn(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:var n=a.fontMetrics.getMetrics(A,o).baseline;a.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+n),e.bounds.width,1);break;case 2:a.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:var r=a.fontMetrics.getMetrics(A,o).middle;a.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+r),e.bounds.width,1)}})))})),[2]}))}))},e.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=ns(e),i=Ta(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return r(this,void 0,void 0,(function(){var n,r,o,a,s,u,c,l,f,h,d,p,g,w;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),n=t.container,r=t.curves,o=n.styles,a=0,s=n.textNodes,i.label=1;case 1:return a<s.length?(u=s[a],[4,this.renderTextNode(u,o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return a++,[3,1];case 4:if(!(n instanceof ro))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.options.cache.match(n.src)];case 6:return p=i.sent(),this.renderReplacedElement(n,r,p),[3,8];case 7:return i.sent(),Ur.getInstance(this.options.id).error("Error loading image "+n.src),[3,8];case 8:if(n instanceof io&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof Ao))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.options.cache.match(n.svg)];case 10:return p=i.sent(),this.renderReplacedElement(n,r,p),[3,12];case 11:return i.sent(),Ur.getInstance(this.options.id).error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof bo&&n.tree?[4,new e({id:this.options.id,scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:n.width,height:n.height,cache:this.options.cache,windowWidth:n.width,windowHeight:n.height}).render(n.tree)]:[3,14];case 13:c=i.sent(),n.width&&n.height&&this.ctx.drawImage(c,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),i.label=14;case 14:if(n instanceof wo&&(l=Math.min(n.bounds.width,n.bounds.height),n.type===fo?n.checked&&(this.ctx.save(),this.path([new xa(n.bounds.left+.39363*l,n.bounds.top+.79*l),new xa(n.bounds.left+.16*l,n.bounds.top+.5549*l),new xa(n.bounds.left+.27347*l,n.bounds.top+.44071*l),new xa(n.bounds.left+.39694*l,n.bounds.top+.5649*l),new xa(n.bounds.left+.72983*l,n.bounds.top+.23*l),new xa(n.bounds.left+.84*l,n.bounds.top+.34085*l),new xa(n.bounds.left+.39363*l,n.bounds.top+.79*l)]),this.ctx.fillStyle=Yn(go),this.ctx.fill(),this.ctx.restore()):n.type===ho&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+l/2,n.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=Yn(go),this.ctx.fill(),this.ctx.restore())),gs(n)&&n.value.length){switch(this.ctx.font=this.createFontStyle(o)[0],this.ctx.fillStyle=Yn(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign=ms(n.styles.textAlign),w=ns(n),f=0,n.styles.textAlign){case nA.CENTER:f+=w.width/2;break;case nA.RIGHT:f+=w.width}h=w.add(f,0,0,-w.height/2+1),this.ctx.save(),this.path([new xa(w.left,w.top),new xa(w.left+w.width,w.top),new xa(w.left+w.width,w.top+w.height),new xa(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new XA(n.value,h),o.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!IA(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if((d=n.styles.listStyleImage).type!==ar.URL)return[3,18];p=void 0,g=d.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.options.cache.match(g)];case 16:return p=i.sent(),this.ctx.drawImage(p,n.bounds.left-(p.width+10),n.bounds.top),[3,18];case 17:return i.sent(),Ur.getInstance(this.options.id).error("Error loading list-style-image "+g),[3,18];case 18:return[3,20];case 19:t.listValue&&n.styles.listStyleType!==Vi.NONE&&(this.ctx.font=this.createFontStyle(o)[0],this.ctx.fillStyle=Yn(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new A(n.bounds.left,n.bounds.top+Mn(n.styles.paddingTop,n.bounds.width),n.bounds.width,ji(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new XA(t.listValue,w),o.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},e.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,A,o,a,s,u,c,l,f,h,d,p,g;return i(this,(function(i){switch(i.label){case 0:return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,n=e.negativeZIndex,i.label=2;case 2:return t<n.length?(g=n[t],[4,this.renderStack(g)]):[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),r=0,A=e.nonInlineLevel,i.label=7;case 7:return r<A.length?(g=A[r],[4,this.renderNode(g)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:o=0,a=e.nonPositionedFloats,i.label=11;case 11:return o<a.length?(g=a[o],[4,this.renderStack(g)]):[3,14];case 12:i.sent(),i.label=13;case 13:return o++,[3,11];case 14:s=0,u=e.nonPositionedInlineLevel,i.label=15;case 15:return s<u.length?(g=u[s],[4,this.renderStack(g)]):[3,18];case 16:i.sent(),i.label=17;case 17:return s++,[3,15];case 18:c=0,l=e.inlineLevel,i.label=19;case 19:return c<l.length?(g=l[c],[4,this.renderNode(g)]):[3,22];case 20:i.sent(),i.label=21;case 21:return c++,[3,19];case 22:f=0,h=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return f<h.length?(g=h[f],[4,this.renderStack(g)]):[3,26];case 24:i.sent(),i.label=25;case 25:return f++,[3,23];case 26:d=0,p=e.positiveZIndex,i.label=27;case 27:return d<p.length?(g=p[d],[4,this.renderStack(g)]):[3,30];case 28:i.sent(),i.label=29;case 29:return d++,[3,27];case 30:return[2]}}))}))},e.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},e.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=_a(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),_a(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},e.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},e.prototype.resizeImage=function(e,t,n){if(e.width===t&&e.height===n)return e;var r=this.canvas.ownerDocument.createElement("canvas");return r.width=t,r.height=n,r.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),r},e.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,A,o,a;return i(this,(function(s){switch(s.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var A,o,a,s,u,c,l,f,h,d,p,g,w,m,B,v,b,y,C,E,N,Q,F,U,x,L,S,_,H,k,I;return i(this,(function(i){switch(i.label){case 0:if(n.type!==ar.URL)return[3,5];A=void 0,o=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.options.cache.match(o)];case 2:return A=i.sent(),[3,4];case 3:return i.sent(),Ur.getInstance(r.options.id).error("Error loading background-image "+o),[3,4];case 4:return A&&(a=As(e,t,[A.width,A.height,A.width/A.height]),v=a[0],Q=a[1],F=a[2],C=a[3],E=a[4],m=r.ctx.createPattern(r.resizeImage(A,C,E),"repeat"),r.renderRepeat(v,m,Q,F)),[3,6];case 5:$r(n)?(s=As(e,t,[null,null,null]),v=s[0],Q=s[1],F=s[2],C=s[3],E=s[4],u=hr(n.angle,C,E),c=u[0],l=u[1],f=u[2],h=u[3],d=u[4],(p=document.createElement("canvas")).width=C,p.height=E,g=p.getContext("2d"),w=g.createLinearGradient(l,h,f,d),lr(n.stops,c).forEach((function(e){return w.addColorStop(e.stop,Yn(e.color))})),g.fillStyle=w,g.fillRect(0,0,C,E),C>0&&E>0&&(m=r.ctx.createPattern(p,"repeat"),r.renderRepeat(v,m,Q,F))):Zr(n)&&(B=As(e,t,[null,null,null]),v=B[0],b=B[1],y=B[2],C=B[3],E=B[4],N=0===n.position.length?[Tn]:n.position,Q=Mn(N[0],C),F=Mn(N[N.length-1],E),U=gr(n,Q,F,C,E),x=U[0],L=U[1],x>0&&x>0&&(S=r.ctx.createRadialGradient(b+Q,y+F,0,b+Q,y+F,x),lr(n.stops,2*x).forEach((function(e){return S.addColorStop(e.stop,Yn(e.color))})),r.path(v),r.ctx.fillStyle=S,x!==L?(_=e.bounds.left+.5*e.bounds.width,H=e.bounds.top+.5*e.bounds.height,I=1/(k=L/x),r.ctx.save(),r.ctx.translate(_,H),r.ctx.transform(1,0,0,k,0,0),r.ctx.translate(-_,-H),r.ctx.fillRect(b,I*(y-H)+H,C,E*I),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},r=this,A=0,o=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return A<o.length?(a=o[A],[5,n(a)]):[3,4];case 2:s.sent(),s.label=3;case 3:return A++,[3,1];case 4:return[2]}}))}))},e.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return this.path(Wa(n,t)),this.ctx.fillStyle=Yn(e),this.ctx.fill(),[2]}))}))},e.prototype.renderDoubleBorder=function(e,t,n,A){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,A)]:[3,2];case 1:return i.sent(),[2];case 2:return r=Ja(A,n),this.path(r),this.ctx.fillStyle=Yn(e),this.ctx.fill(),o=Ya(A,n),this.path(o),this.ctx.fill(),[2]}}))}))},e.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,A,o,a,s,u,c=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(e.effects,2),t=e.container.styles,n=!Jn(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],A=ws(us(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(A),this.ctx.clip(),Jn(t.backgroundColor)||(this.ctx.fillStyle=Yn(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){c.ctx.save();var n=Ia(e.curves),r=t.inset?0:ds,i=Ua(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(c.path(n),c.ctx.clip(),c.mask(i)):(c.mask(n),c.ctx.clip(),c.path(i)),c.ctx.shadowOffsetX=t.offsetX.number+r,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=Yn(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?Yn(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),i.label=2;case 2:o=0,a=0,s=r,i.label=3;case 3:return a<s.length?(u=s[a]).style!==ci.NONE&&!Jn(u.color)&&u.width>0?u.style!==ci.DASHED?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,e.curves,ci.DASHED)]:[3,11]:[3,13];case 4:return i.sent(),[3,11];case 5:return u.style!==ci.DOTTED?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,e.curves,ci.DOTTED)];case 6:return i.sent(),[3,11];case 7:return u.style!==ci.DOUBLE?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,e.curves)];case 10:i.sent(),i.label=11;case 11:o++,i.label=12;case 12:return a++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(e,t,n,A,o){return r(this,void 0,void 0,(function(){var r,a,s,u,c,l,f,h,d,p,g,w,m,B,v,b;return i(this,(function(i){return this.ctx.save(),r=$a(A,n),a=Wa(A,n),o===ci.DASHED&&(this.path(a),this.ctx.clip()),_a(a[0])?(s=a[0].start.x,u=a[0].start.y):(s=a[0].x,u=a[0].y),_a(a[1])?(c=a[1].end.x,l=a[1].end.y):(c=a[1].x,l=a[1].y),f=0===n||2===n?Math.abs(s-c):Math.abs(u-l),this.ctx.beginPath(),o===ci.DOTTED?this.formatPath(r):this.formatPath(a.slice(0,2)),h=t<3?3*t:2*t,d=t<3?2*t:t,o===ci.DOTTED&&(h=t,d=t),p=!0,f<=2*h?p=!1:f<=2*h+d?(h*=g=f/(2*h+d),d*=g):(w=Math.floor((f+d)/(h+d)),m=(f-w*h)/(w-1),d=(B=(f-(w+1)*h)/w)<=0||Math.abs(d-m)<Math.abs(d-B)?m:B),p&&(o===ci.DOTTED?this.ctx.setLineDash([0,h+d]):this.ctx.setLineDash([h,d])),o===ci.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=Yn(e),this.ctx.stroke(),this.ctx.setLineDash([]),o===ci.DASHED&&(_a(a[0])&&(v=a[3],b=a[0],this.ctx.beginPath(),this.formatPath([new xa(v.end.x,v.end.y),new xa(b.start.x,b.start.y)]),this.ctx.stroke()),_a(a[1])&&(v=a[1],b=a[2],this.ctx.beginPath(),this.formatPath([new xa(v.end.x,v.end.y),new xa(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},e.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Yn(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),t=Ga(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([],2),[2,this.canvas]}}))}))},e}(),gs=function(e){return e instanceof Bo||e instanceof mo||e instanceof wo&&e.type!==ho&&e.type!==fo},ws=function(e,t){switch(e){case rr.BORDER_BOX:return Ia(t);case rr.CONTENT_BOX:return Oa(t);case rr.PADDING_BOX:default:return Ta(t)}},ms=function(e){switch(e){case nA.CENTER:return"center";case nA.RIGHT:return"right";case nA.LEFT:default:return"left"}},Bs=function(){function e(e){this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),Ur.getInstance(e.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return t=Nr(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,e),[4,vs(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Yn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},e}(),vs=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},bs=void 0,ys=function(e){return Wn.parse(Cn.create(e).parseComponentValue())},Cs=function(e,t){return void 0===t&&(t={}),Es(e,t)};"undefined"!==typeof window&&xr.setContext(window);var Es=function(e,t){return r(bs,void 0,void 0,(function(){var r,s,u,c,l,f,h,d,p,g,w,m,B,v,b,y,C,E,N,Q,F,U,x;return i(this,(function(i){switch(i.label){case 0:if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(s=r.defaultView))throw new Error("Document is not attached to a Window");return u=(Math.round(1e3*Math.random())+Date.now()).toString(16),c=To(e)||Io(e)?a(r):o(e),l=c.width,f=c.height,h=c.left,d=c.top,p=n({},{allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},t),g={backgroundColor:"#ffffff",cache:t.cache?t.cache:xr.create(u,p),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:s.devicePixelRatio||1,windowWidth:s.innerWidth,windowHeight:s.innerHeight,scrollX:s.pageXOffset,scrollY:s.pageYOffset,x:h,y:d,width:Math.ceil(l),height:Math.ceil(f),id:u},w=n({},g,p,t),m=new A(w.scrollX,w.scrollY,w.windowWidth,w.windowHeight),Ur.create({id:u,enabled:w.logging}),Ur.getInstance(u).debug("Starting document clone"),B=new la(e,{id:u,onclone:w.onclone,ignoreElements:w.ignoreElements,inlineImages:w.foreignObjectRendering,copyStyles:w.foreignObjectRendering}),(v=B.clonedReferenceElement)?[4,B.toIFrame(r,m)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return b=i.sent(),y=r.documentElement?ys(getComputedStyle(r.documentElement).backgroundColor):or.TRANSPARENT,C=r.body?ys(getComputedStyle(r.body).backgroundColor):or.TRANSPARENT,E=t.backgroundColor,N="string"===typeof E?ys(E):null===E?or.TRANSPARENT:4294967295,Q=e===r.documentElement?Jn(y)?Jn(C)?N:C:y:N,F={id:u,cache:w.cache,canvas:w.canvas,backgroundColor:Q,scale:w.scale,x:w.x,y:w.y,scrollX:w.scrollX,scrollY:w.scrollY,width:w.width,height:w.height,windowWidth:w.windowWidth,windowHeight:w.windowHeight},w.foreignObjectRendering?(Ur.getInstance(u).debug("Document cloned, using foreign object rendering"),[4,new Bs(F).render(v)]):[3,3];case 2:return U=i.sent(),[3,5];case 3:return Ur.getInstance(u).debug("Document cloned, using computed rendering"),xr.attachInstance(w.cache),Ur.getInstance(u).debug("Starting DOM parsing"),x=No(v),xr.detachInstance(),Q===x.styles.backgroundColor&&(x.styles.backgroundColor=or.TRANSPARENT),Ur.getInstance(u).debug("Starting renderer"),[4,new ps(F).render(x)];case 4:U=i.sent(),i.label=5;case 5:return!0===w.removeContainer&&(la.destroy(b)||Ur.getInstance(u).error("Cannot detach cloned iframe as it is not in the DOM anymore")),Ur.getInstance(u).debug("Finished rendering"),Ur.destroy(u),xr.destroy(u),[2,U]}}))}))};return Cs}()},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),A=n(11),o=n(16),a=n.n(o),s=1073741823,u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var l=i.a.createContext||function(e,t){var n,i,o="__create-react-context-"+function(){var e="__global_unique_id__";return u[e]=(u[e]||0)+1}()+"__",l=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(A.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((A=r)===(o=i)?0!==A||1/A===1/o:A!==A&&o!==o)?n=0:(n="function"===typeof t?t(r,i):s,0!==(n|=0)&&this.emitter.set(e.value,n))}var A,o},r.render=function(){return this.props.children},n}(r.Component);l.childContextTypes=((n={})[o]=a.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(A.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?s:t},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?s:e},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((i={})[o]=a.a.object,i),{Provider:l,Consumer:f}};t.a=l}).call(this,n(21))},function(e,t,n){var r=n(73);e.exports=h,e.exports.parse=A,e.exports.compile=function(e,t){return a(A(e,t),t)},e.exports.tokensToFunction=a,e.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function A(e,t){for(var n,r=[],A=0,o=0,a="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var l=n[0],f=n[1],h=n.index;if(a+=e.slice(o,h),o=h+l.length,f)a+=f[1];else{var d=e[o],p=n[2],g=n[3],w=n[4],m=n[5],B=n[6],v=n[7];a&&(r.push(a),a="");var b=null!=p&&null!=d&&d!==p,y="+"===B||"*"===B,C="?"===B||"*"===B,E=n[2]||c,N=w||m;r.push({name:g||A++,prefix:p||"",delimiter:E,optional:C,repeat:y,partial:b,asterisk:!!v,pattern:N?u(N):v?".*":"[^"+s(E)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&r.push(a),r}function o(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function a(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"===typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",l(t)));return function(t,i){for(var A="",a=t||{},s=(i||{}).pretty?o:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!==typeof c){var l,f=a[c.name];if(null==f){if(c.optional){c.partial&&(A+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(l=s(f[h]),!n[u].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");A+=(0===h?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');A+=c.prefix+l}}else A+=c}return A}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function l(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,A=!1!==n.end,o="",a=0;a<e.length;a++){var u=e[a];if("string"===typeof u)o+=s(u);else{var f=s(u.prefix),h="(?:"+u.pattern+")";t.push(u),u.repeat&&(h+="(?:"+f+h+")*"),o+=h=u.optional?u.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var d=s(n.delimiter||"/"),p=o.slice(-d.length)===d;return i||(o=(p?o.slice(0,-d.length):o)+"(?:"+d+"(?=$))?"),o+=A?"$":i&&p?"":"(?="+d+"|$)",c(new RegExp("^"+o,l(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(h(e[i],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",l(n)),t)}(e,t,n):function(e,t,n){return f(A(e,n),t,n)}(e,t,n)}},function(e,t){var n,r,i=e.exports={};function A(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===A||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:A}catch(e){n=A}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||c||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(9);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var A;if(n)A=n(t);else if(r.isURLSearchParams(t))A=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))})))})),A=o.join("&")}if(A){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+A}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(9),i=n(60),A={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(36)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){a.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){a.headers[e]=r.merge(A)})),e.exports=a}).call(this,n(31))},function(e,t,n){"use strict";var r=n(9),i=n(61),A=n(63),o=n(33),a=n(64),s=n(67),u=n(68),c=n(37);e.exports=function(e){return new Promise((function(t,n){var l=e.data,f=e.headers;r.isFormData(l)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(d+":"+p)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,A={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};i(t,n,A),h=null}},h.onabort=function(){h&&(n(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var w=(e.withCredentials||u(g))&&e.xsrfCookieName?A.read(e.xsrfCookieName):void 0;w&&(f[e.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(f,(function(e,t){"undefined"===typeof l&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(m){if("json"!==e.responseType)throw m}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),l||(l=null),h.send(l)}))}},function(e,t,n){"use strict";var r=n(62);e.exports=function(e,t,n,i,A){var o=new Error(e);return r(o,t,n,i,A)}},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],A=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=s(void 0,e[i])):n[i]=s(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),r.forEach(A,u),r.forEach(o,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=s(void 0,e[i])):n[i]=s(void 0,t[i])})),r.forEach(a,(function(r){r in t?n[r]=s(e[r],t[r]):r in e&&(n[r]=s(void 0,e[r]))}));var c=i.concat(A).concat(o).concat(a),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return r.forEach(l,u),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){(function(e){var r="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function A(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new A(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new A(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},A.prototype.unref=A.prototype.ref=function(){},A.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(74),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(21))},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var i=r();i.withExtraArgument=r,t.a=i},function(e,t,n){"use strict";var r=n(19).compose;t.__esModule=!0,t.composeWithDevTools="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?r:r.apply(null,arguments)},t.devToolsEnhancer="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var A=typeof r;if("string"===A||"number"===A)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===A)if(r.toString===Object.prototype.toString)for(var a in r)n.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="swal-button";t.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:r,CONFIRM_BUTTON:r+"--confirm",CANCEL_BUTTON:r+"--cancel",DANGER_BUTTON:r+"--danger",BUTTON_LOADING:r+"--loading",BUTTON_LOADER:r+"__loader"},t.default=t.CLASS_NAMES},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNode=function(e){var t="."+e;return document.querySelector(t)},t.stringToNode=function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild},t.insertAfter=function(e,t){var n=t.nextSibling;t.parentNode.insertBefore(e,n)},t.removeNode=function(e){e.parentElement.removeChild(e)},t.throwErr=function(e){throw"SweetAlert: "+(e=e.replace(/ +(?= )/g,"")).trim()},t.isPlainObject=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype},t.ordinalSuffixOf=function(e){var t=e%10,n=e%100;return 1===t&&11!==n?e+"st":2===t&&12!==n?e+"nd":3===t&&13!==n?e+"rd":e+"th"}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(25));var i=n(26);t.overlayMarkup=i.default,r(n(27)),r(n(28)),r(n(29));var A=n(0),o=A.default.MODAL_TITLE,a=A.default.MODAL_TEXT,s=A.default.ICON,u=A.default.FOOTER;t.iconMarkup='\n  <div class="'+s+'"></div>',t.titleMarkup='\n  <div class="'+o+'"></div>\n',t.textMarkup='\n  <div class="'+a+'"></div>',t.footerMarkup='\n  <div class="'+u+'"></div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.CONFIRM_KEY="confirm",t.CANCEL_KEY="cancel";var i={visible:!0,text:null,value:null,className:"",closeModal:!0},A=Object.assign({},i,{visible:!1,text:"Cancel",value:null}),o=Object.assign({},i,{text:"OK",value:!0});t.defaultButtonList={cancel:A,confirm:o};var a=function(e){switch(e){case t.CONFIRM_KEY:return o;case t.CANCEL_KEY:return A;default:var n=e.charAt(0).toUpperCase()+e.slice(1);return Object.assign({},i,{text:n,value:e})}},s=function(e,t){var n=a(e);return!0===t?Object.assign({},n,{visible:!0}):"string"==typeof t?Object.assign({},n,{visible:!0,text:t}):r.isPlainObject(t)?Object.assign({visible:!0},n,t):Object.assign({},n,{visible:!1})},u=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i],a=s(i,o);t[i]=a}return t.cancel||(t.cancel=A),t},c=function(e){var n={};switch(e.length){case 1:n[t.CANCEL_KEY]=Object.assign({},A,{visible:!1});break;case 2:n[t.CANCEL_KEY]=s(t.CANCEL_KEY,e[0]),n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e[1]);break;default:r.throwErr("Invalid number of 'buttons' in array ("+e.length+").\n      If you want more than 2 buttons, you need to use an object!")}return n};t.getButtonListOpts=function(e){var n=t.defaultButtonList;return"string"==typeof e?n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e):Array.isArray(e)?n=c(e):r.isPlainObject(e)?n=u(e):!0===e?n=c([!0,!0]):!1===e?n=c([!1,!1]):void 0===e&&(n=t.defaultButtonList),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(2),A=n(0),o=A.default.MODAL,a=A.default.OVERLAY,s=n(30),u=n(31),c=n(32),l=n(33);t.injectElIntoModal=function(e){var t=r.getNode(o),n=r.stringToNode(e);return t.appendChild(n),n};var f=function(e){e.className=o,e.textContent=""},h=function(e,t){f(e);var n=t.className;n&&e.classList.add(n)};t.initModalContent=function(e){var t=r.getNode(o);h(t,e),s.default(e.icon),u.initTitle(e.title),u.initText(e.text),l.default(e.content),c.default(e.buttons,e.dangerMode)};var d=function(){var e=r.getNode(a),t=r.stringToNode(i.modalMarkup);e.appendChild(t)};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i={isOpen:!1,promise:null,actions:{},timer:null},A=Object.assign({},i);t.resetState=function(){A=Object.assign({},i)},t.setActionValue=function(e){if("string"==typeof e)return o(r.CONFIRM_KEY,e);for(var t in e)o(t,e[t])};var o=function(e,t){A.actions[e]||(A.actions[e]={}),Object.assign(A.actions[e],{value:t})};t.setActionOptionsFor=function(e,t){var n=(void 0===t?{}:t).closeModal,r=void 0===n||n;Object.assign(A.actions[e],{closeModal:r})},t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),A=n(0),o=A.default.OVERLAY,a=A.default.SHOW_MODAL,s=A.default.BUTTON,u=A.default.BUTTON_LOADING,c=n(5);t.openModal=function(){r.getNode(o).classList.add(a),c.default.isOpen=!0};var l=function(){r.getNode(o).classList.remove(a),c.default.isOpen=!1};t.onAction=function(e){void 0===e&&(e=i.CANCEL_KEY);var t=c.default.actions[e],n=t.value;if(!1===t.closeModal){var A=s+"--"+e;r.getNode(A).classList.add(u)}else l();c.default.promise.resolve(n)},t.getState=function(){var e=Object.assign({},c.default);return delete e.promise,delete e.timer,e},t.stopLoading=function(){for(var e=document.querySelectorAll("."+s),t=0;t<e.length;t++)e[t].classList.remove(u)}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){e.exports=t.sweetAlert=n(9)}).call(t,n(7))},function(e,t,n){(function(t){e.exports=t.swal=n(10)}).call(t,n(7))},function(e,t,n){"undefined"!=typeof window&&n(11),n(16);var r=n(23).default;e.exports=r},function(e,t,n){var r=n(12);"string"==typeof r&&(r=[[e.i,r,""]]);var i={insertAt:"top",transform:void 0};n(14)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(13)(void 0)).push([e.i,'.swal-icon--error{border-color:#f27474;-webkit-animation:animateErrorIcon .5s;animation:animateErrorIcon .5s}.swal-icon--error__x-mark{position:relative;display:block;-webkit-animation:animateXMark .5s;animation:animateXMark .5s}.swal-icon--error__line{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal-icon--error__line--left{-webkit-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal-icon--error__line--right{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}@-webkit-keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal-icon--warning{border-color:#f8bb86;-webkit-animation:pulseWarning .75s infinite alternate;animation:pulseWarning .75s infinite alternate}.swal-icon--warning__body{width:5px;height:47px;top:10px;border-radius:2px;margin-left:-2px}.swal-icon--warning__body,.swal-icon--warning__dot{position:absolute;left:50%;background-color:#f8bb86}.swal-icon--warning__dot{width:7px;height:7px;border-radius:50%;margin-left:-4px;bottom:-11px}@-webkit-keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}@keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}.swal-icon--success{border-color:#a5dc86}.swal-icon--success:after,.swal-icon--success:before{content:"";border-radius:50%;position:absolute;width:60px;height:120px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal-icon--success:before{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;transform-origin:60px 60px}.swal-icon--success:after{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;transform-origin:0 60px;-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}.swal-icon--success__ring{width:80px;height:80px;border:4px solid hsla(98,55%,69%,.2);border-radius:50%;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal-icon--success__hide-corners{width:5px;height:90px;background-color:#fff;padding:1px;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal-icon--success__line{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal-icon--success__line--tip{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:animateSuccessTip .75s;animation:animateSuccessTip .75s}.swal-icon--success__line--long{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:animateSuccessLong .75s;animation:animateSuccessLong .75s}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@-webkit-keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}.swal-icon--info{border-color:#c9dae1}.swal-icon--info:before{width:5px;height:29px;bottom:17px;border-radius:2px;margin-left:-2px}.swal-icon--info:after,.swal-icon--info:before{content:"";position:absolute;left:50%;background-color:#c9dae1}.swal-icon--info:after{width:7px;height:7px;border-radius:50%;margin-left:-3px;top:19px}.swal-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.swal-icon:first-child{margin-top:32px}.swal-icon--custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.swal-icon img{max-width:100%;max-height:100%}.swal-title{color:rgba(0,0,0,.65);font-weight:600;text-transform:none;position:relative;display:block;padding:13px 16px;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.swal-title:first-child{margin-top:26px}.swal-title:not(:first-child){padding-bottom:0}.swal-title:not(:last-child){margin-bottom:13px}.swal-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:left;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:rgba(0,0,0,.64);max-width:calc(100% - 20px);overflow-wrap:break-word;box-sizing:border-box}.swal-text:first-child{margin-top:45px}.swal-text:last-child{margin-bottom:45px}.swal-footer{text-align:right;padding-top:13px;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.swal-button-container{margin:5px;display:inline-block;position:relative}.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}.swal-button:not([disabled]):hover{background-color:#78cbf2}.swal-button:active{background-color:#70bce0}.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}.swal-button[disabled]{opacity:.5;cursor:default}.swal-button::-moz-focus-inner{border:0}.swal-button--cancel{color:#555;background-color:#efefef}.swal-button--cancel:not([disabled]):hover{background-color:#e8e8e8}.swal-button--cancel:active{background-color:#d7d7d7}.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}.swal-button--danger{background-color:#e64942}.swal-button--danger:not([disabled]):hover{background-color:#df4740}.swal-button--danger:active{background-color:#cf423b}.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}.swal-content{padding:0 20px;margin-top:20px;font-size:medium}.swal-content:last-child{margin-bottom:20px}.swal-content__input,.swal-content__textarea{-webkit-appearance:none;background-color:#fff;border:none;font-size:14px;display:block;box-sizing:border-box;width:100%;border:1px solid rgba(0,0,0,.14);padding:10px 13px;border-radius:2px;transition:border-color .2s}.swal-content__input:focus,.swal-content__textarea:focus{outline:none;border-color:#6db8ff}.swal-content__textarea{resize:vertical}.swal-button--loading{color:transparent}.swal-button--loading~.swal-button__loader{opacity:1}.swal-button__loader{position:absolute;height:auto;width:43px;z-index:2;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);text-align:center;pointer-events:none;opacity:0}.swal-button__loader div{display:inline-block;float:none;vertical-align:baseline;width:9px;height:9px;padding:0;border:none;margin:2px;opacity:.4;border-radius:7px;background-color:hsla(0,0%,100%,.9);transition:background .2s;-webkit-animation:swal-loading-anim 1s infinite;animation:swal-loading-anim 1s infinite}.swal-button__loader div:nth-child(3n+2){-webkit-animation-delay:.15s;animation-delay:.15s}.swal-button__loader div:nth-child(3n+3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}.swal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;font-size:0;overflow-y:auto;background-color:rgba(0,0,0,.4);z-index:10000;pointer-events:none;opacity:0;transition:opacity .3s}.swal-overlay:before{content:" ";display:inline-block;vertical-align:middle;height:100%}.swal-overlay--show-modal{opacity:1;pointer-events:auto}.swal-overlay--show-modal .swal-modal{opacity:1;pointer-events:auto;box-sizing:border-box;-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s;will-change:transform}.swal-modal{width:478px;opacity:0;pointer-events:none;background-color:#fff;text-align:center;border-radius:5px;position:static;margin:20px auto;display:inline-block;vertical-align:middle;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;z-index:10001;transition:opacity .2s,-webkit-transform .3s;transition:transform .3s,opacity .2s;transition:transform .3s,opacity .2s,-webkit-transform .3s}@media (max-width:500px){.swal-modal{width:calc(100% - 20px)}}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}',""])},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var A=r(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([A]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var A=this[i][0];"number"==typeof A&&(r[A]=!0)}for(i=0;i<e.length;i++){var o=e[i];"number"==typeof o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=d[r.id];if(i){i.refs++;for(var A=0;A<i.parts.length;A++)i.parts[A](r.parts[A]);for(;A<r.parts.length;A++)i.parts.push(c(r.parts[A],t))}else{var o=[];for(A=0;A<r.parts.length;A++)o.push(c(r.parts[A],t));d[r.id]={id:r.id,refs:1,parts:o}}}}function i(e,t){for(var n=[],r={},i=0;i<e.length;i++){var A=e[i],o=t.base?A[0]+t.base:A[0],a={css:A[1],media:A[2],sourceMap:A[3]};r[o]?r[o].parts.push(a):n.push(r[o]={id:o,parts:[a]})}return n}function A(e,t){var n=g(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=B[B.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),B.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function o(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=B.indexOf(e);t>=0&&B.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",u(t,e.attrs),A(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",u(t,e.attrs),A(e,t),t}function u(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function c(e,t){var n,r,i,A;if(t.transform&&e.css){if(!(A=t.transform(e.css)))return function(){};e.css=A}if(t.singleton){var u=m++;n=w||(w=a(t)),r=l.bind(null,n,u,!1),i=l.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),r=h.bind(null,n,t),i=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=f.bind(null,n),i=function(){o(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function l(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var A=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(A,o[t]):e.appendChild(A)}}function f(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,A=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||A)&&(r=v(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var o=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}var d={},p=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}((function(){return window&&document&&document.all&&!window.atob})),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}((function(e){return document.querySelector(e)})),w=null,m=0,B=[],v=n(15);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=p()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var A=[],o=0;o<n.length;o++){var a=n[o];(s=d[a.id]).refs--,A.push(s)}for(e&&r(i(e,t),t),o=0;o<A.length;o++){var s;if(0===(s=A[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete d[s.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,A=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(A)?e:(i=0===A.indexOf("//")?A:0===A.indexOf("/")?n+A:r+A.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,n){var r=n(17);"undefined"==typeof window||window.Promise||(window.Promise=r),n(21),String.prototype.includes||(String.prototype.includes=function(e,t){"use strict";return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var i=0|t,A=Math.max(i>=0?i:r-Math.abs(i),0);A<r;){if(function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(n[A],e))return!0;A++}return!1}}),"undefined"!=typeof window&&[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(e,t,n){(function(t){!function(n){function r(){}function i(e,t){return function(){e.apply(t,arguments)}}function A(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,A._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void s(t.promise,e)}a(t.promise,r)}else(1===e._state?a:s)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof A)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void l(i(n,t),e)}e._state=1,e._value=t,u(e)}catch(t){s(e,t)}}function s(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&A._immediateFn((function(){e._handled||A._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function l(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,s(t,e))}))}catch(e){if(n)return;n=!0,s(t,e)}}var f=setTimeout;A.prototype.catch=function(e){return this.then(null,e)},A.prototype.then=function(e,t){var n=new this.constructor(r);return o(this,new c(e,t,n)),n},A.all=function(e){var t=Array.prototype.slice.call(e);return new A((function(e,n){function r(A,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var a=o.then;if("function"==typeof a)return void a.call(o,(function(e){r(A,e)}),n)}t[A]=o,0==--i&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var i=t.length,A=0;A<t.length;A++)r(A,t[A])}))},A.resolve=function(e){return e&&"object"==typeof e&&e.constructor===A?e:new A((function(t){t(e)}))},A.reject=function(e){return new A((function(t,n){n(e)}))},A.race=function(e){return new A((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},A._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){f(e,0)},A._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},A._setImmediateFn=function(e){A._immediateFn=e},A._setUnhandledRejectionFn=function(e){A._unhandledRejectionFn=e},void 0!==e&&e.exports?e.exports=A:n.Promise||(n.Promise=A)}(this)}).call(t,n(18).setImmediate)},function(e,r,i){function A(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;r.setTimeout=function(){return new A(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new A(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e&&e.close()},A.prototype.unref=A.prototype.ref=function(){},A.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},i(19),r.setImmediate=t,r.clearImmediate=n},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[s]=r,a(s),s++}function i(e){delete u[e]}function A(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function o(e){if(c)setTimeout(o,0,e);else{var t=u[e];if(t){c=!0;try{A(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var a,s=1,u={},c=!1,l=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?a=function(e){t.nextTick((function(){o(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&o(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),a=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){o(e.data)},a=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;a=function(t){var n=l.createElement("script");n.onreadystatechange=function(){o(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():a=function(e){setTimeout(o,0,e)},f.setImmediate=r,f.clearImmediate=i}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(7),n(20))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function A(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function o(){p&&h&&(p=!1,h.length?d=h.concat(d):g=-1,d.length&&a())}function a(){if(!p){var e=i(o);p=!0;for(var t=d.length;t;){for(h=d,d=[];++g<t;)h&&h[g].run();g=-1,t=d.length}h=null,p=!1,A(e)}}function s(e,t){this.fun=e,this.array=t}function u(){}var c,l,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var h,d=[],p=!1,g=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new s(e,t)),1!==d.length||p||i(a)},s.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";n(22).polyfill()},function(e,t,n){"use strict";function r(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(void 0!==i&&null!==i)for(var A=Object.keys(Object(i)),o=0,a=A.length;o<a;o++){var s=A[o],u=Object.getOwnPropertyDescriptor(i,s);void 0!==u&&u.enumerable&&(n[s]=i[s])}}return n}function i(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:r})}e.exports={assign:r,polyfill:i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),i=n(6),A=n(5),o=n(36),a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if("undefined"!=typeof window){var n=o.getOpts.apply(void 0,e);return new Promise((function(e,t){A.default.promise={resolve:e,reject:t},r.default(n),setTimeout((function(){i.openModal()}))}))}};a.close=i.onAction,a.getState=i.getState,a.setActionValue=A.setActionValue,a.stopLoading=i.stopLoading,a.setDefaults=o.setDefaults,t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0).default.MODAL,A=n(4),o=n(34),a=n(35),s=n(1);t.init=function(e){r.getNode(i)||(document.body||s.throwErr("You can only use SweetAlert AFTER the DOM has loaded!"),o.default(),A.default()),A.initModalContent(e),a.default(e)},t.default=t.init},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0).default.MODAL;t.modalMarkup='\n  <div class="'+r+'" role="dialog" aria-modal="true"></div>',t.default=t.modalMarkup},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r='<div \n    class="'+n(0).default.OVERLAY+'"\n    tabIndex="-1">\n  </div>';t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0).default.ICON;t.errorIconMarkup=function(){var e=r+"--error",t=e+"__line";return'\n    <div class="'+e+'__x-mark">\n      <span class="'+t+" "+t+'--left"></span>\n      <span class="'+t+" "+t+'--right"></span>\n    </div>\n  '},t.warningIconMarkup=function(){var e=r+"--warning";return'\n    <span class="'+e+'__body">\n      <span class="'+e+'__dot"></span>\n    </span>\n  '},t.successIconMarkup=function(){var e=r+"--success";return'\n    <span class="'+e+"__line "+e+'__line--long"></span>\n    <span class="'+e+"__line "+e+'__line--tip"></span>\n\n    <div class="'+e+'__ring"></div>\n    <div class="'+e+'__hide-corners"></div>\n  '}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0).default.CONTENT;t.contentMarkup='\n  <div class="'+r+'">\n\n  </div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=r.default.BUTTON_CONTAINER,A=r.default.BUTTON,o=r.default.BUTTON_LOADER;t.buttonMarkup='\n  <div class="'+i+'">\n\n    <button\n      class="'+A+'"\n    ></button>\n\n    <div class="'+o+'">\n      <div></div>\n      <div></div>\n      <div></div>\n    </div>\n\n  </div>\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),A=n(0),o=A.default.ICON,a=A.default.ICON_CUSTOM,s=["error","warning","success","info"],u={error:i.errorIconMarkup(),warning:i.warningIconMarkup(),success:i.successIconMarkup()},c=function(e,t){var n=o+"--"+e;t.classList.add(n);var r=u[e];r&&(t.innerHTML=r)},l=function(e,t){t.classList.add(a);var n=document.createElement("img");n.src=e,t.appendChild(n)},f=function(e){if(e){var t=r.injectElIntoModal(i.iconMarkup);s.includes(e)?c(e,t):l(e,t)}};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(4),A=function(e){navigator.userAgent.includes("AppleWebKit")&&(e.style.display="none",e.offsetHeight,e.style.display="")};t.initTitle=function(e){if(e){var t=i.injectElIntoModal(r.titleMarkup);t.textContent=e,A(t)}},t.initText=function(e){if(e){var t=document.createDocumentFragment();e.split("\n").forEach((function(e,n,r){t.appendChild(document.createTextNode(e)),n<r.length-1&&t.appendChild(document.createElement("br"))}));var n=i.injectElIntoModal(r.textMarkup);n.appendChild(t),A(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(4),A=n(0),o=A.default.BUTTON,a=A.default.DANGER_BUTTON,s=n(3),u=n(2),c=n(6),l=n(5),f=function(e,t,n){var i=t.text,A=t.value,f=t.className,h=t.closeModal,d=r.stringToNode(u.buttonMarkup),p=d.querySelector("."+o),g=o+"--"+e;p.classList.add(g),f&&(Array.isArray(f)?f:f.split(" ")).filter((function(e){return e.length>0})).forEach((function(e){p.classList.add(e)})),n&&e===s.CONFIRM_KEY&&p.classList.add(a),p.textContent=i;var w={};return w[e]=A,l.setActionValue(w),l.setActionOptionsFor(e,{closeModal:h}),p.addEventListener("click",(function(){return c.onAction(e)})),d},h=function(e,t){var n=i.injectElIntoModal(u.footerMarkup);for(var r in e){var A=e[r],o=f(r,A,t);A.visible&&n.appendChild(o)}0===n.children.length&&n.remove()};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(4),A=n(2),o=n(5),a=n(6),s=n(0).default.CONTENT,u=function(e){e.addEventListener("input",(function(e){var t=e.target.value;o.setActionValue(t)})),e.addEventListener("keyup",(function(e){if("Enter"===e.key)return a.onAction(r.CONFIRM_KEY)})),setTimeout((function(){e.focus(),o.setActionValue("")}),0)},c=function(e,t,n){var r=document.createElement(t),i=s+"__"+t;for(var A in r.classList.add(i),n){var o=n[A];r[A]=o}"input"===t&&u(r),e.appendChild(r)},l=function(e){if(e){var t=i.injectElIntoModal(A.contentMarkup),n=e.element,r=e.attributes;"string"==typeof n?c(t,n,r):t.appendChild(n)}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(2),A=function(){var e=r.stringToNode(i.overlayMarkup);document.body.appendChild(e)};t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=n(6),A=n(1),o=n(3),a=n(0),s=a.default.MODAL,u=a.default.BUTTON,c=a.default.OVERLAY,l=function(e){e.preventDefault(),g()},f=function(e){e.preventDefault(),w()},h=function(e){if(r.default.isOpen)switch(e.key){case"Escape":return i.onAction(o.CANCEL_KEY)}},d=function(e){if(r.default.isOpen)switch(e.key){case"Tab":return l(e)}},p=function(e){if(r.default.isOpen)return"Tab"===e.key&&e.shiftKey?f(e):void 0},g=function(){var e=A.getNode(u);e&&(e.tabIndex=0,e.focus())},w=function(){var e=A.getNode(s).querySelectorAll("."+u),t=e[e.length-1];t&&t.focus()},m=function(e){e[e.length-1].addEventListener("keydown",d)},B=function(e){e[0].addEventListener("keydown",p)},v=function(){var e=A.getNode(s).querySelectorAll("."+u);e.length&&(m(e),B(e))},b=function(e){if(A.getNode(c)===e.target)return i.onAction(o.CANCEL_KEY)},y=function(e){var t=A.getNode(c);t.removeEventListener("click",b),e&&t.addEventListener("click",b)},C=function(e){r.default.timer&&clearTimeout(r.default.timer),e&&(r.default.timer=window.setTimeout((function(){return i.onAction(o.CANCEL_KEY)}),e))},E=function(e){e.closeOnEsc?document.addEventListener("keyup",h):document.removeEventListener("keyup",h),e.dangerMode?g():w(),v(),y(e.closeOnClickOutside),C(e.timer)};t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),A=n(37),o=n(38),a={title:null,text:null,icon:null,buttons:i.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},s=Object.assign({},a);t.setDefaults=function(e){s=Object.assign({},a,e)};var u=function(e){var t=e&&e.button,n=e&&e.buttons;return void 0!==t&&void 0!==n&&r.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==t?{confirm:t}:n},c=function(e){return r.ordinalSuffixOf(e+1)},l=function(e,t){r.throwErr(c(t)+" argument ('"+e+"') is invalid")},f=function(e,t){var n=e+1,i=t[n];r.isPlainObject(i)||void 0===i||r.throwErr("Expected "+c(n)+" argument ('"+i+"') to be a plain object")},h=function(e,t){var n=e+1,i=t[n];void 0!==i&&r.throwErr("Unexpected "+c(n)+" argument ("+i+")")},d=function(e,t,n,i){var A=t instanceof Element;if("string"===typeof t){if(0===n)return{text:t};if(1===n)return{text:t,title:i[0]};if(2===n)return f(n,i),{icon:t};l(t,n)}else{if(A&&0===n)return f(n,i),{content:t};if(r.isPlainObject(t))return h(n,i),t;l(t,n)}};t.getOpts=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={};e.forEach((function(t,r){var i=d(0,t,r,e);Object.assign(n,i)}));var r=u(n);n.buttons=i.getButtonListOpts(r),delete n.button,n.content=A.getContentOpts(n.content);var c=Object.assign({},a,s,n);return Object.keys(c).forEach((function(e){o.DEPRECATED_OPTS[e]&&o.logDeprecation(e)})),c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i={element:"input",attributes:{placeholder:""}};t.getContentOpts=function(e){var t={};return r.isPlainObject(e)?Object.assign(t,e):e instanceof Element?{element:e}:"input"===e?i:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logDeprecation=function(e){var n=t.DEPRECATED_OPTS[e],r=n.onlyRename,i=n.replacement,A=n.subOption,o=n.link,a='SweetAlert warning: "'+e+'" option has been '+(r?"renamed":"deprecated")+".";i&&(a+=" Please use"+(A?' "'+A+'" in ':" ")+'"'+i+'" instead.');var s="https://sweetalert.js.org";a+=o?" More details: "+s+o:" More details: "+s+"/guides/#upgrading-from-1x",console.warn(a)},t.DEPRECATED_OPTS={type:{replacement:"icon",link:"/docs/#icon"},imageUrl:{replacement:"icon",link:"/docs/#icon"},customClass:{replacement:"className",onlyRename:!0,link:"/docs/#classname"},imageSize:{},showCancelButton:{replacement:"buttons",link:"/docs/#buttons"},showConfirmButton:{replacement:"button",link:"/docs/#button"},confirmButtonText:{replacement:"button",link:"/docs/#button"},confirmButtonColor:{},cancelButtonText:{replacement:"buttons",link:"/docs/#buttons"},closeOnConfirm:{replacement:"button",subOption:"closeModal",link:"/docs/#button"},closeOnCancel:{replacement:"buttons",subOption:"closeModal",link:"/docs/#buttons"},showLoaderOnConfirm:{replacement:"buttons"},animation:{},inputType:{replacement:"content",link:"/docs/#content"},inputValue:{replacement:"content",link:"/docs/#content"},inputPlaceholder:{replacement:"content",link:"/docs/#content"},html:{replacement:"content",link:"/docs/#content"},allowEscapeKey:{replacement:"closeOnEsc",onlyRename:!0,link:"/docs/#closeonesc"},allowClickOutside:{replacement:"closeOnClickOutside",onlyRename:!0,link:"/docs/#closeonclickoutside"}}}])}).call(this,n(40).setImmediate,n(40).clearImmediate)},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},A=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(S){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,A=Object.create(i.prototype),o=new U(r||[]);return A._invoke=function(e,t,n){var r=l;return function(i,A){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw A;return L()}for(n.method=i,n.arg=A;;){var o=n.delegate;if(o){var a=N(o,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=c(e,t,n);if("normal"===s.type){if(r=n.done?d:f,s.arg===p)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=d,n.method="throw",n.arg=s.arg)}}}(e,n,o),A}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=u;var l="suspendedStart",f="suspendedYield",h="executing",d="completed",p={};function g(){}function w(){}function m(){}var B={};B[A]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(x([])));b&&b!==n&&r.call(b,A)&&(B=b);var y=m.prototype=g.prototype=Object.create(B);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,A,o,a){var s=c(e[i],e,A);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"===typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,a)}),(function(e){n("throw",e,o,a)})):t.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return n("throw",e,o,a)}))}a(s.arg)}var i;this._invoke=function(e,r){function A(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(A,A):A()}}function N(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,N(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var A=i.arg;return A?A.done?(n[e.resultName]=A.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):A:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function Q(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function U(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Q,this),this.reset(!0)}function x(e){if(e){var n=e[A];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:L}}function L(){return{value:t,done:!0}}return w.prototype=y.constructor=m,m.constructor=w,w.displayName=s(m,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[o]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,i,A){void 0===A&&(A=Promise);var o=new E(u(t,n,r,i),A);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(y),s(y,a,"Generator"),y[A]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,U.prototype={constructor:U,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(F),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return a.type="throw",a.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var A=this.tryEntries.length-1;A>=0;--A){var o=this.tryEntries[A],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var A=i;break}}A&&("break"===e||"continue"===e)&&A.tryLoc<=t&&t<=A.finallyLoc&&(A=null);var o=A?A.completion:{};return o.type=e,o.arg=t,A?(this.method="next",this.next=A.finallyLoc,p):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),F(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;F(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:x(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r=n(27),i=60103,A=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,a=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var l=Symbol.for;i=l("react.element"),A=l("react.portal"),t.Fragment=l("react.fragment"),t.StrictMode=l("react.strict_mode"),t.Profiler=l("react.profiler"),o=l("react.provider"),a=l("react.context"),s=l("react.forward_ref"),t.Suspense=l("react.suspense"),u=l("react.memo"),c=l("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function g(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}function w(){}function m(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=g.prototype;var B=m.prototype=new w;B.constructor=m,r(B,g.prototype),B.isPureReactComponent=!0;var v={current:null},b=Object.prototype.hasOwnProperty,y={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,A={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)b.call(t,r)&&!y.hasOwnProperty(r)&&(A[r]=t[r]);var s=arguments.length-2;if(1===s)A.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];A.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===A[r]&&(A[r]=s[r]);return{$$typeof:i,type:e,key:o,ref:a,props:A,_owner:v.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var N=/\/+/g;function Q(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function F(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var s=!1;if(null===e)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case A:s=!0}}if(s)return o=o(s=e),e=""===r?"."+Q(s,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(N,"$&/")+"/"),F(o,t,n,"",(function(e){return e}))):null!=o&&(E(o)&&(o=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(N,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+Q(a=e[u],u);s+=F(a,t,n,c,o)}else if("function"===typeof(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),u=0;!(a=e.next()).done;)s+=F(a=a.value,t,n,c=r+Q(a,u++),o);else if("object"===a)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function U(e,t,n){if(null==e)return e;var r=[],i=0;return F(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function x(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var L={current:null};function S(){var e=L.current;if(null===e)throw Error(h(321));return e}var _={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:U,forEach:function(e,t,n){U(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return U(e,(function(){t++})),t},toArray:function(e){return U(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(h(143));return e}},t.Component=g,t.PureComponent=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(h(267,e));var A=r({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=v.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)b.call(t,c)&&!y.hasOwnProperty(c)&&(A[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)A.children=n;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];A.children=u}return{$$typeof:i,type:e.type,key:o,ref:a,props:A,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:x}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return S().useCallback(e,t)},t.useContext=function(e,t){return S().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return S().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return S().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return S().useLayoutEffect(e,t)},t.useMemo=function(e,t){return S().useMemo(e,t)},t.useReducer=function(e,t,n){return S().useReducer(e,t,n)},t.useRef=function(e){return S().useRef(e)},t.useState=function(e){return S().useState(e)},t.version="17.0.2"},function(e,t,n){"use strict";var r=n(1),i=n(27),A=n(48);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var a=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h=Object.prototype.hasOwnProperty,d={},p={};function g(e,t,n,r,i,A,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=A,this.removeEmptyString=o}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){w[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];w[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){w[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){w[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){w[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){w[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){w[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){w[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){w[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function B(e){return e[1].toUpperCase()}function v(e,t,n,r){var i=w.hasOwnProperty(t)?w[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!h.call(p,e)||!h.call(d,e)&&(f.test(e)?p[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,B);w[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,B);w[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,B);w[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){w[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),w.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){w[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=60103,C=60106,E=60107,N=60108,Q=60114,F=60109,U=60110,x=60112,L=60113,S=60120,_=60115,H=60116,k=60121,I=60128,O=60129,T=60130,P=60131;if("function"===typeof Symbol&&Symbol.for){var R=Symbol.for;y=R("react.element"),C=R("react.portal"),E=R("react.fragment"),N=R("react.strict_mode"),Q=R("react.profiler"),F=R("react.provider"),U=R("react.context"),x=R("react.forward_ref"),L=R("react.suspense"),S=R("react.suspense_list"),_=R("react.memo"),H=R("react.lazy"),k=R("react.block"),R("react.scope"),I=R("react.opaque.id"),O=R("react.debug_trace_mode"),T=R("react.offscreen"),P=R("react.legacy_hidden")}var M,D="function"===typeof Symbol&&Symbol.iterator;function K(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}function j(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var z=!1;function V(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var i=s.stack.split("\n"),A=r.stack.split("\n"),o=i.length-1,a=A.length-1;1<=o&&0<=a&&i[o]!==A[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==A[a]){if(1!==o||1!==a)do{if(o--,0>--a||i[o]!==A[a])return"\n"+i[o].replace(" at new "," at ")}while(1<=o&&0<=a);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function q(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function X(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case E:return"Fragment";case C:return"Portal";case Q:return"Profiler";case N:return"StrictMode";case L:return"Suspense";case S:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case U:return(e.displayName||"Context")+".Consumer";case F:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case _:return X(e.type);case k:return X(e._render);case H:t=e._payload,e=e._init;try{return X(e(t))}catch(n){}}return null}function G(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,A=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,A.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ue(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var le="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function he(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function de(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var pe,ge,we=(ge=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((pe=pe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function me(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];function be(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Be.hasOwnProperty(e)&&Be[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=be(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Be).forEach((function(e){ve.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Be[t]=Be[e]}))}));var Ce=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(Ce[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function Ne(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Qe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Fe=null,Ue=null,xe=null;function Le(e){if(e=ei(e)){if("function"!==typeof Fe)throw Error(o(280));var t=e.stateNode;t&&(t=ni(t),Fe(e.stateNode,e.type,t))}}function Se(e){Ue?xe?xe.push(e):xe=[e]:Ue=e}function _e(){if(Ue){var e=Ue,t=xe;if(xe=Ue=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function He(e,t){return e(t)}function ke(e,t,n,r,i){return e(t,n,r,i)}function Ie(){}var Oe=He,Te=!1,Pe=!1;function Re(){null===Ue&&null===xe||(Ie(),_e())}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=ni(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(l)try{var Ke={};Object.defineProperty(Ke,"passive",{get:function(){De=!0}}),window.addEventListener("test",Ke,Ke),window.removeEventListener("test",Ke,Ke)}catch(ge){De=!1}function je(e,t,n,r,i,A,o,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ze=!1,Ve=null,qe=!1,Xe=null,Ge={onError:function(e){ze=!0,Ve=e}};function We(e,t,n,r,i,A,o,a,s){ze=!1,Ve=null,je.apply(Ge,arguments)}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ye(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Je(e)!==e)throw Error(o(188))}function Ze(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var A=i.alternate;if(null===A){if(null!==(r=i.return)){n=r;continue}break}if(i.child===A.child){for(A=i.child;A;){if(A===n)return $e(i),e;if(A===r)return $e(i),t;A=A.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=A;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=A;break}if(s===r){a=!0,r=i,n=A;break}s=s.sibling}if(!a){for(s=A.child;s;){if(s===n){a=!0,n=A,r=i;break}if(s===r){a=!0,r=A,n=i;break}s=s.sibling}if(!a)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,it,At=!1,ot=[],at=null,st=null,ut=null,ct=new Map,lt=new Map,ft=[],ht="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function dt(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function pt(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lt.delete(t.pointerId)}}function gt(e,t,n,r,i,A){return null===e||e.nativeEvent!==A?(e=dt(t,n,r,i,A),null!==t&&(null!==(t=ei(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function wt(e){var t=Zr(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ye(n)))return e.blockedOn=t,void it(e.lanePriority,(function(){A.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ei(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function Bt(e,t,n){mt(e)&&n.delete(t)}function vt(){for(At=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ei(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==at&&mt(at)&&(at=null),null!==st&&mt(st)&&(st=null),null!==ut&&mt(ut)&&(ut=null),ct.forEach(Bt),lt.forEach(Bt)}function bt(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,A.unstable_scheduleCallback(A.unstable_NormalPriority,vt)))}function yt(e){function t(t){return bt(t,e)}if(0<ot.length){bt(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&bt(at,e),null!==st&&bt(st,e),null!==ut&&bt(ut,e),ct.forEach(t),lt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)wt(n),null===n.blockedOn&&ft.shift()}function Ct(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Et={animationend:Ct("Animation","AnimationEnd"),animationiteration:Ct("Animation","AnimationIteration"),animationstart:Ct("Animation","AnimationStart"),transitionend:Ct("Transition","TransitionEnd")},Nt={},Qt={};function Ft(e){if(Nt[e])return Nt[e];if(!Et[e])return e;var t,n=Et[e];for(t in n)if(n.hasOwnProperty(t)&&t in Qt)return Nt[e]=n[t];return e}l&&(Qt=document.createElement("div").style,"AnimationEvent"in window||(delete Et.animationend.animation,delete Et.animationiteration.animation,delete Et.animationstart.animation),"TransitionEvent"in window||delete Et.transitionend.transition);var Ut=Ft("animationend"),xt=Ft("animationiteration"),Lt=Ft("animationstart"),St=Ft("transitionend"),_t=new Map,Ht=new Map,kt=["abort","abort",Ut,"animationEnd",xt,"animationIteration",Lt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",St,"transitionEnd","waiting","waiting"];function It(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Ht.set(r,t),_t.set(r,i),u(i,[r])}}(0,A.unstable_now)();var Ot=8;function Tt(e){if(0!==(1&e))return Ot=15,1;if(0!==(2&e))return Ot=14,2;if(0!==(4&e))return Ot=13,4;var t=24&e;return 0!==t?(Ot=12,t):0!==(32&e)?(Ot=11,32):0!==(t=192&e)?(Ot=10,t):0!==(256&e)?(Ot=9,256):0!==(t=3584&e)?(Ot=8,t):0!==(4096&e)?(Ot=7,4096):0!==(t=4186112&e)?(Ot=6,t):0!==(t=62914560&e)?(Ot=5,t):67108864&e?(Ot=4,67108864):0!==(134217728&e)?(Ot=3,134217728):0!==(t=805306368&e)?(Ot=2,t):0!==(1073741824&e)?(Ot=1,1073741824):(Ot=8,e)}function Pt(e,t){var n=e.pendingLanes;if(0===n)return Ot=0;var r=0,i=0,A=e.expiredLanes,o=e.suspendedLanes,a=e.pingedLanes;if(0!==A)r=A,i=Ot=15;else if(0!==(A=134217727&n)){var s=A&~o;0!==s?(r=Tt(s),i=Ot):0!==(a&=A)&&(r=Tt(a),i=Ot)}else 0!==(A=n&~o)?(r=Tt(A),i=Ot):0!==a&&(r=Tt(a),i=Ot);if(0===r)return 0;if(r=n&((0>(r=31-zt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&o)){if(Tt(t),i<=Ot)return t;Ot=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-zt(t)),r|=e[n],t&=~i;return r}function Rt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Mt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Dt(24&~t))?Mt(10,t):e;case 10:return 0===(e=Dt(192&~t))?Mt(8,t):e;case 8:return 0===(e=Dt(3584&~t))&&(0===(e=Dt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Dt(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Dt(e){return e&-e}function Kt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function jt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-zt(t)]=n}var zt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/qt|0)|0},Vt=Math.log,qt=Math.LN2;var Xt=A.unstable_UserBlockingPriority,Gt=A.unstable_runWithPriority,Wt=!0;function Jt(e,t,n,r){Te||Ie();var i=$t,A=Te;Te=!0;try{ke(i,e,t,n,r)}finally{(Te=A)||Re()}}function Yt(e,t,n,r){Gt(Xt,$t.bind(null,e,t,n,r))}function $t(e,t,n,r){var i;if(Wt)if((i=0===(4&t))&&0<ot.length&&-1<ht.indexOf(e))e=dt(null,e,t,n,r),ot.push(e);else{var A=Zt(e,t,n,r);if(null===A)i&&pt(e,r);else{if(i){if(-1<ht.indexOf(e))return e=dt(A,e,t,n,r),void ot.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return at=gt(at,e,t,n,r,i),!0;case"dragenter":return st=gt(st,e,t,n,r,i),!0;case"mouseover":return ut=gt(ut,e,t,n,r,i),!0;case"pointerover":var A=i.pointerId;return ct.set(A,gt(ct.get(A)||null,e,t,n,r,i)),!0;case"gotpointercapture":return A=i.pointerId,lt.set(A,gt(lt.get(A)||null,e,t,n,r,i)),!0}return!1}(A,e,t,n,r))return;pt(e,r)}_r(e,t,r,null,n)}}}function Zt(e,t,n,r){var i=Qe(r);if(null!==(i=Zr(i))){var A=Je(i);if(null===A)i=null;else{var o=A.tag;if(13===o){if(null!==(i=Ye(A)))return i;i=null}else if(3===o){if(A.stateNode.hydrate)return 3===A.tag?A.stateNode.containerInfo:null;i=null}else A!==i&&(i=null)}}return _r(e,t,r,i,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,i="value"in en?en.value:en.textContent,A=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[A-t];t++);return nn=i.slice(e,1<t?1-t:void 0)}function An(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function sn(e){function t(t,n,r,i,A){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=A,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?on:an,this.isPropagationStopped=an,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,cn,ln,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=sn(fn),dn=i({},fn,{view:0,detail:0}),pn=sn(dn),gn=i({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(un=e.screenX-ln.screenX,cn=e.screenY-ln.screenY):cn=un=0,ln=e),un)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),wn=sn(gn),mn=sn(i({},gn,{dataTransfer:0})),Bn=sn(i({},dn,{relatedTarget:0})),vn=sn(i({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=sn(i({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),yn=sn(i({},fn,{data:0})),Cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Nn[e])&&!!t[e]}function Fn(){return Qn}var Un=sn(i({},dn,{key:function(e){if(e.key){var t=Cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=An(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fn,charCode:function(e){return"keypress"===e.type?An(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?An(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),xn=sn(i({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=sn(i({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fn})),Sn=sn(i({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),_n=sn(i({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Hn=[9,13,27,32],kn=l&&"CompositionEvent"in window,In=null;l&&"documentMode"in document&&(In=document.documentMode);var On=l&&"TextEvent"in window&&!In,Tn=l&&(!kn||In&&8<In&&11>=In),Pn=String.fromCharCode(32),Rn=!1;function Mn(e,t){switch(e){case"keyup":return-1!==Hn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Kn=!1;var jn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function Vn(e,t,n,r){Se(r),0<(t=kr(t,"onChange")).length&&(n=new hn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Xn=null;function Gn(e){Qr(e,0)}function Wn(e){if(Y(ti(e)))return e}function Jn(e,t){if("change"===e)return t}var Yn=!1;if(l){var $n;if(l){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"===typeof er.oninput}$n=Zn}else $n=!1;Yn=$n&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Xn=qn=null)}function nr(e){if("value"===e.propertyName&&Wn(Xn)){var t=[];if(Vn(t,Xn,e,Qe(e)),e=Gn,Te)e(t);else{Te=!0;try{He(e,t)}finally{Te=!1,Re()}}}}function rr(e,t,n){"focusin"===e?(tr(),Xn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wn(Xn)}function Ar(e,t){if("click"===e)return Wn(t)}function or(e,t){if("input"===e||"change"===e)return Wn(t)}var ar="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},sr=Object.prototype.hasOwnProperty;function ur(e,t){if(ar(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!sr.call(t,n[r])||!ar(e[n[r]],t[n[r]]))return!1;return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pr=l&&"documentMode"in document&&11>=document.documentMode,gr=null,wr=null,mr=null,Br=!1;function vr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Br||null==gr||gr!==$(r)||("selectionStart"in(r=gr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},mr&&ur(mr,r)||(mr=r,0<(r=kr(wr,"onSelect")).length&&(t=new hn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}It("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),It("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),It(kt,2);for(var br="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),yr=0;yr<br.length;yr++)Ht.set(br[yr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Er=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Nr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,A,a,s,u){if(We.apply(this,arguments),ze){if(!ze)throw Error(o(198));var c=Ve;ze=!1,Ve=null,qe||(qe=!0,Xe=c)}}(r,t,void 0,e),e.currentTarget=null}function Qr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var A=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==A&&i.isPropagationStopped())break e;Nr(i,a,u),A=s}else for(o=0;o<r.length;o++){if(s=(a=r[o]).instance,u=a.currentTarget,a=a.listener,s!==A&&i.isPropagationStopped())break e;Nr(i,a,u),A=s}}}if(qe)throw e=Xe,qe=!1,Xe=null,e}function Fr(e,t){var n=ri(t),r=e+"__bubble";n.has(r)||(Sr(t,e,2,!1),n.add(r))}var Ur="_reactListening"+Math.random().toString(36).slice(2);function xr(e){e[Ur]||(e[Ur]=!0,a.forEach((function(t){Er.has(t)||Lr(t,!1,e,null),Lr(t,!0,e,null)})))}function Lr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,A=n;if("selectionchange"===e&&9!==n.nodeType&&(A=n.ownerDocument),null!==r&&!t&&Er.has(e)){if("scroll"!==e)return;i|=2,A=r}var o=ri(A),a=e+"__"+(t?"capture":"bubble");o.has(a)||(t&&(i|=4),Sr(A,e,i,t),o.add(a))}function Sr(e,t,n,r){var i=Ht.get(t);switch(void 0===i?2:i){case 0:i=Jt;break;case 1:i=Yt;break;default:i=$t}n=i.bind(null,t,n,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function _r(e,t,n,r,i){var A=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;o=o.return}for(;null!==a;){if(null===(o=Zr(a)))return;if(5===(s=o.tag)||6===s){r=A=o;continue e}a=a.parentNode}}r=r.return}!function(e,t,n){if(Pe)return e(t,n);Pe=!0;try{Oe(e,t,n)}finally{Pe=!1,Re()}}((function(){var r=A,i=Qe(n),o=[];e:{var a=_t.get(e);if(void 0!==a){var s=hn,u=e;switch(e){case"keypress":if(0===An(n))break e;case"keydown":case"keyup":s=Un;break;case"focusin":u="focus",s=Bn;break;case"focusout":u="blur",s=Bn;break;case"beforeblur":case"afterblur":s=Bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=wn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Ln;break;case Ut:case xt:case Lt:s=vn;break;case St:s=Sn;break;case"scroll":s=pn;break;case"wheel":s=_n;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=xn}var c=0!==(4&t),l=!c&&"scroll"===e,f=c?null!==a?a+"Capture":null:a;c=[];for(var h,d=r;null!==d;){var p=(h=d).stateNode;if(5===h.tag&&null!==p&&(h=p,null!==f&&(null!=(p=Me(d,f))&&c.push(Hr(d,p,h)))),l)break;d=d.return}0<c.length&&(a=new s(a,u,null,n,i),o.push({event:a,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(u=n.relatedTarget||n.fromElement)||!Zr(u)&&!u[Yr])&&(s||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?Zr(u):null)&&(u!==(l=Je(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=wn,p="onMouseLeave",f="onMouseEnter",d="mouse","pointerout"!==e&&"pointerover"!==e||(c=xn,p="onPointerLeave",f="onPointerEnter",d="pointer"),l=null==s?a:ti(s),h=null==u?a:ti(u),(a=new c(p,d+"leave",s,n,i)).target=l,a.relatedTarget=h,p=null,Zr(i)===r&&((c=new c(f,d+"enter",u,n,i)).target=h,c.relatedTarget=l,p=c),l=p,s&&u)e:{for(f=u,d=0,h=c=s;h;h=Ir(h))d++;for(h=0,p=f;p;p=Ir(p))h++;for(;0<d-h;)c=Ir(c),d--;for(;0<h-d;)f=Ir(f),h--;for(;d--;){if(c===f||null!==f&&c===f.alternate)break e;c=Ir(c),f=Ir(f)}c=null}else c=null;null!==s&&Or(o,a,s,c,!1),null!==u&&null!==l&&Or(o,l,u,c,!0)}if("select"===(s=(a=r?ti(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===s&&"file"===a.type)var g=Jn;else if(zn(a))if(Yn)g=or;else{g=ir;var w=rr}else(s=a.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(g=Ar);switch(g&&(g=g(e,r))?Vn(o,g,n,i):(w&&w(e,a,r),"focusout"===e&&(w=a._wrapperState)&&w.controlled&&"number"===a.type&&ie(a,"number",a.value)),w=r?ti(r):window,e){case"focusin":(zn(w)||"true"===w.contentEditable)&&(gr=w,wr=r,mr=null);break;case"focusout":mr=wr=gr=null;break;case"mousedown":Br=!0;break;case"contextmenu":case"mouseup":case"dragend":Br=!1,vr(o,n,i);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":vr(o,n,i)}var m;if(kn)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else Kn?Mn(e,n)&&(B="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(B="onCompositionStart");B&&(Tn&&"ko"!==n.locale&&(Kn||"onCompositionStart"!==B?"onCompositionEnd"===B&&Kn&&(m=rn()):(tn="value"in(en=i)?en.value:en.textContent,Kn=!0)),0<(w=kr(r,B)).length&&(B=new yn(B,e,null,n,i),o.push({event:B,listeners:w}),m?B.data=m:null!==(m=Dn(n))&&(B.data=m))),(m=On?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(Rn=!0,Pn);case"textInput":return(e=t.data)===Pn&&Rn?null:e;default:return null}}(e,n):function(e,t){if(Kn)return"compositionend"===e||!kn&&Mn(e,t)?(e=rn(),nn=tn=en=null,Kn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=kr(r,"onBeforeInput")).length&&(i=new yn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=m))}Qr(o,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,A=i.stateNode;5===i.tag&&null!==A&&(i=A,null!=(A=Me(e,n))&&r.unshift(Hr(e,A,i)),null!=(A=Me(e,t))&&r.push(Hr(e,A,i))),e=e.return}return r}function Ir(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Or(e,t,n,r,i){for(var A=t._reactName,o=[];null!==n&&n!==r;){var a=n,s=a.alternate,u=a.stateNode;if(null!==s&&s===r)break;5===a.tag&&null!==u&&(a=u,i?null!=(s=Me(n,A))&&o.unshift(Hr(n,s,a)):i||null!=(s=Me(n,A))&&o.push(Hr(n,s,a))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function Tr(){}var Pr=null,Rr=null;function Mr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Dr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Kr="function"===typeof setTimeout?setTimeout:void 0,jr="function"===typeof clearTimeout?clearTimeout:void 0;function zr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Vr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function qr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Xr=0;var Gr=Math.random().toString(36).slice(2),Wr="__reactFiber$"+Gr,Jr="__reactProps$"+Gr,Yr="__reactContainer$"+Gr,$r="__reactEvents$"+Gr;function Zr(e){var t=e[Wr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yr]||n[Wr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=qr(e);null!==e;){if(n=e[Wr])return n;e=qr(e)}return t}n=(e=n).parentNode}return null}function ei(e){return!(e=e[Wr]||e[Yr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ti(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ni(e){return e[Jr]||null}function ri(e){var t=e[$r];return void 0===t&&(t=e[$r]=new Set),t}var ii=[],Ai=-1;function oi(e){return{current:e}}function ai(e){0>Ai||(e.current=ii[Ai],ii[Ai]=null,Ai--)}function si(e,t){Ai++,ii[Ai]=e.current,e.current=t}var ui={},ci=oi(ui),li=oi(!1),fi=ui;function hi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,A={};for(i in n)A[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=A),A}function di(e){return null!==(e=e.childContextTypes)&&void 0!==e}function pi(){ai(li),ai(ci)}function gi(e,t,n){if(ci.current!==ui)throw Error(o(168));si(ci,t),si(li,n)}function wi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var A in r=r.getChildContext())if(!(A in e))throw Error(o(108,X(t)||"Unknown",A));return i({},n,r)}function mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,fi=ci.current,si(ci,e),si(li,li.current),!0}function Bi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=wi(e,t,fi),r.__reactInternalMemoizedMergedChildContext=e,ai(li),ai(ci),si(ci,e)):ai(li),si(li,n)}var vi=null,bi=null,yi=A.unstable_runWithPriority,Ci=A.unstable_scheduleCallback,Ei=A.unstable_cancelCallback,Ni=A.unstable_shouldYield,Qi=A.unstable_requestPaint,Fi=A.unstable_now,Ui=A.unstable_getCurrentPriorityLevel,xi=A.unstable_ImmediatePriority,Li=A.unstable_UserBlockingPriority,Si=A.unstable_NormalPriority,_i=A.unstable_LowPriority,Hi=A.unstable_IdlePriority,ki={},Ii=void 0!==Qi?Qi:function(){},Oi=null,Ti=null,Pi=!1,Ri=Fi(),Mi=1e4>Ri?Fi:function(){return Fi()-Ri};function Di(){switch(Ui()){case xi:return 99;case Li:return 98;case Si:return 97;case _i:return 96;case Hi:return 95;default:throw Error(o(332))}}function Ki(e){switch(e){case 99:return xi;case 98:return Li;case 97:return Si;case 96:return _i;case 95:return Hi;default:throw Error(o(332))}}function ji(e,t){return e=Ki(e),yi(e,t)}function zi(e,t,n){return e=Ki(e),Ci(e,t,n)}function Vi(){if(null!==Ti){var e=Ti;Ti=null,Ei(e)}qi()}function qi(){if(!Pi&&null!==Oi){Pi=!0;var e=0;try{var t=Oi;ji(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Oi=null}catch(n){throw null!==Oi&&(Oi=Oi.slice(e+1)),Ci(xi,Vi),n}finally{Pi=!1}}}var Xi=b.ReactCurrentBatchConfig;function Gi(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Wi=oi(null),Ji=null,Yi=null,$i=null;function Zi(){$i=Yi=Ji=null}function eA(e){var t=Wi.current;ai(Wi),e.type._context._currentValue=t}function tA(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function nA(e,t){Ji=e,$i=Yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ko=!0),e.firstContext=null)}function rA(e,t){if($i!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||($i=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Yi){if(null===Ji)throw Error(o(308));Yi=t,Ji.dependencies={lanes:0,firstContext:t,responders:null}}else Yi=Yi.next=t;return e._currentValue}var iA=!1;function AA(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function oA(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aA(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sA(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function uA(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,A=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===A?i=A=o:A=A.next=o,n=n.next}while(null!==n);null===A?i=A=t:A=A.next=t}else i=A=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:A,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cA(e,t,n,r){var A=e.updateQueue;iA=!1;var o=A.firstBaseUpdate,a=A.lastBaseUpdate,s=A.shared.pending;if(null!==s){A.shared.pending=null;var u=s,c=u.next;u.next=null,null===a?o=c:a.next=c,a=u;var l=e.alternate;if(null!==l){var f=(l=l.updateQueue).lastBaseUpdate;f!==a&&(null===f?l.firstBaseUpdate=c:f.next=c,l.lastBaseUpdate=u)}}if(null!==o){for(f=A.baseState,a=0,l=c=u=null;;){s=o.lane;var h=o.eventTime;if((r&s)===s){null!==l&&(l=l.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var d=e,p=o;switch(s=t,h=n,p.tag){case 1:if("function"===typeof(d=p.payload)){f=d.call(h,f,s);break e}f=d;break e;case 3:d.flags=-4097&d.flags|64;case 0:if(null===(s="function"===typeof(d=p.payload)?d.call(h,f,s):d)||void 0===s)break e;f=i({},f,s);break e;case 2:iA=!0}}null!==o.callback&&(e.flags|=32,null===(s=A.effects)?A.effects=[o]:s.push(o))}else h={eventTime:h,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===l?(c=l=h,u=f):l=l.next=h,a|=s;if(null===(o=o.next)){if(null===(s=A.shared.pending))break;o=s.next,s.next=null,A.lastBaseUpdate=s,A.shared.pending=null}}null===l&&(u=f),A.baseState=u,A.firstBaseUpdate=c,A.lastBaseUpdate=l,Pa|=a,e.lanes=a,e.memoizedState=f}}function lA(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var fA=(new r.Component).refs;function hA(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var dA={isMounted:function(e){return!!(e=e._reactInternals)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=us(),i=cs(e),A=aA(r,i);A.payload=t,void 0!==n&&null!==n&&(A.callback=n),sA(e,A),ls(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=us(),i=cs(e),A=aA(r,i);A.tag=1,A.payload=t,void 0!==n&&null!==n&&(A.callback=n),sA(e,A),ls(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=us(),r=cs(e),i=aA(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),sA(e,i),ls(e,r,n)}};function pA(e,t,n,r,i,A,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,A,o):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,A))}function gA(e,t,n){var r=!1,i=ui,A=t.contextType;return"object"===typeof A&&null!==A?A=rA(A):(i=di(t)?fi:ci.current,A=(r=null!==(r=t.contextTypes)&&void 0!==r)?hi(e,i):ui),t=new t(n,A),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=dA,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=A),t}function wA(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&dA.enqueueReplaceState(t,t.state,null)}function mA(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fA,AA(e);var A=t.contextType;"object"===typeof A&&null!==A?i.context=rA(A):(A=di(t)?fi:ci.current,i.context=hi(e,A)),cA(e,n,i,r),i.state=e.memoizedState,"function"===typeof(A=t.getDerivedStateFromProps)&&(hA(e,t,A,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&dA.enqueueReplaceState(i,i.state,null),cA(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4)}var BA=Array.isArray;function vA(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===fA&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function bA(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function yA(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=js(e,t)).index=0,e.sibling=null,e}function A(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Xs(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=vA(e,t,n),r.return=e,r):((r=zs(n.type,n.key,n.props,null,e.mode,r)).ref=vA(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Gs(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function l(e,t,n,r,A){return null===t||7!==t.tag?((t=Vs(n,e.mode,r,A)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Xs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case y:return(n=zs(t.type,t.key,t.props,null,e.mode,n)).ref=vA(e,null,t),n.return=e,n;case C:return(t=Gs(t,e.mode,n)).return=e,t}if(BA(t)||K(t))return(t=Vs(t,e.mode,n,null)).return=e,t;bA(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===i?n.type===E?l(e,t,n.props.children,r,i):u(e,t,n,r):null;case C:return n.key===i?c(e,t,n,r):null}if(BA(n)||K(n))return null!==i?null:l(e,t,n,r,null);bA(e,n)}return null}function d(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case y:return e=e.get(null===r.key?n:r.key)||null,r.type===E?l(t,e,r.props.children,i,r.key):u(t,e,r,i);case C:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(BA(r)||K(r))return l(t,e=e.get(n)||null,r,i,null);bA(t,r)}return null}function p(i,o,a,s){for(var u=null,c=null,l=o,p=o=0,g=null;null!==l&&p<a.length;p++){l.index>p?(g=l,l=null):g=l.sibling;var w=h(i,l,a[p],s);if(null===w){null===l&&(l=g);break}e&&l&&null===w.alternate&&t(i,l),o=A(w,o,p),null===c?u=w:c.sibling=w,c=w,l=g}if(p===a.length)return n(i,l),u;if(null===l){for(;p<a.length;p++)null!==(l=f(i,a[p],s))&&(o=A(l,o,p),null===c?u=l:c.sibling=l,c=l);return u}for(l=r(i,l);p<a.length;p++)null!==(g=d(l,i,p,a[p],s))&&(e&&null!==g.alternate&&l.delete(null===g.key?p:g.key),o=A(g,o,p),null===c?u=g:c.sibling=g,c=g);return e&&l.forEach((function(e){return t(i,e)})),u}function g(i,a,s,u){var c=K(s);if("function"!==typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var l=c=null,p=a,g=a=0,w=null,m=s.next();null!==p&&!m.done;g++,m=s.next()){p.index>g?(w=p,p=null):w=p.sibling;var B=h(i,p,m.value,u);if(null===B){null===p&&(p=w);break}e&&p&&null===B.alternate&&t(i,p),a=A(B,a,g),null===l?c=B:l.sibling=B,l=B,p=w}if(m.done)return n(i,p),c;if(null===p){for(;!m.done;g++,m=s.next())null!==(m=f(i,m.value,u))&&(a=A(m,a,g),null===l?c=m:l.sibling=m,l=m);return c}for(p=r(i,p);!m.done;g++,m=s.next())null!==(m=d(p,i,g,m.value,u))&&(e&&null!==m.alternate&&p.delete(null===m.key?g:m.key),a=A(m,a,g),null===l?c=m:l.sibling=m,l=m);return e&&p.forEach((function(e){return t(i,e)})),c}return function(e,r,A,s){var u="object"===typeof A&&null!==A&&A.type===E&&null===A.key;u&&(A=A.props.children);var c="object"===typeof A&&null!==A;if(c)switch(A.$$typeof){case y:e:{for(c=A.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(A.type===E){n(e,u.sibling),(r=i(u,A.props.children)).return=e,e=r;break e}break;default:if(u.elementType===A.type){n(e,u.sibling),(r=i(u,A.props)).ref=vA(e,u,A),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}A.type===E?((r=Vs(A.props.children,e.mode,s,A.key)).return=e,e=r):((s=zs(A.type,A.key,A.props,null,e.mode,s)).ref=vA(e,r,A),s.return=e,e=s)}return a(e);case C:e:{for(u=A.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===A.containerInfo&&r.stateNode.implementation===A.implementation){n(e,r.sibling),(r=i(r,A.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Gs(A,e.mode,s)).return=e,e=r}return a(e)}if("string"===typeof A||"number"===typeof A)return A=""+A,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,A)).return=e,e=r):(n(e,r),(r=Xs(A,e.mode,s)).return=e,e=r),a(e);if(BA(A))return p(e,r,A,s);if(K(A))return g(e,r,A,s);if(c&&bA(e,A),"undefined"===typeof A&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,X(e.type)||"Component"))}return n(e,r)}}var CA=yA(!0),EA=yA(!1),NA={},QA=oi(NA),FA=oi(NA),UA=oi(NA);function xA(e){if(e===NA)throw Error(o(174));return e}function LA(e,t){switch(si(UA,t),si(FA,e),si(QA,NA),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:de(null,"");break;default:t=de(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ai(QA),si(QA,t)}function SA(){ai(QA),ai(FA),ai(UA)}function _A(e){xA(UA.current);var t=xA(QA.current),n=de(t,e.type);t!==n&&(si(FA,e),si(QA,n))}function HA(e){FA.current===e&&(ai(QA),ai(FA))}var kA=oi(0);function IA(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var OA=null,TA=null,PA=!1;function RA(e,t){var n=Ds(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function MA(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function DA(e){if(PA){var t=TA;if(t){var n=t;if(!MA(e,t)){if(!(t=Vr(n.nextSibling))||!MA(e,t))return e.flags=-1025&e.flags|2,PA=!1,void(OA=e);RA(OA,n)}OA=e,TA=Vr(t.firstChild)}else e.flags=-1025&e.flags|2,PA=!1,OA=e}}function KA(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;OA=e}function jA(e){if(e!==OA)return!1;if(!PA)return KA(e),PA=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Dr(t,e.memoizedProps))for(t=TA;t;)RA(e,t),t=Vr(t.nextSibling);if(KA(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){TA=Vr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}TA=null}}else TA=OA?Vr(e.stateNode.nextSibling):null;return!0}function zA(){TA=OA=null,PA=!1}var VA=[];function qA(){for(var e=0;e<VA.length;e++)VA[e]._workInProgressVersionPrimary=null;VA.length=0}var XA=b.ReactCurrentDispatcher,GA=b.ReactCurrentBatchConfig,WA=0,JA=null,YA=null,$A=null,ZA=!1,eo=!1;function to(){throw Error(o(321))}function no(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function ro(e,t,n,r,i,A){if(WA=A,JA=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,XA.current=null===e||null===e.memoizedState?Lo:So,e=n(r,i),eo){A=0;do{if(eo=!1,!(25>A))throw Error(o(301));A+=1,$A=YA=null,t.updateQueue=null,XA.current=_o,e=n(r,i)}while(eo)}if(XA.current=xo,t=null!==YA&&null!==YA.next,WA=0,$A=YA=JA=null,ZA=!1,t)throw Error(o(300));return e}function io(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$A?JA.memoizedState=$A=e:$A=$A.next=e,$A}function Ao(){if(null===YA){var e=JA.alternate;e=null!==e?e.memoizedState:null}else e=YA.next;var t=null===$A?JA.memoizedState:$A.next;if(null!==t)$A=t,YA=e;else{if(null===e)throw Error(o(310));e={memoizedState:(YA=e).memoizedState,baseState:YA.baseState,baseQueue:YA.baseQueue,queue:YA.queue,next:null},null===$A?JA.memoizedState=$A=e:$A=$A.next=e}return $A}function oo(e,t){return"function"===typeof t?t(e):t}function ao(e){var t=Ao(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=YA,i=r.baseQueue,A=n.pending;if(null!==A){if(null!==i){var a=i.next;i.next=A.next,A.next=a}r.baseQueue=i=A,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=a=A=null,u=i;do{var c=u.lane;if((WA&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var l={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(a=s=l,A=r):s=s.next=l,JA.lanes|=c,Pa|=c}u=u.next}while(null!==u&&u!==i);null===s?A=r:s.next=a,ar(r,t.memoizedState)||(ko=!0),t.memoizedState=r,t.baseState=A,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function so(e){var t=Ao(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,A=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{A=e(A,a.action),a=a.next}while(a!==i);ar(A,t.memoizedState)||(ko=!0),t.memoizedState=A,null===t.baseQueue&&(t.baseState=A),n.lastRenderedState=A}return[A,r]}function uo(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(WA&e)===e)&&(t._workInProgressVersionPrimary=r,VA.push(t))),e)return n(t._source);throw VA.push(t),Error(o(350))}function co(e,t,n,r){var i=La;if(null===i)throw Error(o(349));var A=t._getVersion,a=A(t._source),s=XA.current,u=s.useState((function(){return uo(i,t,n)})),c=u[1],l=u[0];u=$A;var f=e.memoizedState,h=f.refs,d=h.getSnapshot,p=f.source;f=f.subscribe;var g=JA;return e.memoizedState={refs:h,source:t,subscribe:r},s.useEffect((function(){h.getSnapshot=n,h.setSnapshot=c;var e=A(t._source);if(!ar(a,e)){e=n(t._source),ar(l,e)||(c(e),e=cs(g),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,o=e;0<o;){var s=31-zt(o),u=1<<s;r[s]|=e,o&=~u}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=cs(g);i.mutableReadLanes|=r&i.pendingLanes}catch(A){n((function(){throw A}))}}))}),[t,r]),ar(d,n)&&ar(p,t)&&ar(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:oo,lastRenderedState:l}).dispatch=c=Uo.bind(null,JA,e),u.queue=e,u.baseQueue=null,l=uo(i,t,n),u.memoizedState=u.baseState=l),l}function lo(e,t,n){return co(Ao(),e,t,n)}function fo(e){var t=io();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:oo,lastRenderedState:e}).dispatch=Uo.bind(null,JA,e),[t.memoizedState,e]}function ho(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=JA.updateQueue)?(t={lastEffect:null},JA.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function po(e){return e={current:e},io().memoizedState=e}function go(){return Ao().memoizedState}function wo(e,t,n,r){var i=io();JA.flags|=e,i.memoizedState=ho(1|t,n,void 0,void 0===r?null:r)}function mo(e,t,n,r){var i=Ao();r=void 0===r?null:r;var A=void 0;if(null!==YA){var o=YA.memoizedState;if(A=o.destroy,null!==r&&no(r,o.deps))return void ho(t,n,A,r)}JA.flags|=e,i.memoizedState=ho(1|t,n,A,r)}function Bo(e,t){return wo(516,4,e,t)}function vo(e,t){return mo(516,4,e,t)}function bo(e,t){return mo(4,2,e,t)}function yo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Co(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,mo(4,2,yo.bind(null,t,e),n)}function Eo(){}function No(e,t){var n=Ao();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&no(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qo(e,t){var n=Ao();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&no(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Fo(e,t){var n=Di();ji(98>n?98:n,(function(){e(!0)})),ji(97<n?97:n,(function(){var n=GA.transition;GA.transition=1;try{e(!1),t()}finally{GA.transition=n}}))}function Uo(e,t,n){var r=us(),i=cs(e),A={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?A.next=A:(A.next=o.next,o.next=A),t.pending=A,o=e.alternate,e===JA||null!==o&&o===JA)eo=ZA=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(A.eagerReducer=o,A.eagerState=s,ar(s,a))return}catch(u){}ls(e,i,r)}}var xo={readContext:rA,useCallback:to,useContext:to,useEffect:to,useImperativeHandle:to,useLayoutEffect:to,useMemo:to,useReducer:to,useRef:to,useState:to,useDebugValue:to,useDeferredValue:to,useTransition:to,useMutableSource:to,useOpaqueIdentifier:to,unstable_isNewReconciler:!1},Lo={readContext:rA,useCallback:function(e,t){return io().memoizedState=[e,void 0===t?null:t],e},useContext:rA,useEffect:Bo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wo(4,2,yo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wo(4,2,e,t)},useMemo:function(e,t){var n=io();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=io();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Uo.bind(null,JA,e),[r.memoizedState,e]},useRef:po,useState:fo,useDebugValue:Eo,useDeferredValue:function(e){var t=fo(e),n=t[0],r=t[1];return Bo((function(){var t=GA.transition;GA.transition=1;try{r(e)}finally{GA.transition=t}}),[e]),n},useTransition:function(){var e=fo(!1),t=e[0];return po(e=Fo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=io();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},co(r,e,t,n)},useOpaqueIdentifier:function(){if(PA){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Xr++).toString(36))),Error(o(355))})),n=fo(t)[1];return 0===(2&JA.mode)&&(JA.flags|=516,ho(5,(function(){n("r:"+(Xr++).toString(36))}),void 0,null)),t}return fo(t="r:"+(Xr++).toString(36)),t},unstable_isNewReconciler:!1},So={readContext:rA,useCallback:No,useContext:rA,useEffect:vo,useImperativeHandle:Co,useLayoutEffect:bo,useMemo:Qo,useReducer:ao,useRef:go,useState:function(){return ao(oo)},useDebugValue:Eo,useDeferredValue:function(e){var t=ao(oo),n=t[0],r=t[1];return vo((function(){var t=GA.transition;GA.transition=1;try{r(e)}finally{GA.transition=t}}),[e]),n},useTransition:function(){var e=ao(oo)[0];return[go().current,e]},useMutableSource:lo,useOpaqueIdentifier:function(){return ao(oo)[0]},unstable_isNewReconciler:!1},_o={readContext:rA,useCallback:No,useContext:rA,useEffect:vo,useImperativeHandle:Co,useLayoutEffect:bo,useMemo:Qo,useReducer:so,useRef:go,useState:function(){return so(oo)},useDebugValue:Eo,useDeferredValue:function(e){var t=so(oo),n=t[0],r=t[1];return vo((function(){var t=GA.transition;GA.transition=1;try{r(e)}finally{GA.transition=t}}),[e]),n},useTransition:function(){var e=so(oo)[0];return[go().current,e]},useMutableSource:lo,useOpaqueIdentifier:function(){return so(oo)[0]},unstable_isNewReconciler:!1},Ho=b.ReactCurrentOwner,ko=!1;function Io(e,t,n,r){t.child=null===e?EA(t,null,n,r):CA(t,e.child,n,r)}function Oo(e,t,n,r,i){n=n.render;var A=t.ref;return nA(t,i),r=ro(e,t,n,r,A,i),null===e||ko?(t.flags|=1,Io(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,na(e,t,i))}function To(e,t,n,r,i,A){if(null===e){var o=n.type;return"function"!==typeof o||Ks(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zs(n.type,null,r,t,t.mode,A)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Po(e,t,o,r,i,A))}return o=e.child,0===(i&A)&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)?na(e,t,A):(t.flags|=1,(e=js(o,r)).ref=t.ref,e.return=t,t.child=e)}function Po(e,t,n,r,i,A){if(null!==e&&ur(e.memoizedProps,r)&&e.ref===t.ref){if(ko=!1,0===(A&i))return t.lanes=e.lanes,na(e,t,A);0!==(16384&e.flags)&&(ko=!0)}return Do(e,t,n,r,A)}function Ro(e,t,n){var r=t.pendingProps,i=r.children,A=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},Bs(t,n);else{if(0===(1073741824&n))return e=null!==A?A.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Bs(t,e),null;t.memoizedState={baseLanes:0},Bs(t,null!==A?A.baseLanes:n)}else null!==A?(r=A.baseLanes|n,t.memoizedState=null):r=n,Bs(t,r);return Io(e,t,i,n),t.child}function Mo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Do(e,t,n,r,i){var A=di(n)?fi:ci.current;return A=hi(t,A),nA(t,i),n=ro(e,t,n,r,A,i),null===e||ko?(t.flags|=1,Io(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,na(e,t,i))}function Ko(e,t,n,r,i){if(di(n)){var A=!0;mi(t)}else A=!1;if(nA(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),gA(t,n,r),mA(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,a=t.memoizedProps;o.props=a;var s=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=rA(u):u=hi(t,u=di(n)?fi:ci.current);var c=n.getDerivedStateFromProps,l="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;l||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(a!==r||s!==u)&&wA(t,o,r,u),iA=!1;var f=t.memoizedState;o.state=f,cA(t,r,o,i),s=t.memoizedState,a!==r||f!==s||li.current||iA?("function"===typeof c&&(hA(t,n,c,r),s=t.memoizedState),(a=iA||pA(t,n,a,r,f,s,u))?(l||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4)):("function"===typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=u,r=a):("function"===typeof o.componentDidMount&&(t.flags|=4),r=!1)}else{o=t.stateNode,oA(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Gi(t.type,a),o.props=u,l=t.pendingProps,f=o.context,"object"===typeof(s=n.contextType)&&null!==s?s=rA(s):s=hi(t,s=di(n)?fi:ci.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(a!==l||f!==s)&&wA(t,o,r,s),iA=!1,f=t.memoizedState,o.state=f,cA(t,r,o,i);var d=t.memoizedState;a!==l||f!==d||li.current||iA?("function"===typeof h&&(hA(t,n,h,r),d=t.memoizedState),(u=iA||pA(t,n,u,r,f,d,s))?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,d,s),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,d,s)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=d),o.props=r,o.state=d,o.context=s,r=u):("function"!==typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return jo(e,t,n,r,A,i)}function jo(e,t,n,r,i,A){Mo(e,t);var o=0!==(64&t.flags);if(!r&&!o)return i&&Bi(t,n,!1),na(e,t,A);r=t.stateNode,Ho.current=t;var a=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=CA(t,e.child,null,A),t.child=CA(t,null,a,A)):Io(e,t,a,A),t.memoizedState=r.state,i&&Bi(t,n,!0),t.child}function zo(e){var t=e.stateNode;t.pendingContext?gi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gi(0,t.context,!1),LA(e,t.containerInfo)}var Vo,qo,Xo,Go={dehydrated:null,retryLane:0};function Wo(e,t,n){var r,i=t.pendingProps,A=kA.current,o=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&A)),r?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(A|=1),si(kA,1&A),null===e?(void 0!==i.fallback&&DA(t),e=i.children,A=i.fallback,o?(e=Jo(t,e,A,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Go,e):"number"===typeof i.unstable_expectedLoadTime?(e=Jo(t,e,A,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Go,t.lanes=33554432,e):((n=qs({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(i=$o(e,t,i.children,i.fallback,n),o=t.child,A=e.child.memoizedState,o.memoizedState=null===A?{baseLanes:n}:{baseLanes:A.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Go,i):(n=Yo(e,t,i.children,n),t.memoizedState=null,n))}function Jo(e,t,n,r){var i=e.mode,A=e.child;return t={mode:"hidden",children:t},0===(2&i)&&null!==A?(A.childLanes=0,A.pendingProps=t):A=qs(t,i,0,null),n=Vs(n,i,r,null),A.return=e,n.return=e,A.sibling=n,e.child=A,n}function Yo(e,t,n,r){var i=e.child;return e=i.sibling,n=js(i,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function $o(e,t,n,r,i){var A=t.mode,o=e.child;e=o.sibling;var a={mode:"hidden",children:n};return 0===(2&A)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=a,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=js(o,a),null!==e?r=js(e,r):(r=Vs(r,A,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Zo(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),tA(e.return,t)}function ea(e,t,n,r,i,A){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:A}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.lastEffect=A)}function ta(e,t,n){var r=t.pendingProps,i=r.revealOrder,A=r.tail;if(Io(e,t,r.children,n),0!==(2&(r=kA.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zo(e,n);else if(19===e.tag)Zo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(si(kA,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===IA(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ea(t,!1,i,n,A,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===IA(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ea(t,!0,n,null,A,t.lastEffect);break;case"together":ea(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function na(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pa|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=js(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=js(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ra(e,t){if(!PA)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ia(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return di(t.type)&&pi(),null;case 3:return SA(),ai(li),ai(ci),qA(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(jA(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:HA(t);var A=xA(UA.current);if(n=t.type,null!==e&&null!=t.stateNode)qo(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=xA(QA.current),jA(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Wr]=t,r[Jr]=a,n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Fr(Cr[e],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":ee(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":se(r,a),Fr("invalid",r)}for(var u in Ee(n,a),e=null,a)a.hasOwnProperty(u)&&(A=a[u],"children"===u?"string"===typeof A?r.textContent!==A&&(e=["children",A]):"number"===typeof A&&r.textContent!==""+A&&(e=["children",""+A]):s.hasOwnProperty(u)&&null!=A&&"onScroll"===u&&Fr("scroll",r));switch(n){case"input":J(r),re(r,a,!0);break;case"textarea":J(r),ce(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Tr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===A.nodeType?A:A.ownerDocument,e===le&&(e=he(n)),e===le?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Wr]=t,e[Jr]=r,Vo(e,t),t.stateNode=e,u=Ne(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),A=r;break;case"iframe":case"object":case"embed":Fr("load",e),A=r;break;case"video":case"audio":for(A=0;A<Cr.length;A++)Fr(Cr[A],e);A=r;break;case"source":Fr("error",e),A=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),A=r;break;case"details":Fr("toggle",e),A=r;break;case"input":ee(e,r),A=Z(e,r),Fr("invalid",e);break;case"option":A=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},A=i({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":se(e,r),A=ae(e,r),Fr("invalid",e);break;default:A=r}Ee(n,A);var c=A;for(a in c)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?ye(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&we(e,l):"children"===a?"string"===typeof l?("textarea"!==n||""!==l)&&me(e,l):"number"===typeof l&&me(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&Fr("scroll",e):null!=l&&v(e,a,l,u))}switch(n){case"input":J(e),re(e,r,!1);break;case"textarea":J(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?oe(e,!!r.multiple,a,!1):null!=r.defaultValue&&oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof A.onClick&&(e.onclick=Tr)}Mr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Xo(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));n=xA(UA.current),xA(QA.current),jA(t)?(r=t.stateNode,n=t.memoizedProps,r[Wr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Wr]=t,t.stateNode=r)}return null;case 13:return ai(kA),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&jA(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&kA.current)?0===Ia&&(Ia=3):(0!==Ia&&3!==Ia||(Ia=4),null===La||0===(134217727&Pa)&&0===(134217727&Ra)||ps(La,_a))),(r||n)&&(t.flags|=4),null);case 4:return SA(),null===e&&xr(t.stateNode.containerInfo),null;case 10:return eA(t),null;case 17:return di(t.type)&&pi(),null;case 19:if(ai(kA),null===(r=t.memoizedState))return null;if(a=0!==(64&t.flags),null===(u=r.rendering))if(a)ra(r,!1);else{if(0!==Ia||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(u=IA(e))){for(t.flags|=64,ra(r,!1),null!==(a=u.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return si(kA,1&kA.current|2),t.child}e=e.sibling}null!==r.tail&&Mi()>ja&&(t.flags|=64,a=!0,ra(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=IA(u))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ra(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!PA)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Mi()-r.renderingStartTime>ja&&1073741824!==n&&(t.flags|=64,a=!0,ra(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Mi(),n.sibling=null,t=kA.current,si(kA,a?1&t|2:1&t),n):null;case 23:case 24:return vs(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function Aa(e){switch(e.tag){case 1:di(e.type)&&pi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(SA(),ai(li),ai(ci),qA(),0!==(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return HA(e),null;case 13:return ai(kA),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ai(kA),null;case 4:return SA(),null;case 10:return eA(e),null;case 23:case 24:return vs(),null;default:return null}}function oa(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var i=n}catch(A){i="\nError generating stack: "+A.message+"\n"+A.stack}return{value:e,source:t,stack:i}}function aa(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Vo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qo=function(e,t,n,r){var A=e.memoizedProps;if(A!==r){e=t.stateNode,xA(QA.current);var o,a=null;switch(n){case"input":A=Z(e,A),r=Z(e,r),a=[];break;case"option":A=Ae(e,A),r=Ae(e,r),a=[];break;case"select":A=i({},A,{value:void 0}),r=i({},r,{value:void 0}),a=[];break;case"textarea":A=ae(e,A),r=ae(e,r),a=[];break;default:"function"!==typeof A.onClick&&"function"===typeof r.onClick&&(e.onclick=Tr)}for(l in Ee(n,r),n=null,A)if(!r.hasOwnProperty(l)&&A.hasOwnProperty(l)&&null!=A[l])if("style"===l){var u=A[l];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=A?A[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(a=a||[]).push(l,c)):"children"===l?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Fr("scroll",e),a||u===c||(a=[])):"object"===typeof c&&null!==c&&c.$$typeof===I?c.toString():(a=a||[]).push(l,c))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Xo=function(e,t,n,r){n!==r&&(t.flags|=4)};var sa="function"===typeof WeakMap?WeakMap:Map;function ua(e,t,n){(n=aA(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xa||(Xa=!0,Ga=r),aa(0,t)},n}function ca(e,t,n){(n=aA(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return aa(0,t),r(i)}}var A=e.stateNode;return null!==A&&"function"===typeof A.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Wa?Wa=new Set([this]):Wa.add(this),aa(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var la="function"===typeof WeakSet?WeakSet:Set;function fa(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Ts(e,n)}else t.current=null}function ha(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Gi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&zr(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(o(163))}function da(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(ks(n,e),Hs(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Gi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&lA(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}lA(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Mr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&yt(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(o(163))}function pa(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=be("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ga(e,t){if(bi&&"function"===typeof bi.onCommitFiberUnmount)try{bi.onCommitFiberUnmount(vi,t)}catch(A){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))ks(t,n);else{r=t;try{i()}catch(A){Ts(r,A)}}n=n.next}while(n!==e)}break;case 1:if(fa(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(A){Ts(t,A)}break;case 5:fa(t);break;case 4:ya(e,t)}}function wa(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ma(e){return 5===e.tag||3===e.tag||4===e.tag}function Ba(e){e:{for(var t=e.return;null!==t;){if(ma(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(me(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ma(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?va(e,n,t):ba(e,n,t)}function va(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Tr));else if(4!==r&&null!==(e=e.child))for(va(e,t,n),e=e.sibling;null!==e;)va(e,t,n),e=e.sibling}function ba(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ba(e,t,n),e=e.sibling;null!==e;)ba(e,t,n),e=e.sibling}function ya(e,t){for(var n,r,i=t,A=!1;;){if(!A){A=i.return;e:for(;;){if(null===A)throw Error(o(160));switch(n=A.stateNode,A.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}A=A.return}A=!0}if(5===i.tag||6===i.tag){e:for(var a=e,s=i,u=s;;)if(ga(a,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(a=n,s=i.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(ga(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(A=!1)}i.sibling.return=i.return,i=i.sibling}}function Ca(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var A=t.updateQueue;if(t.updateQueue=null,null!==A){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ne(e,i),t=Ne(e,r),i=0;i<A.length;i+=2){var a=A[i],s=A[i+1];"style"===a?ye(n,s):"dangerouslySetInnerHTML"===a?we(n,s):"children"===a?me(n,s):v(n,a,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(A=r.value)?oe(n,!!r.multiple,A,!1):e!==!!r.multiple&&(null!=r.defaultValue?oe(n,!!r.multiple,r.defaultValue,!0):oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,yt(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Ka=Mi(),pa(t.child,!0)),void Ea(t);case 19:return void Ea(t);case 17:return;case 23:case 24:return void pa(t,null!==t.memoizedState)}throw Error(o(163))}function Ea(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new la),t.forEach((function(t){var r=Rs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Na(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Qa=Math.ceil,Fa=b.ReactCurrentDispatcher,Ua=b.ReactCurrentOwner,xa=0,La=null,Sa=null,_a=0,Ha=0,ka=oi(0),Ia=0,Oa=null,Ta=0,Pa=0,Ra=0,Ma=0,Da=null,Ka=0,ja=1/0;function za(){ja=Mi()+500}var Va,qa=null,Xa=!1,Ga=null,Wa=null,Ja=!1,Ya=null,$a=90,Za=[],es=[],ts=null,ns=0,rs=null,is=-1,As=0,os=0,as=null,ss=!1;function us(){return 0!==(48&xa)?Mi():-1!==is?is:is=Mi()}function cs(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Di()?1:2;if(0===As&&(As=Ta),0!==Xi.transition){0!==os&&(os=null!==Da?Da.pendingLanes:0),e=As;var t=4186112&~os;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Di(),0!==(4&xa)&&98===e?e=Mt(12,As):e=Mt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),As),e}function ls(e,t,n){if(50<ns)throw ns=0,rs=null,Error(o(185));if(null===(e=fs(e,t)))return null;jt(e,t,n),e===La&&(Ra|=t,4===Ia&&ps(e,_a));var r=Di();1===t?0!==(8&xa)&&0===(48&xa)?gs(e):(hs(e,n),0===xa&&(za(),Vi())):(0===(4&xa)||98!==r&&99!==r||(null===ts?ts=new Set([e]):ts.add(e)),hs(e,n)),Da=e}function fs(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hs(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,A=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-zt(a),u=1<<s,c=A[s];if(-1===c){if(0===(u&r)||0!==(u&i)){c=t,Tt(u);var l=Ot;A[s]=10<=l?c+250:6<=l?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);a&=~u}if(r=Pt(e,e===La?_a:0),t=Ot,0===r)null!==n&&(n!==ki&&Ei(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ki&&Ei(n)}15===t?(n=gs.bind(null,e),null===Oi?(Oi=[n],Ti=Ci(xi,qi)):Oi.push(n),n=ki):14===t?n=zi(99,gs.bind(null,e)):n=zi(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,e))}}(t),ds.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ds(e){if(is=-1,os=As=0,0!==(48&xa))throw Error(o(327));var t=e.callbackNode;if(_s()&&e.callbackNode!==t)return null;var n=Pt(e,e===La?_a:0);if(0===n)return null;var r=n,i=xa;xa|=16;var A=Cs();for(La===e&&_a===r||(za(),bs(e,r));;)try{Qs();break}catch(s){ys(e,s)}if(Zi(),Fa.current=A,xa=i,null!==Sa?r=0:(La=null,_a=0,r=Ia),0!==(Ta&Ra))bs(e,0);else if(0!==r){if(2===r&&(xa|=64,e.hydrate&&(e.hydrate=!1,zr(e.containerInfo)),0!==(n=Rt(e))&&(r=Es(e,n))),1===r)throw t=Oa,bs(e,0),ps(e,n),hs(e,Mi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(o(345));case 2:xs(e);break;case 3:if(ps(e,n),(62914560&n)===n&&10<(r=Ka+500-Mi())){if(0!==Pt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){us(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Kr(xs.bind(null,e),r);break}xs(e);break;case 4:if(ps(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-zt(n);A=1<<a,(a=r[a])>i&&(i=a),n&=~A}if(n=i,10<(n=(120>(n=Mi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Qa(n/1960))-n)){e.timeoutHandle=Kr(xs.bind(null,e),n);break}xs(e);break;case 5:xs(e);break;default:throw Error(o(329))}}return hs(e,Mi()),e.callbackNode===t?ds.bind(null,e):null}function ps(e,t){for(t&=~Ma,t&=~Ra,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function gs(e){if(0!==(48&xa))throw Error(o(327));if(_s(),e===La&&0!==(e.expiredLanes&_a)){var t=_a,n=Es(e,t);0!==(Ta&Ra)&&(n=Es(e,t=Pt(e,t)))}else n=Es(e,t=Pt(e,0));if(0!==e.tag&&2===n&&(xa|=64,e.hydrate&&(e.hydrate=!1,zr(e.containerInfo)),0!==(t=Rt(e))&&(n=Es(e,t))),1===n)throw n=Oa,bs(e,0),ps(e,t),hs(e,Mi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,xs(e),hs(e,Mi()),null}function ws(e,t){var n=xa;xa|=1;try{return e(t)}finally{0===(xa=n)&&(za(),Vi())}}function ms(e,t){var n=xa;xa&=-2,xa|=8;try{return e(t)}finally{0===(xa=n)&&(za(),Vi())}}function Bs(e,t){si(ka,Ha),Ha|=t,Ta|=t}function vs(){Ha=ka.current,ai(ka)}function bs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,jr(n)),null!==Sa)for(n=Sa.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&pi();break;case 3:SA(),ai(li),ai(ci),qA();break;case 5:HA(r);break;case 4:SA();break;case 13:case 19:ai(kA);break;case 10:eA(r);break;case 23:case 24:vs()}n=n.return}La=e,Sa=js(e.current,null),_a=Ha=Ta=t,Ia=0,Oa=null,Ma=Ra=Pa=0}function ys(e,t){for(;;){var n=Sa;try{if(Zi(),XA.current=xo,ZA){for(var r=JA.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ZA=!1}if(WA=0,$A=YA=JA=null,eo=!1,Ua.current=null,null===n||null===n.return){Ia=1,Oa=t,Sa=null;break}e:{var A=e,o=n.return,a=n,s=t;if(t=_a,a.flags|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var u=s;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.lanes=c.lanes):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&kA.current),f=o;do{var h;if(h=13===f.tag){var d=f.memoizedState;if(null!==d)h=null!==d.dehydrated;else{var p=f.memoizedProps;h=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(h){var g=f.updateQueue;if(null===g){var w=new Set;w.add(u),f.updateQueue=w}else g.add(u);if(0===(2&f.mode)){if(f.flags|=64,a.flags|=16384,a.flags&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var m=aA(-1,1);m.tag=2,sA(a,m)}a.lanes|=1;break e}s=void 0,a=t;var B=A.pingCache;if(null===B?(B=A.pingCache=new sa,s=new Set,B.set(u,s)):void 0===(s=B.get(u))&&(s=new Set,B.set(u,s)),!s.has(a)){s.add(a);var v=Ps.bind(null,A,u,a);u.then(v,v)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);s=Error((X(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ia&&(Ia=2),s=oa(s,a),f=o;do{switch(f.tag){case 3:A=s,f.flags|=4096,t&=-t,f.lanes|=t,uA(f,ua(0,A,t));break e;case 1:A=s;var b=f.type,y=f.stateNode;if(0===(64&f.flags)&&("function"===typeof b.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===Wa||!Wa.has(y)))){f.flags|=4096,t&=-t,f.lanes|=t,uA(f,ca(f,A,t));break e}}f=f.return}while(null!==f)}Us(n)}catch(C){t=C,Sa===n&&null!==n&&(Sa=n=n.return);continue}break}}function Cs(){var e=Fa.current;return Fa.current=xo,null===e?xo:e}function Es(e,t){var n=xa;xa|=16;var r=Cs();for(La===e&&_a===t||bs(e,t);;)try{Ns();break}catch(i){ys(e,i)}if(Zi(),xa=n,Fa.current=r,null!==Sa)throw Error(o(261));return La=null,_a=0,Ia}function Ns(){for(;null!==Sa;)Fs(Sa)}function Qs(){for(;null!==Sa&&!Ni();)Fs(Sa)}function Fs(e){var t=Va(e.alternate,e,Ha);e.memoizedProps=e.pendingProps,null===t?Us(e):Sa=t,Ua.current=null}function Us(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ia(n,t,Ha)))return void(Sa=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ha)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Aa(t)))return n.flags&=2047,void(Sa=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Sa=t);Sa=t=e}while(null!==t);0===Ia&&(Ia=5)}function xs(e){var t=Di();return ji(99,Ls.bind(null,e,t)),null}function Ls(e,t){do{_s()}while(null!==Ya);if(0!==(48&xa))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,A=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<A;){var u=31-zt(A),c=1<<u;i[u]=0,a[u]=-1,s[u]=-1,A&=~c}if(null!==ts&&0===(24&r)&&ts.has(e)&&ts.delete(e),e===La&&(Sa=La=null,_a=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=xa,xa|=32,Ua.current=null,Pr=Wt,dr(a=hr())){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else e:if(s=(s=a.ownerDocument)&&s.defaultView||window,(c=s.getSelection&&s.getSelection())&&0!==c.rangeCount){s=c.anchorNode,A=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{s.nodeType,u.nodeType}catch(Q){s=null;break e}var l=0,f=-1,h=-1,d=0,p=0,g=a,w=null;t:for(;;){for(var m;g!==s||0!==A&&3!==g.nodeType||(f=l+A),g!==u||0!==c&&3!==g.nodeType||(h=l+c),3===g.nodeType&&(l+=g.nodeValue.length),null!==(m=g.firstChild);)w=g,g=m;for(;;){if(g===a)break t;if(w===s&&++d===A&&(f=l),w===u&&++p===c&&(h=l),null!==(m=g.nextSibling))break;w=(g=w).parentNode}g=m}s=-1===f||-1===h?null:{start:f,end:h}}else s=null;s=s||{start:0,end:0}}else s=null;Rr={focusedElem:a,selectionRange:s},Wt=!1,as=null,ss=!1,qa=r;do{try{Ss()}catch(Q){if(null===qa)throw Error(o(330));Ts(qa,Q),qa=qa.nextEffect}}while(null!==qa);as=null,qa=r;do{try{for(a=e;null!==qa;){var B=qa.flags;if(16&B&&me(qa.stateNode,""),128&B){var v=qa.alternate;if(null!==v){var b=v.ref;null!==b&&("function"===typeof b?b(null):b.current=null)}}switch(1038&B){case 2:Ba(qa),qa.flags&=-3;break;case 6:Ba(qa),qa.flags&=-3,Ca(qa.alternate,qa);break;case 1024:qa.flags&=-1025;break;case 1028:qa.flags&=-1025,Ca(qa.alternate,qa);break;case 4:Ca(qa.alternate,qa);break;case 8:ya(a,s=qa);var y=s.alternate;wa(s),null!==y&&wa(y)}qa=qa.nextEffect}}catch(Q){if(null===qa)throw Error(o(330));Ts(qa,Q),qa=qa.nextEffect}}while(null!==qa);if(b=Rr,v=hr(),B=b.focusedElem,a=b.selectionRange,v!==B&&B&&B.ownerDocument&&fr(B.ownerDocument.documentElement,B)){null!==a&&dr(B)&&(v=a.start,void 0===(b=a.end)&&(b=v),"selectionStart"in B?(B.selectionStart=v,B.selectionEnd=Math.min(b,B.value.length)):(b=(v=B.ownerDocument||document)&&v.defaultView||window).getSelection&&(b=b.getSelection(),s=B.textContent.length,y=Math.min(a.start,s),a=void 0===a.end?y:Math.min(a.end,s),!b.extend&&y>a&&(s=a,a=y,y=s),s=lr(B,y),A=lr(B,a),s&&A&&(1!==b.rangeCount||b.anchorNode!==s.node||b.anchorOffset!==s.offset||b.focusNode!==A.node||b.focusOffset!==A.offset)&&((v=v.createRange()).setStart(s.node,s.offset),b.removeAllRanges(),y>a?(b.addRange(v),b.extend(A.node,A.offset)):(v.setEnd(A.node,A.offset),b.addRange(v))))),v=[];for(b=B;b=b.parentNode;)1===b.nodeType&&v.push({element:b,left:b.scrollLeft,top:b.scrollTop});for("function"===typeof B.focus&&B.focus(),B=0;B<v.length;B++)(b=v[B]).element.scrollLeft=b.left,b.element.scrollTop=b.top}Wt=!!Pr,Rr=Pr=null,e.current=n,qa=r;do{try{for(B=e;null!==qa;){var C=qa.flags;if(36&C&&da(B,qa.alternate,qa),128&C){v=void 0;var E=qa.ref;if(null!==E){var N=qa.stateNode;switch(qa.tag){case 5:v=N;break;default:v=N}"function"===typeof E?E(v):E.current=v}}qa=qa.nextEffect}}catch(Q){if(null===qa)throw Error(o(330));Ts(qa,Q),qa=qa.nextEffect}}while(null!==qa);qa=null,Ii(),xa=i}else e.current=n;if(Ja)Ja=!1,Ya=e,$a=t;else for(qa=r;null!==qa;)t=qa.nextEffect,qa.nextEffect=null,8&qa.flags&&((C=qa).sibling=null,C.stateNode=null),qa=t;if(0===(r=e.pendingLanes)&&(Wa=null),1===r?e===rs?ns++:(ns=0,rs=e):ns=0,n=n.stateNode,bi&&"function"===typeof bi.onCommitFiberRoot)try{bi.onCommitFiberRoot(vi,n,void 0,64===(64&n.current.flags))}catch(Q){}if(hs(e,Mi()),Xa)throw Xa=!1,e=Ga,Ga=null,e;return 0!==(8&xa)||Vi(),null}function Ss(){for(;null!==qa;){var e=qa.alternate;ss||null===as||(0!==(8&qa.flags)?et(qa,as)&&(ss=!0):13===qa.tag&&Na(e,qa)&&et(qa,as)&&(ss=!0));var t=qa.flags;0!==(256&t)&&ha(e,qa),0===(512&t)||Ja||(Ja=!0,zi(97,(function(){return _s(),null}))),qa=qa.nextEffect}}function _s(){if(90!==$a){var e=97<$a?97:$a;return $a=90,ji(e,Is)}return!1}function Hs(e,t){Za.push(t,e),Ja||(Ja=!0,zi(97,(function(){return _s(),null})))}function ks(e,t){es.push(t,e),Ja||(Ja=!0,zi(97,(function(){return _s(),null})))}function Is(){if(null===Ya)return!1;var e=Ya;if(Ya=null,0!==(48&xa))throw Error(o(331));var t=xa;xa|=32;var n=es;es=[];for(var r=0;r<n.length;r+=2){var i=n[r],A=n[r+1],a=i.destroy;if(i.destroy=void 0,"function"===typeof a)try{a()}catch(u){if(null===A)throw Error(o(330));Ts(A,u)}}for(n=Za,Za=[],r=0;r<n.length;r+=2){i=n[r],A=n[r+1];try{var s=i.create;i.destroy=s()}catch(u){if(null===A)throw Error(o(330));Ts(A,u)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return xa=t,Vi(),!0}function Os(e,t,n){sA(e,t=ua(0,t=oa(n,t),1)),t=us(),null!==(e=fs(e,1))&&(jt(e,1,t),hs(e,t))}function Ts(e,t){if(3===e.tag)Os(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Os(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Wa||!Wa.has(r))){var i=ca(n,e=oa(t,e),1);if(sA(n,i),i=us(),null!==(n=fs(n,1)))jt(n,1,i),hs(n,i);else if("function"===typeof r.componentDidCatch&&(null===Wa||!Wa.has(r)))try{r.componentDidCatch(t,e)}catch(A){}break}}n=n.return}}function Ps(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=us(),e.pingedLanes|=e.suspendedLanes&n,La===e&&(_a&n)===n&&(4===Ia||3===Ia&&(62914560&_a)===_a&&500>Mi()-Ka?bs(e,0):Ma|=n),hs(e,t)}function Rs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Di()?1:2:(0===As&&(As=Ta),0===(t=Dt(62914560&~As))&&(t=4194304))),n=us(),null!==(e=fs(e,t))&&(jt(e,t,n),hs(e,n))}function Ms(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ds(e,t,n,r){return new Ms(e,t,n,r)}function Ks(e){return!(!(e=e.prototype)||!e.isReactComponent)}function js(e,t){var n=e.alternate;return null===n?((n=Ds(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zs(e,t,n,r,i,A){var a=2;if(r=e,"function"===typeof e)Ks(e)&&(a=1);else if("string"===typeof e)a=5;else e:switch(e){case E:return Vs(n.children,i,A,t);case O:a=8,i|=16;break;case N:a=8,i|=1;break;case Q:return(e=Ds(12,n,t,8|i)).elementType=Q,e.type=Q,e.lanes=A,e;case L:return(e=Ds(13,n,t,i)).type=L,e.elementType=L,e.lanes=A,e;case S:return(e=Ds(19,n,t,i)).elementType=S,e.lanes=A,e;case T:return qs(n,i,A,t);case P:return(e=Ds(24,n,t,i)).elementType=P,e.lanes=A,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case F:a=10;break e;case U:a=9;break e;case x:a=11;break e;case _:a=14;break e;case H:a=16,r=null;break e;case k:a=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ds(a,n,t,i)).elementType=e,t.type=r,t.lanes=A,t}function Vs(e,t,n,r){return(e=Ds(7,e,r,t)).lanes=n,e}function qs(e,t,n,r){return(e=Ds(23,e,r,t)).elementType=T,e.lanes=n,e}function Xs(e,t,n){return(e=Ds(6,e,null,t)).lanes=n,e}function Gs(e,t,n){return(t=Ds(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ws(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Kt(0),this.expirationTimes=Kt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kt(0),this.mutableSourceEagerHydrationData=null}function Js(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ys(e,t,n,r){var i=t.current,A=us(),a=cs(i);e:if(n){t:{if(Je(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(di(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(o(171))}if(1===n.tag){var u=n.type;if(di(u)){n=wi(n,u,s);break e}}n=s}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=aA(A,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sA(i,t),ls(i,a,A),a}function $s(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Zs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function eu(e,t){Zs(e,t),(e=e.alternate)&&Zs(e,t)}function tu(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ws(e,t,null!=n&&!0===n.hydrate),t=Ds(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,AA(t),e[Yr]=n.current,xr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ru(e,t,n,r,i){var A=n._reactRootContainer;if(A){var o=A._internalRoot;if("function"===typeof i){var a=i;i=function(){var e=$s(o);a.call(e)}}Ys(t,o,e,i)}else{if(A=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tu(e,0,t?{hydrate:!0}:void 0)}(n,r),o=A._internalRoot,"function"===typeof i){var s=i;i=function(){var e=$s(o);s.call(e)}}ms((function(){Ys(t,o,e,i)}))}return $s(o)}function iu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nu(t))throw Error(o(200));return Js(e,t,null,n)}Va=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||li.current)ko=!0;else{if(0===(n&r)){switch(ko=!1,t.tag){case 3:zo(t),zA();break;case 5:_A(t);break;case 1:di(t.type)&&mi(t);break;case 4:LA(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;si(Wi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Wo(e,t,n):(si(kA,1&kA.current),null!==(t=na(e,t,n))?t.sibling:null);si(kA,1&kA.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return ta(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),si(kA,kA.current),r)break;return null;case 23:case 24:return t.lanes=0,Ro(e,t,n)}return na(e,t,n)}ko=0!==(16384&e.flags)}else ko=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=hi(t,ci.current),nA(t,n),i=ro(null,t,r,e,i,n),t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,di(r)){var A=!0;mi(t)}else A=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,AA(t);var a=r.getDerivedStateFromProps;"function"===typeof a&&hA(t,r,a,e),i.updater=dA,t.stateNode=i,i._reactInternals=t,mA(t,r,e,n),t=jo(null,t,r,!0,A,n)}else t.tag=0,Io(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(A=i._init)(i._payload),t.type=i,A=t.tag=function(e){if("function"===typeof e)return Ks(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===x)return 11;if(e===_)return 14}return 2}(i),e=Gi(i,e),A){case 0:t=Do(null,t,i,e,n);break e;case 1:t=Ko(null,t,i,e,n);break e;case 11:t=Oo(null,t,i,e,n);break e;case 14:t=To(null,t,i,Gi(i.type,e),r,n);break e}throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Do(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ko(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 3:if(zo(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,oA(e,t),cA(t,r,null,n),(r=t.memoizedState.element)===i)zA(),t=na(e,t,n);else{if((A=(i=t.stateNode).hydrate)&&(TA=Vr(t.stateNode.containerInfo.firstChild),OA=t,A=PA=!0),A){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(A=e[i])._workInProgressVersionPrimary=e[i+1],VA.push(A);for(n=EA(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Io(e,t,r,n),zA();t=t.child}return t;case 5:return _A(t),null===e&&DA(t),r=t.type,i=t.pendingProps,A=null!==e?e.memoizedProps:null,a=i.children,Dr(r,i)?a=null:null!==A&&Dr(r,A)&&(t.flags|=16),Mo(e,t),Io(e,t,a,n),t.child;case 6:return null===e&&DA(t),null;case 13:return Wo(e,t,n);case 4:return LA(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=CA(t,null,r,n):Io(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Oo(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 7:return Io(e,t,t.pendingProps,n),t.child;case 8:case 12:return Io(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,a=t.memoizedProps,A=i.value;var s=t.type._context;if(si(Wi,s._currentValue),s._currentValue=A,null!==a)if(s=a.value,0===(A=ar(s,A)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,A):1073741823))){if(a.children===i.children&&!li.current){t=na(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){a=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&A)){1===s.tag&&((c=aA(-1,n&-n)).tag=2,sA(s,c)),s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),tA(s.return,n),u.lanes|=n;break}c=c.next}}else a=10===s.tag&&s.type===t.type?null:s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}Io(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(A=t.pendingProps).children,nA(t,n),r=r(i=rA(i,A.unstable_observedBits)),t.flags|=1,Io(e,t,r,n),t.child;case 14:return A=Gi(i=t.type,t.pendingProps),To(e,t,i,A=Gi(i.type,A),r,n);case 15:return Po(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,di(r)?(e=!0,mi(t)):e=!1,nA(t,n),gA(t,r,i),mA(t,r,i,n),jo(null,t,r,!0,e,n);case 19:return ta(e,t,n);case 23:case 24:return Ro(e,t,n)}throw Error(o(156,t.tag))},tu.prototype.render=function(e){Ys(e,this._internalRoot,null,null)},tu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ys(null,e,null,(function(){t[Yr]=null}))},tt=function(e){13===e.tag&&(ls(e,4,us()),eu(e,4))},nt=function(e){13===e.tag&&(ls(e,67108864,us()),eu(e,67108864))},rt=function(e){if(13===e.tag){var t=us(),n=cs(e);ls(e,n,t),eu(e,n)}},it=function(e,t){return t()},Fe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ni(r);if(!i)throw Error(o(90));Y(r),ne(r,i)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},He=ws,ke=function(e,t,n,r,i){var A=xa;xa|=4;try{return ji(98,e.bind(null,t,n,r,i))}finally{0===(xa=A)&&(za(),Vi())}},Ie=function(){0===(49&xa)&&(function(){if(null!==ts){var e=ts;ts=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hs(e,Mi())}))}Vi()}(),_s())},Oe=function(e,t){var n=xa;xa|=2;try{return e(t)}finally{0===(xa=n)&&(za(),Vi())}};var Au={Events:[ei,ti,ni,Se,_e,_s,{current:!1}]},ou={findFiberByHostInstance:Zr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},au={bundleType:ou.bundleType,version:ou.version,rendererPackageName:ou.rendererPackageName,rendererConfig:ou.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:ou.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!su.isDisabled&&su.supportsFiber)try{vi=su.inject(au),bi=su}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Au,t.createPortal=iu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var n=xa;if(0!==(48&n))return e(t);xa|=1;try{if(e)return ji(99,e.bind(null,t))}finally{xa=n,Vi()}},t.hydrate=function(e,t,n){if(!nu(t))throw Error(o(200));return ru(null,e,t,!0,n)},t.render=function(e,t,n){if(!nu(t))throw Error(o(200));return ru(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nu(e))throw Error(o(40));return!!e._reactRootContainer&&(ms((function(){ru(null,null,e,!1,(function(){e._reactRootContainer=null,e[Yr]=null}))})),!0)},t.unstable_batchedUpdates=ws,t.unstable_createPortal=function(e,t){return iu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ru(e,t,n,!1,r)},t.version="17.0.2"},function(e,t,n){"use strict";e.exports=n(49)},function(e,t,n){"use strict";var r,i,A,o;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,l=null,f=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(f,0))},i=function(e,t){l=setTimeout(e,t)},A=function(){clearTimeout(l)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,d=window.clearTimeout;if("undefined"!==typeof console){var p=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,w=null,m=-1,B=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,y=b.port2;b.port1.onmessage=function(){if(null!==w){var e=t.unstable_now();v=e+B;try{w(!0,e)?y.postMessage(null):(g=!1,w=null)}catch(n){throw y.postMessage(null),n}}else g=!1},r=function(e){w=e,g||(g=!0,y.postMessage(null))},i=function(e,n){m=h((function(){e(t.unstable_now())}),n)},A=function(){d(m),m=-1}}function C(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<Q(i,t)))break e;e[r]=t,e[n]=i,n=r}}function E(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var A=2*(r+1)-1,o=e[A],a=A+1,s=e[a];if(void 0!==o&&0>Q(o,n))void 0!==s&&0>Q(s,o)?(e[r]=s,e[a]=n,r=a):(e[r]=o,e[A]=n,r=A);else{if(!(void 0!==s&&0>Q(s,n)))break e;e[r]=s,e[a]=n,r=a}}}return t}return null}function Q(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],U=[],x=1,L=null,S=3,_=!1,H=!1,k=!1;function I(e){for(var t=E(U);null!==t;){if(null===t.callback)N(U);else{if(!(t.startTime<=e))break;N(U),t.sortIndex=t.expirationTime,C(F,t)}t=E(U)}}function O(e){if(k=!1,I(e),!H)if(null!==E(F))H=!0,r(T);else{var t=E(U);null!==t&&i(O,t.startTime-e)}}function T(e,n){H=!1,k&&(k=!1,A()),_=!0;var r=S;try{for(I(n),L=E(F);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=L.callback;if("function"===typeof o){L.callback=null,S=L.priorityLevel;var a=o(L.expirationTime<=n);n=t.unstable_now(),"function"===typeof a?L.callback=a:L===E(F)&&N(F),I(n)}else N(F);L=E(F)}if(null!==L)var s=!0;else{var u=E(U);null!==u&&i(O,u.startTime-n),s=!1}return s}finally{L=null,S=r,_=!1}}var P=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){H||_||(H=!0,r(T))},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_getFirstCallbackNode=function(){return E(F)},t.unstable_next=function(e){switch(S){case 1:case 2:case 3:var t=3;break;default:t=S}var n=S;S=t;try{return e()}finally{S=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=P,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=S;S=e;try{return t()}finally{S=n}},t.unstable_scheduleCallback=function(e,n,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:x++,callback:n,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,C(U,e),null===E(F)&&e===E(U)&&(k?A():k=!0,i(O,o-a))):(e.sortIndex=s,C(F,e),H||_||(H=!0,r(T))),e},t.unstable_wrapCallback=function(e){var t=S;return function(){var n=S;S=t;try{return e.apply(this,arguments)}finally{S=n}}}},function(e,t,n){"use strict";var r=n(51);function i(){}function A(){}A.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,A,o){if(o!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:A,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,A=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,w=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,B=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case l:case f:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case c:case h:case w:case g:case u:return e;default:return t}}case A:return t}}}function C(e){return y(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=i,t.ForwardRef=h,t.Fragment=o,t.Lazy=w,t.Memo=g,t.Portal=A,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return C(e)||y(e)===l},t.isConcurrentMode=C,t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return y(e)===h},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===w},t.isMemo=function(e){return y(e)===g},t.isPortal=function(e){return y(e)===A},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===s||e===a||e===d||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===w||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===h||e.$$typeof===B||e.$$typeof===v||e.$$typeof===b||e.$$typeof===m)},t.typeOf=y},function(e,t,n){},,function(e,t,n){"use strict";var r=n(9),i=n(32),A=n(56),o=n(38);function a(e){var t=new A(e),n=i(A.prototype.request,t);return r.extend(n,A.prototype,t),r.extend(n,t),n}var s=a(n(35));s.Axios=A,s.create=function(e){return a(o(s.defaults,e))},s.Cancel=n(39),s.CancelToken=n(69),s.isCancel=n(34),s.all=function(e){return Promise.all(e)},s.spread=n(70),s.isAxiosError=n(71),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(9),i=n(33),A=n(57),o=n(58),a=n(38);function s(e){this.defaults=e,this.interceptors={request:new A,response:new A}}s.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[o,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},s.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=s},function(e,t,n){"use strict";var r=n(9);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(9),i=n(59),A=n(34),o=n(35);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return a(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return A(t)||(a(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(37);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(9);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,A,o){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(A)&&a.push("domain="+A),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(65),i=n(66);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(9),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,A,o={};return e?(r.forEach(e.split("\n"),(function(e){if(A=e.indexOf(":"),t=r.trim(e.substr(0,A)).toLowerCase(),n=r.trim(e.substr(A+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},function(e,t,n){"use strict";var r=n(9);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(39);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";n(27);var r=n(1),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var A=Symbol.for;i=A("react.element"),t.Fragment=A("react.fragment")}var o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,A={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(A[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===A[r]&&(A[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:A,_owner:o.current}}t.jsx=u,t.jsxs=u},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i=1,A={},o=!1,a=e.document,s=Object.getPrototypeOf&&Object.getPrototypeOf(e);s=s&&s.setTimeout?s:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){c(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&c(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){c(e.data)},r=function(t){e.port2.postMessage(t)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var e=a.documentElement;r=function(t){var n=a.createElement("script");n.onreadystatechange=function(){c(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():r=function(e){setTimeout(c,0,e)},s.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return A[i]=o,r(i),i++},s.clearImmediate=u}function u(e){delete A[e]}function c(e){if(o)setTimeout(c,0,e);else{var t=A[e];if(t){o=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),o=!1}}}}}("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,n(21),n(31))},,,,,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=n(43),A=n.n(i),o=n(1),a=n.n(o),s=a.a.createContext({});s.Consumer,s.Provider;function u(e,t){var n=Object(o.useContext)(s);return e||n[t]||t}var c=["bsPrefix","variant","animation","size","children","as","className"],l=a.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.variant,o=e.animation,s=e.size,l=e.children,f=e.as,h=void 0===f?"div":f,d=e.className,p=function(e,t){if(null==e)return{};var n,r,i={},A=Object.keys(e);for(r=0;r<A.length;r++)n=A[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,c),g=(n=u(n,"spinner"))+"-"+o;return a.a.createElement(h,r({ref:t},p,{className:A()(d,g,s&&g+"-"+s,i&&"text-"+i)}),l)}));l.displayName="Spinner";t.a=l}]]);
  //# sourceMappingURL=3.20139386.chunk.js.map