lightman-agent 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/agent.config.template.json +30 -30
  2. package/package.json +52 -52
  3. package/public/assets/index-CcBNCz6h.css +1 -1
  4. package/public/assets/index-D9QHMG8k.js +1 -0
  5. package/public/assets/index-H-8HDl46.js +1 -1
  6. package/public/assets/index-YodeiCia.css +1 -0
  7. package/public/assets/index-legacy-DWtNM8y7.js +41 -0
  8. package/public/assets/museum-map-CwVDA2z1.svg +4182 -0
  9. package/public/assets/polyfills-legacy-DyVYWHbW.js +4 -0
  10. package/public/index.html +7 -2
  11. package/public/templates/custom08/elements/back-button.svg +20 -0
  12. package/public/templates/custom08/elements/base-map-background.svg +37 -0
  13. package/public/templates/custom08/elements/base-map.svg +1191 -0
  14. package/public/templates/custom08/elements/gallery-1-2-3-info-panel.svg +236 -0
  15. package/public/templates/custom08/elements/gallery-4-5-6-7-info-panel.svg +266 -0
  16. package/public/templates/custom08/elements/gallery-8-9-info-panel.svg +274 -0
  17. package/public/templates/custom08/elements/gallery-labels/_nav-map-styles.css +554 -0
  18. package/public/templates/custom08/elements/gallery-labels/_styles.css +556 -0
  19. package/public/templates/custom08/elements/gallery-labels/gallery-1.svg +35 -0
  20. package/public/templates/custom08/elements/gallery-labels/gallery-2.svg +34 -0
  21. package/public/templates/custom08/elements/gallery-labels/gallery-3.svg +34 -0
  22. package/public/templates/custom08/elements/gallery-labels/gallery-4.svg +37 -0
  23. package/public/templates/custom08/elements/gallery-labels/gallery-5.svg +34 -0
  24. package/public/templates/custom08/elements/gallery-labels/gallery-6.svg +34 -0
  25. package/public/templates/custom08/elements/gallery-labels/gallery-7.svg +34 -0
  26. package/public/templates/custom08/elements/gallery-labels/gallery-8.svg +37 -0
  27. package/public/templates/custom08/elements/gallery-labels/gallery-9.svg +34 -0
  28. package/public/templates/custom08/elements/hand-hint.png +0 -0
  29. package/public/templates/custom08/elements/idle-screen-bg.svg +5 -0
  30. package/public/templates/custom08/elements/idle-screen-map.svg +627 -0
  31. package/public/templates/custom08/elements/idle-screen-text.svg +350 -0
  32. package/public/templates/custom08/elements/key-map-1.svg +986 -0
  33. package/public/templates/custom08/elements/key-map-2.svg +1018 -0
  34. package/public/templates/custom08/elements/key-map-3.svg +1019 -0
  35. package/public/templates/custom08/elements/key-map-combined.svg +1001 -0
  36. package/public/templates/custom08/elements/map-highlight-marker.svg +11 -0
  37. package/public/templates/custom08/elements/map-pin-marker.svg +15 -0
  38. package/public/templates/custom08/elements/map-teardrop-star-marker.svg +13 -0
  39. package/public/templates/custom08/elements/nav-circle-galleries-1-3.svg +21 -0
  40. package/public/templates/custom08/elements/nav-circle-galleries-4-7.svg +24 -0
  41. package/public/templates/custom08/elements/nav-circle-galleries-8-9.svg +20 -0
  42. package/public/templates/custom08/elements/section1-map.svg +1435 -0
  43. package/public/templates/custom08/elements/section2-map.svg +1724 -0
  44. package/public/templates/custom08/elements/section3-map.svg +1295 -0
  45. package/public/templates/custom08/fonts/CabinetGrotesk-Variable.ttf +0 -0
  46. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.23.12_PM.png +0 -0
  47. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.23.56_PM.png +0 -0
  48. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.24.24_PM.png +0 -0
  49. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.31.58_PM.jpg +0 -0
  50. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.11_PM.jpg +0 -0
  51. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.36_PM.jpg +0 -0
  52. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.48_PM.jpg +0 -0
  53. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.59_PM.jpg +0 -0
  54. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.15_PM.jpg +0 -0
  55. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.27_PM.jpg +0 -0
  56. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.34_PM.jpg +0 -0
  57. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.42_PM.jpg +0 -0
  58. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.50_PM.jpg +0 -0
  59. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.58_PM.jpg +0 -0
  60. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.04_PM.jpg +0 -0
  61. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.11_PM.jpg +0 -0
  62. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.20_PM.jpg +0 -0
  63. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.57_PM.jpg +0 -0
  64. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.03_PM.jpg +0 -0
  65. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.16_PM.jpg +0 -0
  66. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.23_PM.jpg +0 -0
  67. package/public/templates/custom08/images/highlights/prologue-highlight.png +0 -0
  68. package/scripts/guardian.ps1 +75 -75
  69. package/scripts/install-linux.sh +134 -134
  70. package/scripts/install-rpi.sh +117 -117
  71. package/scripts/install-windows.ps1 +505 -505
  72. package/scripts/launch-kiosk.vbs +101 -101
  73. package/scripts/lightman-agent.logrotate +12 -12
  74. package/scripts/lightman-agent.service +38 -38
  75. package/scripts/lightman-shell.bat +107 -107
  76. package/scripts/reinstall-windows.ps1 +26 -26
  77. package/scripts/restore-desktop.ps1 +32 -32
  78. package/scripts/setup.ps1 +116 -116
  79. package/scripts/setup.sh +115 -115
  80. package/scripts/sync-display.mjs +20 -0
  81. package/scripts/uninstall-linux.sh +50 -50
  82. package/scripts/uninstall-windows.ps1 +54 -54
  83. package/src/commands/display.ts +177 -177
  84. package/src/commands/kiosk.ts +113 -113
  85. package/src/commands/maintenance.ts +106 -106
  86. package/src/commands/network.ts +129 -129
  87. package/src/commands/power.ts +163 -163
  88. package/src/commands/rpi.ts +45 -45
  89. package/src/commands/screenshot.ts +166 -166
  90. package/src/commands/serial.ts +17 -17
  91. package/src/commands/update.ts +124 -124
  92. package/src/index.ts +652 -652
  93. package/src/lib/config.ts +69 -69
  94. package/src/lib/identity.ts +40 -40
  95. package/src/lib/logger.ts +137 -137
  96. package/src/lib/platform.ts +10 -10
  97. package/src/lib/rpi.ts +180 -180
  98. package/src/lib/screens.ts +128 -128
  99. package/src/lib/types.ts +176 -176
  100. package/src/services/commands.ts +107 -107
  101. package/src/services/health.ts +161 -161
  102. package/src/services/kiosk.ts +384 -384
  103. package/src/services/localEvents.ts +60 -60
  104. package/src/services/logForwarder.ts +72 -72
  105. package/src/services/multiScreenKiosk.ts +324 -324
  106. package/src/services/oscBridge.ts +186 -186
  107. package/src/services/powerScheduler.ts +260 -260
  108. package/src/services/provisioning.ts +120 -120
  109. package/src/services/serialBridge.ts +230 -230
  110. package/src/services/serviceLauncher.ts +183 -183
  111. package/src/services/staticServer.ts +226 -226
  112. package/src/services/updater.ts +249 -249
  113. package/src/services/watchdog.ts +310 -310
  114. package/src/services/websocket.ts +152 -152
  115. package/tsconfig.json +28 -28
@@ -0,0 +1 @@
1
+ var e=Object.defineProperty,t=(t,n,r)=>((t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r)(t,"symbol"!=typeof n?n+"":n,r);function n(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var r=Array.prototype,i=String.prototype,o=Object,a=Promise;if("function"!=typeof r.flat&&(r.flat=function(e){var t="number"==typeof e?e:1;if(t<1)return this.slice();for(var n=[],i=0;i<this.length;i++){var o=this[i];if(Array.isArray(o)&&t>0)for(var a=r.flat.call(o,t-1),s=0;s<a.length;s++)n.push(a[s]);else n.push(o)}return n}),"function"!=typeof r.flatMap&&(r.flatMap=function(e,t){var n=this.map(e,t);return r.flat.call(n,1)}),"function"!=typeof o.entries&&(o.entries=function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)n.push([t[r],e[t[r]]]);return n}),"function"!=typeof o.fromEntries&&(o.fromEntries=function(e){for(var t={},n=e[Symbol.iterator](),r=n.next();!r.done;){var i=r.value;t[i[0]]=i[1],r=n.next()}return t}),"function"!=typeof i.replaceAll&&(i.replaceAll=function(e,t){if(e instanceof RegExp){if(!e.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument");return this.replace(e,t)}var n=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(n,"g");return this.replace(r,t)}),"function"!=typeof i.padStart&&(i.padStart=function(e,t){var n=String(this),r="string"==typeof t?t:" ";if((e=Math.floor(e)||0)<=n.length)return n;for(;n.length<e;)n=r+n;return n.slice(-e)}),"function"!=typeof i.padEnd&&(i.padEnd=function(e,t){var n=String(this),r="string"==typeof t?t:" ";if((e=Math.floor(e)||0)<=n.length)return n;for(;n.length<e;)n+=r;return n.slice(0,e)}),"function"!=typeof a.allSettled&&(a.allSettled=function(e){var t=Array.from(e).map(function(e){return Promise.resolve(e).then(function(e){return{status:"fulfilled",value:e}},function(e){return{status:"rejected",reason:e}})});return Promise.all(t)}),"undefined"==typeof globalThis&&("undefined"!=typeof self?self.globalThis=self:"undefined"!=typeof window&&(window.globalThis=window)),"function"!=typeof queueMicrotask&&(window.queueMicrotask=function(e){Promise.resolve().then(e)}),"undefined"==typeof AbortController){var s=function(){function e(){this.aborted=!1,this.reason=void 0,this._listeners=[]}return e.prototype.addEventListener=function(e,t){"abort"===e&&this._listeners.push(t)},e.prototype.removeEventListener=function(e,t){if("abort"===e){var n=this._listeners.indexOf(t);-1!==n&&this._listeners.splice(n,1)}},e.prototype._dispatch=function(){for(var e=0;e<this._listeners.length;e++)try{this._listeners[e]()}catch(t){}},e}();window.AbortController=function(){function e(){this.signal=new s}return e.prototype.abort=function(e){this.signal.aborted||(this.signal.aborted=!0,this.signal.reason=void 0!==e?e:new DOMException("The operation was aborted.","AbortError"),this.signal._dispatch())},e}()}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch(r){}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var f={exports:{}};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p,h,y={exports:{}},g=y.exports={};function m(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}function b(e){if(p===setTimeout)return setTimeout(e,0);if((p===m||!p)&&setTimeout)return p=setTimeout,setTimeout(e,0);try{return p(e,0)}catch(t){try{return p.call(null,e,0)}catch(n){return p.call(this,e,0)}}}!function(){try{p="function"==typeof setTimeout?setTimeout:m}catch(e){p=m}try{h="function"==typeof clearTimeout?clearTimeout:v}catch(e){h=v}}();var w,_=[],x=!1,S=-1;function k(){x&&w&&(x=!1,w.length?_=w.concat(_):S=-1,_.length&&E())}function E(){if(!x){var e=b(k);x=!0;for(var t=_.length;t;){for(w=_,_=[];++S<t;)w&&w[S].run();S=-1,t=_.length}w=null,x=!1,function(e){if(h===clearTimeout)return clearTimeout(e);if((h===v||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(n){return h.call(this,e)}}}(e)}}function I(e,t){this.fun=e,this.array=t}function C(){}g.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];_.push(new I(e,t)),1!==_.length||x||b(E)},I.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=C,g.addListener=C,g.once=C,g.off=C,g.removeListener=C,g.removeAllListeners=C,g.emit=C,g.prependListener=C,g.prependOnceListener=C,g.listeners=function(e){return[]},g.binding=function(e){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(e){throw new Error("process.chdir is not supported")},g.umask=function(){return 0};const T=d(y.exports);var M,A,O={};function P(){if(M)return O;M=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,y={};function g(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}function m(){}function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=g.prototype;var b=v.prototype=new m;b.constructor=v,h(b,g.prototype),b.isPureReactComponent=!0;var w=Array.isArray;function _(){}var x={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function k(t,n,r){var i=r.ref;return{$$typeof:e,type:t,key:n,ref:void 0!==i?i:null,props:r}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var I=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function A(n,r,i,o,a){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l,c,f=!1;if(null===n)f=!0;else switch(s){case"bigint":case"string":case"number":f=!0;break;case"object":switch(n.$$typeof){case e:case t:f=!0;break;case u:return A((f=n._init)(n._payload),r,i,o,a)}}if(f)return a=a(n),f=""===o?"."+C(n,0):o,w(a)?(i="",null!=f&&(i=f.replace(I,"$&/")+"/"),A(a,r,i,"",function(e){return e})):null!=a&&(E(a)&&(l=a,c=i+(null==a.key||n&&n.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+f,a=k(l.type,c,l.props)),r.push(a)),1;f=0;var p,h=""===o?".":o+":";if(w(n))for(var y=0;y<n.length;y++)f+=A(o=n[y],r,i,s=h+C(o,y),a);else if("function"==typeof(y=null===(p=n)||"object"!=typeof p?null:"function"==typeof(p=d&&p[d]||p["@@iterator"])?p:null))for(n=y.call(n),y=0;!(o=n.next()).done;)f+=A(o=o.value,r,i,s=h+C(o,y++),a);else if("object"===s){if("function"==typeof n.then)return A(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(_,_):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,i,o,a);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return f}function P(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof T&&"function"==typeof T.emit)return void T.emit("uncaughtException",e);console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return O.Activity=f,O.Children=L,O.Component=g,O.Fragment=n,O.Profiler=i,O.PureComponent=v,O.StrictMode=r,O.Suspense=l,O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,O.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}},O.cache=function(e){return function(){return e.apply(null,arguments)}},O.cacheSignal=function(){return null},O.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),i=e.key;if(null!=t)for(o in void 0!==t.key&&(i=""+t.key),t)!S.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];r.children=a}return k(e.type,i,r)},O.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:o,_context:e},e},O.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)S.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return k(e,o,i)},O.createRef=function(){return{current:null}},O.forwardRef=function(e){return{$$typeof:s,render:e}},O.isValidElement=E,O.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:j}},O.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},O.startTransition=function(e){var t=x.T,n={};x.T=n;try{var r=e(),i=x.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(_,R)}catch(o){R(o)}finally{null!==t&&null!==n.types&&(t.types=n.types),x.T=t}},O.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},O.use=function(e){return x.H.use(e)},O.useActionState=function(e,t,n){return x.H.useActionState(e,t,n)},O.useCallback=function(e,t){return x.H.useCallback(e,t)},O.useContext=function(e){return x.H.useContext(e)},O.useDebugValue=function(){},O.useDeferredValue=function(e,t){return x.H.useDeferredValue(e,t)},O.useEffect=function(e,t){return x.H.useEffect(e,t)},O.useEffectEvent=function(e){return x.H.useEffectEvent(e)},O.useId=function(){return x.H.useId()},O.useImperativeHandle=function(e,t,n){return x.H.useImperativeHandle(e,t,n)},O.useInsertionEffect=function(e,t){return x.H.useInsertionEffect(e,t)},O.useLayoutEffect=function(e,t){return x.H.useLayoutEffect(e,t)},O.useMemo=function(e,t){return x.H.useMemo(e,t)},O.useOptimistic=function(e,t){return x.H.useOptimistic(e,t)},O.useReducer=function(e,t,n){return x.H.useReducer(e,t,n)},O.useRef=function(e){return x.H.useRef(e)},O.useState=function(e){return x.H.useState(e)},O.useSyncExternalStore=function(e,t,n){return x.H.useSyncExternalStore(e,t,n)},O.useTransition=function(){return x.H.useTransition()},O.version="19.2.3",O}function j(){return A||(A=1,f.exports=P()),f.exports}var R=j();const L=c(R);var N,B,F={exports:{}},D={},z={exports:{}},U={};function W(){return B||(B=1,z.exports=(N||(N=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,f=null,d=3,p=!1,h=!1,y=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var i=n(c);null!==i;){if(null===i.callback)r(c);else{if(!(i.startTime<=e))break;r(c),i.sortIndex=i.expirationTime,t(l,i)}i=n(c)}}function _(e){if(y=!1,w(e),!h)if(null!==n(l))h=!0,S||(S=!0,x());else{var t=n(c);null!==t&&O(_,t.startTime-e)}}var x,S=!1,k=-1,E=5,I=-1;function C(){return!(!g&&e.unstable_now()-I<E)}function T(){if(g=!1,S){var t=e.unstable_now();I=t;var i=!0;try{e:{h=!1,y&&(y=!1,v(k),k=-1),p=!0;var o=d;try{t:{for(w(t),f=n(l);null!==f&&!(f.expirationTime>t&&C());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var s=a(f.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){f.callback=s,w(t),i=!0;break t}f===n(l)&&r(l),w(t)}else r(l);f=n(l)}if(null!==f)i=!0;else{var u=n(c);null!==u&&O(_,u.startTime-t),i=!1}}break e}finally{f=null,d=o,p=!1}i=void 0}}finally{i?x():S=!1}}}if("function"==typeof b)x=function(){b(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,A=M.port2;M.port1.onmessage=T,x=function(){A.postMessage(null)}}else x=function(){m(T,0)};function O(t,n){k=m(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.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"):E=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){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 r={id:u++,callback:i,priorityLevel:r,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(y?(v(k),k=-1):y=!0,O(_,o-a))):(r.sortIndex=s,t(l,r),h||p||(h=!0,S||(S=!0,x()))),r},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(U)),U)),z.exports}var Z,q,H,V,G={exports:{}},K={};function Y(){if(Z)return K;Z=1;var e=j();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function a(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return K.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,K.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:i,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},K.flushSync=function(e){var t=o.T,n=r.p;try{if(o.T=null,r.p=2,e)return e()}finally{o.T=t,r.p=n,r.d.f()}},K.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,r.d.C(e,t))},K.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},K.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,i=a(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,s="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:i,integrity:o,fetchPriority:s}):"script"===n&&r.d.X(e,{crossOrigin:i,integrity:o,fetchPriority:s,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},K.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=a(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},K.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,i=a(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},K.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=a(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},K.requestFormReset=function(e){r.d.r(e)},K.unstable_batchedUpdates=function(e,t){return e(t)},K.useFormState=function(e,t,n){return o.H.useFormState(e,t,n)},K.useFormStatus=function(){return o.H.useHostTransitionStatus()},K.version="19.2.3",K}function $(){if(H)return D;H=1;var e=W(),t=j(),n=(q||(q=1,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)}}(),G.exports=Y()),G.exports);function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function i(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function a(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 s(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(r(188))}function c(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=c(e)))return t;e=e.sibling}return null}var u=Object.assign,f=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),E=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var M=Symbol.for("react.client.reference");function A(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===M?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case y:return"StrictMode";case w:return"Suspense";case _:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case p:return"Portal";case v:return e.displayName||"Context";case m:return(e._context.displayName||"Context")+".Consumer";case b:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case x:return null!==(t=e.displayName||null)?t:A(e.type)||"Memo";case S:t=e._payload,e=e._init;try{return A(e(t))}catch(n){}}return null}var O=Array.isArray,P=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},N=[],B=-1;function F(e){return{current:e}}function z(e){0>B||(e.current=N[B],N[B]=null,B--)}function U(e,t){B++,N[B]=e.current,e.current=t}var Z,V,K=F(null),$=F(null),Q=F(null),X=F(null);function J(e,t){switch(U(Q,t),U($,e),U(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Sf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=kf(t=Sf(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(K),U(K,e)}function ee(){z(K),z($),z(Q)}function te(e){null!==e.memoizedState&&U(X,e);var t=K.current,n=kf(t,e.type);t!==n&&(U($,e),U(K,n))}function ne(e){$.current===e&&(z(K),z($)),X.current===e&&(z(X),gd._currentValue=L)}function re(e){if(void 0===Z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Z=t&&t[1]||"",V=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Z+e+V}var ie=!1;function oe(e,t){if(!e||ie)return"";ie=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{ie=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?re(n):""}function ae(e,t){switch(e.tag){case 26:case 27:case 5:return re(e.type);case 16:return re("Lazy");case 13:return e.child!==t&&null!==t?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return oe(e.type,!1);case 11:return oe(e.type.render,!1);case 1:return oe(e.type,!0);case 31:return re("Activity");default:return""}}function se(e){try{var t="",n=null;do{t+=ae(e,n),n=e,e=e.return}while(e);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}var le=Object.prototype.hasOwnProperty,ce=e.unstable_scheduleCallback,ue=e.unstable_cancelCallback,fe=e.unstable_shouldYield,de=e.unstable_requestPaint,pe=e.unstable_now,he=e.unstable_getCurrentPriorityLevel,ye=e.unstable_ImmediatePriority,ge=e.unstable_UserBlockingPriority,me=e.unstable_NormalPriority,ve=e.unstable_LowPriority,be=e.unstable_IdlePriority,we=e.log,_e=e.unstable_setDisableYieldValue,xe=null,Se=null;function ke(e){if("function"==typeof we&&_e(e),Se&&"function"==typeof Se.setStrictMode)try{Se.setStrictMode(xe,e)}catch(t){}}var Ee=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Ie(e)/Ce|0)|0},Ie=Math.log,Ce=Math.LN2;var Te=256,Me=262144,Ae=4194304;function Oe(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Pe(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=Oe(r):0!==(a&=s)?i=Oe(a):n||0!==(n=s&~e)&&(i=Oe(n)):0!==(s=r&~o)?i=Oe(s):0!==a?i=Oe(a):n||0!==(n=r&~e)&&(i=Oe(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function je(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Re(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Le(){var e=Ae;return!(62914560&(Ae<<=1))&&(Ae=4194304),e}function Ne(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Be(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ee(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function De(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ee(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ze(e,t){var n=t&-t;return 0!==((n=42&n?1:Ue(n))&(e.suspendedLanes|t))?0:n}function Ue(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function We(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Ze(){var e=R.p;return 0!==e?e:void 0===(e=window.event)?32:Pd(e.type)}function qe(e,t){var n=R.p;try{return R.p=e,t()}finally{R.p=n}}var He=Math.random().toString(36).slice(2),Ve="__reactFiber$"+He,Ge="__reactProps$"+He,Ke="__reactContainer$"+He,Ye="__reactEvents$"+He,$e="__reactListeners$"+He,Qe="__reactHandles$"+He,Xe="__reactResources$"+He,Je="__reactMarker$"+He;function et(e){delete e[Ve],delete e[Ge],delete e[Ye],delete e[$e],delete e[Qe]}function tt(e){var t=e[Ve];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ke]||n[Ve]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Wf(e);null!==e;){if(n=e[Ve])return n;e=Wf(e)}return t}n=(e=n).parentNode}return null}function nt(e){if(e=e[Ve]||e[Ke]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function rt(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function it(e){var t=e[Xe];return t||(t=e[Xe]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ot(e){e[Je]=!0}var at=new Set,st={};function lt(e,t){ct(e,t),ct(e+"Capture",t)}function ct(e,t){for(st[e]=t,e=0;e<t.length;e++)at.add(t[e])}var ut=RegExp("^[: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]*$"),ft={},dt={};function pt(e,t,n){if(i=t,le.call(dt,i)||!le.call(ft,i)&&(ut.test(i)?dt[i]=!0:(ft[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function ht(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function yt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function gt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function mt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function vt(e){if(!e._valueTracker){var t=mt(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function bt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function wt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var _t=/[\n"\\]/g;function xt(e){return e.replace(_t,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function St(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+gt(t)):e.value!==""+gt(t)&&(e.value=""+gt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?Et(e,a,gt(t)):null!=n?Et(e,a,gt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+gt(s):e.removeAttribute("name")}function kt(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void vt(e);n=null!=n?""+gt(n):"",t=null!=t?""+gt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),vt(e)}function Et(e,t,n){"number"===t&&wt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function It(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=""+gt(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 Ct(e,t,n){null==t||((t=""+gt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+gt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Tt(e,t,n,i){if(null==t){if(null!=i){if(null!=n)throw Error(r(92));if(O(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}null==n&&(n=""),t=n}n=gt(t),e.defaultValue=n,(i=e.textContent)===n&&""!==i&&null!==i&&(e.value=i),vt(e)}function Mt(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 At=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ot(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||At.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Pt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var i in n)!n.hasOwnProperty(i)||null!=t&&t.hasOwnProperty(i)||(0===i.indexOf("--")?e.setProperty(i,""):"float"===i?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&Ot(e,o,i)}else for(var a in t)t.hasOwnProperty(a)&&Ot(e,a,t[a])}function jt(e){if(-1===e.indexOf("-"))return!1;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}}var Rt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Nt(e){return Lt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Bt(){}var Ft=null;function Dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var zt=null,Ut=null;function Wt(e){var t=nt(e);if(t&&(e=t.stateNode)){var n=e[Ge]||null;e:switch(e=t.stateNode,t.type){case"input":if(St(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+xt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[Ge]||null;if(!o)throw Error(r(90));St(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(i=n[t]).form===e.form&&bt(i)}break e;case"textarea":Ct(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&It(e,!!n.multiple,t,!1)}}}var Zt=!1;function qt(e,t,n){if(Zt)return e(t,n);Zt=!0;try{return e(t)}finally{if(Zt=!1,(null!==zt||null!==Ut)&&(iu(),zt&&(t=zt,e=Ut,Ut=zt=null,Wt(t),e)))for(t=0;t<e.length;t++)Wt(e[t])}}function Ht(e,t){var n=e.stateNode;if(null===n)return null;var i=n[Ge]||null;if(null===i)return null;n=i[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":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Vt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Gt=!1;if(Vt)try{var Kt={};Object.defineProperty(Kt,"passive",{get:function(){Gt=!0}}),window.addEventListener("test",Kt,Kt),window.removeEventListener("test",Kt,Kt)}catch(rp){Gt=!1}var Yt=null,$t=null,Qt=null;function Xt(){if(Qt)return Qt;var e,t,n=$t,r=n.length,i="value"in Yt?Yt.value:Yt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function Jt(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 en(){return!0}function tn(){return!1}function nn(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?en:tn,this.isPropagationStopped=tn,this}return u(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=en)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=en)},persist:function(){},isPersistent:en}),t}var rn,on,an,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=nn(sn),cn=u({},sn,{view:0,detail:0}),un=nn(cn),fn=u({},cn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,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!==an&&(an&&"mousemove"===e.type?(rn=e.screenX-an.screenX,on=e.screenY-an.screenY):on=rn=0,an=e),rn)},movementY:function(e){return"movementY"in e?e.movementY:on}}),dn=nn(fn),pn=nn(u({},fn,{dataTransfer:0})),hn=nn(u({},cn,{relatedTarget:0})),yn=nn(u({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=nn(u({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),mn=nn(u({},sn,{data:0})),vn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function xn(){return _n}var Sn=nn(u({},cn,{key:function(e){if(e.key){var t=vn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?Jt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),kn=nn(u({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=nn(u({},cn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),In=nn(u({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=nn(u({},fn,{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})),Tn=nn(u({},sn,{newState:0,oldState:0})),Mn=[9,13,27,32],An=Vt&&"CompositionEvent"in window,On=null;Vt&&"documentMode"in document&&(On=document.documentMode);var Pn=Vt&&"TextEvent"in window&&!On,jn=Vt&&(!An||On&&8<On&&11>=On),Rn=String.fromCharCode(32),Ln=!1;function Nn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var Dn={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?!!Dn[e.type]:"textarea"===t}function Un(e,t,n,r){zt?Ut?Ut.push(r):Ut=[r]:zt=r,0<(t=cf(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Zn=null;function qn(e){ef(e,0)}function Hn(e){if(bt(rt(e)))return e}function Vn(e,t){if("change"===e)return t}var Gn=!1;if(Vt){var Kn;if(Vt){var Yn="oninput"in document;if(!Yn){var $n=document.createElement("div");$n.setAttribute("oninput","return;"),Yn="function"==typeof $n.oninput}Kn=Yn}else Kn=!1;Gn=Kn&&(!document.documentMode||9<document.documentMode)}function Qn(){Wn&&(Wn.detachEvent("onpropertychange",Xn),Zn=Wn=null)}function Xn(e){if("value"===e.propertyName&&Hn(Zn)){var t=[];Un(t,Zn,e,Dt(e)),qt(qn,t)}}function Jn(e,t,n){"focusin"===e?(Qn(),Zn=n,(Wn=t).attachEvent("onpropertychange",Xn)):"focusout"===e&&Qn()}function er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Hn(Zn)}function tr(e,t){if("click"===e)return Hn(t)}function nr(e,t){if("input"===e||"change"===e)return Hn(t)}var rr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ir(e,t){if(rr(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++){var i=n[r];if(!le.call(t,i)||!rr(e[i],t[i]))return!1}return!0}function or(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ar(e,t){var n,r=or(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=or(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function lr(e){for(var t=wt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=wt((e=t.contentWindow).document)}return t}function cr(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 ur=Vt&&"documentMode"in document&&11>=document.documentMode,fr=null,dr=null,pr=null,hr=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;hr||null==fr||fr!==wt(r)||("selectionStart"in(r=fr)&&cr(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},pr&&ir(pr,r)||(pr=r,0<(r=cf(dr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fr)))}function gr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var mr={animationend:gr("Animation","AnimationEnd"),animationiteration:gr("Animation","AnimationIteration"),animationstart:gr("Animation","AnimationStart"),transitionrun:gr("Transition","TransitionRun"),transitionstart:gr("Transition","TransitionStart"),transitioncancel:gr("Transition","TransitionCancel"),transitionend:gr("Transition","TransitionEnd")},vr={},br={};function wr(e){if(vr[e])return vr[e];if(!mr[e])return e;var t,n=mr[e];for(t in n)if(n.hasOwnProperty(t)&&t in br)return vr[e]=n[t];return e}Vt&&(br=document.createElement("div").style,"AnimationEvent"in window||(delete mr.animationend.animation,delete mr.animationiteration.animation,delete mr.animationstart.animation),"TransitionEvent"in window||delete mr.transitionend.transition);var _r=wr("animationend"),xr=wr("animationiteration"),Sr=wr("animationstart"),kr=wr("transitionrun"),Er=wr("transitionstart"),Ir=wr("transitioncancel"),Cr=wr("transitionend"),Tr=new Map,Mr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Tr.set(e,t),lt(t,[e])}Mr.push("scrollEnd");var Or="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof T&&"function"==typeof T.emit)return void T.emit("uncaughtException",e);console.error(e)},Pr=[],jr=0,Rr=0;function Lr(){for(var e=jr,t=Rr=jr=0;t<e;){var n=Pr[t];Pr[t++]=null;var r=Pr[t];Pr[t++]=null;var i=Pr[t];Pr[t++]=null;var o=Pr[t];if(Pr[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&Dr(n,i,o)}}function Nr(e,t,n,r){Pr[jr++]=e,Pr[jr++]=t,Pr[jr++]=n,Pr[jr++]=r,Rr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Br(e,t,n,r){return Nr(e,t,n,r),zr(e)}function Fr(e,t){return Nr(e,null,null,t),zr(e)}function Dr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-Ee(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function zr(e){if(50<Yc)throw Yc=0,$c=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Ur={};function Wr(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.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zr(e,t,n,r){return new Wr(e,t,n,r)}function qr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Hr(e,t){var n=e.alternate;return null===n?((n=Zr(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.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,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.refCleanup=e.refCleanup,n}function Vr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Gr(e,t,n,i,o,a){var s=0;if(i=e,"function"==typeof e)qr(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,K.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case k:return(e=Zr(31,n,t,o)).elementType=k,e.lanes=a,e;case h:return Kr(n.children,o,a,t);case y:s=8,o|=24;break;case g:return(e=Zr(12,n,t,2|o)).elementType=g,e.lanes=a,e;case w:return(e=Zr(13,n,t,o)).elementType=w,e.lanes=a,e;case _:return(e=Zr(19,n,t,o)).elementType=_,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case v:s=10;break e;case m:s=9;break e;case b:s=11;break e;case x:s=14;break e;case S:s=16,i=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),i=null}return(t=Zr(s,n,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Kr(e,t,n,r){return(e=Zr(7,e,r,t)).lanes=n,e}function Yr(e,t,n){return(e=Zr(6,e,null,t)).lanes=n,e}function $r(e){var t=Zr(18,null,null,0);return t.stateNode=e,t}function Qr(e,t,n){return(t=Zr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Xr=new WeakMap;function Jr(e,t){if("object"==typeof e&&null!==e){var n=Xr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:se(t)},Xr.set(e,t),t)}return{value:e,source:t,stack:se(t)}}var ei=[],ti=0,ni=null,ri=0,ii=[],oi=0,ai=null,si=1,li="";function ci(e,t){ei[ti++]=ri,ei[ti++]=ni,ni=e,ri=t}function ui(e,t,n){ii[oi++]=si,ii[oi++]=li,ii[oi++]=ai,ai=e;var r=si;e=li;var i=32-Ee(r)-1;r&=~(1<<i),n+=1;var o=32-Ee(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,si=1<<32-Ee(t)+i|n<<i|r,li=o+e}else si=1<<o|n<<i|r,li=e}function fi(e){null!==e.return&&(ci(e,1),ui(e,1,0))}function di(e){for(;e===ni;)ni=ei[--ti],ei[ti]=null,ri=ei[--ti],ei[ti]=null;for(;e===ai;)ai=ii[--oi],ii[oi]=null,li=ii[--oi],ii[oi]=null,si=ii[--oi],ii[oi]=null}function pi(e,t){ii[oi++]=si,ii[oi++]=li,ii[oi++]=ai,si=t.id,li=t.overflow,ai=e}var hi=null,yi=null,gi=!1,mi=null,vi=!1,bi=Error(r(519));function wi(e){throw Ii(Jr(Error(r(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),bi}function _i(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ve]=e,t[Ge]=r,n){case"dialog":tf("cancel",t),tf("close",t);break;case"iframe":case"object":case"embed":tf("load",t);break;case"video":case"audio":for(n=0;n<Xu.length;n++)tf(Xu[n],t);break;case"source":tf("error",t);break;case"img":case"image":case"link":tf("error",t),tf("load",t);break;case"details":tf("toggle",t);break;case"input":tf("invalid",t),kt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":tf("invalid",t);break;case"textarea":tf("invalid",t),Tt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||yf(t.textContent,n)?(null!=r.popover&&(tf("beforetoggle",t),tf("toggle",t)),null!=r.onScroll&&tf("scroll",t),null!=r.onScrollEnd&&tf("scrollend",t),null!=r.onClick&&(t.onclick=Bt),t=!0):t=!1,t||wi(e,!0)}function xi(e){for(hi=e.return;hi;)switch(hi.tag){case 5:case 31:case 13:return void(vi=!1);case 27:case 3:return void(vi=!0);default:hi=hi.return}}function Si(e){if(e!==hi)return!1;if(!gi)return xi(e),gi=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Ef(e.type,e.memoizedProps)),t=!t),t&&yi&&wi(e),xi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));yi=Uf(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));yi=Uf(e)}else 27===n?(n=yi,Pf(e.type)?(e=zf,zf=null,yi=e):yi=n):yi=hi?Df(e.stateNode.nextSibling):null;return!0}function ki(){yi=hi=null,gi=!1}function Ei(){var e=mi;return null!==e&&(null===Lc?Lc=e:Lc.push.apply(Lc,e),mi=null),e}function Ii(e){null===mi?mi=[e]:mi.push(e)}var Ci=F(null),Ti=null,Mi=null;function Ai(e,t,n){U(Ci,t._currentValue),t._currentValue=n}function Oi(e){e._currentValue=Ci.current,z(Ci)}function Pi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ji(e,t,n,i){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Pi(a.return,n,e),i||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(r(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),Pi(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function Ri(e,t,n,i){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=o.type;rr(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===X.current){if(null===(s=o.alternate))throw Error(r(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(gd):e=[gd])}o=o.return}null!==e&&ji(t,e,n,i),t.flags|=262144}function Li(e){for(e=e.firstContext;null!==e;){if(!rr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ni(e){Ti=e,Mi=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Bi(e){return Di(Ti,e)}function Fi(e,t){return null===Ti&&Ni(e),Di(e,t)}function Di(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Mi){if(null===e)throw Error(r(308));Mi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Mi=Mi.next=t;return n}var zi="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ui=e.unstable_scheduleCallback,Wi=e.unstable_NormalPriority,Zi={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qi(){return{controller:new zi,data:new Map,refCount:0}}function Hi(e){e.refCount--,0===e.refCount&&Ui(Wi,function(){e.controller.abort()})}var Vi=null,Gi=0,Ki=0,Yi=null;function $i(){if(0===--Gi&&null!==Vi){null!==Yi&&(Yi.status="fulfilled");var e=Vi;Vi=null,Ki=0,Yi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Qi=P.S;P.S=function(e,t){Fc=pe(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Vi){var n=Vi=[];Gi=0,Ki=Gu(),Yi={status:"pending",value:void 0,then:function(e){n.push(e)}}}Gi++,t.then($i,$i)}(0,t),null!==Qi&&Qi(e,t)};var Xi=F(null);function Ji(){var e=Xi.current;return null!==e?e:bc.pooledCache}function eo(e,t){U(Xi,null===t?Xi.current:t.pool)}function to(){var e=Ji();return null===e?null:{parent:Zi._currentValue,pool:e}}var no=Error(r(460)),ro=Error(r(474)),io=Error(r(542)),oo={then:function(){}};function ao(e){return"fulfilled"===(e=e.status)||"rejected"===e}function so(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Bt,Bt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw fo(e=t.reason),e;default:if("string"==typeof t.status)t.then(Bt,Bt);else{if(null!==(e=bc)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw fo(e=t.reason),e}throw co=t,no}}function lo(e){try{return(0,e._init)(e._payload)}catch(t){if(null!==t&&"object"==typeof t&&"function"==typeof t.then)throw co=t,no;throw t}}var co=null;function uo(){if(null===co)throw Error(r(459));var e=co;return co=null,e}function fo(e){if(e===no||e===io)throw Error(r(483))}var po=null,ho=0;function yo(e){var t=ho;return ho+=1,null===po&&(po=[]),so(po,e,t)}function go(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function mo(e,t){if(t.$$typeof===f)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Hr(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|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Yr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===h?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===S&&lo(i)===t.type)?(go(t=o(t,n.props),n),t.return=e,t):(go(t=Gr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Qr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Kr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function y(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Yr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case d:return go(n=Gr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case p:return(t=Qr(t,e.mode,n)).return=e,t;case S:return y(e,t=lo(t),n)}if(O(t)||C(t))return(t=Kr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return y(e,yo(t),n);if(t.$$typeof===v)return y(e,Fi(e,t),n);mo(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case d:return n.key===i?c(e,t,n,r):null;case p:return n.key===i?u(e,t,n,r):null;case S:return g(e,t,n=lo(n),r)}if(O(n)||C(n))return null!==i?null:f(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,yo(n),r);if(n.$$typeof===v)return g(e,t,Fi(e,n),r);mo(e,n)}return null}function m(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case d:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return m(e,t,n,r=lo(r),i)}if(O(r)||C(r))return f(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return m(e,t,n,yo(r),i);if(r.$$typeof===v)return m(e,t,n,Fi(t,r),i);mo(t,r)}return null}function b(l,c,u,f){if("object"==typeof u&&null!==u&&u.type===h&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case d:e:{for(var w=u.key;null!==c;){if(c.key===w){if((w=u.type)===h){if(7===c.tag){n(l,c.sibling),(f=o(c,u.props.children)).return=l,l=f;break e}}else if(c.elementType===w||"object"==typeof w&&null!==w&&w.$$typeof===S&&lo(w)===c.type){n(l,c.sibling),go(f=o(c,u.props),u),f.return=l,l=f;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===h?((f=Kr(u.props.children,l.mode,f,u.key)).return=l,l=f):(go(f=Gr(u.type,u.key,u.props,null,l.mode,f),u),f.return=l,l=f)}return s(l);case p:e:{for(w=u.key;null!==c;){if(c.key===w){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(f=o(c,u.children||[])).return=l,l=f;break e}n(l,c);break}t(l,c),c=c.sibling}(f=Qr(u,l.mode,f)).return=l,l=f}return s(l);case S:return b(l,c,u=lo(u),f)}if(O(u))return function(r,o,s,l){for(var c=null,u=null,f=o,d=o=0,p=null;null!==f&&d<s.length;d++){f.index>d?(p=f,f=null):p=f.sibling;var h=g(r,f,s[d],l);if(null===h){null===f&&(f=p);break}e&&f&&null===h.alternate&&t(r,f),o=a(h,o,d),null===u?c=h:u.sibling=h,u=h,f=p}if(d===s.length)return n(r,f),gi&&ci(r,d),c;if(null===f){for(;d<s.length;d++)null!==(f=y(r,s[d],l))&&(o=a(f,o,d),null===u?c=f:u.sibling=f,u=f);return gi&&ci(r,d),c}for(f=i(f);d<s.length;d++)null!==(p=m(f,r,d,s[d],l))&&(e&&null!==p.alternate&&f.delete(null===p.key?d:p.key),o=a(p,o,d),null===u?c=p:u.sibling=p,u=p);return e&&f.forEach(function(e){return t(r,e)}),gi&&ci(r,d),c}(l,c,u,f);if(C(u)){if("function"!=typeof(w=C(u)))throw Error(r(150));return function(o,s,l,c){if(null==l)throw Error(r(151));for(var u=null,f=null,d=s,p=s=0,h=null,v=l.next();null!==d&&!v.done;p++,v=l.next()){d.index>p?(h=d,d=null):h=d.sibling;var b=g(o,d,v.value,c);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(o,d),s=a(b,s,p),null===f?u=b:f.sibling=b,f=b,d=h}if(v.done)return n(o,d),gi&&ci(o,p),u;if(null===d){for(;!v.done;p++,v=l.next())null!==(v=y(o,v.value,c))&&(s=a(v,s,p),null===f?u=v:f.sibling=v,f=v);return gi&&ci(o,p),u}for(d=i(d);!v.done;p++,v=l.next())null!==(v=m(d,o,p,v.value,c))&&(e&&null!==v.alternate&&d.delete(null===v.key?p:v.key),s=a(v,s,p),null===f?u=v:f.sibling=v,f=v);return e&&d.forEach(function(e){return t(o,e)}),gi&&ci(o,p),u}(l,c,u=w.call(u),f)}if("function"==typeof u.then)return b(l,c,yo(u),f);if(u.$$typeof===v)return b(l,c,Fi(l,u),f);mo(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(f=o(c,u)).return=l,l=f):(n(l,c),(f=Yr(u,l.mode,f)).return=l,l=f),s(l)):n(l,c)}return function(e,t,n,r){try{ho=0;var i=b(e,t,n,r);return po=null,i}catch(a){if(a===no||a===io)throw a;var o=Zr(29,a,null,e.mode);return o.lanes=r,o.return=e,o}}}var bo=vo(!0),wo=vo(!1),_o=!1;function xo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function So(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ko(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Eo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&vc){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=zr(e),Dr(e,null,n),t}return Nr(e,r,t,n),zr(e)}function Io(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,De(e,n)}}function Co(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var To=!1;function Mo(){if(To){if(null!==Yi)throw Yi}}function Ao(e,t,n,r){To=!1;var i=e.updateQueue;_o=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var f=e.alternate;null!==f&&((s=(f=f.updateQueue).lastBaseUpdate)!==a&&(null===s?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=l))}if(null!==o){var d=i.baseState;for(a=0,f=c=l=null,s=o;;){var p=-536870913&s.lane,h=p!==s.lane;if(h?(_c&p)===p:(r&p)===p){0!==p&&p===Ki&&(To=!0),null!==f&&(f=f.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var y=e,g=s;p=t;var m=n;switch(g.tag){case 1:if("function"==typeof(y=g.payload)){d=y.call(m,d,p);break e}d=y;break e;case 3:y.flags=-65537&y.flags|128;case 0:if(null==(p="function"==typeof(y=g.payload)?y.call(m,d,p):y))break e;d=u({},d,p);break e;case 2:_o=!0}}null!==(p=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[p]:h.push(p))}else h={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===f?(c=f=h,l=d):f=f.next=h,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===f&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=f,null===o&&(i.shared.lanes=0),Mc|=a,e.lanes=a,e.memoizedState=d}}function Oo(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function Po(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Oo(n[e],t)}var jo=F(null),Ro=F(0);function Lo(e,t){U(Ro,e=Cc),U(jo,t),Cc=e|t.baseLanes}function No(){U(Ro,Cc),U(jo,jo.current)}function Bo(){Cc=Ro.current,z(jo),z(Ro)}var Fo=F(null),Do=null;function zo(e){var t=e.alternate;U(Ho,1&Ho.current),U(Fo,e),null===Do&&(null===t||null!==jo.current||null!==t.memoizedState)&&(Do=e)}function Uo(e){U(Ho,Ho.current),U(Fo,e),null===Do&&(Do=e)}function Wo(e){22===e.tag?(U(Ho,Ho.current),U(Fo,e),null===Do&&(Do=e)):Zo()}function Zo(){U(Ho,Ho.current),U(Fo,Fo.current)}function qo(e){z(Fo),Do===e&&(Do=null),z(Ho)}var Ho=F(0);function Vo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Bf(n)||Ff(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;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 Go=0,Ko=null,Yo=null,$o=null,Qo=!1,Xo=!1,Jo=!1,ea=0,ta=0,na=null,ra=0;function ia(){throw Error(r(321))}function oa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rr(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,i,o){return Go=o,Ko=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=null===e||null===e.memoizedState?_s:xs,Jo=!1,o=n(r,i),Jo=!1,Xo&&(o=la(t,n,r,i)),sa(e),o}function sa(e){P.H=ws;var t=null!==Yo&&null!==Yo.next;if(Go=0,$o=Yo=Ko=null,Qo=!1,ta=0,na=null,t)throw Error(r(300));null===e||Fs||null!==(e=e.dependencies)&&Li(e)&&(Fs=!0)}function la(e,t,n,i){Ko=e;var o=0;do{if(Xo&&(na=null),ta=0,Xo=!1,25<=o)throw Error(r(301));if(o+=1,$o=Yo=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}P.H=Ss,a=t(n,i)}while(Xo);return a}function ca(){var e=P.H,t=e.useState()[0];return t="function"==typeof t.then?ya(t):t,e=e.useState()[0],(null!==Yo?Yo.memoizedState:null)!==e&&(Ko.flags|=1024),t}function ua(){var e=0!==ea;return ea=0,e}function fa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function da(e){if(Qo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Qo=!1}Go=0,$o=Yo=Ko=null,Xo=!1,ta=ea=0,na=null}function pa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$o?Ko.memoizedState=$o=e:$o=$o.next=e,$o}function ha(){if(null===Yo){var e=Ko.alternate;e=null!==e?e.memoizedState:null}else e=Yo.next;var t=null===$o?Ko.memoizedState:$o.next;if(null!==t)$o=t,Yo=e;else{if(null===e){if(null===Ko.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(Yo=e).memoizedState,baseState:Yo.baseState,baseQueue:Yo.baseQueue,queue:Yo.queue,next:null},null===$o?Ko.memoizedState=$o=e:$o=$o.next=e}return $o}function ya(e){var t=ta;return ta+=1,null===na&&(na=[]),e=so(na,e,t),t=Ko,null===(null===$o?t.memoizedState:$o.next)&&(t=t.alternate,P.H=null===t||null===t.memoizedState?_s:xs),e}function ga(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ya(e);if(e.$$typeof===v)return Bi(e)}throw Error(r(438,String(e)))}function ma(e){var t=null,n=Ko.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ko.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ko.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=E;return t.index++,n}function va(e,t){return"function"==typeof t?t(e):t}function ba(e){return wa(ha(),Yo,e)}function wa(e,t,n){var i=e.queue;if(null===i)throw Error(r(311));i.lastRenderedReducer=n;var o=e.baseQueue,a=i.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,i.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,c=null,u=t=o.next,f=!1;do{var d=-536870913&u.lane;if(d!==u.lane?(_c&d)===d:(Go&d)===d){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===Ki&&(f=!0);else{if((Go&p)===p){u=u.next,p===Ki&&(f=!0);continue}d={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=d,s=a):c=c.next=d,Ko.lanes|=p,Mc|=p}d=u.action,Jo&&n(a,d),a=u.hasEagerState?u.eagerState:n(a,d)}else p={lane:d,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=a):c=c.next=p,Ko.lanes|=d,Mc|=d;u=u.next}while(null!==u&&u!==t);if(null===c?s=a:c.next=l,!rr(a,e.memoizedState)&&(Fs=!0,f&&null!==(n=Yi)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=c,i.lastRenderedState=a}return null===o&&(i.lanes=0),[e.memoizedState,i.dispatch]}function _a(e){var t=ha(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);rr(a,t.memoizedState)||(Fs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function xa(e,t,n){var i=Ko,o=ha(),a=gi;if(a){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!rr((Yo||o).memoizedState,n);if(s&&(o.memoizedState=n,Fs=!0),o=o.queue,Ga(Ea.bind(null,i,o,e),[e]),o.getSnapshot!==t||s||null!==$o&&1&$o.memoizedState.tag){if(i.flags|=2048,Wa(9,{destroy:void 0},ka.bind(null,i,o,n,t),null),null===bc)throw Error(r(349));a||127&Go||Sa(i,t,n)}return n}function Sa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ko.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ko.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ka(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&Ca(e)}function Ea(e,t,n){return n(function(){Ia(t)&&Ca(e)})}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rr(e,n)}catch(r){return!0}}function Ca(e){var t=Fr(e,2);null!==t&&Jc(t,e,2)}function Ta(e){var t=pa();if("function"==typeof e){var n=e;if(e=n(),Jo){ke(!0);try{n()}finally{ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:e},t}function Ma(e,t,n,r){return e.baseState=n,wa(e,Yo,"function"==typeof r?r:va)}function Aa(e,t,n,i,o){if(ms(e))throw Error(r(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==P.T?n(!0):a.isTransition=!1,i(a),null===(n=t.pending)?(a.next=t.pending=a,Oa(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Oa(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=P.T,a={};P.T=a;try{var s=n(i,r),l=P.S;null!==l&&l(a,s),Pa(e,t,s)}catch(c){Ra(e,t,c)}finally{null!==o&&null!==a.types&&(o.types=a.types),P.T=o}}else try{Pa(e,t,o=n(i,r))}catch(u){Ra(e,t,u)}}function Pa(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){ja(e,t,n)},function(n){return Ra(e,t,n)}):ja(e,t,n)}function ja(e,t,n){t.status="fulfilled",t.value=n,La(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Oa(e,n)))}function Ra(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,La(t),t=t.next}while(t!==r)}e.action=null}function La(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Na(e,t){return t}function Ba(e,t){if(gi){var n=bc.formState;if(null!==n){e:{var r=Ko;if(gi){if(yi){t:{for(var i=yi,o=vi;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=Df(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){yi=Df(i.nextSibling),r="F!"===i.data;break e}}wi(r)}r=!1}r&&(t=n[0])}}return(n=pa()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:t},n.queue=r,n=hs.bind(null,Ko,r),r.dispatch=n,r=Ta(!1),o=gs.bind(null,Ko,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=pa()).queue=i,n=Aa.bind(null,Ko,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Fa(e){return Da(ha(),Yo,e)}function Da(e,t,n){if(t=wa(e,t,Na)[0],e=ba(va)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=ya(t)}catch(a){if(a===no)throw io;throw a}else r=t;var i=(t=ha()).queue,o=i.dispatch;return n!==t.memoizedState&&(Ko.flags|=2048,Wa(9,{destroy:void 0},za.bind(null,i,n),null)),[r,o,e]}function za(e,t){e.action=t}function Ua(e){var t=ha(),n=Yo;if(null!==n)return Da(t,n,e);ha(),t=t.memoizedState;var r=(n=ha()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Wa(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ko.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ko.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Za(){return ha().memoizedState}function qa(e,t,n,r){var i=pa();Ko.flags|=e,i.memoizedState=Wa(1|t,{destroy:void 0},n,void 0===r?null:r)}function Ha(e,t,n,r){var i=ha();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==Yo&&null!==r&&oa(r,Yo.memoizedState.deps)?i.memoizedState=Wa(t,o,n,r):(Ko.flags|=e,i.memoizedState=Wa(1|t,o,n,r))}function Va(e,t){qa(8390656,8,e,t)}function Ga(e,t){Ha(2048,8,e,t)}function Ka(e){var t=ha().memoizedState;return function(e){Ko.flags|=4;var t=Ko.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ko.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&vc)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Ya(e,t){return Ha(4,2,e,t)}function $a(e,t){return Ha(4,4,e,t)}function Qa(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Xa(e,t,n){n=null!=n?n.concat([e]):null,Ha(4,4,Qa.bind(null,t,e),n)}function Ja(){}function es(e,t){var n=ha();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&oa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ts(e,t){var n=ha();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&oa(t,r[1]))return r[0];if(r=e(),Jo){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r}function ns(e,t,n){return void 0===n||1073741824&Go&&!(261930&_c)?e.memoizedState=t:(e.memoizedState=n,e=Xc(),Ko.lanes|=e,Mc|=e,n)}function rs(e,t,n,r){return rr(n,t)?n:null!==jo.current?(e=ns(e,n,r),rr(e,t)||(Fs=!0),e):42&Go&&(!(1073741824&Go)||261930&_c)?(e=Xc(),Ko.lanes|=e,Mc|=e,t):(Fs=!0,e.memoizedState=n)}function is(e,t,n,r,i){var o=R.p;R.p=0!==o&&8>o?o:8;var a,s,l,c=P.T,u={};P.T=u,gs(e,!1,t,n);try{var f=i(),d=P.S;if(null!==d&&d(u,f),null!==f&&"object"==typeof f&&"function"==typeof f.then){var p=(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},f.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l);ys(e,t,p,Qc())}else ys(e,t,r,Qc())}catch(h){ys(e,t,{then:function(){},status:"rejected",reason:h},Qc())}finally{R.p=o,null!==c&&null!==u.types&&(c.types=u.types),P.T=c}}function os(){}function as(e,t,n,i){if(5!==e.tag)throw Error(r(476));var o=ss(e).queue;is(e,o,t,L,null===n?os:function(){return ls(e),n(i)})}function ss(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:L},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ls(e){var t=ss(e);null===t.next&&(t=e.alternate.memoizedState),ys(e,t.next.queue,{},Qc())}function cs(){return Bi(gd)}function us(){return ha().memoizedState}function fs(){return ha().memoizedState}function ds(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Qc(),r=Eo(t,e=ko(n),n);return null!==r&&(Jc(r,t,n),Io(r,t,n)),t={cache:qi()},void(e.payload=t)}t=t.return}}function ps(e,t,n){var r=Qc();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ms(e)?vs(t,n):null!==(n=Br(e,t,n,r))&&(Jc(n,e,r),bs(n,t,r))}function hs(e,t,n){ys(e,t,n,Qc())}function ys(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ms(e))vs(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,rr(s,a))return Nr(e,t,i,0),null===bc&&Lr(),!1}catch(l){}if(null!==(n=Br(e,t,i,r)))return Jc(n,e,r),bs(n,t,r),!0}return!1}function gs(e,t,n,i){if(i={lane:2,revertLane:Gu(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},ms(e)){if(t)throw Error(r(479))}else null!==(t=Br(e,n,i,2))&&Jc(t,e,2)}function ms(e){var t=e.alternate;return e===Ko||null!==t&&t===Ko}function vs(e,t){Xo=Qo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,De(e,n)}}var ws={readContext:Bi,use:ga,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useInsertionEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useSyncExternalStore:ia,useId:ia,useHostTransitionStatus:ia,useFormState:ia,useActionState:ia,useOptimistic:ia,useMemoCache:ia,useCacheRefresh:ia};ws.useEffectEvent=ia;var _s={readContext:Bi,use:ga,useCallback:function(e,t){return pa().memoizedState=[e,void 0===t?null:t],e},useContext:Bi,useEffect:Va,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,qa(4194308,4,Qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qa(4194308,4,e,t)},useInsertionEffect:function(e,t){qa(4,2,e,t)},useMemo:function(e,t){var n=pa();t=void 0===t?null:t;var r=e();if(Jo){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=pa();if(void 0!==n){var i=n(t);if(Jo){ke(!0);try{n(t)}finally{ke(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ps.bind(null,Ko,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},pa().memoizedState=e},useState:function(e){var t=(e=Ta(e)).queue,n=hs.bind(null,Ko,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ja,useDeferredValue:function(e,t){return ns(pa(),e,t)},useTransition:function(){var e=Ta(!1);return e=is.bind(null,Ko,e.queue,!0,!1),pa().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=Ko,o=pa();if(gi){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===bc)throw Error(r(349));127&_c||Sa(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Va(Ea.bind(null,i,a,e),[e]),i.flags|=2048,Wa(9,{destroy:void 0},ka.bind(null,i,a,n,t),null),n},useId:function(){var e=pa(),t=bc.identifierPrefix;if(gi){var n=li;t="_"+t+"R_"+(n=(si&~(1<<32-Ee(si)-1)).toString(32)+n),0<(n=ea++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=ra++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:cs,useFormState:Ba,useActionState:Ba,useOptimistic:function(e){var t=pa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=gs.bind(null,Ko,!0,n),n.dispatch=t,[e,t]},useMemoCache:ma,useCacheRefresh:function(){return pa().memoizedState=ds.bind(null,Ko)},useEffectEvent:function(e){var t=pa(),n={impl:e};return t.memoizedState=n,function(){if(2&vc)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},xs={readContext:Bi,use:ga,useCallback:es,useContext:Bi,useEffect:Ga,useImperativeHandle:Xa,useInsertionEffect:Ya,useLayoutEffect:$a,useMemo:ts,useReducer:ba,useRef:Za,useState:function(){return ba(va)},useDebugValue:Ja,useDeferredValue:function(e,t){return rs(ha(),Yo.memoizedState,e,t)},useTransition:function(){var e=ba(va)[0],t=ha().memoizedState;return["boolean"==typeof e?e:ya(e),t]},useSyncExternalStore:xa,useId:us,useHostTransitionStatus:cs,useFormState:Fa,useActionState:Fa,useOptimistic:function(e,t){return Ma(ha(),0,e,t)},useMemoCache:ma,useCacheRefresh:fs};xs.useEffectEvent=Ka;var Ss={readContext:Bi,use:ga,useCallback:es,useContext:Bi,useEffect:Ga,useImperativeHandle:Xa,useInsertionEffect:Ya,useLayoutEffect:$a,useMemo:ts,useReducer:_a,useRef:Za,useState:function(){return _a(va)},useDebugValue:Ja,useDeferredValue:function(e,t){var n=ha();return null===Yo?ns(n,e,t):rs(n,Yo.memoizedState,e,t)},useTransition:function(){var e=_a(va)[0],t=ha().memoizedState;return["boolean"==typeof e?e:ya(e),t]},useSyncExternalStore:xa,useId:us,useHostTransitionStatus:cs,useFormState:Ua,useActionState:Ua,useOptimistic:function(e,t){var n=ha();return null!==Yo?Ma(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:ma,useCacheRefresh:fs};function ks(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}Ss.useEffectEvent=Ka;var Es={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Qc(),i=ko(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=Eo(e,i,r))&&(Jc(t,e,r),Io(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Qc(),i=ko(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Eo(e,i,r))&&(Jc(t,e,r),Io(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qc(),r=ko(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Eo(e,r,n))&&(Jc(t,e,n),Io(t,e,n))}};function Is(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(i,o))}function Cs(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&&Es.enqueueReplaceState(t,t.state,null)}function Ts(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=u({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function Ms(e){Or(e)}function As(e){console.error(e)}function Os(e){Or(e)}function Ps(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function js(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Rs(e,t,n){return(n=ko(n)).tag=3,n.payload={element:null},n.callback=function(){Ps(e,t)},n}function Ls(e){return(e=ko(e)).tag=3,e}function Ns(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){js(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){js(t,n,r),"function"!=typeof i&&(null===Uc?Uc=new Set([this]):Uc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Bs=Error(r(461)),Fs=!1;function Ds(e,t,n,r){t.child=null===e?wo(t,null,n,r):bo(t,e.child,n,r)}function zs(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Ni(t),r=aa(e,t,n,a,o,i),s=ua(),null===e||Fs?(gi&&s&&fi(t),t.flags|=1,Ds(e,t,r,i),t.child):(fa(e,t,i),cl(e,t,i))}function Us(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||qr(o)||void 0!==o.defaultProps||null!==n.compare?((e=Gr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ws(e,t,o,r,i))}if(o=e.child,!ul(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(a,r)&&e.ref===t.ref)return cl(e,t,i)}return t.flags|=1,(e=Hr(o,r)).ref=t.ref,e.return=t,t.child=e}function Ws(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ir(o,r)&&e.ref===t.ref){if(Fs=!1,t.pendingProps=r=o,!ul(e,i))return t.lanes=e.lanes,cl(e,t,i);131072&e.flags&&(Fs=!0)}}return Ys(e,t,n,r,i)}function Zs(e,t,n,r){var i=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(o=null!==o?o.baseLanes|n:n,null!==e){for(r=t.child=e.child,i=0;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~o}else r=0,t.child=null;return Hs(e,t,o,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Hs(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&eo(0,null!==o?o.cachePool:null),null!==o?Lo(t,o):No(),Wo(t)}else null!==o?(eo(0,o.cachePool),Lo(t,o),Zo(),t.memoizedState=null):(null!==e&&eo(0,null),No(),Zo());return Ds(e,t,i,n),t.child}function qs(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Hs(e,t,n,r,i){var o=Ji();return o=null===o?null:{parent:Zi._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&eo(0,null),No(),Wo(t),null!==e&&Ri(e,t,r,!0),t.childLanes=i,null}function Vs(e,t){return(t=il({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function Gs(e,t,n){return bo(t,e.child,null,n),(e=Vs(t,t.pendingProps)).flags|=2,qo(t),t.memoizedState=null,e}function Ks(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Ys(e,t,n,r,i){return Ni(t),n=aa(e,t,n,r,void 0,i),r=ua(),null===e||Fs?(gi&&r&&fi(t),t.flags|=1,Ds(e,t,n,i),t.child):(fa(e,t,i),cl(e,t,i))}function $s(e,t,n,r,i,o){return Ni(t),t.updateQueue=null,n=la(t,r,n,i),sa(e),r=ua(),null===e||Fs?(gi&&r&&fi(t),t.flags|=1,Ds(e,t,n,o),t.child):(fa(e,t,o),cl(e,t,o))}function Qs(e,t,n,r,i){if(Ni(t),null===t.stateNode){var o=Ur,a=n.contextType;"object"==typeof a&&null!==a&&(o=Bi(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=Es,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},xo(t),a=n.contextType,o.context="object"==typeof a&&null!==a?Bi(a):Ur,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(ks(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&Es.enqueueReplaceState(o,o.state,null),Ao(t,r,o,i),Mo(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=Ts(n,s);o.props=l;var c=o.context,u=n.contextType;a=Ur,"object"==typeof u&&null!==u&&(a=Bi(u));var f=n.getDerivedStateFromProps;u="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||c!==a)&&Cs(t,o,r,a),_o=!1;var d=t.memoizedState;o.state=d,Ao(t,r,o,i),Mo(),c=t.memoizedState,s||d!==c||_o?("function"==typeof f&&(ks(t,n,f,r),c=t.memoizedState),(l=_o||Is(t,n,l,r,d,c,a))?(u||"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|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,So(e,t),u=Ts(n,a=t.memoizedProps),o.props=u,f=t.pendingProps,d=o.context,c=n.contextType,l=Ur,"object"==typeof c&&null!==c&&(l=Bi(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==f||d!==l)&&Cs(t,o,r,l),_o=!1,d=t.memoizedState,o.state=d,Ao(t,r,o,i),Mo();var p=t.memoizedState;a!==f||d!==p||_o||null!==e&&null!==e.dependencies&&Li(e.dependencies)?("function"==typeof s&&(ks(t,n,s,r),p=t.memoizedState),(u=_o||Is(t,n,u,r,d,p,l)||null!==e&&null!==e.dependencies&&Li(e.dependencies))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Ks(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=bo(t,e.child,null,i),t.child=bo(t,null,n,i)):Ds(e,t,n,i),t.memoizedState=o.state,e=t.child):e=cl(e,t,i),e}function Xs(e,t,n,r){return ki(),t.flags|=256,Ds(e,t,n,r),t.child}var Js={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function el(e){return{baseLanes:e,cachePool:to()}}function tl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Pc),e}function nl(e,t,n){var i,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&Ho.current)),i&&(a=!0,t.flags&=-129),i=!!(32&t.flags),t.flags&=-33,null===e){if(gi){if(a?zo(t):Zo(),(e=yi)?null!==(e=null!==(e=Nf(e,vi))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ai?{id:si,overflow:li}:null,retryLane:536870912,hydrationErrors:null},(n=$r(e)).return=t,t.child=n,hi=t,yi=null):e=null,null===e)throw wi(t);return Ff(e)?t.lanes=32:t.lanes=536870912,null}var l=o.children;return o=o.fallback,a?(Zo(),l=il({mode:"hidden",children:l},a=t.mode),o=Kr(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=el(n),o.childLanes=tl(e,i,n),t.memoizedState=Js,qs(null,o)):(zo(t),rl(t,l))}var c=e.memoizedState;if(null!==c&&null!==(l=c.dehydrated)){if(s)256&t.flags?(zo(t),t.flags&=-257,t=ol(e,t,n)):null!==t.memoizedState?(Zo(),t.child=e.child,t.flags|=128,t=null):(Zo(),l=o.fallback,a=t.mode,o=il({mode:"visible",children:o.children},a),(l=Kr(l,a,n,null)).flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,bo(t,e.child,null,n),(o=t.child).memoizedState=el(n),o.childLanes=tl(e,i,n),t.memoizedState=Js,t=qs(null,o));else if(zo(t),Ff(l)){if(i=l.nextSibling&&l.nextSibling.dataset)var u=i.dgst;i=u,(o=Error(r(419))).stack="",o.digest=i,Ii({value:o,source:null,stack:null}),t=ol(e,t,n)}else if(Fs||Ri(e,t,n,!1),i=0!==(n&e.childLanes),Fs||i){if(null!==(i=bc)&&(0!==(o=ze(i,n))&&o!==c.retryLane))throw c.retryLane=o,Fr(e,o),Jc(i,e,o),Bs;Bf(l)||fu(),t=ol(e,t,n)}else Bf(l)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,yi=Df(l.nextSibling),hi=t,gi=!0,mi=null,vi=!1,null!==e&&pi(t,e),(t=rl(t,o.children)).flags|=4096);return t}return a?(Zo(),l=o.fallback,a=t.mode,u=(c=e.child).sibling,(o=Hr(c,{mode:"hidden",children:o.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?l=Hr(u,l):(l=Kr(l,a,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,qs(null,o),o=t.child,null===(l=e.child.memoizedState)?l=el(n):(null!==(a=l.cachePool)?(c=Zi._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=to(),l={baseLanes:l.baseLanes|n,cachePool:a}),o.memoizedState=l,o.childLanes=tl(e,i,n),t.memoizedState=Js,qs(e.child,o)):(zo(t),e=(n=e.child).sibling,(n=Hr(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(i=t.deletions)?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n)}function rl(e,t){return(t=il({mode:"visible",children:t},e.mode)).return=e,e.child=t}function il(e,t){return(e=Zr(22,e,null,t)).lanes=0,e}function ol(e,t,n){return bo(t,e.child,null,n),(e=rl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function al(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Pi(e.return,t,n)}function sl(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.treeForkCount=o)}function ll(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;r=r.children;var a=Ho.current,s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,U(Ho,a),Ds(e,t,r,n),r=gi?ri:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&al(e,n,t);else if(19===e.tag)al(e,n,t);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}switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Vo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sl(t,!1,i,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Vo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sl(t,!0,n,null,o,r);break;case"together":sl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function cl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Mc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ri(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Hr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Hr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ul(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Li(e))}function fl(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Fs=!0;else{if(!(ul(e,n)||128&t.flags))return Fs=!1,function(e,t,n){switch(t.tag){case 3:J(t,t.stateNode.containerInfo),Ai(0,Zi,e.memoizedState.cache),ki();break;case 27:case 5:te(t);break;case 4:J(t,t.stateNode.containerInfo);break;case 10:Ai(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Uo(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(zo(t),t.flags|=128,null):0!==(n&t.child.childLanes)?nl(e,t,n):(zo(t),null!==(e=cl(e,t,n))?e.sibling:null);zo(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Ri(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return ll(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(Ho,Ho.current),r)break;return null;case 22:return t.lanes=0,Zs(e,t,n,t.pendingProps);case 24:Ai(0,Zi,e.memoizedState.cache)}return cl(e,t,n)}(e,t,n);Fs=!!(131072&e.flags)}else Fs=!1,gi&&1048576&t.flags&&ui(t,ri,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=lo(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===b){t.tag=11,t=zs(null,t,e,i,n);break e}if(o===x){t.tag=14,t=Us(null,t,e,i,n);break e}}throw t=A(e)||e,Error(r(306,t,""))}qr(e)?(i=Ts(e,i),t.tag=1,t=Qs(null,t,e,i,n)):(t.tag=0,t=Ys(null,t,e,i,n))}return t;case 0:return Ys(e,t,t.type,t.pendingProps,n);case 1:return Qs(e,t,i=t.type,o=Ts(i,t.pendingProps),n);case 3:e:{if(J(t,t.stateNode.containerInfo),null===e)throw Error(r(387));i=t.pendingProps;var a=t.memoizedState;o=a.element,So(e,t),Ao(t,i,null,n);var s=t.memoizedState;if(i=s.cache,Ai(0,Zi,i),i!==a.cache&&ji(t,[Zi],n,!0),Mo(),i=s.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Xs(e,t,i,n);break e}if(i!==o){Ii(o=Jr(Error(r(424)),t)),t=Xs(e,t,i,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(yi=Df(e.firstChild),hi=t,gi=!0,mi=null,vi=!0,n=wo(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ki(),i===o){t=cl(e,t,n);break e}Ds(e,t,i,n)}t=t.child}return t;case 26:return Ks(e,t),null===e?(n=Qf(t.type,null,t.pendingProps,null))?t.memoizedState=n:gi||(n=t.type,e=t.pendingProps,(i=xf(Q.current).createElement(n))[Ve]=t,i[Ge]=e,vf(i,n,e),ot(i),t.stateNode=i):t.memoizedState=Qf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return te(t),null===e&&gi&&(i=t.stateNode=Zf(t.type,t.pendingProps,Q.current),hi=t,vi=!0,o=yi,Pf(t.type)?(zf=o,yi=Df(i.firstChild)):yi=o),Ds(e,t,t.pendingProps.children,n),Ks(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&gi&&((o=i=yi)&&(null!==(i=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Je])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=Df(e.nextSibling)))break}return null}(i,t.type,t.pendingProps,vi))?(t.stateNode=i,hi=t,yi=Df(i.firstChild),vi=!1,o=!0):o=!1),o||wi(t)),te(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,i=a.children,Ef(o,a)?i=null:null!==s&&Ef(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=aa(e,t,ca,null,null,n),gd._currentValue=o),Ks(e,t),Ds(e,t,i,n),t.child;case 6:return null===e&&gi&&((e=n=yi)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Df(e.nextSibling)))return null}return e}(n,t.pendingProps,vi))?(t.stateNode=n,hi=t,yi=null,e=!0):e=!1),e||wi(t)),null;case 13:return nl(e,t,n);case 4:return J(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=bo(t,null,i,n):Ds(e,t,i,n),t.child;case 11:return zs(e,t,t.type,t.pendingProps,n);case 7:return Ds(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ds(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,Ai(0,t.type,i.value),Ds(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Ni(t),i=i(o=Bi(o)),t.flags|=1,Ds(e,t,i,n),t.child;case 14:return Us(e,t,t.type,t.pendingProps,n);case 15:return Ws(e,t,t.type,t.pendingProps,n);case 19:return ll(e,t,n);case 31:return function(e,t,n){var i=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(gi){if("hidden"===i.mode)return e=Vs(t,i),t.lanes=536870912,qs(null,e);if(Uo(t),(e=yi)?null!==(e=null!==(e=Nf(e,vi))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ai?{id:si,overflow:li}:null,retryLane:536870912,hydrationErrors:null},(n=$r(e)).return=t,t.child=n,hi=t,yi=null):e=null,null===e)throw wi(t);return t.lanes=536870912,null}return Vs(t,i)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(Uo(t),o)if(256&t.flags)t.flags&=-257,t=Gs(e,t,n);else{if(null===t.memoizedState)throw Error(r(558));t.child=e.child,t.flags|=128,t=null}else if(Fs||Ri(e,t,n,!1),o=0!==(n&e.childLanes),Fs||o){if(null!==(i=bc)&&0!==(s=ze(i,n))&&s!==a.retryLane)throw a.retryLane=s,Fr(e,s),Jc(i,e,s),Bs;fu(),t=Gs(e,t,n)}else e=a.treeContext,yi=Df(s.nextSibling),hi=t,gi=!0,mi=null,vi=!1,null!==e&&pi(t,e),(t=Vs(t,i)).flags|=4096;return t}return(e=Hr(e.child,{mode:i.mode,children:i.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Zs(e,t,n,t.pendingProps);case 24:return Ni(t),i=Bi(Zi),null===e?(null===(o=Ji())&&(o=bc,a=qi(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:i,cache:o},xo(t),Ai(0,Zi,o)):(0!==(e.lanes&n)&&(So(e,t),Ao(t,null,null,n),Mo()),o=e.memoizedState,a=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Ai(0,Zi,i)):(i=a.cache,Ai(0,Zi,i),i!==o.cache&&ji(t,[Zi],n,!0))),Ds(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function dl(e){e.flags|=4}function pl(e,t,n,r,i){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!lu())throw co=oo,ro;e.flags|=8192}}else e.flags&=-16777217}function hl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!ud(t)){if(!lu())throw co=oo,ro;e.flags|=8192}}function yl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Le():536870912,e.lanes|=t,jc|=t)}function gl(e,t){if(!gi)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 ml(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vl(e,t,n){var i=t.pendingProps;switch(di(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return ml(t),null;case 3:return n=t.stateNode,i=null,null!==e&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Oi(Zi),ee(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Si(t)?dl(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,Ei())),ml(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(dl(t),null!==a?(ml(t),hl(t,a)):(ml(t),pl(t,o,0,0,n))):a?a!==e.memoizedState?(dl(t),ml(t),hl(t,a)):(ml(t),t.flags&=-16777217):((e=e.memoizedProps)!==i&&dl(t),ml(t),pl(t,o,0,0,n)),null;case 27:if(ne(t),n=Q.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&dl(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return ml(t),null}e=K.current,Si(t)?_i(t):(e=Zf(o,i,n),t.stateNode=e,dl(t))}return ml(t),null;case 5:if(ne(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&dl(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return ml(t),null}if(a=K.current,Si(t))_i(t);else{var s=xf(Q.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof i.is?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?a.multiple=!0:i.size&&(a.size=i.size);break;default:a="string"==typeof i.is?s.createElement(o,{is:i.is}):s.createElement(o)}}a[Ve]=t,a[Ge]=i;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(vf(a,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&dl(t)}}return ml(t),pl(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==i&&dl(t);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(e=Q.current,Si(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,null!==(o=hi))switch(o.tag){case 27:case 5:i=o.memoizedProps}e[Ve]=t,(e=!!(e.nodeValue===n||null!==i&&!0===i.suppressHydrationWarning||yf(e.nodeValue,n)))||wi(t,!0)}else(e=xf(e).createTextNode(i))[Ve]=t,t.stateNode=e}return ml(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(i=Si(t),null!==n){if(null===e){if(!i)throw Error(r(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(r(557));e[Ve]=t}else ki(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ml(t),e=!1}else n=Ei(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(qo(t),t):(qo(t),null);if(128&t.flags)throw Error(r(558))}return ml(t),null;case 13:if(i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=Si(t),null!==i&&null!==i.dehydrated){if(null===e){if(!o)throw Error(r(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(r(317));o[Ve]=t}else ki(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ml(t),o=!1}else o=Ei(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(qo(t),t):(qo(t),null)}return qo(t),128&t.flags?(t.lanes=n,t):(n=null!==i,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(i=t.child).alternate&&null!==i.alternate.memoizedState&&null!==i.alternate.memoizedState.cachePool&&(o=i.alternate.memoizedState.cachePool.pool),a=null,null!==i.memoizedState&&null!==i.memoizedState.cachePool&&(a=i.memoizedState.cachePool.pool),a!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),yl(t,t.updateQueue),ml(t),null);case 4:return ee(),null===e&&of(t.stateNode.containerInfo),ml(t),null;case 10:return Oi(t.type),ml(t),null;case 19:if(z(Ho),null===(i=t.memoizedState))return ml(t),null;if(o=!!(128&t.flags),null===(a=i.rendering))if(o)gl(i,!1);else{if(0!==Tc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Vo(e))){for(t.flags|=128,gl(i,!1),e=a.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Vr(n,e),n=n.sibling;return U(Ho,1&Ho.current|2),gi&&ci(t,i.treeForkCount),t.child}e=e.sibling}null!==i.tail&&pe()>Dc&&(t.flags|=128,o=!0,gl(i,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Vo(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!gi)return ml(t),null}else 2*pe()-i.renderingStartTime>Dc&&536870912!==n&&(t.flags|=128,o=!0,gl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=i.last)?e.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=pe(),e.sibling=null,n=Ho.current,U(Ho,o?1&n|2:1&n),gi&&ci(t,i.treeForkCount),e):(ml(t),null);case 22:case 23:return qo(t),Bo(),i=null!==t.memoizedState,null!==e?null!==e.memoizedState!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?!!(536870912&n)&&!(128&t.flags)&&(ml(t),6&t.subtreeFlags&&(t.flags|=8192)):ml(t),null!==(n=t.updateQueue)&&yl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),i=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),null!==e&&z(Xi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Oi(Zi),ml(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function bl(e,t){switch(di(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Oi(Zi),ee(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ne(t),null;case 31:if(null!==t.memoizedState){if(qo(t),null===t.alternate)throw Error(r(340));ki()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(qo(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));ki()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(Ho),null;case 4:return ee(),null;case 10:return Oi(t.type),null;case 22:case 23:return qo(t),Bo(),null!==e&&z(Xi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Oi(Zi),null;default:return null}}function wl(e,t){switch(di(t),t.tag){case 3:Oi(Zi),ee();break;case 26:case 27:case 5:ne(t);break;case 4:ee();break;case 31:null!==t.memoizedState&&qo(t);break;case 13:qo(t);break;case 19:z(Ho);break;case 10:Oi(t.type);break;case 22:case 23:qo(t),Bo(),null!==e&&z(Xi);break;case 24:Oi(Zi)}}function _l(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(s){Tu(t,t.return,s)}}function xl(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){Tu(i,l,u)}}}r=r.next}while(r!==o)}}catch(u){Tu(t,t.return,u)}}function Sl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Po(t,n)}catch(r){Tu(e,e.return,r)}}}function kl(e,t,n){n.props=Ts(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){Tu(e,t,r)}}function El(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){Tu(e,t,i)}}function Il(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){Tu(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){Tu(e,t,o)}else n.current=null}function Cl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){Tu(e,e.return,i)}}function Tl(e,t,n){try{var i=e.stateNode;!function(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,c=null,u=null,f=null;for(h in n){var d=n[h];if(n.hasOwnProperty(h)&&null!=d)switch(h){case"checked":case"value":break;case"defaultValue":c=d;default:i.hasOwnProperty(h)||gf(e,t,h,null,i,d)}}for(var p in i){var h=i[p];if(d=n[p],i.hasOwnProperty(p)&&(null!=h||null!=d))switch(p){case"type":a=h;break;case"name":o=h;break;case"checked":u=h;break;case"defaultChecked":f=h;break;case"value":s=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:h!==d&&gf(e,t,p,h,i,d)}}return void St(e,s,l,c,u,f,a,o);case"select":for(a in h=s=l=p=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:i.hasOwnProperty(a)||gf(e,t,a,null,i,c)}for(o in i)if(a=i[o],c=n[o],i.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":p=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==c&&gf(e,t,o,a,i,c)}return t=l,n=s,i=h,void(null!=p?It(e,!!n,p,!1):!!i!=!!n&&(null!=t?It(e,!!n,t,!0):It(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=p=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!i.hasOwnProperty(l))switch(l){case"value":case"children":break;default:gf(e,t,l,null,i,o)}for(s in i)if(o=i[s],a=n[s],i.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":p=o;break;case"defaultValue":h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(r(91));break;default:o!==a&&gf(e,t,s,o,i,a)}return void Ct(e,p,h);case"option":for(var y in n)if(p=n[y],n.hasOwnProperty(y)&&null!=p&&!i.hasOwnProperty(y))if("selected"===y)e.selected=!1;else gf(e,t,y,null,i,p);for(c in i)if(p=i[c],h=n[c],i.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))if("selected"===c)e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else gf(e,t,c,p,i,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!i.hasOwnProperty(g)&&gf(e,t,g,null,i,p);for(u in i)if(p=i[u],h=n[u],i.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:gf(e,t,u,p,i,h)}return;default:if(jt(t)){for(var m in n)p=n[m],n.hasOwnProperty(m)&&void 0!==p&&!i.hasOwnProperty(m)&&mf(e,t,m,void 0,i,p);for(f in i)p=i[f],h=n[f],!i.hasOwnProperty(f)||p===h||void 0===p&&void 0===h||mf(e,t,f,p,i,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!i.hasOwnProperty(v)&&gf(e,t,v,null,i,p);for(d in i)p=i[d],h=n[d],!i.hasOwnProperty(d)||p===h||null==p&&null==h||gf(e,t,d,p,i,h)}(i,e.type,n,t),i[Ge]=t}catch(o){Tu(e,e.return,o)}}function Ml(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Pf(e.type)||4===e.tag}function Al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ml(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Pf(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Bt));else if(4!==r&&(27===r&&Pf(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Ol(e,t,n),e=e.sibling;null!==e;)Ol(e,t,n),e=e.sibling}function Pl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Pf(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(Pl(e,t,n),e=e.sibling;null!==e;)Pl(e,t,n),e=e.sibling}function jl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);vf(t,r,n),t[Ve]=e,t[Ge]=n}catch(o){Tu(e,e.return,o)}}var Rl=!1,Ll=!1,Nl=!1,Bl="function"==typeof WeakSet?WeakSet:Set,Fl=null;function Dl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Jl(e,n),4&r&&_l(5,n);break;case 1:if(Jl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(a){Tu(n,n.return,a)}else{var i=Ts(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Tu(n,n.return,s)}}64&r&&Sl(n),512&r&&El(n,n.return);break;case 3:if(Jl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Po(e,t)}catch(a){Tu(n,n.return,a)}}break;case 27:null===t&&4&r&&jl(n);case 26:case 5:Jl(e,n),null===t&&4&r&&Cl(n),512&r&&El(n,n.return);break;case 12:Jl(e,n);break;case 31:Jl(e,n),4&r&&Hl(e,n);break;case 13:Jl(e,n),4&r&&Vl(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Pu.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Rl)){t=null!==t&&null!==t.memoizedState||Ll,i=Rl;var o=Ll;Rl=r,(Ll=t)&&!o?tc(e,n,!!(8772&n.subtreeFlags)):Jl(e,n),Rl=i,Ll=o}break;case 30:break;default:Jl(e,n)}}function zl(e){var t=e.alternate;null!==t&&(e.alternate=null,zl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&et(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ul=null,Wl=!1;function Zl(e,t,n){for(n=n.child;null!==n;)ql(e,t,n),n=n.sibling}function ql(e,t,n){if(Se&&"function"==typeof Se.onCommitFiberUnmount)try{Se.onCommitFiberUnmount(xe,n)}catch(o){}switch(n.tag){case 26:Ll||Il(n,t),Zl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Ll||Il(n,t);var r=Ul,i=Wl;Pf(n.type)&&(Ul=n.stateNode,Wl=!1),Zl(e,t,n),qf(n.stateNode),Ul=r,Wl=i;break;case 5:Ll||Il(n,t);case 6:if(r=Ul,i=Wl,Ul=null,Zl(e,t,n),Wl=i,null!==(Ul=r))if(Wl)try{(9===Ul.nodeType?Ul.body:"HTML"===Ul.nodeName?Ul.ownerDocument.body:Ul).removeChild(n.stateNode)}catch(a){Tu(n,t,a)}else try{Ul.removeChild(n.stateNode)}catch(a){Tu(n,t,a)}break;case 18:null!==Ul&&(Wl?(jf(9===(e=Ul).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),$d(e)):jf(Ul,n.stateNode));break;case 4:r=Ul,i=Wl,Ul=n.stateNode.containerInfo,Wl=!0,Zl(e,t,n),Ul=r,Wl=i;break;case 0:case 11:case 14:case 15:xl(2,n,t),Ll||xl(4,n,t),Zl(e,t,n);break;case 1:Ll||(Il(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&kl(n,t,r)),Zl(e,t,n);break;case 21:Zl(e,t,n);break;case 22:Ll=(r=Ll)||null!==n.memoizedState,Zl(e,t,n),Ll=r;break;default:Zl(e,t,n)}}function Hl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{$d(e)}catch(n){Tu(t,t.return,n)}}}function Vl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{$d(e)}catch(n){Tu(t,t.return,n)}}function Gl(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Bl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Bl),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=ju.bind(null,e,t);t.then(r,r)}})}function Kl(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Pf(l.type)){Ul=l.stateNode,Wl=!1;break e}break;case 5:Ul=l.stateNode,Wl=!1;break e;case 3:case 4:Ul=l.stateNode.containerInfo,Wl=!0;break e}l=l.return}if(null===Ul)throw Error(r(160));ql(a,s,o),Ul=null,Wl=!1,null!==(a=o.alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)$l(t,e),t=t.sibling}var Yl=null;function $l(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Kl(t,e),Ql(e),4&i&&(xl(3,e,e.return),_l(3,e),xl(5,e,e.return));break;case 1:Kl(t,e),Ql(e),512&i&&(Ll||null===n||Il(n,n.return)),64&i&&Rl&&(null!==(e=e.updateQueue)&&(null!==(i=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?i:n.concat(i))));break;case 26:var o=Yl;if(Kl(t,e),Ql(e),512&i&&(Ll||null===n||Il(n,n.return)),4&i){var a=null!==n?n.memoizedState:null;if(i=e.memoizedState,null===n)if(null===i)if(null===e.stateNode){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":(!(a=o.getElementsByTagName("title")[0])||a[Je]||a[Ve]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=o.createElement(i),o.head.insertBefore(a,o.querySelector("head > title"))),vf(a,i,n),a[Ve]=e,ot(a),i=a;break e;case"link":var s=ld("link","href",o).get(i+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}vf(a=o.createElement(i),i,n),o.head.appendChild(a);break;case"meta":if(s=ld("meta","content",o).get(i+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}vf(a=o.createElement(i),i,n),o.head.appendChild(a);break;default:throw Error(r(468,i))}a[Ve]=e,ot(a),i=a}e.stateNode=i}else cd(o,e.type,e.stateNode);else e.stateNode=rd(o,i,e.memoizedProps);else a!==i?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===i?cd(o,e.type,e.stateNode):rd(o,i,e.memoizedProps)):null===i&&null!==e.stateNode&&Tl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Kl(t,e),Ql(e),512&i&&(Ll||null===n||Il(n,n.return)),null!==n&&4&i&&Tl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Kl(t,e),Ql(e),512&i&&(Ll||null===n||Il(n,n.return)),32&e.flags){o=e.stateNode;try{Mt(o,"")}catch(y){Tu(e,e.return,y)}}4&i&&null!=e.stateNode&&Tl(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&i&&(Nl=!0);break;case 6:if(Kl(t,e),Ql(e),4&i){if(null===e.stateNode)throw Error(r(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(y){Tu(e,e.return,y)}}break;case 3:if(sd=null,o=Yl,Yl=Gf(t.containerInfo),Kl(t,e),Yl=o,Ql(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{$d(t.containerInfo)}catch(y){Tu(e,e.return,y)}Nl&&(Nl=!1,Xl(e));break;case 4:i=Yl,Yl=Gf(e.stateNode.containerInfo),Kl(t,e),Ql(e),Yl=i;break;case 12:default:Kl(t,e),Ql(e);break;case 31:case 19:Kl(t,e),Ql(e),4&i&&(null!==(i=e.updateQueue)&&(e.updateQueue=null,Gl(e,i)));break;case 13:Kl(t,e),Ql(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Bc=pe()),4&i&&(null!==(i=e.updateQueue)&&(e.updateQueue=null,Gl(e,i)));break;case 22:o=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Rl,f=Ll;if(Rl=u||o,Ll=f||c,Kl(t,e),Ll=f,Rl=u,Ql(e),8192&i)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||c||Rl||Ll||ec(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(a=c.stateNode,o)"function"==typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var d=c.memoizedProps.style,p=null!=d&&d.hasOwnProperty("display")?d.display:null;l.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(y){Tu(c,c.return,y)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=o?"":c.memoizedProps}catch(y){Tu(c,c.return,y)}}}else if(18===t.tag){if(null===n){c=t;try{var h=c.stateNode;o?Rf(h,!0):Rf(c.stateNode,!1)}catch(y){Tu(c,c.return,y)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&i&&(null!==(i=e.updateQueue)&&(null!==(n=i.retryQueue)&&(i.retryQueue=null,Gl(e,n))));case 30:case 21:}}function Ql(e){var t=e.flags;if(2&t){try{for(var n,i=e.return;null!==i;){if(Ml(i)){n=i;break}i=i.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode;Pl(e,Al(e),o);break;case 5:var a=n.stateNode;32&n.flags&&(Mt(a,""),n.flags&=-33),Pl(e,Al(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;Ol(e,Al(e),s);break;default:throw Error(r(161))}}catch(l){Tu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Xl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Xl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Jl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Dl(e,t.alternate,t),t=t.sibling}function ec(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:xl(4,t,t.return),ec(t);break;case 1:Il(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&kl(t,t.return,n),ec(t);break;case 27:qf(t.stateNode);case 26:case 5:Il(t,t.return),ec(t);break;case 22:null===t.memoizedState&&ec(t);break;default:ec(t)}e=e.sibling}}function tc(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,a=o.flags;switch(o.tag){case 0:case 11:case 15:tc(i,o,n),_l(4,o);break;case 1:if(tc(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(c){Tu(r,r.return,c)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Oo(l[i],s)}catch(c){Tu(r,r.return,c)}}n&&64&a&&Sl(o),El(o,o.return);break;case 27:jl(o);case 26:case 5:tc(i,o,n),n&&null===r&&4&a&&Cl(o),El(o,o.return);break;case 12:tc(i,o,n);break;case 31:tc(i,o,n),n&&4&a&&Hl(i,o);break;case 13:tc(i,o,n),n&&4&a&&Vl(i,o);break;case 22:null===o.memoizedState&&tc(i,o,n),El(o,o.return);break;case 30:break;default:tc(i,o,n)}t=t.sibling}}function nc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Hi(n))}function rc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Hi(e))}function ic(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)oc(e,t,n,r),t=t.sibling}function oc(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ic(e,t,n,r),2048&i&&_l(9,t);break;case 1:case 31:case 13:default:ic(e,t,n,r);break;case 3:ic(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Hi(e)));break;case 12:if(2048&i){ic(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){Tu(t,t.return,l)}}else ic(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,a=t.alternate,null!==t.memoizedState?2&o._visibility?ic(e,t,n,r):sc(e,t):2&o._visibility?ic(e,t,n,r):(o._visibility|=2,ac(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&i&&nc(a,t);break;case 24:ic(e,t,n,r),2048&i&&rc(t.alternate,t)}}function ac(e,t,n,r,i){for(i=i&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var o=e,a=t,s=n,l=r,c=a.flags;switch(a.tag){case 0:case 11:case 15:ac(o,a,s,l,i),_l(8,a);break;case 23:break;case 22:var u=a.stateNode;null!==a.memoizedState?2&u._visibility?ac(o,a,s,l,i):sc(o,a):(u._visibility|=2,ac(o,a,s,l,i)),i&&2048&c&&nc(a.alternate,a);break;case 24:ac(o,a,s,l,i),i&&2048&c&&rc(a.alternate,a);break;default:ac(o,a,s,l,i)}t=t.sibling}}function sc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:sc(n,r),2048&i&&nc(r.alternate,r);break;case 24:sc(n,r),2048&i&&rc(r.alternate,r);break;default:sc(n,r)}t=t.sibling}}var lc=8192;function cc(e,t,n){if(e.subtreeFlags&lc)for(e=e.child;null!==e;)uc(e,t,n),e=e.sibling}function uc(e,t,n){switch(e.tag){case 26:cc(e,t,n),e.flags&lc&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var i=Xf(r.href),o=t.querySelector(Jf(i));if(o)return null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dd.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,void ot(o);o=t.ownerDocument||t,r=ed(r),(i=Hf.get(i))&&od(r,i),ot(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),vf(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=dd.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Yl,e.memoizedState,e.memoizedProps);break;case 5:default:cc(e,t,n);break;case 3:case 4:var r=Yl;Yl=Gf(e.stateNode.containerInfo),cc(e,t,n),Yl=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lc,lc=16777216,cc(e,t,n),lc=r):cc(e,t,n))}}function fc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function dc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Fl=r,yc(r,e)}fc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)pc(e),e=e.sibling}function pc(e){switch(e.tag){case 0:case 11:case 15:dc(e),2048&e.flags&&xl(9,e,e.return);break;case 3:case 12:default:dc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,hc(e)):dc(e)}}function hc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Fl=r,yc(r,e)}fc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:xl(8,t,t.return),hc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,hc(t));break;default:hc(t)}e=e.sibling}}function yc(e,t){for(;null!==Fl;){var n=Fl;switch(n.tag){case 0:case 11:case 15:xl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Hi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Fl=r;else e:for(n=e;null!==Fl;){var i=(r=Fl).sibling,o=r.return;if(zl(r),r===n){Fl=null;break e}if(null!==i){i.return=o,Fl=i;break e}Fl=o}}}var gc={getCacheForType:function(e){var t=Bi(Zi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Bi(Zi).controller.signal}},mc="function"==typeof WeakMap?WeakMap:Map,vc=0,bc=null,wc=null,_c=0,xc=0,Sc=null,kc=!1,Ec=!1,Ic=!1,Cc=0,Tc=0,Mc=0,Ac=0,Oc=0,Pc=0,jc=0,Rc=null,Lc=null,Nc=!1,Bc=0,Fc=0,Dc=1/0,zc=null,Uc=null,Wc=0,Zc=null,qc=null,Hc=0,Vc=0,Gc=null,Kc=null,Yc=0,$c=null;function Qc(){return 2&vc&&0!==_c?_c&-_c:null!==P.T?Gu():Ze()}function Xc(){if(0===Pc)if(536870912&_c&&!gi)Pc=536870912;else{var e=Me;!(3932160&(Me<<=1))&&(Me=262144),Pc=e}return null!==(e=Fo.current)&&(e.flags|=32),Pc}function Jc(e,t,n){(e!==bc||2!==xc&&9!==xc)&&null===e.cancelPendingCommit||(au(e,0),ru(e,_c,Pc,!1)),Be(e,n),2&vc&&e===bc||(e===bc&&(!(2&vc)&&(Ac|=n),4===Tc&&ru(e,_c,Pc,!1)),zu(e))}function eu(e,t,n){if(6&vc)throw Error(r(327));for(var i=!n&&!(127&t)&&0===(t&e.expiredLanes)||je(e,t),o=i?function(e,t){var n=vc;vc|=2;var i=cu(),o=uu();bc!==e||_c!==t?(zc=null,Dc=pe()+500,au(e,t)):Ec=je(e,t);e:for(;;)try{if(0!==xc&&null!==wc){t=wc;var a=Sc;t:switch(xc){case 1:xc=0,Sc=null,mu(e,t,a,1);break;case 2:case 9:if(ao(a)){xc=0,Sc=null,gu(t);break}t=function(){2!==xc&&9!==xc||bc!==e||(xc=7),zu(e)},a.then(t,t);break e;case 3:xc=7;break e;case 4:xc=5;break e;case 7:ao(a)?(xc=0,Sc=null,gu(t)):(xc=0,Sc=null,mu(e,t,a,7));break;case 5:var s=null;switch(wc.tag){case 26:s=wc.memoizedState;case 5:case 27:var l=wc;if(s?ud(s):l.stateNode.complete){xc=0,Sc=null;var c=l.sibling;if(null!==c)wc=c;else{var u=l.return;null!==u?(wc=u,vu(u)):wc=null}break t}}xc=0,Sc=null,mu(e,t,a,5);break;case 6:xc=0,Sc=null,mu(e,t,a,6);break;case 8:ou(),Tc=6;break e;default:throw Error(r(462))}}hu();break}catch(f){su(e,f)}return Mi=Ti=null,P.H=i,P.A=o,vc=n,null!==wc?0:(bc=null,_c=0,Lr(),Tc)}(e,t):du(e,t,!0),a=i;;){if(0===o){Ec&&!i&&ru(e,t,0,!1);break}if(n=e.current.alternate,!a||nu(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Rc;var c=l.current.memoizedState.isDehydrated;if(c&&(au(l,s).flags|=256),2!==(s=du(l,s,!1))){if(Ic&&!c){l.errorRecoveryDisabledLanes|=a,Ac|=a,o=4;break e}a=Lc,Lc=o,null!==a&&(null===Lc?Lc=a:Lc.push.apply(Lc,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){au(e,0),ru(e,t,0,!0);break}e:{switch(i=e,a=o){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:ru(i,t,Pc,!kc);break e;case 2:Lc=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(o=Bc+300-pe())){if(ru(i,t,Pc,!kc),0!==Pe(i,0,!0))break e;Hc=t,i.timeoutHandle=Cf(tu.bind(null,i,n,Lc,zc,Nc,t,Pc,Ac,jc,kc,a,"Throttled",-0,0),o)}else tu(i,n,Lc,zc,Nc,t,Pc,Ac,jc,kc,a,null,-0,0)}break}o=du(e,t,!1),a=!1}zu(e)}function tu(e,t,n,r,i,o,a,s,l,c,u,f,d,p){if(e.timeoutHandle=-1,8192&(f=t.subtreeFlags)||!(16785408&~f)){uc(t,o,f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Bt});var h=(62914560&o)===o?Bc-pe():(4194048&o)===o?Fc-pe():0;if(h=function(e,t){return e.stylesheets&&0===e.count&&hd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&hd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===fd&&(fd=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],o=i.transferSize,a=i.initiatorType,s=i.duration;if(o&&s&&bf(a)){for(a=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,f=l.initiatorType;u&&bf(f)&&(a+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--r,t+=8*(o+a)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&hd(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>fd?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}(f,h),null!==h)return Hc=o,e.cancelPendingCommit=h(wu.bind(null,e,t,o,n,r,i,a,s,l,u,f,null,d,p)),void ru(e,o,a,!c)}wu(e,t,o,n,r,i,a,s,l)}function nu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!rr(o(),i))return!1}catch(a){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ru(e,t,n,r){t&=~Oc,t&=~Ac,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-Ee(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Fe(e,n,t)}function iu(){return!!(6&vc)||(Uu(0),!1)}function ou(){if(null!==wc){if(0===xc)var e=wc.return;else Mi=Ti=null,da(e=wc),po=null,ho=0,e=wc;for(;null!==e;)wl(e.alternate,e),e=e.return;wc=null}}function au(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Tf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Hc=0,ou(),bc=e,wc=n=Hr(e.current,null),_c=t,xc=0,Sc=null,kc=!1,Ec=je(e,t),Ic=!1,jc=Pc=Oc=Ac=Mc=Tc=0,Lc=Rc=null,Nc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-Ee(r),o=1<<i;t|=e[i],r&=~o}return Cc=t,Lr(),n}function su(e,t){Ko=null,P.H=ws,t===no||t===io?(t=uo(),xc=3):t===ro?(t=uo(),xc=4):xc=t===Bs?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,Sc=t,null===wc&&(Tc=1,Ps(e,Jr(t,e.current)))}function lu(){var e=Fo.current;return null===e||((4194048&_c)===_c?null===Do:!!((62914560&_c)===_c||536870912&_c)&&e===Do)}function cu(){var e=P.H;return P.H=ws,null===e?ws:e}function uu(){var e=P.A;return P.A=gc,e}function fu(){Tc=4,kc||(4194048&_c)!==_c&&null!==Fo.current||(Ec=!0),!(134217727&Mc)&&!(134217727&Ac)||null===bc||ru(bc,_c,Pc,!1)}function du(e,t,n){var r=vc;vc|=2;var i=cu(),o=uu();bc===e&&_c===t||(zc=null,au(e,t)),t=!1;var a=Tc;e:for(;;)try{if(0!==xc&&null!==wc){var s=wc,l=Sc;switch(xc){case 8:ou(),a=6;break e;case 3:case 2:case 9:case 6:null===Fo.current&&(t=!0);var c=xc;if(xc=0,Sc=null,mu(e,s,l,c),n&&Ec){a=0;break e}break;default:c=xc,xc=0,Sc=null,mu(e,s,l,c)}}pu(),a=Tc;break}catch(u){su(e,u)}return t&&e.shellSuspendCounter++,Mi=Ti=null,vc=r,P.H=i,P.A=o,null===wc&&(bc=null,_c=0,Lr()),a}function pu(){for(;null!==wc;)yu(wc)}function hu(){for(;null!==wc&&!fe();)yu(wc)}function yu(e){var t=fl(e.alternate,e,Cc);e.memoizedProps=e.pendingProps,null===t?vu(e):wc=t}function gu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=$s(n,t,t.pendingProps,t.type,void 0,_c);break;case 11:t=$s(n,t,t.pendingProps,t.type.render,t.ref,_c);break;case 5:da(t);default:wl(n,t),t=fl(n,t=wc=Vr(t,Cc),Cc)}e.memoizedProps=e.pendingProps,null===t?vu(e):wc=t}function mu(e,t,n,i){Mi=Ti=null,da(t),po=null,ho=0;var o=t.return;try{if(function(e,t,n,i,o){if(n.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){if(null!==(t=n.alternate)&&Ri(t,n,o,!0),null!==(n=Fo.current)){switch(n.tag){case 31:case 13:return null===Do?fu():null===n.alternate&&0===Tc&&(Tc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===oo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([i]):t.add(i),Mu(e,i,o)),!1;case 22:return n.flags|=65536,i===oo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([i]):n.add(i),Mu(e,i,o)),!1}throw Error(r(435,n.tag))}return Mu(e,i,o),fu(),!1}if(gi)return null!==(t=Fo.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==bi&&Ii(Jr(e=Error(r(422),{cause:i}),n))):(i!==bi&&Ii(Jr(t=Error(r(423),{cause:i}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,i=Jr(i,n),Co(e,o=Rs(e.stateNode,i,o)),4!==Tc&&(Tc=2)),!1;var a=Error(r(520),{cause:i});if(a=Jr(a,n),null===Rc?Rc=[a]:Rc.push(a),4!==Tc&&(Tc=2),null===t)return!0;i=Jr(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Co(n,e=Rs(n.stateNode,i,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Uc&&Uc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,Ns(o=Ls(o),e,n,i),Co(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,_c))return Tc=1,Ps(e,Jr(n,e.current)),void(wc=null)}catch(a){if(null!==o)throw wc=o,a;return Tc=1,Ps(e,Jr(n,e.current)),void(wc=null)}32768&t.flags?(gi||1===i?e=!0:Ec||536870912&_c?e=!1:(kc=e=!0,(2===i||9===i||3===i||6===i)&&(null!==(i=Fo.current)&&13===i.tag&&(i.flags|=16384))),bu(t,e)):vu(t)}function vu(e){var t=e;do{if(32768&t.flags)return void bu(t,kc);e=t.return;var n=vl(t.alternate,t,Cc);if(null!==n)return void(wc=n);if(null!==(t=t.sibling))return void(wc=t);wc=t=e}while(null!==t);0===Tc&&(Tc=5)}function bu(e,t){do{var n=bl(e.alternate,e);if(null!==n)return n.flags&=32767,void(wc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(wc=e);wc=e=n}while(null!==e);Tc=6,wc=null}function wu(e,t,n,i,o,a,s,l,c){e.cancelPendingCommit=null;do{Eu()}while(0!==Wc);if(6&vc)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var u=31-Ee(n),f=1<<u;s[u]=0,l[u]=-1;var d=c[u];if(null!==d)for(c[u]=null,u=0;u<d.length;u++){var p=d[u];null!==p&&(p.lane&=-536870913)}n&=~f}0!==r&&Fe(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,n,a|=Rr,s,l,c),e===bc&&(wc=bc=null,_c=0),qc=t,Zc=e,Hc=n,Vc=a,Gc=o,Kc=i,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,ce(me,function(){return Iu(),null})):(e.callbackNode=null,e.callbackPriority=0),i=!!(13878&t.flags),13878&t.subtreeFlags||i){i=P.T,P.T=null,o=R.p,R.p=2,s=vc,vc|=4;try{!function(e,t){if(e=e.containerInfo,wf=Ed,cr(e=lr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var s=0,l=-1,c=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(l=s+o),d!==a||0!==i&&3!==d.nodeType||(c=s+i),3===d.nodeType&&(s+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=s),p===a&&++f===i&&(c=s),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(_f={focusedElem:e,selectionRange:n},Ed=!1,Fl=t;null!==Fl;)if(e=(t=Fl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Fl=e;else for(;null!==Fl;){switch(a=(t=Fl).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,i=n.stateNode;try{var y=Ts(n.type,o);e=i.getSnapshotBeforeUpdate(y,a),i.__reactInternalSnapshotBeforeUpdate=e}catch(m){Tu(n,n.return,m)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Lf(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Lf(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,Fl=e;break}Fl=t.return}}(e,t)}finally{vc=s,R.p=o,P.T=i}}Wc=1,_u(),xu(),Su()}}function _u(){if(1===Wc){Wc=0;var e=Zc,t=qc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=P.T,P.T=null;var r=R.p;R.p=2;var i=vc;vc|=4;try{$l(t,e);var o=_f,a=lr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&sr(s.ownerDocument.documentElement,s)){if(null!==l&&cr(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var f=s.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var p=d.getSelection(),h=s.textContent.length,y=Math.min(l.start,h),g=void 0===l.end?y:Math.min(l.end,h);!p.extend&&y>g&&(a=g,g=y,y=a);var m=ar(s,y),v=ar(s,g);if(m&&v&&(1!==p.rangeCount||p.anchorNode!==m.node||p.anchorOffset!==m.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=f.createRange();b.setStart(m.node,m.offset),p.removeAllRanges(),y>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(f=[],p=s;p=p.parentNode;)1===p.nodeType&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<f.length;s++){var w=f[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Ed=!!wf,_f=wf=null}finally{vc=i,R.p=r,P.T=n}}e.current=t,Wc=2}}function xu(){if(2===Wc){Wc=0;var e=Zc,t=qc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=P.T,P.T=null;var r=R.p;R.p=2;var i=vc;vc|=4;try{Dl(e,t.alternate,t)}finally{vc=i,R.p=r,P.T=n}}Wc=3}}function Su(){if(4===Wc||3===Wc){Wc=0,de();var e=Zc,t=qc,n=Hc,r=Kc;10256&t.subtreeFlags||10256&t.flags?Wc=5:(Wc=0,qc=Zc=null,ku(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Uc=null),We(n),t=t.stateNode,Se&&"function"==typeof Se.onCommitFiberRoot)try{Se.onCommitFiberRoot(xe,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=P.T,i=R.p,R.p=2,P.T=null;try{for(var o=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{P.T=t,R.p=i}}3&Hc&&Eu(),zu(e),i=e.pendingLanes,261930&n&&42&i?e===$c?Yc++:(Yc=0,$c=e):Yc=0,Uu(0)}}function ku(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Hi(t)))}function Eu(){return _u(),xu(),Su(),Iu()}function Iu(){if(5!==Wc)return!1;var e=Zc,t=Vc;Vc=0;var n=We(Hc),i=P.T,o=R.p;try{R.p=32>n?32:n,P.T=null,n=Gc,Gc=null;var a=Zc,s=Hc;if(Wc=0,qc=Zc=null,Hc=0,6&vc)throw Error(r(331));var l=vc;if(vc|=4,pc(a.current),oc(a,a.current,s,n),vc=l,Uu(0,!1),Se&&"function"==typeof Se.onPostCommitFiberRoot)try{Se.onPostCommitFiberRoot(xe,a)}catch(c){}return!0}finally{R.p=o,P.T=i,ku(e,t)}}function Cu(e,t,n){t=Jr(n,t),null!==(e=Eo(e,t=Rs(e.stateNode,t,2),2))&&(Be(e,2),zu(e))}function Tu(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Uc||!Uc.has(r))){e=Jr(n,e),null!==(r=Eo(t,n=Ls(2),2))&&(Ns(n,r,t,e),Be(r,2),zu(r));break}}t=t.return}}function Mu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new mc;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(Ic=!0,i.add(n),e=Au.bind(null,e,t,n),t.then(e,e))}function Au(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,bc===e&&(_c&n)===n&&(4===Tc||3===Tc&&(62914560&_c)===_c&&300>pe()-Bc?!(2&vc)&&au(e,0):Oc|=n,jc===_c&&(jc=0)),zu(e)}function Ou(e,t){0===t&&(t=Le()),null!==(e=Fr(e,t))&&(Be(e,t),zu(e))}function Pu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function ju(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==i&&i.delete(t),Ou(e,n)}var Ru=null,Lu=null,Nu=!1,Bu=!1,Fu=!1,Du=0;function zu(e){e!==Lu&&null===e.next&&(null===Lu?Ru=Lu=e:Lu=Lu.next=e),Bu=!0,Nu||(Nu=!0,Af(function(){6&vc?ce(ye,Wu):Zu()}))}function Uu(e,t){if(!Fu&&Bu){Fu=!0;do{for(var n=!1,r=Ru;null!==r;){if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-Ee(42|e)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Vu(r,o))}else o=_c,!(3&(o=Pe(r,r===bc?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||je(r,o)||(n=!0,Vu(r,o));r=r.next}}while(n);Fu=!1}}function Wu(){Zu()}function Zu(){Bu=Nu=!1;var e=0;0!==Du&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==If&&(If=e,!0);return If=null,!1}()&&(e=Du);for(var t=pe(),n=null,r=Ru;null!==r;){var i=r.next,o=qu(r,t);0===o?(r.next=null,null===n?Ru=i:n.next=i,null===i&&(Lu=n)):(n=r,(0!==e||3&o)&&(Bu=!0)),r=i}0!==Wc&&5!==Wc||Uu(e),0!==Du&&(Du=0)}function qu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-Ee(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=Re(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=_c,n=Pe(e,e===(t=bc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===xc||9===xc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ue(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||je(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ue(r),We(n)){case 2:case 8:n=ge;break;case 32:default:n=me;break;case 268435456:n=be}return r=Hu.bind(null,e),n=ce(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ue(r),e.callbackPriority=2,e.callbackNode=null,2}function Hu(e,t){if(0!==Wc&&5!==Wc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Eu()&&e.callbackNode!==n)return null;var r=_c;return 0===(r=Pe(e,e===bc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(eu(e,r,t),qu(e,pe()),null!=e.callbackNode&&e.callbackNode===n?Hu.bind(null,e):null)}function Vu(e,t){if(Eu())return null;eu(e,t,!0)}function Gu(){if(0===Du){var e=Ki;0===e&&(e=Te,!(261888&(Te<<=1))&&(Te=256)),Du=e}return Du}function Ku(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Nt(""+e)}function Yu(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var $u=0;$u<Mr.length;$u++){var Qu=Mr[$u];Ar(Qu.toLowerCase(),"on"+(Qu[0].toUpperCase()+Qu.slice(1)))}Ar(_r,"onAnimationEnd"),Ar(xr,"onAnimationIteration"),Ar(Sr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(kr,"onTransitionRun"),Ar(Er,"onTransitionStart"),Ar(Ir,"onTransitionCancel"),Ar(Cr,"onTransitionEnd"),ct("onMouseEnter",["mouseout","mouseover"]),ct("onMouseLeave",["mouseout","mouseover"]),ct("onPointerEnter",["pointerout","pointerover"]),ct("onPointerLeave",["pointerout","pointerover"]),lt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),lt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),lt("onBeforeInput",["compositionend","keypress","textInput","paste"]),lt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),lt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),lt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu));function ef(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(u){Or(u)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(u){Or(u)}i.currentTarget=null,o=l}}}}function tf(e,t){var n=t[Ye];void 0===n&&(n=t[Ye]=new Set);var r=e+"__bubble";n.has(r)||(af(t,e,2,!1),n.add(r))}function nf(e,t,n){var r=0;t&&(r|=4),af(n,e,r,t)}var rf="_reactListening"+Math.random().toString(36).slice(2);function of(e){if(!e[rf]){e[rf]=!0,at.forEach(function(t){"selectionchange"!==t&&(Ju.has(t)||nf(t,!1,e),nf(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[rf]||(t[rf]=!0,nf("selectionchange",!1,t))}}function af(e,t,n,r){switch(Pd(t)){case 2:var i=Id;break;case 8:i=Cd;break;default:i=Td}n=i.bind(null,t,n,e),i=void 0,!Gt||"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 sf(e,t,n,r,i){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;if(l===i)break;if(4===s)for(s=r.return;null!==s;){var c=s.tag;if((3===c||4===c)&&s.stateNode.containerInfo===i)return;s=s.return}for(;null!==l;){if(null===(s=tt(l)))return;if(5===(c=s.tag)||6===c||26===c||27===c){r=a=s;continue e}l=l.parentNode}}r=r.return}qt(function(){var r=a,i=Dt(n),s=[];e:{var l=Tr.get(e);if(void 0!==l){var c=ln,u=e;switch(e){case"keypress":if(0===Jt(n))break e;case"keydown":case"keyup":c=Sn;break;case"focusin":u="focus",c=hn;break;case"focusout":u="blur",c=hn;break;case"beforeblur":case"afterblur":c=hn;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":c=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=En;break;case _r:case xr:case Sr:c=yn;break;case Cr:c=In;break;case"scroll":case"scrollend":c=un;break;case"wheel":c=Cn;break;case"copy":case"cut":case"paste":c=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=kn;break;case"toggle":case"beforetoggle":c=Tn}var f=!!(4&t),d=!f&&("scroll"===e||"scrollend"===e),p=f?null!==l?l+"Capture":null:l;f=[];for(var h,y=r;null!==y;){var g=y;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=Ht(y,p))&&f.push(lf(y,g,h)),d)break;y=y.return}0<f.length&&(l=new c(l,u,null,n,i),s.push({event:l,listeners:f}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Ft||!(u=n.relatedTarget||n.fromElement)||!tt(u)&&!u[Ke])&&(c||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?tt(u):null)&&(d=o(u),f=u.tag,u!==d||5!==f&&27!==f&&6!==f)&&(u=null)):(c=null,u=r),c!==u)){if(f=dn,g="onMouseLeave",p="onMouseEnter",y="mouse","pointerout"!==e&&"pointerover"!==e||(f=kn,g="onPointerLeave",p="onPointerEnter",y="pointer"),d=null==c?l:rt(c),h=null==u?l:rt(u),(l=new f(g,y+"leave",c,n,i)).target=d,l.relatedTarget=h,g=null,tt(i)===r&&((f=new f(p,y+"enter",u,n,i)).target=h,f.relatedTarget=d,g=f),d=g,c&&u)e:{for(f=uf,y=u,h=0,g=p=c;g;g=f(g))h++;g=0;for(var m=y;m;m=f(m))g++;for(;0<h-g;)p=f(p),h--;for(;0<g-h;)y=f(y),g--;for(;h--;){if(p===y||null!==y&&p===y.alternate){f=p;break e}p=f(p),y=f(y)}f=null}else f=null;null!==c&&ff(s,l,c,f,!1),null!==u&&null!==d&&ff(s,d,u,f,!0)}if("select"===(c=(l=r?rt(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var v=Vn;else if(zn(l))if(Gn)v=nr;else{v=er;var b=Jn}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&jt(r.elementType)&&(v=Vn):v=tr;switch(v&&(v=v(e,r))?Un(s,v,n,i):(b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&Et(l,"number",l.value)),b=r?rt(r):window,e){case"focusin":(zn(b)||"true"===b.contentEditable)&&(fr=b,dr=r,pr=null);break;case"focusout":pr=dr=fr=null;break;case"mousedown":hr=!0;break;case"contextmenu":case"mouseup":case"dragend":hr=!1,yr(s,n,i);break;case"selectionchange":if(ur)break;case"keydown":case"keyup":yr(s,n,i)}var w;if(An)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Fn?Nn(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(jn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==_?"onCompositionEnd"===_&&Fn&&(w=Xt()):($t="value"in(Yt=i)?Yt.value:Yt.textContent,Fn=!0)),0<(b=cf(r,_)).length&&(_=new mn(_,e,null,n,i),s.push({event:_,listeners:b}),w?_.data=w:null!==(w=Bn(n))&&(_.data=w))),(w=Pn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Ln=!0,Rn);case"textInput":return(e=t.data)===Rn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!An&&Nn(e,t)?(e=Xt(),Qt=$t=Yt=null,Fn=!1,e):null;switch(e){case"paste":default: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 jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(_=cf(r,"onBeforeInput")).length&&(b=new mn("onBeforeInput","beforeinput",null,n,i),s.push({event:b,listeners:_}),b.data=w)),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Ku((i[Ge]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ge]||null)?Ku(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new ln("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Du){var e=a?Yu(i,a):new FormData(i);as(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=a?Yu(i,a):new FormData(i),as(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(s,e,r,n,i)}ef(s,t)})}function lf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function cf(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Ht(e,n))&&r.unshift(lf(e,i,o)),null!=(i=Ht(e,t))&&r.push(lf(e,i,o))),3===e.tag)return r;e=e.return}return[]}function uf(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function ff(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=Ht(n,o))&&a.unshift(lf(n,c,l)):i||null!=(c=Ht(n,o))&&a.push(lf(n,c,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var df=/\r\n?/g,pf=/\u0000|\uFFFD/g;function hf(e){return("string"==typeof e?e:""+e).replace(df,"\n").replace(pf,"")}function yf(e,t){return t=hf(t),hf(e)===t}function gf(e,t,n,i,o,a){switch(n){case"children":"string"==typeof i?"body"===t||"textarea"===t&&""===i||Mt(e,i):("number"==typeof i||"bigint"==typeof i)&&"body"!==t&&Mt(e,""+i);break;case"className":ht(e,"class",i);break;case"tabIndex":ht(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":ht(e,n,i);break;case"style":Pt(e,i,a);break;case"data":if("object"!==t){ht(e,"data",i);break}case"src":case"href":if(""===i&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==i||"function"==typeof i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=Nt(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if("function"==typeof i){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&gf(e,t,"name",o.name,o,null),gf(e,t,"formEncType",o.formEncType,o,null),gf(e,t,"formMethod",o.formMethod,o,null),gf(e,t,"formTarget",o.formTarget,o,null)):(gf(e,t,"encType",o.encType,o,null),gf(e,t,"method",o.method,o,null),gf(e,t,"target",o.target,o,null))),null==i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=Nt(""+i),e.setAttribute(n,i);break;case"onClick":null!=i&&(e.onclick=Bt);break;case"onScroll":null!=i&&tf("scroll",e);break;case"onScrollEnd":null!=i&&tf("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"muted":e.muted=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==i||"function"==typeof i||"boolean"==typeof i||"symbol"==typeof i){e.removeAttribute("xlink:href");break}n=Nt(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===i?e.setAttribute(n,""):!1!==i&&null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":null==i||"function"==typeof i||"symbol"==typeof i||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":tf("beforetoggle",e),tf("toggle",e),pt(e,"popover",i);break;case"xlinkActuate":yt(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":yt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":yt(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":yt(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":yt(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":yt(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":yt(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":yt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":yt(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":pt(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&pt(e,n=Rt.get(n)||n,i)}}function mf(e,t,n,i,o,a){switch(n){case"style":Pt(e,i,a);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof i?Mt(e,i):("number"==typeof i||"bigint"==typeof i)&&Mt(e,""+i);break;case"onScroll":null!=i&&tf("scroll",e);break;case"onScrollEnd":null!=i&&tf("scrollend",e);break;case"onClick":null!=i&&(e.onclick=Bt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:st.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[Ge]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof i)?n in e?e[n]=i:!0===i?e.setAttribute(n,""):pt(e,n,i):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o)))}}function vf(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tf("error",e),tf("load",e);var i,o=!1,a=!1;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(null!=s)switch(i){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:gf(e,t,i,s,n,null)}}return a&&gf(e,t,"srcSet",n.srcSet,n,null),void(o&&gf(e,t,"src",n.src,n,null));case"input":tf("invalid",e);var l=i=s=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var f=n[o];if(null!=f)switch(o){case"name":a=f;break;case"type":s=f;break;case"checked":c=f;break;case"defaultChecked":u=f;break;case"value":i=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(r(137,t));break;default:gf(e,t,o,f,n,null)}}return void kt(e,i,l,c,u,s,a,!1);case"select":for(a in tf("invalid",e),o=s=i=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":i=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:gf(e,t,a,l,n,null)}return t=i,n=s,e.multiple=!!o,void(null!=t?It(e,!!o,t,!1):null!=n&&It(e,!!o,n,!0));case"textarea":for(s in tf("invalid",e),i=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":i=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:gf(e,t,s,l,n,null)}return void Tt(e,o,a,i);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))if("selected"===c)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else gf(e,t,c,o,n,null);return;case"dialog":tf("beforetoggle",e),tf("toggle",e),tf("cancel",e),tf("close",e);break;case"iframe":case"object":tf("load",e);break;case"video":case"audio":for(o=0;o<Xu.length;o++)tf(Xu[o],e);break;case"image":tf("error",e),tf("load",e);break;case"details":tf("toggle",e);break;case"embed":case"source":case"link":tf("error",e),tf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:gf(e,t,u,o,n,null)}return;default:if(jt(t)){for(f in n)n.hasOwnProperty(f)&&(void 0!==(o=n[f])&&mf(e,t,f,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&gf(e,t,l,o,n,null))}function bf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var wf=null,_f=null;function xf(e){return 9===e.nodeType?e:e.ownerDocument}function Sf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function kf(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Ef(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var If=null;var Cf="function"==typeof setTimeout?setTimeout:void 0,Tf="function"==typeof clearTimeout?clearTimeout:void 0,Mf="function"==typeof Promise?Promise:void 0,Af="function"==typeof queueMicrotask?queueMicrotask:void 0!==Mf?function(e){return Mf.resolve(null).then(e).catch(Of)}:Cf;function Of(e){setTimeout(function(){throw e})}function Pf(e){return"head"===e}function jf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r)return e.removeChild(i),void $d(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)qf(e.ownerDocument.documentElement);else if("head"===n){qf(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[Je]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=a}}else"body"===n&&qf(e.ownerDocument.body);n=i}while(n);$d(t)}function Rf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Lf(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Lf(n),et(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Nf(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Df(e.nextSibling)))return null}return e}function Bf(e){return"$?"===e.data||"$~"===e.data}function Ff(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Df(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var zf=null;function Uf(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Df(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Wf(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Zf(e,t,n){switch(t=xf(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function qf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);et(e)}var Hf=new Map,Vf=new Set;function Gf(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Kf=R.d;R.d={f:function(){var e=Kf.f(),t=iu();return e||t},r:function(e){var t=nt(e);null!==t&&5===t.tag&&"form"===t.type?ls(t):Kf.r(e)},D:function(e){Kf.D(e),$f("dns-prefetch",e,null)},C:function(e,t){Kf.C(e,t),$f("preconnect",e,t)},L:function(e,t,n){Kf.L(e,t,n);var r=Yf;if(r&&e&&t){var i='link[rel="preload"][as="'+xt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+xt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+xt(n.imageSizes)+'"]')):i+='[href="'+xt(e)+'"]';var o=i;switch(t){case"style":o=Xf(e);break;case"script":o=td(e)}Hf.has(o)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Hf.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Jf(o))||"script"===t&&r.querySelector(nd(o))||(vf(t=r.createElement("link"),"link",e),ot(t),r.head.appendChild(t)))}},m:function(e,t){Kf.m(e,t);var n=Yf;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+xt(r)+'"][href="'+xt(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=td(e)}if(!Hf.has(o)&&(e=u({rel:"modulepreload",href:e},t),Hf.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(nd(o)))return}vf(r=n.createElement("link"),"link",e),ot(r),n.head.appendChild(r)}}},X:function(e,t){Kf.X(e,t);var n=Yf;if(n&&e){var r=it(n).hoistableScripts,i=td(e),o=r.get(i);o||((o=n.querySelector(nd(i)))||(e=u({src:e,async:!0},t),(t=Hf.get(i))&&ad(e,t),ot(o=n.createElement("script")),vf(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){Kf.S(e,t,n);var r=Yf;if(r&&e){var i=it(r).hoistableStyles,o=Xf(e);t=t||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Jf(o)))s.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Hf.get(o))&&od(e,n);var l=a=r.createElement("link");ot(l),vf(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,id(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(e,t){Kf.M(e,t);var n=Yf;if(n&&e){var r=it(n).hoistableScripts,i=td(e),o=r.get(i);o||((o=n.querySelector(nd(i)))||(e=u({src:e,async:!0,type:"module"},t),(t=Hf.get(i))&&ad(e,t),ot(o=n.createElement("script")),vf(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Yf="undefined"==typeof document?null:document;function $f(e,t,n){var r=Yf;if(r&&"string"==typeof t&&t){var i=xt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Vf.has(i)||(Vf.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(vf(t=r.createElement("link"),"link",e),ot(t),r.head.appendChild(t)))}}function Qf(e,t,n,i){var o,a,s,l,c=(c=Q.current)?Gf(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Xf(n.href),(i=(n=it(c).hoistableStyles).get(t))||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Xf(n.href);var u=it(c).hoistableStyles,f=u.get(e);if(f||(c=c.ownerDocument||c,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,f),(u=c.querySelector(Jf(e)))&&!u._p&&(f.instance=u,f.state.loading=5),Hf.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Hf.set(e,n),u||(o=c,a=e,s=n,l=f.state,o.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=o.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),vf(a,"link",s),ot(a),o.head.appendChild(a))))),t&&null===i)throw Error(r(528,""));return f}if(t&&null!==i)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=td(n),(i=(n=it(c).hoistableScripts).get(t))||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Xf(e){return'href="'+xt(e)+'"'}function Jf(e){return'link[rel="stylesheet"]['+e+"]"}function ed(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}function td(e){return'[src="'+xt(e)+'"]'}function nd(e){return"script[async]"+e}function rd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+xt(n.href)+'"]');if(i)return t.instance=i,ot(i),i;var o=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return ot(i=(e.ownerDocument||e).createElement("style")),vf(i,"style",o),id(i,n.precedence,e),t.instance=i;case"stylesheet":o=Xf(n.href);var a=e.querySelector(Jf(o));if(a)return t.state.loading|=4,t.instance=a,ot(a),a;i=ed(n),(o=Hf.get(o))&&od(i,o),ot(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),vf(a,"link",i),t.state.loading|=4,id(a,n.precedence,e),t.instance=a;case"script":return a=td(n.src),(o=e.querySelector(nd(a)))?(t.instance=o,ot(o),o):(i=n,(o=Hf.get(a))&&ad(i=u({},n),o),ot(o=(e=e.ownerDocument||e).createElement("script")),vf(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(i=t.instance,t.state.loading|=4,id(i,n.precedence,e));return t.instance}function id(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function od(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function ad(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var sd=null;function ld(e,t,n){if(null===sd){var r=new Map,i=sd=new Map;i.set(n,r)}else(r=(i=sd).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[Je]||o[Ve]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function cd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ud(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var fd=0;function dd(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)hd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var pd=null;function hd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,pd=new Map,t.forEach(yd,e),pd=null,dd.call(e))}function yd(e,t){if(!(4&t.state.loading)){var n=pd.get(e);if(n)var r=n.get(null);else{n=new Map,pd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=dd.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var gd={$$typeof:v,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function md(e,t,n,r,i,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ne(0),this.hiddenUpdates=Ne(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function vd(e,t,n,r,i,o,a,s,l,c,u,f){return e=new md(e,t,n,a,l,c,u,f,s),t=1,!0===o&&(t|=24),o=Zr(3,null,null,t),e.current=o,o.stateNode=e,(t=qi()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},xo(o),e}function bd(e){return e?e=Ur:Ur}function wd(e,t,n,r,i,o){i=bd(i),null===r.context?r.context=i:r.pendingContext=i,(r=ko(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=Eo(e,r,t))&&(Jc(n,0,t),Io(n,e,t))}function _d(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function xd(e,t){_d(e,t),(e=e.alternate)&&_d(e,t)}function Sd(e){if(13===e.tag||31===e.tag){var t=Fr(e,67108864);null!==t&&Jc(t,0,67108864),xd(e,67108864)}}function kd(e){if(13===e.tag||31===e.tag){var t=Qc(),n=Fr(e,t=Ue(t));null!==n&&Jc(n,0,t),xd(e,t)}}var Ed=!0;function Id(e,t,n,r){var i=P.T;P.T=null;var o=R.p;try{R.p=2,Td(e,t,n,r)}finally{R.p=o,P.T=i}}function Cd(e,t,n,r){var i=P.T;P.T=null;var o=R.p;try{R.p=8,Td(e,t,n,r)}finally{R.p=o,P.T=i}}function Td(e,t,n,r){if(Ed){var i=Md(r);if(null===i)sf(e,t,r,Ad,n),Ud(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Rd=Wd(Rd,e,t,n,r,i),!0;case"dragenter":return Ld=Wd(Ld,e,t,n,r,i),!0;case"mouseover":return Nd=Wd(Nd,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Bd.set(o,Wd(Bd.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Fd.set(o,Wd(Fd.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Ud(e,r),4&t&&-1<zd.indexOf(e)){for(;null!==i;){var o=nt(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=Oe(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-Ee(a);s.entanglements[1]|=l,a&=~l}zu(o),!(6&vc)&&(Dc=pe()+500,Uu(0))}}break;case 31:case 13:null!==(s=Fr(o,2))&&Jc(s,0,2),iu(),xd(o,2)}if(null===(o=Md(r))&&sf(e,t,r,Ad,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else sf(e,t,r,null,n)}}function Md(e){return Od(e=Dt(e))}var Ad=null;function Od(e){if(Ad=null,null!==(e=tt(e))){var t=o(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=a(t)))return e;e=null}else if(31===n){if(null!==(e=s(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ad=e,null}function Pd(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(he()){case ye:return 2;case ge:return 8;case me:case ve:return 32;case be:return 268435456;default:return 32}default:return 32}}var jd=!1,Rd=null,Ld=null,Nd=null,Bd=new Map,Fd=new Map,Dd=[],zd="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".split(" ");function Ud(e,t){switch(e){case"focusin":case"focusout":Rd=null;break;case"dragenter":case"dragleave":Ld=null;break;case"mouseover":case"mouseout":Nd=null;break;case"pointerover":case"pointerout":Bd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fd.delete(t.pointerId)}}function Wd(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=nt(t))&&Sd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Zd(e){var t=tt(e.target);if(null!==t){var n=o(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=a(n)))return e.blockedOn=t,void qe(e.priority,function(){kd(n)})}else if(31===t){if(null!==(t=s(n)))return e.blockedOn=t,void qe(e.priority,function(){kd(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function qd(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Md(e.nativeEvent);if(null!==n)return null!==(t=nt(n))&&Sd(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ft=r,n.target.dispatchEvent(r),Ft=null,t.shift()}return!0}function Hd(e,t,n){qd(e)&&n.delete(t)}function Vd(){jd=!1,null!==Rd&&qd(Rd)&&(Rd=null),null!==Ld&&qd(Ld)&&(Ld=null),null!==Nd&&qd(Nd)&&(Nd=null),Bd.forEach(Hd),Fd.forEach(Hd)}function Gd(t,n){t.blockedOn===n&&(t.blockedOn=null,jd||(jd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Vd)))}var Kd=null;function Yd(t){Kd!==t&&(Kd=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Kd===t&&(Kd=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],i=t[e+2];if("function"!=typeof r){if(null===Od(r||n))continue;break}var o=nt(n);null!==o&&(t.splice(e,3),e-=3,as(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function $d(e){function t(t){return Gd(t,e)}null!==Rd&&Gd(Rd,e),null!==Ld&&Gd(Ld,e),null!==Nd&&Gd(Nd,e),Bd.forEach(t),Fd.forEach(t);for(var n=0;n<Dd.length;n++){var r=Dd[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Dd.length&&null===(n=Dd[0]).blockedOn;)Zd(n),null===n.blockedOn&&Dd.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Ge]||null;if("function"==typeof o)a||Yd(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Ge]||null)s=a.formAction;else if(null!==Od(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Yd(n)}}}function Qd(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function Xd(e){this._internalRoot=e}function Jd(e){this._internalRoot=e}Jd.prototype.render=Xd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));wd(t.current,Qc(),e,t,null,null)},Jd.prototype.unmount=Xd.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;wd(e.current,2,null,e,null,null),iu(),t[Ke]=null}},Jd.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ze();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dd.length&&0!==t&&t<Dd[n].priority;n++);Dd.splice(n,0,e),0===n&&Zd(e)}};var ep=t.version;if("19.2.3"!==ep)throw Error(r(527,ep,"19.2.3"));R.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=o(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,i=t;;){var a=n.return;if(null===a)break;var s=a.alternate;if(null===s){if(null!==(i=a.return)){n=i;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===i)return l(a),t;s=s.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,i=s;break}if(u===i){c=!0,i=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,i=a;break}if(u===i){c=!0,i=s,n=a;break}u=u.sibling}if(!c)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?c(e):null)?null:e.stateNode};var tp={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.3"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var np=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!np.isDisabled&&np.supportsFiber)try{xe=np.inject(tp),Se=np}catch(ip){}}return D.createRoot=function(e,t){if(!i(e))throw Error(r(299));var n=!1,o="",a=Ms,s=As,l=Os;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=vd(e,1,!1,null,0,n,o,null,a,s,l,Qd),e[Ke]=t.current,of(e),new Xd(t)},D.hydrateRoot=function(e,t,n){if(!i(e))throw Error(r(299));var o=!1,a="",s=Ms,l=As,c=Os,u=null;return null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(u=n.formState)),(t=vd(e,1,!0,t,0,o,a,u,s,l,c,Qd)).context=bd(null),n=t.current,(a=ko(o=Ue(o=Qc()))).callback=null,Eo(n,a,o),n=o,t.current.lanes=n,Be(t,n),zu(t),e[Ke]=t.current,of(e),new Jd(t)},D.version="19.2.3",D}const Q=c((V||(V=1,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)}}(),F.exports=$()),F.exports));var X="lightman_device_id",J="lightman_api_key";function ee(e){var t=function(){if("undefined"==typeof window)return"";var e=window.location.pathname,t="/display/";if(0===e.indexOf(t)){var n=e.substring(9);return"/"===n.charAt(n.length-1)&&(n=n.substring(0,n.length-1)),n}return""}();return t?e+"__"+t:e}function te(){var e="undefined"!=typeof window?window.location.origin:"http://localhost:3001",t=e.replace(/^http/,"ws");return{apiUrl:e+"/api",wsUrl:t+"/ws",mqttUrl:t.replace(/:\d+$/,"")+":1884",deviceId:ie()||"",deviceApiKey:oe()||"",idleTimeout:3e5,heartbeatInterval:3e4,reconnectMaxDelay:3e4}}var ne=null;function re(){return ne||(ne=te()),ne}function ie(){try{return localStorage.getItem(ee(X))}catch(e){return null}}function oe(){try{return localStorage.getItem(ee(J))}catch(e){return null}}function ae(e,t){try{localStorage.setItem(ee(X),e),localStorage.setItem(ee(J),t),ne=null}catch(n){console.error("[Config] Failed to store credentials:",n)}}class se extends Error{constructor(e,n,r){super(e),t(this,"status"),t(this,"endpoint"),this.name="ApiError",this.status=n,this.endpoint=r}}function le(){return{"Content-Type":"application/json",Authorization:"Bearer "+re().deviceApiKey}}function ce(){return re().apiUrl}function ue(e){return new Promise(function(t){setTimeout(t,e)})}function fe(e,t,n){return new Promise(function(r,i){var o=!1,a=setTimeout(function(){o||(o=!0,i(new se("Request timed out after "+n+"ms",0,e)))},n);fetch(e,t).then(function(e){o||(o=!0,clearTimeout(a),r(e))},function(e){o||(o=!0,clearTimeout(a),i(e))})})}async function de(e,t,n=3,r=1e4){for(var i=new Error("Request failed"),o=0;o<n;o++){try{var a=await fe(e,t,r);if(a.ok){var s;try{s=await a.json()}catch(d){throw new se("Failed to parse JSON response",a.status,e)}var l=s;if(l&&"object"==typeof l&&"success"in l&&"data"in l){if(!l.success)throw new se(l.error||"API returned unsuccessful response",a.status,e);return l.data}return s}var c="";try{c=await a.text()}catch(p){}var u=new se("API request failed: "+a.status+" "+(c||a.statusText),a.status,e);if(a.status>=400&&a.status<500&&408!==a.status&&429!==a.status)throw u;i=u}catch(h){if(h instanceof se&&h.status>=400&&h.status<500&&408!==h.status&&429!==h.status)throw h;if(h instanceof se&&"Failed to parse JSON response"===h.message)throw h;if(h instanceof se&&h.status>=200&&h.status<300)throw h;i=h instanceof Error?h:new Error(String(h))}if(o<n-1){var f=1e3*Math.pow(2,o);await ue(f)}}throw i}const pe=new class{constructor(){t(this,"buffer",[]),t(this,"options",null),t(this,"flushTimer",null),t(this,"isFlushing",!1),t(this,"onWindowError",e=>{this.error("Unhandled error: "+e.message,{filename:e.filename,lineno:e.lineno,colno:e.colno})}),t(this,"onUnhandledRejection",e=>{var t=e.reason,n="Unhandled promise rejection";t instanceof Error?n=n+": "+t.message:"string"==typeof t&&(n=n+": "+t),this.error(n)})}init(e){this.options=e,this.startFlushTimer(),this.setupGlobalHandlers()}destroy(){this.stopFlushTimer(),this.removeGlobalHandlers(),this.flush()}error(e,t){this.log("error",e,t)}warn(e,t){this.log("warn",e,t)}info(e,t){this.log("info",e,t)}debug(e,t){this.log("debug",e,t)}log(e,t,n){var r={level:e,message:t,context:{...n,deviceId:this.options?this.options.deviceId:"unknown",templateType:this.options?this.options.templateType:void 0,instanceId:this.options?this.options.instanceId:void 0},timestamp:Date.now()};"error"===e&&("error"===e?console.error:"warn"===e?console.warn:"debug"===e?console.debug:console.log)("[LIGHTMAN "+e.toUpperCase()+"]",t,n||"");this.buffer.push(r);var i=this.options&&this.options.maxBufferSize||50;this.buffer.length>=i&&this.flush()}async flush(){if(!this.isFlushing&&0!==this.buffer.length&&this.options){this.isFlushing=!0;var e=this.buffer.splice(0,this.buffer.length);try{var t=re();(await fetch(t.apiUrl+"/devices/"+this.options.deviceId+"/logs",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+t.deviceApiKey},body:JSON.stringify({entries:e})})).ok||(this.buffer=e.concat(this.buffer))}catch(n){this.buffer=e.concat(this.buffer),this.buffer.length>200&&(this.buffer=this.buffer.slice(-200))}finally{this.isFlushing=!1}}}startFlushTimer(){var e=this.options&&this.options.flushInterval||1e4;this.flushTimer=setInterval(()=>{this.flush()},e)}stopFlushTimer(){this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null)}setupGlobalHandlers(){"undefined"!=typeof window&&(window.addEventListener("error",this.onWindowError),window.addEventListener("unhandledrejection",this.onUnhandledRejection))}removeGlobalHandlers(){"undefined"!=typeof window&&(window.removeEventListener("error",this.onWindowError),window.removeEventListener("unhandledrejection",this.onUnhandledRejection))}};const he=new class{constructor(){t(this,"ws",null),t(this,"listeners",new Map),t(this,"state","disconnected"),t(this,"stateListeners",new Set),t(this,"reconnectAttempts",0),t(this,"reconnectTimer",null),t(this,"heartbeatTimer",null),t(this,"messageQueue",[]),t(this,"deviceId",""),t(this,"instanceId",""),t(this,"templateType","")}connect(e,t,n){this.deviceId=e,this.instanceId=t,this.templateType=n,this.doConnect()}doConnect(){if(this.ws){try{this.ws.onopen=null,this.ws.onmessage=null,this.ws.onclose=null,this.ws.onerror=null,this.ws.close()}catch(o){}this.ws=null}var e=this.reconnectAttempts>0?"reconnecting":"connecting";this.setState(e);var t,n=re(),r=n.wsUrl+"?apiKey="+encodeURIComponent(n.deviceApiKey);try{t=new WebSocket(r)}catch(a){return console.error("[WS] Failed to create WebSocket:",a),void this.scheduleReconnect()}this.ws=t;var i=this;t.onopen=function(){console.info("[WS] Connected to",r),i.setState("connected"),i.reconnectAttempts=0,i.register(),i.startHeartbeat(),i.flushQueue()},t.onmessage=function(e){try{var t=JSON.parse(e.data);i.dispatch(t)}catch(a){console.error("[WS] Failed to parse message:",a)}},t.onclose=function(e){console.info("[WS] Connection closed. Code:",e.code,"Reason:",e.reason),i.stopHeartbeat(),i.ws=null,"disconnected"!==i.state&&i.scheduleReconnect()},t.onerror=function(e){console.error("[WS] WebSocket error:",e)}}disconnect(){if(this.setState("disconnected"),null!==this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.stopHeartbeat(),this.ws){try{this.ws.onopen=null,this.ws.onmessage=null,this.ws.onclose=null,this.ws.onerror=null,this.ws.close()}catch(e){}this.ws=null}this.reconnectAttempts=0}on(e,t){var n=this.listeners.get(e);n||(n=new Set,this.listeners.set(e,n)),n.add(t)}off(e,t){var n=this.listeners.get(e);n&&(n.delete(t),0===n.size&&this.listeners.delete(e))}onStateChange(e){this.stateListeners.add(e)}offStateChange(e){this.stateListeners.delete(e)}send(e,t){var n=JSON.stringify({type:e,payload:t,timestamp:Date.now()});this.ws&&this.ws.readyState===WebSocket.OPEN?this.ws.send(n):(this.messageQueue.push(n),this.messageQueue.length>100&&this.messageQueue.shift())}getState(){return this.state}setState(e){this.state=e,this.stateListeners.forEach(function(t){t(e)})}dispatch(e){var t=this.listeners.get(e.type);t&&t.forEach(function(t){try{t(e)}catch(n){console.error("[WS] Error in event listener for",e.type,":",n)}});var n=this.listeners.get("*");n&&n.forEach(function(t){try{t(e)}catch(n){console.error("[WS] Error in wildcard listener:",n)}})}scheduleReconnect(){var e=this;if("disconnected"!==this.state){this.setState("reconnecting");var t=re().reconnectMaxDelay,n=Math.min(1e3*Math.pow(2,this.reconnectAttempts),t);console.info("[WS] Reconnecting in",n,"ms (attempt",this.reconnectAttempts+1,")"),this.reconnectAttempts=this.reconnectAttempts+1,this.reconnectTimer=setTimeout(function(){e.reconnectTimer=null,e.doConnect()},n)}}startHeartbeat(){this.stopHeartbeat();var e=this,t=re().heartbeatInterval;this.heartbeatTimer=setInterval(function(){e.send("heartbeat",{status:"connected"})},t)}stopHeartbeat(){null!==this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}flushQueue(){for(;this.messageQueue.length>0;){var e=this.messageQueue.shift();e&&this.ws&&this.ws.readyState===WebSocket.OPEN&&this.ws.send(e)}}register(){this.send("register",{deviceId:this.deviceId,instanceId:this.instanceId,templateType:this.templateType})}};var ye="[Watchdog]";function ge(){try{var e=performance;if(e&&e.memory&&"number"==typeof e.memory.usedJSHeapSize)return Math.round(e.memory.usedJSHeapSize/1048576)}catch(t){}return 0}var me,ve,be={exports:{}},we={};var _e=(ve||(ve=1,be.exports=function(){if(me)return we;me=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:i,ref:void 0!==n?n:null,props:r}}return we.Fragment=t,we.jsx=n,we.jsxs=n,we}()),be.exports);function xe(e){var t=e.message,n=["@keyframes lm-spin {"," 0% { transform: rotate(0deg); }"," 100% { transform: rotate(360deg); }","}","@keyframes lm-pulse {"," 0%, 100% { opacity: 0.3; }"," 50% { opacity: 0.8; }","}"].join("\n");return _e.jsxs("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#0a0a0a",color:"#e0e0e0",fontFamily:"'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",zIndex:9999,overflow:"hidden"},children:[_e.jsx("style",{dangerouslySetInnerHTML:{__html:n}}),_e.jsx("div",{style:{fontSize:"14px",fontWeight:600,letterSpacing:"6px",textTransform:"uppercase",color:"#555",marginBottom:"48px"},children:"LIGHTMAN"}),_e.jsxs("div",{style:{position:"relative",width:"48px",height:"48px",marginBottom:"32px"},children:[_e.jsx("div",{style:{width:"48px",height:"48px",border:"2px solid #1a1a1a",borderTopColor:"#888",borderRadius:"50%",animation:"lm-spin 1s linear infinite",boxSizing:"border-box"}}),_e.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",width:"6px",height:"6px",marginTop:"-3px",marginLeft:"-3px",borderRadius:"50%",backgroundColor:"#888",animation:"lm-pulse 1.5s ease-in-out infinite"}})]}),t?_e.jsx("div",{style:{fontSize:"13px",color:"#666",letterSpacing:"0.5px",textAlign:"center",maxWidth:"300px",lineHeight:"1.5"},children:t}):null]})}function Se(e){var t=e.message,n=e.retryIn,r=e.onRetry,i=R.useState(n||0),o=i[0],a=i[1],s=R.useRef(null);R.useEffect(function(){if(n&&!(n<=0))return a(n),s.current=setInterval(function(){a(function(e){return e<=1?(null!==s.current&&(clearInterval(s.current),s.current=null),r&&setTimeout(r,0),0):e-1})},1e3),function(){null!==s.current&&(clearInterval(s.current),s.current=null)}},[n,r]);var l=["@keyframes lm-error-fade-in {"," 0% { opacity: 0; transform: translateY(8px); }"," 100% { opacity: 1; transform: translateY(0); }","}"].join("\n");return _e.jsxs("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#0a0a0a",color:"#e0e0e0",fontFamily:"'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",zIndex:9999,overflow:"hidden"},children:[_e.jsx("style",{dangerouslySetInnerHTML:{__html:l}}),_e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",animation:"lm-error-fade-in 0.4s ease-out"},children:[_e.jsx("div",{style:{fontSize:"14px",fontWeight:600,letterSpacing:"6px",textTransform:"uppercase",color:"#555",marginBottom:"48px"},children:"LIGHTMAN"}),_e.jsx("div",{style:{width:"56px",height:"56px",borderRadius:"50%",border:"2px solid #331a1a",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"28px"},children:_e.jsx("span",{style:{fontSize:"24px",color:"#cc4444",fontWeight:300,lineHeight:1},children:"!"})}),_e.jsx("div",{style:{fontSize:"14px",color:"#999",letterSpacing:"0.3px",textAlign:"center",maxWidth:"400px",lineHeight:"1.6",marginBottom:"32px",padding:"0 24px"},children:t}),n&&n>0&&o>0?_e.jsx("div",{style:{fontSize:"12px",color:"#555",letterSpacing:"0.5px",marginBottom:"20px"},children:"Retrying in "+o+"s"}):null,r?_e.jsx("button",{style:{background:"none",border:"1px solid #333",color:"#999",fontSize:"12px",letterSpacing:"2px",textTransform:"uppercase",padding:"10px 28px",cursor:"pointer",transition:"border-color 0.2s, color 0.2s",fontFamily:"inherit"},onClick:r,onMouseOver:function(e){var t=e.currentTarget;t.style.borderColor="#666",t.style.color="#ccc"},onMouseOut:function(e){var t=e.currentTarget;t.style.borderColor="#333",t.style.color="#999"},children:"Retry Now"}):null]})]})}var ke=R.createContext(null);function Ee(){var e=R.useContext(ke);if(!e)throw new Error("useAppShell must be used within AppShell");return e}class Ie extends L.Component{constructor(e){super(e),t(this,"retryTimer"),t(this,"countdownTimer"),t(this,"scheduleRetry",()=>{null!==this.retryTimer&&clearTimeout(this.retryTimer),null!==this.countdownTimer&&clearInterval(this.countdownTimer),this.setState({countdown:10});var e=this;this.countdownTimer=setInterval(function(){e.setState(function(t){var n=t.countdown-1;return n<=0?(null!==e.countdownTimer&&(clearInterval(e.countdownTimer),e.countdownTimer=null),{countdown:0}):{countdown:n}})},1e3),this.retryTimer=setTimeout(function(){e.retryTimer=null,null!==e.countdownTimer&&(clearInterval(e.countdownTimer),e.countdownTimer=null),e.handleRetry()},1e4)}),t(this,"handleRetry",()=>{this.setState(function(e){return{hasError:!1,error:null,retryCount:e.retryCount+1,countdown:0}})}),this.state={hasError:!1,error:null,retryCount:0,errorCount:0,lastErrorTime:0,countdown:0},this.retryTimer=null,this.countdownTimer=null}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("[ErrorBoundary] Caught error:",e,t),this.props.onError&&this.props.onError(e);var n=Date.now(),r=n-this.state.lastErrorTime,i=this.state.errorCount;r<6e4?i+=1:i=1;var o=this;this.setState({errorCount:i,lastErrorTime:n},function(){if(i>=3){console.warn("[ErrorBoundary] Rapid errors detected ("+i+" in 60000ms), reloading page");try{window.location.reload()}catch(e){}}else o.state.retryCount<3&&o.scheduleRetry()})}componentWillUnmount(){null!==this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=null),null!==this.countdownTimer&&(clearInterval(this.countdownTimer),this.countdownTimer=null)}render(){if(this.state.hasError){var e=this.state.error?this.state.error.message:"An unexpected error occurred",t=this.state.retryCount>=3,n="";try{n=re().deviceId}catch(o){n="unknown"}var r=[];r.push(e),n&&r.push("Device: "+n),r.push("Retry "+(this.state.retryCount+1)+"/3");var i=r.join("\n");return t?L.createElement(Se,{message:"A persistent error has occurred. Please contact support.\n\n"+e+"\n\nDevice: "+n,onRetry:this.handleRetry}):L.createElement(Se,{message:i,retryIn:this.state.countdown>0?this.state.countdown:10,onRetry:this.handleRetry})}return this.props.children}}function Ce(e){var t=e.children,n=re(),r=R.useState(null),i=r[0],o=r[1],a=R.useState(""),s=a[0],l=a[1],c=R.useState(""),u=c[0],f=c[1],d=R.useState(!0),p=d[0],h=d[1],y=R.useState(null),g=y[0],m=y[1],v=R.useState(!1),b=v[0],w=v[1],_=R.useRef(!0),x=R.useRef(0),S=R.useRef(null);!function(e={}){const{enabled:t=!0,preventKeyboard:n=!0,keepAwake:r=!0}=e,i=R.useCallback(()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen().catch(()=>{}):e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},[]);R.useEffect(()=>{if(!t)return;i();const e=e=>{},o=()=>{window.history.pushState(null,"",window.location.href)},a=e=>{n&&(-1===["F5","F11","F12"].indexOf(e.key)?(e.ctrlKey&&-1!==["r","w","l","n","t"].indexOf(e.key.toLowerCase())||e.altKey&&"F4"===e.key)&&e.preventDefault():e.preventDefault())},s=e=>{e.preventDefault()};let l=0;const c=e=>{const t=Date.now();t-l<=300&&e.preventDefault(),l=t};window.history.pushState(null,"",window.location.href),document.addEventListener("contextmenu",e),window.addEventListener("popstate",o),document.addEventListener("keydown",a),document.addEventListener("dragstart",s),document.addEventListener("touchend",c,{passive:!1});let u=null;r&&"wakeLock"in navigator&&navigator.wakeLock.request("screen").then(e=>{u=e}).catch(()=>{});const f=()=>{"visible"===document.visibilityState&&r&&"wakeLock"in navigator&&(u&&(u.release().catch(()=>{}),u=null),navigator.wakeLock.request("screen").then(e=>{u=e}).catch(()=>{}))};return document.addEventListener("visibilitychange",f),()=>{document.removeEventListener("contextmenu",e),window.removeEventListener("popstate",o),document.removeEventListener("keydown",a),document.removeEventListener("dragstart",s),document.removeEventListener("touchend",c),document.removeEventListener("visibilitychange",f),u&&u.release().catch(()=>{})}},[t,n,r,i])}({enabled:!0});var k,E=(k={deviceId:n.deviceId,templateType:s||"unknown"},R.useEffect(function(){return pe.init({deviceId:k.deviceId,templateType:k.templateType,instanceId:k.instanceId}),pe.info("App initialized",{templateType:k.templateType,instanceId:k.instanceId}),function(){pe.info("App unmounting"),pe.destroy()}},[k.deviceId,k.templateType,k.instanceId]),pe),I=function(e){var t=void 0===e.enabled||e.enabled,n=e.deviceId,r=e.instanceId,i=e.templateType,o=R.useState("disconnected"),a=o[0],s=o[1];return R.useEffect(function(){if(t){he.connect(n,r,i);var e=function(e){s(e)};return he.onStateChange(e),function(){he.offStateChange(e),he.disconnect()}}},[n,r,i,t]),{connectionState:a,isConnected:"connected"===a,send:R.useCallback(function(e,t){he.send(e,t)},[]),onEvent:R.useCallback(function(e,t){he.on(e,t)},[]),offEvent:R.useCallback(function(e,t){he.off(e,t)},[])}}({deviceId:n.deviceId,instanceId:u||"pending",templateType:s||"unknown",enabled:Boolean(n.deviceId)});!function(e){var t=e||{},n=void 0===t.enabled||t.enabled,r=void 0!==t.maxConsoleErrors?t.maxConsoleErrors:50,i=void 0!==t.memoryLimitMB?t.memoryLimitMB:180,o=void 0!==t.healthCheckIntervalMs?t.healthCheckIntervalMs:3e4,a=void 0===t.autoReloadOnCrash||t.autoReloadOnCrash,s=R.useState(0),l=s[0],c=s[1],u=R.useState(function(){return ge()}),f=u[0],d=u[1],p=R.useState(!0),h=p[0],y=p[1],g=R.useRef(0),m=R.useRef(!0),v=R.useCallback(function(e){if(a){console.warn(ye,"Reloading page:",e);try{window.location.reload()}catch(t){}}else console.warn(ye,"Auto-reload disabled. Would reload due to:",e)},[a]);R.useEffect(function(){if(n){m.current=!0,console.info(ye,"Started monitoring (maxErrors="+r+", memoryLimitMB="+i+")"),window.addEventListener("error",t),window.addEventListener("unhandledrejection",a);var e=setInterval(function(){if(m.current){var e=ge();d(e);var t=g.current<r;e>0&&e>=i&&(t=!1),y(t),e>0?console.info(ye,"Health check: memory="+e+"MB, errors="+g.current+", healthy="+t):console.info(ye,"Health check: errors="+g.current+", healthy="+t),e>0&&e>=i&&v("Memory limit exceeded ("+e+"MB / "+i+"MB)")}},o);return function(){m.current=!1,window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",a),clearInterval(e),console.info(ye,"Stopped monitoring")}}function t(e){g.current=g.current+1;var t=g.current;console.warn(ye,"Error captured ("+t+"/"+r+")"),m.current&&c(t),t>=r&&v("Error count exceeded threshold ("+t+"/"+r+")")}function a(e){g.current=g.current+1;var t=g.current;console.warn(ye,"Unhandled rejection captured ("+t+"/"+r+")"),m.current&&c(t),t>=r&&v("Error count exceeded threshold after unhandled rejection ("+t+"/"+r+")")}},[n,r,i,o,v])}({enabled:!0});var C=R.useCallback(function(){if(!n.deviceId)return m("No device credentials found"),void h(!1);h(!0),m(null),async function(e){return de(ce()+"/devices/"+encodeURIComponent(e)+"/config",{method:"GET",headers:le()})}(n.deviceId).then(function(e){if(_.current){var t=e.assignedApp;if(!t)return m("No app assigned to this device"),h(!1),void E.warn("No app assigned to device",{deviceId:n.deviceId});var r=t.config;try{var i=new URLSearchParams(window.location.search).get("screenIndex");null!==i&&(r=Object.assign({},r,{screenIndex:parseInt(i,10)}))}catch(a){}o(r),l(t.templateType),f(t.instanceId),h(!1),m(null),x.current=0,E.info("Config loaded successfully",{instanceId:t.instanceId,templateType:t.templateType})}},function(e){if(_.current){var t=e instanceof Error?e.message:String(e);E.error("Failed to fetch config",{error:t}),x.current<3?(x.current=x.current+1,E.info("Retrying config fetch",{attempt:x.current,maxRetries:3}),S.current=setTimeout(function(){S.current=null,_.current&&C()},5e3)):(m("Failed to load configuration: "+t),h(!1))}})},[n.deviceId]);if(R.useEffect(function(){return _.current=!0,C(),function(){_.current=!1,null!==S.current&&(clearTimeout(S.current),S.current=null)}},[C]),R.useEffect(function(){function e(){E.info("Received reload command"),window.location.reload()}function t(){E.info("Received navigate command, re-fetching config"),x.current=0,C()}function n(){E.info("Received restart command"),x.current=0,o(null),l(""),f(""),h(!0),m(null),w(!1),C()}function r(){E.info("Received idle command"),w(!0)}function i(){E.info("Received activate command"),w(!1)}function a(e){var t=e.payload;if(t&&t.config){var n=t.config,r="string"==typeof n.templateType?n.templateType:"",i="string"==typeof n.instanceId?n.instanceId:"";E.info("Received config update",{templateType:r||s||"unchanged",instanceId:i||u||"unchanged"}),o(t.config),r&&l(r),i&&f(i)}}return I.onEvent("command:reload",e),I.onEvent("command:navigate",t),I.onEvent("command:restart",n),I.onEvent("command:idle",r),I.onEvent("command:activate",i),I.onEvent("config:updated",a),function(){I.offEvent("command:reload",e),I.offEvent("command:navigate",t),I.offEvent("command:restart",n),I.offEvent("command:idle",r),I.offEvent("command:activate",i),I.offEvent("config:updated",a)}},[C]),p)return L.createElement(xe,{message:"Loading configuration..."});if(g)return L.createElement(Se,{message:g,retryIn:10,onRetry:function(){x.current=0,C()}});if(!i||!s||!u)return L.createElement(xe,{message:"Waiting for app assignment..."});var T={instanceId:u,templateType:s,config:i,isIdle:b,connectionState:I.connectionState,send:I.send};return L.createElement(ke.Provider,{value:T},L.createElement("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",overflow:"hidden",backgroundColor:"#000"},"data-appshell":"true","data-idle":b?"true":"false"},t(i,s,u)))}function Te(e){return L.createElement(Ie,null,L.createElement(Ce,e))}var Me=3e3,Ae=window.location.origin+"/api";function Oe(e){var t=e.slug,n=e.onProvisioned,r=R.useState("checking"),i=r[0],o=r[1],a=R.useState(""),s=a[0],l=a[1],c=R.useState(""),u=c[0],f=c[1],d=R.useRef(!0),p=R.useRef(null);R.useEffect(function(){return d.current=!0,function(){d.current=!1,null!==p.current&&(clearTimeout(p.current),p.current=null)}},[]);var h=R.useCallback(function(){o("checking"),fetch(Ae+"/devices/provision/"+encodeURIComponent(t)).then(function(e){return e.json()}).then(function(e){if(d.current){if("deviceId"in e&&"apiKey"in e){var r=e;return ae(r.deviceId,r.apiKey),void n()}var i=e;i.requiresPairing&&i.code?(l(i.code),o("pairing"),y(i.code)):(f("Device not found: "+t),o("error"))}}).catch(function(e){d.current&&(f(e instanceof Error?e.message:String(e)),o("error"))})},[t,n]),y=R.useCallback(function(e){p.current=setTimeout(function r(){d.current&&fetch(Ae+"/devices/provision/"+encodeURIComponent(t)+"/status?code="+encodeURIComponent(e)).then(function(e){return e.json()}).then(function(e){if(d.current){if("deviceId"in e&&"apiKey"in e){var t=e;return ae(t.deviceId,t.apiKey),void n()}p.current=setTimeout(r,Me)}}).catch(function(){d.current&&(p.current=setTimeout(r,Me))})},Me)},[t,n]);R.useEffect(function(){h()},[h]);var g={position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"#0a0a0a",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",fontFamily:"system-ui, -apple-system, sans-serif",color:"#fff"},m={fontSize:"32px",fontWeight:700,letterSpacing:"6px",textTransform:"uppercase",marginBottom:"48px",opacity:.9},v={width:"64px",height:"80px",backgroundColor:"rgba(255, 255, 255, 0.1)",borderRadius:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"36px",fontWeight:700,fontFamily:"monospace",border:"1px solid rgba(255, 255, 255, 0.2)"},b={fontSize:"16px",opacity:.6,marginTop:"8px"},w={fontSize:"14px",opacity:.4,marginTop:"24px",fontFamily:"monospace"};if("checking"===i)return L.createElement("div",{style:g},L.createElement("div",{style:m},"LIGHTMAN"),L.createElement("div",{style:b},"Connecting to server..."),L.createElement("div",{style:w},t));if("error"===i)return L.createElement("div",{style:g},L.createElement("div",{style:m},"LIGHTMAN"),L.createElement("div",{style:{color:"#ef4444",fontSize:"16px",marginBottom:"24px",textAlign:"center",maxWidth:"400px"}},u),L.createElement("button",{style:{padding:"12px 32px",backgroundColor:"rgba(255, 255, 255, 0.1)",border:"1px solid rgba(255, 255, 255, 0.2)",borderRadius:"8px",color:"#fff",fontSize:"14px",cursor:"pointer"},onClick:h},"Retry"),L.createElement("div",{style:w},t));var _=s.split("").map(function(e,t){return L.createElement("div",{key:t,style:v},e)});return L.createElement("div",{style:g},L.createElement("div",{style:m},"LIGHTMAN"),L.createElement("div",{style:{fontSize:"18px",marginBottom:"24px",opacity:.8}},"Enter this code in the admin panel"),L.createElement("div",{style:{display:"flex",gap:"12px",marginBottom:"32px"}},_),L.createElement("div",{style:b},"Waiting for admin to pair this device..."),L.createElement("div",{style:w},t))}function Pe(e){return 1e3*Math.pow(2,e)}function je({src:e,muted:t=!1,volume:n=100,fit:r="cover",backgroundColor:i="#000",loop:o=!0,autoPlay:a=!0,onError:s,onEnded:l,className:c}){const u=R.useRef(null),f=R.useRef(null),[d,p]=R.useState("a"),[,h]=R.useState(!1),[y,g]=R.useState(1),[m,v]=R.useState(0),b=R.useRef(e),w=R.useRef(0),_=R.useRef(null),x=R.useRef(!1),S=R.useRef(!0),k=R.useCallback(()=>"a"===d?u.current:f.current,[d]),E=R.useCallback(()=>"a"===d?f.current:u.current,[d]),I=R.useCallback(()=>{null!==_.current&&(clearTimeout(_.current),_.current=null)},[]),C=R.useCallback(e=>{e.muted=t,t||(e.volume=Math.max(0,Math.min(1,n/100)))},[t,n]),T=R.useCallback(e=>{if(e){var t;C(e);try{t=e.play()}catch(n){return}t&&"function"==typeof t.then&&t.then(function(){}).catch(function(){if(!e.muted){var t;e.muted=!0;try{t=e.play()}catch(n){return}t&&"function"==typeof t.then&&t.then(function(){C(e)}).catch(function(){})}})}},[C]),M=R.useCallback((e,t,n)=>{if(S.current){I();var r=null,i=null,o=function(){r&&e.removeEventListener("canplaythrough",r),i&&e.removeEventListener("error",i)};r=function(){o(),S.current&&(w.current=0,a&&T(e))},i=function(){if(o(),S.current)if(n<3){var r=Pe(n);_.current=setTimeout(function(){S.current&&M(e,t,n+1)},r)}else s&&s(new Error("Video failed to load after 3 attempts: "+t))},e.addEventListener("canplaythrough",r,{once:!0}),e.addEventListener("error",i,{once:!0}),e.preload="auto",e.src=t,e.load()}},[a,I,s,T]),A=R.useCallback(e=>{if(!x.current){x.current=!0,h(!0);var t=E();if(!t)return x.current=!1,void h(!1);var n=null,r=null,i=function(){n&&t.removeEventListener("canplaythrough",n),r&&t.removeEventListener("error",r)},o=function(a){S.current&&t&&(i(),n=function(){if(i(),S.current&&t){T(t);var n="a"===d?"b":"a";"a"===n?(g(1),v(0)):(g(0),v(1)),setTimeout(function(){if(S.current){var t=k();t&&(t.pause(),t.removeAttribute("src"),t.load()),p(n),b.current=e,x.current=!1,h(!1)}},550)}},r=function(){if(i(),S.current)if(a<3){var t=Pe(a);_.current=setTimeout(function(){S.current&&o(a+1)},t)}else x.current=!1,h(!1),s&&s(new Error("Video crossfade failed after 3 attempts: "+e))},t.addEventListener("canplaythrough",n,{once:!0}),t.addEventListener("error",r,{once:!0}),t.preload="auto",t.src=e,t.load())};o(0)}},[d,k,E,s,T]);R.useEffect(function(){S.current=!0;var t=u.current;return t&&e&&(M(t,e,0),b.current=e),function(){S.current=!1}},[]),R.useEffect(function(){e!==b.current&&e&&A(e)},[e]),R.useEffect(function(){var e=k();e&&(e.muted=t,t||(e.volume=Math.max(0,Math.min(1,n/100))))},[t,n,d,k]),R.useEffect(function(){var e=u.current,t=f.current,n=function(){S.current&&(o?e&&(e.currentTime=0,T(e)):l&&l())},r=function(){S.current&&(o?t&&(t.currentTime=0,T(t)):l&&l())};return e&&e.addEventListener("ended",n),t&&t.addEventListener("ended",r),function(){e&&e.removeEventListener("ended",n),t&&t.removeEventListener("ended",r)}},[o,l,T]),R.useEffect(function(){return function(){S.current=!1,I();var e=u.current,t=f.current;e&&(e.pause(),e.removeAttribute("src"),e.load()),t&&(t.pause(),t.removeAttribute("src"),t.load())}},[]);var O={position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:r,display:"block",transform:"translateZ(0)",transition:"opacity 500ms ease-in-out"},P={...O,opacity:y,zIndex:"a"===d?1:0},j={...O,opacity:m,zIndex:"b"===d?1:0},L={position:"relative",width:"100%",height:"100%",backgroundColor:i,overflow:"hidden"};return _e.jsxs("div",{style:L,className:c,children:[_e.jsx("video",{ref:u,style:P,muted:t,loop:o,playsInline:!0,preload:"auto"}),_e.jsx("video",{ref:f,style:j,muted:t,loop:o,playsInline:!0,preload:"auto"})]})}function Re({isIdle:e,idle:t,className:n}){var r=R.useState(!1),i=r[0],o=r[1],a=R.useState(!1),s=a[0],l=a[1],c=R.useRef(null),u=t&&t.transitionDuration?t.transitionDuration:1e3;if(R.useEffect(function(){if(e)return l(!0),c.current=requestAnimationFrame(function(){c.current=requestAnimationFrame(function(){c.current=null,o(!0)})}),function(){null!==c.current&&(cancelAnimationFrame(c.current),c.current=null)};o(!1);var t=setTimeout(function(){l(!1)},u);return function(){clearTimeout(t)}},[e,u]),!t||!s)return null;var f={position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:50,opacity:i?1:0,pointerEvents:i?"auto":"none",transition:"opacity "+u+"ms ease-in-out",transform:"translateZ(0)"},d={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:"url("+t.url+")",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"};return _e.jsxs("div",{style:f,className:n,children:[_e.jsx("style",{children:"@keyframes idle-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }"}),"video"===t.type?_e.jsx(je,{src:t.url,muted:!1,fit:"cover",loop:!0,autoPlay:!0}):_e.jsx("div",{style:d}),_e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%)",zIndex:1}}),_e.jsxs("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:2},children:[_e.jsx("div",{style:{fontSize:"48px",fontWeight:700,color:"#fff",letterSpacing:"-0.02em",marginBottom:"16px",textShadow:"0 2px 20px rgba(0,0,0,0.5)"},children:"LIGHTMAN"}),_e.jsx("div",{style:{fontSize:"20px",fontWeight:400,color:"rgba(255,255,255,0.8)",letterSpacing:"0.15em",textTransform:"uppercase"},children:"Museum Experience"})]}),_e.jsx("div",{style:{position:"absolute",bottom:"60px",left:0,width:"100%",textAlign:"center",fontSize:"16px",color:"rgba(255,255,255,0.6)",letterSpacing:"0.2em",textTransform:"uppercase",animation:"idle-pulse 2s ease-in-out infinite"},children:"Touch to explore"})]})}var Le,Ne,Be,Fe={exports:{}},De={exports:{}};function ze(){if(Le)return De.exports;Le=1;var e,t="object"==typeof Reflect?Reflect:null,n=t&&"function"==typeof t.apply?t.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};e=t&&"function"==typeof t.ownKeys?t.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}De.exports=i,De.exports.once=function(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}h(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&h(e,"error",t,n)}(e,i,{once:!0})})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var o=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,o,l,c;if(a(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),l=o[t]),void 0===l)l=o[t]=n,++e._eventsCount;else if("function"==typeof l?l=o[t]=r?[n,l]:[l,n]:r?l.unshift(n):l.push(n),(i=s(e))>0&&l.length>i&&!l.warned){l.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=l.length,c=u,console&&console.warn&&console.warn(c)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):p(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function h(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){r.once&&e.removeEventListener(t,i),n(o)})}}return Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var c=l.length,u=p(l,c);for(r=0;r<c;++r)n(u[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return a(t),this.on(e,u(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,u(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,i,o,s;if(a(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return f(this,e,!0)},i.prototype.rawListeners=function(e){return f(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]},De.exports}function Ue(){if(Be)return Ne;Be=1,Ne=function(){for(var t={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)e.call(r,i)&&(t[i]=r[i])}return t};var e=Object.prototype.hasOwnProperty;return Ne}var We,Ze,qe={exports:{}};function He(){return Ze?We:(Ze=1,We=ze().EventEmitter)}var Ve,Ge={};function Ke(){return Ve||(Ve=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var t={},n={byteLength:function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},fromByteArray:function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(u(e,s,s+a>l?l:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")}},r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function u(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(c(r));return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63;var f={read:function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},write:function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,f=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*y}};!function(e){const t=n,r=f,i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=u,e.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o;const{Uint8Array:a,ArrayBuffer:s,SharedArrayBuffer:l}=globalThis;function c(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new a(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return h(e)}return d(e,t,n)}function d(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|v(e,t);let r=c(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(s.isView(e))return function(e){if(X(e,a)){const t=new a(e);return g(t.buffer,t.byteOffset,t.byteLength)}return y(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,s)||e&&X(e.buffer,s))return g(e,t,n);if(void 0!==l&&(X(e,l)||e&&X(e.buffer,l)))return g(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|m(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||J(e.length)?c(0):y(e);if("Buffer"===e.type&&Array.isArray(e.data))return y(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return p(e),c(e<0?0:0|m(e))}function y(e){const t=e.length<0?0:0|m(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function g(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new a(e):void 0===n?new a(e,t):new a(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function m(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function v(e,t){if(u.isBuffer(e))return e.length;if(s.isView(e)||X(e,s))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(i)return r?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function _(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof a.prototype.indexOf?i?a.prototype.indexOf.call(e,t,n):a.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function S(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(J(r))return a;e[n+a]=r}return a}function k(e,t,n,r){return Q(Y(t,e.length-n),e,n,r)}function E(e,t,n,r){return Q(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function I(e,t,n,r){return Q($(t),e,n,r)}function C(e,t,n,r){return Q(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function T(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function M(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=A));return n}(r)}u.TYPED_ARRAY_SUPPORT=function(){try{const e=new a(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,a.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return d(e,t,n)},Object.setPrototypeOf(u.prototype,a.prototype),Object.setPrototypeOf(u,a),u.alloc=function(e,t,n){return function(e,t,n){return p(e),e<=0?c(e):void 0!==t?"string"==typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}(e,t,n)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,a)&&(e=u.from(e,e.offset,e.byteLength)),X(t,a)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(X(t,a))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):a.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=v,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)w(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):b.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let t="";const n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(X(e,a)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const l=Math.min(o,s),c=this.slice(r,i),f=e.slice(t,n);for(let a=0;a<l;++a)if(c[a]!==f[a]){o=c[a],s=f[a];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return _(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return _(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return S(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":case"latin1":case"binary":return E(this,e,t,n);case"base64":return I(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const A=4096;function O(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function P(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function j(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=ee[e[o]];return i}function R(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function B(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function F(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(e,t,n,i,o){return t=+t,n>>>=0,o||D(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function U(e,t,n,i,o){return t=+t,n>>>=0,o||D(e,0,n,8),r.write(e,t,n,i,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=te(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=te(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=te(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=te(function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),r.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),r.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),r.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),r.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){N(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){N(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=te(function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=te(function(e,t=0){return F(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=te(function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=te(function(e,t=0){return F(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof a.prototype.copyWithin?this.copyWithin(t,n,r):a.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const W={};function Z(e,t,n){W[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function q(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function H(e,t,n,r,i,o){if(e>n||e<t){const n="bigint"==typeof t?"n":"";let r;throw r=0===t||t===BigInt(0)?">= 0".concat(n," and < 2").concat(n," ** ").concat(8*(o+1)).concat(n):">= -(2".concat(n," ** ").concat(8*(o+1)-1).concat(n,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(n),new W.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||G(t,e.length-(n+1))}(r,i,o)}function V(e,t){if("number"!=typeof e)throw new W.ERR_INVALID_ARG_TYPE(t,"number",e)}function G(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new W.ERR_OUT_OF_RANGE("offset","an integer",e);if(t<0)throw new W.ERR_BUFFER_OUT_OF_BOUNDS;throw new W.ERR_OUT_OF_RANGE("offset",">= ".concat(0," and <= ").concat(t),e)}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)},TypeError),Z("ERR_OUT_OF_RANGE",function(e,t,n){let r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=q(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=q(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i),r},RangeError);const K=/[^+/0-9A-Za-z-_]/g;function Y(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(K,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}const ee=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function te(e){return"undefined"==typeof BigInt?ne:e}function ne(){throw new Error("BigInt not supported")}}(t);const d=t.Buffer;e.Blob=t.Blob,e.BlobOptions=t.BlobOptions,e.Buffer=t.Buffer,e.File=t.File,e.FileOptions=t.FileOptions,e.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,e.SlowBuffer=t.SlowBuffer,e.TranscodeEncoding=t.TranscodeEncoding,e.atob=t.atob,e.btoa=t.btoa,e.constants=t.constants,e.default=d,e.isAscii=t.isAscii,e.isUtf8=t.isUtf8,e.kMaxLength=t.kMaxLength,e.kStringMaxLength=t.kStringMaxLength,e.resolveObjectURL=t.resolveObjectURL,e.transcode=t.transcode}(Ge)),Ge}var Ye,$e,Qe,Xe,Je,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,ft,dt,pt,ht,yt,gt,mt,vt,bt,wt,_t,xt,St,kt,Et,It,Ct,Tt,Mt,At,Ot,Pt,jt,Rt,Lt,Nt,Bt,Ft,Dt,zt,Ut,Wt,Zt,qt,Ht,Vt,Gt,Kt,Yt,$t,Qt,Xt,Jt,en,tn,nn,rn,on,an,sn,ln,cn,un,fn,dn,pn,hn,yn,gn,mn,vn,bn,wn,_n,xn,Sn,kn,En,In,Cn,Tn,Mn,An,On,Pn={},jn={};function Rn(){return $e?Ye:($e=1,Ye=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0})}function Ln(){if(Xe)return Qe;Xe=1;var e=Rn();return Qe=function(){return e()&&!!Symbol.toStringTag}}function Nn(){return et?Je:(et=1,Je=Object)}function Bn(){return nt?tt:(nt=1,tt=Error)}function Fn(){return it?rt:(it=1,rt=EvalError)}function Dn(){return at?ot:(at=1,ot=RangeError)}function zn(){return lt?st:(lt=1,st=ReferenceError)}function Un(){return ut?ct:(ut=1,ct=SyntaxError)}function Wn(){return dt?ft:(dt=1,ft=TypeError)}function Zn(){return ht?pt:(ht=1,pt=URIError)}function qn(){return gt?yt:(gt=1,yt=Math.abs)}function Hn(){return vt?mt:(vt=1,mt=Math.floor)}function Vn(){return wt?bt:(wt=1,bt=Math.max)}function Gn(){return xt?_t:(xt=1,_t=Math.min)}function Kn(){return kt?St:(kt=1,St=Math.pow)}function Yn(){return It?Et:(It=1,Et=Math.round)}function $n(){return Tt?Ct:(Tt=1,Ct=Number.isNaN||function(e){return e!=e})}function Qn(){if(At)return Mt;At=1;var e=$n();return Mt=function(t){return e(t)||0===t?t:t<0?-1:1}}function Xn(){return Pt?Ot:(Pt=1,Ot=Object.getOwnPropertyDescriptor)}function Jn(){if(Rt)return jt;Rt=1;var e=Xn();if(e)try{e([],"length")}catch(t){e=null}return jt=e}function er(){if(Nt)return Lt;Nt=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return Lt=e}function tr(){return zt?Dt:(zt=1,Dt="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function nr(){return Wt?Ut:(Wt=1,Ut=Nn().getPrototypeOf||null)}function rr(){if(Vt)return Ht;Vt=1;var e=function(){if(qt)return Zt;qt=1;var e=Object.prototype.toString,t=Math.max,n=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};return Zt=function(r){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e){for(var t=[],n=1,r=0;n<e.length;n+=1,r+=1)t[r]=e[n];return t}(arguments),s=t(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var e=i.apply(this,n(a,arguments));return Object(e)===e?e:this}return i.apply(r,n(a,arguments))}),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o},Zt}();return Ht=Function.prototype.bind||e}function ir(){return Kt?Gt:(Kt=1,Gt=Function.prototype.call)}function or(){return $t?Yt:($t=1,Yt=Function.prototype.apply)}function ar(){if(en)return Jt;en=1;var e=rr(),t=or(),n=ir(),r=Xt?Qt:(Xt=1,Qt="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return Jt=r||e.call(n,t)}function sr(){if(nn)return tn;nn=1;var e=rr(),t=Wn(),n=ir(),r=ar();return tn=function(i){if(i.length<1||"function"!=typeof i[0])throw new t("a function is required");return r(e,n,i)}}function lr(){if(on)return rn;on=1;var e,t=sr(),n=Jn();try{e=[].__proto__===Array.prototype}catch(a){if(!a||"object"!=typeof a||!("code"in a)||"ERR_PROTO_ACCESS"!==a.code)throw a}var r=!!e&&n&&n(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return rn=r&&"function"==typeof r.get?t([r.get]):"function"==typeof o&&function(e){return o(null==e?e:i(e))}}function cr(){if(sn)return an;sn=1;var e=tr(),t=nr(),n=lr();return an=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:n?function(e){return n(e)}:null}function ur(){if(cn)return ln;cn=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=rr();return ln=n.call(e,t)}function fr(){if(fn)return un;var e;fn=1;var t=Nn(),n=Bn(),r=Fn(),i=Dn(),o=zn(),a=Un(),s=Wn(),l=Zn(),c=qn(),u=Hn(),f=Vn(),d=Gn(),p=Kn(),h=Yn(),y=Qn(),g=Function,m=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(t){}},v=Jn(),b=er(),w=function(){throw new s},_=v?function(){try{return w}catch(e){try{return v(arguments,"callee").get}catch(t){return w}}}():w,x=function(){if(Ft)return Bt;Ft=1;var e="undefined"!=typeof Symbol&&Symbol,t=Rn();return Bt=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"==typeof e("foo")&&"symbol"==typeof Symbol("bar")&&t()}}()(),S=cr(),k=nr(),E=tr(),I=or(),C=ir(),T={},M="undefined"!=typeof Uint8Array&&S?S(Uint8Array):e,A={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":x&&S?S([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":T,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&S?S(S([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&S?S((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&S?S((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&S?S(""[Symbol.iterator]()):e,"%Symbol%":x?Symbol:e,"%SyntaxError%":a,"%ThrowTypeError%":_,"%TypedArray%":M,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":C,"%Function.prototype.apply%":I,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":k,"%Math.abs%":c,"%Math.floor%":u,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":p,"%Math.round%":h,"%Math.sign%":y,"%Reflect.getPrototypeOf%":E};if(S)try{null.error}catch(q){var O=S(S(q));A["%Error.prototype%"]=O}var P=function e(t){var n;if("%AsyncFunction%"===t)n=m("async function () {}");else if("%GeneratorFunction%"===t)n=m("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=m("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&S&&(n=S(i.prototype))}return A[t]=n,n},j={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=rr(),L=ur(),N=R.call(C,Array.prototype.concat),B=R.call(I,Array.prototype.splice),F=R.call(C,String.prototype.replace),D=R.call(C,String.prototype.slice),z=R.call(C,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,Z=function(e,t){var n,r=e;if(L(j,r)&&(r="%"+(n=j[r])[0]+"%"),L(A,r)){var i=A[r];if(i===T&&(i=P(r)),void 0===i&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new a("intrinsic "+e+" does not exist!")};return un=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=D(e,0,1),n=D(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return F(e,U,function(e,t,n,i){r[r.length]=n?F(i,W,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=Z("%"+r+"%",t),o=i.name,l=i.value,c=!1,u=i.alias;u&&(r=u[0],B(n,N([0,1],u)));for(var f=1,d=!0;f<n.length;f+=1){var p=n[f],h=D(p,0,1),y=D(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==p&&d||(c=!0),L(A,o="%"+(r+="."+p)+"%"))l=A[o];else if(null!=l){if(!(p in l)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(v&&f+1>=n.length){var g=v(l,p);l=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[p]}else d=L(l,p),l=l[p];d&&!c&&(A[o]=l)}}return l},un}function dr(){if(pn)return dn;pn=1;var e=fr(),t=sr(),n=t([e("%String.prototype.indexOf%")]);return dn=function(r,i){var o=e(r,!!i);return"function"==typeof o&&n(r,".prototype.")>-1?t([o]):o}}function pr(){if(yn)return hn;yn=1;var e=Ln()(),t=dr()("Object.prototype.toString"),n=function(n){return!(e&&n&&"object"==typeof n&&Symbol.toStringTag in n)&&"[object Arguments]"===t(n)},r=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==t(e)&&"callee"in e&&"[object Function]"===t(e.callee)},i=function(){return n(arguments)}();return n.isLegacyArguments=r,hn=i?n:r}function hr(){if(bn)return vn;bn=1;var e=dr(),t=function(){if(mn)return gn;mn=1;var e,t=dr(),n=Ln()(),r=ur(),i=Jn();if(n){var o=t("RegExp.prototype.exec"),a={},s=function(){throw a},l={toString:s,valueOf:s};"symbol"==typeof Symbol.toPrimitive&&(l[Symbol.toPrimitive]=s),e=function(e){if(!e||"object"!=typeof e)return!1;var t=i(e,"lastIndex");if(!t||!r(t,"value"))return!1;try{o(e,l)}catch(n){return n===a}}}else{var c=t("Object.prototype.toString");e=function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c(e)}}return gn=e}(),n=e("RegExp.prototype.exec"),r=Wn();return vn=function(e){if(!t(e))throw new r("`regex` must be a RegExp");return function(t){return null!==n(e,t)}}}function yr(){if(_n)return wn;_n=1;const e=function*(){}.constructor;return wn=()=>e}function gr(){if(Cn)return In;Cn=1;var e=function(){if(En)return kn;En=1;var e,t,n=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw t}}),t={},r(function(){throw 42},null,e)}catch(d){d!==t&&(r=null)}else r=null;var i=/^\s*class\b/,o=function(e){try{var t=n.call(e);return i.test(t)}catch(r){return!1}},a=function(e){try{return!o(e)&&(n.call(e),!0)}catch(t){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var f=document.all;s.call(f)===s.call(document.all)&&(u=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=s.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(n){}return!1})}return kn=r?function(n){if(u(n))return!0;if(!n)return!1;if("function"!=typeof n&&"object"!=typeof n)return!1;try{r(n,null,e)}catch(i){if(i!==t)return!1}return!o(n)&&a(n)}:function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(l)return a(e);if(o(e))return!1;var t=s.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&a(e)}}(),t=Object.prototype.toString,n=Object.prototype.hasOwnProperty;return In=function(r,i,o){if(!e(i))throw new TypeError("iterator must be a function");var a,s;arguments.length>=3&&(a=o),s=r,"[object Array]"===t.call(s)?function(e,t,r){for(var i=0,o=e.length;i<o;i++)n.call(e,i)&&(null==r?t(e[i],i,e):t.call(r,e[i],i,e))}(r,i,a):"string"==typeof r?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(r,i,a):function(e,t,r){for(var i in e)n.call(e,i)&&(null==r?t(e[i],i,e):t.call(r,e[i],i,e))}(r,i,a)},In}function mr(){return Mn?Tn:(Mn=1,Tn=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function vr(){if(On)return An;On=1;var e=mr(),t="undefined"==typeof globalThis?l:globalThis;return An=function(){for(var n=[],r=0;r<e.length;r++)"function"==typeof t[e[r]]&&(n[n.length]=e[r]);return n},An}var br,wr,_r,xr,Sr,kr,Er,Ir,Cr,Tr,Mr,Ar,Or,Pr,jr,Rr,Lr={exports:{}};function Nr(){if(wr)return br;wr=1;var e=er(),t=Un(),n=Wn(),r=Jn();return br=function(i,o,a){if(!i||"object"!=typeof i&&"function"!=typeof i)throw new n("`obj` must be an object or a function`");if("string"!=typeof o&&"symbol"!=typeof o)throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new n("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],f=!!r&&r(i,o);if(e)e(i,o,{configurable:null===c&&f?f.configurable:!c,enumerable:null===s&&f?f.enumerable:!s,value:a,writable:null===l&&f?f.writable:!l});else{if(!u&&(s||l||c))throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");i[o]=a}},br}function Br(){if(xr)return _r;xr=1;var e=er(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return 1!==e([],"length",{value:1}).length}catch(t){return!0}},_r=t}function Fr(){if(kr)return Sr;kr=1;var e=fr(),t=Nr(),n=Br()(),r=Jn(),i=Wn(),o=e("%Math.floor%");return Sr=function(e,a){if("function"!=typeof e)throw new i("`fn` is not a function");if("number"!=typeof a||a<0||a>4294967295||o(a)!==a)throw new i("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],l=!0,c=!0;if("length"in e&&r){var u=r(e,"length");u&&!u.configurable&&(l=!1),u&&!u.writable&&(c=!1)}return(l||c||!s)&&(n?t(e,"length",a,!0,!0):t(e,"length",a)),e},Sr}function Dr(){return Cr||(Cr=1,e=Lr,t=Fr(),n=er(),r=sr(),i=function(){if(Ir)return Er;Ir=1;var e=rr(),t=or(),n=ar();return Er=function(){return n(e,t,arguments)},Er}(),e.exports=function(e){var n=r(arguments),i=e.length-(arguments.length-1);return t(n,1+(i>0?i:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i),Lr.exports;var e,t,n,r,i}function zr(){if(Mr)return Tr;Mr=1;var e=gr(),t=vr(),n=Dr(),r=dr(),i=Jn(),o=cr(),a=r("Object.prototype.toString"),s=Ln()(),c="undefined"==typeof globalThis?l:globalThis,u=t(),f=r("String.prototype.slice"),d=r("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},p={__proto__:null};e(u,s&&i&&o?function(e){var t=new c[e];if(Symbol.toStringTag in t&&o){var r=o(t),a=i(r,Symbol.toStringTag);if(!a&&r){var s=o(r);a=i(s,Symbol.toStringTag)}if(a&&a.get){var l=n(a.get);p["$"+e]=l}}}:function(e){var t=new c[e],r=t.slice||t.set;if(r){var i=n(r);p["$"+e]=i}});return Tr=function(t){if(!t||"object"!=typeof t)return!1;if(!s){var n=f(a(t),8,-1);return d(u,n)>-1?n:"Object"===n&&function(t){var n=!1;return e(p,function(e,r){if(!n)try{e(t),n=f(r,1)}catch(i){}}),n}(t)}return i?function(t){var n=!1;return e(p,function(e,r){if(!n)try{"$"+e(t)===r&&(n=f(r,1))}catch(i){}}),n}(t):null}}function Ur(){if(Or)return Ar;Or=1;var e=zr();return Ar=function(t){return!!e(t)}}function Wr(){return Pr||(Pr=1,function(e){var t=pr(),n=function(){if(Sn)return xn;Sn=1;var e=dr(),t=hr()(/^\s*(?:function)?\*/),n=Ln()(),r=cr(),i=e("Object.prototype.toString"),o=e("Function.prototype.toString"),a=yr();return xn=function(e){if("function"!=typeof e)return!1;if(t(o(e)))return!0;if(!n)return"[object GeneratorFunction]"===i(e);if(!r)return!1;var s=a();return s&&r(e)===s.prototype}}(),r=zr(),i=Ur();function o(e){return e.call.bind(e)}var a="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,l=o(Object.prototype.toString),c=o(Number.prototype.valueOf),u=o(String.prototype.valueOf),f=o(Boolean.prototype.valueOf);if(a)var d=o(BigInt.prototype.valueOf);if(s)var p=o(Symbol.prototype.valueOf);function h(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(n){return!1}}function y(e){return"[object Map]"===l(e)}function g(e){return"[object Set]"===l(e)}function m(e){return"[object WeakMap]"===l(e)}function v(e){return"[object WeakSet]"===l(e)}function b(e){return"[object ArrayBuffer]"===l(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(b.working?b(e):e instanceof ArrayBuffer)}function _(e){return"[object DataView]"===l(e)}function x(e){return"undefined"!=typeof DataView&&(_.working?_(e):e instanceof DataView)}e.isArgumentsObject=t,e.isGeneratorFunction=n,e.isTypedArray=i,e.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},e.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||x(e)},e.isUint8Array=function(e){return"Uint8Array"===r(e)},e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===r(e)},e.isUint16Array=function(e){return"Uint16Array"===r(e)},e.isUint32Array=function(e){return"Uint32Array"===r(e)},e.isInt8Array=function(e){return"Int8Array"===r(e)},e.isInt16Array=function(e){return"Int16Array"===r(e)},e.isInt32Array=function(e){return"Int32Array"===r(e)},e.isFloat32Array=function(e){return"Float32Array"===r(e)},e.isFloat64Array=function(e){return"Float64Array"===r(e)},e.isBigInt64Array=function(e){return"BigInt64Array"===r(e)},e.isBigUint64Array=function(e){return"BigUint64Array"===r(e)},y.working="undefined"!=typeof Map&&y(new Map),e.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),e.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},m.working="undefined"!=typeof WeakMap&&m(new WeakMap),e.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(m.working?m(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet),e.isWeakSet=function(e){return v(e)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),e.isArrayBuffer=w,_.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&_(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=x;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function k(e){return"[object SharedArrayBuffer]"===l(e)}function E(e){return void 0!==S&&(void 0===k.working&&(k.working=k(new S)),k.working?k(e):e instanceof S)}function I(e){return h(e,c)}function C(e){return h(e,u)}function T(e){return h(e,f)}function M(e){return a&&h(e,d)}function A(e){return s&&h(e,p)}e.isSharedArrayBuffer=E,e.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},e.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},e.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},e.isGeneratorObject=function(e){return"[object Generator]"===l(e)},e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},e.isNumberObject=I,e.isStringObject=C,e.isBooleanObject=T,e.isBigIntObject=M,e.isSymbolObject=A,e.isBoxedPrimitive=function(e){return I(e)||C(e)||T(e)||M(e)||A(e)},e.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||E(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})}(jn)),jn}var Zr,qr,Hr,Vr,Gr,Kr,Yr={exports:{}};function $r(){return Zr||(Zr=1,"function"==typeof Object.create?Yr.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Yr.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}),Yr.exports}function Qr(){return qr||(qr=1,function(e){var t={},n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},r=/%[sdj%]/g;e.format=function(e){if(!m(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var i=arguments,o=i.length,a=String(e).replace(r,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return e}}),l=i[n];n<o;l=i[++n])y(l)||!w(l)?a+=" "+l:a+=" "+s(l);return a},e.deprecate=function(t,n){if(void 0!==T&&!0===T.noDeprecation)return t;if(void 0===T)return function(){return e.deprecate(t,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(T.throwDeprecation)throw new Error(n);T.traceDeprecation?console.trace(n):console.error(n),r=!0}return t.apply(this,arguments)}};var i={},o=/^$/;if(t.NODE_DEBUG){var a=t.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+a+"$","i")}function s(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&e._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),u(r,t,r.depth)}function l(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function c(e,t){return e}function u(t,n,r){if(t.customInspect&&n&&S(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return m(i)||(i=u(t,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(t,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),x(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(S(n)){var l=n.name?": "+n.name:"";return t.stylize("[Function"+l+"]","special")}if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return t.stylize(Date.prototype.toString.call(n),"date");if(x(n))return f(n)}var c,w="",k=!1,E=["{","}"];(p(n)&&(k=!0,E=["[","]"]),S(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(w=" "+RegExp.prototype.toString.call(n)),_(n)&&(w=" "+Date.prototype.toUTCString.call(n)),x(n)&&(w=" "+f(n)),0!==a.length||k&&0!=n.length?r<0?b(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=k?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)C(t,String(a))?o.push(d(e,t,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(d(e,t,n,r,i,!0))}),o}(t,n,r,s,a):a.map(function(e){return d(t,n,r,s,e,k)}),t.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,E)):E[0]+w+E[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),C(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=y(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return"number"==typeof e}function m(e){return"string"==typeof e}function v(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===k(e)}function w(e){return"object"==typeof e&&null!==e}function _(e){return w(e)&&"[object Date]"===k(e)}function x(e){return w(e)&&("[object Error]"===k(e)||e instanceof Error)}function S(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(o.test(t)){var n=T.pid;i[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else i[t]=function(){};return i[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=Wr(),e.isArray=p,e.isBoolean=h,e.isNull=y,e.isNullOrUndefined=function(e){return null==e},e.isNumber=g,e.isString=m,e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=v,e.isRegExp=b,e.types.isRegExp=b,e.isObject=w,e.isDate=_,e.types.isDate=_,e.isError=x,e.types.isNativeError=x,e.isFunction=S,e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},e.isBuffer=Rr?jr:(Rr=1,jr=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8});var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.log=function(){var t,n;console.log("%s - %s",(n=[E((t=new Date).getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),I[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=$r(),e._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}e.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(M&&e[M]){var t;if("function"!=typeof(t=e[M]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,M,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(a){n(a)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),M&&Object.defineProperty(t,M,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},e.promisify.custom=M,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then(function(e){T.nextTick(o.bind(null,null,e))},function(e){T.nextTick(A.bind(null,e,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}}(Pn)),Pn}function Xr(){if(Vr)return Hr;function e(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 t(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach(function(e){n(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function n(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}Vr=1;var o=Ke().Buffer,a=Qr().inspect,s=a&&a.custom||"inspect";function l(e,t,n){o.prototype.copy.call(e,t,n)}return Hr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return r(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)l(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0===(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:s,value:function(e,n){return a(this,t(t({},n),{},{depth:0,customInspect:!1}))}}]),e}(),Hr}function Jr(){if(Kr)return Gr;function e(e,r){n(e,r),t(e)}function t(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function n(e,t){e.emit("error",t)}return Kr=1,Gr={destroy:function(r,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,T.nextTick(n,this,r)):T.nextTick(n,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(n){!i&&n?o._writableState?o._writableState.errorEmitted?T.nextTick(t,o):(o._writableState.errorEmitted=!0,T.nextTick(e,o,n)):T.nextTick(e,o,n):i?(T.nextTick(t,o),i(n)):T.nextTick(t,o)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}var ei,ti,ni,ri,ii,oi,ai,si,li,ci={};function ui(){if(ei)return ci;ei=1;var e={};function t(t,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function n(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}return t("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,o,a;if("string"==typeof t&&(o="not ",t.substr(0,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(i," ").concat(n(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(i," ").concat(n(t,"type"))}return a+=". Received type ".concat(typeof r)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ci.codes=e,ci}function fi(){if(ni)return ti;ni=1;var e=ui().codes.ERR_INVALID_OPT_VALUE;return ti={getHighWaterMark:function(t,n,r,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(n,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new e(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}}function di(){if(ii)return ri;function e(e){try{if(!l.localStorage)return!1}catch(n){return!1}var t=l.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}return ii=1,ri=function(t,n){if(e("noDeprecation"))return t;var r=!1;return function(){if(!r){if(e("throwDeprecation"))throw new Error(n);e("traceDeprecation")?console.trace(n):console.warn(n),r=!0}return t.apply(this,arguments)}},ri}function pi(){if(ai)return oi;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var t;ai=1,oi=x,x.WritableState=_;var n={deprecate:di()},r=He(),i=Ke().Buffer,o=(void 0!==l?l:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var a,s=Jr(),c=fi().getHighWaterMark,u=ui().codes,f=u.ERR_INVALID_ARG_TYPE,d=u.ERR_METHOD_NOT_IMPLEMENTED,p=u.ERR_MULTIPLE_CALLBACK,h=u.ERR_STREAM_CANNOT_PIPE,y=u.ERR_STREAM_DESTROYED,g=u.ERR_STREAM_NULL_VALUES,m=u.ERR_STREAM_WRITE_AFTER_END,v=u.ERR_UNKNOWN_ENCODING,b=s.errorOrDestroy;function w(){}function _(n,r,i){t=t||hi(),n=n||{},"boolean"!=typeof i&&(i=r instanceof t),this.objectMode=!!n.objectMode,i&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=c(this,n,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(T.nextTick(i,r),T.nextTick(M,e,t),e._writableState.errorEmitted=!0,b(e,r)):(i(r),e._writableState.errorEmitted=!0,b(e,r),M(e,t))}(e,n,r,t,i);else{var o=I(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),r?T.nextTick(k,e,n,o,i):k(e,n,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function x(e){var n=this instanceof(t=t||hi());if(!n&&!a.call(x,this))return new x(e);this._writableState=new _(e,this,n),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),r.call(this)}function S(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function k(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),M(e,t)}function E(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var i=n.bufferedRequestCount,o=new Array(i),a=n.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,S(t,n,!0,n.length,o,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,f=r.callback;if(S(t,n,!1,n.objectMode?1:c.length,c,u,f),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function I(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final(function(n){t.pendingcb--,n&&b(e,n),t.prefinished=!0,e.emit("prefinish"),M(e,t)})}function M(e,t){var n=I(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,T.nextTick(C,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return $r()(x,r),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===x&&(e&&e._writableState instanceof _)}})):a=function(e){return e instanceof this},x.prototype.pipe=function(){b(this,new h)},x.prototype.write=function(e,t,n){var r,a=this._writableState,s=!1,l=!a.objectMode&&(r=e,i.isBuffer(r)||r instanceof o);return l&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(n=t,t=null),l?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof n&&(n=w),a.ending?function(e,t){var n=new m;b(e,n),T.nextTick(t,n)}(this,n):(l||function(e,t,n,r){var i;return null===n?i=new g:"string"==typeof n||t.objectMode||(i=new f("chunk",["string","Buffer"],n)),!i||(b(e,i),T.nextTick(r,i),!1)}(this,a,e,n))&&(a.pendingcb++,s=function(e,t,n,r,o,a){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,n));return t}(t,r,o);r!==s&&(n=!0,o="buffer",r=s)}var l=t.objectMode?1:r.length;t.length+=l;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,l,r,o,a);return c}(this,a,l,e,t,n)),s},x.prototype.cork=function(){this._writableState.corked++},x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||E(this,e))},x.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,n){n(new d("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,M(e,t),n&&(t.finished?T.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=s.destroy,x.prototype._undestroy=s.undestroy,x.prototype._destroy=function(e,t){t(e)},oi}function hi(){if(li)return si;li=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};si=a;var t=Gi(),n=pi();$r()(a,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var o=r[i];a.prototype[o]||(a.prototype[o]=n.prototype[o])}function a(e){if(!(this instanceof a))return new a(e);t.call(this,e),n.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||T.nextTick(l,this)}function l(e){e.end()}return Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),si}var yi,gi,mi,vi,bi,wi,_i,xi,Si,ki,Ei,Ii,Ci,Ti,Mi,Ai,Oi,Pi,ji,Ri,Li,Ni,Bi,Fi,Di,zi,Ui,Wi={},Zi={exports:{}};function qi(){if(gi)return Wi;gi=1;var e=(yi||(yi=1,function(e,t){var n=Ke(),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=o),o.prototype=Object.create(r.prototype),i(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}(Zi,Zi.exports)),Zi.exports).Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(n){var r;switch(this.encoding=function(n){var r=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(n);if("string"!=typeof r&&(e.isEncoding===t||!t(n)))throw new Error("Unknown encoding: "+n);return r||n}(n),this.encoding){case"utf16le":this.text=o,this.end=a,r=4;break;case"utf8":this.fillLast=i,r=4;break;case"base64":this.text=s,this.end=l,r=3;break;default:return this.write=c,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(r)}function r(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function s(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function c(e){return e.toString(this.encoding)}function u(e){return e&&e.length?this.write(e):""}return Wi.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var n=function(e,t,n){var i=t.length-1;if(i<n)return 0;var o=r(t[i]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--i<n||-2===o)return 0;if(o=r(t[i]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--i<n||-2===o)return 0;if(o=r(t[i]),o>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Wi}function Hi(){if(vi)return mi;vi=1;var e=ui().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return mi=function n(r,i,o){if("function"==typeof i)return n(r,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||t);var a=i.readable||!1!==i.readable&&r.readable,s=i.writable||!1!==i.writable&&r.writable,l=function(){r.writable||u()},c=r._writableState&&r._writableState.finished,u=function(){s=!1,c=!0,a||o.call(r)},f=r._readableState&&r._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(r)},p=function(e){o.call(r,e)},h=function(){var t;return a&&!f?(r._readableState&&r._readableState.ended||(t=new e),o.call(r,t)):s&&!c?(r._writableState&&r._writableState.ended||(t=new e),o.call(r,t)):void 0},y=function(){r.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(r)?s&&!r._writableState&&(r.on("end",l),r.on("close",l)):(r.on("complete",u),r.on("abort",h),r.req?y():r.on("request",y)),r.on("end",d),r.on("finish",u),!1!==i.error&&r.on("error",p),r.on("close",h),function(){r.removeListener("complete",u),r.removeListener("abort",h),r.removeListener("request",y),r.req&&r.req.removeListener("finish",u),r.removeListener("end",l),r.removeListener("close",l),r.removeListener("finish",u),r.removeListener("end",d),r.removeListener("error",p),r.removeListener("close",h)}},mi}function Vi(){if(wi)return bi;var e;function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wi=1;var n=Hi(),r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),l=Symbol("handlePromise"),c=Symbol("stream");function u(e,t){return{value:e,done:t}}function f(e){var t=e[r];if(null!==t){var n=e[c].read();null!==n&&(e[s]=null,e[r]=null,e[i]=null,t(u(n,!1)))}}function d(e){T.nextTick(f,e)}var p=Object.getPrototypeOf(function(){}),h=Object.setPrototypeOf((t(e={get stream(){return this[c]},next:function(){var e=this,t=this[o];if(null!==t)return Promise.reject(t);if(this[a])return Promise.resolve(u(void 0,!0));if(this[c].destroyed)return new Promise(function(t,n){T.nextTick(function(){e[o]?n(e[o]):t(u(void 0,!0))})});var n,r=this[s];if(r)n=new Promise(function(e,t){return function(n,r){e.then(function(){t[a]?n(u(void 0,!0)):t[l](n,r)},r)}}(r,this));else{var i=this[c].read();if(null!==i)return Promise.resolve(u(i,!1));n=new Promise(this[l])}return this[s]=n,n}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var e=this;return new Promise(function(t,n){e[c].destroy(null,function(e){e?n(e):t(u(void 0,!0))})})}),e),p);return bi=function(e){var f,p=Object.create(h,(t(f={},c,{value:e,writable:!0}),t(f,r,{value:null,writable:!0}),t(f,i,{value:null,writable:!0}),t(f,o,{value:null,writable:!0}),t(f,a,{value:e._readableState.endEmitted,writable:!0}),t(f,l,{value:function(e,t){var n=p[c].read();n?(p[s]=null,p[r]=null,p[i]=null,e(u(n,!1))):(p[r]=e,p[i]=t)},writable:!0}),f));return p[s]=null,n(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=p[i];return null!==t&&(p[s]=null,p[r]=null,p[i]=null,t(e)),void(p[o]=e)}var n=p[r];null!==n&&(p[s]=null,p[r]=null,p[i]=null,n(u(void 0,!0))),p[a]=!0}),e.on("readable",d.bind(null,p)),p}}function Gi(){if(ki)return Si;var e;ki=1,Si=x,x.ReadableState=_,ze().EventEmitter;var t=function(e,t){return e.listeners(t).length},n=He(),r=Ke().Buffer,i=(void 0!==l?l:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var o,a=Qr();o=a&&a.debuglog?a.debuglog("stream"):function(){};var s,c,u,f=Xr(),d=Jr(),p=fi().getHighWaterMark,h=ui().codes,y=h.ERR_INVALID_ARG_TYPE,g=h.ERR_STREAM_PUSH_AFTER_EOF,m=h.ERR_METHOD_NOT_IMPLEMENTED,v=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;$r()(x,n);var b=d.errorOrDestroy,w=["error","close","destroy","pause","resume"];function _(t,n,r){e=e||hi(),t=t||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",r),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(s||(s=qi().StringDecoder),this.decoder=new s(t.encoding),this.encoding=t.encoding)}function x(t){if(e=e||hi(),!(this instanceof x))return new x(t);var r=this instanceof e;this._readableState=new _(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),n.call(this)}function S(e,t,n,a,s){o("readableAddChunk",t);var l,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(o("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?C(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}(e,c);else if(s||(l=function(e,t){var n;o=t,r.isBuffer(o)||o instanceof i||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var o;return n}(c,t)),l)b(e,l);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===r.prototype||(t=function(e){return r.from(e)}(t)),a)c.endEmitted?b(e,new v):k(e,c,t,!0);else if(c.ended)b(e,new g);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?k(e,c,t,!1):A(e,c)):k(e,c,t,!1)}else a||(c.reading=!1,A(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function k(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&C(e)),A(e,t)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),x.prototype.destroy=d.destroy,x.prototype._undestroy=d.undestroy,x.prototype._destroy=function(e,t){t(e)},x.prototype.push=function(e,t){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=r.from(e,t),t=""),n=!0),S(this,e,t,!1,n)},x.prototype.unshift=function(e){return S(this,e,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(e){s||(s=qi().StringDecoder);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var E=1073741824;function I(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,T.nextTick(M,e))}function M(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function A(e,t){t.readingMore||(t.readingMore=!0,T.nextTick(O,e,t))}function O(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(o("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function P(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function j(e){o("readable nexttick read 0"),e.read(0)}function R(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function B(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,T.nextTick(F,t,e))}function F(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function D(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}return x.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):C(this),null;if(0===(e=I(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&o("length less than watermark",i=!0),t.ended||t.reading?o("reading or ended",i=!1):i&&(o("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=I(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==r&&this.emit("data",r),r},x.prototype._read=function(e){b(this,new m("_read()"))},x.prototype.pipe=function(e,n){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,n);var a=(!n||!1!==n.end)&&e!==T.stdout&&e!==T.stderr?l:y;function s(t,n){o("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,o("cleanup"),e.removeListener("close",p),e.removeListener("finish",h),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",f),u=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){o("onend"),e.end()}i.endEmitted?T.nextTick(a):r.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var n=e._readableState;o("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,0===n.awaitDrain&&t(e,"data")&&(n.flowing=!0,L(e))}}(r);e.on("drain",c);var u=!1;function f(t){o("ondata");var n=e.write(t);o("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==D(i.pipes,e))&&!u&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(n){o("onerror",n),y(),e.removeListener("error",d),0===t(e,"error")&&b(e,n)}function p(){e.removeListener("finish",h),y()}function h(){o("onfinish"),e.removeListener("close",p),y()}function y(){o("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",p),e.once("finish",h),e.emit("pipe",r),i.flowing||(o("pipe resume"),r.resume()),e},x.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=D(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},x.prototype.on=function(e,t){var r=n.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?C(this):i.reading||T.nextTick(j,this))),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var r=n.prototype.removeListener.call(this,e,t);return"readable"===e&&T.nextTick(P,this),r},x.prototype.removeAllListeners=function(e){var t=n.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||T.nextTick(P,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,T.nextTick(R,e,t))}(this,e)),e.paused=!1,this},x.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(o("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(o("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<w.length;a++)e.on(w[a],this.emit.bind(this,w[a]));return this._read=function(t){o("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(x.prototype[Symbol.asyncIterator]=function(){return void 0===c&&(c=Vi()),c(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),x._fromList=N,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(x.from=function(e,t){return void 0===u&&(u=xi?_i:(xi=1,_i=function(){throw new Error("Readable.from is not available in the browser")})),u(x,e,t)}),Si}function Ki(){if(Ii)return Ei;Ii=1,Ei=s;var e=ui().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,o=hi();function a(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(null===i)return this.emit("error",new n);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),i(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);o.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",l)}function l(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?c(this,null,null):this._flush(function(t,n){c(e,t,n)})}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new i;if(e._transformState.transforming)throw new r;return e.push(null)}return $r()(s,o),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,t)},s.prototype._transform=function(e,n,r){r(new t("_transform()"))},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},s.prototype._destroy=function(e,t){o.prototype._destroy.call(this,e,function(e){t(e)})},Ei}function Yi(){if(Ai)return Mi;var e;Ai=1;var t=ui().codes,n=t.ERR_MISSING_ARGS,r=t.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function o(e){e()}function a(e,t){return e.pipe(t)}return Mi=function(){for(var t=arguments.length,s=new Array(t),l=0;l<t;l++)s[l]=arguments[l];var c,u=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new n("streams");var f=s.map(function(t,n){var i=n<s.length-1;return function(t,n,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;t.on("close",function(){a=!0}),void 0===e&&(e=Hi()),e(t,{readable:n,writable:i},function(e){if(e)return o(e);a=!0,o()});var s=!1;return function(e){if(!a&&!s)return s=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new r("pipe"))}}(t,i,n>0,function(e){c||(c=e),e&&f.forEach(o),i||(f.forEach(o),u(c))})});return s.reduce(a)},Mi}function $i(){return Oi||(Oi=1,e=qe.exports,(e=qe.exports=Gi()).Stream=e,e.Readable=e,e.Writable=pi(),e.Duplex=hi(),e.Transform=Ki(),e.PassThrough=function(){if(Ti)return Ci;Ti=1,Ci=t;var e=Ki();function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return $r()(t,e),t.prototype._transform=function(e,t,n){n(null,e)},Ci}(),e.finished=Hi(),e.pipeline=Yi()),qe.exports;var e}function Qi(){if(ji)return Pi;ji=1;const e=Ue(),t=$i().Readable,n={objectMode:!0},r={clean:!0};function i(t){if(!(this instanceof i))return new i(t);this.options=t||{},this.options=e(r,t),this._inflights=new Map}return i.prototype.put=function(e,t){return this._inflights.set(e.messageId,e),t&&t(),this},i.prototype.createStream=function(){const e=new t(n),r=[];let i=!1,o=0;return this._inflights.forEach(function(e,t){r.push(e)}),e._read=function(){!i&&o<r.length?this.push(r[o++]):this.push(null)},e.destroy=function(){if(i)return;const e=this;i=!0,setTimeout(function(){e.emit("close")},0)},e},i.prototype.del=function(e,t){return(e=this._inflights.get(e.messageId))?(this._inflights.delete(e.messageId),t(null,e)):t&&t(new Error("missing packet")),this},i.prototype.get=function(e,t){return(e=this._inflights.get(e.messageId))?t(null,e):t&&t(new Error("missing packet")),this},i.prototype.close=function(e){this.options.clean&&(this._inflights=null),e&&e()},Pi=i}function Xi(){if(Di)return Fi;function e(t){var n=this;if(n instanceof e||(n=new e),n.tail=null,n.head=null,n.length=0,t&&"function"==typeof t.forEach)t.forEach(function(e){n.push(e)});else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)n.push(arguments[r]);return n}function t(e,t,n){var r=t===e.head?new i(n,null,t,e):new i(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function n(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function r(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,n,r){if(!(this instanceof i))return new i(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}Di=1,Fi=e,e.Node=i,e.create=e,e.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},e.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},e.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},e.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)n(this,arguments[e]);return this.length},e.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},e.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},e.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},e.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},e.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},e.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},e.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},e.prototype.map=function(t,n){n=n||this;for(var r=new e,i=this.head;null!==i;)r.push(t.call(n,i.value,this)),i=i.next;return r},e.prototype.mapReverse=function(t,n){n=n||this;for(var r=new e,i=this.tail;null!==i;)r.push(t.call(n,i.value,this)),i=i.prev;return r},e.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},e.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},e.prototype.slice=function(t,n){(n=n||this.length)<0&&(n+=this.length),(t=t||0)<0&&(t+=this.length);var r=new e;if(n<t||n<0)return r;t<0&&(t=0),n>this.length&&(n=this.length);for(var i=0,o=this.head;null!==o&&i<t;i++)o=o.next;for(;null!==o&&i<n;i++,o=o.next)r.push(o.value);return r},e.prototype.sliceReverse=function(t,n){(n=n||this.length)<0&&(n+=this.length),(t=t||0)<0&&(t+=this.length);var r=new e;if(n<t||n<0)return r;t<0&&(t=0),n>this.length&&(n=this.length);for(var i=this.length,o=this.tail;null!==o&&i>n;i--)o=o.prev;for(;null!==o&&i>t;i--,o=o.prev)r.push(o.value);return r},e.prototype.splice=function(e,n,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;var a=[];for(i=0;o&&i<n;i++)a.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(i=0;i<r.length;i++)o=t(this,o,r[i]);return a},e.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{(Bi?Ni:(Bi=1,Ni=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}))(e)}catch(o){}return Fi}var Ji={},eo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),to=function(){function e(e){void 0===e&&(e=0),this.iteratorType=e}return e.prototype.equals=function(e){return this.o===e.o},e}(),no=function(){function e(){this.M=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this.M},enumerable:!1,configurable:!0}),e.prototype.size=function(){return this.M},e.prototype.empty=function(){return 0===this.M},e}(),ro=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return eo(t,e),t}(no),io=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),oo=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this)||this;n.nt=[];var r=n;return t.forEach(function(e){r.push(e)}),n}return io(t,e),t.prototype.clear=function(){this.M=0,this.nt=[]},t.prototype.push=function(e){return this.nt.push(e),this.M+=1,this.M},t.prototype.pop=function(){if(0!==this.M)return this.M-=1,this.nt.pop()},t.prototype.top=function(){return this.nt[this.M-1]},t}(no),ao=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),so=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this)||this;n.A=0,n.tt=[];var r=n;return t.forEach(function(e){r.push(e)}),n}return ao(t,e),t.prototype.clear=function(){this.tt=[],this.M=this.A=0},t.prototype.push=function(e){var t=this.tt.length;if(this.A/t>.5&&this.A+this.M>=t&&t>4096){for(var n=this.M,r=0;r<n;++r)this.tt[r]=this.tt[this.A+r];this.A=0,this.tt[this.M]=e}else this.tt[this.A+this.M]=e;return++this.M},t.prototype.pop=function(){if(0!==this.M){var e=this.tt[this.A++];return this.M-=1,e}},t.prototype.front=function(){if(0!==this.M)return this.tt[this.A]},t}(no),lo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),co=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},uo=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},fo=function(e){function t(t,n,r){void 0===t&&(t=[]),void 0===n&&(n=function(e,t){return e>t?-1:e<t?1:0}),void 0===r&&(r=!0);var i=e.call(this)||this;if(i.$=n,Array.isArray(t))i.ii=r?uo([],co(t),!1):t;else{i.ii=[];var o=i;t.forEach(function(e){o.ii.push(e)})}i.M=i.ii.length;for(var a=i.M>>1,s=i.M-1>>1;s>=0;--s)i.ri(s,a);return i}return lo(t,e),t.prototype.ti=function(e){for(var t=this.ii[e];e>0;){var n=e-1>>1,r=this.ii[n];if(this.$(r,t)<=0)break;this.ii[e]=r,e=n}this.ii[e]=t},t.prototype.ri=function(e,t){for(var n=this.ii[e];e<t;){var r=e<<1|1,i=r+1,o=this.ii[r];if(i<this.M&&this.$(o,this.ii[i])>0&&(r=i,o=this.ii[i]),this.$(o,n)>=0)break;this.ii[e]=o,e=r}this.ii[e]=n},t.prototype.clear=function(){this.M=0,this.ii.length=0},t.prototype.push=function(e){this.ii.push(e),this.ti(this.M),this.M+=1},t.prototype.pop=function(){if(0!==this.M){var e=this.ii[0],t=this.ii.pop();return this.M-=1,this.M&&(this.ii[0]=t,this.ri(0,this.M>>1)),e}},t.prototype.top=function(){return this.ii[0]},t.prototype.find=function(e){return this.ii.indexOf(e)>=0},t.prototype.remove=function(e){var t=this.ii.indexOf(e);return!(t<0)&&(0===t?this.pop():t===this.M-1?(this.ii.pop(),this.M-=1):(this.ii.splice(t,1,this.ii.pop()),this.M-=1,this.ti(t),this.ri(t,this.M>>1)),!0)},t.prototype.updateItem=function(e){var t=this.ii.indexOf(e);return!(t<0)&&(this.ti(t),this.ri(t,this.M>>1),!0)},t.prototype.toArray=function(){return uo([],co(this.ii),!1)},t}(no),po=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ho=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return po(t,e),t}(ro);function yo(){throw new RangeError("Iterator access denied!")}var go=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mo=function(e){function t(t,n){var r=e.call(this,n)||this;return r.o=t,0===r.iteratorType?(r.pre=function(){return 0===this.o&&yo(),this.o-=1,this},r.next=function(){return this.o===this.container.size()&&yo(),this.o+=1,this}):(r.pre=function(){return this.o===this.container.size()-1&&yo(),this.o+=1,this},r.next=function(){return-1===this.o&&yo(),this.o-=1,this}),r}return go(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){return this.container.getElementByPos(this.o)},set:function(e){this.container.setElementByPos(this.o,e)},enumerable:!1,configurable:!0}),t}(to),vo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bo=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},wo=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},_o=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},xo=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},So=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.container=n,i}return vo(t,e),t.prototype.copy=function(){return new t(this.o,this.container,this.iteratorType)},t}(mo),ko=function(e){function t(t,n){void 0===t&&(t=[]),void 0===n&&(n=!0);var r=e.call(this)||this;if(Array.isArray(t))r.J=n?_o([],wo(t),!1):t,r.M=t.length;else{r.J=[];var i=r;t.forEach(function(e){i.pushBack(e)})}return r}return vo(t,e),t.prototype.clear=function(){this.M=0,this.J.length=0},t.prototype.begin=function(){return new So(0,this)},t.prototype.end=function(){return new So(this.M,this)},t.prototype.rBegin=function(){return new So(this.M-1,this,1)},t.prototype.rEnd=function(){return new So(-1,this,1)},t.prototype.front=function(){return this.J[0]},t.prototype.back=function(){return this.J[this.M-1]},t.prototype.getElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;return this.J[e]},t.prototype.eraseElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;return this.J.splice(e,1),this.M-=1,this.M},t.prototype.eraseElementByValue=function(e){for(var t=0,n=0;n<this.M;++n)this.J[n]!==e&&(this.J[t++]=this.J[n]);return this.M=this.J.length=t,this.M},t.prototype.eraseElementByIterator=function(e){var t=e.o;return e=e.next(),this.eraseElementByPos(t),e},t.prototype.pushBack=function(e){return this.J.push(e),this.M+=1,this.M},t.prototype.popBack=function(){if(0!==this.M)return this.M-=1,this.J.pop()},t.prototype.setElementByPos=function(e,t){if(e<0||e>this.M-1)throw new RangeError;this.J[e]=t},t.prototype.insert=function(e,t,n){var r;if(void 0===n&&(n=1),e<0||e>this.M)throw new RangeError;return(r=this.J).splice.apply(r,_o([e,0],wo(new Array(n).fill(t)),!1)),this.M+=n,this.M},t.prototype.find=function(e){for(var t=0;t<this.M;++t)if(this.J[t]===e)return new So(t,this);return this.end()},t.prototype.reverse=function(){this.J.reverse()},t.prototype.unique=function(){for(var e=1,t=1;t<this.M;++t)this.J[t]!==this.J[t-1]&&(this.J[e++]=this.J[t]);return this.M=this.J.length=e,this.M},t.prototype.sort=function(e){this.J.sort(e)},t.prototype.forEach=function(e){for(var t=0;t<this.M;++t)e(this.J[t],t,this)},t.prototype[Symbol.iterator]=function(){return function(){return bo(this,function(e){switch(e.label){case 0:return[5,xo(this.J)];case 1:return e.sent(),[2]}})}.bind(this)()},t}(ho),Eo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Io=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},Co=function(e){function t(t,n,r,i){var o=e.call(this,i)||this;return o.o=t,o.h=n,o.container=r,0===o.iteratorType?(o.pre=function(){return this.o.L===this.h&&yo(),this.o=this.o.L,this},o.next=function(){return this.o===this.h&&yo(),this.o=this.o.m,this}):(o.pre=function(){return this.o.m===this.h&&yo(),this.o=this.o.m,this},o.next=function(){return this.o===this.h&&yo(),this.o=this.o.L,this}),o}return Eo(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){return this.o===this.h&&yo(),this.o.p},set:function(e){this.o===this.h&&yo(),this.o.p=e},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.o,this.h,this.container,this.iteratorType)},t}(to),To=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this)||this;n.h={},n.H=n.l=n.h.L=n.h.m=n.h;var r=n;return t.forEach(function(e){r.pushBack(e)}),n}return Eo(t,e),t.prototype.G=function(e){var t=e.L,n=e.m;t.m=n,n.L=t,e===this.H&&(this.H=n),e===this.l&&(this.l=t),this.M-=1},t.prototype.F=function(e,t){var n=t.m,r={p:e,L:t,m:n};t.m=r,n.L=r,t===this.h&&(this.H=r),n===this.h&&(this.l=r),this.M+=1},t.prototype.clear=function(){this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},t.prototype.begin=function(){return new Co(this.H,this.h,this)},t.prototype.end=function(){return new Co(this.h,this.h,this)},t.prototype.rBegin=function(){return new Co(this.l,this.h,this,1)},t.prototype.rEnd=function(){return new Co(this.h,this.h,this,1)},t.prototype.front=function(){return this.H.p},t.prototype.back=function(){return this.l.p},t.prototype.getElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;for(var t=this.H;e--;)t=t.m;return t.p},t.prototype.eraseElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;for(var t=this.H;e--;)t=t.m;return this.G(t),this.M},t.prototype.eraseElementByValue=function(e){for(var t=this.H;t!==this.h;)t.p===e&&this.G(t),t=t.m;return this.M},t.prototype.eraseElementByIterator=function(e){var t=e.o;return t===this.h&&yo(),e=e.next(),this.G(t),e},t.prototype.pushBack=function(e){return this.F(e,this.l),this.M},t.prototype.popBack=function(){if(0!==this.M){var e=this.l.p;return this.G(this.l),e}},t.prototype.pushFront=function(e){return this.F(e,this.h),this.M},t.prototype.popFront=function(){if(0!==this.M){var e=this.H.p;return this.G(this.H),e}},t.prototype.setElementByPos=function(e,t){if(e<0||e>this.M-1)throw new RangeError;for(var n=this.H;e--;)n=n.m;n.p=t},t.prototype.insert=function(e,t,n){if(void 0===n&&(n=1),e<0||e>this.M)throw new RangeError;if(n<=0)return this.M;if(0===e)for(;n--;)this.pushFront(t);else if(e===this.M)for(;n--;)this.pushBack(t);else{for(var r=this.H,i=1;i<e;++i)r=r.m;var o=r.m;for(this.M+=n;n--;)r.m={p:t,L:r},r.m.L=r,r=r.m;r.m=o,o.L=r}return this.M},t.prototype.find=function(e){for(var t=this.H;t!==this.h;){if(t.p===e)return new Co(t,this.h,this);t=t.m}return this.end()},t.prototype.reverse=function(){if(!(this.M<=1))for(var e=this.H,t=this.l,n=0;n<<1<this.M;){var r=e.p;e.p=t.p,t.p=r,e=e.m,t=t.L,n+=1}},t.prototype.unique=function(){if(this.M<=1)return this.M;for(var e=this.H;e!==this.h;){for(var t=e;t.m!==this.h&&t.p===t.m.p;)t=t.m,this.M-=1;e.m=t.m,e.m.L=e,e=e.m}return this.M},t.prototype.sort=function(e){if(!(this.M<=1)){var t=[];this.forEach(function(e){t.push(e)}),t.sort(e);var n=this.H;t.forEach(function(e){n.p=e,n=n.m})}},t.prototype.merge=function(e){var t=this;if(0===this.M)e.forEach(function(e){t.pushBack(e)});else{var n=this.H;e.forEach(function(e){for(;n!==t.h&&n.p<=e;)n=n.m;t.F(e,n.L)})}return this.M},t.prototype.forEach=function(e){for(var t=this.H,n=0;t!==this.h;)e(t.p,n++,this),t=t.m},t.prototype[Symbol.iterator]=function(){return function(){var e;return Io(this,function(t){switch(t.label){case 0:if(0===this.M)return[2];e=this.H,t.label=1;case 1:return e===this.h?[3,3]:[4,e.p];case 2:return t.sent(),e=e.m,[3,1];case 3:return[2]}})}.bind(this)()},t}(ho),Mo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ao=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},Oo=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.container=n,i}return Mo(t,e),t.prototype.copy=function(){return new t(this.o,this.container,this.iteratorType)},t}(mo),Po=function(e){function t(t,n){void 0===t&&(t=[]),void 0===n&&(n=4096);var r=e.call(this)||this;r.A=0,r.S=0,r.R=0,r.k=0,r.C=0,r.j=[];var i=function(){if("number"==typeof t.length)return t.length;if("number"==typeof t.size)return t.size;if("function"==typeof t.size)return t.size();throw new TypeError("Cannot get the length or size of the container")}();r.B=n,r.C=Math.max(Math.ceil(i/r.B),1);for(var o=0;o<r.C;++o)r.j.push(new Array(r.B));var a=Math.ceil(i/r.B);r.A=r.R=(r.C>>1)-(a>>1),r.S=r.k=r.B-i%r.B>>1;var s=r;return t.forEach(function(e){s.pushBack(e)}),r}return Mo(t,e),t.prototype.O=function(){for(var e=[],t=Math.max(this.C>>1,1),n=0;n<t;++n)e[n]=new Array(this.B);for(n=this.A;n<this.C;++n)e[e.length]=this.j[n];for(n=0;n<this.R;++n)e[e.length]=this.j[n];e[e.length]=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],function(t,n){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,o,a=r.call(t),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(this.j[this.R]),!1),this.A=t,this.R=e.length-1;for(n=0;n<t;++n)e[e.length]=new Array(this.B);this.j=e,this.C=e.length},t.prototype.T=function(e){var t=this.S+e+1,n=t%this.B,r=n-1,i=this.A+(t-n)/this.B;return 0===n&&(i-=1),i%=this.C,r<0&&(r+=this.B),{curNodeBucketIndex:i,curNodePointerIndex:r}},t.prototype.clear=function(){this.j=[new Array(this.B)],this.C=1,this.A=this.R=this.M=0,this.S=this.k=this.B>>1},t.prototype.begin=function(){return new Oo(0,this)},t.prototype.end=function(){return new Oo(this.M,this)},t.prototype.rBegin=function(){return new Oo(this.M-1,this,1)},t.prototype.rEnd=function(){return new Oo(-1,this,1)},t.prototype.front=function(){if(0!==this.M)return this.j[this.A][this.S]},t.prototype.back=function(){if(0!==this.M)return this.j[this.R][this.k]},t.prototype.pushBack=function(e){return this.M&&(this.k<this.B-1?this.k+=1:this.R<this.C-1?(this.R+=1,this.k=0):(this.R=0,this.k=0),this.R===this.A&&this.k===this.S&&this.O()),this.M+=1,this.j[this.R][this.k]=e,this.M},t.prototype.popBack=function(){if(0!==this.M){var e=this.j[this.R][this.k];return 1!==this.M&&(this.k>0?this.k-=1:this.R>0?(this.R-=1,this.k=this.B-1):(this.R=this.C-1,this.k=this.B-1)),this.M-=1,e}},t.prototype.pushFront=function(e){return this.M&&(this.S>0?this.S-=1:this.A>0?(this.A-=1,this.S=this.B-1):(this.A=this.C-1,this.S=this.B-1),this.A===this.R&&this.S===this.k&&this.O()),this.M+=1,this.j[this.A][this.S]=e,this.M},t.prototype.popFront=function(){if(0!==this.M){var e=this.j[this.A][this.S];return 1!==this.M&&(this.S<this.B-1?this.S+=1:this.A<this.C-1?(this.A+=1,this.S=0):(this.A=0,this.S=0)),this.M-=1,e}},t.prototype.getElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;var t=this.T(e),n=t.curNodeBucketIndex,r=t.curNodePointerIndex;return this.j[n][r]},t.prototype.setElementByPos=function(e,t){if(e<0||e>this.M-1)throw new RangeError;var n=this.T(e),r=n.curNodeBucketIndex,i=n.curNodePointerIndex;this.j[r][i]=t},t.prototype.insert=function(e,t,n){if(void 0===n&&(n=1),e<0||e>this.M)throw new RangeError;if(0===e)for(;n--;)this.pushFront(t);else if(e===this.M)for(;n--;)this.pushBack(t);else{for(var r=[],i=e;i<this.M;++i)r.push(this.getElementByPos(i));this.cut(e-1);for(i=0;i<n;++i)this.pushBack(t);for(i=0;i<r.length;++i)this.pushBack(r[i])}return this.M},t.prototype.cut=function(e){if(e<0)return this.clear(),0;var t=this.T(e),n=t.curNodeBucketIndex,r=t.curNodePointerIndex;return this.R=n,this.k=r,this.M=e+1,this.M},t.prototype.eraseElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;if(0===e)this.popFront();else if(e===this.M-1)this.popBack();else{for(var t=[],n=e+1;n<this.M;++n)t.push(this.getElementByPos(n));this.cut(e),this.popBack();var r=this;t.forEach(function(e){r.pushBack(e)})}return this.M},t.prototype.eraseElementByValue=function(e){if(0===this.M)return 0;for(var t=[],n=0;n<this.M;++n){var r=this.getElementByPos(n);r!==e&&t.push(r)}var i=t.length;for(n=0;n<i;++n)this.setElementByPos(n,t[n]);return this.cut(i-1)},t.prototype.eraseElementByIterator=function(e){var t=e.o;return this.eraseElementByPos(t),e=e.next()},t.prototype.find=function(e){for(var t=0;t<this.M;++t)if(this.getElementByPos(t)===e)return new Oo(t,this);return this.end()},t.prototype.reverse=function(){for(var e=0,t=this.M-1;e<t;){var n=this.getElementByPos(e);this.setElementByPos(e,this.getElementByPos(t)),this.setElementByPos(t,n),e+=1,t-=1}},t.prototype.unique=function(){if(this.M<=1)return this.M;for(var e=1,t=this.getElementByPos(0),n=1;n<this.M;++n){var r=this.getElementByPos(n);r!==t&&(t=r,this.setElementByPos(e++,r))}for(;this.M>e;)this.popBack();return this.M},t.prototype.sort=function(e){for(var t=[],n=0;n<this.M;++n)t.push(this.getElementByPos(n));t.sort(e);for(n=0;n<this.M;++n)this.setElementByPos(n,t[n])},t.prototype.shrinkToFit=function(){if(0!==this.M){var e=[];this.forEach(function(t){e.push(t)}),this.C=Math.max(Math.ceil(this.M/this.B),1),this.M=this.A=this.R=this.S=this.k=0,this.j=[];for(var t=0;t<this.C;++t)this.j.push(new Array(this.B));for(t=0;t<e.length;++t)this.pushBack(e[t])}},t.prototype.forEach=function(e){for(var t=0;t<this.M;++t)e(this.getElementByPos(t),t,this)},t.prototype[Symbol.iterator]=function(){return function(){var e;return Ao(this,function(t){switch(t.label){case 0:e=0,t.label=1;case 1:return e<this.M?[4,this.getElementByPos(e)]:[3,4];case 2:t.sent(),t.label=3;case 3:return++e,[3,1];case 4:return[2]}})}.bind(this)()},t}(ho),jo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ro=function(){function e(e,t){this.ee=1,this.u=void 0,this.p=void 0,this.K=void 0,this.N=void 0,this.rr=void 0,this.u=e,this.p=t}return e.prototype.L=function(){var e=this;if(1===e.ee&&e.rr.rr===e)e=e.N;else if(e.K)for(e=e.K;e.N;)e=e.N;else{for(var t=e.rr;t.K===e;)t=(e=t).rr;e=t}return e},e.prototype.m=function(){var e=this;if(e.N){for(e=e.N;e.K;)e=e.K;return e}for(var t=e.rr;t.N===e;)t=(e=t).rr;return e.N!==t?t:e},e.prototype.ne=function(){var e=this.rr,t=this.N,n=t.K;return e.rr===this?e.rr=t:e.K===this?e.K=t:e.N=t,t.rr=e,t.K=this,this.rr=t,this.N=n,n&&(n.rr=this),t},e.prototype.te=function(){var e=this.rr,t=this.K,n=t.N;return e.rr===this?e.rr=t:e.K===this?e.K=t:e.N=t,t.rr=e,t.N=this,this.rr=t,this.K=n,n&&(n.rr=this),t},e}(),Lo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tr=1,t}return jo(t,e),t.prototype.ne=function(){var t=e.prototype.ne.call(this);return this.ie(),t.ie(),t},t.prototype.te=function(){var t=e.prototype.te.call(this);return this.ie(),t.ie(),t},t.prototype.ie=function(){this.tr=1,this.K&&(this.tr+=this.K.tr),this.N&&(this.tr+=this.N.tr)},t}(Ro),No=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bo=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Fo=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Do=function(e){function t(t,n){void 0===t&&(t=function(e,t){return e<t?-1:e>t?1:0}),void 0===n&&(n=!1);var r=e.call(this)||this;return r.W=void 0,r.$=t,n?(r.re=Lo,r.v=function(e,t,n){var r=this.se(e,t,n);if(r){for(var i=r.rr;i!==this.h;)i.tr+=1,i=i.rr;var o=this.fe(r);if(o){var a=o,s=a.parentNode,l=a.grandParent,c=a.curNode;s.ie(),l.ie(),c.ie()}}return this.M},r.G=function(e){for(var t=this.he(e);t!==this.h;)t.tr-=1,t=t.rr}):(r.re=Ro,r.v=function(e,t,n){var r=this.se(e,t,n);return r&&this.fe(r),this.M},r.G=r.he),r.h=new r.re,r}return No(t,e),t.prototype.U=function(e,t){for(var n=this.h;e;){var r=this.$(e.u,t);if(r<0)e=e.N;else{if(!(r>0))return e;n=e,e=e.K}}return n},t.prototype.X=function(e,t){for(var n=this.h;e;){this.$(e.u,t)<=0?e=e.N:(n=e,e=e.K)}return n},t.prototype.Y=function(e,t){for(var n=this.h;e;){var r=this.$(e.u,t);if(r<0)n=e,e=e.N;else{if(!(r>0))return e;e=e.K}}return n},t.prototype.Z=function(e,t){for(var n=this.h;e;){this.$(e.u,t)<0?(n=e,e=e.N):e=e.K}return n},t.prototype.ue=function(e){for(;;){var t,n=e.rr;if(n===this.h)return;if(1===e.ee)return void(e.ee=0);if(e===n.K)if(1===(t=n.N).ee)t.ee=0,n.ee=1,n===this.W?this.W=n.ne():n.ne();else{if(t.N&&1===t.N.ee)return t.ee=n.ee,n.ee=0,t.N.ee=0,void(n===this.W?this.W=n.ne():n.ne());t.K&&1===t.K.ee?(t.ee=1,t.K.ee=0,t.te()):(t.ee=1,e=n)}else if(1===(t=n.K).ee)t.ee=0,n.ee=1,n===this.W?this.W=n.te():n.te();else{if(t.K&&1===t.K.ee)return t.ee=n.ee,n.ee=0,t.K.ee=0,void(n===this.W?this.W=n.te():n.te());t.N&&1===t.N.ee?(t.ee=1,t.N.ee=0,t.ne()):(t.ee=1,e=n)}}},t.prototype.he=function(e){var t,n;if(1===this.M)return this.clear(),this.h;for(var r=e;r.K||r.N;){if(r.N)for(r=r.N;r.K;)r=r.K;else r=r.K;t=Bo([r.u,e.u],2),e.u=t[0],r.u=t[1],n=Bo([r.p,e.p],2),e.p=n[0],r.p=n[1],e=r}this.h.K===r?this.h.K=r.rr:this.h.N===r&&(this.h.N=r.rr),this.ue(r);var i=r.rr;return r===i.K?i.K=void 0:i.N=void 0,this.M-=1,this.W.ee=0,i},t.prototype.ae=function(e,t){return void 0!==e&&(!!this.ae(e.K,t)||(!!t(e)||this.ae(e.N,t)))},t.prototype.fe=function(e){for(;;){var t=e.rr;if(0===t.ee)return;var n=t.rr;if(t===n.K){if((r=n.N)&&1===r.ee){if(r.ee=t.ee=0,n===this.W)return;n.ee=1,e=n;continue}if(e===t.N){if(e.ee=0,e.K&&(e.K.rr=t),e.N&&(e.N.rr=n),t.N=e.K,n.K=e.N,e.K=t,e.N=n,n===this.W)this.W=e,this.h.rr=e;else(i=n.rr).K===n?i.K=e:i.N=e;return e.rr=n.rr,t.rr=e,n.rr=e,n.ee=1,{parentNode:t,grandParent:n,curNode:e}}t.ee=0,n===this.W?this.W=n.te():n.te(),n.ee=1}else{var r;if((r=n.K)&&1===r.ee){if(r.ee=t.ee=0,n===this.W)return;n.ee=1,e=n;continue}if(e===t.K){var i;if(e.ee=0,e.K&&(e.K.rr=n),e.N&&(e.N.rr=t),n.N=e.K,t.K=e.N,e.K=n,e.N=t,n===this.W)this.W=e,this.h.rr=e;else(i=n.rr).K===n?i.K=e:i.N=e;return e.rr=n.rr,t.rr=e,n.rr=e,n.ee=1,{parentNode:t,grandParent:n,curNode:e}}t.ee=0,n===this.W?this.W=n.ne():n.ne(),n.ee=1}return}},t.prototype.se=function(e,t,n){if(void 0===this.W)return this.M+=1,this.W=new this.re(e,t),this.W.ee=0,this.W.rr=this.h,this.h.rr=this.W,this.h.K=this.W,void(this.h.N=this.W);var r,i=this.h.K,o=this.$(i.u,e);if(0!==o){if(o>0)i.K=new this.re(e,t),i.K.rr=i,r=i.K,this.h.K=r;else{var a=this.h.N,s=this.$(a.u,e);if(0===s)return void(a.p=t);if(s<0)a.N=new this.re(e,t),a.N.rr=a,r=a.N,this.h.N=r;else{if(void 0!==n){var l=n.o;if(l!==this.h){var c=this.$(l.u,e);if(0===c)return void(l.p=t);if(c>0){var u=l.L(),f=this.$(u.u,e);if(0===f)return void(u.p=t);f<0&&(r=new this.re(e,t),void 0===u.N?(u.N=r,r.rr=u):(l.K=r,r.rr=l))}}}if(void 0===r)for(r=this.W;;){var d=this.$(r.u,e);if(d>0){if(void 0===r.K){r.K=new this.re(e,t),r.K.rr=r,r=r.K;break}r=r.K}else{if(!(d<0))return void(r.p=t);if(void 0===r.N){r.N=new this.re(e,t),r.N.rr=r,r=r.N;break}r=r.N}}}}return this.M+=1,r}i.p=t},t.prototype.g=function(e,t){for(;e;){var n=this.$(e.u,t);if(n<0)e=e.N;else{if(!(n>0))return e;e=e.K}}return e||this.h},t.prototype.clear=function(){this.M=0,this.W=void 0,this.h.rr=void 0,this.h.K=this.h.N=void 0},t.prototype.updateKeyByIterator=function(e,t){var n=e.o;if(n===this.h&&yo(),1===this.M)return n.u=t,!0;if(n===this.h.K)return this.$(n.m().u,t)>0&&(n.u=t,!0);if(n===this.h.N)return this.$(n.L().u,t)<0&&(n.u=t,!0);var r=n.L().u;if(this.$(r,t)>=0)return!1;var i=n.m().u;return!(this.$(i,t)<=0)&&(n.u=t,!0)},t.prototype.eraseElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;var t=0,n=this;return this.ae(this.W,function(r){return e===t?(n.G(r),!0):(t+=1,!1)}),this.M},t.prototype.eraseElementByKey=function(e){if(0===this.M)return!1;var t=this.g(this.W,e);return t!==this.h&&(this.G(t),!0)},t.prototype.eraseElementByIterator=function(e){var t=e.o;t===this.h&&yo();var n=void 0===t.N;return 0===e.iteratorType?n&&e.next():n&&void 0!==t.K||e.next(),this.G(t),e},t.prototype.forEach=function(e){var t,n,r=0;try{for(var i=Fo(this),o=i.next();!o.done;o=i.next()){e(o.value,r++,this)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.getElementByPos=function(e){var t,n,r;if(e<0||e>this.M-1)throw new RangeError;var i=0;try{for(var o=Fo(this),a=o.next();!a.done;a=o.next()){var s=a.value;if(i===e){r=s;break}i+=1}}catch(l){t={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},t.prototype.getHeight=function(){if(0===this.M)return 0;var e=function(t){return t?Math.max(e(t.K),e(t.N))+1:0};return e(this.W)},t}(ro),zo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Uo=function(e){function t(t,n,r){var i=e.call(this,r)||this;return i.o=t,i.h=n,0===i.iteratorType?(i.pre=function(){return this.o===this.h.K&&yo(),this.o=this.o.L(),this},i.next=function(){return this.o===this.h&&yo(),this.o=this.o.m(),this}):(i.pre=function(){return this.o===this.h.N&&yo(),this.o=this.o.m(),this},i.next=function(){return this.o===this.h&&yo(),this.o=this.o.L(),this}),i}return zo(t,e),Object.defineProperty(t.prototype,"index",{get:function(){var e=this.o,t=this.h.rr;if(e===this.h)return t?t.tr-1:0;var n=0;for(e.K&&(n+=e.K.tr);e!==t;){var r=e.rr;e===r.N&&(n+=1,r.K&&(n+=r.K.tr)),e=r}return n},enumerable:!1,configurable:!0}),t}(to),Wo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Zo=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},qo=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ho=function(e){function t(t,n,r,i){var o=e.call(this,t,n,i)||this;return o.container=r,o}return Wo(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){return this.o===this.h&&yo(),this.o.u},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.o,this.h,this.container,this.iteratorType)},t}(Uo),Vo=function(e){function t(t,n,r){void 0===t&&(t=[]);var i=e.call(this,n,r)||this,o=i;return t.forEach(function(e){o.insert(e)}),i}return Wo(t,e),t.prototype.P=function(e){return Zo(this,function(t){switch(t.label){case 0:return void 0===e?[2]:[5,qo(this.P(e.K))];case 1:return t.sent(),[4,e.u];case 2:return t.sent(),[5,qo(this.P(e.N))];case 3:return t.sent(),[2]}})},t.prototype.begin=function(){return new Ho(this.h.K||this.h,this.h,this)},t.prototype.end=function(){return new Ho(this.h,this.h,this)},t.prototype.rBegin=function(){return new Ho(this.h.N||this.h,this.h,this,1)},t.prototype.rEnd=function(){return new Ho(this.h,this.h,this,1)},t.prototype.front=function(){return this.h.K?this.h.K.u:void 0},t.prototype.back=function(){return this.h.N?this.h.N.u:void 0},t.prototype.insert=function(e,t){return this.v(e,void 0,t)},t.prototype.find=function(e){var t=this.g(this.W,e);return new Ho(t,this.h,this)},t.prototype.lowerBound=function(e){var t=this.U(this.W,e);return new Ho(t,this.h,this)},t.prototype.upperBound=function(e){var t=this.X(this.W,e);return new Ho(t,this.h,this)},t.prototype.reverseLowerBound=function(e){var t=this.Y(this.W,e);return new Ho(t,this.h,this)},t.prototype.reverseUpperBound=function(e){var t=this.Z(this.W,e);return new Ho(t,this.h,this)},t.prototype.union=function(e){var t=this;return e.forEach(function(e){t.insert(e)}),this.M},t.prototype[Symbol.iterator]=function(){return this.P(this.W)},t}(Do),Go=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ko=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},Yo=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},$o=function(e){function t(t,n,r,i){var o=e.call(this,t,n,i)||this;return o.container=r,o}return Go(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){this.o===this.h&&yo();var e=this;return new Proxy([],{get:function(t,n){return"0"===n?e.o.u:"1"===n?e.o.p:void 0},set:function(t,n,r){if("1"!==n)throw new TypeError("props must be 1");return e.o.p=r,!0}})},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.o,this.h,this.container,this.iteratorType)},t}(Uo),Qo=function(e){function t(t,n,r){void 0===t&&(t=[]);var i=e.call(this,n,r)||this,o=i;return t.forEach(function(e){o.setElement(e[0],e[1])}),i}return Go(t,e),t.prototype.P=function(e){return Ko(this,function(t){switch(t.label){case 0:return void 0===e?[2]:[5,Yo(this.P(e.K))];case 1:return t.sent(),[4,[e.u,e.p]];case 2:return t.sent(),[5,Yo(this.P(e.N))];case 3:return t.sent(),[2]}})},t.prototype.begin=function(){return new $o(this.h.K||this.h,this.h,this)},t.prototype.end=function(){return new $o(this.h,this.h,this)},t.prototype.rBegin=function(){return new $o(this.h.N||this.h,this.h,this,1)},t.prototype.rEnd=function(){return new $o(this.h,this.h,this,1)},t.prototype.front=function(){if(0!==this.M){var e=this.h.K;return[e.u,e.p]}},t.prototype.back=function(){if(0!==this.M){var e=this.h.N;return[e.u,e.p]}},t.prototype.lowerBound=function(e){var t=this.U(this.W,e);return new $o(t,this.h,this)},t.prototype.upperBound=function(e){var t=this.X(this.W,e);return new $o(t,this.h,this)},t.prototype.reverseLowerBound=function(e){var t=this.Y(this.W,e);return new $o(t,this.h,this)},t.prototype.reverseUpperBound=function(e){var t=this.Z(this.W,e);return new $o(t,this.h,this)},t.prototype.setElement=function(e,t,n){return this.v(e,t,n)},t.prototype.find=function(e){var t=this.g(this.W,e);return new $o(t,this.h,this)},t.prototype.getElementByKey=function(e){return this.g(this.W,e).p},t.prototype.union=function(e){var t=this;return e.forEach(function(e){t.setElement(e[0],e[1])}),this.M},t.prototype[Symbol.iterator]=function(){return this.P(this.W)},t}(Do);function Xo(e){var t=typeof e;return"object"===t&&null!==e||"function"===t}var Jo=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ea=function(e){function t(t,n,r){var i=e.call(this,r)||this;return i.o=t,i.h=n,0===i.iteratorType?(i.pre=function(){return this.o.L===this.h&&yo(),this.o=this.o.L,this},i.next=function(){return this.o===this.h&&yo(),this.o=this.o.m,this}):(i.pre=function(){return this.o.m===this.h&&yo(),this.o=this.o.m,this},i.next=function(){return this.o===this.h&&yo(),this.o=this.o.L,this}),i}return Jo(t,e),t}(to),ta=function(e){function t(){var t=e.call(this)||this;return t._=[],t.I={},t.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(t.I,null),t.h={},t.h.L=t.h.m=t.H=t.l=t.h,t}return Jo(t,e),t.prototype.G=function(e){var t=e.L,n=e.m;t.m=n,n.L=t,e===this.H&&(this.H=n),e===this.l&&(this.l=t),this.M-=1},t.prototype.v=function(e,t,n){var r;if(void 0===n&&(n=Xo(e)),n){var i=e[this.HASH_TAG];if(void 0!==i)return this._[i].p=t,this.M;Object.defineProperty(e,this.HASH_TAG,{value:this._.length,configurable:!0}),r={u:e,p:t,L:this.l,m:this.h},this._.push(r)}else{var o=this.I[e];if(o)return o.p=t,this.M;r={u:e,p:t,L:this.l,m:this.h},this.I[e]=r}return 0===this.M?(this.H=r,this.h.m=r):this.l.m=r,this.l=r,this.h.L=r,++this.M},t.prototype.g=function(e,t){if(void 0===t&&(t=Xo(e)),t){var n=e[this.HASH_TAG];return void 0===n?this.h:this._[n]}return this.I[e]||this.h},t.prototype.clear=function(){var e=this.HASH_TAG;this._.forEach(function(t){delete t.u[e]}),this._=[],this.I={},Object.setPrototypeOf(this.I,null),this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},t.prototype.eraseElementByKey=function(e,t){var n;if(void 0===t&&(t=Xo(e)),t){var r=e[this.HASH_TAG];if(void 0===r)return!1;delete e[this.HASH_TAG],n=this._[r],delete this._[r]}else{if(void 0===(n=this.I[e]))return!1;delete this.I[e]}return this.G(n),!0},t.prototype.eraseElementByIterator=function(e){var t=e.o;return t===this.h&&yo(),this.G(t),e.next()},t.prototype.eraseElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;for(var t=this.H;e--;)t=t.m;return this.G(t),this.M},t}(ro),na=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ra=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},ia=function(e){function t(t,n,r,i){var o=e.call(this,t,n,i)||this;return o.container=r,o}return na(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){return this.o===this.h&&yo(),this.o.u},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.o,this.h,this.container,this.iteratorType)},t}(ea),oa=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this)||this,r=n;return t.forEach(function(e){r.insert(e)}),n}return na(t,e),t.prototype.begin=function(){return new ia(this.H,this.h,this)},t.prototype.end=function(){return new ia(this.h,this.h,this)},t.prototype.rBegin=function(){return new ia(this.l,this.h,this,1)},t.prototype.rEnd=function(){return new ia(this.h,this.h,this,1)},t.prototype.front=function(){return this.H.u},t.prototype.back=function(){return this.l.u},t.prototype.insert=function(e,t){return this.v(e,void 0,t)},t.prototype.getElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;for(var t=this.H;e--;)t=t.m;return t.u},t.prototype.find=function(e,t){var n=this.g(e,t);return new ia(n,this.h,this)},t.prototype.forEach=function(e){for(var t=0,n=this.H;n!==this.h;)e(n.u,t++,this),n=n.m},t.prototype[Symbol.iterator]=function(){return function(){var e;return ra(this,function(t){switch(t.label){case 0:e=this.H,t.label=1;case 1:return e===this.h?[3,3]:[4,e.u];case 2:return t.sent(),e=e.m,[3,1];case 3:return[2]}})}.bind(this)()},t}(ta),aa=function(){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),sa=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([o,s])}}},la=function(e){function t(t,n,r,i){var o=e.call(this,t,n,i)||this;return o.container=r,o}return aa(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){this.o===this.h&&yo();var e=this;return new Proxy([],{get:function(t,n){return"0"===n?e.o.u:"1"===n?e.o.p:void 0},set:function(t,n,r){if("1"!==n)throw new TypeError("props must be 1");return e.o.p=r,!0}})},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.o,this.h,this.container,this.iteratorType)},t}(ea),ca=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this)||this,r=n;return t.forEach(function(e){r.setElement(e[0],e[1])}),n}return aa(t,e),t.prototype.begin=function(){return new la(this.H,this.h,this)},t.prototype.end=function(){return new la(this.h,this.h,this)},t.prototype.rBegin=function(){return new la(this.l,this.h,this,1)},t.prototype.rEnd=function(){return new la(this.h,this.h,this,1)},t.prototype.front=function(){if(0!==this.M)return[this.H.u,this.H.p]},t.prototype.back=function(){if(0!==this.M)return[this.l.u,this.l.p]},t.prototype.setElement=function(e,t,n){return this.v(e,t,n)},t.prototype.getElementByKey=function(e,t){if(void 0===t&&(t=Xo(e)),t){var n=e[this.HASH_TAG];return void 0!==n?this._[n].p:void 0}var r=this.I[e];return r?r.p:void 0},t.prototype.getElementByPos=function(e){if(e<0||e>this.M-1)throw new RangeError;for(var t=this.H;e--;)t=t.m;return[t.u,t.p]},t.prototype.find=function(e,t){var n=this.g(e,t);return new la(n,this.h,this)},t.prototype.forEach=function(e){for(var t=0,n=this.H;n!==this.h;)e([n.u,n.p],t++,this),n=n.m},t.prototype[Symbol.iterator]=function(){return function(){var e;return sa(this,function(t){switch(t.label){case 0:e=this.H,t.label=1;case 1:return e===this.h?[3,3]:[4,[e.u,e.p]];case 2:return t.sent(),e=e.m,[3,1];case 3:return[2]}})}.bind(this)()},t}(ta);const ua=u(Object.freeze(Object.defineProperty({__proto__:null,Deque:Po,HashMap:ca,HashSet:oa,LinkList:To,OrderedMap:Qo,OrderedSet:Vo,PriorityQueue:fo,Queue:so,Stack:oo,Vector:ko},Symbol.toStringTag,{value:"Module"})));var fa,da,pa,ha,ya,ga,ma,va,ba,wa,_a={exports:{}};function xa(){if(da)return fa;da=1;var e=1e3,t=60*e,n=60*t,r=24*n,i=7*r,o=365.25*r;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}return fa=function(s,l){l=l||{};var c=typeof s;if("string"===c&&s.length>0)return function(a){if((a=String(a)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*o;case"weeks":case"week":case"w":return l*i;case"days":case"day":case"d":return l*r;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*t;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(s);if("number"===c&&isFinite(s))return l.long?function(i){var o=Math.abs(i);if(o>=r)return a(i,o,r,"day");if(o>=n)return a(i,o,n,"hour");if(o>=t)return a(i,o,t,"minute");if(o>=e)return a(i,o,e,"second");return i+" ms"}(s):function(i){var o=Math.abs(i);if(o>=r)return Math.round(i/r)+"d";if(o>=n)return Math.round(i/n)+"h";if(o>=t)return Math.round(i/t)+"m";if(o>=e)return Math.round(i/e)+"s";return i+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}}function Sa(){return ya||(ya=1,function(e,t){var n={};t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(r){}!e&&void 0!==T&&"env"in T&&(e=n.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(ha||(ha=1,pa=function(e){function t(e){let r,i,o,a=null;function s(...e){if(!s.enabled)return;const n=s,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";a++;const o=t.formatters[i];if("function"==typeof o){const t=e[a];r=o.call(n,t),e.splice(a,1),a--}return r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n,r++):(n++,r++);else{if(-1===i)return!1;r=i+1,o++,n=o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const r of n)"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(const n of t.skips)if(r(e,n))return!1;for(const n of t.names)if(r(e,n))return!0;return!1},t.humanize=xa(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}),pa)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(_a,_a.exports)),_a.exports}function ka(){if(va)return Ji;va=1;const e=function(){if(ma)return ga;ma=1;const e=ua.OrderedSet,t=Sa()("number-allocator:trace"),n=Sa()("number-allocator:error");function r(e,t){this.low=e,this.high=t}function i(n,r){if(!(this instanceof i))return new i(n,r);this.min=n,this.max=r,this.ss=new e([],(e,t)=>e.compare(t)),t("Create"),this.clear()}return r.prototype.equals=function(e){return this.low===e.low&&this.high===e.high},r.prototype.compare=function(e){return this.low<e.low&&this.high<e.low?-1:e.low<this.low&&e.high<this.low?1:0},i.prototype.firstVacant=function(){return 0===this.ss.size()?null:this.ss.front().low},i.prototype.alloc=function(){if(0===this.ss.size())return t("alloc():empty"),null;const e=this.ss.begin(),n=e.pointer.low,i=e.pointer.high,o=n;return o+1<=i?this.ss.updateKeyByIterator(e,new r(n+1,i)):this.ss.eraseElementByPos(0),t("alloc():"+o),o},i.prototype.use=function(e){const n=new r(e,e),i=this.ss.lowerBound(n);if(!i.equals(this.ss.end())){const o=i.pointer.low,a=i.pointer.high;return i.pointer.equals(n)?(this.ss.eraseElementByIterator(i),t("use():"+e),!0):!(o>e||(o===e?(this.ss.updateKeyByIterator(i,new r(o+1,a)),t("use():"+e),0):a===e?(this.ss.updateKeyByIterator(i,new r(o,a-1)),t("use():"+e),0):(this.ss.updateKeyByIterator(i,new r(e+1,a)),this.ss.insert(new r(o,e-1)),t("use():"+e),0)))}return t("use():failed"),!1},i.prototype.free=function(e){if(e<this.min||e>this.max)return void n("free():"+e+" is out of range");const i=new r(e,e),o=this.ss.upperBound(i);if(o.equals(this.ss.end())){if(o.equals(this.ss.begin()))return void this.ss.insert(i);o.pre();const t=o.pointer.high;o.pointer.high+1===e?this.ss.updateKeyByIterator(o,new r(t,e)):this.ss.insert(i)}else if(o.equals(this.ss.begin()))if(e+1===o.pointer.low){const t=o.pointer.high;this.ss.updateKeyByIterator(o,new r(e,t))}else this.ss.insert(i);else{const t=o.pointer.low,n=o.pointer.high;o.pre();const a=o.pointer.low;o.pointer.high+1===e?e+1===t?(this.ss.eraseElementByIterator(o),this.ss.updateKeyByIterator(o,new r(a,n))):this.ss.updateKeyByIterator(o,new r(a,e)):e+1===t?(this.ss.eraseElementByIterator(o.next()),this.ss.insert(new r(e,n))):this.ss.insert(i)}t("free():"+e)},i.prototype.clear=function(){t("clear()"),this.ss.clear(),this.ss.insert(new r(this.min,this.max))},i.prototype.intervalCount=function(){return this.ss.size()},i.prototype.dump=function(){console.log("length:"+this.ss.size());for(const e of this.ss)console.log(e)},ga=i}();return Ji.NumberAllocator=e,Ji}function Ea(){if(wa)return ba;wa=1;const e=function(){if(Ui)return zi;Ui=1;const e=Xi(),t=Symbol("max"),n=Symbol("length"),r=Symbol("lengthCalculator"),i=Symbol("allowStale"),o=Symbol("maxAge"),a=Symbol("dispose"),s=Symbol("noDisposeOnSet"),l=Symbol("lruList"),c=Symbol("cache"),u=Symbol("updateAgeOnGet"),f=()=>1,d=(e,t,n)=>{const r=e[c].get(t);if(r){const t=r.value;if(p(e,t)){if(y(e,r),!e[i])return}else n&&(e[u]&&(r.value.now=Date.now()),e[l].unshiftNode(r));return t.value}},p=(e,t)=>{if(!t||!t.maxAge&&!e[o])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[o]&&n>e[o]},h=e=>{if(e[n]>e[t])for(let r=e[l].tail;e[n]>e[t]&&null!==r;){const t=r.prev;y(e,r),r=t}},y=(e,t)=>{if(t){const r=t.value;e[a]&&e[a](r.key,r.value),e[n]-=r.length,e[c].delete(r.key),e[l].removeNode(t)}};class g{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const m=(e,t,n,r)=>{let o=n.value;p(e,o)&&(y(e,n),e[i]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};return zi=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[t]=e.max||1/0;const n=e.length||f;if(this[r]="function"!=typeof n?f:n,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[o]=e.maxAge||0,this[a]=e.dispose,this[s]=e.noDisposeOnSet||!1,this[u]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[t]=e||1/0,h(this)}get max(){return this[t]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[o]=e,h(this)}get maxAge(){return this[o]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[r]&&(this[r]=e,this[n]=0,this[l].forEach(e=>{e.length=this[r](e.value,e.key),this[n]+=e.length})),h(this)}get lengthCalculator(){return this[r]}get length(){return this[n]}get itemCount(){return this[l].length}rforEach(e,t){t=t||this;for(let n=this[l].tail;null!==n;){const r=n.prev;m(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[l].head;null!==n;){const r=n.next;m(this,e,n,t),n=r}}keys(){return this[l].toArray().map(e=>e.key)}values(){return this[l].toArray().map(e=>e.value)}reset(){this[a]&&this[l]&&this[l].length&&this[l].forEach(e=>this[a](e.key,e.value)),this[c]=new Map,this[l]=new e,this[n]=0}dump(){return this[l].map(e=>!p(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[l]}set(e,i,u){if((u=u||this[o])&&"number"!=typeof u)throw new TypeError("maxAge must be a number");const f=u?Date.now():0,d=this[r](i,e);if(this[c].has(e)){if(d>this[t])return y(this,this[c].get(e)),!1;const r=this[c].get(e).value;return this[a]&&(this[s]||this[a](e,r.value)),r.now=f,r.maxAge=u,r.value=i,this[n]+=d-r.length,r.length=d,this.get(e),h(this),!0}const p=new g(e,i,d,f,u);return p.length>this[t]?(this[a]&&this[a](e,i),!1):(this[n]+=p.length,this[l].unshift(p),this[c].set(e,this[l].head),h(this),!0)}has(e){if(!this[c].has(e))return!1;const t=this[c].get(e).value;return!p(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[l].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[c].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[c].forEach((e,t)=>d(this,t,!1))}},zi}(),t=ka().NumberAllocator;function n(r){if(!(this instanceof n))return new n(r);r>0&&(this.aliasToTopic=new e({max:r}),this.topicToAlias={},this.numberAllocator=new t(1,r),this.max=r,this.length=0)}return n.prototype.put=function(e,t){if(0===t||t>this.max)return!1;const n=this.aliasToTopic.get(t);return n&&delete this.topicToAlias[n],this.aliasToTopic.set(t,e),this.topicToAlias[e]=t,this.numberAllocator.use(t),this.length=this.aliasToTopic.length,!0},n.prototype.getTopicByAlias=function(e){return this.aliasToTopic.get(e)},n.prototype.getAliasByTopic=function(e){const t=this.topicToAlias[e];return void 0!==t&&this.aliasToTopic.get(t),t},n.prototype.clear=function(){this.aliasToTopic.reset(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0},n.prototype.getLruAlias=function(){const e=this.numberAllocator.firstVacant();return e||this.aliasToTopic.keys()[this.aliasToTopic.length-1]},ba=n}var Ia,Ca,Ta,Ma,Aa,Oa={},Pa={exports:{}};function ja(){if(Ta)return Pa.exports;Ta=1;const e=$i().Duplex,t=$r(),n=function(){if(Ca)return Ia;Ca=1;const{Buffer:e}=Ke(),t=Symbol.for("BufferList");function n(e){if(!(this instanceof n))return new n(e);n._init.call(this,e)}return n._init=function(e){Object.defineProperty(this,t,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},n.prototype._new=function(e){return new n(e)},n.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let n=0;n<this._bufs.length;n++){const r=t+this._bufs[n].length;if(e<r||n===this._bufs.length-1)return[n,e-t];t=r}},n.prototype._reverseOffset=function(e){const t=e[0];let n=e[1];for(let r=0;r<t;r++)n+=this._bufs[r].length;return n},n.prototype.get=function(e){if(e>this.length||e<0)return;const t=this._offset(e);return this._bufs[t[0]][t[1]]},n.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},n.prototype.copy=function(t,n,r,i){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return t||e.alloc(0);if(i<=0)return t||e.alloc(0);const o=!!t,a=this._offset(r),s=i-r;let l=s,c=o&&n||0,u=a[1];if(0===r&&i===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:e.concat(this._bufs,this.length);for(let e=0;e<this._bufs.length;e++)this._bufs[e].copy(t,c),c+=this._bufs[e].length;return t}if(l<=this._bufs[a[0]].length-u)return o?this._bufs[a[0]].copy(t,n,u,u+l):this._bufs[a[0]].slice(u,u+l);o||(t=e.allocUnsafe(s));for(let e=a[0];e<this._bufs.length;e++){const n=this._bufs[e].length-u;if(!(l>n)){this._bufs[e].copy(t,c,u,u+l),c+=n;break}this._bufs[e].copy(t,c,u),c+=n,l-=n,u&&(u=0)}return t.length>c?t.slice(0,c):t},n.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();const n=this._offset(e),r=this._offset(t),i=this._bufs.slice(n[0],r[0]+1);return 0===r[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,r[1]),0!==n[1]&&(i[0]=i[0].slice(n[1])),this._new(i)},n.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},n.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},n.prototype.duplicate=function(){const e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e},n.prototype.append=function(t){if(null==t)return this;if(t.buffer)this._appendBuffer(e.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let e=0;e<t.length;e++)this.append(t[e]);else if(this._isBufferList(t))for(let e=0;e<t._bufs.length;e++)this.append(t._bufs[e]);else"number"==typeof t&&(t=t.toString()),this._appendBuffer(e.from(t));return this},n.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},n.prototype.indexOf=function(t,n,r){if(void 0===r&&"string"==typeof n&&(r=n,n=void 0),"function"==typeof t||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if("number"==typeof t?t=e.from([t]):"string"==typeof t?t=e.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=e.from(t.buffer,t.byteOffset,t.byteLength):e.isBuffer(t)||(t=e.from(t)),n=Number(n||0),isNaN(n)&&(n=0),n<0&&(n=this.length+n),n<0&&(n=0),0===t.length)return n>this.length?this.length:n;const i=this._offset(n);let o=i[0],a=i[1];for(;o<this._bufs.length;o++){const e=this._bufs[o];for(;a<e.length;)if(e.length-a>=t.length){const n=e.indexOf(t,a);if(-1!==n)return this._reverseOffset([o,n]);a=e.length-t.length+1}else{const e=this._reverseOffset([o,a]);if(this._match(e,t))return e;a++}a=0}return-1},n.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let n=0;n<t.length;n++)if(this.get(e+n)!==t[n])return!1;return!0},function(){const e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(const t in e)(function(t){n.prototype[t]=null===e[t]?function(e,n){return this.slice(e,e+n)[t](0,n)}:function(n=0){return this.slice(n,n+e[t])[t](0)}})(t)}(),n.prototype._isBufferList=function(e){return e instanceof n||n.isBufferList(e)},n.isBufferList=function(e){return null!=e&&e[t]},Ia=n}();function r(t){if(!(this instanceof r))return new r(t);if("function"==typeof t){this._callback=t;const e=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",function(t){t.on("error",e)}),this.on("unpipe",function(t){t.removeListener("error",e)}),t=null}n._init.call(this,t),e.call(this)}return t(r,e),Object.assign(r.prototype,n.prototype),r.prototype._new=function(e){return new r(e)},r.prototype._write=function(e,t,n){this._appendBuffer(e),"function"==typeof n&&n()},r.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},r.prototype.end=function(t){e.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},r.prototype._isBufferList=function(e){return e instanceof r||e instanceof n||r.isBufferList(e)},r.isBufferList=n.isBufferList,Pa.exports=r,Pa.exports.BufferListStream=r,Pa.exports.BufferList=n,Pa.exports}for(var Ra={},La={byteLength:function(e){var t=Ua(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=Ua(e),i=r[0],o=r[1],a=new Fa(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),s=0,l=o>0?i-4:i;for(n=0;n<l;n+=4)t=Ba[e.charCodeAt(n)]<<18|Ba[e.charCodeAt(n+1)]<<12|Ba[e.charCodeAt(n+2)]<<6|Ba[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;2===o&&(t=Ba[e.charCodeAt(n)]<<2|Ba[e.charCodeAt(n+1)]>>4,a[s++]=255&t);1===o&&(t=Ba[e.charCodeAt(n)]<<10|Ba[e.charCodeAt(n+1)]<<4|Ba[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t);return a},fromByteArray:function(e){for(var t,n=e.length,r=n%3,i=[],o=16383,a=0,s=n-r;a<s;a+=o)i.push(Za(e,a,a+o>s?s:a+o));1===r?(t=e[n-1],i.push(Na[t>>2]+Na[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(Na[t>>10]+Na[t>>4&63]+Na[t<<2&63]+"="));return i.join("")}},Na=[],Ba=[],Fa="undefined"!=typeof Uint8Array?Uint8Array:Array,Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",za=0;za<64;++za)Na[za]=Da[za],Ba[Da.charCodeAt(za)]=za;function Ua(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function Wa(e){return Na[e>>18&63]+Na[e>>12&63]+Na[e>>6&63]+Na[63&e]}function Za(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(Wa(r));return i.join("")}Ba["-".charCodeAt(0)]=62,Ba["_".charCodeAt(0)]=63;var qa={read:function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},write:function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,f=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*y}};!function(e){const t=La,n=qa,r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i;const{Uint8Array:o,ArrayBuffer:a,SharedArrayBuffer:s}=globalThis;function l(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new o(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=l(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(a.isView(e))return function(e){if($(e,o)){const t=new o(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,a)||e&&$(e.buffer,a))return h(e,t,n);if(void 0!==s&&($(e,s)||e&&$(e.buffer,s)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);const i=function(e){if(c.isBuffer(e)){const t=0|y(e.length),n=l(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?l(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return f(e),l(e<0?0:0|y(e))}function p(e){const t=e.length<0?0:0|y(e.length),n=l(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new o(e):void 0===n?new o(e,t):new o(e,t,n),Object.setPrototypeOf(r,c.prototype),r}function y(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(a.isView(e)||$(e,a))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(i)return r?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return I(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof o.prototype.indexOf?i?o.prototype.indexOf.call(e,t,n):o.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function _(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function x(e,t,n,r){return Y(G(t,e.length-n),e,n,r)}function S(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return Y(K(t),e,n,r)}function E(e,t,n,r){return Y(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function I(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}c.TYPED_ARRAY_SUPPORT=function(){try{const e=new o(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,o.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(c.prototype,o.prototype),Object.setPrototypeOf(c,o),c.alloc=function(e,t,n){return function(e,t,n){return f(e),e<=0?l(e):void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)}(e,t,n)},c.allocUnsafe=function(e){return d(e)},c.allocUnsafeSlow=function(e){return d(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if($(e,o)&&(e=c.from(e,e.offset,e.byteLength)),$(t,o)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=c.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if($(t,o))i+t.length>r.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(r,i)):o.prototype.set.call(r,t,i);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},c.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):m.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let t="";const n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,i){if($(e,o)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let a=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const l=Math.min(a,s),u=this.slice(r,i),f=e.slice(t,n);for(let o=0;o<l;++o)if(u[o]!==f[o]){a=u[o],s=f[o];break}return a<s?-1:s<a?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function M(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function O(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=X[e[o]];return i}function P(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function j(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,i){Z(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function N(e,t,n,r,i){Z(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,r,i,o){return t=+t,r>>>=0,o||B(e,0,r,4),n.write(e,t,r,i,23,4),r+4}function D(e,t,r,i,o){return t=+t,r>>>=0,o||B(e,0,r,8),n.write(e,t,r,i,52,8),r+8}c.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),c.prototype.readBigUInt64BE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),c.prototype.readBigInt64BE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||H(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)}),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),n.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),n.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),n.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),n.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=J(function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=J(function(e,t=0){return N(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=J(function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=J(function(e,t=0){return N(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof o.prototype.copyWithin?this.copyWithin(t,n,r):o.prototype.set.call(e,this.subarray(n,r),t),i},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=c.isBuffer(e)?e:c.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const z={};function U(e,t,n){z[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function W(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function Z(e,t,n,r,i,o){if(e>n||e<t){const n="bigint"==typeof t?"n":"";let r;throw r=0===t||t===BigInt(0)?">= 0".concat(n," and < 2").concat(n," ** ").concat(8*(o+1)).concat(n):">= -(2".concat(n," ** ").concat(8*(o+1)-1).concat(n,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(n),new z.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||H(t,e.length-(n+1))}(r,i,o)}function q(e,t){if("number"!=typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new z.ERR_OUT_OF_RANGE("offset","an integer",e);if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE("offset",">= ".concat(0," and <= ").concat(t),e)}U("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),U("ERR_INVALID_ARG_TYPE",function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)},TypeError),U("ERR_OUT_OF_RANGE",function(e,t,n){let r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=W(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=W(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i),r},RangeError);const V=/[^+/0-9A-Za-z-_]/g;function G(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}}(Ra);const Ha=Ra.Buffer;var Va,Ga,Ka,Ya,$a,Qa={exports:{}};function Xa(){return Va||(Va=1,function(){const e=Qa.exports;e.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},e.codes={};for(const n in e.types){const t=e.types[n];e.codes[t]=n}e.CMD_SHIFT=4,e.CMD_MASK=240,e.DUP_MASK=8,e.QOS_MASK=3,e.QOS_SHIFT=1,e.RETAIN_MASK=1,e.VARBYTEINT_MASK=127,e.VARBYTEINT_FIN_MASK=128,e.VARBYTEINT_MAX=268435455,e.SESSIONPRESENT_MASK=1,e.SESSIONPRESENT_HEADER=Ha.from([e.SESSIONPRESENT_MASK]),e.CONNACK_HEADER=Ha.from([e.codes.connack<<e.CMD_SHIFT]),e.USERNAME_MASK=128,e.PASSWORD_MASK=64,e.WILL_RETAIN_MASK=32,e.WILL_QOS_MASK=24,e.WILL_QOS_SHIFT=3,e.WILL_FLAG_MASK=4,e.CLEAN_SESSION_MASK=2,e.CONNECT_HEADER=Ha.from([e.codes.connect<<e.CMD_SHIFT]),e.properties={sessionExpiryInterval:17,willDelayInterval:24,receiveMaximum:33,maximumPacketSize:39,topicAliasMaximum:34,requestResponseInformation:25,requestProblemInformation:23,userProperties:38,authenticationMethod:21,authenticationData:22,payloadFormatIndicator:1,messageExpiryInterval:2,contentType:3,responseTopic:8,correlationData:9,maximumQoS:36,retainAvailable:37,assignedClientIdentifier:18,reasonString:31,wildcardSubscriptionAvailable:40,subscriptionIdentifiersAvailable:41,sharedSubscriptionAvailable:42,serverKeepAlive:19,responseInformation:26,serverReference:28,topicAlias:35,subscriptionIdentifier:11},e.propertiesCodes={};for(const n in e.properties){const t=e.properties[n];e.propertiesCodes[t]=n}function t(t){return[0,1,2].map(n=>[0,1].map(r=>[0,1].map(i=>{const o=Ha.alloc(1);return o.writeUInt8(e.codes[t]<<e.CMD_SHIFT|(r?e.DUP_MASK:0)|n<<e.QOS_SHIFT|i,0,!0),o})))}e.propertiesTypes={sessionExpiryInterval:"int32",willDelayInterval:"int32",receiveMaximum:"int16",maximumPacketSize:"int32",topicAliasMaximum:"int16",requestResponseInformation:"byte",requestProblemInformation:"byte",userProperties:"pair",authenticationMethod:"string",authenticationData:"binary",payloadFormatIndicator:"byte",messageExpiryInterval:"int32",contentType:"string",responseTopic:"string",correlationData:"binary",maximumQoS:"int8",retainAvailable:"byte",assignedClientIdentifier:"string",reasonString:"string",wildcardSubscriptionAvailable:"byte",subscriptionIdentifiersAvailable:"byte",sharedSubscriptionAvailable:"byte",serverKeepAlive:"int16",responseInformation:"string",serverReference:"string",topicAlias:"int16",subscriptionIdentifier:"var"},e.PUBLISH_HEADER=t("publish"),e.SUBSCRIBE_HEADER=t("subscribe"),e.SUBSCRIBE_OPTIONS_QOS_MASK=3,e.SUBSCRIBE_OPTIONS_NL_MASK=1,e.SUBSCRIBE_OPTIONS_NL_SHIFT=2,e.SUBSCRIBE_OPTIONS_RAP_MASK=1,e.SUBSCRIBE_OPTIONS_RAP_SHIFT=3,e.SUBSCRIBE_OPTIONS_RH_MASK=3,e.SUBSCRIBE_OPTIONS_RH_SHIFT=4,e.SUBSCRIBE_OPTIONS_RH=[0,16,32],e.SUBSCRIBE_OPTIONS_NL=4,e.SUBSCRIBE_OPTIONS_RAP=8,e.SUBSCRIBE_OPTIONS_QOS=[0,1,2],e.UNSUBSCRIBE_HEADER=t("unsubscribe"),e.ACKS={unsuback:t("unsuback"),puback:t("puback"),pubcomp:t("pubcomp"),pubrel:t("pubrel"),pubrec:t("pubrec")},e.SUBACK_HEADER=Ha.from([e.codes.suback<<e.CMD_SHIFT]),e.VERSION3=Ha.from([3]),e.VERSION4=Ha.from([4]),e.VERSION5=Ha.from([5]),e.VERSION131=Ha.from([131]),e.VERSION132=Ha.from([132]),e.QOS=[0,1,2].map(e=>Ha.from([e])),e.EMPTY={pingreq:Ha.from([e.codes.pingreq<<4,0]),pingresp:Ha.from([e.codes.pingresp<<4,0]),disconnect:Ha.from([e.codes.disconnect<<4,0])}}()),Qa.exports}function Ja(){if(Ka)return Ga;Ka=1;const e=ja(),t=ze(),n=Aa?Ma:(Aa=1,Ma=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}}),r=Xa(),i=Sa()("mqtt-packet:parser");class o extends t{constructor(){super(),this.parser=this.constructor.parser}static parser(e){return this instanceof o?(this.settings=e||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):(new o).parser(e)}_resetState(){i("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new n,this.error=null,this._list=e(),this._stateCounter=0}parse(e){for(this.error&&this._resetState(),this._list.append(e),i("parse: current state: %s",this._states[this._stateCounter]);(-1!==this.packet.length||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,i("parse: state complete. _stateCounter is now: %d",this._stateCounter),i("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return i("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){const e=this._list.readUInt8(0);return this.packet.cmd=r.types[e>>r.CMD_SHIFT],this.packet.retain=0!==(e&r.RETAIN_MASK),this.packet.qos=e>>r.QOS_SHIFT&r.QOS_MASK,this.packet.dup=0!==(e&r.DUP_MASK),i("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0}_parseLength(){const e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),i("_parseLength %d",e.value),!!e}_parsePayload(){i("_parsePayload: payload %O",this._list);let e=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return i("_parsePayload complete result: %s",e),e}_parseConnect(){let e,t,n,o;i("_parseConnect");const a={},s=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(s.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(s.protocolVersion=this._list.readUInt8(this._pos),s.protocolVersion>=128&&(s.bridgeMode=!0,s.protocolVersion=s.protocolVersion-128),3!==s.protocolVersion&&4!==s.protocolVersion&&5!==s.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(a.username=this._list.readUInt8(this._pos)&r.USERNAME_MASK,a.password=this._list.readUInt8(this._pos)&r.PASSWORD_MASK,a.will=this._list.readUInt8(this._pos)&r.WILL_FLAG_MASK,a.will&&(s.will={},s.will.retain=0!==(this._list.readUInt8(this._pos)&r.WILL_RETAIN_MASK),s.will.qos=(this._list.readUInt8(this._pos)&r.WILL_QOS_MASK)>>r.WILL_QOS_SHIFT),s.clean=0!==(this._list.readUInt8(this._pos)&r.CLEAN_SESSION_MASK),this._pos++,s.keepalive=this._parseNum(),-1===s.keepalive)return this._emitError(new Error("Packet too short"));if(5===s.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.properties=e)}const c=this._parseString();if(null===c)return this._emitError(new Error("Packet too short"));if(s.clientId=c,i("_parseConnect: packet.clientId: %s",s.clientId),a.will){if(5===s.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.will.properties=e)}if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse will topic"));if(s.will.topic=e,i("_parseConnect: packet.will.topic: %s",s.will.topic),t=this._parseBuffer(),null===t)return this._emitError(new Error("Cannot parse will payload"));s.will.payload=t,i("_parseConnect: packet.will.paylaod: %s",s.will.payload)}if(a.username){if(o=this._parseString(),null===o)return this._emitError(new Error("Cannot parse username"));s.username=o,i("_parseConnect: packet.username: %s",s.username)}if(a.password){if(n=this._parseBuffer(),null===n)return this._emitError(new Error("Cannot parse password"));s.password=n}return this.settings=s,i("_parseConnect: complete"),s}_parseConnack(){i("_parseConnack");const e=this.packet;if(this._list.length<1)return null;if(e.sessionPresent=!!(this._list.readUInt8(this._pos++)&r.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(-1===e.returnCode||-1===e.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}i("_parseConnack: complete")}_parsePublish(){i("_parsePublish");const e=this.packet;if(e.topic=this._parseString(),null===e.topic)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}e.payload=this._list.slice(this._pos,e.length),i("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){i("_parseSubscribe");const e=this.packet;let t,n,o,a,s,l,c;if(1!==e.qos)return this._emitError(new Error("Wrong subscribe header"));if(e.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}for(;this._pos<e.length;){if(t=this._parseString(),null===t)return this._emitError(new Error("Cannot parse topic"));if(this._pos>=e.length)return this._emitError(new Error("Malformed Subscribe Payload"));n=this._parseByte(),o=n&r.SUBSCRIBE_OPTIONS_QOS_MASK,l=0!==(n>>r.SUBSCRIBE_OPTIONS_NL_SHIFT&r.SUBSCRIBE_OPTIONS_NL_MASK),s=0!==(n>>r.SUBSCRIBE_OPTIONS_RAP_SHIFT&r.SUBSCRIBE_OPTIONS_RAP_MASK),a=n>>r.SUBSCRIBE_OPTIONS_RH_SHIFT&r.SUBSCRIBE_OPTIONS_RH_MASK,c={topic:t,qos:o},5===this.settings.protocolVersion?(c.nl=l,c.rap=s,c.rh=a):this.settings.bridgeMode&&(c.rh=0,c.rap=!0,c.nl=!0),i("_parseSubscribe: push subscription `%s` to subscription",c),e.subscriptions.push(c)}}}_parseSuback(){i("_parseSuback");const e=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}for(;this._pos<this.packet.length;)this.packet.granted.push(this._list.readUInt8(this._pos++))}}_parseUnsubscribe(){i("_parseUnsubscribe");const e=this.packet;if(e.unsubscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}for(;this._pos<e.length;){const t=this._parseString();if(null===t)return this._emitError(new Error("Cannot parse topic"));i("_parseUnsubscribe: push topic `%s` to unsubscriptions",t),e.unsubscriptions.push(t)}}}_parseUnsuback(){i("_parseUnsuback");const e=this.packet;if(!this._parseMessageId())return this._emitError(new Error("Cannot parse messageId"));if(5===this.settings.protocolVersion){const t=this._parseProperties();for(Object.getOwnPropertyNames(t).length&&(e.properties=t),e.granted=[];this._pos<this.packet.length;)this.packet.granted.push(this._list.readUInt8(this._pos++))}}_parseConfirmation(){i("_parseConfirmation: packet.cmd: `%s`",this.packet.cmd);const e=this.packet;if(this._parseMessageId(),5===this.settings.protocolVersion&&(e.length>2?(e.reasonCode=this._parseByte(),i("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)):e.reasonCode=0,e.length>3)){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return!0}_parseDisconnect(){const e=this.packet;if(i("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?e.reasonCode=this._parseByte():e.reasonCode=0;const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return i("_parseDisconnect result: true"),!0}_parseAuth(){i("_parseAuth");const e=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));e.reasonCode=this._parseByte();const t=this._parseProperties();return Object.getOwnPropertyNames(t).length&&(e.properties=t),i("_parseAuth: result: true"),!0}_parseMessageId(){const e=this.packet;return e.messageId=this._parseNum(),null===e.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(i("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){const t=this._parseNum(),n=t+this._pos;if(-1===t||n>this._list.length||n>this.packet.length)return null;const r=this._list.toString("utf8",this._pos,n);return this._pos+=t,i("_parseString: result: %s",r),r}_parseStringPair(){return i("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){const e=this._parseNum(),t=e+this._pos;if(-1===e||t>this._list.length||t>this.packet.length)return null;const n=this._list.slice(this._pos,t);return this._pos+=e,i("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;const e=this._list.readUInt16BE(this._pos);return this._pos+=2,i("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;const e=this._list.readUInt32BE(this._pos);return this._pos+=4,i("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){i("_parseVarByteNum");let t,n=0,o=1,a=0,s=!1;const l=this._pos?this._pos:0;for(;n<4&&l+n<this._list.length;){if(t=this._list.readUInt8(l+n++),a+=o*(t&r.VARBYTEINT_MASK),o*=128,0===(t&r.VARBYTEINT_FIN_MASK)){s=!0;break}if(this._list.length<=n)break}return!s&&4===n&&this._list.length>=n&&this._emitError(new Error("Invalid variable byte integer")),l&&(this._pos+=n),s=!!s&&(e?{bytes:n,value:a}:a),i("_parseVarByteNum: result: %o",s),s}_parseByte(){let e;return this._pos<this._list.length&&(e=this._list.readUInt8(this._pos),this._pos++),i("_parseByte: result: %o",e),e}_parseByType(e){switch(i("_parseByType: type: %s",e),e){case"byte":return 0!==this._parseByte();case"int8":return this._parseByte();case"int16":return this._parseNum();case"int32":return this._parse4ByteNum();case"var":return this._parseVarByteNum();case"string":return this._parseString();case"pair":return this._parseStringPair();case"binary":return this._parseBuffer()}}_parseProperties(){i("_parseProperties");const e=this._parseVarByteNum(),t=this._pos+e,n={};for(;this._pos<t;){const e=this._parseByte();if(!e)return this._emitError(new Error("Cannot parse property code type")),!1;const t=r.propertiesCodes[e];if(!t)return this._emitError(new Error("Unknown property")),!1;if("userProperties"===t){n[t]||(n[t]=Object.create(null));const e=this._parseByType(r.propertiesTypes[t]);if(n[t][e.name])if(Array.isArray(n[t][e.name]))n[t][e.name].push(e.value);else{const r=n[t][e.name];n[t][e.name]=[r],n[t][e.name].push(e.value)}else n[t][e.name]=e.value;continue}n[t]?(Array.isArray(n[t])||(n[t]=[n[t]]),n[t].push(this._parseByType(r.propertiesTypes[t]))):n[t]=this._parseByType(r.propertiesTypes[t])}return n}_newPacket(){return i("_newPacket"),this.packet&&(this._list.consume(this.packet.length),i("_newPacket: parser emit packet: packet.cmd: %s, packet.payload: %s, packet.length: %d",this.packet.cmd,this.packet.payload,this.packet.length),this.emit("packet",this.packet)),i("_newPacket: new packet"),this.packet=new n,this._pos=0,!0}_emitError(e){i("_emitError"),this.error=e,this.emit("error",e)}}return Ga=o}var es,ts,ns,rs,is,os,as,ss,ls,cs,us,fs,ds,ps,hs,ys,gs,ms,vs={exports:{}};function bs(){if(ns)return ts;ns=1;const e=Xa(),t=Ha.allocUnsafe(0),n=Ha.from([0]),r=function(){if($a)return Ya;$a=1;const e={},t=Ha.isBuffer(Ha.from([1,2]).subarray(0,1));function n(e){const t=Ha.allocUnsafe(2);return t.writeUInt8(e>>8,0),t.writeUInt8(255&e,1),t}return Ya={cache:e,generateCache:function(){for(let t=0;t<65536;t++)e[t]=n(t)},generateNumber:n,genBufVariableByteInt:function(e){let n=0,r=0;const i=Ha.allocUnsafe(4);do{n=e%128|0,(e=e/128|0)>0&&(n|=128),i.writeUInt8(n,r++)}while(e>0&&r<4);return e>0&&(r=0),t?i.subarray(0,r):i.slice(0,r)},generate4ByteBuffer:function(e){const t=Ha.allocUnsafe(4);return t.writeUInt32BE(e,0),t}},Ya}(),i=(es||(es=1,void 0===T||!T.version||0===T.version.indexOf("v0.")||0===T.version.indexOf("v1.")&&0!==T.version.indexOf("v1.8.")?vs.exports={nextTick:function(e,t,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return T.nextTick(e);case 2:return T.nextTick(function(){e.call(null,t)});case 3:return T.nextTick(function(){e.call(null,t,n)});case 4:return T.nextTick(function(){e.call(null,t,n,r)});default:for(i=new Array(a-1),o=0;o<i.length;)i[o++]=arguments[o];return T.nextTick(function(){e.apply(null,i)})}}}:vs.exports=T),vs.exports).nextTick,o=Sa()("mqtt-packet:writeToStream"),a=r.cache,s=r.generateNumber,l=r.generateCache,c=r.genBufVariableByteInt,u=r.generate4ByteBuffer;let f=b,d=!0;function p(r,a,s){switch(o("generate called"),a.cork&&(a.cork(),i(h,a)),d&&(d=!1,l()),o("generate: packet.cmd: %s",r.cmd),r.cmd){case"connect":return function(t,n){const r=t||{},i=r.protocolId||"MQTT";let o=r.protocolVersion||4;const a=r.will;let s=r.clean;const l=r.keepalive||0,c=r.clientId||"",u=r.username,d=r.password,p=r.properties;void 0===s&&(s=!0);let h=0;if("string"!=typeof i&&!Ha.isBuffer(i))return n.emit("error",new Error("Invalid protocolId")),!1;h+=i.length+2;if(3!==o&&4!==o&&5!==o)return n.emit("error",new Error("Invalid protocol version")),!1;h+=1;if(("string"==typeof c||Ha.isBuffer(c))&&(c||o>=4)&&(c||s))h+=Ha.byteLength(c)+2;else{if(o<4)return n.emit("error",new Error("clientId must be supplied before 3.1.1")),!1;if(1*s==0)return n.emit("error",new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!=typeof l||l<0||l>65535||l%1!=0)return n.emit("error",new Error("Invalid keepalive")),!1;h+=2;if(h+=1,5===o){var y=x(n,p);if(!y)return!1;h+=y.length}if(a){if("object"!=typeof a)return n.emit("error",new Error("Invalid will")),!1;if(!a.topic||"string"!=typeof a.topic)return n.emit("error",new Error("Invalid will topic")),!1;if(h+=Ha.byteLength(a.topic)+2,h+=2,a.payload){if(!(a.payload.length>=0))return n.emit("error",new Error("Invalid will payload")),!1;"string"==typeof a.payload?h+=Ha.byteLength(a.payload):h+=a.payload.length}var v={};if(5===o){if(!(v=x(n,a.properties)))return!1;h+=v.length}}let b=!1;if(null!=u){if(!C(u))return n.emit("error",new Error("Invalid username")),!1;b=!0,h+=Ha.byteLength(u)+2}if(null!=d){if(!b)return n.emit("error",new Error("Username is required to use password")),!1;if(!C(d))return n.emit("error",new Error("Invalid password")),!1;h+=I(d)+2}n.write(e.CONNECT_HEADER),g(n,h),_(n,i),r.bridgeMode&&(o+=128);n.write(131===o?e.VERSION131:132===o?e.VERSION132:4===o?e.VERSION4:5===o?e.VERSION5:e.VERSION3);let w=0;w|=null!=u?e.USERNAME_MASK:0,w|=null!=d?e.PASSWORD_MASK:0,w|=a&&a.retain?e.WILL_RETAIN_MASK:0,w|=a&&a.qos?a.qos<<e.WILL_QOS_SHIFT:0,w|=a?e.WILL_FLAG_MASK:0,w|=s?e.CLEAN_SESSION_MASK:0,n.write(Ha.from([w])),f(n,l),5===o&&y.write();_(n,c),a&&(5===o&&v.write(),m(n,a.topic),_(n,a.payload));null!=u&&_(n,u);null!=d&&_(n,d);return!0}(r,a);case"connack":return function(t,r,i){const o=i?i.protocolVersion:4,a=t||{},s=5===o?a.reasonCode:a.returnCode,l=a.properties;let c=2;if("number"!=typeof s)return r.emit("error",new Error("Invalid return code")),!1;let u=null;if(5===o){if(u=x(r,l),!u)return!1;c+=u.length}r.write(e.CONNACK_HEADER),g(r,c),r.write(a.sessionPresent?e.SESSIONPRESENT_HEADER:n),r.write(Ha.from([s])),null!=u&&u.write();return!0}(r,a,s);case"publish":return function(n,r,i){o("publish: packet: %o",n);const a=i?i.protocolVersion:4,s=n||{},l=s.qos||0,c=s.retain?e.RETAIN_MASK:0,u=s.topic,d=s.payload||t,p=s.messageId,h=s.properties;let y=0;if("string"==typeof u)y+=Ha.byteLength(u)+2;else{if(!Ha.isBuffer(u))return r.emit("error",new Error("Invalid topic")),!1;y+=u.length+2}Ha.isBuffer(d)?y+=d.length:y+=Ha.byteLength(d);if(l&&"number"!=typeof p)return r.emit("error",new Error("Invalid messageId")),!1;l&&(y+=2);let m=null;if(5===a){if(m=x(r,h),!m)return!1;y+=m.length}r.write(e.PUBLISH_HEADER[l][s.dup?1:0][c?1:0]),g(r,y),f(r,I(u)),r.write(u),l>0&&f(r,p);null!=m&&m.write();return o("publish: payload: %o",d),r.write(d)}(r,a,s);case"puback":case"pubrec":case"pubrel":case"pubcomp":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.cmd||"puback",s=o.messageId,l=o.dup&&"pubrel"===a?e.DUP_MASK:0;let c=0;const u=o.reasonCode,d=o.properties;let p=5===i?3:2;"pubrel"===a&&(c=1);if("number"!=typeof s)return n.emit("error",new Error("Invalid messageId")),!1;let h=null;if(5===i&&"object"==typeof d){if(h=S(n,d,r,p),!h)return!1;p+=h.length}n.write(e.ACKS[a][c][l][0]),g(n,p),f(n,s),5===i&&n.write(Ha.from([u]));null!==h&&h.write();return!0}(r,a,s);case"subscribe":return function(t,n,r){o("subscribe: packet: ");const i=r?r.protocolVersion:4,a=t||{},s=a.dup?e.DUP_MASK:0,l=a.messageId,c=a.subscriptions,u=a.properties;let d=0;if("number"!=typeof l)return n.emit("error",new Error("Invalid messageId")),!1;d+=2;let p=null;if(5===i){if(p=x(n,u),!p)return!1;d+=p.length}if("object"!=typeof c||!c.length)return n.emit("error",new Error("Invalid subscriptions")),!1;for(let e=0;e<c.length;e+=1){const t=c[e].topic,r=c[e].qos;if("string"!=typeof t)return n.emit("error",new Error("Invalid subscriptions - invalid topic")),!1;if("number"!=typeof r)return n.emit("error",new Error("Invalid subscriptions - invalid qos")),!1;if(5===i){if("boolean"!=typeof(c[e].nl||!1))return n.emit("error",new Error("Invalid subscriptions - invalid No Local")),!1;if("boolean"!=typeof(c[e].rap||!1))return n.emit("error",new Error("Invalid subscriptions - invalid Retain as Published")),!1;const t=c[e].rh||0;if("number"!=typeof t||t>2)return n.emit("error",new Error("Invalid subscriptions - invalid Retain Handling")),!1}d+=Ha.byteLength(t)+2+1}o("subscribe: writing to stream: %o",e.SUBSCRIBE_HEADER),n.write(e.SUBSCRIBE_HEADER[1][s?1:0][0]),g(n,d),f(n,l),null!==p&&p.write();let h=!0;for(const o of c){const t=o.topic,r=o.qos,a=+o.nl,s=+o.rap,l=o.rh;let c;m(n,t),c=e.SUBSCRIBE_OPTIONS_QOS[r],5===i&&(c|=a?e.SUBSCRIBE_OPTIONS_NL:0,c|=s?e.SUBSCRIBE_OPTIONS_RAP:0,c|=l?e.SUBSCRIBE_OPTIONS_RH[l]:0),h=n.write(Ha.from([c]))}return h}(r,a,s);case"suback":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.messageId,s=o.granted,l=o.properties;let c=0;if("number"!=typeof a)return n.emit("error",new Error("Invalid messageId")),!1;c+=2;if("object"!=typeof s||!s.length)return n.emit("error",new Error("Invalid qos vector")),!1;for(let e=0;e<s.length;e+=1){if("number"!=typeof s[e])return n.emit("error",new Error("Invalid qos vector")),!1;c+=1}let u=null;if(5===i){if(u=S(n,l,r,c),!u)return!1;c+=u.length}n.write(e.SUBACK_HEADER),g(n,c),f(n,a),null!==u&&u.write();return n.write(Ha.from(s))}(r,a,s);case"unsubscribe":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.messageId,s=o.dup?e.DUP_MASK:0,l=o.unsubscriptions,c=o.properties;let u=0;if("number"!=typeof a)return n.emit("error",new Error("Invalid messageId")),!1;u+=2;if("object"!=typeof l||!l.length)return n.emit("error",new Error("Invalid unsubscriptions")),!1;for(let e=0;e<l.length;e+=1){if("string"!=typeof l[e])return n.emit("error",new Error("Invalid unsubscriptions")),!1;u+=Ha.byteLength(l[e])+2}let d=null;if(5===i){if(d=x(n,c),!d)return!1;u+=d.length}n.write(e.UNSUBSCRIBE_HEADER[1][s?1:0][0]),g(n,u),f(n,a),null!==d&&d.write();let p=!0;for(let e=0;e<l.length;e++)p=m(n,l[e]);return p}(r,a,s);case"unsuback":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.messageId,s=o.dup?e.DUP_MASK:0,l=o.granted,c=o.properties,u=o.cmd,d=0;let p=2;if("number"!=typeof a)return n.emit("error",new Error("Invalid messageId")),!1;if(5===i){if("object"!=typeof l||!l.length)return n.emit("error",new Error("Invalid qos vector")),!1;for(let e=0;e<l.length;e+=1){if("number"!=typeof l[e])return n.emit("error",new Error("Invalid qos vector")),!1;p+=1}}let h=null;if(5===i){if(h=S(n,c,r,p),!h)return!1;p+=h.length}n.write(e.ACKS[u][d][s][0]),g(n,p),f(n,a),null!==h&&h.write();5===i&&n.write(Ha.from(l));return!0}(r,a,s);case"pingreq":case"pingresp":return function(t,n){return n.write(e.EMPTY[t.cmd])}(r,a);case"disconnect":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.reasonCode,s=o.properties;let l=5===i?1:0,c=null;if(5===i){if(c=S(n,s,r,l),!c)return!1;l+=c.length}n.write(Ha.from([e.codes.disconnect<<4])),g(n,l),5===i&&n.write(Ha.from([a]));null!==c&&c.write();return!0}(r,a,s);case"auth":return function(t,n,r){const i=r?r.protocolVersion:4,o=t||{},a=o.reasonCode,s=o.properties;let l=5===i?1:0;5!==i&&n.emit("error",new Error("Invalid mqtt version for auth packet"));const c=S(n,s,r,l);if(!c)return!1;l+=c.length,n.write(Ha.from([e.codes.auth<<4])),g(n,l),n.write(Ha.from([a])),null!==c&&c.write();return!0}(r,a,s);default:return a.emit("error",new Error("Unknown command")),!1}}function h(e){e.uncork()}Object.defineProperty(p,"cacheNumbers",{get:()=>f===b,set(e){e?(a&&0!==Object.keys(a).length||(d=!0),f=b):(d=!1,f=w)}});const y={};function g(t,n){if(n>e.VARBYTEINT_MAX)return t.emit("error",new Error("Invalid variable byte integer: ".concat(n))),!1;let r=y[n];return r||(r=c(n),n<16384&&(y[n]=r)),o("writeVarByteInt: writing to stream: %o",r),t.write(r)}function m(e,t){const n=Ha.byteLength(t);return f(e,n),o("writeString: %s",t),e.write(t,"utf8")}function v(e,t,n){m(e,t),m(e,n)}function b(e,t){return o("writeNumberCached: number: %d",t),o("writeNumberCached: %o",a[t]),e.write(a[t])}function w(e,t){const n=s(t);return o("writeNumberGenerated: %o",n),e.write(n)}function _(e,t){"string"==typeof t?m(e,t):t?(f(e,t.length),e.write(t)):f(e,0)}function x(t,n){if("object"!=typeof n||null!=n.length)return{length:1,write(){E(t,{},0)}};let r=0;function i(n,r){let i=0;switch(e.propertiesTypes[n]){case"byte":if("boolean"!=typeof r)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=2;break;case"int8":if("number"!=typeof r||r<0||r>255)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=2;break;case"binary":if(r&&null===r)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=1+Ha.byteLength(r)+2;break;case"int16":if("number"!=typeof r||r<0||r>65535)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=3;break;case"int32":if("number"!=typeof r||r<0||r>4294967295)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=5;break;case"var":if("number"!=typeof r||r<0||r>268435455)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=1+Ha.byteLength(c(r));break;case"string":if("string"!=typeof r)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=3+Ha.byteLength(r.toString());break;case"pair":if("object"!=typeof r)return t.emit("error",new Error("Invalid ".concat(n,": ").concat(r))),!1;i+=Object.getOwnPropertyNames(r).reduce((e,t)=>{const n=r[t];return Array.isArray(n)?e+=n.reduce((e,n)=>e+=3+Ha.byteLength(t.toString())+2+Ha.byteLength(n.toString()),0):e+=3+Ha.byteLength(t.toString())+2+Ha.byteLength(r[t].toString()),e},0);break;default:return t.emit("error",new Error("Invalid property ".concat(n,": ").concat(r))),!1}return i}if(n)for(const e in n){let t=0,o=0;const a=n[e];if(Array.isArray(a))for(let n=0;n<a.length;n++){if(o=i(e,a[n]),!o)return!1;t+=o}else{if(o=i(e,a),!o)return!1;t=o}if(!t)return!1;r+=t}return{length:Ha.byteLength(c(r))+r,write(){E(t,n,r)}}}function S(e,t,n,r){const i=["reasonString","userProperties"],o=n&&n.properties&&n.properties.maximumPacketSize?n.properties.maximumPacketSize:0;let a=x(e,t);if(o)for(;r+a.length>o;){const n=i.shift();if(!n||!t[n])return!1;delete t[n],a=x(e,t)}return a}function k(t,n,r){switch(e.propertiesTypes[n]){case"byte":t.write(Ha.from([e.properties[n]])),t.write(Ha.from([+r]));break;case"int8":t.write(Ha.from([e.properties[n]])),t.write(Ha.from([r]));break;case"binary":t.write(Ha.from([e.properties[n]])),_(t,r);break;case"int16":t.write(Ha.from([e.properties[n]])),f(t,r);break;case"int32":t.write(Ha.from([e.properties[n]])),function(e,t){const n=u(t);o("write4ByteNumber: %o",n),e.write(n)}(t,r);break;case"var":t.write(Ha.from([e.properties[n]])),g(t,r);break;case"string":t.write(Ha.from([e.properties[n]])),m(t,r);break;case"pair":Object.getOwnPropertyNames(r).forEach(i=>{const o=r[i];Array.isArray(o)?o.forEach(r=>{t.write(Ha.from([e.properties[n]])),v(t,i.toString(),r.toString())}):(t.write(Ha.from([e.properties[n]])),v(t,i.toString(),o.toString()))});break;default:return t.emit("error",new Error("Invalid property ".concat(n," value: ").concat(r))),!1}}function E(e,t,n){g(e,n);for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&null!==t[r]){const n=t[r];if(Array.isArray(n))for(let t=0;t<n.length;t++)k(e,r,n[t]);else k(e,r,n)}}function I(e){return e?e instanceof Ha?e.length:Ha.byteLength(e):0}function C(e){return"string"==typeof e||e instanceof Ha}return ts=p}function ws(){return os||(os=1,Oa.parser=Ja().parser,Oa.generate=function(){if(is)return rs;is=1;const e=bs(),t=ze();class n extends t{constructor(){super(),this._array=new Array(20),this._i=0}write(e){return this._array[this._i++]=e,!0}concat(){let e=0;const t=new Array(this._array.length),n=this._array;let r,i=0;for(r=0;r<n.length&&void 0!==n[r];r++)"string"!=typeof n[r]?t[r]=n[r].length:t[r]=Ha.byteLength(n[r]),e+=t[r];const o=Ha.allocUnsafe(e);for(r=0;r<n.length&&void 0!==n[r];r++)"string"!=typeof n[r]?(n[r].copy(o,i),i+=t[r]):(o.write(n[r],i),i+=t[r]);return o}}return rs=function(t,r){const i=new n;return e(t,i,r),i.concat()}}(),Oa.writeToStream=bs()),Oa}function _s(){if(fs)return us;function e(e){return e instanceof Ha?Ha.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}return fs=1,us=function(t){if((t=t||{}).circles)return function(t){const n=[],r=[],i=new Map;if(i.set(Date,e=>new Date(e)),i.set(Map,(e,t)=>new Map(a(Array.from(e),t))),i.set(Set,(e,t)=>new Set(a(Array.from(e),t))),t.constructorHandlers)for(const e of t.constructorHandlers)i.set(e[0],e[1]);let o=null;return t.proto?l:s;function a(t,a){const s=Object.keys(t),l=new Array(s.length);for(let c=0;c<s.length;c++){const u=s[c],f=t[u];if("object"!=typeof f||null===f)l[u]=f;else if(f.constructor!==Object&&(o=i.get(f.constructor)))l[u]=o(f,a);else if(ArrayBuffer.isView(f))l[u]=e(f);else{const e=n.indexOf(f);l[u]=-1!==e?r[e]:a(f)}}return l}function s(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return a(t,s);if(t.constructor!==Object&&(o=i.get(t.constructor)))return o(t,s);const l={};n.push(t),r.push(l);for(const a in t){if(!1===Object.hasOwnProperty.call(t,a))continue;const c=t[a];if("object"!=typeof c||null===c)l[a]=c;else if(c.constructor!==Object&&(o=i.get(c.constructor)))l[a]=o(c,s);else if(ArrayBuffer.isView(c))l[a]=e(c);else{const e=n.indexOf(c);l[a]=-1!==e?r[e]:s(c)}}return n.pop(),r.pop(),l}function l(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return a(t,l);if(t.constructor!==Object&&(o=i.get(t.constructor)))return o(t,l);const s={};n.push(t),r.push(s);for(const a in t){const c=t[a];if("object"!=typeof c||null===c)s[a]=c;else if(c.constructor!==Object&&(o=i.get(c.constructor)))s[a]=o(c,l);else if(ArrayBuffer.isView(c))s[a]=e(c);else{const e=n.indexOf(c);s[a]=-1!==e?r[e]:l(c)}}return n.pop(),r.pop(),s}}(t);const n=new Map;if(n.set(Date,e=>new Date(e)),n.set(Map,(e,t)=>new Map(i(Array.from(e),t))),n.set(Set,(e,t)=>new Set(i(Array.from(e),t))),t.constructorHandlers)for(const e of t.constructorHandlers)n.set(e[0],e[1]);let r=null;return t.proto?function t(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return i(o,t);if(o.constructor!==Object&&(r=n.get(o.constructor)))return r(o,t);const a={};for(const i in o){const s=o[i];"object"!=typeof s||null===s?a[i]=s:s.constructor!==Object&&(r=n.get(s.constructor))?a[i]=r(s,t):ArrayBuffer.isView(s)?a[i]=e(s):a[i]=t(s)}return a}:function t(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return i(o,t);if(o.constructor!==Object&&(r=n.get(o.constructor)))return r(o,t);const a={};for(const i in o){if(!1===Object.hasOwnProperty.call(o,i))continue;const s=o[i];"object"!=typeof s||null===s?a[i]=s:s.constructor!==Object&&(r=n.get(s.constructor))?a[i]=r(s,t):ArrayBuffer.isView(s)?a[i]=e(s):a[i]=t(s)}return a};function i(t,i){const o=Object.keys(t),a=new Array(o.length);for(let s=0;s<o.length;s++){const l=o[s],c=t[l];"object"!=typeof c||null===c?a[l]=c:c.constructor!==Object&&(r=n.get(c.constructor))?a[l]=r(c,i):ArrayBuffer.isView(c)?a[l]=e(c):a[l]=i(c)}return a}},us}function xs(){if(ms)return gs;ms=1;const e=ze().EventEmitter,t=Qi(),n=function(){if(Li)return Ri;function e(t){if(!(this instanceof e))return new e(t);this.aliasToTopic={},this.max=t}return Li=1,e.prototype.put=function(e,t){return!(0===t||t>this.max||(this.aliasToTopic[t]=e,this.length=Object.keys(this.aliasToTopic).length,0))},e.prototype.getTopicByAlias=function(e){return this.aliasToTopic[e]},e.prototype.clear=function(){this.aliasToTopic={}},Ri=e}(),r=Ea(),i=ws(),o=function(){if(ss)return as;function e(){if(!(this instanceof e))return new e;this.nextId=Math.max(1,Math.floor(65535*Math.random()))}return ss=1,e.prototype.allocate=function(){const e=this.nextId++;return 65536===this.nextId&&(this.nextId=1),e},e.prototype.getLastAllocated=function(){return 1===this.nextId?65535:this.nextId-1},e.prototype.register=function(e){return!0},e.prototype.deallocate=function(e){},e.prototype.clear=function(){},as=e}(),a=$i().Writable,s=$r(),c=function(){if(cs)return ls;function e(e,t,n){var r=this;this._callback=e,this._args=n,this._interval=setInterval(e,t,this._args),this.reschedule=function(e){e||(e=r._interval),r._interval&&clearInterval(r._interval),r._interval=setInterval(r._callback,e,r._args)},this.clear=function(){r._interval&&(clearInterval(r._interval),r._interval=void 0)},this.destroy=function(){r._interval&&clearInterval(r._interval),r._callback=void 0,r._interval=void 0,r._args=void 0}}return cs=1,ls=function(){if("function"!=typeof arguments[0])throw new Error("callback needed");if("number"!=typeof arguments[1])throw new Error("interval needed");var t;if(arguments.length>0){t=new Array(arguments.length-2);for(var n=0;n<t.length;n++)t[n]=arguments[n+2]}return new e(arguments[0],arguments[1],t)},ls}(),u=ps?ds:(ps=1,ds=_s()()),f=function(){if(ys)return hs;function e(e){const t=e.split("/");for(let n=0;n<t.length;n++)if("+"!==t[n]){if("#"===t[n])return n===t.length-1;if(-1!==t[n].indexOf("+")||-1!==t[n].indexOf("#"))return!1}return!0}return ys=1,hs={validateTopics:function(t){if(0===t.length)return"empty_topic_list";for(let n=0;n<t.length;n++)if(!e(t[n]))return t[n];return null}},hs}(),d=Ue(),p=Sa()("mqttjs:client"),h=T?T.nextTick:function(e){setTimeout(e,0)},y=l.setImmediate||function(e){h(e)},g={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0},m={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};function v(e,t){let n;t.properties&&(n=t.properties.topicAlias);let r=t.topic.toString();if(0===r.length){if(void 0===n)return new Error("Unregistered Topic Alias");if(r=e.topicAliasSend.getTopicByAlias(n),void 0===r)return new Error("Unregistered Topic Alias");t.topic=r}n&&delete t.properties.topicAlias}function b(e,t,n){p("sendPacket :: packet: %O",t),p("sendPacket :: emitting `packetsend`"),e.emit("packetsend",t),p("sendPacket :: writing to stream");const r=i.writeToStream(t,e.stream,e.options);p("sendPacket :: writeToStream result %s",r),!r&&n&&n!==_?(p("sendPacket :: handle events on `drain` once through callback."),e.stream.once("drain",n)):n&&(p("sendPacket :: invoking cb"),n())}function w(e,t,n,r){p("storeAndSend :: store packet with cmd %s to outgoingStore",t.cmd);let i,o=t;if("publish"===o.cmd&&(o=u(t),i=v(e,o),i))return n&&n(i);e.outgoingStore.put(o,function(i){if(i)return n&&n(i);r(),b(e,t,n)})}function _(e){p("nop ::",e)}function x(r,i){let a;const s=this;if(!(this instanceof x))return new x(r,i);for(a in this.options=i||{},g)void 0===this.options[a]?this.options[a]=g[a]:this.options[a]=i[a];p("MqttClient :: options.protocol",i.protocol),p("MqttClient :: options.protocolVersion",i.protocolVersion),p("MqttClient :: options.username",i.username),p("MqttClient :: options.keepalive",i.keepalive),p("MqttClient :: options.reconnectPeriod",i.reconnectPeriod),p("MqttClient :: options.rejectUnauthorized",i.rejectUnauthorized),p("MqttClient :: options.topicAliasMaximum",i.topicAliasMaximum),this.options.clientId="string"==typeof i.clientId?i.clientId:"mqttjs_"+Math.random().toString(16).substr(2,8),p("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===i.protocolVersion&&i.customHandleAcks?i.customHandleAcks:function(){arguments[3](0)},this.streamBuilder=r,this.messageIdProvider=void 0===this.options.messageIdProvider?new o:this.options.messageIdProvider,this.outgoingStore=i.outgoingStore||new t,this.incomingStore=i.incomingStore||new t,this.queueQoSZero=void 0===i.queueQoSZero||i.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,i.topicAliasMaximum>0&&(i.topicAliasMaximum>65535?p("MqttClient :: options.topicAliasMaximum is out of range"):this.topicAliasRecv=new n(i.topicAliasMaximum)),this.on("connect",function(){const e=this.queue;p("connect :: sending queued packets"),function t(){const n=e.shift();p("deliver :: entry %o",n);let r=null;if(!n)return void s._resubscribe();r=n.packet,p("deliver :: call _sendPacket for %o",r);let i=!0;r.messageId&&0!==r.messageId&&(s.messageIdProvider.register(r.messageId)||(i=!1)),i?s._sendPacket(r,function(e){n.cb&&n.cb(e),t()}):(p("messageId: %d has already used. The message is skipped and removed.",r.messageId),t())}()}),this.on("close",function(){p("close :: connected set to `false`"),this.connected=!1,p("close :: clearing connackTimer"),clearTimeout(this.connackTimer),p("close :: clearing ping timer"),null!==s.pingTimer&&(s.pingTimer.clear(),s.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),p("close :: calling _setupReconnect"),this._setupReconnect()}),e.call(this),p("MqttClient :: setting up stream"),this._setupStream()}return s(x,e),x.prototype._setupStream=function(){const e=this,t=new a,n=i.parser(this.options);let r=null;const o=[];function s(){if(o.length)h(l);else{const e=r;r=null,e()}}function l(){p("work :: getting next packet in queue");const t=o.shift();if(t)p("work :: packet pulled from queue"),e._handlePacket(t,s);else{p("work :: no packets in queue");const e=r;r=null,p("work :: done flag is %s",!!e),e&&e()}}p("_setupStream :: calling method to clear reconnect"),this._clearReconnect(),p("_setupStream :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),n.on("packet",function(e){p("parser :: on packet push to packets array."),o.push(e)}),t._write=function(e,t,i){r=i,p("writable stream :: parsing buffer"),n.parse(e),l()},p("_setupStream :: pipe stream to writable stream"),this.stream.pipe(t),this.stream.on("error",function(t){p("streamErrorHandler :: error",t.message),t.code?(p("streamErrorHandler :: emitting error"),e.emit("error",t)):_(t)}),this.stream.on("close",function(){var t;p("(%s)stream :: on close",e.options.clientId),(t=e.outgoing)&&(p("flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(t).forEach(function(e){t[e].volatile&&"function"==typeof t[e].cb&&(t[e].cb(new Error("Connection closed")),delete t[e])})),p("stream: emit close to MqttClient"),e.emit("close")}),p("_setupStream: sending packet `connect`");const c=Object.create(this.options);if(c.cmd="connect",this.topicAliasRecv&&(c.properties||(c.properties={}),this.topicAliasRecv&&(c.properties.topicAliasMaximum=this.topicAliasRecv.max)),b(this,c),n.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return e.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"==typeof this.options.authPacket){b(this,d({cmd:"auth",reasonCode:0},this.options.authPacket))}}this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(function(){p("!!connectTimeout hit!! Calling _cleanUp with force `true`"),e._cleanUp(!0)},this.options.connectTimeout)},x.prototype._handlePacket=function(e,t){const n=this.options;if(5===n.protocolVersion&&n.properties&&n.properties.maximumPacketSize&&n.properties.maximumPacketSize<e.length)return this.emit("error",new Error("exceeding packets size "+e.cmd)),this.end({reasonCode:149,properties:{reasonString:"Maximum packet size was exceeded"}}),this;switch(p("_handlePacket :: emitting packetreceive"),this.emit("packetreceive",e),e.cmd){case"publish":this._handlePublish(e,t);break;case"puback":case"pubrec":case"pubcomp":case"suback":case"unsuback":this._handleAck(e),t();break;case"pubrel":this._handlePubrel(e,t);break;case"connack":this._handleConnack(e),t();break;case"auth":this._handleAuth(e),t();break;case"pingresp":this._handlePingresp(e),t();break;case"disconnect":this._handleDisconnect(e),t()}},x.prototype._checkDisconnecting=function(e){return this.disconnecting&&(e&&e!==_?e(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting},x.prototype.publish=function(e,t,n,r){p("publish :: message `%s` to topic `%s`",t,e);const i=this.options;"function"==typeof n&&(r=n,n=null);if(n=d({qos:0,retain:!1,dup:!1},n),this._checkDisconnecting(r))return this;const o=this,a=function(){let a=0;if((1===n.qos||2===n.qos)&&(a=o._nextId(),null===a))return p("No messageId left"),!1;const s={cmd:"publish",topic:e,payload:t,qos:n.qos,retain:n.retain,messageId:a,dup:n.dup};switch(5===i.protocolVersion&&(s.properties=n.properties),p("publish :: qos",n.qos),n.qos){case 1:case 2:o.outgoing[s.messageId]={volatile:!1,cb:r||_},p("MqttClient:publish: packet cmd: %s",s.cmd),o._sendPacket(s,void 0,n.cbStorePut);break;default:p("MqttClient:publish: packet cmd: %s",s.cmd),o._sendPacket(s,r,n.cbStorePut)}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!a())&&this._storeProcessingQueue.push({invoke:a,cbStorePut:n.cbStorePut,callback:r}),this},x.prototype.subscribe=function(){const e=this,t=new Array(arguments.length);for(let f=0;f<arguments.length;f++)t[f]=arguments[f];const n=[];let r=t.shift();const i=r.resubscribe;let o=t.pop()||_,a=t.pop();const s=this.options.protocolVersion;delete r.resubscribe,"string"==typeof r&&(r=[r]),"function"!=typeof o&&(a=o,o=_);const l=f.validateTopics(r);if(null!==l)return y(o,new Error("Invalid topic "+l)),this;if(this._checkDisconnecting(o))return p("subscribe: discconecting true"),this;const c={qos:0};if(5===s&&(c.nl=!1,c.rap=!1,c.rh=0),a=d(c,a),Array.isArray(r)?r.forEach(function(t){if(p("subscribe: array topic %s",t),!Object.prototype.hasOwnProperty.call(e._resubscribeTopics,t)||e._resubscribeTopics[t].qos<a.qos||i){const e={topic:t,qos:a.qos};5===s&&(e.nl=a.nl,e.rap=a.rap,e.rh=a.rh,e.properties=a.properties),p("subscribe: pushing topic `%s` and qos `%s` to subs list",e.topic,e.qos),n.push(e)}}):Object.keys(r).forEach(function(t){if(p("subscribe: object topic %s",t),!Object.prototype.hasOwnProperty.call(e._resubscribeTopics,t)||e._resubscribeTopics[t].qos<r[t].qos||i){const e={topic:t,qos:r[t].qos};5===s&&(e.nl=r[t].nl,e.rap=r[t].rap,e.rh=r[t].rh,e.properties=a.properties),p("subscribe: pushing `%s` to subs list",e),n.push(e)}}),!n.length)return o(null,[]),this;const u=function(){const t=e._nextId();if(null===t)return p("No messageId left"),!1;const r={cmd:"subscribe",subscriptions:n,qos:1,retain:!1,dup:!1,messageId:t};if(a.properties&&(r.properties=a.properties),e.options.resubscribe){p("subscribe :: resubscribe true");const t=[];n.forEach(function(n){if(e.options.reconnectPeriod>0){const r={qos:n.qos};5===s&&(r.nl=n.nl||!1,r.rap=n.rap||!1,r.rh=n.rh||0,r.properties=n.properties),e._resubscribeTopics[n.topic]=r,t.push(n.topic)}}),e.messageIdToTopic[r.messageId]=t}return e.outgoing[r.messageId]={volatile:!0,cb:function(e,t){if(!e){const e=t.granted;for(let t=0;t<e.length;t+=1)n[t].qos=e[t]}o(e,n)}},p("subscribe :: call _sendPacket"),e._sendPacket(r),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!u())&&this._storeProcessingQueue.push({invoke:u,callback:o}),this},x.prototype.unsubscribe=function(){const e=this,t=new Array(arguments.length);for(let s=0;s<arguments.length;s++)t[s]=arguments[s];let n=t.shift(),r=t.pop()||_,i=t.pop();"string"==typeof n&&(n=[n]),"function"!=typeof r&&(i=r,r=_);const o=f.validateTopics(n);if(null!==o)return y(r,new Error("Invalid topic "+o)),this;if(e._checkDisconnecting(r))return this;const a=function(){const t=e._nextId();if(null===t)return p("No messageId left"),!1;const o={cmd:"unsubscribe",qos:1,messageId:t};return"string"==typeof n?o.unsubscriptions=[n]:Array.isArray(n)&&(o.unsubscriptions=n),e.options.resubscribe&&o.unsubscriptions.forEach(function(t){delete e._resubscribeTopics[t]}),"object"==typeof i&&i.properties&&(o.properties=i.properties),e.outgoing[o.messageId]={volatile:!0,cb:r},p("unsubscribe: call _sendPacket"),e._sendPacket(o),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!a())&&this._storeProcessingQueue.push({invoke:a,callback:r}),this},x.prototype.end=function(e,t,n){const r=this;function i(){p("end :: closeStores: closing incoming and outgoing stores"),r.disconnected=!0,r.incomingStore.close(function(e){r.outgoingStore.close(function(t){if(p("end :: closeStores: emitting end"),r.emit("end"),n){const r=e||t;p("end :: closeStores: invoking callback with args"),n(r)}})}),r._deferredReconnect&&r._deferredReconnect()}function o(){p("end :: (%s) :: finish :: calling _cleanUp with force %s",r.options.clientId,e),r._cleanUp(e,()=>{p("end :: finish :: calling process.nextTick on closeStores"),h(i.bind(r))},t)}return p("end :: (%s)",this.options.clientId),null!=e&&"boolean"==typeof e||(n=t||_,t=e,e=!1,"object"!=typeof t&&(n=t,t=null,"function"!=typeof n&&(n=_))),"object"!=typeof t&&(n=t,t=null),p("end :: cb? %s",!!n),n=n||_,this.disconnecting?(n(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(p("end :: (%s) :: calling finish in 10ms once outgoing is empty",r.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,o,10))):(p("end :: (%s) :: immediately calling finish",r.options.clientId),o()),this)},x.prototype.removeOutgoingMessage=function(e){const t=this.outgoing[e]?this.outgoing[e].cb:null;return delete this.outgoing[e],this.outgoingStore.del({messageId:e},function(){t(new Error("Message removed"))}),this},x.prototype.reconnect=function(e){p("client reconnect");const n=this,r=function(){e?(n.options.incomingStore=e.incomingStore,n.options.outgoingStore=e.outgoingStore):(n.options.incomingStore=null,n.options.outgoingStore=null),n.incomingStore=n.options.incomingStore||new t,n.outgoingStore=n.options.outgoingStore||new t,n.disconnecting=!1,n.disconnected=!1,n._deferredReconnect=null,n._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=r:r(),this},x.prototype._reconnect=function(){p("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this._setupStream()}),p("client already connected. disconnecting first.")):(p("_reconnect: calling _setupStream"),this._setupStream())},x.prototype._setupReconnect=function(){const e=this;!e.disconnecting&&!e.reconnectTimer&&e.options.reconnectPeriod>0?(this.reconnecting||(p("_setupReconnect :: emit `offline` state"),this.emit("offline"),p("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),p("_setupReconnect :: setting reconnectTimer for %d ms",e.options.reconnectPeriod),e.reconnectTimer=setInterval(function(){p("reconnectTimer :: reconnect triggered!"),e._reconnect()},e.options.reconnectPeriod)):p("_setupReconnect :: doing nothing...")},x.prototype._clearReconnect=function(){p("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)},x.prototype._cleanUp=function(e,t){const n=arguments[2];if(t&&(p("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",t)),p("_cleanUp :: forced? %s",e),e)0===this.options.reconnectPeriod&&this.options.clean&&(r=this.outgoing)&&(p("flush: queue exists? %b",!!r),Object.keys(r).forEach(function(e){"function"==typeof r[e].cb&&(r[e].cb(new Error("Connection closed")),delete r[e])})),p("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{const e=d({cmd:"disconnect"},n);p("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(e,y.bind(null,this.stream.end.bind(this.stream)))}var r;this.disconnecting||(p("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),null!==this.pingTimer&&(p("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),t&&!this.connected&&(p("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",t),t())},x.prototype._sendPacket=function(e,t,n){p("_sendPacket :: (%s) :: start",this.options.clientId),n=n||_,t=t||_;const r=function(e,t){if(5===e.options.protocolVersion&&"publish"===t.cmd){let n;t.properties&&(n=t.properties.topicAlias);const r=t.topic.toString();if(e.topicAliasSend)if(n){if(0!==r.length&&(p("applyTopicAlias :: register topic: %s - alias: %d",r,n),!e.topicAliasSend.put(r,n)))return p("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}else 0!==r.length&&(e.options.autoAssignTopicAlias?(n=e.topicAliasSend.getAliasByTopic(r),n?(t.topic="",t.properties={...t.properties,topicAlias:n},p("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",r,n)):(n=e.topicAliasSend.getLruAlias(),e.topicAliasSend.put(r,n),t.properties={...t.properties,topicAlias:n},p("applyTopicAlias :: auto assign topic: %s - alias: %d",r,n))):e.options.autoUseTopicAlias&&(n=e.topicAliasSend.getAliasByTopic(r),n&&(t.topic="",t.properties={...t.properties,topicAlias:n},p("applyTopicAlias :: auto use topic: %s - alias: %d",r,n))));else if(n)return p("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}}(this,e);if(r)t(r);else{if(!this.connected)return"auth"===e.cmd?(this._shiftPingInterval(),void b(this,e,t)):(p("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(e,t,n));switch(this._shiftPingInterval(),e.cmd){case"publish":break;case"pubrel":return void w(this,e,t,n);default:return void b(this,e,t)}switch(e.qos){case 2:case 1:w(this,e,t,n);break;default:b(this,e,t)}p("_sendPacket :: (%s) :: end",this.options.clientId)}},x.prototype._storePacket=function(e,t,n){p("_storePacket :: packet: %o",e),p("_storePacket :: cb? %s",!!t),n=n||_;let r=e;if("publish"===r.cmd){r=u(e);const n=v(this,r);if(n)return t&&t(n)}0===(r.qos||0)&&this.queueQoSZero||"publish"!==r.cmd?this.queue.push({packet:r,cb:t}):r.qos>0?(t=this.outgoing[r.messageId]?this.outgoing[r.messageId].cb:null,this.outgoingStore.put(r,function(e){if(e)return t&&t(e);n()})):t&&t(new Error("No connection to broker"))},x.prototype._setupPingTimer=function(){p("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive);const e=this;!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=c(function(){e._checkPing()},1e3*this.options.keepalive))},x.prototype._shiftPingInterval=function(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule(1e3*this.options.keepalive)},x.prototype._checkPing=function(){p("_checkPing :: checking ping..."),this.pingResp?(p("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(p("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))},x.prototype._handlePingresp=function(){this.pingResp=!0},x.prototype._handleConnack=function(e){p("_handleConnack");const t=this.options,n=5===t.protocolVersion?e.reasonCode:e.returnCode;if(clearTimeout(this.connackTimer),delete this.topicAliasSend,e.properties){if(e.properties.topicAliasMaximum){if(e.properties.topicAliasMaximum>65535)return void this.emit("error",new Error("topicAliasMaximum from broker is out of range"));e.properties.topicAliasMaximum>0&&(this.topicAliasSend=new r(e.properties.topicAliasMaximum))}e.properties.serverKeepAlive&&t.keepalive&&(t.keepalive=e.properties.serverKeepAlive,this._shiftPingInterval()),e.properties.maximumPacketSize&&(t.properties||(t.properties={}),t.properties.maximumPacketSize=e.properties.maximumPacketSize)}if(0===n)this.reconnecting=!1,this._onConnect(e);else if(n>0){const e=new Error("Connection refused: "+m[n]);e.code=n,this.emit("error",e)}},x.prototype._handleAuth=function(e){const t=this.options.protocolVersion,n=5===t?e.reasonCode:e.returnCode;if(5!==t){const e=new Error("Protocol error: Auth packets are only supported in MQTT 5. Your version:"+t);return e.code=n,void this.emit("error",e)}const r=this;this.handleAuth(e,function(e,t){if(e)r.emit("error",e);else if(24===n)r.reconnecting=!1,r._sendPacket(t);else{const t=new Error("Connection refused: "+m[n]);e.code=n,r.emit("error",t)}})},x.prototype.handleAuth=function(e,t){t()},x.prototype._handlePublish=function(e,t){p("_handlePublish: packet %o",e),t=void 0!==t?t:_;let n=e.topic.toString();const r=e.payload,i=e.qos,o=e.messageId,a=this,s=this.options,l=[0,16,128,131,135,144,145,151,153];if(5===this.options.protocolVersion){let t;if(e.properties&&(t=e.properties.topicAlias),void 0!==t)if(0===n.length){if(!(t>0&&t<=65535))return p("_handlePublish :: topic alias out of range. alias: %d",t),void this.emit("error",new Error("Received Topic Alias is out of range"));{const e=this.topicAliasRecv.getTopicByAlias(t);if(!e)return p("_handlePublish :: unregistered topic alias. alias: %d",t),void this.emit("error",new Error("Received unregistered Topic Alias"));n=e,p("_handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,t)}}else{if(!this.topicAliasRecv.put(n,t))return p("_handlePublish :: topic alias out of range. alias: %d",t),void this.emit("error",new Error("Received Topic Alias is out of range"));p("_handlePublish :: registered topic: %s - alias: %d",n,t)}}switch(p("_handlePublish: qos %d",i),i){case 2:s.customHandleAcks(n,r,e,function(n,r){return n instanceof Error||(r=n,n=null),n?a.emit("error",n):-1===l.indexOf(r)?a.emit("error",new Error("Wrong reason code for pubrec")):void(r?a._sendPacket({cmd:"pubrec",messageId:o,reasonCode:r},t):a.incomingStore.put(e,function(){a._sendPacket({cmd:"pubrec",messageId:o},t)}))});break;case 1:s.customHandleAcks(n,r,e,function(i,s){return i instanceof Error||(s=i,i=null),i?a.emit("error",i):-1===l.indexOf(s)?a.emit("error",new Error("Wrong reason code for puback")):(s||a.emit("message",n,r,e),void a.handleMessage(e,function(e){if(e)return t&&t(e);a._sendPacket({cmd:"puback",messageId:o,reasonCode:s},t)}))});break;case 0:this.emit("message",n,r,e),this.handleMessage(e,t);break;default:p("_handlePublish: unknown QoS. Doing nothing.")}},x.prototype.handleMessage=function(e,t){t()},x.prototype._handleAck=function(e){const t=e.messageId,n=e.cmd;let r=null;const i=this.outgoing[t]?this.outgoing[t].cb:null,o=this;let a;if(i){switch(p("_handleAck :: packet type",n),n){case"pubcomp":case"puback":{const n=e.reasonCode;n&&n>0&&16!==n&&(a=new Error("Publish error: "+m[n]),a.code=n,i(a,e)),delete this.outgoing[t],this.outgoingStore.del(e,i),this.messageIdProvider.deallocate(t),this._invokeStoreProcessingQueue();break}case"pubrec":{r={cmd:"pubrel",qos:2,messageId:t};const n=e.reasonCode;n&&n>0&&16!==n?(a=new Error("Publish error: "+m[n]),a.code=n,i(a,e)):this._sendPacket(r);break}case"suback":delete this.outgoing[t],this.messageIdProvider.deallocate(t);for(let n=0;n<e.granted.length;n++)if(128&e.granted[n]){const e=this.messageIdToTopic[t];e&&e.forEach(function(e){delete o._resubscribeTopics[e]})}this._invokeStoreProcessingQueue(),i(null,e);break;case"unsuback":delete this.outgoing[t],this.messageIdProvider.deallocate(t),this._invokeStoreProcessingQueue(),i(null);break;default:o.emit("error",new Error("unrecognized packet type"))}this.disconnecting&&0===Object.keys(this.outgoing).length&&this.emit("outgoingEmpty")}else p("_handleAck :: Server sent an ack in error. Ignoring.")},x.prototype._handlePubrel=function(e,t){p("handling pubrel packet"),t=void 0!==t?t:_;const n=e.messageId,r=this,i={cmd:"pubcomp",messageId:n};r.incomingStore.get(e,function(e,n){e?r._sendPacket(i,t):(r.emit("message",n.topic,n.payload,n),r.handleMessage(n,function(e){if(e)return t(e);r.incomingStore.del(n,_),r._sendPacket(i,t)}))})},x.prototype._handleDisconnect=function(e){this.emit("disconnect",e)},x.prototype._nextId=function(){return this.messageIdProvider.allocate()},x.prototype.getLastMessageId=function(){return this.messageIdProvider.getLastAllocated()},x.prototype._resubscribe=function(){p("_resubscribe");const e=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||5===this.options.protocolVersion&&!this.connackPacket.sessionPresent)&&e.length>0)if(this.options.resubscribe)if(5===this.options.protocolVersion){p("_resubscribe: protocolVersion 5");for(let t=0;t<e.length;t++){const n={};n[e[t]]=this._resubscribeTopics[e[t]],n.resubscribe=!0,this.subscribe(n,{properties:n[e[t]].properties})}}else this._resubscribeTopics.resubscribe=!0,this.subscribe(this._resubscribeTopics);else this._resubscribeTopics={};this._firstConnection=!1},x.prototype._onConnect=function(e){if(this.disconnected)return void this.emit("connect",e);const t=this;this.connackPacket=e,this.messageIdProvider.clear(),this._setupPingTimer(),this.connected=!0,function n(){let r=t.outgoingStore.createStream();function i(){t._storeProcessing=!1,t._packetIdsDuringStoreProcessing={}}function o(){r.destroy(),r=null,t._flushStoreProcessingQueue(),i()}t.once("close",o),r.on("error",function(e){i(),t._flushStoreProcessingQueue(),t.removeListener("close",o),t.emit("error",e)}),r.on("end",function(){let r=!0;for(const e in t._packetIdsDuringStoreProcessing)if(!t._packetIdsDuringStoreProcessing[e]){r=!1;break}r?(i(),t.removeListener("close",o),t._invokeAllStoreProcessingQueue(),t.emit("connect",e)):n()}),function e(){if(!r)return;t._storeProcessing=!0;const n=r.read(1);let i;n?t._packetIdsDuringStoreProcessing[n.messageId]?e():t.disconnecting||t.reconnectTimer?r.destroy&&r.destroy():(i=t.outgoing[n.messageId]?t.outgoing[n.messageId].cb:null,t.outgoing[n.messageId]={volatile:!1,cb:function(t,n){i&&i(t,n),e()}},t._packetIdsDuringStoreProcessing[n.messageId]=!0,t.messageIdProvider.register(n.messageId)?t._sendPacket(n):p("messageId: %d has already used.",n.messageId)):r.once("readable",e)}()}()},x.prototype._invokeStoreProcessingQueue=function(){if(this._storeProcessingQueue.length>0){const e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1},x.prototype._invokeAllStoreProcessingQueue=function(){for(;this._invokeStoreProcessingQueue(););},x.prototype._flushStoreProcessingQueue=function(){for(const e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)},gs=x}var Ss,ks={},Es={exports:{}},Is=Es.exports;const Cs=u(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Ts,Ms,As,Os,Ps,js,Rs,Ls,Ns,Bs,Fs,Ds,zs,Us,Ws,Zs,qs,Hs,Vs,Gs,Ks,Ys,$s,Qs,Xs;function Js(){if(Ms)return Ts;Ms=1;var e="function"==typeof Map&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&"function"==typeof t.get?t.get:null,r=e&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=i&&o&&"function"==typeof o.get?o.get:null,s=i&&Set.prototype.forEach,c="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,u="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,p=Object.prototype.toString,h=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,m=String.prototype.replace,v=String.prototype.toUpperCase,b=String.prototype.toLowerCase,w=RegExp.prototype.test,_=Array.prototype.concat,x=Array.prototype.join,S=Array.prototype.slice,k=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,M="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function P(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return m.call(i,n,"$&_")+"."+m.call(m.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return m.call(t,n,"$&_")}var j=Cs,R=j.custom,L=Z(R)?R:null,N={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function F(e,t,n){var r=n.quoteStyle||t,i=N[r];return i+e+i}function D(e){return m.call(String(e),/"/g,"&quot;")}function z(e){return!M||!("object"==typeof e&&(M in e||void 0!==e[M]))}function U(e){return"[object Array]"===V(e)&&z(e)}function W(e){return"[object RegExp]"===V(e)&&z(e)}function Z(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}Ts=function e(t,i,o,p){var v=i||{};if(H(v,"quoteStyle")&&!H(N,v.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(v,"maxStringLength")&&("number"==typeof v.maxStringLength?v.maxStringLength<0&&v.maxStringLength!==1/0:null!==v.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var w=!H(v,"customInspect")||v.customInspect;if("boolean"!=typeof w&&"symbol"!==w)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(v,"indent")&&null!==v.indent&&"\t"!==v.indent&&!(parseInt(v.indent,10)===v.indent&&v.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(v,"numericSeparator")&&"boolean"!=typeof v.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var k=v.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,v);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var I=String(t);return k?P(t,I):I}if("bigint"==typeof t){var R=String(t)+"n";return k?P(t,R):R}var B=void 0===v.depth?5:v.depth;if(void 0===o&&(o=0),o>=B&&B>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var q=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(v,o);if(void 0===p)p=[];else if(G(p,t)>=0)return"[Circular]";function Y(t,n,r){if(n&&(p=S.call(p)).push(n),r){var i={depth:v.depth};return H(v,"quoteStyle")&&(i.quoteStyle=v.quoteStyle),e(t,i,o+1,p)}return e(t,v,o+1,p)}if("function"==typeof t&&!W(t)){var te=function(e){if(e.name)return e.name;var t=y.call(h.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ne=ee(t,Y);return"[Function"+(te?": "+te:" (anonymous)")+"]"+(ne.length>0?" { "+x.call(ne,", ")+" }":"")}if(Z(t)){var re=T?m.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!=typeof t||T?re:$(re)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ie="<"+b.call(String(t.nodeName)),oe=t.attributes||[],ae=0;ae<oe.length;ae++)ie+=" "+oe[ae].name+"="+F(D(oe[ae].value),"double",v);return ie+=">",t.childNodes&&t.childNodes.length&&(ie+="..."),ie+="</"+b.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var se=ee(t,Y);return q&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(se)?"["+J(se,q)+"]":"[ "+x.call(se,", ")+" ]"}if(function(e){return"[object Error]"===V(e)&&z(e)}(t)){var le=ee(t,Y);return"cause"in Error.prototype||!("cause"in t)||A.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(le,", ")+" }":"{ ["+String(t)+"] "+x.call(_.call("[cause]: "+Y(t.cause),le),", ")+" }"}if("object"==typeof t&&w){if(L&&"function"==typeof t[L]&&j)return j(t,{depth:B-o});if("symbol"!==w&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!n||!e||"object"!=typeof e)return!1;try{n.call(e);try{a.call(e)}catch(ie){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ce=[];return r&&r.call(t,function(e,n){ce.push(Y(n,t,!0)+" => "+Y(e,t))}),X("Map",n.call(t),ce,q)}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{n.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var ue=[];return s&&s.call(t,function(e){ue.push(Y(e,t))}),X("Set",a.call(t),ue,q)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e,c);try{u.call(e,u)}catch(ie){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Q("WeakMap");if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{c.call(e,c)}catch(ie){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Q("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(t){}return!1}(t))return Q("WeakRef");if(function(e){return"[object Number]"===V(e)&&z(e)}(t))return $(Y(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}(t))return $(Y(E.call(t)));if(function(e){return"[object Boolean]"===V(e)&&z(e)}(t))return $(d.call(t));if(function(e){return"[object String]"===V(e)&&z(e)}(t))return $(Y(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==l&&t===l)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===V(e)&&z(e)}(t)&&!W(t)){var fe=ee(t,Y),de=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",he=!de&&M&&Object(t)===t&&M in t?g.call(V(t),8,-1):pe?"Object":"",ye=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(he||pe?"["+x.call(_.call([],he||[],pe||[]),": ")+"] ":"");return 0===fe.length?ye+"{}":q?ye+"{"+J(fe,q)+"}":ye+"{ "+x.call(fe,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function H(e,t){return q.call(e,t)}function V(e){return p.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return K(g.call(e,0,t.maxStringLength),t)+r}var i=B[t.quoteStyle||"single"];return i.lastIndex=0,F(m.call(m.call(e,i,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+v.call(t.toString(16))}function $(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?J(n,r):x.call(n,", "))+"}"}function J(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function ee(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=H(e,i)?t(e[i],e):""}var o,a="function"==typeof I?I(e):[];if(T){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)H(e,l)&&(n&&String(Number(l))===l&&l<e.length||T&&o["$"+l]instanceof Symbol||(w.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof I)for(var c=0;c<a.length;c++)A.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}return Ts}function el(){if(Os)return As;Os=1;var e=Js(),t=Wn(),n=function(e,t,n){for(var r,i=e;null!=(r=i.next);i=r)if(r.key===t)return i.next=r.next,n||(r.next=e.next,e.next=r),r};return As=function(){var r,i={assert:function(n){if(!i.has(n))throw new t("Side channel does not contain "+e(n))},delete:function(e){var t=r&&r.next,i=function(e,t){if(e)return n(e,t,!0)}(r,e);return i&&t&&t===i&&(r=void 0),!!i},get:function(e){return function(e,t){if(e){var r=n(e,t);return r&&r.value}}(r,e)},has:function(e){return function(e,t){return!!e&&!!n(e,t)}(r,e)},set:function(e,t){r||(r={next:void 0}),function(e,t,r){var i=n(e,t);i?i.value=r:e.next={key:t,next:e.next,value:r}}(r,e,t)}};return i}}function tl(){if(js)return Ps;js=1;var e=fr(),t=dr(),n=Js(),r=Wn(),i=e("%Map%",!0),o=t("Map.prototype.get",!0),a=t("Map.prototype.set",!0),s=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),c=t("Map.prototype.size",!0);return Ps=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+n(e))},delete:function(t){if(e){var n=l(e,t);return 0===c(e)&&(e=void 0),n}return!1},get:function(t){if(e)return o(e,t)},has:function(t){return!!e&&s(e,t)},set:function(t,n){e||(e=new i),a(e,t,n)}};return t}}function nl(){if(Bs)return Ns;Bs=1;var e=Wn(),t=Js(),n=el(),r=tl(),i=function(){if(Ls)return Rs;Ls=1;var e=fr(),t=dr(),n=Js(),r=tl(),i=Wn(),o=e("%WeakMap%",!0),a=t("WeakMap.prototype.get",!0),s=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),c=t("WeakMap.prototype.delete",!0);return Rs=o?function(){var e,t,u={assert:function(e){if(!u.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(n){if(o&&n&&("object"==typeof n||"function"==typeof n)){if(e)return c(e,n)}else if(r&&t)return t.delete(n);return!1},get:function(n){return o&&n&&("object"==typeof n||"function"==typeof n)&&e?a(e,n):t&&t.get(n)},has:function(n){return o&&n&&("object"==typeof n||"function"==typeof n)&&e?l(e,n):!!t&&t.has(n)},set:function(n,i){o&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new o),s(e,n,i)):r&&(t||(t=r()),t.set(n,i))}};return u}:r}(),o=i||r||n;return Ns=function(){var n,r={assert:function(n){if(!r.has(n))throw new e("Side channel does not contain "+t(n))},delete:function(e){return!!n&&n.delete(e)},get:function(e){return n&&n.get(e)},has:function(e){return!!n&&n.has(e)},set:function(e,t){n||(n=o()),n.set(e,t)}};return r}}function rl(){if(Ds)return Fs;Ds=1;var e=String.prototype.replace,t=/%20/g,n="RFC3986";return Fs={default:n,formatters:{RFC1738:function(n){return e.call(n,t,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}}function il(){if(Us)return zs;Us=1;var e=rl(),t=nl(),n=Object.prototype.hasOwnProperty,r=Array.isArray,i=t(),o=function(e,t){return i.set(e,t),e},a=function(e){return i.has(e)},s=function(e){return i.get(e)},l=function(e,t){i.set(e,t)},c=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),u=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},f=1024;return zs={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t,n,r){if(a(e)){var i=s(e)+1;return e[i]=t,l(e,i),e}var c=[].concat(e,t);return c.length>n?o(u(c,{plainObjects:r}),c.length-1):c},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var o=t[i],a=o.obj[o.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t[t.length]={obj:a,prop:c},n[n.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var i=[],o=0;o<n.length;++o)void 0!==n[o]&&(i[i.length]=n[o]);t.obj[t.prop]=i}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},encode:function(t,n,r,i,o){if(0===t.length)return t;var a=t;if("symbol"==typeof t?a=Symbol.prototype.toString.call(t):"string"!=typeof t&&(a=String(t)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<a.length;l+=f){for(var u=a.length>=f?a.slice(l,l+f):a,d=[],p=0;p<u.length;++p){var h=u.charCodeAt(p);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||o===e.RFC1738&&(40===h||41===h)?d[d.length]=u.charAt(p):h<128?d[d.length]=c[h]:h<2048?d[d.length]=c[192|h>>6]+c[128|63&h]:h<55296||h>=57344?d[d.length]=c[224|h>>12]+c[128|h>>6&63]+c[128|63&h]:(p+=1,h=65536+((1023&h)<<10|1023&u.charCodeAt(p)),d[d.length]=c[240|h>>18]+c[128|h>>12&63]+c[128|h>>6&63]+c[128|63&h])}s+=d.join("")}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:a,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:o,maybeMap:function(e,t){if(r(e)){for(var n=[],i=0;i<e.length;i+=1)n[n.length]=t(e[i]);return n}return t(e)},merge:function e(t,i,c){if(!i)return t;if("object"!=typeof i&&"function"!=typeof i){if(r(t)){var f=t.length;if(c&&"number"==typeof c.arrayLimit&&f>c.arrayLimit)return o(u(t.concat(i),c),f);t[f]=i}else{if(!t||"object"!=typeof t)return[t,i];if(a(t)){var d=s(t)+1;t[d]=i,l(t,d)}else{if(c&&c.strictMerge)return[t,i];(c&&(c.plainObjects||c.allowPrototypes)||!n.call(Object.prototype,i))&&(t[i]=!0)}}return t}if(!t||"object"!=typeof t){if(a(i)){for(var p=Object.keys(i),h=c&&c.plainObjects?{__proto__:null,0:t}:{0:t},y=0;y<p.length;y++){h[parseInt(p[y],10)+1]=i[p[y]]}return o(h,s(i)+1)}var g=[t].concat(i);return c&&"number"==typeof c.arrayLimit&&g.length>c.arrayLimit?o(u(g,c),g.length-1):g}var m=t;return r(t)&&!r(i)&&(m=u(t,c)),r(t)&&r(i)?(i.forEach(function(r,i){if(n.call(t,i)){var o=t[i];o&&"object"==typeof o&&r&&"object"==typeof r?t[i]=e(o,r,c):t[t.length]=r}else t[i]=r}),t):Object.keys(i).reduce(function(t,r){var u=i[r];if(n.call(t,r)?t[r]=e(t[r],u,c):t[r]=u,a(i)&&!a(t)&&o(t,s(i)),a(t)){var f=parseInt(r,10);String(f)===r&&f>=0&&f>s(t)&&l(t,f)}return t},m)}},zs}function ol(){if(Zs)return Ws;Zs=1;var e=nl(),t=il(),n=rl(),r=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},o=Array.isArray,a=Array.prototype.push,s=function(e,t){a.apply(e,o(t)?t:[t])},l=Date.prototype.toISOString,c=n.default,u={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:n.formatters[c],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},f={},d=function n(r,i,a,l,c,d,p,h,y,g,m,v,b,w,_,x,S,k){for(var E,I=r,C=k,T=0,M=!1;void 0!==(C=C.get(f))&&!M;){var A=C.get(r);if(T+=1,void 0!==A){if(A===T)throw new RangeError("Cyclic object value");M=!0}void 0===C.get(f)&&(T=0)}if("function"==typeof g?I=g(i,I):I instanceof Date?I=b(I):"comma"===a&&o(I)&&(I=t.maybeMap(I,function(e){return e instanceof Date?b(e):e})),null===I){if(d)return y&&!x?y(i,u.encoder,S,"key",w):i;I=""}if("string"==typeof(E=I)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||t.isBuffer(I))return y?[_(x?i:y(i,u.encoder,S,"key",w))+"="+_(y(I,u.encoder,S,"value",w))]:[_(i)+"="+_(String(I))];var O,P=[];if(void 0===I)return P;if("comma"===a&&o(I))x&&y&&(I=t.maybeMap(I,y)),O=[{value:I.length>0?I.join(",")||null:void 0}];else if(o(g))O=g;else{var j=Object.keys(I);O=m?j.sort(m):j}var R=h?String(i).replace(/\./g,"%2E"):String(i),L=l&&o(I)&&1===I.length?R+"[]":R;if(c&&o(I)&&0===I.length)return L+"[]";for(var N=0;N<O.length;++N){var B=O[N],F="object"==typeof B&&B&&void 0!==B.value?B.value:I[B];if(!p||null!==F){var D=v&&h?String(B).replace(/\./g,"%2E"):String(B),z=o(I)?"function"==typeof a?a(L,D):L:L+(v?"."+D:"["+D+"]");k.set(r,T);var U=e();U.set(f,k),s(P,n(F,z,a,l,c,d,p,h,"comma"===a&&x&&o(I)?null:y,g,m,v,b,w,_,x,S,U))}}return P};return Ws=function(t,a){var l,c=t,f=function(e){if(!e)return u;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||u.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=n.default;if(void 0!==e.format){if(!r.call(n.formatters,e.format))throw new TypeError("Unknown format option provided.");a=e.format}var s,l=n.formatters[a],c=u.filter;if(("function"==typeof e.filter||o(e.filter))&&(c=e.filter),s=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":u.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=void 0===e.allowDots?!0===e.encodeDotInKeys||u.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:u.addQueryPrefix,allowDots:f,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:u.allowEmptyArrays,arrayFormat:s,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:u.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?u.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:u.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:u.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:u.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:u.encodeValuesOnly,filter:c,format:a,formatter:l,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:u.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:u.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:u.strictNullHandling}}(a);"function"==typeof f.filter?c=(0,f.filter)("",c):o(f.filter)&&(l=f.filter);var p=[];if("object"!=typeof c||null===c)return"";var h=i[f.arrayFormat],y="comma"===h&&f.commaRoundTrip;l||(l=Object.keys(c)),f.sort&&l.sort(f.sort);for(var g=e(),m=0;m<l.length;++m){var v=l[m],b=c[v];f.skipNulls&&null===b||s(p,d(b,v,h,y,f.allowEmptyArrays,f.strictNullHandling,f.skipNulls,f.encodeDotInKeys,f.encode?f.encoder:null,f.filter,f.sort,f.allowDots,f.serializeDate,f.format,f.formatter,f.encodeValuesOnly,f.charset,g))}var w=p.join(f.delimiter),_=!0===f.addQueryPrefix?"?":"";return f.charsetSentinel&&("iso-8859-1"===f.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""},Ws}function al(){if(Hs)return qs;Hs=1;var e=il(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},o=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},a=function(n,r,i,a){if(n){var s=function(e,n){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(n.depth<=0){if(!n.plainObjects&&t.call(Object.prototype,r)&&!n.allowPrototypes)return;return[r]}var i=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),a=o?r.slice(0,o.index):r,s=[];if(a){if(!n.plainObjects&&t.call(Object.prototype,a)&&!n.allowPrototypes)return;s[s.length]=a}for(var l=0;null!==(o=i.exec(r))&&l<n.depth;){l+=1;var c=o[1].slice(1,-1);if(!n.plainObjects&&t.call(Object.prototype,c)&&!n.allowPrototypes)return;s[s.length]=o[1]}if(o){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");s[s.length]="["+r.slice(o.index)+"]"}return s}(n,i);if(s)return function(t,n,r,i){var a=0;if(t.length>0&&"[]"===t[t.length-1]){var s=t.slice(0,-1).join("");a=Array.isArray(n)&&n[s]?n[s].length:0}for(var l=i?n:o(n,r,a),c=t.length-1;c>=0;--c){var u,f=t[c];if("[]"===f&&r.parseArrays)u=e.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:e.combine([],l,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var d="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,p=r.decodeDotInKeys?d.replace(/%2E/g,"."):d,h=parseInt(p,10),y=!isNaN(h)&&f!==p&&String(h)===p&&h>=0&&r.parseArrays;if(r.parseArrays||""!==p)if(y&&h<r.arrayLimit)(u=[])[h]=l;else{if(y&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");y?(u[h]=l,e.markOverflow(u,h)):"__proto__"!==p&&(u[p]=l)}else u={0:l}}l=u}return l}(s,r,i,a)}};return qs=function(s,l){var c=function(t){if(!t)return r;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=void 0===t.charset?r.charset:t.charset,i=void 0===t.duplicates?r.duplicates:t.duplicates;if("combine"!==i&&"first"!==i&&"last"!==i)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||r.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:r.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:r.arrayLimit,charset:n,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:r.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:r.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:r.decoder,delimiter:"string"==typeof t.delimiter||e.isRegExp(t.delimiter)?t.delimiter:r.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:r.depth,duplicates:i,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:r.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:r.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:r.strictDepth,strictMerge:"boolean"==typeof t.strictMerge?!!t.strictMerge:r.strictMerge,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(l);if(""===s||null==s)return c.plainObjects?{__proto__:null}:{};for(var u="string"==typeof s?function(a,s){var l={__proto__:null},c=s.ignoreQueryPrefix?a.replace(/^\?/,""):a;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=s.parameterLimit===1/0?void 0:s.parameterLimit,f=c.split(s.delimiter,s.throwOnLimitExceeded?u+1:u);if(s.throwOnLimitExceeded&&f.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var d,p=-1,h=s.charset;if(s.charsetSentinel)for(d=0;d<f.length;++d)0===f[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[d]?h="utf-8":"utf8=%26%2310003%3B"===f[d]&&(h="iso-8859-1"),p=d,d=f.length);for(d=0;d<f.length;++d)if(d!==p){var y,g,m=f[d],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;if(-1===b?(y=s.decoder(m,r.decoder,h,"key"),g=s.strictNullHandling?null:""):null!==(y=s.decoder(m.slice(0,b),r.decoder,h,"key"))&&(g=e.maybeMap(o(m.slice(b+1),s,n(l[y])?l[y].length:0),function(e){return s.decoder(e,r.decoder,h,"value")})),g&&s.interpretNumericEntities&&"iso-8859-1"===h&&(g=i(String(g))),m.indexOf("[]=")>-1&&(g=n(g)?[g]:g),s.comma&&n(g)&&g.length>s.arrayLimit){if(s.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+s.arrayLimit+" element"+(1===s.arrayLimit?"":"s")+" allowed in an array.");g=e.combine([],g,s.arrayLimit,s.plainObjects)}if(null!==y){var w=t.call(l,y);w&&("combine"===s.duplicates||m.indexOf("[]=")>-1)?l[y]=e.combine(l[y],g,s.arrayLimit,s.plainObjects):w&&"last"!==s.duplicates||(l[y]=g)}}return l}(s,c):s,f=c.plainObjects?{__proto__:null}:{},d=Object.keys(u),p=0;p<d.length;++p){var h=d[p],y=a(h,u[h],c,"string"==typeof s);f=e.merge(f,y,c)}return!0===c.allowSparse?f:e.compact(f)},qs}function sl(){if(Gs)return Vs;Gs=1;var e=ol(),t=al();return Vs={formats:rl(),parse:t,stringify:e}}function ll(){if(Ks)return ks;Ks=1;var e,t,n=(Ss||(Ss=1,e=Es,t=Es.exports,function(n){var r=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,o="object"==typeof l&&l;o.global!==o&&o.window!==o&&o.self!==o||(n=o);var a,s,c=2147483647,u=36,f=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=Math.floor,g=String.fromCharCode;function m(e){throw new RangeError(h[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+v((e=e.replace(p,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function _(e){return v(e,function(e){var t="";return e>65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+g(e)}).join("")}function x(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,n){var r=0;for(e=n?y(e/700):e>>1,e+=y(e/t);e>455;r+=u)e=y(e/35);return y(r+36*e/(e+38))}function E(e){var t,n,r,i,o,a,s,l,f,d,p=[],h=e.length,g=0,v=128,b=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),p.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<h;){for(o=g,a=1,s=u;i>=h&&m("invalid-input"),((l=x(e.charCodeAt(i++)))>=u||l>y((c-g)/a))&&m("overflow"),g+=l*a,!(l<(f=s<=b?1:s>=b+26?26:s-b));s+=u)a>y(c/(d=u-f))&&m("overflow"),a*=d;b=k(g-o,t=p.length+1,0==o),y(g/t)>c-v&&m("overflow"),v+=y(g/t),g%=t,p.splice(g++,0,v)}return _(p)}function I(e){var t,n,r,i,o,a,s,l,f,d,p,h,v,b,_,x=[];for(h=(e=w(e)).length,t=128,n=0,o=72,a=0;a<h;++a)(p=e[a])<128&&x.push(g(p));for(r=i=x.length,i&&x.push("-");r<h;){for(s=c,a=0;a<h;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>y((c-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,a=0;a<h;++a)if((p=e[a])<t&&++n>c&&m("overflow"),p==t){for(l=n,f=u;!(l<(d=f<=o?1:f>=o+26?26:f-o));f+=u)_=l-d,b=u-d,x.push(g(S(d+_%b,0))),l=y(_/b);x.push(g(S(l,0))),o=k(n,v,r==i),n=0,++r}++n,++t}return x.join("")}if(a={version:"1.4.1",ucs2:{decode:w,encode:_},decode:E,encode:I,toASCII:function(e){return b(e,function(e){return d.test(e)?"xn--"+I(e):e})},toUnicode:function(e){return b(e,function(e){return f.test(e)?E(e.slice(4).toLowerCase()):e})}},r&&i)if(e.exports==r)i.exports=a;else for(s in a)a.hasOwnProperty(s)&&(r[s]=a[s]);else n.punycode=a}(Is)),Es.exports);function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),u=["%","/","?",";","#"].concat(c),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=sl();function v(e,t,n){if(e&&"object"==typeof e&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}return r.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var v=e=l.join(s);if(v=v.trim(),!r&&1===e.split("#").length){var b=a.exec(v);if(b)return this.path=v,this.href=v,this.pathname=b[1],b[2]?(this.search=b[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(v);if(w){var _=(w=w[0]).toLowerCase();this.protocol=_,v=v.substr(w.length)}if(r||w||v.match(/^\/\/[^@/]+@[^@/]+/)){var x="//"===v.substr(0,2);!x||w&&y[w]||(v=v.substr(2),this.slashes=!0)}if(!y[w]&&(x||w&&!g[w])){for(var S,k,E=-1,I=0;I<f.length;I++){-1!==(C=v.indexOf(f[I]))&&(-1===E||C<E)&&(E=C)}-1!==(k=-1===E?v.lastIndexOf("@"):v.lastIndexOf("@",E))&&(S=v.slice(0,k),v=v.slice(k+1),this.auth=decodeURIComponent(S)),E=-1;for(I=0;I<u.length;I++){var C;-1!==(C=v.indexOf(u[I]))&&(-1===E||C<E)&&(E=C)}-1===E&&(E=v.length),this.host=v.slice(0,E),v=v.slice(E),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var M=this.hostname.split(/\./),A=(I=0,M.length);I<A;I++){var O=M[I];if(O&&!O.match(d)){for(var P="",j=0,R=O.length;j<R;j++)O.charCodeAt(j)>127?P+="x":P+=O[j];if(!P.match(d)){var L=M.slice(0,I),N=M.slice(I+1),B=O.match(p);B&&(L.push(B[1]),N.unshift(B[2])),N.length&&(v="/"+N.join(".")+v),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=n.toASCII(this.hostname));var F=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+F,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!h[_])for(I=0,A=c.length;I<A;I++){var z=c[I];if(-1!==v.indexOf(z)){var U=encodeURIComponent(z);U===z&&(U=escape(z)),v=v.split(z).join(U)}}var W=v.indexOf("#");-1!==W&&(this.hash=v.substr(W),v=v.slice(0,W));var Z=v.indexOf("?");if(-1!==Z?(this.search=v.substr(Z),this.query=v.substr(Z+1),t&&(this.query=m.parse(this.query)),v=v.slice(0,Z)):t&&(this.search="",this.query={}),v&&(this.pathname=v),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var q=this.search||"";this.path=F+q}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=m.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},r.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if("string"==typeof e){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var c=s[l];"protocol"!==c&&(n[c]=e[c])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var u=Object.keys(e),f=0;f<u.length;f++){var d=u[f];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",m=n.search||"";n.path=h+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=b||v||n.host&&e.pathname,_=w,x=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===x[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=p;else if(p.length)x||(x=[]),x.pop(),x=x.concat(p),n.search=e.search,n.query=e.query;else if(null!=e.search){if(S)n.host=x.shift(),n.hostname=n.host,(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.hostname=T.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=x.slice(-1)[0],E=(n.host||e.host||x.length>1)&&("."===k||".."===k)||""===k,I=0,C=x.length;C>=0;C--)"."===(k=x[C])?x.splice(C,1):".."===k?(x.splice(C,1),I++):I&&(x.splice(C,1),I--);if(!w&&!_)for(;I--;I)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var T,M=""===x[0]||x[0]&&"/"===x[0].charAt(0);S&&(n.hostname=M?"":x.length?x.shift():"",n.host=n.hostname,(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.hostname=T.shift(),n.host=n.hostname));return(w=w||n.host&&x.length)&&!M&&x.unshift(""),x.length>0?n.pathname=x.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},ks.parse=v,ks.resolve=function(e,t){return v(e,!1,!0).resolve(t)},ks.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},ks.format=function(e){return"string"==typeof e&&(e=v(e)),e instanceof r?e.format():r.prototype.format.call(e)},ks.Url=r,ks}function cl(){if($s)return Ys;$s=1;const e=Cs,t=Sa()("mqttjs:tcp");return Ys=function(n,r){r.port=r.port||1883,r.hostname=r.hostname||r.host||"localhost";const i=r.port,o=r.hostname;return t("port %d and host %s",i,o),e.createConnection(i,o)}}function ul(){if(Xs)return Qs;Xs=1;const e=Cs,t=Cs,n=Sa()("mqttjs:tls");return Qs=function(r,i){i.port=i.port||8883,i.host=i.hostname||i.host||"localhost",0===t.isIP(i.host)&&(i.servername=i.host),i.rejectUnauthorized=!1!==i.rejectUnauthorized,delete i.path,n("port %d host %s rejectUnauthorized %b",i.port,i.host,i.rejectUnauthorized);const o=e.connect(i);function a(e){i.rejectUnauthorized&&r.emit("error",e),o.end()}return o.on("secureConnect",function(){i.rejectUnauthorized&&!o.authorized?o.emit("error",new Error("TLS not authorized")):o.removeListener("error",a)}),o.on("error",a),o}}var fl,dl,pl,hl,yl,gl,ml,vl,bl,wl,_l,xl,Sl,kl={exports:{}};function El(){if(pl)return kl.exports;pl=1;var e=(dl||(dl=1,fl=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(e){r[e]=t[e]}),r;function r(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];var r=t.apply(this,e),i=e[e.length-1];return"function"==typeof r&&r!==i&&Object.keys(i).forEach(function(e){r[e]=i[e]}),r}}),fl);function t(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function n(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}return kl.exports=e(t),kl.exports.strict=e(n),t.proto=t(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return t(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return n(this)},configurable:!0})}),kl.exports}function Il(){if(yl)return hl;yl=1;var e=El(),t=function(){},n=l.Bare?queueMicrotask:T.nextTick.bind(T),r=function(i,o,a){if("function"==typeof o)return r(i,null,o);o||(o={}),a=e(a||t);var s=i._writableState,l=i._readableState,c=o.readable||!1!==o.readable&&i.readable,u=o.writable||!1!==o.writable&&i.writable,f=!1,d=function(){i.writable||p()},p=function(){u=!1,c||a.call(i)},h=function(){c=!1,u||a.call(i)},y=function(e){a.call(i,e?new Error("exited with error code: "+e):null)},g=function(e){a.call(i,e)},m=function(){n(v)},v=function(){if(!f)return(!c||l&&l.ended&&!l.destroyed)&&(!u||s&&s.ended&&!s.destroyed)?void 0:a.call(i,new Error("premature close"))},b=function(){i.req.on("finish",p)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(i)?u&&!s&&(i.on("end",d),i.on("close",d)):(i.on("complete",p),i.on("abort",m),i.req?b():i.on("request",b)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(i)&&i.on("exit",y),i.on("end",h),i.on("finish",p),!1!==o.error&&i.on("error",g),i.on("close",m),function(){f=!0,i.removeListener("complete",p),i.removeListener("abort",m),i.removeListener("request",b),i.req&&i.req.removeListener("finish",p),i.removeListener("end",d),i.removeListener("close",d),i.removeListener("finish",p),i.removeListener("exit",y),i.removeListener("end",h),i.removeListener("error",g),i.removeListener("close",m)}};return hl=r}function Cl(){if(bl)return vl;bl=1;var e=$i(),t=Il(),n=$r(),r=ml?gl:(ml=1,gl=function(e){var t=e._readableState;return t?t.objectMode||"number"==typeof e._duplexState?e.read():e.read(function(e){if(e.buffer.length){var t=e.bufferIndex||0;if(e.buffer.head)return e.buffer.head.data.length;if(e.buffer.length-t>0&&e.buffer[t])return e.buffer[t].length}return e.length}(t)):null}),i=Ha.from&&Ha.from!==Uint8Array.from?Ha.from([0]):new Ha([0]),o=function(e,t){e._corked?e.once("uncork",t):t()},a=function(e,t){return function(n){n?function(e,t){e._autoDestroy&&e.destroy(t)}(e,"premature close"===n.message?null:n):t&&!e._ended&&e.end()}},s=function(){},l=function(t,n,r){if(!(this instanceof l))return new l(t,n,r);e.Duplex.call(this,r),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!r||!1!==r.autoDestroy,this._forwardDestroy=!r||!1!==r.destroy,this._forwardEnd=!r||!1!==r.end,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,t&&this.setWritable(t),n&&this.setReadable(n)};return n(l,e.Duplex),l.obj=function(e,t,n){return n||(n={}),n.objectMode=!0,n.highWaterMark=16,new l(e,t,n)},l.prototype.cork=function(){1===++this._corked&&this.emit("cork")},l.prototype.uncork=function(){this._corked&&0===--this._corked&&this.emit("uncork")},l.prototype.setWritable=function(e){if(this._unwrite&&this._unwrite(),this.destroyed)e&&e.destroy&&e.destroy();else if(null!==e&&!1!==e){var n=this,r=t(e,{writable:!0,readable:!1},a(this,this._forwardEnd)),i=function(){var e=n._ondrain;n._ondrain=null,e&&e()};this._unwrite&&T.nextTick(i),this._writable=e,this._writable.on("drain",i),this._unwrite=function(){n._writable.removeListener("drain",i),r()},this.uncork()}else this.end()},l.prototype.setReadable=function(n){if(this._unread&&this._unread(),this.destroyed)n&&n.destroy&&n.destroy();else{if(null===n||!1===n)return this.push(null),void this.resume();var r,i=this,o=t(n,{writable:!1,readable:!0},a(this)),s=function(){i._forward()},l=function(){i.push(null)};this._drained=!0,this._readable=n,this._readable2=n._readableState?n:(r=n,new e.Readable({objectMode:!0,highWaterMark:16}).wrap(r)),this._readable2.on("readable",s),this._readable2.on("end",l),this._unread=function(){i._readable2.removeListener("readable",s),i._readable2.removeListener("end",l),o()},this._forward()}},l.prototype._read=function(){this._drained=!0,this._forward()},l.prototype._forward=function(){if(!this._forwarding&&this._readable2&&this._drained){var e;for(this._forwarding=!0;this._drained&&null!==(e=r(this._readable2));)this.destroyed||(this._drained=this.push(e));this._forwarding=!1}},l.prototype.destroy=function(e,t){if(t||(t=s),this.destroyed)return t(null);this.destroyed=!0;var n=this;T.nextTick(function(){n._destroy(e),t(null)})},l.prototype._destroy=function(e){if(e){var t=this._ondrain;this._ondrain=null,t?t(e):this.emit("error",e)}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close")},l.prototype._write=function(e,t,n){if(!this.destroyed)return this._corked?o(this,this._write.bind(this,e,t,n)):e===i?this._finish(n):this._writable?void(!1===this._writable.write(e)?this._ondrain=n:this.destroyed||n()):n()},l.prototype._finish=function(e){var t=this;this.emit("preend"),o(this,function(){var n,r;n=t._forwardEnd&&t._writable,r=function(){!1===t._writableState.prefinished&&(t._writableState.prefinished=!0),t.emit("prefinish"),o(t,e)},n?n._writableState&&n._writableState.finished?r():n._writableState?n.end(r):(n.end(),r()):r()})},l.prototype.end=function(t,n,r){return"function"==typeof t?this.end(null,null,t):"function"==typeof n?this.end(t,null,n):(this._ended=!0,t&&this.write(t),this._writableState.ending||this._writableState.destroyed||this.write(i),e.Writable.prototype.end.call(this,r))},vl=l}function Tl(){if(_l)return wl;_l=1;const{Buffer:e}=Ke(),t=$i().Transform,n=Cl();let r,i,o;return wl=function(a,s){if(s.hostname=s.hostname||s.host,!s.hostname)throw new Error("Could not determine host. Specify host manually.");const l="MQIsdp"===s.protocolId&&3===s.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(s);const c=function(e,t){const n="wxs"===e.protocol?"wss":"ws";let r=n+"://"+e.hostname+e.path;return e.port&&80!==e.port&&443!==e.port&&(r=n+"://"+e.hostname+":"+e.port+e.path),"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}(s,a);r=wx.connectSocket({url:c,protocols:[l]}),i=function(){const e=new t;return e._write=function(e,t,n){r.send({data:e.buffer,success:function(){n()},fail:function(e){n(new Error(e))}})},e._flush=function(e){r.close({success:function(){e()}})},e}(),o=n.obj(),o._destroy=function(e,t){r.close({success:function(){t&&t(e)}})};const u=o.destroy;return o.destroy=function(){o.destroy=u;const e=this;setTimeout(function(){r.close({fail:function(){e._destroy(new Error)}})},0)}.bind(o),r.onOpen(function(){o.setReadable(i),o.setWritable(i),o.emit("connect")}),r.onMessage(function(t){let n=t.data;n=n instanceof ArrayBuffer?e.from(n):e.from(n,"utf8"),i.push(n)}),r.onClose(function(){o.end(),o.destroy()}),r.onError(function(e){o.destroy(new Error(e.errMsg))}),o}}function Ml(){if(Sl)return xl;Sl=1;const{Buffer:e}=Ke(),t=$i().Transform,n=Cl();let r,i,o,a=!1;return xl=function(s,l){if(l.hostname=l.hostname||l.host,!l.hostname)throw new Error("Could not determine host. Specify host manually.");const c="MQIsdp"===l.protocolId&&3===l.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(l);const u=function(e,t){const n="alis"===e.protocol?"wss":"ws";let r=n+"://"+e.hostname+e.path;return e.port&&80!==e.port&&443!==e.port&&(r=n+"://"+e.hostname+":"+e.port+e.path),"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}(l,s);return r=l.my,r.connectSocket({url:u,protocols:c}),i=function(){const e=new t;return e._write=function(e,t,n){r.sendSocketMessage({data:e.buffer,success:function(){n()},fail:function(){n(new Error)}})},e._flush=function(e){r.closeSocket({success:function(){e()}})},e}(),o=n.obj(),a||(a=!0,r.onSocketOpen(function(){o.setReadable(i),o.setWritable(i),o.emit("connect")}),r.onSocketMessage(function(t){if("string"==typeof t.data){const n=e.from(t.data,"base64");i.push(n)}else{const n=new FileReader;n.addEventListener("load",function(){let t=n.result;t=t instanceof ArrayBuffer?e.from(t):e.from(t,"utf8"),i.push(t)}),n.readAsArrayBuffer(t.data)}}),r.onSocketClose(function(){o.end(),o.destroy()}),r.onSocketError(function(e){o.destroy(e)})),o}}var Al,Ol,Pl,jl,Rl={exports:{}};function Ll(){if(Pl)return Rl.exports;Pl=1;const{Buffer:e}=Ke(),t=Ol?Al:(Ol=1,Al=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}),n=Sa()("mqttjs:ws"),r=Cl(),i=$i().Transform,o=["rejectUnauthorized","ca","cert","key","pfx","passphrase"],a=void 0!==T&&"browser"===T.title||"function"==typeof __webpack_require__;function s(e,t){let n=e.protocol+"://"+e.hostname+":"+e.port+e.path;return"function"==typeof e.transformWsUrl&&(n=e.transformWsUrl(n,e,t)),n}function l(e){const t=e;return e.hostname||(t.hostname="localhost"),e.port||("wss"===e.protocol?t.port=443:t.port=80),e.path||(t.path="/"),e.wsOptions||(t.wsOptions={}),a||"wss"!==e.protocol||o.forEach(function(n){Object.prototype.hasOwnProperty.call(e,n)&&!Object.prototype.hasOwnProperty.call(e.wsOptions,n)&&(t.wsOptions[n]=e[n])}),t}return Rl.exports=a?function(t,o){let a;n("browserStreamBuilder");const c=function(e){const t=l(e);if(t.hostname||(t.hostname=t.host),!t.hostname){if("undefined"==typeof document)throw new Error("Could not determine host. Specify host manually.");const e=new URL(document.URL);t.hostname=e.hostname,t.port||(t.port=e.port)}return void 0===t.objectMode&&(t.objectMode=!(!0===t.binary||void 0===t.binary)),t}(o).browserBufferSize||524288,u=o.browserBufferTimeout||1e3,f=!o.objectMode,d=function(e,t){const n="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt",r=s(t,e),i=new WebSocket(r,[n]);return i.binaryType="arraybuffer",i}(t,o),p=function(e,t,n){const r=new i({objectModeMode:e.objectMode});return r._write=t,r._flush=n,r}(o,function t(n,r,i){d.bufferedAmount>c&&setTimeout(t,u,n,r,i),f&&"string"==typeof n&&(n=e.from(n,"utf8"));try{d.send(n)}catch(o){return i(o)}i()},function(e){d.close(),e()});o.objectMode||(p._writev=b),p.on("close",()=>{d.close()});const h=void 0!==d.addEventListener;function y(){a.setReadable(p),a.setWritable(p),a.emit("connect")}function g(){a.end(),a.destroy()}function m(e){a.destroy(e)}function v(t){let n=t.data;n=n instanceof ArrayBuffer?e.from(n):e.from(n,"utf8"),p.push(n)}function b(t,n){const r=new Array(t.length);for(let i=0;i<t.length;i++)"string"==typeof t[i].chunk?r[i]=e.from(t[i],"utf8"):r[i]=t[i].chunk;this._write(e.concat(r),"binary",n)}return d.readyState===d.OPEN?a=p:(a=a=r(void 0,void 0,o),o.objectMode||(a._writev=b),h?d.addEventListener("open",y):d.onopen=y),a.socket=d,h?(d.addEventListener("close",g),d.addEventListener("error",m),d.addEventListener("message",v)):(d.onclose=g,d.onerror=m,d.onmessage=v),a}:function(e,r){n("streamBuilder");const i=l(r),o=s(i,e),a=function(e,r,i){n("createWebSocket"),n("protocol: "+i.protocolId+" "+i.protocolVersion);const o="MQIsdp"===i.protocolId&&3===i.protocolVersion?"mqttv3.1":"mqtt";return n("creating new Websocket for url: "+r+" and protocol: "+o),new t(r,[o],i.wsOptions)}(0,o,i),c=t.createWebSocketStream(a,i.wsOptions);return c.url=o,a.on("close",()=>{c.destroy()}),c},Rl.exports}const Nl=c(function(){if(jl)return Fe.exports;jl=1;const e=xs(),t=Qi(),n=ll(),r=Ue(),i=Sa()("mqttjs"),o={};function a(t,a){if(i("connecting to an MQTT broker..."),"object"!=typeof t||a||(a=t,t=null),a=a||{},t){const e=n.parse(t,!0);if(null!=e.port&&(e.port=Number(e.port)),null===(a=r(e,a)).protocol)throw new Error("Missing protocol");a.protocol=a.protocol.replace(/:$/,"")}if(function(e){let t;e.auth&&(t=e.auth.match(/^(.+):(.+)$/),t?(e.username=t[1],e.password=t[2]):e.username=e.auth)}(a),a.query&&"string"==typeof a.query.clientId&&(a.clientId=a.query.clientId),a.cert&&a.key){if(!a.protocol)throw new Error("Missing secure protocol key");if(-1===["mqtts","wss","wxs","alis"].indexOf(a.protocol))switch(a.protocol){case"mqtt":a.protocol="mqtts";break;case"ws":a.protocol="wss";break;case"wx":a.protocol="wxs";break;case"ali":a.protocol="alis";break;default:throw new Error('Unknown protocol for secure connection: "'+a.protocol+'"!')}}if(!o[a.protocol]){const e=-1!==["mqtts","wss"].indexOf(a.protocol);a.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter(function(t,n){return(!e||n%2!=0)&&"function"==typeof o[t]})[0]}if(!1===a.clean&&!a.clientId)throw new Error("Missing clientId for unclean clients");a.protocol&&(a.defaultProtocol=a.protocol);const s=new e(function(e){return a.servers&&(e._reconnectCount&&e._reconnectCount!==a.servers.length||(e._reconnectCount=0),a.host=a.servers[e._reconnectCount].host,a.port=a.servers[e._reconnectCount].port,a.protocol=a.servers[e._reconnectCount].protocol?a.servers[e._reconnectCount].protocol:a.defaultProtocol,a.hostname=a.host,e._reconnectCount++),i("calling streambuilder for",a.protocol),o[a.protocol](e,a)},a);return s.on("error",function(){}),s}return void 0!==T&&"browser"!==T.title||"function"!=typeof __webpack_require__?(o.mqtt=cl(),o.tcp=cl(),o.ssl=ul(),o.tls=ul(),o.mqtts=ul()):(o.wx=Tl(),o.wxs=Tl(),o.ali=Ml(),o.alis=Ml()),o.ws=Ll(),o.wss=Ll(),Fe.exports=a,Fe.exports.connect=a,Fe.exports.MqttClient=e,Fe.exports.Store=t,Fe.exports}());var Bl=new class{constructor(){t(this,"client",null),t(this,"subscriptions",new Map),t(this,"stateListeners",new Set),t(this,"connected",!1),t(this,"reconnectAttempts",0),t(this,"refCount",0)}connect(){if(this.refCount=this.refCount+1,!this.client){var e=re().mqttUrl;console.info("[MQTT] Connecting to",e);var t=this;try{this.client=Nl.connect(e,{reconnectPeriod:5e3,connectTimeout:1e4,keepalive:30,clean:!0,protocolVersion:4}),this.client.on("connect",function(){console.info("[MQTT] Connected"),t.connected=!0,t.reconnectAttempts=0,t.notifyState(!0),t.subscriptions.forEach(function(e,n){t.client&&t.client.subscribe(n,function(e){e&&console.error("[MQTT] Re-subscribe failed for",n,e)})})}),this.client.on("message",function(e,n){try{var r=JSON.parse(n.toString());t.dispatch(r)}catch(i){console.error("[MQTT] Failed to parse message:",i)}}),this.client.on("close",function(){console.info("[MQTT] Connection closed"),t.connected=!1,t.notifyState(!1)}),this.client.on("reconnect",function(){t.reconnectAttempts=t.reconnectAttempts+1,console.info("[MQTT] Reconnecting (attempt",t.reconnectAttempts,")")}),this.client.on("error",function(e){console.error("[MQTT] Error:",e)})}catch(n){console.error("[MQTT] Failed to create client:",n)}}}disconnect(){if(this.refCount=Math.max(0,this.refCount-1),!(this.refCount>0)){if(this.client){try{this.client.end(!0)}catch(e){}this.client=null}this.connected=!1,this.reconnectAttempts=0,this.notifyState(!1)}}subscribe(e,t){var n="lightman/devices/"+e+"/events",r=this.subscriptions.get(n);r||(r=new Set,this.subscriptions.set(n,r),this.client&&this.connected&&this.client.subscribe(n,function(e){e?console.error("[MQTT] Subscribe failed for",n,e):console.info("[MQTT] Subscribed to",n)})),r.add(t)}unsubscribe(e,t){var n="lightman/devices/"+e+"/events",r=this.subscriptions.get(n);r&&(r.delete(t),0===r.size&&(this.subscriptions.delete(n),this.client&&this.connected&&this.client.unsubscribe(n,function(e){e&&console.error("[MQTT] Unsubscribe failed for",n,e)})))}onStateChange(e){this.stateListeners.add(e)}offStateChange(e){this.stateListeners.delete(e)}isConnected(){return this.connected}dispatch(e){var t="lightman/devices/"+e.controllerId+"/events",n=this.subscriptions.get(t);n&&n.forEach(function(t){try{t(e)}catch(n){console.error("[MQTT] Error in event listener:",n)}})}notifyState(e){this.stateListeners.forEach(function(t){try{t(e)}catch(n){console.error("[MQTT] Error in state listener:",n)}})}};function Fl(e){var t=e.controllerId,n=void 0===e.enabled||e.enabled,[r,i]=R.useState(!1),[o,a]=R.useState(null),s=R.useRef(new Map);return R.useEffect(function(){if(n&&t){Bl.connect();var e=function(e){i(e)},r=function(e){a(e);var t=s.current.get(e.type);t&&t.forEach(function(t){try{"button:press"===e.type&&void 0!==e.buttonId?t(e.buttonId):"proximity:enter"===e.type&&void 0!==e.distance?t(e.distance):t()}catch(n){console.error("[useMqtt] Callback error:",n)}})};return Bl.onStateChange(e),Bl.subscribe(t,r),i(Bl.isConnected()),function(){Bl.offStateChange(e),Bl.unsubscribe(t,r),Bl.disconnect()}}},[t,n]),{isConnected:r,lastEvent:o}}function Dl(e){var t=e.controllerId,n=void 0===e.enabled||e.enabled,r=e.debounceMs||200,[i,o]=R.useState(!1),a=R.useRef(null),s=R.useRef(r);s.current=r;var l=Fl({controllerId:t,enabled:n}),c=R.useRef(function(e){null!==a.current&&clearTimeout(a.current),a.current=setTimeout(function(){o(e),a.current=null},s.current)});return R.useEffect(function(){if(l.lastEvent){var e=l.lastEvent;return"monophone:pickup"!==e.type&&"monophone:hangup"!==e.type||c.current("monophone:pickup"===e.type),function(){null!==a.current&&clearTimeout(a.current)}}},[l.lastEvent]),R.useEffect(function(){if(n){var e=null,r=!1;return function n(){try{(e=new WebSocket("ws://127.0.0.1:3402")).onmessage=function(e){try{var n=JSON.parse(e.data);if("hardware:event"!==n.type||!n.payload)return;if(t&&n.payload.controllerId&&n.payload.controllerId!==t)return;"monophone:pickup"===n.payload.type?c.current(!0):"monophone:hangup"===n.payload.type&&c.current(!1)}catch(r){}},e.onclose=function(){r||setTimeout(n,2e3)}}catch(i){}}(),function(){r=!0,null==e||e.close()}}},[t,n]),{isPickedUp:i,isConnected:l.isConnected}}function zl(e){var{deviceId:t,templateType:n,instanceId:r,enabled:i=!0}=e,o=R.useRef(Date.now()),a=R.useRef("loading"),s=R.useRef(void 0),l=R.useCallback(function(e){a.current=e},[]),c=R.useCallback(function(e){s.current=e},[]);return R.useEffect(function(){if(i){l();var e=setInterval(l,re().heartbeatInterval);return function(){clearInterval(e)}}function r(){var e=performance;if(e&&e.memory)return e.memory.usedJSHeapSize}function l(){var e={deviceId:t,status:a.current,currentContent:s.current,templateType:n,uptime:Math.floor((Date.now()-o.current)/1e3),memoryUsage:r(),timestamp:Date.now()};"connected"!==he.getState()?async function(e,t){var n=ce()+"/devices/"+encodeURIComponent(e)+"/heartbeat";await de(n,{method:"POST",headers:le(),body:JSON.stringify(t)})}(t,e).catch(function(e){}):he.send("heartbeat",e)}},[t,n,r,i]),{setStatus:l,setCurrentContent:c}}function Ul(e){var t=Ee(),n=e.config,r=n.mode||"single",i=1e3*(n.delay||1),o=void 0!==n.loop&&n.loop,a=1e3*(void 0!==n.silenceGap?n.silenceGap:3),s=Dl({controllerId:n.controllerId,enabled:!0}),l=function(e){var t=e.controllerId,n=void 0===e.enabled||e.enabled,[r,i]=R.useState(null),[o,a]=R.useState(0),s=Fl({controllerId:t,enabled:n});return R.useEffect(function(){if(s.lastEvent){var e=s.lastEvent;"button:press"===e.type&&void 0!==e.buttonId&&(i(e.buttonId),a(e.timestamp))}},[s.lastEvent]),{lastButtonId:r,lastPressTime:o,isConnected:s.isConnected}}({controllerId:n.controllerId,enabled:"multi"===r}),[c,u]=R.useState(!1),[f,d]=R.useState(!1),p=s.isPickedUp||c,{setStatus:h,setCurrentContent:y}=zl({deviceId:re().deviceId,templateType:"single"===r?"monophone-audio":"button-audio",instanceId:e.instanceId}),[g,m]=R.useState(null),[v,b]=R.useState(!1),w=R.useRef(null),_=R.useRef(0),x=R.useRef(!1),S=R.useRef(!0),k=R.useRef(null),E=R.useRef(null),I=R.useRef(!1),C=R.useRef(!1);R.useEffect(function(){C.current=p},[p]),R.useEffect(function(){return S.current=!0,function(){S.current=!1,_.current&&(cancelAnimationFrame(_.current),_.current=0),null!==k.current&&(clearTimeout(k.current),k.current=null),null!==E.current&&(clearTimeout(E.current),E.current=null);var e=w.current;e&&(e.pause(),e.currentTime=0)}},[]);var T=R.useCallback(function(){_.current&&(cancelAnimationFrame(_.current),_.current=0),null!==k.current&&(clearTimeout(k.current),k.current=null),null!==E.current&&(clearTimeout(E.current),E.current=null)},[]),M=R.useCallback(function(){var e=w.current;if(e){var t=n.fadeOutDuration||1e3,r=e.volume,i=-1;_.current&&(cancelAnimationFrame(_.current),_.current=0),_.current=requestAnimationFrame(function n(o){if(S.current){i<0&&(i=o);var a=(o-i)/t;if(a>=1)return e&&(e.volume=0,e.pause(),e.currentTime=0,e.volume=1),_.current=0,x.current=!1,void(S.current&&b(!1));var s=r*(1-a);e&&(e.volume=Math.max(0,s)),_.current=requestAnimationFrame(n)}})}},[n.fadeOutDuration]),A=R.useCallback(function(){T();var e=w.current;e&&(e.pause(),e.currentTime=0,e.volume=1),x.current=!1,b(!1),m(null),I.current=!1},[T]),O=R.useCallback(function(e,t){var n=w.current;if(n){T(),n.pause(),n.currentTime=0,e&&(n.src=e,n.load()),n.volume=1;var o=!1!==t?i:0,a=function(){if(S.current&&n&&(C.current||"single"===r)){var e;try{e=n.play()}catch(t){return}e&&"function"==typeof e.then?e.then(function(){S.current&&(x.current=!0,b(!0))}).catch(function(e){if(console.error("[MonophoneAudio] Audio play failed:",e),"NotAllowedError"===e.name){var t=function(){S.current&&n&&(n.play().then(function(){S.current&&(x.current=!0,b(!0))}).catch(function(){}),document.removeEventListener("pointerdown",t),document.removeEventListener("keydown",t))};document.addEventListener("pointerdown",t,{once:!0}),document.addEventListener("keydown",t,{once:!0})}}):(x.current=!0,b(!0))}};o>0?k.current=setTimeout(function(){k.current=null,a()},o):a()}},[i,T,r]),P=R.useCallback(function(){if(S.current)if(x.current=!1,b(!1),"single"===r)o&&C.current&&O(void 0,!1);else if("multi"===r){if(m(null),!C.current)return;E.current=setTimeout(function(){E.current=null,S.current&&C.current&&n.welcomeMessage&&O(n.welcomeMessage,!1)},a)}},[r,o,O,n.welcomeMessage,a]),j=R.useCallback(function(){if(S.current){x.current=!1,b(!1),h("error");var e=w.current?w.current.src:"unknown";t.send("error",{type:"playback",message:"Audio failed to load: "+e})}},[h]);R.useEffect(function(){"single"===r&&(p?O(n.audioUrl):(T(),x.current&&M()))},[r,p,n.audioUrl,O,M,T]),R.useEffect(function(){"multi"===r&&(p?n.welcomeMessage&&(I.current=!0,O(n.welcomeMessage)):A())},[r,p]);var L=R.useCallback(function(e){C.current&&(m(e),O(e.audioUrl,!1))},[O]),N=R.useCallback(function(){var e=w.current;e&&(e.pause(),e.currentTime=0),x.current=!1,b(!1),m(null),C.current&&n.welcomeMessage&&(E.current=setTimeout(function(){E.current=null,S.current&&C.current&&O(n.welcomeMessage,!1)},a))},[n.welcomeMessage,a,O]);R.useEffect(function(){if("multi"===r&&null!==l.lastButtonId){for(var e,t=(n.buttons||[]).slice(0,8),i=0;i<t.length;i++)if(t[i].buttonId===l.lastButtonId){e=t[i];break}e&&L(e)}},[r,l.lastButtonId,l.lastPressTime]),R.useEffect(function(){"single"===r?p?(h("playing"),y(n.audioUrl)):(h("idle"),y(void 0)):g&&v?(h("playing"),y(g.audioUrl)):p?(h("playing"),y(void 0)):(h("idle"),y(void 0))},[r,p,g,v,n.audioUrl,h,y]);var B=!p;return _e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",backgroundColor:"#000",overflow:"hidden"},children:[_e.jsx("audio",{ref:w,src:"single"===r?n.audioUrl:void 0,preload:"auto",onEnded:P,onError:j}),"single"===r?_e.jsx(Wl,{cfg:n,isPickedUp:p,isPlaying:v}):_e.jsx(Zl,{cfg:n,activeButton:g,isPlaying:v,onButtonTap:L,onStop:N,isPickedUp:p}),n.idle&&_e.jsx(Re,{isIdle:B,idle:n.idle}),_e.jsx(Kl,{mode:r,show:f,onToggle:function(){d(!f)},isPickedUp:c,onPickup:function(){u(!0)},onHangup:function(){u(!1)},buttons:(n.buttons||[]).slice(0,8),onButtonPress:L})]})}function Wl(e){var t=e.cfg,n=e.isPickedUp,r={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:t.idleImageUrl?"url("+t.idleImageUrl+")":"none",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",transform:"translateZ(0)"},i={position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:10,opacity:n?1:0,transition:"opacity 400ms ease-in-out",pointerEvents:"none",transform:"translateZ(0)"};return _e.jsxs(_e.Fragment,{children:[t.idleVideoUrl?_e.jsx(je,{src:t.idleVideoUrl,muted:!1,fit:"cover",backgroundColor:"#000",loop:!0,autoPlay:!0}):t.idleImageUrl?_e.jsx("div",{style:r}):null,_e.jsxs("div",{style:i,children:[_e.jsx("div",{style:{width:"120px",height:"120px",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.15)",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px",transform:"translateZ(0)"},children:_e.jsx(Vl,{})}),_e.jsx(Gl,{isPlaying:n}),_e.jsx("div",{style:{color:"#ffffff",fontSize:"18px",fontWeight:"500",letterSpacing:"2px",textTransform:"uppercase",marginTop:"16px",opacity:.8},children:"Now Playing"})]})]})}function Zl(e){var t=e.cfg,n=e.activeButton,r=e.isPlaying,i=e.onButtonTap,o=e.onStop,a=(t.buttons||[]).slice(0,8),s=a.length>=4,l={position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px",boxSizing:"border-box",opacity:n?0:1,transition:"opacity 400ms ease-in-out",pointerEvents:n?"none":"auto",zIndex:n?1:5,transform:"translateZ(0)"},c={display:"grid",gridTemplateColumns:s?"1fr 1fr":"1fr",gap:"20px",width:"100%",maxWidth:s?"700px":"400px",transform:"translateZ(0)"},u={position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",opacity:n?1:0,transition:"opacity 400ms ease-in-out",pointerEvents:n?"auto":"none",zIndex:n?5:1,transform:"translateZ(0)"};return _e.jsxs(_e.Fragment,{children:[_e.jsxs("div",{style:l,children:[_e.jsx("div",{style:{color:"#ffffff",fontSize:"28px",fontWeight:"600",letterSpacing:"3px",textTransform:"uppercase",marginBottom:"40px",opacity:.7,textAlign:"center"},children:"Select a Track"}),_e.jsx("div",{style:c,children:a.map(function(e){return _e.jsx(ql,{button:e,isActive:null!==n&&n.buttonId===e.buttonId,onTap:function(){i(e)}},e.buttonId)})})]}),_e.jsxs("div",{style:u,children:[n&&n.videoUrl?_e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"translateZ(0)"},children:_e.jsx(je,{src:n.videoUrl,muted:!1,fit:"cover",backgroundColor:"#000",loop:!0,autoPlay:!0})}):n&&n.imageUrl?_e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",transform:"translateZ(0)",backgroundImage:"url("+n.imageUrl+")"}}):_e.jsx(Hl,{isPlaying:r}),n&&_e.jsxs("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",padding:"32px",boxSizing:"border-box",background:"linear-gradient(transparent, rgba(0,0,0,0.8))",display:"flex",flexDirection:"column",alignItems:"center",zIndex:10,transform:"translateZ(0)"},children:[_e.jsx("div",{style:{color:"#ffffff",fontSize:"14px",fontWeight:"500",letterSpacing:"2px",textTransform:"uppercase",opacity:.6,marginBottom:"8px"},children:"Now Playing"}),_e.jsx("div",{style:{color:"#ffffff",fontSize:"24px",fontWeight:"600",textAlign:"center",marginBottom:"16px"},children:n.label}),_e.jsx(Gl,{isPlaying:r}),_e.jsx("div",{onClick:o,onTouchEnd:function(e){e.preventDefault(),o()},style:{marginTop:"24px",padding:"10px 28px",borderRadius:"24px",border:"1px solid rgba(255,255,255,0.3)",color:"#ffffff",fontSize:"14px",fontWeight:"500",cursor:"pointer",opacity:.7,transition:"opacity 200ms",userSelect:"none",WebkitTapHighlightColor:"transparent"},children:"← Back to Tracks"})]})]})]})}function ql(e){var t=e.button,n=e.isActive,r=e.onTap,i={position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"24px 16px",borderRadius:"16px",backgroundColor:n?"rgba(255, 255, 255, 0.15)":"rgba(255, 255, 255, 0.06)",border:n?"2px solid rgba(255, 255, 255, 0.6)":"2px solid rgba(255, 255, 255, 0.12)",boxShadow:n?"0 0 24px rgba(255, 255, 255, 0.2)":"none",cursor:"pointer",userSelect:"none",WebkitTapHighlightColor:"transparent",transition:"all 300ms ease-in-out",overflow:"hidden",transform:"translateZ(0)",minHeight:"100px"},o={width:"48px",height:"48px",borderRadius:"50%",backgroundColor:n?"rgba(255, 255, 255, 0.25)":"rgba(255, 255, 255, 0.1)",border:n?"2px solid rgba(255, 255, 255, 0.5)":"2px solid rgba(255, 255, 255, 0.2)",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"12px",transition:"all 300ms ease-in-out",transform:"translateZ(0)"},a={color:"#ffffff",fontSize:"20px",fontWeight:"700",opacity:n?1:.7},s={color:"#ffffff",fontSize:"16px",fontWeight:"500",textAlign:"center",opacity:n?1:.8,lineHeight:"1.3",transition:"opacity 300ms ease-in-out"};return _e.jsxs("div",{style:i,onClick:r,onTouchEnd:function(e){e.preventDefault(),r()},children:[t.imageUrl&&_e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",opacity:.2,pointerEvents:"none",transform:"translateZ(0)",backgroundImage:"url("+t.imageUrl+")"}}),_e.jsx("div",{style:{...o,pointerEvents:"none"},children:_e.jsx("span",{style:a,children:t.buttonId})}),_e.jsx("div",{style:{...s,pointerEvents:"none"},children:t.label})]})}function Hl(e){var t=e.isPlaying,n={width:t?"200px":"120px",height:t?"200px":"120px",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"2px solid rgba(255, 255, 255, 0.15)",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 600ms ease-in-out",transform:"translateZ(0)"},r={width:t?"120px":"80px",height:t?"120px":"80px",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.08)",border:"2px solid rgba(255, 255, 255, 0.1)",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 600ms ease-in-out",transform:"translateZ(0)"};return _e.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#0a0a0a",transform:"translateZ(0)"},children:_e.jsx("div",{style:n,children:_e.jsx("div",{style:r,children:_e.jsx(Vl,{size:t?48:32})})})})}function Vl(e){var t=e&&e.size||56,n={width:t+"px",height:t+"px",fill:"#ffffff",opacity:.9,transition:"all 400ms ease-in-out"};return _e.jsx("svg",{style:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:_e.jsx("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})})}function Gl(e){for(var t=e.isPlaying,n=[12,20,32,20,12],r=[0,150,300,450,600],i=[],o=0;o<n.length;o++){var a={width:"4px",height:t?n[o]+"px":"4px",backgroundColor:"#ffffff",borderRadius:"2px",transition:"height 300ms ease-in-out",transitionDelay:r[o]+"ms",opacity:.8,transform:"translateZ(0)"};i.push(_e.jsx("div",{style:a},o))}return _e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"3px",height:"40px"},children:i})}function Kl(e){var t=e.show,n=e.onToggle,r=e.isPickedUp,i=e.onPickup,o=e.onHangup,a=e.mode,s=e.buttons,l=e.onButtonPress,c=R.useRef(0),u=R.useRef(null),f=R.useCallback(function(){c.current=c.current+1,null!==u.current&&clearTimeout(u.current),c.current>=3?(c.current=0,n()):u.current=setTimeout(function(){c.current=0,u.current=null},600)},[n]),d={position:"absolute",top:0,right:0,width:"60px",height:"60px",zIndex:9999,cursor:"default",background:"transparent"};if(!t)return _e.jsx("div",{style:d,onClick:f});var p={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"8px 16px",borderRadius:"8px",border:"none",cursor:"pointer",fontSize:"13px",fontWeight:"600",transition:"all 150ms",userSelect:"none",WebkitTapHighlightColor:"transparent"},h={...p,backgroundColor:r?"#dc2626":"#16a34a",color:"#fff",width:"100%"},y={...p,backgroundColor:"rgba(255, 255, 255, 0.1)",color:"#fff",border:"1px solid rgba(255, 255, 255, 0.2)",padding:"6px 12px",fontSize:"12px",flex:"1"},g={width:"8px",height:"8px",borderRadius:"50%",backgroundColor:r?"#22c55e":"#ef4444",display:"inline-block",marginRight:"6px"};return _e.jsxs(_e.Fragment,{children:[_e.jsx("div",{style:d,onClick:f}),_e.jsxs("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:9998,backgroundColor:"rgba(0, 0, 0, 0.85)",border:"1px solid rgba(255, 255, 255, 0.2)",borderRadius:"12px",padding:"16px",minWidth:"200px",maxWidth:"280px",color:"#fff",fontFamily:"system-ui, sans-serif",fontSize:"13px"},children:[_e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",paddingBottom:"8px",borderBottom:"1px solid rgba(255, 255, 255, 0.15)"},children:[_e.jsx("span",{style:{fontWeight:"700",letterSpacing:"0.5px"},children:"TEST SIM"}),_e.jsx("button",{onClick:n,style:{width:"36px",height:"36px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",border:"none",backgroundColor:"rgba(255, 255, 255, 0.15)",color:"#fff",fontSize:"20px",fontWeight:"300",cursor:"pointer",transition:"background-color 150ms ease",WebkitTapHighlightColor:"transparent"},children:"×"})]}),_e.jsxs("div",{style:{marginBottom:"12px",fontSize:"12px",opacity:.7},children:[_e.jsx("span",{style:g}),"Handset: ",r?"PICKED UP":"ON HOOK"]}),_e.jsx("div",{style:h,onClick:function(){r?o():i()},children:r?"Hang Up":"Pick Up"}),"multi"===a&&s.length>0&&_e.jsxs("div",{style:{marginTop:"12px"},children:[_e.jsx("div",{style:{fontSize:"11px",opacity:.5,marginBottom:"6px",textTransform:"uppercase",letterSpacing:"1px"},children:"Buttons"}),_e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"6px"},children:s.map(function(e){return _e.jsxs("div",{style:y,onClick:function(){l(e)},children:[e.buttonId,": ",e.label||"—"]},e.buttonId)})})]}),_e.jsx("div",{style:{marginTop:"12px",fontSize:"11px",opacity:.4,lineHeight:"1.4"},children:"Triple-click top-right corner to hide"})]})]})}function Yl(e){var t=e.show,n=e.onToggle,r=e.isTriggered,i=e.onTrigger,o=e.onStop,a=R.useRef(0),s=R.useRef(null),l=R.useCallback(function(){a.current=a.current+1,null!==s.current&&clearTimeout(s.current),a.current>=3?(a.current=0,n()):s.current=setTimeout(function(){a.current=0,s.current=null},600)},[n]),c={position:"absolute",top:0,right:0,width:"60px",height:"60px",zIndex:9999,cursor:"default",background:"transparent"};if(!t)return _e.jsx("div",{style:c,onClick:l});var u={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"8px 16px",borderRadius:"8px",border:"none",cursor:"pointer",fontSize:"13px",fontWeight:"600",userSelect:"none",WebkitTapHighlightColor:"transparent",backgroundColor:r?"#dc2626":"#16a34a",color:"#fff",width:"100%"},f={width:"8px",height:"8px",borderRadius:"50%",backgroundColor:r?"#22c55e":"#ef4444",display:"inline-block",marginRight:"6px"};return _e.jsxs(_e.Fragment,{children:[_e.jsx("div",{style:c,onClick:l}),_e.jsxs("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:9998,backgroundColor:"rgba(0, 0, 0, 0.85)",border:"1px solid rgba(255, 255, 255, 0.2)",borderRadius:"12px",padding:"16px",minWidth:"200px",color:"#fff",fontFamily:"system-ui, sans-serif",fontSize:"13px"},children:[_e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",paddingBottom:"8px",borderBottom:"1px solid rgba(255, 255, 255, 0.15)"},children:[_e.jsx("span",{style:{fontWeight:"700",letterSpacing:"0.5px"},children:"TEST SIM"}),_e.jsx("button",{onClick:n,style:{width:"36px",height:"36px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",border:"none",backgroundColor:"rgba(255, 255, 255, 0.15)",color:"#fff",fontSize:"20px",fontWeight:"300",cursor:"pointer",transition:"background-color 150ms ease",WebkitTapHighlightColor:"transparent"},children:"×"})]}),_e.jsxs("div",{style:{marginBottom:"12px",fontSize:"12px",opacity:.7},children:[_e.jsx("span",{style:f}),"Video: ",r?"PLAYING":"IDLE"]}),_e.jsx("div",{style:u,onClick:function(){r?o():i()},children:r?"Stop Video":"Trigger Video"}),_e.jsx("div",{style:{marginTop:"12px",fontSize:"11px",opacity:.4,lineHeight:"1.4"},children:"Triple-click top-right corner to hide"})]})]})}function $l({src:e,fit:t="cover",backgroundColor:n="#000"}){var[r,i]=R.useState(!1),[o,a]=R.useState(!1);return o?_e.jsx("div",{style:{width:"100%",height:"100%",backgroundColor:n,display:"flex",alignItems:"center",justifyContent:"center"},children:_e.jsx("span",{style:{color:"#666",fontSize:"14px"},children:"Image unavailable"})}):_e.jsx("div",{style:{position:"relative",width:"100%",height:"100%",backgroundColor:n,overflow:"hidden"},children:_e.jsx("img",{src:e,alt:"",onLoad:function(){i(!0)},onError:function(){a(!0)},style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:t,opacity:r?1:0,transition:"opacity 300ms ease-in-out",transform:"translateZ(0)"},draggable:!1})})}function Ql({contentKey:e,children:t,transition:n,transitionDuration:r,onTransitionComplete:i}){var[o,a]=R.useState({front:{key:e,content:t},back:null}),[s,l]=R.useState(!1),c=R.useRef(null),u=R.useRef(null),f=R.useRef(e);return R.useEffect(function(){if(e!==f.current)return f.current=e,"none"===n?(a({front:{key:e,content:t},back:null}),void(i&&i())):(a(function(n){return{front:n.front,back:{key:e,content:t}}}),u.current=requestAnimationFrame(function(){u.current=requestAnimationFrame(function(){u.current=null,l(!0)})}),c.current&&clearTimeout(c.current),c.current=setTimeout(function(){l(!1),a({front:{key:e,content:t},back:null}),i&&i()},r),function(){c.current&&(clearTimeout(c.current),c.current=null),null!==u.current&&(cancelAnimationFrame(u.current),u.current=null)});a(function(n){return{...n,front:{key:e,content:t}}})},[e]),_e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[_e.jsx("div",{style:function(){var e={position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"translateZ(0)"};if(!s||!o.back)return e;var t=r+"ms";switch(n){case"fade":return{...e,opacity:0,transition:"opacity "+t+" ease-in-out"};case"slide-left":return{...e,transform:"translateX(-100%) translateZ(0)",transition:"transform "+t+" ease-in-out"};case"slide-right":return{...e,transform:"translateX(100%) translateZ(0)",transition:"transform "+t+" ease-in-out"};case"dissolve":return{...e,opacity:0,transition:"opacity "+t+" steps(8)"};default:return e}}(),children:o.front.content}),o.back&&_e.jsx("div",{style:function(){var e={position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"translateZ(0)"};if(!s)switch(n){case"fade":case"dissolve":default:return{...e,opacity:0};case"slide-left":return{...e,transform:"translateX(100%) translateZ(0)"};case"slide-right":return{...e,transform:"translateX(-100%) translateZ(0)"}}var t=r+"ms";switch(n){case"fade":return{...e,opacity:1,transition:"opacity "+t+" ease-in-out"};case"slide-left":case"slide-right":return{...e,transform:"translateX(0) translateZ(0)",transition:"transform "+t+" ease-in-out"};case"dissolve":return{...e,opacity:1,transition:"opacity "+t+" steps(8)"};default:return e}}(),children:o.back.content})]})}function Xl(e){var t=e.playlistId,n=e.defaultDuration,r=e.shuffle,i=e.loop,o=void 0===e.enabled||e.enabled,a=R.useState([]),s=a[0],l=a[1],c=R.useState(0),u=c[0],f=c[1],d=R.useState(!0),p=d[0],h=d[1],y=R.useState(null),g=y[0],m=y[1],v=R.useRef(null),b=R.useRef(!0),w=R.useRef(0);var _=R.useCallback(async function(){if(t&&o){w.current=w.current+1;var e=w.current;h(!0),m(null);try{var n=await async function(e){var t=ce()+"/playlists/"+encodeURIComponent(e),n=await de(t,{method:"GET",headers:le()}),r=(n.items||[]).map(function(e){var t=e.content||{},n=e.config,r=null;if(n&&"object"==typeof n&&!Array.isArray(n))r=n;else if("string"==typeof n)try{var i=JSON.parse(n);i&&"object"==typeof i&&!Array.isArray(i)&&(r=i)}catch(o){r=null}return{id:String(e.id||""),type:t.type||"image",url:String(e.url||""),duration:"number"==typeof e.duration?e.duration:void 0,metadata:r||void 0}});return{id:String(n.id||""),name:String(n.name||""),items:r}}(t);if(!b.current)return;if(e!==w.current)return;var i=n.items||[];r&&(i=function(e){for(var t=e.slice(),n=t.length-1;n>0;n--){var r=Math.floor(Math.random()*(n+1)),i=t[n];t[n]=t[r],t[r]=i}return t}(i)),l(i),h(!1)}catch(a){if(!b.current)return;if(e!==w.current)return;m(a instanceof Error?a:new Error("Failed to fetch playlist")),h(!1)}}},[t,r,o]);R.useEffect(function(){return b.current=!0,_(),function(){b.current=!1}},[_]);var x=R.useCallback(function(){f(function(e){if(0===s.length)return 0;var t=e+1;return t>=s.length?i?0:e:t})},[s.length,i]),S=R.useCallback(function(){f(function(e){if(0===s.length)return 0;var t=e-1;return t<0?i?s.length-1:0:t})},[s.length,i]),k=R.useCallback(function(e){e>=0&&e<s.length&&f(e)},[s.length]),E=R.useCallback(function(){x()},[x]),I=s.length>0&&s[u]||null,C=void 0===e.autoAdvance||e.autoAdvance;R.useEffect(function(){if(!1!==C&&I&&"image"===I.type){v.current&&clearTimeout(v.current);var e=1e3*(I.duration||n);return v.current=setTimeout(function(){E()},e),function(){v.current&&(clearTimeout(v.current),v.current=null)}}},[C,I,u,n,E]),R.useEffect(function(){if(0!==s.length){for(var e=[],t=1;t<=2;t++){var n=u+t;n<s.length?e.push(n):i&&e.push(n%s.length)}e.forEach(function(e){var t=s[e];t&&("image"===t.type&&((new Image).src=t.url))})}},[u,s,i]);var T=R.useCallback(async function(){var e=I?I.id:null;await _(),e&&l(function(t){var n=t.findIndex(function(t){return t.id===e});return n>=0&&f(n),t})},[_,I]),M=s.length>0?s[u+1]||(i?s[0]:null):null;return{items:s,currentItem:I,currentIndex:u,nextItem:M,isLoading:p,error:g,next:x,previous:S,goTo:k,refresh:T,onItemComplete:E}}function Jl(e){var{enabled:t,schedule:n,inactivityTimeout:r=0,hasContent:i=!0,hasContentError:o=!1}=e,[a,s]=R.useState(!1),[l,c]=R.useState(null),u=R.useRef(null),f=R.useRef(null),d=R.useCallback(function(){s(!1),c(null)},[]),p=R.useCallback(function(e){s(!0),c(e||"command")},[]),h=R.useCallback(function(){u.current&&(clearTimeout(u.current),u.current=null),a&&"inactivity"===l&&d(),r>0&&t&&(u.current=setTimeout(function(){s(!0),c("inactivity")},r))},[r,t,a,l,d]);return R.useEffect(function(){t&&(i?"no-content"===l&&(s(!1),c(null)):(s(!0),c("no-content")))},[t,i,l]),R.useEffect(function(){t&&(o?(s(!0),c("content-error")):"content-error"===l&&(s(!1),c(null)))},[t,o,l]),R.useEffect(function(){if(t&&n)return e(),f.current=setInterval(e,6e4),function(){f.current&&clearInterval(f.current)};function e(){(function(e){try{var t=new Date,n=e.activeFrom.split(":"),r=e.activeTo.split(":"),i=60*parseInt(n[0],10)+parseInt(n[1],10),o=60*parseInt(r[0],10)+parseInt(r[1],10),a=60*t.getHours()+t.getMinutes();return i<=o?a>=i&&a<o:a>=i||a<o}catch(s){return!0}})(n)?"schedule"===l&&(s(!1),c(null)):(s(!0),c("schedule"))}},[t,n,l]),R.useEffect(function(){if(t&&!(r<=0))return u.current=setTimeout(function(){s(!0),c("inactivity")},r),document.addEventListener("touchstart",e),document.addEventListener("touchmove",e),document.addEventListener("mousedown",e),document.addEventListener("mousemove",e),document.addEventListener("keydown",e),function(){u.current&&clearTimeout(u.current),document.removeEventListener("touchstart",e),document.removeEventListener("touchmove",e),document.removeEventListener("mousedown",e),document.removeEventListener("mousemove",e),document.removeEventListener("keydown",e)};function e(){h()}},[t,r,h]),R.useEffect(function(){return function(){u.current&&clearTimeout(u.current),f.current&&clearInterval(f.current)}},[]),t?{isIdle:a,idleReason:l,activate:d,deactivate:p,resetInactivityTimer:h}:{isIdle:!1,idleReason:null,activate:function(){},deactivate:function(){},resetInactivityTimer:function(){}}}function ec(e){var{enabled:t=!0,onContentUpdated:n,onPlaylistUpdated:r,onConfigUpdated:i}=e,o=R.useRef(n),a=R.useRef(r),s=R.useRef(i);R.useEffect(function(){o.current=n,a.current=r,s.current=i}),R.useEffect(function(){if(t)return he.on("content:updated",e),he.on("playlist:updated",n),he.on("config:updated",r),function(){he.off("content:updated",e),he.off("playlist:updated",n),he.off("config:updated",r)};function e(e){var t=e.payload;o.current&&t&&t.contentId&&t.newUrl&&o.current(t.contentId,t.newUrl)}function n(e){var t=e.payload;a.current&&t&&t.playlistId&&a.current(t.playlistId)}function r(e){var t=e.payload;s.current&&t&&t.config&&s.current(t.config)}},[t])}function tc(e){var t=e.items,n=e.currentIndex,r=e.isVisible,i=e.thumbSize||80,o=e.onThumbnailTap,a=e.onInteraction,s=e.onTouchActiveChange,l=R.useRef(null),c=R.useRef(null),u=R.useRef([]);R.useEffect(function(){var e=u.current[n];e&&r&&e.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})},[n,r]);var f=t.length>0?(n+1)/t.length*100:0,d={position:"fixed",bottom:0,left:0,right:0,zIndex:100,transform:r?"translateY(0)":"translateY(100%)",transition:"transform 300ms ease-in-out",willChange:"transform",backgroundColor:"rgba(0, 0, 0, 0.7)",touchAction:"pan-x"},p={height:"100%",width:f+"%",backgroundColor:"#fff",transition:"width 300ms ease"};return _e.jsxs("div",{style:d,children:[_e.jsx("div",{style:{height:3,backgroundColor:"rgba(255, 255, 255, 0.2)",width:"100%"},children:_e.jsx("div",{style:p})}),_e.jsx("div",{ref:l,style:{display:"flex",overflowX:"auto",overflowY:"hidden",padding:"10px 8px",gap:8,scrollSnapType:"x mandatory",WebkitOverflowScrolling:"touch",msOverflowStyle:"none",scrollbarWidth:"none"},onTouchStart:function(e){var t=e.touches[0];c.current={x:t.clientX,y:t.clientY},s&&s(!0),a()},onTouchMove:function(){a()},onTouchEnd:function(e){if(s&&s(!1),c.current){var t=e.changedTouches[0],n=Math.abs(t.clientX-c.current.x),r=Math.abs(t.clientY-c.current.y);if(Math.sqrt(n*n+r*r)<10){var i=e.target.closest("[data-thumb-index]");if(i){var a=parseInt(i.getAttribute("data-thumb-index")||"0",10);o(a)}}c.current=null}},onTouchCancel:function(){s&&s(!1),c.current=null},onScroll:function(){a()},onMouseDown:function(e){var t=e.target.closest("[data-thumb-index]");if(t){var n=parseInt(t.getAttribute("data-thumb-index")||"0",10);o(n)}a()},children:t.map(function(e,t){var r=t===n,o={flexShrink:0,width:i,height:i,borderRadius:4,overflow:"hidden",border:r?"2px solid #fff":"2px solid transparent",scrollSnapAlign:"center",cursor:"pointer",opacity:r?1:.6,transition:"border-color 200ms, opacity 200ms",position:"relative",transform:"translateZ(0)"};return _e.jsx("div",{"data-thumb-index":t,ref:function(e){u.current[t]=e},style:o,children:"video"===e.type?_e.jsx("div",{style:{width:"100%",height:"100%",backgroundColor:"#222",display:"flex",alignItems:"center",justifyContent:"center"},children:_e.jsx("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",style:{opacity:.8},children:_e.jsx("path",{d:"M8 5v14l11-7z",fill:"#fff"})})}):_e.jsx("img",{src:e.url,loading:"lazy",draggable:!1,style:{width:"100%",height:"100%",objectFit:"cover",display:"block",pointerEvents:"none"},alt:""})},e.id+"-"+t)})})]})}function nc(e){var t=(e||"").replace(/\r\n/g,"\n").trim();if(!t)return{firstLine:"",remaining:""};var n=t.split("\n").map(function(e){return e.trim()}).filter(function(e){return e.length>0});return 0===n.length?{firstLine:"",remaining:""}:{firstLine:n[0],remaining:n.slice(1).join("\n")}}function rc(e){var t,n,r=e.items,i=e.backgroundColor,o=e.onActivity,a=R.useMemo(function(){return function(e){for(var t,n,r,i,o,a,s,l,c,u={},f=[],d=0;d<e.length;d++){var p=e[d],h=null==(t=p.metadata)?void 0:t.documentIndex;null!=h?(u[h]||(u[h]=[]),u[h].push(p)):f.push(p)}for(var y=[],g=Object.keys(u).map(Number).sort(function(e,t){return e-t}),m=0;m<g.length;m++){var v=u[g[m]],b=v[0];y.push({documentIndex:g[m],pages:v,caption:(null==(n=b.metadata)?void 0:n.documentCaption)||(null==(r=b.metadata)?void 0:r.caption)||"",sourceLabel:(null==(i=b.metadata)?void 0:i.documentSourceLabel)||(null==(o=b.metadata)?void 0:o.sourceLabel)||""})}for(var w=0;w<f.length;w++){var _=f[w];y.push({documentIndex:y.length,pages:[_],caption:(null==(a=_.metadata)?void 0:a.documentCaption)||(null==(s=_.metadata)?void 0:s.caption)||"",sourceLabel:(null==(l=_.metadata)?void 0:l.documentSourceLabel)||(null==(c=_.metadata)?void 0:c.sourceLabel)||""})}return y}(r)},[r]),[s,l]=R.useState("homepage"),[c,u]=R.useState(-1),[f,d]=R.useState(0),[p,h]=R.useState(0),[y,g]=R.useState({top:0,height:100}),[m,v]=R.useState({left:0,top:0,width:0,height:0,visible:!1}),b=R.useRef(null),w=R.useRef([]),_=R.useRef(null),x=R.useRef(null),S=R.useRef(null),k=a[f]||a[0],E=k?k.pages.length:0;R.useEffect(function(){return function(){_.current&&clearTimeout(_.current)}},[]);var I=R.useCallback(function(e){u(e),l("selecting"),o(),_.current=setTimeout(function(){d(e),h(0),g({top:0,height:100}),v({left:0,top:0,width:0,height:0,visible:!1}),l("reading")},1200)},[o]),C=R.useCallback(function(){l("homepage"),u(-1),h(0),b.current&&(b.current.scrollTop=0),o()},[o]),T=R.useCallback(function(){var e=S.current,t=x.current;if(e&&t){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect();if(0!==r.width&&0!==r.height){var i=r.left-n.left,o=r.top-n.top+y.top/100*r.height,a=Math.max(y.height/100*r.height,4),s=y.height>=98;v({left:i,top:o,width:r.width,height:a,visible:!s})}}else v(function(e){return e.visible?{left:0,top:0,width:0,height:0,visible:!1}:e})},[y]);R.useEffect(function(){"reading"===s&&T()},[s,y,p,T]);var M,A,O,P=R.useCallback(function(){if(b.current){for(var e=b.current.getBoundingClientRect(),t=e.top+e.height/2,n=0,r=1/0,i=0;i<w.current.length;i++){var a=w.current[i];if(a){var s=a.getBoundingClientRect(),l=Math.abs(s.top+s.height/2-t);l<r&&(r=l,n=i)}}h(n);var c=w.current[n];if(c){var u=c.getBoundingClientRect();if(u.height>0){var f=Math.max(0,e.top-u.top),d=Math.min(u.height,e.bottom-u.top);g({top:f/u.height*100,height:(d-f)/u.height*100})}}o()}},[o]);return R.useEffect(function(){if("reading"===s){w.current=[],b.current&&(b.current.scrollTop=0);var e=setTimeout(P,250);return function(){clearTimeout(e)}}},[s,f]),a&&0!==a.length?"homepage"===s||"selecting"===s?_e.jsxs("div",{style:{width:"100%",height:"100%",backgroundColor:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",gap:48,padding:"48px 64px"},children:[_e.jsx("style",{children:" .doc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important; } "}),a.map(function(e,t){var n="selecting"===s&&c===t,r=e.pages[0],i=nc(e.caption||""),o=!!i.remaining,a=o&&0!==t?600:400;return _e.jsxs("div",{className:"doc-card",onClick:function(){"homepage"===s&&I(t)},style:{flex:"1 1 0",maxWidth:820,height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:24,cursor:"homepage"===s?"pointer":"default",backgroundColor:n?"rgba(130, 160, 255, 0.18)":"transparent",borderRadius:16,padding:"28px 24px",transition:"background-color 0.35s ease, box-shadow 0.25s ease",boxShadow:"0 2px 12px rgba(0,0,0,0.04)"},children:[_e.jsx("div",{style:{flex:"1 1 0",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:r&&_e.jsx("img",{src:r.url,alt:e.caption||"Document "+(t+1),draggable:!1,style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain",boxShadow:"none"}})}),_e.jsx("div",{style:{textAlign:"center"},children:e.caption?_e.jsxs("div",{style:{color:"#333",fontSize:16,lineHeight:1.35,maxWidth:500,margin:"0 auto",paddingLeft:14,paddingRight:14},children:[_e.jsx("div",{style:{fontWeight:a},children:i.firstLine}),o&&_e.jsx("div",{style:{marginTop:4,fontWeight:400,whiteSpace:"pre-line"},children:i.remaining})]}):_e.jsxs("div",{style:{color:"#999",fontSize:13},children:["Document ",t+1]})})]},e.documentIndex)})]}):_e.jsxs("div",{style:{width:"100%",height:"100%",backgroundColor:"#ffffff",display:"flex",overflow:"hidden"},children:[_e.jsx("style",{children:" .doc-scroll-panel::-webkit-scrollbar { width: 8px; } .doc-scroll-panel::-webkit-scrollbar-track { background: transparent; } .doc-scroll-panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; } .doc-scroll-panel::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); } .doc-home-btn:hover { background-color: rgba(0,0,0,0.65) !important; } "}),_e.jsxs("div",{style:{flex:"1 1 0",height:"100%",position:"relative",borderRight:"1px solid #e0e0e0"},children:[_e.jsx("div",{className:"doc-home-btn",onClick:C,style:{position:"absolute",top:36,left:36,zIndex:30,width:48,height:48,borderRadius:24,backgroundColor:"rgba(0,0,0,0.50)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 200ms",boxShadow:"0 2px 8px rgba(0,0,0,0.2)"},children:_e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:_e.jsx("path",{d:"M3 12L5 10M5 10L12 3L19 10M5 10V20C5 20.55 5.45 21 6 21H9M19 10L21 12M19 10V20C19 20.55 18.55 21 18 21H15M9 21C9.55 21 10 20.55 10 20V16C10 15.45 10.45 15 11 15H13C13.55 15 14 15.45 14 16V20C14 20.55 14.45 21 15 21M9 21H15",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),_e.jsx("div",{ref:b,className:"doc-scroll-panel",onScroll:P,style:{width:"100%",height:"100%",overflowY:"auto",overflowX:"hidden",touchAction:"pan-y"},children:k.pages.map(function(e,t){return _e.jsx("div",{ref:function(e){w.current[t]=e},style:{width:"100%"},children:"video"===e.type?_e.jsx("video",{src:e.url,autoPlay:!0,muted:!1,loop:!0,playsInline:!0,draggable:!1,style:{width:"100%",height:"auto",display:"block",pointerEvents:"none"}}):_e.jsx("img",{src:e.url,alt:"Page "+(t+1),draggable:!1,loading:t>1?"lazy":"eager",onLoad:0===t?P:void 0,style:{width:"100%",height:"auto",display:"block"}})},e.id+"-"+t)})})]}),_e.jsxs("div",{style:{width:420,minWidth:420,height:"100%",display:"flex",flexDirection:"column",alignItems:"center",padding:"28px 24px",backgroundColor:"#f5f5f5"},children:[k.sourceLabel&&_e.jsx("div",{style:{color:"#777",fontSize:11,textAlign:"center",lineHeight:1.5,maxWidth:360},children:k.sourceLabel}),_e.jsxs("div",{style:{width:"100%",flex:"1 1 0",minHeight:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start"},children:[_e.jsxs("div",{ref:x,style:{width:"100%",maxHeight:k.caption?"calc(100% - 44px)":"100%",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:[_e.jsx("img",{ref:S,src:(null==(t=k.pages[p])?void 0:t.url)||(null==(n=k.pages[0])?void 0:n.url),alt:"Page "+(p+1)+" overview",draggable:!1,onLoad:T,style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain",display:"block",border:"1px solid #d0d0d0"}}),m.visible&&_e.jsx("div",{style:{position:"absolute",left:m.left,top:m.top,width:m.width,height:m.height,border:"2px dashed rgba(200, 40, 60, 0.7)",backgroundColor:"rgba(200, 40, 60, 0.04)",pointerEvents:"none",transition:"top 120ms ease-out, height 120ms ease-out",boxSizing:"border-box"}})]}),k.caption&&(M=nc(k.caption),A=!!M.remaining,O=A&&0!==f?600:400,_e.jsxs("div",{style:{marginTop:10,color:"#444",fontSize:14,lineHeight:1.35,textAlign:"center",maxWidth:370,paddingLeft:12,paddingRight:12},children:[_e.jsx("div",{style:{fontWeight:O},children:M.firstLine}),A&&_e.jsx("div",{style:{marginTop:4,fontWeight:400,whiteSpace:"pre-line"},children:M.remaining})]}))]}),_e.jsxs("div",{style:{color:"#888",fontSize:13,marginTop:10},children:["Page ",p+1," of ",E]})]})]}):_e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,color:"#fff",opacity:.4},children:"No documents"})}function ic({mapImageUrl:e,hotspots:t,onInteraction:n}){var r=L.useRef(null),[i,o]=L.useState({scale:1,translateX:0,translateY:0,startDistance:0,startScale:1,startX:0,startY:0,lastTapTime:0}),[a,s]=L.useState(null),l=L.useCallback(function(e){var t=e[0].clientX-e[1].clientX,n=e[0].clientY-e[1].clientY;return Math.sqrt(t*t+n*n)},[]),c=L.useCallback(function(e){if(n(),2===e.touches.length){var t=l(e.touches);o(function(e){return{...e,startDistance:t,startScale:e.scale}})}else if(1===e.touches.length){var r=Date.now(),a=r-i.lastTapTime;o(a<300&&a>0?function(e){var t=1===e.scale?2:1;return{...e,scale:t,translateX:1===t?0:e.translateX,translateY:1===t?0:e.translateY,lastTapTime:0}}:function(t){return{...t,startX:e.touches[0].clientX-t.translateX,startY:e.touches[0].clientY-t.translateY,lastTapTime:r}})}},[n,l,i.lastTapTime]),u=L.useCallback(function(e){if(e.preventDefault(),n(),2===e.touches.length){var t=l(e.touches)/i.startDistance*i.startScale;t=Math.max(1,Math.min(3,t)),o(function(e){return{...e,scale:t}})}else if(1===e.touches.length&&i.scale>1){var a=e.touches[0].clientX-i.startX,s=e.touches[0].clientY-i.startY;if(r.current){var c=r.current.getBoundingClientRect(),u=c.width*(i.scale-1)/2,f=c.height*(i.scale-1)/2;a=Math.max(-u,Math.min(u,a)),s=Math.max(-f,Math.min(f,s))}o(function(e){return{...e,translateX:a,translateY:s}})}},[n,l,i]),f=L.useCallback(function(e){n(),0===e.touches.length&&o(function(e){return{...e,startDistance:0,startX:0,startY:0}})},[n]),d=L.useCallback(function(e){return function(){n(),s(e)}},[n]),p=L.useCallback(function(){n(),s(null)},[n]),h={position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"translate("+i.translateX+"px, "+i.translateY+"px) scale("+i.scale+") translateZ(0)",transition:0===i.startDistance?"transform 0.3s ease-out":"none"},y={position:"absolute",bottom:a?0:"-100%",left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.95)",color:"#fff",padding:"32px",transition:"bottom 0.4s ease-out",maxHeight:"40%",overflowY:"auto",zIndex:1e3,transform:"translateZ(0)"};return _e.jsxs("div",{ref:r,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",touchAction:"none",backgroundColor:"#000"},onTouchStart:c,onTouchMove:u,onTouchEnd:f,children:[_e.jsxs("div",{style:h,children:[_e.jsx("img",{src:e,alt:"Navigation Map",style:{display:"block",width:"100%",height:"100%",objectFit:"contain",pointerEvents:"none"}}),t.map(function(e){var t="you-are-here"===e.id,n={position:"absolute",left:e.x+"%",top:e.y+"%",width:e.width+"%",height:e.height+"%",backgroundColor:t?"transparent":"rgba(255, 200, 50, 0.3)",border:t?"none":"2px solid rgba(255, 200, 50, 0.6)",borderRadius:"8px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:"16px",fontWeight:"bold",textShadow:"0 2px 4px rgba(0, 0, 0, 0.8)",transition:"background-color 0.2s",transform:"translateZ(0)",pointerEvents:"auto"};return t?_e.jsxs("div",{style:n,children:[_e.jsx("div",{style:{width:"20px",height:"20px",backgroundColor:"#ff0000",borderRadius:"50%",animation:"pulse 2s infinite",boxShadow:"0 0 0 0 rgba(255, 0, 0, 0.7)"}}),_e.jsx("style",{children:"@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); } 50% { box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); } }"})]},e.id):_e.jsx("div",{style:n,onClick:d(e),children:e.label},e.id)})]}),_e.jsx("div",{style:y,children:a&&_e.jsxs("div",{children:[_e.jsx("button",{style:{position:"absolute",top:"16px",right:"16px",width:"56px",height:"56px",backgroundColor:"rgba(255, 255, 255, 0.2)",border:"none",borderRadius:"50%",color:"#fff",fontSize:"28px",fontWeight:"300",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transform:"translateZ(0)",transition:"background-color 150ms ease",WebkitTapHighlightColor:"transparent",userSelect:"none"},onClick:p,"aria-label":"Close",children:"×"}),_e.jsx("div",{style:{fontSize:"28px",fontWeight:"bold",marginBottom:"16px",paddingRight:"50px"},children:a.label}),a.description&&_e.jsx("div",{style:{fontSize:"18px",lineHeight:"1.6"},children:a.description})]})})]})}function oc(e){var t=e.items,n=e.categories,r=e.selectedCategory,i=e.onItemSelect,o=e.onCategoryChange,a=R.useRef(null);var s=R.useCallback(function(){if(!n||0===n.length)return null;var e=[L.createElement("button",{key:"all",style:l(null===r),onTouchStart:function(e){e.preventDefault(),o(null)},onClick:function(){o(null)}},"All")];return n.forEach(function(t){e.push(L.createElement("button",{key:t,style:l(r===t),onTouchStart:function(e){e.preventDefault(),o(t)},onClick:function(){o(t)}},t))}),L.createElement("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"80px",backgroundColor:"#1a1a1a",display:"flex",alignItems:"center",justifyContent:"center",gap:"16px",padding:"0 32px",zIndex:10,borderBottom:"1px solid #333"}},e)},[n,r,o]);function l(e){return{minWidth:"120px",height:"48px",padding:"0 24px",fontSize:"16px",fontWeight:e?"600":"400",fontFamily:"system-ui, -apple-system, sans-serif",color:e?"#000":"#fff",backgroundColor:e?"#fff":"#333",border:"none",borderRadius:"8px",cursor:"pointer",userSelect:"none",WebkitTapHighlightColor:"transparent",transform:"translateZ(0)",transition:"background-color 200ms ease"}}var c=R.useCallback(function(){if(0===t.length){return L.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:"#666",fontSize:"18px",fontFamily:"system-ui, -apple-system, sans-serif"}},"No media available")}return t.map(function(e){var t,n=function(e){return"video"===e.type?"video":"image"===e.type&&(e.url.toLowerCase().endsWith(".pdf")||e.metadata&&"pdf"===e.metadata.type)?"pdf":"image"}(e);return L.createElement("div",{key:e.id,style:{position:"relative",width:"100%",aspectRatio:"16 / 9",backgroundColor:"#1a1a1a",borderRadius:"8px",overflow:"hidden",cursor:"pointer",userSelect:"none",WebkitTapHighlightColor:"transparent",transform:"translateZ(0)",transition:"transform 150ms ease"},onTouchStart:function(t){t.preventDefault(),i(e.id)},onClick:function(){i(e.id)}},L.createElement("div",{style:(t=e.url,{width:"100%",height:"100%",backgroundImage:"url("+t+")",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundColor:"#1a1a1a"})}),"video"===n&&L.createElement("div",{style:u("play")}),"pdf"===n&&L.createElement("div",{style:u("pdf")}))})},[t,i]);function u(e){var t={position:"absolute",top:"50%",left:"50%",width:"64px",height:"64px",marginTop:"-32px",marginLeft:"-32px",backgroundColor:"rgba(0, 0, 0, 0.7)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",fontSize:"32px",color:"#fff"};return"play"===e?{...t,width:0,height:0,backgroundColor:"transparent",borderStyle:"solid",borderWidth:"16px 0 16px 28px",borderColor:"transparent transparent transparent rgba(255, 255, 255, 0.9)",marginTop:"-16px",marginLeft:"-14px"}:t}var f=n&&n.length>0?"80px":"0",d={position:"absolute",top:f,left:0,width:"100%",height:"calc(100% - "+f+")",overflowY:"auto",overflowX:"hidden",WebkitOverflowScrolling:"touch",padding:"32px"};return L.createElement("div",{style:{position:"relative",width:"100%",height:"100%",backgroundColor:"#000"}},s(),L.createElement("div",{ref:a,style:d},L.createElement("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:"24px",width:"100%"}},c())))}function ac(e){var t=e.items,n=e.selectedItemId,r=e.onClose,[i,o]=R.useState(!1),[a,s]=R.useState(0),[l,c]=R.useState({scale:1,translateX:0,translateY:0}),u=R.useRef({startX:0,startY:0,currentX:0,currentY:0,isDragging:!1}),f=R.useRef(0),d=R.useRef(null);R.useEffect(function(){var e=t.findIndex(function(e){return e.id===n});e>=0&&s(e),requestAnimationFrame(function(){o(!0)})},[t,n]);var p=t[a];var h=R.useCallback(function(){a<t.length-1&&(s(a+1),c({scale:1,translateX:0,translateY:0}))},[a,t.length]),y=R.useCallback(function(){a>0&&(s(a-1),c({scale:1,translateX:0,translateY:0}))},[a]),g=R.useCallback(function(e){var t=e.touches;if(1===t.length)u.current={startX:t[0].clientX,startY:t[0].clientY,currentX:t[0].clientX,currentY:t[0].clientY,isDragging:!0};else if(2===t.length){var n=t[1].clientX-t[0].clientX,r=t[1].clientY-t[0].clientY,i=Math.sqrt(n*n+r*r);f.current=i}},[]),m=R.useCallback(function(e){var t=e.touches;if(1===t.length&&u.current.isDragging)u.current.currentX=t[0].clientX,u.current.currentY=t[0].clientY;else if(2===t.length){e.preventDefault();var n=t[1].clientX-t[0].clientX,r=t[1].clientY-t[0].clientY,i=Math.sqrt(n*n+r*r),o=(i-f.current)/200,a=Math.max(1,Math.min(4,l.scale+o));c(function(e){return{...e,scale:a}}),f.current=i}},[l.scale]),v=R.useCallback(function(e){var t=u.current;if(t.isDragging&&0===e.touches.length){var n=t.currentX-t.startX,r=t.currentY-t.startY;Math.abs(n)>50&&Math.abs(n)>2*Math.abs(r)&&(n>0?y():h()),u.current.isDragging=!1}},[h,y]),b=R.useCallback(function(e){e.stopPropagation(),o(!1),setTimeout(function(){r()},300)},[r]),w=R.useCallback(function(){if(!p)return null;var e,t="video"===(e=p).type?"video":"image"===e.type&&(e.url.toLowerCase().endsWith(".pdf")||e.metadata&&"pdf"===e.metadata.type)?"pdf":"image";if("video"===t)return L.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},L.createElement(je,{src:p.url,muted:!1,volume:100,fit:"contain",backgroundColor:"#000",loop:!1,autoPlay:!0}));if("image"===t){var n={maxWidth:"100%",maxHeight:"100%",objectFit:"contain",transform:"scale("+l.scale+") translate("+l.translateX+"px, "+l.translateY+"px)",transition:"transform 150ms ease-out",transformOrigin:"center center",userSelect:"none"};return L.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative"}},L.createElement("img",{src:p.url,alt:"",style:n,draggable:!1}))}if("pdf"===t){return L.createElement("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"16px",color:"#fff",fontFamily:"system-ui, -apple-system, sans-serif"}},L.createElement("div",null,"PDF Document"),L.createElement("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"underline",fontSize:"16px",cursor:"pointer"}},"Open PDF"))}return null},[p,l]),_=R.useCallback(function(){return L.createElement("button",{style:{position:"absolute",top:"32px",right:"32px",width:"56px",height:"56px",backgroundColor:"rgba(255, 255, 255, 0.2)",border:"none",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:100,fontSize:"28px",color:"#fff",fontWeight:"300",userSelect:"none",WebkitTapHighlightColor:"transparent",transform:"translateZ(0)",transition:"background-color 150ms ease"},onTouchStart:b,onClick:b},"×")},[b]),x={position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"#000",zIndex:100,opacity:i?1:0,transition:"opacity 300ms ease-in-out",transform:"translateZ(0)"};return L.createElement("div",{ref:d,style:x,onTouchStart:g,onTouchMove:m,onTouchEnd:v},L.createElement("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}},w()),_())}function sc({content:e,autoScroll:t,autoScrollSpeed:n,inactivityTimeout:r,onInteraction:i,backgroundColor:o,fit:a,resetToFirstFrame:s,isIdle:l}){var c=R.useRef(null),u=R.useRef(null),f=R.useRef(0),d=R.useRef(0),p=R.useRef(0),h=R.useRef([]),y=R.useRef(null),g=R.useRef(null),m=R.useRef(0),v=R.useRef(Date.now()),b=R.useRef(0),w=R.useRef(!1),_=R.useCallback(function(){null!==y.current&&(cancelAnimationFrame(y.current),y.current=null),m.current=0},[]),x=R.useCallback(function(){null!==g.current&&(cancelAnimationFrame(g.current),g.current=null)},[]),S=R.useCallback(function(e){var t=b.current,n=Math.max(0,Math.min(e,t));if(f.current=n,u.current){var r="translateY("+-n+"px) translateZ(0)";u.current.style.transform=r}},[]),k=R.useCallback(function(e){_();var t=e,n=function(){if(t*=.95,Math.abs(t)<.5)y.current=null;else{var e=f.current+t;S(e),y.current=requestAnimationFrame(n)}};y.current=requestAnimationFrame(n)},[_,S]),E=R.useCallback(function(){if(c.current&&u.current){var e=c.current.clientHeight,t=u.current.scrollHeight;b.current=Math.max(0,t-e)}},[]),I=R.useCallback(function(e){if(1===e.touches.length){_(),v.current=Date.now(),i&&i();var t=e.touches[0];d.current=t.clientY,p.current=t.clientY,h.current=[{y:t.clientY,time:Date.now()}]}},[_,i]),C=R.useCallback(function(e){if(1===e.touches.length){e.preventDefault();var t=e.touches[0].clientY,n=p.current-t;p.current=t;var r=f.current+n;S(r);var i=Date.now();h.current.push({y:t,time:i}),h.current=h.current.filter(function(e){return i-e.time<100})}},[S]),T=R.useCallback(function(){var e=h.current;if(e.length<2)h.current=[];else{var t=e[0],n=e[e.length-1],r=n.time-t.time;if(r>0){var i=n.y-t.y;k(-i/r*16)}h.current=[]}},[k]),M=R.useCallback(function(e){w.current=!0,_(),v.current=Date.now(),i&&i(),p.current=e.clientY,h.current=[{y:e.clientY,time:Date.now()}],e.preventDefault()},[_,i]),A=R.useCallback(function(e){if(w.current){var t=e.clientY,n=p.current-t;p.current=t;var r=f.current+n;S(r);var i=Date.now();h.current.push({y:t,time:i}),h.current=h.current.filter(function(e){return i-e.time<100})}},[S]),O=R.useCallback(function(){if(w.current){w.current=!1;var e=h.current;if(e.length>=2){var t=e[0],n=e[e.length-1],r=n.time-t.time;if(r>0){var i=n.y-t.y;k(-i/r*16)}}h.current=[]}},[k]);R.useEffect(function(){return window.addEventListener("mousemove",A),window.addEventListener("mouseup",O),function(){window.removeEventListener("mousemove",A),window.removeEventListener("mouseup",O)}},[A,O]);var P=R.useCallback(function(e){e.preventDefault(),_(),v.current=Date.now(),i&&i();var t=f.current+e.deltaY;S(t)},[_,S,i]);R.useEffect(function(){var e=c.current;if(e)return e.addEventListener("wheel",P,{passive:!1}),function(){null==e||e.removeEventListener("wheel",P)}},[P]);var j=R.useCallback(function(){if(t){x();var e=n/60,i=function(){if(Date.now()-v.current>=r){var t=f.current+e;t>=b.current&&(t=0),S(t)}g.current=requestAnimationFrame(i)};g.current=requestAnimationFrame(i)}},[t,n,r,x,S]);R.useEffect(function(){E();var e=function(){E(),S(f.current)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[E,S,e]),R.useEffect(function(){return j(),function(){_(),x()}},[j,_,x]),R.useEffect(function(){if(s&&l){_(),x();var e=f.current;if(0!==e){var t=Date.now(),n=function(){var r=Date.now()-t,i=Math.min(r/800,1),o=1-Math.pow(1-i,3);S(e*(1-o)),i<1&&requestAnimationFrame(n)};requestAnimationFrame(n)}}},[l,s,_,x,S]);var L=R.useCallback(function(){var e=b.current;return 0===e?0:f.current/e},[]);R.useEffect(function(){var e=function(){if(c.current){var t=L(),n=c.current.querySelector("[data-progress-bar]");if(n){var r=c.current.clientHeight,i=10+t*(r-.3*r-20);n.style.top=i+"px"}}requestAnimationFrame(e)},t=requestAnimationFrame(e);return function(){cancelAnimationFrame(t)}},[L]);var N=o||"#000",B={width:"100%",height:"100%",position:"relative",overflow:"hidden",backgroundColor:N,touchAction:"none",cursor:"grab"};return _e.jsxs("div",{ref:c,style:B,onTouchStart:I,onTouchMove:C,onTouchEnd:T,onMouseDown:M,children:[_e.jsx("div",{ref:u,style:{width:"100%",transform:"translateY(0) translateZ(0)",transformOrigin:"top left"},children:e.map(function(e){var t=e.style||{};switch(e.type){case"heading":return _e.jsx("div",{style:{backgroundColor:N,color:"#fff",fontSize:"3rem",fontWeight:"bold",textAlign:"center",padding:"4rem 2rem",fontFamily:"system-ui",...t},children:e.content},e.id);case"text":return _e.jsx("div",{style:{backgroundColor:N,color:"#fff",fontSize:"1.25rem",lineHeight:"1.8",padding:"2rem",fontFamily:"system-ui",...t},children:e.content},e.id);case"image":return _e.jsxs("div",{style:{backgroundColor:N,...t},children:[_e.jsx("img",{src:e.content,alt:e.caption||"",style:{width:"100%",height:a?"100vh":"auto",display:"block",objectFit:a||void 0}}),e.caption&&_e.jsx("div",{style:{color:"#aaa",fontSize:"1rem",padding:"1rem 2rem",fontFamily:"system-ui",fontStyle:"italic"},children:e.caption})]},e.id);case"video":return _e.jsxs("div",{style:{backgroundColor:N,width:"100%",height:"100vh",position:"relative",...t},children:[_e.jsx(je,{src:e.content,loop:!0,autoPlay:!0,muted:!1}),e.caption&&_e.jsx("div",{style:{position:"absolute",bottom:"2rem",left:"2rem",right:"2rem",color:"#fff",fontSize:"1.25rem",padding:"1rem",backgroundColor:"rgba(0, 0, 0, 0.7)",fontFamily:"system-ui"},children:e.caption})]},e.id);default:return null}})}),_e.jsx("div",{"data-progress-bar":!0,style:{position:"absolute",right:"10px",top:"10px",width:"4px",height:"30%",backgroundColor:"rgba(255, 255, 255, 0.4)",borderRadius:"2px",zIndex:1e3,transition:"top 0.1s linear"}})]})}function lc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var uc,fc,dc,pc,hc,yc,gc,mc,vc,bc,wc,_c,xc,Sc,kc,Ec,Ic,Cc,Tc,Mc,Ac,Oc,Pc,jc,Rc,Lc,Nc,Bc,Fc,Dc,zc,Uc,Wc={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Zc={duration:.5,overwrite:!1,delay:0},qc=1e8,Hc=1e-8,Vc=2*Math.PI,Gc=Vc/4,Kc=0,Yc=Math.sqrt,$c=Math.cos,Qc=Math.sin,Xc=function(e){return"string"==typeof e},Jc=function(e){return"function"==typeof e},eu=function(e){return"number"==typeof e},tu=function(e){return void 0===e},nu=function(e){return"object"==typeof e},ru=function(e){return!1!==e},iu=function(){return"undefined"!=typeof window},ou=function(e){return Jc(e)||Xc(e)},au="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},su=Array.isArray,lu=/random\([^)]+\)/g,cu=/,\s*/g,uu=/(?:-?\.?\d|\.)+/gi,fu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,du=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,hu=/[+-]=-?[.\d]+/,yu=/[^,'"\[\]\s]+/gi,gu=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,mu={},vu={},bu=function(e){return(vu=Yu(e,mu))&&$d},wu=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},_u=function(e,t){return!t&&console.warn(e)},xu=function(e,t){return e&&(mu[e]=t)&&vu&&(vu[e]=t)||mu},Su=function(){return 0},ku={suppressEvents:!0,isStart:!0,kill:!1},Eu={suppressEvents:!0,kill:!1},Iu={suppressEvents:!0},Cu={},Tu=[],Mu={},Au={},Ou={},Pu=30,ju=[],Ru="",Lu=function(e){var t,n,r=e[0];if(nu(r)||Jc(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=ju.length;n--&&!ju[n].targetTest(r););t=ju[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new ud(e[n],t)))||e.splice(n,1);return e},Nu=function(e){return e._gsap||Lu(Cf(e))[0]._gsap},Bu=function(e,t,n){return(n=e[t])&&Jc(n)?e[t]():tu(n)&&e.getAttribute&&e.getAttribute(t)||n},Fu=function(e,t){return(e=e.split(",")).forEach(t)||e},Du=function(e){return Math.round(1e5*e)/1e5||0},zu=function(e){return Math.round(1e7*e)/1e7||0},Uu=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},Wu=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Zu=function(){var e,t,n=Tu.length,r=Tu.slice(0);for(Mu={},Tu.length=0,e=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},qu=function(e){return!!(e._initted||e._startAt||e.add)},Hu=function(e,t,n,r){Tu.length&&!fc&&Zu(),e.render(t,n,!!(fc&&t<0&&qu(e))),Tu.length&&!fc&&Zu()},Vu=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(yu).length<2?t:Xc(e)?e.trim():e},Gu=function(e){return e},Ku=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Yu=function(e,t){for(var n in t)e[n]=t[n];return e},$u=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=nu(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Qu=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},Xu=function(e){var t,n=e.parent||pc,r=e.keyframes?(t=su(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}):Ku;if(ru(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Ju=function(e,t,n,r,i){var o,a=e[r];if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},ef=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,o=t._next;i?i._next=o:e[n]===t&&(e[n]=o),o?o._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},tf=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},nf=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},rf=function(e,t,n,r){return e._startAt&&(fc?e._startAt.revert(Eu):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},of=function e(t){return!t||t._ts&&e(t.parent)},af=function(e){return e._repeat?sf(e._tTime,e=e.duration()+e._rDelay)*e:0},sf=function(e,t){var n=Math.floor(e=zu(e/t));return e&&n===e?n-1:n},lf=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},cf=function(e){return e._end=zu(e._start+(e._tDur/Math.abs(e._ts||e._rts||Hc)||0))},uf=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=zu(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),cf(e),n._dirty||nf(n,e)),e},ff=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=lf(e.rawTime(),t),(!t._dur||Sf(0,t.totalDuration(),n)-t._tTime>Hc)&&t.render(n,!0)),nf(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},df=function(e,t,n,r){return t.parent&&tf(t),t._start=zu((eu(n)?n:n||e!==pc?wf(e,n,t):e._time)+t._delay),t._end=zu(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ju(e,t,"_first","_last",e._sort?"_start":0),gf(t)||(e._recent=t),r||ff(e,t),e._ts<0&&uf(e,e._tTime),e},pf=function(e,t){return(mu.ScrollTrigger||wu("scrollTrigger",t))&&mu.ScrollTrigger.create(t,e)},hf=function(e,t,n,r,i){return vd(e,t,i),e._initted?!n&&e._pt&&!fc&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&vc!==Qf.frame?(Tu.push(e),e._lazy=[i,r],1):void 0:1},yf=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},gf=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},mf=function(e,t,n,r){var i=e._repeat,o=zu(t)||0,a=e._tTime/e._tDur;return a&&!r&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:zu(o*(i+1)+e._rDelay*i):o,a>0&&!r&&uf(e,e._tTime=e._tDur*a),e.parent&&cf(e),n||nf(e.parent,e),e},vf=function(e){return e instanceof dd?nf(e):mf(e,e._dur)},bf={_start:0,endTime:Su,totalDuration:Su},wf=function e(t,n,r){var i,o,a,s=t.labels,l=t._recent||bf,c=t.duration()>=qc?l.endTime(!1):t._dur;return Xc(n)&&(isNaN(n)||n in s)?(o=n.charAt(0),a="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(a?(i<0?l:r).totalDuration()/100:1)):i<0?(n in s||(s[n]=c),s[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),a&&r&&(o=o/100*(su(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+o:c+o)):null==n?c:+n},_f=function(e,t,n){var r,i,o=eu(t[1]),a=(o?2:1)+(e<2?0:1),s=t[a];if(o&&(s.duration=t[1]),s.parent=n,e){for(r=s,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=ru(i.vars.inherit)&&i.parent;s.immediateRender=ru(r.immediateRender),e<2?s.runBackwards=1:s.startAt=t[a-1]}return new Sd(t[0],s,t[a+1])},xf=function(e,t){return e||0===e?t(e):t},Sf=function(e,t,n){return n<e?e:n>t?t:n},kf=function(e,t){return Xc(e)&&(t=gu.exec(e))?t[1]:""},Ef=[].slice,If=function(e,t){return e&&nu(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&nu(e[0]))&&!e.nodeType&&e!==hc},Cf=function(e,t,n){return dc&&!t&&dc.selector?dc.selector(e):!Xc(e)||n||!yc&&Xf()?su(e)?function(e,t,n){return void 0===n&&(n=[]),e.forEach(function(e){var r;return Xc(e)&&!t||If(e,1)?(r=n).push.apply(r,Cf(e)):n.push(e)})||n}(e,n):If(e)?Ef.call(e,0):e?[e]:[]:Ef.call((t||gc).querySelectorAll(e),0)},Tf=function(e){return e=Cf(e)[0]||_u("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Cf(t,n.querySelectorAll?n:n===e?_u("Invalid scope")||gc.createElement("div"):e)}},Mf=function(e){return e.sort(function(){return.5-Math.random()})},Af=function(e){if(Jc(e))return e;var t=nu(e)?e:{each:e},n=od(t.ease),r=t.from||0,i=parseFloat(t.base)||0,o={},a=r>0&&r<1,s=isNaN(r)||a,l=t.axis,c=r,u=r;return Xc(r)?c=u={center:.5,edges:.5,end:1}[r]||0:!a&&s&&(c=r[0],u=r[1]),function(e,a,f){var d,p,h,y,g,m,v,b,w,_=(f||t).length,x=o[_];if(!x){if(!(w="auto"===t.grid?0:(t.grid||[1,qc])[1])){for(v=-1e8;v<(v=f[w++].getBoundingClientRect().left)&&w<_;);w<_&&w--}for(x=o[_]=[],d=s?Math.min(w,_)*c-.5:r%w,p=w===qc?0:s?_*u/w-.5:r/w|0,v=0,b=qc,m=0;m<_;m++)h=m%w-d,y=p-(m/w|0),x[m]=g=l?Math.abs("y"===l?y:h):Yc(h*h+y*y),g>v&&(v=g),g<b&&(b=g);"random"===r&&Mf(x),x.max=v-b,x.min=b,x.v=_=(parseFloat(t.amount)||parseFloat(t.each)*(w>_?_-1:l?"y"===l?_/w:w:Math.max(w,_/w))||0)*("edges"===r?-1:1),x.b=_<0?i-_:i,x.u=kf(t.amount||t.each)||0,n=n&&_<0?rd(n):n}return _=(x[e]-x.min)/x.max||0,zu(x.b+(n?n(_):_)*x.v)+x.u}},Of=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=zu(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(eu(n)?0:kf(n))}},Pf=function(e,t){var n,r,i=su(e);return!i&&nu(e)&&(n=i=e.radius||qc,e.values?(e=Cf(e.values),(r=!eu(e[0]))&&(n*=n)):e=Of(e.increment)),xf(t,i?Jc(e)?function(t){return r=e(t),Math.abs(r-t)<=n?r:t}:function(t){for(var i,o,a=parseFloat(r?t.x:t),s=parseFloat(r?t.y:0),l=qc,c=0,u=e.length;u--;)(i=r?(i=e[u].x-a)*i+(o=e[u].y-s)*o:Math.abs(e[u]-a))<l&&(l=i,c=u);return c=!n||l<=n?e[c]:t,r||c===t||eu(t)?c:c+kf(t)}:Of(e))},jf=function(e,t,n,r){return xf(su(e)?!t:!0===n?!!(n=0):!r,function(){return su(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r})},Rf=function(e,t,n){return xf(n,function(n){return e[~~t(n)]})},Lf=function(e){return e.replace(lu,function(e){var t=e.indexOf("[")+1,n=e.substring(t||7,t?e.indexOf("]"):e.length-1).split(cu);return jf(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Nf=function(e,t,n,r,i){var o=t-e,a=r-n;return xf(i,function(t){return n+((t-e)/o*a||0)})},Bf=function(e,t,n){var r,i,o,a=e.labels,s=qc;for(r in a)(i=a[r]-t)<0==!!n&&i&&s>(i=Math.abs(i))&&(o=r,s=i);return o},Ff=function(e,t,n){var r,i,o,a=e.vars,s=a[t],l=dc,c=e._ctx;if(s)return r=a[t+"Params"],i=a.callbackScope||e,n&&Tu.length&&Zu(),c&&(dc=c),o=r?s.apply(i,r):s.call(i),dc=l,o},Df=function(e){return tf(e),e.scrollTrigger&&e.scrollTrigger.kill(!!fc),e.progress()<1&&Ff(e,"onInterrupt"),e},zf=[],Uf=function(e){if(e)if(e=!e.name&&e.default||e,iu()||e.headless){var t=e.name,n=Jc(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Su,render:Pd,add:gd,kill:Rd,modifier:jd,rawVars:0},o={targetTest:0,get:0,getSetter:Td,aliases:{},register:0};if(Xf(),e!==r){if(Au[t])return;Ku(r,Ku(Qu(e,i),o)),Yu(r.prototype,Yu(i,Qu(e,o))),Au[r.prop=t]=r,e.targetTest&&(ju.push(r),Cu[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}xu(t,r),e.register&&e.register($d,r,Bd)}else zf.push(e)},Wf=255,Zf={aqua:[0,Wf,Wf],lime:[0,Wf,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Wf],navy:[0,0,128],white:[Wf,Wf,Wf],olive:[128,128,0],yellow:[Wf,Wf,0],orange:[Wf,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Wf,0,0],pink:[Wf,192,203],cyan:[0,Wf,Wf],transparent:[Wf,Wf,Wf,0]},qf=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*Wf+.5|0},Hf=function(e,t,n){var r,i,o,a,s,l,c,u,f,d,p=e?eu(e)?[e>>16,e>>8&Wf,e&Wf]:0:Zf.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Zf[e])p=Zf[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),i=e.charAt(2),o=e.charAt(3),e="#"+r+r+i+i+o+o+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&Wf,p&Wf,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&Wf,e&Wf]}else if("hsl"===e.substr(0,3))if(p=d=e.match(uu),t){if(~e.indexOf("="))return p=e.match(fu),n&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,s=+p[1]/100,r=2*(l=+p[2]/100)-(i=l<=.5?l*(s+1):l+s-l*s),p.length>3&&(p[3]*=1),p[0]=qf(a+1/3,r,i),p[1]=qf(a,r,i),p[2]=qf(a-1/3,r,i);else p=e.match(uu)||Zf.transparent;p=p.map(Number)}return t&&!d&&(r=p[0]/Wf,i=p[1]/Wf,o=p[2]/Wf,l=((c=Math.max(r,i,o))+(u=Math.min(r,i,o)))/2,c===u?a=s=0:(f=c-u,s=l>.5?f/(2-c-u):f/(c+u),a=c===r?(i-o)/f+(i<o?6:0):c===i?(o-r)/f+2:(r-i)/f+4,a*=60),p[0]=~~(a+.5),p[1]=~~(100*s+.5),p[2]=~~(100*l+.5)),n&&p.length<4&&(p[3]=1),p},Vf=function(e){var t=[],n=[],r=-1;return e.split(Kf).forEach(function(e){var i=e.match(du)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Gf=function(e,t,n){var r,i,o,a,s="",l=(e+s).match(Kf),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map(function(e){return(e=Hf(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(o=Vf(e),(r=n.c).join(s)!==o.c.join(s)))for(a=(i=e.replace(Kf,"1").split(du)).length-1;u<a;u++)s+=i[u]+(~r.indexOf(u)?l.shift()||c+"0,0,0,0)":(o.length?o:l.length?l:n).shift());if(!i)for(a=(i=e.split(Kf)).length-1;u<a;u++)s+=i[u]+l[u];return s+i[a]},Kf=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Zf)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Yf=/hsl[a]?\(/,$f=function(e){var t,n=e.join(" ");if(Kf.lastIndex=0,Kf.test(n))return t=Yf.test(n),e[1]=Gf(e[1],t),e[0]=Gf(e[0],t,Vf(e[1])),!0},Qf=(Cc=Date.now,Tc=500,Mc=33,Ac=Cc(),Oc=Ac,jc=Pc=1e3/240,Lc=function e(t){var n,r,i,o,a=Cc()-Oc,s=!0===t;if((a>Tc||a<0)&&(Ac+=a-Mc),((n=(i=(Oc+=a)-Ac)-jc)>0||s)&&(o=++kc.frame,Ec=i-1e3*kc.time,kc.time=i/=1e3,jc+=n+(n>=Pc?4:Pc-n),r=1),s||(_c=xc(e)),r)for(Ic=0;Ic<Rc.length;Ic++)Rc[Ic](i,Ec,o,t)},kc={time:0,frame:0,tick:function(){Lc(!0)},deltaRatio:function(e){return Ec/(1e3/(e||60))},wake:function(){mc&&(!yc&&iu()&&(hc=yc=window,gc=hc.document||{},mu.gsap=$d,(hc.gsapVersions||(hc.gsapVersions=[])).push($d.version),bu(vu||hc.GreenSockGlobals||!hc.gsap&&hc||{}),zf.forEach(Uf)),Sc="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,_c&&kc.sleep(),xc=Sc||function(e){return setTimeout(e,jc-1e3*kc.time+1|0)},wc=1,Lc(2))},sleep:function(){(Sc?cancelAnimationFrame:clearTimeout)(_c),wc=0,xc=Su},lagSmoothing:function(e,t){Tc=e||1/0,Mc=Math.min(t||33,Tc)},fps:function(e){Pc=1e3/(e||240),jc=1e3*kc.time+Pc},add:function(e,t,n){var r=t?function(t,n,i,o){e(t,n,i,o),kc.remove(r)}:e;return kc.remove(e),Rc[n?"unshift":"push"](r),Xf(),r},remove:function(e,t){~(t=Rc.indexOf(e))&&Rc.splice(t,1)&&Ic>=t&&Ic--},_listeners:Rc=[]},kc),Xf=function(){return!wc&&Qf.wake()},Jf={},ed=/^[\d.\-M][\d.\-,\s]/,td=/["']/g,nd=function(e){for(var t,n,r,i={},o=e.substr(1,e.length-3).split(":"),a=o[0],s=1,l=o.length;s<l;s++)n=o[s],t=s!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[a]=isNaN(r)?r.replace(td,"").trim():+r,a=n.substr(t+1).trim();return i},rd=function(e){return function(t){return 1-e(1-t)}},id=function e(t,n){for(var r,i=t._first;i;)i instanceof dd?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},od=function(e,t){return e&&(Jc(e)?e:Jf[e]||function(e){var t,n,r,i,o=(e+"").split("("),a=Jf[o[0]];return a&&o.length>1&&a.config?a.config.apply(null,~e.indexOf("{")?[nd(o[1])]:(t=e,n=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",n),t.substring(n,~i&&i<r?t.indexOf(")",r+1):r)).split(",").map(Vu)):Jf._CE&&ed.test(e)?Jf._CE("",e):a}(e))||t},ad=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var i,o={easeIn:t,easeOut:n,easeInOut:r};return Fu(e,function(e){for(var t in Jf[e]=mu[e]=o,Jf[i=e.toLowerCase()]=n,o)Jf[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=Jf[e+"."+t]=o[t]}),o},sd=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},ld=function e(t,n,r){var i=n>=1?n:1,o=(r||(t?.3:.45))/(n<1?n:1),a=o/Vc*(Math.asin(1/i)||0),s=function(e){return 1===e?1:i*Math.pow(2,-10*e)*Qc((e-a)*o)+1},l="out"===t?s:"in"===t?function(e){return 1-s(1-e)}:sd(s);return o=Vc/o,l.config=function(n,r){return e(t,n,r)},l},cd=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:sd(r);return i.config=function(n){return e(t,n)},i};Fu("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;ad(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2})}),Jf.Linear.easeNone=Jf.none=Jf.Linear.easeIn,ad("Elastic",ld("in"),ld("out"),ld()),Nc=7.5625,Dc=2*(Fc=1/(Bc=2.75)),zc=2.5*Fc,ad("Bounce",function(e){return 1-Uc(1-e)},Uc=function(e){return e<Fc?Nc*e*e:e<Dc?Nc*Math.pow(e-1.5/Bc,2)+.75:e<zc?Nc*(e-=2.25/Bc)*e+.9375:Nc*Math.pow(e-2.625/Bc,2)+.984375}),ad("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),ad("Circ",function(e){return-(Yc(1-e*e)-1)}),ad("Sine",function(e){return 1===e?1:1-$c(e*Gc)}),ad("Back",cd("in"),cd("out"),cd()),Jf.SteppedEase=Jf.steps=mu.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0;return function(e){return((r*Sf(0,.99999999,e)|0)+i)*n}}},Zc.ease=Jf["quad.out"],Fu("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return Ru+=e+","+e+"Params,"});var ud=function(e,t){this.id=Kc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Bu,this.set=t?t.getSetter:Td},fd=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,mf(this,+e.duration,1,1),this.data=e.data,dc&&(this._ctx=dc,dc.data.push(this)),wc||Qf.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,mf(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Xf(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(uf(this,e),!n._dp||n.parent||ff(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&df(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===Hc||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Hu(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+af(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+af(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?sf(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?lf(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Sf(-Math.abs(this._delay),this.totalDuration(),n),!1!==t),cf(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Xf(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Hc&&(this._tTime-=Hc)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=zu(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&df(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(ru(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?lf(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=Iu);var t=fc;return fc=e,qu(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),fc=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,vf(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,vf(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(wf(this,e),ru(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,ru(t)),this._dur||(this._zTime=-1e-8),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-Hc))},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=Jc(e)?e:Gu,o=function(){var e=t.then;t.then=null,n&&n(),Jc(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?o():t._prom=o})},t.kill=function(){Df(this)},e}();Ku(fd.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var dd=function(e){function t(t,n){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=ru(t.sortChildren),pc&&df(t.parent||pc,lc(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&pf(lc(r),t.scrollTrigger),r}cc(t,e);var n=t.prototype;return n.to=function(e,t,n){return _f(0,arguments,this),this},n.from=function(e,t,n){return _f(1,arguments,this),this},n.fromTo=function(e,t,n,r){return _f(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Xu(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Sd(e,t,wf(this,n),1),this},n.call=function(e,t,n){return df(this,Sd.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,o,a){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=a,n.parent=this,new Sd(e,n,wf(this,i)),this},n.staggerFrom=function(e,t,n,r,i,o,a){return n.runBackwards=1,Xu(n).immediateRender=ru(n.immediateRender),this.staggerTo(e,t,n,r,i,o,a)},n.staggerFromTo=function(e,t,n,r,i,o,a,s){return r.startAt=n,Xu(r).immediateRender=ru(r.immediateRender),this.staggerTo(e,t,r,i,o,a,s)},n.render=function(e,t,n){var r,i,o,a,s,l,c,u,f,d,p,h,y=this._time,g=this._dirty?this.totalDuration():this._tDur,m=this._dur,v=e<=0?0:zu(e),b=this._zTime<0!=e<0&&(this._initted||!m);if(this!==pc&&v>g&&e>=0&&(v=g),v!==this._tTime||n||b){if(y!==this._time&&m&&(v+=this._time-y,e+=this._time-y),r=v,f=this._start,l=!(u=this._ts),b&&(m||(y=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(p=this._yoyo,s=m+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*s+e,t,n);if(r=zu(v%s),v===g?(a=this._repeat,r=m):((a=~~(d=zu(v/s)))&&a===d&&(r=m,a--),r>m&&(r=m)),d=sf(this._tTime,s),!y&&this._tTime&&d!==a&&this._tTime-d*s-this._dur<=0&&(d=a),p&&1&a&&(r=m-r,h=1),a!==d&&!this._lock){var w=p&&1&d,_=w===(p&&1&a);if(a<d&&(w=!w),y=w?0:v%m?m:v,this._lock=1,this.render(y||(h?0:zu(a*s)),t,!m)._lock=0,this._tTime=v,!t&&this.parent&&Ff(this,"onRepeat"),this.vars.repeatRefresh&&!h&&(this.invalidate()._lock=1,d=a),y&&y!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,g=this._tDur,_&&(this._lock=2,y=w?m:-1e-4,this.render(y,!0),this.vars.repeatRefresh&&!h&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;id(this,h)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}}(this,zu(y),zu(r)),c&&(v-=r-(r=c._start))),this._tTime=v,this._time=r,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,y=0),!y&&v&&m&&!t&&!d&&(Ff(this,"onStart"),this._tTime!==v))return this;if(r>=y&&e>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!l){c=0,o&&(v+=this._zTime=-1e-8);break}}i=o}else{i=this._last;for(var x=e<0?e:r;i;){if(o=i._prev,(i._act||x<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(x-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(x-i._start)*i._ts,t,n||fc&&qu(i)),r!==this._time||!this._ts&&!l){c=0,o&&(v+=this._zTime=x?-1e-8:Hc);break}}i=o}}if(c&&!t&&(this.pause(),c.render(r>=y?0:-1e-8)._zTime=r>=y?1:-1,this._ts))return this._start=f,cf(this),this.render(e,t,n);this._onUpdate&&!t&&Ff(this,"onUpdate",!0),(v===g&&this._tTime>=this.totalDuration()||!v&&y)&&(f!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((e||!m)&&(v===g&&this._ts>0||!v&&this._ts<0)&&tf(this,1),t||e<0&&!y||!v&&!y&&g||(Ff(this,v===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<g&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(eu(t)||(t=wf(this,t,e)),!(e instanceof fd)){if(su(e))return e.forEach(function(e){return n.add(e,t)}),this;if(Xc(e))return this.addLabel(e,t);if(!Jc(e))return this;e=Sd.delayedCall(0,e)}return this!==e?df(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof Sd?t&&i.push(o):(n&&i.push(o),e&&i.push.apply(i,o.getChildren(!0,t,n)))),o=o._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return Xc(e)?this.removeLabel(e):Jc(e)?this.killTweensOf(e):(e.parent===this&&ef(this,e),e===this._recent&&(this._recent=this._last),nf(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=zu(Qf.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=wf(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Sd.delayedCall(0,t||Su,n);return r.data="isPause",this._hasPause=1,df(this,r,wf(this,e))},n.removePause=function(e){var t=this._first;for(e=wf(this,e);t;)t._start===e&&"isPause"===t.data&&tf(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)pd!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=Cf(e),o=this._first,a=eu(t);o;)o instanceof Sd?Wu(o._targets,i)&&(a?(!pd||o._initted&&o._ts)&&o.globalTime(0)<=t&&o.globalTime(o.totalDuration())>t:!t||o.isActive())&&r.push(o):(n=o.getTweensOf(i,t)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=wf(r,e),o=t,a=o.startAt,s=o.onStart,l=o.onStartParams,c=o.immediateRender,u=Sd.to(r,Ku({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale())||Hc,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale());u._dur!==e&&mf(u,e,0,1).render(u._time,!0,!0),n=1}s&&s.apply(u,l||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Ku({startAt:{time:wf(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),Bf(this,wf(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),Bf(this,wf(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Hc)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);var r,i=this._first,o=this.labels;for(e=zu(e);i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in o)o[r]>=n&&(o[r]+=e);return nf(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),nf(this)},n.totalDuration=function(e){var t,n,r,i=0,o=this,a=o._last,s=qc;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-e:e));if(o._dirty){for(r=o.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>s&&o._sort&&a._ts&&!o._lock?(o._lock=1,df(o,a,n-a._delay,1)._lock=0):s=n,n<0&&a._ts&&(i-=n,(!r&&!o._dp||r&&r.smoothChildTiming)&&(o._start+=zu(n/o._ts),o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-1/0),s=0),a._end>i&&a._ts&&(i=a._end),a=t;mf(o,o===pc&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(e){if(pc._ts&&(Hu(pc,lf(e,pc)),vc=Qf.frame),Qf.frame>=Pu){Pu+=Wc.autoSleep||120;var t=pc._first;if((!t||!t._ts)&&Wc.autoSleep&&Qf._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Qf.sleep()}}},t}(fd);Ku(dd.prototype,{_lock:0,_hasPause:0,_forcing:0});var pd,hd,yd=function(e,t,n,r,i,o,a){var s,l,c,u,f,d,p,h,y=new Bd(this._pt,e,t,0,1,Od,null,i),g=0,m=0;for(y.b=n,y.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=Lf(r)),o&&(o(h=[n,r],e,t),n=h[0],r=h[1]),l=n.match(pu)||[];s=pu.exec(r);)u=s[0],f=r.substring(g,s.index),c?c=(c+1)%5:"rgba("===f.substr(-5)&&(c=1),u!==l[m++]&&(d=parseFloat(l[m-1])||0,y._pt={_next:y._pt,p:f||1===m?f:",",s:d,c:"="===u.charAt(1)?Uu(d,u)-d:parseFloat(u)-d,m:c&&c<4?Math.round:0},g=pu.lastIndex);return y.c=g<r.length?r.substring(g,r.length):"",y.fp=a,(hu.test(r)||p)&&(y.e=0),this._pt=y,y},gd=function(e,t,n,r,i,o,a,s,l,c){Jc(r)&&(r=r(i||0,e,o));var u,f=e[t],d="get"!==n?n:Jc(f)?l?e[t.indexOf("set")||!Jc(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():f,p=Jc(f)?l?Id:Ed:kd;if(Xc(r)&&(~r.indexOf("random(")&&(r=Lf(r)),"="===r.charAt(1)&&((u=Uu(d,r)+(kf(d)||0))||0===u)&&(r=u)),!c||d!==r||hd)return isNaN(d*r)||""===r?(!f&&!(t in e)&&wu(t,r),yd.call(this,e,t,d,r,p,s||Wc.stringFilter,l)):(u=new Bd(this._pt,e,t,+d||0,r-(d||0),"boolean"==typeof f?Ad:Md,0,p),l&&(u.fp=l),a&&u.modifier(a,this,e),this._pt=u)},md=function(e,t,n,r,i,o){var a,s,l,c;if(Au[e]&&!1!==(a=new Au[e]).init(i,a.rawVars?t[e]:function(e,t,n,r,i){if(Jc(e)&&(e=wd(e,i,t,n,r)),!nu(e)||e.style&&e.nodeType||su(e)||au(e))return Xc(e)?wd(e,i,t,n,r):e;var o,a={};for(o in e)a[o]=wd(e[o],i,t,n,r);return a}(t[e],r,i,o,n),n,r,o)&&(n._pt=s=new Bd(n._pt,i,e,0,1,a.render,a,0,a.priority),n!==bc))for(l=n._ptLookup[n._targets.indexOf(i)],c=a._props.length;c--;)l[a._props[c]]=s;return a},vd=function e(t,n,r){var i,o,a,s,l,c,u,f,d,p,h,y,g,m=t.vars,v=m.ease,b=m.startAt,w=m.immediateRender,_=m.lazy,x=m.onUpdate,S=m.runBackwards,k=m.yoyoEase,E=m.keyframes,I=m.autoRevert,C=t._dur,T=t._startAt,M=t._targets,A=t.parent,O=A&&"nested"===A.data?A.vars.targets:M,P="auto"===t._overwrite&&!uc,j=t.timeline;if(j&&(!E||!v)&&(v="none"),t._ease=od(v,Zc.ease),t._yEase=k?rd(od(!0===k?v:k,Zc.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!j&&!!m.runBackwards,!j||E&&!m.stagger){if(y=(f=M[0]?Nu(M[0]).harness:0)&&m[f.prop],i=Qu(m,Cu),T&&(T._zTime<0&&T.progress(1),n<0&&S&&w&&!I?T.render(-1,!0):T.revert(S&&C?Eu:ku),T._lazy=0),b){if(tf(t._startAt=Sd.set(M,Ku({data:"isStart",overwrite:!1,parent:A,immediateRender:!0,lazy:!T&&ru(_),startAt:null,delay:0,onUpdate:x&&function(){return Ff(t,"onUpdate")},stagger:0},b))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(fc||!w&&!I)&&t._startAt.revert(Eu),w&&C&&n<=0&&r<=0)return void(n&&(t._zTime=n))}else if(S&&C&&!T)if(n&&(w=!1),a=Ku({overwrite:!1,data:"isFromStart",lazy:w&&!T&&ru(_),immediateRender:w,stagger:0,parent:A},i),y&&(a[f.prop]=y),tf(t._startAt=Sd.set(M,a)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(fc?t._startAt.revert(Eu):t._startAt.render(-1,!0)),t._zTime=n,w){if(!n)return}else e(t._startAt,Hc,Hc);for(t._pt=t._ptCache=0,_=C&&ru(_)||_&&!C,o=0;o<M.length;o++){if(u=(l=M[o])._gsap||Lu(M)[o]._gsap,t._ptLookup[o]=p={},Mu[u.id]&&Tu.length&&Zu(),h=O===M?o:O.indexOf(l),f&&!1!==(d=new f).init(l,y||i,t,h,O)&&(t._pt=s=new Bd(t._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(e){p[e]=s}),d.priority&&(c=1)),!f||y)for(a in i)Au[a]&&(d=md(a,i,t,h,l,O))?d.priority&&(c=1):p[a]=s=gd.call(t,l,a,"get",i[a],h,O,0,m.stringFilter);t._op&&t._op[o]&&t.kill(l,t._op[o]),P&&t._pt&&(pd=t,pc.killTweensOf(l,p,t.globalTime(n)),g=!t.parent,pd=0),t._pt&&_&&(Mu[u.id]=1)}c&&Nd(t),t._onInit&&t._onInit(t)}t._onUpdate=x,t._initted=(!t._op||t._pt)&&!g,E&&n<=0&&j.render(qc,!0,!0)},bd=function(e,t,n,r){var i,o,a=t.ease||r||"power1.inOut";if(su(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:a})});else for(i in t)o=n[i]||(n[i]=[]),"ease"===i||o.push({t:parseFloat(e),v:t[i],e:a})},wd=function(e,t,n,r,i){return Jc(e)?e.call(t,n,r,i):Xc(e)&&~e.indexOf("random(")?Lf(e):e},_d=Ru+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",xd={};Fu(_d+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return xd[e]=1});var Sd=function(e){function t(t,n,r,i){var o;"number"==typeof n&&(r.duration=n,n=r,r=null);var a,s,l,c,u,f,d,p,h=(o=e.call(this,i?n:Xu(n))||this).vars,y=h.duration,g=h.delay,m=h.immediateRender,v=h.stagger,b=h.overwrite,w=h.keyframes,_=h.defaults,x=h.scrollTrigger,S=h.yoyoEase,k=n.parent||pc,E=(su(t)||au(t)?eu(t[0]):"length"in n)?[t]:Cf(t);if(o._targets=E.length?Lu(E):_u("GSAP target "+t+" not found. https://gsap.com",!Wc.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=b,w||v||ou(y)||ou(g)){if(n=o.vars,(a=o.timeline=new dd({data:"nested",defaults:_||{},targets:k&&"nested"===k.data?k.vars.targets:E})).kill(),a.parent=a._dp=lc(o),a._start=0,v||ou(y)||ou(g)){if(c=E.length,d=v&&Af(v),nu(v))for(u in v)~_d.indexOf(u)&&(p||(p={}),p[u]=v[u]);for(s=0;s<c;s++)(l=Qu(n,xd)).stagger=0,S&&(l.yoyoEase=S),p&&Yu(l,p),f=E[s],l.duration=+wd(y,lc(o),s,f,E),l.delay=(+wd(g,lc(o),s,f,E)||0)-o._delay,!v&&1===c&&l.delay&&(o._delay=g=l.delay,o._start+=g,l.delay=0),a.to(f,l,d?d(s,f,E):0),a._ease=Jf.none;a.duration()?y=g=0:o.timeline=0}else if(w){Xu(Ku(a.vars.defaults,{ease:"none"})),a._ease=od(w.ease||n.ease||"none");var I,C,T,M=0;if(su(w))w.forEach(function(e){return a.to(E,e,">")}),a.duration();else{for(u in l={},w)"ease"===u||"easeEach"===u||bd(u,w[u],l,w.easeEach);for(u in l)for(I=l[u].sort(function(e,t){return e.t-t.t}),M=0,s=0;s<I.length;s++)(T={ease:(C=I[s]).e,duration:(C.t-(s?I[s-1].t:0))/100*y})[u]=C.v,a.to(E,T,M),M+=T.duration;a.duration()<y&&a.to({},{duration:y-a.duration()})}}y||o.duration(y=a.duration())}else o.timeline=0;return!0!==b||uc||(pd=lc(o),pc.killTweensOf(E),pd=0),df(k,lc(o),r),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(m||!y&&!w&&o._start===zu(k._time)&&ru(m)&&of(lc(o))&&"nested"!==k.data)&&(o._tTime=-1e-8,o.render(Math.max(0,-g)||0)),x&&pf(lc(o),x),o}cc(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,o,a,s,l,c,u,f,d=this._time,p=this._tDur,h=this._dur,y=e<0,g=e>p-Hc&&!y?p:e<Hc?0:e;if(h){if(g!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==y||this._lazy){if(r=g,u=this.timeline,this._repeat){if(a=h+this._rDelay,this._repeat<-1&&y)return this.totalTime(100*a+e,t,n);if(r=zu(g%a),g===p?(o=this._repeat,r=h):(o=~~(s=zu(g/a)))&&o===s?(r=h,o--):r>h&&(r=h),(l=this._yoyo&&1&o)&&(f=this._yEase,r=h-r),s=sf(this._tTime,a),r===d&&!n&&this._initted&&o===s)return this._tTime=g,this;o!==s&&(u&&this._yEase&&id(u,l),this.vars.repeatRefresh&&!l&&!this._lock&&r!==a&&this._initted&&(this._lock=n=1,this.render(zu(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(hf(this,y?e:r,n,t,g))return this._tTime=0,this;if(!(d===this._time||n&&this.vars.repeatRefresh&&o!==s))return this;if(h!==this._dur)return this.render(e,t,n)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(f||this._ease)(r/h),this._from&&(this.ratio=c=1-c),!d&&g&&!t&&!s&&(Ff(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;u&&u.render(e<0?e:u._dur*u._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(y&&rf(this,e,0,n),Ff(this,"onUpdate")),this._repeat&&o!==s&&this.vars.onRepeat&&!t&&this.parent&&Ff(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(y&&!this._onUpdate&&rf(this,e,0,!0),(e||!h)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&tf(this,1),t||y&&!d||!(g||d||l)||(Ff(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,r){var i,o,a,s=e.ratio,l=t<0||!t&&(!e._start&&yf(e)&&(e._initted||!gf(e))||(e._ts<0||e._dp._ts<0)&&!gf(e))?0:1,c=e._rDelay,u=0;if(c&&e._repeat&&(u=Sf(0,e._tDur,t),o=sf(u,c),e._yoyo&&1&o&&(l=1-l),o!==sf(e._tTime,c)&&(s=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==s||fc||r||e._zTime===Hc||!t&&e._zTime){if(!e._initted&&hf(e,t,r,n,u))return;for(a=e._zTime,e._zTime=t||(n?Hc:0),n||(n=t&&!a),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=u,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&rf(e,t,0,!0),e._onUpdate&&!n&&Ff(e,"onUpdate"),u&&e._repeat&&!n&&e.parent&&Ff(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&tf(e,1),n||fc||(Ff(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){wc||Qf.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||vd(this,o),function(e,t,n,r,i,o,a,s){var l,c,u,f,d=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!d)for(d=e._ptCache[t]=[],u=e._ptLookup,f=e._targets.length;f--;){if((l=u[f][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return hd=1,e.vars[t]="+=0",vd(e,a),hd=0,s?_u(t+" not eligible for reset"):1;d.push(l)}for(f=d.length;f--;)(l=(c=d[f])._pt||c).s=!r&&0!==r||i?l.s+(r||0)+o*l.c:r,l.c=n-l.s,c.e&&(c.e=Du(n)+kf(c.e)),c.b&&(c.b=l.s+kf(c.b))}(this,e,t,n,r,this._ease(o/this._dur),o,i)?this.resetTo(e,t,n,r,1):(uf(this,0),this.parent||Ju(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?Df(this):this.scrollTrigger&&this.scrollTrigger.kill(!!fc),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,pd&&!0!==pd.vars.overwrite)._first||Df(this),this.parent&&n!==this.timeline.totalDuration()&&mf(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,a,s,l,c,u=this._targets,f=e?Cf(e):u,d=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0}(u,f))return"all"===t&&(this._pt=0),Df(this);for(r=this._op=this._op||[],"all"!==t&&(Xc(t)&&(s={},Fu(t,function(e){return s[e]=1}),t=s),t=function(e,t){var n,r,i,o,a=e[0]?Nu(e[0]).harness:0,s=a&&a.aliases;if(!s)return t;for(r in n=Yu({},t),s)if(r in n)for(i=(o=s[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(u,t)),c=u.length;c--;)if(~f.indexOf(u[c]))for(s in i=d[c],"all"===t?(r[c]=t,a=i,o={}):(o=r[c]=r[c]||{},a=t),a)(l=i&&i[s])&&("kill"in l.d&&!0!==l.d.kill(s)||ef(this,l,"_pt"),delete i[s]),"all"!==o&&(o[s]=1);return this._initted&&!this._pt&&p&&Df(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return _f(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return _f(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return pc.killTweensOf(e,t,n)},t}(fd);Ku(Sd.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Fu("staggerTo,staggerFrom,staggerFromTo",function(e){Sd[e]=function(){var t=new dd,n=Ef.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}});var kd=function(e,t,n){return e[t]=n},Ed=function(e,t,n){return e[t](n)},Id=function(e,t,n,r){return e[t](r.fp,n)},Cd=function(e,t,n){return e.setAttribute(t,n)},Td=function(e,t){return Jc(e[t])?Ed:tu(e[t])&&e.setAttribute?Cd:kd},Md=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Ad=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Od=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Pd=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},jd=function(e,t,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(e,t,n),o=i},Rd=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&&!r.op||r.op===e?ef(this,r,"_pt"):r.dep||(t=1),r=n;return!t},Ld=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Nd=function(e){for(var t,n,r,i,o=e._pt;o;){for(t=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=t}e._pt=r},Bd=function(){function e(e,t,n,r,i,o,a,s,l){this.t=t,this.s=r,this.c=i,this.p=n,this.r=o||Md,this.d=a||this,this.set=s||kd,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Ld,this.m=e,this.mt=n,this.tween=t},e}();Fu(Ru+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return Cu[e]=1}),mu.TweenMax=mu.TweenLite=Sd,mu.TimelineLite=mu.TimelineMax=dd,pc=new dd({sortChildren:!1,defaults:Zc,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Wc.stringFilter=$f;var Fd=[],Dd={},zd=[],Ud=0,Wd=0,Zd=function(e){return(Dd[e]||zd).map(function(e){return e()})},qd=function(){var e=Date.now(),t=[];e-Ud>2&&(Zd("matchMediaInit"),Fd.forEach(function(e){var n,r,i,o,a=e.queries,s=e.conditions;for(r in a)(n=hc.matchMedia(a[r]).matches)&&(i=1),n!==s[r]&&(s[r]=n,o=1);o&&(e.revert(),i&&t.push(e))}),Zd("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ud=e,Zd("matchMedia"))},Hd=function(){function e(e,t){this.selector=t&&Tf(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Wd++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){Jc(e)&&(n=t,t=e,e=Jc);var r=this,i=function(){var e,i=dc,o=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=Tf(n)),dc=r,e=t.apply(r,arguments),Jc(e)&&r._r.push(e),dc=i,r.selector=o,r.isReverted=!1,e};return r.last=i,e===Jc?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=dc;dc=null,e(this),dc=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Sd&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(t=n.data[i]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(e){return r.splice(r.indexOf(e),1)}));for(r.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),i=n.data.length;i--;)(t=n.data[i])instanceof dd?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof Sd)&&t.revert&&t.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0}():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=Fd.length;r--;)Fd[r].id===this.id&&Fd.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Vd=function(){function e(e){this.contexts=[],this.scope=e,dc&&dc.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){nu(e)||(e={matches:e});var r,i,o,a=new Hd(0,n||this.scope),s=a.conditions={};for(i in dc&&!a.selector&&(a.selector=dc.selector),this.contexts.push(a),t=a.add("onMatch",t),a.queries=e,e)"all"===i?o=1:(r=hc.matchMedia(e[i]))&&(Fd.indexOf(a)<0&&Fd.push(a),(s[i]=r.matches)&&(o=1),r.addListener?r.addListener(qd):r.addEventListener("change",qd));return o&&t(a,function(e){return a.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Gd={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Uf(e)})},timeline:function(e){return new dd(e)},getTweensOf:function(e,t){return pc.getTweensOf(e,t)},getProperty:function(e,t,n,r){Xc(e)&&(e=Cf(e)[0]);var i=Nu(e||{}).get,o=n?Gu:Vu;return"native"===n&&(n=""),e?t?o((Au[t]&&Au[t].get||i)(e,t,n,r)):function(t,n,r){return o((Au[t]&&Au[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=Cf(e)).length>1){var r=e.map(function(e){return $d.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var o=Au[t],a=Nu(e),s=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(t){var r=new o;bc._pt=0,r.init(e,n?t+n:t,bc,0,[e]),r.render(1,r),bc._pt&&Pd(1,bc)}:a.set(e,s);return o?l:function(t){return l(e,s,n?t+n:t,a,1)}},quickTo:function(e,t,n){var r,i=$d.to(e,Ku(((r={})[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(e,n,r){return i.resetTo(t,e,n,r)};return o.tween=i,o},isTweening:function(e){return pc.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=od(e.ease,Zc.ease)),$u(Zc,e||{})},config:function(e){return $u(Wc,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(e){return e&&!Au[e]&&!mu[e]&&_u(t+" effect requires "+e+" plugin.")}),Ou[t]=function(e,t,r){return n(Cf(e),Ku(t||{},i),r)},o&&(dd.prototype[t]=function(e,n,r){return this.add(Ou[t](e,nu(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Jf[e]=od(t)},parseEase:function(e,t){return arguments.length?od(e,t):Jf},getById:function(e){return pc.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new dd(e);for(i.smoothChildTiming=ru(e.smoothChildTiming),pc.remove(i),i._dp=0,i._time=i._tTime=pc._time,n=pc._first;n;)r=n._next,!t&&!n._dur&&n instanceof Sd&&n.vars.onComplete===n._targets[0]||df(i,n,n._start-n._delay),n=r;return df(pc,i,0),i},context:function(e,t){return e?new Hd(e,t):dc},matchMedia:function(e){return new Vd(e)},matchMediaRefresh:function(){return Fd.forEach(function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||qd()},addEventListener:function(e,t){var n=Dd[e]||(Dd[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Dd[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return su(t)?Rf(t,e(0,t.length),n):xf(r,function(e){return(i+(e-t)%i)%i+t})},wrapYoyo:function e(t,n,r){var i=n-t,o=2*i;return su(t)?Rf(t,e(0,t.length-1),n):xf(r,function(e){return t+((e=(o+(e-t)%o)%o||0)>i?o-e:e)})},distribute:Af,random:jf,snap:Pf,normalize:function(e,t,n){return Nf(e,t,0,1,n)},getUnit:kf,clamp:function(e,t,n){return xf(n,function(n){return Sf(e,t,n)})},splitColor:Hf,toArray:Cf,selector:Tf,mapRange:Nf,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||kf(n))}},interpolate:function e(t,n,r,i){var o=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!o){var a,s,l,c,u,f=Xc(t),d={};if(!0===r&&(i=1)&&(r=null),f)t={p:t},n={p:n};else if(su(t)&&!su(n)){for(l=[],c=t.length,u=c-2,s=1;s<c;s++)l.push(e(t[s-1],t[s]));c--,o=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},r=n}else i||(t=Yu(su(t)?[]:{},t));if(!l){for(a in n)gd.call(d,t,a,"get",n[a]);o=function(e){return Pd(e,d)||(f?t.p:t)}}}return xf(r,o)},shuffle:Mf},install:bu,effects:Ou,ticker:Qf,updateRoot:dd.updateRoot,plugins:Au,globalTimeline:pc,core:{PropTween:Bd,globals:xu,Tween:Sd,Timeline:dd,Animation:fd,getCache:Nu,_removeLinkedListItem:ef,reverting:function(){return fc},context:function(e){return e&&dc&&(dc.data.push(e),e._ctx=dc),dc},suppressOverwrites:function(e){return uc=e}}};Fu("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Gd[e]=Sd[e]}),Qf.add(dd.updateRoot),bc=Gd.to({},{duration:0});var Kd=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Yd=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(Xc(n)&&(r={},Fu(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}!function(e,t){var n,r,i,o=e._targets;for(n in t)for(r=o.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=Kd(i,n)),i&&i.modifier&&i.modifier(t[n],e,o[r],n))}(e,n)}}}},$d=Gd.registerPlugin({name:"attr",init:function(e,t,n,r,i){var o,a,s;for(o in this.tween=n,t)s=e.getAttribute(o)||"",(a=this.add(e,"setAttribute",(s||0)+"",t[o],r,i,0,0,o)).op=o,a.b=s,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)fc?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Yd("roundProps",Of),Yd("modifiers"),Yd("snap",Pf))||Gd;Sd.version=dd.version=$d.version="3.14.2",mc=1,iu()&&Xf(),Jf.Power0,Jf.Power1,Jf.Power2,Jf.Power3,Jf.Power4,Jf.Linear,Jf.Quad,Jf.Cubic,Jf.Quart,Jf.Quint,Jf.Strong,Jf.Elastic,Jf.Back,Jf.SteppedEase,Jf.Bounce,Jf.Sine,Jf.Expo,Jf.Circ;var Qd,Xd,Jd,ep,tp,np,rp,ip,op={},ap=180/Math.PI,sp=Math.PI/180,lp=Math.atan2,cp=/([A-Z])/g,up=/(left|right|width|margin|padding|x)/i,fp=/[\s,\(]\S/,dp={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pp=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},hp=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},yp=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},gp=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},mp=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},vp=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},bp=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},wp=function(e,t,n){return e.style[t]=n},_p=function(e,t,n){return e.style.setProperty(t,n)},xp=function(e,t,n){return e._gsap[t]=n},Sp=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},kp=function(e,t,n,r,i){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},Ep=function(e,t,n,r,i){var o=e._gsap;o[t]=n,o.renderTransform(i,o)},Ip="transform",Cp=Ip+"Origin",Tp=function e(t,n){var r=this,i=this.target,o=i.style,a=i._gsap;if(t in op&&o){if(this.tfm=this.tfm||{},"transform"===t)return dp.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=dp[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=Vp(i,e)}):this.tfm[t]=a.x?a[t]:Vp(i,t),t===Cp&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(Ip)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Cp,n,"")),t=Ip}(o||n)&&this.props.push(t,n,o[t])},Mp=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ap=function(){var e,t,n=this.props,r=this.target,i=r.style,o=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(cp,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)o[t]=this.tfm[t];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=rp())&&e.isStart||i[Ip]||(Mp(i),o.zOrigin&&i[Cp]&&(i[Cp]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Op=function(e,t){var n={target:e,props:[],revert:Ap,save:Tp};return e._gsap||$d.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return n.save(e)}),n},Pp=function(e,t){var n=Xd.createElementNS?Xd.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Xd.createElement(e);return n&&n.style?n:Xd.createElement(e)},jp=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(cp,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Lp(n)||n,1)||""},Rp="O,Moz,ms,Ms,Webkit".split(","),Lp=function(e,t,n){var r=(t||tp).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Rp[i]+e in r););return i<0?null:(3===i?"ms":i>=0?Rp[i]:"")+e},Np=function(){"undefined"!=typeof window&&window.document&&(Qd=window,Xd=Qd.document,Jd=Xd.documentElement,tp=Pp("div")||{style:{}},Pp("div"),Ip=Lp(Ip),Cp=Ip+"Origin",tp.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ip=!!Lp("perspective"),rp=$d.core.reverting,ep=1)},Bp=function(e){var t,n=e.ownerSVGElement,r=Pp("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0);i.style.display="block",r.appendChild(i),Jd.appendChild(r);try{t=i.getBBox()}catch(o){}return r.removeChild(i),Jd.removeChild(r),t},Fp=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Dp=function(e){var t,n;try{t=e.getBBox()}catch(r){t=Bp(e),n=1}return t&&(t.width||t.height)||n||(t=Bp(e)),!t||t.width||t.x||t.y?t:{x:+Fp(e,["x","cx","x1"])||0,y:+Fp(e,["y","cy","y1"])||0,width:0,height:0}},zp=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Dp(e))},Up=function(e,t){if(t){var n,r=e.style;t in op&&t!==Cp&&(t=Ip),r.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),r.removeProperty("--"===n?t:t.replace(cp,"-$1").toLowerCase())):r.removeAttribute(t)}},Wp=function(e,t,n,r,i,o){var a=new Bd(e._pt,t,n,0,1,o?bp:vp);return e._pt=a,a.b=r,a.e=i,e._props.push(n),a},Zp={deg:1,rad:1,turn:1},qp={grid:1,flex:1},Hp=function e(t,n,r,i){var o,a,s,l,c=parseFloat(r)||0,u=(r+"").trim().substr((c+"").length)||"px",f=tp.style,d=up.test(n),p="svg"===t.tagName.toLowerCase(),h=(p?"client":"offset")+(d?"Width":"Height"),y=100,g="px"===i,m="%"===i;if(i===u||!c||Zp[i]||Zp[u])return c;if("px"!==u&&!g&&(c=e(t,n,r,"px")),l=t.getCTM&&zp(t),(m||"%"===u)&&(op[n]||~n.indexOf("adius")))return o=l?t.getBBox()[d?"width":"height"]:t[h],Du(m?c/o*y:c/100*o);if(f[d?"width":"height"]=y+(g?u:i),a="rem"!==i&&~n.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,l&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Xd&&a.appendChild||(a=Xd.body),(s=a._gsap)&&m&&s.width&&d&&s.time===Qf.time&&!s.uncache)return Du(c/s.width*y);if(!m||"height"!==n&&"width"!==n)(m||"%"===u)&&!qp[jp(a,"display")]&&(f.position=jp(t,"position")),a===t&&(f.position="static"),a.appendChild(tp),o=tp[h],a.removeChild(tp),f.position="absolute";else{var v=t.style[n];t.style[n]=y+i,o=t[h],v?t.style[n]=v:Up(t,n)}return d&&m&&((s=Nu(a)).time=Qf.time,s.width=a[h]),Du(g?o*c/y:o&&c?y/o*c:0)},Vp=function(e,t,n,r){var i;return ep||Np(),t in dp&&"transform"!==t&&~(t=dp[t]).indexOf(",")&&(t=t.split(",")[0]),op[t]&&"transform"!==t?(i=ih(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:oh(jp(e,Cp))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=Qp[t]&&Qp[t](e,t,n)||jp(e,t)||Bu(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?Hp(e,t,i,n)+n:i},Gp=function(e,t,n,r){if(!n||"none"===n){var i=Lp(t,e,1),o=i&&jp(e,i,1);o&&o!==n?(t=i,n=o):"borderColor"===t&&(n=jp(e,"borderTopColor"))}var a,s,l,c,u,f,d,p,h,y,g,m=new Bd(this._pt,e.style,t,0,1,Od),v=0,b=0;if(m.b=n,m.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=jp(e,r.substring(4,r.indexOf(")")))),"auto"===r&&(f=e.style[t],e.style[t]=r,r=jp(e,t)||r,f?e.style[t]=f:Up(e,t)),$f(a=[n,r]),r=a[1],l=(n=a[0]).match(du)||[],(r.match(du)||[]).length){for(;s=du.exec(r);)d=s[0],h=r.substring(v,s.index),u?u=(u+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(u=1),d!==(f=l[b++]||"")&&(c=parseFloat(f)||0,g=f.substr((c+"").length),"="===d.charAt(1)&&(d=Uu(c,d)+g),p=parseFloat(d),y=d.substr((p+"").length),v=du.lastIndex-y.length,y||(y=y||Wc.units[t]||g,v===r.length&&(r+=y,m.e+=y)),g!==y&&(c=Hp(e,t,f,y)||0),m._pt={_next:m._pt,p:h||1===b?h:",",s:c,c:p-c,m:u&&u<4||"zIndex"===t?Math.round:0});m.c=v<r.length?r.substring(v,r.length):""}else m.r="display"===t&&"none"===r?bp:vp;return hu.test(r)&&(m.e=0),this._pt=m,m},Kp={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Yp=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==r&&"right"!==r||(e=n,n=r,r=e),t[0]=Kp[n]||n,t[1]=Kp[r]||r,t.join(" ")},$p=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,o=t.t,a=o.style,s=t.u,l=o._gsap;if("all"===s||!0===s)a.cssText="",r=1;else for(i=(s=s.split(",")).length;--i>-1;)n=s[i],op[n]&&(r=1,n="transformOrigin"===n?Cp:Ip),Up(o,n);r&&(Up(o,Ip),l&&(l.svg&&o.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",ih(o,1),l.uncache=1,Mp(a)))}},Qp={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var o=e._pt=new Bd(e._pt,t,n,0,0,$p);return o.u=r,o.pr=-10,o.tween=i,e._props.push(n),1}}},Xp=[1,0,0,1,0,0],Jp={},eh=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},th=function(e){var t=jp(e,Ip);return eh(t)?Xp:t.substr(7).match(fu).map(Du)},nh=function(e,t){var n,r,i,o,a=e._gsap||Nu(e),s=e.style,l=th(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Xp:l:(l!==Xp||e.offsetParent||e===Jd||a.svg||(i=s.display,s.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(o=1,r=e.nextElementSibling,Jd.appendChild(e)),l=th(e),i?s.display=i:Up(e,"display"),o&&(r?n.insertBefore(e,r):n?n.appendChild(e):Jd.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},rh=function(e,t,n,r,i,o){var a,s,l,c=e._gsap,u=i||nh(e,!0),f=c.xOrigin||0,d=c.yOrigin||0,p=c.xOffset||0,h=c.yOffset||0,y=u[0],g=u[1],m=u[2],v=u[3],b=u[4],w=u[5],_=t.split(" "),x=parseFloat(_[0])||0,S=parseFloat(_[1])||0;n?u!==Xp&&(s=y*v-g*m)&&(l=x*(-g/s)+S*(y/s)-(y*w-g*b)/s,x=x*(v/s)+S*(-m/s)+(m*w-v*b)/s,S=l):(x=(a=Dp(e)).x+(~_[0].indexOf("%")?x/100*a.width:x),S=a.y+(~(_[1]||_[0]).indexOf("%")?S/100*a.height:S)),r||!1!==r&&c.smooth?(b=x-f,w=S-d,c.xOffset=p+(b*y+w*m)-b,c.yOffset=h+(b*g+w*v)-w):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=S,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[Cp]="0px 0px",o&&(Wp(o,c,"xOrigin",f,x),Wp(o,c,"yOrigin",d,S),Wp(o,c,"xOffset",p,c.xOffset),Wp(o,c,"yOffset",h,c.yOffset)),e.setAttribute("data-svg-origin",x+" "+S)},ih=function(e,t){var n=e._gsap||new ud(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,o,a,s,l,c,u,f,d,p,h,y,g,m,v,b,w,_,x,S,k,E,I,C,T,M,A,O,P,j,R,L=e.style,N=n.scaleX<0,B="px",F="deg",D=getComputedStyle(e),z=jp(e,Cp)||"0";return r=i=o=l=c=u=f=d=p=0,a=s=1,n.svg=!(!e.getCTM||!zp(e)),D.translate&&("none"===D.translate&&"none"===D.scale&&"none"===D.rotate||(L[Ip]=("none"!==D.translate?"translate3d("+(D.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==D.rotate?"rotate("+D.rotate+") ":"")+("none"!==D.scale?"scale("+D.scale.split(" ").join(",")+") ":"")+("none"!==D[Ip]?D[Ip]:"")),L.scale=L.rotate=L.translate="none"),g=nh(e,n.svg),n.svg&&(n.uncache?(C=e.getBBox(),z=n.xOrigin-C.x+"px "+(n.yOrigin-C.y)+"px",I=""):I=!t&&e.getAttribute("data-svg-origin"),rh(e,I||z,!!I||n.originIsAbsolute,!1!==n.smooth,g)),h=n.xOrigin||0,y=n.yOrigin||0,g!==Xp&&(w=g[0],_=g[1],x=g[2],S=g[3],r=k=g[4],i=E=g[5],6===g.length?(a=Math.sqrt(w*w+_*_),s=Math.sqrt(S*S+x*x),l=w||_?lp(_,w)*ap:0,(f=x||S?lp(x,S)*ap+l:0)&&(s*=Math.abs(Math.cos(f*sp))),n.svg&&(r-=h-(h*w+y*x),i-=y-(h*_+y*S))):(R=g[6],P=g[7],M=g[8],A=g[9],O=g[10],j=g[11],r=g[12],i=g[13],o=g[14],c=(m=lp(R,O))*ap,m&&(I=k*(v=Math.cos(-m))+M*(b=Math.sin(-m)),C=E*v+A*b,T=R*v+O*b,M=k*-b+M*v,A=E*-b+A*v,O=R*-b+O*v,j=P*-b+j*v,k=I,E=C,R=T),u=(m=lp(-x,O))*ap,m&&(v=Math.cos(-m),j=S*(b=Math.sin(-m))+j*v,w=I=w*v-M*b,_=C=_*v-A*b,x=T=x*v-O*b),l=(m=lp(_,w))*ap,m&&(I=w*(v=Math.cos(m))+_*(b=Math.sin(m)),C=k*v+E*b,_=_*v-w*b,E=E*v-k*b,w=I,k=C),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),a=Du(Math.sqrt(w*w+_*_+x*x)),s=Du(Math.sqrt(E*E+R*R)),m=lp(k,E),f=Math.abs(m)>2e-4?m*ap:0,p=j?1/(j<0?-j:j):0),n.svg&&(I=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!eh(jp(e,Ip)),I&&e.setAttribute("transform",I))),Math.abs(f)>90&&Math.abs(f)<270&&(N?(a*=-1,f+=l<=0?180:-180,l+=l<=0?180:-180):(s*=-1,f+=f<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+B,n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+B,n.z=o+B,n.scaleX=Du(a),n.scaleY=Du(s),n.rotation=Du(l)+F,n.rotationX=Du(c)+F,n.rotationY=Du(u)+F,n.skewX=f+F,n.skewY=d+F,n.transformPerspective=p+B,(n.zOrigin=parseFloat(z.split(" ")[2])||!t&&n.zOrigin||0)&&(L[Cp]=oh(z)),n.xOffset=n.yOffset=0,n.force3D=Wc.force3D,n.renderTransform=n.svg?dh:ip?fh:sh,n.uncache=0,n},oh=function(e){return(e=e.split(" "))[0]+" "+e[1]},ah=function(e,t,n){var r=kf(t);return Du(parseFloat(t)+parseFloat(Hp(e,"x",n+"px",r)))+r},sh=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,fh(e,t)},lh="0deg",ch="0px",uh=") ",fh=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,o=n.x,a=n.y,s=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,f=n.skewX,d=n.skewY,p=n.scaleX,h=n.scaleY,y=n.transformPerspective,g=n.force3D,m=n.target,v=n.zOrigin,b="",w="auto"===g&&e&&1!==e||!0===g;if(v&&(u!==lh||c!==lh)){var _,x=parseFloat(c)*sp,S=Math.sin(x),k=Math.cos(x);x=parseFloat(u)*sp,_=Math.cos(x),o=ah(m,o,S*_*-v),a=ah(m,a,-Math.sin(x)*-v),s=ah(m,s,k*_*-v+v)}y!==ch&&(b+="perspective("+y+uh),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(w||o!==ch||a!==ch||s!==ch)&&(b+=s!==ch||w?"translate3d("+o+", "+a+", "+s+") ":"translate("+o+", "+a+uh),l!==lh&&(b+="rotate("+l+uh),c!==lh&&(b+="rotateY("+c+uh),u!==lh&&(b+="rotateX("+u+uh),f===lh&&d===lh||(b+="skew("+f+", "+d+uh),1===p&&1===h||(b+="scale("+p+", "+h+uh),m.style[Ip]=b||"translate(0, 0)"},dh=function(e,t){var n,r,i,o,a,s=t||this,l=s.xPercent,c=s.yPercent,u=s.x,f=s.y,d=s.rotation,p=s.skewX,h=s.skewY,y=s.scaleX,g=s.scaleY,m=s.target,v=s.xOrigin,b=s.yOrigin,w=s.xOffset,_=s.yOffset,x=s.forceCSS,S=parseFloat(u),k=parseFloat(f);d=parseFloat(d),p=parseFloat(p),(h=parseFloat(h))&&(p+=h=parseFloat(h),d+=h),d||p?(d*=sp,p*=sp,n=Math.cos(d)*y,r=Math.sin(d)*y,i=Math.sin(d-p)*-g,o=Math.cos(d-p)*g,p&&(h*=sp,a=Math.tan(p-h),i*=a=Math.sqrt(1+a*a),o*=a,h&&(a=Math.tan(h),n*=a=Math.sqrt(1+a*a),r*=a)),n=Du(n),r=Du(r),i=Du(i),o=Du(o)):(n=y,o=g,r=i=0),(S&&!~(u+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(S=Hp(m,"x",u,"px"),k=Hp(m,"y",f,"px")),(v||b||w||_)&&(S=Du(S+v-(v*n+b*i)+w),k=Du(k+b-(v*r+b*o)+_)),(l||c)&&(a=m.getBBox(),S=Du(S+l/100*a.width),k=Du(k+c/100*a.height)),a="matrix("+n+","+r+","+i+","+o+","+S+","+k+")",m.setAttribute("transform",a),x&&(m.style[Ip]=a)},ph=function(e,t,n,r,i){var o,a,s=360,l=Xc(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?ap:1)-r,u=r+c+"deg";return l&&("short"===(o=i.split("_")[1])&&(c%=s)!==c%180&&(c+=c<0?s:-360),"cw"===o&&c<0?c=(c+36e9)%s-~~(c/s)*s:"ccw"===o&&c>0&&(c=(c-36e9)%s-~~(c/s)*s)),e._pt=a=new Bd(e._pt,t,n,r,c,hp),a.e=u,a.u="deg",e._props.push(n),a},hh=function(e,t){for(var n in t)e[n]=t[n];return e},yh=function(e,t,n){var r,i,o,a,s,l,c,u=hh({},n._gsap),f=n.style;for(i in u.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),f[Ip]=t,r=ih(n,1),Up(n,Ip),n.setAttribute("transform",o)):(o=getComputedStyle(n)[Ip],f[Ip]=t,r=ih(n,1),f[Ip]=o),op)(o=u[i])!==(a=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(s=kf(o)!==(c=kf(a))?Hp(n,i,o,c):parseFloat(o),l=parseFloat(a),e._pt=new Bd(e._pt,r,i,s,l-s,pp),e._pt.u=c||0,e._props.push(i));hh(r,u)};Fu("padding,margin,Width,Radius",function(e,t){var n="Top",r="Right",i="Bottom",o="Left",a=(t<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(n){return t<2?e+n:"border"+n+e});Qp[t>1?"border"+e:e]=function(e,t,n,r,i){var o,s;if(arguments.length<4)return o=a.map(function(t){return Vp(e,t,n)}),5===(s=o.join(" ")).split(o[0]).length?o[0]:s;o=(r+"").split(" "),s={},a.forEach(function(e,t){return s[e]=o[t]=o[t]||o[(t-1)/2|0]}),e.init(t,s,i)}});var gh,mh,vh,bh={name:"css",register:Np,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var o,a,s,l,c,u,f,d,p,h,y,g,m,v,b,w,_,x=this._props,S=e.style,k=n.vars.startAt;for(f in ep||Np(),this.styles=this.styles||Op(e),w=this.styles.props,this.tween=n,t)if("autoRound"!==f&&(a=t[f],!Au[f]||!md(f,t,n,r,e,i)))if(c=typeof a,u=Qp[f],"function"===c&&(c=typeof(a=a.call(n,r,e,i))),"string"===c&&~a.indexOf("random(")&&(a=Lf(a)),u)u(this,e,f,a,n)&&(b=1);else if("--"===f.substr(0,2))o=(getComputedStyle(e).getPropertyValue(f)+"").trim(),a+="",Kf.lastIndex=0,Kf.test(o)||(d=kf(o),(p=kf(a))?d!==p&&(o=Hp(e,f,o,p)+p):d&&(a+=d)),this.add(S,"setProperty",o,a,r,i,0,0,f),x.push(f),w.push(f,0,S[f]);else if("undefined"!==c){if(k&&f in k?(o="function"==typeof k[f]?k[f].call(n,r,e,i):k[f],Xc(o)&&~o.indexOf("random(")&&(o=Lf(o)),kf(o+"")||"auto"===o||(o+=Wc.units[f]||kf(Vp(e,f))||""),"="===(o+"").charAt(1)&&(o=Vp(e,f))):o=Vp(e,f),l=parseFloat(o),(h="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),s=parseFloat(a),f in dp&&("autoAlpha"===f&&(1===l&&"hidden"===Vp(e,"visibility")&&s&&(l=0),w.push("visibility",0,S.visibility),Wp(this,S,"visibility",l?"inherit":"hidden",s?"inherit":"hidden",!s)),"scale"!==f&&"transform"!==f&&~(f=dp[f]).indexOf(",")&&(f=f.split(",")[0])),y=f in op){if(this.styles.save(f),_=a,"string"===c&&"var(--"===a.substring(0,6)){if("calc("===(a=jp(e,a.substring(4,a.indexOf(")")))).substring(0,5)){var E=e.style.perspective;e.style.perspective=a,a=jp(e,"perspective"),E?e.style.perspective=E:Up(e,"perspective")}s=parseFloat(a)}if(g||((m=e._gsap).renderTransform&&!t.parseTransform||ih(e,t.parseTransform),v=!1!==t.smoothOrigin&&m.smooth,(g=this._pt=new Bd(this._pt,S,Ip,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new Bd(this._pt,m,"scaleY",m.scaleY,(h?Uu(m.scaleY,h+s):s)-m.scaleY||0,pp),this._pt.u=0,x.push("scaleY",f),f+="X";else{if("transformOrigin"===f){w.push(Cp,0,S[Cp]),a=Yp(a),m.svg?rh(e,a,0,v,0,this):((p=parseFloat(a.split(" ")[2])||0)!==m.zOrigin&&Wp(this,m,"zOrigin",m.zOrigin,p),Wp(this,S,f,oh(o),oh(a)));continue}if("svgOrigin"===f){rh(e,a,1,v,0,this);continue}if(f in Jp){ph(this,m,f,l,h?Uu(l,h+a):a);continue}if("smoothOrigin"===f){Wp(this,m,"smooth",m.smooth,a);continue}if("force3D"===f){m[f]=a;continue}if("transform"===f){yh(this,a,e);continue}}}else f in S||(f=Lp(f)||f);if(y||(s||0===s)&&(l||0===l)&&!fp.test(a)&&f in S)s||(s=0),(d=(o+"").substr((l+"").length))!==(p=kf(a)||(f in Wc.units?Wc.units[f]:d))&&(l=Hp(e,f,o,p)),this._pt=new Bd(this._pt,y?m:S,f,l,(h?Uu(l,h+s):s)-l,y||"px"!==p&&"zIndex"!==f||!1===t.autoRound?pp:mp),this._pt.u=p||0,y&&_!==a?(this._pt.b=o,this._pt.e=_,this._pt.r=gp):d!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=yp);else if(f in S)Gp.call(this,e,f,o,h?h+a:a);else if(f in e)this.add(e,f,o||e[f],h?h+a:a,r,i);else if("parseTransform"!==f){wu(f,a);continue}y||(f in S?w.push(f,0,S[f]):"function"==typeof e[f]?w.push(f,2,e[f]()):w.push(f,1,o||e[f])),x.push(f)}b&&Nd(this)},render:function(e,t){if(t.tween._time||!rp())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Vp,aliases:dp,getSetter:function(e,t,n){var r=dp[t];return r&&r.indexOf(",")<0&&(t=r),t in op&&t!==Cp&&(e._gsap.x||Vp(e,"x"))?n&&np===n?"scale"===t?Sp:xp:(np=n||{})&&("scale"===t?kp:Ep):e.style&&!tu(e.style[t])?wp:~t.indexOf("-")?_p:Td(e,t)},core:{_removeProperty:Up,_getMatrix:nh}};$d.utils.checkPrefix=Lp,$d.core.getStyleSaver=Op,vh=Fu((gh="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(mh="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){op[e]=1}),Fu(mh,function(e){Wc.units[e]="deg",Jp[e]=1}),dp[vh[13]]=gh+","+mh,Fu("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");dp[t[1]]=vh[t[0]]}),Fu("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Wc.units[e]="px"}),$d.registerPlugin(bh);var wh=$d.registerPlugin(bh)||$d;wh.core.Tween;let _h="undefined"!=typeof document?R.useLayoutEffect:R.useEffect,xh=e=>e&&!Array.isArray(e)&&"object"==typeof e,Sh=[],kh={},Eh=wh;const Ih=(e,t=Sh)=>{let n=kh;xh(e)?(n=e,e=null,t="dependencies"in n?n.dependencies:Sh):xh(t)&&(n=t,t="dependencies"in n?n.dependencies:Sh),e&&"function"!=typeof e&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:i}=n,o=R.useRef(!1),a=R.useRef(Eh.context(()=>{},r)),s=R.useRef(e=>a.current.add(null,e)),l=t&&t.length&&!i;return l&&_h(()=>(o.current=!0,()=>a.current.revert()),Sh),_h(()=>{if(e&&a.current.add(e,r),!l||!o.current)return()=>a.current.revert()},t),{context:a.current,contextSafe:s.current}};Ih.register=e=>{Eh=e},Ih.headless=!0;const Ch="wipro-timeline-data",Th=[{sector:{id:"IT",label:"IT",color:"#5072b6",glowColor:"rgba(80, 114, 182, 0.4)"},placement:{x:550,y:200,size:500,delay:0}},{sector:{id:"Sustainability",label:"Sustainability",color:"#70a363",glowColor:"rgba(112, 163, 99, 0.4)"},placement:{x:360,y:720,size:380,delay:.8}},{sector:{id:"ConsumerCare",label:"Consumer\nCare",color:"#f58d53",glowColor:"rgba(245, 141, 83, 0.4)"},placement:{x:300,y:1100,size:330,delay:1.6}},{sector:{id:"WiN",label:"WIN",color:"#7676b3",glowColor:"rgba(118, 118, 179, 0.4)"},placement:{x:80,y:860,size:310,delay:1.2}},{sector:{id:"GEJV",label:"GE-JV",color:"#6fc5b1",glowColor:"rgba(111, 197, 177, 0.4)"},placement:{x:50,y:1180,size:220,delay:2.4}},{sector:{id:"Foundation",label:"Foundation",color:"#349bb3",glowColor:"rgba(52, 155, 179, 0.4)"},placement:{x:680,y:830,size:280,delay:2}},{sector:{id:"General",label:"General\nCompany\nEvents",color:"#f48182",glowColor:"rgba(244, 129, 130, 0.4)"},placement:{x:30,y:160,size:540,delay:.3}}],Mh=[{id:"g1",year:1945,description:"M.H. Hasham Premji establishes the company in Amalner, Maharashtra.",sectorId:"General",decade:"1945"},{id:"g13",year:1947,description:"Company expands production capacity to meet growing domestic demand in newly independent India.",sectorId:"General",decade:"1945"},{id:"g14",year:1960,description:"Major expansion of the Amalner manufacturing facility, doubling production capacity for vegetable oils.",sectorId:"General",decade:"1955"},{id:"g2",year:1966,description:"21-year-old Azim Premji returns from Stanford to lead the company after his father's death.",sectorId:"General",decade:"1965"},{id:"g3",year:1968,description:"Western India Vegetable Products becomes Wipro Products Limited.",sectorId:"General",decade:"1965"},{id:"g15",year:1975,description:"Azim Premji initiates strategic diversification into industrial and technology segments under the Wipro umbrella.",sectorId:"General",decade:"1975"},{id:"g16",year:1982,description:"Company renamed from Wipro Products Limited to Wipro Limited, reflecting its multi-industry portfolio.",sectorId:"General",decade:"1975"},{id:"g4",year:1992,description:"Wipro lists on the Bombay Stock Exchange.",sectorId:"General",decade:"1985"},{id:"g5",year:1997,description:"Wipro becomes one of the first Indian companies to adopt Six Sigma quality methodology across all businesses.",sectorId:"General",decade:"1995"},{id:"g6",year:2e3,description:"Wipro lists on the New York Stock Exchange.",sectorId:"General",decade:"1995"},{id:"g7",year:2005,description:"New brand identity reflecting innovation focus.",sectorId:"General",decade:"2005"},{id:"g8",year:2013,description:"Non-IT businesses (consumer care, lighting, hydraulics) demerged into Wipro Enterprises, effective March 31.",sectorId:"General",decade:"2005"},{id:"g9",year:2019,description:"Azim Premji retires after 53 years; son Rishad Premji succeeds him as Executive Chairman.",sectorId:"General",decade:"2015"},{id:"g10",year:2020,description:"Major remote work transition; Rs 1,125 crore committed to pandemic relief.",sectorId:"General",decade:"2015"},{id:"g11",year:2022,description:"Wipro surpasses $10 billion annual revenue for the first time, reaching $10.38 billion.",sectorId:"General",decade:"2015"},{id:"g12",year:2024,description:"Srini Pallia becomes Chief Executive Officer and Managing Director, succeeding Thierry Delaporte.",sectorId:"General",decade:"2015"},{id:"it20",year:1947,description:"Early manufacturing operations lay the groundwork for Wipro's future engineering and technology capabilities.",sectorId:"IT",decade:"1945"},{id:"it21",year:1962,description:"India's IIT system expansion creates the talent base that will power Wipro's future IT services division.",sectorId:"IT",decade:"1955"},{id:"it22",year:1970,description:"Azim Premji begins studying global technology trends, recognizing the potential of computing for Indian industry.",sectorId:"IT",decade:"1965"},{id:"it1",year:1977,description:"Wipro enters the technology sector with minicomputers.",sectorId:"IT",decade:"1975"},{id:"it2",year:1980,description:"Manufacturing minicomputers under license from Sentinel.",sectorId:"IT",decade:"1975"},{id:"it3",year:1981,description:"Separate IT division established for software services.",sectorId:"IT",decade:"1975"},{id:"it4",year:1983,description:"First dedicated software development center established.",sectorId:"IT",decade:"1975"},{id:"it5",year:1985,description:"Collaboration with Sun Microsystems for workstations.",sectorId:"IT",decade:"1985"},{id:"it6",year:1990,description:"Wipro begins offshore software services for global clients.",sectorId:"IT",decade:"1985"},{id:"it7",year:1995,description:"First company in the world to achieve SEI CMM Level 5.",sectorId:"IT",decade:"1995"},{id:"it8",year:1999,description:"Major Y2K remediation projects accelerate global growth.",sectorId:"IT",decade:"1995"},{id:"it9",year:2001,description:"World's first IT services company to achieve People Capability Maturity Model Level 5.",sectorId:"IT",decade:"1995"},{id:"it10",year:2003,description:"Entry into business process outsourcing.",sectorId:"IT",decade:"1995"},{id:"it11",year:2007,description:"$600 million acquisition of US-based IT infrastructure services provider with five data centers.",sectorId:"IT",decade:"2005"},{id:"it12",year:2012,description:"Launch of cloud infrastructure and services division.",sectorId:"IT",decade:"2005"},{id:"it13",year:2015,description:"Launch of Wipro Digital and acquisition of Danish strategic design firm Designit for $94 million.",sectorId:"IT",decade:"2015"},{id:"it14",year:2016,description:"Launch of Holmes, Wipro's proprietary AI and automation platform for cognitive computing.",sectorId:"IT",decade:"2015"},{id:"it15",year:2017,description:"Acquisition strengthens crowdsourcing and developer community capabilities.",sectorId:"IT",decade:"2015"},{id:"it16",year:2021,description:"$1.45B Capco acquisition and $1B FullStride Cloud Services investment launched.",sectorId:"IT",decade:"2015"},{id:"it17",year:2022,description:"$540 million acquisition of SAP consulting firm Rizing, creating an SAP consulting powerhouse.",sectorId:"IT",decade:"2015"},{id:"it18",year:2023,description:"Launch of dedicated AI innovation hub.",sectorId:"IT",decade:"2015"},{id:"it19",year:2024,description:"Enterprise-wide AI transformation strategy launched.",sectorId:"IT",decade:"2015"},{id:"cc1",year:1947,description:"Production of vanaspati ghee and refined oils under Sunflower and Kisan brands.",sectorId:"ConsumerCare",decade:"1945"},{id:"cc2",year:1957,description:"The company diversifies into the personal care market with laundry soap 787.",sectorId:"ConsumerCare",decade:"1955"},{id:"cc3",year:1971,description:"Expansion into bakery fats, ethnic ingredient-based toiletries.",sectorId:"ConsumerCare",decade:"1965"},{id:"cc13",year:1978,description:"Launch of herbal shikakai-based hair wash soap, tapping into India's traditional hair care ingredients.",sectorId:"ConsumerCare",decade:"1975"},{id:"cc4",year:1985,description:"Sandalwood-and-turmeric soap test-launched in Bangalore; national rollout follows in 1986.",sectorId:"ConsumerCare",decade:"1985"},{id:"cc5",year:1991,description:"Entry into baby care with milk-and-almonds baby soap, later expanding to full baby care portfolio.",sectorId:"ConsumerCare",decade:"1985"},{id:"cc14",year:1999,description:"Santoor expands beyond South India to become a pan-India brand with distribution across all major states.",sectorId:"ConsumerCare",decade:"1995"},{id:"cc6",year:2003,description:"Glucovita glucose powder brand acquired from Hindustan Unilever.",sectorId:"ConsumerCare",decade:"1995"},{id:"cc7",year:2004,description:"Kerala-origin ayurvedic soap brand Chandrika acquired for Rs 31 crore.",sectorId:"ConsumerCare",decade:"1995"},{id:"cc8",year:2007,description:"Singapore-based Unza Holdings acquired for $246 million, expanding into Southeast Asia.",sectorId:"ConsumerCare",decade:"2005"},{id:"cc9",year:2009,description:"Yardley of London acquired for Asia, Middle East, and Australasia for $45.5 million.",sectorId:"ConsumerCare",decade:"2005"},{id:"cc10",year:2012,description:"$144 million acquisition of Singapore skincare company with Bio-essence and Ginvera brands.",sectorId:"ConsumerCare",decade:"2005"},{id:"cc11",year:2018,description:"Santoor becomes India's second-largest soap brand by value, surpassing Lux.",sectorId:"ConsumerCare",decade:"2015"},{id:"cc12",year:2025,description:"Santoor crosses Rs 2,850 crore in sales, surpassing Lifebuoy as India's largest soap brand.",sectorId:"ConsumerCare",decade:"2015"},{id:"w9",year:1948,description:"Foundation-era industrial operations in Amalner establish Wipro's manufacturing DNA and engineering culture.",sectorId:"WiN",decade:"1945"},{id:"w10",year:1960,description:"Wipro explores industrial product lines beyond consumer goods, laying groundwork for future engineering businesses.",sectorId:"WiN",decade:"1955"},{id:"w2",year:1974,description:"Wipro enters the medical systems business.",sectorId:"WiN",decade:"1965"},{id:"w1",year:1976,description:"Wipro establishes hydraulic cylinder manufacturing in Bengaluru.",sectorId:"WiN",decade:"1975"},{id:"w3",year:1992,description:"Wipro Lighting division established for commercial, industrial, and outdoor lighting solutions.",sectorId:"WiN",decade:"1985"},{id:"w11",year:1988,description:"Bengaluru hydraulic cylinder plant undergoes major expansion to serve growing construction and earth-moving equipment markets.",sectorId:"WiN",decade:"1985"},{id:"w12",year:1998,description:"Wipro Lighting establishes R&D center focused on energy-efficient lighting solutions for commercial buildings.",sectorId:"WiN",decade:"1995"},{id:"w4",year:2006,description:"Swedish Hydrauto Group acquired, gaining five European manufacturing facilities in Sweden and Finland.",sectorId:"WiN",decade:"2005"},{id:"w5",year:2008,description:"Water and wastewater treatment division launched for industrial applications across oil, steel, and pharma.",sectorId:"WiN",decade:"2005"},{id:"w6",year:2012,description:"Metal and polymer additive manufacturing division launched in Bengaluru for aerospace and defense.",sectorId:"WiN",decade:"2005"},{id:"w7",year:2024,description:"Nebraska-based hydraulic cylinder manufacturer acquired, strengthening North American presence.",sectorId:"WiN",decade:"2015"},{id:"w8",year:2024,description:"Rs 250 crore state-of-the-art facility opened in Jaipur, first in Northern India, with 1,000 cylinders/day capacity.",sectorId:"WiN",decade:"2015"},{id:"w13",year:2019,description:"Wipro Lighting launches IoT-enabled smart lighting platform for connected buildings and smart city projects.",sectorId:"WiN",decade:"2015"},{id:"ge11",year:1950,description:"Post-independence India invests in medical infrastructure — the ecosystem that will later attract GE's partnership.",sectorId:"GEJV",decade:"1945"},{id:"ge12",year:1956,description:"General Electric begins operations in India, importing industrial and medical equipment — decades before the Wipro JV.",sectorId:"GEJV",decade:"1955"},{id:"ge13",year:1974,description:"Wipro's Medical Systems division begins operations, building capability that will eventually attract GE as a JV partner.",sectorId:"GEJV",decade:"1965"},{id:"ge14",year:1980,description:"India's medical devices import reliance grows, creating the opportunity for domestic manufacturing partnerships.",sectorId:"GEJV",decade:"1975"},{id:"ge1",year:1989,description:"Wipro and GE establish 51:49 joint venture for medical diagnostic equipment in South Asia.",sectorId:"GEJV",decade:"1985"},{id:"ge2",year:1990,description:"Wipro GE Medical Systems incorporated in March; Bengaluru manufacturing facility commences operations.",sectorId:"GEJV",decade:"1985"},{id:"ge3",year:1998,description:"Wipro GE emerges as the largest healthcare systems company in South Asia and India's top medical exporter.",sectorId:"GEJV",decade:"1995"},{id:"ge4",year:2e3,description:"John F. Welch Technology Centre inaugurated in Bengaluru, GE's largest multidisciplinary R&D center outside the US.",sectorId:"GEJV",decade:"1995"},{id:"ge5",year:2004,description:"JV renamed from Wipro GE Medical Systems to Wipro GE Healthcare following GE's global rebrand.",sectorId:"GEJV",decade:"1995"},{id:"ge6",year:2008,description:"Ultra-portable ECG designed and manufactured in India at one-third the cost, later exported globally.",sectorId:"GEJV",decade:"2005"},{id:"ge7",year:2009,description:"GE consolidates all standalone healthcare units under Wipro GE, streamlining manufacturing, sales, and service.",sectorId:"GEJV",decade:"2005"},{id:"ge8",year:2020,description:"Collaborative AI lab for medical and healthcare imaging inaugurated with Indian Institute of Science.",sectorId:"GEJV",decade:"2015"},{id:"ge9",year:2022,description:"Revolution Aspire CT scanner launched, designed and manufactured end-to-end in India under the PLI scheme.",sectorId:"GEJV",decade:"2015"},{id:"ge10",year:2024,description:"Rs 8,000 crore investment announced over 5 years in manufacturing and R&D, targeting 70% local production by 2030.",sectorId:"GEJV",decade:"2015"},{id:"f9",year:1950,description:"M.H. Hasham Premji instills strong values of community service and giving back — principles that shape Wipro's future philanthropy.",sectorId:"Foundation",decade:"1945"},{id:"f10",year:1962,description:"Early employee welfare initiatives in Amalner factory including housing, healthcare, and education support for workers' families.",sectorId:"Foundation",decade:"1955"},{id:"f11",year:1970,description:"Young Azim Premji begins integrating social responsibility into corporate strategy, influenced by his father's values and Stanford education.",sectorId:"Foundation",decade:"1965"},{id:"f12",year:1980,description:"Wipro begins structured community engagement programs in Bengaluru, focusing on education and local development.",sectorId:"Foundation",decade:"1975"},{id:"f13",year:1990,description:"First formal education outreach programs launched, supporting government schools near Wipro campuses across India.",sectorId:"Foundation",decade:"1985"},{id:"f1",year:2001,description:"Non-profit founded to improve public school education in rural India.",sectorId:"Foundation",decade:"1995"},{id:"f2",year:2002,description:"Employee-driven trust established for community engagement in education, healthcare, and disaster response.",sectorId:"Foundation",decade:"1995"},{id:"f3",year:2010,description:"University established in Bengaluru under Karnataka state act with $2 billion endowment for education.",sectorId:"Foundation",decade:"2005"},{id:"f4",year:2011,description:"Sustainability education program for schools; has since reached 51,000+ schools and 210,000+ students.",sectorId:"Foundation",decade:"2005"},{id:"f5",year:2013,description:"First Indian to sign the Giving Pledge, committing majority of wealth to philanthropic causes.",sectorId:"Foundation",decade:"2005"},{id:"f6",year:2014,description:"$5.1 million program with US universities to train school teachers in science education leadership.",sectorId:"Foundation",decade:"2005"},{id:"f7",year:2019,description:"Largest charitable gift in Indian history; total commitment reaches $21 billion in Wipro shares.",sectorId:"Foundation",decade:"2015"},{id:"f8",year:2020,description:"Rs 1,125 crore committed to pandemic relief; additional Rs 1,000 crore in 2021 for vaccination.",sectorId:"Foundation",decade:"2015"},{id:"s11",year:1950,description:"As a vegetable oil producer, Wipro's founding business relies on sustainable agricultural sourcing from day one.",sectorId:"Sustainability",decade:"1945"},{id:"s12",year:1963,description:"Amalner factory implements early water recycling practices in vanaspati production, reducing industrial water consumption.",sectorId:"Sustainability",decade:"1955"},{id:"s13",year:1972,description:"Following the first UN Conference on Environment in Stockholm, Wipro begins considering environmental impact in operations.",sectorId:"Sustainability",decade:"1965"},{id:"s14",year:1982,description:"Early energy efficiency initiatives in manufacturing facilities, reducing power consumption in hydraulic cylinder and consumer goods production.",sectorId:"Sustainability",decade:"1975"},{id:"s15",year:1993,description:"Wipro begins environmental management system implementation across manufacturing units, ahead of most Indian companies.",sectorId:"Sustainability",decade:"1985"},{id:"s1",year:2001,description:"Wipro launches programs addressing ecological and social sustainability.",sectorId:"Sustainability",decade:"1995"},{id:"s2",year:2005,description:"Gurgaon campus receives LEED Platinum certification -- largest Platinum-rated green building in Asia.",sectorId:"Sustainability",decade:"2005"},{id:"s3",year:2008,description:"Enterprise-wide ecological sustainability charter covering carbon, water, waste, and biodiversity.",sectorId:"Sustainability",decade:"2005"},{id:"s4",year:2009,description:"Inaugural sustainability report published following Global Reporting Initiative framework.",sectorId:"Sustainability",decade:"2005"},{id:"s5",year:2010,description:"First inclusion in DJSI World Index; maintains unbroken membership for 13+ consecutive years.",sectorId:"Sustainability",decade:"2005"},{id:"s6",year:2013,description:"Campus near Hyderabad achieves net-zero energy through solar, geothermal, and LED systems.",sectorId:"Sustainability",decade:"2005"},{id:"s7",year:2021,description:"Commitment to net-zero GHG emissions by 2040 with 55% absolute reduction target by 2030.",sectorId:"Sustainability",decade:"2015"},{id:"s8",year:2022,description:"Among first seven companies globally to have net-zero targets validated by the Science Based Targets initiative.",sectorId:"Sustainability",decade:"2015"},{id:"s9",year:2022,description:"Achieved A rating on CDP climate disclosure, recognized among top Indian companies in environmental action.",sectorId:"Sustainability",decade:"2015"},{id:"s10",year:2023,description:"Ranked 2nd overall in Financial Times Climate Leaders Asia-Pacific for 67.6% emissions reduction.",sectorId:"Sustainability",decade:"2015"}];function Ah(){return{dandelions:Th.map(e=>({sector:{...e.sector},placement:{...e.placement}})),milestones:Mh.map(e=>({...e}))}}function Oh(){try{const e=localStorage.getItem(Ch);if(e){const t=JSON.parse(e);if(t.dandelions&&t.milestones)return t}}catch(e){}return Ah()}function Ph(e){try{localStorage.setItem(Ch,JSON.stringify(e))}catch(t){}}const jh=R.createContext(null);function Rh({children:e}){const[t,n]=R.useState(Oh),r=R.useCallback(e=>{n(t=>{const n=e(t);return Ph(n),n})},[]),i=R.useCallback(()=>{const e=Ah();Ph(e),n(e)},[]);return _e.jsx(jh.Provider,{value:{data:t,updateData:r,resetToDefaults:i},children:e})}function Lh(){const e=R.useContext(jh);if(!e)throw new Error("useTimelineData must be used within TimelineDataProvider");return e}function Nh({children:e}){const t=R.useRef(null),[n,r]=R.useState(1),i=R.useCallback(()=>{const e=window.innerWidth,t=window.innerHeight;r(Math.min(e/1080,t/1920))},[]);return R.useEffect(()=>(i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)),[i]),_e.jsx("div",{ref:t,style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",background:"#d2cdc5"},children:_e.jsx("div",{style:{width:1080,height:1920,position:"relative",overflow:"hidden",transform:"scale(".concat(n,")"),transformOrigin:"center center",flexShrink:0},children:e})})}const Bh={wander:{durationRange:[18,35],distanceRange:[150,400],ease:"power1.inOut"},sway:{xRange:[20,40],yRange:[15,30],durationRange:[6,10]},rotation:{durationRange:[25,90]},depth:{scaleRange:[.8,1.5]}},Fh={dandelionMove:{duration:.8,ease:"power2.inOut",targetY:230},fadeOthers:{duration:.5,targetOpacity:.15},colorGradient:{duration:.6},reverse:{moveBackDelay:.3}};function Dh(e,t){return e+Math.random()*(t-e)}function zh({sectorColor:e=null}){const t=R.useRef(null);return R.useEffect(()=>{const n=t.current;n&&wh.to(n,{opacity:e?1:0,duration:Fh.colorGradient.duration,ease:"power2.inOut"})},[e]),_e.jsxs(_e.Fragment,{children:[_e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to top, #C3C7C8 0%, #d1cece 33%, #DEDBD4 100%)"}}),_e.jsx("div",{ref:t,style:{position:"absolute",inset:0,background:e?"linear-gradient(180deg, transparent 0%, transparent 40%, ".concat(e,"33 70%, ").concat(e,"66 100%)"):"transparent",opacity:0,pointerEvents:"none",zIndex:1}})]})}const Uh=["M73.77,71.7h-.46c0-.09,0-.18,0-.26.02-.68.04-1.36.06-2.03.06-2.22.06-3.47.06-3.77v-21.24s-.02-39.2-.02-39.2c0-.21-.01-.41-.02-.62-.01-.2-.03-.4-.05-.6-.02-.22-.06-.44-.07-.67-.02-.7,0-1.4-.02-2.1h.55c-.02.7,0,1.4-.02,2.1,0,.22-.05.45-.07.67-.02.2-.03.4-.05.6-.01.21-.02.41-.02.62,0,1.71,0,3.42,0,5.13v55.32c0,.3,0,1.55.05,3.77.02.68.04,1.36.06,2.03,0,.09,0,.18,0,.26Z","M73.77,71.7h-.46c0-.08,0-.17,0-.26,0-.68.02-1.37.03-2.05.02-2.24,0-3.5,0-3.8l-.32-21.4-.64-39.5c0-.21-.02-.42-.03-.62-.01-.2-.03-.4-.06-.6-.02-.22-.07-.45-.08-.67-.03-.7-.02-1.41-.05-2.11h.55c-.01.69.02,1.4.01,2.1,0,.23-.04.45-.06.68-.01.2-.03.4-.04.6,0,.21-.01.42-.01.62.02,1.72.05,3.44.07,5.17l.85,55.75c0,.3.03,1.56.12,3.8.03.68.06,1.37.09,2.05,0,.09,0,.18.01.26Z","M73.77,71.69l-.46.02c0-.09,0-.18,0-.26,0-.69,0-1.38-.01-2.07-.02-2.26-.07-3.53-.08-3.84l-.75-21.6-1.44-39.87c0-.21-.03-.42-.04-.63-.02-.2-.04-.41-.07-.61-.03-.23-.08-.45-.09-.68-.05-.71-.05-1.42-.09-2.13l.55-.02c0,.71.05,1.42.06,2.13,0,.23-.03.45-.04.68-.01.2-.02.41-.02.61,0,.21,0,.42,0,.63.05,1.74.12,3.48.18,5.21l1.98,56.26c.01.31.06,1.58.2,3.83.04.69.09,1.38.13,2.07,0,.09.01.18.02.26Z","M73.78,71.69l-.46.02c0-.09,0-.18,0-.26-.02-.69-.03-1.38-.05-2.07-.07-2.26-.13-3.53-.15-3.84l-1.16-21.6-2.18-39.87c-.01-.21-.03-.42-.06-.63-.02-.2-.05-.41-.08-.61-.03-.23-.08-.45-.1-.68-.06-.71-.07-1.42-.13-2.13l.55-.03c.02.71.08,1.42.1,2.13,0,.23-.02.46-.03.68,0,.2-.01.41-.01.61s0,.42.01.63c.09,1.74.18,3.48.27,5.21l3.04,56.26c.02.31.09,1.58.27,3.83.05.69.11,1.38.17,2.07,0,.09.02.18.02.26Z","M73.78,71.68l-.46.03c0-.09,0-.18,0-.26-.03-.68-.05-1.36-.08-2.04-.1-2.22-.18-3.48-.2-3.78l-1.47-21.24-2.76-39.2c-.02-.21-.04-.41-.06-.62-.03-.2-.06-.4-.09-.6-.04-.22-.09-.44-.11-.66-.07-.7-.1-1.4-.17-2.09l.55-.04c.03.7.1,1.4.13,2.1,0,.22-.02.45-.02.67,0,.2,0,.4,0,.6,0,.21,0,.41.02.62.11,1.71.23,3.42.35,5.13l3.85,55.31c.02.3.11,1.55.32,3.77.06.68.13,1.35.2,2.03,0,.09.02.18.03.26Z","M73.78,71.68l-.46.04c0-.09,0-.18-.01-.26-.04-.68-.07-1.35-.11-2.03-.13-2.21-.23-3.46-.25-3.76l-1.76-21.12-3.29-38.98c-.02-.2-.04-.41-.07-.61-.03-.2-.06-.4-.1-.59-.04-.22-.1-.44-.12-.66-.08-.69-.11-1.39-.19-2.08l.55-.05c.04.7.12,1.39.16,2.09.01.22-.01.45-.01.67,0,.2,0,.4,0,.6,0,.21.01.41.03.62.13,1.7.28,3.4.42,5.1l4.6,55c.03.3.13,1.55.37,3.75.07.67.15,1.35.23,2.02,0,.09.02.18.03.26Z","M73.79,71.67l-.46.06c0-.09-.01-.18-.02-.26-.06-.66-.12-1.33-.18-1.99-.2-2.17-.35-3.39-.38-3.69l-2.46-20.73-4.59-38.26c-.03-.2-.06-.4-.09-.6-.03-.19-.07-.39-.12-.58-.05-.22-.11-.43-.14-.64-.1-.68-.16-1.37-.26-2.05l.55-.06c.06.69.17,1.37.23,2.05.02.22,0,.44.01.66,0,.2.01.39.02.59.01.2.03.4.05.61.19,1.67.39,3.34.59,5l6.43,53.99c.04.29.18,1.52.5,3.68.1.66.2,1.32.3,1.98.01.09.03.17.04.26Z","M73.79,71.67l-.46.06c0-.09-.02-.17-.03-.26-.07-.64-.13-1.29-.2-1.93-.23-2.11-.38-3.29-.42-3.58l-3.87-28.84-3.84-28.37c-.03-.2-.06-.39-.1-.58-.04-.19-.08-.38-.12-.56-.05-.21-.12-.41-.15-.62-.11-.66-.18-1.33-.29-1.99l.55-.07c.07.67.18,1.33.25,2,.02.21,0,.43.02.64,0,.19.02.38.03.57.01.2.03.39.06.59.21,1.62.43,3.24.64,4.85l7.03,52.36c.04.28.2,1.47.54,3.56.1.64.21,1.28.32,1.92.01.09.03.17.04.26Z","M73.8,71.66l-.46.07c0-.09-.02-.17-.03-.26-.07-.64-.14-1.27-.22-1.91-.25-2.08-.42-3.25-.46-3.54l-4.17-28.5-4.13-28.03c-.03-.19-.07-.39-.11-.58-.04-.19-.08-.37-.13-.55-.05-.21-.12-.41-.16-.61-.12-.65-.19-1.32-.31-1.97l.54-.08c.07.66.2,1.32.27,1.98.02.21.01.42.02.63,0,.19.02.38.04.57.02.19.04.39.06.58.23,1.6.46,3.2.69,4.79l7.57,51.73c.04.28.22,1.45.58,3.52.11.63.22,1.26.34,1.89.02.09.03.17.05.26Z","M73.8,71.66l-.46.08c-.01-.09-.02-.17-.03-.26-.08-.63-.16-1.26-.25-1.89-.28-2.07-.46-3.23-.51-3.51l-4.55-28.24-4.51-27.77c-.03-.19-.07-.38-.11-.57-.04-.18-.09-.37-.13-.55-.05-.2-.13-.4-.17-.61-.13-.65-.21-1.31-.34-1.95l.54-.09c.08.66.21,1.31.3,1.96.03.21.02.42.03.63.01.19.03.38.04.56.02.19.04.39.07.58.25,1.58.5,3.17.76,4.75l8.27,51.26c.05.28.24,1.44.62,3.49.12.63.24,1.25.36,1.88.02.09.03.17.05.26Z","M73.8,71.66l-.46.08c-.01-.09-.02-.17-.04-.26-.09-.63-.18-1.26-.27-1.9-.31-2.07-.51-3.23-.56-3.51l-4.96-28.24-4.91-27.77c-.03-.19-.08-.38-.12-.57-.04-.18-.09-.37-.14-.55-.06-.2-.13-.4-.18-.61-.14-.65-.23-1.31-.36-1.95l.54-.1c.09.66.23,1.31.32,1.96.03.21.03.42.04.63.01.19.03.38.05.56.02.19.05.39.08.58.27,1.59.55,3.17.83,4.75l9,51.26c.05.28.26,1.44.67,3.49.13.62.26,1.25.39,1.88.02.08.04.17.05.26Z","M73.8,71.65l-.46.09c-.01-.09-.03-.17-.04-.26-.1-.63-.19-1.25-.29-1.88-.33-2.05-.54-3.2-.59-3.48l-5.24-28.02-5.18-27.56c-.04-.19-.08-.38-.13-.56-.05-.18-.1-.36-.15-.54-.06-.2-.14-.4-.18-.6-.14-.64-.24-1.3-.38-1.94l.54-.1c.1.65.25,1.3.34,1.95.03.21.03.42.05.63.02.19.03.37.06.56.02.19.05.38.09.57.29,1.57.58,3.14.87,4.72l9.51,50.87c.05.28.27,1.43.71,3.46.13.62.27,1.24.41,1.86.02.09.04.17.06.26Z","M73.81,71.65l-.46.09c-.01-.09-.03-.17-.04-.26-.1-.62-.2-1.24-.31-1.87-.34-2.03-.57-3.17-.62-3.45l-5.46-27.77-5.41-27.31c-.04-.19-.08-.37-.13-.56-.05-.18-.1-.36-.15-.54-.06-.2-.14-.39-.19-.6-.15-.64-.25-1.29-.4-1.92l.54-.11c.11.65.26,1.29.36,1.93.03.21.03.41.05.62.02.19.04.37.06.55.03.19.05.38.09.57.3,1.56.61,3.12.91,4.67l9.92,50.42c.05.28.28,1.41.74,3.43.14.61.28,1.23.42,1.84.02.09.04.17.06.25Z","M73.81,71.65l-.46.09c-.01-.09-.03-.17-.04-.26-.11-.62-.21-1.24-.32-1.87-.36-2.03-.6-3.17-.65-3.45l-5.73-27.77-5.67-27.31c-.04-.19-.09-.37-.14-.56-.05-.18-.1-.36-.16-.54-.06-.2-.14-.39-.19-.59-.15-.64-.26-1.29-.42-1.92l.54-.11c.11.65.27,1.29.38,1.93.04.21.04.42.06.62.02.19.04.37.07.56.03.19.06.38.1.57.31,1.56.64,3.12.96,4.67l10.41,50.41c.06.28.3,1.41.77,3.43.14.61.29,1.23.44,1.84.02.08.04.17.06.25Z","M73.81,71.65l-.45.1c-.02-.09-.03-.17-.05-.26-.11-.62-.23-1.24-.34-1.86-.38-2.02-.63-3.16-.69-3.43l-6.03-27.6-5.97-27.15c-.04-.19-.09-.37-.14-.56-.05-.18-.11-.36-.16-.53-.06-.2-.15-.39-.2-.59-.16-.63-.28-1.28-.44-1.91l.54-.12c.12.64.28,1.28.4,1.92.04.2.04.41.07.62.02.19.05.37.07.55.03.19.06.38.1.57.33,1.55.67,3.1,1.01,4.65l10.96,50.11c.06.27.31,1.41.81,3.4.15.61.31,1.22.46,1.83.02.09.04.17.07.25Z","M73.81,71.64l-.45.11c-.02-.09-.03-.17-.05-.26-.12-.62-.25-1.24-.37-1.86-.41-2.02-.68-3.16-.74-3.43l-6.43-27.6-6.35-27.15c-.04-.19-.1-.37-.15-.56-.05-.18-.11-.36-.17-.53-.07-.2-.15-.39-.21-.59-.17-.63-.3-1.28-.47-1.91l.54-.12c.13.64.3,1.28.43,1.92.04.2.05.41.08.62.02.18.05.37.08.55.03.19.07.38.11.57.35,1.55.72,3.1,1.07,4.65l11.67,50.11c.06.27.33,1.41.85,3.4.16.61.32,1.22.49,1.83.02.09.05.17.07.25Z","M73.81,71.64l-.45.11c-.02-.09-.04-.17-.05-.26-.13-.62-.26-1.23-.4-1.85-.44-2.01-.72-3.14-.79-3.41l-6.82-27.45-6.74-27c-.05-.19-.1-.37-.16-.55-.06-.18-.12-.35-.18-.53-.07-.2-.16-.39-.22-.59-.18-.63-.31-1.27-.49-1.9l.53-.13c.14.64.32,1.27.46,1.91.04.2.05.41.08.62.03.18.06.37.09.55.04.19.07.38.12.56.37,1.54.76,3.08,1.14,4.62l12.39,49.84c.07.27.35,1.4.9,3.38.17.61.34,1.21.51,1.82.02.08.05.17.07.25Z","M73.82,71.63l-.45.12c-.02-.08-.04-.17-.06-.25-.15-.61-.29-1.22-.44-1.84-.48-2-.79-3.12-.86-3.39l-7.4-27.26-7.31-26.81c-.05-.18-.11-.37-.17-.55-.06-.18-.12-.35-.19-.53-.07-.19-.17-.38-.23-.58-.19-.62-.34-1.26-.53-1.89l.53-.14c.15.64.35,1.26.5,1.9.05.2.06.41.1.61.03.18.06.37.1.55.04.19.08.37.13.56.41,1.53.82,3.06,1.24,4.59l13.43,49.48c.07.27.38,1.39.97,3.36.18.6.37,1.2.55,1.8.03.08.05.17.08.25Z","M73.82,71.63l-.45.13c-.02-.09-.04-.17-.06-.25-.16-.63-.32-1.25-.48-1.88-.53-2.05-.86-3.19-.94-3.47l-8.03-27.89-7.93-27.43c-.06-.19-.12-.38-.18-.56-.06-.18-.13-.36-.2-.54-.08-.2-.18-.39-.24-.59-.21-.64-.37-1.29-.57-1.93l.53-.15c.16.65.37,1.29.54,1.94.05.21.07.42.11.63.04.19.07.38.11.56.04.19.09.38.14.57.44,1.57.9,3.13,1.34,4.69l14.58,50.63c.08.28.41,1.42,1.05,3.44.2.62.4,1.23.59,1.85.03.08.05.17.08.25Z","M73.82,71.62l-.44.14c-.02-.08-.04-.17-.07-.25-.17-.63-.34-1.25-.51-1.88-.56-2.05-.91-3.19-.99-3.47l-8.46-27.89-8.36-27.43c-.06-.19-.12-.37-.19-.56-.07-.18-.14-.36-.21-.54-.08-.2-.18-.39-.25-.59-.22-.64-.39-1.29-.6-1.92l.53-.16c.17.65.39,1.29.57,1.94.06.21.08.42.12.63.04.19.08.38.12.56.05.19.1.38.15.57.47,1.57.94,3.13,1.42,4.7l15.37,50.63c.08.28.43,1.42,1.11,3.44.21.62.41,1.23.62,1.84.03.08.06.16.09.25Z","M73.82,71.62l-.44.14c-.02-.08-.05-.17-.07-.25-.18-.62-.36-1.25-.54-1.87-.6-2.03-.96-3.17-1.05-3.45l-8.93-27.69-8.82-27.23c-.06-.19-.13-.37-.2-.56-.07-.18-.14-.36-.22-.53-.08-.2-.19-.39-.26-.59-.23-.63-.41-1.28-.64-1.91l.52-.17c.19.64.41,1.28.6,1.92.06.21.09.42.13.63.04.19.08.37.13.56.05.19.1.38.16.57.49,1.56,1,3.11,1.5,4.66l16.22,50.27c.09.27.46,1.41,1.16,3.41.22.61.44,1.22.65,1.83.03.08.06.16.09.25Z","M73.83,71.61l-.44.15c-.03-.08-.05-.17-.08-.25-.19-.62-.38-1.25-.58-1.87-.64-2.04-1.03-3.17-1.13-3.45l-9.54-27.69-9.42-27.23c-.07-.19-.14-.37-.21-.56-.07-.18-.15-.35-.23-.53-.09-.2-.2-.38-.27-.59-.24-.63-.44-1.28-.68-1.91l.52-.18c.2.64.44,1.28.64,1.92.06.21.09.42.15.63.05.19.09.38.14.56.05.19.11.38.17.57.53,1.56,1.06,3.11,1.6,4.66l17.33,50.27c.1.27.49,1.41,1.24,3.41.23.61.46,1.22.69,1.83.03.08.06.16.09.25Z","M73.83,71.61l-.43.16c-.03-.08-.06-.17-.08-.25-.21-.62-.42-1.25-.64-1.87-.7-2.04-1.13-3.17-1.23-3.45l-10.37-27.69-10.23-27.23c-.07-.19-.15-.37-.23-.55-.08-.18-.16-.35-.25-.53-.09-.2-.21-.38-.29-.58-.26-.63-.48-1.28-.73-1.9l.52-.19c.22.64.48,1.27.7,1.92.07.2.11.42.16.63.05.19.1.38.16.56.06.19.12.38.19.57.57,1.56,1.16,3.11,1.74,4.66l18.82,50.27c.1.27.53,1.41,1.34,3.41.25.61.5,1.22.75,1.83.03.08.07.16.1.24Z","M73.83,71.6l-.43.17c-.03-.08-.06-.16-.09-.25-.22-.61-.44-1.23-.67-1.84-.74-2.01-1.18-3.13-1.29-3.4l-10.84-27.27-10.7-26.81c-.07-.18-.16-.36-.24-.55-.08-.18-.17-.35-.26-.52-.1-.19-.21-.38-.3-.57-.27-.62-.5-1.26-.77-1.88l.51-.2c.23.64.5,1.25.73,1.89.07.2.11.42.18.62.05.19.11.37.17.55.06.19.13.38.2.56.6,1.53,1.21,3.06,1.82,4.59l19.69,49.51c.11.27.56,1.39,1.4,3.35.26.6.52,1.2.78,1.8.03.08.07.16.11.24Z","M73.84,71.59l-.43.18c-.03-.08-.06-.16-.1-.25-.24-.61-.48-1.21-.72-1.82-.8-1.98-1.27-3.09-1.39-3.36l-11.64-26.92-11.48-26.47c-.08-.18-.17-.36-.26-.54-.09-.17-.18-.34-.27-.51-.1-.19-.23-.37-.32-.56-.29-.61-.53-1.24-.82-1.85l.5-.22c.25.63.54,1.24.79,1.87.08.2.13.41.19.62.06.18.12.37.19.55.07.19.14.37.22.55.64,1.51,1.3,3.02,1.95,4.53l21.14,48.88c.12.27.6,1.37,1.5,3.31.28.59.55,1.18.83,1.77.04.08.08.16.11.24Z","M73.84,71.58l-.42.2c-.03-.08-.07-.16-.1-.24-.26-.6-.52-1.21-.78-1.81-.86-1.97-1.37-3.07-1.49-3.33l-12.47-26.69-12.3-26.25c-.09-.18-.18-.36-.27-.53-.09-.17-.19-.34-.29-.51-.11-.19-.24-.36-.33-.56-.31-.6-.57-1.23-.88-1.84l.5-.23c.27.62.58,1.23.84,1.85.09.2.14.41.21.61.07.18.13.36.2.55.07.18.15.37.23.55.69,1.5,1.39,3,2.09,4.5l22.65,48.46c.12.26.64,1.36,1.6,3.28.29.59.59,1.17.89,1.76.04.08.08.16.12.23Z","M73.84,71.57l-.41.21c-.04-.08-.07-.16-.11-.24-.28-.6-.57-1.21-.85-1.81-.94-1.97-1.49-3.07-1.63-3.33l-9.45-18.61L43.89,13.46c-.09-.18-.19-.36-.29-.53-.1-.17-.2-.34-.31-.51-.12-.19-.25-.36-.36-.55-.33-.6-.62-1.23-.95-1.83l.49-.25c.29.62.63,1.23.92,1.85.09.2.16.41.24.62.07.18.15.36.23.55.08.19.17.37.26.55.75,1.5,1.52,3,2.28,4.49l24.64,48.46c.13.26.69,1.36,1.73,3.28.32.59.64,1.17.96,1.75.04.08.09.15.13.23Z","M73.84,71.57l-.41.22c-.04-.08-.08-.16-.12-.24-.3-.6-.59-1.21-.89-1.81-.98-1.97-1.56-3.07-1.7-3.33l-9.86-18.61L42.62,13.46c-.1-.18-.2-.36-.31-.53-.1-.17-.21-.34-.32-.5-.12-.19-.26-.36-.37-.55-.34-.6-.65-1.23-.99-1.83l.49-.26c.31.62.65,1.22.96,1.85.1.2.16.41.25.62.08.18.16.37.24.55.09.19.17.37.27.55.79,1.5,1.58,3,2.37,4.49l25.7,48.46c.14.26.72,1.36,1.81,3.28.33.59.67,1.17,1,1.75.04.08.09.15.13.23Z","M73.85,71.56l-.4.23c-.04-.08-.08-.16-.12-.23-.31-.6-.63-1.2-.95-1.8-1.04-1.96-1.65-3.05-1.8-3.31l-10.41-18.5L40.91,13.82c-.1-.18-.21-.35-.32-.53-.11-.17-.22-.33-.33-.5-.13-.18-.27-.36-.39-.55-.36-.6-.68-1.22-1.05-1.82l.48-.27c.32.62.69,1.22,1.01,1.84.1.2.18.41.27.61.08.18.17.36.25.54.09.19.18.37.28.55.83,1.49,1.67,2.98,2.51,4.47l27.13,48.17c.15.26.76,1.35,1.9,3.25.35.58.7,1.16,1.05,1.74.05.07.09.15.14.23Z","M73.85,71.55l-.4.23c-.04-.08-.08-.15-.12-.23-.32-.6-.64-1.19-.97-1.78-1.06-1.94-1.68-3.02-1.84-3.28l-10.61-18.31L40.28,14.41c-.1-.18-.22-.35-.33-.52-.11-.17-.22-.33-.34-.49-.13-.18-.27-.35-.39-.54-.37-.59-.7-1.21-1.07-1.8l.48-.28c.33.61.7,1.2,1.03,1.82.11.2.18.41.28.61.08.18.17.36.26.54.09.18.19.36.29.54.85,1.48,1.7,2.95,2.56,4.42l27.66,47.68c.15.26.78,1.34,1.94,3.22.35.58.71,1.15,1.07,1.72.05.07.09.15.14.22Z","M73.85,71.55l-.4.24c-.04-.08-.09-.15-.13-.23-.34-.59-.67-1.18-1.01-1.76-1.11-1.92-1.76-2.99-1.91-3.24l-11.04-18.09L38.94,15.09c-.11-.17-.22-.35-.34-.51-.11-.16-.23-.33-.35-.49-.13-.18-.28-.35-.41-.53-.38-.58-.73-1.19-1.11-1.77l.47-.29c.34.61.73,1.19,1.07,1.8.11.19.19.4.29.6.09.18.18.36.27.54.1.18.2.36.3.54.88,1.46,1.77,2.91,2.66,4.37l28.78,47.11c.16.26.81,1.32,2.01,3.18.37.57.74,1.13,1.11,1.7.05.07.1.15.15.22Z","M73.85,71.54l-.39.25c-.04-.08-.09-.15-.13-.23-.34-.58-.69-1.17-1.03-1.75-1.13-1.9-1.8-2.96-1.96-3.22l-11.3-17.93L38.13,15.59c-.11-.17-.23-.34-.35-.51-.12-.16-.24-.32-.36-.48-.14-.18-.29-.34-.41-.53-.39-.58-.74-1.18-1.13-1.76l.47-.29c.35.6.75,1.18,1.1,1.78.11.19.2.4.3.6.09.18.18.36.28.53.1.18.2.36.31.53.9,1.45,1.81,2.89,2.72,4.33l29.45,46.69c.16.26.83,1.31,2.06,3.15.38.56.76,1.12,1.13,1.69.05.07.1.14.15.22Z","M73.85,71.54l-.39.26c-.05-.07-.09-.15-.14-.23-.35-.57-.71-1.15-1.06-1.72-1.17-1.87-1.85-2.91-2.02-3.16l-11.63-17.63-21.5-32.51c-.11-.17-.23-.34-.36-.5-.12-.16-.24-.32-.37-.47-.14-.17-.29-.34-.42-.52-.4-.57-.76-1.16-1.17-1.73l.46-.3c.36.59.77,1.16,1.13,1.75.12.19.2.4.31.59.09.17.19.35.29.52.1.18.21.35.32.52.93,1.42,1.87,2.84,2.8,4.26l30.29,45.9c.17.25.85,1.29,2.12,3.1.39.55.78,1.1,1.16,1.66.05.07.1.14.15.21Z","M73.85,71.53l-.38.26c-.05-.07-.09-.15-.14-.22-.36-.57-.72-1.14-1.08-1.71-1.18-1.86-1.88-2.89-2.04-3.13l-11.78-17.46-21.78-32.21c-.12-.17-.24-.33-.36-.5-.12-.16-.25-.31-.37-.47-.14-.17-.3-.33-.43-.51-.41-.56-.77-1.15-1.18-1.71l.46-.31c.37.59.78,1.15,1.15,1.74.12.19.21.39.32.59.1.17.19.35.3.52.11.18.21.35.33.52.94,1.41,1.89,2.81,2.84,4.22l30.69,45.47c.17.25.86,1.27,2.14,3.07.39.55.79,1.09,1.18,1.64.05.07.1.14.16.21Z","M73.85,71.53l-.38.26c-.05-.07-.09-.15-.14-.22-.37-.56-.73-1.13-1.1-1.7-1.2-1.85-1.91-2.87-2.08-3.12l-11.96-17.36-22.12-32.02c-.12-.17-.24-.33-.37-.49-.12-.16-.25-.31-.38-.46-.14-.17-.3-.33-.43-.51-.41-.56-.79-1.14-1.2-1.7l.45-.31c.38.58.79,1.14,1.17,1.72.12.19.21.39.32.58.1.17.2.35.3.52.11.17.22.35.33.52.96,1.4,1.92,2.8,2.88,4.19l31.17,45.2c.17.25.88,1.27,2.18,3.05.4.54.8,1.09,1.2,1.63.05.07.11.14.16.21Z","M73.85,71.53l-.38.27c-.05-.07-.1-.15-.15-.22-.37-.56-.74-1.12-1.12-1.68-1.22-1.82-1.94-2.84-2.11-3.08l-12.15-17.16-22.47-31.64c-.12-.17-.24-.33-.37-.49-.12-.15-.25-.31-.38-.46-.14-.17-.3-.32-.44-.5-.42-.55-.8-1.13-1.22-1.68l.45-.32c.38.58.8,1.13,1.19,1.71.12.19.22.39.33.58.1.17.2.34.31.51.11.17.22.34.34.51.97,1.38,1.95,2.76,2.93,4.14l31.66,44.67c.17.24.89,1.25,2.21,3.01.4.54.81,1.07,1.21,1.61.05.07.11.14.16.21Z","M73.85,71.52l-.37.27c-.05-.07-.1-.15-.15-.22-.38-.56-.77-1.12-1.16-1.68-1.27-1.83-2.01-2.84-2.18-3.08l-12.56-17.16-23.22-31.64c-.12-.17-.25-.33-.38-.49-.13-.15-.26-.31-.39-.46-.15-.17-.31-.32-.45-.5-.43-.55-.83-1.13-1.26-1.68l.44-.32c.4.58.83,1.13,1.22,1.7.13.18.23.39.34.58.1.17.21.34.32.51.11.17.23.35.35.51,1,1.39,2.02,2.76,3.03,4.15l32.73,44.67c.18.24.92,1.25,2.28,3.01.42.54.83,1.07,1.25,1.61.05.07.11.14.16.21Z","M73.85,71.52l-.37.28c-.05-.07-.1-.15-.15-.22-.4-.56-.79-1.11-1.19-1.67-1.3-1.82-2.06-2.82-2.24-3.06l-12.87-17.05-23.79-31.45c-.13-.16-.26-.32-.39-.48-.13-.15-.26-.3-.4-.45-.15-.17-.32-.32-.46-.5-.44-.55-.84-1.12-1.29-1.67l.44-.33c.41.57.85,1.12,1.25,1.69.13.18.23.39.35.58.11.17.21.34.33.51.12.17.23.34.36.51,1.03,1.38,2.07,2.75,3.1,4.12l33.53,44.4c.18.24.94,1.25,2.34,2.99.42.53.85,1.07,1.28,1.6.06.07.11.14.17.2Z","M73.85,71.51l-.37.28c-.05-.07-.1-.14-.15-.21-.4-.55-.8-1.1-1.21-1.65-1.33-1.8-2.1-2.8-2.28-3.04l-13.11-16.9-24.23-31.17c-.13-.16-.26-.32-.4-.48-.13-.15-.27-.3-.41-.45-.15-.16-.32-.32-.47-.49-.45-.54-.86-1.11-1.31-1.65l.43-.34c.41.57.86,1.11,1.28,1.68.13.18.24.38.36.57.11.17.22.34.33.5.12.17.24.34.36.51,1.05,1.36,2.11,2.72,3.16,4.08l34.15,44.01c.19.24.96,1.23,2.38,2.96.43.53.87,1.05,1.3,1.58.06.07.11.14.17.2Z","M73.86,71.51l-.36.29c-.05-.07-.11-.14-.16-.21-.41-.54-.82-1.08-1.23-1.62-1.35-1.76-2.14-2.74-2.33-2.98l-13.35-16.55-24.68-30.52c-.13-.16-.27-.31-.41-.47-.13-.15-.27-.3-.41-.44-.16-.16-.33-.31-.47-.48-.46-.53-.88-1.09-1.33-1.62l.43-.34c.42.56.88,1.09,1.3,1.64.14.18.24.38.37.56.11.17.22.33.34.5.12.17.24.33.37.5,1.07,1.34,2.14,2.67,3.22,4l34.78,43.09c.19.23.98,1.21,2.42,2.9.44.52.88,1.03,1.33,1.55.06.07.12.13.17.2Z","M73.86,71.5l-.36.3c-.05-.07-.11-.14-.16-.21-.42-.54-.84-1.07-1.26-1.61-1.38-1.75-2.19-2.71-2.38-2.95l-13.66-16.39-25.24-30.22c-.13-.16-.27-.31-.41-.46-.14-.15-.28-.29-.42-.43-.16-.16-.33-.3-.48-.47-.47-.52-.9-1.08-1.36-1.6l.42-.35c.43.55.9,1.08,1.33,1.63.14.18.25.37.38.56.11.17.23.33.35.49.12.17.25.33.38.49,1.09,1.32,2.19,2.64,3.29,3.96l35.58,42.67c.19.23,1,1.2,2.47,2.87.45.51.9,1.02,1.35,1.53.06.07.12.13.18.2Z","M73.86,71.5l-.35.3c-.06-.07-.11-.14-.17-.21-.43-.53-.85-1.06-1.28-1.59-1.41-1.72-2.22-2.68-2.42-2.91l-13.87-16.15-25.62-29.79c-.14-.16-.28-.31-.42-.46-.14-.15-.28-.29-.43-.43-.16-.16-.34-.3-.49-.46-.47-.52-.91-1.06-1.38-1.58l.42-.36c.44.55.91,1.06,1.35,1.61.14.18.25.37.39.55.12.16.23.33.36.49.13.16.25.33.39.48,1.11,1.3,2.23,2.6,3.34,3.9l36.12,42.06c.2.23,1.02,1.18,2.51,2.83.46.5.92,1,1.37,1.51.06.06.12.13.18.19Z","M73.86,71.49l-.35.31c-.06-.07-.11-.14-.17-.2-.43-.52-.87-1.04-1.3-1.56-1.43-1.7-2.26-2.64-2.45-2.87l-14.07-15.92-25.99-29.36c-.14-.15-.28-.3-.43-.45-.14-.14-.29-.28-.43-.42-.16-.15-.34-.29-.49-.46-.48-.51-.92-1.05-1.4-1.56l.41-.36c.45.54.93,1.05,1.37,1.58.14.17.26.36.39.54.12.16.24.32.36.48.13.16.26.32.39.48,1.13,1.29,2.26,2.56,3.39,3.85l36.64,41.46c.2.23,1.03,1.16,2.54,2.79.46.5.93.99,1.39,1.49.06.06.12.13.18.19Z","M73.86,71.49l-.34.31c-.06-.07-.11-.14-.17-.2-.44-.52-.88-1.03-1.32-1.55-1.44-1.68-2.28-2.61-2.48-2.83l-14.23-15.74-26.29-29.02c-.14-.15-.28-.3-.43-.44-.14-.14-.29-.28-.44-.41-.16-.15-.34-.29-.5-.45-.48-.5-.94-1.04-1.42-1.54l.41-.37c.45.53.94,1.03,1.39,1.57.14.17.26.36.4.54.12.16.24.32.37.48.13.16.26.32.4.47,1.14,1.27,2.29,2.53,3.43,3.8l37.06,40.97c.2.22,1.04,1.15,2.57,2.75.47.49.94.98,1.41,1.47.06.06.12.13.18.19Z","M73.86,71.48l-.34.31c-.06-.07-.11-.13-.17-.2-.44-.51-.89-1.02-1.33-1.53-1.46-1.67-2.3-2.59-2.51-2.81l-14.36-15.6-26.53-28.75c-.14-.15-.29-.3-.43-.44-.14-.14-.29-.28-.44-.41-.17-.15-.34-.29-.5-.45-.49-.5-.94-1.03-1.43-1.53l.4-.37c.46.53.95,1.02,1.4,1.55.15.17.27.36.4.54.12.16.24.32.37.47.13.16.26.32.4.47,1.15,1.26,2.31,2.51,3.46,3.77l37.4,40.61c.2.22,1.05,1.14,2.6,2.73.47.49.95.97,1.42,1.45.06.06.12.12.19.19Z","M73.86,71.48l-.34.32c-.06-.06-.12-.13-.17-.2-.45-.5-.9-1.01-1.35-1.51-1.48-1.64-2.33-2.55-2.54-2.77l-14.54-15.35-26.86-28.31c-.14-.15-.29-.29-.44-.43-.15-.14-.29-.27-.44-.4-.17-.15-.35-.28-.51-.44-.49-.49-.96-1.01-1.45-1.5l.4-.38c.46.52.96,1.01,1.42,1.53.15.17.27.35.41.53.12.16.25.31.38.47.13.16.27.31.41.46,1.16,1.24,2.34,2.47,3.5,3.71l37.87,39.98c.21.22,1.07,1.12,2.63,2.68.48.48.96.95,1.44,1.43.06.06.13.12.19.19Z","M73.86,71.48l-.33.32c-.06-.07-.12-.13-.18-.2-.46-.5-.91-.99-1.37-1.49-1.5-1.62-2.37-2.51-2.58-2.72l-14.74-15.1-27.24-27.84c-.14-.15-.29-.29-.44-.43-.15-.13-.3-.26-.45-.39-.17-.15-.35-.27-.51-.43-.5-.48-.97-1-1.47-1.48l.39-.38c.47.51.97.99,1.44,1.5.15.16.28.35.42.52.13.15.25.31.38.46.13.15.27.31.41.45,1.18,1.22,2.37,2.43,3.55,3.65l38.4,39.32c.21.21,1.08,1.1,2.66,2.64.48.47.97.94,1.46,1.4.06.06.13.12.19.18Z","M73.86,71.47l-.33.33c-.06-.06-.12-.13-.18-.19-.46-.49-.93-.98-1.39-1.46-1.52-1.59-2.4-2.47-2.62-2.68l-14.96-14.84-27.63-27.35c-.15-.14-.3-.28-.45-.42-.15-.13-.3-.26-.45-.39-.17-.14-.36-.27-.52-.42-.51-.47-.98-.98-1.49-1.45l.39-.39c.48.5.99.98,1.46,1.48.15.16.28.34.42.51.13.15.26.3.39.45.14.15.28.3.42.45,1.2,1.2,2.4,2.39,3.6,3.59l38.96,38.63c.21.21,1.1,1.08,2.7,2.59.49.46.98.92,1.47,1.38.06.06.13.12.19.18Z","M73.86,71.46l-.32.34c-.06-.06-.12-.13-.18-.19-.47-.48-.95-.96-1.42-1.44-1.56-1.56-2.46-2.42-2.67-2.63l-15.28-14.59-28.23-26.89c-.15-.14-.3-.28-.46-.41-.15-.13-.31-.25-.46-.38-.17-.14-.36-.26-.53-.41-.52-.46-1.01-.96-1.52-1.43l.38-.4c.49.5,1.01.96,1.5,1.45.16.16.29.34.43.51.13.15.26.3.4.45.14.15.28.3.43.44,1.22,1.18,2.46,2.35,3.68,3.53l39.81,37.98c.22.21,1.12,1.06,2.76,2.55.5.45,1,.9,1.51,1.35.07.06.13.12.2.18Z","M73.86,71.46l-.31.34c-.06-.06-.13-.12-.19-.19-.48-.47-.97-.94-1.45-1.4-1.59-1.53-2.5-2.36-2.73-2.57l-15.56-14.21-28.75-26.19c-.15-.14-.31-.27-.47-.4-.15-.13-.31-.25-.47-.37-.18-.14-.37-.25-.54-.4-.53-.45-1.02-.94-1.55-1.39l.37-.41c.5.48,1.03.93,1.52,1.42.16.15.29.33.44.5.13.15.27.29.41.43.14.15.29.29.44.43,1.25,1.15,2.5,2.29,3.75,3.43l40.54,36.99c.22.2,1.14,1.04,2.81,2.48.51.44,1.02.88,1.53,1.32.07.06.13.11.2.17Z","M73.86,71.45l-.31.35c-.06-.06-.13-.12-.19-.18-.49-.46-.98-.93-1.48-1.39-1.62-1.5-2.55-2.33-2.78-2.53l-15.85-14.01-29.28-25.82c-.15-.14-.31-.26-.48-.39-.16-.12-.32-.24-.48-.36-.18-.13-.37-.25-.54-.39-.54-.44-1.04-.92-1.58-1.37l.36-.41c.51.48,1.05.92,1.55,1.4.16.15.3.33.45.49.14.15.28.29.42.43.15.14.29.29.45.42,1.27,1.13,2.55,2.26,3.82,3.39l41.28,36.47c.23.2,1.16,1.02,2.86,2.44.52.43,1.04.86,1.56,1.3.07.06.14.11.2.17Z","M73.85,71.44l-.3.35c-.07-.06-.13-.12-.2-.18-.5-.45-1-.9-1.5-1.35-1.65-1.47-2.59-2.28-2.82-2.47l-16.11-13.67-29.75-25.2c-.16-.13-.32-.26-.48-.38-.16-.12-.32-.24-.48-.35-.18-.13-.38-.24-.55-.38-.54-.43-1.06-.9-1.6-1.34l.36-.42c.52.47,1.06.9,1.58,1.36.17.15.31.32.46.48.14.14.28.28.43.42.15.14.3.28.46.41,1.29,1.11,2.59,2.2,3.88,3.31l41.96,35.6c.23.19,1.18,1,2.9,2.38.53.42,1.05.84,1.58,1.26.07.05.14.11.21.16Z","M73.85,71.44l-.29.36c-.07-.06-.13-.12-.2-.18-.51-.45-1.02-.89-1.54-1.34-1.68-1.45-2.65-2.25-2.88-2.44l-16.42-13.5-30.34-24.89c-.16-.13-.33-.25-.49-.38-.16-.12-.33-.23-.49-.35-.19-.13-.38-.24-.56-.37-.55-.43-1.08-.89-1.63-1.32l.35-.42c.53.46,1.08.89,1.61,1.35.17.15.31.32.47.48.14.14.29.28.44.42.15.14.31.28.46.41,1.32,1.09,2.64,2.18,3.96,3.26l42.78,35.16c.23.19,1.2.99,2.96,2.35.54.42,1.07.83,1.61,1.25.07.05.14.11.21.16Z","M73.85,71.43l-.29.36c-.07-.06-.13-.11-.2-.17-.52-.43-1.04-.87-1.56-1.3-1.71-1.41-2.69-2.19-2.93-2.38l-16.7-13.11-30.85-24.16c-.16-.13-.33-.25-.5-.37-.16-.11-.33-.23-.5-.33-.19-.12-.39-.23-.57-.36-.56-.41-1.1-.86-1.66-1.28l.34-.43c.54.45,1.1.86,1.64,1.31.17.14.32.31.48.47.15.14.29.27.44.41.16.14.31.27.47.4,1.34,1.06,2.68,2.11,4.03,3.17l43.5,34.13c.24.19,1.22.96,3,2.28.54.4,1.09.81,1.64,1.21.07.05.14.1.21.16Z","M73.85,71.43l-.28.37c-.07-.05-.14-.11-.2-.17-.53-.43-1.06-.86-1.59-1.28-1.74-1.39-2.73-2.15-2.97-2.33l-16.94-12.87-31.3-23.72c-.17-.12-.34-.24-.51-.36-.17-.11-.34-.22-.51-.33-.19-.12-.39-.22-.57-.35-.57-.41-1.11-.85-1.68-1.25l.33-.44c.54.44,1.12.84,1.66,1.28.17.14.33.31.49.46.15.14.3.27.45.4.16.13.32.27.48.39,1.36,1.04,2.72,2.07,4.09,3.11l44.14,33.51c.24.18,1.24.94,3.05,2.24.55.4,1.11.79,1.66,1.18.07.05.14.1.22.15Z","M73.85,71.42l-.28.37c-.07-.05-.14-.11-.21-.16-.53-.42-1.07-.84-1.6-1.26-1.75-1.37-2.76-2.12-3-2.3l-17.11-12.7-31.61-23.41c-.17-.12-.34-.24-.51-.35-.17-.11-.34-.22-.51-.32-.19-.12-.39-.22-.58-.35-.58-.4-1.12-.84-1.7-1.24l.33-.44c.55.43,1.13.83,1.68,1.27.18.14.33.3.5.45.15.13.3.27.46.4.16.13.32.26.49.39,1.37,1.03,2.75,2.05,4.13,3.07l44.57,33.07c.24.18,1.25.93,3.08,2.21.56.39,1.12.78,1.67,1.17.07.05.15.1.22.15Z","M73.85,71.42l-.27.38c-.07-.05-.14-.11-.21-.16-.54-.41-1.07-.83-1.61-1.24-1.77-1.34-2.78-2.08-3.02-2.26l-17.21-12.44-31.79-22.92c-.17-.12-.34-.23-.51-.34-.17-.11-.34-.21-.51-.31-.19-.11-.4-.21-.58-.34-.58-.39-1.13-.82-1.71-1.21l.32-.45c.55.43,1.13.82,1.69,1.24.18.14.33.3.5.45.15.13.3.26.46.39.16.13.32.26.49.38,1.38,1.01,2.77,2.01,4.15,3.01l44.83,32.38c.25.18,1.26.91,3.09,2.16.56.38,1.12.76,1.68,1.14.07.05.15.1.22.15Z","M73.85,71.41l-.26.38c-.07-.05-.14-.1-.21-.16-.55-.4-1.09-.8-1.64-1.2-1.79-1.31-2.82-2.02-3.07-2.19l-17.46-12.07-32.25-22.24c-.17-.12-.35-.23-.52-.33-.17-.1-.34-.2-.52-.3-.19-.11-.4-.2-.59-.33-.59-.38-1.15-.8-1.73-1.17l.31-.45c.56.41,1.15.79,1.71,1.21.18.13.34.29.51.44.15.13.31.25.47.38.16.13.33.25.5.37,1.4.98,2.81,1.95,4.21,2.92l45.48,31.42c.25.17,1.28.88,3.14,2.09.57.37,1.14.74,1.71,1.11.07.05.15.09.22.14Z","M73.85,71.41l-.26.39c-.07-.05-.14-.1-.21-.15-.55-.39-1.1-.79-1.65-1.18-1.8-1.28-2.84-1.97-3.09-2.14l-17.57-11.78-32.45-21.71c-.17-.11-.35-.22-.52-.32-.17-.1-.35-.2-.52-.29-.2-.11-.4-.2-.59-.31-.59-.37-1.16-.78-1.75-1.15l.31-.46c.57.4,1.16.77,1.72,1.18.18.13.34.29.52.43.16.13.31.25.47.37.16.12.33.25.5.36,1.41.95,2.82,1.9,4.24,2.85l45.76,30.67c.25.17,1.29.86,3.15,2.04.57.36,1.14.72,1.72,1.08.07.05.15.09.22.14Z","M73.85,71.4l-.25.39c-.07-.05-.14-.1-.22-.15-.56-.39-1.11-.78-1.67-1.16-1.83-1.26-2.88-1.95-3.13-2.11l-17.81-11.61-32.89-21.39c-.17-.11-.35-.22-.53-.32-.17-.1-.35-.2-.53-.29-.2-.11-.41-.19-.6-.31-.6-.36-1.17-.76-1.77-1.13l.3-.46c.57.4,1.17.76,1.75,1.16.18.13.35.28.52.42.16.12.32.25.48.37.17.12.33.24.51.36,1.43.94,2.86,1.87,4.29,2.81l46.39,30.23c.25.16,1.3.85,3.2,2.01.58.36,1.16.71,1.74,1.06.08.04.15.09.23.14Z","M73.85,71.4l-.25.39c-.07-.05-.15-.1-.22-.15-.56-.38-1.12-.76-1.69-1.13-1.85-1.23-2.9-1.9-3.16-2.06l-17.96-11.33-33.18-20.87c-.18-.11-.35-.21-.53-.31-.18-.1-.35-.19-.53-.28-.2-.1-.41-.19-.6-.3-.6-.35-1.18-.75-1.78-1.1l.29-.47c.58.39,1.18.74,1.76,1.13.19.12.35.28.53.41.16.12.32.24.48.36.17.12.34.24.51.35,1.44.92,2.89,1.83,4.33,2.74l46.79,29.49c.26.16,1.32.83,3.22,1.96.58.35,1.17.69,1.75,1.03.08.04.15.09.23.13Z","M73.85,71.39l-.24.4c-.07-.05-.15-.1-.22-.15-.57-.37-1.14-.73-1.71-1.1-1.87-1.19-2.94-1.84-3.19-2l-18.16-10.95-33.53-20.18c-.18-.1-.36-.2-.54-.3-.18-.09-.36-.18-.54-.27-.2-.1-.41-.18-.61-.29-.61-.34-1.19-.72-1.8-1.06l.28-.47c.59.38,1.2.72,1.78,1.1.19.12.36.27.54.4.16.12.32.24.49.35.17.12.34.23.52.34,1.46.89,2.92,1.77,4.38,2.65l47.29,28.51c.26.16,1.33.8,3.26,1.89.59.33,1.18.66,1.77,1,.08.04.15.09.23.13Z","M73.84,71.39l-.23.4c-.08-.05-.15-.09-.22-.14-.58-.35-1.16-.71-1.74-1.06-1.9-1.15-2.99-1.78-3.25-1.93l-18.44-10.56L15.9,38.64c-.18-.1-.36-.2-.55-.29-.18-.09-.36-.18-.54-.26-.2-.09-.42-.17-.61-.27-.62-.33-1.21-.7-1.83-1.02l.27-.48c.6.37,1.22.69,1.81,1.06.19.12.36.26.55.39.16.11.33.23.5.34.17.11.35.22.53.33,1.48.86,2.97,1.7,4.45,2.55l48.04,27.5c.26.15,1.35.77,3.31,1.82.6.32,1.2.64,1.8.96.08.04.16.08.23.12Z","M73.84,71.38l-.22.41c-.08-.04-.15-.09-.23-.14-.59-.35-1.18-.7-1.77-1.05-1.93-1.14-3.03-1.75-3.3-1.9l-18.74-10.39L14.97,39.17c-.18-.1-.37-.19-.56-.28-.18-.09-.37-.17-.55-.25-.21-.09-.42-.16-.62-.27-.63-.32-1.23-.69-1.86-1.01l.27-.48c.61.36,1.23.68,1.84,1.04.19.12.37.26.56.39.17.11.34.22.51.33.18.11.35.22.54.32,1.5.84,3.01,1.68,4.52,2.51l48.82,27.05c.27.15,1.37.76,3.36,1.79.61.32,1.22.63,1.82.94.08.04.16.08.24.12Z","M73.84,71.38l-.22.41c-.08-.05-.15-.09-.23-.13-.59-.34-1.19-.69-1.78-1.03-1.95-1.12-3.06-1.72-3.33-1.87l-18.91-10.21L14.44,39.75c-.18-.1-.37-.19-.56-.28-.18-.09-.37-.17-.56-.25-.21-.09-.42-.16-.63-.26-.63-.31-1.24-.67-1.87-.99l.26-.48c.61.35,1.24.67,1.85,1.02.2.11.37.26.56.38.17.11.34.22.51.33.18.11.36.22.54.32,1.52.83,3.04,1.65,4.56,2.47l49.26,26.57c.27.15,1.38.74,3.39,1.76.61.31,1.23.62,1.84.92.08.04.16.08.24.12Z","M73.84,71.37l-.21.41c-.08-.04-.15-.09-.23-.13-.6-.33-1.2-.67-1.81-1-1.97-1.08-3.1-1.66-3.37-1.8l-19.14-9.87L13.72,40.8c-.19-.09-.38-.18-.57-.27-.19-.08-.37-.16-.56-.24-.21-.09-.43-.15-.63-.25-.64-.3-1.26-.65-1.9-.95l.25-.49c.62.34,1.26.65,1.88.99.2.11.38.25.57.37.17.11.34.22.52.32.18.11.36.21.55.31,1.54.8,3.08,1.59,4.62,2.39l49.86,25.69c.27.14,1.4.72,3.43,1.7.62.3,1.24.59,1.86.89.08.04.16.08.24.11Z","M73.84,71.37l-.21.41c-.08-.04-.16-.08-.23-.12-.61-.32-1.22-.65-1.83-.97-2-1.05-3.13-1.62-3.41-1.76l-19.34-9.6L13.11,41.64c-.19-.09-.38-.18-.57-.26-.19-.08-.38-.16-.57-.23-.21-.08-.43-.15-.64-.24-.64-.3-1.27-.63-1.91-.93l.24-.49c.62.33,1.27.63,1.9.96.2.11.38.24.58.36.17.11.35.21.53.31.18.1.37.2.55.3,1.55.78,3.11,1.55,4.66,2.32l50.37,24.99c.28.14,1.42.7,3.46,1.65.63.29,1.25.58,1.88.86.08.04.16.07.24.11Z","M73.84,71.36l-.2.42c-.08-.04-.16-.08-.24-.12-.61-.31-1.22-.62-1.83-.93-2-1.01-3.14-1.55-3.41-1.68l-19.34-9.14L13.12,43.07c-.19-.09-.38-.17-.57-.25-.19-.08-.38-.15-.57-.22-.21-.08-.43-.14-.64-.23-.64-.28-1.27-.6-1.92-.88l.23-.5c.63.32,1.27.6,1.9.92.2.1.39.24.58.35.17.1.35.2.53.3.18.1.37.2.55.29,1.55.74,3.11,1.48,4.66,2.21l50.37,23.8c.28.13,1.42.67,3.46,1.57.62.27,1.25.55,1.88.82.08.04.16.07.24.1Z","M73.83,71.36l-.19.42c-.08-.04-.16-.08-.24-.12-.61-.3-1.22-.6-1.83-.89-2-.97-3.14-1.48-3.41-1.61l-19.34-8.76L13.12,44.28c-.19-.09-.38-.16-.57-.24-.19-.07-.38-.14-.57-.21-.21-.07-.43-.13-.64-.21-.64-.27-1.27-.58-1.92-.85l.23-.5c.63.31,1.27.57,1.9.88.2.1.39.23.58.34.17.1.35.2.53.29.18.1.37.19.55.28,1.55.71,3.11,1.41,4.66,2.12l50.37,22.8c.28.12,1.42.64,3.46,1.5.62.26,1.25.52,1.88.78.08.03.16.07.24.1Z","M73.83,71.35l-.18.43c-.08-.04-.16-.08-.24-.11-.61-.29-1.23-.58-1.84-.86-2.01-.93-3.16-1.43-3.43-1.55l-19.46-8.43-35.93-15.52c-.19-.08-.38-.15-.58-.23-.19-.07-.38-.13-.57-.2-.21-.07-.43-.12-.64-.2-.65-.26-1.28-.56-1.93-.81l.22-.51c.63.3,1.28.55,1.91.85.2.09.39.22.59.33.18.1.35.19.53.28.18.09.37.18.56.26,1.56.69,3.13,1.36,4.69,2.04l50.68,21.95c.28.12,1.42.61,3.48,1.44.63.25,1.26.5,1.89.75.08.03.16.06.25.1Z","M73.83,71.35l-.18.43c-.08-.04-.16-.07-.24-.11-.62-.28-1.23-.55-1.85-.83-2.02-.9-3.18-1.37-3.46-1.49l-19.59-8.07-36.17-14.86c-.19-.08-.38-.15-.58-.21-.19-.07-.38-.13-.57-.19-.21-.07-.43-.11-.64-.19-.65-.25-1.29-.53-1.94-.78l.21-.51c.64.29,1.29.53,1.93.81.2.09.39.21.59.32.18.09.36.18.54.27.19.09.37.18.56.25,1.57.66,3.15,1.3,4.72,1.95l51.01,21.01c.28.11,1.43.59,3.5,1.38.63.24,1.27.48,1.9.72.08.03.17.06.25.09Z","M73.83,71.34l-.17.43c-.08-.04-.16-.07-.24-.11-.62-.26-1.24-.53-1.86-.79-2.03-.86-3.19-1.31-3.47-1.42l-19.67-7.69-36.32-14.15c-.19-.07-.39-.14-.58-.2-.19-.06-.38-.12-.57-.17-.21-.06-.43-.11-.64-.18-.66-.23-1.29-.51-1.95-.74l.2-.51c.64.27,1.3.5,1.94.78.2.09.4.21.59.3.18.09.36.18.54.26.19.09.37.17.57.24,1.58.63,3.16,1.24,4.75,1.86l51.24,20.01c.28.11,1.44.56,3.52,1.31.63.23,1.27.45,1.91.68.08.03.17.06.25.09Z","M73.82,71.34l-.16.44c-.08-.03-.16-.07-.24-.1-.63-.25-1.25-.51-1.88-.76-2.05-.82-3.22-1.26-3.5-1.36l-19.83-7.35-36.61-13.53c-.19-.07-.39-.13-.58-.19-.19-.06-.38-.11-.58-.16-.22-.06-.44-.1-.65-.17-.66-.22-1.3-.49-1.96-.71l.19-.52c.64.26,1.31.48,1.95.74.21.08.4.2.6.29.18.09.36.17.54.25.19.08.38.16.57.23,1.59.6,3.19,1.19,4.78,1.78l51.64,19.14c.28.1,1.45.53,3.54,1.25.64.22,1.28.43,1.92.65.08.03.17.05.25.08Z","M73.81,71.32l-.13.45c-.08-.03-.17-.05-.25-.08-.64-.2-1.27-.41-1.91-.61-2.08-.66-3.27-1-3.55-1.08l-20.09-5.78-37.09-10.64c-.2-.05-.39-.1-.59-.15-.19-.04-.39-.08-.58-.12-.22-.04-.44-.06-.65-.12-.67-.17-1.32-.38-1.99-.55l.15-.53c.66.21,1.33.38,1.98.59.21.07.41.17.61.25.18.07.37.14.56.21.19.07.38.13.58.19,1.61.47,3.23.94,4.85,1.4l52.32,15.05c.29.08,1.47.42,3.59.97.65.17,1.29.33,1.94.5.09.02.17.04.26.06Z","M73.81,71.31l-.12.45c-.08-.03-.17-.05-.25-.07-.64-.19-1.29-.38-1.93-.56-2.11-.6-3.31-.91-3.6-.99l-20.35-5.25-37.57-9.65c-.2-.05-.4-.09-.6-.13-.19-.04-.39-.07-.59-.1-.22-.04-.44-.05-.66-.1-.68-.15-1.34-.35-2.02-.5l.14-.53c.66.19,1.34.34,2.01.54.21.06.41.16.62.23.19.07.37.13.56.19.19.06.39.12.59.17,1.64.43,3.27.85,4.91,1.27l53,13.67c.29.07,1.49.38,3.63.87.65.15,1.31.3,1.96.44.09.02.17.04.26.06Z","M73.8,71.3l-.1.45c-.09-.02-.17-.04-.26-.07-.65-.16-1.29-.33-1.94-.49-2.11-.53-3.31-.8-3.6-.86l-20.35-4.54-37.57-8.34c-.2-.04-.4-.08-.6-.11-.19-.03-.39-.06-.58-.08-.22-.03-.44-.04-.65-.08-.68-.13-1.34-.3-2.02-.43l.12-.54c.67.17,1.34.3,2.01.47.21.05.42.14.63.21.19.06.38.12.57.17.19.05.39.11.59.15,1.64.37,3.27.74,4.91,1.1l53,11.82c.29.06,1.49.33,3.63.75.65.13,1.31.25,1.96.38.09.02.17.03.26.05Z","M73.8,71.29l-.09.46c-.09-.02-.17-.04-.26-.06-.65-.15-1.29-.31-1.94-.46-2.11-.5-3.31-.75-3.6-.81l-20.35-4.23-37.57-7.77c-.2-.04-.4-.07-.6-.1-.19-.03-.39-.05-.58-.07-.22-.02-.44-.03-.65-.07-.68-.12-1.34-.28-2.02-.4l.11-.54c.67.16,1.34.28,2.01.44.21.05.42.14.63.2.19.06.38.11.57.16.2.05.39.1.59.14,1.64.35,3.27.69,4.91,1.03l53,11c.29.06,1.49.31,3.63.69.65.12,1.31.23,1.96.35.09.01.17.03.26.04Z","M73.8,71.29l-.09.46c-.09-.02-.17-.04-.26-.06-.65-.14-1.31-.29-1.96-.43-2.14-.46-3.35-.69-3.65-.75l-20.59-3.88-38.01-7.13c-.2-.04-.4-.06-.6-.09-.2-.02-.39-.05-.59-.06-.22-.02-.44-.02-.66-.06-.68-.11-1.36-.26-2.04-.36l.1-.54c.67.15,1.36.25,2.03.4.22.05.42.13.64.19.19.05.38.11.57.15.2.05.4.1.6.13,1.65.32,3.31.63,4.97.94l53.62,10.1c.29.05,1.51.28,3.67.63.66.11,1.32.21,1.98.31.09.01.17.03.26.04Z","M73.79,71.29l-.08.46c-.09-.02-.17-.03-.26-.05-.66-.13-1.32-.27-1.98-.4-2.16-.42-3.38-.63-3.68-.69l-20.76-3.53-38.32-6.48c-.2-.03-.41-.06-.61-.08-.2-.02-.4-.04-.59-.06-.22-.02-.44-.01-.66-.04-.69-.09-1.37-.24-2.05-.33l.09-.54c.68.14,1.37.23,2.05.37.22.04.43.12.64.18.19.05.39.1.58.14.2.05.4.09.6.12,1.67.29,3.34.57,5.01.86l54.07,9.19c.3.05,1.52.25,3.7.57.67.1,1.33.19,2,.28.09.01.17.02.26.04Z","M73.79,71.28l-.07.46c-.09-.02-.17-.03-.26-.05-.66-.12-1.33-.24-1.99-.36-2.18-.38-3.41-.57-3.71-.62l-20.91-3.15-38.59-5.76c-.2-.03-.41-.05-.61-.07-.2-.02-.4-.03-.6-.04-.22-.01-.45,0-.67-.03-.69-.08-1.38-.21-2.07-.29l.08-.54c.68.12,1.38.2,2.06.33.22.04.43.11.65.16.19.05.39.09.58.13.2.04.4.08.61.11,1.68.26,3.36.51,5.05.77l54.45,8.18c.3.04,1.53.23,3.72.5.67.08,1.34.16,2.01.24.09.01.18.02.26.03Z","M73.79,71.28l-.06.46c-.09-.01-.17-.03-.26-.04-.67-.11-1.34-.21-2.01-.32-2.2-.34-3.44-.5-3.74-.54l-21.09-2.73-38.94-4.99c-.21-.03-.41-.04-.62-.06-.2-.01-.4-.02-.6-.03-.22,0-.45,0-.67-.02-.7-.07-1.39-.18-2.08-.25l.07-.55c.69.11,1.39.18,2.08.29.22.03.44.1.66.15.2.04.39.08.59.12.2.04.41.07.61.1,1.7.23,3.39.44,5.09.66l54.94,7.08c.3.04,1.54.2,3.75.42.68.07,1.35.13,2.03.2.09,0,.18.02.26.02Z","M73.78,71.27l-.05.46c-.09-.01-.17-.02-.26-.04-.68-.09-1.35-.19-2.03-.28-2.22-.29-3.47-.43-3.77-.46l-21.28-2.27-39.28-4.14c-.21-.02-.41-.03-.62-.04-.2-.01-.4-.01-.61-.02-.23,0-.45.01-.68,0-.7-.05-1.4-.15-2.1-.2l.06-.55c.7.1,1.4.15,2.1.24.22.03.44.09.66.14.2.04.4.08.6.11.21.03.41.06.62.09,1.71.19,3.42.37,5.14.55l55.42,5.89c.3.03,1.56.16,3.79.34.68.05,1.36.1,2.04.16.09,0,.18.01.26.02Z","M73.78,71.27l-.04.46c-.09-.01-.18-.02-.26-.03-.68-.08-1.36-.16-2.04-.24-2.23-.25-3.49-.36-3.79-.39l-21.37-1.87-39.44-3.4c-.21-.02-.42-.03-.62-.03-.2,0-.41,0-.61,0-.23,0-.45.02-.68,0-.7-.04-1.4-.12-2.11-.16l.05-.55c.7.08,1.4.12,2.1.2.22.03.44.09.67.12.2.04.4.07.6.1.21.03.41.06.62.08,1.72.16,3.44.3,5.16.46l55.65,4.85c.3.02,1.56.13,3.8.27.68.04,1.37.08,2.05.12.09,0,.18,0,.26.01Z","M73.77,71.26l-.03.46c-.09,0-.18-.02-.26-.03-.69-.06-1.37-.13-2.06-.19-2.25-.2-3.52-.28-3.82-.3l-21.54-1.37-39.76-2.48c-.21-.01-.42-.02-.63-.02-.2,0-.41,0-.61,0-.23,0-.45.03-.68.02-.71-.02-1.41-.09-2.12-.11l.03-.55c.71.07,1.42.09,2.12.15.23.02.45.08.67.11.2.03.4.06.61.08.21.02.42.05.63.06,1.73.12,3.47.23,5.2.34l56.11,3.55c.31.02,1.58.1,3.83.18.69.03,1.38.05,2.07.07.09,0,.18,0,.26,0Z","M73.77,71.25l-.02.46c-.09,0-.18-.01-.26-.02-.69-.05-1.39-.1-2.08-.15-2.27-.15-3.55-.21-3.86-.22l-21.73-.94-40.11-1.69c-.21,0-.42,0-.63,0-.21,0-.41.01-.62.02-.23.01-.46.04-.69.04-.71,0-1.43-.06-2.14-.07l.02-.55c.71.05,1.43.06,2.14.11.23.02.45.07.68.1.2.03.41.05.61.07.21.02.42.04.63.05,1.75.08,3.5.16,5.24.23l56.59,2.43c.31.01,1.59.07,3.86.11.69.01,1.39.02,2.08.03.09,0,.18,0,.27,0Z","M73.76,71.25v.46c-.1,0-.18-.01-.27-.01-.7-.03-1.39-.07-2.09-.09-2.28-.1-3.57-.12-3.88-.12l-21.85-.38-40.33-.66c-.21,0-.42,0-.64.01-.21,0-.41.02-.62.03-.23.02-.46.05-.69.06-.72.01-1.43-.03-2.15-.02v-.55c.72.03,1.44.02,2.16.06.23.01.46.05.69.08.21.02.41.04.62.06.21.01.42.03.64.03,1.76.04,3.52.07,5.27.1l56.9.97c.31,0,1.6.02,3.88,0,.7,0,1.4-.02,2.09-.02.09,0,.18,0,.27,0Z","M73.76,71.24v.46c-.09,0-.18,0-.27,0-.7-.02-1.4-.04-2.1-.06-2.3-.06-3.59-.06-3.9-.06h-21.97s-40.55.02-40.55.02c-.21,0-.43.01-.64.02-.21.01-.41.03-.62.05-.23.02-.46.06-.69.07-.72.02-1.44,0-2.16.02v-.55c.72.02,1.44,0,2.16.02.23,0,.46.05.69.07.21.02.41.03.62.05.21.01.43.02.64.02,1.77,0,3.54,0,5.3,0h57.22c.31,0,1.61,0,3.9-.05.7-.02,1.4-.04,2.1-.06.09,0,.18,0,.27,0Z","M73.76,71.24v.46c-.08,0-.17,0-.26,0-.7-.01-1.4-.02-2.1-.03-2.3-.03-3.59-.02-3.9-.01l-21.97.26-40.55.51c-.21,0-.43.02-.64.03-.21.01-.41.03-.62.05-.23.02-.46.06-.69.07-.72.03-1.44.01-2.16.05v-.55c.71.01,1.43-.02,2.15,0,.23,0,.46.04.69.06.21.01.41.03.62.04.21,0,.43.02.64.01,1.77-.01,3.54-.04,5.3-.05l57.22-.68c.31,0,1.61-.02,3.9-.11.7-.03,1.4-.06,2.1-.09.09,0,.18,0,.27-.01Z","M73.75,71.24l.02.46h-.27c-.7,0-1.4,0-2.11.02-2.3.03-3.59.07-3.9.08l-21.97.78-40.55,1.48c-.21,0-.43.03-.64.05-.21.02-.41.04-.62.07-.23.03-.46.08-.69.09-.72.05-1.44.05-2.16.1l-.02-.55c.72,0,1.44-.05,2.16-.06.23,0,.46.03.69.04.21.01.41.02.62.02.21,0,.43,0,.64,0,1.77-.05,3.54-.12,5.3-.18l57.22-2.05c.31-.01,1.61-.06,3.9-.2.7-.04,1.4-.09,2.1-.13.09,0,.18-.01.26-.02Z","M73.75,71.23l.02.46c-.09,0-.18,0-.27,0-.71.02-1.42.03-2.13.05-2.32.06-3.63.13-3.95.15l-22.22,1.16-41.01,2.18c-.22.01-.43.03-.65.05-.21.02-.42.05-.63.08-.23.03-.46.08-.7.1-.73.06-1.45.07-2.18.13l-.03-.55c.73-.02,1.45-.08,2.18-.1.23,0,.47.02.7.03.21,0,.42.01.63.01s.43,0,.65-.01c1.79-.08,3.58-.18,5.36-.27l57.87-3.02c.32-.02,1.63-.09,3.94-.27.71-.05,1.42-.11,2.12-.17.09,0,.18-.02.27-.02Z","M73.74,71.23l.03.46c-.09,0-.18,0-.27.01-.71.03-1.42.06-2.13.09-2.33.11-3.64.2-3.95.22l-22.22,1.59-41.01,2.98c-.22.02-.43.04-.65.07-.21.03-.42.06-.62.09-.23.04-.46.09-.69.12-.72.07-1.45.1-2.18.18l-.04-.55c.73-.03,1.45-.11,2.18-.14.23-.01.47.01.7.02.21,0,.42,0,.63,0,.22,0,.43-.01.65-.02,1.79-.12,3.58-.25,5.36-.38l57.87-4.15c.32-.02,1.63-.12,3.94-.34.71-.07,1.42-.14,2.12-.21.09,0,.18-.02.26-.03Z","M73.74,71.23l.04.46c-.09,0-.18.01-.27.02-.71.05-1.42.09-2.13.14-2.33.16-3.64.28-3.95.31l-22.22,2.06-41.01,3.84c-.22.02-.43.05-.65.08-.21.03-.42.07-.62.1-.23.04-.46.1-.69.13-.72.09-1.45.13-2.18.22l-.05-.55c.73-.05,1.45-.14,2.18-.18.23-.01.47,0,.71,0,.21,0,.42,0,.63-.01.22,0,.43-.02.65-.04,1.79-.16,3.58-.33,5.36-.49l57.87-5.37c.32-.03,1.63-.15,3.94-.43.71-.08,1.42-.17,2.12-.26.09-.01.18-.02.26-.03Z","M73.73,71.22l.05.46c-.09,0-.18.01-.27.02-.7.06-1.41.12-2.11.18-2.3.2-3.6.35-3.91.38l-21.97,2.48-40.55,4.61c-.21.03-.43.06-.64.09-.21.03-.41.07-.62.12-.23.05-.45.11-.68.14-.72.1-1.44.16-2.16.26l-.06-.55c.72-.06,1.44-.16,2.16-.23.23-.02.47,0,.7-.01.21,0,.42-.01.63-.02.21-.01.43-.03.64-.05,1.77-.19,3.54-.39,5.3-.59l57.23-6.46c.31-.04,1.61-.19,3.9-.5.7-.1,1.4-.2,2.1-.3.09-.01.18-.03.26-.04Z","M73.72,71.22l.06.46c-.09,0-.18.02-.26.03-.71.08-1.42.15-2.12.23-2.31.26-3.62.44-3.93.49l-22.08,3.06-40.75,5.68c-.21.03-.43.07-.64.11-.21.04-.41.08-.62.13-.23.05-.45.12-.69.16-.72.12-1.45.2-2.16.32l-.08-.54c.72-.08,1.44-.2,2.17-.28.23-.02.47-.02.7-.03.21-.01.42-.02.63-.04.22-.02.43-.04.65-.07,1.78-.24,3.55-.49,5.33-.73l57.51-7.98c.31-.04,1.62-.23,3.91-.6.7-.11,1.4-.24,2.11-.35.09-.01.17-.03.26-.04Z","M73.72,71.21l.07.46c-.09.01-.18.02-.26.03-.71.09-1.42.17-2.12.26-2.32.3-3.62.5-3.93.54l-22.08,3.38-40.75,6.28c-.21.03-.43.08-.64.12-.21.04-.41.09-.62.14-.23.05-.45.13-.68.17-.72.13-1.44.22-2.16.35l-.08-.54c.73-.09,1.44-.22,2.17-.31.23-.03.47-.02.7-.04.21-.01.42-.03.63-.05.22-.02.43-.05.65-.08,1.78-.26,3.55-.54,5.33-.81l57.51-8.82c.31-.05,1.62-.25,3.91-.66.7-.13,1.4-.26,2.11-.38.09-.02.17-.03.26-.05Z","M73.72,71.21l.08.46c-.09.01-.18.02-.26.04-.7.1-1.41.19-2.11.29-2.3.33-3.6.54-3.91.59l-21.97,3.65-40.55,6.78c-.21.04-.43.08-.64.13-.21.05-.41.1-.61.15-.23.06-.45.14-.68.18-.71.14-1.44.24-2.15.38l-.09-.54c.72-.1,1.44-.24,2.16-.34.23-.03.47-.03.7-.05.21-.02.42-.04.63-.06.22-.02.43-.05.64-.09,1.77-.29,3.54-.58,5.3-.88l57.23-9.53c.31-.05,1.61-.27,3.89-.71.7-.13,1.4-.27,2.09-.41.09-.02.17-.03.26-.05Z","M73.71,71.21l.08.46c-.09.01-.18.02-.26.04-.7.1-1.41.2-2.11.31-2.31.35-3.6.57-3.91.62l-21.97,3.84-40.55,7.13c-.21.04-.43.09-.64.13-.21.05-.41.1-.61.15-.23.06-.45.14-.68.19-.71.15-1.44.25-2.15.4l-.09-.54c.72-.1,1.44-.25,2.16-.36.23-.03.47-.03.7-.05.21-.02.42-.04.63-.06.22-.03.43-.06.64-.09,1.77-.3,3.54-.61,5.3-.92l57.23-10.02c.31-.05,1.61-.28,3.89-.74.7-.14,1.4-.28,2.09-.43.09-.02.17-.04.26-.06Z","M73.71,71.21l.08.45c-.09.01-.18.03-.26.04-.71.11-1.41.22-2.12.33-2.31.36-3.6.6-3.91.66l-21.97,4.02-40.55,7.47c-.21.04-.42.09-.64.14-.21.05-.41.1-.61.16-.23.06-.45.14-.68.19-.71.15-1.44.26-2.15.41l-.1-.54c.72-.11,1.44-.27,2.16-.38.23-.03.47-.04.7-.06.21-.02.42-.04.63-.07.22-.03.43-.06.64-.1,1.77-.32,3.54-.64,5.3-.96l57.23-10.49c.31-.06,1.61-.3,3.89-.77.7-.15,1.4-.3,2.09-.44.09-.02.17-.04.26-.06Z","M73.71,71.21l.09.45c-.09.01-.18.03-.26.04-.71.12-1.41.23-2.12.35-2.31.39-3.6.64-3.91.7l-21.97,4.24-40.55,7.87c-.21.04-.42.09-.64.14-.21.05-.41.11-.61.16-.23.06-.45.15-.68.2-.71.16-1.44.27-2.15.44l-.1-.54c.72-.12,1.44-.28,2.16-.4.23-.04.47-.04.7-.07.21-.02.42-.05.63-.07.22-.03.43-.06.64-.1,1.77-.33,3.54-.68,5.31-1.02l57.23-11.05c.31-.06,1.61-.31,3.89-.81.7-.15,1.4-.31,2.09-.47.09-.02.17-.04.26-.06Z","M73.71,71.21l.09.45c-.09.02-.18.03-.26.04-.7.12-1.4.24-2.11.36-2.29.41-3.58.67-3.89.73l-21.86,4.42-40.34,8.2c-.21.04-.42.1-.63.15-.2.05-.41.11-.61.17-.23.07-.45.15-.67.2-.71.17-1.43.29-2.14.45l-.11-.54c.72-.12,1.43-.29,2.15-.42.23-.04.47-.05.7-.07.21-.02.42-.05.63-.08.21-.03.43-.07.64-.11,1.76-.35,3.52-.71,5.28-1.06l56.93-11.52c.31-.06,1.6-.33,3.87-.85.69-.16,1.39-.32,2.08-.48.09-.02.17-.04.26-.06Z","M73.7,71.2l.1.45c-.09.02-.17.03-.26.05-.7.13-1.4.26-2.11.39-2.3.43-3.58.7-3.9.77l-21.86,4.65-40.34,8.62c-.21.05-.42.1-.63.16-.2.05-.41.11-.61.18-.23.07-.44.16-.67.21-.71.17-1.43.3-2.14.48l-.11-.54c.72-.13,1.43-.31,2.15-.44.23-.04.47-.05.7-.08.21-.03.42-.05.63-.09.21-.03.43-.07.64-.11,1.76-.37,3.52-.74,5.28-1.12l56.93-12.12c.31-.07,1.6-.34,3.87-.89.69-.17,1.39-.34,2.08-.51.09-.02.17-.04.26-.06Z","M73.7,71.2l.1.45c-.09.02-.17.03-.26.05-.7.13-1.4.27-2.09.41-2.28.45-3.56.74-3.87.81l-21.74,4.86-40.11,9c-.21.05-.42.1-.63.16-.2.06-.4.12-.6.18-.22.07-.44.16-.67.22-.71.18-1.42.32-2.13.5l-.12-.54c.72-.14,1.42-.32,2.14-.46.23-.04.47-.06.7-.09.21-.03.42-.06.62-.09.21-.04.43-.07.64-.12,1.75-.38,3.5-.78,5.25-1.17l56.61-12.66c.31-.07,1.59-.36,3.85-.92.69-.17,1.38-.35,2.07-.52.09-.02.17-.05.26-.07Z","M73.7,71.2l.11.45c-.09.02-.17.03-.26.05-.7.15-1.4.29-2.1.44-2.28.49-3.57.79-3.87.86l-21.74,5.19-40.11,9.62c-.21.05-.42.11-.63.17-.2.06-.4.12-.6.19-.22.07-.44.17-.67.23-.71.19-1.42.34-2.13.53l-.13-.54c.72-.15,1.42-.34,2.14-.49.23-.05.47-.06.7-.1.21-.03.42-.07.62-.1.21-.04.43-.08.64-.13,1.75-.41,3.5-.83,5.25-1.25l56.61-13.54c.31-.07,1.59-.38,3.85-.98.69-.18,1.38-.37,2.07-.56.09-.02.17-.05.26-.07Z","M73.69,71.2l.11.45c-.09.02-.17.04-.26.06-.69.15-1.39.31-2.08.46-2.27.51-3.54.83-3.85.91l-21.57,5.43-39.81,10.07c-.21.05-.42.12-.62.18-.2.06-.4.13-.6.2-.22.08-.44.17-.66.24-.7.2-1.41.35-2.11.55l-.13-.53c.71-.16,1.41-.36,2.12-.52.23-.05.46-.07.7-.11.21-.03.41-.07.62-.11.21-.04.42-.09.63-.14,1.74-.43,3.47-.87,5.21-1.31l56.18-14.17c.31-.08,1.58-.4,3.82-1.02.68-.19,1.37-.39,2.05-.58.09-.02.17-.05.26-.07Z","M73.69,71.19l.12.45c-.09.02-.17.04-.26.06-.69.16-1.39.33-2.08.49-2.27.55-3.54.89-3.85.97l-21.57,5.75-39.81,10.66c-.21.06-.42.12-.62.19-.2.06-.4.14-.6.21-.22.08-.44.18-.66.25-.7.21-1.41.37-2.11.58l-.14-.53c.71-.17,1.41-.38,2.12-.55.23-.05.46-.07.7-.12.21-.04.41-.08.62-.12.21-.05.42-.09.63-.15,1.74-.45,3.47-.92,5.21-1.38l56.18-15c.31-.08,1.58-.42,3.82-1.08.68-.2,1.37-.41,2.05-.61.09-.03.17-.05.25-.08Z","M73.69,71.19l.12.45c-.09.02-.17.04-.26.06-.69.17-1.38.34-2.07.51-2.26.57-3.52.92-3.83,1l-21.46,5.96-39.59,11.03c-.21.06-.41.12-.62.19-.2.07-.4.14-.59.21-.22.08-.43.18-.66.25-.7.22-1.4.39-2.1.6l-.15-.53c.71-.17,1.4-.39,2.11-.57.23-.06.46-.08.69-.12.21-.04.41-.08.62-.12.21-.05.42-.1.63-.15,1.73-.47,3.45-.95,5.18-1.43l55.88-15.52c.3-.09,1.57-.44,3.8-1.12.68-.21,1.36-.42,2.04-.63.08-.03.17-.05.25-.08Z","M73.68,71.19l.13.44c-.09.02-.17.04-.26.07-.69.18-1.37.35-2.06.54-2.24.59-3.5.95-3.8,1.04l-21.33,6.18-39.35,11.44c-.21.06-.41.13-.62.2-.2.07-.39.14-.59.22-.22.08-.43.19-.65.26-.69.22-1.4.4-2.09.62l-.15-.53c.7-.18,1.4-.41,2.1-.59.23-.06.46-.08.69-.13.21-.04.41-.08.62-.13.21-.05.42-.1.63-.16,1.72-.49,3.43-.99,5.15-1.48l55.53-16.1c.3-.09,1.56-.45,3.77-1.16.68-.21,1.35-.43,2.03-.65.08-.03.17-.06.25-.08Z","M73.68,71.19l.13.44c-.09.02-.17.05-.26.07-.68.19-1.36.37-2.04.56-2.23.62-3.48.99-3.78,1.08l-21.17,6.41-39.07,11.86c-.21.06-.41.13-.61.21-.2.07-.39.15-.58.23-.22.09-.43.19-.65.27-.69.23-1.39.42-2.07.65l-.16-.53c.7-.19,1.39-.42,2.08-.61.22-.06.46-.09.69-.14.2-.04.41-.09.61-.14.21-.05.42-.1.62-.17,1.71-.51,3.41-1.03,5.11-1.54l55.14-16.69c.3-.09,1.55-.47,3.74-1.2.67-.22,1.34-.45,2.01-.67.08-.03.17-.06.25-.09Z","M73.68,71.19l.14.44c-.09.03-.17.05-.26.07-.68.2-1.35.39-2.03.59-2.21.66-3.45,1.06-3.75,1.15l-21.02,6.8-38.78,12.59c-.2.07-.41.14-.61.22-.19.07-.39.15-.58.24-.21.09-.42.2-.64.28-.68.24-1.38.44-2.06.69l-.17-.52c.69-.2,1.38-.45,2.07-.65.22-.06.46-.1.68-.15.2-.05.41-.1.61-.15.21-.06.41-.11.62-.18,1.69-.54,3.38-1.09,5.07-1.63l54.73-17.73c.3-.1,1.54-.5,3.71-1.27.67-.23,1.33-.47,1.99-.71.08-.03.17-.06.25-.09Z","M73.67,71.19l.15.44c-.08.03-.17.05-.25.08-.67.21-1.35.41-2.02.62-2.2.69-3.43,1.1-3.73,1.2l-20.9,7.08-38.55,13.11c-.2.07-.4.15-.6.23-.19.08-.38.16-.58.24-.21.09-.42.2-.64.29-.68.25-1.37.46-2.05.72l-.18-.52c.69-.21,1.37-.47,2.06-.68.22-.07.45-.1.68-.16.2-.05.4-.1.6-.16.21-.06.41-.12.62-.19,1.68-.56,3.36-1.14,5.05-1.7l54.42-18.46c.3-.1,1.53-.52,3.69-1.32.66-.24,1.32-.49,1.98-.74.08-.03.17-.06.25-.09Z","M73.67,71.18l.16.44c-.08.03-.17.05-.25.08-.67.22-1.34.43-2.01.65-2.19.72-3.41,1.16-3.71,1.26l-20.78,7.41-38.34,13.72c-.2.07-.4.15-.6.24-.19.08-.38.17-.57.25-.21.1-.41.21-.63.3-.67.26-1.36.48-2.03.75l-.19-.52c.69-.22,1.36-.49,2.05-.71.22-.07.45-.11.68-.17.2-.05.4-.11.6-.17.21-.06.41-.12.61-.2,1.67-.59,3.35-1.19,5.02-1.78l54.11-19.32c.3-.11,1.52-.55,3.67-1.38.66-.25,1.31-.51,1.97-.77.08-.03.16-.07.25-.1Z","M73.66,71.18l.16.43c-.08.03-.17.06-.25.08-.67.23-1.33.45-2,.68-2.18.75-3.4,1.2-3.69,1.31l-20.68,7.67-38.15,14.2c-.2.08-.4.16-.59.24-.19.08-.38.17-.57.26-.21.1-.41.22-.63.3-.67.27-1.36.5-2.02.77l-.19-.51c.68-.23,1.35-.51,2.04-.74.22-.07.45-.12.67-.18.2-.06.4-.11.6-.17.2-.06.41-.13.61-.2,1.67-.61,3.33-1.23,4.99-1.85l53.85-20c.29-.11,1.51-.56,3.65-1.42.65-.26,1.31-.53,1.96-.79.08-.03.16-.07.25-.1Z","M73.66,71.18l.17.43c-.08.03-.17.06-.25.09-.67.24-1.34.47-2,.71-2.18.78-3.4,1.25-3.69,1.37l-20.68,8-38.15,14.81c-.2.08-.4.16-.59.25-.19.09-.38.18-.57.27-.21.1-.41.22-.63.31-.67.28-1.35.52-2.02.8l-.2-.51c.68-.24,1.35-.53,2.04-.77.22-.08.45-.12.67-.19.2-.06.4-.12.6-.18.2-.07.41-.14.61-.21,1.67-.64,3.33-1.28,4.99-1.92l53.85-20.86c.29-.11,1.51-.59,3.65-1.48.65-.27,1.31-.55,1.96-.82.08-.03.16-.07.24-.1Z","M73.66,71.18l.17.43c-.08.03-.17.06-.25.09-.67.25-1.34.49-2,.74-2.18.82-3.4,1.31-3.7,1.43l-20.68,8.34-38.15,15.43c-.2.08-.4.17-.59.26-.19.09-.38.18-.57.28-.21.11-.41.23-.63.32-.67.29-1.35.54-2.02.84l-.21-.51c.68-.25,1.35-.55,2.04-.8.22-.08.45-.13.68-.2.2-.06.4-.13.6-.19.2-.07.41-.14.61-.22,1.67-.66,3.33-1.34,4.99-2.01l53.85-21.73c.29-.12,1.51-.61,3.65-1.54.65-.28,1.31-.57,1.96-.85.08-.04.16-.07.24-.11Z","M73.65,71.18l.18.43c-.08.03-.17.06-.25.1-.67.26-1.33.51-2,.78-2.17.86-3.39,1.36-3.68,1.49l-20.61,8.68-38.02,16.06c-.2.09-.4.18-.59.27-.19.09-.38.19-.56.29-.21.11-.41.24-.62.33-.66.3-1.35.57-2.01.87l-.21-.51c.68-.26,1.35-.57,2.03-.83.22-.08.45-.14.67-.21.2-.07.4-.13.6-.2.2-.07.41-.15.61-.23,1.66-.69,3.32-1.39,4.98-2.09l53.66-22.62c.29-.12,1.51-.64,3.64-1.6.65-.29,1.3-.59,1.95-.89.08-.04.16-.08.24-.11Z","M73.64,71.17l.19.42c-.08.03-.16.07-.25.1-.66.27-1.33.54-1.99.82-2.16.9-3.37,1.43-3.66,1.56l-20.49,9.1-37.8,16.84c-.2.09-.39.19-.59.28-.19.1-.37.2-.56.3-.21.11-.4.25-.62.35-.66.32-1.34.59-2,.91l-.22-.5c.68-.28,1.34-.6,2.02-.88.22-.09.45-.15.67-.23.2-.07.4-.14.6-.21.2-.08.41-.16.61-.25,1.65-.72,3.3-1.46,4.95-2.19l53.36-23.71c.29-.13,1.5-.67,3.61-1.67.65-.31,1.29-.62,1.94-.93.08-.04.16-.08.24-.12Z","M73.64,71.17l.2.42c-.08.04-.16.07-.24.11-.66.29-1.31.57-1.97.86-2.14.95-3.34,1.51-3.63,1.65l-20.3,9.57-37.45,17.7c-.2.09-.39.2-.58.3-.19.1-.37.2-.55.31-.2.12-.4.26-.61.36-.65.33-1.33.62-1.98.96l-.23-.5c.67-.29,1.33-.63,2-.92.22-.09.45-.16.67-.24.2-.07.4-.15.59-.23.2-.08.4-.17.6-.26,1.64-.76,3.27-1.53,4.9-2.3l52.86-24.93c.29-.14,1.48-.7,3.58-1.75.64-.32,1.28-.65,1.92-.97.08-.04.16-.08.24-.12Z","M73.63,71.17l.2.42c-.08.04-.16.07-.24.11-.65.3-1.31.59-1.96.89-2.14.98-3.33,1.55-3.62,1.69l-20.23,9.82-37.33,18.17c-.2.1-.39.2-.58.31-.19.1-.37.21-.55.32-.2.12-.4.26-.61.37-.65.34-1.32.64-1.97.98l-.24-.49c.67-.3,1.32-.64,1.99-.95.22-.1.44-.16.67-.25.2-.08.4-.15.59-.24.2-.09.4-.17.6-.27,1.63-.78,3.26-1.58,4.89-2.36l52.69-25.6c.29-.14,1.48-.72,3.57-1.8.64-.33,1.27-.66,1.91-1,.08-.04.16-.08.24-.12Z","M73.63,71.17l.21.41c-.08.04-.16.07-.24.11-.65.3-1.31.6-1.96.9-2.14,1-3.33,1.58-3.62,1.72l-20.23,10.01-37.33,18.51c-.2.1-.39.2-.58.31-.19.1-.37.21-.55.32-.2.12-.4.26-.61.38-.65.35-1.32.65-1.97,1l-.24-.49c.67-.31,1.32-.66,1.99-.96.22-.1.45-.17.67-.26.2-.08.4-.16.59-.24.2-.09.4-.18.6-.27,1.63-.8,3.26-1.61,4.89-2.41l52.69-26.07c.29-.14,1.48-.73,3.57-1.83.64-.34,1.27-.68,1.91-1.01.08-.04.16-.08.24-.13Z","M73.63,71.17l.21.41c-.08.04-.16.07-.24.11-.65.31-1.3.62-1.95.93-2.13,1.02-3.32,1.62-3.6,1.77l-20.13,10.25-37.13,18.95c-.19.1-.39.21-.58.32-.18.11-.37.22-.55.33-.2.13-.39.27-.6.38-.65.35-1.32.67-1.96,1.02l-.25-.49c.67-.32,1.31-.67,1.98-.99.22-.1.44-.17.66-.26.2-.08.39-.16.59-.25.2-.09.4-.18.6-.28,1.62-.82,3.24-1.64,4.86-2.47l52.42-26.7c.29-.15,1.47-.75,3.55-1.87.63-.34,1.27-.69,1.9-1.04.08-.04.16-.09.23-.13Z","M73.62,71.17l.22.41c-.08.04-.16.08-.24.12-.65.32-1.3.63-1.94.95-2.12,1.05-3.29,1.66-3.58,1.81l-20,10.5-36.89,19.41c-.19.1-.38.21-.57.32-.18.11-.36.22-.54.34-.2.13-.39.27-.6.39-.64.36-1.31.68-1.95,1.05l-.26-.49c.66-.32,1.3-.69,1.97-1.01.21-.1.44-.18.66-.27.2-.08.39-.17.59-.26.2-.09.4-.19.59-.29,1.61-.84,3.22-1.69,4.83-2.53l52.07-27.35c.28-.15,1.46-.77,3.52-1.92.63-.35,1.26-.71,1.89-1.06.08-.04.15-.09.23-.13Z","M73.62,71.17l.22.41c-.08.04-.16.08-.24.12-.65.33-1.29.66-1.94.99-2.11,1.09-3.28,1.73-3.57,1.88l-19.92,10.88-36.74,20.12c-.19.11-.38.22-.57.34-.18.11-.36.23-.54.35-.2.13-.39.28-.59.4-.64.38-1.3.71-1.94,1.08l-.26-.48c.66-.34,1.3-.71,1.96-1.05.21-.11.44-.19.66-.28.2-.09.39-.17.58-.27.2-.09.4-.19.59-.3,1.61-.87,3.21-1.75,4.81-2.62l51.86-28.35c.28-.15,1.46-.8,3.51-1.99.63-.36,1.25-.73,1.88-1.09.08-.05.15-.09.23-.14Z","M73.62,71.16l.23.4c-.08.04-.16.08-.24.12-.64.34-1.29.68-1.93,1.02-2.1,1.12-3.27,1.78-3.55,1.94l-19.84,11.18-36.6,20.67c-.19.11-.38.23-.57.35-.18.11-.36.23-.54.36-.2.13-.39.29-.59.41-.64.38-1.3.73-1.93,1.11l-.27-.48c.66-.35,1.29-.73,1.95-1.08.21-.11.44-.19.66-.29.2-.09.39-.18.58-.28.2-.1.4-.2.59-.31,1.6-.89,3.2-1.79,4.79-2.69l51.67-29.13c.28-.16,1.45-.82,3.49-2.04.62-.37,1.25-.75,1.87-1.12.08-.05.15-.09.23-.14Z","M73.61,71.16l.24.4c-.08.04-.16.09-.23.13-.64.35-1.27.7-1.91,1.06-2.08,1.16-3.23,1.84-3.51,2l-19.61,11.56-36.16,21.38c-.19.11-.38.23-.56.36-.18.12-.36.24-.53.37-.2.14-.38.29-.58.42-.63.4-1.28.75-1.91,1.15l-.28-.47c.65-.36,1.28-.76,1.93-1.12.21-.11.43-.2.65-.31.19-.09.39-.19.58-.29.2-.1.39-.21.58-.32,1.58-.92,3.16-1.86,4.74-2.79l51.05-30.13c.28-.16,1.43-.85,3.45-2.11.62-.39,1.23-.77,1.85-1.16.08-.05.15-.1.23-.14Z","M73.6,71.16l.24.4c-.08.04-.16.09-.23.13-.63.36-1.26.72-1.89,1.09-2.06,1.19-3.21,1.89-3.49,2.06l-19.45,11.88-35.88,21.96c-.19.12-.37.24-.56.36-.18.12-.35.25-.53.38-.19.14-.38.3-.58.43-.62.41-1.27.77-1.89,1.18l-.29-.47c.65-.37,1.27-.78,1.91-1.15.21-.12.43-.21.65-.32.19-.1.38-.2.57-.3.19-.11.39-.21.58-.33,1.57-.95,3.13-1.91,4.7-2.86l50.66-30.95c.28-.17,1.42-.87,3.42-2.16.61-.39,1.22-.79,1.83-1.19.07-.05.15-.1.22-.15Z","M73.6,71.16l.25.39c-.08.05-.15.09-.23.14-.62.38-1.25.75-1.87,1.13-2.04,1.24-3.17,1.96-3.45,2.13l-19.23,12.29-35.47,22.73c-.19.12-.37.25-.55.38-.18.13-.35.26-.52.39-.19.15-.37.31-.57.44-.62.42-1.26.8-1.87,1.22l-.3-.46c.64-.38,1.25-.81,1.89-1.19.21-.12.43-.22.64-.33.19-.1.38-.2.57-.31.19-.11.38-.22.57-.34,1.55-.98,3.1-1.97,4.64-2.96l50.07-32.03c.27-.17,1.4-.9,3.38-2.24.6-.41,1.21-.82,1.81-1.23.07-.05.15-.1.22-.15Z","M73.59,71.16l.26.39c-.08.05-.15.09-.23.14-.62.39-1.24.77-1.86,1.16-2.02,1.27-3.15,2.02-3.42,2.2l-19.06,12.63-35.16,23.34c-.18.12-.36.25-.54.39-.17.13-.34.26-.51.39-.19.15-.37.32-.56.45-.61.43-1.24.82-1.85,1.25l-.3-.46c.63-.39,1.24-.83,1.88-1.22.2-.13.43-.23.64-.34.19-.1.38-.21.56-.32.19-.11.38-.23.57-.35,1.54-1.01,3.07-2.03,4.61-3.04l49.64-32.9c.27-.18,1.39-.93,3.35-2.29.6-.42,1.2-.84,1.79-1.26.07-.05.15-.1.22-.16Z","M73.59,71.16l.26.38c-.07.05-.15.09-.23.14-.62.4-1.23.79-1.85,1.19-2.01,1.31-3.13,2.07-3.4,2.25l-18.94,12.94-34.93,23.91c-.18.13-.36.26-.54.4-.17.13-.34.27-.51.4-.19.15-.36.32-.56.46-.6.44-1.24.84-1.84,1.28l-.31-.45c.63-.4,1.23-.85,1.86-1.25.2-.13.42-.23.63-.35.19-.11.38-.21.56-.33.19-.12.38-.23.56-.36,1.53-1.03,3.05-2.08,4.57-3.12l49.32-33.7c.27-.19,1.38-.95,3.33-2.35.59-.43,1.19-.86,1.78-1.29.07-.05.14-.11.22-.16Z","M73.59,71.16l.26.38c-.07.05-.15.1-.22.15-.61.4-1.23.8-1.84,1.21-2,1.32-3.11,2.1-3.38,2.28l-18.85,13.11-34.77,24.22c-.18.13-.36.26-.54.4-.17.13-.34.27-.51.41-.19.15-.36.32-.55.47-.6.44-1.23.85-1.83,1.3l-.31-.45c.63-.41,1.23-.86,1.85-1.27.2-.13.42-.24.63-.36.19-.11.37-.22.56-.33.19-.12.38-.24.56-.36,1.52-1.05,3.04-2.11,4.55-3.16l49.09-34.14c.27-.19,1.38-.96,3.31-2.38.59-.43,1.18-.87,1.77-1.3.07-.05.14-.11.21-.16Z","M73.58,71.16l.27.38c-.07.05-.15.1-.22.15-.61.41-1.22.81-1.83,1.22-1.99,1.34-3.09,2.12-3.36,2.31l-18.73,13.29-34.55,24.57c-.18.13-.36.27-.53.4-.17.13-.34.27-.5.41-.19.16-.36.33-.55.47-.6.45-1.22.87-1.82,1.32l-.32-.45c.62-.42,1.22-.87,1.84-1.29.2-.13.42-.24.63-.36.19-.11.37-.22.56-.34.19-.12.38-.24.56-.37,1.51-1.06,3.02-2.14,4.53-3.2l48.78-34.63c.27-.19,1.37-.97,3.29-2.41.59-.44,1.17-.88,1.76-1.32.07-.05.14-.11.21-.16Z","M73.58,71.16l.27.38c-.07.05-.15.1-.22.15-.6.41-1.21.82-1.81,1.24-1.97,1.36-3.07,2.15-3.33,2.34l-18.57,13.45-34.24,24.86c-.18.13-.35.27-.53.41-.17.14-.33.28-.5.42-.18.16-.35.33-.54.48-.59.46-1.21.88-1.8,1.33l-.32-.45c.62-.42,1.21-.88,1.83-1.3.2-.14.42-.24.62-.37.19-.11.37-.23.55-.34.19-.12.37-.24.55-.37,1.5-1.08,2.99-2.16,4.48-3.24l48.34-35.05c.26-.19,1.36-.99,3.26-2.44.58-.44,1.16-.89,1.74-1.34.07-.05.14-.11.21-.16Z","M73.58,71.16l.28.37c-.07.05-.15.1-.22.15-.6.42-1.2.84-1.81,1.27-1.96,1.39-3.05,2.2-3.32,2.39l-18.48,13.73-34.09,25.38c-.18.13-.35.27-.53.42-.17.14-.33.28-.49.43-.18.16-.35.34-.54.49-.59.47-1.21.89-1.79,1.36l-.33-.44c.62-.43,1.2-.9,1.82-1.33.2-.14.42-.25.62-.38.18-.12.37-.23.55-.35.19-.12.37-.25.55-.38,1.49-1.1,2.98-2.21,4.47-3.31l48.13-35.77c.26-.2,1.35-1.01,3.25-2.49.58-.45,1.16-.91,1.73-1.36.07-.05.14-.11.21-.17Z","M73.57,71.16l.28.37c-.07.05-.14.1-.22.16-.6.43-1.19.86-1.79,1.3-1.95,1.42-3.03,2.25-3.29,2.45l-18.3,14.04-33.75,25.95c-.18.14-.35.28-.52.43-.17.14-.33.29-.49.43-.18.16-.35.34-.53.49-.58.47-1.19.91-1.78,1.39l-.34-.44c.61-.44,1.19-.92,1.8-1.36.2-.14.41-.26.62-.39.18-.12.37-.24.54-.36.18-.13.37-.26.55-.39,1.48-1.12,2.95-2.26,4.42-3.38l47.65-36.58c.26-.2,1.34-1.03,3.21-2.54.57-.46,1.14-.93,1.72-1.39.07-.06.14-.11.21-.17Z","M73.57,71.16l.29.36c-.07.05-.14.11-.22.16-.59.44-1.18.88-1.77,1.32-1.93,1.44-2.99,2.28-3.25,2.48l-18.11,14.23-33.39,26.3c-.18.14-.35.28-.51.43-.16.14-.32.29-.48.44-.18.16-.34.34-.53.5-.58.48-1.18.93-1.76,1.41l-.34-.43c.6-.45,1.18-.93,1.78-1.38.19-.14.41-.26.61-.39.18-.12.36-.24.54-.37.18-.13.36-.26.54-.4,1.46-1.14,2.92-2.29,4.37-3.43l47.15-37.08c.26-.2,1.32-1.04,3.18-2.58.57-.47,1.13-.94,1.7-1.41.07-.06.14-.12.2-.17Z","M73.56,71.16l.29.36c-.07.05-.14.11-.21.16-.59.44-1.17.89-1.76,1.33-1.91,1.46-2.97,2.31-3.23,2.52l-17.98,14.41-33.16,26.63c-.17.14-.34.29-.51.44-.16.14-.32.29-.48.44-.18.17-.34.35-.52.51-.57.49-1.17.94-1.74,1.42l-.34-.43c.6-.45,1.17-.94,1.77-1.39.19-.15.41-.26.61-.4.18-.12.36-.24.54-.37.18-.13.36-.26.54-.4,1.45-1.15,2.9-2.31,4.34-3.47l46.82-37.54c.26-.21,1.31-1.06,3.16-2.61.56-.47,1.12-.95,1.68-1.43.07-.06.14-.12.2-.17Z","M73.56,71.16l.29.36c-.07.05-.14.11-.21.16-.58.45-1.17.91-1.75,1.36-1.91,1.49-2.96,2.36-3.22,2.57l-17.9,14.7-33.01,27.16c-.17.14-.34.29-.51.44-.16.15-.32.3-.48.45-.18.17-.34.35-.52.51-.57.5-1.17.96-1.74,1.45l-.35-.42c.6-.46,1.16-.96,1.76-1.42.19-.15.41-.27.61-.41.18-.12.36-.25.53-.38.18-.13.36-.27.53-.41,1.45-1.18,2.88-2.36,4.32-3.54l46.61-38.28c.25-.21,1.31-1.08,3.14-2.66.56-.48,1.12-.97,1.68-1.45.07-.06.13-.12.2-.18Z","M73.55,71.16l.3.35c-.07.06-.14.11-.21.17-.58.47-1.15.93-1.73,1.4-1.88,1.54-2.92,2.43-3.17,2.64l-17.61,15.11-32.48,27.92c-.17.15-.34.3-.5.46-.16.15-.31.31-.47.46-.17.17-.33.36-.51.53-.56.51-1.15.98-1.71,1.49l-.36-.42c.59-.48,1.15-.99,1.73-1.46.19-.15.4-.28.6-.43.18-.13.35-.26.53-.39.18-.14.36-.28.53-.42,1.42-1.21,2.84-2.43,4.26-3.64l45.86-39.36c.25-.21,1.29-1.11,3.09-2.73.55-.5,1.1-1,1.65-1.49.07-.06.13-.12.2-.18Z","M73.55,71.15l.31.35c-.07.06-.14.11-.21.17-.57.48-1.13.95-1.7,1.43-1.85,1.56-2.87,2.47-3.11,2.69l-17.32,15.39-31.94,28.43c-.17.15-.33.31-.49.46-.16.15-.31.31-.46.47-.17.18-.32.37-.5.53-.55.52-1.13,1-1.68,1.52l-.37-.41c.58-.48,1.13-1.01,1.7-1.49.19-.16.39-.29.59-.43.17-.13.35-.26.52-.4.18-.14.35-.28.52-.43,1.4-1.23,2.79-2.47,4.18-3.71l45.1-40.08c.25-.22,1.26-1.13,3.04-2.78.54-.5,1.08-1.01,1.62-1.52.07-.06.13-.12.19-.18Z","M73.54,71.15l.32.34c-.07.06-.13.12-.2.18-.55.49-1.11.97-1.66,1.46-1.81,1.6-2.8,2.53-3.04,2.75l-16.91,15.74-31.19,29.07c-.16.15-.32.31-.48.47-.15.16-.3.32-.45.48-.16.18-.31.37-.49.55-.54.53-1.1,1.02-1.64,1.55l-.37-.4c.57-.5,1.1-1.03,1.67-1.52.18-.16.39-.3.58-.45.17-.14.34-.27.51-.41.17-.14.34-.29.51-.44,1.37-1.26,2.72-2.53,4.09-3.79l44.04-40.99c.24-.22,1.23-1.15,2.96-2.84.53-.51,1.05-1.03,1.58-1.55.06-.06.13-.13.19-.19Z","M73.54,71.15l.32.33c-.07.06-.13.12-.2.18-.55.5-1.09.99-1.64,1.49-1.78,1.63-2.77,2.57-3,2.8l-16.69,15.99-30.77,29.54c-.16.16-.32.32-.47.48-.15.16-.3.32-.44.48-.16.18-.31.38-.48.55-.53.54-1.09,1.04-1.62,1.58l-.38-.4c.56-.51,1.09-1.04,1.64-1.55.18-.16.38-.3.57-.46.17-.14.34-.28.5-.42.17-.15.34-.3.5-.45,1.35-1.28,2.69-2.57,4.03-3.86l43.46-41.65c.24-.23,1.22-1.17,2.92-2.88.52-.52,1.04-1.05,1.56-1.57.06-.06.12-.13.19-.19Z","M73.53,71.15l.33.33c-.06.06-.13.12-.2.18-.54.51-1.07,1.01-1.61,1.52-1.75,1.67-2.71,2.63-2.94,2.86l-16.34,16.33-30.12,30.17c-.16.16-.31.32-.46.49-.15.16-.29.33-.43.49-.16.18-.3.38-.47.56-.52.55-1.07,1.06-1.58,1.61l-.39-.39c.55-.52,1.06-1.07,1.61-1.58.18-.17.38-.31.56-.47.17-.14.33-.28.49-.43.17-.15.33-.3.49-.46,1.32-1.31,2.63-2.62,3.95-3.94l42.54-42.54c.23-.23,1.19-1.2,2.86-2.95.51-.53,1.01-1.07,1.52-1.61.06-.07.12-.13.18-.2Z","M73.52,71.15l.33.32c-.06.06-.13.12-.19.19-.52.52-1.05,1.04-1.57,1.56-1.71,1.7-2.65,2.69-2.87,2.93l-15.94,16.7-29.39,30.85c-.15.16-.3.33-.45.5-.14.16-.28.33-.42.5-.15.19-.29.39-.45.57-.5.56-1.04,1.09-1.54,1.65l-.4-.38c.53-.53,1.04-1.09,1.57-1.62.17-.17.37-.32.55-.48.16-.14.32-.29.48-.44.16-.15.32-.31.48-.47,1.29-1.34,2.57-2.68,3.85-4.03l41.5-43.49c.23-.24,1.16-1.22,2.79-3.01.5-.54.99-1.09,1.48-1.64.06-.07.12-.13.18-.2Z","M73.52,71.15l.34.31c-.06.06-.13.13-.19.19-.52.53-1.03,1.05-1.55,1.58-1.68,1.72-2.61,2.72-2.83,2.96l-15.7,16.88-28.94,31.18c-.15.17-.3.34-.44.51-.14.17-.28.34-.41.51-.15.19-.28.39-.44.58-.49.56-1.02,1.1-1.52,1.66l-.4-.37c.53-.54,1.02-1.1,1.55-1.64.17-.17.36-.32.54-.49.16-.15.32-.29.48-.45.16-.16.32-.31.47-.48,1.27-1.35,2.53-2.71,3.79-4.07l40.87-43.96c.22-.24,1.15-1.24,2.74-3.04.49-.55.97-1.11,1.46-1.66.06-.07.12-.14.18-.2Z","M73.51,71.16l.34.31c-.06.06-.12.13-.19.19-.51.53-1.02,1.07-1.53,1.6-1.66,1.76-2.58,2.77-2.8,3.01l-15.51,17.16-28.6,31.69c-.15.17-.29.34-.44.51-.14.17-.27.34-.4.52-.15.19-.28.4-.44.59-.49.57-1.01,1.12-1.5,1.69l-.41-.37c.52-.54,1.01-1.12,1.53-1.66.17-.18.36-.33.54-.5.16-.15.32-.3.47-.45.16-.16.32-.32.47-.49,1.25-1.38,2.5-2.76,3.75-4.14l40.38-44.69c.22-.24,1.13-1.26,2.71-3.09.48-.56.96-1.12,1.44-1.68.06-.07.12-.14.17-.2Z","M73.51,71.16l.35.3c-.06.06-.12.13-.18.2-.5.54-1,1.08-1.5,1.62-1.63,1.78-2.53,2.8-2.75,3.05l-15.23,17.37-28.08,32.09c-.15.17-.29.34-.43.52-.14.17-.27.34-.4.52-.14.19-.27.4-.43.59-.48.58-.99,1.13-1.47,1.71l-.41-.36c.51-.55.99-1.13,1.5-1.68.17-.18.35-.33.53-.5.16-.15.31-.3.46-.46.16-.16.31-.32.46-.49,1.23-1.39,2.45-2.79,3.68-4.19l39.66-45.25c.22-.25,1.11-1.27,2.66-3.13.47-.57.94-1.14,1.41-1.7.06-.07.11-.14.17-.21Z","M73.5,71.16l.35.3c-.06.07-.12.13-.18.2-.49.55-.99,1.09-1.48,1.64-1.6,1.79-2.49,2.83-2.7,3.08l-14.94,17.54-27.54,32.39c-.14.17-.28.35-.42.53-.13.17-.26.35-.39.52-.14.2-.27.41-.42.6-.47.59-.98,1.14-1.45,1.73l-.42-.36c.5-.56.97-1.14,1.47-1.7.16-.18.35-.34.52-.51.15-.15.31-.31.46-.47.15-.16.31-.33.45-.5,1.21-1.41,2.41-2.82,3.61-4.23l38.9-45.67c.21-.25,1.09-1.29,2.61-3.15.46-.57.92-1.15,1.38-1.72.06-.07.11-.14.17-.21Z","M73.5,71.16l.36.29c-.06.07-.12.13-.18.2-.48.55-.96,1.11-1.44,1.66-1.57,1.82-2.43,2.86-2.64,3.12l-14.59,17.75-26.9,32.78c-.14.17-.28.35-.41.53-.13.18-.25.35-.38.53-.14.2-.26.41-.41.6-.46.59-.95,1.16-1.41,1.75l-.43-.35c.49-.57.95-1.16,1.44-1.72.16-.18.34-.34.51-.52.15-.16.3-.31.45-.47.15-.16.3-.33.44-.5,1.18-1.42,2.35-2.85,3.53-4.28l38-46.23c.21-.25,1.06-1.3,2.55-3.19.45-.58.9-1.16,1.35-1.74.05-.07.11-.14.16-.21Z","M73.49,71.16l.36.29c-.06.07-.12.14-.17.2-.46.55-.93,1.09-1.39,1.64-1.51,1.8-2.34,2.83-2.54,3.08l-14.02,17.54-25.84,32.39c-.14.17-.26.35-.39.52-.12.17-.24.35-.36.52-.13.2-.25.4-.39.59-.44.59-.92,1.14-1.36,1.73l-.43-.34c.47-.56.91-1.15,1.39-1.71.15-.18.33-.34.49-.51.15-.15.29-.31.43-.47.14-.16.29-.33.43-.5,1.13-1.41,2.26-2.82,3.39-4.23l36.5-45.67c.2-.25,1.02-1.28,2.44-3.15.43-.57.86-1.15,1.3-1.72.05-.07.11-.14.16-.21Z","M73.49,71.16l.37.28c-.06.07-.11.14-.17.21-.45.55-.91,1.11-1.36,1.66-1.48,1.82-2.29,2.87-2.49,3.12l-13.73,17.75-25.31,32.78c-.13.17-.26.35-.38.53-.12.17-.24.35-.35.53-.13.2-.24.41-.38.6-.43.59-.9,1.16-1.33,1.75l-.44-.34c.47-.57.9-1.16,1.36-1.73.15-.18.33-.34.49-.52.14-.16.29-.31.42-.47.14-.16.28-.33.42-.5,1.11-1.42,2.21-2.85,3.32-4.28l35.75-46.23c.19-.25,1-1.3,2.39-3.19.42-.58.85-1.16,1.27-1.74.05-.07.1-.14.16-.22Z","M73.48,71.16l.37.28c-.06.07-.11.14-.17.21-.45.56-.89,1.11-1.34,1.67-1.45,1.83-2.25,2.88-2.44,3.14l-13.47,17.85-24.83,32.97c-.13.17-.25.35-.37.53-.12.18-.23.35-.34.53-.13.2-.23.41-.37.6-.42.6-.88,1.17-1.3,1.76l-.44-.33c.46-.57.88-1.17,1.34-1.74.15-.18.32-.34.48-.52.14-.16.28-.31.42-.48.14-.17.28-.33.41-.51,1.09-1.43,2.17-2.87,3.26-4.3l35.07-46.49c.19-.25.98-1.31,2.34-3.21.42-.58.83-1.16,1.24-1.75.05-.07.1-.14.15-.22Z","M73.48,71.16l.38.27c-.05.07-.11.14-.16.21-.43.57-.86,1.13-1.29,1.7-1.4,1.86-2.17,2.92-2.36,3.18l-13.01,18.09-23.98,33.41c-.13.18-.24.36-.36.54-.11.18-.22.36-.33.54-.12.2-.22.41-.35.61-.41.6-.85,1.18-1.26,1.79l-.45-.32c.44-.58.85-1.18,1.29-1.76.14-.19.31-.35.46-.53.14-.16.27-.32.4-.48.14-.17.27-.34.4-.52,1.05-1.45,2.1-2.91,3.15-4.36l33.87-47.12c.18-.26.95-1.33,2.26-3.25.4-.59.8-1.18,1.2-1.77.05-.07.1-.15.15-.22Z","M73.47,71.16l.38.26c-.05.07-.11.14-.16.21-.42.57-.85,1.14-1.27,1.72-1.38,1.88-2.13,2.95-2.31,3.21l-12.76,18.26-23.52,33.73c-.12.18-.24.36-.35.54-.11.18-.22.36-.32.54-.12.2-.22.42-.35.61-.4.61-.84,1.19-1.24,1.8l-.45-.32c.44-.58.83-1.2,1.27-1.78.14-.19.31-.36.46-.54.13-.16.27-.32.4-.49.13-.17.26-.34.39-.52,1.03-1.46,2.06-2.94,3.09-4.4l33.23-47.57c.18-.26.93-1.34,2.22-3.28.39-.59.78-1.19,1.17-1.78.05-.07.1-.15.15-.22Z","M73.47,71.16l.38.26c-.05.07-.1.14-.16.22-.42.58-.83,1.16-1.25,1.73-1.35,1.9-2.09,2.98-2.27,3.25l-12.49,18.46-23.02,34.09c-.12.18-.23.36-.35.55-.11.18-.21.36-.32.55-.11.21-.21.42-.34.62-.39.62-.82,1.21-1.21,1.82l-.46-.31c.43-.59.81-1.21,1.24-1.8.14-.19.3-.36.45-.54.13-.16.26-.33.39-.5.13-.17.26-.35.38-.53,1.01-1.48,2.01-2.97,3.02-4.45l32.53-48.07c.18-.26.91-1.35,2.17-3.31.38-.6.76-1.2,1.15-1.8.05-.07.09-.15.14-.23Z","M73.46,71.16l.39.25c-.05.07-.1.14-.15.22-.4.59-.81,1.17-1.21,1.76-1.31,1.92-2.03,3.02-2.2,3.29l-12.13,18.69-22.34,34.53c-.12.18-.23.37-.33.56-.11.18-.21.37-.3.55-.11.21-.2.42-.32.62-.38.62-.79,1.22-1.17,1.84l-.46-.3c.41-.6.79-1.22,1.21-1.82.13-.19.29-.37.44-.55.13-.17.26-.33.38-.5.13-.18.25-.35.37-.53.98-1.5,1.96-3.01,2.93-4.51l31.57-48.69c.17-.27.88-1.37,2.1-3.35.37-.61.74-1.21,1.11-1.82.05-.08.09-.15.14-.23Z","M73.46,71.16l.39.25c-.05.07-.1.15-.15.22-.39.59-.78,1.18-1.17,1.77-1.27,1.93-1.97,3.04-2.13,3.31l-11.74,18.79-21.63,34.71c-.11.18-.22.37-.32.56-.1.18-.2.37-.29.55-.11.21-.19.42-.31.63-.37.63-.77,1.23-1.14,1.86l-.47-.29c.4-.6.77-1.23,1.17-1.84.13-.19.29-.37.43-.56.13-.17.25-.34.37-.51.12-.18.25-.35.36-.54.95-1.51,1.89-3.02,2.84-4.53l30.56-48.95c.17-.27.86-1.38,2.03-3.37.36-.61.72-1.22,1.07-1.83.04-.08.09-.15.13-.23Z","M73.45,71.17l.4.24c-.05.07-.1.15-.14.22-.38.59-.76,1.18-1.13,1.78-1.23,1.94-1.9,3.06-2.06,3.32l-11.32,18.88-20.86,34.87c-.11.18-.21.37-.31.56-.1.18-.19.37-.28.56-.1.21-.19.43-.3.63-.35.63-.74,1.24-1.09,1.87l-.47-.28c.39-.61.74-1.24,1.13-1.85.13-.2.28-.37.41-.56.12-.17.24-.34.36-.51.12-.18.24-.36.35-.54.92-1.51,1.83-3.04,2.74-4.55l29.47-49.18c.16-.27.83-1.38,1.96-3.39.35-.61.69-1.23,1.03-1.84.04-.08.09-.16.13-.23Z","M73.44,71.17l.4.23c-.05.08-.09.15-.14.23-.37.6-.74,1.19-1.1,1.79-1.19,1.96-1.84,3.08-1.99,3.35l-10.95,19.02-20.17,35.13c-.11.19-.2.38-.3.57-.09.18-.18.37-.27.56-.1.21-.18.43-.29.63-.34.63-.72,1.25-1.06,1.88l-.48-.27c.38-.61.71-1.25,1.09-1.86.12-.2.27-.38.4-.56.12-.17.24-.34.35-.52.12-.18.23-.36.34-.54.89-1.53,1.77-3.06,2.65-4.59l28.5-49.55c.15-.27.8-1.39,1.89-3.41.33-.62.66-1.24,1-1.85.04-.08.08-.16.12-.24Z","M73.44,71.17l.4.23c-.05.08-.09.15-.14.23-.36.6-.72,1.2-1.07,1.8-1.16,1.97-1.79,3.1-1.94,3.37l-10.65,19.12-19.62,35.31c-.1.19-.2.38-.29.57-.09.19-.18.37-.26.56-.09.21-.17.43-.28.63-.33.64-.7,1.25-1.03,1.89l-.48-.27c.37-.62.7-1.26,1.06-1.87.12-.2.26-.38.39-.57.12-.17.23-.34.34-.52.11-.18.22-.36.33-.55.86-1.53,1.72-3.07,2.58-4.61l27.72-49.8c.15-.27.78-1.4,1.84-3.43.32-.62.64-1.24.97-1.86.04-.08.08-.16.12-.24Z","M73.43,71.17l.41.22c-.04.08-.09.15-.13.23-.35.61-.7,1.23-1.05,1.84-1.14,2.01-1.75,3.16-1.9,3.44l-10.4,19.52-19.15,36.04c-.1.19-.19.38-.28.58-.09.19-.17.38-.25.57-.09.21-.16.44-.27.65-.32.65-.68,1.28-1,1.93l-.49-.26c.36-.63.68-1.28,1.04-1.91.12-.2.26-.39.39-.58.11-.18.23-.35.33-.53.11-.18.22-.37.32-.56.84-1.57,1.68-3.14,2.52-4.71l27.06-50.84c.15-.28.76-1.43,1.79-3.5.32-.63.63-1.26.94-1.9.04-.08.08-.16.12-.24Z","M73.43,71.17l.41.21c-.04.08-.09.16-.13.23-.34.64-.69,1.27-1.03,1.91-1.12,2.09-1.72,3.28-1.87,3.56l-10.23,20.2-18.85,37.31c-.1.2-.19.4-.28.6-.09.2-.17.39-.25.59-.09.22-.16.45-.26.67-.31.67-.67,1.32-.98,1.99l-.49-.25c.35-.65.67-1.32,1.02-1.97.11-.21.26-.4.38-.6.11-.18.22-.37.33-.55.11-.19.22-.38.32-.58.83-1.62,1.65-3.25,2.48-4.87l26.63-52.62c.14-.29.75-1.48,1.76-3.62.31-.65.62-1.31.93-1.96.04-.08.07-.16.11-.24Z","M73.42,71.17l.42.2c-.04.08-.08.16-.12.24-.33.64-.67,1.28-1,1.93-1.09,2.11-1.67,3.31-1.81,3.6l-9.91,20.4-18.26,37.67c-.1.2-.18.4-.27.6-.08.2-.16.4-.24.6-.09.22-.15.45-.25.67-.3.68-.65,1.33-.95,2.01l-.49-.24c.34-.66.64-1.33.99-1.99.11-.21.25-.41.37-.61.11-.18.22-.37.32-.56.11-.19.21-.39.31-.58.8-1.64,1.6-3.28,2.4-4.92l25.81-53.13c.14-.29.72-1.49,1.71-3.65.3-.66.6-1.32.89-1.98.04-.08.07-.16.11-.24Z","M73.42,71.18l.42.2c-.04.08-.08.16-.12.24-.32.65-.65,1.3-.97,1.95-1.05,2.13-1.62,3.34-1.76,3.64l-9.6,20.61-17.68,38.06c-.09.2-.18.4-.26.61-.08.2-.16.4-.23.6-.08.22-.15.46-.24.68-.29.68-.63,1.34-.92,2.03l-.5-.23c.33-.66.62-1.35.96-2.01.11-.21.24-.41.36-.62.11-.19.21-.37.31-.56.1-.19.2-.39.3-.59.78-1.66,1.55-3.31,2.32-4.97l24.99-53.69c.14-.29.7-1.51,1.65-3.69.29-.66.58-1.33.86-2,.04-.08.07-.16.1-.25Z","M73.41,71.18l.42.19c-.04.08-.08.16-.12.24-.32.65-.63,1.31-.94,1.96-1.02,2.15-1.57,3.37-1.7,3.66l-9.3,20.76-17.12,38.34c-.09.2-.17.41-.25.61-.08.2-.15.4-.22.61-.08.23-.14.46-.23.68-.28.69-.61,1.35-.89,2.04l-.5-.22c.32-.67.6-1.36.93-2.03.1-.22.24-.42.35-.63.1-.19.21-.38.3-.57.1-.2.2-.39.29-.6.76-1.67,1.5-3.34,2.25-5.01l24.2-54.08c.13-.29.68-1.52,1.6-3.71.28-.67.56-1.34.84-2.01.03-.08.07-.17.1-.25Z","M73.41,71.18l.43.18c-.04.08-.08.16-.11.24-.3.66-.61,1.31-.91,1.97-.98,2.16-1.51,3.39-1.63,3.68l-8.89,20.86-16.38,38.52c-.09.2-.16.41-.24.62-.07.2-.14.4-.21.61-.07.23-.13.46-.22.68-.27.69-.58,1.36-.85,2.05l-.51-.22c.31-.67.58-1.36.89-2.03.1-.22.23-.42.34-.63.1-.19.2-.38.29-.57.1-.2.19-.4.28-.6.72-1.68,1.44-3.35,2.15-5.03l23.15-54.33c.13-.3.65-1.53,1.52-3.73.27-.67.53-1.35.8-2.02.03-.08.06-.17.1-.25Z","M73.4,71.18l.43.17c-.04.08-.07.16-.11.24-.29.66-.58,1.33-.87,1.99-.94,2.17-1.44,3.41-1.56,3.71l-8.49,21.02-15.62,38.8c-.08.2-.16.41-.23.62-.07.2-.13.41-.2.61-.07.23-.12.46-.2.69-.26.69-.56,1.37-.81,2.07l-.51-.21c.3-.68.55-1.37.85-2.05.1-.22.22-.42.33-.64.1-.19.19-.38.28-.58.09-.2.18-.4.27-.6.69-1.69,1.37-3.38,2.05-5.07l22.09-54.74c.12-.3.62-1.54,1.45-3.75.25-.68.5-1.36.76-2.04.03-.08.06-.17.09-.25Z","M73.4,71.18l.43.17c-.03.08-.07.16-.1.25-.28.67-.55,1.33-.82,2-.89,2.18-1.37,3.42-1.48,3.72l-8.03,21.08-14.79,38.92c-.08.21-.15.41-.21.62-.07.2-.13.41-.18.61-.07.23-.11.46-.19.69-.24.7-.53,1.38-.77,2.07l-.51-.2c.28-.68.52-1.38.8-2.06.09-.22.21-.43.32-.64.09-.19.18-.38.27-.58.09-.2.17-.4.25-.61.65-1.69,1.3-3.39,1.95-5.08l20.91-54.9c.11-.3.58-1.54,1.37-3.77.24-.68.48-1.36.71-2.04.03-.08.06-.17.09-.25Z","M73.39,71.19l.44.16c-.03.08-.07.16-.1.25-.26.68-.53,1.35-.79,2.03-.85,2.21-1.3,3.47-1.41,3.78l-7.65,21.38-14.08,39.47c-.07.21-.14.42-.2.63-.06.21-.12.41-.17.62-.06.23-.1.47-.18.69-.23.71-.5,1.39-.73,2.1l-.52-.19c.27-.69.5-1.4.77-2.09.09-.22.2-.43.3-.65.09-.2.18-.39.26-.59.08-.2.17-.41.24-.62.62-1.72,1.24-3.44,1.85-5.16l19.92-55.68c.11-.3.56-1.56,1.3-3.82.23-.69.45-1.38.68-2.07.03-.08.05-.17.08-.25Z","M73.39,71.19l.44.15c-.03.08-.06.17-.09.25-.25.68-.5,1.36-.75,2.05-.81,2.24-1.24,3.51-1.34,3.81l-7.24,21.57-13.32,39.82c-.07.21-.13.42-.19.63-.06.21-.11.42-.16.62-.06.23-.09.47-.16.7-.22.71-.47,1.41-.69,2.12l-.52-.17c.26-.7.47-1.41.73-2.11.08-.23.2-.44.29-.66.08-.2.17-.4.25-.59.08-.21.16-.41.23-.62.59-1.73,1.17-3.47,1.75-5.2l18.84-56.17c.1-.31.53-1.58,1.23-3.85.21-.7.42-1.39.64-2.09.03-.09.05-.17.08-.26Z","M73.38,71.19l.44.14c-.03.08-.06.17-.09.25-.24.68-.47,1.36-.7,2.05-.76,2.24-1.16,3.51-1.26,3.81l-6.77,21.57-12.46,39.82c-.06.21-.12.42-.18.64-.05.21-.1.41-.15.62-.05.23-.08.47-.15.7-.2.71-.44,1.41-.64,2.12l-.52-.16c.24-.7.44-1.41.68-2.11.08-.23.19-.44.28-.66.08-.2.16-.4.23-.6.08-.21.15-.41.22-.62.55-1.73,1.09-3.47,1.64-5.2l17.62-56.18c.1-.31.49-1.58,1.14-3.85.2-.69.39-1.39.59-2.08.02-.09.05-.17.07-.26Z","M73.37,71.2l.44.13c-.03.08-.06.17-.08.25-.22.69-.45,1.37-.66,2.06-.72,2.25-1.09,3.52-1.18,3.83l-6.34,21.64-11.67,39.96c-.06.21-.11.42-.16.64-.05.21-.09.42-.14.62-.05.23-.07.47-.13.7-.19.71-.42,1.41-.6,2.13l-.53-.15c.23-.7.41-1.41.64-2.12.07-.23.18-.44.26-.66.08-.2.15-.4.22-.6.07-.21.14-.41.21-.62.52-1.74,1.03-3.48,1.54-5.22l16.51-56.37c.09-.31.46-1.58,1.07-3.86.19-.7.37-1.39.55-2.09.02-.09.04-.17.07-.26Z","M73.37,71.2l.45.12c-.03.09-.05.17-.08.25-.21.69-.43,1.39-.64,2.08-.69,2.27-1.05,3.56-1.13,3.87l-6.07,21.89-11.15,40.4c-.06.21-.11.43-.16.64-.05.21-.09.42-.13.63-.04.23-.07.47-.13.71-.18.72-.4,1.43-.57,2.15l-.53-.15c.22-.71.39-1.43.61-2.14.07-.23.17-.45.26-.67.07-.2.15-.4.22-.61.07-.21.14-.42.2-.63.5-1.76.98-3.52,1.47-5.28l15.78-57c.09-.31.44-1.6,1.02-3.9.18-.7.35-1.41.52-2.11.02-.09.04-.17.06-.26Z","M73.36,71.2l.45.11c-.02.09-.05.17-.07.26-.2.71-.4,1.42-.6,2.14-.65,2.33-.98,3.66-1.06,3.98l-5.65,22.46-10.39,41.47c-.05.22-.1.44-.14.66-.04.22-.08.43-.12.65-.04.24-.06.49-.11.72-.16.74-.37,1.46-.53,2.2l-.53-.13c.2-.73.37-1.46.57-2.19.07-.23.16-.46.24-.69.07-.21.14-.41.2-.62.07-.21.13-.43.19-.65.46-1.81.91-3.61,1.37-5.42l14.71-58.5c.08-.32.41-1.64.94-4,.16-.72.32-1.44.48-2.17.02-.09.04-.18.06-.26Z","M73.36,71.21l.45.1c-.02.09-.05.17-.07.26-.19.71-.37,1.43-.56,2.15-.6,2.34-.91,3.67-.98,3.99l-5.21,22.54-9.57,41.61c-.05.22-.09.44-.13.66-.04.21-.07.43-.1.65-.04.24-.05.49-.1.73-.15.74-.34,1.47-.49,2.21l-.54-.12c.19-.73.34-1.47.53-2.2.06-.24.16-.46.23-.69.07-.21.13-.42.19-.63.06-.22.12-.43.17-.65.43-1.81.84-3.63,1.26-5.44l13.56-58.71c.07-.32.38-1.65.87-4.02.15-.72.29-1.45.44-2.17.02-.09.03-.18.05-.26Z","M73.35,71.21l.45.1c-.02.09-.04.17-.06.26-.17.71-.34,1.43-.51,2.15-.55,2.34-.83,3.67-.89,3.99l-4.72,22.54-8.67,41.61c-.04.22-.08.44-.12.66-.03.21-.06.43-.09.65-.03.24-.04.48-.08.72-.13.74-.31,1.47-.44,2.21l-.54-.11c.17-.73.3-1.47.48-2.2.06-.24.15-.46.21-.7.06-.21.12-.42.18-.63.06-.22.11-.43.16-.65.39-1.81.76-3.63,1.15-5.44l12.27-58.71c.07-.32.34-1.65.78-4.02.13-.72.26-1.45.39-2.17.02-.09.03-.18.05-.26Z","M73.35,71.21l.45.08c-.02.09-.04.17-.06.26-.15.72-.31,1.44-.46,2.16-.49,2.36-.74,3.69-.8,4.01l-4.19,22.66-7.7,41.83c-.04.22-.07.44-.1.66-.03.22-.05.43-.07.65-.02.24-.03.49-.07.72-.11.74-.28,1.48-.39,2.22l-.54-.1c.16-.73.27-1.48.43-2.21.05-.24.13-.47.2-.7.06-.21.11-.42.16-.63.05-.22.1-.44.14-.66.35-1.82.68-3.64,1.02-5.47l10.91-59.01c.06-.32.3-1.66.68-4.04.12-.73.23-1.45.34-2.18.01-.09.03-.18.04-.26Z","M73.34,71.22l.46.06c-.01.09-.03.18-.04.26-.12.73-.24,1.45-.36,2.18-.39,2.38-.57,3.73-.62,4.05l-3.16,22.86-5.8,42.2c-.03.22-.05.45-.07.67-.02.22-.03.43-.04.65-.01.24,0,.49-.03.73-.08.75-.21,1.49-.29,2.24l-.54-.08c.12-.74.2-1.49.33-2.23.04-.24.11-.47.17-.71.05-.21.09-.43.13-.64.04-.22.08-.44.11-.66.26-1.84.51-3.68.77-5.52l8.23-59.54c.04-.33.23-1.67.5-4.07.08-.73.16-1.46.24-2.2,0-.09.02-.18.03-.27Z","M73.33,71.23l.46.06c-.01.09-.03.18-.04.26-.11.73-.22,1.46-.33,2.19-.35,2.39-.52,3.74-.56,4.06l-2.81,22.91-5.14,42.29c-.03.22-.04.45-.06.67-.02.22-.03.44-.03.65,0,.24,0,.49-.02.73-.07.75-.18,1.49-.25,2.24l-.55-.07c.11-.74.18-1.49.29-2.24.04-.24.11-.48.15-.71.04-.21.09-.43.12-.64.04-.22.07-.44.1-.66.23-1.84.46-3.69.68-5.53l7.3-59.66c.04-.33.2-1.68.44-4.08.07-.73.14-1.47.21-2.2,0-.09.02-.18.02-.27Z","M73.33,71.23l.46.05c-.01.09-.02.18-.04.26-.1.73-.2,1.46-.29,2.18-.31,2.38-.45,3.73-.49,4.05l-2.43,22.86-4.45,42.2c-.02.22-.04.45-.05.67-.01.22-.02.43-.02.65,0,.24,0,.49,0,.73-.06.75-.16,1.49-.22,2.24l-.55-.06c.1-.74.16-1.49.26-2.23.03-.24.1-.47.14-.71.04-.21.08-.43.11-.64.03-.22.07-.44.09-.66.2-1.84.4-3.68.59-5.52l6.32-59.54c.03-.32.17-1.67.37-4.07.06-.73.12-1.46.17-2.2,0-.09.01-.18.02-.27Z","M73.32,71.23l.46.04c-.01.09-.02.18-.03.26-.09.72-.18,1.45-.26,2.17-.28,2.37-.4,3.7-.43,4.03l-2.1,22.7-3.84,41.91c-.02.22-.03.44-.04.66,0,.21-.01.43-.01.65,0,.24.02.48,0,.72-.05.74-.14,1.48-.19,2.22l-.55-.05c.09-.74.13-1.48.22-2.22.03-.24.09-.47.13-.71.04-.21.07-.42.1-.64.03-.22.06-.44.08-.66.18-1.83.34-3.65.51-5.48l5.46-59.13c.03-.32.15-1.66.31-4.04.05-.73.09-1.45.14-2.18,0-.09.01-.18.02-.27Z","M73.32,71.24l.46.03c0,.09-.02.18-.03.27-.07.73-.14,1.45-.21,2.18-.22,2.38-.32,3.72-.34,4.05l-1.59,22.79-2.89,42.07c-.01.22-.02.44-.02.67,0,.21,0,.43,0,.65,0,.24.03.48.02.72-.03.74-.11,1.49-.14,2.23l-.55-.04c.07-.74.1-1.49.17-2.23.02-.24.08-.47.12-.71.03-.21.06-.43.09-.64.03-.22.05-.44.07-.66.14-1.83.26-3.67.39-5.5l4.12-59.37c.02-.32.11-1.67.22-4.05.03-.73.06-1.46.09-2.19,0-.09,0-.18,0-.27Z","M73.32,71.24l.46.03c0,.09-.02.18-.02.27-.06.73-.13,1.46-.19,2.19-.2,2.39-.29,3.74-.31,4.06l-1.41,22.91-2.56,42.28c-.01.22-.02.45-.02.67,0,.22,0,.43,0,.65,0,.24.03.48.02.73-.02.75-.09,1.49-.12,2.24l-.55-.03c.07-.74.09-1.49.16-2.24.02-.24.08-.48.11-.72.03-.21.06-.43.09-.64.02-.22.05-.44.06-.67.12-1.84.23-3.69.35-5.53l3.65-59.66c.02-.33.1-1.68.19-4.07.03-.73.05-1.47.07-2.2,0-.09,0-.18,0-.27Z","M73.31,71.24l.46.02c0,.09-.01.18-.02.27-.06.73-.11,1.46-.17,2.2-.17,2.4-.24,3.75-.25,4.08l-1.11,22.98-2,42.41c0,.22-.01.45-.01.67,0,.22,0,.43.01.65,0,.24.04.48.03.73-.01.75-.07,1.5-.09,2.25l-.55-.03c.06-.75.07-1.5.13-2.25.02-.24.07-.48.1-.72.03-.21.06-.43.08-.65.02-.22.04-.44.05-.67.1-1.85.18-3.7.27-5.55l2.87-59.85c.02-.33.08-1.68.14-4.09.02-.73.03-1.47.05-2.2,0-.09,0-.18,0-.27Z","M73.31,71.24l.46.02c0,.09-.01.18-.02.27-.05.73-.09,1.47-.14,2.2-.14,2.4-.19,3.75-.2,4.08l-.8,22.98-1.43,42.41c0,.22,0,.45,0,.67,0,.22.01.43.02.65.01.24.04.48.04.73,0,.75-.05,1.5-.06,2.25l-.55-.02c.05-.75.05-1.5.1-2.25.02-.24.06-.48.09-.72.03-.22.05-.43.07-.65.02-.22.04-.45.04-.67.07-1.85.13-3.7.2-5.55l2.06-59.85c.01-.33.06-1.68.08-4.08,0-.73.01-1.47.02-2.2,0-.09,0-.18,0-.27Z","M73.3,71.25h.46c0,.09,0,.18-.01.27-.03.74-.06,1.47-.08,2.21-.08,2.41-.09,3.77-.1,4.1l-.22,23.07-.36,42.58c0,.22,0,.45.02.67,0,.22.02.44.04.65.02.24.06.48.06.73.01.75-.02,1.5,0,2.25h-.55c.03-.76.01-1.51.04-2.26,0-.24.05-.48.07-.73.02-.22.04-.43.05-.65.01-.22.02-.45.03-.67.03-1.86.04-3.71.06-5.57l.55-60.08c0-.33.01-1.69-.02-4.1-.01-.74-.03-1.47-.04-2.21,0-.09,0-.18,0-.27Z","M73.3,71.25h.46c0,.09,0,.18,0,.27-.02.74-.04,1.47-.06,2.21-.06,2.41-.06,3.77-.06,4.1v23.07s.02,42.58.02,42.58c0,.22.01.45.02.67.01.22.03.43.05.65.02.24.06.48.07.73.02.75,0,1.5.02,2.26h-.55c.02-.75,0-1.5.02-2.26,0-.24.05-.48.07-.73.02-.22.03-.43.05-.65.01-.22.02-.45.02-.67,0-1.86,0-3.71,0-5.57v-60.08c0-.33,0-1.69-.05-4.1-.02-.74-.04-1.47-.06-2.21,0-.09,0-.18,0-.27Z","M73.3,71.26h.46c0,.08,0,.17,0,.26,0,.74-.02,1.47-.03,2.21-.02,2.41,0,3.77,0,4.1l.33,23.07.66,42.58c0,.22.02.45.03.67.01.22.03.44.06.65.02.24.07.48.08.72.03.75.02,1.5.05,2.26h-.55c.01-.74-.02-1.49-.01-2.25,0-.24.04-.48.06-.73.01-.22.03-.43.04-.65,0-.22.01-.45.01-.67-.02-1.86-.05-3.71-.07-5.57l-.88-60.08c0-.33-.03-1.69-.12-4.1-.03-.74-.06-1.47-.09-2.21,0-.09,0-.18-.01-.27Z","M73.29,71.26l.46-.02c0,.09,0,.18,0,.27,0,.74,0,1.47.02,2.21.03,2.41.07,3.77.08,4.1l.78,23.07,1.48,42.58c0,.22.03.45.04.67.02.22.04.43.07.65.03.24.08.48.09.72.05.75.05,1.5.1,2.25l-.55.02c0-.75-.05-1.5-.06-2.26,0-.24.03-.49.04-.73.01-.22.02-.44.02-.65,0-.22,0-.45,0-.67-.05-1.86-.12-3.71-.18-5.57l-2.05-60.08c-.01-.33-.06-1.69-.2-4.1-.04-.74-.09-1.47-.14-2.21,0-.09-.01-.18-.02-.27Z","M73.29,71.27l.46-.03c0,.09,0,.18,0,.27.02.73.05,1.47.07,2.2.09,2.4.17,3.76.19,4.09l1.39,22.98,2.61,42.41c.01.22.04.45.06.67.02.22.05.43.09.65.03.24.09.48.11.72.07.75.09,1.5.16,2.25l-.55.03c-.02-.75-.09-1.5-.12-2.25,0-.24.02-.48.02-.73,0-.22,0-.43,0-.65,0-.22,0-.45-.02-.67-.1-1.85-.22-3.7-.33-5.55l-3.64-59.85c-.02-.33-.11-1.68-.31-4.08-.06-.73-.13-1.47-.19-2.2,0-.09-.02-.18-.02-.27Z","M73.28,71.27l.46-.04c0,.09,0,.18.01.27.04.74.08,1.48.12,2.21.14,2.42.25,3.77.28,4.1l1.91,23.07,3.56,42.58c.02.22.05.45.08.67.03.22.06.43.1.65.04.24.1.48.13.72.08.75.12,1.5.21,2.25l-.55.05c-.04-.75-.13-1.5-.17-2.26-.01-.24,0-.49,0-.73,0-.22,0-.44,0-.66,0-.22-.02-.45-.03-.67-.15-1.86-.3-3.71-.45-5.57l-4.98-60.08c-.03-.33-.14-1.69-.4-4.09-.08-.73-.16-1.47-.24-2.2,0-.09-.02-.18-.03-.27Z","M73.28,71.28l.46-.05c0,.09.01.18.02.27.06.74.11,1.48.17,2.22.2,2.42.34,3.79.37,4.11l2.43,23.14,4.52,42.69c.02.23.06.45.09.67.03.22.07.43.11.65.05.24.11.48.14.72.1.75.16,1.51.26,2.26l-.55.06c-.06-.76-.16-1.51-.22-2.26-.02-.24,0-.49,0-.74,0-.22-.01-.44-.02-.66-.01-.23-.03-.45-.05-.68-.19-1.86-.39-3.72-.58-5.59l-6.33-60.25c-.04-.33-.18-1.69-.49-4.1-.1-.74-.19-1.47-.29-2.21-.01-.09-.02-.18-.04-.27Z","M73.28,71.28l.46-.05c0,.09.01.18.02.27.06.74.13,1.48.19,2.22.22,2.42.37,3.79.41,4.12l2.64,23.14,4.91,42.69c.03.22.06.45.1.67.04.22.08.43.12.65.05.24.12.48.15.72.11.75.17,1.51.28,2.26l-.55.06c-.06-.75-.17-1.51-.24-2.26-.02-.24,0-.49-.02-.74,0-.22-.02-.44-.03-.66-.01-.23-.03-.45-.06-.68-.2-1.86-.42-3.72-.63-5.59l-6.89-60.25c-.04-.33-.2-1.69-.53-4.1-.1-.74-.21-1.47-.31-2.21-.01-.09-.03-.18-.04-.26Z","M73.28,71.28l.46-.06c0,.09.02.18.02.27.07.74.14,1.48.22,2.22.24,2.42.41,3.78.45,4.11l2.87,23.07,5.34,42.58c.03.22.07.45.11.67.04.22.08.43.13.65.05.24.12.48.16.72.12.75.18,1.5.3,2.25l-.55.07c-.07-.75-.19-1.5-.26-2.26-.02-.24-.01-.49-.02-.73,0-.22-.02-.44-.04-.66-.02-.23-.04-.45-.06-.67-.22-1.86-.46-3.71-.69-5.57l-7.48-60.08c-.04-.33-.21-1.69-.57-4.09-.11-.73-.22-1.47-.33-2.2-.01-.09-.03-.18-.04-.26Z","M73.27,71.29l.46-.06c0,.09.02.18.03.27.08.74.16,1.47.24,2.21.27,2.41.45,3.76.49,4.09l3.08,22.96,5.73,42.36c.03.22.07.44.11.67.04.21.09.43.13.64.05.24.12.47.16.71.12.74.2,1.5.32,2.24l-.55.07c-.08-.75-.2-1.49-.28-2.24-.03-.24-.02-.49-.03-.73-.01-.22-.02-.44-.04-.65-.02-.22-.04-.45-.07-.67-.24-1.85-.49-3.69-.74-5.54l-8.04-59.78c-.04-.33-.23-1.68-.61-4.07-.12-.73-.24-1.46-.36-2.19-.01-.09-.03-.18-.04-.26Z","M73.27,71.29l.46-.07c.01.09.02.18.03.27.09.73.17,1.47.26,2.2.29,2.4.48,3.75.53,4.07l3.29,22.87,6.11,42.21c.03.22.07.44.12.66.04.21.09.43.14.64.05.24.13.47.17.71.13.74.21,1.49.34,2.23l-.54.08c-.09-.75-.22-1.49-.3-2.24-.03-.24-.02-.49-.04-.73-.01-.22-.03-.44-.05-.65-.02-.22-.04-.45-.07-.67-.26-1.84-.52-3.68-.79-5.52l-8.58-59.56c-.05-.32-.24-1.67-.64-4.05-.12-.73-.25-1.45-.37-2.18-.02-.09-.03-.18-.05-.26Z","M73.27,71.29l.46-.07c.01.09.02.18.03.27.09.73.18,1.46.28,2.2.31,2.4.51,3.74.56,4.07l3.5,22.84,6.49,42.14c.04.22.08.44.12.66.04.21.09.43.14.64.06.24.13.47.18.71.14.74.23,1.49.36,2.23l-.54.08c-.09-.75-.23-1.49-.32-2.23-.03-.24-.03-.49-.04-.73-.02-.22-.03-.44-.05-.65-.02-.22-.05-.45-.08-.67-.27-1.84-.56-3.68-.84-5.51l-9.12-59.47c-.05-.32-.26-1.67-.68-4.05-.13-.73-.26-1.45-.39-2.18-.02-.09-.03-.18-.05-.26Z","M73.27,71.29l.46-.08c.01.09.02.18.04.27.1.73.2,1.46.3,2.19.34,2.39.56,3.73.61,4.06l3.75,22.78,6.97,42.04c.04.22.08.44.13.66.05.21.1.43.15.64.06.24.14.47.18.71.14.74.24,1.48.39,2.22l-.54.09c-.1-.75-.25-1.48-.35-2.23-.03-.24-.03-.49-.05-.73-.02-.22-.04-.43-.06-.65-.03-.22-.05-.45-.09-.67-.29-1.83-.6-3.67-.9-5.5l-9.79-59.33c-.05-.32-.28-1.67-.73-4.04-.14-.72-.28-1.45-.42-2.17-.02-.09-.03-.17-.05-.26Z","M73.27,71.3l.46-.08c.01.09.02.18.04.26.11.73.21,1.46.32,2.19.35,2.38.58,3.72.64,4.04l3.92,22.72,7.27,41.92c.04.22.09.44.14.66.05.21.1.42.16.63.06.23.14.46.19.7.15.74.25,1.48.4,2.22l-.54.09c-.11-.74-.26-1.48-.36-2.22-.03-.24-.04-.48-.06-.73-.02-.22-.04-.43-.07-.65-.03-.22-.06-.44-.09-.67-.31-1.83-.63-3.66-.94-5.48l-10.22-59.16c-.06-.32-.29-1.66-.76-4.02-.14-.72-.29-1.44-.44-2.16-.02-.09-.04-.18-.05-.26Z","M73.27,71.3l.46-.08c.01.09.03.18.04.26.11.73.22,1.46.34,2.19.38,2.38.62,3.72.68,4.05l4.14,22.72,7.68,41.92c.04.22.09.44.14.66.05.21.11.42.16.63.06.23.15.46.2.7.16.73.27,1.48.42,2.22l-.54.1c-.11-.74-.27-1.48-.39-2.22-.04-.24-.04-.48-.06-.73-.02-.22-.04-.43-.07-.65-.03-.22-.06-.44-.1-.67-.32-1.83-.66-3.66-.99-5.48l-10.79-59.16c-.06-.32-.31-1.66-.8-4.02-.15-.72-.3-1.44-.46-2.16-.02-.09-.04-.18-.06-.26Z","M73.26,71.3l.45-.09c.02.09.03.18.04.26.13.73.25,1.46.38,2.19.42,2.38.69,3.72.75,4.05l4.56,22.72,8.45,41.92c.05.22.1.44.15.66.05.21.11.42.17.63.07.23.15.46.21.7.17.74.3,1.48.47,2.21l-.54.11c-.13-.74-.3-1.48-.43-2.22-.04-.24-.05-.49-.08-.73-.03-.22-.05-.43-.08-.65-.03-.22-.07-.44-.11-.66-.36-1.83-.73-3.66-1.09-5.49l-11.88-59.16c-.07-.32-.34-1.66-.87-4.02-.16-.72-.33-1.44-.5-2.16-.02-.09-.04-.17-.06-.26Z","M73.26,71.31l.45-.1c.02.09.03.18.05.26.14.73.27,1.46.41,2.19.46,2.39.75,3.73.82,4.05l4.93,22.72,9.14,41.92c.05.22.11.44.16.66.06.21.12.42.18.63.07.23.16.46.22.7.18.74.32,1.48.5,2.21l-.54.12c-.14-.74-.32-1.48-.46-2.22-.05-.24-.06-.49-.09-.73-.03-.22-.06-.44-.09-.65-.04-.22-.08-.45-.12-.67-.39-1.83-.79-3.66-1.18-5.48l-12.85-59.16c-.07-.32-.36-1.66-.94-4.02-.17-.72-.35-1.44-.53-2.16-.02-.09-.04-.17-.07-.26Z","M73.26,71.31l.45-.11c.02.09.04.18.05.26.15.72.3,1.45.46,2.18.5,2.37.82,3.7.89,4.02l5.35,22.57,9.92,41.65c.05.22.11.44.18.65.06.21.13.42.2.63.08.23.17.46.23.7.2.73.35,1.47.54,2.2l-.54.13c-.15-.74-.35-1.47-.5-2.21-.05-.24-.07-.48-.1-.73-.03-.22-.07-.43-.11-.65-.04-.22-.08-.44-.14-.66-.42-1.82-.86-3.63-1.29-5.45l-13.96-58.79c-.08-.32-.4-1.65-1.01-3.99-.19-.72-.38-1.43-.57-2.15-.02-.09-.05-.17-.07-.26Z","M73.25,71.32l.45-.11c.02.09.04.17.06.26.16.72.32,1.45.49,2.17.54,2.36.88,3.69.96,4.01l5.72,22.5,10.6,41.52c.06.22.12.43.19.65.06.21.13.42.21.62.08.23.18.46.25.69.21.73.37,1.47.58,2.19l-.53.14c-.17-.74-.38-1.46-.54-2.2-.05-.24-.07-.48-.12-.72-.04-.22-.07-.43-.12-.65-.04-.22-.09-.44-.15-.66-.45-1.81-.92-3.62-1.37-5.43l-14.91-58.6c-.08-.32-.42-1.65-1.08-3.98-.2-.71-.4-1.43-.61-2.14-.02-.09-.05-.17-.07-.26Z","M73.25,71.32l.45-.12c.02.09.04.17.06.26.18.72.35,1.44.53,2.16.59,2.36.95,3.68,1.03,4l6.13,22.42,11.35,41.38c.06.22.13.43.2.65.07.21.14.41.22.62.08.23.19.45.26.69.22.72.4,1.46.62,2.19l-.53.14c-.18-.74-.4-1.46-.58-2.19-.06-.24-.08-.48-.13-.72-.04-.22-.08-.43-.13-.64-.05-.22-.1-.44-.16-.66-.48-1.81-.98-3.61-1.47-5.41l-15.97-58.4c-.09-.32-.45-1.64-1.15-3.97-.21-.71-.43-1.42-.65-2.13-.03-.09-.05-.17-.08-.26Z","M73.25,71.33l.44-.13c.02.09.04.17.07.26.19.72.38,1.44.57,2.16.63,2.36,1.01,3.68,1.11,4l6.55,22.42,12.13,41.38c.06.22.14.43.21.65.07.21.15.41.23.62.09.23.2.45.27.69.23.72.42,1.46.66,2.18l-.53.15c-.19-.74-.43-1.46-.62-2.19-.06-.24-.09-.48-.14-.72-.04-.22-.09-.43-.14-.65-.05-.22-.11-.44-.17-.66-.52-1.81-1.05-3.61-1.57-5.41l-17.07-58.4c-.09-.32-.48-1.64-1.22-3.97-.23-.71-.46-1.42-.69-2.13-.03-.09-.06-.17-.08-.25Z","M73.25,71.33l.44-.14c.02.09.05.17.07.26.21.72.41,1.44.62,2.16.68,2.35,1.1,3.67,1.2,3.99l7.07,22.35,13.08,41.24c.07.22.15.43.23.64.08.21.16.41.24.62.09.23.21.45.29.68.25.72.46,1.46.71,2.18l-.52.17c-.21-.73-.46-1.45-.67-2.19-.07-.24-.1-.48-.16-.72-.05-.22-.1-.43-.16-.65-.06-.22-.12-.44-.19-.66-.56-1.8-1.13-3.6-1.7-5.4l-18.41-58.21c-.1-.32-.52-1.63-1.31-3.95-.24-.71-.49-1.41-.73-2.12-.03-.08-.06-.17-.09-.25Z","M73.24,71.34l.44-.15c.03.09.05.17.08.26.22.72.44,1.44.66,2.15.73,2.35,1.17,3.66,1.28,3.98l7.52,22.29,13.93,41.12c.07.22.16.43.24.64.08.21.17.41.26.62.1.23.21.45.3.68.27.72.49,1.45.75,2.17l-.52.18c-.22-.73-.49-1.45-.72-2.18-.07-.24-.11-.48-.17-.72-.05-.22-.11-.43-.17-.64-.06-.22-.13-.44-.2-.66-.6-1.8-1.21-3.59-1.81-5.38l-19.61-58.03c-.11-.32-.55-1.63-1.39-3.94-.26-.71-.52-1.41-.78-2.11-.03-.08-.06-.17-.09-.25Z","M73.24,71.34l.44-.15c.03.09.05.17.08.25.22.68.44,1.37.67,2.05.73,2.23,1.18,3.48,1.28,3.78l7.52,21.17,13.93,39.06c.07.2.16.41.24.61.08.2.17.39.26.58.1.22.21.42.3.64.27.69.49,1.39.76,2.07l-.52.18c-.23-.7-.49-1.38-.72-2.08-.07-.23-.11-.46-.17-.69-.05-.21-.11-.41-.17-.61-.06-.21-.13-.42-.2-.62-.6-1.71-1.21-3.41-1.81-5.11l-19.61-55.12c-.11-.3-.55-1.55-1.39-3.74-.26-.67-.52-1.34-.78-2.01-.03-.08-.07-.17-.1-.25Z","M73.24,71.35l.43-.17c.03.08.06.17.09.25.24.68.47,1.35.71,2.03.78,2.21,1.25,3.45,1.36,3.75l7.96,20.98,14.73,38.7c.08.2.16.4.25.6.09.19.18.39.27.58.1.21.22.42.31.64.28.68.52,1.37.8,2.05l-.51.2c-.24-.69-.52-1.37-.76-2.06-.08-.22-.12-.46-.19-.68-.06-.2-.12-.41-.18-.61-.07-.21-.14-.41-.21-.62-.63-1.69-1.28-3.38-1.92-5.07l-20.74-54.63c-.11-.3-.59-1.53-1.47-3.7-.27-.66-.55-1.32-.82-1.99-.03-.08-.07-.16-.1-.25Z","M73.24,71.35l.43-.17c.03.08.06.17.09.25.25.67.5,1.35.75,2.02.82,2.2,1.31,3.44,1.43,3.73l8.37,20.89,15.49,38.53c.08.2.17.4.26.6.09.19.18.38.28.57.11.21.23.42.33.63.29.67.55,1.37.84,2.04l-.51.21c-.25-.69-.55-1.36-.8-2.05-.08-.22-.13-.46-.2-.68-.06-.2-.13-.41-.19-.61-.07-.21-.14-.41-.22-.62-.67-1.68-1.34-3.36-2.01-5.04l-21.82-54.39c-.12-.3-.62-1.53-1.54-3.69-.28-.66-.57-1.32-.86-1.98-.04-.08-.07-.16-.11-.24Z","M73.23,71.36l.43-.18c.03.08.06.17.1.25.26.67.53,1.34.79,2.01.87,2.19,1.39,3.41,1.51,3.71l8.83,20.75,16.33,38.29c.09.2.18.4.28.6.09.19.19.38.29.57.11.21.24.41.34.63.31.67.58,1.36.88,2.02l-.51.22c-.27-.69-.58-1.36-.85-2.04-.09-.22-.14-.45-.22-.68-.07-.2-.13-.4-.21-.6-.08-.21-.15-.41-.24-.61-.7-1.67-1.42-3.34-2.12-5.01l-23.01-54.04c-.13-.29-.65-1.52-1.62-3.66-.3-.66-.6-1.31-.9-1.96-.04-.08-.08-.16-.11-.24Z","M73.23,71.37l.42-.19c.03.08.07.16.1.25.28.66.55,1.33.83,1.99.91,2.17,1.45,3.38,1.59,3.67l9.22,20.51,17.06,37.85c.09.2.19.39.29.59.1.19.2.38.3.56.12.21.25.4.35.62.32.66.6,1.34.92,2l-.5.23c-.28-.68-.61-1.34-.89-2.02-.09-.22-.15-.45-.23-.67-.07-.2-.14-.4-.22-.6-.08-.2-.16-.41-.25-.61-.74-1.65-1.48-3.3-2.22-4.95l-24.04-53.42c-.13-.29-.68-1.5-1.69-3.62-.31-.65-.63-1.29-.94-1.94-.04-.08-.08-.16-.12-.24Z","M73.23,71.37l.42-.2c.04.08.07.16.1.25.28.66.57,1.32.85,1.98.94,2.16,1.5,3.36,1.63,3.65l9.48,20.43,17.54,37.7c.09.2.19.39.3.59.1.19.2.37.31.56.12.21.25.4.36.61.33.66.62,1.34.95,1.99l-.5.23c-.29-.68-.62-1.33-.91-2.01-.09-.22-.16-.45-.24-.67-.07-.2-.15-.4-.23-.6-.08-.2-.17-.41-.26-.6-.76-1.65-1.52-3.29-2.28-4.94l-24.7-53.21c-.14-.29-.7-1.49-1.74-3.6-.32-.64-.64-1.29-.96-1.93-.04-.08-.08-.16-.12-.24Z","M73.23,71.38l.42-.2c.04.08.07.16.11.24.29.66.58,1.31.88,1.97.97,2.14,1.54,3.34,1.68,3.63l9.73,20.28,18,37.41c.1.2.2.39.3.58.1.19.21.37.32.55.12.21.26.4.37.61.34.65.63,1.33.97,1.98l-.49.24c-.3-.67-.64-1.32-.94-1.99-.1-.22-.16-.45-.25-.67-.08-.2-.15-.4-.23-.59-.08-.2-.17-.4-.26-.6-.78-1.63-1.56-3.26-2.34-4.9l-25.35-52.8c-.14-.29-.71-1.48-1.78-3.58-.33-.64-.66-1.28-.99-1.92-.04-.08-.08-.16-.12-.24Z","M73.23,71.38l.41-.21c.04.08.07.16.11.24.3.65.61,1.3.91,1.95,1,2.13,1.6,3.32,1.74,3.6l10.08,20.13,18.65,37.14c.1.19.2.39.31.58.11.18.22.37.33.55.12.2.27.39.38.6.35.65.66,1.32,1.01,1.96l-.49.25c-.31-.67-.66-1.31-.97-1.98-.1-.22-.17-.44-.26-.66-.08-.2-.16-.39-.24-.59-.09-.2-.18-.4-.27-.59-.8-1.62-1.62-3.24-2.43-4.86l-26.27-52.42c-.14-.29-.74-1.47-1.85-3.55-.34-.63-.68-1.27-1.02-1.9-.04-.08-.09-.16-.13-.24Z","M73.22,71.39l.41-.21c.04.08.08.16.12.24.32.65.63,1.3.95,1.94,1.04,2.11,1.65,3.29,1.8,3.58l10.44,19.98,19.3,36.86c.1.19.21.38.32.57.11.18.22.36.34.54.13.2.27.39.39.6.36.64.68,1.31,1.04,1.95l-.49.26c-.32-.66-.68-1.3-1.01-1.97-.1-.21-.18-.44-.27-.66-.08-.2-.17-.39-.26-.58-.09-.2-.18-.4-.28-.59-.83-1.61-1.67-3.22-2.51-4.83l-27.19-52.03c-.15-.28-.77-1.46-1.91-3.52-.35-.63-.7-1.26-1.05-1.89-.04-.08-.09-.15-.13-.23Z","M73.22,71.39l.41-.22c.04.08.08.16.12.24.33.64.65,1.29.98,1.93,1.07,2.1,1.7,3.27,1.86,3.56l10.74,19.86,19.85,36.63c.11.19.22.38.33.57.11.18.23.36.34.54.13.2.28.39.4.59.37.64.7,1.3,1.07,1.94l-.48.26c-.33-.66-.7-1.3-1.04-1.95-.11-.21-.18-.44-.28-.66-.09-.19-.17-.39-.26-.58-.09-.2-.19-.4-.29-.59-.86-1.6-1.72-3.2-2.59-4.8l-27.97-51.72c-.15-.28-.79-1.45-1.96-3.5-.36-.63-.72-1.25-1.08-1.87-.04-.08-.09-.15-.13-.23Z","M73.22,71.4l.4-.23c.04.08.08.16.12.24.34.64.67,1.28,1.01,1.91,1.11,2.08,1.77,3.24,1.92,3.52l11.12,19.67,20.56,36.28c.11.19.23.38.34.56.11.18.23.36.35.53.13.2.29.38.41.59.38.63.72,1.29,1.11,1.92l-.48.27c-.34-.65-.73-1.28-1.07-1.94-.11-.21-.19-.44-.29-.65-.09-.19-.18-.39-.27-.58-.1-.2-.2-.39-.31-.58-.89-1.59-1.78-3.17-2.68-4.75l-28.97-51.21c-.16-.28-.82-1.44-2.03-3.46-.37-.62-.74-1.24-1.12-1.85-.05-.08-.09-.15-.14-.23Z","M73.22,71.4l.4-.24c.04.08.08.16.13.24.35.63.7,1.27,1.05,1.9,1.15,2.07,1.82,3.22,1.99,3.5l11.47,19.51,21.2,36c.11.19.23.37.35.56.12.18.24.35.36.53.14.19.29.38.42.58.39.62.75,1.28,1.14,1.9l-.47.28c-.36-.65-.75-1.27-1.11-1.92-.12-.21-.2-.43-.3-.65-.09-.19-.19-.39-.28-.57-.1-.19-.21-.39-.32-.58-.92-1.57-1.84-3.14-2.76-4.71l-29.87-50.82c-.16-.28-.84-1.43-2.09-3.44-.38-.61-.77-1.23-1.15-1.84-.05-.08-.1-.15-.14-.23Z","M73.22,71.41l.39-.24c.04.08.09.15.13.23.36.63.72,1.25,1.09,1.88,1.2,2.04,1.89,3.18,2.06,3.45l11.9,19.28,21.99,35.56c.12.19.24.37.37.55.12.18.25.35.38.52.14.19.3.37.43.57.41.62.78,1.26,1.18,1.88l-.47.29c-.37-.64-.78-1.26-1.15-1.9-.12-.21-.21-.43-.32-.64-.1-.19-.19-.38-.3-.57-.11-.19-.21-.39-.33-.57-.95-1.56-1.91-3.11-2.87-4.66l-30.99-50.2c-.17-.27-.87-1.41-2.17-3.39-.39-.61-.79-1.21-1.19-1.81-.05-.07-.1-.15-.15-.22Z","M73.22,71.41l.39-.25c.05.08.09.15.14.23.37.62.75,1.23,1.12,1.85,1.23,2.01,1.95,3.13,2.13,3.4l12.24,18.96,22.63,34.97c.12.18.25.36.38.54.12.17.25.34.38.51.14.19.31.36.44.56.42.61.8,1.24,1.22,1.85l-.46.3c-.38-.63-.8-1.24-1.18-1.87-.12-.2-.22-.42-.33-.63-.1-.19-.2-.38-.31-.56-.11-.19-.22-.38-.34-.56-.98-1.53-1.97-3.05-2.95-4.58l-31.9-49.37c-.17-.27-.9-1.39-2.23-3.33-.41-.6-.82-1.19-1.22-1.78-.05-.07-.1-.15-.15-.22Z","M73.22,71.42l.38-.26c.05.08.1.15.14.23.39.61.78,1.22,1.17,1.83,1.29,1.99,2.04,3.1,2.22,3.37l12.76,18.77,23.58,34.62c.12.18.26.36.39.53.13.17.26.34.4.51.15.19.32.36.46.55.43.6.83,1.23,1.27,1.83l-.45.31c-.4-.62-.84-1.22-1.23-1.85-.13-.2-.23-.42-.35-.63-.11-.19-.21-.37-.32-.56-.11-.19-.23-.38-.35-.56-1.02-1.51-2.05-3.02-3.07-4.53l-33.24-48.87c-.18-.27-.94-1.37-2.32-3.3-.42-.59-.85-1.18-1.27-1.76-.05-.07-.11-.14-.16-.22Z","M73.21,71.43l.37-.27c.05.07.1.15.15.22.41.6.82,1.2,1.23,1.79,1.35,1.95,2.13,3.03,2.32,3.29l13.35,18.35,24.67,33.84c.13.18.27.35.41.52.13.17.27.33.41.49.16.18.33.35.47.54.45.58.87,1.2,1.32,1.78l-.44.32c-.42-.61-.87-1.2-1.29-1.81-.14-.2-.24-.41-.37-.62-.11-.18-.22-.37-.34-.55-.12-.18-.24-.37-.37-.55-1.07-1.48-2.14-2.96-3.22-4.43l-34.77-47.78c-.19-.26-.98-1.34-2.42-3.22-.44-.57-.88-1.15-1.33-1.72-.05-.07-.11-.14-.16-.21Z","M73.21,71.44l.37-.28c.05.07.1.14.16.22.43.59.85,1.18,1.28,1.76,1.41,1.92,2.22,2.98,2.42,3.24l13.89,18.03,25.68,33.24c.14.17.28.34.42.51.14.16.28.32.43.48.16.18.34.34.49.53.47.57.91,1.18,1.38,1.75l-.43.34c-.44-.6-.91-1.18-1.35-1.78-.14-.19-.25-.41-.38-.61-.12-.18-.23-.36-.36-.54-.13-.18-.25-.36-.39-.54-1.11-1.46-2.23-2.9-3.35-4.36l-36.19-46.94c-.2-.26-1.02-1.32-2.52-3.16-.46-.56-.92-1.13-1.38-1.69-.06-.07-.11-.14-.17-.21Z","M73.21,71.47l.34-.31c.06.07.11.14.17.2.47.55.94,1.1,1.41,1.64,1.54,1.78,2.43,2.77,2.64,3.01l15.13,16.73,27.96,30.84c.15.16.3.32.46.47.15.15.31.3.46.44.17.16.36.31.53.48.51.53.99,1.1,1.5,1.63l-.41.37c-.48-.56-.99-1.09-1.47-1.65-.15-.18-.28-.38-.43-.57-.13-.17-.26-.34-.39-.5-.14-.17-.28-.34-.43-.5-1.21-1.35-2.43-2.7-3.65-4.04l-39.42-43.55c-.22-.24-1.11-1.22-2.73-2.93-.5-.52-1-1.04-1.49-1.56-.06-.06-.12-.13-.19-.19Z","M73.21,71.47l.34-.32c.06.07.12.13.18.2.48.54.95,1.08,1.43,1.61,1.57,1.75,2.48,2.73,2.69,2.96l15.4,16.43,28.46,30.3c.15.16.31.31.46.46.15.15.31.29.47.43.18.16.37.3.53.47.52.52,1,1.07,1.52,1.6l-.4.38c-.49-.55-1.01-1.07-1.5-1.62-.16-.18-.29-.38-.44-.56-.13-.17-.27-.33-.4-.5-.14-.17-.28-.33-.43-.49-1.23-1.33-2.47-2.65-3.71-3.97l-40.13-42.78c-.22-.23-1.13-1.2-2.78-2.88-.5-.51-1.01-1.02-1.52-1.53-.06-.06-.13-.12-.19-.19Z","M73.21,71.48l.33-.32c.06.06.12.13.18.2.49.53.97,1.06,1.46,1.58,1.6,1.72,2.53,2.67,2.75,2.9l15.72,16.1,29.04,29.68c.15.16.31.31.47.45.16.14.32.28.48.42.18.16.37.29.54.46.53.51,1.03,1.05,1.56,1.56l-.39.38c-.5-.54-1.03-1.05-1.53-1.59-.16-.18-.3-.37-.45-.55-.13-.16-.27-.33-.41-.49-.14-.16-.29-.33-.44-.48-1.26-1.3-2.52-2.59-3.79-3.89l-40.94-41.91c-.22-.23-1.15-1.18-2.84-2.82-.51-.5-1.03-1-1.55-1.5-.06-.06-.13-.12-.19-.18Z","M73.21,71.48l.33-.33c.06.06.12.13.18.19.5.52,1,1.05,1.5,1.57,1.64,1.7,2.58,2.64,2.81,2.87l16.06,15.92,29.68,29.35c.16.15.32.3.48.45.16.14.32.28.49.42.18.15.38.29.55.45.54.5,1.05,1.04,1.59,1.54l-.39.39c-.51-.53-1.05-1.04-1.56-1.57-.16-.17-.3-.37-.46-.55-.14-.16-.28-.32-.42-.48-.15-.16-.3-.32-.45-.48-1.29-1.29-2.58-2.56-3.87-3.85l-41.84-41.44c-.23-.22-1.18-1.16-2.9-2.78-.53-.5-1.05-.99-1.58-1.48-.06-.06-.13-.12-.2-.18Z","M73.21,71.49l.32-.33c.06.06.12.13.19.19.51.52,1.02,1.04,1.53,1.55,1.68,1.69,2.64,2.61,2.88,2.84l16.43,15.74,30.35,29.03c.16.15.33.3.49.44.16.14.33.28.5.41.19.15.38.29.56.45.55.5,1.07,1.03,1.62,1.53l-.38.4c-.52-.53-1.07-1.03-1.59-1.56-.17-.17-.31-.36-.47-.54-.14-.16-.29-.32-.43-.48-.15-.16-.3-.32-.46-.47-1.32-1.27-2.64-2.54-3.96-3.81l-42.79-40.99c-.23-.22-1.2-1.15-2.96-2.75-.54-.49-1.08-.98-1.62-1.46-.07-.06-.13-.12-.2-.18Z","M73.21,71.49l.31-.34c.06.06.13.12.19.19.52.51,1.04,1.02,1.56,1.53,1.7,1.66,2.69,2.58,2.92,2.8l16.68,15.5,30.82,28.59c.16.15.33.29.5.44.17.14.33.27.5.4.19.15.39.28.57.44.56.49,1.09,1.01,1.65,1.5l-.37.4c-.53-.52-1.09-1.01-1.62-1.53-.17-.17-.32-.36-.48-.54-.14-.16-.29-.32-.44-.47-.15-.16-.31-.32-.47-.47-1.34-1.25-2.68-2.5-4.02-3.75l-43.45-40.37c-.24-.22-1.22-1.13-3-2.71-.54-.48-1.09-.96-1.64-1.44-.07-.06-.13-.12-.2-.18Z","M73.21,71.5l.31-.35c.06.06.13.12.19.19.53.5,1.06,1,1.59,1.5,1.74,1.64,2.74,2.54,2.98,2.75l16.99,15.25,31.39,28.12c.17.15.34.29.51.43.17.14.34.27.51.4.19.14.4.27.58.43.57.48,1.11,1,1.68,1.48l-.37.41c-.54-.51-1.11-.99-1.65-1.51-.17-.17-.32-.35-.49-.53-.15-.16-.3-.31-.45-.46-.16-.16-.32-.31-.48-.46-1.36-1.23-2.73-2.46-4.1-3.69l-44.26-39.71c-.24-.22-1.25-1.11-3.06-2.66-.55-.47-1.11-.94-1.67-1.41-.07-.06-.14-.11-.2-.17Z","M73.21,71.5l.3-.35c.07.06.13.12.2.18.54.5,1.07.99,1.61,1.48,1.77,1.61,2.78,2.5,3.03,2.71l17.26,15.03,31.88,27.71c.17.14.34.28.52.42.17.13.34.26.52.39.19.14.4.27.59.42.58.47,1.12.98,1.7,1.46l-.36.41c-.55-.51-1.13-.98-1.68-1.48-.18-.16-.33-.35-.5-.52-.15-.15-.3-.31-.46-.46-.16-.16-.32-.31-.49-.45-1.38-1.22-2.77-2.42-4.16-3.63l-44.95-39.14c-.25-.21-1.26-1.1-3.11-2.62-.56-.47-1.13-.93-1.69-1.39-.07-.06-.14-.11-.21-.17Z","M73.21,71.51l.3-.35c.07.06.13.12.2.18.55.49,1.09.97,1.64,1.45,1.8,1.58,2.83,2.45,3.08,2.66l17.53,14.71,32.38,27.11c.17.14.35.28.52.41.17.13.35.26.52.38.2.14.41.26.59.41.59.46,1.14.96,1.73,1.42l-.35.42c-.56-.49-1.15-.96-1.7-1.45-.18-.16-.34-.34-.51-.51-.15-.15-.31-.3-.47-.45-.16-.15-.33-.3-.5-.44-1.4-1.19-2.82-2.37-4.23-3.55l-45.67-38.29c-.25-.21-1.28-1.07-3.15-2.57-.57-.46-1.15-.91-1.72-1.36-.07-.06-.14-.11-.21-.17Z","M73.21,71.52l.29-.36c.07.06.13.12.2.17.56.47,1.11.95,1.67,1.42,1.83,1.54,2.88,2.39,3.13,2.6l17.83,14.35,32.93,26.46c.17.14.35.27.53.4.18.13.35.25.53.37.2.14.41.25.6.4.6.45,1.16.94,1.76,1.39l-.34.43c-.57-.48-1.16-.93-1.73-1.42-.18-.16-.34-.34-.52-.5-.16-.15-.31-.3-.48-.44-.17-.15-.33-.29-.51-.43-1.43-1.16-2.87-2.31-4.3-3.47l-46.44-37.37c-.25-.2-1.31-1.05-3.21-2.5-.58-.44-1.16-.89-1.75-1.33-.07-.05-.14-.11-.21-.16Z","M73.21,71.52l.28-.36c.07.06.14.11.21.17.56.47,1.13.93,1.69,1.4,1.85,1.52,2.91,2.35,3.17,2.55l18.03,14.11,33.3,26c.18.14.36.27.54.39.18.12.36.24.54.36.2.13.41.25.61.39.6.44,1.18.92,1.78,1.36l-.34.43c-.57-.48-1.18-.92-1.75-1.39-.18-.15-.35-.33-.53-.5-.16-.15-.32-.29-.48-.43-.17-.15-.34-.29-.51-.43-1.44-1.14-2.9-2.27-4.35-3.41l-46.96-36.73c-.26-.2-1.32-1.03-3.24-2.46-.59-.44-1.18-.87-1.76-1.3-.07-.05-.14-.11-.22-.16Z","M73.22,71.53l.28-.37c.07.05.14.11.21.16.57.45,1.14.9,1.7,1.34,1.86,1.45,2.93,2.25,3.19,2.45l18.17,13.5,33.56,24.88c.18.13.36.25.54.38.18.12.36.23.54.34.2.12.42.23.61.37.61.42,1.18.88,1.79,1.31l-.33.44c-.58-.46-1.19-.88-1.77-1.34-.19-.15-.35-.32-.53-.48-.16-.14-.32-.28-.49-.42-.17-.14-.34-.28-.52-.41-1.46-1.09-2.92-2.18-4.38-3.26l-47.33-35.14c-.26-.19-1.33-.99-3.26-2.35-.59-.42-1.18-.83-1.78-1.24-.07-.05-.15-.1-.22-.15Z","M73.22,71.54l.26-.38c.07.05.14.11.21.16.58.43,1.16.86,1.74,1.28,1.91,1.39,3,2.15,3.26,2.34l18.55,12.88,34.26,23.74c.18.12.37.24.55.36.18.11.37.22.55.33.21.12.42.22.62.35.62.4,1.21.84,1.83,1.24l-.31.45c-.59-.44-1.21-.84-1.81-1.28-.19-.14-.36-.31-.55-.46-.16-.13-.33-.27-.5-.4-.17-.13-.35-.27-.53-.39-1.49-1.04-2.98-2.08-4.47-3.11l-48.31-33.54c-.26-.18-1.36-.94-3.33-2.24-.6-.4-1.21-.79-1.81-1.18-.07-.05-.15-.1-.22-.15Z","M73.22,71.54l.26-.39c.07.05.14.1.22.16.59.42,1.18.84,1.77,1.25,1.93,1.36,3.04,2.1,3.31,2.28l18.8,12.55,34.71,23.13c.18.12.37.24.56.35.18.11.37.21.56.32.21.11.43.21.63.34.62.39,1.23.82,1.85,1.21l-.31.46c-.6-.43-1.23-.82-1.83-1.24-.19-.14-.37-.3-.55-.45-.17-.13-.33-.26-.51-.39-.18-.13-.35-.26-.54-.38-1.51-1.02-3.02-2.02-4.53-3.03l-48.96-32.68c-.27-.18-1.38-.91-3.37-2.18-.61-.39-1.22-.77-1.83-1.15-.08-.05-.15-.09-.23-.14Z","M73.22,71.55l.25-.39c.07.05.15.1.22.15.6.4,1.2.81,1.8,1.21,1.96,1.32,3.09,2.03,3.36,2.21l19.09,12.14,35.25,22.37c.19.12.38.23.57.33.19.11.38.21.56.3.21.11.43.2.64.33.63.38,1.24.79,1.88,1.17l-.29.47c-.61-.42-1.25-.79-1.86-1.21-.2-.13-.37-.29-.56-.44-.17-.13-.34-.26-.52-.38-.18-.13-.36-.25-.54-.37-1.53-.98-3.07-1.96-4.6-2.94l-49.71-31.61c-.27-.17-1.4-.89-3.42-2.1-.62-.37-1.24-.74-1.86-1.11-.08-.05-.15-.09-.23-.14Z","M73.22,71.56l.24-.4c.07.05.15.1.22.15.61.39,1.21.79,1.82,1.18,1.99,1.28,3.13,1.97,3.41,2.14l19.35,11.76,35.74,21.66c.19.11.38.22.58.32.19.1.38.2.57.29.21.11.44.19.64.31.64.37,1.26.77,1.91,1.14l-.28.47c-.62-.4-1.27-.76-1.89-1.17-.2-.13-.38-.29-.57-.43-.17-.12-.35-.25-.52-.37-.18-.12-.37-.24-.55-.36-1.55-.95-3.11-1.9-4.67-2.84l-50.4-30.61c-.28-.17-1.42-.86-3.47-2.04-.63-.36-1.26-.72-1.88-1.07-.08-.04-.16-.09-.23-.13Z","M73.22,71.57l.23-.4c.08.05.15.09.23.14.61.38,1.23.75,1.84,1.13,2.01,1.22,3.16,1.89,3.44,2.05l19.53,11.25,36.07,20.72c.19.11.38.21.58.31.19.1.38.19.57.28.22.1.44.18.65.29.65.35,1.28.74,1.92,1.09l-.27.48c-.63-.39-1.28-.73-1.91-1.12-.2-.12-.39-.28-.58-.41-.18-.12-.35-.24-.53-.36-.18-.12-.37-.24-.56-.35-1.57-.91-3.14-1.81-4.71-2.72l-50.87-29.28c-.28-.16-1.43-.82-3.5-1.95-.63-.34-1.27-.68-1.9-1.03-.08-.04-.16-.08-.24-.12Z","M73.23,71.57l.22-.41c.08.05.15.09.23.14.62.37,1.24.74,1.87,1.1,2.04,1.19,3.21,1.84,3.49,2l19.8,10.95,36.56,20.17c.19.1.39.2.59.3.19.09.39.18.58.27.22.1.44.18.66.28.66.34,1.29.72,1.95,1.06l-.27.48c-.63-.38-1.29-.71-1.93-1.09-.2-.12-.39-.27-.59-.4-.18-.12-.36-.24-.54-.35-.19-.12-.37-.23-.57-.34-1.59-.89-3.18-1.77-4.78-2.65l-51.57-28.5c-.28-.16-1.45-.8-3.55-1.89-.64-.33-1.28-.66-1.93-1-.08-.04-.16-.08-.24-.12Z","M73.23,71.57l.22-.41c.08.04.15.09.23.13.63.36,1.26.72,1.88,1.08,2.06,1.17,3.24,1.8,3.52,1.96l19.97,10.73,36.87,19.76c.19.1.39.2.59.29.19.09.39.18.59.26.22.09.45.17.66.28.66.33,1.3.7,1.96,1.03l-.26.48c-.64-.37-1.3-.7-1.95-1.07-.21-.12-.4-.27-.6-.4-.18-.12-.36-.23-.54-.34-.19-.11-.38-.23-.57-.33-1.6-.87-3.21-1.73-4.82-2.59l-52.01-27.93c-.28-.15-1.46-.78-3.58-1.85-.65-.33-1.29-.65-1.94-.97-.08-.04-.16-.08-.24-.12Z","M73.23,71.58l.21-.41c.08.04.16.09.23.13.63.35,1.26.7,1.89,1.05,2.07,1.14,3.25,1.75,3.54,1.9l20.07,10.39,37.06,19.15c.19.1.39.19.59.28.19.09.39.17.59.25.22.09.45.16.66.27.67.32,1.31.68,1.98,1l-.25.49c-.65-.36-1.31-.68-1.96-1.03-.21-.12-.4-.26-.6-.39-.18-.11-.36-.23-.55-.33-.19-.11-.38-.22-.57-.32-1.61-.84-3.23-1.68-4.84-2.51l-52.27-27.06c-.29-.15-1.47-.76-3.59-1.79-.65-.32-1.3-.63-1.95-.94-.08-.04-.16-.08-.24-.11Z","M73.23,71.58l.21-.41c.08.04.16.09.23.13.64.34,1.27.68,1.91,1.02,2.08,1.11,3.27,1.7,3.56,1.85l20.18,10.11,37.27,18.62c.2.1.4.19.6.28.19.08.39.16.59.24.22.09.45.16.67.26.67.31,1.32.66,1.99.97l-.25.49c-.65-.35-1.32-.66-1.97-1.01-.21-.11-.4-.25-.61-.38-.18-.11-.37-.22-.55-.33-.19-.11-.38-.21-.58-.31-1.62-.82-3.24-1.63-4.87-2.45l-52.57-26.31c-.29-.14-1.48-.74-3.61-1.74-.65-.31-1.31-.61-1.96-.91-.08-.04-.16-.07-.24-.11Z","M73.23,71.59l.2-.42c.08.04.16.08.24.12.64.33,1.28.66,1.93.99,2.11,1.07,3.31,1.65,3.6,1.79l20.4,9.79,37.67,18.03c.2.09.4.18.6.27.2.08.4.16.6.24.22.08.45.15.67.25.68.3,1.33.64,2.01.94l-.24.5c-.66-.34-1.33-.64-1.99-.98-.21-.11-.41-.25-.61-.37-.18-.11-.37-.22-.56-.32-.19-.11-.39-.21-.58-.3-1.64-.79-3.28-1.58-4.92-2.37l-53.14-25.48c-.29-.14-1.49-.71-3.65-1.68-.66-.3-1.32-.59-1.98-.88-.08-.04-.16-.07-.24-.11Z","M73.23,71.59l.19-.42c.08.04.16.08.24.12.65.32,1.29.64,1.94.95,2.12,1.03,3.33,1.59,3.62,1.72l20.51,9.41,37.87,17.32c.2.09.4.17.61.25.2.08.4.15.6.22.22.08.45.14.67.24.68.29,1.34.62,2.02.9l-.23.5c-.66-.33-1.34-.61-2-.94-.21-.11-.41-.24-.62-.36-.18-.11-.37-.21-.56-.31-.19-.1-.39-.2-.59-.29-1.65-.76-3.3-1.52-4.95-2.28l-53.42-24.48c-.29-.13-1.5-.69-3.67-1.62-.66-.28-1.33-.56-1.99-.85-.08-.03-.16-.07-.25-.1Z","M73.24,71.6l.19-.42c.08.04.16.08.24.11.65.31,1.31.62,1.96.92,2.14,1,3.36,1.54,3.66,1.67l20.71,9.09,38.25,16.74c.2.09.41.17.61.24.2.08.4.15.6.22.22.08.46.13.68.22.68.28,1.35.6,2.04.87l-.22.5c-.67-.32-1.35-.59-2.02-.91-.21-.1-.41-.23-.62-.35-.19-.1-.38-.2-.57-.3-.2-.1-.39-.19-.59-.28-1.66-.74-3.33-1.47-5-2.2l-53.95-23.66c-.29-.13-1.52-.66-3.7-1.56-.67-.27-1.34-.54-2.01-.81-.08-.03-.17-.07-.25-.1Z","M73.24,71.6l.18-.43c.08.04.16.07.24.11.65.3,1.31.6,1.96.89,2.14.97,3.36,1.48,3.66,1.61l20.71,8.75,38.25,16.11c.2.08.41.16.61.23.2.07.4.14.6.21.22.07.46.13.68.21.68.26,1.35.57,2.04.84l-.21.51c-.67-.31-1.35-.57-2.02-.87-.22-.1-.42-.23-.62-.34-.19-.1-.38-.2-.57-.29-.2-.09-.39-.19-.6-.27-1.66-.71-3.33-1.41-5-2.12l-53.95-22.77c-.29-.12-1.52-.64-3.7-1.5-.67-.26-1.34-.52-2.01-.78-.08-.03-.17-.06-.25-.1Z","M73.24,71.61l.17-.43c.08.03.16.07.24.11.66.29,1.32.58,1.98.86,2.16.93,3.39,1.43,3.69,1.55l20.88,8.41,38.56,15.49c.2.08.41.15.62.22.2.07.4.13.61.19.23.07.46.12.68.2.69.26,1.36.55,2.06.81l-.21.51c-.67-.29-1.37-.55-2.04-.84-.22-.09-.42-.22-.63-.33-.19-.1-.38-.19-.57-.28-.2-.09-.4-.18-.6-.26-1.68-.69-3.36-1.36-5.04-2.04l-54.39-21.89c-.3-.12-1.53-.61-3.73-1.44-.67-.25-1.35-.5-2.02-.75-.08-.03-.17-.06-.25-.09Z","M73.24,71.61l.17-.43c.08.04.16.07.25.1.67.28,1.33.56,2,.84,2.18.9,3.42,1.39,3.72,1.5l21.08,8.16,38.92,15.02c.21.08.41.15.62.22.2.07.41.13.61.19.23.07.46.12.69.19.7.25,1.38.54,2.07.78l-.2.51c-.68-.29-1.38-.53-2.06-.82-.22-.09-.43-.21-.64-.32-.19-.09-.38-.19-.58-.27-.2-.09-.4-.18-.61-.26-1.69-.66-3.39-1.32-5.08-1.98l-54.91-21.23c-.3-.11-1.54-.59-3.77-1.39-.68-.24-1.36-.48-2.04-.73-.08-.03-.17-.06-.25-.09Z","M73.24,71.62l.16-.44c.08.03.16.07.25.1.67.27,1.34.54,2.01.81,2.2.87,3.45,1.34,3.75,1.45l21.24,7.86,39.21,14.46c.21.07.42.14.63.21.2.06.41.12.62.18.23.06.46.11.69.18.7.23,1.39.51,2.09.75l-.19.52c-.69-.28-1.39-.51-2.07-.79-.22-.09-.43-.21-.65-.31-.19-.09-.39-.18-.58-.26-.2-.09-.41-.17-.61-.25-1.71-.64-3.42-1.27-5.12-1.9l-55.31-20.45c-.3-.11-1.55-.57-3.79-1.34-.68-.23-1.37-.46-2.05-.7-.08-.03-.17-.06-.25-.08Z","M73.25,71.62l.15-.44c.08.03.17.06.25.1.68.26,1.35.52,2.03.77,2.22.83,3.48,1.27,3.78,1.38l21.4,7.47,39.51,13.74c.21.07.42.14.63.2.21.06.41.11.62.17.23.06.47.1.69.17.71.22,1.4.49,2.1.71l-.18.52c-.69-.26-1.4-.49-2.09-.75-.22-.09-.43-.2-.65-.3-.2-.09-.39-.17-.59-.25-.2-.08-.41-.16-.62-.24-1.72-.61-3.44-1.21-5.16-1.81l-55.73-19.43c-.3-.11-1.57-.54-3.82-1.27-.69-.22-1.38-.44-2.07-.66-.08-.03-.17-.05-.25-.08Z","M73.25,71.63l.14-.44c.08.03.17.06.25.09.68.24,1.36.49,2.04.72,2.23.78,3.5,1.2,3.8,1.29l21.5,6.98,39.69,12.84c.21.07.42.13.63.18.21.05.41.1.62.15.23.06.47.09.7.16.71.21,1.4.46,2.11.66l-.17.52c-.69-.25-1.4-.45-2.1-.7-.22-.08-.44-.19-.66-.28-.2-.08-.39-.16-.59-.24-.21-.08-.41-.15-.62-.22-1.73-.57-3.46-1.13-5.19-1.69l-55.99-18.16c-.31-.1-1.57-.51-3.84-1.18-.69-.21-1.38-.41-2.08-.61-.09-.02-.17-.05-.26-.07Z","M73.25,71.63l.13-.44c.08.03.17.06.25.09.68.23,1.37.46,2.05.68,2.24.73,3.51,1.12,3.82,1.21l21.6,6.5,39.88,11.96c.21.06.42.12.64.17.21.05.42.1.62.14.23.05.47.08.7.14.71.19,1.41.43,2.12.62l-.16.53c-.7-.23-1.41-.42-2.11-.65-.23-.08-.44-.18-.66-.27-.2-.08-.4-.16-.6-.23-.21-.07-.41-.15-.62-.21-1.73-.53-3.47-1.05-5.21-1.58l-56.26-16.92c-.31-.09-1.58-.47-3.85-1.1-.69-.19-1.39-.38-2.09-.56-.09-.02-.17-.05-.26-.07Z","M73.25,71.64l.13-.45c.08.03.17.06.25.08.68.22,1.37.43,2.05.65,2.24.7,3.51,1.06,3.82,1.15l21.6,6.16,39.88,11.33c.21.06.42.11.64.16.21.05.41.09.62.13.23.05.47.07.7.13.71.18,1.41.4,2.12.59l-.15.53c-.7-.22-1.41-.4-2.11-.62-.23-.07-.44-.18-.66-.26-.2-.07-.4-.15-.6-.22-.21-.07-.41-.14-.62-.2-1.74-.5-3.47-1-5.21-1.49l-56.26-16.04c-.31-.09-1.58-.45-3.85-1.04-.69-.18-1.39-.35-2.09-.53-.09-.02-.17-.04-.26-.06Z","M73.26,71.64l.12-.45c.09.02.17.05.26.08.69.2,1.38.41,2.06.61,2.25.66,3.53,1,3.84,1.09l21.71,5.8,40.08,10.66c.21.06.42.1.64.15.21.04.42.08.62.12.23.04.47.06.7.12.71.17,1.42.38,2.13.55l-.14.53c-.7-.21-1.42-.38-2.12-.59-.23-.07-.44-.17-.67-.25-.2-.07-.4-.14-.6-.21-.21-.07-.42-.13-.63-.19-1.74-.47-3.49-.94-5.24-1.41l-56.55-15.09c-.31-.08-1.59-.42-3.87-.97-.7-.17-1.4-.33-2.09-.5-.09-.02-.17-.04-.26-.06Z","M73.26,71.65l.11-.45c.09.02.17.05.26.07.69.19,1.38.39,2.08.58,2.27.62,3.55.95,3.86,1.02l21.82,5.45,40.29,10.02c.21.05.43.1.64.14.21.04.42.07.63.11.23.04.47.06.7.11.72.16,1.43.36,2.14.51l-.13.53c-.71-.2-1.43-.35-2.13-.55-.23-.06-.45-.16-.67-.24-.2-.07-.4-.14-.61-.2-.21-.06-.42-.13-.63-.18-1.75-.45-3.51-.88-5.27-1.32l-56.84-14.19c-.31-.08-1.6-.39-3.89-.91-.7-.16-1.4-.31-2.1-.46-.09-.02-.17-.04-.26-.06Z","M73.26,71.65l.1-.45c.09.02.17.05.26.07.7.18,1.39.36,2.09.54,2.28.58,3.58.88,3.89.95l21.99,5.05,40.59,9.28c.21.05.43.09.64.13.21.04.42.07.63.1.23.03.47.05.71.09.72.14,1.44.33,2.16.48l-.12.54c-.71-.19-1.44-.33-2.15-.51-.23-.06-.45-.15-.68-.22-.2-.07-.41-.13-.61-.19-.21-.06-.42-.12-.63-.17-1.77-.41-3.54-.82-5.3-1.22l-57.26-13.14c-.31-.07-1.61-.37-3.92-.84-.71-.14-1.41-.28-2.12-.42-.09-.02-.17-.03-.26-.05Z","M73.27,71.66l.1-.45c.09.02.17.04.26.06.7.17,1.39.35,2.09.51,2.28.55,3.58.84,3.89.9l21.99,4.77,40.59,8.75c.21.05.43.08.64.12.21.03.42.06.63.09.23.03.47.04.71.08.72.13,1.44.31,2.16.45l-.12.54c-.71-.18-1.44-.31-2.15-.49-.23-.06-.45-.15-.68-.22-.2-.06-.41-.12-.61-.18-.21-.06-.42-.11-.64-.16-1.77-.39-3.54-.77-5.3-1.16l-57.26-12.4c-.31-.07-1.61-.34-3.92-.79-.71-.14-1.41-.26-2.12-.4-.09-.02-.17-.03-.26-.05Z","M73.27,71.66l.09-.45c.09.02.17.04.26.06.7.16,1.4.32,2.1.47,2.3.5,3.6.76,3.91.82l22.08,4.3,40.76,7.9c.22.04.43.07.65.1.21.03.42.05.63.08.24.03.47.03.71.07.73.12,1.44.28,2.17.4l-.1.54c-.72-.16-1.44-.28-2.16-.44-.23-.05-.45-.14-.68-.2-.2-.06-.41-.11-.62-.17-.21-.05-.42-.1-.64-.15-1.77-.35-3.55-.7-5.33-1.04l-57.5-11.19c-.31-.06-1.62-.31-3.93-.7-.71-.12-1.42-.24-2.13-.35-.09-.02-.18-.03-.26-.04Z","M73.27,71.66l.08-.46c.09.02.17.04.26.06.7.15,1.4.3,2.1.45,2.3.49,3.6.73,3.91.79l22.08,4.12,40.76,7.57c.22.04.43.07.65.1.21.03.42.05.63.07.24.02.47.03.71.06.73.11,1.44.27,2.17.39l-.1.54c-.72-.16-1.44-.27-2.16-.42-.23-.05-.45-.13-.68-.2-.21-.06-.41-.11-.62-.16-.21-.05-.43-.1-.64-.14-1.77-.34-3.55-.67-5.33-1l-57.5-10.73c-.31-.06-1.62-.3-3.93-.67-.71-.11-1.42-.22-2.13-.33-.09-.01-.18-.03-.26-.04Z","M73.27,71.67l.08-.46c.09.02.17.04.26.06.7.14,1.41.29,2.11.43,2.31.46,3.62.69,3.93.75l22.18,3.89,40.95,7.15c.22.04.43.06.65.09.21.03.42.05.63.06.24.02.47.02.71.06.73.11,1.45.26,2.18.36l-.09.54c-.72-.15-1.45-.25-2.17-.4-.23-.05-.46-.13-.69-.19-.21-.05-.41-.11-.62-.15-.21-.05-.43-.1-.64-.13-1.78-.32-3.57-.63-5.35-.95l-57.78-10.13c-.32-.05-1.62-.28-3.95-.63-.71-.11-1.42-.21-2.13-.31-.09-.01-.18-.03-.26-.04Z","M73.27,71.67l.08-.46c.09.02.17.04.26.05.7.14,1.41.28,2.11.41,2.31.44,3.62.66,3.93.71l22.18,3.68,40.95,6.75c.22.03.43.06.65.09.21.02.42.04.63.06.24.02.47.02.71.05.73.1,1.45.24,2.18.34l-.09.54c-.72-.14-1.45-.24-2.17-.38-.23-.05-.46-.12-.69-.18-.2-.05-.41-.1-.62-.15-.21-.05-.43-.09-.64-.13-1.78-.3-3.57-.6-5.35-.89l-57.78-9.57c-.32-.05-1.62-.26-3.95-.59-.71-.1-1.42-.2-2.13-.29-.09-.01-.18-.02-.26-.04Z","M73.28,71.67l.07-.46c.09.02.17.03.26.05.71.13,1.41.26,2.12.39,2.31.42,3.62.62,3.93.67l22.18,3.47,40.95,6.36c.22.03.43.06.65.08.21.02.42.04.63.05.24.02.47.01.71.04.73.09,1.45.23,2.18.32l-.08.54c-.72-.14-1.45-.22-2.17-.36-.23-.04-.46-.12-.69-.18-.21-.05-.41-.1-.62-.14-.21-.04-.43-.09-.64-.12-1.78-.29-3.57-.56-5.35-.84l-57.78-9.01c-.32-.05-1.62-.25-3.95-.56-.71-.09-1.42-.18-2.13-.27-.09-.01-.18-.02-.26-.03Z","M73.28,71.68l.07-.46c.09.02.17.03.26.05.71.12,1.41.24,2.12.36,2.31.39,3.62.57,3.93.62l22.18,3.17,40.95,5.8c.22.03.43.05.65.07.21.02.42.03.63.04.24.01.47,0,.71.03.73.08,1.45.21,2.18.29l-.08.55c-.72-.12-1.45-.2-2.17-.33-.23-.04-.46-.11-.69-.17-.21-.05-.41-.09-.62-.13-.21-.04-.43-.08-.64-.11-1.78-.26-3.57-.51-5.35-.77l-57.78-8.23c-.32-.04-1.62-.23-3.95-.5-.71-.08-1.42-.16-2.13-.24-.09-.01-.18-.02-.26-.03Z","M73.28,71.68l.06-.46c.09.01.18.03.26.04.71.11,1.41.22,2.12.33,2.31.35,3.62.52,3.93.56l22.19,2.82,40.95,5.16c.22.03.43.04.65.06.21.02.42.03.63.04.23,0,.47,0,.71.02.73.07,1.45.19,2.18.26l-.07.55c-.72-.11-1.45-.18-2.17-.3-.23-.04-.46-.11-.69-.15-.21-.04-.41-.09-.62-.12-.21-.04-.43-.08-.64-.1-1.78-.24-3.57-.46-5.35-.69l-57.78-7.32c-.32-.04-1.62-.2-3.95-.44-.71-.07-1.42-.14-2.13-.21-.09,0-.18-.02-.27-.02Z","M73.28,71.68l.05-.46c.09.01.18.03.26.04.71.1,1.42.2,2.13.3,2.32.32,3.64.47,3.95.51l22.3,2.54,41.17,4.64c.22.02.43.04.65.05.21.01.42.02.63.03.24,0,.47,0,.71.01.73.06,1.46.17,2.19.23l-.06.55c-.73-.1-1.46-.16-2.18-.27-.23-.03-.46-.1-.69-.15-.21-.04-.42-.08-.62-.12-.22-.04-.43-.07-.65-.1-1.79-.21-3.59-.41-5.38-.62l-58.08-6.59c-.32-.04-1.63-.18-3.97-.39-.71-.06-1.43-.12-2.14-.18-.09,0-.18-.01-.27-.02Z","M73.29,71.68l.05-.46c.09.01.18.02.26.04.71.09,1.42.19,2.13.27,2.32.29,3.64.42,3.96.46l22.3,2.25,41.17,4.11c.22.02.43.03.65.04.21.01.42.01.63.02.24,0,.47-.01.71,0,.73.05,1.46.15,2.19.2l-.05.55c-.73-.1-1.46-.14-2.18-.24-.23-.03-.46-.09-.7-.14-.21-.04-.42-.08-.63-.11-.22-.03-.43-.06-.65-.09-1.79-.19-3.59-.37-5.38-.55l-58.09-5.84c-.32-.03-1.63-.16-3.97-.34-.71-.05-1.43-.1-2.14-.16-.09,0-.18-.01-.27-.02Z","M73.29,71.69l.04-.46c.09,0,.18.02.26.03.71.08,1.42.16,2.13.24,2.33.26,3.64.37,3.96.4l22.3,1.92,41.17,3.5c.22.02.43.03.65.03.21,0,.42,0,.63,0,.24,0,.47-.02.71,0,.73.04,1.46.13,2.19.17l-.05.55c-.73-.08-1.46-.12-2.18-.21-.23-.03-.46-.09-.7-.13-.21-.04-.42-.07-.63-.1-.22-.03-.43-.06-.65-.08-1.79-.16-3.59-.31-5.38-.47l-58.08-4.98c-.32-.03-1.63-.14-3.97-.28-.71-.04-1.43-.08-2.14-.12-.09,0-.18,0-.27-.01Z","M73.29,71.69l.03-.46c.09,0,.18.02.26.03.71.07,1.42.15,2.13.21,2.33.23,3.64.33,3.96.35l22.3,1.64,41.17,2.98c.22.02.43.02.65.03.21,0,.42,0,.63,0,.23,0,.47-.03.71-.02.73.03,1.46.11,2.19.14l-.04.55c-.73-.07-1.46-.1-2.19-.18-.23-.02-.46-.08-.7-.12-.21-.03-.42-.06-.63-.09-.22-.03-.43-.05-.65-.07-1.79-.14-3.59-.27-5.38-.4l-58.09-4.25c-.32-.02-1.63-.12-3.97-.23-.71-.04-1.43-.06-2.14-.1-.09,0-.18,0-.27-.01Z","M73.3,71.7l.03-.46c.09,0,.18.02.27.02.71.06,1.42.12,2.13.18,2.33.19,3.64.26,3.96.28l22.3,1.27,41.17,2.31c.22.01.43.01.65.02.21,0,.42,0,.63,0,.24,0,.47-.03.71-.03.73.02,1.46.09,2.19.11l-.03.55c-.73-.06-1.46-.08-2.19-.14-.23-.02-.47-.07-.7-.11-.21-.03-.42-.06-.63-.08-.22-.02-.43-.04-.65-.06-1.79-.11-3.59-.21-5.38-.31l-58.08-3.3c-.32-.02-1.63-.09-3.97-.16-.71-.02-1.43-.04-2.14-.06-.09,0-.18,0-.27,0Z","M73.3,71.7l.02-.46c.09,0,.18.01.27.02.71.05,1.42.1,2.13.15,2.33.16,3.64.21,3.96.23l22.3.96,41.17,1.74c.22,0,.43,0,.65,0,.21,0,.42-.01.63-.02.23,0,.47-.04.7-.04.73.01,1.46.06,2.19.08l-.02.55c-.73-.05-1.46-.06-2.19-.11-.23-.02-.47-.07-.7-.1-.21-.03-.42-.05-.63-.07-.22-.02-.43-.04-.65-.05-1.79-.09-3.59-.16-5.38-.24l-58.09-2.5c-.32-.01-1.63-.07-3.96-.11-.71-.01-1.43-.02-2.14-.03-.09,0-.18,0-.27,0Z","M73.3,71.7v-.46c.1,0,.19.01.28.01.71.04,1.42.07,2.13.11,2.33.11,3.64.14,3.96.14l22.3.49,41.17.86c.22,0,.43,0,.65,0,.21,0,.42-.02.63-.03.23-.02.47-.05.7-.05.73,0,1.46.03,2.19.03v.55c-.74-.04-1.47-.03-2.2-.07-.23-.01-.47-.06-.7-.08-.21-.02-.42-.04-.63-.06-.22-.02-.43-.03-.65-.04-1.79-.05-3.59-.08-5.38-.12l-58.09-1.25c-.32,0-1.63-.03-3.96-.02-.71,0-1.42,0-2.14.01-.09,0-.18,0-.27,0Z","M73.31,71.71v-.46c.09,0,.18,0,.27,0,.71.02,1.42.04,2.14.06,2.33.06,3.64.06,3.96.06h22.3s41.17-.02,41.17-.02c.22,0,.43-.01.65-.02.21-.01.42-.03.63-.05.23-.02.47-.06.7-.07.73-.02,1.46,0,2.19-.02v.55c-.73-.02-1.46,0-2.19-.02-.23,0-.47-.05-.7-.07-.21-.02-.42-.03-.63-.05-.22-.01-.43-.02-.65-.02-1.79,0-3.59,0-5.38,0h-58.09c-.32,0-1.63,0-3.96.05-.71.02-1.42.04-2.14.06-.09,0-.18,0-.27,0Z","M73.31,71.71v-.46c.08,0,.17,0,.26,0,.71.01,1.42.03,2.14.04,2.33.03,3.65.02,3.96.02l22.3-.24,41.16-.48c.22,0,.43-.01.65-.03.21-.01.42-.03.63-.05.23-.02.47-.07.7-.08.73-.03,1.46-.01,2.19-.04v.55c-.72-.01-1.45.02-2.18,0-.23,0-.47-.04-.7-.06-.21-.02-.42-.03-.63-.04-.22,0-.43-.01-.65-.01-1.79.01-3.59.03-5.38.05l-58.09.63c-.32,0-1.63.02-3.96.1-.71.02-1.42.06-2.14.08-.09,0-.18,0-.27.01Z","M73.32,71.71v-.46c.08,0,.16,0,.25,0,.71,0,1.43,0,2.14,0,2.33,0,3.65-.04,3.96-.05l22.3-.61,41.16-1.17c.22,0,.43-.02.65-.04.21-.02.42-.04.63-.06.23-.03.47-.07.7-.09.73-.04,1.46-.04,2.19-.08l.02.55c-.73,0-1.46.04-2.19.04-.23,0-.47-.03-.7-.05-.21-.01-.42-.02-.63-.03-.22,0-.43,0-.65,0-1.79.04-3.59.09-5.38.14l-58.09,1.61c-.32.01-1.63.05-3.96.17-.71.04-1.42.08-2.13.12-.09,0-.18.01-.27.02Z","M73.32,71.72l-.02-.46c.09,0,.18,0,.27,0,.71-.01,1.42-.02,2.13-.04,2.32-.05,3.63-.1,3.95-.12l22.2-.99,40.98-1.86c.22-.01.43-.03.65-.05.21-.02.42-.05.62-.07.23-.03.46-.08.7-.1.73-.05,1.45-.06,2.18-.12l.02.55c-.73.01-1.45.07-2.18.08-.23,0-.47-.03-.7-.04-.21,0-.42-.02-.63-.02-.22,0-.43,0-.65,0-1.79.07-3.57.15-5.36.23l-57.83,2.58c-.32.01-1.62.08-3.94.24-.71.05-1.42.1-2.12.16-.09,0-.18.01-.27.02Z","M73.32,71.72l-.03-.46c.09,0,.18,0,.27,0,.71-.02,1.42-.05,2.13-.07,2.32-.09,3.63-.17,3.95-.19l22.2-1.39,40.98-2.6c.22-.02.43-.04.65-.06.21-.02.42-.05.62-.09.23-.03.46-.09.69-.11.73-.07,1.45-.09,2.18-.16l.03.55c-.73.02-1.45.09-2.18.12-.23,0-.47-.02-.7-.02-.21,0-.42,0-.63,0-.22,0-.43,0-.65.02-1.79.1-3.57.22-5.36.33l-57.83,3.62c-.32.02-1.62.1-3.94.31-.71.06-1.42.13-2.12.19-.09,0-.18.02-.26.02Z","M73.33,71.73l-.04-.46c.09,0,.18,0,.27-.01.71-.04,1.42-.07,2.13-.11,2.32-.13,3.63-.24,3.95-.26l22.2-1.8,40.98-3.36c.22-.02.43-.04.64-.07.21-.03.42-.06.62-.1.23-.04.46-.1.69-.12.72-.08,1.45-.12,2.18-.2l.04.55c-.73.04-1.45.12-2.18.16-.23.01-.47-.01-.7-.01-.21,0-.42,0-.63,0-.22,0-.43.01-.65.03-1.79.14-3.57.28-5.36.43l-57.83,4.69c-.32.03-1.62.13-3.94.38-.71.07-1.41.15-2.12.23-.09.01-.18.02-.26.03Z","M73.33,71.73l-.04-.46c.09,0,.18-.01.27-.02.71-.05,1.42-.09,2.12-.14,2.31-.16,3.62-.29,3.93-.32l22.1-2.11,40.79-3.93c.22-.02.43-.05.64-.08.21-.03.41-.07.62-.1.23-.04.46-.1.69-.13.72-.09,1.45-.14,2.17-.23l.05.55c-.72.05-1.45.14-2.17.19-.23.02-.47,0-.7,0-.21,0-.42,0-.63.01-.21.01-.43.02-.65.04-1.78.16-3.56.33-5.33.5l-57.57,5.5c-.31.03-1.62.16-3.92.44-.7.08-1.41.17-2.11.26-.09.01-.18.02-.26.03Z","M73.34,71.73l-.05-.46c.09,0,.18-.01.27-.02.7-.06,1.41-.11,2.11-.17,2.31-.19,3.6-.33,3.92-.37l22.01-2.39,40.62-4.45c.21-.02.43-.06.64-.09.21-.03.41-.07.62-.11.23-.05.45-.11.69-.14.72-.1,1.44-.15,2.16-.25l.06.55c-.72.06-1.44.16-2.16.22-.23.02-.47,0-.7,0-.21,0-.42.01-.63.02-.22.01-.43.03-.64.05-1.77.18-3.54.38-5.31.57l-57.32,6.24c-.31.03-1.61.18-3.9.49-.7.09-1.4.19-2.1.29-.09.01-.18.03-.26.04Z","M73.34,71.73l-.06-.46c.09,0,.18-.02.27-.02.72-.07,1.45-.14,2.17-.22,2.37-.25,3.7-.42,4.02-.46l22.59-2.9,41.69-5.4c.22-.03.44-.07.65-.11.21-.04.42-.08.63-.13.23-.05.47-.12.7-.16.73-.12,1.48-.19,2.21-.3l.07.55c-.74.07-1.47.19-2.21.27-.24.02-.48.01-.72.02-.22.01-.43.02-.64.04-.22.02-.44.04-.66.06-1.82.22-3.64.46-5.45.69l-58.83,7.57c-.32.04-1.65.21-4,.58-.72.11-1.44.23-2.16.34-.09.01-.18.03-.26.04Z","M73.35,71.74l-.07-.46c.09-.01.18-.02.27-.03.72-.09,1.45-.17,2.17-.26,2.37-.3,3.7-.49,4.02-.54l22.59-3.36,41.69-6.25c.22-.03.44-.08.66-.12.21-.04.42-.09.63-.14.23-.06.46-.13.7-.17.73-.13,1.48-.22,2.21-.35l.08.54c-.74.09-1.47.22-2.21.31-.24.03-.48.02-.72.04-.22.01-.43.03-.65.05-.22.02-.44.04-.66.08-1.82.26-3.64.54-5.45.81l-58.83,8.77c-.32.05-1.65.25-4,.66-.72.12-1.44.25-2.15.38-.09.02-.18.03-.26.05Z","M73.35,71.74l-.08-.46c.09-.01.18-.03.26-.04.72-.11,1.44-.22,2.16-.33,2.36-.36,3.68-.6,4-.66l22.48-4.01,41.49-7.45c.22-.04.44-.09.65-.14.21-.05.42-.1.63-.16.23-.06.46-.14.69-.19.73-.15,1.47-.26,2.2-.41l.1.54c-.74.11-1.47.26-2.2.37-.24.04-.48.04-.72.06-.22.02-.43.04-.64.07-.22.03-.44.06-.66.1-1.81.31-3.62.64-5.43.96l-58.55,10.46c-.32.06-1.64.3-3.98.77-.71.15-1.43.3-2.14.44-.09.02-.17.04-.26.06Z","M73.36,71.75l-.09-.45c.09-.02.18-.03.26-.04.72-.12,1.44-.25,2.15-.37,2.35-.42,3.67-.68,3.99-.74l22.37-4.51,41.29-8.36c.22-.05.43-.1.65-.15.21-.05.42-.11.62-.17.23-.07.46-.15.69-.21.73-.17,1.46-.29,2.18-.46l.11.54c-.73.13-1.46.3-2.19.42-.24.04-.48.05-.72.08-.21.02-.43.05-.64.08-.22.03-.44.07-.66.11-1.8.36-3.6.72-5.4,1.08l-58.27,11.75c-.32.07-1.64.33-3.96.86-.71.16-1.42.33-2.13.49-.09.02-.17.04-.26.06Z","M73.36,71.75l-.1-.45c.09-.02.18-.03.26-.05.72-.13,1.44-.26,2.16-.4,2.35-.44,3.67-.72,3.99-.79l22.37-4.76,41.28-8.83c.22-.05.43-.1.65-.16.21-.06.42-.12.62-.18.23-.07.46-.16.69-.22.73-.18,1.46-.31,2.18-.49l.12.54c-.73.14-1.46.31-2.19.45-.24.04-.48.05-.72.08-.21.03-.43.06-.64.09-.22.04-.44.07-.66.12-1.8.38-3.6.76-5.4,1.14l-58.27,12.41c-.32.07-1.64.35-3.96.91-.71.17-1.42.34-2.13.51-.09.02-.17.04-.26.06Z","M73.37,71.75l-.1-.45c.09-.02.18-.03.26-.05.72-.14,1.44-.28,2.16-.43,2.35-.47,3.67-.77,3.99-.84l22.37-5.05,41.28-9.37c.22-.05.43-.11.65-.17.21-.06.42-.12.62-.19.23-.07.45-.17.69-.23.72-.19,1.46-.33,2.18-.51l.12.54c-.73.14-1.46.33-2.19.48-.24.05-.48.06-.72.09-.21.03-.43.06-.64.1-.22.04-.44.08-.66.13-1.8.4-3.6.81-5.4,1.21l-58.27,13.17c-.32.07-1.64.37-3.96.96-.71.18-1.42.36-2.13.54-.09.02-.17.05-.26.07Z","M73.37,71.75l-.11-.45c.09-.02.17-.04.26-.05.72-.15,1.43-.31,2.15-.46,2.34-.51,3.65-.83,3.97-.9l22.27-5.41,41.09-10.03c.22-.05.43-.11.64-.18.21-.06.41-.13.62-.2.23-.08.45-.17.68-.24.72-.2,1.45-.35,2.17-.55l.13.53c-.73.16-1.45.36-2.18.51-.24.05-.48.07-.72.11-.21.03-.43.07-.64.11-.22.04-.44.09-.65.14-1.79.43-3.58.87-5.38,1.3l-57.99,14.11c-.32.08-1.63.4-3.94,1.02-.71.19-1.41.38-2.12.58-.09.02-.17.05-.26.07Z","M73.38,71.76l-.12-.45c.09-.02.17-.04.26-.06.71-.17,1.42-.34,2.13-.51,2.32-.56,3.63-.9,3.94-.99l22.1-5.87,40.77-10.88c.22-.06.43-.12.64-.19.21-.07.41-.14.61-.21.23-.08.45-.18.68-.25.71-.21,1.44-.38,2.16-.59l.14.53c-.73.17-1.44.39-2.17.56-.23.05-.48.08-.71.12-.21.04-.42.08-.64.12-.22.05-.43.09-.65.15-1.78.46-3.56.94-5.33,1.41l-57.54,15.31c-.31.08-1.62.43-3.91,1.1-.7.2-1.4.41-2.1.62-.09.03-.17.05-.26.08Z","M73.38,71.76l-.13-.45c.09-.02.17-.04.26-.06.71-.18,1.41-.36,2.12-.54,2.31-.6,3.61-.96,3.92-1.05l21.97-6.23,40.54-11.53c.21-.06.42-.13.63-.2.2-.07.41-.15.61-.22.23-.09.44-.19.67-.26.71-.22,1.43-.41,2.14-.63l.15.53c-.72.18-1.43.41-2.15.59-.23.06-.47.09-.71.13-.21.04-.42.08-.63.13-.22.05-.43.1-.65.16-1.77.49-3.54,1-5.31,1.5l-57.22,16.23c-.31.09-1.61.46-3.89,1.16-.7.22-1.39.44-2.09.65-.09.03-.17.05-.25.08Z","M73.39,71.76l-.14-.44c.09-.02.17-.05.26-.07.7-.2,1.39-.4,2.09-.6,2.28-.66,3.55-1.06,3.86-1.16l21.64-6.83,39.92-12.65c.21-.07.42-.14.62-.22.2-.07.4-.15.6-.24.22-.09.43-.2.66-.28.7-.24,1.41-.44,2.11-.69l.17.52c-.71.2-1.41.45-2.12.65-.23.06-.47.1-.7.15-.21.05-.42.1-.62.15-.21.06-.43.11-.64.18-1.74.54-3.48,1.09-5.22,1.64l-56.35,17.81c-.31.1-1.58.5-3.82,1.27-.69.24-1.37.47-2.05.71-.08.03-.17.06-.25.09Z","M73.39,71.77l-.15-.44c.09-.03.17-.05.26-.08.69-.21,1.38-.41,2.08-.62,2.26-.69,3.53-1.1,3.83-1.2l21.49-7.1,39.64-13.14c.21-.07.41-.15.62-.23.2-.08.4-.16.59-.24.22-.09.43-.21.66-.29.69-.25,1.4-.46,2.1-.72l.17.52c-.71.21-1.4.47-2.11.68-.23.07-.47.1-.7.16-.21.05-.42.1-.62.16-.21.06-.42.12-.63.19-1.73.56-3.46,1.14-5.19,1.71l-55.95,18.5c-.31.1-1.57.52-3.8,1.32-.68.24-1.36.49-2.04.74-.08.03-.17.06-.25.09Z","M73.4,71.77l-.15-.44c.08-.03.17-.05.25-.08.68-.22,1.36-.43,2.04-.65,2.23-.72,3.47-1.15,3.77-1.26l21.13-7.38,38.98-13.66c.21-.07.41-.15.61-.24.19-.08.39-.16.58-.25.22-.1.42-.21.64-.3.68-.26,1.38-.48,2.07-.74l.18.52c-.7.22-1.38.49-2.08.71-.22.07-.46.11-.69.17-.2.05-.41.11-.61.17-.21.06-.42.12-.62.2-1.7.59-3.4,1.18-5.1,1.77l-55.02,19.23c-.3.11-1.54.54-3.73,1.37-.67.25-1.34.51-2,.76-.08.03-.17.06-.25.1Z","M73.42,71.78l-.19-.42c.08-.03.16-.06.25-.1.64-.26,1.28-.52,1.92-.78,2.09-.85,3.26-1.36,3.54-1.49l19.8-8.67,36.52-16.05c.19-.09.38-.18.57-.27.18-.09.36-.19.54-.29.2-.11.39-.24.6-.34.64-.3,1.3-.57,1.94-.87l.22.5c-.66.26-1.3.57-1.96.84-.21.09-.43.14-.65.21-.19.06-.39.13-.58.2-.2.07-.39.15-.58.23-1.6.69-3.19,1.39-4.78,2.09l-51.55,22.6c-.28.12-1.45.64-3.49,1.6-.62.29-1.25.59-1.87.89-.08.04-.16.08-.24.11Z","M73.43,71.78l-.2-.42c.08-.04.16-.07.24-.1.64-.27,1.27-.54,1.91-.82,2.07-.9,3.23-1.44,3.51-1.56l19.64-9.1,36.22-16.83c.19-.09.38-.19.56-.29.18-.1.36-.2.53-.3.2-.11.39-.24.59-.35.63-.32,1.29-.6,1.93-.91l.23.5c-.65.28-1.29.6-1.94.88-.21.09-.43.15-.65.23-.19.07-.38.14-.57.22-.2.08-.39.16-.58.25-1.58.72-3.16,1.46-4.74,2.19l-51.13,23.71c-.28.13-1.43.67-3.46,1.67-.62.31-1.24.62-1.85.93-.08.04-.16.08-.24.12Z","M73.43,71.78l-.2-.42c.08-.04.16-.07.24-.11.63-.28,1.26-.56,1.89-.84,2.06-.93,3.21-1.48,3.49-1.61l19.51-9.37,35.99-17.33c.19-.09.38-.19.56-.29.18-.1.36-.2.53-.31.2-.12.38-.25.58-.36.63-.33,1.28-.61,1.91-.94l.24.49c-.65.29-1.28.62-1.93.91-.21.09-.43.15-.64.23-.19.07-.38.15-.57.22-.19.08-.39.16-.58.25-1.57.75-3.14,1.5-4.71,2.25l-50.81,24.41c-.28.13-1.43.69-3.44,1.72-.62.31-1.23.63-1.84.95-.08.04-.16.08-.23.12Z","M73.44,71.78l-.21-.42c.08-.04.16-.07.24-.11.62-.29,1.24-.57,1.86-.86,2.03-.95,3.16-1.51,3.44-1.64l19.19-9.53,35.41-17.62c.19-.09.37-.19.55-.3.18-.1.35-.2.52-.31.19-.12.38-.25.57-.36.62-.33,1.26-.62,1.88-.96l.25.49c-.64.29-1.26.63-1.9.92-.21.09-.42.16-.63.24-.19.07-.38.15-.56.23-.19.08-.38.17-.57.26-1.55.76-3.09,1.53-4.64,2.29l-49.98,24.82c-.27.14-1.4.7-3.38,1.75-.6.32-1.21.64-1.81.97-.08.04-.16.08-.23.13Z","M73.44,71.79l-.21-.41c.08-.04.16-.07.24-.11.62-.3,1.24-.59,1.86-.89,2.02-.98,3.15-1.56,3.42-1.7l19.1-9.88,35.23-18.27c.18-.1.37-.2.55-.31.17-.1.35-.21.52-.32.19-.12.37-.26.57-.37.62-.34,1.26-.65,1.87-.99l.25.49c-.64.3-1.25.65-1.89.96-.2.1-.42.17-.63.25-.19.08-.38.16-.56.24-.19.09-.38.17-.57.27-1.54.79-3.07,1.58-4.61,2.38l-49.73,25.74c-.27.14-1.4.73-3.36,1.81-.6.33-1.2.67-1.8,1-.08.04-.15.09-.23.13Z","M73.45,71.79l-.22-.41c.08-.04.16-.08.24-.12.61-.31,1.22-.61,1.83-.93,1.99-1.02,3.1-1.62,3.36-1.76l18.77-10.2,34.63-18.86c.18-.1.36-.21.54-.32.17-.11.34-.22.51-.33.19-.12.36-.27.56-.38.61-.35,1.24-.67,1.84-1.02l.26.48c-.63.32-1.23.67-1.86.99-.2.1-.42.17-.62.26-.18.08-.37.16-.55.25-.19.09-.37.18-.56.28-1.51.81-3.02,1.64-4.53,2.46l-48.88,26.57c-.27.15-1.37.75-3.31,1.87-.59.34-1.18.69-1.77,1.03-.08.04-.15.09-.23.13Z","M73.45,71.79l-.23-.4c.08-.04.16-.08.23-.12.6-.31,1.2-.62,1.8-.94,1.96-1.04,3.05-1.64,3.31-1.79l18.49-10.37,34.11-19.17c.18-.1.35-.21.53-.32.17-.11.33-.22.5-.33.18-.13.36-.27.55-.39.6-.36,1.22-.68,1.82-1.04l.27.48c-.62.32-1.22.69-1.83,1.01-.2.1-.41.18-.62.27-.18.08-.37.17-.54.25-.18.09-.37.18-.55.28-1.49.83-2.98,1.66-4.47,2.5l-48.16,27.01c-.26.15-1.35.76-3.25,1.9-.58.35-1.16.7-1.74,1.05-.08.04-.15.09-.23.14Z","M73.46,71.79l-.23-.4c.08-.04.16-.08.23-.12.61-.33,1.22-.66,1.83-.99,1.99-1.08,3.1-1.72,3.36-1.87l18.77-10.83,34.63-20.03c.18-.11.36-.22.54-.34.17-.11.34-.23.51-.35.19-.13.36-.28.56-.4.6-.37,1.23-.71,1.84-1.08l.28.48c-.63.34-1.23.71-1.86,1.05-.2.11-.42.19-.62.28-.18.09-.37.17-.55.27-.19.1-.37.19-.56.3-1.52.86-3.02,1.74-4.53,2.61l-48.88,28.22c-.27.15-1.37.79-3.3,1.98-.59.36-1.18.73-1.77,1.09-.08.05-.15.09-.22.14Z","M73.46,71.79l-.24-.4c.08-.04.15-.09.23-.13.6-.34,1.21-.67,1.81-1.01,1.97-1.11,3.07-1.77,3.33-1.93l18.59-11.13,34.28-20.57c.18-.11.36-.23.53-.34.17-.11.34-.23.5-.35.18-.13.36-.28.55-.41.6-.38,1.22-.73,1.82-1.11l.28.47c-.62.35-1.22.73-1.84,1.08-.2.11-.41.19-.62.29-.18.09-.37.18-.55.28-.19.1-.37.2-.55.31-1.5.89-2.99,1.79-4.49,2.68l-48.4,28.99c-.26.16-1.36.82-3.27,2.03-.58.37-1.17.75-1.75,1.12-.07.05-.15.1-.22.14Z","M73.46,71.79l-.24-.4c.08-.04.15-.09.23-.13.6-.35,1.2-.69,1.8-1.04,1.96-1.14,3.05-1.81,3.32-1.97l18.49-11.38,34.11-21.04c.18-.11.35-.23.53-.35.17-.12.33-.24.5-.36.18-.14.36-.29.55-.42.59-.39,1.22-.75,1.81-1.14l.29.47c-.62.35-1.21.75-1.83,1.1-.2.11-.41.2-.62.3-.18.09-.37.18-.55.28-.18.1-.37.2-.55.31-1.49.91-2.98,1.83-4.47,2.74l-48.16,29.65c-.26.16-1.35.84-3.25,2.07-.58.38-1.16.76-1.74,1.14-.07.05-.15.1-.22.15Z","M73.47,71.79l-.25-.39c.08-.05.15-.09.23-.14.6-.36,1.19-.71,1.79-1.07,1.95-1.17,3.03-1.85,3.29-2.02l18.35-11.65,33.84-21.54c.18-.11.35-.24.52-.36.17-.12.33-.24.49-.37.18-.14.35-.29.54-.42.59-.4,1.21-.76,1.79-1.16l.3.46c-.61.36-1.2.77-1.82,1.13-.2.12-.41.2-.61.31-.18.09-.36.19-.54.29-.18.1-.37.21-.55.32-1.48.93-2.95,1.87-4.43,2.81l-47.77,30.35c-.26.17-1.34.85-3.23,2.12-.58.39-1.15.78-1.72,1.17-.07.05-.15.1-.22.15Z","M73.47,71.79l-.25-.39c.08-.05.15-.09.23-.14.59-.36,1.18-.72,1.77-1.08,1.93-1.19,3-1.89,3.26-2.06l18.17-11.85,33.51-21.9c.18-.12.35-.24.52-.36.17-.12.33-.25.49-.37.18-.14.35-.3.54-.43.58-.41,1.19-.78,1.78-1.18l.3.46c-.61.37-1.19.78-1.8,1.15-.19.12-.41.21-.61.32-.18.1-.36.19-.54.3-.18.11-.36.21-.54.33-1.47.95-2.93,1.9-4.39,2.86l-47.31,30.87c-.26.17-1.33.87-3.19,2.16-.57.39-1.14.79-1.71,1.19-.07.05-.14.1-.22.15Z","M73.48,71.79l-.26-.39c.07-.05.15-.09.22-.14.59-.37,1.17-.74,1.75-1.11,1.91-1.21,2.97-1.92,3.23-2.1l17.98-12.06,33.16-22.3c.17-.12.34-.24.51-.37.16-.12.32-.25.48-.38.18-.14.34-.3.53-.44.58-.41,1.18-.79,1.76-1.21l.31.46c-.6.38-1.18.8-1.78,1.17-.19.12-.4.21-.6.32-.18.1-.36.2-.53.3-.18.11-.36.22-.53.33-1.45.96-2.9,1.94-4.34,2.91l-46.82,31.43c-.26.17-1.31.89-3.16,2.19-.56.4-1.13.8-1.69,1.2-.07.05-.14.1-.21.16Z","M73.48,71.8l-.27-.38c.07-.05.15-.1.22-.14.58-.38,1.16-.76,1.74-1.14,1.89-1.25,2.94-1.98,3.19-2.16l17.77-12.41,32.77-22.94c.17-.12.34-.25.51-.38.16-.13.32-.26.48-.39.18-.15.34-.31.52-.45.57-.43,1.17-.81,1.74-1.24l.32.45c-.59.39-1.17.82-1.76,1.21-.19.12-.4.22-.6.34-.18.1-.35.2-.53.31-.18.11-.36.22-.53.34-1.43.99-2.86,1.99-4.29,2.99l-46.27,32.33c-.25.18-1.3.91-3.12,2.26-.56.41-1.11.82-1.67,1.24-.07.05-.14.11-.21.16Z","M73.49,71.8l-.27-.38c.07-.05.15-.1.22-.15.58-.39,1.16-.77,1.74-1.16,1.89-1.28,2.94-2.02,3.19-2.2l17.77-12.65,32.77-23.39c.17-.12.34-.25.51-.39.16-.13.32-.26.48-.39.18-.15.34-.31.52-.45.57-.43,1.17-.83,1.74-1.26l.32.45c-.59.4-1.16.83-1.76,1.23-.19.13-.4.23-.6.34-.18.1-.35.21-.53.32-.18.11-.36.23-.53.35-1.43,1.01-2.86,2.03-4.29,3.05l-46.27,32.97c-.25.18-1.3.93-3.12,2.3-.56.42-1.11.84-1.67,1.26-.07.05-.14.11-.21.16Z","M73.49,71.8l-.28-.37c.07-.05.15-.1.22-.15.57-.4,1.14-.8,1.71-1.2,1.86-1.31,2.9-2.08,3.15-2.26l17.53-12.98,32.32-24c.17-.13.33-.26.5-.39.16-.13.31-.27.47-.4.17-.15.33-.32.51-.46.56-.44,1.15-.85,1.71-1.29l.33.44c-.59.41-1.15.85-1.73,1.26-.19.13-.4.23-.59.35-.18.11-.35.22-.52.33-.18.12-.35.24-.52.36-1.42,1.04-2.82,2.09-4.23,3.13l-45.63,33.82c-.25.19-1.28.95-3.08,2.36-.55.43-1.1.86-1.64,1.29-.07.05-.14.11-.21.16Z","M73.5,71.8l-.28-.37c.07-.05.14-.1.22-.16.57-.41,1.13-.83,1.7-1.24,1.85-1.36,2.87-2.15,3.12-2.34l17.35-13.45,31.99-24.86c.17-.13.33-.27.49-.41.16-.14.31-.28.46-.42.17-.16.33-.33.51-.48.55-.46,1.14-.88,1.69-1.34l.34.43c-.58.42-1.13.88-1.72,1.31-.19.14-.39.25-.59.37-.17.11-.35.23-.52.34-.18.12-.35.24-.52.38-1.4,1.08-2.79,2.16-4.19,3.24l-45.16,35.04c-.25.19-1.27.99-3.04,2.44-.54.44-1.08.89-1.62,1.34-.07.06-.14.11-.2.17Z","M73.51,71.8l-.29-.36c.07-.05.14-.11.21-.16.56-.43,1.12-.85,1.67-1.28,1.82-1.4,2.83-2.21,3.07-2.41l17.1-13.82,31.54-25.54c.17-.14.33-.28.48-.42.15-.14.3-.28.45-.43.17-.16.32-.34.5-.49.55-.47,1.12-.9,1.67-1.37l.35.43c-.57.44-1.12.91-1.69,1.34-.18.14-.39.25-.58.38-.17.12-.34.23-.51.35-.17.12-.34.25-.51.39-1.38,1.11-2.75,2.22-4.13,3.33l-44.53,36.01c-.24.2-1.25,1.01-3,2.5-.53.45-1.07.91-1.6,1.37-.07.06-.13.12-.2.17Z","M73.51,71.8l-.3-.35c.07-.05.14-.11.21-.16.55-.44,1.09-.87,1.64-1.31,1.78-1.44,2.77-2.27,3.01-2.47l16.72-14.14,30.83-26.14c.16-.14.32-.28.47-.43.15-.14.3-.29.44-.43.16-.16.31-.34.48-.5.53-.48,1.1-.93,1.63-1.41l.36.42c-.56.45-1.1.93-1.66,1.38-.18.14-.38.26-.57.39-.17.12-.34.24-.5.36-.17.13-.34.26-.5.4-1.35,1.13-2.69,2.27-4.04,3.41l-43.54,36.85c-.24.2-1.22,1.04-2.93,2.56-.52.46-1.04.93-1.56,1.4-.07.06-.13.12-.2.18Z","M73.52,71.8l-.3-.35c.07-.06.14-.11.21-.17.54-.44,1.08-.88,1.62-1.32,1.76-1.45,2.73-2.29,2.96-2.5l16.48-14.3,30.38-26.43c.16-.14.31-.29.47-.43.15-.14.29-.29.44-.44.16-.17.3-.34.47-.5.52-.49,1.08-.94,1.61-1.42l.36.42c-.55.45-1.08.94-1.63,1.39-.18.15-.38.26-.56.4-.17.12-.33.24-.5.37-.17.13-.33.26-.49.4-1.33,1.15-2.65,2.3-3.98,3.45l-42.9,37.26c-.23.2-1.2,1.05-2.89,2.59-.51.47-1.03.94-1.54,1.42-.07.06-.13.12-.19.18Z","M73.52,71.8l-.31-.35c.07-.06.14-.11.2-.17.53-.45,1.06-.89,1.59-1.34,1.73-1.47,2.69-2.32,2.92-2.52l16.22-14.45,29.91-26.69c.16-.14.31-.29.46-.44.15-.15.29-.29.43-.44.16-.17.3-.35.47-.51.52-.49,1.07-.95,1.58-1.44l.37.41c-.55.46-1.06.95-1.61,1.41-.18.15-.37.27-.56.4-.16.12-.33.25-.49.37-.17.13-.33.26-.49.4-1.31,1.16-2.61,2.32-3.92,3.48l-42.23,37.63c-.23.21-1.18,1.06-2.84,2.61-.51.47-1.01.95-1.51,1.43-.06.06-.13.12-.19.18Z","M73.53,71.8l-.31-.34c.07-.06.13-.11.2-.17.52-.46,1.05-.91,1.57-1.37,1.71-1.5,2.65-2.36,2.87-2.57l15.96-14.72,29.42-27.2c.15-.14.3-.29.45-.45.14-.15.28-.3.42-.45.15-.17.29-.35.46-.51.51-.5,1.05-.96,1.56-1.46l.37.41c-.54.47-1.05.97-1.58,1.43-.17.15-.37.27-.55.41-.16.12-.32.25-.48.38-.16.13-.32.27-.48.41-1.29,1.18-2.57,2.36-3.86,3.55l-41.55,38.35c-.23.21-1.17,1.08-2.79,2.66-.5.48-.99.97-1.49,1.45-.06.06-.13.12-.19.19Z","M73.53,71.8l-.32-.34c.07-.06.13-.12.2-.18.52-.47,1.03-.93,1.55-1.4,1.68-1.53,2.61-2.41,2.84-2.63l15.75-15.03,29.04-27.77c.15-.15.3-.3.44-.45.14-.15.28-.3.41-.46.15-.17.29-.36.45-.52.5-.51,1.03-.99,1.53-1.49l.38.4c-.53.48-1.03.99-1.56,1.47-.17.15-.36.28-.54.42-.16.13-.32.26-.48.39-.16.14-.32.28-.47.42-1.27,1.2-2.54,2.41-3.81,3.62l-41.01,39.15c-.22.21-1.15,1.1-2.76,2.71-.49.49-.98.99-1.47,1.48-.06.06-.12.13-.19.19Z","M73.54,71.8l-.32-.33c.06-.06.13-.12.2-.18.51-.47,1.02-.94,1.53-1.42,1.67-1.56,2.59-2.45,2.81-2.67l15.58-15.28,28.72-28.23c.15-.15.3-.3.44-.46.14-.15.27-.31.41-.46.15-.18.28-.36.44-.53.5-.52,1.02-1,1.52-1.52l.38.39c-.53.49-1.02,1-1.54,1.49-.17.16-.36.29-.54.43-.16.13-.32.26-.47.4-.16.14-.32.28-.47.43-1.26,1.22-2.51,2.45-3.77,3.68l-40.56,39.8c-.22.22-1.14,1.12-2.72,2.76-.48.5-.97,1-1.45,1.51-.06.06-.12.13-.18.19Z","M73.54,71.8l-.33-.33c.06-.06.13-.12.19-.18.5-.48,1-.96,1.5-1.44,1.63-1.57,2.53-2.48,2.75-2.7l15.25-15.45,28.11-28.55c.15-.15.29-.31.43-.47.14-.15.27-.31.4-.47.15-.18.28-.36.43-.53.48-.52,1-1.01,1.49-1.54l.39.39c-.52.49-1,1.02-1.51,1.51-.17.16-.35.29-.53.44-.16.13-.31.27-.46.4-.16.14-.31.29-.46.44-1.23,1.24-2.46,2.48-3.68,3.72l-39.7,40.25c-.22.22-1.11,1.13-2.66,2.79-.47.51-.94,1.01-1.42,1.52-.06.06-.12.13-.18.2Z","M73.55,71.8l-.33-.32c.06-.06.13-.12.19-.19.5-.49,1-.98,1.49-1.47,1.62-1.61,2.52-2.54,2.73-2.76l15.15-15.76,27.92-29.11c.15-.15.29-.31.42-.47.13-.16.27-.32.39-.48.14-.18.27-.37.43-.54.48-.53.99-1.03,1.48-1.56l.4.38c-.51.5-.99,1.04-1.5,1.54-.17.16-.35.3-.53.45-.15.14-.31.27-.46.41-.15.14-.31.29-.46.44-1.22,1.26-2.44,2.53-3.66,3.8l-39.44,41.04c-.21.22-1.11,1.16-2.65,2.84-.47.51-.94,1.03-1.41,1.55-.06.06-.12.13-.18.2Z","M73.55,71.8l-.34-.32c.06-.06.13-.12.19-.19.49-.5.99-.99,1.48-1.49,1.61-1.63,2.49-2.57,2.7-2.8l14.98-15.98,27.62-29.53c.14-.16.28-.32.42-.48.13-.16.26-.32.39-.48.14-.18.27-.38.42-.55.47-.54.98-1.05,1.46-1.59l.4.38c-.51.51-.98,1.05-1.49,1.56-.16.16-.35.3-.52.46-.15.14-.31.28-.46.42-.15.15-.31.3-.45.45-1.21,1.28-2.41,2.57-3.62,3.85l-39.01,41.63c-.21.23-1.09,1.17-2.62,2.88-.47.52-.93,1.05-1.39,1.57-.06.07-.12.13-.18.2Z","M73.56,71.8l-.35-.31c.06-.06.12-.13.18-.19.48-.51.96-1.01,1.44-1.51,1.56-1.66,2.42-2.61,2.63-2.84l14.57-16.22,26.86-29.97c.14-.16.28-.32.41-.49.13-.16.25-.32.38-.49.14-.18.26-.38.41-.55.46-.55.96-1.06,1.42-1.61l.41.37c-.49.52-.95,1.07-1.45,1.58-.16.17-.34.31-.51.47-.15.14-.3.28-.45.43-.15.15-.3.3-.44.46-1.18,1.3-2.35,2.61-3.52,3.91l-37.93,42.25c-.21.23-1.06,1.19-2.54,2.92-.45.53-.9,1.06-1.35,1.59-.06.07-.11.14-.17.2Z","M73.56,71.8l-.35-.31c.06-.06.12-.13.18-.19.47-.51.95-1.02,1.42-1.53,1.55-1.68,2.39-2.64,2.6-2.87l14.39-16.39,26.52-30.27c.14-.16.27-.32.4-.49.13-.16.25-.33.37-.49.14-.19.26-.38.4-.56.45-.55.94-1.07,1.4-1.62l.41.36c-.49.52-.94,1.08-1.43,1.6-.16.17-.34.31-.5.47-.15.14-.3.28-.44.43-.15.15-.3.3-.44.46-1.16,1.31-2.32,2.63-3.48,3.95l-37.45,42.69c-.2.23-1.05,1.2-2.51,2.95-.45.54-.89,1.07-1.33,1.61-.06.07-.11.14-.17.21Z","M73.56,71.8l-.35-.3c.06-.07.12-.13.18-.2.46-.51.93-1.02,1.39-1.53,1.51-1.68,2.34-2.64,2.54-2.87l14.05-16.39,25.89-30.27c.13-.16.26-.32.39-.49.12-.16.24-.33.36-.49.13-.19.25-.38.39-.56.44-.55.92-1.08,1.37-1.63l.42.36c-.48.52-.92,1.08-1.4,1.6-.15.17-.33.31-.49.47-.15.14-.29.29-.43.43-.14.15-.29.3-.43.46-1.14,1.31-2.26,2.63-3.39,3.95l-36.57,42.69c-.2.23-1.02,1.2-2.45,2.95-.44.53-.87,1.07-1.3,1.61-.06.07-.11.14-.17.21Z","M73.57,71.8l-.36-.29c.06-.07.12-.13.17-.2.46-.52.91-1.05,1.37-1.57,1.48-1.72,2.3-2.72,2.5-2.96l13.8-16.84,25.44-31.11c.13-.17.26-.33.38-.51.12-.17.24-.34.35-.5.13-.19.24-.39.38-.57.43-.57.91-1.1,1.34-1.67l.42.35c-.47.54-.9,1.11-1.37,1.65-.15.17-.33.32-.48.49-.14.15-.29.29-.43.45-.14.16-.28.31-.42.48-1.12,1.35-2.22,2.71-3.33,4.06l-35.93,43.87c-.2.24-1.01,1.24-2.4,3.03-.43.55-.85,1.1-1.27,1.65-.05.07-.11.14-.16.21Z","M73.58,71.8l-.36-.29c.06-.07.12-.13.17-.2.45-.53.9-1.07,1.35-1.6,1.47-1.75,2.27-2.76,2.46-3l13.61-17.09,25.08-31.57c.13-.17.26-.34.38-.51.12-.17.23-.34.35-.51.13-.19.24-.39.38-.58.43-.57.89-1.12,1.32-1.69l.43.34c-.46.55-.89,1.12-1.35,1.67-.15.18-.32.33-.48.5-.14.15-.28.3-.42.45-.14.16-.28.32-.41.49-1.1,1.37-2.19,2.75-3.29,4.12l-35.43,44.52c-.19.24-.99,1.25-2.37,3.07-.42.56-.84,1.12-1.26,1.68-.05.07-.11.14-.16.21Z","M73.58,71.8l-.37-.28c.06-.07.11-.14.17-.2.44-.54.88-1.07,1.31-1.61,1.43-1.76,2.21-2.77,2.4-3.02l13.23-17.19,24.39-31.75c.13-.17.25-.34.37-.51.12-.17.23-.34.34-.51.12-.19.23-.4.36-.58.42-.58.87-1.13,1.29-1.7l.44.34c-.45.55-.87,1.13-1.32,1.68-.15.18-.32.33-.47.5-.14.15-.28.3-.41.46-.14.16-.27.32-.4.49-1.07,1.38-2.13,2.76-3.2,4.14l-34.46,44.77c-.19.24-.97,1.26-2.3,3.09-.41.56-.81,1.12-1.22,1.68-.05.07-.1.14-.15.21Z","M73.59,71.79l-.37-.28c.05-.07.11-.14.17-.21.43-.54.86-1.08,1.29-1.63,1.4-1.78,2.17-2.8,2.35-3.05l12.98-17.35,23.92-32.06c.12-.17.24-.34.36-.52.11-.17.22-.34.33-.52.12-.19.22-.4.35-.59.41-.58.85-1.14,1.26-1.72l.44.33c-.44.56-.85,1.14-1.29,1.7-.14.18-.31.34-.46.51-.14.15-.27.31-.4.46-.13.16-.27.32-.4.49-1.05,1.39-2.09,2.79-3.14,4.18l-33.8,45.2c-.18.25-.95,1.27-2.26,3.12-.4.56-.8,1.13-1.19,1.7-.05.07-.1.15-.15.22Z","M73.59,71.79l-.38-.27c.05-.07.11-.14.16-.21.42-.55.84-1.1,1.26-1.65,1.37-1.8,2.12-2.84,2.3-3.08l12.68-17.56,23.38-32.43c.12-.17.24-.35.35-.52.11-.17.22-.35.32-.52.12-.2.22-.4.34-.59.4-.59.83-1.15,1.23-1.74l.45.32c-.43.56-.83,1.15-1.26,1.72-.14.18-.3.34-.45.51-.13.16-.27.31-.39.47-.13.16-.26.33-.39.5-1.03,1.41-2.05,2.82-3.07,4.23l-33.02,45.73c-.18.25-.93,1.29-2.2,3.15-.39.57-.78,1.14-1.17,1.72-.05.07-.1.15-.15.22Z","M73.6,71.79l-.38-.26c.05-.07.11-.14.16-.21.41-.56.82-1.11,1.23-1.67,1.34-1.82,2.06-2.87,2.24-3.12l12.34-17.76,22.75-32.8c.12-.17.23-.35.34-.53.11-.17.21-.35.31-.53.11-.2.21-.41.33-.6.39-.59.81-1.16,1.2-1.76l.45.31c-.42.57-.81,1.17-1.23,1.74-.14.18-.3.34-.44.52-.13.16-.26.31-.39.48-.13.17-.26.33-.38.51-1,1.42-1.99,2.85-2.98,4.28l-32.14,46.26c-.17.25-.9,1.3-2.14,3.19-.38.58-.76,1.16-1.13,1.74-.05.07-.1.15-.14.22Z","M73.6,71.79l-.38-.26c.05-.07.1-.14.16-.21.4-.56.8-1.12,1.2-1.68,1.31-1.84,2.02-2.9,2.19-3.15l12.06-17.93,22.22-33.11c.12-.17.23-.35.33-.53.1-.18.2-.35.3-.53.11-.2.2-.41.32-.6.38-.6.79-1.18,1.17-1.78l.46.31c-.41.58-.79,1.18-1.2,1.75-.13.19-.29.35-.43.53-.13.16-.26.32-.38.48-.13.17-.25.34-.37.51-.98,1.44-1.94,2.88-2.92,4.32l-31.4,46.69c-.17.26-.88,1.31-2.09,3.22-.37.58-.74,1.17-1.1,1.75-.05.08-.09.15-.14.23Z","M73.61,71.79l-.39-.25c.05-.07.1-.14.15-.22.39-.56.78-1.13,1.17-1.69,1.27-1.85,1.96-2.92,2.13-3.17l11.73-18.03,21.61-33.3c.11-.18.22-.36.32-.54.1-.18.2-.35.29-.53.11-.2.2-.41.31-.6.37-.6.77-1.18,1.14-1.79l.46.3c-.4.58-.77,1.19-1.17,1.77-.13.19-.29.35-.43.53-.12.16-.25.32-.37.49-.12.17-.24.34-.36.51-.95,1.45-1.89,2.9-2.84,4.35l-30.53,46.96c-.17.26-.86,1.32-2.03,3.24-.36.59-.72,1.17-1.07,1.76-.05.07-.09.15-.14.23Z","M73.61,71.79l-.39-.25c.05-.07.1-.15.15-.22.38-.57.76-1.14,1.14-1.71,1.23-1.86,1.91-2.93,2.07-3.19l11.36-18.13,20.94-33.49c.11-.18.21-.36.31-.54.1-.18.19-.36.28-.54.1-.2.19-.41.3-.61.36-.61.75-1.19,1.1-1.8l.47.29c-.39.58-.75,1.19-1.14,1.78-.13.19-.28.35-.41.53-.12.16-.24.32-.36.49-.12.17-.24.34-.35.52-.92,1.45-1.83,2.91-2.75,4.37l-29.58,47.22c-.16.26-.83,1.33-1.97,3.25-.35.59-.69,1.18-1.04,1.77-.04.08-.09.15-.13.23Z","M73.62,71.79l-.4-.24c.05-.07.1-.15.14-.22.37-.57.73-1.15,1.09-1.72,1.19-1.88,1.83-2.95,1.99-3.21l10.9-18.27,20.09-33.74c.11-.18.2-.36.3-.54.09-.18.18-.36.27-.54.1-.2.18-.41.28-.61.34-.61.72-1.2,1.06-1.81l.47.28c-.38.59-.72,1.2-1.09,1.79-.12.19-.27.36-.4.54-.12.16-.23.33-.35.49-.12.17-.23.34-.33.52-.89,1.47-1.76,2.94-2.64,4.41l-28.39,47.58c-.15.26-.79,1.34-1.88,3.28-.33.59-.66,1.19-.99,1.78-.04.08-.08.15-.13.23Z","M73.63,71.79l-.4-.23c.05-.08.09-.15.14-.23.35-.57.7-1.15,1.04-1.72,1.13-1.88,1.74-2.96,1.89-3.22l10.35-18.27,19.07-33.74c.1-.18.19-.36.28-.54.09-.18.17-.36.25-.54.09-.2.16-.41.27-.61.32-.61.68-1.2,1.01-1.81l.48.27c-.36.59-.68,1.2-1.04,1.8-.12.19-.26.36-.38.54-.11.16-.23.33-.33.49-.11.17-.22.34-.32.52-.84,1.47-1.67,2.94-2.51,4.41l-26.95,47.58c-.15.26-.75,1.34-1.79,3.27-.32.59-.63,1.19-.94,1.78-.04.08-.08.16-.12.23Z","M73.63,71.78l-.41-.22c.04-.08.09-.15.13-.23.34-.58.68-1.16,1.01-1.74,1.1-1.9,1.69-2.99,1.84-3.25l10.05-18.48,18.5-34.13c.1-.18.19-.36.27-.55.08-.18.17-.36.24-.54.09-.2.16-.42.26-.61.31-.62.66-1.22.97-1.84l.48.26c-.35.6-.66,1.22-1.01,1.82-.11.19-.25.36-.38.55-.11.16-.22.33-.32.5-.11.17-.21.35-.31.53-.82,1.48-1.62,2.97-2.43,4.46l-26.15,48.13c-.14.26-.73,1.35-1.73,3.31-.31.6-.61,1.2-.91,1.8-.04.08-.08.16-.12.24Z","M73.64,71.78l-.41-.21c.04-.08.09-.15.13-.23.32-.58.65-1.16.97-1.74,1.05-1.9,1.62-2.99,1.75-3.25l9.59-18.48,17.66-34.13c.09-.18.18-.36.26-.55.08-.18.16-.36.23-.54.08-.2.15-.41.24-.61.3-.62.63-1.22.93-1.84l.49.25c-.34.6-.63,1.22-.97,1.82-.11.19-.24.37-.36.55-.11.16-.21.33-.31.5-.1.17-.2.35-.3.53-.78,1.48-1.55,2.97-2.32,4.46l-24.96,48.13c-.14.26-.7,1.35-1.65,3.31-.29.6-.58,1.2-.86,1.8-.04.08-.08.16-.11.24Z","M73.64,71.78l-.42-.21c.04-.08.08-.16.13-.23.31-.59.63-1.17.94-1.76,1.02-1.92,1.57-3.02,1.7-3.29l9.28-18.65,17.08-34.44c.09-.18.17-.37.25-.55.08-.18.15-.36.22-.55.08-.2.14-.42.23-.62.29-.62.61-1.23.9-1.85l.49.24c-.32.6-.61,1.23-.93,1.84-.1.19-.24.37-.35.56-.1.17-.21.34-.3.51-.1.18-.2.35-.29.53-.75,1.5-1.5,3-2.25,4.5l-24.15,48.58c-.13.26-.68,1.37-1.59,3.34-.28.6-.56,1.21-.83,1.81-.04.08-.07.16-.11.24Z","M73.65,71.78l-.42-.2c.04-.08.08-.16.12-.23.3-.59.6-1.19.9-1.78.98-1.95,1.5-3.06,1.63-3.33l8.88-18.87,16.34-34.85c.09-.18.16-.37.24-.56.07-.18.14-.37.21-.55.08-.21.13-.42.22-.62.27-.63.59-1.24.86-1.88l.5.23c-.31.61-.58,1.25-.89,1.86-.1.2-.23.38-.34.57-.1.17-.2.34-.29.51-.1.18-.19.36-.28.54-.72,1.51-1.43,3.03-2.15,4.55l-23.1,49.15c-.13.27-.65,1.38-1.52,3.38-.27.61-.53,1.22-.8,1.83-.03.08-.07.16-.1.24Z","M73.66,71.78l-.42-.19c.04-.08.08-.16.11-.24.29-.6.58-1.21.87-1.82.94-1.98,1.44-3.12,1.56-3.39l8.49-19.22,15.63-35.48c.08-.19.16-.38.23-.57.07-.19.13-.37.2-.56.07-.21.12-.43.21-.63.26-.64.56-1.27.82-1.91l.5.22c-.3.62-.56,1.27-.86,1.89-.1.2-.22.38-.33.58-.1.17-.19.35-.28.53-.09.18-.18.36-.27.55-.69,1.54-1.37,3.09-2.05,4.64l-22.09,50.05c-.12.27-.62,1.41-1.45,3.44-.25.62-.51,1.24-.76,1.87-.03.08-.07.16-.1.24Z","M73.66,71.77l-.43-.18c.04-.08.07-.16.11-.24.27-.6.55-1.21.82-1.82.89-1.99,1.36-3.12,1.48-3.39l8-19.22,14.73-35.48c.08-.19.15-.38.21-.57.07-.19.12-.37.18-.56.07-.21.11-.43.19-.63.24-.64.53-1.27.77-1.91l.51.21c-.28.62-.53,1.27-.81,1.89-.09.2-.21.39-.31.58-.09.17-.18.35-.27.52-.09.18-.17.37-.25.55-.65,1.54-1.29,3.09-1.94,4.64l-20.83,50.05c-.11.27-.58,1.41-1.36,3.44-.24.62-.47,1.24-.71,1.86-.03.08-.06.16-.09.25Z","M73.67,71.77l-.43-.17c.03-.08.07-.16.1-.24.26-.61.52-1.23.78-1.84.85-2.01,1.3-3.16,1.4-3.43l7.6-19.44,13.98-35.89c.07-.19.14-.38.2-.57.06-.19.12-.38.17-.56.06-.21.1-.43.18-.64.23-.65.5-1.28.73-1.93l.51.2c-.27.63-.5,1.28-.77,1.91-.09.2-.2.39-.3.59-.09.18-.18.35-.26.53-.08.19-.17.37-.24.56-.62,1.56-1.23,3.12-1.84,4.69l-19.77,50.62c-.11.28-.55,1.42-1.29,3.47-.23.63-.45,1.26-.67,1.88-.03.08-.06.17-.09.25Z","M73.68,71.77l-.44-.16c.03-.08.07-.16.1-.24.24-.62.49-1.24.73-1.87.79-2.04,1.21-3.2,1.31-3.48l7.05-19.71,12.97-36.39c.07-.19.13-.39.18-.58.06-.19.11-.38.16-.57.06-.21.09-.43.16-.64.21-.66.47-1.3.68-1.96l.52.19c-.25.64-.46,1.3-.71,1.94-.08.2-.19.4-.28.6-.08.18-.17.36-.24.54-.08.19-.16.38-.23.57-.58,1.58-1.14,3.17-1.71,4.75l-18.35,51.34c-.1.28-.51,1.44-1.19,3.52-.21.64-.41,1.27-.62,1.91-.03.08-.05.17-.08.25Z","M73.68,71.76l-.44-.14c.03-.08.06-.16.09-.25.23-.63.45-1.26.68-1.89.73-2.06,1.12-3.23,1.21-3.51l6.49-19.89,11.94-36.72c.06-.19.12-.39.17-.59.05-.19.1-.38.14-.58.05-.21.08-.44.14-.65.19-.66.43-1.31.62-1.97l.52.17c-.23.65-.43,1.31-.66,1.96-.07.21-.18.4-.27.61-.08.18-.15.36-.23.55-.07.19-.15.38-.21.57-.53,1.6-1.05,3.2-1.57,4.8l-16.89,51.81c-.09.28-.47,1.46-1.09,3.55-.19.64-.38,1.28-.56,1.92-.02.08-.05.17-.07.25Z","M73.69,71.76l-.44-.13c.03-.08.06-.17.08-.25.21-.63.42-1.26.63-1.89.68-2.06,1.03-3.23,1.11-3.52l5.96-19.89,10.96-36.72c.06-.19.11-.39.15-.59.05-.19.09-.38.12-.57.04-.21.07-.43.12-.65.18-.66.4-1.31.57-1.97l.53.16c-.22.65-.39,1.31-.61,1.96-.07.21-.17.4-.25.61-.07.18-.15.36-.21.55-.07.19-.14.38-.19.57-.49,1.6-.96,3.2-1.44,4.8l-15.51,51.81c-.08.28-.43,1.46-1,3.55-.17.64-.34,1.28-.51,1.92-.02.08-.04.17-.07.25Z","M73.7,71.75l-.45-.12c.03-.08.05-.17.08-.25.2-.64.4-1.28.59-1.92.64-2.1.97-3.29,1.05-3.58l5.62-20.24,10.32-37.37c.05-.2.1-.4.14-.6.04-.19.08-.39.11-.58.04-.22.06-.44.11-.65.16-.67.37-1.33.54-2.01l.53.15c-.21.66-.37,1.34-.57,2-.07.21-.16.41-.24.62-.07.18-.14.37-.2.56-.07.19-.13.39-.18.58-.46,1.63-.91,3.26-1.36,4.89l-14.61,52.72c-.08.29-.41,1.48-.94,3.61-.16.65-.32,1.3-.48,1.95-.02.09-.04.17-.06.26Z","M73.7,71.75l-.45-.12c.02-.08.05-.17.07-.25.19-.64.37-1.28.56-1.92.6-2.1.91-3.29.98-3.58l5.21-20.24,9.58-37.37c.05-.2.09-.4.13-.59.04-.19.07-.39.1-.58.04-.22.05-.44.1-.65.15-.67.35-1.33.5-2.01l.53.14c-.19.66-.34,1.34-.53,2-.06.21-.15.41-.23.62-.07.19-.13.37-.19.56-.06.19-.12.39-.17.58-.43,1.63-.84,3.26-1.26,4.89l-13.56,52.72c-.07.29-.38,1.48-.87,3.61-.15.65-.29,1.3-.44,1.95-.02.09-.04.17-.06.26Z","M73.71,71.75l-.45-.11c.02-.08.05-.17.07-.25.18-.65.35-1.29.53-1.94.56-2.12.85-3.33.92-3.62l4.88-20.43,8.97-37.72c.05-.2.08-.4.12-.6.04-.19.06-.39.09-.59.03-.22.04-.44.09-.66.14-.68.32-1.35.46-2.02l.53.13c-.18.67-.32,1.35-.5,2.01-.06.21-.15.42-.22.63-.06.19-.13.38-.18.57-.06.2-.11.39-.16.59-.4,1.64-.79,3.29-1.19,4.93l-12.7,53.22c-.07.29-.35,1.5-.81,3.64-.14.66-.27,1.31-.41,1.97-.02.09-.03.17-.05.26Z","M73.71,71.75l-.45-.1c.02-.09.04-.17.07-.26.16-.65.33-1.31.49-1.96.53-2.14.8-3.35.86-3.65l4.54-20.6,8.33-38.04c.04-.2.08-.4.11-.6.03-.2.06-.4.08-.59.03-.22.04-.44.08-.66.13-.68.3-1.36.43-2.04l.54.12c-.17.67-.3,1.36-.47,2.03-.05.21-.14.42-.21.63-.06.19-.12.38-.17.57-.06.2-.11.4-.15.59-.37,1.66-.73,3.32-1.1,4.97l-11.8,53.67c-.06.29-.33,1.51-.75,3.67-.13.66-.25,1.32-.38,1.99-.02.09-.03.17-.05.26Z","M73.72,71.74l-.45-.09c.02-.09.04-.17.06-.26.15-.66.31-1.31.46-1.97.49-2.15.74-3.37.8-3.66l4.16-20.7,7.63-38.21c.04-.2.07-.4.1-.61.03-.2.05-.4.07-.59.02-.22.03-.44.06-.66.12-.69.28-1.36.39-2.05l.54.11c-.16.68-.27,1.36-.43,2.04-.05.22-.13.42-.2.64-.06.19-.11.38-.16.58-.05.2-.1.4-.14.6-.34,1.66-.67,3.33-1.01,4.99l-10.81,53.91c-.06.29-.3,1.51-.68,3.69-.12.66-.23,1.33-.34,1.99-.01.09-.03.17-.04.26Z","M73.72,71.74l-.46-.09c.02-.09.04-.17.06-.26.14-.66.29-1.31.43-1.97.46-2.15.7-3.37.75-3.67l3.92-20.7,7.2-38.21c.04-.2.07-.4.09-.61.03-.2.05-.4.07-.59.02-.22.02-.44.06-.66.11-.68.26-1.36.37-2.05l.54.1c-.15.68-.26,1.36-.41,2.04-.05.22-.13.43-.19.64-.05.19-.11.38-.16.58-.05.2-.1.4-.14.6-.32,1.66-.64,3.33-.95,4.99l-10.2,53.9c-.05.29-.28,1.51-.64,3.69-.11.66-.21,1.33-.32,1.99-.01.09-.03.17-.04.26Z","M73.72,71.74l-.46-.08c.02-.09.04-.17.05-.26.13-.66.27-1.31.4-1.97.43-2.15.64-3.37.69-3.67l3.57-20.7,6.54-38.21c.03-.2.06-.4.08-.61.02-.2.04-.39.06-.59.02-.22.02-.44.05-.66.1-.69.24-1.36.33-2.05l.54.09c-.14.68-.23,1.36-.37,2.04-.04.22-.12.43-.18.64-.05.19-.1.38-.15.58-.05.2-.09.4-.12.6-.3,1.66-.58,3.33-.87,4.99l-9.28,53.9c-.05.29-.26,1.51-.57,3.69-.1.66-.19,1.33-.28,1.99-.01.09-.02.17-.04.26Z","M73.73,71.73l-.46-.07c.02-.09.03-.17.05-.26.12-.66.24-1.32.35-1.97.38-2.15.56-3.37.6-3.67l3.08-20.7,5.64-38.21c.03-.2.05-.4.07-.61.02-.2.03-.39.04-.59.01-.22,0-.44.03-.66.08-.69.2-1.36.28-2.05l.54.08c-.12.68-.2,1.36-.32,2.04-.04.22-.11.43-.16.64-.05.19-.09.39-.13.58-.04.2-.08.4-.11.6-.26,1.66-.5,3.33-.75,5l-8,53.9c-.04.29-.22,1.51-.49,3.69-.08.66-.16,1.33-.23,1.99-.01.09-.02.18-.03.26Z","M73.74,71.73l-.46-.06c.01-.09.03-.17.04-.26.1-.66.21-1.32.31-1.97.33-2.15.49-3.38.53-3.67l2.64-20.7,4.82-38.21c.02-.2.04-.4.06-.6.01-.2.02-.39.03-.59,0-.22,0-.44.02-.66.06-.68.18-1.36.24-2.05l.55.07c-.11.68-.17,1.36-.28,2.05-.03.22-.1.43-.15.64-.04.19-.08.39-.12.58-.04.2-.07.4-.1.6-.22,1.66-.43,3.33-.64,5l-6.85,53.9c-.04.29-.19,1.51-.41,3.69-.07.66-.13,1.33-.19,1.99,0,.09-.02.17-.02.26Z","M73.74,71.73l-.46-.05c.01-.09.03-.17.04-.26.1-.66.19-1.32.29-1.99.3-2.17.44-3.39.48-3.69l2.36-20.8,4.32-38.39c.02-.2.04-.41.05-.61.01-.2.02-.4.02-.59,0-.22-.01-.44,0-.66.06-.69.16-1.37.21-2.06l.55.06c-.1.68-.15,1.37-.25,2.05-.03.22-.1.43-.14.65-.04.19-.08.39-.11.58-.03.2-.07.4-.09.6-.2,1.67-.39,3.35-.58,5.02l-6.15,54.17c-.03.3-.17,1.52-.36,3.7-.06.67-.11,1.33-.17,2,0,.09-.01.18-.02.26Z","M73.74,71.72l-.46-.05c.01-.09.02-.17.04-.26.09-.66.17-1.32.26-1.99.27-2.17.4-3.39.43-3.69l2.08-20.8,3.8-38.39c.02-.2.03-.4.04-.61,0-.2.01-.39.01-.59,0-.22-.02-.44,0-.66.05-.69.14-1.37.19-2.06l.55.05c-.09.68-.13,1.37-.22,2.05-.03.22-.09.43-.13.65-.04.19-.07.39-.1.58-.03.2-.06.4-.08.6-.18,1.67-.34,3.35-.51,5.02l-5.4,54.17c-.03.3-.15,1.52-.31,3.7-.05.67-.09,1.33-.14,2,0,.09-.01.18-.02.26Z","M73.75,71.72l-.46-.04c0-.09.02-.17.03-.26.07-.67.15-1.33.22-2,.23-2.18.33-3.41.35-3.71l1.67-20.93,3.04-38.63c.02-.2.02-.41.03-.61,0-.2,0-.4,0-.59,0-.22-.03-.44-.01-.66.03-.69.11-1.38.14-2.07l.55.04c-.08.69-.11,1.38-.18,2.07-.02.22-.08.43-.12.65-.03.2-.07.39-.09.59-.03.2-.05.4-.07.61-.14,1.68-.27,3.37-.41,5.05l-4.34,54.5c-.02.3-.12,1.53-.24,3.72-.04.67-.07,1.34-.1,2.01,0,.09,0,.18-.01.26Z","M73.75,71.71l-.46-.03c0-.09.02-.18.02-.26.06-.66.12-1.32.17-1.99.18-2.17.25-3.4.27-3.69l1.19-20.8,2.15-38.39c.01-.2.01-.4.01-.61,0-.2,0-.39-.01-.59,0-.22-.04-.44-.03-.66.02-.69.08-1.37.1-2.06l.55.03c-.06.68-.08,1.37-.14,2.06-.02.22-.07.43-.1.65-.03.19-.06.39-.08.58-.02.2-.04.4-.06.6-.1,1.67-.2,3.35-.29,5.02l-3.08,54.17c-.02.29-.08,1.52-.15,3.7-.02.66-.04,1.33-.05,2,0,.09,0,.18,0,.26Z","M73.76,71.71l-.46-.02c0-.09.01-.17.02-.26.05-.67.1-1.33.14-2,.14-2.18.2-3.42.21-3.71l.84-20.93,1.51-38.62c0-.2,0-.41,0-.61,0-.2-.01-.4-.02-.59-.01-.22-.04-.44-.04-.66,0-.69.06-1.38.06-2.07l.55.02c-.05.69-.05,1.38-.1,2.07-.02.22-.06.44-.09.65-.03.2-.05.39-.07.59-.02.2-.04.41-.05.61-.08,1.68-.14,3.37-.21,5.05l-2.17,54.5c-.01.3-.06,1.53-.09,3.72,0,.67-.01,1.34-.02,2.01,0,.09,0,.18,0,.26Z","M73.76,71.71h-.46c0-.1,0-.19.01-.27.03-.68.07-1.35.1-2.03.1-2.21.13-3.46.13-3.76l.42-21.17.74-39.07c0-.21,0-.41,0-.62,0-.2-.02-.4-.03-.6-.02-.22-.05-.44-.05-.67,0-.7.03-1.39.02-2.09h.55c-.04.71-.02,1.4-.06,2.1-.01.22-.06.44-.08.67-.02.2-.04.4-.06.6-.02.21-.03.41-.03.62-.04,1.7-.07,3.41-.11,5.11l-1.09,55.13c0,.3-.03,1.55-.01,3.76,0,.68.01,1.35.02,2.03,0,.09,0,.18,0,.26Z"],Wh=R.forwardRef(({color:e="#f48182",size:t=148,className:n},r)=>_e.jsx("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 148.29 148.02",width:t,height:t,className:n,style:{overflow:"visible"},children:_e.jsx("g",{children:Uh.map((t,n)=>_e.jsx("path",{d:t,fill:e,fillRule:"evenodd"},n))})}));Wh.displayName="DandelionSimplified";const Zh=1.06,qh=1.5,Hh=2.5,Vh="74 72";function Gh(e,t,n){return Math.max(t,Math.min(n,e))}const Kh=R.forwardRef(function({color:e,glowColor:t,size:n,x:r,y:i,delay:o=0,label:a,labelScale:s=1,getOtherPositions:l,onClick:c,dimmed:u,showLabel:f=!0},d){const p=R.useRef(null),h=R.useRef(null),y=R.useRef([]),g=R.useRef(null),m=R.useRef(null),v=R.useRef(!1),b=R.useRef([]),w=(e=!1)=>{var t;const a=p.current;if(!a)return;v.current=!1,y.current.forEach(e=>e.kill()),y.current=[];const s=Bh,c=s.depth.scaleRange[0],u=s.depth.scaleRange[1],f=h.current,d=e?0:o;if(e||(wh.set(a,{scale:Dh(c+.05,u-.05)}),f&&wh.set(f,{rotation:Dh(0,360)})),y.current.push(wh.to(a,{x:"+=".concat(Dh(s.sway.xRange[0],s.sway.xRange[1])),duration:Dh(s.sway.durationRange[0],s.sway.durationRange[1]),ease:"sine.inOut",repeat:-1,yoyo:!0,repeatRefresh:!0,delay:d}),wh.to(a,{y:"+=".concat(Dh(s.sway.yRange[0],s.sway.yRange[1])),duration:1.3*Dh(s.sway.durationRange[0],s.sway.durationRange[1]),ease:"sine.inOut",repeat:-1,yoyo:!0,repeatRefresh:!0,delay:d})),(!e||!g.current)&&(null==(t=g.current)||t.kill(),f)){const e=Math.random()>.5?360:-360;g.current=wh.to(f,{rotation:"+=".concat(e),duration:Dh(s.rotation.durationRange[0],s.rotation.durationRange[1]),ease:"none",repeat:-1,delay:d})}v.current=!0;const b=()=>{if(!v.current)return;const e=parseFloat(a.style.left)||r,t=parseFloat(a.style.top)||i,o=null==l?void 0:l(),f=function(e,t,n,r,i,o){const a=()=>{const o=Math.random()*Math.PI*2,a=Dh(r,i);return{left:Gh(e+Math.cos(o)*a,40,1080-n-40),top:Gh(t+Math.sin(o)*a,40,1920-n-40)}};if(!o||0===o.length)return a();let s=a(),l=0;for(let c=0;c<6;c++){const e=a(),t=e.left+n/2,r=e.top+n/2;let i=1/0;for(const n of o){const e=t-n.cx,o=r-n.cy,a=Math.sqrt(e*e+o*o);a<i&&(i=a)}i>l&&(l=i,s=e)}return s}(e,t,n,s.wander.distanceRange[0],s.wander.distanceRange[1],o),d=Dh(c,u),p=Dh(s.wander.durationRange[0],s.wander.durationRange[1]),h=wh.to(a,{left:f.left,top:f.top,scale:d,duration:p,ease:s.wander.ease,onUpdate(){if(!m.current){const e=wh.getProperty(a,"scale");a.style.opacity=String(function(e,t,n){return.7+(e-t)/(n-t)*.25}(e,c,u))}},onComplete:b});y.current.push(h)};wh.delayedCall(d,b)};return Ih(()=>{w(!1)},{scope:p}),R.useEffect(()=>{const e=p.current;if(!e)return;const t=Array.from(e.querySelectorAll("svg g path"));if(!t.length)return;const n=t.map(e=>wh.to(e,{scale:Zh,svgOrigin:Vh,duration:qh*(.8+.4*Math.random()),ease:"sine.inOut",yoyo:!0,repeat:-1,delay:Math.random()*Hh}));return b.current=n,()=>{n.forEach(e=>e.kill()),b.current=[]}},[]),R.useImperativeHandle(d,()=>({getContainer:()=>p.current,killTweens:()=>{v.current=!1,y.current.forEach(e=>e.kill()),y.current=[]},restartTweens:()=>{w(!0)}})),R.useEffect(()=>{var e;const t=p.current;if(!t)return;null==(e=m.current)||e.kill();const n=u?Fh.fadeOthers.targetOpacity:.85;return m.current=wh.to(t,{opacity:n,duration:Fh.fadeOthers.duration,ease:"power2.out",onComplete:()=>{m.current=null}}),()=>{var e;null==(e=m.current)||e.kill(),m.current=null}},[u]),_e.jsxs("div",{ref:p,onClick:c,style:{position:"absolute",left:r,top:i,width:n,height:n,opacity:.85,filter:"drop-shadow(0 0 ".concat(.08*n,"px ").concat(t,")"),willChange:"transform, opacity",cursor:c?"pointer":"default"},"aria-label":a,children:[_e.jsx("div",{ref:h,style:{position:"absolute",width:"100%",height:"100%",top:0,left:0},children:_e.jsx(Wh,{color:e,size:n})}),a&&_e.jsx("span",{style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",fontFamily:"'Arial', 'Helvetica Neue', sans-serif",fontSize:Math.max(36,.12*n)*s,fontWeight:700,color:"#fff",textShadow:"0 1px 4px rgba(0,0,0,0.4), 0 0 8px ".concat(t),whiteSpace:"pre-line",textAlign:"center",lineHeight:1.25,pointerEvents:"none",letterSpacing:"0.02em",opacity:f?1:0,transition:"opacity 0.5s ease"},children:a})]})});function Yh({visible:e}){return _e.jsx("div",{style:{position:"absolute",top:30,left:0,right:0,textAlign:"center",opacity:e?1:0,transition:"opacity 0.6s ease",zIndex:30,pointerEvents:"none"},children:_e.jsxs("h1",{style:{fontFamily:"'Arial Black', 'Helvetica Neue', Arial, sans-serif",fontSize:45,fontWeight:900,letterSpacing:"0.02em",color:"#000000",margin:0,lineHeight:1.2},children:["Wipro's",_e.jsx("br",{}),"Key Milestones"]})})}const $h="IT",Qh="Sustainability",Xh="ConsumerCare",Jh="WiN",ey="GEJV",ty="Foundation",ny="General",ry="ViewAll";const iy=[480,160,340,190,420,150,300,130];const oy=function(){const e=(t=12345,()=>{let e=t+=1831565813;return e=Math.imul(e^e>>>15,1|e),e^=e+Math.imul(e^e>>>7,61|e),((e^e>>>14)>>>0)/4294967296});var t;return iy.map((t,n)=>{const r=n%2,i=Math.floor(n/2),o=540*r+270+(e()-.5)*(540-t)*.6,a=480*i+240+(e()-.5)*(480-t)*.6;return{color:"#aaaaaa",glowColor:"rgba(170, 170, 170, 0.25)",size:t,x:Math.round(Math.max(0,Math.min(1080-t,o-t/2))),y:Math.round(Math.max(0,Math.min(1920-t,a-t/2))),delay:4*e()}})}(),ay=[{x:430,y:300},{x:350,y:580},{x:370,y:830},{x:120,y:660},{x:150,y:980},{x:620,y:780},{x:80,y:280}],sy="power2.inOut";function ly({appState:e,selectedSector:t=null,selectedIndex:n=null,onSelectSector:r}){const{data:i}=Lh(),o=R.useRef(i);R.useEffect(()=>{o.current=i},[i]);const a=R.useRef([]),s=R.useRef(!1),l=R.useRef(null),c=R.useRef(null),u=R.useRef(null),f=R.useRef(e),d=R.useRef(null),p="active"===e,h="sector"===e;R.useEffect(()=>{var t,n;const r=f.current;if(f.current=e,"active"===e&&"idle"===r){null==(t=c.current)||t.kill(),a.current.forEach(e=>null==e?void 0:e.killTweens());const e=wh.timeline();c.current=e,o.current.dandelions.forEach((t,n)=>{var r;const i=null==(r=a.current[n])?void 0:r.getContainer();if(!i)return;const o=ay[n];o&&e.to(i,{left:o.x,top:o.y,x:0,y:0,scale:1,rotation:0,duration:1.2,ease:sy},0)}),u.current&&e.to(u.current,{opacity:.4,duration:.6,ease:"power2.out"},0)}if("idle"===e&&"active"===r){null==(n=c.current)||n.kill(),c.current=null;const e=wh.timeline({onComplete:()=>{a.current.forEach(e=>null==e?void 0:e.restartTweens())}});c.current=e,o.current.dandelions.forEach((t,n)=>{var r;const i=null==(r=a.current[n])?void 0:r.getContainer();i&&e.to(i,{left:t.placement.x,top:t.placement.y,x:0,y:0,scale:1,rotation:0,opacity:.85,duration:1.2,ease:sy,onStart:()=>{i.style.pointerEvents=""}},0)}),u.current&&e.to(u.current,{opacity:.6,duration:.6,ease:"power2.out"},0)}},[e]);const y=[{cx:950,cy:280,s:1.4,o:.3},{cx:940,cy:700,s:1.35,o:.25},{cx:-10,cy:560,s:1.3,o:.28},{cx:40,cy:920,s:1.25,o:.22},{cx:140,cy:1200,s:1.45,o:.2},{cx:960,cy:950,s:1.35,o:.25},{cx:-80,cy:160,s:1.05,o:.25}];R.useEffect(()=>{var e,r,i,f;if(null===t)return;if(t.id===ry)return;null==(e=c.current)||e.kill(),null==(r=l.current)||r.kill(),s.current=!0;const{dandelionMove:p}=Fh;a.current.forEach(e=>null==e?void 0:e.killTweens());const h=wh.timeline({onComplete:()=>{s.current=!1}});if(l.current=h,u.current&&h.to(u.current,{opacity:.1,duration:.5,ease:"power2.out"},0),d.current=n,null!==n){const e=null==(i=a.current[n])?void 0:i.getContainer(),t=null==(f=o.current.dandelions[n])?void 0:f.placement,r=p.targetY+200;if(e&&t){const n=400/t.size;h.to(e,{left:540-t.size/2,top:r-t.size/2,x:0,y:0,scale:n,rotation:0,opacity:1,duration:p.duration,ease:p.ease},0)}o.current.dandelions.forEach((e,t)=>{var r,i;if(t===n)return;const s=null==(r=a.current[t])?void 0:r.getContainer(),l=null==(i=o.current.dandelions[t])?void 0:i.placement,c=y[t];s&&l&&c&&(s.style.pointerEvents="none",h.to(s,{left:c.cx-l.size/2,top:c.cy-l.size/2,x:0,y:0,scale:c.s,rotation:0,opacity:c.o,duration:p.duration,ease:p.ease},0))})}},[t,n]),R.useEffect(()=>{var e;if(null!==t)return;if(!l.current)return;d.current=null,s.current=!0,null==(e=l.current)||e.kill(),l.current=null;const{dandelionMove:n,reverse:r}=Fh,i=wh.timeline({onComplete:()=>{s.current=!1,l.current=null,a.current.forEach(e=>null==e?void 0:e.restartTweens())}});l.current=i,a.current.forEach((e,t)=>{var a;const s=null==e?void 0:e.getContainer();if(!s)return;const l=null==(a=o.current.dandelions[t])?void 0:a.placement;l&&i.to(s,{left:l.x,top:l.y,scale:1,rotation:0,x:0,y:0,opacity:.85,duration:n.duration,ease:n.ease,onStart:()=>{s.style.visibility="visible",s.style.pointerEvents=""}},r.moveBackDelay)}),u.current&&wh.to(u.current,{opacity:.6,duration:.6,ease:"power2.out"})},[t]);const g=R.useCallback((e,t)=>{s.current||null==r||r(e,t)},[r]),m=R.useCallback(e=>()=>{const t=[];return a.current.forEach((n,r)=>{if(r===e)return;const i=null==n?void 0:n.getContainer();if(!i)return;const o=parseFloat(i.style.left)||0,a=parseFloat(i.style.top)||0,s=parseFloat(i.style.width)||0,l=parseFloat(i.style.height)||0;t.push({cx:o+s/2,cy:a+l/2})}),t},[]);return _e.jsxs(_e.Fragment,{children:[_e.jsx(Yh,{visible:!0}),_e.jsx("div",{ref:u,style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",opacity:.6},children:oy.map((e,t)=>_e.jsx(Kh,{color:e.color,glowColor:e.glowColor,size:e.size,x:e.x,y:e.y,delay:e.delay,label:"",dimmed:h},"deco-".concat(t)))}),_e.jsx("div",{style:{position:"absolute",inset:0,zIndex:null!==n?25:"auto",pointerEvents:null!==n?"none":"auto"},children:i.dandelions.map((e,t)=>{const n={id:e.sector.id,label:e.sector.label,color:e.sector.color,glowColor:e.sector.glowColor};return _e.jsx(Kh,{ref:e=>{a.current[t]=e},color:e.sector.color,glowColor:e.sector.glowColor,size:e.placement.size,x:e.placement.x,y:e.placement.y,delay:e.placement.delay,label:e.sector.label,labelScale:e.sector.id===ny||e.sector.id===Qh||e.sector.id===ey||e.sector.id===Xh?.5:e.sector.id===ty?.7:1,getOtherPositions:m(t),onClick:()=>g(n,t),showLabel:p||h},e.sector.id)})})]})}function cy({onBack:e,color:t}){const n=R.useRef(null);return Ih(()=>{const e=n.current;e&&wh.fromTo(e,{opacity:0,x:-20},{opacity:1,x:0,duration:.4,delay:.8,ease:"power2.out"})},{scope:n}),_e.jsx("button",{ref:n,onClick:e,style:{position:"absolute",top:40,left:40,zIndex:30,width:56,height:56,borderRadius:"50%",border:"2px solid ".concat(t),background:"rgba(255, 255, 255, 0.12)",backdropFilter:"blur(8px)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,transition:"background 0.2s ease"},onMouseEnter:e=>{e.currentTarget.style.background="rgba(255, 255, 255, 0.25)"},onMouseLeave:e=>{e.currentTarget.style.background="rgba(255, 255, 255, 0.12)"},"aria-label":"Back to overview",children:_e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[_e.jsx("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),_e.jsx("polyline",{points:"12 19 5 12 12 5"})]})})}const uy=R.forwardRef(function({size:e,color:t,className:n,style:r},i){return _e.jsx("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.61 20.51",width:e,height:e,className:n,style:r,children:_e.jsx("path",{fill:t,fillRule:"evenodd",d:"M2.91,4.11s0,0,0,.01c-.54.63-.84,1.14-.95,1.32-.76,1.21-1.05,2.29-1.15,2.66-.24.95-.28,1.67-.29,1.82-.03.48-.01.8,0,.98.01.21.04.61.14,1.18.52,2.84,2.22,5.21,4.55,6.65,3.36,2.08,7.68,1.96,10.94-.31,2.67-1.86,4.4-5.01,4.28-8.54-.08-2.58-1.16-5.15-3.24-7.06C15.69,1.44,13.75.48,11.51.23c-.26-.03-.56-.04-.6-.04-.47-.02-.84,0-1.06.01,0,0-.24.02-.54.06-.45.06-.83.14-1.09.21,0,0-.29.07-.66.2-1.02.35-1.76.78-2.16,1.04,0,0-.14.09-.32.22-.71.52-1.44,1.19-2.1,2.08-.01.02-.03.05-.05.08,0,0,0,0,0,0,0,0,0,0-.01.01ZM2.19,3.49c.36-.39,1.32-1.41,2.91-2.23.3-.16,1.39-.76,3-1.05.21-.04.83-.17,1.71-.2.19,0,.82-.04,1.69.07.5.06,2.17.25,4,1.32,4.03,2.35,5.85,6.96,4.82,11.25-.68,2.84-2.53,5.19-4.95,6.54-3.65,2.05-8.35,1.74-11.74-1.16C1.69,16.37.41,14.04.09,11.42c0-.05-.07-.47-.09-1.12,0-.08-.02-.51.02-1.06.03-.46.1-1.18.34-2.09.27-1.04.65-1.81.86-2.21.04-.08.14-.24.15-.26.37-.63.71-1.06.82-1.2Z"})})}),fy=96,dy=R.forwardRef(function({milestone:e,color:t,isFocused:n=!1,stemXCenter:r},i){const o=R.useRef(null),a=R.useRef(null);Ih(()=>{var t;if(null==(t=a.current)||t.kill(),o.current){const t=137*e.year%360,n=10+e.year%7;wh.set(o.current,{rotation:t,transformOrigin:"50% 50%"}),a.current=wh.to(o.current,{rotation:t+360,duration:n,ease:"none",repeat:-1,transformOrigin:"50% 50%"})}return()=>{var e;null==(e=a.current)||e.kill()}},[e.year]);const s=null!=r?r-60:void 0,l=null!=s?"".concat(s,"px"):"50%",c=null==r||r<=650,u=null!=s?"".concat(s,"px"):"50%";return _e.jsx("div",{ref:i,style:{position:"relative",display:"flex",alignItems:"flex-start",width:"100%",minHeight:96,marginBottom:54},children:_e.jsxs("div",{style:{position:"relative",width:"100%",transform:"scale(".concat(n?1:.8,")"),opacity:n?1:.8,transition:"transform 0.4s ease, opacity 0.4s ease",transformOrigin:"".concat(u," ").concat(48,"px")},children:[_e.jsxs("div",{style:{position:"absolute",left:l,top:0,transform:"translateX(-50%)",width:fy,height:fy,zIndex:10},children:[_e.jsx("div",{style:{position:"absolute",inset:4,borderRadius:"50%",background:"rgba(255, 255, 255, 0.92)",boxShadow:n?"0 0 20px ".concat(t,"88, 0 2px 8px rgba(0,0,0,0.12)"):"0 0 14px ".concat(t,"55, 0 2px 8px rgba(0,0,0,0.12)"),transition:"box-shadow 0.35s ease"}}),_e.jsx(uy,{ref:o,size:fy,color:t,style:{position:"absolute",inset:0}}),_e.jsx("span",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"'Arial Black', 'Helvetica Neue', Arial, sans-serif",fontSize:18,fontWeight:900,color:"#2a2a2a",letterSpacing:"-0.02em"},children:e.year})]}),null!=r?_e.jsx("div",{style:{position:"absolute",top:0,minHeight:fy,display:"flex",flexDirection:"column",justifyContent:"center",...c?{left:(null!=s?s:0)+48+28}:{right:960-(null!=s?s:0)+48+28},maxWidth:350,textAlign:c?"left":"right"},children:_e.jsx("p",{style:{fontFamily:"'Georgia', 'Times New Roman', serif",fontSize:13,fontWeight:400,color:"#2a2a2a",margin:0,lineHeight:1.5,letterSpacing:"0.01em"},children:e.description})}):_e.jsx("div",{style:{marginLeft:"calc(50% + 76px)",minHeight:fy,display:"flex",flexDirection:"column",justifyContent:"center",textAlign:"left"},children:_e.jsx("p",{style:{fontFamily:"'Georgia', 'Times New Roman', serif",fontSize:13,fontWeight:400,color:"#2a2a2a",margin:0,lineHeight:1.5,letterSpacing:"0.01em"},children:e.description})})]})})}),py=[{id:$h,label:"IT",color:"#5072b6",glowColor:"rgba(80, 114, 182, 0.4)"},{id:Qh,label:"Sustainability",color:"#70a363",glowColor:"rgba(112, 163, 99, 0.4)"},{id:Xh,label:"Consumer\nCare",color:"#f58d53",glowColor:"rgba(245, 141, 83, 0.4)"},{id:Jh,label:"WIN",color:"#7676b3",glowColor:"rgba(118, 118, 179, 0.4)"},{id:ey,label:"GE-JV",color:"#6fc5b1",glowColor:"rgba(111, 197, 177, 0.4)"},{id:ty,label:"Foundation",color:"#349bb3",glowColor:"rgba(52, 155, 179, 0.4)"},{id:ny,label:"General\nCompany\nEvents",color:"#f48182",glowColor:"rgba(244, 129, 130, 0.4)"},{id:ry,label:"View All",color:"#888888",glowColor:"rgba(136, 136, 136, 0.4)"}];function hy({sector:e,dandelionSize:t,decadeRange:n=null,stems:r,visibleSectorIds:i,overrideCenterY:o,initialDecade:a=null,onDecadeChange:s}){const{data:l}=Lh(),c=R.useRef([]),u=R.useRef(null),f=R.useRef(null),d=e.id===ry,p=R.useMemo(()=>{const e={};for(const t of l.dandelions)e[t.sector.id]=t.sector.color;for(const t of py)e[t.id]||(e[t.id]=t.color);return e},[l.dandelions]),h=R.useMemo(()=>l.milestones.filter(t=>{const r=i?-1!==i.indexOf(t.sectorId):d||t.sectorId===e.id,o=!n||t.year>=n.startYear&&t.year<n.endYear;return r&&o}).sort((e,t)=>e.year-t.year),[l.milestones,e.id,d,n,i]),y=null!=o?o:Fh.dandelionMove.targetY+t/2,g=R.useMemo(()=>null!=r?r:[{xCenter:540,color:e.color}],[r,e.color]),m=R.useMemo(()=>{const e={};for(const t of g)t.sectorId&&(e[t.sectorId]=t);return e},[g]),v=R.useRef([]),b=R.useRef(null),w="linear-gradient(to bottom, transparent 0%, black ".concat(t/2,"px, black 90%, transparent 100%)");R.useLayoutEffect(()=>{const e=c.current.filter(Boolean),t=v.current.filter(Boolean);e.length>0&&wh.set(e,{scaleY:0,transformOrigin:"top center"}),t.length>0&&wh.set(t,{opacity:0,y:0});const n=u.current;n&&(n.style.overflow="visible",n.style.maskImage="none",n.style.webkitMaskImage="none")},[e.id]),R.useEffect(()=>{var e;null==(e=b.current)||e.kill();const t=Fh.dandelionMove.duration,n=requestAnimationFrame(()=>{const e=c.current.filter(Boolean),n=v.current.filter(Boolean),r=u.current,i=wh.timeline({delay:t});b.current=i,e.length>0&&i.to(e,{scaleY:1,duration:.6,ease:"power1.out"}),n.length>0&&(wh.set(n,{opacity:0,y:1200}),i.to(n,{opacity:1,y:0,duration:.6,stagger:.1,ease:"power2.out",onComplete:()=>{r&&(r.style.overflow="",r.style.overflowY="auto",r.style.overflowX="hidden",r.style.maskImage=w,r.style.webkitMaskImage=w)}},">"))});return()=>{var e;cancelAnimationFrame(n),null==(e=b.current)||e.kill()}},[e.id]);const _=R.useRef(a);_.current=a;const x=R.useRef(e.id);return R.useEffect(()=>{if(x.current===e.id)return;x.current=e.id;const t=_.current;t&&u.current&&requestAnimationFrame(()=>{if(!u.current)return;const e=h.findIndex(e=>e.decade===t);if(e<=0)return;const n=u.current.querySelectorAll("[data-milestone]")[e];n&&n.scrollIntoView({block:"start",behavior:"instant"})})},[e.id,h]),R.useEffect(()=>{const e=u.current;if(!e||!s)return;const t=()=>{const t=e.scrollTop+e.clientHeight/3,n=e.querySelectorAll("[data-milestone]");let r="",i=1/0;n.forEach(e=>{var n;const o=e,a=Math.abs(o.offsetTop-t);a<i&&(i=a,r=null!=(n=o.dataset.decade)?n:"")}),r&&s(r)};return e.addEventListener("scroll",t,{passive:!0}),()=>e.removeEventListener("scroll",t)},[s,e.id]),_e.jsxs("div",{ref:f,style:{position:"absolute",inset:0},children:[g.map((e,t)=>{var n;return _e.jsx("div",{ref:e=>{c.current[t]=e},style:{position:"absolute",left:e.xCenter,top:null!=(n=e.topY)?n:y,bottom:0,width:3,marginLeft:-1.5,background:"linear-gradient(180deg, ".concat(e.color," 0%, ").concat(e.color,"66 80%, transparent 100%)"),zIndex:2}},t)}),_e.jsxs("div",{ref:u,style:{position:"absolute",top:y,left:0,right:0,bottom:0,overflowY:"auto",overflowX:"hidden",padding:"".concat(t/2+30,"px ").concat(60,"px 0"),zIndex:20,scrollbarWidth:"none",msOverflowStyle:"none",WebkitOverflowScrolling:"touch",maskImage:w,WebkitMaskImage:w},children:[h.map((t,n)=>{var r;const i=m[t.sectorId];return _e.jsx("div",{ref:e=>{v.current[n]=e},"data-milestone":!0,"data-decade":t.decade,children:_e.jsx(dy,{milestone:t,color:null!=(r=p[t.sectorId])?r:e.color,isFocused:!0,stemXCenter:null==i?void 0:i.xCenter})},t.id)}),_e.jsx("div",{style:{height:60,flexShrink:0}})]})]})}function yy({sector:e,dandelionSize:t,onBack:n,decadeRange:r=null,onSwipeSector:i,initialDecade:o=null,onDecadeChange:a}){const s=R.useRef(null);Ih(()=>{const e=s.current;e&&wh.fromTo(e,{opacity:0},{opacity:1,duration:.8,delay:.5,ease:"power2.out"})},{scope:s}),R.useEffect(()=>{const e=s.current;if(!e)return;let t=0,n=0;const r=e=>{t=e.touches[0].clientX,n=e.touches[0].clientY},o=e=>{const r=e.changedTouches[0].clientX-t,o=e.changedTouches[0].clientY-n;Math.abs(r)>80&&Math.abs(r)>1.5*Math.abs(o)&&(null==i||i(r>0?-1:1))};let a=0,l=!1;const c=e=>{a=e.clientX,l=!0},u=e=>{if(!l)return;l=!1;const t=e.clientX-a;Math.abs(t)>80&&(null==i||i(t>0?-1:1))},f=e=>{"ArrowLeft"===e.key&&(null==i||i(-1)),"ArrowRight"===e.key&&(null==i||i(1))};return e.addEventListener("touchstart",r,{passive:!0}),e.addEventListener("touchend",o,{passive:!0}),e.addEventListener("mousedown",c),e.addEventListener("mouseup",u),window.addEventListener("keydown",f),()=>{e.removeEventListener("touchstart",r),e.removeEventListener("touchend",o),e.removeEventListener("mousedown",c),e.removeEventListener("mouseup",u),window.removeEventListener("keydown",f)}},[i]);const l=R.useMemo(()=>({dandelionSize:t}),[t]);return _e.jsxs("div",{ref:s,style:{position:"absolute",inset:0,zIndex:20,opacity:0,pointerEvents:"auto"},children:[_e.jsx(cy,{onBack:n,color:e.color}),_e.jsx(hy,{sector:e,dandelionSize:l.dandelionSize,decadeRange:r,initialDecade:o,onDecadeChange:a})]})}function gy({inactivityTimeoutSec:e}){var t;const[n,r]=R.useState("idle"),[i,o]=R.useState(null),[a,s]=R.useState(null),[l,c]=R.useState(null),u=R.useRef(null),{data:f}=Lh(),{isPresent:d,sensorConnected:p}=function(e){const[t,n]=R.useState(!1),[r,i]=R.useState(!1),o=R.useRef(!1);return R.useEffect(()=>{if(!e.enabled)return;let t=null,r=!1;return function e(){try{t=new WebSocket("ws://127.0.0.1:3402"),t.onmessage=e=>{try{const t=JSON.parse(e.data);if("hardware:event"!==t.type||!t.payload)return;const r=t.payload.type;"sensor:present"===r?(o.current=!0,i(!0),n(!0)):"sensor:clear"===r?(o.current=!0,i(!0),n(!1)):"sensor:ready"===r?(o.current=!0,i(!0)):"sensor:disconnected"===r&&i(!1)}catch(t){}},t.onclose=()=>{r||setTimeout(e,2e3)},t.onerror=()=>{}}catch(a){}}(),()=>{r=!0,null==t||t.close()}},[e.enabled]),{isPresent:t,sensorConnected:r}}({enabled:!0});R.useEffect(()=>{p&&(d?(r(e=>"idle"===e?"active":e),u.current&&clearTimeout(u.current)):(u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{r(e=>"active"===e?"idle":e)},1e3*e)))},[d,p,e]),R.useEffect(()=>{const t=()=>{r(e=>"idle"===e?"active":e),u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{r(e=>"active"===e?"idle":e)},1e3*e)};return window.addEventListener("mousemove",t),window.addEventListener("keydown",t),window.addEventListener("touchstart",t),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("keydown",t),window.removeEventListener("touchstart",t),u.current&&clearTimeout(u.current)}},[e]);const h=R.useCallback((e,t)=>{o(e),s(t),r("sector")},[]),y=R.useCallback(()=>{o(null),s(null),c(null),r("idle")},[]),g=R.useCallback(e=>{if(null===a)return;const t=a+e;if(t<0||t>=f.dandelions.length)return;const n=f.dandelions[t];o({id:n.sector.id,label:n.sector.label,color:n.sector.color,glowColor:n.sector.glowColor}),s(t)},[a,f.dandelions]);return _e.jsxs(Nh,{children:[!p&&_e.jsx("div",{style:{position:"absolute",top:12,right:12,zIndex:9999,background:"rgba(255, 60, 60, 0.85)",color:"#fff",padding:"4px 12px",borderRadius:6,fontSize:12,fontFamily:"monospace",pointerEvents:"none"},children:"Sensor offline"}),_e.jsx(zh,{sectorColor:null!=(t=null==i?void 0:i.color)?t:null}),_e.jsx(ly,{appState:n,selectedSector:i,selectedIndex:a,onSelectSector:h}),"sector"===n&&i&&_e.jsx(yy,{sector:i,dandelionSize:400,onBack:y,onSwipeSector:g,initialDecade:l,onDecadeChange:c})]})}function my({textColor:e,showDate:t,dateFormat:n}){var[r,i]=R.useState(new Date);R.useEffect(function(){var e=setInterval(function(){i(new Date)},1e3);return function(){clearInterval(e)}},[]);var o=r.toLocaleTimeString("en-IN",{hour:"2-digit",minute:"2-digit",hour12:!0}),a=t?r.toLocaleDateString("en-IN","short"===n?{day:"numeric",month:"short",year:"numeric"}:{weekday:"long",day:"numeric",month:"long",year:"numeric"}):"";return _e.jsxs("div",{style:{textAlign:"right",color:e},children:[_e.jsx("div",{style:{fontSize:"2.5rem",fontWeight:300,lineHeight:1.1,letterSpacing:"-0.02em"},children:o}),t&&_e.jsx("div",{style:{fontSize:"0.95rem",opacity:.6,marginTop:4},children:a})]})}function vy({slide:e,accentColor:t,textColor:n}){var r=e.backgroundColor||"transparent",i=e.textColor||n;return _e.jsxs("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:r,color:i,backgroundImage:e.backgroundImageUrl?"url("+e.backgroundImageUrl+")":void 0,backgroundSize:"cover",backgroundPosition:"center",position:"relative"},children:[e.backgroundImageUrl&&_e.jsx("div",{style:{position:"absolute",inset:0,backgroundColor:"rgba(0,0,0,0.5)"}}),_e.jsxs("div",{style:{position:"relative",zIndex:1,textAlign:"center",padding:"40px 60px"},children:[e.logoUrl&&_e.jsx("img",{src:e.logoUrl,alt:"",style:{maxHeight:80,maxWidth:280,objectFit:"contain",marginBottom:40}}),_e.jsx("h1",{style:{fontSize:"4rem",fontWeight:700,lineHeight:1.1,margin:0,letterSpacing:"-0.03em"},children:e.greeting}),e.subtitle&&_e.jsx("p",{style:{fontSize:"1.5rem",fontWeight:300,marginTop:20,opacity:.75,lineHeight:1.4},children:e.subtitle}),_e.jsx("div",{style:{width:60,height:3,backgroundColor:t,margin:"36px auto 0",borderRadius:2}})]})]})}function by({slide:e,textColor:t}){var n=e.textColor||t;return _e.jsxs("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:e.imageUrl?"row":"column",alignItems:"center",justifyContent:"center",backgroundColor:e.backgroundColor||"transparent",color:n,padding:"50px 60px"},children:[_e.jsxs("div",{style:{flex:1,maxWidth:e.imageUrl?"55%":"80%"},children:[e.title&&_e.jsx("h2",{style:{fontSize:"2.2rem",fontWeight:700,lineHeight:1.15,margin:0,letterSpacing:"-0.02em"},children:e.title}),e.body&&_e.jsx("p",{style:{fontSize:"1.1rem",marginTop:24,opacity:.7,lineHeight:1.8,whiteSpace:"pre-line"},children:e.body})]}),e.imageUrl&&_e.jsx("div",{style:{flex:1,display:"flex",justifyContent:"center",padding:"0 30px"},children:_e.jsx("img",{src:e.imageUrl,alt:"",style:{maxWidth:"100%",maxHeight:"70vh",objectFit:"contain",borderRadius:16}})})]})}function wy({slide:e,accentColor:t,textColor:n}){var r=e.timelineItems||[],i=e.textColor||n;return _e.jsxs("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",backgroundColor:e.backgroundColor||"transparent",color:i,padding:"50px 60px"},children:[e.title&&_e.jsx("h2",{style:{fontSize:"2rem",fontWeight:700,marginBottom:8,letterSpacing:"-0.01em"},children:e.title}),_e.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:4,overflow:"hidden",marginTop:20},children:r.map(function(e,n){var r=e.color||t;return _e.jsxs("div",{style:{display:"flex",alignItems:"center",padding:"18px 24px",borderRadius:14,backgroundColor:"rgba(255,255,255,0.04)",borderLeft:"4px solid "+r},children:[_e.jsx("div",{style:{width:40,height:40,borderRadius:10,backgroundColor:r+"20",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:_e.jsx("div",{style:{width:12,height:12,borderRadius:6,backgroundColor:r}})}),_e.jsxs("div",{style:{flex:1,marginLeft:20},children:[_e.jsx("div",{style:{fontSize:"1.15rem",fontWeight:600},children:e.section}),e.description&&_e.jsx("div",{style:{fontSize:"0.85rem",opacity:.5,marginTop:3},children:e.description})]}),_e.jsx("div",{style:{fontSize:"1.1rem",fontWeight:600,color:r,backgroundColor:r+"15",padding:"6px 16px",borderRadius:8},children:e.duration})]},n)})})]})}function _y({slide:e,accentColor:t,textColor:n}){return"timeline"===e.type?_e.jsx(wy,{slide:e,accentColor:t,textColor:n}):_e.jsx(by,{slide:e,textColor:n})}function xy({currentState:e,accentColor:t,textColor:n}){return _e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[_e.jsx("div",{style:{width:"welcome"===e?20:8,height:8,borderRadius:4,backgroundColor:"welcome"===e?t:n+"30",transition:"all 400ms ease"}}),_e.jsx("div",{style:{width:"info"===e?20:8,height:8,borderRadius:4,backgroundColor:"info"===e?t:n+"30",transition:"all 400ms ease"}})]})}wh.registerPlugin(Ih);const Sy=[{id:"wipro-experience",name:"The Wipro Ethos",color:"var(--color-wipro-experience)",cardColor:"#C96D69",categoryId:"origin",svgGroupId:"wiproexperience",textGroupId:"Layer_1-2-g-1-text-6",timeToExplore:"15–20 min",description:"The values and culture that have shaped Wipro from the beginning.",highlightIds:["wipro-exp-immersive","wipro-exp-timeline"]},{id:"prologue",name:"A Very Small Company",color:"var(--color-prologue)",cardColor:"#A67C5A",categoryId:"origin",svgGroupId:"Proluge",textGroupId:"Layer_1-2-g-1-text-7",timeToExplore:"10–15 min",description:"Early milestones and pivotal choices that set Wipro on its path.",highlightIds:["prologue-desk","prologue-timeline"]},{id:"people-garden",name:"People Garden",color:"var(--color-people-garden)",cardColor:"#A67C5A",categoryId:"origin",svgGroupId:"gallery_people_garden",textGroupId:"Layer_1-2-g-1-text-8",timeToExplore:"10–15 min",description:"The people, across generations, who built and shaped Wipro.",highlightIds:[]},{id:"it-story",name:"Wipro Ltd.",color:"var(--color-it-story)",cardColor:"#6393D7",categoryId:"businesses",svgGroupId:"IT_Story",textGroupId:"",timeToExplore:"15–20 min",description:"Five decades of reinvention: from hardware beginnings to the age of Artificial Intelligence.",highlightIds:["it-story-server","it-story-milestones"]},{id:"consumer-care",name:"Wipro Consumer Care & Lighting Group",color:"var(--color-consumer-care)",cardColor:"#FFC474",categoryId:"businesses",svgGroupId:"Consumer_c",textGroupId:"Layer_1-2-g-1-text-2",timeToExplore:"10–15 min",description:"The making of an Indian multinational: driven by Santoor, one of India's most trusted brands.",highlightIds:["consumer-care-products","consumer-care-ads"]},{id:"factory-experience",name:"A Factory Experience",color:"var(--color-factory-experience)",cardColor:"#639A93",categoryId:"businesses",svgGroupId:"FACTORY_Experience",textGroupId:"Layer_1-2-g-1-text-3",timeToExplore:"15–20 min",description:"An immersive recreation of manufacturing at Wipro's Amalner factory.",highlightIds:["factory-line","factory-machines"]},{id:"wintrol",name:"Wipro Infrastructure Engineering",color:"var(--color-wintrol)",cardColor:"#7877C9",categoryId:"businesses",svgGroupId:"wintrol",textGroupId:"Layer_1-2-g-1-text-4",timeToExplore:"10–15 min",description:"From a modest diversification to a global presence in precision engineering and manufacturing.",highlightIds:["wintrol-innovation","wintrol-collab"]},{id:"spirit-of-wipro",name:"Spirit of Wipro",color:"var(--color-spirit-of-wipro)",cardColor:"#57B276",categoryId:"community",svgGroupId:"spirit_of_Wipro",textGroupId:"Layer_1-2-g-1-text-5",timeToExplore:"10–15 min",description:"How responsibility evolved into a defining part of Wipro's identity.",highlightIds:["spirit-pillars","spirit-values"]},{id:"foundation",name:"Azim Premji Foundation",color:"var(--color-foundation)",cardColor:"#5CB8D2",categoryId:"community",svgGroupId:"Foundation",textGroupId:"Layer_1-2-g-1-text-1",timeToExplore:"10–15 min",description:"The Foundation's work across education, health, and livelihoods—and its role as the majority shareholder of Wipro Limited.",highlightIds:["foundation-education","foundation-impact"]}],ky={};for(const yg of Sy)ky[yg.id]=yg;const Ey=ky;new Map(Sy.map(e=>[e.svgGroupId,e]));const Iy={screen:"screensaver",activeCategoryId:null,activeGalleryId:null};function Cy(e,t){switch(t.type){case"TAP_SCREENSAVER":return{...e,screen:"categories",activeCategoryId:null,activeGalleryId:null};case"SELECT_CATEGORY":return{...e,screen:"category-view",activeCategoryId:t.categoryId,activeGalleryId:null};case"SELECT_GALLERY":{const n=Ey[t.galleryId];return{...e,screen:"gallery-view",activeGalleryId:t.galleryId,activeCategoryId:n?n.categoryId:e.activeCategoryId}}case"GO_BACK":return"gallery-view"===e.screen?{...e,screen:"category-view",activeGalleryId:null}:"category-view"===e.screen?{...e,screen:"categories",activeCategoryId:null,activeGalleryId:null}:e;case"RESET_TO_SCREENSAVER":return{...Iy};default:return e}}const Ty=[{id:"origin",label:"Experience\n& Origin",color:"var(--color-origin)",colorDim:"var(--color-origin-dim)",description:"Discover the roots of Wipro — from a small vegetable oil company in Amalner to a global technology leader. Explore the founding vision and early milestones.",galleryIds:["wipro-experience","prologue","people-garden"]},{id:"businesses",label:"Business",color:"var(--color-businesses)",colorDim:"var(--color-businesses-dim)",description:"Explore Wipro's diverse business verticals — from pioneering IT services to consumer care products and manufacturing excellence.",galleryIds:["it-story","consumer-care","factory-experience","wintrol"]},{id:"community",label:"Galleries 8-9",color:"var(--color-community)",colorDim:"var(--color-community-dim)",description:"Experience the values and spirit that drive Wipro, and learn about its commitment to giving back — education, community development, and sustainability.",galleryIds:["spirit-of-wipro","foundation"]}],My={};for(const yg of Ty)My[yg.id]=yg;const Ay=My,Oy="translate(0px, 0px) scale(1)",Py="translate(0px, 0px) scale(1)",jy={origin:{transform:"translate(34%, -24%) scale(2.08)",label:"Origin galleries"},businesses:{transform:"translate(52%, 12%) scale(1.6)",label:"Businesses galleries"},community:{transform:"translate(21%, 27%) scale(2.0)",label:"Culture & Community galleries"}},Ry={origin:{top:"62%",left:"100px"},businesses:{top:"26%",left:"100px"},community:{top:"10%",right:"20%"}},Ly={prologue:{top:"50%",left:"30%"},"wipro-experience":{top:"38%",left:"50%"},"people-garden":{top:"40%",left:"10%"},"it-story":{top:"30%",left:"44%"},"consumer-care":{top:"38%",left:"40%"},"factory-experience":{top:"90%",left:"38%"},"spirit-of-wipro":{top:"50%",left:"30%"},wintrol:{top:"42%",left:"44%"},foundation:{top:"70%",left:"52%"}},Ny=10,By=50;var Fy={"wipro-experience":{x:40,y:55.2},prologue:{x:29.3,y:63.2},"people-garden":{x:47,y:52},"it-story":{x:24,y:40},"consumer-care":{x:10.5,y:50},"factory-experience":{x:9.1,y:52.2},wintrol:{x:22.6,y:26.6},"spirit-of-wipro":{x:33.8,y:29},foundation:{x:43.9,y:30.6}},Dy={active:!1,positionX:0,positionY:0,isTapping:!1,flashGalleryId:null};function zy(e){var t=e.screen,n=e.activeCategoryId,r=e.handHintEnabled,[i,o]=R.useState(Dy),a=R.useRef([]),s=R.useRef(!1),l=R.useCallback(function(){for(var e=a.current,t=0;t<e.length;t++)window.clearTimeout(e[t]);a.current=[]},[]),c=R.useCallback(function(){l(),s.current=!0,o(Dy)},[l]),u="category-view"===t&&null!=n&&(null==r||!1!==r[n]),f=[];if(u&&n){var d=Ay[n];d&&(f=d.galleryIds.slice(0,2))}return R.useEffect(function(){if(s.current=!1,!u||f.length<2)o(Dy);else{var e=f,t=Fy[e[0]],n=Fy[e[1]];if(t&&n){var r=!1,i=t,c=n,d=window.setTimeout(function(){r||s.current||(o({active:!0,positionX:t.x,positionY:t.y,isTapping:!1,flashGalleryId:null}),p(function(){h()},400))},3e3);return a.current.push(d),function(){r=!0,l(),o(Dy)}}}function p(e,t){if(!r&&!s.current){var n=window.setTimeout(function(){var t=a.current.indexOf(n);-1!==t&&a.current.splice(t,1),r||s.current||e()},t);a.current.push(n)}}function h(){if(!r&&!s.current){for(var t=[i,c],n=e,a=0,l=0;l<2;l++)(function(e,r){p(function(){o(function(){return s.current?Dy:{active:!0,positionX:t[e].x,positionY:t[e].y,isTapping:!1,flashGalleryId:null}})},r);var i=r+800+300;p(function(){o(function(){return s.current?Dy:{active:!0,positionX:t[e].x,positionY:t[e].y,isTapping:!0,flashGalleryId:n[e]}})},i),p(function(){o(function(){return s.current?Dy:{active:!0,positionX:t[e].x,positionY:t[e].y,isTapping:!1,flashGalleryId:null}})},i+1e3)})(l,a),a+=2800;p(function(){h()},a)}}},[u,n]),R.useEffect(function(){if(i.active)return window.addEventListener("touchstart",e,!0),window.addEventListener("mousedown",e,!0),window.addEventListener("pointerdown",e,!0),function(){window.removeEventListener("touchstart",e,!0),window.removeEventListener("mousedown",e,!0),window.removeEventListener("pointerdown",e,!0)};function e(){c()}},[i.active,c]),i}function Uy({positionX:e,positionY:t,isTapping:n}){return _e.jsx("div",{className:"hand-hint"+(n?" hand-hint--tapping":""),style:{left:e+"%",top:t+"%"},children:_e.jsx("img",{className:"hand-hint__image",src:"/display/templates/custom08/elements/hand-hint.png",alt:"",draggable:!1})})}const Wy="/display/assets/museum-map-CwVDA2z1.svg",Zy={colorStates:JSON.parse('{"prologue":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"prologue-polygon-1":"#841a1a","prologue-g-1-g-1-g-1-g-1-polygon-1":"#b33737"}},"category_active":{"visibility":"visible","opacity":1,"fillOverride":"#845a43","textVisibility":"visible","textFill":null,"elementFills":{"prologue-g-1-g-1-g-1-g-1-polygon-1":"#7d4040","Proluge-2-g-1-g-1-polygon-12":"#95715b","Proluge-2-g-1-g-1-polygon-4":"#95715b","Proluge-2-polygon-1":"#95715b","Proluge-2-polygon-2":"#7a5e52","Proluge-2-g-1-g-1-polygon-3":"#7a5e52","Proluge-2-g-1-g-1-polygon-5":"#7a5e52","Proluge-2-g-1-g-1-path-1":"#95715b","Proluge-2-g-1-g-1-polygon-2":"#95715b","Proluge-2-g-1-path-1":"#b6957a","Proluge-2-g-1-g-1-path-11":"#94715c"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":"#845a43","textVisibility":"visible","textFill":null,"elementFills":{"Proluge-2-g-1-g-1-polygon-12":"#764d33","Proluge-2-g-1-path-1":"#9c684a","Proluge-2-g-1-g-1-path-1":"#764d33","Proluge-2-g-1-g-1-polygon-2":"#764d33","Proluge-2-g-1-g-1-polygon-3":"#684c3c","Proluge-2-g-1-g-1-polygon-5":"#664a37","Proluge-2-polygon-1":"#6e462f","Proluge-2-g-1-g-1-polygon-4":"#7f523d","Proluge-2-g-1-g-1-path-11":"#764d33"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#c4a8a5","textVisibility":"visible","textFill":"#969696","elementFills":{"Proluge-2-g-1-path-1":"#cdb8a7","Proluge-2-g-1-g-1-path-1":"#b89f91","Proluge-2-g-1-g-1-polygon-2":"#b89f91","Proluge-2-g-1-g-1-polygon-3":"#a8938a","Proluge-2-g-1-g-1-polygon-12":"#b89f90","Proluge-2-g-1-g-1-polygon-4":"#b89f91","Proluge-2-polygon-1":"#b89f91","Proluge-2-g-1-g-1-polygon-5":"#a69489","Proluge-2-g-1-g-1-path-11":"#b89f91"}}},"wipro-experience":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":"#845a43","textVisibility":"visible","textFill":null,"elementFills":{"gallery_wipro_experience-polygon-7":"#d38a86","gallery_wipro_experience-polygon-4":"#91585a","gallery_wipro_experience-polygon-2":"#aa6363","gallery_wipro_experience-polygon-3":"#925858","gallery_wipro_experience-polygon-1":"#aa6363","gallery_wipro_experience-polygon-6":"#864d4c","gallery_wipro_experience-polygon-5":"#aa6363","gallery_Foundation-polygon-1":"#ab6363"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696","elementFills":null},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":"#845a43","textVisibility":"visible","textFill":null,"elementFills":{"gallery_wipro_experience-polygon-7":"#b73f3d","gallery_wipro_experience-polygon-1":"#8c4140","gallery_wipro_experience-polygon-3":"#6b393a","gallery_wipro_experience-polygon-2":"#8c4140","gallery_wipro_experience-polygon-4":"#6b3839","gallery_wipro_experience-polygon-6":"#814443","gallery_wipro_experience-polygon-5":"#b73f3d","gallery_Foundation-polygon-1":"#8c4140"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#c4a8a5","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_wipro_experience-polygon-2":"#c99b9c","gallery_wipro_experience-polygon-7":"#e3b4b2","gallery_wipro_experience-polygon-1":"#c99c9b","gallery_wipro_experience-polygon-3":"#b99595","gallery_wipro_experience-polygon-4":"#b99595","gallery_wipro_experience-polygon-5":"#c99c9b","gallery_wipro_experience-polygon-6":"#bc9d9b","gallery_Foundation-polygon-1":"#c99c9c"}}},"people-garden":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_people_garden-2-path-1":"#7c674b"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_people_garden-2-path-1":"#69533b"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#c4a8a5","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_people_garden-2-path-1":"#9c8772"}}},"it-story":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_IT_Story-polygon-5":"#769cd2","gallery_IT_Story-polygon-3":"#5f7ea2","gallery_IT_Story-polygon-4":"#617ea3","gallery_IT_Story-polygon-1":"#607ea4","gallery_IT_Story-polygon-2":"#596f84","Proluge-2-g-1-g-1-path-11":"#546b82","gallery_spirit_of_Wipro-g-1-polygon-2":"#5f7ba0","gallery_Foundation-polygon-4":"transparent"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_IT_Story-polygon-5":"#3d57b4","gallery_IT_Story-polygon-1":"#284e83","gallery_IT_Story-polygon-2":"#1b3858","gallery_IT_Story-polygon-3":"#264e80","gallery_IT_Story-polygon-4":"#1b3858","gallery_wintrol-polygon-2":"#20487f","gallery_wintrol-polygon-3":"#1b3858","gallery_wintrol-polygon-1":"#1b3858","Proluge-2-g-1-g-1-path-11":"#1b3859","gallery_spirit_of_Wipro-g-1-polygon-2":"#284e81","gallery_Foundation-polygon-4":"transparent"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#a3adc8","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_IT_Story-polygon-5":"#a7bee1","gallery_IT_Story-polygon-1":"#8ca2bb","gallery_IT_Story-polygon-2":"#8896a6","gallery_IT_Story-polygon-3":"#8ca2bc","gallery_IT_Story-polygon-4":"#8ca2bc","Proluge-2-g-1-g-1-path-11":"#92a2b1","gallery_spirit_of_Wipro-g-1-polygon-2":"#9aacc4","gallery_Foundation-polygon-4":"transparent"}}},"consumer-care":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_consumer_care-polygon-2":"#5a8078","gallery_consumer_care-path-1":"#f5c990","gallery_consumer_care-polygon-1":"#d49f67","gallery_consumer_care-polygon-21":"#dfa161"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_consumer_care-path-1":"#db8e28","gallery_consumer_care-polygon-1":"#bc713f","gallery_consumer_care-polygon-21":"#bc713f"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#a3adc8","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_consumer_care-path-1":"#f9deb8","gallery_consumer_care-polygon-1":"#d69e63","gallery_consumer_care-polygon-21":"#eac29a"}}},"factory-experience":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_FACTORY_Experience-polygon-3":"#1f5549","gallery_FACTORY_Experience-polygon-1":"#587c74"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_FACTORY_Experience-polygon-2":"#2a573f","gallery_FACTORY_Experience-polygon-3":"#225046","gallery_FACTORY_Experience-polygon-1":"#29564d","gallery_consumer_care-polygon-2":"#225046"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#a3adc8","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_FACTORY_Experience-polygon-2":"#a9c6c0","gallery_consumer_care-polygon-2":"#95ada6","gallery_FACTORY_Experience-polygon-1":"#96aea7"}}},"spirit-of-wipro":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_spirit_of_Wipro-g-1-polygon-2":"#39634d","gallery_spirit_of_Wipro-g-1-polygon-21":"#3a644e","gallery_spirit_of_Wipro-g-1-polygon-1":"#3b6c52"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_spirit_of_Wipro-g-1-polygon-2":"#205237","gallery_spirit_of_Wipro-g-1-polygon-21":"#205235","gallery_spirit_of_Wipro-g-1-polygon-1":"#285d3f"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#8db8a0","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_spirit_of_Wipro-g-1-polygon-2":"#7d978a","gallery_spirit_of_Wipro-g-1-polygon-21":"#7d978a","gallery_spirit_of_Wipro-g-1-polygon-1":"#809f8d"}}},"wintrol":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_wintrol-path-1":"#8686c8","gallery_wintrol-polygon-2":"#5f7ea2","gallery_wintrol-polygon-3":"#596e86","gallery_wintrol-polygon-1":"#617ea3"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696"},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_wintrol-path-1":"#5352a2","gallery_wintrol-polygon-2":"#8b8fc2","gallery_wintrol-polygon-3":"#878bbc","gallery_wintrol-polygon-1":"#868abb"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#a3adc8","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_wintrol-path-1":"#b0b1d9","gallery_wintrol-polygon-2":"#8ca2bc","gallery_wintrol-polygon-3":"#8597a7","gallery_wintrol-polygon-1":"#8ca2bc"}}},"foundation":{"default":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null},"category_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_Foundation-polygon-41":"#4c7078","gallery_Foundation-polygon-4":"#4b6f77","gallery_IT_Story-polygon-41":"transparent","gallery_Foundation-polygon-3":"#4c7077","gallery_Foundation-polygon-2":"#496d74","gallery_Foundation-polygon-1":"#4e7077"}},"category_inactive":{"visibility":"hidden","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":"#969696","elementFills":null},"gallery_active":{"visibility":"visible","opacity":1,"fillOverride":null,"textVisibility":"visible","textFill":null,"elementFills":{"gallery_Foundation-polygon-41":"#1d4a56","gallery_Foundation-polygon-4":"#1d4a56","gallery_IT_Story-polygon-41":"transparent","gallery_Foundation-polygon-3":"#1c4955","gallery_Foundation-polygon-2":"#1c4956","gallery_Foundation-polygon-1":"#146174"}},"gallery_inactive":{"visibility":"visible","opacity":1,"fillOverride":"#a1c8d4","textVisibility":"visible","textFill":"#969696","elementFills":{"gallery_Foundation-polygon-41":"#71907f","gallery_Foundation-polygon-4":"#71907f","gallery_IT_Story-polygon-41":"transparent","gallery_Foundation-polygon-3":"#7b929a","gallery_Foundation-polygon-2":"#7c959a","gallery_Foundation-polygon-1":"#7d939a"}}}}'),pois:[{id:"poi-1772036034252",galleryId:"prologue",title:"The Right Fit",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.11_PM.jpg",icon:"star",iconColor:"#654627",positionX:23.63,positionY:55.59,sortOrder:0},{id:"poi-1772181330319",galleryId:"prologue",title:"NATION BUILDING: KHADI WALL",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.23.12_PM.png",icon:"star",iconColor:"#5d3f27",positionX:33.36,positionY:63.52,sortOrder:2},{id:"poi-1772181400936",galleryId:"wipro-experience",title:"SPIRIT OF WIPRO PILLARS",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.36_PM.jpg",icon:"star",iconColor:"#76302f",positionX:44.89,positionY:55.82,sortOrder:3},{id:"poi-1772430171886",galleryId:"factory-experience",title:"FLIP WALL",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.15_PM.jpg",icon:"star",iconColor:"#1c544b",positionX:7.39,positionY:60.55,sortOrder:3},{id:"poi-1772430200870",galleryId:"consumer-care",title:"SANTOOR STORY",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.27_PM.jpg",icon:"star",iconColor:"#c27a34",positionX:7.34,positionY:45.91,sortOrder:4},{id:"poi-1772430204779",galleryId:"consumer-care",title:"YARDLEY",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.34_PM.jpg",icon:"star",iconColor:"#c27b2f",positionX:8.96,positionY:31.12,sortOrder:5},{id:"poi-1772430251324",galleryId:"wintrol",title:"HYDRAULIC RM",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.42_PM.jpg",icon:"star",iconColor:"#2e2e89",positionX:14.66,positionY:36.22,sortOrder:6},{id:"poi-1772430280146",galleryId:"wintrol",title:"INDUSTRIAL AUTOMATION",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.50_PM.jpg",icon:"star",iconColor:"#2c2d88",positionX:23.75,positionY:32.34,sortOrder:7},{id:"poi-1772430333021",galleryId:"it-story",title:"CHRONICLES OF INNOVATION",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.58_PM.jpg",icon:"star",iconColor:"#284b79",positionX:17.92,positionY:46.84,sortOrder:8},{id:"poi-1772430370010",galleryId:"it-story",title:"WIPOD CAR",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.04_PM.jpg",icon:"star",iconColor:"#284979",positionX:27.1,positionY:29.32,sortOrder:9},{id:"poi-1772430398314",galleryId:"it-story",title:"WEDA ROBOT DISPLAY",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.11_PM.jpg",icon:"star",iconColor:"#2a4978",positionX:29.12,positionY:21.5,sortOrder:10},{id:"poi-1772430401054",galleryId:"it-story",title:"WIPRO BRAND REFRESH",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.20_PM.jpg",icon:"star",iconColor:"#2b4978",positionX:37.47,positionY:25.09,sortOrder:11},{id:"poi-1772718082274",galleryId:"prologue",title:"Dr. GUBANOO PREMJI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.31.58_PM.jpg",icon:"star",iconColor:"#634329",positionX:28.65,positionY:57.89,sortOrder:12},{id:"poi-1774375663657",galleryId:"people-garden",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.59_PM.jpg",icon:"star",iconColor:"#644727",positionX:14.3,positionY:56.37,sortOrder:14},{id:"poi-1774375697109",galleryId:"people-garden",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.48_PM.jpg",icon:"star",iconColor:"#80654b",positionX:16.94,positionY:50.51,sortOrder:15},{id:"poi-1774375871086",galleryId:"spirit-of-wipro",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.57_PM.jpg",icon:"star",iconColor:"#0a2e19",positionX:33.2,positionY:28.6,sortOrder:16},{id:"poi-1774375878010",galleryId:"spirit-of-wipro",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.03_PM.jpg",icon:"star",iconColor:"#0b4827",positionX:36.71,positionY:40.16,sortOrder:17},{id:"poi-1774376005681",galleryId:"foundation",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.16_PM.jpg",icon:"star",iconColor:"#094c4d",positionX:40.92,positionY:36.29,sortOrder:18},{id:"poi-1774376010227",galleryId:"foundation",title:"New POI",description:"",imageUrl:"/display/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.23_PM.jpg",icon:"star",iconColor:"#094c4d",positionX:44.62,positionY:33.61,sortOrder:19}],handHintEnabled:{origin:!0,businesses:!0,community:!0}},qy=["entry_room","Lifts","men_s_restroom","restroom","staircase","recording_room","gallery_people_garden","programing_area"],Hy=["gallery_Proluge","entry"];function Vy(e,t,n,r){return"screensaver"===n.screen||"categories"===n.screen?"default":r&&"businesses"===t?"gallery_inactive":"category-view"===n.screen?t===n.activeCategoryId?"category_active":"category_inactive":"gallery-view"===n.screen?e===n.activeGalleryId?"gallery_active":t===n.activeCategoryId?"gallery_inactive":"category_inactive":"default"}function Gy(e,t){const n=e.ownerDocument;if(n){const r=n.getElementById(t);if(r&&e.contains(r))return r}const r=t.replace(/\\/g,"\\\\").replace(/"/g,'\\"');return e.querySelector('[data-editor-id="'+r+'"]')}function Ky(e){var t=e.getAttribute("fill")||"";if(-1!==t.indexOf("url(")){var n=t.match(/url\(\s*#([^)]+)\s*\)/);return n?n[1]:null}try{var r=window.getComputedStyle(e).getPropertyValue("fill")||"";if(-1!==r.indexOf("url(")){var i=r.match(/#([^"')]+)/);return i?i[1]:null}}catch(o){}return null}function Yy(e,t,n,r){var i=Ky(t);if(!i)return!1;var o=e.querySelector("#"+i);if(!o)return!1;var a=i+"__tint_"+r.replace(/[^a-zA-Z0-9_-]/g,"_"),s=e.querySelector("#"+a);if(!s){var l=o.cloneNode(!0);l.setAttribute("id",a),o.parentNode&&o.parentNode.insertBefore(l,o.nextSibling),s=l}for(var c,u,f=(c=n,u=40,"#"+((1<<24)+(Math.min(255,parseInt(c.slice(1,3),16)+u)<<16)+(Math.min(255,parseInt(c.slice(3,5),16)+u)<<8)+Math.min(255,parseInt(c.slice(5,7),16)+u)).toString(16).slice(1)),d=s.querySelectorAll("rect"),p=0;p<d.length;p++)d[p].style.fill=n;for(var h=s.querySelectorAll("path"),y=0;y<h.length;y++)h[y].style.fill=f;return t.style.fill="url(#"+a+")",t.style.opacity="1",!0}function $y(e,t,n){var r=Ey[t];if(r){var i=e.querySelector("#"+r.svgGroupId);if(i){var o=Zy.colorStates[t],a=o?o[n]:null;if(a){if("hidden"===a.visibility){i.style.visibility="hidden",i.style.pointerEvents="none",i.style.filter="none";var s=r.textGroupId?e.querySelector("#"+r.textGroupId):null;s&&(s.style.visibility="visible")}else i.style.visibility="",i.style.opacity=String(a.opacity),i.style.pointerEvents="",i.style.filter="none";if("visible"===a.visibility)for(var l=i.querySelectorAll("g"),c=0;c<l.length;c++)l[c].style.visibility="",a.fillOverride||a.elementFills?l[c].style.opacity="1":l[c].style.opacity="";if(a.fillOverride){var u=i.querySelectorAll("path, polygon, rect, line, polyline, circle");if("transparent"===a.fillOverride)for(var f=0;f<u.length;f++)u[f].style.display="none",u[f].style.fill="",u[f].style.opacity="";else for(var d=0;d<u.length;d++)Ky(u[d])||(u[d].style.display="",u[d].style.fill=a.fillOverride,u[d].style.opacity="1")}else for(var p=i.querySelectorAll("path, polygon, rect, line, polyline, circle"),h=0;h<p.length;h++)p[h].style.fill="",p[h].style.display="",p[h].style.opacity="";if(a.elementFills)for(var y=Object.keys(a.elementFills),g=0;g<y.length;g++){var m=Gy(i,y[g]);if(m||(m=Gy(e,y[g])),m)if("transparent"===a.elementFills[y[g]])m.style.display="none",m.style.fill="",m.style.opacity="";else Yy(e,m,a.elementFills[y[g]],t+"_"+n)||(m.style.display="",m.style.fill=a.elementFills[y[g]],m.style.opacity="1")}var v=r.textGroupId?e.querySelector("#"+r.textGroupId):null;if(v&&a.textVisibility&&(v.style.visibility="hidden"===a.textVisibility?"hidden":"visible"),v&&a.textFill)for(var b=v.querySelectorAll("text, tspan"),w=0;w<b.length;w++)b[w].style.fill=a.textFill}}}}function Qy(e,t,n){for(var r=0;r<t.length;r++){var i=t[r],o=Zy.colorStates[i];if(o){var a=null==n?"category_active":i===n?"gallery_active":"gallery_inactive",s=o[a];if(s&&s.elementFills)for(var l=Object.keys(s.elementFills),c=0;c<l.length;c++){var u=Gy(e,l[c]);if(u)if("transparent"===s.elementFills[l[c]])u.style.display="none",u.style.visibility="hidden";else Yy(e,u,s.elementFills[l[c]],i+"_"+a)?(u.style.display="",u.style.visibility="visible"):(u.style.display="",u.style.visibility="visible",u.style.fill=s.elementFills[l[c]],u.style.opacity="1")}}}}function Xy({viewState:e,onSelectGallery:t,onDeselectGallery:n}){const r=R.useRef(null),[i,o]=R.useState(null),[a,s]=R.useState(null),[l,c]=R.useState(!1),u=zy({screen:e.screen,activeCategoryId:e.activeCategoryId,handHintEnabled:Zy.handHintEnabled}),f=function(e){return"gallery-view"===e.screen&&e.activeCategoryId||"category-view"===e.screen&&e.activeCategoryId?jy[e.activeCategoryId].transform:"categories"===e.screen?Py:Oy}(e);R.useEffect(()=>{const e=r.current;if(!e)return;const t=new AbortController;return fetch(Wy,{signal:t.signal}).then(e=>e.text()).then(n=>{if(t.signal.aborted)return;const r=function(e){const t=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t.querySelectorAll("script, foreignObject").forEach(e=>e.remove()),t.querySelectorAll("*").forEach(e=>{for(let t=e.attributes.length-1;t>=0;t--){const n=e.attributes[t];if(n.name.startsWith("on"))e.removeAttribute(n.name);else if("href"===n.name||"xlink:href"===n.name){const t=n.value.trim();t.startsWith("#")||/^data:image\//i.test(t)||e.removeAttribute(n.name)}}}),t}(n);for(r.setAttribute("preserveAspectRatio","xMidYMid slice");e.firstChild;)e.removeChild(e.firstChild);e.appendChild(r);const i=r.getAttribute("viewBox");if(i){const e=i.split(/[\s,]+/).map(Number);e.length>=4&&o({w:e[2],h:e[3]})}const a=r.querySelector("#Layer_1-2");if(a){const e=Array.from(a.querySelectorAll("text"));for(let t=0;t<e.length;t++)e[t].remove()}const s=r.querySelector("#outline");if(s){s.style.display="block",s.style.opacity="1";const e=r.querySelector("#Proluge");e&&s.parentNode&&e.parentNode===s.parentNode&&s.parentNode.insertBefore(s,e)}var l=r.querySelector("#Layer_21");if(l){l.style.display="none";var c=l.querySelector(".st27");c&&(c.style.display="none");var u=l.nextElementSibling;if(u&&"g"===u.tagName.toLowerCase()&&!u.id){u.setAttribute("data-route-extra","true"),u.style.display="none";var f=u.nextElementSibling;f&&"g"===f.tagName.toLowerCase()&&!f.id&&(f.style.display="none")}}const d=Array.from(r.querySelectorAll("image"));for(let e=0;e<d.length;e++){const t=d[e].getAttribute("href")||d[e].getAttributeNS("http://www.w3.org/1999/xlink","href")||"";!t||t.startsWith("data:")||t.startsWith("http")||d[e].remove()}!function(e){for(let t=0;t<Sy.length;t++){const n=e.querySelector("#"+Sy[t].svgGroupId);if(!n)continue;const r=n.querySelectorAll("path, polygon, rect, line, polyline, circle"),i={};let o=0;for(let e=0;e<r.length;e++){const n=r[e],a=n.id||"";if(a&&!i[a]){i[a]=!0;continue}const s=Sy[t].svgGroupId+"__el_"+o;o++,n.setAttribute("data-editor-id",s),i[s]=!0}}}(r)}).catch(e=>{e instanceof Error&&"AbortError"===e.name||console.error("Failed to load museum map SVG:",e)}),function(){t.abort()}},[]),R.useEffect(function(){"businesses"!==e.activeCategoryId&&c(!1)},[e.activeCategoryId]),R.useEffect(function(){var e=r.current;if(e){var t=l?"block":"none",n=e.querySelector("#Layer_21");n&&(n.style.display=t);for(var i=e.querySelectorAll("[data-route-extra]"),o=0;o<i.length;o++)i[o].style.display=t}},[l]),R.useEffect(function(){if(i){var e=i.w,t=i.h;return n(),window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}function n(){var n=window.innerWidth,r=window.innerHeight,i=Math.max(n/e,r/t),o=e*i,a=t*i;s({w:o,h:a,l:(n-o)/2,t:(r-a)/2})}},[i]),R.useEffect(()=>{const t=r.current;if(!t)return;const n=t.querySelector("#Layer_1-2"),i=t.querySelector("#outline");if("category-view"===e.screen||"gallery-view"===e.screen){n&&(n.style.opacity="0",n.style.pointerEvents="none",n.style.filter=""),i&&(i.style.opacity="1");for(let n=0;n<Sy.length;n++){const r=Sy[n],i=Vy(r.id,r.categoryId,e,l),o=Zy.colorStates[r.id],a=o?o[i]:null,s=t.querySelector("#"+r.svgGroupId);if(s&&a){if("hidden"===a.visibility){s.style.visibility="hidden",s.style.pointerEvents="none",s.style.filter="none";const e=r.textGroupId?t.querySelector("#"+r.textGroupId):null;e&&(e.style.visibility="visible")}else s.style.visibility="",s.style.opacity=String(a.opacity),s.style.pointerEvents="",s.style.filter="none";if("visible"===a.visibility){const e=s.querySelectorAll("g");for(let t=0;t<e.length;t++)e[t].style.visibility="",a.fillOverride||a.elementFills?e[t].style.opacity="1":e[t].style.opacity=""}if(a.fillOverride){const e=s.querySelectorAll("path, polygon, rect, line, polyline, circle");if("transparent"===a.fillOverride)for(let t=0;t<e.length;t++)e[t].style.display="none",e[t].style.fill="",e[t].style.opacity="";else for(let t=0;t<e.length;t++)Ky(e[t])||(e[t].style.display="",e[t].style.fill=a.fillOverride,e[t].style.opacity="1")}else{const e=s.querySelectorAll("path, polygon, rect, line, polyline, circle");for(let t=0;t<e.length;t++)e[t].style.fill="",e[t].style.display="",e[t].style.opacity=""}if(a.elementFills){const e=Object.keys(a.elementFills);for(let n=0;n<e.length;n++){let o=Gy(s,e[n]);if(o||(o=Gy(t,e[n])),o)if("transparent"===a.elementFills[e[n]])o.style.display="none",o.style.fill="",o.style.opacity="";else Yy(t,o,a.elementFills[e[n]],r.id+"_"+i)||(o.style.display="",o.style.fill=a.elementFills[e[n]],o.style.opacity="1")}}const e=r.textGroupId?t.querySelector("#"+r.textGroupId):null;if(e){e.style.visibility="hidden"===a.textVisibility?"hidden":"visible",e.style.pointerEvents="hidden"===a.textVisibility?"none":"";const t=e.querySelectorAll("path, text");if(a.textFill)for(let e=0;e<t.length;e++)t[e].style.fill=a.textFill;else for(let e=0;e<t.length;e++)t[e].style.fill=""}}}if("category-view"===e.screen&&e.activeCategoryId&&!l){var o=Ay[e.activeCategoryId];if(o)Qy(t,o.galleryIds.map(function(e){return e}),null)}if("gallery-view"===e.screen&&e.activeGalleryId&&e.activeCategoryId&&!l){var a=Ay[e.activeCategoryId];if(a)Qy(t,a.galleryIds.map(function(e){return e}),e.activeGalleryId)}for(let n=0;n<qy.length;n++){if("gallery_people_garden"===qy[n]&&"origin"===e.activeCategoryId){const e=t.querySelector("#gallery_people_garden");e&&(e.style.opacity="1",e.style.pointerEvents="",e.style.filter="none");continue}const r=t.querySelector("#"+qy[n]);r&&(r.style.opacity="0",r.style.pointerEvents="none")}for(let e=0;e<Hy.length;e++){const n=t.querySelector("#"+Hy[e]);n&&(n.style.opacity="0",n.style.pointerEvents="none")}}else{n&&(n.style.opacity="",n.style.pointerEvents="",n.style.filter=""),i&&(i.style.opacity="0");for(let n=0;n<Sy.length;n++){const e=t.querySelector("#"+Sy[n].svgGroupId);if(!e)continue;e.style.visibility="",e.style.opacity="",e.style.pointerEvents="",e.style.filter="";const r=Sy[n].textGroupId?t.querySelector("#"+Sy[n].textGroupId):null;if(r){r.style.visibility="",r.style.opacity="",r.style.pointerEvents="";const e=r.querySelectorAll("path, text");for(let t=0;t<e.length;t++)e[t].style.fill=""}const i=e.querySelectorAll("g");for(let t=0;t<i.length;t++)i[t].style.visibility="",i[t].style.opacity="",i[t].style.pointerEvents="";const o=e.querySelectorAll("path, polygon, rect, line, polyline, circle");for(let t=0;t<o.length;t++)o[t].style.fill="",o[t].style.display="",o[t].style.visibility=""}const e=t.querySelector("#outline");if(e){const t=e.querySelectorAll("path, polygon, rect, line, polyline, circle");for(let e=0;e<t.length;e++)t[e].style.fill="",t[e].style.display="",t[e].style.stroke=""}for(let n=0;n<qy.length;n++){const e=t.querySelector("#"+qy[n]);e&&(e.style.opacity="",e.style.pointerEvents="",e.style.filter="")}for(let n=0;n<Hy.length;n++){const e=t.querySelector("#"+Hy[n]);e&&(e.style.opacity="",e.style.pointerEvents="")}}},[e.screen,e.activeCategoryId,e.activeGalleryId,l]);var d=R.useRef(null);R.useEffect(function(){var e=u.flashGalleryId;if(e){var t=r.current;if(t){var n=Ey[e];if(n){var i=Ay[n.categoryId];if(i){var o=i.galleryIds.map(function(e){return e});d.current={catGalleryIds:o};for(var a=0;a<o.length;a++){var s=o[a]===e?"gallery_active":"gallery_inactive";$y(t,o[a],s)}Qy(t,o,e)}}}}else{var l=d.current;if(l){d.current=null;var c=r.current;if(c){for(var f=0;f<l.catGalleryIds.length;f++)$y(c,l.catGalleryIds[f],"category_active");Qy(c,l.catGalleryIds,null)}}}},[u.flashGalleryId]);const p=Zy.pois.filter(t=>{if("gallery-view"===e.screen&&e.activeGalleryId)return t.galleryId===e.activeGalleryId;if("category-view"===e.screen&&e.activeCategoryId){const n=Ay[e.activeCategoryId];return!!n&&-1!==n.galleryIds.indexOf(t.galleryId)}return!1});return _e.jsxs("div",{className:"museum-map","data-screen":e.screen,onPointerUp:function(){"gallery-view"===e.screen&&n&&n()},children:[_e.jsx("img",{className:"museum-map__bg-layer",src:"/display/templates/custom08/elements/base-map-background.svg",alt:""}),_e.jsxs("div",{className:"museum-map__transform-layer",style:{transform:f},children:[_e.jsx("div",{className:"museum-map__svg-container",ref:r,onPointerDown:function(n){if("category-view"===e.screen&&t)for(var i=n.target,o=r.current;i&&i!==o;){if(i.id){var a=Sy.find(function(e){return e.svgGroupId===i.id});if(a)return void(a.categoryId===e.activeCategoryId&&t(a.id))}i=i.parentElement}}}),p.length>0&&a&&_e.jsx("div",{className:"museum-map__poi-layer",style:{width:a.w+"px",height:a.h+"px",left:a.l+"px",top:a.t+"px"},children:p.map(t=>{var n="gallery-view"===e.screen||null!=u.flashGalleryId&&t.galleryId===u.flashGalleryId;return _e.jsxs("div",{className:"museum-map__poi"+(n?" museum-map__poi--gallery-view":""),style:{left:t.positionX+"%",top:t.positionY+"%"},title:t.title,children:[n&&t.imageUrl&&_e.jsx("div",{className:"museum-map__poi-photo-card",children:_e.jsx("img",{className:"museum-map__poi-photo",src:t.imageUrl,alt:t.title,draggable:!1,onError:function(e){e.target.style.display="none"}})}),n?_e.jsxs("svg",{className:"museum-map__poi-pin",viewBox:"0 0 52 62",width:"19",height:"23",children:[_e.jsx("path",{d:"M49.96,25.97c0,13.25-23.98,34.13-23.98,34.13,2.17.24-23.98-20.89-23.98-34.13,0-13.25,10.74-23.98,23.98-23.98,13.25,0,23.98,10.74,23.98,23.98Z",fill:t.iconColor}),_e.jsx("polygon",{fill:"#fffdfd",points:"26.04 8.77 30.52 20.1 42.5 20.89 33.33 28.72 36.34 40.58 25.94 34.06 15.61 40.58 18.58 28.71 9.45 20.89 21.43 20.1 26.04 8.77"})]}):_e.jsxs("svg",{viewBox:"0 0 80 80",width:"24",height:"24",children:[_e.jsx("circle",{cx:"40",cy:"40",r:"38",fill:t.iconColor}),_e.jsx("polygon",{fill:"#fffdfd",points:"40 12.75 47.1 30.7 66.08 31.95 51.56 44.37 56.33 63.16 39.85 52.83 23.47 63.16 28.18 44.34 13.72 31.95 32.7 30.7 40 12.75"})]})]},t.id)})}),a&&"businesses"===e.activeCategoryId&&_e.jsx("div",{className:"museum-map__poi-layer",style:{width:a.w+"px",height:a.h+"px",left:a.l+"px",top:a.t+"px",pointerEvents:"none"},children:_e.jsx("img",{className:"museum-map__you-are-here",src:"/display/templates/custom08/elements/map-pin-marker.svg",alt:"You are here",draggable:!1,onPointerDown:function(){c(!0)},onPointerUp:function(){c(!1)},onPointerLeave:function(){c(!1)},onPointerCancel:function(){c(!1)},style:{position:"absolute",left:Ny+"%",top:By+"%",width:"40px",height:"32px",transform:"translate(-50%, -100%)",pointerEvents:"auto",cursor:"pointer",zIndex:-1}})}),u.active&&a&&_e.jsx("div",{className:"museum-map__poi-layer",style:{width:a.w+"px",height:a.h+"px",left:a.l+"px",top:a.t+"px",pointerEvents:"none"},children:_e.jsx(Uy,{positionX:u.positionX,positionY:u.positionY,isTapping:u.isTapping})})]})]})}function Jy({visible:e,onTap:t}){return e?_e.jsxs("div",{className:"screensaver",onPointerUp:t,children:[_e.jsx("img",{className:"screensaver__layer screensaver__bg",src:"/display/templates/custom08/elements/idle-screen-bg.svg",alt:"",draggable:!1}),_e.jsx("img",{className:"screensaver__layer screensaver__map",src:"/display/templates/custom08/elements/idle-screen-map.svg",alt:"",draggable:!1}),_e.jsx("img",{className:"screensaver__layer screensaver__text",src:"/display/templates/custom08/elements/idle-screen-text.svg",alt:"",draggable:!1})]}):null}var eg={origin:"/display/templates/custom08/elements/nav-circle-galleries-1-3.svg",businesses:"/display/templates/custom08/elements/nav-circle-galleries-4-7.svg",community:"/display/templates/custom08/elements/nav-circle-galleries-8-9.svg"};function tg(e){var t=R.useRef(null);return R.useEffect(function(){var n=t.current;if(n&&e.svgSrc){var r=new AbortController;return fetch(e.svgSrc,{signal:r.signal}).then(function(e){return e.text()}).then(function(t){if(!r.signal.aborted&&n){var i=function(e,t){for(var n=e.replace(/id="gradient"/g,'id="gradient-'+t+'"').replace(/url\(#gradient\)/g,"url(#gradient-"+t+")"),r=["circle-stroke","label","ls-02","ls-0","ls-n02","ls-01"],i=0;i<r.length;i++){var o=r[i],a=o+"-"+t;n=(n=n.replace(new RegExp("\\."+o.replace("-","\\-")+"(\\s*[{,])","g"),"."+a+"$1")).replace(new RegExp('(class="[^"]*?)\\b'+o+"\\b","g"),"$1"+a)}return n}(t,e.categoryId),o=(new DOMParser).parseFromString(i,"image/svg+xml").documentElement;o.setAttribute("class","category-circles__circle-svg");var a=o.querySelector("circle");if(a){a.classList.add("category-circles__spinning-ring");var s=a.getAttribute("cx")||"0",l=a.getAttribute("cy")||"0";a.style.transformOrigin=s+"px "+l+"px"}for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(o)}}).catch(function(e){e instanceof Error&&e.name}),function(){r.abort()}}},[e.svgSrc,e.categoryId]),_e.jsx("button",{className:"category-circles__item touch-press",onPointerUp:e.onSelect,"aria-label":"Explore "+e.label,tabIndex:e.visible?0:-1,children:_e.jsx("span",{className:"category-circles__ring",ref:t})})}function ng({visible:e,onSelect:t}){return _e.jsx("div",{className:"category-circles","data-visible":e?"true":"false",children:Ty.map(function(n){var r=eg[n.id];return _e.jsx(tg,{categoryId:n.id,svgSrc:r,label:n.label,visible:e,onSelect:function(){t(n.id)}},n.id)})})}function rg({visible:e,onTap:t}){return e?_e.jsx("button",{className:"back-button touch-press",onPointerUp:t,children:_e.jsx("img",{className:"back-button__icon",src:"/display/templates/custom08/elements/back-button.svg",alt:"Back",draggable:!1})}):null}function ig(e){const{tx:t,ty:n,scale:r}=function(e){const t=e.match(/translate\(\s*([^,]+),\s*([^)]+)\)/),n=e.match(/scale\(\s*([^)]+)\)/);return{tx:t?parseFloat(t[1]):0,ty:t?parseFloat(t[2]):0,scale:n?parseFloat(n[1]):1}}(e);return{left:50+(-50-t)/r,top:50+(-50-n)/r,width:100/r,height:100/r}}function og({visible:e,activeCategoryId:t,activeGalleryId:n}){const r=R.useRef(null);R.useEffect(function(){const e=r.current;if(!e)return;const t=new AbortController;return fetch(Wy,{signal:t.signal}).then(function(e){return e.text()}).then(function(n){if(t.signal.aborted)return;const r=function(e){const t=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement,n=t.querySelectorAll("script, foreignObject");for(let a=0;a<n.length;a++){const e=n[a].parentNode;e&&e.removeChild(n[a])}const r=t.querySelectorAll("*");for(let a=0;a<r.length;a++){const e=r[a];for(let t=e.attributes.length-1;t>=0;t--)e.attributes[t].name.startsWith("on")&&e.removeAttribute(e.attributes[t].name)}const i=t.querySelectorAll("text");for(let a=0;a<i.length;a++){const e=i[a].parentNode;e&&e.removeChild(i[a])}const o=t.querySelectorAll("image");for(let a=0;a<o.length;a++){const e=o[a].getAttribute("href")||o[a].getAttributeNS("http://www.w3.org/1999/xlink","href")||"";if(e&&!e.startsWith("data:")&&!e.startsWith("http")){const e=o[a].parentNode;e&&e.removeChild(o[a])}}return t}(n);for(r.setAttribute("preserveAspectRatio","xMidYMid meet");e.firstChild;)e.removeChild(e.firstChild);e.appendChild(r);for(let e=0;e<Sy.length;e++){const t=r.querySelector("#"+Sy[e].svgGroupId);t&&t.setAttribute("data-gallery-id",Sy[e].id)}}).catch(function(e){e instanceof Error&&"AbortError"===e.name||console.error("MiniMap: Failed to load SVG:",e)}),function(){t.abort()}},[]),R.useEffect(function(){const e=r.current;if(e){for(let r=0;r<Sy.length;r++){const i=Sy[r],o=e.querySelector("#"+i.svgGroupId);o&&(o.style.opacity="",o.style.filter="",n?i.id===n?(o.style.opacity="1",o.style.filter="none"):i.categoryId===t?(o.style.opacity="0.7",o.style.filter="none"):(o.style.opacity="0.5",o.style.filter="grayscale(1)"):t&&(i.categoryId===t?(o.style.opacity="1",o.style.filter="none"):(o.style.opacity="0.5",o.style.filter="grayscale(1)")))}for(var i=["entry_room","Lifts","men_s_restroom","restroom","staircase","recording_room","programing_area","gallery_Proluge","entry","Layer_1-2"],o=0;o<i.length;o++){var a=e.querySelector("#"+i[o]);a&&(t?(a.style.opacity="0.5",a.style.filter="grayscale(1)"):(a.style.opacity="",a.style.filter=""))}}},[t,n]);const i=t?jy[t].transform:"translate(0px, 0px) scale(1)",o=R.useMemo(()=>ig(i),[i]),a=t?Ay[t].color:void 0;return _e.jsx("div",{className:"mini-map",style:{display:e?"":"none"},children:_e.jsxs("div",{className:"mini-map__frame",children:[_e.jsx("div",{className:"mini-map__svg-layer",ref:r,style:{pointerEvents:"none"}}),_e.jsx("div",{className:"mini-map__viewport-rect",style:{left:o.left+"%",top:o.top+"%",width:o.width+"%",height:o.height+"%",...a?{"--viewport-color":a}:{}}})]})})}function ag({galleryId:e,visible:t}){if(!t||!e)return null;const n=Ey[e];if(!n)return null;const r=Ly[e]||{top:"50%",left:"48px"};return _e.jsxs("div",{className:"gallery-card",style:{"--gallery-color":n.cardColor,top:r.top,left:r.left},children:[_e.jsxs("svg",{className:"gallery-card__star",viewBox:"0 0 24 24",children:[_e.jsx("circle",{cx:"12",cy:"12",r:"11",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),_e.jsx("path",{d:"M12 2 L14.25 8.91 L21.51 8.91 L15.63 13.18 L17.88 20.09 L12 15.82 L6.12 20.09 L8.37 13.18 L2.49 8.91 L9.75 8.91 Z",fill:"currentColor",transform:"translate(12,12) scale(0.65) translate(-12,-12)"})]}),_e.jsx("h2",{className:"gallery-card__title",children:n.name}),_e.jsx("p",{className:"gallery-card__desc",children:n.description})]})}var sg={origin:{viewingTime:"20-25",galleries:[{num:1,name:"The Wipro Ethos",color:"#C96D69"},{num:2,name:"A Very Small Company",color:"#A67C5A"},{num:3,name:"People Garden",color:"#A67C5A"}]},businesses:{viewingTime:"40-45",galleries:[{num:4,name:"A Factory Experience",color:"#639A93"},{num:5,name:"Wipro Consumer Care & Lighting Group",color:"#FFC474"},{num:6,name:"Wipro Infrastructure Engineering",color:"#7877C9"},{num:7,name:"Wipro Ltd.",color:"#6393D7"}]},community:{viewingTime:"20-25",galleries:[{num:8,name:"Spirit of Wipro",color:"#57B276"},{num:9,name:"Azim Premji Foundation",color:"#5CB8D2"}]}};function lg({visible:e,categoryId:t}){if(!e||!t)return null;var n=Ry[t],r=sg[t];if(!r)return null;var i={top:n.top};return n.right?i.right=n.right:n.left&&(i.left=n.left),_e.jsxs("div",{className:"category-info-panel"+(n.right?" category-info-panel--right":""),style:i,children:[_e.jsxs("div",{className:"cip__viewing-time",children:[_e.jsx("span",{className:"cip__viewing-time-label",children:"Viewing Time: "}),_e.jsx("span",{className:"cip__viewing-time-value",children:r.viewingTime}),_e.jsx("span",{className:"cip__viewing-time-unit",children:" MIN"})]}),_e.jsx("div",{className:"cip__gallery-list",children:r.galleries.map(function(e){return _e.jsxs("div",{className:"cip__gallery-row",children:[_e.jsx("span",{className:"cip__gallery-label",children:"GALLERY"}),_e.jsxs("span",{className:"cip__gallery-num",children:[" ",e.num]}),_e.jsx("span",{className:"cip__gallery-colon",children:": "}),_e.jsx("span",{className:"cip__gallery-name",style:{color:e.color},children:e.name})]},e.num)})}),_e.jsxs("div",{className:"cip__highlights",children:[_e.jsx("span",{className:"cip__highlights-text",children:"Gallery Highlights"}),_e.jsxs("svg",{className:"cip__highlights-icon",viewBox:"0 0 32 32",width:"24",height:"24",children:[_e.jsx("circle",{cx:"16",cy:"16",r:"14",fill:"none",stroke:"#494949",strokeWidth:"1"}),_e.jsx("polygon",{fill:"none",stroke:"#494949",strokeWidth:"1",points:"16,5 19,13 27,13 21,18 23,26 16,22 9,26 11,18 5,13 13,13"})]})]})]})}class cg extends R.Component{constructor(e){super(e),t(this,"handleReset",()=>{this.setState({hasError:!1})}),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Kiosk Error:",e,t)}render(){return this.state.hasError?_e.jsx("div",{className:"error-boundary",onPointerUp:this.handleReset,children:_e.jsxs("div",{className:"error-boundary__content",children:[_e.jsx("h2",{className:"error-boundary__title",children:"Something went wrong"}),_e.jsx("p",{className:"error-boundary__message",children:"Tap anywhere to restart the experience"})]})}):this.props.children}}const ug={"app01-monophone-audio":Ul,"app01-monophone-audio-multi":Ul,"app02-monophone-video":function(e){var t=Ee(),n=e.config,r=n.triggerMode||"hardware",i="hardware"===r||"both"===r,o="touch"===r||"both"===r,a=n.idleType||"image",s="image"===a&&!!n.idleImageUrl,l="video"===a&&!!n.idleVideoUrl,c=Dl({controllerId:n.controllerId,enabled:i}),[u,f]=R.useState(!1),[d,p]=R.useState(!1),[h,y]=R.useState(!1),[g,m]=R.useState(!1),v=R.useRef(null),b=!g&&(i&&c.isPickedUp||o&&h||u),{setStatus:w,setCurrentContent:_}=zl({deviceId:re().deviceId,templateType:"video-sync",instanceId:e.instanceId}),x=R.useRef(null),S=R.useRef(null),k=R.useRef(!1),E=R.useRef(!0);R.useEffect(function(){return E.current=!0,function(){E.current=!1,x.current&&(x.current.pause(),x.current.currentTime=0),null!==v.current&&(clearTimeout(v.current),v.current=null)}},[]);var I=R.useCallback(function(){var e=x.current;if(e){var t;e.currentTime=0;try{t=e.play()}catch(n){return}t&&"function"==typeof t.then?t.then(function(){E.current&&(k.current=!0)}).catch(function(e){console.error("[VideoSync] Video play failed:",e)}):k.current=!0}},[]),C=R.useCallback(function(){var e=x.current;e&&(e.pause(),k.current=!1)},[]);R.useEffect(function(){b?(S.current&&S.current.pause(),I()):(k.current&&C(),S.current&&l&&S.current.play().catch(function(){}))},[b,I,C,l]),R.useEffect(function(){b?(w("playing"),_(n.videoUrl)):(w("idle"),_(void 0))},[b,n.videoUrl,w,_]);var T=R.useCallback(function(){w("error"),t.send("error",{type:"playback",message:"Video failed to load: "+n.videoUrl})},[n.videoUrl,w]),M=R.useCallback(function(){k.current=!1,o&&y(!1),f(!1);var e=n.resetDelay||0;e>0&&(m(!0),v.current=setTimeout(function(){v.current=null,E.current&&m(!1)},1e3*e))},[o,n.resetDelay]),A=R.useCallback(function(){o&&y(!h)},[o,h]),O={position:"relative",width:"100%",height:"100%",backgroundColor:n.backgroundColor||"#000",overflow:"hidden",cursor:o?"pointer":"default"},P={position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:n.fit||"cover",transform:"translateZ(0)"},j=n.transitionDuration||600,L={...P,opacity:b?0:1,transition:"opacity "+j+"ms ease-in-out",zIndex:2},N={...P,opacity:b?1:0,transition:"opacity "+j+"ms ease-in-out",zIndex:3};return _e.jsxs("div",{style:O,onClick:A,children:[s&&_e.jsx("img",{src:n.idleImageUrl,alt:"Idle poster",style:L,draggable:!1}),l&&_e.jsx("video",{ref:S,src:n.idleVideoUrl,style:L,playsInline:!0,autoPlay:!0,muted:!1,loop:!0,preload:"auto"}),n.titleText&&!b&&_e.jsx("div",{style:{position:"absolute",bottom:"10%",left:"50%",transform:"translateX(-50%)",zIndex:4,color:"#ffffff",fontSize:"28px",fontWeight:"600",textAlign:"center",textShadow:"0 2px 8px rgba(0,0,0,0.7)",fontFamily:"system-ui, sans-serif",maxWidth:"80%",opacity:b?0:1,transition:"opacity "+j+"ms ease-in-out",pointerEvents:"none"},children:n.titleText}),_e.jsx("video",{ref:x,src:n.videoUrl,style:N,playsInline:!0,muted:!1,preload:"auto",onError:T,onEnded:M}),n.idle&&_e.jsx(Re,{isIdle:!b,idle:n.idle}),o&&!b&&_e.jsx("div",{style:{position:"absolute",bottom:"40px",left:"50%",transform:"translateX(-50%)",zIndex:10,color:"rgba(255,255,255,0.7)",fontSize:"14px",fontFamily:"system-ui, sans-serif",textAlign:"center",animation:"pulse 2s ease-in-out infinite",pointerEvents:"none"},children:"Tap to play"}),_e.jsx(Yl,{show:d,onToggle:function(){p(!d)},isTriggered:u,onTrigger:function(){f(!0)},onStop:function(){f(!1)}})]})},"app03-touch-carousel":function(e){var t,n,r,i,o,a,s,l,c,u,f,d,p,h,y,g=Ee(),m=e.config,v=m.idle&&m.idle.url,b="slideshow"===m.displayMode,w="document-viewer"===m.displayMode,_=(t={carouselTimeout:1e3*(m.carouselTimeout||5),inactivityTimeout:1e3*(m.inactivityTimeout||30)},n=t&&t.carouselTimeout||5e3,r=t&&t.inactivityTimeout||3e4,i=R.useState(!1),o=i[0],a=i[1],s=R.useState(!0),l=s[0],c=s[1],u=R.useRef(null),f=R.useRef(null),d=R.useRef(!1),p=R.useCallback(function(){u.current&&(clearTimeout(u.current),u.current=null),f.current&&(clearTimeout(f.current),f.current=null)},[]),h=R.useCallback(function(){f.current&&clearTimeout(f.current),f.current=setTimeout(function(){c(!0),f.current=null},r)},[r]),y=R.useCallback(function(){u.current&&clearTimeout(u.current),u.current=setTimeout(function(){d.current?y():(a(!1),u.current=null,h())},n)},[n,h]),{isCarouselVisible:o,isAutoPlaying:l,showCarousel:R.useCallback(function(){p(),a(!0),c(!1),y()},[p,y]),resetCarouselTimer:R.useCallback(function(){y()},[y]),hideCarousel:R.useCallback(function(){p(),a(!1),h()},[p,h]),setTouchActive:R.useCallback(function(e){d.current=e,e||y()},[y])}),x=Xl({playlistId:m.playlistId,defaultDuration:m.defaultDuration||8,shuffle:m.shuffle||!1,loop:void 0===m.loop||m.loop,autoAdvance:!w&&(!!b||_.isAutoPlaying)}),S=re().idleTimeout||3e5,k=Jl({enabled:Boolean(v),schedule:m.schedule,inactivityTimeout:S,hasContent:x.items.length>0,hasContentError:Boolean(x.error)}),{setStatus:E,setCurrentContent:I}=zl({deviceId:re().deviceId,templateType:"slideshow",instanceId:e.instanceId});ec({onPlaylistUpdated:function(e){e===m.playlistId&&x.refresh()}}),R.useEffect(function(){v&&k.isIdle?E("idle"):x.currentItem?(E("playing"),I(x.currentItem.id)):x.isLoading?E("loading"):E("idle")},[v,k.isIdle,x.currentItem,x.isLoading,E,I]),R.useEffect(function(){v&&g.isIdle&&k.deactivate("command")},[g.isIdle]),R.useEffect(function(){v&&!g.isIdle&&k.isIdle&&"command"===k.idleReason&&k.activate()},[g.isIdle]);var C=R.useCallback(function(){(b||_.isAutoPlaying)&&x.onItemComplete()},[_.isAutoPlaying,x.onItemComplete]),T=R.useCallback(function(e){E("error"),g.send("error",{type:"playback",message:e.message})},[E,g]),M=R.useCallback(function(){_.showCarousel()},[_.showCarousel]),A=R.useCallback(function(e){x.goTo(e),_.resetCarouselTimer()},[x.goTo,_.resetCarouselTimer]),O=R.useCallback(function(){v&&k.activate()},[v,k]);if(x.isLoading)return null;var P=m.fit||"cover",j=m.backgroundColor||"#000";if(w)return 0===x.items.length?null:_e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[_e.jsx(rc,{items:x.items,backgroundColor:j,fit:P,onActivity:O}),v&&m.idle&&_e.jsx(Re,{isIdle:k.isIdle,idle:m.idle})]});if(!x.currentItem)return null;var L=x.currentItem;return _e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[_e.jsx("div",{style:{width:"100%",height:"100%"},onTouchStart:b?void 0:M,onMouseDown:b?void 0:M,children:_e.jsx(Ql,{contentKey:L.id+"-"+x.currentIndex,transition:m.transition||"fade",transitionDuration:m.transitionDuration||800,children:"video"===L.type?_e.jsx(je,{src:L.url,muted:!1,fit:P,backgroundColor:j,loop:!1,autoPlay:!0,onEnded:C,onError:T}):_e.jsx($l,{src:L.url,fit:P,backgroundColor:j})})}),v&&m.idle&&_e.jsx(Re,{isIdle:k.isIdle,idle:m.idle}),!b&&_e.jsx(tc,{items:x.items,currentIndex:x.currentIndex,isVisible:_.isCarouselVisible,thumbSize:m.carouselHeight||80,onThumbnailTap:A,onInteraction:_.resetCarouselTimer,onTouchActiveChange:_.setTouchActive})]})},"app04-media-loop":function(e){var t=Ee(),n=e.config,r=n.idle&&n.idle.url,i=re().idleTimeout||3e5,o=Jl({enabled:Boolean(r),schedule:n.schedule,inactivityTimeout:i,hasContent:Boolean(n.videoUrl)}),{setStatus:a,setCurrentContent:s}=zl({deviceId:re().deviceId,templateType:"video-loop",instanceId:e.instanceId});R.useEffect(function(){r&&o.isIdle?a("idle"):(a("playing"),s(n.videoUrl))},[r,o.isIdle,n.videoUrl,a,s]),R.useEffect(function(){r&&t.isIdle&&o.deactivate("command")},[t.isIdle]),R.useEffect(function(){r&&!t.isIdle&&o.isIdle&&"command"===o.idleReason&&o.activate()},[t.isIdle]);var l=R.useCallback(function(e){a("error"),t.send("error",{type:"playback",message:e.message})},[a,t]);return _e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[_e.jsx(je,{src:n.videoUrl,muted:!1,volume:void 0!==n.volume?n.volume:100,fit:n.fit||"cover",backgroundColor:n.backgroundColor||"#000",loop:!0,autoPlay:!0,onError:l}),r&&n.idle&&_e.jsx(Re,{isIdle:o.isIdle,idle:n.idle})]})},"app05-interactive-map":function(e){Ee();var t=e.config,n=Jl({enabled:!0,inactivityTimeout:t.inactivityTimeout});zl({deviceId:re().deviceId,templateType:"nav-map",instanceId:e.instanceId});var r=R.useCallback(function(){n.resetInactivityTimer()},[n.resetInactivityTimer]);return _e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[_e.jsx(ic,{mapImageUrl:t.mapImageUrl,hotspots:t.hotspots,onInteraction:r}),t.idle&&_e.jsx(Re,{isIdle:n.isIdle,idle:t.idle})]})},"app06-media-browser":function(e){Ee();var t=e.config,[n,r]=R.useState(null),[i,o]=R.useState(null),a=Xl({playlistId:t.playlistId,defaultDuration:5,shuffle:!1,loop:!1,enabled:!0}),s=Jl({enabled:!0,inactivityTimeout:t.inactivityTimeout,hasContent:a.items.length>0,hasContentError:null!==a.error}),l=zl({deviceId:t.deviceId,templateType:t.templateType,instanceId:t.instanceId,enabled:!0});ec({enabled:!0,onPlaylistUpdated:function(e){e===t.playlistId&&a.refresh()}}),R.useEffect(function(){s.isIdle?l.setStatus("idle"):a.isLoading?l.setStatus("loading"):a.error?l.setStatus("error"):l.setStatus("playing")},[s.isIdle,a.isLoading,a.error]),R.useEffect(function(){n?l.setCurrentContent(n):l.setCurrentContent(void 0)},[n]);var c=a.items;i&&(c=a.items.filter(function(e){return(e.metadata&&e.metadata.category)===i}));var u=R.useCallback(function(e){r(e),s.resetInactivityTimer()},[s]),f=R.useCallback(function(){r(null),s.resetInactivityTimer()},[s]),d=R.useCallback(function(e){o(e),s.resetInactivityTimer()},[s]);if(a.error){return L.createElement("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"#000",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"18px",fontFamily:"system-ui, -apple-system, sans-serif"}},"Failed to load media gallery")}if(a.isLoading){return L.createElement("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"#000",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"18px",fontFamily:"system-ui, -apple-system, sans-serif"}},"Loading media...")}return L.createElement("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"#000",overflow:"hidden"}},L.createElement(oc,{items:c,categories:t.categories,selectedCategory:i,onItemSelect:u,onCategoryChange:d}),n&&L.createElement(ac,{items:a.items,selectedItemId:n,onClose:f}),L.createElement(Re,{isIdle:s.isIdle,idle:t.idle}))},proximity:function(e){var t=Ee(),n=e.config,r=n.triggerMode||"hardware",i="hardware"===r||"both"===r,o="touch"===r||"both"===r,a=function(e){var t=e.controllerId,n=void 0===e.enabled||e.enabled,r=e.activationDistance||100,i=e.deactivationDelay||3e3,[o,a]=R.useState(!1),[s,l]=R.useState(null),c=R.useRef(null),u=Fl({controllerId:t,enabled:n});return R.useEffect(function(){if(u.lastEvent){var e=u.lastEvent;if("proximity:enter"===e.type){var t=void 0!==e.distance?e.distance:0;l(t),t<=r&&(null!==c.current&&(clearTimeout(c.current),c.current=null),a(!0))}else"proximity:leave"===e.type&&(l(null),null!==c.current&&clearTimeout(c.current),c.current=setTimeout(function(){a(!1),c.current=null},i))}},[u.lastEvent,r,i]),R.useEffect(function(){return function(){null!==c.current&&clearTimeout(c.current)}},[]),{isPresent:o,distance:s,isConnected:u.isConnected}}({controllerId:n.controllerId,activationDistance:n.activationDistance,deactivationDelay:n.deactivationDelay,enabled:i}),[s,l]=R.useState(!1),c=i&&a.isPresent||o&&s,u=Xl({playlistId:n.playlistId||"",defaultDuration:5,shuffle:!1,loop:!0,enabled:"slideshow"===n.contentType}),{setStatus:f,setCurrentContent:d}=zl({deviceId:re().deviceId,templateType:"proximity",instanceId:e.instanceId});ec({onPlaylistUpdated:function(e){"slideshow"===n.contentType&&e===n.playlistId&&u.refresh()}}),R.useEffect(function(){c?(f("playing"),"video"===n.contentType&&n.videoUrl?d(n.videoUrl):"image"===n.contentType&&n.imageUrl?d(n.imageUrl):"slideshow"===n.contentType&&u.currentItem?d(u.currentItem.id):d(void 0)):(f("idle"),d(void 0))},[c,n.contentType,n.videoUrl,n.imageUrl,u.currentItem,f,d]);var p=R.useCallback(function(){o&&!i&&l(!1)},[o,i]),h=R.useCallback(function(e){f("error"),t.send("error",{type:"playback",message:e.message})},[f]),y=R.useCallback(function(){u.onItemComplete()},[u.onItemComplete]),g=R.useCallback(function(){o&&l(function(e){return!e})},[o]),m={position:"relative",width:"100%",height:"100%",backgroundColor:n.backgroundColor||"#000",overflow:"hidden",transform:"translateZ(0)",cursor:o?"pointer":"default"},v={position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:c?1:0,transition:"opacity 600ms ease-in-out",pointerEvents:c?"auto":"none",zIndex:c?5:1,transform:"translateZ(0)"};return _e.jsxs("div",{style:m,onClick:g,children:[_e.jsx("div",{style:v,children:function(){if("video"===n.contentType&&n.videoUrl)return _e.jsx(je,{src:n.videoUrl,muted:!1,fit:n.fit||"cover",backgroundColor:n.backgroundColor||"#000",loop:!0,autoPlay:!0,onEnded:p,onError:h});if("image"===n.contentType&&n.imageUrl)return _e.jsx($l,{src:n.imageUrl,fit:n.fit||"cover",backgroundColor:n.backgroundColor||"#000"});if("slideshow"===n.contentType&&u.currentItem){var e=u.currentItem;return _e.jsx(Ql,{contentKey:e.id+"-"+u.currentIndex,transition:"fade",transitionDuration:500,children:"video"===e.type?_e.jsx(je,{src:e.url,muted:!1,fit:n.fit||"cover",backgroundColor:n.backgroundColor||"#000",loop:!1,autoPlay:!0,onEnded:y,onError:h}):_e.jsx($l,{src:e.url,fit:n.fit||"cover",backgroundColor:n.backgroundColor||"#000"})})}return null}()}),n.idle&&_e.jsx(Re,{isIdle:!c,idle:n.idle}),o&&!c&&_e.jsx("div",{style:{position:"absolute",bottom:"40px",left:"50%",transform:"translateX(-50%)",zIndex:10,color:"rgba(255,255,255,0.7)",fontSize:"14px",fontFamily:"system-ui, sans-serif",textAlign:"center",animation:"pulse 2s ease-in-out infinite",pointerEvents:"none"},children:"Tap to activate"})]})},"touch-scroll":function(e){Ee();var t=e.config,n=Boolean(t.playlistId),r=R.useState([]),i=r[0],o=r[1],a=R.useState(!n),s=a[0],l=a[1],c=R.useState(null),u=c[0],f=c[1],d=Xl({playlistId:t.playlistId||"",defaultDuration:0,shuffle:!1,loop:!1,enabled:n,autoAdvance:!1}),p=Jl({enabled:Boolean(t.idle&&t.idle.url||t.resetToFirstFrame),inactivityTimeout:t.inactivityTimeout||3e4,hasContent:n?d.items.length>0:i.length>0,hasContentError:n?Boolean(d.error):null!==u}),{setStatus:h}=zl({deviceId:re().deviceId,templateType:"touch-scroll",instanceId:e.instanceId}),y=R.useCallback(async function(){if(!n&&t.contentUrl)try{l(!0),f(null);var e=await fe(t.contentUrl,{method:"GET",headers:{"Content-Type":"application/json"}},1e4);if(!e.ok)throw new Error("Failed to fetch content: "+e.status);var r=await e.json();if(!Array.isArray(r))throw new Error("Invalid content format");o(r)}catch(a){var i=a instanceof Error?a.message:"Failed to load content";f(i)}finally{l(!1)}},[t.contentUrl,n]);R.useEffect(function(){n||y()},[y,n]);var g=[];n&&(g=d.items.map(function(e,t){return{id:e.id||String(t),type:"video"===e.type?"video":"image",content:e.url,caption:void 0}}));var m=n?g:i,v=n?d.isLoading:s,b=n?Boolean(d.error):null!==u,w=n?d.error?d.error.message:"":u||"";return ec({onPlaylistUpdated:function(e){n&&e===t.playlistId&&d.refresh()},onConfigUpdated:function(){n||y()}}),R.useEffect(function(){h(v?"loading":b?"error":"playing")},[v,b,h]),v?_e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:t.backgroundColor||"#000",color:"#fff",fontSize:"2rem",fontFamily:"system-ui"},children:"Loading content..."}):b?_e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:t.backgroundColor||"#000",color:"#f44",fontSize:"1.5rem",fontFamily:"system-ui",textAlign:"center",padding:"2rem"},children:_e.jsxs("div",{children:[_e.jsx("div",{style:{marginBottom:"1rem"},children:"Error loading content"}),_e.jsx("div",{style:{fontSize:"1rem",color:"#aaa"},children:w})]})}):_e.jsxs("div",{style:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},children:[_e.jsx(sc,{content:m,autoScroll:t.autoScroll,autoScrollSpeed:t.autoScrollSpeed,inactivityTimeout:t.inactivityTimeout||3e4,onInteraction:p.resetInactivityTimer,backgroundColor:t.backgroundColor,fit:t.fit,resetToFirstFrame:t.resetToFirstFrame,isIdle:p.isIdle}),t.idle&&t.idle.url&&_e.jsx(Re,{isIdle:p.isIdle,idle:t.idle})]})},"multi-screen":function(e){Ee();var t=e.config,n=t.exhibitId,r=t.screenIndex,i=t.totalScreens,o=t.contentType,a=t.videoUrl||"",s=t.imageUrl||"",l=t.playlistId||"",c=t.fit||"cover",u=t.backgroundColor||"#000",f=function(e){var t=e.exhibitId,n=e.screenIndex,r=e.enabled,i=0===n,o=R.useRef(null),a=R.useRef(new Set),s=R.useCallback(function(e,o){if(r&&i){var a={exhibitId:t,screenIndex:n,action:e,data:o,timestamp:Date.now()};he.send("exhibit:sync",a)}},[r,i,t,n]);return R.useEffect(function(){if(r&&!i){var e=function(e){var n=e.payload;if(n&&n.exhibitId===t){var r={action:n.action||"",data:n.data||{},timestamp:n.timestamp||Date.now(),screenIndex:n.screenIndex||0};o.current=r,a.current.forEach(function(e){try{e(r)}catch(t){console.error("[ExhibitSync] Handler error:",t)}})}};return he.on("exhibit:sync",e),function(){he.off("exhibit:sync",e)}}},[r,i,t]),{isLeader:i,lastSync:o.current,sendSync:s}}({exhibitId:n,screenIndex:r,enabled:!0}),d=f.isLeader,p=f.sendSync,h=f.lastSync,y=R.useState(!1),g=y[0],m=y[1];R.useEffect(function(){"1"===new URLSearchParams(window.location.search).get("debug")&&m(!0)},[]);var v=R.useState(0),b=v[0],w=v[1],_=Xl({playlistId:l,defaultDuration:5,shuffle:!1,loop:!0,enabled:"slideshow"===o}),x=_.currentIndex,S=_.currentItem,k=_.goTo,E=_.onItemComplete;ec({onPlaylistUpdated:function(e){"slideshow"===o&&e===l&&_.refresh()}});var I=zl({deviceId:t.deviceId,templateType:"multi-screen",instanceId:e.instanceId});R.useEffect(function(){I.setStatus("playing"),I.setCurrentContent("video"===o?a:"image"===o?s:l)},[o,a,s,l,I]),R.useEffect(function(){if(d){var e=setInterval(function(){if("video"===o){var e=document.querySelector("video");e&&p("state-update",{isPlaying:!e.paused,currentTime:e.currentTime})}else"slideshow"===o&&p("state-update",{currentIndex:x})},5e3);return function(){clearInterval(e)}}},[d,o,p,x]),R.useEffect(function(){d&&"slideshow"===o&&p("transition",{currentIndex:x})},[d,o,p,x]),R.useEffect(function(){if(!d&&h){var e=h.action,t=h.data;if("video"===o){var n=document.querySelector("video");if(!n)return;if("play"===e)try{n.play()}catch(r){}else if("pause"===e)n.pause();else if("seek"===e&&"number"==typeof t.currentTime)n.currentTime=t.currentTime;else if("state-update"===e&&("number"==typeof t.currentTime&&Math.abs(n.currentTime-t.currentTime)>.5&&(n.currentTime=t.currentTime),"boolean"==typeof t.isPlaying))if(t.isPlaying&&n.paused)try{n.play()}catch(r){}else t.isPlaying||n.paused||n.pause();w(Date.now())}else"slideshow"===o&&("transition"!==e&&"state-update"!==e||"number"!=typeof t.currentIndex||t.currentIndex===x||k(t.currentIndex),w(Date.now()))}},[d,h,o,x,k]);var C={position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:u,overflow:"hidden"},T="Not synced";return b>0&&(T="Synced "+Math.floor((Date.now()-b)/1e3)+"s ago"),_e.jsxs("div",{style:C,children:["video"===o&&a&&_e.jsx(je,{src:a,muted:!1,fit:c,backgroundColor:u,loop:!0,autoPlay:!0}),"image"===o&&s&&_e.jsx($l,{src:s,fit:c,backgroundColor:u}),"slideshow"===o&&S&&("image"===S.type?_e.jsx(Ql,{contentKey:S.id,transition:"fade",transitionDuration:500,children:_e.jsx($l,{src:S.url,fit:c,backgroundColor:u})}):_e.jsx(je,{src:S.url,muted:!1,fit:c,backgroundColor:u,loop:!1,autoPlay:!0,onEnded:E},S.id)),!o&&_e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:"#666"},children:"No content configured"}),g&&_e.jsxs("div",{style:{position:"fixed",bottom:"20px",right:"20px",padding:"12px 16px",backgroundColor:"rgba(0, 0, 0, 0.8)",color:"#fff",fontSize:"14px",fontFamily:"monospace",borderRadius:"4px",zIndex:9999,pointerEvents:"none"},children:[_e.jsxs("div",{children:["Screen: ",r+1," / ",i]}),_e.jsxs("div",{children:["Role: ",d?"Leader":"Follower"]}),_e.jsxs("div",{children:["Exhibit: ",n]}),_e.jsxs("div",{children:["Content: ",o]}),!d&&_e.jsxs("div",{children:["Sync: ",T]})]})]})},"custom01-wipro-timeline":function({config:e}){var t;return _e.jsx("div",{className:"custom01-wipro-timeline",style:{width:"100%",height:"100%"},children:_e.jsx(Rh,{children:_e.jsx(gy,{inactivityTimeoutSec:null!=(t=e.inactivityTimeoutSec)?t:15})})})},"custom06-reception-program":function(e){var t=Ee(),n=e.config,r=n.screenIndex||0,i=n.screens||[],o=i.find(function(e){return e.screenIndex===r})||i[0],a=o&&o.welcomeSlides||[],s=o&&o.infoSlides||[],l=1e3*(n.welcomeSlideDuration||8),c=1e3*(n.infoSlideDuration||10),u=1e3*(n.stateCycleDuration||30),f=n.backgroundColor||"#0f172a",d=n.accentColor||"#3b82f6",p=n.textColor||"#ffffff",h=!1!==n.showClock,y=!1!==n.showDate,g=n.dateFormat||"long",m=n.idle&&n.idle.url,[v,b]=R.useState("welcome"),[w,_]=R.useState(0),x=R.useRef(null),S=R.useRef(null),k=Jl({enabled:Boolean(m),schedule:n.schedule,inactivityTimeout:re().idleTimeout||3e5,hasContent:a.length>0||s.length>0,hasContentError:!1}),{setStatus:E,setCurrentContent:I}=zl({deviceId:re().deviceId,templateType:"custom06-reception-program",instanceId:e.instanceId});if(ec({}),R.useEffect(function(){var e=a.length>0,t=s.length>0;if(e||t)if(e){if(t)return x.current=setTimeout(function(){b(function(e){return"welcome"===e?"info":"welcome"}),_(0)},u),function(){x.current&&clearTimeout(x.current)};b("welcome")}else b("info")},[v,u,a.length,s.length]),R.useEffect(function(){var e="welcome"===v?a:s;if(!(e.length<=1)){var t="welcome"===v?l:c;return S.current=setInterval(function(){_(function(t){return(t+1)%e.length})},t),function(){S.current&&clearInterval(S.current)}}},[v,a.length,s.length,l,c]),R.useEffect(function(){m&&k.isIdle?E("idle"):a.length>0||s.length>0?(E("playing"),I(v+"-"+w)):E("idle")},[m,k.isIdle,v,w,a.length,s.length,E,I]),R.useEffect(function(){m&&t.isIdle&&k.deactivate("command")},[t.isIdle]),0===a.length&&0===s.length)return _e.jsx("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:f,color:p,fontFamily:"system-ui, sans-serif"},children:_e.jsxs("div",{style:{textAlign:"center",opacity:.4},children:[_e.jsxs("div",{style:{fontSize:"1.5rem",fontWeight:300},children:["Screen ",r+1]}),_e.jsx("div",{style:{fontSize:"0.9rem",marginTop:8},children:"No content configured — update via admin panel"})]})});var C="welcome"===v?a:s,T=w<C.length?w:0,M=C[T];return _e.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",backgroundColor:f,fontFamily:"system-ui, -apple-system, sans-serif",overflow:"hidden"},children:[_e.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,zIndex:10,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"24px 40px"},children:[_e.jsx("div",{style:{display:"flex",alignItems:"center",gap:16},children:n.logoUrl&&_e.jsx("img",{src:n.logoUrl,alt:"",style:{height:36,objectFit:"contain"}})}),h&&_e.jsx(my,{textColor:p,showDate:y,dateFormat:g})]}),_e.jsx(Ql,{contentKey:v+"-"+T+"-"+((null==M?void 0:M.id)||""),transition:n.transition||"fade",transitionDuration:n.transitionDuration||800,children:_e.jsx("div",{style:{width:"100%",height:"100%",paddingTop:90},children:"welcome"===v&&M?_e.jsx(vy,{slide:M,accentColor:d,textColor:p}):M?_e.jsx(_y,{slide:M,accentColor:d,textColor:p}):null})}),_e.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:10,padding:"16px 40px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[_e.jsx("div",{style:{fontSize:"0.8rem",color:p,opacity:.35},children:n.footerText||""}),_e.jsx(xy,{currentState:v,accentColor:d,textColor:p})]}),m&&n.idle&&_e.jsx(Re,{isIdle:k.isIdle,idle:n.idle})]})},"custom07-osc":function(e){var t,n;const r=e.config,i=R.useRef(null),o=R.useRef(!1),a=R.useRef(!0),[s,l]=R.useState(!1),{setStatus:c}=zl({deviceId:re().deviceId,templateType:"custom07-osc",instanceId:e.instanceId}),u=R.useCallback(()=>{const e=i.current;e&&!o.current&&(o.current=!0,l(!0),c("playing"),e.currentTime=0,e.play().catch(()=>{o.current=!1,l(!1),c("idle")}))},[c]);!function(e){const t=R.useRef(e.onTrigger);t.current=e.onTrigger,R.useEffect(()=>{if(!e.enabled)return;let n=null,r=!1;return function e(){try{n=new WebSocket("ws://127.0.0.1:3402"),n.onmessage=e=>{try{const n=JSON.parse(e.data);if("hardware:event"!==n.type||!n.payload)return;"osc:trigger"===n.payload.type&&t.current()}catch(n){}},n.onclose=()=>{r||setTimeout(e,2e3)}}catch(i){}}(),()=>{r=!0,null==n||n.close()}},[e.enabled])}({enabled:"osc"===r.inputSource,onTrigger:u}),R.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a.current&&(l(!1),c("idle"),e.currentTime=0,o.current=!1)};return e.addEventListener("ended",t),()=>e.removeEventListener("ended",t)},[c]),R.useEffect(()=>{const e=i.current;e&&r.videoUrl&&(e.preload="auto",e.src=r.videoUrl,e.load())},[r.videoUrl]),R.useEffect(()=>(a.current=!0,c("idle"),()=>{a.current=!1}),[c]);const f=r.idleImageUrl||(null==(t=r.idle)?void 0:t.imageUrl),d=(null==(n=r.idle)?void 0:n.enabled)?r.idle.videoUrl?{type:"video",url:r.idle.videoUrl,transitionDuration:800}:r.idle.imageUrl?{type:"image",url:r.idle.imageUrl,transitionDuration:800}:void 0:void 0;return _e.jsxs("div",{style:{width:"100vw",height:"100vh",background:"#000",overflow:"hidden",cursor:"none",position:"relative"},children:[f&&!s&&_e.jsx("img",{src:f,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0}}),!f&&!s&&d&&_e.jsx(Re,{isIdle:!0,idle:d}),_e.jsx("video",{ref:i,playsInline:!0,style:{width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0,display:s?"block":"none"}})]})},"custom08-museum-kiosk":function({config:e}){const{state:t,tapScreensaver:n,selectCategory:r,selectGallery:i,deselectGallery:o,goBack:a,resetToScreensaver:s}=function(){const[e,t]=R.useReducer(Cy,Iy);return{state:e,tapScreensaver:R.useCallback(()=>{t({type:"TAP_SCREENSAVER"})},[]),selectCategory:R.useCallback(e=>{t({type:"SELECT_CATEGORY",categoryId:e})},[]),selectGallery:R.useCallback(e=>{t({type:"SELECT_GALLERY",galleryId:e})},[]),deselectGallery:R.useCallback(()=>{t({type:"GO_BACK"})},[]),goBack:R.useCallback(()=>{t({type:"GO_BACK"})},[]),resetToScreensaver:R.useCallback(()=>{t({type:"RESET_TO_SCREENSAVER"})},[])}}();!function(e,t,n=6e4){const r=R.useRef(null),i=R.useRef(t);i.current=t;const o=R.useCallback(()=>{null!==r.current&&(window.clearTimeout(r.current),r.current=null),e||(r.current=window.setTimeout(()=>i.current(),n))},[e,n]);R.useEffect(()=>{if(e)return void(null!==r.current&&(window.clearTimeout(r.current),r.current=null));o();const t=["pointerdown","pointermove","pointerup"],n=()=>o();for(const e of t)window.addEventListener(e,n,{passive:!0});return()=>{null!==r.current&&(window.clearTimeout(r.current),r.current=null);for(const e of t)window.removeEventListener(e,n)}},[e,o])}("screensaver"===t.screen,s,e.idleTimeoutMs);const l="screensaver"===t.screen,c="categories"===t.screen,u="category-view"===t.screen,f="gallery-view"===t.screen;return _e.jsx("div",{className:"custom08-museum-kiosk",style:{width:"100%",height:"100%"},children:_e.jsx(cg,{children:_e.jsxs("div",{className:"app","data-screen":t.screen,children:[_e.jsx(Xy,{viewState:t,onSelectGallery:i,onDeselectGallery:o}),_e.jsx(Jy,{visible:l,onTap:n}),(l||c)&&_e.jsx("div",{className:"categories-panel","data-state":c?"open":"idle",children:_e.jsx(ng,{visible:c,onSelect:r})}),_e.jsx(rg,{visible:u||f,onTap:a}),_e.jsx(lg,{visible:u||f,categoryId:t.activeCategoryId}),_e.jsx(og,{visible:u||f,activeCategoryId:t.activeCategoryId,activeGalleryId:t.activeGalleryId}),_e.jsx(ag,{visible:f,galleryId:t.activeGalleryId})]})})})}},fg={};function dg(e){var t,n=(t=e.templateType,fg[t]||t),r=ug[n];return r?L.createElement(r,{config:e.config,instanceId:e.instanceId}):L.createElement(Se,{message:"Unknown template type: "+e.templateType})}function pg(e){var t=window.location.search;if(!t||t.length<2)return"";for(var n=t.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(decodeURIComponent(i[0])===e)return i.length>1?decodeURIComponent(i[1]):""}return""}var hg=document.getElementById("root");hg&&Q.createRoot(hg).render(L.createElement(L.StrictMode,null,L.createElement(function(){var e=function(){var e=window.location.pathname,t="/display/";if(0===e.indexOf(t)){var n=e.substring(9);return"/"===n.charAt(n.length-1)&&(n=n.substring(0,n.length-1)),n}return""}(),t=pg("deviceId"),n=pg("apiKey");t&&n&&ae(t,n);var r,i,o=R.useState((r=ie(),i=oe(),Boolean(r)&&Boolean(i))),a=o[0],s=o[1],l=R.useCallback(function(){s(!0)},[s]);return e?a?L.createElement(Te,{children:function(e,t,n){return L.createElement(dg,{config:e,templateType:t,instanceId:n})}}):L.createElement(Oe,{slug:e,onProvisioned:l}):L.createElement(Se,{message:"No device slug in URL.\n\nExpected: /display/{device-slug}\n\nPlease check the URL."})},null)));export{n as __vite_legacy_guard};